@ariakit/core 0.4.6 → 0.4.7

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 (75) hide show
  1. package/CHANGELOG.md +4 -0
  2. package/cjs/__chunks/{4W3OYRR3.cjs → 3COGJMN3.cjs} +9 -9
  3. package/cjs/__chunks/{B4AKUC4S.cjs → 5BQ2XS3R.cjs} +4 -4
  4. package/cjs/__chunks/{LTLFSC4X.cjs → DIYYVJDK.cjs} +2 -2
  5. package/cjs/__chunks/{AETQC2AR.cjs → LAYUSNGM.cjs} +11 -11
  6. package/cjs/__chunks/{3HYNC3XA.cjs → LBFF2BBK.cjs} +6 -6
  7. package/cjs/__chunks/{B4LYZ4EM.cjs → M2NNCFIJ.cjs} +13 -11
  8. package/cjs/__chunks/{5JEQEZFR.cjs → MB5TLEVH.cjs} +7 -7
  9. package/cjs/__chunks/{UEZLSKZ4.cjs → XVL5HZ27.cjs} +4 -4
  10. package/cjs/checkbox/checkbox-store.cjs +3 -3
  11. package/cjs/collection/collection-store.cjs +3 -3
  12. package/cjs/combobox/combobox-store.cjs +24 -24
  13. package/cjs/combobox/combobox-store.d.cts +2 -0
  14. package/cjs/combobox/combobox-store.d.ts +2 -0
  15. package/cjs/composite/composite-overflow-store.cjs +5 -5
  16. package/cjs/composite/composite-store.cjs +4 -4
  17. package/cjs/composite/composite-store.d.cts +5 -1
  18. package/cjs/composite/composite-store.d.ts +5 -1
  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 +7 -7
  22. package/cjs/hovercard/hovercard-store.cjs +6 -6
  23. package/cjs/menu/menu-bar-store.cjs +5 -5
  24. package/cjs/menu/menu-store.cjs +18 -18
  25. package/cjs/menubar/menubar-store.cjs +5 -5
  26. package/cjs/popover/popover-store.cjs +5 -5
  27. package/cjs/radio/radio-store.cjs +5 -5
  28. package/cjs/select/select-store.cjs +20 -20
  29. package/cjs/select/select-store.d.cts +2 -0
  30. package/cjs/select/select-store.d.ts +2 -0
  31. package/cjs/tab/tab-store.cjs +23 -23
  32. package/cjs/tab/tab-store.d.cts +10 -4
  33. package/cjs/tab/tab-store.d.ts +10 -4
  34. package/cjs/tag/tag-store.cjs +7 -7
  35. package/cjs/toolbar/toolbar-store.cjs +4 -4
  36. package/cjs/tooltip/tooltip-store.cjs +7 -7
  37. package/cjs/utils/events.cjs +3 -1
  38. package/cjs/utils/focus.cjs +7 -3
  39. package/cjs/utils/store.cjs +2 -2
  40. package/esm/__chunks/{BRS7GKWU.js → E4HA32QI.js} +2 -2
  41. package/esm/__chunks/{EQPTKGFA.js → I2WJ7JBQ.js} +1 -1
  42. package/esm/__chunks/{WCKXDMU7.js → KDSZSVV5.js} +1 -1
  43. package/esm/__chunks/{R676XYVY.js → KLPDXTDE.js} +13 -11
  44. package/esm/__chunks/{5RJNXXU2.js → NWACXGIN.js} +1 -1
  45. package/esm/__chunks/{P3MTNH46.js → RCLYDUHE.js} +2 -2
  46. package/esm/__chunks/{MFZZDIHG.js → SAZZJI72.js} +2 -2
  47. package/esm/__chunks/{PBSSD2DM.js → VH2P7HEP.js} +2 -2
  48. package/esm/checkbox/checkbox-store.js +1 -1
  49. package/esm/collection/collection-store.js +2 -2
  50. package/esm/combobox/combobox-store.d.ts +2 -0
  51. package/esm/combobox/combobox-store.js +6 -6
  52. package/esm/composite/composite-overflow-store.js +4 -4
  53. package/esm/composite/composite-store.d.ts +5 -1
  54. package/esm/composite/composite-store.js +3 -3
  55. package/esm/dialog/dialog-store.js +3 -3
  56. package/esm/disclosure/disclosure-store.js +2 -2
  57. package/esm/form/form-store.js +2 -2
  58. package/esm/hovercard/hovercard-store.js +5 -5
  59. package/esm/menu/menu-bar-store.js +4 -4
  60. package/esm/menu/menu-store.js +7 -7
  61. package/esm/menubar/menubar-store.js +4 -4
  62. package/esm/popover/popover-store.js +4 -4
  63. package/esm/radio/radio-store.js +3 -3
  64. package/esm/select/select-store.d.ts +2 -0
  65. package/esm/select/select-store.js +6 -6
  66. package/esm/tab/tab-store.d.ts +10 -4
  67. package/esm/tab/tab-store.js +3 -3
  68. package/esm/tag/tag-store.js +3 -3
  69. package/esm/toolbar/toolbar-store.js +3 -3
  70. package/esm/tooltip/tooltip-store.js +5 -5
  71. package/esm/utils/events.js +3 -1
  72. package/esm/utils/focus.js +7 -3
  73. package/esm/utils/store.js +1 -1
  74. package/package.json +2 -2
  75. package/.eslintignore +0 -6
