@ansh-ui/react 0.2.0 → 0.3.1

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 (92) hide show
  1. package/dist/{chunk-C5JG6TMM.cjs → chunk-2U7BHYIQ.cjs} +143 -143
  2. package/dist/chunk-2U7BHYIQ.cjs.map +1 -0
  3. package/dist/{chunk-HO2YSF5O.js → chunk-742E5FQS.js} +3 -3
  4. package/dist/chunk-742E5FQS.js.map +1 -0
  5. package/dist/{chunk-QO3E7TJS.js → chunk-7QGB2X7R.js} +36 -28
  6. package/dist/chunk-7QGB2X7R.js.map +1 -0
  7. package/dist/{chunk-EGG4CP7C.js → chunk-BQJ6H3HC.js} +3 -2
  8. package/dist/chunk-BQJ6H3HC.js.map +1 -0
  9. package/dist/{chunk-OLTS6G5M.js → chunk-GNA33V2J.js} +11 -6
  10. package/dist/chunk-GNA33V2J.js.map +1 -0
  11. package/dist/{chunk-C32LKF23.cjs → chunk-KTLTYHAT.cjs} +3 -3
  12. package/dist/chunk-KTLTYHAT.cjs.map +1 -0
  13. package/dist/{chunk-AVPEA5PB.cjs → chunk-MPX7QT4R.cjs} +4 -4
  14. package/dist/chunk-MPX7QT4R.cjs.map +1 -0
  15. package/dist/{chunk-T4AK2KLM.js → chunk-NJUVVMJV.js} +3 -3
  16. package/dist/chunk-NJUVVMJV.js.map +1 -0
  17. package/dist/{chunk-IBXLC5IE.js → chunk-P5MRISBP.js} +19 -3
  18. package/dist/chunk-P5MRISBP.js.map +1 -0
  19. package/dist/{chunk-WGYNCSTP.cjs → chunk-PUW6BTPQ.cjs} +3 -2
  20. package/dist/chunk-PUW6BTPQ.cjs.map +1 -0
  21. package/dist/{chunk-LDCZQP3R.js → chunk-RGGNLAAA.js} +122 -122
  22. package/dist/chunk-RGGNLAAA.js.map +1 -0
  23. package/dist/{chunk-6VRF7X5C.cjs → chunk-TEPQGFR4.cjs} +19 -2
  24. package/dist/chunk-TEPQGFR4.cjs.map +1 -0
  25. package/dist/{chunk-OJN5JBNP.cjs → chunk-VJI6V27F.cjs} +99 -99
  26. package/dist/chunk-VJI6V27F.cjs.map +1 -0
  27. package/dist/{chunk-HPGCILO4.js → chunk-XRKZPLUT.js} +99 -99
  28. package/dist/chunk-XRKZPLUT.js.map +1 -0
  29. package/dist/{chunk-DATBU46V.cjs → chunk-XYT6OXKP.cjs} +10 -4
  30. package/dist/chunk-XYT6OXKP.cjs.map +1 -0
  31. package/dist/{chunk-RHTLNSVW.cjs → chunk-YVJB7AAZ.cjs} +39 -31
  32. package/dist/chunk-YVJB7AAZ.cjs.map +1 -0
  33. package/dist/data.cjs +16 -16
  34. package/dist/data.d.cts +25 -23
  35. package/dist/data.d.ts +25 -23
  36. package/dist/data.js +1 -1
  37. package/dist/form.cjs +37 -37
  38. package/dist/form.d.cts +4 -1
  39. package/dist/form.d.ts +4 -1
  40. package/dist/form.js +2 -2
  41. package/dist/index.cjs +666 -135
  42. package/dist/index.cjs.map +1 -1
  43. package/dist/index.d.cts +220 -7
  44. package/dist/index.d.ts +220 -7
  45. package/dist/index.js +530 -14
  46. package/dist/index.js.map +1 -1
  47. package/dist/layout.cjs +13 -13
  48. package/dist/layout.d.cts +11 -2
  49. package/dist/layout.d.ts +11 -2
  50. package/dist/layout.js +1 -1
  51. package/dist/{motion-CQmCq6_k.d.ts → motion-C6WfBFES.d.cts} +23 -19
  52. package/dist/{motion-CSX4g2N8.d.cts → motion-ugXmf505.d.ts} +23 -19
  53. package/dist/motion.cjs +19 -19
  54. package/dist/motion.d.cts +2 -2
  55. package/dist/motion.d.ts +2 -2
  56. package/dist/motion.js +2 -2
  57. package/dist/navigation.cjs +8 -8
  58. package/dist/navigation.d.cts +3 -2
  59. package/dist/navigation.d.ts +3 -2
  60. package/dist/navigation.js +1 -1
  61. package/dist/overlay.cjs +16 -16
  62. package/dist/overlay.d.cts +17 -14
  63. package/dist/overlay.d.ts +17 -14
  64. package/dist/overlay.js +2 -2
  65. package/dist/{position-DVScKcaa.d.cts → position-CW6cGpSF.d.cts} +2 -1
  66. package/dist/{position-DVScKcaa.d.ts → position-CW6cGpSF.d.ts} +2 -1
  67. package/dist/primitives.cjs +25 -21
  68. package/dist/primitives.d.cts +5 -4
  69. package/dist/primitives.d.ts +5 -4
  70. package/dist/primitives.js +2 -2
  71. package/dist/{sidebar-D-PafAXw.d.cts → sidebar-Dyt67t2z.d.cts} +2 -1
  72. package/dist/{sidebar-D-PafAXw.d.ts → sidebar-Dyt67t2z.d.ts} +2 -1
  73. package/dist/styles.css +464 -0
  74. package/dist/{use-observers-B9qtimrk.d.cts → use-observers-DvA7hSz4.d.cts} +10 -1
  75. package/dist/{use-observers-B9qtimrk.d.ts → use-observers-DvA7hSz4.d.ts} +10 -1
  76. package/package.json +3 -3
  77. package/dist/chunk-6VRF7X5C.cjs.map +0 -1
  78. package/dist/chunk-AVPEA5PB.cjs.map +0 -1
  79. package/dist/chunk-C32LKF23.cjs.map +0 -1
  80. package/dist/chunk-C5JG6TMM.cjs.map +0 -1
  81. package/dist/chunk-DATBU46V.cjs.map +0 -1
  82. package/dist/chunk-EGG4CP7C.js.map +0 -1
  83. package/dist/chunk-HO2YSF5O.js.map +0 -1
  84. package/dist/chunk-HPGCILO4.js.map +0 -1
  85. package/dist/chunk-IBXLC5IE.js.map +0 -1
  86. package/dist/chunk-LDCZQP3R.js.map +0 -1
  87. package/dist/chunk-OJN5JBNP.cjs.map +0 -1
  88. package/dist/chunk-OLTS6G5M.js.map +0 -1
  89. package/dist/chunk-QO3E7TJS.js.map +0 -1
  90. package/dist/chunk-RHTLNSVW.cjs.map +0 -1
  91. package/dist/chunk-T4AK2KLM.js.map +0 -1
  92. package/dist/chunk-WGYNCSTP.cjs.map +0 -1
