@wix/site-ui 1.346.0 → 1.348.0

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 (226) hide show
  1. package/dist/{6706.js → 1093.js} +3 -3
  2. package/dist/{8724.js → 1219.js} +2 -2
  3. package/dist/{7373.js → 1288.js} +8 -2
  4. package/dist/{5299.js → 1381.js} +98 -127
  5. package/dist/{3056.js → 1607.js} +32 -34
  6. package/dist/1629.js +2 -0
  7. package/dist/1669.js +75 -0
  8. package/dist/1718.js +26 -0
  9. package/dist/{1477.js → 201.js} +17 -26
  10. package/dist/2221.js +9 -0
  11. package/dist/{2445.js → 226.js} +12 -48
  12. package/dist/2387.js +7 -0
  13. package/dist/2580.js +6 -0
  14. package/dist/{1500.js → 2859.js} +10 -34
  15. package/dist/3014.js +178 -0
  16. package/dist/{6247.js → 3054.js} +3 -3
  17. package/dist/{7642.js → 3093.js} +1 -1
  18. package/dist/3189.js +5 -0
  19. package/dist/{7564.js → 331.js} +2 -2
  20. package/dist/3357.js +7 -0
  21. package/dist/{487.js → 3398.js} +38 -39
  22. package/dist/3502.js +224 -0
  23. package/dist/3695.js +50 -0
  24. package/dist/3829.js +1 -1
  25. package/dist/{6588.js → 3859.js} +115 -92
  26. package/dist/{3670.js → 3910.js} +28 -21
  27. package/dist/392.js +7 -0
  28. package/dist/{4549.js → 4155.js} +11 -3
  29. package/dist/4226.js +7 -0
  30. package/dist/{6329.js → 4229.js} +1 -1
  31. package/dist/4293.js +3 -0
  32. package/dist/4346.js +853 -2
  33. package/dist/{285.js → 4472.js} +3 -3
  34. package/dist/4605.js +207 -0
  35. package/dist/{7366.js → 488.js} +60 -7
  36. package/dist/{8750.js → 497.js} +190 -375
  37. package/dist/4989.js +35 -0
  38. package/dist/{6270.js → 510.js} +157 -196
  39. package/dist/5258.js +26 -0
  40. package/dist/{5036.js → 5275.js} +0 -3
  41. package/dist/{8171.js → 5298.js} +90 -102
  42. package/dist/5473.js +11 -0
  43. package/dist/{4745.js → 5490.js} +3 -1
  44. package/dist/{6089.js → 5561.js} +869 -786
  45. package/dist/{8996.js → 5595.js} +4 -3
  46. package/dist/5890.js +25 -0
  47. package/dist/{6046.js → 5969.js} +1 -1
  48. package/dist/5984.js +38 -0
  49. package/dist/{8527.js → 6006.js} +3 -3
  50. package/dist/6040.js +97 -0
  51. package/dist/{8758.js → 6137.js} +10 -8
  52. package/dist/{4281.js → 6140.js} +18 -10
  53. package/dist/{8960.js → 6191.js} +2 -2
  54. package/dist/6240.js +121 -0
  55. package/dist/{4490.js → 6373.js} +7 -5
  56. package/dist/{904.js → 6487.js} +19 -17
  57. package/dist/{9635.js → 6498.js} +1 -1
  58. package/dist/6499.js +4 -7
  59. package/dist/6508.js +7 -0
  60. package/dist/{8225.js → 6540.js} +1 -0
  61. package/dist/6551.js +46 -0
  62. package/dist/{9369.js → 6620.js} +35 -34
  63. package/dist/{4143.js → 6838.js} +19 -10
  64. package/dist/6902.js +48 -0
  65. package/dist/6904.js +51 -0
  66. package/dist/70.js +24 -0
  67. package/dist/7024.js +39 -0
  68. package/dist/{6882.js → 721.js} +737 -362
  69. package/dist/{951.js → 7270.js} +4 -4
  70. package/dist/{3485.js → 7323.js} +143 -111
  71. package/dist/{7541.js → 7488.js} +2 -2
  72. package/dist/{4863.js → 7542.js} +7 -6
  73. package/dist/7551.js +28 -0
  74. package/dist/{7021.js → 7640.js} +1 -1
  75. package/dist/{353.js → 7692.js} +3 -7
  76. package/dist/{4707.js → 7930.js} +2 -2
  77. package/dist/{8052.js → 8.js} +80 -64
  78. package/dist/{6914.js → 8129.js} +3 -15
  79. package/dist/{3319.js → 8358.js} +62 -63
  80. package/dist/{5864.js → 8407.js} +13 -13
  81. package/dist/8488.js +15 -0
  82. package/dist/{4768.js → 8495.js} +1 -1
  83. package/dist/8734.js +171 -0
  84. package/dist/{1763.js → 9018.js} +205 -331
  85. package/dist/9053.js +29 -0
  86. package/dist/9067.js +41 -0
  87. package/dist/{2861.js → 9120.js} +2 -2
  88. package/dist/{42.js → 9197.js} +2 -2
  89. package/dist/{9189.js → 9248.js} +36 -17
  90. package/dist/{2801.js → 9252.js} +4 -9
  91. package/dist/9295.js +7 -0
  92. package/dist/9303.js +8 -0
  93. package/dist/{167.js → 9374.js} +1 -1
  94. package/dist/{9352.js → 9540.js} +17 -47
  95. package/dist/9576.js +51 -0
  96. package/dist/{8272.js → 9591.js} +36 -46
  97. package/dist/{6107.js → 9770.js} +2 -2
  98. package/dist/{5085.js → 9880.js} +6 -3
  99. package/dist/Accordion/index.d.ts +207 -41
  100. package/dist/Accordion/index.js +75 -177
  101. package/dist/AlertDialog/index.d.ts +440 -140
  102. package/dist/AlertDialog/index.js +3 -13
  103. package/dist/Autocomplete/index.d.ts +722 -150
  104. package/dist/Autocomplete/index.js +16 -29
  105. package/dist/Avatar/index.d.ts +38 -3
  106. package/dist/Avatar/index.js +82 -28
  107. package/dist/Breadcrumbs/index.d.ts +63 -91
  108. package/dist/Breadcrumbs/index.js +1 -1
  109. package/dist/Button/index.d.ts +11 -0
  110. package/dist/Button/index.js +2 -2
  111. package/dist/Checkbox/index.d.ts +206 -36
  112. package/dist/Checkbox/index.js +293 -8
  113. package/dist/CheckboxField/index.css +1 -1
  114. package/dist/CheckboxField/index.d.ts +40 -36
  115. package/dist/CheckboxGroup/index.d.ts +50 -36
  116. package/dist/CheckboxGroup/index.js +87 -58
  117. package/dist/CheckboxGroupField/index.css +1 -1
  118. package/dist/Collapsible/index.d.ts +128 -36
  119. package/dist/Collapsible/index.js +21 -25
  120. package/dist/Combobox/index.d.ts +801 -158
  121. package/dist/Combobox/index.js +70 -114
  122. package/dist/ContextMenu/index.d.ts +1162 -195
  123. package/dist/ContextMenu/index.js +46 -36
  124. package/dist/Dialog/index.d.ts +425 -133
  125. package/dist/Dialog/index.js +8 -4
  126. package/dist/Drawer/index.d.ts +589 -144
  127. package/dist/Drawer/index.js +482 -562
  128. package/dist/Field/index.css +1 -1
  129. package/dist/Field/index.d.ts +341 -42
  130. package/dist/Field/index.js +123 -273
  131. package/dist/Fieldset/index.d.ts +11 -0
  132. package/dist/Fieldset/index.js +10 -17
  133. package/dist/Form/index.d.ts +43 -39
  134. package/dist/Form/index.js +58 -50
  135. package/dist/Input/index.css +1 -1
  136. package/dist/Input/index.d.ts +94 -42
  137. package/dist/Input/index.js +1 -1
  138. package/dist/Menu/index.d.ts +1140 -175
  139. package/dist/Menu/index.js +51 -67
  140. package/dist/Menubar/index.d.ts +651 -173
  141. package/dist/Menubar/index.js +12 -16
  142. package/dist/Meter/index.js +21 -18
  143. package/dist/NavigationMenu/index.d.ts +370 -86
  144. package/dist/NavigationMenu/index.js +144 -178
  145. package/dist/NumberField/index.css +1 -1
  146. package/dist/NumberField/index.d.ts +507 -47
  147. package/dist/NumberField/index.js +434 -718
  148. package/dist/Popover/index.d.ts +561 -142
  149. package/dist/Popover/index.js +181 -252
  150. package/dist/PreviewCard/index.d.ts +507 -143
  151. package/dist/PreviewCard/index.js +97 -151
  152. package/dist/Progress/index.d.ts +117 -3
  153. package/dist/Progress/index.js +37 -36
  154. package/dist/Radio/index.d.ts +177 -7
  155. package/dist/Radio/index.js +54 -70
  156. package/dist/RadioField/index.css +1 -1
  157. package/dist/RadioField/index.d.ts +23 -7
  158. package/dist/RadioGroup/index.d.ts +51 -37
  159. package/dist/RadioGroup/index.js +60 -51
  160. package/dist/RadioGroupField/index.css +1 -1
  161. package/dist/RadioGroupField/index.d.ts +40 -37
  162. package/dist/ScrollArea/index.d.ts +295 -1
  163. package/dist/ScrollArea/index.js +256 -324
  164. package/dist/Select/index.d.ts +516 -123
  165. package/dist/Select/index.js +513 -635
  166. package/dist/SelectField/index.css +1 -1
  167. package/dist/SelectField/index.d.ts +109 -134
  168. package/dist/SelectField/index.js +5 -1
  169. package/dist/Separator/index.d.ts +12 -0
  170. package/dist/Separator/index.js +1 -1
  171. package/dist/Slider/index.d.ts +383 -64
  172. package/dist/Slider/index.js +298 -374
  173. package/dist/Switch/index.d.ts +184 -37
  174. package/dist/Switch/index.js +44 -58
  175. package/dist/Tabs/index.d.ts +220 -35
  176. package/dist/Tabs/index.js +199 -193
  177. package/dist/Toast/index.d.ts +280 -64
  178. package/dist/Toast/index.js +299 -374
  179. package/dist/Toggle/index.d.ts +55 -35
  180. package/dist/Toggle/index.js +19 -13
  181. package/dist/ToggleGroup/index.d.ts +62 -35
  182. package/dist/ToggleGroup/index.js +13 -31
  183. package/dist/Toolbar/index.d.ts +117 -2
  184. package/dist/Toolbar/index.js +31 -43
  185. package/dist/Tooltip/index.d.ts +507 -150
  186. package/dist/Tooltip/index.js +163 -213
  187. package/dist/index.d.ts +12912 -5382
  188. package/package.json +3 -3
  189. package/dist/2205.js +0 -26
  190. package/dist/2274.js +0 -34
  191. package/dist/2287.js +0 -17
  192. package/dist/3020.js +0 -7
  193. package/dist/3021.js +0 -72
  194. package/dist/3140.js +0 -4
  195. package/dist/3248.js +0 -307
  196. package/dist/4026.js +0 -12
  197. package/dist/4922.js +0 -15
  198. package/dist/5659.js +0 -4
  199. package/dist/5992.js +0 -447
  200. package/dist/6330.js +0 -30
  201. package/dist/6535.js +0 -72
  202. package/dist/6917.js +0 -55
  203. package/dist/7725.js +0 -10
  204. package/dist/7871.js +0 -38
  205. package/dist/8106.js +0 -239
  206. package/dist/8685.js +0 -102
  207. package/dist/8935.js +0 -8
  208. package/dist/8971.js +0 -40
  209. package/dist/8979.js +0 -10
  210. package/dist/9048.js +0 -52
  211. package/dist/9087.js +0 -256
  212. package/dist/9255.js +0 -136
  213. /package/dist/{1457.js → 1068.js} +0 -0
  214. /package/dist/{6003.js → 1234.js} +0 -0
  215. /package/dist/{4723.js → 1282.js} +0 -0
  216. /package/dist/{6825.js → 1876.js} +0 -0
  217. /package/dist/{5778.js → 1885.js} +0 -0
  218. /package/dist/{2445.js.LICENSE.txt → 226.js.LICENSE.txt} +0 -0
  219. /package/dist/{1279.js → 3278.js} +0 -0
  220. /package/dist/{3296.js → 5568.js} +0 -0
  221. /package/dist/{8685.css → 6240.css} +0 -0
  222. /package/dist/{9829.js → 6488.js} +0 -0
  223. /package/dist/{9863.js → 6534.js} +0 -0
  224. /package/dist/{4495.js → 7718.js} +0 -0
  225. /package/dist/{3395.js → 8866.js} +0 -0
  226. /package/dist/{2418.js → 9837.js} +0 -0
