@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
package/recipes/date-picker.d.ts
CHANGED
|
@@ -11,7 +11,7 @@ declare type DatePickerVariantMap = {
|
|
|
11
11
|
|
|
12
12
|
export declare type DatePickerVariantProps = Partial<DatePickerVariant>;
|
|
13
13
|
|
|
14
|
-
export declare type DatePickerSlotName = "root" | "header" | "headerLabel" | "headerChevron" | "navigation" | "navigationButton" | "twoMonthHeader" | "twoMonthLabel" | "twoMonthNavigationButton" | "weekdayRow" | "weekday" | "months" | "month" | "monthLabel" | "grid" | "weekRow" | "dateCell" | "dateButton" | "dateContent" | "emptyCell" | "continuousScroll" | "continuousContent" | "continuousSpacer" | "wheelContainer" | "
|
|
14
|
+
export declare type DatePickerSlotName = "root" | "header" | "headerLabel" | "headerChevron" | "navigation" | "navigationButton" | "twoMonthHeader" | "twoMonthLabel" | "twoMonthNavigationButton" | "weekdayRow" | "weekday" | "months" | "month" | "monthLabel" | "grid" | "weekRow" | "dateCell" | "dateButton" | "dateContent" | "emptyCell" | "continuousScroll" | "continuousContent" | "continuousSpacer" | "wheelContainer" | "wheelPositioner" | "wheelPopover" | "wheelView" | "yearColumn" | "monthColumn" | "liveRegion";
|
|
15
15
|
|
|
16
16
|
export declare const datePickerVariantMap: DatePickerVariantMap;
|
|
17
17
|
|
|
@@ -84,6 +84,10 @@
|
|
|
84
84
|
display: inline-flex;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
+
.seed-date-picker__headerChevron[data-expanded] {
|
|
88
|
+
transform: rotate(180deg);
|
|
89
|
+
}
|
|
90
|
+
|
|
87
91
|
.seed-date-picker__navigation {
|
|
88
92
|
flex-shrink: 0;
|
|
89
93
|
align-items: center;
|
|
@@ -272,11 +276,11 @@
|
|
|
272
276
|
}
|
|
273
277
|
|
|
274
278
|
.seed-date-picker__dateButton:is([aria-selected="true"], [data-selected]):before {
|
|
275
|
-
background-color: var(--seed-color-bg-neutral-
|
|
279
|
+
background-color: var(--seed-color-bg-neutral-solid);
|
|
276
280
|
}
|
|
277
281
|
|
|
278
282
|
.seed-date-picker__dateButton:is([aria-selected="true"], [data-selected]) {
|
|
279
|
-
color: var(--seed-color-fg-neutral-
|
|
283
|
+
color: var(--seed-color-fg-on-neutral-solid);
|
|
280
284
|
}
|
|
281
285
|
|
|
282
286
|
@media (hover: hover) and (pointer: fine) {
|
|
@@ -293,13 +297,13 @@
|
|
|
293
297
|
|
|
294
298
|
@media (hover: hover) and (pointer: fine) {
|
|
295
299
|
.seed-date-picker__dateButton:not(:is(:disabled, [disabled], [data-disabled])):not([data-range-start-readonly]):is([aria-selected="true"], [data-selected]):is(:hover, [data-hover]):not([data-in-range]):before {
|
|
296
|
-
background-color: var(--seed-color-bg-neutral-
|
|
300
|
+
background-color: var(--seed-color-bg-neutral-solid);
|
|
297
301
|
}
|
|
298
302
|
}
|
|
299
303
|
|
|
300
304
|
@media not all and (hover: hover) and (pointer: fine) {
|
|
301
305
|
.seed-date-picker__dateButton:not(:is(:disabled, [disabled], [data-disabled])):not([data-range-start-readonly]):is([aria-selected="true"], [data-selected]):is(:active, [data-active]):not([data-in-range]):before {
|
|
302
|
-
background-color: var(--seed-color-bg-neutral-
|
|
306
|
+
background-color: var(--seed-color-bg-neutral-solid);
|
|
303
307
|
}
|
|
304
308
|
}
|
|
305
309
|
|
|
@@ -424,33 +428,44 @@
|
|
|
424
428
|
overflow: hidden;
|
|
425
429
|
}
|
|
426
430
|
|
|
431
|
+
.seed-date-picker__wheelPositioner {
|
|
432
|
+
z-index: 3;
|
|
433
|
+
outline: none;
|
|
434
|
+
}
|
|
435
|
+
|
|
436
|
+
.seed-date-picker__wheelPopover {
|
|
437
|
+
border-radius: var(--seed-radius-r3);
|
|
438
|
+
background-color: var(--seed-color-bg-layer-floating);
|
|
439
|
+
width: 240px;
|
|
440
|
+
box-shadow: var(--seed-shadow-s3);
|
|
441
|
+
overflow: hidden;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
.seed-date-picker__wheelPopover:is(:focus, [data-focus]) {
|
|
445
|
+
outline: none;
|
|
446
|
+
}
|
|
447
|
+
|
|
427
448
|
.seed-date-picker__wheelView {
|
|
449
|
+
--seed-wheel-picker-item-color: var(--seed-color-fg-disabled);
|
|
450
|
+
--seed-wheel-picker-selected-item-color: var(--seed-color-fg-neutral);
|
|
428
451
|
--seed-wheel-picker-selection-indicator-corner-radius: var(--seed-radius-r2);
|
|
429
452
|
width: 100%;
|
|
430
453
|
}
|
|
431
454
|
|
|
432
|
-
.seed-date-
|
|
433
|
-
border-radius: var(--seed-radius-r2);
|
|
455
|
+
.seed-date-picker__wheelView [data-wheel-picker-indicator] {
|
|
434
456
|
background-color: var(--seed-color-bg-neutral-weak);
|
|
435
457
|
}
|
|
436
458
|
|
|
437
459
|
.seed-date-picker__yearColumn {
|
|
438
460
|
--seed-wheel-picker-item-justify-content: flex-end;
|
|
439
461
|
flex: 0 0 120px;
|
|
462
|
+
min-width: 120px;
|
|
440
463
|
}
|
|
441
464
|
|
|
442
465
|
.seed-date-picker__monthColumn {
|
|
443
466
|
--seed-wheel-picker-item-justify-content: flex-start;
|
|
444
467
|
flex: 0 0 96px;
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
.seed-date-picker__wheelItem {
|
|
448
|
-
--seed-wheel-picker-item-color: var(--seed-color-fg-disabled);
|
|
449
|
-
--seed-wheel-picker-selected-item-color: var(--seed-color-fg-neutral);
|
|
450
|
-
padding-inline: var(--seed-dimension-x4);
|
|
451
|
-
font-size: var(--seed-font-size-t10-static);
|
|
452
|
-
line-height: var(--seed-line-height-t10-static);
|
|
453
|
-
font-weight: var(--seed-font-weight-medium);
|
|
468
|
+
min-width: 96px;
|
|
454
469
|
}
|
|
455
470
|
|
|
456
471
|
.seed-date-picker__liveRegion {
|
|
@@ -483,6 +498,10 @@
|
|
|
483
498
|
height: 24px;
|
|
484
499
|
}
|
|
485
500
|
|
|
501
|
+
.seed-date-picker__wheelView--visibleRange_week [data-wheel-picker-indicator] {
|
|
502
|
+
inset-inline: 0;
|
|
503
|
+
}
|
|
504
|
+
|
|
486
505
|
@media (min-width: 480px) {
|
|
487
506
|
.seed-date-picker__root {
|
|
488
507
|
--seed-box-height: var(--seed-box-height-sm, initial);
|
|
@@ -99,20 +99,16 @@ const datePickerSlotNames = [
|
|
|
99
99
|
"seed-date-picker__wheelContainer"
|
|
100
100
|
],
|
|
101
101
|
[
|
|
102
|
-
"
|
|
103
|
-
"seed-date-
|
|
104
|
-
],
|
|
105
|
-
[
|
|
106
|
-
"wheelColumns",
|
|
107
|
-
"seed-date-picker__wheelColumns"
|
|
102
|
+
"wheelPositioner",
|
|
103
|
+
"seed-date-picker__wheelPositioner"
|
|
108
104
|
],
|
|
109
105
|
[
|
|
110
|
-
"
|
|
111
|
-
"seed-date-
|
|
106
|
+
"wheelPopover",
|
|
107
|
+
"seed-date-picker__wheelPopover"
|
|
112
108
|
],
|
|
113
109
|
[
|
|
114
|
-
"
|
|
115
|
-
"seed-date-
|
|
110
|
+
"wheelView",
|
|
111
|
+
"seed-date-picker__wheelView"
|
|
116
112
|
],
|
|
117
113
|
[
|
|
118
114
|
"yearColumn",
|
|
@@ -122,10 +118,6 @@ const datePickerSlotNames = [
|
|
|
122
118
|
"monthColumn",
|
|
123
119
|
"seed-date-picker__monthColumn"
|
|
124
120
|
],
|
|
125
|
-
[
|
|
126
|
-
"wheelItem",
|
|
127
|
-
"seed-date-picker__wheelItem"
|
|
128
|
-
],
|
|
129
121
|
[
|
|
130
122
|
"liveRegion",
|
|
131
123
|
"seed-date-picker__liveRegion"
|
package/recipes/date-picker.mjs
CHANGED
|
@@ -99,20 +99,16 @@ const datePickerSlotNames = [
|
|
|
99
99
|
"seed-date-picker__wheelContainer"
|
|
100
100
|
],
|
|
101
101
|
[
|
|
102
|
-
"
|
|
103
|
-
"seed-date-
|
|
104
|
-
],
|
|
105
|
-
[
|
|
106
|
-
"wheelColumns",
|
|
107
|
-
"seed-date-picker__wheelColumns"
|
|
102
|
+
"wheelPositioner",
|
|
103
|
+
"seed-date-picker__wheelPositioner"
|
|
108
104
|
],
|
|
109
105
|
[
|
|
110
|
-
"
|
|
111
|
-
"seed-date-
|
|
106
|
+
"wheelPopover",
|
|
107
|
+
"seed-date-picker__wheelPopover"
|
|
112
108
|
],
|
|
113
109
|
[
|
|
114
|
-
"
|
|
115
|
-
"seed-date-
|
|
110
|
+
"wheelView",
|
|
111
|
+
"seed-date-picker__wheelView"
|
|
116
112
|
],
|
|
117
113
|
[
|
|
118
114
|
"yearColumn",
|
|
@@ -122,10 +118,6 @@ const datePickerSlotNames = [
|
|
|
122
118
|
"monthColumn",
|
|
123
119
|
"seed-date-picker__monthColumn"
|
|
124
120
|
],
|
|
125
|
-
[
|
|
126
|
-
"wheelItem",
|
|
127
|
-
"seed-date-picker__wheelItem"
|
|
128
|
-
],
|
|
129
121
|
[
|
|
130
122
|
"liveRegion",
|
|
131
123
|
"seed-date-picker__liveRegion"
|
package/recipes/dialog.css
CHANGED
|
@@ -14,39 +14,150 @@
|
|
|
14
14
|
background: var(--seed-color-bg-overlay);
|
|
15
15
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
16
16
|
}
|
|
17
|
+
.seed-dialog__backdrop:is([data-state="open"], [data-open]) {
|
|
18
|
+
animation: seed-enter;
|
|
19
|
+
animation-timing-function: var(--seed-timing-function-enter);
|
|
20
|
+
animation-duration: var(--seed-duration-d2);
|
|
21
|
+
--seed-enter-translate-x: 0;
|
|
22
|
+
--seed-enter-translate-y: 0;
|
|
23
|
+
--seed-enter-opacity: 0;
|
|
24
|
+
--seed-enter-scale: 1;
|
|
25
|
+
}
|
|
26
|
+
.seed-dialog__backdrop:not(:is([data-state="open"], [data-open])) {
|
|
27
|
+
animation: seed-exit;
|
|
28
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
29
|
+
animation-duration: var(--seed-duration-d2);
|
|
30
|
+
animation-fill-mode: forwards;
|
|
31
|
+
--seed-exit-translate-x: 0;
|
|
32
|
+
--seed-exit-translate-y: 0;
|
|
33
|
+
--seed-exit-opacity: 0;
|
|
34
|
+
--seed-exit-scale: 1;
|
|
35
|
+
}
|
|
17
36
|
.seed-dialog__content {
|
|
18
37
|
position: relative;
|
|
19
38
|
outline: none;
|
|
20
39
|
display: flex;
|
|
21
|
-
flex:
|
|
40
|
+
flex: 0 0 auto;
|
|
22
41
|
flex-direction: column;
|
|
23
42
|
box-sizing: border-box;
|
|
24
43
|
word-break: break-all;
|
|
25
44
|
z-index: calc(var(--dialog-z-index) + var(--layer-index, 0));
|
|
26
45
|
background: var(--seed-color-bg-layer-floating);
|
|
27
|
-
max-width: 272px;
|
|
28
|
-
margin: auto var(--seed-dimension-x8);
|
|
29
46
|
border-radius: var(--seed-radius-r5);
|
|
47
|
+
--dialog-default-width: calc(0.9 * 100vw);
|
|
48
|
+
--dialog-default-max-width: calc(0.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: calc(0.8 * 100vh);
|
|
64
|
+
max-height: calc(0.8 * 100dvh);
|
|
30
65
|
}
|
|
31
|
-
|
|
32
|
-
|
|
66
|
+
@media (min-width: 768px) {
|
|
67
|
+
.seed-dialog__content {
|
|
68
|
+
--dialog-default-width: var(--dialog-size-width);
|
|
69
|
+
--dialog-default-max-width: calc(100vw - 2 * var(--seed-dimension-x5));
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
.seed-dialog__content:is([data-state="open"], [data-open]) {
|
|
73
|
+
animation: seed-enter;
|
|
74
|
+
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
75
|
+
animation-duration: var(--seed-duration-d4);
|
|
76
|
+
--seed-enter-translate-x: 0;
|
|
77
|
+
--seed-enter-translate-y: 0;
|
|
78
|
+
--seed-enter-opacity: 0;
|
|
79
|
+
--seed-enter-scale: 1.3;
|
|
80
|
+
}
|
|
81
|
+
.seed-dialog__content:not(:is([data-state="open"], [data-open])) {
|
|
82
|
+
animation: seed-exit;
|
|
83
|
+
animation-timing-function: var(--seed-timing-function-exit);
|
|
84
|
+
animation-duration: var(--seed-duration-d2);
|
|
85
|
+
animation-fill-mode: forwards;
|
|
86
|
+
--seed-exit-translate-x: 0;
|
|
87
|
+
--seed-exit-translate-y: 0;
|
|
88
|
+
--seed-exit-opacity: 0;
|
|
89
|
+
--seed-exit-scale: 1;
|
|
33
90
|
}
|
|
34
91
|
.seed-dialog__header {
|
|
35
92
|
display: flex;
|
|
36
93
|
flex-direction: column;
|
|
37
|
-
|
|
38
|
-
padding-top: var(--seed-dimension-x5);
|
|
94
|
+
flex-shrink: 0;
|
|
39
95
|
gap: var(--seed-dimension-x1_5);
|
|
96
|
+
padding-inline: var(--seed-dimension-x6);
|
|
97
|
+
padding-top: var(--seed-dimension-x6);
|
|
98
|
+
padding-bottom: var(--seed-dimension-x4);
|
|
99
|
+
}
|
|
100
|
+
.seed-dialog__header[data-show-close-button] {
|
|
101
|
+
padding-right: calc(var(--seed-dimension-x6) + 22px + var(--seed-dimension-x1_5));
|
|
102
|
+
}
|
|
103
|
+
.seed-dialog__body {
|
|
104
|
+
display: flex;
|
|
105
|
+
flex-direction: column;
|
|
106
|
+
box-sizing: border-box;
|
|
107
|
+
flex: 1;
|
|
108
|
+
overflow-y: auto;
|
|
109
|
+
--seed-box-padding-x-base: var(--seed-dimension-x6);
|
|
110
|
+
--seed-box-padding-x-sm: var(--seed-box-padding-x-base, initial);
|
|
111
|
+
--seed-box-padding-x-md: var(--seed-box-padding-x-sm, initial);
|
|
112
|
+
--seed-box-padding-x-lg: var(--seed-box-padding-x-md, initial);
|
|
113
|
+
--seed-box-padding-x-xl: var(--seed-box-padding-x-lg, initial);
|
|
114
|
+
--seed-box-padding-x: var(--seed-box-padding-x-base, initial);
|
|
115
|
+
--seed-box-min-height-base: 0;
|
|
116
|
+
--seed-box-min-height-sm: var(--seed-box-min-height-base, initial);
|
|
117
|
+
--seed-box-min-height-md: var(--seed-box-min-height-sm, initial);
|
|
118
|
+
--seed-box-min-height-lg: var(--seed-box-min-height-md, initial);
|
|
119
|
+
--seed-box-min-height-xl: var(--seed-box-min-height-lg, initial);
|
|
120
|
+
--seed-box-min-height: var(--seed-box-min-height-base, initial);
|
|
121
|
+
--seed-box-max-height-base: none;
|
|
122
|
+
--seed-box-max-height-sm: var(--seed-box-max-height-base, initial);
|
|
123
|
+
--seed-box-max-height-md: var(--seed-box-max-height-sm, initial);
|
|
124
|
+
--seed-box-max-height-lg: var(--seed-box-max-height-md, initial);
|
|
125
|
+
--seed-box-max-height-xl: var(--seed-box-max-height-lg, initial);
|
|
126
|
+
--seed-box-max-height: var(--seed-box-max-height-base, initial);
|
|
127
|
+
--seed-box-justify-content: initial;
|
|
128
|
+
--seed-box-align-items: initial;
|
|
129
|
+
padding-inline: var(--seed-box-padding-x);
|
|
130
|
+
min-height: var(--seed-box-min-height);
|
|
131
|
+
max-height: var(--seed-box-max-height);
|
|
132
|
+
justify-content: var(--seed-box-justify-content);
|
|
133
|
+
align-items: var(--seed-box-align-items);
|
|
134
|
+
transition: box-shadow var(--seed-duration-color-transition) var(--seed-timing-function-easing);
|
|
135
|
+
}
|
|
136
|
+
.seed-dialog__body[data-scrolled]:not(:first-child) {
|
|
137
|
+
box-shadow: inset 0 1px 0 0 var(--seed-color-stroke-neutral-muted);
|
|
138
|
+
}
|
|
139
|
+
.seed-dialog__body[data-overflow] {
|
|
140
|
+
padding-bottom: var(--seed-dimension-x12);
|
|
141
|
+
mask-image: linear-gradient(to top, transparent 0, black var(--seed-dimension-x12));
|
|
142
|
+
-webkit-mask-image: linear-gradient(to top, transparent 0, black var(--seed-dimension-x12));
|
|
143
|
+
}
|
|
144
|
+
.seed-dialog__body {
|
|
145
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
146
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
147
|
+
}
|
|
148
|
+
.seed-dialog__body:is(:focus-visible, [data-focus-visible]) {
|
|
149
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
150
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
40
151
|
}
|
|
41
152
|
.seed-dialog__title {
|
|
42
153
|
color: var(--seed-color-fg-neutral);
|
|
43
|
-
font-size: var(--seed-font-size-
|
|
44
|
-
line-height: var(--seed-line-height-
|
|
154
|
+
font-size: var(--seed-font-size-t8);
|
|
155
|
+
line-height: var(--seed-line-height-t8);
|
|
45
156
|
font-weight: var(--seed-font-weight-bold);
|
|
46
157
|
margin: 0;
|
|
47
158
|
}
|
|
48
159
|
.seed-dialog__description {
|
|
49
|
-
color: var(--seed-color-fg-neutral);
|
|
160
|
+
color: var(--seed-color-fg-neutral-muted);
|
|
50
161
|
font-size: var(--seed-font-size-t5);
|
|
51
162
|
line-height: var(--seed-line-height-t5);
|
|
52
163
|
font-weight: var(--seed-font-weight-regular);
|
|
@@ -57,45 +168,94 @@
|
|
|
57
168
|
display: flex;
|
|
58
169
|
flex-direction: column;
|
|
59
170
|
align-items: stretch;
|
|
60
|
-
|
|
171
|
+
flex-shrink: 0;
|
|
172
|
+
padding-inline: var(--seed-dimension-x6);
|
|
61
173
|
padding-top: var(--seed-dimension-x4);
|
|
62
|
-
padding-bottom: var(--seed-dimension-
|
|
174
|
+
padding-bottom: var(--seed-dimension-x6);
|
|
63
175
|
}
|
|
64
|
-
.seed-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
176
|
+
.seed-dialog__closeButton {
|
|
177
|
+
position: absolute;
|
|
178
|
+
top: var(--seed-dimension-x7);
|
|
179
|
+
right: var(--seed-dimension-x6);
|
|
180
|
+
display: flex;
|
|
181
|
+
justify-content: center;
|
|
182
|
+
align-items: center;
|
|
183
|
+
border: none;
|
|
184
|
+
background: var(--seed-color-bg-transparent);
|
|
185
|
+
border-radius: var(--seed-radius-r3);
|
|
186
|
+
padding: calc((52px - 22px) / 2);
|
|
187
|
+
margin: calc((22px - 52px) / 2);
|
|
188
|
+
cursor: pointer;
|
|
189
|
+
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);
|
|
190
|
+
--seed-icon-size: 22px;
|
|
191
|
+
--seed-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
192
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
193
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
72
194
|
}
|
|
73
|
-
.seed-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
animation-duration: var(--seed-duration-d2);
|
|
77
|
-
animation-fill-mode: forwards;
|
|
78
|
-
--seed-exit-translate-x: 0;
|
|
79
|
-
--seed-exit-translate-y: 0;
|
|
80
|
-
--seed-exit-opacity: 0;
|
|
81
|
-
--seed-exit-scale: 1;
|
|
195
|
+
.seed-dialog__closeButton:is(:focus-visible, [data-focus-visible]) {
|
|
196
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
197
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
82
198
|
}
|
|
83
|
-
.seed-
|
|
84
|
-
|
|
85
|
-
animation-timing-function: var(--seed-timing-function-enter-expressive);
|
|
86
|
-
animation-duration: var(--seed-duration-d4);
|
|
87
|
-
--seed-enter-translate-x: 0;
|
|
88
|
-
--seed-enter-translate-y: 0;
|
|
89
|
-
--seed-enter-opacity: 0;
|
|
90
|
-
--seed-enter-scale: 1.3;
|
|
199
|
+
.seed-dialog__closeButton:is(:active, [data-active]) {
|
|
200
|
+
scale: var(--seed-feedback-scale);
|
|
91
201
|
}
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
202
|
+
@media (hover: hover) and (pointer: fine) {
|
|
203
|
+
.seed-dialog__closeButton:is(:hover, [data-hover]) {
|
|
204
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
205
|
+
}
|
|
206
|
+
}
|
|
207
|
+
@media not all and (hover: hover) and (pointer: fine) {
|
|
208
|
+
.seed-dialog__closeButton:is(:active, [data-active]) {
|
|
209
|
+
background: var(--seed-color-bg-transparent-pressed);
|
|
210
|
+
}
|
|
211
|
+
}
|
|
212
|
+
.seed-dialog__content--size_medium {
|
|
213
|
+
--dialog-size-width: 480px;
|
|
214
|
+
}
|
|
215
|
+
.seed-dialog__content--size_large {
|
|
216
|
+
--dialog-size-width: 800px;
|
|
217
|
+
}
|
|
218
|
+
@media (min-width: 480px) {
|
|
219
|
+
.seed-dialog__content {
|
|
220
|
+
--seed-box-width: var(--seed-box-width-sm, initial);
|
|
221
|
+
--seed-box-max-width: var(--seed-box-max-width-sm, initial);
|
|
222
|
+
}
|
|
223
|
+
.seed-dialog__body {
|
|
224
|
+
--seed-box-padding-x: var(--seed-box-padding-x-sm, initial);
|
|
225
|
+
--seed-box-min-height: var(--seed-box-min-height-sm, initial);
|
|
226
|
+
--seed-box-max-height: var(--seed-box-max-height-sm, initial);
|
|
227
|
+
}
|
|
228
|
+
}
|
|
229
|
+
@media (min-width: 768px) {
|
|
230
|
+
.seed-dialog__content {
|
|
231
|
+
--seed-box-width: var(--seed-box-width-md, initial);
|
|
232
|
+
--seed-box-max-width: var(--seed-box-max-width-md, initial);
|
|
233
|
+
}
|
|
234
|
+
.seed-dialog__body {
|
|
235
|
+
--seed-box-padding-x: var(--seed-box-padding-x-md, initial);
|
|
236
|
+
--seed-box-min-height: var(--seed-box-min-height-md, initial);
|
|
237
|
+
--seed-box-max-height: var(--seed-box-max-height-md, initial);
|
|
238
|
+
}
|
|
239
|
+
}
|
|
240
|
+
@media (min-width: 1280px) {
|
|
241
|
+
.seed-dialog__content {
|
|
242
|
+
--seed-box-width: var(--seed-box-width-lg, initial);
|
|
243
|
+
--seed-box-max-width: var(--seed-box-max-width-lg, initial);
|
|
244
|
+
}
|
|
245
|
+
.seed-dialog__body {
|
|
246
|
+
--seed-box-padding-x: var(--seed-box-padding-x-lg, initial);
|
|
247
|
+
--seed-box-min-height: var(--seed-box-min-height-lg, initial);
|
|
248
|
+
--seed-box-max-height: var(--seed-box-max-height-lg, initial);
|
|
249
|
+
}
|
|
250
|
+
}
|
|
251
|
+
@media (min-width: 1440px) {
|
|
252
|
+
.seed-dialog__content {
|
|
253
|
+
--seed-box-width: var(--seed-box-width-xl, initial);
|
|
254
|
+
--seed-box-max-width: var(--seed-box-max-width-xl, initial);
|
|
255
|
+
}
|
|
256
|
+
.seed-dialog__body {
|
|
257
|
+
--seed-box-padding-x: var(--seed-box-padding-x-xl, initial);
|
|
258
|
+
--seed-box-min-height: var(--seed-box-min-height-xl, initial);
|
|
259
|
+
--seed-box-max-height: var(--seed-box-max-height-xl, initial);
|
|
260
|
+
}
|
|
101
261
|
}
|
package/recipes/dialog.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
declare interface DialogVariant {
|
|
2
2
|
/**
|
|
3
|
-
* @default
|
|
3
|
+
* @default "medium"
|
|
4
4
|
*/
|
|
5
|
-
|
|
5
|
+
size: "medium" | "large";
|
|
6
6
|
}
|
|
7
7
|
|
|
8
8
|
declare type DialogVariantMap = {
|
|
@@ -11,7 +11,7 @@ declare type DialogVariantMap = {
|
|
|
11
11
|
|
|
12
12
|
export declare type DialogVariantProps = Partial<DialogVariant>;
|
|
13
13
|
|
|
14
|
-
export declare type DialogSlotName = "positioner" | "backdrop" | "content" | "header" | "
|
|
14
|
+
export declare type DialogSlotName = "positioner" | "backdrop" | "content" | "header" | "body" | "footer" | "title" | "description" | "closeButton";
|
|
15
15
|
|
|
16
16
|
export declare const dialogVariantMap: DialogVariantMap;
|
|
17
17
|
|