@justanarthur/modo-ui 2.1.0 → 2.3.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 (145) hide show
  1. package/blocks/desktop-shell/index.tsx +2 -1
  2. package/components/inputs/checkbox/index.tsx +5 -0
  3. package/components/inputs/combobox/index.tsx +9 -4
  4. package/components/inputs/radio/index.tsx +5 -0
  5. package/components/inputs/select/index.tsx +23 -3
  6. package/components/inputs/slider/comfortable.tsx +10 -4
  7. package/components/inputs/slider/compact.tsx +153 -71
  8. package/components/inputs/slider/examples.mdx +24 -0
  9. package/components/inputs/slider/geometry.ts +18 -6
  10. package/components/inputs/slider/index.tsx +30 -8
  11. package/components/inputs/slider/value-display.tsx +16 -9
  12. package/components/inputs/switch/index.tsx +5 -0
  13. package/components/inputs/textarea/examples.mdx +19 -0
  14. package/components/inputs/textarea/index.tsx +42 -5
  15. package/components/navigation/sidebar/sidebar-group.tsx +2 -1
  16. package/components/navigation/sidebar/sidebar-menu-sub.tsx +2 -1
  17. package/components/navigation/sidebar/sidebar-shell.tsx +2 -1
  18. package/components/navigation/tree/index.tsx +2 -1
  19. package/components/overlays/dropdown/index.tsx +50 -8
  20. package/components/overlays/dropdown/submenu.tsx +41 -10
  21. package/components/overlays/tooltip/examples.mdx +13 -0
  22. package/components/overlays/tooltip/index.tsx +58 -16
  23. package/dist/blocks/desktop-shell/index.js +10 -9
  24. package/dist/blocks/sidebar-app/index.js +11 -10
  25. package/dist/components/actions/button/index.js +2 -2
  26. package/dist/components/actions/copy/index.js +4 -4
  27. package/dist/components/containers/accordion/index.d.ts +1 -1
  28. package/dist/components/containers/accordion/index.js +2 -2
  29. package/dist/components/containers/card/index.js +3 -3
  30. package/dist/components/data-display/log-view/index.js +3 -3
  31. package/dist/components/inputs/checkbox/index.d.ts +2 -0
  32. package/dist/components/inputs/checkbox/index.js +1 -1
  33. package/dist/components/inputs/color-picker/index.js +5 -5
  34. package/dist/components/inputs/combobox/index.d.ts +1 -1
  35. package/dist/components/inputs/combobox/index.js +2 -2
  36. package/dist/components/inputs/date-time/date-picker/index.js +7 -7
  37. package/dist/components/inputs/date-time/date-range-picker/index.js +7 -7
  38. package/dist/components/inputs/date-time/duration-picker/index.js +7 -7
  39. package/dist/components/inputs/date-time/month-picker/index.js +7 -7
  40. package/dist/components/inputs/date-time/time-picker/index.js +7 -7
  41. package/dist/components/inputs/field/index.js +2 -2
  42. package/dist/components/inputs/file-dropzone/index.js +3 -3
  43. package/dist/components/inputs/key-value/index.js +3 -3
  44. package/dist/components/inputs/radio/index.d.ts +2 -0
  45. package/dist/components/inputs/radio/index.js +1 -1
  46. package/dist/components/inputs/search/index.js +6 -6
  47. package/dist/components/inputs/select/index.d.ts +22 -4
  48. package/dist/components/inputs/select/index.js +3 -3
  49. package/dist/components/inputs/slider/index.d.ts +12 -3
  50. package/dist/components/inputs/slider/index.js +1 -1
  51. package/dist/components/inputs/switch/index.d.ts +2 -0
  52. package/dist/components/inputs/switch/index.js +1 -1
  53. package/dist/components/inputs/textarea/index.d.ts +8 -1
  54. package/dist/components/inputs/textarea/index.js +1 -1
  55. package/dist/components/navigation/breadcrumb/index.js +4 -4
  56. package/dist/components/navigation/navigation-menu/index.js +2 -2
  57. package/dist/components/navigation/pagination/index.js +3 -3
  58. package/dist/components/navigation/sidebar/index.js +8 -7
  59. package/dist/components/navigation/tree/index.js +2 -1
  60. package/dist/components/overlays/alert-dialog/index.d.ts +3 -3
  61. package/dist/components/overlays/alert-dialog/index.js +5 -5
  62. package/dist/components/overlays/command/index.d.ts +1 -1
  63. package/dist/components/overlays/command/index.js +5 -5
  64. package/dist/components/overlays/context-menu/index.d.ts +20 -1
  65. package/dist/components/overlays/context-menu/index.js +4 -4
  66. package/dist/components/overlays/dialog/index.d.ts +3 -3
  67. package/dist/components/overlays/dialog/index.js +4 -4
  68. package/dist/components/overlays/dropdown/index.d.ts +30 -8
  69. package/dist/components/overlays/dropdown/index.js +3 -3
  70. package/dist/components/overlays/lightbox/index.js +3 -3
  71. package/dist/components/overlays/popover/index.d.ts +6 -6
  72. package/dist/components/overlays/popover/index.js +3 -3
  73. package/dist/components/overlays/preview-card/index.js +2 -2
  74. package/dist/components/overlays/sheet/index.d.ts +3 -3
  75. package/dist/components/overlays/sheet/index.js +5 -5
  76. package/dist/components/overlays/toast/index.d.ts +1 -1
  77. package/dist/components/overlays/toast/index.js +3 -3
  78. package/dist/components/overlays/tooltip/index.d.ts +35 -10
  79. package/dist/components/overlays/tooltip/index.js +3 -3
  80. package/dist/docs/index.js +9 -8
  81. package/dist/index.d.ts +92 -38
  82. package/dist/index.js +47 -46
  83. package/dist/lib/inert.d.ts +7 -0
  84. package/dist/lib/inert.js +6 -0
  85. package/dist/lib/overlay.d.ts +20 -13
  86. package/dist/lib/overlay.js +2 -1
  87. package/dist/lib/slot.d.ts +5 -2
  88. package/dist/lib/slot.js +1 -1
  89. package/dist/primitives/layout/resizable/index.d.ts +4 -2
  90. package/dist/primitives/layout/resizable/index.js +1 -1
  91. package/dist/primitives/systems/morph/index.js +3 -3
  92. package/dist/primitives/systems/motion/index.js +3 -3
  93. package/dist/shared/{components-s90v3jpr.js → components-01e24999.js} +60 -11
  94. package/dist/shared/{components-a1ms36qq.js → components-1f5624hb.js} +1 -1
  95. package/dist/shared/{components-9z7bq8gn.js → components-1sbnbq6a.js} +1 -1
  96. package/dist/shared/{components-w2at9ntm.js → components-27fatggq.js} +1 -1
  97. package/dist/shared/{components-fmyvz4r2.js → components-2bq4ng4d.js} +4 -4
  98. package/dist/shared/components-2myjk2zf.js +8 -0
  99. package/dist/shared/{components-hz6armxa.js → components-2tw25pk6.js} +3 -0
  100. package/dist/shared/{components-nhmgr5xc.js → components-2v4mmw1s.js} +10 -7
  101. package/dist/shared/{components-twyj2y8c.js → components-3rt5c1qt.js} +1 -1
  102. package/dist/shared/{components-91mmbrw3.js → components-3sb31vw5.js} +1 -1
  103. package/dist/shared/{components-1f3a7gmg.js → components-4fswe4kh.js} +1 -1
  104. package/dist/shared/{components-gsstwhtv.js → components-5vezp3e5.js} +3 -0
  105. package/dist/shared/{components-ee09xmkh.js → components-6g8a5nrs.js} +4 -1
  106. package/dist/shared/{components-h0x2pj2y.js → components-6xtntksc.js} +17 -3
  107. package/dist/shared/{components-1asw2ph0.js → components-7g2q2ccp.js} +1 -1
  108. package/dist/shared/{components-kwxye0an.js → components-7wjkag2j.js} +4 -2
  109. package/dist/shared/{components-vfreweq3.js → components-83jn0raj.js} +1 -1
  110. package/dist/shared/{components-1bnf96sr.js → components-8e0fjgm9.js} +37 -9
  111. package/dist/shared/{components-j79a6jqa.js → components-8ybvpebx.js} +1 -1
  112. package/dist/shared/{components-me742146.js → components-a3brpprb.js} +1 -1
  113. package/dist/shared/{components-ev0ytbqb.js → components-abqfs5fh.js} +1 -1
  114. package/dist/shared/{components-r5q9gdh4.js → components-agjpst9b.js} +5 -5
  115. package/dist/shared/{components-6rtawx8y.js → components-e52xgvd9.js} +4 -4
  116. package/dist/shared/{components-0cpte6s1.js → components-eebf7f9c.js} +4 -3
  117. package/dist/shared/{components-xa9fvd5b.js → components-etgpz4zk.js} +1 -1
  118. package/dist/shared/{components-b9bj65j3.js → components-ex2xtqv7.js} +6 -6
  119. package/dist/shared/{components-n0gbyp5a.js → components-fjg4j430.js} +5 -5
  120. package/dist/shared/{components-280grw6q.js → components-fxw1122w.js} +1 -1
  121. package/dist/shared/{components-y8m64zdw.js → components-gnsvnejm.js} +1 -1
  122. package/dist/shared/{components-7mj5wsv3.js → components-gr82tz50.js} +21 -3
  123. package/dist/shared/{components-22h8dvt1.js → components-k25zw9g8.js} +3 -3
  124. package/dist/shared/{components-a1mwqxsv.js → components-k2gg1agj.js} +3 -3
  125. package/dist/shared/{components-wx1dcp2n.js → components-kz6ak6kj.js} +1 -1
  126. package/dist/shared/{components-yf2gtq68.js → components-m7d7r3r8.js} +8 -5
  127. package/dist/shared/{components-62510420.js → components-mvwf8ckh.js} +4 -4
  128. package/dist/shared/{components-2m2hg11x.js → components-nh05qz8b.js} +3 -3
  129. package/dist/shared/{components-77gxngmc.js → components-nred2e6g.js} +5 -5
  130. package/dist/shared/{components-3rvrdsa9.js → components-s2pnh8h9.js} +1 -1
  131. package/dist/shared/{components-xnkc892z.js → components-t4j0r23n.js} +1 -1
  132. package/dist/shared/{components-rgng034x.js → components-tcm3k3wj.js} +24 -3
  133. package/dist/shared/{components-p32aqk3q.js → components-vx286kq7.js} +110 -73
  134. package/dist/shared/{components-b2kjsn1s.js → components-vykcfb5r.js} +1 -1
  135. package/dist/shared/{components-hcftn5r8.js → components-x5v7e0fz.js} +3 -0
  136. package/dist/shared/{components-0h2mng6m.js → components-ycwhrqe1.js} +1 -1
  137. package/dist/shared/{components-chda6b23.js → components-ypxst3cn.js} +33 -4
  138. package/dist/shared/{components-14wzcym0.js → components-z87sanbc.js} +5 -5
  139. package/dist/shared/{components-fqsgd07c.js → components-zv63s4fh.js} +2 -2
  140. package/dist/styles.css +5 -1
  141. package/lib/inert.ts +15 -0
  142. package/lib/overlay.tsx +49 -5
  143. package/lib/slot.tsx +9 -3
  144. package/package.json +6 -1
  145. package/primitives/layout/resizable/index.tsx +35 -7