@@ -1,10 +1,10 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _3HYNC3XAcjs = require('../__chunks/3HYNC3XA.cjs');
5
- require('../__chunks/4W3OYRR3.cjs');
4
+ var _LBFF2BBKcjs = require('../__chunks/LBFF2BBK.cjs');
5
+ require('../__chunks/3COGJMN3.cjs');
6
6
  require('../__chunks/ULSPM3Y3.cjs');
7
- require('../__chunks/B4LYZ4EM.cjs');
7
+ require('../__chunks/M2NNCFIJ.cjs');
8
8
 
9
9
 
10
10
  var _EEDWPDM2cjs = require('../__chunks/EEDWPDM2.cjs');
@@ -18,7 +18,7 @@ var _AV6KTKLEcjs = require('../__chunks/AV6KTKLE.cjs');
18
18
  function createToolbarStore(props = {}) {
19
19
  var _a;
20
20
  const syncState = (_a = props.store) == null ? void 0 : _a.getState();
21
- return _3HYNC3XAcjs.createCompositeStore.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, props), {
21
+ return _LBFF2BBKcjs.createCompositeStore.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, props), {
22
22
  orientation: _EEDWPDM2cjs.defaultValue.call(void 0,
23
23
  props.orientation,
24
24
  syncState == null ? void 0 : syncState.orientation,
@@ -1,13 +1,13 @@
1
1
  "use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
2
2
 
3
3
 
4
- var _UEZLSKZ4cjs = require('../__chunks/UEZLSKZ4.cjs');
5
- require('../__chunks/5JEQEZFR.cjs');
6
- require('../__chunks/LTLFSC4X.cjs');
7
- require('../__chunks/AETQC2AR.cjs');
4
+ var _XVL5HZ27cjs = require('../__chunks/XVL5HZ27.cjs');
5
+ require('../__chunks/MB5TLEVH.cjs');
6
+ require('../__chunks/DIYYVJDK.cjs');
7
+ require('../__chunks/LAYUSNGM.cjs');
8
8
 
9
9
 
10
- var _B4LYZ4EMcjs = require('../__chunks/B4LYZ4EM.cjs');
10
+ var _M2NNCFIJcjs = require('../__chunks/M2NNCFIJ.cjs');
11
11
 
12
12
 
13
13
  var _EEDWPDM2cjs = require('../__chunks/EEDWPDM2.cjs');
@@ -29,7 +29,7 @@ function createTooltipStore(props = {}) {
29
29
  }
30
30
  }
31
31
  const syncState = (_a = props.store) == null ? void 0 : _a.getState();
32
- const hovercard = _UEZLSKZ4cjs.createHovercardStore.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, props), {
32
+ const hovercard = _XVL5HZ27cjs.createHovercardStore.call(void 0, _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, props), {
33
33
  placement: _EEDWPDM2cjs.defaultValue.call(void 0,
34
34
  props.placement,
35
35
  syncState == null ? void 0 : syncState.placement,
@@ -41,7 +41,7 @@ function createTooltipStore(props = {}) {
41
41
  type: _EEDWPDM2cjs.defaultValue.call(void 0, props.type, syncState == null ? void 0 : syncState.type, "description"),
42
42
  skipTimeout: _EEDWPDM2cjs.defaultValue.call(void 0, props.skipTimeout, syncState == null ? void 0 : syncState.skipTimeout, 300)
43
43
  });
44
- const tooltip = _B4LYZ4EMcjs.createStore.call(void 0, initialState, hovercard, props.store);
44
+ const tooltip = _M2NNCFIJcjs.createStore.call(void 0, initialState, hovercard, props.store);
45
45
  return _AV6KTKLEcjs.__spreadValues.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, hovercard), tooltip);
