@ember-joinery/primitives 0.0.0-stage → 1.0.1
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 +472 -0
- package/LICENSE.md +9 -0
- package/NOTICE +532 -0
- package/README.md +11 -2
- package/addon-main.cjs +4 -0
- package/declarations/-private/combobox-list.d.ts +59 -0
- package/declarations/-private/combobox-list.d.ts.map +1 -0
- package/declarations/-private/command-score.d.ts +33 -0
- package/declarations/-private/command-score.d.ts.map +1 -0
- package/declarations/-private/delay-group.d.ts +47 -0
- package/declarations/-private/delay-group.d.ts.map +1 -0
- package/declarations/-private/dialog.d.ts +180 -0
- package/declarations/-private/dialog.d.ts.map +1 -0
- package/declarations/-private/form-control.d.ts +70 -0
- package/declarations/-private/form-control.d.ts.map +1 -0
- package/declarations/-private/form-data.d.ts +14 -0
- package/declarations/-private/form-data.d.ts.map +1 -0
- package/declarations/-private/hover-intent.d.ts +48 -0
- package/declarations/-private/hover-intent.d.ts.map +1 -0
- package/declarations/-private/image-loading.d.ts +77 -0
- package/declarations/-private/image-loading.d.ts.map +1 -0
- package/declarations/-private/indicator.d.ts +27 -0
- package/declarations/-private/indicator.d.ts.map +1 -0
- package/declarations/-private/instances.d.ts +11 -0
- package/declarations/-private/instances.d.ts.map +1 -0
- package/declarations/-private/layout-styles.d.ts +34 -0
- package/declarations/-private/layout-styles.d.ts.map +1 -0
- package/declarations/-private/menu.d.ts +616 -0
- package/declarations/-private/menu.d.ts.map +1 -0
- package/declarations/-private/observers.d.ts +35 -0
- package/declarations/-private/observers.d.ts.map +1 -0
- package/declarations/-private/popper.d.ts +149 -0
- package/declarations/-private/popper.d.ts.map +1 -0
- package/declarations/-private/presence-chart.d.ts +39 -0
- package/declarations/-private/presence-chart.d.ts.map +1 -0
- package/declarations/-private/promise-state.d.ts +41 -0
- package/declarations/-private/promise-state.d.ts.map +1 -0
- package/declarations/-private/scroll-end.d.ts +16 -0
- package/declarations/-private/scroll-end.d.ts.map +1 -0
- package/declarations/-private/scroll-visibility.d.ts +68 -0
- package/declarations/-private/scroll-visibility.d.ts.map +1 -0
- package/declarations/-private/toast.d.ts +119 -0
- package/declarations/-private/toast.d.ts.map +1 -0
- package/declarations/-private/typeahead-search.d.ts +29 -0
- package/declarations/-private/typeahead-search.d.ts.map +1 -0
- package/declarations/accordion.d.ts +284 -0
- package/declarations/accordion.d.ts.map +1 -0
- package/declarations/alert-dialog.d.ts +80 -0
- package/declarations/alert-dialog.d.ts.map +1 -0
- package/declarations/anchor/component.d.ts +63 -0
- package/declarations/anchor/component.d.ts.map +1 -0
- package/declarations/anchor/index.d.ts +7 -0
- package/declarations/anchor/index.d.ts.map +1 -0
- package/declarations/anchor/middleware.d.ts +46 -0
- package/declarations/anchor/middleware.d.ts.map +1 -0
- package/declarations/anchor/modifier.d.ts +34 -0
- package/declarations/anchor/modifier.d.ts.map +1 -0
- package/declarations/anchor/options.d.ts +112 -0
- package/declarations/anchor/options.d.ts.map +1 -0
- package/declarations/anchor/position.d.ts +36 -0
- package/declarations/anchor/position.d.ts.map +1 -0
- package/declarations/anchor.d.ts +2 -0
- package/declarations/as.d.ts +33 -0
- package/declarations/as.d.ts.map +1 -0
- package/declarations/aspect-ratio.d.ts +34 -0
- package/declarations/aspect-ratio.d.ts.map +1 -0
- package/declarations/avatar.d.ts +178 -0
- package/declarations/avatar.d.ts.map +1 -0
- package/declarations/body-class.d.ts +30 -0
- package/declarations/body-class.d.ts.map +1 -0
- package/declarations/breadcrumb.d.ts +64 -0
- package/declarations/breadcrumb.d.ts.map +1 -0
- package/declarations/calendar/dates.d.ts +142 -0
- package/declarations/calendar/dates.d.ts.map +1 -0
- package/declarations/calendar/index.d.ts +59 -0
- package/declarations/calendar/index.d.ts.map +1 -0
- package/declarations/calendar/state.d.ts +415 -0
- package/declarations/calendar/state.d.ts.map +1 -0
- package/declarations/calendar.d.ts +3 -0
- package/declarations/checkbox.d.ts +71 -0
- package/declarations/checkbox.d.ts.map +1 -0
- package/declarations/collapsible.d.ts +216 -0
- package/declarations/collapsible.d.ts.map +1 -0
- package/declarations/color-scheme.d.ts +115 -0
- package/declarations/color-scheme.d.ts.map +1 -0
- package/declarations/combobox.d.ts +569 -0
- package/declarations/combobox.d.ts.map +1 -0
- package/declarations/command.d.ts +410 -0
- package/declarations/command.d.ts.map +1 -0
- package/declarations/context-menu.d.ts +155 -0
- package/declarations/context-menu.d.ts.map +1 -0
- package/declarations/controllable-state.d.ts +85 -0
- package/declarations/controllable-state.d.ts.map +1 -0
- package/declarations/dialog.d.ts +80 -0
- package/declarations/dialog.d.ts.map +1 -0
- package/declarations/direction.d.ts +55 -0
- package/declarations/direction.d.ts.map +1 -0
- package/declarations/dismiss.d.ts +111 -0
- package/declarations/dismiss.d.ts.map +1 -0
- package/declarations/dom-context.d.ts +74 -0
- package/declarations/dom-context.d.ts.map +1 -0
- package/declarations/drawer/controller.d.ts +174 -0
- package/declarations/drawer/controller.d.ts.map +1 -0
- package/declarations/drawer/index.d.ts +105 -0
- package/declarations/drawer/index.d.ts.map +1 -0
- package/declarations/drawer/machine.d.ts +139 -0
- package/declarations/drawer/machine.d.ts.map +1 -0
- package/declarations/drawer/parts.d.ts +85 -0
- package/declarations/drawer/parts.d.ts.map +1 -0
- package/declarations/drawer.d.ts +2 -0
- package/declarations/dropdown-menu.d.ts +169 -0
- package/declarations/dropdown-menu.d.ts.map +1 -0
- package/declarations/external-link.d.ts +26 -0
- package/declarations/external-link.d.ts.map +1 -0
- package/declarations/file-drop.d.ts +119 -0
- package/declarations/file-drop.d.ts.map +1 -0
- package/declarations/focus-scope.d.ts +105 -0
- package/declarations/focus-scope.d.ts.map +1 -0
- package/declarations/focus.d.ts +114 -0
- package/declarations/focus.d.ts.map +1 -0
- package/declarations/head.d.ts +20 -0
- package/declarations/head.d.ts.map +1 -0
- package/declarations/heading.d.ts +59 -0
- package/declarations/heading.d.ts.map +1 -0
- package/declarations/hero.d.ts +32 -0
- package/declarations/hero.d.ts.map +1 -0
- package/declarations/hide-others.d.ts +35 -0
- package/declarations/hide-others.d.ts.map +1 -0
- package/declarations/hover-card.d.ts +148 -0
- package/declarations/hover-card.d.ts.map +1 -0
- package/declarations/i18n.d.ts +47 -0
- package/declarations/i18n.d.ts.map +1 -0
- package/declarations/id.d.ts +15 -0
- package/declarations/id.d.ts.map +1 -0
- package/declarations/iframe.d.ts +12 -0
- package/declarations/iframe.d.ts.map +1 -0
- package/declarations/incremental-each.d.ts +81 -0
- package/declarations/incremental-each.d.ts.map +1 -0
- package/declarations/index.d.ts +108 -0
- package/declarations/index.d.ts.map +1 -0
- package/declarations/input-otp.d.ts +201 -0
- package/declarations/input-otp.d.ts.map +1 -0
- package/declarations/keys.d.ts +50 -0
- package/declarations/keys.d.ts.map +1 -0
- package/declarations/label.d.ts +36 -0
- package/declarations/label.d.ts.map +1 -0
- package/declarations/layer.d.ts +56 -0
- package/declarations/layer.d.ts.map +1 -0
- package/declarations/link-helper.d.ts +73 -0
- package/declarations/link-helper.d.ts.map +1 -0
- package/declarations/link.d.ts +60 -0
- package/declarations/link.d.ts.map +1 -0
- package/declarations/load.d.ts +47 -0
- package/declarations/load.d.ts.map +1 -0
- package/declarations/menubar.d.ts +231 -0
- package/declarations/menubar.d.ts.map +1 -0
- package/declarations/message-scroller/components.d.ts +229 -0
- package/declarations/message-scroller/components.d.ts.map +1 -0
- package/declarations/message-scroller/geometry.d.ts +95 -0
- package/declarations/message-scroller/geometry.d.ts.map +1 -0
- package/declarations/message-scroller/index.d.ts +4 -0
- package/declarations/message-scroller/index.d.ts.map +1 -0
- package/declarations/message-scroller/state.d.ts +124 -0
- package/declarations/message-scroller/state.d.ts.map +1 -0
- package/declarations/message-scroller.d.ts +2 -0
- package/declarations/messages.d.ts +166 -0
- package/declarations/messages.d.ts.map +1 -0
- package/declarations/narrowing.d.ts +24 -0
- package/declarations/narrowing.d.ts.map +1 -0
- package/declarations/native-form.d.ts +56 -0
- package/declarations/native-form.d.ts.map +1 -0
- package/declarations/native-value.d.ts +47 -0
- package/declarations/native-value.d.ts.map +1 -0
- package/declarations/navigation-menu.d.ts +406 -0
- package/declarations/navigation-menu.d.ts.map +1 -0
- package/declarations/on-resize.d.ts +32 -0
- package/declarations/on-resize.d.ts.map +1 -0
- package/declarations/part.d.ts +99 -0
- package/declarations/part.d.ts.map +1 -0
- package/declarations/popover.d.ts +236 -0
- package/declarations/popover.d.ts.map +1 -0
- package/declarations/portal/index.d.ts +3 -0
- package/declarations/portal/index.d.ts.map +1 -0
- package/declarations/portal/portal.d.ts +46 -0
- package/declarations/portal/portal.d.ts.map +1 -0
- package/declarations/portal/targets.d.ts +40 -0
- package/declarations/portal/targets.d.ts.map +1 -0
- package/declarations/portal.d.ts +2 -0
- package/declarations/presence.d.ts +80 -0
- package/declarations/presence.d.ts.map +1 -0
- package/declarations/progress.d.ts +98 -0
- package/declarations/progress.d.ts.map +1 -0
- package/declarations/proper-links.d.ts +69 -0
- package/declarations/proper-links.d.ts.map +1 -0
- package/declarations/qp.d.ts +55 -0
- package/declarations/qp.d.ts.map +1 -0
- package/declarations/questionnaire/components.d.ts +348 -0
- package/declarations/questionnaire/components.d.ts.map +1 -0
- package/declarations/questionnaire/index.d.ts +4 -0
- package/declarations/questionnaire/index.d.ts.map +1 -0
- package/declarations/questionnaire/state.d.ts +400 -0
- package/declarations/questionnaire/state.d.ts.map +1 -0
- package/declarations/questionnaire/utils.d.ts +65 -0
- package/declarations/questionnaire/utils.d.ts.map +1 -0
- package/declarations/questionnaire.d.ts +2 -0
- package/declarations/radio-group.d.ts +115 -0
- package/declarations/radio-group.d.ts.map +1 -0
- package/declarations/rating.d.ts +214 -0
- package/declarations/rating.d.ts.map +1 -0
- package/declarations/resizable/components.d.ts +107 -0
- package/declarations/resizable/components.d.ts.map +1 -0
- package/declarations/resizable/index.d.ts +4 -0
- package/declarations/resizable/index.d.ts.map +1 -0
- package/declarations/resizable/layout.d.ts +93 -0
- package/declarations/resizable/layout.d.ts.map +1 -0
- package/declarations/resizable/state.d.ts +211 -0
- package/declarations/resizable/state.d.ts.map +1 -0
- package/declarations/resizable.d.ts +2 -0
- package/declarations/resize-observer.d.ts +40 -0
- package/declarations/resize-observer.d.ts.map +1 -0
- package/declarations/roving-focus.d.ts +204 -0
- package/declarations/roving-focus.d.ts.map +1 -0
- package/declarations/scroll-area/components.d.ts +125 -0
- package/declarations/scroll-area/components.d.ts.map +1 -0
- package/declarations/scroll-area/index.d.ts +3 -0
- package/declarations/scroll-area/index.d.ts.map +1 -0
- package/declarations/scroll-area/state.d.ts +147 -0
- package/declarations/scroll-area/state.d.ts.map +1 -0
- package/declarations/scroll-area.d.ts +2 -0
- package/declarations/scroll-lock.d.ts +69 -0
- package/declarations/scroll-lock.d.ts.map +1 -0
- package/declarations/scroller.d.ts +71 -0
- package/declarations/scroller.d.ts.map +1 -0
- package/declarations/select.d.ts +459 -0
- package/declarations/select.d.ts.map +1 -0
- package/declarations/separator.d.ts +71 -0
- package/declarations/separator.d.ts.map +1 -0
- package/declarations/service.d.ts +83 -0
- package/declarations/service.d.ts.map +1 -0
- package/declarations/shadowed.d.ts +63 -0
- package/declarations/shadowed.d.ts.map +1 -0
- package/declarations/slider.d.ts +283 -0
- package/declarations/slider.d.ts.map +1 -0
- package/declarations/sticky-footer.d.ts +43 -0
- package/declarations/sticky-footer.d.ts.map +1 -0
- package/declarations/store.d.ts +47 -0
- package/declarations/store.d.ts.map +1 -0
- package/declarations/switch.d.ts +76 -0
- package/declarations/switch.d.ts.map +1 -0
- package/declarations/tabs.d.ts +250 -0
- package/declarations/tabs.d.ts.map +1 -0
- package/declarations/toast/icons.d.ts +29 -0
- package/declarations/toast/icons.d.ts.map +1 -0
- package/declarations/toast/index.d.ts +4 -0
- package/declarations/toast/index.d.ts.map +1 -0
- package/declarations/toast/item.d.ts +162 -0
- package/declarations/toast/item.d.ts.map +1 -0
- package/declarations/toast/state.d.ts +276 -0
- package/declarations/toast/state.d.ts.map +1 -0
- package/declarations/toast/styles.d.ts +20 -0
- package/declarations/toast/styles.d.ts.map +1 -0
- package/declarations/toast/toaster.d.ts +173 -0
- package/declarations/toast/toaster.d.ts.map +1 -0
- package/declarations/toast.d.ts +2 -0
- package/declarations/toggle-group.d.ts +161 -0
- package/declarations/toggle-group.d.ts.map +1 -0
- package/declarations/toggle.d.ts +70 -0
- package/declarations/toggle.d.ts.map +1 -0
- package/declarations/tooltip.d.ts +227 -0
- package/declarations/tooltip.d.ts.map +1 -0
- package/declarations/typeahead.d.ts +97 -0
- package/declarations/typeahead.d.ts.map +1 -0
- package/declarations/viewport.d.ts +109 -0
- package/declarations/viewport.d.ts.map +1 -0
- package/declarations/visually-hidden.d.ts +42 -0
- package/declarations/visually-hidden.d.ts.map +1 -0
- package/declarations/zoetrope.d.ts +120 -0
- package/declarations/zoetrope.d.ts.map +1 -0
- package/dist/accordion.js +367 -0
- package/dist/accordion.js.map +1 -0
- package/dist/alert-dialog.js +122 -0
- package/dist/alert-dialog.js.map +1 -0
- package/dist/anchor.js +2 -0
- package/dist/anchor.js.map +1 -0
- package/dist/as.js +60 -0
- package/dist/as.js.map +1 -0
- package/dist/aspect-ratio.js +59 -0
- package/dist/aspect-ratio.js.map +1 -0
- package/dist/avatar.js +464 -0
- package/dist/avatar.js.map +1 -0
- package/dist/body-class.js +57 -0
- package/dist/body-class.js.map +1 -0
- package/dist/breadcrumb.js +59 -0
- package/dist/breadcrumb.js.map +1 -0
- package/dist/calendar.js +1494 -0
- package/dist/calendar.js.map +1 -0
- package/dist/checkbox.js +81 -0
- package/dist/checkbox.js.map +1 -0
- package/dist/collapsible.js +255 -0
- package/dist/collapsible.js.map +1 -0
- package/dist/color-scheme.js +306 -0
- package/dist/color-scheme.js.map +1 -0
- package/dist/combobox.js +1413 -0
- package/dist/combobox.js.map +1 -0
- package/dist/command.js +1054 -0
- package/dist/command.js.map +1 -0
- package/dist/component-DqLt83fo.js +886 -0
- package/dist/component-DqLt83fo.js.map +1 -0
- package/dist/components-CWfg0cFs.js +1745 -0
- package/dist/components-CWfg0cFs.js.map +1 -0
- package/dist/components-DBWszEI3.js +1285 -0
- package/dist/components-DBWszEI3.js.map +1 -0
- package/dist/components-DI8Azu05.js +1542 -0
- package/dist/components-DI8Azu05.js.map +1 -0
- package/dist/components-F0Ini448.js +875 -0
- package/dist/components-F0Ini448.js.map +1 -0
- package/dist/context-menu.js +207 -0
- package/dist/context-menu.js.map +1 -0
- package/dist/controllable-state.js +134 -0
- package/dist/controllable-state.js.map +1 -0
- package/dist/delay-group-B1K03gBL.js +75 -0
- package/dist/delay-group-B1K03gBL.js.map +1 -0
- package/dist/dialog-3gfz_8NA.js +349 -0
- package/dist/dialog-3gfz_8NA.js.map +1 -0
- package/dist/dialog.js +57 -0
- package/dist/dialog.js.map +1 -0
- package/dist/direction.js +75 -0
- package/dist/direction.js.map +1 -0
- package/dist/dismiss.js +329 -0
- package/dist/dismiss.js.map +1 -0
- package/dist/dom-context.js +104 -0
- package/dist/dom-context.js.map +1 -0
- package/dist/drawer.js +1456 -0
- package/dist/drawer.js.map +1 -0
- package/dist/dropdown-menu.js +201 -0
- package/dist/dropdown-menu.js.map +1 -0
- package/dist/external-link.js +21 -0
- package/dist/external-link.js.map +1 -0
- package/dist/file-drop.js +183 -0
- package/dist/file-drop.js.map +1 -0
- package/dist/focus-scope.js +292 -0
- package/dist/focus-scope.js.map +1 -0
- package/dist/focus.js +307 -0
- package/dist/focus.js.map +1 -0
- package/dist/form-control-Ca_KHSKK.js +177 -0
- package/dist/form-control-Ca_KHSKK.js.map +1 -0
- package/dist/head.js +25 -0
- package/dist/head.js.map +1 -0
- package/dist/heading.js +152 -0
- package/dist/heading.js.map +1 -0
- package/dist/hero.js +36 -0
- package/dist/hero.js.map +1 -0
- package/dist/hide-others.js +108 -0
- package/dist/hide-others.js.map +1 -0
- package/dist/hover-card.js +246 -0
- package/dist/hover-card.js.map +1 -0
- package/dist/hover-intent-Bxb83fgX.js +92 -0
- package/dist/hover-intent-Bxb83fgX.js.map +1 -0
- package/dist/i18n.js +72 -0
- package/dist/i18n.js.map +1 -0
- package/dist/id.js +24 -0
- package/dist/id.js.map +1 -0
- package/dist/iframe.js +19 -0
- package/dist/iframe.js.map +1 -0
- package/dist/incremental-each.js +181 -0
- package/dist/incremental-each.js.map +1 -0
- package/dist/index.js +87 -0
- package/dist/index.js.map +1 -0
- package/dist/indicator-sYuRuFJA.js +26 -0
- package/dist/indicator-sYuRuFJA.js.map +1 -0
- package/dist/input-otp.js +611 -0
- package/dist/input-otp.js.map +1 -0
- package/dist/keys.js +65 -0
- package/dist/keys.js.map +1 -0
- package/dist/label.js +41 -0
- package/dist/label.js.map +1 -0
- package/dist/layer.js +157 -0
- package/dist/layer.js.map +1 -0
- package/dist/layout-styles-DY86so8a.js +81 -0
- package/dist/layout-styles-DY86so8a.js.map +1 -0
- package/dist/link-helper.js +122 -0
- package/dist/link-helper.js.map +1 -0
- package/dist/link.js +39 -0
- package/dist/link.js.map +1 -0
- package/dist/load.js +54 -0
- package/dist/load.js.map +1 -0
- package/dist/menu-Da1LFCet.js +1109 -0
- package/dist/menu-Da1LFCet.js.map +1 -0
- package/dist/menubar.js +357 -0
- package/dist/menubar.js.map +1 -0
- package/dist/message-scroller.js +2 -0
- package/dist/message-scroller.js.map +1 -0
- package/dist/messages.js +168 -0
- package/dist/messages.js.map +1 -0
- package/dist/narrowing.js +29 -0
- package/dist/narrowing.js.map +1 -0
- package/dist/native-form.js +134 -0
- package/dist/native-form.js.map +1 -0
- package/dist/native-value.js +125 -0
- package/dist/native-value.js.map +1 -0
- package/dist/navigation-menu.js +872 -0
- package/dist/navigation-menu.js.map +1 -0
- package/dist/observers-aItWe029.js +113 -0
- package/dist/observers-aItWe029.js.map +1 -0
- package/dist/on-resize.js +47 -0
- package/dist/on-resize.js.map +1 -0
- package/dist/part.js +291 -0
- package/dist/part.js.map +1 -0
- package/dist/popover.js +419 -0
- package/dist/popover.js.map +1 -0
- package/dist/popper-BbTzV8dP.js +323 -0
- package/dist/popper-BbTzV8dP.js.map +1 -0
- package/dist/portal-U554WDI9.js +214 -0
- package/dist/portal-U554WDI9.js.map +1 -0
- package/dist/portal.js +2 -0
- package/dist/portal.js.map +1 -0
- package/dist/presence.js +243 -0
- package/dist/presence.js.map +1 -0
- package/dist/progress.js +106 -0
- package/dist/progress.js.map +1 -0
- package/dist/promise-state-BMi2zVoT.js +91 -0
- package/dist/promise-state-BMi2zVoT.js.map +1 -0
- package/dist/proper-links.js +136 -0
- package/dist/proper-links.js.map +1 -0
- package/dist/qp.js +77 -0
- package/dist/qp.js.map +1 -0
- package/dist/questionnaire.js +2 -0
- package/dist/questionnaire.js.map +1 -0
- package/dist/radio-group.js +149 -0
- package/dist/radio-group.js.map +1 -0
- package/dist/rating.js +261 -0
- package/dist/rating.js.map +1 -0
- package/dist/resizable.js +2 -0
- package/dist/resizable.js.map +1 -0
- package/dist/resize-observer.js +85 -0
- package/dist/resize-observer.js.map +1 -0
- package/dist/roving-focus.js +355 -0
- package/dist/roving-focus.js.map +1 -0
- package/dist/scroll-area.js +2 -0
- package/dist/scroll-area.js.map +1 -0
- package/dist/scroll-end-Cer8JSIB.js +87 -0
- package/dist/scroll-end-Cer8JSIB.js.map +1 -0
- package/dist/scroll-lock.js +267 -0
- package/dist/scroll-lock.js.map +1 -0
- package/dist/scroller.js +117 -0
- package/dist/scroller.js.map +1 -0
- package/dist/select.js +1223 -0
- package/dist/select.js.map +1 -0
- package/dist/separator.js +80 -0
- package/dist/separator.js.map +1 -0
- package/dist/service.js +160 -0
- package/dist/service.js.map +1 -0
- package/dist/shadowed.js +70 -0
- package/dist/shadowed.js.map +1 -0
- package/dist/slider.js +586 -0
- package/dist/slider.js.map +1 -0
- package/dist/sticky-footer.js +40 -0
- package/dist/sticky-footer.js.map +1 -0
- package/dist/store-BjiAd-KP.js +93 -0
- package/dist/store-BjiAd-KP.js.map +1 -0
- package/dist/store.js +4 -0
- package/dist/store.js.map +1 -0
- package/dist/switch.js +58 -0
- package/dist/switch.js.map +1 -0
- package/dist/tabs.js +458 -0
- package/dist/tabs.js.map +1 -0
- package/dist/toast.js +2 -0
- package/dist/toast.js.map +1 -0
- package/dist/toaster-DwprFZ1J.js +1518 -0
- package/dist/toaster-DwprFZ1J.js.map +1 -0
- package/dist/toggle-group.js +221 -0
- package/dist/toggle-group.js.map +1 -0
- package/dist/toggle.js +78 -0
- package/dist/toggle.js.map +1 -0
- package/dist/tooltip.js +422 -0
- package/dist/tooltip.js.map +1 -0
- package/dist/typeahead.js +233 -0
- package/dist/typeahead.js.map +1 -0
- package/dist/viewport.js +138 -0
- package/dist/viewport.js.map +1 -0
- package/dist/visually-hidden.js +49 -0
- package/dist/visually-hidden.js.map +1 -0
- package/dist/zoetrope.js +336 -0
- package/dist/zoetrope.js.map +1 -0
- package/package.json +101 -3
|
@@ -0,0 +1,569 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import type Owner from '@ember/owner';
|
|
3
|
+
import type { TOC } from '@ember/component/template-only';
|
|
4
|
+
import type { WithBoundArgs } from '@glint/template';
|
|
5
|
+
import { type TagName } from './as';
|
|
6
|
+
import type { AnchorOptions, Align, Side } from './anchor/index.ts';
|
|
7
|
+
import { ControllableState, type ControllableArgs } from './controllable-state.ts';
|
|
8
|
+
import { type DismissReason } from './dismiss.ts';
|
|
9
|
+
import { type PartModifier } from './part.ts';
|
|
10
|
+
import { ElementRef } from './-private/popper';
|
|
11
|
+
/** A group of items, as Base UI takes them: `{ value: 'Fruits', items: [...] }`. */
|
|
12
|
+
export interface ComboboxItemGroup<T = unknown> {
|
|
13
|
+
value?: unknown;
|
|
14
|
+
items: readonly T[];
|
|
15
|
+
}
|
|
16
|
+
/** Whether `items` is a list of groups (each has `items`), as Base UI decides it. */
|
|
17
|
+
export declare function isGroupedItems(items: readonly unknown[] | undefined): boolean;
|
|
18
|
+
/**
|
|
19
|
+
* An item's text, as Base UI's `stringifyAsLabel`: `itemToStringLabel`'s, or else the item's
|
|
20
|
+
* `label`, or its `value`, or the item itself.
|
|
21
|
+
*/
|
|
22
|
+
export declare function labelOf(item: unknown, itemToStringLabel?: (item: unknown) => string): string;
|
|
23
|
+
/**
|
|
24
|
+
* An item's form value, as Base UI's `stringifyAsValue`: `itemToStringValue`'s, or else the
|
|
25
|
+
* `value` of an item with a `label` and a `value`, or the item itself.
|
|
26
|
+
*/
|
|
27
|
+
export declare function formValueOf(item: unknown, itemToStringValue?: (item: unknown) => string): string;
|
|
28
|
+
/** How Base UI matches text: an `Intl.Collator` for search, ignoring case, accents and punctuation. */
|
|
29
|
+
export interface ComboboxFilter {
|
|
30
|
+
contains(text: string, query: string): boolean;
|
|
31
|
+
startsWith(text: string, query: string): boolean;
|
|
32
|
+
endsWith(text: string, query: string): boolean;
|
|
33
|
+
}
|
|
34
|
+
/**
|
|
35
|
+
* Base UI's collator filter (`useFilter`): `contains`, `startsWith` and `endsWith`, comparing
|
|
36
|
+
* with `Intl.Collator` (`usage: 'search'`, `sensitivity: 'base'`, punctuation ignored), so
|
|
37
|
+
* "e" finds "É" and case doesn't matter.
|
|
38
|
+
*/
|
|
39
|
+
export declare function comboboxFilter(options?: Intl.CollatorOptions & {
|
|
40
|
+
locale?: string;
|
|
41
|
+
}): ComboboxFilter;
|
|
42
|
+
/** A filter of your own: whether `item` matches `query`. */
|
|
43
|
+
export type ComboboxFilterFunction = (item: unknown, query: string, itemToStringLabel?: (item: unknown) => string) => boolean;
|
|
44
|
+
/** What a `<Combobox>` takes: Base UI's Combobox props, by Joinery's names. */
|
|
45
|
+
export type ComboboxArgs = ControllableArgs<'open', boolean> & {
|
|
46
|
+
/**
|
|
47
|
+
* The items, or groups of items (`{ value, items }`), that the list shows and the input
|
|
48
|
+
* filters. Without them, render the items yourself and filter them yourself.
|
|
49
|
+
*/
|
|
50
|
+
items?: readonly unknown[];
|
|
51
|
+
/** Items you have filtered yourself, shown instead of filtering `@items` (Base UI's `filteredItems`). */
|
|
52
|
+
filteredItems?: readonly unknown[];
|
|
53
|
+
/** Choose several items, shown as chips. Default `false`. */
|
|
54
|
+
multiple?: boolean;
|
|
55
|
+
/** The chosen item (an array of them with `@multiple`), controlled. `null` for none. */
|
|
56
|
+
value?: unknown;
|
|
57
|
+
/** The item (or items) chosen to start with, uncontrolled. */
|
|
58
|
+
defaultValue?: unknown;
|
|
59
|
+
/** Called with the chosen item (or items) whenever the user changes it. */
|
|
60
|
+
onValueChange?: (value: unknown) => void;
|
|
61
|
+
/** The input's text, controlled. */
|
|
62
|
+
inputValue?: string;
|
|
63
|
+
/** The input's text to start with. Default: the chosen item's label (one value), or `''`. */
|
|
64
|
+
defaultInputValue?: string;
|
|
65
|
+
/** Called with the input's text whenever it changes: typing, choosing, clearing. */
|
|
66
|
+
onInputValueChange?: (value: string) => void;
|
|
67
|
+
/**
|
|
68
|
+
* Highlight the first item as the user types, so Enter chooses it. Default `false`
|
|
69
|
+
* (`'always'` keeps an item highlighted whenever the list is open).
|
|
70
|
+
*/
|
|
71
|
+
autoHighlight?: boolean | 'always';
|
|
72
|
+
/** An item's text, for the input, the filter and typeahead. Default: its `label`, `value` or itself. */
|
|
73
|
+
itemToStringLabel?: (item: unknown) => string;
|
|
74
|
+
/** An item's form value. Default: its `value` (with a `label`), or itself. */
|
|
75
|
+
itemToStringValue?: (item: unknown) => string;
|
|
76
|
+
/** Whether an item is the chosen value. Default `Object.is`. */
|
|
77
|
+
isItemEqualToValue?: (item: unknown, value: unknown) => boolean;
|
|
78
|
+
/** Your own filter, or `null` to show `@items` unfiltered (for filtering on a server). */
|
|
79
|
+
filter?: ComboboxFilterFunction | null;
|
|
80
|
+
/** The most items to show. Default: all. */
|
|
81
|
+
limit?: number;
|
|
82
|
+
/** The locale the default filter compares in. Default: the app's translator's. */
|
|
83
|
+
locale?: string;
|
|
84
|
+
/** Open the list when the input is pressed. Default `true`. */
|
|
85
|
+
openOnInputClick?: boolean;
|
|
86
|
+
/** Highlight the item under the pointer. Default `true`. */
|
|
87
|
+
highlightItemOnHover?: boolean;
|
|
88
|
+
/** The arrow keys go round from the last item to the first. Default `true`. */
|
|
89
|
+
loopFocus?: boolean;
|
|
90
|
+
/** Disables the input, its buttons and the chips. */
|
|
91
|
+
disabled?: boolean;
|
|
92
|
+
/** Shows the value but doesn't let the user change it. */
|
|
93
|
+
readOnly?: boolean;
|
|
94
|
+
/** Marks it required (`aria-required`, and the form's hidden input). */
|
|
95
|
+
required?: boolean;
|
|
96
|
+
/** The form field's name (Base UI's `name`): hidden inputs carry each value under it. */
|
|
97
|
+
formName?: string;
|
|
98
|
+
/** The id of the form the hidden inputs belong to, outside it. */
|
|
99
|
+
form?: string;
|
|
100
|
+
/** Its name, for `ComboboxHarness` (`data-test-jn-name`). */
|
|
101
|
+
name?: string;
|
|
102
|
+
};
|
|
103
|
+
/** Where the popup goes: Base UI's positioner arguments. */
|
|
104
|
+
export interface ComboboxContentArgs {
|
|
105
|
+
/** The side of the input to place it on. Default `bottom`. */
|
|
106
|
+
side?: Side;
|
|
107
|
+
/** Where along that side. Default `center`. */
|
|
108
|
+
align?: Align;
|
|
109
|
+
/** The distance from the input, in pixels. Default 0. */
|
|
110
|
+
sideOffset?: number;
|
|
111
|
+
/** The shift along the side, in pixels. Default 0. */
|
|
112
|
+
alignOffset?: number;
|
|
113
|
+
/** How far from the viewport's edges to stay, in pixels. Default 5. */
|
|
114
|
+
collisionPadding?: number;
|
|
115
|
+
/**
|
|
116
|
+
* What to place it against instead of the input: an element, such as the chips (shadcn's
|
|
117
|
+
* `useComboboxAnchor`). The yielded `chipsElement` is the chips container.
|
|
118
|
+
*/
|
|
119
|
+
anchor?: Element | null;
|
|
120
|
+
/** The tag to render. Default `div`. */
|
|
121
|
+
as?: TagName;
|
|
122
|
+
}
|
|
123
|
+
type Reason = 'input-change' | 'input-clear' | 'input-press' | 'item-press' | 'clear-press' | 'chip-remove-press' | 'trigger-press' | 'list-navigation' | 'escape-key' | 'outside-press' | 'focus-out' | 'none';
|
|
124
|
+
export interface ComboboxItemSignature {
|
|
125
|
+
Args: {
|
|
126
|
+
/** @internal Bound by the combobox. */
|
|
127
|
+
combobox: Combobox;
|
|
128
|
+
/** The item this option chooses: one of `@items`, or a value of your own. */
|
|
129
|
+
value: unknown;
|
|
130
|
+
/** Makes it impossible to choose (it can still be highlighted, as Base UI's). */
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
/** The tag to render instead of `div`. */
|
|
133
|
+
as?: TagName;
|
|
134
|
+
};
|
|
135
|
+
Blocks: {
|
|
136
|
+
default: [ComboboxItemBlockParams];
|
|
137
|
+
};
|
|
138
|
+
Element: HTMLDivElement;
|
|
139
|
+
}
|
|
140
|
+
/** What an item yields: its indicator, bound to it, and its state. */
|
|
141
|
+
export interface ComboboxItemBlockParams {
|
|
142
|
+
/** Shown only while the item is chosen, such as a check mark. */
|
|
143
|
+
ItemIndicator: WithBoundArgs<typeof ComboboxItemIndicator, 'item'>;
|
|
144
|
+
/** Whether it is chosen. */
|
|
145
|
+
isSelected: boolean;
|
|
146
|
+
/** Whether it is highlighted (Base UI's `data-highlighted`). */
|
|
147
|
+
isHighlighted: boolean;
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* One item, `role="option"`: Base UI's `Combobox.Item`. Focus stays in the input: the item is
|
|
151
|
+
* highlighted (the input's `aria-activedescendant`) by the arrow keys or the pointer, and a
|
|
152
|
+
* press or Enter chooses it.
|
|
153
|
+
*/
|
|
154
|
+
export declare class ComboboxItem extends Component<ComboboxItemSignature> {
|
|
155
|
+
#private;
|
|
156
|
+
element: HTMLElement;
|
|
157
|
+
get combobox(): Combobox;
|
|
158
|
+
get value(): unknown;
|
|
159
|
+
get isDisabled(): boolean;
|
|
160
|
+
get id(): string;
|
|
161
|
+
get index(): number;
|
|
162
|
+
get isHighlighted(): boolean;
|
|
163
|
+
get isSelected(): boolean;
|
|
164
|
+
choose: (event: Event) => void;
|
|
165
|
+
part: PartModifier;
|
|
166
|
+
}
|
|
167
|
+
export interface ComboboxItemIndicatorSignature {
|
|
168
|
+
Args: {
|
|
169
|
+
/** @internal Bound by its item. */
|
|
170
|
+
item: ComboboxItem;
|
|
171
|
+
/** The tag to render instead of `span`. */
|
|
172
|
+
as?: TagName;
|
|
173
|
+
};
|
|
174
|
+
Blocks: {
|
|
175
|
+
default: [];
|
|
176
|
+
};
|
|
177
|
+
Element: HTMLSpanElement;
|
|
178
|
+
}
|
|
179
|
+
/** Base UI's `Combobox.ItemIndicator`: rendered while its item is chosen, hidden from assistive technology. */
|
|
180
|
+
declare const ComboboxItemIndicator: TOC<ComboboxItemIndicatorSignature>;
|
|
181
|
+
export interface ComboboxChipSignature {
|
|
182
|
+
Args: {
|
|
183
|
+
/** @internal Bound by the combobox. */
|
|
184
|
+
combobox: Combobox;
|
|
185
|
+
/** The chosen item this chip shows. */
|
|
186
|
+
value: unknown;
|
|
187
|
+
/** The tag to render instead of `div`. */
|
|
188
|
+
as?: TagName;
|
|
189
|
+
};
|
|
190
|
+
Blocks: {
|
|
191
|
+
default: [ComboboxChipBlockParams];
|
|
192
|
+
};
|
|
193
|
+
Element: HTMLDivElement;
|
|
194
|
+
}
|
|
195
|
+
export interface ComboboxChipBlockParams {
|
|
196
|
+
/** A button that removes the chip's item from the value. */
|
|
197
|
+
Remove: WithBoundArgs<typeof ComboboxChipRemove, 'chip'>;
|
|
198
|
+
/** Makes your own element or component the remove button: `<Button {{chip.remove}}>`. */
|
|
199
|
+
remove: PartModifier;
|
|
200
|
+
}
|
|
201
|
+
/**
|
|
202
|
+
* One chosen item, in a multiple combobox: Base UI's `Combobox.Chip`. The arrow keys move
|
|
203
|
+
* between chips (from the input's start), and Backspace or Delete removes one.
|
|
204
|
+
*/
|
|
205
|
+
export declare class ComboboxChip extends Component<ComboboxChipSignature> {
|
|
206
|
+
element: HTMLElement;
|
|
207
|
+
get combobox(): Combobox;
|
|
208
|
+
remove: (event: Event) => void;
|
|
209
|
+
keyDown: (event: KeyboardEvent) => void;
|
|
210
|
+
part: PartModifier;
|
|
211
|
+
removePart: PartModifier;
|
|
212
|
+
}
|
|
213
|
+
export interface ComboboxChipRemoveSignature {
|
|
214
|
+
Args: {
|
|
215
|
+
/** @internal Bound by its chip. */
|
|
216
|
+
chip: ComboboxChip;
|
|
217
|
+
/** The tag to render instead of `button`. */
|
|
218
|
+
as?: TagName;
|
|
219
|
+
};
|
|
220
|
+
Blocks: {
|
|
221
|
+
default: [];
|
|
222
|
+
};
|
|
223
|
+
Element: HTMLButtonElement;
|
|
224
|
+
}
|
|
225
|
+
/** Base UI's `Combobox.ChipRemove`: a button, out of the tab order, that removes its chip. */
|
|
226
|
+
declare const ComboboxChipRemove: TOC<ComboboxChipRemoveSignature>;
|
|
227
|
+
export interface ComboboxPartSignature<E extends Element> {
|
|
228
|
+
Args: {
|
|
229
|
+
/** The part's modifier, bound by the combobox. */
|
|
230
|
+
part: PartModifier;
|
|
231
|
+
/** The tag to render instead. */
|
|
232
|
+
as?: TagName;
|
|
233
|
+
};
|
|
234
|
+
Blocks: {
|
|
235
|
+
default: [];
|
|
236
|
+
};
|
|
237
|
+
Element: E;
|
|
238
|
+
}
|
|
239
|
+
export interface ComboboxInputSignature {
|
|
240
|
+
Args: {
|
|
241
|
+
/** The input's modifier, bound by the combobox. */
|
|
242
|
+
part: PartModifier<HTMLInputElement>;
|
|
243
|
+
};
|
|
244
|
+
Element: HTMLInputElement;
|
|
245
|
+
}
|
|
246
|
+
/** The text input that filters the list: Base UI's `Combobox.Input`. */
|
|
247
|
+
declare const ComboboxInput: TOC<ComboboxInputSignature>;
|
|
248
|
+
/** A button that opens and closes the list: Base UI's `Combobox.Trigger`. */
|
|
249
|
+
declare const ComboboxTrigger: TOC<ComboboxPartSignature<HTMLButtonElement>>;
|
|
250
|
+
/** A `<div>` that labels the group it is in: Base UI's `Combobox.GroupLabel`. */
|
|
251
|
+
declare const ComboboxGroupLabel: TOC<ComboboxPartSignature<HTMLDivElement>>;
|
|
252
|
+
/**
|
|
253
|
+
* A line between items or groups: Base UI's `Combobox.Separator`. Base UI gives it
|
|
254
|
+
* `role="separator"`, which a listbox may not hold (axe's `aria-required-children`), so
|
|
255
|
+
* Joinery's is hidden from assistive technology instead, as Radix's Select separator is.
|
|
256
|
+
*/
|
|
257
|
+
declare const ComboboxSeparator: TOC<ComboboxPartSignature<HTMLDivElement>>;
|
|
258
|
+
export interface ComboboxClearSignature {
|
|
259
|
+
Args: {
|
|
260
|
+
/** @internal Bound by the combobox. */
|
|
261
|
+
combobox: Combobox;
|
|
262
|
+
/** The tag to render instead of `button`. */
|
|
263
|
+
as?: TagName;
|
|
264
|
+
};
|
|
265
|
+
Blocks: {
|
|
266
|
+
default: [];
|
|
267
|
+
};
|
|
268
|
+
Element: HTMLButtonElement;
|
|
269
|
+
}
|
|
270
|
+
/**
|
|
271
|
+
* A button that clears the input and the value: Base UI's `Combobox.Clear`. It renders only
|
|
272
|
+
* while there is something to clear.
|
|
273
|
+
*/
|
|
274
|
+
declare const ComboboxClear: TOC<ComboboxClearSignature>;
|
|
275
|
+
export interface ComboboxEmptySignature {
|
|
276
|
+
Args: {
|
|
277
|
+
/** @internal Bound by the combobox. */
|
|
278
|
+
combobox: Combobox;
|
|
279
|
+
/** The tag to render instead of `div`. */
|
|
280
|
+
as?: TagName;
|
|
281
|
+
};
|
|
282
|
+
/** What it says while no item matches. */
|
|
283
|
+
Blocks: {
|
|
284
|
+
default: [];
|
|
285
|
+
};
|
|
286
|
+
Element: HTMLDivElement;
|
|
287
|
+
}
|
|
288
|
+
/**
|
|
289
|
+
* Says so when no item matches: Base UI's `Combobox.Empty`, a polite live region that shows its
|
|
290
|
+
* block only while the filtered list is empty.
|
|
291
|
+
*/
|
|
292
|
+
declare const ComboboxEmpty: TOC<ComboboxEmptySignature>;
|
|
293
|
+
export interface ComboboxValueSignature {
|
|
294
|
+
Args: {
|
|
295
|
+
/** @internal Bound by the combobox. */
|
|
296
|
+
combobox: Combobox;
|
|
297
|
+
/** What it shows while nothing is chosen. */
|
|
298
|
+
placeholder?: string;
|
|
299
|
+
};
|
|
300
|
+
/** Your own rendering of the chosen item (or items, with `@multiple`): `as |value|`. */
|
|
301
|
+
Blocks: {
|
|
302
|
+
default: [value: any];
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
/**
|
|
306
|
+
* The chosen item's label, or the labels of the chosen items joined by commas, or
|
|
307
|
+
* `@placeholder`: Base UI's `Combobox.Value`. It renders no element. With a block, it yields the
|
|
308
|
+
* value (the array of values, with `@multiple`) to render yourself, as the chips do.
|
|
309
|
+
*/
|
|
310
|
+
declare const ComboboxValue: TOC<ComboboxValueSignature>;
|
|
311
|
+
export interface ComboboxCollectionSignature {
|
|
312
|
+
Args: {
|
|
313
|
+
/** The items to render: a group's (its `@items`), or else the filtered list's. */
|
|
314
|
+
items: readonly unknown[];
|
|
315
|
+
};
|
|
316
|
+
Blocks: {
|
|
317
|
+
default: [item: any, index: number];
|
|
318
|
+
};
|
|
319
|
+
}
|
|
320
|
+
/** Base UI's `Combobox.Collection`: renders each item, filtered. */
|
|
321
|
+
declare const ComboboxCollection: TOC<ComboboxCollectionSignature>;
|
|
322
|
+
export interface ComboboxGroupSignature {
|
|
323
|
+
Args: {
|
|
324
|
+
/** @internal Bound by the combobox. */
|
|
325
|
+
combobox: Combobox;
|
|
326
|
+
/** The group's items, filtered: the `items` of a group the List yields. */
|
|
327
|
+
items?: readonly unknown[];
|
|
328
|
+
/** The tag to render instead of `div`. */
|
|
329
|
+
as?: TagName;
|
|
330
|
+
};
|
|
331
|
+
Blocks: {
|
|
332
|
+
default: [ComboboxGroupBlockParams];
|
|
333
|
+
};
|
|
334
|
+
Element: HTMLDivElement;
|
|
335
|
+
}
|
|
336
|
+
export interface ComboboxGroupBlockParams {
|
|
337
|
+
/** Renders each of the group's items: `<g.Collection as |item|>`. */
|
|
338
|
+
Collection: WithBoundArgs<typeof ComboboxCollection, 'items'>;
|
|
339
|
+
}
|
|
340
|
+
/** Items that belong together, `role="group"`, named by its label: Base UI's `Combobox.Group`. */
|
|
341
|
+
declare const ComboboxGroup: TOC<ComboboxGroupSignature>;
|
|
342
|
+
export interface ComboboxListSignature {
|
|
343
|
+
Args: {
|
|
344
|
+
/** @internal Bound by the combobox. */
|
|
345
|
+
combobox: Combobox;
|
|
346
|
+
/** The tag to render instead of `div`. */
|
|
347
|
+
as?: TagName;
|
|
348
|
+
};
|
|
349
|
+
/**
|
|
350
|
+
* Called for each filtered item (or group, when `@items` are groups), as Base UI's List calls
|
|
351
|
+
* its function child: `as |item index|`. Without `@items`, render the items yourself.
|
|
352
|
+
*/
|
|
353
|
+
Blocks: {
|
|
354
|
+
default: [item: any, index: number];
|
|
355
|
+
};
|
|
356
|
+
Element: HTMLDivElement;
|
|
357
|
+
}
|
|
358
|
+
/** The `role="listbox"` that holds the items: Base UI's `Combobox.List`. */
|
|
359
|
+
declare const ComboboxList: TOC<ComboboxListSignature>;
|
|
360
|
+
export interface ComboboxContentSignature {
|
|
361
|
+
Args: ComboboxContentArgs & {
|
|
362
|
+
/** @internal Bound by the combobox. */
|
|
363
|
+
combobox: Combobox;
|
|
364
|
+
};
|
|
365
|
+
Blocks: {
|
|
366
|
+
default: [];
|
|
367
|
+
};
|
|
368
|
+
Element: HTMLDivElement;
|
|
369
|
+
}
|
|
370
|
+
/**
|
|
371
|
+
* The popup: Base UI's `Combobox.Positioner` and `Combobox.Popup` as one element, in the
|
|
372
|
+
* browser's top layer while open (and while it animates out), placed below the input (or the
|
|
373
|
+
* trigger, when the input is inside it, or `@anchor`). A press outside, Escape or focus leaving
|
|
374
|
+
* closes it.
|
|
375
|
+
*/
|
|
376
|
+
export declare class ComboboxContent extends Component<ComboboxContentSignature> {
|
|
377
|
+
get combobox(): Combobox;
|
|
378
|
+
get anchorOptions(): AnchorOptions;
|
|
379
|
+
get reference(): Element | null;
|
|
380
|
+
dismiss: (reason: DismissReason) => void;
|
|
381
|
+
}
|
|
382
|
+
/** What a `<Combobox>` yields: its parts, their modifiers, and its state. */
|
|
383
|
+
export interface ComboboxBlockParams {
|
|
384
|
+
/** The `<input>` that filters the list. For your own input, use `input`. */
|
|
385
|
+
Input: WithBoundArgs<typeof ComboboxInput, 'part'>;
|
|
386
|
+
/** A button that opens and closes the list. */
|
|
387
|
+
Trigger: WithBoundArgs<typeof ComboboxTrigger, 'part'>;
|
|
388
|
+
/** A button that clears the input and the value, rendered while there is a value. */
|
|
389
|
+
Clear: WithBoundArgs<typeof ComboboxClear, 'combobox'>;
|
|
390
|
+
/** The chosen item's label, or a block to render the value yourself. */
|
|
391
|
+
Value: WithBoundArgs<typeof ComboboxValue, 'combobox'>;
|
|
392
|
+
/** The popup, in the top layer while open. */
|
|
393
|
+
Content: WithBoundArgs<typeof ComboboxContent, 'combobox'>;
|
|
394
|
+
/** The `listbox`, which yields each filtered item. */
|
|
395
|
+
List: WithBoundArgs<typeof ComboboxList, 'combobox'>;
|
|
396
|
+
/** One item. */
|
|
397
|
+
Item: WithBoundArgs<typeof ComboboxItem, 'combobox'>;
|
|
398
|
+
/** Items that belong together. */
|
|
399
|
+
Group: WithBoundArgs<typeof ComboboxGroup, 'combobox'>;
|
|
400
|
+
/** The label of the group it is in. */
|
|
401
|
+
GroupLabel: WithBoundArgs<typeof ComboboxGroupLabel, 'part'>;
|
|
402
|
+
/** Renders each item of the filtered list (or of `@items`). */
|
|
403
|
+
Collection: typeof ComboboxCollection;
|
|
404
|
+
/** What it says when nothing matches. */
|
|
405
|
+
Empty: WithBoundArgs<typeof ComboboxEmpty, 'combobox'>;
|
|
406
|
+
/** A line between items or groups. */
|
|
407
|
+
Separator: WithBoundArgs<typeof ComboboxSeparator, 'part'>;
|
|
408
|
+
/** The chips of a multiple combobox, around them and their input. */
|
|
409
|
+
chips: PartModifier;
|
|
410
|
+
/** One chip: a chosen item. */
|
|
411
|
+
Chip: WithBoundArgs<typeof ComboboxChip, 'combobox'>;
|
|
412
|
+
/** Makes your own input the combobox's: `<input {{c.input}}>`. */
|
|
413
|
+
input: PartModifier<HTMLInputElement>;
|
|
414
|
+
/** Makes your own element or component the trigger: `<Button {{c.trigger}}>`. */
|
|
415
|
+
trigger: PartModifier;
|
|
416
|
+
/** Makes your own element or component the clear button. */
|
|
417
|
+
clear: PartModifier;
|
|
418
|
+
/** The chips' element, to place the popup against (`@anchor`), as `useComboboxAnchor`. */
|
|
419
|
+
chipsElement: HTMLElement | null;
|
|
420
|
+
/** The chosen item, or items. */
|
|
421
|
+
value: unknown;
|
|
422
|
+
/** The input's text. */
|
|
423
|
+
inputValue: string;
|
|
424
|
+
/** Whether it is open. */
|
|
425
|
+
isOpen: boolean;
|
|
426
|
+
/** Opens (`true`) or closes (`false`) it. */
|
|
427
|
+
setOpen: (open: boolean) => void;
|
|
428
|
+
/** Chooses an item (or items). */
|
|
429
|
+
setValue: (value: unknown) => void;
|
|
430
|
+
}
|
|
431
|
+
export interface ComboboxSignature {
|
|
432
|
+
Args: ComboboxArgs;
|
|
433
|
+
Blocks: {
|
|
434
|
+
default: [ComboboxBlockParams];
|
|
435
|
+
};
|
|
436
|
+
/** An element with `display: contents`, so it doesn't change the layout. */
|
|
437
|
+
Element: HTMLDivElement;
|
|
438
|
+
}
|
|
439
|
+
/**
|
|
440
|
+
* An input with a list of suggestions: Base UI's Combobox, which shadcn's is built on. It
|
|
441
|
+
* renders no box of its own, and yields its parts:
|
|
442
|
+
*
|
|
443
|
+
* <Combobox @items={{frameworks}} as |c|>
|
|
444
|
+
* <c.Input placeholder="Select a framework" />
|
|
445
|
+
* <c.Content>
|
|
446
|
+
* <c.Empty>No items found.</c.Empty>
|
|
447
|
+
* <c.List as |item|>
|
|
448
|
+
* <c.Item @value={{item}}>{{item}}</c.Item>
|
|
449
|
+
* </c.List>
|
|
450
|
+
* </c.Content>
|
|
451
|
+
* </Combobox>
|
|
452
|
+
*
|
|
453
|
+
* Typing filters `@items` (an `Intl.Collator` match anywhere in the label, as Base UI's) and
|
|
454
|
+
* opens the list; the arrow keys highlight an item while focus stays in the input, and Enter or
|
|
455
|
+
* a press chooses it. With `@multiple` the value is an array, shown as chips.
|
|
456
|
+
*/
|
|
457
|
+
export declare class Combobox extends Component<ComboboxSignature> {
|
|
458
|
+
#private;
|
|
459
|
+
openState: ControllableState<NonNullable<boolean | undefined>>;
|
|
460
|
+
valueState: ControllableState<unknown>;
|
|
461
|
+
inputState: ControllableState<string>;
|
|
462
|
+
inputRef: ElementRef<HTMLInputElement>;
|
|
463
|
+
triggerRef: ElementRef<HTMLElement>;
|
|
464
|
+
clearRef: ElementRef<HTMLElement>;
|
|
465
|
+
chipsRef: ElementRef<HTMLElement>;
|
|
466
|
+
popupRef: ElementRef<HTMLElement>;
|
|
467
|
+
listRef: ElementRef<HTMLElement>;
|
|
468
|
+
/** The highlighted item's index among the rendered items, or `null`. */
|
|
469
|
+
activeIndex: number | null;
|
|
470
|
+
/** Where the list is in its life, whether a query was typed, and the query frozen as it goes. */
|
|
471
|
+
listMode: import("./-private/combobox-list.ts").ComboboxList;
|
|
472
|
+
/** Whether an input outside the popup has registered (so the input isn't inside it). */
|
|
473
|
+
hasOutsideInput: boolean;
|
|
474
|
+
/** The chip that has focus, for the arrow keys. */
|
|
475
|
+
highlightedChip: number | undefined;
|
|
476
|
+
private itemsVersion;
|
|
477
|
+
constructor(owner: Owner, args: ComboboxArgs);
|
|
478
|
+
/** Without `@inputValue` or `@defaultInputValue`, a single combobox's input starts with its value's label. */
|
|
479
|
+
get initialInputValue(): string | undefined;
|
|
480
|
+
get id(): string;
|
|
481
|
+
get listId(): string;
|
|
482
|
+
get popupId(): string;
|
|
483
|
+
get isOpen(): boolean;
|
|
484
|
+
get isMultiple(): boolean;
|
|
485
|
+
get isSingle(): boolean;
|
|
486
|
+
get isSelectable(): boolean;
|
|
487
|
+
get isDisabled(): boolean;
|
|
488
|
+
get isReadOnly(): boolean;
|
|
489
|
+
get highlightOnHover(): boolean;
|
|
490
|
+
get loopFocus(): boolean;
|
|
491
|
+
get autoHighlight(): false | 'input-change' | 'always';
|
|
492
|
+
get value(): unknown;
|
|
493
|
+
get values(): unknown[];
|
|
494
|
+
get inputValue(): string;
|
|
495
|
+
/** Whether the input is inside the popup (as in shadcn's "Popup" example): no input outside it. */
|
|
496
|
+
get inputInsidePopup(): boolean;
|
|
497
|
+
get isEqual(): (a: unknown, b: unknown) => boolean;
|
|
498
|
+
isSelected(item: unknown): boolean;
|
|
499
|
+
/** Whether there is a value to clear (and so whether Clear renders). */
|
|
500
|
+
get hasValue(): boolean;
|
|
501
|
+
/** The chosen item's label, or the chosen items' labels joined by commas. */
|
|
502
|
+
get valueLabel(): string;
|
|
503
|
+
get hasItems(): boolean;
|
|
504
|
+
get isGrouped(): boolean;
|
|
505
|
+
get query(): string;
|
|
506
|
+
get collator(): ComboboxFilter;
|
|
507
|
+
get selectedLabel(): string;
|
|
508
|
+
/**
|
|
509
|
+
* Whether to show every item though there is a query: a single combobox's input shows its
|
|
510
|
+
* value's label, which the user hasn't changed since it opened.
|
|
511
|
+
*/
|
|
512
|
+
get bypassesFiltering(): boolean;
|
|
513
|
+
get filter(): ComboboxFilterFunction;
|
|
514
|
+
/** What the list shows: the filtered items (or groups of them), limited to `@limit`. */
|
|
515
|
+
get filteredItems(): readonly unknown[];
|
|
516
|
+
get flatFilteredItems(): readonly unknown[];
|
|
517
|
+
get isEmpty(): boolean;
|
|
518
|
+
/** The items rendered now, in document order. */
|
|
519
|
+
get items(): ComboboxItem[];
|
|
520
|
+
get trackedItems(): ComboboxItem[];
|
|
521
|
+
get chipItems(): ComboboxChip[];
|
|
522
|
+
registerItem(item: ComboboxItem): () => void;
|
|
523
|
+
registerChip(chip: ComboboxChip): () => void;
|
|
524
|
+
/** The highlighted item, if any. */
|
|
525
|
+
get activeItem(): ComboboxItem | undefined;
|
|
526
|
+
/** The index of the (last) chosen item among the rendered items, or `null`. */
|
|
527
|
+
get selectedIndex(): number | null;
|
|
528
|
+
highlight: (index: number | null) => void;
|
|
529
|
+
setInputValue(next: string, reason: Reason, event?: Event): void;
|
|
530
|
+
setOpen: (next: boolean, reason?: Reason) => void;
|
|
531
|
+
setSelectedValue(next: unknown, reason: Reason): void;
|
|
532
|
+
setValue: (value: unknown) => void;
|
|
533
|
+
/** An item was chosen: Base UI's `handleSelection`. */
|
|
534
|
+
handleSelection(event: Event, item: unknown): void;
|
|
535
|
+
removeChip(value: unknown, reason: Reason): void;
|
|
536
|
+
/** The popup has gone (after any exit animation): Base UI's `handleUnmount`. */
|
|
537
|
+
unmounted(): void;
|
|
538
|
+
/** Base UI's list navigation, virtual: the arrows move the highlight, focus stays in the input. */
|
|
539
|
+
navigate(event: KeyboardEvent): void;
|
|
540
|
+
inputKeyDown: (event: KeyboardEvent) => void;
|
|
541
|
+
onInput: (event: Event) => void;
|
|
542
|
+
/** A press on the input (or the chips) opens the list, as Base UI's `useClick` on mousedown. */
|
|
543
|
+
inputPress: (event: MouseEvent) => void;
|
|
544
|
+
input: PartModifier<HTMLInputElement>;
|
|
545
|
+
trigger: PartModifier;
|
|
546
|
+
clear: PartModifier;
|
|
547
|
+
chipsPart: PartModifier;
|
|
548
|
+
get chipsElement(): HTMLElement | null;
|
|
549
|
+
/** What the popup is placed against: the trigger when the input is inside it, else the input. */
|
|
550
|
+
get anchorElement(): Element | null;
|
|
551
|
+
/** What counts as inside the popup, for dismissal: the input and the buttons and chips around it. */
|
|
552
|
+
get insideElements(): Array<Element | null>;
|
|
553
|
+
popup: PartModifier;
|
|
554
|
+
list: PartModifier;
|
|
555
|
+
groupLabel: PartModifier;
|
|
556
|
+
separator: PartModifier;
|
|
557
|
+
get formValues(): string[];
|
|
558
|
+
openWith: (open: boolean) => void;
|
|
559
|
+
/** Keeps the registered input's text the combobox's, whichever element it is. */
|
|
560
|
+
syncInput: import("ember-modifier").FunctionBasedModifier<{
|
|
561
|
+
Args: {
|
|
562
|
+
Positional: [string];
|
|
563
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
564
|
+
};
|
|
565
|
+
Element: HTMLElement;
|
|
566
|
+
}>;
|
|
567
|
+
}
|
|
568
|
+
export default Combobox;
|
|
569
|
+
//# sourceM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