You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/components/button.md
+5Lines changed: 5 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -737,6 +737,7 @@ Token | Default value
737
737
|`disabled`|`disabled`|`boolean`|`false`| Whether or not the button is disabled. |
738
738
|`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. |
739
739
|`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). |
740
741
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
741
742
|`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. |
742
743
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
@@ -758,6 +759,7 @@ Token | Default value
758
759
|`disabled`|`disabled`|`boolean`|`false`| Whether or not the button is disabled. |
759
760
|`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. |
760
761
|`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). |
761
763
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
762
764
|`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. |
763
765
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
@@ -779,6 +781,7 @@ Token | Default value
779
781
|`disabled`|`disabled`|`boolean`|`false`| Whether or not the button is disabled. |
780
782
|`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. |
781
783
|`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). |
782
785
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
783
786
|`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. |
784
787
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
@@ -800,6 +803,7 @@ Token | Default value
800
803
|`disabled`|`disabled`|`boolean`|`false`| Whether or not the button is disabled. |
801
804
|`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. |
802
805
|`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). |
803
807
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
804
808
|`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. |
805
809
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
@@ -821,6 +825,7 @@ Token | Default value
821
825
|`disabled`|`disabled`|`boolean`|`false`| Whether or not the button is disabled. |
822
826
|`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. |
823
827
|`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). |
824
829
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
825
830
|`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. |
826
831
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
Copy file name to clipboardExpand all lines: docs/components/chip.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -508,6 +508,7 @@ Token | Default value
508
508
| --- | --- | --- | --- | --- |
509
509
|`elevated`|`elevated`|`boolean`|`false`||
510
510
|`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). |
511
512
|`target`|`target`|`string`|`''`||
512
513
|`disabled`|`disabled`|`boolean`|`false`| Whether or not the chip is disabled.<br>Disabled chips are not focusable, unless `always-focusable` is set. |
513
514
|`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
604
605
| --- | --- | --- | --- | --- |
605
606
|`elevated`|`elevated`|`boolean`|`false`||
606
607
|`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). |
607
609
|`target`|`target`|`string`|`''`||
608
610
|`disabled`|`disabled`|`boolean`|`false`| Whether or not the chip is disabled.<br>Disabled chips are not focusable, unless `always-focusable` is set. |
609
611
|`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. |
Copy file name to clipboardExpand all lines: docs/components/icon-button.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -469,6 +469,7 @@ Token | Default value
469
469
|`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. |
470
470
|`flipIconInRtl`|`flip-icon-in-rtl`|`boolean`|`false`| Flips the icon if it is in an RTL context at startup. |
471
471
|`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). |
472
473
|`target`|`target`|`string`|`''`| Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
473
474
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
474
475
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
@@ -504,6 +505,7 @@ Token | Default value
504
505
|`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. |
505
506
|`flipIconInRtl`|`flip-icon-in-rtl`|`boolean`|`false`| Flips the icon if it is in an RTL context at startup. |
506
507
|`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). |
507
509
|`target`|`target`|`string`|`''`| Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
508
510
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
509
511
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
@@ -539,6 +541,7 @@ Token | Default value
539
541
|`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. |
540
542
|`flipIconInRtl`|`flip-icon-in-rtl`|`boolean`|`false`| Flips the icon if it is in an RTL context at startup. |
541
543
|`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). |
542
545
|`target`|`target`|`string`|`''`| Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
543
546
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
544
547
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
@@ -574,6 +577,7 @@ Token | Default value
574
577
|`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. |
575
578
|`flipIconInRtl`|`flip-icon-in-rtl`|`boolean`|`false`| Flips the icon if it is in an RTL context at startup. |
576
579
|`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). |
577
581
|`target`|`target`|`string`|`''`| Sets the underlying `HTMLAnchorElement`'s `target` attribute. |
578
582
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
579
583
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
Copy file name to clipboardExpand all lines: docs/components/text-field.md
+2Lines changed: 2 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -534,6 +534,7 @@ Token | Default value
534
534
|`select`|_None_|`void`| Selects all the text in the text field.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select|
535
535
|`setRangeText`|`args`|`void`||
536
536
|`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|
537
538
|`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|
538
539
|`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|
539
540
|`reset`|_None_|`void`| Reset the text field to its default value. |
@@ -608,6 +609,7 @@ Token | Default value
608
609
|`select`|_None_|`void`| Selects all the text in the text field.<br>https://developer.mozilla.org/en-US/docs/Web/API/HTMLInputElement/select|
609
610
|`setRangeText`|`args`|`void`||
610
611
|`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|
611
613
|`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|
612
614
|`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|
613
615
|`reset`|_None_|`void`| Reset the text field to its default value. |
0 commit comments