@warp-ds/elements 2.9.0-next.4 → 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 (99) hide show
  1. package/dist/custom-elements.json +3554 -3442
  2. package/dist/docs/affix/accessibility.md +7 -0
  3. package/dist/docs/affix/affix.md +174 -10
  4. package/dist/docs/affix/api.md +28 -10
  5. package/dist/docs/affix/examples.md +92 -0
  6. package/dist/docs/affix/usage.md +47 -0
  7. package/dist/docs/alert/alert.md +12 -12
  8. package/dist/docs/alert/api.md +12 -12
  9. package/dist/docs/attention/api.md +46 -46
  10. package/dist/docs/attention/attention.md +46 -46
  11. package/dist/docs/badge/accessibility.md +44 -0
  12. package/dist/docs/badge/api.md +12 -8
  13. package/dist/docs/badge/badge.md +191 -10
  14. package/dist/docs/badge/examples.md +82 -0
  15. package/dist/docs/badge/usage.md +53 -0
  16. package/dist/docs/button/api.md +46 -42
  17. package/dist/docs/button/button.md +46 -42
  18. package/dist/docs/card/api.md +11 -11
  19. package/dist/docs/card/card.md +11 -11
  20. package/dist/docs/combobox/api.md +62 -62
  21. package/dist/docs/combobox/combobox.md +62 -62
  22. package/dist/docs/datepicker/api.md +74 -66
  23. package/dist/docs/datepicker/datepicker.md +74 -66
  24. package/dist/docs/expandable/api.md +26 -26
  25. package/dist/docs/expandable/expandable.md +26 -26
  26. package/dist/docs/link/api.md +28 -28
  27. package/dist/docs/link/link.md +28 -28
  28. package/dist/docs/page-indicator/api.md +6 -6
  29. package/dist/docs/page-indicator/page-indicator.md +6 -6
  30. package/dist/docs/pagination/api.md +3 -3
  31. package/dist/docs/pagination/pagination.md +3 -3
  32. package/dist/docs/pill/api.md +19 -15
  33. package/dist/docs/pill/pill.md +19 -15
  34. package/dist/docs/select/api.md +44 -44
  35. package/dist/docs/select/select.md +44 -44
  36. package/dist/docs/slider/api.md +80 -78
  37. package/dist/docs/slider/slider.md +80 -78
  38. package/dist/docs/slider-thumb/api.md +28 -76
  39. package/dist/docs/slider-thumb/slider-thumb.md +28 -76
  40. package/dist/docs/switch/api.md +16 -16
  41. package/dist/docs/switch/switch.md +16 -16
  42. package/dist/docs/tab/api.md +26 -40
  43. package/dist/docs/tab/tab.md +26 -40
  44. package/dist/docs/tab-panel/api.md +1 -17
  45. package/dist/docs/tab-panel/tab-panel.md +1 -17
  46. package/dist/docs/tabs/api.md +3 -3
  47. package/dist/docs/tabs/tabs.md +3 -3
  48. package/dist/docs/textarea/api.md +42 -40
  49. package/dist/docs/textarea/textarea.md +42 -40
  50. package/dist/docs/textfield/accessibility.md +15 -0
  51. package/dist/docs/textfield/api.md +86 -83
  52. package/dist/docs/textfield/examples.md +147 -0
  53. package/dist/docs/textfield/textfield.md +279 -86
  54. package/dist/docs/textfield/usage.md +30 -0
  55. package/dist/index.d.ts +343 -319
  56. package/dist/packages/affix/affix.d.ts +23 -14
  57. package/dist/packages/affix/affix.js +24 -11
  58. package/dist/packages/affix/affix.js.map +4 -4
  59. package/dist/packages/affix/affix.stories.d.ts +3 -0
  60. package/dist/packages/affix/affix.stories.js +16 -0
  61. package/dist/packages/affix/affix.test.js +7 -0
  62. package/dist/packages/affix/locales/da/messages.d.mts +1 -0
  63. package/dist/packages/affix/locales/da/messages.mjs +1 -0
  64. package/dist/packages/affix/locales/en/messages.d.mts +1 -0
  65. package/dist/packages/affix/locales/en/messages.mjs +1 -0
  66. package/dist/packages/affix/locales/fi/messages.d.mts +1 -0
  67. package/dist/packages/affix/locales/fi/messages.mjs +1 -0
  68. package/dist/packages/affix/locales/nb/messages.d.mts +1 -0
  69. package/dist/packages/affix/locales/nb/messages.mjs +1 -0
  70. package/dist/packages/affix/locales/sv/messages.d.mts +1 -0
  71. package/dist/packages/affix/locales/sv/messages.mjs +1 -0
  72. package/dist/packages/badge/badge.d.ts +7 -5
  73. package/dist/packages/badge/badge.js.map +2 -2
  74. package/dist/packages/badge/badge.react.stories.d.ts +1 -1
  75. package/dist/packages/box/box.react.stories.d.ts +1 -1
  76. package/dist/packages/breadcrumbs/breadcrumbs.react.stories.d.ts +1 -1
  77. package/dist/packages/button/button.react.stories.d.ts +1 -1
  78. package/dist/packages/card/card.react.stories.d.ts +1 -1
  79. package/dist/packages/combobox/combobox.react.stories.d.ts +1 -1
  80. package/dist/packages/datepicker/datepicker.js +1 -1
  81. package/dist/packages/datepicker/datepicker.js.map +2 -2
  82. package/dist/packages/datepicker/datepicker.react.stories.d.ts +9 -1
  83. package/dist/packages/datepicker/react.d.ts +4 -0
  84. package/dist/packages/datepicker/react.js +4 -0
  85. package/dist/packages/expandable/expandable.react.stories.d.ts +1 -1
  86. package/dist/packages/link/link.react.stories.d.ts +1 -1
  87. package/dist/packages/page-indicator/page-indicator.react.stories.d.ts +1 -1
  88. package/dist/packages/pagination/pagination.react.stories.d.ts +1 -1
  89. package/dist/packages/pill/pill.react.stories.d.ts +1 -1
  90. package/dist/packages/select/select.react.stories.d.ts +1 -1
  91. package/dist/packages/textarea/textarea.react.stories.d.ts +1 -1
  92. package/dist/packages/textfield/textfield.d.ts +57 -60
  93. package/dist/packages/textfield/textfield.js +5 -5
  94. package/dist/packages/textfield/textfield.js.map +2 -2
  95. package/dist/packages/textfield/textfield.react.stories.d.ts +1 -1
  96. package/dist/packages/textfield/textfield.stories.d.ts +3 -0
  97. package/dist/packages/textfield/textfield.stories.js +45 -0
  98. package/dist/web-types.json +452 -147
  99. package/package.json +2 -2
