@seed-design/css 1.2.5 → 1.2.7
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 +172 -12
- package/all.layered.css +172 -12
- package/all.layered.min.css +1 -1
- package/all.min.css +1 -1
- package/package.json +2 -2
- package/recipes/app-bar.css +93 -0
- package/recipes/app-bar.d.ts +1 -1
- package/recipes/app-bar.layered.css +90 -0
- package/recipes/app-bar.layered.mjs +4 -0
- package/recipes/app-bar.mjs +4 -0
- package/recipes/avatar-stack.css +7 -0
- package/recipes/avatar-stack.d.ts +1 -1
- package/recipes/avatar-stack.layered.css +9 -0
- package/recipes/avatar-stack.layered.mjs +1 -0
- package/recipes/avatar-stack.mjs +1 -0
- package/recipes/avatar.css +10 -0
- package/recipes/avatar.d.ts +1 -1
- package/recipes/avatar.layered.css +12 -0
- package/recipes/avatar.layered.mjs +1 -0
- package/recipes/avatar.mjs +1 -0
- package/recipes/content-placeholder.css +24 -0
- package/recipes/content-placeholder.d.ts +24 -0
- package/recipes/content-placeholder.layered.css +27 -0
- package/recipes/content-placeholder.layered.mjs +53 -0
- package/recipes/content-placeholder.mjs +53 -0
- package/recipes/help-bubble.css +1 -0
- package/recipes/help-bubble.layered.css +1 -0
- package/recipes/image-frame-reaction-button.css +23 -8
- package/recipes/image-frame-reaction-button.d.ts +3 -1
- package/recipes/image-frame-reaction-button.layered.css +25 -8
- package/recipes/image-frame-reaction-button.layered.mjs +22 -4
- package/recipes/image-frame-reaction-button.mjs +22 -4
- package/recipes/image-frame.css +13 -11
- package/recipes/image-frame.d.ts +3 -1
- package/recipes/image-frame.layered.css +9 -4
- package/recipes/image-frame.layered.mjs +22 -4
- package/recipes/image-frame.mjs +22 -4
- package/vars/color/bg.d.ts +5 -5
- package/vars/component/avatar-stack.d.ts +10 -0
- package/vars/component/avatar-stack.mjs +10 -0
- package/vars/component/avatar.d.ts +42 -0
- package/vars/component/avatar.mjs +16 -0
- package/vars/component/content-placeholder.d.ts +28 -0
- package/vars/component/content-placeholder.mjs +27 -0
- package/vars/component/index.d.ts +1 -0
- package/vars/component/index.mjs +1 -0
- package/vars/component/text-input.d.ts +1 -0
- package/vars/component/text-input.mjs +1 -0
- package/recipes/tag-group-tag.css +0 -44
- package/recipes/tag-group-tag.d.ts +0 -30
- package/recipes/tag-group-tag.mjs +0 -41
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
@layer seed-components {
|
|
2
|
-
.seed-image-frame-reaction-
|
|
2
|
+
.seed-image-frame-reaction-button__root {
|
|
3
3
|
box-sizing: border-box;
|
|
4
4
|
cursor: pointer;
|
|
5
5
|
width: var(--seed-dimension-x6);
|
|
6
6
|
height: var(--seed-dimension-x6);
|
|
7
|
-
--seed-icon-size: var(--seed-dimension-x6);
|
|
8
|
-
--seed-icon-color: var(--seed-color-palette-static-white);
|
|
9
7
|
background: none;
|
|
10
8
|
border: none;
|
|
11
9
|
justify-content: center;
|
|
@@ -15,7 +13,7 @@
|
|
|
15
13
|
position: relative;
|
|
16
14
|
}
|
|
17
15
|
|
|
18
|
-
.seed-image-frame-reaction-
|
|
16
|
+
.seed-image-frame-reaction-button__root:before {
|
|
19
17
|
content: "";
|
|
20
18
|
top: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
21
19
|
right: calc((var(--seed-dimension-x10) - var(--seed-dimension-x6)) / 2 * -1);
|
|
@@ -27,17 +25,36 @@
|
|
|
27
25
|
position: absolute;
|
|
28
26
|
}
|
|
29
27
|
|
|
30
|
-
.seed-image-frame-reaction-
|
|
28
|
+
.seed-image-frame-reaction-button__root:is(:focus, [data-focus]) {
|
|
31
29
|
outline: none;
|
|
32
30
|
}
|
|
33
31
|
|
|
34
|
-
.seed-image-frame-reaction-
|
|
32
|
+
.seed-image-frame-reaction-button__root:is(:focus-visible, [data-focus-visible]):before {
|
|
35
33
|
border-radius: var(--seed-radius-r1);
|
|
36
34
|
outline: var(--seed-dimension-x0_5) solid var(--seed-color-stroke-focus-ring);
|
|
37
35
|
outline-offset: calc(var(--seed-dimension-x0_5) * -1);
|
|
38
36
|
}
|
|
39
37
|
|
|
40
|
-
.seed-image-frame-reaction-
|
|
41
|
-
|
|
38
|
+
.seed-image-frame-reaction-button__fillIcon {
|
|
39
|
+
width: var(--seed-dimension-x6);
|
|
40
|
+
height: var(--seed-dimension-x6);
|
|
41
|
+
pointer-events: none;
|
|
42
|
+
margin: auto;
|
|
43
|
+
position: absolute;
|
|
44
|
+
inset: 0;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.seed-image-frame-reaction-button__lineIcon {
|
|
48
|
+
width: var(--seed-dimension-x6);
|
|
49
|
+
height: var(--seed-dimension-x6);
|
|
50
|
+
color: var(--seed-color-palette-static-white);
|
|
51
|
+
pointer-events: none;
|
|
52
|
+
margin: auto;
|
|
53
|
+
position: absolute;
|
|
54
|
+
inset: 0;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.seed-image-frame-reaction-button__lineIcon:is([aria-pressed="true"], [data-pressed]) {
|
|
58
|
+
color: var(--seed-color-bg-transparent);
|
|
42
59
|
}
|
|
43
60
|
}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import './image-frame-reaction-button.layered.css';
|
|
2
2
|
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
3
|
|
|
4
|
+
const imageFrameReactionButtonSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame-reaction-button__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"fillIcon",
|
|
11
|
+
"seed-image-frame-reaction-button__fillIcon"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"lineIcon",
|
|
15
|
+
"seed-image-frame-reaction-button__lineIcon"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
4
19
|
const defaultVariant = {};
|
|
5
20
|
|
|
6
21
|
const compoundVariants = [];
|
|
@@ -10,10 +25,13 @@ export const imageFrameReactionButtonVariantMap = {};
|
|
|
10
25
|
export const imageFrameReactionButtonVariantKeys = Object.keys(imageFrameReactionButtonVariantMap);
|
|
11
26
|
|
|
12
27
|
export function imageFrameReactionButton(props) {
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
return Object.fromEntries(
|
|
29
|
+
imageFrameReactionButtonSlotNames.map(([slot, className]) => {
|
|
30
|
+
return [
|
|
31
|
+
slot,
|
|
32
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
33
|
+
];
|
|
34
|
+
}),
|
|
17
35
|
);
|
|
18
36
|
}
|
|
19
37
|
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import './image-frame-reaction-button.css';
|
|
2
2
|
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
3
|
|
|
4
|
+
const imageFrameReactionButtonSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame-reaction-button__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"fillIcon",
|
|
11
|
+
"seed-image-frame-reaction-button__fillIcon"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"lineIcon",
|
|
15
|
+
"seed-image-frame-reaction-button__lineIcon"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
4
19
|
const defaultVariant = {};
|
|
5
20
|
|
|
6
21
|
const compoundVariants = [];
|
|
@@ -10,10 +25,13 @@ export const imageFrameReactionButtonVariantMap = {};
|
|
|
10
25
|
export const imageFrameReactionButtonVariantKeys = Object.keys(imageFrameReactionButtonVariantMap);
|
|
11
26
|
|
|
12
27
|
export function imageFrameReactionButton(props) {
|
|
13
|
-
return
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
28
|
+
return Object.fromEntries(
|
|
29
|
+
imageFrameReactionButtonSlotNames.map(([slot, className]) => {
|
|
30
|
+
return [
|
|
31
|
+
slot,
|
|
32
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
33
|
+
];
|
|
34
|
+
}),
|
|
17
35
|
);
|
|
18
36
|
}
|
|
19
37
|
|
package/recipes/image-frame.css
CHANGED
|
@@ -1,16 +1,20 @@
|
|
|
1
|
-
.seed-image-
|
|
1
|
+
.seed-image-frame__root {
|
|
2
2
|
position: relative;
|
|
3
3
|
overflow: hidden;
|
|
4
|
-
border-radius: inherit
|
|
4
|
+
border-radius: inherit
|
|
5
5
|
}
|
|
6
|
-
.seed-image-
|
|
6
|
+
.seed-image-frame__content {
|
|
7
7
|
display: block;
|
|
8
8
|
width: 100%;
|
|
9
9
|
height: 100%;
|
|
10
10
|
object-fit: cover;
|
|
11
|
-
border-radius: inherit
|
|
11
|
+
border-radius: inherit
|
|
12
12
|
}
|
|
13
|
-
.seed-image-
|
|
13
|
+
.seed-image-frame__fallback {
|
|
14
|
+
width: 100%;
|
|
15
|
+
height: 100%
|
|
16
|
+
}
|
|
17
|
+
.seed-image-frame__root--stroke_true::after {
|
|
14
18
|
content: '';
|
|
15
19
|
position: absolute;
|
|
16
20
|
top: 0;
|
|
@@ -19,10 +23,8 @@
|
|
|
19
23
|
bottom: 0;
|
|
20
24
|
pointer-events: none;
|
|
21
25
|
border-radius: inherit;
|
|
22
|
-
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle)
|
|
23
|
-
}
|
|
24
|
-
.seed-image-frame--stroke_false {}
|
|
25
|
-
.seed-image-frame--rounded_true {
|
|
26
|
-
border-radius: var(--seed-radius-r2);
|
|
26
|
+
box-shadow: inset 0 0 0 1px var(--seed-color-stroke-neutral-subtle)
|
|
27
27
|
}
|
|
28
|
-
.seed-image-
|
|
28
|
+
.seed-image-frame__root--rounded_true {
|
|
29
|
+
border-radius: var(--seed-radius-r2)
|
|
30
|
+
}
|
package/recipes/image-frame.d.ts
CHANGED
|
@@ -15,11 +15,13 @@ declare type ImageFrameVariantMap = {
|
|
|
15
15
|
|
|
16
16
|
export declare type ImageFrameVariantProps = Partial<ImageFrameVariant>;
|
|
17
17
|
|
|
18
|
+
export declare type ImageFrameSlotName = "root" | "content" | "fallback";
|
|
19
|
+
|
|
18
20
|
export declare const imageFrameVariantMap: ImageFrameVariantMap;
|
|
19
21
|
|
|
20
22
|
export declare const imageFrame: ((
|
|
21
23
|
props?: ImageFrameVariantProps,
|
|
22
|
-
) => string) & {
|
|
24
|
+
) => Record<ImageFrameSlotName, string>) & {
|
|
23
25
|
splitVariantProps: <T extends ImageFrameVariantProps>(
|
|
24
26
|
props: T,
|
|
25
27
|
) => [ImageFrameVariantProps, Omit<T, keyof ImageFrameVariantProps>];
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
@layer seed-components {
|
|
2
|
-
.seed-image-
|
|
2
|
+
.seed-image-frame__root {
|
|
3
3
|
border-radius: inherit;
|
|
4
4
|
position: relative;
|
|
5
5
|
overflow: hidden;
|
|
6
6
|
}
|
|
7
7
|
|
|
8
|
-
.seed-image-
|
|
8
|
+
.seed-image-frame__content {
|
|
9
9
|
object-fit: cover;
|
|
10
10
|
border-radius: inherit;
|
|
11
11
|
width: 100%;
|
|
@@ -13,7 +13,12 @@
|
|
|
13
13
|
display: block;
|
|
14
14
|
}
|
|
15
15
|
|
|
16
|
-
.seed-image-
|
|
16
|
+
.seed-image-frame__fallback {
|
|
17
|
+
width: 100%;
|
|
18
|
+
height: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.seed-image-frame__root--stroke_true:after {
|
|
17
22
|
content: "";
|
|
18
23
|
pointer-events: none;
|
|
19
24
|
border-radius: inherit;
|
|
@@ -22,7 +27,7 @@
|
|
|
22
27
|
inset: 0;
|
|
23
28
|
}
|
|
24
29
|
|
|
25
|
-
.seed-image-
|
|
30
|
+
.seed-image-frame__root--rounded_true {
|
|
26
31
|
border-radius: var(--seed-radius-r2);
|
|
27
32
|
}
|
|
28
33
|
}
|
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import './image-frame.layered.css';
|
|
2
2
|
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
3
|
|
|
4
|
+
const imageFrameSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"content",
|
|
11
|
+
"seed-image-frame__content"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"fallback",
|
|
15
|
+
"seed-image-frame__fallback"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
4
19
|
const defaultVariant = {
|
|
5
20
|
"stroke": false,
|
|
6
21
|
"rounded": false
|
|
@@ -22,10 +37,13 @@ export const imageFrameVariantMap = {
|
|
|
22
37
|
export const imageFrameVariantKeys = Object.keys(imageFrameVariantMap);
|
|
23
38
|
|
|
24
39
|
export function imageFrame(props) {
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
40
|
+
return Object.fromEntries(
|
|
41
|
+
imageFrameSlotNames.map(([slot, className]) => {
|
|
42
|
+
return [
|
|
43
|
+
slot,
|
|
44
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
45
|
+
];
|
|
46
|
+
}),
|
|
29
47
|
);
|
|
30
48
|
}
|
|
31
49
|
|
package/recipes/image-frame.mjs
CHANGED
|
@@ -1,6 +1,21 @@
|
|
|
1
1
|
import './image-frame.css';
|
|
2
2
|
import { createClassName, mergeVariants, splitVariantProps } from "./shared.mjs";
|
|
3
3
|
|
|
4
|
+
const imageFrameSlotNames = [
|
|
5
|
+
[
|
|
6
|
+
"root",
|
|
7
|
+
"seed-image-frame__root"
|
|
8
|
+
],
|
|
9
|
+
[
|
|
10
|
+
"content",
|
|
11
|
+
"seed-image-frame__content"
|
|
12
|
+
],
|
|
13
|
+
[
|
|
14
|
+
"fallback",
|
|
15
|
+
"seed-image-frame__fallback"
|
|
16
|
+
]
|
|
17
|
+
];
|
|
18
|
+
|
|
4
19
|
const defaultVariant = {
|
|
5
20
|
"stroke": false,
|
|
6
21
|
"rounded": false
|
|
@@ -22,10 +37,13 @@ export const imageFrameVariantMap = {
|
|
|
22
37
|
export const imageFrameVariantKeys = Object.keys(imageFrameVariantMap);
|
|
23
38
|
|
|
24
39
|
export function imageFrame(props) {
|
|
25
|
-
return
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
40
|
+
return Object.fromEntries(
|
|
41
|
+
imageFrameSlotNames.map(([slot, className]) => {
|
|
42
|
+
return [
|
|
43
|
+
slot,
|
|
44
|
+
createClassName(className, mergeVariants(defaultVariant, props), compoundVariants),
|
|
45
|
+
];
|
|
46
|
+
}),
|
|
29
47
|
);
|
|
30
48
|
}
|
|
31
49
|
|
package/vars/color/bg.d.ts
CHANGED
|
@@ -23,17 +23,17 @@ export declare const informativeSolidPressed = "var(--seed-color-bg-informative-
|
|
|
23
23
|
export declare const informativeWeak = "var(--seed-color-bg-informative-weak)";
|
|
24
24
|
/** 사용자에게 유용한 정보를 제공하거나 상태를 설명할 때 사용됩니다. (weak-pressed) */
|
|
25
25
|
export declare const informativeWeakPressed = "var(--seed-color-bg-informative-weak-pressed)";
|
|
26
|
-
/** 가장 낮은 0단계의 '대지'입니다.
|
|
26
|
+
/** 가장 낮은 0단계의 '대지'입니다. 화면 가장 깊은 곳에 위치하는 전체 배경색입니다. */
|
|
27
27
|
export declare const layerBasement = "var(--seed-color-bg-layer-basement)";
|
|
28
|
-
/** basement 바로 위에 놓이는 기본 표면입니다. 대부분의 스크린
|
|
28
|
+
/** basement 바로 위에 놓이는 기본 표면입니다. 대부분의 스크린 콘텐츠(List, TextField 등)가 이 레이어 위에서 표현됩니다. */
|
|
29
29
|
export declare const layerDefault = "var(--seed-color-bg-layer-default)";
|
|
30
|
-
/** basement 바로 위에 놓이는 기본 표면입니다. 대부분의 스크린
|
|
30
|
+
/** basement 바로 위에 놓이는 기본 표면입니다. 대부분의 스크린 콘텐츠(List, TextField 등)가 이 레이어 위에서 표현됩니다. (pressed) */
|
|
31
31
|
export declare const layerDefaultPressed = "var(--seed-color-bg-layer-default-pressed)";
|
|
32
32
|
/** @deprecated `@seed-design/css@1.3.0`에서 제거될 예정입니다. */
|
|
33
33
|
export declare const layerFill = "var(--seed-color-bg-layer-fill)";
|
|
34
|
-
/**
|
|
34
|
+
/** 화면의 모든 콘텐츠 위를 덮으며(floating) 나타나는 임시 레이어입니다. 사용자의 상호작용을 필요로 하는 모달(Modal)성 요소들이 여기에 속합니다. */
|
|
35
35
|
export declare const layerFloating = "var(--seed-color-bg-layer-floating)";
|
|
36
|
-
/**
|
|
36
|
+
/** 화면의 모든 콘텐츠 위를 덮으며(floating) 나타나는 임시 레이어입니다. 사용자의 상호작용을 필요로 하는 모달(Modal)성 요소들이 여기에 속합니다. (pressed) */
|
|
37
37
|
export declare const layerFloatingPressed = "var(--seed-color-bg-layer-floating-pressed)";
|
|
38
38
|
export declare const magicWeak = "var(--seed-color-bg-magic-weak)";
|
|
39
39
|
/** 일반적인 콘텐츠에 사용되는 기본 색상입니다. (inverted) */
|
|
@@ -7,6 +7,9 @@ export declare const vars: {
|
|
|
7
7
|
}
|
|
8
8
|
}
|
|
9
9
|
},
|
|
10
|
+
/**
|
|
11
|
+
* 대표 사용처: 댓글을 남긴 사용자
|
|
12
|
+
*/
|
|
10
13
|
"size20": {
|
|
11
14
|
"enabled": {
|
|
12
15
|
"root": {
|
|
@@ -15,6 +18,9 @@ export declare const vars: {
|
|
|
15
18
|
}
|
|
16
19
|
}
|
|
17
20
|
},
|
|
21
|
+
/**
|
|
22
|
+
* 대표 사용처: 답글 프로필
|
|
23
|
+
*/
|
|
18
24
|
"size24": {
|
|
19
25
|
"enabled": {
|
|
20
26
|
"root": {
|
|
@@ -33,6 +39,9 @@ export declare const vars: {
|
|
|
33
39
|
}
|
|
34
40
|
}
|
|
35
41
|
},
|
|
42
|
+
/**
|
|
43
|
+
* 대표 사용처: 댓글 프로필
|
|
44
|
+
*/
|
|
36
45
|
"size36": {
|
|
37
46
|
"enabled": {
|
|
38
47
|
"root": {
|
|
@@ -51,6 +60,9 @@ export declare const vars: {
|
|
|
51
60
|
}
|
|
52
61
|
}
|
|
53
62
|
},
|
|
63
|
+
/**
|
|
64
|
+
* 대표 사용처: 게시글 상세 내 프로필
|
|
65
|
+
*/
|
|
54
66
|
"size42": {
|
|
55
67
|
"enabled": {
|
|
56
68
|
"root": {
|
|
@@ -69,6 +81,9 @@ export declare const vars: {
|
|
|
69
81
|
}
|
|
70
82
|
}
|
|
71
83
|
},
|
|
84
|
+
/**
|
|
85
|
+
* 대표 사용처: 작은 리스트
|
|
86
|
+
*/
|
|
72
87
|
"size48": {
|
|
73
88
|
"enabled": {
|
|
74
89
|
"root": {
|
|
@@ -87,6 +102,30 @@ export declare const vars: {
|
|
|
87
102
|
}
|
|
88
103
|
}
|
|
89
104
|
},
|
|
105
|
+
/**
|
|
106
|
+
* 대표 사용처: 큰 리스트
|
|
107
|
+
*/
|
|
108
|
+
"size56": {
|
|
109
|
+
"enabled": {
|
|
110
|
+
"root": {
|
|
111
|
+
"size": "56px",
|
|
112
|
+
"strokeWidth": "1px"
|
|
113
|
+
},
|
|
114
|
+
/** size=20에서는 지원되지 않습니다. */
|
|
115
|
+
"badgeMask": {
|
|
116
|
+
"offset": "34px",
|
|
117
|
+
"size": "24px"
|
|
118
|
+
},
|
|
119
|
+
/** size=20에서는 지원되지 않습니다. */
|
|
120
|
+
"badge": {
|
|
121
|
+
"offset": "36px",
|
|
122
|
+
"size": "20px"
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
/**
|
|
127
|
+
* 대표 사용처: 프로필 상세, 캐러셀
|
|
128
|
+
*/
|
|
90
129
|
"size64": {
|
|
91
130
|
"enabled": {
|
|
92
131
|
"root": {
|
|
@@ -141,6 +180,9 @@ export declare const vars: {
|
|
|
141
180
|
}
|
|
142
181
|
}
|
|
143
182
|
},
|
|
183
|
+
/**
|
|
184
|
+
* 대표 사용처: 프로필 수정
|
|
185
|
+
*/
|
|
144
186
|
"size108": {
|
|
145
187
|
"enabled": {
|
|
146
188
|
"root": {
|
|
@@ -79,6 +79,22 @@ export const vars = {
|
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
81
|
},
|
|
82
|
+
"size56": {
|
|
83
|
+
"enabled": {
|
|
84
|
+
"root": {
|
|
85
|
+
"size": "56px",
|
|
86
|
+
"strokeWidth": "1px"
|
|
87
|
+
},
|
|
88
|
+
"badgeMask": {
|
|
89
|
+
"offset": "34px",
|
|
90
|
+
"size": "24px"
|
|
91
|
+
},
|
|
92
|
+
"badge": {
|
|
93
|
+
"offset": "36px",
|
|
94
|
+
"size": "20px"
|
|
95
|
+
}
|
|
96
|
+
}
|
|
97
|
+
},
|
|
82
98
|
"size64": {
|
|
83
99
|
"enabled": {
|
|
84
100
|
"root": {
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export declare const vars: {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-palette-gray-200)"
|
|
6
|
+
},
|
|
7
|
+
"asset": {
|
|
8
|
+
"minWidth": "var(--seed-dimension-x4)",
|
|
9
|
+
"maxWidth": "64px",
|
|
10
|
+
/** root slot 대한 asset slot의 높이 비율입니다. */
|
|
11
|
+
"heightFraction": "0.5",
|
|
12
|
+
"color": "var(--seed-color-palette-gray-400)"
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
},
|
|
16
|
+
"typeDefault": {},
|
|
17
|
+
"typeBuySell": {},
|
|
18
|
+
"typeCar": {},
|
|
19
|
+
"typeCommerce": {},
|
|
20
|
+
"typeCoupon": {},
|
|
21
|
+
"typeFood": {},
|
|
22
|
+
"typeGroup": {},
|
|
23
|
+
"typeImage": {},
|
|
24
|
+
"typeJobs": {},
|
|
25
|
+
"typeBusiness": {},
|
|
26
|
+
"typePost": {},
|
|
27
|
+
"typeRealty": {}
|
|
28
|
+
}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
export const vars = {
|
|
2
|
+
"base": {
|
|
3
|
+
"enabled": {
|
|
4
|
+
"root": {
|
|
5
|
+
"color": "var(--seed-color-palette-gray-200)"
|
|
6
|
+
},
|
|
7
|
+
"asset": {
|
|
8
|
+
"minWidth": "var(--seed-dimension-x4)",
|
|
9
|
+
"maxWidth": "64px",
|
|
10
|
+
"heightFraction": "0.5",
|
|
11
|
+
"color": "var(--seed-color-palette-gray-400)"
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
},
|
|
15
|
+
"typeDefault": {},
|
|
16
|
+
"typeBuySell": {},
|
|
17
|
+
"typeCar": {},
|
|
18
|
+
"typeCommerce": {},
|
|
19
|
+
"typeCoupon": {},
|
|
20
|
+
"typeFood": {},
|
|
21
|
+
"typeGroup": {},
|
|
22
|
+
"typeImage": {},
|
|
23
|
+
"typeJobs": {},
|
|
24
|
+
"typeBusiness": {},
|
|
25
|
+
"typePost": {},
|
|
26
|
+
"typeRealty": {}
|
|
27
|
+
}
|
|
@@ -16,6 +16,7 @@ export { vars as checkmark } from "./checkmark";
|
|
|
16
16
|
export { vars as chipTab } from "./chip-tab";
|
|
17
17
|
export { vars as chipTablist } from "./chip-tablist";
|
|
18
18
|
export { vars as chip } from "./chip";
|
|
19
|
+
export { vars as contentPlaceholder } from "./content-placeholder";
|
|
19
20
|
export { vars as contextualFloatingButton } from "./contextual-floating-button";
|
|
20
21
|
export { vars as controlChip } from "./control-chip";
|
|
21
22
|
export { vars as dialog } from "./dialog";
|
package/vars/component/index.mjs
CHANGED
|
@@ -16,6 +16,7 @@ export { vars as checkmark } from "./checkmark.mjs";
|
|
|
16
16
|
export { vars as chipTab } from "./chip-tab.mjs";
|
|
17
17
|
export { vars as chipTablist } from "./chip-tablist.mjs";
|
|
18
18
|
export { vars as chip } from "./chip.mjs";
|
|
19
|
+
export { vars as contentPlaceholder } from "./content-placeholder.mjs";
|
|
19
20
|
export { vars as contextualFloatingButton } from "./contextual-floating-button.mjs";
|
|
20
21
|
export { vars as controlChip } from "./control-chip.mjs";
|
|
21
22
|
export { vars as dialog } from "./dialog.mjs";
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
.seed-tag-group-tag {
|
|
2
|
-
display: flex;
|
|
3
|
-
align-items: center;
|
|
4
|
-
gap: var(--seed-dimension-x0_5)
|
|
5
|
-
}
|
|
6
|
-
.seed-tag-group-tag--size_t2 {
|
|
7
|
-
font-size: var(--seed-font-size-t2);
|
|
8
|
-
line-height: var(--seed-line-height-t2);
|
|
9
|
-
--seed-prefix-icon-size: var(--seed-dimension-x3);
|
|
10
|
-
--seed-suffix-icon-size: var(--seed-dimension-x3)
|
|
11
|
-
}
|
|
12
|
-
.seed-tag-group-tag--size_t3 {
|
|
13
|
-
font-size: var(--seed-font-size-t3);
|
|
14
|
-
line-height: var(--seed-line-height-t3);
|
|
15
|
-
--seed-prefix-icon-size: 13px;
|
|
16
|
-
--seed-suffix-icon-size: 13px
|
|
17
|
-
}
|
|
18
|
-
.seed-tag-group-tag--size_t4 {
|
|
19
|
-
font-size: var(--seed-font-size-t4);
|
|
20
|
-
line-height: var(--seed-line-height-t4);
|
|
21
|
-
--seed-prefix-icon-size: var(--seed-dimension-x3_5);
|
|
22
|
-
--seed-suffix-icon-size: var(--seed-dimension-x3_5)
|
|
23
|
-
}
|
|
24
|
-
.seed-tag-group-tag--weight_regular {
|
|
25
|
-
font-weight: var(--seed-font-weight-regular)
|
|
26
|
-
}
|
|
27
|
-
.seed-tag-group-tag--weight_bold {
|
|
28
|
-
font-weight: var(--seed-font-weight-bold)
|
|
29
|
-
}
|
|
30
|
-
.seed-tag-group-tag--tone_neutralSubtle {
|
|
31
|
-
color: var(--seed-color-fg-neutral-subtle);
|
|
32
|
-
--seed-prefix-icon-color: var(--seed-color-fg-neutral-subtle);
|
|
33
|
-
--seed-suffix-icon-color: var(--seed-color-fg-neutral-subtle)
|
|
34
|
-
}
|
|
35
|
-
.seed-tag-group-tag--tone_neutral {
|
|
36
|
-
color: var(--seed-color-fg-neutral);
|
|
37
|
-
--seed-prefix-icon-color: var(--seed-color-fg-neutral);
|
|
38
|
-
--seed-suffix-icon-color: var(--seed-color-fg-neutral)
|
|
39
|
-
}
|
|
40
|
-
.seed-tag-group-tag--tone_brand {
|
|
41
|
-
color: var(--seed-color-fg-brand);
|
|
42
|
-
--seed-prefix-icon-color: var(--seed-color-fg-brand);
|
|
43
|
-
--seed-suffix-icon-color: var(--seed-color-fg-brand)
|
|
44
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
declare interface TagGroupTagVariant {
|
|
2
|
-
/**
|
|
3
|
-
* @default "t2"
|
|
4
|
-
*/
|
|
5
|
-
size: "t2" | "t3" | "t4";
|
|
6
|
-
/**
|
|
7
|
-
* @default "regular"
|
|
8
|
-
*/
|
|
9
|
-
weight: "regular" | "bold";
|
|
10
|
-
/**
|
|
11
|
-
* @default "neutralSubtle"
|
|
12
|
-
*/
|
|
13
|
-
tone: "neutralSubtle" | "neutral" | "brand";
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
declare type TagGroupTagVariantMap = {
|
|
17
|
-
[key in keyof TagGroupTagVariant]: Array<TagGroupTagVariant[key]>;
|
|
18
|
-
};
|
|
19
|
-
|
|
20
|
-
export declare type TagGroupTagVariantProps = Partial<TagGroupTagVariant>;
|
|
21
|
-
|
|
22
|
-
export declare const tagGroupTagVariantMap: TagGroupTagVariantMap;
|
|
23
|
-
|
|
24
|
-
export declare const tagGroupTag: ((
|
|
25
|
-
props?: TagGroupTagVariantProps,
|
|
26
|
-
) => string) & {
|
|
27
|
-
splitVariantProps: <T extends TagGroupTagVariantProps>(
|
|
28
|
-
props: T,
|
|
29
|
-
) => [TagGroupTagVariantProps, Omit<T, keyof TagGroupTagVariantProps>];
|
|
30
|
-
}
|