@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
@@ -57,6 +57,14 @@ export declare namespace AccordionHeader {
57
57
  export type Props = AccordionHeaderProps;
58
58
  }
59
59
 
60
+ export declare namespace AccordionHeaderDataAttributes {
61
+ export {
62
+ index_2 as index,
63
+ disabled_4 as disabled,
64
+ open_3 as open
65
+ }
66
+ }
67
+
60
68
  export declare interface AccordionHeaderProps extends BaseUIComponentProps<'h3', AccordionHeaderState> {}
61
69
 
62
70
  export declare interface AccordionHeaderState extends AccordionItemState {}
@@ -80,6 +88,14 @@ export declare type AccordionItemChangeEventDetails = BaseUIChangeEventDetails<A
80
88
 
81
89
  export declare type AccordionItemChangeEventReason = typeof REASONS.triggerPress | typeof REASONS.none;
82
90
 
91
+ export declare namespace AccordionItemDataAttributes {
92
+ export {
93
+ index,
94
+ disabled_3 as disabled,
95
+ open_2 as open
96
+ }
97
+ }
98
+
83
99
  export declare interface AccordionItemProps extends BaseUIComponentProps<'div', AccordionItemState>, Partial<Pick<UseCollapsibleRootParameters, 'disabled'>> {
84
100
  /**
85
101
  * A unique value that identifies this accordion item.
@@ -129,6 +145,30 @@ export declare namespace AccordionPanel {
129
145
  export type Props = AccordionPanelProps;
130
146
  }
131
147
 
148
+ export declare namespace AccordionPanelCssVariables {
149
+ export {
150
+ accordionPanelHeight,
151
+ accordionPanelWidth
152
+ }
153
+ }
154
+
155
+ export declare namespace AccordionPanelDataAttributes {
156
+ export {
157
+ index_4 as index,
158
+ open_4 as open,
159
+ orientation_3 as orientation,
160
+ disabled_6 as disabled,
161
+ startingStyle,
162
+ endingStyle
163
+ }
164
+ }
165
+
166
+ /**
167
+ * The accordion panel's height.
168
+ * @type {number}
169
+ */
170
+ declare const accordionPanelHeight = "--accordion-panel-height";
171
+
132
172
  export declare interface AccordionPanelProps extends BaseUIComponentProps<'div', AccordionPanelState>, Pick<AccordionRoot.Props, 'hiddenUntilFound' | 'keepMounted'> {}
133
173
 
134
174
  export declare interface AccordionPanelState extends AccordionItemState {
@@ -138,6 +178,12 @@ export declare interface AccordionPanelState extends AccordionItemState {
138
178
  transitionStatus: TransitionStatus;
139
179
  }
140
180
 
181
+ /**
182
+ * The accordion panel's width.
183
+ * @type {number}
184
+ */
185
+ declare const accordionPanelWidth = "--accordion-panel-width";
186
+
141
187
  /**
142
188
  * Groups all parts of the accordion.
143
189
  * Renders a `<div>` element.
@@ -160,6 +206,13 @@ export declare type AccordionRootChangeEventDetails = BaseUIChangeEventDetails<A
160
206
 
161
207
  export declare type AccordionRootChangeEventReason = typeof REASONS.triggerPress | typeof REASONS.none;
162
208
 
209
+ export declare namespace AccordionRootDataAttributes {
210
+ export {
211
+ disabled_2 as disabled,
212
+ orientation_2 as orientation
213
+ }
214
+ }
215
+
163
216
  export declare interface AccordionRootProps<Value = any> extends BaseUIComponentProps<'div', AccordionRoot.State<Value>> {
164
217
  /**
165
218
  * The controlled value of the item(s) that should be expanded.
@@ -193,9 +246,11 @@ export declare interface AccordionRootProps<Value = any> extends BaseUIComponent
193
246
  */
194
247
  keepMounted?: boolean | undefined;
195
248
  /**
196
- * Whether to loop keyboard focus back to the first item
197
- * when the end of the list is reached while using the arrow keys.
198
- * @default true
249
+ * Deprecated following the [APG guidance update](https://github.com/w3c/aria-practices/pull/3434)
250
+ * to remove roving focus.
251
+ *
252
+ * This prop no longer affects keyboard focus behavior.
253
+ * @deprecated
199
254
  */
200
255
  loopFocus?: boolean | undefined;
201
256
  /**
@@ -209,9 +264,12 @@ export declare interface AccordionRootProps<Value = any> extends BaseUIComponent
209
264
  */
210
265
  multiple?: boolean | undefined;
211
266
  /**
212
- * The visual orientation of the accordion.
213
- * Controls whether roving focus uses left/right or up/down arrow keys.
267
+ * Deprecated following the [APG guidance update](https://github.com/w3c/aria-practices/pull/3434)
268
+ * to remove roving focus.
269
+ *
270
+ * This prop no longer affects keyboard focus behavior.
214
271
  * @default 'vertical'
272
+ * @deprecated
215
273
  */
216
274
  orientation?: Orientation | undefined;
217
275
  }
@@ -219,6 +277,7 @@ export declare interface AccordionRootProps<Value = any> extends BaseUIComponent
219
277
  export declare interface AccordionRootState<Value = any> {
220
278
  /**
221
279
  * The current value.
280
+ * Treat it as read-only: it may be a shared frozen array when no value is set.
222
281
  */
223
282
  value: AccordionValue<Value>;
224
283
  /**
@@ -227,6 +286,12 @@ export declare interface AccordionRootState<Value = any> {
227
286
  disabled: boolean;
228
287
  /**
229
288
  * The component orientation.
289
+ *
290
+ * Deprecated following the [APG guidance update](https://github.com/w3c/aria-practices/pull/3434)
291
+ * to remove roving focus.
292
+ *
293
+ * This state no longer affects keyboard focus behavior.
294
+ * @deprecated
230
295
  */
231
296
  orientation: Orientation;
232
297
  }
@@ -249,6 +314,14 @@ export declare namespace AccordionTrigger {
249
314
  export type Props = AccordionTriggerProps;
250
315
  }
251
316
 
317
+ export declare namespace AccordionTriggerDataAttributes {
318
+ export {
319
+ index_3 as index,
320
+ panelOpen,
321
+ disabled_5 as disabled
322
+ }
323
+ }
324
+
252
325
  export declare interface AccordionTriggerProps extends NativeButtonProps, BaseUIComponentProps<'button', AccordionTriggerState> {}
253
326
 
254
327
  export declare interface AccordionTriggerState extends AccordionItemState {}
@@ -325,15 +398,15 @@ declare type BaseUIEvent<E extends React_2.SyntheticEvent<Element, Event>> = E &
325
398
  readonly baseUIHandlerPrevented?: boolean | undefined;
326
399
  };
