@seed-design/migration-index 0.0.1 → 0.0.3

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 CHANGED
@@ -1,6 +1,10 @@
1
- export interface FoundationTokenMapping {
2
- previous: string;
3
- next: string[];
4
- description?: string;
5
- alternative?: string[];
6
- }
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 CHANGED
@@ -1,19 +1,21 @@
1
1
  {
2
2
  "name": "@seed-design/migration-index",
3
- "version": "0.0.1",
3
+ "version": "0.0.3",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/daangn/seed-design.git",
7
7
  "directory": "packages/migration-index"
8
8
  },
9
- "main": "./index.js",
9
+ "type": "module",
10
+ "main": "./index.mjs",
10
11
  "types": "./index.d.ts",
11
12
  "files": [
12
13
  "*"
13
14
  ],
14
15
  "exports": {
15
16
  ".": {
16
- "types": "./index.d.ts"
17
+ "types": "./index.d.ts",
18
+ "import": "./index.mjs"
17
19
  },
18
20
  "./color": {
19
21
  "types": "./color.d.ts",
@@ -22,6 +24,10 @@
22
24
  "./typography": {
23
25
  "types": "./typography.d.ts",
24
26
  "import": "./typography.mjs"
27
+ },
28
+ "./iconography": {
29
+ "types": "./iconography.d.ts",
30
+ "import": "./iconography.mjs"
25
31
  }
26
32
  },
27
33
  "publishConfig": {
package/types.d.ts ADDED
@@ -0,0 +1,6 @@
1
+ export interface FoundationTokenMapping {
2
+ previous: string;
3
+ next: string[];
4
+ description?: string;
5
+ alternative?: string[];
6
+ }
package/typography.d.ts CHANGED
@@ -1,3 +1,3 @@
1
- import type { FoundationTokenMapping } from "./index";
1
+ import type { FoundationTokenMapping } from "./types";
2
2
 
3
3
  export declare const typographyMappings: FoundationTokenMapping[];
package/typography.mjs CHANGED
@@ -16,7 +16,7 @@ export const typographyMappings = [
16
16
  },
17
17
  {
18
18
  previous: "$semantic.typography.h4",
19
- next: ["t10Bold"],
19
+ next: ["t10Bold", "screenTitle"],
20
20
  description: "줄간격 -0.1px",
21
21
  },
22
22
  {
@@ -27,6 +27,7 @@ export const typographyMappings = [
27
27
  {
28
28
  previous: "$semantic.typography.title1Regular",
29
29
  next: [],
30
+ description: "Deprecated",
30
31
  },
31
32
  {
32
33
  previous: "$semantic.typography.title2Bold",
@@ -34,7 +35,7 @@ export const typographyMappings = [
34
35
  },
35
36
  {
36
37
  previous: "$semantic.typography.title2Regular",
37
- next: [],
38
+ next: ["t7Regular"],
38
39
  },
39
40
  {
40
41
  previous: "$semantic.typography.title3Bold",
@@ -43,7 +44,7 @@ export const typographyMappings = [
43
44
  },
44
45
  {
45
46
  previous: "$semantic.typography.title3Regular",
46
- next: [],
47
+ next: ["t6Regular"],
47
48
  },
48
49
  {
49
50
  previous: "$semantic.typography.subtitle1Bold",
@@ -82,7 +83,8 @@ export const typographyMappings = [
82
83
  {
83
84
  previous: "$semantic.typography.bodyL2Regular",
84
85
  next: [],
85
- description: "TBD",
86
+ alternative: ["t4Regular"],
87
+ description: "Deprecated",
86
88
  },
87
89
  {
88
90
  previous: "$semantic.typography.bodyM1Bold",
@@ -111,8 +113,9 @@ export const typographyMappings = [
111
113
  },
112
114
  {
113
115
  previous: "$semantic.typography.caption1Regular",
114
- next: ["t3Regular"],
115
- description: "줄간격 -1.5px",
116
+ next: [],
117
+ alternative: ["t3Regular"],
118
+ description: "Deprecated",
116
119
  },
117
120
  {
118
121
  previous: "$semantic.typography.caption2Bold",
@@ -131,7 +134,7 @@ export const typographyMappings = [
131
134
  },
132
135
  {
133
136
  previous: "$semantic.typography.label1Regular",
134
- next: [],
137
+ next: ["t6Regular"],
135
138
  },
136
139
  {
137
140
  previous: "$semantic.typography.label2Bold",
@@ -176,11 +179,13 @@ export const typographyMappings = [
176
179
  {
177
180
  previous: "$semantic.typography.label6Bold",
178
181
  next: [],
182
+ alternative: ["t1Bold"],
179
183
  description: "Deprecated",
180
184
  },
181
185
  {
182
186
  previous: "$semantic.typography.label6Regular",
183
187
  next: [],
188
+ alternative: ["t1Regular"],
184
189
  description: "Deprecated",
185
190
  },
186
191
  ];