Skip to content

Commit 9f85b3e

Browse files
Merge pull request #5841 from material-components:auto-update-docs
PiperOrigin-RevId: 799209912
2 parents 2206d7f + aa8b30d commit 9f85b3e

File tree

7 files changed

+26
-0
lines changed

7 files changed

+26
-0
lines changed

docs/components/button.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -737,6 +737,7 @@ Token | Default value
737737
| `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. |
738738
| `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).<br>Use this when a button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
739739
| `href` | `href` | `string` | `''` | The URL that the link button points to. |
740+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the button is used as a link (`href` is set). |
740741
| `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
741742
| `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.<br>_Note:_ Link buttons cannot have trailing icons. |
742743
| `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. |
@@ -758,6 +759,7 @@ Token | Default value
758759
| `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. |
759760
| `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).<br>Use this when a button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
760761
| `href` | `href` | `string` | `''` | The URL that the link button points to. |
762+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the button is used as a link (`href` is set). |
761763
| `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
762764
| `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.<br>_Note:_ Link buttons cannot have trailing icons. |
763765
| `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. |
@@ -779,6 +781,7 @@ Token | Default value
779781
| `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. |
780782
| `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).<br>Use this when a button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
781783
| `href` | `href` | `string` | `''` | The URL that the link button points to. |
784+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the button is used as a link (`href` is set). |
782785
| `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
783786
| `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.<br>_Note:_ Link buttons cannot have trailing icons. |
784787
| `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. |
@@ -800,6 +803,7 @@ Token | Default value
800803
| `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. |
801804
| `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).<br>Use this when a button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
802805
| `href` | `href` | `string` | `''` | The URL that the link button points to. |
806+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the button is used as a link (`href` is set). |
803807
| `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
804808
| `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.<br>_Note:_ Link buttons cannot have trailing icons. |
805809
| `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. |
@@ -821,6 +825,7 @@ Token | Default value
821825
| `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. |
822826
| `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).<br>Use this when a button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
823827
| `href` | `href` | `string` | `''` | The URL that the link button points to. |
828+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the button is used as a link (`href` is set). |
824829
| `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
825830
| `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.<br>_Note:_ Link buttons cannot have trailing icons. |
826831
| `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. |

docs/components/chip.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -508,6 +508,7 @@ Token | Default value
508508
| --- | --- | --- | --- | --- |
509509
| `elevated` | `elevated` | `boolean` | `false` | |
510510
| `href` | `href` | `string` | `''` | |
511+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the chip is used as a link (`href` is set). |
511512
| `target` | `target` | `string` | `''` | |
512513
| `disabled` | `disabled` | `boolean` | `false` | Whether or not the chip is disabled.<br>Disabled chips are not focusable, unless `always-focusable` is set. |
513514
| `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the chip is "soft-disabled" (disabled but still focusable).<br>Use this when a chip needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
@@ -604,6 +605,7 @@ Token | Default value
604605
| --- | --- | --- | --- | --- |
605606
| `elevated` | `elevated` | `boolean` | `false` | |
606607
| `href` | `href` | `string` | `''` | |
608+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the chip is used as a link (`href` is set). |
607609
| `target` | `target` | `string` | `''` | |
608610
| `disabled` | `disabled` | `boolean` | `false` | Whether or not the chip is disabled.<br>Disabled chips are not focusable, unless `always-focusable` is set. |
609611
| `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the chip is "soft-disabled" (disabled but still focusable).<br>Use this when a chip needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |

docs/components/icon-button.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -469,6 +469,7 @@ Token | Default value
469469
| `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).<br>Use this when an icon button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
470470
| `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. |
471471
| `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. |
472+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the icon button is used as a link (`href` is set). |
472473
| `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
473474
| `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. |
474475
| `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states |
@@ -504,6 +505,7 @@ Token | Default value
504505
| `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).<br>Use this when an icon button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
505506
| `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. |
506507
| `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. |
508+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the icon button is used as a link (`href` is set). |
507509
| `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
508510
| `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. |
509511
| `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states |
@@ -539,6 +541,7 @@ Token | Default value
539541
| `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).<br>Use this when an icon button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
540542
| `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. |
541543
| `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. |
544+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the icon button is used as a link (`href` is set). |
542545
| `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
543546
| `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. |
544547
| `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states |
@@ -574,6 +577,7 @@ Token | Default value
574577
| `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).<br>Use this when an icon button needs increased visibility when disabled. See https://www.w3.org/WAI/ARIA/apg/practices/keyboard-interface/#kbd_disabled_controls for more guidance on when this is needed. |
575578
| `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. |
576579
| `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. |
580+
| `download` | `download` | `string` | `''` | The filename to use when downloading the linked resource. If not specified, the browser will determine a filename. This is only applicable when the icon button is used as a link (`href` is set). |
577581
| `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
578582
| `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. |
579583
| `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states |

docs/components/list.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,16 @@ Token | Default value
417417

418418
<!-- mdformat on(autogenerated might break rendering in catalog) -->
419419

420+
#### Methods
421+
422+
<!-- mdformat off(autogenerated might break rendering in catalog) -->
423+
424+
| Method | Parameters | Returns | Description |
425+
| --- | --- | --- | --- |
426+
| `click` | _None_ | `void` | |
427+
428+
<!-- mdformat on(autogenerated might break rendering in catalog) -->
429+
420430
#### Events
421431

422432
<!-- mdformat off(autogenerated might break rendering in catalog) -->

docs/components/progress.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -379,6 +379,7 @@ Token | Default value
379379

380380
## API
381381

382+
382383
### MdLinearProgress <code>&lt;md-linear-progress&gt;</code>
383384

384385
#### Properties

docs/components/select.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -250,6 +250,7 @@ md-outlined-select::part(menu) {
250250
| `select` | `value` | `void` | Selects an option given the value of the option, and updates MdSelect's value. |
251251
| `selectIndex` | `index` | `void` | Selects an option given the index of the option, and updates MdSelect's value. |
252252
| `reset` | _None_ | `void` | Reset the select to its default value. |
253+
| `showPicker` | _None_ | `void` | Shows the picker. If it's already open, this is a no-op. |
253254
| `getUpdateComplete` | _None_ | `Promise<boolean>` | |
254255
| `formResetCallback` | _None_ | `void` | |
255256
| `formStateRestoreCallback` | `state` | `void` | |
@@ -311,6 +312,7 @@ md-outlined-select::part(menu) {
311312
| `select` | `value` | `void` | Selects an option given the value of the option, and updates MdSelect's value. |
312313
| `selectIndex` | `index` | `void` | Selects an option given the index of the option, and updates MdSelect's value. |
313314
| `reset` | _None_ | `void` | Reset the select to its default value. |
315+
| `showPicker` | _None_ | `void` | Shows the picker. If it's already open, this is a no-op. |
314316
| `getUpdateComplete` | _None_ | `Promise<boolean>` | |
315317
| `formResetCallback` | _None_ | `void` | |
316318
| `formStateRestoreCallback` | `state` | `void` | |

docs/components/text-field.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -534,6 +534,7 @@ Token | Default value
534534
| `select` | _None_ | `void` | Selects all the text in the text field.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select |
535535
| `setRangeText` | `args` | `void` | |
536536
| `setSelectionRange` | `start`, `end`, `direction` | `void` | Sets the start and end positions of a selection in the text field.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange |
537+
| `showPicker` | _None_ | `void` | Shows the browser picker for an input element of type "date", "time", etc.<br>For a full list of supported types, see: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker#browser_compatibility<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker |
537538
| `stepDown` | `stepDecrement` | `void` | Decrements the value of a numeric type text field by `step` or `n` `step` number of times.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown |
538539
| `stepUp` | `stepIncrement` | `void` | Increments the value of a numeric type text field by `step` or `n` `step` number of times.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp |
539540
| `reset` | _None_ | `void` | Reset the text field to its default value. |
@@ -608,6 +609,7 @@ Token | Default value
608609
| `select` | _None_ | `void` | Selects all the text in the text field.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select |
609610
| `setRangeText` | `args` | `void` | |
610611
| `setSelectionRange` | `start`, `end`, `direction` | `void` | Sets the start and end positions of a selection in the text field.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange |
612+
| `showPicker` | _None_ | `void` | Shows the browser picker for an input element of type "date", "time", etc.<br>For a full list of supported types, see: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker#browser_compatibility<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker |
611613
| `stepDown` | `stepDecrement` | `void` | Decrements the value of a numeric type text field by `step` or `n` `step` number of times.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown |
612614
| `stepUp` | `stepIncrement` | `void` | Increments the value of a numeric type text field by `step` or `n` `step` number of times.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp |
613615
| `reset` | _None_ | `void` | Reset the text field to its default value. |

0 commit comments

Comments
 (0)