Skip to content

Commit 4bb733c

Browse files
authored
Merge branch 'main' into text-field-optional-asterisk
2 parents 8f194a5 + 9233821 commit 4bb733c

File tree

149 files changed

+84
-68
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

149 files changed

+84
-68
lines changed

docs/components/button.md

Lines changed: 14 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ dirname: button
1212

1313
<!--*
1414
# Document freshness: For more information, see go/fresh-source.
15-
freshness: { owner: 'lizmitchell' reviewed: '2023-11-10' }
15+
freshness: { owner: 'lizmitchell' reviewed: '2024-05-15' }
1616
tag: 'docType:reference'
1717
*-->
1818

@@ -41,7 +41,7 @@ outlined, and text.
4141
alt="A phone showing a payment screen with a green filled button that says 'Make
4242
payment'"
4343
title="There are 5 types of common buttons"
44-
src="images/button/hero.png">
44+
src="images/button/hero.webp">
4545

4646
</catalog-component-header>
4747

@@ -66,7 +66,7 @@ payment'"
6666

6767
<!-- no-catalog-start -->
6868

69-
![The 5 types of common buttons](images/button/types.png "Elevated, filled, filled tonal, outlined, and text buttons")
69+
![The 5 types of common buttons](images/button/types.webp "Elevated, filled, filled tonal, outlined, and text buttons")
7070

7171
<!-- no-catalog-end -->
7272
<!-- catalog-only-start -->
@@ -151,7 +151,7 @@ a button.
151151
<!-- no-catalog-start -->
152152

153153
![An outlined button with the text "Back" next to a filled button with the text
154-
"Complete"](images/button/usage.png "Outlined and filled buttons.")
154+
"Complete"](images/button/usage.webp "Outlined and filled buttons.")
155155

156156
<!-- no-catalog-end -->
157157
<!-- catalog-only-start -->
@@ -186,7 +186,7 @@ action and help draw attention.
186186

187187
![A tonal button with a right arrow send icon with text 'send' and a text button
188188
with the text 'open' with a trailing icon arrow
189-
box](images/button/usage-icon.png "Slot in icons to the appropriate slots")
189+
box](images/button/usage-icon.webp "Slot in icons to the appropriate slots")
190190

191191
<!-- no-catalog-end -->
192192
<!-- catalog-only-start -->
@@ -247,7 +247,7 @@ separation from a patterned background.
247247

248248
<!-- no-catalog-start -->
249249

250-
![An elevated button](images/button/usage-elevated-button.png)
250+
![An elevated button](images/button/usage-elevated-button.webp)
251251

252252
<!-- no-catalog-end -->
253253
<!-- catalog-only-start -->
@@ -311,7 +311,7 @@ than an outline would give, such as "Next" in an onboarding flow.
311311

312312
<!-- no-catalog-start -->
313313

314-
![A filled tonal button](images/button/usage-filled-tonal-button.png)
314+
![A filled tonal button](images/button/usage-filled-tonal-button.webp)
315315

316316
<!-- no-catalog-end -->
317317
<!-- catalog-only-start -->
@@ -344,7 +344,7 @@ the primary action in an app.
344344

345345
<!-- no-catalog-start -->
346346

347-
![An outlined button](images/button/usage-outlined-button.png)
347+
![An outlined button](images/button/usage-outlined-button.webp)
348348

349349
<!-- no-catalog-end -->
350350
<!-- catalog-only-start -->
@@ -377,7 +377,7 @@ options.
377377

378378
<!-- no-catalog-start -->
379379

380-
![A text button](images/button/usage-text-button.png)
380+
![A text button](images/button/usage-text-button.webp)
381381

382382
<!-- no-catalog-end -->
383383
<!-- catalog-only-start -->
@@ -421,7 +421,7 @@ Token | Default value
421421

422422
<!-- no-catalog-start -->
423423

