@yahoo/uds 2.0.0 → 2.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (106) hide show
  1. package/cli/README.md +50 -0
  2. package/cli/bin/uds-darwin-arm64-baseline +0 -0
  3. package/cli/bin/uds-linux-arm64 +0 -0
  4. package/cli/bin/uds-linux-x64-baseline +0 -0
  5. package/cli/cli.ts +21 -4
  6. package/cli/commands/codemod/codemod.ts +12 -9
  7. package/cli/commands/codemod/sizingProps.ts +1 -1
  8. package/cli/commands/login.ts +30 -0
  9. package/cli/commands/logout.ts +27 -0
  10. package/cli/commands/purge.ts +3 -1
  11. package/cli/commands/sync.ts +2 -0
  12. package/cli/commands/uds.ts +6 -1
  13. package/cli/commands/version.ts +2 -0
  14. package/cli/compile.ts +8 -9
  15. package/cli/consts.ts +5 -1
  16. package/cli/env.d.ts +5 -0
  17. package/cli/exec.ts +1 -1
  18. package/cli/preload.ts +17 -0
  19. package/cli/tsconfig.json +4 -4
  20. package/cli/uds-cli +6 -2
  21. package/cli/utils/analytics.ts +26 -0
  22. package/cli/utils/auth.ts +338 -0
  23. package/cli/utils/client_secrets.json +23 -0
  24. package/cli/utils/client_secrets.json.enc +0 -0
  25. package/cli/utils/configWorker.ts +3 -2
  26. package/cli/utils/getDirChoices.ts +0 -1
  27. package/cli/utils/secrets.ts +40 -0
  28. package/dist/analytics/server.cjs +1 -0
  29. package/dist/analytics/server.d.cts +1 -0
  30. package/dist/analytics/server.d.ts +1 -0
  31. package/dist/analytics/server.js +1 -0
  32. package/dist/chunk-3PK6DOFO.js +3 -0
  33. package/dist/chunk-5WBROFT5.cjs +1 -0
  34. package/dist/chunk-DCXVARRB.cjs +1 -0
  35. package/dist/chunk-DMMTEAJW.cjs +2 -0
  36. package/dist/chunk-EYFQOFYW.cjs +1 -0
  37. package/dist/chunk-FWF2C6TL.cjs +1 -0
  38. package/dist/chunk-GIJ2FHY5.cjs +1 -0
  39. package/dist/chunk-IUL5ZI4O.js +2 -0
  40. package/dist/chunk-JGIKFUBH.cjs +2 -0
  41. package/dist/chunk-P5B5IOMM.js +2 -0
  42. package/dist/chunk-PE2P7J44.js +2 -0
  43. package/dist/chunk-PFT3UA6K.cjs +2 -0
  44. package/dist/chunk-SUASN3GG.js +2 -0
  45. package/dist/chunk-VPR62GYQ.js +2 -0
  46. package/dist/chunk-X6F5UEQ5.js +2 -0
  47. package/dist/chunk-YM5TKITI.js +2 -0
  48. package/dist/chunk-YUHY3FXT.cjs +1 -0
  49. package/dist/chunk-ZV62SW5G.js +1 -0
  50. package/dist/client/index.cjs +3 -0
  51. package/dist/client/index.d.cts +97 -0
  52. package/dist/client/index.d.ts +97 -0
  53. package/dist/client/index.js +4 -0
  54. package/dist/experimental/index.cjs +2 -0
  55. package/dist/experimental/index.d.cts +469 -0
  56. package/dist/experimental/index.d.ts +469 -0
  57. package/dist/experimental/index.js +2 -0
  58. package/dist/fixtures.cjs +1506 -0
  59. package/dist/fixtures.d.cts +94 -0
  60. package/dist/fixtures.d.ts +94 -0
  61. package/dist/fixtures.js +1449 -0
  62. package/dist/flags.cjs +1 -0
  63. package/dist/flags.d.cts +17 -0
  64. package/dist/flags.d.ts +17 -0
  65. package/dist/flags.js +2 -0
  66. package/dist/index.cjs +1 -0
  67. package/dist/index.d.cts +385 -0
  68. package/dist/index.d.ts +385 -0
  69. package/dist/index.js +1 -0
  70. package/dist/metafile-cjs.json +1 -0
  71. package/dist/metafile-esm.json +1 -0
  72. package/dist/motionFeatures-I76FFCTS.js +1 -0
  73. package/dist/motionFeatures-P3FQL2KP.cjs +1 -0
  74. package/dist/styles/toast.css +3 -0
  75. package/dist/styles/toast.d.cts +2 -0
  76. package/dist/styles/toast.d.ts +2 -0
  77. package/dist/tailwind/plugin.cjs +2 -0
  78. package/dist/tailwind/plugin.d.cts +60 -0
  79. package/dist/tailwind/plugin.d.ts +60 -0
  80. package/dist/tailwind/plugin.js +2 -0
  81. package/dist/tailwind/purger.cjs +5 -0
  82. package/dist/tailwind/purger.d.cts +17 -0
  83. package/dist/tailwind/purger.d.ts +17 -0
  84. package/dist/tailwind/purger.js +6 -0
  85. package/dist/tailwind/tsMorph.cjs +1 -0
  86. package/dist/tailwind/tsMorph.d.cts +31 -0
  87. package/dist/tailwind/tsMorph.d.ts +31 -0
  88. package/dist/tailwind/tsMorph.js +1 -0
  89. package/dist/tailwind/utils.cjs +1 -0
  90. package/dist/tailwind/utils.d.cts +99 -0
  91. package/dist/tailwind/utils.d.ts +99 -0
  92. package/dist/tailwind/utils.js +1 -0
  93. package/dist/tokens/index.cjs +1 -0
  94. package/dist/tokens/index.d.cts +1127 -0
  95. package/dist/tokens/index.d.ts +1127 -0
  96. package/dist/tokens/index.js +1 -0
  97. package/dist/tokens/parseTokens.cjs +1 -0
  98. package/dist/tokens/parseTokens.d.cts +59 -0
  99. package/dist/tokens/parseTokens.d.ts +59 -0
  100. package/dist/tokens/parseTokens.js +1 -0
  101. package/dist/types-Pyccco5Q.d.cts +949 -0
  102. package/dist/types-Pyccco5Q.d.ts +949 -0
  103. package/fonts/mobile.cjs +1 -1
  104. package/package.json +48 -21
  105. package/cli/codemods/propsToClass.test.tsx +0 -97
  106. package/cli/utils/purgeCSS.test.ts +0 -210
