Commit Graph

72 Commits

Author SHA1 Message Date
vdegenne
4e8053d15d fix(fab): make tap highlight transparent 2023-11-22 09:56:38 +01:00
Elizabeth Mitchell
c390291687 chore: format files with prettier
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elliott Marquez
5280c6ec27 fix(fab): cursor should be pointer
fixes #5017

PiperOrigin-RevId: 574526631
2023-10-18 10:53:09 -07:00
Elliott Marquez
c789c99036 chore(fab): explicitly mark function as protected for API docs
PiperOrigin-RevId: 568274397
2023-09-25 11:20:26 -07:00
Elizabeth Mitchell
f77ee3628c fix(fab): remove font shorthand tokens
BREAKING CHANGE: replace `label-text-type` tokens with `-font`, `-size`, `-line-height`, and `-weight`

PiperOrigin-RevId: 563160852
2023-09-06 11:18:43 -07:00
Andrew Jakubowicz
aa0f4b7298 docs(fab): make some sass docs inline
PiperOrigin-RevId: 558201462
2023-08-18 11:29:24 -07:00
Elizabeth Mitchell
6719e480c3 chore(fab): update demo and fix a11y
PiperOrigin-RevId: 558173479
2023-08-18 09:51:58 -07:00
Elliott Marquez
156ca3cbe7 feat(fab): do not require has-icon
PiperOrigin-RevId: 557976838
2023-08-17 17:05:27 -07:00
Elizabeth Mitchell
8588a3f52e feat(fab)!: add touch target configurations
BREAKING CHANGE: Replace `reduced-touch-target` with `touch-target="none"`

PiperOrigin-RevId: 555666950
2023-08-10 14:58:51 -07:00
Elizabeth Mitchell
0510496e60 chore: avoid this in static context
PiperOrigin-RevId: 554933524
2023-08-08 14:00:25 -07:00
Elliott Marquez
86ccec3e7e build: use firebase for hosting and remove url prefixes 2023-07-27 09:17:27 -07:00
Elizabeth Mitchell
d49f9b89e4 fix(focus)!: rename import to md-focus-ring.ts
BREAKING CHANGE: Change `@material/web/focus/focus-ring.js` to `@material/web/focus/md-focus-ring.js`.

PiperOrigin-RevId: 550608428
2023-07-24 10:43:31 -07:00
Andrew Jakubowicz
5618b5e23f fix(fab)!: rename "lib" directory to "internal"
BREAKING CHANGE: Rename `@material/web/fab/lib` to `@material/web/fab/internal`. Prefer not using internal files.

