@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,627 @@
|
|
|
1
|
+
import { LitElement, type PropertyDeclarations, type PropertyValues, type TemplateResult, nothing } from 'lit';
|
|
2
|
+
import { type ClassInfo } from 'lit/directives/class-map.js';
|
|
3
|
+
import { type StyleInfo } from 'lit/directives/style-map.js';
|
|
4
|
+
import { type Destination, type DestinationContext, GlyphMirrorController, PressController } from '../../primitives/index.js';
|
|
5
|
+
export type { TanreiNavigationChangeDetail } from '../../primitives/index.js';
|
|
6
|
+
/** The core variants (standard, modal), plus any a design system adds: only `modal` is presented as a modal overlay. */
|
|
7
|
+
export type TanreiNavigationDrawerVariant = 'standard' | 'modal' | (string & {});
|
|
8
|
+
/** Which cells draw their short label while the drawer is collapsed: all of them, only the selected one's, or none. */
|
|
9
|
+
export type TanreiNavigationDrawerCollapsedLabels = 'always' | 'selected' | 'never';
|
|
10
|
+
/**
|
|
11
|
+
* What a responsive drawer is at the window's current width (NVD-53): `standard`, beside the content; `column`, its
|
|
12
|
+
* collapsed column beside the content, widening over it while open; `modal`, over the content alone while open.
|
|
13
|
+
*/
|
|
14
|
+
export type TanreiNavigationDrawerPresentation = 'standard' | 'column' | 'modal';
|
|
15
|
+
/** What `presentationchange` carries: the presentation the window's width has just chosen (which `presentation` already holds). */
|
|
16
|
+
export interface TanreiNavigationDrawerPresentationChangeDetail {
|
|
17
|
+
presentation: TanreiNavigationDrawerPresentation;
|
|
18
|
+
}
|
|
19
|
+
/** What `expandedchange` carries: the form asked for, true to expand and false to collapse. */
|
|
20
|
+
export interface TanreiNavigationDrawerExpandedChangeDetail {
|
|
21
|
+
expanded: boolean;
|
|
22
|
+
}
|
|
23
|
+
/** What a group's `toggle` carries: its new open state (which its `open` already holds). */
|
|
24
|
+
export interface TanreiNavigationDrawerToggleDetail {
|
|
25
|
+
open: boolean;
|
|
26
|
+
}
|
|
27
|
+
/** What the drawer tells each of its cells (a destination, or a group's row). */
|
|
28
|
+
export interface DrawerCellContext extends DestinationContext {
|
|
29
|
+
/** The drawer is collapsed (NVD-30): the cell is drawn from the collapsed conditions, as the collapsed cell. */
|
|
30
|
+
collapsed: boolean;
|
|
31
|
+
/** The drawer is collapsible: the cell keeps one height and icon line in both forms (NVD-31). */
|
|
32
|
+
collapsible: boolean;
|
|
33
|
+
/** Its short label is drawn while the drawer is collapsed (NVD-33). */
|
|
34
|
+
shortShown: boolean;
|
|
35
|
+
/** collapsedLabels is not `never`: the cell keeps room for a short label (NVD-31). */
|
|
36
|
+
labels: boolean;
|
|
37
|
+
/** How many groups hold it (NVD-13, NVD-44: its item container starts item.nest-indent further in per level). */
|
|
38
|
+
level: number;
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* What a destination and a group's row share: the cell — the drawer's full width, the hit area — with its row laid out
|
|
42
|
+
* for the expanded drawer (the icon on the icon column, the label, the trailing content), the item container that is the
|
|
43
|
+
* row while expanded and the row cut after its icon while collapsed, the short label where collapsedLabels draws one, the
|
|
44
|
+
* tooltip that names a collapsed cell without one, and the states, press and focus (NVD-4…10, NVD-31…35, NVD-56).
|
|
45
|
+
*/
|
|
46
|
+
declare abstract class DrawerCell extends LitElement {
|
|
47
|
+
static shadowRootOptions: ShadowRootInit;
|
|
48
|
+
static properties: PropertyDeclarations;
|
|
49
|
+
/** Its name, drawn beside the icon while the drawer is expanded and always its accessible name. Required. */
|
|
50
|
+
label: string;
|
|
51
|
+
/** What the collapsed drawer draws under the icon, on one line ("Files" for "My files"), where the drawer's `collapsedLabels` draws labels. Empty draws the label, truncated. */
|
|
52
|
+
shortLabel: string;
|
|
53
|
+
/** The name of a glyph of the system's icon set: outlined while unselected, filled while selected. Empty draws none. A glyph the icon set flags as showing a direction (`arrow_forward`, `send`) is drawn mirrored in a right-to-left layout. */
|
|
54
|
+
icon: string;
|
|
55
|
+
/** Unavailable: it keeps its place and its disabled look, cannot be activated and leaves the focus order. */
|
|
56
|
+
disabled: boolean;
|
|
57
|
+
protected context: DrawerCellContext;
|
|
58
|
+
/** Whether the drawer has told it anything yet: the first selection is drawn, not animated. */
|
|
59
|
+
protected told: boolean;
|
|
60
|
+
protected grow: boolean;
|
|
61
|
+
/**
|
|
62
|
+
* NVD-51: a destination's and a group's glyph, and a glyph the product put in the trailing slot, are marked when the
|
|
63
|
+
* icon set mirrors their names in right-to-left (src/primitives/glyph-mirror.ts); `iconGlyph()` draws the mark. A
|
|
64
|
+
* group's chevron (`expand_more`, NVD-44) is not named here.
|
|
65
|
+
*/
|
|
66
|
+
protected readonly mirror: GlyphMirrorController;
|
|
67
|
+
/** NVD-8, NVD-9: the pressed state, press-hold and the answer the system chooses (src/primitives/press.ts). */
|
|
68
|
+
protected readonly press: PressController;
|
|
69
|
+
constructor();
|
|
70
|
+
/** The keys that press the cell: Enter and Space (undefined), and Enter alone for a destination that is a link (NVD-1). */
|
|
71
|
+
protected get pressKeys(): readonly string[] | undefined;
|
|
72
|
+
/** @internal The drawer's side. */
|
|
73
|
+
setDrawerContext(context: DrawerCellContext): void;
|
|
74
|
+
/** @internal The native button or link: the cell. */
|
|
75
|
+
get cell(): HTMLElement | null;
|
|
76
|
+
/** The group that holds it, if any. */
|
|
77
|
+
protected get parentGroup(): TanreiNavigationDrawerGroup | null;
|
|
78
|
+
/** NVD-10: where style queries are missing, the focus style is read when focus arrives. NVD-56: keyboard focus names a collapsed cell, without the hover's delay. */
|
|
79
|
+
protected readonly onFocus: () => void;
|
|
80
|
+
/** NVD-56: whether this cell is one the collapsed drawer draws without a label, so that its name is shown beside it. */
|
|
81
|
+
protected get unnamed(): boolean;
|
|
82
|
+
private get tip();
|
|
83
|
+
private tipTimer;
|
|
84
|
+
private tipFrame;
|
|
85
|
+
private hovered;
|
|
86
|
+
/** NVD-56: shows or hides the cell's name beside it. The tooltip is the tooltip component's plain one, opened by the cell. */
|
|
87
|
+
private showName;
|
|
88
|
+
/** The tooltip's waits, as its tokens resolve now, in ms. */
|
|
89
|
+
private tipWaits;
|
|
90
|
+
/** NVD-56: a fine pointer resting on the cell shows its name after the tooltip's show delay; a touch does not. */
|
|
91
|
+
protected readonly onPointerEnter: (event: PointerEvent) => void;
|
|
92
|
+
protected readonly onPointerLeave: (event: PointerEvent) => void;
|
|
93
|
+
/** An activation closes the tooltip, and so does focus leaving the cell. */
|
|
94
|
+
protected readonly hideName: () => void;
|
|
95
|
+
protected readonly onBlur: () => void;
|
|
96
|
+
/** Whether `key` is the arrow toward the end of the line (Right in a left-to-right layout), or toward its start. */
|
|
97
|
+
protected arrow(key: string): 'end' | 'start' | null;
|
|
98
|
+
/** NVD-45: on an item inside an open group, the arrow toward the start moves focus to the group's row. */
|
|
99
|
+
protected leaveToGroup(event: KeyboardEvent): boolean;
|
|
100
|
+
disconnectedCallback(): void;
|
|
101
|
+
protected willUpdate(changed: PropertyValues<this>): void;
|
|
102
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
103
|
+
/**
|
|
104
|
+
* NVD-41: the newly selected cell's icon indicator — which only a system that marks the selection behind the glyph
|
|
105
|
+
* fills — grows in width from its centre, at its full height, over the selection motion. The item container is never
|
|
106
|
+
* resized to show a selection: it changes color in place (the styles).
|
|
107
|
+
*/
|
|
108
|
+
protected growIndicator(): void;
|
|
109
|
+
/** The cell's classes: its condition, its state and its form. */
|
|
110
|
+
protected cellClasses(extra?: ClassInfo): ClassInfo;
|
|
111
|
+
/** Its level of nesting, for the item container's, the icon's and the label's indent (NVD-13, NVD-44). */
|
|
112
|
+
protected cellStyle(): StyleInfo;
|
|
113
|
+
/** The glyph (hidden from assistive technology); a destination puts its badge on it. */
|
|
114
|
+
protected glyph(): TemplateResult;
|
|
115
|
+
/**
|
|
116
|
+
* The row: the item container (the active indicator, the state layer's box), the icon indicator with the icon on the
|
|
117
|
+
* icon column, the label, the trailing content, the short label under the icon — and, for a collapsed cell that draws
|
|
118
|
+
* no label, the plain tooltip that shows its name beside it (NVD-56). Everything but the cell itself is hidden from
|
|
119
|
+
* assistive technology: the cell is named by the label, and the tooltip says nothing a second time.
|
|
120
|
+
*/
|
|
121
|
+
protected row(trailing: TemplateResult | typeof nothing): TemplateResult<1>;
|
|
122
|
+
}
|
|
123
|
+
/**
|
|
124
|
+
* One destination of a navigation drawer — the spec's item kind `destination`: an icon, a label (a short label
|
|
125
|
+
* while the drawer is collapsed), optional trailing content at the end of its row and an optional badge on its icon. A
|
|
126
|
+
* child of `<tanrei-navigation-drawer>`, of one of its sections or of one of its groups, in order.
|
|
127
|
+
*
|
|
128
|
+
* It is a button, or with `href` a link (NVD-59): an `<a href>` in the shadow root, drawn exactly as the button
|
|
129
|
+
* is, whose context menu, new-tab clicks, drag and address are the browser's own; Enter follows it and Space does not.
|
|
130
|
+
* A link is not selected by a press (NVD-60): a plain activation makes the drawer fire `change` (or `reselect`) —
|
|
131
|
+
* cancelable, with `detail.href`, before the browser follows the link — and the page shown next sets the drawer's
|
|
132
|
+
* `value`; a modified or a middle click, a link whose `target` is `new` and a download fire nothing. Without a `value`
|
|
133
|
+
* a link's `href` is its value. `target="new"` opens a new tab, safely (`noopener`), ends the expanded row with the icon
|
|
134
|
+
* set's `open_in_new` unless the row has trailing content, and says `targetLabel` (NVD-63).
|
|
135
|
+
*
|
|
136
|
+
* Either is named by its label in both forms, the selected one `aria-current="page"`; its badge's description, then its
|
|
137
|
+
* trailing content and then, for a link that opens a new context, `targetLabel` are its description. Its host is a
|
|
138
|
+
* list item, its position counted among the items of its level.
|
|
139
|
+
*
|
|
140
|
+
* @tag tanrei-navigation-drawer-item
|
|
141
|
+
* @slot trailing - Content at the end of the expanded row, in place of `trailing-text`: a glyph of the icon set (drawn at comp.navigation-drawer.item.trailing-icon.size, e.g. `open_in_new`), a badge, a short text. Not interactive.
|
|
142
|
+
* @csspart cell - The whole cell: the native button or link, the hit area.
|
|
143
|
+
* @csspart container - The item container: the row while expanded (starting `item.nest-indent` further in per level of nesting), and while collapsed the row cut after its icon, with the row's height and corners in the default system; the state layer's box, the focus ring's and the ripple's.
|
|
144
|
+
* @csspart active-indicator - The fill of the item container (the active indicator while selected): it changes color in place and is never resized to show a selection.
|
|
145
|
+
* @csspart icon-indicator - The box behind the icon alone (transparent in the default system).
|
|
146
|
+
* @csspart icon - The glyph (hidden from assistive technology).
|
|
147
|
+
* @csspart label - The label beside the icon (hidden from assistive technology: the cell is named by it).
|
|
148
|
+
* @csspart short-label - The short label under the icon while collapsed, where the drawer's `collapsed-labels` draws one (hidden from assistive technology).
|
|
149
|
+
* @csspart trailing-text - The trailing text.
|
|
150
|
+
* @csspart link-mark - The `open_in_new` glyph that ends a link which opens a new context, where the row has no trailing content (hidden from assistive technology).
|
|
151
|
+
*/
|
|
152
|
+
export declare class TanreiNavigationDrawerItem extends DrawerCell implements Destination {
|
|
153
|
+
static styles: import("lit").CSSResult;
|
|
154
|
+
static properties: PropertyDeclarations;
|
|
155
|
+
private given;
|
|
156
|
+
/**
|
|
157
|
+
* What identifies the destination: the drawer's `value` selects it by this, and `change` / `reselect` carry it. While
|
|
158
|
+
* it is given none, a link's `href` stands for it, as written (NVD-59) — so a page sets the drawer's `value` to its
|
|
159
|
+
* own address and nothing on the items.
|
|
160
|
+
*/
|
|
161
|
+
get value(): string;
|
|
162
|
+
set value(value: string);
|
|
163
|
+
/** Short text at the end of the expanded row ("24", "New"), quieter than the label; the trailing slot's content wins. */
|
|
164
|
+
trailingText: string;
|
|
165
|
+
/** Draws a Tanrei badge on the icon, in both forms, from `badgeCount` and `badgeLabel`. */
|
|
166
|
+
badge: boolean;
|
|
167
|
+
/** The badge's count: null (no attribute) draws the dot, 0 nothing, above 0 the number (999+ above 999). */
|
|
168
|
+
badgeCount: number | null;
|
|
169
|
+
/** What assistive technology reads after the destination's name and state ("3 unread"). A dot needs one. */
|
|
170
|
+
badgeLabel: string;
|
|
171
|
+
/** The address the destination leads to: a URL, a path or a fragment. Not empty, the destination is a link and not a button (NVD-59), and the drawer does not select it by a press (NVD-60). White space is no address; a `javascript:` address or one that cannot be read is refused and reported (NVD-64). */
|
|
172
|
+
href: string;
|
|
173
|
+
/** Where a link opens: `same` (here) or `new` (a new tab or window, with `noopener`), which the expanded row marks with `open_in_new` and says through `targetLabel` (NVD-63). HTML's `_self` and `_blank` are read as those; anything else is `same` and is reported (NVD-64). Ignored without `href`. */
|
|
174
|
+
target: string;
|
|
175
|
+
/** What assistive technology reads at the end of the link's description while `target` is `new` ("opens in a new tab"): your words, in your language. Required then; ignored otherwise. */
|
|
176
|
+
targetLabel: string;
|
|
177
|
+
/** Web only: the anchor's `rel`. `noopener` is added while `target` is `new`; `noreferrer` is yours to add. */
|
|
178
|
+
rel: string | null;
|
|
179
|
+
/** Web only: the anchor's `download`. A link that asks for a download is the browser's: the drawer fires nothing for it (NVD-60). */
|
|
180
|
+
download: string | null;
|
|
181
|
+
/**
|
|
182
|
+
* NVD-59, NVD-63, NVD-64: the link the destination is while it has an address, what its anchor carries, and what a
|
|
183
|
+
* debug build is told (src/primitives/link.ts).
|
|
184
|
+
*/
|
|
185
|
+
private readonly link;
|
|
186
|
+
/** NVD-1, NVD-59: a link is pressed by Enter alone; Space is the browser's, and shows no pressed state. */
|
|
187
|
+
protected get pressKeys(): readonly string[] | undefined;
|
|
188
|
+
/**
|
|
189
|
+
* @internal NVD-60: what the drawer is told of a click on this destination — null while it is a button; for a link
|
|
190
|
+
* its address, and whether the click follows it in place: the primary button, no modifier key, not already
|
|
191
|
+
* cancelled, on a link that opens where the person is and asks for no download.
|
|
192
|
+
*/
|
|
193
|
+
linkActivation(event: MouseEvent): {
|
|
194
|
+
href: string;
|
|
195
|
+
counted: boolean;
|
|
196
|
+
} | null;
|
|
197
|
+
/** What the trailing slot holds: whether anything, whether one glyph, and what it says. */
|
|
198
|
+
private trailing;
|
|
199
|
+
/** @internal The drawer's side (`DestinationsController`). */
|
|
200
|
+
setDestinationContext(context: DestinationContext): void;
|
|
201
|
+
/** Whether the drawer draws this destination as its selected one. */
|
|
202
|
+
get selected(): boolean;
|
|
203
|
+
/** `element.click()` activates the destination as a person would; a disabled one does nothing. */
|
|
204
|
+
click(): void;
|
|
205
|
+
private readonly onKeyDown;
|
|
206
|
+
/** NVD-15, NVD-43: what the trailing slot holds, and what it says as part of the description. */
|
|
207
|
+
private onTrailingChange;
|
|
208
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
209
|
+
/** NVD-42: the glyph, inside the badge when there is one — the badge is drawn above the icon indicator. */
|
|
210
|
+
protected glyph(): TemplateResult;
|
|
211
|
+
/**
|
|
212
|
+
* NVD-43: the trailing slot's content, or else the trailing text; inert, and part of the description (NVD-15).
|
|
213
|
+
* NVD-63: a link that opens a new context ends its row with the icon set's `open_in_new` where the product put
|
|
214
|
+
* neither there — drawn as a glyph of the trailing slot is, and mirrored by the icon set's list.
|
|
215
|
+
*/
|
|
216
|
+
private trailingContent;
|
|
217
|
+
protected render(): TemplateResult<1>;
|
|
218
|
+
}
|
|
219
|
+
/**
|
|
220
|
+
* A group of a drawer's destinations — the spec's item kind `group`: a row that opens and closes it (an icon,
|
|
221
|
+
* a label, a short label for the collapsed drawer, and the icon set's `expand_more` turned half a turn while open), and
|
|
222
|
+
* under it, indented one level further, its `<tanrei-navigation-drawer-item>` and `<tanrei-navigation-drawer-group>`
|
|
223
|
+
* children. A collapsed drawer draws it as one cell; activating that cell expands the drawer with the group open.
|
|
224
|
+
*
|
|
225
|
+
* Its row is a `<button aria-expanded aria-controls>` named by its label, and its items a nested list labelled by it.
|
|
226
|
+
* Activating the row sets `open` and then fires `toggle`; with focus on the row, the arrow toward the end of the line
|
|
227
|
+
* opens it and the one toward the start closes it (NVD-45).
|
|
228
|
+
*
|
|
229
|
+
* @tag tanrei-navigation-drawer-group
|
|
230
|
+
* @slot - `<tanrei-navigation-drawer-item>` and `<tanrei-navigation-drawer-group>` children.
|
|
231
|
+
* @csspart cell - The row: the native button, the hit area.
|
|
232
|
+
* @csspart container - The item container (the state layer's box, the focus ring's and the ripple's).
|
|
233
|
+
* @csspart active-indicator - The fill of the item container (drawn selected while the group shows the selection, NVD-47).
|
|
234
|
+
* @csspart icon-indicator - The box behind the icon alone.
|
|
235
|
+
* @csspart icon - The glyph (hidden from assistive technology).
|
|
236
|
+
* @csspart label - The label (hidden from assistive technology: the row is named by it).
|
|
237
|
+
* @csspart short-label - The short label under the icon while collapsed.
|
|
238
|
+
* @csspart chevron - The expand_more glyph (hidden from assistive technology).
|
|
239
|
+
* @csspart items - The list of its items.
|
|
240
|
+
* @fires {CustomEvent<TanreiNavigationDrawerToggleDetail>} toggle - The user opened or closed the group from its row, or from its cell in the collapsed drawer, or the drawer opened it to show the selected destination (`reveal-selected`, NVD-58): `detail.open` (and `open`) is its new state. Bubbles.
|
|
241
|
+
*/
|
|
242
|
+
export declare class TanreiNavigationDrawerGroup extends DrawerCell {
|
|
243
|
+
static styles: import("lit").CSSResult[];
|
|
244
|
+
static properties: PropertyDeclarations;
|
|
245
|
+
/** Whether its items are shown under its row while the drawer is expanded. Reflected; the drawer sets it on activation. */
|
|
246
|
+
open: boolean;
|
|
247
|
+
/** @internal Opens or closes the group as its user did, and fires `toggle` (NVD-45, NVD-47). */
|
|
248
|
+
setOpenByUser(open: boolean): void;
|
|
249
|
+
/**
|
|
250
|
+
* @internal NVD-58: the drawer opens the group to show the selected destination inside it — a disabled group too —
|
|
251
|
+
* and the group fires `toggle`. In the drawer's first frame it is drawn open without the motion of NVD-44 (the
|
|
252
|
+
* drawer's `data-arriving`); afterwards with it.
|
|
253
|
+
*/
|
|
254
|
+
openForSelection(firstFrame?: boolean): void;
|
|
255
|
+
/** NVD-58: the drawer opened this group to show the selection while building its first frame. */
|
|
256
|
+
private shownInFirstFrame;
|
|
257
|
+
protected willUpdate(changed: PropertyValues<this>): void;
|
|
258
|
+
/** @internal Resolves once the motion that opens or closes the group has ended (at once where there is none). */
|
|
259
|
+
settled(): Promise<void>;
|
|
260
|
+
private get drawer();
|
|
261
|
+
private readonly onClick;
|
|
262
|
+
private readonly onKeyDown;
|
|
263
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
264
|
+
protected render(): TemplateResult<1>;
|
|
265
|
+
}
|
|
266
|
+
/**
|
|
267
|
+
* A group of a drawer's destinations and groups under an optional heading — the spec's item kind `section`:
|
|
268
|
+
* the divider component before it while `divider` is set, its heading (a heading, level 2 unless `heading-level` says
|
|
269
|
+
* otherwise) and its children. Sections do not nest and do not go inside a group: such a section draws only its items,
|
|
270
|
+
* in its place, and a debug build says so (NVD-17). Collapsed, its heading keeps its row and draws no text (NVD-16).
|
|
271
|
+
*
|
|
272
|
+
* @tag tanrei-navigation-drawer-section
|
|
273
|
+
* @slot - `<tanrei-navigation-drawer-item>` and `<tanrei-navigation-drawer-group>` children.
|
|
274
|
+
* @csspart heading - The heading row.
|
|
275
|
+
*/
|
|
276
|
+
export declare class TanreiNavigationDrawerSection extends LitElement {
|
|
277
|
+
static styles: import("lit").CSSResult;
|
|
278
|
+
static properties: PropertyDeclarations;
|
|
279
|
+
/** The text that names the items under it, exposed as a heading. Empty draws no heading row. */
|
|
280
|
+
heading: string;
|
|
281
|
+
/** Draws a divider (the divider component) before the section. */
|
|
282
|
+
divider: boolean;
|
|
283
|
+
/** Web only: the heading's level, 1 to 6. */
|
|
284
|
+
headingLevel: number;
|
|
285
|
+
private nested;
|
|
286
|
+
private collapsed;
|
|
287
|
+
connectedCallback(): void;
|
|
288
|
+
/** @internal The drawer's side: the drawer's form. */
|
|
289
|
+
setDrawerContext({ collapsed }: {
|
|
290
|
+
collapsed: boolean;
|
|
291
|
+
}): void;
|
|
292
|
+
protected updated(): void;
|
|
293
|
+
protected render(): TemplateResult<1>;
|
|
294
|
+
}
|
|
295
|
+
/**
|
|
296
|
+
* A panel of destinations at the start edge, in two variants — `standard`, a layout region beside the content,
|
|
297
|
+
* and `modal`, a modal overlay over a scrim that closes itself after a destination is chosen — and, while `collapsible`,
|
|
298
|
+
* in two forms: expanded, and collapsed to a column of icons, which is the expanded drawer with its labels gone: every
|
|
299
|
+
* row is the same row cut after its icon, at the same height and with the same corners, and every icon exactly in place
|
|
300
|
+
* while the drawer moves between the two. A collapsed cell shows its name in a plain tooltip on hover and keyboard focus;
|
|
301
|
+
* `collapsed-labels` draws short labels under the icons instead, for a product or a system whose column is labelled.
|
|
302
|
+
*
|
|
303
|
+
* Contract: specs/navigation-drawer.spec.json. `<tanrei-navigation-drawer-item>`, `<tanrei-navigation-drawer-group>` and
|
|
304
|
+
* `<tanrei-navigation-drawer-section>` children, in order; header buttons (icon-only `<tanrei-button>`s) with
|
|
305
|
+
* `slot="header-button"`, the main action (`<tanrei-main-action-button>`) with `slot="main-action"`, and the `header`
|
|
306
|
+
* slot. The drawer's `value` is the selected destination's value; the drawer sets it when a button destination is
|
|
307
|
+
* activated and fires `change`, or `reselect` for the selected one.
|
|
308
|
+
*
|
|
309
|
+
* A site's sidebar (NVD-57…64): a destination with `href` is a link, and the selected destination is the current page
|
|
310
|
+
* (`aria-current="page"`) — one state, which in a site of separate pages the page says, through `value` (a link without
|
|
311
|
+
* a `value` takes its `href`). The drawer never writes `value` for a link: a plain activation fires `change` or
|
|
312
|
+
* `reselect` with `detail.href`, cancelable, before the browser follows the link (a router cancels it and goes to
|
|
313
|
+
* `detail.href` itself), and then closes a modal drawer; a modified or a middle click, a link whose `target` is `new`
|
|
314
|
+
* and a download fire nothing and close nothing. The row that shows the selection is brought into view when the drawer
|
|
315
|
+
* first appears and whenever `value` changes — centred if it was not wholly in view, untouched if it was, without motion
|
|
316
|
+
* and without moving focus — and `reveal-selected` opens the groups that hold it (each fires `toggle`). `scrollOffset`
|
|
317
|
+
* reads and writes how far the items are scrolled; the scroll does not chain to the page. Nothing is stored: a site keeps
|
|
318
|
+
* each group's `open` (from `toggle`) and `scrollOffset` (read on `pagehide`) itself and gives them back as attributes.
|
|
319
|
+
*
|
|
320
|
+
* Forms (NVD-30): not collapsible, always expanded. Collapsible and standard: `expanded` chooses. Collapsible and modal:
|
|
321
|
+
* collapsed — its column in the layout, drawn as a standard drawer's — while closed, and expanded over the content while
|
|
322
|
+
* open. The first header button is then the menu button: the drawer sets `aria-expanded` and `aria-controls` on its
|
|
323
|
+
* native button (`ariaExpanded`, `ariaControlsElements`), and its activation asks for the other form: the drawer sets
|
|
324
|
+
* `expanded` (or `open`) and fires `expandedchange`. The main action's `extended` follows the form. The read-only
|
|
325
|
+
* `collapsed` attribute reflects the form.
|
|
326
|
+
*
|
|
327
|
+
* Standard: a `<nav>` named by `label`, taking its form's width in the layout while `open` and none while closed (sliding
|
|
328
|
+
* while the content beside it resizes). Opening it moves focus in; closing it with focus inside returns focus to where it
|
|
329
|
+
* was; Tab leaves it without closing it.
|
|
330
|
+
*
|
|
331
|
+
* Modal: a native `<dialog>` in the shadow root, opened with `showModal()` while `open` — in the top layer over its
|
|
332
|
+
* `::backdrop` (the scrim), everything else inert, the page held from scrolling, focus kept inside. Escape, the platform's
|
|
333
|
+
* back, a press on the scrim, a drag toward the start edge past half its width (or a fling), the menu button and a
|
|
334
|
+
* destination's activation close it: the drawer sets `open` to false itself and fires `close`. Focus returns to where it
|
|
335
|
+
* was.
|
|
336
|
+
*
|
|
337
|
+
* Responsive (NVD-53…55): with `responsive`, the window's width chooses what the drawer is, and `variant` is ignored —
|
|
338
|
+
* a standard drawer, shown whatever `open` says, from `comp.navigation-drawer.breakpoint.expanded` (1024 px at the
|
|
339
|
+
* default text size); its column, widening over the content while `open`, from `breakpoint.collapsed` (600 px) while
|
|
340
|
+
* `collapsible`; a modal drawer below that. The read-only `presentation` says which (and the `presentation` attribute, for
|
|
341
|
+
* styling); `presentationchange` fires when it is first decided and whenever the width changes it. A change of
|
|
342
|
+
* presentation is drawn at once, is entered closed (an open overlay closes: `open` is false and `close` fires once), and
|
|
343
|
+
* keeps `expanded`, `value` and every group's `open`. The presentation is derived from the width alone: it is never
|
|
344
|
+
* written to `variant`, `open` or `expanded`, and the element stores nothing — a product that wants the user's choice of
|
|
345
|
+
* form remembered keeps what `expandedchange` carries and sets `expanded` from it.
|
|
346
|
+
*
|
|
347
|
+
* Every visual value comes from `--tanrei-comp-navigation-drawer-*` tokens. The color reaches under
|
|
348
|
+
* `env(safe-area-inset-*)` at the start, top and bottom.
|
|
349
|
+
*
|
|
350
|
+
* @tag tanrei-navigation-drawer
|
|
351
|
+
* @slot - `<tanrei-navigation-drawer-item>`, `<tanrei-navigation-drawer-group>` and `<tanrei-navigation-drawer-section>` children.
|
|
352
|
+
* @slot header-button - Icon-only `<tanrei-button>`s stacked in the icon column; the first is the menu button while the drawer is collapsible.
|
|
353
|
+
* @slot main-action - A `<tanrei-main-action-button>` below the header buttons, collapsed to its icon with the drawer. Only the first is drawn.
|
|
354
|
+
* @slot header - Content beside the first header button while the drawer is expanded (a title, an account switcher); not restyled.
|
|
355
|
+
* @csspart container - The panel: the `<nav>` of a standard drawer (or a collapsible modal drawer's column), the `<dialog>` of a modal one.
|
|
356
|
+
* @csspart outline - The end edge.
|
|
357
|
+
* @csspart header - The header, which stays in place.
|
|
358
|
+
* @csspart content - The list of items, which scrolls.
|
|
359
|
+
* @fires {CustomEvent<TanreiNavigationChangeDetail>} change - The user activated another destination: `detail.value` (and, for a button destination, the drawer's `value`) is its value. For a link it is fired before the link is followed, only for a plain activation of a link that opens in place, carries `detail.href`, leaves `value` to the page, and is cancelable: `preventDefault()` stops the browser's navigation.
|
|
360
|
+
* @fires {CustomEvent<TanreiNavigationChangeDetail>} reselect - The user activated the selected destination again; for a link, as `change`.
|
|
361
|
+
* @fires close - A modal drawer closed: the scrim, Escape, back, a drag, the menu button, or after a destination was activated. `open` is already false.
|
|
362
|
+
* @fires {CustomEvent<TanreiNavigationDrawerExpandedChangeDetail>} expandedchange - The user asked a collapsible drawer for its other form (its menu button, or a group's cell while collapsed): `detail.expanded`. `expanded` (or, for a modal drawer, `open`) already holds it.
|
|
363
|
+
* @fires {CustomEvent<TanreiNavigationDrawerPresentationChangeDetail>} presentationchange - A responsive drawer decided its presentation for the first time, or the window's width changed it: `detail.presentation` (and `presentation`) is `standard`, `column` or `modal`. A product shows its own menu button while it is `modal`.
|
|
364
|
+
*/
|
|
365
|
+
export declare class TanreiNavigationDrawer extends LitElement {
|
|
366
|
+
private readonly availability;
|
|
367
|
+
static styles: import("lit").CSSResult;
|
|
368
|
+
static properties: PropertyDeclarations;
|
|
369
|
+
/** Standard sits beside the content; modal lays itself over it with a scrim and holds focus until it closes. Ignored while `responsive`. Reflected. */
|
|
370
|
+
variant: TanreiNavigationDrawerVariant;
|
|
371
|
+
/** Whether the drawer is shown: a standard one takes its place in the layout, a modal one is presented. While `responsive` it only opens the presentations that lie over the content, and every change of presentation sets it back to false. Reflected. */
|
|
372
|
+
open: boolean;
|
|
373
|
+
/** Gives the drawer its collapsed form, the icon column. Reflected. */
|
|
374
|
+
collapsible: boolean;
|
|
375
|
+
/** The form of a collapsible standard drawer: true for the full drawer, false for the icon column (`expanded="false"`). The user's choice: a change of the window's width never writes it. Reflected. */
|
|
376
|
+
expanded: boolean;
|
|
377
|
+
/** Which cells draw their short label under the icon while collapsed: `never` (the default: a collapsed drawer is the expanded one with its labels gone), `selected` or `always` (anything else is `never`). */
|
|
378
|
+
collapsedLabels: TanreiNavigationDrawerCollapsedLabels;
|
|
379
|
+
/** Lets the window's width choose the drawer's presentation (NVD-53): standard where it is wide, its column where it is narrower (while `collapsible`), modal where it is narrow. Reflected. */
|
|
380
|
+
responsive: boolean;
|
|
381
|
+
/** What the window's width has decided for a responsive drawer; null while it is not responsive, or the width is not known. */
|
|
382
|
+
private decided;
|
|
383
|
+
/**
|
|
384
|
+
* The value of the selected destination, wherever it stands; empty selects none. The selected destination is the place
|
|
385
|
+
* being shown, exposed as the current page. The drawer sets it when a button destination is activated; it never sets
|
|
386
|
+
* it for a link (NVD-60) — in a site of separate pages each page sets it to its own destination (a link's `href`
|
|
387
|
+
* stands as its value while it has none).
|
|
388
|
+
*/
|
|
389
|
+
value: string;
|
|
390
|
+
/**
|
|
391
|
+
* Opens the groups that hold the selected destination when the drawer first appears (in its first frame, without
|
|
392
|
+
* motion) and whenever `value` changes, whatever their `open` said; each fires `toggle` (NVD-58). The user may close
|
|
393
|
+
* such a group again: it then stays closed until `value` changes. While false a closed group stays closed and its row
|
|
394
|
+
* shows the selection (NVD-47).
|
|
395
|
+
*/
|
|
396
|
+
revealSelected: boolean;
|
|
397
|
+
/**
|
|
398
|
+
* The offset the product gave, while it still has work to do: until it has been written (`unwritten` — nothing is
|
|
399
|
+
* laid out yet), and until the first frame is drawn, because the first frame's order may run more than once while the
|
|
400
|
+
* drawer's children are still arriving (NVD-62).
|
|
401
|
+
*/
|
|
402
|
+
private givenOffset;
|
|
403
|
+
private unwritten;
|
|
404
|
+
/** NVD-61: where the items were scrolled when the drawer last looked — before the browser answered a focus by scrolling. */
|
|
405
|
+
private lastScroll;
|
|
406
|
+
/**
|
|
407
|
+
* How far the items are scrolled from their start, in CSS pixels (NVD-61). Reading it gives the present distance;
|
|
408
|
+
* setting it scrolls there at once, without motion, held inside the scroll range — before the drawer first appears
|
|
409
|
+
* included, when it is where the first frame is drawn (the `scroll-offset` attribute is read once, for that frame).
|
|
410
|
+
* No event is fired while the user scrolls, and nothing is stored (NVD-62): a site reads it when the page is left and
|
|
411
|
+
* gives it back on the next page.
|
|
412
|
+
*/
|
|
413
|
+
get scrollOffset(): number;
|
|
414
|
+
set scrollOffset(offset: number);
|
|
415
|
+
/** Names the navigation landmark and, while modal and open, the dialog ("Mail"). */
|
|
416
|
+
label: string;
|
|
417
|
+
private hasButtons;
|
|
418
|
+
private hasTitle;
|
|
419
|
+
private hasMain;
|
|
420
|
+
/** A collapsible modal drawer's dialog is drawn (open, or narrowing back to its column). */
|
|
421
|
+
private presented;
|
|
422
|
+
/** Measured from the product's own elements: the first header button's width, the main action's height. */
|
|
423
|
+
private measured;
|
|
424
|
+
/** Where a collapsible modal drawer's column is, for its dialog to widen from. */
|
|
425
|
+
private place;
|
|
426
|
+
/** NVD-26: variants a design system adds, and a value the active system does not have (src/primitives/axes.ts). */
|
|
427
|
+
private readonly axes;
|
|
428
|
+
private snapshot;
|
|
429
|
+
/** NVD-1…3, NVD-24, NVD-29: selection, activation and the debug reports (src/primitives/destination.ts). */
|
|
430
|
+
private readonly destinations;
|
|
431
|
+
/** Where focus was when the drawer opened (NVD-22, NVD-28). */
|
|
432
|
+
private opener;
|
|
433
|
+
private shown;
|
|
434
|
+
private pressedScrim;
|
|
435
|
+
private dragged;
|
|
436
|
+
private drag;
|
|
437
|
+
/** The form at the last update; undefined before the first. */
|
|
438
|
+
private wasCollapsed;
|
|
439
|
+
private formTimer;
|
|
440
|
+
private presentTimer;
|
|
441
|
+
/** Focus was on what the collapsed form does not draw when the drawer collapsed (NVD-36). */
|
|
442
|
+
private focusLost;
|
|
443
|
+
/** Whether focus was inside a standard drawer that is closing (read before the render makes it inert). */
|
|
444
|
+
private closingWithFocus;
|
|
445
|
+
/** Where focus was before a collapsible modal drawer's dialog took its column's place (NVD-22). */
|
|
446
|
+
private pendingOpener;
|
|
447
|
+
/** The menu button whose press is opening the drawer, until that update is drawn (NVD-22). */
|
|
448
|
+
private pressedMenu;
|
|
449
|
+
/** The first header button, as last told it was the menu button. */
|
|
450
|
+
private menuButton;
|
|
451
|
+
/** NVD-53: the two widths a responsive drawer listens to, widest first, and what stops listening. */
|
|
452
|
+
private widths;
|
|
453
|
+
/** NVD-54: a `presentationchange` owed once the presentation it names is drawn. */
|
|
454
|
+
private announce;
|
|
455
|
+
/** NVD-54: the element that had focus when the width changed the presentation, if it was in the drawer. */
|
|
456
|
+
private focusBefore;
|
|
457
|
+
private instantFrame;
|
|
458
|
+
private readonly sizes;
|
|
459
|
+
/** NVD-57, NVD-58: the value whose selection was last shown (null: none was selected); undefined before the first. */
|
|
460
|
+
private shownFor;
|
|
461
|
+
/** NVD-58: the groups just opened to show the selection, until the selection has been brought into view. */
|
|
462
|
+
private revealed;
|
|
463
|
+
/** NVD-57: the selection is owed a look: its row is brought into view once the cells are drawn. */
|
|
464
|
+
private viewOwed;
|
|
465
|
+
private viewing;
|
|
466
|
+
/** The drawer's first frame has been drawn: what it opens afterwards takes its motion (NVD-58), and the first frame's order (NVD-62) is over. */
|
|
467
|
+
private painted;
|
|
468
|
+
private paintFrame;
|
|
469
|
+
/** @internal NVD-62: the drawer's first frame is not drawn yet: its groups read it (a group opened for the selection stays open until then, NVD-58). */
|
|
470
|
+
get arriving(): boolean;
|
|
471
|
+
constructor();
|
|
472
|
+
/** The drawer's destinations, in reading order, in sections and groups or not. */
|
|
473
|
+
get items(): TanreiNavigationDrawerItem[];
|
|
474
|
+
/** The drawer's groups, in reading order. */
|
|
475
|
+
get groups(): TanreiNavigationDrawerGroup[];
|
|
476
|
+
/** The form the drawer is in (NVD-30): collapsed to the icon column, or not. Read-only; reflected as the `collapsed` attribute. */
|
|
477
|
+
get collapsed(): boolean;
|
|
478
|
+
/**
|
|
479
|
+
* NVD-53, NVD-55: what a responsive drawer is at the window's current width — `standard`, `column` or `modal` — or
|
|
480
|
+
* null while it is not responsive. Read-only, derived from the width alone and never stored in a prop; reflected as
|
|
481
|
+
* the `presentation` attribute, for styling.
|
|
482
|
+
*/
|
|
483
|
+
get presentation(): TanreiNavigationDrawerPresentation | null;
|
|
484
|
+
/** Whether the drawer is drawn as a modal one: its variant, or what a responsive drawer's presentation stands for (NVD-53). */
|
|
485
|
+
private get modal();
|
|
486
|
+
/** Whether the drawer is drawn with a collapsed form: `collapsible`, unless a responsive drawer's presentation is the modal one (NVD-53). */
|
|
487
|
+
private get collapses();
|
|
488
|
+
/** Whether the drawer is shown: `open`, and always while a responsive drawer is beside the content (NVD-53). */
|
|
489
|
+
private get isOpen();
|
|
490
|
+
private get labelsMode();
|
|
491
|
+
private get panel();
|
|
492
|
+
private get dialog();
|
|
493
|
+
/** The list of items, which scrolls under the header (NVD-12). */
|
|
494
|
+
private get scroller();
|
|
495
|
+
/** NVD-61: the `scroll-offset` attribute is read once, for the first frame; afterwards the property is the handle. */
|
|
496
|
+
attributeChangedCallback(name: string, before: string | null, value: string | null): void;
|
|
497
|
+
/**
|
|
498
|
+
* NVD-58: while `revealSelected`, the closed groups that hold the selected destination are opened — when the drawer
|
|
499
|
+
* first appears, and when `value` changes to a destination (or `revealSelected` is turned on). A group the user
|
|
500
|
+
* closes afterwards stays closed: nothing here runs again until the value does change. Whether or not anything is
|
|
501
|
+
* opened, the selection is then owed a look (NVD-57).
|
|
502
|
+
*/
|
|
503
|
+
private revealSelection;
|
|
504
|
+
/**
|
|
505
|
+
* NVD-57, NVD-62: the selection is owed a look — its value changed, or the drawer has not drawn its first frame yet.
|
|
506
|
+
* Until that frame the order is run again whenever the drawer's children change: a drawer upgraded before its
|
|
507
|
+
* children were parsed has nothing to scroll yet, and one whose later cells are still to come has a shorter range
|
|
508
|
+
* than it will have.
|
|
509
|
+
*/
|
|
510
|
+
private viewSelection;
|
|
511
|
+
/** Resolves once the drawer and every cell have nothing left to draw: one wait for a whole burst of updates. */
|
|
512
|
+
private cellsDrawn;
|
|
513
|
+
/**
|
|
514
|
+
* NVD-57, NVD-62: once every cell is drawn — and, after the first frame, the groups just opened have finished
|
|
515
|
+
* opening — the items go to the offset the product gave (in the first frame's order) and the row that shows the
|
|
516
|
+
* selection is brought into view. Before the first frame all of it happens in microtasks, so no frame shows the
|
|
517
|
+
* items anywhere else; and it reads the layout once for a whole burst of updates, however many cells there are.
|
|
518
|
+
*/
|
|
519
|
+
private showSelection;
|
|
520
|
+
/** Writes how far the items are scrolled: at once (the scroller's `scroll-behavior` is auto), held inside the range by the browser. */
|
|
521
|
+
private scrollItemsTo;
|
|
522
|
+
/** NVD-61: the user scrolled, or the range changed under the items. No event is fired for it. */
|
|
523
|
+
private readonly onScroll;
|
|
524
|
+
/**
|
|
525
|
+
* NVD-61: keyboard focus that moves to a cell which is not wholly in view scrolls it into view by the least distance
|
|
526
|
+
* that shows it whole. The browsers answer a focus each in its own way — one centres a cell that was out of view,
|
|
527
|
+
* another leaves one that is partly in view where it is — and some before this event, some after it: so the items
|
|
528
|
+
* are put back where they were before the focus, and then moved by the least distance; a browser that answers
|
|
529
|
+
* afterwards finds the cell in view and does nothing. A pointer's focus scrolls nothing.
|
|
530
|
+
*/
|
|
531
|
+
private readonly onFocusIn;
|
|
532
|
+
/** Scrolls the items by the least distance that puts `cell`'s row wholly inside the space they scroll in; by nothing if it is. */
|
|
533
|
+
private showWhole;
|
|
534
|
+
/** NVD-61: the items go to the offset the product gave; `orStart`: to their start, the default, where it gave none. */
|
|
535
|
+
private applyOffset;
|
|
536
|
+
/**
|
|
537
|
+
* NVD-57: the row that shows the selection — the selected destination, or the group's row NVD-47 names — is centred
|
|
538
|
+
* in the space the items scroll in if it is not wholly inside it, as far as the range allows, and left alone if it
|
|
539
|
+
* is. A write to `scrollTop`: never `scrollIntoView()`, which would scroll the page as well; no focus moves.
|
|
540
|
+
*/
|
|
541
|
+
private bringSelectionIntoView;
|
|
542
|
+
private get headerButtons();
|
|
543
|
+
private get mainActions();
|
|
544
|
+
connectedCallback(): void;
|
|
545
|
+
/** The state attributes the styles read: what the drawer is drawn as, whatever its props say (see the styles' header). */
|
|
546
|
+
private reflectState;
|
|
547
|
+
/**
|
|
548
|
+
* NVD-53: a responsive drawer listens to its system's two widths — `breakpoint.expanded` and `breakpoint.collapsed`,
|
|
549
|
+
* read from its computed style (the generated CSS carries them in rem, so they follow the reader's text size) — with
|
|
550
|
+
* `matchMedia`. While it is not responsive it reads no width and listens to nothing.
|
|
551
|
+
*/
|
|
552
|
+
private watchWidths;
|
|
553
|
+
private unwatchWidths;
|
|
554
|
+
private readonly onWidth;
|
|
555
|
+
/**
|
|
556
|
+
* NVD-53, NVD-54: the presentation of the window's current width. The first decision is only drawn. A change is drawn
|
|
557
|
+
* at once, without the motions of opening, closing or changing form, and is entered closed: an open overlay is taken
|
|
558
|
+
* down, `open` is false again and `close` fires once. `expanded`, `value` and every group's `open` are not touched.
|
|
559
|
+
*/
|
|
560
|
+
private decide;
|
|
561
|
+
/** NVD-54: until the new presentation is drawn, nothing of the drawer's takes time (the styles' `data-instant`). */
|
|
562
|
+
private drawAtOnce;
|
|
563
|
+
disconnectedCallback(): void;
|
|
564
|
+
private takeSnapshot;
|
|
565
|
+
private cellContext;
|
|
566
|
+
/** The groups and sections are told the form and the selection too; and what a debug build reports about the structure. */
|
|
567
|
+
private syncStructure;
|
|
568
|
+
private readonly afterActivation;
|
|
569
|
+
/** NVD-37: the first header button of a collapsible drawer changes its form (or closes an open modal one). */
|
|
570
|
+
private readonly onMenuClick;
|
|
571
|
+
/** Applies the form asked for (expanded for a standard drawer, open for a modal one), then fires `expandedchange`. */
|
|
572
|
+
private askForm;
|
|
573
|
+
/** @internal NVD-47: a group's cell in the collapsed drawer expands it with the group open, and takes focus to its row. */
|
|
574
|
+
expandToGroup(group: TanreiNavigationDrawerGroup): void;
|
|
575
|
+
/** NVD-20, NVD-21: a modal drawer closes itself and fires `close` once. */
|
|
576
|
+
private dismiss;
|
|
577
|
+
/** NVD-19, NVD-28: focus to the selected destination (or the group row that shows it), or else the first focusable element. */
|
|
578
|
+
private focusInside;
|
|
579
|
+
/** NVD-22, NVD-28: focus back where it was when the drawer opened — or dropped, where that element is gone. */
|
|
580
|
+
private restoreFocus;
|
|
581
|
+
/** Whether focus is inside the drawer (its light DOM or its shadow root). */
|
|
582
|
+
private hasFocus;
|
|
583
|
+
/** NVD-36: whether focus is on what the collapsed form does not draw — the header slot's content, an item inside a group. */
|
|
584
|
+
private focusOnExpandedOnly;
|
|
585
|
+
/** NVD-19: the modal drawer in the top layer; the page held; focus inside. */
|
|
586
|
+
private present;
|
|
587
|
+
/** NVD-20, NVD-22: out of the top layer (sliding, or narrowing to its column), focus back where it was, the page given back, `close`. */
|
|
588
|
+
private withdraw;
|
|
589
|
+
/** The change of form's duration, read through a real property (0 where motion is reduced). */
|
|
590
|
+
private expandDuration;
|
|
591
|
+
private readonly onKeyDown;
|
|
592
|
+
/** The platform's back (a close request without a key) arrives as the native cancel. */
|
|
593
|
+
private readonly onNativeCancel;
|
|
594
|
+
private onScrim;
|
|
595
|
+
private readonly onPointerDown;
|
|
596
|
+
/** The distance dragged toward the start edge (positive), whatever the direction of the text. */
|
|
597
|
+
private towardStart;
|
|
598
|
+
private readonly onPointerMove;
|
|
599
|
+
private readonly onPointerUp;
|
|
600
|
+
/** Swallows the click that ends a drag, before it reaches a destination. */
|
|
601
|
+
private readonly onClickCapture;
|
|
602
|
+
private readonly onClick;
|
|
603
|
+
private onHeaderButtons;
|
|
604
|
+
private onHeaderChange;
|
|
605
|
+
private onMainAction;
|
|
606
|
+
private observeSizes;
|
|
607
|
+
/** The first header button's width (the header slot starts item.gap after it) and the main action's height (NVD-38, NVD-39). */
|
|
608
|
+
private measure;
|
|
609
|
+
/** NVD-37: the menu button says whether the drawer is expanded, and that it controls it, on its native button. */
|
|
610
|
+
private syncMenuButton;
|
|
611
|
+
/** NVD-39: the main action is collapsed to its icon while the drawer is, and extended while it is expanded. */
|
|
612
|
+
private syncMainAction;
|
|
613
|
+
protected willUpdate(changed: PropertyValues<this>): void;
|
|
614
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
615
|
+
/** NVD-54: puts focus back on `element` if the drawer still shows it, or else on what it does show. */
|
|
616
|
+
private keepFocus;
|
|
617
|
+
private body;
|
|
618
|
+
protected render(): TemplateResult<1>;
|
|
619
|
+
}
|
|
620
|
+
declare global {
|
|
621
|
+
interface HTMLElementTagNameMap {
|
|
622
|
+
'tanrei-navigation-drawer': TanreiNavigationDrawer;
|
|
623
|
+
'tanrei-navigation-drawer-item': TanreiNavigationDrawerItem;
|
|
624
|
+
'tanrei-navigation-drawer-group': TanreiNavigationDrawerGroup;
|
|
625
|
+
'tanrei-navigation-drawer-section': TanreiNavigationDrawerSection;
|
|
626
|
+
}
|
|
627
|
+
}
|