@seed-design/migration-index 0.0.0-alpha-20260414104312

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/index.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ export {
2
+ colorMappings,
3
+ scaleColorMappings,
4
+ semanticColorMappings,
5
+ staticColorMappings,
6
+ } from "./color";
7
+ export { iconMappings, monochromeIconMappings, multicolorIconMappings } from "./iconography";
8
+ export { typographyMappings } from "./typography";
9
+
10
+ export type { FoundationTokenMapping } from "./types";
package/index.mjs ADDED
@@ -0,0 +1,8 @@
1
+ export {
2
+ colorMappings,
3
+ scaleColorMappings,
4
+ semanticColorMappings,
5
+ staticColorMappings,
6
+ } from "./color.mjs";
7
+ export { typographyMappings } from "./typography.mjs";
8
+ export { iconMappings, monochromeIconMappings, multicolorIconMappings } from "./iconography.mjs";
package/package.json ADDED
@@ -0,0 +1,36 @@
1
+ {
2
+ "name": "@seed-design/migration-index",
3
+ "version": "0.0.0-alpha-20260414104312",
4
+ "repository": {
5
+ "type": "git",
6
+ "url": "git+https://github.com/daangn/seed-design.git",
7
+ "directory": "packages/migration-index"
8
+ },
9
+ "type": "module",
10
+ "main": "./index.mjs",
11
+ "types": "./index.d.ts",
12
+ "files": [
13
+ "*"
14
+ ],
15
+ "exports": {
16
+ ".": {
17
+ "types": "./index.d.ts",
18
+ "import": "./index.mjs"
19
+ },
20
+ "./color": {
21
+ "types": "./color.d.ts",
22
+ "import": "./color.mjs"
23
+ },
24
+ "./typography": {
25
+ "types": "./typography.d.ts",
26
+ "import": "./typography.mjs"
27
+ },
28
+ "./iconography": {
29
+ "types": "./iconography.d.ts",
30
+ "import": "./iconography.mjs"
31
+ }
32
+ },
33
+ "publishConfig": {
34
+ "access": "public"
35
+ }
36
+ }
package/types.d.ts ADDED
@@ -0,0 +1,7 @@
1
+ export interface FoundationTokenMapping {
2
+ previous: string;
3
+ next: string[];
4
+ description?: string;
5
+ alternative?: string[];
6
+ needsVerification?: boolean;
7
+ }
@@ -0,0 +1,3 @@
1
+ import type { FoundationTokenMapping } from "./types";
2
+
3
+ export declare const typographyMappings: FoundationTokenMapping[];
package/typography.mjs ADDED
@@ -0,0 +1,191 @@
1
+ export const typographyMappings = [
2
+ {
3
+ previous: "$semantic.typography.h1",
4
+ next: [],
5
+ description: "Deprecated",
6
+ },
7
+ {
8
+ previous: "$semantic.typography.h2",
9
+ next: [],
10
+ description: "Deprecated",
11
+ },
12
+ {
13
+ previous: "$semantic.typography.h3",
14
+ next: [],
15
+ description: "Deprecated",
16
+ },
17
+ {
18
+ previous: "$semantic.typography.h4",
19
+ next: ["t10Bold", "screenTitle"],
20
+ description: "줄간격 -0.1px",
21
+ },
22
+ {
23
+ previous: "$semantic.typography.title1Bold",
24
+ next: ["t9Bold"],
25
+ description: "줄간격 -0.4px",
26
+ },
27
+ {
28
+ previous: "$semantic.typography.title1Regular",
29
+ next: [],
30
+ description: "Deprecated",
31
+ },
32
+ {
33
+ previous: "$semantic.typography.title2Bold",
34
+ next: ["t7Bold"],
35
+ },
36
+ {
37
+ previous: "$semantic.typography.title2Regular",
38
+ next: ["t7Regular"],
39
+ },
40
+ {
41
+ previous: "$semantic.typography.title3Bold",
42
+ next: ["t6Bold"],
43
+ description: "줄간격 -0.3px",
44
+ },
45
+ {
46
+ previous: "$semantic.typography.title3Regular",
47
+ next: ["t6Regular"],
48
+ },
49
+ {
50
+ previous: "$semantic.typography.subtitle1Bold",
51
+ next: ["t5Bold"],
52
+ description: "줄간격 +0.4px",
53
+ },
54
+ {
55
+ previous: "$semantic.typography.subtitle1Regular",
56
+ next: ["t5Regular"],
57
+ description: "줄간격 +0.4px",
58
+ },
59
+ {
60
+ previous: "$semantic.typography.subtitle2Bold",
61
+ next: ["t4Bold"],
62
+ description: "줄간격 +0.1px",
63
+ },
64
+ {
65
+ previous: "$semantic.typography.subtitle2Regular",
66
+ next: ["t4Regular"],
67
+ description: "줄간격 +0.1px",
68
+ },
69
+ {
70
+ previous: "$semantic.typography.bodyL1Bold",
71
+ next: ["t5Bold"],
72
+ description: "줄간격 -2px",
73
+ },
74
+ {
75
+ previous: "$semantic.typography.bodyL1Regular",
76
+ next: ["articleBody"],
77
+ },
78
+ {
79
+ previous: "$semantic.typography.bodyL2Bold",
80
+ next: ["t4Bold"],
81
+ description: "줄간격 -2px",
82
+ },
83
+ {
84
+ previous: "$semantic.typography.bodyL2Regular",
85
+ next: [],
86
+ alternative: ["t4Regular"],
87
+ description: "Deprecated",
88
+ },
89
+ {
90
+ previous: "$semantic.typography.bodyM1Bold",
91
+ next: ["t5Bold"],
92
+ description: "줄간격 +0.4px",
93
+ },
94
+ {
95
+ previous: "$semantic.typography.bodyM1Regular",
96
+ next: ["t5Regular"],
97
+ description: "줄간격 +0.4px",
98
+ },
99
+ {
100
+ previous: "$semantic.typography.bodyM2Bold",
101
+ next: ["t4Bold"],
102
+ description: "줄간격 +0.1px",
103
+ },
104
+ {
105
+ previous: "$semantic.typography.bodyM2Regular",
106
+ next: ["t4Regular"],
107
+ description: "줄간격 +0.1px",
108
+ },
109
+ {
110
+ previous: "$semantic.typography.caption1Bold",
111
+ next: ["t3Bold"],
112
+ description: "줄간격 -1.5px",
113
+ },
114
+ {
115
+ previous: "$semantic.typography.caption1Regular",
116
+ next: [],
117
+ alternative: ["t3Regular"],
118
+ description: "Deprecated",
119
+ },
120
+ {
121
+ previous: "$semantic.typography.caption2Bold",
122
+ next: ["t2Bold"],
123
+ description: "줄간격 -0.2px",
124
+ },
125
+ {
126
+ previous: "$semantic.typography.caption2Regular",
127
+ next: ["t2Regular"],
128
+ description: "줄간격 -0.2px",
129
+ },
130
+ {
131
+ previous: "$semantic.typography.label1Bold",
132
+ next: ["t6Bold"],
133
+ description: "줄간격 -0.3px",
134
+ },
135
+ {
136
+ previous: "$semantic.typography.label1Regular",
137
+ next: ["t6Regular"],
138
+ },
139
+ {
140
+ previous: "$semantic.typography.label2Bold",
141
+ next: ["t5Bold"],
142
+ description: "줄간격 +0.4px",
143
+ },
144
+ {
145
+ previous: "$semantic.typography.label2Regular",
146
+ next: ["t5Regular"],
147
+ description: "줄간격 +0.4px",
148
+ },
149
+ {
150
+ previous: "$semantic.typography.label3Bold",
151
+ next: ["t4Bold"],
152
+ description: "줄간격 +0.1px",
153
+ },
154
+ {
155
+ previous: "$semantic.typography.label3Regular",
156
+ next: ["t4Regular"],
157
+ description: "줄간격 +0.1px",
158
+ },
159
+ {
160
+ previous: "$semantic.typography.label4Bold",
161
+ next: ["t2Bold"],
162
+ description: "줄간격 -0.2px",
163
+ },
164
+ {
165
+ previous: "$semantic.typography.label4Regular",
166
+ next: ["t2Regular"],
167
+ description: "줄간격 -0.2px",
168
+ },
169
+ {
170
+ previous: "$semantic.typography.label5Bold",
171
+ next: ["t1Bold"],
172
+ description: "줄간격 +0.1px",
173
+ },
174
+ {
175
+ previous: "$semantic.typography.label5Regular",
176
+ next: ["t1Regular"],
177
+ description: "줄간격 +0.1px",
178
+ },
179
+ {
180
+ previous: "$semantic.typography.label6Bold",
181
+ next: [],
182
+ alternative: ["t1Bold"],
183
+ description: "Deprecated",
184
+ },
185
+ {
186
+ previous: "$semantic.typography.label6Regular",
187
+ next: [],
188
+ alternative: ["t1Regular"],
189
+ description: "Deprecated",
190
+ },
191
+ ];