@ariakit/react-core 0.2.10 → 0.2.11
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 +28 -0
- package/cjs/__chunks/{XLXQVPCB.cjs → 2UFB2Z36.cjs} +24 -24
- package/cjs/__chunks/{Z3TKBZHL.cjs → 3CDRK2UT.cjs} +19 -19
- package/cjs/__chunks/{E7WI5NX3.cjs → 3OCFY7CV.cjs} +8 -8
- package/cjs/__chunks/{RHFHMA7V.cjs → 54R7ZGEM.cjs} +8 -8
- package/cjs/__chunks/{QNLWLTET.cjs → 5UCVOKTG.cjs} +10 -10
- package/cjs/__chunks/5VOPA6D3.cjs +17 -0
- package/cjs/__chunks/{FHX4GO67.cjs → 5WLTMVVQ.cjs} +5 -5
- package/cjs/__chunks/{7BSXU2OL.cjs → 622BTGVD.cjs} +6 -6
- package/cjs/__chunks/{F2RJFRP2.cjs → 63P5JKLZ.cjs} +6 -6
- package/cjs/__chunks/6MKUVCEN.cjs +36 -0
- package/cjs/__chunks/6OTNLVJI.cjs +185 -0
- package/cjs/__chunks/{2KYUOSJ4.cjs → 7WUTS26Y.cjs} +3 -3
- package/cjs/__chunks/{GET3PZI4.cjs → A764D2YK.cjs} +28 -28
- package/cjs/__chunks/{GLPDHAGY.cjs → AD4BY53T.cjs} +7 -7
- package/cjs/__chunks/{C5W4YO2W.cjs → BEGWNNXK.cjs} +8 -8
- package/cjs/__chunks/{4D7KCBQD.cjs → BNTTY6EA.cjs} +8 -8
- package/cjs/__chunks/BQZLBPPT.cjs +33 -0
- package/cjs/__chunks/{OKM7CARK.cjs → CE6EGWEH.cjs} +18 -18
- package/cjs/__chunks/CWY2PHPR.cjs +84 -0
- package/cjs/__chunks/{NAE74ZUF.cjs → DGSPHMOA.cjs} +6 -6
- package/cjs/__chunks/{FO43SNUQ.cjs → DIRRJVY5.cjs} +6 -6
- package/cjs/__chunks/{4CQBSK3W.cjs → ELOQI33M.cjs} +2 -2
- package/cjs/__chunks/{KQYBSO76.cjs → EQO3IFY4.cjs} +23 -31
- package/cjs/__chunks/{VBCPMROZ.cjs → ESIBWLXM.cjs} +10 -10
- package/cjs/__chunks/{GQUXK6V2.cjs → F4UT5TWU.cjs} +3 -3
- package/cjs/__chunks/{6Y7OJ66S.cjs → FLQEWPZR.cjs} +18 -18
- package/cjs/__chunks/{GXCVLZ7W.cjs → G6F4DPHM.cjs} +8 -8
- package/cjs/__chunks/{DIUUZQDC.cjs → GD2R4HJS.cjs} +10 -10
- package/cjs/__chunks/{SDW7WM6J.cjs → GHDSJPDP.cjs} +14 -14
- package/cjs/__chunks/{LBYC2WX6.cjs → GTZQOSRG.cjs} +10 -10
- package/cjs/__chunks/{CEDXB2ML.cjs → H76HM4AM.cjs} +11 -11
- package/cjs/__chunks/{ZEJ6SJAQ.cjs → HSS2CWT5.cjs} +3 -3
- package/cjs/__chunks/{HTXMZNNP.cjs → HUVFPCMZ.cjs} +8 -8
- package/cjs/__chunks/{EYNBXS3C.cjs → I4FGWKS7.cjs} +24 -24
- package/cjs/__chunks/{FIEVSSEV.cjs → I4JDDV3V.cjs} +17 -17
- package/cjs/__chunks/{QSYK4F2U.cjs → IXZRUZTM.cjs} +17 -17
- package/cjs/__chunks/{4JALWV3V.cjs → IY72JWXE.cjs} +8 -8
- package/cjs/__chunks/{PZBTPQEZ.cjs → JNS4G3MN.cjs} +49 -44
- package/cjs/__chunks/JPSESJ6Y.cjs +32 -0
- package/cjs/__chunks/{WKQDBSB7.cjs → KC75EM3D.cjs} +9 -9
- package/cjs/__chunks/{TEOWWOVH.cjs → LCJP3BHK.cjs} +15 -15
- package/cjs/__chunks/{DFJJN2WM.cjs → MAD3AOPL.cjs} +14 -14
- package/cjs/__chunks/MCXTUISZ.cjs +711 -0
- package/cjs/__chunks/{EE7FGSYL.cjs → N2KSMVA7.cjs} +11 -11
- package/cjs/__chunks/{GJ2WWSXI.cjs → NXDHPYNQ.cjs} +11 -11
- package/cjs/__chunks/{6AEXHJIC.cjs → OHQG6SR6.cjs} +9 -9
- package/cjs/__chunks/{6WLP7YXF.cjs → OSQTQ6OF.cjs} +16 -16
- package/cjs/__chunks/{ZEDBIWF2.cjs → P3RGUF6X.cjs} +43 -37
- package/cjs/__chunks/{DFOWRKWT.cjs → PH57JDIM.cjs} +12 -12
- package/cjs/__chunks/{XIQNHQGW.cjs → PHGHRT2Q.cjs} +14 -14
- package/cjs/__chunks/{TO7FN64N.cjs → Q5EWS32Z.cjs} +11 -11
- package/cjs/__chunks/{ZKPH2VTW.cjs → QR3ATHWU.cjs} +7 -7
- package/cjs/__chunks/{7KKRNI4T.cjs → RA27OSF6.cjs} +4 -4
- package/cjs/__chunks/{NTZOVT4I.cjs → RSID6YP2.cjs} +8 -8
- package/cjs/__chunks/{4AQRNZQ7.cjs → RXCUKHX3.cjs} +9 -9
- package/cjs/__chunks/{VQHQDEFP.cjs → SIVNE3PR.cjs} +24 -13
- package/cjs/__chunks/{RQ3E2DZB.cjs → SZTCN3SG.cjs} +13 -13
- package/cjs/__chunks/{OHOMAAYP.cjs → T23EIXNF.cjs} +8 -8
- package/cjs/__chunks/{DBGYOVEJ.cjs → TNMPOEZG.cjs} +6 -6
- package/cjs/__chunks/{HM3GZVEF.cjs → TQ2AADTY.cjs} +19 -19
- package/cjs/__chunks/{364WU3DX.cjs → UVTMAR7N.cjs} +14 -14
- package/cjs/__chunks/{ZH4AYXKM.cjs → VBRBBWCP.cjs} +15 -15
- package/cjs/__chunks/{UU6GKP2M.cjs → VDYEYEEN.cjs} +6 -6
- package/cjs/__chunks/{SG4GNYMD.cjs → VWNFXJXN.cjs} +23 -15
- package/cjs/__chunks/{MOOOVIIV.cjs → W6IHBXQD.cjs} +6 -6
- package/cjs/__chunks/{PCBWFI66.cjs → W7ZAKGYJ.cjs} +8 -8
- package/cjs/__chunks/{N6LDQVMC.cjs → WWIZUBSB.cjs} +14 -14
- package/cjs/__chunks/{YMIV6HNY.cjs → X44H72BI.cjs} +5 -5
- package/cjs/__chunks/{WZI5KRRI.cjs → XE2DJMCI.cjs} +3 -3
- package/cjs/__chunks/{G2UKCWYO.cjs → YMZPP75I.cjs} +8 -8
- package/cjs/__chunks/{UNFAA7SH.cjs → YPXV3X22.cjs} +19 -19
- package/cjs/__chunks/{HP2YFIDE.cjs → ZALBSXHW.cjs} +63 -35
- package/cjs/__chunks/ZECYRUVH.cjs +33 -0
- package/cjs/button/button.cjs +8 -8
- package/cjs/checkbox/checkbox-check.cjs +6 -6
- package/cjs/checkbox/checkbox-checked-context.cjs +1 -1
- package/cjs/checkbox/checkbox-store.cjs +6 -6
- package/cjs/checkbox/checkbox.cjs +9 -9
- package/cjs/collection/collection-context.cjs +1 -1
- package/cjs/collection/collection-item.cjs +6 -6
- package/cjs/collection/collection-renderer.cjs +18 -0
- package/cjs/collection/collection-renderer.d.ts +449 -0
- package/cjs/collection/collection-store.cjs +6 -6
- package/cjs/collection/collection.cjs +9 -9
- package/cjs/combobox/combobox-cancel.cjs +14 -14
- package/cjs/combobox/combobox-context.cjs +1 -1
- package/cjs/combobox/combobox-disclosure.cjs +17 -17
- package/cjs/combobox/combobox-group-label.cjs +10 -10
- package/cjs/combobox/combobox-group.cjs +10 -10
- package/cjs/combobox/combobox-item-value.cjs +9 -9
- package/cjs/combobox/combobox-item.cjs +25 -25
- package/cjs/combobox/combobox-list.cjs +8 -8
- package/cjs/combobox/combobox-popover.cjs +30 -30
- package/cjs/combobox/combobox-row.cjs +12 -12
- package/cjs/combobox/combobox-separator.cjs +12 -12
- package/cjs/combobox/combobox-store.cjs +15 -15
- package/cjs/combobox/combobox.cjs +68 -61
- package/cjs/command/command.cjs +7 -7
- package/cjs/composite/composite-container.cjs +8 -8
- package/cjs/composite/composite-context.cjs +3 -3
- package/cjs/composite/composite-context.d.ts +8 -4
- package/cjs/composite/composite-group-label.cjs +7 -7
- package/cjs/composite/composite-group.cjs +7 -7
- package/cjs/composite/composite-hover.cjs +7 -7
- package/cjs/composite/composite-input.cjs +6 -6
- package/cjs/composite/composite-item.cjs +11 -11
- package/cjs/composite/composite-overflow-disclosure.cjs +25 -25
- package/cjs/composite/composite-overflow-store.cjs +11 -11
- package/cjs/composite/composite-overflow.cjs +33 -33
- package/cjs/composite/composite-renderer.cjs +21 -0
- package/cjs/composite/composite-renderer.d.ts +317 -0
- package/cjs/composite/composite-row.cjs +7 -7
- package/cjs/composite/composite-separator.cjs +8 -8
- package/cjs/composite/composite-store.cjs +7 -7
- package/cjs/composite/composite-typeahead.cjs +7 -7
- package/cjs/composite/composite.cjs +8 -8
- package/cjs/composite/utils.cjs +1 -1
- package/cjs/dialog/dialog-backdrop.cjs +10 -10
- package/cjs/dialog/dialog-context.cjs +1 -1
- package/cjs/dialog/dialog-description.cjs +6 -6
- package/cjs/dialog/dialog-disclosure.cjs +10 -10
- package/cjs/dialog/dialog-dismiss.cjs +9 -9
- package/cjs/dialog/dialog-heading.cjs +7 -7
- package/cjs/dialog/dialog-store.cjs +7 -7
- package/cjs/dialog/dialog.cjs +23 -23
- package/cjs/dialog/utils/disable-accessibility-tree-outside.cjs +1 -1
- package/cjs/dialog/utils/disable-tree-outside.cjs +4 -4
- package/cjs/dialog/utils/is-backdrop.cjs +1 -1
- package/cjs/dialog/utils/mark-tree-outside.cjs +1 -1
- package/cjs/dialog/utils/orchestrate.cjs +1 -1
- package/cjs/dialog/utils/prepend-hidden-dismiss.cjs +1 -1
- package/cjs/dialog/utils/supports-inert.cjs +1 -1
- package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +6 -6
- package/cjs/dialog/utils/use-nested-dialogs.cjs +5 -5
- package/cjs/dialog/utils/use-prevent-body-scroll.cjs +6 -6
- package/cjs/dialog/utils/use-previous-mouse-down-ref.cjs +1 -1
- package/cjs/dialog/utils/use-root-dialog.cjs +5 -5
- package/cjs/dialog/utils/walk-tree-outside.cjs +1 -1
- package/cjs/disclosure/disclosure-content.cjs +6 -6
- package/cjs/disclosure/disclosure-store.cjs +6 -6
- package/cjs/disclosure/disclosure.cjs +9 -9
- package/cjs/focus-trap/focus-trap-region.cjs +14 -14
- package/cjs/focus-trap/focus-trap.cjs +7 -7
- package/cjs/focusable/focusable-container.cjs +6 -6
- package/cjs/focusable/focusable-context.cjs +1 -1
- package/cjs/focusable/focusable.cjs +6 -6
- package/cjs/form/form-checkbox.cjs +18 -18
- package/cjs/form/form-context.cjs +1 -1
- package/cjs/form/form-description.cjs +14 -14
- package/cjs/form/form-error.cjs +14 -14
- package/cjs/form/form-field.cjs +7 -7
- package/cjs/form/form-group-label.cjs +10 -10
- package/cjs/form/form-group.cjs +7 -7
- package/cjs/form/form-input.cjs +15 -15
- package/cjs/form/form-label.cjs +18 -18
- package/cjs/form/form-push.cjs +17 -17
- package/cjs/form/form-radio-group.cjs +12 -12
- package/cjs/form/form-radio.cjs +20 -20
- package/cjs/form/form-remove.cjs +14 -14
- package/cjs/form/form-reset.cjs +13 -13
- package/cjs/form/form-store.cjs +14 -14
- package/cjs/form/form-submit.cjs +13 -13
- package/cjs/form/form.cjs +17 -17
- package/cjs/group/group-label-context.cjs +1 -1
- package/cjs/group/group-label.cjs +6 -6
- package/cjs/group/group.cjs +6 -6
- package/cjs/heading/heading-context.cjs +1 -1
- package/cjs/heading/heading-level.cjs +1 -1
- package/cjs/heading/heading.cjs +6 -6
- package/cjs/hovercard/hovercard-anchor.cjs +7 -7
- package/cjs/hovercard/hovercard-arrow.cjs +9 -9
- package/cjs/hovercard/hovercard-description.cjs +8 -8
- package/cjs/hovercard/hovercard-disclosure.cjs +22 -22
- package/cjs/hovercard/hovercard-dismiss.cjs +11 -11
- package/cjs/hovercard/hovercard-heading.cjs +9 -9
- package/cjs/hovercard/hovercard-store.cjs +9 -9
- package/cjs/hovercard/hovercard.cjs +25 -25
- package/cjs/hovercard/utils/debug-polygon.cjs +1 -1
- package/cjs/hovercard/utils/polygon.cjs +1 -1
- package/cjs/index.cjs +1 -1
- package/cjs/menu/menu-arrow.cjs +9 -9
- package/cjs/menu/menu-bar-store.cjs +10 -10
- package/cjs/menu/menu-bar.cjs +14 -14
- package/cjs/menu/menu-button-arrow.cjs +10 -10
- package/cjs/menu/menu-button.cjs +32 -32
- package/cjs/menu/menu-context.cjs +1 -1
- package/cjs/menu/menu-description.cjs +11 -11
- package/cjs/menu/menu-dismiss.cjs +14 -14
- package/cjs/menu/menu-group-label.cjs +10 -10
- package/cjs/menu/menu-group.cjs +10 -10
- package/cjs/menu/menu-heading.cjs +12 -12
- package/cjs/menu/menu-item-check.cjs +10 -10
- package/cjs/menu/menu-item-checkbox.cjs +23 -23
- package/cjs/menu/menu-item-radio.cjs +22 -22
- package/cjs/menu/menu-item.cjs +14 -14
- package/cjs/menu/menu-list.cjs +12 -12
- package/cjs/menu/menu-separator.cjs +11 -11
- package/cjs/menu/menu-store.cjs +17 -17
- package/cjs/menu/menu.cjs +42 -42
- package/cjs/menu/utils.cjs +1 -1
- package/cjs/popover/popover-anchor.cjs +6 -6
- package/cjs/popover/popover-arrow-path.cjs +1 -1
- package/cjs/popover/popover-arrow.cjs +6 -6
- package/cjs/popover/popover-context.cjs +1 -1
- package/cjs/popover/popover-description.cjs +7 -7
- package/cjs/popover/popover-disclosure-arrow.cjs +6 -6
- package/cjs/popover/popover-disclosure.cjs +12 -12
- package/cjs/popover/popover-dismiss.cjs +10 -10
- package/cjs/popover/popover-heading.cjs +8 -8
- package/cjs/popover/popover-store.cjs +8 -8
- package/cjs/popover/popover.cjs +24 -24
- package/cjs/portal/portal-context.cjs +1 -1
- package/cjs/portal/portal.cjs +8 -8
- package/cjs/radio/radio-context.cjs +1 -1
- package/cjs/radio/radio-group.cjs +14 -14
- package/cjs/radio/radio-store.cjs +10 -10
- package/cjs/radio/radio.cjs +12 -12
- package/cjs/role/role.cjs +6 -6
- package/cjs/select/select-arrow.cjs +7 -7
- package/cjs/select/select-context.cjs +1 -1
- package/cjs/select/select-group-label.cjs +10 -10
- package/cjs/select/select-group.cjs +10 -10
- package/cjs/select/select-item-check.cjs +10 -10
- package/cjs/select/select-item.cjs +39 -38
- package/cjs/select/select-label.cjs +13 -13
- package/cjs/select/select-list.cjs +11 -11
- package/cjs/select/select-popover.cjs +33 -33
- package/cjs/select/select-renderer.cjs +110 -0
- package/cjs/select/select-renderer.d.ts +32 -0
- package/cjs/select/select-row.cjs +12 -12
- package/cjs/select/select-separator.cjs +11 -11
- package/cjs/select/select-store.cjs +15 -15
- package/cjs/select/select.cjs +31 -31
- package/cjs/separator/separator.cjs +6 -6
- package/cjs/tab/tab-context.cjs +1 -1
- package/cjs/tab/tab-list.cjs +14 -14
- package/cjs/tab/tab-panel.cjs +21 -21
- package/cjs/tab/tab-store.cjs +13 -13
- package/cjs/tab/tab.cjs +19 -19
- package/cjs/toolbar/toolbar-container.cjs +18 -18
- package/cjs/toolbar/toolbar-context.cjs +1 -1
- package/cjs/toolbar/toolbar-input.cjs +18 -18
- package/cjs/toolbar/toolbar-item.cjs +12 -12
- package/cjs/toolbar/toolbar-separator.cjs +11 -11
- package/cjs/toolbar/toolbar-store.cjs +10 -10
- package/cjs/toolbar/toolbar.cjs +14 -14
- package/cjs/tooltip/tooltip-anchor.cjs +14 -14
- package/cjs/tooltip/tooltip-arrow.cjs +10 -10
- package/cjs/tooltip/tooltip-context.cjs +1 -1
- package/cjs/tooltip/tooltip-store.cjs +14 -14
- package/cjs/tooltip/tooltip.cjs +31 -31
- package/cjs/tsconfig.build.tsbuildinfo +1 -1
- package/cjs/utils/hooks.cjs +4 -4
- package/cjs/utils/misc.cjs +3 -3
- package/cjs/utils/store.cjs +5 -5
- package/cjs/utils/system.cjs +9 -5
- package/cjs/utils/system.d.ts +13 -4
- package/cjs/visually-hidden/visually-hidden.cjs +6 -6
- package/collection/collection-renderer/package.json +8 -0
- package/composite/composite-renderer/package.json +8 -0
- package/esm/__chunks/{SQCQXOYX.js → 235GG2QE.js} +9 -9
- package/esm/__chunks/{WYH7HZPL.js → 2NIRKFVH.js} +3 -3
- package/esm/__chunks/{LC6BW35W.js → 37OBPWF6.js} +2 -2
- package/esm/__chunks/{RU5SBKR3.js → 3LAWLNOX.js} +3 -3
- package/esm/__chunks/{OYQC776W.js → 43VDSLJP.js} +3 -3
- package/esm/__chunks/{TQ2K6WFI.js → 4GZAUH66.js} +4 -4
- package/esm/__chunks/{TZIIKRHF.js → 4PKIGBPJ.js} +1 -1
- package/esm/__chunks/{VV72RDTD.js → 4XWTU3WN.js} +5 -5
- package/esm/__chunks/{LIFXUQPU.js → 53MSBYTF.js} +5 -5
- package/esm/__chunks/{2XOPWNSQ.js → 54LBRJ55.js} +2 -2
- package/esm/__chunks/{KF3PP2P3.js → 5I6BQS7D.js} +3 -3
- package/esm/__chunks/{ZTW46EPJ.js → 5QJYOWLQ.js} +3 -3
- package/esm/__chunks/{VSM5JGQO.js → 5WJWIOBD.js} +2 -2
- package/esm/__chunks/{KQUSQ6BH.js → 6DS7ZDWX.js} +2 -2
- package/esm/__chunks/{JQVGLAS2.js → 6FAQA4RZ.js} +3 -3
- package/esm/__chunks/{N2JKXTRW.js → 6FRHNZA6.js} +3 -3
- package/esm/__chunks/{EL4DJS34.js → 7DE4HW22.js} +5 -5
- package/esm/__chunks/{5NQLWI7E.js → 7PHM3O7I.js} +3 -3
- package/esm/__chunks/{ZZBJOUY4.js → AAVDGJD5.js} +10 -10
- package/esm/__chunks/{Y72RMTFY.js → AUUE7U2H.js} +3 -3
- package/esm/__chunks/{N36XUJ4I.js → BB7NHN6A.js} +4 -4
- package/esm/__chunks/{FYZCYWPI.js → BHLCYMUN.js} +5 -5
- package/esm/__chunks/{77C2ITJF.js → BO7WPTZZ.js} +5 -5
- package/esm/__chunks/{PYB45PRS.js → CJI67A3R.js} +1 -1
- package/esm/__chunks/{UWUL6FFR.js → CP3U4HPL.js} +1 -1
- package/esm/__chunks/{P3IT4SS7.js → CTVLGQZG.js} +3 -3
- package/esm/__chunks/{QLHYK3GC.js → D3IXN5NP.js} +2 -2
- package/esm/__chunks/{XECTFJQS.js → DTAO6DRL.js} +21 -16
- package/esm/__chunks/{B2QL7O62.js → EJ3GIT5B.js} +3 -3
- package/esm/__chunks/{ZSRI7KJ2.js → F4XABKPL.js} +4 -4
- package/esm/__chunks/{USB5JBON.js → FHQZ2KRN.js} +2 -2
- package/esm/__chunks/{K4NEG23J.js → FL2AU7YJ.js} +2 -2
- package/esm/__chunks/{5OP64YHR.js → GMWLPVWD.js} +1 -1
- package/esm/__chunks/{EJLZ2L22.js → HGFTMLQ7.js} +18 -7
- package/esm/__chunks/{UGE3SLMW.js → HIJMOAZK.js} +15 -7
- package/esm/__chunks/{MO5Q5FB7.js → HRXPFA6C.js} +2 -2
- package/esm/__chunks/{QTPMBYCP.js → I3PXTXPI.js} +4 -4
- package/esm/__chunks/{GKH7N3JM.js → IYNN2ZO5.js} +3 -3
- package/esm/__chunks/{TAQP627X.js → IZVL3EAG.js} +2 -2
- package/esm/__chunks/{SN2N5P2D.js → J7Q2EO23.js} +2 -2
- package/esm/__chunks/{QDYEK6IR.js → JFHRFFJJ.js} +3 -3
- package/esm/__chunks/{OTMCQXXR.js → LDJKN2ZV.js} +4 -4
- package/esm/__chunks/{E32RAHMA.js → LKA5SFXV.js} +38 -10
- package/esm/__chunks/{ENZR4N3P.js → LL3AE4N4.js} +5 -5
- package/esm/__chunks/{IZJZD7LX.js → LOJQ7RPL.js} +3 -3
- package/esm/__chunks/{WMY7U3GW.js → LVMO37QD.js} +2 -2
- package/esm/__chunks/{HE7AYLA4.js → MEP5WKMB.js} +4 -4
- package/esm/__chunks/{YNUPNUID.js → MYID4V27.js} +3 -3
- package/esm/__chunks/{7GCARSHZ.js → NQJBHION.js} +20 -8
- package/esm/__chunks/{DJLHFG5J.js → NRNLVKYP.js} +7 -7
- package/esm/__chunks/{EUD77B6Z.js → O6CV6VRM.js} +4 -4
- package/esm/__chunks/{J4BKICPJ.js → OEA63YXU.js} +1 -1
- package/esm/__chunks/{ACET4OGQ.js → OK4RCQBZ.js} +3 -3
- package/esm/__chunks/{WQIYBPAY.js → P4RGQGTG.js} +4 -4
- package/esm/__chunks/{2NDM3R77.js → P634EF77.js} +5 -5
- package/esm/__chunks/PE45DLWW.js +711 -0
- package/esm/__chunks/{5DAYRSML.js → QHXLY5NM.js} +4 -4
- package/esm/__chunks/{NW5OKUH5.js → ROOVOZJF.js} +2 -2
- package/esm/__chunks/{FK3LYGHG.js → RY6ZOIHR.js} +4 -4
- package/esm/__chunks/{XJM2RD5W.js → SAES3ZFU.js} +27 -21
- package/esm/__chunks/{B3A7CWGN.js → SRHDWRFI.js} +2 -2
- package/esm/__chunks/{XGUNEAFA.js → SWPAMWUW.js} +3 -3
- package/esm/__chunks/{TWSODZ43.js → TALTYI5G.js} +3 -3
- package/esm/__chunks/TLXPUO3M.js +185 -0
- package/esm/__chunks/{VTOOL4S4.js → W5P7IKOU.js} +4 -4
- package/esm/__chunks/{WFPVIVLA.js → WHEEIXMF.js} +3 -3
- package/esm/__chunks/{Z3X3QN6P.js → WJ37OVG2.js} +7 -3
- package/esm/__chunks/{3O3K4H2I.js → WW4JQU6W.js} +2 -2
- package/esm/__chunks/{3NSZ5Q7K.js → X3U3KZAU.js} +7 -15
- package/esm/__chunks/{SHUCKX4V.js → YAQX4NUA.js} +3 -3
- package/esm/__chunks/{5AXDCOCY.js → YIFTA7US.js} +3 -3
- package/esm/__chunks/{AF6MSKOW.js → YSASCXX3.js} +3 -3
- package/esm/__chunks/{XPRWPHQV.js → YUYDGNXZ.js} +5 -5
- package/esm/button/button.js +7 -7
- package/esm/checkbox/checkbox-check.js +5 -5
- package/esm/checkbox/checkbox-checked-context.js +1 -1
- package/esm/checkbox/checkbox-store.js +5 -5
- package/esm/checkbox/checkbox.js +8 -8
- package/esm/collection/collection-context.js +1 -1
- package/esm/collection/collection-item.js +5 -5
- package/esm/collection/collection-renderer.d.ts +449 -0
- package/esm/collection/collection-renderer.js +18 -0
- package/esm/collection/collection-store.js +5 -5
- package/esm/collection/collection.js +4 -4
- package/esm/combobox/combobox-cancel.js +7 -7
- package/esm/combobox/combobox-context.js +1 -1
- package/esm/combobox/combobox-disclosure.js +9 -9
- package/esm/combobox/combobox-group-label.js +6 -6
- package/esm/combobox/combobox-group.js +6 -6
- package/esm/combobox/combobox-item-value.js +4 -4
- package/esm/combobox/combobox-item.js +11 -11
- package/esm/combobox/combobox-list.js +7 -7
- package/esm/combobox/combobox-popover.js +24 -24
- package/esm/combobox/combobox-row.js +6 -6
- package/esm/combobox/combobox-separator.js +7 -7
- package/esm/combobox/combobox-store.js +9 -9
- package/esm/combobox/combobox.js +42 -35
- package/esm/command/command.js +6 -6
- package/esm/composite/composite-container.js +7 -7
- package/esm/composite/composite-context.d.ts +8 -4
- package/esm/composite/composite-context.js +2 -2
- package/esm/composite/composite-group-label.js +6 -6
- package/esm/composite/composite-group.js +6 -6
- package/esm/composite/composite-hover.js +6 -6
- package/esm/composite/composite-input.js +5 -5
- package/esm/composite/composite-item.js +10 -10
- package/esm/composite/composite-overflow-disclosure.js +15 -15
- package/esm/composite/composite-overflow-store.js +7 -7
- package/esm/composite/composite-overflow.js +23 -23
- package/esm/composite/composite-renderer.d.ts +317 -0
- package/esm/composite/composite-renderer.js +21 -0
- package/esm/composite/composite-row.js +6 -6
- package/esm/composite/composite-separator.js +7 -7
- package/esm/composite/composite-store.js +6 -6
- package/esm/composite/composite-typeahead.js +6 -6
- package/esm/composite/composite.js +7 -7
- package/esm/composite/utils.js +1 -1
- package/esm/dialog/dialog-backdrop.js +9 -9
- package/esm/dialog/dialog-context.js +1 -1
- package/esm/dialog/dialog-description.js +5 -5
- package/esm/dialog/dialog-disclosure.js +9 -9
- package/esm/dialog/dialog-dismiss.js +8 -8
- package/esm/dialog/dialog-heading.js +6 -6
- package/esm/dialog/dialog-store.js +6 -6
- package/esm/dialog/dialog.js +22 -22
- package/esm/dialog/utils/disable-accessibility-tree-outside.js +1 -1
- package/esm/dialog/utils/disable-tree-outside.js +3 -3
- package/esm/dialog/utils/is-backdrop.js +1 -1
- package/esm/dialog/utils/mark-tree-outside.js +1 -1
- package/esm/dialog/utils/orchestrate.js +1 -1
- package/esm/dialog/utils/prepend-hidden-dismiss.js +1 -1
- package/esm/dialog/utils/supports-inert.js +1 -1
- package/esm/dialog/utils/use-hide-on-interact-outside.js +5 -5
- package/esm/dialog/utils/use-nested-dialogs.js +4 -4
- package/esm/dialog/utils/use-prevent-body-scroll.js +5 -5
- package/esm/dialog/utils/use-previous-mouse-down-ref.js +1 -1
- package/esm/dialog/utils/use-root-dialog.js +4 -4
- package/esm/dialog/utils/walk-tree-outside.js +1 -1
- package/esm/disclosure/disclosure-content.js +5 -5
- package/esm/disclosure/disclosure-store.js +5 -5
- package/esm/disclosure/disclosure.js +8 -8
- package/esm/focus-trap/focus-trap-region.js +6 -6
- package/esm/focus-trap/focus-trap.js +6 -6
- package/esm/focusable/focusable-container.js +5 -5
- package/esm/focusable/focusable-context.js +1 -1
- package/esm/focusable/focusable.js +5 -5
- package/esm/form/form-checkbox.js +11 -11
- package/esm/form/form-context.js +1 -1
- package/esm/form/form-description.js +5 -5
- package/esm/form/form-error.js +5 -5
- package/esm/form/form-field.js +6 -6
- package/esm/form/form-group-label.js +5 -5
- package/esm/form/form-group.js +6 -6
- package/esm/form/form-input.js +7 -7
- package/esm/form/form-label.js +5 -5
- package/esm/form/form-push.js +8 -8
- package/esm/form/form-radio-group.js +6 -6
- package/esm/form/form-radio.js +12 -12
- package/esm/form/form-remove.js +7 -7
- package/esm/form/form-reset.js +7 -7
- package/esm/form/form-store.js +5 -5
- package/esm/form/form-submit.js +7 -7
- package/esm/form/form.js +4 -4
- package/esm/group/group-label-context.js +1 -1
- package/esm/group/group-label.js +5 -5
- package/esm/group/group.js +5 -5
- package/esm/heading/heading-context.js +1 -1
- package/esm/heading/heading-level.js +1 -1
- package/esm/heading/heading.js +5 -5
- package/esm/hovercard/hovercard-anchor.js +6 -6
- package/esm/hovercard/hovercard-arrow.js +5 -5
- package/esm/hovercard/hovercard-description.js +7 -7
- package/esm/hovercard/hovercard-disclosure.js +10 -10
- package/esm/hovercard/hovercard-dismiss.js +10 -10
- package/esm/hovercard/hovercard-heading.js +8 -8
- package/esm/hovercard/hovercard-store.js +8 -8
- package/esm/hovercard/hovercard.js +24 -24
- package/esm/hovercard/utils/debug-polygon.js +1 -1
- package/esm/hovercard/utils/polygon.js +1 -1
- package/esm/index.js +1 -1
- package/esm/menu/menu-arrow.js +5 -5
- package/esm/menu/menu-bar-store.js +6 -6
- package/esm/menu/menu-bar.js +7 -7
- package/esm/menu/menu-button-arrow.js +5 -5
- package/esm/menu/menu-button.js +18 -18
- package/esm/menu/menu-context.js +1 -1
- package/esm/menu/menu-description.js +7 -7
- package/esm/menu/menu-dismiss.js +10 -10
- package/esm/menu/menu-group-label.js +6 -6
- package/esm/menu/menu-group.js +6 -6
- package/esm/menu/menu-heading.js +8 -8
- package/esm/menu/menu-item-check.js +5 -5
- package/esm/menu/menu-item-checkbox.js +15 -15
- package/esm/menu/menu-item-radio.js +14 -14
- package/esm/menu/menu-item.js +13 -13
- package/esm/menu/menu-list.js +11 -11
- package/esm/menu/menu-separator.js +7 -7
- package/esm/menu/menu-store.js +10 -10
- package/esm/menu/menu.js +29 -29
- package/esm/menu/utils.js +1 -1
- package/esm/popover/popover-anchor.js +5 -5
- package/esm/popover/popover-arrow-path.js +1 -1
- package/esm/popover/popover-arrow.js +5 -5
- package/esm/popover/popover-context.js +1 -1
- package/esm/popover/popover-description.js +6 -6
- package/esm/popover/popover-disclosure-arrow.js +5 -5
- package/esm/popover/popover-disclosure.js +11 -11
- package/esm/popover/popover-dismiss.js +9 -9
- package/esm/popover/popover-heading.js +7 -7
- package/esm/popover/popover-store.js +7 -7
- package/esm/popover/popover.js +23 -23
- package/esm/portal/portal-context.js +1 -1
- package/esm/portal/portal.js +7 -7
- package/esm/radio/radio-context.js +1 -1
- package/esm/radio/radio-group.js +7 -7
- package/esm/radio/radio-store.js +6 -6
- package/esm/radio/radio.js +11 -11
- package/esm/role/role.js +5 -5
- package/esm/select/select-arrow.js +6 -6
- package/esm/select/select-context.js +1 -1
- package/esm/select/select-group-label.js +6 -6
- package/esm/select/select-group.js +6 -6
- package/esm/select/select-item-check.js +5 -5
- package/esm/select/select-item.js +26 -25
- package/esm/select/select-label.js +4 -4
- package/esm/select/select-list.js +10 -10
- package/esm/select/select-popover.js +27 -27
- package/esm/select/select-renderer.d.ts +32 -0
- package/esm/select/select-renderer.js +110 -0
- package/esm/select/select-row.js +6 -6
- package/esm/select/select-separator.js +7 -7
- package/esm/select/select-store.js +9 -9
- package/esm/select/select.js +15 -15
- package/esm/separator/separator.js +5 -5
- package/esm/tab/tab-context.js +1 -1
- package/esm/tab/tab-list.js +7 -7
- package/esm/tab/tab-panel.js +9 -9
- package/esm/tab/tab-store.js +6 -6
- package/esm/tab/tab.js +10 -10
- package/esm/toolbar/toolbar-container.js +12 -12
- package/esm/toolbar/toolbar-context.js +1 -1
- package/esm/toolbar/toolbar-input.js +12 -12
- package/esm/toolbar/toolbar-item.js +11 -11
- package/esm/toolbar/toolbar-separator.js +7 -7
- package/esm/toolbar/toolbar-store.js +6 -6
- package/esm/toolbar/toolbar.js +7 -7
- package/esm/tooltip/tooltip-anchor.js +6 -6
- package/esm/tooltip/tooltip-arrow.js +5 -5
- package/esm/tooltip/tooltip-context.js +1 -1
- package/esm/tooltip/tooltip-store.js +8 -8
- package/esm/tooltip/tooltip.js +24 -24
- package/esm/tsconfig.build.tsbuildinfo +1 -1
- package/esm/utils/hooks.js +3 -3
- package/esm/utils/misc.js +2 -2
- package/esm/utils/store.js +4 -4
- package/esm/utils/system.d.ts +13 -4
- package/esm/utils/system.js +10 -6
- package/esm/visually-hidden/visually-hidden.js +5 -5
- package/package.json +14 -2
- package/select/select-renderer/package.json +8 -0
- package/cjs/__chunks/B4IMQMNP.cjs +0 -36
- package/cjs/__chunks/N6BZRQWT.cjs +0 -32
- package/cjs/__chunks/NVMBKFRB.cjs +0 -13
- package/cjs/__chunks/O3Z4C76T.cjs +0 -72
- package/cjs/__chunks/V4OMCLAW.cjs +0 -33
- package/cjs/__chunks/XI6W2T6N.cjs +0 -33
- package/cjs/__chunks/{6455U47T.cjs → 72I2GWXF.cjs} +0 -0
- package/cjs/__chunks/{S2VSVWFY.cjs → ZWMVFMQY.cjs} +2 -2
- package/esm/__chunks/{QLHUIPVK.js → AR6DTI3S.js} +3 -3
- /package/esm/__chunks/{4BKCJXBM.js → PNRLI7OV.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDialogDisclosure
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./5I6BQS7D.js";
|
|
4
4
|
import {
|
|
5
5
|
usePopoverAnchor
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./7PHM3O7I.js";
|
|
7
7
|
import {
|
|
8
8
|
PopoverContext
|
|
9
9
|
} from "./6GS36SYX.js";
|
|
@@ -11,16 +11,16 @@ import {
|
|
|
11
11
|
createComponent,
|
|
12
12
|
createElement,
|
|
13
13
|
createHook
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./NQJBHION.js";
|
|
15
15
|
import {
|
|
16
16
|
useEvent,
|
|
17
17
|
useWrapElement
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./J7Q2EO23.js";
|
|
19
19
|
import {
|
|
20
20
|
__objRest,
|
|
21
21
|
__spreadProps,
|
|
22
22
|
__spreadValues
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./PNRLI7OV.js";
|
|
24
24
|
|
|
25
25
|
// src/popover/popover-disclosure.tsx
|
|
26
26
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -5,14 +5,14 @@ import {
|
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
useId,
|
|
11
11
|
useSafeLayoutEffect
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./J7Q2EO23.js";
|
|
13
13
|
import {
|
|
14
14
|
__spreadValues
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./PNRLI7OV.js";
|
|
16
16
|
|
|
17
17
|
// src/group/group-label.ts
|
|
18
18
|
import { useContext } from "react";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
createComponent,
|
|
3
3
|
createElement,
|
|
4
4
|
createHook
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./NQJBHION.js";
|
|
6
6
|
import {
|
|
7
7
|
__objRest,
|
|
8
8
|
__spreadValues
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./PNRLI7OV.js";
|
|
10
10
|
|
|
11
11
|
// src/separator/separator.ts
|
|
12
12
|
var useSeparator = createHook(
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DialogBackdrop
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./53MSBYTF.js";
|
|
4
4
|
import {
|
|
5
5
|
disableTreeOutside
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./AR6DTI3S.js";
|
|
7
7
|
import {
|
|
8
8
|
disableAccessibilityTreeOutside
|
|
9
9
|
} from "./CYJJUQU3.js";
|
|
10
10
|
import {
|
|
11
11
|
usePreventBodyScroll
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./3LAWLNOX.js";
|
|
13
13
|
import {
|
|
14
14
|
useNestedDialogs
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./OEA63YXU.js";
|
|
16
16
|
import {
|
|
17
17
|
useHideOnInteractOutside
|
|
18
|
-
} from "./
|
|
19
|
-
import {
|
|
20
|
-
prependHiddenDismiss
|
|
21
|
-
} from "./62DFK33R.js";
|
|
18
|
+
} from "./4XWTU3WN.js";
|
|
22
19
|
import {
|
|
23
20
|
isElementMarked,
|
|
24
21
|
markTreeOutside
|
|
25
22
|
} from "./HCZMY53N.js";
|
|
23
|
+
import {
|
|
24
|
+
prependHiddenDismiss
|
|
25
|
+
} from "./62DFK33R.js";
|
|
26
26
|
import {
|
|
27
27
|
useFocusableContainer
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./IYNN2ZO5.js";
|
|
29
29
|
import {
|
|
30
30
|
HeadingLevel
|
|
31
31
|
} from "./6OMX4H3W.js";
|
|
32
32
|
import {
|
|
33
33
|
usePortal
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./LL3AE4N4.js";
|
|
35
35
|
import {
|
|
36
36
|
DialogContext,
|
|
37
37
|
DialogDescriptionContext,
|
|
@@ -40,15 +40,15 @@ import {
|
|
|
40
40
|
import {
|
|
41
41
|
isHidden,
|
|
42
42
|
useDisclosureContent
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./WHEEIXMF.js";
|
|
44
44
|
import {
|
|
45
45
|
useFocusable
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./MYID4V27.js";
|
|
47
47
|
import {
|
|
48
48
|
createComponent,
|
|
49
49
|
createElement,
|
|
50
50
|
createHook
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./NQJBHION.js";
|
|
52
52
|
import {
|
|
53
53
|
useBooleanEvent,
|
|
54
54
|
useEvent,
|
|
@@ -57,12 +57,12 @@ import {
|
|
|
57
57
|
usePortalRef,
|
|
58
58
|
useSafeLayoutEffect,
|
|
59
59
|
useWrapElement
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./J7Q2EO23.js";
|
|
61
61
|
import {
|
|
62
62
|
__objRest,
|
|
63
63
|
__spreadProps,
|
|
64
64
|
__spreadValues
|
|
65
|
-
} from "./
|
|
65
|
+
} from "./PNRLI7OV.js";
|
|
66
66
|
|
|
67
67
|
// src/dialog/dialog.tsx
|
|
68
68
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -284,7 +284,12 @@ var useDialog = createHook(
|
|
|
284
284
|
if (!autoFocusOnShowProp(isElementFocusable ? element : null))
|
|
285
285
|
return;
|
|
286
286
|
setAutoFocusEnabled(true);
|
|
287
|
-
queueMicrotask(() =>
|
|
287
|
+
queueMicrotask(() => {
|
|
288
|
+
element.focus();
|
|
289
|
+
if (!isSafariBrowser)
|
|
290
|
+
return;
|
|
291
|
+
element.scrollIntoView({ block: "nearest", inline: "nearest" });
|
|
292
|
+
});
|
|
288
293
|
}, [
|
|
289
294
|
open,
|
|
290
295
|
mayAutoFocusOnShow,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useVisuallyHidden
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./FL2AU7YJ.js";
|
|
4
4
|
import {
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
__spreadProps,
|
|
11
11
|
__spreadValues
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./PNRLI7OV.js";
|
|
13
13
|
|
|
14
14
|
// src/focus-trap/focus-trap.ts
|
|
15
15
|
var useFocusTrap = createHook((props) => {
|
|
@@ -3,20 +3,20 @@ import {
|
|
|
3
3
|
} from "./OXPV2NBK.js";
|
|
4
4
|
import {
|
|
5
5
|
CompositeContext
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./WJ37OVG2.js";
|
|
7
7
|
import {
|
|
8
8
|
createComponent,
|
|
9
9
|
createElement,
|
|
10
10
|
createHook
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./NQJBHION.js";
|
|
12
12
|
import {
|
|
13
13
|
useEvent
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./J7Q2EO23.js";
|
|
15
15
|
import {
|
|
16
16
|
__objRest,
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./PNRLI7OV.js";
|
|
20
20
|
|
|
21
21
|
// src/composite/composite-typeahead.ts
|
|
22
22
|
import { useContext, useRef } from "react";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
useLazyValue,
|
|
3
3
|
useLiveRef,
|
|
4
4
|
useSafeLayoutEffect
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./J7Q2EO23.js";
|
|
6
6
|
import {
|
|
7
7
|
__spreadProps,
|
|
8
8
|
__spreadValues
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./PNRLI7OV.js";
|
|
10
10
|
|
|
11
11
|
// src/utils/store.tsx
|
|
12
12
|
import { useCallback, useMemo } from "react";
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
createComponent,
|
|
3
3
|
createElement,
|
|
4
4
|
createHook
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./NQJBHION.js";
|
|
6
6
|
import {
|
|
7
7
|
__spreadProps,
|
|
8
8
|
__spreadValues
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./PNRLI7OV.js";
|
|
10
10
|
|
|
11
11
|
// src/visually-hidden/visually-hidden.ts
|
|
12
12
|
var useVisuallyHidden = createHook((props) => {
|
|
@@ -5,34 +5,45 @@ import {
|
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
useId,
|
|
11
11
|
useMergeRefs
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./J7Q2EO23.js";
|
|
13
13
|
import {
|
|
14
14
|
__objRest,
|
|
15
15
|
__spreadProps,
|
|
16
16
|
__spreadValues
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./PNRLI7OV.js";
|
|
18
18
|
|
|
19
19
|
// src/collection/collection-item.ts
|
|
20
20
|
import { useCallback, useContext, useRef } from "react";
|
|
21
21
|
import { identity } from "@ariakit/core/utils/misc";
|
|
22
22
|
var useCollectionItem = createHook(
|
|
23
23
|
(_a) => {
|
|
24
|
-
var _b = _a, {
|
|
24
|
+
var _b = _a, {
|
|
25
|
+
store,
|
|
26
|
+
shouldRegisterItem = true,
|
|
27
|
+
getItem = identity,
|
|
28
|
+
element: element
|
|
29
|
+
} = _b, props = __objRest(_b, [
|
|
30
|
+
"store",
|
|
31
|
+
"shouldRegisterItem",
|
|
32
|
+
"getItem",
|
|
33
|
+
// @ts-expect-error This prop may come from a collection renderer.
|
|
34
|
+
"element"
|
|
35
|
+
]);
|
|
25
36
|
const context = useContext(CollectionContext);
|
|
26
37
|
store = store || context;
|
|
27
38
|
const id = useId(props.id);
|
|
28
39
|
const unrenderItem = useRef();
|
|
29
40
|
const ref = useCallback(
|
|
30
|
-
(
|
|
41
|
+
(element2) => {
|
|
31
42
|
var _a2;
|
|
32
|
-
if (!
|
|
43
|
+
if (!element2 || !id || !shouldRegisterItem) {
|
|
33
44
|
return (_a2 = unrenderItem.current) == null ? void 0 : _a2.call(unrenderItem);
|
|
34
45
|
}
|
|
35
|
-
const item = getItem({ id, element });
|
|
46
|
+
const item = getItem({ id, element: element2 });
|
|
36
47
|
unrenderItem.current = store == null ? void 0 : store.renderItem(item);
|
|
37
48
|
},
|
|
38
49
|
[id, shouldRegisterItem, getItem, store]
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompositeContext,
|
|
3
3
|
CompositeRowContext
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./WJ37OVG2.js";
|
|
5
5
|
import {
|
|
6
6
|
createComponent,
|
|
7
7
|
createElement,
|
|
8
8
|
createHook
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./NQJBHION.js";
|
|
10
10
|
import {
|
|
11
11
|
useId,
|
|
12
12
|
useWrapElement
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./J7Q2EO23.js";
|
|
14
14
|
import {
|
|
15
15
|
__objRest,
|
|
16
16
|
__spreadValues
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./PNRLI7OV.js";
|
|
18
18
|
|
|
19
19
|
// src/composite/composite-row.tsx
|
|
20
20
|
import { useContext, useMemo } from "react";
|
|
@@ -22,7 +22,15 @@ import { invariant } from "@ariakit/core/utils/misc";
|
|
|
22
22
|
import { jsx } from "react/jsx-runtime";
|
|
23
23
|
var useCompositeRow = createHook(
|
|
24
24
|
(_a) => {
|
|
25
|
-
var _b = _a, {
|
|
25
|
+
var _b = _a, {
|
|
26
|
+
store,
|
|
27
|
+
"aria-setsize": ariaSetSize,
|
|
28
|
+
"aria-posinset": ariaPosInSet
|
|
29
|
+
} = _b, props = __objRest(_b, [
|
|
30
|
+
"store",
|
|
31
|
+
"aria-setsize",
|
|
32
|
+
"aria-posinset"
|
|
33
|
+
]);
|
|
26
34
|
const context = useContext(CompositeContext);
|
|
27
35
|
store = store || context;
|
|
28
36
|
invariant(
|
|
@@ -34,8 +42,8 @@ var useCompositeRow = createHook(
|
|
|
34
42
|
(state) => state.baseElement || void 0
|
|
35
43
|
);
|
|
36
44
|
const providerValue = useMemo(
|
|
37
|
-
() => ({ id, baseElement }),
|
|
38
|
-
[id, baseElement]
|
|
45
|
+
() => ({ id, baseElement, ariaSetSize, ariaPosInSet }),
|
|
46
|
+
[id, baseElement, ariaSetSize, ariaPosInSet]
|
|
39
47
|
);
|
|
40
48
|
props = useWrapElement(
|
|
41
49
|
props,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDialogDismiss
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./4GZAUH66.js";
|
|
4
4
|
import {
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
|
|
10
10
|
// src/popover/popover-dismiss.ts
|
|
11
11
|
var usePopoverDismiss = createHook((props) => {
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useFocusable
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./MYID4V27.js";
|
|
4
4
|
import {
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
useBooleanEvent,
|
|
11
11
|
useEvent,
|
|
12
12
|
useIsMouseMoving,
|
|
13
13
|
useMergeRefs
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./J7Q2EO23.js";
|
|
15
15
|
import {
|
|
16
16
|
__objRest,
|
|
17
17
|
__spreadProps,
|
|
18
18
|
__spreadValues
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./PNRLI7OV.js";
|
|
20
20
|
|
|
21
21
|
// src/hovercard/hovercard-anchor.ts
|
|
22
22
|
import { useEffect, useRef } from "react";
|
|
@@ -5,13 +5,13 @@ import {
|
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
useWrapElement
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./J7Q2EO23.js";
|
|
12
12
|
import {
|
|
13
13
|
__objRest
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./PNRLI7OV.js";
|
|
15
15
|
|
|
16
16
|
// src/focusable/focusable-container.tsx
|
|
17
17
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopoverHeading
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./WW4JQU6W.js";
|
|
4
4
|
import {
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
|
|
10
10
|
// src/hovercard/hovercard-heading.ts
|
|
11
11
|
var useHovercardHeading = createHook(
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopoverStoreOptions,
|
|
3
3
|
usePopoverStoreProps
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./5QJYOWLQ.js";
|
|
5
5
|
import {
|
|
6
6
|
useStore,
|
|
7
7
|
useStoreProps
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./FHQZ2KRN.js";
|
|
9
9
|
import {
|
|
10
10
|
__spreadValues
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./PNRLI7OV.js";
|
|
12
12
|
|
|
13
13
|
// src/hovercard/hovercard-store.ts
|
|
14
14
|
import * as Core from "@ariakit/core/hovercard/hovercard-store";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useButton
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./O6CV6VRM.js";
|
|
4
4
|
import {
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
useBooleanEvent,
|
|
11
11
|
useEvent,
|
|
12
12
|
useMergeRefs
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./J7Q2EO23.js";
|
|
14
14
|
import {
|
|
15
15
|
__objRest,
|
|
16
16
|
__spreadProps,
|
|
17
17
|
__spreadValues
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./PNRLI7OV.js";
|
|
19
19
|
|
|
20
20
|
// src/disclosure/disclosure.ts
|
|
21
21
|
import { useEffect, useRef, useState } from "react";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCommand
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./P4RGQGTG.js";
|
|
4
4
|
import {
|
|
5
5
|
useCollectionItem
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./HGFTMLQ7.js";
|
|
7
7
|
import {
|
|
8
8
|
focusSilently,
|
|
9
9
|
getEnabledItem,
|
|
@@ -13,15 +13,15 @@ import {
|
|
|
13
13
|
CompositeContext,
|
|
14
14
|
CompositeItemContext,
|
|
15
15
|
CompositeRowContext
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./WJ37OVG2.js";
|
|
17
17
|
import {
|
|
18
18
|
createElement,
|
|
19
19
|
createHook,
|
|
20
20
|
createMemoComponent
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./NQJBHION.js";
|
|
22
22
|
import {
|
|
23
23
|
useStoreState
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./FHQZ2KRN.js";
|
|
25
25
|
import {
|
|
26
26
|
useBooleanEvent,
|
|
27
27
|
useEvent,
|
|
@@ -29,12 +29,12 @@ import {
|
|
|
29
29
|
useMergeRefs,
|
|
30
30
|
useSafeLayoutEffect,
|
|
31
31
|
useWrapElement
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./J7Q2EO23.js";
|
|
33
33
|
import {
|
|
34
34
|
__objRest,
|
|
35
35
|
__spreadProps,
|
|
36
36
|
__spreadValues
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./PNRLI7OV.js";
|
|
38
38
|
|
|
39
39
|
// src/composite/composite-item.tsx
|
|
40
40
|
import { useCallback, useContext, useMemo, useRef, useState } from "react";
|
|
@@ -148,13 +148,17 @@ var useCompositeItem = createHook(
|
|
|
148
148
|
rowId: rowIdProp,
|
|
149
149
|
preventScrollOnKeyDown = false,
|
|
150
150
|
moveOnKeyPress = true,
|
|
151
|
-
getItem: getItemProp
|
|
151
|
+
getItem: getItemProp,
|
|
152
|
+
"aria-setsize": ariaSetSizeProp,
|
|
153
|
+
"aria-posinset": ariaPosInSetProp
|
|
152
154
|
} = _b, props = __objRest(_b, [
|
|
153
155
|
"store",
|
|
154
156
|
"rowId",
|
|
155
157
|
"preventScrollOnKeyDown",
|
|
156
158
|
"moveOnKeyPress",
|
|
157
|
-
"getItem"
|
|
159
|
+
"getItem",
|
|
160
|
+
"aria-setsize",
|
|
161
|
+
"aria-posinset"
|
|
158
162
|
]);
|
|
159
163
|
const context = useContext(CompositeContext);
|
|
160
164
|
store = store || context;
|
|
@@ -311,6 +315,27 @@ var useCompositeItem = createHook(
|
|
|
311
315
|
store,
|
|
312
316
|
(state) => !(store == null ? void 0 : store.item(id)) || !state.virtualFocus && isActiveItem
|
|
313
317
|
);
|
|
318
|
+
const ariaSetSize = useStoreState(store, (state) => {
|
|
319
|
+
if (ariaSetSizeProp != null)
|
|
320
|
+
return ariaSetSizeProp;
|
|
321
|
+
if (!(row == null ? void 0 : row.ariaSetSize))
|
|
322
|
+
return;
|
|
323
|
+
if (row.baseElement !== state.baseElement)
|
|
324
|
+
return;
|
|
325
|
+
return row.ariaSetSize;
|
|
326
|
+
});
|
|
327
|
+
const ariaPosInSet = useStoreState(store, (state) => {
|
|
328
|
+
if (ariaPosInSetProp != null)
|
|
329
|
+
return ariaPosInSetProp;
|
|
330
|
+
if (!(row == null ? void 0 : row.ariaPosInSet))
|
|
331
|
+
return;
|
|
332
|
+
if (row.baseElement !== state.baseElement)
|
|
333
|
+
return;
|
|
334
|
+
const itemsInRow = state.renderedItems.filter(
|
|
335
|
+
(item) => item.rowId === rowId
|
|
336
|
+
);
|
|
337
|
+
return row.ariaPosInSet + itemsInRow.findIndex((item) => item.id === id);
|
|
338
|
+
});
|
|
314
339
|
props = __spreadProps(__spreadValues({
|
|
315
340
|
id,
|
|
316
341
|
"aria-selected": ariaSelected,
|
|
@@ -329,7 +354,10 @@ var useCompositeItem = createHook(
|
|
|
329
354
|
getItem,
|
|
330
355
|
shouldRegisterItem: !!id ? props.shouldRegisterItem : false
|
|
331
356
|
}));
|
|
332
|
-
return props
|
|
357
|
+
return __spreadProps(__spreadValues({}, props), {
|
|
358
|
+
"aria-setsize": ariaSetSize,
|
|
359
|
+
"aria-posinset": ariaPosInSet
|
|
360
|
+
});
|
|
333
361
|
}
|
|
334
362
|
);
|
|
335
363
|
var CompositeItem = createMemoComponent(
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
FocusTrap
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./EJ3GIT5B.js";
|
|
4
4
|
import {
|
|
5
5
|
PortalContext
|
|
6
6
|
} from "./LDDPB3PY.js";
|
|
@@ -8,20 +8,20 @@ import {
|
|
|
8
8
|
createComponent,
|
|
9
9
|
createElement,
|
|
10
10
|
createHook
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./NQJBHION.js";
|
|
12
12
|
import {
|
|
13
13
|
useMergeRefs,
|
|
14
14
|
useSafeLayoutEffect,
|
|
15
15
|
useWrapElement
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./J7Q2EO23.js";
|
|
17
17
|
import {
|
|
18
18
|
setRef
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./CP3U4HPL.js";
|
|
20
20
|
import {
|
|
21
21
|
__objRest,
|
|
22
22
|
__spreadProps,
|
|
23
23
|
__spreadValues
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./PNRLI7OV.js";
|
|
25
25
|
|
|
26
26
|
// src/portal/portal.tsx
|
|
27
27
|
import { useContext, useEffect, useRef, useState } from "react";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useGroup
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./2NIRKFVH.js";
|
|
4
4
|
import {
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
__objRest
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./PNRLI7OV.js";
|
|
12
12
|
|
|
13
13
|
// src/form/form-group.ts
|
|
14
14
|
var useFormGroup = createHook(
|
|
@@ -5,12 +5,12 @@ import {
|
|
|
5
5
|
createComponent,
|
|
6
6
|
createElement,
|
|
7
7
|
createHook
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./NQJBHION.js";
|
|
9
9
|
import {
|
|
10
10
|
__objRest,
|
|
11
11
|
__spreadProps,
|
|
12
12
|
__spreadValues
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./PNRLI7OV.js";
|
|
14
14
|
|
|
15
15
|
// src/popover/popover-disclosure-arrow.tsx
|
|
16
16
|
import { useContext, useMemo } from "react";
|