@ember-joinery/primitives 0.0.0-stage → 1.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 +480 -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 +311 -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,142 @@
|
|
|
1
|
+
/** The days of the week, 0 for Sunday to 6 for Saturday, as `Date#getDay()` numbers them. */
|
|
2
|
+
export type DayOfWeekNumber = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
3
|
+
/** A date at local midnight, from its year, month (0 for January) and day. Any year works. */
|
|
4
|
+
export declare function makeDate(year: number, month: number, day: number): Date;
|
|
5
|
+
/** The day `date` falls on, at local midnight. */
|
|
6
|
+
export declare function startOfDay(date: Date): Date;
|
|
7
|
+
/**
|
|
8
|
+
* `date` moved by `amount` days (back, when negative), at local midnight: the calendar day, so
|
|
9
|
+
* a daylight-saving change never moves it by an hour.
|
|
10
|
+
*/
|
|
11
|
+
export declare function addDays(date: Date, amount: number): Date;
|
|
12
|
+
/** Whether two dates fall on the same day. */
|
|
13
|
+
export declare function isSameDay(a: Date, b: Date): boolean;
|
|
14
|
+
/** Compares the days two dates fall on: negative when `a` is earlier, 0 on the same day. */
|
|
15
|
+
export declare function compareDays(a: Date, b: Date): number;
|
|
16
|
+
/** How many days from `b` to `a`, counting calendar days (negative when `a` is earlier). */
|
|
17
|
+
export declare function differenceInDays(a: Date, b: Date): number;
|
|
18
|
+
/** The day as `yyyy-MM-dd`, in local time: the key Joinery's parts carry in `data-day`. */
|
|
19
|
+
export declare function isoDate(date: Date): string;
|
|
20
|
+
/** The month as `yyyy-MM`, in local time (Gregorian), as upstream's `data-month`. */
|
|
21
|
+
export declare function isoMonth(date: Date): string;
|
|
22
|
+
/** A `yyyy-MM-dd` string as a date at local midnight (`new Date('2026-01-12')` would be UTC's). */
|
|
23
|
+
export declare function parseIsoDate(value: string): Date;
|
|
24
|
+
/** The first day of the week `date` is in, for weeks starting on `weekStartsOn`. */
|
|
25
|
+
export declare function startOfWeek(date: Date, weekStartsOn: DayOfWeekNumber): Date;
|
|
26
|
+
/** The last day of the week `date` is in. */
|
|
27
|
+
export declare function endOfWeek(date: Date, weekStartsOn: DayOfWeekNumber): Date;
|
|
28
|
+
/**
|
|
29
|
+
* A calendar's months and years. Each date is still a `Date`; the system says which year, month
|
|
30
|
+
* and day it is in that calendar, and how to move by months and years.
|
|
31
|
+
*/
|
|
32
|
+
export interface CalendarSystem {
|
|
33
|
+
/** Its `Intl` name: `gregory`, `persian`, `islamic-umalqura`… */
|
|
34
|
+
readonly id: string;
|
|
35
|
+
/** The year `date` is in. */
|
|
36
|
+
year(date: Date): number;
|
|
37
|
+
/** Which month of its year `date` is in, from 0. */
|
|
38
|
+
month(date: Date): number;
|
|
39
|
+
/** Its day of the month, from 1. */
|
|
40
|
+
day(date: Date): number;
|
|
41
|
+
/** The first day of the month `date` is in. */
|
|
42
|
+
startOfMonth(date: Date): Date;
|
|
43
|
+
/** The last day of the month `date` is in. */
|
|
44
|
+
endOfMonth(date: Date): Date;
|
|
45
|
+
/** How many days the month `date` is in has. */
|
|
46
|
+
daysInMonth(date: Date): number;
|
|
47
|
+
/** How many months `year` has (13 in a Hebrew leap year). */
|
|
48
|
+
monthsInYear(year: number): number;
|
|
49
|
+
/** The first day of month `month` (from 0, at most the year's last) of `year`. */
|
|
50
|
+
monthStart(year: number, month: number): Date;
|
|
51
|
+
/** `date` moved by `amount` months, on the same day of the month or its last. */
|
|
52
|
+
addMonths(date: Date, amount: number): Date;
|
|
53
|
+
/** `date` moved by `amount` years, in the same month and day, or the nearest there is. */
|
|
54
|
+
addYears(date: Date, amount: number): Date;
|
|
55
|
+
}
|
|
56
|
+
/**
|
|
57
|
+
* The calendar system `Intl` calls `id`: `gregory` (and those with Gregorian months, such as
|
|
58
|
+
* `buddhist` and `japanese`) natively, anything else Intl knows through Intl. An `id` Intl
|
|
59
|
+
* doesn't know is Gregorian.
|
|
60
|
+
*/
|
|
61
|
+
export declare function calendarSystem(id: string | undefined): CalendarSystem;
|
|
62
|
+
/** Where a locale's weeks start, and how many days of a new year its first week needs. */
|
|
63
|
+
export interface WeekInfo {
|
|
64
|
+
firstDay: DayOfWeekNumber;
|
|
65
|
+
minimalDays: number;
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* The week a locale uses: its first day from `Intl.Locale#getWeekInfo()`, and the days a first
|
|
69
|
+
* week needs from CLDR's data (Intl no longer gives them), as is the first day without Intl's.
|
|
70
|
+
*/
|
|
71
|
+
export declare function weekInfo(locale: string): WeekInfo;
|
|
72
|
+
/**
|
|
73
|
+
* The week number of `date`, as date-fns' `getWeek` counts it (react-day-picker's): week 1 is the
|
|
74
|
+
* week holding day `firstWeekContainsDate` of the year, in `system`'s years.
|
|
75
|
+
*/
|
|
76
|
+
export declare function weekNumber(date: Date, system: CalendarSystem, weekStartsOn: DayOfWeekNumber, firstWeekContainsDate: number): number;
|
|
77
|
+
/** A range of days. While it's being picked, `to` is unset. */
|
|
78
|
+
export interface DateRange {
|
|
79
|
+
from: Date | undefined;
|
|
80
|
+
to?: Date | undefined;
|
|
81
|
+
}
|
|
82
|
+
/** The days before `before`. */
|
|
83
|
+
export interface DateBefore {
|
|
84
|
+
before: Date;
|
|
85
|
+
}
|
|
86
|
+
/** The days after `after`. */
|
|
87
|
+
export interface DateAfter {
|
|
88
|
+
after: Date;
|
|
89
|
+
}
|
|
90
|
+
/** The days between `after` and `before` (both left out), or outside them when `after` is later. */
|
|
91
|
+
export interface DateInterval {
|
|
92
|
+
before: Date;
|
|
93
|
+
after: Date;
|
|
94
|
+
}
|
|
95
|
+
/** The days falling on these days of the week (0 for Sunday). */
|
|
96
|
+
export interface DayOfWeek {
|
|
97
|
+
dayOfWeek: number | number[];
|
|
98
|
+
}
|
|
99
|
+
/**
|
|
100
|
+
* Which days something applies to, as react-day-picker's matchers: `true` (every day), a date,
|
|
101
|
+
* several dates, a range (`{ from, to }`), `{ before }`, `{ after }`, both, `{ dayOfWeek }`, or a
|
|
102
|
+
* function of the date. `@disabled`, `@hidden` and `@modifiers` take one, or an array of them.
|
|
103
|
+
*/
|
|
104
|
+
export type Matcher = boolean | Date | Date[] | DateRange | DateBefore | DateAfter | DateInterval | DayOfWeek | ((date: Date) => boolean);
|
|
105
|
+
/** Whether `range` holds `date`; with `excludeEnds`, its first and last days don't count. */
|
|
106
|
+
export declare function rangeIncludesDate(range: DateRange, date: Date, excludeEnds?: boolean): boolean;
|
|
107
|
+
/** Whether `date` matches any of `matchers` (see `Matcher`). */
|
|
108
|
+
export declare function isMatch(date: Date, matchers: Matcher | Matcher[] | undefined): boolean;
|
|
109
|
+
/** Whether any day of a range matches `matchers`. */
|
|
110
|
+
export declare function rangeContainsMatch(range: {
|
|
111
|
+
from: Date;
|
|
112
|
+
to: Date;
|
|
113
|
+
}, matchers: Matcher | Matcher[]): boolean;
|
|
114
|
+
/**
|
|
115
|
+
* The range a click on `date` makes of `range`, as react-day-picker's `addToRange`: the first
|
|
116
|
+
* click starts a range, the next ends it (or starts it earlier), and a click on an end moves it.
|
|
117
|
+
* `min` and `max` bound the range's length in days, and `required` keeps a range from emptying.
|
|
118
|
+
*/
|
|
119
|
+
export declare function addToRange(date: Date, range: DateRange | undefined, min?: number, max?: number, required?: boolean): DateRange | undefined;
|
|
120
|
+
/** A locale, calendar and numbering system, and the Intl formatting they give. */
|
|
121
|
+
export interface CalendarLocale {
|
|
122
|
+
/** The BCP 47 tag Intl formats with, its calendar and numbering system included. */
|
|
123
|
+
readonly tag: string;
|
|
124
|
+
/** Its language, `en` for `en-US`. */
|
|
125
|
+
readonly language: string;
|
|
126
|
+
/** The calendar, as Intl names it: `gregory`, `persian`… */
|
|
127
|
+
readonly calendar: string;
|
|
128
|
+
/** The numbering system, as Intl names it: `latn`, `arab`, `arabext`… */
|
|
129
|
+
readonly numerals: string;
|
|
130
|
+
/** Formats a date with Intl, in this locale, calendar and numbering system. */
|
|
131
|
+
format(date: Date, options: Intl.DateTimeFormatOptions): string;
|
|
132
|
+
/** Formats a number with Intl, in this locale's numbering system. */
|
|
133
|
+
formatNumber(value: number, options?: Intl.NumberFormatOptions): string;
|
|
134
|
+
}
|
|
135
|
+
/**
|
|
136
|
+
* A `CalendarLocale` for `locale` (default `en-US`, as react-day-picker's). The calendar is
|
|
137
|
+
* `calendar`, else the one the tag names (`-u-ca-persian`), else Gregorian; the numbering system
|
|
138
|
+
* is `numerals`, else the tag's (`-u-nu-arab`), else Latin digits. Those defaults are
|
|
139
|
+
* react-day-picker's: Arabic month names in a Gregorian calendar for `ar-SA`, unless asked.
|
|
140
|
+
*/
|
|
141
|
+
export declare function calendarLocale(locale: string | undefined, calendar?: string, numerals?: string): CalendarLocale;
|
|
142
|
+
//# sourceMappingURL=dates.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dates.d.ts","sourceRoot":"","sources":["../../src/calendar/dates.ts"],"names":[],"mappings":"AAOA,6FAA6F;AAC7F,MAAM,MAAM,eAAe,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAA;AAEvD,8FAA8F;AAC9F,wBAAgB,QAAQ,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,EAAE,MAAM,GAAG,IAAI,CAIvE;AAED,kDAAkD;AAClD,wBAAgB,UAAU,CAAC,IAAI,EAAE,I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AyE;IACzE,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAA;IACzB,+EAA+E;IAC/E,MAAM,CAAC,IAAI,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,CAAC,qBAAqB,GAAG,MAAM,CAAA;IAC/D,qEAAqE;IACrE,YAAY,CAAC,KAAK,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,IAAI,CAAC,mBAAmB,GAAG,MAAM,CAAA;CACxE;AAMD;;;;;GAKG;AACH,wBAAgB,cAAc,CAC5B,MAAM,EAAE,MAAM,GAAG,SAAS,EAC1B,QAAQ,CAAC,EAAE,MAAM,EACjB,QAAQ,CAAC,EAAE,MAAM,GAChB,cAAc,CA6ChB"}
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
import Component from '@glimmer/component';
|
|
2
|
+
import { CalendarState, type CalendarArgs, type CalendarClassNames, type CalendarDay } from './state.ts';
|
|
3
|
+
export { CalendarState, defaultCalendarClassNames, defaultCalendarFormatters, defaultCalendarLabels, } from './state.ts';
|
|
4
|
+
export type { CalendarArgs, CalendarClassNames, CalendarDay, CalendarDropdownOption, CalendarFormatters, CalendarLabels, CalendarModifiers, CalendarMode, CalendarMonth, CalendarSelectDetails, CalendarValue, CalendarWeek, CalendarWeekday, CaptionLayout, } from './state.ts';
|
|
5
|
+
export { addDays, addToRange, calendarLocale, calendarSystem, isMatch, isSameDay, isoDate, parseIsoDate, rangeIncludesDate, startOfDay, weekInfo, } from './dates.ts';
|
|
6
|
+
export type { CalendarLocale, CalendarSystem, DateAfter, DateBefore, DateInterval, DateRange, DayOfWeek, DayOfWeekNumber, Matcher, WeekInfo, } from './dates.ts';
|
|
7
|
+
/** Which way a chevron points: back, forward, or down (a dropdown's). */
|
|
8
|
+
export type ChevronOrientation = 'left' | 'right' | 'down';
|
|
9
|
+
export interface CalendarSignature {
|
|
10
|
+
Args: CalendarArgs & {
|
|
11
|
+
/**
|
|
12
|
+
* A class for each part and state, as react-day-picker's `classNames`; each replaces that
|
|
13
|
+
* part's `rdp-<part>`.
|
|
14
|
+
*/
|
|
15
|
+
classNames?: Partial<CalendarClassNames>;
|
|
16
|
+
/** Its name, for `CalendarHarness` (`data-test-jn-name`). */
|
|
17
|
+
name?: string;
|
|
18
|
+
};
|
|
19
|
+
Blocks: {
|
|
20
|
+
/** A chevron of your own, in place of the default: which way it points, and its class. */
|
|
21
|
+
chevron: [orientation: ChevronOrientation, className: string];
|
|
22
|
+
/** What a day's button shows, in place of its number (`day.label`). */
|
|
23
|
+
day: [day: CalendarDay];
|
|
24
|
+
};
|
|
25
|
+
Element: HTMLDivElement;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* A calendar, headless: react-day-picker's `DayPicker`, which Joinery's `<Calendar>` replaces.
|
|
29
|
+
* It renders react-day-picker's markup (a grid for each month, with its caption and weekday
|
|
30
|
+
* names, and a button for each day) with react-day-picker's `rdp-*` classes, or yours
|
|
31
|
+
* (`@classNames`), and no styles; the styled `<Calendar>` in `@ember-joinery/ember` renders the
|
|
32
|
+
* same from the same `CalendarState`, in shadcn's style.
|
|
33
|
+
*
|
|
34
|
+
* <Calendar @mode="single" @value={{this.date}} @onValueChange={{this.setDate}} />
|
|
35
|
+
* <Calendar @mode="range" @numberOfMonths={{2}} @disabled={{this.isPast}} />
|
|
36
|
+
*
|
|
37
|
+
* Dates go in and out as `Date`s, a range as `{ from, to }`, and every name and number comes
|
|
38
|
+
* from Intl in `@locale`, so there is no date library. The days are a grid: one is in the tab
|
|
39
|
+
* order, and the arrow keys, Page Up and Down, Home and End move between them.
|
|
40
|
+
*/
|
|
41
|
+
export declare class Calendar extends Component<CalendarSignature> {
|
|
42
|
+
state: CalendarState;
|
|
43
|
+
get cls(): CalendarClassNames;
|
|
44
|
+
get rootClass(): string;
|
|
45
|
+
get requiredAttribute(): string | undefined;
|
|
46
|
+
get navLabel(): string | undefined;
|
|
47
|
+
get previousLabel(): string;
|
|
48
|
+
get nextLabel(): string;
|
|
49
|
+
get monthDropdownLabel(): string;
|
|
50
|
+
get yearDropdownLabel(): string;
|
|
51
|
+
get weekNumberHeaderLabel(): string;
|
|
52
|
+
get weekNumberHeader(): string;
|
|
53
|
+
get multipleMonths(): string | undefined;
|
|
54
|
+
get previousDisabled(): boolean;
|
|
55
|
+
get nextDisabled(): boolean;
|
|
56
|
+
dropdownClass: (part: "months_dropdown" | "years_dropdown") => string;
|
|
57
|
+
}
|
|
58
|
+
export default Calendar;
|
|
59
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/calendar/index.gts"],"names":[],"mappings":"AA+ZA,OAAO,SAAS,MAAM,oBAAoB,CAAA;AAK1C,OAAO,EACL,aAAa,EACb,KAAK,YAAY,EACjB,KAAK,kBAAkB,EACvB,KAAK,WAAW,EACjB,MAAM,YAAY,CAAA;AAEnB,OAAO,EACL,aAAa,EACb,yBAAyB,EACzB,yBAAyB,EACzB,qBAAqB,GACtB,MAAM,YAAY,CAAA;AACnB,YAAY,EACV,YAAY,EACZ,kBAAkB,EAClB,WAAW,EACX,sBAAsB,EACtB,kBAAkB,EAClB,cAAc,EACd,iBAAiB,EACjB,YAAY,EACZ,aAAa,EACb,qBAAqB,EACrB,aAAa,EACb,YAAY,EACZ,eAAe,EACf,aAAa,GACd,MAAM,YAAY,CAAA;AACnB,OAAO,EACL,OAAO,EACP,UAAU,EACV,cAAc,EACd,cAAc,EACd,OAAO,EACP,SAAS,EACT,OAAO,EACP,YAAY,EACZ,iBAAiB,EACjB,UAAU,EACV,QAAQ,GACT,MAAM,YAAY,CAAA;AACnB,YAAY,EACV,cAAc,EACd,cAAc,EACd,SAAS,EACT,UAAU,EACV,YAAY,EACZ,SAAS,EACT,SAAS,EACT,eAAe,EACf,OAAO,EACP,QAAQ,GACT,MAAM,YAAY,CAAA;AAEnB,yEAAyE;AACzE,MAAM,MAAM,kBAAkB,GAAG,MAAM,GAAG,OAAO,GAA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import { type Direction } from '../direction';
|
|
3
|
+
import { type CalendarLocale, type CalendarSystem, type DateRange, type DayOfWeekNumber, type Matcher } from './dates.ts';
|
|
4
|
+
/** How a calendar selects: one day, any number of days, or a range. */
|
|
5
|
+
export type CalendarMode = 'single' | 'multiple' | 'range';
|
|
6
|
+
/**
|
|
7
|
+
* What a month's caption shows: its name (`label`), or a month and a year dropdown, or only one
|
|
8
|
+
* of them, as react-day-picker's `captionLayout`.
|
|
9
|
+
*/
|
|
10
|
+
export type CaptionLayout = 'label' | 'dropdown' | 'dropdown-months' | 'dropdown-years';
|
|
11
|
+
/** A calendar's selection: a date (`single`), dates (`multiple`) or a range (`range`). */
|
|
12
|
+
export type CalendarValue = Date | Date[] | DateRange | undefined;
|
|
13
|
+
/**
|
|
14
|
+
* What applies to a day, as react-day-picker's modifiers: its own flags, its selection, and one
|
|
15
|
+
* entry for each of the calendar's `@modifiers`.
|
|
16
|
+
*/
|
|
17
|
+
export interface CalendarModifiers {
|
|
18
|
+
today: boolean;
|
|
19
|
+
outside: boolean;
|
|
20
|
+
disabled: boolean;
|
|
21
|
+
hidden: boolean;
|
|
22
|
+
focused: boolean;
|
|
23
|
+
selected: boolean;
|
|
24
|
+
range_start: boolean;
|
|
25
|
+
range_middle: boolean;
|
|
26
|
+
range_end: boolean;
|
|
27
|
+
[modifier: string]: boolean;
|
|
28
|
+
}
|
|
29
|
+
/** What `@onValueChange` hears with the new selection: the day pressed and its modifiers. */
|
|
30
|
+
export interface CalendarSelectDetails {
|
|
31
|
+
date: Date;
|
|
32
|
+
modifiers: CalendarModifiers;
|
|
33
|
+
event: Event;
|
|
34
|
+
}
|
|
35
|
+
/**
|
|
36
|
+
* The text a calendar formats, each from Intl in the calendar's locale (`CalendarLocale`), as
|
|
37
|
+
* react-day-picker's formatters. Pass any of them in `@formatters` to change it.
|
|
38
|
+
*/
|
|
39
|
+
export interface CalendarFormatters {
|
|
40
|
+
/** A month's caption: `January 2026`. */
|
|
41
|
+
formatCaption(month: Date, locale: CalendarLocale): string;
|
|
42
|
+
/** A day's number: `12`. */
|
|
43
|
+
formatDay(date: Date, locale: CalendarLocale): string;
|
|
44
|
+
/** An option in the month dropdown: `January`. */
|
|
45
|
+
formatMonthDropdown(month: Date, locale: CalendarLocale): string;
|
|
46
|
+
/** An option in the year dropdown: `2026`. */
|
|
47
|
+
formatYearDropdown(year: Date, locale: CalendarLocale): string;
|
|
48
|
+
/** A column's heading: `Su`. */
|
|
49
|
+
formatWeekdayName(weekday: Date, locale: CalendarLocale): string;
|
|
50
|
+
/** A week's number: `03`. */
|
|
51
|
+
formatWeekNumber(weekNumber: number, locale: CalendarLocale): string;
|
|
52
|
+
/** The heading over the week numbers: none. */
|
|
53
|
+
formatWeekNumberHeader(locale: CalendarLocale): string;
|
|
54
|
+
}
|
|
55
|
+
/**
|
|
56
|
+
* The names a calendar gives its parts, for assistive technology, as react-day-picker's labels,
|
|
57
|
+
* in English by default. Pass any of them in `@labels` for words of your own.
|
|
58
|
+
*/
|
|
59
|
+
export interface CalendarLabels {
|
|
60
|
+
/** A day's button: `Today, Monday, January 12, 2026, selected`. */
|
|
61
|
+
labelDayButton(date: Date, modifiers: CalendarModifiers, locale: CalendarLocale): string;
|
|
62
|
+
/** A day's cell, when the days aren't buttons (no `@mode`). */
|
|
63
|
+
labelGridcell(date: Date, modifiers: CalendarModifiers, locale: CalendarLocale): string;
|
|
64
|
+
/** A month's grid: `January 2026`. */
|
|
65
|
+
labelGrid(month: Date, locale: CalendarLocale): string;
|
|
66
|
+
/** The month dropdown: `Choose the Month`. */
|
|
67
|
+
labelMonthDropdown(locale: CalendarLocale): string;
|
|
68
|
+
/** The year dropdown: `Choose the Year`. */
|
|
69
|
+
labelYearDropdown(locale: CalendarLocale): string;
|
|
70
|
+
/** The navigation: none, as upstream's. */
|
|
71
|
+
labelNav(locale: CalendarLocale): string;
|
|
72
|
+
/** The next-month button: `Go to the Next Month`. */
|
|
73
|
+
labelNext(month: Date | undefined, locale: CalendarLocale): string;
|
|
74
|
+
/** The previous-month button: `Go to the Previous Month`. */
|
|
75
|
+
labelPrevious(month: Date | undefined, locale: CalendarLocale): string;
|
|
76
|
+
/** A column: `Sunday`. */
|
|
77
|
+
labelWeekday(weekday: Date, locale: CalendarLocale): string;
|
|
78
|
+
/** A week's number: `Week 3`. */
|
|
79
|
+
labelWeekNumber(weekNumber: number, locale: CalendarLocale): string;
|
|
80
|
+
/** The week numbers' column: `Week Number`. */
|
|
81
|
+
labelWeekNumberHeader(locale: CalendarLocale): string;
|
|
82
|
+
}
|
|
83
|
+
/** Intl's formatting, as react-day-picker formats with date-fns. */
|
|
84
|
+
export declare const defaultCalendarFormatters: CalendarFormatters;
|
|
85
|
+
/** react-day-picker's English labels, with Intl's full date for each day. */
|
|
86
|
+
export declare const defaultCalendarLabels: CalendarLabels;
|
|
87
|
+
/** The parts and states react-day-picker gives a class each (`classNames`). */
|
|
88
|
+
export interface CalendarClassNames {
|
|
89
|
+
root: string;
|
|
90
|
+
months: string;
|
|
91
|
+
month: string;
|
|
92
|
+
nav: string;
|
|
93
|
+
button_previous: string;
|
|
94
|
+
button_next: string;
|
|
95
|
+
chevron: string;
|
|
96
|
+
month_caption: string;
|
|
97
|
+
caption_label: string;
|
|
98
|
+
dropdowns: string;
|
|
99
|
+
dropdown_root: string;
|
|
100
|
+
dropdown: string;
|
|
101
|
+
months_dropdown: string;
|
|
102
|
+
years_dropdown: string;
|
|
103
|
+
month_grid: string;
|
|
104
|
+
weekdays: string;
|
|
105
|
+
weekday: string;
|
|
106
|
+
weeks: string;
|
|
107
|
+
week: string;
|
|
108
|
+
week_number_header: string;
|
|
109
|
+
week_number: string;
|
|
110
|
+
day: string;
|
|
111
|
+
day_button: string;
|
|
112
|
+
footer: string;
|
|
113
|
+
today: string;
|
|
114
|
+
outside: string;
|
|
115
|
+
disabled: string;
|
|
116
|
+
hidden: string;
|
|
117
|
+
focused: string;
|
|
118
|
+
selected: string;
|
|
119
|
+
range_start: string;
|
|
120
|
+
range_middle: string;
|
|
121
|
+
range_end: string;
|
|
122
|
+
}
|
|
123
|
+
/** react-day-picker's default classes, `rdp-<part>`: what the styled Calendar renders too. */
|
|
124
|
+
export declare const defaultCalendarClassNames: CalendarClassNames;
|
|
125
|
+
/** What a calendar takes: the styled `<Calendar>` and the headless one alike. */
|
|
126
|
+
export interface CalendarArgs {
|
|
127
|
+
/** How it selects: `single`, `multiple` or `range`. Without one, the days aren't buttons. */
|
|
128
|
+
mode?: CalendarMode;
|
|
129
|
+
/**
|
|
130
|
+
* The selection, controlled: a `Date` (`single`), `Date[]` (`multiple`) or `{ from, to }`
|
|
131
|
+
* (`range`). With `@onValueChange` and no `@defaultValue`, it is controlled even while
|
|
132
|
+
* `undefined`, so nothing is selected until you pass a value.
|
|
133
|
+
*/
|
|
134
|
+
value?: Date | Date[] | DateRange;
|
|
135
|
+
/** The first selection, uncontrolled. */
|
|
136
|
+
defaultValue?: Date | Date[] | DateRange;
|
|
137
|
+
/** Called with each new selection (`undefined` when emptied), and the day pressed. */
|
|
138
|
+
onValueChange?(value: CalendarValue, details: CalendarSelectDetails): void;
|
|
139
|
+
/** Whether the selection can't be emptied: pressing the selected day keeps it. */
|
|
140
|
+
required?: boolean;
|
|
141
|
+
/** `multiple`: the fewest days it keeps. `range`: the fewest nights a range spans. */
|
|
142
|
+
min?: number;
|
|
143
|
+
/** `multiple`: the most days (a press past it starts again). `range`: the most nights. */
|
|
144
|
+
max?: number;
|
|
145
|
+
/** `range`: start again when a range would hold a disabled day. */
|
|
146
|
+
excludeDisabled?: boolean;
|
|
147
|
+
/** The first month shown, controlled. Any day of it. */
|
|
148
|
+
month?: Date;
|
|
149
|
+
/** The first month shown at first. Default: today's. */
|
|
150
|
+
defaultMonth?: Date;
|
|
151
|
+
/** Called with the first day of each new first month. */
|
|
152
|
+
onMonthChange?: (month: Date) => void;
|
|
153
|
+
/** The earliest month you can go to. With a year dropdown, default 100 years back. */
|
|
154
|
+
startMonth?: Date;
|
|
155
|
+
/** The latest month you can go to. With a year dropdown, default the end of this year. */
|
|
156
|
+
endMonth?: Date;
|
|
157
|
+
/** How many months it shows side by side. Default 1. */
|
|
158
|
+
numberOfMonths?: number;
|
|
159
|
+
/** Whether the buttons move by `@numberOfMonths` rather than one month. */
|
|
160
|
+
pagedNavigation?: boolean;
|
|
161
|
+
/** What each month's caption shows. Default `label`. */
|
|
162
|
+
captionLayout?: CaptionLayout;
|
|
163
|
+
/** Whether it shows the days of the months around each one (as `outside` days). */
|
|
164
|
+
showOutsideDays?: boolean;
|
|
165
|
+
/** Whether every month shows six weeks. */
|
|
166
|
+
fixedWeeks?: boolean;
|
|
167
|
+
/** Whether a column of week numbers goes before the days. */
|
|
168
|
+
showWeekNumber?: boolean;
|
|
169
|
+
/** Whether the row of weekday names is left out. */
|
|
170
|
+
hideWeekdays?: boolean;
|
|
171
|
+
/** Whether the previous and next buttons are left out. */
|
|
172
|
+
hideNavigation?: boolean;
|
|
173
|
+
/** Whether you can't move to another month. */
|
|
174
|
+
disableNavigation?: boolean;
|
|
175
|
+
/** The days you can't select (see `Matcher`). */
|
|
176
|
+
disabled?: Matcher | Matcher[];
|
|
177
|
+
/** The days that aren't shown. */
|
|
178
|
+
hidden?: Matcher | Matcher[];
|
|
179
|
+
/** Modifiers of your own, by name: each day it matches has it, and its class. */
|
|
180
|
+
modifiers?: Record<string, Matcher | Matcher[] | undefined>;
|
|
181
|
+
/** Classes for modifiers, by name; one for a built-in modifier replaces its class. */
|
|
182
|
+
modifiersClassNames?: Record<string, string>;
|
|
183
|
+
/** The day counted as today. Default: today. */
|
|
184
|
+
today?: Date;
|
|
185
|
+
/** The locale for names and dates, a BCP 47 tag. Default: the app's translator's, or `en-US`, as react-day-picker's. */
|
|
186
|
+
locale?: string;
|
|
187
|
+
/** The calendar, as Intl names it (`persian`, `islamic-umalqura`). Default Gregorian. */
|
|
188
|
+
calendar?: string;
|
|
189
|
+
/** The numbering system, as Intl names it (`arab`, `arabext`). Default Latin digits. */
|
|
190
|
+
numerals?: string;
|
|
191
|
+
/** The first day of the week, 0 for Sunday. Default: the locale's. */
|
|
192
|
+
weekStartsOn?: DayOfWeekNumber;
|
|
193
|
+
/** Which day of January the first week holds, for week numbers. Default: the locale's. */
|
|
194
|
+
firstWeekContainsDate?: number;
|
|
195
|
+
/** The text direction, when the document's shouldn't decide. */
|
|
196
|
+
dir?: Direction;
|
|
197
|
+
/** Whether it takes focus when it renders, on the day focus goes to. */
|
|
198
|
+
autoFocus?: boolean;
|
|
199
|
+
/** Names of your own for its parts (see `CalendarLabels`). */
|
|
200
|
+
labels?: Partial<CalendarLabels>;
|
|
201
|
+
/** Formatting of your own (see `CalendarFormatters`). */
|
|
202
|
+
formatters?: Partial<CalendarFormatters>;
|
|
203
|
+
/** Called with each day pressed, selected or not. */
|
|
204
|
+
onDayClick?: (date: Date, modifiers: CalendarModifiers, event: MouseEvent) => void;
|
|
205
|
+
}
|
|
206
|
+
/** A day the calendar shows: the date, the month it's shown in, and what applies to it. */
|
|
207
|
+
export interface CalendarDay {
|
|
208
|
+
/** `yyyy-MM-dd`, and the month shown: unique in the calendar. */
|
|
209
|
+
key: string;
|
|
210
|
+
/** `yyyy-MM-dd`. */
|
|
211
|
+
iso: string;
|
|
212
|
+
/** The day, at local midnight. */
|
|
213
|
+
date: Date;
|
|
214
|
+
/** The first day of the month it's shown in. */
|
|
215
|
+
displayMonth: Date;
|
|
216
|
+
/** Whether it belongs to a month around the one it's shown in. */
|
|
217
|
+
outside: boolean;
|
|
218
|
+
modifiers: CalendarModifiers;
|
|
219
|
+
/** Its number, formatted: `12`. */
|
|
220
|
+
label: string;
|
|
221
|
+
/** Its button's name. */
|
|
222
|
+
buttonLabel: string;
|
|
223
|
+
/** Its cell's name, when it has no button. */
|
|
224
|
+
cellLabel: string | undefined;
|
|
225
|
+
/** Whether it is a button: it is shown and the calendar selects. */
|
|
226
|
+
isButton: boolean;
|
|
227
|
+
/** Whether it shows its number: it isn't hidden. */
|
|
228
|
+
isShown: boolean;
|
|
229
|
+
/** 0 for the one day in the tab order, -1 for the rest. */
|
|
230
|
+
tabIndex: number;
|
|
231
|
+
/** The day in the locale's short form, as upstream's day button's `data-day`. */
|
|
232
|
+
localeDate: string;
|
|
233
|
+
/** `yyyy-MM` for an outside day, as upstream's `data-month`. */
|
|
234
|
+
outsideMonth: string | undefined;
|
|
235
|
+
/** Its cell's classes: the day's, each modifier's, and your `@modifiersClassNames`. */
|
|
236
|
+
className: string;
|
|
237
|
+
/** Selected on its own, not as part of a range: upstream's `data-selected-single`. */
|
|
238
|
+
selectedSingle: boolean;
|
|
239
|
+
}
|
|
240
|
+
/** A week row: its number, and its seven days. */
|
|
241
|
+
export interface CalendarWeek {
|
|
242
|
+
key: string;
|
|
243
|
+
number: number;
|
|
244
|
+
numberText: string;
|
|
245
|
+
numberLabel: string;
|
|
246
|
+
days: CalendarDay[];
|
|
247
|
+
}
|
|
248
|
+
/** An option of a month or year dropdown. */
|
|
249
|
+
export interface CalendarDropdownOption {
|
|
250
|
+
value: number;
|
|
251
|
+
label: string;
|
|
252
|
+
disabled: boolean;
|
|
253
|
+
selected: boolean;
|
|
254
|
+
}
|
|
255
|
+
/** A month the calendar shows. */
|
|
256
|
+
export interface CalendarMonth {
|
|
257
|
+
/** `yyyy-MM-dd` of its first day. */
|
|
258
|
+
key: string;
|
|
259
|
+
/** Its place among the months shown, from 0. */
|
|
260
|
+
index: number;
|
|
261
|
+
/** Its first day. */
|
|
262
|
+
date: Date;
|
|
263
|
+
caption: string;
|
|
264
|
+
gridLabel: string;
|
|
265
|
+
weeks: CalendarWeek[];
|
|
266
|
+
/** The month dropdown's options, when it has one. */
|
|
267
|
+
monthOptions: CalendarDropdownOption[] | undefined;
|
|
268
|
+
/** The year dropdown's options, when it has one. */
|
|
269
|
+
yearOptions: CalendarDropdownOption[] | undefined;
|
|
270
|
+
/** The month's name as the month dropdown shows it. */
|
|
271
|
+
monthText: string;
|
|
272
|
+
/** The year as the year dropdown shows it. */
|
|
273
|
+
yearText: string;
|
|
274
|
+
}
|
|
275
|
+
/** A column's weekday. */
|
|
276
|
+
export interface CalendarWeekday {
|
|
277
|
+
key: string;
|
|
278
|
+
name: string;
|
|
279
|
+
label: string;
|
|
280
|
+
}
|
|
281
|
+
/** A day the focus is on: which date, shown in which month. */
|
|
282
|
+
interface DayRef {
|
|
283
|
+
date: Date;
|
|
284
|
+
displayMonth: Date;
|
|
285
|
+
}
|
|
286
|
+
type MoveBy = 'day' | 'week' | 'month' | 'year' | 'startOfWeek' | 'endOfWeek';
|
|
287
|
+
type MoveDirection = 'before' | 'after';
|
|
288
|
+
/**
|
|
289
|
+
* A calendar's state and behaviour, as react-day-picker's `DayPicker` has them: the months it
|
|
290
|
+
* shows and how to move between them, its selection, its days' modifiers and labels, and the one
|
|
291
|
+
* day in the tab order with the arrow keys moving focus. The styled `<Calendar>` and the headless
|
|
292
|
+
* one both render from it.
|
|
293
|
+
*
|
|
294
|
+
* calendar = new CalendarState(() => this.args)
|
|
295
|
+
* {{#each this.calendar.months as |month|}} … {{/each}}
|
|
296
|
+
*/
|
|
297
|
+
export declare class CalendarState {
|
|
298
|
+
#private;
|
|
299
|
+
/** The first month shown: `@month`, `@defaultMonth` and `@onMonthChange`. */
|
|
300
|
+
readonly month: ControllableState<Date>;
|
|
301
|
+
/** The selection the calendar holds itself, uncontrolled. */
|
|
302
|
+
private ownValue;
|
|
303
|
+
/** The day with focus, while a day has it. */
|
|
304
|
+
private focused;
|
|
305
|
+
/** The last day that had focus, where focus goes back to. */
|
|
306
|
+
private lastFocused;
|
|
307
|
+
/**
|
|
308
|
+
* @param args the calendar's arguments, read live
|
|
309
|
+
* @param classNames the headless component's `@classNames`; the styled one keeps the defaults
|
|
310
|
+
* @param context the component, whose app's translator words the labels and sets the locale
|
|
311
|
+
*/
|
|
312
|
+
constructor(args: () => CalendarArgs, classNames?: () => Partial<CalendarClassNames> | undefined, context?: object);
|
|
313
|
+
get args(): CalendarArgs;
|
|
314
|
+
/** The class of each part and state: react-day-picker's `rdp-*`, or the `@classNames` given. */
|
|
315
|
+
get classNames(): CalendarClassNames;
|
|
316
|
+
/** The locale, calendar and numbering system everything is formatted in. */
|
|
317
|
+
get locale(): CalendarLocale;
|
|
318
|
+
/** The calendar's months and years. */
|
|
319
|
+
get system(): CalendarSystem;
|
|
320
|
+
get weekStartsOn(): DayOfWeekNumber;
|
|
321
|
+
get firstWeekContainsDate(): number;
|
|
322
|
+
get formatters(): CalendarFormatters;
|
|
323
|
+
get labels(): CalendarLabels;
|
|
324
|
+
get today(): Date;
|
|
325
|
+
get numberOfMonths(): number;
|
|
326
|
+
get captionLayout(): CaptionLayout;
|
|
327
|
+
/** Whether the caption is dropdowns (a month dropdown, a year dropdown, or both). */
|
|
328
|
+
get hasDropdowns(): boolean;
|
|
329
|
+
/** Whether the days are buttons: the calendar selects, or listens for presses. */
|
|
330
|
+
get isInteractive(): boolean;
|
|
331
|
+
/** `aria-multiselectable`: `true` for `multiple` and `range`. */
|
|
332
|
+
get isMultiselectable(): boolean;
|
|
333
|
+
/**
|
|
334
|
+
* The first and last day you can go to: `@startMonth`'s first and `@endMonth`'s last, or with a
|
|
335
|
+
* year dropdown, 100 years back to the end of this year, as react-day-picker's.
|
|
336
|
+
*/
|
|
337
|
+
get navBounds(): [start: Date | undefined, end: Date | undefined];
|
|
338
|
+
/** The first day of the first month shown. */
|
|
339
|
+
get firstMonth(): Date;
|
|
340
|
+
/** The first day of each month shown. */
|
|
341
|
+
get displayMonths(): Date[];
|
|
342
|
+
/** The month the previous button goes to, or `undefined` when there's none. */
|
|
343
|
+
get previousMonth(): Date | undefined;
|
|
344
|
+
/** The month the next button goes to, or `undefined` when there's none. */
|
|
345
|
+
get nextMonth(): Date | undefined;
|
|
346
|
+
/** Shows `month` (any day of it) first, kept between the bounds, and tells `@onMonthChange`. */
|
|
347
|
+
goToMonth: (month: Date) => void;
|
|
348
|
+
goToPrevious: () => void;
|
|
349
|
+
goToNext: () => void;
|
|
350
|
+
/** A month dropdown's change: shows that month of the year it was in. */
|
|
351
|
+
changeMonth: (month: CalendarMonth, event: Event) => void;
|
|
352
|
+
/** A year dropdown's change: shows the same month of that year. */
|
|
353
|
+
changeYear: (month: CalendarMonth, event: Event) => void;
|
|
354
|
+
/**
|
|
355
|
+
* Whether the caller owns the selection: they pass `@value`, or `@onValueChange` without a
|
|
356
|
+
* `@defaultValue` (react-day-picker's rule: `onSelect` controls `selected`, even unset).
|
|
357
|
+
*/
|
|
358
|
+
get isValueControlled(): boolean;
|
|
359
|
+
/** The selection now. */
|
|
360
|
+
get selected(): CalendarValue;
|
|
361
|
+
/** Whether `date` is selected. */
|
|
362
|
+
isSelected: (date: Date) => boolean;
|
|
363
|
+
/** Selects `date` (or lets it go) by the calendar's mode, as a press on it does. */
|
|
364
|
+
select(date: Date, modifiers: CalendarModifiers, event: Event): void;
|
|
365
|
+
/**
|
|
366
|
+
* The day focus goes to with Tab, as react-day-picker picks it: the focused day, else the one
|
|
367
|
+
* focused last, else the first selected, else today, else the first that can take focus.
|
|
368
|
+
*/
|
|
369
|
+
get focusTarget(): DayRef | undefined;
|
|
370
|
+
/** Each month's days, with their base modifiers. */
|
|
371
|
+
get grid(): {
|
|
372
|
+
date: Date;
|
|
373
|
+
displayMonth: Date;
|
|
374
|
+
modifiers: CalendarModifiers;
|
|
375
|
+
}[][];
|
|
376
|
+
/** The column headings, from the first day of the week. */
|
|
377
|
+
get weekdays(): CalendarWeekday[];
|
|
378
|
+
/** The months shown, each with its caption, dropdowns, weeks and days. */
|
|
379
|
+
get months(): CalendarMonth[];
|
|
380
|
+
/** Moves focus from the focused day, showing the month it lands in if it isn't shown. */
|
|
381
|
+
moveFocus(by: MoveBy, direction: MoveDirection): void;
|
|
382
|
+
clickDay: (day: CalendarDay, event: MouseEvent) => void;
|
|
383
|
+
focusDay: (day: CalendarDay) => void;
|
|
384
|
+
/**
|
|
385
|
+
* Forgets the focused day once focus has left the calendar's days (not when it moves from one
|
|
386
|
+
* day to another, which the arrow keys do). It waits a microtask, so a button that is removed
|
|
387
|
+
* while it has focus doesn't change state mid-render.
|
|
388
|
+
*/
|
|
389
|
+
blurDay: (day: CalendarDay, event: FocusEvent) => void;
|
|
390
|
+
keyDay: (_day: CalendarDay, event: KeyboardEvent) => void;
|
|
391
|
+
/** Put it on the root: the calendar keeps its element, for focus. */
|
|
392
|
+
root: import("ember-modifier").FunctionBasedModifier<{
|
|
393
|
+
Args: {
|
|
394
|
+
Positional: unknown[];
|
|
395
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
396
|
+
};
|
|
397
|
+
Element: HTMLElement;
|
|
398
|
+
}>;
|
|
399
|
+
/**
|
|
400
|
+
* Put it on each day's button with its `focused` modifier: it takes focus when that's set, once
|
|
401
|
+
* the render is over. Focusing fires the days' blur and focus handlers, which read their day;
|
|
402
|
+
* run inside the modifier, those reads would count as the modifier's, and on Ember 6.12 the next
|
|
403
|
+
* render, which updates those days, would then assert that they were read before they changed
|
|
404
|
+
* (when focus moves to an earlier week, whose modifiers render first).
|
|
405
|
+
*/
|
|
406
|
+
focusWhen: import("ember-modifier").FunctionBasedModifier<{
|
|
407
|
+
Args: {
|
|
408
|
+
Positional: [boolean];
|
|
409
|
+
Named: import("ember-modifier/-private/signature").EmptyObject;
|
|
410
|
+
};
|
|
411
|
+
Element: HTMLElement;
|
|
412
|
+
}>;
|
|
413
|
+
}
|
|
414
|
+
export {};
|
|
415
|
+
//# sourceMappingURL=state.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"state.d.ts","sourceRoot":"","sources":["../../src/calendar/state.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAgB,KAAK,SAAS,EAAE,MAAM,kBAAkB,CAAA;AAC/D,OAAO,EAiBL,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,SAAS,EACd,KAAK,eAAe,EACpB,KAAK,OAAO,EACb,MAAM,YAAY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