@fluentui/web-components 3.0.0-beta.70 → 3.0.0-beta.72

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 (165) hide show
  1. package/CHANGELOG.md +20 -2
  2. package/dist/dts/accordion/accordion.template.d.ts +1 -1
  3. package/dist/dts/accordion-item/accordion-item.d.ts +2 -2
  4. package/dist/dts/accordion-item/accordion-item.template.d.ts +1 -1
  5. package/dist/dts/anchor-button/anchor-button.d.ts +2 -2
  6. package/dist/dts/anchor-button/anchor-button.options.d.ts +1 -1
  7. package/dist/dts/anchor-button/anchor-button.template.d.ts +1 -1
  8. package/dist/dts/avatar/avatar.d.ts +2 -2
  9. package/dist/dts/avatar/avatar.template.d.ts +1 -1
  10. package/dist/dts/badge/badge.options.d.ts +1 -1
  11. package/dist/dts/badge/badge.template.d.ts +1 -1
  12. package/dist/dts/button/button.d.ts +1 -2
  13. package/dist/dts/button/button.options.d.ts +1 -1
  14. package/dist/dts/button/button.template.d.ts +2 -2
  15. package/dist/dts/compound-button/compound-button.options.d.ts +1 -1
  16. package/dist/dts/compound-button/compound-button.template.d.ts +1 -1
  17. package/dist/dts/counter-badge/counter-badge.options.d.ts +1 -1
  18. package/dist/dts/counter-badge/counter-badge.template.d.ts +2 -2
  19. package/dist/dts/dialog/dialog.template.d.ts +1 -1
  20. package/dist/dts/dialog-body/dialog-body.template.d.ts +1 -1
  21. package/dist/dts/divider/divider.d.ts +1 -1
  22. package/dist/dts/divider/divider.template.d.ts +1 -1
  23. package/dist/dts/drawer/drawer.template.d.ts +1 -1
  24. package/dist/dts/drawer-body/drawer-body.template.d.ts +1 -1
  25. package/dist/dts/field/field.d.ts +1 -1
  26. package/dist/dts/field/field.template.d.ts +1 -1
  27. package/dist/dts/image/image.template.d.ts +1 -1
  28. package/dist/dts/label/label.template.d.ts +2 -2
  29. package/dist/dts/link/link.d.ts +1 -1
  30. package/dist/dts/link/link.template.d.ts +1 -1
  31. package/dist/dts/menu/menu.d.ts +1 -1
  32. package/dist/dts/menu/menu.template.d.ts +1 -1
  33. package/dist/dts/menu-button/menu-button.template.d.ts +1 -1
  34. package/dist/dts/menu-item/menu-item.d.ts +1 -1
  35. package/dist/dts/menu-item/menu-item.styles.d.ts +0 -5
  36. package/dist/dts/menu-list/menu-list.template.d.ts +1 -1
  37. package/dist/dts/message-bar/message-bar.template.d.ts +1 -1
  38. package/dist/dts/patterns/start-end.d.ts +1 -1
  39. package/dist/dts/radio/radio.template.d.ts +1 -1
  40. package/dist/dts/radio-group/radio-group.template.d.ts +1 -1
  41. package/dist/dts/rating-display/rating-display.template.d.ts +1 -1
  42. package/dist/dts/slider/slider.d.ts +3 -3
  43. package/dist/dts/spinner/spinner.d.ts +1 -1
  44. package/dist/dts/spinner/spinner.template.d.ts +1 -1
  45. package/dist/dts/styles/states/index.d.ts +439 -95
  46. package/dist/dts/switch/switch.template.d.ts +2 -2
  47. package/dist/dts/tab/tab.d.ts +2 -1
  48. package/dist/dts/tab/tab.template.d.ts +1 -1
  49. package/dist/dts/tab-panel/tab-panel.template.d.ts +2 -2
  50. package/dist/dts/tablist/tablist.template.d.ts +1 -1
  51. package/dist/dts/tabs/tabs.d.ts +1 -1
  52. package/dist/dts/tabs/tabs.options.d.ts +2 -2
  53. package/dist/dts/tabs/tabs.template.d.ts +3 -3
  54. package/dist/dts/text/text.d.ts +1 -1
  55. package/dist/dts/text/text.template.d.ts +1 -1
  56. package/dist/dts/text-input/text-input.d.ts +1 -2
  57. package/dist/dts/textarea/textarea.template.d.ts +1 -1
  58. package/dist/dts/toggle-button/toggle-button.template.d.ts +1 -1
  59. package/dist/dts/utils/element-internals.d.ts +38 -1
  60. package/dist/dts/utils/template-helpers.d.ts +1 -2
  61. package/dist/esm/accordion/accordion.template.js.map +1 -1
  62. package/dist/esm/accordion-item/accordion-item.js +4 -13
  63. package/dist/esm/accordion-item/accordion-item.js.map +1 -1
  64. package/dist/esm/accordion-item/accordion-item.template.js.map +1 -1
  65. package/dist/esm/anchor-button/anchor-button.js +5 -20
  66. package/dist/esm/anchor-button/anchor-button.js.map +1 -1
  67. package/dist/esm/anchor-button/anchor-button.template.js.map +1 -1
  68. package/dist/esm/avatar/avatar.js +2 -3
  69. package/dist/esm/avatar/avatar.js.map +1 -1
  70. package/dist/esm/avatar/avatar.styles.js +32 -31
  71. package/dist/esm/avatar/avatar.styles.js.map +1 -1
  72. package/dist/esm/avatar/avatar.template.js.map +1 -1
  73. package/dist/esm/badge/badge.js +6 -27
  74. package/dist/esm/badge/badge.js.map +1 -1
  75. package/dist/esm/badge/badge.template.js.map +1 -1
  76. package/dist/esm/button/button.js +5 -20
  77. package/dist/esm/button/button.js.map +1 -1
  78. package/dist/esm/button/button.template.js.map +1 -1
  79. package/dist/esm/checkbox/checkbox.js +4 -13
  80. package/dist/esm/checkbox/checkbox.js.map +1 -1
  81. package/dist/esm/checkbox/checkbox.styles.js +1 -6
  82. package/dist/esm/checkbox/checkbox.styles.js.map +1 -1
  83. package/dist/esm/compound-button/compound-button.template.js.map +1 -1
  84. package/dist/esm/counter-badge/counter-badge.js +6 -26
  85. package/dist/esm/counter-badge/counter-badge.js.map +1 -1
  86. package/dist/esm/counter-badge/counter-badge.styles.js +1 -6
  87. package/dist/esm/counter-badge/counter-badge.styles.js.map +1 -1
  88. package/dist/esm/counter-badge/counter-badge.template.js.map +1 -1
  89. package/dist/esm/dialog/dialog.template.js.map +1 -1
  90. package/dist/esm/dialog-body/dialog-body.template.js.map +1 -1
  91. package/dist/esm/divider/divider.js +6 -21
  92. package/dist/esm/divider/divider.js.map +1 -1
  93. package/dist/esm/divider/divider.template.js.map +1 -1
  94. package/dist/esm/drawer/drawer.template.js.map +1 -1
  95. package/dist/esm/drawer-body/drawer-body.template.js.map +1 -1
  96. package/dist/esm/field/field.js.map +1 -1
  97. package/dist/esm/field/field.styles.js +1 -66
  98. package/dist/esm/field/field.styles.js.map +1 -1
  99. package/dist/esm/field/field.template.js.map +1 -1
  100. package/dist/esm/image/image.js +4 -13
  101. package/dist/esm/image/image.js.map +1 -1
  102. package/dist/esm/image/image.styles.js +8 -8
  103. package/dist/esm/image/image.styles.js.map +1 -1
  104. package/dist/esm/image/image.template.js.map +1 -1
  105. package/dist/esm/label/label.js +4 -13
  106. package/dist/esm/label/label.js.map +1 -1
  107. package/dist/esm/label/label.styles.js +4 -5
  108. package/dist/esm/label/label.styles.js.map +1 -1
  109. package/dist/esm/label/label.template.js.map +1 -1
  110. package/dist/esm/link/link.js +3 -7
  111. package/dist/esm/link/link.js.map +1 -1
  112. package/dist/esm/link/link.styles.js +3 -3
  113. package/dist/esm/link/link.styles.js.map +1 -1
  114. package/dist/esm/link/link.template.js.map +1 -1
  115. package/dist/esm/menu/menu.template.js.map +1 -1
  116. package/dist/esm/menu-button/menu-button.template.js.map +1 -1
  117. package/dist/esm/menu-item/menu-item.js.map +1 -1
  118. package/dist/esm/menu-item/menu-item.styles.js +1 -6
  119. package/dist/esm/menu-item/menu-item.styles.js.map +1 -1
  120. package/dist/esm/menu-list/menu-list.template.js.map +1 -1
  121. package/dist/esm/message-bar/message-bar.js +5 -19
  122. package/dist/esm/message-bar/message-bar.js.map +1 -1
  123. package/dist/esm/message-bar/message-bar.template.js.map +1 -1
  124. package/dist/esm/patterns/start-end.js.map +1 -1
  125. package/dist/esm/progress-bar/progress-bar.js +5 -19
  126. package/dist/esm/progress-bar/progress-bar.js.map +1 -1
  127. package/dist/esm/progress-bar/progress-bar.options.js.map +1 -1
  128. package/dist/esm/radio/radio.template.js.map +1 -1
  129. package/dist/esm/radio-group/radio-group.template.js.map +1 -1
  130. package/dist/esm/rating-display/rating-display.js +4 -9
  131. package/dist/esm/rating-display/rating-display.js.map +1 -1
  132. package/dist/esm/rating-display/rating-display.template.js.map +1 -1
  133. package/dist/esm/slider/slider.js +4 -14
  134. package/dist/esm/slider/slider.js.map +1 -1
  135. package/dist/esm/spinner/spinner.js +4 -13
  136. package/dist/esm/spinner/spinner.js.map +1 -1
  137. package/dist/esm/styles/states/index.js +437 -97
  138. package/dist/esm/styles/states/index.js.map +1 -1
  139. package/dist/esm/switch/switch.template.js.map +1 -1
  140. package/dist/esm/tab/tab.js +1 -1
  141. package/dist/esm/tab/tab.js.map +1 -1
  142. package/dist/esm/tab/tab.template.js.map +1 -1
  143. package/dist/esm/tab-panel/tab-panel.template.js.map +1 -1
  144. package/dist/esm/tablist/tablist.js +6 -22
  145. package/dist/esm/tablist/tablist.js.map +1 -1
  146. package/dist/esm/tabs/tabs.js.map +1 -1
  147. package/dist/esm/tabs/tabs.template.js.map +1 -1
  148. package/dist/esm/text/text.js +6 -25
  149. package/dist/esm/text/text.js.map +1 -1
  150. package/dist/esm/text/text.styles.js +20 -39
  151. package/dist/esm/text/text.styles.js.map +1 -1
  152. package/dist/esm/text/text.template.js.map +1 -1
  153. package/dist/esm/text-input/text-input.js +4 -14
  154. package/dist/esm/text-input/text-input.js.map +1 -1
  155. package/dist/esm/textarea/textarea.js +9 -21
  156. package/dist/esm/textarea/textarea.js.map +1 -1
  157. package/dist/esm/textarea/textarea.template.js.map +1 -1
  158. package/dist/esm/utils/element-internals.js +65 -0
  159. package/dist/esm/utils/element-internals.js.map +1 -1
  160. package/dist/esm/utils/template-helpers.js +1 -1
  161. package/dist/esm/utils/template-helpers.js.map +1 -1
  162. package/dist/web-components.d.ts +7 -7
  163. package/dist/web-components.js +431 -374
  164. package/dist/web-components.min.js +316 -316
  165. package/package.json +1 -1
