@seed-design/lynx-css 0.14.1 → 1.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/all.css +936 -275
- package/all.min.css +1 -1
- package/base.css +10 -0
- package/base.min.css +1 -1
- package/package.json +2 -2
- package/recipes/alert-dialog.css +11 -0
- package/recipes/alert-dialog.d.ts +1 -1
- package/recipes/alert-dialog.mjs +8 -0
- package/recipes/app-bar.css +7 -3
- package/recipes/attachment-input-item.css +7 -0
- package/recipes/attachment-input.css +2 -1
- package/recipes/avatar-stack.css +69 -0
- package/recipes/avatar-stack.d.ts +24 -0
- package/recipes/avatar-stack.mjs +55 -0
- package/recipes/avatar.css +257 -0
- package/recipes/avatar.d.ts +28 -0
- package/recipes/avatar.mjs +82 -0
- package/recipes/badge.css +1 -9
- package/recipes/badge.d.ts +0 -4
- package/recipes/badge.mjs +1 -14
- package/recipes/bottom-sheet.css +33 -2
- package/recipes/bottom-sheet.d.ts +5 -1
- package/recipes/bottom-sheet.mjs +28 -2
- package/recipes/callout.css +1 -8
- package/recipes/checkbox.css +7 -1
- package/recipes/checkmark.css +17 -26
- package/recipes/checkmark.d.ts +1 -5
- package/recipes/checkmark.mjs +7 -60
- package/recipes/content-placeholder.css +29 -0
- package/recipes/content-placeholder.d.ts +21 -0
- package/recipes/content-placeholder.mjs +44 -0
- package/recipes/dialog.css +4 -2
- package/recipes/{input-button.css → field-button.css} +49 -49
- package/recipes/field-button.d.ts +40 -0
- package/recipes/{input-button.mjs → field-button.mjs} +20 -20
- package/recipes/floating-action-button.css +15 -8
- package/recipes/image-frame-icon.css +8 -0
- package/recipes/image-frame-icon.d.ts +19 -0
- package/recipes/image-frame-icon.mjs +22 -0
- package/recipes/image-frame-indicator.css +17 -0
- package/recipes/image-frame-indicator.d.ts +21 -0
- package/recipes/image-frame-indicator.mjs +36 -0
- package/recipes/image-frame-reaction-button.css +20 -0
- package/recipes/image-frame-reaction-button.d.ts +21 -0
- package/recipes/image-frame-reaction-button.mjs +40 -0
- package/recipes/image-frame.css +87 -0
- package/recipes/image-frame.d.ts +32 -0
- package/recipes/image-frame.mjs +72 -0
- package/recipes/list-item.css +0 -4
- package/recipes/list-item.d.ts +1 -1
- package/recipes/list-item.mjs +0 -4
- package/recipes/menu-sheet-item.css +5 -1
- package/recipes/menu-sheet.css +5 -0
- package/recipes/menu-sheet.d.ts +1 -1
- package/recipes/menu-sheet.mjs +4 -0
- package/recipes/menu.css +1 -13
- package/recipes/menu.d.ts +1 -1
- package/recipes/menu.mjs +0 -4
- package/recipes/page-banner.css +4 -4
- package/recipes/progress-circle.css +38 -4
- package/recipes/progress-circle.d.ts +1 -1
- package/recipes/progress-circle.mjs +1 -0
- package/recipes/pull-to-refresh.css +14 -0
- package/recipes/pull-to-refresh.d.ts +21 -0
- package/recipes/pull-to-refresh.mjs +40 -0
- package/recipes/reaction-button.css +0 -6
- package/recipes/reaction-button.d.ts +0 -4
- package/recipes/reaction-button.mjs +0 -11
- package/recipes/scroll-fog.css +4 -17
- package/recipes/scroll-fog.d.ts +1 -1
- package/recipes/scroll-fog.mjs +0 -8
- package/recipes/segmented-control.css +24 -14
- package/recipes/segmented-control.d.ts +4 -4
- package/recipes/segmented-control.mjs +8 -8
- package/recipes/select-box-checkmark.css +4 -7
- package/recipes/select-box.css +10 -4
- package/recipes/select-item.css +13 -2
- package/recipes/select-item.d.ts +1 -1
- package/recipes/select-item.mjs +4 -0
- package/recipes/select-trigger.css +13 -2
- package/recipes/select-trigger.d.ts +1 -1
- package/recipes/select-trigger.mjs +4 -0
- package/recipes/select.css +1 -13
- package/recipes/select.d.ts +1 -1
- package/recipes/select.mjs +0 -4
- package/recipes/slider-marker.css +2 -2
- package/recipes/slider-tick.css +1 -1
- package/recipes/slider.css +2 -5
- package/recipes/tabs.css +11 -11
- package/recipes/wheel-picker.css +151 -0
- package/recipes/wheel-picker.d.ts +32 -0
- package/recipes/wheel-picker.mjs +90 -0
- package/vars/component/alert-dialog.d.ts +2 -0
- package/vars/component/bottom-sheet.d.ts +3 -0
- package/vars/component/bottom-sheet.mjs +1 -0
- package/vars/component/dialog.d.ts +6 -2
- package/vars/component/help-bubble.d.ts +2 -1
- package/vars/component/menu-sheet.d.ts +5 -0
- package/vars/component/menu-sheet.mjs +1 -0
- package/vars/component/menu.d.ts +2 -1
- package/vars/component/page-banner-close-button.d.ts +4 -4
- package/vars/component/page-banner-close-button.mjs +4 -4
- package/vars/component/popover.d.ts +4 -4
- package/vars/component/select.d.ts +2 -1
- package/vars/component/side-panel.d.ts +10 -7
- package/vars/component/snackbar.d.ts +1 -0
- package/recipes/input-button.d.ts +0 -40
|
@@ -43,7 +43,7 @@ export const vars = {
|
|
|
43
43
|
"tonePositiveVariantSolid": {
|
|
44
44
|
"enabled": {
|
|
45
45
|
"icon": {
|
|
46
|
-
"color": "var(--seed-color-
|
|
46
|
+
"color": "var(--seed-color-fg-on-positive-solid)"
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
49
|
},
|
|
@@ -57,7 +57,7 @@ export const vars = {
|
|
|
57
57
|
"toneInformativeVariantSolid": {
|
|
58
58
|
"enabled": {
|
|
59
59
|
"icon": {
|
|
60
|
-
"color": "var(--seed-color-
|
|
60
|
+
"color": "var(--seed-color-fg-on-informative-solid)"
|
|
61
61
|
}
|
|
62
62
|
}
|
|
63
63
|
},
|
|
@@ -71,7 +71,7 @@ export const vars = {
|
|
|
71
71
|
"toneWarningVariantSolid": {
|
|
72
72
|
"enabled": {
|
|
73
73
|
"icon": {
|
|
74
|
-
"color": "var(--seed-color-
|
|
74
|
+
"color": "var(--seed-color-fg-on-warning-solid)"
|
|
75
75
|
}
|
|
76
76
|
}
|
|
77
77
|
},
|
|
@@ -85,7 +85,7 @@ export const vars = {
|
|
|
85
85
|
"toneCriticalVariantSolid": {
|
|
86
86
|
"enabled": {
|
|
87
87
|
"icon": {
|
|
88
|
-
"color": "var(--seed-color-
|
|
88
|
+
"color": "var(--seed-color-fg-on-critical-solid)"
|
|
89
89
|
}
|
|
90
90
|
}
|
|
91
91
|
},
|
|
@@ -5,15 +5,15 @@ export declare const vars: {
|
|
|
5
5
|
"color": "var(--seed-color-bg-layer-floating)",
|
|
6
6
|
"cornerRadius": "var(--seed-radius-r5)",
|
|
7
7
|
"shadow": "var(--seed-shadow-s3)",
|
|
8
|
-
/**
|
|
8
|
+
/** 가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다. */
|
|
9
9
|
"minWidth": "320px",
|
|
10
|
-
/**
|
|
10
|
+
/** 가용 너비(overflowPadding 참고)가 이보다 작으면 가용 너비로 축소됩니다. */
|
|
11
11
|
"maxWidth": "480px",
|
|
12
|
-
/**
|
|
12
|
+
/** 가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다. */
|
|
13
13
|
"maxHeight": "600px",
|
|
14
14
|
/** 트리거와 popover 사이의 간격을 정의합니다. */
|
|
15
15
|
"gutter": "var(--seed-dimension-x2)",
|
|
16
|
-
/** popover와
|
|
16
|
+
/** popover와 안전 영역 경계 사이의 최소 간격을 정의합니다. popover는 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 너비와 높이도 같은 기준으로 계산합니다. */
|
|
17
17
|
"overflowPadding": "var(--seed-dimension-x4)",
|
|
18
18
|
"enterDuration": "var(--seed-duration-d3)",
|
|
19
19
|
"enterTimingFunction": "var(--seed-timing-function-enter)",
|
|
@@ -17,8 +17,9 @@ export declare const vars: {
|
|
|
17
17
|
"gap": "var(--seed-dimension-x2)",
|
|
18
18
|
/** 트리거와 목록 사이의 간격을 정의합니다. */
|
|
19
19
|
"gutter": "var(--seed-dimension-x2)",
|
|
20
|
-
/** 목록과
|
|
20
|
+
/** 목록과 안전 영역 경계 사이의 최소 간격을 정의합니다. 목록은 화면 끝에서 inset + overflowPadding만큼 안쪽에 배치되며, 가용 높이도 같은 기준으로 계산합니다. */
|
|
21
21
|
"overflowPadding": "var(--seed-dimension-x2)",
|
|
22
|
+
/** 가용 높이(overflowPadding 참고)가 이보다 작으면 가용 높이로 축소됩니다. */
|
|
22
23
|
"maxHeight": "480px"
|
|
23
24
|
},
|
|
24
25
|
"groupLabel": {
|
|
@@ -10,10 +10,10 @@ export declare const vars: {
|
|
|
10
10
|
"exitTimingFunction": "var(--seed-timing-function-exit)",
|
|
11
11
|
"exitOpacity": "0"
|
|
12
12
|
},
|
|
13
|
-
/** 하단
|
|
13
|
+
/** 하단 inset을 content의 하단 패딩으로 적용합니다. */
|
|
14
14
|
"content": {
|
|
15
15
|
"color": "var(--seed-color-bg-layer-floating)",
|
|
16
|
-
/** viewport 또는 parent width에 대한 mobile content width 비율입니다. */
|
|
16
|
+
/** 좌우 inset을 뺀 viewport width 또는 parent width에 대한 mobile content width 비율입니다. content의 최대 너비도 같은 기준 너비에 이 비율을 곱해 정합니다. */
|
|
17
17
|
"widthFraction": "0.8",
|
|
18
18
|
"enterDuration": "var(--seed-duration-d6)",
|
|
19
19
|
"enterTimingFunction": "var(--seed-timing-function-enter-expressive)",
|
|
@@ -24,7 +24,7 @@ export declare const vars: {
|
|
|
24
24
|
"gap": "var(--seed-dimension-x1_5)",
|
|
25
25
|
"minHeight": "70px",
|
|
26
26
|
"paddingX": "var(--seed-dimension-x6)",
|
|
27
|
-
/** 이 값은 상단
|
|
27
|
+
/** 이 값은 상단 inset과 합산하여 적용합니다. */
|
|
28
28
|
"paddingTop": "var(--seed-dimension-x6)",
|
|
29
29
|
/** body의 하단 padding이며, 동시에 하단 scroll fog 그라데이션의 높이로도 사용됩니다. */
|
|
30
30
|
"paddingBottom": "var(--seed-dimension-x4)",
|
|
@@ -40,7 +40,7 @@ export declare const vars: {
|
|
|
40
40
|
},
|
|
41
41
|
"footer": {
|
|
42
42
|
"paddingX": "var(--seed-dimension-x6)",
|
|
43
|
-
/** 이 값은 상단
|
|
43
|
+
/** 이 값은 상단 inset과 합산하여 적용합니다. */
|
|
44
44
|
"paddingTop": "var(--seed-dimension-x4)",
|
|
45
45
|
/** body의 하단 padding이며, 동시에 하단 scroll fog 그라데이션의 높이로도 사용됩니다. */
|
|
46
46
|
"paddingBottom": "var(--seed-dimension-x6)"
|
|
@@ -72,24 +72,27 @@ export declare const vars: {
|
|
|
72
72
|
},
|
|
73
73
|
"sizeSmall": {
|
|
74
74
|
"enabled": {
|
|
75
|
-
/** 하단
|
|
75
|
+
/** 하단 inset을 content의 하단 패딩으로 적용합니다. */
|
|
76
76
|
"content": {
|
|
77
|
+
/** content 영역의 너비입니다. 패널은 붙는 쪽의 inset만큼 더 넓어지고, 늘어난 영역까지 배경으로 채워 화면 끝에 닿습니다. 소비자가 지정한 너비도 같은 방식으로 적용합니다. */
|
|
77
78
|
"width": "480px"
|
|
78
79
|
}
|
|
79
80
|
}
|
|
80
81
|
},
|
|
81
82
|
"sizeMedium": {
|
|
82
83
|
"enabled": {
|
|
83
|
-
/** 하단
|
|
84
|
+
/** 하단 inset을 content의 하단 패딩으로 적용합니다. */
|
|
84
85
|
"content": {
|
|
86
|
+
/** content 영역의 너비입니다. 패널은 붙는 쪽의 inset만큼 더 넓어지고, 늘어난 영역까지 배경으로 채워 화면 끝에 닿습니다. 소비자가 지정한 너비도 같은 방식으로 적용합니다. */
|
|
85
87
|
"width": "720px"
|
|
86
88
|
}
|
|
87
89
|
}
|
|
88
90
|
},
|
|
89
91
|
"sizeLarge": {
|
|
90
92
|
"enabled": {
|
|
91
|
-
/** 하단
|
|
93
|
+
/** 하단 inset을 content의 하단 패딩으로 적용합니다. */
|
|
92
94
|
"content": {
|
|
95
|
+
/** content 영역의 너비입니다. 패널은 붙는 쪽의 inset만큼 더 넓어지고, 늘어난 영역까지 배경으로 채워 화면 끝에 닿습니다. 소비자가 지정한 너비도 같은 방식으로 적용합니다. */
|
|
93
96
|
"width": "960px"
|
|
94
97
|
}
|
|
95
98
|
}
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
declare interface InputButtonVariant {
|
|
2
|
-
/**
|
|
3
|
-
* @default "large"
|
|
4
|
-
*/
|
|
5
|
-
size: "large" | "medium";
|
|
6
|
-
/**
|
|
7
|
-
* @default false
|
|
8
|
-
*/
|
|
9
|
-
pressed: boolean;
|
|
10
|
-
/**
|
|
11
|
-
* @default false
|
|
12
|
-
*/
|
|
13
|
-
invalid: boolean;
|
|
14
|
-
/**
|
|
15
|
-
* @default false
|
|
16
|
-
*/
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
/**
|
|
19
|
-
* @default false
|
|
20
|
-
*/
|
|
21
|
-
readOnly: boolean;
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
declare type InputButtonVariantMap = {
|
|
25
|
-
[key in keyof InputButtonVariant]: Array<InputButtonVariant[key]>;
|
|
26
|
-
};
|
|
27
|
-
|
|
28
|
-
export declare type InputButtonVariantProps = Partial<InputButtonVariant>;
|
|
29
|
-
|
|
30
|
-
export declare type InputButtonSlotName = "root" | "button" | "content" | "baseStroke" | "stroke" | "value" | "placeholder" | "prefixText" | "prefixIcon" | "suffixText" | "suffixIcon" | "clearButton";
|
|
31
|
-
|
|
32
|
-
export declare const inputButtonVariantMap: InputButtonVariantMap;
|
|
33
|
-
|
|
34
|
-
export declare const inputButton: ((
|
|
35
|
-
props?: InputButtonVariantProps,
|
|
36
|
-
) => Record<InputButtonSlotName, string>) & {
|
|
37
|
-
splitVariantProps: <T extends InputButtonVariantProps>(
|
|
38
|
-
props: T,
|
|
39
|
-
) => [InputButtonVariantProps, Omit<T, keyof InputButtonVariantProps>];
|
|
40
|
-
}
|