@ariakit/react-core 0.4.23 → 0.4.25
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 +99 -0
- package/cjs/__chunks/{ETUTZY4G.cjs → 2HCTOR45.cjs} +6 -6
- package/cjs/__chunks/{5AGCRCKV.cjs → 2UJOY5ZF.cjs} +2 -2
- package/cjs/__chunks/{MIBORXQW.cjs → 2XVCJUVB.cjs} +1 -1
- package/cjs/__chunks/{KGFTRA3C.cjs → 3BSDKDKD.cjs} +7 -2
- package/cjs/__chunks/{ZCQQLDPK.cjs → 4TGUMNHN.cjs} +18 -14
- package/cjs/__chunks/{KHJERDK3.cjs → 55GZX7VJ.cjs} +14 -14
- package/cjs/__chunks/{H2FXMMBN.cjs → 55HRZINU.cjs} +2 -2
- package/cjs/__chunks/{OU7YN4Y6.cjs → 56IW3LDC.cjs} +5 -5
- package/cjs/__chunks/{ZCFQZKRS.cjs → 5BTJAKB4.cjs} +18 -18
- package/cjs/__chunks/{LITMCKMJ.cjs → 5F7H6NQV.cjs} +6 -6
- package/cjs/__chunks/{QHTB3O7V.cjs → 5FW7ADLF.cjs} +4 -4
- package/cjs/__chunks/{K5XITHE3.cjs → 5KYY6256.cjs} +4 -4
- package/cjs/__chunks/{ZPT6IQKO.cjs → 5MLKOK3F.cjs} +4 -4
- package/cjs/__chunks/{WJN3C6NM.cjs → 5OZ7J4C2.cjs} +5 -5
- package/cjs/__chunks/{5GHA7P5F.cjs → 6CXWEW5O.cjs} +6 -6
- package/cjs/__chunks/{YTQONGS5.cjs → 6E4BBKC4.cjs} +63 -44
- package/cjs/__chunks/{GX66UERW.cjs → 6IFEN2M3.cjs} +11 -11
- package/cjs/__chunks/{ZO6DH46K.cjs → 6P52IAFY.cjs} +5 -5
- package/cjs/__chunks/{5OPFFDFG.cjs → 6Y44Y5UF.cjs} +6 -6
- package/cjs/__chunks/{OLXEI7QX.cjs → 7AMN26AR.cjs} +14 -13
- package/cjs/__chunks/{RAME3APW.cjs → 7DAL4U2W.cjs} +5 -5
- package/cjs/__chunks/{NRJF3KTK.cjs → 7JL3CCPE.cjs} +20 -17
- package/cjs/__chunks/{57B3GSGZ.cjs → 7M65DPMB.cjs} +22 -18
- package/cjs/__chunks/{FQW3UGMH.cjs → 7O4F7UYX.cjs} +13 -13
- package/cjs/__chunks/{OAFCIJ5X.cjs → 7XPYSHN7.cjs} +13 -9
- package/cjs/__chunks/{4NZHMZNF.cjs → AVNURAH2.cjs} +6 -6
- package/cjs/__chunks/{YQMDNMVH.cjs → AYPF6BUR.cjs} +8 -8
- package/cjs/__chunks/{ZHCGZMXH.cjs → B2PY6EOR.cjs} +24 -19
- package/cjs/__chunks/{J7ATZCFK.cjs → B5WROPFJ.cjs} +30 -27
- package/cjs/__chunks/{OYEJQSLL.cjs → BSDSNAGP.cjs} +38 -34
- package/cjs/__chunks/BSNUGND5.cjs +31 -0
- package/cjs/__chunks/{MYLMS3TR.cjs → C2MKKGTC.cjs} +15 -15
- package/cjs/__chunks/{6425RWY5.cjs → CBSFAW7N.cjs} +15 -14
- package/cjs/__chunks/{PCBYE2BJ.cjs → CTBYSXNU.cjs} +13 -7
- package/cjs/__chunks/{ANHHZKY4.cjs → D7QSSCKR.cjs} +96 -89
- package/cjs/__chunks/{Z6JUQCZE.cjs → DBVVP6CD.cjs} +20 -20
- package/cjs/__chunks/{IK7DVLXA.cjs → DD7MF4PQ.cjs} +9 -9
- package/cjs/__chunks/{L5UNQIH6.cjs → DEKAT4J4.cjs} +5 -5
- package/cjs/__chunks/{V7ISXTDO.cjs → EESDYGNH.cjs} +8 -8
- package/cjs/__chunks/{MLRWKUIE.cjs → EV33XSIB.cjs} +6 -6
- package/cjs/__chunks/{AI6VIQ5F.cjs → EXYNE2GE.cjs} +6 -6
- package/cjs/__chunks/{VQNB6TQG.cjs → F7D3HWZN.cjs} +4 -4
- package/cjs/__chunks/FAZMJLCO.cjs +44 -0
- package/cjs/__chunks/{YY2UXBEB.cjs → FH6HQ5JN.cjs} +10 -11
- package/cjs/__chunks/{FHB7634O.cjs → FHIGX2EE.cjs} +5 -5
- package/cjs/__chunks/HYJVIPVI.cjs +31 -0
- package/cjs/__chunks/{THHAUPXT.cjs → I6T3D36K.cjs} +5 -5
- package/cjs/__chunks/{MAP7LWFN.cjs → IBZ3ST3Y.cjs} +19 -19
- package/cjs/__chunks/{CGGSN7G5.cjs → IT5KI7HR.cjs} +6 -6
- package/cjs/__chunks/{CFNQ2EAV.cjs → ITCIC2TC.cjs} +12 -12
- package/cjs/__chunks/{4UZ6ECXX.cjs → JFMNIOZ3.cjs} +24 -24
- package/cjs/__chunks/{TQH4GRJ6.cjs → JOJLVZGE.cjs} +33 -25
- package/cjs/__chunks/{L6J77MXF.cjs → K6UHAC73.cjs} +18 -18
- package/cjs/__chunks/{3ZDSDKC6.cjs → KEDCOTT4.cjs} +26 -26
- package/cjs/__chunks/{S62V5F35.cjs → KF66C5NZ.cjs} +16 -16
- package/cjs/__chunks/{AT2XHUYN.cjs → LBUQETMN.cjs} +16 -12
- package/cjs/__chunks/{62RIM242.cjs → LH55DG7M.cjs} +7 -7
- package/cjs/__chunks/{HJXE25KH.cjs → LITSDAU3.cjs} +16 -17
- package/cjs/__chunks/{TIQJZGMO.cjs → MKJKL65R.cjs} +11 -11
- package/cjs/__chunks/{CZKPX6W7.cjs → MLKK6UGO.cjs} +14 -14
- package/cjs/__chunks/{SDXRA2A6.cjs → MMSR5JSJ.cjs} +5 -5
- package/cjs/__chunks/{DIWKSV34.cjs → MPIQVHCB.cjs} +9 -9
- package/cjs/__chunks/{KDJ6FXQQ.cjs → MSN6U3HD.cjs} +5 -5
- package/cjs/__chunks/{4JH5Q6AQ.cjs → MWXEIKZX.cjs} +65 -94
- package/cjs/__chunks/{6GWYBIDM.cjs → MXJUUCSD.cjs} +10 -10
- package/cjs/__chunks/{VGI2PE2B.cjs → MXP46NZ2.cjs} +6 -6
- package/cjs/__chunks/{WMMRPEHO.cjs → NJNW7W5M.cjs} +6 -6
- package/cjs/__chunks/{77IUZSUB.cjs → NKGUWTUC.cjs} +7 -7
- package/cjs/__chunks/{UUGJI255.cjs → NSONUP5C.cjs} +9 -9
- package/cjs/__chunks/{U46W2ZNX.cjs → O7FALLU5.cjs} +7 -7
- package/cjs/__chunks/{HQBHIWZX.cjs → OJZKTJL7.cjs} +7 -7
- package/cjs/__chunks/{CTELE3FV.cjs → OS2EY4T5.cjs} +15 -15
- package/cjs/__chunks/{6N7G7IZO.cjs → OTCKJ4OK.cjs} +5 -5
- package/cjs/__chunks/{DSARHX6H.cjs → PCBS3ZKF.cjs} +16 -16
- package/cjs/__chunks/{5BVSKVUN.cjs → PFM4PJSG.cjs} +5 -5
- package/cjs/__chunks/{743QABRA.cjs → PTOCUU2D.cjs} +2 -2
- package/cjs/__chunks/{2YNAELCX.cjs → QCWMNYUY.cjs} +33 -29
- package/cjs/__chunks/{FAUOOJGN.cjs → QTH7UFAP.cjs} +6 -6
- package/cjs/__chunks/{WS3AS5PB.cjs → QWIBF3KB.cjs} +31 -31
- package/cjs/__chunks/{L6CLLK7R.cjs → RF45TVVP.cjs} +9 -3
- package/cjs/__chunks/{HHXD2YNZ.cjs → SARAALGA.cjs} +2 -2
- package/cjs/__chunks/{7WQJLR5U.cjs → STJK5WUW.cjs} +10 -10
- package/cjs/__chunks/{QKNBVX3U.cjs → SZWBUSP4.cjs} +5 -5
- package/cjs/__chunks/T3UMQSFA.cjs +34 -0
- package/cjs/__chunks/{V2BJN5UQ.cjs → TMRDWUTB.cjs} +4 -4
- package/cjs/__chunks/{567HKB5N.cjs → TVPBHOOY.cjs} +5 -5
- package/cjs/__chunks/{WI7QXQL7.cjs → UCZW3OGH.cjs} +5 -5
- package/cjs/__chunks/{V4CSM2UR.cjs → VKRKCS23.cjs} +14 -14
- package/cjs/__chunks/{TXUJ5BOC.cjs → VP4WDOZF.cjs} +2 -2
- package/cjs/__chunks/{26FZXC26.cjs → VRR6XSK3.cjs} +4 -4
- package/cjs/__chunks/{L22B4P6Y.cjs → VYZTFWCG.cjs} +7 -10
- package/cjs/__chunks/{HNUUQ6LR.cjs → W5HIR4GY.cjs} +2 -2
- package/cjs/__chunks/{SM7ORVC7.cjs → WNIDV3Q7.cjs} +24 -20
- package/cjs/__chunks/{ZXVQQIOS.cjs → WU47XUXM.cjs} +4 -4
- package/cjs/__chunks/{V73NZLLB.cjs → X22FP4G7.cjs} +14 -14
- package/cjs/__chunks/{6AOESUW6.cjs → XDATOVDX.cjs} +7 -7
- package/cjs/__chunks/{HY6WXQ7B.cjs → XIM2KQSL.cjs} +12 -9
- package/cjs/__chunks/{SQ6Y6NO5.cjs → XPOUQO6M.cjs} +28 -26
- package/cjs/__chunks/{LZIHTTN3.cjs → XUEEOXY3.cjs} +6 -6
- package/cjs/__chunks/{SS26HAQ2.cjs → XWMMMXUK.cjs} +2 -2
- package/cjs/__chunks/{JJQSOPYI.cjs → XXF5DFSG.cjs} +12 -12
- package/cjs/__chunks/{Y6SONUWG.cjs → Y34TXRAI.cjs} +14 -14
- package/cjs/__chunks/{FBPPLGNN.cjs → YEIU6ILA.cjs} +6 -6
- package/cjs/__chunks/{M6ZB7Q5F.cjs → ZMH55N2I.cjs} +14 -14
- package/cjs/__chunks/{ALTUQCI3.cjs → ZQYY7DF3.cjs} +15 -15
- package/cjs/button/button.cjs +6 -6
- package/cjs/button/button.d.cts +2 -2
- package/cjs/button/button.d.ts +2 -2
- package/cjs/checkbox/checkbox-check.cjs +4 -4
- package/cjs/checkbox/checkbox-check.d.cts +7 -7
- package/cjs/checkbox/checkbox-check.d.ts +7 -7
- package/cjs/checkbox/checkbox-context.cjs +4 -4
- package/cjs/checkbox/checkbox-provider.cjs +7 -7
- package/cjs/checkbox/checkbox-provider.d.cts +1 -1
- package/cjs/checkbox/checkbox-provider.d.ts +1 -1
- package/cjs/checkbox/checkbox-store.cjs +4 -4
- package/cjs/checkbox/checkbox-store.d.cts +4 -4
- package/cjs/checkbox/checkbox-store.d.ts +4 -4
- package/cjs/checkbox/checkbox.cjs +8 -8
- package/cjs/checkbox/checkbox.d.cts +12 -12
- package/cjs/checkbox/checkbox.d.ts +12 -12
- package/cjs/collection/collection-context.cjs +4 -4
- package/cjs/collection/collection-item-offscreen.cjs +7 -7
- package/cjs/collection/collection-item-offscreen.d.cts +3 -3
- package/cjs/collection/collection-item-offscreen.d.ts +3 -3
- package/cjs/collection/collection-item.cjs +5 -5
- package/cjs/collection/collection-item.d.cts +12 -12
- package/cjs/collection/collection-item.d.ts +12 -12
- package/cjs/collection/collection-provider.cjs +7 -7
- package/cjs/collection/collection-provider.d.cts +2 -2
- package/cjs/collection/collection-provider.d.ts +2 -2
- package/cjs/collection/collection-renderer.cjs +6 -6
- package/cjs/collection/collection-renderer.d.cts +4 -4
- package/cjs/collection/collection-renderer.d.ts +4 -4
- package/cjs/collection/collection-store.cjs +4 -4
- package/cjs/collection/collection-store.d.cts +3 -3
- package/cjs/collection/collection-store.d.ts +3 -3
- package/cjs/collection/collection.cjs +9 -9
- package/cjs/collection/collection.d.cts +6 -6
- package/cjs/collection/collection.d.ts +6 -6
- package/cjs/combobox/combobox-cancel.cjs +23 -20
- package/cjs/combobox/combobox-cancel.d.cts +5 -5
- package/cjs/combobox/combobox-cancel.d.ts +5 -5
- package/cjs/combobox/combobox-context.cjs +9 -9
- package/cjs/combobox/combobox-disclosure.cjs +26 -26
- package/cjs/combobox/combobox-disclosure.d.cts +6 -6
- package/cjs/combobox/combobox-disclosure.d.ts +6 -6
- package/cjs/combobox/combobox-group-label.cjs +8 -8
- package/cjs/combobox/combobox-group-label.d.cts +6 -6
- package/cjs/combobox/combobox-group-label.d.ts +6 -6
- package/cjs/combobox/combobox-group.cjs +19 -16
- package/cjs/combobox/combobox-group.d.cts +7 -7
- package/cjs/combobox/combobox-group.d.ts +7 -7
- package/cjs/combobox/combobox-item-check.cjs +14 -14
- package/cjs/combobox/combobox-item-check.d.cts +6 -6
- package/cjs/combobox/combobox-item-check.d.ts +6 -6
- package/cjs/combobox/combobox-item-offscreen.cjs +28 -28
- package/cjs/combobox/combobox-item-offscreen.d.cts +1 -1
- package/cjs/combobox/combobox-item-offscreen.d.ts +1 -1
- package/cjs/combobox/combobox-item-value.cjs +18 -17
- package/cjs/combobox/combobox-item-value.d.cts +15 -15
- package/cjs/combobox/combobox-item-value.d.ts +15 -15
- package/cjs/combobox/combobox-item.cjs +17 -17
- package/cjs/combobox/combobox-item.d.cts +36 -36
- package/cjs/combobox/combobox-item.d.ts +36 -36
- package/cjs/combobox/combobox-label.cjs +17 -14
- package/cjs/combobox/combobox-label.d.cts +5 -5
- package/cjs/combobox/combobox-label.d.ts +5 -5
- package/cjs/combobox/combobox-list.cjs +12 -12
- package/cjs/combobox/combobox-list.d.cts +4 -4
- package/cjs/combobox/combobox-list.d.ts +4 -4
- package/cjs/combobox/combobox-popover.cjs +36 -36
- package/cjs/combobox/combobox-popover.d.cts +2 -2
- package/cjs/combobox/combobox-popover.d.ts +2 -2
- package/cjs/combobox/combobox-provider.cjs +18 -18
- package/cjs/combobox/combobox-provider.d.cts +2 -2
- package/cjs/combobox/combobox-provider.d.ts +2 -2
- package/cjs/combobox/combobox-row.cjs +18 -15
- package/cjs/combobox/combobox-row.d.cts +7 -7
- package/cjs/combobox/combobox-row.d.ts +7 -7
- package/cjs/combobox/combobox-separator.cjs +16 -15
- package/cjs/combobox/combobox-separator.d.cts +7 -7
- package/cjs/combobox/combobox-separator.d.ts +7 -7
- package/cjs/combobox/combobox-store.cjs +13 -13
- package/cjs/combobox/combobox-store.d.cts +12 -12
- package/cjs/combobox/combobox-store.d.ts +12 -12
- package/cjs/combobox/combobox-value.cjs +13 -10
- package/cjs/combobox/combobox-value.d.cts +6 -6
- package/cjs/combobox/combobox-value.d.ts +6 -6
- package/cjs/combobox/combobox.cjs +67 -48
- package/cjs/combobox/combobox.d.cts +46 -46
- package/cjs/combobox/combobox.d.ts +46 -46
- package/cjs/command/command.cjs +5 -5
- package/cjs/command/command.d.cts +5 -5
- package/cjs/command/command.d.ts +5 -5
- package/cjs/composite/composite-container.cjs +8 -8
- package/cjs/composite/composite-container.d.cts +7 -7
- package/cjs/composite/composite-container.d.ts +7 -7
- package/cjs/composite/composite-context.cjs +5 -5
- package/cjs/composite/composite-group-label.cjs +5 -5
- package/cjs/composite/composite-group-label.d.cts +6 -6
- package/cjs/composite/composite-group-label.d.ts +6 -6
- package/cjs/composite/composite-group.cjs +5 -5
- package/cjs/composite/composite-group.d.cts +6 -6
- package/cjs/composite/composite-group.d.ts +6 -6
- package/cjs/composite/composite-hover.cjs +6 -6
- package/cjs/composite/composite-hover.d.cts +22 -22
- package/cjs/composite/composite-hover.d.ts +22 -22
- package/cjs/composite/composite-input.cjs +10 -10
- package/cjs/composite/composite-input.d.cts +7 -7
- package/cjs/composite/composite-input.d.ts +7 -7
- package/cjs/composite/composite-item-offscreen.cjs +14 -14
- package/cjs/composite/composite-item-offscreen.d.cts +2 -2
- package/cjs/composite/composite-item-offscreen.d.ts +2 -2
- package/cjs/composite/composite-item.cjs +11 -11
- package/cjs/composite/composite-item.d.cts +14 -14
- package/cjs/composite/composite-item.d.ts +14 -14
- package/cjs/composite/composite-overflow-disclosure.cjs +26 -26
- package/cjs/composite/composite-overflow-disclosure.d.cts +2 -2
- package/cjs/composite/composite-overflow-disclosure.d.ts +2 -2
- package/cjs/composite/composite-overflow-store.cjs +7 -7
- package/cjs/composite/composite-overflow-store.d.cts +1 -1
- package/cjs/composite/composite-overflow-store.d.ts +1 -1
- package/cjs/composite/composite-overflow.cjs +30 -28
- package/cjs/composite/composite-overflow.d.cts +2 -2
- package/cjs/composite/composite-overflow.d.ts +2 -2
- package/cjs/composite/composite-provider.cjs +9 -9
- package/cjs/composite/composite-provider.d.cts +2 -2
- package/cjs/composite/composite-provider.d.ts +2 -2
- package/cjs/composite/composite-renderer.cjs +8 -8
- package/cjs/composite/composite-renderer.d.cts +4 -4
- package/cjs/composite/composite-renderer.d.ts +4 -4
- package/cjs/composite/composite-row.cjs +7 -6
- package/cjs/composite/composite-row.d.cts +7 -7
- package/cjs/composite/composite-row.d.ts +7 -7
- package/cjs/composite/composite-separator.cjs +8 -7
- package/cjs/composite/composite-separator.d.cts +7 -7
- package/cjs/composite/composite-separator.d.ts +7 -7
- package/cjs/composite/composite-store.cjs +5 -5
- package/cjs/composite/composite-store.d.cts +3 -3
- package/cjs/composite/composite-store.d.ts +3 -3
- package/cjs/composite/composite-typeahead.cjs +7 -7
- package/cjs/composite/composite-typeahead.d.cts +6 -6
- package/cjs/composite/composite-typeahead.d.ts +6 -6
- package/cjs/composite/composite.cjs +9 -8
- package/cjs/composite/composite.d.cts +18 -18
- package/cjs/composite/composite.d.ts +18 -18
- package/cjs/composite/utils.cjs +2 -2
- package/cjs/dialog/dialog-backdrop.cjs +10 -10
- package/cjs/dialog/dialog-backdrop.d.cts +1 -1
- package/cjs/dialog/dialog-backdrop.d.ts +1 -1
- package/cjs/dialog/dialog-context.cjs +5 -5
- package/cjs/dialog/dialog-description.cjs +6 -6
- package/cjs/dialog/dialog-description.d.cts +5 -5
- package/cjs/dialog/dialog-description.d.ts +5 -5
- package/cjs/dialog/dialog-disclosure.cjs +11 -10
- package/cjs/dialog/dialog-disclosure.d.cts +5 -5
- package/cjs/dialog/dialog-disclosure.d.ts +5 -5
- package/cjs/dialog/dialog-dismiss.cjs +9 -9
- package/cjs/dialog/dialog-dismiss.d.cts +5 -5
- package/cjs/dialog/dialog-dismiss.d.ts +5 -5
- package/cjs/dialog/dialog-heading.cjs +7 -7
- package/cjs/dialog/dialog-heading.d.cts +5 -5
- package/cjs/dialog/dialog-heading.d.ts +5 -5
- package/cjs/dialog/dialog-provider.cjs +9 -9
- package/cjs/dialog/dialog-provider.d.cts +2 -2
- package/cjs/dialog/dialog-provider.d.ts +2 -2
- package/cjs/dialog/dialog-store.cjs +5 -5
- package/cjs/dialog/dialog-store.d.cts +2 -2
- package/cjs/dialog/dialog-store.d.ts +2 -2
- package/cjs/dialog/dialog.cjs +21 -21
- package/cjs/dialog/dialog.d.cts +51 -51
- package/cjs/dialog/dialog.d.ts +51 -51
- package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +4 -7
- package/cjs/dialog/utils/use-hide-on-interact-outside.d.cts +3 -2
- package/cjs/dialog/utils/use-hide-on-interact-outside.d.ts +3 -2
- package/cjs/dialog/utils/use-nested-dialogs.cjs +3 -3
- package/cjs/dialog/utils/use-prevent-body-scroll.cjs +4 -4
- package/cjs/dialog/utils/use-root-dialog.cjs +3 -3
- package/cjs/disclosure/disclosure-content.cjs +7 -7
- package/cjs/disclosure/disclosure-content.d.cts +20 -20
- package/cjs/disclosure/disclosure-content.d.ts +20 -20
- package/cjs/disclosure/disclosure-context.cjs +4 -4
- package/cjs/disclosure/disclosure-provider.cjs +7 -7
- package/cjs/disclosure/disclosure-provider.d.cts +2 -2
- package/cjs/disclosure/disclosure-provider.d.ts +2 -2
- package/cjs/disclosure/disclosure-store.cjs +4 -4
- package/cjs/disclosure/disclosure-store.d.cts +6 -6
- package/cjs/disclosure/disclosure-store.d.ts +6 -6
- package/cjs/disclosure/disclosure.cjs +9 -8
- package/cjs/disclosure/disclosure.d.cts +7 -7
- package/cjs/disclosure/disclosure.d.ts +7 -7
- package/cjs/focus-trap/focus-trap-region.cjs +10 -10
- package/cjs/focus-trap/focus-trap-region.d.cts +3 -3
- package/cjs/focus-trap/focus-trap-region.d.ts +3 -3
- package/cjs/focus-trap/focus-trap.cjs +5 -5
- package/cjs/focus-trap/focus-trap.d.cts +2 -2
- package/cjs/focus-trap/focus-trap.d.ts +2 -2
- package/cjs/focusable/focusable-container.cjs +4 -4
- package/cjs/focusable/focusable-container.d.cts +5 -5
- package/cjs/focusable/focusable-container.d.ts +5 -5
- package/cjs/focusable/focusable.cjs +4 -6
- package/cjs/focusable/focusable.d.cts +29 -34
- package/cjs/focusable/focusable.d.ts +29 -34
- package/cjs/form/form-checkbox.cjs +21 -21
- package/cjs/form/form-checkbox.d.cts +2 -2
- package/cjs/form/form-checkbox.d.ts +2 -2
- package/cjs/form/form-context.cjs +5 -5
- package/cjs/form/form-control.cjs +8 -7
- package/cjs/form/form-control.d.cts +10 -10
- package/cjs/form/form-control.d.ts +10 -10
- package/cjs/form/form-description.cjs +15 -15
- package/cjs/form/form-description.d.cts +6 -6
- package/cjs/form/form-description.d.ts +6 -6
- package/cjs/form/form-error.cjs +19 -16
- package/cjs/form/form-error.d.cts +6 -6
- package/cjs/form/form-error.d.ts +6 -6
- package/cjs/form/form-field.cjs +12 -11
- package/cjs/form/form-field.d.cts +2 -2
- package/cjs/form/form-field.d.ts +2 -2
- package/cjs/form/form-group-label.cjs +7 -7
- package/cjs/form/form-group-label.d.cts +7 -7
- package/cjs/form/form-group-label.d.ts +7 -7
- package/cjs/form/form-group.cjs +5 -5
- package/cjs/form/form-group.d.cts +6 -6
- package/cjs/form/form-group.d.ts +6 -6
- package/cjs/form/form-input.cjs +17 -16
- package/cjs/form/form-input.d.cts +3 -3
- package/cjs/form/form-input.d.ts +3 -3
- package/cjs/form/form-label.cjs +22 -18
- package/cjs/form/form-label.d.cts +6 -6
- package/cjs/form/form-label.d.ts +6 -6
- package/cjs/form/form-provider.cjs +9 -9
- package/cjs/form/form-provider.d.cts +2 -2
- package/cjs/form/form-provider.d.ts +2 -2
- package/cjs/form/form-push.cjs +16 -16
- package/cjs/form/form-push.d.cts +9 -9
- package/cjs/form/form-push.d.ts +9 -9
- package/cjs/form/form-radio-group.cjs +20 -8
- package/cjs/form/form-radio-group.d.cts +4 -4
- package/cjs/form/form-radio-group.d.ts +4 -4
- package/cjs/form/form-radio.cjs +27 -24
- package/cjs/form/form-radio.d.cts +4 -4
- package/cjs/form/form-radio.d.ts +4 -4
- package/cjs/form/form-remove.cjs +14 -14
- package/cjs/form/form-remove.d.cts +9 -9
- package/cjs/form/form-remove.d.ts +9 -9
- package/cjs/form/form-reset.cjs +16 -13
- package/cjs/form/form-reset.d.cts +6 -6
- package/cjs/form/form-reset.d.ts +6 -6
- package/cjs/form/form-store.cjs +5 -5
- package/cjs/form/form-store.d.cts +11 -11
- package/cjs/form/form-store.d.ts +11 -11
- package/cjs/form/form-submit.cjs +16 -13
- package/cjs/form/form-submit.d.cts +7 -7
- package/cjs/form/form-submit.d.ts +7 -7
- package/cjs/form/form.cjs +27 -24
- package/cjs/form/form.d.cts +17 -17
- package/cjs/form/form.d.ts +17 -17
- package/cjs/group/group-label.cjs +4 -4
- package/cjs/group/group-label.d.cts +3 -3
- package/cjs/group/group-label.d.ts +3 -3
- package/cjs/group/group.cjs +4 -4
- package/cjs/group/group.d.cts +3 -3
- package/cjs/group/group.d.ts +3 -3
- package/cjs/heading/heading-level.d.cts +2 -2
- package/cjs/heading/heading-level.d.ts +2 -2
- package/cjs/heading/heading.cjs +4 -4
- package/cjs/heading/heading.d.cts +3 -3
- package/cjs/heading/heading.d.ts +3 -3
- package/cjs/hovercard/hovercard-anchor.cjs +9 -9
- package/cjs/hovercard/hovercard-anchor.d.cts +7 -7
- package/cjs/hovercard/hovercard-anchor.d.ts +7 -7
- package/cjs/hovercard/hovercard-arrow.cjs +13 -13
- package/cjs/hovercard/hovercard-arrow.d.cts +6 -6
- package/cjs/hovercard/hovercard-arrow.d.ts +6 -6
- package/cjs/hovercard/hovercard-context.cjs +7 -7
- package/cjs/hovercard/hovercard-description.cjs +8 -8
- package/cjs/hovercard/hovercard-description.d.cts +6 -6
- package/cjs/hovercard/hovercard-description.d.ts +6 -6
- package/cjs/hovercard/hovercard-disclosure.cjs +22 -21
- package/cjs/hovercard/hovercard-disclosure.d.cts +5 -5
- package/cjs/hovercard/hovercard-disclosure.d.ts +5 -5
- package/cjs/hovercard/hovercard-dismiss.cjs +13 -13
- package/cjs/hovercard/hovercard-dismiss.d.cts +6 -6
- package/cjs/hovercard/hovercard-dismiss.d.ts +6 -6
- package/cjs/hovercard/hovercard-heading.cjs +9 -9
- package/cjs/hovercard/hovercard-heading.d.cts +6 -6
- package/cjs/hovercard/hovercard-heading.d.ts +6 -6
- package/cjs/hovercard/hovercard-provider.cjs +13 -13
- package/cjs/hovercard/hovercard-provider.d.cts +2 -2
- package/cjs/hovercard/hovercard-provider.d.ts +2 -2
- package/cjs/hovercard/hovercard-store.cjs +7 -7
- package/cjs/hovercard/hovercard-store.d.cts +2 -2
- package/cjs/hovercard/hovercard-store.d.ts +2 -2
- package/cjs/hovercard/hovercard.cjs +26 -26
- package/cjs/hovercard/hovercard.d.cts +5 -5
- package/cjs/hovercard/hovercard.d.ts +5 -5
- package/cjs/hovercard/utils/polygon.cjs +2 -2
- package/cjs/menu/menu-arrow.cjs +17 -17
- package/cjs/menu/menu-arrow.d.cts +7 -7
- package/cjs/menu/menu-arrow.d.ts +7 -7
- package/cjs/menu/menu-bar-provider.cjs +12 -12
- package/cjs/menu/menu-bar-provider.d.cts +1 -1
- package/cjs/menu/menu-bar-provider.d.ts +1 -1
- package/cjs/menu/menu-bar-store.cjs +8 -8
- package/cjs/menu/menu-bar-store.d.cts +1 -1
- package/cjs/menu/menu-bar-store.d.ts +1 -1
- package/cjs/menu/menu-bar.cjs +18 -18
- package/cjs/menu/menu-bar.d.cts +1 -1
- package/cjs/menu/menu-bar.d.ts +1 -1
- package/cjs/menu/menu-button-arrow.cjs +17 -16
- package/cjs/menu/menu-button-arrow.d.cts +9 -9
- package/cjs/menu/menu-button-arrow.d.ts +9 -9
- package/cjs/menu/menu-button.cjs +48 -43
- package/cjs/menu/menu-button.d.cts +8 -8
- package/cjs/menu/menu-button.d.ts +8 -8
- package/cjs/menu/menu-context.cjs +11 -11
- package/cjs/menu/menu-context.d.cts +1 -1
- package/cjs/menu/menu-context.d.ts +1 -1
- package/cjs/menu/menu-description.cjs +11 -11
- package/cjs/menu/menu-description.d.cts +6 -6
- package/cjs/menu/menu-description.d.ts +6 -6
- package/cjs/menu/menu-dismiss.cjs +23 -23
- package/cjs/menu/menu-dismiss.d.cts +6 -6
- package/cjs/menu/menu-dismiss.d.ts +6 -6
- package/cjs/menu/menu-group-label.cjs +8 -8
- package/cjs/menu/menu-group-label.d.cts +6 -6
- package/cjs/menu/menu-group-label.d.ts +6 -6
- package/cjs/menu/menu-group.cjs +8 -8
- package/cjs/menu/menu-group.d.cts +7 -7
- package/cjs/menu/menu-group.d.ts +7 -7
- package/cjs/menu/menu-heading.cjs +12 -12
- package/cjs/menu/menu-heading.d.cts +6 -6
- package/cjs/menu/menu-heading.d.ts +6 -6
- package/cjs/menu/menu-item-check.cjs +16 -16
- package/cjs/menu/menu-item-check.d.cts +7 -7
- package/cjs/menu/menu-item-check.d.ts +7 -7
- package/cjs/menu/menu-item-checkbox.cjs +33 -31
- package/cjs/menu/menu-item-checkbox.d.cts +15 -15
- package/cjs/menu/menu-item-checkbox.d.ts +15 -15
- package/cjs/menu/menu-item-radio.cjs +36 -31
- package/cjs/menu/menu-item-radio.d.cts +13 -13
- package/cjs/menu/menu-item-radio.d.ts +13 -13
- package/cjs/menu/menu-item.cjs +19 -19
- package/cjs/menu/menu-item.d.cts +11 -11
- package/cjs/menu/menu-item.d.ts +11 -11
- package/cjs/menu/menu-list.cjs +18 -18
- package/cjs/menu/menu-list.d.cts +7 -7
- package/cjs/menu/menu-list.d.ts +7 -7
- package/cjs/menu/menu-provider.cjs +21 -21
- package/cjs/menu/menu-provider.d.cts +2 -2
- package/cjs/menu/menu-provider.d.ts +2 -2
- package/cjs/menu/menu-separator.cjs +18 -17
- package/cjs/menu/menu-separator.d.cts +8 -8
- package/cjs/menu/menu-separator.d.ts +8 -8
- package/cjs/menu/menu-store.cjs +20 -20
- package/cjs/menu/menu-store.d.cts +13 -13
- package/cjs/menu/menu-store.d.ts +13 -13
- package/cjs/menu/menu.cjs +62 -55
- package/cjs/menu/menu.d.cts +4 -4
- package/cjs/menu/menu.d.ts +4 -4
- package/cjs/menubar/menubar-context.cjs +6 -6
- package/cjs/menubar/menubar-provider.cjs +11 -11
- package/cjs/menubar/menubar-provider.d.cts +2 -2
- package/cjs/menubar/menubar-provider.d.ts +2 -2
- package/cjs/menubar/menubar-store.cjs +6 -6
- package/cjs/menubar/menubar-store.d.cts +2 -2
- package/cjs/menubar/menubar-store.d.ts +2 -2
- package/cjs/menubar/menubar.cjs +14 -14
- package/cjs/menubar/menubar.d.cts +6 -6
- package/cjs/menubar/menubar.d.ts +6 -6
- package/cjs/popover/popover-anchor.cjs +7 -7
- package/cjs/popover/popover-anchor.d.cts +5 -5
- package/cjs/popover/popover-anchor.d.ts +5 -5
- package/cjs/popover/popover-arrow.cjs +8 -8
- package/cjs/popover/popover-arrow.d.cts +7 -7
- package/cjs/popover/popover-arrow.d.ts +7 -7
- package/cjs/popover/popover-context.cjs +6 -6
- package/cjs/popover/popover-description.cjs +7 -7
- package/cjs/popover/popover-description.d.cts +6 -6
- package/cjs/popover/popover-description.d.ts +6 -6
- package/cjs/popover/popover-disclosure-arrow.cjs +8 -7
- package/cjs/popover/popover-disclosure-arrow.d.cts +7 -7
- package/cjs/popover/popover-disclosure-arrow.d.ts +7 -7
- package/cjs/popover/popover-disclosure.cjs +14 -13
- package/cjs/popover/popover-disclosure.d.cts +3 -3
- package/cjs/popover/popover-disclosure.d.ts +3 -3
- package/cjs/popover/popover-dismiss.cjs +11 -11
- package/cjs/popover/popover-dismiss.d.cts +6 -6
- package/cjs/popover/popover-dismiss.d.ts +6 -6
- package/cjs/popover/popover-heading.cjs +8 -8
- package/cjs/popover/popover-heading.d.cts +6 -6
- package/cjs/popover/popover-heading.d.ts +6 -6
- package/cjs/popover/popover-provider.cjs +11 -11
- package/cjs/popover/popover-provider.d.cts +2 -2
- package/cjs/popover/popover-provider.d.ts +2 -2
- package/cjs/popover/popover-store.cjs +6 -6
- package/cjs/popover/popover-store.d.cts +2 -2
- package/cjs/popover/popover-store.d.ts +2 -2
- package/cjs/popover/popover.cjs +23 -23
- package/cjs/popover/popover.d.cts +33 -33
- package/cjs/popover/popover.d.ts +33 -33
- package/cjs/portal/portal.cjs +6 -6
- package/cjs/portal/portal.d.cts +17 -17
- package/cjs/portal/portal.d.ts +17 -17
- package/cjs/radio/radio-context.cjs +6 -6
- package/cjs/radio/radio-group.cjs +16 -15
- package/cjs/radio/radio-group.d.cts +5 -5
- package/cjs/radio/radio-group.d.ts +5 -5
- package/cjs/radio/radio-provider.cjs +11 -11
- package/cjs/radio/radio-provider.d.cts +2 -2
- package/cjs/radio/radio-provider.d.ts +2 -2
- package/cjs/radio/radio-store.cjs +6 -6
- package/cjs/radio/radio-store.d.cts +3 -3
- package/cjs/radio/radio-store.d.ts +3 -3
- package/cjs/radio/radio.cjs +13 -13
- package/cjs/radio/radio.d.cts +9 -9
- package/cjs/radio/radio.d.ts +9 -9
- package/cjs/role/role.cjs +4 -4
- package/cjs/role/role.d.cts +3 -3
- package/cjs/role/role.d.ts +3 -3
- package/cjs/select/select-arrow.cjs +12 -11
- package/cjs/select/select-arrow.d.cts +6 -6
- package/cjs/select/select-arrow.d.ts +6 -6
- package/cjs/select/select-context.cjs +9 -9
- package/cjs/select/select-dismiss.cjs +20 -20
- package/cjs/select/select-dismiss.d.cts +9 -9
- package/cjs/select/select-dismiss.d.ts +9 -9
- package/cjs/select/select-group-label.cjs +8 -8
- package/cjs/select/select-group-label.d.cts +6 -6
- package/cjs/select/select-group-label.d.ts +6 -6
- package/cjs/select/select-group.cjs +8 -8
- package/cjs/select/select-group.d.cts +7 -7
- package/cjs/select/select-group.d.ts +7 -7
- package/cjs/select/select-heading.cjs +20 -20
- package/cjs/select/select-heading.d.cts +10 -10
- package/cjs/select/select-heading.d.ts +10 -10
- package/cjs/select/select-item-check.cjs +14 -14
- package/cjs/select/select-item-check.d.cts +6 -6
- package/cjs/select/select-item-check.d.ts +6 -6
- package/cjs/select/select-item-offscreen.cjs +27 -27
- package/cjs/select/select-item-offscreen.d.cts +1 -1
- package/cjs/select/select-item-offscreen.d.ts +1 -1
- package/cjs/select/select-item.cjs +17 -17
- package/cjs/select/select-item.d.cts +22 -22
- package/cjs/select/select-item.d.ts +22 -22
- package/cjs/select/select-label.cjs +17 -17
- package/cjs/select/select-label.d.cts +6 -6
- package/cjs/select/select-label.d.ts +6 -6
- package/cjs/select/select-list.cjs +16 -16
- package/cjs/select/select-list.d.cts +11 -11
- package/cjs/select/select-list.d.ts +11 -11
- package/cjs/select/select-popover.cjs +37 -37
- package/cjs/select/select-popover.d.cts +2 -2
- package/cjs/select/select-popover.d.ts +2 -2
- package/cjs/select/select-provider.cjs +18 -18
- package/cjs/select/select-provider.d.cts +2 -2
- package/cjs/select/select-provider.d.ts +2 -2
- package/cjs/select/select-renderer.cjs +18 -18
- package/cjs/select/select-renderer.d.cts +4 -4
- package/cjs/select/select-renderer.d.ts +4 -4
- package/cjs/select/select-row.cjs +18 -15
- package/cjs/select/select-row.d.cts +7 -7
- package/cjs/select/select-row.d.ts +7 -7
- package/cjs/select/select-separator.cjs +16 -15
- package/cjs/select/select-separator.d.cts +7 -7
- package/cjs/select/select-separator.d.ts +7 -7
- package/cjs/select/select-store.cjs +16 -16
- package/cjs/select/select-store.d.cts +11 -11
- package/cjs/select/select-store.d.ts +11 -11
- package/cjs/select/select-value.cjs +11 -11
- package/cjs/select/select-value.d.cts +10 -10
- package/cjs/select/select-value.d.ts +10 -10
- package/cjs/select/select.cjs +43 -40
- package/cjs/select/select.d.cts +17 -17
- package/cjs/select/select.d.ts +17 -17
- package/cjs/separator/separator.cjs +4 -4
- package/cjs/separator/separator.d.cts +2 -2
- package/cjs/separator/separator.d.ts +2 -2
- package/cjs/tab/tab-context.cjs +6 -6
- package/cjs/tab/tab-list.cjs +20 -16
- package/cjs/tab/tab-list.d.cts +5 -5
- package/cjs/tab/tab-list.d.ts +5 -5
- package/cjs/tab/tab-panel.cjs +36 -35
- package/cjs/tab/tab-panel.d.cts +19 -19
- package/cjs/tab/tab-panel.d.ts +19 -19
- package/cjs/tab/tab-provider.cjs +16 -16
- package/cjs/tab/tab-provider.d.cts +2 -2
- package/cjs/tab/tab-provider.d.ts +2 -2
- package/cjs/tab/tab-store.cjs +14 -14
- package/cjs/tab/tab-store.d.cts +13 -13
- package/cjs/tab/tab-store.d.ts +13 -13
- package/cjs/tab/tab.cjs +37 -27
- package/cjs/tab/tab.d.cts +5 -5
- package/cjs/tab/tab.d.ts +5 -5
- package/cjs/tag/tag-context.cjs +6 -6
- package/cjs/tag/tag-input.cjs +27 -27
- package/cjs/tag/tag-input.d.cts +12 -12
- package/cjs/tag/tag-input.d.ts +12 -12
- package/cjs/tag/tag-list-label.cjs +16 -13
- package/cjs/tag/tag-list-label.d.cts +6 -6
- package/cjs/tag/tag-list-label.d.ts +6 -6
- package/cjs/tag/tag-list.cjs +27 -23
- package/cjs/tag/tag-list.d.cts +7 -7
- package/cjs/tag/tag-list.d.ts +7 -7
- package/cjs/tag/tag-provider.cjs +11 -11
- package/cjs/tag/tag-provider.d.cts +2 -2
- package/cjs/tag/tag-provider.d.ts +2 -2
- package/cjs/tag/tag-remove.cjs +17 -17
- package/cjs/tag/tag-remove.d.cts +6 -6
- package/cjs/tag/tag-remove.d.ts +6 -6
- package/cjs/tag/tag-store.cjs +6 -6
- package/cjs/tag/tag-store.d.cts +5 -5
- package/cjs/tag/tag-store.d.ts +5 -5
- package/cjs/tag/tag-value.cjs +10 -7
- package/cjs/tag/tag-value.d.cts +6 -6
- package/cjs/tag/tag-value.d.ts +6 -6
- package/cjs/tag/tag-values.cjs +10 -7
- package/cjs/tag/tag-values.d.cts +8 -8
- package/cjs/tag/tag-values.d.ts +8 -8
- package/cjs/tag/tag.cjs +23 -23
- package/cjs/tag/tag.d.cts +6 -6
- package/cjs/tag/tag.d.ts +6 -6
- package/cjs/toolbar/toolbar-container.cjs +20 -20
- package/cjs/toolbar/toolbar-container.d.cts +2 -2
- package/cjs/toolbar/toolbar-container.d.ts +2 -2
- package/cjs/toolbar/toolbar-context.cjs +6 -6
- package/cjs/toolbar/toolbar-input.cjs +18 -18
- package/cjs/toolbar/toolbar-input.d.cts +2 -2
- package/cjs/toolbar/toolbar-input.d.ts +2 -2
- package/cjs/toolbar/toolbar-item.cjs +13 -13
- package/cjs/toolbar/toolbar-item.d.cts +5 -5
- package/cjs/toolbar/toolbar-item.d.ts +5 -5
- package/cjs/toolbar/toolbar-provider.cjs +11 -11
- package/cjs/toolbar/toolbar-provider.d.cts +2 -2
- package/cjs/toolbar/toolbar-provider.d.ts +2 -2
- package/cjs/toolbar/toolbar-separator.cjs +13 -12
- package/cjs/toolbar/toolbar-separator.d.cts +5 -5
- package/cjs/toolbar/toolbar-separator.d.ts +5 -5
- package/cjs/toolbar/toolbar-store.cjs +6 -6
- package/cjs/toolbar/toolbar-store.d.cts +2 -2
- package/cjs/toolbar/toolbar-store.d.ts +2 -2
- package/cjs/toolbar/toolbar.cjs +24 -21
- package/cjs/toolbar/toolbar.d.cts +5 -5
- package/cjs/toolbar/toolbar.d.ts +5 -5
- package/cjs/tooltip/tooltip-anchor.cjs +23 -20
- package/cjs/tooltip/tooltip-anchor.d.cts +6 -6
- package/cjs/tooltip/tooltip-anchor.d.ts +6 -6
- package/cjs/tooltip/tooltip-arrow.cjs +14 -14
- package/cjs/tooltip/tooltip-arrow.d.cts +6 -6
- package/cjs/tooltip/tooltip-arrow.d.ts +6 -6
- package/cjs/tooltip/tooltip-context.cjs +8 -8
- package/cjs/tooltip/tooltip-provider.cjs +15 -15
- package/cjs/tooltip/tooltip-provider.d.cts +2 -2
- package/cjs/tooltip/tooltip-provider.d.ts +2 -2
- package/cjs/tooltip/tooltip-store.cjs +8 -8
- package/cjs/tooltip/tooltip-store.d.cts +2 -2
- package/cjs/tooltip/tooltip-store.d.ts +2 -2
- package/cjs/tooltip/tooltip.cjs +39 -36
- package/cjs/tooltip/tooltip.d.cts +6 -6
- package/cjs/tooltip/tooltip.d.ts +6 -6
- package/cjs/utils/hooks.cjs +2 -2
- package/cjs/utils/hooks.d.cts +1 -1
- package/cjs/utils/hooks.d.ts +1 -1
- package/cjs/utils/store.cjs +3 -3
- package/cjs/utils/store.d.cts +4 -4
- package/cjs/utils/store.d.ts +4 -4
- package/cjs/utils/system.cjs +3 -3
- package/cjs/utils/types.d.cts +1 -1
- package/cjs/utils/types.d.ts +1 -1
- package/cjs/visually-hidden/visually-hidden.cjs +4 -4
- package/cjs/visually-hidden/visually-hidden.d.cts +2 -2
- package/cjs/visually-hidden/visually-hidden.d.ts +2 -2
- package/esm/__chunks/{WHZCNP67.js → 2G3FRTNH.js} +5 -5
- package/esm/__chunks/{EBNR6XRJ.js → 2GY5TTXI.js} +2 -2
- package/esm/__chunks/{LPZHRGHO.js → 2LK5EC5X.js} +2 -2
- package/esm/__chunks/{NH3GYEZ7.js → 3IBURO3G.js} +4 -4
- package/esm/__chunks/{O4VW3LHI.js → 423C32ZY.js} +6 -6
- package/esm/__chunks/{4HTVKX2Y.js → 47DURVCG.js} +15 -11
- package/esm/__chunks/{FFWYDZCP.js → 4QASCBBU.js} +2 -2
- package/esm/__chunks/{PFBP2CY4.js → 4RILL52W.js} +16 -12
- package/esm/__chunks/{AVVXDJMZ.js → 55FNNNML.js} +2 -2
- package/esm/__chunks/{Y6I7WX7H.js → 56JTH7NL.js} +3 -3
- package/esm/__chunks/{YST7RWT5.js → 6FORXC3J.js} +14 -9
- package/esm/__chunks/{O6DAAE7K.js → 6NMVLB7R.js} +2 -2
- package/esm/__chunks/{ZMWF7ASR.js → 6PX47O7P.js} +33 -14
- package/esm/__chunks/{GVAFFF2B.js → 6S37ITHJ.js} +2 -2
- package/esm/__chunks/{5VQZOHHZ.js → 7NJRHOSP.js} +1 -1
- package/esm/__chunks/{HVWMDOZM.js → 7R5FH5N5.js} +5 -5
- package/esm/__chunks/{Z32PU2LQ.js → 7WPPMYFR.js} +61 -54
- package/esm/__chunks/{2F57YTN4.js → A2TITI2Y.js} +1 -1
- package/esm/__chunks/{2XVFVSLB.js → AMCJTO4G.js} +4 -4
- package/esm/__chunks/{SVHPDYU7.js → AWT5BUVI.js} +13 -11
- package/esm/__chunks/{HSU7H6PW.js → AYY52AFU.js} +3 -3
- package/esm/__chunks/{5TKKKQCL.js → AZ7UIBND.js} +6 -6
- package/esm/__chunks/{2DUOQURA.js → B7YOUFP2.js} +2 -2
- package/esm/__chunks/{2TJZ2QHB.js → BJR4VBGJ.js} +2 -2
- package/esm/__chunks/{4POTBZ2J.js → BLCLYOQG.js} +3 -3
- package/esm/__chunks/{MAEE4WWH.js → BR3S4BOQ.js} +9 -8
- package/esm/__chunks/{OT5RJDXG.js → BUY5M5QX.js} +1 -1
- package/esm/__chunks/{KPHZR4MB.js → CEM7J6TT.js} +7 -2
- package/esm/__chunks/{OUKAB3Z2.js → CHCXETWC.js} +10 -6
- package/esm/__chunks/{X6LNAU2F.js → CI3WD73H.js} +4 -4
- package/esm/__chunks/{IBXZ2LQC.js → CRB22UI4.js} +6 -6
- package/esm/__chunks/{P45QRJLH.js → CZY7XL6S.js} +5 -5
- package/esm/__chunks/{JMU4N4M5.js → E4DZA6YM.js} +2 -2
- package/esm/__chunks/{QSVZ4NTN.js → ED56LMNJ.js} +3 -3
- package/esm/__chunks/{BFOIJXK2.js → EIGWIYE4.js} +2 -2
- package/esm/__chunks/{4NYSH4UO.js → EX4LS7ZU.js} +2 -2
- package/esm/__chunks/{JUZDESDO.js → F3MXQ7W7.js} +2 -2
- package/esm/__chunks/{NF43FNG5.js → F4SJNU4L.js} +2 -2
- package/esm/__chunks/{KRCRS7MN.js → F6RTVH42.js} +3 -3
- package/esm/__chunks/{HOITXJDS.js → FIDRI34N.js} +1 -1
- package/esm/__chunks/{IFTBKUWI.js → FJYOM4Q3.js} +2 -2
- package/esm/__chunks/{WLZ6H5FH.js → FL7NPBCY.js} +2 -2
- package/esm/__chunks/{SMPCIMZM.js → FQHJBBMI.js} +1 -1
- package/esm/__chunks/{PZ3OL7I2.js → GHQLK2M5.js} +4 -4
- package/esm/__chunks/{PTRWAQFT.js → GLWQDZNX.js} +2 -2
- package/esm/__chunks/{ZVXT4QFT.js → GOWR535L.js} +1 -1
- package/esm/__chunks/{U6HHPQDW.js → GR523XJ6.js} +55 -84
- package/esm/__chunks/{CVCFNOHX.js → H55QERR5.js} +3 -3
- package/esm/__chunks/{FORDJ4GP.js → HOV66IHV.js} +4 -4
- package/esm/__chunks/{RFRKSHIZ.js → HPFXM3JB.js} +5 -5
- package/esm/__chunks/{YBRT277Q.js → I5KTQKBD.js} +8 -4
- package/esm/__chunks/{Z2O3VLAQ.js → IKWLDXMV.js} +3 -3
- package/esm/__chunks/{ALZMXNL4.js → IO2WX73N.js} +2 -2
- package/esm/__chunks/{N4AHYM2D.js → ITP6SX6R.js} +5 -5
- package/esm/__chunks/{62CEUOYM.js → J3UXHN5K.js} +7 -7
- package/esm/__chunks/{EEZBAPUW.js → JLUH2Q3W.js} +7 -8
- package/esm/__chunks/{I7KWAPMF.js → JQAYMPOA.js} +6 -6
- package/esm/__chunks/{KW7Z5AIL.js → JVH3F2PI.js} +15 -12
- package/esm/__chunks/{P7VC6T3R.js → KQPI347I.js} +1 -1
- package/esm/__chunks/{SVN33SY6.js → KQS2CH22.js} +5 -5
- package/esm/__chunks/{XSIEPKGA.js → KR5NJL64.js} +2 -2
- package/esm/__chunks/{Z4X7TRJU.js → KTCTUSE6.js} +4 -4
- package/esm/__chunks/{MOWGOTGG.js → LAI6ES6V.js} +7 -7
- package/esm/__chunks/{FMNW3QQI.js → LK4QFB5Q.js} +16 -12
- package/esm/__chunks/{4M2S6L5P.js → LOGSNLS6.js} +18 -10
- package/esm/__chunks/{UZXQ5DX3.js → MEKH22TX.js} +2 -2
- package/esm/__chunks/{HMKTUWOU.js → MJ6VZL5N.js} +3 -3
- package/esm/__chunks/{PTR7CZ6Q.js → N2UUGXGC.js} +11 -11
- package/esm/__chunks/{XAV7ZXSW.js → NM5FRCDT.js} +2 -2
- package/esm/__chunks/{VJH3F6TN.js → NOHE2KUO.js} +3 -3
- package/esm/__chunks/{5WUV565P.js → NTWYSJMG.js} +2 -2
- package/esm/__chunks/{ECBEZ4YM.js → NV5OUTYH.js} +2 -2
- package/esm/__chunks/{AEGCXJZV.js → OIOLJY4L.js} +3 -3
- package/esm/__chunks/{X7QOZUD3.js → PYFWN42T.js} +9 -3
- package/esm/__chunks/{3HM4TGWW.js → QJNORFLZ.js} +2 -2
- package/esm/__chunks/{QKVSMXME.js → REEWSWVD.js} +4 -4
- package/esm/__chunks/{N5BMKDVD.js → RKYVW6HH.js} +3 -3
- package/esm/__chunks/{B6FLPFJM.js → RPKQBJCW.js} +3 -3
- package/esm/__chunks/{LVDQFHCH.js → SF4KD2LD.js} +1 -1
- package/esm/__chunks/{BQYVKXYL.js → T67KCLW2.js} +2 -2
- package/esm/__chunks/{JSI7U3EA.js → TKBSBKEC.js} +1 -1
- package/esm/__chunks/{FZC6JZLK.js → TR7XTOYA.js} +2 -2
- package/esm/__chunks/{GWSL6KNJ.js → TVXRYIJB.js} +1 -1
- package/esm/__chunks/{APVORPDK.js → TXH4Y74N.js} +7 -4
- package/esm/__chunks/{HLPY2PXK.js → UL73IZQU.js} +9 -5
- package/esm/__chunks/{KKITJVHA.js → UWTV2ZWL.js} +11 -10
- package/esm/__chunks/{WZDDDI4V.js → VRAFYJQP.js} +2 -2
- package/esm/__chunks/{A62MDFCW.js → W43ISTP6.js} +2 -2
- package/esm/__chunks/{OCCHVUS4.js → WGWCWR22.js} +4 -4
- package/esm/__chunks/{6B3RXHKP.js → WLLNEL2X.js} +10 -10
- package/esm/__chunks/{6H6PBGDB.js → WTT6LNKV.js} +2 -2
- package/esm/__chunks/{JG4VNI52.js → XEQCSYLV.js} +4 -7
- package/esm/__chunks/{FLYCYZJT.js → XTRPVSX2.js} +2 -2
- package/esm/__chunks/{OJYI6SUJ.js → XTV6BHAW.js} +5 -5
- package/esm/__chunks/{NDVACHQI.js → Y432LOQZ.js} +11 -8
- package/esm/__chunks/{Q5W46E73.js → YAS7X7HB.js} +2 -3
- package/esm/__chunks/{37HM5VRA.js → YC6AIOMC.js} +9 -3
- package/esm/__chunks/{B6W4QFKS.js → YJTK2J3H.js} +1 -1
- package/esm/__chunks/{XXOHUFXO.js → YOLQLYC3.js} +2 -2
- package/esm/__chunks/{WZTAEGYN.js → YVLKMAG2.js} +5 -5
- package/esm/__chunks/{QOZ6WMRY.js → YVQZ63F5.js} +2 -2
- package/esm/__chunks/{4WJCKDQE.js → Z6KQQE3H.js} +2 -2
- package/esm/__chunks/{WZWDIE3S.js → ZCYMVQGT.js} +8 -8
- package/esm/__chunks/{IQYAUKXT.js → ZJG6VNPS.js} +3 -3
- package/esm/__chunks/{2G6YEJT4.js → ZJYMN66B.js} +12 -8
- package/esm/button/button.d.ts +2 -2
- package/esm/button/button.js +5 -5
- package/esm/checkbox/checkbox-check.d.ts +7 -7
- package/esm/checkbox/checkbox-check.js +3 -3
- package/esm/checkbox/checkbox-context.js +3 -3
- package/esm/checkbox/checkbox-provider.d.ts +1 -1
- package/esm/checkbox/checkbox-provider.js +5 -5
- package/esm/checkbox/checkbox-store.d.ts +4 -4
- package/esm/checkbox/checkbox-store.js +3 -3
- package/esm/checkbox/checkbox.d.ts +12 -12
- package/esm/checkbox/checkbox.js +7 -7
- package/esm/collection/collection-context.js +3 -3
- package/esm/collection/collection-item-offscreen.d.ts +3 -3
- package/esm/collection/collection-item-offscreen.js +6 -6
- package/esm/collection/collection-item.d.ts +12 -12
- package/esm/collection/collection-item.js +4 -4
- package/esm/collection/collection-provider.d.ts +2 -2
- package/esm/collection/collection-provider.js +5 -5
- package/esm/collection/collection-renderer.d.ts +4 -4
- package/esm/collection/collection-renderer.js +5 -5
- package/esm/collection/collection-store.d.ts +3 -3
- package/esm/collection/collection-store.js +3 -3
- package/esm/collection/collection.d.ts +6 -6
- package/esm/collection/collection.js +3 -3
- package/esm/combobox/combobox-cancel.d.ts +5 -5
- package/esm/combobox/combobox-cancel.js +16 -13
- package/esm/combobox/combobox-context.js +8 -8
- package/esm/combobox/combobox-disclosure.d.ts +6 -6
- package/esm/combobox/combobox-disclosure.js +14 -14
- package/esm/combobox/combobox-group-label.d.ts +6 -6
- package/esm/combobox/combobox-group-label.js +4 -4
- package/esm/combobox/combobox-group.d.ts +7 -7
- package/esm/combobox/combobox-group.js +14 -11
- package/esm/combobox/combobox-item-check.d.ts +6 -6
- package/esm/combobox/combobox-item-check.js +9 -9
- package/esm/combobox/combobox-item-offscreen.d.ts +1 -1
- package/esm/combobox/combobox-item-offscreen.js +21 -21
- package/esm/combobox/combobox-item-value.d.ts +15 -15
- package/esm/combobox/combobox-item-value.js +12 -11
- package/esm/combobox/combobox-item.d.ts +36 -36
- package/esm/combobox/combobox-item.js +16 -16
- package/esm/combobox/combobox-label.d.ts +5 -5
- package/esm/combobox/combobox-label.js +12 -9
- package/esm/combobox/combobox-list.d.ts +4 -4
- package/esm/combobox/combobox-list.js +11 -11
- package/esm/combobox/combobox-popover.d.ts +2 -2
- package/esm/combobox/combobox-popover.js +27 -27
- package/esm/combobox/combobox-provider.d.ts +2 -2
- package/esm/combobox/combobox-provider.js +16 -16
- package/esm/combobox/combobox-row.d.ts +7 -7
- package/esm/combobox/combobox-row.js +13 -10
- package/esm/combobox/combobox-separator.d.ts +7 -7
- package/esm/combobox/combobox-separator.js +11 -10
- package/esm/combobox/combobox-store.d.ts +12 -12
- package/esm/combobox/combobox-store.js +12 -12
- package/esm/combobox/combobox-value.d.ts +6 -6
- package/esm/combobox/combobox-value.js +12 -9
- package/esm/combobox/combobox.d.ts +46 -46
- package/esm/combobox/combobox.js +42 -23
- package/esm/command/command.d.ts +5 -5
- package/esm/command/command.js +4 -4
- package/esm/composite/composite-container.d.ts +7 -7
- package/esm/composite/composite-container.js +7 -7
- package/esm/composite/composite-context.js +4 -4
- package/esm/composite/composite-group-label.d.ts +6 -6
- package/esm/composite/composite-group-label.js +4 -4
- package/esm/composite/composite-group.d.ts +6 -6
- package/esm/composite/composite-group.js +4 -4
- package/esm/composite/composite-hover.d.ts +22 -22
- package/esm/composite/composite-hover.js +5 -5
- package/esm/composite/composite-input.d.ts +7 -7
- package/esm/composite/composite-input.js +3 -3
- package/esm/composite/composite-item-offscreen.d.ts +2 -2
- package/esm/composite/composite-item-offscreen.js +13 -13
- package/esm/composite/composite-item.d.ts +14 -14
- package/esm/composite/composite-item.js +10 -10
- package/esm/composite/composite-overflow-disclosure.d.ts +2 -2
- package/esm/composite/composite-overflow-disclosure.js +18 -18
- package/esm/composite/composite-overflow-store.d.ts +1 -1
- package/esm/composite/composite-overflow-store.js +5 -5
- package/esm/composite/composite-overflow.d.ts +2 -2
- package/esm/composite/composite-overflow.js +25 -23
- package/esm/composite/composite-provider.d.ts +2 -2
- package/esm/composite/composite-provider.js +7 -7
- package/esm/composite/composite-renderer.d.ts +4 -4
- package/esm/composite/composite-renderer.js +7 -7
- package/esm/composite/composite-row.d.ts +7 -7
- package/esm/composite/composite-row.js +6 -5
- package/esm/composite/composite-separator.d.ts +7 -7
- package/esm/composite/composite-separator.js +7 -6
- package/esm/composite/composite-store.d.ts +3 -3
- package/esm/composite/composite-store.js +4 -4
- package/esm/composite/composite-typeahead.d.ts +6 -6
- package/esm/composite/composite-typeahead.js +6 -6
- package/esm/composite/composite.d.ts +18 -18
- package/esm/composite/composite.js +8 -7
- package/esm/composite/utils.js +1 -1
- package/esm/dialog/dialog-backdrop.d.ts +1 -1
- package/esm/dialog/dialog-backdrop.js +9 -9
- package/esm/dialog/dialog-context.js +4 -4
- package/esm/dialog/dialog-description.d.ts +5 -5
- package/esm/dialog/dialog-description.js +5 -5
- package/esm/dialog/dialog-disclosure.d.ts +5 -5
- package/esm/dialog/dialog-disclosure.js +10 -9
- package/esm/dialog/dialog-dismiss.d.ts +5 -5
- package/esm/dialog/dialog-dismiss.js +8 -8
- package/esm/dialog/dialog-heading.d.ts +5 -5
- package/esm/dialog/dialog-heading.js +6 -6
- package/esm/dialog/dialog-provider.d.ts +2 -2
- package/esm/dialog/dialog-provider.js +7 -7
- package/esm/dialog/dialog-store.d.ts +2 -2
- package/esm/dialog/dialog-store.js +4 -4
- package/esm/dialog/dialog.d.ts +51 -51
- package/esm/dialog/dialog.js +20 -20
- package/esm/dialog/utils/use-hide-on-interact-outside.d.ts +3 -2
- package/esm/dialog/utils/use-hide-on-interact-outside.js +3 -6
- package/esm/dialog/utils/use-nested-dialogs.js +2 -2
- package/esm/dialog/utils/use-prevent-body-scroll.js +3 -3
- package/esm/dialog/utils/use-root-dialog.js +2 -2
- package/esm/disclosure/disclosure-content.d.ts +20 -20
- package/esm/disclosure/disclosure-content.js +6 -6
- package/esm/disclosure/disclosure-context.js +3 -3
- package/esm/disclosure/disclosure-provider.d.ts +2 -2
- package/esm/disclosure/disclosure-provider.js +5 -5
- package/esm/disclosure/disclosure-store.d.ts +6 -6
- package/esm/disclosure/disclosure-store.js +3 -3
- package/esm/disclosure/disclosure.d.ts +7 -7
- package/esm/disclosure/disclosure.js +8 -7
- package/esm/focus-trap/focus-trap-region.d.ts +3 -3
- package/esm/focus-trap/focus-trap-region.js +4 -4
- package/esm/focus-trap/focus-trap.d.ts +2 -2
- package/esm/focus-trap/focus-trap.js +4 -4
- package/esm/focusable/focusable-container.d.ts +5 -5
- package/esm/focusable/focusable-container.js +3 -3
- package/esm/focusable/focusable.d.ts +29 -34
- package/esm/focusable/focusable.js +3 -5
- package/esm/form/form-checkbox.d.ts +2 -2
- package/esm/form/form-checkbox.js +13 -13
- package/esm/form/form-context.js +4 -4
- package/esm/form/form-control.d.ts +10 -10
- package/esm/form/form-control.js +7 -6
- package/esm/form/form-description.d.ts +6 -6
- package/esm/form/form-description.js +7 -7
- package/esm/form/form-error.d.ts +6 -6
- package/esm/form/form-error.js +11 -8
- package/esm/form/form-field.d.ts +2 -2
- package/esm/form/form-field.js +7 -6
- package/esm/form/form-group-label.d.ts +7 -7
- package/esm/form/form-group-label.js +3 -3
- package/esm/form/form-group.d.ts +6 -6
- package/esm/form/form-group.js +4 -4
- package/esm/form/form-input.d.ts +3 -3
- package/esm/form/form-input.js +9 -8
- package/esm/form/form-label.d.ts +6 -6
- package/esm/form/form-label.js +12 -8
- package/esm/form/form-provider.d.ts +2 -2
- package/esm/form/form-provider.js +7 -7
- package/esm/form/form-push.d.ts +9 -9
- package/esm/form/form-push.js +9 -9
- package/esm/form/form-radio-group.d.ts +4 -4
- package/esm/form/form-radio-group.js +16 -4
- package/esm/form/form-radio.d.ts +4 -4
- package/esm/form/form-radio.js +19 -16
- package/esm/form/form-remove.d.ts +9 -9
- package/esm/form/form-remove.js +8 -8
- package/esm/form/form-reset.d.ts +6 -6
- package/esm/form/form-reset.js +11 -8
- package/esm/form/form-store.d.ts +11 -11
- package/esm/form/form-store.js +4 -4
- package/esm/form/form-submit.d.ts +7 -7
- package/esm/form/form-submit.js +11 -8
- package/esm/form/form.d.ts +17 -17
- package/esm/form/form.js +14 -11
- package/esm/group/group-label.d.ts +3 -3
- package/esm/group/group-label.js +3 -3
- package/esm/group/group.d.ts +3 -3
- package/esm/group/group.js +3 -3
- package/esm/heading/heading-level.d.ts +2 -2
- package/esm/heading/heading.d.ts +3 -3
- package/esm/heading/heading.js +3 -3
- package/esm/hovercard/hovercard-anchor.d.ts +7 -7
- package/esm/hovercard/hovercard-anchor.js +8 -8
- package/esm/hovercard/hovercard-arrow.d.ts +6 -6
- package/esm/hovercard/hovercard-arrow.js +8 -8
- package/esm/hovercard/hovercard-context.js +6 -6
- package/esm/hovercard/hovercard-description.d.ts +6 -6
- package/esm/hovercard/hovercard-description.js +7 -7
- package/esm/hovercard/hovercard-disclosure.d.ts +5 -5
- package/esm/hovercard/hovercard-disclosure.js +13 -12
- package/esm/hovercard/hovercard-dismiss.d.ts +6 -6
- package/esm/hovercard/hovercard-dismiss.js +12 -12
- package/esm/hovercard/hovercard-heading.d.ts +6 -6
- package/esm/hovercard/hovercard-heading.js +8 -8
- package/esm/hovercard/hovercard-provider.d.ts +2 -2
- package/esm/hovercard/hovercard-provider.js +11 -11
- package/esm/hovercard/hovercard-store.d.ts +2 -2
- package/esm/hovercard/hovercard-store.js +6 -6
- package/esm/hovercard/hovercard.d.ts +5 -5
- package/esm/hovercard/hovercard.js +25 -25
- package/esm/hovercard/utils/polygon.js +1 -1
- package/esm/menu/menu-arrow.d.ts +7 -7
- package/esm/menu/menu-arrow.js +12 -12
- package/esm/menu/menu-bar-provider.d.ts +1 -1
- package/esm/menu/menu-bar-provider.js +11 -11
- package/esm/menu/menu-bar-store.d.ts +1 -1
- package/esm/menu/menu-bar-store.js +6 -6
- package/esm/menu/menu-bar.d.ts +1 -1
- package/esm/menu/menu-bar.js +14 -14
- package/esm/menu/menu-button-arrow.d.ts +9 -9
- package/esm/menu/menu-button-arrow.js +12 -11
- package/esm/menu/menu-button.d.ts +8 -8
- package/esm/menu/menu-button.js +32 -27
- package/esm/menu/menu-context.d.ts +1 -1
- package/esm/menu/menu-context.js +10 -10
- package/esm/menu/menu-description.d.ts +6 -6
- package/esm/menu/menu-description.js +7 -7
- package/esm/menu/menu-dismiss.d.ts +6 -6
- package/esm/menu/menu-dismiss.js +16 -16
- package/esm/menu/menu-group-label.d.ts +6 -6
- package/esm/menu/menu-group-label.js +4 -4
- package/esm/menu/menu-group.d.ts +7 -7
- package/esm/menu/menu-group.js +4 -4
- package/esm/menu/menu-heading.d.ts +6 -6
- package/esm/menu/menu-heading.js +8 -8
- package/esm/menu/menu-item-check.d.ts +7 -7
- package/esm/menu/menu-item-check.js +11 -11
- package/esm/menu/menu-item-checkbox.d.ts +15 -15
- package/esm/menu/menu-item-checkbox.js +24 -22
- package/esm/menu/menu-item-radio.d.ts +13 -13
- package/esm/menu/menu-item-radio.js +26 -21
- package/esm/menu/menu-item.d.ts +11 -11
- package/esm/menu/menu-item.js +18 -18
- package/esm/menu/menu-list.d.ts +7 -7
- package/esm/menu/menu-list.js +17 -17
- package/esm/menu/menu-provider.d.ts +2 -2
- package/esm/menu/menu-provider.js +19 -19
- package/esm/menu/menu-separator.d.ts +8 -8
- package/esm/menu/menu-separator.js +13 -12
- package/esm/menu/menu-store.d.ts +13 -13
- package/esm/menu/menu-store.js +19 -19
- package/esm/menu/menu.d.ts +4 -4
- package/esm/menu/menu.js +51 -44
- package/esm/menubar/menubar-context.js +5 -5
- package/esm/menubar/menubar-provider.d.ts +2 -2
- package/esm/menubar/menubar-provider.js +10 -10
- package/esm/menubar/menubar-store.d.ts +2 -2
- package/esm/menubar/menubar-store.js +5 -5
- package/esm/menubar/menubar.d.ts +6 -6
- package/esm/menubar/menubar.js +13 -13
- package/esm/popover/popover-anchor.d.ts +5 -5
- package/esm/popover/popover-anchor.js +6 -6
- package/esm/popover/popover-arrow.d.ts +7 -7
- package/esm/popover/popover-arrow.js +7 -7
- package/esm/popover/popover-context.js +5 -5
- package/esm/popover/popover-description.d.ts +6 -6
- package/esm/popover/popover-description.js +6 -6
- package/esm/popover/popover-disclosure-arrow.d.ts +7 -7
- package/esm/popover/popover-disclosure-arrow.js +7 -6
- package/esm/popover/popover-disclosure.d.ts +3 -3
- package/esm/popover/popover-disclosure.js +13 -12
- package/esm/popover/popover-dismiss.d.ts +6 -6
- package/esm/popover/popover-dismiss.js +10 -10
- package/esm/popover/popover-heading.d.ts +6 -6
- package/esm/popover/popover-heading.js +7 -7
- package/esm/popover/popover-provider.d.ts +2 -2
- package/esm/popover/popover-provider.js +9 -9
- package/esm/popover/popover-store.d.ts +2 -2
- package/esm/popover/popover-store.js +5 -5
- package/esm/popover/popover.d.ts +33 -33
- package/esm/popover/popover.js +22 -22
- package/esm/portal/portal.d.ts +17 -17
- package/esm/portal/portal.js +5 -5
- package/esm/radio/radio-context.js +5 -5
- package/esm/radio/radio-group.d.ts +5 -5
- package/esm/radio/radio-group.js +9 -8
- package/esm/radio/radio-provider.d.ts +2 -2
- package/esm/radio/radio-provider.js +9 -9
- package/esm/radio/radio-store.d.ts +3 -3
- package/esm/radio/radio-store.js +5 -5
- package/esm/radio/radio.d.ts +9 -9
- package/esm/radio/radio.js +12 -12
- package/esm/role/role.d.ts +3 -3
- package/esm/role/role.js +3 -3
- package/esm/select/select-arrow.d.ts +6 -6
- package/esm/select/select-arrow.js +11 -10
- package/esm/select/select-context.js +8 -8
- package/esm/select/select-dismiss.d.ts +9 -9
- package/esm/select/select-dismiss.js +13 -13
- package/esm/select/select-group-label.d.ts +6 -6
- package/esm/select/select-group-label.js +4 -4
- package/esm/select/select-group.d.ts +7 -7
- package/esm/select/select-group.js +4 -4
- package/esm/select/select-heading.d.ts +10 -10
- package/esm/select/select-heading.js +13 -13
- package/esm/select/select-item-check.d.ts +6 -6
- package/esm/select/select-item-check.js +9 -9
- package/esm/select/select-item-offscreen.d.ts +1 -1
- package/esm/select/select-item-offscreen.js +21 -21
- package/esm/select/select-item.d.ts +22 -22
- package/esm/select/select-item.js +16 -16
- package/esm/select/select-label.d.ts +6 -6
- package/esm/select/select-label.js +9 -9
- package/esm/select/select-list.d.ts +11 -11
- package/esm/select/select-list.js +15 -15
- package/esm/select/select-popover.d.ts +2 -2
- package/esm/select/select-popover.js +29 -29
- package/esm/select/select-provider.d.ts +2 -2
- package/esm/select/select-provider.js +16 -16
- package/esm/select/select-renderer.d.ts +4 -4
- package/esm/select/select-renderer.js +11 -11
- package/esm/select/select-row.d.ts +7 -7
- package/esm/select/select-row.js +13 -10
- package/esm/select/select-separator.d.ts +7 -7
- package/esm/select/select-separator.js +11 -10
- package/esm/select/select-store.d.ts +11 -11
- package/esm/select/select-store.js +15 -15
- package/esm/select/select-value.d.ts +10 -10
- package/esm/select/select-value.js +9 -9
- package/esm/select/select.d.ts +17 -17
- package/esm/select/select.js +29 -26
- package/esm/separator/separator.d.ts +2 -2
- package/esm/separator/separator.js +3 -3
- package/esm/tab/tab-context.js +5 -5
- package/esm/tab/tab-list.d.ts +5 -5
- package/esm/tab/tab-list.js +13 -9
- package/esm/tab/tab-panel.d.ts +19 -19
- package/esm/tab/tab-panel.js +19 -18
- package/esm/tab/tab-provider.d.ts +2 -2
- package/esm/tab/tab-provider.js +14 -14
- package/esm/tab/tab-store.d.ts +13 -13
- package/esm/tab/tab-store.js +13 -13
- package/esm/tab/tab.d.ts +5 -5
- package/esm/tab/tab.js +26 -16
- package/esm/tag/tag-context.js +5 -5
- package/esm/tag/tag-input.d.ts +12 -12
- package/esm/tag/tag-input.js +13 -13
- package/esm/tag/tag-list-label.d.ts +6 -6
- package/esm/tag/tag-list-label.js +10 -7
- package/esm/tag/tag-list.d.ts +7 -7
- package/esm/tag/tag-list.js +18 -14
- package/esm/tag/tag-provider.d.ts +2 -2
- package/esm/tag/tag-provider.js +9 -9
- package/esm/tag/tag-remove.d.ts +6 -6
- package/esm/tag/tag-remove.js +7 -7
- package/esm/tag/tag-store.d.ts +5 -5
- package/esm/tag/tag-store.js +5 -5
- package/esm/tag/tag-value.d.ts +6 -6
- package/esm/tag/tag-value.js +9 -6
- package/esm/tag/tag-values.d.ts +8 -8
- package/esm/tag/tag-values.js +9 -6
- package/esm/tag/tag.d.ts +6 -6
- package/esm/tag/tag.js +12 -12
- package/esm/toolbar/toolbar-container.d.ts +2 -2
- package/esm/toolbar/toolbar-container.js +13 -13
- package/esm/toolbar/toolbar-context.js +5 -5
- package/esm/toolbar/toolbar-input.d.ts +2 -2
- package/esm/toolbar/toolbar-input.js +12 -12
- package/esm/toolbar/toolbar-item.d.ts +5 -5
- package/esm/toolbar/toolbar-item.js +12 -12
- package/esm/toolbar/toolbar-provider.d.ts +2 -2
- package/esm/toolbar/toolbar-provider.js +9 -9
- package/esm/toolbar/toolbar-separator.d.ts +5 -5
- package/esm/toolbar/toolbar-separator.js +8 -7
- package/esm/toolbar/toolbar-store.d.ts +2 -2
- package/esm/toolbar/toolbar-store.js +5 -5
- package/esm/toolbar/toolbar.d.ts +5 -5
- package/esm/toolbar/toolbar.js +16 -13
- package/esm/tooltip/tooltip-anchor.d.ts +6 -6
- package/esm/tooltip/tooltip-anchor.js +15 -12
- package/esm/tooltip/tooltip-arrow.d.ts +6 -6
- package/esm/tooltip/tooltip-arrow.js +9 -9
- package/esm/tooltip/tooltip-context.js +7 -7
- package/esm/tooltip/tooltip-provider.d.ts +2 -2
- package/esm/tooltip/tooltip-provider.js +13 -13
- package/esm/tooltip/tooltip-store.d.ts +2 -2
- package/esm/tooltip/tooltip-store.js +7 -7
- package/esm/tooltip/tooltip.d.ts +6 -6
- package/esm/tooltip/tooltip.js +30 -27
- package/esm/utils/hooks.d.ts +1 -1
- package/esm/utils/hooks.js +1 -1
- package/esm/utils/store.d.ts +4 -4
- package/esm/utils/store.js +2 -2
- package/esm/utils/system.js +2 -2
- package/esm/utils/types.d.ts +1 -1
- package/esm/visually-hidden/visually-hidden.d.ts +2 -2
- package/esm/visually-hidden/visually-hidden.js +3 -3
- package/package.json +28 -24
- package/tsconfig.build.json +7 -2
- package/cjs/__chunks/ANXWSPVQ.cjs +0 -31
- package/cjs/__chunks/OISF5P4T.cjs +0 -44
- package/cjs/__chunks/SIFHEXFD.cjs +0 -34
- package/cjs/__chunks/WL7GZ44R.cjs +0 -31
|
@@ -10,7 +10,7 @@ export declare function useFormStoreProps<T extends Omit<FormStore, "useValue" |
|
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Creates a form store to control the state of
|
|
13
|
-
* [Form](https://ariakit.
|
|
13
|
+
* [Form](https://ariakit.com/components/form) components.
|
|
14
14
|
* @example
|
|
15
15
|
* ```jsx
|
|
16
16
|
* const form = useFormStore({
|
|
@@ -39,11 +39,11 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
39
39
|
/**
|
|
40
40
|
* A custom hook that rerenders the component when the value of the given
|
|
41
41
|
* field changes. It accepts a string or a reference to a field name from the
|
|
42
|
-
* [`names`](https://ariakit.
|
|
42
|
+
* [`names`](https://ariakit.com/reference/use-form-store#names) object in the
|
|
43
43
|
* store, for type safety. It returns the value of the field.
|
|
44
44
|
*
|
|
45
45
|
* Live examples:
|
|
46
|
-
* - [Form with Select](https://ariakit.
|
|
46
|
+
* - [Form with Select](https://ariakit.com/examples/form-select)
|
|
47
47
|
* @example
|
|
48
48
|
* const nameValue = store.useValue("name");
|
|
49
49
|
* // Can also use store.names for type safety.
|
|
@@ -52,12 +52,12 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
52
52
|
useValue: <T = any>(name: StringLike) => T;
|
|
53
53
|
/**
|
|
54
54
|
* Custom hook that accepts a callback that will be used to validate the form
|
|
55
|
-
* when [`validate`](https://ariakit.
|
|
55
|
+
* when [`validate`](https://ariakit.com/reference/use-form-store#validate) is
|
|
56
56
|
* called, typically when a form field is touched or when the form is
|
|
57
57
|
* submitted.
|
|
58
58
|
*
|
|
59
59
|
* Live examples:
|
|
60
|
-
* - [FormRadio](https://ariakit.
|
|
60
|
+
* - [FormRadio](https://ariakit.com/examples/form-radio)
|
|
61
61
|
* @example
|
|
62
62
|
* store.useValidate(async (state) => {
|
|
63
63
|
* const errors = await api.validate(state.values);
|
|
@@ -69,12 +69,12 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
69
69
|
useValidate: (callback: Core.FormStoreCallback<FormStoreState<T>>) => void;
|
|
70
70
|
/**
|
|
71
71
|
* Custom hook that accepts a callback that will be used to submit the form
|
|
72
|
-
* when [`submit`](https://ariakit.
|
|
72
|
+
* when [`submit`](https://ariakit.com/reference/use-form-store#submit) is
|
|
73
73
|
* called.
|
|
74
74
|
*
|
|
75
75
|
* Live examples:
|
|
76
|
-
* - [FormRadio](https://ariakit.
|
|
77
|
-
* - [Form with Select](https://ariakit.
|
|
76
|
+
* - [FormRadio](https://ariakit.com/examples/form-radio)
|
|
77
|
+
* - [Form with Select](https://ariakit.com/examples/form-select)
|
|
78
78
|
* @example
|
|
79
79
|
* store.useSubmit(async (state) => {
|
|
80
80
|
* try {
|
|
@@ -89,7 +89,7 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
89
89
|
export interface FormStoreOptions<T extends FormStoreValues = FormStoreValues> extends Core.FormStoreOptions<T>, CollectionStoreOptions<FormStoreItem> {
|
|
90
90
|
/**
|
|
91
91
|
* Function that will be called when
|
|
92
|
-
* [`values`](https://ariakit.
|
|
92
|
+
* [`values`](https://ariakit.com/reference/use-form-store#values) state
|
|
93
93
|
* changes.
|
|
94
94
|
* @example
|
|
95
95
|
* function MyForm({ values, onChange }) {
|
|
@@ -99,7 +99,7 @@ export interface FormStoreOptions<T extends FormStoreValues = FormStoreValues> e
|
|
|
99
99
|
setValues?: (values: FormStoreState<T>["values"]) => void;
|
|
100
100
|
/**
|
|
101
101
|
* Function that will be called when the
|
|
102
|
-
* [`errors`](https://ariakit.
|
|
102
|
+
* [`errors`](https://ariakit.com/reference/use-form-store#errors) state
|
|
103
103
|
* changes.
|
|
104
104
|
* @example
|
|
105
105
|
* useFormStore({ setErrors: (errors) => console.log(errors) });
|
|
@@ -107,7 +107,7 @@ export interface FormStoreOptions<T extends FormStoreValues = FormStoreValues> e
|
|
|
107
107
|
setErrors?: (errors: FormStoreState<T>["errors"]) => void;
|
|
108
108
|
/**
|
|
109
109
|
* Function that will be called when the
|
|
110
|
-
* [`touched`](https://ariakit.
|
|
110
|
+
* [`touched`](https://ariakit.com/reference/use-form-store#touched) state
|
|
111
111
|
* changes.
|
|
112
112
|
* @example
|
|
113
113
|
* useFormStore({ setTouched: (touched) => console.log(touched) });
|
package/cjs/form/form-store.d.ts
CHANGED
|
@@ -10,7 +10,7 @@ export declare function useFormStoreProps<T extends Omit<FormStore, "useValue" |
|
|
|
10
10
|
};
|
|
11
11
|
/**
|
|
12
12
|
* Creates a form store to control the state of
|
|
13
|
-
* [Form](https://ariakit.
|
|
13
|
+
* [Form](https://ariakit.com/components/form) components.
|
|
14
14
|
* @example
|
|
15
15
|
* ```jsx
|
|
16
16
|
* const form = useFormStore({
|
|
@@ -39,11 +39,11 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
39
39
|
/**
|
|
40
40
|
* A custom hook that rerenders the component when the value of the given
|
|
41
41
|
* field changes. It accepts a string or a reference to a field name from the
|
|
42
|
-
* [`names`](https://ariakit.
|
|
42
|
+
* [`names`](https://ariakit.com/reference/use-form-store#names) object in the
|
|
43
43
|
* store, for type safety. It returns the value of the field.
|
|
44
44
|
*
|
|
45
45
|
* Live examples:
|
|
46
|
-
* - [Form with Select](https://ariakit.
|
|
46
|
+
* - [Form with Select](https://ariakit.com/examples/form-select)
|
|
47
47
|
* @example
|
|
48
48
|
* const nameValue = store.useValue("name");
|
|
49
49
|
* // Can also use store.names for type safety.
|
|
@@ -52,12 +52,12 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
52
52
|
useValue: <T = any>(name: StringLike) => T;
|
|
53
53
|
/**
|
|
54
54
|
* Custom hook that accepts a callback that will be used to validate the form
|
|
55
|
-
* when [`validate`](https://ariakit.
|
|
55
|
+
* when [`validate`](https://ariakit.com/reference/use-form-store#validate) is
|
|
56
56
|
* called, typically when a form field is touched or when the form is
|
|
57
57
|
* submitted.
|
|
58
58
|
*
|
|
59
59
|
* Live examples:
|
|
60
|
-
* - [FormRadio](https://ariakit.
|
|
60
|
+
* - [FormRadio](https://ariakit.com/examples/form-radio)
|
|
61
61
|
* @example
|
|
62
62
|
* store.useValidate(async (state) => {
|
|
63
63
|
* const errors = await api.validate(state.values);
|
|
@@ -69,12 +69,12 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
69
69
|
useValidate: (callback: Core.FormStoreCallback<FormStoreState<T>>) => void;
|
|
70
70
|
/**
|
|
71
71
|
* Custom hook that accepts a callback that will be used to submit the form
|
|
72
|
-
* when [`submit`](https://ariakit.
|
|
72
|
+
* when [`submit`](https://ariakit.com/reference/use-form-store#submit) is
|
|
73
73
|
* called.
|
|
74
74
|
*
|
|
75
75
|
* Live examples:
|
|
76
|
-
* - [FormRadio](https://ariakit.
|
|
77
|
-
* - [Form with Select](https://ariakit.
|
|
76
|
+
* - [FormRadio](https://ariakit.com/examples/form-radio)
|
|
77
|
+
* - [Form with Select](https://ariakit.com/examples/form-select)
|
|
78
78
|
* @example
|
|
79
79
|
* store.useSubmit(async (state) => {
|
|
80
80
|
* try {
|
|
@@ -89,7 +89,7 @@ export interface FormStoreFunctions<T extends FormStoreValues = FormStoreValues>
|
|
|
89
89
|
export interface FormStoreOptions<T extends FormStoreValues = FormStoreValues> extends Core.FormStoreOptions<T>, CollectionStoreOptions<FormStoreItem> {
|
|
90
90
|
/**
|
|
91
91
|
* Function that will be called when
|
|
92
|
-
* [`values`](https://ariakit.
|
|
92
|
+
* [`values`](https://ariakit.com/reference/use-form-store#values) state
|
|
93
93
|
* changes.
|
|
94
94
|
* @example
|
|
95
95
|
* function MyForm({ values, onChange }) {
|
|
@@ -99,7 +99,7 @@ export interface FormStoreOptions<T extends FormStoreValues = FormStoreValues> e
|
|
|
99
99
|
setValues?: (values: FormStoreState<T>["values"]) => void;
|
|
100
100
|
/**
|
|
101
101
|
* Function that will be called when the
|
|
102
|
-
* [`errors`](https://ariakit.
|
|
102
|
+
* [`errors`](https://ariakit.com/reference/use-form-store#errors) state
|
|
103
103
|
* changes.
|
|
104
104
|
* @example
|
|
105
105
|
* useFormStore({ setErrors: (errors) => console.log(errors) });
|
|
@@ -107,7 +107,7 @@ export interface FormStoreOptions<T extends FormStoreValues = FormStoreValues> e
|
|
|
107
107
|
setErrors?: (errors: FormStoreState<T>["errors"]) => void;
|
|
108
108
|
/**
|
|
109
109
|
* Function that will be called when the
|
|
110
|
-
* [`touched`](https://ariakit.
|
|
110
|
+
* [`touched`](https://ariakit.com/reference/use-form-store#touched) state
|
|
111
111
|
* changes.
|
|
112
112
|
* @example
|
|
113
113
|
* useFormStore({ setTouched: (touched) => console.log(touched) });
|
package/cjs/form/form-submit.cjs
CHANGED
|
@@ -1,27 +1,30 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var _FHIGX2EEcjs = require('../__chunks/FHIGX2EE.cjs');
|
|
4
4
|
|
|
5
5
|
|
|
6
|
-
var
|
|
7
|
-
require('../__chunks/
|
|
8
|
-
require('../__chunks/
|
|
6
|
+
var _MPIQVHCBcjs = require('../__chunks/MPIQVHCB.cjs');
|
|
7
|
+
require('../__chunks/ITCIC2TC.cjs');
|
|
8
|
+
require('../__chunks/MWXEIKZX.cjs');
|
|
9
9
|
require('../__chunks/T3QB4FR3.cjs');
|
|
10
|
-
require('../__chunks/SS26HAQ2.cjs');
|
|
11
10
|
|
|
12
11
|
|
|
12
|
+
var _FH6HQ5JNcjs = require('../__chunks/FH6HQ5JN.cjs');
|
|
13
|
+
require('../__chunks/XWMMMXUK.cjs');
|
|
13
14
|
|
|
14
15
|
|
|
15
|
-
|
|
16
|
-
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
var _PTOCUU2Dcjs = require('../__chunks/PTOCUU2D.cjs');
|
|
19
|
+
require('../__chunks/3BSDKDKD.cjs');
|
|
17
20
|
require('../__chunks/XMDZRF6Y.cjs');
|
|
18
21
|
|
|
19
22
|
// src/form/form-submit.tsx
|
|
20
23
|
var _misc = require('@ariakit/core/utils/misc');
|
|
21
24
|
var TagName = "button";
|
|
22
|
-
var useFormSubmit =
|
|
25
|
+
var useFormSubmit = _PTOCUU2Dcjs.createHook.call(void 0,
|
|
23
26
|
function useFormSubmit2({ store, accessibleWhenDisabled = true, ...props }) {
|
|
24
|
-
const context =
|
|
27
|
+
const context = _FHIGX2EEcjs.useFormContext.call(void 0, );
|
|
25
28
|
store = store || context;
|
|
26
29
|
_misc.invariant.call(void 0,
|
|
27
30
|
store,
|
|
@@ -29,16 +32,16 @@ var useFormSubmit = _743QABRAcjs.createHook.call(void 0,
|
|
|
29
32
|
);
|
|
30
33
|
props = {
|
|
31
34
|
type: "submit",
|
|
32
|
-
disabled:
|
|
35
|
+
disabled: _FH6HQ5JNcjs.useStoreState.call(void 0, store, "submitting"),
|
|
33
36
|
...props
|
|
34
37
|
};
|
|
35
|
-
props =
|
|
38
|
+
props = _MPIQVHCBcjs.useButton.call(void 0, { ...props, accessibleWhenDisabled });
|
|
36
39
|
return props;
|
|
37
40
|
}
|
|
38
41
|
);
|
|
39
|
-
var FormSubmit =
|
|
42
|
+
var FormSubmit = _PTOCUU2Dcjs.forwardRef.call(void 0, function FormSubmit2(props) {
|
|
40
43
|
const htmlProps = useFormSubmit(props);
|
|
41
|
-
return
|
|
44
|
+
return _PTOCUU2Dcjs.createElement.call(void 0, TagName, htmlProps);
|
|
42
45
|
});
|
|
43
46
|
|
|
44
47
|
|
|
@@ -6,7 +6,7 @@ declare const TagName = "button";
|
|
|
6
6
|
type TagName = typeof TagName;
|
|
7
7
|
/**
|
|
8
8
|
* Returns props to create a `FormReset` component.
|
|
9
|
-
* @see https://ariakit.
|
|
9
|
+
* @see https://ariakit.com/components/form
|
|
10
10
|
* @example
|
|
11
11
|
* ```jsx
|
|
12
12
|
* const store = useFormStore();
|
|
@@ -19,12 +19,12 @@ type TagName = typeof TagName;
|
|
|
19
19
|
export declare const useFormSubmit: import("../utils/types.ts").Hook<"button", FormSubmitOptions<"button">>;
|
|
20
20
|
/**
|
|
21
21
|
* Renders a native submit button inside a form. The button will be
|
|
22
|
-
* [`disabled`](https://ariakit.
|
|
22
|
+
* [`disabled`](https://ariakit.com/reference/form-submit#disabled) while the
|
|
23
23
|
* form is submitting, but it will remain accessible to keyboard and screen
|
|
24
24
|
* reader users thanks to the
|
|
25
|
-
* [`accessibleWhenDisabled`](https://ariakit.
|
|
25
|
+
* [`accessibleWhenDisabled`](https://ariakit.com/reference/form-submit#accessiblewhendisabled)
|
|
26
26
|
* prop that's enabled by default.
|
|
27
|
-
* @see https://ariakit.
|
|
27
|
+
* @see https://ariakit.com/components/form
|
|
28
28
|
* @example
|
|
29
29
|
* ```jsx {4}
|
|
30
30
|
* const form = useFormStore();
|
|
@@ -38,9 +38,9 @@ export declare const FormSubmit: (props: FormSubmitProps) => import("react").Rea
|
|
|
38
38
|
export interface FormSubmitOptions<T extends ElementType = TagName> extends ButtonOptions<T> {
|
|
39
39
|
/**
|
|
40
40
|
* Object returned by the
|
|
41
|
-
* [`useFormStore`](https://ariakit.
|
|
42
|
-
* provided, the closest [`Form`](https://ariakit.
|
|
43
|
-
* [`FormProvider`](https://ariakit.
|
|
41
|
+
* [`useFormStore`](https://ariakit.com/reference/use-form-store) hook. If not
|
|
42
|
+
* provided, the closest [`Form`](https://ariakit.com/reference/form) or
|
|
43
|
+
* [`FormProvider`](https://ariakit.com/reference/form-provider) components'
|
|
44
44
|
* context will be used.
|
|
45
45
|
*/
|
|
46
46
|
store?: FormStore;
|
|
@@ -6,7 +6,7 @@ declare const TagName = "button";
|
|
|
6
6
|
type TagName = typeof TagName;
|
|
7
7
|
/**
|
|
8
8
|
* Returns props to create a `FormReset` component.
|
|
9
|
-
* @see https://ariakit.
|
|
9
|
+
* @see https://ariakit.com/components/form
|
|
10
10
|
* @example
|
|
11
11
|
* ```jsx
|
|
12
12
|
* const store = useFormStore();
|
|
@@ -19,12 +19,12 @@ type TagName = typeof TagName;
|
|
|
19
19
|
export declare const useFormSubmit: import("../utils/types.ts").Hook<"button", FormSubmitOptions<"button">>;
|
|
20
20
|
/**
|
|
21
21
|
* Renders a native submit button inside a form. The button will be
|
|
22
|
-
* [`disabled`](https://ariakit.
|
|
22
|
+
* [`disabled`](https://ariakit.com/reference/form-submit#disabled) while the
|
|
23
23
|
* form is submitting, but it will remain accessible to keyboard and screen
|
|
24
24
|
* reader users thanks to the
|
|
25
|
-
* [`accessibleWhenDisabled`](https://ariakit.
|
|
25
|
+
* [`accessibleWhenDisabled`](https://ariakit.com/reference/form-submit#accessiblewhendisabled)
|
|
26
26
|
* prop that's enabled by default.
|
|
27
|
-
* @see https://ariakit.
|
|
27
|
+
* @see https://ariakit.com/components/form
|
|
28
28
|
* @example
|
|
29
29
|
* ```jsx {4}
|
|
30
30
|
* const form = useFormStore();
|
|
@@ -38,9 +38,9 @@ export declare const FormSubmit: (props: FormSubmitProps) => import("react").Rea
|
|
|
38
38
|
export interface FormSubmitOptions<T extends ElementType = TagName> extends ButtonOptions<T> {
|
|
39
39
|
/**
|
|
40
40
|
* Object returned by the
|
|
41
|
-
* [`useFormStore`](https://ariakit.
|
|
42
|
-
* provided, the closest [`Form`](https://ariakit.
|
|
43
|
-
* [`FormProvider`](https://ariakit.
|
|
41
|
+
* [`useFormStore`](https://ariakit.com/reference/use-form-store) hook. If not
|
|
42
|
+
* provided, the closest [`Form`](https://ariakit.com/reference/form) or
|
|
43
|
+
* [`FormProvider`](https://ariakit.com/reference/form-provider) components'
|
|
44
44
|
* context will be used.
|
|
45
45
|
*/
|
|
46
46
|
store?: FormStore;
|
package/cjs/form/form.cjs
CHANGED
|
@@ -1,21 +1,24 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../__chunks/SS26HAQ2.cjs');
|
|
4
|
+
var _FHIGX2EEcjs = require('../__chunks/FHIGX2EE.cjs');
|
|
6
5
|
|
|
7
6
|
|
|
7
|
+
var _FH6HQ5JNcjs = require('../__chunks/FH6HQ5JN.cjs');
|
|
8
|
+
require('../__chunks/XWMMMXUK.cjs');
|
|
8
9
|
|
|
9
10
|
|
|
10
|
-
var _743QABRAcjs = require('../__chunks/743QABRA.cjs');
|
|
11
11
|
|
|
12
12
|
|
|
13
|
+
var _PTOCUU2Dcjs = require('../__chunks/PTOCUU2D.cjs');
|
|
13
14
|
|
|
14
15
|
|
|
15
16
|
|
|
16
17
|
|
|
17
18
|
|
|
18
|
-
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
var _3BSDKDKDcjs = require('../__chunks/3BSDKDKD.cjs');
|
|
19
22
|
require('../__chunks/XMDZRF6Y.cjs');
|
|
20
23
|
|
|
21
24
|
// src/form/form.tsx
|
|
@@ -37,7 +40,7 @@ function getFirstInvalidField(items) {
|
|
|
37
40
|
}
|
|
38
41
|
);
|
|
39
42
|
}
|
|
40
|
-
var useForm =
|
|
43
|
+
var useForm = _PTOCUU2Dcjs.createHook.call(void 0, function useForm2({
|
|
41
44
|
store,
|
|
42
45
|
validateOnChange = true,
|
|
43
46
|
validateOnBlur = true,
|
|
@@ -46,26 +49,26 @@ var useForm = _743QABRAcjs.createHook.call(void 0, function useForm2({
|
|
|
46
49
|
autoFocusOnSubmit = true,
|
|
47
50
|
...props
|
|
48
51
|
}) {
|
|
49
|
-
const context =
|
|
52
|
+
const context = _FHIGX2EEcjs.useFormContext.call(void 0, );
|
|
50
53
|
store = store || context;
|
|
51
54
|
_misc.invariant.call(void 0,
|
|
52
55
|
store,
|
|
53
56
|
process.env.NODE_ENV !== "production" && "Form must receive a `store` prop or be wrapped in a FormProvider component."
|
|
54
57
|
);
|
|
55
58
|
const ref = _react.useRef.call(void 0, null);
|
|
56
|
-
const values =
|
|
57
|
-
const submitSucceed =
|
|
58
|
-
const submitFailed =
|
|
59
|
-
const items =
|
|
60
|
-
const defaultValues =
|
|
59
|
+
const values = _FH6HQ5JNcjs.useStoreState.call(void 0, store, "values");
|
|
60
|
+
const submitSucceed = _FH6HQ5JNcjs.useStoreState.call(void 0, store, "submitSucceed");
|
|
61
|
+
const submitFailed = _FH6HQ5JNcjs.useStoreState.call(void 0, store, "submitFailed");
|
|
62
|
+
const items = _FH6HQ5JNcjs.useStoreState.call(void 0, store, "items");
|
|
63
|
+
const defaultValues = _3BSDKDKDcjs.useInitialValue.call(void 0, values);
|
|
61
64
|
_react.useEffect.call(void 0,
|
|
62
65
|
() => resetOnUnmount ? store == null ? void 0 : store.reset : void 0,
|
|
63
66
|
[resetOnUnmount, store]
|
|
64
67
|
);
|
|
65
|
-
|
|
68
|
+
_3BSDKDKDcjs.useUpdateEffect.call(void 0, () => {
|
|
66
69
|
if (!validateOnChange) return;
|
|
67
70
|
if (values === defaultValues) return;
|
|
68
|
-
store == null ? void 0 : store.validate();
|
|
71
|
+
void (store == null ? void 0 : store.validate());
|
|
69
72
|
}, [validateOnChange, values, defaultValues, store]);
|
|
70
73
|
_react.useEffect.call(void 0, () => {
|
|
71
74
|
if (!resetOnSubmit) return;
|
|
@@ -86,50 +89,50 @@ var useForm = _743QABRAcjs.createHook.call(void 0, function useForm2({
|
|
|
86
89
|
}
|
|
87
90
|
}, [autoFocusOnSubmit, submitFailed, items]);
|
|
88
91
|
const onSubmitProp = props.onSubmit;
|
|
89
|
-
const onSubmit =
|
|
92
|
+
const onSubmit = _3BSDKDKDcjs.useEvent.call(void 0, (event) => {
|
|
90
93
|
onSubmitProp == null ? void 0 : onSubmitProp(event);
|
|
91
94
|
if (event.defaultPrevented) return;
|
|
92
95
|
event.preventDefault();
|
|
93
|
-
store == null ? void 0 : store.submit();
|
|
96
|
+
void (store == null ? void 0 : store.submit());
|
|
94
97
|
if (!autoFocusOnSubmit) return;
|
|
95
98
|
setShouldFocusOnSubmit(true);
|
|
96
99
|
});
|
|
97
100
|
const onBlurProp = props.onBlur;
|
|
98
|
-
const onBlur =
|
|
101
|
+
const onBlur = _3BSDKDKDcjs.useEvent.call(void 0, (event) => {
|
|
99
102
|
onBlurProp == null ? void 0 : onBlurProp(event);
|
|
100
103
|
if (event.defaultPrevented) return;
|
|
101
104
|
if (!validateOnBlur) return;
|
|
102
105
|
if (!store) return;
|
|
103
106
|
if (!isField(event.target, store.getState().items)) return;
|
|
104
|
-
store.validate();
|
|
107
|
+
void store.validate();
|
|
105
108
|
});
|
|
106
109
|
const onResetProp = props.onReset;
|
|
107
|
-
const onReset =
|
|
110
|
+
const onReset = _3BSDKDKDcjs.useEvent.call(void 0, (event) => {
|
|
108
111
|
onResetProp == null ? void 0 : onResetProp(event);
|
|
109
112
|
if (event.defaultPrevented) return;
|
|
110
113
|
event.preventDefault();
|
|
111
114
|
store == null ? void 0 : store.reset();
|
|
112
115
|
});
|
|
113
|
-
props =
|
|
116
|
+
props = _3BSDKDKDcjs.useWrapElement.call(void 0,
|
|
114
117
|
props,
|
|
115
|
-
(element) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0,
|
|
118
|
+
(element) => /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _FHIGX2EEcjs.FormScopedContextProvider, { value: store, children: element }),
|
|
116
119
|
[store]
|
|
117
120
|
);
|
|
118
|
-
const tagName =
|
|
121
|
+
const tagName = _3BSDKDKDcjs.useTagName.call(void 0, ref, TagName);
|
|
119
122
|
props = {
|
|
120
123
|
role: tagName !== "form" ? "form" : void 0,
|
|
121
124
|
noValidate: true,
|
|
122
125
|
...props,
|
|
123
|
-
ref:
|
|
126
|
+
ref: _3BSDKDKDcjs.useMergeRefs.call(void 0, ref, props.ref),
|
|
124
127
|
onSubmit,
|
|
125
128
|
onBlur,
|
|
126
129
|
onReset
|
|
127
130
|
};
|
|
128
131
|
return props;
|
|
129
132
|
});
|
|
130
|
-
var Form =
|
|
133
|
+
var Form = _PTOCUU2Dcjs.forwardRef.call(void 0, function Form2(props) {
|
|
131
134
|
const htmlProps = useForm(props);
|
|
132
|
-
return
|
|
135
|
+
return _PTOCUU2Dcjs.createElement.call(void 0, TagName, htmlProps);
|
|
133
136
|
});
|
|
134
137
|
|
|
135
138
|
|
package/cjs/form/form.d.cts
CHANGED
|
@@ -5,7 +5,7 @@ declare const TagName = "form";
|
|
|
5
5
|
type TagName = typeof TagName;
|
|
6
6
|
/**
|
|
7
7
|
* Returns props to create a `Form` component.
|
|
8
|
-
* @see https://ariakit.
|
|
8
|
+
* @see https://ariakit.com/components/form
|
|
9
9
|
* @example
|
|
10
10
|
* ```jsx
|
|
11
11
|
* const store = useFormStore();
|
|
@@ -16,22 +16,22 @@ type TagName = typeof TagName;
|
|
|
16
16
|
export declare const useForm: import("../utils/types.ts").Hook<"form", FormOptions<"form">>;
|
|
17
17
|
/**
|
|
18
18
|
* Renders a form element and provides a [form
|
|
19
|
-
* store](https://ariakit.
|
|
19
|
+
* store](https://ariakit.com/reference/use-form-store) to its controls.
|
|
20
20
|
*
|
|
21
21
|
* The form is automatically validated on change and on blur. This behavior can
|
|
22
22
|
* be disabled with the
|
|
23
|
-
* [`validateOnChange`](https://ariakit.
|
|
24
|
-
* [`validateOnBlur`](https://ariakit.
|
|
23
|
+
* [`validateOnChange`](https://ariakit.com/reference/form#validateonchange) and
|
|
24
|
+
* [`validateOnBlur`](https://ariakit.com/reference/form#validateonblur) props.
|
|
25
25
|
*
|
|
26
26
|
* When the form is submitted with errors, the first invalid field is
|
|
27
27
|
* automatically focused thanks to the
|
|
28
|
-
* [`autoFocusOnSubmit`](https://ariakit.
|
|
28
|
+
* [`autoFocusOnSubmit`](https://ariakit.com/reference/form#autofocusonsubmit)
|
|
29
29
|
* prop. If it's successful, the
|
|
30
|
-
* [`resetOnSubmit`](https://ariakit.
|
|
30
|
+
* [`resetOnSubmit`](https://ariakit.com/reference/form#resetonsubmit) prop
|
|
31
31
|
* ensures the form is reset to its initial values as defined by the
|
|
32
|
-
* [`defaultValues`](https://ariakit.
|
|
33
|
-
* option on the [store](https://ariakit.
|
|
34
|
-
* @see https://ariakit.
|
|
32
|
+
* [`defaultValues`](https://ariakit.com/reference/use-form-store#defaultvalues)
|
|
33
|
+
* option on the [store](https://ariakit.com/reference/use-form-store).
|
|
34
|
+
* @see https://ariakit.com/components/form
|
|
35
35
|
* @example
|
|
36
36
|
* ```jsx {5-8}
|
|
37
37
|
* const form = useFormStore({
|
|
@@ -48,17 +48,17 @@ export declare const Form: (props: FormProps) => import("react").ReactElement<an
|
|
|
48
48
|
export interface FormOptions<_T extends ElementType = TagName> extends Options {
|
|
49
49
|
/**
|
|
50
50
|
* Object returned by the
|
|
51
|
-
* [`useFormStore`](https://ariakit.
|
|
51
|
+
* [`useFormStore`](https://ariakit.com/reference/use-form-store) hook. If not
|
|
52
52
|
* provided, the closest
|
|
53
|
-
* [`FormProvider`](https://ariakit.
|
|
53
|
+
* [`FormProvider`](https://ariakit.com/reference/form-provider) component's
|
|
54
54
|
* context will be used.
|
|
55
55
|
*/
|
|
56
56
|
store?: FormStore;
|
|
57
57
|
/**
|
|
58
58
|
* Determines if the form should invoke the validation callbacks registered
|
|
59
59
|
* with
|
|
60
|
-
* [`useValidate`](https://ariakit.
|
|
61
|
-
* when the [`values`](https://ariakit.
|
|
60
|
+
* [`useValidate`](https://ariakit.com/reference/use-form-store#usevalidate)
|
|
61
|
+
* when the [`values`](https://ariakit.com/reference/use-form-store#values)
|
|
62
62
|
* change.
|
|
63
63
|
* @default true
|
|
64
64
|
*/
|
|
@@ -66,22 +66,22 @@ export interface FormOptions<_T extends ElementType = TagName> extends Options {
|
|
|
66
66
|
/**
|
|
67
67
|
* Determines if the form should invoke the validation callbacks registered
|
|
68
68
|
* with
|
|
69
|
-
* [`useValidate`](https://ariakit.
|
|
69
|
+
* [`useValidate`](https://ariakit.com/reference/use-form-store#usevalidate)
|
|
70
70
|
* when a field loses focus.
|
|
71
71
|
* @default true
|
|
72
72
|
*/
|
|
73
73
|
validateOnBlur?: boolean;
|
|
74
74
|
/**
|
|
75
75
|
* Determines if the form state should reset to its
|
|
76
|
-
* [`defaultValues`](https://ariakit.
|
|
77
|
-
* when the [`Form`](https://ariakit.
|
|
76
|
+
* [`defaultValues`](https://ariakit.com/reference/use-form-store#defaultvalues)
|
|
77
|
+
* when the [`Form`](https://ariakit.com/reference/form) component is
|
|
78
78
|
* unmounted.
|
|
79
79
|
* @default false
|
|
80
80
|
*/
|
|
81
81
|
resetOnUnmount?: boolean;
|
|
82
82
|
/**
|
|
83
83
|
* Determines if the form state should be reset to its
|
|
84
|
-
* [`defaultValues`](https://ariakit.
|
|
84
|
+
* [`defaultValues`](https://ariakit.com/reference/use-form-store#defaultvalues)
|
|
85
85
|
* upon successful form submission.
|
|
86
86
|
* @default true
|
|
87
87
|
*/
|
package/cjs/form/form.d.ts
CHANGED
|
@@ -5,7 +5,7 @@ declare const TagName = "form";
|
|
|
5
5
|
type TagName = typeof TagName;
|
|
6
6
|
/**
|
|
7
7
|
* Returns props to create a `Form` component.
|
|
8
|
-
* @see https://ariakit.
|
|
8
|
+
* @see https://ariakit.com/components/form
|
|
9
9
|
* @example
|
|
10
10
|
* ```jsx
|
|
11
11
|
* const store = useFormStore();
|
|
@@ -16,22 +16,22 @@ type TagName = typeof TagName;
|
|
|
16
16
|
export declare const useForm: import("../utils/types.ts").Hook<"form", FormOptions<"form">>;
|
|
17
17
|
/**
|
|
18
18
|
* Renders a form element and provides a [form
|
|
19
|
-
* store](https://ariakit.
|
|
19
|
+
* store](https://ariakit.com/reference/use-form-store) to its controls.
|
|
20
20
|
*
|
|
21
21
|
* The form is automatically validated on change and on blur. This behavior can
|
|
22
22
|
* be disabled with the
|
|
23
|
-
* [`validateOnChange`](https://ariakit.
|
|
24
|
-
* [`validateOnBlur`](https://ariakit.
|
|
23
|
+
* [`validateOnChange`](https://ariakit.com/reference/form#validateonchange) and
|
|
24
|
+
* [`validateOnBlur`](https://ariakit.com/reference/form#validateonblur) props.
|
|
25
25
|
*
|
|
26
26
|
* When the form is submitted with errors, the first invalid field is
|
|
27
27
|
* automatically focused thanks to the
|
|
28
|
-
* [`autoFocusOnSubmit`](https://ariakit.
|
|
28
|
+
* [`autoFocusOnSubmit`](https://ariakit.com/reference/form#autofocusonsubmit)
|
|
29
29
|
* prop. If it's successful, the
|
|
30
|
-
* [`resetOnSubmit`](https://ariakit.
|
|
30
|
+
* [`resetOnSubmit`](https://ariakit.com/reference/form#resetonsubmit) prop
|
|
31
31
|
* ensures the form is reset to its initial values as defined by the
|
|
32
|
-
* [`defaultValues`](https://ariakit.
|
|
33
|
-
* option on the [store](https://ariakit.
|
|
34
|
-
* @see https://ariakit.
|
|
32
|
+
* [`defaultValues`](https://ariakit.com/reference/use-form-store#defaultvalues)
|
|
33
|
+
* option on the [store](https://ariakit.com/reference/use-form-store).
|
|
34
|
+
* @see https://ariakit.com/components/form
|
|
35
35
|
* @example
|
|
36
36
|
* ```jsx {5-8}
|
|
37
37
|
* const form = useFormStore({
|
|
@@ -48,17 +48,17 @@ export declare const Form: (props: FormProps) => import("react").ReactElement<an
|
|
|
48
48
|
export interface FormOptions<_T extends ElementType = TagName> extends Options {
|
|
49
49
|
/**
|
|
50
50
|
* Object returned by the
|
|
51
|
-
* [`useFormStore`](https://ariakit.
|
|
51
|
+
* [`useFormStore`](https://ariakit.com/reference/use-form-store) hook. If not
|
|
52
52
|
* provided, the closest
|
|
53
|
-
* [`FormProvider`](https://ariakit.
|
|
53
|
+
* [`FormProvider`](https://ariakit.com/reference/form-provider) component's
|
|
54
54
|
* context will be used.
|
|
55
55
|
*/
|
|
56
56
|
store?: FormStore;
|
|
57
57
|
/**
|
|
58
58
|
* Determines if the form should invoke the validation callbacks registered
|
|
59
59
|
* with
|
|
60
|
-
* [`useValidate`](https://ariakit.
|
|
61
|
-
* when the [`values`](https://ariakit.
|
|
60
|
+
* [`useValidate`](https://ariakit.com/reference/use-form-store#usevalidate)
|
|
61
|
+
* when the [`values`](https://ariakit.com/reference/use-form-store#values)
|
|
62
62
|
* change.
|
|
63
63
|
* @default true
|
|
64
64
|
*/
|
|
@@ -66,22 +66,22 @@ export interface FormOptions<_T extends ElementType = TagName> extends Options {
|
|
|
66
66
|
/**
|
|
67
67
|
* Determines if the form should invoke the validation callbacks registered
|
|
68
68
|
* with
|
|
69
|
-
* [`useValidate`](https://ariakit.
|
|
69
|
+
* [`useValidate`](https://ariakit.com/reference/use-form-store#usevalidate)
|
|
70
70
|
* when a field loses focus.
|
|
71
71
|
* @default true
|
|
72
72
|
*/
|
|
73
73
|
validateOnBlur?: boolean;
|
|
74
74
|
/**
|
|
75
75
|
* Determines if the form state should reset to its
|
|
76
|
-
* [`defaultValues`](https://ariakit.
|
|
77
|
-
* when the [`Form`](https://ariakit.
|
|
76
|
+
* [`defaultValues`](https://ariakit.com/reference/use-form-store#defaultvalues)
|
|
77
|
+
* when the [`Form`](https://ariakit.com/reference/form) component is
|
|
78
78
|
* unmounted.
|
|
79
79
|
* @default false
|
|
80
80
|
*/
|
|
81
81
|
resetOnUnmount?: boolean;
|
|
82
82
|
/**
|
|
83
83
|
* Determines if the form state should be reset to its
|
|
84
|
-
* [`defaultValues`](https://ariakit.
|
|
84
|
+
* [`defaultValues`](https://ariakit.com/reference/use-form-store#defaultvalues)
|
|
85
85
|
* upon successful form submission.
|
|
86
86
|
* @default true
|
|
87
87
|
*/
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _DD7MF4PQcjs = require('../__chunks/DD7MF4PQ.cjs');
|
|
5
5
|
require('../__chunks/XRATBFDX.cjs');
|
|
6
|
-
require('../__chunks/
|
|
7
|
-
require('../__chunks/
|
|
6
|
+
require('../__chunks/PTOCUU2D.cjs');
|
|
7
|
+
require('../__chunks/3BSDKDKD.cjs');
|
|
8
8
|
require('../__chunks/XMDZRF6Y.cjs');
|
|
9
9
|
|
|
10
10
|
|
|
11
11
|
|
|
12
|
-
exports.GroupLabel =
|
|
12
|
+
exports.GroupLabel = _DD7MF4PQcjs.GroupLabel; exports.useGroupLabel = _DD7MF4PQcjs.useGroupLabel;
|
|
@@ -6,7 +6,7 @@ type TagName = typeof TagName;
|
|
|
6
6
|
* Returns props to create a `GroupLabel` component. This hook must be used in a
|
|
7
7
|
* component that's wrapped with `Group` so the `aria-labelledby` prop is
|
|
8
8
|
* properly set on the group element.
|
|
9
|
-
* @see https://ariakit.
|
|
9
|
+
* @see https://ariakit.com/components/group
|
|
10
10
|
* @example
|
|
11
11
|
* ```jsx
|
|
12
12
|
* // This component must be wrapped with Group
|
|
@@ -17,9 +17,9 @@ type TagName = typeof TagName;
|
|
|
17
17
|
export declare const useGroupLabel: import("../utils/types.ts").Hook<"div", GroupLabelOptions<"div">>;
|
|
18
18
|
/**
|
|
19
19
|
* Renders a label in a group. This component should be wrapped with a
|
|
20
|
-
* [`Group`](https://ariakit.
|
|
20
|
+
* [`Group`](https://ariakit.com/reference/group) so the `aria-labelledby`
|
|
21
21
|
* prop is correctly set on the group element.
|
|
22
|
-
* @see https://ariakit.
|
|
22
|
+
* @see https://ariakit.com/components/group
|
|
23
23
|
* @example
|
|
24
24
|
* ```jsx
|
|
25
25
|
* <Group>
|