@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,291 @@
|
|
|
1
|
+
.seed-app-bar__root {
|
|
2
|
+
z-index: var(--z-index-app-bar);
|
|
3
|
+
top: 0;
|
|
4
|
+
position: absolute;
|
|
5
|
+
box-sizing: border-box;
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
align-items: flex-end;
|
|
9
|
+
}
|
|
10
|
+
.seed-app-bar__root:before {
|
|
11
|
+
content: "";
|
|
12
|
+
position: absolute;
|
|
13
|
+
pointer-events: none;
|
|
14
|
+
top: 0;
|
|
15
|
+
right: 0;
|
|
16
|
+
bottom: 0;
|
|
17
|
+
left: 0;
|
|
18
|
+
z-index: -1;
|
|
19
|
+
}
|
|
20
|
+
.seed-app-bar__left {
|
|
21
|
+
display: flex;
|
|
22
|
+
align-items: center;
|
|
23
|
+
height: 100%;
|
|
24
|
+
}
|
|
25
|
+
.seed-app-bar__right {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
height: 100%;
|
|
29
|
+
margin-left: auto;
|
|
30
|
+
}
|
|
31
|
+
.seed-app-bar__iconButton {
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
justify-content: center;
|
|
35
|
+
border: none;
|
|
36
|
+
background: none;
|
|
37
|
+
font-family: inherit;
|
|
38
|
+
padding: 0;
|
|
39
|
+
border-radius: var(--seed-radius-r1);
|
|
40
|
+
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
41
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
42
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
43
|
+
}
|
|
44
|
+
.seed-app-bar__iconButton:is(:focus-visible, [data-focus-visible]) {
|
|
45
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
46
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
47
|
+
}
|
|
48
|
+
.seed-app-bar__icon {
|
|
49
|
+
display: inline-block;
|
|
50
|
+
flex-shrink: 0;
|
|
51
|
+
}
|
|
52
|
+
.seed-app-bar__root--theme_cupertino {
|
|
53
|
+
height: calc(44px + var(--seed-safe-area-top));
|
|
54
|
+
padding-left: var(--seed-dimension-x4);
|
|
55
|
+
padding-right: var(--seed-dimension-x4);
|
|
56
|
+
padding-top: var(--seed-safe-area-top);
|
|
57
|
+
}
|
|
58
|
+
.seed-app-bar__iconButton--theme_cupertino {
|
|
59
|
+
width: 44px;
|
|
60
|
+
height: 44px;
|
|
61
|
+
}
|
|
62
|
+
.seed-app-bar__iconButton--theme_cupertino:first-child {
|
|
63
|
+
margin-left: calc(-1 * (44px - 24px) / 2);
|
|
64
|
+
}
|
|
65
|
+
.seed-app-bar__iconButton--theme_cupertino:last-child {
|
|
66
|
+
margin-right: calc(-1 * (44px - 24px) / 2);
|
|
67
|
+
}
|
|
68
|
+
.seed-app-bar__icon--theme_cupertino {
|
|
69
|
+
width: var(--seed-icon-size, 24px);
|
|
70
|
+
height: var(--seed-icon-size, 24px);
|
|
71
|
+
}
|
|
72
|
+
.seed-app-bar__root--theme_android {
|
|
73
|
+
height: calc(56px + var(--seed-safe-area-top));
|
|
74
|
+
padding-left: var(--seed-dimension-x4);
|
|
75
|
+
padding-right: var(--seed-dimension-x4);
|
|
76
|
+
padding-top: var(--seed-safe-area-top);
|
|
77
|
+
}
|
|
78
|
+
.seed-app-bar__iconButton--theme_android {
|
|
79
|
+
width: 44px;
|
|
80
|
+
height: 44px;
|
|
81
|
+
}
|
|
82
|
+
.seed-app-bar__iconButton--theme_android:first-child {
|
|
83
|
+
margin-left: calc(-1 * (44px - 24px) / 2);
|
|
84
|
+
}
|
|
85
|
+
.seed-app-bar__iconButton--theme_android:last-child {
|
|
86
|
+
margin-right: calc(-1 * (44px - 24px) / 2);
|
|
87
|
+
}
|
|
88
|
+
.seed-app-bar__icon--theme_android {
|
|
89
|
+
width: var(--seed-icon-size, 24px);
|
|
90
|
+
height: var(--seed-icon-size, 24px);
|
|
91
|
+
}
|
|
92
|
+
.seed-app-bar__left--theme_android {
|
|
93
|
+
padding-right: 16px;
|
|
94
|
+
}
|
|
95
|
+
[data-global-transition-state=enter-active] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
96
|
+
animation: seed-enter;
|
|
97
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
98
|
+
animation-duration: 350ms;
|
|
99
|
+
--seed-enter-translate-x: 100%;
|
|
100
|
+
--seed-enter-translate-y: 0;
|
|
101
|
+
--seed-enter-opacity: 1;
|
|
102
|
+
--seed-enter-scale: 1;
|
|
103
|
+
transform: translate3d(0, 0, 0);
|
|
104
|
+
}
|
|
105
|
+
[data-global-transition-state=exit-active] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
106
|
+
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
107
|
+
animation: seed-exit;
|
|
108
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
109
|
+
animation-duration: 350ms;
|
|
110
|
+
animation-fill-mode: forwards;
|
|
111
|
+
--seed-exit-translate-x: 100%;
|
|
112
|
+
--seed-exit-translate-y: 0;
|
|
113
|
+
--seed-exit-opacity: 1;
|
|
114
|
+
--seed-exit-scale: 1;
|
|
115
|
+
}
|
|
116
|
+
[data-global-transition-state=enter-done] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
117
|
+
animation: seed-enter;
|
|
118
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
119
|
+
animation-duration: 350ms;
|
|
120
|
+
--seed-enter-translate-x: var(--swipe-back-displacement, 0);
|
|
121
|
+
--seed-enter-translate-y: 0;
|
|
122
|
+
--seed-enter-opacity: 1;
|
|
123
|
+
--seed-enter-scale: 1;
|
|
124
|
+
transform: translate3d(0, 0, 0);
|
|
125
|
+
}
|
|
126
|
+
[data-swipe-back-state=swiping] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
127
|
+
animation: none;
|
|
128
|
+
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
129
|
+
}
|
|
130
|
+
[data-swipe-back-state=canceling] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
131
|
+
animation: none !important;
|
|
132
|
+
transform: translate3d(0, 0, 0);
|
|
133
|
+
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
134
|
+
}
|
|
135
|
+
[data-swipe-back-state=completing] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
136
|
+
animation: none !important;
|
|
137
|
+
transform: translate3d(100%, 0, 0);
|
|
138
|
+
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
139
|
+
}
|
|
140
|
+
[data-global-transition-state=enter-active] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
141
|
+
animation: seed-enter;
|
|
142
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
143
|
+
animation-duration: 350ms;
|
|
144
|
+
--seed-enter-translate-x: 0;
|
|
145
|
+
--seed-enter-translate-y: 0;
|
|
146
|
+
--seed-enter-opacity: 0;
|
|
147
|
+
--seed-enter-scale: 1;
|
|
148
|
+
opacity: 1;
|
|
149
|
+
}
|
|
150
|
+
[data-global-transition-state=exit-active] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
151
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * 0.15), 0, 0);
|
|
152
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
153
|
+
animation: seed-exit;
|
|
154
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
155
|
+
animation-duration: 350ms;
|
|
156
|
+
animation-fill-mode: forwards;
|
|
157
|
+
--seed-exit-translate-x: 0;
|
|
158
|
+
--seed-exit-translate-y: 0;
|
|
159
|
+
--seed-exit-opacity: 0;
|
|
160
|
+
--seed-exit-scale: 1;
|
|
161
|
+
}
|
|
162
|
+
[data-global-transition-state=enter-done] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
163
|
+
animation: seed-enter;
|
|
164
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
165
|
+
animation-duration: 350ms;
|
|
166
|
+
--seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * 0.15);
|
|
167
|
+
--seed-enter-translate-y: 0;
|
|
168
|
+
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
169
|
+
--seed-enter-scale: 1;
|
|
170
|
+
opacity: 1;
|
|
171
|
+
}
|
|
172
|
+
[data-swipe-back-state=swiping] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
173
|
+
animation: none;
|
|
174
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * 0.15), 0, 0);
|
|
175
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
176
|
+
}
|
|
177
|
+
[data-swipe-back-state=canceling] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
178
|
+
animation: none !important;
|
|
179
|
+
opacity: 1;
|
|
180
|
+
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
181
|
+
}
|
|
182
|
+
[data-swipe-back-state=completing] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
183
|
+
animation: none !important;
|
|
184
|
+
opacity: 0;
|
|
185
|
+
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
186
|
+
}
|
|
187
|
+
[data-global-transition-state=enter-active][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
188
|
+
opacity: 1;
|
|
189
|
+
animation: seed-exit;
|
|
190
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
191
|
+
animation-duration: 350ms;
|
|
192
|
+
animation-fill-mode: forwards;
|
|
193
|
+
--seed-exit-translate-x: 0;
|
|
194
|
+
--seed-exit-translate-y: 0;
|
|
195
|
+
--seed-exit-opacity: 0;
|
|
196
|
+
--seed-exit-scale: 1;
|
|
197
|
+
}
|
|
198
|
+
[data-global-transition-state=exit-active][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
199
|
+
animation: seed-enter;
|
|
200
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
201
|
+
animation-duration: 350ms;
|
|
202
|
+
--seed-enter-translate-x: 0;
|
|
203
|
+
--seed-enter-translate-y: 0;
|
|
204
|
+
--seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
205
|
+
--seed-enter-scale: 1;
|
|
206
|
+
opacity: 1;
|
|
207
|
+
}
|
|
208
|
+
[data-global-transition-state=enter-done][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
209
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
210
|
+
animation: seed-exit;
|
|
211
|
+
animation-timing-function: cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
212
|
+
animation-duration: 350ms;
|
|
213
|
+
animation-fill-mode: forwards;
|
|
214
|
+
--seed-exit-translate-x: 0;
|
|
215
|
+
--seed-exit-translate-y: 0;
|
|
216
|
+
--seed-exit-opacity: 0;
|
|
217
|
+
--seed-exit-scale: 1;
|
|
218
|
+
}
|
|
219
|
+
[data-swipe-back-state=swiping] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
220
|
+
animation: none;
|
|
221
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
222
|
+
}
|
|
223
|
+
[data-swipe-back-state=canceling] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
224
|
+
animation: none !important;
|
|
225
|
+
opacity: 0;
|
|
226
|
+
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
227
|
+
}
|
|
228
|
+
[data-swipe-back-state=completing] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
229
|
+
animation: none !important;
|
|
230
|
+
opacity: 1;
|
|
231
|
+
transition: transform 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99), opacity 350ms cubic-bezier(0.2, 0.1, 0.21, 0.99);
|
|
232
|
+
}
|
|
233
|
+
[data-global-transition-state=enter-active] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
234
|
+
animation: seed-enter;
|
|
235
|
+
animation-timing-function: cubic-bezier(0.23, 0.1, 0.32, 1);
|
|
236
|
+
animation-duration: 300ms;
|
|
237
|
+
--seed-enter-translate-x: 0;
|
|
238
|
+
--seed-enter-translate-y: 8vh;
|
|
239
|
+
--seed-enter-opacity: 0;
|
|
240
|
+
--seed-enter-scale: 1;
|
|
241
|
+
transform: translate3d(0, 0, 0);
|
|
242
|
+
opacity: 1;
|
|
243
|
+
}
|
|
244
|
+
[data-global-transition-state=exit-active] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
245
|
+
transform: translate3d(0, 0, 0);
|
|
246
|
+
opacity: 1;
|
|
247
|
+
animation: seed-exit;
|
|
248
|
+
animation-timing-function: linear;
|
|
249
|
+
animation-duration: 150ms;
|
|
250
|
+
animation-fill-mode: forwards;
|
|
251
|
+
--seed-exit-translate-x: 0;
|
|
252
|
+
--seed-exit-translate-y: 8vh;
|
|
253
|
+
--seed-exit-opacity: 0;
|
|
254
|
+
--seed-exit-scale: 1;
|
|
255
|
+
}
|
|
256
|
+
[data-global-transition-state=enter-active] .seed-app-bar__root--transitionStyle_fadeIn[data-activity-is-top] {
|
|
257
|
+
animation: seed-enter;
|
|
258
|
+
animation-timing-function: ease-out;
|
|
259
|
+
animation-duration: 300ms;
|
|
260
|
+
--seed-enter-translate-x: 0;
|
|
261
|
+
--seed-enter-translate-y: 0;
|
|
262
|
+
--seed-enter-opacity: 0;
|
|
263
|
+
--seed-enter-scale: 1;
|
|
264
|
+
opacity: 1;
|
|
265
|
+
}
|
|
266
|
+
[data-global-transition-state=exit-active] .seed-app-bar__root--transitionStyle_fadeIn[data-activity-is-top] {
|
|
267
|
+
opacity: 1;
|
|
268
|
+
animation: seed-exit;
|
|
269
|
+
animation-timing-function: ease-in;
|
|
270
|
+
animation-duration: 150ms;
|
|
271
|
+
animation-fill-mode: forwards;
|
|
272
|
+
--seed-exit-translate-x: 0;
|
|
273
|
+
--seed-exit-translate-y: 0;
|
|
274
|
+
--seed-exit-opacity: 0;
|
|
275
|
+
--seed-exit-scale: 1;
|
|
276
|
+
}
|
|
277
|
+
.seed-app-bar__root--tone_layer:before {
|
|
278
|
+
background: var(--seed-box-background, var(--seed-color-bg-layer-default));
|
|
279
|
+
}
|
|
280
|
+
.seed-app-bar__icon--tone_layer {
|
|
281
|
+
color: var(--seed-icon-color, var(--seed-color-fg-neutral));
|
|
282
|
+
}
|
|
283
|
+
.seed-app-bar__root--tone_transparent {
|
|
284
|
+
background-color: #00000000;
|
|
285
|
+
}
|
|
286
|
+
.seed-app-bar__icon--tone_transparent {
|
|
287
|
+
color: var(--seed-icon-color, var(--seed-color-palette-static-white));
|
|
288
|
+
}
|
|
289
|
+
.seed-app-bar__root--divider_true:before {
|
|
290
|
+
box-shadow: inset 0px calc(-1 * 1px) 0 var(--seed-color-stroke-neutral-subtle);
|
|
291
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
declare interface AppBarVariant {
|
|
2
|
+
/**
|
|
3
|
+
* @default "cupertino"
|
|
4
|
+
*/
|
|
5
|
+
theme: "cupertino" | "android";
|
|
6
|
+
/**
|
|
7
|
+
* @default "slideFromRightIOS"
|
|
8
|
+
*/
|
|
9
|
+
transitionStyle: "slideFromRightIOS" | "fadeFromBottomAndroid" | "fadeIn";
|
|
10
|
+
/**
|
|
11
|
+
* @default "layer"
|
|
12
|
+
*/
|
|
13
|
+
tone: "layer" | "transparent";
|
|
14
|
+
/**
|
|
15
|
+
* @default false
|
|
16
|
+
*/
|
|
17
|
+
divider: boolean;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
declare type AppBarVariantMap = {
|
|
21
|
+
[key in keyof AppBarVariant]: Array<AppBarVariant[key]>;
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export declare type AppBarVariantProps = Partial<AppBarVariant>;
|
|
25
|
+
|
|
26
|
+
export declare type AppBarSlotName = "root" | "left" | "right" | "iconButton" | "icon";
|
|
27
|
+
|
|
28
|
+
export declare const appBarVariantMap: AppBarVariantMap;
|
|
29
|
+
|
|
30
|
+
export declare const appBar: ((
|
|
31
|
+
props?: AppBarVariantProps,
|
|
32
|
+
) => Record<AppBarSlotName, string>) & {
|
|
33
|
+
splitVariantProps: <T extends AppBarVariantProps>(
|
|
34
|
+
props: T,
|
|
35
|
+
) => [AppBarVariantProps, Omit<T, keyof AppBarVariantProps>];
|
|
36
|
+
}
|
|
@@ -0,0 +1,302 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-app-bar__root {
|
|
3
|
+
z-index: var(--z-index-app-bar);
|
|
4
|
+
box-sizing: border-box;
|
|
5
|
+
align-items: flex-end;
|
|
6
|
+
width: 100%;
|
|
7
|
+
display: flex;
|
|
8
|
+
position: absolute;
|
|
9
|
+
top: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.seed-app-bar__root:before {
|
|
13
|
+
content: "";
|
|
14
|
+
pointer-events: none;
|
|
15
|
+
z-index: -1;
|
|
16
|
+
position: absolute;
|
|
17
|
+
inset: 0;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
.seed-app-bar__left {
|
|
21
|
+
align-items: center;
|
|
22
|
+
height: 100%;
|
|
23
|
+
display: flex;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.seed-app-bar__right {
|
|
27
|
+
align-items: center;
|
|
28
|
+
height: 100%;
|
|
29
|
+
margin-left: auto;
|
|
30
|
+
display: flex;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.seed-app-bar__iconButton {
|
|
34
|
+
border-radius: var(--seed-radius-r1);
|
|
35
|
+
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
36
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
37
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
38
|
+
background: none;
|
|
39
|
+
border: none;
|
|
40
|
+
justify-content: center;
|
|
41
|
+
align-items: center;
|
|
42
|
+
padding: 0;
|
|
43
|
+
font-family: inherit;
|
|
44
|
+
display: flex;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.seed-app-bar__iconButton:is(:focus-visible, [data-focus-visible]) {
|
|
48
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
49
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.seed-app-bar__icon {
|
|
53
|
+
flex-shrink: 0;
|
|
54
|
+
display: inline-block;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.seed-app-bar__root--theme_cupertino {
|
|
58
|
+
height: calc(44px + var(--seed-safe-area-top));
|
|
59
|
+
padding-left: var(--seed-dimension-x4);
|
|
60
|
+
padding-right: var(--seed-dimension-x4);
|
|
61
|
+
padding-top: var(--seed-safe-area-top);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.seed-app-bar__iconButton--theme_cupertino {
|
|
65
|
+
width: 44px;
|
|
66
|
+
height: 44px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
.seed-app-bar__iconButton--theme_cupertino:first-child {
|
|
70
|
+
margin-left: -10px;
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
.seed-app-bar__iconButton--theme_cupertino:last-child {
|
|
74
|
+
margin-right: -10px;
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.seed-app-bar__icon--theme_cupertino {
|
|
78
|
+
width: var(--seed-icon-size, 24px);
|
|
79
|
+
height: var(--seed-icon-size, 24px);
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.seed-app-bar__root--theme_android {
|
|
83
|
+
height: calc(56px + var(--seed-safe-area-top));
|
|
84
|
+
padding-left: var(--seed-dimension-x4);
|
|
85
|
+
padding-right: var(--seed-dimension-x4);
|
|
86
|
+
padding-top: var(--seed-safe-area-top);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.seed-app-bar__iconButton--theme_android {
|
|
90
|
+
width: 44px;
|
|
91
|
+
height: 44px;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.seed-app-bar__iconButton--theme_android:first-child {
|
|
95
|
+
margin-left: -10px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.seed-app-bar__iconButton--theme_android:last-child {
|
|
99
|
+
margin-right: -10px;
|
|
100
|
+
}
|
|
101
|
+
|
|
102
|
+
.seed-app-bar__icon--theme_android {
|
|
103
|
+
width: var(--seed-icon-size, 24px);
|
|
104
|
+
height: var(--seed-icon-size, 24px);
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.seed-app-bar__left--theme_android {
|
|
108
|
+
padding-right: 16px;
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
[data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
112
|
+
--seed-enter-translate-x: 100%;
|
|
113
|
+
--seed-enter-translate-y: 0;
|
|
114
|
+
--seed-enter-opacity: 1;
|
|
115
|
+
--seed-enter-scale: 1;
|
|
116
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
117
|
+
transform: translate3d(0, 0, 0);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
[data-global-transition-state="exit-active"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
121
|
+
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
122
|
+
--seed-exit-translate-x: 100%;
|
|
123
|
+
--seed-exit-translate-y: 0;
|
|
124
|
+
--seed-exit-opacity: 1;
|
|
125
|
+
--seed-exit-scale: 1;
|
|
126
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
[data-global-transition-state="enter-done"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:before {
|
|
130
|
+
--seed-enter-translate-x: var(--swipe-back-displacement, 0);
|
|
131
|
+
--seed-enter-translate-y: 0;
|
|
132
|
+
--seed-enter-opacity: 1;
|
|
133
|
+
--seed-enter-scale: 1;
|
|
134
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
135
|
+
transform: translate3d(0, 0, 0);
|
|
136
|
+
}
|
|
137
|
+
|
|
138
|
+
[data-swipe-back-state="swiping"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
139
|
+
transform: translate3d(var(--swipe-back-displacement, 0), 0, 0);
|
|
140
|
+
animation: none;
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
[data-swipe-back-state="canceling"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
144
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
145
|
+
transform: translate3d(0, 0, 0);
|
|
146
|
+
animation: none !important;
|
|
147
|
+
}
|
|
148
|
+
|
|
149
|
+
[data-swipe-back-state="completing"] .seed-app-bar__root--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#):before {
|
|
150
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
151
|
+
transform: translate3d(100%, 0, 0);
|
|
152
|
+
animation: none !important;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
[data-global-transition-state="enter-active"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
156
|
+
--seed-enter-translate-x: 0;
|
|
157
|
+
--seed-enter-translate-y: 0;
|
|
158
|
+
--seed-enter-opacity: 0;
|
|
159
|
+
--seed-enter-scale: 1;
|
|
160
|
+
opacity: 1;
|
|
161
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
[data-global-transition-state="exit-active"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
165
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
166
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
167
|
+
--seed-exit-translate-x: 0;
|
|
168
|
+
--seed-exit-translate-y: 0;
|
|
169
|
+
--seed-exit-opacity: 0;
|
|
170
|
+
--seed-exit-scale: 1;
|
|
171
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
[data-global-transition-state="enter-done"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top] {
|
|
175
|
+
--seed-enter-translate-x: calc(var(--swipe-back-displacement, 0) * .15);
|
|
176
|
+
--seed-enter-translate-y: 0;
|
|
177
|
+
--seed-enter-opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
178
|
+
--seed-enter-scale: 1;
|
|
179
|
+
opacity: 1;
|
|
180
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
[data-swipe-back-state="swiping"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
184
|
+
transform: translate3d(calc(var(--swipe-back-displacement, 0) * .15), 0, 0);
|
|
185
|
+
opacity: calc(1 - var(--swipe-back-displacement-ratio, 0) * 3);
|
|
186
|
+
animation: none;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
[data-swipe-back-state="canceling"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
190
|
+
opacity: 1;
|
|
191
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
192
|
+
animation: none !important;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
[data-swipe-back-state="completing"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS[data-activity-is-top]:not(#\#) {
|
|
196
|
+
opacity: 0;
|
|
197
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
198
|
+
animation: none !important;
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
[data-global-transition-state="enter-active"][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
202
|
+
opacity: 1;
|
|
203
|
+
--seed-exit-translate-x: 0;
|
|
204
|
+
--seed-exit-translate-y: 0;
|
|
205
|
+
--seed-exit-opacity: 0;
|
|
206
|
+
--seed-exit-scale: 1;
|
|
207
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
[data-global-transition-state="exit-active"][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
211
|
+
--seed-enter-translate-x: 0;
|
|
212
|
+
--seed-enter-translate-y: 0;
|
|
213
|
+
--seed-enter-opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
214
|
+
--seed-enter-scale: 1;
|
|
215
|
+
opacity: 1;
|
|
216
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) seed-enter;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
[data-global-transition-state="enter-done"][data-top-activity-type="full-screen"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]) {
|
|
220
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
221
|
+
--seed-exit-translate-x: 0;
|
|
222
|
+
--seed-exit-translate-y: 0;
|
|
223
|
+
--seed-exit-opacity: 0;
|
|
224
|
+
--seed-exit-scale: 1;
|
|
225
|
+
animation: .35s cubic-bezier(.2, .1, .21, .99) forwards seed-exit;
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
[data-swipe-back-state="swiping"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
229
|
+
opacity: calc(var(--swipe-back-displacement-ratio, 0));
|
|
230
|
+
animation: none;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
[data-swipe-back-state="canceling"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
234
|
+
opacity: 0;
|
|
235
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
236
|
+
animation: none !important;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
[data-swipe-back-state="completing"] .seed-app-bar__icon--transitionStyle_slideFromRightIOS:not([data-activity-is-top]):not(#\#) {
|
|
240
|
+
opacity: 1;
|
|
241
|
+
transition: transform .35s cubic-bezier(.2, .1, .21, .99), opacity .35s cubic-bezier(.2, .1, .21, .99);
|
|
242
|
+
animation: none !important;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
[data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
246
|
+
--seed-enter-translate-x: 0;
|
|
247
|
+
--seed-enter-translate-y: 8vh;
|
|
248
|
+
--seed-enter-opacity: 0;
|
|
249
|
+
--seed-enter-scale: 1;
|
|
250
|
+
opacity: 1;
|
|
251
|
+
animation: .3s cubic-bezier(.23, .1, .32, 1) seed-enter;
|
|
252
|
+
transform: translate3d(0, 0, 0);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
[data-global-transition-state="exit-active"] .seed-app-bar__root--transitionStyle_fadeFromBottomAndroid[data-activity-is-top] {
|
|
256
|
+
opacity: 1;
|
|
257
|
+
--seed-exit-translate-x: 0;
|
|
258
|
+
--seed-exit-translate-y: 8vh;
|
|
259
|
+
--seed-exit-opacity: 0;
|
|
260
|
+
--seed-exit-scale: 1;
|
|
261
|
+
animation: .15s linear forwards seed-exit;
|
|
262
|
+
transform: translate3d(0, 0, 0);
|
|
263
|
+
}
|
|
264
|
+
|
|
265
|
+
[data-global-transition-state="enter-active"] .seed-app-bar__root--transitionStyle_fadeIn[data-activity-is-top] {
|
|
266
|
+
--seed-enter-translate-x: 0;
|
|
267
|
+
--seed-enter-translate-y: 0;
|
|
268
|
+
--seed-enter-opacity: 0;
|
|
269
|
+
--seed-enter-scale: 1;
|
|
270
|
+
opacity: 1;
|
|
271
|
+
animation: .3s ease-out seed-enter;
|
|
272
|
+
}
|
|
273
|
+
|
|
274
|
+
[data-global-transition-state="exit-active"] .seed-app-bar__root--transitionStyle_fadeIn[data-activity-is-top] {
|
|
275
|
+
opacity: 1;
|
|
276
|
+
--seed-exit-translate-x: 0;
|
|
277
|
+
--seed-exit-translate-y: 0;
|
|
278
|
+
--seed-exit-opacity: 0;
|
|
279
|
+
--seed-exit-scale: 1;
|
|
280
|
+
animation: .15s ease-in forwards seed-exit;
|
|
281
|
+
}
|
|
282
|
+
|
|
283
|
+
.seed-app-bar__root--tone_layer:before {
|
|
284
|
+
background: var(--seed-box-background, var(--seed-color-bg-layer-default));
|
|
285
|
+
}
|
|
286
|
+
|
|
287
|
+
.seed-app-bar__icon--tone_layer {
|
|
288
|
+
color: var(--seed-icon-color, var(--seed-color-fg-neutral));
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
.seed-app-bar__root--tone_transparent {
|
|
292
|
+
background-color: #0000;
|
|
293
|
+
}
|
|
294
|
+
|
|
295
|
+
.seed-app-bar__icon--tone_transparent {
|
|
296
|
+
color: var(--seed-icon-color, var(--seed-color-palette-static-white));
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
.seed-app-bar__root--divider_true:before {
|
|
300
|
+
box-shadow: inset 0px calc(-1 * 1px) 0 var(--seed-color-stroke-neutral-subtle);
|
|
301
|
+
}
|
|
302
|
+
}
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
import './app-bar.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const appBarSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-app-bar__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"left",
|
|
11
|
+
"seed-app-bar__left"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"right",
|
|
15
|
+
"seed-app-bar__right"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"iconButton",
|
|
19
|
+
"seed-app-bar__iconButton"
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"icon",
|
|
23
|
+
"seed-app-bar__icon"
|
|
24
|
+
]
|
|
25
|
+
];
|
|
26
|
+
|
|
27
|
+
const defaultVariant = {
|
|
28
|
+
"theme": "cupertino",
|
|
29
|
+
"transitionStyle": "slideFromRightIOS",
|
|
30
|
+
"tone": "layer",
|
|
31
|
+
"divider": false
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const compoundVariants = [];
|
|
35
|
+
|
|
36
|
+
export const appBarVariantMap = {
|
|
37
|
+
"theme": [
|
|
38
|
+
"cupertino",
|
|
39
|
+
"android"
|
|
40
|
+
],
|
|
41
|
+
"transitionStyle": [
|
|
42
|
+
"slideFromRightIOS",
|
|
43
|
+
"fadeFromBottomAndroid",
|
|
44
|
+
"fadeIn"
|
|
45
|
+
],
|
|
46
|
+
"tone": [
|
|
47
|
+
"layer",
|
|
48
|
+
"transparent"
|
|
49
|
+
],
|
|
50
|
+
"divider": [
|
|
51
|
+
true
|
|
52
|
+
]
|
|
53
|
+
};
|
|
54
|
+
|
|
55
|
+
export const appBarVariantKeys = Object.keys(appBarVariantMap);
|
|
56
|
+
|
|
57
|
+
export function appBar(props) {
|
|
58
|
+
return Object.fromEntries(
|
|
59
|
+
appBarSlotNames.map(([slot, className]) => {
|
|
60
|
+
return [
|
|
61
|
+
slot,
|
|
62
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
63
|
+
];
|
|
64
|
+
}),
|
|
65
|
+
);
|
|
66
|
+
}
|
|
67
|
+
|
|
68
|
+
Object.assign(appBar, { splitVariantProps: (props) => splitVariantProps(props, appBarVariantMap) });
|
|
69
|
+
|
|
70
|
+
// @recipe(seed): app-bar
|