@justanarthur/modo-ui 2.0.0 → 2.2.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 (221) hide show
  1. package/blocks/desktop-shell/index.tsx +2 -1
  2. package/components/data-display/sparkline/examples.mdx +79 -0
  3. package/components/data-display/sparkline/index.tsx +158 -0
  4. package/components/data-display/sparkline/live-demo.tsx +36 -0
  5. package/components/feedback/meter/examples.mdx +25 -0
  6. package/components/feedback/meter/index.tsx +23 -7
  7. package/components/feedback/meter/timer-demo.tsx +37 -0
  8. package/components/inputs/checkbox/index.tsx +5 -0
  9. package/components/inputs/combobox/index.tsx +9 -4
  10. package/components/inputs/radio/index.tsx +5 -0
  11. package/components/inputs/select/index.tsx +23 -3
  12. package/components/inputs/slider/comfortable.tsx +10 -4
  13. package/components/inputs/slider/compact.tsx +153 -71
  14. package/components/inputs/slider/examples.mdx +24 -0
  15. package/components/inputs/slider/geometry.ts +18 -6
  16. package/components/inputs/slider/index.tsx +30 -8
  17. package/components/inputs/slider/value-display.tsx +16 -9
  18. package/components/inputs/switch/index.tsx +7 -2
  19. package/components/inputs/textarea/examples.mdx +19 -0
  20. package/components/inputs/textarea/index.tsx +42 -5
  21. package/components/navigation/sidebar/sidebar-group.tsx +2 -1
  22. package/components/navigation/sidebar/sidebar-menu-sub.tsx +2 -1
  23. package/components/navigation/sidebar/sidebar-shell.tsx +2 -1
  24. package/components/navigation/tree/index.tsx +2 -1
  25. package/components/overlays/dropdown/index.tsx +50 -8
  26. package/components/overlays/dropdown/submenu.tsx +41 -10
  27. package/components/overlays/tooltip/examples.mdx +13 -0
  28. package/components/overlays/tooltip/index.tsx +58 -16
  29. package/dist/base.css +4 -0
  30. package/dist/blocks/desktop-shell/index.js +28 -27
  31. package/dist/blocks/sidebar-app/index.js +38 -37
  32. package/dist/components/actions/button/index.js +4 -4
  33. package/dist/components/actions/copy/index.js +12 -12
  34. package/dist/components/containers/accordion/index.d.ts +1 -1
  35. package/dist/components/containers/accordion/index.js +16 -16
  36. package/dist/components/containers/card/index.js +14 -14
  37. package/dist/components/data-display/avatar/index.js +3 -3
  38. package/dist/components/data-display/badge/index.js +2 -2
  39. package/dist/components/data-display/diff/index.js +4 -4
  40. package/dist/components/data-display/list/index.js +3 -3
  41. package/dist/components/data-display/log-view/index.js +8 -8
  42. package/dist/components/data-display/markdown/index.js +15 -15
  43. package/dist/components/data-display/sparkline/index.d.ts +44 -0
  44. package/dist/components/data-display/sparkline/index.js +11 -0
  45. package/dist/components/data-display/table/index.js +9 -9
  46. package/dist/components/feedback/empty-state/index.js +3 -3
  47. package/dist/components/feedback/meter/index.d.ts +9 -1
  48. package/dist/components/feedback/meter/index.js +2 -2
  49. package/dist/components/feedback/progress/index.js +2 -2
  50. package/dist/components/inputs/checkbox/index.d.ts +2 -0
  51. package/dist/components/inputs/checkbox/index.js +13 -13
  52. package/dist/components/inputs/choice-list/index.js +10 -10
  53. package/dist/components/inputs/color-picker/index.js +22 -22
  54. package/dist/components/inputs/combobox/index.d.ts +1 -1
  55. package/dist/components/inputs/combobox/index.js +21 -21
  56. package/dist/components/inputs/date-time/calendar/index.js +9 -9
  57. package/dist/components/inputs/date-time/date-picker/index.js +28 -28
  58. package/dist/components/inputs/date-time/date-range-picker/index.js +28 -28
  59. package/dist/components/inputs/date-time/duration-picker/index.js +27 -27
  60. package/dist/components/inputs/date-time/month-picker/index.js +26 -26
  61. package/dist/components/inputs/date-time/time-picker/index.js +27 -27
  62. package/dist/components/inputs/editable-text/index.js +2 -2
  63. package/dist/components/inputs/field/index.js +5 -5
  64. package/dist/components/inputs/file-dropzone/index.js +8 -8
  65. package/dist/components/inputs/input/index.js +6 -6
  66. package/dist/components/inputs/key-value/index.js +12 -12
  67. package/dist/components/inputs/number-input/index.js +7 -7
  68. package/dist/components/inputs/radio/index.d.ts +2 -0
  69. package/dist/components/inputs/radio/index.js +12 -12
  70. package/dist/components/inputs/search/index.js +23 -23
  71. package/dist/components/inputs/select/index.d.ts +22 -4
  72. package/dist/components/inputs/select/index.js +22 -22
  73. package/dist/components/inputs/slider/index.d.ts +12 -3
  74. package/dist/components/inputs/slider/index.js +4 -4
  75. package/dist/components/inputs/switch/index.d.ts +2 -0
  76. package/dist/components/inputs/switch/index.js +9 -9
  77. package/dist/components/inputs/textarea/index.d.ts +8 -1
  78. package/dist/components/inputs/textarea/index.js +4 -4
  79. package/dist/components/navigation/breadcrumb/index.js +25 -25
  80. package/dist/components/navigation/navigation-menu/index.js +17 -17
  81. package/dist/components/navigation/pagination/index.js +16 -16
  82. package/dist/components/navigation/sidebar/index.js +26 -25
  83. package/dist/components/navigation/tabs/index.js +13 -13
  84. package/dist/components/navigation/tree/index.js +10 -9
  85. package/dist/components/overlays/alert-dialog/index.d.ts +3 -3
  86. package/dist/components/overlays/alert-dialog/index.js +15 -15
  87. package/dist/components/overlays/command/index.d.ts +1 -1
  88. package/dist/components/overlays/command/index.js +21 -21
  89. package/dist/components/overlays/context-menu/index.d.ts +20 -1
  90. package/dist/components/overlays/context-menu/index.js +25 -25
  91. package/dist/components/overlays/dialog/index.d.ts +3 -3
  92. package/dist/components/overlays/dialog/index.js +14 -14
  93. package/dist/components/overlays/dropdown/index.d.ts +30 -8
  94. package/dist/components/overlays/dropdown/index.js +24 -24
  95. package/dist/components/overlays/lightbox/index.js +12 -12
  96. package/dist/components/overlays/popover/index.d.ts +6 -6
  97. package/dist/components/overlays/popover/index.js +11 -11
  98. package/dist/components/overlays/preview-card/index.js +10 -10
  99. package/dist/components/overlays/sheet/index.d.ts +3 -3
  100. package/dist/components/overlays/sheet/index.js +15 -15
  101. package/dist/components/overlays/toast/index.d.ts +1 -1
  102. package/dist/components/overlays/toast/index.js +11 -11
  103. package/dist/components/overlays/tooltip/index.d.ts +35 -10
  104. package/dist/components/overlays/tooltip/index.js +8 -8
  105. package/dist/docs/index.js +18 -17
  106. package/dist/index.d.ts +330 -228
  107. package/dist/index.js +82 -77
  108. package/dist/lib/fluid-hover-highlight.js +4 -4
  109. package/dist/lib/focus-ring.js +2 -2
  110. package/dist/lib/goo-indicator.js +3 -3
  111. package/dist/lib/inert.d.ts +7 -0
  112. package/dist/lib/inert.js +6 -0
  113. package/dist/lib/morph-layers.js +4 -4
  114. package/dist/lib/morph-part.js +2 -2
  115. package/dist/lib/overlay.d.ts +20 -13
  116. package/dist/lib/overlay.js +5 -4
  117. package/dist/lib/popup-rows.js +2 -2
  118. package/dist/lib/popup-surface.js +7 -7
  119. package/dist/lib/scroll-column.js +6 -6
  120. package/dist/lib/slot.d.ts +5 -2
  121. package/dist/lib/slot.js +1 -1
  122. package/dist/lib/use-merge-split.js +4 -4
  123. package/dist/lib/use-morph.js +2 -2
  124. package/dist/preset.d.ts +1 -0
  125. package/dist/preset.js +1 -0
  126. package/dist/primitives/content/code/index.js +3 -3
  127. package/dist/primitives/layout/resizable/index.js +2 -2
  128. package/dist/primitives/layout/sortable/index.js +5 -5
  129. package/dist/primitives/systems/craft/index.js +3 -3
  130. package/dist/primitives/systems/fluid-hover/index.js +6 -6
  131. package/dist/primitives/systems/morph/index.js +14 -14
  132. package/dist/primitives/systems/motion/index.js +7 -7
  133. package/dist/primitives/systems/sizes/index.js +2 -2
  134. package/dist/shared/{components-280grw6q.js → components-09n5hgmx.js} +2 -2
  135. package/dist/shared/{components-1f3a7gmg.js → components-151vndgm.js} +3 -3
  136. package/dist/shared/{components-14wzcym0.js → components-16wx5av1.js} +6 -6
  137. package/dist/shared/{components-yf2gtq68.js → components-19e2wpxc.js} +9 -6
  138. package/dist/shared/{components-rzy6h7s4.js → components-1nqp7wqr.js} +1 -1
  139. package/dist/shared/components-2myjk2zf.js +8 -0
  140. package/dist/shared/{components-9rebr89j.js → components-2q0m4mxf.js} +2 -2
  141. package/dist/shared/{components-1asw2ph0.js → components-2zr49v82.js} +3 -3
  142. package/dist/shared/{components-wq9hrera.js → components-313rmbxy.js} +2 -2
  143. package/dist/shared/{components-0h2mng6m.js → components-31pkxwfz.js} +1 -1
  144. package/dist/shared/{components-w2at9ntm.js → components-3cvwrzc1.js} +3 -3
  145. package/dist/shared/{components-n0gbyp5a.js → components-4xd21p2p.js} +6 -6
  146. package/dist/shared/{components-t0c1rw40.js → components-7v6869ga.js} +1 -1
  147. package/dist/shared/{components-kwxye0an.js → components-7wjkag2j.js} +4 -2
  148. package/dist/shared/{components-fqsgd07c.js → components-85dz3xx3.js} +4 -4
  149. package/dist/shared/{components-3rvrdsa9.js → components-8qkd3659.js} +1 -1
  150. package/dist/shared/{components-me742146.js → components-8qwbwtv9.js} +5 -5
  151. package/dist/shared/{components-nxqrw789.js → components-90sfqz5t.js} +1 -1
  152. package/dist/shared/{components-b9bj65j3.js → components-90y8qwxv.js} +9 -9
  153. package/dist/shared/{components-g35n8tzm.js → components-95kp19zn.js} +1 -1
  154. package/dist/shared/{components-nhmgr5xc.js → components-9e5fpy3v.js} +14 -11
  155. package/dist/shared/{components-a1ms36qq.js → components-9hysh6d3.js} +1 -1
  156. package/dist/shared/{components-hcftn5r8.js → components-9s9vb2w0.js} +7 -4
  157. package/dist/shared/{components-vfreweq3.js → components-a3edrqpb.js} +3 -3
  158. package/dist/shared/{components-ee09xmkh.js → components-afj2ajea.js} +8 -5
  159. package/dist/shared/{components-ev0ytbqb.js → components-ajgwbabq.js} +4 -4
  160. package/dist/shared/{components-62510420.js → components-dr5c27yd.js} +6 -6
  161. package/dist/shared/{components-s90v3jpr.js → components-fqdh9ysk.js} +68 -19
  162. package/dist/shared/{components-2m2hg11x.js → components-gfw4zk8b.js} +8 -8
  163. package/dist/shared/{components-z0kz9rxj.js → components-gvwxswpr.js} +1 -1
  164. package/dist/shared/{components-p32aqk3q.js → components-h9se5cz5.js} +110 -73
  165. package/dist/shared/{components-464zs8v6.js → components-hbqyf35a.js} +41 -34
  166. package/dist/shared/{components-77gxngmc.js → components-jd21f3mb.js} +8 -8
  167. package/dist/shared/{components-xnkc892z.js → components-mamtvenk.js} +2 -2
  168. package/dist/shared/{components-1hga6pkn.js → components-mcnyaaep.js} +3 -3
  169. package/dist/shared/{components-h0x2pj2y.js → components-mpx3yq5c.js} +24 -10
  170. package/dist/shared/{components-j79a6jqa.js → components-nc8wggew.js} +3 -3
  171. package/dist/shared/{components-r5q9gdh4.js → components-nd3f803g.js} +7 -7
  172. package/dist/shared/{components-9ca0c92a.js → components-nehs80xd.js} +1 -1
  173. package/dist/shared/components-nw2k1pg9.js +98 -0
  174. package/dist/shared/{components-4t2cjav8.js → components-pgs3p035.js} +1 -1
  175. package/dist/shared/{components-91mmbrw3.js → components-ppc2dmxs.js} +2 -2
  176. package/dist/shared/{components-b2kjsn1s.js → components-qc1fae2s.js} +6 -6
  177. package/dist/shared/{components-fmyvz4r2.js → components-qd27dvgj.js} +6 -6
  178. package/dist/shared/{components-9z7bq8gn.js → components-qe8yp3vf.js} +3 -3
  179. package/dist/shared/{components-wx1dcp2n.js → components-qhk2m7fj.js} +2 -2
  180. package/dist/shared/{components-a1mwqxsv.js → components-qkt4h7x4.js} +8 -8
  181. package/dist/shared/{components-6rtawx8y.js → components-qs0cwe8p.js} +10 -10
  182. package/dist/shared/{components-y8m64zdw.js → components-r6ejdtpr.js} +3 -3
  183. package/dist/shared/{components-1bnf96sr.js → components-rj4nnqkz.js} +39 -11
  184. package/dist/shared/{components-gd8gmr6w.js → components-rmhdr4g1.js} +1 -1
  185. package/dist/shared/{components-e7zxwja1.js → components-rts2mggt.js} +1 -1
  186. package/dist/shared/{components-ta4e10mx.js → components-s25rehbv.js} +1 -1
  187. package/dist/shared/{components-chda6b23.js → components-sxstx1x7.js} +33 -4
  188. package/dist/shared/{components-b7p1pjcm.js → components-t4eb37vd.js} +2 -2
  189. package/dist/shared/{components-7xc2dne4.js → components-v3c3madd.js} +2 -2
  190. package/dist/shared/{components-22h8dvt1.js → components-v81eejq6.js} +3 -3
  191. package/dist/shared/{components-w1ysefg1.js → components-veaxns17.js} +2 -2
  192. package/dist/shared/{components-czvraaw9.js → components-vkrp4nb9.js} +4 -4
  193. package/dist/shared/{components-gsstwhtv.js → components-vv420geb.js} +6 -3
  194. package/dist/shared/{components-5xs8pkkj.js → components-w5p7mfb4.js} +1 -1
  195. package/dist/shared/{components-rgng034x.js → components-xvf8jcza.js} +25 -4
  196. package/dist/shared/{components-q7zk70tx.js → components-y07de1qv.js} +1 -1
  197. package/dist/shared/{components-0cpte6s1.js → components-yn8bw8tv.js} +11 -10
  198. package/dist/shared/{components-xa9fvd5b.js → components-z9gc2weg.js} +3 -3
  199. package/dist/shared/{components-twyj2y8c.js → components-zk1tj5za.js} +3 -3
  200. package/dist/shared/{components-hz6armxa.js → components-zktkxnzq.js} +7 -4
  201. package/dist/styles.css +10 -1
  202. package/dist/tailwind.css +1 -0
  203. package/dist/tokens.css +4 -0
  204. package/index.ts +1 -0
  205. package/lib/inert.ts +15 -0
  206. package/lib/overlay.tsx +49 -5
  207. package/lib/slot.tsx +9 -3
  208. package/package.json +7 -2
  209. package/tokens/colors.css +4 -0
  210. /package/dist/shared/{components-jw45ck66.js → components-02683eqd.js} +0 -0
  211. /package/dist/shared/{components-q0hs5rqn.js → components-6c52v58g.js} +0 -0
  212. /package/dist/shared/{components-y4gsk1jt.js → components-fa61vwag.js} +0 -0
  213. /package/dist/shared/{components-nz14rwtd.js → components-ffng9rpa.js} +0 -0
  214. /package/dist/shared/{components-7mj5wsv3.js → components-k9qbcmaa.js} +0 -0
  215. /package/dist/shared/{components-8pnvkrbw.js → components-mp7en54n.js} +0 -0
  216. /package/dist/shared/{components-h8v9nh5r.js → components-pbx77hzb.js} +0 -0
  217. /package/dist/shared/{components-c515d6xr.js → components-v1m0xjbw.js} +0 -0
  218. /package/dist/shared/{components-pa43g2r2.js → components-wddr0r6a.js} +0 -0
  219. /package/dist/shared/{components-ymq8tbq9.js → components-wqac4434.js} +0 -0
  220. /package/dist/shared/{components-m3vxpz2z.js → components-yy0a9b02.js} +0 -0
  221. /package/dist/shared/{components-92mvpt9h.js → components-zwgxvktt.js} +0 -0
