@yahoo/uds 2.11.0 → 3.0.0

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.
Files changed (115) hide show
  1. package/cli/ButtonFile2.mock.tsx +11 -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 +1 -1
  6. package/cli/codemods/addCommentAboveComponents.ts +9 -3
  7. package/cli/codemods/flattenButtonVariant.ts +143 -0
  8. package/cli/codemods/utils/index.ts +1 -1
  9. package/cli/commands/codemod/flattenButtonVariant.ts +16 -0
  10. package/cli/commands/expo/_setup.ts +1 -0
  11. package/cli/commands/sync.ts +3 -0
  12. package/cli/preload.ts +1 -0
  13. package/cli/tailwindcss.d.ts +2 -0
  14. package/cli/tsconfig.json +30 -8
  15. package/cli/utils/auth.ts +1 -0
  16. package/cli/utils/configWorker.ts +11 -3
  17. package/cli/utils/purgeCSS.ts +21 -9
  18. package/cli/utils/setupConfigWorker.ts +2 -2
  19. package/cli/utils/sortKeys.ts +5 -0
  20. package/cli/utils/types.ts +3 -1
  21. package/dist/{Text-UCDorZDD.d.cts → Text-yeQcITg9.d.cts} +30 -69
  22. package/dist/{Text-UCDorZDD.d.ts → Text-yeQcITg9.d.ts} +30 -69
  23. package/dist/VStack-CJs5afN8.d.ts +145 -0
  24. package/dist/VStack-GpQHE4xQ.d.cts +145 -0
  25. package/dist/chunk-4G4TBHHL.js +2 -0
  26. package/dist/chunk-6CVEYTLQ.js +2 -0
  27. package/dist/chunk-6XNKVFUM.cjs +2 -0
  28. package/dist/chunk-AFPPCX7S.js +2 -0
  29. package/dist/chunk-BNLUH23E.cjs +1 -0
  30. package/dist/chunk-EWJ3J526.js +2 -0
  31. package/dist/chunk-FOX6Q5GR.cjs +1 -0
  32. package/dist/chunk-HTL6WRXY.cjs +1 -0
  33. package/dist/chunk-J7PUOUXC.cjs +1 -0
  34. package/dist/chunk-N3FKHXEJ.js +2 -0
  35. package/dist/chunk-NUEZVMWZ.cjs +1 -0
  36. package/dist/chunk-O26JIFUR.cjs +3 -0
  37. package/dist/chunk-S5UKKXRV.js +2 -0
  38. package/dist/chunk-WCB4EHGZ.js +3 -0
  39. package/dist/client/index.cjs +2 -2
  40. package/dist/client/index.d.cts +913 -21
  41. package/dist/client/index.d.ts +913 -21
  42. package/dist/client/index.js +3 -3
  43. package/dist/experimental/client/index.cjs +2 -2
  44. package/dist/experimental/client/index.d.cts +14 -49
  45. package/dist/experimental/client/index.d.ts +14 -49
  46. package/dist/experimental/client/index.js +2 -2
  47. package/dist/experimental/index.cjs +2 -2
  48. package/dist/experimental/index.d.cts +4 -55
  49. package/dist/experimental/index.d.ts +4 -55
  50. package/dist/experimental/index.js +1 -1
  51. package/dist/fixtures.cjs +1546 -55
  52. package/dist/fixtures.d.cts +33 -14
  53. package/dist/fixtures.d.ts +33 -14
  54. package/dist/fixtures.js +1519 -49
  55. package/dist/index-CU_UPAew.d.ts +202 -0
  56. package/dist/index-DUFUMc1S.d.cts +202 -0
  57. package/dist/index.cjs +1 -1
  58. package/dist/index.d.cts +245 -128
  59. package/dist/index.d.ts +245 -128
  60. package/dist/index.js +1 -1
  61. package/dist/metafile-cjs.json +1 -1
  62. package/dist/metafile-esm.json +1 -1
  63. package/dist/tailwind/plugin.cjs +1 -2
  64. package/dist/tailwind/plugin.d.cts +19 -5
  65. package/dist/tailwind/plugin.d.ts +19 -5
  66. package/dist/tailwind/plugin.js +2 -2
  67. package/dist/tailwind/purger.cjs +1 -1
  68. package/dist/tailwind/purger.js +2 -2
  69. package/dist/tailwind/tsMorph.cjs +1 -1
  70. package/dist/tailwind/tsMorph.js +1 -1
  71. package/dist/tailwind/utils.cjs +1 -1
  72. package/dist/tailwind/utils.d.cts +80 -28
  73. package/dist/tailwind/utils.d.ts +80 -28
  74. package/dist/tailwind/utils.js +1 -1
  75. package/dist/tokens/automation/configs.cjs +1 -0
  76. package/dist/tokens/automation/configs.d.cts +110 -0
  77. package/dist/tokens/automation/configs.d.ts +110 -0
  78. package/dist/tokens/automation/configs.js +1 -0
  79. package/dist/tokens/automation/properties.cjs +1 -0
  80. package/dist/tokens/automation/properties.d.cts +7 -0
  81. package/dist/tokens/automation/properties.d.ts +7 -0
  82. package/dist/tokens/automation/properties.js +1 -0
  83. package/dist/tokens/index.cjs +1 -1
  84. package/dist/tokens/index.d.cts +9355 -15
  85. package/dist/tokens/index.d.ts +9355 -15
  86. package/dist/tokens/index.js +1 -1
  87. package/dist/tokens/parseTokens.cjs +1 -1
  88. package/dist/tokens/parseTokens.d.cts +7 -23
  89. package/dist/tokens/parseTokens.d.ts +7 -23
  90. package/dist/tokens/parseTokens.js +1 -1
  91. package/dist/types-d2CfR7zp.d.cts +10245 -0
  92. package/dist/types-d2CfR7zp.d.ts +10245 -0
  93. package/package.json +15 -2
  94. package/dist/chunk-3G7IRLGN.js +0 -2
  95. package/dist/chunk-5WBROFT5.cjs +0 -1
  96. package/dist/chunk-6453EQCC.cjs +0 -1
  97. package/dist/chunk-7QHJ6LHA.js +0 -1
  98. package/dist/chunk-EYFQOFYW.cjs +0 -1
  99. package/dist/chunk-FWF2C6TL.cjs +0 -1
  100. package/dist/chunk-FYVGDNGL.js +0 -2
  101. package/dist/chunk-GIJ2FHY5.cjs +0 -1
  102. package/dist/chunk-GL5JI7EX.cjs +0 -2
  103. package/dist/chunk-MOUM7BAW.js +0 -2
  104. package/dist/chunk-PE2P7J44.js +0 -2
  105. package/dist/chunk-RXSJCGB3.cjs +0 -1
  106. package/dist/chunk-SUASN3GG.js +0 -2
  107. package/dist/chunk-U2K4DT7E.js +0 -3
  108. package/dist/chunk-VPR62GYQ.js +0 -2
  109. package/dist/chunk-WJ55DEUW.cjs +0 -2
  110. package/dist/chunk-X6F5UEQ5.js +0 -2
  111. package/dist/chunk-XZCEFUNX.cjs +0 -2
  112. package/dist/types-DPT0rst4.d.cts +0 -991
  113. package/dist/types-DPT0rst4.d.ts +0 -991
  114. /package/dist/{motionFeatures-HQUM526D.cjs → motionFeatures-6LIGGXPL.cjs} +0 -0
  115. /package/dist/{motionFeatures-PRT45UQH.js → motionFeatures-SJISLQ4M.js} +0 -0