46
46
  }
47
47
 
@@ -127,7 +127,9 @@ function addGlobalEventListener(type, listener, options, scope = window) {
127
127
  scope.document.removeEventListener(type, listener, options);
128
128
  } catch (e) {
129
129
  }
130
- children.forEach((remove) => remove());
130
+ for (const remove of children) {
131
+ remove();
132
+ }
131
133
  };
132
134
  return removeEventListener;
133
135
  }
@@ -12,7 +12,7 @@ var _AV6KTKLEcjs = require('../__chunks/AV6KTKLE.cjs');
12
12
  // src/utils/focus.ts
13
13
  var selector = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], summary, iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";
14
14
  function hasNegativeTabIndex(element) {
15
- const tabIndex = parseInt(element.getAttribute("tabindex") || "0", 10);
15
+ const tabIndex = Number.parseInt(element.getAttribute("tabindex") || "0", 10);
16
16
  return tabIndex < 0;
17
17
  }
18
18
  function isFocusable(element) {
@@ -205,7 +205,9 @@ function disableFocus(element) {
205
205
  }
206
206
  function disableFocusIn(container, includeContainer) {
207
207
  const tabbableElements = getAllTabbableIn(container, includeContainer);
208
- tabbableElements.forEach(disableFocus);
208
+ for (const element of tabbableElements) {
209
+ disableFocus(element);
210
+ }
209
211
  }
210
212
  function restoreFocusIn(container) {
211
213
  const elements = container.querySelectorAll("[data-tabindex]");
@@ -221,7 +223,9 @@ function restoreFocusIn(container) {
221
223
  if (container.hasAttribute("data-tabindex")) {
222
224
  restoreTabIndex(container);
223
225
  }
224
- elements.forEach(restoreTabIndex);
226
+ for (const element of elements) {
227
+ restoreTabIndex(element);
228
+ }
225
229
  }
226
230
  function focusIntoView(element, options) {
227
231
  if (!("scrollIntoView" in element)) {
@@ -10,7 +10,7 @@
10
10
 
11
11
 
12
12
 
13
- var _B4LYZ4EMcjs = require('../__chunks/B4LYZ4EM.cjs');
13
+ var _M2NNCFIJcjs = require('../__chunks/M2NNCFIJ.cjs');
14
14
  require('../__chunks/EEDWPDM2.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 = _B4LYZ4EMcjs.batch; exports.createStore = _B4LYZ4EMcjs.createStore; exports.init = _B4LYZ4EMcjs.init; exports.mergeStore = _B4LYZ4EMcjs.mergeStore; exports.omit = _B4LYZ4EMcjs.omit; exports.pick = _B4LYZ4EMcjs.pick; exports.setup = _B4LYZ4EMcjs.setup; exports.subscribe = _B4LYZ4EMcjs.subscribe; exports.sync = _B4LYZ4EMcjs.sync; exports.throwOnConflictingProps = _B4LYZ4EMcjs.throwOnConflictingProps;
27
+ exports.batch = _M2NNCFIJcjs.batch; exports.createStore = _M2NNCFIJcjs.createStore; exports.init = _M2NNCFIJcjs.init; exports.mergeStore = _M2NNCFIJcjs.mergeStore; exports.omit = _M2NNCFIJcjs.omit; exports.pick = _M2NNCFIJcjs.pick; exports.setup = _M2NNCFIJcjs.setup; exports.subscribe = _M2NNCFIJcjs.subscribe; exports.sync = _M2NNCFIJcjs.sync; exports.throwOnConflictingProps = _M2NNCFIJcjs.throwOnConflictingProps;
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createPopoverStore
4
- } from "./MFZZDIHG.js";
4
+ } from "./SAZZJI72.js";
5
5
  import {
6
6
  createStore
7
- } from "./R676XYVY.js";
7
+ } from "./KLPDXTDE.js";
8
8
  import {
9
9
  defaultValue
10
10
  } from "./22HHDS5F.js";
@@ -5,7 +5,7 @@ import {
5
5
  init,
6
6
  setup,
7
7
  throwOnConflictingProps
8
- } from "./R676XYVY.js";
8
+ } from "./KLPDXTDE.js";
9
9
  import {
10
10
  chain,
11
11
  defaultValue
@@ -7,7 +7,7 @@ import {
7
7
  subscribe,
8
8
  sync,
9
9
  throwOnConflictingProps
10
- } from "./R676XYVY.js";
10
+ } from "./KLPDXTDE.js";
11
11
  import {
12
12
  defaultValue
13
13
  } from "./22HHDS5F.js";
@@ -70,7 +70,9 @@ function createStore(initialState, ...stores) {
70
70
  )
71
71
  );