@@ -7,34 +7,34 @@ import {
7
7
  CommandContent2,
8
8
  Command2,
9
9
  command_default
10
- } from "../../../shared/components-j79a6jqa.js";
11
- import"../../../shared/components-q0hs5rqn.js";
12
- import"../../../shared/components-mse06t0x.js";
13
- import"../../../shared/components-b9bj65j3.js";
14
- import"../../../shared/components-nxqrw789.js";
15
- import"../../../shared/components-rgng034x.js";
16
- import"../../../shared/components-wq9hrera.js";
17
- import"../../../shared/components-pa43g2r2.js";
18
- import"../../../shared/components-0h2mng6m.js";
10
+ } from "../../../shared/components-nc8wggew.js";
11
+ import"../../../shared/components-90y8qwxv.js";
12
+ import"../../../shared/components-31pkxwfz.js";
19
13
  import"../../../shared/components-ywgqahmg.js";
20
14
  import"../../../shared/components-3hgk57s0.js";
21
- import"../../../shared/components-g35n8tzm.js";
22
- import"../../../shared/components-z0kz9rxj.js";
15
+ import"../../../shared/components-6c52v58g.js";
16
+ import"../../../shared/components-mse06t0x.js";
17
+ import"../../../shared/components-esy5nsvc.js";
18
+ import"../../../shared/components-6f5pyzb2.js";
19
+ import"../../../shared/components-95kp19zn.js";
20
+ import"../../../shared/components-gvwxswpr.js";
23
21
  import"../../../shared/components-7c4a0egq.js";
