@tanrei/web 0.0.0-stage → 0.1.0-next.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/LICENSE +202 -0
- package/NOTICE +58 -0
- package/README.md +9743 -2
- package/custom-elements.json +86072 -0
- package/dist/THIRD_PARTY_LICENSES.md +136 -0
- package/dist/accordion.css +812 -0
- package/dist/app-shell.css +493 -0
- package/dist/avatar.css +80 -0
- package/dist/breadcrumbs.css +511 -0
- package/dist/callout.css +65 -0
- package/dist/code.css +595 -0
- package/dist/components/accordion/accordion.d.ts +197 -0
- package/dist/components/accordion/accordion.js +763 -0
- package/dist/components/accordion/accordion.js.map +1 -0
- package/dist/components/app-bar/app-bar.d.ts +107 -0
- package/dist/components/app-bar/app-bar.js +295 -0
- package/dist/components/app-bar/app-bar.js.map +1 -0
- package/dist/components/app-bar/app-bar.styles.d.ts +12 -0
- package/dist/components/app-bar/app-bar.styles.js +223 -0
- package/dist/components/app-bar/app-bar.styles.js.map +1 -0
- package/dist/components/app-shell/app-shell.d.ts +220 -0
- package/dist/components/app-shell/app-shell.js +677 -0
- package/dist/components/app-shell/app-shell.js.map +1 -0
- package/dist/components/avatar/avatar.d.ts +162 -0
- package/dist/components/avatar/avatar.js +390 -0
- package/dist/components/avatar/avatar.js.map +1 -0
- package/dist/components/avatar/avatar.styles.d.ts +9 -0
- package/dist/components/avatar/avatar.styles.js +258 -0
- package/dist/components/avatar/avatar.styles.js.map +1 -0
- package/dist/components/badge/badge.d.ts +59 -0
- package/dist/components/badge/badge.js +176 -0
- package/dist/components/badge/badge.js.map +1 -0
- package/dist/components/badge/badge.styles.d.ts +1 -0
- package/dist/components/badge/badge.styles.js +106 -0
- package/dist/components/badge/badge.styles.js.map +1 -0
- package/dist/components/bottom-sheet/bottom-sheet.d.ts +207 -0
- package/dist/components/bottom-sheet/bottom-sheet.js +724 -0
- package/dist/components/bottom-sheet/bottom-sheet.js.map +1 -0
- package/dist/components/bottom-sheet/bottom-sheet.styles.d.ts +1 -0
- package/dist/components/bottom-sheet/bottom-sheet.styles.js +393 -0
- package/dist/components/bottom-sheet/bottom-sheet.styles.js.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.d.ts +176 -0
- package/dist/components/breadcrumbs/breadcrumbs.js +638 -0
- package/dist/components/breadcrumbs/breadcrumbs.js.map +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.styles.d.ts +1 -0
- package/dist/components/breadcrumbs/breadcrumbs.styles.js +225 -0
- package/dist/components/breadcrumbs/breadcrumbs.styles.js.map +1 -0
- package/dist/components/button/button.d.ts +280 -0
- package/dist/components/button/button.js +530 -0
- package/dist/components/button/button.js.map +1 -0
- package/dist/components/button/button.styles.d.ts +20 -0
- package/dist/components/button/button.styles.js +328 -0
- package/dist/components/button/button.styles.js.map +1 -0
- package/dist/components/button-group/button-group.d.ts +124 -0
- package/dist/components/button-group/button-group.js +287 -0
- package/dist/components/button-group/button-group.js.map +1 -0
- package/dist/components/button-group/button-group.styles.d.ts +1 -0
- package/dist/components/button-group/button-group.styles.js +220 -0
- package/dist/components/button-group/button-group.styles.js.map +1 -0
- package/dist/components/button-with-menu/button-with-menu.d.ts +224 -0
- package/dist/components/button-with-menu/button-with-menu.js +635 -0
- package/dist/components/button-with-menu/button-with-menu.js.map +1 -0
- package/dist/components/button-with-menu/button-with-menu.styles.d.ts +15 -0
- package/dist/components/button-with-menu/button-with-menu.styles.js +418 -0
- package/dist/components/button-with-menu/button-with-menu.styles.js.map +1 -0
- package/dist/components/calendar/calendar.d.ts +380 -0
- package/dist/components/calendar/calendar.js +1619 -0
- package/dist/components/calendar/calendar.js.map +1 -0
- package/dist/components/calendar/calendar.styles.d.ts +11 -0
- package/dist/components/calendar/calendar.styles.js +412 -0
- package/dist/components/calendar/calendar.styles.js.map +1 -0
- package/dist/components/callout/callout.d.ts +157 -0
- package/dist/components/callout/callout.js +436 -0
- package/dist/components/callout/callout.js.map +1 -0
- package/dist/components/callout/callout.styles.d.ts +13 -0
- package/dist/components/callout/callout.styles.js +383 -0
- package/dist/components/callout/callout.styles.js.map +1 -0
- package/dist/components/card/card.d.ts +108 -0
- package/dist/components/card/card.js +235 -0
- package/dist/components/card/card.js.map +1 -0
- package/dist/components/card/card.styles.d.ts +9 -0
- package/dist/components/card/card.styles.js +170 -0
- package/dist/components/card/card.styles.js.map +1 -0
- package/dist/components/carousel/carousel-geometry.d.ts +178 -0
- package/dist/components/carousel/carousel-geometry.js +356 -0
- package/dist/components/carousel/carousel-geometry.js.map +1 -0
- package/dist/components/carousel/carousel.d.ts +401 -0
- package/dist/components/carousel/carousel.js +1352 -0
- package/dist/components/carousel/carousel.js.map +1 -0
- package/dist/components/carousel/carousel.styles.d.ts +4 -0
- package/dist/components/carousel/carousel.styles.js +475 -0
- package/dist/components/carousel/carousel.styles.js.map +1 -0
- package/dist/components/chat-composer/chat-composer.d.ts +482 -0
- package/dist/components/chat-composer/chat-composer.js +1374 -0
- package/dist/components/chat-composer/chat-composer.js.map +1 -0
- package/dist/components/chat-composer/chat-composer.styles.d.ts +9 -0
- package/dist/components/chat-composer/chat-composer.styles.js +308 -0
- package/dist/components/chat-composer/chat-composer.styles.js.map +1 -0
- package/dist/components/checkbox/checkbox.d.ts +135 -0
- package/dist/components/checkbox/checkbox.js +296 -0
- package/dist/components/checkbox/checkbox.js.map +1 -0
- package/dist/components/checkbox/checkbox.styles.d.ts +13 -0
- package/dist/components/checkbox/checkbox.styles.js +226 -0
- package/dist/components/checkbox/checkbox.styles.js.map +1 -0
- package/dist/components/checkbox-group/checkbox-group.d.ts +199 -0
- package/dist/components/checkbox-group/checkbox-group.js +500 -0
- package/dist/components/checkbox-group/checkbox-group.js.map +1 -0
- package/dist/components/chip/chip.d.ts +176 -0
- package/dist/components/chip/chip.js +376 -0
- package/dist/components/chip/chip.js.map +1 -0
- package/dist/components/chip/chip.styles.d.ts +10 -0
- package/dist/components/chip/chip.styles.js +465 -0
- package/dist/components/chip/chip.styles.js.map +1 -0
- package/dist/components/chip-field/chip-field.d.ts +315 -0
- package/dist/components/chip-field/chip-field.js +887 -0
- package/dist/components/chip-field/chip-field.js.map +1 -0
- package/dist/components/code-block/code-block.before.d.ts +2 -0
- package/dist/components/code-block/code-block.before.js +193 -0
- package/dist/components/code-block/code-block.before.js.map +1 -0
- package/dist/components/code-block/code-block.d.ts +268 -0
- package/dist/components/code-block/code-block.js +1009 -0
- package/dist/components/code-block/code-block.js.map +1 -0
- package/dist/components/code-block/code-block.light.d.ts +50 -0
- package/dist/components/code-block/code-block.light.js +287 -0
- package/dist/components/code-block/code-block.light.js.map +1 -0
- package/dist/components/code-block/code-block.lines.d.ts +49 -0
- package/dist/components/code-block/code-block.lines.js +75 -0
- package/dist/components/code-block/code-block.lines.js.map +1 -0
- package/dist/components/code-block/code-block.styles.d.ts +8 -0
- package/dist/components/code-block/code-block.styles.js +212 -0
- package/dist/components/code-block/code-block.styles.js.map +1 -0
- package/dist/components/color-field/color-field.d.ts +120 -0
- package/dist/components/color-field/color-field.js +182 -0
- package/dist/components/color-field/color-field.js.map +1 -0
- package/dist/components/color-input/color-input.d.ts +302 -0
- package/dist/components/color-input/color-input.js +748 -0
- package/dist/components/color-input/color-input.js.map +1 -0
- package/dist/components/color-input/color-input.styles.d.ts +22 -0
- package/dist/components/color-input/color-input.styles.js +373 -0
- package/dist/components/color-input/color-input.styles.js.map +1 -0
- package/dist/components/color-input/color-text.d.ts +48 -0
- package/dist/components/color-input/color-text.js +77 -0
- package/dist/components/color-input/color-text.js.map +1 -0
- package/dist/components/combobox/combobox.d.ts +387 -0
- package/dist/components/combobox/combobox.js +1108 -0
- package/dist/components/combobox/combobox.js.map +1 -0
- package/dist/components/combobox/combobox.styles.d.ts +26 -0
- package/dist/components/combobox/combobox.styles.js +497 -0
- package/dist/components/combobox/combobox.styles.js.map +1 -0
- package/dist/components/combobox-field/combobox-field.d.ts +159 -0
- package/dist/components/combobox-field/combobox-field.js +280 -0
- package/dist/components/combobox-field/combobox-field.js.map +1 -0
- package/dist/components/copy-button/copy-button.d.ts +112 -0
- package/dist/components/copy-button/copy-button.js +237 -0
- package/dist/components/copy-button/copy-button.js.map +1 -0
- package/dist/components/copy-button/copy-button.styles.d.ts +1 -0
- package/dist/components/copy-button/copy-button.styles.js +62 -0
- package/dist/components/copy-button/copy-button.styles.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.d.ts +603 -0
- package/dist/components/date-time-picker/date-time-picker.js +2537 -0
- package/dist/components/date-time-picker/date-time-picker.js.map +1 -0
- package/dist/components/date-time-picker/date-time-picker.styles.d.ts +1 -0
- package/dist/components/date-time-picker/date-time-picker.styles.js +842 -0
- package/dist/components/date-time-picker/date-time-picker.styles.js.map +1 -0
- package/dist/components/description-list/description-list.d.ts +133 -0
- package/dist/components/description-list/description-list.js +395 -0
- package/dist/components/description-list/description-list.js.map +1 -0
- package/dist/components/dialog/dialog.d.ts +140 -0
- package/dist/components/dialog/dialog.js +440 -0
- package/dist/components/dialog/dialog.js.map +1 -0
- package/dist/components/dialog/dialog.styles.d.ts +1 -0
- package/dist/components/dialog/dialog.styles.js +306 -0
- package/dist/components/dialog/dialog.styles.js.map +1 -0
- package/dist/components/divider/divider.d.ts +112 -0
- package/dist/components/divider/divider.js +331 -0
- package/dist/components/divider/divider.js.map +1 -0
- package/dist/components/divider/divider.styles.d.ts +6 -0
- package/dist/components/divider/divider.styles.js +183 -0
- package/dist/components/divider/divider.styles.js.map +1 -0
- package/dist/components/embedded-text-input/embedded-text-input.d.ts +246 -0
- package/dist/components/embedded-text-input/embedded-text-input.js +673 -0
- package/dist/components/embedded-text-input/embedded-text-input.js.map +1 -0
- package/dist/components/embedded-text-input/embedded-text-input.styles.d.ts +1 -0
- package/dist/components/embedded-text-input/embedded-text-input.styles.js +204 -0
- package/dist/components/embedded-text-input/embedded-text-input.styles.js.map +1 -0
- package/dist/components/empty-state/empty-state.d.ts +132 -0
- package/dist/components/empty-state/empty-state.js +333 -0
- package/dist/components/empty-state/empty-state.js.map +1 -0
- package/dist/components/empty-state/empty-state.styles.d.ts +11 -0
- package/dist/components/empty-state/empty-state.styles.js +218 -0
- package/dist/components/empty-state/empty-state.styles.js.map +1 -0
- package/dist/components/fab-menu/fab-menu.d.ts +240 -0
- package/dist/components/fab-menu/fab-menu.js +605 -0
- package/dist/components/fab-menu/fab-menu.js.map +1 -0
- package/dist/components/fab-menu/fab-menu.styles.d.ts +21 -0
- package/dist/components/fab-menu/fab-menu.styles.js +427 -0
- package/dist/components/fab-menu/fab-menu.styles.js.map +1 -0
- package/dist/components/field/field.d.ts +165 -0
- package/dist/components/field/field.js +399 -0
- package/dist/components/field/field.js.map +1 -0
- package/dist/components/field/field.styles.d.ts +2 -0
- package/dist/components/field/field.styles.js +177 -0
- package/dist/components/field/field.styles.js.map +1 -0
- package/dist/components/field-group/field-group.d.ts +122 -0
- package/dist/components/field-group/field-group.js +246 -0
- package/dist/components/field-group/field-group.js.map +1 -0
- package/dist/components/field-group/field-group.styles.d.ts +7 -0
- package/dist/components/field-group/field-group.styles.js +28 -0
- package/dist/components/field-group/field-group.styles.js.map +1 -0
- package/dist/components/figure/figure.d.ts +152 -0
- package/dist/components/figure/figure.js +435 -0
- package/dist/components/figure/figure.js.map +1 -0
- package/dist/components/file-item/file-item.d.ts +232 -0
- package/dist/components/file-item/file-item.js +665 -0
- package/dist/components/file-item/file-item.js.map +1 -0
- package/dist/components/file-item/file-item.styles.d.ts +2 -0
- package/dist/components/file-item/file-item.styles.js +582 -0
- package/dist/components/file-item/file-item.styles.js.map +1 -0
- package/dist/components/file-picker/file-picker.d.ts +221 -0
- package/dist/components/file-picker/file-picker.js +588 -0
- package/dist/components/file-picker/file-picker.js.map +1 -0
- package/dist/components/file-picker/file-picker.styles.d.ts +2 -0
- package/dist/components/file-picker/file-picker.styles.js +303 -0
- package/dist/components/file-picker/file-picker.styles.js.map +1 -0
- package/dist/components/file-upload/file-upload.d.ts +353 -0
- package/dist/components/file-upload/file-upload.js +939 -0
- package/dist/components/file-upload/file-upload.js.map +1 -0
- package/dist/components/file-upload/file-upload.styles.d.ts +1 -0
- package/dist/components/file-upload/file-upload.styles.js +91 -0
- package/dist/components/file-upload/file-upload.styles.js.map +1 -0
- package/dist/components/image-preview/image-preview.d.ts +336 -0
- package/dist/components/image-preview/image-preview.js +1510 -0
- package/dist/components/image-preview/image-preview.js.map +1 -0
- package/dist/components/image-preview/image-preview.styles.d.ts +1 -0
- package/dist/components/image-preview/image-preview.styles.js +418 -0
- package/dist/components/image-preview/image-preview.styles.js.map +1 -0
- package/dist/components/keyboard-shortcut/keyboard-shortcut.d.ts +94 -0
- package/dist/components/keyboard-shortcut/keyboard-shortcut.js +285 -0
- package/dist/components/keyboard-shortcut/keyboard-shortcut.js.map +1 -0
- package/dist/components/keyboard-shortcut/keyboard-shortcut.styles.d.ts +11 -0
- package/dist/components/keyboard-shortcut/keyboard-shortcut.styles.js +155 -0
- package/dist/components/keyboard-shortcut/keyboard-shortcut.styles.js.map +1 -0
- package/dist/components/link-card/link-card.d.ts +156 -0
- package/dist/components/link-card/link-card.js +713 -0
- package/dist/components/link-card/link-card.js.map +1 -0
- package/dist/components/list/list.d.ts +430 -0
- package/dist/components/list/list.js +1230 -0
- package/dist/components/list/list.js.map +1 -0
- package/dist/components/list/list.styles.d.ts +3 -0
- package/dist/components/list/list.styles.js +334 -0
- package/dist/components/list/list.styles.js.map +1 -0
- package/dist/components/loading-indicator/loading-indicator.d.ts +83 -0
- package/dist/components/loading-indicator/loading-indicator.js +195 -0
- package/dist/components/loading-indicator/loading-indicator.js.map +1 -0
- package/dist/components/loading-indicator/loading-indicator.styles.d.ts +6 -0
- package/dist/components/loading-indicator/loading-indicator.styles.js +124 -0
- package/dist/components/loading-indicator/loading-indicator.styles.js.map +1 -0
- package/dist/components/main-action-button/main-action-button.d.ts +95 -0
- package/dist/components/main-action-button/main-action-button.js +202 -0
- package/dist/components/main-action-button/main-action-button.js.map +1 -0
- package/dist/components/main-action-button/main-action-button.styles.d.ts +10 -0
- package/dist/components/main-action-button/main-action-button.styles.js +285 -0
- package/dist/components/main-action-button/main-action-button.styles.js.map +1 -0
- package/dist/components/menu/menu.d.ts +813 -0
- package/dist/components/menu/menu.js +2061 -0
- package/dist/components/menu/menu.js.map +1 -0
- package/dist/components/menu/menu.styles.d.ts +18 -0
- package/dist/components/menu/menu.styles.js +587 -0
- package/dist/components/menu/menu.styles.js.map +1 -0
- package/dist/components/menubar/menubar.d.ts +477 -0
- package/dist/components/menubar/menubar.js +1677 -0
- package/dist/components/menubar/menubar.js.map +1 -0
- package/dist/components/menubar/menubar.styles.d.ts +43 -0
- package/dist/components/menubar/menubar.styles.js +379 -0
- package/dist/components/menubar/menubar.styles.js.map +1 -0
- package/dist/components/navigation-bar/navigation-bar.d.ts +239 -0
- package/dist/components/navigation-bar/navigation-bar.js +544 -0
- package/dist/components/navigation-bar/navigation-bar.js.map +1 -0
- package/dist/components/navigation-bar/navigation-bar.styles.d.ts +21 -0
- package/dist/components/navigation-bar/navigation-bar.styles.js +320 -0
- package/dist/components/navigation-bar/navigation-bar.styles.js.map +1 -0
- package/dist/components/navigation-drawer/navigation-drawer.d.ts +627 -0
- package/dist/components/navigation-drawer/navigation-drawer.js +1917 -0
- package/dist/components/navigation-drawer/navigation-drawer.js.map +1 -0
- package/dist/components/navigation-drawer/navigation-drawer.styles.d.ts +40 -0
- package/dist/components/navigation-drawer/navigation-drawer.styles.js +934 -0
- package/dist/components/navigation-drawer/navigation-drawer.styles.js.map +1 -0
- package/dist/components/number-field/number-field.d.ts +147 -0
- package/dist/components/number-field/number-field.js +252 -0
- package/dist/components/number-field/number-field.js.map +1 -0
- package/dist/components/number-input/number-input.d.ts +347 -0
- package/dist/components/number-input/number-input.js +929 -0
- package/dist/components/number-input/number-input.js.map +1 -0
- package/dist/components/number-input/number-input.styles.d.ts +22 -0
- package/dist/components/number-input/number-input.styles.js +395 -0
- package/dist/components/number-input/number-input.styles.js.map +1 -0
- package/dist/components/number-input/number-text.d.ts +74 -0
- package/dist/components/number-input/number-text.js +230 -0
- package/dist/components/number-input/number-text.js.map +1 -0
- package/dist/components/one-time-code-field/one-time-code-field.d.ts +94 -0
- package/dist/components/one-time-code-field/one-time-code-field.js +135 -0
- package/dist/components/one-time-code-field/one-time-code-field.js.map +1 -0
- package/dist/components/one-time-code-input/code-text.d.ts +51 -0
- package/dist/components/one-time-code-input/code-text.js +145 -0
- package/dist/components/one-time-code-input/code-text.js.map +1 -0
- package/dist/components/one-time-code-input/one-time-code-input.d.ts +219 -0
- package/dist/components/one-time-code-input/one-time-code-input.js +710 -0
- package/dist/components/one-time-code-input/one-time-code-input.js.map +1 -0
- package/dist/components/one-time-code-input/one-time-code-input.styles.d.ts +8 -0
- package/dist/components/one-time-code-input/one-time-code-input.styles.js +323 -0
- package/dist/components/one-time-code-input/one-time-code-input.styles.js.map +1 -0
- package/dist/components/option/option.d.ts +51 -0
- package/dist/components/option/option.js +75 -0
- package/dist/components/option/option.js.map +1 -0
- package/dist/components/page-header/page-header.d.ts +97 -0
- package/dist/components/page-header/page-header.js +258 -0
- package/dist/components/page-header/page-header.js.map +1 -0
- package/dist/components/popover/popover.d.ts +217 -0
- package/dist/components/popover/popover.js +616 -0
- package/dist/components/popover/popover.js.map +1 -0
- package/dist/components/popover/popover.styles.d.ts +8 -0
- package/dist/components/popover/popover.styles.js +299 -0
- package/dist/components/popover/popover.styles.js.map +1 -0
- package/dist/components/progress-indicator/progress-indicator.d.ts +76 -0
- package/dist/components/progress-indicator/progress-indicator.js +165 -0
- package/dist/components/progress-indicator/progress-indicator.js.map +1 -0
- package/dist/components/progress-indicator/progress-indicator.styles.d.ts +7 -0
- package/dist/components/progress-indicator/progress-indicator.styles.js +271 -0
- package/dist/components/progress-indicator/progress-indicator.styles.js.map +1 -0
- package/dist/components/radio-button/radio-button.d.ts +149 -0
- package/dist/components/radio-button/radio-button.js +370 -0
- package/dist/components/radio-button/radio-button.js.map +1 -0
- package/dist/components/radio-button/radio-button.styles.d.ts +8 -0
- package/dist/components/radio-button/radio-button.styles.js +190 -0
- package/dist/components/radio-button/radio-button.styles.js.map +1 -0
- package/dist/components/radio-group/radio-group.d.ts +188 -0
- package/dist/components/radio-group/radio-group.js +380 -0
- package/dist/components/radio-group/radio-group.js.map +1 -0
- package/dist/components/search/search.d.ts +569 -0
- package/dist/components/search/search.js +1801 -0
- package/dist/components/search/search.js.map +1 -0
- package/dist/components/search/search.styles.d.ts +15 -0
- package/dist/components/search/search.styles.js +967 -0
- package/dist/components/search/search.styles.js.map +1 -0
- package/dist/components/segmented-button/segmented-button.d.ts +183 -0
- package/dist/components/segmented-button/segmented-button.js +483 -0
- package/dist/components/segmented-button/segmented-button.js.map +1 -0
- package/dist/components/segmented-button/segmented-button.styles.d.ts +19 -0
- package/dist/components/segmented-button/segmented-button.styles.js +400 -0
- package/dist/components/segmented-button/segmented-button.styles.js.map +1 -0
- package/dist/components/select/select.d.ts +259 -0
- package/dist/components/select/select.js +702 -0
- package/dist/components/select/select.js.map +1 -0
- package/dist/components/select/select.styles.d.ts +27 -0
- package/dist/components/select/select.styles.js +359 -0
- package/dist/components/select/select.styles.js.map +1 -0
- package/dist/components/select-field/select-field.d.ts +141 -0
- package/dist/components/select-field/select-field.js +234 -0
- package/dist/components/select-field/select-field.js.map +1 -0
- package/dist/components/side-sheet/side-sheet.d.ts +190 -0
- package/dist/components/side-sheet/side-sheet.js +592 -0
- package/dist/components/side-sheet/side-sheet.js.map +1 -0
- package/dist/components/side-sheet/side-sheet.styles.d.ts +9 -0
- package/dist/components/side-sheet/side-sheet.styles.js +352 -0
- package/dist/components/side-sheet/side-sheet.styles.js.map +1 -0
- package/dist/components/skeleton/skeleton.d.ts +157 -0
- package/dist/components/skeleton/skeleton.js +550 -0
- package/dist/components/skeleton/skeleton.js.map +1 -0
- package/dist/components/slider/slider.d.ts +235 -0
- package/dist/components/slider/slider.js +792 -0
- package/dist/components/slider/slider.js.map +1 -0
- package/dist/components/slider/slider.styles.d.ts +6 -0
- package/dist/components/slider/slider.styles.js +492 -0
- package/dist/components/slider/slider.styles.js.map +1 -0
- package/dist/components/slider-field/slider-field.d.ts +150 -0
- package/dist/components/slider-field/slider-field.js +269 -0
- package/dist/components/slider-field/slider-field.js.map +1 -0
- package/dist/components/snackbar/snackbar.d.ts +237 -0
- package/dist/components/snackbar/snackbar.js +607 -0
- package/dist/components/snackbar/snackbar.js.map +1 -0
- package/dist/components/snackbar/snackbar.styles.d.ts +10 -0
- package/dist/components/snackbar/snackbar.styles.js +510 -0
- package/dist/components/snackbar/snackbar.styles.js.map +1 -0
- package/dist/components/switch/switch.d.ts +161 -0
- package/dist/components/switch/switch.js +470 -0
- package/dist/components/switch/switch.js.map +1 -0
- package/dist/components/switch/switch.styles.d.ts +3 -0
- package/dist/components/switch/switch.styles.js +440 -0
- package/dist/components/switch/switch.styles.js.map +1 -0
- package/dist/components/tab-view/tab-view.d.ts +303 -0
- package/dist/components/tab-view/tab-view.js +917 -0
- package/dist/components/tab-view/tab-view.js.map +1 -0
- package/dist/components/tab-view/tab-view.styles.d.ts +19 -0
- package/dist/components/tab-view/tab-view.styles.js +85 -0
- package/dist/components/tab-view/tab-view.styles.js.map +1 -0
- package/dist/components/table/table.d.ts +386 -0
- package/dist/components/table/table.js +1320 -0
- package/dist/components/table/table.js.map +1 -0
- package/dist/components/table-of-contents/table-of-contents.d.ts +227 -0
- package/dist/components/table-of-contents/table-of-contents.js +963 -0
- package/dist/components/table-of-contents/table-of-contents.js.map +1 -0
- package/dist/components/table-of-contents/table-of-contents.styles.d.ts +1 -0
- package/dist/components/table-of-contents/table-of-contents.styles.js +243 -0
- package/dist/components/table-of-contents/table-of-contents.styles.js.map +1 -0
- package/dist/components/tabs/tabs.d.ts +800 -0
- package/dist/components/tabs/tabs.js +2183 -0
- package/dist/components/tabs/tabs.js.map +1 -0
- package/dist/components/tabs/tabs.styles.d.ts +47 -0
- package/dist/components/tabs/tabs.styles.js +595 -0
- package/dist/components/tabs/tabs.styles.js.map +1 -0
- package/dist/components/tag/tag.d.ts +77 -0
- package/dist/components/tag/tag.js +143 -0
- package/dist/components/tag/tag.js.map +1 -0
- package/dist/components/tag/tag.styles.d.ts +13 -0
- package/dist/components/tag/tag.styles.js +215 -0
- package/dist/components/tag/tag.styles.js.map +1 -0
- package/dist/components/tag-group/tag-group.d.ts +110 -0
- package/dist/components/tag-group/tag-group.js +298 -0
- package/dist/components/tag-group/tag-group.js.map +1 -0
- package/dist/components/tag-group/tag-group.styles.d.ts +8 -0
- package/dist/components/tag-group/tag-group.styles.js +66 -0
- package/dist/components/tag-group/tag-group.styles.js.map +1 -0
- package/dist/components/text-field/text-field.d.ts +159 -0
- package/dist/components/text-field/text-field.js +272 -0
- package/dist/components/text-field/text-field.js.map +1 -0
- package/dist/components/text-input/text-input-segments.d.ts +93 -0
- package/dist/components/text-input/text-input-segments.js +233 -0
- package/dist/components/text-input/text-input-segments.js.map +1 -0
- package/dist/components/text-input/text-input.d.ts +683 -0
- package/dist/components/text-input/text-input.js +2120 -0
- package/dist/components/text-input/text-input.js.map +1 -0
- package/dist/components/text-input/text-input.styles.d.ts +27 -0
- package/dist/components/text-input/text-input.styles.js +1071 -0
- package/dist/components/text-input/text-input.styles.js.map +1 -0
- package/dist/components/toolbar/toolbar.d.ts +123 -0
- package/dist/components/toolbar/toolbar.js +336 -0
- package/dist/components/toolbar/toolbar.js.map +1 -0
- package/dist/components/toolbar/toolbar.styles.d.ts +10 -0
- package/dist/components/toolbar/toolbar.styles.js +156 -0
- package/dist/components/toolbar/toolbar.styles.js.map +1 -0
- package/dist/components/tooltip/tooltip-placement.d.ts +22 -0
- package/dist/components/tooltip/tooltip-placement.js +15 -0
- package/dist/components/tooltip/tooltip-placement.js.map +1 -0
- package/dist/components/tooltip/tooltip.d.ts +267 -0
- package/dist/components/tooltip/tooltip.js +902 -0
- package/dist/components/tooltip/tooltip.js.map +1 -0
- package/dist/components/tooltip/tooltip.styles.d.ts +7 -0
- package/dist/components/tooltip/tooltip.styles.js +240 -0
- package/dist/components/tooltip/tooltip.styles.js.map +1 -0
- package/dist/components/tree-view/tree-view.d.ts +264 -0
- package/dist/components/tree-view/tree-view.js +1228 -0
- package/dist/components/tree-view/tree-view.js.map +1 -0
- package/dist/description-list.css +337 -0
- package/dist/empty-state.css +70 -0
- package/dist/figure.css +381 -0
- package/dist/generated/icon-sets.d.ts +9 -0
- package/dist/generated/icon-sets.js +18 -0
- package/dist/generated/icon-sets.js.map +1 -0
- package/dist/generated/words.d.ts +161 -0
- package/dist/generated/words.js +91 -0
- package/dist/generated/words.js.map +1 -0
- package/dist/highlight/grammars/css.d.ts +3 -0
- package/dist/highlight/grammars/css.js +56 -0
- package/dist/highlight/grammars/css.js.map +1 -0
- package/dist/highlight/grammars/dart.d.ts +3 -0
- package/dist/highlight/grammars/dart.js +53 -0
- package/dist/highlight/grammars/dart.js.map +1 -0
- package/dist/highlight/grammars/javascript.d.ts +4 -0
- package/dist/highlight/grammars/javascript.js +119 -0
- package/dist/highlight/grammars/javascript.js.map +1 -0
- package/dist/highlight/grammars/json.d.ts +3 -0
- package/dist/highlight/grammars/json.js +19 -0
- package/dist/highlight/grammars/json.js.map +1 -0
- package/dist/highlight/grammars/kotlin.d.ts +3 -0
- package/dist/highlight/grammars/kotlin.js +46 -0
- package/dist/highlight/grammars/kotlin.js.map +1 -0
- package/dist/highlight/grammars/markup.d.ts +3 -0
- package/dist/highlight/grammars/markup.js +45 -0
- package/dist/highlight/grammars/markup.js.map +1 -0
- package/dist/highlight/grammars/shared.d.ts +25 -0
- package/dist/highlight/grammars/shared.js +37 -0
- package/dist/highlight/grammars/shared.js.map +1 -0
- package/dist/highlight/grammars/shell.d.ts +3 -0
- package/dist/highlight/grammars/shell.js +48 -0
- package/dist/highlight/grammars/shell.js.map +1 -0
- package/dist/highlight/grammars/swift.d.ts +3 -0
- package/dist/highlight/grammars/swift.js +46 -0
- package/dist/highlight/grammars/swift.js.map +1 -0
- package/dist/highlight/grammars/typescript.d.ts +2 -0
- package/dist/highlight/grammars/typescript.js +5 -0
- package/dist/highlight/grammars/typescript.js.map +1 -0
- package/dist/highlight/index.d.ts +104 -0
- package/dist/highlight/index.js +331 -0
- package/dist/highlight/index.js.map +1 -0
- package/dist/icons.css +107 -0
- package/dist/icons.d.ts +2 -0
- package/dist/icons.js +10 -0
- package/dist/icons.js.map +1 -0
- package/dist/index.d.ts +85 -0
- package/dist/index.js +100 -0
- package/dist/index.js.map +1 -0
- package/dist/link-card.css +678 -0
- package/dist/link.css +728 -0
- package/dist/link.d.ts +21 -0
- package/dist/link.js +594 -0
- package/dist/link.js.map +1 -0
- package/dist/links/index.d.ts +136 -0
- package/dist/links/index.js +404 -0
- package/dist/links/index.js.map +1 -0
- package/dist/links/node/address.js +154 -0
- package/dist/links/node/cli.js +102 -0
- package/dist/links/node/fetcher.js +267 -0
- package/dist/links/node/head.js +278 -0
- package/dist/links/node/index.d.ts +164 -0
- package/dist/links/node/index.js +26 -0
- package/dist/links/node/links.js +275 -0
- package/dist/links/node/lock.js +86 -0
- package/dist/links/node/mark.js +71 -0
- package/dist/links/node/options.js +120 -0
- package/dist/links/node/pictures.js +265 -0
- package/dist/links/node/refresh.js +28 -0
- package/dist/menu.css +97 -0
- package/dist/menubar.css +69 -0
- package/dist/page-header.css +324 -0
- package/dist/pagination.css +410 -0
- package/dist/pagination.d.ts +6 -0
- package/dist/pagination.js +256 -0
- package/dist/pagination.js.map +1 -0
- package/dist/primitives/actions.d.ts +75 -0
- package/dist/primitives/actions.js +142 -0
- package/dist/primitives/actions.js.map +1 -0
- package/dist/primitives/after-click.d.ts +8 -0
- package/dist/primitives/after-click.js +21 -0
- package/dist/primitives/after-click.js.map +1 -0
- package/dist/primitives/anchored.d.ts +134 -0
- package/dist/primitives/anchored.js +425 -0
- package/dist/primitives/anchored.js.map +1 -0
- package/dist/primitives/arc.d.ts +13 -0
- package/dist/primitives/arc.js +49 -0
- package/dist/primitives/arc.js.map +1 -0
- package/dist/primitives/arrow.d.ts +47 -0
- package/dist/primitives/arrow.js +159 -0
- package/dist/primitives/arrow.js.map +1 -0
- package/dist/primitives/auto-height.d.ts +56 -0
- package/dist/primitives/auto-height.js +150 -0
- package/dist/primitives/auto-height.js.map +1 -0
- package/dist/primitives/autofocus.d.ts +11 -0
- package/dist/primitives/autofocus.js +26 -0
- package/dist/primitives/autofocus.js.map +1 -0
- package/dist/primitives/availability.d.ts +32 -0
- package/dist/primitives/availability.js +122 -0
- package/dist/primitives/availability.js.map +1 -0
- package/dist/primitives/axes.d.ts +45 -0
- package/dist/primitives/axes.js +72 -0
- package/dist/primitives/axes.js.map +1 -0
- package/dist/primitives/behavior.d.ts +14 -0
- package/dist/primitives/behavior.js +19 -0
- package/dist/primitives/behavior.js.map +1 -0
- package/dist/primitives/calendar-date.d.ts +79 -0
- package/dist/primitives/calendar-date.js +135 -0
- package/dist/primitives/calendar-date.js.map +1 -0
- package/dist/primitives/composed.d.ts +144 -0
- package/dist/primitives/composed.js +303 -0
- package/dist/primitives/composed.js.map +1 -0
- package/dist/primitives/default-button.d.ts +49 -0
- package/dist/primitives/default-button.js +270 -0
- package/dist/primitives/default-button.js.map +1 -0
- package/dist/primitives/description.d.ts +18 -0
- package/dist/primitives/description.js +18 -0
- package/dist/primitives/description.js.map +1 -0
- package/dist/primitives/destination.d.ts +259 -0
- package/dist/primitives/destination.js +651 -0
- package/dist/primitives/destination.js.map +1 -0
- package/dist/primitives/direction.d.ts +23 -0
- package/dist/primitives/direction.js +90 -0
- package/dist/primitives/direction.js.map +1 -0
- package/dist/primitives/disabled-while-focused.d.ts +46 -0
- package/dist/primitives/disabled-while-focused.js +126 -0
- package/dist/primitives/disabled-while-focused.js.map +1 -0
- package/dist/primitives/disclosure.d.ts +9 -0
- package/dist/primitives/disclosure.js +15 -0
- package/dist/primitives/disclosure.js.map +1 -0
- package/dist/primitives/dismiss.d.ts +88 -0
- package/dist/primitives/dismiss.js +232 -0
- package/dist/primitives/dismiss.js.map +1 -0
- package/dist/primitives/field-frame.d.ts +166 -0
- package/dist/primitives/field-frame.js +358 -0
- package/dist/primitives/field-frame.js.map +1 -0
- package/dist/primitives/field-group-frame.d.ts +59 -0
- package/dist/primitives/field-group-frame.js +174 -0
- package/dist/primitives/field-group-frame.js.map +1 -0
- package/dist/primitives/field-trigger.d.ts +117 -0
- package/dist/primitives/field-trigger.js +387 -0
- package/dist/primitives/field-trigger.js.map +1 -0
- package/dist/primitives/field.d.ts +186 -0
- package/dist/primitives/field.js +349 -0
- package/dist/primitives/field.js.map +1 -0
- package/dist/primitives/file-format.d.ts +23 -0
- package/dist/primitives/file-format.js +185 -0
- package/dist/primitives/file-format.js.map +1 -0
- package/dist/primitives/file-item-holder.d.ts +45 -0
- package/dist/primitives/file-item-holder.js +39 -0
- package/dist/primitives/file-item-holder.js.map +1 -0
- package/dist/primitives/focus-order.d.ts +11 -0
- package/dist/primitives/focus-order.js +11 -0
- package/dist/primitives/focus-order.js.map +1 -0
- package/dist/primitives/focus-ring.d.ts +76 -0
- package/dist/primitives/focus-ring.js +230 -0
- package/dist/primitives/focus-ring.js.map +1 -0
- package/dist/primitives/follow.d.ts +65 -0
- package/dist/primitives/follow.js +283 -0
- package/dist/primitives/follow.js.map +1 -0
- package/dist/primitives/form-disabled.d.ts +20 -0
- package/dist/primitives/form-disabled.js +46 -0
- package/dist/primitives/form-disabled.js.map +1 -0
- package/dist/primitives/form-says.d.ts +33 -0
- package/dist/primitives/form-says.js +45 -0
- package/dist/primitives/form-says.js.map +1 -0
- package/dist/primitives/forward.d.ts +13 -0
- package/dist/primitives/forward.js +28 -0
- package/dist/primitives/forward.js.map +1 -0
- package/dist/primitives/glyph-mirror.d.ts +77 -0
- package/dist/primitives/glyph-mirror.js +211 -0
- package/dist/primitives/glyph-mirror.js.map +1 -0
- package/dist/primitives/glyph-pending.d.ts +17 -0
- package/dist/primitives/glyph-pending.js +91 -0
- package/dist/primitives/glyph-pending.js.map +1 -0
- package/dist/primitives/glyph.d.ts +53 -0
- package/dist/primitives/glyph.js +161 -0
- package/dist/primitives/glyph.js.map +1 -0
- package/dist/primitives/group-item.d.ts +128 -0
- package/dist/primitives/group-item.js +334 -0
- package/dist/primitives/group-item.js.map +1 -0
- package/dist/primitives/hidden.d.ts +2 -0
- package/dist/primitives/hidden.js +23 -0
- package/dist/primitives/hidden.js.map +1 -0
- package/dist/primitives/host-aria.d.ts +8 -0
- package/dist/primitives/host-aria.js +18 -0
- package/dist/primitives/host-aria.js.map +1 -0
- package/dist/primitives/index.d.ts +59 -0
- package/dist/primitives/index.js +189 -0
- package/dist/primitives/index.js.map +1 -0
- package/dist/primitives/indicator-drag.d.ts +90 -0
- package/dist/primitives/indicator-drag.js +207 -0
- package/dist/primitives/indicator-drag.js.map +1 -0
- package/dist/primitives/interactive.d.ts +13 -0
- package/dist/primitives/interactive.js +67 -0
- package/dist/primitives/interactive.js.map +1 -0
- package/dist/primitives/item-row.d.ts +34 -0
- package/dist/primitives/item-row.js +76 -0
- package/dist/primitives/item-row.js.map +1 -0
- package/dist/primitives/item-update.d.ts +2 -0
- package/dist/primitives/item-update.js +12 -0
- package/dist/primitives/item-update.js.map +1 -0
- package/dist/primitives/kept-length.d.ts +34 -0
- package/dist/primitives/kept-length.js +154 -0
- package/dist/primitives/kept-length.js.map +1 -0
- package/dist/primitives/keyboard-convention.d.ts +30 -0
- package/dist/primitives/keyboard-convention.js +88 -0
- package/dist/primitives/keyboard-convention.js.map +1 -0
- package/dist/primitives/label-lines.d.ts +12 -0
- package/dist/primitives/label-lines.js +34 -0
- package/dist/primitives/label-lines.js.map +1 -0
- package/dist/primitives/layout-scale.d.ts +18 -0
- package/dist/primitives/layout-scale.js +35 -0
- package/dist/primitives/layout-scale.js.map +1 -0
- package/dist/primitives/link.d.ts +147 -0
- package/dist/primitives/link.js +204 -0
- package/dist/primitives/link.js.map +1 -0
- package/dist/primitives/locale-date.d.ts +132 -0
- package/dist/primitives/locale-date.js +508 -0
- package/dist/primitives/locale-date.js.map +1 -0
- package/dist/primitives/missing-value.d.ts +16 -0
- package/dist/primitives/missing-value.js +31 -0
- package/dist/primitives/missing-value.js.map +1 -0
- package/dist/primitives/modal.d.ts +38 -0
- package/dist/primitives/modal.js +175 -0
- package/dist/primitives/modal.js.map +1 -0
- package/dist/primitives/native-text.d.ts +51 -0
- package/dist/primitives/native-text.js +77 -0
- package/dist/primitives/native-text.js.map +1 -0
- package/dist/primitives/natural-height.d.ts +21 -0
- package/dist/primitives/natural-height.js +36 -0
- package/dist/primitives/natural-height.js.map +1 -0
- package/dist/primitives/option-list.d.ts +314 -0
- package/dist/primitives/option-list.js +1098 -0
- package/dist/primitives/option-list.js.map +1 -0
- package/dist/primitives/overlay-focus.d.ts +48 -0
- package/dist/primitives/overlay-focus.js +152 -0
- package/dist/primitives/overlay-focus.js.map +1 -0
- package/dist/primitives/placement.d.ts +131 -0
- package/dist/primitives/placement.js +144 -0
- package/dist/primitives/placement.js.map +1 -0
- package/dist/primitives/places.d.ts +44 -0
- package/dist/primitives/places.js +98 -0
- package/dist/primitives/places.js.map +1 -0
- package/dist/primitives/press.d.ts +90 -0
- package/dist/primitives/press.js +153 -0
- package/dist/primitives/press.js.map +1 -0
- package/dist/primitives/report.d.ts +17 -0
- package/dist/primitives/report.js +34 -0
- package/dist/primitives/report.js.map +1 -0
- package/dist/primitives/ripple.d.ts +40 -0
- package/dist/primitives/ripple.js +70 -0
- package/dist/primitives/ripple.js.map +1 -0
- package/dist/primitives/roving.d.ts +41 -0
- package/dist/primitives/roving.js +71 -0
- package/dist/primitives/roving.js.map +1 -0
- package/dist/primitives/selection.d.ts +134 -0
- package/dist/primitives/selection.js +287 -0
- package/dist/primitives/selection.js.map +1 -0
- package/dist/primitives/separation.d.ts +28 -0
- package/dist/primitives/separation.js +96 -0
- package/dist/primitives/separation.js.map +1 -0
- package/dist/primitives/shared-choice.d.ts +33 -0
- package/dist/primitives/shared-choice.js +110 -0
- package/dist/primitives/shared-choice.js.map +1 -0
- package/dist/primitives/sheet.d.ts +63 -0
- package/dist/primitives/sheet.js +139 -0
- package/dist/primitives/sheet.js.map +1 -0
- package/dist/primitives/sheets.d.ts +8 -0
- package/dist/primitives/sheets.js +96 -0
- package/dist/primitives/sheets.js.map +1 -0
- package/dist/primitives/states.d.ts +33 -0
- package/dist/primitives/states.js +30 -0
- package/dist/primitives/states.js.map +1 -0
- package/dist/primitives/system-watch.d.ts +9 -0
- package/dist/primitives/system-watch.js +29 -0
- package/dist/primitives/system-watch.js.map +1 -0
- package/dist/primitives/target.d.ts +21 -0
- package/dist/primitives/target.js +79 -0
- package/dist/primitives/target.js.map +1 -0
- package/dist/primitives/values.d.ts +6 -0
- package/dist/primitives/values.js +22 -0
- package/dist/primitives/values.js.map +1 -0
- package/dist/primitives/visibility.d.ts +12 -0
- package/dist/primitives/visibility.js +50 -0
- package/dist/primitives/visibility.js.map +1 -0
- package/dist/primitives/words.d.ts +81 -0
- package/dist/primitives/words.js +236 -0
- package/dist/primitives/words.js.map +1 -0
- package/dist/prose.css +1917 -0
- package/dist/registry.d.ts +182 -0
- package/dist/registry.js +2 -0
- package/dist/registry.js.map +1 -0
- package/dist/shape.css +21 -0
- package/dist/skeleton.css +428 -0
- package/dist/steps.css +231 -0
- package/dist/steps.d.ts +6 -0
- package/dist/steps.js +156 -0
- package/dist/steps.js.map +1 -0
- package/dist/styles/icons.d.ts +62 -0
- package/dist/styles/icons.js +237 -0
- package/dist/styles/icons.js.map +1 -0
- package/dist/styles/product-text.d.ts +66 -0
- package/dist/styles/product-text.js +114 -0
- package/dist/styles/product-text.js.map +1 -0
- package/dist/styles/registered-properties.d.ts +6 -0
- package/dist/styles/registered-properties.js +68 -0
- package/dist/styles/registered-properties.js.map +1 -0
- package/dist/styles/shape.d.ts +59 -0
- package/dist/styles/shape.js +95 -0
- package/dist/styles/shape.js.map +1 -0
- package/dist/systems/cupertino.css +8793 -0
- package/dist/systems/m3-expressive-like.css +8786 -0
- package/dist/systems/m3-like.css +8748 -0
- package/dist/table-of-contents.css +482 -0
- package/dist/table.css +902 -0
- package/dist/tanrei.bundle.js +26644 -0
- package/dist/tanrei.bundle.js.map +7 -0
- package/dist/text.css +104 -0
- package/dist/timeline.css +410 -0
- package/dist/timeline.d.ts +6 -0
- package/dist/timeline.js +176 -0
- package/dist/timeline.js.map +1 -0
- package/dist/tokens.css +8801 -0
- package/dist/tree-view.css +797 -0
- package/dist/words.d.ts +2 -0
- package/dist/words.js +6 -0
- package/dist/words.js.map +1 -0
- package/package.json +132 -3
|
@@ -0,0 +1,380 @@
|
|
|
1
|
+
import { LitElement, type PropertyDeclarations, type PropertyValues, type TemplateResult } from 'lit';
|
|
2
|
+
import { type CalendarDate, type CalendarMonth, type GridDay } from '../../primitives/index.js';
|
|
3
|
+
import '../button/button.js';
|
|
4
|
+
/** single: one date (`value`). range: one contiguous span (`start` … `end`, inclusive). */
|
|
5
|
+
export type TanreiCalendarMode = 'single' | 'range';
|
|
6
|
+
/** The weekday in the first column; `locale` takes it from the locale. */
|
|
7
|
+
export type TanreiCalendarFirstDayOfWeek = 'locale' | 'sunday' | 'monday' | 'tuesday' | 'wednesday' | 'thursday' | 'friday' | 'saturday';
|
|
8
|
+
/** Whether the calendar first shows the days of a month or the list of years. */
|
|
9
|
+
export type TanreiCalendarStartView = 'day' | 'year';
|
|
10
|
+
/** What `change` carries: ISO 8601 calendar dates, `""` where none is chosen (`value` in single mode, `start` and `end` in range mode). */
|
|
11
|
+
export interface TanreiCalendarChangeDetail {
|
|
12
|
+
value: string;
|
|
13
|
+
start: string;
|
|
14
|
+
end: string;
|
|
15
|
+
}
|
|
16
|
+
/** CAL-29: how a day is drawn between two views — its fade and the mix of its two conditions, each a CSS number of the progress. */
|
|
17
|
+
interface Between {
|
|
18
|
+
/** 0 where a view does not draw the day, 1 where one does; absent where every view draws it. */
|
|
19
|
+
opacity?: string;
|
|
20
|
+
/** 0 where the day is a neighbouring month's, 1 where it is the month's own; absent where every view agrees. */
|
|
21
|
+
mix?: string;
|
|
22
|
+
/** The displayed month's view does not draw the day (yet): it takes no press and no focus, and is hidden (CAL-32). */
|
|
23
|
+
coming?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Shows one month as a grid of days, in the page or inside a picker, and lets a person choose one date or one range of
|
|
27
|
+
* dates from it.
|
|
28
|
+
*
|
|
29
|
+
* Contract: specs/calendar.spec.json. The calendar draws no surface and no padding of its own: it is seven cells wide
|
|
30
|
+
* (never wider than its container) and the page, or the picker that holds it, gives it its background. It commits each
|
|
31
|
+
* choice itself — it sets `value` (or `start` and `end`) and then fires `change` — and is not form-associated: the
|
|
32
|
+
* product's field is. Months move by the previous and next buttons, Page Up / Page Down, and along the axis the design
|
|
33
|
+
* system names (`comp.calendar.navigation.axis`, vertical by default) by a wheel or trackpad scroll and by a drag of a
|
|
34
|
+
* finger, a pen or the primary mouse button: the days follow either point for point — a scroll through month after
|
|
35
|
+
* month, a drag to the neighbouring month — and settle on the neighbour from a quarter of the way on. A wheel that
|
|
36
|
+
* reports lines or pages moves one month a step.
|
|
37
|
+
*
|
|
38
|
+
* Dates are ISO 8601 calendar dates ("2026-09-17") without a time or a time zone. Month and weekday names, digits and
|
|
39
|
+
* the first day of the week come from `Intl` for `locale` — without it, the nearest `lang` attribute, then the browser's
|
|
40
|
+
* language. Every visual value comes from `--tanrei-comp-calendar-*` tokens; the navigation buttons are
|
|
41
|
+
* `<tanrei-button variant="text">` elements that keep their own. `focus()` moves focus to the active day (or the
|
|
42
|
+
* displayed year in the year view).
|
|
43
|
+
*
|
|
44
|
+
* @tag tanrei-calendar
|
|
45
|
+
* @csspart navigation - The top row: the view toggle and the previous and next buttons.
|
|
46
|
+
* @csspart view-toggle - The month-and-year button that switches between the day view and the year view.
|
|
47
|
+
* @csspart grid - The day grid (role grid): the weekday row and six rows of days.
|
|
48
|
+
* @csspart day - A day (a gridcell); `data-date` holds its ISO date, `data-adjacent` marks a day of the neighbouring month.
|
|
49
|
+
* @csspart years - The year list of the year view.
|
|
50
|
+
* @csspart year - A year of the year view (a button, `data-year` holds it).
|
|
51
|
+
* @fires {CustomEvent<TanreiCalendarChangeDetail>} change - The person chose a day that changes the choice. `value`, `start` and `end` are already the new ones (end empty after a start alone); `detail` holds them too.
|
|
52
|
+
*/
|
|
53
|
+
export declare class TanreiCalendar extends LitElement {
|
|
54
|
+
private readonly availability;
|
|
55
|
+
private readonly system;
|
|
56
|
+
/** CAL-35: the product's words, read where the instance gives none (src/primitives/words.ts). */
|
|
57
|
+
private readonly words;
|
|
58
|
+
static styles: import("lit").CSSResult;
|
|
59
|
+
static properties: PropertyDeclarations;
|
|
60
|
+
/** `single`: one date, in `value`. `range`: one contiguous span, from `start` to `end` inclusive. Reflected. */
|
|
61
|
+
mode: TanreiCalendarMode;
|
|
62
|
+
/** The chosen date in single mode, as an ISO 8601 calendar date ("2026-09-17"); empty when none is chosen. */
|
|
63
|
+
value: string;
|
|
64
|
+
/** The first date of the chosen range in range mode; empty when none is chosen. */
|
|
65
|
+
start: string;
|
|
66
|
+
/** The last date of the chosen range in range mode, never before `start`; empty while only `start` is chosen. */
|
|
67
|
+
end: string;
|
|
68
|
+
/** The earliest date that can be chosen; empty for no limit. */
|
|
69
|
+
min: string;
|
|
70
|
+
/** The latest date that can be chosen; empty for no limit. */
|
|
71
|
+
max: string;
|
|
72
|
+
/** Dates inside min and max that cannot be chosen (booked, closed). The `disabled-dates` attribute is a space-separated list or a JSON array. */
|
|
73
|
+
disabledDates: string[];
|
|
74
|
+
/** A rule no list can hold (every weekend): true for an ISO date that cannot be chosen. Read with `disabledDates`. Property only. */
|
|
75
|
+
isDateDisabled: ((date: string) => boolean) | null;
|
|
76
|
+
/** The date drawn as today; empty reads the device's current date in its own time zone (and again at midnight). */
|
|
77
|
+
today: string;
|
|
78
|
+
/** The weekday in the first column (`first-day-of-week`); `locale` takes it from the locale. */
|
|
79
|
+
firstDayOfWeek: TanreiCalendarFirstDayOfWeek;
|
|
80
|
+
/** A BCP 47 tag ("en-US", "ja-JP") for names, digits and the first day of the week; empty: the nearest `lang`, then the browser's. */
|
|
81
|
+
locale: string;
|
|
82
|
+
/** Whether the calendar first shows the days of a month or the list of years (`start-view`). */
|
|
83
|
+
startView: TanreiCalendarStartView;
|
|
84
|
+
/** Fills the spare cells with the neighbouring months' days, drawn quieter; they can be chosen (`show-adjacent-days`). */
|
|
85
|
+
showAdjacentDays: boolean;
|
|
86
|
+
/** The accessible name of the whole calendar ("Check-in date"); a picker that holds it names it itself. */
|
|
87
|
+
label: string;
|
|
88
|
+
/** Range mode: the description of the start day (`start-label`): this instance's words, else the product's (`setWords({ startLabel })`). Tanrei has none: without them the day has no description. */
|
|
89
|
+
startLabel: string;
|
|
90
|
+
/** Range mode: the description of the end day (`end-label`): this instance's words, else the product's (`setWords({ endLabel })`). Tanrei has none: without them the day has no description. */
|
|
91
|
+
endLabel: string;
|
|
92
|
+
/** The previous-month button's accessible name (`previous-month-label`): this instance's words, else the product's (`setWords({ previousMonthLabel })`). Tanrei has none: without them the button is drawn and works, and has no name. */
|
|
93
|
+
previousMonthLabel: string;
|
|
94
|
+
/** The next-month button's accessible name (`next-month-label`): this instance's words, else the product's (`setWords({ nextMonthLabel })`). Tanrei has none: without them the button is drawn and works, and has no name. */
|
|
95
|
+
nextMonthLabel: string;
|
|
96
|
+
/** The view toggle's description; its name is the month and year it shows (`year-view-label`): this instance's words, else the product's (`setWords({ yearViewLabel })`). Tanrei has none: without them the toggle has no description. */
|
|
97
|
+
yearViewLabel: string;
|
|
98
|
+
/** Read after the current year. Today's date is `aria-current="date"` on the web, so it is not added to a day (`today-label`): this instance's words, else the product's (`setWords({ todayLabel })`), else the locale's own word for the present day, from the browser. */
|
|
99
|
+
todayLabel: string;
|
|
100
|
+
/** The displayed month. */
|
|
101
|
+
protected month: CalendarMonth;
|
|
102
|
+
protected view: 'day' | 'year';
|
|
103
|
+
/** The day grid's one tab stop (CAL-10). */
|
|
104
|
+
protected active: CalendarDate;
|
|
105
|
+
/** The year list's one tab stop (CAL-12). */
|
|
106
|
+
protected activeYear: number;
|
|
107
|
+
/** The polite announcement of a new month (CAL-13). */
|
|
108
|
+
protected announcement: string;
|
|
109
|
+
/** The device's date while `today` is empty, read again at midnight (CAL-24). */
|
|
110
|
+
protected deviceDate: CalendarDate;
|
|
111
|
+
private cfg;
|
|
112
|
+
private shown;
|
|
113
|
+
private axis;
|
|
114
|
+
/**
|
|
115
|
+
* CAL-29: the views the grid holds, earliest first — the displayed month alone at rest; while a change plays or a drag
|
|
116
|
+
* lasts, also the months the days move between. The progress counts them: 0 at the first, 1 at the next.
|
|
117
|
+
*/
|
|
118
|
+
private views;
|
|
119
|
+
/** The progress to write once the views are rendered: `jump` at once (where the days are now), then `to` over the page motion. */
|
|
120
|
+
private step;
|
|
121
|
+
/**
|
|
122
|
+
* CAL-14, CAL-29: the progress on its way from one place to another over the page motion. The progress is a custom
|
|
123
|
+
* property that no one registers — a registered one makes every transition of the page dear —
|
|
124
|
+
* so it has no transition of its own: `clock` is an
|
|
125
|
+
* animation with no effect on the grid, running for the page motion's duration on its curve, and each frame writes
|
|
126
|
+
* the progress where the clock's eased time says it is. A moment of it and a drag held at that place are one look.
|
|
127
|
+
*/
|
|
128
|
+
private travel;
|
|
129
|
+
/** CAL-30: the press that may become a drag, or the drag. */
|
|
130
|
+
private drag;
|
|
131
|
+
/** Where focus goes after the next update, and whether it shows its ring (true after a key, false after a press). */
|
|
132
|
+
private focusAfter;
|
|
133
|
+
private ringAfter;
|
|
134
|
+
private scrollYearsAfter;
|
|
135
|
+
/**
|
|
136
|
+
* The year list holds its years: while the year view is shown, and until it has faded out after it (CAL-6's
|
|
137
|
+
* cross-fade). A calendar in its day view holds none of them — two hundred and one buttons, most of what a calendar
|
|
138
|
+
* would otherwise be made of, and a picker's date view is a calendar.
|
|
139
|
+
*/
|
|
140
|
+
private yearsHeld;
|
|
141
|
+
/** The calendar set its own choice (CAL-17 is about a date the product sets). */
|
|
142
|
+
private ownChoice;
|
|
143
|
+
private midnight;
|
|
144
|
+
/** CAL-33, CAL-34: the scroll in progress, if any. */
|
|
145
|
+
private wheel;
|
|
146
|
+
/** CAL-30, CAL-31: the click a taken drag's release still produces chooses no day. */
|
|
147
|
+
private swallowClick;
|
|
148
|
+
/** CAL-20, CAL-21: the press of a day, a year or the view toggle — whichever container `pressedBox` is. */
|
|
149
|
+
private pressedBox;
|
|
150
|
+
private readonly press;
|
|
151
|
+
connectedCallback(): void;
|
|
152
|
+
disconnectedCallback(): void;
|
|
153
|
+
/** CAL-24: while `today` is empty, the device's date is read again when it changes (at the next local midnight). */
|
|
154
|
+
private scheduleMidnight;
|
|
155
|
+
/** Moves focus to the active day, or to the displayed year in the year view (CAL-10, CAL-12). */
|
|
156
|
+
focus(options?: FocusOptions & {
|
|
157
|
+
focusVisible?: boolean;
|
|
158
|
+
}): void;
|
|
159
|
+
private closed;
|
|
160
|
+
/** CAL-24: `locale`, else the nearest `lang` (through shadow roots), else the browser's language; English when `Intl` does not know it. */
|
|
161
|
+
private resolveLocale;
|
|
162
|
+
private readConfig;
|
|
163
|
+
/** CAL-17: the month of value or start, otherwise of today, between min's and max's months. */
|
|
164
|
+
private homeMonth;
|
|
165
|
+
/** CAL-10: the chosen date (start) in the month, otherwise today there, otherwise its first available day, otherwise its first. */
|
|
166
|
+
private activeDayOf;
|
|
167
|
+
/** CAL-2: the condition a day is drawn from, by precedence. */
|
|
168
|
+
private dayCondition;
|
|
169
|
+
private get rtl();
|
|
170
|
+
private get reducedMotion();
|
|
171
|
+
/** The axis the months move along, read from the cascade now (never cached). */
|
|
172
|
+
private readAxis;
|
|
173
|
+
private choose;
|
|
174
|
+
private get pages();
|
|
175
|
+
/** CAL-29: how far apart two consecutive views are — the rows between their first rows (four or five) for neighbouring months, six otherwise; one page on the horizontal axis. */
|
|
176
|
+
private stepsOf;
|
|
177
|
+
/** CAL-29: the column of week rows the views hold, in order: a row two views share is there once. */
|
|
178
|
+
private weekRows;
|
|
179
|
+
/** Where the days are now, as the progress drawn (a moment of a travel included). */
|
|
180
|
+
private progressNow;
|
|
181
|
+
/** The page motion, as the day view carries it — it cross-fades over it (CAL-14): its duration in ms and its curve. */
|
|
182
|
+
private get pageMotion();
|
|
183
|
+
/** Whether a month change can play: not where motion is reduced, the page motion is none, or the browser has no animation to keep its time. */
|
|
184
|
+
private get canTravel();
|
|
185
|
+
/** Whether the progress is on its way somewhere. */
|
|
186
|
+
private get travelling();
|
|
187
|
+
/** Where a travel's clock says the progress is: its eased time, between where it began and where it goes. */
|
|
188
|
+
private travelAt;
|
|
189
|
+
/** CAL-14, CAL-29: sends the progress from `from` to `to` over the page motion, written in each frame; at once where no change can play. */
|
|
190
|
+
private beginTravel;
|
|
191
|
+
/** Stops a travel where it is: whoever stops it writes the progress next. */
|
|
192
|
+
private endTravel;
|
|
193
|
+
/** CAL-29: the grid keeps its six rows' height while it holds more (the rows of a month's view are equally tall). */
|
|
194
|
+
private pin;
|
|
195
|
+
/** The days are at the displayed month's view, and the grid holds that view alone. */
|
|
196
|
+
private rest;
|
|
197
|
+
/**
|
|
198
|
+
* CAL-14, CAL-29: shows `month`. With the motion, the days travel there from where they are now — the views on screen
|
|
199
|
+
* stay, the new month's joins them, and the progress goes to it over the page motion — so a change that begins while
|
|
200
|
+
* another plays carries on without a jump. Without it (CAL-7, CAL-17, reduced motion) the month is shown at once.
|
|
201
|
+
*/
|
|
202
|
+
private showMonth;
|
|
203
|
+
/** Writes the progress the last render asked for (see `step`), and rests when it has nowhere to travel. */
|
|
204
|
+
private applyStep;
|
|
205
|
+
/** CAL-14, CAL-31: the travel has ended — the grid holds the displayed month's view alone again. */
|
|
206
|
+
private onTravelEnd;
|
|
207
|
+
/**
|
|
208
|
+
* CAL-13: `month` is shown — the active day keeps its number (the last day of a shorter month), the month is announced
|
|
209
|
+
* once, and focus stays where it was: a focused day that leaves the view hands it to the new active day.
|
|
210
|
+
*/
|
|
211
|
+
private turnTo;
|
|
212
|
+
/** CAL-13: the active day keeps its number in `month`, and a day that had the focus hands it to the new active day. */
|
|
213
|
+
private carryActive;
|
|
214
|
+
/**
|
|
215
|
+
* CAL-13: a month button that has just shown the first or the last month is disabled under the focus it holds, and a
|
|
216
|
+
* disabled button holds none: focus stays in the calendar, on the other month button — the one that leads back — or,
|
|
217
|
+
* where that one is disabled too (the product moved min or max under it), on the active day. It is moved within the
|
|
218
|
+
* turn that disables the button — once the other button, which this update may have just enabled, has drawn itself
|
|
219
|
+
* so — before the platform takes focus, so focus is never on nothing and nothing hears it leave.
|
|
220
|
+
*/
|
|
221
|
+
private keepPagingFocus;
|
|
222
|
+
/** CAL-13: the previous or next month, never past min's or max's. */
|
|
223
|
+
private pageBy;
|
|
224
|
+
private allowed;
|
|
225
|
+
private announce;
|
|
226
|
+
/** CAL-6: the view toggle switches between the day view and the year view. */
|
|
227
|
+
private readonly onToggleView;
|
|
228
|
+
/** CAL-7: a year is chosen — the day view of the displayed month in that year, focus to its active day; the choice is unchanged. */
|
|
229
|
+
private chooseYear;
|
|
230
|
+
/**
|
|
231
|
+
* CAL-33: a wheel or trackpad scroll along the axis is the calendar's — also where the days can move no further — and
|
|
232
|
+
* one across it, or one that zooms, is left to the scrolling ancestor. A scroll reported as a distance is followed; one
|
|
233
|
+
* reported in lines or pages is a detented wheel's step, and moves one month as a button does.
|
|
234
|
+
*/
|
|
235
|
+
private readonly onWheel;
|
|
236
|
+
/**
|
|
237
|
+
* CAL-33, CAL-34: one event of a scroll, `distance` px toward the next month, at `time`. The days move by it, unless
|
|
238
|
+
* the scroll has ended: it ends when it has slowed below `SCROLL_SLOW` — having been that fast: a scroll that never
|
|
239
|
+
* was has not slowed, and is followed until it is quiet — and what follows is ignored for as long as it is no faster
|
|
240
|
+
* (the tail of a momentum scroll). A faster event (by `SCROLL_RESUME`) is a new push, and moves the days again from
|
|
241
|
+
* where they are.
|
|
242
|
+
*/
|
|
243
|
+
private followScroll;
|
|
244
|
+
/** CAL-34: no event for `SCROLL_QUIET` ms — the scroll is over; days it still holds settle. */
|
|
245
|
+
private readonly onScrollQuiet;
|
|
246
|
+
/**
|
|
247
|
+
* CAL-33: the days begin to follow a scroll, as a drag takes them without a pointer: the progress is held where the
|
|
248
|
+
* days are now (a change that is playing carries on from there, CAL-14), and the grid holds the displayed month's view
|
|
249
|
+
* and its neighbours'.
|
|
250
|
+
*/
|
|
251
|
+
private beginScroll;
|
|
252
|
+
/**
|
|
253
|
+
* CAL-33: the days move `travel` rows (or pages) toward the next month — toward the previous one when negative — one
|
|
254
|
+
* point for each point, in the frame the event arrives. When they reach a neighbouring month's view that month is the
|
|
255
|
+
* displayed one (CAL-34: shown, not announced), the grid holds its neighbours', and the scroll carries on with what is
|
|
256
|
+
* left; where there is no further view (min's or max's month) they stop.
|
|
257
|
+
*/
|
|
258
|
+
private moveScroll;
|
|
259
|
+
/** CAL-34: the days have reached `month`'s view — it is the displayed month (CAL-13, without the announcement), between its neighbours'. */
|
|
260
|
+
private reachView;
|
|
261
|
+
/**
|
|
262
|
+
* CAL-34: the scroll has ended. Between two views the days go to the neighbour's from a quarter of the way on, and
|
|
263
|
+
* otherwise return, over the page motion (at once where motion is reduced, CAL-32); the month is announced once, if it
|
|
264
|
+
* is not the one displayed when the scroll began.
|
|
265
|
+
*/
|
|
266
|
+
private settleScroll;
|
|
267
|
+
/**
|
|
268
|
+
* CAL-14: something else moves the month (a button, a key, a drag): the scroll no longer holds the days, which stay
|
|
269
|
+
* where it left them for that to carry on from. A month the scroll had reached is announced, as its end would have.
|
|
270
|
+
*/
|
|
271
|
+
private dropScroll;
|
|
272
|
+
/** CAL-32: the scroll is cancelled — the days return to the displayed month's view, nothing is announced, and what is left of it is ignored. */
|
|
273
|
+
private cancelScroll;
|
|
274
|
+
/** The scroll has nothing left to move (the grid is drawn anew, or gone). */
|
|
275
|
+
private forgetScroll;
|
|
276
|
+
/** CAL-30: a press of touch, a pen or the primary button of a mouse on the day grid may become a drag; another mouse button takes none. */
|
|
277
|
+
private readonly onDragDown;
|
|
278
|
+
private readonly onDragMove;
|
|
279
|
+
/**
|
|
280
|
+
* CAL-30: past the slop, further along the axis than across it — the drag is the calendar's. The press chooses no day
|
|
281
|
+
* and the day under it leaves its pressed state; the grid holds the displayed month's view and its neighbours' (never
|
|
282
|
+
* one past min or max), and from now on the progress is the pointer's — wherever it goes, since the grid captures it.
|
|
283
|
+
* While it lasts nothing in the calendar is hovered and a fine pointer shows the grabbing cursor (`data-dragging`).
|
|
284
|
+
*/
|
|
285
|
+
private takeDrag;
|
|
286
|
+
/**
|
|
287
|
+
* CAL-30: the days move by the distance the pointer has travelled along the axis since the press, in the frame it
|
|
288
|
+
* moves — toward the next month for a drag toward the top (or the start), wherever the pointer goes in either layout
|
|
289
|
+
* direction (CAL-26) — and stop at the neighbouring month's view.
|
|
290
|
+
*/
|
|
291
|
+
private followDrag;
|
|
292
|
+
/**
|
|
293
|
+
* CAL-31: the release chooses the displayed month or the neighbour the days have moved toward — the neighbour from a
|
|
294
|
+
* quarter of the way on (as the end of a scroll does, CAL-34), or the one a fling is toward — shows it as any month change (CAL-13) and lets the
|
|
295
|
+
* days travel there from where they are; a release on the displayed month returns them and announces nothing.
|
|
296
|
+
*/
|
|
297
|
+
private readonly onDragUp;
|
|
298
|
+
/** CAL-32: the platform cancels the pointer (a system gesture, a lost capture): the days return. */
|
|
299
|
+
private readonly onDragCancel;
|
|
300
|
+
/** CAL-32: Escape while a drag lasts cancels it, and is spent on it: nothing behind the calendar hears it. */
|
|
301
|
+
private readonly onDragKeyDown;
|
|
302
|
+
/** CAL-32: the drag is over without a choice — the days return to the displayed month's view; nothing is announced. */
|
|
303
|
+
private cancelDrag;
|
|
304
|
+
/**
|
|
305
|
+
* Lets go of the pointer, without moving anything. The progress stays held where the drag left it until the next
|
|
306
|
+
* step is written (`applyStep`), so that no style read in between starts a travel from somewhere else.
|
|
307
|
+
*/
|
|
308
|
+
private dropDrag;
|
|
309
|
+
/**
|
|
310
|
+
* CAL-31, CAL-32: the drag ends on the view at `index`. Another month than the displayed one is shown as CAL-13 says;
|
|
311
|
+
* the days go there from where the pointer left them over the page motion — at once where motion is reduced.
|
|
312
|
+
*/
|
|
313
|
+
private endDrag;
|
|
314
|
+
private dayOf;
|
|
315
|
+
private containerOf;
|
|
316
|
+
/** CAL-11: moves the active day (showing its month) and focus to it, never before min or after max. */
|
|
317
|
+
private moveActive;
|
|
318
|
+
private readonly onGridKeyDown;
|
|
319
|
+
private readonly onGridKeyUp;
|
|
320
|
+
private readonly onGridPointerDown;
|
|
321
|
+
private readonly onGridPointerUp;
|
|
322
|
+
/** CAL-15: a press on a neighbouring month's day moves no focus by itself: the day takes it once its month is shown, if focus was in the grid. */
|
|
323
|
+
private readonly onGridMouseDown;
|
|
324
|
+
private readonly onGridClick;
|
|
325
|
+
private readonly onCellFocus;
|
|
326
|
+
private get years();
|
|
327
|
+
private yearOf;
|
|
328
|
+
private readonly onYearsKeyDown;
|
|
329
|
+
private readonly onYearsPointerDown;
|
|
330
|
+
private readonly onYearsClick;
|
|
331
|
+
/** CAL-7: the displayed year's row is the third in view, or as near to it as the list's ends allow. */
|
|
332
|
+
private scrollYears;
|
|
333
|
+
/** The year list has faded out (its `visibility` is the last to change): the day view holds no year. */
|
|
334
|
+
private readonly onYearsFaded;
|
|
335
|
+
/** Lets go of the years once the day view is shown and the list is out of sight (at once where nothing fades). */
|
|
336
|
+
private releaseYears;
|
|
337
|
+
/** CAL-12: the focused year scrolled into view inside the list. */
|
|
338
|
+
private revealYear;
|
|
339
|
+
private readonly onTogglePointerDown;
|
|
340
|
+
private readonly onToggleKeyDown;
|
|
341
|
+
protected willUpdate(changed: PropertyValues<this>): void;
|
|
342
|
+
/**
|
|
343
|
+
* CAL-35: a part that needs a word nobody gave — not the instance, not the product's words — is still drawn and
|
|
344
|
+
* works; it is recorded (`missingWords()`) and, in a debug build, reported once, naming the prop. The view toggle's
|
|
345
|
+
* description is not one of them: its name and its expanded state already say what it shows.
|
|
346
|
+
*/
|
|
347
|
+
private reportWords;
|
|
348
|
+
protected updated(): void;
|
|
349
|
+
/** The day grid's item: one day, a gridcell with its condition and state (CAL-2, CAL-3, CAL-15, CAL-16, CAL-23). */
|
|
350
|
+
protected renderDay(day: GridDay | null, look?: Between): TemplateResult;
|
|
351
|
+
/**
|
|
352
|
+
* CAL-29: the day grid on the vertical axis — ONE column of week rows, keyed by their first day, holding the rows of
|
|
353
|
+
* every view the grid holds: the displayed month's six at rest, and those of the months the days move between while a
|
|
354
|
+
* change plays or a drag lasts. Each day is drawn between what the views draw for it, by the progress: faded where a
|
|
355
|
+
* view does not draw it (a row outside its six; an empty cell without showAdjacentDays), mixed between the adjacent
|
|
356
|
+
* and the unselected condition where it is a neighbouring month's in one view and the month's own in another. What the
|
|
357
|
+
* displayed month's view does not hold is inert and hidden until that month is the displayed one (CAL-32).
|
|
358
|
+
*/
|
|
359
|
+
private renderColumn;
|
|
360
|
+
/**
|
|
361
|
+
* CAL-14, CAL-30: the day grid on the horizontal axis — a page a view, side by side in order, travelling together by
|
|
362
|
+
* the progress. The displayed month's page is the grid's; the others are inert and hidden until theirs is (CAL-32).
|
|
363
|
+
*/
|
|
364
|
+
private renderPages;
|
|
365
|
+
/** The year list's item: one year, a button with its condition (CAL-2, CAL-7, CAL-23). */
|
|
366
|
+
protected renderYear(year: number): TemplateResult;
|
|
367
|
+
/**
|
|
368
|
+
* CAL-5: the arrows follow the axis — up and down, or back and forward. The names never change with the direction:
|
|
369
|
+
* arrow_back and arrow_forward are flagged by the icon set, so each Button's icon helper mirrors its glyph in
|
|
370
|
+
* right-to-left (BTN-19), and previous still points to the start edge.
|
|
371
|
+
*/
|
|
372
|
+
private glyphs;
|
|
373
|
+
protected render(): TemplateResult<1>;
|
|
374
|
+
}
|
|
375
|
+
declare global {
|
|
376
|
+
interface HTMLElementTagNameMap {
|
|
377
|
+
'tanrei-calendar': TanreiCalendar;
|
|
378
|
+
}
|
|
379
|
+
}
|
|
380
|
+
export {};
|