327
400
 
328
- declare const cancelOpen: "cancel-open";
401
+ declare const cancelOpen: 'cancel-open';
329
402
 
330
- declare const chipRemovePress: "chip-remove-press";
403
+ declare const chipRemovePress: 'chip-remove-press';
331
404
 
332
- declare const clearPress: "clear-press";
405
+ declare const clearPress: 'clear-press';
333
406
 
334
- declare const closePress: "close-press";
407
+ declare const closePress: 'close-press';
335
408
 
336
- declare const closeWatcher: "close-watcher";
409
+ declare const closeWatcher: 'close-watcher';
337
410
 
338
411
  /**
339
412
  * Groups all parts of the collapsible.
@@ -389,45 +462,99 @@ declare interface CollapsibleRootState extends Pick<UseCollapsibleRootReturnValu
389
462
  */
390
463
  declare type ComponentRenderFn<Props, State> = (props: Props, state: State) => React_2.ReactElement<unknown>;
391
464
 
392
- declare const decrementPress: "decrement-press";
465
+ declare const decrementPress: 'decrement-press';
393
466
 
394
- declare const disabled: "disabled";
467
+ declare const disabled: 'disabled';
395
468
 
396
- declare const drag: "drag";
469
+ /**
470
+ * Present when the accordion is disabled.
471
+ */
472
+ declare const disabled_2 = "data-disabled";
397
473
 