24
- import"../../../shared/components-8pnvkrbw.js";
25
- import"../../../shared/components-pva1wj1r.js";
26
- import"../../../shared/components-kwxye0an.js";
27
- import"../../../shared/components-bkwjvvkh.js";
22
+ import"../../../shared/components-90sfqz5t.js";
23
+ import"../../../shared/components-ceyn28cf.js";
24
+ import"../../../shared/components-nwa2a9tq.js";
28
25
  import"../../../shared/components-jnhpgpfk.js";
29
- import"../../../shared/components-45r18egt.js";
30
- import"../../../shared/components-wwd093xg.js";
31
26
  import"../../../shared/components-znspksk0.js";
32
27
  import"../../../shared/components-ew4wq7mj.js";
28
+ import"../../../shared/components-xvf8jcza.js";
29
+ import"../../../shared/components-313rmbxy.js";
30
+ import"../../../shared/components-wddr0r6a.js";
31
+ import"../../../shared/components-wwd093xg.js";
32
+ import"../../../shared/components-mp7en54n.js";
33
+ import"../../../shared/components-pva1wj1r.js";
34
+ import"../../../shared/components-7wjkag2j.js";
35
+ import"../../../shared/components-bkwjvvkh.js";
33
36
  import"../../../shared/components-tz0axc0f.js";
34
- import"../../../shared/components-ceyn28cf.js";
35
- import"../../../shared/components-nwa2a9tq.js";
36
- import"../../../shared/components-esy5nsvc.js";
37
- import"../../../shared/components-6f5pyzb2.js";
37
+ import"../../../shared/components-45r18egt.js";
38
38
  import"../../../shared/components-kxpcj2ry.js";
39
39
  import"../../../shared/components-s217vq1n.js";
40
40
  import"../../../shared/components-xnp09586.js";
@@ -82,6 +82,8 @@ interface MenuFocusProps {
82
82
  }
83
83
  import { MenuRootChangeEventDetails } from "@base-ui/react/menu";
