@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
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompositeItem,
|
|
3
3
|
useCompositeItem
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/IQXVWBXC.js";
|
|
5
|
+
import "../__chunks/CAIAWNDV.js";
|
|
6
6
|
import "../__chunks/XIA3HAXM.js";
|
|
7
7
|
import "../__chunks/OXPV2NBK.js";
|
|
8
8
|
import "../__chunks/5C7J4IAS.js";
|
|
9
9
|
import "../__chunks/74KKBFVP.js";
|
|
10
|
-
import "../__chunks/
|
|
10
|
+
import "../__chunks/YTHH33BK.js";
|
|
11
11
|
import "../__chunks/BMLNRUFQ.js";
|
|
12
12
|
import "../__chunks/CFEUKV6C.js";
|
|
13
|
-
import "../__chunks/
|
|
13
|
+
import "../__chunks/WHAB4XD6.js";
|
|
14
14
|
import "../__chunks/J7Q2EO23.js";
|
|
15
15
|
import "../__chunks/CP3U4HPL.js";
|
|
16
16
|
import "../__chunks/PNRLI7OV.js";
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopoverDisclosure
|
|
3
|
-
} from "../__chunks/
|
|
4
|
-
import "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
3
|
+
} from "../__chunks/HXYXHHNW.js";
|
|
4
|
+
import "../__chunks/5EAW3TWZ.js";
|
|
5
|
+
import "../__chunks/LRDCOOWL.js";
|
|
6
6
|
import "../__chunks/4FNI7F6H.js";
|
|
7
|
-
import "../__chunks/
|
|
7
|
+
import "../__chunks/TONP6TZ5.js";
|
|
8
8
|
import {
|
|
9
9
|
useCompositeItem
|
|
10
|
-
} from "../__chunks/
|
|
11
|
-
import "../__chunks/
|
|
10
|
+
} from "../__chunks/IQXVWBXC.js";
|
|
11
|
+
import "../__chunks/CAIAWNDV.js";
|
|
12
12
|
import "../__chunks/XIA3HAXM.js";
|
|
13
13
|
import "../__chunks/OXPV2NBK.js";
|
|
14
14
|
import "../__chunks/5C7J4IAS.js";
|
|
@@ -16,14 +16,14 @@ import "../__chunks/74KKBFVP.js";
|
|
|
16
16
|
import "../__chunks/547DFODS.js";
|
|
17
17
|
import "../__chunks/5YYGDU4E.js";
|
|
18
18
|
import "../__chunks/56KWVYDN.js";
|
|
19
|
-
import "../__chunks/
|
|
19
|
+
import "../__chunks/YTHH33BK.js";
|
|
20
20
|
import "../__chunks/BMLNRUFQ.js";
|
|
21
21
|
import {
|
|
22
22
|
createComponent,
|
|
23
23
|
createElement,
|
|
24
24
|
createHook
|
|
25
25
|
} from "../__chunks/CFEUKV6C.js";
|
|
26
|
-
import "../__chunks/
|
|
26
|
+
import "../__chunks/WHAB4XD6.js";
|
|
27
27
|
import {
|
|
28
28
|
useEvent,
|
|
29
29
|
useMergeRefs
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopoverStoreProps
|
|
3
|
-
} from "../__chunks/
|
|
4
|
-
import "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
3
|
+
} from "../__chunks/QTZ67ALK.js";
|
|
4
|
+
import "../__chunks/IZFXPXHG.js";
|
|
5
|
+
import "../__chunks/OD3JT64N.js";
|
|
6
6
|
import {
|
|
7
7
|
useStore
|
|
8
|
-
} from "../__chunks/
|
|
8
|
+
} from "../__chunks/WHAB4XD6.js";
|
|
9
9
|
import "../__chunks/J7Q2EO23.js";
|
|
10
10
|
import "../__chunks/CP3U4HPL.js";
|
|
11
11
|
import "../__chunks/PNRLI7OV.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
usePopover
|
|
3
|
-
} from "../__chunks/
|
|
4
|
-
import "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
3
|
+
} from "../__chunks/H3CXUGYG.js";
|
|
4
|
+
import "../__chunks/UXIMR4AS.js";
|
|
5
|
+
import "../__chunks/NXB7YL3C.js";
|
|
6
|
+
import "../__chunks/HWJ7DGMR.js";
|
|
7
|
+
import "../__chunks/7LB47D2O.js";
|
|
8
8
|
import "../__chunks/62DFK33R.js";
|
|
9
|
-
import "../__chunks/
|
|
10
|
-
import "../__chunks/
|
|
11
|
-
import "../__chunks/
|
|
9
|
+
import "../__chunks/FRKOFFMT.js";
|
|
10
|
+
import "../__chunks/EGOOWJGN.js";
|
|
11
|
+
import "../__chunks/7VWXICM7.js";
|
|
12
12
|
import "../__chunks/KOVUJERF.js";
|
|
13
13
|
import "../__chunks/IXXFVVA2.js";
|
|
14
|
-
import "../__chunks/
|
|
14
|
+
import "../__chunks/VRCYQ6JX.js";
|
|
15
15
|
import "../__chunks/7JNF6I52.js";
|
|
16
16
|
import "../__chunks/3LGVTTHD.js";
|
|
17
17
|
import "../__chunks/FW6QFGFT.js";
|
|
@@ -23,11 +23,11 @@ import "../__chunks/QW4PFVNF.js";
|
|
|
23
23
|
import "../__chunks/LDDPB3PY.js";
|
|
24
24
|
import "../__chunks/COQHFAEN.js";
|
|
25
25
|
import "../__chunks/PGK6S5NC.js";
|
|
26
|
-
import "../__chunks/
|
|
26
|
+
import "../__chunks/KK6NPMOP.js";
|
|
27
27
|
import "../__chunks/547DFODS.js";
|
|
28
28
|
import "../__chunks/5YYGDU4E.js";
|
|
29
29
|
import "../__chunks/56KWVYDN.js";
|
|
30
|
-
import "../__chunks/
|
|
30
|
+
import "../__chunks/YTHH33BK.js";
|
|
31
31
|
import "../__chunks/BMLNRUFQ.js";
|
|
32
32
|
import "../__chunks/6XXSNRNX.js";
|
|
33
33
|
import {
|
|
@@ -35,8 +35,9 @@ import {
|
|
|
35
35
|
createElement,
|
|
36
36
|
createHook
|
|
37
37
|
} from "../__chunks/CFEUKV6C.js";
|
|
38
|
-
import "../__chunks/
|
|
39
|
-
import "../__chunks/
|
|
38
|
+
import "../__chunks/IZFXPXHG.js";
|
|
39
|
+
import "../__chunks/OD3JT64N.js";
|
|
40
|
+
import "../__chunks/WHAB4XD6.js";
|
|
40
41
|
import {
|
|
41
42
|
useEvent
|
|
42
43
|
} from "../__chunks/J7Q2EO23.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCompositeStore
|
|
3
|
-
} from "../__chunks/
|
|
4
|
-
import "../__chunks/
|
|
3
|
+
} from "../__chunks/WRZGD4DH.js";
|
|
4
|
+
import "../__chunks/YS46MLTR.js";
|
|
5
5
|
import {
|
|
6
6
|
CompositeContextProvider
|
|
7
7
|
} from "../__chunks/5C7J4IAS.js";
|
|
8
8
|
import "../__chunks/74KKBFVP.js";
|
|
9
9
|
import "../__chunks/CFEUKV6C.js";
|
|
10
|
-
import "../__chunks/
|
|
10
|
+
import "../__chunks/WHAB4XD6.js";
|
|
11
11
|
import "../__chunks/J7Q2EO23.js";
|
|
12
12
|
import "../__chunks/CP3U4HPL.js";
|
|
13
13
|
import "../__chunks/PNRLI7OV.js";
|
|
@@ -64,59 +64,59 @@ export declare function useCompositeRenderer<T extends Item = any>({ store, orie
|
|
|
64
64
|
unselectable?: "on" | "off" | undefined;
|
|
65
65
|
inputMode?: "search" | "none" | "text" | "email" | "tel" | "url" | "numeric" | "decimal" | undefined;
|
|
66
66
|
is?: string | undefined;
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
67
|
+
"aria-activedescendant"?: string | undefined;
|
|
68
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
69
|
+
"aria-autocomplete"?: "both" | "none" | "inline" | "list" | undefined;
|
|
70
|
+
"aria-braillelabel"?: string | undefined;
|
|
71
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
72
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
73
|
+
"aria-checked"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
74
|
+
"aria-colcount"?: number | undefined;
|
|
75
|
+
"aria-colindex"?: number | undefined;
|
|
76
|
+
"aria-colindextext"?: string | undefined;
|
|
77
|
+
"aria-colspan"?: number | undefined;
|
|
78
|
+
"aria-controls"?: string | undefined;
|
|
79
|
+
"aria-current"?: boolean | "page" | "false" | "true" | "time" | "date" | "step" | "location" | undefined;
|
|
80
|
+
"aria-describedby"?: string | undefined;
|
|
81
|
+
"aria-description"?: string | undefined;
|
|
82
|
+
"aria-details"?: string | undefined;
|
|
83
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
84
|
+
"aria-dropeffect"?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
85
|
+
"aria-errormessage"?: string | undefined;
|
|
86
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
87
|
+
"aria-flowto"?: string | undefined;
|
|
88
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
89
|
+
"aria-haspopup"?: boolean | "listbox" | "grid" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
|
|
90
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
91
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
92
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
93
|
+
"aria-label"?: string | undefined;
|
|
94
|
+
"aria-labelledby"?: string | undefined;
|
|
95
|
+
"aria-level"?: number | undefined;
|
|
96
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
97
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
98
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
99
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
100
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
101
|
+
"aria-owns"?: string | undefined;
|
|
102
|
+
"aria-placeholder"?: string | undefined;
|
|
103
|
+
"aria-posinset"?: number | undefined;
|
|
104
|
+
"aria-pressed"?: boolean | "mixed" | "false" | "true" | undefined;
|
|
105
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
106
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
107
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
108
|
+
"aria-roledescription"?: string | undefined;
|
|
109
|
+
"aria-rowcount"?: number | undefined;
|
|
110
|
+
"aria-rowindex"?: number | undefined;
|
|
111
|
+
"aria-rowindextext"?: string | undefined;
|
|
112
|
+
"aria-rowspan"?: number | undefined;
|
|
113
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
114
|
+
"aria-setsize"?: number | undefined;
|
|
115
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
116
|
+
"aria-valuemax"?: number | undefined;
|
|
117
|
+
"aria-valuemin"?: number | undefined;
|
|
118
|
+
"aria-valuenow"?: number | undefined;
|
|
119
|
+
"aria-valuetext"?: string | undefined;
|
|
120
120
|
dangerouslySetInnerHTML?: {
|
|
121
121
|
__html: string | TrustedHTML;
|
|
122
122
|
} | undefined;
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
CompositeRenderer,
|
|
3
3
|
useCompositeRenderer
|
|
4
|
-
} from "../__chunks/
|
|
4
|
+
} from "../__chunks/DCODCZJS.js";
|
|
5
5
|
import {
|
|
6
6
|
getCollectionRendererItem,
|
|
7
7
|
getCollectionRendererItemId
|
|
8
|
-
} from "../__chunks/
|
|
8
|
+
} from "../__chunks/2FIUKXIM.js";
|
|
9
9
|
import "../__chunks/5C7J4IAS.js";
|
|
10
10
|
import "../__chunks/74KKBFVP.js";
|
|
11
11
|
import "../__chunks/CFEUKV6C.js";
|
|
12
|
-
import "../__chunks/
|
|
12
|
+
import "../__chunks/WHAB4XD6.js";
|
|
13
13
|
import "../__chunks/J7Q2EO23.js";
|
|
14
14
|
import "../__chunks/CP3U4HPL.js";
|
|
15
15
|
import "../__chunks/PNRLI7OV.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useCompositeStore,
|
|
3
3
|
useCompositeStoreProps
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/WRZGD4DH.js";
|
|
5
|
+
import "../__chunks/YS46MLTR.js";
|
|
6
|
+
import "../__chunks/WHAB4XD6.js";
|
|
7
7
|
import "../__chunks/J7Q2EO23.js";
|
|
8
8
|
import "../__chunks/CP3U4HPL.js";
|
|
9
9
|
import "../__chunks/PNRLI7OV.js";
|
|
@@ -36,10 +36,6 @@ export interface CompositeTypeaheadOptions<T extends As = "div"> extends Options
|
|
|
36
36
|
store?: CompositeStore;
|
|
37
37
|
/**
|
|
38
38
|
* Determines whether the typeahead behavior is enabled.
|
|
39
|
-
*
|
|
40
|
-
* Live examples:
|
|
41
|
-
* - [Multi-selectable
|
|
42
|
-
* Combobox](https://ariakit.org/examples/combobox-multiple)
|
|
43
39
|
* @default true
|
|
44
40
|
*/
|
|
45
41
|
typeahead?: boolean;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Composite,
|
|
3
3
|
useComposite
|
|
4
|
-
} from "../__chunks/
|
|
4
|
+
} from "../__chunks/56TAEBRJ.js";
|
|
5
5
|
import "../__chunks/OXPV2NBK.js";
|
|
6
6
|
import "../__chunks/5C7J4IAS.js";
|
|
7
7
|
import "../__chunks/74KKBFVP.js";
|
|
8
|
-
import "../__chunks/
|
|
8
|
+
import "../__chunks/YTHH33BK.js";
|
|
9
9
|
import "../__chunks/BMLNRUFQ.js";
|
|
10
10
|
import "../__chunks/CFEUKV6C.js";
|
|
11
11
|
import "../__chunks/J7Q2EO23.js";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DialogBackdrop
|
|
3
|
-
} from "../__chunks/
|
|
4
|
-
import "../__chunks/
|
|
3
|
+
} from "../__chunks/NXB7YL3C.js";
|
|
4
|
+
import "../__chunks/FRKOFFMT.js";
|
|
5
5
|
import "../__chunks/IXXFVVA2.js";
|
|
6
|
-
import "../__chunks/
|
|
6
|
+
import "../__chunks/VRCYQ6JX.js";
|
|
7
7
|
import "../__chunks/FW6QFGFT.js";
|
|
8
8
|
import "../__chunks/PGK6S5NC.js";
|
|
9
|
-
import "../__chunks/
|
|
9
|
+
import "../__chunks/KK6NPMOP.js";
|
|
10
10
|
import "../__chunks/5YYGDU4E.js";
|
|
11
11
|
import "../__chunks/56KWVYDN.js";
|
|
12
12
|
import "../__chunks/CFEUKV6C.js";
|
|
13
|
-
import "../__chunks/
|
|
14
|
-
import "../__chunks/
|
|
13
|
+
import "../__chunks/OD3JT64N.js";
|
|
14
|
+
import "../__chunks/WHAB4XD6.js";
|
|
15
15
|
import "../__chunks/J7Q2EO23.js";
|
|
16
16
|
import "../__chunks/CP3U4HPL.js";
|
|
17
17
|
import "../__chunks/PNRLI7OV.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DialogDisclosure,
|
|
3
3
|
useDialogDisclosure
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/5EAW3TWZ.js";
|
|
5
|
+
import "../__chunks/LRDCOOWL.js";
|
|
6
|
+
import "../__chunks/TONP6TZ5.js";
|
|
7
|
+
import "../__chunks/CAIAWNDV.js";
|
|
8
8
|
import "../__chunks/5YYGDU4E.js";
|
|
9
9
|
import "../__chunks/56KWVYDN.js";
|
|
10
|
-
import "../__chunks/
|
|
10
|
+
import "../__chunks/YTHH33BK.js";
|
|
11
11
|
import "../__chunks/BMLNRUFQ.js";
|
|
12
12
|
import "../__chunks/CFEUKV6C.js";
|
|
13
13
|
import "../__chunks/J7Q2EO23.js";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
DialogDismiss,
|
|
3
3
|
useDialogDismiss
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/3KBWC7LF.js";
|
|
5
|
+
import "../__chunks/TONP6TZ5.js";
|
|
6
|
+
import "../__chunks/CAIAWNDV.js";
|
|
7
7
|
import "../__chunks/5YYGDU4E.js";
|
|
8
8
|
import "../__chunks/56KWVYDN.js";
|
|
9
|
-
import "../__chunks/
|
|
9
|
+
import "../__chunks/YTHH33BK.js";
|
|
10
10
|
import "../__chunks/BMLNRUFQ.js";
|
|
11
11
|
import "../__chunks/CFEUKV6C.js";
|
|
12
12
|
import "../__chunks/J7Q2EO23.js";
|
|
@@ -5,9 +5,9 @@ import "../__chunks/56KWVYDN.js";
|
|
|
5
5
|
import "../__chunks/CFEUKV6C.js";
|
|
6
6
|
import {
|
|
7
7
|
useDialogStore
|
|
8
|
-
} from "../__chunks/
|
|
9
|
-
import "../__chunks/
|
|
10
|
-
import "../__chunks/
|
|
8
|
+
} from "../__chunks/IZFXPXHG.js";
|
|
9
|
+
import "../__chunks/OD3JT64N.js";
|
|
10
|
+
import "../__chunks/WHAB4XD6.js";
|
|
11
11
|
import "../__chunks/J7Q2EO23.js";
|
|
12
12
|
import "../__chunks/CP3U4HPL.js";
|
|
13
13
|
import "../__chunks/PNRLI7OV.js";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useDialogStore,
|
|
3
3
|
useDialogStoreProps
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
4
|
+
} from "../__chunks/IZFXPXHG.js";
|
|
5
|
+
import "../__chunks/OD3JT64N.js";
|
|
6
|
+
import "../__chunks/WHAB4XD6.js";
|
|
7
7
|
import "../__chunks/J7Q2EO23.js";
|
|
8
8
|
import "../__chunks/CP3U4HPL.js";
|
|
9
9
|
import "../__chunks/PNRLI7OV.js";
|
package/esm/dialog/dialog.d.ts
CHANGED
|
@@ -3,7 +3,7 @@ import type { BooleanOrCallback } from "@ariakit/core/utils/types";
|
|
|
3
3
|
import type { DisclosureContentOptions } from "../disclosure/disclosure-content.js";
|
|
4
4
|
import type { FocusableOptions } from "../focusable/focusable.js";
|
|
5
5
|
import type { PortalOptions } from "../portal/portal.js";
|
|
6
|
-
import type { As, Props } from "../utils/types.js";
|
|
6
|
+
import type { As, Component, Props } from "../utils/types.js";
|
|
7
7
|
import type { DialogStore } from "./dialog-store.js";
|
|
8
8
|
/**
|
|
9
9
|
* Returns props to create a `Dialog` component.
|
|
@@ -16,6 +16,7 @@ import type { DialogStore } from "./dialog-store.js";
|
|
|
16
16
|
* ```
|
|
17
17
|
*/
|
|
18
18
|
export declare const useDialog: import("../utils/types.js").Hook<DialogOptions<"div">>;
|
|
19
|
+
export declare function createDialogComponent<T extends DialogOptions>(Component: Component<T>, useProviderContext?: () => DialogStore | undefined): Component<T>;
|
|
19
20
|
/**
|
|
20
21
|
* Renders a dialog element.
|
|
21
22
|
* @see https://ariakit.org/components/dialog
|
|
@@ -26,23 +27,78 @@ export declare const useDialog: import("../utils/types.js").Hook<DialogOptions<"
|
|
|
26
27
|
* <Dialog store={dialog}>Dialog</Dialog>
|
|
27
28
|
* ```
|
|
28
29
|
*/
|
|
29
|
-
export declare const Dialog:
|
|
30
|
+
export declare const Dialog: Component<DialogOptions<"div">>;
|
|
30
31
|
export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>, PortalOptions<T>, DisclosureContentOptions<T> {
|
|
31
32
|
/**
|
|
32
|
-
* Object returned by the
|
|
33
|
+
* Object returned by the
|
|
34
|
+
* [`useDialogStore`](https://ariakit.org/reference/use-dialog-store) hook. If
|
|
35
|
+
* not provided, the closest
|
|
36
|
+
* [`DialogProvider`](https://ariakit.org/reference/dialog-provider)
|
|
37
|
+
* component's context will be used. Otherwise, an internal store will be
|
|
38
|
+
* created.
|
|
33
39
|
*/
|
|
34
40
|
store?: DialogStore;
|
|
41
|
+
/**
|
|
42
|
+
* Controls the open state of the dialog. This is similar to the
|
|
43
|
+
* [`open`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)
|
|
44
|
+
* attribute on native dialog elements.
|
|
45
|
+
*
|
|
46
|
+
* Live examples:
|
|
47
|
+
* - [Dialog with scrollable
|
|
48
|
+
* backdrop](https://ariakit.org/examples/dialog-backdrop-scrollable)
|
|
49
|
+
* - [Dialog with details &
|
|
50
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
51
|
+
* - [Warning on Dialog
|
|
52
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
53
|
+
* - [Dialog with Menu](https://ariakit.org/examples/dialog-menu)
|
|
54
|
+
*/
|
|
55
|
+
open?: boolean;
|
|
56
|
+
/**
|
|
57
|
+
* This is an event handler prop triggered when the dialog's `close` event is
|
|
58
|
+
* dispatched. The `close` event is similar to the native dialog
|
|
59
|
+
* [`close`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close_event)
|
|
60
|
+
* event. The only difference is that this event can be cancelled with
|
|
61
|
+
* `event.preventDefault()`, which will prevent the dialog from hiding.
|
|
62
|
+
*
|
|
63
|
+
* It's important to note that this event only fires when the dialog store's
|
|
64
|
+
* [`open`](https://ariakit.org/reference/use-dialog-store#open) state is set
|
|
65
|
+
* to `false`. If the controlled
|
|
66
|
+
* [`open`](https://ariakit.org/reference/dialog#open) prop value changes, or
|
|
67
|
+
* if the dialog's visibility is altered in any other way (such as unmounting
|
|
68
|
+
* the dialog without adjusting the open state), this event won't be
|
|
69
|
+
* triggered.
|
|
70
|
+
*
|
|
71
|
+
* Live examples:
|
|
72
|
+
* - [Dialog with scrollable
|
|
73
|
+
* backdrop](https://ariakit.org/examples/dialog-backdrop-scrollable)
|
|
74
|
+
* - [Dialog with details &
|
|
75
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
76
|
+
* - [Warning on Dialog
|
|
77
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
78
|
+
* - [Dialog with Menu](https://ariakit.org/examples/dialog-menu)
|
|
79
|
+
*/
|
|
80
|
+
onClose?: (event: Event) => void;
|
|
35
81
|
/**
|
|
36
82
|
* Determines whether the dialog is modal. Modal dialogs have distinct states
|
|
37
83
|
* and behaviors:
|
|
38
|
-
* - The `portal` and
|
|
39
|
-
*
|
|
40
|
-
*
|
|
41
|
-
*
|
|
42
|
-
* dialog
|
|
84
|
+
* - The [`portal`](https://ariakit.org/reference/dialog#portal) and
|
|
85
|
+
* [`preventBodyScroll`](https://ariakit.org/reference/dialog#preventbodyscroll)
|
|
86
|
+
* props are set to `true`. They can still be manually set to `false`.
|
|
87
|
+
* - A visually hidden dismiss button will be rendered if the
|
|
88
|
+
* [`DialogDismiss`](https://ariakit.org/reference/dialog-dismiss) component
|
|
89
|
+
* hasn't been used. This allows screen reader users to close the dialog.
|
|
43
90
|
* - When the dialog is open, element tree outside it will be disabled.
|
|
44
|
-
* - When using the `Heading` or
|
|
45
|
-
*
|
|
91
|
+
* - When using the [`Heading`](https://ariakit.org/reference/heading) or
|
|
92
|
+
* [`DialogHeading`](https://ariakit.org/reference/dialog-heading)
|
|
93
|
+
* components within the dialog, their level will be reset so they start
|
|
94
|
+
* with `h1`.
|
|
95
|
+
*
|
|
96
|
+
* Live examples:
|
|
97
|
+
* - [Dialog with details &
|
|
98
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
99
|
+
* - [Form with Select](https://ariakit.org/examples/form-select)
|
|
100
|
+
* - [Context menu](https://ariakit.org/examples/menu-context-menu)
|
|
101
|
+
* - [Responsive Popover](https://ariakit.org/examples/popover-responsive)
|
|
46
102
|
* @default true
|
|
47
103
|
*/
|
|
48
104
|
modal?: boolean;
|
|
@@ -86,6 +142,9 @@ export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>
|
|
|
86
142
|
/**
|
|
87
143
|
* Determines whether the dialog will be hidden when the user clicks or focus
|
|
88
144
|
* on an element outside of the dialog.
|
|
145
|
+
*
|
|
146
|
+
* Live examples:
|
|
147
|
+
* - [Selection Popover](https://ariakit.org/examples/popover-selection)
|
|
89
148
|
* @default true
|
|
90
149
|
*/
|
|
91
150
|
hideOnInteractOutside?: BooleanOrCallback<Event | SyntheticEvent>;
|
|
@@ -111,6 +170,12 @@ export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>
|
|
|
111
170
|
* dialog is shown. By default, this is usually the first tabbable element in
|
|
112
171
|
* the dialog or the dialog itself. The `initialFocus` prop can be used to set
|
|
113
172
|
* a different element to receive focus.
|
|
173
|
+
*
|
|
174
|
+
* Live examples:
|
|
175
|
+
* - [Warning on Dialog
|
|
176
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
177
|
+
* - [Sliding Menu](https://ariakit.org/examples/menu-slide)
|
|
178
|
+
* - [Selection Popover](https://ariakit.org/examples/popover-selection)
|
|
114
179
|
* @default true
|
|
115
180
|
*/
|
|
116
181
|
autoFocusOnShow?: BooleanOrCallback<HTMLElement | null>;
|
|
@@ -127,10 +192,14 @@ export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>
|
|
|
127
192
|
/**
|
|
128
193
|
* Specifies the element that will receive focus when the dialog is first
|
|
129
194
|
* opened. It can be an `HTMLElement` or a `React.RefObject` with an
|
|
130
|
-
* `HTMLElement`.
|
|
131
|
-
*
|
|
132
|
-
*
|
|
133
|
-
*
|
|
195
|
+
* `HTMLElement`.
|
|
196
|
+
*
|
|
197
|
+
* If
|
|
198
|
+
* [`autoFocusOnShow`](https://ariakit.org/reference/dialog#autofocusonshow)
|
|
199
|
+
* is set to `false`, this prop will have no effect. If left unset, the dialog
|
|
200
|
+
* will attempt to determine the initial focus element in the following order:
|
|
201
|
+
* 1. A [Focusable](https://ariakit.org/components/focusable) element with an
|
|
202
|
+
* [`autoFocus`](https://ariakit.org/reference/focusable#autofocus) prop.
|
|
134
203
|
* 2. The first tabbable element inside the dialog.
|
|
135
204
|
* 3. The first focusable element inside the dialog.
|
|
136
205
|
* 4. The dialog element itself.
|
package/esm/dialog/dialog.js
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Dialog,
|
|
3
|
+
createDialogComponent,
|
|
3
4
|
useDialog
|
|
4
|
-
} from "../__chunks/
|
|
5
|
-
import "../__chunks/
|
|
6
|
-
import "../__chunks/
|
|
7
|
-
import "../__chunks/
|
|
5
|
+
} from "../__chunks/UXIMR4AS.js";
|
|
6
|
+
import "../__chunks/NXB7YL3C.js";
|
|
7
|
+
import "../__chunks/HWJ7DGMR.js";
|
|
8
|
+
import "../__chunks/7LB47D2O.js";
|
|
8
9
|
import "../__chunks/62DFK33R.js";
|
|
9
|
-
import "../__chunks/
|
|
10
|
-
import "../__chunks/
|
|
11
|
-
import "../__chunks/
|
|
10
|
+
import "../__chunks/FRKOFFMT.js";
|
|
11
|
+
import "../__chunks/EGOOWJGN.js";
|
|
12
|
+
import "../__chunks/7VWXICM7.js";
|
|
12
13
|
import "../__chunks/KOVUJERF.js";
|
|
13
14
|
import "../__chunks/IXXFVVA2.js";
|
|
14
|
-
import "../__chunks/
|
|
15
|
+
import "../__chunks/VRCYQ6JX.js";
|
|
15
16
|
import "../__chunks/7JNF6I52.js";
|
|
16
17
|
import "../__chunks/3LGVTTHD.js";
|
|
17
18
|
import "../__chunks/FW6QFGFT.js";
|
|
@@ -23,19 +24,21 @@ import "../__chunks/QW4PFVNF.js";
|
|
|
23
24
|
import "../__chunks/LDDPB3PY.js";
|
|
24
25
|
import "../__chunks/COQHFAEN.js";
|
|
25
26
|
import "../__chunks/PGK6S5NC.js";
|
|
26
|
-
import "../__chunks/
|
|
27
|
+
import "../__chunks/KK6NPMOP.js";
|
|
27
28
|
import "../__chunks/5YYGDU4E.js";
|
|
28
29
|
import "../__chunks/56KWVYDN.js";
|
|
29
|
-
import "../__chunks/
|
|
30
|
+
import "../__chunks/YTHH33BK.js";
|
|
30
31
|
import "../__chunks/BMLNRUFQ.js";
|
|
31
32
|
import "../__chunks/6XXSNRNX.js";
|
|
32
33
|
import "../__chunks/CFEUKV6C.js";
|
|
33
|
-
import "../__chunks/
|
|
34
|
-
import "../__chunks/
|
|
34
|
+
import "../__chunks/IZFXPXHG.js";
|
|
35
|
+
import "../__chunks/OD3JT64N.js";
|
|
36
|
+
import "../__chunks/WHAB4XD6.js";
|
|
35
37
|
import "../__chunks/J7Q2EO23.js";
|
|
36
38
|
import "../__chunks/CP3U4HPL.js";
|
|
37
39
|
import "../__chunks/PNRLI7OV.js";
|
|
38
40
|
export {
|
|
39
41
|
Dialog,
|
|
42
|
+
createDialogComponent,
|
|
40
43
|
useDialog
|
|
41
44
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
type Elements = Array<Element | null>;
|
|
2
2
|
export declare function hideElementFromAccessibilityTree(element: Element): () => void;
|
|
3
|
-
export declare function disableAccessibilityTreeOutside(
|
|
3
|
+
export declare function disableAccessibilityTreeOutside(id: string, elements: Elements): () => void;
|
|
4
4
|
export {};
|