@warp-ds/elements 2.9.0-next.5 → 2.9.0-next.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/dist/custom-elements.json +159 -97
  2. package/dist/docs/affix/affix.md +25 -23
  3. package/dist/docs/affix/api.md +25 -23
  4. package/dist/docs/alert/alert.md +12 -12
  5. package/dist/docs/alert/api.md +12 -12
  6. package/dist/docs/attention/api.md +46 -46
  7. package/dist/docs/attention/attention.md +46 -46
  8. package/dist/docs/badge/accessibility.md +44 -0
  9. package/dist/docs/badge/api.md +12 -8
  10. package/dist/docs/badge/badge.md +191 -10
  11. package/dist/docs/badge/examples.md +82 -0
  12. package/dist/docs/badge/usage.md +53 -0
  13. package/dist/docs/button/api.md +46 -42
  14. package/dist/docs/button/button.md +46 -42
  15. package/dist/docs/card/api.md +11 -11
  16. package/dist/docs/card/card.md +11 -11
  17. package/dist/docs/combobox/api.md +62 -62
  18. package/dist/docs/combobox/combobox.md +62 -62
  19. package/dist/docs/datepicker/api.md +74 -66
  20. package/dist/docs/datepicker/datepicker.md +74 -66
  21. package/dist/docs/expandable/api.md +26 -26
  22. package/dist/docs/expandable/expandable.md +26 -26
  23. package/dist/docs/link/api.md +28 -28
  24. package/dist/docs/link/link.md +28 -28
  25. package/dist/docs/page-indicator/api.md +6 -6
  26. package/dist/docs/page-indicator/page-indicator.md +6 -6
  27. package/dist/docs/pagination/api.md +3 -3
  28. package/dist/docs/pagination/pagination.md +3 -3
  29. package/dist/docs/pill/api.md +19 -15
  30. package/dist/docs/pill/pill.md +19 -15
  31. package/dist/docs/select/api.md +44 -44
  32. package/dist/docs/select/select.md +44 -44
  33. package/dist/docs/slider/api.md +80 -78
  34. package/dist/docs/slider/slider.md +80 -78
  35. package/dist/docs/slider-thumb/api.md +28 -76
  36. package/dist/docs/slider-thumb/slider-thumb.md +28 -76
  37. package/dist/docs/switch/api.md +16 -16
  38. package/dist/docs/switch/switch.md +16 -16
  39. package/dist/docs/tab/api.md +26 -40
  40. package/dist/docs/tab/tab.md +26 -40
  41. package/dist/docs/tab-panel/api.md +1 -17
  42. package/dist/docs/tab-panel/tab-panel.md +1 -17
  43. package/dist/docs/tabs/api.md +3 -3
  44. package/dist/docs/tabs/tabs.md +3 -3
  45. package/dist/docs/textarea/api.md +42 -40
  46. package/dist/docs/textarea/textarea.md +42 -40
  47. package/dist/docs/textfield/accessibility.md +15 -0
  48. package/dist/docs/textfield/api.md +86 -83
  49. package/dist/docs/textfield/examples.md +147 -0
  50. package/dist/docs/textfield/textfield.md +279 -86
  51. package/dist/docs/textfield/usage.md +30 -0
  52. package/dist/index.d.ts +220 -196
  53. package/dist/packages/badge/badge.d.ts +7 -5
  54. package/dist/packages/badge/badge.js.map +2 -2
  55. package/dist/packages/datepicker/datepicker.js +1 -1
  56. package/dist/packages/datepicker/datepicker.js.map +2 -2
  57. package/dist/packages/datepicker/datepicker.react.stories.d.ts +9 -1
  58. package/dist/packages/datepicker/react.d.ts +4 -0
  59. package/dist/packages/datepicker/react.js +4 -0
  60. package/dist/packages/textfield/textfield.d.ts +57 -60
  61. package/dist/packages/textfield/textfield.js +5 -5
  62. package/dist/packages/textfield/textfield.js.map +2 -2
  63. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  64. package/dist/web-types.json +392 -116
  65. package/package.json +1 -1