84
84
  import { HTMLAttributes as HTMLAttributes4, ReactNode as ReactNode6 } from "react";
85
+ import { Popover } from "@base-ui/react/popover";
86
+ import { ComponentProps as ComponentProps2 } from "react";
85
87
  type Side = "top" | "right" | "bottom" | "left";
86
88
  type Align = "start" | "center" | "end";
87
89
  /**
@@ -98,6 +100,21 @@ interface AnchorProps {
98
100
  /** Portal target. Defaults to the nearest `PortalContainer`, else the document body. */
99
101
  container?: HTMLElement | null;
100
102
  }
103
+ type Positioner2 = ComponentProps2<typeof Popover.Positioner2>;
104
+ /**
105
+ * The finer positioning props a content may add to `AnchorProps`, forwarded
106
+ * to Base UI's `Positioner` by `positionerProps`. Documented once.
107
+ */
108
+ interface CollisionProps {
109
+ /** Shift along the aligned edge in px, after `align`, or Base UI's function of side, align and sizes. Defaults to `0`. */
110
+ alignOffset?: Positioner2["alignOffset"];
111
+ /** Space kept between the panel and the edge of its collision boundary, in px or per side. Defaults to `5`. */
112
+ collisionPadding?: Positioner2["collisionPadding"];
113
+ /** The area the panel stays inside: an element, several, or a rect. Defaults to `'clipping-ancestors'`. */
114
+ collisionBoundary?: Positioner2["collisionBoundary"];
115
+ /** Classes for the positioner, the element that carries the panel's place and stacking (a `z-index` over a host's own layers). */
116
+ positionerClassName?: string;
117
+ }
101
118
  import { JSX as JSX_1kxb3 } from "react";
102
119
  interface DropdownSubProps {
103
120
  /** `Dropdown.SubTrigger` and `Dropdown.SubContent`. */
@@ -124,7 +141,7 @@ interface DropdownSubTriggerProps extends Omit<MenuItemProps, "checked" | "onSel
124
141
  /** How long a hover-opened submenu waits to close once the pointer leaves, in ms. Defaults to `0`. */
125
142
  closeDelay?: number;
126
143
  }