package/dist/overlay.cjs CHANGED
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunkC5JG6TMM_cjs = require('./chunk-C5JG6TMM.cjs');
5
- require('./chunk-C32LKF23.cjs');
4
+ var chunk2U7BHYIQ_cjs = require('./chunk-2U7BHYIQ.cjs');
5
+ require('./chunk-KTLTYHAT.cjs');
6
6
  require('./chunk-XMXECSQO.cjs');
7
7
  require('./chunk-PO5DU3FU.cjs');
8
8
  require('./chunk-SFU5EPSN.cjs');
@@ -11,59 +11,59 @@ require('./chunk-SFU5EPSN.cjs');
11
11
 
12
12
  Object.defineProperty(exports, "AlertDialog", {
13
13
  enumerable: true,
14
- get: function () { return chunkC5JG6TMM_cjs.AlertDialog; }
14
+ get: function () { return chunk2U7BHYIQ_cjs.AlertDialog; }
15
15
  });
16
16
  Object.defineProperty(exports, "CommandPalette", {
17
17
  enumerable: true,
18
- get: function () { return chunkC5JG6TMM_cjs.CommandPalette; }
18
+ get: function () { return chunk2U7BHYIQ_cjs.CommandPalette; }
19
19
  });
20
20
  Object.defineProperty(exports, "ContextMenu", {
21
21
  enumerable: true,
22
- get: function () { return chunkC5JG6TMM_cjs.ContextMenu; }
22
+ get: function () { return chunk2U7BHYIQ_cjs.ContextMenu; }
23
23
  });
24
24
  Object.defineProperty(exports, "Dialog", {
25
25
  enumerable: true,
26
- get: function () { return chunkC5JG6TMM_cjs.Dialog; }
26
+ get: function () { return chunk2U7BHYIQ_cjs.Dialog; }
27
27
  });
28
28
  Object.defineProperty(exports, "DialogFooter", {
29
29
  enumerable: true,
30
- get: function () { return chunkC5JG6TMM_cjs.DialogFooter; }
30
+ get: function () { return chunk2U7BHYIQ_cjs.DialogFooter; }
31
31
  });