72
72
  const teardowns = [];
73
- setups.forEach((setup2) => teardowns.push(setup2()));
73
+ for (const setup2 of setups) {
74
+ teardowns.push(setup2());
75
+ }
74
76
  const cleanups = stores.map(init);
75
77
  destroy = chain(...desyncs, ...teardowns, ...cleanups);
76
78
  return maybeDestroy;
@@ -99,16 +101,16 @@ function createStore(initialState, ...stores) {
99
101
  const storeOmit = (keys) => createStore(omit(state, keys), finalStore);
100
102
  const getState = () => state;
101
103
  const setState = (key, value, fromStores = false) => {
104
+ var _a;
102
105
  if (!hasOwnProperty(state, key))
103
106
  return;
104
107
  const nextValue = applyState(value, state[key]);
105
108
  if (nextValue === state[key])
106
109
  return;
107
110
  if (!fromStores) {
108
- stores.forEach((store) => {
109
- var _a;
111
+ for (const store of stores) {
110
112
  (_a = store == null ? void 0 : store.setState) == null ? void 0 : _a.call(store, key, nextValue);
111
- });
113
+ }
112
114
  }
113
115
  const prevState = state;
114
116
  state = __spreadProps(__spreadValues({}, state), { [key]: nextValue });
@@ -116,24 +118,24 @@ function createStore(initialState, ...stores) {
116
118
  lastUpdate = thisUpdate;
117
119
  updatedKeys.add(key);
118
120
  const run = (listener, prev, uKeys) => {
119
- var _a;
121
+ var _a2;
120
122
  const keys = listenerKeys.get(listener);
121
123
  const updated = (k) => uKeys ? uKeys.has(k) : k === key;
122
124
  if (!keys || keys.some(updated)) {
123
- (_a = disposables.get(listener)) == null ? void 0 : _a();
125
+ (_a2 = disposables.get(listener)) == null ? void 0 : _a2();
124
126
  disposables.set(listener, listener(state, prev));
125
127
  }
126
128
  };
127
- listeners.forEach((listener) => {
129
+ for (const listener of listeners) {
128
130
  run(listener, prevState);
129
- });
131
+ }
130
132
  queueMicrotask(() => {
131
133
  if (lastUpdate !== thisUpdate)
132
134
  return;
133
135
  const snapshot = state;
134
- batchListeners.forEach((listener) => {
136
+ for (const listener of batchListeners) {
135
137
  run(listener, prevStateBatch, updatedKeys);
136
- });
138
+ }
137
139
  prevStateBatch = snapshot;
138
140
  updatedKeys.clear();
139
141
  });
@@ -194,7 +196,7 @@ function mergeStore(...stores) {
194
196
  const nextState = (_a = store2 == null ? void 0 : store2.getState) == null ? void 0 : _a.call(store2);
195
197
  if (!nextState)
196
198
  return state;
197
- return __spreadValues(__spreadValues({}, state), nextState);
199
+ return Object.assign(state, nextState);
198
200
  }, {});
199
201
  const store = createStore(initialState, ...stores);
200
202
  return store;
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  createDisclosureStore
4
- } from "./WCKXDMU7.js";
4
+ } from "./KDSZSVV5.js";
5
5
 