@@ -1,262 +1,602 @@
1
- import { css } from '@microsoft/fast-element';
1
+ import { stateSelector } from '../../utils/element-internals.js';
2
2
  /**
3
- * Selector for the `checked` state.
3
+ * Selector for the `align-end` state.
4
4
  * @public
5
5
  */
6
- export const checkedState = css.partial `:is([state--checked], :state(checked))`;
6
+ export const alignEndState = stateSelector('align-end');
7
7
  /**
8
- * Selector for the `disabled` state.
8
+ * Selector for the `align-start` state.
9
9
  * @public
10
10
  */
11
- export const disabledState = css.partial `:is([state--disabled], :state(disabled))`;
11
+ export const alignStartState = stateSelector('align-start');
12
12
  /**
13
- * Selector for the `filled-lighter` state.
13
+ * Selector for the `anchor` state.
14
14
  * @public
15
15
  */
16
- export const filledLighterState = css.partial `:is([state--filled-lighter], :state(filled-lighter))`;
16
+ export const anchorState = stateSelector('anchor');
17
17
  /**
18
- * Selector for the `filled-darker` state.
18
+ * Selector for the `auto-resize` state.
19
19
  * @public
20
20
  */
21
- export const filledDarkerState = css.partial `:is([state--filled-darker], :state(filled-darker))`;
21
+ export const autoResizeState = stateSelector('auto-resize');
22
22
  /**
23
- * Selector for the `ghost` state.
23
+ * Selector for the `bad-input` state.
24
24
  * @public
25
25
  */
