@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/color.mjs ADDED
@@ -0,0 +1,684 @@
1
+ export const semanticColorMappings = [
2
+ {
3
+ previous: "$semantic.color.on-primary",
4
+ next: ["$color.palette.static-white"],
5
+ },
6
+ {
7
+ previous: "$semantic.color.primary",
8
+ next: ["$color.bg.brand-solid", "$color.fg.brand"],
9
+ alternative: ["$color.palette.carrot-600"],
10
+ },
11
+ {
12
+ previous: "$semantic.color.primary-low",
13
+ next: ["$color.palette.carrot-100"],
14
+ },
15
+ {
16
+ previous: "$semantic.color.secondary",
17
+ next: ["$color.palette.gray-900"],
18
+ },
19
+ {
20
+ previous: "$semantic.color.secondary-low",
21
+ next: ["$color.bg.neutral-weak"],
22
+ alternative: ["$color.palette.gray-200"],
23
+ },
24
+ {
25
+ previous: "$semantic.color.success",
26
+ next: ["$color.bg.positive-solid", "$color.fg.positive"],
27
+ alternative: ["$color.fg.positive-contrast", "$color.palette.green-700"],
28
+ },
29
+ {
30
+ previous: "$semantic.color.success-low",
31
+ next: ["$color.bg.positive-weak"],
32
+ alternative: ["$color.palette.green-100"],
33
+ },
34
+ {
35
+ previous: "$semantic.color.warning",
36
+ next: ["$color.bg.warning-solid"],
37
+ alternative: ["$color.fg.warning-contrast", "$color.palette.yellow-500"],
38
+ },
39
+ {
40
+ previous: "$semantic.color.warning-low",
41
+ next: ["$color.bg.warning-weak"],
42
+ alternative: ["$color.palette.yellow-100"],
43
+ },
44
+ {
45
+ previous: "$semantic.color.danger",
46
+ next: ["$color.bg.critical-solid", "$color.fg.critical"],
47
+ alternative: ["$color.fg.critical-contrast", "$color.palette.red-700"],
48
+ },
49
+ {
50
+ previous: "$semantic.color.danger-low",
51
+ next: ["$color.bg.critical-weak"],
52
+ alternative: ["$color.palette.red-100"],
53
+ },
54
+ {
55
+ previous: "$semantic.color.overlay-dim",
56
+ next: ["$color.bg.overlay"],
57
+ alternative: ["$color.palette.static-black-alpha-500"],
58
+ },
59
+ {
60
+ previous: "$semantic.color.overlay-low",
61
+ next: ["$color.bg.overlay-muted"],
62
+ alternative: ["$color.palette.static-black-alpha-200"],
63
+ },
64
+ {
65
+ previous: "$semantic.color.paper-sheet",
66
+ next: ["$color.bg.layer-floating"],
67
+ alternative: ["$color.palette.gray-00"],
68
+ },
69
+ {
70
+ previous: "$semantic.color.paper-dialog",
71
+ next: ["$color.bg.layer-floating"],
72
+ alternative: ["$color.palette.gray-00"],
73
+ },
74
+ {
75
+ previous: "$semantic.color.paper-floating",
76
+ next: ["$color.bg.layer-floating"],
77
+ alternative: ["$color.palette.gray-00"],
78
+ },
79
+ {
80
+ previous: "$semantic.color.paper-contents",
81
+ next: ["$color.bg.neutral-weak"],
82
+ alternative: ["$color.palette.gray-100"],
83
+ },
84
+ {
85
+ previous: "$semantic.color.paper-default",
86
+ next: ["$color.bg.layer-default"],
87
+ alternative: ["$color.palette.gray-00"],
88
+ },
89
+ {
90
+ previous: "$semantic.color.paper-background",
91
+ next: ["$color.bg.layer-basement"],
92
+ alternative: ["$color.palette.gray-200"],
93
+ },
94
+ {
95
+ previous: "$semantic.color.paper-accent",
96
+ next: ["$color.palette.carrot-100"],
97
+ },
98
+ {
99
+ previous: "$semantic.color.primary-hover",
100
+ next: ["$color.bg.brand-solid-pressed"],
101
+ alternative: ["$color.palette.carrot-700"],
102
+ },
103
+ {
104
+ previous: "$semantic.color.primary-pressed",
105
+ next: ["$color.bg.brand-solid-pressed"],
106
+ alternative: ["$color.palette.carrot-700"],
107
+ },
108
+ {
109
+ previous: "$semantic.color.primary-low-hover",
110
+ next: ["$color.palette.carrot-200"],
111
+ },
112
+ {
113
+ previous: "$semantic.color.primary-low-active",
114
+ next: ["$color.palette.carrot-100"],
115
+ },
116
+ {
117
+ previous: "$semantic.color.primary-low-pressed",
118
+ next: ["$color.palette.carrot-200"],
119
+ },
120
+ {
121
+ previous: "$semantic.color.gray-hover",
122
+ next: ["$color.bg.neutral-weak-pressed"],
123
+ alternative: ["$color.palette.gray-300"],
124
+ },
125
+ {
126
+ previous: "$semantic.color.gray-pressed",
127
+ next: ["$color.bg.neutral-weak-pressed"],
128
+ alternative: ["$color.palette.gray-300"],
129
+ },
130
+ {
131
+ previous: "$semantic.color.on-primary-overlay-50",
132
+ next: [],
133
+ description: "V3에서 지원되지 않는 색상",
134
+ },
135
+ {
136
+ previous: "$semantic.color.on-primary-overlay-200",
137
+ next: [],
138
+ description: "V3에서 지원되지 않는 색상",
139
+ },
140
+ {
141
+ previous: "$semantic.color.on-primary-low-overlay-50",
142
+ next: [],
143
+ description: "V3에서 지원되지 않는 색상",
144
+ },
145
+ {
146
+ previous: "$semantic.color.on-primary-low-overlay-100",
147
+ next: [],
148
+ description: "V3에서 지원되지 않는 색상",
149
+ },
150
+ {
151
+ previous: "$semantic.color.on-primary-low-overlay-200",
152
+ next: [],
153
+ description: "V3에서 지원되지 않는 색상",
154
+ },
155
+ {
156
+ previous: "$semantic.color.on-gray-overlay-50",
157
+ next: ["$color.stroke.neutral-subtle"],
158
+ },
159
+ {
160
+ previous: "$semantic.color.on-gray-overlay-100",
161
+ next: [],
162
+ description: "V3에서 지원되지 않는 색상",
163
+ },
164
+ {
165
+ previous: "$semantic.color.divider-1",
166
+ next: ["$color.stroke.neutral-subtle"],
167
+ alternative: ["$color.palette.static-black-alpha-50"],
168
+ },
169
+ {
170
+ previous: "$semantic.color.divider-2",
171
+ next: ["$color.stroke.neutral-muted"],
172
+ alternative: ["$color.palette.gray-300"],
173
+ },
174
+ {
175
+ previous: "$semantic.color.divider-3",
176
+ next: ["$color.palette.gray-400"],
177
+ },
178
+ {
179
+ previous: "$semantic.color.accent",
180
+ next: ["$color.bg.informative-solid", "$color.fg.informative"],
181
+ alternative: ["$color.fg.informative-contrast", "$color.palette.blue-700"],
182
+ },
183
+ {
184
+ previous: "$semantic.color.ink-text",
185
+ next: ["$color.fg.neutral"],
186
+ alternative: ["$color.palette.gray-1000"],
187
+ },
188
+ {
189
+ previous: "$semantic.color.ink-text-low",
190
+ next: ["$color.fg.neutral-subtle"],
191
+ alternative: ["$color.palette.gray-700"],
192
+ },
193
+ {
194
+ previous: "$semantic.color.gray-active",
195
+ next: ["$color.fg.neutral-muted"],
196
+ alternative: ["$color.palette.gray-800"],
197
+ },
198
+ ];
199
+
200
+ export const scaleColorMappings = [
201
+ {
202
+ previous: "$scale.color.gray-00",
203
+ next: ["$color.palette.gray-00"],
204
+ },
205
+ {
206
+ previous: "$scale.color.gray-50",
207
+ next: ["$color.palette.gray-100"],
208
+ },
209
+ {
210
+ previous: "$scale.color.gray-100",
211
+ next: ["$color.palette.gray-200"],
212
+ },
213
+ {
214
+ previous: "$scale.color.gray-200",
215
+ next: ["$color.palette.gray-300"],
216
+ },
217
+ {
218
+ previous: "$scale.color.gray-300",
219
+ next: ["$color.palette.gray-400"],
220
+ },
221
+ {
222
+ previous: "$scale.color.gray-400",
223
+ next: ["$color.palette.gray-500"],
224
+ },
225
+ {
226
+ previous: "$scale.color.gray-500",
227
+ next: ["$color.palette.gray-600"],
228
+ },
229
+ {
230
+ previous: "$scale.color.gray-600",
231
+ next: ["$color.palette.gray-700"],
232
+ },
233
+ {
234
+ previous: "$scale.color.gray-700",
235
+ next: ["$color.palette.gray-800"],
236
+ },
237
+ {
238
+ previous: "$scale.color.gray-800",
239
+ next: ["$color.palette.gray-900"],
240
+ },
241
+ {
242
+ previous: "$scale.color.gray-900",
243
+ next: ["$color.palette.gray-1000"],
244
+ },
245
+ {
246
+ previous: "$scale.color.gray-alpha-50",
247
+ next: ["$color.palette.gray-200", "$color.stroke.neutral-subtle"],
248
+ },
249
+ {
250
+ previous: "$scale.color.gray-alpha-100",
251
+ next: ["$color.palette.gray-300"],
252
+ },
253
+ {
254
+ previous: "$scale.color.gray-alpha-200",
255
+ next: ["$color.palette.gray-500"],
256
+ },
257
+ {
258
+ previous: "$scale.color.gray-alpha-500",
259
+ next: ["$color.palette.gray-700"],
260
+ },
261
+ {
262
+ previous: "$scale.color.carrot-50",
263
+ next: ["$color.palette.carrot-100"],
264
+ },
265
+ {
266
+ previous: "$scale.color.carrot-100",
267
+ next: ["$color.palette.carrot-200"],
268
+ },
269
+ {
270
+ previous: "$scale.color.carrot-200",
271
+ next: ["$color.palette.carrot-300"],
272
+ },
273
+ {
274
+ previous: "$scale.color.carrot-300",
275
+ next: ["$color.palette.carrot-400"],
276
+ },
277
+ {
278
+ previous: "$scale.color.carrot-400",
279
+ next: ["$color.palette.carrot-500"],
280
+ },
281
+ {
282
+ previous: "$scale.color.carrot-500",
283
+ next: ["$color.palette.carrot-600"],
284
+ },
285
+ {
286
+ previous: "$scale.color.carrot-600",
287
+ next: ["$color.palette.carrot-600"],
288
+ },
289
+ {
290
+ previous: "$scale.color.carrot-700",
291
+ next: ["$color.palette.carrot-700"],
292
+ },
293
+ {
294
+ previous: "$scale.color.carrot-800",
295
+ next: ["$color.palette.carrot-700"],
296
+ },
297
+ {
298
+ previous: "$scale.color.carrot-900",
299
+ next: ["$color.palette.carrot-800"],
300
+ },
301
+ {
302
+ previous: "$scale.color.carrot-950",
303
+ next: ["$color.palette.carrot-800"],
304
+ },
305
+ {
306
+ previous: "$scale.color.carrot-alpha-50",
307
+ next: ["$color.palette.carrot-100"],
308
+ },
309
+ {
310
+ previous: "$scale.color.carrot-alpha-100",
311
+ next: ["$color.palette.carrot-200"],
312
+ },
313
+ {
314
+ previous: "$scale.color.carrot-alpha-200",
315
+ next: ["$color.palette.carrot-200"],
316
+ },
317
+ {
318
+ previous: "$scale.color.blue-50",
319
+ next: ["$color.palette.blue-100"],
320
+ },
321
+ {
322
+ previous: "$scale.color.blue-100",
323
+ next: ["$color.palette.blue-200"],
324
+ },
325
+ {
326
+ previous: "$scale.color.blue-200",
327
+ next: ["$color.palette.blue-300"],
328
+ },
329
+ {
330
+ previous: "$scale.color.blue-300",
331
+ next: ["$color.palette.blue-400"],
332
+ },
333
+ {
334
+ previous: "$scale.color.blue-400",
335
+ next: ["$color.palette.blue-400"],
336
+ },
337
+ {
338
+ previous: "$scale.color.blue-500",
339
+ next: ["$color.palette.blue-600"],
340
+ },
341
+ {
342
+ previous: "$scale.color.blue-600",
343
+ next: ["$color.palette.blue-600"],
344
+ },
345
+ {
346
+ previous: "$scale.color.blue-700",
347
+ next: ["$color.palette.blue-800"],
348
+ },
349
+ {
350
+ previous: "$scale.color.blue-800",
351
+ next: ["$color.palette.blue-900"],
352
+ },
353
+ {
354
+ previous: "$scale.color.blue-900",
355
+ next: ["$color.palette.blue-900"],
356
+ },
357
+ {
358
+ previous: "$scale.color.blue-950",
359
+ next: ["$color.palette.blue-1000"],
360
+ },
361
+ {
362
+ previous: "$scale.color.blue-alpha-50",
363
+ next: ["$color.palette.blue-100"],
364
+ },
365
+ {
366
+ previous: "$scale.color.blue-alpha-100",
367
+ next: ["$color.palette.blue-100"],
368
+ },
369
+ {
370
+ previous: "$scale.color.blue-alpha-200",
371
+ next: ["$color.palette.blue-200"],
372
+ },
373
+ {
374
+ previous: "$scale.color.red-50",
375
+ next: ["$color.palette.red-100"],
376
+ },
377
+ {
378
+ previous: "$scale.color.red-100",
379
+ next: ["$color.palette.red-200"],
380
+ },
381
+ {
382
+ previous: "$scale.color.red-200",
383
+ next: ["$color.palette.red-300"],
384
+ },
385
+ {
386
+ previous: "$scale.color.red-300",
387
+ next: ["$color.palette.red-400"],
388
+ },
389
+ {
390
+ previous: "$scale.color.red-400",
391
+ next: ["$color.palette.red-600"],
392
+ },
393
+ {
394
+ previous: "$scale.color.red-500",
395
+ next: ["$color.palette.red-700"],
396
+ },
397
+ {
398
+ previous: "$scale.color.red-600",
399
+ next: ["$color.palette.red-700"],
400
+ },
401
+ {
402
+ previous: "$scale.color.red-700",
403
+ next: ["$color.palette.red-800"],
404
+ },
405
+ {
406
+ previous: "$scale.color.red-800",
407
+ next: ["$color.palette.red-900"],
408
+ },
409
+ {
410
+ previous: "$scale.color.red-900",
411
+ next: ["$color.palette.red-900"],
412
+ },
413
+ {
414
+ previous: "$scale.color.red-950",
415
+ next: ["$color.palette.red-900"],
416
+ },
417
+ {
418
+ previous: "$scale.color.red-alpha-50",
419
+ next: ["$color.palette.red-100"],
420
+ },
421
+ {
422
+ previous: "$scale.color.red-alpha-100",
423
+ next: ["$color.palette.red-200"],
424
+ },
425
+ {
426
+ previous: "$scale.color.red-alpha-200",
427
+ next: ["$color.palette.red-300"],
428
+ },
429
+ {
430
+ previous: "$scale.color.green-50",
431
+ next: ["$color.palette.green-100"],
432
+ },
433
+ {
434
+ previous: "$scale.color.green-100",
435
+ next: ["$color.palette.green-200"],
436
+ },
437
+ {
438
+ previous: "$scale.color.green-200",
439
+ next: ["$color.palette.green-300"],
440
+ },
441
+ {
442
+ previous: "$scale.color.green-300",
443
+ next: ["$color.palette.green-400"],
444
+ },
445
+ {
446
+ previous: "$scale.color.green-400",
447
+ next: ["$color.palette.green-500"],
448
+ },
449
+ {
450
+ previous: "$scale.color.green-500",
451
+ next: ["$color.palette.green-600"],
452
+ },
453
+ {
454
+ previous: "$scale.color.green-600",
455
+ next: ["$color.palette.green-700"],
456
+ },
457
+ {
458
+ previous: "$scale.color.green-700",
459
+ next: ["$color.palette.green-800"],
460
+ },
461
+ {
462
+ previous: "$scale.color.green-800",
463
+ next: ["$color.palette.green-900"],
464
+ },
465
+ {
466
+ previous: "$scale.color.green-900",
467
+ next: ["$color.palette.green-900"],
468
+ },
469
+ {
470
+ previous: "$scale.color.green-950",
471
+ next: ["$color.palette.green-900"],
472
+ },
473
+ {
474
+ previous: "$scale.color.green-alpha-50",
475
+ next: ["$color.palette.green-100"],
476
+ },
477
+ {
478
+ previous: "$scale.color.green-alpha-100",
479
+ next: ["$color.palette.green-200"],
480
+ },
481
+ {
482
+ previous: "$scale.color.green-alpha-200",
483
+ next: ["$color.palette.green-200"],
484
+ },
485
+ {
486
+ previous: "$scale.color.yellow-50",
487
+ next: ["$color.palette.yellow-100"],
488
+ },
489
+ {
490
+ previous: "$scale.color.yellow-100",
491
+ next: ["$color.palette.yellow-200"],
492
+ },
493
+ {
494
+ previous: "$scale.color.yellow-200",
495
+ next: ["$color.palette.yellow-300"],
496
+ },
497
+ {
498
+ previous: "$scale.color.yellow-300",
499
+ next: ["$color.palette.yellow-400"],
500
+ },
501
+ {
502
+ previous: "$scale.color.yellow-400",
503
+ next: ["$color.palette.yellow-500"],
504
+ },
505
+ {
506
+ previous: "$scale.color.yellow-500",
507
+ next: ["$color.palette.yellow-700"],
508
+ },
509
+ {
510
+ previous: "$scale.color.yellow-600",
511
+ next: ["$color.palette.yellow-700"],
512
+ },
513
+ {
514
+ previous: "$scale.color.yellow-700",
515
+ next: ["$color.palette.yellow-800"],
516
+ },
517
+ {
518
+ previous: "$scale.color.yellow-800",
519
+ next: ["$color.palette.yellow-800"],
520
+ },
521
+ {
522
+ previous: "$scale.color.yellow-900",
523
+ next: ["$color.palette.yellow-900"],
524
+ },
525
+ {
526
+ previous: "$scale.color.yellow-950",
527
+ next: ["$color.palette.yellow-900"],
528
+ },
529
+ {
530
+ previous: "$scale.color.yellow-alpha-50",
531
+ next: ["$color.palette.yellow-100"],
532
+ },
533
+ {
534
+ previous: "$scale.color.yellow-alpha-100",
535
+ next: ["$color.palette.yellow-100"],
536
+ },
537
+ {
538
+ previous: "$scale.color.yellow-alpha-200",
539
+ next: ["$color.palette.yellow-100"],
540
+ },
541
+ {
542
+ previous: "$scale.color.purple-50",
543
+ next: ["$color.palette.purple-100"],
544
+ },
545
+ {
546
+ previous: "$scale.color.purple-100",
547
+ next: ["$color.palette.purple-300"],
548
+ },
549
+ {
550
+ previous: "$scale.color.purple-200",
551
+ next: ["$color.palette.purple-400"],
552
+ },
553
+ {
554
+ previous: "$scale.color.purple-300",
555
+ next: ["$color.palette.purple-400"],
556
+ },
557
+ {
558
+ previous: "$scale.color.purple-400",
559
+ next: ["$color.palette.purple-500"],
560
+ },
561
+ {
562
+ previous: "$scale.color.purple-500",
563
+ next: ["$color.palette.purple-600"],
564
+ },
565
+ {
566
+ previous: "$scale.color.purple-600",
567
+ next: ["$color.palette.purple-700"],
568
+ },
569
+ {
570
+ previous: "$scale.color.purple-700",
571
+ next: ["$color.palette.purple-800"],
572
+ },
573
+ {
574
+ previous: "$scale.color.purple-800",
575
+ next: ["$color.palette.purple-900"],
576
+ },
577
+ {
578
+ previous: "$scale.color.purple-900",
579
+ next: ["$color.palette.purple-900"],
580
+ },
581
+ {
582
+ previous: "$scale.color.purple-950",
583
+ next: ["$color.palette.purple-1000"],
584
+ },
585
+ ];
586
+
587
+ export const staticColorMappings = [
588
+ {
589
+ previous: "$static.color.static-black",
590
+ next: ["$color.palette.static-black"],
591
+ },
592
+ {
593
+ previous: "$static.color.static-white",
594
+ next: ["$color.palette.static-white"],
595
+ },
596
+ {
597
+ previous: "$static.color.static-gray-900",
598
+ next: ["$color.palette.static-black"],
599
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
600
+ needsVerification: true,
601
+ },
602
+ {
603
+ previous: "$static.color.static-carrot-50",
604
+ next: ["$color.palette.carrot-100"],
605
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
606
+ needsVerification: true,
607
+ },
608
+ {
609
+ previous: "$static.color.static-carrot-800",
610
+ next: ["$color.palette.carrot-700"],
611
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
612
+ needsVerification: true,
613
+ },
614
+ {
615
+ previous: "$static.color.static-green-50",
616
+ next: ["$color.palette.green-100"],
617
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
618
+ needsVerification: true,
619
+ },
620
+ {
621
+ previous: "$static.color.static-green-800",
622
+ next: ["$color.palette.green-700"],
623
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
624
+ needsVerification: true,
625
+ },
626
+ {
627
+ previous: "$static.color.static-yellow-50",
628
+ next: ["$color.palette.yellow-100"],
629
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
630
+ needsVerification: true,
631
+ },
632
+ {
633
+ previous: "$static.color.static-yellow-800",
634
+ next: ["$color.palette.yellow-700"],
635
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
636
+ needsVerification: true,
637
+ },
638
+ {
639
+ previous: "$static.color.static-red-50",
640
+ next: ["$color.palette.red-100"],
641
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
642
+ needsVerification: true,
643
+ },
644
+ {
645
+ previous: "$static.color.static-red-800",
646
+ next: ["$color.palette.red-700"],
647
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
648
+ needsVerification: true,
649
+ },
650
+ {
651
+ previous: "$static.color.static-blue-50",
652
+ next: ["$color.palette.blue-100"],
653
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
654
+ needsVerification: true,
655
+ },
656
+ {
657
+ previous: "$static.color.static-blue-800",
658
+ next: ["$color.palette.blue-700"],
659
+ description: "static에서 palette로 변경되는 색상으로 용도 파악 필요",
660
+ needsVerification: true,
661
+ },
662
+ {
663
+ previous: "$static.color.static-black-alpha-200",
664
+ next: ["$color.palette.static-black-alpha-500"],
665
+ },
666
+ {
667
+ previous: "$static.color.static-black-alpha-500",
668
+ next: ["$color.palette.static-black-alpha-700"],
669
+ },
670
+ {
671
+ previous: "$static.color.static-white-alpha-50",
672
+ next: ["$color.palette.static-white-alpha-50"],
673
+ },
674
+ {
675
+ previous: "$static.color.static-white-alpha-200",
676
+ next: ["$color.palette.static-white-alpha-300"],
677
+ },
678
+ ];
679
+
680
+ export const colorMappings = [
681
+ ...semanticColorMappings,
682
+ ...scaleColorMappings,
683
+ ...staticColorMappings,
684
+ ];
@@ -0,0 +1,5 @@
1
+ import type { FoundationTokenMapping } from "./types";
2
+
3
+ export declare const monochromeIconMappings: FoundationTokenMapping[];
4
+ export declare const multicolorIconMappings: FoundationTokenMapping[];
5
+ export declare const iconMappings: FoundationTokenMapping[];