6
6
  // src/dialog/dialog-store.ts
7
7
  function createDialogStore(props = {}) {
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createCompositeStore
4
- } from "./PBSSD2DM.js";
4
+ } from "./VH2P7HEP.js";
5
5
  import {
6
6
  createStore
7
- } from "./R676XYVY.js";
7
+ } from "./KLPDXTDE.js";
8
8
  import {
9
9
  defaultValue
10
10
  } from "./22HHDS5F.js";
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  createDialogStore
4
- } from "./5RJNXXU2.js";
4
+ } from "./NWACXGIN.js";
5
5
  import {
6
6
  createStore,
7
7
  mergeStore,
8
8
  omit,
9
9
  throwOnConflictingProps
10
- } from "./R676XYVY.js";
10
+ } from "./KLPDXTDE.js";
11
11
  import {
12
12
  defaultValue
13
13
  } from "./22HHDS5F.js";
@@ -1,7 +1,7 @@
1
1
  "use client";
2
2
  import {
3
3
  createCollectionStore
4
- } from "./EQPTKGFA.js";
4
+ } from "./I2WJ7JBQ.js";
5
5
  import {
6
6
  flatten2DArray,
7
7
  reverseArray
@@ -10,7 +10,7 @@ import {
10
10
  createStore,
11
11
  setup,
12
12
  sync
13
- } from "./R676XYVY.js";
13
+ } from "./KLPDXTDE.js";
14
14
  import {
15
15
  defaultValue
16
16
  } from "./22HHDS5F.js";
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  createStore,
4
4
  throwOnConflictingProps
5
- } from "../__chunks/R676XYVY.js";
5
+ } from "../__chunks/KLPDXTDE.js";
6
6
  import {
7
7
  defaultValue
8
8
  } from "../__chunks/22HHDS5F.js";
@@ -1,8 +1,8 @@
1
1
  "use client";
2
2
  import {
3
3
  createCollectionStore
4
- } from "../__chunks/EQPTKGFA.js";
5
- import "../__chunks/R676XYVY.js";
4
+ } from "../__chunks/I2WJ7JBQ.js";
5
+ import "../__chunks/KLPDXTDE.js";
6
6
  import "../__chunks/22HHDS5F.js";
7
7
  import "../__chunks/I2NJJ3XW.js";
8
8
  import "../__chunks/4R3V3JGP.js";
