@seed-design/css 2.5.0 → 2.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/all.css +700 -89
- package/all.layered.css +700 -89
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/base.css +15 -0
- package/base.layered.css +15 -0
- package/base.layered.min.css +1 -1
- package/base.min.css +1 -1
- package/breakpoints/index.mjs +5 -0
- package/package.json +6 -1
- package/recipes/accordion.css +1 -1
- package/recipes/accordion.layered.css +1 -1
- package/recipes/action-button.css +3 -13
- package/recipes/action-button.layered.css +4 -17
- package/recipes/attachment-input-item.css +15 -3
- package/recipes/attachment-input-item.layered.css +24 -8
- package/recipes/attachment-input-trigger.css +6 -1
- package/recipes/attachment-input-trigger.layered.css +10 -3
- package/recipes/bottom-sheet.css +7 -0
- package/recipes/bottom-sheet.layered.css +11 -2
- package/recipes/callout.css +43 -4
- package/recipes/callout.layered.css +57 -6
- package/recipes/checkmark.css +6 -1
- package/recipes/checkmark.layered.css +10 -3
- package/recipes/chip-tabs.css +6 -1
- package/recipes/chip-tabs.layered.css +10 -3
- package/recipes/chip.css +6 -3
- package/recipes/chip.layered.css +10 -5
- package/recipes/content-dialog.css +4 -1
- package/recipes/content-dialog.layered.css +5 -1
- package/recipes/contextual-floating-button.css +6 -1
- package/recipes/contextual-floating-button.layered.css +8 -1
- package/recipes/floating-action-button.css +6 -1
- package/recipes/floating-action-button.layered.css +8 -1
- package/recipes/help-bubble.css +8 -2
- package/recipes/help-bubble.layered.css +12 -4
- package/recipes/image-frame-reaction-button.css +6 -0
- package/recipes/image-frame-reaction-button.layered.css +8 -0
- package/recipes/input-button.css +6 -1
- package/recipes/input-button.layered.css +10 -3
- package/recipes/list-item.css +6 -0
- package/recipes/list-item.layered.css +6 -0
- package/recipes/menu-sheet.css +7 -1
- package/recipes/menu-sheet.layered.css +9 -1
- package/recipes/menu.css +1 -1
- package/recipes/menu.layered.css +1 -1
- package/recipes/page-banner.css +58 -4
- package/recipes/page-banner.layered.css +79 -8
- package/recipes/pagination-button.css +68 -0
- package/recipes/pagination-button.d.ts +19 -0
- package/recipes/pagination-button.layered.css +80 -0
- package/recipes/pagination-button.layered.mjs +22 -0
- package/recipes/pagination-button.mjs +22 -0
- package/recipes/pagination-page-item.css +99 -0
- package/recipes/pagination-page-item.d.ts +19 -0
- package/recipes/pagination-page-item.layered.css +118 -0
- package/recipes/pagination-page-item.layered.mjs +22 -0
- package/recipes/pagination-page-item.mjs +22 -0
- package/recipes/pull-to-refresh.css +1 -1
- package/recipes/pull-to-refresh.layered.css +1 -1
- package/recipes/quantity-picker.css +8 -2
- package/recipes/quantity-picker.layered.css +10 -2
- package/recipes/radiomark.css +6 -1
- package/recipes/radiomark.layered.css +10 -3
- package/recipes/reaction-button.css +4 -1
- package/recipes/reaction-button.layered.css +5 -1
- package/recipes/select-box.css +3 -3
- package/recipes/select-box.layered.css +3 -3
- package/recipes/select.css +1 -1
- package/recipes/select.layered.css +1 -1
- package/recipes/side-panel.css +6 -1
- package/recipes/side-panel.layered.css +12 -5
- package/recipes/snackbar.css +7 -1
- package/recipes/snackbar.layered.css +9 -1
- package/recipes/switchmark.css +4 -1
- package/recipes/switchmark.layered.css +5 -1
- package/recipes/tabs.css +4 -1
- package/recipes/tabs.layered.css +5 -1
- package/recipes/toggle-button.css +4 -1
- package/recipes/toggle-button.layered.css +5 -1
- package/recipes/wheel-picker-public.css +121 -0
- package/recipes/wheel-picker-public.d.ts +24 -0
- package/recipes/wheel-picker-public.layered.css +140 -0
- package/recipes/wheel-picker-public.layered.mjs +63 -0
- package/recipes/wheel-picker-public.mjs +63 -0
- package/recipes/wheel-picker.css +1 -1
- package/recipes/wheel-picker.layered.css +1 -1
- package/scale-feedback/index.d.ts +3 -0
- package/scale-feedback/index.mjs +33 -0
- package/vars/color/stroke.d.ts +3 -3
- package/vars/component/accordion-item.d.ts +1 -1
- package/vars/component/accordion-item.mjs +1 -1
- package/vars/component/action-button.d.ts +1 -23
- package/vars/component/action-button.mjs +1 -23
- package/vars/component/bottom-sheet.d.ts +1 -1
- package/vars/component/bottom-sheet.mjs +1 -1
- package/vars/component/callout-close-button.d.ts +81 -0
- package/vars/component/callout-close-button.mjs +63 -0
- package/vars/component/callout.d.ts +1 -2
- package/vars/component/callout.mjs +1 -2
- package/vars/component/checkbox.d.ts +3 -0
- package/vars/component/help-bubble.d.ts +4 -1
- package/vars/component/help-bubble.mjs +3 -1
- package/vars/component/index.d.ts +6 -1
- package/vars/component/index.mjs +6 -1
- package/vars/component/list-item.d.ts +2 -6
- package/vars/component/list-item.mjs +2 -5
- package/vars/component/page-banner-close-button.d.ts +133 -0
- package/vars/component/page-banner-close-button.mjs +99 -0
- package/vars/component/page-banner.d.ts +0 -1
- package/vars/component/page-banner.mjs +0 -1
- package/vars/component/pagination-button.d.ts +33 -0
- package/vars/component/pagination-button.mjs +33 -0
- package/vars/component/pagination-page-item.d.ts +54 -0
- package/vars/component/pagination-page-item.mjs +54 -0
- package/vars/component/radio.d.ts +3 -0
- package/vars/component/select-box.d.ts +2 -2
- package/vars/component/select-box.mjs +2 -2
- package/vars/component/snackbar.d.ts +1 -1
- package/vars/component/snackbar.mjs +1 -1
- package/vars/component/switch.d.ts +3 -0
- package/vars/component/switchmark.d.ts +2 -0
- package/vars/component/wheel-picker.d.ts +72 -0
- package/vars/component/wheel-picker.mjs +72 -0
|
@@ -0,0 +1,140 @@
|
|
|
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
|
+
transition: outline-color var(--seed-duration-d3) var(--seed-timing-function-easing);
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.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]) {
|
|
71
|
+
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
72
|
+
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
.seed-wheel-picker-public__item {
|
|
76
|
+
height: var(--seed-wheel-picker-public-item-size);
|
|
77
|
+
min-height: var(--seed-wheel-picker-public-item-size);
|
|
78
|
+
color: var(--seed-wheel-picker-public-item-color);
|
|
79
|
+
scroll-snap-align: center;
|
|
80
|
+
-webkit-user-select: none;
|
|
81
|
+
user-select: none;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
align-items: center;
|
|
84
|
+
display: flex;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
.seed-wheel-picker-public__item[data-wheel-picker-indicator-overlap] {
|
|
88
|
+
color: #0000;
|
|
89
|
+
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%);
|
|
90
|
+
-webkit-text-fill-color: transparent;
|
|
91
|
+
-webkit-background-clip: text;
|
|
92
|
+
background-clip: text;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.seed-wheel-picker-public__itemLabel {
|
|
96
|
+
box-sizing: border-box;
|
|
97
|
+
height: 100%;
|
|
98
|
+
padding-inline: var(--seed-dimension-x4);
|
|
99
|
+
font-weight: var(--seed-font-weight-medium);
|
|
100
|
+
white-space: nowrap;
|
|
101
|
+
flex-shrink: 0;
|
|
102
|
+
justify-content: center;
|
|
103
|
+
align-items: center;
|
|
104
|
+
display: flex;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.seed-wheel-picker-public__selectionIndicator {
|
|
108
|
+
z-index: 0;
|
|
109
|
+
inset-inline: var(--seed-dimension-x4);
|
|
110
|
+
height: var(--seed-wheel-picker-public-item-size);
|
|
111
|
+
border-radius: var(--seed-radius-r2);
|
|
112
|
+
background-color: var(--seed-color-bg-neutral-weak);
|
|
113
|
+
pointer-events: none;
|
|
114
|
+
position: absolute;
|
|
115
|
+
top: 50%;
|
|
116
|
+
transform: translateY(-50%);
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
.seed-wheel-picker-public__root--size_small {
|
|
120
|
+
height: var(--seed-wheel-picker-public-viewport-size, 180px);
|
|
121
|
+
--seed-wheel-picker-public-item-size: 36px;
|
|
122
|
+
--seed-wheel-picker-public-scroll-fog-max-height: 108px;
|
|
123
|
+
}
|
|
124
|
+
|
|
125
|
+
.seed-wheel-picker-public__itemLabel--size_small {
|
|
126
|
+
font-size: var(--seed-font-size-t7-static);
|
|
127
|
+
line-height: var(--seed-line-height-t7-static);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.seed-wheel-picker-public__root--size_medium {
|
|
131
|
+
height: var(--seed-wheel-picker-public-viewport-size, 220px);
|
|
132
|
+
--seed-wheel-picker-public-item-size: 44px;
|
|
133
|
+
--seed-wheel-picker-public-scroll-fog-max-height: 132px;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.seed-wheel-picker-public__itemLabel--size_medium {
|
|
137
|
+
font-size: var(--seed-font-size-t10-static);
|
|
138
|
+
line-height: var(--seed-line-height-t10-static);
|
|
139
|
+
}
|
|
140
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
|
@@ -0,0 +1,63 @@
|
|
|
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
|
package/recipes/wheel-picker.css
CHANGED
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
// Scale feedback's public surface for styles this package does not author: the
|
|
2
|
+
// class that opts an element in, and the two values its rules consume.
|
|
3
|
+
//
|
|
4
|
+
// Unlike `@seed-design/css/vars/component/*`, these names are stable API — a
|
|
5
|
+
// consumer's own CSS is expected to reference them.
|
|
6
|
+
/**
|
|
7
|
+
* Duplicated in packages/qvism-preset/src/utils/scale-feedback.ts, which emits
|
|
8
|
+
* the matching rule and cannot import from here (css is generated from it).
|
|
9
|
+
* Edit both together — nothing checks, and drift silently leaves the derivation
|
|
10
|
+
* unapplied.
|
|
11
|
+
*/
|
|
12
|
+
export const SCALE_FEEDBACK_CLASS_NAME = "seed-scale-feedback";
|
|
13
|
+
|
|
14
|
+
/**
|
|
15
|
+
* The ratio an element shrinks to while pressed.
|
|
16
|
+
*
|
|
17
|
+
* base.css declares it on `:root` and again on every element carrying
|
|
18
|
+
* `SCALE_FEEDBACK_CLASS_NAME`, so it is defined everywhere in the document and
|
|
19
|
+
* resolves to 1 wherever no measurement exists yet — before the first
|
|
20
|
+
* ResizeObserver callback, under SSR, or with no JS at all. Reading it needs no
|
|
21
|
+
* fallback of its own.
|
|
22
|
+
*/
|
|
23
|
+
export const feedbackScale = "var(--seed-feedback-scale)";
|
|
24
|
+
|
|
25
|
+
/**
|
|
26
|
+
* The `transition` list entry that animates the scale, carrying the
|
|
27
|
+
* `$duration.pressed-scale` and `$timing-function.pressed-scale` tokens.
|
|
28
|
+
*
|
|
29
|
+
* `transition` is a shorthand, so a rule that animates anything else replaces
|
|
30
|
+
* it whole — splice this into your own list rather than choosing between it and
|
|
31
|
+
* your own transitions.
|
|
32
|
+
*/
|
|
33
|
+
export const feedbackScaleTransition = "var(--seed-feedback-scale-transition)";
|
package/vars/color/stroke.d.ts
CHANGED
|
@@ -13,13 +13,13 @@ export declare const informativeSolid = "var(--seed-color-stroke-informative-sol
|
|
|
13
13
|
export declare const informativeWeak = "var(--seed-color-stroke-informative-weak)";
|
|
14
14
|
/** 일반적인 콘텐츠에 사용되는 기본 색상입니다. (contrast) */
|
|
15
15
|
export declare const neutralContrast = "var(--seed-color-stroke-neutral-contrast)";
|
|
16
|
-
/**
|
|
16
|
+
/** 의미 단위가 바뀌는 경계를 나누는 선입니다. 섹션과 섹션 사이, 콘텐츠와 액션 영역 사이, 헤더와 본문 경계처럼 한 화면에 한두 번만 등장하는 구분에 사용됩니다. (muted) */
|
|
17
17
|
export declare const neutralMuted = "var(--seed-color-stroke-neutral-muted)";
|
|
18
18
|
/** 일반적인 콘텐츠에 사용되는 기본 색상입니다. (solid) */
|
|
19
19
|
export declare const neutralSolid = "var(--seed-color-stroke-neutral-solid)";
|
|
20
|
-
/**
|
|
20
|
+
/** 반복되는 동일한 성격의 항목 사이를 나누는 선입니다. 리스트 아이템, 테이블 row, 설정 메뉴 항목처럼 한 화면에 여러 번 등장하는 구분에 사용됩니다. (subtle) */
|
|
21
21
|
export declare const neutralSubtle = "var(--seed-color-stroke-neutral-subtle)";
|
|
22
|
-
/**
|
|
22
|
+
/** 요소의 외곽을 그려 형태를 만드는 선입니다. 카드, 인풋 필드, 아웃라인 버튼처럼 선 자체가 요소의 경계를 정의할 때 사용됩니다. (weak) */
|
|
23
23
|
export declare const neutralWeak = "var(--seed-color-stroke-neutral-weak)";
|
|
24
24
|
/** 성공적인 작업, 확인, 또는 긍정적인 상태를 나타내는 데 사용됩니다. (solid) */
|
|
25
25
|
export declare const positiveSolid = "var(--seed-color-stroke-positive-solid)";
|
|
@@ -123,7 +123,7 @@ export declare const vars: {
|
|
|
123
123
|
"variantSeparated": {
|
|
124
124
|
"enabled": {
|
|
125
125
|
"root": {
|
|
126
|
-
"strokeColor": "var(--seed-color-stroke-neutral-
|
|
126
|
+
"strokeColor": "var(--seed-color-stroke-neutral-weak)",
|
|
127
127
|
"strokeWidth": "1px",
|
|
128
128
|
"cornerRadius": "var(--seed-radius-r3)"
|
|
129
129
|
}
|
|
@@ -117,7 +117,7 @@ export const vars = {
|
|
|
117
117
|
"variantSeparated": {
|
|
118
118
|
"enabled": {
|
|
119
119
|
"root": {
|
|
120
|
-
"strokeColor": "var(--seed-color-stroke-neutral-
|
|
120
|
+
"strokeColor": "var(--seed-color-stroke-neutral-weak)",
|
|
121
121
|
"strokeWidth": "1px",
|
|
122
122
|
"cornerRadius": "var(--seed-radius-r3)"
|
|
123
123
|
}
|
|
@@ -3,9 +3,7 @@ export declare const vars: {
|
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"colorDuration": "var(--seed-duration-color-transition)",
|
|
6
|
-
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
7
|
-
"scaleDuration": "var(--seed-duration-pressed-scale)",
|
|
8
|
-
"scaleTimingFunction": "var(--seed-timing-function-pressed-scale)"
|
|
6
|
+
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
9
7
|
},
|
|
10
8
|
"label": {
|
|
11
9
|
"fontWeight": "var(--seed-font-weight-bold)"
|
|
@@ -444,11 +442,6 @@ export declare const vars: {
|
|
|
444
442
|
"size": "14px",
|
|
445
443
|
"thickness": "2px"
|
|
446
444
|
}
|
|
447
|
-
},
|
|
448
|
-
"pressed": {
|
|
449
|
-
"root": {
|
|
450
|
-
"scale": "var(--seed-scale-s95)"
|
|
451
|
-
}
|
|
452
445
|
}
|
|
453
446
|
},
|
|
454
447
|
/**
|
|
@@ -506,11 +499,6 @@ export declare const vars: {
|
|
|
506
499
|
"size": "14px",
|
|
507
500
|
"thickness": "2px"
|
|
508
501
|
}
|
|
509
|
-
},
|
|
510
|
-
"pressed": {
|
|
511
|
-
"root": {
|
|
512
|
-
"scale": "var(--seed-scale-s97)"
|
|
513
|
-
}
|
|
514
502
|
}
|
|
515
503
|
},
|
|
516
504
|
/**
|
|
@@ -568,11 +556,6 @@ export declare const vars: {
|
|
|
568
556
|
"size": "16px",
|
|
569
557
|
"thickness": "2px"
|
|
570
558
|
}
|
|
571
|
-
},
|
|
572
|
-
"pressed": {
|
|
573
|
-
"root": {
|
|
574
|
-
"scale": "var(--seed-scale-s97)"
|
|
575
|
-
}
|
|
576
559
|
}
|
|
577
560
|
},
|
|
578
561
|
/**
|
|
@@ -630,11 +613,6 @@ export declare const vars: {
|
|
|
630
613
|
"size": "18px",
|
|
631
614
|
"thickness": "2px"
|
|
632
615
|
}
|
|
633
|
-
},
|
|
634
|
-
"pressed": {
|
|
635
|
-
"root": {
|
|
636
|
-
"scale": "var(--seed-scale-s98)"
|
|
637
|
-
}
|
|
638
616
|
}
|
|
639
617
|
},
|
|
640
618
|
/**
|
|
@@ -3,9 +3,7 @@ export const vars = {
|
|
|
3
3
|
"enabled": {
|
|
4
4
|
"root": {
|
|
5
5
|
"colorDuration": "var(--seed-duration-color-transition)",
|
|
6
|
-
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
7
|
-
"scaleDuration": "var(--seed-duration-pressed-scale)",
|
|
8
|
-
"scaleTimingFunction": "var(--seed-timing-function-pressed-scale)"
|
|
6
|
+
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
9
7
|
},
|
|
10
8
|
"label": {
|
|
11
9
|
"fontWeight": "var(--seed-font-weight-bold)"
|
|
@@ -378,11 +376,6 @@ export const vars = {
|
|
|
378
376
|
"size": "14px",
|
|
379
377
|
"thickness": "2px"
|
|
380
378
|
}
|
|
381
|
-
},
|
|
382
|
-
"pressed": {
|
|
383
|
-
"root": {
|
|
384
|
-
"scale": "var(--seed-scale-s95)"
|
|
385
|
-
}
|
|
386
379
|
}
|
|
387
380
|
},
|
|
388
381
|
"sizeXsmallLayoutWithText": {
|
|
@@ -426,11 +419,6 @@ export const vars = {
|
|
|
426
419
|
"size": "14px",
|
|
427
420
|
"thickness": "2px"
|
|
428
421
|
}
|
|
429
|
-
},
|
|
430
|
-
"pressed": {
|
|
431
|
-
"root": {
|
|
432
|
-
"scale": "var(--seed-scale-s97)"
|
|
433
|
-
}
|
|
434
422
|
}
|
|
435
423
|
},
|
|
436
424
|
"sizeSmallLayoutWithText": {
|
|
@@ -474,11 +462,6 @@ export const vars = {
|
|
|
474
462
|
"size": "16px",
|
|
475
463
|
"thickness": "2px"
|
|
476
464
|
}
|
|
477
|
-
},
|
|
478
|
-
"pressed": {
|
|
479
|
-
"root": {
|
|
480
|
-
"scale": "var(--seed-scale-s97)"
|
|
481
|
-
}
|
|
482
465
|
}
|
|
483
466
|
},
|
|
484
467
|
"sizeMediumLayoutWithText": {
|
|
@@ -522,11 +505,6 @@ export const vars = {
|
|
|
522
505
|
"size": "18px",
|
|
523
506
|
"thickness": "2px"
|
|
524
507
|
}
|
|
525
|
-
},
|
|
526
|
-
"pressed": {
|
|
527
|
-
"root": {
|
|
528
|
-
"scale": "var(--seed-scale-s98)"
|
|
529
|
-
}
|
|
530
508
|
}
|
|
531
509
|
},
|
|
532
510
|
"sizeLargeLayoutWithText": {
|
|
@@ -12,7 +12,7 @@ export declare const vars: {
|
|
|
12
12
|
},
|
|
13
13
|
"content": {
|
|
14
14
|
"color": "var(--seed-color-bg-layer-floating)",
|
|
15
|
-
"maxWidth": "
|
|
15
|
+
"maxWidth": "480px",
|
|
16
16
|
"topCornerRadius": "var(--seed-radius-r6)",
|
|
17
17
|
"enterDuration": "var(--seed-duration-d6)",
|
|
18
18
|
"enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
|
|
@@ -12,7 +12,7 @@ export const vars = {
|
|
|
12
12
|
},
|
|
13
13
|
"content": {
|
|
14
14
|
"color": "var(--seed-color-bg-layer-floating)",
|
|
15
|
-
"maxWidth": "
|
|
15
|
+
"maxWidth": "480px",
|
|
16
16
|
"topCornerRadius": "var(--seed-radius-r6)",
|
|
17
17
|
"enterDuration": "var(--seed-duration-d6)",
|
|
18
18
|
"enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
|
|
@@ -0,0 +1,81 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-bg-transparent)",
|
|
6
|
+
"cornerRadius": "var(--seed-radius-r2)",
|
|
7
|
+
"size": "var(--seed-dimension-x10)",
|
|
8
|
+
"colorDuration": "var(--seed-duration-color-transition)",
|
|
9
|
+
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
10
|
+
},
|
|
11
|
+
"icon": {
|
|
12
|
+
"size": "var(--seed-dimension-x4)"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"pressed": {
|
|
16
|
+
"root": {
|
|
17
|
+
"color": "var(--seed-color-bg-transparent-pressed)"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
/**
|
|
22
|
+
* 일반적인 정보를 전달합니다.
|
|
23
|
+
*/
|
|
24
|
+
"toneNeutral": {
|
|
25
|
+
"enabled": {
|
|
26
|
+
"icon": {
|
|
27
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
/**
|
|
32
|
+
* 유용한 정보를 제공합니다.
|
|
33
|
+
*/
|
|
34
|
+
"toneInformative": {
|
|
35
|
+
"enabled": {
|
|
36
|
+
"icon": {
|
|
37
|
+
"color": "var(--seed-color-fg-informative-contrast)"
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
},
|
|
41
|
+
/**
|
|
42
|
+
* 긍정적인 상태를 나타냅니다.
|
|
43
|
+
*/
|
|
44
|
+
"tonePositive": {
|
|
45
|
+
"enabled": {
|
|
46
|
+
"icon": {
|
|
47
|
+
"color": "var(--seed-color-fg-positive-contrast)"
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
/**
|
|
52
|
+
* 주의가 필요한 상태를 나타냅니다.
|
|
53
|
+
*/
|
|
54
|
+
"toneWarning": {
|
|
55
|
+
"enabled": {
|
|
56
|
+
"icon": {
|
|
57
|
+
"color": "var(--seed-color-fg-warning-contrast)"
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
/**
|
|
62
|
+
* 중요한 문제를 나타냅니다.
|
|
63
|
+
*/
|
|
64
|
+
"toneCritical": {
|
|
65
|
+
"enabled": {
|
|
66
|
+
"icon": {
|
|
67
|
+
"color": "var(--seed-color-fg-critical-contrast)"
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
},
|
|
71
|
+
/**
|
|
72
|
+
* AI 기능을 나타냅니다.
|
|
73
|
+
*/
|
|
74
|
+
"toneMagic": {
|
|
75
|
+
"enabled": {
|
|
76
|
+
"icon": {
|
|
77
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
78
|
+
}
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
}
|
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
export const vars = {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-bg-transparent)",
|
|
6
|
+
"cornerRadius": "var(--seed-radius-r2)",
|
|
7
|
+
"size": "var(--seed-dimension-x10)",
|
|
8
|
+
"colorDuration": "var(--seed-duration-color-transition)",
|
|
9
|
+
"colorTimingFunction": "var(--seed-timing-function-easing)"
|
|
10
|
+
},
|
|
11
|
+
"icon": {
|
|
12
|
+
"size": "var(--seed-dimension-x4)"
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"pressed": {
|
|
16
|
+
"root": {
|
|
17
|
+
"color": "var(--seed-color-bg-transparent-pressed)"
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"toneNeutral": {
|
|
22
|
+
"enabled": {
|
|
23
|
+
"icon": {
|
|
24
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
},
|
|
28
|
+
"toneInformative": {
|
|
29
|
+
"enabled": {
|
|
30
|
+
"icon": {
|
|
31
|
+
"color": "var(--seed-color-fg-informative-contrast)"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
"tonePositive": {
|
|
36
|
+
"enabled": {
|
|
37
|
+
"icon": {
|
|
38
|
+
"color": "var(--seed-color-fg-positive-contrast)"
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
"toneWarning": {
|
|
43
|
+
"enabled": {
|
|
44
|
+
"icon": {
|
|
45
|
+
"color": "var(--seed-color-fg-warning-contrast)"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
},
|
|
49
|
+
"toneCritical": {
|
|
50
|
+
"enabled": {
|
|
51
|
+
"icon": {
|
|
52
|
+
"color": "var(--seed-color-fg-critical-contrast)"
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
"toneMagic": {
|
|
57
|
+
"enabled": {
|
|
58
|
+
"icon": {
|
|
59
|
+
"color": "var(--seed-color-fg-neutral)"
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|