@seed-design/css 2.9.0 → 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 +928 -1493
- package/all.layered.css +928 -1493
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/base.css +45 -4
- package/base.layered.css +45 -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/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 -118
- package/vars/component/top-navigation.mjs +0 -109
- package/vars/component/wheel-picker.d.ts +0 -72
- package/vars/component/wheel-picker.mjs +0 -72
|
@@ -1,124 +0,0 @@
|
|
|
1
|
-
.seed-wheel-picker-public__root {
|
|
2
|
-
position: relative;
|
|
3
|
-
width: 100%;
|
|
4
|
-
overflow: hidden;
|
|
5
|
-
background-color: var(--seed-color-bg-layer-floating);
|
|
6
|
-
--seed-wheel-picker-public-item-color: var(--seed-color-fg-disabled);
|
|
7
|
-
--seed-wheel-picker-public-selected-item-color: var(--seed-color-fg-neutral);
|
|
8
|
-
--seed-wheel-picker-public-scroll-fog-size: min(calc(0.4 * 100%), var(--seed-wheel-picker-public-scroll-fog-max-height));
|
|
9
|
-
}
|
|
10
|
-
.seed-wheel-picker-public__scrollFog {
|
|
11
|
-
position: relative;
|
|
12
|
-
z-index: 1;
|
|
13
|
-
height: 100%;
|
|
14
|
-
overflow: hidden;
|
|
15
|
-
}
|
|
16
|
-
.seed-wheel-picker-public__columns {
|
|
17
|
-
display: flex;
|
|
18
|
-
width: 100%;
|
|
19
|
-
height: 100%;
|
|
20
|
-
justify-content: center;
|
|
21
|
-
}
|
|
22
|
-
.seed-wheel-picker-public__column {
|
|
23
|
-
box-sizing: border-box;
|
|
24
|
-
flex: 0 0 auto;
|
|
25
|
-
width: max-content;
|
|
26
|
-
height: 100%;
|
|
27
|
-
overflow-x: hidden;
|
|
28
|
-
overflow-y: auto;
|
|
29
|
-
overscroll-behavior-x: none;
|
|
30
|
-
overscroll-behavior-y: contain;
|
|
31
|
-
scroll-snap-type: y mandatory;
|
|
32
|
-
scrollbar-width: none;
|
|
33
|
-
-ms-overflow-style: none;
|
|
34
|
-
outline: none;
|
|
35
|
-
touch-action: pan-y;
|
|
36
|
-
cursor: grab;
|
|
37
|
-
padding-block: var(--seed-wheel-picker-public-center-offset);
|
|
38
|
-
}
|
|
39
|
-
.seed-wheel-picker-public__column:is(:disabled, [disabled], [data-disabled]) {
|
|
40
|
-
overflow-y: hidden;
|
|
41
|
-
cursor: default;
|
|
42
|
-
--seed-wheel-picker-public-item-color: var(--seed-color-fg-disabled);
|
|
43
|
-
--seed-wheel-picker-public-selected-item-color: var(--seed-color-fg-disabled);
|
|
44
|
-
}
|
|
45
|
-
.seed-wheel-picker-public__column[data-wheel-picker-dragging] {
|
|
46
|
-
cursor: grabbing;
|
|
47
|
-
scroll-snap-type: none;
|
|
48
|
-
}
|
|
49
|
-
.seed-wheel-picker-public__column[data-wheel-picker-scrolling] {
|
|
50
|
-
scroll-snap-type: none;
|
|
51
|
-
}
|
|
52
|
-
.seed-wheel-picker-public__column::-webkit-scrollbar {
|
|
53
|
-
display: none;
|
|
54
|
-
}
|
|
55
|
-
.seed-wheel-picker-public__column :is([aria-selected=true], [data-selected]) {
|
|
56
|
-
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
57
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
58
|
-
border-radius: var(--seed-radius-r2);
|
|
59
|
-
}
|
|
60
|
-
.seed-wheel-picker-public__column:not([data-wheel-picker-pointer-focus]) :is([aria-selected=true], [data-selected]) {
|
|
61
|
-
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
62
|
-
}
|
|
63
|
-
.seed-wheel-picker-public__column.seed-wheel-picker-public__column:is(:focus-visible, [data-focus-visible]):not([data-wheel-picker-pointer-focus]) :is([aria-selected=true], [data-selected]) {
|
|
64
|
-
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
65
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
66
|
-
}
|
|
67
|
-
.seed-wheel-picker-public__item {
|
|
68
|
-
display: flex;
|
|
69
|
-
height: var(--seed-wheel-picker-public-item-size);
|
|
70
|
-
min-height: var(--seed-wheel-picker-public-item-size);
|
|
71
|
-
align-items: center;
|
|
72
|
-
justify-content: center;
|
|
73
|
-
color: var(--seed-wheel-picker-public-item-color);
|
|
74
|
-
outline-color: transparent;
|
|
75
|
-
scroll-snap-align: center;
|
|
76
|
-
user-select: none;
|
|
77
|
-
}
|
|
78
|
-
.seed-wheel-picker-public__item[data-wheel-picker-indicator-overlap] {
|
|
79
|
-
color: transparent;
|
|
80
|
-
background-image: linear-gradient(to bottom, var(--seed-wheel-picker-public-item-color) 0%, var(--seed-wheel-picker-public-item-color) var(--seed-wheel-picker-indicator-overlap-start), var(--seed-wheel-picker-public-selected-item-color) var(--seed-wheel-picker-indicator-overlap-start), var(--seed-wheel-picker-public-selected-item-color) var(--seed-wheel-picker-indicator-overlap-end), var(--seed-wheel-picker-public-item-color) var(--seed-wheel-picker-indicator-overlap-end), var(--seed-wheel-picker-public-item-color) 100%);
|
|
81
|
-
background-clip: text;
|
|
82
|
-
-webkit-background-clip: text;
|
|
83
|
-
-webkit-text-fill-color: transparent;
|
|
84
|
-
}
|
|
85
|
-
.seed-wheel-picker-public__itemLabel {
|
|
86
|
-
box-sizing: border-box;
|
|
87
|
-
display: flex;
|
|
88
|
-
flex-shrink: 0;
|
|
89
|
-
height: 100%;
|
|
90
|
-
align-items: center;
|
|
91
|
-
justify-content: center;
|
|
92
|
-
padding-inline: var(--seed-dimension-x4);
|
|
93
|
-
font-weight: var(--seed-font-weight-medium);
|
|
94
|
-
white-space: nowrap;
|
|
95
|
-
}
|
|
96
|
-
.seed-wheel-picker-public__selectionIndicator {
|
|
97
|
-
position: absolute;
|
|
98
|
-
z-index: 0;
|
|
99
|
-
inset-inline: var(--seed-dimension-x4);
|
|
100
|
-
top: 50%;
|
|
101
|
-
height: var(--seed-wheel-picker-public-item-size);
|
|
102
|
-
transform: translateY(-50%);
|
|
103
|
-
border-radius: var(--seed-radius-r2);
|
|
104
|
-
background-color: var(--seed-color-bg-neutral-weak);
|
|
105
|
-
pointer-events: none;
|
|
106
|
-
}
|
|
107
|
-
.seed-wheel-picker-public__root--size_small {
|
|
108
|
-
height: var(--seed-wheel-picker-public-viewport-size, 180px);
|
|
109
|
-
--seed-wheel-picker-public-item-size: 36px;
|
|
110
|
-
--seed-wheel-picker-public-scroll-fog-max-height: 108px;
|
|
111
|
-
}
|
|
112
|
-
.seed-wheel-picker-public__itemLabel--size_small {
|
|
113
|
-
font-size: var(--seed-font-size-t7-static);
|
|
114
|
-
line-height: var(--seed-line-height-t7-static);
|
|
115
|
-
}
|
|
116
|
-
.seed-wheel-picker-public__root--size_medium {
|
|
117
|
-
height: var(--seed-wheel-picker-public-viewport-size, 220px);
|
|
118
|
-
--seed-wheel-picker-public-item-size: 44px;
|
|
119
|
-
--seed-wheel-picker-public-scroll-fog-max-height: 132px;
|
|
120
|
-
}
|
|
121
|
-
.seed-wheel-picker-public__itemLabel--size_medium {
|
|
122
|
-
font-size: var(--seed-font-size-t10-static);
|
|
123
|
-
line-height: var(--seed-line-height-t10-static);
|
|
124
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
declare interface WheelPickerPublicVariant {
|
|
2
|
-
/**
|
|
3
|
-
* @default "medium"
|
|
4
|
-
*/
|
|
5
|
-
size: "small" | "medium";
|
|
6
|
-
}
|
|
7
|
-
|
|
8
|
-
declare type WheelPickerPublicVariantMap = {
|
|
9
|
-
[key in keyof WheelPickerPublicVariant]: Array<WheelPickerPublicVariant[key]>;
|
|
10
|
-
};
|
|
11
|
-
|
|
12
|
-
export declare type WheelPickerPublicVariantProps = Partial<WheelPickerPublicVariant>;
|
|
13
|
-
|
|
14
|
-
export declare type WheelPickerPublicSlotName = "root" | "scrollFog" | "columns" | "column" | "item" | "itemLabel" | "selectionIndicator";
|
|
15
|
-
|
|
16
|
-
export declare const wheelPickerPublicVariantMap: WheelPickerPublicVariantMap;
|
|
17
|
-
|
|
18
|
-
export declare const wheelPickerPublic: ((
|
|
19
|
-
props?: WheelPickerPublicVariantProps,
|
|
20
|
-
) => Record<WheelPickerPublicSlotName, string>) & {
|
|
21
|
-
splitVariantProps: <T extends WheelPickerPublicVariantProps>(
|
|
22
|
-
props: T,
|
|
23
|
-
) => [WheelPickerPublicVariantProps, Omit<T, keyof WheelPickerPublicVariantProps>];
|
|
24
|
-
}
|
|
@@ -1,144 +0,0 @@
|
|
|
1
|
-
@layer seed-components {
|
|
2
|
-
.seed-wheel-picker-public__root {
|
|
3
|
-
background-color: var(--seed-color-bg-layer-floating);
|
|
4
|
-
--seed-wheel-picker-public-item-color: var(--seed-color-fg-disabled);
|
|
5
|
-
--seed-wheel-picker-public-selected-item-color: var(--seed-color-fg-neutral);
|
|
6
|
-
--seed-wheel-picker-public-scroll-fog-size: min(calc(.4 * 100%), var(--seed-wheel-picker-public-scroll-fog-max-height));
|
|
7
|
-
width: 100%;
|
|
8
|
-
position: relative;
|
|
9
|
-
overflow: hidden;
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.seed-wheel-picker-public__scrollFog {
|
|
13
|
-
z-index: 1;
|
|
14
|
-
height: 100%;
|
|
15
|
-
position: relative;
|
|
16
|
-
overflow: hidden;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.seed-wheel-picker-public__columns {
|
|
20
|
-
justify-content: center;
|
|
21
|
-
width: 100%;
|
|
22
|
-
height: 100%;
|
|
23
|
-
display: flex;
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
.seed-wheel-picker-public__column {
|
|
27
|
-
box-sizing: border-box;
|
|
28
|
-
overscroll-behavior-x: none;
|
|
29
|
-
overscroll-behavior-y: contain;
|
|
30
|
-
scroll-snap-type: y mandatory;
|
|
31
|
-
scrollbar-width: none;
|
|
32
|
-
-ms-overflow-style: none;
|
|
33
|
-
touch-action: pan-y;
|
|
34
|
-
cursor: grab;
|
|
35
|
-
width: max-content;
|
|
36
|
-
height: 100%;
|
|
37
|
-
padding-block: var(--seed-wheel-picker-public-center-offset);
|
|
38
|
-
outline: none;
|
|
39
|
-
flex: none;
|
|
40
|
-
overflow: hidden auto;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.seed-wheel-picker-public__column:is(:disabled, [disabled], [data-disabled]) {
|
|
44
|
-
cursor: default;
|
|
45
|
-
--seed-wheel-picker-public-item-color: var(--seed-color-fg-disabled);
|
|
46
|
-
--seed-wheel-picker-public-selected-item-color: var(--seed-color-fg-disabled);
|
|
47
|
-
overflow-y: hidden;
|
|
48
|
-
}
|
|
49
|
-
|
|
50
|
-
.seed-wheel-picker-public__column[data-wheel-picker-dragging] {
|
|
51
|
-
cursor: grabbing;
|
|
52
|
-
scroll-snap-type: none;
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.seed-wheel-picker-public__column[data-wheel-picker-scrolling] {
|
|
56
|
-
scroll-snap-type: none;
|
|
57
|
-
}
|
|
58
|
-
|
|
59
|
-
.seed-wheel-picker-public__column::-webkit-scrollbar {
|
|
60
|
-
display: none;
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
.seed-wheel-picker-public__column :is([aria-selected="true"], [data-selected]) {
|
|
64
|
-
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
65
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
66
|
-
border-radius: var(--seed-radius-r2);
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.seed-wheel-picker-public__column:not([data-wheel-picker-pointer-focus]) :is([aria-selected="true"], [data-selected]) {
|
|
70
|
-
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
71
|
-
}
|
|
72
|
-
|
|
73
|
-
.seed-wheel-picker-public__column.seed-wheel-picker-public__column:is(:focus-visible, [data-focus-visible]):not([data-wheel-picker-pointer-focus]) :is([aria-selected="true"], [data-selected]) {
|
|
74
|
-
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
75
|
-
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
76
|
-
}
|
|
77
|
-
|
|
78
|
-
.seed-wheel-picker-public__item {
|
|
79
|
-
height: var(--seed-wheel-picker-public-item-size);
|
|
80
|
-
min-height: var(--seed-wheel-picker-public-item-size);
|
|
81
|
-
color: var(--seed-wheel-picker-public-item-color);
|
|
82
|
-
scroll-snap-align: center;
|
|
83
|
-
-webkit-user-select: none;
|
|
84
|
-
user-select: none;
|
|
85
|
-
outline-color: #0000;
|
|
86
|
-
justify-content: center;
|
|
87
|
-
align-items: center;
|
|
88
|
-
display: flex;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
.seed-wheel-picker-public__item[data-wheel-picker-indicator-overlap] {
|
|
92
|
-
color: #0000;
|
|
93
|
-
background-image: linear-gradient(to bottom, var(--seed-wheel-picker-public-item-color) 0%, var(--seed-wheel-picker-public-item-color) var(--seed-wheel-picker-indicator-overlap-start), var(--seed-wheel-picker-public-selected-item-color) var(--seed-wheel-picker-indicator-overlap-start), var(--seed-wheel-picker-public-selected-item-color) var(--seed-wheel-picker-indicator-overlap-end), var(--seed-wheel-picker-public-item-color) var(--seed-wheel-picker-indicator-overlap-end), var(--seed-wheel-picker-public-item-color) 100%);
|
|
94
|
-
-webkit-text-fill-color: transparent;
|
|
95
|
-
-webkit-background-clip: text;
|
|
96
|
-
background-clip: text;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
.seed-wheel-picker-public__itemLabel {
|
|
100
|
-
box-sizing: border-box;
|
|
101
|
-
height: 100%;
|
|
102
|
-
padding-inline: var(--seed-dimension-x4);
|
|
103
|
-
font-weight: var(--seed-font-weight-medium);
|
|
104
|
-
white-space: nowrap;
|
|
105
|
-
flex-shrink: 0;
|
|
106
|
-
justify-content: center;
|
|
107
|
-
align-items: center;
|
|
108
|
-
display: flex;
|
|
109
|
-
}
|
|
110
|
-
|
|
111
|
-
.seed-wheel-picker-public__selectionIndicator {
|
|
112
|
-
z-index: 0;
|
|
113
|
-
inset-inline: var(--seed-dimension-x4);
|
|
114
|
-
height: var(--seed-wheel-picker-public-item-size);
|
|
115
|
-
border-radius: var(--seed-radius-r2);
|
|
116
|
-
background-color: var(--seed-color-bg-neutral-weak);
|
|
117
|
-
pointer-events: none;
|
|
118
|
-
position: absolute;
|
|
119
|
-
top: 50%;
|
|
120
|
-
transform: translateY(-50%);
|
|
121
|
-
}
|
|
122
|
-
|
|
123
|
-
.seed-wheel-picker-public__root--size_small {
|
|
124
|
-
height: var(--seed-wheel-picker-public-viewport-size, 180px);
|
|
125
|
-
--seed-wheel-picker-public-item-size: 36px;
|
|
126
|
-
--seed-wheel-picker-public-scroll-fog-max-height: 108px;
|
|
127
|
-
}
|
|
128
|
-
|
|
129
|
-
.seed-wheel-picker-public__itemLabel--size_small {
|
|
130
|
-
font-size: var(--seed-font-size-t7-static);
|
|
131
|
-
line-height: var(--seed-line-height-t7-static);
|
|
132
|
-
}
|
|
133
|
-
|
|
134
|
-
.seed-wheel-picker-public__root--size_medium {
|
|
135
|
-
height: var(--seed-wheel-picker-public-viewport-size, 220px);
|
|
136
|
-
--seed-wheel-picker-public-item-size: 44px;
|
|
137
|
-
--seed-wheel-picker-public-scroll-fog-max-height: 132px;
|
|
138
|
-
}
|
|
139
|
-
|
|
140
|
-
.seed-wheel-picker-public__itemLabel--size_medium {
|
|
141
|
-
font-size: var(--seed-font-size-t10-static);
|
|
142
|
-
line-height: var(--seed-line-height-t10-static);
|
|
143
|
-
}
|
|
144
|
-
}
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import './wheel-picker-public.layered.css';
|
|
2
|
-
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
-
|
|
4
|
-
const wheelPickerPublicSlotNames = [
|
|
5
|
-
[
|
|
6
|
-
"root",
|
|
7
|
-
"seed-wheel-picker-public__root"
|
|
8
|
-
],
|
|
9
|
-
[
|
|
10
|
-
"scrollFog",
|
|
11
|
-
"seed-wheel-picker-public__scrollFog"
|
|
12
|
-
],
|
|
13
|
-
[
|
|
14
|
-
"columns",
|
|
15
|
-
"seed-wheel-picker-public__columns"
|
|
16
|
-
],
|
|
17
|
-
[
|
|
18
|
-
"column",
|
|
19
|
-
"seed-wheel-picker-public__column"
|
|
20
|
-
],
|
|
21
|
-
[
|
|
22
|
-
"item",
|
|
23
|
-
"seed-wheel-picker-public__item"
|
|
24
|
-
],
|
|
25
|
-
[
|
|
26
|
-
"itemLabel",
|
|
27
|
-
"seed-wheel-picker-public__itemLabel"
|
|
28
|
-
],
|
|
29
|
-
[
|
|
30
|
-
"selectionIndicator",
|
|
31
|
-
"seed-wheel-picker-public__selectionIndicator"
|
|
32
|
-
]
|
|
33
|
-
];
|
|
34
|
-
|
|
35
|
-
const defaultVariant = {
|
|
36
|
-
"size": "medium"
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const compoundVariants = [];
|
|
40
|
-
|
|
41
|
-
export const wheelPickerPublicVariantMap = {
|
|
42
|
-
"size": [
|
|
43
|
-
"small",
|
|
44
|
-
"medium"
|
|
45
|
-
]
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export const wheelPickerPublicVariantKeys = Object.keys(wheelPickerPublicVariantMap);
|
|
49
|
-
|
|
50
|
-
export function wheelPickerPublic(props) {
|
|
51
|
-
return Object.fromEntries(
|
|
52
|
-
wheelPickerPublicSlotNames.map(([slot, className]) => {
|
|
53
|
-
return [
|
|
54
|
-
slot,
|
|
55
|
-
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
56
|
-
];
|
|
57
|
-
}),
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
Object.assign(wheelPickerPublic, { splitVariantProps: (props) => splitVariantProps(props, wheelPickerPublicVariantMap) });
|
|
62
|
-
|
|
63
|
-
// @recipe(seed): wheel-picker-public
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import './wheel-picker-public.css';
|
|
2
|
-
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
-
|
|
4
|
-
const wheelPickerPublicSlotNames = [
|
|
5
|
-
[
|
|
6
|
-
"root",
|
|
7
|
-
"seed-wheel-picker-public__root"
|
|
8
|
-
],
|
|
9
|
-
[
|
|
10
|
-
"scrollFog",
|
|
11
|
-
"seed-wheel-picker-public__scrollFog"
|
|
12
|
-
],
|
|
13
|
-
[
|
|
14
|
-
"columns",
|
|
15
|
-
"seed-wheel-picker-public__columns"
|
|
16
|
-
],
|
|
17
|
-
[
|
|
18
|
-
"column",
|
|
19
|
-
"seed-wheel-picker-public__column"
|
|
20
|
-
],
|
|
21
|
-
[
|
|
22
|
-
"item",
|
|
23
|
-
"seed-wheel-picker-public__item"
|
|
24
|
-
],
|
|
25
|
-
[
|
|
26
|
-
"itemLabel",
|
|
27
|
-
"seed-wheel-picker-public__itemLabel"
|
|
28
|
-
],
|
|
29
|
-
[
|
|
30
|
-
"selectionIndicator",
|
|
31
|
-
"seed-wheel-picker-public__selectionIndicator"
|
|
32
|
-
]
|
|
33
|
-
];
|
|
34
|
-
|
|
35
|
-
const defaultVariant = {
|
|
36
|
-
"size": "medium"
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
const compoundVariants = [];
|
|
40
|
-
|
|
41
|
-
export const wheelPickerPublicVariantMap = {
|
|
42
|
-
"size": [
|
|
43
|
-
"small",
|
|
44
|
-
"medium"
|
|
45
|
-
]
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export const wheelPickerPublicVariantKeys = Object.keys(wheelPickerPublicVariantMap);
|
|
49
|
-
|
|
50
|
-
export function wheelPickerPublic(props) {
|
|
51
|
-
return Object.fromEntries(
|
|
52
|
-
wheelPickerPublicSlotNames.map(([slot, className]) => {
|
|
53
|
-
return [
|
|
54
|
-
slot,
|
|
55
|
-
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
56
|
-
];
|
|
57
|
-
}),
|
|
58
|
-
);
|
|
59
|
-
}
|
|
60
|
-
|
|
61
|
-
Object.assign(wheelPickerPublic, { splitVariantProps: (props) => splitVariantProps(props, wheelPickerPublicVariantMap) });
|
|
62
|
-
|
|
63
|
-
// @recipe(seed): wheel-picker-public
|
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
export declare const vars: {
|
|
2
|
-
"base": {
|
|
3
|
-
"enabled": {
|
|
4
|
-
"root": {
|
|
5
|
-
"colorDuration": "var(--seed-duration-color-transition)",
|
|
6
|
-
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
7
|
-
},
|
|
8
|
-
"trigger": {
|
|
9
|
-
"paddingX": "var(--seed-dimension-spacing-x-global-gutter)"
|
|
10
|
-
},
|
|
11
|
-
"body": {
|
|
12
|
-
"gap": "var(--seed-dimension-x0_5)"
|
|
13
|
-
},
|
|
14
|
-
"prefixIcon": {
|
|
15
|
-
"color": "var(--seed-color-fg-neutral)"
|
|
16
|
-
},
|
|
17
|
-
"title": {
|
|
18
|
-
"color": "var(--seed-color-fg-neutral)",
|
|
19
|
-
"fontWeight": "var(--seed-font-weight-medium)"
|
|
20
|
-
},
|
|
21
|
-
"description": {
|
|
22
|
-
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
23
|
-
"fontWeight": "var(--seed-font-weight-medium)"
|
|
24
|
-
},
|
|
25
|
-
"suffixIcon": {
|
|
26
|
-
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
27
|
-
"rotateDuration": "var(--seed-duration-d6)",
|
|
28
|
-
"rotateTimingFunction": "var(--seed-timing-function-easing)"
|
|
29
|
-
},
|
|
30
|
-
"content": {
|
|
31
|
-
"expandHeightDuration": "var(--seed-duration-d6)",
|
|
32
|
-
"expandHeightTimingFunction": "var(--seed-timing-function-easing)",
|
|
33
|
-
"collapseHeightDuration": "var(--seed-duration-d6)",
|
|
34
|
-
"collapseHeightTimingFunction": "var(--seed-timing-function-easing)"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"disabled": {
|
|
38
|
-
"prefixIcon": {
|
|
39
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
40
|
-
},
|
|
41
|
-
"title": {
|
|
42
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
43
|
-
},
|
|
44
|
-
"description": {
|
|
45
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
46
|
-
},
|
|
47
|
-
"suffixIcon": {
|
|
48
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"pressed": {
|
|
52
|
-
"trigger": {
|
|
53
|
-
"color": "var(--seed-color-bg-transparent-pressed)",
|
|
54
|
-
"marginX": "var(--seed-dimension-x1_5)",
|
|
55
|
-
"cornerRadius": "var(--seed-dimension-x2_5)"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"sizeMedium": {
|
|
60
|
-
"enabled": {
|
|
61
|
-
"trigger": {
|
|
62
|
-
"paddingY": "var(--seed-dimension-x4)"
|
|
63
|
-
},
|
|
64
|
-
"prefix": {
|
|
65
|
-
"paddingRight": "var(--seed-dimension-x3)"
|
|
66
|
-
},
|
|
67
|
-
"prefixIcon": {
|
|
68
|
-
"size": "22px"
|
|
69
|
-
},
|
|
70
|
-
"title": {
|
|
71
|
-
"fontSize": "var(--seed-font-size-t5)",
|
|
72
|
-
"lineHeight": "var(--seed-line-height-t5)"
|
|
73
|
-
},
|
|
74
|
-
"description": {
|
|
75
|
-
"fontSize": "var(--seed-font-size-t3)",
|
|
76
|
-
"lineHeight": "var(--seed-line-height-t3)"
|
|
77
|
-
},
|
|
78
|
-
"suffixIcon": {
|
|
79
|
-
"size": "var(--seed-dimension-x5)",
|
|
80
|
-
"paddingLeft": "var(--seed-dimension-x3)"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"sizeLarge": {
|
|
85
|
-
"enabled": {
|
|
86
|
-
"trigger": {
|
|
87
|
-
"paddingY": "var(--seed-dimension-x5)"
|
|
88
|
-
},
|
|
89
|
-
"prefix": {
|
|
90
|
-
"paddingRight": "var(--seed-dimension-x3)"
|
|
91
|
-
},
|
|
92
|
-
"prefixIcon": {
|
|
93
|
-
"size": "22px"
|
|
94
|
-
},
|
|
95
|
-
"title": {
|
|
96
|
-
"fontSize": "var(--seed-font-size-t7)",
|
|
97
|
-
"lineHeight": "var(--seed-line-height-t7)"
|
|
98
|
-
},
|
|
99
|
-
"description": {
|
|
100
|
-
"fontSize": "var(--seed-font-size-t5)",
|
|
101
|
-
"lineHeight": "var(--seed-line-height-t5)"
|
|
102
|
-
},
|
|
103
|
-
"suffixIcon": {
|
|
104
|
-
"size": "var(--seed-dimension-x6)",
|
|
105
|
-
"paddingLeft": "var(--seed-dimension-x3)"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
/**
|
|
110
|
-
* Accordion Item들이 하나의 연속된 목록처럼 표현됩니다. 밀접하게 관련된 항목들을 컴팩트하게 나열할 때 사용합니다.
|
|
111
|
-
*/
|
|
112
|
-
"variantInline": {
|
|
113
|
-
"enabled": {
|
|
114
|
-
"root": {
|
|
115
|
-
"dividerColor": "var(--seed-color-stroke-neutral-subtle)",
|
|
116
|
-
"dividerPaddingX": "var(--seed-dimension-x3)"
|
|
117
|
-
}
|
|
118
|
-
}
|
|
119
|
-
},
|
|
120
|
-
/**
|
|
121
|
-
* 각 Accordion Item이 개별 카드 형태로 분리되어 표현됩니다. 항목 간 시각적 독립성이 필요하거나, 각 섹션의 중요도가 동등할 때 사용합니다.
|
|
122
|
-
*/
|
|
123
|
-
"variantSeparated": {
|
|
124
|
-
"enabled": {
|
|
125
|
-
"root": {
|
|
126
|
-
"strokeColor": "var(--seed-color-stroke-neutral-weak)",
|
|
127
|
-
"strokeWidth": "1px",
|
|
128
|
-
"cornerRadius": "var(--seed-radius-r3)"
|
|
129
|
-
}
|
|
130
|
-
}
|
|
131
|
-
}
|
|
132
|
-
}
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
export const vars = {
|
|
2
|
-
"base": {
|
|
3
|
-
"enabled": {
|
|
4
|
-
"root": {
|
|
5
|
-
"colorDuration": "var(--seed-duration-color-transition)",
|
|
6
|
-
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
7
|
-
},
|
|
8
|
-
"trigger": {
|
|
9
|
-
"paddingX": "var(--seed-dimension-spacing-x-global-gutter)"
|
|
10
|
-
},
|
|
11
|
-
"body": {
|
|
12
|
-
"gap": "var(--seed-dimension-x0_5)"
|
|
13
|
-
},
|
|
14
|
-
"prefixIcon": {
|
|
15
|
-
"color": "var(--seed-color-fg-neutral)"
|
|
16
|
-
},
|
|
17
|
-
"title": {
|
|
18
|
-
"color": "var(--seed-color-fg-neutral)",
|
|
19
|
-
"fontWeight": "var(--seed-font-weight-medium)"
|
|
20
|
-
},
|
|
21
|
-
"description": {
|
|
22
|
-
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
23
|
-
"fontWeight": "var(--seed-font-weight-medium)"
|
|
24
|
-
},
|
|
25
|
-
"suffixIcon": {
|
|
26
|
-
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
27
|
-
"rotateDuration": "var(--seed-duration-d6)",
|
|
28
|
-
"rotateTimingFunction": "var(--seed-timing-function-easing)"
|
|
29
|
-
},
|
|
30
|
-
"content": {
|
|
31
|
-
"expandHeightDuration": "var(--seed-duration-d6)",
|
|
32
|
-
"expandHeightTimingFunction": "var(--seed-timing-function-easing)",
|
|
33
|
-
"collapseHeightDuration": "var(--seed-duration-d6)",
|
|
34
|
-
"collapseHeightTimingFunction": "var(--seed-timing-function-easing)"
|
|
35
|
-
}
|
|
36
|
-
},
|
|
37
|
-
"disabled": {
|
|
38
|
-
"prefixIcon": {
|
|
39
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
40
|
-
},
|
|
41
|
-
"title": {
|
|
42
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
43
|
-
},
|
|
44
|
-
"description": {
|
|
45
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
46
|
-
},
|
|
47
|
-
"suffixIcon": {
|
|
48
|
-
"color": "var(--seed-color-fg-disabled)"
|
|
49
|
-
}
|
|
50
|
-
},
|
|
51
|
-
"pressed": {
|
|
52
|
-
"trigger": {
|
|
53
|
-
"color": "var(--seed-color-bg-transparent-pressed)",
|
|
54
|
-
"marginX": "var(--seed-dimension-x1_5)",
|
|
55
|
-
"cornerRadius": "var(--seed-dimension-x2_5)"
|
|
56
|
-
}
|
|
57
|
-
}
|
|
58
|
-
},
|
|
59
|
-
"sizeMedium": {
|
|
60
|
-
"enabled": {
|
|
61
|
-
"trigger": {
|
|
62
|
-
"paddingY": "var(--seed-dimension-x4)"
|
|
63
|
-
},
|
|
64
|
-
"prefix": {
|
|
65
|
-
"paddingRight": "var(--seed-dimension-x3)"
|
|
66
|
-
},
|
|
67
|
-
"prefixIcon": {
|
|
68
|
-
"size": "22px"
|
|
69
|
-
},
|
|
70
|
-
"title": {
|
|
71
|
-
"fontSize": "var(--seed-font-size-t5)",
|
|
72
|
-
"lineHeight": "var(--seed-line-height-t5)"
|
|
73
|
-
},
|
|
74
|
-
"description": {
|
|
75
|
-
"fontSize": "var(--seed-font-size-t3)",
|
|
76
|
-
"lineHeight": "var(--seed-line-height-t3)"
|
|
77
|
-
},
|
|
78
|
-
"suffixIcon": {
|
|
79
|
-
"size": "var(--seed-dimension-x5)",
|
|
80
|
-
"paddingLeft": "var(--seed-dimension-x3)"
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
},
|
|
84
|
-
"sizeLarge": {
|
|
85
|
-
"enabled": {
|
|
86
|
-
"trigger": {
|
|
87
|
-
"paddingY": "var(--seed-dimension-x5)"
|
|
88
|
-
},
|
|
89
|
-
"prefix": {
|
|
90
|
-
"paddingRight": "var(--seed-dimension-x3)"
|
|
91
|
-
},
|
|
92
|
-
"prefixIcon": {
|
|
93
|
-
"size": "22px"
|
|
94
|
-
},
|
|
95
|
-
"title": {
|
|
96
|
-
"fontSize": "var(--seed-font-size-t7)",
|
|
97
|
-
"lineHeight": "var(--seed-line-height-t7)"
|
|
98
|
-
},
|
|
99
|
-
"description": {
|
|
100
|
-
"fontSize": "var(--seed-font-size-t5)",
|
|
101
|
-
"lineHeight": "var(--seed-line-height-t5)"
|
|
102
|
-
},
|
|
103
|
-
"suffixIcon": {
|
|
104
|
-
"size": "var(--seed-dimension-x6)",
|
|
105
|
-
"paddingLeft": "var(--seed-dimension-x3)"
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
|
-
},
|
|
109
|
-
"variantInline": {
|
|
110
|
-
"enabled": {
|
|
111
|
-
"root": {
|
|
112
|
-
"dividerColor": "var(--seed-color-stroke-neutral-subtle)",
|
|
113
|
-
"dividerPaddingX": "var(--seed-dimension-x3)"
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
},
|
|
117
|
-
"variantSeparated": {
|
|
118
|
-
"enabled": {
|
|
119
|
-
"root": {
|
|
120
|
-
"strokeColor": "var(--seed-color-stroke-neutral-weak)",
|
|
121
|
-
"strokeWidth": "1px",
|
|
122
|
-
"cornerRadius": "var(--seed-radius-r3)"
|
|
123
|
-
}
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|