Elizabeth Mitchell
88eb1759c5
fix(tabs): remove font shorthand tokens
...
BREAKING CHANGE: replace `label-text-type` tokens with `-font`, `-size`, `-line-height`, and `-weight`
PiperOrigin-RevId: 563790527
2023-09-08 10:35:03 -07:00
Andrew Jakubowicz
82e9e92a19
fix(textfield): change slot names to kebab-case
...
BREAKING CHANGE: replace slot names `leadingicon` and `trailingicon` with `leading-icon` and `trailing-icon`
PiperOrigin-RevId: 563605216
2023-09-07 18:41:25 -07:00
Elliott Marquez
0211944b7e
docs(menu): document menu
...
PiperOrigin-RevId: 563523511
2023-09-07 13:11:42 -07:00
Elizabeth Mitchell
ca2cd56bd1
fix(list): remove font shorthand tokens
...
BREAKING CHANGE: replace `*-type` font tokens with `-font`, `-size`, `-line-height`, and `-weight`
PiperOrigin-RevId: 563162539
2023-09-06 11:22:42 -07:00
Elizabeth Mitchell
87ad1dae4f
fix(chips): remove font shorthand tokens
...
BREAKING CHANGE: replace `label-text-type` tokens with `label-text-font`, `-size`, `-line-height`, and `-weight`
PiperOrigin-RevId: 563161436
2023-09-06 11:21:14 -07:00
Elizabeth Mitchell
0c5a2a2886
fix(text-field,select): remove font shorthand tokens
...
BREAKING CHANGE: replace `*-type` font tokens with `-font`, `-size`, `-line-height`, and `-weight`
PiperOrigin-RevId: 563160975
2023-09-06 11:18:59 -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
Elizabeth Mitchell
81e11e09fa
fix(dialogs): remove font shorthand tokens
...
BREAKING CHANGE: replace `headline-text-type` and `supporting-text-type` tokens with `-font`, `-size`, `-line-height`, and `-weight`
PiperOrigin-RevId: 563160825
2023-09-06 11:17:05 -07:00
Elizabeth Mitchell
8894c20c6b
fix(button): remove font shorthand tokens
...
BREAKING CHANGE: replace `label-text-type` tokens with `label-text-font`, `-size`, `-line-height`, and `-weight`
PiperOrigin-RevId: 563153211
2023-09-06 10:56:22 -07:00
Elizabeth Mitchell
2295f12e71
fix: add aria-hidden="true" to ripple, focus ring, and elevation
...
PiperOrigin-RevId: 562075778
2023-09-01 16:33:32 -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
3906b7f72a
chore(ripple): update docs/demos for Safari flex vs grid
...
PiperOrigin-RevId: 561543073
2023-08-30 22:05:55 -07:00
Material Web Team
c233caf5a9
docs: fix minor issue with an unclosed tag in a code example
...
PiperOrigin-RevId: 561502825
2023-08-30 18:06:44 -07:00
Elizabeth Mitchell
5b13b5c05b
fix(tabs)!: split md-tab into md-primary-tab and md-secondary-tab
...
BREAKING CHANGE: remove `variant` attributes and change `md-tab` to `md-primary-tab`, or `md-secondary-tab` if using `variant="secondary"
PiperOrigin-RevId: 561077231
2023-08-29 10:47:55 -07:00
Elliott Marquez
3d59608571
docs(slider): make the slider catalog example fit all the stories content
...
PiperOrigin-RevId: 560882477
2023-08-28 19:20:04 -07:00
Elizabeth Mitchell
13690a396f
fix(tabs): remove divider tokens in favor of md-divider
...
BREAKING CHANGE: Remove `--md-*tab-divider` tokens and use `md-tabs::part(divider)` and `--md-divider-*` tokens
PiperOrigin-RevId: 560127620
2023-08-25 10:16:46 -07:00
Elizabeth Mitchell
0711f8c03c
fix(radio): make host radio role to fix a11y
...
Why? role="radio" items need to be in the same DOM scope to properly announce "radio X of X" and not "radio 1 of 1"
PiperOrigin-RevId: 559908996
2023-08-24 16:46:01 -07:00
Elizabeth Mitchell
39633d5a21
docs: combine circular and linear progress docs
...
PiperOrigin-RevId: 559590874
2023-08-23 17:27:07 -07:00
Elliott Marquez
e702a40ca5
docs(list): document list
...
PiperOrigin-RevId: 558041510
2023-08-17 23:05:12 -07:00
Elliott Marquez
156ca3cbe7
feat(fab): do not require has-icon
...
PiperOrigin-RevId: 557976838
2023-08-17 17:05:27 -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
Elizabeth Mitchell
112b74819d
docs: add text field docs
...
PiperOrigin-RevId: 557878927
2023-08-17 11:10:55 -07:00
Elliott Marquez
89f03273b4
docs(checkbox): match example code to include touch targets
...
PiperOrigin-RevId: 557601532
2023-08-16 14:23:22 -07:00
Elizabeth Mitchell
0c6655d95b
docs: add chip docs
...
PiperOrigin-RevId: 557190776
2023-08-15 11:17:04 -07:00
Elliott Marquez
68fb31b729
docs: mention cross fw compatibility
...
PiperOrigin-RevId: 556158957
2023-08-11 18:03:16 -07:00
Elizabeth Mitchell
18b75d9c24
chore: add touch target to catalog figures
...
PiperOrigin-RevId: 556013113
2023-08-11 10:55:18 -07:00
Elizabeth Mitchell
fae9b3a432
docs: add intro doc
...
PiperOrigin-RevId: 555995254
2023-08-11 10:12:28 -07:00
Elizabeth Mitchell
f7660a5762
docs: add dialog docs
...
PiperOrigin-RevId: 555702496
2023-08-10 16:32:54 -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
f574b00a63
feat(checkbox)!: add touch target configurations
...
BREAKING CHANGE: Checkbox's size is now smaller by default. Add margin or `touch-target="wrapper"` to increase it to the previous size.
PiperOrigin-RevId: 555547024
2023-08-10 10:21:31 -07:00
Andrew Jakubowicz
28af606b40
docs(tabs): document tabs
...
PiperOrigin-RevId: 553841878
2023-08-04 10:15: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
65bc8f400e
docs: add switch docs
...
PiperOrigin-RevId: 553572751
2023-08-03 13:28:45 -07:00
Elizabeth Mitchell
6aa42f3399
docs: add radio docs
...
PiperOrigin-RevId: 552945498
2023-08-01 15:42:14 -07:00
Andrew Jakubowicz
838c1c7fe3
docs(slider): document slider
...
PiperOrigin-RevId: 552861008
2023-08-01 11:15:50 -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
cc26ef6c02
fix(button)!: rename <md-tonal-button>
to <md-filled-tonal-button>
...
BREAKING CHANGE: Rename "md-tonal-button" elements, imports, and tokens to "md-filled-tonal-button"
PiperOrigin-RevId: 552600206
2023-07-31 14:57:34 -07:00
Andrew Jakubowicz
c38f1b4af4
docs: fix some broken fragment links
...
PiperOrigin-RevId: 552594183
2023-07-31 14:34:02 -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
Elliott Marquez
1593d46ffe
docs: elide m.dev links internally & clarify comment transform names
...
PiperOrigin-RevId: 551664326
2023-07-27 15:54:40 -07:00
Elliott Marquez
0c173d1b48
docs: update links to the new catalog url
...
PiperOrigin-RevId: 551596368
2023-07-27 11:46:01 -07:00
Elizabeth Mitchell
c0b2617370
docs: update freshness
...
PiperOrigin-RevId: 550654691
2023-07-24 13:24:09 -07:00
Andrew Jakubowicz
6ec3f06429
fix!: rename "lib" directory to "internal"
...
BREAKING CHANGE: Rename `@material/web/<component>/lib` to `@material/web/<component>/internal`. Prefer not using internal files.
PiperOrigin-RevId: 550633216
2023-07-24 12:02:59 -07:00
Elizabeth Mitchell
66d7b8b275
fix(checkbox)!: remove "unselected" prefix from tokens
...
BREAKING CHANGE: Rename `--md-checkbox-unselected-<token>` to `--md-checkbox-<token>`
PiperOrigin-RevId: 549977624
2023-07-21 10:05:52 -07:00
Elizabeth Mitchell
a2b4f6152d
fix(progress)!: rename progress
property to value
...
PiperOrigin-RevId: 549471839
2023-07-19 17:31:45 -07:00
Elizabeth Mitchell
f7eff48c66
fix(focus)!: move --md-focus-ring tokens to host
...
BREAKING CHANGE: Set `--md-focus-ring-*` tokens directly on `<md-focus-ring>` elements. Focus rings are exposed with `::part(focus-ring)`.
PiperOrigin-RevId: 549114124
2023-07-18 14:36:12 -07:00
Copybara-Service
6116ed8f47
Merge pull request #4502 from material-components:fab-docs
...
PiperOrigin-RevId: 547954160
2023-07-13 16:03:30 -07:00
Elliott Marquez
2c4822d9b8
implement suggestions
2023-06-30 14:56:04 -07:00
Elliott Marquez
bfda7ab328
fab docs
2023-06-26 17:50:50 -07:00
Andrew Jakubowicz
8648be6c40
chore: fix all tokens link in docs
...
PiperOrigin-RevId: 543527931
2023-06-26 13:38:22 -07:00