@wix/site-ui 1.347.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
@@ -90,19 +90,19 @@ declare type BaseUIGenericEventDetail<Reason extends string, CustomProperties ex
90
90
 
91
91
  declare type BaseUIGenericEventDetails<Reason extends string, CustomProperties extends object = {}> = Reason extends string ? BaseUIGenericEventDetail<Reason, CustomProperties> & {} : never;
92
92
 
93
- declare const cancelOpen: "cancel-open";
93
+ declare const cancelOpen: 'cancel-open';
94
94
 
95
95
  declare interface ChangeEventCustomProperties {
96
96
  direction?: Direction | undefined;
97
97
  }
98
98
 
99
- declare const chipRemovePress: "chip-remove-press";
99
+ declare const chipRemovePress: 'chip-remove-press';
100
100
 
101
- declare const clearPress: "clear-press";
101
+ declare const clearPress: 'clear-press';
102
102
 
103
- declare const closePress: "close-press";
103
+ declare const closePress: 'close-press';
104
104
 
105
- declare const closeWatcher: "close-watcher";
105
+ declare const closeWatcher: 'close-watcher';
106
106
 
107
107
  /**
108
108
  * Shape of the render prop: a function that takes props to be spread on the element and component's state and returns a React element.
@@ -112,15 +112,85 @@ declare const closeWatcher: "close-watcher";
112
112
  */
113
113
  declare type ComponentRenderFn<Props, State> = (props: Props, state: State) => React_2.ReactElement<unknown>;
114
114
 
115
- declare const decrementPress: "decrement-press";
115
+ declare const decrementPress: 'decrement-press';
116
116
 
117
117
  declare type Direction = -1 | 1;
118
118
 
119
- declare const disabled: "disabled";
119
+ /**
120
+ * Present when the number field's value has changed (when wrapped in Field.Root).
121
+ */
122
+ declare const dirty = "data-dirty";
123
+
124
+ /**
125
+ * Present when the number field's value has changed (when wrapped in Field.Root).
126
+ */
127
+ declare const dirty_2 = "data-dirty";
128
+
129
+ /**
130
+ * Present when the number field's value has changed (when wrapped in Field.Root).
131
+ */
132
+ declare const dirty_3 = "data-dirty";
120
133
 
121
- declare const drag: "drag";
134
+ /**
135
+ * Present when the number field's value has changed (when wrapped in Field.Root).
136
+ */
137
+ declare const dirty_4 = "data-dirty";
138
+
139
+ /**
140
+ * Present when the number field's value has changed (when wrapped in Field.Root).
141
+ */
142
+ declare const dirty_5 = "data-dirty";
122
143
 
123
- declare const escapeKey: "escape-key";
144
+ /**
145
+ * Present when the number field's value has changed (when wrapped in Field.Root).
146
+ */
147
+ declare const dirty_6 = "data-dirty";
148
+
149
+ /**
150
+ * Present when the number field's value has changed (when wrapped in Field.Root).
151
+ */
152
+ declare const dirty_7 = "data-dirty";
153
+
154
+ /**
155
+ * Present when the number field is disabled.
156
+ */
157
+ declare const disabled = "data-disabled";
158
+
159
+ /**
160
+ * Present when the number field is disabled.
161
+ */
162
+ declare const disabled_2 = "data-disabled";
163
+
164
+ /**
165
+ * Present when the number field is disabled.
166
+ */
167
+ declare const disabled_3 = "data-disabled";
168
+
169
+ /**
170
+ * Present when the number field is disabled.
171
+ */
172
+ declare const disabled_4 = "data-disabled";
173
+
174
+ /**
175
+ * Present when the number field is disabled.
176
+ */
177
+ declare const disabled_5 = "data-disabled";
178
+
179
+ /**
180
+ * Present when the number field is disabled.
181
+ */
182
+ declare const disabled_6 = "data-disabled";
183
+
184
+ /**
185
+ * Present when the number field is disabled.
186
+ */
187
+ declare const disabled_7 = "data-disabled";
188
+
189
+ declare const disabled_8: 'disabled';
190
+
191
+ declare const drag: 'drag';
192
+
193
+ declare const escapeKey: 'escape-key';
124
194
 
