@ariakit/react-components 0.1.0
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 +20 -0
- package/dist/button/button.d.ts +2 -0
- package/dist/button/button.js +53 -0
- package/dist/button/button.js.map +1 -0
- package/dist/button-Cp853csH.d.ts +34 -0
- package/dist/button-Cp853csH.d.ts.map +1 -0
- package/dist/checkbox/checkbox-check.d.ts +56 -0
- package/dist/checkbox/checkbox-check.d.ts.map +1 -0
- package/dist/checkbox/checkbox-check.js +77 -0
- package/dist/checkbox/checkbox-check.js.map +1 -0
- package/dist/checkbox/checkbox-checked-context.d.ts +5 -0
- package/dist/checkbox/checkbox-checked-context.d.ts.map +1 -0
- package/dist/checkbox/checkbox-checked-context.js +8 -0
- package/dist/checkbox/checkbox-checked-context.js.map +1 -0
- package/dist/checkbox/checkbox-context.d.ts +24 -0
- package/dist/checkbox/checkbox-context.d.ts.map +1 -0
- package/dist/checkbox/checkbox-context.js +26 -0
- package/dist/checkbox/checkbox-context.js.map +1 -0
- package/dist/checkbox/checkbox-provider.d.ts +35 -0
- package/dist/checkbox/checkbox-provider.d.ts.map +1 -0
- package/dist/checkbox/checkbox-provider.js +15 -0
- package/dist/checkbox/checkbox-provider.js.map +1 -0
- package/dist/checkbox/checkbox-store.d.ts +2 -0
- package/dist/checkbox/checkbox-store.js +18 -0
- package/dist/checkbox/checkbox-store.js.map +1 -0
- package/dist/checkbox/checkbox.d.ts +91 -0
- package/dist/checkbox/checkbox.d.ts.map +1 -0
- package/dist/checkbox/checkbox.js +148 -0
- package/dist/checkbox/checkbox.js.map +1 -0
- package/dist/checkbox-store-CYZPR4N4.d.ts +38 -0
- package/dist/checkbox-store-CYZPR4N4.d.ts.map +1 -0
- package/dist/collection/collection-context.d.ts +24 -0
- package/dist/collection/collection-context.d.ts.map +1 -0
- package/dist/collection/collection-context.js +26 -0
- package/dist/collection/collection-context.js.map +1 -0
- package/dist/collection/collection-item-offscreen.d.ts +2 -0
- package/dist/collection/collection-item-offscreen.js +88 -0
- package/dist/collection/collection-item-offscreen.js.map +1 -0
- package/dist/collection/collection-item.d.ts +2 -0
- package/dist/collection/collection-item.js +69 -0
- package/dist/collection/collection-item.js.map +1 -0
- package/dist/collection/collection-provider.d.ts +26 -0
- package/dist/collection/collection-provider.d.ts.map +1 -0
- package/dist/collection/collection-provider.js +15 -0
- package/dist/collection/collection-provider.js.map +1 -0
- package/dist/collection/collection-renderer.d.ts +2 -0
- package/dist/collection/collection-renderer.js +580 -0
- package/dist/collection/collection-renderer.js.map +1 -0
- package/dist/collection/collection-store.d.ts +2 -0
- package/dist/collection/collection-store.js +18 -0
- package/dist/collection/collection-store.js.map +1 -0
- package/dist/collection/collection.d.ts +55 -0
- package/dist/collection/collection.d.ts.map +1 -0
- package/dist/collection/collection.js +55 -0
- package/dist/collection/collection.js.map +1 -0
- package/dist/collection-item-C-g2BwVF.d.ts +84 -0
- package/dist/collection-item-C-g2BwVF.d.ts.map +1 -0
- package/dist/collection-item-offscreen-DyXa-sqj.d.ts +30 -0
- package/dist/collection-item-offscreen-DyXa-sqj.d.ts.map +1 -0
- package/dist/collection-renderer-DsPD9ksD.d.ts +469 -0
- package/dist/collection-renderer-DsPD9ksD.d.ts.map +1 -0
- package/dist/collection-store-CbwzYsWf.d.ts +42 -0
- package/dist/collection-store-CbwzYsWf.d.ts.map +1 -0
- package/dist/combobox/combobox-cancel.d.ts +62 -0
- package/dist/combobox/combobox-cancel.d.ts.map +1 -0
- package/dist/combobox/combobox-cancel.js +98 -0
- package/dist/combobox/combobox-cancel.js.map +1 -0
- package/dist/combobox/combobox-context.d.ts +27 -0
- package/dist/combobox/combobox-context.d.ts.map +1 -0
- package/dist/combobox/combobox-context.js +32 -0
- package/dist/combobox/combobox-context.js.map +1 -0
- package/dist/combobox/combobox-disclosure.d.ts +63 -0
- package/dist/combobox/combobox-disclosure.d.ts.map +1 -0
- package/dist/combobox/combobox-disclosure.js +108 -0
- package/dist/combobox/combobox-disclosure.js.map +1 -0
- package/dist/combobox/combobox-group-label.d.ts +56 -0
- package/dist/combobox/combobox-group-label.d.ts.map +1 -0
- package/dist/combobox/combobox-group-label.js +47 -0
- package/dist/combobox/combobox-group-label.js.map +1 -0
- package/dist/combobox/combobox-group.d.ts +63 -0
- package/dist/combobox/combobox-group.d.ts.map +1 -0
- package/dist/combobox/combobox-group.js +67 -0
- package/dist/combobox/combobox-group.js.map +1 -0
- package/dist/combobox/combobox-item-check.d.ts +61 -0
- package/dist/combobox/combobox-item-check.d.ts.map +1 -0
- package/dist/combobox/combobox-item-check.js +62 -0
- package/dist/combobox/combobox-item-check.js.map +1 -0
- package/dist/combobox/combobox-item-offscreen.d.ts +34 -0
- package/dist/combobox/combobox-item-offscreen.d.ts.map +1 -0
- package/dist/combobox/combobox-item-offscreen.js +53 -0
- package/dist/combobox/combobox-item-offscreen.js.map +1 -0
- package/dist/combobox/combobox-item-value.d.ts +103 -0
- package/dist/combobox/combobox-item-value.d.ts.map +1 -0
- package/dist/combobox/combobox-item-value.js +143 -0
- package/dist/combobox/combobox-item-value.js.map +1 -0
- package/dist/combobox/combobox-item.d.ts +146 -0
- package/dist/combobox/combobox-item.d.ts.map +1 -0
- package/dist/combobox/combobox-item.js +157 -0
- package/dist/combobox/combobox-item.js.map +1 -0
- package/dist/combobox/combobox-label.d.ts +50 -0
- package/dist/combobox/combobox-label.d.ts.map +1 -0
- package/dist/combobox/combobox-label.js +51 -0
- package/dist/combobox/combobox-label.js.map +1 -0
- package/dist/combobox/combobox-list.d.ts +55 -0
- package/dist/combobox/combobox-list.d.ts.map +1 -0
- package/dist/combobox/combobox-list.js +106 -0
- package/dist/combobox/combobox-list.js.map +1 -0
- package/dist/combobox/combobox-popover.d.ts +46 -0
- package/dist/combobox/combobox-popover.d.ts.map +1 -0
- package/dist/combobox/combobox-popover.js +115 -0
- package/dist/combobox/combobox-popover.js.map +1 -0
- package/dist/combobox/combobox-provider.d.ts +30 -0
- package/dist/combobox/combobox-provider.d.ts.map +1 -0
- package/dist/combobox/combobox-provider.js +15 -0
- package/dist/combobox/combobox-provider.js.map +1 -0
- package/dist/combobox/combobox-row.d.ts +66 -0
- package/dist/combobox/combobox-row.d.ts.map +1 -0
- package/dist/combobox/combobox-row.js +70 -0
- package/dist/combobox/combobox-row.js.map +1 -0
- package/dist/combobox/combobox-separator.d.ts +61 -0
- package/dist/combobox/combobox-separator.d.ts.map +1 -0
- package/dist/combobox/combobox-separator.js +60 -0
- package/dist/combobox/combobox-separator.js.map +1 -0
- package/dist/combobox/combobox-store.d.ts +2 -0
- package/dist/combobox/combobox-store.js +33 -0
- package/dist/combobox/combobox-store.js.map +1 -0
- package/dist/combobox/combobox-value.d.ts +49 -0
- package/dist/combobox/combobox-value.d.ts.map +1 -0
- package/dist/combobox/combobox-value.js +40 -0
- package/dist/combobox/combobox-value.js.map +1 -0
- package/dist/combobox/combobox.d.ts +268 -0
- package/dist/combobox/combobox.d.ts.map +1 -0
- package/dist/combobox/combobox.js +399 -0
- package/dist/combobox/combobox.js.map +1 -0
- package/dist/combobox-store-DEVQ45mZ.d.ts +80 -0
- package/dist/combobox-store-DEVQ45mZ.d.ts.map +1 -0
- package/dist/command/command.d.ts +2 -0
- package/dist/command/command.js +130 -0
- package/dist/command/command.js.map +1 -0
- package/dist/command-DckndCUK.d.ts +59 -0
- package/dist/command-DckndCUK.d.ts.map +1 -0
- package/dist/composite/composite-container.d.ts +59 -0
- package/dist/composite/composite-container.d.ts.map +1 -0
- package/dist/composite/composite-container.js +164 -0
- package/dist/composite/composite-container.js.map +1 -0
- package/dist/composite/composite-context.d.ts +34 -0
- package/dist/composite/composite-context.d.ts.map +1 -0
- package/dist/composite/composite-context.js +30 -0
- package/dist/composite/composite-context.js.map +1 -0
- package/dist/composite/composite-group-label.d.ts +55 -0
- package/dist/composite/composite-group-label.d.ts.map +1 -0
- package/dist/composite/composite-group-label.js +46 -0
- package/dist/composite/composite-group-label.js.map +1 -0
- package/dist/composite/composite-group.d.ts +60 -0
- package/dist/composite/composite-group.d.ts.map +1 -0
- package/dist/composite/composite-group.js +51 -0
- package/dist/composite/composite-group.js.map +1 -0
- package/dist/composite/composite-hover.d.ts +2 -0
- package/dist/composite/composite-hover.js +114 -0
- package/dist/composite/composite-hover.js.map +1 -0
- package/dist/composite/composite-input.d.ts +55 -0
- package/dist/composite/composite-input.d.ts.map +1 -0
- package/dist/composite/composite-input.js +91 -0
- package/dist/composite/composite-input.js.map +1 -0
- package/dist/composite/composite-item-offscreen.d.ts +39 -0
- package/dist/composite/composite-item-offscreen.d.ts.map +1 -0
- package/dist/composite/composite-item-offscreen.js +72 -0
- package/dist/composite/composite-item-offscreen.js.map +1 -0
- package/dist/composite/composite-item.d.ts +2 -0
- package/dist/composite/composite-item.js +290 -0
- package/dist/composite/composite-item.js.map +1 -0
- package/dist/composite/composite-overflow-disclosure.d.ts +53 -0
- package/dist/composite/composite-overflow-disclosure.d.ts.map +1 -0
- package/dist/composite/composite-overflow-disclosure.js +84 -0
- package/dist/composite/composite-overflow-disclosure.js.map +1 -0
- package/dist/composite/composite-overflow-store.d.ts +38 -0
- package/dist/composite/composite-overflow-store.d.ts.map +1 -0
- package/dist/composite/composite-overflow-store.js +36 -0
- package/dist/composite/composite-overflow-store.js.map +1 -0
- package/dist/composite/composite-overflow.d.ts +54 -0
- package/dist/composite/composite-overflow.d.ts.map +1 -0
- package/dist/composite/composite-overflow.js +82 -0
- package/dist/composite/composite-overflow.js.map +1 -0
- package/dist/composite/composite-provider.d.ts +28 -0
- package/dist/composite/composite-provider.d.ts.map +1 -0
- package/dist/composite/composite-provider.js +15 -0
- package/dist/composite/composite-provider.js.map +1 -0
- package/dist/composite/composite-renderer.d.ts +329 -0
- package/dist/composite/composite-renderer.d.ts.map +1 -0
- package/dist/composite/composite-renderer.js +121 -0
- package/dist/composite/composite-renderer.js.map +1 -0
- package/dist/composite/composite-row.d.ts +67 -0
- package/dist/composite/composite-row.d.ts.map +1 -0
- package/dist/composite/composite-row.js +86 -0
- package/dist/composite/composite-row.js.map +1 -0
- package/dist/composite/composite-separator.d.ts +61 -0
- package/dist/composite/composite-separator.d.ts.map +1 -0
- package/dist/composite/composite-separator.js +55 -0
- package/dist/composite/composite-separator.js.map +1 -0
- package/dist/composite/composite-store.d.ts +2 -0
- package/dist/composite/composite-store.js +33 -0
- package/dist/composite/composite-store.js.map +1 -0
- package/dist/composite/composite-typeahead.d.ts +2 -0
- package/dist/composite/composite-typeahead.js +126 -0
- package/dist/composite/composite-typeahead.js.map +1 -0
- package/dist/composite/composite.d.ts +2 -0
- package/dist/composite/composite.js +273 -0
- package/dist/composite/composite.js.map +1 -0
- package/dist/composite/utils.d.ts +52 -0
- package/dist/composite/utils.d.ts.map +1 -0
- package/dist/composite/utils.js +93 -0
- package/dist/composite/utils.js.map +1 -0
- package/dist/composite-DLvyFHMq.d.ts +124 -0
- package/dist/composite-DLvyFHMq.d.ts.map +1 -0
- package/dist/composite-hover-C7ul163w.d.ts +103 -0
- package/dist/composite-hover-C7ul163w.d.ts.map +1 -0
- package/dist/composite-item-B4WTelVz.d.ts +141 -0
- package/dist/composite-item-B4WTelVz.d.ts.map +1 -0
- package/dist/composite-store-DyJc-XRA.d.ts +43 -0
- package/dist/composite-store-DyJc-XRA.d.ts.map +1 -0
- package/dist/composite-typeahead-DDhpyKqm.d.ts +63 -0
- package/dist/composite-typeahead-DDhpyKqm.d.ts.map +1 -0
- package/dist/dialog/dialog-backdrop.d.ts +16 -0
- package/dist/dialog/dialog-backdrop.d.ts.map +1 -0
- package/dist/dialog/dialog-backdrop.js +58 -0
- package/dist/dialog/dialog-backdrop.js.map +1 -0
- package/dist/dialog/dialog-context.d.ts +27 -0
- package/dist/dialog/dialog-context.d.ts.map +1 -0
- package/dist/dialog/dialog-context.js +30 -0
- package/dist/dialog/dialog-context.js.map +1 -0
- package/dist/dialog/dialog-description.d.ts +2 -0
- package/dist/dialog/dialog-description.js +53 -0
- package/dist/dialog/dialog-description.js.map +1 -0
- package/dist/dialog/dialog-disclosure.d.ts +2 -0
- package/dist/dialog/dialog-disclosure.js +52 -0
- package/dist/dialog/dialog-disclosure.js.map +1 -0
- package/dist/dialog/dialog-dismiss.d.ts +2 -0
- package/dist/dialog/dialog-dismiss.js +80 -0
- package/dist/dialog/dialog-dismiss.js.map +1 -0
- package/dist/dialog/dialog-heading.d.ts +2 -0
- package/dist/dialog/dialog-heading.js +54 -0
- package/dist/dialog/dialog-heading.js.map +1 -0
- package/dist/dialog/dialog-provider.d.ts +22 -0
- package/dist/dialog/dialog-provider.d.ts.map +1 -0
- package/dist/dialog/dialog-provider.js +26 -0
- package/dist/dialog/dialog-provider.js.map +1 -0
- package/dist/dialog/dialog-store.d.ts +2 -0
- package/dist/dialog/dialog-store.js +28 -0
- package/dist/dialog/dialog-store.js.map +1 -0
- package/dist/dialog/dialog.d.ts +2 -0
- package/dist/dialog/dialog.js +429 -0
- package/dist/dialog/dialog.js.map +1 -0
- package/dist/dialog/utils/disable-accessibility-tree-outside.d.ts +7 -0
- package/dist/dialog/utils/disable-accessibility-tree-outside.d.ts.map +1 -0
- package/dist/dialog/utils/disable-accessibility-tree-outside.js +24 -0
- package/dist/dialog/utils/disable-accessibility-tree-outside.js.map +1 -0
- package/dist/dialog/utils/disable-tree.d.ts +9 -0
- package/dist/dialog/utils/disable-tree.d.ts.map +1 -0
- package/dist/dialog/utils/disable-tree.js +48 -0
- package/dist/dialog/utils/disable-tree.js.map +1 -0
- package/dist/dialog/utils/is-backdrop.d.ts +5 -0
- package/dist/dialog/utils/is-backdrop.d.ts.map +1 -0
- package/dist/dialog/utils/is-backdrop.js +15 -0
- package/dist/dialog/utils/is-backdrop.js.map +1 -0
- package/dist/dialog/utils/is-focus-trap.d.ts +5 -0
- package/dist/dialog/utils/is-focus-trap.d.ts.map +1 -0
- package/dist/dialog/utils/is-focus-trap.js +14 -0
- package/dist/dialog/utils/is-focus-trap.js.map +1 -0
- package/dist/dialog/utils/mark-tree-outside.d.ts +9 -0
- package/dist/dialog/utils/mark-tree-outside.d.ts.map +1 -0
- package/dist/dialog/utils/mark-tree-outside.js +44 -0
- package/dist/dialog/utils/mark-tree-outside.js.map +1 -0
- package/dist/dialog/utils/orchestrate.d.ts +9 -0
- package/dist/dialog/utils/orchestrate.d.ts.map +1 -0
- package/dist/dialog/utils/orchestrate.js +77 -0
- package/dist/dialog/utils/orchestrate.js.map +1 -0
- package/dist/dialog/utils/prepend-hidden-dismiss.d.ts +5 -0
- package/dist/dialog/utils/prepend-hidden-dismiss.d.ts.map +1 -0
- package/dist/dialog/utils/prepend-hidden-dismiss.js +31 -0
- package/dist/dialog/utils/prepend-hidden-dismiss.js.map +1 -0
- package/dist/dialog/utils/supports-inert.d.ts +5 -0
- package/dist/dialog/utils/supports-inert.d.ts.map +1 -0
- package/dist/dialog/utils/supports-inert.js +9 -0
- package/dist/dialog/utils/supports-inert.js.map +1 -0
- package/dist/dialog/utils/use-hide-on-interact-outside.d.ts +9 -0
- package/dist/dialog/utils/use-hide-on-interact-outside.d.ts.map +1 -0
- package/dist/dialog/utils/use-hide-on-interact-outside.js +123 -0
- package/dist/dialog/utils/use-hide-on-interact-outside.js.map +1 -0
- package/dist/dialog/utils/use-nested-dialogs.d.ts +11 -0
- package/dist/dialog/utils/use-nested-dialogs.d.ts.map +1 -0
- package/dist/dialog/utils/use-nested-dialogs.js +40 -0
- package/dist/dialog/utils/use-nested-dialogs.js.map +1 -0
- package/dist/dialog/utils/use-prevent-body-scroll.d.ts +5 -0
- package/dist/dialog/utils/use-prevent-body-scroll.d.ts.map +1 -0
- package/dist/dialog/utils/use-prevent-body-scroll.js +60 -0
- package/dist/dialog/utils/use-prevent-body-scroll.js.map +1 -0
- package/dist/dialog/utils/use-previous-mouse-down-ref.d.ts +5 -0
- package/dist/dialog/utils/use-previous-mouse-down-ref.d.ts.map +1 -0
- package/dist/dialog/utils/use-previous-mouse-down-ref.js +22 -0
- package/dist/dialog/utils/use-previous-mouse-down-ref.js.map +1 -0
- package/dist/dialog/utils/use-root-dialog.d.ts +16 -0
- package/dist/dialog/utils/use-root-dialog.d.ts.map +1 -0
- package/dist/dialog/utils/use-root-dialog.js +47 -0
- package/dist/dialog/utils/use-root-dialog.js.map +1 -0
- package/dist/dialog/utils/walk-tree-outside.d.ts +8 -0
- package/dist/dialog/utils/walk-tree-outside.d.ts.map +1 -0
- package/dist/dialog/utils/walk-tree-outside.js +58 -0
- package/dist/dialog/utils/walk-tree-outside.js.map +1 -0
- package/dist/dialog-C__C-zX2.d.ts +267 -0
- package/dist/dialog-C__C-zX2.d.ts.map +1 -0
- package/dist/dialog-description-BCZJ1Kyd.d.ts +48 -0
- package/dist/dialog-description-BCZJ1Kyd.d.ts.map +1 -0
- package/dist/dialog-disclosure-DLD10zlb.d.ts +47 -0
- package/dist/dialog-disclosure-DLD10zlb.d.ts.map +1 -0
- package/dist/dialog-dismiss-CnwEbzc6.d.ts +48 -0
- package/dist/dialog-dismiss-CnwEbzc6.d.ts.map +1 -0
- package/dist/dialog-heading-DQvnOfZH.d.ts +49 -0
- package/dist/dialog-heading-DQvnOfZH.d.ts.map +1 -0
- package/dist/dialog-store-Cjt12T_Y.d.ts +29 -0
- package/dist/dialog-store-Cjt12T_Y.d.ts.map +1 -0
- package/dist/disclosure/disclosure-content.d.ts +2 -0
- package/dist/disclosure/disclosure-content.js +171 -0
- package/dist/disclosure/disclosure-content.js.map +1 -0
- package/dist/disclosure/disclosure-context.d.ts +24 -0
- package/dist/disclosure/disclosure-context.d.ts.map +1 -0
- package/dist/disclosure/disclosure-context.js +26 -0
- package/dist/disclosure/disclosure-context.js.map +1 -0
- package/dist/disclosure/disclosure-provider.d.ts +23 -0
- package/dist/disclosure/disclosure-provider.d.ts.map +1 -0
- package/dist/disclosure/disclosure-provider.js +27 -0
- package/dist/disclosure/disclosure-provider.js.map +1 -0
- package/dist/disclosure/disclosure-store.d.ts +2 -0
- package/dist/disclosure/disclosure-store.js +32 -0
- package/dist/disclosure/disclosure-store.js.map +1 -0
- package/dist/disclosure/disclosure.d.ts +2 -0
- package/dist/disclosure/disclosure.js +83 -0
- package/dist/disclosure/disclosure.js.map +1 -0
- package/dist/disclosure-CQ37hPVP.d.ts +60 -0
- package/dist/disclosure-CQ37hPVP.d.ts.map +1 -0
- package/dist/disclosure-content-BbPkZgAc.d.ts +88 -0
- package/dist/disclosure-content-BbPkZgAc.d.ts.map +1 -0
- package/dist/disclosure-store-BsaBaRKv.d.ts +58 -0
- package/dist/disclosure-store-BsaBaRKv.d.ts.map +1 -0
- package/dist/focus-trap/focus-trap-region.d.ts +42 -0
- package/dist/focus-trap/focus-trap-region.d.ts.map +1 -0
- package/dist/focus-trap/focus-trap-region.js +69 -0
- package/dist/focus-trap/focus-trap-region.js.map +1 -0
- package/dist/focus-trap/focus-trap.d.ts +31 -0
- package/dist/focus-trap/focus-trap.d.ts.map +1 -0
- package/dist/focus-trap/focus-trap.js +45 -0
- package/dist/focus-trap/focus-trap.js.map +1 -0
- package/dist/focusable/focusable-container.d.ts +43 -0
- package/dist/focusable/focusable-container.d.ts.map +1 -0
- package/dist/focusable/focusable-container.js +41 -0
- package/dist/focusable/focusable-container.js.map +1 -0
- package/dist/focusable/focusable-context.d.ts +5 -0
- package/dist/focusable/focusable-context.d.ts.map +1 -0
- package/dist/focusable/focusable-context.js +8 -0
- package/dist/focusable/focusable-context.js.map +1 -0
- package/dist/focusable/focusable.d.ts +2 -0
- package/dist/focusable/focusable.js +273 -0
- package/dist/focusable/focusable.js.map +1 -0
- package/dist/focusable-B00tOxtB.d.ts +142 -0
- package/dist/focusable-B00tOxtB.d.ts.map +1 -0
- package/dist/form/form-checkbox.d.ts +50 -0
- package/dist/form/form-checkbox.d.ts.map +1 -0
- package/dist/form/form-checkbox.js +73 -0
- package/dist/form/form-checkbox.js.map +1 -0
- package/dist/form/form-context.d.ts +24 -0
- package/dist/form/form-context.d.ts.map +1 -0
- package/dist/form/form-context.js +27 -0
- package/dist/form/form-context.js.map +1 -0
- package/dist/form/form-control.d.ts +100 -0
- package/dist/form/form-control.d.ts.map +1 -0
- package/dist/form/form-control.js +139 -0
- package/dist/form/form-control.js.map +1 -0
- package/dist/form/form-description.d.ts +73 -0
- package/dist/form/form-description.d.ts.map +1 -0
- package/dist/form/form-description.js +83 -0
- package/dist/form/form-description.js.map +1 -0
- package/dist/form/form-error.d.ts +82 -0
- package/dist/form/form-error.d.ts.map +1 -0
- package/dist/form/form-error.js +102 -0
- package/dist/form/form-error.js.map +1 -0
- package/dist/form/form-field.d.ts +73 -0
- package/dist/form/form-field.d.ts.map +1 -0
- package/dist/form/form-field.js +74 -0
- package/dist/form/form-field.js.map +1 -0
- package/dist/form/form-group-label.d.ts +62 -0
- package/dist/form/form-group-label.d.ts.map +1 -0
- package/dist/form/form-group-label.js +54 -0
- package/dist/form/form-group-label.js.map +1 -0
- package/dist/form/form-group.d.ts +64 -0
- package/dist/form/form-group.d.ts.map +1 -0
- package/dist/form/form-group.js +56 -0
- package/dist/form/form-group.js.map +1 -0
- package/dist/form/form-input.d.ts +50 -0
- package/dist/form/form-input.d.ts.map +1 -0
- package/dist/form/form-input.js +74 -0
- package/dist/form/form-input.js.map +1 -0
- package/dist/form/form-label.d.ts +77 -0
- package/dist/form/form-label.d.ts.map +1 -0
- package/dist/form/form-label.js +120 -0
- package/dist/form/form-label.js.map +1 -0
- package/dist/form/form-provider.d.ts +28 -0
- package/dist/form/form-provider.d.ts.map +1 -0
- package/dist/form/form-provider.js +15 -0
- package/dist/form/form-provider.js.map +1 -0
- package/dist/form/form-push.d.ts +102 -0
- package/dist/form/form-push.d.ts.map +1 -0
- package/dist/form/form-push.js +134 -0
- package/dist/form/form-push.js.map +1 -0
- package/dist/form/form-radio-group.d.ts +56 -0
- package/dist/form/form-radio-group.d.ts.map +1 -0
- package/dist/form/form-radio-group.js +68 -0
- package/dist/form/form-radio-group.js.map +1 -0
- package/dist/form/form-radio.d.ts +58 -0
- package/dist/form/form-radio.d.ts.map +1 -0
- package/dist/form/form-radio.js +90 -0
- package/dist/form/form-radio.js.map +1 -0
- package/dist/form/form-remove.d.ts +102 -0
- package/dist/form/form-remove.d.ts.map +1 -0
- package/dist/form/form-remove.js +116 -0
- package/dist/form/form-remove.js.map +1 -0
- package/dist/form/form-reset.d.ts +51 -0
- package/dist/form/form-reset.d.ts.map +1 -0
- package/dist/form/form-reset.js +54 -0
- package/dist/form/form-reset.js.map +1 -0
- package/dist/form/form-store.d.ts +2 -0
- package/dist/form/form-store.js +41 -0
- package/dist/form/form-store.js.map +1 -0
- package/dist/form/form-submit.d.ts +57 -0
- package/dist/form/form-submit.d.ts.map +1 -0
- package/dist/form/form-submit.js +59 -0
- package/dist/form/form-submit.js.map +1 -0
- package/dist/form/form.d.ts +101 -0
- package/dist/form/form.d.ts.map +1 -0
- package/dist/form/form.js +146 -0
- package/dist/form/form.js.map +1 -0
- package/dist/form-store-C4Kf5QHm.d.ts +120 -0
- package/dist/form-store-C4Kf5QHm.d.ts.map +1 -0
- package/dist/group/group-label-context.d.ts +7 -0
- package/dist/group/group-label-context.d.ts.map +1 -0
- package/dist/group/group-label-context.js +8 -0
- package/dist/group/group-label-context.js.map +1 -0
- package/dist/group/group-label.d.ts +2 -0
- package/dist/group/group-label.js +52 -0
- package/dist/group/group-label.js.map +1 -0
- package/dist/group/group.d.ts +2 -0
- package/dist/group/group.js +47 -0
- package/dist/group/group.js.map +1 -0
- package/dist/group-CamegDJA.d.ts +32 -0
- package/dist/group-CamegDJA.d.ts.map +1 -0
- package/dist/group-label-C16IDs1b.d.ts +37 -0
- package/dist/group-label-C16IDs1b.d.ts.map +1 -0
- package/dist/heading/heading-context.d.ts +7 -0
- package/dist/heading/heading-context.d.ts.map +1 -0
- package/dist/heading/heading-context.js +8 -0
- package/dist/heading/heading-context.js.map +1 -0
- package/dist/heading/heading-level.d.ts +35 -0
- package/dist/heading/heading-level.d.ts.map +1 -0
- package/dist/heading/heading-level.js +33 -0
- package/dist/heading/heading-level.js.map +1 -0
- package/dist/heading/heading.d.ts +2 -0
- package/dist/heading/heading.js +56 -0
- package/dist/heading/heading.js.map +1 -0
- package/dist/heading/utils.d.ts +2 -0
- package/dist/heading/utils.js +1 -0
- package/dist/heading-zY9g_9K-.d.ts +42 -0
- package/dist/heading-zY9g_9K-.d.ts.map +1 -0
- package/dist/hovercard/hovercard-anchor.d.ts +59 -0
- package/dist/hovercard/hovercard-anchor.d.ts.map +1 -0
- package/dist/hovercard/hovercard-anchor.js +106 -0
- package/dist/hovercard/hovercard-anchor.js.map +1 -0
- package/dist/hovercard/hovercard-arrow.d.ts +54 -0
- package/dist/hovercard/hovercard-arrow.d.ts.map +1 -0
- package/dist/hovercard/hovercard-arrow.js +51 -0
- package/dist/hovercard/hovercard-arrow.js.map +1 -0
- package/dist/hovercard/hovercard-context.d.ts +24 -0
- package/dist/hovercard/hovercard-context.d.ts.map +1 -0
- package/dist/hovercard/hovercard-context.js +27 -0
- package/dist/hovercard/hovercard-context.js.map +1 -0
- package/dist/hovercard/hovercard-description.d.ts +51 -0
- package/dist/hovercard/hovercard-description.d.ts.map +1 -0
- package/dist/hovercard/hovercard-description.js +42 -0
- package/dist/hovercard/hovercard-description.js.map +1 -0
- package/dist/hovercard/hovercard-disclosure.d.ts +51 -0
- package/dist/hovercard/hovercard-disclosure.d.ts.map +1 -0
- package/dist/hovercard/hovercard-disclosure.js +122 -0
- package/dist/hovercard/hovercard-disclosure.js.map +1 -0
- package/dist/hovercard/hovercard-dismiss.d.ts +50 -0
- package/dist/hovercard/hovercard-dismiss.d.ts.map +1 -0
- package/dist/hovercard/hovercard-dismiss.js +47 -0
- package/dist/hovercard/hovercard-dismiss.js.map +1 -0
- package/dist/hovercard/hovercard-heading.d.ts +51 -0
- package/dist/hovercard/hovercard-heading.d.ts.map +1 -0
- package/dist/hovercard/hovercard-heading.js +42 -0
- package/dist/hovercard/hovercard-heading.js.map +1 -0
- package/dist/hovercard/hovercard-provider.d.ts +23 -0
- package/dist/hovercard/hovercard-provider.d.ts.map +1 -0
- package/dist/hovercard/hovercard-provider.js +27 -0
- package/dist/hovercard/hovercard-provider.js.map +1 -0
- package/dist/hovercard/hovercard-store.d.ts +2 -0
- package/dist/hovercard/hovercard-store.js +31 -0
- package/dist/hovercard/hovercard-store.js.map +1 -0
- package/dist/hovercard/hovercard.d.ts +80 -0
- package/dist/hovercard/hovercard.d.ts.map +1 -0
- package/dist/hovercard/hovercard.js +240 -0
- package/dist/hovercard/hovercard.js.map +1 -0
- package/dist/hovercard/utils/debug-polygon.d.ts +7 -0
- package/dist/hovercard/utils/debug-polygon.d.ts.map +1 -0
- package/dist/hovercard/utils/debug-polygon.js +33 -0
- package/dist/hovercard/utils/debug-polygon.js.map +1 -0
- package/dist/hovercard/utils/polygon.d.ts +9 -0
- package/dist/hovercard/utils/polygon.d.ts.map +1 -0
- package/dist/hovercard/utils/polygon.js +70 -0
- package/dist/hovercard/utils/polygon.js.map +1 -0
- package/dist/hovercard-store-gIeoQEn_.d.ts +30 -0
- package/dist/hovercard-store-gIeoQEn_.d.ts.map +1 -0
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +7 -0
- package/dist/index.js.map +1 -0
- package/dist/menu/menu-arrow.d.ts +52 -0
- package/dist/menu/menu-arrow.d.ts.map +1 -0
- package/dist/menu/menu-arrow.js +49 -0
- package/dist/menu/menu-arrow.js.map +1 -0
- package/dist/menu/menu-bar-provider.d.ts +35 -0
- package/dist/menu/menu-bar-provider.d.ts.map +1 -0
- package/dist/menu/menu-bar-provider.js +42 -0
- package/dist/menu/menu-bar-provider.js.map +1 -0
- package/dist/menu/menu-bar-store.d.ts +25 -0
- package/dist/menu/menu-bar-store.d.ts.map +1 -0
- package/dist/menu/menu-bar-store.js +28 -0
- package/dist/menu/menu-bar-store.js.map +1 -0
- package/dist/menu/menu-bar.d.ts +61 -0
- package/dist/menu/menu-bar.d.ts.map +1 -0
- package/dist/menu/menu-bar.js +66 -0
- package/dist/menu/menu-bar.js.map +1 -0
- package/dist/menu/menu-button-arrow.d.ts +65 -0
- package/dist/menu/menu-button-arrow.d.ts.map +1 -0
- package/dist/menu/menu-button-arrow.js +62 -0
- package/dist/menu/menu-button-arrow.js.map +1 -0
- package/dist/menu/menu-button.d.ts +67 -0
- package/dist/menu/menu-button.d.ts.map +1 -0
- package/dist/menu/menu-button.js +183 -0
- package/dist/menu/menu-button.js.map +1 -0
- package/dist/menu/menu-context.d.ts +47 -0
- package/dist/menu/menu-context.d.ts.map +1 -0
- package/dist/menu/menu-context.js +52 -0
- package/dist/menu/menu-context.js.map +1 -0
- package/dist/menu/menu-description.d.ts +50 -0
- package/dist/menu/menu-description.d.ts.map +1 -0
- package/dist/menu/menu-description.js +42 -0
- package/dist/menu/menu-description.js.map +1 -0
- package/dist/menu/menu-dismiss.d.ts +49 -0
- package/dist/menu/menu-dismiss.d.ts.map +1 -0
- package/dist/menu/menu-dismiss.js +47 -0
- package/dist/menu/menu-dismiss.js.map +1 -0
- package/dist/menu/menu-group-label.d.ts +55 -0
- package/dist/menu/menu-group-label.d.ts.map +1 -0
- package/dist/menu/menu-group-label.js +47 -0
- package/dist/menu/menu-group-label.js.map +1 -0
- package/dist/menu/menu-group.d.ts +61 -0
- package/dist/menu/menu-group.d.ts.map +1 -0
- package/dist/menu/menu-group.js +53 -0
- package/dist/menu/menu-group.js.map +1 -0
- package/dist/menu/menu-heading.d.ts +50 -0
- package/dist/menu/menu-heading.d.ts.map +1 -0
- package/dist/menu/menu-heading.js +42 -0
- package/dist/menu/menu-heading.js.map +1 -0
- package/dist/menu/menu-item-check.d.ts +58 -0
- package/dist/menu/menu-item-check.d.ts.map +1 -0
- package/dist/menu/menu-item-check.js +60 -0
- package/dist/menu/menu-item-check.js.map +1 -0
- package/dist/menu/menu-item-checkbox.d.ts +104 -0
- package/dist/menu/menu-item-checkbox.d.ts.map +1 -0
- package/dist/menu/menu-item-checkbox.js +151 -0
- package/dist/menu/menu-item-checkbox.js.map +1 -0
- package/dist/menu/menu-item-radio.d.ts +91 -0
- package/dist/menu/menu-item-radio.d.ts.map +1 -0
- package/dist/menu/menu-item-radio.js +121 -0
- package/dist/menu/menu-item-radio.js.map +1 -0
- package/dist/menu/menu-item.d.ts +75 -0
- package/dist/menu/menu-item.d.ts.map +1 -0
- package/dist/menu/menu-item.js +122 -0
- package/dist/menu/menu-item.js.map +1 -0
- package/dist/menu/menu-list.d.ts +59 -0
- package/dist/menu/menu-list.d.ts.map +1 -0
- package/dist/menu/menu-list.js +168 -0
- package/dist/menu/menu-list.js.map +1 -0
- package/dist/menu/menu-provider.d.ts +29 -0
- package/dist/menu/menu-provider.d.ts.map +1 -0
- package/dist/menu/menu-provider.js +15 -0
- package/dist/menu/menu-provider.js.map +1 -0
- package/dist/menu/menu-separator.d.ts +59 -0
- package/dist/menu/menu-separator.d.ts.map +1 -0
- package/dist/menu/menu-separator.js +57 -0
- package/dist/menu/menu-separator.js.map +1 -0
- package/dist/menu/menu-store.d.ts +2 -0
- package/dist/menu/menu-store.js +40 -0
- package/dist/menu/menu-store.js.map +1 -0
- package/dist/menu/menu.d.ts +49 -0
- package/dist/menu/menu.d.ts.map +1 -0
- package/dist/menu/menu.js +169 -0
- package/dist/menu/menu.js.map +1 -0
- package/dist/menu-store-0CKKmNek.d.ts +83 -0
- package/dist/menu-store-0CKKmNek.d.ts.map +1 -0
- package/dist/menubar/menubar-context.d.ts +25 -0
- package/dist/menubar/menubar-context.d.ts.map +1 -0
- package/dist/menubar/menubar-context.js +29 -0
- package/dist/menubar/menubar-context.js.map +1 -0
- package/dist/menubar/menubar-provider.d.ts +37 -0
- package/dist/menubar/menubar-provider.d.ts.map +1 -0
- package/dist/menubar/menubar-provider.js +41 -0
- package/dist/menubar/menubar-provider.js.map +1 -0
- package/dist/menubar/menubar-store.d.ts +2 -0
- package/dist/menubar/menubar-store.js +27 -0
- package/dist/menubar/menubar-store.js.map +1 -0
- package/dist/menubar/menubar.d.ts +71 -0
- package/dist/menubar/menubar.d.ts.map +1 -0
- package/dist/menubar/menubar.js +88 -0
- package/dist/menubar/menubar.js.map +1 -0
- package/dist/menubar-store-3h0eNIbS.d.ts +26 -0
- package/dist/menubar-store-3h0eNIbS.d.ts.map +1 -0
- package/dist/popover/popover-anchor.d.ts +2 -0
- package/dist/popover/popover-anchor.js +45 -0
- package/dist/popover/popover-anchor.js.map +1 -0
- package/dist/popover/popover-arrow-path.d.ts +5 -0
- package/dist/popover/popover-arrow-path.d.ts.map +1 -0
- package/dist/popover/popover-arrow-path.js +7 -0
- package/dist/popover/popover-arrow-path.js.map +1 -0
- package/dist/popover/popover-arrow.d.ts +65 -0
- package/dist/popover/popover-arrow.d.ts.map +1 -0
- package/dist/popover/popover-arrow.js +160 -0
- package/dist/popover/popover-arrow.js.map +1 -0
- package/dist/popover/popover-context.d.ts +24 -0
- package/dist/popover/popover-context.d.ts.map +1 -0
- package/dist/popover/popover-context.js +27 -0
- package/dist/popover/popover-context.js.map +1 -0
- package/dist/popover/popover-description.d.ts +2 -0
- package/dist/popover/popover-description.js +42 -0
- package/dist/popover/popover-description.js.map +1 -0
- package/dist/popover/popover-disclosure-arrow.d.ts +62 -0
- package/dist/popover/popover-disclosure-arrow.d.ts.map +1 -0
- package/dist/popover/popover-disclosure-arrow.js +81 -0
- package/dist/popover/popover-disclosure-arrow.js.map +1 -0
- package/dist/popover/popover-disclosure.d.ts +38 -0
- package/dist/popover/popover-disclosure.d.ts.map +1 -0
- package/dist/popover/popover-disclosure.js +66 -0
- package/dist/popover/popover-disclosure.js.map +1 -0
- package/dist/popover/popover-dismiss.d.ts +2 -0
- package/dist/popover/popover-dismiss.js +47 -0
- package/dist/popover/popover-dismiss.js.map +1 -0
- package/dist/popover/popover-heading.d.ts +2 -0
- package/dist/popover/popover-heading.js +42 -0
- package/dist/popover/popover-heading.js.map +1 -0
- package/dist/popover/popover-provider.d.ts +23 -0
- package/dist/popover/popover-provider.d.ts.map +1 -0
- package/dist/popover/popover-provider.js +27 -0
- package/dist/popover/popover-provider.js.map +1 -0
- package/dist/popover/popover-store.d.ts +2 -0
- package/dist/popover/popover-store.js +30 -0
- package/dist/popover/popover-store.js.map +1 -0
- package/dist/popover/popover.d.ts +2 -0
- package/dist/popover/popover.js +312 -0
- package/dist/popover/popover.js.map +1 -0
- package/dist/popover-CCqiRKqg.d.ts +181 -0
- package/dist/popover-CCqiRKqg.d.ts.map +1 -0
- package/dist/popover-anchor-PgfeXyzs.d.ts +47 -0
- package/dist/popover-anchor-PgfeXyzs.d.ts.map +1 -0
- package/dist/popover-description-DU753dah.d.ts +51 -0
- package/dist/popover-description-DU753dah.d.ts.map +1 -0
- package/dist/popover-dismiss-DPeI6Zse.d.ts +50 -0
- package/dist/popover-dismiss-DPeI6Zse.d.ts.map +1 -0
- package/dist/popover-heading-DGsr6D5W.d.ts +51 -0
- package/dist/popover-heading-DGsr6D5W.d.ts.map +1 -0
- package/dist/popover-store-Bc-l5VVO.d.ts +29 -0
- package/dist/popover-store-Bc-l5VVO.d.ts.map +1 -0
- package/dist/portal/portal-context.d.ts +21 -0
- package/dist/portal/portal-context.d.ts.map +1 -0
- package/dist/portal/portal-context.js +24 -0
- package/dist/portal/portal-context.js.map +1 -0
- package/dist/portal/portal.d.ts +2 -0
- package/dist/portal/portal.js +242 -0
- package/dist/portal/portal.js.map +1 -0
- package/dist/portal-CMBWiayp.d.ts +149 -0
- package/dist/portal-CMBWiayp.d.ts.map +1 -0
- package/dist/radio/radio-context.d.ts +24 -0
- package/dist/radio/radio-context.d.ts.map +1 -0
- package/dist/radio/radio-context.js +27 -0
- package/dist/radio/radio-context.js.map +1 -0
- package/dist/radio/radio-group.d.ts +51 -0
- package/dist/radio/radio-group.d.ts.map +1 -0
- package/dist/radio/radio-group.js +60 -0
- package/dist/radio/radio-group.js.map +1 -0
- package/dist/radio/radio-provider.d.ts +25 -0
- package/dist/radio/radio-provider.d.ts.map +1 -0
- package/dist/radio/radio-provider.js +29 -0
- package/dist/radio/radio-provider.js.map +1 -0
- package/dist/radio/radio-store.d.ts +2 -0
- package/dist/radio/radio-store.js +33 -0
- package/dist/radio/radio-store.js.map +1 -0
- package/dist/radio/radio.d.ts +76 -0
- package/dist/radio/radio.d.ts.map +1 -0
- package/dist/radio/radio.js +143 -0
- package/dist/radio/radio.js.map +1 -0
- package/dist/radio-store-DOZ_1RSk.d.ts +36 -0
- package/dist/radio-store-DOZ_1RSk.d.ts.map +1 -0
- package/dist/role/role.d.ts +34 -0
- package/dist/role/role.d.ts.map +1 -0
- package/dist/role/role.js +68 -0
- package/dist/role/role.js.map +1 -0
- package/dist/select/select-arrow.d.ts +60 -0
- package/dist/select/select-arrow.d.ts.map +1 -0
- package/dist/select/select-arrow.js +58 -0
- package/dist/select/select-arrow.js.map +1 -0
- package/dist/select/select-context.d.ts +27 -0
- package/dist/select/select-context.d.ts.map +1 -0
- package/dist/select/select-context.js +31 -0
- package/dist/select/select-context.js.map +1 -0
- package/dist/select/select-dismiss.d.ts +59 -0
- package/dist/select/select-dismiss.d.ts.map +1 -0
- package/dist/select/select-dismiss.js +56 -0
- package/dist/select/select-dismiss.js.map +1 -0
- package/dist/select/select-group-label.d.ts +61 -0
- package/dist/select/select-group-label.d.ts.map +1 -0
- package/dist/select/select-group-label.js +52 -0
- package/dist/select/select-group-label.js.map +1 -0
- package/dist/select/select-group.d.ts +62 -0
- package/dist/select/select-group.d.ts.map +1 -0
- package/dist/select/select-group.js +53 -0
- package/dist/select/select-group.js.map +1 -0
- package/dist/select/select-heading.d.ts +59 -0
- package/dist/select/select-heading.d.ts.map +1 -0
- package/dist/select/select-heading.js +62 -0
- package/dist/select/select-heading.js.map +1 -0
- package/dist/select/select-item-check.d.ts +59 -0
- package/dist/select/select-item-check.d.ts.map +1 -0
- package/dist/select/select-item-check.js +61 -0
- package/dist/select/select-item-check.js.map +1 -0
- package/dist/select/select-item-offscreen.d.ts +37 -0
- package/dist/select/select-item-offscreen.d.ts.map +1 -0
- package/dist/select/select-item-offscreen.js +38 -0
- package/dist/select/select-item-offscreen.js.map +1 -0
- package/dist/select/select-item.d.ts +108 -0
- package/dist/select/select-item.d.ts.map +1 -0
- package/dist/select/select-item.js +143 -0
- package/dist/select/select-item.js.map +1 -0
- package/dist/select/select-label.d.ts +55 -0
- package/dist/select/select-label.d.ts.map +1 -0
- package/dist/select/select-label.js +70 -0
- package/dist/select/select-label.js.map +1 -0
- package/dist/select/select-list.d.ts +80 -0
- package/dist/select/select-list.d.ts.map +1 -0
- package/dist/select/select-list.js +143 -0
- package/dist/select/select-list.js.map +1 -0
- package/dist/select/select-popover.d.ts +44 -0
- package/dist/select/select-popover.d.ts.map +1 -0
- package/dist/select/select-popover.js +59 -0
- package/dist/select/select-popover.js.map +1 -0
- package/dist/select/select-provider.d.ts +30 -0
- package/dist/select/select-provider.d.ts.map +1 -0
- package/dist/select/select-provider.js +15 -0
- package/dist/select/select-provider.js.map +1 -0
- package/dist/select/select-renderer.d.ts +44 -0
- package/dist/select/select-renderer.d.ts.map +1 -0
- package/dist/select/select-renderer.js +61 -0
- package/dist/select/select-renderer.js.map +1 -0
- package/dist/select/select-row.d.ts +63 -0
- package/dist/select/select-row.d.ts.map +1 -0
- package/dist/select/select-row.js +67 -0
- package/dist/select/select-row.js.map +1 -0
- package/dist/select/select-separator.d.ts +60 -0
- package/dist/select/select-separator.d.ts.map +1 -0
- package/dist/select/select-separator.js +57 -0
- package/dist/select/select-separator.js.map +1 -0
- package/dist/select/select-store.d.ts +2 -0
- package/dist/select/select-store.js +31 -0
- package/dist/select/select-store.js.map +1 -0
- package/dist/select/select-value.d.ts +84 -0
- package/dist/select/select-value.d.ts.map +1 -0
- package/dist/select/select-value.js +18 -0
- package/dist/select/select-value.js.map +1 -0
- package/dist/select/select.d.ts +89 -0
- package/dist/select/select.d.ts.map +1 -0
- package/dist/select/select.js +211 -0
- package/dist/select/select.js.map +1 -0
- package/dist/select-store-BsLTAyKh.d.ts +68 -0
- package/dist/select-store-BsLTAyKh.d.ts.map +1 -0
- package/dist/separator/separator.d.ts +2 -0
- package/dist/separator/separator.js +36 -0
- package/dist/separator/separator.js.map +1 -0
- package/dist/separator--ozQfMcK.d.ts +36 -0
- package/dist/separator--ozQfMcK.d.ts.map +1 -0
- package/dist/store.d.ts +1 -0
- package/dist/store.js +2 -0
- package/dist/tab/tab-context.d.ts +24 -0
- package/dist/tab/tab-context.d.ts.map +1 -0
- package/dist/tab/tab-context.js +27 -0
- package/dist/tab/tab-context.js.map +1 -0
- package/dist/tab/tab-list.d.ts +55 -0
- package/dist/tab/tab-list.d.ts.map +1 -0
- package/dist/tab/tab-list.js +71 -0
- package/dist/tab/tab-list.js.map +1 -0
- package/dist/tab/tab-panel.d.ts +122 -0
- package/dist/tab/tab-panel.d.ts.map +1 -0
- package/dist/tab/tab-panel.js +169 -0
- package/dist/tab/tab-panel.js.map +1 -0
- package/dist/tab/tab-provider.d.ts +26 -0
- package/dist/tab/tab-provider.d.ts.map +1 -0
- package/dist/tab/tab-provider.js +30 -0
- package/dist/tab/tab-provider.js.map +1 -0
- package/dist/tab/tab-store.d.ts +77 -0
- package/dist/tab/tab-store.d.ts.map +1 -0
- package/dist/tab/tab-store.js +55 -0
- package/dist/tab/tab-store.js.map +1 -0
- package/dist/tab/tab.d.ts +56 -0
- package/dist/tab/tab.d.ts.map +1 -0
- package/dist/tab/tab.js +115 -0
- package/dist/tab/tab.js.map +1 -0
- package/dist/tag/tag-context.d.ts +26 -0
- package/dist/tag/tag-context.d.ts.map +1 -0
- package/dist/tag/tag-context.js +30 -0
- package/dist/tag/tag-context.js.map +1 -0
- package/dist/tag/tag-input.d.ts +126 -0
- package/dist/tag/tag-input.d.ts.map +1 -0
- package/dist/tag/tag-input.js +162 -0
- package/dist/tag/tag-input.js.map +1 -0
- package/dist/tag/tag-list-label.d.ts +59 -0
- package/dist/tag/tag-list-label.d.ts.map +1 -0
- package/dist/tag/tag-list-label.js +62 -0
- package/dist/tag/tag-list-label.js.map +1 -0
- package/dist/tag/tag-list.d.ts +62 -0
- package/dist/tag/tag-list.d.ts.map +1 -0
- package/dist/tag/tag-list.js +127 -0
- package/dist/tag/tag-list.js.map +1 -0
- package/dist/tag/tag-provider.d.ts +34 -0
- package/dist/tag/tag-provider.d.ts.map +1 -0
- package/dist/tag/tag-provider.js +38 -0
- package/dist/tag/tag-provider.js.map +1 -0
- package/dist/tag/tag-remove.d.ts +71 -0
- package/dist/tag/tag-remove.d.ts.map +1 -0
- package/dist/tag/tag-remove.js +102 -0
- package/dist/tag/tag-remove.js.map +1 -0
- package/dist/tag/tag-store.d.ts +2 -0
- package/dist/tag/tag-store.js +38 -0
- package/dist/tag/tag-store.js.map +1 -0
- package/dist/tag/tag-value.d.ts +49 -0
- package/dist/tag/tag-value.d.ts.map +1 -0
- package/dist/tag/tag-value.js +40 -0
- package/dist/tag/tag-value.js.map +1 -0
- package/dist/tag/tag-values.d.ts +60 -0
- package/dist/tag/tag-values.d.ts.map +1 -0
- package/dist/tag/tag-values.js +50 -0
- package/dist/tag/tag-values.js.map +1 -0
- package/dist/tag/tag.d.ts +78 -0
- package/dist/tag/tag.d.ts.map +1 -0
- package/dist/tag/tag.js +114 -0
- package/dist/tag/tag.js.map +1 -0
- package/dist/tag/utils.d.ts +5 -0
- package/dist/tag/utils.d.ts.map +1 -0
- package/dist/tag/utils.js +15 -0
- package/dist/tag/utils.js.map +1 -0
- package/dist/tag-store-xANOvuGo.d.ts +49 -0
- package/dist/tag-store-xANOvuGo.d.ts.map +1 -0
- package/dist/toolbar/toolbar-container.d.ts +41 -0
- package/dist/toolbar/toolbar-container.d.ts.map +1 -0
- package/dist/toolbar/toolbar-container.js +53 -0
- package/dist/toolbar/toolbar-container.js.map +1 -0
- package/dist/toolbar/toolbar-context.d.ts +24 -0
- package/dist/toolbar/toolbar-context.d.ts.map +1 -0
- package/dist/toolbar/toolbar-context.js +27 -0
- package/dist/toolbar/toolbar-context.js.map +1 -0
- package/dist/toolbar/toolbar-input.d.ts +39 -0
- package/dist/toolbar/toolbar-input.d.ts.map +1 -0
- package/dist/toolbar/toolbar-input.js +47 -0
- package/dist/toolbar/toolbar-input.js.map +1 -0
- package/dist/toolbar/toolbar-item.d.ts +47 -0
- package/dist/toolbar/toolbar-item.d.ts.map +1 -0
- package/dist/toolbar/toolbar-item.js +45 -0
- package/dist/toolbar/toolbar-item.js.map +1 -0
- package/dist/toolbar/toolbar-provider.d.ts +26 -0
- package/dist/toolbar/toolbar-provider.d.ts.map +1 -0
- package/dist/toolbar/toolbar-provider.js +30 -0
- package/dist/toolbar/toolbar-provider.js.map +1 -0
- package/dist/toolbar/toolbar-separator.d.ts +51 -0
- package/dist/toolbar/toolbar-separator.d.ts.map +1 -0
- package/dist/toolbar/toolbar-separator.js +49 -0
- package/dist/toolbar/toolbar-separator.js.map +1 -0
- package/dist/toolbar/toolbar-store.d.ts +2 -0
- package/dist/toolbar/toolbar-store.js +31 -0
- package/dist/toolbar/toolbar-store.js.map +1 -0
- package/dist/toolbar/toolbar.d.ts +50 -0
- package/dist/toolbar/toolbar.d.ts.map +1 -0
- package/dist/toolbar/toolbar.js +66 -0
- package/dist/toolbar/toolbar.js.map +1 -0
- package/dist/toolbar-store-Cs-9cGHx.d.ts +30 -0
- package/dist/toolbar-store-Cs-9cGHx.d.ts.map +1 -0
- package/dist/tooltip/tooltip-anchor.d.ts +53 -0
- package/dist/tooltip/tooltip-anchor.d.ts.map +1 -0
- package/dist/tooltip/tooltip-anchor.js +121 -0
- package/dist/tooltip/tooltip-anchor.js.map +1 -0
- package/dist/tooltip/tooltip-arrow.d.ts +54 -0
- package/dist/tooltip/tooltip-arrow.d.ts.map +1 -0
- package/dist/tooltip/tooltip-arrow.js +54 -0
- package/dist/tooltip/tooltip-arrow.js.map +1 -0
- package/dist/tooltip/tooltip-context.d.ts +24 -0
- package/dist/tooltip/tooltip-context.d.ts.map +1 -0
- package/dist/tooltip/tooltip-context.js +27 -0
- package/dist/tooltip/tooltip-context.js.map +1 -0
- package/dist/tooltip/tooltip-provider.d.ts +23 -0
- package/dist/tooltip/tooltip-provider.d.ts.map +1 -0
- package/dist/tooltip/tooltip-provider.js +27 -0
- package/dist/tooltip/tooltip-provider.js.map +1 -0
- package/dist/tooltip/tooltip-store.d.ts +30 -0
- package/dist/tooltip/tooltip-store.d.ts.map +1 -0
- package/dist/tooltip/tooltip-store.js +30 -0
- package/dist/tooltip/tooltip-store.js.map +1 -0
- package/dist/tooltip/tooltip.d.ts +61 -0
- package/dist/tooltip/tooltip.d.ts.map +1 -0
- package/dist/tooltip/tooltip.js +81 -0
- package/dist/tooltip/tooltip.js.map +1 -0
- package/dist/utils-DUF1aMov.d.ts +5 -0
- package/dist/utils-DUF1aMov.d.ts.map +1 -0
- package/dist/visually-hidden/visually-hidden.d.ts +37 -0
- package/dist/visually-hidden/visually-hidden.d.ts.map +1 -0
- package/dist/visually-hidden/visually-hidden.js +53 -0
- package/dist/visually-hidden/visually-hidden.js.map +1 -0
- package/license +21 -0
- package/package.json +936 -0
- package/readme.md +19 -0
- package/src/button/button.tsx +76 -0
- package/src/checkbox/checkbox-check.tsx +116 -0
- package/src/checkbox/checkbox-checked-context.tsx +3 -0
- package/src/checkbox/checkbox-context.tsx +27 -0
- package/src/checkbox/checkbox-provider.tsx +53 -0
- package/src/checkbox/checkbox-store.ts +76 -0
- package/src/checkbox/checkbox.tsx +271 -0
- package/src/collection/collection-context.tsx +27 -0
- package/src/collection/collection-item-offscreen.tsx +157 -0
- package/src/collection/collection-item.tsx +136 -0
- package/src/collection/collection-provider.tsx +47 -0
- package/src/collection/collection-renderer.tsx +994 -0
- package/src/collection/collection-store.ts +84 -0
- package/src/collection/collection.tsx +93 -0
- package/src/combobox/combobox-cancel.tsx +153 -0
- package/src/combobox/combobox-context.tsx +49 -0
- package/src/combobox/combobox-disclosure.tsx +162 -0
- package/src/combobox/combobox-group-label.tsx +74 -0
- package/src/combobox/combobox-group.tsx +100 -0
- package/src/combobox/combobox-item-check.tsx +83 -0
- package/src/combobox/combobox-item-offscreen.tsx +87 -0
- package/src/combobox/combobox-item-value.tsx +231 -0
- package/src/combobox/combobox-item.tsx +363 -0
- package/src/combobox/combobox-label.tsx +89 -0
- package/src/combobox/combobox-list.tsx +176 -0
- package/src/combobox/combobox-popover.tsx +179 -0
- package/src/combobox/combobox-provider.tsx +50 -0
- package/src/combobox/combobox-row.tsx +102 -0
- package/src/combobox/combobox-separator.tsx +90 -0
- package/src/combobox/combobox-store.ts +168 -0
- package/src/combobox/combobox-value.tsx +63 -0
- package/src/combobox/combobox.tsx +900 -0
- package/src/command/command.tsx +215 -0
- package/src/composite/composite-container.tsx +278 -0
- package/src/composite/composite-context.tsx +53 -0
- package/src/composite/composite-group-label.tsx +73 -0
- package/src/composite/composite-group.tsx +77 -0
- package/src/composite/composite-hover.tsx +230 -0
- package/src/composite/composite-input.tsx +147 -0
- package/src/composite/composite-item-offscreen.tsx +112 -0
- package/src/composite/composite-item.tsx +567 -0
- package/src/composite/composite-overflow-disclosure.ts +117 -0
- package/src/composite/composite-overflow-store.ts +61 -0
- package/src/composite/composite-overflow.tsx +123 -0
- package/src/composite/composite-provider.tsx +47 -0
- package/src/composite/composite-renderer.tsx +231 -0
- package/src/composite/composite-row.tsx +133 -0
- package/src/composite/composite-separator.tsx +96 -0
- package/src/composite/composite-store.ts +101 -0
- package/src/composite/composite-typeahead.tsx +246 -0
- package/src/composite/composite.tsx +592 -0
- package/src/composite/utils.ts +121 -0
- package/src/dialog/dialog-backdrop.tsx +71 -0
- package/src/dialog/dialog-context.tsx +43 -0
- package/src/dialog/dialog-description.tsx +86 -0
- package/src/dialog/dialog-disclosure.tsx +84 -0
- package/src/dialog/dialog-dismiss.tsx +113 -0
- package/src/dialog/dialog-heading.tsx +88 -0
- package/src/dialog/dialog-provider.tsx +28 -0
- package/src/dialog/dialog-store.ts +51 -0
- package/src/dialog/dialog.tsx +866 -0
- package/src/dialog/utils/disable-accessibility-tree-outside.ts +30 -0
- package/src/dialog/utils/disable-tree.ts +81 -0
- package/src/dialog/utils/is-backdrop.ts +12 -0
- package/src/dialog/utils/is-focus-trap.ts +11 -0
- package/src/dialog/utils/mark-tree-outside.ts +67 -0
- package/src/dialog/utils/orchestrate.ts +123 -0
- package/src/dialog/utils/prepend-hidden-dismiss.ts +35 -0
- package/src/dialog/utils/supports-inert.ts +5 -0
- package/src/dialog/utils/use-hide-on-interact-outside.ts +181 -0
- package/src/dialog/utils/use-nested-dialogs.tsx +55 -0
- package/src/dialog/utils/use-prevent-body-scroll.ts +86 -0
- package/src/dialog/utils/use-previous-mouse-down-ref.ts +19 -0
- package/src/dialog/utils/use-root-dialog.ts +49 -0
- package/src/dialog/utils/walk-tree-outside.ts +85 -0
- package/src/disclosure/disclosure-content.tsx +344 -0
- package/src/disclosure/disclosure-context.tsx +27 -0
- package/src/disclosure/disclosure-provider.tsx +29 -0
- package/src/disclosure/disclosure-store.ts +85 -0
- package/src/disclosure/disclosure.tsx +144 -0
- package/src/focus-trap/focus-trap-region.tsx +112 -0
- package/src/focus-trap/focus-trap.tsx +60 -0
- package/src/focusable/focusable-container.tsx +75 -0
- package/src/focusable/focusable-context.tsx +3 -0
- package/src/focusable/focusable.tsx +559 -0
- package/src/form/form-checkbox.tsx +106 -0
- package/src/form/form-context.tsx +34 -0
- package/src/form/form-control.tsx +227 -0
- package/src/form/form-description.tsx +142 -0
- package/src/form/form-error.tsx +156 -0
- package/src/form/form-field.tsx +94 -0
- package/src/form/form-group-label.tsx +79 -0
- package/src/form/form-group.tsx +79 -0
- package/src/form/form-input.tsx +104 -0
- package/src/form/form-label.tsx +192 -0
- package/src/form/form-provider.tsx +49 -0
- package/src/form/form-push.tsx +200 -0
- package/src/form/form-radio-group.tsx +93 -0
- package/src/form/form-radio.tsx +122 -0
- package/src/form/form-remove.tsx +198 -0
- package/src/form/form-reset.tsx +85 -0
- package/src/form/form-store.ts +195 -0
- package/src/form/form-submit.tsx +93 -0
- package/src/form/form.tsx +249 -0
- package/src/group/group-label-context.tsx +6 -0
- package/src/group/group-label.tsx +75 -0
- package/src/group/group.tsx +69 -0
- package/src/heading/heading-context.tsx +4 -0
- package/src/heading/heading-level.tsx +42 -0
- package/src/heading/heading.tsx +81 -0
- package/src/heading/utils.ts +1 -0
- package/src/hovercard/hovercard-anchor.tsx +195 -0
- package/src/hovercard/hovercard-arrow.tsx +74 -0
- package/src/hovercard/hovercard-context.tsx +34 -0
- package/src/hovercard/hovercard-description.tsx +69 -0
- package/src/hovercard/hovercard-disclosure.tsx +196 -0
- package/src/hovercard/hovercard-dismiss.tsx +70 -0
- package/src/hovercard/hovercard-heading.tsx +68 -0
- package/src/hovercard/hovercard-provider.tsx +29 -0
- package/src/hovercard/hovercard-store.ts +58 -0
- package/src/hovercard/hovercard.tsx +445 -0
- package/src/hovercard/utils/__tests__/polygon-test.ts +66 -0
- package/src/hovercard/utils/debug-polygon.ts +37 -0
- package/src/hovercard/utils/polygon.ts +96 -0
- package/src/index.ts +1 -0
- package/src/menu/menu-arrow.tsx +69 -0
- package/src/menu/menu-bar-provider.tsx +44 -0
- package/src/menu/menu-bar-store.ts +54 -0
- package/src/menu/menu-bar.tsx +84 -0
- package/src/menu/menu-button-arrow.tsx +85 -0
- package/src/menu/menu-button.tsx +338 -0
- package/src/menu/menu-context.tsx +76 -0
- package/src/menu/menu-description.tsx +67 -0
- package/src/menu/menu-dismiss.tsx +69 -0
- package/src/menu/menu-group-label.tsx +72 -0
- package/src/menu/menu-group.tsx +76 -0
- package/src/menu/menu-heading.tsx +67 -0
- package/src/menu/menu-item-check.tsx +79 -0
- package/src/menu/menu-item-checkbox.tsx +227 -0
- package/src/menu/menu-item-radio.tsx +198 -0
- package/src/menu/menu-item.tsx +223 -0
- package/src/menu/menu-list.tsx +230 -0
- package/src/menu/menu-provider.tsx +42 -0
- package/src/menu/menu-separator.tsx +79 -0
- package/src/menu/menu-store.ts +155 -0
- package/src/menu/menu.tsx +274 -0
- package/src/menubar/menubar-context.tsx +39 -0
- package/src/menubar/menubar-provider.tsx +43 -0
- package/src/menubar/menubar-store.ts +48 -0
- package/src/menubar/menubar.tsx +145 -0
- package/src/popover/popover-anchor.tsx +74 -0
- package/src/popover/popover-arrow-path.ts +21 -0
- package/src/popover/popover-arrow.tsx +228 -0
- package/src/popover/popover-context.tsx +34 -0
- package/src/popover/popover-description.tsx +69 -0
- package/src/popover/popover-disclosure-arrow.tsx +135 -0
- package/src/popover/popover-disclosure.tsx +101 -0
- package/src/popover/popover-dismiss.tsx +70 -0
- package/src/popover/popover-heading.tsx +68 -0
- package/src/popover/popover-provider.tsx +29 -0
- package/src/popover/popover-store.ts +53 -0
- package/src/popover/popover.tsx +649 -0
- package/src/portal/portal-context.tsx +19 -0
- package/src/portal/portal.tsx +493 -0
- package/src/radio/radio-context.tsx +34 -0
- package/src/radio/radio-group.tsx +103 -0
- package/src/radio/radio-provider.tsx +29 -0
- package/src/radio/radio-store.ts +64 -0
- package/src/radio/radio.tsx +242 -0
- package/src/role/role.tsx +88 -0
- package/src/select/select-arrow.tsx +80 -0
- package/src/select/select-context.tsx +46 -0
- package/src/select/select-dismiss.tsx +79 -0
- package/src/select/select-group-label.tsx +78 -0
- package/src/select/select-group.tsx +79 -0
- package/src/select/select-heading.tsx +98 -0
- package/src/select/select-item-check.tsx +80 -0
- package/src/select/select-item-offscreen.tsx +59 -0
- package/src/select/select-item.tsx +294 -0
- package/src/select/select-label.tsx +117 -0
- package/src/select/select-list.tsx +251 -0
- package/src/select/select-popover.tsx +67 -0
- package/src/select/select-provider.tsx +45 -0
- package/src/select/select-renderer.tsx +160 -0
- package/src/select/select-row.tsx +97 -0
- package/src/select/select-separator.tsx +80 -0
- package/src/select/select-store.ts +139 -0
- package/src/select/select-value.tsx +108 -0
- package/src/select/select.tsx +371 -0
- package/src/separator/separator.tsx +54 -0
- package/src/store.ts +1 -0
- package/src/tab/tab-context.tsx +34 -0
- package/src/tab/tab-list.tsx +120 -0
- package/src/tab/tab-panel.tsx +314 -0
- package/src/tab/tab-provider.tsx +30 -0
- package/src/tab/tab-store.ts +124 -0
- package/src/tab/tab.tsx +208 -0
- package/src/tag/tag-context.tsx +40 -0
- package/src/tag/tag-input.tsx +321 -0
- package/src/tag/tag-list-label.tsx +102 -0
- package/src/tag/tag-list.tsx +210 -0
- package/src/tag/tag-provider.tsx +38 -0
- package/src/tag/tag-remove.tsx +174 -0
- package/src/tag/tag-store.ts +72 -0
- package/src/tag/tag-value.tsx +63 -0
- package/src/tag/tag-values.tsx +74 -0
- package/src/tag/tag.tsx +199 -0
- package/src/tag/utils.ts +12 -0
- package/src/toolbar/toolbar-container.tsx +67 -0
- package/src/toolbar/toolbar-context.tsx +34 -0
- package/src/toolbar/toolbar-input.tsx +64 -0
- package/src/toolbar/toolbar-item.tsx +72 -0
- package/src/toolbar/toolbar-provider.tsx +32 -0
- package/src/toolbar/toolbar-separator.tsx +71 -0
- package/src/toolbar/toolbar-store.ts +52 -0
- package/src/toolbar/toolbar.tsx +119 -0
- package/src/tooltip/tooltip-anchor.tsx +210 -0
- package/src/tooltip/tooltip-arrow.tsx +84 -0
- package/src/tooltip/tooltip-context.tsx +34 -0
- package/src/tooltip/tooltip-provider.tsx +29 -0
- package/src/tooltip/tooltip-store.ts +53 -0
- package/src/tooltip/tooltip.tsx +153 -0
- package/src/visually-hidden/visually-hidden.tsx +67 -0
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
import { CheckboxCheckOptions } from "../checkbox/checkbox-check.js";
|
|
2
|
+
import { t as ComboboxStore } from "../combobox-store-DEVQ45mZ.js";
|
|
3
|
+
import { Props } from "@ariakit/react-utils";
|
|
4
|
+
import { ElementType } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/combobox/combobox-item-check.d.ts
|
|
7
|
+
declare const TagName = "span";
|
|
8
|
+
type TagName = typeof TagName;
|
|
9
|
+
/**
|
|
10
|
+
* Returns props to create a `ComboboxItemCheck` component. This hook must be
|
|
11
|
+
* used in a component that's wrapped with `ComboboxItem` or the `checked` prop
|
|
12
|
+
* must be explicitly passed to the component.
|
|
13
|
+
* @see https://ariakit.com/components/combobox
|
|
14
|
+
* @example
|
|
15
|
+
* ```jsx
|
|
16
|
+
* const props = useComboboxItemCheck({ checked: true });
|
|
17
|
+
* <Role {...props} />
|
|
18
|
+
* ```
|
|
19
|
+
*/
|
|
20
|
+
declare const useComboboxItemCheck: import("@ariakit/react-utils").Hook<"span", ComboboxItemCheckOptions<"span">>;
|
|
21
|
+
/**
|
|
22
|
+
* Renders a checkmark icon when the
|
|
23
|
+
* [`checked`](https://ariakit.com/reference/combobox-item-check#checked) prop
|
|
24
|
+
* is `true`. The icon can be overridden by providing a different one as
|
|
25
|
+
* children.
|
|
26
|
+
*
|
|
27
|
+
* When rendered inside a
|
|
28
|
+
* [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component, the
|
|
29
|
+
* [`checked`](https://ariakit.com/reference/combobox-item-check#checked) prop
|
|
30
|
+
* is automatically derived from the context.
|
|
31
|
+
* @see https://ariakit.com/components/combobox
|
|
32
|
+
* @example
|
|
33
|
+
* ```jsx {5,9}
|
|
34
|
+
* <ComboboxProvider>
|
|
35
|
+
* <Combobox />
|
|
36
|
+
* <ComboboxPopover>
|
|
37
|
+
* <ComboboxItem value="Apple">
|
|
38
|
+
* <ComboboxItemCheck />
|
|
39
|
+
* Apple
|
|
40
|
+
* </ComboboxItem>
|
|
41
|
+
* <ComboboxItem value="Orange">
|
|
42
|
+
* <ComboboxItemCheck />
|
|
43
|
+
* Orange
|
|
44
|
+
* </ComboboxItem>
|
|
45
|
+
* </ComboboxPopover>
|
|
46
|
+
* </ComboboxProvider>
|
|
47
|
+
* ```
|
|
48
|
+
*/
|
|
49
|
+
declare const ComboboxItemCheck: (props: ComboboxItemCheckProps) => import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
50
|
+
interface ComboboxItemCheckOptions<T extends ElementType = TagName> extends CheckboxCheckOptions<T> {
|
|
51
|
+
/**
|
|
52
|
+
* Object returned by the
|
|
53
|
+
* [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store)
|
|
54
|
+
* hook.
|
|
55
|
+
*/
|
|
56
|
+
store?: ComboboxStore;
|
|
57
|
+
}
|
|
58
|
+
type ComboboxItemCheckProps<T extends ElementType = TagName> = Props<T, ComboboxItemCheckOptions<T>>;
|
|
59
|
+
//#endregion
|
|
60
|
+
export { ComboboxItemCheck, ComboboxItemCheckOptions, ComboboxItemCheckProps, useComboboxItemCheck };
|
|
61
|
+
//# sourceMappingURL=combobox-item-check.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-check.d.ts","names":["Props","ElementType","CheckboxCheckOptions","ComboboxStore","TagName","useComboboxItemCheck","ComboboxItemCheckOptions","Hook","ComboboxItemCheck","ComboboxItemCheckProps","props","ReactElement","JSXElementConstructor","T","store"],"sources":["../../src/combobox/combobox-item-check.d.ts"],"mappings":";;;;;;cAIcI,OAAAA;AAAAA,KACTA,OAAAA,UAAiBA,OAAO;AAF4B;;;;AACpC;AAAA;;;;AACQ;AAY7B;AAdyD,cAcpCC,oBAAAA,iCAAqDE,IAAAA,SAAaD,wBAAwB;;;AAAA;AA6B/G;;;;;;;;;AAA2J;AAC3J;;;;;;;;;;;;;;;cADqBE,iBAAAA,GAAoBE,KAAAA,EAAOD,sBAAsB,qBAAqBE,YAAAA,+BAA2CC,qBAAAA;AAAAA,UACrHN,wBAAAA,WAAmCL,WAAAA,GAAcG,OAAAA,UAAiBF,oBAAAA,CAAqBW,CAAAA;EAM/E;AAAA;AAEzB;;;EAFIC,KAAAA,GAAQX,aAAAA;AAAAA;AAAAA,KAEAM,sBAAAA,WAAiCR,WAAAA,GAAcG,OAAAA,IAAWJ,KAAAA,CAAMa,CAAAA,EAAGP,wBAAAA,CAAyBO,CAAAA"}
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { useCheckboxCheck } from "../checkbox/checkbox-check.js";
|
|
3
|
+
import { ComboboxItemCheckedContext } from "./combobox-context.js";
|
|
4
|
+
import { createElement, createHook, forwardRef } from "@ariakit/react-utils";
|
|
5
|
+
import { useContext } from "react";
|
|
6
|
+
//#region src/combobox/combobox-item-check.tsx
|
|
7
|
+
const TagName = "span";
|
|
8
|
+
/**
|
|
9
|
+
* Returns props to create a `ComboboxItemCheck` component. This hook must be
|
|
10
|
+
* used in a component that's wrapped with `ComboboxItem` or the `checked` prop
|
|
11
|
+
* must be explicitly passed to the component.
|
|
12
|
+
* @see https://ariakit.com/components/combobox
|
|
13
|
+
* @example
|
|
14
|
+
* ```jsx
|
|
15
|
+
* const props = useComboboxItemCheck({ checked: true });
|
|
16
|
+
* <Role {...props} />
|
|
17
|
+
* ```
|
|
18
|
+
*/
|
|
19
|
+
const useComboboxItemCheck = createHook(function useComboboxItemCheck({ store, checked, ...props }) {
|
|
20
|
+
const context = useContext(ComboboxItemCheckedContext);
|
|
21
|
+
checked = checked ?? context;
|
|
22
|
+
props = useCheckboxCheck({
|
|
23
|
+
...props,
|
|
24
|
+
checked
|
|
25
|
+
});
|
|
26
|
+
return props;
|
|
27
|
+
});
|
|
28
|
+
/**
|
|
29
|
+
* Renders a checkmark icon when the
|
|
30
|
+
* [`checked`](https://ariakit.com/reference/combobox-item-check#checked) prop
|
|
31
|
+
* is `true`. The icon can be overridden by providing a different one as
|
|
32
|
+
* children.
|
|
33
|
+
*
|
|
34
|
+
* When rendered inside a
|
|
35
|
+
* [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component, the
|
|
36
|
+
* [`checked`](https://ariakit.com/reference/combobox-item-check#checked) prop
|
|
37
|
+
* is automatically derived from the context.
|
|
38
|
+
* @see https://ariakit.com/components/combobox
|
|
39
|
+
* @example
|
|
40
|
+
* ```jsx {5,9}
|
|
41
|
+
* <ComboboxProvider>
|
|
42
|
+
* <Combobox />
|
|
43
|
+
* <ComboboxPopover>
|
|
44
|
+
* <ComboboxItem value="Apple">
|
|
45
|
+
* <ComboboxItemCheck />
|
|
46
|
+
* Apple
|
|
47
|
+
* </ComboboxItem>
|
|
48
|
+
* <ComboboxItem value="Orange">
|
|
49
|
+
* <ComboboxItemCheck />
|
|
50
|
+
* Orange
|
|
51
|
+
* </ComboboxItem>
|
|
52
|
+
* </ComboboxPopover>
|
|
53
|
+
* </ComboboxProvider>
|
|
54
|
+
* ```
|
|
55
|
+
*/
|
|
56
|
+
const ComboboxItemCheck = forwardRef(function ComboboxItemCheck(props) {
|
|
57
|
+
return createElement(TagName, useComboboxItemCheck(props));
|
|
58
|
+
});
|
|
59
|
+
//#endregion
|
|
60
|
+
export { ComboboxItemCheck, useComboboxItemCheck };
|
|
61
|
+
|
|
62
|
+
//# sourceMappingURL=combobox-item-check.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-check.js","names":[],"sources":["../../src/combobox/combobox-item-check.tsx"],"sourcesContent":["import { createElement, createHook, forwardRef } from \"@ariakit/react-utils\";\nimport type { Props } from \"@ariakit/react-utils\";\nimport type { ElementType } from \"react\";\nimport { useContext } from \"react\";\nimport type { CheckboxCheckOptions } from \"../checkbox/checkbox-check.tsx\";\nimport { useCheckboxCheck } from \"../checkbox/checkbox-check.tsx\";\nimport { ComboboxItemCheckedContext } from \"./combobox-context.tsx\";\nimport type { ComboboxStore } from \"./combobox-store.ts\";\n\nconst TagName = \"span\" satisfies ElementType;\ntype TagName = typeof TagName;\n\n/**\n * Returns props to create a `ComboboxItemCheck` component. This hook must be\n * used in a component that's wrapped with `ComboboxItem` or the `checked` prop\n * must be explicitly passed to the component.\n * @see https://ariakit.com/components/combobox\n * @example\n * ```jsx\n * const props = useComboboxItemCheck({ checked: true });\n * <Role {...props} />\n * ```\n */\nexport const useComboboxItemCheck = createHook<\n TagName,\n ComboboxItemCheckOptions\n>(function useComboboxItemCheck({ store, checked, ...props }) {\n const context = useContext(ComboboxItemCheckedContext);\n checked = checked ?? context;\n props = useCheckboxCheck({ ...props, checked });\n return props;\n});\n\n/**\n * Renders a checkmark icon when the\n * [`checked`](https://ariakit.com/reference/combobox-item-check#checked) prop\n * is `true`. The icon can be overridden by providing a different one as\n * children.\n *\n * When rendered inside a\n * [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component, the\n * [`checked`](https://ariakit.com/reference/combobox-item-check#checked) prop\n * is automatically derived from the context.\n * @see https://ariakit.com/components/combobox\n * @example\n * ```jsx {5,9}\n * <ComboboxProvider>\n * <Combobox />\n * <ComboboxPopover>\n * <ComboboxItem value=\"Apple\">\n * <ComboboxItemCheck />\n * Apple\n * </ComboboxItem>\n * <ComboboxItem value=\"Orange\">\n * <ComboboxItemCheck />\n * Orange\n * </ComboboxItem>\n * </ComboboxPopover>\n * </ComboboxProvider>\n * ```\n */\nexport const ComboboxItemCheck = forwardRef(function ComboboxItemCheck(\n props: ComboboxItemCheckProps,\n) {\n const htmlProps = useComboboxItemCheck(props);\n return createElement(TagName, htmlProps);\n});\n\nexport interface ComboboxItemCheckOptions<\n T extends ElementType = TagName,\n> extends CheckboxCheckOptions<T> {\n /**\n * Object returned by the\n * [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store)\n * hook.\n */\n store?: ComboboxStore;\n}\n\nexport type ComboboxItemCheckProps<T extends ElementType = TagName> = Props<\n T,\n ComboboxItemCheckOptions<T>\n>;\n"],"mappings":";;;;;;;;;;;;;;;;;;MA2BE,uBAA2B,WAAA,SAAA,qBAA0B,EAAA,OAAA,SAAA,GAAA,SAAA;CACrD,MAAA,UAAU,WAAW,0BAAA;CACrB,UAAQ,WAAA;SAAsB,iBAAA;EAAO,GAAA;EAAS;CAC9C,CAAA;CACD,OAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAkCC,oBAAqB,WADH,SAAA,kBACqB,OAAA;CACxC,OAAA,cAAA,SAAA,qBAAA,KAAA,CAAA"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { CompositeItemOptions } from "../composite/composite-item-offscreen.js";
|
|
2
|
+
import { ComboboxItemOptions as ComboboxItemOptions$1 } from "./combobox-item.js";
|
|
3
|
+
import { Props } from "@ariakit/react-utils";
|
|
4
|
+
import { ElementType } from "react";
|
|
5
|
+
|
|
6
|
+
//#region src/combobox/combobox-item-offscreen.d.ts
|
|
7
|
+
declare const TagName = "div";
|
|
8
|
+
type TagName = typeof TagName;
|
|
9
|
+
declare function useComboboxItemOffscreen<T extends ElementType, P extends ComboboxItemProps<T>>({
|
|
10
|
+
store,
|
|
11
|
+
value,
|
|
12
|
+
...props
|
|
13
|
+
}: P): {
|
|
14
|
+
id: string | undefined;
|
|
15
|
+
active: boolean;
|
|
16
|
+
ref: import("react").RefCallback<HTMLDivElement>;
|
|
17
|
+
"data-offscreen": true | undefined;
|
|
18
|
+
} | {
|
|
19
|
+
role: string;
|
|
20
|
+
id: string | undefined;
|
|
21
|
+
active: boolean;
|
|
22
|
+
ref: import("react").RefCallback<HTMLDivElement>;
|
|
23
|
+
"data-offscreen": true | undefined;
|
|
24
|
+
};
|
|
25
|
+
declare const ComboboxItem: ({
|
|
26
|
+
offscreenMode,
|
|
27
|
+
offscreenRoot,
|
|
28
|
+
...props
|
|
29
|
+
}: ComboboxItemProps) => import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
interface ComboboxItemOptions<T extends ElementType = TagName> extends ComboboxItemOptions$1<T>, Omit<CompositeItemOptions<T>, "store"> {}
|
|
31
|
+
type ComboboxItemProps<T extends ElementType = TagName> = Props<T, ComboboxItemOptions<T>>;
|
|
32
|
+
//#endregion
|
|
33
|
+
export { ComboboxItem, ComboboxItemOptions, ComboboxItemProps, useComboboxItemOffscreen };
|
|
34
|
+
//# sourceMappingURL=combobox-item-offscreen.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-offscreen.d.ts","names":["Props","ElementType","CompositeItemOptions","Base","TagName","useComboboxItemOffscreen","T","P","ComboboxItemProps","store","value","HTMLDivElement","props","id","active","ref","RefCallback","role","ComboboxItem","offscreenMode","offscreenRoot","JSX","Element","ComboboxItemOptions","Omit"],"sources":["../../src/combobox/combobox-item-offscreen.d.ts"],"mappings":";;;;;;cAIcI,OAAAA;AAAAA,KACTA,OAAAA,UAAiBA,OAAO;AAAA,iBACLC,wBAAAA,WAAmCJ,WAAAA,YAAuBO,iBAAAA,CAAkBF,CAAAA,EAAAA,CAAAA;EAAMG,KAAAA;EAAOC,KAAAA;EAAAA,GAAUE;AAAAA,GAASL,CAAAA;EAChIM,EAAAA;EACAC,MAAAA;EACAC,GAAAA,kBAAqBC,WAAAA,CAAYL,cAAAA;EACjC,gBAAA;AAAA;EAEAM,IAAAA;EACAJ,EAAAA;EACAC,MAAAA;EACAC,GAAAA,kBAAqBC,WAAAA,CAAYL,cAAAA;EACjC,gBAAA;AAAA;AAAA,cAEiBO,YAAAA;EAAiBC,aAAAA;EAAeC,aAAAA;EAAAA,GAAkBR;AAAAA,GAASJ,iBAAAA,iCAAkDa,GAAAA,CAAIC,OAAAA;AAAAA,UACrHC,mBAAAA,WAA8BtB,WAAAA,GAAcG,OAAAA,UAAiBD,qBAAAA,CAAyBG,CAAAA,GAAIkB,IAAAA,CAAKtB,oBAAAA,CAAqBI,CAAAA;AAAAA,KAEzHE,iBAAAA,WAA4BP,WAAAA,GAAcG,OAAAA,IAAWJ,KAAAA,CAAMM,CAAAA,EAAGiB,mBAAAA,CAAoBjB,CAAAA"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Role } from "../role/role.js";
|
|
3
|
+
import { ComboboxListRoleContext, useComboboxScopedContext } from "./combobox-context.js";
|
|
4
|
+
import { useCompositeItemOffscreen } from "../composite/composite-item-offscreen.js";
|
|
5
|
+
import { ComboboxItem as ComboboxItem$1 } from "./combobox-item.js";
|
|
6
|
+
import { forwardRef, useMergeRefs } from "@ariakit/react-utils";
|
|
7
|
+
import { useContext } from "react";
|
|
8
|
+
import { jsx } from "react/jsx-runtime";
|
|
9
|
+
//#region src/combobox/combobox-item-offscreen.tsx
|
|
10
|
+
const TagName = "div";
|
|
11
|
+
const itemRoleByPopupRole = {
|
|
12
|
+
menu: "menuitem",
|
|
13
|
+
listbox: "option",
|
|
14
|
+
tree: "treeitem"
|
|
15
|
+
};
|
|
16
|
+
function getItemRole(popupRole) {
|
|
17
|
+
return itemRoleByPopupRole[popupRole] ?? "option";
|
|
18
|
+
}
|
|
19
|
+
function useComboboxItemOffscreen({ store, value, ...props }) {
|
|
20
|
+
const context = useComboboxScopedContext();
|
|
21
|
+
store = store || context;
|
|
22
|
+
const offscreenProps = useCompositeItemOffscreen({
|
|
23
|
+
store,
|
|
24
|
+
value,
|
|
25
|
+
...props
|
|
26
|
+
});
|
|
27
|
+
const popupRole = useContext(ComboboxListRoleContext);
|
|
28
|
+
if (!offscreenProps.active) return {
|
|
29
|
+
...offscreenProps,
|
|
30
|
+
role: getItemRole(popupRole)
|
|
31
|
+
};
|
|
32
|
+
return offscreenProps;
|
|
33
|
+
}
|
|
34
|
+
const ComboboxItem = forwardRef(function ComboboxItem({ offscreenMode, offscreenRoot, ...props }) {
|
|
35
|
+
const { active, ref, ...rest } = useComboboxItemOffscreen({
|
|
36
|
+
offscreenMode,
|
|
37
|
+
offscreenRoot,
|
|
38
|
+
...props
|
|
39
|
+
});
|
|
40
|
+
const allProps = {
|
|
41
|
+
...rest,
|
|
42
|
+
...props,
|
|
43
|
+
ref: useMergeRefs(ref, props.ref)
|
|
44
|
+
};
|
|
45
|
+
if (active) return /* @__PURE__ */ jsx(ComboboxItem$1, { ...allProps });
|
|
46
|
+
const { store, value, hideOnClick, setValueOnClick, selectValueOnClick, resetValueOnSelect, focusOnHover, blurOnHoverEnd, moveOnKeyPress, getItem, ...htmlProps } = allProps;
|
|
47
|
+
const Component = Role[TagName];
|
|
48
|
+
return /* @__PURE__ */ jsx(Component, { ...htmlProps });
|
|
49
|
+
});
|
|
50
|
+
//#endregion
|
|
51
|
+
export { ComboboxItem, useComboboxItemOffscreen };
|
|
52
|
+
|
|
53
|
+
//# sourceMappingURL=combobox-item-offscreen.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-offscreen.js","names":["key","Base.ComboboxItem"],"sources":["../../src/combobox/combobox-item-offscreen.tsx"],"sourcesContent":["import { useMergeRefs, forwardRef } from \"@ariakit/react-utils\";\nimport type { Props } from \"@ariakit/react-utils\";\nimport type { ElementType } from \"react\";\nimport { useContext } from \"react\";\nimport type { CompositeItemOptions } from \"../composite/composite-item-offscreen.tsx\";\nimport { useCompositeItemOffscreen } from \"../composite/composite-item-offscreen.tsx\";\nimport { Role } from \"../role/role.tsx\";\nimport {\n ComboboxListRoleContext,\n useComboboxScopedContext,\n} from \"./combobox-context.tsx\";\nimport * as Base from \"./combobox-item.tsx\";\n\nconst TagName = \"div\" satisfies ElementType;\ntype TagName = typeof TagName;\n\nconst itemRoleByPopupRole = {\n menu: \"menuitem\",\n listbox: \"option\",\n tree: \"treeitem\",\n};\n\nfunction getItemRole(popupRole?: string) {\n const key = popupRole as keyof typeof itemRoleByPopupRole;\n return itemRoleByPopupRole[key] ?? \"option\";\n}\n\nexport function useComboboxItemOffscreen<\n T extends ElementType,\n // oxlint-disable-next-line no-unnecessary-type-parameters\n P extends ComboboxItemProps<T>,\n>({ store, value, ...props }: P) {\n const context = useComboboxScopedContext();\n store = store || context;\n\n const offscreenProps = useCompositeItemOffscreen({ store, value, ...props });\n const popupRole = useContext(ComboboxListRoleContext);\n\n if (!offscreenProps.active) {\n return {\n ...offscreenProps,\n role: getItemRole(popupRole),\n };\n }\n\n return offscreenProps;\n}\n\nexport const ComboboxItem = forwardRef(function ComboboxItem({\n offscreenMode,\n offscreenRoot,\n ...props\n}: ComboboxItemProps) {\n const { active, ref, ...rest } = useComboboxItemOffscreen({\n offscreenMode,\n offscreenRoot,\n ...props,\n });\n const allProps = { ...rest, ...props, ref: useMergeRefs(ref, props.ref) };\n if (active) {\n return <Base.ComboboxItem {...allProps} />;\n }\n // Remove ComboboxItem props\n const {\n store,\n value,\n hideOnClick,\n setValueOnClick,\n selectValueOnClick,\n resetValueOnSelect,\n focusOnHover,\n blurOnHoverEnd,\n moveOnKeyPress,\n getItem,\n ...htmlProps\n } = allProps;\n const Component = Role[TagName];\n return <Component {...htmlProps} />;\n});\n\nexport interface ComboboxItemOptions<T extends ElementType = TagName>\n extends Base.ComboboxItemOptions<T>, Omit<CompositeItemOptions<T>, \"store\"> {}\n\nexport type ComboboxItemProps<T extends ElementType = TagName> = Props<\n T,\n ComboboxItemOptions<T>\n>;\n"],"mappings":";;;;;;;;;AAgBA,MAAM,UAAA;MACJ,sBAAM;CACN,MAAA;CACA,SAAM;CACR,MAAA;AAEA;SAES,YAAA,WAAoBA;CAC7B,OAAA,oBAAA,cAAA;AAEA;SAKQ,yBAAU,EAAA,OAAyB,OAAA,GAAA,SAAA;CACzC,MAAA,UAAQ,yBAAS;CAEjB,QAAM,SAAA;OAA6C,iBAAA,0BAAA;EAAO;EAAO;EAAU,GAAA;CAC3E,CAAA;CAEA,MAAK,YAAA,WACH,uBAAO;KACF,CAAA,eAAA,QAAA,OAAA;EACH,GAAA;EACF,MAAA,YAAA,SAAA;CAGF;CACF,OAAA;AAEA;MAKE,eAAgB,WAAQ,SAAS,aAAA,EAAA,eAAyB,eAAA,GAAA,SAAA;OACxD,EAAA,QAAA,KAAA,GAAA,SAAA,yBAAA;EACA;EACA;EACD,GAAA;CACD,CAAA;OAAsB,WAAA;EAAM,GAAG;EAAO,GAAA;EAAkC,KAAA,aAAA,KAAA,MAAA,GAAA;CACxE;CAIA,IAAA,QACE,OAGA,oBAAA,gBACA,EAAA,GAAA,SAAA,CAAA;CAQF,MAAM,EAAA,OAAA,OAAY,aAAK,iBAAA,oBAAA,oBAAA,cAAA,gBAAA,gBAAA,SAAA,GAAA,cAAA;CACvB,MAAA,YAAO,KAAA;CACR,OAAA,oBAAA,WAAA,EAAA,GAAA,UAAA,CAAA"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { t as ComboboxStore } from "../combobox-store-DEVQ45mZ.js";
|
|
2
|
+
import { Options, Props } from "@ariakit/react-utils";
|
|
3
|
+
import { ElementType, ReactElement } from "react";
|
|
4
|
+
|
|
5
|
+
//#region src/combobox/combobox-item-value.d.ts
|
|
6
|
+
declare const TagName = "span";
|
|
7
|
+
type TagName = typeof TagName;
|
|
8
|
+
/**
|
|
9
|
+
* Returns props to create a `ComboboxItemValue` component that displays a value
|
|
10
|
+
* element inside a combobox item. The value will be split into span elements
|
|
11
|
+
* and returned as the children prop. The portions of the value that correspond
|
|
12
|
+
* to the store value will have a `data-user-value` attribute. The other
|
|
13
|
+
* portions will have a `data-autocomplete-value` attribute.
|
|
14
|
+
* @see https://ariakit.com/components/combobox
|
|
15
|
+
* @example
|
|
16
|
+
* ```jsx
|
|
17
|
+
* const store = useComboboxStore({ value: "p" });
|
|
18
|
+
* const props = useComboboxItemValue({ store, value: "Apple" });
|
|
19
|
+
* <Role {...props} />
|
|
20
|
+
* // This will result in the following DOM:
|
|
21
|
+
* <span>
|
|
22
|
+
* <span data-autocomplete-value>A</span>
|
|
23
|
+
* <span data-user-value>p</span>
|
|
24
|
+
* <span data-user-value>p</span>
|
|
25
|
+
* <span data-autocomplete-value>le</span>
|
|
26
|
+
* </span>
|
|
27
|
+
* ```
|
|
28
|
+
*/
|
|
29
|
+
declare const useComboboxItemValue: import("@ariakit/react-utils").Hook<"span", ComboboxItemValueOptions<"span">>;
|
|
30
|
+
/**
|
|
31
|
+
* Renders a `span` element with the combobox item value as children. The value
|
|
32
|
+
* is split into span elements. Portions of the value matching the user input
|
|
33
|
+
* will have a
|
|
34
|
+
* [`data-user-value`](https://ariakit.com/guide/styling#data-user-value)
|
|
35
|
+
* attribute, while the rest will have a
|
|
36
|
+
* [`data-autocomplete-value`](https://ariakit.com/guide/styling#data-autocomplete-value)
|
|
37
|
+
* attribute.
|
|
38
|
+
*
|
|
39
|
+
* The item value is automatically set to the value of the closest
|
|
40
|
+
* [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component's
|
|
41
|
+
* [`value`](https://ariakit.com/reference/combobox-item#value) prop. The user
|
|
42
|
+
* input value is automatically set to the combobox store's
|
|
43
|
+
* [`value`](https://ariakit.com/reference/use-combobox-store#value) state. Both
|
|
44
|
+
* values can be overridden by providing the
|
|
45
|
+
* [`value`](https://ariakit.com/reference/combobox-item-value#value) and
|
|
46
|
+
* [`userValue`](https://ariakit.com/reference/combobox-item-value#uservalue)
|
|
47
|
+
* props, respectively.
|
|
48
|
+
* @see https://ariakit.com/components/combobox
|
|
49
|
+
* @example
|
|
50
|
+
* ```jsx {5} "value"
|
|
51
|
+
* <ComboboxProvider value="p">
|
|
52
|
+
* <Combobox />
|
|
53
|
+
* <ComboboxPopover>
|
|
54
|
+
* <ComboboxItem value="Apple">
|
|
55
|
+
* <ComboboxItemValue />
|
|
56
|
+
* </ComboboxItem>
|
|
57
|
+
* </ComboboxPopover>
|
|
58
|
+
* </ComboboxProvider>
|
|
59
|
+
*
|
|
60
|
+
* // The Apple item will have a value element that looks like this:
|
|
61
|
+
* <span>
|
|
62
|
+
* <span data-autocomplete-value>A</span>
|
|
63
|
+
* <span data-user-value>p</span>
|
|
64
|
+
* <span data-user-value>p</span>
|
|
65
|
+
* <span data-autocomplete-value>le</span>
|
|
66
|
+
* </span>
|
|
67
|
+
* ```
|
|
68
|
+
*/
|
|
69
|
+
declare const ComboboxItemValue: (props: ComboboxItemValueProps) => ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
70
|
+
interface ComboboxItemValueOptions<_T extends ElementType = TagName> extends Options {
|
|
71
|
+
/**
|
|
72
|
+
* Object returned by the
|
|
73
|
+
* [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store)
|
|
74
|
+
* hook. If not provided, the closest
|
|
75
|
+
* [`ComboboxList`](https://ariakit.com/reference/combobox-list) or
|
|
76
|
+
* [`ComboboxPopover`](https://ariakit.com/reference/combobox-popover)
|
|
77
|
+
* components' context will be used.
|
|
78
|
+
*/
|
|
79
|
+
store?: ComboboxStore;
|
|
80
|
+
/**
|
|
81
|
+
* The current combobox item value. If not provided, the parent
|
|
82
|
+
* [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component's
|
|
83
|
+
* [`value`](https://ariakit.com/reference/combobox-item#value) prop will be
|
|
84
|
+
* used.
|
|
85
|
+
*
|
|
86
|
+
* This is the value rendered by the component. It can be customized to
|
|
87
|
+
* display different children.
|
|
88
|
+
*/
|
|
89
|
+
value?: string;
|
|
90
|
+
/**
|
|
91
|
+
* The current user input value. If not provided, the combobox store's
|
|
92
|
+
* [`value`](https://ariakit.com/reference/use-combobox-store#value) state
|
|
93
|
+
* will be used.
|
|
94
|
+
*
|
|
95
|
+
* This is the value used to highlight the matching portions of the item
|
|
96
|
+
* value. It can be customized to highlight different portions.
|
|
97
|
+
*/
|
|
98
|
+
userValue?: string | string[];
|
|
99
|
+
}
|
|
100
|
+
type ComboboxItemValueProps<T extends ElementType = TagName> = Props<T, ComboboxItemValueOptions<T>>;
|
|
101
|
+
//#endregion
|
|
102
|
+
export { ComboboxItemValue, ComboboxItemValueOptions, ComboboxItemValueProps, useComboboxItemValue };
|
|
103
|
+
//# sourceMappingURL=combobox-item-value.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-value.d.ts","names":["Options","Props","ElementType","ReactElement","ComboboxStore","TagName","useComboboxItemValue","ComboboxItemValueOptions","Hook","ComboboxItemValue","ComboboxItemValueProps","props","JSXElementConstructor","_T","store","value","userValue","T"],"sources":["../../src/combobox/combobox-item-value.d.ts"],"mappings":";;;;;cAGcK,OAAAA;AAAAA,KACTA,OAAAA,UAAiBA,OAAO;AAF4B;;;;AACpC;AAAA;;;;AACQ;AAsB7B;;;;AAA+G;AAwC/G;;;;;;AAhEyD,cAwBpCC,oBAAAA,iCAAqDE,IAAAA,SAAaD,wBAAwB;;;AAwC4B;AAC3I;;;;;;;;;;;;;;;;;;AA4Ba;AAEb;;;;;;;;;;;;;;;;;cA/BqBE,iBAAAA,GAAoBE,KAAAA,EAAOD,sBAAAA,KAA2BP,YAAY,+BAA+BS,qBAAAA;AAAAA,UACrGL,wBAAAA,YAAoCL,WAAAA,GAAcG,OAAAA,UAAiBL,OAAAA;EA8BqB;;;;;;;;EArBrGc,KAAAA,GAAQV,aAAAA;;;;;;;;;;EAURW,KAAAA;;;;;;;;;EASAC,SAAAA;AAAAA;AAAAA,KAEQN,sBAAAA,WAAiCR,WAAAA,GAAcG,OAAAA,IAAWJ,KAAAA,CAAMgB,CAAAA,EAAGV,wBAAAA,CAAyBU,CAAAA"}
|
|
@@ -0,0 +1,143 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { ComboboxItemValueContext, useComboboxScopedContext } from "./combobox-context.js";
|
|
3
|
+
import { createElement, createHook, forwardRef } from "@ariakit/react-utils";
|
|
4
|
+
import { normalizeString, removeUndefinedValues, toArray } from "@ariakit/utils";
|
|
5
|
+
import { useContext, useMemo } from "react";
|
|
6
|
+
import { jsx } from "react/jsx-runtime";
|
|
7
|
+
import { useStoreState } from "@ariakit/react-store";
|
|
8
|
+
//#region src/combobox/combobox-item-value.tsx
|
|
9
|
+
const TagName = "span";
|
|
10
|
+
function normalizeValue(value) {
|
|
11
|
+
return normalizeString(value).toLowerCase();
|
|
12
|
+
}
|
|
13
|
+
function getOffsets(string, values) {
|
|
14
|
+
const offsets = [];
|
|
15
|
+
for (const value of values) {
|
|
16
|
+
let pos = 0;
|
|
17
|
+
const length = value.length;
|
|
18
|
+
while (string.indexOf(value, pos) !== -1) {
|
|
19
|
+
const index = string.indexOf(value, pos);
|
|
20
|
+
if (index !== -1) offsets.push([index, length]);
|
|
21
|
+
pos = index + 1;
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
return offsets;
|
|
25
|
+
}
|
|
26
|
+
function filterOverlappingOffsets(offsets) {
|
|
27
|
+
return offsets.filter(([offset, length], i, arr) => {
|
|
28
|
+
return !arr.some(([o, l], j) => j !== i && o <= offset && o + l >= offset + length);
|
|
29
|
+
});
|
|
30
|
+
}
|
|
31
|
+
function sortOffsets(offsets) {
|
|
32
|
+
return offsets.sort(([a], [b]) => a - b);
|
|
33
|
+
}
|
|
34
|
+
function splitValue(itemValue, userValue) {
|
|
35
|
+
if (!itemValue) return itemValue;
|
|
36
|
+
if (!userValue) return itemValue;
|
|
37
|
+
const userValues = toArray(userValue).filter(Boolean).map(normalizeValue);
|
|
38
|
+
const parts = [];
|
|
39
|
+
const span = (value, autocomplete = false) => /* @__PURE__ */ jsx("span", {
|
|
40
|
+
"data-autocomplete-value": autocomplete ? "" : void 0,
|
|
41
|
+
"data-user-value": autocomplete ? void 0 : "",
|
|
42
|
+
children: value
|
|
43
|
+
}, parts.length);
|
|
44
|
+
const offsets = sortOffsets(filterOverlappingOffsets(getOffsets(normalizeValue(itemValue), new Set(userValues))));
|
|
45
|
+
const firstEntry = offsets[0];
|
|
46
|
+
if (!firstEntry) {
|
|
47
|
+
parts.push(span(itemValue, true));
|
|
48
|
+
return parts;
|
|
49
|
+
}
|
|
50
|
+
const [firstOffset] = firstEntry;
|
|
51
|
+
[itemValue.slice(0, firstOffset), ...offsets.flatMap(([offset, length], i) => {
|
|
52
|
+
const value = itemValue.slice(offset, offset + length);
|
|
53
|
+
const nextOffset = offsets[i + 1]?.[0];
|
|
54
|
+
return [value, itemValue.slice(offset + length, nextOffset)];
|
|
55
|
+
})].forEach((value, i) => {
|
|
56
|
+
if (!value) return;
|
|
57
|
+
parts.push(span(value, i % 2 === 0));
|
|
58
|
+
});
|
|
59
|
+
return parts;
|
|
60
|
+
}
|
|
61
|
+
/**
|
|
62
|
+
* Returns props to create a `ComboboxItemValue` component that displays a value
|
|
63
|
+
* element inside a combobox item. The value will be split into span elements
|
|
64
|
+
* and returned as the children prop. The portions of the value that correspond
|
|
65
|
+
* to the store value will have a `data-user-value` attribute. The other
|
|
66
|
+
* portions will have a `data-autocomplete-value` attribute.
|
|
67
|
+
* @see https://ariakit.com/components/combobox
|
|
68
|
+
* @example
|
|
69
|
+
* ```jsx
|
|
70
|
+
* const store = useComboboxStore({ value: "p" });
|
|
71
|
+
* const props = useComboboxItemValue({ store, value: "Apple" });
|
|
72
|
+
* <Role {...props} />
|
|
73
|
+
* // This will result in the following DOM:
|
|
74
|
+
* <span>
|
|
75
|
+
* <span data-autocomplete-value>A</span>
|
|
76
|
+
* <span data-user-value>p</span>
|
|
77
|
+
* <span data-user-value>p</span>
|
|
78
|
+
* <span data-autocomplete-value>le</span>
|
|
79
|
+
* </span>
|
|
80
|
+
* ```
|
|
81
|
+
*/
|
|
82
|
+
const useComboboxItemValue = createHook(function useComboboxItemValue({ store, value, userValue, ...props }) {
|
|
83
|
+
const context = useComboboxScopedContext();
|
|
84
|
+
store = store || context;
|
|
85
|
+
const itemContext = useContext(ComboboxItemValueContext);
|
|
86
|
+
const itemValue = value ?? itemContext;
|
|
87
|
+
const inputValue = useStoreState(store, (state) => userValue ?? state?.value);
|
|
88
|
+
props = {
|
|
89
|
+
children: useMemo(() => {
|
|
90
|
+
if (!itemValue) return;
|
|
91
|
+
if (!inputValue) return itemValue;
|
|
92
|
+
return splitValue(itemValue, inputValue);
|
|
93
|
+
}, [itemValue, inputValue]),
|
|
94
|
+
...props
|
|
95
|
+
};
|
|
96
|
+
return removeUndefinedValues(props);
|
|
97
|
+
});
|
|
98
|
+
/**
|
|
99
|
+
* Renders a `span` element with the combobox item value as children. The value
|
|
100
|
+
* is split into span elements. Portions of the value matching the user input
|
|
101
|
+
* will have a
|
|
102
|
+
* [`data-user-value`](https://ariakit.com/guide/styling#data-user-value)
|
|
103
|
+
* attribute, while the rest will have a
|
|
104
|
+
* [`data-autocomplete-value`](https://ariakit.com/guide/styling#data-autocomplete-value)
|
|
105
|
+
* attribute.
|
|
106
|
+
*
|
|
107
|
+
* The item value is automatically set to the value of the closest
|
|
108
|
+
* [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component's
|
|
109
|
+
* [`value`](https://ariakit.com/reference/combobox-item#value) prop. The user
|
|
110
|
+
* input value is automatically set to the combobox store's
|
|
111
|
+
* [`value`](https://ariakit.com/reference/use-combobox-store#value) state. Both
|
|
112
|
+
* values can be overridden by providing the
|
|
113
|
+
* [`value`](https://ariakit.com/reference/combobox-item-value#value) and
|
|
114
|
+
* [`userValue`](https://ariakit.com/reference/combobox-item-value#uservalue)
|
|
115
|
+
* props, respectively.
|
|
116
|
+
* @see https://ariakit.com/components/combobox
|
|
117
|
+
* @example
|
|
118
|
+
* ```jsx {5} "value"
|
|
119
|
+
* <ComboboxProvider value="p">
|
|
120
|
+
* <Combobox />
|
|
121
|
+
* <ComboboxPopover>
|
|
122
|
+
* <ComboboxItem value="Apple">
|
|
123
|
+
* <ComboboxItemValue />
|
|
124
|
+
* </ComboboxItem>
|
|
125
|
+
* </ComboboxPopover>
|
|
126
|
+
* </ComboboxProvider>
|
|
127
|
+
*
|
|
128
|
+
* // The Apple item will have a value element that looks like this:
|
|
129
|
+
* <span>
|
|
130
|
+
* <span data-autocomplete-value>A</span>
|
|
131
|
+
* <span data-user-value>p</span>
|
|
132
|
+
* <span data-user-value>p</span>
|
|
133
|
+
* <span data-autocomplete-value>le</span>
|
|
134
|
+
* </span>
|
|
135
|
+
* ```
|
|
136
|
+
*/
|
|
137
|
+
const ComboboxItemValue = forwardRef(function ComboboxItemValue(props) {
|
|
138
|
+
return createElement(TagName, useComboboxItemValue(props));
|
|
139
|
+
});
|
|
140
|
+
//#endregion
|
|
141
|
+
export { ComboboxItemValue, useComboboxItemValue };
|
|
142
|
+
|
|
143
|
+
//# sourceMappingURL=combobox-item-value.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"combobox-item-value.js","names":[],"sources":["../../src/combobox/combobox-item-value.tsx"],"sourcesContent":["import { useStoreState } from \"@ariakit/react-store\";\nimport { createElement, createHook, forwardRef } from \"@ariakit/react-utils\";\nimport type { Options, Props } from \"@ariakit/react-utils\";\nimport {\n toArray,\n normalizeString,\n removeUndefinedValues,\n} from \"@ariakit/utils\";\nimport type { ElementType, ReactElement } from \"react\";\nimport { useContext, useMemo } from \"react\";\nimport {\n ComboboxItemValueContext,\n useComboboxScopedContext,\n} from \"./combobox-context.tsx\";\nimport type { ComboboxStore } from \"./combobox-store.ts\";\n\nconst TagName = \"span\" satisfies ElementType;\ntype TagName = typeof TagName;\n\nfunction normalizeValue(value: string) {\n return normalizeString(value).toLowerCase();\n}\n\nfunction getOffsets(string: string, values: Iterable<string>) {\n const offsets = [] as Array<[number, number]>;\n for (const value of values) {\n let pos = 0;\n const length = value.length;\n while (string.indexOf(value, pos) !== -1) {\n const index = string.indexOf(value, pos);\n if (index !== -1) {\n offsets.push([index, length]);\n }\n pos = index + 1;\n }\n }\n return offsets;\n}\n\nfunction filterOverlappingOffsets(offsets: Array<[number, number]>) {\n return offsets.filter(([offset, length], i, arr) => {\n return !arr.some(\n ([o, l], j) => j !== i && o <= offset && o + l >= offset + length,\n );\n });\n}\n\nfunction sortOffsets(offsets: Array<[number, number]>) {\n return offsets.sort(([a], [b]) => a - b);\n}\n\nfunction splitValue(itemValue?: string | null, userValue?: string | string[]) {\n if (!itemValue) return itemValue;\n if (!userValue) return itemValue;\n const userValues = toArray(userValue).filter(Boolean).map(normalizeValue);\n const parts: ReactElement[] = [];\n\n const span = (value: string, autocomplete = false) => (\n <span\n key={parts.length}\n data-autocomplete-value={autocomplete ? \"\" : undefined}\n data-user-value={autocomplete ? undefined : \"\"}\n >\n {value}\n </span>\n );\n\n const offsets = sortOffsets(\n filterOverlappingOffsets(\n // Convert userValues into a set to avoid duplicates\n getOffsets(normalizeValue(itemValue), new Set(userValues)),\n ),\n );\n\n const firstEntry = offsets[0];\n\n if (!firstEntry) {\n parts.push(span(itemValue, true));\n return parts;\n }\n\n const [firstOffset] = firstEntry;\n\n const values = [\n itemValue.slice(0, firstOffset),\n ...offsets.flatMap(([offset, length], i) => {\n const value = itemValue.slice(offset, offset + length);\n const nextOffset = offsets[i + 1]?.[0];\n const nextValue = itemValue.slice(offset + length, nextOffset);\n return [value, nextValue];\n }),\n ];\n\n values.forEach((value, i) => {\n if (!value) return;\n parts.push(span(value, i % 2 === 0));\n });\n\n return parts;\n}\n\n/**\n * Returns props to create a `ComboboxItemValue` component that displays a value\n * element inside a combobox item. The value will be split into span elements\n * and returned as the children prop. The portions of the value that correspond\n * to the store value will have a `data-user-value` attribute. The other\n * portions will have a `data-autocomplete-value` attribute.\n * @see https://ariakit.com/components/combobox\n * @example\n * ```jsx\n * const store = useComboboxStore({ value: \"p\" });\n * const props = useComboboxItemValue({ store, value: \"Apple\" });\n * <Role {...props} />\n * // This will result in the following DOM:\n * <span>\n * <span data-autocomplete-value>A</span>\n * <span data-user-value>p</span>\n * <span data-user-value>p</span>\n * <span data-autocomplete-value>le</span>\n * </span>\n * ```\n */\nexport const useComboboxItemValue = createHook<\n TagName,\n ComboboxItemValueOptions\n>(function useComboboxItemValue({ store, value, userValue, ...props }) {\n const context = useComboboxScopedContext();\n store = store || context;\n\n const itemContext = useContext(ComboboxItemValueContext);\n const itemValue = value ?? itemContext;\n\n const inputValue = useStoreState(store, (state) => userValue ?? state?.value);\n\n const children = useMemo(() => {\n if (!itemValue) return;\n if (!inputValue) return itemValue;\n return splitValue(itemValue, inputValue);\n }, [itemValue, inputValue]);\n\n props = {\n children,\n ...props,\n };\n\n return removeUndefinedValues(props);\n});\n\n/**\n * Renders a `span` element with the combobox item value as children. The value\n * is split into span elements. Portions of the value matching the user input\n * will have a\n * [`data-user-value`](https://ariakit.com/guide/styling#data-user-value)\n * attribute, while the rest will have a\n * [`data-autocomplete-value`](https://ariakit.com/guide/styling#data-autocomplete-value)\n * attribute.\n *\n * The item value is automatically set to the value of the closest\n * [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component's\n * [`value`](https://ariakit.com/reference/combobox-item#value) prop. The user\n * input value is automatically set to the combobox store's\n * [`value`](https://ariakit.com/reference/use-combobox-store#value) state. Both\n * values can be overridden by providing the\n * [`value`](https://ariakit.com/reference/combobox-item-value#value) and\n * [`userValue`](https://ariakit.com/reference/combobox-item-value#uservalue)\n * props, respectively.\n * @see https://ariakit.com/components/combobox\n * @example\n * ```jsx {5} \"value\"\n * <ComboboxProvider value=\"p\">\n * <Combobox />\n * <ComboboxPopover>\n * <ComboboxItem value=\"Apple\">\n * <ComboboxItemValue />\n * </ComboboxItem>\n * </ComboboxPopover>\n * </ComboboxProvider>\n *\n * // The Apple item will have a value element that looks like this:\n * <span>\n * <span data-autocomplete-value>A</span>\n * <span data-user-value>p</span>\n * <span data-user-value>p</span>\n * <span data-autocomplete-value>le</span>\n * </span>\n * ```\n */\nexport const ComboboxItemValue = forwardRef(function ComboboxItemValue(\n props: ComboboxItemValueProps,\n) {\n const htmlProps = useComboboxItemValue(props);\n return createElement(TagName, htmlProps);\n});\n\nexport interface ComboboxItemValueOptions<\n _T extends ElementType = TagName,\n> extends Options {\n /**\n * Object returned by the\n * [`useComboboxStore`](https://ariakit.com/reference/use-combobox-store)\n * hook. If not provided, the closest\n * [`ComboboxList`](https://ariakit.com/reference/combobox-list) or\n * [`ComboboxPopover`](https://ariakit.com/reference/combobox-popover)\n * components' context will be used.\n */\n store?: ComboboxStore;\n /**\n * The current combobox item value. If not provided, the parent\n * [`ComboboxItem`](https://ariakit.com/reference/combobox-item) component's\n * [`value`](https://ariakit.com/reference/combobox-item#value) prop will be\n * used.\n *\n * This is the value rendered by the component. It can be customized to\n * display different children.\n */\n value?: string;\n /**\n * The current user input value. If not provided, the combobox store's\n * [`value`](https://ariakit.com/reference/use-combobox-store#value) state\n * will be used.\n *\n * This is the value used to highlight the matching portions of the item\n * value. It can be customized to highlight different portions.\n */\n userValue?: string | string[];\n}\n\nexport type ComboboxItemValueProps<T extends ElementType = TagName> = Props<\n T,\n ComboboxItemValueOptions<T>\n>;\n"],"mappings":";;;;;;;;AAmBA,MAAA,UAAS;SACA,eAAgB,OAAO;CAChC,OAAA,gBAAA,KAAA,EAAA,YAAA;AAEA;SACQ,WAAW,QAAA,QAAA;CACjB,MAAK,UAAM,CAAA;MACL,MAAM,SAAA,QAAA;EACV,IAAA,MAAM;EACN,MAAA,SAAc,MAAA;SACN,OAAA,QAAe,OAAA,GAAQ,MAAO,IAAG;GACvC,MAAI,QAAU,OACZ,QAAQ,OAAM,GAAO;GAEvB,IAAA,UAAc,IAAA,QAAA,KAAA,CAAA,OAAA,MAAA,CAAA;GAChB,MAAA,QAAA;EACF;CACA;CACF,OAAA;AAEA;SACS,yBAAyB,SAAS;QACvC,QAAY,QACL,CAAA,QAAI,SAAY,GAAK,QAAK;EAElC,OAAA,CAAA,IAAA,MAAA,CAAA,GAAA,IAAA,MAAA,MAAA,KAAA,KAAA,UAAA,IAAA,KAAA,SAAA,MAAA;CACH,CAAA;AAEA;SACS,YAAQ,SAAY;CAC7B,OAAA,QAAA,MAAA,CAAA,IAAA,CAAA,OAAA,IAAA,CAAA;AAEA;SACO,WAAW,WAAO,WAAA;CACvB,IAAI,CAAC,WAAW,OAAO;CACvB,IAAA,CAAA,WAAM,OAAa;CACnB,MAAM,aAAyB,QAAA,SAAA,EAAA,OAAA,OAAA,EAAA,IAAA,cAAA;CAE/B,MAAM,QAAQ,CAAA;OAGV,QAAA,OAAA,eAAyB,UAAoB,oBAAA,QAAA;EAC7C,2BAAiB,eAAe,KAAY,KAAA;qBAE3C,eAAA,KAAA,IAAA;EACG,UALO;CAQf,GAAA,MAAM,MAAA;CAON,MAAM,UAAA,YAAqB,yBAAA,WAAA,eAAA,SAAA,GAAA,IAAA,IAAA,UAAA,CAAA,CAAA,CAAA;CAE3B,MAAK,aAAY,QAAA;KACf,CAAA,YAAgB;EAChB,MAAA,KAAO,KAAA,WAAA,IAAA,CAAA;EACT,OAAA;CAEA;CAYA,MATE,CAAA,eAAmB;EAEjB,UAAM,MAAQ,GAAA,WAAgB,GAAA,GAAA,QAAQ,SAAe,CAAA,QAAA,SAAA,MAAA;EACrD,MAAM,QAAA,UAAa,MAAQ,QAAS,SAAA,MAAA;EAEpC,MAAA,aADkB,QAAU,IAAM,KAAA;EAEnC,OAGI,CAAA,OAAS,UAAa,MAAA,SAAA,QAAA,UAAA,CAAA;EAC3B,CAAA,EAAA,SAAY,OAAA,MAAA;EACZ,IAAA,CAAA,OAAW;EACZ,MAAA,KAAA,KAAA,OAAA,IAAA,MAAA,CAAA,CAAA;CAED,CAAA;CACF,OAAA;;;;;;;;;;;;;;;;;;;;;;;MA2BE,uBAAgB,WAAA,SAAyB,qBAAA,EAAA,OAAA,OAAA,WAAA,GAAA,SAAA;CACzC,MAAA,UAAQ,yBAAS;CAEjB,QAAM,SAAA;CACN,MAAM,cAAY,WAAS,wBAAA;CAE3B,MAAM,YAAA,SAAa;CAQnB,MAAA,aAAQ,cAAA,QAAA,UAAA,aAAA,OAAA,KAAA;SACN;YANK,cAAW;GAChB,IAAI,CAAC,WAAA;GACL,IAAA,CAAA,YAAO,OAAW;GACpB,OAAI,WAAW,WAGN,UAAA;EACP,GAAG,CAAA,WAAA,UAAA,CAAA;EACL,GAAA;CAEA;CACD,OAAA,sBAAA,KAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MA6CC,oBAAqB,WADH,SAAA,kBACqB,OAAA;CACxC,OAAA,cAAA,SAAA,qBAAA,KAAA,CAAA"}
|