@@ -4,23 +4,27 @@
4
4
 
5
5
  | Name | Type | Default | Summary |
6
6
  |-|-|-|-|
7
- | variant | `'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'` | `-` | - |
8
- | position | `'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'` | `-` | - |
7
+ | position | `'top-left' \| 'top-right' \| 'bottom-right' \| 'bottom-left'` | `-` | Positions the badge in a corner of a parent element. |
8
+ | variant | `'neutral' \| 'info' \| 'positive' \| 'warning' \| 'negative' \| 'disabled' \| 'price' \| 'sponsored'` | `-` | Controls the badge color treatment. |
9
9
 
10
10
  ### Property Details
11
11
 
12
- #### variant
13
-
12
+ #### position
14
13
 
14
+ Positions the badge in a corner of a parent element.
15
+ Use this with a parent element that has `position: relative`. When set, the badge uses absolute positioning and adjusts its corner radii so it sits flush against the selected corner.
16
+ Use this with a parent element that has `position: relative`. Accepted values are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.
15
17
 
16
- - Type: `'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'`
18
+ - Type: `'top-left' \| 'top-right' \| 'bottom-right' \| 'bottom-left'`
17
19
  - Default: `-`
18
20
 
19
- #### position
20
-
21
+ #### variant
21
22
 
23
+ Controls the badge color treatment.
24
+ If omitted, the badge uses neutral styling without reflecting a `variant` attribute.
25
+ Accepted values are `neutral`, `info`, `positive`, `warning`, `negative`, `disabled`, `price`, and `sponsored`. If omitted, the badge uses neutral styling without reflecting a `variant` attribute.
22
26
 
23
- - Type: `'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'`
27
+ - Type: `'neutral' \| 'info' \| 'positive' \| 'warning' \| 'negative' \| 'disabled' \| 'price' \| 'sponsored'`
24
28
  - Default: `-`
25
29
 
26
30
  ### Types
@@ -4,37 +4,218 @@
4
4
 
5
5
  `w-badge` is used for showing a small amount of non-interactive color-categorized metadata, like a status or count.
6
6
 