PiperOrigin-RevId: 550038346
2023-07-21 13:40:22 -07:00
Elizabeth Mitchell
ae407b0874 feat: add component convenience bundles
PiperOrigin-RevId: 549723539
2023-07-20 13:30:01 -07:00
Andrew Jakubowicz
10f60d23e0 chore: rename e to event
PiperOrigin-RevId: 549039407
2023-07-18 10:16:37 -07:00
Elizabeth Mitchell
243e231a13 feat(all): expose focus-ring parts
PiperOrigin-RevId: 548873009
2023-07-17 20:28:04 -07:00
Elizabeth Mitchell
fd28dd1a5b chore(all): move focus tokens to focus ring element
PiperOrigin-RevId: 548872335
2023-07-17 20:24:46 -07:00
Elliott Marquez
fb4d9c8008 feat(fab): set aria hidden on the icon slot if element has aria-label or label
PiperOrigin-RevId: 543531953
2023-06-26 13:52:41 -07:00
Elliott Marquez
0fd4f45241 feat(fab): add label only mode
PiperOrigin-RevId: 542362233
2023-06-21 14:25:16 -07:00
Elizabeth Mitchell
1790a5bbf8 chore: remove closure comments from static blocks
PiperOrigin-RevId: 539772537
2023-06-12 15:07:36 -07:00
Elizabeth Mitchell
0607d9ca53 chore: fix jscompiler issues
PiperOrigin-RevId: 539716693
2023-06-12 11:42:52 -07:00
Elizabeth Mitchell
5efdc593fa chore(aria): move to internal
PiperOrigin-RevId: 536444453
2023-05-30 10:37:46 -07:00
Elizabeth Mitchell
7c08efdd66 chore(all): remove ripple directive
PiperOrigin-RevId: 535647846
2023-05-26 10:06:39 -07:00
Elizabeth Mitchell
933fc2e013 fix(all): remove focus state layer tokens
BREAKING CHANGE: Remove any *-focus-state-layer-* custom properties (they don't do anything)

PiperOrigin-RevId: 535302944
2023-05-25 10:33:20 -07:00
Elizabeth Mitchell
26d69c271e fix(focus)!: corrected outward/inward animations
BREAKING CHANGE: inward focus rings must be specified with `inward` rather than a negative offset.

PiperOrigin-RevId: 534552625
2023-05-23 14:08:36 -07:00
Elizabeth Mitchell
4ddeee1a2e chore: remove types folder
PiperOrigin-RevId: 532095745
2023-05-15 06:51:39 -07:00
Elliott Marquez
dc49e0b518 docs: update playground urls to match new base-URI
PiperOrigin-RevId: 531322264
2023-05-11 15:24:11 -07:00
Elliott Marquez
b6ae8268a2 refactor: fix stories links
PiperOrigin-RevId: 531019393
2023-05-10 15:23:08 -07:00
Elliott Marquez
5f80c096e0 refactor: remove extraneous file extensions
PiperOrigin-RevId: 531005525
2023-05-10 14:26:01 -07:00
Elliott Marquez
1cade43ccf refactor: remove extraneous file extensions
PiperOrigin-RevId: 530993820
2023-05-10 14:04:53 -07:00
Elizabeth Mitchell
46a9806632 chore(fab): remove shape resolver
PiperOrigin-RevId: 528855077
2023-05-02 12:19:44 -07:00
Elizabeth Mitchell
83373eeb0c chore: remove strong focus
PiperOrigin-RevId: 528564626
2023-05-01 13:49:51 -07:00
Elizabeth Mitchell
5934de0603 fix(focus): update focus-ring tokens
PiperOrigin-RevId: 527319619
2023-04-26 11:13:00 -07:00
Elizabeth Mitchell
db8ee4d1df chore: use private instead of protected
PiperOrigin-RevId: 527010546
2023-04-25 10:40:48 -07:00
Elizabeth Mitchell
7b52c4515f fix: remove @ariaProperty decorator
PiperOrigin-RevId: 526750432
2023-04-24 14:10:38 -07:00
Elliott Marquez
c89575a7d3 refactor(fab): modernize fab to latest style
PiperOrigin-RevId: 524975328
2023-04-17 16:06:30 -07:00
Elizabeth Mitchell
301eb9a18f fix(elevation): tidy up tokens and update roadmap
PiperOrigin-RevId: 523211633
2023-04-10 14:24:25 -07:00
Elizabeth Mitchell
92a907142c fix(fab): tonal surface update
PiperOrigin-RevId: 522242801
2023-04-05 21:55:03 -07:00
Elizabeth Mitchell
d12ed3e4e3 chore(elevation)!: remove surface for tonal surface update
Changes:
- Elevation is now `inset:0;position:absolute;` by default
- Separated surface styles into a temporary `<md-elevation-surface>` element (this will be removed after tonal surface update)
PiperOrigin-RevId: 521934300
2023-04-04 20:14:24 -07:00
Elizabeth Mitchell
789d23bd61 chore(sass): remove typography resolvers
PiperOrigin-RevId: 518054505
2023-03-20 13:09:04 -07:00
Elizabeth Mitchell
715c5927a7 chore(sass): remove elevation resolvers
PiperOrigin-RevId: 518051579
2023-03-20 12:57:55 -07:00
Elizabeth Mitchell
c368e7d633 fix(fab)!: remove disabled state
Fixes #4045

PiperOrigin-RevId: 517165006
2023-03-16 10:43:47 -07:00
Daniel Freedman
61ff27910e fix(focus)!: refactor focus ring to better match component shape
- Focus ring now adds offset and width to look spec correct
- Replace `offset-vertical` and `offset-horizontal` tokens with a single `offset` token.

PiperOrigin-RevId: 516361036
2023-03-13 16:55:26 -07:00
Daniel Freedman
8c01aeea08 fix(fab)!: move to label-text-type token, shape corners
PiperOrigin-RevId: 510494199
2023-02-17 12:25:53 -08:00
Elizabeth Mitchell
470e0b6f71 chore(fab): remove action element
PiperOrigin-RevId: 509881315
2023-02-15 11:01:47 -08:00
Elizabeth Mitchell
6c2aef6901 chore(all): add keep-sorted comments to Sass imports
PiperOrigin-RevId: 509583504
2023-02-14 11:10:23 -08:00
Elizabeth Mitchell
ff84a66f3e fix(ripple)!: remove "state-layer" from token names
PiperOrigin-RevId: 509298729
2023-02-13 12:17:37 -08:00
Elizabeth Mitchell
060d204334 chore: update component tokens to v0.152
PiperOrigin-RevId: 501055718
2023-01-10 11:56:25 -08:00
Daniel Freedman
6e0775ded3 fix(button, fab): Ensure elevation is correct when focused and hovering
PiperOrigin-RevId: 500032153
2023-01-05 21:08:41 -08:00
Elizabeth Mitchell
0feece8f7b chore(fab): remove old elevation styles
PiperOrigin-RevId: 499263034
2023-01-03 10:49:54 -08:00