@@ -71,6 +71,8 @@ export interface ComboboxStoreState<T extends ComboboxStoreSelectedValue = Combo
71
71
  * - [Submenu with
72
72
  * Combobox](https://ariakit.org/examples/menu-nested-combobox)
73
73
  * - [Command Menu](https://ariakit.org/examples/dialog-combobox-command-menu)
74
+ * - [Select with Combobox and
75
+ * Tabs](https://ariakit.org/examples/select-combobox-tab)
74
76
  */
75
77
  resetValueOnHide: boolean;
76
78
  /**
@@ -1,14 +1,14 @@
1
1
  "use client";
2
2
  import {
3
3
  createCompositeStore
4
- } from "../__chunks/PBSSD2DM.js";
5
- import "../__chunks/EQPTKGFA.js";
4
+ } from "../__chunks/VH2P7HEP.js";
5
+ import "../__chunks/I2WJ7JBQ.js";
6
6
  import "../__chunks/7PRQYBBV.js";
7
7
  import {
8
8
  createPopoverStore
9
- } from "../__chunks/MFZZDIHG.js";
10
- import "../__chunks/5RJNXXU2.js";
11
- import "../__chunks/WCKXDMU7.js";
9
+ } from "../__chunks/SAZZJI72.js";
10
+ import "../__chunks/NWACXGIN.js";
11
+ import "../__chunks/KDSZSVV5.js";
12
12
  import {
13
13
  batch,
14
14
  createStore,
@@ -17,7 +17,7 @@ import {
17
17
  setup,
18
18
  sync,
19
19
  throwOnConflictingProps
20
- } from "../__chunks/R676XYVY.js";
20
+ } from "../__chunks/KLPDXTDE.js";
21
21
  import {
22
22
  chain,
23
23
  defaultValue
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createPopoverStore
4
- } from "../__chunks/MFZZDIHG.js";
5
- import "../__chunks/5RJNXXU2.js";
6
- import "../__chunks/WCKXDMU7.js";
7
- import "../__chunks/R676XYVY.js";
4
+ } from "../__chunks/SAZZJI72.js";
5
+ import "../__chunks/NWACXGIN.js";
6
+ import "../__chunks/KDSZSVV5.js";
7
+ import "../__chunks/KLPDXTDE.js";
8
8
  import "../__chunks/22HHDS5F.js";
9
9
  import "../__chunks/4R3V3JGP.js";
10
10
 
@@ -44,6 +44,10 @@ export interface CompositeStoreState<T extends CompositeStoreItem = CompositeSto
44
44
  * In both scenarios, the item in focus will carry the
45
45
  * [`data-active-item`](https://ariakit.org/guide/styling#data-active-item)
46
46
  * attribute.
47
+ *
48
+ * Live examples:
49
+ * - [Select with Combobox and
50
+ * Tabs](https://ariakit.org/examples/select-combobox-tab)
47
51
  * @default false
48
52
  */
49
53
  virtualFocus: boolean;
@@ -178,7 +182,7 @@ export interface CompositeStoreState<T extends CompositeStoreItem = CompositeSto
178
182
  * arrow keys.
179
183
  *
180
184
  * Live examples:
181
- * - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
185
+ * - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
182
186
  */
183
187
  activeId: string | null | undefined;
184
188
  }
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createCompositeStore
4
- } from "../__chunks/PBSSD2DM.js";
5
- import "../__chunks/EQPTKGFA.js";
4
+ } from "../__chunks/VH2P7HEP.js";
5
+ import "../__chunks/I2WJ7JBQ.js";
6
6
  import "../__chunks/7PRQYBBV.js";
7
- import "../__chunks/R676XYVY.js";
7
+ import "../__chunks/KLPDXTDE.js";
8
8
  import "../__chunks/22HHDS5F.js";
9
9
  import "../__chunks/I2NJJ3XW.js";
10
10
  import "../__chunks/4R3V3JGP.js";
@@ -1,9 +1,9 @@
1
1
  "use client";
2
2
  import {
3
3
  createDialogStore
4
- } from "../__chunks/5RJNXXU2.js";
5
- import "../__chunks/WCKXDMU7.js";
6
- import "../__chunks/R676XYVY.js";
4
+ } from "../__chunks/NWACXGIN.js";
5
+ import "../__chunks/KDSZSVV5.js";
6
+ import "../__chunks/KLPDXTDE.js";
7
7
  import "../__chunks/22HHDS5F.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/WCKXDMU7.js";
5
- import "../__chunks/R676XYVY.js";
4
+ } from "../__chunks/KDSZSVV5.js";
5
+ import "../__chunks/KLPDXTDE.js";
6
6
  import "../__chunks/22HHDS5F.js";
7
7
  import "../__chunks/4R3V3JGP.js";
8
8
  export {
@@ -1,13 +1,13 @@
1
1
  "use client";
2
2
  import {
3
3
  createCollectionStore
4
- } from "../__chunks/EQPTKGFA.js";
4
+ } from "../__chunks/I2WJ7JBQ.js";
5
5
  import {
6
6
  createStore,
7
7
  init,
8
8
  setup,
9
9
  throwOnConflictingProps
10
- } from "../__chunks/R676XYVY.js";
10
+ } from "../__chunks/KLPDXTDE.js";
11
11
  import {
12
12
  applyState,
13
13
  defaultValue,
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  createHovercardStore
4
- } from "../__chunks/BRS7GKWU.js";
5
- import "../__chunks/MFZZDIHG.js";
6
- import "../__chunks/5RJNXXU2.js";
7
- import "../__chunks/WCKXDMU7.js";
8
- import "../__chunks/R676XYVY.js";
4
+ } from "../__chunks/E4HA32QI.js";
5
+ import "../__chunks/SAZZJI72.js";
6
+ import "../__chunks/NWACXGIN.js";
7
+ import "../__chunks/KDSZSVV5.js";
8
+ import "../__chunks/KLPDXTDE.js";
9
9
  import "../__chunks/22HHDS5F.js";
