@seed-design/css 1.2.3 → 1.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.css +1013 -174
- package/all.layered.css +9069 -0
- package/all.layered.min.css +1 -0
- package/all.min.css +1 -1
- package/base.css +5 -2
- package/base.layered.css +857 -0
- package/base.layered.min.css +1 -0
- package/base.min.css +1 -1
- package/package.json +11 -2
- package/recipes/action-button.css +69 -17
- package/recipes/action-button.layered.css +421 -0
- package/recipes/action-button.layered.mjs +79 -0
- package/recipes/action-chip.layered.css +84 -0
- package/recipes/action-chip.layered.mjs +51 -0
- package/recipes/action-sheet-item.layered.css +38 -0
- package/recipes/action-sheet-item.layered.mjs +29 -0
- package/recipes/action-sheet.layered.css +134 -0
- package/recipes/action-sheet.layered.mjs +60 -0
- package/recipes/app-bar-main.layered.css +165 -0
- package/recipes/app-bar-main.layered.mjs +63 -0
- package/recipes/app-bar.css +8 -0
- package/recipes/app-bar.layered.css +302 -0
- package/recipes/app-bar.layered.mjs +70 -0
- package/recipes/app-screen.layered.css +332 -0
- package/recipes/app-screen.layered.mjs +98 -0
- package/recipes/article.layered.css +12 -0
- package/recipes/article.layered.mjs +22 -0
- package/recipes/aspect-ratio.layered.css +26 -0
- package/recipes/aspect-ratio.layered.mjs +22 -0
- package/recipes/avatar-stack.layered.css +94 -0
- package/recipes/avatar-stack.layered.mjs +50 -0
- package/recipes/avatar.layered.css +222 -0
- package/recipes/avatar.layered.mjs +65 -0
- package/recipes/badge.layered.css +140 -0
- package/recipes/badge.layered.mjs +131 -0
- package/recipes/bottom-sheet-handle.css +9 -2
- package/recipes/bottom-sheet-handle.layered.css +36 -0
- package/recipes/bottom-sheet-handle.layered.mjs +36 -0
- package/recipes/bottom-sheet.css +11 -0
- package/recipes/bottom-sheet.layered.css +224 -0
- package/recipes/bottom-sheet.layered.mjs +75 -0
- package/recipes/callout.css +77 -12
- package/recipes/callout.layered.css +242 -0
- package/recipes/callout.layered.mjs +63 -0
- package/recipes/checkbox-group.layered.css +7 -0
- package/recipes/checkbox-group.layered.mjs +22 -0
- package/recipes/checkbox.layered.css +54 -0
- package/recipes/checkbox.layered.mjs +48 -0
- package/recipes/checkmark.css +61 -13
- package/recipes/checkmark.layered.css +187 -0
- package/recipes/checkmark.layered.mjs +86 -0
- package/recipes/chip-tabs.css +62 -14
- package/recipes/chip-tabs.layered.css +254 -0
- package/recipes/chip-tabs.layered.mjs +75 -0
- package/recipes/chip.css +60 -15
- package/recipes/chip.layered.css +272 -0
- package/recipes/chip.layered.mjs +80 -0
- package/recipes/contextual-floating-button.css +24 -7
- package/recipes/contextual-floating-button.layered.css +130 -0
- package/recipes/contextual-floating-button.layered.mjs +34 -0
- package/recipes/control-chip.layered.css +99 -0
- package/recipes/control-chip.layered.mjs +51 -0
- package/recipes/dialog.layered.css +111 -0
- package/recipes/dialog.layered.mjs +66 -0
- package/recipes/extended-action-sheet-item.layered.css +38 -0
- package/recipes/extended-action-sheet-item.layered.mjs +29 -0
- package/recipes/extended-action-sheet.layered.css +132 -0
- package/recipes/extended-action-sheet.layered.mjs +64 -0
- package/recipes/extended-fab.layered.css +79 -0
- package/recipes/extended-fab.layered.mjs +34 -0
- package/recipes/fab.layered.css +37 -0
- package/recipes/fab.layered.mjs +22 -0
- package/recipes/field-label.layered.css +35 -0
- package/recipes/field-label.layered.mjs +47 -0
- package/recipes/field.layered.css +81 -0
- package/recipes/field.layered.mjs +60 -0
- package/recipes/floating-action-button.css +15 -5
- package/recipes/floating-action-button.layered.css +101 -0
- package/recipes/floating-action-button.layered.mjs +47 -0
- package/recipes/help-bubble.css +8 -0
- package/recipes/help-bubble.layered.css +104 -0
- package/recipes/help-bubble.layered.mjs +60 -0
- package/recipes/identity-placeholder.css +2 -2
- package/recipes/identity-placeholder.d.ts +1 -1
- package/recipes/identity-placeholder.layered.css +22 -0
- package/recipes/identity-placeholder.layered.mjs +43 -0
- package/recipes/identity-placeholder.mjs +2 -1
- package/recipes/image-frame-icon.layered.css +8 -0
- package/recipes/image-frame-icon.layered.mjs +22 -0
- package/recipes/image-frame-indicator.layered.css +18 -0
- package/recipes/image-frame-indicator.layered.mjs +22 -0
- package/recipes/image-frame-reaction-button.css +9 -1
- package/recipes/image-frame-reaction-button.layered.css +43 -0
- package/recipes/image-frame-reaction-button.layered.mjs +22 -0
- package/recipes/image-frame.layered.css +28 -0
- package/recipes/image-frame.layered.mjs +34 -0
- package/recipes/inline-banner.layered.css +161 -0
- package/recipes/inline-banner.layered.mjs +64 -0
- package/recipes/input-button.css +27 -5
- package/recipes/input-button.layered.css +167 -0
- package/recipes/input-button.layered.mjs +64 -0
- package/recipes/link-content.layered.css +48 -0
- package/recipes/link-content.layered.mjs +35 -0
- package/recipes/list-header.layered.css +26 -0
- package/recipes/list-header.layered.mjs +29 -0
- package/recipes/list-item.css +63 -17
- package/recipes/list-item.layered.css +187 -0
- package/recipes/list-item.layered.mjs +59 -0
- package/recipes/manner-temp-badge.layered.css +72 -0
- package/recipes/manner-temp-badge.layered.mjs +37 -0
- package/recipes/manner-temp.layered.css +57 -0
- package/recipes/manner-temp.layered.mjs +37 -0
- package/recipes/menu-sheet-item.css +24 -3
- package/recipes/menu-sheet-item.layered.css +102 -0
- package/recipes/menu-sheet-item.layered.mjs +56 -0
- package/recipes/menu-sheet.css +18 -3
- package/recipes/menu-sheet.layered.css +167 -0
- package/recipes/menu-sheet.layered.mjs +74 -0
- package/recipes/notification-badge-positioner.layered.css +35 -0
- package/recipes/notification-badge-positioner.layered.mjs +51 -0
- package/recipes/notification-badge.layered.css +33 -0
- package/recipes/notification-badge.layered.mjs +29 -0
- package/recipes/page-banner.css +122 -22
- package/recipes/page-banner.layered.css +361 -0
- package/recipes/page-banner.layered.mjs +117 -0
- package/recipes/progress-circle.layered.css +52 -0
- package/recipes/progress-circle.layered.mjs +55 -0
- package/recipes/pull-to-refresh.layered.css +19 -0
- package/recipes/pull-to-refresh.layered.mjs +36 -0
- package/recipes/radio-group.layered.css +7 -0
- package/recipes/radio-group.layered.mjs +22 -0
- package/recipes/radio.layered.css +54 -0
- package/recipes/radio.layered.mjs +48 -0
- package/recipes/radiomark.css +34 -7
- package/recipes/radiomark.layered.css +132 -0
- package/recipes/radiomark.layered.mjs +48 -0
- package/recipes/reaction-button.css +24 -7
- package/recipes/reaction-button.layered.css +124 -0
- package/recipes/reaction-button.layered.mjs +29 -0
- package/recipes/scroll-fog.layered.css +27 -0
- package/recipes/scroll-fog.layered.mjs +28 -0
- package/recipes/segmented-control.css +31 -7
- package/recipes/segmented-control.layered.css +108 -0
- package/recipes/segmented-control.layered.mjs +40 -0
- package/recipes/select-box-group.layered.css +13 -0
- package/recipes/select-box-group.layered.mjs +22 -0
- package/recipes/select-box.css +19 -3
- package/recipes/select-box.layered.css +148 -0
- package/recipes/select-box.layered.mjs +63 -0
- package/recipes/selectBoxCheckmark.css +9 -2
- package/recipes/selectBoxCheckmark.layered.css +42 -0
- package/recipes/selectBoxCheckmark.layered.mjs +36 -0
- package/recipes/skeleton.layered.css +56 -0
- package/recipes/skeleton.layered.mjs +36 -0
- package/recipes/slider-marker.layered.css +54 -0
- package/recipes/slider-marker.layered.mjs +30 -0
- package/recipes/slider-tick.layered.css +25 -0
- package/recipes/slider-tick.layered.mjs +29 -0
- package/recipes/slider.css +25 -1
- package/recipes/slider.layered.css +238 -0
- package/recipes/slider.layered.mjs +68 -0
- package/recipes/snackbar-region.layered.css +18 -0
- package/recipes/snackbar-region.layered.mjs +22 -0
- package/recipes/snackbar.css +20 -1
- package/recipes/snackbar.layered.css +126 -0
- package/recipes/snackbar.layered.mjs +56 -0
- package/recipes/switch.layered.css +62 -0
- package/recipes/switch.layered.mjs +44 -0
- package/recipes/switchmark.css +9 -1
- package/recipes/switchmark.layered.css +100 -0
- package/recipes/switchmark.layered.mjs +49 -0
- package/recipes/tabs.css +9 -0
- package/recipes/tabs.layered.css +211 -0
- package/recipes/tabs.layered.mjs +78 -0
- package/recipes/tag-group-item.layered.css +98 -0
- package/recipes/tag-group-item.layered.mjs +55 -0
- package/recipes/tag-group.layered.css +58 -0
- package/recipes/tag-group.layered.mjs +62 -0
- package/recipes/text-input.css +1 -0
- package/recipes/text-input.layered.css +236 -0
- package/recipes/text-input.layered.mjs +73 -0
- package/recipes/text.layered.css +364 -0
- package/recipes/text.layered.mjs +90 -0
- package/recipes/toggle-button.css +42 -11
- package/recipes/toggle-button.layered.css +183 -0
- package/recipes/toggle-button.layered.mjs +34 -0
- package/vars/color/stroke.d.ts +2 -1
- package/vars/color/stroke.mjs +2 -1
- package/vars/component/identity-placeholder.d.ts +2 -2
- package/vars/component/identity-placeholder.mjs +2 -2
- package/vars/component/image-frame-floater.d.ts +1 -1
- package/vars/component/image-frame.d.ts +11 -17
- package/vars/component/image-frame.mjs +7 -12
- package/vars/component/index.d.ts +1 -0
- package/vars/component/index.mjs +1 -0
- package/vars/component/list-item.d.ts +1 -1
- package/vars/component/list-item.mjs +1 -1
- package/vars/component/segmented-control-indicator.d.ts +24 -0
- package/vars/component/segmented-control-indicator.mjs +24 -0
- package/vars/component/segmented-control-item.d.ts +3 -11
- package/vars/component/segmented-control-item.mjs +3 -11
- package/vars/component/segmented-control.d.ts +0 -8
- package/vars/component/segmented-control.mjs +0 -8
- package/vars/component/slider.d.ts +3 -1
- package/vars/component/slider.mjs +3 -1
|
@@ -0,0 +1,183 @@
|
|
|
1
|
+
@layer seed-components {
|
|
2
|
+
.seed-toggle-button {
|
|
3
|
+
box-sizing: border-box;
|
|
4
|
+
cursor: pointer;
|
|
5
|
+
text-transform: none;
|
|
6
|
+
white-space: nowrap;
|
|
7
|
+
vertical-align: middle;
|
|
8
|
+
-webkit-font-smoothing: antialiased;
|
|
9
|
+
-moz-osx-font-smoothing: grayscale;
|
|
10
|
+
outline: var(--seed-dimension-x0_5) solid transparent;
|
|
11
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
12
|
+
border: none;
|
|
13
|
+
flex-shrink: 0;
|
|
14
|
+
justify-content: center;
|
|
15
|
+
align-items: center;
|
|
16
|
+
font-family: inherit;
|
|
17
|
+
text-decoration: none;
|
|
18
|
+
display: inline-flex;
|
|
19
|
+
position: relative;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.seed-toggle-button:is(:focus-visible, [data-focus-visible]) {
|
|
23
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
24
|
+
outline-offset: var(--seed-dimension-x0_5);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.seed-toggle-button:is(:disabled, [disabled], [data-disabled]) {
|
|
28
|
+
cursor: not-allowed;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.seed-toggle-button {
|
|
32
|
+
transition: background-color var(--seed-duration-color-transition) var(--seed-timing-function-easing), outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
33
|
+
font-weight: var(--seed-font-weight-bold);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.seed-toggle-button--variant_brandSolid {
|
|
37
|
+
background: var(--seed-color-bg-brand-solid);
|
|
38
|
+
color: var(--seed-color-palette-static-white);
|
|
39
|
+
--track-color: var(--seed-color-palette-static-white-alpha-300);
|
|
40
|
+
--range-color: var(--seed-color-palette-static-white);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
@media (hover: hover) {
|
|
44
|
+
.seed-toggle-button--variant_brandSolid:is(:hover, [data-hover]) {
|
|
45
|
+
background: var(--seed-color-bg-brand-solid-pressed);
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
@media (hover: none) {
|
|
50
|
+
.seed-toggle-button--variant_brandSolid:is(:active, [data-active]) {
|
|
51
|
+
background: var(--seed-color-bg-brand-solid-pressed);
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.seed-toggle-button--variant_brandSolid:is([aria-pressed="true"], [data-pressed]) {
|
|
56
|
+
background: var(--seed-color-bg-neutral-weak);
|
|
57
|
+
color: var(--seed-color-fg-neutral);
|
|
58
|
+
--track-color: var(--seed-color-palette-gray-500);
|
|
59
|
+
--range-color: var(--seed-color-fg-neutral);
|
|
60
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
61
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@media (hover: hover) {
|
|
65
|
+
.seed-toggle-button--variant_brandSolid:is([aria-pressed="true"], [data-pressed]):is(:hover, [data-hover]) {
|
|
66
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
@media (hover: none) {
|
|
71
|
+
.seed-toggle-button--variant_brandSolid:is([aria-pressed="true"], [data-pressed]):is(:active, [data-active]) {
|
|
72
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.seed-toggle-button--variant_brandSolid:is(:disabled, [disabled], [data-disabled]) {
|
|
77
|
+
background: var(--seed-color-bg-disabled);
|
|
78
|
+
color: var(--seed-color-fg-disabled);
|
|
79
|
+
--seed-prefix-icon-color: var(--seed-color-fg-disabled);
|
|
80
|
+
--seed-suffix-icon-color: var(--seed-color-fg-disabled);
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
.seed-toggle-button--variant_brandSolid[data-loading] {
|
|
84
|
+
background: var(--seed-color-bg-brand-solid-pressed);
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.seed-toggle-button--variant_brandSolid:is([aria-pressed="true"], [data-pressed])[data-loading] {
|
|
88
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
.seed-toggle-button--variant_brandSolid {
|
|
92
|
+
--seed-prefix-icon-color: var(--seed-color-palette-static-white);
|
|
93
|
+
--seed-suffix-icon-color: var(--seed-color-palette-static-white);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.seed-toggle-button--variant_neutralWeak {
|
|
97
|
+
background: var(--seed-color-bg-neutral-weak);
|
|
98
|
+
color: var(--seed-color-fg-neutral);
|
|
99
|
+
--track-color: var(--seed-color-palette-gray-500);
|
|
100
|
+
--range-color: var(--seed-color-fg-neutral);
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
@media (hover: hover) {
|
|
104
|
+
.seed-toggle-button--variant_neutralWeak:is(:hover, [data-hover]) {
|
|
105
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
@media (hover: none) {
|
|
110
|
+
.seed-toggle-button--variant_neutralWeak:is(:active, [data-active]) {
|
|
111
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.seed-toggle-button--variant_neutralWeak:is([aria-pressed="true"], [data-pressed]) {
|
|
116
|
+
background: var(--seed-color-bg-neutral-weak);
|
|
117
|
+
color: var(--seed-color-fg-neutral);
|
|
118
|
+
--track-color: var(--seed-color-palette-gray-500);
|
|
119
|
+
--range-color: var(--seed-color-fg-neutral);
|
|
120
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
121
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
@media (hover: hover) {
|
|
125
|
+
.seed-toggle-button--variant_neutralWeak:is([aria-pressed="true"], [data-pressed]):is(:hover, [data-hover]) {
|
|
126
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
127
|
+
}
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
@media (hover: none) {
|
|
131
|
+
.seed-toggle-button--variant_neutralWeak:is([aria-pressed="true"], [data-pressed]):is(:active, [data-active]) {
|
|
132
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
133
|
+
}
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.seed-toggle-button--variant_neutralWeak:is(:disabled, [disabled], [data-disabled]) {
|
|
137
|
+
background: var(--seed-color-bg-disabled);
|
|
138
|
+
color: var(--seed-color-fg-disabled);
|
|
139
|
+
--seed-prefix-icon-color: var(--seed-color-fg-disabled);
|
|
140
|
+
--seed-suffix-icon-color: var(--seed-color-fg-disabled);
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.seed-toggle-button--variant_neutralWeak[data-loading], .seed-toggle-button--variant_neutralWeak:is([aria-pressed="true"], [data-pressed])[data-loading] {
|
|
144
|
+
background: var(--seed-color-bg-neutral-weak-pressed);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.seed-toggle-button--variant_neutralWeak {
|
|
148
|
+
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
149
|
+
--seed-suffix-icon-color: var(--seed-color-fg-neutral);
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.seed-toggle-button--size_xsmall {
|
|
153
|
+
height: var(--seed-dimension-x8);
|
|
154
|
+
border-radius: var(--seed-radius-full);
|
|
155
|
+
gap: var(--seed-dimension-x1);
|
|
156
|
+
padding-left: var(--seed-dimension-x3_5);
|
|
157
|
+
padding-right: var(--seed-dimension-x3_5);
|
|
158
|
+
padding-top: var(--seed-dimension-x1_5);
|
|
159
|
+
padding-bottom: var(--seed-dimension-x1_5);
|
|
160
|
+
font-size: var(--seed-font-size-t3);
|
|
161
|
+
line-height: var(--seed-line-height-t3);
|
|
162
|
+
--size: 14px;
|
|
163
|
+
--thickness: 2px;
|
|
164
|
+
--seed-prefix-icon-size: var(--seed-dimension-x3_5);
|
|
165
|
+
--seed-suffix-icon-size: var(--seed-dimension-x3_5);
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
.seed-toggle-button--size_small {
|
|
169
|
+
height: var(--seed-dimension-x9);
|
|
170
|
+
border-radius: var(--seed-radius-full);
|
|
171
|
+
gap: var(--seed-dimension-x1);
|
|
172
|
+
padding-left: var(--seed-dimension-x4);
|
|
173
|
+
padding-right: var(--seed-dimension-x4);
|
|
174
|
+
padding-top: var(--seed-dimension-x2);
|
|
175
|
+
padding-bottom: var(--seed-dimension-x2);
|
|
176
|
+
font-size: var(--seed-font-size-t4);
|
|
177
|
+
line-height: var(--seed-line-height-t4);
|
|
178
|
+
--size: 14px;
|
|
179
|
+
--thickness: 2px;
|
|
180
|
+
--seed-prefix-icon-size: var(--seed-dimension-x3_5);
|
|
181
|
+
--seed-suffix-icon-size: var(--seed-dimension-x3_5);
|
|
182
|
+
}
|
|
183
|
+
}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import './toggle-button.layered.css';
|
|
2
|
+
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
|
+
|
|
4
|
+
const defaultVariant = {
|
|
5
|
+
"variant": "brandSolid",
|
|
6
|
+
"size": "small"
|
|
7
|
+
};
|
|
8
|
+
|
|
9
|
+
const compoundVariants = [];
|
|
10
|
+
|
|
11
|
+
export const toggleButtonVariantMap = {
|
|
12
|
+
"variant": [
|
|
13
|
+
"brandSolid",
|
|
14
|
+
"neutralWeak"
|
|
15
|
+
],
|
|
16
|
+
"size": [
|
|
17
|
+
"xsmall",
|
|
18
|
+
"small"
|
|
19
|
+
]
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
export const toggleButtonVariantKeys = Object.keys(toggleButtonVariantMap);
|
|
23
|
+
|
|
24
|
+
export function toggleButton(props) {
|
|
25
|
+
return createClassName(
|
|
26
|
+
"seed-toggle-button",
|
|
27
|
+
mergeVariants(defaultVariant, props),
|
|
28
|
+
compoundVariants,
|
|
29
|
+
);
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
Object.assign(toggleButton, { splitVariantProps: (props) => splitVariantProps(props, toggleButtonVariantMap) });
|
|
33
|
+
|
|
34
|
+
// @recipe(seed): toggle-button
|
package/vars/color/stroke.d.ts
CHANGED
|
@@ -27,4 +27,5 @@ export declare const positiveWeak = "var(--seed-color-stroke-positive-weak)";
|
|
|
27
27
|
/** 사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (solid) */
|
|
28
28
|
export declare const warningSolid = "var(--seed-color-stroke-warning-solid)";
|
|
29
29
|
/** 사용자의 주의가 필요한 경고 메시지나 안내 사항을 전달하는 데 사용됩니다. (weak) */
|
|
30
|
-
export declare const warningWeak = "var(--seed-color-stroke-warning-weak)";
|
|
30
|
+
export declare const warningWeak = "var(--seed-color-stroke-warning-weak)";
|
|
31
|
+
export declare const focusRing = "var(--seed-color-stroke-focus-ring)";
|
package/vars/color/stroke.mjs
CHANGED
|
@@ -12,4 +12,5 @@ export const neutralWeak = "var(--seed-color-stroke-neutral-weak)";
|
|
|
12
12
|
export const positiveSolid = "var(--seed-color-stroke-positive-solid)";
|
|
13
13
|
export const positiveWeak = "var(--seed-color-stroke-positive-weak)";
|
|
14
14
|
export const warningSolid = "var(--seed-color-stroke-warning-solid)";
|
|
15
|
-
export const warningWeak = "var(--seed-color-stroke-warning-weak)";
|
|
15
|
+
export const warningWeak = "var(--seed-color-stroke-warning-weak)";
|
|
16
|
+
export const focusRing = "var(--seed-color-stroke-focus-ring)";
|
|
@@ -2,10 +2,10 @@ export declare const vars: {
|
|
|
2
2
|
"base": {
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
|
-
"color": "var(--seed-color-palette-gray-
|
|
5
|
+
"color": "var(--seed-color-palette-gray-500)"
|
|
6
6
|
},
|
|
7
7
|
"image": {
|
|
8
|
-
"color": "
|
|
8
|
+
"color": "var(--seed-color-palette-static-white-alpha-800)"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -2,10 +2,10 @@ export const vars = {
|
|
|
2
2
|
"base": {
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
|
-
"color": "var(--seed-color-palette-gray-
|
|
5
|
+
"color": "var(--seed-color-palette-gray-500)"
|
|
6
6
|
},
|
|
7
7
|
"image": {
|
|
8
|
-
"color": "
|
|
8
|
+
"color": "var(--seed-color-palette-static-white-alpha-800)"
|
|
9
9
|
}
|
|
10
10
|
}
|
|
11
11
|
}
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
export declare const vars: {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
/** 내부에 오버레이 요소가 존재하는 경우 이미지 모서리와 오버레이 요소 사이의 간격입니다. 이 값은 기본값이며 변경할 수 있습니다. */
|
|
6
|
+
"padding": "var(--seed-dimension-x1_5)"
|
|
7
|
+
}
|
|
8
|
+
}
|
|
9
|
+
},
|
|
2
10
|
/**
|
|
3
11
|
* 이미지 테두리에 스트로크를 표시합니다.
|
|
4
12
|
*/
|
|
@@ -15,14 +23,7 @@ export declare const vars: {
|
|
|
15
23
|
/**
|
|
16
24
|
* 테두리를 표시하지 않습니다.
|
|
17
25
|
*/
|
|
18
|
-
"strokeFalse": {
|
|
19
|
-
"enabled": {
|
|
20
|
-
"root": {
|
|
21
|
-
/** stroke 옵션 사용 시 적용되는 테두리 두께입니다. */
|
|
22
|
-
"strokeWidth": "0px"
|
|
23
|
-
}
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
+
"strokeFalse": {},
|
|
26
27
|
/**
|
|
27
28
|
* 모서리를 둥글게 처리합니다.
|
|
28
29
|
@deprecated `rounded` 옵션은 @seed-design/react@1.3.0에서 제거될 예정입니다. `borderRadius="r2"`를 사용하세요.
|
|
@@ -32,7 +33,7 @@ Reason: 모서리 스타일은 `borderRadius` prop으로 통일합니다.
|
|
|
32
33
|
"roundedTrue": {
|
|
33
34
|
"enabled": {
|
|
34
35
|
"root": {
|
|
35
|
-
/**
|
|
36
|
+
/** 이 값은 기본값이며 변경할 수 있습니다. */
|
|
36
37
|
"cornerRadius": "var(--seed-radius-r2)"
|
|
37
38
|
}
|
|
38
39
|
}
|
|
@@ -43,12 +44,5 @@ Reason: 모서리 스타일은 `borderRadius` prop으로 통일합니다.
|
|
|
43
44
|
Reason: 모서리 스타일은 `borderRadius` prop으로 통일합니다.
|
|
44
45
|
|
|
45
46
|
*/
|
|
46
|
-
"roundedFalse": {
|
|
47
|
-
"enabled": {
|
|
48
|
-
"root": {
|
|
49
|
-
/** rounded 옵션 사용 시 적용되는 모서리 반경입니다. */
|
|
50
|
-
"cornerRadius": "0px"
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
47
|
+
"roundedFalse": {}
|
|
54
48
|
}
|
|
@@ -1,19 +1,20 @@
|
|
|
1
1
|
export const vars = {
|
|
2
|
-
"
|
|
2
|
+
"base": {
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
|
-
"
|
|
6
|
-
"strokeWidth": "1px"
|
|
5
|
+
"padding": "var(--seed-dimension-x1_5)"
|
|
7
6
|
}
|
|
8
7
|
}
|
|
9
8
|
},
|
|
10
|
-
"
|
|
9
|
+
"strokeTrue": {
|
|
11
10
|
"enabled": {
|
|
12
11
|
"root": {
|
|
13
|
-
"
|
|
12
|
+
"strokeColor": "var(--seed-color-stroke-neutral-subtle)",
|
|
13
|
+
"strokeWidth": "1px"
|
|
14
14
|
}
|
|
15
15
|
}
|
|
16
16
|
},
|
|
17
|
+
"strokeFalse": {},
|
|
17
18
|
"roundedTrue": {
|
|
18
19
|
"enabled": {
|
|
19
20
|
"root": {
|
|
@@ -21,11 +22,5 @@ export const vars = {
|
|
|
21
22
|
}
|
|
22
23
|
}
|
|
23
24
|
},
|
|
24
|
-
"roundedFalse": {
|
|
25
|
-
"enabled": {
|
|
26
|
-
"root": {
|
|
27
|
-
"cornerRadius": "0px"
|
|
28
|
-
}
|
|
29
|
-
}
|
|
30
|
-
}
|
|
25
|
+
"roundedFalse": {}
|
|
31
26
|
}
|
|
@@ -52,6 +52,7 @@ export { vars as radio } from "./radio";
|
|
|
52
52
|
export { vars as radiomark } from "./radiomark";
|
|
53
53
|
export { vars as reactionButton } from "./reaction-button";
|
|
54
54
|
export { vars as scrollFog } from "./scroll-fog";
|
|
55
|
+
export { vars as segmentedControlIndicator } from "./segmented-control-indicator";
|
|
55
56
|
export { vars as segmentedControlItem } from "./segmented-control-item";
|
|
56
57
|
export { vars as segmentedControl } from "./segmented-control";
|
|
57
58
|
export { vars as selectBoxCheckmark } from "./select-box-checkmark";
|
package/vars/component/index.mjs
CHANGED
|
@@ -52,6 +52,7 @@ export { vars as radio } from "./radio.mjs";
|
|
|
52
52
|
export { vars as radiomark } from "./radiomark.mjs";
|
|
53
53
|
export { vars as reactionButton } from "./reaction-button.mjs";
|
|
54
54
|
export { vars as scrollFog } from "./scroll-fog.mjs";
|
|
55
|
+
export { vars as segmentedControlIndicator } from "./segmented-control-indicator.mjs";
|
|
55
56
|
export { vars as segmentedControlItem } from "./segmented-control-item.mjs";
|
|
56
57
|
export { vars as segmentedControl } from "./segmented-control.mjs";
|
|
57
58
|
export { vars as selectBoxCheckmark } from "./select-box-checkmark.mjs";
|
|
@@ -20,7 +20,7 @@ export declare const vars: {
|
|
|
20
20
|
"color": "var(--seed-color-fg-neutral)",
|
|
21
21
|
"fontSize": "var(--seed-font-size-t5)",
|
|
22
22
|
"lineHeight": "var(--seed-line-height-t5)",
|
|
23
|
-
"fontWeight": "var(--seed-font-weight-
|
|
23
|
+
"fontWeight": "var(--seed-font-weight-regular)"
|
|
24
24
|
},
|
|
25
25
|
"detail": {
|
|
26
26
|
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
@@ -20,7 +20,7 @@ export const vars = {
|
|
|
20
20
|
"color": "var(--seed-color-fg-neutral)",
|
|
21
21
|
"fontSize": "var(--seed-font-size-t5)",
|
|
22
22
|
"lineHeight": "var(--seed-line-height-t5)",
|
|
23
|
-
"fontWeight": "var(--seed-font-weight-
|
|
23
|
+
"fontWeight": "var(--seed-font-weight-regular)"
|
|
24
24
|
},
|
|
25
25
|
"detail": {
|
|
26
26
|
"color": "var(--seed-color-fg-neutral-subtle)",
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-palette-gray-00)",
|
|
6
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
7
|
+
"strokeWidth": "1px",
|
|
8
|
+
"cornerRadius": "var(--seed-radius-full)",
|
|
9
|
+
"transformDuration": "var(--seed-duration-d4)",
|
|
10
|
+
"transformTimingFunction": "var(--seed-timing-function-easing)"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"pressed": {
|
|
14
|
+
"root": {
|
|
15
|
+
"color": "var(--seed-color-palette-gray-100)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"disabled": {
|
|
19
|
+
"root": {
|
|
20
|
+
"color": "var(--seed-color-bg-disabled)"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export const vars = {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-palette-gray-00)",
|
|
6
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
7
|
+
"strokeWidth": "1px",
|
|
8
|
+
"cornerRadius": "var(--seed-radius-full)",
|
|
9
|
+
"transformDuration": "var(--seed-duration-d4)",
|
|
10
|
+
"transformTimingFunction": "var(--seed-timing-function-easing)"
|
|
11
|
+
}
|
|
12
|
+
},
|
|
13
|
+
"pressed": {
|
|
14
|
+
"root": {
|
|
15
|
+
"color": "var(--seed-color-palette-gray-100)"
|
|
16
|
+
}
|
|
17
|
+
},
|
|
18
|
+
"disabled": {
|
|
19
|
+
"root": {
|
|
20
|
+
"color": "var(--seed-color-bg-disabled)"
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -22,7 +22,9 @@ export declare const vars: {
|
|
|
22
22
|
},
|
|
23
23
|
"pressed": {
|
|
24
24
|
"root": {
|
|
25
|
-
"color": "var(--seed-color-bg-neutral-weak-pressed)"
|
|
25
|
+
"color": "var(--seed-color-bg-neutral-weak-pressed)",
|
|
26
|
+
"strokeWidth": "1px",
|
|
27
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)"
|
|
26
28
|
}
|
|
27
29
|
},
|
|
28
30
|
"selected": {
|
|
@@ -30,20 +32,10 @@ export declare const vars: {
|
|
|
30
32
|
"color": "var(--seed-color-fg-neutral)"
|
|
31
33
|
}
|
|
32
34
|
},
|
|
33
|
-
"selectedPressed": {
|
|
34
|
-
"root": {
|
|
35
|
-
"color": "var(--seed-color-palette-gray-100)"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
35
|
"disabled": {
|
|
39
36
|
"label": {
|
|
40
37
|
"color": "var(--seed-color-fg-disabled)"
|
|
41
38
|
}
|
|
42
|
-
},
|
|
43
|
-
"disabledSelected": {
|
|
44
|
-
"root": {
|
|
45
|
-
"color": "var(--seed-color-bg-disabled)"
|
|
46
|
-
}
|
|
47
39
|
}
|
|
48
40
|
}
|
|
49
41
|
}
|
|
@@ -22,7 +22,9 @@ export const vars = {
|
|
|
22
22
|
},
|
|
23
23
|
"pressed": {
|
|
24
24
|
"root": {
|
|
25
|
-
"color": "var(--seed-color-bg-neutral-weak-pressed)"
|
|
25
|
+
"color": "var(--seed-color-bg-neutral-weak-pressed)",
|
|
26
|
+
"strokeWidth": "1px",
|
|
27
|
+
"strokeColor": "var(--seed-color-stroke-neutral-muted)"
|
|
26
28
|
}
|
|
27
29
|
},
|
|
28
30
|
"selected": {
|
|
@@ -30,20 +32,10 @@ export const vars = {
|
|
|
30
32
|
"color": "var(--seed-color-fg-neutral)"
|
|
31
33
|
}
|
|
32
34
|
},
|
|
33
|
-
"selectedPressed": {
|
|
34
|
-
"root": {
|
|
35
|
-
"color": "var(--seed-color-palette-gray-100)"
|
|
36
|
-
}
|
|
37
|
-
},
|
|
38
35
|
"disabled": {
|
|
39
36
|
"label": {
|
|
40
37
|
"color": "var(--seed-color-fg-disabled)"
|
|
41
38
|
}
|
|
42
|
-
},
|
|
43
|
-
"disabledSelected": {
|
|
44
|
-
"root": {
|
|
45
|
-
"color": "var(--seed-color-bg-disabled)"
|
|
46
|
-
}
|
|
47
39
|
}
|
|
48
40
|
}
|
|
49
41
|
}
|
|
@@ -5,14 +5,6 @@ export declare const vars: {
|
|
|
5
5
|
"padding": "var(--seed-dimension-x1)",
|
|
6
6
|
"cornerRadius": "var(--seed-radius-full)",
|
|
7
7
|
"color": "var(--seed-color-bg-neutral-weak-alpha)"
|
|
8
|
-
},
|
|
9
|
-
"indicator": {
|
|
10
|
-
"color": "var(--seed-color-palette-gray-00)",
|
|
11
|
-
"cornerRadius": "var(--seed-radius-full)",
|
|
12
|
-
"strokeWidth": "1px",
|
|
13
|
-
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
14
|
-
"transformDuration": "var(--seed-duration-d4)",
|
|
15
|
-
"transformTimingFunction": "var(--seed-timing-function-easing)"
|
|
16
8
|
}
|
|
17
9
|
}
|
|
18
10
|
}
|
|
@@ -5,14 +5,6 @@ export const vars = {
|
|
|
5
5
|
"padding": "var(--seed-dimension-x1)",
|
|
6
6
|
"cornerRadius": "var(--seed-radius-full)",
|
|
7
7
|
"color": "var(--seed-color-bg-neutral-weak-alpha)"
|
|
8
|
-
},
|
|
9
|
-
"indicator": {
|
|
10
|
-
"color": "var(--seed-color-palette-gray-00)",
|
|
11
|
-
"cornerRadius": "var(--seed-radius-full)",
|
|
12
|
-
"strokeWidth": "1px",
|
|
13
|
-
"strokeColor": "var(--seed-color-stroke-neutral-muted)",
|
|
14
|
-
"transformDuration": "var(--seed-duration-d4)",
|
|
15
|
-
"transformTimingFunction": "var(--seed-timing-function-easing)"
|
|
16
8
|
}
|
|
17
9
|
}
|
|
18
10
|
}
|
|
@@ -38,7 +38,9 @@ export declare const vars: {
|
|
|
38
38
|
"exitScale": "1",
|
|
39
39
|
"exitOpacity": "0",
|
|
40
40
|
"exitDuration": "var(--seed-duration-d4)",
|
|
41
|
-
"exitTimingFunction": "var(--seed-timing-function-easing)"
|
|
41
|
+
"exitTimingFunction": "var(--seed-timing-function-easing)",
|
|
42
|
+
"translateDuration": "var(--seed-duration-d3)",
|
|
43
|
+
"translateTimingFunction": "var(--seed-timing-function-easing)"
|
|
42
44
|
},
|
|
43
45
|
"valueIndicatorArrow": {
|
|
44
46
|
"color": "var(--seed-color-bg-neutral-inverted)",
|
|
@@ -36,7 +36,9 @@ export const vars = {
|
|
|
36
36
|
"exitScale": "1",
|
|
37
37
|
"exitOpacity": "0",
|
|
38
38
|
"exitDuration": "var(--seed-duration-d4)",
|
|
39
|
-
"exitTimingFunction": "var(--seed-timing-function-easing)"
|
|
39
|
+
"exitTimingFunction": "var(--seed-timing-function-easing)",
|
|
40
|
+
"translateDuration": "var(--seed-duration-d3)",
|
|
41
|
+
"translateTimingFunction": "var(--seed-timing-function-easing)"
|
|
40
42
|
},
|
|
41
43
|
"valueIndicatorArrow": {
|
|
42
44
|
"color": "var(--seed-color-bg-neutral-inverted)",
|