@@ -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
 
@@ -18,38 +18,31 @@ Buttons are used to perform actions, widh different visuals for different needs.
18
18
 
19
19
  | Name | Type | Default | Summary |
20
20
  |-|-|-|-|
21
- | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
22
- | type | [`ButtonType`](#buttontype) | `-` | - |
21
+ | ariaValueTextLoading | `unknown` | `-` | - |
23
22
  | autofocus | `boolean` | `false` | - |
24
- | variant | [`ButtonVariant`](#buttonvariant) | `-` | - |
25
- | quiet | `boolean` | `false` | - |
26
- | iconOnly | `boolean` | `false` | - |
27
- | small | `boolean` | `false` | - |
28
- | loading | `boolean` | `false` | - |
29
- | href | `string` | `-` | - |
30
- | target | `string` | `-` | - |
23
+ | 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. |
31
24
  | disabled | `boolean` | `false` | - |
32
- | rel | `string` | `-` | - |
33
25
  | fullWidth | `boolean` | `false` | - |
34
- | buttonClass | `string` | `-` | - |
26
+ | href | `string` | `-` | - |
27
+ | iconOnly | `boolean` | `false` | - |
28
+ | loading | `boolean` | `false` | - |
35
29
  | name | `string` | `-` | - |
30
+ | quiet | `boolean` | `false` | **Deprecated**: Use `variant="quiet"` instead |
31
+ | rel | `string` | `-` | - |
32
+ | shadowRootOptions | `object` | `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }` | - |
33
+ | small | `boolean` | `false` | - |
34
+ | target | `string` | `-` | - |
35
+ | type | [`ButtonType`](#buttontype) | `-` | - |
36
36
  | value | `string` | `-` | - |
37
- | ariaValueTextLoading | `unknown` | `-` | - |
37
+ | variant | [`ButtonVariant`](#buttonvariant) | `-` | - |
38
38
 
39
39
  ### Property Details
40
40
 
41
- #### shadowRootOptions
42
-
43
-
44
-
45
- - Type: `object`
46
- - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
47
-
48
- #### type
41
+ #### ariaValueTextLoading
49
42
 
50
43
 
51
44
 
52
- - Type: [`ButtonType`](#buttontype)
45
+ - Type: `unknown`
53
46
  - Default: `-`
54
47
 
55
48
  #### autofocus
@@ -59,56 +52,60 @@ Buttons are used to perform actions, widh different visuals for different needs.
59
52
  - Type: `boolean`
60
53
  - Default: `false`
61
54
 
62
- #### variant
55
+ #### buttonClass
63
56
 
57
+ **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.
64
58
 
65
59
 
66
- - Type: [`ButtonVariant`](#buttonvariant)
60
+
61
+ - Type: `string`
67
62
  - Default: `-`
68
63
 
69
- #### quiet
64
+ #### disabled
70
65
 
71
66
 
72
67
 
73
68
  - Type: `boolean`
74
69
  - Default: `false`
75
70
 
76
- #### iconOnly
71
+ #### fullWidth
77
72
 
78
73
 
79
74
 
80
75
  - Type: `boolean`
81
76
  - Default: `false`
82
77
 
83
- #### small
78
+ #### href
84
79
 
85
80
 
86
81
 
87
- - Type: `boolean`
88
- - Default: `false`
82
+ - Type: `string`
83
+ - Default: `-`
89
84
 
90
- #### loading
85
+ #### iconOnly
91
86
 
92
87
 
93
88
 
94
89
  - Type: `boolean`
95
90
  - Default: `false`
96
91
 
97
- #### href
92
+ #### loading
98
93
 
99
94
 
100
95
 
101
- - Type: `string`
102
- - Default: `-`
96
+ - Type: `boolean`
97
+ - Default: `false`
103
98
 
104
- #### target
99
+ #### name
105
100
 
106
101
 
107
102
 
108
103
  - Type: `string`
109
104
  - Default: `-`
110
105
 
111
- #### disabled
106
+ #### quiet
107
+
108
+ **Deprecated**: Use `variant="quiet"` instead
112
109
 
113
110
 
114
111
 
@@ -122,25 +119,32 @@ Buttons are used to perform actions, widh different visuals for different needs.
122
119
  - Type: `string`
123
120
  - Default: `-`
124
121
 
125
- #### fullWidth
122
+ #### shadowRootOptions
123
+
124
+
125
+
126
+ - Type: `object`
127
+ - Default: `{ ...LitElement.shadowRootOptions, delegatesFocus: true, }`
128
+
129
+ #### small
126
130
 
127
131
 
128
132
 
129
133
  - Type: `boolean`
130
134
  - Default: `false`
131
135
 
132
- #### buttonClass
136
+ #### target
133
137
 
134
138
 
135
139
 
136
140
  - Type: `string`
137
141
  - Default: `-`
138
142
 
139
- #### name
143
+ #### type
140
144
 
141
145
 
142
146
 
143
- - Type: `string`
147
+ - Type: [`ButtonType`](#buttontype)
144
148
  - Default: `-`
145
149
 
146
150
  #### value
@@ -150,20 +154,20 @@ Buttons are used to perform actions, widh different visuals for different needs.
150
154
  - Type: `string`
151
155
  - Default: `-`
152
156
 
153
- #### ariaValueTextLoading
157
+ #### variant
154
158
 
155
159
 
156
160
 
157
- - Type: `unknown`
161
+ - Type: [`ButtonVariant`](#buttonvariant)
158
162
  - Default: `-`
159
163
 
160
164
  ### Types
161
165
 
162
166
  #### ButtonType
163
167
 
164
- `'button' | 'submit' | 'reset'`
168
+ `'button' \| 'submit' \| 'reset'`
165
169
 
166
170
  #### ButtonVariant
167
171
 
168
- `'negative' | 'primary' | 'secondary' | 'negativeQuiet' | 'utility' | 'quiet' | 'utilityQuiet' | 'overlay' | 'overlayInverted' | 'overlayQuiet' | 'overlayInvertedQuiet' | 'pill' | 'link'`
172
+ `'negative' \| 'primary' \| 'secondary' \| 'negativeQuiet' \| 'utility' \| 'quiet' \| 'utilityQuiet' \| 'overlay' \| 'overlayInverted' \| 'overlayQuiet' \| 'overlayInvertedQuiet' \| 'pill' \| 'link'`
169
173
 
@@ -4,40 +4,40 @@
4
4
 
5
5
  | Name | Type | Default | Summary |
6
6
  |-|-|-|-|
7
- | selected | `boolean` | `false` | - |
8
- | flat | `boolean` | `false` | - |
9
- | clickable | `boolean` | `false` | - |
10
7
  | buttonText | `unknown` | `-` | - |
8
+ | clickable | `boolean` | `false` | - |
9
+ | flat | `boolean` | `false` | - |
10
+ | selected | `boolean` | `false` | - |
11
11
 
12
12
  ### Property Details
13
13
 
14
- #### selected
14
+ #### buttonText
15
15
 
16
16
 
17
17
 
18
- - Type: `boolean`
19
- - Default: `false`
18
+ - Type: `unknown`
19
+ - Default: `-`
20
20
 
21
- #### flat
21
+ #### clickable
22
22
 
23
23
 
24
24
 
25
25
  - Type: `boolean`
26
26
  - Default: `false`
27
27
 
28
- #### clickable
28
+ #### flat
29
29
 
30
30
 
31
31
 
32
32
  - Type: `boolean`
33
33
  - Default: `false`
34
34
 
35
- #### buttonText
35
+ #### selected
36
36
 
37
37
 
38
38
 
39
- - Type: `unknown`
40
- - Default: `-`
39
+ - Type: `boolean`
40
+ - Default: `false`
41
41
 
42
42
  ### Types
43
43
 
@@ -18,40 +18,40 @@ Card is a layout component used for separating content areas on a page.
18
18
 
19
19
  | Name | Type | Default | Summary |
20
20
  |-|-|-|-|
21
- | selected | `boolean` | `false` | - |
22
- | flat | `boolean` | `false` | - |
23
- | clickable | `boolean` | `false` | - |
24
21
  | buttonText | `unknown` | `-` | - |
22
+ | clickable | `boolean` | `false` | - |
23
+ | flat | `boolean` | `false` | - |
24
+ | selected | `boolean` | `false` | - |
25
25
 
26
26
  ### Property Details
27
27
 
28
- #### selected
28
+ #### buttonText
29
29
 
30
30
 
31
31
 
32
- - Type: `boolean`
33
- - Default: `false`
32
+ - Type: `unknown`
33
+ - Default: `-`
34
34
 
35
- #### flat
35
+ #### clickable
36
36
 
37
37
 
38
38
 
39
39
  - Type: `boolean`
40
40
  - Default: `false`
41
41
 
42
- #### clickable
42
+ #### flat
43
43
 
44
44
 
45
45
 
46
46
  - Type: `boolean`
47
47
  - Default: `false`
48
48
 
49
- #### buttonText
49
+ #### selected
50
50
 
51
51
 
52
52
 
53
- - Type: `unknown`
54
- - Default: `-`
53
+ - Type: `boolean`
54
+ - Default: `false`
55
55
 
56
56
  ### Types
57
57