10
10
  import "../__chunks/4R3V3JGP.js";
11
11
  export {
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  createMenubarStore
4
- } from "../__chunks/P3MTNH46.js";
5
- import "../__chunks/PBSSD2DM.js";
6
- import "../__chunks/EQPTKGFA.js";
4
+ } from "../__chunks/RCLYDUHE.js";
5
+ import "../__chunks/VH2P7HEP.js";
6
+ import "../__chunks/I2WJ7JBQ.js";
7
7
  import "../__chunks/7PRQYBBV.js";
8
- import "../__chunks/R676XYVY.js";
8
+ import "../__chunks/KLPDXTDE.js";
9
9
  import "../__chunks/22HHDS5F.js";
10
10
  import "../__chunks/I2NJJ3XW.js";
11
11
  import "../__chunks/4R3V3JGP.js";
@@ -1,15 +1,15 @@
1
1
  "use client";
2
2
  import {
3
3
  createHovercardStore
4
- } from "../__chunks/BRS7GKWU.js";
4
+ } from "../__chunks/E4HA32QI.js";
5
5
  import {
6
6
  createCompositeStore
7
- } from "../__chunks/PBSSD2DM.js";
8
- import "../__chunks/EQPTKGFA.js";
7
+ } from "../__chunks/VH2P7HEP.js";
8
+ import "../__chunks/I2WJ7JBQ.js";
9
9
  import "../__chunks/7PRQYBBV.js";
10
- import "../__chunks/MFZZDIHG.js";
11
- import "../__chunks/5RJNXXU2.js";
12
- import "../__chunks/WCKXDMU7.js";
10
+ import "../__chunks/SAZZJI72.js";
11
+ import "../__chunks/NWACXGIN.js";
12
+ import "../__chunks/KDSZSVV5.js";
13
13
  import {
14
14
  createStore,
15
15
  mergeStore,
@@ -18,7 +18,7 @@ import {
18
18
  setup,
19
19
  sync,
20
20
  throwOnConflictingProps
21
- } from "../__chunks/R676XYVY.js";
21
+ } from "../__chunks/KLPDXTDE.js";
22
22
  import {
23
23
  applyState,
24
24
  defaultValue
@@ -1,11 +1,11 @@
1
1
  "use client";
2
2
  import {
3
3
  createMenubarStore
4
- } from "../__chunks/P3MTNH46.js";
5
- import "../__chunks/PBSSD2DM.js";
6
- import "../__chunks/EQPTKGFA.js";
4
+ } from "../__chunks/RCLYDUHE.js";
5
+ import "../__chunks/VH2P7HEP.js";
6
+ import "../__chunks/I2WJ7JBQ.js";
7
7
  import "../__chunks/7PRQYBBV.js";
8
- import "../__chunks/R676XYVY.js";
8
+ import "../__chunks/KLPDXTDE.js";
9
9
  import "../__chunks/22HHDS5F.js";
10
10
  import "../__chunks/I2NJJ3XW.js";
11
11
  import "../__chunks/4R3V3JGP.js";
@@ -1,10 +1,10 @@
1
1
  "use client";
2
2
  import {
3
3
  createPopoverStore
4
- } from "../__chunks/MFZZDIHG.js";
5
- import "../__chunks/5RJNXXU2.js";
6
- import "../__chunks/WCKXDMU7.js";
7
- import "../__chunks/R676XYVY.js";
4
+ } from "../__chunks/SAZZJI72.js";
5
+ import "../__chunks/NWACXGIN.js";
6
+ import "../__chunks/KDSZSVV5.js";
7
+ import "../__chunks/KLPDXTDE.js";
8
8
  import "../__chunks/22HHDS5F.js";
9
9
  import "../__chunks/4R3V3JGP.js";
