@yahoo/uds 1.1.8 → 1.3.0

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