26
- export const ghostState = css.partial `:is([state--ghost], :state(ghost))`;
26
+ export const badInputState = stateSelector('bad-input');
27
27
  /**
28
- * Selector for the `inverted` state.
28
+ * Selector for the `beige` state.
29
29
  * @public
30
30
  */
31
- export const invertedState = css.partial `:is([state--inverted], :state(inverted))`;
31
+ export const beigeState = stateSelector('beige');
32
32
  /**
33
- * Selector for the `primary` state.
33
+ * Selector for the `block` state.
34
34
  * @public
35
35
  */
36
- export const primaryState = css.partial `:is([state--primary], :state(primary))`;
36
+ export const blockState = stateSelector('block');
37
37
  /**
38
- * Selector for the `outline` state.
38
+ * Selector for the `blue` state.
39
39
  * @public
40
40
  */
41
- export const outlineState = css.partial `:is([state--outline], :state(outline))`;
41
+ export const blueState = stateSelector('blue');
42
42
  /**
43
- * Selector for the `strong` state.
43
+ * Selector for the `bold` state.
44
44
  * @public
45
45
  */
46
- export const strongState = css.partial `:is([state--strong], :state(strong))`;
46
+ export const boldState = stateSelector('bold');
47
47
  /**
48
- * Selector for the `subtle` state.
48
+ * Selector for the `bordered` state.
49
49
  * @public
50
50
  */
