@ariakit/react-core 0.3.3 → 0.3.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +80 -0
- package/cjs/__chunks/{CQSUIL2D.cjs → 2BIO7R5N.cjs} +3 -1
- package/cjs/__chunks/{OAEUR56W.cjs → 2TEJFTKY.cjs} +8 -7
- package/cjs/__chunks/{L4TB7MRW.cjs → 2UXXG7NZ.cjs} +46 -23
- package/cjs/__chunks/{FGAN5BEK.cjs → 3BMU6SYC.cjs} +13 -12
- package/cjs/__chunks/{HRUFFILM.cjs → 4H55S5YC.cjs} +9 -8
- package/cjs/__chunks/4NC3T4TV.cjs +44 -0
- package/cjs/__chunks/{WSW5XX7F.cjs → 4YG3D3TM.cjs} +7 -6
- package/cjs/__chunks/{TLA46MN6.cjs → 5GTNIPQ6.cjs} +5 -4
- package/cjs/__chunks/5NKFHQZ2.cjs +35 -0
- package/cjs/__chunks/{KFXK3MNI.cjs → 6HAYK3MK.cjs} +3 -1
- package/cjs/__chunks/{56NPFF7P.cjs → 6IUEXB4L.cjs} +3 -1
- package/cjs/__chunks/{SELCJFCB.cjs → 6MOJZWML.cjs} +40 -39
- package/cjs/__chunks/6QAZTNB3.cjs +49 -0
- package/cjs/__chunks/{LHHW5ZQP.cjs → 75KXQZJX.cjs} +3 -1
- package/cjs/__chunks/{GQAB4M3B.cjs → 7ARL6QHN.cjs} +23 -21
- package/cjs/__chunks/{ZA36X7UQ.cjs → 7QGHCN3D.cjs} +6 -5
- package/cjs/__chunks/{X2GXTE3P.cjs → 7TN63K2T.cjs} +3 -1
- package/cjs/__chunks/{Z3TLXRS7.cjs → 7YLCVXZ7.cjs} +3 -1
- package/cjs/__chunks/{MNZPRWGC.cjs → AE6TH3T4.cjs} +24 -23
- package/cjs/__chunks/{IK6X277S.cjs → AET6NN6S.cjs} +19 -18
- package/cjs/__chunks/{4K6QJIPX.cjs → AH3CUB6N.cjs} +3 -1
- package/cjs/__chunks/{VIPX6GSM.cjs → AIPLRMQM.cjs} +12 -11
- package/cjs/__chunks/{BSOHJE7R.cjs → AX6LOJFX.cjs} +19 -18
- package/cjs/__chunks/{HIGZ476M.cjs → BRJSETQA.cjs} +9 -8
- package/cjs/__chunks/{NPP6EMNE.cjs → BYH4RK4N.cjs} +11 -10
- package/cjs/__chunks/{2FBFVNEX.cjs → C62OAIZV.cjs} +14 -13
- package/cjs/__chunks/CU67FFZI.cjs +34 -0
- package/cjs/__chunks/{NS56XHXG.cjs → CVD2AZE2.cjs} +3 -1
- package/cjs/__chunks/{RWS2MAR2.cjs → D5XLZTLO.cjs} +4 -3
- package/cjs/__chunks/{COHI5HTS.cjs → DEZWSLIM.cjs} +14 -13
- package/cjs/__chunks/{DFFFHQVQ.cjs → DJLIJTDU.cjs} +14 -13
- package/cjs/__chunks/{FO6MB5HF.cjs → ERFHNHON.cjs} +3 -1
- package/cjs/__chunks/{32BSJR36.cjs → F55FAJ6A.cjs} +24 -23
- package/cjs/__chunks/F6CFLPMO.cjs +33 -0
- package/cjs/__chunks/{FXRXBA2Y.cjs → F7HB6RYG.cjs} +23 -19
- package/cjs/__chunks/{FPNO6JL5.cjs → FD3VCGWP.cjs} +7 -6
- package/cjs/__chunks/{K56WQU76.cjs → FE3YCURH.cjs} +3 -1
- package/cjs/__chunks/{JQKZHT3K.cjs → FNDHFFQY.cjs} +8 -7
- package/cjs/__chunks/{H7R5D2FR.cjs → FQGSRSYD.cjs} +7 -6
- package/cjs/__chunks/G3CEEQUP.cjs +43 -0
- package/cjs/__chunks/GXNCC5AV.cjs +41 -0
- package/cjs/__chunks/{D3SPQ2OY.cjs → H2TTW65Q.cjs} +45 -42
- package/cjs/__chunks/{HBZJ2UC5.cjs → HDF3U5G4.cjs} +7 -6
- package/cjs/__chunks/{4YBHDRLG.cjs → HSIFMSHW.cjs} +8 -7
- package/cjs/__chunks/{FMI5QF7N.cjs → HY2NPBHW.cjs} +14 -13
- package/cjs/__chunks/{YJVXQQJ3.cjs → I2Z34PEH.cjs} +14 -13
- package/cjs/__chunks/{Y66YQJ4L.cjs → I7FUZRNN.cjs} +6 -5
- package/cjs/__chunks/{RXP7Z4XR.cjs → IBMLAICP.cjs} +18 -17
- package/cjs/__chunks/{Z6EBOLR5.cjs → IE75SSVL.cjs} +9 -8
- package/cjs/__chunks/{SOPRUU56.cjs → J3OG6T3B.cjs} +5 -4
- package/cjs/__chunks/{WUQKDMC4.cjs → JA2O66IU.cjs} +32 -27
- package/cjs/__chunks/{W32FX7DM.cjs → JF225FQ5.cjs} +3 -1
- package/cjs/__chunks/{ZKEGT5BQ.cjs → JLZMDZGE.cjs} +21 -20
- package/cjs/__chunks/{5WLTMVVQ.cjs → JTVNRMAC.cjs} +7 -6
- package/cjs/__chunks/{NHZBX2RS.cjs → JVORNAMD.cjs} +4 -3
- package/cjs/__chunks/{JJ22W2WS.cjs → KJQSD4SL.cjs} +19 -18
- package/cjs/__chunks/{ZZHSM37C.cjs → KKBPJ4X4.cjs} +15 -14
- package/cjs/__chunks/{NER6RNCQ.cjs → KU7YLZWT.cjs} +4 -3
- package/cjs/__chunks/{ZBG4TGVL.cjs → KXLF6YSN.cjs} +8 -7
- package/cjs/__chunks/{OLGMV24U.cjs → KXQOQQ5B.cjs} +3 -1
- package/cjs/__chunks/{AKOG5S2T.cjs → KZA6P235.cjs} +7 -6
- package/cjs/__chunks/{OKMDKM3M.cjs → L2N2X3HZ.cjs} +8 -7
- package/cjs/__chunks/{PQU457XU.cjs → L5APETYY.cjs} +123 -99
- package/cjs/__chunks/{7WUTS26Y.cjs → LNE2FWJO.cjs} +5 -4
- package/cjs/__chunks/{SQPRIHDR.cjs → LXGEK4ZH.cjs} +8 -7
- package/cjs/__chunks/{VI6T32XI.cjs → LXIYFIHE.cjs} +13 -12
- package/cjs/__chunks/{I2EPCLS6.cjs → M3F5A3H5.cjs} +8 -7
- package/cjs/__chunks/{64S5KX7F.cjs → NFJS7B5M.cjs} +31 -30
- package/cjs/__chunks/{DGL5AMAW.cjs → NKMUYKJA.cjs} +10 -9
- package/cjs/__chunks/{NFFY66XZ.cjs → NKUO6VN5.cjs} +12 -11
- package/cjs/__chunks/NLP7FWTB.cjs +39 -0
- package/cjs/__chunks/{MITXZOVW.cjs → NLTNFPAX.cjs} +10 -9
- package/cjs/__chunks/{LQZ6USCZ.cjs → OPSHLOSD.cjs} +63 -62
- package/cjs/__chunks/{BMAPXRQV.cjs → OQTZAPK7.cjs} +23 -22
- package/cjs/__chunks/{Q6W7IWNJ.cjs → ORT5QOHH.cjs} +7 -6
- package/cjs/__chunks/{VLI66TFL.cjs → P34T42GI.cjs} +7 -6
- package/cjs/__chunks/{CKEXTQ2S.cjs → PG7QUWN4.cjs} +11 -10
- package/cjs/__chunks/PH2Q5GQR.cjs +42 -0
- package/cjs/__chunks/{ELOQI33M.cjs → POBIUXYK.cjs} +4 -3
- package/cjs/__chunks/{VTRMALP6.cjs → PRN5A3P4.cjs} +8 -7
- package/cjs/__chunks/{O7UGQ5NR.cjs → PY7LXBFA.cjs} +20 -19
- package/cjs/__chunks/{F4RJLWZG.cjs → PZL34OVO.cjs} +8 -7
- package/cjs/__chunks/{P4F26HLT.cjs → Q4NPNRJZ.cjs} +12 -11
- package/cjs/__chunks/{KSFAO77E.cjs → QCAPQDE7.cjs} +9 -8
- package/cjs/__chunks/{W6ZRSMO5.cjs → QKKT6RXX.cjs} +7 -6
- package/cjs/__chunks/{3MYGLY4O.cjs → QQNI2PXZ.cjs} +6 -5
- package/cjs/__chunks/{J72SOT4S.cjs → QSZHJK4J.cjs} +16 -15
- package/cjs/__chunks/{LPFT4ZFH.cjs → QWH4QBHA.cjs} +16 -15
- package/cjs/__chunks/{ORDLD4QX.cjs → QXQFY7FW.cjs} +7 -6
- package/cjs/__chunks/{EOLXNGMX.cjs → QZSAUMPI.cjs} +15 -14
- package/cjs/__chunks/{RSJXW4HU.cjs → RCYQROHJ.cjs} +18 -17
- package/cjs/__chunks/{UBRGEBVN.cjs → RGAVRWMY.cjs} +7 -6
- package/cjs/__chunks/RJZ35XFC.cjs +41 -0
- package/cjs/__chunks/{KLZID3QO.cjs → RV3PHHWM.cjs} +3 -1
- package/cjs/__chunks/{5E5FKYEO.cjs → RXGXI75N.cjs} +37 -19
- package/cjs/__chunks/{A2NMYLCG.cjs → SMKW5GKS.cjs} +4 -3
- package/cjs/__chunks/{TFIVWWWL.cjs → TQ27KUD6.cjs} +8 -7
- package/cjs/__chunks/{6G334OGZ.cjs → TRPJVP5K.cjs} +7 -6
- package/cjs/__chunks/{DC66R2NY.cjs → TUYB72LL.cjs} +15 -14
- package/cjs/__chunks/{JDIVO6OK.cjs → U74DRAW2.cjs} +14 -13
- package/cjs/__chunks/{H562FOJ4.cjs → UL3EZVAK.cjs} +54 -33
- package/cjs/__chunks/{BWQVQDGC.cjs → V24PR4PW.cjs} +3 -1
- package/cjs/__chunks/{Z5PUIG6A.cjs → VKYTJKYN.cjs} +20 -19
- package/cjs/__chunks/{4WUYORFX.cjs → VPDW6TOS.cjs} +24 -23
- package/cjs/__chunks/VSO45UA5.cjs +51 -0
- package/cjs/__chunks/{QK4GI6B3.cjs → VV6WA3I6.cjs} +11 -10
- package/cjs/__chunks/VZI5MZ7D.cjs +44 -0
- package/cjs/__chunks/{K5M7LOPE.cjs → W23HEISM.cjs} +7 -6
- package/cjs/__chunks/{UHRHLHM2.cjs → WLJVTO7A.cjs} +16 -46
- package/cjs/__chunks/WP7ZSALI.cjs +39 -0
- package/cjs/__chunks/{2U6ETSVZ.cjs → WQHSXOMF.cjs} +28 -27
- package/cjs/__chunks/{72I2GWXF.cjs → WYXAWBLE.cjs} +2 -1
- package/cjs/__chunks/{KMOIJMBF.cjs → XCM6Y3AX.cjs} +13 -12
- package/cjs/__chunks/{6RYSMHQY.cjs → YRDDHZT7.cjs} +11 -10
- package/cjs/__chunks/{45OYD4CU.cjs → YREZ6S36.cjs} +18 -17
- package/cjs/__chunks/{ZHMGQCNX.cjs → ZDTJSOSW.cjs} +18 -17
- package/cjs/button/button.cjs +11 -10
- package/cjs/button/button.d.cts +26 -0
- package/cjs/checkbox/checkbox-check.cjs +9 -8
- package/cjs/checkbox/checkbox-check.d.cts +37 -0
- package/cjs/checkbox/checkbox-checked-context.cjs +5 -4
- package/cjs/checkbox/checkbox-checked-context.d.cts +1 -0
- package/cjs/checkbox/checkbox-context.cjs +8 -7
- package/cjs/checkbox/checkbox-context.d.cts +19 -0
- package/cjs/checkbox/checkbox-provider.cjs +11 -10
- package/cjs/checkbox/checkbox-provider.d.cts +29 -0
- package/cjs/checkbox/checkbox-store.cjs +8 -7
- package/cjs/checkbox/checkbox-store.d.cts +35 -0
- package/cjs/checkbox/checkbox.cjs +14 -13
- package/cjs/checkbox/checkbox.d.cts +79 -0
- package/cjs/checkbox/checkbox.d.ts +4 -0
- package/cjs/collection/collection-context.cjs +8 -7
- package/cjs/collection/collection-context.d.cts +34 -0
- package/cjs/collection/collection-item.cjs +9 -8
- package/cjs/collection/collection-item.d.cts +55 -0
- package/cjs/collection/collection-provider.cjs +11 -10
- package/cjs/collection/collection-provider.d.cts +22 -0
- package/cjs/collection/collection-renderer.cjs +10 -9
- package/cjs/collection/collection-renderer.d.cts +449 -0
- package/cjs/collection/collection-renderer.d.ts +53 -53
- package/cjs/collection/collection-store.cjs +8 -7
- package/cjs/collection/collection-store.d.cts +38 -0
- package/cjs/collection/collection.cjs +14 -13
- package/cjs/collection/collection.d.cts +46 -0
- package/cjs/combobox/combobox-cancel.cjs +24 -23
- package/cjs/combobox/combobox-cancel.d.cts +44 -0
- package/cjs/combobox/combobox-context.cjs +13 -12
- package/cjs/combobox/combobox-context.d.cts +20 -0
- package/cjs/combobox/combobox-disclosure.cjs +27 -26
- package/cjs/combobox/combobox-disclosure.d.cts +50 -0
- package/cjs/combobox/combobox-group-label.cjs +13 -12
- package/cjs/combobox/combobox-group-label.d.cts +48 -0
- package/cjs/combobox/combobox-group.cjs +13 -12
- package/cjs/combobox/combobox-group.d.cts +51 -0
- package/cjs/combobox/combobox-item-value.cjs +19 -18
- package/cjs/combobox/combobox-item-value.d.cts +68 -0
- package/cjs/combobox/combobox-item.cjs +36 -35
- package/cjs/combobox/combobox-item.d.cts +94 -0
- package/cjs/combobox/combobox-list.cjs +18 -16
- package/cjs/combobox/combobox-list.d.cts +51 -0
- package/cjs/combobox/combobox-popover.cjs +56 -51
- package/cjs/combobox/combobox-popover.d.cts +40 -0
- package/cjs/combobox/combobox-provider.cjs +21 -20
- package/cjs/combobox/combobox-provider.d.cts +21 -0
- package/cjs/combobox/combobox-row.cjs +20 -19
- package/cjs/combobox/combobox-row.d.cts +55 -0
- package/cjs/combobox/combobox-separator.cjs +20 -19
- package/cjs/combobox/combobox-separator.d.cts +48 -0
- package/cjs/combobox/combobox-store.cjs +13 -12
- package/cjs/combobox/combobox-store.d.cts +43 -0
- package/cjs/combobox/combobox.cjs +48 -45
- package/cjs/combobox/combobox.d.cts +168 -0
- package/cjs/command/command.cjs +10 -9
- package/cjs/command/command.d.cts +51 -0
- package/cjs/composite/composite-container.cjs +12 -11
- package/cjs/composite/composite-container.d.cts +44 -0
- package/cjs/composite/composite-context.cjs +9 -8
- package/cjs/composite/composite-context.d.cts +30 -0
- package/cjs/composite/composite-group-label.cjs +10 -9
- package/cjs/composite/composite-group-label.d.cts +42 -0
- package/cjs/composite/composite-group.cjs +10 -9
- package/cjs/composite/composite-group.d.cts +44 -0
- package/cjs/composite/composite-hover.cjs +10 -9
- package/cjs/composite/composite-hover.d.cts +51 -0
- package/cjs/composite/composite-input.cjs +9 -8
- package/cjs/composite/composite-input.d.cts +39 -0
- package/cjs/composite/composite-item.cjs +16 -15
- package/cjs/composite/composite-item.d.cts +56 -0
- package/cjs/composite/composite-overflow-disclosure.cjs +33 -32
- package/cjs/composite/composite-overflow-disclosure.d.cts +45 -0
- package/cjs/composite/composite-overflow-store.cjs +11 -10
- package/cjs/composite/composite-overflow-store.d.cts +33 -0
- package/cjs/composite/composite-overflow.cjs +49 -47
- package/cjs/composite/composite-overflow.d.cts +46 -0
- package/cjs/composite/composite-provider.cjs +13 -12
- package/cjs/composite/composite-provider.d.cts +24 -0
- package/cjs/composite/composite-renderer.cjs +12 -11
- package/cjs/composite/composite-renderer.d.cts +317 -0
- package/cjs/composite/composite-renderer.d.ts +53 -53
- package/cjs/composite/composite-row.cjs +10 -9
- package/cjs/composite/composite-row.d.cts +52 -0
- package/cjs/composite/composite-separator.cjs +11 -10
- package/cjs/composite/composite-separator.d.cts +40 -0
- package/cjs/composite/composite-store.cjs +9 -8
- package/cjs/composite/composite-store.d.cts +39 -0
- package/cjs/composite/composite-typeahead.cjs +11 -10
- package/cjs/composite/composite-typeahead.d.cts +43 -0
- package/cjs/composite/composite.cjs +13 -12
- package/cjs/composite/composite.d.cts +58 -0
- package/cjs/composite/utils.cjs +5 -4
- package/cjs/composite/utils.d.cts +69 -0
- package/cjs/dialog/dialog-backdrop.cjs +18 -17
- package/cjs/dialog/dialog-backdrop.d.cts +7 -0
- package/cjs/dialog/dialog-context.cjs +9 -8
- package/cjs/dialog/dialog-context.d.cts +22 -0
- package/cjs/dialog/dialog-description.cjs +10 -9
- package/cjs/dialog/dialog-description.d.cts +40 -0
- package/cjs/dialog/dialog-description.d.ts +10 -7
- package/cjs/dialog/dialog-disclosure.cjs +15 -14
- package/cjs/dialog/dialog-disclosure.d.cts +38 -0
- package/cjs/dialog/dialog-disclosure.d.ts +10 -5
- package/cjs/dialog/dialog-dismiss.cjs +14 -13
- package/cjs/dialog/dialog-dismiss.d.cts +39 -0
- package/cjs/dialog/dialog-dismiss.d.ts +8 -4
- package/cjs/dialog/dialog-heading.cjs +12 -11
- package/cjs/dialog/dialog-heading.d.cts +41 -0
- package/cjs/dialog/dialog-heading.d.ts +11 -7
- package/cjs/dialog/dialog-provider.cjs +13 -12
- package/cjs/dialog/dialog-provider.d.cts +16 -0
- package/cjs/dialog/dialog-store.cjs +9 -8
- package/cjs/dialog/dialog-store.d.cts +23 -0
- package/cjs/dialog/dialog.cjs +45 -41
- package/cjs/dialog/dialog.d.cts +231 -0
- package/cjs/dialog/dialog.d.ts +81 -13
- package/cjs/dialog/utils/disable-accessibility-tree-outside.cjs +8 -7
- package/cjs/dialog/utils/disable-accessibility-tree-outside.d.cts +4 -0
- package/cjs/dialog/utils/disable-tree.cjs +10 -9
- package/cjs/dialog/utils/disable-tree.d.cts +5 -0
- package/cjs/dialog/utils/is-backdrop.cjs +5 -4
- package/cjs/dialog/utils/is-backdrop.d.cts +1 -0
- package/cjs/dialog/utils/mark-tree-outside.cjs +8 -7
- package/cjs/dialog/utils/mark-tree-outside.d.cts +6 -0
- package/cjs/dialog/utils/orchestrate.cjs +5 -4
- package/cjs/dialog/utils/orchestrate.d.cts +4 -0
- package/cjs/dialog/utils/prepend-hidden-dismiss.cjs +5 -4
- package/cjs/dialog/utils/prepend-hidden-dismiss.d.cts +1 -0
- package/cjs/dialog/utils/supports-inert.cjs +5 -4
- package/cjs/dialog/utils/supports-inert.d.cts +1 -0
- package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +12 -11
- package/cjs/dialog/utils/use-hide-on-interact-outside.d.cts +3 -0
- package/cjs/dialog/utils/use-nested-dialogs.cjs +7 -6
- package/cjs/dialog/utils/use-nested-dialogs.d.cts +6 -0
- package/cjs/dialog/utils/use-prevent-body-scroll.cjs +9 -8
- package/cjs/dialog/utils/use-prevent-body-scroll.d.cts +1 -0
- package/cjs/dialog/utils/use-previous-mouse-down-ref.cjs +5 -4
- package/cjs/dialog/utils/use-previous-mouse-down-ref.d.cts +1 -0
- package/cjs/dialog/utils/use-root-dialog.cjs +7 -6
- package/cjs/dialog/utils/use-root-dialog.d.cts +8 -0
- package/cjs/dialog/utils/walk-tree-outside.cjs +6 -5
- package/cjs/dialog/utils/walk-tree-outside.d.cts +5 -0
- package/cjs/disclosure/disclosure-content.cjs +11 -9
- package/cjs/disclosure/disclosure-content.d.cts +74 -0
- package/cjs/disclosure/disclosure-content.d.ts +14 -0
- package/cjs/disclosure/disclosure-context.cjs +8 -7
- package/cjs/disclosure/disclosure-context.d.cts +19 -0
- package/cjs/disclosure/disclosure-provider.cjs +11 -10
- package/cjs/disclosure/disclosure-provider.d.cts +17 -0
- package/cjs/disclosure/disclosure-store.cjs +8 -7
- package/cjs/disclosure/disclosure-store.d.cts +36 -0
- package/cjs/disclosure/disclosure.cjs +13 -12
- package/cjs/disclosure/disclosure.d.cts +49 -0
- package/cjs/focus-trap/focus-trap-region.cjs +16 -15
- package/cjs/focus-trap/focus-trap-region.d.cts +32 -0
- package/cjs/focus-trap/focus-trap.cjs +9 -8
- package/cjs/focus-trap/focus-trap.d.cts +23 -0
- package/cjs/focusable/focusable-container.cjs +9 -8
- package/cjs/focusable/focusable-container.d.cts +33 -0
- package/cjs/focusable/focusable-context.cjs +5 -4
- package/cjs/focusable/focusable-context.d.cts +1 -0
- package/cjs/focusable/focusable.cjs +9 -8
- package/cjs/focusable/focusable.d.cts +113 -0
- package/cjs/focusable/focusable.d.ts +2 -0
- package/cjs/form/form-checkbox.cjs +26 -25
- package/cjs/form/form-checkbox.d.cts +41 -0
- package/cjs/form/form-checkbox.d.ts +1 -1
- package/cjs/form/form-context.cjs +9 -8
- package/cjs/form/form-context.d.cts +19 -0
- package/cjs/form/form-description.cjs +19 -18
- package/cjs/form/form-description.d.cts +54 -0
- package/cjs/form/form-error.cjs +19 -18
- package/cjs/form/form-error.d.cts +67 -0
- package/cjs/form/form-field.cjs +11 -10
- package/cjs/form/form-field.d.cts +80 -0
- package/cjs/form/form-group-label.cjs +13 -12
- package/cjs/form/form-group-label.d.cts +52 -0
- package/cjs/form/form-group.cjs +10 -9
- package/cjs/form/form-group.d.cts +52 -0
- package/cjs/form/form-input.cjs +21 -20
- package/cjs/form/form-input.d.cts +42 -0
- package/cjs/form/form-label.cjs +23 -22
- package/cjs/form/form-label.d.cts +58 -0
- package/cjs/form/form-provider.cjs +13 -12
- package/cjs/form/form-provider.d.cts +23 -0
- package/cjs/form/form-push.cjs +23 -22
- package/cjs/form/form-push.d.cts +80 -0
- package/cjs/form/form-radio-group.cjs +15 -14
- package/cjs/form/form-radio-group.d.cts +43 -0
- package/cjs/form/form-radio.cjs +28 -27
- package/cjs/form/form-radio.d.cts +47 -0
- package/cjs/form/form-radio.d.ts +1 -1
- package/cjs/form/form-remove.cjs +20 -19
- package/cjs/form/form-remove.d.cts +79 -0
- package/cjs/form/form-reset.cjs +19 -18
- package/cjs/form/form-reset.d.cts +40 -0
- package/cjs/form/form-store.cjs +9 -8
- package/cjs/form/form-store.d.cts +101 -0
- package/cjs/form/form-submit.cjs +19 -18
- package/cjs/form/form-submit.d.cts +43 -0
- package/cjs/form/form.cjs +23 -22
- package/cjs/form/form.d.cts +67 -0
- package/cjs/group/group-label-context.cjs +5 -4
- package/cjs/group/group-label-context.d.cts +2 -0
- package/cjs/group/group-label.cjs +9 -8
- package/cjs/group/group-label.d.cts +28 -0
- package/cjs/group/group.cjs +9 -8
- package/cjs/group/group.d.cts +22 -0
- package/cjs/heading/heading-context.cjs +5 -4
- package/cjs/heading/heading-context.d.cts +2 -0
- package/cjs/heading/heading-level.cjs +6 -5
- package/cjs/heading/heading-level.d.cts +25 -0
- package/cjs/heading/heading.cjs +9 -8
- package/cjs/heading/heading.d.cts +34 -0
- package/cjs/heading/utils.cjs +1 -1
- package/cjs/heading/utils.d.cts +1 -0
- package/cjs/hovercard/hovercard-anchor.cjs +14 -13
- package/cjs/hovercard/hovercard-anchor.d.cts +46 -0
- package/cjs/hovercard/hovercard-arrow.cjs +18 -17
- package/cjs/hovercard/hovercard-arrow.d.cts +44 -0
- package/cjs/hovercard/hovercard-context.cjs +11 -10
- package/cjs/hovercard/hovercard-context.d.cts +19 -0
- package/cjs/hovercard/hovercard-description.cjs +12 -11
- package/cjs/hovercard/hovercard-description.d.cts +43 -0
- package/cjs/hovercard/hovercard-disclosure.cjs +30 -29
- package/cjs/hovercard/hovercard-disclosure.d.cts +43 -0
- package/cjs/hovercard/hovercard-dismiss.cjs +18 -17
- package/cjs/hovercard/hovercard-dismiss.d.cts +41 -0
- package/cjs/hovercard/hovercard-heading.cjs +14 -13
- package/cjs/hovercard/hovercard-heading.d.cts +43 -0
- package/cjs/hovercard/hovercard-provider.cjs +17 -16
- package/cjs/hovercard/hovercard-provider.d.cts +17 -0
- package/cjs/hovercard/hovercard-store.cjs +11 -10
- package/cjs/hovercard/hovercard-store.d.cts +24 -0
- package/cjs/hovercard/hovercard.cjs +43 -41
- package/cjs/hovercard/hovercard.d.cts +60 -0
- package/cjs/hovercard/utils/__tests__/polygon-test.d.cts +1 -0
- package/cjs/hovercard/utils/debug-polygon.cjs +2 -1
- package/cjs/hovercard/utils/debug-polygon.d.cts +2 -0
- package/cjs/hovercard/utils/polygon.cjs +5 -4
- package/cjs/hovercard/utils/polygon.d.cts +5 -0
- package/cjs/index.cjs +2 -1
- package/cjs/index.d.cts +2 -0
- package/cjs/menu/menu-arrow.cjs +21 -20
- package/cjs/menu/menu-arrow.d.cts +42 -0
- package/cjs/menu/menu-bar-provider.cjs +19 -18
- package/cjs/menu/menu-bar-provider.d.cts +31 -0
- package/cjs/menu/menu-bar-store.cjs +10 -9
- package/cjs/menu/menu-bar-store.d.cts +22 -0
- package/cjs/menu/menu-bar.cjs +26 -25
- package/cjs/menu/menu-bar.d.cts +62 -0
- package/cjs/menu/menu-button-arrow.cjs +20 -19
- package/cjs/menu/menu-button-arrow.d.cts +52 -0
- package/cjs/menu/menu-button.cjs +49 -48
- package/cjs/menu/menu-button.d.cts +58 -0
- package/cjs/menu/menu-context.cjs +14 -13
- package/cjs/menu/menu-context.d.cts +39 -0
- package/cjs/menu/menu-description.cjs +15 -14
- package/cjs/menu/menu-description.d.cts +42 -0
- package/cjs/menu/menu-dismiss.cjs +26 -25
- package/cjs/menu/menu-dismiss.d.cts +40 -0
- package/cjs/menu/menu-group-label.cjs +13 -12
- package/cjs/menu/menu-group-label.d.cts +47 -0
- package/cjs/menu/menu-group.cjs +13 -12
- package/cjs/menu/menu-group.d.cts +50 -0
- package/cjs/menu/menu-heading.cjs +17 -16
- package/cjs/menu/menu-heading.d.cts +41 -0
- package/cjs/menu/menu-item-check.cjs +21 -20
- package/cjs/menu/menu-item-check.d.cts +44 -0
- package/cjs/menu/menu-item-checkbox.cjs +114 -36
- package/cjs/menu/menu-item-checkbox.d.cts +64 -0
- package/cjs/menu/menu-item-checkbox.d.ts +12 -0
- package/cjs/menu/menu-item-radio.cjs +63 -38
- package/cjs/menu/menu-item-radio.d.cts +71 -0
- package/cjs/menu/menu-item-radio.d.ts +12 -0
- package/cjs/menu/menu-item.cjs +24 -23
- package/cjs/menu/menu-item.d.cts +62 -0
- package/cjs/menu/menu-list.cjs +22 -21
- package/cjs/menu/menu-list.d.cts +46 -0
- package/cjs/menu/menu-provider.cjs +24 -23
- package/cjs/menu/menu-provider.d.cts +24 -0
- package/cjs/menu/menu-separator.cjs +21 -20
- package/cjs/menu/menu-separator.d.cts +48 -0
- package/cjs/menu/menu-store.cjs +23 -22
- package/cjs/menu/menu-store.d.cts +130 -0
- package/cjs/menu/menu.cjs +69 -62
- package/cjs/menu/menu.d.cts +36 -0
- package/cjs/menu/menu.d.ts +2 -2
- package/cjs/menu/utils.cjs +5 -4
- package/cjs/menu/utils.d.cts +2 -0
- package/cjs/popover/popover-anchor.cjs +11 -10
- package/cjs/popover/popover-anchor.d.cts +38 -0
- package/cjs/popover/popover-arrow-path.cjs +5 -4
- package/cjs/popover/popover-arrow-path.d.cts +1 -0
- package/cjs/popover/popover-arrow.cjs +12 -11
- package/cjs/popover/popover-arrow.d.cts +48 -0
- package/cjs/popover/popover-context.cjs +10 -9
- package/cjs/popover/popover-context.d.cts +19 -0
- package/cjs/popover/popover-description.cjs +11 -10
- package/cjs/popover/popover-description.d.cts +43 -0
- package/cjs/popover/popover-disclosure-arrow.cjs +11 -10
- package/cjs/popover/popover-disclosure-arrow.d.cts +52 -0
- package/cjs/popover/popover-disclosure.cjs +18 -17
- package/cjs/popover/popover-disclosure.d.cts +30 -0
- package/cjs/popover/popover-dismiss.cjs +16 -15
- package/cjs/popover/popover-dismiss.d.cts +42 -0
- package/cjs/popover/popover-heading.cjs +13 -12
- package/cjs/popover/popover-heading.d.cts +43 -0
- package/cjs/popover/popover-provider.cjs +15 -14
- package/cjs/popover/popover-provider.d.cts +17 -0
- package/cjs/popover/popover-store.cjs +10 -9
- package/cjs/popover/popover-store.d.cts +23 -0
- package/cjs/popover/popover.cjs +40 -38
- package/cjs/popover/popover.d.cts +138 -0
- package/cjs/portal/portal-context.cjs +5 -4
- package/cjs/portal/portal-context.d.cts +17 -0
- package/cjs/portal/portal.cjs +11 -10
- package/cjs/portal/portal.d.cts +75 -0
- package/cjs/radio/radio-context.cjs +10 -9
- package/cjs/radio/radio-context.d.cts +19 -0
- package/cjs/radio/radio-group.cjs +22 -21
- package/cjs/radio/radio-group.d.cts +41 -0
- package/cjs/radio/radio-provider.cjs +15 -14
- package/cjs/radio/radio-provider.d.cts +19 -0
- package/cjs/radio/radio-store.cjs +10 -9
- package/cjs/radio/radio-store.d.cts +29 -0
- package/cjs/radio/radio.cjs +18 -17
- package/cjs/radio/radio.d.cts +60 -0
- package/cjs/radio/radio.d.ts +4 -0
- package/cjs/role/role.cjs +8 -7
- package/cjs/role/role.d.cts +29 -0
- package/cjs/select/select-arrow.cjs +15 -14
- package/cjs/select/select-arrow.d.cts +52 -0
- package/cjs/select/select-arrow.d.ts +1 -1
- package/cjs/select/select-context.cjs +13 -12
- package/cjs/select/select-context.d.cts +20 -0
- package/cjs/select/select-group-label.cjs +13 -12
- package/cjs/select/select-group-label.d.cts +53 -0
- package/cjs/select/select-group-label.d.ts +1 -1
- package/cjs/select/select-group.cjs +13 -12
- package/cjs/select/select-group.d.cts +51 -0
- package/cjs/select/select-group.d.ts +1 -1
- package/cjs/select/select-item-check.cjs +20 -19
- package/cjs/select/select-item-check.d.cts +57 -0
- package/cjs/select/select-item-check.d.ts +1 -1
- package/cjs/select/select-item.cjs +37 -36
- package/cjs/select/select-item.d.cts +101 -0
- package/cjs/select/select-label.cjs +22 -21
- package/cjs/select/select-label.d.cts +47 -0
- package/cjs/select/select-list.cjs +21 -19
- package/cjs/select/select-list.d.cts +68 -0
- package/cjs/select/select-popover.cjs +72 -65
- package/cjs/select/select-popover.d.cts +37 -0
- package/cjs/select/select-provider.cjs +22 -21
- package/cjs/select/select-provider.d.cts +25 -0
- package/cjs/select/select-renderer.cjs +23 -22
- package/cjs/select/select-renderer.d.cts +39 -0
- package/cjs/select/select-row.cjs +20 -19
- package/cjs/select/select-row.d.cts +52 -0
- package/cjs/select/select-separator.cjs +20 -19
- package/cjs/select/select-separator.d.cts +48 -0
- package/cjs/select/select-store.cjs +20 -19
- package/cjs/select/select-store.d.cts +58 -0
- package/cjs/select/select.cjs +54 -43
- package/cjs/select/select.d.cts +86 -0
- package/cjs/separator/separator.cjs +8 -7
- package/cjs/separator/separator.d.cts +28 -0
- package/cjs/tab/tab-context.cjs +10 -9
- package/cjs/tab/tab-context.d.cts +19 -0
- package/cjs/tab/tab-list.cjs +22 -21
- package/cjs/tab/tab-list.d.cts +46 -0
- package/cjs/tab/tab-list.d.ts +14 -9
- package/cjs/tab/tab-panel.cjs +32 -31
- package/cjs/tab/tab-panel.d.cts +54 -0
- package/cjs/tab/tab-panel.d.ts +15 -10
- package/cjs/tab/tab-provider.cjs +15 -14
- package/cjs/tab/tab-provider.d.cts +21 -0
- package/cjs/tab/tab-store.cjs +10 -9
- package/cjs/tab/tab-store.d.cts +74 -0
- package/cjs/tab/tab-store.d.ts +0 -7
- package/cjs/tab/tab.cjs +27 -26
- package/cjs/tab/tab.d.cts +48 -0
- package/cjs/tab/tab.d.ts +13 -10
- package/cjs/toolbar/toolbar-container.cjs +25 -24
- package/cjs/toolbar/toolbar-container.d.cts +34 -0
- package/cjs/toolbar/toolbar-container.d.ts +3 -4
- package/cjs/toolbar/toolbar-context.cjs +10 -9
- package/cjs/toolbar/toolbar-context.d.cts +19 -0
- package/cjs/toolbar/toolbar-input.cjs +25 -24
- package/cjs/toolbar/toolbar-input.d.cts +30 -0
- package/cjs/toolbar/toolbar-input.d.ts +3 -4
- package/cjs/toolbar/toolbar-item.cjs +18 -17
- package/cjs/toolbar/toolbar-item.d.cts +38 -0
- package/cjs/toolbar/toolbar-item.d.ts +7 -5
- package/cjs/toolbar/toolbar-provider.cjs +15 -14
- package/cjs/toolbar/toolbar-provider.d.cts +20 -0
- package/cjs/toolbar/toolbar-separator.cjs +17 -16
- package/cjs/toolbar/toolbar-separator.d.cts +42 -0
- package/cjs/toolbar/toolbar-separator.d.ts +7 -5
- package/cjs/toolbar/toolbar-store.cjs +10 -9
- package/cjs/toolbar/toolbar-store.d.cts +26 -0
- package/cjs/toolbar/toolbar.cjs +27 -26
- package/cjs/toolbar/toolbar.d.cts +42 -0
- package/cjs/toolbar/toolbar.d.ts +8 -3
- package/cjs/tooltip/tooltip-anchor.cjs +24 -23
- package/cjs/tooltip/tooltip-anchor.d.cts +40 -0
- package/cjs/tooltip/tooltip-anchor.d.ts +13 -8
- package/cjs/tooltip/tooltip-arrow.cjs +19 -18
- package/cjs/tooltip/tooltip-arrow.d.cts +46 -0
- package/cjs/tooltip/tooltip-arrow.d.ts +16 -10
- package/cjs/tooltip/tooltip-context.cjs +12 -11
- package/cjs/tooltip/tooltip-context.d.cts +19 -0
- package/cjs/tooltip/tooltip-provider.cjs +19 -18
- package/cjs/tooltip/tooltip-provider.d.cts +17 -0
- package/cjs/tooltip/tooltip-store.cjs +12 -11
- package/cjs/tooltip/tooltip-store.d.cts +23 -0
- package/cjs/tooltip/tooltip.cjs +59 -52
- package/cjs/tooltip/tooltip.d.cts +42 -0
- package/cjs/tooltip/tooltip.d.ts +10 -5
- package/cjs/utils/hooks.cjs +6 -5
- package/cjs/utils/hooks.d.cts +135 -0
- package/cjs/utils/misc.cjs +5 -4
- package/cjs/utils/misc.d.cts +17 -0
- package/cjs/utils/store.cjs +7 -6
- package/cjs/utils/store.d.cts +62 -0
- package/cjs/utils/system.cjs +7 -6
- package/cjs/utils/system.d.cts +98 -0
- package/cjs/utils/system.d.ts +2 -2
- package/cjs/utils/types.cjs +1 -1
- package/cjs/utils/types.d.cts +79 -0
- package/cjs/visually-hidden/visually-hidden.cjs +8 -7
- package/cjs/visually-hidden/visually-hidden.d.cts +29 -0
- package/esm/__chunks/{4LP74VAP.js → 2ID5JPOO.js} +8 -38
- package/esm/__chunks/{4LQJSTB3.js → 2IYBCQM2.js} +7 -6
- package/esm/__chunks/{5QIDAYL3.js → 2J2XF6WW.js} +5 -4
- package/esm/__chunks/{PNRLI7OV.js → 2SMRF6AD.js} +1 -0
- package/esm/__chunks/{FK7TLQA3.js → 2UMXWJJP.js} +5 -4
- package/esm/__chunks/{PTJJY26M.js → 2VASUNFX.js} +5 -4
- package/esm/__chunks/{NQQVRTV2.js → 37XXBWT2.js} +8 -7
- package/esm/__chunks/{MHJWVBOP.js → 3AAZQSAV.js} +4 -3
- package/esm/__chunks/{CJI67A3R.js → 3I4EOZD7.js} +2 -1
- package/esm/__chunks/{F5VAC7MB.js → 3X3MDQGM.js} +2 -0
- package/esm/__chunks/{YGEFENKI.js → 4MXLDXAO.js} +82 -58
- package/esm/__chunks/{BWOZSOC7.js → 4ORPOXHX.js} +3 -2
- package/esm/__chunks/{TWMREEKC.js → 4TWFPBPU.js} +5 -4
- package/esm/__chunks/{DO6GQUCF.js → 5IIPAC4H.js} +4 -3
- package/esm/__chunks/{D2BRO4YW.js → 5O7V7O3A.js} +5 -4
- package/esm/__chunks/{IDYHJHXJ.js → 5TQMQMFE.js} +7 -6
- package/esm/__chunks/{KOVUJERF.js → 677M2CI3.js} +2 -0
- package/esm/__chunks/{62DFK33R.js → 6GXEOXGT.js} +2 -0
- package/esm/__chunks/{OXPV2NBK.js → 6QXBPV75.js} +2 -0
- package/esm/__chunks/{US4OMDIO.js → 6RJCEQC6.js} +4 -3
- package/esm/__chunks/{J7Q2EO23.js → 6WEF4WY5.js} +3 -2
- package/esm/__chunks/{M5KYRTQG.js → 6XBVQI3K.js} +2 -0
- package/esm/__chunks/{VRCYQ6JX.js → 72E5EPFF.js} +2 -1
- package/esm/__chunks/{LDDPB3PY.js → 7452U3HH.js} +2 -0
- package/esm/__chunks/{547DFODS.js → 7CRP5UGO.js} +3 -2
- package/esm/__chunks/{RO34XBHA.js → 7E5H65N4.js} +4 -3
- package/esm/__chunks/{C6MBVGZ2.js → 7GWB36ES.js} +3 -2
- package/esm/__chunks/{56TAEBRJ.js → 7PHIY4AC.js} +7 -6
- package/esm/__chunks/{IZ22SVTG.js → 7TX2LT7B.js} +6 -5
- package/esm/__chunks/{3AVEDDB7.js → A5SMLCUJ.js} +6 -5
- package/esm/__chunks/{5DA3HK6G.js → B4BLW6E7.js} +3 -2
- package/esm/__chunks/{6XXSNRNX.js → B6ZZAB7E.js} +3 -2
- package/esm/__chunks/{7VWXICM7.js → BULCTPRV.js} +4 -3
- package/esm/__chunks/{XIA3HAXM.js → BY5KOAGY.js} +5 -4
- package/esm/__chunks/{J5LOLGUC.js → C3N6W3CQ.js} +3 -2
- package/esm/__chunks/{JE342XIS.js → C5MFNUHA.js} +3 -2
- package/esm/__chunks/{GD5ZDP5D.js → CDXDE4CH.js} +7 -6
- package/esm/__chunks/{54J7EHCU.js → CQCRBYV6.js} +12 -9
- package/esm/__chunks/{EGOOWJGN.js → CU5FOQJK.js} +6 -5
- package/esm/__chunks/{CX73JT3N.js → CXC67JFB.js} +3 -2
- package/esm/__chunks/{DHSMOVCA.js → DLGO5RXE.js} +3 -2
- package/esm/__chunks/{NJS632IW.js → DPO6VSJT.js} +3 -2
- package/esm/__chunks/{PGK6S5NC.js → EAY52LAK.js} +2 -1
- package/esm/__chunks/{PH5SSOBF.js → F3YVHJBI.js} +3 -2
- package/esm/__chunks/{DL4RBG46.js → F4M2DDED.js} +3 -2
- package/esm/__chunks/{KXTLHNBI.js → FIFZJO4T.js} +8 -7
- package/esm/__chunks/{G4QRTAYK.js → FNSZIWLG.js} +38 -17
- package/esm/__chunks/{HWJ7DGMR.js → G5X3WBMZ.js} +2 -1
- package/esm/__chunks/{QP4RN5UY.js → H5NQMD66.js} +4 -3
- package/esm/__chunks/{DX7BNVVX.js → HDG2IPG7.js} +8 -7
- package/esm/__chunks/{YTHH33BK.js → HJIEYVEO.js} +7 -5
- package/esm/__chunks/{3T4UFIWO.js → IIGNNJHA.js} +5 -4
- package/esm/__chunks/{4FNI7F6H.js → INBEQ5LA.js} +5 -4
- package/esm/__chunks/{OJDCQDIL.js → IO2C6XLJ.js} +31 -8
- package/esm/__chunks/{QGZKN2N5.js → IPLYRPDL.js} +5 -4
- package/esm/__chunks/{IAA7Y45N.js → JQ2AMQCL.js} +7 -6
- package/esm/__chunks/{D6CHFQY5.js → JWEPAU44.js} +3 -2
- package/esm/__chunks/{YVYWIVKG.js → KDNXDIJO.js} +6 -5
- package/esm/__chunks/{727IWAR7.js → KGKSIW34.js} +3 -2
- package/esm/__chunks/{74KKBFVP.js → KSMDNUGB.js} +2 -1
- package/esm/__chunks/{T5VBGHBO.js → LAO6LEBC.js} +5 -4
- package/esm/__chunks/{CFEUKV6C.js → LFJDOMBA.js} +4 -3
- package/esm/__chunks/{QW4PFVNF.js → LH4OUJXP.js} +4 -3
- package/esm/__chunks/{3HY5ZQT3.js → LW6KKRR6.js} +5 -4
- package/esm/__chunks/{IXXFVVA2.js → MKDDWKFK.js} +2 -0
- package/esm/__chunks/{3QOG4FFB.js → N4JWG5JC.js} +3 -2
- package/esm/__chunks/{XCH4OEEE.js → NDBJZBXZ.js} +5 -4
- package/esm/__chunks/{W5ZMSHVN.js → O6OMRIAN.js} +6 -5
- package/esm/__chunks/{2EIZAZYB.js → OKQLSXJX.js} +6 -5
- package/esm/__chunks/{7JNF6I52.js → OOBDFMJL.js} +2 -0
- package/esm/__chunks/{26JVBZKI.js → OXY6XIZF.js} +9 -8
- package/esm/__chunks/{CP3U4HPL.js → OZVWZODE.js} +2 -1
- package/esm/__chunks/{56KWVYDN.js → P3UIANB7.js} +2 -1
- package/esm/__chunks/{R6PKH666.js → PCYBL4RJ.js} +6 -5
- package/esm/__chunks/{JM3KBRED.js → PLOKN2PQ.js} +5 -4
- package/esm/__chunks/{E5S26AHF.js → PTUVC42S.js} +4 -3
- package/esm/__chunks/{O2VZZF7T.js → PX7P75CP.js} +8 -7
- package/esm/__chunks/{MNVQ65E5.js → QAVVMLZP.js} +14 -9
- package/esm/__chunks/{GM7XQV7F.js → QFL5V2DO.js} +2 -0
- package/esm/__chunks/{2GC3IEM7.js → QQ7MJHYB.js} +4 -3
- package/esm/__chunks/{3D7ZB3CS.js → QUBURLUM.js} +24 -6
- package/esm/__chunks/{REKKG4AV.js → QZMQZL6N.js} +5 -4
- package/esm/__chunks/{XQCQJGZ3.js → R72A2MDW.js} +3 -2
- package/esm/__chunks/{FV4UX26M.js → RE3KBWM3.js} +5 -4
- package/esm/__chunks/{IPFII6JW.js → RGE4LYC4.js} +3 -2
- package/esm/__chunks/{ICL2YIES.js → RVUABR2G.js} +2 -1
- package/esm/__chunks/{JGFZEURZ.js → S6KFVXKD.js} +5 -4
- package/esm/__chunks/{5HSRXC5S.js → SFRUIDAI.js} +4 -3
- package/esm/__chunks/{BMLNRUFQ.js → SHA3WOPI.js} +2 -0
- package/esm/__chunks/{4VQSZLZX.js → SJHIAJ6X.js} +40 -39
- package/esm/__chunks/{5YYGDU4E.js → SNQAYGW2.js} +3 -2
- package/esm/__chunks/{SUD3LBWB.js → SWFV62AU.js} +7 -6
- package/esm/__chunks/{FRKOFFMT.js → TL67WVI6.js} +4 -3
- package/esm/__chunks/{X6F6ND2A.js → UG6PMSDE.js} +7 -6
- package/esm/__chunks/{JCUV76PT.js → ULCTMK2H.js} +5 -4
- package/esm/__chunks/{6OMX4H3W.js → UYRJLDVS.js} +2 -1
- package/esm/__chunks/{7VC364FM.js → VHHTBGDA.js} +3 -2
- package/esm/__chunks/{YI522MHJ.js → VLYIZ6AL.js} +3 -2
- package/esm/__chunks/{EZ23JQKA.js → VUP7S67H.js} +3 -2
- package/esm/__chunks/{W7JXAQKF.js → VVC34BID.js} +2 -0
- package/esm/__chunks/{3Z4KAOQS.js → W2DLJJIX.js} +4 -3
- package/esm/__chunks/{CSCFKBRS.js → WEHPT3EV.js} +4 -3
- package/esm/__chunks/{KIYX5CLX.js → WWOEH5U6.js} +4 -3
- package/esm/__chunks/{5C7J4IAS.js → X3ATWMYX.js} +3 -2
- package/esm/__chunks/{FW6QFGFT.js → X6WIMZJE.js} +2 -0
- package/esm/__chunks/{COQHFAEN.js → XPF5GU3Q.js} +2 -0
- package/esm/__chunks/{XBIFFFUN.js → XVQ3TNPZ.js} +10 -6
- package/esm/__chunks/{DJUMA466.js → XWCMZCWT.js} +3 -2
- package/esm/__chunks/{DA5VDN5G.js → Y3DDLZ45.js} +9 -8
- package/esm/__chunks/{X7FKJQME.js → YMV43K4F.js} +2 -0
- package/esm/__chunks/{7LB47D2O.js → YPQ27YD7.js} +5 -4
- package/esm/__chunks/{24EUVZFE.js → ZF6AA2GH.js} +6 -5
- package/esm/__chunks/{3LGVTTHD.js → ZGFCAP4H.js} +3 -2
- package/esm/__chunks/{WJZPOH5E.js → ZOV347KO.js} +5 -4
- package/esm/__chunks/{NRFPH2ON.js → ZQKNDRGB.js} +3 -2
- package/esm/__chunks/{DJJWAII5.js → ZWLYZGQF.js} +3 -2
- package/esm/button/button.js +9 -8
- package/esm/checkbox/checkbox-check.js +7 -6
- package/esm/checkbox/checkbox-checked-context.js +3 -2
- package/esm/checkbox/checkbox-context.js +6 -5
- package/esm/checkbox/checkbox-provider.js +8 -7
- package/esm/checkbox/checkbox-store.js +6 -5
- package/esm/checkbox/checkbox.d.ts +4 -0
- package/esm/checkbox/checkbox.js +12 -11
- package/esm/collection/collection-context.js +6 -5
- package/esm/collection/collection-item.js +7 -6
- package/esm/collection/collection-provider.js +8 -7
- package/esm/collection/collection-renderer.d.ts +53 -53
- package/esm/collection/collection-renderer.js +8 -7
- package/esm/collection/collection-store.js +6 -5
- package/esm/collection/collection.js +6 -5
- package/esm/combobox/combobox-cancel.js +15 -14
- package/esm/combobox/combobox-context.js +11 -10
- package/esm/combobox/combobox-disclosure.js +17 -16
- package/esm/combobox/combobox-group-label.js +8 -7
- package/esm/combobox/combobox-group.js +8 -7
- package/esm/combobox/combobox-item-value.js +11 -10
- package/esm/combobox/combobox-item.js +19 -18
- package/esm/combobox/combobox-list.js +16 -14
- package/esm/combobox/combobox-popover.js +49 -44
- package/esm/combobox/combobox-provider.js +18 -17
- package/esm/combobox/combobox-row.js +12 -11
- package/esm/combobox/combobox-separator.js +13 -12
- package/esm/combobox/combobox-store.js +11 -10
- package/esm/combobox/combobox.js +20 -17
- package/esm/command/command.js +8 -7
- package/esm/composite/composite-container.js +10 -9
- package/esm/composite/composite-context.js +7 -6
- package/esm/composite/composite-group-label.js +8 -7
- package/esm/composite/composite-group.js +8 -7
- package/esm/composite/composite-hover.js +8 -7
- package/esm/composite/composite-input.js +7 -6
- package/esm/composite/composite-item.js +14 -13
- package/esm/composite/composite-overflow-disclosure.js +22 -21
- package/esm/composite/composite-overflow-store.js +8 -7
- package/esm/composite/composite-overflow.js +38 -36
- package/esm/composite/composite-provider.js +10 -9
- package/esm/composite/composite-renderer.d.ts +53 -53
- package/esm/composite/composite-renderer.js +10 -9
- package/esm/composite/composite-row.js +8 -7
- package/esm/composite/composite-separator.js +9 -8
- package/esm/composite/composite-store.js +7 -6
- package/esm/composite/composite-typeahead.js +9 -8
- package/esm/composite/composite.js +11 -10
- package/esm/composite/utils.js +3 -2
- package/esm/dialog/dialog-backdrop.js +16 -15
- package/esm/dialog/dialog-context.js +7 -6
- package/esm/dialog/dialog-description.d.ts +10 -7
- package/esm/dialog/dialog-description.js +8 -7
- package/esm/dialog/dialog-disclosure.d.ts +10 -5
- package/esm/dialog/dialog-disclosure.js +13 -12
- package/esm/dialog/dialog-dismiss.d.ts +8 -4
- package/esm/dialog/dialog-dismiss.js +12 -11
- package/esm/dialog/dialog-heading.d.ts +11 -7
- package/esm/dialog/dialog-heading.js +10 -9
- package/esm/dialog/dialog-provider.js +10 -9
- package/esm/dialog/dialog-store.js +7 -6
- package/esm/dialog/dialog.d.ts +81 -13
- package/esm/dialog/dialog.js +38 -34
- package/esm/dialog/utils/disable-accessibility-tree-outside.js +6 -5
- package/esm/dialog/utils/disable-tree.js +8 -7
- package/esm/dialog/utils/is-backdrop.js +3 -2
- package/esm/dialog/utils/mark-tree-outside.js +6 -5
- package/esm/dialog/utils/orchestrate.js +3 -2
- package/esm/dialog/utils/prepend-hidden-dismiss.js +3 -2
- package/esm/dialog/utils/supports-inert.js +3 -2
- package/esm/dialog/utils/use-hide-on-interact-outside.js +10 -9
- package/esm/dialog/utils/use-nested-dialogs.js +5 -4
- package/esm/dialog/utils/use-prevent-body-scroll.js +7 -6
- package/esm/dialog/utils/use-previous-mouse-down-ref.js +3 -2
- package/esm/dialog/utils/use-root-dialog.js +5 -4
- package/esm/dialog/utils/walk-tree-outside.js +4 -3
- package/esm/disclosure/disclosure-content.d.ts +14 -0
- package/esm/disclosure/disclosure-content.js +9 -7
- package/esm/disclosure/disclosure-context.js +6 -5
- package/esm/disclosure/disclosure-provider.js +8 -7
- package/esm/disclosure/disclosure-store.js +6 -5
- package/esm/disclosure/disclosure.js +11 -10
- package/esm/focus-trap/focus-trap-region.js +7 -6
- package/esm/focus-trap/focus-trap.js +7 -6
- package/esm/focusable/focusable-container.js +7 -6
- package/esm/focusable/focusable-context.js +3 -2
- package/esm/focusable/focusable.d.ts +2 -0
- package/esm/focusable/focusable.js +7 -6
- package/esm/form/form-checkbox.d.ts +1 -1
- package/esm/form/form-checkbox.js +17 -16
- package/esm/form/form-context.js +7 -6
- package/esm/form/form-description.js +8 -7
- package/esm/form/form-error.js +8 -7
- package/esm/form/form-field.js +9 -8
- package/esm/form/form-group-label.js +7 -6
- package/esm/form/form-group.js +8 -7
- package/esm/form/form-input.js +11 -10
- package/esm/form/form-label.js +8 -7
- package/esm/form/form-provider.js +10 -9
- package/esm/form/form-push.js +12 -11
- package/esm/form/form-radio-group.js +8 -7
- package/esm/form/form-radio.d.ts +1 -1
- package/esm/form/form-radio.js +18 -17
- package/esm/form/form-remove.js +11 -10
- package/esm/form/form-reset.js +11 -10
- package/esm/form/form-store.js +7 -6
- package/esm/form/form-submit.js +11 -10
- package/esm/form/form.js +7 -6
- package/esm/group/group-label-context.js +3 -2
- package/esm/group/group-label.js +7 -6
- package/esm/group/group.js +7 -6
- package/esm/heading/heading-context.js +3 -2
- package/esm/heading/heading-level.js +4 -3
- package/esm/heading/heading.js +7 -6
- package/esm/heading/utils.js +1 -0
- package/esm/hovercard/hovercard-anchor.js +12 -11
- package/esm/hovercard/hovercard-arrow.js +11 -10
- package/esm/hovercard/hovercard-context.js +9 -8
- package/esm/hovercard/hovercard-description.js +10 -9
- package/esm/hovercard/hovercard-disclosure.js +16 -15
- package/esm/hovercard/hovercard-dismiss.js +16 -15
- package/esm/hovercard/hovercard-heading.js +12 -11
- package/esm/hovercard/hovercard-provider.js +14 -13
- package/esm/hovercard/hovercard-store.js +9 -8
- package/esm/hovercard/hovercard.js +41 -39
- package/esm/hovercard/utils/debug-polygon.js +2 -1
- package/esm/hovercard/utils/polygon.js +3 -2
- package/esm/index.js +2 -1
- package/esm/menu/menu-arrow.js +14 -13
- package/esm/menu/menu-bar-provider.js +16 -15
- package/esm/menu/menu-bar-store.js +8 -7
- package/esm/menu/menu-bar.js +16 -15
- package/esm/menu/menu-button-arrow.js +13 -12
- package/esm/menu/menu-button.js +28 -27
- package/esm/menu/menu-context.js +12 -11
- package/esm/menu/menu-description.js +10 -9
- package/esm/menu/menu-dismiss.js +19 -18
- package/esm/menu/menu-group-label.js +8 -7
- package/esm/menu/menu-group.js +8 -7
- package/esm/menu/menu-heading.js +12 -11
- package/esm/menu/menu-item-check.js +14 -13
- package/esm/menu/menu-item-checkbox.d.ts +12 -0
- package/esm/menu/menu-item-checkbox.js +107 -29
- package/esm/menu/menu-item-radio.d.ts +12 -0
- package/esm/menu/menu-item-radio.js +52 -27
- package/esm/menu/menu-item.js +22 -21
- package/esm/menu/menu-list.js +20 -19
- package/esm/menu/menu-provider.js +21 -20
- package/esm/menu/menu-separator.js +14 -13
- package/esm/menu/menu-store.js +21 -20
- package/esm/menu/menu.d.ts +2 -2
- package/esm/menu/menu.js +58 -51
- package/esm/menu/utils.js +3 -2
- package/esm/popover/popover-anchor.js +9 -8
- package/esm/popover/popover-arrow-path.js +3 -2
- package/esm/popover/popover-arrow.js +10 -9
- package/esm/popover/popover-context.js +8 -7
- package/esm/popover/popover-description.js +9 -8
- package/esm/popover/popover-disclosure-arrow.js +9 -8
- package/esm/popover/popover-disclosure.js +16 -15
- package/esm/popover/popover-dismiss.js +14 -13
- package/esm/popover/popover-heading.js +11 -10
- package/esm/popover/popover-provider.js +12 -11
- package/esm/popover/popover-store.js +8 -7
- package/esm/popover/popover.js +38 -36
- package/esm/portal/portal-context.js +3 -2
- package/esm/portal/portal.js +9 -8
- package/esm/radio/radio-context.js +8 -7
- package/esm/radio/radio-group.js +12 -11
- package/esm/radio/radio-provider.js +12 -11
- package/esm/radio/radio-store.js +8 -7
- package/esm/radio/radio.d.ts +4 -0
- package/esm/radio/radio.js +16 -15
- package/esm/role/role.js +6 -5
- package/esm/select/select-arrow.d.ts +1 -1
- package/esm/select/select-arrow.js +13 -12
- package/esm/select/select-context.js +11 -10
- package/esm/select/select-group-label.d.ts +1 -1
- package/esm/select/select-group-label.js +8 -7
- package/esm/select/select-group.d.ts +1 -1
- package/esm/select/select-group.js +8 -7
- package/esm/select/select-item-check.d.ts +1 -1
- package/esm/select/select-item-check.js +13 -12
- package/esm/select/select-item.js +21 -20
- package/esm/select/select-label.js +11 -10
- package/esm/select/select-list.js +19 -17
- package/esm/select/select-popover.js +54 -47
- package/esm/select/select-provider.js +19 -18
- package/esm/select/select-renderer.js +14 -13
- package/esm/select/select-row.js +12 -11
- package/esm/select/select-separator.js +13 -12
- package/esm/select/select-store.js +18 -17
- package/esm/select/select.js +35 -24
- package/esm/separator/separator.js +6 -5
- package/esm/tab/tab-context.js +8 -7
- package/esm/tab/tab-list.d.ts +14 -9
- package/esm/tab/tab-list.js +12 -11
- package/esm/tab/tab-panel.d.ts +15 -10
- package/esm/tab/tab-panel.js +16 -15
- package/esm/tab/tab-provider.js +12 -11
- package/esm/tab/tab-store.d.ts +0 -7
- package/esm/tab/tab-store.js +8 -7
- package/esm/tab/tab.d.ts +13 -10
- package/esm/tab/tab.js +17 -16
- package/esm/toolbar/toolbar-container.d.ts +3 -4
- package/esm/toolbar/toolbar-container.js +17 -16
- package/esm/toolbar/toolbar-context.js +8 -7
- package/esm/toolbar/toolbar-input.d.ts +3 -4
- package/esm/toolbar/toolbar-input.js +17 -16
- package/esm/toolbar/toolbar-item.d.ts +7 -5
- package/esm/toolbar/toolbar-item.js +16 -15
- package/esm/toolbar/toolbar-provider.js +12 -11
- package/esm/toolbar/toolbar-separator.d.ts +7 -5
- package/esm/toolbar/toolbar-separator.js +10 -9
- package/esm/toolbar/toolbar-store.js +8 -7
- package/esm/toolbar/toolbar.d.ts +8 -3
- package/esm/toolbar/toolbar.js +16 -15
- package/esm/tooltip/tooltip-anchor.d.ts +13 -8
- package/esm/tooltip/tooltip-anchor.js +13 -12
- package/esm/tooltip/tooltip-arrow.d.ts +16 -10
- package/esm/tooltip/tooltip-arrow.js +12 -11
- package/esm/tooltip/tooltip-context.js +10 -9
- package/esm/tooltip/tooltip-provider.js +16 -15
- package/esm/tooltip/tooltip-store.js +10 -9
- package/esm/tooltip/tooltip.d.ts +10 -5
- package/esm/tooltip/tooltip.js +51 -44
- package/esm/utils/hooks.js +4 -3
- package/esm/utils/misc.js +3 -2
- package/esm/utils/store.js +5 -4
- package/esm/utils/system.d.ts +2 -2
- package/esm/utils/system.js +5 -4
- package/esm/utils/types.js +1 -0
- package/esm/visually-hidden/visually-hidden.js +6 -5
- package/package.json +802 -202
- package/cjs/__chunks/7VE7IIRW.cjs +0 -34
- package/cjs/__chunks/A6H7IIHJ.cjs +0 -42
- package/cjs/__chunks/CYI34MDD.cjs +0 -33
- package/cjs/__chunks/DHBKOFHJ.cjs +0 -32
- package/cjs/__chunks/FTX6TAJC.cjs +0 -38
- package/cjs/__chunks/G2U3D7Y6.cjs +0 -40
- package/cjs/__chunks/HADU3YYR.cjs +0 -38
- package/cjs/__chunks/OQROAZRY.cjs +0 -48
- package/cjs/__chunks/SW2AH2YO.cjs +0 -50
- package/cjs/__chunks/TDUVWW2F.cjs +0 -43
- package/cjs/__chunks/XH2CZ7VF.cjs +0 -41
- package/cjs/__chunks/ZL7HIJU2.cjs +0 -40
- package/cjs/__chunks/ZMSJUL55.cjs +0 -43
- package/cjs/tsconfig.build.tsbuildinfo +0 -1
- package/esm/tsconfig.build.tsbuildinfo +0 -1
package/cjs/dialog/dialog.cjs
CHANGED
|
@@ -1,41 +1,45 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
require('../__chunks/
|
|
7
|
-
require('../__chunks/
|
|
8
|
-
require('../__chunks/
|
|
9
|
-
require('../__chunks/
|
|
10
|
-
require('../__chunks/
|
|
11
|
-
require('../__chunks/
|
|
12
|
-
require('../__chunks/
|
|
13
|
-
require('../__chunks/
|
|
14
|
-
require('../__chunks/
|
|
15
|
-
require('../__chunks/
|
|
16
|
-
require('../__chunks/
|
|
17
|
-
require('../__chunks/
|
|
18
|
-
require('../__chunks/
|
|
19
|
-
require('../__chunks/
|
|
20
|
-
require('../__chunks/
|
|
21
|
-
require('../__chunks/
|
|
22
|
-
require('../__chunks/
|
|
23
|
-
require('../__chunks/
|
|
24
|
-
require('../__chunks/
|
|
25
|
-
require('../__chunks/
|
|
26
|
-
require('../__chunks/
|
|
27
|
-
require('../__chunks/
|
|
28
|
-
require('../__chunks/
|
|
29
|
-
require('../__chunks/
|
|
30
|
-
require('../__chunks/
|
|
31
|
-
require('../__chunks/
|
|
32
|
-
require('../__chunks/
|
|
33
|
-
require('../__chunks/
|
|
34
|
-
require('../__chunks/
|
|
35
|
-
require('../__chunks/
|
|
36
|
-
require('../__chunks/
|
|
37
|
-
require('../__chunks/
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
var _L5APETYYcjs = require('../__chunks/L5APETYY.cjs');
|
|
7
|
+
require('../__chunks/YREZ6S36.cjs');
|
|
8
|
+
require('../__chunks/D5XLZTLO.cjs');
|
|
9
|
+
require('../__chunks/DJLIJTDU.cjs');
|
|
10
|
+
require('../__chunks/JF225FQ5.cjs');
|
|
11
|
+
require('../__chunks/VV6WA3I6.cjs');
|
|
12
|
+
require('../__chunks/DEZWSLIM.cjs');
|
|
13
|
+
require('../__chunks/PZL34OVO.cjs');
|
|
14
|
+
require('../__chunks/6IUEXB4L.cjs');
|
|
15
|
+
require('../__chunks/7YLCVXZ7.cjs');
|
|
16
|
+
require('../__chunks/5GTNIPQ6.cjs');
|
|
17
|
+
require('../__chunks/7TN63K2T.cjs');
|
|
18
|
+
require('../__chunks/PRN5A3P4.cjs');
|
|
19
|
+
require('../__chunks/V24PR4PW.cjs');
|
|
20
|
+
require('../__chunks/POBIUXYK.cjs');
|
|
21
|
+
require('../__chunks/G3CEEQUP.cjs');
|
|
22
|
+
require('../__chunks/J3OG6T3B.cjs');
|
|
23
|
+
require('../__chunks/AE6TH3T4.cjs');
|
|
24
|
+
require('../__chunks/PG7QUWN4.cjs');
|
|
25
|
+
require('../__chunks/CVD2AZE2.cjs');
|
|
26
|
+
require('../__chunks/2BIO7R5N.cjs');
|
|
27
|
+
require('../__chunks/2TEJFTKY.cjs');
|
|
28
|
+
require('../__chunks/RXGXI75N.cjs');
|
|
29
|
+
require('../__chunks/QKKT6RXX.cjs');
|
|
30
|
+
require('../__chunks/SMKW5GKS.cjs');
|
|
31
|
+
require('../__chunks/7ARL6QHN.cjs');
|
|
32
|
+
require('../__chunks/75KXQZJX.cjs');
|
|
33
|
+
require('../__chunks/QCAPQDE7.cjs');
|
|
34
|
+
require('../__chunks/VKYTJKYN.cjs');
|
|
35
|
+
require('../__chunks/QQNI2PXZ.cjs');
|
|
36
|
+
require('../__chunks/4H55S5YC.cjs');
|
|
37
|
+
require('../__chunks/WLJVTO7A.cjs');
|
|
38
|
+
require('../__chunks/JTVNRMAC.cjs');
|
|
39
|
+
require('../__chunks/LNE2FWJO.cjs');
|
|
40
|
+
require('../__chunks/WYXAWBLE.cjs');
|
|
41
|
+
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
exports.Dialog = _L5APETYYcjs.Dialog; exports.createDialogComponent = _L5APETYYcjs.createDialogComponent; exports.useDialog = _L5APETYYcjs.useDialog;
|
|
@@ -0,0 +1,231 @@
|
|
|
1
|
+
import type { ComponentPropsWithRef, ElementType, ReactElement, KeyboardEvent as ReactKeyboardEvent, RefObject, SyntheticEvent } from "react";
|
|
2
|
+
import type { BooleanOrCallback } from "@ariakit/core/utils/types";
|
|
3
|
+
import type { DisclosureContentOptions } from "../disclosure/disclosure-content.js";
|
|
4
|
+
import type { FocusableOptions } from "../focusable/focusable.js";
|
|
5
|
+
import type { PortalOptions } from "../portal/portal.js";
|
|
6
|
+
import type { As, Component, Props } from "../utils/types.js";
|
|
7
|
+
import type { DialogStore } from "./dialog-store.js";
|
|
8
|
+
/**
|
|
9
|
+
* Returns props to create a `Dialog` component.
|
|
10
|
+
* @see https://ariakit.org/components/dialog
|
|
11
|
+
* @example
|
|
12
|
+
* ```jsx
|
|
13
|
+
* const store = useDialogStore();
|
|
14
|
+
* const props = useDialog({ store });
|
|
15
|
+
* <Role {...props}>Dialog</Role>
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
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>;
|
|
20
|
+
/**
|
|
21
|
+
* Renders a dialog element.
|
|
22
|
+
* @see https://ariakit.org/components/dialog
|
|
23
|
+
* @example
|
|
24
|
+
* ```jsx {4-6}
|
|
25
|
+
* const [open, setOpen] = useState(false);
|
|
26
|
+
*
|
|
27
|
+
* <button onClick={() => setOpen(true)}>Open dialog</button>
|
|
28
|
+
* <Dialog open={open} onClose={() => setOpen(false)}>
|
|
29
|
+
* Dialog
|
|
30
|
+
* </Dialog>
|
|
31
|
+
* ```
|
|
32
|
+
*/
|
|
33
|
+
export declare const Dialog: Component<DialogOptions<"div">>;
|
|
34
|
+
export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>, PortalOptions<T>, DisclosureContentOptions<T> {
|
|
35
|
+
/**
|
|
36
|
+
* Object returned by the
|
|
37
|
+
* [`useDialogStore`](https://ariakit.org/reference/use-dialog-store) hook. If
|
|
38
|
+
* not provided, the closest
|
|
39
|
+
* [`DialogProvider`](https://ariakit.org/reference/dialog-provider)
|
|
40
|
+
* component's context will be used. Otherwise, an internal store will be
|
|
41
|
+
* created.
|
|
42
|
+
*/
|
|
43
|
+
store?: DialogStore;
|
|
44
|
+
/**
|
|
45
|
+
* Controls the open state of the dialog. This is similar to the
|
|
46
|
+
* [`open`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)
|
|
47
|
+
* attribute on native dialog elements.
|
|
48
|
+
*
|
|
49
|
+
* Live examples:
|
|
50
|
+
* - [Dialog with scrollable
|
|
51
|
+
* backdrop](https://ariakit.org/examples/dialog-backdrop-scrollable)
|
|
52
|
+
* - [Dialog with details &
|
|
53
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
54
|
+
* - [Warning on Dialog
|
|
55
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
56
|
+
* - [Dialog with Menu](https://ariakit.org/examples/dialog-menu)
|
|
57
|
+
*/
|
|
58
|
+
open?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* This is an event handler prop triggered when the dialog's `close` event is
|
|
61
|
+
* dispatched. The `close` event is similar to the native dialog
|
|
62
|
+
* [`close`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close_event)
|
|
63
|
+
* event. The only difference is that this event can be cancelled with
|
|
64
|
+
* `event.preventDefault()`, which will prevent the dialog from hiding.
|
|
65
|
+
*
|
|
66
|
+
* It's important to note that this event only fires when the dialog store's
|
|
67
|
+
* [`open`](https://ariakit.org/reference/use-dialog-store#open) state is set
|
|
68
|
+
* to `false`. If the controlled
|
|
69
|
+
* [`open`](https://ariakit.org/reference/dialog#open) prop value changes, or
|
|
70
|
+
* if the dialog's visibility is altered in any other way (such as unmounting
|
|
71
|
+
* the dialog without adjusting the open state), this event won't be
|
|
72
|
+
* triggered.
|
|
73
|
+
*
|
|
74
|
+
* Live examples:
|
|
75
|
+
* - [Dialog with scrollable
|
|
76
|
+
* backdrop](https://ariakit.org/examples/dialog-backdrop-scrollable)
|
|
77
|
+
* - [Dialog with details &
|
|
78
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
79
|
+
* - [Warning on Dialog
|
|
80
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
81
|
+
* - [Dialog with Menu](https://ariakit.org/examples/dialog-menu)
|
|
82
|
+
*/
|
|
83
|
+
onClose?: (event: Event) => void;
|
|
84
|
+
/**
|
|
85
|
+
* Determines whether the dialog is modal. Modal dialogs have distinct states
|
|
86
|
+
* and behaviors:
|
|
87
|
+
* - The [`portal`](https://ariakit.org/reference/dialog#portal) and
|
|
88
|
+
* [`preventBodyScroll`](https://ariakit.org/reference/dialog#preventbodyscroll)
|
|
89
|
+
* props are set to `true`. They can still be manually set to `false`.
|
|
90
|
+
* - A visually hidden dismiss button will be rendered if the
|
|
91
|
+
* [`DialogDismiss`](https://ariakit.org/reference/dialog-dismiss) component
|
|
92
|
+
* hasn't been used. This allows screen reader users to close the dialog.
|
|
93
|
+
* - When the dialog is open, element tree outside it will be disabled.
|
|
94
|
+
* - When using the [`Heading`](https://ariakit.org/reference/heading) or
|
|
95
|
+
* [`DialogHeading`](https://ariakit.org/reference/dialog-heading)
|
|
96
|
+
* components within the dialog, their level will be reset so they start
|
|
97
|
+
* with `h1`.
|
|
98
|
+
*
|
|
99
|
+
* Live examples:
|
|
100
|
+
* - [Dialog with details &
|
|
101
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
102
|
+
* - [Form with Select](https://ariakit.org/examples/form-select)
|
|
103
|
+
* - [Context menu](https://ariakit.org/examples/menu-context-menu)
|
|
104
|
+
* - [Responsive Popover](https://ariakit.org/examples/popover-responsive)
|
|
105
|
+
* @default true
|
|
106
|
+
*/
|
|
107
|
+
modal?: boolean;
|
|
108
|
+
/**
|
|
109
|
+
* Determines whether there will be a backdrop behind the dialog. On modal
|
|
110
|
+
* dialogs, this is `true` by default. Besides a `boolean`, this prop can also
|
|
111
|
+
* be a React component or JSX element that will be rendered as the backdrop.
|
|
112
|
+
*
|
|
113
|
+
* **If a custom component is used, it must accept ref and spread all props to
|
|
114
|
+
* its underlying DOM element**, the same way a native element would.
|
|
115
|
+
*
|
|
116
|
+
* Live examples:
|
|
117
|
+
* - [Animated Dialog](https://ariakit.org/examples/dialog-animated)
|
|
118
|
+
* - [Dialog with scrollable
|
|
119
|
+
* backdrop](https://ariakit.org/examples/dialog-backdrop-scrollable)
|
|
120
|
+
* - [Dialog with Framer
|
|
121
|
+
* Motion](https://ariakit.org/examples/dialog-framer-motion)
|
|
122
|
+
* - [Dialog with Menu](https://ariakit.org/examples/dialog-menu)
|
|
123
|
+
* - [Nested Dialog](https://ariakit.org/examples/dialog-nested)
|
|
124
|
+
* - [Dialog with Next.js App
|
|
125
|
+
* Router](https://ariakit.org/examples/dialog-next-router)
|
|
126
|
+
* @example
|
|
127
|
+
* ```jsx
|
|
128
|
+
* <Dialog backdrop={<div className="backdrop" />} />
|
|
129
|
+
* ```
|
|
130
|
+
*/
|
|
131
|
+
backdrop?: boolean | ReactElement<ComponentPropsWithRef<"div">> | ElementType<ComponentPropsWithRef<"div">>;
|
|
132
|
+
/**
|
|
133
|
+
* Props that will be passed to the backdrop element if
|
|
134
|
+
* [`backdrop`](https://ariakit.org/reference/dialog#backdrop) is `true`.
|
|
135
|
+
* @deprecated Use the
|
|
136
|
+
* [`backdrop`](https://ariakit.org/reference/dialog#backdrop) prop instead.
|
|
137
|
+
*/
|
|
138
|
+
backdropProps?: ComponentPropsWithRef<"div">;
|
|
139
|
+
/**
|
|
140
|
+
* Determines whether the dialog will be hidden when the user presses the
|
|
141
|
+
* Escape key.
|
|
142
|
+
* @default true
|
|
143
|
+
*/
|
|
144
|
+
hideOnEscape?: BooleanOrCallback<KeyboardEvent | ReactKeyboardEvent>;
|
|
145
|
+
/**
|
|
146
|
+
* Determines whether the dialog will be hidden when the user clicks or focus
|
|
147
|
+
* on an element outside of the dialog.
|
|
148
|
+
*
|
|
149
|
+
* Live examples:
|
|
150
|
+
* - [Selection Popover](https://ariakit.org/examples/popover-selection)
|
|
151
|
+
* @default true
|
|
152
|
+
*/
|
|
153
|
+
hideOnInteractOutside?: BooleanOrCallback<Event | SyntheticEvent>;
|
|
154
|
+
/**
|
|
155
|
+
* When a dialog is open, the elements outside of it will be disabled so they
|
|
156
|
+
* can't be interacted with if the dialog is modal. For non-modal dialogs,
|
|
157
|
+
* interacting with elements outside of the dialog will close it. With this
|
|
158
|
+
* function, you can return a collection of elements that will be considered
|
|
159
|
+
* part of the dialog and therefore will be excluded from this behavior.
|
|
160
|
+
*
|
|
161
|
+
* Live examples:
|
|
162
|
+
* - [Dialog with
|
|
163
|
+
* React-Toastify](https://ariakit.org/examples/dialog-react-toastify)
|
|
164
|
+
*/
|
|
165
|
+
getPersistentElements?: () => Iterable<Element>;
|
|
166
|
+
/**
|
|
167
|
+
* Determines whether the body scrolling will be prevented when the dialog is
|
|
168
|
+
* shown.
|
|
169
|
+
*/
|
|
170
|
+
preventBodyScroll?: boolean;
|
|
171
|
+
/**
|
|
172
|
+
* Determines whether an element inside the dialog will receive focus when the
|
|
173
|
+
* dialog is shown. By default, this is usually the first tabbable element in
|
|
174
|
+
* the dialog or the dialog itself. The `initialFocus` prop can be used to set
|
|
175
|
+
* a different element to receive focus.
|
|
176
|
+
*
|
|
177
|
+
* Live examples:
|
|
178
|
+
* - [Warning on Dialog
|
|
179
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
180
|
+
* - [Sliding Menu](https://ariakit.org/examples/menu-slide)
|
|
181
|
+
* - [Selection Popover](https://ariakit.org/examples/popover-selection)
|
|
182
|
+
* @default true
|
|
183
|
+
*/
|
|
184
|
+
autoFocusOnShow?: BooleanOrCallback<HTMLElement | null>;
|
|
185
|
+
/**
|
|
186
|
+
* Determines whether an element outside of the dialog will be focused when
|
|
187
|
+
* the dialog is hidden if another element hasn't been focused in the action
|
|
188
|
+
* of hiding the dialog (for example, by clicking or tabbing into another
|
|
189
|
+
* tabbable element outside of the dialog).
|
|
190
|
+
*
|
|
191
|
+
* By default, this is usually the disclosure element. The
|
|
192
|
+
* [`finalFocus`](https://ariakit.org/reference/dialog#finalfocus) prop can be
|
|
193
|
+
* used to define a different element to be focused.
|
|
194
|
+
*
|
|
195
|
+
* Live examples:
|
|
196
|
+
* - [Dialog with Next.js App
|
|
197
|
+
* Router](https://ariakit.org/examples/dialog-next-router)
|
|
198
|
+
* - [Sliding menu](https://ariakit.org/examples/menu-slide)
|
|
199
|
+
* @default true
|
|
200
|
+
*/
|
|
201
|
+
autoFocusOnHide?: BooleanOrCallback<HTMLElement | null>;
|
|
202
|
+
/**
|
|
203
|
+
* Specifies the element that will receive focus when the dialog is first
|
|
204
|
+
* opened. It can be an `HTMLElement` or a `React.RefObject` with an
|
|
205
|
+
* `HTMLElement`.
|
|
206
|
+
*
|
|
207
|
+
* If
|
|
208
|
+
* [`autoFocusOnShow`](https://ariakit.org/reference/dialog#autofocusonshow)
|
|
209
|
+
* is set to `false`, this prop will have no effect. If left unset, the dialog
|
|
210
|
+
* will attempt to determine the initial focus element in the following order:
|
|
211
|
+
* 1. A [Focusable](https://ariakit.org/components/focusable) element with an
|
|
212
|
+
* [`autoFocus`](https://ariakit.org/reference/focusable#autofocus) prop.
|
|
213
|
+
* 2. The first tabbable element inside the dialog.
|
|
214
|
+
* 3. The first focusable element inside the dialog.
|
|
215
|
+
* 4. The dialog element itself.
|
|
216
|
+
*/
|
|
217
|
+
initialFocus?: HTMLElement | RefObject<HTMLElement> | null;
|
|
218
|
+
/**
|
|
219
|
+
* Determines the element that will receive focus once the dialog is closed,
|
|
220
|
+
* provided that no other element has been focused while the dialog was being
|
|
221
|
+
* hidden (e.g., by clicking or tabbing into another tabbable element outside
|
|
222
|
+
* of the dialog).
|
|
223
|
+
* - If
|
|
224
|
+
* [`autoFocusOnHide`](https://ariakit.org/reference/dialog#autofocusonhide)
|
|
225
|
+
* is set to `false`, this prop will have no effect.
|
|
226
|
+
* - If left unset, the element that was focused before the dialog was opened
|
|
227
|
+
* will be focused again.
|
|
228
|
+
*/
|
|
229
|
+
finalFocus?: HTMLElement | RefObject<HTMLElement> | null;
|
|
230
|
+
}
|
|
231
|
+
export type DialogProps<T extends As = "div"> = Props<DialogOptions<T>>;
|
package/cjs/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,22 +16,71 @@ 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
|
|
22
23
|
* @example
|
|
23
|
-
* ```jsx
|
|
24
|
-
* const
|
|
25
|
-
*
|
|
26
|
-
* <
|
|
24
|
+
* ```jsx {4-6}
|
|
25
|
+
* const [open, setOpen] = useState(false);
|
|
26
|
+
*
|
|
27
|
+
* <button onClick={() => setOpen(true)}>Open dialog</button>
|
|
28
|
+
* <Dialog open={open} onClose={() => setOpen(false)}>
|
|
29
|
+
* Dialog
|
|
30
|
+
* </Dialog>
|
|
27
31
|
* ```
|
|
28
32
|
*/
|
|
29
|
-
export declare const Dialog:
|
|
33
|
+
export declare const Dialog: Component<DialogOptions<"div">>;
|
|
30
34
|
export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>, PortalOptions<T>, DisclosureContentOptions<T> {
|
|
31
35
|
/**
|
|
32
|
-
* Object returned by the
|
|
36
|
+
* Object returned by the
|
|
37
|
+
* [`useDialogStore`](https://ariakit.org/reference/use-dialog-store) hook. If
|
|
38
|
+
* not provided, the closest
|
|
39
|
+
* [`DialogProvider`](https://ariakit.org/reference/dialog-provider)
|
|
40
|
+
* component's context will be used. Otherwise, an internal store will be
|
|
41
|
+
* created.
|
|
33
42
|
*/
|
|
34
43
|
store?: DialogStore;
|
|
44
|
+
/**
|
|
45
|
+
* Controls the open state of the dialog. This is similar to the
|
|
46
|
+
* [`open`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/open)
|
|
47
|
+
* attribute on native dialog elements.
|
|
48
|
+
*
|
|
49
|
+
* Live examples:
|
|
50
|
+
* - [Dialog with scrollable
|
|
51
|
+
* backdrop](https://ariakit.org/examples/dialog-backdrop-scrollable)
|
|
52
|
+
* - [Dialog with details &
|
|
53
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
54
|
+
* - [Warning on Dialog
|
|
55
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
56
|
+
* - [Dialog with Menu](https://ariakit.org/examples/dialog-menu)
|
|
57
|
+
*/
|
|
58
|
+
open?: boolean;
|
|
59
|
+
/**
|
|
60
|
+
* This is an event handler prop triggered when the dialog's `close` event is
|
|
61
|
+
* dispatched. The `close` event is similar to the native dialog
|
|
62
|
+
* [`close`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLDialogElement/close_event)
|
|
63
|
+
* event. The only difference is that this event can be cancelled with
|
|
64
|
+
* `event.preventDefault()`, which will prevent the dialog from hiding.
|
|
65
|
+
*
|
|
66
|
+
* It's important to note that this event only fires when the dialog store's
|
|
67
|
+
* [`open`](https://ariakit.org/reference/use-dialog-store#open) state is set
|
|
68
|
+
* to `false`. If the controlled
|
|
69
|
+
* [`open`](https://ariakit.org/reference/dialog#open) prop value changes, or
|
|
70
|
+
* if the dialog's visibility is altered in any other way (such as unmounting
|
|
71
|
+
* the dialog without adjusting the open state), this event won't be
|
|
72
|
+
* triggered.
|
|
73
|
+
*
|
|
74
|
+
* Live examples:
|
|
75
|
+
* - [Dialog with scrollable
|
|
76
|
+
* backdrop](https://ariakit.org/examples/dialog-backdrop-scrollable)
|
|
77
|
+
* - [Dialog with details &
|
|
78
|
+
* summary](https://ariakit.org/examples/dialog-details)
|
|
79
|
+
* - [Warning on Dialog
|
|
80
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
81
|
+
* - [Dialog with Menu](https://ariakit.org/examples/dialog-menu)
|
|
82
|
+
*/
|
|
83
|
+
onClose?: (event: Event) => void;
|
|
35
84
|
/**
|
|
36
85
|
* Determines whether the dialog is modal. Modal dialogs have distinct states
|
|
37
86
|
* and behaviors:
|
|
@@ -96,6 +145,9 @@ export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>
|
|
|
96
145
|
/**
|
|
97
146
|
* Determines whether the dialog will be hidden when the user clicks or focus
|
|
98
147
|
* on an element outside of the dialog.
|
|
148
|
+
*
|
|
149
|
+
* Live examples:
|
|
150
|
+
* - [Selection Popover](https://ariakit.org/examples/popover-selection)
|
|
99
151
|
* @default true
|
|
100
152
|
*/
|
|
101
153
|
hideOnInteractOutside?: BooleanOrCallback<Event | SyntheticEvent>;
|
|
@@ -121,6 +173,12 @@ export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>
|
|
|
121
173
|
* dialog is shown. By default, this is usually the first tabbable element in
|
|
122
174
|
* the dialog or the dialog itself. The `initialFocus` prop can be used to set
|
|
123
175
|
* a different element to receive focus.
|
|
176
|
+
*
|
|
177
|
+
* Live examples:
|
|
178
|
+
* - [Warning on Dialog
|
|
179
|
+
* hide](https://ariakit.org/examples/dialog-hide-warning)
|
|
180
|
+
* - [Sliding Menu](https://ariakit.org/examples/menu-slide)
|
|
181
|
+
* - [Selection Popover](https://ariakit.org/examples/popover-selection)
|
|
124
182
|
* @default true
|
|
125
183
|
*/
|
|
126
184
|
autoFocusOnShow?: BooleanOrCallback<HTMLElement | null>;
|
|
@@ -128,9 +186,16 @@ export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>
|
|
|
128
186
|
* Determines whether an element outside of the dialog will be focused when
|
|
129
187
|
* the dialog is hidden if another element hasn't been focused in the action
|
|
130
188
|
* of hiding the dialog (for example, by clicking or tabbing into another
|
|
131
|
-
* tabbable element outside of the dialog).
|
|
132
|
-
*
|
|
133
|
-
*
|
|
189
|
+
* tabbable element outside of the dialog).
|
|
190
|
+
*
|
|
191
|
+
* By default, this is usually the disclosure element. The
|
|
192
|
+
* [`finalFocus`](https://ariakit.org/reference/dialog#finalfocus) prop can be
|
|
193
|
+
* used to define a different element to be focused.
|
|
194
|
+
*
|
|
195
|
+
* Live examples:
|
|
196
|
+
* - [Dialog with Next.js App
|
|
197
|
+
* Router](https://ariakit.org/examples/dialog-next-router)
|
|
198
|
+
* - [Sliding menu](https://ariakit.org/examples/menu-slide)
|
|
134
199
|
* @default true
|
|
135
200
|
*/
|
|
136
201
|
autoFocusOnHide?: BooleanOrCallback<HTMLElement | null>;
|
|
@@ -154,9 +219,12 @@ export interface DialogOptions<T extends As = "div"> extends FocusableOptions<T>
|
|
|
154
219
|
* Determines the element that will receive focus once the dialog is closed,
|
|
155
220
|
* provided that no other element has been focused while the dialog was being
|
|
156
221
|
* hidden (e.g., by clicking or tabbing into another tabbable element outside
|
|
157
|
-
* of the dialog).
|
|
158
|
-
*
|
|
159
|
-
*
|
|
222
|
+
* of the dialog).
|
|
223
|
+
* - If
|
|
224
|
+
* [`autoFocusOnHide`](https://ariakit.org/reference/dialog#autofocusonhide)
|
|
225
|
+
* is set to `false`, this prop will have no effect.
|
|
226
|
+
* - If left unset, the element that was focused before the dialog was opened
|
|
227
|
+
* will be focused again.
|
|
160
228
|
*/
|
|
161
229
|
finalFocus?: HTMLElement | RefObject<HTMLElement> | null;
|
|
162
230
|
}
|
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _F4RJLWZGcjs = require('../../__chunks/F4RJLWZG.cjs');
|
|
5
|
-
require('../../__chunks/Z3TLXRS7.cjs');
|
|
6
|
-
require('../../__chunks/TLA46MN6.cjs');
|
|
7
|
-
require('../../__chunks/BWQVQDGC.cjs');
|
|
8
|
-
require('../../__chunks/72I2GWXF.cjs');
|
|
9
4
|
|
|
5
|
+
var _PZL34OVOcjs = require('../../__chunks/PZL34OVO.cjs');
|
|
6
|
+
require('../../__chunks/7YLCVXZ7.cjs');
|
|
7
|
+
require('../../__chunks/5GTNIPQ6.cjs');
|
|
8
|
+
require('../../__chunks/V24PR4PW.cjs');
|
|
9
|
+
require('../../__chunks/WYXAWBLE.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
|
|
13
|
+
exports.disableAccessibilityTreeOutside = _PZL34OVOcjs.disableAccessibilityTreeOutside; exports.hideElementFromAccessibilityTree = _PZL34OVOcjs.hideElementFromAccessibilityTree;
|
|
@@ -1,14 +1,15 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var _COHI5HTScjs = require('../../__chunks/COHI5HTS.cjs');
|
|
5
|
-
require('../../__chunks/F4RJLWZG.cjs');
|
|
6
|
-
require('../../__chunks/56NPFF7P.cjs');
|
|
7
|
-
require('../../__chunks/Z3TLXRS7.cjs');
|
|
8
|
-
require('../../__chunks/TLA46MN6.cjs');
|
|
9
|
-
require('../../__chunks/BWQVQDGC.cjs');
|
|
10
|
-
require('../../__chunks/72I2GWXF.cjs');
|
|
11
4
|
|
|
5
|
+
var _DEZWSLIMcjs = require('../../__chunks/DEZWSLIM.cjs');
|
|
6
|
+
require('../../__chunks/PZL34OVO.cjs');
|
|
7
|
+
require('../../__chunks/6IUEXB4L.cjs');
|
|
8
|
+
require('../../__chunks/7YLCVXZ7.cjs');
|
|
9
|
+
require('../../__chunks/5GTNIPQ6.cjs');
|
|
10
|
+
require('../../__chunks/V24PR4PW.cjs');
|
|
11
|
+
require('../../__chunks/WYXAWBLE.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
|
|
15
|
+
exports.disableTree = _DEZWSLIMcjs.disableTree; exports.disableTreeOutside = _DEZWSLIMcjs.disableTreeOutside;
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { noop } from "@ariakit/core/utils/misc";
|
|
2
|
+
type Elements = Array<Element | null>;
|
|
3
|
+
export declare function disableTree(element: Element | HTMLElement, ignoredElements?: Elements): typeof noop;
|
|
4
|
+
export declare function disableTreeOutside(id: string, elements: Elements): () => void;
|
|
5
|
+
export {};
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
|
-
var _Z3TLXRS7cjs = require('../../__chunks/Z3TLXRS7.cjs');
|
|
4
|
-
require('../../__chunks/72I2GWXF.cjs');
|
|
5
3
|
|
|
4
|
+
var _7YLCVXZ7cjs = require('../../__chunks/7YLCVXZ7.cjs');
|
|
5
|
+
require('../../__chunks/WYXAWBLE.cjs');
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
exports.isBackdrop = _7YLCVXZ7cjs.isBackdrop;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function isBackdrop(element?: Element | null, ...ids: Array<string | null | undefined>): boolean;
|
|
@@ -1,16 +1,17 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var _QK4GI6B3cjs = require('../../__chunks/QK4GI6B3.cjs');
|
|
7
|
-
require('../../__chunks/Z3TLXRS7.cjs');
|
|
8
|
-
require('../../__chunks/TLA46MN6.cjs');
|
|
9
|
-
require('../../__chunks/BWQVQDGC.cjs');
|
|
10
|
-
require('../../__chunks/72I2GWXF.cjs');
|
|
11
6
|
|
|
7
|
+
var _VV6WA3I6cjs = require('../../__chunks/VV6WA3I6.cjs');
|
|
8
|
+
require('../../__chunks/7YLCVXZ7.cjs');
|
|
9
|
+
require('../../__chunks/5GTNIPQ6.cjs');
|
|
10
|
+
require('../../__chunks/V24PR4PW.cjs');
|
|
11
|
+
require('../../__chunks/WYXAWBLE.cjs');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
exports.isElementMarked = _VV6WA3I6cjs.isElementMarked; exports.markAncestor = _VV6WA3I6cjs.markAncestor; exports.markElement = _VV6WA3I6cjs.markElement; exports.markTreeOutside = _VV6WA3I6cjs.markTreeOutside;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
type Elements = Array<Element | null>;
|
|
2
|
+
export declare function markElement(element: Element, id?: string): () => void;
|
|
3
|
+
export declare function markAncestor(element: Element, id?: string): () => void;
|
|
4
|
+
export declare function isElementMarked(element: Element, id?: string): boolean;
|
|
5
|
+
export declare function markTreeOutside(id: string, elements: Elements): () => void;
|
|
6
|
+
export {};
|
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var _BWQVQDGCcjs = require('../../__chunks/BWQVQDGC.cjs');
|
|
7
|
-
require('../../__chunks/72I2GWXF.cjs');
|
|
8
6
|
|
|
7
|
+
var _V24PR4PWcjs = require('../../__chunks/V24PR4PW.cjs');
|
|
8
|
+
require('../../__chunks/WYXAWBLE.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
|
|
14
|
+
exports.assignStyle = _V24PR4PWcjs.assignStyle; exports.setAttribute = _V24PR4PWcjs.setAttribute; exports.setCSSProperty = _V24PR4PWcjs.setCSSProperty; exports.setProperty = _V24PR4PWcjs.setProperty;
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
export declare function setAttribute(element: Element, attr: string, value: string): () => void;
|
|
2
|
+
export declare function setProperty<T extends Element, K extends keyof T & string>(element: T, property: K, value: T[K]): () => void;
|
|
3
|
+
export declare function assignStyle(element: HTMLElement | null | undefined, style: Partial<CSSStyleDeclaration>): () => void;
|
|
4
|
+
export declare function setCSSProperty(element: HTMLElement | null | undefined, property: string, value: string): () => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
|
-
var _W32FX7DMcjs = require('../../__chunks/W32FX7DM.cjs');
|
|
4
|
-
require('../../__chunks/72I2GWXF.cjs');
|
|
5
3
|
|
|
4
|
+
var _JF225FQ5cjs = require('../../__chunks/JF225FQ5.cjs');
|
|
5
|
+
require('../../__chunks/WYXAWBLE.cjs');
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
exports.prependHiddenDismiss = _JF225FQ5cjs.prependHiddenDismiss;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function prependHiddenDismiss(container: HTMLElement, onClick: () => unknown): () => void;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
1
|
+
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
|
-
var _56NPFF7Pcjs = require('../../__chunks/56NPFF7P.cjs');
|
|
4
|
-
require('../../__chunks/72I2GWXF.cjs');
|
|
5
3
|
|
|
4
|
+
var _6IUEXB4Lcjs = require('../../__chunks/6IUEXB4L.cjs');
|
|
5
|
+
require('../../__chunks/WYXAWBLE.cjs');
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
exports.supportsInert = _6IUEXB4Lcjs.supportsInert;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function supportsInert(): boolean;
|