@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
package/dist/figure.css
ADDED
|
@@ -0,0 +1,381 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Figure (specs/figure.spec.json, FIG-1 to FIG-25): one thing to look at — a picture, a chart, a
|
|
3
|
+
* specimen, a live example — on a stage of its own, framed or not, with a caption below that says what it shows, and
|
|
4
|
+
* optionally a title with the product's controls above and a block joined beneath.
|
|
5
|
+
*
|
|
6
|
+
* `<tanrei-figure>` is an element with no shadow root around a native `figure`, which stays in the document: the
|
|
7
|
+
* figure and its `figcaption` are the document's own — read without script, by a crawler and by a reader mode, and
|
|
8
|
+
* named by the browser.
|
|
9
|
+
*
|
|
10
|
+
* <tanrei-figure variant="filled" separation="gap">
|
|
11
|
+
* <figure>
|
|
12
|
+
* <div data-part="frame">
|
|
13
|
+
* <header>
|
|
14
|
+
* <p data-part="title">Variants</p>
|
|
15
|
+
* <div data-part="actions">…the product's controls…</div>
|
|
16
|
+
* </header>
|
|
17
|
+
* <div data-part="stage">…what is shown…</div>
|
|
18
|
+
* <div data-part="attachment">…the product's block…</div>
|
|
19
|
+
* </div>
|
|
20
|
+
* <figcaption>A filled button and an outlined one.</figcaption>
|
|
21
|
+
* </figure>
|
|
22
|
+
* </tanrei-figure>
|
|
23
|
+
*
|
|
24
|
+
* Every part but the stage is optional. The title is any element with `data-part="title"` (a `p`, or the heading the
|
|
25
|
+
* page's outline needs); the attachment any element with `data-part="attachment"` (the product's own component may
|
|
26
|
+
* carry it). A lone `img`, `picture`, `video`, `svg` or `canvas` in place of the stage element is its own stage, and
|
|
27
|
+
* a stage or such a picture that is a child of the `figure` itself, with no frame around it, is its own frame.
|
|
28
|
+
*
|
|
29
|
+
* Attributes of the wrapper: `variant` (outlined | filled | plain), `flush` (the stage is not padded), `separation`
|
|
30
|
+
* (auto | divider | gap), `label`, and — for a figure the element builds — `headline` and `caption`.
|
|
31
|
+
*
|
|
32
|
+
* This stylesheet draws everything, before and without script (an element that is not yet defined is still an
|
|
33
|
+
* element), so a page of figures does not move when the script arrives. The element
|
|
34
|
+
* (src/components/figure/figure.ts) adds what a stylesheet cannot and writes it here as attributes:
|
|
35
|
+
*
|
|
36
|
+
* tabindex, role, aria-* (on the stage) while the stage scrolls sideways it is a named focus stop (FIG-6)
|
|
37
|
+
* aria-labelledby, aria-describedby, aria-label (on the figure) its name and description (FIG-16)
|
|
38
|
+
* data-separation (on the figure) the separation the tokens name, where the browser has no style queries (FIG-12)
|
|
39
|
+
* data-empty (on the wrapper) the stage holds nothing but white space (FIG-25)
|
|
40
|
+
*
|
|
41
|
+
* Every value is a `--tanrei-comp-figure-*` token, or the system's focus tokens.
|
|
42
|
+
*
|
|
43
|
+
* HOW IT IS WRITTEN
|
|
44
|
+
*
|
|
45
|
+
* - Every selector starts at the element's name and has no specificity (`:where()`), so one class of the product's
|
|
46
|
+
* wins, and the ORDER of the rules decides between two of them.
|
|
47
|
+
* - A rule reaches the figure's own parts by child combinators only: a figure inside a stage is the product's.
|
|
48
|
+
* - The edge of a frame is an outline set inside it: it takes no room, so the three looks place what they hold alike
|
|
49
|
+
* (FIG-2), it is drawn over a joined block's own fill (FIG-11), and forced colors keep it (FIG-20).
|
|
50
|
+
* - The build (scripts/build.js) writes the corner-smoothing rule (src/styles/shape.ts) in place of the
|
|
51
|
+
* `figure:shape` mark, so the curve has one source.
|
|
52
|
+
* - Names that begin `--_figure-` are private.
|
|
53
|
+
*/
|
|
54
|
+
@layer tanrei.components {
|
|
55
|
+
/* ── The box (FIG-18): a block as wide as its layout, with no outer space, no width and no measure of its own ──── */
|
|
56
|
+
:where(tanrei-figure) {
|
|
57
|
+
/* FIG-2: the look's fill and edge (FIG-24: any other variant is the default's). */
|
|
58
|
+
--_figure-fill: var(--tanrei-comp-figure-outlined-container-color);
|
|
59
|
+
--_figure-edge: var(--tanrei-comp-figure-outline-width);
|
|
60
|
+
--_figure-edge-color: var(--tanrei-comp-figure-outline-color);
|
|
61
|
+
/* FIG-12: the separation this figure draws — its attribute's, else comp.figure.separation's. */
|
|
62
|
+
--_figure-separation: var(--tanrei-comp-figure-separation);
|
|
63
|
+
--_figure-line: var(--tanrei-comp-figure-divider-thickness);
|
|
64
|
+
--_figure-line-color: var(--tanrei-comp-figure-divider-color);
|
|
65
|
+
/* FIG-13: the attachment's distance from the stage and the frame — none where a line joins it. */
|
|
66
|
+
--_figure-attachment-gap: 0px;
|
|
67
|
+
/* FIG-3: the stage's padding, and what the look hands and gives a lone picture. */
|
|
68
|
+
--_figure-stage-padding-block: var(--tanrei-comp-figure-stage-padding-block);
|
|
69
|
+
--_figure-stage-padding-inline: var(--tanrei-comp-figure-stage-padding-inline);
|
|
70
|
+
--_figure-picture-margin: auto;
|
|
71
|
+
--_figure-content-color: var(--tanrei-comp-figure-content-color);
|
|
72
|
+
/* FIG-21, FIG-23: start as a side, by the layout direction — not by the title's or the caption's own text. */
|
|
73
|
+
--_figure-start: left;
|
|
74
|
+
|
|
75
|
+
/* No margin is written: an element has none of its own, and the space around a figure is its container's (PRS-15). */
|
|
76
|
+
display: block;
|
|
77
|
+
box-sizing: border-box;
|
|
78
|
+
min-inline-size: 0;
|
|
79
|
+
max-inline-size: 100%;
|
|
80
|
+
/* What a figure's text must not take from where it is used. */
|
|
81
|
+
text-indent: 0;
|
|
82
|
+
}
|
|
83
|
+
:where(tanrei-figure[hidden]),
|
|
84
|
+
/* FIG-25: a figure that shows nothing draws nothing. */
|
|
85
|
+
:where(tanrei-figure[data-empty]),
|
|
86
|
+
:where(tanrei-figure:has(> figure):not(:has(> figure > :is([data-part='frame'], [data-part='stage'], img, picture, video, svg, canvas)))),
|
|
87
|
+
:where(tanrei-figure:has(> figure > [data-part='frame']):not(:has(> figure > [data-part='frame'] > :is([data-part='stage']:not(:empty), img, picture, video, svg, canvas)))),
|
|
88
|
+
:where(tanrei-figure:has(> figure > [data-part='stage']:empty)) {
|
|
89
|
+
display: none;
|
|
90
|
+
}
|
|
91
|
+
:where(tanrei-figure):dir(rtl) {
|
|
92
|
+
--_figure-start: right;
|
|
93
|
+
}
|
|
94
|
+
:where(tanrei-figure[variant='filled']) {
|
|
95
|
+
--_figure-fill: var(--tanrei-comp-figure-filled-container-color);
|
|
96
|
+
--_figure-edge: 0px;
|
|
97
|
+
}
|
|
98
|
+
/* FIG-2, FIG-14: plain — no fill, no edge, no padding and no line: what is shown is its own frame. */
|
|
99
|
+
:where(tanrei-figure[variant='plain']) {
|
|
100
|
+
--_figure-fill: var(--tanrei-comp-figure-plain-container-color);
|
|
101
|
+
--_figure-edge: 0px;
|
|
102
|
+
--_figure-line: 0px;
|
|
103
|
+
--_figure-stage-padding-block: 0px;
|
|
104
|
+
--_figure-stage-padding-inline: 0px;
|
|
105
|
+
--_figure-picture-margin: 0;
|
|
106
|
+
/* FIG-3: the plain look hands the content no color. */
|
|
107
|
+
--_figure-content-color: inherit;
|
|
108
|
+
}
|
|
109
|
+
/* FIG-3: `flush` is `inset` false — the content reaches the frame's edges. */
|
|
110
|
+
:where(tanrei-figure[flush]) {
|
|
111
|
+
--_figure-stage-padding-block: 0px;
|
|
112
|
+
--_figure-stage-padding-inline: 0px;
|
|
113
|
+
}
|
|
114
|
+
:where(tanrei-figure[separation='divider']) {
|
|
115
|
+
--_figure-separation: divider;
|
|
116
|
+
}
|
|
117
|
+
:where(tanrei-figure[separation='gap']) {
|
|
118
|
+
--_figure-separation: gap;
|
|
119
|
+
}
|
|
120
|
+
|
|
121
|
+
:where(tanrei-figure) > :where(figure) {
|
|
122
|
+
display: block;
|
|
123
|
+
box-sizing: border-box;
|
|
124
|
+
min-inline-size: 0;
|
|
125
|
+
margin: 0;
|
|
126
|
+
padding: 0;
|
|
127
|
+
|
|
128
|
+
/* ── The frame (FIG-1, FIG-2): the shape that holds the header, the stage and the attachment — or, where the
|
|
129
|
+
figure has no frame element, the stage or the picture itself ───────────────────────────────────────────── */
|
|
130
|
+
& > :where([data-part='frame'], [data-part='stage'], img, picture, video, svg, canvas) {
|
|
131
|
+
/* A formatting context of its own: an attachment's space below it stays inside the frame (FIG-13). */
|
|
132
|
+
display: flow-root;
|
|
133
|
+
box-sizing: border-box;
|
|
134
|
+
min-inline-size: 0;
|
|
135
|
+
margin: 0;
|
|
136
|
+
background-color: var(--_figure-fill);
|
|
137
|
+
/* FIG-2: the edge, inside the frame's size and over what it holds. */
|
|
138
|
+
outline: var(--_figure-edge) solid var(--_figure-edge-color);
|
|
139
|
+
outline-offset: calc(var(--_figure-edge) * -1);
|
|
140
|
+
/* FIG-1: what it holds is clipped to its corners. */
|
|
141
|
+
overflow: clip;
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* ── The header (FIG-7 to FIG-9): the title at the start, the product's controls at the end ───────────────── */
|
|
145
|
+
& > :where([data-part='frame']) > :where(header) {
|
|
146
|
+
display: flex;
|
|
147
|
+
flex-wrap: wrap;
|
|
148
|
+
align-items: center;
|
|
149
|
+
gap: var(--tanrei-comp-figure-header-gap);
|
|
150
|
+
box-sizing: border-box;
|
|
151
|
+
margin: 0;
|
|
152
|
+
padding-block: var(--tanrei-comp-figure-header-padding-block);
|
|
153
|
+
padding-inline: var(--tanrei-comp-figure-header-padding-inline);
|
|
154
|
+
/* FIG-13: the line between the header and the stage. */
|
|
155
|
+
border: 0 solid var(--_figure-line-color);
|
|
156
|
+
border-block-end-width: var(--_figure-line);
|
|
157
|
+
|
|
158
|
+
&:where(:has(> [data-part='actions']:not(:empty))) {
|
|
159
|
+
padding-inline-end: var(--tanrei-comp-figure-header-padding-inline-end-with-actions);
|
|
160
|
+
}
|
|
161
|
+
/* FIG-7: a header that holds neither a title nor actions is no header. */
|
|
162
|
+
&:where(:not(:has(> :is([data-part='title'], [data-part='actions']):not(:empty)))) {
|
|
163
|
+
display: none;
|
|
164
|
+
}
|
|
165
|
+
|
|
166
|
+
/* FIG-8: the title — it takes the room the actions leave and wraps in it; a heading keeps its role and level. */
|
|
167
|
+
& > :where([data-part='title']) {
|
|
168
|
+
flex: 1 1 0%;
|
|
169
|
+
box-sizing: border-box;
|
|
170
|
+
margin: 0;
|
|
171
|
+
padding: 0;
|
|
172
|
+
font: var(--tanrei-comp-figure-title-typescale-font);
|
|
173
|
+
letter-spacing: var(--tanrei-comp-figure-title-typescale-letter-spacing);
|
|
174
|
+
color: var(--tanrei-comp-figure-title-color);
|
|
175
|
+
/* FIG-21, FIG-23: placed by the layout direction; the text itself is of its own direction. */
|
|
176
|
+
text-align: var(--_figure-start);
|
|
177
|
+
unicode-bidi: plaintext;
|
|
178
|
+
white-space: normal;
|
|
179
|
+
/* Never cut; a word is not broken while it fits a row of its own — the actions move below it first (FIG-7). */
|
|
180
|
+
overflow-wrap: break-word;
|
|
181
|
+
}
|
|
182
|
+
/* A heading inside a title the element built (the `title` slot) is drawn in the title's style too. */
|
|
183
|
+
& > :where([data-part='title']) > :where(h1, h2, h3, h4, h5, h6) {
|
|
184
|
+
margin: 0;
|
|
185
|
+
font: inherit;
|
|
186
|
+
letter-spacing: inherit;
|
|
187
|
+
}
|
|
188
|
+
/* FIG-9: the actions — one row, in the order given, each centred on the row's height, nothing else done to them. */
|
|
189
|
+
& > :where([data-part='actions']) {
|
|
190
|
+
display: flex;
|
|
191
|
+
flex: 0 1 auto;
|
|
192
|
+
flex-wrap: wrap;
|
|
193
|
+
align-items: center;
|
|
194
|
+
gap: var(--tanrei-comp-figure-header-gap);
|
|
195
|
+
box-sizing: border-box;
|
|
196
|
+
min-inline-size: 0;
|
|
197
|
+
max-inline-size: 100%;
|
|
198
|
+
margin: 0;
|
|
199
|
+
padding: 0;
|
|
200
|
+
}
|
|
201
|
+
& > :where([data-part='title']:empty, [data-part='actions']:empty) {
|
|
202
|
+
display: none;
|
|
203
|
+
}
|
|
204
|
+
/* Without a title they are still at the end. */
|
|
205
|
+
& > :where([data-part='actions']:first-child),
|
|
206
|
+
& > :where([data-part='title']:empty + [data-part='actions']) {
|
|
207
|
+
margin-inline-start: auto;
|
|
208
|
+
}
|
|
209
|
+
}
|
|
210
|
+
|
|
211
|
+
/* ── The stage (FIG-3 to FIG-6): where the thing shown stands ─────────────────────────────────────────────── */
|
|
212
|
+
& > :where([data-part='frame']) > :where([data-part='stage']),
|
|
213
|
+
& > :where([data-part='stage']) {
|
|
214
|
+
/* Several pieces of content are stacked in the order given; one narrower than the stage stands at its centre,
|
|
215
|
+
or at its start edge in the plain look — and at the start edge whatever the look where it is wider (FIG-5). */
|
|
216
|
+
display: flex;
|
|
217
|
+
flex-direction: column;
|
|
218
|
+
align-items: center;
|
|
219
|
+
align-items: safe center;
|
|
220
|
+
justify-content: center;
|
|
221
|
+
box-sizing: border-box;
|
|
222
|
+
min-inline-size: 0;
|
|
223
|
+
margin: 0;
|
|
224
|
+
padding-block: var(--_figure-stage-padding-block);
|
|
225
|
+
padding-inline: var(--_figure-stage-padding-inline);
|
|
226
|
+
/* FIG-3: the content's color, where the look hands one. */
|
|
227
|
+
color: var(--_figure-content-color);
|
|
228
|
+
/* FIG-5: content that cannot shrink scrolls sideways inside the stage, never up and down. */
|
|
229
|
+
overflow-x: auto;
|
|
230
|
+
overflow-y: hidden;
|
|
231
|
+
/* FIG-13: the line between the stage and the attachment. */
|
|
232
|
+
border: 0 solid var(--_figure-line-color);
|
|
233
|
+
|
|
234
|
+
/* FIG-6: while it scrolls the stage is a focus stop; the system's ring, inside its edge so that nothing clips it. */
|
|
235
|
+
&:focus-visible {
|
|
236
|
+
outline: var(--tanrei-sys-focus-outer-width) solid var(--tanrei-sys-color-focus-ring);
|
|
237
|
+
outline-offset: calc((var(--tanrei-sys-focus-offset) + var(--tanrei-sys-focus-outer-width)) * -1);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
& > :where([data-part='frame']) > :where([data-part='stage']:has(~ [data-part='attachment']:not(:empty))) {
|
|
241
|
+
border-block-end-width: var(--_figure-line);
|
|
242
|
+
}
|
|
243
|
+
/* A lone picture in place of the stage element is its own stage: it takes the stage's padding and place. */
|
|
244
|
+
& > :where([data-part='frame']) > :where(img, picture, video, svg, canvas),
|
|
245
|
+
& > :where(img, picture, video, svg, canvas) {
|
|
246
|
+
display: block;
|
|
247
|
+
box-sizing: border-box;
|
|
248
|
+
margin-inline: var(--_figure-picture-margin);
|
|
249
|
+
padding-block: var(--_figure-stage-padding-block);
|
|
250
|
+
padding-inline: var(--_figure-stage-padding-inline);
|
|
251
|
+
}
|
|
252
|
+
/* FIG-4: a picture scales down to the stage's inner width with its proportions kept, and never up. */
|
|
253
|
+
& > :where([data-part='frame']) > :where(img, video, svg, canvas),
|
|
254
|
+
& > :where(img, video, svg, canvas),
|
|
255
|
+
& > :where([data-part='frame']) > :where([data-part='stage'], picture) > :where(img, video, svg, canvas),
|
|
256
|
+
& > :where([data-part='stage'], picture) > :where(img, video, svg, canvas),
|
|
257
|
+
& > :where([data-part='frame']) > :where([data-part='stage']) > :where(picture) > :where(img),
|
|
258
|
+
& > :where([data-part='stage']) > :where(picture) > :where(img) {
|
|
259
|
+
max-inline-size: 100%;
|
|
260
|
+
block-size: auto;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
/* ── The attachment (FIG-11, FIG-13): the product's block under the stage, placed and never styled ────────── */
|
|
264
|
+
& > :where([data-part='frame']) > :where([data-part='attachment']) {
|
|
265
|
+
margin: var(--_figure-attachment-gap);
|
|
266
|
+
}
|
|
267
|
+
& > :where([data-part='frame']) > :where([data-part='attachment']:empty) {
|
|
268
|
+
display: none;
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
/* ── The caption (FIG-10): below the frame, at the start edge, wrapping and never cut ──────────────────────── */
|
|
272
|
+
& > :where(figcaption) {
|
|
273
|
+
display: block;
|
|
274
|
+
box-sizing: border-box;
|
|
275
|
+
margin: 0;
|
|
276
|
+
margin-block-start: var(--tanrei-comp-figure-caption-gap);
|
|
277
|
+
padding: 0;
|
|
278
|
+
font: var(--tanrei-comp-figure-caption-typescale-font);
|
|
279
|
+
letter-spacing: var(--tanrei-comp-figure-caption-typescale-letter-spacing);
|
|
280
|
+
color: var(--tanrei-comp-figure-caption-color);
|
|
281
|
+
text-align: var(--_figure-start);
|
|
282
|
+
unicode-bidi: plaintext;
|
|
283
|
+
white-space: normal;
|
|
284
|
+
overflow-wrap: break-word;
|
|
285
|
+
}
|
|
286
|
+
& > :where(figcaption:empty) {
|
|
287
|
+
display: none;
|
|
288
|
+
}
|
|
289
|
+
/* A link in a caption is underlined at rest (PRS-17), also where a reset in an earlier layer took the underline off. */
|
|
290
|
+
& > :where(figcaption) :where(a:any-link) {
|
|
291
|
+
text-decoration-line: underline;
|
|
292
|
+
}
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
/* ── The corners (FIG-1, FIG-2), eased by sys.shape.corner-smoothing. In the plain look the header and the
|
|
296
|
+
attachment stand outside any shape, and the stage alone has it ──────────────────────────────────────────────── */
|
|
297
|
+
:where(tanrei-figure:not([variant='plain'])) > :where(figure) > :where([data-part='frame'], [data-part='stage'], img, picture, video, svg, canvas),
|
|
298
|
+
:where(tanrei-figure[variant='plain']) > :where(figure) > :where([data-part='frame']) > :where([data-part='stage'], img, picture, video, svg, canvas),
|
|
299
|
+
:where(tanrei-figure[variant='plain']) > :where(figure) > :where([data-part='stage'], img, picture, video, svg, canvas) {
|
|
300
|
+
& {
|
|
301
|
+
--tanrei-corner-pill: 0;
|
|
302
|
+
}
|
|
303
|
+
& {
|
|
304
|
+
--_corner-scale: 1;
|
|
305
|
+
border-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale));
|
|
306
|
+
}
|
|
307
|
+
@supports (corner-shape: superellipse(log(2, 2))) {
|
|
308
|
+
& {
|
|
309
|
+
--_corner-smoothing: calc(var(--tanrei-sys-shape-corner-smoothing, 0) * (1 - var(--tanrei-corner-pill, 0)));
|
|
310
|
+
--_corner-scale: calc(1 + 0.4 * var(--_corner-smoothing));
|
|
311
|
+
corner-shape: superellipse(log(calc(2 + var(--_corner-smoothing)), 2));
|
|
312
|
+
}
|
|
313
|
+
}
|
|
314
|
+
&::before,
|
|
315
|
+
&::after {
|
|
316
|
+
corner-shape: inherit;
|
|
317
|
+
}
|
|
318
|
+
& {
|
|
319
|
+
--tanrei-corner-radius: var(--tanrei-comp-figure-container-shape);
|
|
320
|
+
--tanrei-corner-pill: var(--tanrei-comp-figure-container-shape-pill, 0);
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
/* FIG-6: the stage's focus ring follows the frame's corners where the stage meets them. */
|
|
324
|
+
:where(tanrei-figure:not([variant='plain'])) > :where(figure) > :where([data-part='frame']) > :where([data-part='stage']:first-child) {
|
|
325
|
+
border-start-start-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1));
|
|
326
|
+
border-start-end-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1));
|
|
327
|
+
}
|
|
328
|
+
:where(tanrei-figure:not([variant='plain'])) > :where(figure) > :where([data-part='frame']) > :where([data-part='stage']:last-child) {
|
|
329
|
+
border-end-start-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1));
|
|
330
|
+
border-end-end-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1));
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
/* ── Plain (FIG-3): content narrower than the stage stands at its start edge, in line with the text around ─────── */
|
|
334
|
+
:where(tanrei-figure[variant='plain']) > :where(figure) > :where([data-part='frame']) > :where([data-part='stage']),
|
|
335
|
+
:where(tanrei-figure[variant='plain']) > :where(figure) > :where([data-part='stage']) {
|
|
336
|
+
align-items: flex-start;
|
|
337
|
+
}
|
|
338
|
+
/* ── Plain (FIG-14): the frame is no shape — its header, stage and attachment are stacked on the page ──────────── */
|
|
339
|
+
:where(tanrei-figure[variant='plain']) > :where(figure) > :where([data-part='frame']) {
|
|
340
|
+
overflow: visible;
|
|
341
|
+
|
|
342
|
+
/* No inline padding, so the title begins at the figure's start edge; caption.gap between it and the stage. */
|
|
343
|
+
& > :where(header) {
|
|
344
|
+
padding: 0;
|
|
345
|
+
padding-block-end: var(--tanrei-comp-figure-caption-gap);
|
|
346
|
+
}
|
|
347
|
+
/* attachment.gap below the stage, across the figure's whole inline size. */
|
|
348
|
+
& > :where([data-part='attachment']) {
|
|
349
|
+
margin: 0;
|
|
350
|
+
margin-block-start: var(--tanrei-comp-figure-attachment-gap);
|
|
351
|
+
}
|
|
352
|
+
}
|
|
353
|
+
|
|
354
|
+
/* ── Separation: gap (FIG-12, FIG-13) — by a style query, and by the element where the browser has none ────────── */
|
|
355
|
+
@container style(--_figure-separation: gap) {
|
|
356
|
+
:where(tanrei-figure:not([variant='plain'])) > :where(figure) {
|
|
357
|
+
--_figure-line: 0px;
|
|
358
|
+
--_figure-attachment-gap: var(--tanrei-comp-figure-attachment-gap);
|
|
359
|
+
}
|
|
360
|
+
}
|
|
361
|
+
:where(tanrei-figure:not([variant='plain'])) > :where(figure[data-separation='gap']) {
|
|
362
|
+
--_figure-line: 0px;
|
|
363
|
+
--_figure-attachment-gap: var(--tanrei-comp-figure-attachment-gap);
|
|
364
|
+
}
|
|
365
|
+
|
|
366
|
+
/* ── Forced colors (FIG-20): an edge in the text color in the outlined and the filled looks, none in the plain ── */
|
|
367
|
+
@media (forced-colors: active) {
|
|
368
|
+
:where(tanrei-figure) {
|
|
369
|
+
--_figure-edge: var(--tanrei-comp-figure-outline-width);
|
|
370
|
+
--_figure-edge-color: CanvasText;
|
|
371
|
+
--_figure-line-color: CanvasText;
|
|
372
|
+
}
|
|
373
|
+
:where(tanrei-figure[variant='plain']) {
|
|
374
|
+
--_figure-edge: 0px;
|
|
375
|
+
}
|
|
376
|
+
:where(tanrei-figure) > :where(figure) > :where([data-part='frame']) > :where([data-part='stage']):focus-visible,
|
|
377
|
+
:where(tanrei-figure) > :where(figure) > :where([data-part='stage']):focus-visible {
|
|
378
|
+
outline-color: Highlight;
|
|
379
|
+
}
|
|
380
|
+
}
|
|
381
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** One icon set: the font families it describes and the glyph names mirrored in a right-to-left layout. */
|
|
2
|
+
export interface IconSet {
|
|
3
|
+
readonly families: readonly string[];
|
|
4
|
+
readonly mirrored: ReadonlySet<string>;
|
|
5
|
+
}
|
|
6
|
+
/** Every icon set that has a data file, by id. */
|
|
7
|
+
export declare const iconSets: Readonly<Record<string, IconSet>>;
|
|
8
|
+
/** The icon set of each shipped design system, by system id; null where the system's icon family has no data file (nothing mirrors by itself). */
|
|
9
|
+
export declare const systemIconSets: Readonly<Record<string, string | null>>;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
// GENERATED FILE — DO NOT EDIT.
|
|
2
|
+
// Source: tokens/ (DTCG 2025.10). Regenerate with `pnpm generate`.
|
|
3
|
+
// The icon-set data of tokens/icon-sets/*.icon-set.json.
|
|
4
|
+
/** Every icon set that has a data file, by id. */
|
|
5
|
+
export const iconSets = {
|
|
6
|
+
"material-symbols": {
|
|
7
|
+
families: ["Material Symbols Rounded", "Material Symbols Outlined", "Material Symbols Sharp"],
|
|
8
|
+
mirrored: new Set(["360", "add_to_home_screen", "airplane_ticket", "airport_shuttle", "align_horizontal_left", "align_horizontal_right", "alt_route", "arrow_back", "arrow_back_ios", "arrow_back_ios_new", "arrow_circle_left", "arrow_circle_right", "arrow_forward", "arrow_forward_ios", "arrow_left", "arrow_left_alt", "arrow_menu_close", "arrow_menu_open", "arrow_outward", "arrow_right", "arrow_right_alt", "arrow_split", "article", "assignment", "assignment_return", "assist_walker", "assistant_direction", "backspace", "battery_unknown", "bike_lane", "brand_awareness", "branding_watermark", "bubble", "call_made", "call_merge", "call_missed", "call_missed_outgoing", "call_received", "call_split", "chat", "chat_add_on", "chat_display", "chat_info", "chat_paste_go", "chat_paste_go_2", "checkbook", "chevron_backward", "chevron_forward", "chevron_left", "chevron_right", "chrome_reader_mode", "clarify", "comment", "compare_arrows", "contact_support", "content_copy", "contextual_token", "contextual_token_add", "contrast", "desktop_landscape", "desktop_landscape_add", "desktop_portrait", "devices_other", "diagonal_line", "directions", "directions_alt", "directions_bike", "directions_run", "directions_walk", "docs", "double_arrow", "draft", "drive_export", "drive_file_move", "dvr", "electric_bike", "electric_moped", "electric_rickshaw", "electric_scooter", "emoji_flags", "event_note", "event_upcoming", "exit_to_app", "expand_circle_right", "featured_play_list", "featured_video", "feed", "filter_arrow_right", "fire_truck", "flag", "flight_land", "flight_takeoff", "flights_and_hotels", "flightsmode", "float_landscape_2", "float_portrait_2", "follow_the_signs", "format_align_left", "format_align_right", "format_indent_decrease", "format_indent_increase", "format_list_bulleted", "format_list_bulleted_add", "forward", "forward_to_inbox", "funicular", "gondola_lift", "grading", "handheld_controller", "help", "help_center", "highlight_mouse_cursor", "horizontal_align_left", "horizontal_align_right", "hotel", "hotel_class", "import_spark", "ink_highlighter_move", "input", "keyboard_arrow_left", "keyboard_arrow_right", "keyboard_backspace", "keyboard_double_arrow_left", "keyboard_double_arrow_right", "keyboard_return", "keyboard_tab", "keyboard_tab_rtl", "label", "label_important", "last_page", "library_books", "light_group", "line_curve", "list", "list_alt", "lists", "live_help", "local_shipping", "local_shipping_spark", "login", "logout", "manage_search", "menu_book", "menu_open", "merge_type", "missed_video_call", "mobile_arrow_right", "mobile_arrow_up_right", "mobile_camera_front", "mobile_camera_rear", "mobile_screen_share", "mobile_share", "monitoring", "moped", "more", "move_item", "move_location", "moving", "moving_ministry", "multiline_chart", "navigate_before", "navigate_next", "news", "newsmode", "next_plan", "next_week", "no_sound", "not_listed_location", "note_add", "notes", "offline_share", "open_in_new", "open_in_phone", "outbox_alt", "pedal_bike", "phone_callback", "phone_forwarded", "phone_missed", "picture_in_picture", "picture_in_picture_alt", "picture_in_picture_large", "picture_in_picture_medium", "picture_in_picture_mobile", "picture_in_picture_small", "plane_contrails", "position_top_right", "prompt_suggestion", "queue_music", "read_more", "receipt_long", "redo", "replace_audio", "replace_image", "replace_video", "reply", "reply_all", "rotate_left", "rotate_right", "rtt", "run_circle", "schedule_send", "scooter", "screen_share", "segment", "send", "send_and_archive", "send_money", "send_to_mobile", "settings_backup_restore", "shield_question", "short_text", "show_chart", "side_navigation", "single_arrow", "snowmobile", "sort", "speaker_notes", "stairs_2", "star_half", "sticky_note", "sticky_note_2", "stop_screen_share", "subject", "subway_walk", "swipe_left_2", "swipe_right_2", "switch_access_2", "switch_access_3", "text_ad", "text_compare", "text_snippet", "text_to_speech", "thermostat", "toc", "tooltip_2", "transition_push", "transition_slide", "trending_down", "trending_flat", "trending_up", "tv_next", "two_wheeler", "undo", "video_camera_back_add", "videocam", "view_list", "view_quilt", "view_sidebar", "volume_down", "volume_down_alt", "volume_mute", "volume_off", "volume_up", "walk_bike", "watch_arrow", "wrap_text", "wysiwyg"]),
|
|
9
|
+
},
|
|
10
|
+
};
|
|
11
|
+
/** The icon set of each shipped design system, by system id; null where the system's icon family has no data file (nothing mirrors by itself). */
|
|
12
|
+
export const systemIconSets = {
|
|
13
|
+
"tanrei": "material-symbols",
|
|
14
|
+
"cupertino": "material-symbols",
|
|
15
|
+
"m3-expressive-like": "material-symbols",
|
|
16
|
+
"m3-like": "material-symbols",
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=icon-sets.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-sets.js","sourceRoot":"","sources":["../../src/generated/icon-sets.ts"],"names":[],"mappings":"AAAA,gCAAgC;AAChC,mEAAmE;AACnE,yDAAyD;AAQzD,kDAAkD;AAClD,MAAM,CAAC,MAAM,QAAQ,GAAsC;IACzD,kBAAkB,EAAE;QAClB,QAAQ,EAAE,CAAC,0BAA0B,EAAC,2BAA2B,EAAC,wBAAwB,CAAC;QAC3F,QAAQ,EAAE,IAAI,GAAG,CAAC,CAAC,KAAK,EAAC,oBAAoB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,uBAAuB,EAAC,wBAAwB,EAAC,WAAW,EAAC,YAAY,EAAC,gBAAgB,EAAC,oBAAoB,EAAC,mBAAmB,EAAC,oBAAoB,EAAC,eAAe,EAAC,mBAAmB,EAAC,YAAY,EAAC,gBAAgB,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,eAAe,EAAC,aAAa,EAAC,iBAAiB,EAAC,aAAa,EAAC,SAAS,EAAC,YAAY,EAAC,mBAAmB,EAAC,eAAe,EAAC,qBAAqB,EAAC,WAAW,EAAC,iBAAiB,EAAC,WAAW,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,QAAQ,EAAC,WAAW,EAAC,YAAY,EAAC,aAAa,EAAC,sBAAsB,EAAC,eAAe,EAAC,YAAY,EAAC,MAAM,EAAC,aAAa,EAAC,cAAc,EAAC,WAAW,EAAC,eAAe,EAAC,iBAAiB,EAAC,WAAW,EAAC,kBAAkB,EAAC,iBAAiB,EAAC,cAAc,EAAC,eAAe,EAAC,oBAAoB,EAAC,SAAS,EAAC,SAAS,EAAC,gBAAgB,EAAC,iBAAiB,EAAC,cAAc,EAAC,kBAAkB,EAAC,sBAAsB,EAAC,UAAU,EAAC,mBAAmB,EAAC,uBAAuB,EAAC,kBAAkB,EAAC,eAAe,EAAC,eAAe,EAAC,YAAY,EAAC,gBAAgB,EAAC,iBAAiB,EAAC,gBAAgB,EAAC,iBAAiB,EAAC,MAAM,EAAC,cAAc,EAAC,OAAO,EAAC,cAAc,EAAC,iBAAiB,EAAC,KAAK,EAAC,eAAe,EAAC,gBAAgB,EAAC,mBAAmB,EAAC,kBAAkB,EAAC,aAAa,EAAC,YAAY,EAAC,gBAAgB,EAAC,aAAa,EAAC,qBAAqB,EAAC,oBAAoB,EAAC,gBAAgB,EAAC,MAAM,EAAC,oBAAoB,EAAC,YAAY,EAAC,MAAM,EAAC,aAAa,EAAC,gBAAgB,EAAC,oBAAoB,EAAC,aAAa,EAAC,mBAAmB,EAAC,kBAAkB,EAAC,kBAAkB,EAAC,mBAAmB,EAAC,oBAAoB,EAAC,wBAAwB,EAAC,wBAAwB,EAAC,sBAAsB,EAAC,0BAA0B,EAAC,SAAS,EAAC,kBAAkB,EAAC,WAAW,EAAC,cAAc,EAAC,SAAS,EAAC,qBAAqB,EAAC,MAAM,EAAC,aAAa,EAAC,wBAAwB,EAAC,uBAAuB,EAAC,wBAAwB,EAAC,OAAO,EAAC,aAAa,EAAC,cAAc,EAAC,sBAAsB,EAAC,OAAO,EAAC,qBAAqB,EAAC,sBAAsB,EAAC,oBAAoB,EAAC,4BAA4B,EAAC,6BAA6B,EAAC,iBAAiB,EAAC,cAAc,EAAC,kBAAkB,EAAC,OAAO,EAAC,iBAAiB,EAAC,WAAW,EAAC,eAAe,EAAC,aAAa,EAAC,YAAY,EAAC,MAAM,EAAC,UAAU,EAAC,OAAO,EAAC,WAAW,EAAC,gBAAgB,EAAC,sBAAsB,EAAC,OAAO,EAAC,QAAQ,EAAC,eAAe,EAAC,WAAW,EAAC,WAAW,EAAC,YAAY,EAAC,mBAAmB,EAAC,oBAAoB,EAAC,uBAAuB,EAAC,qBAAqB,EAAC,oBAAoB,EAAC,qBAAqB,EAAC,cAAc,EAAC,YAAY,EAAC,OAAO,EAAC,MAAM,EAAC,WAAW,EAAC,eAAe,EAAC,QAAQ,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,eAAe,EAAC,MAAM,EAAC,UAAU,EAAC,WAAW,EAAC,WAAW,EAAC,UAAU,EAAC,qBAAqB,EAAC,UAAU,EAAC,OAAO,EAAC,eAAe,EAAC,aAAa,EAAC,eAAe,EAAC,YAAY,EAAC,YAAY,EAAC,gBAAgB,EAAC,iBAAiB,EAAC,cAAc,EAAC,oBAAoB,EAAC,wBAAwB,EAAC,0BAA0B,EAAC,2BAA2B,EAAC,2BAA2B,EAAC,0BAA0B,EAAC,iBAAiB,EAAC,oBAAoB,EAAC,mBAAmB,EAAC,aAAa,EAAC,WAAW,EAAC,cAAc,EAAC,MAAM,EAAC,eAAe,EAAC,eAAe,EAAC,eAAe,EAAC,OAAO,EAAC,WAAW,EAAC,aAAa,EAAC,cAAc,EAAC,KAAK,EAAC,YAAY,EAAC,eAAe,EAAC,SAAS,EAAC,cAAc,EAAC,SAAS,EAAC,MAAM,EAAC,kBAAkB,EAAC,YAAY,EAAC,gBAAgB,EAAC,yBAAyB,EAAC,iBAAiB,EAAC,YAAY,EAAC,YAAY,EAAC,iBAAiB,EAAC,cAAc,EAAC,YAAY,EAAC,MAAM,EAAC,eAAe,EAAC,UAAU,EAAC,WAAW,EAAC,aAAa,EAAC,eAAe,EAAC,mBAAmB,EAAC,SAAS,EAAC,aAAa,EAAC,cAAc,EAAC,eAAe,EAAC,iBAAiB,EAAC,iBAAiB,EAAC,SAAS,EAAC,cAAc,EAAC,cAAc,EAAC,gBAAgB,EAAC,YAAY,EAAC,KAAK,EAAC,WAAW,EAAC,iBAAiB,EAAC,kBAAkB,EAAC,eAAe,EAAC,eAAe,EAAC,aAAa,EAAC,SAAS,EAAC,aAAa,EAAC,MAAM,EAAC,uBAAuB,EAAC,UAAU,EAAC,WAAW,EAAC,YAAY,EAAC,cAAc,EAAC,aAAa,EAAC,iBAAiB,EAAC,aAAa,EAAC,YAAY,EAAC,WAAW,EAAC,WAAW,EAAC,aAAa,EAAC,WAAW,EAAC,SAAS,CAAC,CAAC;KAC19H;CACF,CAAC;AAEF,kJAAkJ;AAClJ,MAAM,CAAC,MAAM,cAAc,GAA4C;IACrE,QAAQ,EAAE,kBAAkB;IAC5B,WAAW,EAAE,kBAAkB;IAC/B,oBAAoB,EAAE,kBAAkB;IACxC,SAAS,EAAE,kBAAkB;CAC9B,CAAC"}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
/** The product's words in one language. Every key is optional: a product gives the words of the components it uses. */
|
|
2
|
+
export interface TanreiWords {
|
|
3
|
+
/** Read by `code-block.addedLabel`. */
|
|
4
|
+
addedLabel?: string;
|
|
5
|
+
/** Read by `chat-composer.attachLabel`. */
|
|
6
|
+
attachLabel?: string;
|
|
7
|
+
/** Read by `search.backLabel`. */
|
|
8
|
+
backLabel?: string;
|
|
9
|
+
/** Read by `breadcrumbs.overflowLabel`. */
|
|
10
|
+
breadcrumbsOverflowLabel?: string;
|
|
11
|
+
/** Read by `date-time-picker.cancelLabel`. */
|
|
12
|
+
cancelLabel?: string;
|
|
13
|
+
/** Read by `combobox.clearLabel`, `search.clearLabel`. */
|
|
14
|
+
clearLabel?: string;
|
|
15
|
+
/** Read by `callout.closeLabel`, `image-preview.closeLabel`, `popover.closeLabel`, `side-sheet.closeLabel`, `snackbar.closeLabel`. */
|
|
16
|
+
closeLabel?: string;
|
|
17
|
+
/** Read by `date-time-picker.confirmLabel`. */
|
|
18
|
+
confirmLabel?: string;
|
|
19
|
+
/** Read by `code-block.copiedLabel`, `copy-button.copiedLabel`. */
|
|
20
|
+
copiedLabel?: string;
|
|
21
|
+
/** Read by `code-block.copyFailedLabel`, `copy-button.failedLabel`. */
|
|
22
|
+
copyFailedLabel?: string;
|
|
23
|
+
/** Read by `code-block.copyLabel`, `copy-button.label`. */
|
|
24
|
+
copyLabel?: string;
|
|
25
|
+
/** Read by `date-time-picker.dateLabel`. */
|
|
26
|
+
dateLabel?: string;
|
|
27
|
+
/** Read by `number-input.decrementLabel`. */
|
|
28
|
+
decrementLabel?: string;
|
|
29
|
+
/** Read by `date-time-picker.dialLabel`. */
|
|
30
|
+
dialLabel?: string;
|
|
31
|
+
/** Read by `chip-field.duplicateText`. */
|
|
32
|
+
duplicateEntryText?: string;
|
|
33
|
+
/** Read by `combobox.emptyText`. */
|
|
34
|
+
emptyText?: string;
|
|
35
|
+
/** Read by `calendar.endLabel`, `date-time-picker.endLabel`. */
|
|
36
|
+
endLabel?: string;
|
|
37
|
+
/** Read by `chip-field.addedCountText`. A word with places: `{count}` (number). */
|
|
38
|
+
entriesAddedText?: string;
|
|
39
|
+
/** Read by `chip-field.addedText`. A word with places: `{entry}` (text). */
|
|
40
|
+
entryAddedText?: string;
|
|
41
|
+
/** Read by `chip-field.limitText`. */
|
|
42
|
+
entryLimitText?: string;
|
|
43
|
+
/** Read by `date-time-picker.entryModeLabel`. */
|
|
44
|
+
entryModeLabel?: string;
|
|
45
|
+
/** Read by `chip-field.removeLabel`. A word with places: `{entry}` (text, needed). */
|
|
46
|
+
entryRemoveLabel?: string;
|
|
47
|
+
/** Read by `chip-field.removedText`. A word with places: `{entry}` (text). */
|
|
48
|
+
entryRemovedText?: string;
|
|
49
|
+
/** Read by `snackbar.expandLabel`. */
|
|
50
|
+
expandLabel?: string;
|
|
51
|
+
/** Read by `link.externalLabel`, `link-card.externalLabel`. */
|
|
52
|
+
externalLabel?: string;
|
|
53
|
+
/** Read by `chat-composer.countErrorText`, `file-upload.countErrorText`. */
|
|
54
|
+
fileCountErrorText?: string;
|
|
55
|
+
/** Read by `chat-composer.sizeErrorText`, `file-upload.sizeErrorText`. */
|
|
56
|
+
fileSizeErrorText?: string;
|
|
57
|
+
/** Read by `chat-composer.typeErrorText`, `file-upload.typeErrorText`. */
|
|
58
|
+
fileTypeErrorText?: string;
|
|
59
|
+
/** Read by `bottom-sheet.handleLabel`. */
|
|
60
|
+
handleLabel?: string;
|
|
61
|
+
/** Read by `code-block.highlightedLabel`. */
|
|
62
|
+
highlightedLabel?: string;
|
|
63
|
+
/** Read by `date-time-picker.hourLabel`. */
|
|
64
|
+
hourLabel?: string;
|
|
65
|
+
/** Read by `image-preview.countText`. A word with places: `{position}` (number), `{count}` (number). */
|
|
66
|
+
imageCountText?: string;
|
|
67
|
+
/** Read by `image-preview.errorText`. */
|
|
68
|
+
imageErrorText?: string;
|
|
69
|
+
/** Read by `number-input.incrementLabel`. */
|
|
70
|
+
incrementLabel?: string;
|
|
71
|
+
/** Read by `image-preview.loadingLabel`, `skeleton.label`, `tree-view.loadingLabel`. */
|
|
72
|
+
loadingLabel?: string;
|
|
73
|
+
/** Read by `menubar.overflowLabel`. */
|
|
74
|
+
menubarOverflowLabel?: string;
|
|
75
|
+
/** Read by `date-time-picker.minuteLabel`. */
|
|
76
|
+
minuteLabel?: string;
|
|
77
|
+
/** Read by `list.moveDownLabel`. */
|
|
78
|
+
moveDownLabel?: string;
|
|
79
|
+
/** Read by `list.moveUpLabel`. */
|
|
80
|
+
moveUpLabel?: string;
|
|
81
|
+
/** Read by `list.movedText`. A word with places: `{headline}` (text), `{position}` (number), `{count}` (number). */
|
|
82
|
+
movedText?: string;
|
|
83
|
+
/** Read by `date-time-picker.nextDayLabel`. */
|
|
84
|
+
nextDayLabel?: string;
|
|
85
|
+
/** Read by `image-preview.nextLabel`. */
|
|
86
|
+
nextImageLabel?: string;
|
|
87
|
+
/** Read by `calendar.nextMonthLabel`, `date-time-picker.nextMonthLabel`. */
|
|
88
|
+
nextMonthLabel?: string;
|
|
89
|
+
/** Read by `file-upload.emptyText`. */
|
|
90
|
+
noFileText?: string;
|
|
91
|
+
/** Read by `field.optionalText`, `field-group.optionalText`. */
|
|
92
|
+
optionalText?: string;
|
|
93
|
+
/** Read by `carousel.pauseLabel`. */
|
|
94
|
+
pauseLabel?: string;
|
|
95
|
+
/** Read by `date-time-picker.periodLabel`. */
|
|
96
|
+
periodLabel?: string;
|
|
97
|
+
/** Read by `carousel.playLabel`. */
|
|
98
|
+
playLabel?: string;
|
|
99
|
+
/** Read by `image-preview.previousLabel`. */
|
|
100
|
+
previousImageLabel?: string;
|
|
101
|
+
/** Read by `calendar.previousMonthLabel`, `date-time-picker.previousMonthLabel`. */
|
|
102
|
+
previousMonthLabel?: string;
|
|
103
|
+
/** Read by `date-time-picker.rangeErrorText`. */
|
|
104
|
+
rangeErrorText?: string;
|
|
105
|
+
/** Read by `date-time-picker.rangeLabel`. */
|
|
106
|
+
rangeLabel?: string;
|
|
107
|
+
/** Read by `file-item.removeLabel`. */
|
|
108
|
+
removeLabel?: string;
|
|
109
|
+
/** Read by `code-block.removedLabel`. */
|
|
110
|
+
removedLabel?: string;
|
|
111
|
+
/** Read by `field.requiredText`, `field-group.requiredText`. */
|
|
112
|
+
requiredText?: string;
|
|
113
|
+
/** Read by `text-input.resizeLabel`. */
|
|
114
|
+
resizeLabel?: string;
|
|
115
|
+
/** Read by `file-item.retryLabel`. */
|
|
116
|
+
retryLabel?: string;
|
|
117
|
+
/** Read by `text-input.segmentEmptyText`. */
|
|
118
|
+
segmentEmptyText?: string;
|
|
119
|
+
/** Read by `table.selectAllLabel`. */
|
|
120
|
+
selectAllLabel?: string;
|
|
121
|
+
/** Read by `chat-composer.sendLabel`. */
|
|
122
|
+
sendLabel?: string;
|
|
123
|
+
/** Read by `table.sortedAscendingLabel`. */
|
|
124
|
+
sortedAscendingLabel?: string;
|
|
125
|
+
/** Read by `table.sortedDescendingLabel`. */
|
|
126
|
+
sortedDescendingLabel?: string;
|
|
127
|
+
/** Read by `calendar.startLabel`, `date-time-picker.startLabel`. */
|
|
128
|
+
startLabel?: string;
|
|
129
|
+
/** Read by `chat-composer.stopLabel`. */
|
|
130
|
+
stopLabel?: string;
|
|
131
|
+
/** Read by `button.targetLabel`, `card.targetLabel`, `chip.targetLabel`, `link.targetLabel`, `link-card.targetLabel`, `list/list-item.targetLabel`, `menu/item.targetLabel`, `menubar/item.targetLabel`, `navigation-bar/destination.targetLabel`, `navigation-drawer/destination.targetLabel`, `search/result.targetLabel`, `search/result-group.targetLabel`. */
|
|
132
|
+
targetLabel?: string;
|
|
133
|
+
/** Read by `calendar.todayLabel`, `date-time-picker.todayLabel`. */
|
|
134
|
+
todayLabel?: string;
|
|
135
|
+
/** Read by `date-time-picker.wheelsLabel`. */
|
|
136
|
+
wheelsLabel?: string;
|
|
137
|
+
/** Read by `calendar.yearViewLabel`, `date-time-picker.yearViewLabel`. */
|
|
138
|
+
yearViewLabel?: string;
|
|
139
|
+
/** Read by `image-preview.zoomInLabel`. */
|
|
140
|
+
zoomInLabel?: string;
|
|
141
|
+
/** Read by `image-preview.zoomOutLabel`. */
|
|
142
|
+
zoomOutLabel?: string;
|
|
143
|
+
}
|
|
144
|
+
/** One key of the product's words. */
|
|
145
|
+
export type WordKey = keyof TanreiWords;
|
|
146
|
+
/** Every key of the product's words, in alphabetical order. */
|
|
147
|
+
export declare const wordKeys: readonly WordKey[];
|
|
148
|
+
/** The props that read each key, as `<component>.<prop>` and, for an item kind, `<component>/<kind>.<prop>`. */
|
|
149
|
+
export declare const wordReaders: Readonly<Record<WordKey, readonly string[]>>;
|
|
150
|
+
/** One place of a word: the name the product writes between braces, and whether a number or a text fills it. */
|
|
151
|
+
export interface WordPlace {
|
|
152
|
+
name: string;
|
|
153
|
+
kind: 'number' | 'text';
|
|
154
|
+
/** The sentence is used as written without it, and that is reported in debug builds. */
|
|
155
|
+
required?: true;
|
|
156
|
+
}
|
|
157
|
+
/**
|
|
158
|
+
* The places of each key whose word has any: the product writes `{name}` where the value goes, and the component
|
|
159
|
+
* that reads the key fills it. A key that is not here is a whole string, and its braces are plain text.
|
|
160
|
+
*/
|
|
161
|
+
export declare const wordPlaces: Readonly<Partial<Record<WordKey, readonly WordPlace[]>>>;
|