424-
![Image of an elevated button with a different theme applied](images/button/theming-elevated-button.png "Elevated button theming example.")
424+
![Image of an elevated button with a different theme applied](images/button/theming-elevated-button.webp "Elevated button theming example.")
425425

426426
<!-- no-catalog-end -->
427427
<!-- catalog-only-start -->
@@ -481,7 +481,7 @@ Token | Default value
481481

482482
<!-- no-catalog-start -->
483483

484-
![Image of a filled button with a different theme applied](images/button/theming-filled-button.png "Filled button theming example.")
484+
![Image of a filled button with a different theme applied](images/button/theming-filled-button.webp "Filled button theming example.")
485485

486486
<!-- no-catalog-end -->
487487
<!-- catalog-only-start -->
@@ -541,7 +541,7 @@ Token | Default value
541541

542542
<!-- no-catalog-start -->
543543

544-
![Image of a filled tonal button with a different theme applied](images/button/theming-filled-tonal-button.png "Filled tonal button theming example.")
544+
![Image of a filled tonal button with a different theme applied](images/button/theming-filled-tonal-button.webp "Filled tonal button theming example.")
545545

546546
<!-- no-catalog-end -->
547547
<!-- catalog-only-start -->
@@ -601,7 +601,7 @@ Token | Default value
601601

602602
<!-- no-catalog-start -->
603603

604-
![Image of an outlined button with a different theme applied](images/button/theming-outlined-button.png "Outlined button theming example.")
604+
![Image of an outlined button with a different theme applied](images/button/theming-outlined-button.webp "Outlined button theming example.")
605605

606606
<!-- no-catalog-end -->
607607
<!-- catalog-only-start -->
@@ -659,7 +659,7 @@ Token | Default value
659659

660660
<!-- no-catalog-start -->
661661

662-
![Image of a text button with a different theme applied](images/button/theming-text-button.png "Text button theming example.")
662+
![Image of a text button with a different theme applied](images/button/theming-text-button.webp "Text button theming example.")
663663

664664
<!-- no-catalog-end -->
665665
<!-- catalog-only-start -->

docs/components/checkbox.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ dirname: checkbox
1313
freshness: {
1414
owner: 'emarquez'
1515
owner: 'lizmitchell'
16-
reviewed: '2023-11-10'
16+
reviewed: '2024-05-15'
1717
}
1818
tag: 'docType:reference'
1919
*-->
@@ -41,7 +41,7 @@ user needs to select one or more options from a list.
4141

4242
<img
4343
class="hero"
44-
src="images/checkbox/hero.png"
44+
src="images/checkbox/hero.webp"
4545
alt="A list of burger additions represented with checkboxes"
4646
title="Checkboxes in a list of items.">
4747

@@ -70,7 +70,7 @@ Checkboxes may be standalone, pre-checked, or indeterminate.
7070

7171
<!-- no-catalog-start -->
7272

73-
![Three checkboxes in a row that are unselected, selected, and indeterminate](images/checkbox/usage.png "Unselected, selected, and indeterminate checkboxes.")
73+
![Three checkboxes in a row that are unselected, selected, and indeterminate](images/checkbox/usage.webp "Unselected, selected, and indeterminate checkboxes.")
7474

7575
<!-- no-catalog-end -->
7676
<!-- catalog-include "figures/checkbox/usage.html" -->
@@ -87,7 +87,7 @@ Associate a label with a checkbox using the `<label>` element.
8787

8888
<!-- no-catalog-start -->
8989

90-
![Two checkboxes with labels](images/checkbox/usage-label.png "Labeled checkboxes.")
90+
![Two checkboxes with labels](images/checkbox/usage-label.webp "Labeled checkboxes.")
9191

9292
<!-- no-catalog-end -->
9393
<!-- catalog-include "figures/checkbox/usage-label.html" -->
@@ -142,7 +142,7 @@ Token | Default value
142142

143143
<!-- no-catalog-start -->
144144

145-
![Image of a checkbox with a different theme applied](images/checkbox/theming.png "Checkbox theming example.")
145+
![Image of a checkbox with a different theme applied](images/checkbox/theming.webp "Checkbox theming example.")
146146

