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
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -717,7 +717,7 @@ Token | Default value
717
717
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
718
718
|`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. |
719
719
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
720
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
720
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
721
721
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
722
722
|`name`||`string`|`undefined`||
723
723
|`form`||`HTMLFormElement`|`undefined`||
@@ -737,7 +737,7 @@ Token | Default value
737
737
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
738
738
|`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. |
739
739
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
740
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
740
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
741
741
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
742
742
|`name`||`string`|`undefined`||
743
743
|`form`||`HTMLFormElement`|`undefined`||
@@ -757,7 +757,7 @@ Token | Default value
757
757
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
758
758
|`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. |
759
759
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
760
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
760
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
761
761
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
762
762
|`name`||`string`|`undefined`||
763
763
|`form`||`HTMLFormElement`|`undefined`||
@@ -777,7 +777,7 @@ Token | Default value
777
777
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
778
778
|`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. |
779
779
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
780
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
780
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
781
781
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
782
782
|`name`||`string`|`undefined`||
783
783
|`form`||`HTMLFormElement`|`undefined`||
@@ -797,7 +797,7 @@ Token | Default value
797
797
|`target`|`target`|`string`|`''`| Where to display the linked `href` URL for a link button. Common options include `_blank` to open in a new tab. |
798
798
|`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. |
799
799
|`hasIcon`|`has-icon`|`boolean`|`false`| Whether to display the icon or not. |
800
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
800
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
801
801
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
Copy file name to clipboardExpand all lines: docs/components/icon-button.md
+4-4Lines changed: 4 additions & 4 deletions
Original file line number
Diff line number
Diff line change
@@ -444,7 +444,7 @@ Token | Default value
444
444
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
445
445
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
446
446
|`selected`|`selected`|`boolean`|`false`| Sets the selected state. When false, displays the default icon. When true, displays the selected icon, or the default icon If no `slot="selected"` icon is provided. |
447
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
447
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
448
448
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
449
449
|`name`||`string`|`undefined`||
450
450
|`form`||`HTMLFormElement`|`undefined`||
@@ -478,7 +478,7 @@ Token | Default value
478
478
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
479
479
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
480
480
|`selected`|`selected`|`boolean`|`false`| Sets the selected state. When false, displays the default icon. When true, displays the selected icon, or the default icon If no `slot="selected"` icon is provided. |
481
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
481
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
482
482
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
483
483
|`name`||`string`|`undefined`||
484
484
|`form`||`HTMLFormElement`|`undefined`||
@@ -512,7 +512,7 @@ Token | Default value
512
512
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
513
513
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
514
514
|`selected`|`selected`|`boolean`|`false`| Sets the selected state. When false, displays the default icon. When true, displays the selected icon, or the default icon If no `slot="selected"` icon is provided. |
515
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
515
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
516
516
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
517
517
|`name`||`string`|`undefined`||
518
518
|`form`||`HTMLFormElement`|`undefined`||
@@ -546,7 +546,7 @@ Token | Default value
546
546
|`ariaLabelSelected`|`aria-label-selected`|`string`|`''`| The `aria-label` of the button when the button is toggleable and selected. |
547
547
|`toggle`|`toggle`|`boolean`|`false`| When true, the button will toggle between selected and unselected states |
548
548
|`selected`|`selected`|`boolean`|`false`| Sets the selected state. When false, displays the default icon. When true, displays the selected icon, or the default icon If no `slot="selected"` icon is provided. |
549
-
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "text", "reset", or "submit" (default). |
549
+
|`type`|`type`|`string`|`'submit'`| The default behavior of the button. May be "button", "reset", or "submit" (default). |
550
550
|`value`|`value`|`string`|`''`| The value added to a form with the button's name when the button submits a form. |
0 commit comments