@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,140 @@
|
|
|
1
|
+
import { LitElement, type PropertyDeclarations, type PropertyValues } from 'lit';
|
|
2
|
+
import { HOST_VARIANT, type VariantHost } from '../../primitives/index.js';
|
|
3
|
+
/** HTML's `closedby` values: `any` (Escape, back and a press on the scrim dismiss) or `none` (nothing does). */
|
|
4
|
+
export type TanreiDialogClosedBy = 'any' | 'none' | 'closerequest';
|
|
5
|
+
/**
|
|
6
|
+
* Stops a person for a decision or a few details that the task cannot go on without, in a surface that dims and blocks
|
|
7
|
+
* everything behind it and always offers at least one answer, until one is chosen or the dialog is dismissed.
|
|
8
|
+
*
|
|
9
|
+
* Contract: specs/dialog.spec.json. A native `<dialog>` in the shadow root, opened with `showModal()` while `open` is
|
|
10
|
+
* true: in the top layer over `::backdrop` (the scrim, `comp.dialog.scrim.color`), with everything else inert and the page
|
|
11
|
+
* held from scrolling. Focus goes to the slotted element marked `autofocus`, or to the dialog itself, stays inside it
|
|
12
|
+
* (Tab wraps), and returns where it was when the dialog closes. It is an operated modal overlay.
|
|
13
|
+
* Centred in the window, or at the bottom of a window narrower than `comp.dialog.compact.window-width` (DLG-17).
|
|
14
|
+
*
|
|
15
|
+
* While `closedby` is not `none`, Escape, the platform's back and a press on the scrim fire `cancel`, which is
|
|
16
|
+
* cancelable: the dialog then closes itself unless you call `preventDefault()`, as a native `<dialog>` does. Actions
|
|
17
|
+
* never close it: close it from their handlers with `open = false`. `close` follows every close.
|
|
18
|
+
*
|
|
19
|
+
* The actions are `<tanrei-button slot="actions">` children, each marked `confirming` or `dismissive`, placed as a
|
|
20
|
+
* full-width button group places them: dismissive at the start and confirming at the end of a row, confirming on top of
|
|
21
|
+
* a column when they do not fit in a row. Focus and assistive technology follow that order. A Button without a
|
|
22
|
+
* `variant` attribute takes the dialog's (`comp.dialog.actions.variant`, tonal in the default system).
|
|
23
|
+
*
|
|
24
|
+
* Every visual value comes from `--tanrei-comp-dialog-*` tokens.
|
|
25
|
+
*
|
|
26
|
+
* @tag tanrei-dialog
|
|
27
|
+
* @slot - Custom content, below the supporting text: it gets the content color, and plain text the body role.
|
|
28
|
+
* @slot icon - A glyph at the headline's start (its ligature text), centred on the headline's first line; or above a centred headline where the system sets `icon.placement` to above. A glyph the icon set flags as showing a direction (`arrow_forward`, `send`) is drawn mirrored in a right-to-left layout. `data-mirror="auto | always | never"` on the element decides for one use.
|
|
29
|
+
* @slot actions - The answers, one at least: Tanrei Buttons, each marked `confirming` or `dismissive`. The dialog places them and gives those without a `variant` its own.
|
|
30
|
+
* @csspart container - The dialog's surface (the native `<dialog>`): its color, corners, elevation and padding.
|
|
31
|
+
* @csspart icon - The box the icon is drawn in.
|
|
32
|
+
* @csspart headline - The headline.
|
|
33
|
+
* @csspart supporting-text - The supporting text.
|
|
34
|
+
* @csspart content - The box the custom content is slotted into.
|
|
35
|
+
* @csspart actions - The row (or column) of actions.
|
|
36
|
+
* @fires cancel - Escape, back or a press on the scrim asked to close it (only while `closedby` is not `none`). Cancelable: `preventDefault()` keeps it open.
|
|
37
|
+
* @fires close - The dialog closed, whatever closed it.
|
|
38
|
+
*/
|
|
39
|
+
export declare class TanreiDialog extends LitElement implements VariantHost {
|
|
40
|
+
private readonly availability;
|
|
41
|
+
/**
|
|
42
|
+
* DLG-22: the glyph in the icon slot is marked when the icon set mirrors its name in right-to-left, or the product's
|
|
43
|
+
* `data-mirror` says so (src/primitives/glyph-mirror.ts); `iconGlyph()` draws the mark.
|
|
44
|
+
*/
|
|
45
|
+
private readonly mirror;
|
|
46
|
+
static styles: import("lit").CSSResult[];
|
|
47
|
+
static shadowRootOptions: ShadowRootInit;
|
|
48
|
+
static properties: PropertyDeclarations;
|
|
49
|
+
/** Whether the dialog is presented. Open it; close it from an action's handler, or let a dismissal close it. */
|
|
50
|
+
open: boolean;
|
|
51
|
+
/** The question or statement ("Discard draft?"). Required: it is the accessible name. */
|
|
52
|
+
headline: string;
|
|
53
|
+
/** What will happen, or what the person needs to know. It is the accessible description. */
|
|
54
|
+
supportingText: string;
|
|
55
|
+
/** An urgent interruption: exposed as an alertdialog, read as soon as it opens. */
|
|
56
|
+
alert: boolean;
|
|
57
|
+
/** The spec's `dismissible`, as HTML's `closedby`: `any` (the default) lets Escape, back and the scrim dismiss it; `none` does not. Give a dialog that cannot be dismissed a dismissive action. */
|
|
58
|
+
closedBy: TanreiDialogClosedBy;
|
|
59
|
+
/** Which parts hold something (DLG-8: an empty part is left out). */
|
|
60
|
+
private filled;
|
|
61
|
+
/** The children, by the slot they are assigned to; the actions by run, placed and given its variant (DLG-10, DLG-20). */
|
|
62
|
+
private icons;
|
|
63
|
+
private content;
|
|
64
|
+
private readonly placement;
|
|
65
|
+
/** DLG-17: the compact width it matches the window against, and the query for it. */
|
|
66
|
+
private compactWidth;
|
|
67
|
+
private compactQuery;
|
|
68
|
+
/** DLG-4: where focus was when it opened. */
|
|
69
|
+
private opener;
|
|
70
|
+
private shown;
|
|
71
|
+
private pressedScrim;
|
|
72
|
+
private readonly resize$;
|
|
73
|
+
private readonly mutation$;
|
|
74
|
+
private get dialog();
|
|
75
|
+
private get dismissible();
|
|
76
|
+
/** A choice of kind, by name, as the cascade gives it now — never cached, so a system switch is seen; unknown is the first. */
|
|
77
|
+
private choice;
|
|
78
|
+
/** @internal DLG-20: the variant it gives one of its actions whose own is not set (src/primitives/group-item.ts). */
|
|
79
|
+
[HOST_VARIANT](child: Element): string | null;
|
|
80
|
+
connectedCallback(): void;
|
|
81
|
+
disconnectedCallback(): void;
|
|
82
|
+
/** DLG-8, DLG-10: which child goes to which slot, and the actions' runs. */
|
|
83
|
+
private readSlots;
|
|
84
|
+
/** DLG-20: every action is told the dialog's variant, which it draws while its own is not set; a former action, none. */
|
|
85
|
+
private giveVariant;
|
|
86
|
+
/** The slots assigned by hand: the icon, the content, and the actions in the order of the orientation (BGR-15). */
|
|
87
|
+
private assign;
|
|
88
|
+
/** DLG-5: Escape, back or the scrim: `cancel`, and — unless it was cancelled — closing. Only the topmost dialog. */
|
|
89
|
+
private requestDismiss;
|
|
90
|
+
/** DLG-5: Escape is answered here, so the browser's own close request (and its limits) never runs. */
|
|
91
|
+
private readonly onKeyDown;
|
|
92
|
+
/** DLG-5: the platform's back (a close request without a key: Android's back) arrives as the native cancel. */
|
|
93
|
+
private readonly onNativeCancel;
|
|
94
|
+
/** DLG-5: a press that starts and ends on the scrim (outside the surface) dismisses. */
|
|
95
|
+
private readonly onPointerDown;
|
|
96
|
+
private readonly onClick;
|
|
97
|
+
private onScrim;
|
|
98
|
+
/** DLG-3: Tab from the last focusable element goes to the first, Shift+Tab from the first (or the dialog) to the last. */
|
|
99
|
+
private trap;
|
|
100
|
+
/** DLG-7, DLG-17: above the on-screen keyboard (the part of the layout viewport the visual viewport no longer covers). */
|
|
101
|
+
private readonly onViewport;
|
|
102
|
+
/**
|
|
103
|
+
* DLG-17: a media query cannot read a custom property, so the resolved `compact.window-width` (the probe's width) is
|
|
104
|
+
* matched with `matchMedia('(width < …px)')`, re-read whenever the dialog lays out; 0 is no compact window.
|
|
105
|
+
*/
|
|
106
|
+
private readCompact;
|
|
107
|
+
private watchCompact;
|
|
108
|
+
/** DLG-17: the window crossed the width: the other placement at once (no motion), focus where it is. */
|
|
109
|
+
private readonly onCompact;
|
|
110
|
+
/** DLG-9, DLG-10, DLG-17: the choices the script reads, on the dialog — the placement, and the fallback where style queries are missing. */
|
|
111
|
+
private applyChoices;
|
|
112
|
+
/** DLG-19: counted when it opens — no action, or (not dismissible) no enabled one, is reported as an error. */
|
|
113
|
+
private checkActions;
|
|
114
|
+
/** DLG-1, DLG-2, DLG-15, DLG-17: modal in the top layer, placed, the page held, focus to the marked element or the dialog. */
|
|
115
|
+
private present;
|
|
116
|
+
/** DLG-4, DLG-13, DLG-18: out of the top layer (fading), focus back where it was, the page given back. */
|
|
117
|
+
private withdraw;
|
|
118
|
+
/**
|
|
119
|
+
* DLG-10, DLG-11, DLG-12, DLG-17: the placement; the actions in a row while they fit and otherwise a column, in the
|
|
120
|
+
* order of each; the dividers follow the scrolled part; with no room left for it, everything scrolls together.
|
|
121
|
+
*/
|
|
122
|
+
private layout;
|
|
123
|
+
/**
|
|
124
|
+
* DLG-7, DLG-10: measured at their own widths (one line each): `fill` stays a row while every label fits its equal
|
|
125
|
+
* share, `end` while the row fits the inner width. The row is also the widest part the container is sized to (`--_row`),
|
|
126
|
+
* stacked or not: at their own widths for `end`, and for `fill` as it draws them — equal shares, each as wide as the
|
|
127
|
+
* widest action.
|
|
128
|
+
*/
|
|
129
|
+
private placeActions;
|
|
130
|
+
private syncDividers;
|
|
131
|
+
private readonly onScroll;
|
|
132
|
+
protected firstUpdated(): void;
|
|
133
|
+
protected updated(changed: PropertyValues<this>): void;
|
|
134
|
+
protected render(): import("lit").TemplateResult<1>;
|
|
135
|
+
}
|
|
136
|
+
declare global {
|
|
137
|
+
interface HTMLElementTagNameMap {
|
|
138
|
+
'tanrei-dialog': TanreiDialog;
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,440 @@
|
|
|
1
|
+
import { LitElement, html, nothing } from 'lit';
|
|
2
|
+
import { classMap } from 'lit/directives/class-map.js';
|
|
3
|
+
import { hiddenHost } from '../../primitives/hidden.js';
|
|
4
|
+
import { ActionPlacement, AvailabilityController, BUTTON_VARIANTS, GlyphMirrorController, HOST_VARIANT, assignSlot, compChoice, deepActive, holdPageScroll, isDisabledControl, modalLayer, report, trapFocus, } from '../../primitives/index.js';
|
|
5
|
+
import { styles } from './dialog.styles.js';
|
|
6
|
+
/** The dialogs open in this window, bottom to top (DLG-15). */
|
|
7
|
+
const stack = [];
|
|
8
|
+
const PREFIX = '--tanrei-comp-dialog';
|
|
9
|
+
/** The choices of kind the dialog reads (tokens/comp/dialog.tokens.json, `dev.tanrei.enum`): the first is the fallback. */
|
|
10
|
+
const ICON_PLACEMENTS = ['inline', 'above'];
|
|
11
|
+
const ARRANGEMENTS = ['fill', 'end'];
|
|
12
|
+
/**
|
|
13
|
+
* Stops a person for a decision or a few details that the task cannot go on without, in a surface that dims and blocks
|
|
14
|
+
* everything behind it and always offers at least one answer, until one is chosen or the dialog is dismissed.
|
|
15
|
+
*
|
|
16
|
+
* Contract: specs/dialog.spec.json. A native `<dialog>` in the shadow root, opened with `showModal()` while `open` is
|
|
17
|
+
* true: in the top layer over `::backdrop` (the scrim, `comp.dialog.scrim.color`), with everything else inert and the page
|
|
18
|
+
* held from scrolling. Focus goes to the slotted element marked `autofocus`, or to the dialog itself, stays inside it
|
|
19
|
+
* (Tab wraps), and returns where it was when the dialog closes. It is an operated modal overlay.
|
|
20
|
+
* Centred in the window, or at the bottom of a window narrower than `comp.dialog.compact.window-width` (DLG-17).
|
|
21
|
+
*
|
|
22
|
+
* While `closedby` is not `none`, Escape, the platform's back and a press on the scrim fire `cancel`, which is
|
|
23
|
+
* cancelable: the dialog then closes itself unless you call `preventDefault()`, as a native `<dialog>` does. Actions
|
|
24
|
+
* never close it: close it from their handlers with `open = false`. `close` follows every close.
|
|
25
|
+
*
|
|
26
|
+
* The actions are `<tanrei-button slot="actions">` children, each marked `confirming` or `dismissive`, placed as a
|
|
27
|
+
* full-width button group places them: dismissive at the start and confirming at the end of a row, confirming on top of
|
|
28
|
+
* a column when they do not fit in a row. Focus and assistive technology follow that order. A Button without a
|
|
29
|
+
* `variant` attribute takes the dialog's (`comp.dialog.actions.variant`, tonal in the default system).
|
|
30
|
+
*
|
|
31
|
+
* Every visual value comes from `--tanrei-comp-dialog-*` tokens.
|
|
32
|
+
*
|
|
33
|
+
* @tag tanrei-dialog
|
|
34
|
+
* @slot - Custom content, below the supporting text: it gets the content color, and plain text the body role.
|
|
35
|
+
* @slot icon - A glyph at the headline's start (its ligature text), centred on the headline's first line; or above a centred headline where the system sets `icon.placement` to above. A glyph the icon set flags as showing a direction (`arrow_forward`, `send`) is drawn mirrored in a right-to-left layout. `data-mirror="auto | always | never"` on the element decides for one use.
|
|
36
|
+
* @slot actions - The answers, one at least: Tanrei Buttons, each marked `confirming` or `dismissive`. The dialog places them and gives those without a `variant` its own.
|
|
37
|
+
* @csspart container - The dialog's surface (the native `<dialog>`): its color, corners, elevation and padding.
|
|
38
|
+
* @csspart icon - The box the icon is drawn in.
|
|
39
|
+
* @csspart headline - The headline.
|
|
40
|
+
* @csspart supporting-text - The supporting text.
|
|
41
|
+
* @csspart content - The box the custom content is slotted into.
|
|
42
|
+
* @csspart actions - The row (or column) of actions.
|
|
43
|
+
* @fires cancel - Escape, back or a press on the scrim asked to close it (only while `closedby` is not `none`). Cancelable: `preventDefault()` keeps it open.
|
|
44
|
+
* @fires close - The dialog closed, whatever closed it.
|
|
45
|
+
*/
|
|
46
|
+
export class TanreiDialog extends LitElement {
|
|
47
|
+
constructor() {
|
|
48
|
+
super(...arguments);
|
|
49
|
+
this.availability = new AvailabilityController(this, 'dialog');
|
|
50
|
+
/**
|
|
51
|
+
* DLG-22: the glyph in the icon slot is marked when the icon set mirrors its name in right-to-left, or the product's
|
|
52
|
+
* `data-mirror` says so (src/primitives/glyph-mirror.ts); `iconGlyph()` draws the mark.
|
|
53
|
+
*/
|
|
54
|
+
this.mirror = new GlyphMirrorController(this, { slots: 'slot[name="icon"]' });
|
|
55
|
+
/** Whether the dialog is presented. Open it; close it from an action's handler, or let a dismissal close it. */
|
|
56
|
+
this.open = false;
|
|
57
|
+
/** The question or statement ("Discard draft?"). Required: it is the accessible name. */
|
|
58
|
+
this.headline = '';
|
|
59
|
+
/** What will happen, or what the person needs to know. It is the accessible description. */
|
|
60
|
+
this.supportingText = '';
|
|
61
|
+
/** An urgent interruption: exposed as an alertdialog, read as soon as it opens. */
|
|
62
|
+
this.alert = false;
|
|
63
|
+
/** The spec's `dismissible`, as HTML's `closedby`: `any` (the default) lets Escape, back and the scrim dismiss it; `none` does not. Give a dialog that cannot be dismissed a dismissive action. */
|
|
64
|
+
this.closedBy = 'any';
|
|
65
|
+
/** Which parts hold something (DLG-8: an empty part is left out). */
|
|
66
|
+
this.filled = { icon: false, content: false, actions: false };
|
|
67
|
+
/** The children, by the slot they are assigned to; the actions by run, placed and given its variant (DLG-10, DLG-20). */
|
|
68
|
+
this.icons = [];
|
|
69
|
+
this.content = [];
|
|
70
|
+
// DLG-10: a button that draws (or changes) its label changes whether the row fits.
|
|
71
|
+
this.placement = new ActionPlacement(this, (action) => this.resize$?.observe(action));
|
|
72
|
+
/** DLG-17: the compact width it matches the window against, and the query for it. */
|
|
73
|
+
this.compactWidth = Number.NaN;
|
|
74
|
+
this.compactQuery = null;
|
|
75
|
+
/** DLG-4: where focus was when it opened. */
|
|
76
|
+
this.opener = null;
|
|
77
|
+
this.shown = false;
|
|
78
|
+
this.pressedScrim = false;
|
|
79
|
+
this.resize$ = typeof ResizeObserver === 'undefined' ? null : new ResizeObserver(() => this.layout());
|
|
80
|
+
this.mutation$ = new MutationObserver(() => this.readSlots());
|
|
81
|
+
/** DLG-5: Escape is answered here, so the browser's own close request (and its limits) never runs. */
|
|
82
|
+
this.onKeyDown = (event) => {
|
|
83
|
+
if (event.key === 'Escape') {
|
|
84
|
+
if (event.defaultPrevented)
|
|
85
|
+
return;
|
|
86
|
+
event.preventDefault();
|
|
87
|
+
event.stopPropagation();
|
|
88
|
+
this.requestDismiss();
|
|
89
|
+
return;
|
|
90
|
+
}
|
|
91
|
+
if (event.key === 'Tab')
|
|
92
|
+
this.trap(event);
|
|
93
|
+
};
|
|
94
|
+
/** DLG-5: the platform's back (a close request without a key: Android's back) arrives as the native cancel. */
|
|
95
|
+
this.onNativeCancel = (event) => {
|
|
96
|
+
event.preventDefault();
|
|
97
|
+
this.requestDismiss();
|
|
98
|
+
};
|
|
99
|
+
/** DLG-5: a press that starts and ends on the scrim (outside the surface) dismisses. */
|
|
100
|
+
this.onPointerDown = (event) => {
|
|
101
|
+
this.pressedScrim = this.onScrim(event);
|
|
102
|
+
};
|
|
103
|
+
this.onClick = (event) => {
|
|
104
|
+
const scrim = this.pressedScrim && this.onScrim(event);
|
|
105
|
+
this.pressedScrim = false;
|
|
106
|
+
if (scrim)
|
|
107
|
+
this.requestDismiss();
|
|
108
|
+
};
|
|
109
|
+
/** DLG-7, DLG-17: above the on-screen keyboard (the part of the layout viewport the visual viewport no longer covers). */
|
|
110
|
+
this.onViewport = () => {
|
|
111
|
+
const viewport = window.visualViewport;
|
|
112
|
+
const dialog = this.dialog;
|
|
113
|
+
if (!viewport || !dialog)
|
|
114
|
+
return;
|
|
115
|
+
const covered = Math.max(0, document.documentElement.clientHeight - (viewport.offsetTop + viewport.height));
|
|
116
|
+
dialog.style.setProperty('--_keyboard', `${covered}px`);
|
|
117
|
+
};
|
|
118
|
+
/** DLG-17: the window crossed the width: the other placement at once (no motion), focus where it is. */
|
|
119
|
+
this.onCompact = () => this.layout();
|
|
120
|
+
this.onScroll = () => this.syncDividers();
|
|
121
|
+
}
|
|
122
|
+
static { this.styles = [styles, hiddenHost]; }
|
|
123
|
+
// The children are assigned by hand: the actions to three slots in the order the orientation places them (BGR-15),
|
|
124
|
+
// so that focus and the accessibility tree follow the placed order without CSS `order`.
|
|
125
|
+
static { this.shadowRootOptions = { ...LitElement.shadowRootOptions, slotAssignment: 'manual' }; }
|
|
126
|
+
static { this.properties = {
|
|
127
|
+
open: { type: Boolean, reflect: true },
|
|
128
|
+
headline: { type: String },
|
|
129
|
+
supportingText: { type: String, attribute: 'supporting-text' },
|
|
130
|
+
alert: { type: Boolean, reflect: true },
|
|
131
|
+
closedBy: { type: String, attribute: 'closedby', reflect: true },
|
|
132
|
+
filled: { state: true },
|
|
133
|
+
}; }
|
|
134
|
+
get dialog() {
|
|
135
|
+
return this.renderRoot?.querySelector('dialog') ?? null;
|
|
136
|
+
}
|
|
137
|
+
get dismissible() {
|
|
138
|
+
return this.closedBy !== 'none';
|
|
139
|
+
}
|
|
140
|
+
/** A choice of kind, by name, as the cascade gives it now — never cached, so a system switch is seen; unknown is the first. */
|
|
141
|
+
choice(token, values) {
|
|
142
|
+
return compChoice(this, `${PREFIX}-${token}`, values);
|
|
143
|
+
}
|
|
144
|
+
/** @internal DLG-20: the variant it gives one of its actions whose own is not set (src/primitives/group-item.ts). */
|
|
145
|
+
[HOST_VARIANT](child) {
|
|
146
|
+
return child.parentElement === this && child.getAttribute('slot') === 'actions' ? this.choice('actions-variant', BUTTON_VARIANTS) : null;
|
|
147
|
+
}
|
|
148
|
+
connectedCallback() {
|
|
149
|
+
super.connectedCallback();
|
|
150
|
+
this.mutation$.observe(this, {
|
|
151
|
+
childList: true,
|
|
152
|
+
subtree: true,
|
|
153
|
+
characterData: true,
|
|
154
|
+
attributes: true,
|
|
155
|
+
attributeFilter: ['slot', 'confirming', 'dismissive', 'disabled'],
|
|
156
|
+
});
|
|
157
|
+
if (this.hasUpdated)
|
|
158
|
+
this.readSlots();
|
|
159
|
+
if (this.hasUpdated && this.open)
|
|
160
|
+
this.present();
|
|
161
|
+
}
|
|
162
|
+
disconnectedCallback() {
|
|
163
|
+
super.disconnectedCallback();
|
|
164
|
+
this.mutation$.disconnect();
|
|
165
|
+
this.resize$?.disconnect();
|
|
166
|
+
this.watchCompact(Number.NaN);
|
|
167
|
+
if (this.shown)
|
|
168
|
+
this.withdraw(false);
|
|
169
|
+
}
|
|
170
|
+
/** DLG-8, DLG-10: which child goes to which slot, and the actions' runs. */
|
|
171
|
+
readSlots() {
|
|
172
|
+
const nodes = [...this.childNodes];
|
|
173
|
+
const slotted = (node, slot) => node instanceof Element && node.getAttribute('slot') === slot;
|
|
174
|
+
this.icons = nodes.filter((node) => slotted(node, 'icon'));
|
|
175
|
+
this.content = nodes.filter((node) => (node instanceof Element && !node.hasAttribute('slot')) || (node.nodeType === Node.TEXT_NODE && !!node.textContent?.trim()));
|
|
176
|
+
this.placement.read(nodes.filter((node) => slotted(node, 'actions')));
|
|
177
|
+
this.giveVariant();
|
|
178
|
+
const filled = { icon: this.icons.length > 0, content: this.content.length > 0, actions: this.placement.actions.length > 0 };
|
|
179
|
+
if (filled.icon !== this.filled.icon || filled.content !== this.filled.content || filled.actions !== this.filled.actions)
|
|
180
|
+
this.filled = filled;
|
|
181
|
+
else {
|
|
182
|
+
this.assign();
|
|
183
|
+
this.layout();
|
|
184
|
+
}
|
|
185
|
+
}
|
|
186
|
+
/** DLG-20: every action is told the dialog's variant, which it draws while its own is not set; a former action, none. */
|
|
187
|
+
giveVariant() {
|
|
188
|
+
this.placement.give(this.choice('actions-variant', BUTTON_VARIANTS));
|
|
189
|
+
}
|
|
190
|
+
/** The slots assigned by hand: the icon, the content, and the actions in the order of the orientation (BGR-15). */
|
|
191
|
+
assign() {
|
|
192
|
+
const root = this.renderRoot;
|
|
193
|
+
if (!root)
|
|
194
|
+
return;
|
|
195
|
+
assignSlot(root.querySelector('slot[name="icon"]'), this.icons);
|
|
196
|
+
assignSlot(root.querySelector('slot:not([name])'), this.content);
|
|
197
|
+
this.placement.assign(root.querySelectorAll('.actions slot'));
|
|
198
|
+
}
|
|
199
|
+
/** DLG-5: Escape, back or the scrim: `cancel`, and — unless it was cancelled — closing. Only the topmost dialog. */
|
|
200
|
+
requestDismiss() {
|
|
201
|
+
if (!this.dismissible || !this.shown || stack[stack.length - 1] !== this)
|
|
202
|
+
return;
|
|
203
|
+
const allowed = this.dispatchEvent(new Event('cancel', { cancelable: true }));
|
|
204
|
+
if (allowed)
|
|
205
|
+
this.open = false;
|
|
206
|
+
}
|
|
207
|
+
onScrim(event) {
|
|
208
|
+
const dialog = this.dialog;
|
|
209
|
+
if (!dialog || event.composedPath()[0] !== dialog)
|
|
210
|
+
return false;
|
|
211
|
+
const box = dialog.getBoundingClientRect();
|
|
212
|
+
return event.clientX < box.left || event.clientX > box.right || event.clientY < box.top || event.clientY > box.bottom;
|
|
213
|
+
}
|
|
214
|
+
/** DLG-3: Tab from the last focusable element goes to the first, Shift+Tab from the first (or the dialog) to the last. */
|
|
215
|
+
trap(event) {
|
|
216
|
+
const dialog = this.dialog;
|
|
217
|
+
if (dialog)
|
|
218
|
+
trapFocus(event, dialog);
|
|
219
|
+
}
|
|
220
|
+
/**
|
|
221
|
+
* DLG-17: a media query cannot read a custom property, so the resolved `compact.window-width` (the probe's width) is
|
|
222
|
+
* matched with `matchMedia('(width < …px)')`, re-read whenever the dialog lays out; 0 is no compact window.
|
|
223
|
+
*/
|
|
224
|
+
readCompact() {
|
|
225
|
+
const probe = this.renderRoot?.querySelector('.probe');
|
|
226
|
+
const width = probe ? Number.parseFloat(getComputedStyle(probe).inlineSize) || 0 : 0;
|
|
227
|
+
this.watchCompact(width);
|
|
228
|
+
return !!this.compactQuery?.matches;
|
|
229
|
+
}
|
|
230
|
+
watchCompact(width) {
|
|
231
|
+
if (Object.is(width, this.compactWidth))
|
|
232
|
+
return;
|
|
233
|
+
this.compactQuery?.removeEventListener('change', this.onCompact);
|
|
234
|
+
this.compactWidth = width;
|
|
235
|
+
this.compactQuery = width > 0 && typeof matchMedia === 'function' ? matchMedia(`(width < ${width}px)`) : null;
|
|
236
|
+
this.compactQuery?.addEventListener('change', this.onCompact);
|
|
237
|
+
}
|
|
238
|
+
/** DLG-9, DLG-10, DLG-17: the choices the script reads, on the dialog — the placement, and the fallback where style queries are missing. */
|
|
239
|
+
applyChoices(dialog) {
|
|
240
|
+
dialog.classList.toggle('compact', this.readCompact());
|
|
241
|
+
dialog.dataset.iconPlacement = this.choice('icon-placement', ICON_PLACEMENTS);
|
|
242
|
+
dialog.dataset.arrangement = this.choice('actions-arrangement', ARRANGEMENTS);
|
|
243
|
+
}
|
|
244
|
+
/** DLG-19: counted when it opens — no action, or (not dismissible) no enabled one, is reported as an error. */
|
|
245
|
+
checkActions() {
|
|
246
|
+
const actions = this.placement.actions;
|
|
247
|
+
if (!actions.length) {
|
|
248
|
+
report(this, 'DLG-19', 'it opened with no action; a dialog must offer at least one: add a <tanrei-button slot="actions">', { once: false, level: 'error' });
|
|
249
|
+
}
|
|
250
|
+
else if (!this.dismissible && actions.every((action) => isDisabledControl(action))) {
|
|
251
|
+
report(this, 'DLG-19', 'every action is disabled and closedby is none, which leaves the person no way out; enable a dismissive action', { once: false, level: 'error' });
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
/** DLG-1, DLG-2, DLG-15, DLG-17: modal in the top layer, placed, the page held, focus to the marked element or the dialog. */
|
|
255
|
+
present() {
|
|
256
|
+
const dialog = this.dialog;
|
|
257
|
+
if (!dialog || this.shown || !this.isConnected)
|
|
258
|
+
return;
|
|
259
|
+
this.opener = deepActive();
|
|
260
|
+
// Placed before it is shown, so that its entrance is the one of its placement (DLG-13, DLG-18).
|
|
261
|
+
this.giveVariant();
|
|
262
|
+
this.layout();
|
|
263
|
+
if (!dialog.open)
|
|
264
|
+
dialog.showModal();
|
|
265
|
+
this.shown = true;
|
|
266
|
+
// DLG-19, DLG-2: counted, and the marked element looked for, when it opens — or, in a document that is still being
|
|
267
|
+
// read, once it has been. A dialog written open whose element was defined before its markup opens at its start
|
|
268
|
+
// tag, and an engine that updates it there has not read its children yet (the side sheet's SSH-16): its actions
|
|
269
|
+
// would be counted as none, and the element marked for focus not found.
|
|
270
|
+
const reading = document.readyState === 'loading';
|
|
271
|
+
if (reading) {
|
|
272
|
+
document.addEventListener('DOMContentLoaded', () => {
|
|
273
|
+
if (!this.shown)
|
|
274
|
+
return;
|
|
275
|
+
this.checkActions();
|
|
276
|
+
// Focus goes to the mark that has been read since, unless the person has moved it from the dialog meanwhile.
|
|
277
|
+
const late = this.querySelector('[autofocus]');
|
|
278
|
+
if (late && deepActive() === dialog)
|
|
279
|
+
late.focus();
|
|
280
|
+
}, { once: true });
|
|
281
|
+
}
|
|
282
|
+
else
|
|
283
|
+
this.checkActions();
|
|
284
|
+
stack.push(this);
|
|
285
|
+
modalLayer.add(this);
|
|
286
|
+
holdPageScroll(this, true);
|
|
287
|
+
window.visualViewport?.addEventListener('resize', this.onViewport);
|
|
288
|
+
this.onViewport();
|
|
289
|
+
this.layout();
|
|
290
|
+
const marked = this.querySelector('[autofocus]');
|
|
291
|
+
if (marked)
|
|
292
|
+
marked.focus();
|
|
293
|
+
else
|
|
294
|
+
dialog.focus();
|
|
295
|
+
}
|
|
296
|
+
/** DLG-4, DLG-13, DLG-18: out of the top layer (fading), focus back where it was, the page given back. */
|
|
297
|
+
withdraw(restoreFocus = true) {
|
|
298
|
+
const dialog = this.dialog;
|
|
299
|
+
if (!this.shown)
|
|
300
|
+
return;
|
|
301
|
+
this.shown = false;
|
|
302
|
+
const index = stack.indexOf(this);
|
|
303
|
+
if (index >= 0)
|
|
304
|
+
stack.splice(index, 1);
|
|
305
|
+
modalLayer.delete(this);
|
|
306
|
+
holdPageScroll(this, false);
|
|
307
|
+
window.visualViewport?.removeEventListener('resize', this.onViewport);
|
|
308
|
+
if (dialog?.open)
|
|
309
|
+
dialog.close();
|
|
310
|
+
const opener = this.opener;
|
|
311
|
+
this.opener = null;
|
|
312
|
+
if (restoreFocus) {
|
|
313
|
+
if (opener && opener.isConnected && typeof opener.focus === 'function' && !opener.closest('[inert]'))
|
|
314
|
+
opener.focus();
|
|
315
|
+
else {
|
|
316
|
+
const active = deepActive();
|
|
317
|
+
if (active && this.renderRoot.contains(active))
|
|
318
|
+
active.blur();
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
this.dispatchEvent(new Event('close'));
|
|
322
|
+
}
|
|
323
|
+
/**
|
|
324
|
+
* DLG-10, DLG-11, DLG-12, DLG-17: the placement; the actions in a row while they fit and otherwise a column, in the
|
|
325
|
+
* order of each; the dividers follow the scrolled part; with no room left for it, everything scrolls together.
|
|
326
|
+
*/
|
|
327
|
+
layout() {
|
|
328
|
+
const dialog = this.dialog;
|
|
329
|
+
if (!dialog)
|
|
330
|
+
return;
|
|
331
|
+
this.applyChoices(dialog);
|
|
332
|
+
this.placeActions(dialog);
|
|
333
|
+
dialog.classList.remove('whole');
|
|
334
|
+
const scroll = this.renderRoot.querySelector('.scroll');
|
|
335
|
+
if (scroll) {
|
|
336
|
+
const line = Number.parseFloat(getComputedStyle(scroll.firstElementChild ?? scroll).lineHeight) || 0;
|
|
337
|
+
const cramped = scroll.scrollHeight > scroll.clientHeight + 0.5 && scroll.clientHeight < line;
|
|
338
|
+
dialog.classList.toggle('whole', cramped);
|
|
339
|
+
}
|
|
340
|
+
this.syncDividers();
|
|
341
|
+
}
|
|
342
|
+
/**
|
|
343
|
+
* DLG-7, DLG-10: measured at their own widths (one line each): `fill` stays a row while every label fits its equal
|
|
344
|
+
* share, `end` while the row fits the inner width. The row is also the widest part the container is sized to (`--_row`),
|
|
345
|
+
* stacked or not: at their own widths for `end`, and for `fill` as it draws them — equal shares, each as wide as the
|
|
346
|
+
* widest action.
|
|
347
|
+
*/
|
|
348
|
+
placeActions(dialog) {
|
|
349
|
+
const box = this.renderRoot.querySelector('.actions');
|
|
350
|
+
if (!box)
|
|
351
|
+
return;
|
|
352
|
+
const { row, changed } = this.placement.measure(box, dialog.dataset.arrangement === 'end' ? 'packed' : 'fill');
|
|
353
|
+
dialog.style.setProperty('--_row', `${row}px`);
|
|
354
|
+
if (changed)
|
|
355
|
+
this.assign();
|
|
356
|
+
}
|
|
357
|
+
syncDividers() {
|
|
358
|
+
const middle = this.renderRoot?.querySelector('.middle');
|
|
359
|
+
const scroll = this.renderRoot?.querySelector('.scroll');
|
|
360
|
+
if (!middle || !scroll)
|
|
361
|
+
return;
|
|
362
|
+
// A part that scrolls is a Tab stop, so it can be scrolled from the keyboard (WCAG 2.1.1) — unless the whole dialog
|
|
363
|
+
// scrolls instead.
|
|
364
|
+
const scrolls = scroll.scrollHeight > scroll.clientHeight + 0.5 && !this.dialog?.classList.contains('whole');
|
|
365
|
+
if (scrolls)
|
|
366
|
+
scroll.setAttribute('tabindex', '0');
|
|
367
|
+
else
|
|
368
|
+
scroll.removeAttribute('tabindex');
|
|
369
|
+
middle.classList.toggle('above', scroll.scrollTop > 0.5);
|
|
370
|
+
middle.classList.toggle('below', this.filled.actions && scroll.scrollTop + scroll.clientHeight < scroll.scrollHeight - 0.5);
|
|
371
|
+
}
|
|
372
|
+
firstUpdated() {
|
|
373
|
+
this.readSlots();
|
|
374
|
+
const dialog = this.dialog;
|
|
375
|
+
if (dialog)
|
|
376
|
+
this.resize$?.observe(dialog);
|
|
377
|
+
}
|
|
378
|
+
updated(changed) {
|
|
379
|
+
const dialog = this.dialog;
|
|
380
|
+
this.assign();
|
|
381
|
+
const scroll = this.renderRoot.querySelector('.scroll');
|
|
382
|
+
if (scroll)
|
|
383
|
+
this.resize$?.observe(scroll);
|
|
384
|
+
const actions = this.renderRoot.querySelector('.actions');
|
|
385
|
+
if (actions)
|
|
386
|
+
this.resize$?.observe(actions);
|
|
387
|
+
// DLG-14: a dialog without a headline still opens; a debug build says it has no name.
|
|
388
|
+
if (changed.has('headline') && !this.headline.trim())
|
|
389
|
+
report(this, 'DLG-14', 'headline is empty, so the dialog has no accessible name; give it a headline');
|
|
390
|
+
if (changed.has('open')) {
|
|
391
|
+
if (this.open)
|
|
392
|
+
this.present();
|
|
393
|
+
else if (this.shown)
|
|
394
|
+
this.withdraw();
|
|
395
|
+
}
|
|
396
|
+
if (dialog && this.shown)
|
|
397
|
+
this.layout();
|
|
398
|
+
}
|
|
399
|
+
render() {
|
|
400
|
+
const icon = this.filled.icon;
|
|
401
|
+
const headline = this.headline.trim();
|
|
402
|
+
const supporting = this.supportingText.trim();
|
|
403
|
+
const head = icon || !!headline;
|
|
404
|
+
const middle = !!supporting || this.filled.content;
|
|
405
|
+
return html `
|
|
406
|
+
<span class="probe" aria-hidden="true"></span>
|
|
407
|
+
<dialog
|
|
408
|
+
part="container"
|
|
409
|
+
class="container"
|
|
410
|
+
role=${this.alert ? 'alertdialog' : 'dialog'}
|
|
411
|
+
aria-labelledby=${headline ? 'headline' : nothing}
|
|
412
|
+
aria-describedby=${supporting ? 'supporting' : nothing}
|
|
413
|
+
tabindex="-1"
|
|
414
|
+
data-tanrei-shape
|
|
415
|
+
@keydown=${this.onKeyDown}
|
|
416
|
+
@cancel=${this.onNativeCancel}
|
|
417
|
+
@pointerdown=${this.onPointerDown}
|
|
418
|
+
@click=${this.onClick}
|
|
419
|
+
>
|
|
420
|
+
<div class=${classMap({ head: true, 'with-icon': icon })} ?hidden=${!head}>
|
|
421
|
+
<span class="icon-line" ?hidden=${!icon}><span part="icon" class="icon" aria-hidden="true"><slot name="icon"></slot></span></span>
|
|
422
|
+
${headline ? html `<h2 id="headline" part="headline" class="headline">${this.headline}</h2>` : nothing}
|
|
423
|
+
</div>
|
|
424
|
+
<div class="middle" ?hidden=${!middle}>
|
|
425
|
+
<div class="scroll" data-tanrei-shape @scroll=${this.onScroll}>
|
|
426
|
+
${supporting ? html `<p id="supporting" part="supporting-text" class="supporting">${this.supportingText}</p>` : nothing}
|
|
427
|
+
<div part="content" class="content" ?hidden=${!this.filled.content}><slot></slot></div>
|
|
428
|
+
</div>
|
|
429
|
+
<span class="focus" data-tanrei-shape></span>
|
|
430
|
+
</div>
|
|
431
|
+
<div part="actions" class="actions" ?hidden=${!this.filled.actions}>
|
|
432
|
+
<slot name="actions-first"></slot><slot name="actions-between"></slot><slot name="actions-last"></slot>
|
|
433
|
+
</div>
|
|
434
|
+
</dialog>
|
|
435
|
+
`;
|
|
436
|
+
}
|
|
437
|
+
}
|
|
438
|
+
if (!customElements.get('tanrei-dialog'))
|
|
439
|
+
customElements.define('tanrei-dialog', TanreiDialog);
|
|
440
|
+
//# sourceMappingURL=dialog.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"dialog.js","sourceRoot":"","sources":["../../../src/components/dialog/dialog.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkD,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAChG,OAAO,EA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