@@ -0,0 +1,1449 @@
1
+ // src/fixtures/index.ts
2
+ var colorModes = [
3
+ "light",
4
+ "dark"
5
+ ];
6
+ var scaleModes = [
7
+ "xSmall",
8
+ "small",
9
+ "medium",
10
+ "large",
11
+ "xLarge",
12
+ "xxLarge",
13
+ "xxxLarge"
14
+ ];
15
+ var regionModes = [
16
+ "\uD83C\uDDFA\uD83C\uDDF8 US",
17
+ "\uD83C\uDDE9\uD83C\uDDEA DE",
18
+ "\uD83C\uDDEB\uD83C\uDDF7 FR",
19
+ "\uD83C\uDDE8\uD83C\uDDF3 CN"
20
+ ];
21
+ var hues = [
22
+ "gray",
23
+ "purple",
24
+ "indigo",
25
+ "blue",
26
+ "cyan",
27
+ "teal",
28
+ "mint",
29
+ "green",
30
+ "lime",
31
+ "citron",
32
+ "yellow",
33
+ "brown",
34
+ "nude",
35
+ "orange",
36
+ "sunset",
37
+ "red",
38
+ "rose",
39
+ "pink",
40
+ "magenta",
41
+ "carbon"
42
+ ];
43
+ var hueSteps = [
44
+ "0",
45
+ "1",
46
+ "2",
47
+ "3",
48
+ "4",
49
+ "5",
50
+ "6",
51
+ "7",
52
+ "8",
53
+ "9",
54
+ "10",
55
+ "11",
56
+ "12",
57
+ "13",
58
+ "14",
59
+ "15"
60
+ ];
61
+ var spectrumColors = [
62
+ "gray-0",
63
+ "gray-1",
64
+ "gray-2",
65
+ "gray-3",
66
+ "gray-4",
67
+ "gray-5",
68
+ "gray-6",
69
+ "gray-7",
70
+ "gray-8",
71
+ "gray-9",
72
+ "gray-10",
73
+ "gray-11",
74
+ "gray-12",
75
+ "gray-13",
76
+ "gray-14",
77
+ "gray-15",
78
+ "purple-0",
79
+ "purple-1",
80
+ "purple-2",
81
+ "purple-3",
82
+ "purple-4",
83
+ "purple-5",
84
+ "purple-6",
85
+ "purple-7",
86
+ "purple-8",
87
+ "purple-9",
88
+ "purple-10",
89
+ "purple-11",
90
+ "purple-12",
91
+ "purple-13",
92
+ "purple-14",
93
+ "purple-15",
94
+ "indigo-0",
95
+ "indigo-1",
96
+ "indigo-2",
97
+ "indigo-3",
98
+ "indigo-4",
99
+ "indigo-5",
100
+ "indigo-6",
101
+ "indigo-7",
102
+ "indigo-8",
103
+ "indigo-9",
104
+ "indigo-10",
105
+ "indigo-11",
106
+ "indigo-12",
107
+ "indigo-13",
108
+ "indigo-14",
109
+ "indigo-15",
110
+ "blue-0",
111
+ "blue-1",
112
+ "blue-2",
113
+ "blue-3",
114
+ "blue-4",
115
+ "blue-5",
116
+ "blue-6",
117
+ "blue-7",
118
+ "blue-8",
119
+ "blue-9",
120
+ "blue-10",
121
+ "blue-11",
122
+ "blue-12",
123
+ "blue-13",
124
+ "blue-14",
125
+ "blue-15",
126
+ "cyan-0",
127
+ "cyan-1",
128
+ "cyan-2",
129
+ "cyan-3",
130
+ "cyan-4",
131
+ "cyan-5",
132
+ "cyan-6",
133
+ "cyan-7",
134
+ "cyan-8",
135
+ "cyan-9",
136
+ "cyan-10",
137
+ "cyan-11",
138
+ "cyan-12",
139
+ "cyan-13",
140
+ "cyan-14",
141
+ "cyan-15",
142
+ "teal-0",
143
+ "teal-1",
144
+ "teal-2",
145
+ "teal-3",
146
+ "teal-4",
147
+ "teal-5",
148
+ "teal-6",
149
+ "teal-7",
150
+ "teal-8",
151
+ "teal-9",
152
+ "teal-10",
153
+ "teal-11",
154
+ "teal-12",
155
+ "teal-13",
156
+ "teal-14",
157
+ "teal-15",
158
+ "mint-0",
159
+ "mint-1",
160
+ "mint-2",
161
+ "mint-3",
162
+ "mint-4",
163
+ "mint-5",
164
+ "mint-6",
165
+ "mint-7",
166
+ "mint-8",
167
+ "mint-9",
168
+ "mint-10",
169
+ "mint-11",
170
+ "mint-12",
171
+ "mint-13",
172
+ "mint-14",
173
+ "mint-15",
174
+ "green-0",
175
+ "green-1",
176
+ "green-2",
177
+ "green-3",
178
+ "green-4",
179
+ "green-5",
180
+ "green-6",
181
+ "green-7",
182
+ "green-8",
183
+ "green-9",
184
+ "green-10",
185
+ "green-11",
186
+ "green-12",
187
+ "green-13",
188
+ "green-14",
189
+ "green-15",
190
+ "lime-0",
191
+ "lime-1",
192
+ "lime-2",
193
+ "lime-3",
194
+ "lime-4",
195
+ "lime-5",
196
+ "lime-6",
197
+ "lime-7",
198
+ "lime-8",
199
+ "lime-9",
200
+ "lime-10",
201
+ "lime-11",
202
+ "lime-12",
203
+ "lime-13",
204
+ "lime-14",
205
+ "lime-15",
206
+ "citron-0",
207
+ "citron-1",
208
+ "citron-2",
209
+ "citron-3",
210
+ "citron-4",
211
+ "citron-5",
212
+ "citron-6",
213
+ "citron-7",
214
+ "citron-8",
215
+ "citron-9",
216
+ "citron-10",
217
+ "citron-11",
218
+ "citron-12",
219
+ "citron-13",
220
+ "citron-14",
221
+ "citron-15",
222
+ "yellow-0",
223
+ "yellow-1",
224
+ "yellow-2",
225
+ "yellow-3",
226
+ "yellow-4",
227
+ "yellow-5",
228
+ "yellow-6",
229
+ "yellow-7",
230
+ "yellow-8",
231
+ "yellow-9",
232
+ "yellow-10",
233
+ "yellow-11",
234
+ "yellow-12",
235
+ "yellow-13",
236
+ "yellow-14",
237
+ "yellow-15",
238
+ "brown-0",
239
+ "brown-1",
240
+ "brown-2",
241
+ "brown-3",
242
+ "brown-4",
243
+ "brown-5",
244
+ "brown-6",
245
+ "brown-7",
246
+ "brown-8",
247
+ "brown-9",
248
+ "brown-10",
249
+ "brown-11",
250
+ "brown-12",
251
+ "brown-13",
252
+ "brown-14",
253
+ "brown-15",
254
+ "nude-0",
255
+ "nude-1",
256
+ "nude-2",
257
+ "nude-3",
258
+ "nude-4",
259
+ "nude-5",
260
+ "nude-6",
261
+ "nude-7",
262
+ "nude-8",
263
+ "nude-9",
264
+ "nude-10",
265
+ "nude-11",
266
+ "nude-12",
267
+ "nude-13",
268
+ "nude-14",
269
+ "nude-15",
270
+ "orange-0",
271
+ "orange-1",
272
+ "orange-2",
273
+ "orange-3",
274
+ "orange-4",
275
+ "orange-5",
276
+ "orange-6",
277
+ "orange-7",
278
+ "orange-8",
279
+ "orange-9",
280
+ "orange-10",
281
+ "orange-11",
282
+ "orange-12",
283
+ "orange-13",
284
+ "orange-14",
285
+ "orange-15",
286
+ "sunset-0",
287
+ "sunset-1",
288
+ "sunset-2",
289
+ "sunset-3",
290
+ "sunset-4",
291
+ "sunset-5",
292
+ "sunset-6",
293
+ "sunset-7",
294
+ "sunset-8",
295
+ "sunset-9",
296
+ "sunset-10",
297
+ "sunset-11",
298
+ "sunset-12",
299
+ "sunset-13",
300
+ "sunset-14",
301
+ "sunset-15",
302
+ "red-0",
303
+ "red-1",
304
+ "red-2",
305
+ "red-3",
306
+ "red-4",
307
+ "red-5",
308
+ "red-6",
309
+ "red-7",
310
+ "red-8",
311
+ "red-9",
312
+ "red-10",
313
+ "red-11",
314
+ "red-12",
315
+ "red-13",
316
+ "red-14",
317
+ "red-15",
318
+ "rose-0",
319
+ "rose-1",
320
+ "rose-2",
321
+ "rose-3",
322
+ "rose-4",
323
+ "rose-5",
324
+ "rose-6",
325
+ "rose-7",
326
+ "rose-8",
327
+ "rose-9",
328
+ "rose-10",
329
+ "rose-11",
330
+ "rose-12",
331
+ "rose-13",
332
+ "rose-14",
333
+ "rose-15",
334
+ "pink-0",
335
+ "pink-1",
336
+ "pink-2",
337
+ "pink-3",
338
+ "pink-4",
339
+ "pink-5",
340
+ "pink-6",
341
+ "pink-7",
342
+ "pink-8",
343
+ "pink-9",
344
+ "pink-10",
345
+ "pink-11",
346
+ "pink-12",
347
+ "pink-13",
348
+ "pink-14",
349
+ "pink-15",
350
+ "magenta-0",
351
+ "magenta-1",
352
+ "magenta-2",
353
+ "magenta-3",
354
+ "magenta-4",
355
+ "magenta-5",
356
+ "magenta-6",
357
+ "magenta-7",
358
+ "magenta-8",
359
+ "magenta-9",
360
+ "magenta-10",
361
+ "magenta-11",
362
+ "magenta-12",
363
+ "magenta-13",
364
+ "magenta-14",
365
+ "magenta-15",
366
+ "carbon-0",
367
+ "carbon-1",
368
+ "carbon-2",
369
+ "carbon-3",
370
+ "carbon-4",
371
+ "carbon-5",
372
+ "carbon-6",
373
+ "carbon-7",
374
+ "carbon-8",
375
+ "carbon-9",
376
+ "carbon-10",
377
+ "carbon-11",
378
+ "carbon-12",
379
+ "carbon-13",
380
+ "carbon-14",
381
+ "carbon-15"
382
+ ];
383
+ var corePaletteColors = [
384
+ "brand",
385
+ "accent",
386
+ "alert",
387
+ "positive",
388
+ "warning"
389
+ ];
390
+ var backgroundPaletteColors = [
391
+ "primary",
392
+ "secondary"
393
+ ];
394
+ var foregroundPaletteColors = [
395
+ "primary",
396
+ "secondary",
397
+ "tertiary",
398
+ "muted",
399
+ "on-color"
400
+ ];
401
+ var linePaletteColors = [
402
+ "primary",
403
+ "secondary",
404
+ "tertiary",
405
+ "muted"
406
+ ];
407
+ var alwaysPaletteAliases = [
408
+ "transparent",
409
+ "white",
410
+ "black",
411
+ "current"
412
+ ];
413
+ var backgroundColors = [
414
+ ...corePaletteColors,
415
+ ...backgroundPaletteColors,
416
+ ...alwaysPaletteAliases
417
+ ];
418
+ var foregroundColors = [
419
+ ...corePaletteColors,
420
+ ...foregroundPaletteColors,
421
+ ...alwaysPaletteAliases
422
+ ];
423
+ var lineColors = [...corePaletteColors, ...linePaletteColors, ...alwaysPaletteAliases];
424
+ var palette = {
425
+ core: corePaletteColors,
426
+ background: backgroundPaletteColors,
427
+ foreground: foregroundPaletteColors,
428
+ line: linePaletteColors
429
+ };
430
+ var tailwindColorsAsUds = {
431
+ slate: {
432
+ "50": "rgb(var(--uds-spectrum-color-gray-1))",
433
+ "100": "rgb(var(--uds-spectrum-color-gray-2))",
434
+ "200": "rgb(var(--uds-spectrum-color-gray-3))",
435
+ "300": "rgb(var(--uds-spectrum-color-gray-4))",
436
+ "400": "rgb(var(--uds-spectrum-color-gray-6))",
437
+ "500": "rgb(var(--uds-spectrum-color-gray-8))",
438
+ "600": "rgb(var(--uds-spectrum-color-gray-10))",
439
+ "700": "rgb(var(--uds-spectrum-color-gray-10))",
440
+ "800": "rgb(var(--uds-spectrum-color-gray-12))",
441
+ "900": "rgb(var(--uds-spectrum-color-cyan-14))",
442
+ "950": "rgb(var(--uds-spectrum-color-cyan-15))"
443
+ },
444
+ gray: {
445
+ "50": "rgb(var(--uds-spectrum-color-carbon-1))",
446
+ "100": "rgb(var(--uds-spectrum-color-carbon-2))",
447
+ "200": "rgb(var(--uds-spectrum-color-gray-3))",
448
+ "300": "rgb(var(--uds-spectrum-color-gray-4))",
449
+ "400": "rgb(var(--uds-spectrum-color-gray-6))",
450
+ "500": "rgb(var(--uds-spectrum-color-gray-8))",
451
+ "600": "rgb(var(--uds-spectrum-color-gray-10))",
452
+ "700": "rgb(var(--uds-spectrum-color-carbon-9))",
453
+ "800": "rgb(var(--uds-spectrum-color-gray-12))",
454
+ "900": "rgb(var(--uds-spectrum-color-cyan-14))",
455
+ "950": "rgb(var(--uds-spectrum-color-carbon-14))"
456
+ },
457
+ zinc: {
458
+ "50": "rgb(var(--uds-spectrum-color-carbon-1))",
459
+ "100": "rgb(var(--uds-spectrum-color-carbon-2))",
460
+ "200": "rgb(var(--uds-spectrum-color-carbon-3))",
461
+ "300": "rgb(var(--uds-spectrum-color-carbon-4))",
462
+ "400": "rgb(var(--uds-spectrum-color-gray-6))",
463
+ "500": "rgb(var(--uds-spectrum-color-gray-8))",
464
+ "600": "rgb(var(--uds-spectrum-color-carbon-8))",
465
+ "700": "rgb(var(--uds-spectrum-color-carbon-9))",
466
+ "800": "rgb(var(--uds-spectrum-color-carbon-11))",
467
+ "900": "rgb(var(--uds-spectrum-color-carbon-13))",
468
+ "950": "rgb(var(--uds-spectrum-color-carbon-14))"
469
+ },
470
+ neutral: {
471
+ "50": "rgb(var(--uds-spectrum-color-carbon-1))",
472
+ "100": "rgb(var(--uds-spectrum-color-carbon-2))",
473
+ "200": "rgb(var(--uds-spectrum-color-carbon-3))",
474
+ "300": "rgb(var(--uds-spectrum-color-carbon-4))",
475
+ "400": "rgb(var(--uds-spectrum-color-gray-6))",
476
+ "500": "rgb(var(--uds-spectrum-color-gray-8))",
477
+ "600": "rgb(var(--uds-spectrum-color-gray-10))",
478
+ "700": "rgb(var(--uds-spectrum-color-carbon-9))",
479
+ "800": "rgb(var(--uds-spectrum-color-carbon-11))",
480
+ "900": "rgb(var(--uds-spectrum-color-carbon-13))",
481
+ "950": "rgb(var(--uds-spectrum-color-carbon-14))"
482
+ },
483
+ stone: {
484
+ "50": "rgb(var(--uds-spectrum-color-carbon-1))",
485
+ "100": "rgb(var(--uds-spectrum-color-carbon-2))",
486
+ "200": "rgb(var(--uds-spectrum-color-carbon-3))",
487
+ "300": "rgb(var(--uds-spectrum-color-carbon-4))",
488
+ "400": "rgb(var(--uds-spectrum-color-gray-6))",
489
+ "500": "rgb(var(--uds-spectrum-color-carbon-7))",
490
+ "600": "rgb(var(--uds-spectrum-color-carbon-8))",
491
+ "700": "rgb(var(--uds-spectrum-color-carbon-9))",
492
+ "800": "rgb(var(--uds-spectrum-color-carbon-11))",
493
+ "900": "rgb(var(--uds-spectrum-color-carbon-13))",
494
+ "950": "rgb(var(--uds-spectrum-color-carbon-14))"
495
+ },
496
+ red: {
497
+ "50": "rgb(var(--uds-spectrum-color-red-1))",
498
+ "100": "rgb(var(--uds-spectrum-color-nude-1))",
499
+ "200": "rgb(var(--uds-spectrum-color-sunset-2))",
500
+ "300": "rgb(var(--uds-spectrum-color-red-5))",
501
+ "400": "rgb(var(--uds-spectrum-color-red-6))",
502
+ "500": "rgb(var(--uds-spectrum-color-red-7))",
503
+ "600": "rgb(var(--uds-spectrum-color-red-9))",
504
+ "700": "rgb(var(--uds-spectrum-color-sunset-8))",
505
+ "800": "rgb(var(--uds-spectrum-color-sunset-9))",
506
+ "900": "rgb(var(--uds-spectrum-color-sunset-10))",
507
+ "950": "rgb(var(--uds-spectrum-color-red-14))"
508
+ },
509
+ orange: {
510
+ "50": "rgb(var(--uds-spectrum-color-orange-0))",
511
+ "100": "rgb(var(--uds-spectrum-color-brown-2))",
512
+ "200": "rgb(var(--uds-spectrum-color-orange-3))",
513
+ "300": "rgb(var(--uds-spectrum-color-orange-4))",
514
+ "400": "rgb(var(--uds-spectrum-color-orange-5))",
515
+ "500": "rgb(var(--uds-spectrum-color-orange-6))",
516
+ "600": "rgb(var(--uds-spectrum-color-orange-7))",
517
+ "700": "rgb(var(--uds-spectrum-color-orange-9))",
518
+ "800": "rgb(var(--uds-spectrum-color-sunset-9))",
519
+ "900": "rgb(var(--uds-spectrum-color-orange-12))",
520
+ "950": "rgb(var(--uds-spectrum-color-orange-14))"
521
+ },
522
+ amber: {
523
+ "50": "rgb(var(--uds-spectrum-color-yellow-0))",
524
+ "100": "rgb(var(--uds-spectrum-color-yellow-1))",
525
+ "200": "rgb(var(--uds-spectrum-color-yellow-3))",
526
+ "300": "rgb(var(--uds-spectrum-color-yellow-4))",
527
+ "400": "rgb(var(--uds-spectrum-color-yellow-5))",
528
+ "500": "rgb(var(--uds-spectrum-color-orange-6))",
529
+ "600": "rgb(var(--uds-spectrum-color-orange-7))",
530
+ "700": "rgb(var(--uds-spectrum-color-orange-9))",
531
+ "800": "rgb(var(--uds-spectrum-color-orange-11))",
532
+ "900": "rgb(var(--uds-spectrum-color-orange-12))",
533
+ "950": "rgb(var(--uds-spectrum-color-orange-14))"
534
+ },
535
+ yellow: {
536
+ "50": "rgb(var(--uds-spectrum-color-citron-0))",
537
+ "100": "rgb(var(--uds-spectrum-color-citron-1))",
538
+ "200": "rgb(var(--uds-spectrum-color-yellow-3))",
539
+ "300": "rgb(var(--uds-spectrum-color-yellow-4))",
540
+ "400": "rgb(var(--uds-spectrum-color-yellow-6))",
541
+ "500": "rgb(var(--uds-spectrum-color-yellow-6))",
542
+ "600": "rgb(var(--uds-spectrum-color-orange-7))",
543
+ "700": "rgb(var(--uds-spectrum-color-yellow-7))",
544
+ "800": "rgb(var(--uds-spectrum-color-brown-9))",
545
+ "900": "rgb(var(--uds-spectrum-color-brown-9))",
546
+ "950": "rgb(var(--uds-spectrum-color-orange-14))"
547
+ },
548
+ lime: {
549
+ "50": "rgb(var(--uds-spectrum-color-citron-0))",
550
+ "100": "rgb(var(--uds-spectrum-color-lime-2))",
551
+ "200": "rgb(var(--uds-spectrum-color-lime-4))",
552
+ "300": "rgb(var(--uds-spectrum-color-lime-5))",
553
+ "400": "rgb(var(--uds-spectrum-color-lime-6))",
554
+ "500": "rgb(var(--uds-spectrum-color-lime-7))",
555
+ "600": "rgb(var(--uds-spectrum-color-lime-7))",
556
+ "700": "rgb(var(--uds-spectrum-color-lime-9))",
557
+ "800": "rgb(var(--uds-spectrum-color-lime-10))",
558
+ "900": "rgb(var(--uds-spectrum-color-lime-11))",
559
+ "950": "rgb(var(--uds-spectrum-color-lime-14))"
560
+ },
561
+ green: {
562
+ "50": "rgb(var(--uds-spectrum-color-green-0))",
563
+ "100": "rgb(var(--uds-spectrum-color-mint-2))",
564
+ "200": "rgb(var(--uds-spectrum-color-green-2))",
565
+ "300": "rgb(var(--uds-spectrum-color-green-3))",
566
+ "400": "rgb(var(--uds-spectrum-color-green-5))",
567
+ "500": "rgb(var(--uds-spectrum-color-green-6))",
568
+ "600": "rgb(var(--uds-spectrum-color-green-6))",
569
+ "700": "rgb(var(--uds-spectrum-color-green-8))",
570
+ "800": "rgb(var(--uds-spectrum-color-green-10))",
571
+ "900": "rgb(var(--uds-spectrum-color-green-11))",
572
+ "950": "rgb(var(--uds-spectrum-color-green-14))"
573
+ },
574
+ emerald: {
575
+ "50": "rgb(var(--uds-spectrum-color-mint-1))",
576
+ "100": "rgb(var(--uds-spectrum-color-mint-2))",
577
+ "200": "rgb(var(--uds-spectrum-color-mint-4))",
578
+ "300": "rgb(var(--uds-spectrum-color-mint-5))",
579
+ "400": "rgb(var(--uds-spectrum-color-mint-6))",
580
+ "500": "rgb(var(--uds-spectrum-color-teal-7))",
581
+ "600": "rgb(var(--uds-spectrum-color-green-7))",
582
+ "700": "rgb(var(--uds-spectrum-color-mint-8))",
583
+ "800": "rgb(var(--uds-spectrum-color-mint-10))",
584
+ "900": "rgb(var(--uds-spectrum-color-mint-11))",
585
+ "950": "rgb(var(--uds-spectrum-color-mint-14))"
586
+ },
587
+ teal: {
588
+ "50": "rgb(var(--uds-spectrum-color-teal-0))",
589
+ "100": "rgb(var(--uds-spectrum-color-teal-2))",
590
+ "200": "rgb(var(--uds-spectrum-color-teal-4))",
591
+ "300": "rgb(var(--uds-spectrum-color-teal-5))",
592
+ "400": "rgb(var(--uds-spectrum-color-teal-6))",
593
+ "500": "rgb(var(--uds-spectrum-color-teal-7))",
594
+ "600": "rgb(var(--uds-spectrum-color-teal-8))",
595
+ "700": "rgb(var(--uds-spectrum-color-teal-10))",
596
+ "800": "rgb(var(--uds-spectrum-color-teal-11))",
597
+ "900": "rgb(var(--uds-spectrum-color-cyan-11))",
598
+ "950": "rgb(var(--uds-spectrum-color-teal-14))"
599
+ },
600
+ cyan: {
601
+ "50": "rgb(var(--uds-spectrum-color-blue-0))",
602
+ "100": "rgb(var(--uds-spectrum-color-teal-2))",
603
+ "200": "rgb(var(--uds-spectrum-color-cyan-3))",
604
+ "300": "rgb(var(--uds-spectrum-color-cyan-4))",
605
+ "400": "rgb(var(--uds-spectrum-color-teal-6))",
606
+ "500": "rgb(var(--uds-spectrum-color-teal-6))",
607
+ "600": "rgb(var(--uds-spectrum-color-cyan-7))",
608
+ "700": "rgb(var(--uds-spectrum-color-cyan-8))",
609
+ "800": "rgb(var(--uds-spectrum-color-cyan-10))",
610
+ "900": "rgb(var(--uds-spectrum-color-cyan-10))",
611
+ "950": "rgb(var(--uds-spectrum-color-cyan-12))"
612
+ },
613
+ sky: {
614
+ "50": "rgb(var(--uds-spectrum-color-blue-0))",
615
+ "100": "rgb(var(--uds-spectrum-color-blue-1))",
616
+ "200": "rgb(var(--uds-spectrum-color-blue-2))",
617
+ "300": "rgb(var(--uds-spectrum-color-blue-4))",
618
+ "400": "rgb(var(--uds-spectrum-color-blue-5))",
619
+ "500": "rgb(var(--uds-spectrum-color-blue-6))",
620
+ "600": "rgb(var(--uds-spectrum-color-cyan-7))",
621
+ "700": "rgb(var(--uds-spectrum-color-cyan-8))",
622
+ "800": "rgb(var(--uds-spectrum-color-cyan-9))",
623
+ "900": "rgb(var(--uds-spectrum-color-cyan-10))",
624
+ "950": "rgb(var(--uds-spectrum-color-cyan-12))"
625
+ },
626
+ blue: {
627
+ "50": "rgb(var(--uds-spectrum-color-indigo-0))",
628
+ "100": "rgb(var(--uds-spectrum-color-indigo-1))",
629
+ "200": "rgb(var(--uds-spectrum-color-blue-2))",
630
+ "300": "rgb(var(--uds-spectrum-color-blue-4))",
631
+ "400": "rgb(var(--uds-spectrum-color-blue-5))",
632
+ "500": "rgb(var(--uds-spectrum-color-blue-7))",
633
+ "600": "rgb(var(--uds-spectrum-color-blue-8))",
634
+ "700": "rgb(var(--uds-spectrum-color-blue-10))",
635
+ "800": "rgb(var(--uds-spectrum-color-blue-12))",
636
+ "900": "rgb(var(--uds-spectrum-color-blue-13))",
637
+ "950": "rgb(var(--uds-spectrum-color-cyan-12))"
638
+ },
639
+ indigo: {
640
+ "50": "rgb(var(--uds-spectrum-color-indigo-0))",
641
+ "100": "rgb(var(--uds-spectrum-color-indigo-1))",
642
+ "200": "rgb(var(--uds-spectrum-color-indigo-2))",
643
+ "300": "rgb(var(--uds-spectrum-color-indigo-3))",
644
+ "400": "rgb(var(--uds-spectrum-color-indigo-5))",
645
+ "500": "rgb(var(--uds-spectrum-color-indigo-7))",
646
+ "600": "rgb(var(--uds-spectrum-color-indigo-8))",
647
+ "700": "rgb(var(--uds-spectrum-color-indigo-8))",
648
+ "800": "rgb(var(--uds-spectrum-color-purple-11))",
649
+ "900": "rgb(var(--uds-spectrum-color-purple-12))",
650
+ "950": "rgb(var(--uds-spectrum-color-purple-14))"
651
+ },
652
+ violet: {
653
+ "50": "rgb(var(--uds-spectrum-color-purple-0))",
654
+ "100": "rgb(var(--uds-spectrum-color-purple-1))",
655
+ "200": "rgb(var(--uds-spectrum-color-purple-2))",
656
+ "300": "rgb(var(--uds-spectrum-color-indigo-3))",
657
+ "400": "rgb(var(--uds-spectrum-color-purple-5))",
658
+ "500": "rgb(var(--uds-spectrum-color-purple-7))",
659
+ "600": "rgb(var(--uds-spectrum-color-purple-8))",
660
+ "700": "rgb(var(--uds-spectrum-color-purple-9))",
661
+ "800": "rgb(var(--uds-spectrum-color-purple-11))",
662
+ "900": "rgb(var(--uds-spectrum-color-purple-11))",
663
+ "950": "rgb(var(--uds-spectrum-color-purple-13))"
664
+ },
665
+ purple: {
666
+ "50": "rgb(var(--uds-spectrum-color-purple-0))",
667
+ "100": "rgb(var(--uds-spectrum-color-magenta-0))",
668
+ "200": "rgb(var(--uds-spectrum-color-magenta-1))",
669
+ "300": "rgb(var(--uds-spectrum-color-magenta-3))",
670
+ "400": "rgb(var(--uds-spectrum-color-purple-5))",
671
+ "500": "rgb(var(--uds-spectrum-color-purple-7))",
672
+ "600": "rgb(var(--uds-spectrum-color-purple-9))",
673
+ "700": "rgb(var(--uds-spectrum-color-purple-10))",
674
+ "800": "rgb(var(--uds-spectrum-color-purple-11))",
675
+ "900": "rgb(var(--uds-spectrum-color-purple-11))",
676
+ "950": "rgb(var(--uds-spectrum-color-purple-13))"
677
+ },
678
+ fuchsia: {
679
+ "50": "rgb(var(--uds-spectrum-color-pink-0))",
680
+ "100": "rgb(var(--uds-spectrum-color-magenta-0))",
681
+ "200": "rgb(var(--uds-spectrum-color-magenta-1))",
682
+ "300": "rgb(var(--uds-spectrum-color-magenta-3))",
683
+ "400": "rgb(var(--uds-spectrum-color-magenta-5))",
684
+ "500": "rgb(var(--uds-spectrum-color-magenta-7))",
685
+ "600": "rgb(var(--uds-spectrum-color-magenta-8))",
686
+ "700": "rgb(var(--uds-spectrum-color-magenta-9))",
687
+ "800": "rgb(var(--uds-spectrum-color-magenta-10))",
688
+ "900": "rgb(var(--uds-spectrum-color-magenta-11))",
689
+ "950": "rgb(var(--uds-spectrum-color-magenta-13))"
690
+ },
691
+ pink: {
692
+ "50": "rgb(var(--uds-spectrum-color-nude-0))",
693
+ "100": "rgb(var(--uds-spectrum-color-rose-1))",
694
+ "200": "rgb(var(--uds-spectrum-color-rose-3))",
695
+ "300": "rgb(var(--uds-spectrum-color-pink-3))",
696
+ "400": "rgb(var(--uds-spectrum-color-rose-6))",
697
+ "500": "rgb(var(--uds-spectrum-color-pink-6))",
698
+ "600": "rgb(var(--uds-spectrum-color-pink-9))",
699
+ "700": "rgb(var(--uds-spectrum-color-pink-10))",
700
+ "800": "rgb(var(--uds-spectrum-color-rose-10))",
701
+ "900": "rgb(var(--uds-spectrum-color-rose-11))",
702
+ "950": "rgb(var(--uds-spectrum-color-rose-13))"
703
+ },
704
+ rose: {
705
+ "50": "rgb(var(--uds-spectrum-color-red-1))",
706
+ "100": "rgb(var(--uds-spectrum-color-red-2))",
707
+ "200": "rgb(var(--uds-spectrum-color-red-3))",
708
+ "300": "rgb(var(--uds-spectrum-color-rose-5))",
709
+ "400": "rgb(var(--uds-spectrum-color-red-6))",
710
+ "500": "rgb(var(--uds-spectrum-color-red-7))",
711
+ "600": "rgb(var(--uds-spectrum-color-red-9))",
712
+ "700": "rgb(var(--uds-spectrum-color-red-9))",
713
+ "800": "rgb(var(--uds-spectrum-color-rose-10))",
714
+ "900": "rgb(var(--uds-spectrum-color-rose-11))",
715
+ "950": "rgb(var(--uds-spectrum-color-rose-13))"
716
+ }
717
+ };
718
+ var textVariants = [
719
+ "display1",
720
+ "display2",
721
+ "display3",
722
+ "title1",
723
+ "title2",
724
+ "title3",
725
+ "title4",
726
+ "headline1",
727
+ "body1",
728
+ "label1",
729
+ "label2",
730
+ "caption1",
731
+ "caption2",
732
+ "legal1"
733
+ ];
734
+ var textProperties = [
735
+ "fontFamily",
736
+ "fontSize",
737
+ "fontWeight",
738
+ "lineHeight",
739
+ "textTransform"
740
+ ];
741
+ var fontAliases = [
742
+ "sans",
743
+ "sans-alt",
744
+ "serif",
745
+ "serif-alt",
746
+ "mono"
747
+ ];
748
+ var fontIds = [
749
+ "centra-no2",
750
+ "inter",
751
+ "roboto-mono",
752
+ "yahoo-sans",
753
+ "yahoo-sans-cr4",
754
+ "yahoo-sans-condensed",
755
+ "yahoo-serif-display",
756
+ "yahoo-serif-text"
757
+ ];
758
+ var fontUrls = [
759
+ "https://s.yimg.com/bw/fonts/centra-no2-hairline.woff2",
760
+ "https://s.yimg.com/bw/fonts/centra-no2-hairline-italic.woff2",
761
+ "https://s.yimg.com/bw/fonts/centra-no2-thin.woff2",
762
+ "https://s.yimg.com/bw/fonts/centra-no2-thin-italic.woff2",
763
+ "https://s.yimg.com/bw/fonts/centra-no2-light.woff2",
764
+ "https://s.yimg.com/bw/fonts/centra-no2-light-italic.woff2",
765
+ "https://s.yimg.com/bw/fonts/centra-no2-book.woff2",
766
+ "https://s.yimg.com/bw/fonts/centra-no2-book-italic.woff2",
767
+ "https://s.yimg.com/bw/fonts/centra-no2-medium.woff2",
768
+ "https://s.yimg.com/bw/fonts/centra-no2-medium-italic.woff2",
769
+ "https://s.yimg.com/bw/fonts/centra-no2-bold.woff2",
770
+ "https://s.yimg.com/bw/fonts/centra-no2-bold-italic.woff2",
771
+ "https://s.yimg.com/bw/fonts/centra-no2-extrabold.woff2",
772
+ "https://s.yimg.com/bw/fonts/centra-no2-extrabold-italic.woff2",
773
+ "https://s.yimg.com/bw/fonts/centra-no2-black.woff2",
774
+ "https://s.yimg.com/bw/fonts/centra-no2-black-italic.woff2",
775
+ "https://s.yimg.com/bw/fonts/inter-vf.woff2",
776
+ "https://s.yimg.com/bw/fonts/roboto-mono-100.woff2",
777
+ "https://s.yimg.com/bw/fonts/roboto-mono-100-italic.woff2",
778
+ "https://s.yimg.com/bw/fonts/roboto-mono-200.woff2",
779
+ "https://s.yimg.com/bw/fonts/roboto-mono-200-italic.woff2",
780
+ "https://s.yimg.com/bw/fonts/roboto-mono-300.woff2",
781
+ "https://s.yimg.com/bw/fonts/roboto-mono-300-italic.woff2",
782
+ "https://s.yimg.com/bw/fonts/roboto-mono-400.woff2",
783
+ "https://s.yimg.com/bw/fonts/roboto-mono-400-italic.woff2",
784
+ "https://s.yimg.com/bw/fonts/roboto-mono-500.woff2",
785
+ "https://s.yimg.com/bw/fonts/roboto-mono-500-italic.woff2",
786
+ "https://s.yimg.com/bw/fonts/roboto-mono-600.woff2",
787
+ "https://s.yimg.com/bw/fonts/roboto-mono-600-italic.woff2",
788
+ "https://s.yimg.com/bw/fonts/roboto-mono-700.woff2",
789
+ "https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2",
790
+ "https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2",
791
+ "https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2",
792
+ "https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2",
793
+ "https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2",
794
+ "https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2",
795
+ "https://s.yimg.com/bw/fonts/yahoo-serif-display-bold.woff2",
796
+ "https://s.yimg.com/bw/fonts/yahoo-serif-display-extrabold.woff2",
797
+ "https://s.yimg.com/bw/fonts/yahoo-serif-display-black.woff2",
798
+ "https://s.yimg.com/bw/fonts/yahoo-serif-text-regular.woff2",
799
+ "https://s.yimg.com/bw/fonts/yahoo-serif-text-italic.woff2",
800
+ "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold.woff2",
801
+ "https://s.yimg.com/bw/fonts/yahoo-serif-text-bold-italic.woff2"
802
+ ];
803
+ var fontWeights = [
804
+ "light",
805
+ "medium",
806
+ "black",
807
+ "thin",
808
+ "extralight",
809
+ "regular",
810
+ "semibold",
811
+ "bold",
812
+ "extrabold"
813
+ ];
814
+ var textTransforms = [
815
+ "none",
816
+ "uppercase",
817
+ "lowercase",
818
+ "capitalize"
819
+ ];
820
+ var fontSizeRamp = {
821
+ xSmall: {
822
+ display1: -2,
823
+ display2: -3,
824
+ display3: -3,
825
+ title1: -3,
826
+ title2: -3,
827
+ title3: -3,
828
+ title4: -3,
829
+ headline1: -3,
830
+ body1: -3,
831
+ label1: -2,
832
+ label2: -2,
833
+ caption1: -1,
834
+ caption2: -1,
835
+ legal1: -1
836
+ },
837
+ small: {
838
+ display1: -2,
839
+ display2: -2,
840
+ display3: -2,
841
+ title1: -2,
842
+ title2: -2,
843
+ title3: -2,
844
+ title4: -2,
845
+ headline1: -2,
846
+ body1: -2,
847
+ label1: -1,
848
+ label2: -1,
849
+ caption1: 0,
850
+ caption2: 0,
851
+ legal1: 0
852
+ },
853
+ medium: {
854
+ display1: -1,
855
+ display2: -1,
856
+ display3: -1,
857
+ title1: -1,
858
+ title2: -1,
859
+ title3: -1,
860
+ title4: -1,
861
+ headline1: -1,
862
+ body1: -1,
863
+ label1: -1,
864
+ label2: -1,
865
+ caption1: 0,
866
+ caption2: 0,
867
+ legal1: 0
868
+ },
869
+ large: {
870
+ display1: 0,
871
+ display2: 0,
872
+ display3: 0,
873
+ title1: 0,
874
+ title2: 0,
875
+ title3: 0,
876
+ title4: 0,
877
+ headline1: 0,
878
+ body1: 0,
879
+ label1: 0,
880
+ label2: 0,
881
+ caption1: 0,
882
+ caption2: 0,
883
+ legal1: 0
884
+ },
885
+ xLarge: {
886
+ display1: 2,
887
+ display2: 2,
888
+ display3: 2,
889
+ title1: 2,
890
+ title2: 2,
891
+ title3: 2,
892
+ title4: 2,
893
+ headline1: 2,
894
+ body1: 0,
895
+ label1: 2,
896
+ label2: 2,
897
+ caption1: 2,
898
+ caption2: 2,
899
+ legal1: 2
900
+ },
901
+ xxLarge: {
902
+ display1: 4,
903
+ display2: 4,
904
+ display3: 4,
905
+ title1: 4,
906
+ title2: 4,
907
+ title3: 4,
908
+ title4: 6,
909
+ headline1: 4,
910
+ body1: 4,
911
+ label1: 4,
912
+ label2: 4,
913
+ caption1: 4,
914
+ caption2: 4,
915
+ legal1: 4
916
+ },
917
+ xxxLarge: {
918
+ display1: 6,
919
+ display2: 6,
920
+ display3: 6,
921
+ title1: 6,
922
+ title2: 6,
923
+ title3: 6,
924
+ title4: 8,
925
+ headline1: 6,
926
+ body1: 6,
927
+ label1: 6,
928
+ label2: 6,
929
+ caption1: 6,
930
+ caption2: 6,
931
+ legal1: 6
932
+ }
933
+ };
934
+ var lineHeightRamp = {
935
+ xSmall: {
936
+ display1: 0,
937
+ display2: 0,
938
+ display3: 0,
939
+ title1: -4,
940
+ title2: -4,
941
+ title3: -4,
942
+ title4: 0,
943
+ headline1: -4,
944
+ body1: -4,
945
+ label1: -4,
946
+ label2: -4,
947
+ caption1: 0,
948
+ caption2: 0,
949
+ legal1: -4
950
+ },
951
+ small: {
952
+ display1: 0,
953
+ display2: 0,
954
+ display3: 0,
955
+ title1: 0,
956
+ title2: -4,
957
+ title3: -4,
958
+ title4: 0,
959
+ headline1: 0,
960
+ body1: 0,
961
+ label1: -4,
962
+ label2: -4,
963
+ caption1: 0,
964
+ caption2: 0,
965
+ legal1: 0
966
+ },
967
+ medium: {
968
+ display1: 0,
969
+ display2: 0,
970
+ display3: 0,
971
+ title1: 0,
972
+ title2: 0,
973
+ title3: 0,
974
+ title4: 0,
975
+ headline1: 0,
976
+ body1: 0,
977
+ label1: -4,
978
+ label2: -4,
979
+ caption1: 0,
980
+ caption2: 0,
981
+ legal1: 0
982
+ },
983
+ large: {
984
+ display1: 0,
985
+ display2: 0,
986
+ display3: 0,
987
+ title1: 0,
988
+ title2: 0,
989
+ title3: 0,
990
+ title4: 0,
991
+ headline1: 0,
992
+ body1: 0,
993
+ label1: 0,
994
+ label2: 0,
995
+ caption1: 0,
996
+ caption2: 0,
997
+ legal1: 0
998
+ },
999
+ xLarge: {
1000
+ display1: 0,
1001
+ display2: 0,
1002
+ display3: 0,
1003
+ title1: 4,
1004
+ title2: 0,
1005
+ title3: 0,
1006
+ title4: 0,
1007
+ headline1: 4,
1008
+ body1: 4,
1009
+ label1: 0,
1010
+ label2: 0,
1011
+ caption1: 4,
1012
+ caption2: 4,
1013
+ legal1: 0
1014
+ },
1015
+ xxLarge: {
1016
+ display1: 0,
1017
+ display2: 0,
1018
+ display3: 0,
1019
+ title1: 4,
1020
+ title2: 4,
1021
+ title3: 4,
1022
+ title4: 0,
1023
+ headline1: 8,
1024
+ body1: 8,
1025
+ label1: 4,
1026
+ label2: 4,
1027
+ caption1: 4,
1028
+ caption2: 4,
1029
+ legal1: 4
1030
+ },
1031
+ xxxLarge: {
1032
+ display1: 0,
1033
+ display2: 0,
1034
+ display3: 0,
1035
+ title1: 8,
1036
+ title2: 8,
1037
+ title3: 4,
1038
+ title4: 8,
1039
+ headline1: 8,
1040
+ body1: 8,
1041
+ label1: 8,
1042
+ label2: 8,
1043
+ caption1: 8,
1044
+ caption2: 8,
1045
+ legal1: 4
1046
+ }
1047
+ };
1048
+ var avatarSizes = [
1049
+ "sm",
1050
+ "md",
1051
+ "lg"
1052
+ ];
1053
+ var avatarShapes = [
1054
+ "none",
1055
+ "xs",
1056
+ "sm",
1057
+ "md",
1058
+ "lg",
1059
+ "xl",
1060
+ "full"
1061
+ ];
1062
+ var borderRadii = [
1063
+ "none",
1064
+ "xs",
1065
+ "sm",
1066
+ "md",
1067
+ "lg",
1068
+ "xl",
1069
+ "full"
1070
+ ];
1071
+ var borderRadiusRamp = {
1072
+ xSmall: {
1073
+ none: 0,
1074
+ xs: 0,
1075
+ sm: 0,
1076
+ md: 0,
1077
+ lg: -4,
1078
+ xl: -8,
1079
+ full: 0
1080
+ },
1081
+ small: {
1082
+ none: 0,
1083
+ xs: 0,
1084
+ sm: 0,
1085
+ md: 0,
1086
+ lg: -4,
1087
+ xl: -8,
1088
+ full: 0
1089
+ },
1090
+ medium: {
1091
+ none: 0,
1092
+ xs: 0,
1093
+ sm: 0,
1094
+ md: 0,
1095
+ lg: -4,
1096
+ xl: -8,
1097
+ full: 0
1098
+ },
1099
+ large: {
1100
+ none: 0,
1101
+ xs: 0,
1102
+ sm: 0,
1103
+ md: 0,
1104
+ lg: 0,
1105
+ xl: 0,
1106
+ full: 0
1107
+ },
1108
+ xLarge: {
1109
+ none: 0,
1110
+ xs: 0,
1111
+ sm: 0,
1112
+ md: 0,
1113
+ lg: 0,
1114
+ xl: 0,
1115
+ full: 0
1116
+ },
1117
+ xxLarge: {
1118
+ none: 0,
1119
+ xs: 0,
1120
+ sm: 0,
1121
+ md: 0,
1122
+ lg: 0,
1123
+ xl: 0,
1124
+ full: 0
1125
+ },
1126
+ xxxLarge: {
1127
+ none: 0,
1128
+ xs: 0,
1129
+ sm: 0,
1130
+ md: 0,
1131
+ lg: 0,
1132
+ xl: 0,
1133
+ full: 0
1134
+ }
1135
+ };
1136
+ var borderWidths = [
1137
+ "medium",
1138
+ "thin",
1139
+ "none",
1140
+ "thick"
1141
+ ];
1142
+ var borderWidthRamp = {
1143
+ xSmall: {
1144
+ none: 0,
1145
+ thin: 0,
1146
+ medium: 0,
1147
+ thick: -2
1148
+ },
1149
+ small: {
1150
+ none: 0,
1151
+ thin: 0,
1152
+ medium: 0,
1153
+ thick: -2
1154
+ },
1155
+ medium: {
1156
+ none: 0,
1157
+ thin: 0,
1158
+ medium: 0,
1159
+ thick: -2
1160
+ },
1161
+ large: {
1162
+ none: 0,
1163
+ thin: 0,
1164
+ medium: 0,
1165
+ thick: 0
1166
+ },
1167
+ xLarge: {
1168
+ none: 0,
1169
+ thin: 0,
1170
+ medium: 0,
1171
+ thick: 0
1172
+ },
1173
+ xxLarge: {
1174
+ none: 0,
1175
+ thin: 0,
1176
+ medium: 0,
1177
+ thick: 0
1178
+ },
1179
+ xxxLarge: {
1180
+ none: 0,
1181
+ thin: 0,
1182
+ medium: 0,
1183
+ thick: 0
1184
+ }
1185
+ };
1186
+ var iconSizes = [
1187
+ "sm",
1188
+ "md",
1189
+ "lg"
1190
+ ];
1191
+ var iconVariants = [
1192
+ "fill",
1193
+ "outline"
1194
+ ];
1195
+ var spacingAliases = [
1196
+ "0",
1197
+ "px",
1198
+ "0.5",
1199
+ "1",
1200
+ "1.5",
1201
+ "2",
1202
+ "2.5",
1203
+ "3",
1204
+ "3.5",
1205
+ "4",
1206
+ "5",
1207
+ "6",
1208
+ "7",
1209
+ "8",
1210
+ "9",
1211
+ "10",
1212
+ "11",
1213
+ "12",
1214
+ "14",
1215
+ "16",
1216
+ "20",
1217
+ "24",
1218
+ "28",
1219
+ "32",
1220
+ "36",
1221
+ "40",
1222
+ "44",
1223
+ "48",
1224
+ "52",
1225
+ "56",
1226
+ "60",
1227
+ "64",
1228
+ "72",
1229
+ "80",
1230
+ "96"
1231
+ ];
1232
+ var spacingMap = {
1233
+ "0": 0,
1234
+ px: 1,
1235
+ "0.5": 2,
1236
+ "1": 4,
1237
+ "1.5": 6,
1238
+ "2": 8,
1239
+ "2.5": 10,
1240
+ "3": 12,
1241
+ "3.5": 14,
1242
+ "4": 16,
1243
+ "5": 20,
1244
+ "6": 24,
1245
+ "7": 28,
1246
+ "8": 32,
1247
+ "9": 36,
1248
+ "10": 40,
1249
+ "11": 44,
1250
+ "12": 48,
1251
+ "14": 56,
1252
+ "16": 64,
1253
+ "20": 80,
1254
+ "24": 96,
1255
+ "28": 112,
1256
+ "32": 128,
1257
+ "36": 144,
1258
+ "40": 160,
1259
+ "44": 176,
1260
+ "48": 192,
1261
+ "52": 208,
1262
+ "56": 224,
1263
+ "60": 240,
1264
+ "64": 256,
1265
+ "72": 288,
1266
+ "80": 320,
1267
+ "96": 384
1268
+ };
1269
+ var tshirtSizes = [
1270
+ "none",
1271
+ "xs",
1272
+ "sm",
1273
+ "md",
1274
+ "lg",
1275
+ "xl",
1276
+ "full"
1277
+ ];
1278
+ var buttonVariants = [
1279
+ "primary",
1280
+ "secondary",
1281
+ "tertiary"
1282
+ ];
1283
+ var buttonPalettes = [
1284
+ "brand",
1285
+ "accent",
1286
+ "alert",
1287
+ "positive",
1288
+ "warning"
1289
+ ];
1290
+ var buttonSizes = [
1291
+ "sm",
1292
+ "md",
1293
+ "lg"
1294
+ ];
1295
+ var buttonStates = [
1296
+ "hover",
1297
+ "pressed"
1298
+ ];
1299
+ var buttonKinds = [
1300
+ "fill",
1301
+ "outline",
1302
+ "ghost"
1303
+ ];
1304
+ var buttonIconSvgSize = "sm";
1305
+ var buttonColorProperties = [
1306
+ "backgroundColor",
1307
+ "borderColor",
1308
+ "color"
1309
+ ];
1310
+ var buttonSizeProperties = [
1311
+ "spacingHorizontal",
1312
+ "spacingVertical",
1313
+ "gap",
1314
+ "iconSize",
1315
+ "textVariant"
1316
+ ];
1317
+ var buttonMotionProperties = [
1318
+ "toString",
1319
+ "charAt",
1320
+ "charCodeAt",
1321
+ "concat",
1322
+ "indexOf",
1323
+ "lastIndexOf",
1324
+ "localeCompare",
1325
+ "match",
1326
+ "replace",
1327
+ "search",
1328
+ "slice",
1329
+ "split",
1330
+ "substring",
1331
+ "toLowerCase",
1332
+ "toLocaleLowerCase",
1333
+ "toUpperCase",
1334
+ "toLocaleUpperCase",
1335
+ "trim",
1336
+ "length",
1337
+ "substr",
1338
+ "valueOf",
1339
+ "codePointAt",
1340
+ "includes",
1341
+ "endsWith",
1342
+ "normalize",
1343
+ "repeat",
1344
+ "startsWith",
1345
+ "anchor",
1346
+ "big",
1347
+ "blink",
1348
+ "bold",
1349
+ "fixed",
1350
+ "fontcolor",
1351
+ "fontsize",
1352
+ "italics",
1353
+ "link",
1354
+ "small",
1355
+ "strike",
1356
+ "sub",
1357
+ "sup",
1358
+ "padStart",
1359
+ "padEnd",
1360
+ "trimEnd",
1361
+ "trimStart",
1362
+ "trimLeft",
1363
+ "trimRight",
1364
+ "matchAll",
1365
+ "replaceAll",
1366
+ "at",
1367
+ "isWellFormed",
1368
+ "toWellFormed",
1369
+ "__@iterator@53"
1370
+ ];
1371
+ var buttonMotionEffects = [
1372
+ "none",
1373
+ "up",
1374
+ "down"
1375
+ ];
1376
+ var buttonClassNames = [
1377
+ "uds-button-brand",
1378
+ "uds-button-accent",
1379
+ "uds-button-alert",
1380
+ "uds-button-positive",
1381
+ "uds-button-warning",
1382
+ "uds-button-primary",
1383
+ "uds-button-secondary",
1384
+ "uds-button-tertiary",
1385
+ "uds-button-sm",
1386
+ "uds-button-md",
1387
+ "uds-button-lg",
1388
+ "uds-button"
1389
+ ];
1390
+ var iconButtonSizes = [
1391
+ "xs",
1392
+ "sm",
1393
+ "md",
1394
+ "lg",
1395
+ "xl"
1396
+ ];
1397
+ var iconButtonClassNames = [
1398
+ "uds-icon-button-xs",
1399
+ "uds-icon-button-sm",
1400
+ "uds-icon-button-md",
1401
+ "uds-icon-button-lg",
1402
+ "uds-icon-button-xl",
1403
+ "uds-icon-button"
1404
+ ];
1405
+ var motionVariants = [
1406
+ "damped",
1407
+ "smooth",
1408
+ "subtle",
1409
+ "bouncy",
1410
+ "veryBouncy"
1411
+ ];
1412
+ var motionVariantSpeeds = [
1413
+ "1",
1414
+ "2",
1415
+ "3",
1416
+ "4"
1417
+ ];
1418
+ var motionSpringConfig = [
1419
+ "damping",
1420
+ "stiffness"
1421
+ ];
1422
+ var motionSpringConfigOptions = [
1423
+ "damping",
1424
+ "stiffness"
1425
+ ];
1426
+ var scaleEffectMap = {
1427
+ none: {
1428
+ xs: "1",
1429
+ sm: "1",
1430
+ md: "1",
1431
+ lg: "1",
1432
+ xl: "1"
1433
+ },
1434
+ up: {
1435
+ xs: "1.0125",
1436
+ sm: "1.03",
1437
+ md: "1.125",
1438
+ lg: "1.25",
1439
+ xl: "2"
1440
+ },
1441
+ down: {
1442
+ xs: "0.9875",
1443
+ sm: "0.97",
1444
+ md: "0.875",
1445
+ lg: "0.75",
1446
+ xl: "0.5"
1447
+ }
1448
+ };
1449
+ export { tshirtSizes, textVariants, textTransforms, textProperties, tailwindColorsAsUds, spectrumColors, spacingMap, spacingAliases, scaleModes, scaleEffectMap, regionModes, palette, motionVariants, motionVariantSpeeds, motionSpringConfigOptions, motionSpringConfig, linePaletteColors, lineHeightRamp, lineColors, iconVariants, iconSizes, iconButtonSizes, iconButtonClassNames, hues, hueSteps, foregroundPaletteColors, foregroundColors, fontWeights, fontUrls, fontSizeRamp, fontIds, fontAliases, corePaletteColors, colorModes, buttonVariants, buttonStates, buttonSizes, buttonSizeProperties, buttonPalettes, buttonMotionProperties, buttonMotionEffects, buttonKinds, buttonIconSvgSize, buttonColorProperties, buttonClassNames, borderWidths, borderWidthRamp, borderRadiusRamp, borderRadii, backgroundPaletteColors, backgroundColors, avatarSizes, avatarShapes, alwaysPaletteAliases };