@seed-design/css 2.8.3 → 3.0.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/README.md +2 -2
- package/all.css +853 -1409
- package/all.layered.css +853 -1409
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/base.css +51 -4
- package/base.layered.css +51 -4
- package/base.layered.min.css +1 -1
- package/base.min.css +1 -1
- package/package.json +8 -11
- package/recipes/accordion.css +3 -0
- package/recipes/accordion.layered.css +4 -0
- package/recipes/action-button.css +19 -19
- package/recipes/action-button.layered.css +19 -19
- package/recipes/alert-dialog.css +101 -0
- package/recipes/alert-dialog.d.ts +24 -0
- package/recipes/alert-dialog.layered.css +114 -0
- package/recipes/alert-dialog.layered.mjs +66 -0
- package/recipes/alert-dialog.mjs +66 -0
- package/recipes/app-bar-main.css +2 -1
- package/recipes/app-bar-main.layered.css +2 -1
- package/recipes/app-bar.css +5 -3
- package/recipes/app-bar.layered.css +5 -3
- package/recipes/app-screen.css +5 -1
- package/recipes/app-screen.layered.css +6 -6
- package/recipes/badge.css +83 -27
- package/recipes/badge.d.ts +1 -1
- package/recipes/badge.layered.css +63 -8
- package/recipes/badge.layered.mjs +8 -0
- package/recipes/badge.mjs +8 -0
- package/recipes/checkmark.css +5 -5
- package/recipes/checkmark.layered.css +5 -5
- package/recipes/chip-tabs.css +8 -8
- package/recipes/chip-tabs.layered.css +8 -8
- package/recipes/chip.css +10 -10
- package/recipes/chip.layered.css +10 -10
- package/recipes/contextual-floating-button.css +8 -8
- package/recipes/contextual-floating-button.layered.css +8 -8
- package/recipes/date-picker.css +29 -16
- package/recipes/date-picker.d.ts +1 -1
- package/recipes/date-picker.layered.css +34 -15
- package/recipes/date-picker.layered.mjs +6 -14
- package/recipes/date-picker.mjs +6 -14
- package/recipes/dialog.css +206 -46
- package/recipes/dialog.d.ts +3 -3
- package/recipes/dialog.layered.css +228 -46
- package/recipes/dialog.layered.mjs +12 -7
- package/recipes/dialog.mjs +12 -7
- package/recipes/floating-action-button.css +2 -2
- package/recipes/floating-action-button.layered.css +2 -2
- package/recipes/help-bubble.css +9 -6
- package/recipes/help-bubble.layered.css +10 -6
- package/recipes/menu-item.css +3 -0
- package/recipes/menu-item.layered.css +4 -0
- package/recipes/menu-sheet-item.css +3 -0
- package/recipes/menu-sheet-item.layered.css +4 -0
- package/recipes/notification-badge.css +1 -1
- package/recipes/notification-badge.layered.css +1 -1
- package/recipes/page-banner.css +32 -29
- package/recipes/page-banner.layered.css +23 -19
- package/recipes/pagination-page-item.css +4 -4
- package/recipes/pagination-page-item.layered.css +4 -4
- package/recipes/{content-dialog.css → popover.css} +77 -104
- package/recipes/popover.d.ts +21 -0
- package/recipes/{content-dialog.layered.css → popover.layered.css} +80 -111
- package/recipes/popover.layered.mjs +60 -0
- package/recipes/popover.mjs +60 -0
- package/recipes/radiomark.css +5 -5
- package/recipes/radiomark.layered.css +5 -5
- package/recipes/segmented-control.css +3 -0
- package/recipes/segmented-control.layered.css +4 -0
- package/recipes/select-box.css +4 -0
- package/recipes/select-box.layered.css +5 -0
- package/recipes/select-item.css +3 -0
- package/recipes/select-item.layered.css +4 -0
- package/recipes/select-trigger.css +3 -0
- package/recipes/select-trigger.layered.css +4 -0
- package/recipes/side-panel.css +0 -33
- package/recipes/side-panel.layered.css +0 -33
- package/recipes/slider-tick.css +1 -1
- package/recipes/slider-tick.layered.css +1 -1
- package/recipes/slider.css +4 -4
- package/recipes/slider.layered.css +4 -4
- package/recipes/snackbar.css +2 -2
- package/recipes/snackbar.layered.css +2 -2
- package/recipes/switchmark.css +2 -2
- package/recipes/switchmark.layered.css +2 -2
- package/recipes/time-picker.css +2 -5
- package/recipes/time-picker.d.ts +1 -1
- package/recipes/time-picker.layered.css +2 -3
- package/recipes/time-picker.layered.mjs +0 -12
- package/recipes/time-picker.mjs +0 -12
- package/recipes/toggle-button.css +4 -4
- package/recipes/toggle-button.layered.css +4 -4
- package/recipes/wheel-picker.css +42 -3
- package/recipes/wheel-picker.d.ts +5 -2
- package/recipes/wheel-picker.layered.css +47 -3
- package/recipes/wheel-picker.layered.mjs +13 -2
- package/recipes/wheel-picker.mjs +13 -2
- package/vars/color/bg.d.ts +8 -4
- package/vars/color/bg.mjs +3 -1
- package/vars/color/fg.d.ts +13 -1
- package/vars/color/fg.mjs +6 -0
- package/vars/component/index.d.ts +1 -104
- package/vars/component/index.mjs +1 -104
- package/recipes/action-chip.css +0 -75
- package/recipes/action-chip.d.ts +0 -26
- package/recipes/action-chip.layered.css +0 -84
- package/recipes/action-chip.layered.mjs +0 -51
- package/recipes/action-chip.mjs +0 -51
- package/recipes/action-sheet-item.css +0 -32
- package/recipes/action-sheet-item.d.ts +0 -22
- package/recipes/action-sheet-item.layered.css +0 -38
- package/recipes/action-sheet-item.layered.mjs +0 -29
- package/recipes/action-sheet-item.mjs +0 -29
- package/recipes/action-sheet.css +0 -125
- package/recipes/action-sheet.d.ts +0 -21
- package/recipes/action-sheet.layered.css +0 -134
- package/recipes/action-sheet.layered.mjs +0 -60
- package/recipes/action-sheet.mjs +0 -60
- package/recipes/content-dialog.d.ts +0 -24
- package/recipes/content-dialog.layered.mjs +0 -71
- package/recipes/content-dialog.mjs +0 -71
- package/recipes/control-chip.css +0 -88
- package/recipes/control-chip.d.ts +0 -26
- package/recipes/control-chip.layered.css +0 -99
- package/recipes/control-chip.layered.mjs +0 -51
- package/recipes/control-chip.mjs +0 -51
- package/recipes/extended-action-sheet-item.css +0 -31
- package/recipes/extended-action-sheet-item.d.ts +0 -22
- package/recipes/extended-action-sheet-item.layered.css +0 -38
- package/recipes/extended-action-sheet-item.layered.mjs +0 -29
- package/recipes/extended-action-sheet-item.mjs +0 -29
- package/recipes/extended-action-sheet.css +0 -123
- package/recipes/extended-action-sheet.d.ts +0 -21
- package/recipes/extended-action-sheet.layered.css +0 -132
- package/recipes/extended-action-sheet.layered.mjs +0 -64
- package/recipes/extended-action-sheet.mjs +0 -64
- package/recipes/extended-fab.css +0 -66
- package/recipes/extended-fab.d.ts +0 -26
- package/recipes/extended-fab.layered.css +0 -79
- package/recipes/extended-fab.layered.mjs +0 -34
- package/recipes/extended-fab.mjs +0 -34
- package/recipes/fab.css +0 -31
- package/recipes/fab.d.ts +0 -19
- package/recipes/fab.layered.css +0 -37
- package/recipes/fab.layered.mjs +0 -22
- package/recipes/fab.mjs +0 -22
- package/recipes/inline-banner.css +0 -180
- package/recipes/inline-banner.d.ts +0 -24
- package/recipes/inline-banner.layered.css +0 -161
- package/recipes/inline-banner.layered.mjs +0 -64
- package/recipes/inline-banner.mjs +0 -64
- package/recipes/link-content.css +0 -41
- package/recipes/link-content.d.ts +0 -26
- package/recipes/link-content.layered.css +0 -48
- package/recipes/link-content.layered.mjs +0 -35
- package/recipes/link-content.mjs +0 -35
- package/recipes/wheel-picker-public.css +0 -124
- package/recipes/wheel-picker-public.d.ts +0 -24
- package/recipes/wheel-picker-public.layered.css +0 -144
- package/recipes/wheel-picker-public.layered.mjs +0 -63
- package/recipes/wheel-picker-public.mjs +0 -63
- package/vars/component/accordion-item.d.ts +0 -132
- package/vars/component/accordion-item.mjs +0 -126
- package/vars/component/accordion.d.ts +0 -22
- package/vars/component/accordion.mjs +0 -16
- package/vars/component/action-button.d.ts +0 -660
- package/vars/component/action-button.mjs +0 -541
- package/vars/component/action-chip.d.ts +0 -132
- package/vars/component/action-chip.mjs +0 -132
- package/vars/component/action-sheet-close-button.d.ts +0 -23
- package/vars/component/action-sheet-close-button.mjs +0 -23
- package/vars/component/action-sheet-item.d.ts +0 -36
- package/vars/component/action-sheet-item.mjs +0 -36
- package/vars/component/action-sheet.d.ts +0 -46
- package/vars/component/action-sheet.mjs +0 -46
- package/vars/component/alert-dialog.d.ts +0 -52
- package/vars/component/alert-dialog.mjs +0 -52
- package/vars/component/attachment-input-dropzone.d.ts +0 -32
- package/vars/component/attachment-input-dropzone.mjs +0 -30
- package/vars/component/attachment-input-item-action-button.d.ts +0 -37
- package/vars/component/attachment-input-item-action-button.mjs +0 -37
- package/vars/component/attachment-input-item-remove-button.d.ts +0 -28
- package/vars/component/attachment-input-item-remove-button.mjs +0 -28
- package/vars/component/attachment-input-item.d.ts +0 -103
- package/vars/component/attachment-input-item.mjs +0 -102
- package/vars/component/attachment-input-trigger.d.ts +0 -46
- package/vars/component/attachment-input-trigger.mjs +0 -46
- package/vars/component/attachment-input.d.ts +0 -14
- package/vars/component/attachment-input.mjs +0 -12
- package/vars/component/avatar-stack.d.ts +0 -110
- package/vars/component/avatar-stack.mjs +0 -110
- package/vars/component/avatar.d.ts +0 -204
- package/vars/component/avatar.mjs +0 -162
- package/vars/component/badge.d.ts +0 -316
- package/vars/component/badge.mjs +0 -236
- package/vars/component/bottom-sheet-close-button.d.ts +0 -21
- package/vars/component/bottom-sheet-close-button.mjs +0 -21
- package/vars/component/bottom-sheet-handle.d.ts +0 -24
- package/vars/component/bottom-sheet-handle.mjs +0 -24
- package/vars/component/bottom-sheet.d.ts +0 -86
- package/vars/component/bottom-sheet.mjs +0 -86
- package/vars/component/callout-close-button.d.ts +0 -81
- package/vars/component/callout-close-button.mjs +0 -63
- package/vars/component/callout.d.ts +0 -232
- package/vars/component/callout.mjs +0 -200
- package/vars/component/checkbox-group.d.ts +0 -9
- package/vars/component/checkbox-group.mjs +0 -9
- package/vars/component/checkbox.d.ts +0 -56
- package/vars/component/checkbox.mjs +0 -53
- package/vars/component/checkmark.d.ts +0 -195
- package/vars/component/checkmark.mjs +0 -165
- package/vars/component/chip-tablist.d.ts +0 -24
- package/vars/component/chip-tablist.mjs +0 -24
- package/vars/component/chip.d.ts +0 -321
- package/vars/component/chip.mjs +0 -303
- package/vars/component/content-placeholder.d.ts +0 -28
- package/vars/component/content-placeholder.mjs +0 -27
- package/vars/component/contextual-floating-button.d.ts +0 -144
- package/vars/component/contextual-floating-button.mjs +0 -132
- package/vars/component/control-chip.d.ts +0 -158
- package/vars/component/control-chip.mjs +0 -158
- package/vars/component/date-picker.d.ts +0 -103
- package/vars/component/date-picker.mjs +0 -103
- package/vars/component/dialog-close-button.d.ts +0 -24
- package/vars/component/dialog-close-button.mjs +0 -24
- package/vars/component/dialog.d.ts +0 -91
- package/vars/component/dialog.mjs +0 -83
- package/vars/component/divider.d.ts +0 -9
- package/vars/component/divider.mjs +0 -9
- package/vars/component/extended-action-sheet-close-button.d.ts +0 -24
- package/vars/component/extended-action-sheet-close-button.mjs +0 -24
- package/vars/component/extended-action-sheet-item.d.ts +0 -46
- package/vars/component/extended-action-sheet-item.mjs +0 -46
- package/vars/component/extended-action-sheet.d.ts +0 -55
- package/vars/component/extended-action-sheet.mjs +0 -55
- package/vars/component/extended-fab.d.ts +0 -88
- package/vars/component/extended-fab.mjs +0 -82
- package/vars/component/fab.d.ts +0 -21
- package/vars/component/fab.mjs +0 -21
- package/vars/component/field-label.d.ts +0 -25
- package/vars/component/field-label.mjs +0 -25
- package/vars/component/field.d.ts +0 -78
- package/vars/component/field.mjs +0 -72
- package/vars/component/floating-action-button.d.ts +0 -60
- package/vars/component/floating-action-button.mjs +0 -54
- package/vars/component/help-bubble.d.ts +0 -55
- package/vars/component/help-bubble.mjs +0 -52
- package/vars/component/identity-placeholder.d.ts +0 -12
- package/vars/component/identity-placeholder.mjs +0 -12
- package/vars/component/image-frame-floater.d.ts +0 -10
- package/vars/component/image-frame-floater.mjs +0 -9
- package/vars/component/image-frame-indicator.d.ts +0 -20
- package/vars/component/image-frame-indicator.mjs +0 -18
- package/vars/component/image-frame-reaction-button.d.ts +0 -60
- package/vars/component/image-frame-reaction-button.mjs +0 -51
- package/vars/component/image-frame.d.ts +0 -27
- package/vars/component/image-frame.mjs +0 -18
- package/vars/component/inline-banner.d.ts +0 -191
- package/vars/component/inline-banner.mjs +0 -191
- package/vars/component/input-button.d.ts +0 -162
- package/vars/component/input-button.mjs +0 -155
- package/vars/component/link-content.d.ts +0 -58
- package/vars/component/link-content.mjs +0 -58
- package/vars/component/list-header.d.ts +0 -29
- package/vars/component/list-header.mjs +0 -29
- package/vars/component/list-item.d.ts +0 -85
- package/vars/component/list-item.mjs +0 -84
- package/vars/component/manner-temp-badge.d.ts +0 -117
- package/vars/component/manner-temp-badge.mjs +0 -117
- package/vars/component/manner-temp.d.ts +0 -88
- package/vars/component/manner-temp.mjs +0 -88
- package/vars/component/menu-item.d.ts +0 -129
- package/vars/component/menu-item.mjs +0 -117
- package/vars/component/menu-sheet-close-button.d.ts +0 -24
- package/vars/component/menu-sheet-close-button.mjs +0 -24
- package/vars/component/menu-sheet-item.d.ts +0 -69
- package/vars/component/menu-sheet-item.mjs +0 -57
- package/vars/component/menu-sheet.d.ts +0 -56
- package/vars/component/menu-sheet.mjs +0 -56
- package/vars/component/menu.d.ts +0 -68
- package/vars/component/menu.mjs +0 -60
- package/vars/component/notification-badge.d.ts +0 -48
- package/vars/component/notification-badge.mjs +0 -42
- package/vars/component/page-banner-close-button.d.ts +0 -133
- package/vars/component/page-banner-close-button.mjs +0 -99
- package/vars/component/page-banner.d.ts +0 -385
- package/vars/component/page-banner.mjs +0 -339
- package/vars/component/pagination-button.d.ts +0 -33
- package/vars/component/pagination-button.mjs +0 -33
- package/vars/component/pagination-page-item.d.ts +0 -54
- package/vars/component/pagination-page-item.mjs +0 -54
- package/vars/component/progress-circle.d.ts +0 -88
- package/vars/component/progress-circle.mjs +0 -67
- package/vars/component/quantity-picker-button.d.ts +0 -78
- package/vars/component/quantity-picker-button.mjs +0 -78
- package/vars/component/quantity-picker.d.ts +0 -80
- package/vars/component/quantity-picker.mjs +0 -80
- package/vars/component/radio-group.d.ts +0 -9
- package/vars/component/radio-group.mjs +0 -9
- package/vars/component/radio.d.ts +0 -56
- package/vars/component/radio.mjs +0 -53
- package/vars/component/radiomark.d.ts +0 -117
- package/vars/component/radiomark.mjs +0 -117
- package/vars/component/reaction-button.d.ts +0 -136
- package/vars/component/reaction-button.mjs +0 -136
- package/vars/component/scroll-fog.d.ts +0 -78
- package/vars/component/scroll-fog.mjs +0 -78
- package/vars/component/segmented-control-indicator.d.ts +0 -24
- package/vars/component/segmented-control-indicator.mjs +0 -24
- package/vars/component/segmented-control-item.d.ts +0 -41
- package/vars/component/segmented-control-item.mjs +0 -41
- package/vars/component/segmented-control.d.ts +0 -11
- package/vars/component/segmented-control.mjs +0 -11
- package/vars/component/select-box-checkmark.d.ts +0 -40
- package/vars/component/select-box-checkmark.mjs +0 -40
- package/vars/component/select-box-group.d.ts +0 -10
- package/vars/component/select-box-group.mjs +0 -10
- package/vars/component/select-box.d.ts +0 -107
- package/vars/component/select-box.mjs +0 -102
- package/vars/component/select-item.d.ts +0 -101
- package/vars/component/select-item.mjs +0 -95
- package/vars/component/select-trigger.d.ts +0 -127
- package/vars/component/select-trigger.mjs +0 -120
- package/vars/component/select.d.ts +0 -62
- package/vars/component/select.mjs +0 -54
- package/vars/component/side-panel-close-button.d.ts +0 -24
- package/vars/component/side-panel-close-button.mjs +0 -24
- package/vars/component/side-panel.d.ts +0 -97
- package/vars/component/side-panel.mjs +0 -85
- package/vars/component/skeleton.d.ts +0 -80
- package/vars/component/skeleton.mjs +0 -62
- package/vars/component/slider-thumb.d.ts +0 -25
- package/vars/component/slider-thumb.mjs +0 -25
- package/vars/component/slider-tick.d.ts +0 -23
- package/vars/component/slider-tick.mjs +0 -23
- package/vars/component/slider.d.ts +0 -81
- package/vars/component/slider.mjs +0 -78
- package/vars/component/snackbar.d.ts +0 -65
- package/vars/component/snackbar.mjs +0 -65
- package/vars/component/switch.d.ts +0 -56
- package/vars/component/switch.mjs +0 -53
- package/vars/component/switchmark.d.ts +0 -114
- package/vars/component/switchmark.mjs +0 -112
- package/vars/component/tab.d.ts +0 -47
- package/vars/component/tab.mjs +0 -47
- package/vars/component/tablist.d.ts +0 -51
- package/vars/component/tablist.mjs +0 -51
- package/vars/component/tag-group-item.d.ts +0 -122
- package/vars/component/tag-group-item.mjs +0 -122
- package/vars/component/tag-group.d.ts +0 -34
- package/vars/component/tag-group.mjs +0 -34
- package/vars/component/text-button.d.ts +0 -23
- package/vars/component/text-button.mjs +0 -23
- package/vars/component/text-input.d.ts +0 -292
- package/vars/component/text-input.mjs +0 -263
- package/vars/component/time-picker.d.ts +0 -27
- package/vars/component/time-picker.mjs +0 -27
- package/vars/component/toggle-button.d.ts +0 -213
- package/vars/component/toggle-button.mjs +0 -207
- package/vars/component/top-navigation-icon-button.d.ts +0 -45
- package/vars/component/top-navigation-icon-button.mjs +0 -45
- package/vars/component/top-navigation-text-button.d.ts +0 -61
- package/vars/component/top-navigation-text-button.mjs +0 -60
- package/vars/component/top-navigation.d.ts +0 -121
- package/vars/component/top-navigation.mjs +0 -112
- package/vars/component/wheel-picker.d.ts +0 -72
- package/vars/component/wheel-picker.mjs +0 -72
|
@@ -17,43 +17,165 @@
|
|
|
17
17
|
inset: 0;
|
|
18
18
|
}
|
|
19
19
|
|
|
20
|
+
.seed-dialog__backdrop:is([data-state="open"], [data-open]) {
|
|
21
|
+
animation: seed-enter;
|
|
22
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
23
|
+
animation-duration: var(--seed-duration-d2);
|
|
24
|
+
--seed-enter-translate-x: 0;
|
|
25
|
+
--seed-enter-translate-y: 0;
|
|
26
|
+
--seed-enter-opacity: 0;
|
|
27
|
+
--seed-enter-scale: 1;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.seed-dialog__backdrop:not(:is([data-state="open"], [data-open])) {
|
|
31
|
+
animation: seed-exit;
|
|
32
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
33
|
+
animation-duration: var(--seed-duration-d2);
|
|
34
|
+
--seed-exit-translate-x: 0;
|
|
35
|
+
--seed-exit-translate-y: 0;
|
|
36
|
+
--seed-exit-opacity: 0;
|
|
37
|
+
--seed-exit-scale: 1;
|
|
38
|
+
animation-fill-mode: forwards;
|
|
39
|
+
}
|
|
40
|
+
|
|
20
41
|
.seed-dialog__content {
|
|
21
42
|
box-sizing: border-box;
|
|
22
43
|
word-break: break-all;
|
|
23
44
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
24
45
|
background: var(--seed-color-bg-layer-floating);
|
|
25
|
-
max-width: 272px;
|
|
26
|
-
margin: auto var(--seed-dimension-x8);
|
|
27
46
|
border-radius: var(--seed-radius-r5);
|
|
47
|
+
--dialog-default-width: calc(.9 * 100vw);
|
|
48
|
+
--dialog-default-max-width: calc(.9 * 100%);
|
|
49
|
+
--seed-box-width-base: var(--dialog-default-width);
|
|
50
|
+
--seed-box-width-sm: var(--seed-box-width-base, initial);
|
|
51
|
+
--seed-box-width-md: var(--seed-box-width-sm, initial);
|
|
52
|
+
--seed-box-width-lg: var(--seed-box-width-md, initial);
|
|
53
|
+
--seed-box-width-xl: var(--seed-box-width-lg, initial);
|
|
54
|
+
--seed-box-width: var(--seed-box-width-base, initial);
|
|
55
|
+
--seed-box-max-width-base: var(--dialog-default-max-width);
|
|
56
|
+
--seed-box-max-width-sm: var(--seed-box-max-width-base, initial);
|
|
57
|
+
--seed-box-max-width-md: var(--seed-box-max-width-sm, initial);
|
|
58
|
+
--seed-box-max-width-lg: var(--seed-box-max-width-md, initial);
|
|
59
|
+
--seed-box-max-width-xl: var(--seed-box-max-width-lg, initial);
|
|
60
|
+
--seed-box-max-width: var(--seed-box-max-width-base, initial);
|
|
61
|
+
width: var(--seed-box-width);
|
|
62
|
+
max-width: var(--seed-box-max-width);
|
|
63
|
+
max-height: 80vh;
|
|
28
64
|
outline: none;
|
|
29
65
|
flex-direction: column;
|
|
30
|
-
flex:
|
|
66
|
+
flex: none;
|
|
67
|
+
max-height: 80dvh;
|
|
31
68
|
display: flex;
|
|
32
69
|
position: relative;
|
|
33
70
|
}
|
|
34
71
|
|
|
35
|
-
|
|
36
|
-
|
|
72
|
+
@media (min-width: 768px) {
|
|
73
|
+
.seed-dialog__content {
|
|
74
|
+
--dialog-default-width: var(--dialog-size-width);
|
|
75
|
+
--dialog-default-max-width: calc(100vw - 2 * var(--seed-dimension-x5));
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.seed-dialog__content:is([data-state="open"], [data-open]) {
|
|
80
|
+
animation: seed-enter;
|
|
81
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
82
|
+
animation-duration: var(--seed-duration-d4);
|
|
83
|
+
--seed-enter-translate-x: 0;
|
|
84
|
+
--seed-enter-translate-y: 0;
|
|
85
|
+
--seed-enter-opacity: 0;
|
|
86
|
+
--seed-enter-scale: 1.3;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
.seed-dialog__content:not(:is([data-state="open"], [data-open])) {
|
|
90
|
+
animation: seed-exit;
|
|
91
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
92
|
+
animation-duration: var(--seed-duration-d2);
|
|
93
|
+
--seed-exit-translate-x: 0;
|
|
94
|
+
--seed-exit-translate-y: 0;
|
|
95
|
+
--seed-exit-opacity: 0;
|
|
96
|
+
--seed-exit-scale: 1;
|
|
97
|
+
animation-fill-mode: forwards;
|
|
37
98
|
}
|
|
38
99
|
|
|
39
100
|
.seed-dialog__header {
|
|
40
|
-
padding-inline: var(--seed-dimension-x5);
|
|
41
|
-
padding-top: var(--seed-dimension-x5);
|
|
42
101
|
gap: var(--seed-dimension-x1_5);
|
|
102
|
+
padding-inline: var(--seed-dimension-x6);
|
|
103
|
+
padding-top: var(--seed-dimension-x6);
|
|
104
|
+
padding-bottom: var(--seed-dimension-x4);
|
|
43
105
|
flex-direction: column;
|
|
106
|
+
flex-shrink: 0;
|
|
44
107
|
display: flex;
|
|
45
108
|
}
|
|
46
109
|
|
|
110
|
+
.seed-dialog__header[data-show-close-button] {
|
|
111
|
+
padding-right: calc(var(--seed-dimension-x6) + 22px + var(--seed-dimension-x1_5));
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.seed-dialog__body {
|
|
115
|
+
box-sizing: border-box;
|
|
116
|
+
--seed-box-padding-x-base: var(--seed-dimension-x6);
|
|
117
|
+
--seed-box-padding-x-sm: var(--seed-box-padding-x-base, initial);
|
|
118
|
+
--seed-box-padding-x-md: var(--seed-box-padding-x-sm, initial);
|
|
119
|
+
--seed-box-padding-x-lg: var(--seed-box-padding-x-md, initial);
|
|
120
|
+
--seed-box-padding-x-xl: var(--seed-box-padding-x-lg, initial);
|
|
121
|
+
--seed-box-padding-x: var(--seed-box-padding-x-base, initial);
|
|
122
|
+
--seed-box-min-height-base: 0;
|
|
123
|
+
--seed-box-min-height-sm: var(--seed-box-min-height-base, initial);
|
|
124
|
+
--seed-box-min-height-md: var(--seed-box-min-height-sm, initial);
|
|
125
|
+
--seed-box-min-height-lg: var(--seed-box-min-height-md, initial);
|
|
126
|
+
--seed-box-min-height-xl: var(--seed-box-min-height-lg, initial);
|
|
127
|
+
--seed-box-min-height: var(--seed-box-min-height-base, initial);
|
|
128
|
+
--seed-box-max-height-base: none;
|
|
129
|
+
--seed-box-max-height-sm: var(--seed-box-max-height-base, initial);
|
|
130
|
+
--seed-box-max-height-md: var(--seed-box-max-height-sm, initial);
|
|
131
|
+
--seed-box-max-height-lg: var(--seed-box-max-height-md, initial);
|
|
132
|
+
--seed-box-max-height-xl: var(--seed-box-max-height-lg, initial);
|
|
133
|
+
--seed-box-max-height: var(--seed-box-max-height-base, initial);
|
|
134
|
+
--seed-box-justify-content: initial;
|
|
135
|
+
--seed-box-align-items: initial;
|
|
136
|
+
padding-inline: var(--seed-box-padding-x);
|
|
137
|
+
min-height: var(--seed-box-min-height);
|
|
138
|
+
max-height: var(--seed-box-max-height);
|
|
139
|
+
justify-content: var(--seed-box-justify-content);
|
|
140
|
+
align-items: var(--seed-box-align-items);
|
|
141
|
+
transition: box-shadow var(--seed-duration-color-transition) var(--seed-timing-function-easing);
|
|
142
|
+
flex-direction: column;
|
|
143
|
+
flex: 1;
|
|
144
|
+
display: flex;
|
|
145
|
+
overflow-y: auto;
|
|
146
|
+
}
|
|
147
|
+
|
|
148
|
+
.seed-dialog__body[data-scrolled]:not(:first-child) {
|
|
149
|
+
box-shadow: inset 0 1px 0 0 var(--seed-color-stroke-neutral-muted);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.seed-dialog__body[data-overflow] {
|
|
153
|
+
padding-bottom: var(--seed-dimension-x12);
|
|
154
|
+
-webkit-mask-image: linear-gradient(to top, transparent 0, black var(--seed-dimension-x12));
|
|
155
|
+
mask-image: linear-gradient(to top, transparent 0, black var(--seed-dimension-x12));
|
|
156
|
+
-webkit-mask-image: linear-gradient(to top, transparent 0, black var(--seed-dimension-x12));
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.seed-dialog__body {
|
|
160
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
161
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
162
|
+
}
|
|
163
|
+
|
|
164
|
+
.seed-dialog__body:is(:focus-visible, [data-focus-visible]) {
|
|
165
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
166
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
167
|
+
}
|
|
168
|
+
|
|
47
169
|
.seed-dialog__title {
|
|
48
170
|
color: var(--seed-color-fg-neutral);
|
|
49
|
-
font-size: var(--seed-font-size-
|
|
50
|
-
line-height: var(--seed-line-height-
|
|
171
|
+
font-size: var(--seed-font-size-t8);
|
|
172
|
+
line-height: var(--seed-line-height-t8);
|
|
51
173
|
font-weight: var(--seed-font-weight-bold);
|
|
52
174
|
margin: 0;
|
|
53
175
|
}
|
|
54
176
|
|
|
55
177
|
.seed-dialog__description {
|
|
56
|
-
color: var(--seed-color-fg-neutral);
|
|
178
|
+
color: var(--seed-color-fg-neutral-muted);
|
|
57
179
|
font-size: var(--seed-font-size-t5);
|
|
58
180
|
line-height: var(--seed-line-height-t5);
|
|
59
181
|
font-weight: var(--seed-font-weight-regular);
|
|
@@ -62,53 +184,113 @@
|
|
|
62
184
|
}
|
|
63
185
|
|
|
64
186
|
.seed-dialog__footer {
|
|
65
|
-
padding-inline: var(--seed-dimension-
|
|
187
|
+
padding-inline: var(--seed-dimension-x6);
|
|
66
188
|
padding-top: var(--seed-dimension-x4);
|
|
67
|
-
padding-bottom: var(--seed-dimension-
|
|
189
|
+
padding-bottom: var(--seed-dimension-x6);
|
|
68
190
|
flex-direction: column;
|
|
191
|
+
flex-shrink: 0;
|
|
69
192
|
align-items: stretch;
|
|
70
193
|
display: flex;
|
|
71
194
|
}
|
|
72
195
|
|
|
73
|
-
.seed-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
--seed-
|
|
78
|
-
|
|
79
|
-
--seed-
|
|
80
|
-
--seed-
|
|
196
|
+
.seed-dialog__closeButton {
|
|
197
|
+
top: var(--seed-dimension-x7);
|
|
198
|
+
right: var(--seed-dimension-x6);
|
|
199
|
+
background: var(--seed-color-bg-transparent);
|
|
200
|
+
border-radius: var(--seed-radius-r3);
|
|
201
|
+
cursor: pointer;
|
|
202
|
+
transition: background var(--seed-duration-color-transition) var(--seed-timing-function-easing), scale var(--seed-duration-pressed-scale) var(--seed-timing-function-pressed-scale), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
203
|
+
--seed-icon-size: 22px;
|
|
204
|
+
--seed-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
205
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
206
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
207
|
+
border: none;
|
|
208
|
+
justify-content: center;
|
|
209
|
+
align-items: center;
|
|
210
|
+
margin: -15px;
|
|
211
|
+
padding: 15px;
|
|
212
|
+
display: flex;
|
|
213
|
+
position: absolute;
|
|
81
214
|
}
|
|
82
215
|
|
|
83
|
-
.seed-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
animation-duration: var(--seed-duration-d2);
|
|
87
|
-
--seed-exit-translate-x: 0;
|
|
88
|
-
--seed-exit-translate-y: 0;
|
|
89
|
-
--seed-exit-opacity: 0;
|
|
90
|
-
--seed-exit-scale: 1;
|
|
91
|
-
animation-fill-mode: forwards;
|
|
216
|
+
.seed-dialog__closeButton:is(:focus-visible, [data-focus-visible]) {
|
|
217
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
218
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
92
219
|
}
|
|
93
220
|
|
|
94
|
-
.seed-
|
|
95
|
-
|
|
96
|
-
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
97
|
-
animation-duration: var(--seed-duration-d4);
|
|
98
|
-
--seed-enter-translate-x: 0;
|
|
99
|
-
--seed-enter-translate-y: 0;
|
|
100
|
-
--seed-enter-opacity: 0;
|
|
101
|
-
--seed-enter-scale: 1.3;
|
|
221
|
+
.seed-dialog__closeButton:is(:active, [data-active]) {
|
|
222
|
+
scale: var(--seed-feedback-scale);
|
|
102
223
|
}
|
|
103
224
|
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
225
|
+
@media (hover: hover) and (pointer: fine) {
|
|
226
|
+
.seed-dialog__closeButton:is(:hover, [data-hover]) {
|
|
227
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
228
|
+
}
|
|
229
|
+
}
|
|
230
|
+
|
|
231
|
+
@media not all and (hover: hover) and (pointer: fine) {
|
|
232
|
+
.seed-dialog__closeButton:is(:active, [data-active]) {
|
|
233
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.seed-dialog__content--size_medium {
|
|
238
|
+
--dialog-size-width: 480px;
|
|
239
|
+
}
|
|
240
|
+
|
|
241
|
+
.seed-dialog__content--size_large {
|
|
242
|
+
--dialog-size-width: 800px;
|
|
243
|
+
}
|
|
244
|
+
|
|
245
|
+
@media (min-width: 480px) {
|
|
246
|
+
.seed-dialog__content {
|
|
247
|
+
--seed-box-width: var(--seed-box-width-sm, initial);
|
|
248
|
+
--seed-box-max-width: var(--seed-box-max-width-sm, initial);
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.seed-dialog__body {
|
|
252
|
+
--seed-box-padding-x: var(--seed-box-padding-x-sm, initial);
|
|
253
|
+
--seed-box-min-height: var(--seed-box-min-height-sm, initial);
|
|
254
|
+
--seed-box-max-height: var(--seed-box-max-height-sm, initial);
|
|
255
|
+
}
|
|
256
|
+
}
|
|
257
|
+
|
|
258
|
+
@media (min-width: 768px) {
|
|
259
|
+
.seed-dialog__content {
|
|
260
|
+
--seed-box-width: var(--seed-box-width-md, initial);
|
|
261
|
+
--seed-box-max-width: var(--seed-box-max-width-md, initial);
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
.seed-dialog__body {
|
|
265
|
+
--seed-box-padding-x: var(--seed-box-padding-x-md, initial);
|
|
266
|
+
--seed-box-min-height: var(--seed-box-min-height-md, initial);
|
|
267
|
+
--seed-box-max-height: var(--seed-box-max-height-md, initial);
|
|
268
|
+
}
|
|
269
|
+
}
|
|
270
|
+
|
|
271
|
+
@media (min-width: 1280px) {
|
|
272
|
+
.seed-dialog__content {
|
|
273
|
+
--seed-box-width: var(--seed-box-width-lg, initial);
|
|
274
|
+
--seed-box-max-width: var(--seed-box-max-width-lg, initial);
|
|
275
|
+
}
|
|
276
|
+
|
|
277
|
+
.seed-dialog__body {
|
|
278
|
+
--seed-box-padding-x: var(--seed-box-padding-x-lg, initial);
|
|
279
|
+
--seed-box-min-height: var(--seed-box-min-height-lg, initial);
|
|
280
|
+
--seed-box-max-height: var(--seed-box-max-height-lg, initial);
|
|
281
|
+
}
|
|
282
|
+
}
|
|
283
|
+
|
|
284
|
+
@media (min-width: 1440px) {
|
|
285
|
+
.seed-dialog__content {
|
|
286
|
+
--seed-box-width: var(--seed-box-width-xl, initial);
|
|
287
|
+
--seed-box-max-width: var(--seed-box-max-width-xl, initial);
|
|
288
|
+
}
|
|
289
|
+
|
|
290
|
+
.seed-dialog__body {
|
|
291
|
+
--seed-box-padding-x: var(--seed-box-padding-x-xl, initial);
|
|
292
|
+
--seed-box-min-height: var(--seed-box-min-height-xl, initial);
|
|
293
|
+
--seed-box-max-height: var(--seed-box-max-height-xl, initial);
|
|
294
|
+
}
|
|
113
295
|
}
|
|
114
296
|
}
|
|
@@ -19,12 +19,12 @@ const dialogSlotNames = [
|
|
|
19
19
|
"seed-dialog__header"
|
|
20
20
|
],
|
|
21
21
|
[
|
|
22
|
-
"
|
|
23
|
-
"seed-
|
|
22
|
+
"body",
|
|
23
|
+
"seed-dialog__body"
|
|
24
24
|
],
|
|
25
25
|
[
|
|
26
|
-
"
|
|
27
|
-
"seed-
|
|
26
|
+
"footer",
|
|
27
|
+
"seed-dialog__footer"
|
|
28
28
|
],
|
|
29
29
|
[
|
|
30
30
|
"title",
|
|
@@ -33,18 +33,23 @@ const dialogSlotNames = [
|
|
|
33
33
|
[
|
|
34
34
|
"description",
|
|
35
35
|
"seed-dialog__description"
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"closeButton",
|
|
39
|
+
"seed-dialog__closeButton"
|
|
36
40
|
]
|
|
37
41
|
];
|
|
38
42
|
|
|
39
43
|
const defaultVariant = {
|
|
40
|
-
"
|
|
44
|
+
"size": "medium"
|
|
41
45
|
};
|
|
42
46
|
|
|
43
47
|
const compoundVariants = [];
|
|
44
48
|
|
|
45
49
|
export const dialogVariantMap = {
|
|
46
|
-
"
|
|
47
|
-
|
|
50
|
+
"size": [
|
|
51
|
+
"medium",
|
|
52
|
+
"large"
|
|
48
53
|
]
|
|
49
54
|
};
|
|
50
55
|
|
package/recipes/dialog.mjs
CHANGED
|
@@ -19,12 +19,12 @@ const dialogSlotNames = [
|
|
|
19
19
|
"seed-dialog__header"
|
|
20
20
|
],
|
|
21
21
|
[
|
|
22
|
-
"
|
|
23
|
-
"seed-
|
|
22
|
+
"body",
|
|
23
|
+
"seed-dialog__body"
|
|
24
24
|
],
|
|
25
25
|
[
|
|
26
|
-
"
|
|
27
|
-
"seed-
|
|
26
|
+
"footer",
|
|
27
|
+
"seed-dialog__footer"
|
|
28
28
|
],
|
|
29
29
|
[
|
|
30
30
|
"title",
|
|
@@ -33,18 +33,23 @@ const dialogSlotNames = [
|
|
|
33
33
|
[
|
|
34
34
|
"description",
|
|
35
35
|
"seed-dialog__description"
|
|
36
|
+
],
|
|
37
|
+
[
|
|
38
|
+
"closeButton",
|
|
39
|
+
"seed-dialog__closeButton"
|
|
36
40
|
]
|
|
37
41
|
];
|
|
38
42
|
|
|
39
43
|
const defaultVariant = {
|
|
40
|
-
"
|
|
44
|
+
"size": "medium"
|
|
41
45
|
};
|
|
42
46
|
|
|
43
47
|
const compoundVariants = [];
|
|
44
48
|
|
|
45
49
|
export const dialogVariantMap = {
|
|
46
|
-
"
|
|
47
|
-
|
|
50
|
+
"size": [
|
|
51
|
+
"medium",
|
|
52
|
+
"large"
|
|
48
53
|
]
|
|
49
54
|
};
|
|
50
55
|
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
background: var(--seed-color-bg-brand-solid);
|
|
27
27
|
border-radius: var(--seed-radius-full);
|
|
28
28
|
box-shadow: var(--seed-shadow-s3);
|
|
29
|
-
color: var(--seed-color-
|
|
29
|
+
color: var(--seed-color-fg-on-brand-solid);
|
|
30
30
|
font-size: var(--seed-font-size-t5);
|
|
31
31
|
line-height: var(--seed-line-height-t5);
|
|
32
32
|
font-weight: var(--seed-font-weight-bold);
|
|
@@ -52,7 +52,7 @@
|
|
|
52
52
|
align-items: center;
|
|
53
53
|
justify-content: center;
|
|
54
54
|
flex-shrink: 0;
|
|
55
|
-
color: var(--seed-color-
|
|
55
|
+
color: var(--seed-color-fg-on-brand-solid);
|
|
56
56
|
transition: margin-right var(--seed-duration-d4) var(--seed-timing-function-easing), width var(--seed-duration-d4) var(--seed-timing-function-easing), height var(--seed-duration-d4) var(--seed-timing-function-easing);
|
|
57
57
|
}
|
|
58
58
|
.seed-floating-action-button__label {
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
background: var(--seed-color-bg-brand-solid);
|
|
29
29
|
border-radius: var(--seed-radius-full);
|
|
30
30
|
box-shadow: var(--seed-shadow-s3);
|
|
31
|
-
color: var(--seed-color-
|
|
31
|
+
color: var(--seed-color-fg-on-brand-solid);
|
|
32
32
|
font-size: var(--seed-font-size-t5);
|
|
33
33
|
line-height: var(--seed-line-height-t5);
|
|
34
34
|
font-weight: var(--seed-font-weight-bold);
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
}
|
|
58
58
|
|
|
59
59
|
.seed-floating-action-button__icon {
|
|
60
|
-
color: var(--seed-color-
|
|
60
|
+
color: var(--seed-color-fg-on-brand-solid);
|
|
61
61
|
transition: margin-right var(--seed-duration-d4) var(--seed-timing-function-easing), width var(--seed-duration-d4) var(--seed-timing-function-easing), height var(--seed-duration-d4) var(--seed-timing-function-easing);
|
|
62
62
|
flex-shrink: 0;
|
|
63
63
|
justify-content: center;
|
package/recipes/help-bubble.css
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
display: flex;
|
|
8
8
|
align-items: flex-start;
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
background: var(--seed-color-bg-neutral-
|
|
10
|
+
background: var(--seed-color-bg-neutral-solid);
|
|
11
11
|
padding-inline: var(--seed-dimension-x3);
|
|
12
12
|
padding-block: var(--seed-dimension-x2_5);
|
|
13
13
|
border-radius: var(--seed-radius-r3);
|
|
@@ -44,13 +44,16 @@
|
|
|
44
44
|
.seed-help-bubble__content:is([hidden], [data-hidden]) {
|
|
45
45
|
display: none !important;
|
|
46
46
|
}
|
|
47
|
+
.seed-help-bubble__content:is(:focus, [data-focus]) {
|
|
48
|
+
outline: none;
|
|
49
|
+
}
|
|
47
50
|
.seed-help-bubble__arrow {
|
|
48
51
|
width: 12px;
|
|
49
52
|
height: 12px;
|
|
50
53
|
}
|
|
51
54
|
.seed-help-bubble__arrowTip {
|
|
52
55
|
display: block;
|
|
53
|
-
fill: var(--seed-color-bg-neutral-
|
|
56
|
+
fill: var(--seed-color-bg-neutral-solid);
|
|
54
57
|
width: 12px;
|
|
55
58
|
height: 8px;
|
|
56
59
|
}
|
|
@@ -63,14 +66,14 @@
|
|
|
63
66
|
min-width: 0;
|
|
64
67
|
}
|
|
65
68
|
.seed-help-bubble__title {
|
|
66
|
-
color: var(--seed-color-fg-neutral-
|
|
69
|
+
color: var(--seed-color-fg-on-neutral-solid);
|
|
67
70
|
font-size: var(--seed-font-size-t3);
|
|
68
71
|
font-weight: var(--seed-font-weight-bold);
|
|
69
72
|
line-height: var(--seed-line-height-t3);
|
|
70
73
|
white-space: pre-wrap;
|
|
71
74
|
}
|
|
72
75
|
.seed-help-bubble__description {
|
|
73
|
-
color: var(--seed-color-fg-neutral-
|
|
76
|
+
color: var(--seed-color-fg-on-neutral-solid);
|
|
74
77
|
font-size: var(--seed-font-size-t3);
|
|
75
78
|
font-weight: var(--seed-font-weight-regular);
|
|
76
79
|
line-height: var(--seed-line-height-t3);
|
|
@@ -87,9 +90,9 @@
|
|
|
87
90
|
margin-left: calc(var(--seed-dimension-x1) - ((38px - var(--seed-dimension-x3_5)) / 2));
|
|
88
91
|
margin-right: calc(-1 * ((38px - var(--seed-dimension-x3_5)) / 2));
|
|
89
92
|
margin-block: calc(-1 * ((38px - var(--seed-dimension-x3_5)) / 2) + var(--seed-dimension-x0_5));
|
|
90
|
-
color: var(--seed-color-fg-neutral-
|
|
93
|
+
color: var(--seed-color-fg-on-neutral-solid);
|
|
91
94
|
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
92
|
-
--seed-icon-color: var(--seed-color-fg-neutral-
|
|
95
|
+
--seed-icon-color: var(--seed-color-fg-on-neutral-solid);
|
|
93
96
|
border-radius: var(--seed-radius-r3);
|
|
94
97
|
}
|
|
95
98
|
.seed-help-bubble__closeButton:is(:active, [data-active]) {
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
.seed-help-bubble__content {
|
|
9
9
|
box-sizing: border-box;
|
|
10
|
-
background: var(--seed-color-bg-neutral-
|
|
10
|
+
background: var(--seed-color-bg-neutral-solid);
|
|
11
11
|
padding-inline: var(--seed-dimension-x3);
|
|
12
12
|
padding-block: var(--seed-dimension-x2_5);
|
|
13
13
|
border-radius: var(--seed-radius-r3);
|
|
@@ -51,13 +51,17 @@
|
|
|
51
51
|
display: none !important;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
+
.seed-help-bubble__content:is(:focus, [data-focus]) {
|
|
55
|
+
outline: none;
|
|
56
|
+
}
|
|
57
|
+
|
|
54
58
|
.seed-help-bubble__arrow {
|
|
55
59
|
width: 12px;
|
|
56
60
|
height: 12px;
|
|
57
61
|
}
|
|
58
62
|
|
|
59
63
|
.seed-help-bubble__arrowTip {
|
|
60
|
-
fill: var(--seed-color-bg-neutral-
|
|
64
|
+
fill: var(--seed-color-bg-neutral-solid);
|
|
61
65
|
width: 12px;
|
|
62
66
|
height: 8px;
|
|
63
67
|
display: block;
|
|
@@ -73,7 +77,7 @@
|
|
|
73
77
|
}
|
|
74
78
|
|
|
75
79
|
.seed-help-bubble__title {
|
|
76
|
-
color: var(--seed-color-fg-neutral-
|
|
80
|
+
color: var(--seed-color-fg-on-neutral-solid);
|
|
77
81
|
font-size: var(--seed-font-size-t3);
|
|
78
82
|
font-weight: var(--seed-font-weight-bold);
|
|
79
83
|
line-height: var(--seed-line-height-t3);
|
|
@@ -81,7 +85,7 @@
|
|
|
81
85
|
}
|
|
82
86
|
|
|
83
87
|
.seed-help-bubble__description {
|
|
84
|
-
color: var(--seed-color-fg-neutral-
|
|
88
|
+
color: var(--seed-color-fg-on-neutral-solid);
|
|
85
89
|
font-size: var(--seed-font-size-t3);
|
|
86
90
|
font-weight: var(--seed-font-weight-regular);
|
|
87
91
|
line-height: var(--seed-line-height-t3);
|
|
@@ -94,9 +98,9 @@
|
|
|
94
98
|
margin-left: calc(var(--seed-dimension-x1) - ((38px - var(--seed-dimension-x3_5)) / 2));
|
|
95
99
|
margin-right: calc(-1 * ((38px - var(--seed-dimension-x3_5)) / 2));
|
|
96
100
|
margin-block: calc(-1 * ((38px - var(--seed-dimension-x3_5)) / 2) + var(--seed-dimension-x0_5));
|
|
97
|
-
color: var(--seed-color-fg-neutral-
|
|
101
|
+
color: var(--seed-color-fg-on-neutral-solid);
|
|
98
102
|
--seed-icon-size: var(--seed-dimension-x3_5);
|
|
99
|
-
--seed-icon-color: var(--seed-color-fg-neutral-
|
|
103
|
+
--seed-icon-color: var(--seed-color-fg-on-neutral-solid);
|
|
100
104
|
border-radius: var(--seed-radius-r3);
|
|
101
105
|
background: none;
|
|
102
106
|
border: none;
|
package/recipes/menu-item.css
CHANGED
|
@@ -49,6 +49,9 @@
|
|
|
49
49
|
border-radius: var(--seed-radius-r3);
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
|
+
.seed-menu-item__root:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
53
|
+
--seed-content-scale: var(--seed-feedback-scale);
|
|
54
|
+
}
|
|
52
55
|
.seed-menu-item__root:is(:focus-visible, [data-focus-visible])::after {
|
|
53
56
|
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
54
57
|
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
@@ -56,6 +56,10 @@
|
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
58
|
|
|
59
|
+
.seed-menu-item__root:not(:is(:disabled, [disabled], [data-disabled])):is(:active, [data-active]) {
|
|
60
|
+
--seed-content-scale: var(--seed-feedback-scale);
|
|
61
|
+
}
|
|
62
|
+
|
|
59
63
|
.seed-menu-item__root:is(:focus-visible, [data-focus-visible]):after {
|
|
60
64
|
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
61
65
|
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
@@ -21,6 +21,9 @@
|
|
|
21
21
|
background-color: var(--seed-color-bg-neutral-weak-pressed);
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
+
.seed-menu-sheet-item__root:is(:active, [data-active]) {
|
|
25
|
+
--seed-content-scale: var(--seed-feedback-scale);
|
|
26
|
+
}
|
|
24
27
|
.seed-menu-sheet-item__root:first-child {
|
|
25
28
|
border-top-left-radius: var(--seed-radius-r4);
|
|
26
29
|
border-top-right-radius: var(--seed-radius-r4);
|
|
@@ -25,6 +25,10 @@
|
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
27
|
|
|
28
|
+
.seed-menu-sheet-item__root:is(:active, [data-active]) {
|
|
29
|
+
--seed-content-scale: var(--seed-feedback-scale);
|
|
30
|
+
}
|
|
31
|
+
|
|
28
32
|
.seed-menu-sheet-item__root:first-child {
|
|
29
33
|
border-top-left-radius: var(--seed-radius-r4);
|
|
30
34
|
border-top-right-radius: var(--seed-radius-r4);
|
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
-moz-osx-font-smoothing: grayscale;
|
|
10
10
|
text-decoration: none;
|
|
11
11
|
background-color: var(--seed-color-bg-brand-solid);
|
|
12
|
-
color: var(--seed-color-
|
|
12
|
+
color: var(--seed-color-fg-on-brand-solid)
|
|
13
13
|
}
|
|
14
14
|
.seed-notification-badge--size_small {
|
|
15
15
|
width: 6px;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
-webkit-font-smoothing: antialiased;
|
|
7
7
|
-moz-osx-font-smoothing: grayscale;
|
|
8
8
|
background-color: var(--seed-color-bg-brand-solid);
|
|
9
|
-
color: var(--seed-color-
|
|
9
|
+
color: var(--seed-color-fg-on-brand-solid);
|
|
10
10
|
justify-content: center;
|
|
11
11
|
align-items: center;
|
|
12
12
|
text-decoration: none;
|