@@ -1,7 +1,7 @@
1
1
  import type { InteractionType } from '@base-ui/utils/useEnhancedClickHandler';
2
2
  import { Padding } from '@floating-ui/react-dom';
3
3
  import * as React_2 from 'react';
4
- import { Rect } from '@floating-ui/utils';
4
+ import type { Rect } from '@floating-ui/utils';
5
5
  import { SelectArrowProps as SelectArrowProps_2 } from '@base-ui/react';
6
6
  import { SelectBackdropProps as SelectBackdropProps_2 } from '@base-ui/react';
7
7
  import { SelectGroupLabelProps as SelectGroupLabelProps_2 } from '@base-ui/react';
@@ -17,13 +17,60 @@ import { SelectPortalProps as SelectPortalProps_2 } from '@base-ui/react';
17
17
  import { SelectPositionerProps as SelectPositionerProps_2 } from '@base-ui/react';
18
18
  import { SelectScrollDownArrowProps as SelectScrollDownArrowProps_2 } from '@base-ui/react';
19
19
  import { SelectScrollUpArrowProps as SelectScrollUpArrowProps_2 } from '@base-ui/react';
20
+ import { SelectSeparatorProps as SelectSeparatorProps_2 } from '@base-ui/react';
20
21
  import { SelectTriggerProps as SelectTriggerProps_2 } from '@base-ui/react';