127
- interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, MorphProps, Omit<HTMLAttributes4<HTMLDivElement>, "children"> {
144
+ interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes4<HTMLDivElement>, "children"> {
128
145
  /** The submenu's rows: the same parts as `Dropdown.Content`, another `Dropdown.Sub` included. */
129
146
  children: ReactNode6;
130
147
  /** Side of the trigger row the submenu opens on; it flips when there is no room. Defaults to `"right"`. */
@@ -133,6 +150,8 @@ interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, A
133
150
  align?: AnchorProps["align"];
134
151
  /** Gap to the parent menu in px, the length of the goo neck. Defaults to `8`. */
135
152
  sideOffset?: number;
153
+ /** Shift along the aligned edge in px. Defaults to `-4`: the panel's padding, so its first row lines up with the trigger row. */
154
+ alignOffset?: CollisionProps["alignOffset"];
136
155
  /** Extra classes for the submenu surface: it is 14rem wide by default. */
137
156
  className?: string;
138
157
  /** 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`. */
@@ -3,39 +3,39 @@ import {
3
3
  ContextMenu2,
4
4
  ContextMenuItem2,
5
5
  context_menu_default
6
- } from "../../../shared/components-n0gbyp5a.js";
7
- import"../../../shared/components-s90v3jpr.js";
6
+ } from "../../../shared/components-4xd21p2p.js";
7
+ import"../../../shared/components-fqdh9ysk.js";
8
+ import"../../../shared/components-cp5ym3g2.js";
9
+ import"../../../shared/components-veaxns17.js";
8
10
  import"../../../shared/components-t84071ay.js";
9
- import"../../../shared/components-v2j3jx89.js";
10
- import"../../../shared/components-q0hs5rqn.js";
11
+ import"../../../shared/components-6c52v58g.js";
11
12
  import"../../../shared/components-mse06t0x.js";
12
- import"../../../shared/components-nxqrw789.js";
13
- import"../../../shared/components-rgng034x.js";
14
- import"../../../shared/components-wq9hrera.js";
15
- import"../../../shared/components-pa43g2r2.js";
16
- import"../../../shared/components-cp5ym3g2.js";
17
- import"../../../shared/components-w1ysefg1.js";
18
- import"../../../shared/components-y09nr7fe.js";
13
+ import"../../../shared/components-esy5nsvc.js";
14
+ import"../../../shared/components-6f5pyzb2.js";
19
15
  import"../../../shared/components-vcte8p75.js";
20
- import"../../../shared/components-c515d6xr.js";
21
- import"../../../shared/components-g35n8tzm.js";
22
- import"../../../shared/components-z0kz9rxj.js";
16
+ import"../../../shared/components-v1m0xjbw.js";
17
+ import"../../../shared/components-y09nr7fe.js";
18
+ import"../../../shared/components-v2j3jx89.js";
19
+ import"../../../shared/components-ffng9rpa.js";
20
+ import"../../../shared/components-95kp19zn.js";
21
+ import"../../../shared/components-gvwxswpr.js";
23
22
  import"../../../shared/components-7c4a0egq.js";
24
- import"../../../shared/components-8pnvkrbw.js";
25
- import"../../../shared/components-pva1wj1r.js";
26
- import"../../../shared/components-kwxye0an.js";
27
- import"../../../shared/components-nz14rwtd.js";
28
- import"../../../shared/components-bkwjvvkh.js";
23
+ import"../../../shared/components-90sfqz5t.js";
24
+ import"../../../shared/components-ceyn28cf.js";
25
+ import"../../../shared/components-nwa2a9tq.js";
29
26
  import"../../../shared/components-jnhpgpfk.js";
30
- import"../../../shared/components-45r18egt.js";
31
- import"../../../shared/components-wwd093xg.js";
32
27
  import"../../../shared/components-znspksk0.js";
33
28
  import"../../../shared/components-ew4wq7mj.js";
29
+ import"../../../shared/components-xvf8jcza.js";
30
+ import"../../../shared/components-313rmbxy.js";
31
+ import"../../../shared/components-wddr0r6a.js";
32
+ import"../../../shared/components-wwd093xg.js";
33
+ import"../../../shared/components-mp7en54n.js";
34
+ import"../../../shared/components-pva1wj1r.js";
35
+ import"../../../shared/components-7wjkag2j.js";
36
+ import"../../../shared/components-bkwjvvkh.js";
34
37
  import"../../../shared/components-tz0axc0f.js";
35
- import"../../../shared/components-ceyn28cf.js";
36
- import"../../../shared/components-nwa2a9tq.js";
37
- import"../../../shared/components-esy5nsvc.js";
38
- import"../../../shared/components-6f5pyzb2.js";
38
+ import"../../../shared/components-45r18egt.js";
39
39
  import"../../../shared/components-kxpcj2ry.js";
40
40
  import"../../../shared/components-s217vq1n.js";
41
41
  import"../../../shared/components-xnp09586.js";
@@ -1,5 +1,5 @@
1
1
  import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
2
- import { ComponentProps, HTMLAttributes, ReactNode as ReactNode3 } from "react";
2
+ import { ComponentProps as ComponentProps2, HTMLAttributes, ReactNode as ReactNode3 } from "react";
3
3
  import { RefObject as RefObject2 } from "react";
4
4
  import { RefObject } from "react";
5
5
  type MorphSide = "top" | "right" | "bottom" | "left";
@@ -40,7 +40,7 @@ interface OpenChangeDetails {
40
40
  }
41
41
  import { ButtonHTMLAttributes, ReactElement, ReactNode as ReactNode2 } from "react";
42
42
  interface SlotProps extends ButtonHTMLAttributes<HTMLButtonElement> {
43
- /** The element that becomes the control, e.g. a Button. */
43
+ /** The element that becomes the control, e.g. a Button. `children` fill it when it has none of its own. */
44
44
  render?: ReactElement;
45
45
  /** Compose onto the single child instead. Defaults to `false`. */
46
46
  asChild?: boolean;
@@ -56,7 +56,7 @@ type DialogWidth = "sm" | "lg" | "xl";
56
56
  declare const useDialogState: () => OverlayState;
57
57
  declare const DialogTrigger: ForwardRefExoticComponent_tcubfn2<SlotProps & RefAttributes_miuf562<HTMLButtonElement>>;
58
58
  declare const DialogClose: ForwardRefExoticComponent_tcubfn2<SlotProps & RefAttributes_miuf562<HTMLButtonElement>>;
59
- type DialogPopupProps = ComponentProps<typeof DialogPrimitive.Popup>;
59
+ type DialogPopupProps = ComponentProps2<typeof DialogPrimitive.Popup>;
60
60
  interface DialogContentProps extends MorphProps, HTMLAttributes<HTMLDivElement> {
61
61
  /** 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'`. */
62
62
  width?: DialogWidth;
@@ -10,26 +10,26 @@ import {
10
10
  DialogState2,
11
11
  Dialog2,
12
12
  dialog_default
13
- } from "../../../shared/components-b9bj65j3.js";
14
- import"../../../shared/components-nxqrw789.js";
15
- import"../../../shared/components-rgng034x.js";
16
- import"../../../shared/components-wq9hrera.js";
17
- import"../../../shared/components-pa43g2r2.js";
18
- import"../../../shared/components-0h2mng6m.js";
13
+ } from "../../../shared/components-90y8qwxv.js";
14
+ import"../../../shared/components-31pkxwfz.js";
19
15
  import"../../../shared/components-ywgqahmg.js";
20
16
  import"../../../shared/components-3hgk57s0.js";
21
- import"../../../shared/components-8pnvkrbw.js";
22
- import"../../../shared/components-pva1wj1r.js";
23
- import"../../../shared/components-kwxye0an.js";
24
- import"../../../shared/components-bkwjvvkh.js";
17
+ import"../../../shared/components-90sfqz5t.js";
18
+ import"../../../shared/components-ceyn28cf.js";
19
+ import"../../../shared/components-nwa2a9tq.js";
25
20
  import"../../../shared/components-jnhpgpfk.js";
26
- import"../../../shared/components-45r18egt.js";
27
- import"../../../shared/components-wwd093xg.js";
28
21
  import"../../../shared/components-znspksk0.js";
29
22
  import"../../../shared/components-ew4wq7mj.js";
23
+ import"../../../shared/components-xvf8jcza.js";
24
+ import"../../../shared/components-313rmbxy.js";
25
+ import"../../../shared/components-wddr0r6a.js";
26
+ import"../../../shared/components-wwd093xg.js";
27
+ import"../../../shared/components-mp7en54n.js";
28
+ import"../../../shared/components-pva1wj1r.js";
29
+ import"../../../shared/components-7wjkag2j.js";
30
+ import"../../../shared/components-bkwjvvkh.js";
30
31
  import"../../../shared/components-tz0axc0f.js";
31
- import"../../../shared/components-ceyn28cf.js";
32
- import"../../../shared/components-nwa2a9tq.js";
32
+ import"../../../shared/components-45r18egt.js";
33
33
  import"../../../shared/components-kxpcj2ry.js";
34
34
  import"../../../shared/components-s217vq1n.js";
35
35
  import"../../../shared/components-xnp09586.js";
@@ -1,5 +1,7 @@
1
1
  import { MenuRootChangeEventDetails as MenuRootChangeEventDetails2 } from "@base-ui/react/menu";
2
2
  import { ForwardRefExoticComponent as ForwardRefExoticComponent2, HTMLAttributes as HTMLAttributes6, ReactNode as ReactNode9, RefAttributes as RefAttributes2 } from "react";
3
+ import { Popover } from "@base-ui/react/popover";
4
+ import { ComponentProps } from "react";
3
5
  import { RefObject } from "react";
4
6
  type MorphSide = "top" | "right" | "bottom" | "left";
5
7
  type MorphFrom = "trigger" | "pointer" | "center" | MorphSide | RefObject<HTMLElement | null>;
@@ -35,10 +37,25 @@ interface AnchorProps {
35
37
  /** Portal target. Defaults to the nearest `PortalContainer`, else the document body. */
36
38
  container?: HTMLElement | null;
37
39
  }
40
+ type Positioner2 = ComponentProps<typeof Popover.Positioner2>;
41
+ /**
42
+ * The finer positioning props a content may add to `AnchorProps`, forwarded
43
+ * to Base UI's `Positioner` by `positionerProps`. Documented once.
44
+ */
45
+ interface CollisionProps {
46
+ /** Shift along the aligned edge in px, after `align`, or Base UI's function of side, align and sizes. Defaults to `0`. */
47
+ alignOffset?: Positioner2["alignOffset"];
48
+ /** Space kept between the panel and the edge of its collision boundary, in px or per side. Defaults to `5`. */
49
+ collisionPadding?: Positioner2["collisionPadding"];
50
+ /** The area the panel stays inside: an element, several, or a rect. Defaults to `'clipping-ancestors'`. */
51
+ collisionBoundary?: Positioner2["collisionBoundary"];
52
+ /** Classes for the positioner, the element that carries the panel's place and stacking (a `z-index` over a host's own layers). */
53
+ positionerClassName?: string;
54
+ }
38
55
  type SizeVariant = "default" | "compact";
39
56
  import { ButtonHTMLAttributes, ReactElement, ReactNode as ReactNode2 } from "react";
40
57
  interface SlotProps extends ButtonHTMLAttributes<HTMLButtonElement> {
41
- /** The element that becomes the control, e.g. a Button. */
58
+ /** The element that becomes the control, e.g. a Button. `children` fill it when it has none of its own. */
42
59
  render?: ReactElement;
43
60
  /** Compose onto the single child instead. Defaults to `false`. */
44
61
  asChild?: boolean;
@@ -210,7 +227,7 @@ interface DropdownRadioItemProps extends ValueRowProps {
210
227
  /** A row of a `Dropdown.RadioGroup` (`role="menuitemradio"`), checked while the group's value is its `value`. */
211
228
  declare const DropdownRadioItem: ForwardRefExoticComponent_tcubfn3<DropdownRadioItemProps & RefAttributes_miuf563<HTMLDivElement>>;
212
229
  import { Menu as Menu2 } from "@base-ui/react/menu";
213
- import { ComponentProps, RefObject as RefObject4 } from "react";
230
+ import { ComponentProps as ComponentProps2, RefObject as RefObject4 } from "react";
214
231
  interface PanelSelectionProps {
215
232
  /** The checked row: drives the selected background and the rows' radio semantics. */
216
233
  checkedIndex?: number;
@@ -230,7 +247,7 @@ interface MenuFocusProps {
230
247
  /** 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. */
231
248
  initialFocus?: boolean | RefObject4<HTMLElement | null>;
232
249
  /** 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. */
233
- finalFocus?: ComponentProps<typeof Menu2.Popup>["finalFocus"];
250
+ finalFocus?: ComponentProps2<typeof Menu2.Popup>["finalFocus"];
234
251
  }
235
252
  import { MenuRootChangeEventDetails } from "@base-ui/react/menu";
236
253
  import { HTMLAttributes as HTMLAttributes5, ReactNode as ReactNode8 } from "react";
@@ -268,7 +285,7 @@ interface DropdownSubTriggerProps extends Omit<MenuItemProps, "checked" | "onSel
268
285
  * stays lit while its submenu is open.
269
286
  */
270
287
  declare const DropdownSubTrigger: ForwardRefExoticComponent_tcubfn5<DropdownSubTriggerProps & RefAttributes_miuf565<HTMLDivElement>>;
271
- interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, MorphProps, Omit<HTMLAttributes5<HTMLDivElement>, "children"> {
288
+ interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes5<HTMLDivElement>, "children"> {
272
289
  /** The submenu's rows: the same parts as `Dropdown.Content`, another `Dropdown.Sub` included. */
273
290
  children: ReactNode8;
274
291
  /** Side of the trigger row the submenu opens on; it flips when there is no room. Defaults to `"right"`. */
@@ -277,6 +294,8 @@ interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, A
277
294
  align?: AnchorProps["align"];
278
295
  /** Gap to the parent menu in px, the length of the goo neck. Defaults to `8`. */
279
296
  sideOffset?: number;
297
+ /** Shift along the aligned edge in px. Defaults to `-4`: the panel's padding, so its first row lines up with the trigger row. */
298
+ alignOffset?: CollisionProps["alignOffset"];
280
299
  /** Extra classes for the submenu surface: it is 14rem wide by default. */
281
300
  className?: string;
282
301
  /** 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`. */
@@ -363,10 +382,11 @@ type DropdownComponent = ForwardRefExoticComponent2<DropdownProps & RefAttribute
363
382
  *
364
383
  * Statics:
365
384
  * - `Dropdown.Menu` — the popup root: `open`, `defaultOpen`, `onOpenChange`
366
- * (with Base UI's details: `reason`, `cancel()`), `disabled`, `size`.
385
+ * (with Base UI's details: `reason`, `cancel()`), `disabled`, `modal`, `size`.
367
386
  * - `Dropdown.Trigger` — `render` or `asChild`.
368
387
  * - `Dropdown.Content` — the popup panel: the selection props above, `side`,
369
- * `align`, `sideOffset`, `container`, `keepMounted`, `initialFocus`,
388
+ * `align`, `sideOffset`, `alignOffset`, `collisionPadding`,
389
+ * `collisionBoundary`, `positionerClassName`, `container`, `keepMounted`, `initialFocus`,
370
390
  * `finalFocus` and the morph options `from`, `effect`, `hideSource`, `tier`.
371
391
  * - `Dropdown.Item` — a row: `label` or `children`, `textValue`, `icon`,
372
392
  * `index`, `inset`, `checked`, `onSelect(event)` (`preventDefault()` keeps
@@ -403,11 +423,13 @@ interface DropdownMenuProps {
403
423
  onOpenChange?: (open: boolean, details: DropdownOpenChangeDetails) => void;
404
424
  /** Disables the menu. Defaults to `false`. */
405
425
  disabled?: boolean;
426
+ /** 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`. */
427
+ modal?: boolean;
406
428
  /** 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. */
407
429
  size?: SizeVariant;
408
430
  }
409
431
  type Element_12xgc4 = JSX_1kxb4["Element"];
410
- declare function DropdownMenu({ children, open, defaultOpen, onOpenChange, disabled, size }: DropdownMenuProps): Element_12xgc4;
432
+ declare function DropdownMenu({ children, open, defaultOpen, onOpenChange, disabled, modal, size }: DropdownMenuProps): Element_12xgc4;
411
433
  interface DropdownTriggerProps extends SlotProps {
412
434
  /** Open on hover as well as on press. Defaults to `false`. */
413
435
  openOnHover?: boolean;
@@ -417,7 +439,7 @@ interface DropdownTriggerProps extends SlotProps {
417
439
  closeDelay?: number;
418
440
  }
419
441
  declare const DropdownTrigger: ForwardRefExoticComponent2<DropdownTriggerProps & RefAttributes2<HTMLButtonElement>>;
420
- interface DropdownContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, MorphProps, Omit<HTMLAttributes6<HTMLDivElement>, "children"> {
442
+ interface DropdownContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes6<HTMLDivElement>, "children"> {
421
443
  /** `Dropdown.Item` rows, plus `Dropdown.Label`, `Dropdown.Separator`, `Dropdown.Search`, `Dropdown.Empty`. */
422
444
  children: ReactNode9;
423
445
  /** Extra classes for the popup surface — it is 18rem wide by default, at least the trigger's width. */
@@ -18,38 +18,38 @@ import {
18
18
  DropdownContent2,
19
19
  DropdownSeparator2,
20
20
  dropdown_default
21
- } from "../../../shared/components-s90v3jpr.js";
21
+ } from "../../../shared/components-fqdh9ysk.js";
22
+ import"../../../shared/components-cp5ym3g2.js";
23
+ import"../../../shared/components-veaxns17.js";
22
24
  import"../../../shared/components-t84071ay.js";
23
- import"../../../shared/components-v2j3jx89.js";
24
- import"../../../shared/components-q0hs5rqn.js";
25
+ import"../../../shared/components-6c52v58g.js";
25
26
  import"../../../shared/components-mse06t0x.js";
26
- import"../../../shared/components-nxqrw789.js";
27
- import"../../../shared/components-rgng034x.js";
28
- import"../../../shared/components-wq9hrera.js";
29
- import"../../../shared/components-pa43g2r2.js";
30
- import"../../../shared/components-cp5ym3g2.js";
31
- import"../../../shared/components-w1ysefg1.js";
32
- import"../../../shared/components-y09nr7fe.js";
27
+ import"../../../shared/components-esy5nsvc.js";
28
+ import"../../../shared/components-6f5pyzb2.js";
33
29
  import"../../../shared/components-vcte8p75.js";
34
- import"../../../shared/components-c515d6xr.js";
35
- import"../../../shared/components-g35n8tzm.js";
36
- import"../../../shared/components-z0kz9rxj.js";
30
+ import"../../../shared/components-v1m0xjbw.js";
31
+ import"../../../shared/components-y09nr7fe.js";
32
+ import"../../../shared/components-v2j3jx89.js";
33
+ import"../../../shared/components-ffng9rpa.js";
34
+ import"../../../shared/components-95kp19zn.js";
35
+ import"../../../shared/components-gvwxswpr.js";
37
36
  import"../../../shared/components-7c4a0egq.js";
38
- import"../../../shared/components-8pnvkrbw.js";
39
- import"../../../shared/components-pva1wj1r.js";
40
- import"../../../shared/components-kwxye0an.js";
41
- import"../../../shared/components-nz14rwtd.js";
42
- import"../../../shared/components-bkwjvvkh.js";
37
+ import"../../../shared/components-90sfqz5t.js";
38
+ import"../../../shared/components-ceyn28cf.js";
39
+ import"../../../shared/components-nwa2a9tq.js";
43
40
  import"../../../shared/components-jnhpgpfk.js";
44
- import"../../../shared/components-45r18egt.js";
45
- import"../../../shared/components-wwd093xg.js";
46
41
  import"../../../shared/components-znspksk0.js";
47
42
  import"../../../shared/components-ew4wq7mj.js";
43
+ import"../../../shared/components-xvf8jcza.js";
44
+ import"../../../shared/components-313rmbxy.js";
45
+ import"../../../shared/components-wddr0r6a.js";
46
+ import"../../../shared/components-wwd093xg.js";
47
+ import"../../../shared/components-mp7en54n.js";
48
+ import"../../../shared/components-pva1wj1r.js";
49
+ import"../../../shared/components-7wjkag2j.js";
50
+ import"../../../shared/components-bkwjvvkh.js";
48
51
  import"../../../shared/components-tz0axc0f.js";
49
- import"../../../shared/components-ceyn28cf.js";
50
- import"../../../shared/components-nwa2a9tq.js";
51
- import"../../../shared/components-esy5nsvc.js";
52
- import"../../../shared/components-6f5pyzb2.js";
52
+ import"../../../shared/components-45r18egt.js";
53
53
  import"../../../shared/components-kxpcj2ry.js";
54
54
  import"../../../shared/components-s217vq1n.js";
55
55
  import"../../../shared/components-xnp09586.js";
@@ -2,24 +2,24 @@ import {
2
2
  LightboxTrigger2,
3
3
  Lightbox2,
4
4
  lightbox_default
5
- } from "../../../shared/components-twyj2y8c.js";
6
- import"../../../shared/components-wq9hrera.js";
7
- import"../../../shared/components-pa43g2r2.js";
8
- import"../../../shared/components-0h2mng6m.js";
5
+ } from "../../../shared/components-zk1tj5za.js";
6
+ import"../../../shared/components-31pkxwfz.js";
9
7
  import"../../../shared/components-ywgqahmg.js";
10
8
  import"../../../shared/components-3hgk57s0.js";
11
- import"../../../shared/components-8pnvkrbw.js";
12
- import"../../../shared/components-pva1wj1r.js";
13
- import"../../../shared/components-kwxye0an.js";
14
- import"../../../shared/components-bkwjvvkh.js";
9
+ import"../../../shared/components-ceyn28cf.js";
10
+ import"../../../shared/components-nwa2a9tq.js";
15
11
  import"../../../shared/components-jnhpgpfk.js";
16
- import"../../../shared/components-45r18egt.js";
17
- import"../../../shared/components-wwd093xg.js";
18
12
  import"../../../shared/components-znspksk0.js";
19
13
  import"../../../shared/components-ew4wq7mj.js";
14
+ import"../../../shared/components-313rmbxy.js";
15
+ import"../../../shared/components-wddr0r6a.js";
16
+ import"../../../shared/components-wwd093xg.js";
17
+ import"../../../shared/components-mp7en54n.js";
18
+ import"../../../shared/components-pva1wj1r.js";
19
+ import"../../../shared/components-7wjkag2j.js";
20
+ import"../../../shared/components-bkwjvvkh.js";
20
21
  import"../../../shared/components-tz0axc0f.js";
21
- import"../../../shared/components-ceyn28cf.js";
22
- import"../../../shared/components-nwa2a9tq.js";
22
+ import"../../../shared/components-45r18egt.js";
23
23
  import"../../../shared/components-kxpcj2ry.js";
24
24
  import"../../../shared/components-s217vq1n.js";
25
25
  import"../../../shared/components-xnp09586.js";
@@ -1,5 +1,5 @@
1
1
  import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
2
- import { ComponentProps, HTMLAttributes, ReactNode as ReactNode3 } from "react";
2
+ import { ComponentProps as ComponentProps2, HTMLAttributes, ReactNode as ReactNode3 } from "react";
3
3
  import { RefObject } from "react";
4
4
  type MorphSide = "top" | "right" | "bottom" | "left";
5
5
  type MorphFrom = "trigger" | "pointer" | "center" | MorphSide | RefObject<HTMLElement | null>;
@@ -37,7 +37,7 @@ interface AnchorProps {
37
37
  }
38
38
  import { ButtonHTMLAttributes, ReactElement, ReactNode as ReactNode2 } from "react";
39
39
  interface SlotProps extends ButtonHTMLAttributes<HTMLButtonElement> {
40
- /** The element that becomes the control, e.g. a Button. */
40
+ /** The element that becomes the control, e.g. a Button. `children` fill it when it has none of its own. */
41
41
  render?: ReactElement;
42
42
  /** Compose onto the single child instead. Defaults to `false`. */
43
43
  asChild?: boolean;
@@ -57,8 +57,8 @@ interface PopoverTriggerProps extends SlotProps {
57
57
  }
58
58
  declare const PopoverTrigger: ForwardRefExoticComponent_tcubfn2<PopoverTriggerProps & RefAttributes_miuf562<HTMLButtonElement>>;
59
59
  declare const PopoverClose: ForwardRefExoticComponent_tcubfn2<SlotProps & RefAttributes_miuf562<HTMLButtonElement>>;
60
- type PositionerProps = ComponentProps<typeof PopoverPrimitive.Positioner>;
61
- type PopupProps = ComponentProps<typeof PopoverPrimitive.Popup>;
60
+ type PositionerProps = ComponentProps2<typeof PopoverPrimitive.Positioner>;
61
+ type PopupProps = ComponentProps2<typeof PopoverPrimitive.Popup>;
62
62
  /** What the panel is positioned against: an element, a ref to one, a virtual element (`{ getBoundingClientRect }`), or a function returning either. */
63
63
  type PopoverAnchor = PositionerProps["anchor"];
64
64
  interface PopoverContentProps extends AnchorProps, MorphProps, HTMLAttributes<HTMLDivElement> {
@@ -138,11 +138,11 @@ type Element_12xgc2 = JSX_1kxb2["Element"];
138
138
  * @license MIT © 2026 Saurabh Chauhan
139
139
  * @license MIT © 2024 ibelick
140
140
  */
141
- declare const Popover: (({ open, defaultOpen, onOpenChange, modal, children }: PopoverProps) => Element_12xgc2) & {
141
+ declare const Popover2: (({ open, defaultOpen, onOpenChange, modal, children }: PopoverProps) => Element_12xgc2) & {
142
142
  Trigger: ForwardRefExoticComponent_tcubfn2<PopoverTriggerProps & RefAttributes_miuf562<HTMLButtonElement>>;
143
143
  Content: ForwardRefExoticComponent_tcubfn2<PopoverContentProps & RefAttributes_miuf562<HTMLDivElement>>;
144
144
  Title: ForwardRefExoticComponent_tcubfn2<HTMLAttributes<HTMLHeadingElement> & RefAttributes_miuf562<HTMLHeadingElement>>;
145
145
  Description: ForwardRefExoticComponent_tcubfn2<HTMLAttributes<HTMLParagraphElement> & RefAttributes_miuf562<HTMLParagraphElement>>;
146
146
  Close: ForwardRefExoticComponent_tcubfn2<SlotProps & RefAttributes_miuf562<HTMLButtonElement>>;
147
147
  };
148
- export { Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverDescription, PopoverOpenChangeDetails, PopoverProps, PopoverTitle, PopoverTrigger, PopoverTriggerProps, Popover as default };
148
+ export { Popover2 as Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverDescription, PopoverOpenChangeDetails, PopoverProps, PopoverTitle, PopoverTrigger, PopoverTriggerProps, Popover2 as default };
@@ -6,20 +6,20 @@ import {
6
6
  PopoverDescription2,
7
7
  Popover2,
8
8
  popover_default
9
- } from "../../../shared/components-r5q9gdh4.js";
10
- import"../../../shared/components-nxqrw789.js";
11
- import"../../../shared/components-rgng034x.js";
12
- import"../../../shared/components-wq9hrera.js";
13
- import"../../../shared/components-pa43g2r2.js";
14
- import"../../../shared/components-8pnvkrbw.js";
9
+ } from "../../../shared/components-nd3f803g.js";
10
+ import"../../../shared/components-90sfqz5t.js";
11
+ import"../../../shared/components-ceyn28cf.js";
12
+ import"../../../shared/components-nwa2a9tq.js";
13
+ import"../../../shared/components-xvf8jcza.js";
14
+ import"../../../shared/components-313rmbxy.js";
15
+ import"../../../shared/components-wddr0r6a.js";
16
+ import"../../../shared/components-wwd093xg.js";
17
+ import"../../../shared/components-mp7en54n.js";
15
18
  import"../../../shared/components-pva1wj1r.js";
16
- import"../../../shared/components-kwxye0an.js";
19
+ import"../../../shared/components-7wjkag2j.js";
17
20
  import"../../../shared/components-bkwjvvkh.js";
18
- import"../../../shared/components-45r18egt.js";
19
- import"../../../shared/components-wwd093xg.js";
20
21
  import"../../../shared/components-tz0axc0f.js";
21
- import"../../../shared/components-ceyn28cf.js";
22
- import"../../../shared/components-nwa2a9tq.js";
22
+ import"../../../shared/components-45r18egt.js";
23
23
  import"../../../shared/components-kxpcj2ry.js";
24
24
  import"../../../shared/components-s217vq1n.js";
25
25
  import"../../../shared/components-xnp09586.js";
@@ -3,19 +3,19 @@ import {
3
3
  PreviewCardContent2,
4
4
  PreviewCard2,
5
5
  preview_card_default
6
- } from "../../../shared/components-fmyvz4r2.js";
7
- import"../../../shared/components-nxqrw789.js";
8
- import"../../../shared/components-rgng034x.js";
9
- import"../../../shared/components-wq9hrera.js";
10
- import"../../../shared/components-pa43g2r2.js";
11
- import"../../../shared/components-8pnvkrbw.js";
6
+ } from "../../../shared/components-qd27dvgj.js";
7
+ import"../../../shared/components-90sfqz5t.js";
8
+ import"../../../shared/components-ceyn28cf.js";
9
+ import"../../../shared/components-nwa2a9tq.js";
10
+ import"../../../shared/components-xvf8jcza.js";
11
+ import"../../../shared/components-313rmbxy.js";
12
+ import"../../../shared/components-wddr0r6a.js";
13
+ import"../../../shared/components-wwd093xg.js";
14
+ import"../../../shared/components-mp7en54n.js";
12
15
  import"../../../shared/components-pva1wj1r.js";
13
16
  import"../../../shared/components-bkwjvvkh.js";
14
- import"../../../shared/components-45r18egt.js";
15
- import"../../../shared/components-wwd093xg.js";
16
17
  import"../../../shared/components-tz0axc0f.js";
17
- import"../../../shared/components-ceyn28cf.js";
18
- import"../../../shared/components-nwa2a9tq.js";
18
+ import"../../../shared/components-45r18egt.js";
19
19
  import"../../../shared/components-kxpcj2ry.js";
20
20
  import"../../../shared/components-s217vq1n.js";
21
21
  import"../../../shared/components-xnp09586.js";
@@ -1,5 +1,5 @@
1
1
  import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
2
- import { ComponentProps as ComponentProps2, HTMLAttributes as HTMLAttributes2, ReactNode as ReactNode4 } from "react";
2
+ import { ComponentProps as ComponentProps3, HTMLAttributes as HTMLAttributes2, ReactNode as ReactNode4 } from "react";
3
3
  import { RefObject } from "react";
4
4
  type MorphSide = "top" | "right" | "bottom" | "left";
5
5
  type MorphFrom = "trigger" | "pointer" | "center" | MorphSide | RefObject<HTMLElement | null>;
@@ -23,7 +23,7 @@ type Side = "top" | "right" | "bottom" | "left";
23
23
  import { HTMLAttributes } from "react";
24
24
  import { ButtonHTMLAttributes, ReactElement, ReactNode as ReactNode2 } from "react";
25
25
  interface SlotProps extends ButtonHTMLAttributes<HTMLButtonElement> {
26
- /** The element that becomes the control, e.g. a Button. */
26
+ /** The element that becomes the control, e.g. a Button. `children` fill it when it has none of its own. */
27
27
  render?: ReactElement;
28
28
  /** Compose onto the single child instead. Defaults to `false`. */
29
29
  asChild?: boolean;
@@ -38,7 +38,7 @@ import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn3 } from "
38
38
  import { RefAttributes as RefAttributes_miuf563 } from "react";
39
39
  import { JSX as JSX_1kxb3 } from "react";
40
40
  type SheetSide = Side;
41
- type DrawerPopupProps = ComponentProps2<typeof DrawerPrimitive.Popup>;
41
+ type DrawerPopupProps = ComponentProps3<typeof DrawerPrimitive.Popup>;
42
42
  interface SheetContentProps extends MorphProps, HTMLAttributes2<HTMLDivElement> {
43
43
  /** Portal target. Defaults to the nearest `PortalContainer`, else the document body. */
44
44
  container?: HTMLElement | null;