125
195
  declare interface FieldRootState {
126
196
  /**
@@ -149,37 +219,142 @@ declare interface FieldRootState {
149
219
  focused: boolean;
150
220
  }
151
221
 
152
- declare const focusOut: "focus-out";
222
+ /**
223
+ * Present when the number field is filled (when wrapped in Field.Root).
224
+ */
225
+ declare const filled = "data-filled";
226
+
227
+ /**
228
+ * Present when the number field is filled (when wrapped in Field.Root).
229
+ */
230
+ declare const filled_2 = "data-filled";
231
+
232
+ /**
233
+ * Present when the number field is filled (when wrapped in Field.Root).
234
+ */
235
+ declare const filled_3 = "data-filled";
236
+
237
+ /**
238
+ * Present when the number field is filled (when wrapped in Field.Root).
239
+ */
240
+ declare const filled_4 = "data-filled";
241
+
242
+ /**
243
+ * Present when the number field is filled (when wrapped in Field.Root).
244
+ */
245
+ declare const filled_5 = "data-filled";
246
+
247
+ /**
248
+ * Present when the number field is filled (when wrapped in Field.Root).
249
+ */
250
+ declare const filled_6 = "data-filled";
251
+
252
+ /**
253
+ * Present when the number field is filled (when wrapped in Field.Root).
254
+ */
255
+ declare const filled_7 = "data-filled";
256
+
257
+ /**
258
+ * Present when the number field is focused (when wrapped in Field.Root).
259
+ */
260
+ declare const focused = "data-focused";
261
+
262
+ /**
263
+ * Present when the number field is focused (when wrapped in Field.Root).
264
+ */
265
+ declare const focused_2 = "data-focused";
266
+
267
+ /**
268
+ * Present when the number field is focused (when wrapped in Field.Root).
269
+ */
270
+ declare const focused_3 = "data-focused";
271
+
272
+ /**
273
+ * Present when the number field is focused (when wrapped in Field.Root).
274
+ */
275
+ declare const focused_4 = "data-focused";
276
+
277
+ /**
278
+ * Present when the number field is focused (when wrapped in Field.Root).
279
+ */
280
+ declare const focused_5 = "data-focused";
281
+
282
+ /**
283
+ * Present when the number field is focused (when wrapped in Field.Root).
284
+ */
285
+ declare const focused_6 = "data-focused";
286
+
287
+ /**
288
+ * Present when the number field is focused (when wrapped in Field.Root).
289
+ */
290
+ declare const focused_7 = "data-focused";
291
+
292
+ declare const focusOut: 'focus-out';
153
293
 
154
294
  declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
155
295
  ref?: React_2.Ref<T> | undefined;
156
296
  };
157
297
 
158
- declare const imperativeAction: "imperative-action";
298
+ declare const imperativeAction: 'imperative-action';
299
+
300
+ declare const incrementPress: 'increment-press';
301
+
302
+ declare const initial: 'initial';
303
+
304
+ declare const inputBlur: 'input-blur';
305
+
306
+ declare const inputChange: 'input-change';
307
+
308
+ declare const inputClear: 'input-clear';
309
+
310
+ declare const inputPaste: 'input-paste';
311
+
312
+ declare const inputPress: 'input-press';
159
313
 
160
- declare const incrementPress: "increment-press";
314
+ /**
315
+ * Present when the number field is in an invalid state (when wrapped in Field.Root).
316
+ */
317
+ declare const invalid = "data-invalid";
161
318
 
162
- declare const initial: "initial";
319
+ /**
320
+ * Present when the number field is in an invalid state (when wrapped in Field.Root).
321
+ */
322
+ declare const invalid_2 = "data-invalid";
163
323
 
164
- declare const inputBlur: "input-blur";
324
+ /**
325
+ * Present when the number field is in an invalid state (when wrapped in Field.Root).
326
+ */
327
+ declare const invalid_3 = "data-invalid";
165
328
 