51
- export const subtleState = css.partial `:is([state--subtle], :state(subtle))`;
51
+ export const borderedState = stateSelector('bordered');
52
52
  /**
53
- * Selector for the `tint` state.
53
+ * Selector for the `brand` state.
54
54
  * @public
55
55
  */
56
- export const tintState = css.partial `:is([state--tint], :state(tint))`;
56
+ export const brandState = stateSelector('brand');
57
57
  /**
58
- * Selector for the `underline` state.
58
+ * Selector for the `brass` state.
59
59
  * @public
60
60
  */
61
- export const underlineState = css.partial `:is([state--underline], :state(underline))`;
61
+ export const brassState = stateSelector('brass');
62
62
  /**
63
- * Selector for the `transparent` state.
63
+ * Selector for the `brown` state.
64
64
  * @public
65
65
  */
66
- export const transparentState = css.partial `:is([state--transparent], :state(transparent))`;
66
+ export const brownState = stateSelector('brown');
67
+ /**
68
+ * Selector for the `center` state.
69
+ * @public
70
+ */
71
+ export const centerState = stateSelector('center');
72
+ /**
73
+ * Selector for the `checked` state.
74
+ * @public
75
+ */
76
+ export const checkedState = stateSelector('checked');
67
77
  /**
68
78
  * Selector for the `circular` state.
69
79
  * @public
70
80
  */
71
- export const circularState = css.partial `:is([state--circular], :state(circular))`;
81
+ export const circularState = stateSelector('circular');
72
82
  /**
73
- * Selector for the `rounded` state.
83
+ * Selector for the `cornflower` state.
74
84
  * @public
75
85
  */
76
- export const roundedState = css.partial `:is([state--rounded], :state(rounded))`;
86
+ export const cornflowerState = stateSelector('cornflower');
77
87
  /**
78
- * Selector for the `square` state.
88
+ * Selector for the `cranberry` state.
79
89
  * @public
80
90
  */
81
- export const squareState = css.partial `:is([state--square], :state(square))`;
91
+ export const cranberryState = stateSelector('cranberry');
82
92
  /**
83
- * Selector for the `tiny` state.
93
+ * Selector for the `custom-error` state.
84
94
  * @public
85
95
  */
86
- export const tinyState = css.partial `:is([state--tiny], :state(tiny))`;
96
+ export const customErrorState = stateSelector('custom-error');
87
97
  /**
88
- * Selector for the `extra-small` state.
98
+ * Selector for the `danger` state.
89
99
  * @public
90
100
  */
91
- export const extraSmallState = css.partial `:is([state--extra-small], :state(extra-small))`;
101
+ export const dangerState = stateSelector('danger');
92
102
  /**
93
- * Selector for the `small` state.
103
+ * Selector for the `dark-green` state.
94
104
  * @public
95
105
  */
96
- export const smallState = css.partial `:is([state--small], :state(small))`;
106
+ export const darkGreenState = stateSelector('dark-green');
97
107
  /**
98
- * Selector for the `medium` state.
108
+ * Selector for the `dark-red` state.
99
109
  * @public
100
110
  */
101
- export const mediumState = css.partial `:is([state--medium], :state(medium))`;
111
+ export const darkRedState = stateSelector('dark-red');
102
112
  /**
103
- * Selector for the `large` state.
113
+ * Selector for the `disabled` state.
114
+ * @public
115
+ */
116
+ export const disabledState = stateSelector('disabled');
117
+ /**
118
+ * Selector for the `display-shadow` state.
119
+ * @public
120
+ */
121
+ export const displayShadowState = stateSelector('display-shadow');
122
+ /**
123
+ * Selector for the `dot` state.
124
+ * @public
125
+ */
126
+ export const dotState = stateSelector('dot');
127
+ /**
128
+ * Selector for the `end` state.
129
+ * @public
130
+ */
131
+ export const endState = stateSelector('end');
132
+ /**
133
+ * Selector for the `error` state.
104
134
  * @public
105
135
  */
