Commit Graph

65 Commits

Author SHA1 Message Date
Elizabeth Mitchell
83373eeb0c chore: remove strong focus
PiperOrigin-RevId: 528564626
2023-05-01 13:49:51 -07:00
Elizabeth Mitchell
969cd24539 chore(button): remove shape resolver
PiperOrigin-RevId: 527359555
2023-04-26 13:30:49 -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
e39809969f fix(button)!: remove label property
PiperOrigin-RevId: 526741279
2023-04-24 13:37:45 -07:00
Elizabeth Mitchell
9e234770b5 fix(button): closure conformance issue
PiperOrigin-RevId: 526720124
2023-04-24 12:18:46 -07:00
Elizabeth Mitchell
eb24edf69b chore: move button label properties to slotted content
PiperOrigin-RevId: 526681792
2023-04-24 10:19:15 -07:00
Elizabeth Mitchell
e0bbe3850c feat(aria): add aria delegation
PiperOrigin-RevId: 526474126
2023-04-23 14:19:40 -07:00
Elliott Marquez
5e1fe1ccc7 fix(ssr): try to remove event listener calls on server
PiperOrigin-RevId: 525534289
2023-04-19 13:24:58 -07:00
Material Web Team
a44bc3a87c fix(button): fix template typo
PiperOrigin-RevId: 523804709
2023-04-12 14:22:52 -07:00
Elizabeth Mitchell
301eb9a18f fix(elevation): tidy up tokens and update roadmap
PiperOrigin-RevId: 523211633
2023-04-10 14:24:25 -07:00
Daniel Freedman
9ce10bc100 chore(all): remove unnecessary property typing for strings
PiperOrigin-RevId: 523201301
2023-04-10 13:43:10 -07:00
Elizabeth Mitchell
50157e61a7 fix(button): tonal surface update
PiperOrigin-RevId: 522243314
2023-04-05 21:58:36 -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
2c1c80d3d6 fix(button): incorrect theme custom properties
Fixes #4095

PiperOrigin-RevId: 520370000
2023-03-29 10:12:53 -07:00
Elizabeth Mitchell
acfdbb4f92 fix(button)!: merge standard and link buttons
PiperOrigin-RevId: 520365410
2023-03-29 09:57:53 -07:00
Copybara-Service
bf61232bb3 Merge pull request #4026 from steverep:buttons-aria-expanded
PiperOrigin-RevId: 518928271
2023-03-23 12:09:30 -07:00
Elizabeth Mitchell
e33422ac2a chore(tokens): add supported token lists for cleaner documentation
PiperOrigin-RevId: 518893012
2023-03-23 10:10:00 -07:00
Elizabeth Mitchell
eed1abd8ea chore(button): remove resolvers
PiperOrigin-RevId: 518375891
2023-03-21 14:06:33 -07:00
Elizabeth Mitchell
f90aab27b4 fix(button): enable separate color and opacity tokens
PiperOrigin-RevId: 518329426
2023-03-21 11:22:49 -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
028e44e8c9 fix(dialog): incorrect elevation layering
PiperOrigin-RevId: 518039204
2023-03-20 12:11:00 -07:00
Elizabeth Mitchell
6700947806 fix(button): text button background not transparent
PiperOrigin-RevId: 518011560
2023-03-20 10:39:35 -07:00
Daniel Freedman
24298e696c feat(button): add label slot
PiperOrigin-RevId: 515467458
2023-03-09 16:03:11 -08:00
Steve Repsher
a588856a8e
feat(button,iconbutton): Add support for aria-expanded to buttons 2023-03-06 00:08:58 -05:00
Daniel Freedman
69f9a17a12 fix(button)!: replace label-text-* tokens with label-text-type
PiperOrigin-RevId: 510222434
2023-02-16 13:04:23 -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
3693fb714d docs(button): add docs
PiperOrigin-RevId: 509390889
2023-02-13 18:34:33 -08:00
Elizabeth Mitchell
ff84a66f3e fix(ripple)!: remove "state-layer" from token names
PiperOrigin-RevId: 509298729
2023-02-13 12:17:37 -08:00
Daniel Freedman
44a8d74f56 fix(all)!: use shape.resolve-tokens and remove shape.resolve-theme
PiperOrigin-RevId: 509284550
2023-02-13 11:26:55 -08:00
Daniel Freedman
80590ae88d fix(all): remove @requirecss comments
PiperOrigin-RevId: 503551738
2023-01-20 17:02:21 -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
4974edeb73 refactor(button): Use flex gap for internal layout
PiperOrigin-RevId: 500845959
2023-01-09 17:15:06 -08:00
Daniel Freedman
d3b517ad00 fix(button)!: remove icon property from Button, require slotted icons
BREAKING CHANGE: Remove icon property from Button, require slotted icons

PiperOrigin-RevId: 500770988
2023-01-09 11:51:32 -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
Daniel Freedman
7fad3a56d9 feat(focus-ring, button): Match focus ring shape to button shape
BREAKING CHANGE: Button shape properties are now of the form `--md-text-button-container-shape-start-start`

PiperOrigin-RevId: 497196760
2022-12-22 10:42:52 -08:00
Elizabeth Mitchell
e7ededa579 chore(radio): remove ripple-theme.scss
PiperOrigin-RevId: 496483211
2022-12-19 13:52:45 -08:00
Material Web Team
cb55c90743 Improves how button handles activation clicks. Previously click() was overridden and this did not support directly dispatched click events. Now click events are explicitly handled if the event is targeted at the element itself. Since click() dispatches a click event, it no longer needs to be overridden.
PiperOrigin-RevId: 495694515
2022-12-15 14:17:03 -08:00
Daniel Freedman
cf0e6b41c6 chore(button): Normalize lazy ripple with other components
PiperOrigin-RevId: 495429247
2022-12-14 15:11:11 -08:00
Material Web Team
74bda6e11c Document md-button
PiperOrigin-RevId: 495160072
2022-12-13 16:45:36 -08:00
Elizabeth Mitchell
545c2eb494 fix(button): use new elevation component
PiperOrigin-RevId: 495085105
2022-12-13 11:51:20 -08:00
Elizabeth Mitchell
a5850dccba chore(ripple): remove negative z-index
PiperOrigin-RevId: 494293324
2022-12-09 16:45:45 -08:00
Elizabeth Mitchell
eedb7f5d3c chore: replace * selector with :host
PiperOrigin-RevId: 493992896
2022-12-08 14:15:19 -08:00
Elizabeth Mitchell
89eee57074 chore(elevation): branch elevation styles
PiperOrigin-RevId: 493625319
2022-12-07 09:27:08 -08:00
Daniel Freedman
ca88cd765e chore(button): Create ripple lazily for buttons
PiperOrigin-RevId: 493350615
2022-12-06 10:44:09 -08:00
Daniel Freedman
1f2f26caad chore(button): Use ripple directive instead of ActionElement
PiperOrigin-RevId: 492334221
2022-12-01 16:53:30 -08:00
Elizabeth Mitchell
3724687b17 chore(button): update tokens
PiperOrigin-RevId: 491730790
2022-11-29 14:05:35 -08:00
Elizabeth Mitchell
bff01dadf7 chore(tokens): update to v0.144
PiperOrigin-RevId: 491464625
2022-11-28 15:53:25 -08:00
Daniel Freedman
e8ba229dd0 fix(button): Move event listeners to anchor to fix focus ring
PiperOrigin-RevId: 487619509
2022-11-10 13:08:15 -08:00