10
10
  export {
@@ -1,12 +1,12 @@
1
1
  "use client";
2
2
  import {
3
3
  createCompositeStore
4
- } from "../__chunks/PBSSD2DM.js";
5
- import "../__chunks/EQPTKGFA.js";
4
+ } from "../__chunks/VH2P7HEP.js";
5
+ import "../__chunks/I2WJ7JBQ.js";
6
6
  import "../__chunks/7PRQYBBV.js";
7
7
  import {
8
8
  createStore
9
- } from "../__chunks/R676XYVY.js";
9
+ } from "../__chunks/KLPDXTDE.js";
10
10
  import {
11
11
  defaultValue
12
12
  } from "../__chunks/22HHDS5F.js";
@@ -102,6 +102,8 @@ export interface SelectStoreOptions<T extends SelectStoreValue = SelectStoreValu
102
102
  * - [SelectGroup](https://ariakit.org/examples/select-group)
103
103
  * - [Select with Next.js App
104
104
  * Router](https://ariakit.org/examples/select-next-router)
105
+ * - [Select with Combobox and
106
+ * Tabs](https://ariakit.org/examples/select-combobox-tab)
105
107
  */
106
108
  defaultValue?: SelectStoreState<T>["value"];
107
109
  }
@@ -1,16 +1,16 @@
1
1
  "use client";
2
2
  import {
3
3
  createCompositeStore
4
- } from "../__chunks/PBSSD2DM.js";
5
- import "../__chunks/EQPTKGFA.js";
4
+ } from "../__chunks/VH2P7HEP.js";
5
+ import "../__chunks/I2WJ7JBQ.js";
6
6
  import {
7
7
  toArray
8
8
  } from "../__chunks/7PRQYBBV.js";
9
9
  import {
10
10
  createPopoverStore
11
- } from "../__chunks/MFZZDIHG.js";
12
- import "../__chunks/5RJNXXU2.js";
13
- import "../__chunks/WCKXDMU7.js";
11
+ } from "../__chunks/SAZZJI72.js";
12
+ import "../__chunks/NWACXGIN.js";
13
+ import "../__chunks/KDSZSVV5.js";
14
14
  import {
15
15
  batch,
16
16
  createStore,
@@ -19,7 +19,7 @@ import {
19
19
  setup,
20
20
  sync,
21
21
  throwOnConflictingProps
22
- } from "../__chunks/R676XYVY.js";
22
+ } from "../__chunks/KLPDXTDE.js";
23
23
  import {
24
24
  defaultValue
25
25
  } from "../__chunks/22HHDS5F.js";
@@ -22,16 +22,20 @@ export interface TabStoreState extends CompositeStoreState<TabStoreItem> {
22
22
  *
23
23
  * Live examples:
24
24
  * - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
25
- * - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
25
+ * - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
26
+ * - [Select with Combobox and
27
+ * Tabs](https://ariakit.org/examples/select-combobox-tab)
26
28
  */
27
29
  selectedId: TabStoreState["activeId"];
28
30
  /**
29
31
  * Determines if the tab should be selected when it receives focus. If set to
30
- * `false`, the tab will only be selected upon clicking, not when
31
- * using arrow keys to shift focus.
32
+ * `false`, the tab will only be selected upon clicking, not when using arrow
33
+ * keys to shift focus.
32
34
  *
33
35
  * Live examples:
34
36
  * - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
37
+ * - [Select with Combobox and
38
+ * Tabs](https://ariakit.org/examples/select-combobox-tab)
35
39
  * @default true
36
40
  */
37
41
  selectOnMove?: boolean;
@@ -99,8 +103,10 @@ export interface TabStoreOptions extends StoreOptions<TabStoreState, "orientatio
99
103
  * will be automatically set to the first enabled tab.
100
104
  *
101
105
  * Live examples:
102
- * - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
106
+ * - [Combobox with Tabs](https://ariakit.org/examples/combobox-tabs)
103
107
  * - [Animated TabPanel](https://ariakit.org/examples/tab-panel-animated)
108
+ * - [Select with Combobox and
109
+ * Tabs](https://ariakit.org/examples/select-combobox-tab)
104
110
  */
105
111
  defaultSelectedId?: TabStoreState["selectedId"];
106
112
  }