Elizabeth Mitchell
96481566ae
refactor(button): move background content outside of inner button
...
Part of a series of changes to support text wrapping and host aria for button.
PiperOrigin-RevId: 581319862
2023-11-10 11:29:54 -08:00
Elliott Marquez
2adcb1479a
docs: document events in jsdoc
...
PiperOrigin-RevId: 581041601
2023-11-09 15:25:21 -08:00
Elizabeth Mitchell
e7bc633e18
chore(behaviors): add ElementInternals mixin
...
PiperOrigin-RevId: 576937116
2023-10-26 11:31:33 -07:00
Elizabeth Mitchell
c390291687
chore: format files with prettier
...
PiperOrigin-RevId: 576601342
2023-10-25 11:59:00 -07:00
Elizabeth Mitchell
e8b5b29d1e
feat(iconbutton): update tokens to v0.192
...
BREAKING CHANGE: Replace `container-size` tokens with `container-width` and `container-height`.
PiperOrigin-RevId: 566801178
2023-09-19 17:52:12 -07:00
Andrew Jakubowicz
1163315948
fix(iconbutton): fix HCM disabled opacity and outlined
...
PiperOrigin-RevId: 565089379
2023-09-13 10:22:44 -07:00
Elizabeth Mitchell
ed539c6853
fix(iconbutton): allow prevent default click for toggles
...
Fixes #4857
PiperOrigin-RevId: 563220193
2023-09-06 14:41:50 -07:00
Elizabeth Mitchell
9647f5e514
fix(iconbutton): rename selectedIcon
slot to selected
...
BREAKING CHANGE: change `slot="selectedIcon"` to `slot="selected"` for toggle icon buttons.
PiperOrigin-RevId: 561740365
2023-08-31 13:14:41 -07:00
Elizabeth Mitchell
a9091fe036
fix(iconbutton): update demos to fix a11y
...
PiperOrigin-RevId: 561168744
2023-08-29 16:22:55 -07:00
Andrew Jakubowicz
daea92e3fe
test(iconbutton): add token tests
...
PiperOrigin-RevId: 560106639
2023-08-25 09:02:32 -07:00
Andrew Jakubowicz
dffff2d1a3
fix(iconbutton)!: change visibility of willUpdate
to protected
...
PiperOrigin-RevId: 559456407
2023-08-23 09:45:15 -07:00
Elizabeth Mitchell
f23fac1465
fix(button): add value to form when submitting
...
Fixes #4526
PiperOrigin-RevId: 558261952
2023-08-18 15:24:42 -07:00
Elizabeth Mitchell
3e13634d64
chore: make formAssociated readonly
...
PiperOrigin-RevId: 558255234
2023-08-18 14:57:38 -07:00
Elizabeth Mitchell
bc19c8d12f
chore(iconbutton): don't reflect aria-label-selected
...
PiperOrigin-RevId: 557937222
2023-08-17 14:29:39 -07:00
Andrew Jakubowicz
2bbab09a50
fix(iconbutton): rename selectedAriaLabel to ariaLabelSelected along with attribute
...
PiperOrigin-RevId: 557887242
2023-08-17 11:37:03 -07:00
Andrew Jakubowicz
c874cd55c7
fix(iconbutton): make target type stricter
...
PiperOrigin-RevId: 557643977
2023-08-16 16:57:06 -07:00
Elizabeth Mitchell
0862c58d24
feat(iconbutton): add touch target configs
...
PiperOrigin-RevId: 556114164
2023-08-11 15:32:56 -07:00
Elizabeth Mitchell
c0da72b6dc
feat(iconbutton): add form submission
...
This is needed for `<md-dialog>` for close icon buttons.
I split out button's logic into a static helper method. I also added a symbol to share ElementInternals.
PiperOrigin-RevId: 554943716
2023-08-08 14:33:01 -07:00
Elizabeth Mitchell
0510496e60
chore: avoid this in static context
...
PiperOrigin-RevId: 554933524
2023-08-08 14:00:25 -07:00
Elliott Marquez
ff60a88843
refactor(icon)!: remove css custom props from icon and apply values directly on host
...
BREAKING CHANGE: Remove css custom properties from icon and prefer applying normal css properties on host except for font-family.
PiperOrigin-RevId: 553577562
2023-08-03 13:43:59 -07:00
Elizabeth Mitchell
0a63c267e9
fix(iconbutton)!: remove unselected token prefix
...
BREAKING CHANGE: Remove "unselected" from `--md-*-icon-button-*` custom properties.
PiperOrigin-RevId: 552836196
2023-08-01 10:01:57 -07:00
Elizabeth Mitchell
a117b06b7b
fix(iconbutton)!: rename <md-standard-icon-button> to <md-icon-button>
...
PiperOrigin-RevId: 552545415
2023-07-31 11:37:56 -07:00
Copybara-Service
7510e556c5
Merge pull request #4618 from vdegenne:icon-button-delegates-focus
...
PiperOrigin-RevId: 551642060
2023-07-27 14:33:19 -07:00
Elliott Marquez
86ccec3e7e
build: use firebase for hosting and remove url prefixes
2023-07-27 09:17:27 -07:00
vdegenne
db2010d2c1
fix(icon-button): delegates focus
2023-07-27 08:40:24 +02: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
38b1b69a9c
fix(iconbutton)!: rename "lib" directory to "internal"
...
BREAKING CHANGE: Rename `@material/web/iconbutton/lib` to `@material/web/iconbutton/internal`. Prefer not using internal files.
PiperOrigin-RevId: 550579461
2023-07-24 09:10:22 -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
Andrew Jakubowicz
a5e4354ed6
fix(iconbutton)!: rename attribute flipiconinrtl to flip-icon-in-rtl
...
PiperOrigin-RevId: 542700706
2023-06-22 16:35:50 -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
b9daa95164
chore(controller): move to internal
...
PiperOrigin-RevId: 536574896
2023-05-30 19:43:02 -07:00
Elizabeth Mitchell
36eec7cab3
chore(demo): move to internal
...
PiperOrigin-RevId: 536472993
2023-05-30 12:13:09 -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
a6c988bedd
fix(ripple)!: remove shape token and will-change
...
BREAKING CHANGE: Use `border-radius` instead of `--md-ripple-shape`
PiperOrigin-RevId: 535034875
2023-05-24 17:14:12 -07:00
Elizabeth Mitchell
4ddeee1a2e
chore: remove types folder
...
PiperOrigin-RevId: 532095745
2023-05-15 06:51:39 -07:00
Elizabeth Mitchell
c87792a757
chore(sass): remove dom, feature-flags, map-ext, and touch-target APIs
...
PiperOrigin-RevId: 531352456
2023-05-11 17:38:43 -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
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
d84d48c299
feat(iconbutton): add disabled container opacity tokens
...
PiperOrigin-RevId: 530791227
2023-05-09 21:05:21 -07:00
Elizabeth Mitchell
7403ce1a9e
feat(iconbutton): add disabled-icon-opacity token
...
PiperOrigin-RevId: 530782342
2023-05-09 20:15:33 -07:00
Elizabeth Mitchell
ec47f9bcc4
refactor(iconbutton)!: remove <md-icon>
...
BREAKING CHANGE: font icons require using <md-icon> directly
PiperOrigin-RevId: 530673789
2023-05-09 11:56:13 -07:00
Elizabeth Mitchell
48ac6ef96d
chore(iconbutton): remove md3 prefix
...
PiperOrigin-RevId: 530504251
2023-05-08 22:48:19 -07:00
Elizabeth Mitchell
dd84d40267
chore(iconbutton): remove shape resolver
...
PiperOrigin-RevId: 528568566
2023-05-01 14:04:57 -07:00
Elizabeth Mitchell
b56451a1a5
chore(iconbutton): remove strong focus
...
PiperOrigin-RevId: 528568544
2023-05-01 14:03:54 -07:00
Elizabeth Mitchell
5934de0603
fix(focus): update focus-ring tokens
...
PiperOrigin-RevId: 527319619
2023-04-26 11:13:00 -07:00