diff --git a/docs/components/button.md b/docs/components/button.md index f11f9fe89a..9f0008b307 100644 --- a/docs/components/button.md +++ b/docs/components/button.md @@ -737,6 +737,7 @@ Token | Default value | `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. | | `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).
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. | | `href` | `href` | `string` | `''` | The URL that the link button points to. | +| `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). | | `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. | | `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.
_Note:_ Link buttons cannot have trailing icons. | | `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. | @@ -758,6 +759,7 @@ Token | Default value | `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. | | `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).
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. | | `href` | `href` | `string` | `''` | The URL that the link button points to. | +| `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). | | `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. | | `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.
_Note:_ Link buttons cannot have trailing icons. | | `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. | @@ -779,6 +781,7 @@ Token | Default value | `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. | | `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).
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. | | `href` | `href` | `string` | `''` | The URL that the link button points to. | +| `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). | | `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. | | `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.
_Note:_ Link buttons cannot have trailing icons. | | `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. | @@ -800,6 +803,7 @@ Token | Default value | `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. | | `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).
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. | | `href` | `href` | `string` | `''` | The URL that the link button points to. | +| `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). | | `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. | | `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.
_Note:_ Link buttons cannot have trailing icons. | | `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. | @@ -821,6 +825,7 @@ Token | Default value | `disabled` | `disabled` | `boolean` | `false` | Whether or not the button is disabled. | | `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the button is "soft-disabled" (disabled but still focusable).
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. | | `href` | `href` | `string` | `''` | The URL that the link button points to. | +| `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). | | `target` | `target` | `string` | `''` | Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. | | `trailingIcon` | `trailing-icon` | `boolean` | `false` | Whether to render the icon at the inline end of the label rather than the inline start.
_Note:_ Link buttons cannot have trailing icons. | | `hasIcon` | `has-icon` | `boolean` | `false` | Whether to display the icon or not. | diff --git a/docs/components/chip.md b/docs/components/chip.md index 0144df0e71..40f09fc9b0 100644 --- a/docs/components/chip.md +++ b/docs/components/chip.md @@ -508,6 +508,7 @@ Token | Default value | --- | --- | --- | --- | --- | | `elevated` | `elevated` | `boolean` | `false` | | | `href` | `href` | `string` | `''` | | +| `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). | | `target` | `target` | `string` | `''` | | | `disabled` | `disabled` | `boolean` | `false` | Whether or not the chip is disabled.
Disabled chips are not focusable, unless `always-focusable` is set. | | `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the chip is "soft-disabled" (disabled but still focusable).
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 | --- | --- | --- | --- | --- | | `elevated` | `elevated` | `boolean` | `false` | | | `href` | `href` | `string` | `''` | | +| `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). | | `target` | `target` | `string` | `''` | | | `disabled` | `disabled` | `boolean` | `false` | Whether or not the chip is disabled.
Disabled chips are not focusable, unless `always-focusable` is set. | | `softDisabled` | `soft-disabled` | `boolean` | `false` | Whether or not the chip is "soft-disabled" (disabled but still focusable).
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. | diff --git a/docs/components/icon-button.md b/docs/components/icon-button.md index 969ed40cb3..de885f2cf4 100644 --- a/docs/components/icon-button.md +++ b/docs/components/icon-button.md @@ -469,6 +469,7 @@ Token | Default value | `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).
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. | | `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. | | `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. | +| `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). | | `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. | | `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. | | `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states | @@ -504,6 +505,7 @@ Token | Default value | `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).
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. | | `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. | | `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. | +| `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). | | `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. | | `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. | | `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states | @@ -539,6 +541,7 @@ Token | Default value | `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).
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. | | `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. | | `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. | +| `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). | | `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. | | `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. | | `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states | @@ -574,6 +577,7 @@ Token | Default value | `softDisabled` | `soft-disabled` | `boolean` | `false` | "Soft-disables" the icon button (disabled but still focusable).
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. | | `flipIconInRtl` | `flip-icon-in-rtl` | `boolean` | `false` | Flips the icon if it is in an RTL context at startup. | | `href` | `href` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `href` resource attribute. | +| `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). | | `target` | `target` | `string` | `''` | Sets the underlying `HTMLAnchorElement`'s `target` attribute. | | `ariaLabelSelected` | `aria-label-selected` | `string` | `''` | The `aria-label` of the button when the button is toggleable and selected. | | `toggle` | `toggle` | `boolean` | `false` | When true, the button will toggle between selected and unselected states | diff --git a/docs/components/list.md b/docs/components/list.md index 3278a22500..ea4a1abf6f 100644 --- a/docs/components/list.md +++ b/docs/components/list.md @@ -417,6 +417,16 @@ Token | Default value +#### Methods + + + +| Method | Parameters | Returns | Description | +| --- | --- | --- | --- | +| `click` | _None_ | `void` | | + + + #### Events diff --git a/docs/components/progress.md b/docs/components/progress.md index e824ccc012..57b6af78a0 100644 --- a/docs/components/progress.md +++ b/docs/components/progress.md @@ -379,6 +379,7 @@ Token | Default value ## API + ### MdLinearProgress <md-linear-progress> #### Properties diff --git a/docs/components/select.md b/docs/components/select.md index 7fd716f485..b6af0163ae 100644 --- a/docs/components/select.md +++ b/docs/components/select.md @@ -250,6 +250,7 @@ md-outlined-select::part(menu) { | `select` | `value` | `void` | Selects an option given the value of the option, and updates MdSelect's value. | | `selectIndex` | `index` | `void` | Selects an option given the index of the option, and updates MdSelect's value. | | `reset` | _None_ | `void` | Reset the select to its default value. | +| `showPicker` | _None_ | `void` | Shows the picker. If it's already open, this is a no-op. | | `getUpdateComplete` | _None_ | `Promise` | | | `formResetCallback` | _None_ | `void` | | | `formStateRestoreCallback` | `state` | `void` | | @@ -311,6 +312,7 @@ md-outlined-select::part(menu) { | `select` | `value` | `void` | Selects an option given the value of the option, and updates MdSelect's value. | | `selectIndex` | `index` | `void` | Selects an option given the index of the option, and updates MdSelect's value. | | `reset` | _None_ | `void` | Reset the select to its default value. | +| `showPicker` | _None_ | `void` | Shows the picker. If it's already open, this is a no-op. | | `getUpdateComplete` | _None_ | `Promise` | | | `formResetCallback` | _None_ | `void` | | | `formStateRestoreCallback` | `state` | `void` | | diff --git a/docs/components/text-field.md b/docs/components/text-field.md index 6d3168bebd..9b493a279b 100644 --- a/docs/components/text-field.md +++ b/docs/components/text-field.md @@ -534,6 +534,7 @@ Token | Default value | `select` | _None_ | `void` | Selects all the text in the text field.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select | | `setRangeText` | `args` | `void` | | | `setSelectionRange` | `start`, `end`, `direction` | `void` | Sets the start and end positions of a selection in the text field.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange | +| `showPicker` | _None_ | `void` | Shows the browser picker for an input element of type "date", "time", etc.
For a full list of supported types, see: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker | | `stepDown` | `stepDecrement` | `void` | Decrements the value of a numeric type text field by `step` or `n` `step` number of times.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown | | `stepUp` | `stepIncrement` | `void` | Increments the value of a numeric type text field by `step` or `n` `step` number of times.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp | | `reset` | _None_ | `void` | Reset the text field to its default value. | @@ -608,6 +609,7 @@ Token | Default value | `select` | _None_ | `void` | Selects all the text in the text field.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select | | `setRangeText` | `args` | `void` | | | `setSelectionRange` | `start`, `end`, `direction` | `void` | Sets the start and end positions of a selection in the text field.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/setSelectionRange | +| `showPicker` | _None_ | `void` | Shows the browser picker for an input element of type "date", "time", etc.
For a full list of supported types, see: https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker#browser_compatibility
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/showPicker | | `stepDown` | `stepDecrement` | `void` | Decrements the value of a numeric type text field by `step` or `n` `step` number of times.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepDown | | `stepUp` | `stepIncrement` | `void` | Increments the value of a numeric type text field by `step` or `n` `step` number of times.
https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/stepUp | | `reset` | _None_ | `void` | Reset the text field to its default value. |