32
32
  Object.defineProperty(exports, "Drawer", {
33
33
  enumerable: true,
34
- get: function () { return chunkC5JG6TMM_cjs.Drawer; }
34
+ get: function () { return chunk2U7BHYIQ_cjs.Drawer; }
35
35
  });
36
36
  Object.defineProperty(exports, "DropdownMenu", {
37
37
  enumerable: true,
38
- get: function () { return chunkC5JG6TMM_cjs.DropdownMenu; }
38
+ get: function () { return chunk2U7BHYIQ_cjs.DropdownMenu; }
39
39
  });
40
40
  Object.defineProperty(exports, "HoverCard", {
41
41
  enumerable: true,
42
- get: function () { return chunkC5JG6TMM_cjs.HoverCard; }
42
+ get: function () { return chunk2U7BHYIQ_cjs.HoverCard; }
43
43
  });
44
44
  Object.defineProperty(exports, "Popover", {
45
45
  enumerable: true,
46
- get: function () { return chunkC5JG6TMM_cjs.Popover; }
46
+ get: function () { return chunk2U7BHYIQ_cjs.Popover; }
47
47
  });
48
48
  Object.defineProperty(exports, "PopoverContent", {
49
49
  enumerable: true,
50
- get: function () { return chunkC5JG6TMM_cjs.PopoverContent; }
50
+ get: function () { return chunk2U7BHYIQ_cjs.PopoverContent; }
51
51
  });
52
52
  Object.defineProperty(exports, "PopoverTrigger", {
53
53
  enumerable: true,
54
- get: function () { return chunkC5JG6TMM_cjs.PopoverTrigger; }
54
+ get: function () { return chunk2U7BHYIQ_cjs.PopoverTrigger; }
55
55
  });
56
56
  Object.defineProperty(exports, "Tooltip", {
57
57
  enumerable: true,
58
- get: function () { return chunkC5JG6TMM_cjs.Tooltip; }
58
+ get: function () { return chunk2U7BHYIQ_cjs.Tooltip; }
59
59
  });
60
60
  Object.defineProperty(exports, "TooltipProvider", {
61
61
  enumerable: true,
62
- get: function () { return chunkC5JG6TMM_cjs.TooltipProvider; }
62
+ get: function () { return chunk2U7BHYIQ_cjs.TooltipProvider; }
63
63
  });
64
64
  Object.defineProperty(exports, "useCommandShortcut", {
65
65
  enumerable: true,
66
- get: function () { return chunkC5JG6TMM_cjs.useCommandShortcut; }
66
+ get: function () { return chunk2U7BHYIQ_cjs.useCommandShortcut; }
67
67
  });
68
68
  //# sourceMappingURL=overlay.cjs.map
69
69
  //# sourceMappingURL=overlay.cjs.map
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { P as Placement } from './position-DVScKcaa.cjs';
3
+ import { Placement } from './index.cjs';
4
4
 
5
5
  /**
6
6
  * A command palette.
@@ -229,18 +229,6 @@ interface DrawerProps {
229
229
  */
230
230
  declare function Drawer({ open, onOpenChange, side, title, description, size, footer, showClose, modal, dismissable, className, children, }: DrawerProps): react.JSX.Element | null;
231
231
 
