@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,98 @@
|
|
|
1
|
+
import './app-screen.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const appScreenSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-app-screen__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"layer",
|
|
11
|
+
"seed-app-screen__layer"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"dim",
|
|
15
|
+
"seed-app-screen__dim"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"edge",
|
|
19
|
+
"seed-app-screen__edge"
|
|
20
|
+
]
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
const defaultVariant = {
|
|
24
|
+
"theme": "cupertino",
|
|
25
|
+
"transitionStyle": "slideFromRightIOS",
|
|
26
|
+
"layerOffsetTop": "appBar",
|
|
27
|
+
"layerOffsetBottom": "none",
|
|
28
|
+
"tone": "layer",
|
|
29
|
+
"gradient": true
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const compoundVariants = [
|
|
33
|
+
{
|
|
34
|
+
"tone": "transparent",
|
|
35
|
+
"gradient": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"tone": "transparent",
|
|
39
|
+
"gradient": true,
|
|
40
|
+
"layerOffsetBottom": "none"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"tone": "transparent",
|
|
44
|
+
"gradient": true,
|
|
45
|
+
"layerOffsetTop": "safeArea"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"tone": "transparent",
|
|
49
|
+
"gradient": true,
|
|
50
|
+
"layerOffsetTop": "appBar"
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
|
|
54
|
+
export const appScreenVariantMap = {
|
|
55
|
+
"theme": [
|
|
56
|
+
"cupertino",
|
|
57
|
+
"android"
|
|
58
|
+
],
|
|
59
|
+
"transitionStyle": [
|
|
60
|
+
"slideFromRightIOS",
|
|
61
|
+
"fadeFromBottomAndroid",
|
|
62
|
+
"fadeIn"
|
|
63
|
+
],
|
|
64
|
+
"layerOffsetTop": [
|
|
65
|
+
"none",
|
|
66
|
+
"safeArea",
|
|
67
|
+
"appBar"
|
|
68
|
+
],
|
|
69
|
+
"layerOffsetBottom": [
|
|
70
|
+
"none",
|
|
71
|
+
"safeArea"
|
|
72
|
+
],
|
|
73
|
+
"tone": [
|
|
74
|
+
"layer",
|
|
75
|
+
"transparent"
|
|
76
|
+
],
|
|
77
|
+
"gradient": [
|
|
78
|
+
true,
|
|
79
|
+
false
|
|
80
|
+
]
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export const appScreenVariantKeys = Object.keys(appScreenVariantMap);
|
|
84
|
+
|
|
85
|
+
export function appScreen(props) {
|
|
86
|
+
return Object.fromEntries(
|
|
87
|
+
appScreenSlotNames.map(([slot, className]) => {
|
|
88
|
+
return [
|
|
89
|
+
slot,
|
|
90
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
91
|
+
];
|
|
92
|
+
}),
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
Object.assign(appScreen, { splitVariantProps: (props) => splitVariantProps(props, appScreenVariantMap) });
|
|
97
|
+
|
|
98
|
+
// @recipe(seed): app-screen
|
|
@@ -0,0 +1,98 @@
|
|
|
1
|
+
import './app-screen.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const appScreenSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-app-screen__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"layer",
|
|
11
|
+
"seed-app-screen__layer"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"dim",
|
|
15
|
+
"seed-app-screen__dim"
|
|
16
|
+
],
|
|
17
|
+
[
|
|
18
|
+
"edge",
|
|
19
|
+
"seed-app-screen__edge"
|
|
20
|
+
]
|
|
21
|
+
];
|
|
22
|
+
|
|
23
|
+
const defaultVariant = {
|
|
24
|
+
"theme": "cupertino",
|
|
25
|
+
"transitionStyle": "slideFromRightIOS",
|
|
26
|
+
"layerOffsetTop": "appBar",
|
|
27
|
+
"layerOffsetBottom": "none",
|
|
28
|
+
"tone": "layer",
|
|
29
|
+
"gradient": true
|
|
30
|
+
};
|
|
31
|
+
|
|
32
|
+
const compoundVariants = [
|
|
33
|
+
{
|
|
34
|
+
"tone": "transparent",
|
|
35
|
+
"gradient": true
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"tone": "transparent",
|
|
39
|
+
"gradient": true,
|
|
40
|
+
"layerOffsetBottom": "none"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"tone": "transparent",
|
|
44
|
+
"gradient": true,
|
|
45
|
+
"layerOffsetTop": "safeArea"
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
"tone": "transparent",
|
|
49
|
+
"gradient": true,
|
|
50
|
+
"layerOffsetTop": "appBar"
|
|
51
|
+
}
|
|
52
|
+
];
|
|
53
|
+
|
|
54
|
+
export const appScreenVariantMap = {
|
|
55
|
+
"theme": [
|
|
56
|
+
"cupertino",
|
|
57
|
+
"android"
|
|
58
|
+
],
|
|
59
|
+
"transitionStyle": [
|
|
60
|
+
"slideFromRightIOS",
|
|
61
|
+
"fadeFromBottomAndroid",
|
|
62
|
+
"fadeIn"
|
|
63
|
+
],
|
|
64
|
+
"layerOffsetTop": [
|
|
65
|
+
"none",
|
|
66
|
+
"safeArea",
|
|
67
|
+
"appBar"
|
|
68
|
+
],
|
|
69
|
+
"layerOffsetBottom": [
|
|
70
|
+
"none",
|
|
71
|
+
"safeArea"
|
|
72
|
+
],
|
|
73
|
+
"tone": [
|
|
74
|
+
"layer",
|
|
75
|
+
"transparent"
|
|
76
|
+
],
|
|
77
|
+
"gradient": [
|
|
78
|
+
true,
|
|
79
|
+
false
|
|
80
|
+
]
|
|
81
|
+
};
|
|
82
|
+
|
|
83
|
+
export const appScreenVariantKeys = Object.keys(appScreenVariantMap);
|
|
84
|
+
|
|
85
|
+
export function appScreen(props) {
|
|
86
|
+
return Object.fromEntries(
|
|
87
|
+
appScreenSlotNames.map(([slot, className]) => {
|
|
88
|
+
return [
|
|
89
|
+
slot,
|
|
90
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
91
|
+
];
|
|
92
|
+
}),
|
|
93
|
+
);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
Object.assign(appScreen, { splitVariantProps: (props) => splitVariantProps(props, appScreenVariantMap) });
|
|
97
|
+
|
|
98
|
+
// @recipe(seed): app-screen
|
|
File without changes
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare interface ArticleVariant {
|
|
2
|
+
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
loading?: boolean;}
|
|
5
|
+
|
|
6
|
+
declare type ArticleVariantMap = {
|
|
7
|
+
[key in keyof ArticleVariant]: Array<ArticleVariant[key]>;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export declare type ArticleVariantProps = Partial<ArticleVariant>;
|
|
11
|
+
|
|
12
|
+
export declare type ArticleSlotName = "root" | "text";
|
|
13
|
+
|
|
14
|
+
export declare const articleVariantMap: ArticleVariantMap;
|
|
15
|
+
|
|
16
|
+
export declare const article: ((
|
|
17
|
+
props?: ArticleVariantProps,
|
|
18
|
+
) => Record<ArticleSlotName, string>) & {
|
|
19
|
+
splitVariantProps: <T extends ArticleVariantProps>(
|
|
20
|
+
props: T,
|
|
21
|
+
) => [ArticleVariantProps, Omit<T, keyof ArticleVariantProps>];
|
|
22
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
@layer seed-components;
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import './article.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const articleSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-article"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"text",
|
|
11
|
+
"seed-article__text"
|
|
12
|
+
]
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const defaultVariant = {};
|
|
16
|
+
|
|
17
|
+
const compoundVariants = [];
|
|
18
|
+
|
|
19
|
+
export const articleVariantMap = {
|
|
20
|
+
"disabled": [
|
|
21
|
+
true
|
|
22
|
+
],
|
|
23
|
+
"loading": [
|
|
24
|
+
true
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const articleVariantKeys = Object.keys(articleVariantMap);
|
|
29
|
+
|
|
30
|
+
export function article(props) {
|
|
31
|
+
return Object.fromEntries(
|
|
32
|
+
articleSlotNames.map(([slot, className]) => {
|
|
33
|
+
return [
|
|
34
|
+
slot,
|
|
35
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
36
|
+
];
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
Object.assign(article, { splitVariantProps: (props) => splitVariantProps(props, articleVariantMap) });
|
|
42
|
+
|
|
43
|
+
// @recipe(seed): article
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import './article.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const articleSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-article"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"text",
|
|
11
|
+
"seed-article__text"
|
|
12
|
+
]
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const defaultVariant = {};
|
|
16
|
+
|
|
17
|
+
const compoundVariants = [];
|
|
18
|
+
|
|
19
|
+
export const articleVariantMap = {
|
|
20
|
+
"disabled": [
|
|
21
|
+
true
|
|
22
|
+
],
|
|
23
|
+
"loading": [
|
|
24
|
+
true
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const articleVariantKeys = Object.keys(articleVariantMap);
|
|
29
|
+
|
|
30
|
+
export function article(props) {
|
|
31
|
+
return Object.fromEntries(
|
|
32
|
+
articleSlotNames.map(([slot, className]) => {
|
|
33
|
+
return [
|
|
34
|
+
slot,
|
|
35
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
36
|
+
];
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
Object.assign(article, { splitVariantProps: (props) => splitVariantProps(props, articleVariantMap) });
|
|
42
|
+
|
|
43
|
+
// @recipe(seed): article
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
.seed-aspect-ratio {
|
|
2
|
+
--seed-aspect-ratio-padding: 75%;
|
|
3
|
+
}.seed-aspect-ratio__text {
|
|
4
|
+
--seed-aspect-ratio-padding: 75%;
|
|
5
|
+
}
|
|
6
|
+
.seed-aspect-ratio::before {
|
|
7
|
+
display: block;
|
|
8
|
+
height: 0;
|
|
9
|
+
padding-bottom: var(--seed-aspect-ratio-padding);
|
|
10
|
+
}
|
|
11
|
+
.seed-aspect-ratio > *:not(style) {
|
|
12
|
+
position: absolute;
|
|
13
|
+
top: 0;
|
|
14
|
+
left: 0;
|
|
15
|
+
right: 0;
|
|
16
|
+
bottom: 0;
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
display: flex;
|
|
20
|
+
justify-content: center;
|
|
21
|
+
align-items: center;
|
|
22
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
declare interface AspectRatioVariant {
|
|
2
|
+
|
|
3
|
+
disabled?: boolean;
|
|
4
|
+
loading?: boolean;}
|
|
5
|
+
|
|
6
|
+
declare type AspectRatioVariantMap = {
|
|
7
|
+
[key in keyof AspectRatioVariant]: Array<AspectRatioVariant[key]>;
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export declare type AspectRatioVariantProps = Partial<AspectRatioVariant>;
|
|
11
|
+
|
|
12
|
+
export declare type AspectRatioSlotName = "root" | "text";
|
|
13
|
+
|
|
14
|
+
export declare const aspectRatioVariantMap: AspectRatioVariantMap;
|
|
15
|
+
|
|
16
|
+
export declare const aspectRatio: ((
|
|
17
|
+
props?: AspectRatioVariantProps,
|
|
18
|
+
) => Record<AspectRatioSlotName, string>) & {
|
|
19
|
+
splitVariantProps: <T extends AspectRatioVariantProps>(
|
|
20
|
+
props: T,
|
|
21
|
+
) => [AspectRatioVariantProps, Omit<T, keyof AspectRatioVariantProps>];
|
|
22
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-aspect-ratio, .seed-aspect-ratio__text {
|
|
3
|
+
--seed-aspect-ratio-padding: 75%;
|
|
4
|
+
}
|
|
5
|
+
|
|
6
|
+
.seed-aspect-ratio:before {
|
|
7
|
+
height: 0;
|
|
8
|
+
padding-bottom: var(--seed-aspect-ratio-padding);
|
|
9
|
+
display: block;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.seed-aspect-ratio > :not(style) {
|
|
13
|
+
justify-content: center;
|
|
14
|
+
align-items: center;
|
|
15
|
+
width: 100%;
|
|
16
|
+
height: 100%;
|
|
17
|
+
display: flex;
|
|
18
|
+
position: absolute;
|
|
19
|
+
top: 0;
|
|
20
|
+
right: 0;
|
|
21
|
+
bottom: 0;
|
|
22
|
+
left: 0;
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import './aspect-ratio.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const aspectRatioSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-aspect-ratio"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"text",
|
|
11
|
+
"seed-aspect-ratio__text"
|
|
12
|
+
]
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const defaultVariant = {};
|
|
16
|
+
|
|
17
|
+
const compoundVariants = [];
|
|
18
|
+
|
|
19
|
+
export const aspectRatioVariantMap = {
|
|
20
|
+
"disabled": [
|
|
21
|
+
true
|
|
22
|
+
],
|
|
23
|
+
"loading": [
|
|
24
|
+
true
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const aspectRatioVariantKeys = Object.keys(aspectRatioVariantMap);
|
|
29
|
+
|
|
30
|
+
export function aspectRatio(props) {
|
|
31
|
+
return Object.fromEntries(
|
|
32
|
+
aspectRatioSlotNames.map(([slot, className]) => {
|
|
33
|
+
return [
|
|
34
|
+
slot,
|
|
35
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
36
|
+
];
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
Object.assign(aspectRatio, { splitVariantProps: (props) => splitVariantProps(props, aspectRatioVariantMap) });
|
|
42
|
+
|
|
43
|
+
// @recipe(seed): aspect-ratio
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import './aspect-ratio.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const aspectRatioSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-aspect-ratio"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"text",
|
|
11
|
+
"seed-aspect-ratio__text"
|
|
12
|
+
]
|
|
13
|
+
];
|
|
14
|
+
|
|
15
|
+
const defaultVariant = {};
|
|
16
|
+
|
|
17
|
+
const compoundVariants = [];
|
|
18
|
+
|
|
19
|
+
export const aspectRatioVariantMap = {
|
|
20
|
+
"disabled": [
|
|
21
|
+
true
|
|
22
|
+
],
|
|
23
|
+
"loading": [
|
|
24
|
+
true
|
|
25
|
+
]
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export const aspectRatioVariantKeys = Object.keys(aspectRatioVariantMap);
|
|
29
|
+
|
|
30
|
+
export function aspectRatio(props) {
|
|
31
|
+
return Object.fromEntries(
|
|
32
|
+
aspectRatioSlotNames.map(([slot, className]) => {
|
|
33
|
+
return [
|
|
34
|
+
slot,
|
|
35
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
36
|
+
];
|
|
37
|
+
}),
|
|
38
|
+
);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
Object.assign(aspectRatio, { splitVariantProps: (props) => splitVariantProps(props, aspectRatioVariantMap) });
|
|
42
|
+
|
|
43
|
+
// @recipe(seed): aspect-ratio
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
.seed-avatar-stack__root {
|
|
2
|
+
display: inline-flex;
|
|
3
|
+
align-items: center
|
|
4
|
+
}
|
|
5
|
+
.seed-avatar-stack__item {
|
|
6
|
+
display: block;
|
|
7
|
+
border-radius: var(--seed-radius-full);
|
|
8
|
+
background-clip: padding-box
|
|
9
|
+
}
|
|
10
|
+
.seed-avatar-stack__item--size_20:not(:first-child) {
|
|
11
|
+
margin-left: -5px
|
|
12
|
+
}
|
|
13
|
+
.seed-avatar-stack__item--size_20 {
|
|
14
|
+
clip-path: inset(-1px);
|
|
15
|
+
box-shadow: 0 0 0 1px var(--seed-color-bg-layer-default)
|
|
16
|
+
}
|
|
17
|
+
.seed-avatar-stack__item--size_24:not(:first-child) {
|
|
18
|
+
margin-left: -6px
|
|
19
|
+
}
|
|
20
|
+
.seed-avatar-stack__item--size_24 {
|
|
21
|
+
clip-path: inset(-1px);
|
|
22
|
+
box-shadow: 0 0 0 1px var(--seed-color-bg-layer-default)
|
|
23
|
+
}
|
|
24
|
+
.seed-avatar-stack__item--size_36:not(:first-child) {
|
|
25
|
+
margin-left: -8px
|
|
26
|
+
}
|
|
27
|
+
.seed-avatar-stack__item--size_36 {
|
|
28
|
+
clip-path: inset(-2px);
|
|
29
|
+
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default)
|
|
30
|
+
}
|
|
31
|
+
.seed-avatar-stack__item--size_42:not(:first-child) {
|
|
32
|
+
margin-left: -10px
|
|
33
|
+
}
|
|
34
|
+
.seed-avatar-stack__item--size_42 {
|
|
35
|
+
clip-path: inset(-2px);
|
|
36
|
+
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default)
|
|
37
|
+
}
|
|
38
|
+
.seed-avatar-stack__item--size_48:not(:first-child) {
|
|
39
|
+
margin-left: -12px
|
|
40
|
+
}
|
|
41
|
+
.seed-avatar-stack__item--size_48 {
|
|
42
|
+
clip-path: inset(-2px);
|
|
43
|
+
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default)
|
|
44
|
+
}
|
|
45
|
+
.seed-avatar-stack__item--size_56:not(:first-child) {
|
|
46
|
+
margin-left: -13px
|
|
47
|
+
}
|
|
48
|
+
.seed-avatar-stack__item--size_56 {
|
|
49
|
+
clip-path: inset(-3px);
|
|
50
|
+
box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default)
|
|
51
|
+
}
|
|
52
|
+
.seed-avatar-stack__item--size_64:not(:first-child) {
|
|
53
|
+
margin-left: -16px
|
|
54
|
+
}
|
|
55
|
+
.seed-avatar-stack__item--size_64 {
|
|
56
|
+
clip-path: inset(-3px);
|
|
57
|
+
box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default)
|
|
58
|
+
}
|
|
59
|
+
.seed-avatar-stack__item--size_80:not(:first-child) {
|
|
60
|
+
margin-left: -20px
|
|
61
|
+
}
|
|
62
|
+
.seed-avatar-stack__item--size_80 {
|
|
63
|
+
clip-path: inset(-4px);
|
|
64
|
+
box-shadow: 0 0 0 4px var(--seed-color-bg-layer-default)
|
|
65
|
+
}
|
|
66
|
+
.seed-avatar-stack__item--size_96:not(:first-child) {
|
|
67
|
+
margin-left: -24px
|
|
68
|
+
}
|
|
69
|
+
.seed-avatar-stack__item--size_96 {
|
|
70
|
+
clip-path: inset(-5px);
|
|
71
|
+
box-shadow: 0 0 0 5px var(--seed-color-bg-layer-default)
|
|
72
|
+
}
|
|
73
|
+
.seed-avatar-stack__item--size_108:not(:first-child) {
|
|
74
|
+
margin-left: -27px
|
|
75
|
+
}
|
|
76
|
+
.seed-avatar-stack__item--size_108 {
|
|
77
|
+
clip-path: inset(-5px);
|
|
78
|
+
box-shadow: 0 0 0 5px var(--seed-color-bg-layer-default)
|
|
79
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
declare interface AvatarStackVariant {
|
|
2
|
+
/**
|
|
3
|
+
* @default 48
|
|
4
|
+
*/
|
|
5
|
+
size: "20" | "24" | "36" | "42" | "48" | "56" | "64" | "80" | "96" | "108";
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
declare type AvatarStackVariantMap = {
|
|
9
|
+
[key in keyof AvatarStackVariant]: Array<AvatarStackVariant[key]>;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export declare type AvatarStackVariantProps = Partial<AvatarStackVariant>;
|
|
13
|
+
|
|
14
|
+
export declare type AvatarStackSlotName = "root" | "item";
|
|
15
|
+
|
|
16
|
+
export declare const avatarStackVariantMap: AvatarStackVariantMap;
|
|
17
|
+
|
|
18
|
+
export declare const avatarStack: ((
|
|
19
|
+
props?: AvatarStackVariantProps,
|
|
20
|
+
) => Record<AvatarStackSlotName, string>) & {
|
|
21
|
+
splitVariantProps: <T extends AvatarStackVariantProps>(
|
|
22
|
+
props: T,
|
|
23
|
+
) => [AvatarStackVariantProps, Omit<T, keyof AvatarStackVariantProps>];
|
|
24
|
+
}
|
|
@@ -0,0 +1,102 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-avatar-stack__root {
|
|
3
|
+
align-items: center;
|
|
4
|
+
display: inline-flex;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.seed-avatar-stack__item {
|
|
8
|
+
border-radius: var(--seed-radius-full);
|
|
9
|
+
background-clip: padding-box;
|
|
10
|
+
display: block;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.seed-avatar-stack__item--size_20:not(:first-child) {
|
|
14
|
+
margin-left: -5px;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.seed-avatar-stack__item--size_20 {
|
|
18
|
+
clip-path: inset(-1px);
|
|
19
|
+
box-shadow: 0 0 0 1px var(--seed-color-bg-layer-default);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.seed-avatar-stack__item--size_24:not(:first-child) {
|
|
23
|
+
margin-left: -6px;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.seed-avatar-stack__item--size_24 {
|
|
27
|
+
clip-path: inset(-1px);
|
|
28
|
+
box-shadow: 0 0 0 1px var(--seed-color-bg-layer-default);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.seed-avatar-stack__item--size_36:not(:first-child) {
|
|
32
|
+
margin-left: -8px;
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.seed-avatar-stack__item--size_36 {
|
|
36
|
+
clip-path: inset(-2px);
|
|
37
|
+
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.seed-avatar-stack__item--size_42:not(:first-child) {
|
|
41
|
+
margin-left: -10px;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.seed-avatar-stack__item--size_42 {
|
|
45
|
+
clip-path: inset(-2px);
|
|
46
|
+
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.seed-avatar-stack__item--size_48:not(:first-child) {
|
|
50
|
+
margin-left: -12px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
.seed-avatar-stack__item--size_48 {
|
|
54
|
+
clip-path: inset(-2px);
|
|
55
|
+
box-shadow: 0 0 0 2px var(--seed-color-bg-layer-default);
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
.seed-avatar-stack__item--size_56:not(:first-child) {
|
|
59
|
+
margin-left: -13px;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.seed-avatar-stack__item--size_56 {
|
|
63
|
+
clip-path: inset(-3px);
|
|
64
|
+
box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default);
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.seed-avatar-stack__item--size_64:not(:first-child) {
|
|
68
|
+
margin-left: -16px;
|
|
69
|
+
}
|
|
70
|
+
|
|
71
|
+
.seed-avatar-stack__item--size_64 {
|
|
72
|
+
clip-path: inset(-3px);
|
|
73
|
+
box-shadow: 0 0 0 3px var(--seed-color-bg-layer-default);
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.seed-avatar-stack__item--size_80:not(:first-child) {
|
|
77
|
+
margin-left: -20px;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
.seed-avatar-stack__item--size_80 {
|
|
81
|
+
clip-path: inset(-4px);
|
|
82
|
+
box-shadow: 0 0 0 4px var(--seed-color-bg-layer-default);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.seed-avatar-stack__item--size_96:not(:first-child) {
|
|
86
|
+
margin-left: -24px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.seed-avatar-stack__item--size_96 {
|
|
90
|
+
clip-path: inset(-5px);
|
|
91
|
+
box-shadow: 0 0 0 5px var(--seed-color-bg-layer-default);
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.seed-avatar-stack__item--size_108:not(:first-child) {
|
|
95
|
+
margin-left: -27px;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.seed-avatar-stack__item--size_108 {
|
|
99
|
+
clip-path: inset(-5px);
|
|
100
|
+
box-shadow: 0 0 0 5px var(--seed-color-bg-layer-default);
|
|
101
|
+
}
|
|
102
|
+
}
|