106
- export const largeState = css.partial `:is([state--large], :state(large))`;
136
+ export const errorState = stateSelector('error');
137
+ /**
138
+ * Selector for the `expanded` state.
139
+ * @public
140
+ */
141
+ export const expandedState = stateSelector('expanded');
107
142
  /**
108
143
  * Selector for the `extra-large` state.
109
144
  * @public
110
145
  */
111
- export const extraLargeState = css.partial `:is([state--extra-large], :state(extra-large))`;
146
+ export const extraLargeState = stateSelector('extra-large');
112
147
  /**
113
- * Selector for the `huge` state.
148
+ * Selector for the `extra-small` state.
114
149
  * @public
115
150
  */
116
- export const hugeState = css.partial `:is([state--huge], :state(huge))`;
151
+ export const extraSmallState = stateSelector('extra-small');
117
152
  /**
118
- * Selector for the `alignment` start state.
153
+ * Selector for the `filled-darker` state.
119
154
  * @public
120
155
  */
121
- export const alignStartState = css.partial `:is([state--align-start], :state(align-start))`;
156
+ export const filledDarkerState = stateSelector('filled-darker');
122
157
  /**
123
- * Selector for the `alignment` end state.
158
+ * Selector for the `filled-lighter` state.
124
159
  * @public
125
160
  */
126
- export const alignEndState = css.partial `:is([state--align-end], :state(align-end))`;
161
+ export const filledLighterState = stateSelector('filled-lighter');
127
162
  /**
128
- * Selector for the `inset` state.
163
+ * Selector for the `fit-center` state.
129
164
  * @public
130
165
  */
131
- export const insetState = css.partial `:is([state--inset], :state(inset))`;
166
+ export const fitCenterState = stateSelector('fit-center');
132
167
  /**
133
- * Selector for the `iconOnly` state.
168
+ * Selector for the `fit-contain` state.
134
169
  * @public
135
170
  */
136
- export const iconOnlyState = css.partial `:is([state--icon], :state(icon))`;
171
+ export const fitContainState = stateSelector('fit-contain');
137
172
  /**
138
- * Selector for the `pressed` state.
173
+ * Selector for the `fit-cover` state.
139
174
  * @public
140
175
  */
141
- export const pressedState = css.partial `:is([state--pressed], :state(pressed))`;
176
+ export const fitCoverState = stateSelector('fit-cover');
142
177
  /**
143
- * Selector for the `brand` state.
178
+ * Selector for the `fit-none` state.
144
179
  * @public
145
180
  */
146
- export const brandState = css.partial `:is([state--brand], :state(brand))`;
181
+ export const fitNoneState = stateSelector('fit-none');
147
182
  /**
148
- * Selector for the `error` state.
183
+ * Selector for the `focus-visible` state.
149
184
  * @public
150
185
  */
151
- export const errorState = css.partial `:is([state--error], :state(error))`;
186
+ export const focusVisibleState = stateSelector('focus-visible');
152
187
  /**
153
- * Selector for the `danger` state.
188
+ * Selector for the `forest` state.
154
189
  * @public
155
190
  */
156
- export const dangerState = css.partial `:is([state--danger], :state(danger))`;
191
+ export const forestState = stateSelector('forest');
192
+ /**
193
+ * Selector for the `ghost` state.
194
+ * @public
195
+ */
196
+ export const ghostState = stateSelector('ghost');
197
+ /**
198
+ * Selector for the `gold` state.
199
+ * @public
200
+ */
201
+ export const goldState = stateSelector('gold');
202
+ /**
203
+ * Selector for the `grape` state.
204
+ * @public
205
+ */
206
+ export const grapeState = stateSelector('grape');
207
+ /**
208
+ * Selector for the `has-message` state.
209
+ * @public
210
+ */
211
+ export const hasMessageState = stateSelector('has-message');
212
+ /**
213
+ * Selector for the `huge` state.
214
+ * @public
215
+ */
216
+ export const hugeState = stateSelector('huge');
217
+ /**
218
+ * Selector for the `icon` state.
219
+ * @public
220
+ */
221
+ export const iconOnlyState = stateSelector('icon');
157
222
  /**
158
223
  * Selector for the `important` state.
159
224
  * @public
160
225
  */
161
- export const importantState = css.partial `:is([state--important], :state(important))`;
226
+ export const importantState = stateSelector('important');
227
+ /**
228
+ * Selector for the `indeterminate` state.
229
+ * @public
230
+ */
231
+ export const indeterminateState = stateSelector('indeterminate');
162
232
  /**
163
233
  * Selector for the `informative` state.
164
234
  * @public
165
235
  */
