@seed-design/css 0.0.0-alpha-20260324091316
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/README.md +4 -0
- package/all.css +9562 -0
- package/all.layered.css +9574 -0
- package/all.layered.min.css +1 -0
- package/all.min.css +1 -0
- package/base.css +1084 -0
- package/base.layered.css +1086 -0
- package/base.layered.min.css +1 -0
- package/base.min.css +1 -0
- package/breakpoints/index.d.ts +7 -0
- package/breakpoints/index.mjs +17 -0
- package/package.json +82 -0
- package/recipes/action-button.css +423 -0
- package/recipes/action-button.d.ts +30 -0
- package/recipes/action-button.layered.css +477 -0
- package/recipes/action-button.layered.mjs +79 -0
- package/recipes/action-button.mjs +79 -0
- package/recipes/action-chip.css +75 -0
- package/recipes/action-chip.d.ts +26 -0
- package/recipes/action-chip.layered.css +84 -0
- package/recipes/action-chip.layered.mjs +51 -0
- package/recipes/action-chip.mjs +51 -0
- package/recipes/action-sheet-item.css +32 -0
- package/recipes/action-sheet-item.d.ts +22 -0
- package/recipes/action-sheet-item.layered.css +38 -0
- package/recipes/action-sheet-item.layered.mjs +29 -0
- package/recipes/action-sheet-item.mjs +29 -0
- package/recipes/action-sheet.css +125 -0
- package/recipes/action-sheet.d.ts +21 -0
- package/recipes/action-sheet.layered.css +134 -0
- package/recipes/action-sheet.layered.mjs +60 -0
- package/recipes/action-sheet.mjs +60 -0
- package/recipes/app-bar-main.css +171 -0
- package/recipes/app-bar-main.d.ts +36 -0
- package/recipes/app-bar-main.layered.css +165 -0
- package/recipes/app-bar-main.layered.mjs +63 -0
- package/recipes/app-bar-main.mjs +63 -0
- package/recipes/app-bar.css +291 -0
- package/recipes/app-bar.d.ts +36 -0
- package/recipes/app-bar.layered.css +302 -0
- package/recipes/app-bar.layered.mjs +70 -0
- package/recipes/app-bar.mjs +70 -0
- package/recipes/app-screen.css +320 -0
- package/recipes/app-screen.d.ts +44 -0
- package/recipes/app-screen.layered.css +332 -0
- package/recipes/app-screen.layered.mjs +98 -0
- package/recipes/app-screen.mjs +98 -0
- package/recipes/article.css +9 -0
- package/recipes/article.d.ts +19 -0
- package/recipes/article.layered.css +12 -0
- package/recipes/article.layered.mjs +22 -0
- package/recipes/article.mjs +22 -0
- package/recipes/aspect-ratio.css +24 -0
- package/recipes/aspect-ratio.d.ts +19 -0
- package/recipes/aspect-ratio.layered.css +26 -0
- package/recipes/aspect-ratio.layered.mjs +22 -0
- package/recipes/aspect-ratio.mjs +22 -0
- package/recipes/avatar-stack.css +73 -0
- package/recipes/avatar-stack.d.ts +24 -0
- package/recipes/avatar-stack.layered.css +94 -0
- package/recipes/avatar-stack.layered.mjs +50 -0
- package/recipes/avatar-stack.mjs +50 -0
- package/recipes/avatar.css +194 -0
- package/recipes/avatar.d.ts +28 -0
- package/recipes/avatar.layered.css +222 -0
- package/recipes/avatar.layered.mjs +65 -0
- package/recipes/avatar.mjs +65 -0
- package/recipes/badge.css +118 -0
- package/recipes/badge.d.ts +32 -0
- package/recipes/badge.layered.css +140 -0
- package/recipes/badge.layered.mjs +131 -0
- package/recipes/badge.mjs +131 -0
- package/recipes/bottom-sheet-handle.css +31 -0
- package/recipes/bottom-sheet-handle.d.ts +21 -0
- package/recipes/bottom-sheet-handle.layered.css +36 -0
- package/recipes/bottom-sheet-handle.layered.mjs +36 -0
- package/recipes/bottom-sheet-handle.mjs +36 -0
- package/recipes/bottom-sheet.css +257 -0
- package/recipes/bottom-sheet.d.ts +28 -0
- package/recipes/bottom-sheet.layered.css +280 -0
- package/recipes/bottom-sheet.layered.mjs +75 -0
- package/recipes/bottom-sheet.mjs +75 -0
- package/recipes/callout.css +241 -0
- package/recipes/callout.d.ts +24 -0
- package/recipes/callout.layered.css +242 -0
- package/recipes/callout.layered.mjs +63 -0
- package/recipes/callout.mjs +63 -0
- package/recipes/checkbox-group.css +5 -0
- package/recipes/checkbox-group.d.ts +19 -0
- package/recipes/checkbox-group.layered.css +7 -0
- package/recipes/checkbox-group.layered.mjs +22 -0
- package/recipes/checkbox-group.mjs +22 -0
- package/recipes/checkbox.css +43 -0
- package/recipes/checkbox.d.ts +28 -0
- package/recipes/checkbox.layered.css +54 -0
- package/recipes/checkbox.layered.mjs +48 -0
- package/recipes/checkbox.mjs +48 -0
- package/recipes/checkmark.css +158 -0
- package/recipes/checkmark.d.ts +32 -0
- package/recipes/checkmark.layered.css +187 -0
- package/recipes/checkmark.layered.mjs +86 -0
- package/recipes/checkmark.mjs +86 -0
- package/recipes/chip-tabs.css +210 -0
- package/recipes/chip-tabs.d.ts +36 -0
- package/recipes/chip-tabs.layered.css +254 -0
- package/recipes/chip-tabs.layered.mjs +75 -0
- package/recipes/chip-tabs.mjs +75 -0
- package/recipes/chip.css +241 -0
- package/recipes/chip.d.ts +32 -0
- package/recipes/chip.layered.css +272 -0
- package/recipes/chip.layered.mjs +80 -0
- package/recipes/chip.mjs +80 -0
- package/recipes/content-placeholder.css +24 -0
- package/recipes/content-placeholder.d.ts +24 -0
- package/recipes/content-placeholder.layered.css +27 -0
- package/recipes/content-placeholder.layered.mjs +53 -0
- package/recipes/content-placeholder.mjs +53 -0
- package/recipes/contextual-floating-button.css +113 -0
- package/recipes/contextual-floating-button.d.ts +26 -0
- package/recipes/contextual-floating-button.layered.css +130 -0
- package/recipes/contextual-floating-button.layered.mjs +34 -0
- package/recipes/contextual-floating-button.mjs +34 -0
- package/recipes/control-chip.css +88 -0
- package/recipes/control-chip.d.ts +26 -0
- package/recipes/control-chip.layered.css +99 -0
- package/recipes/control-chip.layered.mjs +51 -0
- package/recipes/control-chip.mjs +51 -0
- package/recipes/dialog.css +105 -0
- package/recipes/dialog.d.ts +24 -0
- package/recipes/dialog.layered.css +111 -0
- package/recipes/dialog.layered.mjs +66 -0
- package/recipes/dialog.mjs +66 -0
- package/recipes/extended-action-sheet-item.css +31 -0
- package/recipes/extended-action-sheet-item.d.ts +22 -0
- package/recipes/extended-action-sheet-item.layered.css +38 -0
- package/recipes/extended-action-sheet-item.layered.mjs +29 -0
- package/recipes/extended-action-sheet-item.mjs +29 -0
- package/recipes/extended-action-sheet.css +123 -0
- package/recipes/extended-action-sheet.d.ts +21 -0
- package/recipes/extended-action-sheet.layered.css +132 -0
- package/recipes/extended-action-sheet.layered.mjs +64 -0
- package/recipes/extended-action-sheet.mjs +64 -0
- package/recipes/extended-fab.css +66 -0
- package/recipes/extended-fab.d.ts +26 -0
- package/recipes/extended-fab.layered.css +79 -0
- package/recipes/extended-fab.layered.mjs +34 -0
- package/recipes/extended-fab.mjs +34 -0
- package/recipes/fab.css +31 -0
- package/recipes/fab.d.ts +19 -0
- package/recipes/fab.layered.css +37 -0
- package/recipes/fab.layered.mjs +22 -0
- package/recipes/fab.mjs +22 -0
- package/recipes/field-label.css +29 -0
- package/recipes/field-label.d.ts +24 -0
- package/recipes/field-label.layered.css +35 -0
- package/recipes/field-label.layered.mjs +47 -0
- package/recipes/field-label.mjs +47 -0
- package/recipes/field.css +69 -0
- package/recipes/field.d.ts +21 -0
- package/recipes/field.layered.css +81 -0
- package/recipes/field.layered.mjs +60 -0
- package/recipes/field.mjs +60 -0
- package/recipes/floating-action-button.css +87 -0
- package/recipes/floating-action-button.d.ts +24 -0
- package/recipes/floating-action-button.layered.css +101 -0
- package/recipes/floating-action-button.layered.mjs +47 -0
- package/recipes/floating-action-button.mjs +47 -0
- package/recipes/help-bubble.css +117 -0
- package/recipes/help-bubble.d.ts +21 -0
- package/recipes/help-bubble.layered.css +134 -0
- package/recipes/help-bubble.layered.mjs +60 -0
- package/recipes/help-bubble.mjs +60 -0
- package/recipes/identity-placeholder.css +19 -0
- package/recipes/identity-placeholder.d.ts +24 -0
- package/recipes/identity-placeholder.layered.css +22 -0
- package/recipes/identity-placeholder.layered.mjs +43 -0
- package/recipes/identity-placeholder.mjs +43 -0
- package/recipes/image-frame-icon.css +6 -0
- package/recipes/image-frame-icon.d.ts +19 -0
- package/recipes/image-frame-icon.layered.css +8 -0
- package/recipes/image-frame-icon.layered.mjs +22 -0
- package/recipes/image-frame-icon.mjs +22 -0
- package/recipes/image-frame-indicator.css +16 -0
- package/recipes/image-frame-indicator.d.ts +19 -0
- package/recipes/image-frame-indicator.layered.css +18 -0
- package/recipes/image-frame-indicator.layered.mjs +22 -0
- package/recipes/image-frame-indicator.mjs +22 -0
- package/recipes/image-frame-reaction-button.css +52 -0
- package/recipes/image-frame-reaction-button.d.ts +21 -0
- package/recipes/image-frame-reaction-button.layered.css +60 -0
- package/recipes/image-frame-reaction-button.layered.mjs +40 -0
- package/recipes/image-frame-reaction-button.mjs +40 -0
- package/recipes/image-frame.css +30 -0
- package/recipes/image-frame.d.ts +28 -0
- package/recipes/image-frame.layered.css +33 -0
- package/recipes/image-frame.layered.mjs +52 -0
- package/recipes/image-frame.mjs +52 -0
- package/recipes/inline-banner.css +180 -0
- package/recipes/inline-banner.d.ts +24 -0
- package/recipes/inline-banner.layered.css +161 -0
- package/recipes/inline-banner.layered.mjs +64 -0
- package/recipes/inline-banner.mjs +64 -0
- package/recipes/input-button.css +151 -0
- package/recipes/input-button.d.ts +21 -0
- package/recipes/input-button.layered.css +167 -0
- package/recipes/input-button.layered.mjs +64 -0
- package/recipes/input-button.mjs +64 -0
- package/recipes/link-content.css +41 -0
- package/recipes/link-content.d.ts +26 -0
- package/recipes/link-content.layered.css +48 -0
- package/recipes/link-content.layered.mjs +35 -0
- package/recipes/link-content.mjs +35 -0
- package/recipes/list-header.css +22 -0
- package/recipes/list-header.d.ts +22 -0
- package/recipes/list-header.layered.css +26 -0
- package/recipes/list-header.layered.mjs +29 -0
- package/recipes/list-header.mjs +29 -0
- package/recipes/list-item.css +237 -0
- package/recipes/list-item.d.ts +24 -0
- package/recipes/list-item.layered.css +267 -0
- package/recipes/list-item.layered.mjs +59 -0
- package/recipes/list-item.mjs +59 -0
- package/recipes/manner-temp-badge.css +60 -0
- package/recipes/manner-temp-badge.d.ts +22 -0
- package/recipes/manner-temp-badge.layered.css +72 -0
- package/recipes/manner-temp-badge.layered.mjs +37 -0
- package/recipes/manner-temp-badge.mjs +37 -0
- package/recipes/manner-temp.css +45 -0
- package/recipes/manner-temp.d.ts +22 -0
- package/recipes/manner-temp.layered.css +57 -0
- package/recipes/manner-temp.layered.mjs +37 -0
- package/recipes/manner-temp.mjs +37 -0
- package/recipes/menu-sheet-item.css +83 -0
- package/recipes/menu-sheet-item.d.ts +28 -0
- package/recipes/menu-sheet-item.layered.css +102 -0
- package/recipes/menu-sheet-item.layered.mjs +56 -0
- package/recipes/menu-sheet-item.mjs +56 -0
- package/recipes/menu-sheet.css +154 -0
- package/recipes/menu-sheet.d.ts +24 -0
- package/recipes/menu-sheet.layered.css +167 -0
- package/recipes/menu-sheet.layered.mjs +74 -0
- package/recipes/menu-sheet.mjs +74 -0
- package/recipes/notification-badge-positioner.css +33 -0
- package/recipes/notification-badge-positioner.d.ts +26 -0
- package/recipes/notification-badge-positioner.layered.css +35 -0
- package/recipes/notification-badge-positioner.layered.mjs +51 -0
- package/recipes/notification-badge-positioner.mjs +51 -0
- package/recipes/notification-badge.css +29 -0
- package/recipes/notification-badge.d.ts +22 -0
- package/recipes/notification-badge.layered.css +33 -0
- package/recipes/notification-badge.layered.mjs +29 -0
- package/recipes/notification-badge.mjs +29 -0
- package/recipes/page-banner.css +370 -0
- package/recipes/page-banner.d.ts +28 -0
- package/recipes/page-banner.layered.css +361 -0
- package/recipes/page-banner.layered.mjs +117 -0
- package/recipes/page-banner.mjs +117 -0
- package/recipes/progress-circle.css +46 -0
- package/recipes/progress-circle.d.ts +28 -0
- package/recipes/progress-circle.layered.css +52 -0
- package/recipes/progress-circle.layered.mjs +55 -0
- package/recipes/progress-circle.mjs +55 -0
- package/recipes/pull-to-refresh.css +15 -0
- package/recipes/pull-to-refresh.d.ts +21 -0
- package/recipes/pull-to-refresh.layered.css +19 -0
- package/recipes/pull-to-refresh.layered.mjs +36 -0
- package/recipes/pull-to-refresh.mjs +36 -0
- package/recipes/radio-group.css +5 -0
- package/recipes/radio-group.d.ts +19 -0
- package/recipes/radio-group.layered.css +7 -0
- package/recipes/radio-group.layered.mjs +22 -0
- package/recipes/radio-group.mjs +22 -0
- package/recipes/radio.css +43 -0
- package/recipes/radio.d.ts +28 -0
- package/recipes/radio.layered.css +54 -0
- package/recipes/radio.layered.mjs +48 -0
- package/recipes/radio.mjs +48 -0
- package/recipes/radiomark.css +107 -0
- package/recipes/radiomark.d.ts +28 -0
- package/recipes/radiomark.layered.css +132 -0
- package/recipes/radiomark.layered.mjs +48 -0
- package/recipes/radiomark.mjs +48 -0
- package/recipes/reaction-button.css +110 -0
- package/recipes/reaction-button.d.ts +22 -0
- package/recipes/reaction-button.layered.css +124 -0
- package/recipes/reaction-button.layered.mjs +29 -0
- package/recipes/reaction-button.mjs +29 -0
- package/recipes/scroll-fog.css +23 -0
- package/recipes/scroll-fog.d.ts +22 -0
- package/recipes/scroll-fog.layered.css +27 -0
- package/recipes/scroll-fog.layered.mjs +28 -0
- package/recipes/scroll-fog.mjs +28 -0
- package/recipes/segmented-control.css +95 -0
- package/recipes/segmented-control.d.ts +21 -0
- package/recipes/segmented-control.layered.css +108 -0
- package/recipes/segmented-control.layered.mjs +40 -0
- package/recipes/segmented-control.mjs +40 -0
- package/recipes/select-box-group.css +10 -0
- package/recipes/select-box-group.d.ts +19 -0
- package/recipes/select-box-group.layered.css +13 -0
- package/recipes/select-box-group.layered.mjs +22 -0
- package/recipes/select-box-group.mjs +22 -0
- package/recipes/select-box.css +129 -0
- package/recipes/select-box.d.ts +24 -0
- package/recipes/select-box.layered.css +148 -0
- package/recipes/select-box.layered.mjs +63 -0
- package/recipes/select-box.mjs +63 -0
- package/recipes/selectBoxCheckmark.css +38 -0
- package/recipes/selectBoxCheckmark.d.ts +21 -0
- package/recipes/selectBoxCheckmark.layered.css +42 -0
- package/recipes/selectBoxCheckmark.layered.mjs +36 -0
- package/recipes/selectBoxCheckmark.mjs +36 -0
- package/recipes/shared.mjs +48 -0
- package/recipes/skeleton.css +79 -0
- package/recipes/skeleton.d.ts +26 -0
- package/recipes/skeleton.layered.css +94 -0
- package/recipes/skeleton.layered.mjs +36 -0
- package/recipes/skeleton.mjs +36 -0
- package/recipes/slider-marker.css +42 -0
- package/recipes/slider-marker.d.ts +22 -0
- package/recipes/slider-marker.layered.css +54 -0
- package/recipes/slider-marker.layered.mjs +30 -0
- package/recipes/slider-marker.mjs +30 -0
- package/recipes/slider-tick.css +19 -0
- package/recipes/slider-tick.d.ts +22 -0
- package/recipes/slider-tick.layered.css +25 -0
- package/recipes/slider-tick.layered.mjs +29 -0
- package/recipes/slider-tick.mjs +29 -0
- package/recipes/slider.css +205 -0
- package/recipes/slider.d.ts +21 -0
- package/recipes/slider.layered.css +238 -0
- package/recipes/slider.layered.mjs +68 -0
- package/recipes/slider.mjs +68 -0
- package/recipes/snackbar-region.css +16 -0
- package/recipes/snackbar-region.d.ts +19 -0
- package/recipes/snackbar-region.layered.css +18 -0
- package/recipes/snackbar-region.layered.mjs +22 -0
- package/recipes/snackbar-region.mjs +22 -0
- package/recipes/snackbar.css +111 -0
- package/recipes/snackbar.d.ts +24 -0
- package/recipes/snackbar.layered.css +126 -0
- package/recipes/snackbar.layered.mjs +56 -0
- package/recipes/snackbar.mjs +56 -0
- package/recipes/switch.css +51 -0
- package/recipes/switch.d.ts +24 -0
- package/recipes/switch.layered.css +62 -0
- package/recipes/switch.layered.mjs +44 -0
- package/recipes/switch.mjs +44 -0
- package/recipes/switchmark.css +79 -0
- package/recipes/switchmark.d.ts +28 -0
- package/recipes/switchmark.layered.css +100 -0
- package/recipes/switchmark.layered.mjs +49 -0
- package/recipes/switchmark.mjs +49 -0
- package/recipes/tabs.css +178 -0
- package/recipes/tabs.d.ts +36 -0
- package/recipes/tabs.layered.css +211 -0
- package/recipes/tabs.layered.mjs +78 -0
- package/recipes/tabs.mjs +78 -0
- package/recipes/tag-group-item.css +79 -0
- package/recipes/tag-group-item.d.ts +32 -0
- package/recipes/tag-group-item.layered.css +98 -0
- package/recipes/tag-group-item.layered.mjs +55 -0
- package/recipes/tag-group-item.mjs +55 -0
- package/recipes/tag-group.css +47 -0
- package/recipes/tag-group.d.ts +28 -0
- package/recipes/tag-group.layered.css +58 -0
- package/recipes/tag-group.layered.mjs +62 -0
- package/recipes/tag-group.mjs +62 -0
- package/recipes/text-input.css +234 -0
- package/recipes/text-input.d.ts +28 -0
- package/recipes/text-input.layered.css +236 -0
- package/recipes/text-input.layered.mjs +73 -0
- package/recipes/text-input.mjs +73 -0
- package/recipes/text.css +305 -0
- package/recipes/text.d.ts +30 -0
- package/recipes/text.layered.css +364 -0
- package/recipes/text.layered.mjs +90 -0
- package/recipes/text.mjs +90 -0
- package/recipes/toggle-button.css +160 -0
- package/recipes/toggle-button.d.ts +26 -0
- package/recipes/toggle-button.layered.css +183 -0
- package/recipes/toggle-button.layered.mjs +34 -0
- package/recipes/toggle-button.mjs +34 -0
- package/theming/index.cjs +81 -0
- package/theming/index.d.ts +9 -0
- package/theming/index.mjs +79 -0
- package/theming/mode.cjs +12 -0
- package/theming/mode.d.ts +4 -0
- package/theming/mode.mjs +6 -0
- package/vars/color/banner.d.ts +10 -0
- package/vars/color/banner.mjs +10 -0
- package/vars/color/bg.d.ts +76 -0
- package/vars/color/bg.mjs +41 -0
- package/vars/color/fg.d.ts +30 -0
- package/vars/color/fg.mjs +16 -0
- package/vars/color/index.d.ts +6 -0
- package/vars/color/index.mjs +6 -0
- package/vars/color/manner-temp/index.d.ts +10 -0
- package/vars/color/manner-temp/index.mjs +10 -0
- package/vars/color/manner-temp/l1.d.ts +2 -0
- package/vars/color/manner-temp/l1.mjs +2 -0
- package/vars/color/manner-temp/l10.d.ts +2 -0
- package/vars/color/manner-temp/l10.mjs +2 -0
- package/vars/color/manner-temp/l2.d.ts +2 -0
- package/vars/color/manner-temp/l2.mjs +2 -0
- package/vars/color/manner-temp/l3.d.ts +2 -0
- package/vars/color/manner-temp/l3.mjs +2 -0
- package/vars/color/manner-temp/l4.d.ts +2 -0
- package/vars/color/manner-temp/l4.mjs +2 -0
- package/vars/color/manner-temp/l5.d.ts +2 -0
- package/vars/color/manner-temp/l5.mjs +2 -0
- package/vars/color/manner-temp/l6.d.ts +2 -0
- package/vars/color/manner-temp/l6.mjs +2 -0
- package/vars/color/manner-temp/l7.d.ts +2 -0
- package/vars/color/manner-temp/l7.mjs +2 -0
- package/vars/color/manner-temp/l8.d.ts +2 -0
- package/vars/color/manner-temp/l8.mjs +2 -0
- package/vars/color/manner-temp/l9.d.ts +2 -0
- package/vars/color/manner-temp/l9.mjs +2 -0
- package/vars/color/palette.d.ts +94 -0
- package/vars/color/palette.mjs +94 -0
- package/vars/color/stroke.d.ts +31 -0
- package/vars/color/stroke.mjs +16 -0
- package/vars/component/action-button.d.ts +660 -0
- package/vars/component/action-button.mjs +541 -0
- package/vars/component/action-chip.d.ts +132 -0
- package/vars/component/action-chip.mjs +132 -0
- package/vars/component/action-sheet-close-button.d.ts +23 -0
- package/vars/component/action-sheet-close-button.mjs +23 -0
- package/vars/component/action-sheet-item.d.ts +36 -0
- package/vars/component/action-sheet-item.mjs +36 -0
- package/vars/component/action-sheet.d.ts +46 -0
- package/vars/component/action-sheet.mjs +46 -0
- package/vars/component/avatar-stack.d.ts +100 -0
- package/vars/component/avatar-stack.mjs +100 -0
- package/vars/component/avatar.d.ts +162 -0
- package/vars/component/avatar.mjs +146 -0
- package/vars/component/badge.d.ts +316 -0
- package/vars/component/badge.mjs +236 -0
- package/vars/component/bottom-sheet-close-button.d.ts +21 -0
- package/vars/component/bottom-sheet-close-button.mjs +21 -0
- package/vars/component/bottom-sheet-handle.d.ts +24 -0
- package/vars/component/bottom-sheet-handle.mjs +24 -0
- package/vars/component/bottom-sheet.d.ts +86 -0
- package/vars/component/bottom-sheet.mjs +86 -0
- package/vars/component/callout.d.ts +229 -0
- package/vars/component/callout.mjs +197 -0
- package/vars/component/checkbox-group.d.ts +9 -0
- package/vars/component/checkbox-group.mjs +9 -0
- package/vars/component/checkbox.d.ts +53 -0
- package/vars/component/checkbox.mjs +53 -0
- package/vars/component/checkmark.d.ts +197 -0
- package/vars/component/checkmark.mjs +165 -0
- package/vars/component/chip-tab.d.ts +162 -0
- package/vars/component/chip-tab.mjs +162 -0
- package/vars/component/chip-tablist.d.ts +31 -0
- package/vars/component/chip-tablist.mjs +31 -0
- package/vars/component/chip.d.ts +301 -0
- package/vars/component/chip.mjs +283 -0
- package/vars/component/content-placeholder.d.ts +28 -0
- package/vars/component/content-placeholder.mjs +27 -0
- package/vars/component/contextual-floating-button.d.ts +144 -0
- package/vars/component/contextual-floating-button.mjs +132 -0
- package/vars/component/control-chip.d.ts +158 -0
- package/vars/component/control-chip.mjs +158 -0
- package/vars/component/dialog.d.ts +52 -0
- package/vars/component/dialog.mjs +52 -0
- package/vars/component/divider.d.ts +9 -0
- package/vars/component/divider.mjs +9 -0
- package/vars/component/extended-action-sheet-close-button.d.ts +24 -0
- package/vars/component/extended-action-sheet-close-button.mjs +24 -0
- package/vars/component/extended-action-sheet-item.d.ts +46 -0
- package/vars/component/extended-action-sheet-item.mjs +46 -0
- package/vars/component/extended-action-sheet.d.ts +55 -0
- package/vars/component/extended-action-sheet.mjs +55 -0
- package/vars/component/extended-fab.d.ts +88 -0
- package/vars/component/extended-fab.mjs +82 -0
- package/vars/component/fab.d.ts +21 -0
- package/vars/component/fab.mjs +21 -0
- package/vars/component/field-label.d.ts +25 -0
- package/vars/component/field-label.mjs +25 -0
- package/vars/component/field.d.ts +78 -0
- package/vars/component/field.mjs +72 -0
- package/vars/component/floating-action-button.d.ts +60 -0
- package/vars/component/floating-action-button.mjs +54 -0
- package/vars/component/help-bubble.d.ts +52 -0
- package/vars/component/help-bubble.mjs +50 -0
- package/vars/component/identity-placeholder.d.ts +12 -0
- package/vars/component/identity-placeholder.mjs +12 -0
- package/vars/component/image-frame-floater.d.ts +10 -0
- package/vars/component/image-frame-floater.mjs +9 -0
- package/vars/component/image-frame-indicator.d.ts +20 -0
- package/vars/component/image-frame-indicator.mjs +18 -0
- package/vars/component/image-frame-reaction-button.d.ts +35 -0
- package/vars/component/image-frame-reaction-button.mjs +26 -0
- package/vars/component/image-frame.d.ts +48 -0
- package/vars/component/image-frame.mjs +26 -0
- package/vars/component/index.d.ts +77 -0
- package/vars/component/index.mjs +77 -0
- package/vars/component/inline-banner.d.ts +191 -0
- package/vars/component/inline-banner.mjs +191 -0
- package/vars/component/input-button.d.ts +89 -0
- package/vars/component/input-button.mjs +88 -0
- package/vars/component/link-content.d.ts +58 -0
- package/vars/component/link-content.mjs +58 -0
- package/vars/component/list-header.d.ts +29 -0
- package/vars/component/list-header.mjs +29 -0
- package/vars/component/list-item.d.ts +84 -0
- package/vars/component/list-item.mjs +84 -0
- package/vars/component/manner-temp-badge.d.ts +117 -0
- package/vars/component/manner-temp-badge.mjs +117 -0
- package/vars/component/manner-temp.d.ts +88 -0
- package/vars/component/manner-temp.mjs +88 -0
- package/vars/component/menu-sheet-close-button.d.ts +24 -0
- package/vars/component/menu-sheet-close-button.mjs +24 -0
- package/vars/component/menu-sheet-item.d.ts +73 -0
- package/vars/component/menu-sheet-item.mjs +61 -0
- package/vars/component/menu-sheet.d.ts +55 -0
- package/vars/component/menu-sheet.mjs +55 -0
- package/vars/component/notification-badge.d.ts +47 -0
- package/vars/component/notification-badge.mjs +41 -0
- package/vars/component/page-banner.d.ts +382 -0
- package/vars/component/page-banner.mjs +336 -0
- package/vars/component/progress-circle.d.ts +88 -0
- package/vars/component/progress-circle.mjs +67 -0
- package/vars/component/radio-group.d.ts +9 -0
- package/vars/component/radio-group.mjs +9 -0
- package/vars/component/radio.d.ts +53 -0
- package/vars/component/radio.mjs +53 -0
- package/vars/component/radiomark.d.ts +120 -0
- package/vars/component/radiomark.mjs +117 -0
- package/vars/component/reaction-button.d.ts +136 -0
- package/vars/component/reaction-button.mjs +136 -0
- package/vars/component/scroll-fog.d.ts +11 -0
- package/vars/component/scroll-fog.mjs +11 -0
- package/vars/component/segmented-control-indicator.d.ts +24 -0
- package/vars/component/segmented-control-indicator.mjs +24 -0
- package/vars/component/segmented-control-item.d.ts +41 -0
- package/vars/component/segmented-control-item.mjs +41 -0
- package/vars/component/segmented-control.d.ts +11 -0
- package/vars/component/segmented-control.mjs +11 -0
- package/vars/component/select-box-checkmark.d.ts +40 -0
- package/vars/component/select-box-checkmark.mjs +40 -0
- package/vars/component/select-box-group.d.ts +10 -0
- package/vars/component/select-box-group.mjs +10 -0
- package/vars/component/select-box.d.ts +107 -0
- package/vars/component/select-box.mjs +102 -0
- package/vars/component/skeleton.d.ts +76 -0
- package/vars/component/skeleton.mjs +58 -0
- package/vars/component/slider-thumb.d.ts +25 -0
- package/vars/component/slider-thumb.mjs +25 -0
- package/vars/component/slider-tick.d.ts +23 -0
- package/vars/component/slider-tick.mjs +23 -0
- package/vars/component/slider.d.ts +78 -0
- package/vars/component/slider.mjs +75 -0
- package/vars/component/snackbar.d.ts +65 -0
- package/vars/component/snackbar.mjs +65 -0
- package/vars/component/switch.d.ts +53 -0
- package/vars/component/switch.mjs +53 -0
- package/vars/component/switchmark.d.ts +115 -0
- package/vars/component/switchmark.mjs +112 -0
- package/vars/component/tab.d.ts +47 -0
- package/vars/component/tab.mjs +47 -0
- package/vars/component/tablist.d.ts +51 -0
- package/vars/component/tablist.mjs +51 -0
- package/vars/component/tag-group-item.d.ts +122 -0
- package/vars/component/tag-group-item.mjs +122 -0
- package/vars/component/tag-group.d.ts +34 -0
- package/vars/component/tag-group.mjs +34 -0
- package/vars/component/text-button.d.ts +23 -0
- package/vars/component/text-button.mjs +23 -0
- package/vars/component/text-input.d.ts +224 -0
- package/vars/component/text-input.mjs +211 -0
- package/vars/component/toggle-button.d.ts +213 -0
- package/vars/component/toggle-button.mjs +207 -0
- package/vars/component/top-navigation.d.ts +89 -0
- package/vars/component/top-navigation.mjs +89 -0
- package/vars/component/typography.d.ts +542 -0
- package/vars/component/typography.mjs +461 -0
- package/vars/dimension/index.d.ts +22 -0
- package/vars/dimension/index.mjs +22 -0
- package/vars/dimension/spacing-x.d.ts +4 -0
- package/vars/dimension/spacing-x.mjs +2 -0
- package/vars/dimension/spacing-y.d.ts +8 -0
- package/vars/dimension/spacing-y.mjs +4 -0
- package/vars/duration.d.ts +7 -0
- package/vars/duration.mjs +7 -0
- package/vars/font-size.d.ts +30 -0
- package/vars/font-size.mjs +20 -0
- package/vars/font-weight.d.ts +3 -0
- package/vars/font-weight.mjs +3 -0
- package/vars/gradient.d.ts +19 -0
- package/vars/gradient.mjs +8 -0
- package/vars/index.d.ts +51 -0
- package/vars/index.mjs +1 -0
- package/vars/line-height.d.ts +30 -0
- package/vars/line-height.mjs +20 -0
- package/vars/radius.d.ts +11 -0
- package/vars/radius.mjs +11 -0
- package/vars/shadow.d.ts +4 -0
- package/vars/shadow.mjs +3 -0
- package/vars/timing-function.d.ts +6 -0
- package/vars/timing-function.mjs +6 -0
- package/vars/vars.d.ts +10 -0
- package/vars/vars.mjs +10 -0
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import './image-frame.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const imageFrameSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"content",
|
|
11
|
+
"seed-image-frame__content"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"fallback",
|
|
15
|
+
"seed-image-frame__fallback"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
const defaultVariant = {
|
|
20
|
+
"stroke": false,
|
|
21
|
+
"rounded": false
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const compoundVariants = [];
|
|
25
|
+
|
|
26
|
+
export const imageFrameVariantMap = {
|
|
27
|
+
"stroke": [
|
|
28
|
+
true,
|
|
29
|
+
false
|
|
30
|
+
],
|
|
31
|
+
"rounded": [
|
|
32
|
+
true,
|
|
33
|
+
false
|
|
34
|
+
]
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const imageFrameVariantKeys = Object.keys(imageFrameVariantMap);
|
|
38
|
+
|
|
39
|
+
export function imageFrame(props) {
|
|
40
|
+
return Object.fromEntries(
|
|
41
|
+
imageFrameSlotNames.map(([slot, className]) => {
|
|
42
|
+
return [
|
|
43
|
+
slot,
|
|
44
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
45
|
+
];
|
|
46
|
+
}),
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
Object.assign(imageFrame, { splitVariantProps: (props) => splitVariantProps(props, imageFrameVariantMap) });
|
|
51
|
+
|
|
52
|
+
// @recipe(seed): image-frame
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import './image-frame.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const imageFrameSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"content",
|
|
11
|
+
"seed-image-frame__content"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"fallback",
|
|
15
|
+
"seed-image-frame__fallback"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
const defaultVariant = {
|
|
20
|
+
"stroke": false,
|
|
21
|
+
"rounded": false
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const compoundVariants = [];
|
|
25
|
+
|
|
26
|
+
export const imageFrameVariantMap = {
|
|
27
|
+
"stroke": [
|
|
28
|
+
true,
|
|
29
|
+
false
|
|
30
|
+
],
|
|
31
|
+
"rounded": [
|
|
32
|
+
true,
|
|
33
|
+
false
|
|
34
|
+
]
|
|
35
|
+
};
|
|
36
|
+
|
|
37
|
+
export const imageFrameVariantKeys = Object.keys(imageFrameVariantMap);
|
|
38
|
+
|
|
39
|
+
export function imageFrame(props) {
|
|
40
|
+
return Object.fromEntries(
|
|
41
|
+
imageFrameSlotNames.map(([slot, className]) => {
|
|
42
|
+
return [
|
|
43
|
+
slot,
|
|
44
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
45
|
+
];
|
|
46
|
+
}),
|
|
47
|
+
);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
Object.assign(imageFrame, { splitVariantProps: (props) => splitVariantProps(props, imageFrameVariantMap) });
|
|
51
|
+
|
|
52
|
+
// @recipe(seed): image-frame
|
|
@@ -0,0 +1,180 @@
|
|
|
1
|
+
.seed-inline-banner__root {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
border: none;
|
|
4
|
+
font-family: inherit;
|
|
5
|
+
-webkit-font-smoothing: antialiased;
|
|
6
|
+
-moz-osx-font-smoothing: grayscale;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: flex-start;
|
|
9
|
+
text-align: start;
|
|
10
|
+
width: 100%;
|
|
11
|
+
min-height: var(--seed-dimension-x10);
|
|
12
|
+
padding-inline: var(--seed-dimension-x4);
|
|
13
|
+
padding-block: var(--seed-dimension-x2_5);
|
|
14
|
+
--seed-prefix-icon-size: var(--seed-dimension-x4);
|
|
15
|
+
--seed-prefix-icon-margin-right: var(--seed-dimension-x2);
|
|
16
|
+
--seed-prefix-icon-margin-top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * 0.5 - var(--seed-dimension-x2_5));
|
|
17
|
+
--seed-suffix-icon-size: var(--seed-dimension-x4);
|
|
18
|
+
--seed-suffix-icon-margin-left: var(--seed-dimension-x4);
|
|
19
|
+
--seed-suffix-icon-align-self: center;
|
|
20
|
+
}
|
|
21
|
+
.seed-inline-banner__root:is(button) {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
}
|
|
24
|
+
.seed-inline-banner__content {
|
|
25
|
+
margin-inline-end: auto;
|
|
26
|
+
}
|
|
27
|
+
.seed-inline-banner__title {
|
|
28
|
+
flex-shrink: 0;
|
|
29
|
+
font-size: var(--seed-font-size-t4);
|
|
30
|
+
line-height: var(--seed-line-height-t4);
|
|
31
|
+
font-weight: var(--seed-font-weight-bold);
|
|
32
|
+
}
|
|
33
|
+
.seed-inline-banner__title::after {
|
|
34
|
+
content: " ";
|
|
35
|
+
white-space: pre;
|
|
36
|
+
}
|
|
37
|
+
.seed-inline-banner__description {
|
|
38
|
+
font-size: var(--seed-font-size-t4);
|
|
39
|
+
line-height: var(--seed-line-height-t4);
|
|
40
|
+
font-weight: var(--seed-font-weight-medium);
|
|
41
|
+
}
|
|
42
|
+
.seed-inline-banner__link {
|
|
43
|
+
flex-shrink: 0;
|
|
44
|
+
flex-grow: 0;
|
|
45
|
+
font-family: inherit;
|
|
46
|
+
border: none;
|
|
47
|
+
background-color: transparent;
|
|
48
|
+
cursor: pointer;
|
|
49
|
+
display: flex;
|
|
50
|
+
align-items: center;
|
|
51
|
+
margin-block: auto;
|
|
52
|
+
margin-left: var(--seed-dimension-x4);
|
|
53
|
+
font-size: var(--seed-font-size-t2);
|
|
54
|
+
line-height: var(--seed-line-height-t2);
|
|
55
|
+
font-weight: var(--seed-font-weight-regular);
|
|
56
|
+
text-decoration: underline;
|
|
57
|
+
text-underline-offset: 2px;
|
|
58
|
+
}
|
|
59
|
+
.seed-inline-banner__closeButton {
|
|
60
|
+
flex-shrink: 0;
|
|
61
|
+
flex-grow: 0;
|
|
62
|
+
display: flex;
|
|
63
|
+
justify-content: center;
|
|
64
|
+
align-items: center;
|
|
65
|
+
width: var(--seed-dimension-x10);
|
|
66
|
+
height: var(--seed-dimension-x10);
|
|
67
|
+
margin: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -0.5);
|
|
68
|
+
margin-left: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -0.5 + var(--seed-dimension-x4));
|
|
69
|
+
--seed-suffix-icon-margin-left: initial;
|
|
70
|
+
align-self: center;
|
|
71
|
+
border: none;
|
|
72
|
+
background-color: transparent;
|
|
73
|
+
padding: 0;
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
}
|
|
76
|
+
.seed-inline-banner__root--variant_neutralWeak {
|
|
77
|
+
background-color: var(--seed-color-bg-neutral-weak);
|
|
78
|
+
color: var(--seed-color-fg-neutral);
|
|
79
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
80
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
81
|
+
}
|
|
82
|
+
.seed-inline-banner__title--variant_neutralWeak {
|
|
83
|
+
color: var(--seed-color-fg-neutral);
|
|
84
|
+
}
|
|
85
|
+
.seed-inline-banner__description--variant_neutralWeak {
|
|
86
|
+
color: var(--seed-color-fg-neutral);
|
|
87
|
+
}
|
|
88
|
+
.seed-inline-banner__link--variant_neutralWeak {
|
|
89
|
+
color: var(--seed-color-fg-neutral);
|
|
90
|
+
}
|
|
91
|
+
.seed-inline-banner__root--variant_positiveWeak {
|
|
92
|
+
background-color: var(--seed-color-bg-positive-weak);
|
|
93
|
+
color: var(--seed-color-fg-positive-contrast);
|
|
94
|
+
--seed-prefix-icon-color: var(--seed-color-fg-positive-contrast);
|
|
95
|
+
--seed-suffix-icon-color: var(--seed-color-fg-positive-contrast);
|
|
96
|
+
}
|
|
97
|
+
.seed-inline-banner__title--variant_positiveWeak {
|
|
98
|
+
color: var(--seed-color-fg-positive-contrast);
|
|
99
|
+
}
|
|
100
|
+
.seed-inline-banner__description--variant_positiveWeak {
|
|
101
|
+
color: var(--seed-color-fg-positive-contrast);
|
|
102
|
+
}
|
|
103
|
+
.seed-inline-banner__link--variant_positiveWeak {
|
|
104
|
+
color: var(--seed-color-fg-positive-contrast);
|
|
105
|
+
}
|
|
106
|
+
.seed-inline-banner__root--variant_informativeWeak {
|
|
107
|
+
background-color: var(--seed-color-bg-informative-weak);
|
|
108
|
+
color: var(--seed-color-fg-informative-contrast);
|
|
109
|
+
--seed-prefix-icon-color: var(--seed-color-fg-informative-contrast);
|
|
110
|
+
--seed-suffix-icon-color: var(--seed-color-fg-informative-contrast);
|
|
111
|
+
}
|
|
112
|
+
.seed-inline-banner__title--variant_informativeWeak {
|
|
113
|
+
color: var(--seed-color-fg-informative-contrast);
|
|
114
|
+
}
|
|
115
|
+
.seed-inline-banner__description--variant_informativeWeak {
|
|
116
|
+
color: var(--seed-color-fg-informative-contrast);
|
|
117
|
+
}
|
|
118
|
+
.seed-inline-banner__link--variant_informativeWeak {
|
|
119
|
+
color: var(--seed-color-fg-informative-contrast);
|
|
120
|
+
}
|
|
121
|
+
.seed-inline-banner__root--variant_warningWeak {
|
|
122
|
+
background-color: var(--seed-color-bg-warning-weak);
|
|
123
|
+
color: var(--seed-color-fg-warning-contrast);
|
|
124
|
+
--seed-prefix-icon-color: var(--seed-color-fg-warning-contrast);
|
|
125
|
+
--seed-suffix-icon-color: var(--seed-color-fg-warning-contrast);
|
|
126
|
+
}
|
|
127
|
+
.seed-inline-banner__title--variant_warningWeak {
|
|
128
|
+
color: var(--seed-color-fg-warning-contrast);
|
|
129
|
+
}
|
|
130
|
+
.seed-inline-banner__description--variant_warningWeak {
|
|
131
|
+
color: var(--seed-color-fg-warning-contrast);
|
|
132
|
+
}
|
|
133
|
+
.seed-inline-banner__link--variant_warningWeak {
|
|
134
|
+
color: var(--seed-color-fg-warning-contrast);
|
|
135
|
+
}
|
|
136
|
+
.seed-inline-banner__root--variant_warningSolid {
|
|
137
|
+
background-color: var(--seed-color-bg-warning-solid);
|
|
138
|
+
color: var(--seed-color-fg-neutral);
|
|
139
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
140
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
141
|
+
}
|
|
142
|
+
.seed-inline-banner__title--variant_warningSolid {
|
|
143
|
+
color: var(--seed-color-fg-neutral);
|
|
144
|
+
}
|
|
145
|
+
.seed-inline-banner__description--variant_warningSolid {
|
|
146
|
+
color: var(--seed-color-fg-neutral);
|
|
147
|
+
}
|
|
148
|
+
.seed-inline-banner__link--variant_warningSolid {
|
|
149
|
+
color: var(--seed-color-fg-neutral);
|
|
150
|
+
}
|
|
151
|
+
.seed-inline-banner__root--variant_criticalWeak {
|
|
152
|
+
background-color: var(--seed-color-bg-critical-weak);
|
|
153
|
+
color: var(--seed-color-fg-critical-contrast);
|
|
154
|
+
--seed-prefix-icon-color: var(--seed-color-fg-critical-contrast);
|
|
155
|
+
--seed-suffix-icon-color: var(--seed-color-fg-critical-contrast);
|
|
156
|
+
}
|
|
157
|
+
.seed-inline-banner__title--variant_criticalWeak {
|
|
158
|
+
color: var(--seed-color-fg-critical-contrast);
|
|
159
|
+
}
|
|
160
|
+
.seed-inline-banner__description--variant_criticalWeak {
|
|
161
|
+
color: var(--seed-color-fg-critical-contrast);
|
|
162
|
+
}
|
|
163
|
+
.seed-inline-banner__link--variant_criticalWeak {
|
|
164
|
+
color: var(--seed-color-fg-critical-contrast);
|
|
165
|
+
}
|
|
166
|
+
.seed-inline-banner__root--variant_criticalSolid {
|
|
167
|
+
background-color: var(--seed-color-bg-critical-solid);
|
|
168
|
+
color: var(--seed-color-palette-static-white);
|
|
169
|
+
--seed-prefix-icon-color: var(--seed-color-palette-static-white);
|
|
170
|
+
--seed-suffix-icon-color: var(--seed-color-palette-static-white);
|
|
171
|
+
}
|
|
172
|
+
.seed-inline-banner__title--variant_criticalSolid {
|
|
173
|
+
color: var(--seed-color-palette-static-white);
|
|
174
|
+
}
|
|
175
|
+
.seed-inline-banner__description--variant_criticalSolid {
|
|
176
|
+
color: var(--seed-color-palette-static-white);
|
|
177
|
+
}
|
|
178
|
+
.seed-inline-banner__link--variant_criticalSolid {
|
|
179
|
+
color: var(--seed-color-palette-static-white);
|
|
180
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare interface InlineBannerVariant {
|
|
2
|
+
/**
|
|
3
|
+
* @default "neutralWeak"
|
|
4
|
+
*/
|
|
5
|
+
variant: "neutralWeak" | "positiveWeak" | "informativeWeak" | "warningWeak" | "warningSolid" | "criticalWeak" | "criticalSolid";
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare type InlineBannerVariantMap = {
|
|
9
|
+
[key in keyof InlineBannerVariant]: Array<InlineBannerVariant[key]>;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export declare type InlineBannerVariantProps = Partial<InlineBannerVariant>;
|
|
13
|
+
|
|
14
|
+
export declare type InlineBannerSlotName = "root" | "content" | "title" | "description" | "link" | "closeButton";
|
|
15
|
+
|
|
16
|
+
export declare const inlineBannerVariantMap: InlineBannerVariantMap;
|
|
17
|
+
|
|
18
|
+
export declare const inlineBanner: ((
|
|
19
|
+
props?: InlineBannerVariantProps,
|
|
20
|
+
) => Record<InlineBannerSlotName, string>) & {
|
|
21
|
+
splitVariantProps: <T extends InlineBannerVariantProps>(
|
|
22
|
+
props: T,
|
|
23
|
+
) => [InlineBannerVariantProps, Omit<T, keyof InlineBannerVariantProps>];
|
|
24
|
+
}
|
|
@@ -0,0 +1,161 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-inline-banner__root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
-webkit-font-smoothing: antialiased;
|
|
5
|
+
-moz-osx-font-smoothing: grayscale;
|
|
6
|
+
text-align: start;
|
|
7
|
+
width: 100%;
|
|
8
|
+
min-height: var(--seed-dimension-x10);
|
|
9
|
+
padding-inline: var(--seed-dimension-x4);
|
|
10
|
+
padding-block: var(--seed-dimension-x2_5);
|
|
11
|
+
--seed-prefix-icon-size: var(--seed-dimension-x4);
|
|
12
|
+
--seed-prefix-icon-margin-right: var(--seed-dimension-x2);
|
|
13
|
+
--seed-prefix-icon-margin-top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * .5 - var(--seed-dimension-x2_5));
|
|
14
|
+
--seed-suffix-icon-size: var(--seed-dimension-x4);
|
|
15
|
+
--seed-suffix-icon-margin-left: var(--seed-dimension-x4);
|
|
16
|
+
--seed-suffix-icon-align-self: center;
|
|
17
|
+
border: none;
|
|
18
|
+
align-items: flex-start;
|
|
19
|
+
font-family: inherit;
|
|
20
|
+
display: flex;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.seed-inline-banner__root:is(button) {
|
|
24
|
+
cursor: pointer;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.seed-inline-banner__content {
|
|
28
|
+
margin-inline-end: auto;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.seed-inline-banner__title {
|
|
32
|
+
font-size: var(--seed-font-size-t4);
|
|
33
|
+
line-height: var(--seed-line-height-t4);
|
|
34
|
+
font-weight: var(--seed-font-weight-bold);
|
|
35
|
+
flex-shrink: 0;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.seed-inline-banner__title:after {
|
|
39
|
+
content: " ";
|
|
40
|
+
white-space: pre;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.seed-inline-banner__description {
|
|
44
|
+
font-size: var(--seed-font-size-t4);
|
|
45
|
+
line-height: var(--seed-line-height-t4);
|
|
46
|
+
font-weight: var(--seed-font-weight-medium);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.seed-inline-banner__link {
|
|
50
|
+
cursor: pointer;
|
|
51
|
+
margin-block: auto;
|
|
52
|
+
margin-left: var(--seed-dimension-x4);
|
|
53
|
+
font-family: inherit;
|
|
54
|
+
font-size: var(--seed-font-size-t2);
|
|
55
|
+
line-height: var(--seed-line-height-t2);
|
|
56
|
+
font-weight: var(--seed-font-weight-regular);
|
|
57
|
+
text-underline-offset: 2px;
|
|
58
|
+
background-color: #0000;
|
|
59
|
+
border: none;
|
|
60
|
+
flex-grow: 0;
|
|
61
|
+
flex-shrink: 0;
|
|
62
|
+
align-items: center;
|
|
63
|
+
text-decoration: underline;
|
|
64
|
+
display: flex;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.seed-inline-banner__closeButton {
|
|
68
|
+
width: var(--seed-dimension-x10);
|
|
69
|
+
height: var(--seed-dimension-x10);
|
|
70
|
+
margin: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -.5);
|
|
71
|
+
margin-left: calc((var(--seed-dimension-x10) - var(--seed-dimension-x4)) * -.5 + var(--seed-dimension-x4));
|
|
72
|
+
--seed-suffix-icon-margin-left: initial;
|
|
73
|
+
cursor: pointer;
|
|
74
|
+
background-color: #0000;
|
|
75
|
+
border: none;
|
|
76
|
+
flex-grow: 0;
|
|
77
|
+
flex-shrink: 0;
|
|
78
|
+
justify-content: center;
|
|
79
|
+
align-self: center;
|
|
80
|
+
align-items: center;
|
|
81
|
+
padding: 0;
|
|
82
|
+
display: flex;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.seed-inline-banner__root--variant_neutralWeak {
|
|
86
|
+
background-color: var(--seed-color-bg-neutral-weak);
|
|
87
|
+
color: var(--seed-color-fg-neutral);
|
|
88
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
89
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.seed-inline-banner__title--variant_neutralWeak, .seed-inline-banner__description--variant_neutralWeak, .seed-inline-banner__link--variant_neutralWeak {
|
|
93
|
+
color: var(--seed-color-fg-neutral);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.seed-inline-banner__root--variant_positiveWeak {
|
|
97
|
+
background-color: var(--seed-color-bg-positive-weak);
|
|
98
|
+
color: var(--seed-color-fg-positive-contrast);
|
|
99
|
+
--seed-prefix-icon-color: var(--seed-color-fg-positive-contrast);
|
|
100
|
+
--seed-suffix-icon-color: var(--seed-color-fg-positive-contrast);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.seed-inline-banner__title--variant_positiveWeak, .seed-inline-banner__description--variant_positiveWeak, .seed-inline-banner__link--variant_positiveWeak {
|
|
104
|
+
color: var(--seed-color-fg-positive-contrast);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.seed-inline-banner__root--variant_informativeWeak {
|
|
108
|
+
background-color: var(--seed-color-bg-informative-weak);
|
|
109
|
+
color: var(--seed-color-fg-informative-contrast);
|
|
110
|
+
--seed-prefix-icon-color: var(--seed-color-fg-informative-contrast);
|
|
111
|
+
--seed-suffix-icon-color: var(--seed-color-fg-informative-contrast);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.seed-inline-banner__title--variant_informativeWeak, .seed-inline-banner__description--variant_informativeWeak, .seed-inline-banner__link--variant_informativeWeak {
|
|
115
|
+
color: var(--seed-color-fg-informative-contrast);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
.seed-inline-banner__root--variant_warningWeak {
|
|
119
|
+
background-color: var(--seed-color-bg-warning-weak);
|
|
120
|
+
color: var(--seed-color-fg-warning-contrast);
|
|
121
|
+
--seed-prefix-icon-color: var(--seed-color-fg-warning-contrast);
|
|
122
|
+
--seed-suffix-icon-color: var(--seed-color-fg-warning-contrast);
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.seed-inline-banner__title--variant_warningWeak, .seed-inline-banner__description--variant_warningWeak, .seed-inline-banner__link--variant_warningWeak {
|
|
126
|
+
color: var(--seed-color-fg-warning-contrast);
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.seed-inline-banner__root--variant_warningSolid {
|
|
130
|
+
background-color: var(--seed-color-bg-warning-solid);
|
|
131
|
+
color: var(--seed-color-fg-neutral);
|
|
132
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
133
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.seed-inline-banner__title--variant_warningSolid, .seed-inline-banner__description--variant_warningSolid, .seed-inline-banner__link--variant_warningSolid {
|
|
137
|
+
color: var(--seed-color-fg-neutral);
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.seed-inline-banner__root--variant_criticalWeak {
|
|
141
|
+
background-color: var(--seed-color-bg-critical-weak);
|
|
142
|
+
color: var(--seed-color-fg-critical-contrast);
|
|
143
|
+
--seed-prefix-icon-color: var(--seed-color-fg-critical-contrast);
|
|
144
|
+
--seed-suffix-icon-color: var(--seed-color-fg-critical-contrast);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.seed-inline-banner__title--variant_criticalWeak, .seed-inline-banner__description--variant_criticalWeak, .seed-inline-banner__link--variant_criticalWeak {
|
|
148
|
+
color: var(--seed-color-fg-critical-contrast);
|
|
149
|
+
}
|
|
150
|
+
|
|
151
|
+
.seed-inline-banner__root--variant_criticalSolid {
|
|
152
|
+
background-color: var(--seed-color-bg-critical-solid);
|
|
153
|
+
color: var(--seed-color-palette-static-white);
|
|
154
|
+
--seed-prefix-icon-color: var(--seed-color-palette-static-white);
|
|
155
|
+
--seed-suffix-icon-color: var(--seed-color-palette-static-white);
|
|
156
|
+
}
|
|
157
|
+
|
|
158
|
+
.seed-inline-banner__title--variant_criticalSolid, .seed-inline-banner__description--variant_criticalSolid, .seed-inline-banner__link--variant_criticalSolid {
|
|
159
|
+
color: var(--seed-color-palette-static-white);
|
|
160
|
+
}
|
|
161
|
+
}
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import './inline-banner.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const inlineBannerSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-inline-banner__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"content",
|
|
11
|
+
"seed-inline-banner__content"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"title",
|
|
15
|
+
"seed-inline-banner__title"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"description",
|
|
19
|
+
"seed-inline-banner__description"
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"link",
|
|
23
|
+
"seed-inline-banner__link"
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"closeButton",
|
|
27
|
+
"seed-inline-banner__closeButton"
|
|
28
|
+
]
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
const defaultVariant = {
|
|
32
|
+
"variant": "neutralWeak"
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const compoundVariants = [];
|
|
36
|
+
|
|
37
|
+
export const inlineBannerVariantMap = {
|
|
38
|
+
"variant": [
|
|
39
|
+
"neutralWeak",
|
|
40
|
+
"positiveWeak",
|
|
41
|
+
"informativeWeak",
|
|
42
|
+
"warningWeak",
|
|
43
|
+
"warningSolid",
|
|
44
|
+
"criticalWeak",
|
|
45
|
+
"criticalSolid"
|
|
46
|
+
]
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export const inlineBannerVariantKeys = Object.keys(inlineBannerVariantMap);
|
|
50
|
+
|
|
51
|
+
export function inlineBanner(props) {
|
|
52
|
+
return Object.fromEntries(
|
|
53
|
+
inlineBannerSlotNames.map(([slot, className]) => {
|
|
54
|
+
return [
|
|
55
|
+
slot,
|
|
56
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
57
|
+
];
|
|
58
|
+
}),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
Object.assign(inlineBanner, { splitVariantProps: (props) => splitVariantProps(props, inlineBannerVariantMap) });
|
|
63
|
+
|
|
64
|
+
// @recipe(seed): inline-banner
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import './inline-banner.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const inlineBannerSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-inline-banner__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"content",
|
|
11
|
+
"seed-inline-banner__content"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"title",
|
|
15
|
+
"seed-inline-banner__title"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"description",
|
|
19
|
+
"seed-inline-banner__description"
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"link",
|
|
23
|
+
"seed-inline-banner__link"
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"closeButton",
|
|
27
|
+
"seed-inline-banner__closeButton"
|
|
28
|
+
]
|
|
29
|
+
];
|
|
30
|
+
|
|
31
|
+
const defaultVariant = {
|
|
32
|
+
"variant": "neutralWeak"
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
const compoundVariants = [];
|
|
36
|
+
|
|
37
|
+
export const inlineBannerVariantMap = {
|
|
38
|
+
"variant": [
|
|
39
|
+
"neutralWeak",
|
|
40
|
+
"positiveWeak",
|
|
41
|
+
"informativeWeak",
|
|
42
|
+
"warningWeak",
|
|
43
|
+
"warningSolid",
|
|
44
|
+
"criticalWeak",
|
|
45
|
+
"criticalSolid"
|
|
46
|
+
]
|
|
47
|
+
};
|
|
48
|
+
|
|
49
|
+
export const inlineBannerVariantKeys = Object.keys(inlineBannerVariantMap);
|
|
50
|
+
|
|
51
|
+
export function inlineBanner(props) {
|
|
52
|
+
return Object.fromEntries(
|
|
53
|
+
inlineBannerSlotNames.map(([slot, className]) => {
|
|
54
|
+
return [
|
|
55
|
+
slot,
|
|
56
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
57
|
+
];
|
|
58
|
+
}),
|
|
59
|
+
);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
Object.assign(inlineBanner, { splitVariantProps: (props) => splitVariantProps(props, inlineBannerVariantMap) });
|
|
63
|
+
|
|
64
|
+
// @recipe(seed): inline-banner
|