@ariakit/react-core 0.3.11 → 0.3.13
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 +27 -0
- package/cjs/__chunks/{LICANQTI.cjs → 25ZFPUHH.cjs} +2 -2
- package/cjs/__chunks/{LFHNPG2L.cjs → 2FTVUUOK.cjs} +2 -2
- package/cjs/__chunks/{7ZVTEFD7.cjs → 2IMEEJHG.cjs} +2 -2
- package/cjs/__chunks/{KQUC6RXT.cjs → 2UEWAQWG.cjs} +4 -4
- package/cjs/__chunks/{WWU35JDJ.cjs → 3XQOWQTT.cjs} +7 -7
- package/cjs/__chunks/{TGTVGYEZ.cjs → 4KFTI2WW.cjs} +2 -2
- package/cjs/__chunks/{Y22E2GCT.cjs → 4VMHQGZH.cjs} +6 -6
- package/cjs/__chunks/{T5G6DLC6.cjs → 6LVRCU4J.cjs} +2 -2
- package/cjs/__chunks/{FQZOOWMH.cjs → 6PUZ4NWR.cjs} +2 -2
- package/cjs/__chunks/{RV3PHHWM.cjs → 6ZZYUFPW.cjs} +1 -1
- package/cjs/__chunks/{DKOWT2IJ.cjs → CDNJPIEG.cjs} +3 -3
- package/cjs/__chunks/{47RLIVET.cjs → CFKRWKZR.cjs} +10 -10
- package/cjs/__chunks/{V6LYK7WK.cjs → CGIHR7QS.cjs} +7 -7
- package/cjs/__chunks/{NVHGMKAE.cjs → CIZTEPFO.cjs} +3 -3
- package/cjs/__chunks/{UXFBTIBY.cjs → ER5DEJFH.cjs} +2 -2
- package/cjs/__chunks/{7KFYPSJO.cjs → EUHOCOY2.cjs} +4 -4
- package/cjs/__chunks/{36QK2QLE.cjs → FGHQW2WS.cjs} +16 -16
- package/cjs/__chunks/{XAYQLYTN.cjs → GGMSVQ4G.cjs} +6 -6
- package/cjs/__chunks/{7EEAHTIW.cjs → GMQZGKGV.cjs} +2 -2
- package/cjs/__chunks/{3RUODFRU.cjs → GSETTLOU.cjs} +15 -15
- package/cjs/__chunks/{APFV5PTX.cjs → HQEKHRPP.cjs} +4 -4
- package/cjs/__chunks/{2GETDAIQ.cjs → ITQETTAV.cjs} +5 -5
- package/cjs/__chunks/{EGAIDKB5.cjs → JAQJG42R.cjs} +5 -5
- package/cjs/__chunks/{NY3D6JQT.cjs → JFNPRZX3.cjs} +2 -2
- package/cjs/__chunks/{VQJ44BSY.cjs → JQS6X2I5.cjs} +4 -4
- package/cjs/__chunks/{IGTX5NFA.cjs → KIDFNQ4E.cjs} +4 -4
- package/cjs/__chunks/{N6CR2VNN.cjs → LUL2YWZ3.cjs} +12 -12
- package/cjs/__chunks/{NVRUQ5V7.cjs → LY6FB2NE.cjs} +7 -7
- package/cjs/__chunks/{IAYTETYN.cjs → MMRX6FNS.cjs} +4 -4
- package/cjs/__chunks/{VCDQISP7.cjs → N3XK7EAH.cjs} +7 -7
- package/cjs/__chunks/{QCG6J6X5.cjs → NLVGDNPE.cjs} +2 -2
- package/cjs/__chunks/{PSR537T6.cjs → NONPPWSF.cjs} +8 -8
- package/cjs/__chunks/{7BPAESN3.cjs → NRGWVSB5.cjs} +5 -5
- package/cjs/__chunks/{QLRXXIBY.cjs → ODJ76C5W.cjs} +7 -7
- package/cjs/__chunks/{B233QVZE.cjs → OLOZ5JT2.cjs} +0 -5
- package/cjs/__chunks/{DAJUUBUI.cjs → OSTQZD2E.cjs} +2 -2
- package/cjs/__chunks/{XDTEICF5.cjs → OZ4FTKEH.cjs} +7 -7
- package/cjs/__chunks/{63WKH5OP.cjs → PJ646MI7.cjs} +10 -10
- package/cjs/__chunks/{BKU5STIE.cjs → QSU3WKMW.cjs} +4 -4
- package/cjs/__chunks/{RM2WCNSU.cjs → R7ERL264.cjs} +19 -20
- package/cjs/__chunks/{5UTRYT6E.cjs → REJALU3P.cjs} +2 -2
- package/cjs/__chunks/{VQHA56HB.cjs → T7WLYFYV.cjs} +2 -2
- package/cjs/__chunks/{LO3RECOD.cjs → UPU6KE6C.cjs} +4 -4
- package/cjs/__chunks/{EWKBICMP.cjs → VKHTDADA.cjs} +5 -5
- package/cjs/__chunks/{VSDH37LI.cjs → VPQQSYH7.cjs} +3 -3
- package/cjs/__chunks/{Z3GCTNW4.cjs → VUEWHLYH.cjs} +1 -1
- package/cjs/__chunks/{HRKRTCJC.cjs → W5LJEMLB.cjs} +4 -4
- package/cjs/__chunks/{RTT4XR27.cjs → WZ3DRKGP.cjs} +4 -4
- package/cjs/__chunks/{FM5S6RAD.cjs → XW252ITL.cjs} +2 -2
- package/cjs/__chunks/{TD5MOASJ.cjs → YPVQYY4J.cjs} +2 -2
- package/cjs/button/button.cjs +4 -4
- package/cjs/button/button.d.cts +1 -1
- package/cjs/button/button.d.ts +1 -1
- package/cjs/checkbox/checkbox-check.d.cts +17 -9
- package/cjs/checkbox/checkbox-check.d.ts +17 -9
- package/cjs/checkbox/checkbox-provider.cjs +4 -4
- package/cjs/checkbox/checkbox-provider.d.cts +4 -2
- package/cjs/checkbox/checkbox-provider.d.ts +4 -2
- package/cjs/checkbox/checkbox-store.cjs +3 -3
- package/cjs/checkbox/checkbox-store.d.cts +5 -3
- package/cjs/checkbox/checkbox-store.d.ts +5 -3
- package/cjs/checkbox/checkbox.cjs +5 -5
- package/cjs/checkbox/checkbox.d.cts +14 -9
- package/cjs/checkbox/checkbox.d.ts +14 -9
- package/cjs/collection/collection-item.d.cts +31 -10
- package/cjs/collection/collection-item.d.ts +31 -10
- package/cjs/collection/collection-provider.cjs +3 -3
- package/cjs/collection/collection-provider.d.cts +2 -1
- package/cjs/collection/collection-provider.d.ts +2 -1
- package/cjs/collection/collection-renderer.cjs +3 -3
- package/cjs/collection/collection-renderer.d.cts +1 -1
- package/cjs/collection/collection-renderer.d.ts +1 -1
- package/cjs/collection/collection-store.cjs +3 -3
- package/cjs/collection/collection-store.d.cts +6 -3
- package/cjs/collection/collection-store.d.ts +6 -3
- package/cjs/collection/collection.d.cts +4 -3
- package/cjs/collection/collection.d.ts +4 -3
- package/cjs/combobox/combobox-cancel.cjs +4 -4
- package/cjs/combobox/combobox-cancel.d.cts +3 -2
- package/cjs/combobox/combobox-cancel.d.ts +3 -2
- package/cjs/combobox/combobox-disclosure.cjs +6 -6
- package/cjs/combobox/combobox-disclosure.d.cts +7 -2
- package/cjs/combobox/combobox-disclosure.d.ts +7 -2
- package/cjs/combobox/combobox-group-label.d.cts +4 -4
- package/cjs/combobox/combobox-group-label.d.ts +4 -4
- package/cjs/combobox/combobox-group.d.cts +7 -3
- package/cjs/combobox/combobox-group.d.ts +7 -3
- package/cjs/combobox/combobox-item-check.d.cts +9 -16
- package/cjs/combobox/combobox-item-check.d.ts +9 -16
- package/cjs/combobox/combobox-item-value.d.cts +13 -8
- package/cjs/combobox/combobox-item-value.d.ts +13 -8
- package/cjs/combobox/combobox-item.cjs +6 -6
- package/cjs/combobox/combobox-item.d.cts +11 -9
- package/cjs/combobox/combobox-item.d.ts +11 -9
- package/cjs/combobox/combobox-list.cjs +5 -5
- package/cjs/combobox/combobox-list.d.cts +1 -4
- package/cjs/combobox/combobox-list.d.ts +1 -4
- package/cjs/combobox/combobox-popover.cjs +15 -15
- package/cjs/combobox/combobox-popover.d.cts +2 -3
- package/cjs/combobox/combobox-popover.d.ts +2 -3
- package/cjs/combobox/combobox-provider.cjs +8 -8
- package/cjs/combobox/combobox-provider.d.cts +2 -1
- package/cjs/combobox/combobox-provider.d.ts +2 -1
- package/cjs/combobox/combobox-row.d.cts +6 -3
- package/cjs/combobox/combobox-row.d.ts +6 -3
- package/cjs/combobox/combobox-separator.d.cts +4 -3
- package/cjs/combobox/combobox-separator.d.ts +4 -3
- package/cjs/combobox/combobox-store.cjs +8 -8
- package/cjs/combobox/combobox-store.d.cts +11 -7
- package/cjs/combobox/combobox-store.d.ts +11 -7
- package/cjs/combobox/combobox.cjs +10 -8
- package/cjs/combobox/combobox.d.cts +48 -33
- package/cjs/combobox/combobox.d.ts +48 -33
- package/cjs/command/command.cjs +3 -3
- package/cjs/command/command.d.cts +1 -1
- package/cjs/command/command.d.ts +1 -1
- package/cjs/composite/composite-container.cjs +4 -4
- package/cjs/composite/composite-container.d.cts +18 -11
- package/cjs/composite/composite-container.d.ts +18 -11
- package/cjs/composite/composite-group-label.d.cts +18 -13
- package/cjs/composite/composite-group-label.d.ts +18 -13
- package/cjs/composite/composite-group.d.cts +20 -12
- package/cjs/composite/composite-group.d.ts +20 -12
- package/cjs/composite/composite-hover.d.cts +19 -8
- package/cjs/composite/composite-hover.d.ts +19 -8
- package/cjs/composite/composite-input.cjs +3 -3
- package/cjs/composite/composite-input.d.cts +15 -9
- package/cjs/composite/composite-input.d.ts +15 -9
- package/cjs/composite/composite-item.cjs +6 -6
- package/cjs/composite/composite-item.d.cts +49 -9
- package/cjs/composite/composite-item.d.ts +49 -9
- package/cjs/composite/composite-overflow-disclosure.cjs +11 -11
- package/cjs/composite/composite-overflow-store.cjs +6 -6
- package/cjs/composite/composite-overflow.cjs +12 -12
- package/cjs/composite/composite-provider.cjs +4 -4
- package/cjs/composite/composite-provider.d.cts +2 -1
- package/cjs/composite/composite-provider.d.ts +2 -1
- package/cjs/composite/composite-renderer.cjs +4 -4
- package/cjs/composite/composite-renderer.d.cts +1 -1
- package/cjs/composite/composite-renderer.d.ts +1 -1
- package/cjs/composite/composite-row.d.cts +26 -19
- package/cjs/composite/composite-row.d.ts +26 -19
- package/cjs/composite/composite-separator.d.cts +23 -10
- package/cjs/composite/composite-separator.d.ts +23 -10
- package/cjs/composite/composite-store.cjs +4 -4
- package/cjs/composite/composite-store.d.cts +9 -6
- package/cjs/composite/composite-store.d.ts +9 -6
- package/cjs/composite/composite-typeahead.cjs +3 -3
- package/cjs/composite/composite-typeahead.d.cts +20 -8
- package/cjs/composite/composite-typeahead.d.ts +20 -8
- package/cjs/composite/composite.cjs +4 -4
- package/cjs/composite/composite.d.cts +65 -10
- package/cjs/composite/composite.d.ts +65 -10
- package/cjs/composite/utils.cjs +2 -2
- package/cjs/dialog/dialog-backdrop.cjs +5 -5
- package/cjs/dialog/dialog-disclosure.cjs +6 -6
- package/cjs/dialog/dialog-disclosure.d.cts +2 -1
- package/cjs/dialog/dialog-disclosure.d.ts +2 -1
- package/cjs/dialog/dialog-dismiss.cjs +5 -5
- package/cjs/dialog/dialog-dismiss.d.cts +2 -1
- package/cjs/dialog/dialog-dismiss.d.ts +2 -1
- package/cjs/dialog/dialog-provider.cjs +4 -4
- package/cjs/dialog/dialog-provider.d.cts +2 -1
- package/cjs/dialog/dialog-provider.d.ts +2 -1
- package/cjs/dialog/dialog-store.cjs +4 -4
- package/cjs/dialog/dialog-store.d.cts +3 -1
- package/cjs/dialog/dialog-store.d.ts +3 -1
- package/cjs/dialog/dialog.cjs +11 -11
- package/cjs/dialog/dialog.d.cts +52 -20
- package/cjs/dialog/dialog.d.ts +52 -20
- package/cjs/dialog/utils/disable-tree.cjs +3 -3
- package/cjs/dialog/utils/use-hide-on-interact-outside.cjs +1 -1
- package/cjs/disclosure/disclosure-content.cjs +3 -3
- package/cjs/disclosure/disclosure-content.d.cts +6 -5
- package/cjs/disclosure/disclosure-content.d.ts +6 -5
- package/cjs/disclosure/disclosure-provider.cjs +3 -3
- package/cjs/disclosure/disclosure-provider.d.cts +2 -1
- package/cjs/disclosure/disclosure-provider.d.ts +2 -1
- package/cjs/disclosure/disclosure-store.cjs +3 -3
- package/cjs/disclosure/disclosure-store.d.cts +9 -7
- package/cjs/disclosure/disclosure-store.d.ts +9 -7
- package/cjs/disclosure/disclosure.cjs +5 -5
- package/cjs/disclosure/disclosure.d.cts +3 -2
- package/cjs/disclosure/disclosure.d.ts +3 -2
- package/cjs/focus-trap/focus-trap-region.d.cts +4 -2
- package/cjs/focus-trap/focus-trap-region.d.ts +4 -2
- package/cjs/focusable/focusable-container.d.cts +7 -5
- package/cjs/focusable/focusable-container.d.ts +7 -5
- package/cjs/focusable/focusable.cjs +2 -2
- package/cjs/focusable/focusable.d.cts +12 -2
- package/cjs/focusable/focusable.d.ts +12 -2
- package/cjs/form/form-checkbox.cjs +10 -10
- package/cjs/form/form-checkbox.d.cts +6 -4
- package/cjs/form/form-checkbox.d.ts +6 -4
- package/cjs/form/form-control.cjs +16 -0
- package/cjs/form/form-control.d.cts +93 -0
- package/cjs/form/form-control.d.ts +93 -0
- package/cjs/form/form-description.d.cts +14 -3
- package/cjs/form/form-description.d.ts +14 -3
- package/cjs/form/form-error.d.cts +11 -4
- package/cjs/form/form-error.d.ts +11 -4
- package/cjs/form/form-field.cjs +19 -4
- package/cjs/form/form-field.d.cts +16 -30
- package/cjs/form/form-field.d.ts +16 -30
- package/cjs/form/form-group-label.d.cts +6 -4
- package/cjs/form/form-group-label.d.ts +6 -4
- package/cjs/form/form-group.d.cts +6 -2
- package/cjs/form/form-group.d.ts +6 -2
- package/cjs/form/form-input.cjs +4 -4
- package/cjs/form/form-input.d.cts +7 -6
- package/cjs/form/form-input.d.ts +7 -6
- package/cjs/form/form-label.d.cts +18 -7
- package/cjs/form/form-label.d.ts +18 -7
- package/cjs/form/form-provider.cjs +4 -4
- package/cjs/form/form-provider.d.cts +2 -1
- package/cjs/form/form-provider.d.ts +2 -1
- package/cjs/form/form-push.cjs +4 -4
- package/cjs/form/form-push.d.cts +17 -3
- package/cjs/form/form-push.d.ts +17 -3
- package/cjs/form/form-radio-group.d.cts +7 -2
- package/cjs/form/form-radio-group.d.ts +7 -2
- package/cjs/form/form-radio.cjs +9 -9
- package/cjs/form/form-radio.d.cts +8 -4
- package/cjs/form/form-radio.d.ts +8 -4
- package/cjs/form/form-remove.cjs +4 -4
- package/cjs/form/form-remove.d.cts +17 -2
- package/cjs/form/form-remove.d.ts +17 -2
- package/cjs/form/form-reset.cjs +4 -4
- package/cjs/form/form-reset.d.cts +5 -2
- package/cjs/form/form-reset.d.ts +5 -2
- package/cjs/form/form-store.cjs +4 -4
- package/cjs/form/form-store.d.cts +31 -14
- package/cjs/form/form-store.d.ts +31 -14
- package/cjs/form/form-submit.cjs +4 -4
- package/cjs/form/form-submit.d.cts +8 -2
- package/cjs/form/form-submit.d.ts +8 -2
- package/cjs/form/form.d.cts +37 -11
- package/cjs/form/form.d.ts +37 -11
- package/cjs/group/group-label.d.cts +3 -2
- package/cjs/group/group-label.d.ts +3 -2
- package/cjs/group/group.d.cts +3 -1
- package/cjs/group/group.d.ts +3 -1
- package/cjs/heading/heading-level.d.cts +4 -2
- package/cjs/heading/heading-level.d.ts +4 -2
- package/cjs/heading/heading.d.cts +4 -3
- package/cjs/heading/heading.d.ts +4 -3
- package/cjs/hovercard/hovercard-anchor.cjs +3 -3
- package/cjs/hovercard/hovercard-anchor.d.cts +5 -2
- package/cjs/hovercard/hovercard-anchor.d.ts +5 -2
- package/cjs/hovercard/hovercard-arrow.d.cts +4 -2
- package/cjs/hovercard/hovercard-arrow.d.ts +4 -2
- package/cjs/hovercard/hovercard-description.d.cts +2 -2
- package/cjs/hovercard/hovercard-description.d.ts +2 -2
- package/cjs/hovercard/hovercard-disclosure.cjs +6 -6
- package/cjs/hovercard/hovercard-disclosure.d.cts +1 -1
- package/cjs/hovercard/hovercard-disclosure.d.ts +1 -1
- package/cjs/hovercard/hovercard-dismiss.cjs +7 -7
- package/cjs/hovercard/hovercard-dismiss.d.cts +3 -2
- package/cjs/hovercard/hovercard-dismiss.d.ts +3 -2
- package/cjs/hovercard/hovercard-heading.d.cts +2 -2
- package/cjs/hovercard/hovercard-heading.d.ts +2 -2
- package/cjs/hovercard/hovercard-provider.cjs +6 -6
- package/cjs/hovercard/hovercard-provider.d.cts +2 -1
- package/cjs/hovercard/hovercard-provider.d.ts +2 -1
- package/cjs/hovercard/hovercard-store.cjs +6 -6
- package/cjs/hovercard/hovercard-store.d.cts +2 -1
- package/cjs/hovercard/hovercard-store.d.ts +2 -1
- package/cjs/hovercard/hovercard.cjs +13 -13
- package/cjs/hovercard/hovercard.d.cts +20 -8
- package/cjs/hovercard/hovercard.d.ts +20 -8
- package/cjs/menu/menu-arrow.d.cts +4 -2
- package/cjs/menu/menu-arrow.d.ts +4 -2
- package/cjs/menu/menu-bar-provider.cjs +6 -6
- package/cjs/menu/menu-bar-store.cjs +6 -6
- package/cjs/menu/menu-bar.cjs +9 -9
- package/cjs/menu/menu-bar.d.cts +1 -2
- package/cjs/menu/menu-bar.d.ts +1 -2
- package/cjs/menu/menu-button-arrow.d.cts +9 -4
- package/cjs/menu/menu-button-arrow.d.ts +9 -4
- package/cjs/menu/menu-button.cjs +14 -14
- package/cjs/menu/menu-button.d.cts +8 -7
- package/cjs/menu/menu-button.d.ts +8 -7
- package/cjs/menu/menu-description.d.cts +2 -2
- package/cjs/menu/menu-description.d.ts +2 -2
- package/cjs/menu/menu-dismiss.cjs +7 -7
- package/cjs/menu/menu-dismiss.d.cts +3 -2
- package/cjs/menu/menu-dismiss.d.ts +3 -2
- package/cjs/menu/menu-group-label.d.cts +4 -4
- package/cjs/menu/menu-group-label.d.ts +4 -4
- package/cjs/menu/menu-group.d.cts +5 -2
- package/cjs/menu/menu-group.d.ts +5 -2
- package/cjs/menu/menu-heading.d.cts +3 -2
- package/cjs/menu/menu-heading.d.ts +3 -2
- package/cjs/menu/menu-item-check.d.cts +10 -18
- package/cjs/menu/menu-item-check.d.ts +10 -18
- package/cjs/menu/menu-item-checkbox.cjs +12 -12
- package/cjs/menu/menu-item-checkbox.d.cts +38 -6
- package/cjs/menu/menu-item-checkbox.d.ts +38 -6
- package/cjs/menu/menu-item-radio.cjs +9 -9
- package/cjs/menu/menu-item-radio.d.cts +21 -9
- package/cjs/menu/menu-item-radio.d.ts +21 -9
- package/cjs/menu/menu-item.cjs +7 -7
- package/cjs/menu/menu-item.d.cts +10 -11
- package/cjs/menu/menu-item.d.ts +10 -11
- package/cjs/menu/menu-list.cjs +8 -8
- package/cjs/menu/menu-list.d.cts +7 -2
- package/cjs/menu/menu-list.d.ts +7 -2
- package/cjs/menu/menu-provider.cjs +9 -9
- package/cjs/menu/menu-provider.d.cts +2 -1
- package/cjs/menu/menu-provider.d.ts +2 -1
- package/cjs/menu/menu-separator.d.cts +5 -2
- package/cjs/menu/menu-separator.d.ts +5 -2
- package/cjs/menu/menu-store.cjs +9 -9
- package/cjs/menu/menu-store.d.cts +18 -7
- package/cjs/menu/menu-store.d.ts +18 -7
- package/cjs/menu/menu.cjs +21 -21
- package/cjs/menu/menu.d.cts +8 -2
- package/cjs/menu/menu.d.ts +8 -2
- package/cjs/menubar/menubar-provider.cjs +6 -6
- package/cjs/menubar/menubar-provider.d.cts +2 -1
- package/cjs/menubar/menubar-provider.d.ts +2 -1
- package/cjs/menubar/menubar-store.cjs +5 -5
- package/cjs/menubar/menubar-store.d.cts +3 -1
- package/cjs/menubar/menubar-store.d.ts +3 -1
- package/cjs/menubar/menubar.cjs +9 -9
- package/cjs/menubar/menubar.d.cts +3 -2
- package/cjs/menubar/menubar.d.ts +3 -2
- package/cjs/popover/popover-anchor.d.cts +4 -3
- package/cjs/popover/popover-anchor.d.ts +4 -3
- package/cjs/popover/popover-arrow.d.cts +6 -2
- package/cjs/popover/popover-arrow.d.ts +6 -2
- package/cjs/popover/popover-description.d.cts +1 -1
- package/cjs/popover/popover-description.d.ts +1 -1
- package/cjs/popover/popover-disclosure-arrow.d.cts +6 -4
- package/cjs/popover/popover-disclosure-arrow.d.ts +6 -4
- package/cjs/popover/popover-disclosure.cjs +7 -7
- package/cjs/popover/popover-disclosure.d.cts +3 -2
- package/cjs/popover/popover-disclosure.d.ts +3 -2
- package/cjs/popover/popover-dismiss.cjs +6 -6
- package/cjs/popover/popover-dismiss.d.cts +1 -1
- package/cjs/popover/popover-dismiss.d.ts +1 -1
- package/cjs/popover/popover-heading.d.cts +1 -1
- package/cjs/popover/popover-heading.d.ts +1 -1
- package/cjs/popover/popover-provider.cjs +5 -5
- package/cjs/popover/popover-provider.d.cts +2 -1
- package/cjs/popover/popover-provider.d.ts +2 -1
- package/cjs/popover/popover-store.cjs +5 -5
- package/cjs/popover/popover-store.d.cts +2 -1
- package/cjs/popover/popover-store.d.ts +2 -1
- package/cjs/popover/popover.cjs +12 -12
- package/cjs/popover/popover.d.cts +8 -3
- package/cjs/popover/popover.d.ts +8 -3
- package/cjs/portal/portal.d.cts +18 -1
- package/cjs/portal/portal.d.ts +18 -1
- package/cjs/radio/radio-group.cjs +4 -4
- package/cjs/radio/radio-group.d.cts +8 -6
- package/cjs/radio/radio-group.d.ts +8 -6
- package/cjs/radio/radio-provider.cjs +5 -5
- package/cjs/radio/radio-provider.d.cts +2 -1
- package/cjs/radio/radio-provider.d.ts +2 -1
- package/cjs/radio/radio-store.cjs +5 -5
- package/cjs/radio/radio-store.d.cts +6 -2
- package/cjs/radio/radio-store.d.ts +6 -2
- package/cjs/radio/radio.cjs +7 -7
- package/cjs/radio/radio.d.cts +21 -13
- package/cjs/radio/radio.d.ts +21 -13
- package/cjs/role/role.d.cts +3 -3
- package/cjs/role/role.d.ts +3 -3
- package/cjs/select/select-group-label.d.cts +2 -2
- package/cjs/select/select-group-label.d.ts +2 -2
- package/cjs/select/select-group.d.cts +4 -1
- package/cjs/select/select-group.d.ts +4 -1
- package/cjs/select/select-item-check.d.cts +9 -15
- package/cjs/select/select-item-check.d.ts +9 -15
- package/cjs/select/select-item.cjs +6 -6
- package/cjs/select/select-item.d.cts +1 -5
- package/cjs/select/select-item.d.ts +1 -5
- package/cjs/select/select-list.cjs +8 -8
- package/cjs/select/select-list.d.cts +7 -4
- package/cjs/select/select-list.d.ts +7 -4
- package/cjs/select/select-popover.cjs +18 -18
- package/cjs/select/select-provider.cjs +8 -8
- package/cjs/select/select-provider.d.cts +2 -1
- package/cjs/select/select-provider.d.ts +2 -1
- package/cjs/select/select-renderer.cjs +7 -7
- package/cjs/select/select-renderer.d.cts +1 -1
- package/cjs/select/select-renderer.d.ts +1 -1
- package/cjs/select/select-row.d.cts +4 -1
- package/cjs/select/select-row.d.ts +4 -1
- package/cjs/select/select-separator.d.cts +2 -1
- package/cjs/select/select-separator.d.ts +2 -1
- package/cjs/select/select-store.cjs +8 -8
- package/cjs/select/select-store.d.cts +17 -10
- package/cjs/select/select-store.d.ts +17 -10
- package/cjs/select/select.cjs +19 -17
- package/cjs/select/select.d.cts +25 -15
- package/cjs/select/select.d.ts +25 -15
- package/cjs/tab/tab-list.cjs +4 -4
- package/cjs/tab/tab-list.d.cts +2 -1
- package/cjs/tab/tab-list.d.ts +2 -1
- package/cjs/tab/tab-panel.cjs +7 -7
- package/cjs/tab/tab-panel.d.cts +20 -3
- package/cjs/tab/tab-panel.d.ts +20 -3
- package/cjs/tab/tab-provider.cjs +5 -5
- package/cjs/tab/tab-provider.d.cts +1 -1
- package/cjs/tab/tab-provider.d.ts +1 -1
- package/cjs/tab/tab-store.cjs +5 -5
- package/cjs/tab/tab-store.d.cts +9 -3
- package/cjs/tab/tab-store.d.ts +9 -3
- package/cjs/tab/tab.cjs +6 -6
- package/cjs/tab/tab.d.cts +2 -2
- package/cjs/tab/tab.d.ts +2 -2
- package/cjs/toolbar/toolbar-container.cjs +9 -9
- package/cjs/toolbar/toolbar-container.d.cts +1 -1
- package/cjs/toolbar/toolbar-container.d.ts +1 -1
- package/cjs/toolbar/toolbar-input.cjs +9 -9
- package/cjs/toolbar/toolbar-input.d.cts +2 -1
- package/cjs/toolbar/toolbar-input.d.ts +2 -1
- package/cjs/toolbar/toolbar-item.cjs +7 -7
- package/cjs/toolbar/toolbar-item.d.cts +2 -1
- package/cjs/toolbar/toolbar-item.d.ts +2 -1
- package/cjs/toolbar/toolbar-provider.cjs +5 -5
- package/cjs/toolbar/toolbar-provider.d.cts +2 -1
- package/cjs/toolbar/toolbar-provider.d.ts +2 -1
- package/cjs/toolbar/toolbar-separator.d.cts +2 -1
- package/cjs/toolbar/toolbar-separator.d.ts +2 -1
- package/cjs/toolbar/toolbar-store.cjs +5 -5
- package/cjs/toolbar/toolbar-store.d.cts +3 -1
- package/cjs/toolbar/toolbar-store.d.ts +3 -1
- package/cjs/toolbar/toolbar.cjs +9 -9
- package/cjs/tooltip/tooltip-anchor.cjs +3 -3
- package/cjs/tooltip/tooltip-anchor.d.cts +3 -3
- package/cjs/tooltip/tooltip-anchor.d.ts +3 -3
- package/cjs/tooltip/tooltip-arrow.d.cts +1 -1
- package/cjs/tooltip/tooltip-arrow.d.ts +1 -1
- package/cjs/tooltip/tooltip-provider.cjs +7 -7
- package/cjs/tooltip/tooltip-provider.d.cts +2 -1
- package/cjs/tooltip/tooltip-provider.d.ts +2 -1
- package/cjs/tooltip/tooltip-store.cjs +7 -7
- package/cjs/tooltip/tooltip-store.d.cts +3 -1
- package/cjs/tooltip/tooltip-store.d.ts +3 -1
- package/cjs/tooltip/tooltip.cjs +14 -14
- package/cjs/tooltip/tooltip.d.cts +3 -1
- package/cjs/tooltip/tooltip.d.ts +3 -1
- package/cjs/utils/store.cjs +2 -2
- package/esm/__chunks/{57KNUQTI.js → 2P5JZHCE.js} +5 -6
- package/esm/__chunks/{IXZMWLUE.js → 2QMN5E6B.js} +2 -2
- package/esm/__chunks/{HBGJOTTX.js → 346FK57L.js} +1 -1
- package/esm/__chunks/{6QXBPV75.js → 3IEDWLST.js} +1 -1
- package/esm/__chunks/{FS2EVEJO.js → 4GO43MST.js} +8 -8
- package/esm/__chunks/{GD2VG2KJ.js → 4HD64GHO.js} +1 -1
- package/esm/__chunks/{CVFC2LN3.js → 53AZXSRJ.js} +2 -2
- package/esm/__chunks/{KK7H3W2B.js → 54DTKZT5.js} +1 -1
- package/esm/__chunks/{A6ER4BO6.js → 7GBW5FLS.js} +2 -2
- package/esm/__chunks/{SXPADS2D.js → A2OYJMGS.js} +1 -1
- package/esm/__chunks/{QUPVK46L.js → BPNXFCFY.js} +2 -2
- package/esm/__chunks/{NWCBQ4CV.js → BVNGIDQK.js} +1 -1
- package/esm/__chunks/{KOKHD3Z3.js → CLE7NTOY.js} +1 -1
- package/esm/__chunks/{BHEJ6NUH.js → CM2MGWJJ.js} +1 -1
- package/esm/__chunks/{LZUSNDXA.js → CQMDBRG5.js} +2 -2
- package/esm/__chunks/{W2TTCKOE.js → E7J4UKND.js} +1 -1
- package/esm/__chunks/{4OZYHFMH.js → EKQEJRUF.js} +0 -5
- package/esm/__chunks/{WEU2EOWJ.js → EWG7ZSIX.js} +3 -3
- package/esm/__chunks/{DYLO4TTE.js → FMVHAVXA.js} +3 -3
- package/esm/__chunks/{6H3EJNCE.js → H5L25YOA.js} +2 -2
- package/esm/__chunks/{NKXUN25E.js → H67RUTIW.js} +1 -1
- package/esm/__chunks/{7X4DYKYU.js → HKLZHXNQ.js} +1 -1
- package/esm/__chunks/{FWQLUQ4T.js → HVBNG5AF.js} +2 -2
- package/esm/__chunks/{UP4ONTQS.js → I4Q3C2VT.js} +1 -1
- package/esm/__chunks/{VZOR43YE.js → IMEG7JN4.js} +2 -2
- package/esm/__chunks/{VDNZBO4W.js → JH4A3V7P.js} +1 -1
- package/esm/__chunks/{IIVLUKKG.js → JIZ5C2JK.js} +1 -1
- package/esm/__chunks/{6L5IUFNE.js → KSKI4NLV.js} +2 -2
- package/esm/__chunks/{QCIQ4F64.js → LEIRFLRL.js} +2 -2
- package/esm/__chunks/{57VLL43X.js → LWHPHW7Q.js} +2 -2
- package/esm/__chunks/{EENTNM7A.js → MG4P3223.js} +2 -2
- package/esm/__chunks/{F6PRXTDU.js → O4GQD6D6.js} +1 -1
- package/esm/__chunks/{7D63S66W.js → OYQPK2TA.js} +3 -3
- package/esm/__chunks/{4ZEZYKUR.js → PHR7QED4.js} +1 -1
- package/esm/__chunks/{H3TG2CZP.js → PUBUTPR6.js} +1 -1
- package/esm/__chunks/{XCRWZKAW.js → RIL2SEAH.js} +1 -1
- package/esm/__chunks/{SMM5JVLC.js → SFCBA2JZ.js} +1 -1
- package/esm/__chunks/{PDVJHECS.js → SNX6RSV7.js} +9 -9
- package/esm/__chunks/{5L7XBKAC.js → SS66VZAQ.js} +2 -2
- package/esm/__chunks/{FGMA3QUS.js → ST3UVMBD.js} +1 -1
- package/esm/__chunks/{DKALGMO6.js → U5OL5Z27.js} +2 -2
- package/esm/__chunks/{7R5VX7DV.js → VR7H4JAI.js} +2 -2
- package/esm/__chunks/{R2WNOXYG.js → W7TET3D7.js} +3 -3
- package/esm/__chunks/{DENCHBDS.js → WVGRWYXJ.js} +4 -4
- package/esm/__chunks/{NYD53BDE.js → XJXP7ZSQ.js} +3 -3
- package/esm/__chunks/{HDMIVTNE.js → Y6GYTNQ2.js} +1 -1
- package/esm/__chunks/{7SHHFY4P.js → ZICNKKFD.js} +2 -2
- package/esm/__chunks/{EZTAZGGV.js → ZKJ2WLF7.js} +3 -3
- package/esm/__chunks/{6SB7F42L.js → ZSELSBRM.js} +2 -2
- package/esm/__chunks/{A3PM2ZVJ.js → ZU7LQC5V.js} +2 -2
- package/esm/button/button.d.ts +1 -1
- package/esm/button/button.js +3 -3
- package/esm/checkbox/checkbox-check.d.ts +17 -9
- package/esm/checkbox/checkbox-provider.d.ts +4 -2
- package/esm/checkbox/checkbox-provider.js +4 -4
- package/esm/checkbox/checkbox-store.d.ts +5 -3
- package/esm/checkbox/checkbox-store.js +2 -2
- package/esm/checkbox/checkbox.d.ts +14 -9
- package/esm/checkbox/checkbox.js +4 -4
- package/esm/collection/collection-item.d.ts +31 -10
- package/esm/collection/collection-provider.d.ts +2 -1
- package/esm/collection/collection-provider.js +2 -2
- package/esm/collection/collection-renderer.d.ts +1 -1
- package/esm/collection/collection-renderer.js +2 -2
- package/esm/collection/collection-store.d.ts +6 -3
- package/esm/collection/collection-store.js +2 -2
- package/esm/collection/collection.d.ts +4 -3
- package/esm/combobox/combobox-cancel.d.ts +3 -2
- package/esm/combobox/combobox-cancel.js +3 -3
- package/esm/combobox/combobox-disclosure.d.ts +7 -2
- package/esm/combobox/combobox-disclosure.js +5 -5
- package/esm/combobox/combobox-group-label.d.ts +4 -4
- package/esm/combobox/combobox-group.d.ts +7 -3
- package/esm/combobox/combobox-item-check.d.ts +9 -16
- package/esm/combobox/combobox-item-value.d.ts +13 -8
- package/esm/combobox/combobox-item.d.ts +11 -9
- package/esm/combobox/combobox-item.js +5 -5
- package/esm/combobox/combobox-list.d.ts +1 -4
- package/esm/combobox/combobox-list.js +4 -4
- package/esm/combobox/combobox-popover.d.ts +2 -3
- package/esm/combobox/combobox-popover.js +12 -12
- package/esm/combobox/combobox-provider.d.ts +2 -1
- package/esm/combobox/combobox-provider.js +7 -7
- package/esm/combobox/combobox-row.d.ts +6 -3
- package/esm/combobox/combobox-separator.d.ts +4 -3
- package/esm/combobox/combobox-store.d.ts +11 -7
- package/esm/combobox/combobox-store.js +7 -7
- package/esm/combobox/combobox.d.ts +48 -33
- package/esm/combobox/combobox.js +9 -7
- package/esm/command/command.d.ts +1 -1
- package/esm/command/command.js +2 -2
- package/esm/composite/composite-container.d.ts +18 -11
- package/esm/composite/composite-container.js +3 -3
- package/esm/composite/composite-group-label.d.ts +18 -13
- package/esm/composite/composite-group.d.ts +20 -12
- package/esm/composite/composite-hover.d.ts +19 -8
- package/esm/composite/composite-input.d.ts +15 -9
- package/esm/composite/composite-input.js +2 -2
- package/esm/composite/composite-item.d.ts +49 -9
- package/esm/composite/composite-item.js +5 -5
- package/esm/composite/composite-overflow-disclosure.js +9 -9
- package/esm/composite/composite-overflow-store.js +4 -4
- package/esm/composite/composite-overflow.js +11 -11
- package/esm/composite/composite-provider.d.ts +2 -1
- package/esm/composite/composite-provider.js +3 -3
- package/esm/composite/composite-renderer.d.ts +1 -1
- package/esm/composite/composite-renderer.js +3 -3
- package/esm/composite/composite-row.d.ts +26 -19
- package/esm/composite/composite-separator.d.ts +23 -10
- package/esm/composite/composite-store.d.ts +9 -6
- package/esm/composite/composite-store.js +3 -3
- package/esm/composite/composite-typeahead.d.ts +20 -8
- package/esm/composite/composite-typeahead.js +2 -2
- package/esm/composite/composite.d.ts +65 -10
- package/esm/composite/composite.js +3 -3
- package/esm/composite/utils.js +1 -1
- package/esm/dialog/dialog-backdrop.js +4 -4
- package/esm/dialog/dialog-disclosure.d.ts +2 -1
- package/esm/dialog/dialog-disclosure.js +5 -5
- package/esm/dialog/dialog-dismiss.d.ts +2 -1
- package/esm/dialog/dialog-dismiss.js +4 -4
- package/esm/dialog/dialog-provider.d.ts +2 -1
- package/esm/dialog/dialog-provider.js +3 -3
- package/esm/dialog/dialog-store.d.ts +3 -1
- package/esm/dialog/dialog-store.js +3 -3
- package/esm/dialog/dialog.d.ts +52 -20
- package/esm/dialog/dialog.js +10 -10
- package/esm/dialog/utils/disable-tree.js +2 -2
- package/esm/dialog/utils/use-hide-on-interact-outside.js +1 -1
- package/esm/disclosure/disclosure-content.d.ts +6 -5
- package/esm/disclosure/disclosure-content.js +2 -2
- package/esm/disclosure/disclosure-provider.d.ts +2 -1
- package/esm/disclosure/disclosure-provider.js +2 -2
- package/esm/disclosure/disclosure-store.d.ts +9 -7
- package/esm/disclosure/disclosure-store.js +2 -2
- package/esm/disclosure/disclosure.d.ts +3 -2
- package/esm/disclosure/disclosure.js +4 -4
- package/esm/focus-trap/focus-trap-region.d.ts +4 -2
- package/esm/focusable/focusable-container.d.ts +7 -5
- package/esm/focusable/focusable.d.ts +12 -2
- package/esm/focusable/focusable.js +1 -1
- package/esm/form/form-checkbox.d.ts +6 -4
- package/esm/form/form-checkbox.js +10 -10
- package/esm/form/form-control.d.ts +93 -0
- package/esm/form/form-control.js +16 -0
- package/esm/form/form-description.d.ts +14 -3
- package/esm/form/form-error.d.ts +11 -4
- package/esm/form/form-field.d.ts +16 -30
- package/esm/form/form-field.js +19 -4
- package/esm/form/form-group-label.d.ts +6 -4
- package/esm/form/form-group.d.ts +6 -2
- package/esm/form/form-input.d.ts +7 -6
- package/esm/form/form-input.js +4 -4
- package/esm/form/form-label.d.ts +18 -7
- package/esm/form/form-provider.d.ts +2 -1
- package/esm/form/form-provider.js +3 -3
- package/esm/form/form-push.d.ts +17 -3
- package/esm/form/form-push.js +3 -3
- package/esm/form/form-radio-group.d.ts +7 -2
- package/esm/form/form-radio.d.ts +8 -4
- package/esm/form/form-radio.js +9 -9
- package/esm/form/form-remove.d.ts +17 -2
- package/esm/form/form-remove.js +3 -3
- package/esm/form/form-reset.d.ts +5 -2
- package/esm/form/form-reset.js +3 -3
- package/esm/form/form-store.d.ts +31 -14
- package/esm/form/form-store.js +3 -3
- package/esm/form/form-submit.d.ts +8 -2
- package/esm/form/form-submit.js +3 -3
- package/esm/form/form.d.ts +37 -11
- package/esm/group/group-label.d.ts +3 -2
- package/esm/group/group.d.ts +3 -1
- package/esm/heading/heading-level.d.ts +4 -2
- package/esm/heading/heading.d.ts +4 -3
- package/esm/hovercard/hovercard-anchor.d.ts +5 -2
- package/esm/hovercard/hovercard-anchor.js +2 -2
- package/esm/hovercard/hovercard-arrow.d.ts +4 -2
- package/esm/hovercard/hovercard-description.d.ts +2 -2
- package/esm/hovercard/hovercard-disclosure.d.ts +1 -1
- package/esm/hovercard/hovercard-disclosure.js +5 -5
- package/esm/hovercard/hovercard-dismiss.d.ts +3 -2
- package/esm/hovercard/hovercard-dismiss.js +6 -6
- package/esm/hovercard/hovercard-heading.d.ts +2 -2
- package/esm/hovercard/hovercard-provider.d.ts +2 -1
- package/esm/hovercard/hovercard-provider.js +5 -5
- package/esm/hovercard/hovercard-store.d.ts +2 -1
- package/esm/hovercard/hovercard-store.js +5 -5
- package/esm/hovercard/hovercard.d.ts +20 -8
- package/esm/hovercard/hovercard.js +12 -12
- package/esm/menu/menu-arrow.d.ts +4 -2
- package/esm/menu/menu-bar-provider.js +5 -5
- package/esm/menu/menu-bar-store.js +4 -4
- package/esm/menu/menu-bar.d.ts +1 -2
- package/esm/menu/menu-bar.js +8 -8
- package/esm/menu/menu-button-arrow.d.ts +9 -4
- package/esm/menu/menu-button.d.ts +8 -7
- package/esm/menu/menu-button.js +10 -10
- package/esm/menu/menu-description.d.ts +2 -2
- package/esm/menu/menu-dismiss.d.ts +3 -2
- package/esm/menu/menu-dismiss.js +6 -6
- package/esm/menu/menu-group-label.d.ts +4 -4
- package/esm/menu/menu-group.d.ts +5 -2
- package/esm/menu/menu-heading.d.ts +3 -2
- package/esm/menu/menu-item-check.d.ts +10 -18
- package/esm/menu/menu-item-checkbox.d.ts +38 -6
- package/esm/menu/menu-item-checkbox.js +10 -10
- package/esm/menu/menu-item-radio.d.ts +21 -9
- package/esm/menu/menu-item-radio.js +7 -7
- package/esm/menu/menu-item.d.ts +10 -11
- package/esm/menu/menu-item.js +6 -6
- package/esm/menu/menu-list.d.ts +7 -2
- package/esm/menu/menu-list.js +7 -7
- package/esm/menu/menu-provider.d.ts +2 -1
- package/esm/menu/menu-provider.js +8 -8
- package/esm/menu/menu-separator.d.ts +5 -2
- package/esm/menu/menu-store.d.ts +18 -7
- package/esm/menu/menu-store.js +8 -8
- package/esm/menu/menu.d.ts +8 -2
- package/esm/menu/menu.js +16 -16
- package/esm/menubar/menubar-provider.d.ts +2 -1
- package/esm/menubar/menubar-provider.js +5 -5
- package/esm/menubar/menubar-store.d.ts +3 -1
- package/esm/menubar/menubar-store.js +4 -4
- package/esm/menubar/menubar.d.ts +3 -2
- package/esm/menubar/menubar.js +8 -8
- package/esm/popover/popover-anchor.d.ts +4 -3
- package/esm/popover/popover-arrow.d.ts +6 -2
- package/esm/popover/popover-description.d.ts +1 -1
- package/esm/popover/popover-disclosure-arrow.d.ts +6 -4
- package/esm/popover/popover-disclosure.d.ts +3 -2
- package/esm/popover/popover-disclosure.js +6 -6
- package/esm/popover/popover-dismiss.d.ts +1 -1
- package/esm/popover/popover-dismiss.js +5 -5
- package/esm/popover/popover-heading.d.ts +1 -1
- package/esm/popover/popover-provider.d.ts +2 -1
- package/esm/popover/popover-provider.js +4 -4
- package/esm/popover/popover-store.d.ts +2 -1
- package/esm/popover/popover-store.js +4 -4
- package/esm/popover/popover.d.ts +8 -3
- package/esm/popover/popover.js +11 -11
- package/esm/portal/portal.d.ts +18 -1
- package/esm/radio/radio-group.d.ts +8 -6
- package/esm/radio/radio-group.js +3 -3
- package/esm/radio/radio-provider.d.ts +2 -1
- package/esm/radio/radio-provider.js +4 -4
- package/esm/radio/radio-store.d.ts +6 -2
- package/esm/radio/radio-store.js +4 -4
- package/esm/radio/radio.d.ts +21 -13
- package/esm/radio/radio.js +6 -6
- package/esm/role/role.d.ts +3 -3
- package/esm/select/select-group-label.d.ts +2 -2
- package/esm/select/select-group.d.ts +4 -1
- package/esm/select/select-item-check.d.ts +9 -15
- package/esm/select/select-item.d.ts +1 -5
- package/esm/select/select-item.js +5 -5
- package/esm/select/select-list.d.ts +7 -4
- package/esm/select/select-list.js +7 -7
- package/esm/select/select-popover.js +15 -15
- package/esm/select/select-provider.d.ts +2 -1
- package/esm/select/select-provider.js +7 -7
- package/esm/select/select-renderer.d.ts +1 -1
- package/esm/select/select-renderer.js +3 -3
- package/esm/select/select-row.d.ts +4 -1
- package/esm/select/select-separator.d.ts +2 -1
- package/esm/select/select-store.d.ts +17 -10
- package/esm/select/select-store.js +7 -7
- package/esm/select/select.d.ts +25 -15
- package/esm/select/select.js +17 -15
- package/esm/tab/tab-list.d.ts +2 -1
- package/esm/tab/tab-list.js +3 -3
- package/esm/tab/tab-panel.d.ts +20 -3
- package/esm/tab/tab-panel.js +4 -4
- package/esm/tab/tab-provider.d.ts +1 -1
- package/esm/tab/tab-provider.js +4 -4
- package/esm/tab/tab-store.d.ts +9 -3
- package/esm/tab/tab-store.js +4 -4
- package/esm/tab/tab.d.ts +2 -2
- package/esm/tab/tab.js +5 -5
- package/esm/toolbar/toolbar-container.d.ts +1 -1
- package/esm/toolbar/toolbar-container.js +7 -7
- package/esm/toolbar/toolbar-input.d.ts +2 -1
- package/esm/toolbar/toolbar-input.js +7 -7
- package/esm/toolbar/toolbar-item.d.ts +2 -1
- package/esm/toolbar/toolbar-item.js +6 -6
- package/esm/toolbar/toolbar-provider.d.ts +2 -1
- package/esm/toolbar/toolbar-provider.js +4 -4
- package/esm/toolbar/toolbar-separator.d.ts +2 -1
- package/esm/toolbar/toolbar-store.d.ts +3 -1
- package/esm/toolbar/toolbar-store.js +4 -4
- package/esm/toolbar/toolbar.js +7 -7
- package/esm/tooltip/tooltip-anchor.d.ts +3 -3
- package/esm/tooltip/tooltip-anchor.js +2 -2
- package/esm/tooltip/tooltip-arrow.d.ts +1 -1
- package/esm/tooltip/tooltip-provider.d.ts +2 -1
- package/esm/tooltip/tooltip-provider.js +6 -6
- package/esm/tooltip/tooltip-store.d.ts +3 -1
- package/esm/tooltip/tooltip-store.js +6 -6
- package/esm/tooltip/tooltip.d.ts +3 -1
- package/esm/tooltip/tooltip.js +12 -12
- package/esm/utils/store.js +1 -1
- package/form/form-control/package.json +8 -0
- package/package.json +9 -2
- package/cjs/__chunks/{NKR65BKC.cjs → KSPMHEYZ.cjs} +3 -3
- package/esm/__chunks/{CLF4PQ7T.js → TQYOGOE2.js} +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _VPQQSYH7cjs = require('../__chunks/VPQQSYH7.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _63UPRTFZcjs = require('../__chunks/63UPRTFZ.cjs');
|
|
8
8
|
require('../__chunks/RNZNGEL4.cjs');
|
|
9
|
-
require('../__chunks/
|
|
9
|
+
require('../__chunks/OLOZ5JT2.cjs');
|
|
10
10
|
require('../__chunks/EO6LS72H.cjs');
|
|
11
11
|
require('../__chunks/CJDHQUBR.cjs');
|
|
12
12
|
require('../__chunks/AV6KTKLE.cjs');
|
|
@@ -14,7 +14,7 @@ require('../__chunks/AV6KTKLE.cjs');
|
|
|
14
14
|
// src/checkbox/checkbox-provider.tsx
|
|
15
15
|
var _jsxruntime = require('react/jsx-runtime');
|
|
16
16
|
function CheckboxProvider(props = {}) {
|
|
17
|
-
const store =
|
|
17
|
+
const store = _VPQQSYH7cjs.useCheckboxStore.call(void 0, props);
|
|
18
18
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _63UPRTFZcjs.CheckboxContextProvider, { value: store, children: props.children });
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -3,8 +3,10 @@ import type { PickRequired } from "@ariakit/core/utils/types";
|
|
|
3
3
|
import type { CheckboxStoreProps, CheckboxStoreValue } from "./checkbox-store.js";
|
|
4
4
|
type Value = CheckboxStoreValue;
|
|
5
5
|
/**
|
|
6
|
-
* Provides a checkbox store
|
|
7
|
-
* group of checkboxes that share the same
|
|
6
|
+
* Provides a checkbox store for its descendants. This comes in handy when
|
|
7
|
+
* creating a group of checkboxes that share the same state. `CheckboxProvider`
|
|
8
|
+
* can efficiently manage the value of a checkbox, whether it's a single string,
|
|
9
|
+
* number, or boolean value, or an array of such values.
|
|
8
10
|
* @see https://ariakit.org/components/checkbox
|
|
9
11
|
* @example
|
|
10
12
|
* ```jsx
|
|
@@ -3,8 +3,10 @@ import type { PickRequired } from "@ariakit/core/utils/types";
|
|
|
3
3
|
import type { CheckboxStoreProps, CheckboxStoreValue } from "./checkbox-store.js";
|
|
4
4
|
type Value = CheckboxStoreValue;
|
|
5
5
|
/**
|
|
6
|
-
* Provides a checkbox store
|
|
7
|
-
* group of checkboxes that share the same
|
|
6
|
+
* Provides a checkbox store for its descendants. This comes in handy when
|
|
7
|
+
* creating a group of checkboxes that share the same state. `CheckboxProvider`
|
|
8
|
+
* can efficiently manage the value of a checkbox, whether it's a single string,
|
|
9
|
+
* number, or boolean value, or an array of such values.
|
|
8
10
|
* @see https://ariakit.org/components/checkbox
|
|
9
11
|
* @example
|
|
10
12
|
* ```jsx
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../__chunks/
|
|
5
|
+
var _VPQQSYH7cjs = require('../__chunks/VPQQSYH7.cjs');
|
|
6
|
+
require('../__chunks/OLOZ5JT2.cjs');
|
|
7
7
|
require('../__chunks/EO6LS72H.cjs');
|
|
8
8
|
require('../__chunks/CJDHQUBR.cjs');
|
|
9
9
|
require('../__chunks/AV6KTKLE.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.useCheckboxStore =
|
|
13
|
+
exports.useCheckboxStore = _VPQQSYH7cjs.useCheckboxStore; exports.useCheckboxStoreProps = _VPQQSYH7cjs.useCheckboxStoreProps;
|
|
@@ -3,7 +3,8 @@ import type { PickRequired } from "@ariakit/core/utils/types";
|
|
|
3
3
|
import type { Store } from "../utils/store.js";
|
|
4
4
|
export declare function useCheckboxStoreProps<T extends Core.CheckboxStore>(store: T, update: () => void, props: CheckboxStoreProps): T;
|
|
5
5
|
/**
|
|
6
|
-
* Creates a checkbox store
|
|
6
|
+
* Creates a checkbox store to conveniently manage a checkbox value,
|
|
7
|
+
* whether it's a string, number, boolean, or an array of strings or numbers.
|
|
7
8
|
* @see https://ariakit.org/components/checkbox
|
|
8
9
|
* @example
|
|
9
10
|
* ```jsx
|
|
@@ -18,8 +19,9 @@ export type CheckboxStoreState<T extends CheckboxStoreValue = CheckboxStoreValue
|
|
|
18
19
|
export type CheckboxStoreFunctions<T extends CheckboxStoreValue = CheckboxStoreValue> = Core.CheckboxStoreFunctions<T>;
|
|
19
20
|
export interface CheckboxStoreOptions<T extends CheckboxStoreValue = CheckboxStoreValue> extends Core.CheckboxStoreOptions<T> {
|
|
20
21
|
/**
|
|
21
|
-
* A callback that gets called when the
|
|
22
|
-
*
|
|
22
|
+
* A callback that gets called when the
|
|
23
|
+
* [`value`](https://ariakit.org/reference/checkbox-provider#value) state
|
|
24
|
+
* changes.
|
|
23
25
|
* @example
|
|
24
26
|
* function MyCheckbox({ value, onChange }) {
|
|
25
27
|
* const checkbox = useCheckboxStore({ value, setValue: onChange });
|
|
@@ -3,7 +3,8 @@ import type { PickRequired } from "@ariakit/core/utils/types";
|
|
|
3
3
|
import type { Store } from "../utils/store.js";
|
|
4
4
|
export declare function useCheckboxStoreProps<T extends Core.CheckboxStore>(store: T, update: () => void, props: CheckboxStoreProps): T;
|
|
5
5
|
/**
|
|
6
|
-
* Creates a checkbox store
|
|
6
|
+
* Creates a checkbox store to conveniently manage a checkbox value,
|
|
7
|
+
* whether it's a string, number, boolean, or an array of strings or numbers.
|
|
7
8
|
* @see https://ariakit.org/components/checkbox
|
|
8
9
|
* @example
|
|
9
10
|
* ```jsx
|
|
@@ -18,8 +19,9 @@ export type CheckboxStoreState<T extends CheckboxStoreValue = CheckboxStoreValue
|
|
|
18
19
|
export type CheckboxStoreFunctions<T extends CheckboxStoreValue = CheckboxStoreValue> = Core.CheckboxStoreFunctions<T>;
|
|
19
20
|
export interface CheckboxStoreOptions<T extends CheckboxStoreValue = CheckboxStoreValue> extends Core.CheckboxStoreOptions<T> {
|
|
20
21
|
/**
|
|
21
|
-
* A callback that gets called when the
|
|
22
|
-
*
|
|
22
|
+
* A callback that gets called when the
|
|
23
|
+
* [`value`](https://ariakit.org/reference/checkbox-provider#value) state
|
|
24
|
+
* changes.
|
|
23
25
|
* @example
|
|
24
26
|
* function MyCheckbox({ value, onChange }) {
|
|
25
27
|
* const checkbox = useCheckboxStore({ value, setValue: onChange });
|
|
@@ -2,18 +2,18 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _2UEWAQWGcjs = require('../__chunks/2UEWAQWG.cjs');
|
|
6
6
|
require('../__chunks/63UPRTFZ.cjs');
|
|
7
7
|
require('../__chunks/ERFHNHON.cjs');
|
|
8
|
-
require('../__chunks/
|
|
9
|
-
require('../__chunks/
|
|
8
|
+
require('../__chunks/OSTQZD2E.cjs');
|
|
9
|
+
require('../__chunks/VUEWHLYH.cjs');
|
|
10
10
|
require('../__chunks/75KXQZJX.cjs');
|
|
11
11
|
require('../__chunks/RNZNGEL4.cjs');
|
|
12
|
-
require('../__chunks/
|
|
12
|
+
require('../__chunks/OLOZ5JT2.cjs');
|
|
13
13
|
require('../__chunks/EO6LS72H.cjs');
|
|
14
14
|
require('../__chunks/CJDHQUBR.cjs');
|
|
15
15
|
require('../__chunks/AV6KTKLE.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.Checkbox =
|
|
19
|
+
exports.Checkbox = _2UEWAQWGcjs.Checkbox; exports.useCheckbox = _2UEWAQWGcjs.useCheckbox;
|
|
@@ -40,18 +40,21 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
|
|
|
40
40
|
store?: CheckboxStore;
|
|
41
41
|
/**
|
|
42
42
|
* The native `name` attribute.
|
|
43
|
+
*
|
|
44
|
+
* Live examples:
|
|
45
|
+
* - [MenuItemCheckbox](https://ariakit.org/examples/menu-item-checkbox)
|
|
43
46
|
*/
|
|
44
47
|
name?: string;
|
|
45
48
|
/**
|
|
46
49
|
* The value of the checkbox. This is useful when the same checkbox store is
|
|
47
|
-
* used for multiple `Checkbox`
|
|
48
|
-
* array of checked values.
|
|
50
|
+
* used for multiple [`Checkbox`](https://ariakit.org/reference/checkbox)
|
|
51
|
+
* elements, in which case the value will be an array of checked values.
|
|
49
52
|
*
|
|
50
53
|
* Live examples:
|
|
51
54
|
* - [Checkbox group](https://ariakit.org/examples/checkbox-group)
|
|
52
55
|
* - [MenuItemCheckbox](https://ariakit.org/examples/menu-item-checkbox)
|
|
53
56
|
* @example
|
|
54
|
-
* ```jsx
|
|
57
|
+
* ```jsx "value"
|
|
55
58
|
* <CheckboxProvider defaultValue={["Apple", "Orange"]}>
|
|
56
59
|
* <Checkbox value="Apple" />
|
|
57
60
|
* <Checkbox value="Orange" />
|
|
@@ -61,18 +64,20 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
|
|
|
61
64
|
*/
|
|
62
65
|
value?: InputHTMLAttributes<HTMLInputElement>["value"];
|
|
63
66
|
/**
|
|
64
|
-
* The default
|
|
65
|
-
* `checked` or the
|
|
67
|
+
* The default checked state of the checkbox. This prop is ignored if the
|
|
68
|
+
* [`checked`](https://ariakit.org/reference/checkbox#checked) or the
|
|
69
|
+
* [`store`](https://ariakit.org/reference/checkbox#store) props are provided.
|
|
66
70
|
*/
|
|
67
71
|
defaultChecked?: "mixed" | boolean;
|
|
68
72
|
/**
|
|
69
|
-
* The
|
|
70
|
-
* from `store` prop, if
|
|
71
|
-
* checkbox is partially
|
|
73
|
+
* The checked state of the checkbox. This will override the value inferred
|
|
74
|
+
* from [`store`](https://ariakit.org/reference/checkbox#store) prop, if
|
|
75
|
+
* provided. This can be `"mixed"` to indicate that the checkbox is partially
|
|
76
|
+
* checked.
|
|
72
77
|
*/
|
|
73
78
|
checked?: "mixed" | boolean;
|
|
74
79
|
/**
|
|
75
|
-
* A function that is called when the checkbox's
|
|
80
|
+
* A function that is called when the checkbox's checked state changes.
|
|
76
81
|
*/
|
|
77
82
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
78
83
|
}
|
|
@@ -40,18 +40,21 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
|
|
|
40
40
|
store?: CheckboxStore;
|
|
41
41
|
/**
|
|
42
42
|
* The native `name` attribute.
|
|
43
|
+
*
|
|
44
|
+
* Live examples:
|
|
45
|
+
* - [MenuItemCheckbox](https://ariakit.org/examples/menu-item-checkbox)
|
|
43
46
|
*/
|
|
44
47
|
name?: string;
|
|
45
48
|
/**
|
|
46
49
|
* The value of the checkbox. This is useful when the same checkbox store is
|
|
47
|
-
* used for multiple `Checkbox`
|
|
48
|
-
* array of checked values.
|
|
50
|
+
* used for multiple [`Checkbox`](https://ariakit.org/reference/checkbox)
|
|
51
|
+
* elements, in which case the value will be an array of checked values.
|
|
49
52
|
*
|
|
50
53
|
* Live examples:
|
|
51
54
|
* - [Checkbox group](https://ariakit.org/examples/checkbox-group)
|
|
52
55
|
* - [MenuItemCheckbox](https://ariakit.org/examples/menu-item-checkbox)
|
|
53
56
|
* @example
|
|
54
|
-
* ```jsx
|
|
57
|
+
* ```jsx "value"
|
|
55
58
|
* <CheckboxProvider defaultValue={["Apple", "Orange"]}>
|
|
56
59
|
* <Checkbox value="Apple" />
|
|
57
60
|
* <Checkbox value="Orange" />
|
|
@@ -61,18 +64,20 @@ export interface CheckboxOptions<T extends As = "input"> extends CommandOptions<
|
|
|
61
64
|
*/
|
|
62
65
|
value?: InputHTMLAttributes<HTMLInputElement>["value"];
|
|
63
66
|
/**
|
|
64
|
-
* The default
|
|
65
|
-
* `checked` or the
|
|
67
|
+
* The default checked state of the checkbox. This prop is ignored if the
|
|
68
|
+
* [`checked`](https://ariakit.org/reference/checkbox#checked) or the
|
|
69
|
+
* [`store`](https://ariakit.org/reference/checkbox#store) props are provided.
|
|
66
70
|
*/
|
|
67
71
|
defaultChecked?: "mixed" | boolean;
|
|
68
72
|
/**
|
|
69
|
-
* The
|
|
70
|
-
* from `store` prop, if
|
|
71
|
-
* checkbox is partially
|
|
73
|
+
* The checked state of the checkbox. This will override the value inferred
|
|
74
|
+
* from [`store`](https://ariakit.org/reference/checkbox#store) prop, if
|
|
75
|
+
* provided. This can be `"mixed"` to indicate that the checkbox is partially
|
|
76
|
+
* checked.
|
|
72
77
|
*/
|
|
73
78
|
checked?: "mixed" | boolean;
|
|
74
79
|
/**
|
|
75
|
-
* A function that is called when the checkbox's
|
|
80
|
+
* A function that is called when the checkbox's checked state changes.
|
|
76
81
|
*/
|
|
77
82
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
78
83
|
}
|
|
@@ -17,8 +17,10 @@ import type { CollectionStore } from "./collection-store.js";
|
|
|
17
17
|
export declare const useCollectionItem: import("../utils/types.js").Hook<CollectionItemOptions<"div">>;
|
|
18
18
|
/**
|
|
19
19
|
* Renders an item in a collection. The collection store can be passed
|
|
20
|
-
* explicitly through the
|
|
21
|
-
* `
|
|
20
|
+
* explicitly through the
|
|
21
|
+
* [`store`](https://ariakit.org/reference/collection-item#store) prop or
|
|
22
|
+
* implicitly through the parent
|
|
23
|
+
* [`Collection`](https://ariakit.org/reference/collection) component.
|
|
22
24
|
* @see https://ariakit.org/components/collection
|
|
23
25
|
* @example
|
|
24
26
|
* ```jsx
|
|
@@ -31,23 +33,42 @@ export declare const useCollectionItem: import("../utils/types.js").Hook<Collect
|
|
|
31
33
|
export declare const CollectionItem: import("../utils/types.js").Component<CollectionItemOptions<"div">>;
|
|
32
34
|
export interface CollectionItemOptions<T extends As = "div"> extends Options<T> {
|
|
33
35
|
/**
|
|
34
|
-
* Object returned by the
|
|
35
|
-
*
|
|
36
|
+
* Object returned by the
|
|
37
|
+
* [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
|
|
38
|
+
* hook. If not provided, the closest
|
|
39
|
+
* [`Collection`](https://ariakit.org/reference/collection) or
|
|
40
|
+
* [`CollectionProvider`](https://ariakit.org/reference/collection-provider)
|
|
41
|
+
* components' context will be used.
|
|
42
|
+
*
|
|
43
|
+
* Live examples:
|
|
44
|
+
* - [Navigation Menubar](https://ariakit.org/examples/menubar-navigation)
|
|
36
45
|
*/
|
|
37
46
|
store?: CollectionStore;
|
|
38
47
|
/**
|
|
39
|
-
*
|
|
48
|
+
* The unique ID of the item. This will be used to register the item in the
|
|
49
|
+
* store and for the element's `id` attribute. If not provided, a unique ID
|
|
50
|
+
* will be automatically generated.
|
|
51
|
+
*
|
|
52
|
+
* Live examples:
|
|
53
|
+
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
|
|
54
|
+
* - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
|
|
55
|
+
*/
|
|
56
|
+
id?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Whether the item should be registered as part of the collection.
|
|
59
|
+
*
|
|
60
|
+
* Live examples:
|
|
61
|
+
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
|
|
40
62
|
* @default true
|
|
41
63
|
*/
|
|
42
64
|
shouldRegisterItem?: boolean;
|
|
43
65
|
/**
|
|
44
|
-
* A memoized function that returns props
|
|
45
|
-
*
|
|
66
|
+
* A memoized function that returns props to be passed with the item during
|
|
67
|
+
* its registration in the store.
|
|
46
68
|
* @example
|
|
47
69
|
* ```jsx
|
|
48
|
-
* const
|
|
49
|
-
*
|
|
50
|
-
* <CollectionItem store={store} getItem={getItem} />
|
|
70
|
+
* const getItem = useCallback((data) => ({ ...data, custom: true }), []);
|
|
71
|
+
* <CollectionItem getItem={getItem} />
|
|
51
72
|
* ```
|
|
52
73
|
*/
|
|
53
74
|
getItem?: (props: CollectionStoreItem) => CollectionStoreItem;
|
|
@@ -17,8 +17,10 @@ import type { CollectionStore } from "./collection-store.js";
|
|
|
17
17
|
export declare const useCollectionItem: import("../utils/types.js").Hook<CollectionItemOptions<"div">>;
|
|
18
18
|
/**
|
|
19
19
|
* Renders an item in a collection. The collection store can be passed
|
|
20
|
-
* explicitly through the
|
|
21
|
-
* `
|
|
20
|
+
* explicitly through the
|
|
21
|
+
* [`store`](https://ariakit.org/reference/collection-item#store) prop or
|
|
22
|
+
* implicitly through the parent
|
|
23
|
+
* [`Collection`](https://ariakit.org/reference/collection) component.
|
|
22
24
|
* @see https://ariakit.org/components/collection
|
|
23
25
|
* @example
|
|
24
26
|
* ```jsx
|
|
@@ -31,23 +33,42 @@ export declare const useCollectionItem: import("../utils/types.js").Hook<Collect
|
|
|
31
33
|
export declare const CollectionItem: import("../utils/types.js").Component<CollectionItemOptions<"div">>;
|
|
32
34
|
export interface CollectionItemOptions<T extends As = "div"> extends Options<T> {
|
|
33
35
|
/**
|
|
34
|
-
* Object returned by the
|
|
35
|
-
*
|
|
36
|
+
* Object returned by the
|
|
37
|
+
* [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
|
|
38
|
+
* hook. If not provided, the closest
|
|
39
|
+
* [`Collection`](https://ariakit.org/reference/collection) or
|
|
40
|
+
* [`CollectionProvider`](https://ariakit.org/reference/collection-provider)
|
|
41
|
+
* components' context will be used.
|
|
42
|
+
*
|
|
43
|
+
* Live examples:
|
|
44
|
+
* - [Navigation Menubar](https://ariakit.org/examples/menubar-navigation)
|
|
36
45
|
*/
|
|
37
46
|
store?: CollectionStore;
|
|
38
47
|
/**
|
|
39
|
-
*
|
|
48
|
+
* The unique ID of the item. This will be used to register the item in the
|
|
49
|
+
* store and for the element's `id` attribute. If not provided, a unique ID
|
|
50
|
+
* will be automatically generated.
|
|
51
|
+
*
|
|
52
|
+
* Live examples:
|
|
53
|
+
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
|
|
54
|
+
* - [Tab with React Router](https://ariakit.org/examples/tab-react-router)
|
|
55
|
+
*/
|
|
56
|
+
id?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Whether the item should be registered as part of the collection.
|
|
59
|
+
*
|
|
60
|
+
* Live examples:
|
|
61
|
+
* - [Combobox with tabs](https://ariakit.org/examples/combobox-tabs)
|
|
40
62
|
* @default true
|
|
41
63
|
*/
|
|
42
64
|
shouldRegisterItem?: boolean;
|
|
43
65
|
/**
|
|
44
|
-
* A memoized function that returns props
|
|
45
|
-
*
|
|
66
|
+
* A memoized function that returns props to be passed with the item during
|
|
67
|
+
* its registration in the store.
|
|
46
68
|
* @example
|
|
47
69
|
* ```jsx
|
|
48
|
-
* const
|
|
49
|
-
*
|
|
50
|
-
* <CollectionItem store={store} getItem={getItem} />
|
|
70
|
+
* const getItem = useCallback((data) => ({ ...data, custom: true }), []);
|
|
71
|
+
* <CollectionItem getItem={getItem} />
|
|
51
72
|
* ```
|
|
52
73
|
*/
|
|
53
74
|
getItem?: (props: CollectionStoreItem) => CollectionStoreItem;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _CDNJPIEGcjs = require('../__chunks/CDNJPIEG.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _BZTDJIVTcjs = require('../__chunks/BZTDJIVT.cjs');
|
|
8
8
|
require('../__chunks/RNZNGEL4.cjs');
|
|
9
|
-
require('../__chunks/
|
|
9
|
+
require('../__chunks/OLOZ5JT2.cjs');
|
|
10
10
|
require('../__chunks/EO6LS72H.cjs');
|
|
11
11
|
require('../__chunks/CJDHQUBR.cjs');
|
|
12
12
|
require('../__chunks/AV6KTKLE.cjs');
|
|
@@ -14,7 +14,7 @@ require('../__chunks/AV6KTKLE.cjs');
|
|
|
14
14
|
// src/collection/collection-provider.tsx
|
|
15
15
|
var _jsxruntime = require('react/jsx-runtime');
|
|
16
16
|
function CollectionProvider(props = {}) {
|
|
17
|
-
const store =
|
|
17
|
+
const store = _CDNJPIEGcjs.useCollectionStore.call(void 0, props);
|
|
18
18
|
return /* @__PURE__ */ _jsxruntime.jsx.call(void 0, _BZTDJIVTcjs.CollectionContextProvider, { value: store, children: props.children });
|
|
19
19
|
}
|
|
20
20
|
|
|
@@ -2,7 +2,8 @@ import type { ReactElement, ReactNode } from "react";
|
|
|
2
2
|
import type { PickRequired } from "@ariakit/core/utils/types";
|
|
3
3
|
import type { CollectionStoreItem, CollectionStoreProps } from "./collection-store.js";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a collection store to
|
|
5
|
+
* Provides a collection store to
|
|
6
|
+
* [`CollectionItem`](https://ariakit.org/reference/collection-item) components.
|
|
6
7
|
* @see https://ariakit.org/components/collection
|
|
7
8
|
* @example
|
|
8
9
|
* ```jsx
|
|
@@ -2,7 +2,8 @@ import type { ReactElement, ReactNode } from "react";
|
|
|
2
2
|
import type { PickRequired } from "@ariakit/core/utils/types";
|
|
3
3
|
import type { CollectionStoreItem, CollectionStoreProps } from "./collection-store.js";
|
|
4
4
|
/**
|
|
5
|
-
* Provides a collection store to
|
|
5
|
+
* Provides a collection store to
|
|
6
|
+
* [`CollectionItem`](https://ariakit.org/reference/collection-item) components.
|
|
6
7
|
* @see https://ariakit.org/components/collection
|
|
7
8
|
* @example
|
|
8
9
|
* ```jsx
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
|
|
5
5
|
|
|
6
6
|
|
|
7
|
-
var
|
|
7
|
+
var _6LVRCU4Jcjs = require('../__chunks/6LVRCU4J.cjs');
|
|
8
8
|
require('../__chunks/BZTDJIVT.cjs');
|
|
9
9
|
require('../__chunks/RNZNGEL4.cjs');
|
|
10
|
-
require('../__chunks/
|
|
10
|
+
require('../__chunks/OLOZ5JT2.cjs');
|
|
11
11
|
require('../__chunks/EO6LS72H.cjs');
|
|
12
12
|
require('../__chunks/CJDHQUBR.cjs');
|
|
13
13
|
require('../__chunks/AV6KTKLE.cjs');
|
|
@@ -16,4 +16,4 @@ require('../__chunks/AV6KTKLE.cjs');
|
|
|
16
16
|
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
exports.CollectionRenderer =
|
|
19
|
+
exports.CollectionRenderer = _6LVRCU4Jcjs.CollectionRenderer; exports.getCollectionRendererItem = _6LVRCU4Jcjs.getCollectionRendererItem; exports.getCollectionRendererItemId = _6LVRCU4Jcjs.getCollectionRendererItemId; exports.useCollectionRenderer = _6LVRCU4Jcjs.useCollectionRenderer;
|
|
@@ -327,7 +327,7 @@ export interface CollectionRendererOptions<T extends Item = any> {
|
|
|
327
327
|
/**
|
|
328
328
|
* Object returned by the
|
|
329
329
|
* [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
|
|
330
|
-
* hook. If not provided, the
|
|
330
|
+
* hook. If not provided, the closest
|
|
331
331
|
* [Collection](https://ariakit.org/components/collection) component's
|
|
332
332
|
* context will be used.
|
|
333
333
|
*
|
|
@@ -327,7 +327,7 @@ export interface CollectionRendererOptions<T extends Item = any> {
|
|
|
327
327
|
/**
|
|
328
328
|
* Object returned by the
|
|
329
329
|
* [`useCollectionStore`](https://ariakit.org/reference/use-collection-store)
|
|
330
|
-
* hook. If not provided, the
|
|
330
|
+
* hook. If not provided, the closest
|
|
331
331
|
* [Collection](https://ariakit.org/components/collection) component's
|
|
332
332
|
* context will be used.
|
|
333
333
|
*
|
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
6
|
-
require('../__chunks/
|
|
5
|
+
var _CDNJPIEGcjs = require('../__chunks/CDNJPIEG.cjs');
|
|
6
|
+
require('../__chunks/OLOZ5JT2.cjs');
|
|
7
7
|
require('../__chunks/EO6LS72H.cjs');
|
|
8
8
|
require('../__chunks/CJDHQUBR.cjs');
|
|
9
9
|
require('../__chunks/AV6KTKLE.cjs');
|
|
10
10
|
|
|
11
11
|
|
|
12
12
|
|
|
13
|
-
exports.useCollectionStore =
|
|
13
|
+
exports.useCollectionStore = _CDNJPIEGcjs.useCollectionStore; exports.useCollectionStoreProps = _CDNJPIEGcjs.useCollectionStoreProps;
|
|
@@ -3,11 +3,13 @@ import type { BivariantCallback, PickRequired } from "@ariakit/core/utils/types"
|
|
|
3
3
|
import type { Store } from "../utils/store.js";
|
|
4
4
|
export declare function useCollectionStoreProps<T extends Core.CollectionStore>(store: T, update: () => void, props: CollectionStoreProps): T;
|
|
5
5
|
/**
|
|
6
|
-
* Creates a collection store
|
|
6
|
+
* Creates a collection store to control
|
|
7
|
+
* [Collection](https://ariakit.org/components/collection) components.
|
|
7
8
|
* @see https://ariakit.org/components/collection
|
|
8
9
|
* @example
|
|
9
10
|
* ```jsx
|
|
10
11
|
* const collection = useCollectionStore();
|
|
12
|
+
*
|
|
11
13
|
* <Collection store={collection}>
|
|
12
14
|
* <CollectionItem>Item</CollectionItem>
|
|
13
15
|
* <CollectionItem>Item</CollectionItem>
|
|
@@ -25,8 +27,9 @@ export interface CollectionStoreFunctions<T extends CollectionStoreItem = Collec
|
|
|
25
27
|
}
|
|
26
28
|
export interface CollectionStoreOptions<T extends CollectionStoreItem = CollectionStoreItem> extends Core.CollectionStoreOptions<T> {
|
|
27
29
|
/**
|
|
28
|
-
* A callback that gets called when the
|
|
29
|
-
*
|
|
30
|
+
* A callback that gets called when the
|
|
31
|
+
* [`items`](https://ariakit.org/reference/collection-provider#items) state
|
|
32
|
+
* changes.
|
|
30
33
|
* @example
|
|
31
34
|
* const [items, setItems] = useState([]);
|
|
32
35
|
* const collection = useCollectionStore({ items, setItems });
|
|
@@ -3,11 +3,13 @@ import type { BivariantCallback, PickRequired } from "@ariakit/core/utils/types"
|
|
|
3
3
|
import type { Store } from "../utils/store.js";
|
|
4
4
|
export declare function useCollectionStoreProps<T extends Core.CollectionStore>(store: T, update: () => void, props: CollectionStoreProps): T;
|
|
5
5
|
/**
|
|
6
|
-
* Creates a collection store
|
|
6
|
+
* Creates a collection store to control
|
|
7
|
+
* [Collection](https://ariakit.org/components/collection) components.
|
|
7
8
|
* @see https://ariakit.org/components/collection
|
|
8
9
|
* @example
|
|
9
10
|
* ```jsx
|
|
10
11
|
* const collection = useCollectionStore();
|
|
12
|
+
*
|
|
11
13
|
* <Collection store={collection}>
|
|
12
14
|
* <CollectionItem>Item</CollectionItem>
|
|
13
15
|
* <CollectionItem>Item</CollectionItem>
|
|
@@ -25,8 +27,9 @@ export interface CollectionStoreFunctions<T extends CollectionStoreItem = Collec
|
|
|
25
27
|
}
|
|
26
28
|
export interface CollectionStoreOptions<T extends CollectionStoreItem = CollectionStoreItem> extends Core.CollectionStoreOptions<T> {
|
|
27
29
|
/**
|
|
28
|
-
* A callback that gets called when the
|
|
29
|
-
*
|
|
30
|
+
* A callback that gets called when the
|
|
31
|
+
* [`items`](https://ariakit.org/reference/collection-provider#items) state
|
|
32
|
+
* changes.
|
|
30
33
|
* @example
|
|
31
34
|
* const [items, setItems] = useState([]);
|
|
32
35
|
* const collection = useCollectionStore({ items, setItems });
|
|
@@ -18,9 +18,10 @@ import type { CollectionStore } from "./collection-store.js";
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const useCollection: import("../utils/types.js").Hook<CollectionOptions<"div">>;
|
|
20
20
|
/**
|
|
21
|
-
* Renders a simple wrapper for collection items. It
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* Renders a simple wrapper for collection items. It accepts a collection store
|
|
22
|
+
* through the [`store`](https://ariakit.org/reference/collection#store) prop
|
|
23
|
+
* and provides context for
|
|
24
|
+
* [`CollectionItem`](https://ariakit.org/reference/collection-item) components.
|
|
24
25
|
* @see https://ariakit.org/components/collection
|
|
25
26
|
* @example
|
|
26
27
|
* ```jsx
|
|
@@ -18,9 +18,10 @@ import type { CollectionStore } from "./collection-store.js";
|
|
|
18
18
|
*/
|
|
19
19
|
export declare const useCollection: import("../utils/types.js").Hook<CollectionOptions<"div">>;
|
|
20
20
|
/**
|
|
21
|
-
* Renders a simple wrapper for collection items. It
|
|
22
|
-
*
|
|
23
|
-
*
|
|
21
|
+
* Renders a simple wrapper for collection items. It accepts a collection store
|
|
22
|
+
* through the [`store`](https://ariakit.org/reference/collection#store) prop
|
|
23
|
+
* and provides context for
|
|
24
|
+
* [`CollectionItem`](https://ariakit.org/reference/collection-item) components.
|
|
24
25
|
* @see https://ariakit.org/components/collection
|
|
25
26
|
* @example
|
|
26
27
|
* ```jsx
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
"use strict";Object.defineProperty(exports, "__esModule", {value: true});"use client";
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var _REJALU3Pcjs = require('../__chunks/REJALU3P.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
var _3WCBE6SUcjs = require('../__chunks/3WCBE6SU.cjs');
|
|
8
|
-
require('../__chunks/
|
|
8
|
+
require('../__chunks/OSTQZD2E.cjs');
|
|
9
9
|
require('../__chunks/UZNYSPKP.cjs');
|
|
10
10
|
require('../__chunks/BZTDJIVT.cjs');
|
|
11
11
|
require('../__chunks/UVBBMANL.cjs');
|
|
12
12
|
require('../__chunks/F2A2ZQDB.cjs');
|
|
13
13
|
require('../__chunks/S6UU7NA4.cjs');
|
|
14
|
-
require('../__chunks/
|
|
14
|
+
require('../__chunks/VUEWHLYH.cjs');
|
|
15
15
|
require('../__chunks/75KXQZJX.cjs');
|
|
16
16
|
|
|
17
17
|
|
|
@@ -82,7 +82,7 @@ var useComboboxCancel = _RNZNGEL4cjs.createHook.call(void 0,
|
|
|
82
82
|
}, props), {
|
|
83
83
|
onClick
|
|
84
84
|
});
|
|
85
|
-
props =
|
|
85
|
+
props = _REJALU3Pcjs.useButton.call(void 0, props);
|
|
86
86
|
return props;
|
|
87
87
|
}
|
|
88
88
|
);
|
|
@@ -15,10 +15,11 @@ import type { ComboboxStore } from "./combobox-store.js";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const useComboboxCancel: import("../utils/types.js").Hook<ComboboxCancelOptions<"button">>;
|
|
17
17
|
/**
|
|
18
|
-
* Renders a combobox cancel button that clears the combobox input when
|
|
18
|
+
* Renders a combobox cancel button that clears the combobox input value when
|
|
19
|
+
* clicked.
|
|
19
20
|
* @see https://ariakit.org/components/combobox
|
|
20
21
|
* @example
|
|
21
|
-
* ```jsx
|
|
22
|
+
* ```jsx {3}
|
|
22
23
|
* <ComboboxProvider>
|
|
23
24
|
* <Combobox />
|
|
24
25
|
* <ComboboxCancel />
|
|
@@ -15,10 +15,11 @@ import type { ComboboxStore } from "./combobox-store.js";
|
|
|
15
15
|
*/
|
|
16
16
|
export declare const useComboboxCancel: import("../utils/types.js").Hook<ComboboxCancelOptions<"button">>;
|
|
17
17
|
/**
|
|
18
|
-
* Renders a combobox cancel button that clears the combobox input when
|
|
18
|
+
* Renders a combobox cancel button that clears the combobox input value when
|
|
19
|
+
* clicked.
|
|
19
20
|
* @see https://ariakit.org/components/combobox
|
|
20
21
|
* @example
|
|
21
|
-
* ```jsx
|
|
22
|
+
* ```jsx {3}
|
|
22
23
|
* <ComboboxProvider>
|
|
23
24
|
* <Combobox />
|
|
24
25
|
* <ComboboxCancel />
|