@ariakit/react-core 0.3.2 → 0.3.4
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 +108 -0
- package/cjs/__chunks/{FWCQCCG3.cjs → 232HWSNY.cjs} +12 -12
- package/cjs/__chunks/{GBOZYA5C.cjs → 2H4Y2NEY.cjs} +4 -4
- package/cjs/__chunks/{LCKU3TYW.cjs → 35G5ZXPH.cjs} +12 -2
- package/cjs/__chunks/{LJBXMHCD.cjs → 3DILH277.cjs} +6 -6
- package/cjs/__chunks/{B3TGB2C3.cjs → 4QHHTATP.cjs} +7 -7
- package/cjs/__chunks/{ZJ4ICN62.cjs → 5ZP4D2SQ.cjs} +4 -4
- package/cjs/__chunks/{SKVJLFWS.cjs → 6UYPIKG4.cjs} +8 -8
- package/cjs/__chunks/{GCTYF2Y6.cjs → 76UBACFC.cjs} +3 -3
- package/cjs/__chunks/{HYYXXXEK.cjs → BSOHJE7R.cjs} +2 -2
- package/cjs/__chunks/{ZPTFLDSU.cjs → CAKLNUKE.cjs} +7 -7
- package/cjs/__chunks/{INDMFBTS.cjs → COHI5HTS.cjs} +17 -16
- package/cjs/__chunks/{DPLHWKRP.cjs → DFFFHQVQ.cjs} +3 -3
- package/cjs/__chunks/{HFISYIKE.cjs → DYNIQRKI.cjs} +7 -7
- package/cjs/__chunks/{S4UMINQJ.cjs → EMNY7J2W.cjs} +2 -2
- package/cjs/__chunks/{I63PYP2U.cjs → EVNF7KMT.cjs} +3 -35
- package/cjs/__chunks/{ZQTMT453.cjs → EZKYHQVF.cjs} +2 -2
- package/cjs/__chunks/{NBCR3CLP.cjs → F4RJLWZG.cjs} +3 -3
- package/cjs/__chunks/{G33PRHOG.cjs → GUWJ7VTO.cjs} +10 -10
- package/cjs/__chunks/{4HKELPDA.cjs → GWFSX7RQ.cjs} +8 -8
- package/cjs/__chunks/{2FEEKOTF.cjs → GZMKQINI.cjs} +2 -2
- package/cjs/__chunks/{3ULNMLN7.cjs → HSOKUBYY.cjs} +5 -5
- package/cjs/__chunks/{NPDPNCSD.cjs → HWZH54NB.cjs} +3 -2
- package/cjs/__chunks/{BPPAZUXP.cjs → J37FS72U.cjs} +2 -2
- package/cjs/__chunks/{5E5FKYEO.cjs → L2VQ4YLN.cjs} +18 -1
- package/cjs/__chunks/{7F6H5HXC.cjs → LCC3WQBM.cjs} +4 -4
- package/cjs/__chunks/{E4C2KZA5.cjs → O6SYRTZH.cjs} +5 -5
- package/cjs/__chunks/{2C7LUQOS.cjs → OOFSNUBV.cjs} +2 -2
- package/cjs/__chunks/{DMTOMUIM.cjs → QBOBT66Y.cjs} +8 -7
- package/cjs/__chunks/{QEG5AJH6.cjs → QFGI3BJE.cjs} +107 -58
- package/cjs/__chunks/{JKMBJCXA.cjs → QK4GI6B3.cjs} +7 -12
- package/cjs/__chunks/{OX7M6AXH.cjs → QMFZ4CLT.cjs} +4 -4
- package/cjs/__chunks/{HCQYEOCO.cjs → R7CSCUVW.cjs} +6 -6
- package/cjs/__chunks/{6UXB6PRK.cjs → RU4K4ZH6.cjs} +7 -7
- package/cjs/__chunks/{6BAHKJ5K.cjs → RWS2MAR2.cjs} +0 -7
- package/cjs/__chunks/{J77SNKFZ.cjs → SE2X2FG7.cjs} +4 -4
- package/cjs/__chunks/{6G5GJF5Q.cjs → SELCJFCB.cjs} +2 -2
- package/cjs/__chunks/{WBPFHFAX.cjs → T222USYS.cjs} +35 -35
- package/cjs/__chunks/TLA46MN6.cjs +79 -0
- package/cjs/__chunks/{V37GXOUJ.cjs → TYMYFAUI.cjs} +4 -4
- package/cjs/__chunks/{DNFCOHE4.cjs → UK2DHDQU.cjs} +2 -2
- package/cjs/__chunks/{4ULJINEP.cjs → VAF2GKYW.cjs} +8 -8
- package/cjs/__chunks/{XOHN6PER.cjs → VAY4A33A.cjs} +10 -6
- package/cjs/__chunks/{JNVNPB37.cjs → VGU6RMHO.cjs} +2 -2
- package/cjs/__chunks/{27A4YAUB.cjs → VVU2UQJ2.cjs} +4 -4
- package/cjs/__chunks/{EQEXTQQ6.cjs → YCBMXOIO.cjs} +5 -5
- package/cjs/__chunks/{2VQBXUAI.cjs → YLOTLD6S.cjs} +2 -2
- package/cjs/__chunks/{HDYD5S2P.cjs → ZIEW4CQO.cjs} +3 -3
- package/cjs/__chunks/{X3UARAKT.cjs → ZQZC54NS.cjs} +2 -2
- package/cjs/__chunks/{NATUYKIW.cjs → ZZZ5MQHA.cjs} +4 -4
- package/cjs/button/button.cjs +4 -4
- package/cjs/checkbox/checkbox-provider.cjs +3 -3
- package/cjs/checkbox/checkbox-store.cjs +3 -3
- package/cjs/checkbox/checkbox.cjs +5 -5
- package/cjs/collection/collection-provider.cjs +3 -3
- package/cjs/collection/collection-renderer.cjs +3 -3
- package/cjs/collection/collection-renderer.d.ts +53 -53
- package/cjs/collection/collection-store.cjs +3 -3
- package/cjs/combobox/combobox-cancel.cjs +4 -4
- package/cjs/combobox/combobox-disclosure.cjs +6 -6
- package/cjs/combobox/combobox-item.cjs +5 -5
- package/cjs/combobox/combobox-list.cjs +5 -4
- package/cjs/combobox/combobox-popover.cjs +24 -20
- package/cjs/combobox/combobox-provider.cjs +8 -8
- package/cjs/combobox/combobox-store.cjs +8 -8
- package/cjs/combobox/combobox.cjs +7 -5
- package/cjs/command/command.cjs +3 -3
- package/cjs/composite/composite-container.cjs +3 -3
- package/cjs/composite/composite-item.cjs +5 -5
- package/cjs/composite/composite-overflow-disclosure.cjs +10 -10
- package/cjs/composite/composite-overflow-store.cjs +6 -6
- package/cjs/composite/composite-overflow.cjs +15 -14
- package/cjs/composite/composite-provider.cjs +4 -4
- package/cjs/composite/composite-renderer.cjs +4 -4
- package/cjs/composite/composite-renderer.d.ts +53 -53
- package/cjs/composite/composite-store.cjs +4 -4
- package/cjs/composite/composite-typeahead.d.ts +0 -4
- package/cjs/composite/composite.cjs +3 -3
- package/cjs/dialog/dialog-backdrop.cjs +7 -7
- package/cjs/dialog/dialog-disclosure.cjs +6 -6
- package/cjs/dialog/dialog-dismiss.cjs +5 -5
- package/cjs/dialog/dialog-provider.cjs +4 -4
- package/cjs/dialog/dialog-store.cjs +4 -4
- package/cjs/dialog/dialog.cjs +16 -13
- package/cjs/dialog/dialog.d.ts +83 -14
- package/cjs/dialog/utils/disable-accessibility-tree-outside.cjs +3 -3
- package/cjs/dialog/utils/disable-accessibility-tree-outside.d.ts +1 -1
- package/cjs/dialog/utils/disable-tree.cjs +14 -0
- package/cjs/dialog/utils/disable-tree.d.ts +5 -0
- package/cjs/dialog/utils/mark-tree-outside.cjs +3 -3
- package/cjs/dialog/utils/mark-tree-outside.d.ts +1 -1
- package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +4 -4
- package/cjs/dialog/utils/use-nested-dialogs.cjs +2 -2
- package/cjs/dialog/utils/walk-tree-outside.cjs +5 -2
- package/cjs/dialog/utils/walk-tree-outside.d.ts +3 -2
- package/cjs/disclosure/disclosure-content.cjs +3 -2
- package/cjs/disclosure/disclosure-content.d.ts +14 -0
- package/cjs/disclosure/disclosure-provider.cjs +3 -3
- package/cjs/disclosure/disclosure-store.cjs +3 -3
- package/cjs/disclosure/disclosure.cjs +5 -5
- package/cjs/focusable/focusable.cjs +2 -2
- package/cjs/focusable/focusable.d.ts +2 -0
- package/cjs/form/form-checkbox.cjs +7 -7
- package/cjs/form/form-input.cjs +2 -2
- package/cjs/form/form-provider.cjs +4 -4
- package/cjs/form/form-push.cjs +4 -4
- package/cjs/form/form-radio.cjs +6 -6
- package/cjs/form/form-remove.cjs +4 -4
- package/cjs/form/form-reset.cjs +4 -4
- package/cjs/form/form-store.cjs +4 -4
- package/cjs/form/form-submit.cjs +4 -4
- package/cjs/hovercard/hovercard-anchor.cjs +3 -3
- package/cjs/hovercard/hovercard-disclosure.cjs +6 -6
- package/cjs/hovercard/hovercard-dismiss.cjs +7 -7
- package/cjs/hovercard/hovercard-provider.cjs +6 -6
- package/cjs/hovercard/hovercard-store.cjs +6 -6
- package/cjs/hovercard/hovercard.cjs +16 -15
- package/cjs/menu/menu-arrow.d.ts +11 -7
- package/cjs/menu/menu-bar-provider.cjs +5 -5
- package/cjs/menu/menu-bar-store.cjs +5 -5
- package/cjs/menu/menu-bar.cjs +3 -3
- package/cjs/menu/menu-bar.d.ts +23 -22
- package/cjs/menu/menu-button-arrow.d.ts +16 -11
- package/cjs/menu/menu-button.cjs +11 -11
- package/cjs/menu/menu-button.d.ts +19 -11
- package/cjs/menu/menu-description.d.ts +13 -8
- package/cjs/menu/menu-dismiss.cjs +7 -7
- package/cjs/menu/menu-dismiss.d.ts +10 -6
- package/cjs/menu/menu-group-label.d.ts +15 -10
- package/cjs/menu/menu-group.d.ts +15 -10
- package/cjs/menu/menu-heading.d.ts +10 -6
- package/cjs/menu/menu-item-check.d.ts +15 -15
- package/cjs/menu/menu-item-checkbox.cjs +10 -10
- package/cjs/menu/menu-item-checkbox.d.ts +13 -8
- package/cjs/menu/menu-item-radio.cjs +8 -8
- package/cjs/menu/menu-item-radio.d.ts +18 -13
- package/cjs/menu/menu-item.cjs +6 -6
- package/cjs/menu/menu-item.d.ts +16 -9
- package/cjs/menu/menu-list.cjs +6 -6
- package/cjs/menu/menu-list.d.ts +12 -7
- package/cjs/menu/menu-provider.cjs +9 -9
- package/cjs/menu/menu-separator.d.ts +14 -10
- package/cjs/menu/menu-store.cjs +9 -9
- package/cjs/menu/menu-store.d.ts +9 -9
- package/cjs/menu/menu.cjs +46 -52
- package/cjs/menu/menu.d.ts +9 -8
- package/cjs/popover/popover-anchor.d.ts +9 -4
- package/cjs/popover/popover-arrow.d.ts +14 -8
- package/cjs/popover/popover-description.d.ts +13 -8
- package/cjs/popover/popover-disclosure-arrow.d.ts +18 -10
- package/cjs/popover/popover-disclosure.cjs +7 -7
- package/cjs/popover/popover-disclosure.d.ts +4 -3
- package/cjs/popover/popover-dismiss.cjs +6 -6
- package/cjs/popover/popover-dismiss.d.ts +13 -7
- package/cjs/popover/popover-heading.d.ts +14 -8
- package/cjs/popover/popover-provider.cjs +5 -5
- package/cjs/popover/popover-store.cjs +5 -5
- package/cjs/popover/popover.cjs +15 -14
- package/cjs/popover/popover.d.ts +13 -9
- package/cjs/portal/portal.d.ts +17 -6
- package/cjs/radio/radio-group.cjs +3 -3
- package/cjs/radio/radio-group.d.ts +5 -1
- package/cjs/radio/radio-provider.cjs +5 -5
- package/cjs/radio/radio-store.cjs +5 -5
- package/cjs/radio/radio-store.d.ts +0 -5
- package/cjs/radio/radio.cjs +6 -6
- package/cjs/radio/radio.d.ts +6 -2
- package/cjs/select/select-arrow.d.ts +18 -13
- package/cjs/select/select-group-label.d.ts +22 -17
- package/cjs/select/select-group.d.ts +17 -12
- package/cjs/select/select-item-check.d.ts +23 -17
- package/cjs/select/select-item.cjs +5 -5
- package/cjs/select/select-item.d.ts +51 -24
- package/cjs/select/select-label.d.ts +18 -14
- package/cjs/select/select-list.cjs +6 -5
- package/cjs/select/select-list.d.ts +26 -16
- package/cjs/select/select-popover.cjs +27 -21
- package/cjs/select/select-popover.d.ts +11 -10
- package/cjs/select/select-provider.cjs +8 -8
- package/cjs/select/select-renderer.cjs +7 -7
- package/cjs/select/select-row.d.ts +20 -15
- package/cjs/select/select-separator.d.ts +16 -11
- package/cjs/select/select-store.cjs +8 -8
- package/cjs/select/select-store.d.ts +0 -4
- package/cjs/select/select.cjs +7 -7
- package/cjs/select/select.d.ts +39 -17
- package/cjs/tab/tab-list.cjs +3 -3
- package/cjs/tab/tab-list.d.ts +14 -9
- package/cjs/tab/tab-panel.cjs +7 -7
- package/cjs/tab/tab-panel.d.ts +15 -10
- package/cjs/tab/tab-provider.cjs +5 -5
- package/cjs/tab/tab-store.cjs +5 -5
- package/cjs/tab/tab-store.d.ts +0 -7
- package/cjs/tab/tab.cjs +5 -5
- package/cjs/tab/tab.d.ts +13 -10
- package/cjs/toolbar/toolbar-container.cjs +8 -8
- package/cjs/toolbar/toolbar-container.d.ts +3 -4
- package/cjs/toolbar/toolbar-input.cjs +6 -6
- package/cjs/toolbar/toolbar-input.d.ts +3 -4
- package/cjs/toolbar/toolbar-item.cjs +6 -6
- package/cjs/toolbar/toolbar-item.d.ts +7 -5
- package/cjs/toolbar/toolbar-provider.cjs +5 -5
- package/cjs/toolbar/toolbar-separator.d.ts +7 -5
- package/cjs/toolbar/toolbar-store.cjs +5 -5
- package/cjs/toolbar/toolbar.cjs +8 -8
- package/cjs/toolbar/toolbar.d.ts +8 -3
- package/cjs/tooltip/tooltip-anchor.cjs +3 -3
- package/cjs/tooltip/tooltip-anchor.d.ts +13 -8
- package/cjs/tooltip/tooltip-arrow.d.ts +16 -10
- package/cjs/tooltip/tooltip-provider.cjs +7 -7
- package/cjs/tooltip/tooltip-store.cjs +7 -7
- package/cjs/tooltip/tooltip.cjs +25 -19
- package/cjs/tooltip/tooltip.d.ts +10 -5
- package/cjs/tsconfig.build.tsbuildinfo +1 -1
- package/cjs/utils/store.cjs +2 -2
- package/cjs/utils/system.d.ts +2 -2
- package/dialog/utils/disable-tree/package.json +8 -0
- package/esm/__chunks/{VDTDCNMP.js → 2BTPJSKW.js} +3 -3
- package/esm/__chunks/{3HFOFZP4.js → 2FIUKXIM.js} +1 -1
- package/esm/__chunks/{KZMKUBQH.js → 2Q7ASGJM.js} +1 -1
- package/esm/__chunks/{QJMIKN5O.js → 3FLPLDNL.js} +2 -2
- package/esm/__chunks/{HMYMEP6U.js → 3KBWC7LF.js} +1 -1
- package/esm/__chunks/{4SB2BYFE.js → 3X3TLUHU.js} +4 -3
- package/esm/__chunks/{HYNMOU7J.js → 56TAEBRJ.js} +1 -1
- package/esm/__chunks/{TQ2YQL6O.js → 5EAW3TWZ.js} +11 -1
- package/esm/__chunks/{V5EW3YHP.js → 6F7MKZK2.js} +3 -3
- package/esm/__chunks/{UQFOL5I6.js → 6W46XYWY.js} +2 -2
- package/esm/__chunks/{HAVCR65N.js → 7LB47D2O.js} +1 -1
- package/esm/__chunks/{X5VV5CBA.js → 7VWXICM7.js} +3 -3
- package/esm/__chunks/{VPTWELSR.js → AE5ABTKC.js} +2 -2
- package/esm/__chunks/{LND6SMHN.js → CAIAWNDV.js} +2 -1
- package/esm/__chunks/{C5JX5C3O.js → DCODCZJS.js} +3 -3
- package/esm/__chunks/{R4FKKQYI.js → DE62M4L2.js} +2 -2
- package/esm/__chunks/{IFNQMENS.js → DLZTS5NV.js} +3 -3
- package/esm/__chunks/{D5TF3EQR.js → E3ZC4HKO.js} +2 -2
- package/esm/__chunks/{XASENZA4.js → EGOOWJGN.js} +16 -15
- package/esm/__chunks/{34JEM52B.js → F7UYWUBJ.js} +34 -34
- package/esm/__chunks/{KGDYSCOM.js → FRKOFFMT.js} +6 -11
- package/esm/__chunks/{GP4UGJIZ.js → H3CXUGYG.js} +9 -5
- package/esm/__chunks/{4WK6LN27.js → HUAF5DID.js} +2 -2
- package/esm/__chunks/{PLOINBVB.js → HWJ7DGMR.js} +0 -7
- package/esm/__chunks/{MXSIXS3C.js → HXYXHHNW.js} +1 -1
- package/esm/__chunks/{FBTQUSIH.js → I6Y4PDFW.js} +2 -2
- package/esm/__chunks/{K6BB6DTS.js → IADMQBOS.js} +2 -2
- package/esm/__chunks/{72OJKUSZ.js → IQXVWBXC.js} +2 -2
- package/esm/__chunks/{UY3UQ4QI.js → IZFXPXHG.js} +2 -2
- package/esm/__chunks/{HGW6FZYU.js → J2AZPLFF.js} +2 -2
- package/esm/__chunks/{EKIHOHWR.js → JRZOTPWS.js} +2 -2
- package/esm/__chunks/{3D7ZB3CS.js → KK6NPMOP.js} +18 -1
- package/esm/__chunks/{54DCICBS.js → KXTLHNBI.js} +1 -1
- package/esm/__chunks/{RJEKIG5Y.js → LBTB6WEV.js} +1 -1
- package/esm/__chunks/{HZPJPDJY.js → LFLKMTFW.js} +2 -2
- package/esm/__chunks/{7AFOF5E7.js → LRDCOOWL.js} +1 -1
- package/esm/__chunks/{W575AF63.js → NXB7YL3C.js} +3 -3
- package/esm/__chunks/{35WVCYXU.js → OAQFZVKH.js} +2 -2
- package/esm/__chunks/{A2ONBKVT.js → OD3JT64N.js} +1 -1
- package/esm/__chunks/{AYWP3ZW6.js → OQUFN5QO.js} +1 -1
- package/esm/__chunks/{H2BG4QDT.js → QTZ67ALK.js} +2 -2
- package/esm/__chunks/{QPWEKAWF.js → TONP6TZ5.js} +1 -1
- package/esm/__chunks/{4RP654JS.js → UXIMR4AS.js} +100 -51
- package/esm/__chunks/VRCYQ6JX.js +79 -0
- package/esm/__chunks/{XXO3VVQU.js → WHAB4XD6.js} +3 -35
- package/esm/__chunks/{4JNX5L5C.js → WNHMGHG5.js} +1 -1
- package/esm/__chunks/{WGAKICTY.js → WRZGD4DH.js} +2 -2
- package/esm/__chunks/{NWDF5QDV.js → YS46MLTR.js} +1 -1
- package/esm/__chunks/{IZ6ZARCP.js → ZYB5SMUW.js} +1 -1
- package/esm/button/button.js +3 -3
- package/esm/checkbox/checkbox-provider.js +2 -2
- package/esm/checkbox/checkbox-store.js +2 -2
- package/esm/checkbox/checkbox.js +4 -4
- package/esm/collection/collection-provider.js +2 -2
- package/esm/collection/collection-renderer.d.ts +53 -53
- package/esm/collection/collection-renderer.js +2 -2
- package/esm/collection/collection-store.js +2 -2
- package/esm/combobox/combobox-cancel.js +3 -3
- package/esm/combobox/combobox-disclosure.js +5 -5
- package/esm/combobox/combobox-item.js +4 -4
- package/esm/combobox/combobox-list.js +4 -3
- package/esm/combobox/combobox-popover.js +22 -18
- package/esm/combobox/combobox-provider.js +7 -7
- package/esm/combobox/combobox-store.js +7 -7
- package/esm/combobox/combobox.js +6 -4
- package/esm/command/command.js +2 -2
- package/esm/composite/composite-container.js +2 -2
- package/esm/composite/composite-item.js +4 -4
- package/esm/composite/composite-overflow-disclosure.js +8 -8
- package/esm/composite/composite-overflow-store.js +4 -4
- package/esm/composite/composite-overflow.js +14 -13
- package/esm/composite/composite-provider.js +3 -3
- package/esm/composite/composite-renderer.d.ts +53 -53
- package/esm/composite/composite-renderer.js +3 -3
- package/esm/composite/composite-store.js +3 -3
- package/esm/composite/composite-typeahead.d.ts +0 -4
- package/esm/composite/composite.js +2 -2
- package/esm/dialog/dialog-backdrop.js +6 -6
- package/esm/dialog/dialog-disclosure.js +5 -5
- package/esm/dialog/dialog-dismiss.js +4 -4
- package/esm/dialog/dialog-provider.js +3 -3
- package/esm/dialog/dialog-store.js +3 -3
- package/esm/dialog/dialog.d.ts +83 -14
- package/esm/dialog/dialog.js +15 -12
- package/esm/dialog/utils/disable-accessibility-tree-outside.d.ts +1 -1
- package/esm/dialog/utils/disable-accessibility-tree-outside.js +2 -2
- package/esm/dialog/utils/disable-tree.d.ts +5 -0
- package/esm/dialog/utils/{disable-tree-outside.js → disable-tree.js} +5 -3
- package/esm/dialog/utils/mark-tree-outside.d.ts +1 -1
- package/esm/dialog/utils/mark-tree-outside.js +2 -2
- package/esm/dialog/utils/use-hide-on-interact-outside.js +3 -3
- package/esm/dialog/utils/use-nested-dialogs.js +1 -1
- package/esm/dialog/utils/walk-tree-outside.d.ts +3 -2
- package/esm/dialog/utils/walk-tree-outside.js +4 -1
- package/esm/disclosure/disclosure-content.d.ts +14 -0
- package/esm/disclosure/disclosure-content.js +2 -1
- package/esm/disclosure/disclosure-provider.js +2 -2
- package/esm/disclosure/disclosure-store.js +2 -2
- package/esm/disclosure/disclosure.js +4 -4
- package/esm/focusable/focusable.d.ts +2 -0
- package/esm/focusable/focusable.js +1 -1
- package/esm/form/form-checkbox.js +5 -5
- package/esm/form/form-input.js +1 -1
- package/esm/form/form-provider.js +3 -3
- package/esm/form/form-push.js +3 -3
- package/esm/form/form-radio.js +5 -5
- package/esm/form/form-remove.js +3 -3
- package/esm/form/form-reset.js +3 -3
- package/esm/form/form-store.js +3 -3
- package/esm/form/form-submit.js +3 -3
- package/esm/hovercard/hovercard-anchor.js +2 -2
- package/esm/hovercard/hovercard-disclosure.js +5 -5
- package/esm/hovercard/hovercard-dismiss.js +6 -6
- package/esm/hovercard/hovercard-provider.js +5 -5
- package/esm/hovercard/hovercard-store.js +5 -5
- package/esm/hovercard/hovercard.js +15 -14
- package/esm/menu/menu-arrow.d.ts +11 -7
- package/esm/menu/menu-bar-provider.js +4 -4
- package/esm/menu/menu-bar-store.js +4 -4
- package/esm/menu/menu-bar.d.ts +23 -22
- package/esm/menu/menu-bar.js +2 -2
- package/esm/menu/menu-button-arrow.d.ts +16 -11
- package/esm/menu/menu-button.d.ts +19 -11
- package/esm/menu/menu-button.js +8 -8
- package/esm/menu/menu-description.d.ts +13 -8
- package/esm/menu/menu-dismiss.d.ts +10 -6
- package/esm/menu/menu-dismiss.js +6 -6
- package/esm/menu/menu-group-label.d.ts +15 -10
- package/esm/menu/menu-group.d.ts +15 -10
- package/esm/menu/menu-heading.d.ts +10 -6
- package/esm/menu/menu-item-check.d.ts +15 -15
- package/esm/menu/menu-item-checkbox.d.ts +13 -8
- package/esm/menu/menu-item-checkbox.js +7 -7
- package/esm/menu/menu-item-radio.d.ts +18 -13
- package/esm/menu/menu-item-radio.js +6 -6
- package/esm/menu/menu-item.d.ts +16 -9
- package/esm/menu/menu-item.js +5 -5
- package/esm/menu/menu-list.d.ts +12 -7
- package/esm/menu/menu-list.js +5 -5
- package/esm/menu/menu-provider.js +8 -8
- package/esm/menu/menu-separator.d.ts +14 -10
- package/esm/menu/menu-store.d.ts +9 -9
- package/esm/menu/menu-store.js +8 -8
- package/esm/menu/menu.d.ts +9 -8
- package/esm/menu/menu.js +45 -51
- package/esm/popover/popover-anchor.d.ts +9 -4
- package/esm/popover/popover-arrow.d.ts +14 -8
- package/esm/popover/popover-description.d.ts +13 -8
- package/esm/popover/popover-disclosure-arrow.d.ts +18 -10
- package/esm/popover/popover-disclosure.d.ts +4 -3
- package/esm/popover/popover-disclosure.js +6 -6
- package/esm/popover/popover-dismiss.d.ts +13 -7
- package/esm/popover/popover-dismiss.js +5 -5
- package/esm/popover/popover-heading.d.ts +14 -8
- package/esm/popover/popover-provider.js +4 -4
- package/esm/popover/popover-store.js +4 -4
- package/esm/popover/popover.d.ts +13 -9
- package/esm/popover/popover.js +14 -13
- package/esm/portal/portal.d.ts +17 -6
- package/esm/radio/radio-group.d.ts +5 -1
- package/esm/radio/radio-group.js +2 -2
- package/esm/radio/radio-provider.js +4 -4
- package/esm/radio/radio-store.d.ts +0 -5
- package/esm/radio/radio-store.js +4 -4
- package/esm/radio/radio.d.ts +6 -2
- package/esm/radio/radio.js +5 -5
- package/esm/select/select-arrow.d.ts +18 -13
- package/esm/select/select-group-label.d.ts +22 -17
- package/esm/select/select-group.d.ts +17 -12
- package/esm/select/select-item-check.d.ts +23 -17
- package/esm/select/select-item.d.ts +51 -24
- package/esm/select/select-item.js +4 -4
- package/esm/select/select-label.d.ts +18 -14
- package/esm/select/select-list.d.ts +26 -16
- package/esm/select/select-list.js +5 -4
- package/esm/select/select-popover.d.ts +11 -10
- package/esm/select/select-popover.js +25 -19
- package/esm/select/select-provider.js +7 -7
- package/esm/select/select-renderer.js +3 -3
- package/esm/select/select-row.d.ts +20 -15
- package/esm/select/select-separator.d.ts +16 -11
- package/esm/select/select-store.d.ts +0 -4
- package/esm/select/select-store.js +7 -7
- package/esm/select/select.d.ts +39 -17
- package/esm/select/select.js +6 -6
- package/esm/tab/tab-list.d.ts +14 -9
- package/esm/tab/tab-list.js +2 -2
- package/esm/tab/tab-panel.d.ts +15 -10
- package/esm/tab/tab-panel.js +4 -4
- package/esm/tab/tab-provider.js +4 -4
- package/esm/tab/tab-store.d.ts +0 -7
- package/esm/tab/tab-store.js +4 -4
- package/esm/tab/tab.d.ts +13 -10
- package/esm/tab/tab.js +4 -4
- package/esm/toolbar/toolbar-container.d.ts +3 -4
- package/esm/toolbar/toolbar-container.js +6 -6
- package/esm/toolbar/toolbar-input.d.ts +3 -4
- package/esm/toolbar/toolbar-input.js +5 -5
- package/esm/toolbar/toolbar-item.d.ts +7 -5
- package/esm/toolbar/toolbar-item.js +5 -5
- package/esm/toolbar/toolbar-provider.js +4 -4
- package/esm/toolbar/toolbar-separator.d.ts +7 -5
- package/esm/toolbar/toolbar-store.js +4 -4
- package/esm/toolbar/toolbar.d.ts +8 -3
- package/esm/toolbar/toolbar.js +6 -6
- package/esm/tooltip/tooltip-anchor.d.ts +13 -8
- package/esm/tooltip/tooltip-anchor.js +2 -2
- package/esm/tooltip/tooltip-arrow.d.ts +16 -10
- package/esm/tooltip/tooltip-provider.js +6 -6
- package/esm/tooltip/tooltip-store.js +6 -6
- package/esm/tooltip/tooltip.d.ts +10 -5
- package/esm/tooltip/tooltip.js +24 -18
- package/esm/tsconfig.build.tsbuildinfo +1 -1
- package/esm/utils/store.js +1 -1
- package/esm/utils/system.d.ts +2 -2
- package/package.json +5 -5
- package/cjs/__chunks/PD5YFDLO.cjs +0 -41
- package/cjs/dialog/utils/disable-tree-outside.cjs +0 -12
- package/cjs/dialog/utils/disable-tree-outside.d.ts +0 -3
- package/dialog/utils/disable-tree-outside/package.json +0 -8
- package/esm/__chunks/5M4ITSXL.js +0 -41
- package/esm/dialog/utils/disable-tree-outside.d.ts +0 -3
- package/cjs/__chunks/{BFLDQF3L.cjs → GQAB4M3B.cjs} +3 -3
- package/esm/__chunks/{M4OAD5XF.js → YTHH33BK.js} +3 -3
|
@@ -5,7 +5,10 @@
|
|
|
5
5
|
var _OLGMV24Ucjs = require('./OLGMV24U.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
|
-
var
|
|
8
|
+
var _VAY4A33Acjs = require('./VAY4A33A.cjs');
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
var _QFGI3BJEcjs = require('./QFGI3BJE.cjs');
|
|
9
12
|
|
|
10
13
|
|
|
11
14
|
|
|
@@ -63,33 +66,6 @@ function isMovingOnHovercard(target, card, anchor, nested) {
|
|
|
63
66
|
}
|
|
64
67
|
return false;
|
|
65
68
|
}
|
|
66
|
-
function useAutoFocusOnShow(_a) {
|
|
67
|
-
var _b = _a, {
|
|
68
|
-
store
|
|
69
|
-
} = _b, props = _72I2GWXFcjs.__objRest.call(void 0, _b, [
|
|
70
|
-
"store"
|
|
71
|
-
]);
|
|
72
|
-
const open = store.useState("open");
|
|
73
|
-
const openRef = _5WLTMVVQcjs.useLiveRef.call(void 0, open);
|
|
74
|
-
_react.useEffect.call(void 0, () => {
|
|
75
|
-
if (!open) {
|
|
76
|
-
store.setAutoFocusOnShow(false);
|
|
77
|
-
}
|
|
78
|
-
}, [open, store]);
|
|
79
|
-
_react.useEffect.call(void 0,
|
|
80
|
-
() => () => {
|
|
81
|
-
if (!openRef.current) {
|
|
82
|
-
store.setAutoFocusOnShow(false);
|
|
83
|
-
}
|
|
84
|
-
},
|
|
85
|
-
[store]
|
|
86
|
-
);
|
|
87
|
-
const modal = !!props.modal;
|
|
88
|
-
const autoFocusOnShow = store.useState(
|
|
89
|
-
(state) => modal || state.autoFocusOnShow
|
|
90
|
-
);
|
|
91
|
-
return _72I2GWXFcjs.__spreadValues.call(void 0, { autoFocusOnShow }, props);
|
|
92
|
-
}
|
|
93
69
|
function useAutoFocusOnHide(_a) {
|
|
94
70
|
var _b = _a, {
|
|
95
71
|
store
|
|
@@ -159,6 +135,7 @@ var useHovercard = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
159
135
|
const disablePointerEventsProp = _5WLTMVVQcjs.useBooleanEvent.call(void 0,
|
|
160
136
|
disablePointerEventsOnApproach
|
|
161
137
|
);
|
|
138
|
+
const open = store.useState("open");
|
|
162
139
|
const mounted = store.useState("mounted");
|
|
163
140
|
_react.useEffect.call(void 0, () => {
|
|
164
141
|
if (!domReady)
|
|
@@ -248,6 +225,23 @@ var useHovercard = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
248
225
|
_events.addGlobalEventListener.call(void 0, "mouseleave", disableEvent, true)
|
|
249
226
|
);
|
|
250
227
|
}, [domReady, mounted, mayDisablePointerEvents, disablePointerEventsProp]);
|
|
228
|
+
_react.useEffect.call(void 0, () => {
|
|
229
|
+
if (!domReady)
|
|
230
|
+
return;
|
|
231
|
+
if (open)
|
|
232
|
+
return;
|
|
233
|
+
store == null ? void 0 : store.setAutoFocusOnShow(false);
|
|
234
|
+
}, [store, domReady, open]);
|
|
235
|
+
const openRef = _5WLTMVVQcjs.useLiveRef.call(void 0, open);
|
|
236
|
+
_react.useEffect.call(void 0, () => {
|
|
237
|
+
if (!domReady)
|
|
238
|
+
return;
|
|
239
|
+
return () => {
|
|
240
|
+
if (!openRef.current) {
|
|
241
|
+
store == null ? void 0 : store.setAutoFocusOnShow(false);
|
|
242
|
+
}
|
|
243
|
+
};
|
|
244
|
+
}, [store, domReady]);
|
|
251
245
|
const registerOnParent = _react.useContext.call(void 0, NestedHovercardContext);
|
|
252
246
|
_5WLTMVVQcjs.useSafeLayoutEffect.call(void 0, () => {
|
|
253
247
|
if (modal)
|
|
@@ -285,11 +279,14 @@ var useHovercard = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
285
279
|
ref: _5WLTMVVQcjs.useMergeRefs.call(void 0, ref, props.ref)
|
|
286
280
|
});
|
|
287
281
|
props = useAutoFocusOnHide(_72I2GWXFcjs.__spreadValues.call(void 0, { store }, props));
|
|
288
|
-
|
|
289
|
-
|
|
282
|
+
const autoFocusOnShow = store.useState(
|
|
283
|
+
(state) => modal || state.autoFocusOnShow
|
|
284
|
+
);
|
|
285
|
+
props = _VAY4A33Acjs.usePopover.call(void 0, _72I2GWXFcjs.__spreadProps.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, {
|
|
290
286
|
store,
|
|
291
287
|
modal,
|
|
292
|
-
portal
|
|
288
|
+
portal,
|
|
289
|
+
autoFocusOnShow
|
|
293
290
|
}, props), {
|
|
294
291
|
portalRef,
|
|
295
292
|
hideOnEscape(event) {
|
|
@@ -306,10 +303,13 @@ var useHovercard = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
306
303
|
return props;
|
|
307
304
|
}
|
|
308
305
|
);
|
|
309
|
-
var Hovercard =
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
306
|
+
var Hovercard = _QFGI3BJEcjs.createDialogComponent.call(void 0,
|
|
307
|
+
_Z5PUIG6Acjs.createComponent.call(void 0, (props) => {
|
|
308
|
+
const htmlProps = useHovercard(props);
|
|
309
|
+
return _Z5PUIG6Acjs.createElement.call(void 0, "div", htmlProps);
|
|
310
|
+
}),
|
|
311
|
+
_Q6W7IWNJcjs.useHovercardProviderContext
|
|
312
|
+
);
|
|
313
313
|
if (process.env.NODE_ENV !== "production") {
|
|
314
314
|
Hovercard.displayName = "Hovercard";
|
|
315
315
|
}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
+
|
|
3
|
+
var _BWQVQDGCcjs = require('./BWQVQDGC.cjs');
|
|
4
|
+
|
|
5
|
+
// src/dialog/utils/walk-tree-outside.ts
|
|
6
|
+
var _dom = require('@ariakit/core/utils/dom');
|
|
7
|
+
var _misc = require('@ariakit/core/utils/misc');
|
|
8
|
+
var ignoreTags = ["SCRIPT", "STYLE"];
|
|
9
|
+
function getSnapshotPropertyName(id) {
|
|
10
|
+
return `__ariakit-dialog-snapshot-${id}`;
|
|
11
|
+
}
|
|
12
|
+
function inSnapshot(id, element) {
|
|
13
|
+
const doc = _dom.getDocument.call(void 0, element);
|
|
14
|
+
const propertyName = getSnapshotPropertyName(id);
|
|
15
|
+
if (!doc.body[propertyName])
|
|
16
|
+
return true;
|
|
17
|
+
do {
|
|
18
|
+
if (element === doc.body)
|
|
19
|
+
return false;
|
|
20
|
+
if (!!element[propertyName])
|
|
21
|
+
return true;
|
|
22
|
+
if (!element.parentElement)
|
|
23
|
+
return false;
|
|
24
|
+
element = element.parentElement;
|
|
25
|
+
} while (true);
|
|
26
|
+
}
|
|
27
|
+
function isValidElement(id, element, ignoredElements) {
|
|
28
|
+
if (ignoreTags.includes(element.tagName))
|
|
29
|
+
return false;
|
|
30
|
+
if (!inSnapshot(id, element))
|
|
31
|
+
return false;
|
|
32
|
+
return !ignoredElements.some(
|
|
33
|
+
(enabledElement) => enabledElement && _dom.contains.call(void 0, element, enabledElement)
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
function walkTreeOutside(id, elements, callback, ancestorCallback) {
|
|
37
|
+
for (let element of elements) {
|
|
38
|
+
if (!(element == null ? void 0 : element.isConnected))
|
|
39
|
+
continue;
|
|
40
|
+
const hasAncestorAlready = elements.some((maybeAncestor) => {
|
|
41
|
+
if (!maybeAncestor)
|
|
42
|
+
return false;
|
|
43
|
+
if (maybeAncestor === element)
|
|
44
|
+
return false;
|
|
45
|
+
return maybeAncestor.contains(element);
|
|
46
|
+
});
|
|
47
|
+
const doc = _dom.getDocument.call(void 0, element);
|
|
48
|
+
const originalElement = element;
|
|
49
|
+
while (element.parentElement && element !== doc.body) {
|
|
50
|
+
ancestorCallback == null ? void 0 : ancestorCallback(element.parentElement, originalElement);
|
|
51
|
+
if (!hasAncestorAlready) {
|
|
52
|
+
for (const child of element.parentElement.children) {
|
|
53
|
+
if (isValidElement(id, child, elements)) {
|
|
54
|
+
callback(child, originalElement);
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
element = element.parentElement;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
function createWalkTreeSnapshot(id, elements) {
|
|
63
|
+
const { body } = _dom.getDocument.call(void 0, elements[0]);
|
|
64
|
+
const cleanups = [];
|
|
65
|
+
const markElement = (element) => {
|
|
66
|
+
cleanups.push(_BWQVQDGCcjs.setProperty.call(void 0, element, getSnapshotPropertyName(id), true));
|
|
67
|
+
};
|
|
68
|
+
walkTreeOutside(id, elements, markElement);
|
|
69
|
+
return _misc.chain.call(void 0,
|
|
70
|
+
_BWQVQDGCcjs.setProperty.call(void 0, body, getSnapshotPropertyName(id), true),
|
|
71
|
+
() => cleanups.forEach((fn) => fn())
|
|
72
|
+
);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
exports.isValidElement = isValidElement; exports.walkTreeOutside = walkTreeOutside; exports.createWalkTreeSnapshot = createWalkTreeSnapshot;
|
|
@@ -10,7 +10,7 @@ var _6RYSMHQYcjs = require('./6RYSMHQY.cjs');
|
|
|
10
10
|
var _LPFT4ZFHcjs = require('./LPFT4ZFH.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
var
|
|
13
|
+
var _GUWJ7VTOcjs = require('./GUWJ7VTO.cjs');
|
|
14
14
|
|
|
15
15
|
|
|
16
16
|
|
|
@@ -18,7 +18,7 @@ var _G33PRHOGcjs = require('./G33PRHOG.cjs');
|
|
|
18
18
|
var _Z5PUIG6Acjs = require('./Z5PUIG6A.cjs');
|
|
19
19
|
|
|
20
20
|
|
|
21
|
-
var
|
|
21
|
+
var _EVNF7KMTcjs = require('./EVNF7KMT.cjs');
|
|
22
22
|
|
|
23
23
|
|
|
24
24
|
|
|
@@ -74,7 +74,7 @@ var useMenuItem = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
74
74
|
return;
|
|
75
75
|
hideMenu();
|
|
76
76
|
});
|
|
77
|
-
const contentElement =
|
|
77
|
+
const contentElement = _EVNF7KMTcjs.useStoreState.call(void 0,
|
|
78
78
|
store,
|
|
79
79
|
(state) => "contentElement" in state ? state.contentElement : null
|
|
80
80
|
);
|
|
@@ -84,7 +84,7 @@ var useMenuItem = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
84
84
|
}, props), {
|
|
85
85
|
onClick
|
|
86
86
|
});
|
|
87
|
-
props =
|
|
87
|
+
props = _GUWJ7VTOcjs.useCompositeItem.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store, preventScrollOnKeyDown }, props));
|
|
88
88
|
props = _LPFT4ZFHcjs.useCompositeHover.call(void 0, _72I2GWXFcjs.__spreadProps.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, {
|
|
89
89
|
store
|
|
90
90
|
}, props), {
|
|
@@ -11,7 +11,7 @@ var _H7R5D2FRcjs = require('./H7R5D2FR.cjs');
|
|
|
11
11
|
var _Z5PUIG6Acjs = require('./Z5PUIG6A.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
var
|
|
14
|
+
var _EVNF7KMTcjs = require('./EVNF7KMT.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
@@ -69,7 +69,7 @@ var useCompositeContainer = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
69
69
|
isOpenRef.current = false;
|
|
70
70
|
_focus.disableFocusIn.call(void 0, container);
|
|
71
71
|
};
|
|
72
|
-
const renderedItems =
|
|
72
|
+
const renderedItems = _EVNF7KMTcjs.useStoreState.call(void 0, store, "renderedItems");
|
|
73
73
|
_react.useEffect.call(void 0, () => {
|
|
74
74
|
const container = ref.current;
|
|
75
75
|
if (!container)
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _232HWSNYcjs = require('./232HWSNY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _O6SYRTZHcjs = require('./O6SYRTZH.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
var
|
|
10
|
+
var _EVNF7KMTcjs = require('./EVNF7KMT.cjs');
|
|
11
11
|
|
|
12
12
|
// src/combobox/combobox-store.ts
|
|
13
13
|
var _comboboxstore = require('@ariakit/core/combobox/combobox-store'); var Core = _interopRequireWildcard(_comboboxstore);
|
|
14
14
|
function useComboboxStoreProps(store, update, props) {
|
|
15
|
-
store =
|
|
16
|
-
store =
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
store = _O6SYRTZHcjs.usePopoverStoreProps.call(void 0, store, update, props);
|
|
16
|
+
store = _232HWSNYcjs.useCompositeStoreProps.call(void 0, store, update, props);
|
|
17
|
+
_EVNF7KMTcjs.useStoreProps.call(void 0, store, props, "value", "setValue");
|
|
18
|
+
_EVNF7KMTcjs.useStoreProps.call(void 0, store, props, "resetValueOnHide");
|
|
19
19
|
return store;
|
|
20
20
|
}
|
|
21
21
|
function useComboboxStore(props = {}) {
|
|
22
|
-
const [store, update] =
|
|
22
|
+
const [store, update] = _EVNF7KMTcjs.useStore.call(void 0, Core.createComboboxStore, props);
|
|
23
23
|
return useComboboxStoreProps(store, update, props);
|
|
24
24
|
}
|
|
25
25
|
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
|
|
4
|
+
var _QFGI3BJEcjs = require('./QFGI3BJE.cjs');
|
|
4
5
|
|
|
5
6
|
|
|
6
7
|
|
|
@@ -351,7 +352,7 @@ var usePopover = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
351
352
|
position: "relative"
|
|
352
353
|
}, props.style)
|
|
353
354
|
});
|
|
354
|
-
props =
|
|
355
|
+
props = _QFGI3BJEcjs.useDialog.call(void 0, _72I2GWXFcjs.__spreadProps.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, {
|
|
355
356
|
store,
|
|
356
357
|
modal,
|
|
357
358
|
preserveTabOrder,
|
|
@@ -363,10 +364,13 @@ var usePopover = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
363
364
|
return props;
|
|
364
365
|
}
|
|
365
366
|
);
|
|
366
|
-
var Popover =
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
367
|
+
var Popover = _QFGI3BJEcjs.createDialogComponent.call(void 0,
|
|
368
|
+
_Z5PUIG6Acjs.createComponent.call(void 0, (props) => {
|
|
369
|
+
const htmlProps = usePopover(props);
|
|
370
|
+
return _Z5PUIG6Acjs.createElement.call(void 0, "div", htmlProps);
|
|
371
|
+
}),
|
|
372
|
+
_AKOG5S2Tcjs.usePopoverProviderContext
|
|
373
|
+
);
|
|
370
374
|
if (process.env.NODE_ENV !== "production") {
|
|
371
375
|
Popover.displayName = "Popover";
|
|
372
376
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _EZKYHQVFcjs = require('./EZKYHQVF.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _A2NMYLCGcjs = require('./A2NMYLCG.cjs');
|
|
@@ -73,7 +73,7 @@ var useDisclosure = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
73
73
|
onMouseDown,
|
|
74
74
|
onClick
|
|
75
75
|
});
|
|
76
|
-
props =
|
|
76
|
+
props = _EZKYHQVFcjs.useButton.call(void 0, props);
|
|
77
77
|
return props;
|
|
78
78
|
}
|
|
79
79
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _232HWSNYcjs = require('./232HWSNY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _EVNF7KMTcjs = require('./EVNF7KMT.cjs');
|
|
7
7
|
|
|
8
8
|
// src/toolbar/toolbar-store.ts
|
|
9
9
|
var _toolbarstore = require('@ariakit/core/toolbar/toolbar-store'); var Core = _interopRequireWildcard(_toolbarstore);
|
|
10
10
|
function useToolbarStoreProps(store, update, props) {
|
|
11
|
-
return
|
|
11
|
+
return _232HWSNYcjs.useCompositeStoreProps.call(void 0, store, update, props);
|
|
12
12
|
}
|
|
13
13
|
function useToolbarStore(props = {}) {
|
|
14
|
-
const [store, update] =
|
|
14
|
+
const [store, update] = _EVNF7KMTcjs.useStore.call(void 0, Core.createToolbarStore, props);
|
|
15
15
|
return useToolbarStoreProps(store, update, props);
|
|
16
16
|
}
|
|
17
17
|
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _232HWSNYcjs = require('./232HWSNY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _EVNF7KMTcjs = require('./EVNF7KMT.cjs');
|
|
8
8
|
|
|
9
9
|
// src/radio/radio-store.ts
|
|
10
10
|
var _radiostore = require('@ariakit/core/radio/radio-store'); var Core = _interopRequireWildcard(_radiostore);
|
|
11
11
|
function useRadioStoreProps(store, update, props) {
|
|
12
|
-
store =
|
|
13
|
-
|
|
12
|
+
store = _232HWSNYcjs.useCompositeStoreProps.call(void 0, store, update, props);
|
|
13
|
+
_EVNF7KMTcjs.useStoreProps.call(void 0, store, props, "value", "setValue");
|
|
14
14
|
return store;
|
|
15
15
|
}
|
|
16
16
|
function useRadioStore(props = {}) {
|
|
17
|
-
const [store, update] =
|
|
17
|
+
const [store, update] = _EVNF7KMTcjs.useStore.call(void 0, Core.createRadioStore, props);
|
|
18
18
|
return useRadioStoreProps(store, update, props);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _35G5ZXPHcjs = require('./35G5ZXPH.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _XH2CZ7VFcjs = require('./XH2CZ7VF.cjs');
|
|
@@ -49,7 +49,7 @@ var usePopoverDisclosure = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
49
49
|
onClick
|
|
50
50
|
});
|
|
51
51
|
props = _XH2CZ7VFcjs.usePopoverAnchor.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store }, props));
|
|
52
|
-
props =
|
|
52
|
+
props = _35G5ZXPHcjs.useDialogDisclosure.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store }, props));
|
|
53
53
|
return props;
|
|
54
54
|
}
|
|
55
55
|
);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _EVNF7KMTcjs = require('./EVNF7KMT.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _5WLTMVVQcjs = require('./5WLTMVVQ.cjs');
|
|
@@ -10,11 +10,11 @@ var _5WLTMVVQcjs = require('./5WLTMVVQ.cjs');
|
|
|
10
10
|
var _checkboxstore = require('@ariakit/core/checkbox/checkbox-store'); var Core = _interopRequireWildcard(_checkboxstore);
|
|
11
11
|
function useCheckboxStoreProps(store, update, props) {
|
|
12
12
|
_5WLTMVVQcjs.useUpdateEffect.call(void 0, update, [props.store]);
|
|
13
|
-
|
|
13
|
+
_EVNF7KMTcjs.useStoreProps.call(void 0, store, props, "value", "setValue");
|
|
14
14
|
return store;
|
|
15
15
|
}
|
|
16
16
|
function useCheckboxStore(props = {}) {
|
|
17
|
-
const [store, update] =
|
|
17
|
+
const [store, update] = _EVNF7KMTcjs.useStore.call(void 0, Core.createCheckboxStore, props);
|
|
18
18
|
return useCheckboxStoreProps(store, update, props);
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _GUWJ7VTOcjs = require('./GUWJ7VTO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _WSW5XX7Fcjs = require('./WSW5XX7F.cjs');
|
|
@@ -20,7 +20,7 @@ var useToolbarItem = _Z5PUIG6Acjs.createHook.call(void 0,
|
|
|
20
20
|
var _b = _a, { store } = _b, props = _72I2GWXFcjs.__objRest.call(void 0, _b, ["store"]);
|
|
21
21
|
const context = _WSW5XX7Fcjs.useToolbarContext.call(void 0, );
|
|
22
22
|
store = store || context;
|
|
23
|
-
props =
|
|
23
|
+
props = _GUWJ7VTOcjs.useCompositeItem.call(void 0, _72I2GWXFcjs.__spreadValues.call(void 0, { store }, props));
|
|
24
24
|
return props;
|
|
25
25
|
}
|
|
26
26
|
);
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true}); function _interopRequireWildcard(obj) { if (obj && obj.__esModule) { return obj; } else { var newObj = {}; if (obj != null) { for (var key in obj) { if (Object.prototype.hasOwnProperty.call(obj, key)) { newObj[key] = obj[key]; } } } newObj.default = obj; return newObj; } }
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _HSOKUBYYcjs = require('./HSOKUBYY.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _EVNF7KMTcjs = require('./EVNF7KMT.cjs');
|
|
7
7
|
|
|
8
8
|
// src/dialog/dialog-store.ts
|
|
9
9
|
var _dialogstore = require('@ariakit/core/dialog/dialog-store'); var Core = _interopRequireWildcard(_dialogstore);
|
|
10
10
|
function useDialogStoreProps(store, update, props) {
|
|
11
|
-
return
|
|
11
|
+
return _HSOKUBYYcjs.useDisclosureStoreProps.call(void 0, store, update, props);
|
|
12
12
|
}
|
|
13
13
|
function useDialogStore(props = {}) {
|
|
14
|
-
const [store, update] =
|
|
14
|
+
const [store, update] = _EVNF7KMTcjs.useStore.call(void 0, Core.createDialogStore, props);
|
|
15
15
|
return useDialogStoreProps(store, update, props);
|
|
16
16
|
}
|
|
17
17
|
|
package/cjs/button/button.cjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../__chunks/
|
|
6
|
-
require('../__chunks/
|
|
4
|
+
var _EZKYHQVFcjs = require('../__chunks/EZKYHQVF.cjs');
|
|
5
|
+
require('../__chunks/HWZH54NB.cjs');
|
|
6
|
+
require('../__chunks/GQAB4M3B.cjs');
|
|
7
7
|
require('../__chunks/LHHW5ZQP.cjs');
|
|
8
8
|
require('../__chunks/Z5PUIG6A.cjs');
|
|
9
9
|
require('../__chunks/5WLTMVVQ.cjs');
|
|
@@ -12,4 +12,4 @@ require('../__chunks/72I2GWXF.cjs');
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
-
exports.Button =
|
|
15
|
+
exports.Button = _EZKYHQVFcjs.Button; exports.useButton = _EZKYHQVFcjs.useButton;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _ZIEW4CQOcjs = require('../__chunks/ZIEW4CQO.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _NER6RNCQcjs = require('../__chunks/NER6RNCQ.cjs');
|
|
7
7
|
require('../__chunks/Z5PUIG6A.cjs');
|
|
8
|
-
require('../__chunks/
|
|
8
|
+
require('../__chunks/EVNF7KMT.cjs');
|
|
9
9
|
require('../__chunks/5WLTMVVQ.cjs');
|
|
10
10
|
require('../__chunks/7WUTS26Y.cjs');
|
|
11
11
|
require('../__chunks/72I2GWXF.cjs');
|
|
@@ -13,7 +13,7 @@ require('../__chunks/72I2GWXF.cjs');
|
|
|
13
13
|
// src/checkbox/checkbox-provider.tsx
|
|
14
14
|
var _jsxruntime = require('react/jsx-runtime');
|
|
15
15
|
function CheckboxProvider(props = {}) {
|
|
16
|
-
const store =
|
|
16
|
+
const store = _ZIEW4CQOcjs.useCheckboxStore.call(void 0, props);
|
|
17
17
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _NER6RNCQcjs.CheckboxContextProvider, { value: store, children: props.children });
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../__chunks/
|
|
4
|
+
var _ZIEW4CQOcjs = require('../__chunks/ZIEW4CQO.cjs');
|
|
5
|
+
require('../__chunks/EVNF7KMT.cjs');
|
|
6
6
|
require('../__chunks/5WLTMVVQ.cjs');
|
|
7
7
|
require('../__chunks/7WUTS26Y.cjs');
|
|
8
8
|
require('../__chunks/72I2GWXF.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.useCheckboxStore =
|
|
12
|
+
exports.useCheckboxStore = _ZIEW4CQOcjs.useCheckboxStore; exports.useCheckboxStoreProps = _ZIEW4CQOcjs.useCheckboxStoreProps;
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _2H4Y2NEYcjs = require('../__chunks/2H4Y2NEY.cjs');
|
|
5
5
|
require('../__chunks/NER6RNCQ.cjs');
|
|
6
6
|
require('../__chunks/FO6MB5HF.cjs');
|
|
7
|
-
require('../__chunks/
|
|
8
|
-
require('../__chunks/
|
|
7
|
+
require('../__chunks/HWZH54NB.cjs');
|
|
8
|
+
require('../__chunks/GQAB4M3B.cjs');
|
|
9
9
|
require('../__chunks/LHHW5ZQP.cjs');
|
|
10
10
|
require('../__chunks/Z5PUIG6A.cjs');
|
|
11
|
-
require('../__chunks/
|
|
11
|
+
require('../__chunks/EVNF7KMT.cjs');
|
|
12
12
|
require('../__chunks/5WLTMVVQ.cjs');
|
|
13
13
|
require('../__chunks/7WUTS26Y.cjs');
|
|
14
14
|
require('../__chunks/72I2GWXF.cjs');
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.Checkbox =
|
|
18
|
+
exports.Checkbox = _2H4Y2NEYcjs.Checkbox; exports.useCheckbox = _2H4Y2NEYcjs.useCheckbox;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _76UBACFCcjs = require('../__chunks/76UBACFC.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
var _NHZBX2RScjs = require('../__chunks/NHZBX2RS.cjs');
|
|
7
7
|
require('../__chunks/Z5PUIG6A.cjs');
|
|
8
|
-
require('../__chunks/
|
|
8
|
+
require('../__chunks/EVNF7KMT.cjs');
|
|
9
9
|
require('../__chunks/5WLTMVVQ.cjs');
|
|
10
10
|
require('../__chunks/7WUTS26Y.cjs');
|
|
11
11
|
require('../__chunks/72I2GWXF.cjs');
|
|
@@ -13,7 +13,7 @@ require('../__chunks/72I2GWXF.cjs');
|
|
|
13
13
|
// src/collection/collection-provider.tsx
|
|
14
14
|
var _jsxruntime = require('react/jsx-runtime');
|
|
15
15
|
function CollectionProvider(props = {}) {
|
|
16
|
-
const store =
|
|
16
|
+
const store = _76UBACFCcjs.useCollectionStore.call(void 0, props);
|
|
17
17
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _NHZBX2RScjs.CollectionContextProvider, { value: store, children: props.children });
|
|
18
18
|
}
|
|
19
19
|
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
6
|
+
var _J37FS72Ucjs = require('../__chunks/J37FS72U.cjs');
|
|
7
7
|
require('../__chunks/NHZBX2RS.cjs');
|
|
8
8
|
require('../__chunks/Z5PUIG6A.cjs');
|
|
9
|
-
require('../__chunks/
|
|
9
|
+
require('../__chunks/EVNF7KMT.cjs');
|
|
10
10
|
require('../__chunks/5WLTMVVQ.cjs');
|
|
11
11
|
require('../__chunks/7WUTS26Y.cjs');
|
|
12
12
|
require('../__chunks/72I2GWXF.cjs');
|
|
@@ -15,4 +15,4 @@ require('../__chunks/72I2GWXF.cjs');
|
|
|
15
15
|
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
exports.CollectionRenderer =
|
|
18
|
+
exports.CollectionRenderer = _J37FS72Ucjs.CollectionRenderer; exports.getCollectionRendererItem = _J37FS72Ucjs.getCollectionRendererItem; exports.getCollectionRendererItemId = _J37FS72Ucjs.getCollectionRendererItemId; exports.useCollectionRenderer = _J37FS72Ucjs.useCollectionRenderer;
|