@seed-design/lynx-css 0.1.1-alpha.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.css +8781 -0
- package/all.layered.css +8785 -0
- package/all.layered.min.css +1 -0
- package/all.min.css +1 -0
- package/base.css +858 -0
- package/base.layered.css +861 -0
- package/base.layered.min.css +1 -0
- package/base.min.css +1 -0
- package/package.json +56 -0
- package/recipes/action-button.css +479 -0
- package/recipes/action-button.d.ts +33 -0
- package/recipes/action-button.layered.css +747 -0
- package/recipes/action-button.layered.mjs +99 -0
- package/recipes/action-button.mjs +99 -0
- package/recipes/action-chip.css +78 -0
- package/recipes/action-chip.d.ts +29 -0
- package/recipes/action-chip.layered.css +118 -0
- package/recipes/action-chip.layered.mjs +71 -0
- package/recipes/action-chip.mjs +71 -0
- package/recipes/action-sheet-item.css +30 -0
- package/recipes/action-sheet-item.d.ts +25 -0
- package/recipes/action-sheet-item.layered.css +38 -0
- package/recipes/action-sheet-item.layered.mjs +49 -0
- package/recipes/action-sheet-item.mjs +49 -0
- package/recipes/action-sheet.css +117 -0
- package/recipes/action-sheet.d.ts +21 -0
- package/recipes/action-sheet.layered.css +132 -0
- package/recipes/action-sheet.layered.mjs +60 -0
- package/recipes/action-sheet.mjs +60 -0
- package/recipes/app-bar-main.css +169 -0
- package/recipes/app-bar-main.d.ts +36 -0
- package/recipes/app-bar-main.layered.css +164 -0
- package/recipes/app-bar-main.layered.mjs +63 -0
- package/recipes/app-bar-main.mjs +63 -0
- package/recipes/app-bar.css +375 -0
- package/recipes/app-bar.d.ts +36 -0
- package/recipes/app-bar.layered.css +385 -0
- package/recipes/app-bar.layered.mjs +74 -0
- package/recipes/app-bar.mjs +74 -0
- package/recipes/app-screen.css +314 -0
- package/recipes/app-screen.d.ts +44 -0
- package/recipes/app-screen.layered.css +322 -0
- package/recipes/app-screen.layered.mjs +98 -0
- package/recipes/app-screen.mjs +98 -0
- package/recipes/article.css +0 -0
- package/recipes/article.d.ts +22 -0
- package/recipes/article.layered.css +1 -0
- package/recipes/article.layered.mjs +43 -0
- package/recipes/article.mjs +43 -0
- package/recipes/aspect-ratio.css +22 -0
- package/recipes/aspect-ratio.d.ts +22 -0
- package/recipes/aspect-ratio.layered.css +24 -0
- package/recipes/aspect-ratio.layered.mjs +43 -0
- package/recipes/aspect-ratio.mjs +43 -0
- package/recipes/avatar-stack.css +79 -0
- package/recipes/avatar-stack.d.ts +24 -0
- package/recipes/avatar-stack.layered.css +102 -0
- package/recipes/avatar-stack.layered.mjs +51 -0
- package/recipes/avatar-stack.mjs +51 -0
- package/recipes/avatar.css +168 -0
- package/recipes/avatar.d.ts +28 -0
- package/recipes/avatar.layered.css +201 -0
- package/recipes/avatar.layered.mjs +66 -0
- package/recipes/avatar.mjs +66 -0
- package/recipes/badge.css +112 -0
- package/recipes/badge.d.ts +32 -0
- package/recipes/badge.layered.css +134 -0
- package/recipes/badge.layered.mjs +131 -0
- package/recipes/badge.mjs +131 -0
- package/recipes/bottom-sheet-handle.css +22 -0
- package/recipes/bottom-sheet-handle.d.ts +21 -0
- package/recipes/bottom-sheet-handle.layered.css +26 -0
- package/recipes/bottom-sheet-handle.layered.mjs +36 -0
- package/recipes/bottom-sheet-handle.mjs +36 -0
- package/recipes/bottom-sheet.css +184 -0
- package/recipes/bottom-sheet.d.ts +28 -0
- package/recipes/bottom-sheet.layered.css +210 -0
- package/recipes/bottom-sheet.layered.mjs +75 -0
- package/recipes/bottom-sheet.mjs +75 -0
- package/recipes/callout.css +159 -0
- package/recipes/callout.d.ts +24 -0
- package/recipes/callout.layered.css +148 -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 +22 -0
- package/recipes/checkbox-group.layered.css +7 -0
- package/recipes/checkbox-group.layered.mjs +43 -0
- package/recipes/checkbox-group.mjs +43 -0
- package/recipes/checkbox.css +37 -0
- package/recipes/checkbox.d.ts +28 -0
- package/recipes/checkbox.layered.css +47 -0
- package/recipes/checkbox.layered.mjs +48 -0
- package/recipes/checkbox.mjs +48 -0
- package/recipes/checkmark.css +108 -0
- package/recipes/checkmark.d.ts +32 -0
- package/recipes/checkmark.layered.css +133 -0
- package/recipes/checkmark.layered.mjs +86 -0
- package/recipes/checkmark.mjs +86 -0
- package/recipes/chip-tabs.css +150 -0
- package/recipes/chip-tabs.d.ts +36 -0
- package/recipes/chip-tabs.layered.css +186 -0
- package/recipes/chip-tabs.layered.mjs +75 -0
- package/recipes/chip-tabs.mjs +75 -0
- package/recipes/chip.css +184 -0
- package/recipes/chip.d.ts +32 -0
- package/recipes/chip.layered.css +207 -0
- package/recipes/chip.layered.mjs +80 -0
- package/recipes/chip.mjs +80 -0
- package/recipes/content-placeholder.css +19 -0
- package/recipes/content-placeholder.d.ts +24 -0
- package/recipes/content-placeholder.layered.css +22 -0
- package/recipes/content-placeholder.layered.mjs +53 -0
- package/recipes/content-placeholder.mjs +53 -0
- package/recipes/contextual-floating-button.css +123 -0
- package/recipes/contextual-floating-button.d.ts +29 -0
- package/recipes/contextual-floating-button.layered.css +190 -0
- package/recipes/contextual-floating-button.layered.mjs +54 -0
- package/recipes/contextual-floating-button.mjs +54 -0
- package/recipes/control-chip.css +97 -0
- package/recipes/control-chip.d.ts +29 -0
- package/recipes/control-chip.layered.css +147 -0
- package/recipes/control-chip.layered.mjs +71 -0
- package/recipes/control-chip.mjs +71 -0
- package/recipes/dialog.css +101 -0
- package/recipes/dialog.d.ts +24 -0
- package/recipes/dialog.layered.css +113 -0
- package/recipes/dialog.layered.mjs +66 -0
- package/recipes/dialog.mjs +66 -0
- package/recipes/extended-action-sheet-item.css +39 -0
- package/recipes/extended-action-sheet-item.d.ts +25 -0
- package/recipes/extended-action-sheet-item.layered.css +55 -0
- package/recipes/extended-action-sheet-item.layered.mjs +49 -0
- package/recipes/extended-action-sheet-item.mjs +49 -0
- package/recipes/extended-action-sheet.css +116 -0
- package/recipes/extended-action-sheet.d.ts +21 -0
- package/recipes/extended-action-sheet.layered.css +131 -0
- package/recipes/extended-action-sheet.layered.mjs +64 -0
- package/recipes/extended-action-sheet.mjs +64 -0
- package/recipes/extended-fab.css +65 -0
- package/recipes/extended-fab.d.ts +29 -0
- package/recipes/extended-fab.layered.css +84 -0
- package/recipes/extended-fab.layered.mjs +54 -0
- package/recipes/extended-fab.mjs +54 -0
- package/recipes/fab.css +24 -0
- package/recipes/fab.d.ts +22 -0
- package/recipes/fab.layered.css +36 -0
- package/recipes/fab.layered.mjs +43 -0
- package/recipes/fab.mjs +43 -0
- package/recipes/field-label.css +27 -0
- package/recipes/field-label.d.ts +24 -0
- package/recipes/field-label.layered.css +33 -0
- package/recipes/field-label.layered.mjs +47 -0
- package/recipes/field-label.mjs +47 -0
- package/recipes/field.css +66 -0
- package/recipes/field.d.ts +21 -0
- package/recipes/field.layered.css +77 -0
- package/recipes/field.layered.mjs +60 -0
- package/recipes/field.mjs +60 -0
- package/recipes/floating-action-button.css +63 -0
- package/recipes/floating-action-button.d.ts +24 -0
- package/recipes/floating-action-button.layered.css +71 -0
- package/recipes/floating-action-button.layered.mjs +47 -0
- package/recipes/floating-action-button.mjs +47 -0
- package/recipes/help-bubble.css +80 -0
- package/recipes/help-bubble.d.ts +21 -0
- package/recipes/help-bubble.layered.css +92 -0
- package/recipes/help-bubble.layered.mjs +60 -0
- package/recipes/help-bubble.mjs +60 -0
- package/recipes/identity-placeholder.css +15 -0
- package/recipes/identity-placeholder.d.ts +24 -0
- package/recipes/identity-placeholder.layered.css +18 -0
- package/recipes/identity-placeholder.layered.mjs +43 -0
- package/recipes/identity-placeholder.mjs +43 -0
- package/recipes/image-frame-icon.css +7 -0
- package/recipes/image-frame-icon.d.ts +22 -0
- package/recipes/image-frame-icon.layered.css +11 -0
- package/recipes/image-frame-icon.layered.mjs +43 -0
- package/recipes/image-frame-icon.mjs +43 -0
- package/recipes/image-frame-indicator.css +16 -0
- package/recipes/image-frame-indicator.d.ts +22 -0
- package/recipes/image-frame-indicator.layered.css +20 -0
- package/recipes/image-frame-indicator.layered.mjs +43 -0
- package/recipes/image-frame-indicator.mjs +43 -0
- package/recipes/image-frame-reaction-button.css +44 -0
- package/recipes/image-frame-reaction-button.d.ts +21 -0
- package/recipes/image-frame-reaction-button.layered.css +50 -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 +28 -0
- package/recipes/image-frame.d.ts +28 -0
- package/recipes/image-frame.layered.css +34 -0
- package/recipes/image-frame.layered.mjs +52 -0
- package/recipes/image-frame.mjs +52 -0
- package/recipes/inline-banner.css +163 -0
- package/recipes/inline-banner.d.ts +24 -0
- package/recipes/inline-banner.layered.css +142 -0
- package/recipes/inline-banner.layered.mjs +64 -0
- package/recipes/inline-banner.mjs +64 -0
- package/recipes/input-button.css +120 -0
- package/recipes/input-button.d.ts +21 -0
- package/recipes/input-button.layered.css +135 -0
- package/recipes/input-button.layered.mjs +64 -0
- package/recipes/input-button.mjs +64 -0
- package/recipes/link-content.css +45 -0
- package/recipes/link-content.d.ts +29 -0
- package/recipes/link-content.layered.css +72 -0
- package/recipes/link-content.layered.mjs +55 -0
- package/recipes/link-content.mjs +55 -0
- package/recipes/list-header.css +22 -0
- package/recipes/list-header.d.ts +25 -0
- package/recipes/list-header.layered.css +28 -0
- package/recipes/list-header.layered.mjs +49 -0
- package/recipes/list-header.mjs +49 -0
- package/recipes/list-item.css +108 -0
- package/recipes/list-item.d.ts +24 -0
- package/recipes/list-item.layered.css +124 -0
- package/recipes/list-item.layered.mjs +59 -0
- package/recipes/list-item.mjs +59 -0
- package/recipes/manner-temp-badge.css +76 -0
- package/recipes/manner-temp-badge.d.ts +25 -0
- package/recipes/manner-temp-badge.layered.css +100 -0
- package/recipes/manner-temp-badge.layered.mjs +57 -0
- package/recipes/manner-temp-badge.mjs +57 -0
- package/recipes/manner-temp.css +50 -0
- package/recipes/manner-temp.d.ts +25 -0
- package/recipes/manner-temp.layered.css +71 -0
- package/recipes/manner-temp.layered.mjs +57 -0
- package/recipes/manner-temp.mjs +57 -0
- package/recipes/menu-sheet-item.css +67 -0
- package/recipes/menu-sheet-item.d.ts +28 -0
- package/recipes/menu-sheet-item.layered.css +83 -0
- package/recipes/menu-sheet-item.layered.mjs +56 -0
- package/recipes/menu-sheet-item.mjs +56 -0
- package/recipes/menu-sheet.css +135 -0
- package/recipes/menu-sheet.d.ts +24 -0
- package/recipes/menu-sheet.layered.css +151 -0
- package/recipes/menu-sheet.layered.mjs +74 -0
- package/recipes/menu-sheet.mjs +74 -0
- package/recipes/notification-badge-positioner.css +28 -0
- package/recipes/notification-badge-positioner.d.ts +29 -0
- package/recipes/notification-badge-positioner.layered.css +27 -0
- package/recipes/notification-badge-positioner.layered.mjs +71 -0
- package/recipes/notification-badge-positioner.mjs +71 -0
- package/recipes/notification-badge.css +27 -0
- package/recipes/notification-badge.d.ts +25 -0
- package/recipes/notification-badge.layered.css +34 -0
- package/recipes/notification-badge.layered.mjs +49 -0
- package/recipes/notification-badge.mjs +49 -0
- package/recipes/page-banner.css +260 -0
- package/recipes/page-banner.d.ts +28 -0
- package/recipes/page-banner.layered.css +235 -0
- package/recipes/page-banner.layered.mjs +117 -0
- package/recipes/page-banner.mjs +117 -0
- package/recipes/progress-circle.css +55 -0
- package/recipes/progress-circle.d.ts +30 -0
- package/recipes/progress-circle.mjs +40 -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 +22 -0
- package/recipes/radio-group.layered.css +7 -0
- package/recipes/radio-group.layered.mjs +43 -0
- package/recipes/radio-group.mjs +43 -0
- package/recipes/radio.css +37 -0
- package/recipes/radio.d.ts +28 -0
- package/recipes/radio.layered.css +47 -0
- package/recipes/radio.layered.mjs +48 -0
- package/recipes/radio.mjs +48 -0
- package/recipes/radiomark.css +79 -0
- package/recipes/radiomark.d.ts +28 -0
- package/recipes/radiomark.layered.css +100 -0
- package/recipes/radiomark.layered.mjs +48 -0
- package/recipes/radiomark.mjs +48 -0
- package/recipes/reaction-button.css +115 -0
- package/recipes/reaction-button.d.ts +25 -0
- package/recipes/reaction-button.layered.css +173 -0
- package/recipes/reaction-button.layered.mjs +49 -0
- package/recipes/reaction-button.mjs +49 -0
- package/recipes/scroll-fog.css +11 -0
- package/recipes/scroll-fog.d.ts +25 -0
- package/recipes/scroll-fog.layered.css +19 -0
- package/recipes/scroll-fog.layered.mjs +48 -0
- package/recipes/scroll-fog.mjs +48 -0
- package/recipes/segmented-control.css +59 -0
- package/recipes/segmented-control.d.ts +21 -0
- package/recipes/segmented-control.layered.css +67 -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 +22 -0
- package/recipes/select-box-group.layered.css +13 -0
- package/recipes/select-box-group.layered.mjs +43 -0
- package/recipes/select-box-group.mjs +43 -0
- package/recipes/select-box.css +111 -0
- package/recipes/select-box.d.ts +24 -0
- package/recipes/select-box.layered.css +130 -0
- package/recipes/select-box.layered.mjs +63 -0
- package/recipes/select-box.mjs +63 -0
- package/recipes/selectBoxCheckmark.css +30 -0
- package/recipes/selectBoxCheckmark.d.ts +21 -0
- package/recipes/selectBoxCheckmark.layered.css +36 -0
- package/recipes/selectBoxCheckmark.layered.mjs +36 -0
- package/recipes/selectBoxCheckmark.mjs +36 -0
- package/recipes/shared.mjs +48 -0
- package/recipes/skeleton.css +46 -0
- package/recipes/skeleton.d.ts +29 -0
- package/recipes/skeleton.layered.css +63 -0
- package/recipes/skeleton.layered.mjs +56 -0
- package/recipes/skeleton.mjs +56 -0
- package/recipes/slider-marker.css +55 -0
- package/recipes/slider-marker.d.ts +25 -0
- package/recipes/slider-marker.layered.css +73 -0
- package/recipes/slider-marker.layered.mjs +50 -0
- package/recipes/slider-marker.mjs +50 -0
- package/recipes/slider-tick.css +21 -0
- package/recipes/slider-tick.d.ts +25 -0
- package/recipes/slider-tick.layered.css +32 -0
- package/recipes/slider-tick.layered.mjs +49 -0
- package/recipes/slider-tick.mjs +49 -0
- package/recipes/slider.css +177 -0
- package/recipes/slider.d.ts +21 -0
- package/recipes/slider.layered.css +209 -0
- package/recipes/slider.layered.mjs +68 -0
- package/recipes/slider.mjs +68 -0
- package/recipes/snackbar-region.css +20 -0
- package/recipes/snackbar-region.d.ts +22 -0
- package/recipes/snackbar-region.layered.css +29 -0
- package/recipes/snackbar-region.layered.mjs +43 -0
- package/recipes/snackbar-region.mjs +43 -0
- package/recipes/snackbar.css +83 -0
- package/recipes/snackbar.d.ts +24 -0
- package/recipes/snackbar.layered.css +94 -0
- package/recipes/snackbar.layered.mjs +56 -0
- package/recipes/snackbar.mjs +56 -0
- package/recipes/switch.css +44 -0
- package/recipes/switch.d.ts +24 -0
- package/recipes/switch.layered.css +54 -0
- package/recipes/switch.layered.mjs +44 -0
- package/recipes/switch.mjs +44 -0
- package/recipes/switchmark.css +70 -0
- package/recipes/switchmark.d.ts +28 -0
- package/recipes/switchmark.layered.css +89 -0
- package/recipes/switchmark.layered.mjs +49 -0
- package/recipes/switchmark.mjs +49 -0
- package/recipes/tabs.css +157 -0
- package/recipes/tabs.d.ts +36 -0
- package/recipes/tabs.layered.css +184 -0
- package/recipes/tabs.layered.mjs +78 -0
- package/recipes/tabs.mjs +78 -0
- package/recipes/tag-group-item.css +75 -0
- package/recipes/tag-group-item.d.ts +32 -0
- package/recipes/tag-group-item.layered.css +94 -0
- package/recipes/tag-group-item.layered.mjs +55 -0
- package/recipes/tag-group-item.mjs +55 -0
- package/recipes/tag-group.css +42 -0
- package/recipes/tag-group.d.ts +28 -0
- package/recipes/tag-group.layered.css +52 -0
- package/recipes/tag-group.layered.mjs +62 -0
- package/recipes/tag-group.mjs +62 -0
- package/recipes/text-input.css +198 -0
- package/recipes/text-input.d.ts +28 -0
- package/recipes/text-input.layered.css +212 -0
- package/recipes/text-input.layered.mjs +73 -0
- package/recipes/text-input.mjs +73 -0
- package/recipes/text.css +558 -0
- package/recipes/text.d.ts +33 -0
- package/recipes/text.layered.css +371 -0
- package/recipes/text.layered.mjs +110 -0
- package/recipes/text.mjs +110 -0
- package/recipes/toggle-button.css +167 -0
- package/recipes/toggle-button.d.ts +29 -0
- package/recipes/toggle-button.layered.css +239 -0
- package/recipes/toggle-button.layered.mjs +54 -0
- package/recipes/toggle-button.mjs +54 -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 +110 -0
- package/vars/component/avatar-stack.mjs +110 -0
- package/vars/component/avatar.d.ts +204 -0
- package/vars/component/avatar.mjs +162 -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,184 @@
|
|
|
1
|
+
.seed-bottom-sheet__positioner {
|
|
2
|
+
position: fixed;
|
|
3
|
+
display: flex;
|
|
4
|
+
justify-content: center;
|
|
5
|
+
align-items: flex-end;
|
|
6
|
+
top: 0;
|
|
7
|
+
right: 0;
|
|
8
|
+
bottom: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
--sheet-z-index: 2;
|
|
11
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
12
|
+
}
|
|
13
|
+
.seed-bottom-sheet__backdrop {
|
|
14
|
+
position: fixed;
|
|
15
|
+
top: 0;
|
|
16
|
+
right: 0;
|
|
17
|
+
bottom: 0;
|
|
18
|
+
left: 0;
|
|
19
|
+
background: var(--seed-color-bg-overlay);
|
|
20
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
21
|
+
}
|
|
22
|
+
.seed-bottom-sheet__backdrop[data-snap-points='true'] {
|
|
23
|
+
opacity: 0;
|
|
24
|
+
}
|
|
25
|
+
.seed-bottom-sheet__backdrop:not([data-state="open"]):not([data-open])[data-snap-points='true']:not([data-snap-points-overlay='true']) {
|
|
26
|
+
opacity: 0;
|
|
27
|
+
}
|
|
28
|
+
.seed-bottom-sheet__backdrop.seed-bottom-sheet__backdrop--state_open[data-snap-points-overlay='true'], .seed-bottom-sheet__backdrop.seed-bottom-sheet__backdrop--open_true[data-snap-points-overlay='true'] {
|
|
29
|
+
opacity: 1;
|
|
30
|
+
}
|
|
31
|
+
.seed-bottom-sheet__content {
|
|
32
|
+
position: relative;
|
|
33
|
+
display: flex;
|
|
34
|
+
flex: 1;
|
|
35
|
+
flex-direction: column;
|
|
36
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
37
|
+
background: var(--seed-color-bg-layer-floating);
|
|
38
|
+
border-top-left-radius: var(--seed-radius-r6);
|
|
39
|
+
border-top-right-radius: var(--seed-radius-r6);
|
|
40
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
41
|
+
transition: transform var(--seed-duration-d6) var(--seed-timing-function-enter-expressive);
|
|
42
|
+
}
|
|
43
|
+
.seed-bottom-sheet__content[data-snap-points='true'] {
|
|
44
|
+
transform: translate3d(0, var(--initial-transform, 100%), 0);
|
|
45
|
+
}
|
|
46
|
+
.seed-bottom-sheet__content[data-delayed-snap-points='true'] {
|
|
47
|
+
transform: translate3d(0, var(--snap-point-height, 0), 0);
|
|
48
|
+
}
|
|
49
|
+
.seed-bottom-sheet__content::after {
|
|
50
|
+
top: 100%;
|
|
51
|
+
height: 200vh;
|
|
52
|
+
position: absolute;
|
|
53
|
+
left: 0;
|
|
54
|
+
right: 0;
|
|
55
|
+
background: inherit;
|
|
56
|
+
z-index: -1;
|
|
57
|
+
}
|
|
58
|
+
.seed-bottom-sheet__header {
|
|
59
|
+
display: flex;
|
|
60
|
+
flex-direction: column;
|
|
61
|
+
gap: var(--seed-dimension-x2);
|
|
62
|
+
padding-top: var(--seed-dimension-x6);
|
|
63
|
+
padding-bottom: var(--seed-dimension-x4);
|
|
64
|
+
}
|
|
65
|
+
.seed-bottom-sheet__title {
|
|
66
|
+
color: var(--seed-color-fg-neutral);
|
|
67
|
+
font-size: var(--seed-font-size-t8);
|
|
68
|
+
line-height: var(--seed-line-height-t8);
|
|
69
|
+
font-weight: var(--seed-font-weight-bold);
|
|
70
|
+
margin: 0;
|
|
71
|
+
}
|
|
72
|
+
.seed-bottom-sheet__description {
|
|
73
|
+
color: var(--seed-color-fg-neutral-muted);
|
|
74
|
+
font-size: var(--seed-font-size-t5);
|
|
75
|
+
line-height: var(--seed-line-height-t5);
|
|
76
|
+
font-weight: var(--seed-font-weight-regular);
|
|
77
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
78
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
79
|
+
margin: 0;
|
|
80
|
+
}
|
|
81
|
+
.seed-bottom-sheet__body {
|
|
82
|
+
display: flex;
|
|
83
|
+
flex-direction: column;
|
|
84
|
+
--seed-box-padding-x: var(--seed-dimension-spacing-x-global-gutter);
|
|
85
|
+
--seed-box-height: auto;
|
|
86
|
+
--seed-box-min-height: auto;
|
|
87
|
+
--seed-box-max-height: none;
|
|
88
|
+
--seed-box-justify-content: flex-start;
|
|
89
|
+
--seed-box-align-items: stretch;
|
|
90
|
+
padding-left: var(--seed-box-padding-x);
|
|
91
|
+
padding-right: var(--seed-box-padding-x);
|
|
92
|
+
height: var(--seed-box-height);
|
|
93
|
+
min-height: var(--seed-box-min-height);
|
|
94
|
+
max-height: var(--seed-box-max-height);
|
|
95
|
+
justify-content: var(--seed-box-justify-content);
|
|
96
|
+
align-items: var(--seed-box-align-items);
|
|
97
|
+
}
|
|
98
|
+
.seed-bottom-sheet__footer {
|
|
99
|
+
display: flex;
|
|
100
|
+
flex-direction: column;
|
|
101
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
102
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
103
|
+
padding-top: var(--seed-dimension-x3);
|
|
104
|
+
padding-bottom: var(--seed-dimension-x4);
|
|
105
|
+
}
|
|
106
|
+
.seed-bottom-sheet__closeButton {
|
|
107
|
+
position: absolute;
|
|
108
|
+
display: flex;
|
|
109
|
+
justify-content: center;
|
|
110
|
+
align-items: center;
|
|
111
|
+
border: none;
|
|
112
|
+
top: var(--seed-dimension-x6);
|
|
113
|
+
right: var(--seed-dimension-x4);
|
|
114
|
+
border-radius: var(--seed-radius-full);
|
|
115
|
+
background: var(--seed-color-bg-neutral-weak);
|
|
116
|
+
width: 28px;
|
|
117
|
+
height: 28px;
|
|
118
|
+
--seed-icon-size: 14px;
|
|
119
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
120
|
+
}
|
|
121
|
+
.seed-bottom-sheet__closeButton:after {
|
|
122
|
+
position: absolute;
|
|
123
|
+
top: calc((28px - 44px) / 2);
|
|
124
|
+
right: calc((28px - 44px) / 2);
|
|
125
|
+
bottom: calc((28px - 44px) / 2);
|
|
126
|
+
left: calc((28px - 44px) / 2);
|
|
127
|
+
}
|
|
128
|
+
.seed-bottom-sheet__header--headerAlign_left {
|
|
129
|
+
justify-content: flex-start;
|
|
130
|
+
}
|
|
131
|
+
.seed-bottom-sheet__title--headerAlign_left {
|
|
132
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
133
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
134
|
+
}
|
|
135
|
+
.seed-bottom-sheet__title--headerAlign_left.seed-bottom-sheet__title--show-close-button_true {
|
|
136
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
137
|
+
padding-right: 56px;
|
|
138
|
+
}
|
|
139
|
+
.seed-bottom-sheet__header--headerAlign_center {
|
|
140
|
+
justify-content: center;
|
|
141
|
+
text-align: center;
|
|
142
|
+
}
|
|
143
|
+
.seed-bottom-sheet__title--headerAlign_center {
|
|
144
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
145
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
146
|
+
}
|
|
147
|
+
.seed-bottom-sheet__title--headerAlign_center.seed-bottom-sheet__title--show-close-button_true {
|
|
148
|
+
padding-left: 56px;
|
|
149
|
+
padding-right: 56px;
|
|
150
|
+
}
|
|
151
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--state_open[data-snap-points='false']:not([data-animation-done='true']), .seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--open_true[data-snap-points='false']:not([data-animation-done='true']) {
|
|
152
|
+
animation-name: fade-in;
|
|
153
|
+
animation-duration: var(--seed-duration-d6);
|
|
154
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
155
|
+
}
|
|
156
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false:not(.seed-bottom-sheet__backdrop--state_open):not([data-open])[data-snap-points='false'] {
|
|
157
|
+
animation-name: fade-out;
|
|
158
|
+
animation-duration: var(--seed-duration-d4);
|
|
159
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
160
|
+
}
|
|
161
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--state_open[data-snap-points='true'][data-should-overlay-animate='true']:not([data-animation-done='true']), .seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--open_true[data-snap-points='true'][data-should-overlay-animate='true']:not([data-animation-done='true']) {
|
|
162
|
+
animation-name: fade-in;
|
|
163
|
+
animation-duration: var(--seed-duration-d6);
|
|
164
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
165
|
+
}
|
|
166
|
+
.seed-bottom-sheet__content--skipAnimation_false {
|
|
167
|
+
animation-duration: var(--seed-duration-d6);
|
|
168
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
169
|
+
}
|
|
170
|
+
.seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--state_open[data-snap-points='false']:not([data-animation-done='true']), .seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--open_true[data-snap-points='false']:not([data-animation-done='true']) {
|
|
171
|
+
animation-name: drawer-slide-from-bottom;
|
|
172
|
+
animation-duration: var(--seed-duration-d6);
|
|
173
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
174
|
+
}
|
|
175
|
+
.seed-bottom-sheet__content--skipAnimation_false:not(.seed-bottom-sheet__content--state_open):not([data-open])[data-snap-points='false'] {
|
|
176
|
+
animation-name: drawer-slide-to-bottom;
|
|
177
|
+
animation-duration: var(--seed-duration-d4);
|
|
178
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
179
|
+
}
|
|
180
|
+
.seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--state_open[data-delayed-snap-points='true']:not([data-animation-done='true']), .seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--open_true[data-delayed-snap-points='true']:not([data-animation-done='true']) {
|
|
181
|
+
animation-name: drawer-slide-from-bottom;
|
|
182
|
+
animation-duration: var(--seed-duration-d6);
|
|
183
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
184
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare interface BottomSheetVariant {
|
|
2
|
+
/**
|
|
3
|
+
* @default "left"
|
|
4
|
+
*/
|
|
5
|
+
headerAlign: "left" | "center";
|
|
6
|
+
/**
|
|
7
|
+
* @default false
|
|
8
|
+
*/
|
|
9
|
+
skipAnimation: boolean;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
declare type BottomSheetVariantMap = {
|
|
13
|
+
[key in keyof BottomSheetVariant]: Array<BottomSheetVariant[key]>;
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export declare type BottomSheetVariantProps = Partial<BottomSheetVariant>;
|
|
17
|
+
|
|
18
|
+
export declare type BottomSheetSlotName = "positioner" | "backdrop" | "content" | "header" | "body" | "footer" | "title" | "description" | "closeButton";
|
|
19
|
+
|
|
20
|
+
export declare const bottomSheetVariantMap: BottomSheetVariantMap;
|
|
21
|
+
|
|
22
|
+
export declare const bottomSheet: ((
|
|
23
|
+
props?: BottomSheetVariantProps,
|
|
24
|
+
) => Record<BottomSheetSlotName, string>) & {
|
|
25
|
+
splitVariantProps: <T extends BottomSheetVariantProps>(
|
|
26
|
+
props: T,
|
|
27
|
+
) => [BottomSheetVariantProps, Omit<T, keyof BottomSheetVariantProps>];
|
|
28
|
+
}
|
|
@@ -0,0 +1,210 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-bottom-sheet__positioner {
|
|
3
|
+
--sheet-z-index: 2;
|
|
4
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
5
|
+
justify-content: center;
|
|
6
|
+
align-items: flex-end;
|
|
7
|
+
display: flex;
|
|
8
|
+
position: fixed;
|
|
9
|
+
top: 0;
|
|
10
|
+
right: 0;
|
|
11
|
+
bottom: 0;
|
|
12
|
+
left: 0;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.seed-bottom-sheet__backdrop {
|
|
16
|
+
background: var(--seed-color-bg-overlay);
|
|
17
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
18
|
+
position: fixed;
|
|
19
|
+
top: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
bottom: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.seed-bottom-sheet__backdrop.seed-bottom-sheet__backdrop--snap-points_true, .seed-bottom-sheet__backdrop:not([data-state="open"]):not([data-open])[data-snap-points="true"]:not([data-snap-points-overlay="true"]) {
|
|
26
|
+
opacity: 0;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.seed-bottom-sheet__backdrop.seed-bottom-sheet__backdrop--state_open.seed-bottom-sheet__backdrop--snap-points-overlay_true, .seed-bottom-sheet__backdrop.seed-bottom-sheet__backdrop--open_true.seed-bottom-sheet__backdrop--snap-points-overlay_true {
|
|
30
|
+
opacity: 1;
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
.seed-bottom-sheet__content {
|
|
34
|
+
z-index: calc(var(--sheet-z-index) + var(--layer-index, 0));
|
|
35
|
+
background: var(--seed-color-bg-layer-floating);
|
|
36
|
+
border-top-left-radius: var(--seed-radius-r6);
|
|
37
|
+
border-top-right-radius: var(--seed-radius-r6);
|
|
38
|
+
padding-bottom: env(safe-area-inset-bottom);
|
|
39
|
+
transition: transform var(--seed-duration-d6) var(--seed-timing-function-enter-expressive);
|
|
40
|
+
flex-direction: column;
|
|
41
|
+
flex: 1;
|
|
42
|
+
display: flex;
|
|
43
|
+
position: relative;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
.seed-bottom-sheet__content.seed-bottom-sheet__content--snap-points_true {
|
|
47
|
+
transform: translate3d(0, var(--initial-transform, 100%), 0);
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.seed-bottom-sheet__content.seed-bottom-sheet__content--delayed-snap-points_true {
|
|
51
|
+
transform: translate3d(0, var(--snap-point-height, 0), 0);
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.seed-bottom-sheet__content:after {
|
|
55
|
+
background: inherit;
|
|
56
|
+
z-index: -1;
|
|
57
|
+
height: 200vh;
|
|
58
|
+
position: absolute;
|
|
59
|
+
top: 100%;
|
|
60
|
+
left: 0;
|
|
61
|
+
right: 0;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.seed-bottom-sheet__header {
|
|
65
|
+
gap: var(--seed-dimension-x2);
|
|
66
|
+
padding-top: var(--seed-dimension-x6);
|
|
67
|
+
padding-bottom: var(--seed-dimension-x4);
|
|
68
|
+
flex-direction: column;
|
|
69
|
+
display: flex;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.seed-bottom-sheet__title {
|
|
73
|
+
color: var(--seed-color-fg-neutral);
|
|
74
|
+
font-size: var(--seed-font-size-t8);
|
|
75
|
+
line-height: var(--seed-line-height-t8);
|
|
76
|
+
font-weight: var(--seed-font-weight-bold);
|
|
77
|
+
margin: 0;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.seed-bottom-sheet__description {
|
|
81
|
+
color: var(--seed-color-fg-neutral-muted);
|
|
82
|
+
font-size: var(--seed-font-size-t5);
|
|
83
|
+
line-height: var(--seed-line-height-t5);
|
|
84
|
+
font-weight: var(--seed-font-weight-regular);
|
|
85
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
86
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
87
|
+
margin: 0;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.seed-bottom-sheet__body {
|
|
91
|
+
--seed-box-padding-x: var(--seed-dimension-spacing-x-global-gutter);
|
|
92
|
+
--seed-box-height: auto;
|
|
93
|
+
--seed-box-min-height: auto;
|
|
94
|
+
--seed-box-max-height: none;
|
|
95
|
+
--seed-box-justify-content: flex-start;
|
|
96
|
+
--seed-box-align-items: stretch;
|
|
97
|
+
padding-left: var(--seed-box-padding-x);
|
|
98
|
+
padding-right: var(--seed-box-padding-x);
|
|
99
|
+
height: var(--seed-box-height);
|
|
100
|
+
min-height: var(--seed-box-min-height);
|
|
101
|
+
max-height: var(--seed-box-max-height);
|
|
102
|
+
justify-content: var(--seed-box-justify-content);
|
|
103
|
+
align-items: var(--seed-box-align-items);
|
|
104
|
+
flex-direction: column;
|
|
105
|
+
display: flex;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.seed-bottom-sheet__footer {
|
|
109
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
110
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
111
|
+
padding-top: var(--seed-dimension-x3);
|
|
112
|
+
padding-bottom: var(--seed-dimension-x4);
|
|
113
|
+
flex-direction: column;
|
|
114
|
+
display: flex;
|
|
115
|
+
}
|
|
116
|
+
|
|
117
|
+
.seed-bottom-sheet__closeButton {
|
|
118
|
+
top: var(--seed-dimension-x6);
|
|
119
|
+
right: var(--seed-dimension-x4);
|
|
120
|
+
border-radius: var(--seed-radius-full);
|
|
121
|
+
background: var(--seed-color-bg-neutral-weak);
|
|
122
|
+
--seed-icon-size: 14px;
|
|
123
|
+
--seed-icon-color: var(--seed-color-fg-neutral);
|
|
124
|
+
border: none;
|
|
125
|
+
justify-content: center;
|
|
126
|
+
align-items: center;
|
|
127
|
+
width: 28px;
|
|
128
|
+
height: 28px;
|
|
129
|
+
display: flex;
|
|
130
|
+
position: absolute;
|
|
131
|
+
}
|
|
132
|
+
|
|
133
|
+
.seed-bottom-sheet__closeButton:after {
|
|
134
|
+
position: absolute;
|
|
135
|
+
top: -8px;
|
|
136
|
+
right: -8px;
|
|
137
|
+
bottom: -8px;
|
|
138
|
+
left: -8px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.seed-bottom-sheet__header--headerAlign_left {
|
|
142
|
+
justify-content: flex-start;
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
.seed-bottom-sheet__title--headerAlign_left {
|
|
146
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
147
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
.seed-bottom-sheet__title--headerAlign_left.seed-bottom-sheet__title--show-close-button_true {
|
|
151
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
152
|
+
padding-right: 56px;
|
|
153
|
+
}
|
|
154
|
+
|
|
155
|
+
.seed-bottom-sheet__header--headerAlign_center {
|
|
156
|
+
text-align: center;
|
|
157
|
+
justify-content: center;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.seed-bottom-sheet__title--headerAlign_center {
|
|
161
|
+
padding-left: var(--seed-dimension-spacing-x-global-gutter);
|
|
162
|
+
padding-right: var(--seed-dimension-spacing-x-global-gutter);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.seed-bottom-sheet__title--headerAlign_center.seed-bottom-sheet__title--show-close-button_true {
|
|
166
|
+
padding-left: 56px;
|
|
167
|
+
padding-right: 56px;
|
|
168
|
+
}
|
|
169
|
+
|
|
170
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--state_open.seed-bottom-sheet__backdrop--snap-points_false:not([data-animation-done="true"]), .seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--open_true.seed-bottom-sheet__backdrop--snap-points_false:not([data-animation-done="true"]) {
|
|
171
|
+
animation-name: fade-in;
|
|
172
|
+
animation-duration: var(--seed-duration-d6);
|
|
173
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
174
|
+
}
|
|
175
|
+
|
|
176
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false:not(.seed-bottom-sheet__backdrop--state_open):not(.seed-bottom-sheet__backdrop--open_true)[data-snap-points="false"] {
|
|
177
|
+
animation-name: fade-out;
|
|
178
|
+
animation-duration: var(--seed-duration-d4);
|
|
179
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--state_open.seed-bottom-sheet__backdrop--snap-points_true[data-should-overlay-animate="true"]:not([data-animation-done="true"]), .seed-bottom-sheet__backdrop--skipAnimation_false.seed-bottom-sheet__backdrop--open_true.seed-bottom-sheet__backdrop--snap-points_true[data-should-overlay-animate="true"]:not([data-animation-done="true"]) {
|
|
183
|
+
animation-name: fade-in;
|
|
184
|
+
animation-duration: var(--seed-duration-d6);
|
|
185
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.seed-bottom-sheet__content--skipAnimation_false {
|
|
189
|
+
animation-duration: var(--seed-duration-d6);
|
|
190
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
191
|
+
}
|
|
192
|
+
|
|
193
|
+
.seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--state_open.seed-bottom-sheet__content--snap-points_false:not([data-animation-done="true"]), .seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--open_true.seed-bottom-sheet__content--snap-points_false:not([data-animation-done="true"]) {
|
|
194
|
+
animation-name: drawer-slide-from-bottom;
|
|
195
|
+
animation-duration: var(--seed-duration-d6);
|
|
196
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
197
|
+
}
|
|
198
|
+
|
|
199
|
+
.seed-bottom-sheet__content--skipAnimation_false:not(.seed-bottom-sheet__content--state_open):not(.seed-bottom-sheet__content--open_true)[data-snap-points="false"] {
|
|
200
|
+
animation-name: drawer-slide-to-bottom;
|
|
201
|
+
animation-duration: var(--seed-duration-d4);
|
|
202
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--state_open.seed-bottom-sheet__content--delayed-snap-points_true:not([data-animation-done="true"]), .seed-bottom-sheet__content--skipAnimation_false.seed-bottom-sheet__content--open_true.seed-bottom-sheet__content--delayed-snap-points_true:not([data-animation-done="true"]) {
|
|
206
|
+
animation-name: drawer-slide-from-bottom;
|
|
207
|
+
animation-duration: var(--seed-duration-d6);
|
|
208
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
209
|
+
}
|
|
210
|
+
}
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import './bottom-sheet.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const bottomSheetSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"positioner",
|
|
7
|
+
"seed-bottom-sheet__positioner"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"backdrop",
|
|
11
|
+
"seed-bottom-sheet__backdrop"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"content",
|
|
15
|
+
"seed-bottom-sheet__content"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"header",
|
|
19
|
+
"seed-bottom-sheet__header"
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"body",
|
|
23
|
+
"seed-bottom-sheet__body"
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"footer",
|
|
27
|
+
"seed-bottom-sheet__footer"
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
"title",
|
|
31
|
+
"seed-bottom-sheet__title"
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
"description",
|
|
35
|
+
"seed-bottom-sheet__description"
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"closeButton",
|
|
39
|
+
"seed-bottom-sheet__closeButton"
|
|
40
|
+
]
|
|
41
|
+
];
|
|
42
|
+
|
|
43
|
+
const defaultVariant = {
|
|
44
|
+
"headerAlign": "left",
|
|
45
|
+
"skipAnimation": false
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const compoundVariants = [];
|
|
49
|
+
|
|
50
|
+
export const bottomSheetVariantMap = {
|
|
51
|
+
"headerAlign": [
|
|
52
|
+
"left",
|
|
53
|
+
"center"
|
|
54
|
+
],
|
|
55
|
+
"skipAnimation": [
|
|
56
|
+
false
|
|
57
|
+
]
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export const bottomSheetVariantKeys = Object.keys(bottomSheetVariantMap);
|
|
61
|
+
|
|
62
|
+
export function bottomSheet(props) {
|
|
63
|
+
return Object.fromEntries(
|
|
64
|
+
bottomSheetSlotNames.map(([slot, className]) => {
|
|
65
|
+
return [
|
|
66
|
+
slot,
|
|
67
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
68
|
+
];
|
|
69
|
+
}),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
Object.assign(bottomSheet, { splitVariantProps: (props) => splitVariantProps(props, bottomSheetVariantMap) });
|
|
74
|
+
|
|
75
|
+
// @recipe(seed): bottom-sheet
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import './bottom-sheet.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const bottomSheetSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"positioner",
|
|
7
|
+
"seed-bottom-sheet__positioner"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"backdrop",
|
|
11
|
+
"seed-bottom-sheet__backdrop"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"content",
|
|
15
|
+
"seed-bottom-sheet__content"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"header",
|
|
19
|
+
"seed-bottom-sheet__header"
|
|
20
|
+
],
|
|
21
|
+
[
|
|
22
|
+
"body",
|
|
23
|
+
"seed-bottom-sheet__body"
|
|
24
|
+
],
|
|
25
|
+
[
|
|
26
|
+
"footer",
|
|
27
|
+
"seed-bottom-sheet__footer"
|
|
28
|
+
],
|
|
29
|
+
[
|
|
30
|
+
"title",
|
|
31
|
+
"seed-bottom-sheet__title"
|
|
32
|
+
],
|
|
33
|
+
[
|
|
34
|
+
"description",
|
|
35
|
+
"seed-bottom-sheet__description"
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"closeButton",
|
|
39
|
+
"seed-bottom-sheet__closeButton"
|
|
40
|
+
]
|
|
41
|
+
];
|
|
42
|
+
|
|
43
|
+
const defaultVariant = {
|
|
44
|
+
"headerAlign": "left",
|
|
45
|
+
"skipAnimation": false
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
const compoundVariants = [];
|
|
49
|
+
|
|
50
|
+
export const bottomSheetVariantMap = {
|
|
51
|
+
"headerAlign": [
|
|
52
|
+
"left",
|
|
53
|
+
"center"
|
|
54
|
+
],
|
|
55
|
+
"skipAnimation": [
|
|
56
|
+
false
|
|
57
|
+
]
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
export const bottomSheetVariantKeys = Object.keys(bottomSheetVariantMap);
|
|
61
|
+
|
|
62
|
+
export function bottomSheet(props) {
|
|
63
|
+
return Object.fromEntries(
|
|
64
|
+
bottomSheetSlotNames.map(([slot, className]) => {
|
|
65
|
+
return [
|
|
66
|
+
slot,
|
|
67
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
68
|
+
];
|
|
69
|
+
}),
|
|
70
|
+
);
|
|
71
|
+
}
|
|
72
|
+
|
|
73
|
+
Object.assign(bottomSheet, { splitVariantProps: (props) => splitVariantProps(props, bottomSheetVariantMap) });
|
|
74
|
+
|
|
75
|
+
// @recipe(seed): bottom-sheet
|