Daniel Freedman
12c93641a5
fix(icon, iconbutton): Cleanup styling
...
- Remove duplicate md-ripple sizing in standard icon button
- Tokens now have disabled outline color for outlined icon button, remove workaround
- Use icon theming API
- Also size `<img>` tags in `<md-icon>`
PiperOrigin-RevId: 500805749
2023-01-09 14:17:48 -08:00
Material Web Team
eec25b393e
fix(styling): Removes tap highlight color visible on mobile Safari for checkbox, radio, iconbutton, and textfield.
...
PiperOrigin-RevId: 499279539
2023-01-03 11:54:32 -08:00
Daniel Freedman
f8db6f77cd
chore(iconbutton): Focus ring matches icon shape
...
PiperOrigin-RevId: 497255853
2022-12-22 15:59:03 -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
9796f6a694
Document Icon Button
...
PiperOrigin-RevId: 495414969
2022-12-14 14:18:45 -08:00
Daniel Freedman
f84e1557c2
chore(iconbutton): Remove ActionElement and create ripple lazily
...
PiperOrigin-RevId: 495365790
2022-12-14 11:15:52 -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
Material Web Team
212dd55dc5
IconButton now properly renders either an icon via the icon property or one specified via a slot, not both as it previously incorrectly did.
...
PiperOrigin-RevId: 493653205
2022-12-07 11:02:04 -08:00
Material Web Team
07edf86432
Changes icon-button-toggle-*'s isOn
property to be named selected
.
...
This matches the name used for Switch and other "selectable" elements that do not have platform analogs suggesting other names (i.e. Checkbox and Radio have a `checked` property).
PiperOrigin-RevId: 493098361
2022-12-05 13:34:58 -08:00
Elizabeth Mitchell
30f5e44e0c
chore: update tokens
...
PiperOrigin-RevId: 491753341
2022-11-29 15:31:06 -08:00
Elizabeth Mitchell
bff01dadf7
chore(tokens): update to v0.144
...
PiperOrigin-RevId: 491464625
2022-11-28 15:53:25 -08:00
Daniel Freedman
601c331d37
fix(focus): Update focus ring to new design
...
PiperOrigin-RevId: 487571074
2022-11-10 10:11:40 -08:00
Elizabeth Mitchell
d3fa2c2ba4
chore(iconbutton): merge static/theme-styles
...
PiperOrigin-RevId: 486156646
2022-11-04 09:17:46 -07:00
Elizabeth Mitchell
443b24a009
chore(iconbutton): update to use local custom properties
...
PiperOrigin-RevId: 485925419
2022-11-03 11:23:38 -07:00
Elizabeth Mitchell
a676727eac
chore(iconbutton): flatten static/theme-styles
...
PiperOrigin-RevId: 485922844
2022-11-03 11:14:46 -07:00
Elizabeth Mitchell
a9da9bbf5e
chore(focus): merge static/theme-styles
...
PiperOrigin-RevId: 482832904
2022-10-21 10:44:33 -07:00
Elizabeth Mitchell
73ca8ae0eb
chore: use relative paths
...
PiperOrigin-RevId: 481941267
2022-10-18 09:28:59 -07:00
Elizabeth Mitchell
d58e49565e
chore(iconbutton): remove compat deps
...
PiperOrigin-RevId: 478524688
2022-10-03 09:26:53 -07:00
Kevin Vizcarra
10cf00bde4
feat(iconbutton): Add internal linkAttributes
...
PiperOrigin-RevId: 474673136
2022-09-15 15:35:56 -07:00
Daniel Freedman
5dd43faffb
feat(icon-button): Implement isRTL helper library, and refactor icon-button to use it.
...
PiperOrigin-RevId: 471352106
2022-08-31 14:13:05 -07:00
Alexander Marks
30c95aeee1
chore: add ".js" extensions to import statements.
...
In particular, this allows external build tools like Rollup and @web/dev-server to understand imports of Lit, which is configured to require the ".js" extension via its export conditions (so that Lit import maps can remain minimal).
PiperOrigin-RevId: 469772992
2022-08-24 11:01:21 -07:00
Daniel Freedman
fd138f7160
chore(icon-button): Refactor to use static templates for focus ring, ripple, and icon.
...
PiperOrigin-RevId: 469227744
2022-08-22 10:45:23 -07:00
Material Web Team
10a6d353fc
refactor: mark disabled
and checked
as boolean values in lit templates.
...
PiperOrigin-RevId: 462716556
2022-07-22 15:27:12 -07:00
Material Web Team
40fdd8ed29
chore: disable tslint for ariaProperty and legacyAriaProperty
...
PiperOrigin-RevId: 462424828
2022-07-21 10:55:48 -07:00
Daniel Freedman
ba095dd88b
Remove clickmod event listener from components. It is now handled internally
...
PiperOrigin-RevId: 462418653
2022-07-21 10:30:09 -07:00
Material Web Team
cc53daa4cd
refactor(iconButton): Move public sass mixins/functions to the top
...
PiperOrigin-RevId: 460713752
2022-07-13 07:50:36 -07:00
Material Web Team
0111127e98
chore(iconbutton): Move M3 icon_button directory. Also update icon_button/
to iconbutton/
to align with 1P naming convention.
...
PiperOrigin-RevId: 460211503
2022-07-11 07:49:20 -07:00