21
22
  import { SelectValueProps as SelectValueProps_2 } from '@base-ui/react';
22
- import { SeparatorProps as SeparatorProps_2 } from '@base-ui/react';
23
23
  import { VirtualElement } from '@floating-ui/react-dom';
24
24
 
25
25
  declare type Align = 'start' | 'center' | 'end';
26
26
 
27
+ /**
28
+ * Indicates how the popup is aligned relative to specified side.
29
+ * @type {'start' | 'center' | 'end'}
30
+ */
31
+ declare const align = "data-align";
32
+
33
+ /**
34
+ * Indicates how the popup is aligned relative to specified side.
35
+ * @type {'start' | 'center' | 'end'}
36
+ */
37
+ declare const align_2 = "data-align";
38
+
39
+ /**
40
+ * Indicates how the popup is aligned relative to specified side.
41
+ * @type {'start' | 'center' | 'end'}
42
+ */
43
+ declare const align_3 = "data-align";
44
+
45
+ /**
46
+ * The anchor's height.
47
+ * @type {number}
48
+ */
49
+ declare const anchorHeight = "--anchor-height";
50
+
51
+ /**
52
+ * Present when the anchor is hidden.
53
+ */
54
+ declare const anchorHidden = "data-anchor-hidden";
55
+
56
+ /**
57
+ * The anchor's width.
58
+ * @type {number}
59
+ */
60
+ declare const anchorWidth = "--anchor-width";
61
+
62
+ /**
63
+ * The available height between the trigger and the edge of the viewport.
64
+ * @type {number}
65
+ */
66
+ declare const availableHeight = "--available-height";
67
+
68
+ /**
69
+ * The available width between the trigger and the edge of the viewport.
70
+ * @type {number}
71
+ */
72
+ declare const availableWidth = "--available-width";
73
+
27
74
  declare type BaseUIChangeEventDetail<Reason extends string, CustomProperties extends object> = {
28
75
  /**
29
76
  * The reason for the event.
@@ -107,15 +154,35 @@ declare type BaseUIGenericEventDetails<Reason extends string, CustomProperties e
107
154
 
108
155
  declare type Boundary = 'clipping-ancestors' | Element | Element[] | Rect;
109
156
 
110
- declare const cancelOpen: "cancel-open";
157
+ declare const cancelOpen: 'cancel-open';
111
158
 
112
- declare const chipRemovePress: "chip-remove-press";
159
+ declare const chipRemovePress: 'chip-remove-press';
113
160
 
114
- declare const clearPress: "clear-press";
161
+ declare const clearPress: 'clear-press';
115
162
 
116
- declare const closePress: "close-press";
163
+ /**
164
+ * Present when the select is closed.
165
+ */
166
+ declare const closed_2 = "data-closed";
117
167
 
118
- declare const closeWatcher: "close-watcher";
168
+ /**
169
+ * Present when the select popup is closed.
170
+ */
171
+ declare const closed_3 = "data-closed";
172
+
173
+ /**
174
+ * Present when the select is closed.
175
+ */
176
+ declare const closed_4 = "data-closed";
177
+
178
+ /**
179
+ * Present when the select popup is closed.
180
+ */
181
+ declare const closed_5 = "data-closed";
182
+
183
+ declare const closePress: 'close-press';
184
+
185
+ declare const closeWatcher: 'close-watcher';
119
186
 
120
187
  declare type CollisionAvoidance = SideFlipMode | SideShiftMode;
121
188
 
@@ -127,15 +194,67 @@ declare type CollisionAvoidance = SideFlipMode | SideShiftMode;
127
194
  */
128
195
  declare type ComponentRenderFn<Props, State> = (props: Props, state: State) => React_2.ReactElement<unknown>;
129
196
 
130
- declare const decrementPress: "decrement-press";
197
+ declare const decrementPress: 'decrement-press';
198
+
199
+ /**
200
+ * Indicates the direction of the scroll arrow.
201
+ * @type {'down'}
202
+ */
203
+ declare const direction = "data-direction";
131
204
 
132
- declare const disabled: "disabled";
205
+ /**
206
+ * Indicates the direction of the scroll arrow.
207
+ * @type {'up'}
208
+ */
209
+ declare const direction_2 = "data-direction";
210
+
211
+ /**
212
+ * Present when the select's value has changed (when wrapped in Field.Root).
213
+ */
214
+ declare const dirty = "data-dirty";
215
+
216
+ declare const disabled: 'disabled';
217
+
218
+ /**
219
+ * Present when the select is disabled.
220
+ */
221
+ declare const disabled_2 = "data-disabled";
222
+
223
+ /**
224
+ * Present when the select item is disabled.
225
+ */
226
+ declare const disabled_3 = "data-disabled";
133
227
 
134
- declare const drag: "drag";
228
+ declare const drag: 'drag';
229
+
230
+ /**
231
+ * Present when the select is animating out.
232
+ */
233
+ declare const endingStyle = "data-ending-style";
234
+
235
+ /**
236
+ * Present when the select is animating out.
237
+ */
238
+ declare const endingStyle_2 = "data-ending-style";
239
+
240
+ /**
241
+ * Present when the indicator is animating out.
242
+ */
243
+ declare const endingStyle_3 = "data-ending-style";
244
+
245
+ /**
246
+ * Present when the scroll arrow is animating out.
247
+ */
248
+ declare const endingStyle_4 = "data-ending-style";
249
+
250
+ /**
251
+ * Present when the scroll arrow is animating out.
252
+ */
253
+ declare const endingStyle_5 = "data-ending-style";
135
254
 
136
255
  declare type Errors = Record<string, string | string[]>;
137
256
 
138
- declare const escapeKey: "escape-key";
257
+ declare const escapeKey: 'escape-key';
139
258
 
140
259
  /**
141
260
  * Groups all parts of the field.
@@ -169,11 +288,12 @@ declare interface FieldRootProps extends BaseUIComponentProps<'div', FieldRootSt
169
288
  name?: string | undefined;
170
289
  /**
171
290
  * A function for custom validation. Return a string or an array of strings with
172
- * the error message(s) if the value is invalid, or `null` if the value is valid.
291
+ * the error message(s) if the value is invalid. Returning nothing, `null`, an empty
292
+ * string, or an empty array means the value is valid.
173
293
  * Asynchronous functions are supported, but they do not prevent form submission
174
294
  * when using `validationMode="onSubmit"`.
175
295
  */
176
- validate?: ((value: unknown, formValues: Form.Values) => string | string[] | null | Promise<string | string[] | null>) | undefined;
296
+ validate?: ((value: unknown, formValues: Form.Values) => string | string[] | null | void | Promise<string | string[] | null | void>) | undefined;
177
297
  /**
178
298
  * Determines when the field should be validated.
179
299
  * This takes precedence over the `validationMode` prop on `<Form>`.
@@ -261,31 +381,16 @@ declare interface FieldValidityData {
261
381
  }
262
382
 
263
383
  /**
264
- * Portals the floating element into a given container element — by default,
265
- * outside of the app root and into the body.
266
- * This is necessary to ensure the floating element can appear outside any
267
- * potential parent containers that cause clipping (such as `overflow: hidden`),
268
- * while retaining its location in the React tree.
269
- * @see https://floating-ui.com/docs/FloatingPortal
270
- * @internal
384
+ * Present when the select has a value (when wrapped in Field.Root).
271
385
  */
272
- declare const FloatingPortal: React_2.ForwardRefExoticComponent<Omit<FloatingPortal.Props<any> & {
273
- renderGuards?: boolean | undefined;
274
- }, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
275
-
276
- declare namespace FloatingPortal {
277
- type State = FloatingPortalState;
278
- interface Props<TState> extends BaseUIComponentProps<'div', TState> {
279
- /**
280
- * A parent element to render the portal element into.
281
- */
282
- container?: UseFloatingPortalNodeProps['container'] | undefined;
283
- }
284
- }
386
+ declare const filled = "data-filled";
285
387
 
286
- declare interface FloatingPortalState {}
388
+ /**
389
+ * Present when the select trigger is focused (when wrapped in Field.Root).
390
+ */
391
+ declare const focused = "data-focused";
287
392
 
288
- declare const focusOut: "focus-out";
393
+ declare const focusOut: 'focus-out';
289
394
 
290
395
  /**
291
396
  * A native form element with consolidated error handling.
@@ -316,6 +421,7 @@ declare interface FormActions {
316
421
  declare interface FormContext {
317
422
  errors: Errors;
318
423
  clearErrors: (name: string | undefined) => void;
424
+ elementRef: React_2.RefObject<HTMLFormElement | null>;
319
425
  formRef: React_2.RefObject<{
320
426
  fields: Map<string, {
321
427
  name: string | undefined;
@@ -330,12 +436,12 @@ declare interface FormContext {
330
436
  }>;
331
437
  }>;
332
438
  validationMode: Form.ValidationMode;
333
- submitAttemptedRef: React_2.RefObject<boolean>;
439
+ submitCountRef: React_2.RefObject<number>;
334
440
  }
335
441
 
336
442
  declare const FormContext: React_2.Context<FormContext>;
337
443
 
338
- declare interface FormProps<FormValues extends Record<string, any> = Record<string, any>> extends BaseUIComponentProps<'form', FormState> {
444
+ declare interface FormProps<FormValues extends Record<string, any> = Record<string, any>> extends BaseUIComponentProps<'form', FormState, React_2.ComponentPropsWithRef<'form'>> {
339
445
  /**
340
446
  * Determines when the form should be validated.
341
447
  * The `validationMode` prop on `<Field.Root>` takes precedence over this.
@@ -364,10 +470,10 @@ declare interface FormProps<FormValues extends Record<string, any> = Record<stri
364
470
  * @example
365
471
  * ```tsx
366
472
  * // validate all fields
367
- * actionsRef.current.validate();
473
+ * actionsRef.current?.validate();
368
474
  *
369
475
  * // validate one field
370
- * actionsRef.current.validate('email');
476
+ * actionsRef.current?.validate('email');
371
477
  * ```
372
478
  */
373
479
  actionsRef?: React_2.RefObject<Form.Actions | null> | undefined;
@@ -386,35 +492,45 @@ declare interface Group<Item = any> {
386
492
  items: ReadonlyArray<Item>;
387
493
  }
388
494
 
495
+ /**
496
+ * Present when the select item is highlighted.
497
+ */
498
+ declare const highlighted = "data-highlighted";
499
+
389
500
  declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
390
501
  ref?: React_2.Ref<T> | undefined;
391
502
  };
