@ariakit/core 0.3.5 → 0.3.6

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 (77) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/cjs/__chunks/{FJSZTIOU.cjs → 46BH65MC.cjs} +4 -6
  3. package/cjs/__chunks/{FTB5CXVB.cjs → 5F4DVUNS.cjs} +7 -1
  4. package/cjs/__chunks/{AR2VJ37F.cjs → 6WBY3ZZM.cjs} +6 -6
  5. package/cjs/__chunks/{HOEZKRUM.cjs → 7ZUFMSXJ.cjs} +7 -7
  6. package/cjs/__chunks/{F5YZIIEA.cjs → GXIZMD53.cjs} +8 -2
  7. package/cjs/__chunks/{MYTMMWXI.cjs → GZDVJEID.cjs} +2 -2
  8. package/cjs/__chunks/{FFY2GSOG.cjs → JLC5A6WF.cjs} +8 -8
  9. package/cjs/__chunks/{F6Q5QSXF.cjs → MEHGRTJ3.cjs} +11 -11
  10. package/cjs/__chunks/{XVR5QRC3.cjs → PD7XZBXC.cjs} +4 -4
  11. package/cjs/__chunks/{G5EW4WED.cjs → YIUPKKEK.cjs} +6 -6
  12. package/cjs/checkbox/checkbox-store.cjs +3 -3
  13. package/cjs/collection/collection-store.cjs +4 -4
  14. package/cjs/combobox/combobox-store.cjs +21 -21
  15. package/cjs/combobox/combobox-store.d.cts +4 -1
  16. package/cjs/combobox/combobox-store.d.ts +4 -1
  17. package/cjs/composite/composite-overflow-store.cjs +5 -5
  18. package/cjs/composite/composite-store.cjs +5 -5
  19. package/cjs/dialog/dialog-store.cjs +4 -4
  20. package/cjs/disclosure/disclosure-store.cjs +3 -3
  21. package/cjs/form/form-store.cjs +8 -8
  22. package/cjs/hovercard/hovercard-store.cjs +6 -6
  23. package/cjs/menu/menu-bar-store.cjs +6 -6
  24. package/cjs/menu/menu-store.cjs +19 -19
  25. package/cjs/menubar/menubar-store.cjs +6 -6
  26. package/cjs/menubar/menubar-store.d.cts +12 -6
  27. package/cjs/menubar/menubar-store.d.ts +12 -6
  28. package/cjs/popover/popover-store.cjs +5 -5
  29. package/cjs/radio/radio-store.cjs +6 -6
  30. package/cjs/select/select-store.cjs +19 -19
  31. package/cjs/tab/tab-store.cjs +16 -16
  32. package/cjs/toolbar/toolbar-store.cjs +5 -5
  33. package/cjs/tooltip/tooltip-store.cjs +7 -7
  34. package/cjs/utils/dom.cjs +4 -2
  35. package/cjs/utils/dom.d.cts +9 -0
  36. package/cjs/utils/dom.d.ts +9 -0
  37. package/cjs/utils/events.cjs +5 -5
  38. package/cjs/utils/focus.cjs +13 -13
  39. package/cjs/utils/platform.cjs +3 -3
  40. package/cjs/utils/store.cjs +2 -2
  41. package/esm/__chunks/{6LSGADQM.js → ANO6WJO4.js} +8 -2
  42. package/esm/__chunks/{EIFVU736.js → BXH3I7ML.js} +2 -2
  43. package/esm/__chunks/{6EMNXRG3.js → CCU5UHQ2.js} +2 -2
  44. package/esm/__chunks/{DREIYIMP.js → CL47ZAPY.js} +1 -1
  45. package/esm/__chunks/{NIF7E7VE.js → DLOEKDPY.js} +7 -1
  46. package/esm/__chunks/{PCA5ARZU.js → DYD4YNLE.js} +1 -1
  47. package/esm/__chunks/{HJS6GJT4.js → E7OQVGGY.js} +4 -6
  48. package/esm/__chunks/{5UJPJ37G.js → MHPO2BXA.js} +1 -1
  49. package/esm/__chunks/{5BWT4GY2.js → OGMLJYDV.js} +2 -2
  50. package/esm/__chunks/{MRBDYBGO.js → WY3EMTH6.js} +2 -2
  51. package/esm/checkbox/checkbox-store.js +1 -1
  52. package/esm/collection/collection-store.js +3 -3
  53. package/esm/combobox/combobox-store.d.ts +4 -1
  54. package/esm/combobox/combobox-store.js +8 -8
  55. package/esm/composite/composite-overflow-store.js +4 -4
  56. package/esm/composite/composite-store.js +4 -4
  57. package/esm/dialog/dialog-store.js +3 -3
  58. package/esm/disclosure/disclosure-store.js +2 -2
  59. package/esm/form/form-store.js +3 -3
  60. package/esm/hovercard/hovercard-store.js +5 -5
  61. package/esm/menu/menu-bar-store.js +5 -5
  62. package/esm/menu/menu-store.js +8 -8
  63. package/esm/menubar/menubar-store.d.ts +12 -6
  64. package/esm/menubar/menubar-store.js +5 -5
  65. package/esm/popover/popover-store.js +4 -4
  66. package/esm/radio/radio-store.js +4 -4
  67. package/esm/select/select-store.js +7 -7
  68. package/esm/tab/tab-store.js +4 -4
  69. package/esm/toolbar/toolbar-store.js +4 -4
  70. package/esm/tooltip/tooltip-store.js +5 -5
  71. package/esm/utils/dom.d.ts +9 -0
  72. package/esm/utils/dom.js +5 -3
  73. package/esm/utils/events.js +2 -2
  74. package/esm/utils/focus.js +1 -1
  75. package/esm/utils/platform.js +2 -2
  76. package/esm/utils/store.js +1 -1
  77. package/package.json +1 -1
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _G5EW4WEDcjs = require('../__chunks/G5EW4WED.cjs');
4
+ var _YIUPKKEKcjs = require('../__chunks/YIUPKKEK.cjs');
5
5
 