166
- export const informativeState = css.partial `:is([state--informative], :state(informative))`;
236
+ export const informativeState = stateSelector('informative');
237
+ /**
238
+ * Selector for the `inline` state.
239
+ * @public
240
+ */
241
+ export const inlineState = stateSelector('inline');
242
+ /**
243
+ * Selector for the `inset` state.
244
+ * @public
245
+ */
246
+ export const insetState = stateSelector('inset');
247
+ /**
248
+ * Selector for the `inverted` state.
249
+ * @public
250
+ */
251
+ export const invertedState = stateSelector('inverted');
252
+ /**
253
+ * Selector for the `italic` state.
254
+ * @public
255
+ */
256
+ export const italicState = stateSelector('italic');
257
+ /**
258
+ * Selector for the `justify` state.
259
+ * @public
260
+ */
261
+ export const justifyState = stateSelector('justify');
262
+ /**
263
+ * Selector for the `large` state.
264
+ * @public
265
+ */
266
+ export const largeState = stateSelector('large');
267
+ /**
268
+ * Selector for the `lavender` state.
269
+ * @public
270
+ */
271
+ export const lavenderState = stateSelector('lavender');
272
+ /**
273
+ * Selector for the `light-teal` state.
274
+ * @public
275
+ */
276
+ export const lightTealState = stateSelector('light-teal');
277
+ /**
278
+ * Selector for the `lilac` state.
279
+ * @public
280
+ */
281
+ export const lilacState = stateSelector('lilac');
282
+ /**
283
+ * Selector for the `magenta` state.
284
+ * @public
285
+ */
286
+ export const magentaState = stateSelector('magenta');
167
287
  /**
168
288
  * Selector for the `marigold` state.
169
289
  * @public
170
290
  */
171
- export const marigoldState = css.partial `:is([state--marigold], :state(marigold))`;
291
+ export const marigoldState = stateSelector('marigold');
292
+ /**
293
+ * Selector for the `medium` state.
294
+ * @public
295
+ */
296
+ export const mediumState = stateSelector('medium');
297
+ /**
298
+ * Selector for the `mink` state.
299
+ * @public
300
+ */
301
+ export const minkState = stateSelector('mink');
302
+ /**
303
+ * Selector for the `monospace` state.
304
+ * @public
305
+ */
306
+ export const monospaceState = stateSelector('monospace');
307
+ /**
308
+ * Selector for the `multiline` state.
309
+ * @public
310
+ */
311
+ export const multiLineState = stateSelector('multiline');
312
+ /**
313
+ * Selector for the `navy` state.
314
+ * @public
315
+ */
316
+ export const navyState = stateSelector('navy');
172
317
  /**
173
318
  * Selector for the `neutral` state.
174
319
  * @public
175
320
  */
176
- export const neutralState = css.partial `:is([state--neutral], :state(neutral))`;
321
+ export const neutralState = stateSelector('neutral');
177
322
  /**
178
- * Selector for the `severe` state.
323
+ * Selector for the `nowrap` state.
179
324
  * @public
180
325
  */
181
- export const severeState = css.partial `:is([state--severe], :state(severe))`;
326
+ export const nowrapState = stateSelector('nowrap');
182
327
  /**
183
- * Selector for the `success` state.
328
+ * Selector for the `numeric` state.
184
329
  * @public
185
330
  */
186
- export const successState = css.partial `:is([state--success], :state(success))`;
331
+ export const numericState = stateSelector('numeric');
187
332
  /**
188
- * Selector for the `warning` state.
333
+ * Selector for the `outline` state.
189
334
  * @public
190
335
  */
191
- export const warningState = css.partial `:is([state--warning], :state(warning))`;
336
+ export const outlineState = stateSelector('outline');
192
337
  /**
193
- * Selector for the `vertical` state.
338
+ * Selector for the `pattern-mismatch` state.
194
339
  * @public
195
340
  */
196
- export const verticalState = css.partial `:is([state--vertical], :state(vertical))`;
341
+ export const patternMismatchState = stateSelector('pattern-mismatch');
197
342
  /**
198
- * Selector for the `horizontal` state.
343
+ * Selector for the `peach` state.
199
344
  * @public
200
345
  */
201
- export const horizontalState = css.partial `:is([state--horizontal], :state(horizontal))`;
346
+ export const peachState = stateSelector('peach');
202
347
  /**
203
- * Selector for the `singleline` state.
348
+ * Selector for the `pink` state.
204
349
  * @public
205
350
  */