392
503
 
393
- declare const imperativeAction: "imperative-action";
504
+ declare const imperativeAction: 'imperative-action';
394
505
 
395
- declare const incrementPress: "increment-press";
506
+ declare const incrementPress: 'increment-press';
396
507
 
397
- declare const initial: "initial";
508
+ declare const initial: 'initial';
398
509
 
399
- declare const inputBlur: "input-blur";
510
+ declare const inputBlur: 'input-blur';
400
511
 
401
- declare const inputChange: "input-change";
512
+ declare const inputChange: 'input-change';
402
513
 
403
- declare const inputClear: "input-clear";
514
+ declare const inputClear: 'input-clear';
404
515
 
405
- declare const inputPaste: "input-paste";
516
+ declare const inputPaste: 'input-paste';
406
517
 
407
- declare const inputPress: "input-press";
518
+ declare const inputPress: 'input-press';
408
519
 
409
- declare const itemPress: "item-press";
520
+ /**
521
+ * Present when the select is in an invalid state (when wrapped in Field.Root).
522
+ */
523
+ declare const invalid = "data-invalid";
410
524
 
411
- declare const keyboard: "keyboard";
525
+ declare const itemPress: 'item-press';
412
526
 
413
- declare const linkPress: "link-press";
527
+ declare const keyboard: 'keyboard';
414
528
 
415
- declare const listNavigation: "list-navigation";
529
+ declare const linkPress: 'link-press';
416
530
 
417
- declare const missing: "missing";
531
+ declare const listNavigation: 'list-navigation';
532
+
533
+ declare const missing: 'missing';
418
534
 