package/dist/index.d.ts CHANGED
@@ -833,7 +833,7 @@ declare const Copy: ForwardRefExoticComponent_tcubfn10<CopyProps & RefAttributes
833
833
  import { ForwardRefExoticComponent as ForwardRefExoticComponent2, HTMLAttributes as HTMLAttributes13, ReactNode as ReactNode13, RefAttributes as RefAttributes2 } from "react";
834
834
  import { ButtonHTMLAttributes as ButtonHTMLAttributes4, ReactElement as ReactElement6, ReactNode as ReactNode10 } from "react";
835
835
  interface SlotProps extends ButtonHTMLAttributes4<HTMLButtonElement> {
836
- /** The element that becomes the control, e.g. a Button. */
836
+ /** The element that becomes the control, e.g. a Button. `children` fill it when it has none of its own. */
837
837
  render?: ReactElement6;
838
838
  /** Compose onto the single child instead. Defaults to `false`. */
839
839
  asChild?: boolean;
@@ -1934,6 +1934,8 @@ interface CheckboxProps extends HTMLAttributes20<HTMLDivElement> {
1934
1934
  disabled?: boolean;
1935
1935
  /** Submits the checkbox under this name in a form, while checked. */
1936
1936
  name?: string;
1937
+ /** Must be checked before its form submits: the browser's validation (and an enclosing Field's) reports it missing. Defaults to `false`. */
1938
+ required?: boolean;
1937
1939
  /** The value submitted while checked. Defaults to `"on"`. */
1938
1940
  value?: string;
1939
1941
  /** Pins the checkbox to one step of the size ladder (see Sizes). Defaults to the surrounding SizeProvider (a group's `size`). */
@@ -2308,7 +2310,8 @@ type ComboboxChipsProps = ComboboxFieldProps;
2308
2310
  declare const ComboboxInput: ForwardRefExoticComponent_tcubfn26<ComboboxFieldProps & RefAttributes_miuf5626<HTMLInputElement>>;
2309
2311
  declare const ComboboxChips: ForwardRefExoticComponent_tcubfn26<ComboboxFieldProps & RefAttributes_miuf5626<HTMLInputElement>>;
2310
2312
  import { HTMLAttributes as HTMLAttributes23, ReactNode as ReactNode30 } from "react";
2311
- import { RefObject as RefObject6 } from "react";
2313
+ import { Popover as Popover2 } from "@base-ui/react/popover";
2314
+ import { ComponentProps as ComponentProps2, RefObject as RefObject6 } from "react";
2312
2315
  type Side = "top" | "right" | "bottom" | "left";
2313
2316
  type Align = "start" | "center" | "end";
2314
2317
  /**
@@ -2325,6 +2328,21 @@ interface AnchorProps {
2325
2328
  /** Portal target. Defaults to the nearest `PortalContainer`, else the document body. */
2326
2329
  container?: HTMLElement | null;
2327
2330
  }
2331
+ type Positioner2 = ComponentProps2<typeof Popover2.Positioner2>;
2332
+ /**
2333
+ * The finer positioning props a content may add to `AnchorProps`, forwarded
2334
+ * to Base UI's `Positioner` by `positionerProps`. Documented once.
2335
+ */
2336
+ interface CollisionProps {
2337
+ /** Shift along the aligned edge in px, after `align`, or Base UI's function of side, align and sizes. Defaults to `0`. */
2338
+ alignOffset?: Positioner2["alignOffset"];
2339
+ /** Space kept between the panel and the edge of its collision boundary, in px or per side. Defaults to `5`. */
2340
+ collisionPadding?: Positioner2["collisionPadding"];
2341
+ /** The area the panel stays inside: an element, several, or a rect. Defaults to `'clipping-ancestors'`. */
2342
+ collisionBoundary?: Positioner2["collisionBoundary"];
2343
+ /** Classes for the positioner, the element that carries the panel's place and stacking (a `z-index` over a host's own layers). */
2344
+ positionerClassName?: string;
2345
+ }
2328
2346
  /** What an overlay's parts read from its root. */
2329
2347
  interface OverlayState {
2330
2348
  open: boolean;
@@ -2406,7 +2424,7 @@ interface ComboboxProps {
2406
2424
  filter?: ((item: ComboboxItemData, query: string) => boolean) | null;
2407
2425
  /** Controlled query, the field's text. Pair with `onQueryChange`. */
2408
2426
  query?: string;
2409
- /** Initial query, for an uncontrolled field. Defaults to `""`. */
2427
+ /** Initial query, for an uncontrolled field. Defaults to the picked item's label in a single field, else `""`. */
2410
2428
  defaultQuery?: string;
2411
2429
  /** Called with the field's text on every keystroke, and when a pick, a clear or a close rewrites it; Base UI's details tell them apart (`details.reason === 'input-change'` for typing). */
2412
2430
  onQueryChange?: (query: string, details: ComboboxRootChangeEventDetails) => void;
@@ -3758,6 +3776,8 @@ interface RadioGroupProps extends Omit<HTMLAttributes26<HTMLDivElement>, "onSele
3758
3776
  onValueChange?: (value: string) => void;
3759
3777
  /** Submits the selected row's `value` under this name in a form (value mode). */
3760
3778
  name?: string;
3779
+ /** A row must be picked before the form submits: the browser's validation (and an enclosing Field's) reports it missing. Defaults to `false`. */
3780
+ required?: boolean;
3761
3781
  /** Disables every row. Defaults to `false`. */
3762
3782
  disabled?: boolean;
3763
3783
  /** Pins the group's rows to one step of the size ladder (default 36px, compact 28px). Defaults to the surrounding SizeProvider. */
@@ -3988,7 +4008,7 @@ type Element_12xgc32 = JSX_1kxb32["Element"];
3988
4008
  */
3989
4009
  declare function Search2({ variant, placeholder, items, value, defaultValue, onValueChange, onSubmit, expanded, defaultExpanded, onExpandedChange, width, align, shortcut, emptyMessage, effect, tier, container, size: sizeProp, className }: SearchProps): Element_12xgc32;
3990
4010
  import { Select as SelectPrimitive } from "@base-ui/react/select";
3991
- import { ComponentProps as ComponentProps2, HTMLAttributes as HTMLAttributes28, ReactElement as ReactElement8, ReactNode as ReactNode47 } from "react";
4011
+ import { ComponentProps as ComponentProps3, HTMLAttributes as HTMLAttributes28, ReactElement as ReactElement8, ReactNode as ReactNode47 } from "react";
3992
4012
  import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn33 } from "react";
3993
4013
  import { RefAttributes as RefAttributes_miuf5633 } from "react";
3994
4014
  import { JSX as JSX_1kxb33 } from "react";
@@ -4051,8 +4071,8 @@ interface SelectTriggerProps extends Omit<HTMLAttributes28<HTMLButtonElement>, "
4051
4071
  wrapperClassName?: string;
4052
4072
  }
4053
4073
  declare const SelectTrigger: ForwardRefExoticComponent_tcubfn33<SelectTriggerProps & RefAttributes_miuf5633<HTMLButtonElement>>;
4054
- type SelectPopupProps = ComponentProps2<typeof SelectPrimitive.Popup>;
4055
- interface SelectContentProps extends AnchorProps, MorphProps, Omit<HTMLAttributes28<HTMLDivElement>, "children"> {
4074
+ type SelectPopupProps = ComponentProps3<typeof SelectPrimitive.Popup>;
4075
+ interface SelectContentProps extends AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes28<HTMLDivElement>, "children"> {
4056
4076
  /** Where focus goes when the popup closes: a ref, `false` to leave it, `true` for the default, or a function of how it closed. Defaults to the trigger. */
4057
4077
  finalFocus?: SelectPopupProps["finalFocus"];
4058
4078
  /** Additional classes for the menu container. */
@@ -4110,7 +4130,8 @@ declare const SelectSeparator: ForwardRefExoticComponent_tcubfn33<HTMLAttributes
4110
4130
  * look included: childless it keeps the value slot and chevron, with
4111
4131
  * children those are its whole body.
4112
4132
  * - `Select.Value` — the value slot: the picked row's label, else the muted `placeholder`.
4113
- * - `Select.Content` — the popup: `side`, `align`, `sideOffset`, `container`, `finalFocus` and the
4133
+ * - `Select.Content` — the popup: `side`, `align`, `sideOffset`, `alignOffset`, `collisionPadding`,
4134
+ * `collisionBoundary`, `positionerClassName`, `container`, `finalFocus` and the
4114
4135
  * morph options `from`, `effect`, `hideSource`, `tier`.
4115
4136
  * - `Select.Item` — one row: `value`, optional `index`, `textValue`, `icon`, `disabled`;
4116
4137
  * its children are the label.
@@ -4162,10 +4183,13 @@ interface SliderEngineProps extends Omit<HTMLAttributes29<HTMLDivElement>, "onCh
4162
4183
  hideFill?: boolean;
4163
4184
  thumbColor?: string;
4164
4185
  thumbBorderColor?: string;
4186
+ orientation?: "horizontal" | "vertical";
4187
+ /** Called once an interaction ends (a pointer lifting, a keyboard step, a committed edit). */
4188
+ onCommit?: () => void;
4165
4189
  }
4166
4190
  import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn35 } from "react";
4167
4191
  import { RefAttributes as RefAttributes_miuf5635 } from "react";
4168
- interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange"> {
4192
+ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange" | "onCommit"> {
4169
4193
  /** Step on the size ladder (see Sizes). Default renders the pip/scrubber design; compact renders the dense design. Defaults to the surrounding SizeProvider, else `"default"`. */
4170
4194
  size?: SizeVariant;
4171
4195
  /** Default-step layout. "pips" shows discrete dot indicators; "scrubber" drags anywhere in the row for a continuous value. Ignored when the compact design renders. Defaults to `"pips"`. */
@@ -4176,6 +4200,10 @@ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange">
4176
4200
  defaultValue?: SliderValue;
4177
4201
  /** Called when the value changes via drag, click, or keyboard. */
4178
4202
  onValueChange?: (value: SliderValue) => void;
4203
+ /** Called once when an interaction ends, with the value it settled on: the pointer lifting after a drag or click, a keyboard step, or a committed edit of the value label. `onValueChange` reports every value on the way, so save from here and preview from there. */
4204
+ onValueCommit?: (value: SliderValue) => void;
4205
+ /** Layout axis. `"vertical"` stands the track upright (min at the bottom; ArrowUp / ArrowRight raise it, ArrowDown / ArrowLeft lower it) and always renders the compact design, which is the only one with a vertical layout. Give it a height with `className` (`h-48`); `valuePosition` then defaults to `"top"`. Defaults to `"horizontal"`. */
4206
+ orientation?: "horizontal" | "vertical";
4179
4207
  /** Minimum value. Defaults to `0`. */
4180
4208
  min?: number;
4181
4209
  /** Maximum value. Defaults to `100`. */
@@ -4188,7 +4216,7 @@ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange">
4188
4216
  showSteps?: boolean;
4189
4217
  /** Whether to display the current value label. Defaults to `true`. */
4190
4218
  showValue?: boolean;
4191
- /** Position of the value label. "tooltip" shows above the thumb during interaction. Defaults to `"left"`. */
4219
+ /** Position of the value label. "tooltip" shows above the thumb during interaction (beside it when vertical). Defaults to `"left"`, or `"top"` when vertical. */
4192
4220
  valuePosition?: ValuePosition;
4193
4221
  /** Custom formatter for the value label. Defaults to `String`. */
4194
4222
  formatValue?: (v: number) => string;
@@ -4213,7 +4241,9 @@ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange">
4213
4241
  * value label is click-to-edit.
4214
4242
  *
4215
4243
  * Works controlled (`value` + `onValueChange`) or uncontrolled
4216
- * (`defaultValue`, with `onValueChange` reporting each change). Track
4244
+ * (`defaultValue`, with `onValueChange` reporting each change);
4245
+ * `onValueCommit` reports the value once an interaction ends.
4246
+ * `orientation="vertical"` stands the dense design upright. Track
4217
4247
  * styling props come from the compact engine: `trackClassName`,
4218
4248
  * `trackStyle`, `fillClassName`, `fillStyle`, `hideFill`, `thumbColor` and
4219
4249
  * `thumbBorderColor` — each one also forces the dense design.
@@ -4244,6 +4274,8 @@ interface SwitchProps extends HTMLAttributes30<HTMLDivElement> {
4244
4274
  disabled?: boolean;
4245
4275
  /** Submits the switch under this name in a form, while on. */
4246
4276
  name?: string;
4277
+ /** Must be on before its form submits: the browser's validation (and an enclosing Field's) reports it missing. Defaults to `false`. */
4278
+ required?: boolean;
4247
4279
  /** The value submitted while on. Defaults to `"on"`. */
4248
4280
  value?: string;
4249
4281
  /** Transition for the thumb's slide and hover/press stretch. Defaults to the `spring.moderate` motion token. */
@@ -4307,7 +4339,7 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
4307
4339
  value?: string;
4308
4340
  /** Initial value when uncontrolled. Defaults to `''`. */
4309
4341
  defaultValue?: string;
4310
- /** Called with the new value on every change. */
4342
+ /** Called with the new value on every change. With neither `value` nor `onValueChange` the textarea keeps its text in the DOM, for forms that read it through a `ref`. */
4311
4343
  onValueChange?: (value: string) => void;
4312
4344
  /** Rows shown when empty; the box never gets shorter. Defaults to `3`. */
4313
4345
  minRows?: number;
@@ -4342,6 +4374,13 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
4342
4374
  * or put it in an `InputGroup.Field` to label it, join the group's hover and
4343
4375
  * take the field's error.
4344
4376
  *
4377
+ * With neither `value` nor `onValueChange` it is a plain uncontrolled
4378
+ * `<textarea>`: the DOM holds the text, `ref` is the real element, and
4379
+ * `defaultValue`, `ref.current.value = ''` and a native `form.reset()` all
4380
+ * behave as on any textarea (the box re-fits after each), which is what a
4381
+ * form library reading fields through refs (`register()`) needs. Pass it
4382
+ * `name`, `ref` and `defaultValue`.
4383
+ *
4345
4384
  * @example {@include ./examples.mdx}
4346
4385
  */
4347
4386
  declare const Textarea: ForwardRefExoticComponent_tcubfn36<TextareaProps & RefAttributes_miuf5636<HTMLTextAreaElement>>;
@@ -4719,7 +4758,7 @@ declare function Tree({ items, expanded: expandedProp, defaultExpanded, onExpand
4719
4758
  import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
4720
4759
  import { MouseEvent as MouseEvent3, ReactNode as ReactNode59 } from "react";
4721
4760
  import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
4722
- import { ComponentProps as ComponentProps3, HTMLAttributes as HTMLAttributes31, ReactNode as ReactNode58 } from "react";
4761
+ import { ComponentProps as ComponentProps4, HTMLAttributes as HTMLAttributes31, ReactNode as ReactNode58 } from "react";
4723
4762
  import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn44 } from "react";
4724
4763
  import { RefAttributes as RefAttributes_miuf5644 } from "react";
4725
4764
  import { JSX as JSX_1kxb39 } from "react";
@@ -4729,7 +4768,7 @@ type DialogWidth = "sm" | "lg" | "xl";
4729
4768
  declare const useDialogState: () => OverlayState;
4730
4769
  declare const DialogTrigger: ForwardRefExoticComponent_tcubfn44<SlotProps & RefAttributes_miuf5644<HTMLButtonElement>>;
4731
4770
  declare const DialogClose: ForwardRefExoticComponent_tcubfn44<SlotProps & RefAttributes_miuf5644<HTMLButtonElement>>;
4732
- type DialogPopupProps = ComponentProps3<typeof DialogPrimitive.Popup>;
4771
+ type DialogPopupProps = ComponentProps4<typeof DialogPrimitive.Popup>;
4733
4772
  interface DialogContentProps extends MorphProps, HTMLAttributes31<HTMLDivElement> {
4734
4773
  /** Width: 400, 540 or 880px, each one notch narrower in a compact region (360, 480, 800). `xl` is the canvas for a composed layout, usually with `className="p-0"` and a fixed height. Defaults to `'sm'`. */
4735
4774
  width?: DialogWidth;
@@ -5001,7 +5040,7 @@ declare const DropdownShortcut: ForwardRefExoticComponent17<DropdownShortcutProp
5001
5040
  /** A menu row: `label` or `children`, an optional `index`, `icon`, `inset`, `shortcut`, `checked`, `onSelect`. */
5002
5041
  declare const MenuItem2: ForwardRefExoticComponent17<MenuItemProps & RefAttributes17<HTMLDivElement>>;
5003
5042
  import { Menu as Menu2 } from "@base-ui/react/menu";
5004
- import { ComponentProps as ComponentProps4, RefObject as RefObject14 } from "react";
5043
+ import { ComponentProps as ComponentProps5, RefObject as RefObject14 } from "react";
5005
5044
  import { HTMLAttributes as HTMLAttributes33, InputHTMLAttributes as InputHTMLAttributes6 } from "react";
5006
5045
  import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn46 } from "react";
5007
5046
  import { RefAttributes as RefAttributes_miuf5646 } from "react";
@@ -5048,7 +5087,7 @@ interface MenuFocusProps {
5048
5087
  /** Where focus goes once the menu has opened: `false` leaves it where the primitive put it (Base UI still focuses the popup, or the first row on a keyboard open), a ref focuses that element. Defaults to the first enabled row in `Dropdown.Content`, the primitive's own choice elsewhere. */
5049
5088
  initialFocus?: boolean | RefObject14<HTMLElement | null>;
5050
5089
  /** Where focus goes once the menu has closed: `false` leaves it, a ref moves it there, a function picks by how it closed. Defaults to the trigger. */
5051
- finalFocus?: ComponentProps4<typeof Menu2.Popup>["finalFocus"];
5090
+ finalFocus?: ComponentProps5<typeof Menu2.Popup>["finalFocus"];
5052
5091
  }
5053
5092
  import { MenuRootChangeEventDetails } from "@base-ui/react/menu";
5054
5093
  import { HTMLAttributes as HTMLAttributes35, ReactNode as ReactNode63 } from "react";
@@ -5086,7 +5125,7 @@ interface DropdownSubTriggerProps extends Omit<MenuItemProps, "checked" | "onSel
5086
5125
  * stays lit while its submenu is open.
5087
5126
  */
5088
5127
  declare const DropdownSubTrigger: ForwardRefExoticComponent_tcubfn48<DropdownSubTriggerProps & RefAttributes_miuf5648<HTMLDivElement>>;
5089
- interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, MorphProps, Omit<HTMLAttributes35<HTMLDivElement>, "children"> {
5128
+ interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes35<HTMLDivElement>, "children"> {
5090
5129
  /** The submenu's rows: the same parts as `Dropdown.Content`, another `Dropdown.Sub` included. */
5091
5130
  children: ReactNode63;
5092
5131
  /** Side of the trigger row the submenu opens on; it flips when there is no room. Defaults to `"right"`. */
@@ -5095,6 +5134,8 @@ interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, A
5095
5134
  align?: AnchorProps["align"];
5096
5135
  /** Gap to the parent menu in px, the length of the goo neck. Defaults to `8`. */
5097
5136
  sideOffset?: number;
5137
+ /** Shift along the aligned edge in px. Defaults to `-4`: the panel's padding, so its first row lines up with the trigger row. */
5138
+ alignOffset?: CollisionProps["alignOffset"];
5098
5139
  /** Extra classes for the submenu surface: it is 14rem wide by default. */
5099
5140
  className?: string;
5100
5141
  /** Keep the submenu mounted (hidden) while closed, so its rows keep their own state across opens. A kept parent keeps it too. Defaults to `false`. */
@@ -5236,10 +5277,11 @@ type DropdownComponent = ForwardRefExoticComponent18<DropdownProps & RefAttribut
5236
5277
  *
5237
5278
  * Statics:
5238
5279
  * - `Dropdown.Menu` — the popup root: `open`, `defaultOpen`, `onOpenChange`
5239
- * (with Base UI's details: `reason`, `cancel()`), `disabled`, `size`.
5280
+ * (with Base UI's details: `reason`, `cancel()`), `disabled`, `modal`, `size`.
5240
5281
  * - `Dropdown.Trigger` — `render` or `asChild`.
5241
5282
  * - `Dropdown.Content` — the popup panel: the selection props above, `side`,
5242
- * `align`, `sideOffset`, `container`, `keepMounted`, `initialFocus`,
5283
+ * `align`, `sideOffset`, `alignOffset`, `collisionPadding`,
5284
+ * `collisionBoundary`, `positionerClassName`, `container`, `keepMounted`, `initialFocus`,
5243
5285
  * `finalFocus` and the morph options `from`, `effect`, `hideSource`, `tier`.
5244
5286
  * - `Dropdown.Item` — a row: `label` or `children`, `textValue`, `icon`,
5245
5287
  * `index`, `inset`, `checked`, `onSelect(event)` (`preventDefault()` keeps
@@ -5276,11 +5318,13 @@ interface DropdownMenuProps {
5276
5318
  onOpenChange?: (open: boolean, details: DropdownOpenChangeDetails) => void;
5277
5319
  /** Disables the menu. Defaults to `false`. */
5278
5320
  disabled?: boolean;
5321
+ /** Locks the page scroll while the menu is open and keeps the pointer off everything outside it. Non-modal, the page keeps scrolling and the popup follows its trigger. Defaults to `false`. */
5322
+ modal?: boolean;
5279
5323
  /** Pins trigger-side content and the portalled popup rows to one step of the size ladder (default 36px, compact 28px — see Sizes). Omitted, they follow the surrounding SizeProvider. */
5280
5324
  size?: SizeVariant;
5281
5325
  }
5282
5326
  type Element_12xgc42 = JSX_1kxb42["Element"];
5283
- declare function DropdownMenu({ children, open, defaultOpen, onOpenChange, disabled, size }: DropdownMenuProps): Element_12xgc42;
5327
+ declare function DropdownMenu({ children, open, defaultOpen, onOpenChange, disabled, modal, size }: DropdownMenuProps): Element_12xgc42;
5284
5328
  interface DropdownTriggerProps extends SlotProps {
5285
5329
  /** Open on hover as well as on press. Defaults to `false`. */
5286
5330
  openOnHover?: boolean;
@@ -5290,7 +5334,7 @@ interface DropdownTriggerProps extends SlotProps {
5290
5334
  closeDelay?: number;
5291
5335
  }
5292
5336
  declare const DropdownTrigger: ForwardRefExoticComponent18<DropdownTriggerProps & RefAttributes18<HTMLButtonElement>>;
5293
- interface DropdownContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, MorphProps, Omit<HTMLAttributes37<HTMLDivElement>, "children"> {
5337
+ interface DropdownContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes37<HTMLDivElement>, "children"> {
5294
5338
  /** `Dropdown.Item` rows, plus `Dropdown.Label`, `Dropdown.Separator`, `Dropdown.Search`, `Dropdown.Empty`. */
5295
5339
  children: ReactNode65;
5296
5340
  /** Extra classes for the popup surface — it is 18rem wide by default, at least the trigger's width. */
@@ -5438,7 +5482,7 @@ declare const Lightbox: (({ items, value, defaultValue, onValueChange, zoom, chi
5438
5482
  Trigger: typeof LightboxTrigger;
5439
5483
  };
5440
5484
  import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
5441
- import { ComponentProps as ComponentProps5, HTMLAttributes as HTMLAttributes39, ReactNode as ReactNode68 } from "react";
5485
+ import { ComponentProps as ComponentProps6, HTMLAttributes as HTMLAttributes39, ReactNode as ReactNode68 } from "react";
5442
5486
  import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn51 } from "react";
5443
5487
  import { RefAttributes as RefAttributes_miuf5651 } from "react";
5444
5488
  import { JSX as JSX_1kxb45 } from "react";
@@ -5452,8 +5496,8 @@ interface PopoverTriggerProps extends SlotProps {
5452
5496
  }
5453
5497
  declare const PopoverTrigger: ForwardRefExoticComponent_tcubfn51<PopoverTriggerProps & RefAttributes_miuf5651<HTMLButtonElement>>;
5454
5498
  declare const PopoverClose: ForwardRefExoticComponent_tcubfn51<SlotProps & RefAttributes_miuf5651<HTMLButtonElement>>;
5455
- type PositionerProps = ComponentProps5<typeof PopoverPrimitive.Positioner>;
5456
- type PopupProps = ComponentProps5<typeof PopoverPrimitive.Popup>;
5499
+ type PositionerProps = ComponentProps6<typeof PopoverPrimitive.Positioner>;
5500
+ type PopupProps = ComponentProps6<typeof PopoverPrimitive.Popup>;
5457
5501
  /** What the panel is positioned against: an element, a ref to one, a virtual element (`{ getBoundingClientRect }`), or a function returning either. */
5458
5502
  type PopoverAnchor = PositionerProps["anchor"];
5459
5503
  interface PopoverContentProps extends AnchorProps, MorphProps, HTMLAttributes39<HTMLDivElement> {
@@ -5533,7 +5577,7 @@ type Element_12xgc45 = JSX_1kxb45["Element"];
5533
5577
  * @license MIT © 2026 Saurabh Chauhan
5534
5578
  * @license MIT © 2024 ibelick
5535
5579
  */
5536
- declare const Popover2: (({ open, defaultOpen, onOpenChange, modal, children }: PopoverProps) => Element_12xgc45) & {
5580
+ declare const Popover3: (({ open, defaultOpen, onOpenChange, modal, children }: PopoverProps) => Element_12xgc45) & {
5537
5581
  Trigger: ForwardRefExoticComponent_tcubfn51<PopoverTriggerProps & RefAttributes_miuf5651<HTMLButtonElement>>;
5538
5582
  Content: ForwardRefExoticComponent_tcubfn51<PopoverContentProps & RefAttributes_miuf5651<HTMLDivElement>>;
5539
5583
  Title: ForwardRefExoticComponent_tcubfn51<HTMLAttributes39<HTMLHeadingElement> & RefAttributes_miuf5651<HTMLHeadingElement>>;
@@ -5609,12 +5653,12 @@ declare const PreviewCard: (({ open, defaultOpen, onOpenChange, children }: Prev
5609
5653
  Content: ForwardRefExoticComponent_tcubfn52<PreviewCardContentProps & RefAttributes_miuf5652<HTMLDivElement>>;
5610
5654
  };
5611
5655
  import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
5612
- import { ComponentProps as ComponentProps6, HTMLAttributes as HTMLAttributes41, ReactNode as ReactNode70 } from "react";
5656
+ import { ComponentProps as ComponentProps7, HTMLAttributes as HTMLAttributes41, ReactNode as ReactNode70 } from "react";
5613
5657
  import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn53 } from "react";
5614
5658
  import { RefAttributes as RefAttributes_miuf5653 } from "react";
5615
5659
  import { JSX as JSX_1kxb47 } from "react";
5616
5660
  type SheetSide = Side;
5617
- type DrawerPopupProps = ComponentProps6<typeof DrawerPrimitive.Popup>;
5661
+ type DrawerPopupProps = ComponentProps7<typeof DrawerPrimitive.Popup>;
5618
5662
  interface SheetContentProps extends MorphProps, HTMLAttributes41<HTMLDivElement> {
5619
5663
  /** Portal target. Defaults to the nearest `PortalContainer`, else the document body. */
5620
5664
  container?: HTMLElement | null;
@@ -5877,17 +5921,21 @@ interface TooltipProviderProps {
5877
5921
  delayDuration?: number;
5878
5922
  /** After a tooltip closes, adjacent tooltips opened within this window skip the hover delay, in ms. Defaults to `300`. */
5879
5923
  skipDelayDuration?: number;
5924
+ /** Same as `skipDelayDuration` (Base UI's name); `timeout` wins when both are set. */
5925
+ timeout?: number;
5926
+ /** Delay before tooltips close once the pointer leaves, in ms. Defaults to `0`. */
5927
+ closeDelay?: number;
5880
5928
  }
5881
5929
  /**
5882
5930
  * Groups descendant Tooltips: once one opens, moving to an adjacent trigger
5883
5931
  * shows its tooltip at once instead of re-waiting the delay. Wrap once at
5884
5932
  * the app or section level; a bare Tooltip still works without it.
5885
5933
  */
5886
- declare function TooltipProvider({ children, delay, delayDuration, skipDelayDuration }: TooltipProviderProps): Element_12xgc49;
5934
+ declare function TooltipProvider({ children, delay, delayDuration, skipDelayDuration, timeout, closeDelay }: TooltipProviderProps): Element_12xgc49;
5887
5935
  type TooltipSide = Side;
5888
5936
  type TooltipTriggerProps = SlotProps;
5889
5937
  declare const TooltipTrigger: ForwardRefExoticComponent_tcubfn55<SlotProps & RefAttributes_miuf5655<HTMLButtonElement>>;
5890
- interface TooltipContentProps extends Omit<HTMLAttributes42<HTMLDivElement>, "children" | "className"> {
5938
+ interface TooltipContentProps extends CollisionProps, Omit<HTMLAttributes42<HTMLDivElement>, "children" | "className"> {
5891
5939
  /** The label. */
5892
5940
  children?: ReactNode73;
5893
5941
  /** The element the label renders as, inside the inverted surface; `children` go inside it. */
@@ -5904,7 +5952,7 @@ interface TooltipContentProps extends Omit<HTMLAttributes42<HTMLDivElement>, "ch
5904
5952
  container?: HTMLElement | null;
5905
5953
  /** Classes for the label's surface. */
5906
5954
  className?: string;
5907
- /** Extra classes for the portalled positioner element: a z utility here lifts the whole tooltip above other fixed layers (default `z-50`). */
5955
+ /** Same as `positionerClassName`: extra classes for the portalled positioner element, where a z utility lifts the whole tooltip above other fixed layers (default `z-50`). */
5908
5956
  contentClassName?: string;
5909
5957
  /** Where the label grows from (see Morph): the trigger, the pointer, its own center, a viewport edge, or a ref to any element. Defaults to `'trigger'`. */
5910
5958
  from?: MorphFrom;
@@ -5914,7 +5962,7 @@ interface TooltipContentProps extends Omit<HTMLAttributes42<HTMLDivElement>, "ch
5914
5962
  tier?: MorphTier;
5915
5963
  }
5916
5964
  declare const TooltipContent: ForwardRefExoticComponent_tcubfn55<TooltipContentProps & RefAttributes_miuf5655<HTMLDivElement>>;
5917
- interface TooltipProps {
5965
+ interface TooltipProps extends CollisionProps {
5918
5966
  /** The content displayed inside the tooltip. Leave it out to use `Tooltip` as the root of a compound tooltip (`Tooltip.Trigger` + `Tooltip.Content` inside). */
5919
5967
  content?: ReactNode73;
5920
5968
  /** The trigger element, which must accept a ref; or, without `content`, the compound parts. */
@@ -5931,9 +5979,11 @@ interface TooltipProps {
5931
5979
  delay?: number;
5932
5980
  /** Same as `delay` (Radix's name); `delay` wins when both are set. */
5933
5981
  delayDuration?: number;
5982
+ /** Delay before this tooltip closes once the pointer leaves, in ms. Defaults to `0`, or to the ambient `TooltipProvider`'s `closeDelay`. */
5983
+ closeDelay?: number;
5934
5984
  /** Additional classes applied to the tooltip content container. */
5935
5985
  className?: string;
5936
- /** Extra classes for the portalled positioner element: a z utility here lifts the whole tooltip above other fixed layers (default `z-50`). */
5986
+ /** Same as `positionerClassName`: extra classes for the portalled positioner element, where a z utility lifts the whole tooltip above other fixed layers (default `z-50`). */
5937
5987
  contentClassName?: string;
5938
5988
  /** Controlled open state: `true` holds it open, `false` holds it closed, `undefined` leaves it to hover and focus. */
5939
5989
  open?: boolean;
@@ -5964,20 +6014,22 @@ interface TooltipProps {
5964
6014
  * Leave `content` out and `Tooltip` is the root of a compound tooltip: a
5965
6015
  * `Tooltip.Trigger` and a `Tooltip.Content` inside it. The root keeps the
5966
6016
  * state props (`open`, `defaultOpen`, `onOpenChange`, `delay` or `delayDuration`,
5967
- * `followCursor`); placement and the morph move to the content. The label
6017
+ * `closeDelay`, `followCursor`); placement and the morph move to the content. The label
5968
6018
  * looks and moves the same either way.
5969
6019
  *
5970
6020
  * Statics:
5971
6021
  * - `Tooltip.Trigger` — the described element: `render={<Button/>}` or
5972
6022
  * `asChild`, else a plain button around `children`.
5973
6023
  * - `Tooltip.Content` — the label: `side`, `align`, `sideOffset`,
5974
- * `container`, `contentClassName`, the morph options `from`, `effect`,
6024
+ * `alignOffset`, `collisionPadding`, `collisionBoundary`, `container`,
6025
+ * `positionerClassName` (or `contentClassName`), the morph options `from`, `effect`,
5975
6026
  * `tier`, and `render` or `asChild` for the label's own element; other
5976
6027
  * props land on the popup.
5977
6028
  * - `Tooltip.Provider` — `TooltipProvider`: groups tooltips so moving from
5978
6029
  * one trigger to an adjacent one skips the hover delay, and the morph: the
5979
6030
  * next label shows in place. `delay` (or `delayDuration`) sets the hover
5980
- * delay of every tooltip in it, `skipDelayDuration` the hand-off window.
6031
+ * delay of every tooltip in it, `closeDelay` how long they linger, and
6032
+ * `skipDelayDuration` (or `timeout`) the hand-off window.
5981
6033
  * - `Tooltip.PortalContainer` — the shared `PortalContainer`: portal every
5982
6034
  * descendant tooltip into a given element instead of the body.
5983
6035
  *
@@ -5985,7 +6037,7 @@ interface TooltipProps {
5985
6037
  * @source https://github.com/mickadesign/fluid-functionalism/blob/b3587bdbd83fc66c2a6aae3817ffb856cb09260b/registry/base/tooltip.tsx Fluid Functionalism
5986
6038
  * @license MIT © 2026 Micka Touillaud
5987
6039
  */
5988
- declare const Tooltip: (({ content, children, side, align, sideOffset, container, delay, delayDuration, className, contentClassName, open, defaultOpen, onOpenChange, followCursor, from, effect, tier }: TooltipProps) => Element_12xgc49) & {
6040
+ declare const Tooltip: (({ content, children, side, align, sideOffset, container, alignOffset, collisionPadding, collisionBoundary, positionerClassName, delay, delayDuration, closeDelay, className, contentClassName, open, defaultOpen, onOpenChange, followCursor, from, effect, tier }: TooltipProps) => Element_12xgc49) & {
5989
6041
  Trigger: ForwardRefExoticComponent_tcubfn55<SlotProps & RefAttributes_miuf5655<HTMLButtonElement>>;
5990
6042
  Content: ForwardRefExoticComponent_tcubfn55<TooltipContentProps & RefAttributes_miuf5655<HTMLDivElement>>;
5991
6043
  Provider: typeof TooltipProvider;
@@ -6169,7 +6221,7 @@ interface ResizableProps {
6169
6221
  direction?: ResizableDirection;
6170
6222
  /** Controlled panel sizes in percent, one per panel in order. Pair with `onSizesChange`. */
6171
6223
  sizes?: number[];
6172
- /** Called with every panel's size whenever a handle moves. */
6224
+ /** Called with every panel's size when a handle moves: on a drag's release, on each key and on a double-click. */
6173
6225
  onSizesChange?: (sizes: number[]) => void;
6174
6226
  /** Percent a handle moves per arrow key. Defaults to `5`. */
6175
6227
  step?: number;
@@ -6190,7 +6242,9 @@ interface ResizableProps {
6190
6242
  * its starting size. A collapsible panel snaps shut when dragged below half
6191
6243
  * its minimum. A drag follows the pointer; every other change of size (a
6192
6244
  * key, a reset, new controlled `sizes`, such as a toggle folding a pane)
6193
- * glides there. Sizes work uncontrolled (each panel's `defaultSize`) or
6245
+ * glides there. A drag writes the panels' sizes to the DOM and commits them
6246
+ * (`onSizesChange`) on release, so it re-renders nothing on the way. Sizes
6247
+ * work uncontrolled (each panel's `defaultSize`) or
6194
6248
  * controlled (`sizes` + `onSizesChange`). Groups nest: put a Resizable inside
6195
6249
  * a panel to split it the other way.
6196
6250
  *
@@ -6892,4 +6946,4 @@ type ElevatedComponent = ForwardRefExoticComponent22<ElevatedProps & RefAttribut
6892
6946
  * @license MIT © 2026 Micka Touillaud
6893
6947
  */
6894
6948
  declare const Elevated: ElevatedComponent;
6895
- export { Accordion, AccordionContent, AccordionContentProps, AccordionGroup, AccordionGroupProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogOpenChangeDetails, AlertDialogProps, AnsiSegment, Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, Button2 as Button, ButtonProps, ButtonSize, ButtonSizeCanonical, ButtonVariant, ButtonVariantsOptions, Calendar, CalendarProps, Card, CardAction, CardBorder, CardButton, CardButtonProps, CardContent, CardDescription, CardDivider, CardEyebrow, CardFeature, CardFeatureProps, CardFooter, CardGroup, CardGroupProps, CardHeader, CardImage, CardImageProps, CardLogo, CardMedia, CardMediaProps, CardOrientation, CardProps, CardTitle, CardTitleProps, CardTitleTag, Checkbox, CheckboxCheckedState, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceList, ChoiceListProps, ChoiceOption, Code, ColorFormat, ColorPicker, ColorPickerPopover, ColorPickerPopoverProps, ColorPickerProps, ColorSwatch, ColorSwatchProps, ColorTile, Combobox, ComboboxChips, ComboboxChipsProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxFooter, ComboboxFooterContext, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemData, ComboboxItemObject, ComboboxItemProps, ComboboxLabels, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxValue, Command, CommandContent, CommandContentProps, CommandGroup, CommandItem, CommandItems, CommandList, CommandListRoot, CommandPalette, CommandPaletteProps, CommandProps, CommandShortcut, CommandTrigger, ContextMenu, ContextMenuContent, ContextMenuContentProps, ContextMenuItem, ContextMenuItemProps, ContextMenuProps, Copy, CopyAlign, CopyLabels, CopyProps, CopyVariant, Craft, CraftProps, DateOf, DatePicker, DatePickerLabels, DatePickerProps, DateRangeInputProps, DateRangeOf, DateRangePicker, DateRangePickerLabels, DateRangePickerProps, DateValueType, DesktopPlatform, DesktopShell, DesktopShellProps, DesktopTitleBar, Dialog, DialogClose, DialogSlotProps as DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOpenChangeDetails, DialogProps, DialogState, DialogTitle, DialogTrigger, DialogSlotProps as DialogTriggerProps, DialogWidth, Diff, DiffLine, DiffLineKind, DiffProps, DragVerdict, Dropdown, DropdownCheckboxItem, DropdownCheckboxItemProps, DropdownContent, DropdownContentProps, DropdownContextValue, DropdownEmpty, DropdownGroup, DropdownGroupProps, DropdownLabel, DropdownLabelProps, DropdownMenu, DropdownMenuProps, DropdownOpenChangeDetails, DropdownProps, DropdownRadioGroup, DropdownRadioGroupProps, DropdownRadioItem, DropdownRadioItemProps, DropdownSearch, DropdownSearchProps, DropdownSeparator, DropdownShortcut, DropdownShortcutProps, DropdownSub, DropdownSubContent, DropdownSubContentProps, DropdownSubProps, DropdownSubTrigger, DropdownSubTriggerProps, DropdownTrigger, DropdownTriggerProps, DurationPicker, DurationPickerLabels, DurationPickerProps, EditableText, EditableTextProps, Elevated, ElevatedProps, EmptyState, EmptyStateProps, Field2 as Field, FieldControl, FieldControlProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorMatch, FieldErrorProps, FieldLabel, FieldLabelProps, FieldProps, FieldValidationMode, FileDropzone, FileDropzoneProps, FileRejection, FileRejectionReason, FileRow, FileRowProps, FileRowStatus, FluidHover, FluidHoverAxis, FluidHoverHighlight, FluidHoverHighlightProps, FluidHoverItem, FluidHoverItemProps, FluidHoverProps, GooFilter, GooIndicator, GooIndicatorProps, IconProvider, Input2 as Input, InputAction, InputActionProps, InputAdornment, InputAdornmentProps, InputFieldProps, InputGroup, InputGroupProps, InputProps, ItemRect, Kbd, KbdProps, KbdVariant, KeyValue, KeyValuePair, KeyValueProps, LIST_POPOVER, LIST_SWITCH, Label2 as Label, LabelProps, Lightbox, LightboxImage, LightboxProps, LightboxTrigger, LightboxTriggerProps, List2 as List, ListProps, ListRow, ListRowProps, ListSection, ListSectionProps, LogView, LogViewProps, Markdown, MarkdownProps, MarkdownProse, MarkdownProseProps, MenuItem2 as MenuItem, MenuItemProps, MenuItemRenderOptions, Meter, MeterProps, MeterTone, MonthPicker, MonthPickerLabels, MonthPickerProps, Morph2 as Morph, MorphEffect, MorphFrom, MorphOptions, MorphOrigin, MorphPart, MorphProps2 as MorphProps, MorphSide, Morph as MorphState, MorphSurface, MorphTier, Motion, MotionProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NumberInput, NumberInputProps, Pagination, PaginationProps, PaginationVariant, ParsedColor, Popover2 as Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverDescription, PopoverOpenChangeDetails, PopoverProps, PopoverTitle, PopoverTrigger, PopoverTriggerProps, PreviewCard, PreviewCardContent, PreviewCardContentProps, PreviewCardProps, PreviewCardTrigger, PreviewCardTriggerProps, Progress, ProgressProps, Radio, RadioGroup2 as RadioGroup, RadioGroupProps, RadioProps, Resizable, ResizableDirection, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelProps, ResizableProps, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_KEYBOARD_SHORTCUT_RIGHT, SIDEBAR_MAX_WIDTH, SIDEBAR_MIN_WIDTH, SIDEBAR_WIDTH, SIDEBAR_WIDTH_MOBILE, ScrollArea, ScrollAreaProps, ScrollBar, Search2 as Search, SearchProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectOpenChangeDetails, SelectProps, SelectSeparator, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator2 as Separator, SeparatorOrientation, SeparatorProps, ShapeProvider, Sheet, SheetContent, SheetContentProps, SheetIndent, SheetOpenChangeDetails, SheetProps, SheetSide, ShellCard, ShellCardFooterProps, ShellCardInnerProps, ShellCardProps, Sidebar, SidebarApp, SidebarAppProps, SidebarCollapsible, SidebarContent, SidebarContentProps, SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupActions, SidebarGroupActionsProps, SidebarGroupContent, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarInsetTopbar, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuActions, SidebarMenuActionsProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSearchField, SidebarSearchFieldProps, SidebarSectionProps, SidebarSelection, SidebarSelectionValue, SidebarSeparator, SidebarShortcutScope, SidebarSide, SidebarTrigger, SidebarTriggerProps, SidebarVariant, SizeClasses, SizeProvider, SizeScope, SizeVariant, Skeleton, SkeletonProps, Slider, SliderProps, SliderValue, SortDirection, Sortable, SortableAs, SortableHandle, SortableHandleProps, SortableItem, SortableOrientation, SortableProps, Sparkline, SparklineProps, SparklineTone, Spinner, SpinnerProps, SpringTier, StatusDot, StatusDotProps, StatusDotStatus, SurfaceProvider, Switch, SwitchGroup, SwitchGroupProps, SwitchProps, TabItem, TabItemProps, TabPanel, TabPanelProps, Table, TableBody, TableCaption, TableCell, TableCellProps, TableEmpty, TableEmptyProps, TableFooter, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, TableSort, Tabs, TabsList, TabsListProps, TabsProps, TabsVariant, Textarea, TextareaProps, TimePicker, TimePickerLabels, TimePickerProps, Toast, ToastActionOptions, ToastClose, ToastCloseProps, ToastInput, ToastOptions, ToastPosition, ToastPromiseOptions, ToastProps, ToastSource, ToastTrigger, ToastTriggerProps, ToastType, Tooltip, TooltipContent, TooltipContentProps, TooltipPortalContainer, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipSide, TooltipTrigger, TooltipTriggerProps, Tree, TreeItem, TreeProps, TypeScaleRole, TypeScaleStep, UseFluidHoverOptions, UseFluidHoverReturn, ValuePosition, VirtualList, VirtualListAlign, VirtualListHandle, VirtualListProps, acceptsFile, badgeColors, badgeVariants, buildParsed, buttonVariants, cn, dragVerdict, exitFallbackMs, formatFileSize, parseAnsi, parseColor, parsePatch, sidebarMenuButtonVariants, sizeMap, sortFiles, spring, statusGlyph, surfaceClasses, toast, typeScale, useAutosizeTextarea, useControllableState, useDialogState, useDropdown, useFluidHover, useLift, useMorph, useReduceMotion, useRegisterFluidHoverItem, useSidebar, useSize, useSizeContext, useSizeVariant, useSortableHandle, useSurface, useToast, useTouchPrimary, useTypeScale };
6949
+ export { Accordion, AccordionContent, AccordionContentProps, AccordionGroup, AccordionGroupProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogOpenChangeDetails, AlertDialogProps, AnsiSegment, Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, Button2 as Button, ButtonProps, ButtonSize, ButtonSizeCanonical, ButtonVariant, ButtonVariantsOptions, Calendar, CalendarProps, Card, CardAction, CardBorder, CardButton, CardButtonProps, CardContent, CardDescription, CardDivider, CardEyebrow, CardFeature, CardFeatureProps, CardFooter, CardGroup, CardGroupProps, CardHeader, CardImage, CardImageProps, CardLogo, CardMedia, CardMediaProps, CardOrientation, CardProps, CardTitle, CardTitleProps, CardTitleTag, Checkbox, CheckboxCheckedState, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceList, ChoiceListProps, ChoiceOption, Code, ColorFormat, ColorPicker, ColorPickerPopover, ColorPickerPopoverProps, ColorPickerProps, ColorSwatch, ColorSwatchProps, ColorTile, Combobox, ComboboxChips, ComboboxChipsProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxFooter, ComboboxFooterContext, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemData, ComboboxItemObject, ComboboxItemProps, ComboboxLabels, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxValue, Command, CommandContent, CommandContentProps, CommandGroup, CommandItem, CommandItems, CommandList, CommandListRoot, CommandPalette, CommandPaletteProps, CommandProps, CommandShortcut, CommandTrigger, ContextMenu, ContextMenuContent, ContextMenuContentProps, ContextMenuItem, ContextMenuItemProps, ContextMenuProps, Copy, CopyAlign, CopyLabels, CopyProps, CopyVariant, Craft, CraftProps, DateOf, DatePicker, DatePickerLabels, DatePickerProps, DateRangeInputProps, DateRangeOf, DateRangePicker, DateRangePickerLabels, DateRangePickerProps, DateValueType, DesktopPlatform, DesktopShell, DesktopShellProps, DesktopTitleBar, Dialog, DialogClose, DialogSlotProps as DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOpenChangeDetails, DialogProps, DialogState, DialogTitle, DialogTrigger, DialogSlotProps as DialogTriggerProps, DialogWidth, Diff, DiffLine, DiffLineKind, DiffProps, DragVerdict, Dropdown, DropdownCheckboxItem, DropdownCheckboxItemProps, DropdownContent, DropdownContentProps, DropdownContextValue, DropdownEmpty, DropdownGroup, DropdownGroupProps, DropdownLabel, DropdownLabelProps, DropdownMenu, DropdownMenuProps, DropdownOpenChangeDetails, DropdownProps, DropdownRadioGroup, DropdownRadioGroupProps, DropdownRadioItem, DropdownRadioItemProps, DropdownSearch, DropdownSearchProps, DropdownSeparator, DropdownShortcut, DropdownShortcutProps, DropdownSub, DropdownSubContent, DropdownSubContentProps, DropdownSubProps, DropdownSubTrigger, DropdownSubTriggerProps, DropdownTrigger, DropdownTriggerProps, DurationPicker, DurationPickerLabels, DurationPickerProps, EditableText, EditableTextProps, Elevated, ElevatedProps, EmptyState, EmptyStateProps, Field2 as Field, FieldControl, FieldControlProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorMatch, FieldErrorProps, FieldLabel, FieldLabelProps, FieldProps, FieldValidationMode, FileDropzone, FileDropzoneProps, FileRejection, FileRejectionReason, FileRow, FileRowProps, FileRowStatus, FluidHover, FluidHoverAxis, FluidHoverHighlight, FluidHoverHighlightProps, FluidHoverItem, FluidHoverItemProps, FluidHoverProps, GooFilter, GooIndicator, GooIndicatorProps, IconProvider, Input2 as Input, InputAction, InputActionProps, InputAdornment, InputAdornmentProps, InputFieldProps, InputGroup, InputGroupProps, InputProps, ItemRect, Kbd, KbdProps, KbdVariant, KeyValue, KeyValuePair, KeyValueProps, LIST_POPOVER, LIST_SWITCH, Label2 as Label, LabelProps, Lightbox, LightboxImage, LightboxProps, LightboxTrigger, LightboxTriggerProps, List2 as List, ListProps, ListRow, ListRowProps, ListSection, ListSectionProps, LogView, LogViewProps, Markdown, MarkdownProps, MarkdownProse, MarkdownProseProps, MenuItem2 as MenuItem, MenuItemProps, MenuItemRenderOptions, Meter, MeterProps, MeterTone, MonthPicker, MonthPickerLabels, MonthPickerProps, Morph2 as Morph, MorphEffect, MorphFrom, MorphOptions, MorphOrigin, MorphPart, MorphProps2 as MorphProps, MorphSide, Morph as MorphState, MorphSurface, MorphTier, Motion, MotionProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NumberInput, NumberInputProps, Pagination, PaginationProps, PaginationVariant, ParsedColor, Popover3 as Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverDescription, PopoverOpenChangeDetails, PopoverProps, PopoverTitle, PopoverTrigger, PopoverTriggerProps, PreviewCard, PreviewCardContent, PreviewCardContentProps, PreviewCardProps, PreviewCardTrigger, PreviewCardTriggerProps, Progress, ProgressProps, Radio, RadioGroup2 as RadioGroup, RadioGroupProps, RadioProps, Resizable, ResizableDirection, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelProps, ResizableProps, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_KEYBOARD_SHORTCUT_RIGHT, SIDEBAR_MAX_WIDTH, SIDEBAR_MIN_WIDTH, SIDEBAR_WIDTH, SIDEBAR_WIDTH_MOBILE, ScrollArea, ScrollAreaProps, ScrollBar, Search2 as Search, SearchProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectOpenChangeDetails, SelectProps, SelectSeparator, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator2 as Separator, SeparatorOrientation, SeparatorProps, ShapeProvider, Sheet, SheetContent, SheetContentProps, SheetIndent, SheetOpenChangeDetails, SheetProps, SheetSide, ShellCard, ShellCardFooterProps, ShellCardInnerProps, ShellCardProps, Sidebar, SidebarApp, SidebarAppProps, SidebarCollapsible, SidebarContent, SidebarContentProps, SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupActions, SidebarGroupActionsProps, SidebarGroupContent, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarInsetTopbar, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuActions, SidebarMenuActionsProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSearchField, SidebarSearchFieldProps, SidebarSectionProps, SidebarSelection, SidebarSelectionValue, SidebarSeparator, SidebarShortcutScope, SidebarSide, SidebarTrigger, SidebarTriggerProps, SidebarVariant, SizeClasses, SizeProvider, SizeScope, SizeVariant, Skeleton, SkeletonProps, Slider, SliderProps, SliderValue, SortDirection, Sortable, SortableAs, SortableHandle, SortableHandleProps, SortableItem, SortableOrientation, SortableProps, Sparkline, SparklineProps, SparklineTone, Spinner, SpinnerProps, SpringTier, StatusDot, StatusDotProps, StatusDotStatus, SurfaceProvider, Switch, SwitchGroup, SwitchGroupProps, SwitchProps, TabItem, TabItemProps, TabPanel, TabPanelProps, Table, TableBody, TableCaption, TableCell, TableCellProps, TableEmpty, TableEmptyProps, TableFooter, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, TableSort, Tabs, TabsList, TabsListProps, TabsProps, TabsVariant, Textarea, TextareaProps, TimePicker, TimePickerLabels, TimePickerProps, Toast, ToastActionOptions, ToastClose, ToastCloseProps, ToastInput, ToastOptions, ToastPosition, ToastPromiseOptions, ToastProps, ToastSource, ToastTrigger, ToastTriggerProps, ToastType, Tooltip, TooltipContent, TooltipContentProps, TooltipPortalContainer, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipSide, TooltipTrigger, TooltipTriggerProps, Tree, TreeItem, TreeProps, TypeScaleRole, TypeScaleStep, UseFluidHoverOptions, UseFluidHoverReturn, ValuePosition, VirtualList, VirtualListAlign, VirtualListHandle, VirtualListProps, acceptsFile, badgeColors, badgeVariants, buildParsed, buttonVariants, cn, dragVerdict, exitFallbackMs, formatFileSize, parseAnsi, parseColor, parsePatch, sidebarMenuButtonVariants, sizeMap, sortFiles, spring, statusGlyph, surfaceClasses, toast, typeScale, useAutosizeTextarea, useControllableState, useDialogState, useDropdown, useFluidHover, useLift, useMorph, useReduceMotion, useRegisterFluidHoverItem, useSidebar, useSize, useSizeContext, useSizeVariant, useSortableHandle, useSurface, useToast, useTouchPrimary, useTypeScale };