@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,678 @@
|
|
|
1
|
+
/*
|
|
2
|
+
* Link card (specs/link-card.spec.json, LKC-1 to LKC-36): one link drawn as a block —
|
|
3
|
+
* the destination's title, a sentence about it, its picture and the site it is on — from values the card is given and
|
|
4
|
+
* never loads.
|
|
5
|
+
*
|
|
6
|
+
* `<tanrei-link-card>` is an element with no shadow root around the product's own anchor, which stays in the document:
|
|
7
|
+
* it is a link before any script runs, for a crawler and for whatever reads the page as built (LKC-1).
|
|
8
|
+
*
|
|
9
|
+
* <tanrei-link-card variant="filled">
|
|
10
|
+
* <a href="https://example.com/articles/designing-with-tokens">
|
|
11
|
+
* <span data-part="body">
|
|
12
|
+
* <span data-part="title" dir="auto">Designing with tokens</span>
|
|
13
|
+
* <span data-part="description" dir="auto">How a handful of dials becomes a whole system.</span>
|
|
14
|
+
* <span data-part="image-alt">A wall of color swatches</span>
|
|
15
|
+
* <span data-part="site">
|
|
16
|
+
* <img data-part="site-icon" src="/link-pictures/….png" alt="" loading="lazy" decoding="async" referrerpolicy="no-referrer">
|
|
17
|
+
* <span data-part="site-name"><span dir="auto">Example Journal</span></span>
|
|
18
|
+
* <span data-part="address"><bdi data-part="host" dir="ltr">example.com</bdi></span>
|
|
19
|
+
* </span>
|
|
20
|
+
* <span data-part="words">external link</span>
|
|
21
|
+
* </span>
|
|
22
|
+
* <img data-part="media" src="/link-pictures/….png" alt="" width="1200" height="630" loading="lazy" decoding="async" referrerpolicy="no-referrer">
|
|
23
|
+
* </a>
|
|
24
|
+
* </tanrei-link-card>
|
|
25
|
+
*
|
|
26
|
+
* Every part but the title is optional. That markup is what `linkCardToNodes()` (src/links/index.ts) writes where a
|
|
27
|
+
* site is built; for a page built by script the element takes the same values as attributes and writes the parts
|
|
28
|
+
* itself, as text. The anchor says where it opens and what it is, as any anchor does: `target="_blank"` draws the mark
|
|
29
|
+
* open_in_new, `data-external` (written where the page is made, or by the element — LKC-24) the mark arrow_outward.
|
|
30
|
+
*
|
|
31
|
+
* This stylesheet draws everything, before and without script (an element that is not yet defined is still an
|
|
32
|
+
* element), so a page of link cards does not move when the script arrives (LKC-36). The element
|
|
33
|
+
* (src/components/link-card/link-card.ts) adds what a stylesheet cannot and writes it here as attributes:
|
|
34
|
+
*
|
|
35
|
+
* data-pressed (on the anchor) the shared press primitive: overlay, ripple, dim, none, and the hold (LKC-18, LKC-19)
|
|
36
|
+
* data-focus-style (on the anchor) sys.behavior.focus-style, where the browser has no style queries (LKC-20)
|
|
37
|
+
* data-external (on the anchor) "detected", where the page was not marked when it was made (LKC-24)
|
|
38
|
+
* data-undrawn (on the site name) it only repeats the host (LKC-7)
|
|
39
|
+
* aria-labelledby, aria-describedby the name and the description as LKC-25 divides them
|
|
40
|
+
*
|
|
41
|
+
* The marks need icons.css; without it no mark is drawn and none takes room.
|
|
42
|
+
*
|
|
43
|
+
* Every value is a `--tanrei-comp-link-card-*` token, or the system's focus, target, icon and motion tokens.
|
|
44
|
+
*
|
|
45
|
+
* HOW IT IS WRITTEN
|
|
46
|
+
*
|
|
47
|
+
* - Every selector starts at the element's name and has no specificity (`:where()`), so one class of the product's
|
|
48
|
+
* wins, and the ORDER of the rules decides between two of them.
|
|
49
|
+
* - The element is the query container (LKC-12): the picture stands beside the text from the card's OWN inline size.
|
|
50
|
+
* A custom property cannot stand in a `@container` condition, so the width is written as
|
|
51
|
+
* `token(comp.link-card.layout.beside-min-width)` and the build (scripts/build.js, scripts/conditions.js) writes the
|
|
52
|
+
* token's value in its place, in rem — so the boundary grows with the text size (LKC-29).
|
|
53
|
+
* - The anchor is the container (LKC-2): the fill, the corners, the states. Nothing clips it — the focus ring stands
|
|
54
|
+
* outside it — so the picture takes the corners where it meets them, and every text part clips itself.
|
|
55
|
+
* - The edge is the anchor's `::before`, inside its size and above the picture (LKC-2); the focus ring's inner stroke
|
|
56
|
+
* its `::after` (LKC-17); the hit area the body's `::before` (LKC-21). The mark is the address's `::after`: in the
|
|
57
|
+
* line, after the host's last character (LKC-7, LKC-23, LKC-24).
|
|
58
|
+
* - The state rules, the focus indicator and the minimum target say what `stateRules()`, `focusRing()` and
|
|
59
|
+
* `minimumTarget()` (src/primitives) say for a shadow root; they are restated here for an anchor in the document, as
|
|
60
|
+
* the Link's are.
|
|
61
|
+
* - What one element finds out for another passes as an inherited value, never as a `:has()` asked for the other's
|
|
62
|
+
* sake (has.test.ts): the look's colors are named on the element, the state's on the anchor, and each part reads
|
|
63
|
+
* them; `--_lc-dot` is whether a host follows the site's name.
|
|
64
|
+
* - The build writes the corner-smoothing rule (src/styles/shape.ts) in place of the `link-card:shape` mark.
|
|
65
|
+
* - Names that begin `--_lc-` are private.
|
|
66
|
+
*/
|
|
67
|
+
@layer tanrei.components {
|
|
68
|
+
/* ── The box (LKC-2): a block as wide as its container gives it, with no outer space and no height of its own ──── */
|
|
69
|
+
:where(tanrei-link-card) {
|
|
70
|
+
/* The look's colors, at rest and in each state (LKC-2, LKC-16). A variant no rule names is the default (LKC-27). */
|
|
71
|
+
--_lc-container: var(--tanrei-comp-link-card-outlined-container-color);
|
|
72
|
+
--_lc-outline: var(--tanrei-comp-link-card-outlined-outline-color);
|
|
73
|
+
--_lc-title: var(--tanrei-comp-link-card-outlined-title-color);
|
|
74
|
+
--_lc-description: var(--tanrei-comp-link-card-outlined-description-color);
|
|
75
|
+
--_lc-site: var(--tanrei-comp-link-card-outlined-site-color);
|
|
76
|
+
--_lc-hovered-container: var(--tanrei-comp-link-card-outlined-hovered-container-color);
|
|
77
|
+
--_lc-hovered-outline: var(--tanrei-comp-link-card-outlined-hovered-outline-color);
|
|
78
|
+
--_lc-hovered-title: var(--tanrei-comp-link-card-outlined-hovered-title-color);
|
|
79
|
+
--_lc-hovered-description: var(--tanrei-comp-link-card-outlined-hovered-description-color);
|
|
80
|
+
--_lc-hovered-site: var(--tanrei-comp-link-card-outlined-hovered-site-color);
|
|
81
|
+
--_lc-focused-container: var(--tanrei-comp-link-card-outlined-focused-container-color);
|
|
82
|
+
--_lc-focused-outline: var(--tanrei-comp-link-card-outlined-focused-outline-color);
|
|
83
|
+
--_lc-focused-title: var(--tanrei-comp-link-card-outlined-focused-title-color);
|
|
84
|
+
--_lc-focused-description: var(--tanrei-comp-link-card-outlined-focused-description-color);
|
|
85
|
+
--_lc-focused-site: var(--tanrei-comp-link-card-outlined-focused-site-color);
|
|
86
|
+
--_lc-pressed-container: var(--tanrei-comp-link-card-outlined-pressed-container-color);
|
|
87
|
+
--_lc-pressed-outline: var(--tanrei-comp-link-card-outlined-pressed-outline-color);
|
|
88
|
+
--_lc-pressed-title: var(--tanrei-comp-link-card-outlined-pressed-title-color);
|
|
89
|
+
--_lc-pressed-description: var(--tanrei-comp-link-card-outlined-pressed-description-color);
|
|
90
|
+
--_lc-pressed-site: var(--tanrei-comp-link-card-outlined-pressed-site-color);
|
|
91
|
+
/* The picture box's fill, shown until the picture arrives (LKC-11); none in forced colors (LKC-30). */
|
|
92
|
+
--_lc-media-fill: var(--tanrei-comp-link-card-media-container-color);
|
|
93
|
+
/* LKC-3, LKC-32, LKC-33: start as a side, by the layout direction — not by the title's or the description's own text. */
|
|
94
|
+
--_lc-start: left;
|
|
95
|
+
--_lc-end: right;
|
|
96
|
+
/* LKC-23, LKC-32: a mark is mirrored in a right-to-left layout, inside its own box. */
|
|
97
|
+
--_lc-mirror: 1;
|
|
98
|
+
/* The room a mark takes: the size of the site line's text and the gap — none where icons.css is not loaded. */
|
|
99
|
+
--_lc-mark: calc(1em * var(--tanrei-icons, 0));
|
|
100
|
+
--_lc-mark-gap: calc(var(--tanrei-comp-link-card-site-item-gap) * var(--tanrei-icons, 0));
|
|
101
|
+
|
|
102
|
+
/* No margin is written: an element has none of its own, and the space around a card is its container's (PRS-15). */
|
|
103
|
+
display: block;
|
|
104
|
+
box-sizing: border-box;
|
|
105
|
+
min-inline-size: 0;
|
|
106
|
+
max-inline-size: 100%;
|
|
107
|
+
/* LKC-12: the layout is chosen from the card's own inline size. */
|
|
108
|
+
container-type: inline-size;
|
|
109
|
+
/* What a card's text must not take from where it is used. */
|
|
110
|
+
text-indent: 0;
|
|
111
|
+
}
|
|
112
|
+
:where(tanrei-link-card[hidden]) {
|
|
113
|
+
display: none;
|
|
114
|
+
}
|
|
115
|
+
:where(tanrei-link-card):dir(rtl) {
|
|
116
|
+
--_lc-start: right;
|
|
117
|
+
--_lc-end: left;
|
|
118
|
+
--_lc-mirror: -1;
|
|
119
|
+
}
|
|
120
|
+
:where(tanrei-link-card[variant='filled']) {
|
|
121
|
+
--_lc-container: var(--tanrei-comp-link-card-filled-container-color);
|
|
122
|
+
--_lc-outline: var(--tanrei-comp-link-card-filled-outline-color);
|
|
123
|
+
--_lc-title: var(--tanrei-comp-link-card-filled-title-color);
|
|
124
|
+
--_lc-description: var(--tanrei-comp-link-card-filled-description-color);
|
|
125
|
+
--_lc-site: var(--tanrei-comp-link-card-filled-site-color);
|
|
126
|
+
--_lc-hovered-container: var(--tanrei-comp-link-card-filled-hovered-container-color);
|
|
127
|
+
--_lc-hovered-outline: var(--tanrei-comp-link-card-filled-hovered-outline-color);
|
|
128
|
+
--_lc-hovered-title: var(--tanrei-comp-link-card-filled-hovered-title-color);
|
|
129
|
+
--_lc-hovered-description: var(--tanrei-comp-link-card-filled-hovered-description-color);
|
|
130
|
+
--_lc-hovered-site: var(--tanrei-comp-link-card-filled-hovered-site-color);
|
|
131
|
+
--_lc-focused-container: var(--tanrei-comp-link-card-filled-focused-container-color);
|
|
132
|
+
--_lc-focused-outline: var(--tanrei-comp-link-card-filled-focused-outline-color);
|
|
133
|
+
--_lc-focused-title: var(--tanrei-comp-link-card-filled-focused-title-color);
|
|
134
|
+
--_lc-focused-description: var(--tanrei-comp-link-card-filled-focused-description-color);
|
|
135
|
+
--_lc-focused-site: var(--tanrei-comp-link-card-filled-focused-site-color);
|
|
136
|
+
--_lc-pressed-container: var(--tanrei-comp-link-card-filled-pressed-container-color);
|
|
137
|
+
--_lc-pressed-outline: var(--tanrei-comp-link-card-filled-pressed-outline-color);
|
|
138
|
+
--_lc-pressed-title: var(--tanrei-comp-link-card-filled-pressed-title-color);
|
|
139
|
+
--_lc-pressed-description: var(--tanrei-comp-link-card-filled-pressed-description-color);
|
|
140
|
+
--_lc-pressed-site: var(--tanrei-comp-link-card-filled-pressed-site-color);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
/* ── The container (LKC-1, LKC-2): the anchor — the link, pressed as a whole ─────────────────────────────────── */
|
|
144
|
+
/* LKC-20: the corners, eased by sys.shape.corner-smoothing. */
|
|
145
|
+
:where(tanrei-link-card) > :where(a) {
|
|
146
|
+
--tanrei-corner-pill: 0;
|
|
147
|
+
}
|
|
148
|
+
:where(tanrei-link-card) > :where(a) {
|
|
149
|
+
--_corner-scale: 1;
|
|
150
|
+
border-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale));
|
|
151
|
+
}
|
|
152
|
+
@supports (corner-shape: superellipse(log(2, 2))) {
|
|
153
|
+
:where(tanrei-link-card) > :where(a) {
|
|
154
|
+
--_corner-smoothing: calc(var(--tanrei-sys-shape-corner-smoothing, 0) * (1 - var(--tanrei-corner-pill, 0)));
|
|
155
|
+
--_corner-scale: calc(1 + 0.4 * var(--_corner-smoothing));
|
|
156
|
+
corner-shape: superellipse(log(calc(2 + var(--_corner-smoothing)), 2));
|
|
157
|
+
}
|
|
158
|
+
}
|
|
159
|
+
:where(tanrei-link-card) > :where(a) {
|
|
160
|
+
--tanrei-corner-radius: var(--tanrei-comp-link-card-container-shape);
|
|
161
|
+
--tanrei-corner-pill: var(--tanrei-comp-link-card-container-shape-pill, 0);
|
|
162
|
+
/* The state the card is in now: each part reads these (LKC-16). */
|
|
163
|
+
--_lc-now-container: var(--_lc-container);
|
|
164
|
+
--_lc-now-outline: var(--_lc-outline);
|
|
165
|
+
--_lc-now-title: var(--_lc-title);
|
|
166
|
+
--_lc-now-description: var(--_lc-description);
|
|
167
|
+
--_lc-now-site: var(--_lc-site);
|
|
168
|
+
--_lc-target: var(--tanrei-sys-target-pointer);
|
|
169
|
+
/* LKC-12, narrow: the picture above the text (it is written after the body, so that the text is read first). */
|
|
170
|
+
display: flex;
|
|
171
|
+
flex-direction: column;
|
|
172
|
+
position: relative;
|
|
173
|
+
isolation: isolate;
|
|
174
|
+
box-sizing: border-box;
|
|
175
|
+
min-inline-size: 0;
|
|
176
|
+
margin: 0;
|
|
177
|
+
padding: 0;
|
|
178
|
+
/* LKC-2: the fill of the look and state; no elevation. */
|
|
179
|
+
background-color: var(--_lc-now-container);
|
|
180
|
+
box-shadow: none;
|
|
181
|
+
color: var(--_lc-now-title);
|
|
182
|
+
/* LKC-4: no underline under the title, or under anything else. */
|
|
183
|
+
text-decoration: none;
|
|
184
|
+
-webkit-tap-highlight-color: transparent;
|
|
185
|
+
/* LKC-28. */
|
|
186
|
+
transition:
|
|
187
|
+
background-color var(--tanrei-comp-link-card-motion-state-duration) var(--tanrei-comp-link-card-motion-state-easing),
|
|
188
|
+
opacity var(--tanrei-comp-link-card-motion-state-duration) var(--tanrei-comp-link-card-motion-state-easing);
|
|
189
|
+
}
|
|
190
|
+
@media (pointer: coarse) {
|
|
191
|
+
:where(tanrei-link-card) > :where(a) {
|
|
192
|
+
--_lc-target: var(--tanrei-sys-target-touch);
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
/* LKC-2: the edge — inside the container's size, above the picture. */
|
|
196
|
+
:where(tanrei-link-card) > :where(a)::before {
|
|
197
|
+
content: '';
|
|
198
|
+
position: absolute;
|
|
199
|
+
z-index: 1;
|
|
200
|
+
inset: 0;
|
|
201
|
+
box-sizing: border-box;
|
|
202
|
+
border: var(--tanrei-comp-link-card-outline-width) solid var(--_lc-now-outline);
|
|
203
|
+
border-radius: inherit;
|
|
204
|
+
corner-shape: inherit;
|
|
205
|
+
pointer-events: none;
|
|
206
|
+
transition: border-color var(--tanrei-comp-link-card-motion-state-duration) var(--tanrei-comp-link-card-motion-state-easing);
|
|
207
|
+
}
|
|
208
|
+
|
|
209
|
+
/* ── The body (LKC-3): the text, padded on every side, at the start edge ─────────────────────────────────────── */
|
|
210
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) {
|
|
211
|
+
display: flex;
|
|
212
|
+
flex: 1 1 auto;
|
|
213
|
+
flex-direction: column;
|
|
214
|
+
box-sizing: border-box;
|
|
215
|
+
min-inline-size: 0;
|
|
216
|
+
margin: 0;
|
|
217
|
+
padding: var(--tanrei-comp-link-card-container-padding);
|
|
218
|
+
text-align: var(--_lc-start);
|
|
219
|
+
/* Where the element reads sys.motion.duration.press-hold as a time (LKC-18): nothing here transitions. */
|
|
220
|
+
transition-property: none;
|
|
221
|
+
transition-delay: var(--tanrei-sys-motion-duration-press-hold);
|
|
222
|
+
}
|
|
223
|
+
/* LKC-21: the hit area reaches the minimum target on both axes around the card, and takes no room. */
|
|
224
|
+
:where(tanrei-link-card) > :where(a:any-link) > :where([data-part='body'])::before {
|
|
225
|
+
content: '';
|
|
226
|
+
position: absolute;
|
|
227
|
+
inset-block: min(0px, calc((100% - var(--_lc-target)) / 2));
|
|
228
|
+
inset-inline: min(0px, calc((100% - var(--_lc-target)) / 2));
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
/* ── The title and the description (LKC-4 to LKC-6): a few lines at most, cut where their own direction ends ──── */
|
|
232
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='title'], [data-part='description']) {
|
|
233
|
+
display: -webkit-box;
|
|
234
|
+
-webkit-box-orient: vertical;
|
|
235
|
+
box-sizing: border-box;
|
|
236
|
+
overflow: hidden;
|
|
237
|
+
min-inline-size: 0;
|
|
238
|
+
margin: 0;
|
|
239
|
+
padding: 0;
|
|
240
|
+
/* LKC-33: placed and aligned by the layout direction; the text itself is of its own direction (`dir="auto"`). */
|
|
241
|
+
text-align: var(--_lc-start);
|
|
242
|
+
white-space: normal;
|
|
243
|
+
/* A run with no place to break that is longer than the line breaks inside itself. */
|
|
244
|
+
overflow-wrap: anywhere;
|
|
245
|
+
transition: color var(--tanrei-comp-link-card-motion-state-duration) var(--tanrei-comp-link-card-motion-state-easing);
|
|
246
|
+
}
|
|
247
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='title']) {
|
|
248
|
+
-webkit-line-clamp: var(--tanrei-comp-link-card-title-max-lines);
|
|
249
|
+
line-clamp: var(--tanrei-comp-link-card-title-max-lines);
|
|
250
|
+
font: var(--tanrei-comp-link-card-title-typescale-font);
|
|
251
|
+
letter-spacing: var(--tanrei-comp-link-card-title-typescale-letter-spacing);
|
|
252
|
+
color: var(--_lc-now-title);
|
|
253
|
+
}
|
|
254
|
+
/* LKC-5: the address in the title's place — one left-to-right run that may break anywhere. */
|
|
255
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='title'][data-address]) {
|
|
256
|
+
word-break: break-all;
|
|
257
|
+
}
|
|
258
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='description']) {
|
|
259
|
+
-webkit-line-clamp: var(--tanrei-comp-link-card-description-max-lines);
|
|
260
|
+
line-clamp: var(--tanrei-comp-link-card-description-max-lines);
|
|
261
|
+
margin-block-start: var(--tanrei-comp-link-card-title-gap);
|
|
262
|
+
font: var(--tanrei-comp-link-card-description-typescale-font);
|
|
263
|
+
letter-spacing: var(--tanrei-comp-link-card-description-typescale-letter-spacing);
|
|
264
|
+
color: var(--_lc-now-description);
|
|
265
|
+
}
|
|
266
|
+
/* A part that is not drawn takes no room and leaves no gap (LKC-3, LKC-6). */
|
|
267
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='description']:empty, [data-part='site']:empty) {
|
|
268
|
+
display: none;
|
|
269
|
+
}
|
|
270
|
+
/* LKC-25: what the picture shows, and the words of a new context or of another site — read, never drawn. */
|
|
271
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='image-alt'], [data-part='words']) {
|
|
272
|
+
position: absolute;
|
|
273
|
+
overflow: hidden;
|
|
274
|
+
inline-size: var(--tanrei-sys-border-hairline);
|
|
275
|
+
block-size: var(--tanrei-sys-border-hairline);
|
|
276
|
+
clip-path: inset(50%);
|
|
277
|
+
white-space: nowrap;
|
|
278
|
+
-webkit-user-select: none;
|
|
279
|
+
user-select: none;
|
|
280
|
+
pointer-events: none;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
/* ── The site line (LKC-7): the icon, the site's name, the host and the mark, in reading order ─────────────────── */
|
|
284
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) {
|
|
285
|
+
display: flex;
|
|
286
|
+
align-items: flex-start;
|
|
287
|
+
box-sizing: border-box;
|
|
288
|
+
min-inline-size: 0;
|
|
289
|
+
margin: 0;
|
|
290
|
+
margin-block-start: var(--tanrei-comp-link-card-site-gap);
|
|
291
|
+
padding: 0;
|
|
292
|
+
font: var(--tanrei-comp-link-card-site-typescale-font);
|
|
293
|
+
letter-spacing: var(--tanrei-comp-link-card-site-typescale-letter-spacing);
|
|
294
|
+
color: var(--_lc-now-site);
|
|
295
|
+
text-align: var(--_lc-start);
|
|
296
|
+
transition: color var(--tanrei-comp-link-card-motion-state-duration) var(--tanrei-comp-link-card-motion-state-easing);
|
|
297
|
+
}
|
|
298
|
+
/* LKC-10: the site's icon — a square box at the start of the line, the whole picture inside it, centred on the
|
|
299
|
+
height of the line's first row. A picture in every state and direction: nothing recolors or mirrors it. */
|
|
300
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where(img[data-part='site-icon']) {
|
|
301
|
+
display: block;
|
|
302
|
+
flex: none;
|
|
303
|
+
box-sizing: border-box;
|
|
304
|
+
inline-size: var(--tanrei-comp-link-card-site-icon-size);
|
|
305
|
+
block-size: var(--tanrei-comp-link-card-site-icon-size);
|
|
306
|
+
max-inline-size: none;
|
|
307
|
+
margin-block: calc((1lh - var(--tanrei-comp-link-card-site-icon-size)) / 2);
|
|
308
|
+
margin-inline: 0 var(--tanrei-comp-link-card-site-item-gap);
|
|
309
|
+
border-radius: calc(var(--tanrei-comp-link-card-site-icon-shape) * var(--_corner-scale, 1));
|
|
310
|
+
corner-shape: inherit;
|
|
311
|
+
object-fit: contain;
|
|
312
|
+
-webkit-user-select: none;
|
|
313
|
+
user-select: none;
|
|
314
|
+
}
|
|
315
|
+
/* The site's name: one line, cut at its own end, and the first to give way. It is a row that wraps inside one line's
|
|
316
|
+
height: while even its first character and an ellipsis do not fit, its text is on a second row, which is not
|
|
317
|
+
drawn — and the dot with it. */
|
|
318
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']) {
|
|
319
|
+
/* Whether a host follows: then a middle dot stands between the two, and its room is kept after the name. */
|
|
320
|
+
--_lc-dot: 0;
|
|
321
|
+
--_lc-dot-room: calc(var(--tanrei-comp-link-card-site-item-gap) + (var(--tanrei-comp-link-card-site-item-gap) + 1ch) * var(--_lc-dot));
|
|
322
|
+
display: flex;
|
|
323
|
+
flex: 0 99999 auto;
|
|
324
|
+
flex-wrap: wrap;
|
|
325
|
+
box-sizing: border-box;
|
|
326
|
+
overflow: hidden;
|
|
327
|
+
min-inline-size: 0;
|
|
328
|
+
block-size: 1lh;
|
|
329
|
+
margin: 0;
|
|
330
|
+
padding: 0;
|
|
331
|
+
}
|
|
332
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']:has(+ [data-part='address'] > [data-part='host'])) {
|
|
333
|
+
--_lc-dot: 1;
|
|
334
|
+
}
|
|
335
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']:empty, [data-part='site-name'][data-undrawn]) {
|
|
336
|
+
display: none;
|
|
337
|
+
}
|
|
338
|
+
/* The row's first item: nothing, as tall as the line — what the text wraps away from. */
|
|
339
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name'])::before {
|
|
340
|
+
content: '';
|
|
341
|
+
flex: none;
|
|
342
|
+
inline-size: 0;
|
|
343
|
+
block-size: 100%;
|
|
344
|
+
}
|
|
345
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']) > :where(span) {
|
|
346
|
+
display: block;
|
|
347
|
+
position: relative;
|
|
348
|
+
flex: 1 1 0%;
|
|
349
|
+
box-sizing: border-box;
|
|
350
|
+
overflow: hidden;
|
|
351
|
+
/* Its first character and an ellipsis, and the room after it. */
|
|
352
|
+
min-inline-size: calc(2em + var(--_lc-dot-room));
|
|
353
|
+
padding-block: 0;
|
|
354
|
+
padding-inline: 0;
|
|
355
|
+
white-space: nowrap;
|
|
356
|
+
text-overflow: ellipsis;
|
|
357
|
+
}
|
|
358
|
+
/* The room after the name is on the layout's end side, whatever the name's own direction. */
|
|
359
|
+
:where(tanrei-link-card):not(:dir(rtl)) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']) > :where(span) {
|
|
360
|
+
padding-right: var(--_lc-dot-room);
|
|
361
|
+
}
|
|
362
|
+
:where(tanrei-link-card):dir(rtl) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']) > :where(span) {
|
|
363
|
+
padding-left: var(--_lc-dot-room);
|
|
364
|
+
}
|
|
365
|
+
/* The middle dot between the name and the host, kept from assistive technology. */
|
|
366
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']) > :where(span)::after {
|
|
367
|
+
content: '\00B7';
|
|
368
|
+
content: '\00B7' / '';
|
|
369
|
+
position: absolute;
|
|
370
|
+
inset-block-start: 0;
|
|
371
|
+
inline-size: 1ch;
|
|
372
|
+
text-align: center;
|
|
373
|
+
opacity: var(--_lc-dot);
|
|
374
|
+
}
|
|
375
|
+
:where(tanrei-link-card):not(:dir(rtl)) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']) > :where(span)::after {
|
|
376
|
+
right: var(--tanrei-comp-link-card-site-item-gap);
|
|
377
|
+
}
|
|
378
|
+
:where(tanrei-link-card):dir(rtl) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='site-name']) > :where(span)::after {
|
|
379
|
+
left: var(--tanrei-comp-link-card-site-item-gap);
|
|
380
|
+
}
|
|
381
|
+
/* The address: the host — never cut, shortened or ended with an ellipsis; longer than the line it runs onto further
|
|
382
|
+
lines, breaking after a dot and, where one label is longer than the line, inside it — and after its last
|
|
383
|
+
character the mark. Lines are placed by the layout direction; the host itself is a left-to-right run (LKC-9). */
|
|
384
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='address']) {
|
|
385
|
+
display: block;
|
|
386
|
+
flex: 0 1 auto;
|
|
387
|
+
box-sizing: border-box;
|
|
388
|
+
min-inline-size: 0;
|
|
389
|
+
margin: 0;
|
|
390
|
+
padding: 0;
|
|
391
|
+
text-align: var(--_lc-start);
|
|
392
|
+
white-space: normal;
|
|
393
|
+
overflow-wrap: anywhere;
|
|
394
|
+
}
|
|
395
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='address']) > :where([data-part='host']) {
|
|
396
|
+
direction: ltr;
|
|
397
|
+
unicode-bidi: isolate;
|
|
398
|
+
}
|
|
399
|
+
/* A line may end after each label's dot: a place to break that is no character of the host — it is not copied and
|
|
400
|
+
not read. (A `wbr` would be read as a space between the labels.) */
|
|
401
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='address']) > :where([data-part='host']) > :where(span:not(:last-child))::after {
|
|
402
|
+
content: '\200B';
|
|
403
|
+
content: '\200B' / '';
|
|
404
|
+
}
|
|
405
|
+
/* The mark (LKC-23, LKC-24): ONE glyph at the end of the site line, in a box as large as the
|
|
406
|
+
line's font size, in the site color — arrow_outward for a destination that leaves the site and opens where the
|
|
407
|
+
person is, open_in_new for one that opens a new context, external or not. One pseudo-element, so the two are
|
|
408
|
+
never both drawn. Decorative: the words say it (LKC-25). (The glyph's declarations are icons.css's.) */
|
|
409
|
+
:where(tanrei-link-card) > :where(a:any-link:is([target='_blank' i], [data-external]:not([data-external='false']))) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='address'])::after {
|
|
410
|
+
content: 'arrow_outward';
|
|
411
|
+
content: 'arrow_outward' / '';
|
|
412
|
+
display: inline-block;
|
|
413
|
+
overflow: hidden;
|
|
414
|
+
inline-size: var(--_lc-mark);
|
|
415
|
+
block-size: 1em;
|
|
416
|
+
vertical-align: middle;
|
|
417
|
+
font-family: var(--tanrei-sys-icon-family-unselected);
|
|
418
|
+
font-size: 1em;
|
|
419
|
+
font-style: normal;
|
|
420
|
+
font-weight: normal;
|
|
421
|
+
line-height: 1;
|
|
422
|
+
letter-spacing: normal;
|
|
423
|
+
text-transform: none;
|
|
424
|
+
white-space: nowrap;
|
|
425
|
+
word-wrap: normal;
|
|
426
|
+
direction: ltr;
|
|
427
|
+
-webkit-user-select: none;
|
|
428
|
+
user-select: none;
|
|
429
|
+
pointer-events: none;
|
|
430
|
+
font-feature-settings: 'liga';
|
|
431
|
+
-webkit-font-smoothing: antialiased;
|
|
432
|
+
font-optical-sizing: auto;
|
|
433
|
+
font-variation-settings:
|
|
434
|
+
'FILL' var(--tanrei-sys-icon-fill-unselected),
|
|
435
|
+
'wght' var(--tanrei-sys-icon-weight),
|
|
436
|
+
'GRAD' 0;
|
|
437
|
+
opacity: var(--tanrei-icons, 0);
|
|
438
|
+
/* LKC-32: mirrored inside its own box in a right-to-left layout, as the icon set says of both names. */
|
|
439
|
+
transform: scaleX(var(--_lc-mirror));
|
|
440
|
+
}
|
|
441
|
+
/* The optical size is the box's, written by hand where the engine can turn the box's size into a number: the
|
|
442
|
+
arithmetic and the condition are src/styles/icons.ts's, written in place by the build (writeGlyphAxes). */
|
|
443
|
+
@supports (font-variation-settings: 'opsz' tan(atan2(1em, 1px))) {
|
|
444
|
+
:where(tanrei-link-card) > :where(a:any-link:is([target='_blank' i], [data-external]:not([data-external='false']))) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='address'])::after {
|
|
445
|
+
font-variation-settings: 'FILL' var(--tanrei-sys-icon-fill-unselected), 'wght' var(--tanrei-sys-icon-weight), 'GRAD' 0, 'opsz' clamp(var(--tanrei-sys-icon-optical-size-min), tan(atan2(1em, 1px)), var(--tanrei-sys-icon-optical-size-max));
|
|
446
|
+
}
|
|
447
|
+
}
|
|
448
|
+
/* The gap before the mark, where something stands before it on the line. */
|
|
449
|
+
:where(tanrei-link-card) > :where(a:any-link:is([target='_blank' i], [data-external]:not([data-external='false']))) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='address']:not(:empty))::after {
|
|
450
|
+
margin-inline-start: var(--_lc-mark-gap);
|
|
451
|
+
}
|
|
452
|
+
:where(tanrei-link-card) > :where(a:any-link[target='_blank' i]) > :where([data-part='body']) > :where([data-part='site']) > :where([data-part='address'])::after {
|
|
453
|
+
content: 'open_in_new';
|
|
454
|
+
content: 'open_in_new' / '';
|
|
455
|
+
}
|
|
456
|
+
|
|
457
|
+
/* ── The picture (LKC-11 to LKC-13): a box the picture covers, cropped at its centre ─────────────────────────── */
|
|
458
|
+
/* Narrow: above the text, across the card, as tall as its width divided by comp.link-card.media.aspect-ratio. The
|
|
459
|
+
box has its final size before the picture arrives, and its fill until then. */
|
|
460
|
+
:where(tanrei-link-card) > :where(a) > :where(img[data-part='media']) {
|
|
461
|
+
display: block;
|
|
462
|
+
order: -1;
|
|
463
|
+
flex: none;
|
|
464
|
+
box-sizing: border-box;
|
|
465
|
+
inline-size: 100%;
|
|
466
|
+
max-inline-size: none;
|
|
467
|
+
block-size: auto;
|
|
468
|
+
aspect-ratio: var(--tanrei-comp-link-card-media-aspect-ratio);
|
|
469
|
+
margin: 0;
|
|
470
|
+
padding: 0;
|
|
471
|
+
border: 0;
|
|
472
|
+
background-color: var(--_lc-media-fill);
|
|
473
|
+
object-fit: cover;
|
|
474
|
+
object-position: center;
|
|
475
|
+
/* Clipped by the card's corners where the box meets them. */
|
|
476
|
+
border-start-start-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1));
|
|
477
|
+
border-start-end-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1));
|
|
478
|
+
corner-shape: inherit;
|
|
479
|
+
-webkit-user-select: none;
|
|
480
|
+
user-select: none;
|
|
481
|
+
}
|
|
482
|
+
/* LKC-12, wide: beside the body at the card's end edge, comp.link-card.media.width wide and as tall as the card,
|
|
483
|
+
whose height is the body's — the picture is out of the flow and the anchor keeps its room. */
|
|
484
|
+
@container (inline-size >= 30rem) {
|
|
485
|
+
:where(tanrei-link-card) > :where(a:has(> img[data-part='media'])) {
|
|
486
|
+
padding-inline-end: var(--tanrei-comp-link-card-media-width);
|
|
487
|
+
}
|
|
488
|
+
:where(tanrei-link-card) > :where(a) > :where(img[data-part='media']) {
|
|
489
|
+
position: absolute;
|
|
490
|
+
inset-block: 0;
|
|
491
|
+
inset-inline-end: 0;
|
|
492
|
+
inline-size: var(--tanrei-comp-link-card-media-width);
|
|
493
|
+
block-size: 100%;
|
|
494
|
+
aspect-ratio: auto;
|
|
495
|
+
border-start-start-radius: 0;
|
|
496
|
+
border-end-end-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1));
|
|
497
|
+
}
|
|
498
|
+
}
|
|
499
|
+
|
|
500
|
+
/* ── States (LKC-16): pressed over focused over hovered, each from its own tokens ────────────────────────────── */
|
|
501
|
+
@media (hover: hover) {
|
|
502
|
+
:where(tanrei-link-card) > :where(a:any-link:hover) {
|
|
503
|
+
--_lc-now-container: var(--_lc-hovered-container);
|
|
504
|
+
--_lc-now-outline: var(--_lc-hovered-outline);
|
|
505
|
+
--_lc-now-title: var(--_lc-hovered-title);
|
|
506
|
+
--_lc-now-description: var(--_lc-hovered-description);
|
|
507
|
+
--_lc-now-site: var(--_lc-hovered-site);
|
|
508
|
+
opacity: var(--tanrei-comp-link-card-hovered-opacity);
|
|
509
|
+
}
|
|
510
|
+
}
|
|
511
|
+
/* LKC-17: the focus indicator, around the whole card and outside it; never animated, never for a pointer. */
|
|
512
|
+
:where(tanrei-link-card) > :where(a:any-link:focus-visible) {
|
|
513
|
+
--_lc-now-container: var(--_lc-focused-container);
|
|
514
|
+
--_lc-now-outline: var(--_lc-focused-outline);
|
|
515
|
+
--_lc-now-title: var(--_lc-focused-title);
|
|
516
|
+
--_lc-now-description: var(--_lc-focused-description);
|
|
517
|
+
--_lc-now-site: var(--_lc-focused-site);
|
|
518
|
+
--_lc-focus-inner-edge: calc(var(--tanrei-sys-focus-offset) + var(--tanrei-sys-focus-inner-width));
|
|
519
|
+
opacity: var(--tanrei-comp-link-card-focused-opacity);
|
|
520
|
+
outline: var(--tanrei-sys-focus-outer-width) solid var(--tanrei-sys-color-focus-ring);
|
|
521
|
+
outline-offset: var(--_lc-focus-inner-edge);
|
|
522
|
+
}
|
|
523
|
+
:where(tanrei-link-card) > :where(a:any-link:focus-visible)::after {
|
|
524
|
+
content: '';
|
|
525
|
+
position: absolute;
|
|
526
|
+
inset: calc(var(--_lc-focus-inner-edge) * -1);
|
|
527
|
+
border: var(--tanrei-sys-focus-inner-width) solid var(--tanrei-sys-color-focus-ring-inner);
|
|
528
|
+
border-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1) + var(--_lc-focus-inner-edge));
|
|
529
|
+
corner-shape: inherit;
|
|
530
|
+
pointer-events: none;
|
|
531
|
+
}
|
|
532
|
+
/* LKC-20, focus-style: glow — the same two colors as a halo; read by a style query, and from data-focus-style
|
|
533
|
+
(written by the element when focus arrives) where there are none. */
|
|
534
|
+
@container style(--tanrei-sys-behavior-focus-style: glow) {
|
|
535
|
+
:where(tanrei-link-card) > :where(a:any-link:focus-visible) {
|
|
536
|
+
outline-color: transparent;
|
|
537
|
+
}
|
|
538
|
+
:where(tanrei-link-card) > :where(a:any-link:focus-visible)::after {
|
|
539
|
+
inset: calc(var(--tanrei-sys-focus-offset) * -1);
|
|
540
|
+
border: 0;
|
|
541
|
+
border-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1) + var(--tanrei-sys-focus-offset));
|
|
542
|
+
box-shadow:
|
|
543
|
+
0 0 var(--tanrei-sys-focus-inner-width) var(--tanrei-sys-focus-inner-width) var(--tanrei-sys-color-focus-ring-inner),
|
|
544
|
+
0 0 var(--tanrei-sys-focus-outer-width) calc(var(--tanrei-sys-focus-inner-width) + var(--tanrei-sys-focus-outer-width)) var(--tanrei-sys-color-focus-ring);
|
|
545
|
+
}
|
|
546
|
+
}
|
|
547
|
+
:where(tanrei-link-card) > :where(a:any-link[data-focus-style='glow']:focus-visible) {
|
|
548
|
+
outline-color: transparent;
|
|
549
|
+
}
|
|
550
|
+
:where(tanrei-link-card) > :where(a:any-link[data-focus-style='glow']:focus-visible)::after {
|
|
551
|
+
inset: calc(var(--tanrei-sys-focus-offset) * -1);
|
|
552
|
+
border: 0;
|
|
553
|
+
border-radius: calc(var(--tanrei-corner-radius) * var(--_corner-scale, 1) + var(--tanrei-sys-focus-offset));
|
|
554
|
+
box-shadow:
|
|
555
|
+
0 0 var(--tanrei-sys-focus-inner-width) var(--tanrei-sys-focus-inner-width) var(--tanrei-sys-color-focus-ring-inner),
|
|
556
|
+
0 0 var(--tanrei-sys-focus-outer-width) calc(var(--tanrei-sys-focus-inner-width) + var(--tanrei-sys-focus-outer-width)) var(--tanrei-sys-color-focus-ring);
|
|
557
|
+
}
|
|
558
|
+
/* LKC-18, without script: the pressed tokens at once, as a plain state change (LKC-36). */
|
|
559
|
+
:where(tanrei-link-card) > :where(a:any-link:active:not([data-pressed])) {
|
|
560
|
+
--_lc-now-container: var(--_lc-pressed-container);
|
|
561
|
+
--_lc-now-outline: var(--_lc-pressed-outline);
|
|
562
|
+
--_lc-now-title: var(--_lc-pressed-title);
|
|
563
|
+
--_lc-now-description: var(--_lc-pressed-description);
|
|
564
|
+
--_lc-now-site: var(--_lc-pressed-site);
|
|
565
|
+
opacity: var(--tanrei-comp-link-card-pressed-opacity);
|
|
566
|
+
transition-duration: 0s;
|
|
567
|
+
}
|
|
568
|
+
/* LKC-18, LKC-19, with the element: `data-pressed` names the feedback, shown without delay. `none` changes nothing. */
|
|
569
|
+
:where(tanrei-link-card) > :where(a[data-pressed]:not([data-pressed='none'])) {
|
|
570
|
+
transition-duration: 0s;
|
|
571
|
+
}
|
|
572
|
+
:where(tanrei-link-card) > :where(a[data-pressed='overlay']) {
|
|
573
|
+
--_lc-now-container: var(--_lc-pressed-container);
|
|
574
|
+
}
|
|
575
|
+
/* overlay, ripple, dim: everything but the container color, which under ripple and dim stays with the state under the press. */
|
|
576
|
+
:where(tanrei-link-card) > :where(a:is([data-pressed='overlay'], [data-pressed='ripple'], [data-pressed='dim'])) {
|
|
577
|
+
--_lc-now-outline: var(--_lc-pressed-outline);
|
|
578
|
+
--_lc-now-title: var(--_lc-pressed-title);
|
|
579
|
+
--_lc-now-description: var(--_lc-pressed-description);
|
|
580
|
+
--_lc-now-site: var(--_lc-pressed-site);
|
|
581
|
+
opacity: var(--tanrei-comp-link-card-pressed-opacity);
|
|
582
|
+
}
|
|
583
|
+
/* The ripple's layer (src/primitives/ripple.ts adds it and sets --_x, --_y, --_r): the pressed container color,
|
|
584
|
+
clipped to the container and to a circle around the point of contact, behind the text and under the picture. */
|
|
585
|
+
:where(tanrei-link-card) > :where(a) > :where(.ripple) {
|
|
586
|
+
position: absolute;
|
|
587
|
+
z-index: -1;
|
|
588
|
+
inset: 0;
|
|
589
|
+
border-radius: inherit;
|
|
590
|
+
corner-shape: inherit;
|
|
591
|
+
background: var(--_lc-pressed-container);
|
|
592
|
+
pointer-events: none;
|
|
593
|
+
clip-path: circle(var(--_r) at var(--_x) var(--_y));
|
|
594
|
+
animation: tanrei-link-card-ripple var(--tanrei-comp-link-card-motion-feedback-duration) var(--tanrei-comp-link-card-motion-state-easing) both;
|
|
595
|
+
transition: opacity var(--tanrei-comp-link-card-motion-state-duration) var(--tanrei-comp-link-card-motion-state-easing);
|
|
596
|
+
}
|
|
597
|
+
:where(tanrei-link-card) > :where(a) > :where(.ripple.leaving) {
|
|
598
|
+
opacity: 0;
|
|
599
|
+
}
|
|
600
|
+
@keyframes tanrei-link-card-ripple {
|
|
601
|
+
from {
|
|
602
|
+
clip-path: circle(0 at var(--_x) var(--_y));
|
|
603
|
+
}
|
|
604
|
+
}
|
|
605
|
+
/* LKC-28, LKC-19: where motion is reduced the colors change at once and the ripple appears whole. */
|
|
606
|
+
@media (prefers-reduced-motion: reduce) {
|
|
607
|
+
:where(tanrei-link-card) > :where(a),
|
|
608
|
+
:where(tanrei-link-card) > :where(a)::before,
|
|
609
|
+
:where(tanrei-link-card) > :where(a) > :where([data-part='body']) > :where([data-part='title'], [data-part='description'], [data-part='site']) {
|
|
610
|
+
transition: none;
|
|
611
|
+
}
|
|
612
|
+
:where(tanrei-link-card) > :where(a) > :where(.ripple) {
|
|
613
|
+
animation: none;
|
|
614
|
+
transition: none;
|
|
615
|
+
}
|
|
616
|
+
}
|
|
617
|
+
|
|
618
|
+
/* ── Forced colors (LKC-30): an edge in the text color in both looks, the title in the link color ────────────── */
|
|
619
|
+
@media (forced-colors: active) {
|
|
620
|
+
:where(tanrei-link-card) {
|
|
621
|
+
--_lc-media-fill: transparent;
|
|
622
|
+
}
|
|
623
|
+
:where(tanrei-link-card) > :where(a:any-link) {
|
|
624
|
+
--_lc-now-outline: CanvasText;
|
|
625
|
+
--_lc-now-title: LinkText;
|
|
626
|
+
--_lc-now-description: CanvasText;
|
|
627
|
+
--_lc-now-site: CanvasText;
|
|
628
|
+
}
|
|
629
|
+
:where(tanrei-link-card) > :where(a:any-link:focus-visible) {
|
|
630
|
+
outline-color: Highlight;
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
|
|
634
|
+
/* ── Not a link (LKC-27): no destination — or an empty one, or a script — is not drawn as a card ─────────────── */
|
|
635
|
+
/* The title, where it has one, as plain text in the style of the text around it, and nothing else. */
|
|
636
|
+
:where(tanrei-link-card:has(> a:is(:not(:any-link), [href=''], [href^='javascript:' i]))) {
|
|
637
|
+
display: inline;
|
|
638
|
+
container-type: normal;
|
|
639
|
+
}
|
|
640
|
+
:where(tanrei-link-card) > :where(a:is(:not(:any-link), [href=''], [href^='javascript:' i])) {
|
|
641
|
+
display: inline;
|
|
642
|
+
position: static;
|
|
643
|
+
padding: 0;
|
|
644
|
+
border-radius: 0;
|
|
645
|
+
background-color: transparent;
|
|
646
|
+
color: inherit;
|
|
647
|
+
opacity: unset;
|
|
648
|
+
outline: none;
|
|
649
|
+
cursor: inherit;
|
|
650
|
+
transition: none;
|
|
651
|
+
}
|
|
652
|
+
:where(tanrei-link-card) > :where(a:is(:not(:any-link), [href=''], [href^='javascript:' i]))::before,
|
|
653
|
+
:where(tanrei-link-card) > :where(a:is(:not(:any-link), [href=''], [href^='javascript:' i]))::after {
|
|
654
|
+
content: none;
|
|
655
|
+
}
|
|
656
|
+
:where(tanrei-link-card) > :where(a:is(:not(:any-link), [href=''], [href^='javascript:' i])) > :where(*) {
|
|
657
|
+
display: none;
|
|
658
|
+
}
|
|
659
|
+
:where(tanrei-link-card) > :where(a:is(:not(:any-link), [href=''], [href^='javascript:' i])) > :where([data-part='body']) {
|
|
660
|
+
display: inline;
|
|
661
|
+
padding: 0;
|
|
662
|
+
text-align: inherit;
|
|
663
|
+
}
|
|
664
|
+
:where(tanrei-link-card) > :where(a:is(:not(:any-link), [href=''], [href^='javascript:' i])) > :where([data-part='body']) > :where(*) {
|
|
665
|
+
display: none;
|
|
666
|
+
}
|
|
667
|
+
:where(tanrei-link-card) > :where(a:is(:not(:any-link), [href=''], [href^='javascript:' i])) > :where([data-part='body']) > :where([data-part='title']) {
|
|
668
|
+
display: inline;
|
|
669
|
+
overflow: visible;
|
|
670
|
+
font: inherit;
|
|
671
|
+
letter-spacing: inherit;
|
|
672
|
+
color: inherit;
|
|
673
|
+
text-align: inherit;
|
|
674
|
+
word-break: inherit;
|
|
675
|
+
overflow-wrap: inherit;
|
|
676
|
+
transition: none;
|
|
677
|
+
}
|
|
678
|
+
}
|