419
535
  declare interface NativeButtonProps {
420
536
  /**
@@ -426,7 +542,7 @@ declare interface NativeButtonProps {
426
542
  nativeButton?: boolean | undefined;
427
543
  }
428
544
 
429
- declare const none: "none";
545
+ declare const none: 'none';
430
546
 
431
547
  declare interface NonNativeButtonProps {
432
548
  /**
@@ -451,11 +567,75 @@ declare type OffsetFunction = (data: {
451
567
  };
452
568
  }) => number;
453
569
 
570
+ /**
571
+ * Present when the select is open.
572
+ */
573
+ declare const open_2 = "data-open";
574
+
575
+ /**
576
+ * Present when the select popup is open.
577
+ */
578
+ declare const open_3 = "data-open";
579
+
580
+ /**
581
+ * Present when the select is open.
582
+ */
583
+ declare const open_4 = "data-open";
584
+
585
+ /**
586
+ * Present when the select popup is open.
587
+ */
588
+ declare const open_5 = "data-open";
589
+
454
590
  declare type Orientation = 'horizontal' | 'vertical';
455
591
 
456
- declare const outsidePress: "outside-press";
592
+ /**
593
+ * Indicates the orientation of the separator.
594
+ * @type {'horizontal' | 'vertical'}
595
+ */
596
+ declare const orientation_2 = "data-orientation";
457
597
 
458
- declare const pointer: "pointer";
598
+ declare const outsidePress: 'outside-press';
599
+
600
+ /**
601
+ * Present when the select doesn't have a value.
602
+ */
603
+ declare const placeholder = "data-placeholder";
604
+
605
+ /**
606
+ * Present when the select doesn't have a value.
607
+ */
608
+ declare const placeholder_2 = "data-placeholder";
609
+
610
+ declare const pointer: 'pointer';
611
+
612
+ declare const popupClose: 'popup-close';
613
+
614
+ /**
615
+ * Present when the corresponding select is open.
616
+ */
617
+ declare const popupOpen = "data-popup-open";
618
+
619
+ /**
620
+ * Present when the corresponding popup is open.
621
+ */
622
+ declare const popupOpen_2 = "data-popup-open";
623
+
624
+ /**
625
+ * Indicates which side the corresponding popup is positioned relative to its anchor.
626
+ * @type {'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start' | null}
627
+ */
628
+ declare const popupSide = "data-popup-side";
629
+
630
+ /**
631
+ * Present when the trigger is pressed.
632
+ */
633
+ declare const pressed = "data-pressed";
634
+
635
+ /**
636
+ * Present when the select is readonly.
637
+ */
638
+ declare const readonly = "data-readonly";
459
639
 
460
640
  declare namespace REASONS {
461
641
  export {
@@ -486,6 +666,7 @@ declare namespace REASONS {
486
666
  drag,
487
667
  wheel,
488
668
  scrub,
669
+ popupClose,
489
670
  cancelOpen,
490
671
  siblingOpen,
491
672
  disabled,
@@ -540,7 +721,12 @@ declare interface ReasonToEventMap {
540
721
  [REASONS.windowResize]: UIEvent;
541
722
  }
542
723
 
543
- declare const scrub: "scrub";
724
+ /**
725
+ * Present when the select is required.
726
+ */
727
+ declare const required = "data-required";
728
+
729
+ declare const scrub: 'scrub';
544
730
 
545
731
  export declare const Select: {
546
732
  Root: typeof Select_2.Root;
@@ -593,7 +779,7 @@ export declare const Select: {
593
779
  GroupLabel: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<SelectGroupLabelProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
594
780
  className?: string;
595
781
  } & React_2.RefAttributes<HTMLDivElement>>;
596
- Separator: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<SeparatorProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
782
+ Separator: React_2.ForwardRefExoticComponent<Omit<Omit<SelectSeparatorProps_2 & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
597
783
  className?: string;
598
784
  } & React_2.RefAttributes<HTMLDivElement>>;
599
785
  };
@@ -618,7 +804,7 @@ export declare namespace Select_2 {
618
804
  SelectScrollUpArrow as ScrollUpArrow,
619
805
  SelectGroup as Group,
620
806
  SelectGroupLabel as GroupLabel,
621
- Separator
807
+ SelectSeparator as Separator
622
808
  }
623
809
  }
624
810
 
@@ -635,6 +821,16 @@ export declare namespace SelectArrow {
635
821
  export type Props = SelectArrowProps;
636
822
  }
637
823
 
824
+ export declare namespace SelectArrowDataAttributes {
825
+ export {
826
+ open_5 as open,
827
+ closed_5 as closed,
828
+ side_3 as side,
829
+ align_3 as align,
830
+ uncentered
831
+ }
832
+ }
833
+
638
834
  export declare interface SelectArrowProps extends BaseUIComponentProps<'div', SelectArrowState> {}
639
835
 
640
836
  export declare interface SelectArrowState {
@@ -657,7 +853,7 @@ export declare interface SelectArrowState {
657
853
  }
658
854
 
659
855
  /**
660
- * An overlay displayed beneath the menu popup.
856
+ * An overlay displayed beneath the select popup.
661
857
  * Renders a `<div>` element.
662
858
  *
663
859
  * Documentation: [Base UI Select](https://base-ui.com/react/components/select)
@@ -669,6 +865,15 @@ export declare namespace SelectBackdrop {
669
865
  export type Props = SelectBackdropProps;
670
866
  }
671
867
 
868
+ export declare namespace SelectBackdropDataAttributes {
869
+ export {
870
+ open_2 as open,
871
+ closed_2 as closed,
872
+ startingStyle,
873
+ endingStyle
874
+ }
875
+ }
876
+
672
877
  export declare interface SelectBackdropProps extends BaseUIComponentProps<'div', SelectBackdropState> {}
673
878
 
674
879
  export declare interface SelectBackdropState {
@@ -682,6 +887,11 @@ export declare interface SelectBackdropState {
682
887
  transitionStatus: TransitionStatus;
683
888
  }
684
889
 
890
+ /**
891
+ * Present when the select item is selected.
892
+ */
893
+ declare const selected = "data-selected";
894
+
685
895
  /**
686
896
  * Groups related select items with the corresponding label.
687
897
  * Renders a `<div>` element.
@@ -729,6 +939,12 @@ export declare namespace SelectIcon {
729
939
  export type Props = SelectIconProps;
730
940
  }
731
941
 
942
+ export declare namespace SelectIconDataAttributes {
943
+ export {
944
+ popupOpen_2 as popupOpen
945
+ }
946
+ }
947
+
732
948
  export declare interface SelectIconProps extends BaseUIComponentProps<'span', SelectIconState> {}
733
949
 
734
950
  export declare interface SelectIconState {
@@ -738,6 +954,8 @@ export declare interface SelectIconState {
738
954
  open: boolean;
739
955
  }
740
956
 
957
+ declare type SelectInputValue<Value, Multiple extends boolean | undefined> = Multiple extends true ? readonly Value[] : Value;
958
+
741
959
  /**
742
960
  * An individual option in the select popup.
743
961
  * Renders a `<div>` element.
@@ -751,6 +969,14 @@ export declare namespace SelectItem {
751
969
  export type Props = SelectItemProps;
752
970
  }
753
971
 
972
+ export declare namespace SelectItemDataAttributes {
973
+ export {
974
+ selected,
975
+ highlighted,
976
+ disabled_3 as disabled
977
+ }
978
+ }
979
+
754
980
  /**
755
981
  * Indicates whether the select item is selected.
756
982
  * Renders a `<span>` element.
@@ -764,6 +990,13 @@ export declare namespace SelectItemIndicator {
764
990
  export type Props = SelectItemIndicatorProps;
765
991
  }
766
992
 
993
+ export declare namespace SelectItemIndicatorDataAttributes {
994
+ export {
995
+ startingStyle_3 as startingStyle,
996
+ endingStyle_3 as endingStyle
997
+ }
998
+ }
999
+
767
1000
  export declare interface SelectItemIndicatorProps extends BaseUIComponentProps<'span', SelectItemIndicatorState> {
768
1001
  children?: React_2.ReactNode;
769
1002
  /**
@@ -869,6 +1102,8 @@ export declare interface SelectListProps extends BaseUIComponentProps<'div', Sel
869
1102
 
870
1103
  export declare interface SelectListState {}
871
1104
 
1105
+ declare type SelectOutputValue<Value, Multiple extends boolean | undefined> = Multiple extends true ? Value[] : Value;
1106
+
872
1107
  /**
873
1108
  * A container for the select list.
874
1109
  * Renders a `<div>` element.
@@ -882,6 +1117,17 @@ export declare namespace SelectPopup {
882
1117
  export type State = SelectPopupState;
883
1118
  }
884
1119
 
1120
+ export declare namespace SelectPopupDataAttributes {
1121
+ export {
1122
+ open_4 as open,
1123
+ closed_4 as closed,
1124
+ startingStyle_2 as startingStyle,
1125
+ endingStyle_2 as endingStyle,
1126
+ side_2 as side,
1127
+ align_2 as align
1128
+ }
1129
+ }
1130
+
885
1131
  export declare interface SelectPopupProps extends BaseUIComponentProps<'div', SelectPopupState> {
886
1132
  children?: React_2.ReactNode;
887
1133
  /**
@@ -929,7 +1175,12 @@ export declare namespace SelectPortal {
929
1175
  export type Props = SelectPortalProps;
930
1176
  }
931
1177
 
932
- export declare interface SelectPortalProps extends FloatingPortal.Props<SelectPortalState> {}
1178
+ export declare interface SelectPortalProps extends BaseUIComponentProps<'div', SelectPortalState> {
1179
+ /**
1180
+ * A parent element to render the portal element into.
1181
+ */
1182
+ container?: HTMLElement | ShadowRoot | React_2.RefObject<HTMLElement | ShadowRoot | null> | null | undefined;
1183
+ }
933
1184
 
934
1185
  export declare interface SelectPortalState {}
935
1186
 
@@ -946,6 +1197,26 @@ export declare namespace SelectPositioner {
946
1197
  export type Props = SelectPositionerProps;
947
1198
  }
948
1199
 
1200
+ export declare namespace SelectPositionerCssVariables {
1201
+ export {
1202
+ availableWidth,
1203
+ availableHeight,
1204
+ anchorWidth,
1205
+ anchorHeight,
1206
+ transformOrigin
1207
+ }
1208
+ }
1209
+
1210
+ export declare namespace SelectPositionerDataAttributes {
1211
+ export {
1212
+ open_3 as open,
1213
+ closed_3 as closed,
1214
+ anchorHidden,
1215
+ side,
1216
+ align
1217
+ }
1218
+ }
1219
+
949
1220
  export declare interface SelectPositionerProps extends UseAnchorPositioningSharedParameters, BaseUIComponentProps<'div', SelectPositionerState> {
950
1221
  /**
951
1222
  * Whether the positioner overlaps the trigger so the selected item's text is aligned with the trigger's value text. This only applies to mouse input and is automatically disabled if there is not enough space.
@@ -987,15 +1258,22 @@ export declare namespace SelectRoot {
987
1258
  export type Actions = SelectRootActions;
988
1259
  export type ChangeEventReason = SelectRootChangeEventReason;
989
1260
  export type ChangeEventDetails = SelectRootChangeEventDetails;
1261
+ export type OpenChangeEventDetails = SelectRootOpenChangeEventDetails;
990
1262
  }
991
1263
 
992
1264
  export declare interface SelectRootActions {
993
1265
  unmount: () => void;
1266
+ close: () => void;
994
1267
  }
995
1268
 
996
1269
  export declare type SelectRootChangeEventDetails = BaseUIChangeEventDetails<SelectRootChangeEventReason>;
997
1270
 
998
- export declare type SelectRootChangeEventReason = typeof REASONS.triggerPress | typeof REASONS.outsidePress | typeof REASONS.escapeKey | typeof REASONS.windowResize | typeof REASONS.itemPress | typeof REASONS.focusOut | typeof REASONS.listNavigation | typeof REASONS.cancelOpen | typeof REASONS.none;
1271
+ export declare type SelectRootChangeEventReason = typeof REASONS.triggerPress | typeof REASONS.outsidePress | typeof REASONS.escapeKey | typeof REASONS.windowResize | typeof REASONS.itemPress | typeof REASONS.focusOut | typeof REASONS.listNavigation | typeof REASONS.cancelOpen | typeof REASONS.imperativeAction | typeof REASONS.none;
1272
+
1273
+ export declare type SelectRootOpenChangeEventDetails = SelectRootChangeEventDetails & {
1274
+ /** Prevents the popup from unmounting until the `unmount` action is called. */
1275
+ preventUnmountOnClose: () => void;
1276
+ };
999
1277
 
1000
1278
  export declare interface SelectRootProps<Value, Multiple extends boolean | undefined = false> {
1001
1279
  children?: React_2.ReactNode;
@@ -1057,7 +1335,7 @@ export declare interface SelectRootProps<Value, Multiple extends boolean | undef
1057
1335
  /**
1058
1336
  * Event handler called when the select popup is opened or closed.
1059
1337
  */
1060
- onOpenChange?: ((open: boolean, eventDetails: SelectRootChangeEventDetails) => void) | undefined;
1338
+ onOpenChange?: ((open: boolean, eventDetails: SelectRootOpenChangeEventDetails) => void) | undefined;
1061
1339
  /**
1062
1340
  * Event handler called after any animations complete when the select popup is opened or closed.
1063
1341
  */
@@ -1070,14 +1348,17 @@ export declare interface SelectRootProps<Value, Multiple extends boolean | undef
1070
1348
  * Determines if the select enters a modal state when open.
1071
1349
  * - `true`: user interaction is limited to the select: document page scroll is locked and pointer interactions on outside elements are disabled.
1072
1350
  * - `false`: user interaction with the rest of the document is allowed.
1351
+ *
1352
+ * On touch devices, a `true` modal blocks outside taps but leaves the page scrollable unless the popup spans nearly the full viewport width, matching native iOS behavior.
1073
1353
  * @default true
1074
1354
  */
1075
1355
  modal?: boolean | undefined;
1076
1356
  /**
1077
1357
  * A ref to imperative actions.
1078
- * - `unmount`: When specified, the select will not be unmounted when closed.
1079
- * Instead, the `unmount` function must be called to unmount the select manually.
1080
- * Useful when the select's animation is controlled by an external library.
1358
+ * - `unmount`: Ends the closing phase of the select after an externally controlled closing animation finishes.
1359
+ * Call `preventUnmountOnClose()` in `onOpenChange` first, otherwise the select completes closing on its own.
1360
+ * Whether it leaves the DOM is decided by `keepMounted` on the portal.
1361
+ * - `close`: Closes the select imperatively when called.
1081
1362
  */
1082
1363
  actionsRef?: React_2.RefObject<SelectRootActions | null> | undefined;
1083
1364
  /**
@@ -1118,15 +1399,15 @@ export declare interface SelectRootProps<Value, Multiple extends boolean | undef
1118
1399
  *
1119
1400
  * To render a controlled select, use the `value` prop instead.
1120
1401
  */
1121
- defaultValue?: SelectValueType<Value, Multiple> | null | undefined;
1402
+ defaultValue?: SelectInputValue<Value, Multiple> | null | undefined;
1122
1403
  /**
1123
1404
  * The value of the select. Use when controlled.
1124
1405
  */
1125
- value?: SelectValueType<Value, Multiple> | null | undefined;
1406
+ value?: SelectInputValue<Value, Multiple> | null | undefined;
1126
1407
  /**
1127
1408
  * Event handler called when the value of the select changes.
1128
1409
  */
1129
- onValueChange?: ((value: SelectValueType<Value, Multiple> | (Multiple extends true ? never : null), eventDetails: SelectRootChangeEventDetails) => void) | undefined;
1410
+ onValueChange?: ((value: SelectOutputValue<Value, Multiple> | (Multiple extends true ? never : null), eventDetails: SelectRootChangeEventDetails) => void) | undefined;
1130
1411
  }
1131
1412
 
1132
1413
  export declare interface SelectRootState {}
@@ -1144,6 +1425,16 @@ export declare namespace SelectScrollDownArrow {
1144
1425
  export type Props = SelectScrollDownArrowProps;
1145
1426
  }
1146
1427
 
1428
+ export declare namespace SelectScrollDownArrowDataAttributes {
1429
+ export {
1430
+ startingStyle_4 as startingStyle,
1431
+ endingStyle_4 as endingStyle,
1432
+ direction,
1433
+ visible,
1434
+ side_4 as side
1435
+ }
1436
+ }
1437
+
1147
1438
  export declare interface SelectScrollDownArrowProps extends BaseUIComponentProps<'div', SelectScrollDownArrowState> {
1148
1439
  /**
1149
1440
  * Whether to keep the HTML element in the DOM while the select popup is not scrollable.
@@ -1167,6 +1458,16 @@ export declare namespace SelectScrollUpArrow {
1167
1458
  export type Props = SelectScrollUpArrowProps;
1168
1459
  }
1169
1460
 
1461
+ export declare namespace SelectScrollUpArrowDataAttributes {
1462
+ export {
1463
+ startingStyle_5 as startingStyle,
1464
+ endingStyle_5 as endingStyle,
1465
+ direction_2 as direction,
1466
+ visible_2 as visible,
1467
+ side_5 as side
1468
+ }
1469
+ }
1470
+
1170
1471
  export declare interface SelectScrollUpArrowProps extends BaseUIComponentProps<'div', SelectScrollUpArrowState> {
1171
1472
  /**
1172
1473
  * Whether to keep the HTML element in the DOM while the select popup is not scrollable.
@@ -1177,6 +1478,40 @@ export declare interface SelectScrollUpArrowProps extends BaseUIComponentProps<'
1177
1478
 
1178
1479
  export declare interface SelectScrollUpArrowState {}
1179
1480
 
1481
+ /**
1482
+ * A visual separator between items or groups.
1483
+ * Renders a `<div>` element.
1484
+ *
1485
+ * Documentation: [Base UI Select](https://base-ui.com/react/components/select)
1486
+ */
1487
+ export declare const SelectSeparator: React_2.ForwardRefExoticComponent<SelectSeparatorProps & React_2.RefAttributes<HTMLDivElement>>;
1488
+
1489
+ export declare namespace SelectSeparator {
1490
+ export type Props = SelectSeparatorProps;
1491
+ export type State = SelectSeparatorState;
1492
+ }
1493
+
1494
+ export declare namespace SelectSeparatorDataAttributes {
1495
+ export {
1496
+ orientation_2 as orientation
1497
+ }
1498
+ }
1499
+
1500
+ export declare interface SelectSeparatorProps extends BaseUIComponentProps<'div', SelectSeparatorState> {
1501
+ /**
1502
+ * The orientation of the separator.
1503
+ * @default 'horizontal'
1504
+ */
1505
+ orientation?: Orientation | undefined;
1506
+ }
1507
+
1508
+ export declare interface SelectSeparatorState {
1509
+ /**
1510
+ * The orientation of the separator.
1511
+ */
1512
+ orientation: Orientation;
1513
+ }
1514
+
1180
1515
  /**
1181
1516
  * A button that opens the select popup.
1182
1517
  * Renders a `<button>` element.
@@ -1190,6 +1525,24 @@ export declare namespace SelectTrigger {
1190
1525
  export type Props = SelectTriggerProps;
1191
1526
  }
1192
1527
 
1528
+ export declare namespace SelectTriggerDataAttributes {
1529
+ export {
1530
+ popupOpen,
1531
+ pressed,
1532
+ disabled_2 as disabled,
1533
+ readonly,
1534
+ popupSide,
1535
+ required,
1536
+ valid,
1537
+ invalid,
1538
+ touched,
1539
+ dirty,
1540
+ filled,
1541
+ focused,
1542
+ placeholder
1543
+ }
1544
+ }
1545
+
1193
1546
  export declare interface SelectTriggerProps extends NativeButtonProps, BaseUIComponentProps<'button', SelectTriggerState> {
1194
1547
  children?: React_2.ReactNode;
1195
1548
  /**
@@ -1234,9 +1587,17 @@ export declare namespace SelectValue {
1234
1587
  export type Props = SelectValueProps;
1235
1588
  }
1236
1589
 
1590
+ export declare namespace SelectValueDataAttributes {
1591
+ export {
1592
+ placeholder_2 as placeholder
1593
+ }
1594
+ }
1595
+
1237
1596
  export declare interface SelectValueProps extends Omit<BaseUIComponentProps<'span', SelectValueState>, 'children'> {
1238
1597
  /**
1239
1598
  * Accepts a function that returns a `ReactNode` to format the selected value.
1599
+ * Treat the value as read-only: in `multiple` mode it may be a shared frozen array
1600
+ * when nothing is selected.
1240
1601
  * @example
1241
1602
  * ```tsx
1242
1603
  * <Select.Value>
@@ -1263,39 +1624,39 @@ export declare interface SelectValueState {
1263
1624
  placeholder: boolean;
1264
1625
  }
1265
1626
 
1266
- declare type SelectValueType<Value, Multiple extends boolean | undefined> = Multiple extends true ? Value[] : Value;
1627
+ declare const siblingOpen: 'sibling-open';
1628
+
1629
+ declare type Side = 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start';
1267
1630
 
1268
1631
  /**
1269
- * A separator element accessible to screen readers.
1270
- * Renders a `<div>` element.
1271
- *
1272
- * Documentation: [Base UI Separator](https://base-ui.com/react/components/separator)
1632
+ * Indicates which side the popup is positioned relative to the trigger.
1633
+ * @type {'none' | 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
1273
1634
  */
1274
- declare const Separator: React_2.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React_2.RefAttributes<HTMLDivElement>>;
1635
+ declare const side = "data-side";
1275
1636
 
1276
- declare namespace Separator {
1277
- type Props = SeparatorProps;
1278
- type State = SeparatorState;
1279
- }
1280
-
1281
- declare interface SeparatorProps extends BaseUIComponentProps<'div', SeparatorState> {
1282
- /**
1283
- * The orientation of the separator.
1284
- * @default 'horizontal'
1285
- */
1286
- orientation?: Orientation | undefined;
1287
- }
1637
+ /**
1638
+ * Indicates which side the popup is positioned relative to the trigger.
1639
+ * @type {'none' | 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
1640
+ */
1641
+ declare const side_2 = "data-side";
1288
1642
 
1289
- declare interface SeparatorState {
1290
- /**
1291
- * The orientation of the separator.
1292
- */
1293
- orientation: Orientation;
1294
- }
1643
+ /**
1644
+ * Indicates which side the popup is positioned relative to the trigger.
1645
+ * @type {'none' | 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
1646
+ */
1647
+ declare const side_3 = "data-side";
1295
1648
 
1296
- declare const siblingOpen: "sibling-open";
1649
+ /**
1650
+ * Indicates which side the popup is positioned relative to the trigger.
1651
+ * @type {'none' | 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
1652
+ */
1653
+ declare const side_4 = "data-side";
1297
1654
 
1298
- declare type Side = 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start';
1655
+ /**
1656
+ * Indicates which side the popup is positioned relative to the trigger.
1657
+ * @type {'none' | 'top' | 'bottom' | 'left' | 'right' | 'inline-end' | 'inline-start'}
1658
+ */
1659
+ declare const side_5 = "data-side";
1299
1660
 
1300
1661
  declare interface SideFlipMode {
1301
1662
  /**
@@ -1344,17 +1705,58 @@ declare interface SideShiftMode {
1344
1705
  fallbackAxisSide?: 'start' | 'end' | 'none' | undefined;
1345
1706
  }
1346
1707
 
1347
- declare const swipe: "swipe";
1708
+ /**
1709
+ * Present when the select begins animating in.
1710
+ */
1711
+ declare const startingStyle = "data-starting-style";
1712
+
1713
+ /**
1714
+ * Present when the select begins animating in.
1715
+ */
1716
+ declare const startingStyle_2 = "data-starting-style";
1348
1717
 
1349
- declare const trackPress: "track-press";
1718
+ /**
1719
+ * Present when the indicator begins animating in.
1720
+ */
1721
+ declare const startingStyle_3 = "data-starting-style";
1722
+
1723
+ /**
1724
+ * Present when the scroll arrow begins animating in.
1725
+ */
1726
+ declare const startingStyle_4 = "data-starting-style";
1727
+
1728
+ /**
1729
+ * Present when the scroll arrow begins animating in.
1730
+ */
1731
+ declare const startingStyle_5 = "data-starting-style";
1732
+
1733
+ declare const swipe: 'swipe';
1734
+
1735
+ /**
1736
+ * Present when the select has been touched (when wrapped in Field.Root).
1737
+ */
1738
+ declare const touched = "data-touched";
1739
+
1740
+ declare const trackPress: 'track-press';
1741
+
1742
+ /**
1743
+ * The coordinates that this element is anchored to. Used for animations and transitions.
1744
+ * @type {string}
1745
+ */
1746
+ declare const transformOrigin = "--transform-origin";
1350
1747
 
1351
1748
  declare type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined;
1352
1749
 
1353
- declare const triggerFocus: "trigger-focus";
1750
+ declare const triggerFocus: 'trigger-focus';
1354
1751
 
1355
- declare const triggerHover: "trigger-hover";
1752
+ declare const triggerHover: 'trigger-hover';
1356
1753
 
1357
- declare const triggerPress: "trigger-press";
1754
+ declare const triggerPress: 'trigger-press';
1755
+
1756
+ /**
1757
+ * Present when the select arrow is uncentered.
1758
+ */
1759
+ declare const uncentered = "data-uncentered";
1358
1760
 
1359
1761
  declare interface UseAnchorPositioningSharedParameters {
1360
1762
  /**
@@ -1498,33 +1900,24 @@ declare interface UseAnchorPositioningSharedParameters {
1498
1900
  collisionAvoidance?: CollisionAvoidance | undefined;
1499
1901
  }
1500
1902
 
1501
- declare interface UseFloatingPortalNodeProps {
1502
- ref?: React_2.Ref<HTMLDivElement> | undefined;
1503
- container?: HTMLElement | ShadowRoot | null | React_2.RefObject<HTMLElement | ShadowRoot | null> | undefined;
1504
- componentProps?: UseRenderElementComponentProps<any> | undefined;
1505
- elementProps?: React_2.HTMLAttributes<HTMLDivElement> | undefined;
1506
- }
1903
+ /**
1904
+ * Present when the select is in a valid state (when wrapped in Field.Root).
1905
+ */
1906
+ declare const valid = "data-valid";
1507
1907
 
1508
- declare interface UseRenderElementComponentProps<State> {
1509
- /**
1510
- * The class name to apply to the rendered element.
1511
- * Can be a string or a function that accepts the state and returns a string.
1512
- */
1513
- className?: string | ((state: State) => string | undefined) | undefined;
1514
- /**
1515
- * The render prop or React element to override the default element.
1516
- */
1517
- render?: undefined | React_2.ReactElement | ComponentRenderFn<React_2.HTMLAttributes<any>, State>;
1518
- /**
1519
- * The style to apply to the rendered element.
1520
- * Can be a style object or a function that accepts the state and returns a style object.
1521
- */
1522
- style?: React_2.CSSProperties | ((state: State) => React_2.CSSProperties | undefined) | undefined;
1523
- }
1908
+ /**
1909
+ * Present when the scroll arrow is visible.
1910
+ */
1911
+ declare const visible = "data-visible";
1912
+
1913
+ /**
1914
+ * Present when the scroll arrow is visible.
1915
+ */
1916
+ declare const visible_2 = "data-visible";
1524
1917
 
1525
- declare const wheel: "wheel";
1918
+ declare const wheel: 'wheel';
1526
1919
 
1527
- declare const windowResize: "window-resize";
1920
+ declare const windowResize: 'window-resize';
1528
1921
 
1529
1922
  /**
1530
1923
  * Adds a `preventBaseUIHandler` method to all event handlers.