232
- /**
233
- * Menus — dropdown and context.
234
- *
235
- * Data-driven (`items={[…]}`) rather than compound. Menus are almost always built from a
236
- * configuration array anyway — permissions filter entries, a selection decides what's enabled — and
237
- * expressing that as JSX children means `{canDelete && <MenuItem …/>}` scattered through the tree,
238
- * which breaks keyboard navigation indices in ways that are painful to debug.
239
- *
240
- * Follows the ARIA menu pattern, where **DOM focus moves to the item** (unlike a listbox, which
241
- * keeps focus on the container). That's what makes Right/Left arrow submenu traversal work the way
242
- * it does in every desktop application.
243
- */
244
232
  interface MenuItemBase {
245
233
  id?: string;
246
234
  disabled?: boolean;
@@ -284,6 +272,19 @@ type MenuEntry = MenuAction | MenuCheckbox | MenuRadioGroup | MenuSubmenu | {
284
272
  type: 'label';
285
273
  label: ReactNode;
286
274
  };
275
+
276
+ /**
277
+ * Menus — dropdown and context.
278
+ *
279
+ * Data-driven (`items={[…]}`) rather than compound. Menus are almost always built from a
280
+ * configuration array anyway — permissions filter entries, a selection decides what's enabled — and
281
+ * expressing that as JSX children means `{canDelete && <MenuItem …/>}` scattered through the tree,
282
+ * which breaks keyboard navigation indices in ways that are painful to debug.
283
+ *
284
+ * Follows the ARIA menu pattern, where **DOM focus moves to the item** (unlike a listbox, which
285
+ * keeps focus on the container). That's what makes Right/Left arrow submenu traversal work the way
286
+ * it does in every desktop application.
287
+ */
287
288
  interface MenuProps {
288
289
  items: readonly MenuEntry[];
289
290
  placement?: Placement;
@@ -309,6 +310,7 @@ interface MenuProps {
309
310
  * ```
310
311
  */
311
312
  declare function DropdownMenu({ items, placement, label, className, children, open: controlledOpen, onOpenChange, }: MenuProps): react.JSX.Element;
313
+
312
314
  interface ContextMenuProps {
313
315
  items: readonly MenuEntry[];
314
316
  label?: string;
@@ -327,4 +329,5 @@ interface ContextMenuProps {
327
329
  */
328
330
  declare function ContextMenu({ items, label, className, children, }: ContextMenuProps): react.JSX.Element;
329
331
 
330
- export { AlertDialog, type AlertDialogProps, type CommandItem, CommandPalette, type CommandPaletteProps, ContextMenu, type ContextMenuProps, Dialog, DialogFooter, type DialogProps, type DialogSize, Drawer, type DrawerProps, type DrawerSide, DropdownMenu, HoverCard, type HoverCardProps, type MenuAction, type MenuCheckbox, type MenuEntry, type MenuProps, type MenuRadioGroup, type MenuSubmenu, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, useCommandShortcut };
332
+ export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut };
333
+ export type { AlertDialogProps, CommandItem, CommandPaletteProps, ContextMenuProps, DialogProps, DialogSize, DrawerProps, DrawerSide, HoverCardProps, MenuAction, MenuCheckbox, MenuEntry, MenuProps, MenuRadioGroup, MenuSubmenu, PopoverContentProps, PopoverProps, PopoverTriggerProps, TooltipProps, TooltipProviderProps };
package/dist/overlay.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import * as react from 'react';
2
2
  import { ReactNode } from 'react';
3
- import { P as Placement } from './position-DVScKcaa.js';
3
+ import { Placement } from './index.js';
4
4
 
5
5
  /**
6
6
  * A command palette.
@@ -229,18 +229,6 @@ interface DrawerProps {
229
229
  */
230
230
  declare function Drawer({ open, onOpenChange, side, title, description, size, footer, showClose, modal, dismissable, className, children, }: DrawerProps): react.JSX.Element | null;
231
231
 
232
- /**
233
- * Menus — dropdown and context.
234
- *
235
- * Data-driven (`items={[…]}`) rather than compound. Menus are almost always built from a
236
- * configuration array anyway — permissions filter entries, a selection decides what's enabled — and
237
- * expressing that as JSX children means `{canDelete && <MenuItem …/>}` scattered through the tree,
238
- * which breaks keyboard navigation indices in ways that are painful to debug.
239
- *
240
- * Follows the ARIA menu pattern, where **DOM focus moves to the item** (unlike a listbox, which
241
- * keeps focus on the container). That's what makes Right/Left arrow submenu traversal work the way
242
- * it does in every desktop application.
243
- */
244
232
  interface MenuItemBase {
245
233
  id?: string;
246
234
  disabled?: boolean;
@@ -284,6 +272,19 @@ type MenuEntry = MenuAction | MenuCheckbox | MenuRadioGroup | MenuSubmenu | {
284
272
  type: 'label';
285
273
  label: ReactNode;
286
274
  };
275
+
276
+ /**
277
+ * Menus — dropdown and context.
278
+ *
279
+ * Data-driven (`items={[…]}`) rather than compound. Menus are almost always built from a
280
+ * configuration array anyway — permissions filter entries, a selection decides what's enabled — and
281
+ * expressing that as JSX children means `{canDelete && <MenuItem …/>}` scattered through the tree,
282
+ * which breaks keyboard navigation indices in ways that are painful to debug.
283
+ *
284
+ * Follows the ARIA menu pattern, where **DOM focus moves to the item** (unlike a listbox, which
285
+ * keeps focus on the container). That's what makes Right/Left arrow submenu traversal work the way
286
+ * it does in every desktop application.
287
+ */
287
288
  interface MenuProps {
288
289
  items: readonly MenuEntry[];
289
290
  placement?: Placement;
@@ -309,6 +310,7 @@ interface MenuProps {
309
310
  * ```
310
311
  */
311
312
  declare function DropdownMenu({ items, placement, label, className, children, open: controlledOpen, onOpenChange, }: MenuProps): react.JSX.Element;
313
+
312
314
  interface ContextMenuProps {
313
315
  items: readonly MenuEntry[];
314
316
  label?: string;
@@ -327,4 +329,5 @@ interface ContextMenuProps {
327
329
  */
328
330
  declare function ContextMenu({ items, label, className, children, }: ContextMenuProps): react.JSX.Element;
329
331
 
330
- export { AlertDialog, type AlertDialogProps, type CommandItem, CommandPalette, type CommandPaletteProps, ContextMenu, type ContextMenuProps, Dialog, DialogFooter, type DialogProps, type DialogSize, Drawer, type DrawerProps, type DrawerSide, DropdownMenu, HoverCard, type HoverCardProps, type MenuAction, type MenuCheckbox, type MenuEntry, type MenuProps, type MenuRadioGroup, type MenuSubmenu, Popover, PopoverContent, type PopoverContentProps, type PopoverProps, PopoverTrigger, type PopoverTriggerProps, Tooltip, type TooltipProps, TooltipProvider, type TooltipProviderProps, useCommandShortcut };
332
+ export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut };
333
+ export type { AlertDialogProps, CommandItem, CommandPaletteProps, ContextMenuProps, DialogProps, DialogSize, DrawerProps, DrawerSide, HoverCardProps, MenuAction, MenuCheckbox, MenuEntry, MenuProps, MenuRadioGroup, MenuSubmenu, PopoverContentProps, PopoverProps, PopoverTriggerProps, TooltipProps, TooltipProviderProps };
package/dist/overlay.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use client';
2
- export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut } from './chunk-LDCZQP3R.js';
3
- import './chunk-HO2YSF5O.js';
2
+ export { AlertDialog, CommandPalette, ContextMenu, Dialog, DialogFooter, Drawer, DropdownMenu, HoverCard, Popover, PopoverContent, PopoverTrigger, Tooltip, TooltipProvider, useCommandShortcut } from './chunk-RGGNLAAA.js';
3
+ import './chunk-742E5FQS.js';
4
4
  import './chunk-XEP6P7E6.js';
5
5
  import './chunk-LXCIXR5T.js';
6
6
  import './chunk-H34OXXJU.js';
@@ -63,4 +63,5 @@ interface PositionResult {
63
63
  */
64
64
  declare function computePosition(anchor: Rect, floating: Rect, viewport: Rect, options?: PositionOptions): PositionResult;
65
65
 
66
- export { type Align as A, type Placement as P, type Rect as R, type Side as S, type PositionOptions as a, type PositionResult as b, computePosition as c };
66
+ export { computePosition as c };
67
+ export type { Align as A, Placement as P, Rect as R, Side as S, PositionOptions as a, PositionResult as b };
@@ -63,4 +63,5 @@ interface PositionResult {
63
63
  */
64
64
  declare function computePosition(anchor: Rect, floating: Rect, viewport: Rect, options?: PositionOptions): PositionResult;
65
65
 
66
- export { type Align as A, type Placement as P, type Rect as R, type Side as S, type PositionOptions as a, type PositionResult as b, computePosition as c };
66
+ export { computePosition as c };
67
+ export type { Align as A, Placement as P, Rect as R, Side as S, PositionOptions as a, PositionResult as b };
@@ -2,10 +2,10 @@
2
2
  'use strict';
3
3
 
4
4
  var chunkOHBWBXLO_cjs = require('./chunk-OHBWBXLO.cjs');
5
- var chunkC32LKF23_cjs = require('./chunk-C32LKF23.cjs');
5
+ var chunkKTLTYHAT_cjs = require('./chunk-KTLTYHAT.cjs');
6
6
  var chunkXMXECSQO_cjs = require('./chunk-XMXECSQO.cjs');
7
7
  var chunkPO5DU3FU_cjs = require('./chunk-PO5DU3FU.cjs');
8
- var chunk6VRF7X5C_cjs = require('./chunk-6VRF7X5C.cjs');
8
+ var chunkTEPQGFR4_cjs = require('./chunk-TEPQGFR4.cjs');
9
9
  var chunkSFU5EPSN_cjs = require('./chunk-SFU5EPSN.cjs');
10
10
 
11
11
 
@@ -36,43 +36,43 @@ Object.defineProperty(exports, "useSpringValue", {
36
36
  });
37
37
  Object.defineProperty(exports, "Presence", {
38
38
  enumerable: true,
39
- get: function () { return chunkC32LKF23_cjs.Presence; }
39
+ get: function () { return chunkKTLTYHAT_cjs.Presence; }
40
40
  });
41
41
  Object.defineProperty(exports, "Slot", {
42
42
  enumerable: true,
43
- get: function () { return chunkC32LKF23_cjs.Slot; }
43
+ get: function () { return chunkKTLTYHAT_cjs.Slot; }
44
44
  });
45
45
  Object.defineProperty(exports, "countElements", {
46
46
  enumerable: true,
47
- get: function () { return chunkC32LKF23_cjs.countElements; }
47
+ get: function () { return chunkKTLTYHAT_cjs.countElements; }
48
48
  });
49
49
  Object.defineProperty(exports, "getTabbable", {
50
50
  enumerable: true,
51
- get: function () { return chunkC32LKF23_cjs.getTabbable; }
51
+ get: function () { return chunkKTLTYHAT_cjs.getTabbable; }
52
52
  });
53
53
  Object.defineProperty(exports, "slotted", {
54
54
  enumerable: true,
55
- get: function () { return chunkC32LKF23_cjs.slotted; }
55
+ get: function () { return chunkKTLTYHAT_cjs.slotted; }
56
56
  });
57
57
  Object.defineProperty(exports, "useAutoFocus", {
58
58
  enumerable: true,
59
- get: function () { return chunkC32LKF23_cjs.useAutoFocus; }
59
+ get: function () { return chunkKTLTYHAT_cjs.useAutoFocus; }
60
60
  });
61
61
  Object.defineProperty(exports, "useFocusRestore", {
62
62
  enumerable: true,
63
- get: function () { return chunkC32LKF23_cjs.useFocusRestore; }
63
+ get: function () { return chunkKTLTYHAT_cjs.useFocusRestore; }
64
64
  });
65
65
  Object.defineProperty(exports, "useFocusTrap", {
66
66
  enumerable: true,
67
- get: function () { return chunkC32LKF23_cjs.useFocusTrap; }
67
+ get: function () { return chunkKTLTYHAT_cjs.useFocusTrap; }
68
68
  });
69
69
  Object.defineProperty(exports, "usePresence", {
70
70
  enumerable: true,
71
- get: function () { return chunkC32LKF23_cjs.usePresence; }
71
+ get: function () { return chunkKTLTYHAT_cjs.usePresence; }
72
72
  });
73
73
  Object.defineProperty(exports, "useRovingFocus", {
74
74
  enumerable: true,
75
- get: function () { return chunkC32LKF23_cjs.useRovingFocus; }
75
+ get: function () { return chunkKTLTYHAT_cjs.useRovingFocus; }
76
76
  });
77
77
  Object.defineProperty(exports, "Portal", {
78
78
  enumerable: true,
@@ -104,39 +104,43 @@ Object.defineProperty(exports, "useControllableState", {
104
104
  });
105
105
  Object.defineProperty(exports, "useElementSize", {
106
106
  enumerable: true,
107
- get: function () { return chunk6VRF7X5C_cjs.useElementSize; }
107
+ get: function () { return chunkTEPQGFR4_cjs.useElementSize; }
108
108
  });
109
109
  Object.defineProperty(exports, "useFrameBudget", {
110
110
  enumerable: true,
111
- get: function () { return chunk6VRF7X5C_cjs.useFrameBudget; }
111
+ get: function () { return chunkTEPQGFR4_cjs.useFrameBudget; }
112
112
  });
113
113
  Object.defineProperty(exports, "useInView", {
114
114
  enumerable: true,
115
- get: function () { return chunk6VRF7X5C_cjs.useInView; }
115
+ get: function () { return chunkTEPQGFR4_cjs.useInView; }
116
116
  });
117
117
  Object.defineProperty(exports, "useMergedRef", {
118
118
  enumerable: true,
119
- get: function () { return chunk6VRF7X5C_cjs.useMergedRef; }
119
+ get: function () { return chunkTEPQGFR4_cjs.useMergedRef; }
120
120
  });
121
121
  Object.defineProperty(exports, "usePointer", {
122
122
  enumerable: true,
123
- get: function () { return chunk6VRF7X5C_cjs.usePointer; }
123
+ get: function () { return chunkTEPQGFR4_cjs.usePointer; }
124
124
  });
125
125
  Object.defineProperty(exports, "useReducedMotion", {
126
126
  enumerable: true,
127
- get: function () { return chunk6VRF7X5C_cjs.useReducedMotion; }
127
+ get: function () { return chunkTEPQGFR4_cjs.useReducedMotion; }
128
128
  });
129
129
  Object.defineProperty(exports, "useScrollProgress", {
130
130
  enumerable: true,
131
- get: function () { return chunk6VRF7X5C_cjs.useScrollProgress; }
131
+ get: function () { return chunkTEPQGFR4_cjs.useScrollProgress; }
132
132
  });
133
133
  Object.defineProperty(exports, "useTicker", {
134
134
  enumerable: true,
135
- get: function () { return chunk6VRF7X5C_cjs.useTicker; }
135
+ get: function () { return chunkTEPQGFR4_cjs.useTicker; }
136
+ });
137
+ Object.defineProperty(exports, "useTickerSubscriberCount", {
138
+ enumerable: true,
139
+ get: function () { return chunkTEPQGFR4_cjs.useTickerSubscriberCount; }
136
140
  });
137
141
  Object.defineProperty(exports, "useWindowScroll", {
138
142
  enumerable: true,
139
- get: function () { return chunk6VRF7X5C_cjs.useWindowScroll; }
143
+ get: function () { return chunkTEPQGFR4_cjs.useWindowScroll; }
140
144
  });
141
145
  Object.defineProperty(exports, "assignRef", {
142
146
  enumerable: true,
@@ -1,8 +1,8 @@
1
1
  import * as react from 'react';
2
2
  import { Ref, SyntheticEvent, ReactNode, RefObject, CSSProperties } from 'react';
3
- import { b as PositionResult, a as PositionOptions } from './position-DVScKcaa.cjs';
4
- export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-DVScKcaa.cjs';
5
- export { I as InViewOptions, u as useElementSize, a as useFrameBudget, b as useInView, c as useMergedRef, d as usePointer, e as useReducedMotion, f as useScrollProgress, g as useTicker, h as useWindowScroll } from './use-observers-B9qtimrk.cjs';
3
+ import { b as PositionResult, a as PositionOptions } from './position-CW6cGpSF.cjs';
4
+ export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-CW6cGpSF.cjs';
5
+ export { I as InViewOptions, u as useElementSize, a as useFrameBudget, b as useInView, c as useMergedRef, d as usePointer, e as useReducedMotion, f as useScrollProgress, g as useTicker, h as useTickerSubscriberCount, i as useWindowScroll } from './use-observers-DvA7hSz4.cjs';
6
6
  import * as _ansh_ui_core from '@ansh-ui/core';
7
7
  import { MotionValue, AnimationOptions, SpringOptions } from '@ansh-ui/core';
8
8
 
@@ -291,4 +291,5 @@ interface AnchoredPosition {
291
291
  */
292
292
  declare function useAnchoredPosition(anchorRef: RefObject<HTMLElement | null>, floatingRef: RefObject<HTMLElement | null>, open: boolean, options?: AnchoredPositionOptions): AnchoredPosition;
293
293
 
294
- export { type AnchoredPosition, type AnchoredPositionOptions, type DismissOptions, Portal, type PortalProps, PositionOptions, PositionResult, Presence, type PresenceProps, Slot, type SlotProps, assignRef, composeEventHandlers, countElements, cx, getLayerStack, getTabbable, mergeProps, mergeRefs, slotted, useAnchoredPosition, useAnimate, useAutoFocus, useControllableState, useDismiss, useFocusRestore, useFocusTrap, useIsMounted, useMotionStyle, useMotionValue, useMotionValueState, usePresence, useRovingFocus, useScrollLock, useSpringValue };
294
+ export { Portal, PositionOptions, PositionResult, Presence, Slot, assignRef, composeEventHandlers, countElements, cx, getLayerStack, getTabbable, mergeProps, mergeRefs, slotted, useAnchoredPosition, useAnimate, useAutoFocus, useControllableState, useDismiss, useFocusRestore, useFocusTrap, useIsMounted, useMotionStyle, useMotionValue, useMotionValueState, usePresence, useRovingFocus, useScrollLock, useSpringValue };
295
+ export type { AnchoredPosition, AnchoredPositionOptions, DismissOptions, PortalProps, PresenceProps, SlotProps };
@@ -1,8 +1,8 @@
1
1
  import * as react from 'react';
2
2
  import { Ref, SyntheticEvent, ReactNode, RefObject, CSSProperties } from 'react';
3
- import { b as PositionResult, a as PositionOptions } from './position-DVScKcaa.js';
4
- export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-DVScKcaa.js';
5
- export { I as InViewOptions, u as useElementSize, a as useFrameBudget, b as useInView, c as useMergedRef, d as usePointer, e as useReducedMotion, f as useScrollProgress, g as useTicker, h as useWindowScroll } from './use-observers-B9qtimrk.js';
3
+ import { b as PositionResult, a as PositionOptions } from './position-CW6cGpSF.js';
4
+ export { A as Align, P as Placement, R as Rect, S as Side, c as computePosition } from './position-CW6cGpSF.js';
5
+ export { I as InViewOptions, u as useElementSize, a as useFrameBudget, b as useInView, c as useMergedRef, d as usePointer, e as useReducedMotion, f as useScrollProgress, g as useTicker, h as useTickerSubscriberCount, i as useWindowScroll } from './use-observers-DvA7hSz4.js';
6
6
  import * as _ansh_ui_core from '@ansh-ui/core';
7
7
  import { MotionValue, AnimationOptions, SpringOptions } from '@ansh-ui/core';
8
8
 
@@ -291,4 +291,5 @@ interface AnchoredPosition {
291
291
  */
292
292
  declare function useAnchoredPosition(anchorRef: RefObject<HTMLElement | null>, floatingRef: RefObject<HTMLElement | null>, open: boolean, options?: AnchoredPositionOptions): AnchoredPosition;
293
293
 
294
- export { type AnchoredPosition, type AnchoredPositionOptions, type DismissOptions, Portal, type PortalProps, PositionOptions, PositionResult, Presence, type PresenceProps, Slot, type SlotProps, assignRef, composeEventHandlers, countElements, cx, getLayerStack, getTabbable, mergeProps, mergeRefs, slotted, useAnchoredPosition, useAnimate, useAutoFocus, useControllableState, useDismiss, useFocusRestore, useFocusTrap, useIsMounted, useMotionStyle, useMotionValue, useMotionValueState, usePresence, useRovingFocus, useScrollLock, useSpringValue };
294
+ export { Portal, PositionOptions, PositionResult, Presence, Slot, assignRef, composeEventHandlers, countElements, cx, getLayerStack, getTabbable, mergeProps, mergeRefs, slotted, useAnchoredPosition, useAnimate, useAutoFocus, useControllableState, useDismiss, useFocusRestore, useFocusTrap, useIsMounted, useMotionStyle, useMotionValue, useMotionValueState, usePresence, useRovingFocus, useScrollLock, useSpringValue };
295
+ export type { AnchoredPosition, AnchoredPositionOptions, DismissOptions, PortalProps, PresenceProps, SlotProps };
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  export { useAnimate, useIsMounted, useMotionStyle, useMotionValue, useMotionValueState, useSpringValue } from './chunk-O2PX54KX.js';
3
- export { Presence, Slot, countElements, getTabbable, slotted, useAutoFocus, useFocusRestore, useFocusTrap, usePresence, useRovingFocus } from './chunk-HO2YSF5O.js';
3
+ export { Presence, Slot, countElements, getTabbable, slotted, useAutoFocus, useFocusRestore, useFocusTrap, usePresence, useRovingFocus } from './chunk-742E5FQS.js';
4
4
  export { Portal, computePosition, getLayerStack, useAnchoredPosition, useDismiss, useScrollLock } from './chunk-XEP6P7E6.js';
5
5
  export { useControllableState } from './chunk-LXCIXR5T.js';
6
- export { useElementSize, useFrameBudget, useInView, useMergedRef, usePointer, useReducedMotion, useScrollProgress, useTicker, useWindowScroll } from './chunk-IBXLC5IE.js';
6
+ export { useElementSize, useFrameBudget, useInView, useMergedRef, usePointer, useReducedMotion, useScrollProgress, useTicker, useTickerSubscriberCount, useWindowScroll } from './chunk-P5MRISBP.js';
7
7
  export { assignRef, composeEventHandlers, cx, mergeProps, mergeRefs } from './chunk-H34OXXJU.js';
8
8
  //# sourceMappingURL=primitives.js.map
9
9
  //# sourceMappingURL=primitives.js.map
@@ -68,4 +68,5 @@ interface AppShellProps {
68
68
  */
69
69
  declare function AppShell({ sidebar, header, children, className }: AppShellProps): react.JSX.Element;
70
70
 
71
- export { AppShell as A, type NavItem as N, Sidebar as S, type AppShellProps as a, type NavSection as b, type SidebarProps as c };
71
+ export { AppShell as A, Sidebar as S };
72
+ export type { NavItem as N, AppShellProps as a, NavSection as b, SidebarProps as c };
@@ -68,4 +68,5 @@ interface AppShellProps {
68
68
  */
69
69
  declare function AppShell({ sidebar, header, children, className }: AppShellProps): react.JSX.Element;
70
70
 
71
- export { AppShell as A, type NavItem as N, Sidebar as S, type AppShellProps as a, type NavSection as b, type SidebarProps as c };
71
+ export { AppShell as A, Sidebar as S };
72
+ export type { NavItem as N, AppShellProps as a, NavSection as b, SidebarProps as c };