147147
<!-- no-catalog-end -->
148148
<!-- catalog-include "figures/checkbox/theming.html" -->

docs/components/chip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ elements.
3636

3737
</catalog-component-header-title>
3838

39-
<img class="hero" src="images/chips/hero.png" alt="Two collections of filter chips, with some options selected and some unselected."
39+
<img class="hero" src="images/chips/hero.webp" alt="Two collections of filter chips, with some options selected and some unselected."
4040
title="Filter chips">
4141

4242
</catalog-component-header>

docs/components/dialog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ important prompts in a user flow.
3232

3333
</catalog-component-header-title>
3434

35-
<img class="hero" src="images/dialog/hero.png" alt="A dialog displaying phone ringtone options."
35+
<img class="hero" src="images/dialog/hero.webp" alt="A dialog displaying phone ringtone options."
3636
title="A dialog">
3737

3838
</catalog-component-header>

docs/components/divider.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ that groups content in lists and containers.
1616
Dividers can reinforce tapability, such as when used to separate list items or
1717
define tappable regions in an accordion.
1818

19-
![Screenshot of five stacked dividers](images/divider/hero.png "Dividers separating items in a list.")
19+
![Screenshot of five stacked dividers](images/divider/hero.webp "Dividers separating items in a list.")
2020

2121
* [Design article](https://m3.material.io/components/divider) <!-- {.external} -->
2222
* [API Documentation](#api)
@@ -27,7 +27,7 @@ define tappable regions in an accordion.
2727

2828
Use full width dividers to separate larger sections of unrelated content.
2929

30-
![A full width divider separating two paragraphs of "Lorem ipsum"](images/divider/usage.png "Full width divider example")
30+
![A full width divider separating two paragraphs of "Lorem ipsum"](images/divider/usage.webp "Full width divider example")
3131

3232
```html
3333
<section>
@@ -41,7 +41,7 @@ Use full width dividers to separate larger sections of unrelated content.
4141

4242
Use inset dividers to separate related content within a section.
4343

44-
![A list of design system names separated by an inset divider](images/divider/usage-inset.png "Inset divider example")
44+
![A list of design system names separated by an inset divider](images/divider/usage-inset.webp "Inset divider example")
4545

4646
```html
4747
<section>
@@ -54,7 +54,7 @@ Use inset dividers to separate related content within a section.
5454
Inset dividers are equally indented from both sides of the screen by default.
5555
Use `inset-start` or `inset-end` to change this.
5656

57-
![A list of design system names separated by a leading inset divider](images/divider/usage-inset-start.png "Leading inset divider example")
57+
![A list of design system names separated by a leading inset divider](images/divider/usage-inset-start.webp "Leading inset divider example")
5858

5959
```html
6060
<section>
@@ -101,7 +101,7 @@ Token | Default value
101101

102102
### Example
103103

104-
![A customized divider with a different color and thickness](images/divider/theming.png "Divider theming example.")
104+
![A customized divider with a different color and thickness](images/divider/theming.webp "Divider theming example.")
105105

106106
```html
107107
<style>

docs/components/elevation.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!--*
44
# Document freshness: For more information, see go/fresh-source.
5-
freshness: { owner: 'lizmitchell' reviewed: '2023-11-10' }
5+
freshness: { owner: 'lizmitchell' reviewed: '2024-05-15' }
66
tag: 'docType:reference'
77
*-->
88

@@ -17,7 +17,7 @@ Material's elevation system is deliberately limited to just a handful of levels.
1717
This creative constraint means you need to make thoughtful decisions about your
1818
UI’s elevation story.
1919

20-
![Diagram showing the five elevation levels and their respective dp values](images/elevation/hero.png "Material uses six levels of elevation, each with a corresponding dp value. These values are named for their relative distance above the UI’s surface: 0, +1, +2, +3, +4, and +5. An element’s resting state can be on levels 0 to +3, while levels +4 and +5 are reserved for user-interacted states such as hover and dragged.")
20+
![Diagram showing the five elevation levels and their respective dp values](images/elevation/hero.webp "Material uses six levels of elevation, each with a corresponding dp value. These values are named for their relative distance above the UI’s surface: 0, +1, +2, +3, +4, and +5. An element’s resting state can be on levels 0 to +3, while levels +4 and +5 are reserved for user-interacted states such as hover and dragged.")
2121

2222
* [Design article](https://m3.material.io/styles/elevation) <!-- {.external} -->
2323
* [API Documentation](#api)
@@ -30,7 +30,7 @@ Elevation can be set from 0 to 5 using the `--md-elevation-level` CSS custom
3030
property. The elevation will automatically fill the nearest `position: relative`
3131
element's size and shape.
3232

33-
![A rounded square with a drop shadow beneath it.](images/elevation/usage.png "A surface with an elevation shadow.")
33+
![A rounded square with a drop shadow beneath it.](images/elevation/usage.webp "A surface with an elevation shadow.")
3434

3535
```html
3636
<style>
@@ -99,7 +99,7 @@ Token | Default value
9999

100100
### Example
101101

102-
![Image of an elevation surface with a different theme applied](images/elevation/theming.png "Elevation theming example.")
102+
![Image of an elevation surface with a different theme applied](images/elevation/theming.webp "Elevation theming example.")
103103

104104
```html
105105
<style>

docs/components/focus-ring.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
<!--*
44
# Document freshness: For more information, see go/fresh-source.
5-
freshness: { owner: 'lizmitchell' reviewed: '2023-11-30' }
5+
freshness: { owner: 'lizmitchell' reviewed: '2024-05-15' }
66
tag: 'docType:reference'
77
*-->
88

docs/components/icon-button.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ people take supplementary actions with a single tap.
3030
<img
3131
class="hero"
3232
alt="The top half of a phone application with a back icon button at the top left and three icon buttons on the top right, heart, share, and three dot."
33-
src="images/iconbutton/hero.png">
33+
src="images/iconbutton/hero.webp">
3434

3535
</catalog-component-header>
3636

@@ -55,7 +55,7 @@ people take supplementary actions with a single tap.
5555

5656
<!-- no-catalog-start -->
5757

58-
![Side by side view of standard and contained icon buttons](images/iconbutton/buttons.png "1 - Standard Icon Button. 2 - Contained Icon Button (including filled, filled tonal, and outlined styles)")
58+
![Side by side view of standard and contained icon buttons](images/iconbutton/buttons.webp "1 - Standard Icon Button. 2 - Contained Icon Button (including filled, filled tonal, and outlined styles)")
5959

6060
<!-- no-catalog-end -->
6161
<!-- catalog-include "figures/iconbutton/buttons.html" -->
@@ -79,7 +79,7 @@ the icon font.
7979

8080
<!-- no-catalog-start -->
8181

82-
![A row of icon buttons](images/iconbutton/usage.png "Icon buttons can be used within other components, such as a bottom app bar")
82+
![A row of icon buttons](images/iconbutton/usage.webp "Icon buttons can be used within other components, such as a bottom app bar")
8383

8484
<!-- no-catalog-end -->
8585
<!-- catalog-include "figures/iconbutton/usage.html" -->
@@ -119,7 +119,7 @@ attribute to turn the icon button into a link.
119119

120120
![Two rows of toggling icon buttons, the top row is unselected and the bottom
121121
row is
122-
selected](images/iconbutton/usage-toggle.png "Unselected and Selected Icon Button")
122+
selected](images/iconbutton/usage-toggle.webp "Unselected and Selected Icon Button")
123123

124124
<!-- no-catalog-end -->
125125
<!-- catalog-include "figures/iconbutton/usage-toggle.html" -->
@@ -203,7 +203,7 @@ emphasis of the icon buttons.
203203

204204
<!-- no-catalog-start -->
205205

206-
![A check icon](images/iconbutton/usage-standard.png "Standard Icon Button with Check icon")
206+
![A check icon](images/iconbutton/usage-standard.webp "Standard Icon Button with Check icon")
207207

208208
<!-- no-catalog-end -->
209209
<!-- catalog-include "figures/iconbutton/usage-standard.html" -->
@@ -220,7 +220,7 @@ emphasis of the icon buttons.
220220

221221
<!-- no-catalog-start -->
222222

223-
![A circular button with a check icon](images/iconbutton/usage-filled.png "Filled Icon Button")
223+
![A circular button with a check icon](images/iconbutton/usage-filled.webp "Filled Icon Button")
224224

225225
<!-- no-catalog-end -->
226226
<!-- catalog-include "figures/iconbutton/usage-filled.html" -->
@@ -240,7 +240,7 @@ actions.
240240

241241
<!-- no-catalog-start -->
242242

243-
![A filled tonal icon button with a check icon](images/iconbutton/usage-filled-tonal.png "Filled Tonal Icon Button")
243+
![A filled tonal icon button with a check icon](images/iconbutton/usage-filled-tonal.webp "Filled Tonal Icon Button")
244244

245245
<!-- no-catalog-end -->
246246
<!-- catalog-include "figures/iconbutton/usage-filled-tonal.html" -->
@@ -262,7 +262,7 @@ high emphasis action.
262262

263263
<!-- no-catalog-start -->
264264

265-
![An outlined circular icon button with a check icon](images/iconbutton/usage-outlined.png "Outlined Icon button")
265+
![An outlined circular icon button with a check icon](images/iconbutton/usage-outlined.webp "Outlined Icon button")
266266

267267
<!-- no-catalog-end -->
268268
<!-- catalog-include "figures/iconbutton/usage-outlined.html" -->
@@ -297,7 +297,7 @@ Token | Default value
297297

298298
<!-- no-catalog-start -->
299299

300-
![Image of a standard icon button with a different theme applied](images/iconbutton/theming-standard.png "Standard icon button theming example.")
300+
![Image of a standard icon button with a different theme applied](images/iconbutton/theming-standard.webp "Standard icon button theming example.")
301301

302302
<!-- no-catalog-end -->
303303
<!-- catalog-include "figures/iconbutton/theming-standard.html" -->
@@ -333,7 +333,7 @@ Token | Default value
333333

334334
<!-- no-catalog-start -->
335335

336-
![Image of a filled icon button with a different theme applied](images/iconbutton/theming-filled.png "Filled icon button theming example.")
336+
![Image of a filled icon button with a different theme applied](images/iconbutton/theming-filled.webp "Filled icon button theming example.")
337337

338338
<!-- no-catalog-end -->
339339
<!-- catalog-include "figures/iconbutton/theming-filled.html" -->
@@ -368,7 +368,7 @@ Token | Default value
368368

369369
<!-- no-catalog-start -->
370370

371-
![Image of a filled tonal icon button with a different theme applied](images/iconbutton/theming-filled-tonal.png "Filled tonal icon button theming example.")
371+
![Image of a filled tonal icon button with a different theme applied](images/iconbutton/theming-filled-tonal.webp "Filled tonal icon button theming example.")
372372

373373
<!-- no-catalog-end -->
374374
<!-- catalog-include "figures/iconbutton/theming-filled-tonal.html" -->
@@ -403,7 +403,7 @@ Token | Default value
403403

404404
<!-- no-catalog-start -->
405405

406-
![Image of an outlined icon button with a different theme applied](images/iconbutton/theming-outlined.png "Outlined icon button theming example.")
406+
![Image of an outlined icon button with a different theme applied](images/iconbutton/theming-outlined.webp "Outlined icon button theming example.")
407407

408408
<!-- no-catalog-end -->
409409
<!-- catalog-include "figures/iconbutton/theming-outlined.html" -->

0 commit comments

Comments
 (0)