@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 @@
|
|
|
1
|
+
{"version":3,"file":"button-with-menu.js","sourceRoot":"","sources":["../../../src/components/button-with-menu/button-with-menu.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAkD,IAAI,EAAE,OAAO,EAAE,MAAM,KAAK,CAAC;AAChG,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EACrB,mBAAmB,EAEnB,kBAAkB,EAClB,eAAe,EACf,iBAAiB,EAEjB,qBAAqB,EACrB,MAAM,EACN,cAAc,EACd,cAAc,GACf,MAAM,2BAA2B,CAAC;AAEnC,OAAO,EAAE,UAAU,EAA0D,MAAM,iBAAiB,CAAC;AACrG,OAAO,EAAE,IAAI,EAAE,eAAe,EAAE,MAAM,EAAE,MAAM,8BAA8B,CAAC;AAC7E,OAAO,EAAE,cAAc,EAAE,MAAM,+BAA+B,CAAC;AAmB/D,yFAAyF;AACzF,MAAM,YAAY,GAAG,qFAAqF,CAAC;AAE3G,8HAA8H;AAC9H,MAAM,MAAM,GAAG,CAAC,KAAmB,EAAE,EAAE,CAAC,KAAK,CAAC,WAAW,KAAK,OAAO,IAAI,KAAK,CAAC,WAAW,KAAK,KAAK,CAAC;AAErG;;;;GAIG;AACH,MAAM,UAAW,SAAQ,mBAAmB;IAC1C,YACE,IAA0D,EAC1D,SAAmC,EAClB,GAAe;QAEhC,KAAK,CAAC,IA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AAI,CAAC,CAAC,KAAK,CAAC,CAAC,IAAI,EAAE,CAAC,EAAE,EAAE,CAAC,IAAI,KAAK,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAE3H,uEAAuE;AACvE,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,aAAa,CAAC;IAAE,cAAc,CAAC,MAAM,CAAC,aAAa,EAAE,UAAU,CAAC,CAAC;AACzF,gGAAgG;AAChG,cAAc,CAAC,oBAAoB,CAAC,CAAC;AACrC,IAAI,CAAC,cAAc,CAAC,GAAG,CAAC,yBAAyB,CAAC;IAAE,cAAc,CAAC,MAAM,CAAC,yBAAyB,EAAE,oBAAoB,CAAC,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { type OpenAxis } from '../../primitives/index.js';
|
|
2
|
+
/** The values every design system has. A layer may add more; those get their styles on demand. */
|
|
3
|
+
export declare const CORE_VARIANTS: readonly ['filled', 'tonal', 'elevated', 'outlined'];
|
|
4
|
+
export declare const CORE_SIZES: readonly ['small', 'medium', 'large'];
|
|
5
|
+
/**
|
|
6
|
+
* SPB-12, SPB-32: the widths of the trailing half. A closed set: each is a padding of its size around the chevron — and
|
|
7
|
+
* `default` alone takes the outer padding at its round end.
|
|
8
|
+
*/
|
|
9
|
+
export declare const TRAILING_WIDTHS: readonly ['default', 'narrow'];
|
|
10
|
+
/**
|
|
11
|
+
* The open axes (SPB-8): a size or variant a layer added gets its block on demand, built by the same functions
|
|
12
|
+
* as the core blocks and falling back to the default's tokens; a value the active system lacks is reported in debug builds.
|
|
13
|
+
*/
|
|
14
|
+
export declare const AXES: readonly OpenAxis[];
|
|
15
|
+
export declare const styles: import("lit").CSSResult;
|
|
@@ -0,0 +1,418 @@
|
|
|
1
|
+
import { css, unsafeCSS } from 'lit';
|
|
2
|
+
import { focusRing, groupItemReset, groupItemStyles, iconGlyph, minimumTarget, neighbourTarget, pressHold, rippleStyles, separationHost, stateRules, whenGap } from '../../primitives/index.js';
|
|
3
|
+
import { productText } from '../../styles/product-text.js';
|
|
4
|
+
import { cornerRadius, shape } from '../../styles/shape.js';
|
|
5
|
+
// Every visual value is a token (tokens/comp/button-with-menu.tokens.json). The button with menu owns its tokens:
|
|
6
|
+
// they carry Button's values by default but are its own, so a system can style its buttons with menu apart from its buttons.
|
|
7
|
+
// Both halves share one set of parts per variant, and each half reads them in ITS OWN state (SPB-4): how a state looks is
|
|
8
|
+
// the active design system's decision, not this component's.
|
|
9
|
+
/** The values every design system has. A layer may add more; those get their styles on demand. */
|
|
10
|
+
export const CORE_VARIANTS = ['filled', 'tonal', 'elevated', 'outlined'];
|
|
11
|
+
export const CORE_SIZES = ['small', 'medium', 'large'];
|
|
12
|
+
const DEFAULT_VARIANT = 'filled';
|
|
13
|
+
const DEFAULT_SIZE = 'medium';
|
|
14
|
+
/**
|
|
15
|
+
* SPB-12, SPB-32: the widths of the trailing half. A closed set: each is a padding of its size around the chevron — and
|
|
16
|
+
* `default` alone takes the outer padding at its round end.
|
|
17
|
+
*/
|
|
18
|
+
export const TRAILING_WIDTHS = ['default', 'narrow'];
|
|
19
|
+
const STATES = { '': '', hovered: '-h', focused: '-f', pressed: '-p', disabled: '-d' };
|
|
20
|
+
// SPB-26: the elevation is read as its `-inset-ring` companion (the emitter's): the same layers, the ring drawn inside.
|
|
21
|
+
// SPB-31: the divider's color is a part of the variant too, read at rest and when disabled.
|
|
22
|
+
const PARTS = { c: 'container-color', l: 'label-color', o: 'outline-color', e: 'container-elevation-inset-ring', d: 'divider-color' };
|
|
23
|
+
/** The members of the size axis (`dev.tanrei.axes.size.members`). */
|
|
24
|
+
const SIZE_MEMBERS = {
|
|
25
|
+
height: 'container-height',
|
|
26
|
+
'pad-block': 'container-padding-block',
|
|
27
|
+
gap: 'container-gap',
|
|
28
|
+
'pad-start': 'leading-padding-inline-start',
|
|
29
|
+
'pad-start-icon': 'leading-padding-inline-start-with-icon',
|
|
30
|
+
'pad-end': 'leading-padding-inline-end',
|
|
31
|
+
'pad-trailing': 'trailing-padding-inline',
|
|
32
|
+
'pad-trailing-narrow': 'trailing-padding-inline-narrow',
|
|
33
|
+
font: 'label-typescale',
|
|
34
|
+
icon: 'icon-size',
|
|
35
|
+
'outline-width': 'outline-width',
|
|
36
|
+
};
|
|
37
|
+
const PREFIX = '--tanrei-comp-button-with-menu';
|
|
38
|
+
const P = unsafeCSS(PREFIX);
|
|
39
|
+
// A value the core does not have may be missing from the active design system: fall back to the default's token.
|
|
40
|
+
const ref = (name, key, fallback) => (fallback ? `var(${name(key)}, var(${name(fallback)}))` : `var(${name(key)})`);
|
|
41
|
+
// Private custom properties (`--_c-h` = container, hovered) select the variant's tokens once per host.
|
|
42
|
+
const variantBlock = (variant, selector, fallback = null) => `${selector} {\n${Object.entries(STATES)
|
|
43
|
+
.flatMap(([state, suffix]) => Object.entries(PARTS).map(([key, part]) => ` --_${key}${suffix}: ${ref((v) => `${PREFIX}-${v}-${state ? `${state}-` : ''}${part}`, variant, fallback)};`))
|
|
44
|
+
.join('\n')}\n}`;
|
|
45
|
+
// The label's text role is used whole.
|
|
46
|
+
const sizeBlock = (size, selector, fallback = null) => `${selector} {\n${Object.entries(SIZE_MEMBERS)
|
|
47
|
+
.flatMap(([key, member]) => member === 'label-typescale'
|
|
48
|
+
? [` --_font: ${ref((v) => `${PREFIX}-${member}-${v}-font`, size, fallback)};`, ` --_tracking: ${ref((v) => `${PREFIX}-${member}-${v}-letter-spacing`, size, fallback)};`]
|
|
49
|
+
: [` --_${key}: ${ref((v) => `${PREFIX}-${member}-${v}`, size, fallback)};`])
|
|
50
|
+
.join('\n')}\n}`;
|
|
51
|
+
/**
|
|
52
|
+
* The open axes (SPB-8): a size or variant a layer added gets its block on demand, built by the same functions
|
|
53
|
+
* as the core blocks and falling back to the default's tokens; a value the active system lacks is reported in debug builds.
|
|
54
|
+
*/
|
|
55
|
+
export const AXES = [
|
|
56
|
+
{ name: 'size', core: CORE_SIZES, default: DEFAULT_SIZE, rules: (value, selector) => sizeBlock(value, selector, DEFAULT_SIZE), probe: (value) => `${PREFIX}-container-height-${value}` },
|
|
57
|
+
{ name: 'variant', core: CORE_VARIANTS, default: DEFAULT_VARIANT, rules: (value, selector) => variantBlock(value, selector, DEFAULT_VARIANT), probe: (value) => `${PREFIX}-${value}-container-color` },
|
|
58
|
+
];
|
|
59
|
+
/**
|
|
60
|
+
* Everything a state paints except its container color. SPB-26: the outline and the elevation's ring are inset layers,
|
|
61
|
+
* inside the half's own edge, the outline first (over the ring); only the elevation's blurred layers fall outside.
|
|
62
|
+
* They are named (`--_shadow`) before they are drawn: a half leaves them to its `::after`, which is cut at the seam
|
|
63
|
+
* where the halves touch (`--_own-shadow`, src/primitives/group-item.ts), and draws them itself while it has keyboard
|
|
64
|
+
* focus.
|
|
65
|
+
*/
|
|
66
|
+
const paintContent = (suffix) => `
|
|
67
|
+
color: var(--_l${suffix});
|
|
68
|
+
--_shadow: inset 0 0 0 var(--_outline-width) var(--_o${suffix}), var(--_e${suffix});
|
|
69
|
+
box-shadow: var(--_own-shadow, var(--_shadow));`;
|
|
70
|
+
const paint = (suffix) => `
|
|
71
|
+
background: var(--_c${suffix});${paintContent(suffix)}`;
|
|
72
|
+
// A corner where the halves meet, held to half the half's measured height (`--_half-block`, written by the half's
|
|
73
|
+
// GroupItemController): a pill's 9999 px radius beside a small one would otherwise scale every corner of the box down
|
|
74
|
+
// together, and the small ones would vanish.
|
|
75
|
+
const held = (token) => `min(var(${token}), var(--_half-block, var(${token})))`;
|
|
76
|
+
// The pieces every control shares (src/primitives): the state rules and their precedence, the ripple, the focus
|
|
77
|
+
// indicator (ring or glow), the minimum target and its cap toward a neighbour, the joined corners of a
|
|
78
|
+
// connected item (the button group's, whose ring and ripple follow each corner), the carrier of press-hold and the icon
|
|
79
|
+
// glyph, plus the one corner rule (styles/shape.ts). Each takes this component's selectors: both halves are
|
|
80
|
+
// native buttons, and each is its own container.
|
|
81
|
+
const on = (state) => `button${state}`;
|
|
82
|
+
export const styles = css `
|
|
83
|
+
:host {
|
|
84
|
+
display: inline-flex;
|
|
85
|
+
vertical-align: middle;
|
|
86
|
+
max-inline-size: 100%;
|
|
87
|
+
}
|
|
88
|
+
${unsafeCSS(sizeBlock(DEFAULT_SIZE, ':host'))}
|
|
89
|
+
${unsafeCSS(CORE_SIZES.filter((size) => size !== DEFAULT_SIZE).map((size) => sizeBlock(size, `:host([size='${size}'])`)).join('\n'))}
|
|
90
|
+
${unsafeCSS(variantBlock(DEFAULT_VARIANT, ':host'))}
|
|
91
|
+
${unsafeCSS(CORE_VARIANTS.filter((v) => v !== DEFAULT_VARIANT).map((v) => variantBlock(v, `:host([variant='${v}'])`)).join('\n'))}
|
|
92
|
+
|
|
93
|
+
/* SPB-30: the separation it draws — its attribute's, else comp.button-with-menu.container.separation's. */
|
|
94
|
+
${separationHost(`${PREFIX}-container-separation`)}
|
|
95
|
+
|
|
96
|
+
/* SPB-12, SPB-19, SPB-30: the two halves in one row, in the inline direction (the trailing half on the left in
|
|
97
|
+
right-to-left), the trailing half as tall as the leading one; never stacked. This is the divider form (the first
|
|
98
|
+
value of the choice, and so what an unknown name draws): the halves touch. It is no element of its own for assistive
|
|
99
|
+
technology (SPB-17), and it is what the menu is placed against (SPB-15). */
|
|
100
|
+
.row {
|
|
101
|
+
display: flex;
|
|
102
|
+
align-items: stretch;
|
|
103
|
+
gap: 0;
|
|
104
|
+
min-inline-size: 0;
|
|
105
|
+
max-inline-size: 100%;
|
|
106
|
+
}
|
|
107
|
+
/* The menu's host holds nothing in the flow: its surface is in the top layer. */
|
|
108
|
+
tanrei-menu {
|
|
109
|
+
position: absolute;
|
|
110
|
+
}
|
|
111
|
+
|
|
112
|
+
button {
|
|
113
|
+
all: unset;
|
|
114
|
+
box-sizing: border-box;
|
|
115
|
+
position: relative;
|
|
116
|
+
/* Its own stacking context, so the ripple can sit above the container color and below the content. */
|
|
117
|
+
isolation: isolate;
|
|
118
|
+
display: inline-flex;
|
|
119
|
+
align-items: center;
|
|
120
|
+
justify-content: center;
|
|
121
|
+
/* SPB-12: at least the height of its size, padded above and below by at least padding-block. */
|
|
122
|
+
min-block-size: var(--_height);
|
|
123
|
+
${unsafeCSS(cornerRadius(`${PREFIX}-container-shape`))}
|
|
124
|
+
/* SPB-18, SPB-26: the elevation's blurred layers are cast outside the half, its ring inside; nothing on the way to
|
|
125
|
+
the page clips them. */
|
|
126
|
+
${unsafeCSS(paint(''))}
|
|
127
|
+
/* SPB-14: the label's text role, whole. */
|
|
128
|
+
font: var(--_font);
|
|
129
|
+
letter-spacing: var(--_tracking);
|
|
130
|
+
-webkit-user-select: none;
|
|
131
|
+
user-select: none;
|
|
132
|
+
cursor: pointer;
|
|
133
|
+
-webkit-tap-highlight-color: transparent;
|
|
134
|
+
/* SPB-18: colors and elevation over the state motion. */
|
|
135
|
+
transition-property: background-color, color, box-shadow, opacity;
|
|
136
|
+
transition-duration: var(${P}-motion-state-duration);
|
|
137
|
+
transition-timing-function: var(${P}-motion-state-easing);
|
|
138
|
+
/* A button group sets these on its items; a button with menu is none, whatever its ancestors are. */
|
|
139
|
+
${unsafeCSS(groupItemReset)}
|
|
140
|
+
/* SPB-13: under a divider the corners where the halves meet are square, open or not. */
|
|
141
|
+
--_inner: 0px;
|
|
142
|
+
--_inner-open: 0px;
|
|
143
|
+
/* SPB-6: toward the other half, the hit area stops at the seam where they touch. */
|
|
144
|
+
--_half-gap: 0px;
|
|
145
|
+
/* SPB-12, SPB-32: what the joined halves add to a side — the padding at a rounded outer end
|
|
146
|
+
(src/primitives/group-item.ts) — is --_add-*. */
|
|
147
|
+
padding-block: calc(var(--_pad-block) + var(--_add-top)) calc(var(--_pad-block) + var(--_add-bottom));
|
|
148
|
+
}
|
|
149
|
+
/* SPB-12: the trailing half holds the chevron between trailing.padding-inline, or — narrow — between
|
|
150
|
+
trailing.padding-inline-narrow, of its size. SPB-32: a narrow half takes no outer padding at its round end: it is
|
|
151
|
+
the chevron's box and that inset twice and no wider, the chevron at its centre — the width of a narrow icon-only
|
|
152
|
+
Button of its size wherever the two components' tokens agree (BTN-12), as they do in the default system. Under
|
|
153
|
+
either separation, and in right-to-left: the outer padding was the half's only directional part. */
|
|
154
|
+
:host([trailing-width='narrow']) .trailing {
|
|
155
|
+
--_pad-chevron: var(--_pad-trailing-narrow);
|
|
156
|
+
--tanrei-group-outer-end: initial;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
/* SPB-12: the leading half — as wide as its content: the icon, when it has one, then the label, gap apart, padded at
|
|
160
|
+
the start by the with-icon padding when it has an icon, at the end by its own padding. Logical, so RTL mirrors it. */
|
|
161
|
+
/* SPB-26, SPB-31, SPB-32: under a divider the leading half's end edge is the seam — no outline and no ring along it —
|
|
162
|
+
and its start is a rounded outer end, which takes container.outer-inset more padding, at either trailing width. */
|
|
163
|
+
.leading {
|
|
164
|
+
flex: 0 1 auto;
|
|
165
|
+
min-inline-size: 0;
|
|
166
|
+
gap: var(--_gap);
|
|
167
|
+
--_pad-inline-start: var(--_pad-start);
|
|
168
|
+
padding-inline: calc(var(--_pad-inline-start) + var(--_add-start)) calc(var(--_pad-end) + var(--_add-end));
|
|
169
|
+
--tanrei-group-start-radius: initial;
|
|
170
|
+
--tanrei-group-end-radius: var(--_inner);
|
|
171
|
+
--tanrei-group-seam-end: 1;
|
|
172
|
+
--tanrei-group-outer-start: var(${P}-container-outer-inset);
|
|
173
|
+
--_cap-start: initial;
|
|
174
|
+
--_cap-end: var(--_half-gap);
|
|
175
|
+
}
|
|
176
|
+
/* SPB-12: with an icon, the start padding is its own token (a step tighter in the default system, as Button's). */
|
|
177
|
+
.leading.with-icon {
|
|
178
|
+
--_pad-inline-start: var(--_pad-start-icon);
|
|
179
|
+
}
|
|
180
|
+
/* SPB-12, SPB-32: the trailing half — the chevron centred between its padding on each side, then, at the default
|
|
181
|
+
width, container.outer-inset more at its end, the other rounded outer end: the chevron sits half of it nearer the
|
|
182
|
+
seam. (A narrow half takes none: the rule above.) Its start edge is the seam under a divider. */
|
|
183
|
+
.trailing {
|
|
184
|
+
flex: none;
|
|
185
|
+
--_pad-chevron: var(--_pad-trailing);
|
|
186
|
+
padding-inline: calc(var(--_pad-chevron) + var(--_add-start)) calc(var(--_pad-chevron) + var(--_add-end));
|
|
187
|
+
--tanrei-group-start-radius: var(--_inner);
|
|
188
|
+
--tanrei-group-end-radius: initial;
|
|
189
|
+
--tanrei-group-seam-start: 1;
|
|
190
|
+
--tanrei-group-outer-end: var(${P}-container-outer-inset);
|
|
191
|
+
--_cap-start: var(--_half-gap);
|
|
192
|
+
--_cap-end: initial;
|
|
193
|
+
}
|
|
194
|
+
/* SPB-13: while open, the trailing half's inner corners are inner-shape-open — the same corners as closed where the
|
|
195
|
+
token has inner-shape's value, as in the default system: the trailing half then keeps its shape and the chevron
|
|
196
|
+
alone shows that the menu is open. */
|
|
197
|
+
.trailing.open {
|
|
198
|
+
--tanrei-group-start-radius: var(--_inner-open);
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* SPB-31: the divider — one line on the seam, divider.thickness thick in the variant's divider color, centred on the
|
|
202
|
+
seam, over the halves' fills and state layers, from divider.inset below the top of the seam to as far above its
|
|
203
|
+
bottom. It takes no space (an empty box between the halves), no press and no semantics, keeps its resting color
|
|
204
|
+
whatever state a half is in, and takes the disabled color while disabled. */
|
|
205
|
+
.divider {
|
|
206
|
+
position: relative;
|
|
207
|
+
z-index: 1;
|
|
208
|
+
flex: none;
|
|
209
|
+
inline-size: 0;
|
|
210
|
+
pointer-events: none;
|
|
211
|
+
}
|
|
212
|
+
.divider::before {
|
|
213
|
+
content: '';
|
|
214
|
+
position: absolute;
|
|
215
|
+
inset-block: var(${P}-divider-inset);
|
|
216
|
+
inset-inline-start: calc(var(${P}-divider-thickness) / -2);
|
|
217
|
+
inline-size: var(${P}-divider-thickness);
|
|
218
|
+
background: var(--_d);
|
|
219
|
+
transition: background-color var(${P}-motion-state-duration) var(${P}-motion-state-easing);
|
|
220
|
+
}
|
|
221
|
+
:host([disabled]) .divider::before {
|
|
222
|
+
background: var(--_d-d);
|
|
223
|
+
}
|
|
224
|
+
/* SPB-30: the gap form — the halves container.inner-gap apart with nothing drawn between them, container.inner-shape
|
|
225
|
+
where they face each other (inner-shape-open for the open trailing half), each half's outline and ring inside its
|
|
226
|
+
own edge again (SPB-26), and the hit areas meeting at the middle of the gap (SPB-6). */
|
|
227
|
+
${whenGap('.row', (row) => `
|
|
228
|
+
${row} {
|
|
229
|
+
gap: var(${PREFIX}-container-inner-gap);
|
|
230
|
+
}
|
|
231
|
+
${row} .divider {
|
|
232
|
+
display: none;
|
|
233
|
+
}
|
|
234
|
+
${row} button {
|
|
235
|
+
--_inner: ${held(`${PREFIX}-container-inner-shape`)};
|
|
236
|
+
--_inner-open: ${held(`${PREFIX}-container-inner-shape-open`)};
|
|
237
|
+
--_half-gap: calc(var(${PREFIX}-container-inner-gap) / 2);
|
|
238
|
+
}
|
|
239
|
+
${row} .leading {
|
|
240
|
+
--tanrei-group-seam-end: initial;
|
|
241
|
+
}
|
|
242
|
+
${row} .trailing {
|
|
243
|
+
--tanrei-group-seam-start: initial;
|
|
244
|
+
}`)}
|
|
245
|
+
|
|
246
|
+
/* SPB-14: never truncated — one line while it fits, wrapping when the layout gives it less width. */
|
|
247
|
+
.label {
|
|
248
|
+
white-space: normal;
|
|
249
|
+
overflow-wrap: break-word;
|
|
250
|
+
text-align: center;
|
|
251
|
+
}
|
|
252
|
+
/* SPB-29: the label is text of its own direction — its first strong character's — isolated from the icon and the
|
|
253
|
+
trailing half beside it; where it is placed, and that its lines are centred, stays the layout's. */
|
|
254
|
+
${productText('.label')}
|
|
255
|
+
|
|
256
|
+
/* SPB-6: the hit area meets the minimum target on both axes without changing the visual size — outward past the start
|
|
257
|
+
edge for the leading half and past the end edge for the trailing half — and toward the other half no further than
|
|
258
|
+
the middle of the gap between them. */
|
|
259
|
+
${minimumTarget('button')}
|
|
260
|
+
${neighbourTarget('button')}
|
|
261
|
+
/* SPB-6: what a half cannot reach toward the other half it reaches outward, so a narrow trailing half still has its
|
|
262
|
+
whole target without being drawn wider. */
|
|
263
|
+
button::before {
|
|
264
|
+
--_outward: max(0px, calc(var(--_target) - 100% - min(max(0px, calc((var(--_target) - 100%) / 2)), var(--_half-gap))));
|
|
265
|
+
}
|
|
266
|
+
.leading::before {
|
|
267
|
+
inset-inline-start: calc(-1 * var(--_outward));
|
|
268
|
+
}
|
|
269
|
+
.trailing::before {
|
|
270
|
+
inset-inline-end: calc(-1 * var(--_outward));
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
/* SPB-4, SPB-7, SPB-9, SPB-10: each half paints from its own state's tokens; pressed > focused > hovered, disabled over
|
|
274
|
+
all. Pressed is data-pressed="<feedback>" (PressController): overlay paints the pressed tokens on the whole half;
|
|
275
|
+
ripple and dim paint everything else from them while the container color stays with the state under the press
|
|
276
|
+
(ripple adds the pressed color as a layer, dim adds none); none paints nothing. */
|
|
277
|
+
${stateRules(on, {
|
|
278
|
+
hovered: `${paint('-h')}
|
|
279
|
+
opacity: var(${PREFIX}-hovered-opacity);${cornerRadius(`${PREFIX}-hovered-container-shape`)}`,
|
|
280
|
+
focused: `${paint('-f')}
|
|
281
|
+
opacity: var(${PREFIX}-focused-opacity);${cornerRadius(`${PREFIX}-focused-container-shape`)}`,
|
|
282
|
+
pressed: `${paint('-p')}
|
|
283
|
+
opacity: var(${PREFIX}-pressed-opacity);${cornerRadius(`${PREFIX}-pressed-container-shape`)}`,
|
|
284
|
+
pressedContent: `${paintContent('-p')}
|
|
285
|
+
opacity: var(${PREFIX}-pressed-opacity);${cornerRadius(`${PREFIX}-pressed-container-shape`)}`,
|
|
286
|
+
disabled: `
|
|
287
|
+
cursor: default;${paint('-d')}
|
|
288
|
+
opacity: var(${PREFIX}-disabled-opacity);${cornerRadius(`${PREFIX}-disabled-container-shape`)}`,
|
|
289
|
+
})}
|
|
290
|
+
|
|
291
|
+
/* SPB-10 ripple: grows over comp.button-with-menu.motion.feedback-duration and fades over motion.state-duration, both with
|
|
292
|
+
motion.state-easing, inside the outline, clipped to the half's own shape. */
|
|
293
|
+
${rippleStyles({
|
|
294
|
+
color: '--_c-p',
|
|
295
|
+
inset: '--_outline-width',
|
|
296
|
+
grow: `${PREFIX}-motion-feedback-duration`,
|
|
297
|
+
fade: `${PREFIX}-motion-state-duration`,
|
|
298
|
+
easing: `${PREFIX}-motion-state-easing`,
|
|
299
|
+
})}
|
|
300
|
+
|
|
301
|
+
/* SPB-5 and SPB-11 focus-style: the ring (or the glow) around the focused half's own shape, never animated. */
|
|
302
|
+
${focusRing(on)}
|
|
303
|
+
|
|
304
|
+
/* SPB-11, corner smoothing: the shared rule, on each half (data-tanrei-shape) and, by inheritance, its ring. */
|
|
305
|
+
${shape}
|
|
306
|
+
|
|
307
|
+
/* SPB-13: the outer corners are the state's container shape, the corners where the halves meet the inner shape — each
|
|
308
|
+
corner of the fill, the ripple and the ring (or the glow), concentric — through the joined corners of a connected
|
|
309
|
+
item (src/primitives/group-item.ts). They change at once, except when open changes (below). */
|
|
310
|
+
${groupItemStyles({ on: 'button', rippleInset: '--_outline-width' })}
|
|
311
|
+
|
|
312
|
+
/* SPB-13: when open changes, the trailing half's corners move over the open motion (the chevron turns with them), and
|
|
313
|
+
a press does not stop them. Only then: nothing else animates a corner. */
|
|
314
|
+
button.trailing.turning {
|
|
315
|
+
transition-property: background-color, color, box-shadow, opacity, border-radius;
|
|
316
|
+
transition-duration:
|
|
317
|
+
var(${P}-motion-state-duration), var(${P}-motion-state-duration), var(${P}-motion-state-duration),
|
|
318
|
+
var(${P}-motion-state-duration), var(${P}-motion-open-duration);
|
|
319
|
+
transition-timing-function:
|
|
320
|
+
var(${P}-motion-state-easing), var(${P}-motion-state-easing), var(${P}-motion-state-easing),
|
|
321
|
+
var(${P}-motion-state-easing), var(${P}-motion-open-easing);
|
|
322
|
+
}
|
|
323
|
+
button.trailing.turning[data-pressed]:not([data-pressed='none']) {
|
|
324
|
+
transition-duration: 0s, 0s, 0s, 0s, var(${P}-motion-open-duration);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
/* SPB-9: the leading half's label carries press-hold for both halves' PressControllers. */
|
|
328
|
+
${pressHold('.label')}
|
|
329
|
+
|
|
330
|
+
/* SPB-14: the icon and the chevron, each in the label color of its own half's state, drawn with the system's icon set —
|
|
331
|
+
the family and fill of an unselected icon, sys.icon.weight, and the optical size of its box, clamped to
|
|
332
|
+
sys.icon.optical-size — at the size's icon size. */
|
|
333
|
+
${iconGlyph('.icon', { size: '--_icon', selected: '.never-selected', duration: `${PREFIX}-motion-state-duration`, easing: `${PREFIX}-motion-state-easing` })}
|
|
334
|
+
${iconGlyph('.chevron', { size: '--_icon', selected: '.never-selected', duration: `${PREFIX}-motion-state-duration`, easing: `${PREFIX}-motion-state-easing` })}
|
|
335
|
+
.icon {
|
|
336
|
+
display: inline-flex;
|
|
337
|
+
align-items: center;
|
|
338
|
+
justify-content: center;
|
|
339
|
+
}
|
|
340
|
+
.leading:not(.with-icon) .icon {
|
|
341
|
+
display: none;
|
|
342
|
+
}
|
|
343
|
+
/* An image or an SVG given as the icon fills the icon box. */
|
|
344
|
+
::slotted(svg),
|
|
345
|
+
::slotted(img) {
|
|
346
|
+
display: block;
|
|
347
|
+
inline-size: 100%;
|
|
348
|
+
block-size: 100%;
|
|
349
|
+
}
|
|
350
|
+
/* SPB-13, SPB-21, SPB-19: the closed glyph (the chevron slot's, or expand_more) points down, and is turned half a turn
|
|
351
|
+
while open; with a chevron-open glyph the two cross-fade instead, neither turning. Both over the open motion.
|
|
352
|
+
expand_more is never mirrored; a glyph the product put in a chevron slot is mirrored by iconGlyph() in its own
|
|
353
|
+
box (SPB-28), inside the box that turns, so a mirrored chevron turns as an unmirrored one does. */
|
|
354
|
+
.chevrons {
|
|
355
|
+
display: inline-grid;
|
|
356
|
+
flex: none;
|
|
357
|
+
place-items: center;
|
|
358
|
+
}
|
|
359
|
+
.turn,
|
|
360
|
+
.glyph-open {
|
|
361
|
+
grid-area: 1 / 1;
|
|
362
|
+
display: inline-flex;
|
|
363
|
+
}
|
|
364
|
+
.turn {
|
|
365
|
+
transition-property: transform, opacity;
|
|
366
|
+
transition-duration: var(${P}-motion-open-duration);
|
|
367
|
+
transition-timing-function: var(${P}-motion-open-easing);
|
|
368
|
+
}
|
|
369
|
+
.trailing.open:not(.swap) .turn {
|
|
370
|
+
transform: rotate(180deg);
|
|
371
|
+
}
|
|
372
|
+
.glyph-open {
|
|
373
|
+
opacity: 0;
|
|
374
|
+
transition-property: opacity;
|
|
375
|
+
transition-duration: var(${P}-motion-open-duration);
|
|
376
|
+
transition-timing-function: var(${P}-motion-open-easing);
|
|
377
|
+
}
|
|
378
|
+
.trailing:not(.swap) .glyph-open {
|
|
379
|
+
display: none;
|
|
380
|
+
}
|
|
381
|
+
.trailing.swap.open .turn {
|
|
382
|
+
opacity: 0;
|
|
383
|
+
}
|
|
384
|
+
.trailing.swap.open .glyph-open {
|
|
385
|
+
opacity: 1;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
/* SPB-22, SPB-23: the hover delays, read through real properties by script; this element draws nothing. */
|
|
389
|
+
.timing {
|
|
390
|
+
display: none;
|
|
391
|
+
transition-property: none;
|
|
392
|
+
transition-delay: var(${P}-motion-hover-open-delay);
|
|
393
|
+
transition-duration: var(${P}-motion-hover-close-delay);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
@media (prefers-reduced-motion: reduce) {
|
|
397
|
+
button,
|
|
398
|
+
.turn,
|
|
399
|
+
.glyph-open,
|
|
400
|
+
.divider::before {
|
|
401
|
+
transition: none;
|
|
402
|
+
}
|
|
403
|
+
}
|
|
404
|
+
@media (forced-colors: active) {
|
|
405
|
+
.divider::before,
|
|
406
|
+
:host([disabled]) .divider::before {
|
|
407
|
+
background: ButtonText;
|
|
408
|
+
}
|
|
409
|
+
button {
|
|
410
|
+
border: var(--_outline-width) solid ButtonText;
|
|
411
|
+
}
|
|
412
|
+
button:disabled {
|
|
413
|
+
border-color: GrayText;
|
|
414
|
+
color: GrayText;
|
|
415
|
+
}
|
|
416
|
+
}
|
|
417
|
+
`;
|
|
418
|
+
//# sourceMappingURL=button-with-menu.styles.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"button-with-menu.styles.js","sourceRoot":"","sources":["../../../src/components/button-with-menu/button-with-menu.styles.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,SAAS,EAAE,MAAM,KAAK,CAAC;AACrC,OAAO,EAAiB,SAAS,EAAE,cAAc,EAAE,eAAe,EAAE,SAAS,EAAE,aAAa,EAAE,eAAe,EAAE,SAAS,EAAE,YAAY,EAAE,cAAc,EAAE,UAAU,EAAE,OAAO,EAAE,MAAM,2BAA2B,CAAC;AAC/M,OAAO,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAC3D,OAAO,EAAE,YAAY,EAAE,KAAK,EAAE,MAAM,uBAAuB,CAAC;AAE5D,kHAAkH;AAClH,6HAA6H;AAC7H,0HAA0H;AAC1H,6DAA6D;AAC7D,kGAAkG;AAClG,MAAM,CAAC,MAAM,aAAa,GAAG,CAAC,QAAQ,EAAE,OAAO,EAAE,UAAU,EAAE,UAAU,CAAU,CAAC;AAClF,MAAM,CAAC,MAAM,UAAU,GAAG,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAU,CAAC;AAChE,MAAM,eAAe,GAAG,QAAQ,CAAC;AACjC,MAAM,YAAY,GAAG,QAAQ,CAAC;AAC9B;;;GAGG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,CAAC,SAAS,EAAE,QAAQ,CAAU,CAAC;AAC9D,MAAM,MAAM,GAAG,EAAE,EAAE,EAAE,EAAE,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,OAAO,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAW,CAAC;AAChG,wHAAwH;AACxH,4FAA4F;AAC5F,MAAM,KAAK,GAAG,EAAE,CAAC,EAAE,iBAAiB,EAAE,C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