@carbon/themes 11.4.0-rc.0 → 11.5.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.
package/es/index.js CHANGED
@@ -31,6 +31,376 @@ function _objectSpread2(target) {
31
31
  return target;
32
32
  }
33
33
 
34
+ function _regeneratorRuntime() {
35
+ /*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
36
+
37
+ _regeneratorRuntime = function () {
38
+ return exports;
39
+ };
40
+
41
+ var exports = {},
42
+ Op = Object.prototype,
43
+ hasOwn = Op.hasOwnProperty,
44
+ $Symbol = "function" == typeof Symbol ? Symbol : {},
45
+ iteratorSymbol = $Symbol.iterator || "@@iterator",
46
+ asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
47
+ toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
48
+
49
+ function define(obj, key, value) {
50
+ return Object.defineProperty(obj, key, {
51
+ value: value,
52
+ enumerable: !0,
53
+ configurable: !0,
54
+ writable: !0
55
+ }), obj[key];
56
+ }
57
+
58
+ try {
59
+ define({}, "");
60
+ } catch (err) {
61
+ define = function (obj, key, value) {
62
+ return obj[key] = value;
63
+ };
64
+ }
65
+
66
+ function wrap(innerFn, outerFn, self, tryLocsList) {
67
+ var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
68
+ generator = Object.create(protoGenerator.prototype),
69
+ context = new Context(tryLocsList || []);
70
+ return generator._invoke = function (innerFn, self, context) {
71
+ var state = "suspendedStart";
72
+ return function (method, arg) {
73
+ if ("executing" === state) throw new Error("Generator is already running");
74
+
75
+ if ("completed" === state) {
76
+ if ("throw" === method) throw arg;
77
+ return doneResult();
78
+ }
79
+
80
+ for (context.method = method, context.arg = arg;;) {
81
+ var delegate = context.delegate;
82
+
83
+ if (delegate) {
84
+ var delegateResult = maybeInvokeDelegate(delegate, context);
85
+
86
+ if (delegateResult) {
87
+ if (delegateResult === ContinueSentinel) continue;
88
+ return delegateResult;
89
+ }
90
+ }
91
+
92
+ if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
93
+ if ("suspendedStart" === state) throw state = "completed", context.arg;
94
+ context.dispatchException(context.arg);
95
+ } else "return" === context.method && context.abrupt("return", context.arg);
96
+ state = "executing";
97
+ var record = tryCatch(innerFn, self, context);
98
+
99
+ if ("normal" === record.type) {
100
+ if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
101
+ return {
102
+ value: record.arg,
103
+ done: context.done
104
+ };
105
+ }
106
+
107
+ "throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
108
+ }
109
+ };
110
+ }(innerFn, self, context), generator;
111
+ }
112
+
113
+ function tryCatch(fn, obj, arg) {
114
+ try {
115
+ return {
116
+ type: "normal",
117
+ arg: fn.call(obj, arg)
118
+ };
119
+ } catch (err) {
120
+ return {
121
+ type: "throw",
122
+ arg: err
123
+ };
124
+ }
125
+ }
126
+
127
+ exports.wrap = wrap;
128
+ var ContinueSentinel = {};
129
+
130
+ function Generator() {}
131
+
132
+ function GeneratorFunction() {}
133
+
134
+ function GeneratorFunctionPrototype() {}
135
+
136
+ var IteratorPrototype = {};
137
+ define(IteratorPrototype, iteratorSymbol, function () {
138
+ return this;
139
+ });
140
+ var getProto = Object.getPrototypeOf,
141
+ NativeIteratorPrototype = getProto && getProto(getProto(values([])));
142
+ NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
143
+ var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
144
+
145
+ function defineIteratorMethods(prototype) {
146
+ ["next", "throw", "return"].forEach(function (method) {
147
+ define(prototype, method, function (arg) {
148
+ return this._invoke(method, arg);
149
+ });
150
+ });
151
+ }
152
+
153
+ function AsyncIterator(generator, PromiseImpl) {
154
+ function invoke(method, arg, resolve, reject) {
155
+ var record = tryCatch(generator[method], generator, arg);
156
+
157
+ if ("throw" !== record.type) {
158
+ var result = record.arg,
159
+ value = result.value;
160
+ return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
161
+ invoke("next", value, resolve, reject);
162
+ }, function (err) {
163
+ invoke("throw", err, resolve, reject);
164
+ }) : PromiseImpl.resolve(value).then(function (unwrapped) {
165
+ result.value = unwrapped, resolve(result);
166
+ }, function (error) {
167
+ return invoke("throw", error, resolve, reject);
168
+ });
169
+ }
170
+
171
+ reject(record.arg);
172
+ }
173
+
174
+ var previousPromise;
175
+
176
+ this._invoke = function (method, arg) {
177
+ function callInvokeWithMethodAndArg() {
178
+ return new PromiseImpl(function (resolve, reject) {
179
+ invoke(method, arg, resolve, reject);
180
+ });
181
+ }
182
+
183
+ return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
184
+ };
185
+ }
186
+
187
+ function maybeInvokeDelegate(delegate, context) {
188
+ var method = delegate.iterator[context.method];
189
+
190
+ if (undefined === method) {
191
+ if (context.delegate = null, "throw" === context.method) {
192
+ if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
193
+ context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
194
+ }
195
+
196
+ return ContinueSentinel;
197
+ }
198
+
199
+ var record = tryCatch(method, delegate.iterator, context.arg);
200
+ if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
201
+ var info = record.arg;
202
+ return info ? info.done ? (context[delegate.resultName] = info.value, context.next = delegate.nextLoc, "return" !== context.method && (context.method = "next", context.arg = undefined), context.delegate = null, ContinueSentinel) : info : (context.method = "throw", context.arg = new TypeError("iterator result is not an object"), context.delegate = null, ContinueSentinel);
203
+ }
204
+
205
+ function pushTryEntry(locs) {
206
+ var entry = {
207
+ tryLoc: locs[0]
208
+ };
209
+ 1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
210
+ }
211
+
212
+ function resetTryEntry(entry) {
213
+ var record = entry.completion || {};
214
+ record.type = "normal", delete record.arg, entry.completion = record;
215
+ }
216
+
217
+ function Context(tryLocsList) {
218
+ this.tryEntries = [{
219
+ tryLoc: "root"
220
+ }], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
221
+ }
222
+
223
+ function values(iterable) {
224
+ if (iterable) {
225
+ var iteratorMethod = iterable[iteratorSymbol];
226
+ if (iteratorMethod) return iteratorMethod.call(iterable);
227
+ if ("function" == typeof iterable.next) return iterable;
228
+
229
+ if (!isNaN(iterable.length)) {
230
+ var i = -1,
231
+ next = function next() {
232
+ for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
233
+
234
+ return next.value = undefined, next.done = !0, next;
235
+ };
236
+
237
+ return next.next = next;
238
+ }
239
+ }
240
+
241
+ return {
242
+ next: doneResult
243
+ };
244
+ }
245
+
246
+ function doneResult() {
247
+ return {
248
+ value: undefined,
249
+ done: !0
250
+ };
251
+ }
252
+
253
+ return GeneratorFunction.prototype = GeneratorFunctionPrototype, define(Gp, "constructor", GeneratorFunctionPrototype), define(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
254
+ var ctor = "function" == typeof genFun && genFun.constructor;
255
+ return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
256
+ }, exports.mark = function (genFun) {
257
+ return Object.setPrototypeOf ? Object.setPrototypeOf(genFun, GeneratorFunctionPrototype) : (genFun.__proto__ = GeneratorFunctionPrototype, define(genFun, toStringTagSymbol, "GeneratorFunction")), genFun.prototype = Object.create(Gp), genFun;
258
+ }, exports.awrap = function (arg) {
259
+ return {
260
+ __await: arg
261
+ };
262
+ }, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
263
+ return this;
264
+ }), exports.AsyncIterator = AsyncIterator, exports.async = function (innerFn, outerFn, self, tryLocsList, PromiseImpl) {
265
+ void 0 === PromiseImpl && (PromiseImpl = Promise);
266
+ var iter = new AsyncIterator(wrap(innerFn, outerFn, self, tryLocsList), PromiseImpl);
267
+ return exports.isGeneratorFunction(outerFn) ? iter : iter.next().then(function (result) {
268
+ return result.done ? result.value : iter.next();
269
+ });
270
+ }, defineIteratorMethods(Gp), define(Gp, toStringTagSymbol, "Generator"), define(Gp, iteratorSymbol, function () {
271
+ return this;
272
+ }), define(Gp, "toString", function () {
273
+ return "[object Generator]";
274
+ }), exports.keys = function (object) {
275
+ var keys = [];
276
+
277
+ for (var key in object) keys.push(key);
278
+
279
+ return keys.reverse(), function next() {
280
+ for (; keys.length;) {
281
+ var key = keys.pop();
282
+ if (key in object) return next.value = key, next.done = !1, next;
283
+ }
284
+
285
+ return next.done = !0, next;
286
+ };
287
+ }, exports.values = values, Context.prototype = {
288
+ constructor: Context,
289
+ reset: function (skipTempReset) {
290
+ if (this.prev = 0, this.next = 0, this.sent = this._sent = undefined, this.done = !1, this.delegate = null, this.method = "next", this.arg = undefined, this.tryEntries.forEach(resetTryEntry), !skipTempReset) for (var name in this) "t" === name.charAt(0) && hasOwn.call(this, name) && !isNaN(+name.slice(1)) && (this[name] = undefined);
291
+ },
292
+ stop: function () {
293
+ this.done = !0;
294
+ var rootRecord = this.tryEntries[0].completion;
295
+ if ("throw" === rootRecord.type) throw rootRecord.arg;
296
+ return this.rval;
297
+ },
298
+ dispatchException: function (exception) {
299
+ if (this.done) throw exception;
300
+ var context = this;
301
+
302
+ function handle(loc, caught) {
303
+ return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
304
+ }
305
+
306
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
307
+ var entry = this.tryEntries[i],
308
+ record = entry.completion;
309
+ if ("root" === entry.tryLoc) return handle("end");
310
+
311
+ if (entry.tryLoc <= this.prev) {
312
+ var hasCatch = hasOwn.call(entry, "catchLoc"),
313
+ hasFinally = hasOwn.call(entry, "finallyLoc");
314
+
315
+ if (hasCatch && hasFinally) {
316
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
317
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
318
+ } else if (hasCatch) {
319
+ if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
320
+ } else {
321
+ if (!hasFinally) throw new Error("try statement without catch or finally");
322
+ if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
323
+ }
324
+ }
325
+ }
326
+ },
327
+ abrupt: function (type, arg) {
328
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
329
+ var entry = this.tryEntries[i];
330
+
331
+ if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
332
+ var finallyEntry = entry;
333
+ break;
334
+ }
335
+ }
336
+
337
+ finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
338
+ var record = finallyEntry ? finallyEntry.completion : {};
339
+ return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
340
+ },
341
+ complete: function (record, afterLoc) {
342
+ if ("throw" === record.type) throw record.arg;
343
+ return "break" === record.type || "continue" === record.type ? this.next = record.arg : "return" === record.type ? (this.rval = this.arg = record.arg, this.method = "return", this.next = "end") : "normal" === record.type && afterLoc && (this.next = afterLoc), ContinueSentinel;
344
+ },
345
+ finish: function (finallyLoc) {
346
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
347
+ var entry = this.tryEntries[i];
348
+ if (entry.finallyLoc === finallyLoc) return this.complete(entry.completion, entry.afterLoc), resetTryEntry(entry), ContinueSentinel;
349
+ }
350
+ },
351
+ catch: function (tryLoc) {
352
+ for (var i = this.tryEntries.length - 1; i >= 0; --i) {
353
+ var entry = this.tryEntries[i];
354
+
355
+ if (entry.tryLoc === tryLoc) {
356
+ var record = entry.completion;
357
+
358
+ if ("throw" === record.type) {
359
+ var thrown = record.arg;
360
+ resetTryEntry(entry);
361
+ }
362
+
363
+ return thrown;
364
+ }
365
+ }
366
+
367
+ throw new Error("illegal catch attempt");
368
+ },
369
+ delegateYield: function (iterable, resultName, nextLoc) {
370
+ return this.delegate = {
371
+ iterator: values(iterable),
372
+ resultName: resultName,
373
+ nextLoc: nextLoc
374
+ }, "next" === this.method && (this.arg = undefined), ContinueSentinel;
375
+ }
376
+ }, exports;
377
+ }
378
+
379
+ function _classCallCheck(instance, Constructor) {
380
+ if (!(instance instanceof Constructor)) {
381
+ throw new TypeError("Cannot call a class as a function");
382
+ }
383
+ }
384
+
385
+ function _defineProperties(target, props) {
386
+ for (var i = 0; i < props.length; i++) {
387
+ var descriptor = props[i];
388
+ descriptor.enumerable = descriptor.enumerable || false;
389
+ descriptor.configurable = true;
390
+ if ("value" in descriptor) descriptor.writable = true;
391
+ Object.defineProperty(target, descriptor.key, descriptor);
392
+ }
393
+ }
394
+
395
+ function _createClass(Constructor, protoProps, staticProps) {
396
+ if (protoProps) _defineProperties(Constructor.prototype, protoProps);
397
+ if (staticProps) _defineProperties(Constructor, staticProps);
398
+ Object.defineProperty(Constructor, "prototype", {
399
+ writable: false
400
+ });
401
+ return Constructor;
402
+ }
403
+
34
404
  function _defineProperty(obj, key, value) {
35
405
  if (key in obj) {
36
406
  Object.defineProperty(obj, key, {
@@ -46,6 +416,96 @@ function _defineProperty(obj, key, value) {
46
416
  return obj;
47
417
  }
48
418
 
419
+ function _toConsumableArray(arr) {
420
+ return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
421
+ }
422
+
423
+ function _arrayWithoutHoles(arr) {
424
+ if (Array.isArray(arr)) return _arrayLikeToArray(arr);
425
+ }
426
+
427
+ function _iterableToArray(iter) {
428
+ if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
429
+ }
430
+
431
+ function _unsupportedIterableToArray(o, minLen) {
432
+ if (!o) return;
433
+ if (typeof o === "string") return _arrayLikeToArray(o, minLen);
434
+ var n = Object.prototype.toString.call(o).slice(8, -1);
435
+ if (n === "Object" && o.constructor) n = o.constructor.name;
436
+ if (n === "Map" || n === "Set") return Array.from(o);
437
+ if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
438
+ }
439
+
440
+ function _arrayLikeToArray(arr, len) {
441
+ if (len == null || len > arr.length) len = arr.length;
442
+
443
+ for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
444
+
445
+ return arr2;
446
+ }
447
+
448
+ function _nonIterableSpread() {
449
+ throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
450
+ }
451
+
452
+ function _createForOfIteratorHelper(o, allowArrayLike) {
453
+ var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
454
+
455
+ if (!it) {
456
+ if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
457
+ if (it) o = it;
458
+ var i = 0;
459
+
460
+ var F = function () {};
461
+
462
+ return {
463
+ s: F,
464
+ n: function () {
465
+ if (i >= o.length) return {
466
+ done: true
467
+ };
468
+ return {
469
+ done: false,
470
+ value: o[i++]
471
+ };
472
+ },
473
+ e: function (e) {
474
+ throw e;
475
+ },
476
+ f: F
477
+ };
478
+ }
479
+
480
+ throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
481
+ }
482
+
483
+ var normalCompletion = true,
484
+ didErr = false,
485
+ err;
486
+ return {
487
+ s: function () {
488
+ it = it.call(o);
489
+ },
490
+ n: function () {
491
+ var step = it.next();
492
+ normalCompletion = step.done;
493
+ return step;
494
+ },
495
+ e: function (e) {
496
+ didErr = true;
497
+ err = e;
498
+ },
499
+ f: function () {
500
+ try {
501
+ if (!normalCompletion && it.return != null) it.return();
502
+ } finally {
503
+ if (didErr) throw err;
504
+ }
505
+ }
506
+ };
507
+ }
508
+
49
509
  /**
50
510
  * Adjust a given token's lightness by a specified percentage
51
511
  * Example: token = hsl(10, 10, 10);
@@ -82,7 +542,7 @@ function adjustAlpha(token, alpha) {
82
542
  * LICENSE file in the root directory of this source tree.
83
543
  */
84
544
 
85
- var background$7 = white$2;
545
+ var background$8 = white$2;
86
546
  var backgroundInverse$7 = gray80;
87
547
  var backgroundBrand$7 = blue60;
88
548
  var backgroundActive$7 = adjustAlpha(gray50, 0.5);
@@ -194,7 +654,7 @@ var supportCautionMinor$3 = yellow30;
194
654
  var supportCautionMajor$3 = orange40;
195
655
  var supportCautionUndefined$3 = purple60; // Focus
196
656
 
197
- var focus$7 = blue60;
657
+ var focus$8 = blue60;
198
658
  var focusInset$7 = white$2;
199
659
  var focusInverse$7 = white$2; // Skeleton
200
660
 
@@ -209,7 +669,7 @@ var shadow$7 = 'rgba(0, 0, 0, 0.3)'; // Type
209
669
 
210
670
  var white$1 = /*#__PURE__*/Object.freeze({
211
671
  __proto__: null,
212
- background: background$7,
672
+ background: background$8,
213
673
  backgroundInverse: backgroundInverse$7,
214
674
  backgroundBrand: backgroundBrand$7,
215
675
  backgroundActive: backgroundActive$7,
@@ -295,7 +755,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
295
755
  supportCautionMinor: supportCautionMinor$3,
296
756
  supportCautionMajor: supportCautionMajor$3,
297
757
  supportCautionUndefined: supportCautionUndefined$3,
298
- focus: focus$7,
758
+ focus: focus$8,
299
759
  focusInset: focusInset$7,
300
760
  focusInverse: focusInverse$7,
301
761
  skeletonBackground: skeletonBackground$7,
@@ -378,7 +838,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
378
838
  * LICENSE file in the root directory of this source tree.
379
839
  */
380
840
 
381
- var background$6 = gray10;
841
+ var background$7 = gray10;
382
842
  var backgroundInverse$6 = gray80;
383
843
  var backgroundBrand$6 = blue60;
384
844
  var backgroundActive$6 = adjustAlpha(gray50, 0.5);
@@ -490,7 +950,7 @@ var supportCautionMinor$2 = yellow30;
490
950
  var supportCautionMajor$2 = orange40;
491
951
  var supportCautionUndefined$2 = purple60; // Focus
492
952
 
493
- var focus$6 = blue60;
953
+ var focus$7 = blue60;
494
954
  var focusInset$6 = white$2;
495
955
  var focusInverse$6 = white$2; // Skeleton
496
956
 
@@ -505,7 +965,7 @@ var shadow$6 = 'rgba(0, 0, 0, 0.3)';
505
965
 
506
966
  var g10$1 = /*#__PURE__*/Object.freeze({
507
967
  __proto__: null,
508
- background: background$6,
968
+ background: background$7,
509
969
  backgroundInverse: backgroundInverse$6,
510
970
  backgroundBrand: backgroundBrand$6,
511
971
  backgroundActive: backgroundActive$6,
@@ -591,7 +1051,7 @@ var g10$1 = /*#__PURE__*/Object.freeze({
591
1051
  supportCautionMinor: supportCautionMinor$2,
592
1052
  supportCautionMajor: supportCautionMajor$2,
593
1053
  supportCautionUndefined: supportCautionUndefined$2,
594
- focus: focus$6,
1054
+ focus: focus$7,
595
1055
  focusInset: focusInset$6,
596
1056
  focusInverse: focusInverse$6,
597
1057
  skeletonBackground: skeletonBackground$6,
@@ -674,7 +1134,7 @@ var g10$1 = /*#__PURE__*/Object.freeze({
674
1134
  * LICENSE file in the root directory of this source tree.
675
1135
  */
676
1136
 
677
- var background$5 = gray90;
1137
+ var background$6 = gray90;
678
1138
  var backgroundInverse$5 = gray10;
679
1139
  var backgroundBrand$5 = blue60;
680
1140
  var backgroundActive$5 = adjustAlpha(gray50, 0.4);
@@ -786,7 +1246,7 @@ var supportCautionMinor$1 = yellow30;
786
1246
  var supportCautionMajor$1 = orange40;
787
1247
  var supportCautionUndefined$1 = purple50; // Focus
788
1248
 
789
- var focus$5 = white$2;
1249
+ var focus$6 = white$2;
790
1250
  var focusInset$5 = gray100;
791
1251
  var focusInverse$5 = blue60; // Skeleton
792
1252
 
@@ -801,7 +1261,7 @@ var shadow$5 = rgba(black, 0.8);
801
1261
 
802
1262
  var g90$1 = /*#__PURE__*/Object.freeze({
803
1263
  __proto__: null,
804
- background: background$5,
1264
+ background: background$6,
805
1265
  backgroundInverse: backgroundInverse$5,
806
1266
  backgroundBrand: backgroundBrand$5,
807
1267
  backgroundActive: backgroundActive$5,
@@ -887,7 +1347,7 @@ var g90$1 = /*#__PURE__*/Object.freeze({
887
1347
  supportCautionMinor: supportCautionMinor$1,
888
1348
  supportCautionMajor: supportCautionMajor$1,
889
1349
  supportCautionUndefined: supportCautionUndefined$1,
890
- focus: focus$5,
1350
+ focus: focus$6,
891
1351
  focusInset: focusInset$5,
892
1352
  focusInverse: focusInverse$5,
893
1353
  skeletonBackground: skeletonBackground$5,
@@ -970,7 +1430,7 @@ var g90$1 = /*#__PURE__*/Object.freeze({
970
1430
  * LICENSE file in the root directory of this source tree.
971
1431
  */
972
1432
 
973
- var background$4 = gray100;
1433
+ var background$5 = gray100;
974
1434
  var backgroundInverse$4 = gray10;
975
1435
  var backgroundBrand$4 = blue60;
976
1436
  var backgroundActive$4 = adjustAlpha(gray50, 0.4);
@@ -1082,11 +1542,11 @@ var supportCautionMinor = yellow30;
1082
1542
  var supportCautionMajor = orange40;
1083
1543
  var supportCautionUndefined = purple50; // Focus
1084
1544
 
1085
- var focus$4 = white$2;
1545
+ var focus$5 = white$2;
1086
1546
  var focusInset$4 = gray100;
1087
1547
  var focusInverse$4 = blue60; // Skeleton
1088
1548
 
1089
- var skeletonBackground$4 = adjustLightness(background$4, 7);
1549
+ var skeletonBackground$4 = adjustLightness(background$5, 7);
1090
1550
  var skeletonElement$4 = gray80; // Misc
1091
1551
 
1092
1552
  var interactive$4 = blue50;
@@ -1097,7 +1557,7 @@ var shadow$4 = rgba(black, 0.8);
1097
1557
 
1098
1558
  var g100$1 = /*#__PURE__*/Object.freeze({
1099
1559
  __proto__: null,
1100
- background: background$4,
1560
+ background: background$5,
1101
1561
  backgroundInverse: backgroundInverse$4,
1102
1562
  backgroundBrand: backgroundBrand$4,
1103
1563
  backgroundActive: backgroundActive$4,
@@ -1183,7 +1643,7 @@ var g100$1 = /*#__PURE__*/Object.freeze({
1183
1643
  supportCautionMinor: supportCautionMinor,
1184
1644
  supportCautionMajor: supportCautionMajor,
1185
1645
  supportCautionUndefined: supportCautionUndefined,
1186
- focus: focus$4,
1646
+ focus: focus$5,
1187
1647
  focusInset: focusInset$4,
1188
1648
  focusInverse: focusInverse$4,
1189
1649
  skeletonBackground: skeletonBackground$4,
@@ -1303,7 +1763,7 @@ var overlay01$3 = rgba(gray100, 0.5);
1303
1763
  var danger01$3 = red60;
1304
1764
  var danger02$3 = red60; // Interaction states
1305
1765
 
1306
- var focus$3 = blue60;
1766
+ var focus$4 = blue60;
1307
1767
  var inverseFocusUi$3 = white$2;
1308
1768
  var hoverPrimary$3 = '#0353e9';
1309
1769
  var activePrimary$3 = blue80;
@@ -1334,12 +1794,12 @@ var skeleton01$3 = '#e5e5e5';
1334
1794
  var skeleton02$3 = gray30; // New color tokens
1335
1795
  // TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
1336
1796
 
1337
- var background$3 = uiBackground$3;
1338
- var layer$3 = ui01$3;
1797
+ var background$4 = uiBackground$3;
1798
+ var layer$4 = ui01$3;
1339
1799
  var layerAccent$3 = ui03$3;
1340
1800
  var layerAccentActive$3 = gray40;
1341
1801
  var layerAccentHover$3 = adjustLightness(layerAccent$3, -6);
1342
- var field$3 = field01$3;
1802
+ var field$4 = field01$3;
1343
1803
  var backgroundInverse$3 = inverse02$3;
1344
1804
  var backgroundBrand$3 = interactive01$3;
1345
1805
  var interactive$3 = interactive04$3;
@@ -1456,7 +1916,7 @@ var white = /*#__PURE__*/Object.freeze({
1456
1916
  overlay01: overlay01$3,
1457
1917
  danger01: danger01$3,
1458
1918
  danger02: danger02$3,
1459
- focus: focus$3,
1919
+ focus: focus$4,
1460
1920
  inverseFocusUi: inverseFocusUi$3,
1461
1921
  hoverPrimary: hoverPrimary$3,
1462
1922
  activePrimary: activePrimary$3,
@@ -1485,12 +1945,12 @@ var white = /*#__PURE__*/Object.freeze({
1485
1945
  buttonSeparator: buttonSeparator$3,
1486
1946
  skeleton01: skeleton01$3,
1487
1947
  skeleton02: skeleton02$3,
1488
- background: background$3,
1489
- layer: layer$3,
1948
+ background: background$4,
1949
+ layer: layer$4,
1490
1950
  layerAccent: layerAccent$3,
1491
1951
  layerAccentActive: layerAccentActive$3,
1492
1952
  layerAccentHover: layerAccentHover$3,
1493
- field: field$3,
1953
+ field: field$4,
1494
1954
  backgroundInverse: backgroundInverse$3,
1495
1955
  backgroundBrand: backgroundBrand$3,
1496
1956
  interactive: interactive$3,
@@ -1700,7 +2160,7 @@ var overlay01$2 = rgba(gray100, 0.5);
1700
2160
  var danger01$2 = red60;
1701
2161
  var danger02$2 = red60; // Interaction states
1702
2162
 
1703
- var focus$2 = blue60;
2163
+ var focus$3 = blue60;
1704
2164
  var inverseFocusUi$2 = white$2;
1705
2165
  var hoverPrimary$2 = '#0353e9';
1706
2166
  var activePrimary$2 = blue80;
@@ -1731,12 +2191,12 @@ var skeleton01$2 = '#e5e5e5';
1731
2191
  var skeleton02$2 = gray30; // New color tokens
1732
2192
  // TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
1733
2193
 
1734
- var background$2 = uiBackground$2;
1735
- var layer$2 = ui01$2;
2194
+ var background$3 = uiBackground$2;
2195
+ var layer$3 = ui01$2;
1736
2196
  var layerAccent$2 = ui03$2;
1737
2197
  var layerAccentActive$2 = gray40;
1738
2198
  var layerAccentHover$2 = adjustLightness(layerAccent$2, -6);
1739
- var field$2 = field01$2;
2199
+ var field$3 = field01$2;
1740
2200
  var backgroundInverse$2 = inverse02$2;
1741
2201
  var backgroundBrand$2 = interactive01$2;
1742
2202
  var interactive$2 = interactive04$2;
@@ -1853,7 +2313,7 @@ var g10 = /*#__PURE__*/Object.freeze({
1853
2313
  overlay01: overlay01$2,
1854
2314
  danger01: danger01$2,
1855
2315
  danger02: danger02$2,
1856
- focus: focus$2,
2316
+ focus: focus$3,
1857
2317
  inverseFocusUi: inverseFocusUi$2,
1858
2318
  hoverPrimary: hoverPrimary$2,
1859
2319
  activePrimary: activePrimary$2,
@@ -1882,12 +2342,12 @@ var g10 = /*#__PURE__*/Object.freeze({
1882
2342
  buttonSeparator: buttonSeparator$2,
1883
2343
  skeleton01: skeleton01$2,
1884
2344
  skeleton02: skeleton02$2,
1885
- background: background$2,
1886
- layer: layer$2,
2345
+ background: background$3,
2346
+ layer: layer$3,
1887
2347
  layerAccent: layerAccent$2,
1888
2348
  layerAccentActive: layerAccentActive$2,
1889
2349
  layerAccentHover: layerAccentHover$2,
1890
- field: field$2,
2350
+ field: field$3,
1891
2351
  backgroundInverse: backgroundInverse$2,
1892
2352
  backgroundBrand: backgroundBrand$2,
1893
2353
  interactive: interactive$2,
@@ -2097,7 +2557,7 @@ var overlay01$1 = rgba(black, 0.65);
2097
2557
  var danger01$1 = red60;
2098
2558
  var danger02$1 = red40; // Interaction states
2099
2559
 
2100
- var focus$1 = white$2;
2560
+ var focus$2 = white$2;
2101
2561
  var inverseFocusUi$1 = blue60;
2102
2562
  var hoverPrimary$1 = '#0353e9';
2103
2563
  var activePrimary$1 = blue80;
@@ -2128,12 +2588,12 @@ var skeleton01$1 = '#353535';
2128
2588
  var skeleton02$1 = gray70; // New color tokens
2129
2589
  // TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
2130
2590
 
2131
- var background$1 = uiBackground$1;
2132
- var layer$1 = ui01$1;
2591
+ var background$2 = uiBackground$1;
2592
+ var layer$2 = ui01$1;
2133
2593
  var layerAccent$1 = ui03$1;
2134
2594
  var layerAccentActive$1 = gray50;
2135
2595
  var layerAccentHover$1 = adjustLightness(layerAccent$1, +7);
2136
- var field$1 = field01$1;
2596
+ var field$2 = field01$1;
2137
2597
  var backgroundInverse$1 = inverse02$1;
2138
2598
  var backgroundBrand$1 = interactive01$1;
2139
2599
  var interactive$1 = interactive04$1;
@@ -2250,7 +2710,7 @@ var g90 = /*#__PURE__*/Object.freeze({
2250
2710
  overlay01: overlay01$1,
2251
2711
  danger01: danger01$1,
2252
2712
  danger02: danger02$1,
2253
- focus: focus$1,
2713
+ focus: focus$2,
2254
2714
  inverseFocusUi: inverseFocusUi$1,
2255
2715
  hoverPrimary: hoverPrimary$1,
2256
2716
  activePrimary: activePrimary$1,
@@ -2279,12 +2739,12 @@ var g90 = /*#__PURE__*/Object.freeze({
2279
2739
  buttonSeparator: buttonSeparator$1,
2280
2740
  skeleton01: skeleton01$1,
2281
2741
  skeleton02: skeleton02$1,
2282
- background: background$1,
2283
- layer: layer$1,
2742
+ background: background$2,
2743
+ layer: layer$2,
2284
2744
  layerAccent: layerAccent$1,
2285
2745
  layerAccentActive: layerAccentActive$1,
2286
2746
  layerAccentHover: layerAccentHover$1,
2287
- field: field$1,
2747
+ field: field$2,
2288
2748
  backgroundInverse: backgroundInverse$1,
2289
2749
  backgroundBrand: backgroundBrand$1,
2290
2750
  interactive: interactive$1,
@@ -2494,7 +2954,7 @@ var overlay01 = rgba(black, 0.65);
2494
2954
  var danger01 = red60;
2495
2955
  var danger02 = red50; // Interaction states
2496
2956
 
2497
- var focus = white$2;
2957
+ var focus$1 = white$2;
2498
2958
  var inverseFocusUi = blue60;
2499
2959
  var hoverPrimary = '#0353e9';
2500
2960
  var activePrimary = blue80;
@@ -2525,12 +2985,12 @@ var skeleton01 = '#353535';
2525
2985
  var skeleton02 = gray70; // New color tokens
2526
2986
  // TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
2527
2987
 
2528
- var background = uiBackground;
2529
- var layer = ui01;
2988
+ var background$1 = uiBackground;
2989
+ var layer$1 = ui01;
2530
2990
  var layerAccent = ui03;
2531
2991
  var layerAccentActive = gray60;
2532
2992
  var layerAccentHover = adjustLightness(layerAccent, +6);
2533
- var field = field01;
2993
+ var field$1 = field01;
2534
2994
  var backgroundInverse = inverse02;
2535
2995
  var backgroundBrand = interactive01;
2536
2996
  var interactive = interactive04;
@@ -2647,7 +3107,7 @@ var g100 = /*#__PURE__*/Object.freeze({
2647
3107
  overlay01: overlay01,
2648
3108
  danger01: danger01,
2649
3109
  danger02: danger02,
2650
- focus: focus,
3110
+ focus: focus$1,
2651
3111
  inverseFocusUi: inverseFocusUi,
2652
3112
  hoverPrimary: hoverPrimary,
2653
3113
  activePrimary: activePrimary,
@@ -2676,12 +3136,12 @@ var g100 = /*#__PURE__*/Object.freeze({
2676
3136
  buttonSeparator: buttonSeparator,
2677
3137
  skeleton01: skeleton01,
2678
3138
  skeleton02: skeleton02,
2679
- background: background,
2680
- layer: layer,
3139
+ background: background$1,
3140
+ layer: layer$1,
2681
3141
  layerAccent: layerAccent,
2682
3142
  layerAccentActive: layerAccentActive,
2683
3143
  layerAccentHover: layerAccentHover,
2684
- field: field,
3144
+ field: field$1,
2685
3145
  backgroundInverse: backgroundInverse,
2686
3146
  backgroundBrand: backgroundBrand,
2687
3147
  interactive: interactive,
@@ -3013,7 +3473,7 @@ var index = /*#__PURE__*/Object.freeze({
3013
3473
  overlay01: overlay01$3,
3014
3474
  danger01: danger01$3,
3015
3475
  danger02: danger02$3,
3016
- focus: focus$3,
3476
+ focus: focus$4,
3017
3477
  inverseFocusUi: inverseFocusUi$3,
3018
3478
  hoverPrimary: hoverPrimary$3,
3019
3479
  activePrimary: activePrimary$3,
@@ -3042,12 +3502,12 @@ var index = /*#__PURE__*/Object.freeze({
3042
3502
  buttonSeparator: buttonSeparator$3,
3043
3503
  skeleton01: skeleton01$3,
3044
3504
  skeleton02: skeleton02$3,
3045
- background: background$3,
3046
- layer: layer$3,
3505
+ background: background$4,
3506
+ layer: layer$4,
3047
3507
  layerAccent: layerAccent$3,
3048
3508
  layerAccentActive: layerAccentActive$3,
3049
3509
  layerAccentHover: layerAccentHover$3,
3050
- field: field$3,
3510
+ field: field$4,
3051
3511
  backgroundInverse: backgroundInverse$3,
3052
3512
  backgroundBrand: backgroundBrand$3,
3053
3513
  interactive: interactive$3,
@@ -3125,6 +3585,679 @@ var index = /*#__PURE__*/Object.freeze({
3125
3585
  danger: danger$3
3126
3586
  });
3127
3587
 
3588
+ /**
3589
+ * Copyright IBM Corp. 2018, 2018
3590
+ *
3591
+ * This source code is licensed under the Apache-2.0 license found in the
3592
+ * LICENSE file in the root directory of this source tree.
3593
+ */
3594
+
3595
+ /**
3596
+ * A Token is the simplest unit in our theme. It can have a name, properties
3597
+ * that it applies to like border or background, along with a state if the
3598
+ * token should only be used for specific states like hover or focus.
3599
+ */
3600
+ var Token = /*#__PURE__*/function () {
3601
+ function Token(name, properties, state) {
3602
+ _classCallCheck(this, Token);
3603
+
3604
+ this.kind = 'Token';
3605
+ this.name = name;
3606
+
3607
+ if (properties) {
3608
+ this.properties = properties;
3609
+ }
3610
+
3611
+ if (state) {
3612
+ this.state = state;
3613
+ }
3614
+ }
3615
+
3616
+ _createClass(Token, null, [{
3617
+ key: "create",
3618
+ value: function create(token) {
3619
+ if (typeof token === 'string') {
3620
+ return new Token(token);
3621
+ }
3622
+
3623
+ return new Token(token.name, token.properties, token.state);
3624
+ }
3625
+ }]);
3626
+
3627
+ return Token;
3628
+ }();
3629
+
3630
+ /**
3631
+ * A TokenGroup allows us to group up a collection of tokens and nested token
3632
+ * groups. A group allows us to colocate related tokens and write information
3633
+ * once that applies to the entire collection of tokens. For example, if all the
3634
+ * tokens apply to the `border` color property then we can specify this property
3635
+ * at the group level
3636
+ *
3637
+ * A TokenGroup allows us to colocate all this information while also providing
3638
+ * ways to get information about the entire group, including properties and
3639
+ * states
3640
+ */
3641
+
3642
+ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
3643
+ function TokenGroup(name, tokens, properties) {
3644
+ _classCallCheck(this, TokenGroup);
3645
+
3646
+ this.kind = 'TokenGroup';
3647
+ this.name = name;
3648
+
3649
+ if (properties) {
3650
+ this.properties = properties;
3651
+ }
3652
+
3653
+ this.children = tokens.map(function (child) {
3654
+ if (child.kind === 'TokenGroup') {
3655
+ return child;
3656
+ }
3657
+
3658
+ return Token.create(child);
3659
+ });
3660
+ }
3661
+
3662
+ _createClass(TokenGroup, [{
3663
+ key: _Symbol$iterator,
3664
+ value: /*#__PURE__*/_regeneratorRuntime().mark(function value() {
3665
+ var _iterator, _step, child;
3666
+
3667
+ return _regeneratorRuntime().wrap(function value$(_context) {
3668
+ while (1) {
3669
+ switch (_context.prev = _context.next) {
3670
+ case 0:
3671
+ _context.next = 2;
3672
+ return this;
3673
+
3674
+ case 2:
3675
+ _iterator = _createForOfIteratorHelper(this.children);
3676
+ _context.prev = 3;
3677
+
3678
+ _iterator.s();
3679
+
3680
+ case 5:
3681
+ if ((_step = _iterator.n()).done) {
3682
+ _context.next = 13;
3683
+ break;
3684
+ }
3685
+
3686
+ child = _step.value;
3687
+ _context.next = 9;
3688
+ return child;
3689
+
3690
+ case 9:
3691
+ if (!(child.kind === 'TokenGroup')) {
3692
+ _context.next = 11;
3693
+ break;
3694
+ }
3695
+
3696
+ return _context.delegateYield(child, "t0", 11);
3697
+
3698
+ case 11:
3699
+ _context.next = 5;
3700
+ break;
3701
+
3702
+ case 13:
3703
+ _context.next = 18;
3704
+ break;
3705
+
3706
+ case 15:
3707
+ _context.prev = 15;
3708
+ _context.t1 = _context["catch"](3);
3709
+
3710
+ _iterator.e(_context.t1);
3711
+
3712
+ case 18:
3713
+ _context.prev = 18;
3714
+
3715
+ _iterator.f();
3716
+
3717
+ return _context.finish(18);
3718
+
3719
+ case 21:
3720
+ case "end":
3721
+ return _context.stop();
3722
+ }
3723
+ }
3724
+ }, value, this, [[3, 15, 18, 21]]);
3725
+ })
3726
+ /**
3727
+ * Get all the tokens available in every Token Group in this TokenGroup,
3728
+ * including itself.
3729
+ * @returns {Array<Token>}
3730
+ */
3731
+
3732
+ }, {
3733
+ key: "getTokens",
3734
+ value: function getTokens() {
3735
+ var parentContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
3736
+
3737
+ var context = _objectSpread2(_objectSpread2({}, parentContext), {}, {
3738
+ groups: parentContext.groups ? parentContext.groups.concat(this) : [this],
3739
+ properties: this.properties || parentContext.properties
3740
+ });
3741
+
3742
+ return this.children.flatMap(function (child) {
3743
+ if (child.kind === 'TokenGroup') {
3744
+ return child.getTokens(context);
3745
+ }
3746
+
3747
+ var token = _objectSpread2(_objectSpread2({}, context), {}, {
3748
+ name: child.name,
3749
+ properties: child.properties || context.properties
3750
+ });
3751
+
3752
+ if (child.state) {
3753
+ token.state = child.state;
3754
+ }
3755
+
3756
+ return token;
3757
+ });
3758
+ }
3759
+ /**
3760
+ * Get a specific token from the TokenGroup, or form one of its nested
3761
+ * TokenGroups
3762
+ * @returns {Token}
3763
+ */
3764
+
3765
+ }, {
3766
+ key: "getToken",
3767
+ value: function getToken(tokenOrName) {
3768
+ var name = typeof tokenOrName === 'string' ? tokenOrName : tokenOrName.name;
3769
+
3770
+ var _iterator2 = _createForOfIteratorHelper(this),
3771
+ _step2;
3772
+
3773
+ try {
3774
+ for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
3775
+ var child = _step2.value;
3776
+
3777
+ if (child.kind === 'TokenGroup') {
3778
+ continue;
3779
+ }
3780
+
3781
+ if (child.name === name) {
3782
+ return child;
3783
+ }
3784
+ }
3785
+ } catch (err) {
3786
+ _iterator2.e(err);
3787
+ } finally {
3788
+ _iterator2.f();
3789
+ }
3790
+
3791
+ return null;
3792
+ }
3793
+ /**
3794
+ * Get all the unique groups in the token group, including this group
3795
+ * @returns {Array<TokenGroup>}
3796
+ */
3797
+
3798
+ }, {
3799
+ key: "getTokenGroups",
3800
+ value: function getTokenGroups() {
3801
+ var set = new Set();
3802
+
3803
+ var _iterator3 = _createForOfIteratorHelper(this),
3804
+ _step3;
3805
+
3806
+ try {
3807
+ for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
3808
+ var child = _step3.value;
3809
+
3810
+ if (child.kind !== 'TokenGroup') {
3811
+ continue;
3812
+ }
3813
+
3814
+ set.add(child);
3815
+ }
3816
+ } catch (err) {
3817
+ _iterator3.e(err);
3818
+ } finally {
3819
+ _iterator3.f();
3820
+ }
3821
+
3822
+ return Array.from(set);
3823
+ }
3824
+ /**
3825
+ * Get all the unique properties in the token group, including this group
3826
+ * @returns {Array<string>}
3827
+ */
3828
+
3829
+ }, {
3830
+ key: "getTokenProperties",
3831
+ value: function getTokenProperties() {
3832
+ var set = new Set();
3833
+
3834
+ var _iterator4 = _createForOfIteratorHelper(this),
3835
+ _step4;
3836
+
3837
+ try {
3838
+ for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
3839
+ var child = _step4.value;
3840
+
3841
+ if (!Array.isArray(child.properties)) {
3842
+ continue;
3843
+ }
3844
+
3845
+ var _iterator5 = _createForOfIteratorHelper(child.properties),
3846
+ _step5;
3847
+
3848
+ try {
3849
+ for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
3850
+ var property = _step5.value;
3851
+ set.add(property);
3852
+ }
3853
+ } catch (err) {
3854
+ _iterator5.e(err);
3855
+ } finally {
3856
+ _iterator5.f();
3857
+ }
3858
+ }
3859
+ } catch (err) {
3860
+ _iterator4.e(err);
3861
+ } finally {
3862
+ _iterator4.f();
3863
+ }
3864
+
3865
+ return Array.from(set);
3866
+ }
3867
+ /**
3868
+ * Get all the unique states in the token group, including this group
3869
+ * @returns {Array<string>}
3870
+ */
3871
+
3872
+ }, {
3873
+ key: "getTokenStates",
3874
+ value: function getTokenStates() {
3875
+ var set = new Set();
3876
+
3877
+ var _iterator6 = _createForOfIteratorHelper(this),
3878
+ _step6;
3879
+
3880
+ try {
3881
+ for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
3882
+ var child = _step6.value;
3883
+
3884
+ if (child.kind !== 'Token') {
3885
+ continue;
3886
+ }
3887
+
3888
+ if (child.state) {
3889
+ set.add(child.state);
3890
+ }
3891
+ }
3892
+ } catch (err) {
3893
+ _iterator6.e(err);
3894
+ } finally {
3895
+ _iterator6.f();
3896
+ }
3897
+
3898
+ return Array.from(set);
3899
+ }
3900
+ }], [{
3901
+ key: "create",
3902
+ value: function create(_ref) {
3903
+ var name = _ref.name,
3904
+ properties = _ref.properties,
3905
+ _ref$tokens = _ref.tokens,
3906
+ tokens = _ref$tokens === void 0 ? [] : _ref$tokens;
3907
+ return new TokenGroup(name, tokens, properties);
3908
+ }
3909
+ }]);
3910
+
3911
+ return TokenGroup;
3912
+ }(Symbol.iterator);
3913
+
3914
+ /**
3915
+ * Copyright IBM Corp. 2018, 2018
3916
+ *
3917
+ * This source code is licensed under the Apache-2.0 license found in the
3918
+ * LICENSE file in the root directory of this source tree.
3919
+ */
3920
+ var background = TokenGroup.create({
3921
+ name: 'Background',
3922
+ properties: ['background'],
3923
+ tokens: ['background', {
3924
+ name: 'background-active',
3925
+ state: 'active'
3926
+ }, {
3927
+ name: 'background-selected',
3928
+ state: 'selected'
3929
+ }, {
3930
+ name: 'background-selected-hover',
3931
+ state: 'hover'
3932
+ }, {
3933
+ name: 'background-hover',
3934
+ state: 'hover'
3935
+ }, 'background-brand', 'background-inverse', {
3936
+ state: 'hover',
3937
+ name: 'background-inverse-hover'
3938
+ }]
3939
+ });
3940
+ var layer = TokenGroup.create({
3941
+ name: 'Layer',
3942
+ properties: ['background'],
3943
+ tokens: [{
3944
+ name: 'layer-01'
3945
+ }, {
3946
+ state: 'active',
3947
+ name: 'layer-active-01'
3948
+ }, {
3949
+ state: 'hover',
3950
+ name: 'layer-hover-01'
3951
+ }, {
3952
+ state: 'selected',
3953
+ name: 'layer-selected-01'
3954
+ }, {
3955
+ state: 'hover',
3956
+ name: 'layer-selected-hover-01'
3957
+ }, {
3958
+ name: 'layer-02'
3959
+ }, {
3960
+ state: 'active',
3961
+ name: 'layer-active-02'
3962
+ }, {
3963
+ state: 'hover',
3964
+ name: 'layer-hover-02'
3965
+ }, {
3966
+ state: 'selected',
3967
+ name: 'layer-selected-02'
3968
+ }, {
3969
+ state: 'hover',
3970
+ name: 'layer-selected-hover-02'
3971
+ }, {
3972
+ name: 'layer-03'
3973
+ }, {
3974
+ state: 'active',
3975
+ name: 'layer-active-03'
3976
+ }, {
3977
+ state: 'hover',
3978
+ name: 'layer-hover-03'
3979
+ }, {
3980
+ state: 'selected',
3981
+ name: 'layer-selected-03'
3982
+ }, {
3983
+ state: 'hover',
3984
+ name: 'layer-selected-hover-03'
3985
+ }, {
3986
+ name: 'layer-selected-inverse'
3987
+ }, {
3988
+ state: 'disabled',
3989
+ name: 'layer-selected-disabled'
3990
+ }, {
3991
+ name: 'layer-accent-01'
3992
+ }, {
3993
+ state: 'active',
3994
+ name: 'layer-accent-active-01'
3995
+ }, {
3996
+ state: 'hover',
3997
+ name: 'layer-accent-hover-01'
3998
+ }, {
3999
+ name: 'layer-accent-02'
4000
+ }, {
4001
+ state: 'active',
4002
+ name: 'layer-accent-active-02'
4003
+ }, {
4004
+ state: 'hover',
4005
+ name: 'layer-accent-hover-02'
4006
+ }, {
4007
+ name: 'layer-accent-03'
4008
+ }, {
4009
+ state: 'active',
4010
+ name: 'layer-accent-active-03'
4011
+ }, {
4012
+ state: 'hover',
4013
+ name: 'layer-accent-hover-03'
4014
+ }]
4015
+ });
4016
+ var field = TokenGroup.create({
4017
+ name: 'Field',
4018
+ properties: ['background'],
4019
+ tokens: [{
4020
+ name: 'field-01'
4021
+ }, {
4022
+ state: 'hover',
4023
+ name: 'field-hover-01'
4024
+ }, {
4025
+ name: 'field-02'
4026
+ }, {
4027
+ state: 'hover',
4028
+ name: 'field-hover-02'
4029
+ }, {
4030
+ name: 'field-03'
4031
+ }, {
4032
+ state: 'hover',
4033
+ name: 'field-hover-03'
4034
+ }]
4035
+ });
4036
+ var border = TokenGroup.create({
4037
+ name: 'Borders',
4038
+ properties: ['border'],
4039
+ tokens: [{
4040
+ name: 'border-subtle-00'
4041
+ }, {
4042
+ name: 'border-subtle-01'
4043
+ }, {
4044
+ state: 'selected',
4045
+ name: 'border-subtle-selected-01'
4046
+ }, {
4047
+ name: 'border-subtle-02'
4048
+ }, {
4049
+ state: 'selected',
4050
+ name: 'border-subtle-selected-02'
4051
+ }, {
4052
+ name: 'border-subtle-03'
4053
+ }, {
4054
+ state: 'selected',
4055
+ name: 'border-subtle-selected-03'
4056
+ }, // Border strong
4057
+ 'border-strong-01', 'border-strong-02', 'border-strong-03', // Border inverse
4058
+ 'border-inverse', // Border interactive
4059
+ 'border-interactive', {
4060
+ state: 'disabled',
4061
+ name: 'border-disabled'
4062
+ }]
4063
+ });
4064
+ var text = TokenGroup.create({
4065
+ name: 'Text',
4066
+ properties: ['text'],
4067
+ tokens: ['text-primary', 'text-secondary', 'text-placeholder', 'text-helper', 'text-error', 'text-inverse', {
4068
+ name: 'text-on-color'
4069
+ }, {
4070
+ state: 'disabled',
4071
+ name: 'text-on-color-disabled'
4072
+ }, {
4073
+ state: 'disabled',
4074
+ name: 'text-disabled'
4075
+ }]
4076
+ });
4077
+ var link = TokenGroup.create({
4078
+ name: 'Link',
4079
+ properties: ['text'],
4080
+ tokens: [{
4081
+ name: 'link-primary'
4082
+ }, {
4083
+ state: 'hover',
4084
+ name: 'link-primary-hover'
4085
+ }, 'link-secondary', {
4086
+ state: 'visited',
4087
+ name: 'link-visited'
4088
+ }, 'link-inverse', 'link-inverse-active', 'link-inverse-hover']
4089
+ });
4090
+ var icon = TokenGroup.create({
4091
+ name: 'Icons',
4092
+ properties: ['background', 'fill', 'stroke'],
4093
+ tokens: ['icon-primary', 'icon-secondary', 'icon-inverse', {
4094
+ name: 'icon-on-color'
4095
+ }, {
4096
+ state: 'disabled',
4097
+ name: 'icon-on-color-disabled'
4098
+ }, {
4099
+ state: 'disabled',
4100
+ name: 'icon-disabled'
4101
+ }]
4102
+ });
4103
+ var support = TokenGroup.create({
4104
+ name: 'Support',
4105
+ properties: ['background', 'fill', 'stroke'],
4106
+ tokens: ['support-error', 'support-success', 'support-warning', 'support-info', 'support-error-inverse', 'support-success-inverse', 'support-warning-inverse', 'support-info-inverse', 'support-caution-major', 'support-caution-minor', 'support-caution-undefined']
4107
+ });
4108
+ var focus = TokenGroup.create({
4109
+ name: 'Focus',
4110
+ properties: ['border'],
4111
+ tokens: ['focus', 'focus-inset', 'focus-inverse']
4112
+ });
4113
+ var skeleton = TokenGroup.create({
4114
+ name: 'Skeleton',
4115
+ properties: ['background'],
4116
+ tokens: ['skeleton-background', 'skeleton-element']
4117
+ });
4118
+ var contextual = TokenGroup.create({
4119
+ name: 'Contextual',
4120
+ properties: [],
4121
+ tokens: ['layer', 'layer-active', 'layer-hover', 'layer-selected', 'layer-selected-hover', 'layer-accent', 'layer-accent-hover', 'layer-accent-active', 'field', 'field-hover', 'border-subtle', 'border-subtle-selected', 'border-strong']
4122
+ });
4123
+ var group = TokenGroup.create({
4124
+ name: 'All',
4125
+ tokens: [background, layer, field, // Interactive
4126
+ {
4127
+ name: 'interactive',
4128
+ properties: ['background', 'text']
4129
+ }, border, text, link, icon, support, // Misc
4130
+ {
4131
+ name: 'highlight'
4132
+ }, {
4133
+ name: 'overlay',
4134
+ properties: ['background']
4135
+ }, {
4136
+ name: 'toggle-off'
4137
+ }, {
4138
+ name: 'shadow'
4139
+ }, focus, skeleton]
4140
+ });
4141
+
4142
+ /**
4143
+ * Copyright IBM Corp. 2018, 2018
4144
+ *
4145
+ * This source code is licensed under the Apache-2.0 license found in the
4146
+ * LICENSE file in the root directory of this source tree.
4147
+ */
4148
+ var button = TokenGroup.create({
4149
+ name: 'Button',
4150
+ properties: [],
4151
+ tokens: ['button-separator', 'button-primary', 'button-secondary', 'button-tertiary', 'button-danger-primary', 'button-danger-secondary', 'button-danger-active', 'button-primary-active', 'button-secondary-active', 'button-tertiary-active', 'button-danger-hover', 'button-primary-hover', 'button-secondary-hover', 'button-tertiary-hover', 'button-disabled']
4152
+ });
4153
+ var notification = TokenGroup.create({
4154
+ name: 'Notification',
4155
+ properties: [],
4156
+ tokens: ['notification-background-error', 'notification-background-success', 'notification-background-info', 'notification-background-warning', 'notification-action-hover', 'notification-action-tertiary-inverse', 'notification-action-tertiary-inverse-active', 'notification-action-tertiary-inverse-hover', 'notification-action-tertiary-inverse-text', 'notification-action-tertiary-inverse-text-on-color-disabled']
4157
+ });
4158
+ var tag = TokenGroup.create({
4159
+ name: 'Tag',
4160
+ properties: [],
4161
+ tokens: ['tag-background-red', 'tag-color-red', 'tag-hover-red', 'tag-background-magenta', 'tag-color-magenta', 'tag-hover-magenta', 'tag-background-purple', 'tag-color-purple', 'tag-hover-purple', 'tag-background-blue', 'tag-color-blue', 'tag-hover-blue', 'tag-background-cyan', 'tag-color-cyan', 'tag-hover-cyan', 'tag-background-teal', 'tag-color-teal', 'tag-hover-teal', 'tag-background-green', 'tag-color-green', 'tag-hover-green', 'tag-background-gray', 'tag-color-gray', 'tag-hover-gray', 'tag-background-cool-gray', 'tag-color-cool-gray', 'tag-hover-cool-gray', 'tag-background-warm-gray', 'tag-color-warm-gray', 'tag-hover-warm-gray']
4162
+ });
4163
+
4164
+ var components = /*#__PURE__*/Object.freeze({
4165
+ __proto__: null,
4166
+ button: button,
4167
+ notification: notification,
4168
+ tag: tag
4169
+ });
4170
+
4171
+ /**
4172
+ * Copyright IBM Corp. 2018, 2018
4173
+ *
4174
+ * This source code is licensed under the Apache-2.0 license found in the
4175
+ * LICENSE file in the root directory of this source tree.
4176
+ */
4177
+ var type$1 = TokenGroup.create({
4178
+ name: 'Type',
4179
+ properties: [],
4180
+ tokens: ['caption-01', 'caption-02', 'label-01', 'label-02', 'helper-text-01', 'helper-text-02', 'body-short-01', 'body-long-01', 'body-short-02', 'body-long-02', 'code-01', 'code-02', 'heading-01', 'productive-heading-01', 'heading-02', 'productive-Heading-02', 'productive-heading-03', 'productive-heading-04', 'productive-heading-05', 'productive-heading-06', 'productive-heading-07', 'expressive-heading-01', 'expressive-heading-02', 'expressive-heading-03', 'expressive-heading-04', 'expressive-heading-05', 'expressive-heading-06', 'expressive-paragraph-01', 'quotation-01', 'quotation-02', 'display-01', 'display-02', 'display-03', 'display-04']
4181
+ });
4182
+
4183
+ /**
4184
+ * Copyright IBM Corp. 2018, 2018
4185
+ *
4186
+ * This source code is licensed under the Apache-2.0 license found in the
4187
+ * LICENSE file in the root directory of this source tree.
4188
+ */
4189
+ var layout$1 = TokenGroup.create({
4190
+ name: 'Layout',
4191
+ properties: [],
4192
+ tokens: ['spacing-01', 'spacing-02', 'spacing-03', 'spacing-04', 'spacing-05', 'spacing-06', 'spacing-07', 'spacing-08', 'spacing-09', 'spacing-10', 'spacing-11', 'spacing-12', 'spacing-13', 'fluid-spacing-01', 'fluid-spacing-02', 'fluid-spacing-03', 'fluid-spacing-04', 'container-01', 'container-02', 'container-03', 'container-04', 'container-05', 'icon-size-01', 'icon-size-02']
4193
+ });
4194
+
4195
+ var color = TokenGroup.create({
4196
+ name: 'Color',
4197
+ properties: [],
4198
+ tokens: ['interactive-01', 'interactive-02', 'interactive-03', 'interactive-04', 'ui-background', 'ui-01', 'ui-02', 'ui-03', 'ui-04', 'ui-05', 'text-01', 'text-02', 'text-03', 'text-04', 'text-05', 'text-error', 'icon-01', 'icon-02', 'icon-03', 'link-01', 'link-02', 'inverse-link', 'field-01', 'field-02', 'inverse-01', 'inverse-02', 'support-01', 'support-02', 'support-03', 'support-04', 'inverse-support-01', 'inverse-support-02', 'inverse-support-03', 'inverse-support-04', 'overlay-01', 'danger-01', 'danger-02', 'focus', 'inverse-focus-ui', 'hover-primary', 'active-primary', 'hover-primary-text', 'hover-secondary', 'active-secondary', 'hover-tertiary', 'active-tertiary', 'hover-ui', 'hover-light-ui', 'hover-selected-ui', 'active-ui', 'active-light-ui', 'selected-ui', 'selected-light-ui', 'inverse-hover-ui', 'hover-danger', 'active-danger', 'hover-row', 'visited-link', 'disabled-01', 'disabled-02', 'disabled-03', 'highlight', 'decorative-01', 'button-separator', 'skeleton-01', 'skeleton-02', // deprecated
4199
+ 'brand-01', 'brand-02', 'brand-03', 'active-01', 'hover-field', 'danger']
4200
+ });
4201
+ var type = TokenGroup.create({
4202
+ name: 'Type',
4203
+ properties: [],
4204
+ tokens: ['caption-01', 'caption-02', 'label-01', 'label-02', 'helper-text-01', 'helper-text-02', 'body-short-01', 'body-long-01', 'body-short-02', 'body-long-02', 'code-01', 'code-02', 'heading-01', 'productive-heading-01', 'heading-02', 'productive-Heading-02', 'productive-heading-03', 'productive-heading-04', 'productive-heading-05', 'productive-heading-06', 'productive-heading-07', 'expressive-heading-01', 'expressive-heading-02', 'expressive-heading-03', 'expressive-heading-04', 'expressive-heading-05', 'expressive-heading-06', 'expressive-paragraph-01', 'quotation-01', 'quotation-02', 'display-01', 'display-02', 'display-03', 'display-04']
4205
+ });
4206
+ var layout = TokenGroup.create({
4207
+ name: 'Layout',
4208
+ properties: [],
4209
+ tokens: ['spacing-01', 'spacing-02', 'spacing-03', 'spacing-04', 'spacing-05', 'spacing-06', 'spacing-07', 'spacing-08', 'spacing-09', 'spacing-10', 'spacing-11', 'spacing-12', 'spacing-13', 'layout-01', 'layout-02', 'layout-03', 'layout-04', 'layout-05', 'layout-06', 'layout-07', 'fluid-spacing-01', 'fluid-spacing-02', 'fluid-spacing-03', 'fluid-spacing-04', 'container-01', 'container-02', 'container-03', 'container-04', 'container-05', 'icon-size-01', 'icon-size-02']
4210
+ });
4211
+ var v10 = [].concat(_toConsumableArray(color.getTokens().map(function (token) {
4212
+ return {
4213
+ name: token.name,
4214
+ type: 'color'
4215
+ };
4216
+ })), _toConsumableArray(type.getTokens().map(function (token) {
4217
+ return {
4218
+ name: token.name,
4219
+ type: 'type'
4220
+ };
4221
+ })), _toConsumableArray(layout.getTokens().map(function (token) {
4222
+ return {
4223
+ name: token.name,
4224
+ type: 'layout'
4225
+ };
4226
+ })));
4227
+
4228
+ var v11 = [].concat(_toConsumableArray(group.getTokens().map(function (token) {
4229
+ return {
4230
+ name: token.name,
4231
+ type: 'color'
4232
+ };
4233
+ })), _toConsumableArray(contextual.getTokens().map(function (token) {
4234
+ return {
4235
+ name: token.name,
4236
+ type: 'color'
4237
+ };
4238
+ })), _toConsumableArray(Object.values(components).flatMap(function (group) {
4239
+ return group.getTokens().map(function (token) {
4240
+ return {
4241
+ name: token.name,
4242
+ type: 'color'
4243
+ };
4244
+ });
4245
+ })), _toConsumableArray(type$1.getTokens().map(function (token) {
4246
+ return {
4247
+ name: token.name,
4248
+ type: 'type'
4249
+ };
4250
+ })), _toConsumableArray(layout$1.getTokens().map(function (token) {
4251
+ return {
4252
+ name: token.name,
4253
+ type: 'layout'
4254
+ };
4255
+ })));
4256
+ var unstable_metadata = {
4257
+ v11: v11,
4258
+ v10: v10
4259
+ };
4260
+
3128
4261
  /**
3129
4262
  * Copyright IBM Corp. 2018, 2018
3130
4263
  *
@@ -3138,4 +4271,4 @@ var themes = {
3138
4271
  g100: g100$1
3139
4272
  };
3140
4273
 
3141
- export { background$7 as background, backgroundActive$7 as backgroundActive, backgroundBrand$7 as backgroundBrand, backgroundHover$7 as backgroundHover, backgroundInverse$7 as backgroundInverse, backgroundInverseHover$7 as backgroundInverseHover, backgroundSelected$7 as backgroundSelected, backgroundSelectedHover$7 as backgroundSelectedHover, borderDisabled$7 as borderDisabled, borderInteractive$7 as borderInteractive, borderInverse$7 as borderInverse, borderStrong01$3 as borderStrong01, borderStrong02$3 as borderStrong02, borderStrong03$3 as borderStrong03, borderSubtle00$3 as borderSubtle00, borderSubtle01$3 as borderSubtle01, borderSubtle02$3 as borderSubtle02, borderSubtle03$3 as borderSubtle03, borderSubtleSelected01$3 as borderSubtleSelected01, borderSubtleSelected02$3 as borderSubtleSelected02, borderSubtleSelected03$3 as borderSubtleSelected03, field01$7 as field01, field02$7 as field02, field03$3 as field03, fieldHover01$3 as fieldHover01, fieldHover02$3 as fieldHover02, fieldHover03$3 as fieldHover03, focus$7 as focus, focusInset$7 as focusInset, focusInverse$7 as focusInverse, g10$1 as g10, g100$1 as g100, g90$1 as g90, highlight$7 as highlight, iconDisabled$7 as iconDisabled, iconInverse$7 as iconInverse, iconOnColor$7 as iconOnColor, iconOnColorDisabled$7 as iconOnColorDisabled, iconPrimary$7 as iconPrimary, iconSecondary$7 as iconSecondary, interactive$7 as interactive, layer01$3 as layer01, layer02$3 as layer02, layer03$3 as layer03, layerAccent01$3 as layerAccent01, layerAccent02$3 as layerAccent02, layerAccent03$3 as layerAccent03, layerAccentActive01$3 as layerAccentActive01, layerAccentActive02$3 as layerAccentActive02, layerAccentActive03$3 as layerAccentActive03, layerAccentHover01$3 as layerAccentHover01, layerAccentHover02$3 as layerAccentHover02, layerAccentHover03$3 as layerAccentHover03, layerActive01$3 as layerActive01, layerActive02$3 as layerActive02, layerActive03$3 as layerActive03, layerHover01$3 as layerHover01, layerHover02$3 as layerHover02, layerHover03$3 as layerHover03, layerSelected01$3 as layerSelected01, layerSelected02$3 as layerSelected02, layerSelected03$3 as layerSelected03, layerSelectedDisabled$7 as layerSelectedDisabled, layerSelectedHover01$3 as layerSelectedHover01, layerSelectedHover02$3 as layerSelectedHover02, layerSelectedHover03$3 as layerSelectedHover03, layerSelectedInverse$7 as layerSelectedInverse, linkInverse$7 as linkInverse, linkInverseActive$3 as linkInverseActive, linkInverseHover$3 as linkInverseHover, linkPrimary$7 as linkPrimary, linkPrimaryHover$7 as linkPrimaryHover, linkSecondary$7 as linkSecondary, linkVisited$7 as linkVisited, overlay$7 as overlay, shadow$7 as shadow, skeletonBackground$7 as skeletonBackground, skeletonElement$7 as skeletonElement, supportCautionMajor$3 as supportCautionMajor, supportCautionMinor$3 as supportCautionMinor, supportCautionUndefined$3 as supportCautionUndefined, supportError$7 as supportError, supportErrorInverse$7 as supportErrorInverse, supportInfo$7 as supportInfo, supportInfoInverse$7 as supportInfoInverse, supportSuccess$7 as supportSuccess, supportSuccessInverse$7 as supportSuccessInverse, supportWarning$7 as supportWarning, supportWarningInverse$7 as supportWarningInverse, textDisabled$7 as textDisabled, textError$7 as textError, textHelper$7 as textHelper, textInverse$7 as textInverse, textOnColor$7 as textOnColor, textOnColorDisabled$7 as textOnColorDisabled, textPlaceholder$7 as textPlaceholder, textPrimary$7 as textPrimary, textSecondary$7 as textSecondary, themes, toggleOff$7 as toggleOff, index as v10, white$1 as white };
4274
+ export { background$8 as background, backgroundActive$7 as backgroundActive, backgroundBrand$7 as backgroundBrand, backgroundHover$7 as backgroundHover, backgroundInverse$7 as backgroundInverse, backgroundInverseHover$7 as backgroundInverseHover, backgroundSelected$7 as backgroundSelected, backgroundSelectedHover$7 as backgroundSelectedHover, borderDisabled$7 as borderDisabled, borderInteractive$7 as borderInteractive, borderInverse$7 as borderInverse, borderStrong01$3 as borderStrong01, borderStrong02$3 as borderStrong02, borderStrong03$3 as borderStrong03, borderSubtle00$3 as borderSubtle00, borderSubtle01$3 as borderSubtle01, borderSubtle02$3 as borderSubtle02, borderSubtle03$3 as borderSubtle03, borderSubtleSelected01$3 as borderSubtleSelected01, borderSubtleSelected02$3 as borderSubtleSelected02, borderSubtleSelected03$3 as borderSubtleSelected03, field01$7 as field01, field02$7 as field02, field03$3 as field03, fieldHover01$3 as fieldHover01, fieldHover02$3 as fieldHover02, fieldHover03$3 as fieldHover03, focus$8 as focus, focusInset$7 as focusInset, focusInverse$7 as focusInverse, g10$1 as g10, g100$1 as g100, g90$1 as g90, highlight$7 as highlight, iconDisabled$7 as iconDisabled, iconInverse$7 as iconInverse, iconOnColor$7 as iconOnColor, iconOnColorDisabled$7 as iconOnColorDisabled, iconPrimary$7 as iconPrimary, iconSecondary$7 as iconSecondary, interactive$7 as interactive, layer01$3 as layer01, layer02$3 as layer02, layer03$3 as layer03, layerAccent01$3 as layerAccent01, layerAccent02$3 as layerAccent02, layerAccent03$3 as layerAccent03, layerAccentActive01$3 as layerAccentActive01, layerAccentActive02$3 as layerAccentActive02, layerAccentActive03$3 as layerAccentActive03, layerAccentHover01$3 as layerAccentHover01, layerAccentHover02$3 as layerAccentHover02, layerAccentHover03$3 as layerAccentHover03, layerActive01$3 as layerActive01, layerActive02$3 as layerActive02, layerActive03$3 as layerActive03, layerHover01$3 as layerHover01, layerHover02$3 as layerHover02, layerHover03$3 as layerHover03, layerSelected01$3 as layerSelected01, layerSelected02$3 as layerSelected02, layerSelected03$3 as layerSelected03, layerSelectedDisabled$7 as layerSelectedDisabled, layerSelectedHover01$3 as layerSelectedHover01, layerSelectedHover02$3 as layerSelectedHover02, layerSelectedHover03$3 as layerSelectedHover03, layerSelectedInverse$7 as layerSelectedInverse, linkInverse$7 as linkInverse, linkInverseActive$3 as linkInverseActive, linkInverseHover$3 as linkInverseHover, linkPrimary$7 as linkPrimary, linkPrimaryHover$7 as linkPrimaryHover, linkSecondary$7 as linkSecondary, linkVisited$7 as linkVisited, overlay$7 as overlay, shadow$7 as shadow, skeletonBackground$7 as skeletonBackground, skeletonElement$7 as skeletonElement, supportCautionMajor$3 as supportCautionMajor, supportCautionMinor$3 as supportCautionMinor, supportCautionUndefined$3 as supportCautionUndefined, supportError$7 as supportError, supportErrorInverse$7 as supportErrorInverse, supportInfo$7 as supportInfo, supportInfoInverse$7 as supportInfoInverse, supportSuccess$7 as supportSuccess, supportSuccessInverse$7 as supportSuccessInverse, supportWarning$7 as supportWarning, supportWarningInverse$7 as supportWarningInverse, textDisabled$7 as textDisabled, textError$7 as textError, textHelper$7 as textHelper, textInverse$7 as textInverse, textOnColor$7 as textOnColor, textOnColorDisabled$7 as textOnColorDisabled, textPlaceholder$7 as textPlaceholder, textPrimary$7 as textPrimary, textSecondary$7 as textSecondary, themes, toggleOff$7 as toggleOff, unstable_metadata, index as v10, white$1 as white };