7
- [See Storybook for usage examples](https://warp-ds.github.io/elements/?path=/docs/layout-badge--docs)
8
-
9
7
  ## Usage
10
8
 
9
+ Badge is a compact, non-interactive label for short metadata such as status, category, count, price, or sponsorship information.
10
+
11
+ Use a badge when the label supports nearby content and does not require user interaction.
12
+
13
+ ### Basic Badge
14
+
15
+ ```html
16
+ <w-badge>New</w-badge>
17
+ ```
18
+
19
+ ### Variants
20
+
21
+ Choose a variant that matches the meaning of the badge text:
22
+
23
+ - `neutral`: default metadata or low-emphasis labels
24
+ - `info`: informational labels
25
+ - `positive`: successful, active, or approved states
26
+ - `warning`: cautionary states
27
+ - `negative`: error, blocked, or rejected states
28
+ - `disabled`: unavailable or inactive states
29
+ - `price`: price labels, especially when placed over media
30
+ - `sponsored`: sponsored or commercial labels
31
+
32
+ ```html
33
+ <w-badge variant="neutral">Neutral</w-badge>
34
+ <w-badge variant="info">Info</w-badge>
35
+ <w-badge variant="positive">Approved</w-badge>
36
+ <w-badge variant="warning">Pending</w-badge>
37
+ <w-badge variant="negative">Rejected</w-badge>
38
+ <w-badge variant="disabled">Unavailable</w-badge>
39
+ <w-badge variant="price">1 200 kr</w-badge>
40
+ <w-badge variant="sponsored">Sponsored</w-badge>
41
+ ```
42
+
43
+ If `variant` is omitted, the badge uses the neutral visual treatment.
44
+
45
+ ### Positioned Badges
46
+
47
+ Use `position` when a badge should sit in a corner of a parent element, such as a media thumbnail or listing image. The parent element should establish the positioning context with `position: relative`.
48
+
49
+ Supported positions are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.
50
+
51
+ ```html
52
+ <div style="position: relative;">
53
+ <img src="listing.jpg" alt="Living room with large windows" />
54
+ <w-badge variant="price" position="top-right">1 200 kr</w-badge>
55
+ </div>
56
+ ```
57
+
58
+ ### Content Guidelines
59
+
60
+ Keep badge text short and descriptive. Avoid using badges for full messages, instructions, or actions. Use [Alert](/docs/components/alert/overview) for important feedback messages and an interactive component, such as a button or link, when the user can act on the item.
61
+
11
62
  ## Accessibility
12
63
 
64
+ Badge renders slotted text as regular content. It does not add an ARIA role and it is not announced as a live region.
65
+
66
+ ### Use Meaningful Text
67
+
68
+ Do not rely on color alone to communicate meaning. The badge text should describe the status or metadata by itself.
69
+
70
+ ```html
71
+ <w-badge variant="positive">Approved</w-badge>
72
+ <w-badge variant="negative">Rejected</w-badge>
73
+ ```
74
+
75
+ Avoid labels that only make sense visually:
76
+
77
+ ```html
78
+ <!-- Avoid -->
79
+ <w-badge variant="positive">Green</w-badge>
80
+ ```
81
+
82
+ ### Keep Badges Non-Interactive
83
+
84
+ Do not place interactive elements inside `w-badge`. If the user can click, dismiss, filter, or select the item, use an interactive component instead.
85
+
86
+ The `disabled` variant is visual only. It does not disable related controls or remove anything from the tab order.
87
+
88
+ ```html
89
+ <!-- Avoid -->
90
+ <w-badge>
91
+ <button type="button">New</button>
92
+ </w-badge>
93
+ ```
94
+
95
+ ### Dynamic Changes
96
+
97
+ If a badge value changes after the page has loaded and users need to be notified, announce that change outside the badge with an appropriate live region or use [Alert](/docs/components/alert/overview) for important feedback.
98
+
99
+ ### Duplicate or Decorative Badges
100
+
101
+ If the same information is already available in nearby accessible text and the badge is only a visual duplicate, hide the duplicate badge from assistive technologies.
102
+
103
+ ```html
104
+ <p>Sponsored listing</p>
105
+ <w-badge aria-hidden="true" variant="sponsored">Sponsored</w-badge>
106
+ ```
107
+
13
108
  ## Examples
14
109
 
110
+ ### Basic
111
+
112
+ <style-isolate>
113
+ <w-badge>New</w-badge>
114
+ </style-isolate>
115
+
116
+ ```html
117
+ <w-badge>New</w-badge>
118
+ ```
119
+
120
+ ### Status Variants
121
+
122
+ <style-isolate>
123
+ <div style="display: flex; flex-wrap: wrap; gap: 8px; align-items: center;">
124
+ <w-badge variant="neutral">Neutral</w-badge>
125
+ <w-badge variant="info">Info</w-badge>
126
+ <w-badge variant="positive">Approved</w-badge>
127
+ <w-badge variant="warning">Pending</w-badge>
128
+ <w-badge variant="negative">Rejected</w-badge>
129
+ <w-badge variant="disabled">Unavailable</w-badge>
130
+ </div>
131
+ </style-isolate>
132
+
133
+ ```html
134
+ <w-badge variant="neutral">Neutral</w-badge>
135
+ <w-badge variant="info">Info</w-badge>
136
+ <w-badge variant="positive">Approved</w-badge>
137
+ <w-badge variant="warning">Pending</w-badge>
138
+ <w-badge variant="negative">Rejected</w-badge>
139
+ <w-badge variant="disabled">Unavailable</w-badge>
140
+ ```
141
+
142
+ ### Price
143
+
144
+ <style-isolate>
145
+ <w-badge variant="price">1 200 kr</w-badge>
146
+ </style-isolate>
147
+
148
+ ```html
149
+ <w-badge variant="price">1 200 kr</w-badge>
150
+ ```
151
+
152
+ ### Sponsored
153
+
154
+ <style-isolate>
155
+ <w-badge variant="sponsored">Sponsored</w-badge>
156
+ </style-isolate>
157
+
158
+ ```html
159
+ <w-badge variant="sponsored">Sponsored</w-badge>
160
+ ```
161
+
162
+ ### Positioned
163
+
164
+ <style-isolate>
165
+ <div style="position: relative; width: 220px; height: 124px; border-radius: 8px; overflow: hidden; background: #e5e7eb;">
166
+ <w-badge variant="price" position="top-right">1 200 kr</w-badge>
167
+ </div>
168
+ </style-isolate>
169
+
170
+ ```html
171
+ <div style="position: relative;">
172
+ <img src="listing.jpg" alt="Living room with large windows" />
173
+ <w-badge variant="price" position="top-right">1 200 kr</w-badge>
174
+ </div>
175
+ ```
176
+
177
+ ### Positioned Sponsored Badge
178
+
179
+ <style-isolate>
180
+ <div style="position: relative; width: 220px; height: 124px; border-radius: 8px; overflow: hidden; background: #e5e7eb;">
181
+ <w-badge variant="sponsored" position="bottom-left">Sponsored</w-badge>
182
+ </div>
183
+ </style-isolate>
184
+
185
+ ```html
186
+ <div style="position: relative;">
187
+ <img src="listing.jpg" alt="Living room with large windows" />
188
+ <w-badge variant="sponsored" position="bottom-left">Sponsored</w-badge>
189
+ </div>
190
+ ```
191
+
15
192
  ## API Documentation
16
193
 
17
194
  ### Properties
18
195
 
19
196
  | Name | Type | Default | Summary |
20
197
  |-|-|-|-|
21
- | variant | `'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'` | `-` | - |
22
- | position | `'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'` | `-` | - |
198
+ | position | `'top-left' \| 'top-right' \| 'bottom-right' \| 'bottom-left'` | `-` | Positions the badge in a corner of a parent element. |
199
+ | variant | `'neutral' \| 'info' \| 'positive' \| 'warning' \| 'negative' \| 'disabled' \| 'price' \| 'sponsored'` | `-` | Controls the badge color treatment. |
23
200
 
24
201
  ### Property Details
25
202
 
26
- #### variant
27
-
203
+ #### position
28
204
 
205
+ Positions the badge in a corner of a parent element.
206
+ Use this with a parent element that has `position: relative`. When set, the badge uses absolute positioning and adjusts its corner radii so it sits flush against the selected corner.
207
+ Use this with a parent element that has `position: relative`. Accepted values are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.
29
208
 
30
- - Type: `'neutral' | 'info' | 'positive' | 'warning' | 'negative' | 'disabled' | 'price' | 'sponsored'`
209
+ - Type: `'top-left' \| 'top-right' \| 'bottom-right' \| 'bottom-left'`
31
210
  - Default: `-`
32
211
 
33
- #### position
34
-
212
+ #### variant
35
213
 
214
+ Controls the badge color treatment.
215
+ If omitted, the badge uses neutral styling without reflecting a `variant` attribute.
216
+ Accepted values are `neutral`, `info`, `positive`, `warning`, `negative`, `disabled`, `price`, and `sponsored`. If omitted, the badge uses neutral styling without reflecting a `variant` attribute.
36
217
 
37
- - Type: `'top-left' | 'top-right' | 'bottom-right' | 'bottom-left'`
218
+ - Type: `'neutral' \| 'info' \| 'positive' \| 'warning' \| 'negative' \| 'disabled' \| 'price' \| 'sponsored'`
38
219
  - Default: `-`
39
220
 
40
221
  ### Types
@@ -1 +1,83 @@
1
1
  ## Examples
2
+
3
+ ### Basic
4
+
5
+ <style-isolate>
6
+ <w-badge>New</w-badge>
7
+ </style-isolate>
8
+
9
+ ```html
10
+ <w-badge>New</w-badge>
11
+ ```
12
+
13
+ ### Status Variants
14
+
15
+ <style-isolate>
16
+ <div style="display: flex; flex-wrap: wrap; gap: 8px; align-items: center;">
17
+ <w-badge variant="neutral">Neutral</w-badge>
18
+ <w-badge variant="info">Info</w-badge>
19
+ <w-badge variant="positive">Approved</w-badge>
20
+ <w-badge variant="warning">Pending</w-badge>
21
+ <w-badge variant="negative">Rejected</w-badge>
22
+ <w-badge variant="disabled">Unavailable</w-badge>
23
+ </div>
24
+ </style-isolate>
25
+
26
+ ```html
27
+ <w-badge variant="neutral">Neutral</w-badge>
28
+ <w-badge variant="info">Info</w-badge>
29
+ <w-badge variant="positive">Approved</w-badge>
30
+ <w-badge variant="warning">Pending</w-badge>
31
+ <w-badge variant="negative">Rejected</w-badge>
32
+ <w-badge variant="disabled">Unavailable</w-badge>
33
+ ```
34
+
35
+ ### Price
36
+
37
+ <style-isolate>
38
+ <w-badge variant="price">1 200 kr</w-badge>
39
+ </style-isolate>
40
+
41
+ ```html
42
+ <w-badge variant="price">1 200 kr</w-badge>
43
+ ```
44
+
45
+ ### Sponsored
46
+
47
+ <style-isolate>
48
+ <w-badge variant="sponsored">Sponsored</w-badge>
49
+ </style-isolate>
50
+
51
+ ```html
52
+ <w-badge variant="sponsored">Sponsored</w-badge>
53
+ ```
54
+
55
+ ### Positioned
56
+
57
+ <style-isolate>
58
+ <div style="position: relative; width: 220px; height: 124px; border-radius: 8px; overflow: hidden; background: #e5e7eb;">
59
+ <w-badge variant="price" position="top-right">1 200 kr</w-badge>
60
+ </div>
61
+ </style-isolate>
62
+
63
+ ```html
64
+ <div style="position: relative;">
65
+ <img src="listing.jpg" alt="Living room with large windows" />
66
+ <w-badge variant="price" position="top-right">1 200 kr</w-badge>
67
+ </div>
68
+ ```
69
+
70
+ ### Positioned Sponsored Badge
71
+
72
+ <style-isolate>
73
+ <div style="position: relative; width: 220px; height: 124px; border-radius: 8px; overflow: hidden; background: #e5e7eb;">
74
+ <w-badge variant="sponsored" position="bottom-left">Sponsored</w-badge>
75
+ </div>
76
+ </style-isolate>
77
+
78
+ ```html
79
+ <div style="position: relative;">
80
+ <img src="listing.jpg" alt="Living room with large windows" />
81
+ <w-badge variant="sponsored" position="bottom-left">Sponsored</w-badge>
82
+ </div>
83
+ ```
@@ -1 +1,54 @@
1
1
  ## Usage
2
+
3
+ Badge is a compact, non-interactive label for short metadata such as status, category, count, price, or sponsorship information.
4
+
5
+ Use a badge when the label supports nearby content and does not require user interaction.
6
+
7
+ ### Basic Badge
8
+
9
+ ```html
10
+ <w-badge>New</w-badge>
11
+ ```
12
+
13
+ ### Variants
14
+
15
+ Choose a variant that matches the meaning of the badge text:
16
+
17
+ - `neutral`: default metadata or low-emphasis labels
18
+ - `info`: informational labels
19
+ - `positive`: successful, active, or approved states
20
+ - `warning`: cautionary states
21
+ - `negative`: error, blocked, or rejected states
22
+ - `disabled`: unavailable or inactive states
23
+ - `price`: price labels, especially when placed over media
24
+ - `sponsored`: sponsored or commercial labels
25
+
26
+ ```html
27
+ <w-badge variant="neutral">Neutral</w-badge>
28
+ <w-badge variant="info">Info</w-badge>
29
+ <w-badge variant="positive">Approved</w-badge>
30
+ <w-badge variant="warning">Pending</w-badge>
31
+ <w-badge variant="negative">Rejected</w-badge>
32
+ <w-badge variant="disabled">Unavailable</w-badge>
33
+ <w-badge variant="price">1 200 kr</w-badge>
34
+ <w-badge variant="sponsored">Sponsored</w-badge>
35
+ ```
36
+
37
+ If `variant` is omitted, the badge uses the neutral visual treatment.
38
+
39
+ ### Positioned Badges
40
+
41
+ Use `position` when a badge should sit in a corner of a parent element, such as a media thumbnail or listing image. The parent element should establish the positioning context with `position: relative`.
42
+
43
+ Supported positions are `top-left`, `top-right`, `bottom-right`, and `bottom-left`.
44
+
45
+ ```html
46
+ <div style="position: relative;">
47
+ <img src="listing.jpg" alt="Living room with large windows" />
48
+ <w-badge variant="price" position="top-right">1 200 kr</w-badge>
49
+ </div>
50
+ ```
51
+
52
+ ### Content Guidelines
53
+
54
+ Keep badge text short and descriptive. Avoid using badges for full messages, instructions, or actions. Use [Alert](/docs/components/alert/overview) for important feedback messages and an interactive component, such as a button or link, when the user can act on the item.
@@ -4,38 +4,31 @@
4
4
 
5
5
  | Name | Type | Default | Summary |
6
6
  |-|-|-|-|
7
- | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
8
- | type | [`ButtonType`](#buttontype) | `-` | - |
7
+ | ariaValueTextLoading | `unknown` | `-` | - |
9
8
  | autofocus | `boolean` | `false` | - |
10
- | variant | [`ButtonVariant`](#buttonvariant) | `-` | - |
11
- | quiet | `boolean` | `false` | - |
12
- | iconOnly | `boolean` | `false` | - |
13
- | small | `boolean` | `false` | - |
14
- | loading | `boolean` | `false` | - |
15
- | href | `string` | `-` | - |
16
- | target | `string` | `-` | - |
9
+ | buttonClass | `string` | `-` | **Deprecated**: This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button. |
17
10
  | disabled | `boolean` | `false` | - |
18
- | rel | `string` | `-` | - |
19
11
  | fullWidth | `boolean` | `false` | - |
20
- | buttonClass | `string` | `-` | - |
12
+ | href | `string` | `-` | - |
13
+ | iconOnly | `boolean` | `false` | - |
14
+ | loading | `boolean` | `false` | - |
21
15
  | name | `string` | `-` | - |
16
+ | quiet | `boolean` | `false` | **Deprecated**: Use `variant="quiet"` instead |
17
+ | rel | `string` | `-` | - |
18
+ | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
19
+ | small | `boolean` | `false` | - |
20
+ | target | `string` | `-` | - |
21
+ | type | [`ButtonType`](#buttontype) | `-` | - |
22
22
  | value | `string` | `-` | - |
23
- | ariaValueTextLoading | `unknown` | `-` | - |
23
+ | variant | [`ButtonVariant`](#buttonvariant) | `-` | - |
24
24
 
25
25
  ### Property Details
26
26
 
27
- #### shadowRootOptions
28
-
29
-
30
-
31
- - Type: `object`
32
- - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
33
-
34
- #### type
27
+ #### ariaValueTextLoading
35
28
 
36
29
 
37
30
 
38
- - Type: [`ButtonType`](#buttontype)
31
+ - Type: `unknown`
39
32
  - Default: `-`
40
33
 
41
34
  #### autofocus
@@ -45,56 +38,60 @@
45
38
  - Type: `boolean`
46
39
  - Default: `false`
47
40
 
48
- #### variant
41
+ #### buttonClass
49
42
 
43
+ **Deprecated**: This class is applied inside the shadow DOM and is unlikely to have the desired effect. Use attributes or CSS variables to customize the appearance of the button.
50
44
 
51
45
 
52
- - Type: [`ButtonVariant`](#buttonvariant)
46
+
47
+ - Type: `string`
53
48
  - Default: `-`
54
49
 
55
- #### quiet
50
+ #### disabled
56
51
 
57
52
 
58
53
 
59
54
  - Type: `boolean`
60
55
  - Default: `false`
61
56
 
62
- #### iconOnly
57
+ #### fullWidth
63
58
 
64
59
 
65
60
 
66
61
  - Type: `boolean`
67
62
  - Default: `false`
68
63
 
69
- #### small
64
+ #### href
70
65
 
71
66
 
72
67
 
73
- - Type: `boolean`
74
- - Default: `false`
68
+ - Type: `string`
69
+ - Default: `-`
75
70
 
76
- #### loading
71
+ #### iconOnly
77
72
 
78
73
 
79
74
 
80
75
  - Type: `boolean`
81
76
  - Default: `false`
82
77
 
83
- #### href
78
+ #### loading
84
79
 
85
80
 
86
81
 
87
- - Type: `string`
88
- - Default: `-`
82
+ - Type: `boolean`
83
+ - Default: `false`
89
84
 
90
- #### target
85
+ #### name
91
86
 
92
87
 
93
88
 
94
89
  - Type: `string`
95
90
  - Default: `-`
96
91
 
97
- #### disabled
92
+ #### quiet
93
+
94
+ **Deprecated**: Use `variant="quiet"` instead
98
95
 
99
96
 
100
97
 
@@ -108,25 +105,32 @@
108
105
  - Type: `string`
109
106
  - Default: `-`
110
107
 
111
- #### fullWidth
108
+ #### shadowRootOptions
109
+
110
+
111
+
112
+ - Type: `object`
113
+ - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
114
+
115
+ #### small
112
116
 
113
117
 
114
118
 
115
119
  - Type: `boolean`
116
120
  - Default: `false`
117
121
 
118
- #### buttonClass
122
+ #### target
119
123
 
120
124
 
121
125
 
122
126
  - Type: `string`
123
127
  - Default: `-`
124
128
 
125
- #### name
129
+ #### type
126
130
 
127
131
 
128
132
 
129
- - Type: `string`
133
+ - Type: [`ButtonType`](#buttontype)
130
134
  - Default: `-`
131
135
 
132
136
  #### value
@@ -136,20 +140,20 @@
136
140
  - Type: `string`
137
141
  - Default: `-`
138
142
 
139
- #### ariaValueTextLoading
143
+ #### variant
140
144
 
141
145
 
142
146
 
143
- - Type: `unknown`
147
+ - Type: [`ButtonVariant`](#buttonvariant)
144
148
  - Default: `-`
145
149
 
146
150
  ### Types
147
151
 
148
152
  #### ButtonType
149
153
 
150
- `'button' | 'submit' | 'reset'`
154
+ `'button' \| 'submit' \| 'reset'`
151
155
 
152
156
  #### ButtonVariant
153
157
 
154
- `'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'`
158
+ `'negative' \| 'primary' \| 'secondary' \| 'negativeQuiet' \| 'utility' \| 'quiet' \| 'utilityQuiet' \| 'overlay' \| 'overlayInverted' \| 'overlayQuiet' \| 'overlayInvertedQuiet' \| 'pill' \| 'link'`
155
159