@ariakit/react-core 0.3.8 → 0.3.10
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 +43 -0
- package/cjs/__chunks/{EQ4A5RPW.cjs → 2GETDAIQ.cjs} +4 -4
- package/cjs/__chunks/{XFPRAS3J.cjs → 36QK2QLE.cjs} +15 -31
- package/cjs/__chunks/{KAQBQZEG.cjs → 3KZQJDTV.cjs} +2 -2
- package/cjs/__chunks/{L3WS5HGI.cjs → 47RLIVET.cjs} +10 -10
- package/cjs/__chunks/{S6WUBPBB.cjs → 65LGW5LY.cjs} +4 -2
- package/cjs/__chunks/{65GJIQK5.cjs → 7BPAESN3.cjs} +5 -5
- package/cjs/__chunks/{SSJIHRU6.cjs → 7KFYPSJO.cjs} +4 -4
- package/cjs/__chunks/{OALXXRFM.cjs → B233QVZE.cjs} +2 -1
- package/cjs/__chunks/{YAPOM5RT.cjs → DHSZ2ZFJ.cjs} +28 -16
- package/cjs/__chunks/{TUVU5ERH.cjs → DKOWT2IJ.cjs} +3 -3
- package/cjs/__chunks/{FQNGCFYY.cjs → EGAIDKB5.cjs} +5 -5
- package/cjs/__chunks/{5T425W4R.cjs → EWKBICMP.cjs} +5 -5
- package/cjs/__chunks/{YZ7J6ELT.cjs → GF6NWLKX.cjs} +7 -7
- package/cjs/__chunks/{X3I2WFGC.cjs → HRKRTCJC.cjs} +4 -4
- package/cjs/__chunks/{YEV7NEBU.cjs → IGTX5NFA.cjs} +4 -4
- package/cjs/__chunks/{BY6ER73U.cjs → KQUC6RXT.cjs} +2 -2
- package/cjs/__chunks/{WH4I6OSN.cjs → LO3RECOD.cjs} +2 -2
- package/cjs/__chunks/{A5RWZSX7.cjs → N6CR2VNN.cjs} +12 -12
- package/cjs/__chunks/{RIZYIKBE.cjs → NVHGMKAE.cjs} +7 -5
- package/cjs/__chunks/{MYMQ45UI.cjs → NVRUQ5V7.cjs} +7 -7
- package/cjs/__chunks/{HGT5CLDM.cjs → PHZJAGWK.cjs} +4 -4
- package/cjs/__chunks/{FA25CV2I.cjs → PSR537T6.cjs} +8 -8
- package/cjs/__chunks/{XMGFHUXO.cjs → QLRXXIBY.cjs} +7 -7
- package/cjs/__chunks/{SHOS7XOU.cjs → RTT4XR27.cjs} +4 -4
- package/cjs/__chunks/{MMLLSE2M.cjs → SANV4XBF.cjs} +2 -2
- package/cjs/__chunks/{UL7JVGEU.cjs → T5G6DLC6.cjs} +2 -2
- package/cjs/__chunks/{7BSMGTGR.cjs → TD5MOASJ.cjs} +2 -2
- package/cjs/__chunks/{35LC5W3M.cjs → TGTVGYEZ.cjs} +8 -2
- package/cjs/__chunks/{P43G7USH.cjs → TTMCZ7ZN.cjs} +9 -9
- package/cjs/__chunks/{OH2VU3VU.cjs → UBME4GBY.cjs} +6 -6
- package/cjs/__chunks/{F24A3PBW.cjs → UUTXBBHD.cjs} +2 -2
- package/cjs/__chunks/{XGKLTARH.cjs → V6LYK7WK.cjs} +7 -7
- package/cjs/__chunks/{UQ7KT5UO.cjs → VQHA56HB.cjs} +2 -2
- package/cjs/__chunks/{N6Q3QJ4G.cjs → VQJ44BSY.cjs} +2 -2
- package/cjs/__chunks/{5GQV7KPQ.cjs → VSDH37LI.cjs} +3 -3
- package/cjs/__chunks/{23LJEFHI.cjs → XDTEICF5.cjs} +7 -7
- package/cjs/__chunks/{NLH3Z3GA.cjs → Y22E2GCT.cjs} +6 -6
- package/cjs/checkbox/checkbox-context.d.cts +5 -5
- package/cjs/checkbox/checkbox-context.d.ts +5 -5
- package/cjs/checkbox/checkbox-provider.cjs +3 -3
- package/cjs/checkbox/checkbox-store.cjs +3 -3
- package/cjs/checkbox/checkbox-store.d.cts +6 -8
- package/cjs/checkbox/checkbox-store.d.ts +6 -8
- package/cjs/checkbox/checkbox.cjs +3 -3
- package/cjs/collection/collection-context.d.cts +19 -0
- package/cjs/collection/collection-context.d.ts +19 -0
- package/cjs/collection/collection-provider.cjs +3 -3
- package/cjs/collection/collection-provider.d.cts +2 -4
- package/cjs/collection/collection-provider.d.ts +2 -4
- package/cjs/collection/collection-renderer.cjs +3 -3
- package/cjs/collection/collection-renderer.d.cts +0 -1
- package/cjs/collection/collection-renderer.d.ts +0 -1
- package/cjs/collection/collection-store.cjs +3 -3
- package/cjs/collection/collection-store.d.cts +10 -9
- package/cjs/collection/collection-store.d.ts +10 -9
- package/cjs/combobox/combobox-context.d.cts +5 -5
- package/cjs/combobox/combobox-context.d.ts +5 -5
- package/cjs/combobox/combobox-group.cjs +32 -5
- package/cjs/combobox/combobox-item.cjs +6 -4
- package/cjs/combobox/combobox-list.cjs +4 -4
- package/cjs/combobox/combobox-popover.cjs +12 -12
- package/cjs/combobox/combobox-provider.cjs +8 -8
- package/cjs/combobox/combobox-store.cjs +8 -8
- package/cjs/combobox/combobox-store.d.cts +8 -9
- package/cjs/combobox/combobox-store.d.ts +8 -9
- package/cjs/composite/composite-container.cjs +3 -3
- package/cjs/composite/composite-context.d.cts +5 -5
- package/cjs/composite/composite-context.d.ts +5 -5
- package/cjs/composite/composite-hover.d.cts +1 -0
- package/cjs/composite/composite-hover.d.ts +1 -0
- package/cjs/composite/composite-item.cjs +3 -3
- package/cjs/composite/composite-overflow-disclosure.cjs +3 -3
- package/cjs/composite/composite-overflow-store.cjs +6 -6
- package/cjs/composite/composite-overflow.cjs +9 -9
- package/cjs/composite/composite-provider.cjs +4 -4
- package/cjs/composite/composite-provider.d.cts +2 -4
- package/cjs/composite/composite-provider.d.ts +2 -4
- package/cjs/composite/composite-renderer.cjs +4 -4
- package/cjs/composite/composite-renderer.d.cts +0 -1
- package/cjs/composite/composite-renderer.d.ts +0 -1
- package/cjs/composite/composite-store.cjs +4 -4
- package/cjs/composite/composite-store.d.cts +10 -9
- package/cjs/composite/composite-store.d.ts +10 -9
- package/cjs/composite/utils.d.cts +48 -0
- package/cjs/composite/utils.d.ts +48 -0
- package/cjs/dialog/dialog-backdrop.cjs +5 -5
- package/cjs/dialog/dialog-provider.cjs +4 -4
- package/cjs/dialog/dialog-store.cjs +4 -4
- package/cjs/dialog/dialog-store.d.cts +4 -2
- package/cjs/dialog/dialog-store.d.ts +4 -2
- package/cjs/dialog/dialog.cjs +8 -8
- package/cjs/disclosure/disclosure-content.cjs +3 -3
- package/cjs/disclosure/disclosure-provider.cjs +3 -3
- package/cjs/disclosure/disclosure-store.cjs +3 -3
- package/cjs/disclosure/disclosure-store.d.cts +8 -4
- package/cjs/disclosure/disclosure-store.d.ts +8 -4
- package/cjs/form/form-checkbox.cjs +5 -5
- package/cjs/form/form-context.d.cts +5 -5
- package/cjs/form/form-context.d.ts +5 -5
- package/cjs/form/form-provider.cjs +4 -4
- package/cjs/form/form-radio.cjs +4 -4
- package/cjs/form/form-store.cjs +4 -4
- package/cjs/form/form-store.d.cts +14 -12
- package/cjs/form/form-store.d.ts +14 -12
- package/cjs/hovercard/hovercard-anchor.cjs +2 -2
- package/cjs/hovercard/hovercard-provider.cjs +6 -6
- package/cjs/hovercard/hovercard-store.cjs +6 -6
- package/cjs/hovercard/hovercard-store.d.cts +4 -2
- package/cjs/hovercard/hovercard-store.d.ts +4 -2
- package/cjs/hovercard/hovercard.cjs +10 -10
- package/cjs/menu/menu-bar-provider.cjs +6 -6
- package/cjs/menu/menu-bar-store.cjs +6 -6
- package/cjs/menu/menu-bar.cjs +6 -6
- package/cjs/menu/menu-button.cjs +7 -4
- package/cjs/menu/menu-context.d.cts +5 -5
- package/cjs/menu/menu-context.d.ts +5 -5
- package/cjs/menu/menu-item-checkbox.cjs +8 -8
- package/cjs/menu/menu-item-radio.cjs +6 -6
- package/cjs/menu/menu-item.cjs +4 -4
- package/cjs/menu/menu-list.cjs +4 -4
- package/cjs/menu/menu-provider.cjs +9 -9
- package/cjs/menu/menu-store.cjs +9 -9
- package/cjs/menu/menu-store.d.cts +11 -27
- package/cjs/menu/menu-store.d.ts +11 -27
- package/cjs/menu/menu.cjs +72 -29
- package/cjs/menubar/menubar-provider.cjs +6 -6
- package/cjs/menubar/menubar-store.cjs +5 -5
- package/cjs/menubar/menubar-store.d.cts +4 -2
- package/cjs/menubar/menubar-store.d.ts +4 -2
- package/cjs/menubar/menubar.cjs +6 -6
- package/cjs/popover/popover-provider.cjs +5 -5
- package/cjs/popover/popover-store.cjs +5 -5
- package/cjs/popover/popover-store.d.cts +4 -2
- package/cjs/popover/popover-store.d.ts +4 -2
- package/cjs/popover/popover.cjs +9 -9
- package/cjs/portal/portal.cjs +2 -2
- package/cjs/radio/radio-provider.cjs +5 -5
- package/cjs/radio/radio-store.cjs +5 -5
- package/cjs/radio/radio-store.d.cts +4 -2
- package/cjs/radio/radio-store.d.ts +4 -2
- package/cjs/radio/radio.cjs +4 -4
- package/cjs/select/select-context.d.cts +5 -5
- package/cjs/select/select-context.d.ts +5 -5
- package/cjs/select/select-item.cjs +3 -3
- package/cjs/select/select-list.cjs +4 -4
- package/cjs/select/select-popover.cjs +12 -12
- package/cjs/select/select-provider.cjs +8 -8
- package/cjs/select/select-renderer.cjs +7 -7
- package/cjs/select/select-store.cjs +8 -8
- package/cjs/select/select-store.d.cts +12 -12
- package/cjs/select/select-store.d.ts +12 -12
- package/cjs/tab/tab-panel.cjs +5 -5
- package/cjs/tab/tab-provider.cjs +5 -5
- package/cjs/tab/tab-store.cjs +5 -5
- package/cjs/tab/tab-store.d.cts +45 -0
- package/cjs/tab/tab-store.d.ts +45 -0
- package/cjs/tab/tab.cjs +3 -3
- package/cjs/toolbar/toolbar-container.cjs +6 -6
- package/cjs/toolbar/toolbar-input.cjs +4 -4
- package/cjs/toolbar/toolbar-item.cjs +4 -4
- package/cjs/toolbar/toolbar-provider.cjs +5 -5
- package/cjs/toolbar/toolbar-store.cjs +5 -5
- package/cjs/toolbar/toolbar-store.d.cts +4 -2
- package/cjs/toolbar/toolbar-store.d.ts +4 -2
- package/cjs/toolbar/toolbar.cjs +5 -5
- package/cjs/tooltip/tooltip-anchor.cjs +2 -2
- package/cjs/tooltip/tooltip-provider.cjs +7 -7
- package/cjs/tooltip/tooltip-store.cjs +7 -7
- package/cjs/tooltip/tooltip-store.d.cts +4 -2
- package/cjs/tooltip/tooltip-store.d.ts +4 -2
- package/cjs/tooltip/tooltip.cjs +11 -11
- package/cjs/utils/store.cjs +2 -2
- package/esm/__chunks/{XF5ITC6P.js → 4OZYHFMH.js} +3 -2
- package/esm/__chunks/{JSLLR7RC.js → 57VLL43X.js} +2 -2
- package/esm/__chunks/{2CW6UMKT.js → 5L7XBKAC.js} +2 -2
- package/esm/__chunks/{D42GAV4S.js → 6H3EJNCE.js} +1 -1
- package/esm/__chunks/{CRADASSQ.js → 6L5IUFNE.js} +2 -2
- package/esm/__chunks/{2N7L2ZZE.js → 6SB7F42L.js} +2 -2
- package/esm/__chunks/{QKWOT47C.js → 7X4DYKYU.js} +8 -2
- package/esm/__chunks/{HXL5CHAC.js → A3PM2ZVJ.js} +2 -2
- package/esm/__chunks/{ELWRSPQ7.js → A6ER4BO6.js} +2 -2
- package/esm/__chunks/{4KTUOVEM.js → DHHIMTTV.js} +2 -2
- package/esm/__chunks/{4AMOOZBQ.js → DKALGMO6.js} +1 -1
- package/esm/__chunks/{P3UZS6BC.js → DYLO4TTE.js} +3 -3
- package/esm/__chunks/{UNZQE6T7.js → EENTNM7A.js} +2 -2
- package/esm/__chunks/{ZETMAOTK.js → EZTAZGGV.js} +3 -3
- package/esm/__chunks/{LNLZDJD4.js → FWQLUQ4T.js} +2 -2
- package/esm/__chunks/{CDFXNOHN.js → GD2VG2KJ.js} +1 -1
- package/esm/__chunks/{SZD4L3WR.js → GJYUMUMT.js} +2 -2
- package/esm/__chunks/{5A2VZUUV.js → HDMIVTNE.js} +1 -1
- package/esm/__chunks/{BI7ZXWGY.js → IIVLUKKG.js} +1 -1
- package/esm/__chunks/{P2V6GHKM.js → IXZMWLUE.js} +2 -2
- package/esm/__chunks/{E3XM3D67.js → JPXNJYSO.js} +4 -2
- package/esm/__chunks/{AY3L6CB6.js → K5VQ2XTM.js} +2 -2
- package/esm/__chunks/{A7CE3X6M.js → KOKHD3Z3.js} +1 -1
- package/esm/__chunks/{7HYEBVZE.js → NYD53BDE.js} +3 -3
- package/esm/__chunks/{5PEPOQU7.js → P6VCQ6Q3.js} +2 -2
- package/esm/__chunks/{U7WGY7YX.js → PDVJHECS.js} +9 -25
- package/esm/__chunks/{2TCVF54Q.js → QCIQ4F64.js} +2 -2
- package/esm/__chunks/{JRUYDVPB.js → QEPSYGAQ.js} +26 -14
- package/esm/__chunks/{IVPCRN7Q.js → QUPVK46L.js} +2 -2
- package/esm/__chunks/{CVWFS4PP.js → SMM5JVLC.js} +1 -1
- package/esm/__chunks/{WBQC3LL4.js → SXPADS2D.js} +5 -3
- package/esm/__chunks/{BTTOLUHC.js → TZJDOU75.js} +1 -1
- package/esm/__chunks/{NR6NHF6H.js → UJUY6GAA.js} +1 -1
- package/esm/__chunks/{T2EXCD3L.js → UV2O3GRQ.js} +1 -1
- package/esm/__chunks/{2QSQGCHB.js → VZOR43YE.js} +1 -1
- package/esm/__chunks/{BONLQCKO.js → WEU2EOWJ.js} +2 -2
- package/esm/__chunks/{VVBJIO3T.js → XCRWZKAW.js} +1 -1
- package/esm/checkbox/checkbox-context.d.ts +5 -5
- package/esm/checkbox/checkbox-provider.js +2 -2
- package/esm/checkbox/checkbox-store.d.ts +6 -8
- package/esm/checkbox/checkbox-store.js +2 -2
- package/esm/checkbox/checkbox.js +2 -2
- package/esm/collection/collection-context.d.ts +19 -0
- package/esm/collection/collection-provider.d.ts +2 -4
- package/esm/collection/collection-provider.js +2 -2
- package/esm/collection/collection-renderer.d.ts +0 -1
- package/esm/collection/collection-renderer.js +2 -2
- package/esm/collection/collection-store.d.ts +10 -9
- package/esm/collection/collection-store.js +2 -2
- package/esm/combobox/combobox-context.d.ts +5 -5
- package/esm/combobox/combobox-group.js +32 -5
- package/esm/combobox/combobox-item.js +5 -3
- package/esm/combobox/combobox-list.js +3 -3
- package/esm/combobox/combobox-popover.js +9 -9
- package/esm/combobox/combobox-provider.js +7 -7
- package/esm/combobox/combobox-store.d.ts +8 -9
- package/esm/combobox/combobox-store.js +7 -7
- package/esm/composite/composite-container.js +2 -2
- package/esm/composite/composite-context.d.ts +5 -5
- package/esm/composite/composite-hover.d.ts +1 -0
- package/esm/composite/composite-item.js +2 -2
- package/esm/composite/composite-overflow-disclosure.js +2 -2
- package/esm/composite/composite-overflow-store.js +4 -4
- package/esm/composite/composite-overflow.js +8 -8
- package/esm/composite/composite-provider.d.ts +2 -4
- package/esm/composite/composite-provider.js +3 -3
- package/esm/composite/composite-renderer.d.ts +0 -1
- package/esm/composite/composite-renderer.js +3 -3
- package/esm/composite/composite-store.d.ts +10 -9
- package/esm/composite/composite-store.js +3 -3
- package/esm/composite/utils.d.ts +48 -0
- package/esm/dialog/dialog-backdrop.js +4 -4
- package/esm/dialog/dialog-provider.js +3 -3
- package/esm/dialog/dialog-store.d.ts +4 -2
- package/esm/dialog/dialog-store.js +3 -3
- package/esm/dialog/dialog.js +7 -7
- package/esm/disclosure/disclosure-content.js +2 -2
- package/esm/disclosure/disclosure-provider.js +2 -2
- package/esm/disclosure/disclosure-store.d.ts +8 -4
- package/esm/disclosure/disclosure-store.js +2 -2
- package/esm/form/form-checkbox.js +3 -3
- package/esm/form/form-context.d.ts +5 -5
- package/esm/form/form-provider.js +3 -3
- package/esm/form/form-radio.js +3 -3
- package/esm/form/form-store.d.ts +14 -12
- package/esm/form/form-store.js +3 -3
- package/esm/hovercard/hovercard-anchor.js +1 -1
- package/esm/hovercard/hovercard-provider.js +5 -5
- package/esm/hovercard/hovercard-store.d.ts +4 -2
- package/esm/hovercard/hovercard-store.js +5 -5
- package/esm/hovercard/hovercard.js +9 -9
- package/esm/menu/menu-bar-provider.js +5 -5
- package/esm/menu/menu-bar-store.js +4 -4
- package/esm/menu/menu-bar.js +5 -5
- package/esm/menu/menu-button.js +6 -3
- package/esm/menu/menu-context.d.ts +5 -5
- package/esm/menu/menu-item-checkbox.js +5 -5
- package/esm/menu/menu-item-radio.js +4 -4
- package/esm/menu/menu-item.js +3 -3
- package/esm/menu/menu-list.js +3 -3
- package/esm/menu/menu-provider.js +8 -8
- package/esm/menu/menu-store.d.ts +11 -27
- package/esm/menu/menu-store.js +8 -8
- package/esm/menu/menu.js +70 -27
- package/esm/menubar/menubar-provider.js +5 -5
- package/esm/menubar/menubar-store.d.ts +4 -2
- package/esm/menubar/menubar-store.js +4 -4
- package/esm/menubar/menubar.js +5 -5
- package/esm/popover/popover-provider.js +4 -4
- package/esm/popover/popover-store.d.ts +4 -2
- package/esm/popover/popover-store.js +4 -4
- package/esm/popover/popover.js +8 -8
- package/esm/portal/portal.js +1 -1
- package/esm/radio/radio-provider.js +4 -4
- package/esm/radio/radio-store.d.ts +4 -2
- package/esm/radio/radio-store.js +4 -4
- package/esm/radio/radio.js +3 -3
- package/esm/select/select-context.d.ts +5 -5
- package/esm/select/select-item.js +2 -2
- package/esm/select/select-list.js +3 -3
- package/esm/select/select-popover.js +9 -9
- package/esm/select/select-provider.js +7 -7
- package/esm/select/select-renderer.js +3 -3
- package/esm/select/select-store.d.ts +12 -12
- package/esm/select/select-store.js +7 -7
- package/esm/tab/tab-panel.js +3 -3
- package/esm/tab/tab-provider.js +4 -4
- package/esm/tab/tab-store.d.ts +45 -0
- package/esm/tab/tab-store.js +4 -4
- package/esm/tab/tab.js +2 -2
- package/esm/toolbar/toolbar-container.js +4 -4
- package/esm/toolbar/toolbar-input.js +3 -3
- package/esm/toolbar/toolbar-item.js +3 -3
- package/esm/toolbar/toolbar-provider.js +4 -4
- package/esm/toolbar/toolbar-store.d.ts +4 -2
- package/esm/toolbar/toolbar-store.js +4 -4
- package/esm/toolbar/toolbar.js +4 -4
- package/esm/tooltip/tooltip-anchor.js +1 -1
- package/esm/tooltip/tooltip-provider.js +6 -6
- package/esm/tooltip/tooltip-store.d.ts +4 -2
- package/esm/tooltip/tooltip-store.js +6 -6
- package/esm/tooltip/tooltip.js +9 -9
- package/esm/utils/store.js +1 -1
- package/package.json +2 -2
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useHovercardStoreProps
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./A3PM2ZVJ.js";
|
|
5
5
|
import {
|
|
6
6
|
useStore,
|
|
7
7
|
useStoreProps
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./4OZYHFMH.js";
|
|
9
9
|
|
|
10
10
|
// src/tooltip/tooltip-store.ts
|
|
11
11
|
import * as Core from "@ariakit/core/tooltip/tooltip-store";
|
|
@@ -133,9 +133,10 @@ var usePortal = createHook(
|
|
|
133
133
|
if (!isFocusEventOutside(event))
|
|
134
134
|
return;
|
|
135
135
|
const focusing = event.type === "focusin";
|
|
136
|
-
if (focusing)
|
|
137
|
-
return restoreFocusIn(portalNode);
|
|
138
136
|
cancelAnimationFrame(raf);
|
|
137
|
+
if (focusing) {
|
|
138
|
+
return restoreFocusIn(portalNode);
|
|
139
|
+
}
|
|
139
140
|
raf = requestAnimationFrame(() => {
|
|
140
141
|
disableFocusIn(portalNode, true);
|
|
141
142
|
});
|
|
@@ -143,6 +144,7 @@ var usePortal = createHook(
|
|
|
143
144
|
portalNode.addEventListener("focusin", onFocus, true);
|
|
144
145
|
portalNode.addEventListener("focusout", onFocus, true);
|
|
145
146
|
return () => {
|
|
147
|
+
cancelAnimationFrame(raf);
|
|
146
148
|
portalNode.removeEventListener("focusin", onFocus, true);
|
|
147
149
|
portalNode.removeEventListener("focusout", onFocus, true);
|
|
148
150
|
};
|
|
@@ -10,14 +10,14 @@ import {
|
|
|
10
10
|
} from "./W76OTZCC.js";
|
|
11
11
|
import {
|
|
12
12
|
useCompositeStoreProps
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./A6ER4BO6.js";
|
|
14
14
|
import {
|
|
15
15
|
useHovercardStoreProps
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./A3PM2ZVJ.js";
|
|
17
17
|
import {
|
|
18
18
|
useStore,
|
|
19
19
|
useStoreProps
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./4OZYHFMH.js";
|
|
21
21
|
import {
|
|
22
22
|
useUpdateEffect
|
|
23
23
|
} from "./6O5OEQGF.js";
|
|
@@ -22,7 +22,7 @@ import {
|
|
|
22
22
|
} from "./3ORBWXWF.js";
|
|
23
23
|
import {
|
|
24
24
|
useStoreState
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./4OZYHFMH.js";
|
|
26
26
|
import {
|
|
27
27
|
useBooleanEvent,
|
|
28
28
|
useEvent,
|
|
@@ -220,7 +220,7 @@ var useCompositeItem = createHook(
|
|
|
220
220
|
return;
|
|
221
221
|
if (isEditableElement(event.currentTarget))
|
|
222
222
|
return;
|
|
223
|
-
if (!baseElement2)
|
|
223
|
+
if (!(baseElement2 == null ? void 0 : baseElement2.isConnected))
|
|
224
224
|
return;
|
|
225
225
|
hasFocusedComposite.current = true;
|
|
226
226
|
const fromComposite = event.relatedTarget === baseElement2 || isItem(store, event.relatedTarget);
|
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
DialogBackdrop
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./57VLL43X.js";
|
|
5
5
|
import {
|
|
6
6
|
disableTree,
|
|
7
7
|
disableTreeOutside
|
|
8
8
|
} from "./CLF4PQ7T.js";
|
|
9
|
-
import {
|
|
10
|
-
disableAccessibilityTreeOutside
|
|
11
|
-
} from "./BULCTPRV.js";
|
|
12
9
|
import {
|
|
13
10
|
usePreventBodyScroll
|
|
14
11
|
} from "./6BJGLK2C.js";
|
|
@@ -36,11 +33,11 @@ import {
|
|
|
36
33
|
} from "./UYRJLDVS.js";
|
|
37
34
|
import {
|
|
38
35
|
usePortal
|
|
39
|
-
} from "./
|
|
36
|
+
} from "./JPXNJYSO.js";
|
|
40
37
|
import {
|
|
41
38
|
isHidden,
|
|
42
39
|
useDisclosureContent
|
|
43
|
-
} from "./
|
|
40
|
+
} from "./KOKHD3Z3.js";
|
|
44
41
|
import {
|
|
45
42
|
DialogDescriptionContext,
|
|
46
43
|
DialogHeadingContext,
|
|
@@ -57,10 +54,10 @@ import {
|
|
|
57
54
|
} from "./3ORBWXWF.js";
|
|
58
55
|
import {
|
|
59
56
|
useDialogStore
|
|
60
|
-
} from "./
|
|
57
|
+
} from "./6SB7F42L.js";
|
|
61
58
|
import {
|
|
62
59
|
useStoreState
|
|
63
|
-
} from "./
|
|
60
|
+
} from "./4OZYHFMH.js";
|
|
64
61
|
import {
|
|
65
62
|
useBooleanEvent,
|
|
66
63
|
useEvent,
|
|
@@ -244,13 +241,9 @@ var useDialog = createHook(
|
|
|
244
241
|
};
|
|
245
242
|
}, [store, mounted]);
|
|
246
243
|
}
|
|
247
|
-
const shouldDisableAccessibilityTree = modal || // Usually, we only want to disable the accessibility tree outside if the
|
|
248
|
-
// dialog is a modal. But the Portal component can't preserve the tab
|
|
249
|
-
// order on Safari/VoiceOver. By allowing only the dialog/portal to be
|
|
250
|
-
// accessible, we provide a similar tab order flow. We don't need to
|
|
251
|
-
// disable pointer events because it's just for screen readers.
|
|
252
|
-
portal && preserveTabOrder && isSafari();
|
|
253
244
|
useEffect(() => {
|
|
245
|
+
if (!modal)
|
|
246
|
+
return;
|
|
254
247
|
if (!mounted)
|
|
255
248
|
return;
|
|
256
249
|
if (!domReady)
|
|
@@ -258,13 +251,11 @@ var useDialog = createHook(
|
|
|
258
251
|
const dialog = ref.current;
|
|
259
252
|
if (!dialog)
|
|
260
253
|
return;
|
|
261
|
-
if (!shouldDisableAccessibilityTree)
|
|
262
|
-
return;
|
|
263
254
|
const existingDismiss = dialog.querySelector("[data-dialog-dismiss]");
|
|
264
255
|
if (existingDismiss)
|
|
265
256
|
return;
|
|
266
257
|
return prependHiddenDismiss(dialog, store.hide);
|
|
267
|
-
}, [store, mounted, domReady
|
|
258
|
+
}, [store, modal, mounted, domReady]);
|
|
268
259
|
useSafeLayoutEffect(() => {
|
|
269
260
|
if (open)
|
|
270
261
|
return;
|
|
@@ -300,26 +291,19 @@ var useDialog = createHook(
|
|
|
300
291
|
...persistentElements,
|
|
301
292
|
...nestedDialogs.map((dialog2) => dialog2.getState().contentElement)
|
|
302
293
|
];
|
|
303
|
-
if (!shouldDisableAccessibilityTree) {
|
|
304
|
-
return markTreeOutside(id, [disclosureElement, ...allElements]);
|
|
305
|
-
}
|
|
306
294
|
if (modal) {
|
|
307
295
|
return chain(
|
|
308
296
|
markTreeOutside(id, allElements),
|
|
309
297
|
disableTreeOutside(id, allElements)
|
|
310
298
|
);
|
|
311
299
|
}
|
|
312
|
-
return
|
|
313
|
-
markTreeOutside(id, [disclosureElement, ...allElements]),
|
|
314
|
-
disableAccessibilityTreeOutside(id, allElements)
|
|
315
|
-
);
|
|
300
|
+
return markTreeOutside(id, [disclosureElement, ...allElements]);
|
|
316
301
|
}, [
|
|
317
302
|
id,
|
|
318
303
|
store,
|
|
319
304
|
canTakeTreeSnapshot,
|
|
320
305
|
getPersistentElementsProp,
|
|
321
306
|
nestedDialogs,
|
|
322
|
-
shouldDisableAccessibilityTree,
|
|
323
307
|
modal
|
|
324
308
|
]);
|
|
325
309
|
const mayAutoFocusOnShow = !!autoFocusOnShow;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useCompositeStoreProps
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./A6ER4BO6.js";
|
|
5
5
|
import {
|
|
6
6
|
useStore,
|
|
7
7
|
useStoreProps
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./4OZYHFMH.js";
|
|
9
9
|
|
|
10
10
|
// src/radio/radio-store.ts
|
|
11
11
|
import * as Core from "@ariakit/core/radio/radio-store";
|
|
@@ -10,7 +10,7 @@ import {
|
|
|
10
10
|
} from "./G6ONQ5EH.js";
|
|
11
11
|
import {
|
|
12
12
|
useCompositeItem
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./P6VCQ6Q3.js";
|
|
14
14
|
import {
|
|
15
15
|
createElement,
|
|
16
16
|
createHook,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
} from "./3ORBWXWF.js";
|
|
19
19
|
import {
|
|
20
20
|
useStoreState
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./4OZYHFMH.js";
|
|
22
22
|
import {
|
|
23
23
|
useBooleanEvent,
|
|
24
24
|
useEvent
|
|
@@ -63,12 +63,14 @@ var useMenuItem = createHook(
|
|
|
63
63
|
store,
|
|
64
64
|
hideOnClick = true,
|
|
65
65
|
preventScrollOnKeyDown = true,
|
|
66
|
-
focusOnHover
|
|
66
|
+
focusOnHover,
|
|
67
|
+
blurOnHoverEnd
|
|
67
68
|
} = _b, props = __objRest(_b, [
|
|
68
69
|
"store",
|
|
69
70
|
"hideOnClick",
|
|
70
71
|
"preventScrollOnKeyDown",
|
|
71
|
-
"focusOnHover"
|
|
72
|
+
"focusOnHover",
|
|
73
|
+
"blurOnHoverEnd"
|
|
72
74
|
]);
|
|
73
75
|
const menuContext = useMenuScopedContext(true);
|
|
74
76
|
const menubarContext = useMenubarScopedContext();
|
|
@@ -112,27 +114,37 @@ var useMenuItem = createHook(
|
|
|
112
114
|
props = useCompositeHover(__spreadProps(__spreadValues({
|
|
113
115
|
store
|
|
114
116
|
}, props), {
|
|
115
|
-
focusOnHover
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
return
|
|
117
|
+
focusOnHover(event) {
|
|
118
|
+
const getFocusOnHover = () => {
|
|
119
|
+
if (typeof focusOnHover === "function")
|
|
120
|
+
return focusOnHover(event);
|
|
121
|
+
if (focusOnHover != null)
|
|
122
|
+
return focusOnHover;
|
|
123
|
+
return true;
|
|
124
|
+
};
|
|
125
|
+
if (!store)
|
|
126
|
+
return false;
|
|
127
|
+
if (!getFocusOnHover())
|
|
128
|
+
return false;
|
|
129
|
+
const { baseElement, items } = store.getState();
|
|
122
130
|
if (isWithinMenu) {
|
|
123
131
|
if (event.currentTarget.hasAttribute("aria-expanded")) {
|
|
124
132
|
event.currentTarget.focus();
|
|
125
133
|
}
|
|
126
134
|
return true;
|
|
127
135
|
}
|
|
128
|
-
if (!store)
|
|
129
|
-
return false;
|
|
130
|
-
const { baseElement, items } = store.getState();
|
|
131
136
|
if (menuHasFocus(baseElement, items, event.currentTarget)) {
|
|
132
137
|
event.currentTarget.focus();
|
|
133
138
|
return true;
|
|
134
139
|
}
|
|
135
140
|
return false;
|
|
141
|
+
},
|
|
142
|
+
blurOnHoverEnd(event) {
|
|
143
|
+
if (typeof blurOnHoverEnd === "function")
|
|
144
|
+
return blurOnHoverEnd(event);
|
|
145
|
+
if (blurOnHoverEnd != null)
|
|
146
|
+
return blurOnHoverEnd;
|
|
147
|
+
return isWithinMenu;
|
|
136
148
|
}
|
|
137
149
|
}));
|
|
138
150
|
return props;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useCompositeStoreProps
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./A6ER4BO6.js";
|
|
5
5
|
import {
|
|
6
6
|
useStore
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./4OZYHFMH.js";
|
|
8
8
|
|
|
9
9
|
// src/toolbar/toolbar-store.ts
|
|
10
10
|
import * as Core from "@ariakit/core/toolbar/toolbar-store";
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import {
|
|
3
3
|
createDialogComponent,
|
|
4
4
|
useDialog
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./PDVJHECS.js";
|
|
6
6
|
import {
|
|
7
7
|
PopoverScopedContextProvider,
|
|
8
8
|
usePopoverProviderContext
|
|
@@ -32,6 +32,7 @@ import {
|
|
|
32
32
|
autoUpdate,
|
|
33
33
|
computePosition,
|
|
34
34
|
flip,
|
|
35
|
+
limitShift,
|
|
35
36
|
offset,
|
|
36
37
|
shift,
|
|
37
38
|
size
|
|
@@ -112,7 +113,8 @@ function getShiftMiddleware(props) {
|
|
|
112
113
|
return shift({
|
|
113
114
|
mainAxis: props.slide,
|
|
114
115
|
crossAxis: props.overlap,
|
|
115
|
-
padding: props.overflowPadding
|
|
116
|
+
padding: props.overflowPadding,
|
|
117
|
+
limiter: limitShift()
|
|
116
118
|
});
|
|
117
119
|
}
|
|
118
120
|
function getSizeMiddleware(props) {
|
|
@@ -227,7 +229,7 @@ var usePopover = createHook(
|
|
|
227
229
|
const middleware = [
|
|
228
230
|
getOffsetMiddleware(arrowElement, { gutter, shift: shift2 }),
|
|
229
231
|
getFlipMiddleware({ flip: flip2, overflowPadding }),
|
|
230
|
-
getShiftMiddleware({ slide, overlap, overflowPadding }),
|
|
232
|
+
getShiftMiddleware({ slide, shift: shift2, overlap, overflowPadding }),
|
|
231
233
|
getArrowMiddleware(arrowElement, { arrowPadding }),
|
|
232
234
|
getSizeMiddleware({
|
|
233
235
|
sameWidth,
|
|
@@ -6,10 +6,10 @@ import {
|
|
|
6
6
|
} from "./YMV43K4F.js";
|
|
7
7
|
import {
|
|
8
8
|
usePopover
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./SXPADS2D.js";
|
|
10
10
|
import {
|
|
11
11
|
createDialogComponent
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./PDVJHECS.js";
|
|
13
13
|
import {
|
|
14
14
|
HovercardScopedContextProvider,
|
|
15
15
|
useHovercardProviderContext
|
|
@@ -12,8 +12,8 @@ import type { CheckboxStore } from "./checkbox-store.js";
|
|
|
12
12
|
* // Use the store...
|
|
13
13
|
* }
|
|
14
14
|
*/
|
|
15
|
-
export declare const useCheckboxContext: () => CheckboxStore<
|
|
16
|
-
export declare const useCheckboxScopedContext: (onlyScoped?: boolean) => CheckboxStore<
|
|
17
|
-
export declare const useCheckboxProviderContext: () => CheckboxStore<
|
|
18
|
-
export declare const CheckboxContextProvider: (props: import("react").ProviderProps<CheckboxStore<
|
|
19
|
-
export declare const CheckboxScopedContextProvider: (props: import("react").ProviderProps<CheckboxStore<
|
|
15
|
+
export declare const useCheckboxContext: () => CheckboxStore<import("@ariakit/core/checkbox/checkbox-store").CheckboxStoreValue> | undefined;
|
|
16
|
+
export declare const useCheckboxScopedContext: (onlyScoped?: boolean) => CheckboxStore<import("@ariakit/core/checkbox/checkbox-store").CheckboxStoreValue> | undefined;
|
|
17
|
+
export declare const useCheckboxProviderContext: () => CheckboxStore<import("@ariakit/core/checkbox/checkbox-store").CheckboxStoreValue> | undefined;
|
|
18
|
+
export declare const CheckboxContextProvider: (props: import("react").ProviderProps<CheckboxStore<import("@ariakit/core/checkbox/checkbox-store").CheckboxStoreValue> | undefined>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const CheckboxScopedContextProvider: (props: import("react").ProviderProps<CheckboxStore<import("@ariakit/core/checkbox/checkbox-store").CheckboxStoreValue> | undefined>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
} from "../__chunks/VPR2WHQV.js";
|
|
5
5
|
import {
|
|
6
6
|
useCheckboxStore
|
|
7
|
-
} from "../__chunks/
|
|
7
|
+
} from "../__chunks/IIVLUKKG.js";
|
|
8
8
|
import "../__chunks/3ORBWXWF.js";
|
|
9
|
-
import "../__chunks/
|
|
9
|
+
import "../__chunks/4OZYHFMH.js";
|
|
10
10
|
import "../__chunks/6O5OEQGF.js";
|
|
11
11
|
import "../__chunks/XM66DUTO.js";
|
|
12
12
|
import "../__chunks/4R3V3JGP.js";
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import * as Core from "@ariakit/core/checkbox/checkbox-store";
|
|
2
2
|
import type { PickRequired } from "@ariakit/core/utils/types";
|
|
3
3
|
import type { Store } from "../utils/store.js";
|
|
4
|
-
type Value = Core.CheckboxStoreValue;
|
|
5
4
|
export declare function useCheckboxStoreProps<T extends Core.CheckboxStore>(store: T, update: () => void, props: CheckboxStoreProps): T;
|
|
6
5
|
/**
|
|
7
6
|
* Creates a checkbox store.
|
|
@@ -12,12 +11,12 @@ export declare function useCheckboxStoreProps<T extends Core.CheckboxStore>(stor
|
|
|
12
11
|
* <Checkbox store={checkbox} />
|
|
13
12
|
* ```
|
|
14
13
|
*/
|
|
15
|
-
export declare function useCheckboxStore<T extends
|
|
14
|
+
export declare function useCheckboxStore<T extends CheckboxStoreValue = CheckboxStoreValue>(props: PickRequired<CheckboxStoreProps<T>, "value" | "defaultValue">): CheckboxStore<T>;
|
|
16
15
|
export declare function useCheckboxStore(props?: CheckboxStoreProps): CheckboxStore;
|
|
17
16
|
export type CheckboxStoreValue = Core.CheckboxStoreValue;
|
|
18
|
-
export type CheckboxStoreState<T extends
|
|
19
|
-
export type CheckboxStoreFunctions<T extends
|
|
20
|
-
export interface CheckboxStoreOptions<T extends
|
|
17
|
+
export type CheckboxStoreState<T extends CheckboxStoreValue = CheckboxStoreValue> = Core.CheckboxStoreState<T>;
|
|
18
|
+
export type CheckboxStoreFunctions<T extends CheckboxStoreValue = CheckboxStoreValue> = Core.CheckboxStoreFunctions<T>;
|
|
19
|
+
export interface CheckboxStoreOptions<T extends CheckboxStoreValue = CheckboxStoreValue> extends Core.CheckboxStoreOptions<T> {
|
|
21
20
|
/**
|
|
22
21
|
* A callback that gets called when the `value` state changes.
|
|
23
22
|
* @param value The new value.
|
|
@@ -28,8 +27,7 @@ export interface CheckboxStoreOptions<T extends Value = Value> extends Core.Chec
|
|
|
28
27
|
*/
|
|
29
28
|
setValue?: (value: CheckboxStoreState<T>["value"]) => void;
|
|
30
29
|
}
|
|
31
|
-
export interface CheckboxStoreProps<T extends
|
|
30
|
+
export interface CheckboxStoreProps<T extends CheckboxStoreValue = CheckboxStoreValue> extends CheckboxStoreOptions<T>, Core.CheckboxStoreProps<T> {
|
|
32
31
|
}
|
|
33
|
-
export interface CheckboxStore<T extends
|
|
32
|
+
export interface CheckboxStore<T extends CheckboxStoreValue = CheckboxStoreValue> extends CheckboxStoreFunctions<T>, Store<Core.CheckboxStore<T>> {
|
|
34
33
|
}
|
|
35
|
-
export {};
|
|
@@ -2,8 +2,8 @@
|
|
|
2
2
|
import {
|
|
3
3
|
useCheckboxStore,
|
|
4
4
|
useCheckboxStoreProps
|
|
5
|
-
} from "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
5
|
+
} from "../__chunks/IIVLUKKG.js";
|
|
6
|
+
import "../__chunks/4OZYHFMH.js";
|
|
7
7
|
import "../__chunks/6O5OEQGF.js";
|
|
8
8
|
import "../__chunks/XM66DUTO.js";
|
|
9
9
|
import "../__chunks/4R3V3JGP.js";
|
package/esm/checkbox/checkbox.js
CHANGED
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Checkbox,
|
|
4
4
|
useCheckbox
|
|
5
|
-
} from "../__chunks/
|
|
5
|
+
} from "../__chunks/6H3EJNCE.js";
|
|
6
6
|
import "../__chunks/VPR2WHQV.js";
|
|
7
7
|
import "../__chunks/6XBVQI3K.js";
|
|
8
8
|
import "../__chunks/NWCBQ4CV.js";
|
|
9
9
|
import "../__chunks/KK7H3W2B.js";
|
|
10
10
|
import "../__chunks/SHA3WOPI.js";
|
|
11
11
|
import "../__chunks/3ORBWXWF.js";
|
|
12
|
-
import "../__chunks/
|
|
12
|
+
import "../__chunks/4OZYHFMH.js";
|
|
13
13
|
import "../__chunks/6O5OEQGF.js";
|
|
14
14
|
import "../__chunks/XM66DUTO.js";
|
|
15
15
|
import "../__chunks/4R3V3JGP.js";
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import type { CollectionStore } from "./collection-store.js";
|
|
2
|
+
/**
|
|
3
|
+
* Returns the collection store from the nearest collection container.
|
|
4
|
+
* @example
|
|
5
|
+
* function CollectionItem() {
|
|
6
|
+
* const store = useCollectionContext();
|
|
7
|
+
*
|
|
8
|
+
* if (!store) {
|
|
9
|
+
* throw new Error("CollectionItem must be wrapped in CollectionProvider");
|
|
10
|
+
* }
|
|
11
|
+
*
|
|
12
|
+
* // Use the store...
|
|
13
|
+
* }
|
|
14
|
+
*/
|
|
15
|
+
export declare const useCollectionContext: () => CollectionStore<import("./collection-store.js").CollectionStoreItem> | undefined;
|
|
16
|
+
export declare const useCollectionScopedContext: (onlyScoped?: boolean) => CollectionStore<import("./collection-store.js").CollectionStoreItem> | undefined;
|
|
17
|
+
export declare const useCollectionProviderContext: () => CollectionStore<import("./collection-store.js").CollectionStoreItem> | undefined;
|
|
18
|
+
export declare const CollectionContextProvider: (props: import("react").ProviderProps<CollectionStore<import("./collection-store.js").CollectionStoreItem> | undefined>) => import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const CollectionScopedContextProvider: (props: import("react").ProviderProps<CollectionStore<import("./collection-store.js").CollectionStoreItem> | undefined>) => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import type { ReactElement, ReactNode } from "react";
|
|
2
2
|
import type { PickRequired } from "@ariakit/core/utils/types";
|
|
3
3
|
import type { CollectionStoreItem, CollectionStoreProps } from "./collection-store.js";
|
|
4
|
-
type Item = CollectionStoreItem;
|
|
5
4
|
/**
|
|
6
5
|
* Provides a collection store to CollectionItem components.
|
|
7
6
|
* @see https://ariakit.org/components/collection
|
|
@@ -14,9 +13,8 @@ type Item = CollectionStoreItem;
|
|
|
14
13
|
* </CollectionProvider>
|
|
15
14
|
* ```
|
|
16
15
|
*/
|
|
17
|
-
export declare function CollectionProvider<T extends
|
|
16
|
+
export declare function CollectionProvider<T extends CollectionStoreItem = CollectionStoreItem>(props: PickRequired<CollectionProviderProps<T>, "items" | "defaultItems">): ReactElement;
|
|
18
17
|
export declare function CollectionProvider(props?: CollectionProviderProps): ReactElement;
|
|
19
|
-
export interface CollectionProviderProps<T extends
|
|
18
|
+
export interface CollectionProviderProps<T extends CollectionStoreItem = CollectionStoreItem> extends CollectionStoreProps<T> {
|
|
20
19
|
children?: ReactNode;
|
|
21
20
|
}
|
|
22
|
-
export {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
useCollectionStore
|
|
4
|
-
} from "../__chunks/
|
|
4
|
+
} from "../__chunks/HDMIVTNE.js";
|
|
5
5
|
import {
|
|
6
6
|
CollectionContextProvider
|
|
7
7
|
} from "../__chunks/4UUKJZ4V.js";
|
|
8
8
|
import "../__chunks/3ORBWXWF.js";
|
|
9
|
-
import "../__chunks/
|
|
9
|
+
import "../__chunks/4OZYHFMH.js";
|
|
10
10
|
import "../__chunks/6O5OEQGF.js";
|
|
11
11
|
import "../__chunks/XM66DUTO.js";
|
|
12
12
|
import "../__chunks/4R3V3JGP.js";
|
|
@@ -62,7 +62,6 @@ export declare function useCollectionRenderer<T extends Item = any>({ store, ite
|
|
|
62
62
|
id?: string | undefined;
|
|
63
63
|
lang?: string | undefined;
|
|
64
64
|
nonce?: string | undefined;
|
|
65
|
-
placeholder?: string | undefined;
|
|
66
65
|
slot?: string | undefined;
|
|
67
66
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
68
67
|
style?: CSSProperties | undefined;
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
getCollectionRendererItem,
|
|
5
5
|
getCollectionRendererItemId,
|
|
6
6
|
useCollectionRenderer
|
|
7
|
-
} from "../__chunks/
|
|
7
|
+
} from "../__chunks/GD2VG2KJ.js";
|
|
8
8
|
import "../__chunks/4UUKJZ4V.js";
|
|
9
9
|
import "../__chunks/3ORBWXWF.js";
|
|
10
|
-
import "../__chunks/
|
|
10
|
+
import "../__chunks/4OZYHFMH.js";
|
|
11
11
|
import "../__chunks/6O5OEQGF.js";
|
|
12
12
|
import "../__chunks/XM66DUTO.js";
|
|
13
13
|
import "../__chunks/4R3V3JGP.js";
|