206
- export const singleLineState = css.partial `:is([state--singleline], :state(singleline))`;
351
+ export const pinkState = stateSelector('pink');
207
352
  /**
208
- * Selector for the `multiline` state.
353
+ * Selector for the `platinum` state.
209
354
  * @public
210
355
  */
211
- export const multiLineState = css.partial `:is([state--multiline], :state(multiline))`;
356
+ export const platinumState = stateSelector('platinum');
212
357
  /**
213
- * Selector for the `expanded` state.
358
+ * Selector for the `plum` state.
214
359
  * @public
215
360
  */
216
- export const expandedState = css.partial `:is([state--expanded], :state(expanded))`;
361
+ export const plumState = stateSelector('plum');
217
362
  /**
218
- * Selector for the `block` state.
363
+ * Selector for the `pressed` state.
364
+ * @public
365
+ */
366
+ export const pressedState = stateSelector('pressed');
367
+ /**
368
+ * Selector for the `primary` state.
369
+ * @public
370
+ */
371
+ export const primaryState = stateSelector('primary');
372
+ /**
373
+ * Selector for the `pumpkin` state.
374
+ * @public
375
+ */
376
+ export const pumpkinState = stateSelector('pumpkin');
377
+ /**
378
+ * Selector for the `purple` state.
379
+ * @public
380
+ */
381
+ export const purpleState = stateSelector('purple');
382
+ /**
383
+ * Selector for the `range-overflow` state.
384
+ * @public
385
+ */
386
+ export const rangeOverflowState = stateSelector('range-overflow');
387
+ /**
388
+ * Selector for the `range-underflow` state.
219
389
  * @public
220
390
  */
221
- export const blockState = css.partial `:is([state--block], :state(block))`;
391
+ export const rangeUnderflowState = stateSelector('range-underflow');
222
392
  /**
223
- * Selector for the `resize` state. This indicates the element is resizable.
393
+ * Selector for the `red` state.
224
394
  * @public
225
395
  */
226
- export const resizeState = css.partial `:is([state--resize], :state(resize))`;
396
+ export const redState = stateSelector('red');
397
+ /**
398
+ * Selector for the `resize-both` state.
399
+ * @public
400
+ */
401
+ export const resizeBothState = stateSelector('resize-both');
227
402
  /**
228
403
  * Selector for the `resize-horizontal` state.
229
404
  * @public
230
405
  */
231
- export const resizeHorizontalState = css.partial `:is([state--resize-horizontal], :state(resize-horizontal))`;
406
+ export const resizeHorizontalState = stateSelector('resize-horizontal');
232
407
  /**
233
408
  * Selector for the `resize-vertical` state.
234
409
  * @public
235
410
  */
236
- export const resizeVerticalState = css.partial `:is([state--resize-vertical], :state(resize-vertical))`;
411
+ export const resizeVerticalState = stateSelector('resize-vertical');
237
412
  /**
238
- * Selector for the `resize-both` state.
413
+ * Selector for the `rounded` state.
239
414
  * @public
240
415
  */
241
- export const resizeBothState = css.partial `:is([state--resize-both], :state(resize-both))`;
416
+ export const roundedState = stateSelector('rounded');
242
417
  /**
243
- * Selector for the `auto-resize` state.
418
+ * Selector for the `royal-blue` state.
244
419
  * @public
245
420
  */