398
- declare const escapeKey: "escape-key";
474
+ /**
475
+ * Present when the accordion item is disabled.
476
+ */
477
+ declare const disabled_3 = "data-disabled";
399
478
 
400
- declare const focusOut: "focus-out";
479
+ /**
480
+ * Present when the accordion item is disabled.
481
+ */
482
+ declare const disabled_4 = "data-disabled";
483
+
484
+ /**
485
+ * Present when the accordion item is disabled.
486
+ */
487
+ declare const disabled_5 = "data-disabled";
488
+
489
+ /**
490
+ * Present when the accordion item is disabled.
491
+ */
492
+ declare const disabled_6 = "data-disabled";
493
+
494
+ declare const drag: 'drag';
495
+
496
+ /**
497
+ * Present when the panel is animating out.
498
+ */
499
+ declare const endingStyle = "data-ending-style";
500
+
501
+ declare const escapeKey: 'escape-key';
502
+
503
+ declare const focusOut: 'focus-out';
401
504
 
402
505
  declare type HTMLProps<T = any> = React_2.HTMLAttributes<T> & {
403
506
  ref?: React_2.Ref<T> | undefined;
404
507
  };
405
508
 
406
- declare const imperativeAction: "imperative-action";
509
+ declare const imperativeAction: 'imperative-action';
510
+
511
+ declare const incrementPress: 'increment-press';
512
+
513
+ /**
514
+ * Indicates the index of the accordion item.
515
+ * @type {number}
516
+ */
517
+ declare const index = "data-index";
407
518
 
408
- declare const incrementPress: "increment-press";
519
+ /**
520
+ * Indicates the index of the accordion item.
521
+ * @type {number}
522
+ */
523
+ declare const index_2 = "data-index";
409
524
 
410
- declare const initial: "initial";
525
+ /**
526
+ * Indicates the index of the accordion item.
527
+ * @type {number}
528
+ */
529
+ declare const index_3 = "data-index";
411
530
 
412
- declare const inputBlur: "input-blur";
531
+ /**
532
+ * Indicates the index of the accordion item.
533
+ * @type {number}
534
+ */
535
+ declare const index_4 = "data-index";
536
+
537
+ declare const initial: 'initial';
413
538
 
414
- declare const inputChange: "input-change";
539
+ declare const inputBlur: 'input-blur';
415
540
 
416
- declare const inputClear: "input-clear";
541
+ declare const inputChange: 'input-change';
417
542
 
418
- declare const inputPaste: "input-paste";
543
+ declare const inputClear: 'input-clear';
419
544
 
420
- declare const inputPress: "input-press";
545
+ declare const inputPaste: 'input-paste';
421
546
 
422
- declare const itemPress: "item-press";
547
+ declare const inputPress: 'input-press';
423
548
 
424
- declare const keyboard: "keyboard";
549
+ declare const itemPress: 'item-press';
425
550
 
426
- declare const linkPress: "link-press";
551
+ declare const keyboard: 'keyboard';
427
552
 
428
- declare const listNavigation: "list-navigation";
553
+ declare const linkPress: 'link-press';
429
554
 
430
- declare const missing: "missing";
555
+ declare const listNavigation: 'list-navigation';
556
+
557
+ declare const missing: 'missing';
431
558
 
