@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,19 @@
|
|
|
1
|
+
.seed-identity-placeholder__root {
|
|
2
|
+
box-sizing: border-box;
|
|
3
|
+
position: relative;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: center;
|
|
7
|
+
vertical-align: top;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
background-color: var(--seed-color-palette-gray-500)
|
|
11
|
+
}
|
|
12
|
+
.seed-identity-placeholder__image {
|
|
13
|
+
display: block;
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%;
|
|
16
|
+
object-fit: cover;
|
|
17
|
+
overflow: hidden;
|
|
18
|
+
fill: var(--seed-color-palette-static-white-alpha-800)
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare interface IdentityPlaceholderVariant {
|
|
2
|
+
/**
|
|
3
|
+
* @default "person"
|
|
4
|
+
*/
|
|
5
|
+
identity: "person" | "business";
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare type IdentityPlaceholderVariantMap = {
|
|
9
|
+
[key in keyof IdentityPlaceholderVariant]: Array<IdentityPlaceholderVariant[key]>;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export declare type IdentityPlaceholderVariantProps = Partial<IdentityPlaceholderVariant>;
|
|
13
|
+
|
|
14
|
+
export declare type IdentityPlaceholderSlotName = "root" | "image";
|
|
15
|
+
|
|
16
|
+
export declare const identityPlaceholderVariantMap: IdentityPlaceholderVariantMap;
|
|
17
|
+
|
|
18
|
+
export declare const identityPlaceholder: ((
|
|
19
|
+
props?: IdentityPlaceholderVariantProps,
|
|
20
|
+
) => Record<IdentityPlaceholderSlotName, string>) & {
|
|
21
|
+
splitVariantProps: <T extends IdentityPlaceholderVariantProps>(
|
|
22
|
+
props: T,
|
|
23
|
+
) => [IdentityPlaceholderVariantProps, Omit<T, keyof IdentityPlaceholderVariantProps>];
|
|
24
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-identity-placeholder__root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
vertical-align: top;
|
|
5
|
+
background-color: var(--seed-color-palette-gray-500);
|
|
6
|
+
justify-content: center;
|
|
7
|
+
align-items: center;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
display: inline-flex;
|
|
11
|
+
position: relative;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.seed-identity-placeholder__image {
|
|
15
|
+
object-fit: cover;
|
|
16
|
+
width: 100%;
|
|
17
|
+
height: 100%;
|
|
18
|
+
fill: var(--seed-color-palette-static-white-alpha-800);
|
|
19
|
+
display: block;
|
|
20
|
+
overflow: hidden;
|
|
21
|
+
}
|
|
22
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import './identity-placeholder.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const identityPlaceholderSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-identity-placeholder__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"image",
|
|
11
|
+
"seed-identity-placeholder__image"
|
|
12
|
+
]
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const defaultVariant = {
|
|
16
|
+
"identity": "person"
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const compoundVariants = [];
|
|
20
|
+
|
|
21
|
+
export const identityPlaceholderVariantMap = {
|
|
22
|
+
"identity": [
|
|
23
|
+
"person",
|
|
24
|
+
"business"
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const identityPlaceholderVariantKeys = Object.keys(identityPlaceholderVariantMap);
|
|
29
|
+
|
|
30
|
+
export function identityPlaceholder(props) {
|
|
31
|
+
return Object.fromEntries(
|
|
32
|
+
identityPlaceholderSlotNames.map(([slot, className]) => {
|
|
33
|
+
return [
|
|
34
|
+
slot,
|
|
35
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
36
|
+
];
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
Object.assign(identityPlaceholder, { splitVariantProps: (props) => splitVariantProps(props, identityPlaceholderVariantMap) });
|
|
42
|
+
|
|
43
|
+
// @recipe(seed): identity-placeholder
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import './identity-placeholder.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const identityPlaceholderSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-identity-placeholder__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"image",
|
|
11
|
+
"seed-identity-placeholder__image"
|
|
12
|
+
]
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const defaultVariant = {
|
|
16
|
+
"identity": "person"
|
|
17
|
+
};
|
|
18
|
+
|
|
19
|
+
const compoundVariants = [];
|
|
20
|
+
|
|
21
|
+
export const identityPlaceholderVariantMap = {
|
|
22
|
+
"identity": [
|
|
23
|
+
"person",
|
|
24
|
+
"business"
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const identityPlaceholderVariantKeys = Object.keys(identityPlaceholderVariantMap);
|
|
29
|
+
|
|
30
|
+
export function identityPlaceholder(props) {
|
|
31
|
+
return Object.fromEntries(
|
|
32
|
+
identityPlaceholderSlotNames.map(([slot, className]) => {
|
|
33
|
+
return [
|
|
34
|
+
slot,
|
|
35
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
36
|
+
];
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
Object.assign(identityPlaceholder, { splitVariantProps: (props) => splitVariantProps(props, identityPlaceholderVariantMap) });
|
|
42
|
+
|
|
43
|
+
// @recipe(seed): identity-placeholder
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare interface ImageFrameIconVariant {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
declare type ImageFrameIconVariantMap = {
|
|
6
|
+
[key in keyof ImageFrameIconVariant]: Array<ImageFrameIconVariant[key]>;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export declare type ImageFrameIconVariantProps = Partial<ImageFrameIconVariant>;
|
|
10
|
+
|
|
11
|
+
export declare const imageFrameIconVariantMap: ImageFrameIconVariantMap;
|
|
12
|
+
|
|
13
|
+
export declare const imageFrameIcon: ((
|
|
14
|
+
props?: ImageFrameIconVariantProps,
|
|
15
|
+
) => string) & {
|
|
16
|
+
splitVariantProps: <T extends ImageFrameIconVariantProps>(
|
|
17
|
+
props: T,
|
|
18
|
+
) => [ImageFrameIconVariantProps, Omit<T, keyof ImageFrameIconVariantProps>];
|
|
19
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './image-frame-icon.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const defaultVariant = {};
|
|
5
|
+
|
|
6
|
+
const compoundVariants = [];
|
|
7
|
+
|
|
8
|
+
export const imageFrameIconVariantMap = {};
|
|
9
|
+
|
|
10
|
+
export const imageFrameIconVariantKeys = Object.keys(imageFrameIconVariantMap);
|
|
11
|
+
|
|
12
|
+
export function imageFrameIcon(props) {
|
|
13
|
+
return createClassName(
|
|
14
|
+
"seed-image-frame-icon",
|
|
15
|
+
mergeVariants(defaultVariant, props),
|
|
16
|
+
compoundVariants,
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
Object.assign(imageFrameIcon, { splitVariantProps: (props) => splitVariantProps(props, imageFrameIconVariantMap) });
|
|
21
|
+
|
|
22
|
+
// @recipe(seed): image-frame-icon
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './image-frame-icon.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const defaultVariant = {};
|
|
5
|
+
|
|
6
|
+
const compoundVariants = [];
|
|
7
|
+
|
|
8
|
+
export const imageFrameIconVariantMap = {};
|
|
9
|
+
|
|
10
|
+
export const imageFrameIconVariantKeys = Object.keys(imageFrameIconVariantMap);
|
|
11
|
+
|
|
12
|
+
export function imageFrameIcon(props) {
|
|
13
|
+
return createClassName(
|
|
14
|
+
"seed-image-frame-icon",
|
|
15
|
+
mergeVariants(defaultVariant, props),
|
|
16
|
+
compoundVariants,
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
Object.assign(imageFrameIcon, { splitVariantProps: (props) => splitVariantProps(props, imageFrameIconVariantMap) });
|
|
21
|
+
|
|
22
|
+
// @recipe(seed): image-frame-icon
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
.seed-image-frame-indicator {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
background-color: var(--seed-color-palette-static-black-alpha-800);
|
|
7
|
+
color: var(--seed-color-palette-static-white);
|
|
8
|
+
border-radius: var(--seed-radius-full);
|
|
9
|
+
padding-left: var(--seed-dimension-x1_5);
|
|
10
|
+
padding-right: var(--seed-dimension-x1_5);
|
|
11
|
+
padding-top: var(--seed-dimension-x0_5);
|
|
12
|
+
padding-bottom: var(--seed-dimension-x0_5);
|
|
13
|
+
font-size: var(--seed-font-size-t1);
|
|
14
|
+
line-height: var(--seed-line-height-t1);
|
|
15
|
+
font-weight: var(--seed-font-weight-medium)
|
|
16
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
declare interface ImageFrameIndicatorVariant {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
declare type ImageFrameIndicatorVariantMap = {
|
|
6
|
+
[key in keyof ImageFrameIndicatorVariant]: Array<ImageFrameIndicatorVariant[key]>;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export declare type ImageFrameIndicatorVariantProps = Partial<ImageFrameIndicatorVariant>;
|
|
10
|
+
|
|
11
|
+
export declare const imageFrameIndicatorVariantMap: ImageFrameIndicatorVariantMap;
|
|
12
|
+
|
|
13
|
+
export declare const imageFrameIndicator: ((
|
|
14
|
+
props?: ImageFrameIndicatorVariantProps,
|
|
15
|
+
) => string) & {
|
|
16
|
+
splitVariantProps: <T extends ImageFrameIndicatorVariantProps>(
|
|
17
|
+
props: T,
|
|
18
|
+
) => [ImageFrameIndicatorVariantProps, Omit<T, keyof ImageFrameIndicatorVariantProps>];
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-image-frame-indicator {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
background-color: var(--seed-color-palette-static-black-alpha-800);
|
|
5
|
+
color: var(--seed-color-palette-static-white);
|
|
6
|
+
border-radius: var(--seed-radius-full);
|
|
7
|
+
padding-left: var(--seed-dimension-x1_5);
|
|
8
|
+
padding-right: var(--seed-dimension-x1_5);
|
|
9
|
+
padding-top: var(--seed-dimension-x0_5);
|
|
10
|
+
padding-bottom: var(--seed-dimension-x0_5);
|
|
11
|
+
font-size: var(--seed-font-size-t1);
|
|
12
|
+
line-height: var(--seed-line-height-t1);
|
|
13
|
+
font-weight: var(--seed-font-weight-medium);
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
display: inline-flex;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './image-frame-indicator.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const defaultVariant = {};
|
|
5
|
+
|
|
6
|
+
const compoundVariants = [];
|
|
7
|
+
|
|
8
|
+
export const imageFrameIndicatorVariantMap = {};
|
|
9
|
+
|
|
10
|
+
export const imageFrameIndicatorVariantKeys = Object.keys(imageFrameIndicatorVariantMap);
|
|
11
|
+
|
|
12
|
+
export function imageFrameIndicator(props) {
|
|
13
|
+
return createClassName(
|
|
14
|
+
"seed-image-frame-indicator",
|
|
15
|
+
mergeVariants(defaultVariant, props),
|
|
16
|
+
compoundVariants,
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
Object.assign(imageFrameIndicator, { splitVariantProps: (props) => splitVariantProps(props, imageFrameIndicatorVariantMap) });
|
|
21
|
+
|
|
22
|
+
// @recipe(seed): image-frame-indicator
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import './image-frame-indicator.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const defaultVariant = {};
|
|
5
|
+
|
|
6
|
+
const compoundVariants = [];
|
|
7
|
+
|
|
8
|
+
export const imageFrameIndicatorVariantMap = {};
|
|
9
|
+
|
|
10
|
+
export const imageFrameIndicatorVariantKeys = Object.keys(imageFrameIndicatorVariantMap);
|
|
11
|
+
|
|
12
|
+
export function imageFrameIndicator(props) {
|
|
13
|
+
return createClassName(
|
|
14
|
+
"seed-image-frame-indicator",
|
|
15
|
+
mergeVariants(defaultVariant, props),
|
|
16
|
+
compoundVariants,
|
|
17
|
+
);
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
Object.assign(imageFrameIndicator, { splitVariantProps: (props) => splitVariantProps(props, imageFrameIndicatorVariantMap) });
|
|
21
|
+
|
|
22
|
+
// @recipe(seed): image-frame-indicator
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
.seed-image-frame-reaction-button__root {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
cursor: pointer;
|
|
7
|
+
border: none;
|
|
8
|
+
padding: 0;
|
|
9
|
+
position: relative;
|
|
10
|
+
width: var(--seed-dimension-x6);
|
|
11
|
+
height: var(--seed-dimension-x6);
|
|
12
|
+
background: transparent;
|
|
13
|
+
}
|
|
14
|
+
.seed-image-frame-reaction-button__root::before {
|
|
15
|
+
content: '';
|
|
16
|
+
position: absolute;
|
|
17
|
+
top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
18
|
+
right: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
19
|
+
bottom: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
20
|
+
left: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
21
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
22
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
23
|
+
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
24
|
+
}
|
|
25
|
+
.seed-image-frame-reaction-button__root:is(:focus, [data-focus]) {
|
|
26
|
+
outline: none;
|
|
27
|
+
}
|
|
28
|
+
.seed-image-frame-reaction-button__root:is(:focus-visible, [data-focus-visible]):before {
|
|
29
|
+
border-radius: var(--seed-radius-r1);
|
|
30
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
31
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
32
|
+
}
|
|
33
|
+
.seed-image-frame-reaction-button__fillIcon {
|
|
34
|
+
position: absolute;
|
|
35
|
+
inset: 0;
|
|
36
|
+
margin: auto;
|
|
37
|
+
width: var(--seed-dimension-x6);
|
|
38
|
+
height: var(--seed-dimension-x6);
|
|
39
|
+
pointer-events: none;
|
|
40
|
+
}
|
|
41
|
+
.seed-image-frame-reaction-button__lineIcon {
|
|
42
|
+
position: absolute;
|
|
43
|
+
inset: 0;
|
|
44
|
+
margin: auto;
|
|
45
|
+
width: var(--seed-dimension-x6);
|
|
46
|
+
height: var(--seed-dimension-x6);
|
|
47
|
+
color: var(--seed-color-palette-static-white);
|
|
48
|
+
pointer-events: none;
|
|
49
|
+
}
|
|
50
|
+
.seed-image-frame-reaction-button__lineIcon:is([aria-pressed=true], [data-pressed]) {
|
|
51
|
+
color: var(--seed-color-bg-transparent);
|
|
52
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
declare interface ImageFrameReactionButtonVariant {
|
|
2
|
+
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
declare type ImageFrameReactionButtonVariantMap = {
|
|
6
|
+
[key in keyof ImageFrameReactionButtonVariant]: Array<ImageFrameReactionButtonVariant[key]>;
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
export declare type ImageFrameReactionButtonVariantProps = Partial<ImageFrameReactionButtonVariant>;
|
|
10
|
+
|
|
11
|
+
export declare type ImageFrameReactionButtonSlotName = "root" | "fillIcon" | "lineIcon";
|
|
12
|
+
|
|
13
|
+
export declare const imageFrameReactionButtonVariantMap: ImageFrameReactionButtonVariantMap;
|
|
14
|
+
|
|
15
|
+
export declare const imageFrameReactionButton: ((
|
|
16
|
+
props?: ImageFrameReactionButtonVariantProps,
|
|
17
|
+
) => Record<ImageFrameReactionButtonSlotName, string>) & {
|
|
18
|
+
splitVariantProps: <T extends ImageFrameReactionButtonVariantProps>(
|
|
19
|
+
props: T,
|
|
20
|
+
) => [ImageFrameReactionButtonVariantProps, Omit<T, keyof ImageFrameReactionButtonVariantProps>];
|
|
21
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-image-frame-reaction-button__root {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
width: var(--seed-dimension-x6);
|
|
6
|
+
height: var(--seed-dimension-x6);
|
|
7
|
+
background: none;
|
|
8
|
+
border: none;
|
|
9
|
+
justify-content: center;
|
|
10
|
+
align-items: center;
|
|
11
|
+
padding: 0;
|
|
12
|
+
display: inline-flex;
|
|
13
|
+
position: relative;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.seed-image-frame-reaction-button__root:before {
|
|
17
|
+
content: "";
|
|
18
|
+
top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
19
|
+
right: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
20
|
+
bottom: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
21
|
+
left: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
22
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
23
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
24
|
+
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
25
|
+
position: absolute;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.seed-image-frame-reaction-button__root:is(:focus, [data-focus]) {
|
|
29
|
+
outline: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.seed-image-frame-reaction-button__root:is(:focus-visible, [data-focus-visible]):before {
|
|
33
|
+
border-radius: var(--seed-radius-r1);
|
|
34
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
35
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.seed-image-frame-reaction-button__fillIcon {
|
|
39
|
+
width: var(--seed-dimension-x6);
|
|
40
|
+
height: var(--seed-dimension-x6);
|
|
41
|
+
pointer-events: none;
|
|
42
|
+
margin: auto;
|
|
43
|
+
position: absolute;
|
|
44
|
+
inset: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.seed-image-frame-reaction-button__lineIcon {
|
|
48
|
+
width: var(--seed-dimension-x6);
|
|
49
|
+
height: var(--seed-dimension-x6);
|
|
50
|
+
color: var(--seed-color-palette-static-white);
|
|
51
|
+
pointer-events: none;
|
|
52
|
+
margin: auto;
|
|
53
|
+
position: absolute;
|
|
54
|
+
inset: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.seed-image-frame-reaction-button__lineIcon:is([aria-pressed="true"], [data-pressed]) {
|
|
58
|
+
color: var(--seed-color-bg-transparent);
|
|
59
|
+
}
|
|
60
|
+
}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import './image-frame-reaction-button.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const imageFrameReactionButtonSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame-reaction-button__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"fillIcon",
|
|
11
|
+
"seed-image-frame-reaction-button__fillIcon"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"lineIcon",
|
|
15
|
+
"seed-image-frame-reaction-button__lineIcon"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
const defaultVariant = {};
|
|
20
|
+
|
|
21
|
+
const compoundVariants = [];
|
|
22
|
+
|
|
23
|
+
export const imageFrameReactionButtonVariantMap = {};
|
|
24
|
+
|
|
25
|
+
export const imageFrameReactionButtonVariantKeys = Object.keys(imageFrameReactionButtonVariantMap);
|
|
26
|
+
|
|
27
|
+
export function imageFrameReactionButton(props) {
|
|
28
|
+
return Object.fromEntries(
|
|
29
|
+
imageFrameReactionButtonSlotNames.map(([slot, className]) => {
|
|
30
|
+
return [
|
|
31
|
+
slot,
|
|
32
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
33
|
+
];
|
|
34
|
+
}),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
Object.assign(imageFrameReactionButton, { splitVariantProps: (props) => splitVariantProps(props, imageFrameReactionButtonVariantMap) });
|
|
39
|
+
|
|
40
|
+
// @recipe(seed): image-frame-reaction-button
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
import './image-frame-reaction-button.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const imageFrameReactionButtonSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame-reaction-button__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"fillIcon",
|
|
11
|
+
"seed-image-frame-reaction-button__fillIcon"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"lineIcon",
|
|
15
|
+
"seed-image-frame-reaction-button__lineIcon"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
19
|
+
const defaultVariant = {};
|
|
20
|
+
|
|
21
|
+
const compoundVariants = [];
|
|
22
|
+
|
|
23
|
+
export const imageFrameReactionButtonVariantMap = {};
|
|
24
|
+
|
|
25
|
+
export const imageFrameReactionButtonVariantKeys = Object.keys(imageFrameReactionButtonVariantMap);
|
|
26
|
+
|
|
27
|
+
export function imageFrameReactionButton(props) {
|
|
28
|
+
return Object.fromEntries(
|
|
29
|
+
imageFrameReactionButtonSlotNames.map(([slot, className]) => {
|
|
30
|
+
return [
|
|
31
|
+
slot,
|
|
32
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
33
|
+
];
|
|
34
|
+
}),
|
|
35
|
+
);
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
Object.assign(imageFrameReactionButton, { splitVariantProps: (props) => splitVariantProps(props, imageFrameReactionButtonVariantMap) });
|
|
39
|
+
|
|
40
|
+
// @recipe(seed): image-frame-reaction-button
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
.seed-image-frame__root {
|
|
2
|
+
position: relative;
|
|
3
|
+
overflow: hidden;
|
|
4
|
+
border-radius: inherit
|
|
5
|
+
}
|
|
6
|
+
.seed-image-frame__content {
|
|
7
|
+
display: block;
|
|
8
|
+
width: 100%;
|
|
9
|
+
height: 100%;
|
|
10
|
+
object-fit: cover;
|
|
11
|
+
border-radius: inherit
|
|
12
|
+
}
|
|
13
|
+
.seed-image-frame__fallback {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%
|
|
16
|
+
}
|
|
17
|
+
.seed-image-frame__root--stroke_true::after {
|
|
18
|
+
content: '';
|
|
19
|
+
position: absolute;
|
|
20
|
+
top: 0;
|
|
21
|
+
left: 0;
|
|
22
|
+
right: 0;
|
|
23
|
+
bottom: 0;
|
|
24
|
+
pointer-events: none;
|
|
25
|
+
border-radius: inherit;
|
|
26
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle)
|
|
27
|
+
}
|
|
28
|
+
.seed-image-frame__root--rounded_true {
|
|
29
|
+
border-radius: var(--seed-radius-r2)
|
|
30
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare interface ImageFrameVariant {
|
|
2
|
+
/**
|
|
3
|
+
* @default false
|
|
4
|
+
*/
|
|
5
|
+
stroke: boolean;
|
|
6
|
+
/**
|
|
7
|
+
* @default false
|
|
8
|
+
*/
|
|
9
|
+
rounded: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare type ImageFrameVariantMap = {
|
|
13
|
+
[key in keyof ImageFrameVariant]: Array<ImageFrameVariant[key]>;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export declare type ImageFrameVariantProps = Partial<ImageFrameVariant>;
|
|
17
|
+
|
|
18
|
+
export declare type ImageFrameSlotName = "root" | "content" | "fallback";
|
|
19
|
+
|
|
20
|
+
export declare const imageFrameVariantMap: ImageFrameVariantMap;
|
|
21
|
+
|
|
22
|
+
export declare const imageFrame: ((
|
|
23
|
+
props?: ImageFrameVariantProps,
|
|
24
|
+
) => Record<ImageFrameSlotName, string>) & {
|
|
25
|
+
splitVariantProps: <T extends ImageFrameVariantProps>(
|
|
26
|
+
props: T,
|
|
27
|
+
) => [ImageFrameVariantProps, Omit<T, keyof ImageFrameVariantProps>];
|
|
28
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-image-frame__root {
|
|
3
|
+
border-radius: inherit;
|
|
4
|
+
position: relative;
|
|
5
|
+
overflow: hidden;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
.seed-image-frame__content {
|
|
9
|
+
object-fit: cover;
|
|
10
|
+
border-radius: inherit;
|
|
11
|
+
width: 100%;
|
|
12
|
+
height: 100%;
|
|
13
|
+
display: block;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.seed-image-frame__fallback {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.seed-image-frame__root--stroke_true:after {
|
|
22
|
+
content: "";
|
|
23
|
+
pointer-events: none;
|
|
24
|
+
border-radius: inherit;
|
|
25
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle);
|
|
26
|
+
position: absolute;
|
|
27
|
+
inset: 0;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.seed-image-frame__root--rounded_true {
|
|
31
|
+
border-radius: var(--seed-radius-r2);
|
|
32
|
+
}
|
|
33
|
+
}
|