@ariakit/core 0.3.4 → 0.3.5
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.
- package/CHANGELOG.md +4 -0
- package/cjs/__chunks/{LMT335NJ.cjs → 3UT5FE6K.cjs} +2 -2
- package/cjs/__chunks/{M44E4T5A.cjs → AR2VJ37F.cjs} +21 -21
- package/cjs/__chunks/F5YZIIEA.cjs +29 -0
- package/cjs/__chunks/{YXSGST3H.cjs → F6Q5QSXF.cjs} +18 -18
- package/cjs/__chunks/{25WWT2VO.cjs → FFY2GSOG.cjs} +13 -13
- package/cjs/__chunks/{OASSVCYR.cjs → FJSZTIOU.cjs} +16 -16
- package/cjs/__chunks/{ROX3MRGO.cjs → HOEZKRUM.cjs} +16 -16
- package/cjs/__chunks/{MLPOXRDT.cjs → MYTMMWXI.cjs} +2 -2
- package/cjs/__chunks/XVR5QRC3.cjs +42 -0
- package/cjs/checkbox/checkbox-store.cjs +7 -7
- package/cjs/collection/collection-store.cjs +5 -5
- package/cjs/combobox/combobox-store.cjs +31 -31
- package/cjs/composite/composite-overflow-store.cjs +7 -7
- package/cjs/composite/composite-store.cjs +6 -6
- package/cjs/dialog/dialog-store.cjs +6 -6
- package/cjs/disclosure/disclosure-store.cjs +5 -5
- package/cjs/form/form-store.cjs +27 -27
- package/cjs/hovercard/hovercard-store.cjs +8 -8
- package/cjs/index.cjs +1 -1
- package/cjs/menu/menu-bar-store.cjs +7 -20
- package/cjs/menu/menu-bar-store.d.cts +6 -6
- package/cjs/menu/menu-bar-store.d.ts +6 -6
- package/cjs/menu/menu-store.cjs +31 -31
- package/cjs/menubar/menubar-store.cjs +14 -0
- package/cjs/menubar/menubar-store.d.cts +10 -0
- package/cjs/menubar/menubar-store.d.ts +10 -0
- package/cjs/popover/popover-store.cjs +7 -7
- package/cjs/radio/radio-store.cjs +12 -12
- package/cjs/select/select-store.cjs +32 -32
- package/cjs/tab/tab-store.cjs +24 -24
- package/cjs/toolbar/toolbar-store.cjs +8 -8
- package/cjs/tooltip/tooltip-store.cjs +15 -15
- package/cjs/utils/array.cjs +1 -1
- package/cjs/utils/dom.cjs +1 -1
- package/cjs/utils/events.cjs +3 -3
- package/cjs/utils/focus.cjs +2 -2
- package/cjs/utils/misc.cjs +3 -3
- package/cjs/utils/platform.cjs +1 -1
- package/cjs/utils/store.cjs +4 -4
- package/esm/__chunks/{FGW7QUD2.js → 5BWT4GY2.js} +4 -4
- package/esm/__chunks/{Q332EHXG.js → 6EMNXRG3.js} +3 -3
- package/esm/__chunks/6LSGADQM.js +29 -0
- package/esm/__chunks/{I7YGHQ4Z.js → DREIYIMP.js} +1 -1
- package/esm/__chunks/{LWQU4J4N.js → EIFVU736.js} +4 -4
- package/esm/__chunks/{GME4NYXR.js → HJS6GJT4.js} +2 -2
- package/esm/__chunks/{D23ES3Z4.js → I2VQ3XGR.js} +1 -1
- package/esm/__chunks/{VEWADM34.js → MRBDYBGO.js} +4 -4
- package/esm/__chunks/{TEJLMP2M.js → PCA5ARZU.js} +3 -3
- package/esm/checkbox/checkbox-store.js +3 -3
- package/esm/collection/collection-store.js +4 -4
- package/esm/combobox/combobox-store.js +8 -8
- package/esm/composite/composite-overflow-store.js +6 -6
- package/esm/composite/composite-store.js +5 -5
- package/esm/dialog/dialog-store.js +5 -5
- package/esm/disclosure/disclosure-store.js +4 -4
- package/esm/form/form-store.js +4 -4
- package/esm/hovercard/hovercard-store.js +7 -7
- package/esm/index.js +1 -1
- package/esm/menu/menu-bar-store.d.ts +6 -6
- package/esm/menu/menu-bar-store.js +8 -21
- package/esm/menu/menu-store.js +9 -9
- package/esm/menubar/menubar-store.d.ts +10 -0
- package/esm/menubar/menubar-store.js +14 -0
- package/esm/popover/popover-store.js +6 -6
- package/esm/radio/radio-store.js +5 -5
- package/esm/select/select-store.js +8 -8
- package/esm/tab/tab-store.js +5 -5
- package/esm/toolbar/toolbar-store.js +5 -5
- package/esm/tooltip/tooltip-store.js +7 -7
- package/esm/utils/array.js +1 -1
- package/esm/utils/dom.js +1 -1
- package/esm/utils/events.js +1 -1
- package/esm/utils/focus.js +1 -1
- package/esm/utils/misc.js +2 -2
- package/esm/utils/platform.js +1 -1
- package/esm/utils/store.js +3 -3
- package/menubar/menubar-store/package.json +8 -0
- package/package.json +8 -1
- package/cjs/__chunks/LUOEAZGU.cjs +0 -42
- /package/cjs/__chunks/{WYXAWBLE.cjs → AV6KTKLE.cjs} +0 -0
- /package/esm/__chunks/{2SMRF6AD.js → 4R3V3JGP.js} +0 -0
package/cjs/utils/array.cjs
CHANGED
package/cjs/utils/dom.cjs
CHANGED
package/cjs/utils/events.cjs
CHANGED
|
@@ -8,7 +8,7 @@ var _FTB5CXVBcjs = require('../__chunks/FTB5CXVB.cjs');
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
|
|
11
|
-
var
|
|
11
|
+
var _AV6KTKLEcjs = require('../__chunks/AV6KTKLE.cjs');
|
|
12
12
|
|
|
13
13
|
// src/utils/events.ts
|
|
14
14
|
function isPortalEvent(event) {
|
|
@@ -59,14 +59,14 @@ function fireEvent(element, type, eventInit) {
|
|
|
59
59
|
function fireBlurEvent(element, eventInit) {
|
|
60
60
|
const event = new FocusEvent("blur", eventInit);
|
|
61
61
|
const defaultAllowed = element.dispatchEvent(event);
|
|
62
|
-
const bubbleInit =
|
|
62
|
+
const bubbleInit = _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, eventInit), { bubbles: true });
|
|
63
63
|
element.dispatchEvent(new FocusEvent("focusout", bubbleInit));
|
|
64
64
|
return defaultAllowed;
|
|
65
65
|
}
|
|
66
66
|
function fireFocusEvent(element, eventInit) {
|
|
67
67
|
const event = new FocusEvent("focus", eventInit);
|
|
68
68
|
const defaultAllowed = element.dispatchEvent(event);
|
|
69
|
-
const bubbleInit =
|
|
69
|
+
const bubbleInit = _AV6KTKLEcjs.__spreadProps.call(void 0, _AV6KTKLEcjs.__spreadValues.call(void 0, {}, eventInit), { bubbles: true });
|
|
70
70
|
element.dispatchEvent(new FocusEvent("focusin", bubbleInit));
|
|
71
71
|
return defaultAllowed;
|
|
72
72
|
}
|
package/cjs/utils/focus.cjs
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
var _FTB5CXVBcjs = require('../__chunks/FTB5CXVB.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
var
|
|
12
|
+
var _AV6KTKLEcjs = require('../__chunks/AV6KTKLE.cjs');
|
|
13
13
|
|
|
14
14
|
// src/utils/focus.ts
|
|
15
15
|
var selector = "input:not([type='hidden']):not([disabled]), select:not([disabled]), textarea:not([disabled]), a[href], button:not([disabled]), [tabindex], iframe, object, embed, area[href], audio[controls], video[controls], [contenteditable]:not([contenteditable='false'])";
|
|
@@ -230,7 +230,7 @@ function focusIntoView(element, options) {
|
|
|
230
230
|
element.focus();
|
|
231
231
|
} else {
|
|
232
232
|
element.focus({ preventScroll: true });
|
|
233
|
-
element.scrollIntoView(
|
|
233
|
+
element.scrollIntoView(_AV6KTKLEcjs.__spreadValues.call(void 0, { block: "nearest", inline: "nearest" }, options));
|
|
234
234
|
}
|
|
235
235
|
}
|
|
236
236
|
|
package/cjs/utils/misc.cjs
CHANGED
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
var
|
|
24
|
-
require('../__chunks/
|
|
23
|
+
var _3UT5FE6Kcjs = require('../__chunks/3UT5FE6K.cjs');
|
|
24
|
+
require('../__chunks/AV6KTKLE.cjs');
|
|
25
25
|
|
|
26
26
|
|
|
27
27
|
|
|
@@ -43,4 +43,4 @@ require('../__chunks/WYXAWBLE.cjs');
|
|
|
43
43
|
|
|
44
44
|
|
|
45
45
|
|
|
46
|
-
exports.afterPaint =
|
|
46
|
+
exports.afterPaint = _3UT5FE6Kcjs.afterPaint; exports.applyState = _3UT5FE6Kcjs.applyState; exports.beforePaint = _3UT5FE6Kcjs.beforePaint; exports.chain = _3UT5FE6Kcjs.chain; exports.cx = _3UT5FE6Kcjs.cx; exports.defaultValue = _3UT5FE6Kcjs.defaultValue; exports.disabledFromProps = _3UT5FE6Kcjs.disabledFromProps; exports.getKeys = _3UT5FE6Kcjs.getKeys; exports.hasOwnProperty = _3UT5FE6Kcjs.hasOwnProperty; exports.identity = _3UT5FE6Kcjs.identity; exports.invariant = _3UT5FE6Kcjs.invariant; exports.isEmpty = _3UT5FE6Kcjs.isEmpty; exports.isFalsyBooleanCallback = _3UT5FE6Kcjs.isFalsyBooleanCallback; exports.isInteger = _3UT5FE6Kcjs.isInteger; exports.isObject = _3UT5FE6Kcjs.isObject; exports.noop = _3UT5FE6Kcjs.noop; exports.normalizeString = _3UT5FE6Kcjs.normalizeString; exports.omit = _3UT5FE6Kcjs.omit; exports.pick = _3UT5FE6Kcjs.pick; exports.shallowEqual = _3UT5FE6Kcjs.shallowEqual;
|
package/cjs/utils/platform.cjs
CHANGED
package/cjs/utils/store.cjs
CHANGED
|
@@ -10,9 +10,9 @@
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
14
|
-
require('../__chunks/
|
|
15
|
-
require('../__chunks/
|
|
13
|
+
var _FJSZTIOUcjs = require('../__chunks/FJSZTIOU.cjs');
|
|
14
|
+
require('../__chunks/3UT5FE6K.cjs');
|
|
15
|
+
require('../__chunks/AV6KTKLE.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
@@ -24,4 +24,4 @@ require('../__chunks/WYXAWBLE.cjs');
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
exports.batch =
|
|
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;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createCollectionStore
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./6EMNXRG3.js";
|
|
5
5
|
import {
|
|
6
6
|
createStore,
|
|
7
7
|
setup,
|
|
8
8
|
sync
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./HJS6GJT4.js";
|
|
10
10
|
import {
|
|
11
11
|
defaultValue
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./I2VQ3XGR.js";
|
|
13
13
|
import {
|
|
14
14
|
flatten2DArray,
|
|
15
15
|
reverseArray
|
|
@@ -17,7 +17,7 @@ import {
|
|
|
17
17
|
import {
|
|
18
18
|
__spreadProps,
|
|
19
19
|
__spreadValues
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./4R3V3JGP.js";
|
|
21
21
|
|
|
22
22
|
// src/composite/composite-store.ts
|
|
23
23
|
var NULL_ITEM = { id: null };
|
|
@@ -4,18 +4,18 @@ import {
|
|
|
4
4
|
createStore,
|
|
5
5
|
setup,
|
|
6
6
|
throwOnConflictingProps
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./HJS6GJT4.js";
|
|
8
8
|
import {
|
|
9
9
|
chain,
|
|
10
10
|
defaultValue
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./I2VQ3XGR.js";
|
|
12
12
|
import {
|
|
13
13
|
getDocument
|
|
14
14
|
} from "./NIF7E7VE.js";
|
|
15
15
|
import {
|
|
16
16
|
__spreadProps,
|
|
17
17
|
__spreadValues
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./4R3V3JGP.js";
|
|
19
19
|
|
|
20
20
|
// src/collection/collection-store.ts
|
|
21
21
|
function isElementPreceding(a, b) {
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
createCompositeStore
|
|
4
|
+
} from "./5BWT4GY2.js";
|
|
5
|
+
import {
|
|
6
|
+
defaultValue
|
|
7
|
+
} from "./I2VQ3XGR.js";
|
|
8
|
+
import {
|
|
9
|
+
__spreadProps,
|
|
10
|
+
__spreadValues
|
|
11
|
+
} from "./4R3V3JGP.js";
|
|
12
|
+
|
|
13
|
+
// src/menubar/menubar-store.ts
|
|
14
|
+
function createMenubarStore(props = {}) {
|
|
15
|
+
var _a;
|
|
16
|
+
const syncState = (_a = props.store) == null ? void 0 : _a.getState();
|
|
17
|
+
return createCompositeStore(__spreadProps(__spreadValues({}, props), {
|
|
18
|
+
orientation: defaultValue(
|
|
19
|
+
props.orientation,
|
|
20
|
+
syncState == null ? void 0 : syncState.orientation,
|
|
21
|
+
"horizontal"
|
|
22
|
+
),
|
|
23
|
+
focusLoop: defaultValue(props.focusLoop, syncState == null ? void 0 : syncState.focusLoop, true)
|
|
24
|
+
}));
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
export {
|
|
28
|
+
createMenubarStore
|
|
29
|
+
};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createPopoverStore
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./MRBDYBGO.js";
|
|
5
5
|
import {
|
|
6
6
|
createStore
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./HJS6GJT4.js";
|
|
8
8
|
import {
|
|
9
9
|
defaultValue
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./I2VQ3XGR.js";
|
|
11
11
|
import {
|
|
12
12
|
__spreadProps,
|
|
13
13
|
__spreadValues
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./4R3V3JGP.js";
|
|
15
15
|
|
|
16
16
|
// src/hovercard/hovercard-store.ts
|
|
17
17
|
function createHovercardStore(props = {}) {
|
|
@@ -8,11 +8,11 @@ import {
|
|
|
8
8
|
noop,
|
|
9
9
|
omit,
|
|
10
10
|
pick
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./I2VQ3XGR.js";
|
|
12
12
|
import {
|
|
13
13
|
__spreadProps,
|
|
14
14
|
__spreadValues
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./4R3V3JGP.js";
|
|
16
16
|
|
|
17
17
|
// src/utils/store.ts
|
|
18
18
|
function getInternal(store, key) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createDialogStore
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./DREIYIMP.js";
|
|
5
5
|
import {
|
|
6
6
|
createStore,
|
|
7
7
|
mergeStore,
|
|
8
8
|
omit,
|
|
9
9
|
throwOnConflictingProps
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./HJS6GJT4.js";
|
|
11
11
|
import {
|
|
12
12
|
defaultValue
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./I2VQ3XGR.js";
|
|
14
14
|
import {
|
|
15
15
|
__objRest,
|
|
16
16
|
__spreadProps,
|
|
17
17
|
__spreadValues
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./4R3V3JGP.js";
|
|
19
19
|
|
|
20
20
|
// src/popover/popover-store.ts
|
|
21
21
|
function createPopoverStore(_a = {}) {
|
|
@@ -7,14 +7,14 @@ import {
|
|
|
7
7
|
subscribe,
|
|
8
8
|
sync,
|
|
9
9
|
throwOnConflictingProps
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./HJS6GJT4.js";
|
|
11
11
|
import {
|
|
12
12
|
defaultValue
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./I2VQ3XGR.js";
|
|
14
14
|
import {
|
|
15
15
|
__spreadProps,
|
|
16
16
|
__spreadValues
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./4R3V3JGP.js";
|
|
18
18
|
|
|
19
19
|
// src/disclosure/disclosure-store.ts
|
|
20
20
|
function createDisclosureStore(props = {}) {
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createStore,
|
|
4
4
|
throwOnConflictingProps
|
|
5
|
-
} from "../__chunks/
|
|
5
|
+
} from "../__chunks/HJS6GJT4.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultValue
|
|
8
|
-
} from "../__chunks/
|
|
8
|
+
} from "../__chunks/I2VQ3XGR.js";
|
|
9
9
|
import {
|
|
10
10
|
__spreadProps,
|
|
11
11
|
__spreadValues
|
|
12
|
-
} from "../__chunks/
|
|
12
|
+
} from "../__chunks/4R3V3JGP.js";
|
|
13
13
|
|
|
14
14
|
// src/checkbox/checkbox-store.ts
|
|
15
15
|
function createCheckboxStore(props = {}) {
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createCollectionStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/6EMNXRG3.js";
|
|
5
|
+
import "../__chunks/HJS6GJT4.js";
|
|
6
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
7
7
|
import "../__chunks/NIF7E7VE.js";
|
|
8
|
-
import "../__chunks/
|
|
8
|
+
import "../__chunks/4R3V3JGP.js";
|
|
9
9
|
export {
|
|
10
10
|
createCollectionStore
|
|
11
11
|
};
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createPopoverStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/MRBDYBGO.js";
|
|
5
|
+
import "../__chunks/DREIYIMP.js";
|
|
6
|
+
import "../__chunks/PCA5ARZU.js";
|
|
7
7
|
import {
|
|
8
8
|
createCompositeStore
|
|
9
|
-
} from "../__chunks/
|
|
10
|
-
import "../__chunks/
|
|
9
|
+
} from "../__chunks/5BWT4GY2.js";
|
|
10
|
+
import "../__chunks/6EMNXRG3.js";
|
|
11
11
|
import {
|
|
12
12
|
batch,
|
|
13
13
|
createStore,
|
|
14
14
|
setup,
|
|
15
15
|
sync,
|
|
16
16
|
throwOnConflictingProps
|
|
17
|
-
} from "../__chunks/
|
|
17
|
+
} from "../__chunks/HJS6GJT4.js";
|
|
18
18
|
import {
|
|
19
19
|
defaultValue
|
|
20
|
-
} from "../__chunks/
|
|
20
|
+
} from "../__chunks/I2VQ3XGR.js";
|
|
21
21
|
import {
|
|
22
22
|
isSafari,
|
|
23
23
|
isTouchDevice
|
|
@@ -27,7 +27,7 @@ import "../__chunks/7PRQYBBV.js";
|
|
|
27
27
|
import {
|
|
28
28
|
__spreadProps,
|
|
29
29
|
__spreadValues
|
|
30
|
-
} from "../__chunks/
|
|
30
|
+
} from "../__chunks/4R3V3JGP.js";
|
|
31
31
|
|
|
32
32
|
// src/combobox/combobox-store.ts
|
|
33
33
|
var isSafariOnMobile = isSafari() && isTouchDevice();
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createPopoverStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
8
|
-
import "../__chunks/
|
|
9
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/MRBDYBGO.js";
|
|
5
|
+
import "../__chunks/DREIYIMP.js";
|
|
6
|
+
import "../__chunks/PCA5ARZU.js";
|
|
7
|
+
import "../__chunks/HJS6GJT4.js";
|
|
8
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
9
|
+
import "../__chunks/4R3V3JGP.js";
|
|
10
10
|
|
|
11
11
|
// src/composite/composite-overflow-store.ts
|
|
12
12
|
function createCompositeOverflowStore(props = {}) {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createCompositeStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/5BWT4GY2.js";
|
|
5
|
+
import "../__chunks/6EMNXRG3.js";
|
|
6
|
+
import "../__chunks/HJS6GJT4.js";
|
|
7
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
8
8
|
import "../__chunks/NIF7E7VE.js";
|
|
9
9
|
import "../__chunks/7PRQYBBV.js";
|
|
10
|
-
import "../__chunks/
|
|
10
|
+
import "../__chunks/4R3V3JGP.js";
|
|
11
11
|
export {
|
|
12
12
|
createCompositeStore
|
|
13
13
|
};
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createDialogStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
8
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/DREIYIMP.js";
|
|
5
|
+
import "../__chunks/PCA5ARZU.js";
|
|
6
|
+
import "../__chunks/HJS6GJT4.js";
|
|
7
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
8
|
+
import "../__chunks/4R3V3JGP.js";
|
|
9
9
|
export {
|
|
10
10
|
createDialogStore
|
|
11
11
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createDisclosureStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/PCA5ARZU.js";
|
|
5
|
+
import "../__chunks/HJS6GJT4.js";
|
|
6
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
7
|
+
import "../__chunks/4R3V3JGP.js";
|
|
8
8
|
export {
|
|
9
9
|
createDisclosureStore
|
|
10
10
|
};
|
package/esm/form/form-store.js
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createCollectionStore
|
|
4
|
-
} from "../__chunks/
|
|
4
|
+
} from "../__chunks/6EMNXRG3.js";
|
|
5
5
|
import {
|
|
6
6
|
createStore,
|
|
7
7
|
init,
|
|
8
8
|
setup,
|
|
9
9
|
throwOnConflictingProps
|
|
10
|
-
} from "../__chunks/
|
|
10
|
+
} from "../__chunks/HJS6GJT4.js";
|
|
11
11
|
import {
|
|
12
12
|
applyState,
|
|
13
13
|
defaultValue,
|
|
14
14
|
isInteger,
|
|
15
15
|
isObject
|
|
16
|
-
} from "../__chunks/
|
|
16
|
+
} from "../__chunks/I2VQ3XGR.js";
|
|
17
17
|
import "../__chunks/NIF7E7VE.js";
|
|
18
18
|
import {
|
|
19
19
|
__spreadProps,
|
|
20
20
|
__spreadValues
|
|
21
|
-
} from "../__chunks/
|
|
21
|
+
} from "../__chunks/4R3V3JGP.js";
|
|
22
22
|
|
|
23
23
|
// src/form/form-store.ts
|
|
24
24
|
function nextFrame() {
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createHovercardStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
8
|
-
import "../__chunks/
|
|
9
|
-
import "../__chunks/
|
|
10
|
-
import "../__chunks/
|
|
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";
|
|
9
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
10
|
+
import "../__chunks/4R3V3JGP.js";
|
|
11
11
|
export {
|
|
12
12
|
createHovercardStore
|
|
13
13
|
};
|
package/esm/index.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type { MenubarStore, MenubarStoreFunctions, MenubarStoreOptions, MenubarStoreProps, MenubarStoreState } from "../menubar/menubar-store.js";
|
|
2
2
|
/**
|
|
3
3
|
* Creates a menu bar store.
|
|
4
4
|
*/
|
|
5
5
|
export declare function createMenuBarStore(props?: MenuBarStoreProps): MenuBarStore;
|
|
6
|
-
export type MenuBarStoreState =
|
|
7
|
-
export type MenuBarStoreFunctions =
|
|
8
|
-
export type MenuBarStoreOptions =
|
|
9
|
-
export type MenuBarStoreProps =
|
|
10
|
-
export type MenuBarStore =
|
|
6
|
+
export type MenuBarStoreState = MenubarStoreState;
|
|
7
|
+
export type MenuBarStoreFunctions = MenubarStoreFunctions;
|
|
8
|
+
export type MenuBarStoreOptions = MenubarStoreOptions;
|
|
9
|
+
export type MenuBarStoreProps = MenubarStoreProps;
|
|
10
|
+
export type MenuBarStore = MenubarStore;
|
|
@@ -1,31 +1,18 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
|
-
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import
|
|
8
|
-
|
|
9
|
-
} from "../__chunks/D23ES3Z4.js";
|
|
3
|
+
createMenubarStore
|
|
4
|
+
} from "../__chunks/6LSGADQM.js";
|
|
5
|
+
import "../__chunks/5BWT4GY2.js";
|
|
6
|
+
import "../__chunks/6EMNXRG3.js";
|
|
7
|
+
import "../__chunks/HJS6GJT4.js";
|
|
8
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
10
9
|
import "../__chunks/NIF7E7VE.js";
|
|
11
10
|
import "../__chunks/7PRQYBBV.js";
|
|
12
|
-
import
|
|
13
|
-
__spreadProps,
|
|
14
|
-
__spreadValues
|
|
15
|
-
} from "../__chunks/2SMRF6AD.js";
|
|
11
|
+
import "../__chunks/4R3V3JGP.js";
|
|
16
12
|
|
|
17
13
|
// src/menu/menu-bar-store.ts
|
|
18
14
|
function createMenuBarStore(props = {}) {
|
|
19
|
-
|
|
20
|
-
const syncState = (_a = props.store) == null ? void 0 : _a.getState();
|
|
21
|
-
return createCompositeStore(__spreadProps(__spreadValues({}, props), {
|
|
22
|
-
orientation: defaultValue(
|
|
23
|
-
props.orientation,
|
|
24
|
-
syncState == null ? void 0 : syncState.orientation,
|
|
25
|
-
"horizontal"
|
|
26
|
-
),
|
|
27
|
-
focusLoop: defaultValue(props.focusLoop, syncState == null ? void 0 : syncState.focusLoop, true)
|
|
28
|
-
}));
|
|
15
|
+
return createMenubarStore(props);
|
|
29
16
|
}
|
|
30
17
|
export {
|
|
31
18
|
createMenuBarStore
|
package/esm/menu/menu-store.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
createHovercardStore
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/EIFVU736.js";
|
|
5
|
+
import "../__chunks/MRBDYBGO.js";
|
|
6
|
+
import "../__chunks/DREIYIMP.js";
|
|
7
|
+
import "../__chunks/PCA5ARZU.js";
|
|
8
8
|
import {
|
|
9
9
|
createCompositeStore
|
|
10
|
-
} from "../__chunks/
|
|
11
|
-
import "../__chunks/
|
|
10
|
+
} from "../__chunks/5BWT4GY2.js";
|
|
11
|
+
import "../__chunks/6EMNXRG3.js";
|
|
12
12
|
import {
|
|
13
13
|
createStore,
|
|
14
14
|
mergeStore,
|
|
@@ -17,18 +17,18 @@ import {
|
|
|
17
17
|
setup,
|
|
18
18
|
sync,
|
|
19
19
|
throwOnConflictingProps
|
|
20
|
-
} from "../__chunks/
|
|
20
|
+
} from "../__chunks/HJS6GJT4.js";
|
|
21
21
|
import {
|
|
22
22
|
applyState,
|
|
23
23
|
defaultValue
|
|
24
|
-
} from "../__chunks/
|
|
24
|
+
} from "../__chunks/I2VQ3XGR.js";
|
|
25
25
|
import "../__chunks/NIF7E7VE.js";
|
|
26
26
|
import "../__chunks/7PRQYBBV.js";
|
|
27
27
|
import {
|
|
28
28
|
__objRest,
|
|
29
29
|
__spreadProps,
|
|
30
30
|
__spreadValues
|
|
31
|
-
} from "../__chunks/
|
|
31
|
+
} from "../__chunks/4R3V3JGP.js";
|
|
32
32
|
|
|
33
33
|
// src/menu/menu-store.ts
|
|
34
34
|
function createMenuStore(_a = {}) {
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { CompositeStore, CompositeStoreFunctions, CompositeStoreOptions, CompositeStoreProps, CompositeStoreState } from "../composite/composite-store.js";
|
|
2
|
+
/**
|
|
3
|
+
* Creates a menu bar store.
|
|
4
|
+
*/
|
|
5
|
+
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;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import {
|
|
3
|
+
createMenubarStore
|
|
4
|
+
} from "../__chunks/6LSGADQM.js";
|
|
5
|
+
import "../__chunks/5BWT4GY2.js";
|
|
6
|
+
import "../__chunks/6EMNXRG3.js";
|
|
7
|
+
import "../__chunks/HJS6GJT4.js";
|
|
8
|
+
import "../__chunks/I2VQ3XGR.js";
|
|
9
|
+
import "../__chunks/NIF7E7VE.js";
|
|
10
|
+
import "../__chunks/7PRQYBBV.js";
|
|
11
|
+
import "../__chunks/4R3V3JGP.js";
|
|
12
|
+
export {
|
|
13
|
+
createMenubarStore
|
|
14
|
+
};
|