432
559
  declare interface NativeButtonProps {
433
560
  /**
@@ -439,13 +566,45 @@ declare interface NativeButtonProps {
439
566
  nativeButton?: boolean | undefined;
440
567
  }
441
568
 
442
- declare const none: "none";
569
+ declare const none: 'none';
570
+
571
+ /**
572
+ * Present when the accordion item is open.
573
+ */
574
+ declare const open_2 = "data-open";
575
+
576
+ /**
577
+ * Present when the accordion item is open.
578
+ */
579
+ declare const open_3 = "data-open";
580
+
581
+ /**
582
+ * Present when the accordion panel is open.
583
+ */
584
+ declare const open_4 = "data-open";
443
585
 
444
586
  declare type Orientation = 'horizontal' | 'vertical';
445
587
 
446
- declare const outsidePress: "outside-press";
588
+ /**
589
+ * Indicates the orientation of the accordion.
590
+ */
591
+ declare const orientation_2 = "data-orientation";
447
592
 
448
- declare const pointer: "pointer";
593
+ /**
594
+ * Indicates the orientation of the accordion.
595
+ */
596
+ declare const orientation_3 = "data-orientation";
597
+
598
+ declare const outsidePress: 'outside-press';
599
+
600
+ /**
601
+ * Present when the accordion panel is open.
602
+ */
603
+ declare const panelOpen = "data-panel-open";
604
+
605
+ declare const pointer: 'pointer';
606
+
607
+ declare const popupClose: 'popup-close';
449
608
 
450
609
  declare namespace REASONS {
451
610
  export {
@@ -476,6 +635,7 @@ declare namespace REASONS {
476
635
  drag,
477
636
  wheel,
478
637
  scrub,
638
+ popupClose,
479
639
  cancelOpen,
480
640
  siblingOpen,
481
641
  disabled,
@@ -535,23 +695,28 @@ declare function Root<Value = any>({ className, size, variant, ...props }: WithS
535
695
  variant?: Variant;
536
696
  }): JSX_2.Element;
537
697
 
538
- declare const scrub: "scrub";
698
+ declare const scrub: 'scrub';
539
699
 
540
- declare const siblingOpen: "sibling-open";
700
+ declare const siblingOpen: 'sibling-open';
541
701
 
542
702
  declare type Size = (typeof AccordionSize)[keyof typeof AccordionSize];
543
703
 
544
- declare const swipe: "swipe";
704
+ /**
705
+ * Present when the panel begins animating in.
706
+ */
707
+ declare const startingStyle = "data-starting-style";
708
+
709
+ declare const swipe: 'swipe';
545
710
 
546
- declare const trackPress: "track-press";
711
+ declare const trackPress: 'track-press';
547
712
 
548
713
  declare type TransitionStatus = 'starting' | 'ending' | 'idle' | undefined;
549
714
 
550
- declare const triggerFocus: "trigger-focus";
715
+ declare const triggerFocus: 'trigger-focus';
551
716
 
552
- declare const triggerHover: "trigger-hover";
717
+ declare const triggerHover: 'trigger-hover';
553
718
 
554
- declare const triggerPress: "trigger-press";
719
+ declare const triggerPress: 'trigger-press';
555
720
 
556
721
  declare interface TypographyProps extends React_2.HTMLAttributes<HTMLElement> {
557
722
  variant?: TypographyVariant;
@@ -586,6 +751,7 @@ declare interface UseCollapsibleRootParameters {
586
751
  }
587
752
 
588
753
  declare interface UseCollapsibleRootReturnValue {
754
+ defaultPanelId: React_2.HTMLAttributes<Element>['id'];
589
755
  /**
590
756
  * Whether the component should ignore user interaction.
591
757
  */
@@ -604,15 +770,15 @@ declare interface UseCollapsibleRootReturnValue {
604
770
  panelId: React_2.HTMLAttributes<Element>['id'];
605
771
  setMounted: (nextMounted: boolean) => void;
606
772
  setOpen: (open: boolean) => void;
607
- setPanelIdState: (id: string | undefined) => void;
773
+ setPanelIdState: React_2.Dispatch<React_2.SetStateAction<string | null | undefined>>;
608
774
  transitionStatus: TransitionStatus;
609
775
  }
610
776
 
611
777
  declare type Variant = (typeof AccordionVariant)[keyof typeof AccordionVariant];
612
778
 
613
- declare const wheel: "wheel";
779
+ declare const wheel: 'wheel';
614
780
 
615
- declare const windowResize: "window-resize";
781
+ declare const windowResize: 'window-resize';
616
782
 
617
783
  /**
618
784
  * Adds a `preventBaseUIHandler` method to all event handlers.