166
- declare const inputChange: "input-change";
329
+ /**
330
+ * Present when the number field is in an invalid state (when wrapped in Field.Root).
331
+ */
332
+ declare const invalid_4 = "data-invalid";
167
333
 
168
- declare const inputClear: "input-clear";
334
+ /**
335
+ * Present when the number field is in an invalid state (when wrapped in Field.Root).
336
+ */
337
+ declare const invalid_5 = "data-invalid";
169
338
 
170
- declare const inputPaste: "input-paste";
339
+ /**
340
+ * Present when the number field is in an invalid state (when wrapped in Field.Root).
341
+ */
342
+ declare const invalid_6 = "data-invalid";
171
343
 
172
- declare const inputPress: "input-press";
344
+ /**
345
+ * Present when the number field is in an invalid state (when wrapped in Field.Root).
346
+ */
347
+ declare const invalid_7 = "data-invalid";
173
348
 
174
- declare const itemPress: "item-press";
349
+ declare const itemPress: 'item-press';
175
350
 
176
- declare const keyboard: "keyboard";
351
+ declare const keyboard: 'keyboard';
177
352
 
178
- declare const linkPress: "link-press";
353
+ declare const linkPress: 'link-press';
179
354
 
180
- declare const listNavigation: "list-navigation";
355
+ declare const listNavigation: 'list-navigation';
181
356
 
182
- declare const missing: "missing";
357
+ declare const missing: 'missing';
183
358
 