package/dist/fixtures.cjs CHANGED
@@ -1,7 +1,597 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- 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.spacingAliasesWithNegatives = exports.spacingMap = exports.spacingMapWithNegatives = exports.spectrumColors = exports.tailwindColorsAsUds = exports.textProperties = exports.textTransforms = exports.textVariants = exports.tshirtSizes = void 0;
4
- exports.alwaysPaletteAliases = exports.avatarShapes = exports.avatarSizes = exports.backgroundColors = exports.backgroundPaletteColors = exports.borderRadii = void 0;
3
+ exports.checkboxSizes = exports.checkboxVariants = exports.chipSizes = exports.chipVariants = exports.colorModes = 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.inputSizes = exports.lineColors = exports.lineHeightRamp = exports.linePaletteColors = exports.motionSpringConfig = exports.motionSpringConfigOptions = exports.motionVariantSpeeds = exports.motionVariants = exports.palette = exports.regionModes = exports.scaleEffectMap = exports.scaleModes = exports.shadowColors = exports.shadowOffsetMap = exports.shadowOffsets = exports.shadowOpacities = exports.shadowOpacityMap = exports.shadowPaletteColors = exports.shadowSpreadRadii = exports.shadowSpreadRadiusMap = exports.shadowVariants = exports.shadowVariantsInvert = exports.shadowVariantsWithInvert = exports.spacingAliases = exports.spacingMap = exports.spectrumColors = exports.switchSizes = exports.tailwindColorsAsUds = exports.textProperties = exports.textTransforms = exports.textVariants = exports.tshirtSizes = void 0;
4
+ exports.alwaysPaletteAliases = exports.avatarShapes = exports.avatarSizes = exports.backgroundColors = exports.backgroundPaletteColors = exports.badgeSizes = exports.badgeVariants = 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.buttonVariantsFlat = exports.buttonVariantsPrimary = exports.buttonVariantsSecondary = exports.buttonVariantsTertiary = void 0;
5
+ exports.sortPalette = sortPalette;
6
+ // ../../node_modules/lodash-es/_freeGlobal.js
7
+ var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
8
+ var _freeGlobal_default = freeGlobal;
9
+ // ../../node_modules/lodash-es/_root.js
10
+ var freeSelf = typeof self == "object" && self && self.Object === Object && self;
11
+ var root = _freeGlobal_default || freeSelf || Function("return this")();
12
+ var _root_default = root;
13
+ // ../../node_modules/lodash-es/_Symbol.js
14
+ var Symbol = _root_default.Symbol;
15
+ var _Symbol_default = Symbol;
16
+ // ../../node_modules/lodash-es/_getRawTag.js
17
+ var objectProto = Object.prototype;
18
+ var hasOwnProperty = objectProto.hasOwnProperty;
19
+ var nativeObjectToString = objectProto.toString;
20
+ var symToStringTag = _Symbol_default ? _Symbol_default.toStringTag : undefined;
21
+ function getRawTag(value) {
22
+ var isOwn = hasOwnProperty.call(value, symToStringTag), tag = value[symToStringTag];
23
+ try {
24
+ value[symToStringTag] = undefined;
25
+ var unmasked = true;
26
+ }
27
+ catch (e) { }
28
+ var result = nativeObjectToString.call(value);
29
+ if (unmasked) {
30
+ if (isOwn) {
31
+ value[symToStringTag] = tag;
32
+ }
33
+ else {
34
+ delete value[symToStringTag];
35
+ }
36
+ }
37
+ return result;
38
+ }
39
+ var _getRawTag_default = getRawTag;
40
+ // ../../node_modules/lodash-es/_objectToString.js
41
+ var objectProto2 = Object.prototype;
42
+ var nativeObjectToString2 = objectProto2.toString;
43
+ function objectToString(value) {
44
+ return nativeObjectToString2.call(value);
45
+ }
46
+ var _objectToString_default = objectToString;
47
+ // ../../node_modules/lodash-es/_baseGetTag.js
48
+ var nullTag = "[object Null]";
49
+ var undefinedTag = "[object Undefined]";
50
+ var symToStringTag2 = _Symbol_default ? _Symbol_default.toStringTag : undefined;
51
+ function baseGetTag(value) {
52
+ if (value == null) {
53
+ return value === undefined ? undefinedTag : nullTag;
54
+ }
55
+ return symToStringTag2 && symToStringTag2 in Object(value) ? _getRawTag_default(value) : _objectToString_default(value);
56
+ }
57
+ var _baseGetTag_default = baseGetTag;
58
+ // ../../node_modules/lodash-es/isObjectLike.js
59
+ function isObjectLike(value) {
60
+ return value != null && typeof value == "object";
61
+ }
62
+ var isObjectLike_default = isObjectLike;
63
+ // ../../node_modules/lodash-es/_arrayMap.js
64
+ function arrayMap(array, iteratee) {
65
+ var index = -1, length = array == null ? 0 : array.length, result = Array(length);
66
+ while (++index < length) {
67
+ result[index] = iteratee(array[index], index, array);
68
+ }
69
+ return result;
70
+ }
71
+ var _arrayMap_default = arrayMap;
72
+ // ../../node_modules/lodash-es/isObject.js
73
+ function isObject(value) {
74
+ var type = typeof value;
75
+ return value != null && (type == "object" || type == "function");
76
+ }
77
+ var isObject_default = isObject;
78
+ // ../../node_modules/lodash-es/identity.js
79
+ function identity(value) {
80
+ return value;
81
+ }
82
+ var identity_default = identity;
83
+ // ../../node_modules/lodash-es/isFunction.js
84
+ var asyncTag = "[object AsyncFunction]";
85
+ var funcTag = "[object Function]";
86
+ var genTag = "[object GeneratorFunction]";
87
+ var proxyTag = "[object Proxy]";
88
+ function isFunction(value) {
89
+ if (!isObject_default(value)) {
90
+ return false;
91
+ }
92
+ var tag = _baseGetTag_default(value);
93
+ return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
94
+ }
95
+ var isFunction_default = isFunction;
96
+ // ../../node_modules/lodash-es/_coreJsData.js
97
+ var coreJsData = _root_default["__core-js_shared__"];
98
+ var _coreJsData_default = coreJsData;
99
+ // ../../node_modules/lodash-es/_isMasked.js
100
+ var maskSrcKey = function () {
101
+ var uid = /[^.]+$/.exec(_coreJsData_default && _coreJsData_default.keys && _coreJsData_default.keys.IE_PROTO || "");
102
+ return uid ? "Symbol(src)_1." + uid : "";
103
+ }();
104
+ function isMasked(func) {
105
+ return !!maskSrcKey && maskSrcKey in func;
106
+ }
107
+ var _isMasked_default = isMasked;
108
+ // ../../node_modules/lodash-es/_toSource.js
109
+ var funcProto = Function.prototype;
110
+ var funcToString = funcProto.toString;
111
+ function toSource(func) {
112
+ if (func != null) {
113
+ try {
114
+ return funcToString.call(func);
115
+ }
116
+ catch (e) { }
117
+ try {
118
+ return func + "";
119
+ }
120
+ catch (e) { }
121
+ }
122
+ return "";
123
+ }
124
+ var _toSource_default = toSource;
125
+ // ../../node_modules/lodash-es/_baseIsNative.js
126
+ var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
127
+ var reIsHostCtor = /^\[object .+?Constructor\]$/;
128
+ var funcProto2 = Function.prototype;
129
+ var objectProto3 = Object.prototype;
130
+ var funcToString2 = funcProto2.toString;
131
+ var hasOwnProperty2 = objectProto3.hasOwnProperty;
132
+ var reIsNative = RegExp("^" + funcToString2.call(hasOwnProperty2).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$");
133
+ function baseIsNative(value) {
134
+ if (!isObject_default(value) || _isMasked_default(value)) {
135
+ return false;
136
+ }
137
+ var pattern = isFunction_default(value) ? reIsNative : reIsHostCtor;
138
+ return pattern.test(_toSource_default(value));
139
+ }
140
+ var _baseIsNative_default = baseIsNative;
141
+ // ../../node_modules/lodash-es/_getValue.js
142
+ function getValue(object, key) {
143
+ return object == null ? undefined : object[key];
144
+ }
145
+ var _getValue_default = getValue;
146
+ // ../../node_modules/lodash-es/_getNative.js
147
+ function getNative(object, key) {
148
+ var value = _getValue_default(object, key);
149
+ return _baseIsNative_default(value) ? value : undefined;
150
+ }
151
+ var _getNative_default = getNative;
152
+ // ../../node_modules/lodash-es/_apply.js
153
+ function apply(func, thisArg, args) {
154
+ switch (args.length) {
155
+ case 0:
156
+ return func.call(thisArg);
157
+ case 1:
158
+ return func.call(thisArg, args[0]);
159
+ case 2:
160
+ return func.call(thisArg, args[0], args[1]);
161
+ case 3:
162
+ return func.call(thisArg, args[0], args[1], args[2]);
163
+ }
164
+ return func.apply(thisArg, args);
165
+ }
166
+ var _apply_default = apply;
167
+ // ../../node_modules/lodash-es/_shortOut.js
168
+ var HOT_COUNT = 800;
169
+ var HOT_SPAN = 16;
170
+ var nativeNow = Date.now;
171
+ function shortOut(func) {
172
+ var count = 0, lastCalled = 0;
173
+ return function () {
174
+ var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
175
+ lastCalled = stamp;
176
+ if (remaining > 0) {
177
+ if (++count >= HOT_COUNT) {
178
+ return arguments[0];
179
+ }
180
+ }
181
+ else {
182
+ count = 0;
183
+ }
184
+ return func.apply(undefined, arguments);
185
+ };
186
+ }
187
+ var _shortOut_default = shortOut;
188
+ // ../../node_modules/lodash-es/constant.js
189
+ function constant(value) {
190
+ return function () {
191
+ return value;
192
+ };
193
+ }
194
+ var constant_default = constant;
195
+ // ../../node_modules/lodash-es/_defineProperty.js
196
+ var defineProperty = function () {
197
+ try {
198
+ var func = _getNative_default(Object, "defineProperty");
199
+ func({}, "", {});
200
+ return func;
201
+ }
202
+ catch (e) { }
203
+ }();
204
+ var _defineProperty_default = defineProperty;
205
+ // ../../node_modules/lodash-es/_baseSetToString.js
206
+ var baseSetToString = !_defineProperty_default ? identity_default : function (func, string) {
207
+ return _defineProperty_default(func, "toString", {
208
+ configurable: true,
209
+ enumerable: false,
210
+ value: constant_default(string),
211
+ writable: true
212
+ });
213
+ };
214
+ var _baseSetToString_default = baseSetToString;
215
+ // ../../node_modules/lodash-es/_setToString.js
216
+ var setToString = _shortOut_default(_baseSetToString_default);
217
+ var _setToString_default = setToString;
218
+ // ../../node_modules/lodash-es/_baseFindIndex.js
219
+ function baseFindIndex(array, predicate, fromIndex, fromRight) {
220
+ var length = array.length, index = fromIndex + (fromRight ? 1 : -1);
221
+ while (fromRight ? index-- : ++index < length) {
222
+ if (predicate(array[index], index, array)) {
223
+ return index;
224
+ }
225
+ }
226
+ return -1;
227
+ }
228
+ var _baseFindIndex_default = baseFindIndex;
229
+ // ../../node_modules/lodash-es/_baseIsNaN.js
230
+ function baseIsNaN(value) {
231
+ return value !== value;
232
+ }
233
+ var _baseIsNaN_default = baseIsNaN;
234
+ // ../../node_modules/lodash-es/_strictIndexOf.js
235
+ function strictIndexOf(array, value, fromIndex) {
236
+ var index = fromIndex - 1, length = array.length;
237
+ while (++index < length) {
238
+ if (array[index] === value) {
239
+ return index;
240
+ }
241
+ }
242
+ return -1;
243
+ }
244
+ var _strictIndexOf_default = strictIndexOf;
245
+ // ../../node_modules/lodash-es/_baseIndexOf.js
246
+ function baseIndexOf(array, value, fromIndex) {
247
+ return value === value ? _strictIndexOf_default(array, value, fromIndex) : _baseFindIndex_default(array, _baseIsNaN_default, fromIndex);
248
+ }
249
+ var _baseIndexOf_default = baseIndexOf;
250
+ // ../../node_modules/lodash-es/_arrayIncludes.js
251
+ function arrayIncludes(array, value) {
252
+ var length = array == null ? 0 : array.length;
253
+ return !!length && _baseIndexOf_default(array, value, 0) > -1;
254
+ }
255
+ var _arrayIncludes_default = arrayIncludes;
256
+ // ../../node_modules/lodash-es/eq.js
257
+ function eq(value, other) {
258
+ return value === other || value !== value && other !== other;
259
+ }
260
+ var eq_default = eq;
261
+ // ../../node_modules/lodash-es/_overRest.js
262
+ var nativeMax = Math.max;
263
+ function overRest(func, start, transform) {
264
+ start = nativeMax(start === undefined ? func.length - 1 : start, 0);
265
+ return function () {
266
+ var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
267
+ while (++index < length) {
268
+ array[index] = args[start + index];
269
+ }
270
+ index = -1;
271
+ var otherArgs = Array(start + 1);
272
+ while (++index < start) {
273
+ otherArgs[index] = args[index];
274
+ }
275
+ otherArgs[start] = transform(array);
276
+ return _apply_default(func, this, otherArgs);
277
+ };
278
+ }
279
+ var _overRest_default = overRest;
280
+ // ../../node_modules/lodash-es/_baseRest.js
281
+ function baseRest(func, start) {
282
+ return _setToString_default(_overRest_default(func, start, identity_default), func + "");
283
+ }
284
+ var _baseRest_default = baseRest;
285
+ // ../../node_modules/lodash-es/isLength.js
286
+ var MAX_SAFE_INTEGER = 9007199254740991;
287
+ function isLength(value) {
288
+ return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
289
+ }
290
+ var isLength_default = isLength;
291
+ // ../../node_modules/lodash-es/isArrayLike.js
292
+ function isArrayLike(value) {
293
+ return value != null && isLength_default(value.length) && !isFunction_default(value);
294
+ }
295
+ var isArrayLike_default = isArrayLike;
296
+ // ../../node_modules/lodash-es/_baseUnary.js
297
+ function baseUnary(func) {
298
+ return function (value) {
299
+ return func(value);
300
+ };
301
+ }
302
+ var _baseUnary_default = baseUnary;
303
+ // ../../node_modules/lodash-es/_nativeCreate.js
304
+ var nativeCreate = _getNative_default(Object, "create");
305
+ var _nativeCreate_default = nativeCreate;
306
+ // ../../node_modules/lodash-es/_hashClear.js
307
+ function hashClear() {
308
+ this.__data__ = _nativeCreate_default ? _nativeCreate_default(null) : {};
309
+ this.size = 0;
310
+ }
311
+ var _hashClear_default = hashClear;
312
+ // ../../node_modules/lodash-es/_hashDelete.js
313
+ function hashDelete(key) {
314
+ var result = this.has(key) && delete this.__data__[key];
315
+ this.size -= result ? 1 : 0;
316
+ return result;
317
+ }
318
+ var _hashDelete_default = hashDelete;
319
+ // ../../node_modules/lodash-es/_hashGet.js
320
+ var HASH_UNDEFINED = "__lodash_hash_undefined__";
321
+ var objectProto4 = Object.prototype;
322
+ var hasOwnProperty3 = objectProto4.hasOwnProperty;
323
+ function hashGet(key) {
324
+ var data = this.__data__;
325
+ if (_nativeCreate_default) {
326
+ var result = data[key];
327
+ return result === HASH_UNDEFINED ? undefined : result;
328
+ }
329
+ return hasOwnProperty3.call(data, key) ? data[key] : undefined;
330
+ }
331
+ var _hashGet_default = hashGet;
332
+ // ../../node_modules/lodash-es/_hashHas.js
333
+ var objectProto5 = Object.prototype;
334
+ var hasOwnProperty4 = objectProto5.hasOwnProperty;
335
+ function hashHas(key) {
336
+ var data = this.__data__;
337
+ return _nativeCreate_default ? data[key] !== undefined : hasOwnProperty4.call(data, key);
338
+ }
339
+ var _hashHas_default = hashHas;
340
+ // ../../node_modules/lodash-es/_hashSet.js
341
+ var HASH_UNDEFINED2 = "__lodash_hash_undefined__";
342
+ function hashSet(key, value) {
343
+ var data = this.__data__;
344
+ this.size += this.has(key) ? 0 : 1;
345
+ data[key] = _nativeCreate_default && value === undefined ? HASH_UNDEFINED2 : value;
346
+ return this;
347
+ }
348
+ var _hashSet_default = hashSet;
349
+ // ../../node_modules/lodash-es/_Hash.js
350
+ function Hash(entries) {
351
+ var index = -1, length = entries == null ? 0 : entries.length;
352
+ this.clear();
353
+ while (++index < length) {
354
+ var entry = entries[index];
355
+ this.set(entry[0], entry[1]);
356
+ }
357
+ }
358
+ Hash.prototype.clear = _hashClear_default;
359
+ Hash.prototype["delete"] = _hashDelete_default;
360
+ Hash.prototype.get = _hashGet_default;
361
+ Hash.prototype.has = _hashHas_default;
362
+ Hash.prototype.set = _hashSet_default;
363
+ var _Hash_default = Hash;
364
+ // ../../node_modules/lodash-es/_listCacheClear.js
365
+ function listCacheClear() {
366
+ this.__data__ = [];
367
+ this.size = 0;
368
+ }
369
+ var _listCacheClear_default = listCacheClear;
370
+ // ../../node_modules/lodash-es/_assocIndexOf.js
371
+ function assocIndexOf(array, key) {
372
+ var length = array.length;
373
+ while (length--) {
374
+ if (eq_default(array[length][0], key)) {
375
+ return length;
376
+ }
377
+ }
378
+ return -1;
379
+ }
380
+ var _assocIndexOf_default = assocIndexOf;
381
+ // ../../node_modules/lodash-es/_listCacheDelete.js
382
+ var arrayProto = Array.prototype;
383
+ var splice = arrayProto.splice;
384
+ function listCacheDelete(key) {
385
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
386
+ if (index < 0) {
387
+ return false;
388
+ }
389
+ var lastIndex = data.length - 1;
390
+ if (index == lastIndex) {
391
+ data.pop();
392
+ }
393
+ else {
394
+ splice.call(data, index, 1);
395
+ }
396
+ --this.size;
397
+ return true;
398
+ }
399
+ var _listCacheDelete_default = listCacheDelete;
400
+ // ../../node_modules/lodash-es/_listCacheGet.js
401
+ function listCacheGet(key) {
402
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
403
+ return index < 0 ? undefined : data[index][1];
404
+ }
405
+ var _listCacheGet_default = listCacheGet;
406
+ // ../../node_modules/lodash-es/_listCacheHas.js
407
+ function listCacheHas(key) {
408
+ return _assocIndexOf_default(this.__data__, key) > -1;
409
+ }
410
+ var _listCacheHas_default = listCacheHas;
411
+ // ../../node_modules/lodash-es/_listCacheSet.js
412
+ function listCacheSet(key, value) {
413
+ var data = this.__data__, index = _assocIndexOf_default(data, key);
414
+ if (index < 0) {
415
+ ++this.size;
416
+ data.push([key, value]);
417
+ }
418
+ else {
419
+ data[index][1] = value;
420
+ }
421
+ return this;
422
+ }
423
+ var _listCacheSet_default = listCacheSet;
424
+ // ../../node_modules/lodash-es/_ListCache.js
425
+ function ListCache(entries) {
426
+ var index = -1, length = entries == null ? 0 : entries.length;
427
+ this.clear();
428
+ while (++index < length) {
429
+ var entry = entries[index];
430
+ this.set(entry[0], entry[1]);
431
+ }
432
+ }
433
+ ListCache.prototype.clear = _listCacheClear_default;
434
+ ListCache.prototype["delete"] = _listCacheDelete_default;
435
+ ListCache.prototype.get = _listCacheGet_default;
436
+ ListCache.prototype.has = _listCacheHas_default;
437
+ ListCache.prototype.set = _listCacheSet_default;
438
+ var _ListCache_default = ListCache;
439
+ // ../../node_modules/lodash-es/_Map.js
440
+ var Map = _getNative_default(_root_default, "Map");
441
+ var _Map_default = Map;
442
+ // ../../node_modules/lodash-es/_mapCacheClear.js
443
+ function mapCacheClear() {
444
+ this.size = 0;
445
+ this.__data__ = {
446
+ hash: new _Hash_default,
447
+ map: new (_Map_default || _ListCache_default),
448
+ string: new _Hash_default
449
+ };
450
+ }
451
+ var _mapCacheClear_default = mapCacheClear;
452
+ // ../../node_modules/lodash-es/_isKeyable.js
453
+ function isKeyable(value) {
454
+ var type = typeof value;
455
+ return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
456
+ }
457
+ var _isKeyable_default = isKeyable;
458
+ // ../../node_modules/lodash-es/_getMapData.js
459
+ function getMapData(map, key) {
460
+ var data = map.__data__;
461
+ return _isKeyable_default(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
462
+ }
463
+ var _getMapData_default = getMapData;
464
+ // ../../node_modules/lodash-es/_mapCacheDelete.js
465
+ function mapCacheDelete(key) {
466
+ var result = _getMapData_default(this, key)["delete"](key);
467
+ this.size -= result ? 1 : 0;
468
+ return result;
469
+ }
470
+ var _mapCacheDelete_default = mapCacheDelete;
471
+ // ../../node_modules/lodash-es/_mapCacheGet.js
472
+ function mapCacheGet(key) {
473
+ return _getMapData_default(this, key).get(key);
474
+ }
475
+ var _mapCacheGet_default = mapCacheGet;
476
+ // ../../node_modules/lodash-es/_mapCacheHas.js
477
+ function mapCacheHas(key) {
478
+ return _getMapData_default(this, key).has(key);
479
+ }
480
+ var _mapCacheHas_default = mapCacheHas;
481
+ // ../../node_modules/lodash-es/_mapCacheSet.js
482
+ function mapCacheSet(key, value) {
483
+ var data = _getMapData_default(this, key), size = data.size;
484
+ data.set(key, value);
485
+ this.size += data.size == size ? 0 : 1;
486
+ return this;
487
+ }
488
+ var _mapCacheSet_default = mapCacheSet;
489
+ // ../../node_modules/lodash-es/_MapCache.js
490
+ function MapCache(entries) {
491
+ var index = -1, length = entries == null ? 0 : entries.length;
492
+ this.clear();
493
+ while (++index < length) {
494
+ var entry = entries[index];
495
+ this.set(entry[0], entry[1]);
496
+ }
497
+ }
498
+ MapCache.prototype.clear = _mapCacheClear_default;
499
+ MapCache.prototype["delete"] = _mapCacheDelete_default;
500
+ MapCache.prototype.get = _mapCacheGet_default;
501
+ MapCache.prototype.has = _mapCacheHas_default;
502
+ MapCache.prototype.set = _mapCacheSet_default;
503
+ var _MapCache_default = MapCache;
504
+ // ../../node_modules/lodash-es/_setCacheAdd.js
505
+ var HASH_UNDEFINED3 = "__lodash_hash_undefined__";
506
+ function setCacheAdd(value) {
507
+ this.__data__.set(value, HASH_UNDEFINED3);
508
+ return this;
509
+ }
510
+ var _setCacheAdd_default = setCacheAdd;
511
+ // ../../node_modules/lodash-es/_setCacheHas.js
512
+ function setCacheHas(value) {
513
+ return this.__data__.has(value);
514
+ }
515
+ var _setCacheHas_default = setCacheHas;
516
+ // ../../node_modules/lodash-es/_SetCache.js
517
+ function SetCache(values) {
518
+ var index = -1, length = values == null ? 0 : values.length;
519
+ this.__data__ = new _MapCache_default;
520
+ while (++index < length) {
521
+ this.add(values[index]);
522
+ }
523
+ }
524
+ SetCache.prototype.add = SetCache.prototype.push = _setCacheAdd_default;
525
+ SetCache.prototype.has = _setCacheHas_default;
526
+ var _SetCache_default = SetCache;
527
+ // ../../node_modules/lodash-es/_cacheHas.js
528
+ function cacheHas(cache, key) {
529
+ return cache.has(key);
530
+ }
531
+ var _cacheHas_default = cacheHas;
532
+ // ../../node_modules/lodash-es/isArrayLikeObject.js
533
+ function isArrayLikeObject(value) {
534
+ return isObjectLike_default(value) && isArrayLike_default(value);
535
+ }
536
+ var isArrayLikeObject_default = isArrayLikeObject;
537
+ // ../../node_modules/lodash-es/_arrayIncludesWith.js
538
+ function arrayIncludesWith(array, value, comparator) {
539
+ var index = -1, length = array == null ? 0 : array.length;
540
+ while (++index < length) {
541
+ if (comparator(value, array[index])) {
542
+ return true;
543
+ }
544
+ }
545
+ return false;
546
+ }
547
+ var _arrayIncludesWith_default = arrayIncludesWith;
548
+ // ../../node_modules/lodash-es/_baseDifference.js
549
+ var LARGE_ARRAY_SIZE = 200;
550
+ function baseDifference(array, values, iteratee, comparator) {
551
+ var index = -1, includes = _arrayIncludes_default, isCommon = true, length = array.length, result = [], valuesLength = values.length;
552
+ if (!length) {
553
+ return result;
554
+ }
555
+ if (iteratee) {
556
+ values = _arrayMap_default(values, _baseUnary_default(iteratee));
557
+ }
558
+ if (comparator) {
559
+ includes = _arrayIncludesWith_default;
560
+ isCommon = false;
561
+ }
562
+ else if (values.length >= LARGE_ARRAY_SIZE) {
563
+ includes = _cacheHas_default;
564
+ isCommon = false;
565
+ values = new _SetCache_default(values);
566
+ }
567
+ outer: while (++index < length) {
568
+ var value = array[index], computed = iteratee == null ? value : iteratee(value);
569
+ value = comparator || value !== 0 ? value : 0;
570
+ if (isCommon && computed === computed) {
571
+ var valuesIndex = valuesLength;
572
+ while (valuesIndex--) {
573
+ if (values[valuesIndex] === computed) {
574
+ continue outer;
575
+ }
576
+ }
577
+ result.push(value);
578
+ }
579
+ else if (!includes(values, computed, comparator)) {
580
+ result.push(value);
581
+ }
582
+ }
583
+ return result;
584
+ }
585
+ var _baseDifference_default = baseDifference;
586
+ // ../../node_modules/lodash-es/without.js
587
+ var without = _baseRest_default(function (array, values) {
588
+ return isArrayLikeObject_default(array) ? _baseDifference_default(array, values) : [];
589
+ });
590
+ var without_default = without;
591
+ // src/tokens/utils/fromEntries.ts
592
+ function fromEntries(item) {
593
+ return Object.fromEntries(item);
594
+ }
5
595
  // src/fixtures/index.ts
6
596
  var colorModes = [
7
597
  "light",
@@ -390,22 +980,36 @@ var spectrumColors = [
390
980
  "carbon-15"
391
981
  ];
392
982
  exports.spectrumColors = spectrumColors;
393
- var corePaletteColors = [
394
- "brand",
983
+ var backgroundPaletteColors = [
984
+ "primary",
985
+ "secondary",
395
986
  "accent",
987
+ "brand",
396
988
  "alert",
397
989
  "positive",
398
- "warning"
399
- ];
400
- exports.corePaletteColors = corePaletteColors;
401
- var backgroundPaletteColors = [
402
- "primary",
403
- "secondary"
990
+ "warning",
991
+ "info",
992
+ "brand-secondary",
993
+ "alert-secondary",
994
+ "positive-secondary",
995
+ "warning-secondary",
996
+ "info-secondary"
404
997
  ];
405
998
  exports.backgroundPaletteColors = backgroundPaletteColors;
406
999
  var foregroundPaletteColors = [
407
1000
  "primary",
408
1001
  "secondary",
1002
+ "accent",
1003
+ "brand",
1004
+ "alert",
1005
+ "positive",
1006
+ "warning",
1007
+ "info",
1008
+ "brand-secondary",
1009
+ "alert-secondary",
1010
+ "positive-secondary",
1011
+ "warning-secondary",
1012
+ "info-secondary",
409
1013
  "tertiary",
410
1014
  "muted",
411
1015
  "on-color"
@@ -414,36 +1018,373 @@ exports.foregroundPaletteColors = foregroundPaletteColors;
414
1018
  var linePaletteColors = [
415
1019
  "primary",
416
1020
  "secondary",
417
- "tertiary",
418
- "muted"
419
- ];
420
- exports.linePaletteColors = linePaletteColors;
421
- var alwaysPaletteAliases = [
1021
+ "accent",
1022
+ "brand",
1023
+ "alert",
1024
+ "positive",
1025
+ "warning",
1026
+ "info",
1027
+ "brand-secondary",
1028
+ "alert-secondary",
1029
+ "positive-secondary",
1030
+ "warning-secondary",
1031
+ "info-secondary",
1032
+ "tertiary",
1033
+ "muted"
1034
+ ];
1035
+ exports.linePaletteColors = linePaletteColors;
1036
+ var alwaysPaletteAliases = [
1037
+ "transparent",
1038
+ "white",
1039
+ "black",
1040
+ "current"
1041
+ ];
1042
+ exports.alwaysPaletteAliases = alwaysPaletteAliases;
1043
+ var shadowPaletteColors = [
1044
+ "primary",
1045
+ "secondary"
1046
+ ];
1047
+ exports.shadowPaletteColors = shadowPaletteColors;
1048
+ var shadowColors = [
1049
+ "gray-0",
1050
+ "gray-1",
1051
+ "gray-2",
1052
+ "gray-3",
1053
+ "gray-4",
1054
+ "gray-5",
1055
+ "gray-6",
1056
+ "gray-7",
1057
+ "gray-8",
1058
+ "gray-9",
1059
+ "gray-10",
1060
+ "gray-11",
1061
+ "gray-12",
1062
+ "gray-13",
1063
+ "gray-14",
1064
+ "gray-15",
1065
+ "purple-0",
1066
+ "purple-1",
1067
+ "purple-2",
1068
+ "purple-3",
1069
+ "purple-4",
1070
+ "purple-5",
1071
+ "purple-6",
1072
+ "purple-7",
1073
+ "purple-8",
1074
+ "purple-9",
1075
+ "purple-10",
1076
+ "purple-11",
1077
+ "purple-12",
1078
+ "purple-13",
1079
+ "purple-14",
1080
+ "purple-15",
1081
+ "indigo-0",
1082
+ "indigo-1",
1083
+ "indigo-2",
1084
+ "indigo-3",
1085
+ "indigo-4",
1086
+ "indigo-5",
1087
+ "indigo-6",
1088
+ "indigo-7",
1089
+ "indigo-8",
1090
+ "indigo-9",
1091
+ "indigo-10",
1092
+ "indigo-11",
1093
+ "indigo-12",
1094
+ "indigo-13",
1095
+ "indigo-14",
1096
+ "indigo-15",
1097
+ "blue-0",
1098
+ "blue-1",
1099
+ "blue-2",
1100
+ "blue-3",
1101
+ "blue-4",
1102
+ "blue-5",
1103
+ "blue-6",
1104
+ "blue-7",
1105
+ "blue-8",
1106
+ "blue-9",
1107
+ "blue-10",
1108
+ "blue-11",
1109
+ "blue-12",
1110
+ "blue-13",
1111
+ "blue-14",
1112
+ "blue-15",
1113
+ "cyan-0",
1114
+ "cyan-1",
1115
+ "cyan-2",
1116
+ "cyan-3",
1117
+ "cyan-4",
1118
+ "cyan-5",
1119
+ "cyan-6",
1120
+ "cyan-7",
1121
+ "cyan-8",
1122
+ "cyan-9",
1123
+ "cyan-10",
1124
+ "cyan-11",
1125
+ "cyan-12",
1126
+ "cyan-13",
1127
+ "cyan-14",
1128
+ "cyan-15",
1129
+ "teal-0",
1130
+ "teal-1",
1131
+ "teal-2",
1132
+ "teal-3",
1133
+ "teal-4",
1134
+ "teal-5",
1135
+ "teal-6",
1136
+ "teal-7",
1137
+ "teal-8",
1138
+ "teal-9",
1139
+ "teal-10",
1140
+ "teal-11",
1141
+ "teal-12",
1142
+ "teal-13",
1143
+ "teal-14",
1144
+ "teal-15",
1145
+ "mint-0",
1146
+ "mint-1",
1147
+ "mint-2",
1148
+ "mint-3",
1149
+ "mint-4",
1150
+ "mint-5",
1151
+ "mint-6",
1152
+ "mint-7",
1153
+ "mint-8",
1154
+ "mint-9",
1155
+ "mint-10",
1156
+ "mint-11",
1157
+ "mint-12",
1158
+ "mint-13",
1159
+ "mint-14",
1160
+ "mint-15",
1161
+ "green-0",
1162
+ "green-1",
1163
+ "green-2",
1164
+ "green-3",
1165
+ "green-4",
1166
+ "green-5",
1167
+ "green-6",
1168
+ "green-7",
1169
+ "green-8",
1170
+ "green-9",
1171
+ "green-10",
1172
+ "green-11",
1173
+ "green-12",
1174
+ "green-13",
1175
+ "green-14",
1176
+ "green-15",
1177
+ "lime-0",
1178
+ "lime-1",
1179
+ "lime-2",
1180
+ "lime-3",
1181
+ "lime-4",
1182
+ "lime-5",
1183
+ "lime-6",
1184
+ "lime-7",
1185
+ "lime-8",
1186
+ "lime-9",
1187
+ "lime-10",
1188
+ "lime-11",
1189
+ "lime-12",
1190
+ "lime-13",
1191
+ "lime-14",
1192
+ "lime-15",
1193
+ "citron-0",
1194
+ "citron-1",
1195
+ "citron-2",
1196
+ "citron-3",
1197
+ "citron-4",
1198
+ "citron-5",
1199
+ "citron-6",
1200
+ "citron-7",
1201
+ "citron-8",
1202
+ "citron-9",
1203
+ "citron-10",
1204
+ "citron-11",
1205
+ "citron-12",
1206
+ "citron-13",
1207
+ "citron-14",
1208
+ "citron-15",
1209
+ "yellow-0",
1210
+ "yellow-1",
1211
+ "yellow-2",
1212
+ "yellow-3",
1213
+ "yellow-4",
1214
+ "yellow-5",
1215
+ "yellow-6",
1216
+ "yellow-7",
1217
+ "yellow-8",
1218
+ "yellow-9",
1219
+ "yellow-10",
1220
+ "yellow-11",
1221
+ "yellow-12",
1222
+ "yellow-13",
1223
+ "yellow-14",
1224
+ "yellow-15",
1225
+ "brown-0",
1226
+ "brown-1",
1227
+ "brown-2",
1228
+ "brown-3",
1229
+ "brown-4",
1230
+ "brown-5",
1231
+ "brown-6",
1232
+ "brown-7",
1233
+ "brown-8",
1234
+ "brown-9",
1235
+ "brown-10",
1236
+ "brown-11",
1237
+ "brown-12",
1238
+ "brown-13",
1239
+ "brown-14",
1240
+ "brown-15",
1241
+ "nude-0",
1242
+ "nude-1",
1243
+ "nude-2",
1244
+ "nude-3",
1245
+ "nude-4",
1246
+ "nude-5",
1247
+ "nude-6",
1248
+ "nude-7",
1249
+ "nude-8",
1250
+ "nude-9",
1251
+ "nude-10",
1252
+ "nude-11",
1253
+ "nude-12",
1254
+ "nude-13",
1255
+ "nude-14",
1256
+ "nude-15",
1257
+ "orange-0",
1258
+ "orange-1",
1259
+ "orange-2",
1260
+ "orange-3",
1261
+ "orange-4",
1262
+ "orange-5",
1263
+ "orange-6",
1264
+ "orange-7",
1265
+ "orange-8",
1266
+ "orange-9",
1267
+ "orange-10",
1268
+ "orange-11",
1269
+ "orange-12",
1270
+ "orange-13",
1271
+ "orange-14",
1272
+ "orange-15",
1273
+ "sunset-0",
1274
+ "sunset-1",
1275
+ "sunset-2",
1276
+ "sunset-3",
1277
+ "sunset-4",
1278
+ "sunset-5",
1279
+ "sunset-6",
1280
+ "sunset-7",
1281
+ "sunset-8",
1282
+ "sunset-9",
1283
+ "sunset-10",
1284
+ "sunset-11",
1285
+ "sunset-12",
1286
+ "sunset-13",
1287
+ "sunset-14",
1288
+ "sunset-15",
1289
+ "red-0",
1290
+ "red-1",
1291
+ "red-2",
1292
+ "red-3",
1293
+ "red-4",
1294
+ "red-5",
1295
+ "red-6",
1296
+ "red-7",
1297
+ "red-8",
1298
+ "red-9",
1299
+ "red-10",
1300
+ "red-11",
1301
+ "red-12",
1302
+ "red-13",
1303
+ "red-14",
1304
+ "red-15",
1305
+ "rose-0",
1306
+ "rose-1",
1307
+ "rose-2",
1308
+ "rose-3",
1309
+ "rose-4",
1310
+ "rose-5",
1311
+ "rose-6",
1312
+ "rose-7",
1313
+ "rose-8",
1314
+ "rose-9",
1315
+ "rose-10",
1316
+ "rose-11",
1317
+ "rose-12",
1318
+ "rose-13",
1319
+ "rose-14",
1320
+ "rose-15",
1321
+ "pink-0",
1322
+ "pink-1",
1323
+ "pink-2",
1324
+ "pink-3",
1325
+ "pink-4",
1326
+ "pink-5",
1327
+ "pink-6",
1328
+ "pink-7",
1329
+ "pink-8",
1330
+ "pink-9",
1331
+ "pink-10",
1332
+ "pink-11",
1333
+ "pink-12",
1334
+ "pink-13",
1335
+ "pink-14",
1336
+ "pink-15",
1337
+ "magenta-0",
1338
+ "magenta-1",
1339
+ "magenta-2",
1340
+ "magenta-3",
1341
+ "magenta-4",
1342
+ "magenta-5",
1343
+ "magenta-6",
1344
+ "magenta-7",
1345
+ "magenta-8",
1346
+ "magenta-9",
1347
+ "magenta-10",
1348
+ "magenta-11",
1349
+ "magenta-12",
1350
+ "magenta-13",
1351
+ "magenta-14",
1352
+ "magenta-15",
1353
+ "carbon-0",
1354
+ "carbon-1",
1355
+ "carbon-2",
1356
+ "carbon-3",
1357
+ "carbon-4",
1358
+ "carbon-5",
1359
+ "carbon-6",
1360
+ "carbon-7",
1361
+ "carbon-8",
1362
+ "carbon-9",
1363
+ "carbon-10",
1364
+ "carbon-11",
1365
+ "carbon-12",
1366
+ "carbon-13",
1367
+ "carbon-14",
1368
+ "carbon-15",
1369
+ "primary",
1370
+ "secondary",
422
1371
  "transparent",
423
1372
  "white",
424
1373
  "black",
425
1374
  "current"
426
1375
  ];
427
- exports.alwaysPaletteAliases = alwaysPaletteAliases;
428
- var backgroundColors = [
429
- ...corePaletteColors,
430
- ...backgroundPaletteColors,
431
- ...alwaysPaletteAliases
432
- ];
1376
+ exports.shadowColors = shadowColors;
1377
+ var backgroundColors = [...backgroundPaletteColors, ...alwaysPaletteAliases];
433
1378
  exports.backgroundColors = backgroundColors;
434
- var foregroundColors = [
435
- ...corePaletteColors,
436
- ...foregroundPaletteColors,
437
- ...alwaysPaletteAliases
438
- ];
1379
+ var foregroundColors = [...foregroundPaletteColors, ...alwaysPaletteAliases];
439
1380
  exports.foregroundColors = foregroundColors;
440
- var lineColors = [...corePaletteColors, ...linePaletteColors, ...alwaysPaletteAliases];
1381
+ var lineColors = [...linePaletteColors, ...alwaysPaletteAliases];
441
1382
  exports.lineColors = lineColors;
442
1383
  var palette = {
443
- core: corePaletteColors,
444
1384
  background: backgroundPaletteColors,
445
1385
  foreground: foregroundPaletteColors,
446
- line: linePaletteColors
1386
+ line: linePaletteColors,
1387
+ shadow: shadowPaletteColors
447
1388
  };
448
1389
  exports.palette = palette;
449
1390
  var tailwindColorsAsUds = {
@@ -735,6 +1676,27 @@ var tailwindColorsAsUds = {
735
1676
  }
736
1677
  };
737
1678
  exports.tailwindColorsAsUds = tailwindColorsAsUds;
1679
+ var idealColorSorting = [
1680
+ "primary",
1681
+ "secondary",
1682
+ "tertiary",
1683
+ "muted",
1684
+ "on-color",
1685
+ "accent",
1686
+ "brand",
1687
+ "brand-secondary",
1688
+ "info",
1689
+ "info-secondary",
1690
+ "alert",
1691
+ "alert-secondary",
1692
+ "positive",
1693
+ "positive-secondary",
1694
+ "warning",
1695
+ "warning-secondary"
1696
+ ];
1697
+ function sortPalette(palette2, ordering = idealColorSorting) {
1698
+ return Object.entries(palette2).sort(([prevPaletteAlias], [nextPaletteAlias]) => ordering.indexOf(prevPaletteAlias) - ordering.indexOf(nextPaletteAlias));
1699
+ }
738
1700
  var textVariants = [
739
1701
  "display1",
740
1702
  "display2",
@@ -747,6 +1709,8 @@ var textVariants = [
747
1709
  "body1",
748
1710
  "label1",
749
1711
  "label2",
1712
+ "label3",
1713
+ "label4",
750
1714
  "caption1",
751
1715
  "caption2",
752
1716
  "legal1"
@@ -775,6 +1739,7 @@ var fontIds = [
775
1739
  "yahoo-sans",
776
1740
  "yahoo-sans-cr4",
777
1741
  "yahoo-product-sans",
1742
+ "yahoo-product-sans-extended",
778
1743
  "yahoo-sans-condensed",
779
1744
  "yahoo-serif-display",
780
1745
  "yahoo-serif-text"
@@ -800,21 +1765,16 @@ var fontUrls = [
800
1765
  "https://s.yimg.com/bw/fonts/inter-vf.woff2",
801
1766
  "https://s.yimg.com/bw/fonts/roboto-mono-100.woff2",
802
1767
  "https://s.yimg.com/bw/fonts/roboto-mono-100-italic.woff2",
803
- "https://s.yimg.com/bw/fonts/roboto-mono-200.woff2",
804
- "https://s.yimg.com/bw/fonts/roboto-mono-200-italic.woff2",
805
1768
  "https://s.yimg.com/bw/fonts/roboto-mono-300.woff2",
806
1769
  "https://s.yimg.com/bw/fonts/roboto-mono-300-italic.woff2",
807
1770
  "https://s.yimg.com/bw/fonts/roboto-mono-400.woff2",
808
1771
  "https://s.yimg.com/bw/fonts/roboto-mono-400-italic.woff2",
809
1772
  "https://s.yimg.com/bw/fonts/roboto-mono-500.woff2",
810
1773
  "https://s.yimg.com/bw/fonts/roboto-mono-500-italic.woff2",
811
- "https://s.yimg.com/bw/fonts/roboto-mono-600.woff2",
812
- "https://s.yimg.com/bw/fonts/roboto-mono-600-italic.woff2",
813
1774
  "https://s.yimg.com/bw/fonts/roboto-mono-700.woff2",
814
1775
  "https://s.yimg.com/bw/fonts/roboto-mono-700-italic.woff2",
815
1776
  "https://s.yimg.com/bw/fonts/yahoo-sans-vf.woff2",
816
1777
  "https://s.yimg.com/bw/fonts/yahoo-sans-cr4-vf.woff2",
817
- "https://s.yimg.com/bw/fonts/yahoo-product-sans-vf.woff2",
818
1778
  "https://s.yimg.com/bw/fonts/yahoo-sans-condensed-vf.woff2",
819
1779
  "https://s.yimg.com/bw/fonts/yahoo-serif-display-light.woff2",
820
1780
  "https://s.yimg.com/bw/fonts/yahoo-serif-display-regular.woff2",
@@ -859,6 +1819,8 @@ var fontSizeRamp = {
859
1819
  body1: -3,
860
1820
  label1: -2,
861
1821
  label2: -2,
1822
+ label3: -2,
1823
+ label4: -2,
862
1824
  caption1: -1,
863
1825
  caption2: -1,
864
1826
  legal1: -1
@@ -875,6 +1837,8 @@ var fontSizeRamp = {
875
1837
  body1: -2,
876
1838
  label1: -1,
877
1839
  label2: -1,
1840
+ label3: -1,
1841
+ label4: -1,
878
1842
  caption1: 0,
879
1843
  caption2: 0,
880
1844
  legal1: 0
@@ -891,6 +1855,8 @@ var fontSizeRamp = {
891
1855
  body1: -1,
892
1856
  label1: -1,
893
1857
  label2: -1,
1858
+ label3: -1,
1859
+ label4: -1,
894
1860
  caption1: 0,
895
1861
  caption2: 0,
896
1862
  legal1: 0
@@ -907,6 +1873,8 @@ var fontSizeRamp = {
907
1873
  body1: 0,
908
1874
  label1: 0,
909
1875
  label2: 0,
1876
+ label3: 0,
1877
+ label4: 0,
910
1878
  caption1: 0,
911
1879
  caption2: 0,
912
1880
  legal1: 0
@@ -923,6 +1891,8 @@ var fontSizeRamp = {
923
1891
  body1: 0,
924
1892
  label1: 2,
925
1893
  label2: 2,
1894
+ label3: 2,
1895
+ label4: 2,
926
1896
  caption1: 2,
927
1897
  caption2: 2,
928
1898
  legal1: 2
@@ -939,6 +1909,8 @@ var fontSizeRamp = {
939
1909
  body1: 4,
940
1910
  label1: 4,
941
1911
  label2: 4,
1912
+ label3: 4,
1913
+ label4: 4,
942
1914
  caption1: 4,
943
1915
  caption2: 4,
944
1916
  legal1: 4
@@ -955,6 +1927,8 @@ var fontSizeRamp = {
955
1927
  body1: 6,
956
1928
  label1: 6,
957
1929
  label2: 6,
1930
+ label3: 6,
1931
+ label4: 6,
958
1932
  caption1: 6,
959
1933
  caption2: 6,
960
1934
  legal1: 6
@@ -964,8 +1938,8 @@ exports.fontSizeRamp = fontSizeRamp;
964
1938
  var lineHeightRamp = {
965
1939
  xSmall: {
966
1940
  display1: 0,
967
- display2: 0,
968
1941
  display3: 0,
1942
+ display2: 0,
969
1943
  title1: -4,
970
1944
  title2: -4,
971
1945
  title3: -4,
@@ -974,14 +1948,16 @@ var lineHeightRamp = {
974
1948
  body1: -4,
975
1949
  label1: -4,
976
1950
  label2: -4,
1951
+ label3: -4,
1952
+ label4: -4,
977
1953
  caption1: 0,
978
1954
  caption2: 0,
979
1955
  legal1: -4
980
1956
  },
981
1957
  small: {
982
1958
  display1: 0,
983
- display2: 0,
984
1959
  display3: 0,
1960
+ display2: 0,
985
1961
  title1: 0,
986
1962
  title2: -4,
987
1963
  title3: -4,
@@ -990,14 +1966,16 @@ var lineHeightRamp = {
990
1966
  body1: 0,
991
1967
  label1: -4,
992
1968
  label2: -4,
1969
+ label3: -4,
1970
+ label4: -4,
993
1971
  caption1: 0,
994
1972
  caption2: 0,
995
1973
  legal1: 0
996
1974
  },
997
1975
  medium: {
998
1976
  display1: 0,
999
- display2: 0,
1000
1977
  display3: 0,
1978
+ display2: 0,
1001
1979
  title1: 0,
1002
1980
  title2: 0,
1003
1981
  title3: 0,
@@ -1006,14 +1984,16 @@ var lineHeightRamp = {
1006
1984
  body1: 0,
1007
1985
  label1: -4,
1008
1986
  label2: -4,
1987
+ label3: -4,
1988
+ label4: -4,
1009
1989
  caption1: 0,
1010
1990
  caption2: 0,
1011
1991
  legal1: 0
1012
1992
  },
1013
1993
  large: {
1014
1994
  display1: 0,
1015
- display2: 0,
1016
1995
  display3: 0,
1996
+ display2: 0,
1017
1997
  title1: 0,
1018
1998
  title2: 0,
1019
1999
  title3: 0,
@@ -1022,14 +2002,16 @@ var lineHeightRamp = {
1022
2002
  body1: 0,
1023
2003
  label1: 0,
1024
2004
  label2: 0,
2005
+ label3: 0,
2006
+ label4: 0,
1025
2007
  caption1: 0,
1026
2008
  caption2: 0,
1027
2009
  legal1: 0
1028
2010
  },
1029
2011
  xLarge: {
1030
2012
  display1: 0,
1031
- display2: 0,
1032
2013
  display3: 0,
2014
+ display2: 0,
1033
2015
  title1: 4,
1034
2016
  title2: 0,
1035
2017
  title3: 0,
@@ -1038,14 +2020,16 @@ var lineHeightRamp = {
1038
2020
  body1: 4,
1039
2021
  label1: 0,
1040
2022
  label2: 0,
2023
+ label3: 0,
2024
+ label4: 0,
1041
2025
  caption1: 4,
1042
2026
  caption2: 4,
1043
2027
  legal1: 0
1044
2028
  },
1045
2029
  xxLarge: {
1046
2030
  display1: 0,
1047
- display2: 0,
1048
2031
  display3: 0,
2032
+ display2: 0,
1049
2033
  title1: 4,
1050
2034
  title2: 4,
1051
2035
  title3: 4,
@@ -1054,14 +2038,16 @@ var lineHeightRamp = {
1054
2038
  body1: 8,
1055
2039
  label1: 4,
1056
2040
  label2: 4,
2041
+ label3: 4,
2042
+ label4: 4,
1057
2043
  caption1: 4,
1058
2044
  caption2: 4,
1059
2045
  legal1: 4
1060
2046
  },
1061
2047
  xxxLarge: {
1062
2048
  display1: 0,
1063
- display2: 0,
1064
2049
  display3: 0,
2050
+ display2: 0,
1065
2051
  title1: 8,
1066
2052
  title2: 8,
1067
2053
  title3: 4,
@@ -1070,6 +2056,8 @@ var lineHeightRamp = {
1070
2056
  body1: 8,
1071
2057
  label1: 8,
1072
2058
  label2: 8,
2059
+ label3: 8,
2060
+ label4: 8,
1073
2061
  caption1: 8,
1074
2062
  caption2: 8,
1075
2063
  legal1: 4
@@ -1077,9 +2065,11 @@ var lineHeightRamp = {
1077
2065
  };
1078
2066
  exports.lineHeightRamp = lineHeightRamp;
1079
2067
  var avatarSizes = [
2068
+ "xs",
1080
2069
  "sm",
1081
2070
  "md",
1082
- "lg"
2071
+ "lg",
2072
+ "xl"
1083
2073
  ];
1084
2074
  exports.avatarSizes = avatarSizes;
1085
2075
  var avatarShapes = [
@@ -1228,7 +2218,8 @@ var iconSizes = [
1228
2218
  exports.iconSizes = iconSizes;
1229
2219
  var iconVariants = [
1230
2220
  "fill",
1231
- "outline"
2221
+ "outline",
2222
+ "multicolor"
1232
2223
  ];
1233
2224
  exports.iconVariants = iconVariants;
1234
2225
  var spacingAliases = [
@@ -1307,16 +2298,400 @@ var spacingMap = {
1307
2298
  "96": 384
1308
2299
  };
1309
2300
  exports.spacingMap = spacingMap;
1310
- var spacingAliasesWithNegatives = [
1311
- ...spacingAliases.filter((space) => space !== "0").reverse().map((space) => `-${space}`),
1312
- ...spacingAliases
2301
+ var shadowOffsets = [
2302
+ "0",
2303
+ "1",
2304
+ "2",
2305
+ "3",
2306
+ "4",
2307
+ "5",
2308
+ "6",
2309
+ "7",
2310
+ "8",
2311
+ "9",
2312
+ "10",
2313
+ "11",
2314
+ "12",
2315
+ "14",
2316
+ "px",
2317
+ "0.5",
2318
+ "1.5",
2319
+ "2.5",
2320
+ "3.5",
2321
+ "16",
2322
+ "20",
2323
+ "24",
2324
+ "28",
2325
+ "32",
2326
+ "36",
2327
+ "40",
2328
+ "44",
2329
+ "48",
2330
+ "52",
2331
+ "56",
2332
+ "60",
2333
+ "64",
2334
+ "72",
2335
+ "80",
2336
+ "96",
2337
+ "-1",
2338
+ "-2",
2339
+ "-3",
2340
+ "-4",
2341
+ "-5",
2342
+ "-6",
2343
+ "-7",
2344
+ "-8",
2345
+ "-9",
2346
+ "-10",
2347
+ "-11",
2348
+ "-12",
2349
+ "-14",
2350
+ "-px",
2351
+ "-0.5",
2352
+ "-1.5",
2353
+ "-2.5",
2354
+ "-3.5",
2355
+ "-16",
2356
+ "-20",
2357
+ "-24",
2358
+ "-28",
2359
+ "-32",
2360
+ "-36",
2361
+ "-40",
2362
+ "-44",
2363
+ "-48",
2364
+ "-52",
2365
+ "-56",
2366
+ "-60",
2367
+ "-64",
2368
+ "-72",
2369
+ "-80",
2370
+ "-96"
2371
+ ];
2372
+ exports.shadowOffsets = shadowOffsets;
2373
+ var shadowOffsetMap = {
2374
+ "-96": -384,
2375
+ "-80": -320,
2376
+ "-72": -288,
2377
+ "-64": -256,
2378
+ "-60": -240,
2379
+ "-56": -224,
2380
+ "-52": -208,
2381
+ "-48": -192,
2382
+ "-44": -176,
2383
+ "-40": -160,
2384
+ "-36": -144,
2385
+ "-32": -128,
2386
+ "-28": -112,
2387
+ "-24": -96,
2388
+ "-20": -80,
2389
+ "-16": -64,
2390
+ "-14": -56,
2391
+ "-12": -48,
2392
+ "-11": -44,
2393
+ "-10": -40,
2394
+ "-9": -36,
2395
+ "-8": -32,
2396
+ "-7": -28,
2397
+ "-6": -24,
2398
+ "-5": -20,
2399
+ "-4": -16,
2400
+ "-3.5": -14,
2401
+ "-3": -12,
2402
+ "-2.5": -10,
2403
+ "-2": -8,
2404
+ "-1.5": -6,
2405
+ "-1": -4,
2406
+ "-0.5": -2,
2407
+ "-px": -1,
2408
+ "0": 0,
2409
+ px: 1,
2410
+ "0.5": 2,
2411
+ "1": 4,
2412
+ "1.5": 6,
2413
+ "2": 8,
2414
+ "2.5": 10,
2415
+ "3": 12,
2416
+ "3.5": 14,
2417
+ "4": 16,
2418
+ "5": 20,
2419
+ "6": 24,
2420
+ "7": 28,
2421
+ "8": 32,
2422
+ "9": 36,
2423
+ "10": 40,
2424
+ "11": 44,
2425
+ "12": 48,
2426
+ "14": 56,
2427
+ "16": 64,
2428
+ "20": 80,
2429
+ "24": 96,
2430
+ "28": 112,
2431
+ "32": 128,
2432
+ "36": 144,
2433
+ "40": 160,
2434
+ "44": 176,
2435
+ "48": 192,
2436
+ "52": 208,
2437
+ "56": 224,
2438
+ "60": 240,
2439
+ "64": 256,
2440
+ "72": 288,
2441
+ "80": 320,
2442
+ "96": 384
2443
+ };
2444
+ exports.shadowOffsetMap = shadowOffsetMap;
2445
+ var shadowSpreadRadii = [
2446
+ "0",
2447
+ "1",
2448
+ "2",
2449
+ "3",
2450
+ "4",
2451
+ "5",
2452
+ "6",
2453
+ "7",
2454
+ "8",
2455
+ "9",
2456
+ "10",
2457
+ "11",
2458
+ "12",
2459
+ "14",
2460
+ "px",
2461
+ "0.5",
2462
+ "1.5",
2463
+ "2.5",
2464
+ "3.5",
2465
+ "16",
2466
+ "20",
2467
+ "24",
2468
+ "28",
2469
+ "32",
2470
+ "36",
2471
+ "40",
2472
+ "44",
2473
+ "48",
2474
+ "52",
2475
+ "56",
2476
+ "60",
2477
+ "64",
2478
+ "72",
2479
+ "80",
2480
+ "96",
2481
+ "-1",
2482
+ "-2",
2483
+ "-3",
2484
+ "-4",
2485
+ "-5",
2486
+ "-6",
2487
+ "-7",
2488
+ "-8",
2489
+ "-9",
2490
+ "-10",
2491
+ "-11",
2492
+ "-12",
2493
+ "-14",
2494
+ "-px",
2495
+ "-0.5",
2496
+ "-1.5",
2497
+ "-2.5",
2498
+ "-3.5",
2499
+ "-16",
2500
+ "-20",
2501
+ "-24",
2502
+ "-28",
2503
+ "-32",
2504
+ "-36",
2505
+ "-40",
2506
+ "-44",
2507
+ "-48",
2508
+ "-52",
2509
+ "-56",
2510
+ "-60",
2511
+ "-64",
2512
+ "-72",
2513
+ "-80",
2514
+ "-96"
1313
2515
  ];
1314
- exports.spacingAliasesWithNegatives = spacingAliasesWithNegatives;
1315
- var spacingMapWithNegatives = {
1316
- ...Object.entries(spacingMap).filter(([key]) => key !== "0").reverse().reduce((acc, [key, value]) => ({ ...acc, [`-${key}`]: -value }), {}),
1317
- ...spacingMap
2516
+ exports.shadowSpreadRadii = shadowSpreadRadii;
2517
+ var shadowSpreadRadiusMap = {
2518
+ "-96": -384,
2519
+ "-80": -320,
2520
+ "-72": -288,
2521
+ "-64": -256,
2522
+ "-60": -240,
2523
+ "-56": -224,
2524
+ "-52": -208,
2525
+ "-48": -192,
2526
+ "-44": -176,
2527
+ "-40": -160,
2528
+ "-36": -144,
2529
+ "-32": -128,
2530
+ "-28": -112,
2531
+ "-24": -96,
2532
+ "-20": -80,
2533
+ "-16": -64,
2534
+ "-14": -56,
2535
+ "-12": -48,
2536
+ "-11": -44,
2537
+ "-10": -40,
2538
+ "-9": -36,
2539
+ "-8": -32,
2540
+ "-7": -28,
2541
+ "-6": -24,
2542
+ "-5": -20,
2543
+ "-4": -16,
2544
+ "-3.5": -14,
2545
+ "-3": -12,
2546
+ "-2.5": -10,
2547
+ "-2": -8,
2548
+ "-1.5": -6,
2549
+ "-1": -4,
2550
+ "-0.5": -2,
2551
+ "-px": -1,
2552
+ "0": 0,
2553
+ px: 1,
2554
+ "0.5": 2,
2555
+ "1": 4,
2556
+ "1.5": 6,
2557
+ "2": 8,
2558
+ "2.5": 10,
2559
+ "3": 12,
2560
+ "3.5": 14,
2561
+ "4": 16,
2562
+ "5": 20,
2563
+ "6": 24,
2564
+ "7": 28,
2565
+ "8": 32,
2566
+ "9": 36,
2567
+ "10": 40,
2568
+ "11": 44,
2569
+ "12": 48,
2570
+ "14": 56,
2571
+ "16": 64,
2572
+ "20": 80,
2573
+ "24": 96,
2574
+ "28": 112,
2575
+ "32": 128,
2576
+ "36": 144,
2577
+ "40": 160,
2578
+ "44": 176,
2579
+ "48": 192,
2580
+ "52": 208,
2581
+ "56": 224,
2582
+ "60": 240,
2583
+ "64": 256,
2584
+ "72": 288,
2585
+ "80": 320,
2586
+ "96": 384
1318
2587
  };
1319
- exports.spacingMapWithNegatives = spacingMapWithNegatives;
2588
+ exports.shadowSpreadRadiusMap = shadowSpreadRadiusMap;
2589
+ var shadowOpacities = [
2590
+ "0",
2591
+ "1",
2592
+ "2",
2593
+ "3",
2594
+ "4",
2595
+ "5",
2596
+ "6",
2597
+ "7",
2598
+ "8",
2599
+ "9",
2600
+ "10",
2601
+ "11",
2602
+ "12",
2603
+ "13",
2604
+ "14",
2605
+ "15",
2606
+ "50",
2607
+ "100",
2608
+ "16",
2609
+ "20",
2610
+ "24",
2611
+ "28",
2612
+ "32",
2613
+ "36",
2614
+ "40",
2615
+ "44",
2616
+ "48",
2617
+ "52",
2618
+ "56",
2619
+ "60",
2620
+ "64",
2621
+ "72",
2622
+ "80",
2623
+ "96",
2624
+ "75",
2625
+ "17",
2626
+ "18",
2627
+ "19",
2628
+ "21",
2629
+ "22",
2630
+ "23",
2631
+ "25",
2632
+ "26",
2633
+ "27",
2634
+ "29",
2635
+ "30",
2636
+ "31",
2637
+ "33",
2638
+ "34",
2639
+ "35",
2640
+ "37",
2641
+ "38",
2642
+ "39",
2643
+ "41",
2644
+ "42",
2645
+ "43",
2646
+ "45",
2647
+ "46",
2648
+ "47",
2649
+ "49",
2650
+ "51",
2651
+ "53",
2652
+ "54",
2653
+ "55",
2654
+ "57",
2655
+ "58",
2656
+ "59",
2657
+ "61",
2658
+ "62",
2659
+ "63",
2660
+ "65",
2661
+ "66",
2662
+ "67",
2663
+ "68",
2664
+ "69",
2665
+ "70",
2666
+ "71",
2667
+ "73",
2668
+ "74",
2669
+ "76",
2670
+ "77",
2671
+ "78",
2672
+ "79",
2673
+ "81",
2674
+ "82",
2675
+ "83",
2676
+ "84",
2677
+ "85",
2678
+ "86",
2679
+ "87",
2680
+ "88",
2681
+ "89",
2682
+ "90",
2683
+ "91",
2684
+ "92",
2685
+ "93",
2686
+ "94",
2687
+ "95",
2688
+ "97",
2689
+ "98",
2690
+ "99"
2691
+ ];
2692
+ exports.shadowOpacities = shadowOpacities;
2693
+ var shadowOpacityMap = fromEntries(shadowOpacities.map((key) => [key, parseInt(key)]));
2694
+ exports.shadowOpacityMap = shadowOpacityMap;
1320
2695
  var tshirtSizes = [
1321
2696
  "none",
1322
2697
  "xs",
@@ -1333,12 +2708,52 @@ var buttonVariants = [
1333
2708
  "tertiary"
1334
2709
  ];
1335
2710
  exports.buttonVariants = buttonVariants;
1336
- var buttonPalettes = [
2711
+ var buttonVariantPriority = {
2712
+ primary: 0,
2713
+ secondary: 1,
2714
+ tertiary: 2
2715
+ };
2716
+ var buttonVariantsFlat = [
2717
+ "primary",
2718
+ "secondary",
1337
2719
  "brand",
2720
+ "alert",
2721
+ "positive",
2722
+ "warning",
2723
+ "info",
2724
+ "brand-secondary",
2725
+ "alert-secondary",
2726
+ "positive-secondary",
2727
+ "warning-secondary",
2728
+ "info-secondary",
2729
+ "tertiary",
2730
+ "brand-tertiary",
2731
+ "alert-tertiary",
2732
+ "positive-tertiary",
2733
+ "warning-tertiary",
2734
+ "info-tertiary"
2735
+ ].sort((a, b) => {
2736
+ const aPriority = buttonVariantPriority[a] ?? Number.MAX_SAFE_INTEGER;
2737
+ const bPriority = buttonVariantPriority[b] ?? Number.MAX_SAFE_INTEGER;
2738
+ if (aPriority !== bPriority) {
2739
+ return aPriority - bPriority;
2740
+ }
2741
+ return a.localeCompare(b);
2742
+ });
2743
+ exports.buttonVariantsFlat = buttonVariantsFlat;
2744
+ var buttonVariantsSecondary = buttonVariantsFlat.filter((variant) => variant.includes("secondary"));
2745
+ exports.buttonVariantsSecondary = buttonVariantsSecondary;
2746
+ var buttonVariantsTertiary = buttonVariantsFlat.filter((variant) => variant.includes("tertiary"));
2747
+ exports.buttonVariantsTertiary = buttonVariantsTertiary;
2748
+ var buttonVariantsPrimary = without_default(buttonVariantsFlat, ...buttonVariantsSecondary, ...buttonVariantsTertiary);
2749
+ exports.buttonVariantsPrimary = buttonVariantsPrimary;
2750
+ var buttonPalettes = [
1338
2751
  "accent",
2752
+ "brand",
1339
2753
  "alert",
1340
2754
  "positive",
1341
- "warning"
2755
+ "warning",
2756
+ "info"
1342
2757
  ];
1343
2758
  exports.buttonPalettes = buttonPalettes;
1344
2759
  var buttonSizes = [
@@ -1422,7 +2837,7 @@ var buttonMotionProperties = [
1422
2837
  "trimLeft",
1423
2838
  "trimRight",
1424
2839
  "matchAll",
1425
- "__@iterator@52",
2840
+ "__@iterator@59",
1426
2841
  "at"
1427
2842
  ];
1428
2843
  exports.buttonMotionProperties = buttonMotionProperties;
@@ -1433,11 +2848,12 @@ var buttonMotionEffects = [
1433
2848
  ];
1434
2849
  exports.buttonMotionEffects = buttonMotionEffects;
1435
2850
  var buttonClassNames = [
1436
- "uds-button-brand",
1437
2851
  "uds-button-accent",
2852
+ "uds-button-brand",
1438
2853
  "uds-button-alert",
1439
2854
  "uds-button-positive",
1440
2855
  "uds-button-warning",
2856
+ "uds-button-info",
1441
2857
  "uds-button-primary",
1442
2858
  "uds-button-secondary",
1443
2859
  "uds-button-tertiary",
@@ -1464,6 +2880,11 @@ var iconButtonClassNames = [
1464
2880
  "uds-icon-button"
1465
2881
  ];
1466
2882
  exports.iconButtonClassNames = iconButtonClassNames;
2883
+ var inputSizes = [
2884
+ "md",
2885
+ "lg"
2886
+ ];
2887
+ exports.inputSizes = inputSizes;
1467
2888
  var motionVariants = [
1468
2889
  "damped",
1469
2890
  "smooth",
@@ -1513,3 +2934,73 @@ var scaleEffectMap = {
1513
2934
  }
1514
2935
  };
1515
2936
  exports.scaleEffectMap = scaleEffectMap;
2937
+ var shadowVariants = [
2938
+ "none",
2939
+ "xs",
2940
+ "sm",
2941
+ "md",
2942
+ "lg",
2943
+ "xl",
2944
+ "2xl"
2945
+ ];
2946
+ exports.shadowVariants = shadowVariants;
2947
+ var shadowVariantsInvert = [
2948
+ "xs-invert",
2949
+ "sm-invert",
2950
+ "md-invert",
2951
+ "lg-invert",
2952
+ "xl-invert",
2953
+ "2xl-invert"
2954
+ ];
2955
+ exports.shadowVariantsInvert = shadowVariantsInvert;
2956
+ var shadowVariantsWithInvert = [...shadowVariants, ...shadowVariantsInvert];
2957
+ exports.shadowVariantsWithInvert = shadowVariantsWithInvert;
2958
+ var checkboxVariants = [
2959
+ "primary",
2960
+ "secondary"
2961
+ ];
2962
+ exports.checkboxVariants = checkboxVariants;
2963
+ var checkboxSizes = [
2964
+ "sm",
2965
+ "md"
2966
+ ];
2967
+ exports.checkboxSizes = checkboxSizes;
2968
+ var switchSizes = [
2969
+ "sm",
2970
+ "md"
2971
+ ];
2972
+ exports.switchSizes = switchSizes;
2973
+ var chipVariants = [
2974
+ "primary",
2975
+ "secondary",
2976
+ "brand",
2977
+ "brand-secondary"
2978
+ ];
2979
+ exports.chipVariants = chipVariants;
2980
+ var chipSizes = [
2981
+ "sm",
2982
+ "md"
2983
+ ];
2984
+ exports.chipSizes = chipSizes;
2985
+ var badgeVariants = [
2986
+ "primary",
2987
+ "secondary",
2988
+ "brand",
2989
+ "alert",
2990
+ "positive",
2991
+ "warning",
2992
+ "info",
2993
+ "brand-secondary",
2994
+ "alert-secondary",
2995
+ "positive-secondary",
2996
+ "warning-secondary",
2997
+ "info-secondary"
2998
+ ];
2999
+ exports.badgeVariants = badgeVariants;
3000
+ var badgeSizes = [
3001
+ "xs",
3002
+ "sm",
3003
+ "md",
3004
+ "lg"
3005
+ ];
3006
+ exports.badgeSizes = badgeSizes;