246
- export const autoResizeState = css.partial `:is([state--auto-resize], :state(auto-resize))`;
421
+ export const royalBlueState = stateSelector('royal-blue');
247
422
  /**
248
- * Selector for the `display-shadow` state.
423
+ * Selector for the `seafoam` state.
424
+ * @public
425
+ */
426
+ export const seafoamState = stateSelector('seafoam');
427
+ /**
428
+ * Selector for the `semibold` state.
429
+ * @public
430
+ */
431
+ export const semiboldState = stateSelector('semibold');
432
+ /**
433
+ * Selector for the `severe` state.
434
+ * @public
435
+ */
436
+ export const severeState = stateSelector('severe');
437
+ /**
438
+ * Selector for the `shadow` state.
439
+ * @public
440
+ */
441
+ export const shadowState = stateSelector('shadow');
442
+ /**
443
+ * Selector for the `size1000` state.
444
+ * @public
445
+ */
446
+ export const size1000State = stateSelector('size-1000');
447
+ /**
448
+ * Selector for the `size100` state.
449
+ * @public
450
+ */
451
+ export const size100State = stateSelector('size-100');
452
+ /**
453
+ * Selector for the `size200` state.
454
+ * @public
455
+ */
456
+ export const size200State = stateSelector('size-200');
457
+ /**
458
+ * Selector for the `size400` state.
459
+ * @public
460
+ */
461
+ export const size400State = stateSelector('size-400');
462
+ /**
463
+ * Selector for the `size500` state.
464
+ * @public
465
+ */
466
+ export const size500State = stateSelector('size-500');
467
+ /**
468
+ * Selector for the `size600` state.
469
+ * @public
470
+ */
471
+ export const size600State = stateSelector('size-600');
472
+ /**
473
+ * Selector for the `size700` state.
474
+ * @public
475
+ */
476
+ export const size700State = stateSelector('size-700');
477
+ /**
478
+ * Selector for the `size800` state.
479
+ * @public
480
+ */
481
+ export const size800State = stateSelector('size-800');
482
+ /**
483
+ * Selector for the `size900` state.
484
+ * @public
485
+ */
486
+ export const size900State = stateSelector('size-900');
487
+ /**
488
+ * Selector for the `small` state.
489
+ * @public
490
+ */
491
+ export const smallState = stateSelector('small');
492
+ /**
493
+ * Selector for the `square` state.
494
+ * @public
495
+ */
496
+ export const squareState = stateSelector('square');
497
+ /**
498
+ * Selector for the `steel` state.
499
+ * @public
500
+ */
501
+ export const steelState = stateSelector('steel');
502
+ /**
503
+ * Selector for the `step-mismatch` state.
504
+ * @public
505
+ */
506
+ export const stepMismatchState = stateSelector('step-mismatch');
507
+ /**
508
+ * Selector for the `strikethrough` state.
509
+ * @public
510
+ */
511
+ export const strikethroughState = stateSelector('strikethrough');
512
+ /**
513
+ * Selector for the `strong` state.
514
+ * @public
515
+ */
516
+ export const strongState = stateSelector('strong');
517
+ /**
518
+ * Selector for the `submenu` state.
249
519
  * @public
250
520
  */
251
- export const displayShadowState = css.partial `:is([state--display-shadow], :state(display-shadow))`;
252
- /*
521
+ export const submenuState = stateSelector('submenu');
522
+ /**
523
+ * Selector for the `subtle` state.
524
+ * @public
525
+ */
526
+ export const subtleState = stateSelector('subtle');
527
+ /**
528
+ * Selector for the `success` state.
529
+ * @public
530
+ */
531
+ export const successState = stateSelector('success');
532
+ /**
533
+ * Selector for the `teal` state.
534
+ * @public
535
+ */
536
+ export const tealState = stateSelector('teal');
537
+ /**
538
+ * Selector for the `tint` state.
539
+ * @public
540
+ */
541
+ export const tintState = stateSelector('tint');
542
+ /**
543
+ * Selector for the `tiny` state.
544
+ * @public
545
+ */
546
+ export const tinyState = stateSelector('tiny');
547
+ /**
548
+ * Selector for the `too-long` state.
549
+ * @public
550
+ */
551
+ export const tooLongState = stateSelector('too-long');
552
+ /**
553
+ * Selector for the `too-short` state.
554
+ * @public
555
+ */
556
+ export const tooShortState = stateSelector('too-short');
557
+ /**
558
+ * Selector for the `transparent` state.
559
+ * @public
560
+ */
561
+ export const transparentState = stateSelector('transparent');
562
+ /**
563
+ * Selector for the `truncate` state.
564
+ * @public
565
+ */
566
+ export const truncateState = stateSelector('truncate');
567
+ /**
568
+ * Selector for the `type-mismatch` state.
569
+ * @public
570
+ */
571
+ export const typeMismatchState = stateSelector('type-mismatch');
572
+ /**
573
+ * Selector for the `underline` state.
574
+ * @public
575
+ */
576
+ export const underlineState = stateSelector('underline');
577
+ /**
253
578
  * Selector for the `user-invalid` state.
254
579
  * @public
255
580
  */
256
- export const userInvalidState = css.partial `:is([state--user-invalid], :state(user-invalid))`;
581
+ export const userInvalidState = stateSelector('user-invalid');
582
+ /**
583
+ * Selector for the `valid` state.
584
+ * @public
585
+ */
586
+ export const validState = stateSelector('valid');
257
587
  /**
258
- * Selector for the `user-valid` state.
588
+ * Selector for the `value-missing` state.
589
+ * @public
590
+ */
591
+ export const valueMissingState = stateSelector('value-missing');
592
+ /**
593
+ * Selector for the `vertical` state.
594
+ * @public
595
+ */
596
+ export const verticalState = stateSelector('vertical');
597
+ /**
598
+ * Selector for the `warning` state.
259
599
  * @public
260
600
  */
261
- export const userValidState = css.partial `:is([state--user-valid], :state(user-valid))`;
601
+ export const warningState = stateSelector('warning');
262
602
  //# sourceMappingURL=index.js.map