184
359
  declare interface NativeButtonProps {
185
360
  /**
@@ -191,7 +366,7 @@ declare interface NativeButtonProps {
191
366
  nativeButton?: boolean | undefined;
192
367
  }
193
368
 
194
- declare const none: "none";
369
+ declare const none: 'none';
195
370
 
196
371
  export declare const NumberField: {
197
372
  Root: React_2.ForwardRefExoticComponent<Omit<Omit<Omit<NumberFieldRootProps_2, "ref"> & React_2.RefAttributes<HTMLDivElement>, "ref">, "className"> & {
@@ -225,7 +400,7 @@ export declare const NumberField: {
225
400
 
226
401
  /**
227
402
  * A stepper button that decreases the field value when clicked.
228
- * Renders an `<button>` element.
403
+ * Renders a `<button>` element.
229
404
  *
230
405
  * Documentation: [Base UI Number Field](https://base-ui.com/react/components/number-field)
231
406
  */
@@ -236,6 +411,21 @@ export declare namespace NumberFieldDecrement {
236
411
  export type Props = NumberFieldDecrementProps;
237
412
  }
238
413
 
414
+ export declare namespace NumberFieldDecrementDataAttributes {
415
+ export {
416
+ scrubbing_4 as scrubbing,
417
+ disabled_4 as disabled,
418
+ readonly_4 as readonly,
419
+ required_4 as required,
420
+ valid_4 as valid,
421
+ invalid_4 as invalid,
422
+ touched_4 as touched,
423
+ dirty_4 as dirty,
424
+ filled_4 as filled,
425
+ focused_4 as focused
426
+ }
427
+ }
428
+
239
429
  export declare interface NumberFieldDecrementProps extends NativeButtonProps, BaseUIComponentProps<'button', NumberFieldDecrementState> {}
240
430
 
241
431
  export declare interface NumberFieldDecrementState extends NumberFieldRootState {}
@@ -253,13 +443,28 @@ export declare namespace NumberFieldGroup {
253
443
  export type Props = NumberFieldGroupProps;
254
444
  }
255
445
 
446
+ export declare namespace NumberFieldGroupDataAttributes {
447
+ export {
448
+ scrubbing_2 as scrubbing,
449
+ disabled_2 as disabled,
450
+ readonly_2 as readonly,
451
+ required_2 as required,
452
+ valid_2 as valid,
453
+ invalid_2 as invalid,
454
+ touched_2 as touched,
455
+ dirty_2 as dirty,
456
+ filled_2 as filled,
457
+ focused_2 as focused
458
+ }
459
+ }
460
+
256
461
  export declare interface NumberFieldGroupProps extends BaseUIComponentProps<'div', NumberFieldGroupState> {}
257
462
 
258
463
  export declare interface NumberFieldGroupState extends NumberFieldRootState {}
259
464
 
260
465
  /**
261
466
  * A stepper button that increases the field value when clicked.
262
- * Renders an `<button>` element.
467
+ * Renders a `<button>` element.
263
468
  *
264
469
  * Documentation: [Base UI Number Field](https://base-ui.com/react/components/number-field)
265
470
  */
@@ -270,6 +475,21 @@ export declare namespace NumberFieldIncrement {
270
475
  export type Props = NumberFieldIncrementProps;
271
476
  }
272
477
 
478
+ export declare namespace NumberFieldIncrementDataAttributes {
479
+ export {
480
+ scrubbing_3 as scrubbing,
481
+ disabled_3 as disabled,
482
+ readonly_3 as readonly,
483
+ required_3 as required,
484
+ valid_3 as valid,
485
+ invalid_3 as invalid,
486
+ touched_3 as touched,
487
+ dirty_3 as dirty,
488
+ filled_3 as filled,
489
+ focused_3 as focused
490
+ }
491
+ }
492
+
273
493
  export declare interface NumberFieldIncrementProps extends NativeButtonProps, BaseUIComponentProps<'button', NumberFieldIncrementState> {}
274
494
 
275
495
  export declare interface NumberFieldIncrementState extends NumberFieldRootState {}
@@ -287,9 +507,25 @@ export declare namespace NumberFieldInput {
287
507
  export type Props = NumberFieldInputProps;
288
508
  }
289
509
 
290
- export declare interface NumberFieldInputProps extends BaseUIComponentProps<'input', NumberFieldInputState> {
510
+ export declare namespace NumberFieldInputDataAttributes {
511
+ export {
512
+ scrubbing_5 as scrubbing,
513
+ disabled_5 as disabled,
514
+ readonly_5 as readonly,
515
+ required_5 as required,
516
+ valid_5 as valid,
517
+ invalid_5 as invalid,
518
+ touched_5 as touched,
519
+ dirty_5 as dirty,
520
+ filled_5 as filled,
521
+ focused_5 as focused
522
+ }
523
+ }
524
+
525
+ export declare interface NumberFieldInputProps extends BaseUIComponentProps<'input', NumberFieldInputState, React_2.ComponentPropsWithRef<'input'>> {
291
526
  /**
292
- * A string value that provides a user-friendly name for the role of the input.
527
+ * A user-friendly description of the input's role for assistive tech. This is a role
528
+ * description, not an accessible name — use `Field.Label` or `aria-label` to name the control.
293
529
  * @default 'Number field'
294
530
  */
295
531
  'aria-roledescription'?: React_2.AriaAttributes['aria-roledescription'] | undefined;
@@ -322,6 +558,21 @@ export declare type NumberFieldRootCommitEventDetails = BaseUIGenericEventDetail
322
558
 
323
559
  export declare type NumberFieldRootCommitEventReason = typeof REASONS.inputBlur | typeof REASONS.inputClear | typeof REASONS.keyboard | typeof REASONS.incrementPress | typeof REASONS.decrementPress | typeof REASONS.wheel | typeof REASONS.scrub | typeof REASONS.none;
324
560
 
561
+ export declare namespace NumberFieldRootDataAttributes {
562
+ export {
563
+ scrubbing,
564
+ disabled,
565
+ readonly,
566
+ required,
567
+ valid,
568
+ invalid,
569
+ touched,
570
+ dirty,
571
+ filled,
572
+ focused
573
+ }
574
+ }
575
+
325
576
  export declare interface NumberFieldRootProps extends Omit<BaseUIComponentProps<'div', NumberFieldRootState>, 'onChange'> {
326
577
  /**
327
578
  * The id of the input element.
@@ -343,21 +594,21 @@ export declare interface NumberFieldRootProps extends Omit<BaseUIComponentProps<
343
594
  */
344
595
  allowOutOfRange?: boolean | undefined;
345
596
  /**
346
- * The small step value of the input element when incrementing while the meta key is held. Snaps
347
- * to multiples of this value.
597
+ * The small step value of the input element when incrementing while the alt key is held.
598
+ * Snaps to multiples of this value when `snapOnStep` is enabled.
348
599
  * @default 0.1
349
600
  */
350
601
  smallStep?: number | undefined;
351
602
  /**
352
603
  * Amount to increment and decrement with the buttons and arrow keys, or to scrub with pointer movement in the scrub area.
353
604
  * To always enable step validation on form submission, specify the `min` prop explicitly in conjunction with this prop.
354
- * Specify `step="any"` to always disable step validation.
605
+ * Specify `step="any"` to always disable step validation; interactive stepping then uses a base amount of `1`, while the alt and shift keys still step by `smallStep` and `largeStep`.
355
606
  * @default 1
356
607
  */
357
608
  step?: number | 'any' | undefined;
358
609
  /**
359
- * The large step value of the input element when incrementing while the shift key is held. Snaps
360
- * to multiples of this value.
610
+ * The large step value of the input element when incrementing while the shift key is held.
611
+ * Snaps to multiples of this value when `snapOnStep` is enabled.
361
612
  * @default 10
362
613
  */
363
614
  largeStep?: number | undefined;
@@ -418,7 +669,7 @@ export declare interface NumberFieldRootProps extends Omit<BaseUIComponentProps<
418
669
  * - `'input-clear'` when the field becomes empty
419
670
  * - `'input-blur'` when formatting (and clamping, if enabled) occurs on blur
420
671
  * - `'input-paste'` for paste interactions
421
- * - `'keyboard'` for keyboard input
672
+ * - `'keyboard'` for arrow-key/Home/End stepping (typing digits uses `'input-change'`/`'input-clear'`)
422
673
  * - `'increment-press'` / `'decrement-press'` for button presses on the increment and decrement controls
423
674
  * - `'wheel'` for wheel-based scrubbing
424
675
  * - `'scrub'` for scrub area drags
@@ -430,7 +681,8 @@ export declare interface NumberFieldRootProps extends Omit<BaseUIComponentProps<
430
681
  * - The input is blurred after typing a value.
431
682
  * - The pointer is released after scrubbing or pressing the increment/decrement buttons.
432
683
  *
433
- * It runs simultaneously with `onValueChange` when interacting with the keyboard.
684
+ * It runs simultaneously with `onValueChange` when interacting with the keyboard or the
685
+ * mouse wheel.
434
686
  *
435
687
  * **Warning**: This is a generic event not a change event.
436
688
  */
@@ -502,10 +754,40 @@ export declare namespace NumberFieldScrubAreaCursor {
502
754
  export type Props = NumberFieldScrubAreaCursorProps;
503
755
  }
504
756
 
757
+ export declare namespace NumberFieldScrubAreaCursorDataAttributes {
758
+ export {
759
+ scrubbing_7 as scrubbing,
760
+ disabled_7 as disabled,
761
+ readonly_7 as readonly,
762
+ required_7 as required,
763
+ valid_7 as valid,
764
+ invalid_7 as invalid,
765
+ touched_7 as touched,
766
+ dirty_7 as dirty,
767
+ filled_7 as filled,
768
+ focused_7 as focused
769
+ }
770
+ }
771
+
505
772
  export declare interface NumberFieldScrubAreaCursorProps extends BaseUIComponentProps<'span', NumberFieldScrubAreaCursorState> {}
506
773
 
507
774
  export declare interface NumberFieldScrubAreaCursorState extends NumberFieldRootState {}
508
775
 
776
+ export declare namespace NumberFieldScrubAreaDataAttributes {
777
+ export {
778
+ scrubbing_6 as scrubbing,
779
+ disabled_6 as disabled,
780
+ readonly_6 as readonly,
781
+ required_6 as required,
782
+ valid_6 as valid,
783
+ invalid_6 as invalid,
784
+ touched_6 as touched,
785
+ dirty_6 as dirty,
786
+ filled_6 as filled,
787
+ focused_6 as focused
788
+ }
789
+ }
790
+
509
791
  export declare interface NumberFieldScrubAreaProps extends BaseUIComponentProps<'span', NumberFieldScrubAreaState> {
510
792
  /**
511
793
  * Cursor movement direction in the scrub area.
@@ -527,9 +809,46 @@ export declare interface NumberFieldScrubAreaProps extends BaseUIComponentProps<
527
809
 
528
810
  export declare interface NumberFieldScrubAreaState extends NumberFieldRootState {}
529
811
 
530
- declare const outsidePress: "outside-press";
812
+ declare const outsidePress: 'outside-press';
813
+
814
+ declare const pointer: 'pointer';
815
+
816
+ declare const popupClose: 'popup-close';
817
+
818
+ /**
819
+ * Present when the number field is readonly.
820
+ */
821
+ declare const readonly = "data-readonly";
822
+
823
+ /**
824
+ * Present when the number field is readonly.
825
+ */
826
+ declare const readonly_2 = "data-readonly";
827
+
828
+ /**
829
+ * Present when the number field is readonly.
830
+ */
831
+ declare const readonly_3 = "data-readonly";
832
+
833
+ /**
834
+ * Present when the number field is readonly.
835
+ */
836
+ declare const readonly_4 = "data-readonly";
837
+
838
+ /**
839
+ * Present when the number field is readonly.
840
+ */
841
+ declare const readonly_5 = "data-readonly";
842
+
843
+ /**
844
+ * Present when the number field is readonly.
845
+ */
846
+ declare const readonly_6 = "data-readonly";
531
847
 
532
- declare const pointer: "pointer";
848
+ /**
849
+ * Present when the number field is readonly.
850
+ */
851
+ declare const readonly_7 = "data-readonly";
533
852
 
534
853
  declare namespace REASONS {
535
854
  export {
@@ -560,9 +879,10 @@ declare namespace REASONS {
560
879
  drag,
561
880
  wheel,
562
881
  scrub,
882
+ popupClose,
563
883
  cancelOpen,
564
884
  siblingOpen,
565
- disabled,
885
+ disabled_8 as disabled,
566
886
  missing,
567
887
  initial,
568
888
  imperativeAction,
@@ -614,23 +934,163 @@ declare interface ReasonToEventMap {
614
934
  [REASONS.windowResize]: UIEvent;
615
935
  }
616
936
 
617
- declare const scrub: "scrub";
937
+ /**
938
+ * Present when the number field is required.
939
+ */
940
+ declare const required = "data-required";
941
+
942
+ /**
943
+ * Present when the number field is required.
944
+ */
945
+ declare const required_2 = "data-required";
946
+
947
+ /**
948
+ * Present when the number field is required.
949
+ */
950
+ declare const required_3 = "data-required";
951
+
952
+ /**
953
+ * Present when the number field is required.
954
+ */
955
+ declare const required_4 = "data-required";
956
+
957
+ /**
958
+ * Present when the number field is required.
959
+ */
960
+ declare const required_5 = "data-required";
961
+
962
+ /**
963
+ * Present when the number field is required.
964
+ */
965
+ declare const required_6 = "data-required";
966
+
967
+ /**
968
+ * Present when the number field is required.
969
+ */
970
+ declare const required_7 = "data-required";
971
+
972
+ declare const scrub: 'scrub';
973
+
974
+ /**
975
+ * Present while scrubbing.
976
+ */
977
+ declare const scrubbing = "data-scrubbing";
978
+
979
+ /**
980
+ * Present while scrubbing.
981
+ */
982
+ declare const scrubbing_2 = "data-scrubbing";
983
+
984
+ /**
985
+ * Present while scrubbing.
986
+ */
987
+ declare const scrubbing_3 = "data-scrubbing";
988
+
989
+ /**
990
+ * Present while scrubbing.
991
+ */
992
+ declare const scrubbing_4 = "data-scrubbing";
993
+
994
+ /**
995
+ * Present while scrubbing.
996
+ */
997
+ declare const scrubbing_5 = "data-scrubbing";
998
+
999
+ /**
1000
+ * Present while scrubbing.
1001
+ */
1002
+ declare const scrubbing_6 = "data-scrubbing";
1003
+
1004
+ /**
1005
+ * Present while scrubbing.
1006
+ */
1007
+ declare const scrubbing_7 = "data-scrubbing";
1008
+
1009
+ declare const siblingOpen: 'sibling-open';
1010
+
1011
+ declare const swipe: 'swipe';
1012
+
1013
+ /**
1014
+ * Present when the number field has been touched (when wrapped in Field.Root).
1015
+ */
1016
+ declare const touched = "data-touched";
1017
+
1018
+ /**
1019
+ * Present when the number field has been touched (when wrapped in Field.Root).
1020
+ */
1021
+ declare const touched_2 = "data-touched";
1022
+
1023
+ /**
1024
+ * Present when the number field has been touched (when wrapped in Field.Root).
1025
+ */
1026
+ declare const touched_3 = "data-touched";
1027
+
1028
+ /**
1029
+ * Present when the number field has been touched (when wrapped in Field.Root).
1030
+ */
1031
+ declare const touched_4 = "data-touched";
1032
+
1033
+ /**
1034
+ * Present when the number field has been touched (when wrapped in Field.Root).
1035
+ */
1036
+ declare const touched_5 = "data-touched";
1037
+
1038
+ /**
1039
+ * Present when the number field has been touched (when wrapped in Field.Root).
1040
+ */
1041
+ declare const touched_6 = "data-touched";
1042
+
1043
+ /**
1044
+ * Present when the number field has been touched (when wrapped in Field.Root).
1045
+ */
1046
+ declare const touched_7 = "data-touched";
1047
+
1048
+ declare const trackPress: 'track-press';
1049
+
1050
+ declare const triggerFocus: 'trigger-focus';
1051
+
1052
+ declare const triggerHover: 'trigger-hover';
1053
+
1054
+ declare const triggerPress: 'trigger-press';
618
1055
 
619
- declare const siblingOpen: "sibling-open";
1056
+ /**
1057
+ * Present when the number field is in a valid state (when wrapped in Field.Root).
1058
+ */
1059
+ declare const valid = "data-valid";
620
1060
 
621
- declare const swipe: "swipe";
1061
+ /**
1062
+ * Present when the number field is in a valid state (when wrapped in Field.Root).
1063
+ */
1064
+ declare const valid_2 = "data-valid";
622
1065
 
623
- declare const trackPress: "track-press";
1066
+ /**
1067
+ * Present when the number field is in a valid state (when wrapped in Field.Root).
1068
+ */
1069
+ declare const valid_3 = "data-valid";
624
1070
 
625
- declare const triggerFocus: "trigger-focus";
1071
+ /**
1072
+ * Present when the number field is in a valid state (when wrapped in Field.Root).
1073
+ */
1074
+ declare const valid_4 = "data-valid";
626
1075
 
627
- declare const triggerHover: "trigger-hover";
1076
+ /**
1077
+ * Present when the number field is in a valid state (when wrapped in Field.Root).
1078
+ */
1079
+ declare const valid_5 = "data-valid";
628
1080
 
629
- declare const triggerPress: "trigger-press";
1081
+ /**
1082
+ * Present when the number field is in a valid state (when wrapped in Field.Root).
1083
+ */
1084
+ declare const valid_6 = "data-valid";
1085
+
1086
+ /**
1087
+ * Present when the number field is in a valid state (when wrapped in Field.Root).
1088
+ */
1089
+ declare const valid_7 = "data-valid";
630
1090
 
631
- declare const wheel: "wheel";
1091
+ declare const wheel: 'wheel';
632
1092
 
633
- declare const windowResize: "window-resize";
1093
+ declare const windowResize: 'window-resize';
634
1094
 
635
1095
  /**
636
1096
  * Adds a `preventBaseUIHandler` method to all event handlers.