6
6
 
7
- var _FTB5CXVBcjs = require('../__chunks/FTB5CXVB.cjs');
7
+ var _5F4DVUNScjs = require('../__chunks/5F4DVUNS.cjs');
8
8
 
9
9
 
10
10
 
@@ -13,7 +13,7 @@ var _AV6KTKLEcjs = require('../__chunks/AV6KTKLE.cjs');
13
13
  // src/utils/events.ts
14
14
  function isPortalEvent(event) {
15
15
  return Boolean(
16
- event.currentTarget && !_FTB5CXVBcjs.contains.call(void 0, event.currentTarget, event.target)
16
+ event.currentTarget && !_5F4DVUNScjs.contains.call(void 0, event.currentTarget, event.target)
17
17
  );
18
18
  }
19
19
  function isSelfTarget(event) {
@@ -23,7 +23,7 @@ function isOpeningInNewTab(event) {
23
23
  const element = event.currentTarget;
24
24
  if (!element)
25
25
  return false;
26
- const isAppleDevice = _G5EW4WEDcjs.isApple.call(void 0, );
26
+ const isAppleDevice = _YIUPKKEKcjs.isApple.call(void 0, );
27
27
  if (isAppleDevice && !event.metaKey)
28
28
  return false;
29
29
  if (!isAppleDevice && !event.ctrlKey)
@@ -81,7 +81,7 @@ function fireClickEvent(element, eventInit) {
81
81
  function isFocusEventOutside(event, container) {
82
82
  const containerElement = container || event.currentTarget;
83
83
  const relatedTarget = event.relatedTarget;
84
- return !relatedTarget || !_FTB5CXVBcjs.contains.call(void 0, containerElement, relatedTarget);
84
+ return !relatedTarget || !_5F4DVUNScjs.contains.call(void 0, containerElement, relatedTarget);
85
85
  }
86
86
  function queueBeforeEvent(element, type, callback) {
87
87
  const raf = requestAnimationFrame(() => {
@@ -6,7 +6,7 @@
6
6
 
7
7
 
8
8
 
9
- var _FTB5CXVBcjs = require('../__chunks/FTB5CXVB.cjs');
9
+ var _5F4DVUNScjs = require('../__chunks/5F4DVUNS.cjs');
10
10
 
11
11
 
12
12
  var _AV6KTKLEcjs = require('../__chunks/AV6KTKLE.cjs');
@@ -18,11 +18,11 @@ function hasNegativeTabIndex(element) {
18
18
  return tabIndex < 0;
19
19
  }
20
20
  function isFocusable(element) {
21
- if (!_FTB5CXVBcjs.matches.call(void 0, element, selector))
21
+ if (!_5F4DVUNScjs.matches.call(void 0, element, selector))
22
22
  return false;
23
- if (!_FTB5CXVBcjs.isVisible.call(void 0, element))
23
+ if (!_5F4DVUNScjs.isVisible.call(void 0, element))
24
24
  return false;
25
- if (_FTB5CXVBcjs.closest.call(void 0, element, "[inert]"))
25
+ if (_5F4DVUNScjs.closest.call(void 0, element, "[inert]"))
26
26
  return false;
27
27
  return true;
28
28
  }
@@ -44,7 +44,7 @@ function isTabbable(element) {
44
44
  return true;
45
45
  if (!("length" in radioGroup))
46
46
  return true;
47
- const activeElement = _FTB5CXVBcjs.getActiveElement.call(void 0, element);
47
+ const activeElement = _5F4DVUNScjs.getActiveElement.call(void 0, element);
48
48
  if (!activeElement)
49
49
  return true;
50
50
  if (activeElement === element)
@@ -66,7 +66,7 @@ function getAllFocusableIn(container, includeContainer) {
66
66
  }
67
67
  const focusableElements = elements.filter(isFocusable);
68
68
  focusableElements.forEach((element, i) => {
69
- if (_FTB5CXVBcjs.isFrame.call(void 0, element) && element.contentDocument) {
69
+ if (_5F4DVUNScjs.isFrame.call(void 0, element) && element.contentDocument) {
70
70
  const frameBody = element.contentDocument.body;
71
71
  focusableElements.splice(i, 1, ...getAllFocusableIn(frameBody));
72
72
  }
@@ -92,7 +92,7 @@ function getAllTabbableIn(container, includeContainer, fallbackToFocusable) {
92
92
  tabbableElements.unshift(container);
93
93
  }
94
94
  tabbableElements.forEach((element, i) => {
95
- if (_FTB5CXVBcjs.isFrame.call(void 0, element) && element.contentDocument) {
95
+ if (_5F4DVUNScjs.isFrame.call(void 0, element) && element.contentDocument) {
96
96
  const frameBody = element.contentDocument.body;
97
97
  const allFrameTabbable = getAllTabbableIn(
98
98
  frameBody,
@@ -133,7 +133,7 @@ function getLastTabbable(fallbackToFocusable) {
133
133
  return getLastTabbableIn(document.body, false, fallbackToFocusable);
134
134
  }
135
135
  function getNextTabbableIn(container, includeContainer, fallbackToFirst, fallbackToFocusable) {
136
- const activeElement = _FTB5CXVBcjs.getActiveElement.call(void 0, container);
136
+ const activeElement = _5F4DVUNScjs.getActiveElement.call(void 0, container);
137
137
  const allFocusable = getAllFocusableIn(container, includeContainer);
138
138
  const activeIndex = allFocusable.indexOf(activeElement);
139
139
  const nextFocusableElements = allFocusable.slice(activeIndex + 1);
@@ -148,7 +148,7 @@ function getNextTabbable(fallbackToFirst, fallbackToFocusable) {
148
148
  );
149
149
  }
150
150
  function getPreviousTabbableIn(container, includeContainer, fallbackToLast, fallbackToFocusable) {
151
- const activeElement = _FTB5CXVBcjs.getActiveElement.call(void 0, container);
151
+ const activeElement = _5F4DVUNScjs.getActiveElement.call(void 0, container);
152
152
  const allFocusable = getAllFocusableIn(container, includeContainer).reverse();
153
153
  const activeIndex = allFocusable.indexOf(activeElement);
154
154
  const previousFocusableElements = allFocusable.slice(activeIndex + 1);
@@ -164,12 +164,12 @@ function getPreviousTabbable(fallbackToFirst, fallbackToFocusable) {
164
164
  }
165
165
  function getClosestFocusable(element) {
166
166
  while (element && !isFocusable(element)) {
167
- element = _FTB5CXVBcjs.closest.call(void 0, element, selector);
167
+ element = _5F4DVUNScjs.closest.call(void 0, element, selector);
168
168
  }
169
169
  return element || null;
170
170
  }
171
171
  function hasFocus(element) {
172
- const activeElement = _FTB5CXVBcjs.getActiveElement.call(void 0, element);
172
+ const activeElement = _5F4DVUNScjs.getActiveElement.call(void 0, element);
173
173
  if (!activeElement)
174
174
  return false;
175
175
  if (activeElement === element)
@@ -180,10 +180,10 @@ function hasFocus(element) {
180
180
  return activeDescendant === element.id;
181
181
  }
182
182
  function hasFocusWithin(element) {
183
- const activeElement = _FTB5CXVBcjs.getActiveElement.call(void 0, element);
183
+ const activeElement = _5F4DVUNScjs.getActiveElement.call(void 0, element);
184
184
  if (!activeElement)
185
185
  return false;
186
- if (_FTB5CXVBcjs.contains.call(void 0, element, activeElement))
186
+ if (_5F4DVUNScjs.contains.call(void 0, element, activeElement))
187
187
  return true;
188
188
  const activeDescendant = activeElement.getAttribute("aria-activedescendant");
189
189
  if (!activeDescendant)
@@ -5,8 +5,8 @@
5
5
 
6
6
 
7
7
 
8
- var _G5EW4WEDcjs = require('../__chunks/G5EW4WED.cjs');
9
- require('../__chunks/FTB5CXVB.cjs');
8
+ var _YIUPKKEKcjs = require('../__chunks/YIUPKKEK.cjs');
9
+ require('../__chunks/5F4DVUNS.cjs');
10
10
  require('../__chunks/AV6KTKLE.cjs');
11
11
 
12
12
 
@@ -14,4 +14,4 @@ require('../__chunks/AV6KTKLE.cjs');
14
14
 
15
15
 
16
16
 
17
- exports.isApple = _G5EW4WEDcjs.isApple; exports.isFirefox = _G5EW4WEDcjs.isFirefox; exports.isMac = _G5EW4WEDcjs.isMac; exports.isSafari = _G5EW4WEDcjs.isSafari; exports.isTouchDevice = _G5EW4WEDcjs.isTouchDevice;
17
+ exports.isApple = _YIUPKKEKcjs.isApple; exports.isFirefox = _YIUPKKEKcjs.isFirefox; exports.isMac = _YIUPKKEKcjs.isMac; exports.isSafari = _YIUPKKEKcjs.isSafari; exports.isTouchDevice = _YIUPKKEKcjs.isTouchDevice;
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- var _FJSZTIOUcjs = require('../__chunks/FJSZTIOU.cjs');
13
+ var _46BH65MCcjs = require('../__chunks/46BH65MC.cjs');
14
14
  require('../__chunks/3UT5FE6K.cjs');
15
15
  require('../__chunks/AV6KTKLE.cjs');
16
16
 
@@ -24,4 +24,4 @@ require('../__chunks/AV6KTKLE.cjs');
24
24
 
25
25
 
26
26
 
27
- exports.batch = _FJSZTIOUcjs.batch; exports.createStore = _FJSZTIOUcjs.createStore; exports.init = _FJSZTIOUcjs.init; exports.mergeStore = _FJSZTIOUcjs.mergeStore; exports.omit = _FJSZTIOUcjs.omit; exports.pick = _FJSZTIOUcjs.pick; exports.setup = _FJSZTIOUcjs.setup; exports.subscribe = _FJSZTIOUcjs.subscribe; exports.sync = _FJSZTIOUcjs.sync; exports.throwOnConflictingProps = _FJSZTIOUcjs.throwOnConflictingProps;
27
+ exports.batch = _46BH65MCcjs.batch; exports.createStore = _46BH65MCcjs.createStore; exports.init = _46BH65MCcjs.init; exports.mergeStore = _46BH65MCcjs.mergeStore; exports.omit = _46BH65MCcjs.omit; exports.pick = _46BH65MCcjs.pick; exports.setup = _46BH65MCcjs.setup; exports.subscribe = _46BH65MCcjs.subscribe; exports.sync = _46BH65MCcjs.sync; exports.throwOnConflictingProps = _46BH65MCcjs.throwOnConflictingProps;
@@ -1,7 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createCompositeStore
4
- } from "./5BWT4GY2.js";
4
+ } from "./OGMLJYDV.js";
5
+ import {
6
+ createStore
7
+ } from "./E7OQVGGY.js";
5
8
  import {
6
9
  defaultValue
7
10
  } from "./I2VQ3XGR.js";
@@ -14,7 +17,7 @@ import {
14
17
  function createMenubarStore(props = {}) {
15
18
  var _a;
16
19
  const syncState = (_a = props.store) == null ? void 0 : _a.getState();
17
- return createCompositeStore(__spreadProps(__spreadValues({}, props), {
20
+ const composite = createCompositeStore(__spreadProps(__spreadValues({}, props), {
18
21
  orientation: defaultValue(
19
22
  props.orientation,
20
23
  syncState == null ? void 0 : syncState.orientation,
@@ -22,6 +25,9 @@ function createMenubarStore(props = {}) {
22
25
  ),
23
26
  focusLoop: defaultValue(props.focusLoop, syncState == null ? void 0 : syncState.focusLoop, true)
24
27
  }));
28
+ const initialState = __spreadValues({}, composite.getState());
29
+ const menubar = createStore(initialState, composite, props.store);
30
+ return __spreadValues(__spreadValues({}, composite), menubar);
25
31
  }
26
32
 
27
33
  export {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createPopoverStore
4
- } from "./MRBDYBGO.js";
4
+ } from "./WY3EMTH6.js";
5
5
  import {
6
6
  createStore
7
- } from "./HJS6GJT4.js";
7
+ } from "./E7OQVGGY.js";
8
8
  import {
9
9
  defaultValue
10
10
  } from "./I2VQ3XGR.js";
@@ -4,14 +4,14 @@ import {
4
4
  createStore,
5
5
  setup,
6
6
  throwOnConflictingProps
7
- } from "./HJS6GJT4.js";
7
+ } from "./E7OQVGGY.js";
8
8
  import {
9
9
  chain,
10
10
  defaultValue
11
11
  } from "./I2VQ3XGR.js";
12
12
  import {
13
13
  getDocument
14
- } from "./NIF7E7VE.js";
14
+ } from "./DLOEKDPY.js";
15
15
  import {
16
16
  __spreadProps,
17
17
  __spreadValues
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  createDisclosureStore
4
- } from "./PCA5ARZU.js";
4
+ } from "./DYD4YNLE.js";
5
5
 
6
6
  // src/dialog/dialog-store.ts
7
7
  function createDialogStore(props = {}) {
@@ -169,6 +169,11 @@ function isPartiallyHidden(element) {
169
169
  const right = elementRect.right > scrollerRight;
170
170
  return top || left || bottom || right;
171
171
  }
172
+ function setSelectionRange(element, ...args) {
173
+ if (/text|search|password|tel|url/i.test(element.type)) {
174
+ element.setSelectionRange(...args);
175
+ }
176
+ }
172
177
 
173
178
  export {
174
179
  canUseDOM,
@@ -187,5 +192,6 @@ export {
187
192
  getTextboxSelection,
188
193
  scrollIntoViewIfNeeded,
189
194
  getScrollingElement,
190
- isPartiallyHidden
195
+ isPartiallyHidden,
196
+ setSelectionRange
191
197
  };
@@ -7,7 +7,7 @@ import {
7
7
  subscribe,
8
8
  sync,
9
9
  throwOnConflictingProps
10
- } from "./HJS6GJT4.js";
10
+ } from "./E7OQVGGY.js";
11
11
  import {
12
12
  defaultValue
13
13
  } from "./I2VQ3XGR.js";
@@ -50,17 +50,15 @@ function createStore(initialState, ...stores) {
50
50
  return;
51
51
  if (!hasOwnProperty(storeState, key))
52
52
  return;
53
- return sync(
54
- store,
55
- [key],
56
- (state2) => setState(
53
+ return sync(store, [key], (state2) => {
54
+ setState(
57
55
  key,
58
56
  state2[key],
59
57
  // @ts-expect-error - Not public API. This is just to prevent
60
58
  // infinite loops.
61
59
  true
62
- )
63
- );
60
+ );
61
+ });
64
62
  })
65
63
  )
66
64
  );
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  canUseDOM
4
- } from "./NIF7E7VE.js";
4
+ } from "./DLOEKDPY.js";
5
5
 
6
6
  // src/utils/platform.ts
7
7
  function isTouchDevice() {
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  createCollectionStore
4
- } from "./6EMNXRG3.js";
4
+ } from "./CCU5UHQ2.js";
5
5
  import {
6
6
  createStore,
7
7
  setup,
8
8
  sync
9
- } from "./HJS6GJT4.js";
9
+ } from "./E7OQVGGY.js";
10
10
  import {
11
11
  defaultValue
12
12
  } from "./I2VQ3XGR.js";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  createDialogStore
4
- } from "./DREIYIMP.js";
4
+ } from "./CL47ZAPY.js";
5
5
  import {
6
6
  createStore,
7
7
  mergeStore,
8
8
  omit,
9
9
  throwOnConflictingProps
10
- } from "./HJS6GJT4.js";
10
+ } from "./E7OQVGGY.js";
11
11
  import {
12
12
  defaultValue
13
13
  } from "./I2VQ3XGR.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  createStore,
4
4
  throwOnConflictingProps
5
- } from "../__chunks/HJS6GJT4.js";
5
+ } from "../__chunks/E7OQVGGY.js";
6
6
  import {
7
7
  defaultValue
8
8
  } from "../__chunks/I2VQ3XGR.js";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createCollectionStore
4
- } from "../__chunks/6EMNXRG3.js";
5
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/CCU5UHQ2.js";
5
+ import "../__chunks/E7OQVGGY.js";
6
6
  import "../__chunks/I2VQ3XGR.js";
7
- import "../__chunks/NIF7E7VE.js";
7
+ import "../__chunks/DLOEKDPY.js";
8
8
  import "../__chunks/4R3V3JGP.js";
9
9
  export {
10
10
  createCollectionStore
@@ -19,7 +19,8 @@ export interface ComboboxStoreState extends CompositeStoreState<Item>, PopoverSt
19
19
  * The input value.
20
20
  *
21
21
  * Live examples:
22
- * - [ComboboxGroup](https://ariakit.org/examples/combobox-group)
22
+ * - [Combobox with integrated
23
+ * filter](https://ariakit.org/examples/combobox-filtering-integrated)
23
24
  * - [Combobox with links](https://ariakit.org/examples/combobox-links)
24
25
  * - [Combobox filtering](https://ariakit.org/examples/combobox-filtering)
25
26
  * - [Multi-selectable
@@ -38,6 +39,8 @@ export interface ComboboxStoreState extends CompositeStoreState<Item>, PopoverSt
38
39
  * Live examples:
39
40
  * - [Multi-selectable
40
41
  * Combobox](https://ariakit.org/examples/combobox-multiple)
42
+ * - [Menu with Combobox](https://ariakit.org/examples/menu-combobox)
43
+ * - [Select with Combobox](https://ariakit.org/examples/select-combobox)
41
44
  * @default false
42
45
  */
43
46
  resetValueOnHide: boolean;
@@ -1,28 +1,28 @@
1
1
  "use client";
2
2
  import {
3
3
  createPopoverStore
4
- } from "../__chunks/MRBDYBGO.js";
5
- import "../__chunks/DREIYIMP.js";
6
- import "../__chunks/PCA5ARZU.js";
4
+ } from "../__chunks/WY3EMTH6.js";
5
+ import "../__chunks/CL47ZAPY.js";
6
+ import "../__chunks/DYD4YNLE.js";
7
7
  import {
8
8
  createCompositeStore
9
- } from "../__chunks/5BWT4GY2.js";
10
- import "../__chunks/6EMNXRG3.js";
9
+ } from "../__chunks/OGMLJYDV.js";
10
+ import "../__chunks/CCU5UHQ2.js";
11
11
  import {
12
12
  batch,
13
13
  createStore,
14
14
  setup,
15
15
  sync,
16
16
  throwOnConflictingProps
17
- } from "../__chunks/HJS6GJT4.js";
17
+ } from "../__chunks/E7OQVGGY.js";
18
18
  import {
19
19
  defaultValue
20
20
  } from "../__chunks/I2VQ3XGR.js";
21
21
  import {
22
22
  isSafari,
23
23
  isTouchDevice
24
- } from "../__chunks/5UJPJ37G.js";
25
- import "../__chunks/NIF7E7VE.js";
24
+ } from "../__chunks/MHPO2BXA.js";
25
+ import "../__chunks/DLOEKDPY.js";
26
26
  import "../__chunks/7PRQYBBV.js";
27
27
  import {
28
28
  __spreadProps,
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createPopoverStore
4
- } from "../__chunks/MRBDYBGO.js";
5
- import "../__chunks/DREIYIMP.js";
6
- import "../__chunks/PCA5ARZU.js";
7
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/WY3EMTH6.js";
5
+ import "../__chunks/CL47ZAPY.js";
6
+ import "../__chunks/DYD4YNLE.js";
7
+ import "../__chunks/E7OQVGGY.js";
8
8
  import "../__chunks/I2VQ3XGR.js";
9
9
  import "../__chunks/4R3V3JGP.js";
10
10
 
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  createCompositeStore
4
- } from "../__chunks/5BWT4GY2.js";
5
- import "../__chunks/6EMNXRG3.js";
6
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/OGMLJYDV.js";
5
+ import "../__chunks/CCU5UHQ2.js";
6
+ import "../__chunks/E7OQVGGY.js";
7
7
  import "../__chunks/I2VQ3XGR.js";
8
- import "../__chunks/NIF7E7VE.js";
8
+ import "../__chunks/DLOEKDPY.js";
9
9
  import "../__chunks/7PRQYBBV.js";
10
10
  import "../__chunks/4R3V3JGP.js";
11
11
  export {
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  createDialogStore
4
- } from "../__chunks/DREIYIMP.js";
5
- import "../__chunks/PCA5ARZU.js";
6
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/CL47ZAPY.js";
5
+ import "../__chunks/DYD4YNLE.js";
6
+ import "../__chunks/E7OQVGGY.js";
7
7
  import "../__chunks/I2VQ3XGR.js";
8
8
  import "../__chunks/4R3V3JGP.js";
9
9
  export {
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  createDisclosureStore
4
- } from "../__chunks/PCA5ARZU.js";
5
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/DYD4YNLE.js";
5
+ import "../__chunks/E7OQVGGY.js";
6
6
  import "../__chunks/I2VQ3XGR.js";
7
7
  import "../__chunks/4R3V3JGP.js";
8
8
  export {
@@ -1,20 +1,20 @@
1
1
  "use client";
2
2
  import {
3
3
  createCollectionStore
4
- } from "../__chunks/6EMNXRG3.js";
4
+ } from "../__chunks/CCU5UHQ2.js";
5
5
  import {
6
6
  createStore,
7
7
  init,
8
8
  setup,
9
9
  throwOnConflictingProps
10
- } from "../__chunks/HJS6GJT4.js";
10
+ } from "../__chunks/E7OQVGGY.js";
11
11
  import {
12
12
  applyState,
13
13
  defaultValue,
14
14
  isInteger,
15
15
  isObject
16
16
  } from "../__chunks/I2VQ3XGR.js";
17
- import "../__chunks/NIF7E7VE.js";
17
+ import "../__chunks/DLOEKDPY.js";
18
18
  import {
19
19
  __spreadProps,
20
20
  __spreadValues
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  createHovercardStore
4
- } from "../__chunks/EIFVU736.js";
5
- import "../__chunks/MRBDYBGO.js";
6
- import "../__chunks/DREIYIMP.js";
7
- import "../__chunks/PCA5ARZU.js";
8
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/BXH3I7ML.js";
5
+ import "../__chunks/WY3EMTH6.js";
6
+ import "../__chunks/CL47ZAPY.js";
7
+ import "../__chunks/DYD4YNLE.js";
8
+ import "../__chunks/E7OQVGGY.js";
9
9
  import "../__chunks/I2VQ3XGR.js";
10
10
  import "../__chunks/4R3V3JGP.js";
11
11
  export {
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  createMenubarStore
4
- } from "../__chunks/6LSGADQM.js";
5
- import "../__chunks/5BWT4GY2.js";
6
- import "../__chunks/6EMNXRG3.js";
7
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/ANO6WJO4.js";
5
+ import "../__chunks/OGMLJYDV.js";
6
+ import "../__chunks/CCU5UHQ2.js";
7
+ import "../__chunks/E7OQVGGY.js";
8
8
  import "../__chunks/I2VQ3XGR.js";
9
- import "../__chunks/NIF7E7VE.js";
9
+ import "../__chunks/DLOEKDPY.js";
10
10
  import "../__chunks/7PRQYBBV.js";
11
11
  import "../__chunks/4R3V3JGP.js";
12
12
 
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  createHovercardStore
4
- } from "../__chunks/EIFVU736.js";
5
- import "../__chunks/MRBDYBGO.js";
6
- import "../__chunks/DREIYIMP.js";
7
- import "../__chunks/PCA5ARZU.js";
4
+ } from "../__chunks/BXH3I7ML.js";
5
+ import "../__chunks/WY3EMTH6.js";
6
+ import "../__chunks/CL47ZAPY.js";
7
+ import "../__chunks/DYD4YNLE.js";
8
8
  import {
9
9
  createCompositeStore
10
- } from "../__chunks/5BWT4GY2.js";
11
- import "../__chunks/6EMNXRG3.js";
10
+ } from "../__chunks/OGMLJYDV.js";
11
+ import "../__chunks/CCU5UHQ2.js";
12
12
  import {
13
13
  createStore,
14
14
  mergeStore,
@@ -17,12 +17,12 @@ import {
17
17
  setup,
18
18
  sync,
19
19
  throwOnConflictingProps
20
- } from "../__chunks/HJS6GJT4.js";
20
+ } from "../__chunks/E7OQVGGY.js";
21
21
  import {
22
22
  applyState,
23
23
  defaultValue
24
24
  } from "../__chunks/I2VQ3XGR.js";
25
- import "../__chunks/NIF7E7VE.js";
25
+ import "../__chunks/DLOEKDPY.js";
26
26
  import "../__chunks/7PRQYBBV.js";
27
27
  import {
28
28
  __objRest,
@@ -1,10 +1,16 @@
1
- import type { CompositeStore, CompositeStoreFunctions, CompositeStoreOptions, CompositeStoreProps, CompositeStoreState } from "../composite/composite-store.js";
1
+ import type { CompositeStoreFunctions, CompositeStoreOptions, CompositeStoreState } from "../composite/composite-store.js";
2
+ import type { Store, StoreProps } from "../utils/store.js";
2
3
  /**
3
4
  * Creates a menu bar store.
4
5
  */
5
6
  export declare function createMenubarStore(props?: MenubarStoreProps): MenubarStore;
6
- export type MenubarStoreState = CompositeStoreState;
7
- export type MenubarStoreFunctions = CompositeStoreFunctions;
8
- export type MenubarStoreOptions = CompositeStoreOptions;
9
- export type MenubarStoreProps = CompositeStoreProps;
10
- export type MenubarStore = CompositeStore;
7
+ export interface MenubarStoreState extends CompositeStoreState {
8
+ }
9
+ export interface MenubarStoreFunctions extends CompositeStoreFunctions {
10
+ }
11
+ export interface MenubarStoreOptions extends CompositeStoreOptions {
12
+ }
13
+ export interface MenubarStoreProps extends MenubarStoreOptions, StoreProps<MenubarStoreState> {
14
+ }
15
+ export interface MenubarStore extends MenubarStoreFunctions, Store<MenubarStoreState> {
16
+ }
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  createMenubarStore
4
- } from "../__chunks/6LSGADQM.js";
5
- import "../__chunks/5BWT4GY2.js";
6
- import "../__chunks/6EMNXRG3.js";
7
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/ANO6WJO4.js";
5
+ import "../__chunks/OGMLJYDV.js";
6
+ import "../__chunks/CCU5UHQ2.js";
7
+ import "../__chunks/E7OQVGGY.js";
8
8
  import "../__chunks/I2VQ3XGR.js";
9
- import "../__chunks/NIF7E7VE.js";
9
+ import "../__chunks/DLOEKDPY.js";
10
10
  import "../__chunks/7PRQYBBV.js";
11
11
  import "../__chunks/4R3V3JGP.js";
12
12
  export {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createPopoverStore
4
- } from "../__chunks/MRBDYBGO.js";
5
- import "../__chunks/DREIYIMP.js";
6
- import "../__chunks/PCA5ARZU.js";
7
- import "../__chunks/HJS6GJT4.js";
4
+ } from "../__chunks/WY3EMTH6.js";
5
+ import "../__chunks/CL47ZAPY.js";
6
+ import "../__chunks/DYD4YNLE.js";
7
+ import "../__chunks/E7OQVGGY.js";
8
8
  import "../__chunks/I2VQ3XGR.js";
9
9
  import "../__chunks/4R3V3JGP.js";
10
10
  export {