@carbon/themes 11.18.0 → 11.19.0-rc.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 +463 -378
- package/lib/index.js +489 -376
- package/package.json +9 -9
- package/src/g10.js +9 -0
- package/src/g100.js +9 -0
- package/src/g90.js +9 -0
- package/src/v10/g10.js +9 -0
- package/src/v10/g100.js +9 -0
- package/src/v10/g90.js +9 -0
- package/src/v10/white.js +9 -0
- package/src/white.js +9 -0
- package/umd/index.js +489 -376
package/lib/index.js
CHANGED
|
@@ -13,17 +13,14 @@ var Color__default = /*#__PURE__*/_interopDefaultLegacy(Color);
|
|
|
13
13
|
|
|
14
14
|
function ownKeys(object, enumerableOnly) {
|
|
15
15
|
var keys = Object.keys(object);
|
|
16
|
-
|
|
17
16
|
if (Object.getOwnPropertySymbols) {
|
|
18
17
|
var symbols = Object.getOwnPropertySymbols(object);
|
|
19
18
|
enumerableOnly && (symbols = symbols.filter(function (sym) {
|
|
20
19
|
return Object.getOwnPropertyDescriptor(object, sym).enumerable;
|
|
21
20
|
})), keys.push.apply(keys, symbols);
|
|
22
21
|
}
|
|
23
|
-
|
|
24
22
|
return keys;
|
|
25
23
|
}
|
|
26
|
-
|
|
27
24
|
function _objectSpread2(target) {
|
|
28
25
|
for (var i = 1; i < arguments.length; i++) {
|
|
29
26
|
var source = null != arguments[i] ? arguments[i] : {};
|
|
@@ -33,25 +30,22 @@ function _objectSpread2(target) {
|
|
|
33
30
|
Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key));
|
|
34
31
|
});
|
|
35
32
|
}
|
|
36
|
-
|
|
37
33
|
return target;
|
|
38
34
|
}
|
|
39
|
-
|
|
40
35
|
function _regeneratorRuntime() {
|
|
41
|
-
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
42
|
-
|
|
43
36
|
_regeneratorRuntime = function () {
|
|
44
37
|
return exports;
|
|
45
38
|
};
|
|
46
|
-
|
|
47
39
|
var exports = {},
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
40
|
+
Op = Object.prototype,
|
|
41
|
+
hasOwn = Op.hasOwnProperty,
|
|
42
|
+
defineProperty = Object.defineProperty || function (obj, key, desc) {
|
|
43
|
+
obj[key] = desc.value;
|
|
44
|
+
},
|
|
45
|
+
$Symbol = "function" == typeof Symbol ? Symbol : {},
|
|
46
|
+
iteratorSymbol = $Symbol.iterator || "@@iterator",
|
|
47
|
+
asyncIteratorSymbol = $Symbol.asyncIterator || "@@asyncIterator",
|
|
48
|
+
toStringTagSymbol = $Symbol.toStringTag || "@@toStringTag";
|
|
55
49
|
function define(obj, key, value) {
|
|
56
50
|
return Object.defineProperty(obj, key, {
|
|
57
51
|
value: value,
|
|
@@ -60,7 +54,6 @@ function _regeneratorRuntime() {
|
|
|
60
54
|
writable: !0
|
|
61
55
|
}), obj[key];
|
|
62
56
|
}
|
|
63
|
-
|
|
64
57
|
try {
|
|
65
58
|
define({}, "");
|
|
66
59
|
} catch (err) {
|
|
@@ -68,54 +61,14 @@ function _regeneratorRuntime() {
|
|
|
68
61
|
return obj[key] = value;
|
|
69
62
|
};
|
|
70
63
|
}
|
|
71
|
-
|
|
72
64
|
function wrap(innerFn, outerFn, self, tryLocsList) {
|
|
73
65
|
var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator,
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
return generator
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
if ("executing" === state) throw new Error("Generator is already running");
|
|
80
|
-
|
|
81
|
-
if ("completed" === state) {
|
|
82
|
-
if ("throw" === method) throw arg;
|
|
83
|
-
return doneResult();
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
for (context.method = method, context.arg = arg;;) {
|
|
87
|
-
var delegate = context.delegate;
|
|
88
|
-
|
|
89
|
-
if (delegate) {
|
|
90
|
-
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
91
|
-
|
|
92
|
-
if (delegateResult) {
|
|
93
|
-
if (delegateResult === ContinueSentinel) continue;
|
|
94
|
-
return delegateResult;
|
|
95
|
-
}
|
|
96
|
-
}
|
|
97
|
-
|
|
98
|
-
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
99
|
-
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
100
|
-
context.dispatchException(context.arg);
|
|
101
|
-
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
102
|
-
state = "executing";
|
|
103
|
-
var record = tryCatch(innerFn, self, context);
|
|
104
|
-
|
|
105
|
-
if ("normal" === record.type) {
|
|
106
|
-
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
107
|
-
return {
|
|
108
|
-
value: record.arg,
|
|
109
|
-
done: context.done
|
|
110
|
-
};
|
|
111
|
-
}
|
|
112
|
-
|
|
113
|
-
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
114
|
-
}
|
|
115
|
-
};
|
|
116
|
-
}(innerFn, self, context), generator;
|
|
66
|
+
generator = Object.create(protoGenerator.prototype),
|
|
67
|
+
context = new Context(tryLocsList || []);
|
|
68
|
+
return defineProperty(generator, "_invoke", {
|
|
69
|
+
value: makeInvokeMethod(innerFn, self, context)
|
|
70
|
+
}), generator;
|
|
117
71
|
}
|
|
118
|
-
|
|
119
72
|
function tryCatch(fn, obj, arg) {
|
|
120
73
|
try {
|
|
121
74
|
return {
|
|
@@ -129,25 +82,19 @@ function _regeneratorRuntime() {
|
|
|
129
82
|
};
|
|
130
83
|
}
|
|
131
84
|
}
|
|
132
|
-
|
|
133
85
|
exports.wrap = wrap;
|
|
134
86
|
var ContinueSentinel = {};
|
|
135
|
-
|
|
136
87
|
function Generator() {}
|
|
137
|
-
|
|
138
88
|
function GeneratorFunction() {}
|
|
139
|
-
|
|
140
89
|
function GeneratorFunctionPrototype() {}
|
|
141
|
-
|
|
142
90
|
var IteratorPrototype = {};
|
|
143
91
|
define(IteratorPrototype, iteratorSymbol, function () {
|
|
144
92
|
return this;
|
|
145
93
|
});
|
|
146
94
|
var getProto = Object.getPrototypeOf,
|
|
147
|
-
|
|
95
|
+
NativeIteratorPrototype = getProto && getProto(getProto(values([])));
|
|
148
96
|
NativeIteratorPrototype && NativeIteratorPrototype !== Op && hasOwn.call(NativeIteratorPrototype, iteratorSymbol) && (IteratorPrototype = NativeIteratorPrototype);
|
|
149
97
|
var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
|
|
150
|
-
|
|
151
98
|
function defineIteratorMethods(prototype) {
|
|
152
99
|
["next", "throw", "return"].forEach(function (method) {
|
|
153
100
|
define(prototype, method, function (arg) {
|
|
@@ -155,14 +102,12 @@ function _regeneratorRuntime() {
|
|
|
155
102
|
});
|
|
156
103
|
});
|
|
157
104
|
}
|
|
158
|
-
|
|
159
105
|
function AsyncIterator(generator, PromiseImpl) {
|
|
160
106
|
function invoke(method, arg, resolve, reject) {
|
|
161
107
|
var record = tryCatch(generator[method], generator, arg);
|
|
162
|
-
|
|
163
108
|
if ("throw" !== record.type) {
|
|
164
109
|
var result = record.arg,
|
|
165
|
-
|
|
110
|
+
value = result.value;
|
|
166
111
|
return value && "object" == typeof value && hasOwn.call(value, "__await") ? PromiseImpl.resolve(value.__await).then(function (value) {
|
|
167
112
|
invoke("next", value, resolve, reject);
|
|
168
113
|
}, function (err) {
|
|
@@ -173,90 +118,109 @@ function _regeneratorRuntime() {
|
|
|
173
118
|
return invoke("throw", error, resolve, reject);
|
|
174
119
|
});
|
|
175
120
|
}
|
|
176
|
-
|
|
177
121
|
reject(record.arg);
|
|
178
122
|
}
|
|
179
|
-
|
|
180
123
|
var previousPromise;
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
124
|
+
defineProperty(this, "_invoke", {
|
|
125
|
+
value: function (method, arg) {
|
|
126
|
+
function callInvokeWithMethodAndArg() {
|
|
127
|
+
return new PromiseImpl(function (resolve, reject) {
|
|
128
|
+
invoke(method, arg, resolve, reject);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
132
|
+
}
|
|
133
|
+
});
|
|
134
|
+
}
|
|
135
|
+
function makeInvokeMethod(innerFn, self, context) {
|
|
136
|
+
var state = "suspendedStart";
|
|
137
|
+
return function (method, arg) {
|
|
138
|
+
if ("executing" === state) throw new Error("Generator is already running");
|
|
139
|
+
if ("completed" === state) {
|
|
140
|
+
if ("throw" === method) throw arg;
|
|
141
|
+
return doneResult();
|
|
142
|
+
}
|
|
143
|
+
for (context.method = method, context.arg = arg;;) {
|
|
144
|
+
var delegate = context.delegate;
|
|
145
|
+
if (delegate) {
|
|
146
|
+
var delegateResult = maybeInvokeDelegate(delegate, context);
|
|
147
|
+
if (delegateResult) {
|
|
148
|
+
if (delegateResult === ContinueSentinel) continue;
|
|
149
|
+
return delegateResult;
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
if ("next" === context.method) context.sent = context._sent = context.arg;else if ("throw" === context.method) {
|
|
153
|
+
if ("suspendedStart" === state) throw state = "completed", context.arg;
|
|
154
|
+
context.dispatchException(context.arg);
|
|
155
|
+
} else "return" === context.method && context.abrupt("return", context.arg);
|
|
156
|
+
state = "executing";
|
|
157
|
+
var record = tryCatch(innerFn, self, context);
|
|
158
|
+
if ("normal" === record.type) {
|
|
159
|
+
if (state = context.done ? "completed" : "suspendedYield", record.arg === ContinueSentinel) continue;
|
|
160
|
+
return {
|
|
161
|
+
value: record.arg,
|
|
162
|
+
done: context.done
|
|
163
|
+
};
|
|
164
|
+
}
|
|
165
|
+
"throw" === record.type && (state = "completed", context.method = "throw", context.arg = record.arg);
|
|
187
166
|
}
|
|
188
|
-
|
|
189
|
-
return previousPromise = previousPromise ? previousPromise.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
190
167
|
};
|
|
191
168
|
}
|
|
192
|
-
|
|
193
169
|
function maybeInvokeDelegate(delegate, context) {
|
|
194
|
-
var
|
|
195
|
-
|
|
196
|
-
if (undefined === method)
|
|
197
|
-
if (context.delegate = null, "throw" === context.method) {
|
|
198
|
-
if (delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method)) return ContinueSentinel;
|
|
199
|
-
context.method = "throw", context.arg = new TypeError("The iterator does not provide a 'throw' method");
|
|
200
|
-
}
|
|
201
|
-
|
|
202
|
-
return ContinueSentinel;
|
|
203
|
-
}
|
|
204
|
-
|
|
170
|
+
var methodName = context.method,
|
|
171
|
+
method = delegate.iterator[methodName];
|
|
172
|
+
if (undefined === method) return context.delegate = null, "throw" === methodName && delegate.iterator.return && (context.method = "return", context.arg = undefined, maybeInvokeDelegate(delegate, context), "throw" === context.method) || "return" !== methodName && (context.method = "throw", context.arg = new TypeError("The iterator does not provide a '" + methodName + "' method")), ContinueSentinel;
|
|
205
173
|
var record = tryCatch(method, delegate.iterator, context.arg);
|
|
206
174
|
if ("throw" === record.type) return context.method = "throw", context.arg = record.arg, context.delegate = null, ContinueSentinel;
|
|
207
175
|
var info = record.arg;
|
|
208
176
|
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);
|
|
209
177
|
}
|
|
210
|
-
|
|
211
178
|
function pushTryEntry(locs) {
|
|
212
179
|
var entry = {
|
|
213
180
|
tryLoc: locs[0]
|
|
214
181
|
};
|
|
215
182
|
1 in locs && (entry.catchLoc = locs[1]), 2 in locs && (entry.finallyLoc = locs[2], entry.afterLoc = locs[3]), this.tryEntries.push(entry);
|
|
216
183
|
}
|
|
217
|
-
|
|
218
184
|
function resetTryEntry(entry) {
|
|
219
185
|
var record = entry.completion || {};
|
|
220
186
|
record.type = "normal", delete record.arg, entry.completion = record;
|
|
221
187
|
}
|
|
222
|
-
|
|
223
188
|
function Context(tryLocsList) {
|
|
224
189
|
this.tryEntries = [{
|
|
225
190
|
tryLoc: "root"
|
|
226
191
|
}], tryLocsList.forEach(pushTryEntry, this), this.reset(!0);
|
|
227
192
|
}
|
|
228
|
-
|
|
229
193
|
function values(iterable) {
|
|
230
194
|
if (iterable) {
|
|
231
195
|
var iteratorMethod = iterable[iteratorSymbol];
|
|
232
196
|
if (iteratorMethod) return iteratorMethod.call(iterable);
|
|
233
197
|
if ("function" == typeof iterable.next) return iterable;
|
|
234
|
-
|
|
235
198
|
if (!isNaN(iterable.length)) {
|
|
236
199
|
var i = -1,
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
};
|
|
242
|
-
|
|
200
|
+
next = function next() {
|
|
201
|
+
for (; ++i < iterable.length;) if (hasOwn.call(iterable, i)) return next.value = iterable[i], next.done = !1, next;
|
|
202
|
+
return next.value = undefined, next.done = !0, next;
|
|
203
|
+
};
|
|
243
204
|
return next.next = next;
|
|
244
205
|
}
|
|
245
206
|
}
|
|
246
|
-
|
|
247
207
|
return {
|
|
248
208
|
next: doneResult
|
|
249
209
|
};
|
|
250
210
|
}
|
|
251
|
-
|
|
252
211
|
function doneResult() {
|
|
253
212
|
return {
|
|
254
213
|
value: undefined,
|
|
255
214
|
done: !0
|
|
256
215
|
};
|
|
257
216
|
}
|
|
258
|
-
|
|
259
|
-
|
|
217
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
218
|
+
value: GeneratorFunctionPrototype,
|
|
219
|
+
configurable: !0
|
|
220
|
+
}), defineProperty(GeneratorFunctionPrototype, "constructor", {
|
|
221
|
+
value: GeneratorFunction,
|
|
222
|
+
configurable: !0
|
|
223
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"), exports.isGeneratorFunction = function (genFun) {
|
|
260
224
|
var ctor = "function" == typeof genFun && genFun.constructor;
|
|
261
225
|
return !!ctor && (ctor === GeneratorFunction || "GeneratorFunction" === (ctor.displayName || ctor.name));
|
|
262
226
|
}, exports.mark = function (genFun) {
|
|
@@ -277,17 +241,15 @@ function _regeneratorRuntime() {
|
|
|
277
241
|
return this;
|
|
278
242
|
}), define(Gp, "toString", function () {
|
|
279
243
|
return "[object Generator]";
|
|
280
|
-
}), exports.keys = function (
|
|
281
|
-
var
|
|
282
|
-
|
|
244
|
+
}), exports.keys = function (val) {
|
|
245
|
+
var object = Object(val),
|
|
246
|
+
keys = [];
|
|
283
247
|
for (var key in object) keys.push(key);
|
|
284
|
-
|
|
285
248
|
return keys.reverse(), function next() {
|
|
286
249
|
for (; keys.length;) {
|
|
287
250
|
var key = keys.pop();
|
|
288
251
|
if (key in object) return next.value = key, next.done = !1, next;
|
|
289
252
|
}
|
|
290
|
-
|
|
291
253
|
return next.done = !0, next;
|
|
292
254
|
};
|
|
293
255
|
}, exports.values = values, Context.prototype = {
|
|
@@ -304,20 +266,16 @@ function _regeneratorRuntime() {
|
|
|
304
266
|
dispatchException: function (exception) {
|
|
305
267
|
if (this.done) throw exception;
|
|
306
268
|
var context = this;
|
|
307
|
-
|
|
308
269
|
function handle(loc, caught) {
|
|
309
270
|
return record.type = "throw", record.arg = exception, context.next = loc, caught && (context.method = "next", context.arg = undefined), !!caught;
|
|
310
271
|
}
|
|
311
|
-
|
|
312
272
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
313
273
|
var entry = this.tryEntries[i],
|
|
314
|
-
|
|
274
|
+
record = entry.completion;
|
|
315
275
|
if ("root" === entry.tryLoc) return handle("end");
|
|
316
|
-
|
|
317
276
|
if (entry.tryLoc <= this.prev) {
|
|
318
277
|
var hasCatch = hasOwn.call(entry, "catchLoc"),
|
|
319
|
-
|
|
320
|
-
|
|
278
|
+
hasFinally = hasOwn.call(entry, "finallyLoc");
|
|
321
279
|
if (hasCatch && hasFinally) {
|
|
322
280
|
if (this.prev < entry.catchLoc) return handle(entry.catchLoc, !0);
|
|
323
281
|
if (this.prev < entry.finallyLoc) return handle(entry.finallyLoc);
|
|
@@ -333,13 +291,11 @@ function _regeneratorRuntime() {
|
|
|
333
291
|
abrupt: function (type, arg) {
|
|
334
292
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
335
293
|
var entry = this.tryEntries[i];
|
|
336
|
-
|
|
337
294
|
if (entry.tryLoc <= this.prev && hasOwn.call(entry, "finallyLoc") && this.prev < entry.finallyLoc) {
|
|
338
295
|
var finallyEntry = entry;
|
|
339
296
|
break;
|
|
340
297
|
}
|
|
341
298
|
}
|
|
342
|
-
|
|
343
299
|
finallyEntry && ("break" === type || "continue" === type) && finallyEntry.tryLoc <= arg && arg <= finallyEntry.finallyLoc && (finallyEntry = null);
|
|
344
300
|
var record = finallyEntry ? finallyEntry.completion : {};
|
|
345
301
|
return record.type = type, record.arg = arg, finallyEntry ? (this.method = "next", this.next = finallyEntry.finallyLoc, ContinueSentinel) : this.complete(record);
|
|
@@ -357,19 +313,15 @@ function _regeneratorRuntime() {
|
|
|
357
313
|
catch: function (tryLoc) {
|
|
358
314
|
for (var i = this.tryEntries.length - 1; i >= 0; --i) {
|
|
359
315
|
var entry = this.tryEntries[i];
|
|
360
|
-
|
|
361
316
|
if (entry.tryLoc === tryLoc) {
|
|
362
317
|
var record = entry.completion;
|
|
363
|
-
|
|
364
318
|
if ("throw" === record.type) {
|
|
365
319
|
var thrown = record.arg;
|
|
366
320
|
resetTryEntry(entry);
|
|
367
321
|
}
|
|
368
|
-
|
|
369
322
|
return thrown;
|
|
370
323
|
}
|
|
371
324
|
}
|
|
372
|
-
|
|
373
325
|
throw new Error("illegal catch attempt");
|
|
374
326
|
},
|
|
375
327
|
delegateYield: function (iterable, resultName, nextLoc) {
|
|
@@ -381,23 +333,20 @@ function _regeneratorRuntime() {
|
|
|
381
333
|
}
|
|
382
334
|
}, exports;
|
|
383
335
|
}
|
|
384
|
-
|
|
385
336
|
function _classCallCheck(instance, Constructor) {
|
|
386
337
|
if (!(instance instanceof Constructor)) {
|
|
387
338
|
throw new TypeError("Cannot call a class as a function");
|
|
388
339
|
}
|
|
389
340
|
}
|
|
390
|
-
|
|
391
341
|
function _defineProperties(target, props) {
|
|
392
342
|
for (var i = 0; i < props.length; i++) {
|
|
393
343
|
var descriptor = props[i];
|
|
394
344
|
descriptor.enumerable = descriptor.enumerable || false;
|
|
395
345
|
descriptor.configurable = true;
|
|
396
346
|
if ("value" in descriptor) descriptor.writable = true;
|
|
397
|
-
Object.defineProperty(target, descriptor.key, descriptor);
|
|
347
|
+
Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor);
|
|
398
348
|
}
|
|
399
349
|
}
|
|
400
|
-
|
|
401
350
|
function _createClass(Constructor, protoProps, staticProps) {
|
|
402
351
|
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
403
352
|
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
@@ -406,8 +355,8 @@ function _createClass(Constructor, protoProps, staticProps) {
|
|
|
406
355
|
});
|
|
407
356
|
return Constructor;
|
|
408
357
|
}
|
|
409
|
-
|
|
410
358
|
function _defineProperty(obj, key, value) {
|
|
359
|
+
key = _toPropertyKey(key);
|
|
411
360
|
if (key in obj) {
|
|
412
361
|
Object.defineProperty(obj, key, {
|
|
413
362
|
value: value,
|
|
@@ -418,22 +367,17 @@ function _defineProperty(obj, key, value) {
|
|
|
418
367
|
} else {
|
|
419
368
|
obj[key] = value;
|
|
420
369
|
}
|
|
421
|
-
|
|
422
370
|
return obj;
|
|
423
371
|
}
|
|
424
|
-
|
|
425
372
|
function _toConsumableArray(arr) {
|
|
426
373
|
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
427
374
|
}
|
|
428
|
-
|
|
429
375
|
function _arrayWithoutHoles(arr) {
|
|
430
376
|
if (Array.isArray(arr)) return _arrayLikeToArray(arr);
|
|
431
377
|
}
|
|
432
|
-
|
|
433
378
|
function _iterableToArray(iter) {
|
|
434
379
|
if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter);
|
|
435
380
|
}
|
|
436
|
-
|
|
437
381
|
function _unsupportedIterableToArray(o, minLen) {
|
|
438
382
|
if (!o) return;
|
|
439
383
|
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
@@ -442,29 +386,21 @@ function _unsupportedIterableToArray(o, minLen) {
|
|
|
442
386
|
if (n === "Map" || n === "Set") return Array.from(o);
|
|
443
387
|
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
444
388
|
}
|
|
445
|
-
|
|
446
389
|
function _arrayLikeToArray(arr, len) {
|
|
447
390
|
if (len == null || len > arr.length) len = arr.length;
|
|
448
|
-
|
|
449
391
|
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
450
|
-
|
|
451
392
|
return arr2;
|
|
452
393
|
}
|
|
453
|
-
|
|
454
394
|
function _nonIterableSpread() {
|
|
455
395
|
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
456
396
|
}
|
|
457
|
-
|
|
458
397
|
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
459
398
|
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
460
|
-
|
|
461
399
|
if (!it) {
|
|
462
400
|
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
463
401
|
if (it) o = it;
|
|
464
402
|
var i = 0;
|
|
465
|
-
|
|
466
403
|
var F = function () {};
|
|
467
|
-
|
|
468
404
|
return {
|
|
469
405
|
s: F,
|
|
470
406
|
n: function () {
|
|
@@ -482,13 +418,11 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
482
418
|
f: F
|
|
483
419
|
};
|
|
484
420
|
}
|
|
485
|
-
|
|
486
421
|
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
487
422
|
}
|
|
488
|
-
|
|
489
423
|
var normalCompletion = true,
|
|
490
|
-
|
|
491
|
-
|
|
424
|
+
didErr = false,
|
|
425
|
+
err;
|
|
492
426
|
return {
|
|
493
427
|
s: function () {
|
|
494
428
|
it = it.call(o);
|
|
@@ -511,6 +445,20 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
511
445
|
}
|
|
512
446
|
};
|
|
513
447
|
}
|
|
448
|
+
function _toPrimitive(input, hint) {
|
|
449
|
+
if (typeof input !== "object" || input === null) return input;
|
|
450
|
+
var prim = input[Symbol.toPrimitive];
|
|
451
|
+
if (prim !== undefined) {
|
|
452
|
+
var res = prim.call(input, hint || "default");
|
|
453
|
+
if (typeof res !== "object") return res;
|
|
454
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
455
|
+
}
|
|
456
|
+
return (hint === "string" ? String : Number)(input);
|
|
457
|
+
}
|
|
458
|
+
function _toPropertyKey(arg) {
|
|
459
|
+
var key = _toPrimitive(arg, "string");
|
|
460
|
+
return typeof key === "symbol" ? key : String(key);
|
|
461
|
+
}
|
|
514
462
|
|
|
515
463
|
/**
|
|
516
464
|
* Adjust a given token's lightness by a specified percentage
|
|
@@ -521,13 +469,13 @@ function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
|
521
469
|
* @param {integer} shift The number of percentage points (positive or negative) by which to shift the lightness of a token.
|
|
522
470
|
* @returns {string}
|
|
523
471
|
*/
|
|
524
|
-
|
|
525
472
|
function adjustLightness(token, shift) {
|
|
526
473
|
var original = Color__default["default"](token).hsl().object();
|
|
527
474
|
return Color__default["default"](_objectSpread2(_objectSpread2({}, original), {}, {
|
|
528
475
|
l: original.l += shift
|
|
529
476
|
})).round().hex().toLowerCase();
|
|
530
477
|
}
|
|
478
|
+
|
|
531
479
|
/**
|
|
532
480
|
* Adjust a given token's alpha by a specified amount
|
|
533
481
|
* Example: token = rgba(10, 10, 10, 1.0);
|
|
@@ -536,47 +484,44 @@ function adjustLightness(token, shift) {
|
|
|
536
484
|
* @param {float} alpha
|
|
537
485
|
* @returns {string}
|
|
538
486
|
*/
|
|
539
|
-
|
|
540
487
|
function adjustAlpha(token, alpha) {
|
|
541
488
|
return Color__default["default"](token).rgb().alpha(alpha).string();
|
|
542
489
|
}
|
|
543
490
|
var numbers = ['0', '1', '2', '3', '4', '5', '6', '7', '8', '9'];
|
|
491
|
+
|
|
544
492
|
/**
|
|
545
493
|
* Format a given token into the format expected in CSS/SCSS-based projects.
|
|
546
494
|
* @param {string} token
|
|
547
495
|
* @returns {string}
|
|
548
496
|
*/
|
|
549
|
-
|
|
550
497
|
function formatTokenName(token) {
|
|
551
498
|
var string = '';
|
|
552
|
-
|
|
553
499
|
for (var i = 0; i < token.length; i++) {
|
|
554
500
|
// If we run into a number, we hit the scale step at the end of a token name
|
|
555
501
|
// and can safely truncate the rest of the token
|
|
556
502
|
if (numbers.indexOf(token[i]) !== -1) {
|
|
557
503
|
string += '-' + token.slice(i);
|
|
558
504
|
break;
|
|
559
|
-
}
|
|
560
|
-
// between words
|
|
561
|
-
|
|
505
|
+
}
|
|
562
506
|
|
|
507
|
+
// When encountering an uppercase name, we will want to start adding `-`
|
|
508
|
+
// between words
|
|
563
509
|
if (token[i] === token[i].toUpperCase()) {
|
|
564
510
|
// Check backwards to see if previous letter was also capitalized, if so
|
|
565
511
|
// we are in a special case like UI where each piece should be connected
|
|
566
512
|
if (token[i - 1] && token[i - 1] === token[i - 1].toUpperCase()) {
|
|
567
513
|
string += token[i].toLowerCase();
|
|
568
514
|
continue;
|
|
569
|
-
}
|
|
570
|
-
|
|
515
|
+
}
|
|
571
516
|
|
|
517
|
+
// Otherwise, just concatenate this new part on to the existing string
|
|
572
518
|
string += '-' + token[i].toLowerCase();
|
|
573
519
|
continue;
|
|
574
|
-
}
|
|
575
|
-
|
|
520
|
+
}
|
|
576
521
|
|
|
522
|
+
// By default, we add the current character to the output string
|
|
577
523
|
string += token[i];
|
|
578
524
|
}
|
|
579
|
-
|
|
580
525
|
return string;
|
|
581
526
|
}
|
|
582
527
|
|
|
@@ -587,6 +532,7 @@ function formatTokenName(token) {
|
|
|
587
532
|
* LICENSE file in the root directory of this source tree.
|
|
588
533
|
*/
|
|
589
534
|
|
|
535
|
+
// Background
|
|
590
536
|
var background$8 = colors$1.white;
|
|
591
537
|
var backgroundInverse$7 = colors$1.gray80;
|
|
592
538
|
var backgroundBrand$7 = colors$1.blue60;
|
|
@@ -594,78 +540,98 @@ var backgroundActive$7 = adjustAlpha(colors$1.gray50, 0.5);
|
|
|
594
540
|
var backgroundHover$7 = adjustAlpha(colors$1.gray50, 0.12);
|
|
595
541
|
var backgroundInverseHover$7 = colors$1.gray80Hover;
|
|
596
542
|
var backgroundSelected$7 = adjustAlpha(colors$1.gray50, 0.2);
|
|
597
|
-
var backgroundSelectedHover$7 = adjustAlpha(colors$1.gray50, 0.32);
|
|
598
|
-
// layer-01
|
|
543
|
+
var backgroundSelectedHover$7 = adjustAlpha(colors$1.gray50, 0.32);
|
|
599
544
|
|
|
545
|
+
// Layer
|
|
546
|
+
// layer-01
|
|
600
547
|
var layer01$3 = colors$1.gray10;
|
|
601
548
|
var layerActive01$3 = colors$1.gray30;
|
|
602
549
|
var layerHover01$3 = colors$1.gray10Hover;
|
|
603
550
|
var layerSelected01$3 = colors$1.gray20;
|
|
604
|
-
var layerSelectedHover01$3 = colors$1.gray20Hover;
|
|
551
|
+
var layerSelectedHover01$3 = colors$1.gray20Hover;
|
|
605
552
|
|
|
553
|
+
// layer-02
|
|
606
554
|
var layer02$3 = colors$1.white;
|
|
607
555
|
var layerActive02$3 = colors$1.gray30;
|
|
608
556
|
var layerHover02$3 = colors$1.whiteHover;
|
|
609
557
|
var layerSelected02$3 = colors$1.gray20;
|
|
610
|
-
var layerSelectedHover02$3 = colors$1.gray20Hover;
|
|
558
|
+
var layerSelectedHover02$3 = colors$1.gray20Hover;
|
|
611
559
|
|
|
560
|
+
// layer-03
|
|
612
561
|
var layer03$3 = colors$1.gray10;
|
|
613
562
|
var layerActive03$3 = colors$1.gray30;
|
|
614
563
|
var layerHover03$3 = colors$1.gray10Hover;
|
|
615
564
|
var layerSelected03$3 = colors$1.gray20;
|
|
616
|
-
var layerSelectedHover03$3 = colors$1.gray20Hover;
|
|
565
|
+
var layerSelectedHover03$3 = colors$1.gray20Hover;
|
|
617
566
|
|
|
567
|
+
// layer
|
|
618
568
|
var layerSelectedInverse$7 = colors$1.gray100;
|
|
619
|
-
var layerSelectedDisabled$7 = colors$1.gray50;
|
|
569
|
+
var layerSelectedDisabled$7 = colors$1.gray50;
|
|
620
570
|
|
|
571
|
+
// layer-accent-01
|
|
621
572
|
var layerAccent01$3 = colors$1.gray20;
|
|
622
573
|
var layerAccentActive01$3 = colors$1.gray40;
|
|
623
|
-
var layerAccentHover01$3 = colors$1.gray20Hover;
|
|
574
|
+
var layerAccentHover01$3 = colors$1.gray20Hover;
|
|
624
575
|
|
|
576
|
+
// layer-accent-02
|
|
625
577
|
var layerAccent02$3 = colors$1.gray20;
|
|
626
578
|
var layerAccentActive02$3 = colors$1.gray40;
|
|
627
|
-
var layerAccentHover02$3 = colors$1.gray20Hover;
|
|
579
|
+
var layerAccentHover02$3 = colors$1.gray20Hover;
|
|
628
580
|
|
|
581
|
+
// layer-accent-03
|
|
629
582
|
var layerAccent03$3 = colors$1.gray20;
|
|
630
583
|
var layerAccentActive03$3 = colors$1.gray40;
|
|
631
|
-
var layerAccentHover03$3 = colors$1.gray20Hover;
|
|
632
|
-
// field-01
|
|
584
|
+
var layerAccentHover03$3 = colors$1.gray20Hover;
|
|
633
585
|
|
|
586
|
+
// Field
|
|
587
|
+
// field-01
|
|
634
588
|
var field01$7 = colors$1.gray10;
|
|
635
|
-
var fieldHover01$3 = colors$1.gray10Hover;
|
|
589
|
+
var fieldHover01$3 = colors$1.gray10Hover;
|
|
636
590
|
|
|
591
|
+
// field-02
|
|
637
592
|
var field02$7 = colors$1.white;
|
|
638
|
-
var fieldHover02$3 = colors$1.whiteHover;
|
|
593
|
+
var fieldHover02$3 = colors$1.whiteHover;
|
|
639
594
|
|
|
595
|
+
// field-03
|
|
640
596
|
var field03$3 = colors$1.gray10;
|
|
641
|
-
var fieldHover03$3 = colors$1.gray10Hover;
|
|
642
|
-
// border-subtle-00
|
|
597
|
+
var fieldHover03$3 = colors$1.gray10Hover;
|
|
643
598
|
|
|
644
|
-
|
|
599
|
+
// Border
|
|
600
|
+
// border-subtle-00
|
|
601
|
+
var borderSubtle00$3 = colors$1.gray20;
|
|
645
602
|
|
|
603
|
+
// border-subtle-01
|
|
646
604
|
var borderSubtle01$3 = colors$1.gray30;
|
|
647
|
-
var borderSubtleSelected01$3 = colors$1.gray30;
|
|
605
|
+
var borderSubtleSelected01$3 = colors$1.gray30;
|
|
648
606
|
|
|
607
|
+
// border-subtle-02
|
|
649
608
|
var borderSubtle02$3 = colors$1.gray20;
|
|
650
|
-
var borderSubtleSelected02$3 = colors$1.gray30;
|
|
609
|
+
var borderSubtleSelected02$3 = colors$1.gray30;
|
|
651
610
|
|
|
611
|
+
// border-subtle-03
|
|
652
612
|
var borderSubtle03$3 = colors$1.gray30;
|
|
653
|
-
var borderSubtleSelected03$3 = colors$1.gray30;
|
|
613
|
+
var borderSubtleSelected03$3 = colors$1.gray30;
|
|
654
614
|
|
|
615
|
+
// border-strong
|
|
655
616
|
var borderStrong01$3 = colors$1.gray50;
|
|
656
617
|
var borderStrong02$3 = colors$1.gray50;
|
|
657
|
-
var borderStrong03$3 = colors$1.gray50;
|
|
618
|
+
var borderStrong03$3 = colors$1.gray50;
|
|
658
619
|
|
|
620
|
+
// border-tile
|
|
659
621
|
var borderTile01$3 = colors$1.gray30;
|
|
660
622
|
var borderTile02$3 = colors$1.gray40;
|
|
661
|
-
var borderTile03$3 = colors$1.gray30;
|
|
623
|
+
var borderTile03$3 = colors$1.gray30;
|
|
662
624
|
|
|
663
|
-
|
|
625
|
+
// border-inverse
|
|
626
|
+
var borderInverse$7 = colors$1.gray100;
|
|
664
627
|
|
|
665
|
-
|
|
628
|
+
// border-interactive
|
|
629
|
+
var borderInteractive$7 = colors$1.blue60;
|
|
666
630
|
|
|
667
|
-
|
|
631
|
+
// border
|
|
632
|
+
var borderDisabled$7 = colors$1.gray30;
|
|
668
633
|
|
|
634
|
+
// Text
|
|
669
635
|
var textPrimary$7 = colors$1.gray100;
|
|
670
636
|
var textSecondary$7 = colors$1.gray70;
|
|
671
637
|
var textPlaceholder$7 = adjustAlpha(textPrimary$7, 0.4);
|
|
@@ -674,24 +640,27 @@ var textError$7 = colors$1.red60;
|
|
|
674
640
|
var textInverse$7 = colors$1.white;
|
|
675
641
|
var textOnColor$7 = colors$1.white;
|
|
676
642
|
var textOnColorDisabled$7 = colors$1.gray50;
|
|
677
|
-
var textDisabled$7 = adjustAlpha(textPrimary$7, 0.25);
|
|
643
|
+
var textDisabled$7 = adjustAlpha(textPrimary$7, 0.25);
|
|
678
644
|
|
|
645
|
+
// Link
|
|
679
646
|
var linkPrimary$7 = colors$1.blue60;
|
|
680
647
|
var linkPrimaryHover$7 = colors$1.blue70;
|
|
681
648
|
var linkSecondary$7 = colors$1.blue70;
|
|
682
649
|
var linkInverse$7 = colors$1.blue40;
|
|
683
650
|
var linkVisited$7 = colors$1.purple60;
|
|
684
651
|
var linkInverseActive$3 = colors$1.gray10;
|
|
685
|
-
var linkInverseHover$3 = colors$1.blue30;
|
|
652
|
+
var linkInverseHover$3 = colors$1.blue30;
|
|
686
653
|
|
|
654
|
+
// Icon
|
|
687
655
|
var iconPrimary$7 = colors$1.gray100;
|
|
688
656
|
var iconSecondary$7 = colors$1.gray70;
|
|
689
657
|
var iconInverse$7 = colors$1.white;
|
|
690
658
|
var iconOnColor$7 = colors$1.white;
|
|
691
659
|
var iconOnColorDisabled$7 = colors$1.gray50;
|
|
692
660
|
var iconDisabled$7 = adjustAlpha(iconPrimary$7, 0.25);
|
|
693
|
-
var iconInteractive$3 = colors$1.blue60;
|
|
661
|
+
var iconInteractive$3 = colors$1.blue60;
|
|
694
662
|
|
|
663
|
+
// Support
|
|
695
664
|
var supportError$7 = colors$1.red60;
|
|
696
665
|
var supportSuccess$7 = colors$1.green50;
|
|
697
666
|
var supportWarning$7 = colors$1.yellow30;
|
|
@@ -702,20 +671,23 @@ var supportWarningInverse$7 = colors$1.yellow30;
|
|
|
702
671
|
var supportInfoInverse$7 = colors$1.blue50;
|
|
703
672
|
var supportCautionMinor$3 = colors$1.yellow30;
|
|
704
673
|
var supportCautionMajor$3 = colors$1.orange40;
|
|
705
|
-
var supportCautionUndefined$3 = colors$1.purple60;
|
|
674
|
+
var supportCautionUndefined$3 = colors$1.purple60;
|
|
706
675
|
|
|
676
|
+
// Focus
|
|
707
677
|
var focus$8 = colors$1.blue60;
|
|
708
678
|
var focusInset$7 = colors$1.white;
|
|
709
|
-
var focusInverse$7 = colors$1.white;
|
|
679
|
+
var focusInverse$7 = colors$1.white;
|
|
710
680
|
|
|
681
|
+
// Skeleton
|
|
711
682
|
var skeletonBackground$7 = colors$1.whiteHover;
|
|
712
|
-
var skeletonElement$7 = colors$1.gray30;
|
|
683
|
+
var skeletonElement$7 = colors$1.gray30;
|
|
713
684
|
|
|
685
|
+
// Misc
|
|
714
686
|
var interactive$7 = colors$1.blue60;
|
|
715
687
|
var highlight$7 = colors$1.blue20;
|
|
716
688
|
var overlay$7 = 'rgba(22, 22, 22, 0.5)';
|
|
717
689
|
var toggleOff$7 = colors$1.gray50;
|
|
718
|
-
var shadow$7 = 'rgba(0, 0, 0, 0.3)';
|
|
690
|
+
var shadow$7 = 'rgba(0, 0, 0, 0.3)';
|
|
719
691
|
|
|
720
692
|
var white$1 = /*#__PURE__*/Object.freeze({
|
|
721
693
|
__proto__: null,
|
|
@@ -882,7 +854,14 @@ var white$1 = /*#__PURE__*/Object.freeze({
|
|
|
882
854
|
sizeXLarge: layout$2.sizeXLarge,
|
|
883
855
|
size2XLarge: layout$2.size2XLarge,
|
|
884
856
|
iconSize01: layout$2.iconSize01,
|
|
885
|
-
iconSize02: layout$2.iconSize02
|
|
857
|
+
iconSize02: layout$2.iconSize02,
|
|
858
|
+
layout01: layout$2.layout01,
|
|
859
|
+
layout02: layout$2.layout02,
|
|
860
|
+
layout03: layout$2.layout03,
|
|
861
|
+
layout04: layout$2.layout04,
|
|
862
|
+
layout05: layout$2.layout05,
|
|
863
|
+
layout06: layout$2.layout06,
|
|
864
|
+
layout07: layout$2.layout07
|
|
886
865
|
});
|
|
887
866
|
|
|
888
867
|
/**
|
|
@@ -892,6 +871,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
|
|
|
892
871
|
* LICENSE file in the root directory of this source tree.
|
|
893
872
|
*/
|
|
894
873
|
|
|
874
|
+
// Background
|
|
895
875
|
var background$7 = colors$1.gray10;
|
|
896
876
|
var backgroundInverse$6 = colors$1.gray80;
|
|
897
877
|
var backgroundBrand$6 = colors$1.blue60;
|
|
@@ -899,78 +879,98 @@ var backgroundActive$6 = adjustAlpha(colors$1.gray50, 0.5);
|
|
|
899
879
|
var backgroundHover$6 = adjustAlpha(colors$1.gray50, 0.12);
|
|
900
880
|
var backgroundInverseHover$6 = colors$1.gray80Hover;
|
|
901
881
|
var backgroundSelected$6 = adjustAlpha(colors$1.gray50, 0.2);
|
|
902
|
-
var backgroundSelectedHover$6 = adjustAlpha(colors$1.gray50, 0.32);
|
|
903
|
-
// layer-01
|
|
882
|
+
var backgroundSelectedHover$6 = adjustAlpha(colors$1.gray50, 0.32);
|
|
904
883
|
|
|
884
|
+
// Layer
|
|
885
|
+
// layer-01
|
|
905
886
|
var layer01$2 = colors$1.white;
|
|
906
887
|
var layerActive01$2 = colors$1.gray30;
|
|
907
888
|
var layerHover01$2 = colors$1.whiteHover;
|
|
908
889
|
var layerSelected01$2 = colors$1.gray20;
|
|
909
|
-
var layerSelectedHover01$2 = colors$1.gray20Hover;
|
|
890
|
+
var layerSelectedHover01$2 = colors$1.gray20Hover;
|
|
910
891
|
|
|
892
|
+
// layer-02
|
|
911
893
|
var layer02$2 = colors$1.gray10;
|
|
912
894
|
var layerActive02$2 = colors$1.gray30;
|
|
913
895
|
var layerHover02$2 = colors$1.gray10Hover;
|
|
914
896
|
var layerSelected02$2 = colors$1.gray20;
|
|
915
|
-
var layerSelectedHover02$2 = colors$1.gray20Hover;
|
|
897
|
+
var layerSelectedHover02$2 = colors$1.gray20Hover;
|
|
916
898
|
|
|
899
|
+
// layer-03
|
|
917
900
|
var layer03$2 = colors$1.white;
|
|
918
901
|
var layerActive03$2 = colors$1.gray30;
|
|
919
902
|
var layerHover03$2 = colors$1.whiteHover;
|
|
920
903
|
var layerSelected03$2 = colors$1.gray20;
|
|
921
|
-
var layerSelectedHover03$2 = colors$1.gray20Hover;
|
|
904
|
+
var layerSelectedHover03$2 = colors$1.gray20Hover;
|
|
922
905
|
|
|
906
|
+
// layer
|
|
923
907
|
var layerSelectedInverse$6 = colors$1.gray100;
|
|
924
|
-
var layerSelectedDisabled$6 = colors$1.gray50;
|
|
908
|
+
var layerSelectedDisabled$6 = colors$1.gray50;
|
|
925
909
|
|
|
910
|
+
// layer-accent-01
|
|
926
911
|
var layerAccent01$2 = colors$1.gray20;
|
|
927
912
|
var layerAccentActive01$2 = colors$1.gray40;
|
|
928
|
-
var layerAccentHover01$2 = colors$1.gray20Hover;
|
|
913
|
+
var layerAccentHover01$2 = colors$1.gray20Hover;
|
|
929
914
|
|
|
915
|
+
// layer-accent-02
|
|
930
916
|
var layerAccent02$2 = colors$1.gray20;
|
|
931
917
|
var layerAccentActive02$2 = colors$1.gray40;
|
|
932
|
-
var layerAccentHover02$2 = colors$1.gray20Hover;
|
|
918
|
+
var layerAccentHover02$2 = colors$1.gray20Hover;
|
|
933
919
|
|
|
920
|
+
// layer-accent-03
|
|
934
921
|
var layerAccent03$2 = colors$1.gray20;
|
|
935
922
|
var layerAccentActive03$2 = colors$1.gray40;
|
|
936
|
-
var layerAccentHover03$2 = colors$1.gray20Hover;
|
|
937
|
-
// field-01
|
|
923
|
+
var layerAccentHover03$2 = colors$1.gray20Hover;
|
|
938
924
|
|
|
925
|
+
// Field
|
|
926
|
+
// field-01
|
|
939
927
|
var field01$6 = colors$1.white;
|
|
940
|
-
var fieldHover01$2 = colors$1.whiteHover;
|
|
928
|
+
var fieldHover01$2 = colors$1.whiteHover;
|
|
941
929
|
|
|
930
|
+
// field-02
|
|
942
931
|
var field02$6 = colors$1.gray10;
|
|
943
|
-
var fieldHover02$2 = colors$1.gray10Hover;
|
|
932
|
+
var fieldHover02$2 = colors$1.gray10Hover;
|
|
944
933
|
|
|
934
|
+
// field-03
|
|
945
935
|
var field03$2 = colors$1.white;
|
|
946
|
-
var fieldHover03$2 = colors$1.whiteHover;
|
|
947
|
-
// border-subtle-00
|
|
936
|
+
var fieldHover03$2 = colors$1.whiteHover;
|
|
948
937
|
|
|
949
|
-
|
|
938
|
+
// Border
|
|
939
|
+
// border-subtle-00
|
|
940
|
+
var borderSubtle00$2 = colors$1.gray30;
|
|
950
941
|
|
|
942
|
+
// border-subtle-01
|
|
951
943
|
var borderSubtle01$2 = colors$1.gray20;
|
|
952
|
-
var borderSubtleSelected01$2 = colors$1.gray30;
|
|
944
|
+
var borderSubtleSelected01$2 = colors$1.gray30;
|
|
953
945
|
|
|
946
|
+
// border-subtle-02
|
|
954
947
|
var borderSubtle02$2 = colors$1.gray30;
|
|
955
|
-
var borderSubtleSelected02$2 = colors$1.gray30;
|
|
948
|
+
var borderSubtleSelected02$2 = colors$1.gray30;
|
|
956
949
|
|
|
950
|
+
// border-subtle-03
|
|
957
951
|
var borderSubtle03$2 = colors$1.gray20;
|
|
958
|
-
var borderSubtleSelected03$2 = colors$1.gray30;
|
|
952
|
+
var borderSubtleSelected03$2 = colors$1.gray30;
|
|
959
953
|
|
|
954
|
+
// border-strong
|
|
960
955
|
var borderStrong01$2 = colors$1.gray50;
|
|
961
956
|
var borderStrong02$2 = colors$1.gray50;
|
|
962
|
-
var borderStrong03$2 = colors$1.gray50;
|
|
957
|
+
var borderStrong03$2 = colors$1.gray50;
|
|
963
958
|
|
|
959
|
+
// border-tile
|
|
964
960
|
var borderTile01$2 = colors$1.gray40;
|
|
965
961
|
var borderTile02$2 = colors$1.gray30;
|
|
966
|
-
var borderTile03$2 = colors$1.gray40;
|
|
962
|
+
var borderTile03$2 = colors$1.gray40;
|
|
967
963
|
|
|
968
|
-
|
|
964
|
+
// border-inverse
|
|
965
|
+
var borderInverse$6 = colors$1.gray100;
|
|
969
966
|
|
|
970
|
-
|
|
967
|
+
// border-interactive
|
|
968
|
+
var borderInteractive$6 = colors$1.blue60;
|
|
971
969
|
|
|
972
|
-
|
|
970
|
+
// border
|
|
971
|
+
var borderDisabled$6 = colors$1.gray30;
|
|
973
972
|
|
|
973
|
+
// Text
|
|
974
974
|
var textPrimary$6 = colors$1.gray100;
|
|
975
975
|
var textSecondary$6 = colors$1.gray70;
|
|
976
976
|
var textPlaceholder$6 = adjustAlpha(textPrimary$6, 0.4);
|
|
@@ -979,24 +979,27 @@ var textError$6 = colors$1.red60;
|
|
|
979
979
|
var textInverse$6 = colors$1.white;
|
|
980
980
|
var textOnColor$6 = colors$1.white;
|
|
981
981
|
var textOnColorDisabled$6 = colors$1.gray50;
|
|
982
|
-
var textDisabled$6 = adjustAlpha(textPrimary$6, 0.25);
|
|
982
|
+
var textDisabled$6 = adjustAlpha(textPrimary$6, 0.25);
|
|
983
983
|
|
|
984
|
+
// Link
|
|
984
985
|
var linkPrimary$6 = colors$1.blue60;
|
|
985
986
|
var linkPrimaryHover$6 = colors$1.blue70;
|
|
986
987
|
var linkSecondary$6 = colors$1.blue70;
|
|
987
988
|
var linkInverse$6 = colors$1.blue40;
|
|
988
989
|
var linkVisited$6 = colors$1.purple60;
|
|
989
990
|
var linkInverseActive$2 = colors$1.gray10;
|
|
990
|
-
var linkInverseHover$2 = colors$1.blue30;
|
|
991
|
+
var linkInverseHover$2 = colors$1.blue30;
|
|
991
992
|
|
|
993
|
+
// Icon
|
|
992
994
|
var iconPrimary$6 = colors$1.gray100;
|
|
993
995
|
var iconSecondary$6 = colors$1.gray70;
|
|
994
996
|
var iconInverse$6 = colors$1.white;
|
|
995
997
|
var iconOnColor$6 = colors$1.white;
|
|
996
998
|
var iconOnColorDisabled$6 = colors$1.gray50;
|
|
997
999
|
var iconDisabled$6 = adjustAlpha(iconPrimary$6, 0.25);
|
|
998
|
-
var iconInteractive$2 = colors$1.blue60;
|
|
1000
|
+
var iconInteractive$2 = colors$1.blue60;
|
|
999
1001
|
|
|
1002
|
+
// Support
|
|
1000
1003
|
var supportError$6 = colors$1.red60;
|
|
1001
1004
|
var supportSuccess$6 = colors$1.green50;
|
|
1002
1005
|
var supportWarning$6 = colors$1.yellow30;
|
|
@@ -1007,15 +1010,18 @@ var supportWarningInverse$6 = colors$1.yellow30;
|
|
|
1007
1010
|
var supportInfoInverse$6 = colors$1.blue50;
|
|
1008
1011
|
var supportCautionMinor$2 = colors$1.yellow30;
|
|
1009
1012
|
var supportCautionMajor$2 = colors$1.orange40;
|
|
1010
|
-
var supportCautionUndefined$2 = colors$1.purple60;
|
|
1013
|
+
var supportCautionUndefined$2 = colors$1.purple60;
|
|
1011
1014
|
|
|
1015
|
+
// Focus
|
|
1012
1016
|
var focus$7 = colors$1.blue60;
|
|
1013
1017
|
var focusInset$6 = colors$1.white;
|
|
1014
|
-
var focusInverse$6 = colors$1.white;
|
|
1018
|
+
var focusInverse$6 = colors$1.white;
|
|
1015
1019
|
|
|
1020
|
+
// Skeleton
|
|
1016
1021
|
var skeletonBackground$6 = colors$1.gray10Hover;
|
|
1017
|
-
var skeletonElement$6 = colors$1.gray30;
|
|
1022
|
+
var skeletonElement$6 = colors$1.gray30;
|
|
1018
1023
|
|
|
1024
|
+
// Misc
|
|
1019
1025
|
var interactive$6 = colors$1.blue60;
|
|
1020
1026
|
var highlight$6 = colors$1.blue20;
|
|
1021
1027
|
var overlay$6 = 'rgba(22, 22, 22, 0.5)';
|
|
@@ -1187,7 +1193,14 @@ var g10$1 = /*#__PURE__*/Object.freeze({
|
|
|
1187
1193
|
sizeXLarge: layout$2.sizeXLarge,
|
|
1188
1194
|
size2XLarge: layout$2.size2XLarge,
|
|
1189
1195
|
iconSize01: layout$2.iconSize01,
|
|
1190
|
-
iconSize02: layout$2.iconSize02
|
|
1196
|
+
iconSize02: layout$2.iconSize02,
|
|
1197
|
+
layout01: layout$2.layout01,
|
|
1198
|
+
layout02: layout$2.layout02,
|
|
1199
|
+
layout03: layout$2.layout03,
|
|
1200
|
+
layout04: layout$2.layout04,
|
|
1201
|
+
layout05: layout$2.layout05,
|
|
1202
|
+
layout06: layout$2.layout06,
|
|
1203
|
+
layout07: layout$2.layout07
|
|
1191
1204
|
});
|
|
1192
1205
|
|
|
1193
1206
|
/**
|
|
@@ -1197,6 +1210,7 @@ var g10$1 = /*#__PURE__*/Object.freeze({
|
|
|
1197
1210
|
* LICENSE file in the root directory of this source tree.
|
|
1198
1211
|
*/
|
|
1199
1212
|
|
|
1213
|
+
// Background
|
|
1200
1214
|
var background$6 = colors$1.gray90;
|
|
1201
1215
|
var backgroundInverse$5 = colors$1.gray10;
|
|
1202
1216
|
var backgroundBrand$5 = colors$1.blue60;
|
|
@@ -1204,78 +1218,98 @@ var backgroundActive$5 = adjustAlpha(colors$1.gray50, 0.4);
|
|
|
1204
1218
|
var backgroundHover$5 = adjustAlpha(colors$1.gray50, 0.16);
|
|
1205
1219
|
var backgroundInverseHover$5 = colors$1.gray10Hover;
|
|
1206
1220
|
var backgroundSelected$5 = adjustAlpha(colors$1.gray50, 0.24);
|
|
1207
|
-
var backgroundSelectedHover$5 = adjustAlpha(colors$1.gray50, 0.32);
|
|
1208
|
-
// layer-01
|
|
1221
|
+
var backgroundSelectedHover$5 = adjustAlpha(colors$1.gray50, 0.32);
|
|
1209
1222
|
|
|
1223
|
+
// Layer
|
|
1224
|
+
// layer-01
|
|
1210
1225
|
var layer01$1 = colors$1.gray80;
|
|
1211
1226
|
var layerActive01$1 = colors$1.gray60;
|
|
1212
1227
|
var layerHover01$1 = colors$1.gray80Hover;
|
|
1213
1228
|
var layerSelected01$1 = colors$1.gray70;
|
|
1214
|
-
var layerSelectedHover01$1 = colors$1.gray70Hover;
|
|
1229
|
+
var layerSelectedHover01$1 = colors$1.gray70Hover;
|
|
1215
1230
|
|
|
1231
|
+
// layer-02
|
|
1216
1232
|
var layer02$1 = colors$1.gray70;
|
|
1217
1233
|
var layerActive02$1 = colors$1.gray50;
|
|
1218
1234
|
var layerHover02$1 = colors$1.gray70Hover;
|
|
1219
1235
|
var layerSelected02$1 = colors$1.gray60;
|
|
1220
|
-
var layerSelectedHover02$1 = colors$1.gray60Hover;
|
|
1236
|
+
var layerSelectedHover02$1 = colors$1.gray60Hover;
|
|
1221
1237
|
|
|
1238
|
+
// layer-03
|
|
1222
1239
|
var layer03$1 = colors$1.gray60;
|
|
1223
1240
|
var layerActive03$1 = colors$1.gray80;
|
|
1224
1241
|
var layerHover03$1 = colors$1.gray60Hover;
|
|
1225
1242
|
var layerSelected03$1 = colors$1.gray70;
|
|
1226
|
-
var layerSelectedHover03$1 = colors$1.gray70Hover;
|
|
1243
|
+
var layerSelectedHover03$1 = colors$1.gray70Hover;
|
|
1227
1244
|
|
|
1245
|
+
// layer
|
|
1228
1246
|
var layerSelectedInverse$5 = colors$1.gray10;
|
|
1229
|
-
var layerSelectedDisabled$5 = colors$1.gray40;
|
|
1247
|
+
var layerSelectedDisabled$5 = colors$1.gray40;
|
|
1230
1248
|
|
|
1249
|
+
// layer-accent-01
|
|
1231
1250
|
var layerAccent01$1 = colors$1.gray70;
|
|
1232
1251
|
var layerAccentActive01$1 = colors$1.gray50;
|
|
1233
|
-
var layerAccentHover01$1 = colors$1.gray70Hover;
|
|
1252
|
+
var layerAccentHover01$1 = colors$1.gray70Hover;
|
|
1234
1253
|
|
|
1254
|
+
// layer-accent-02
|
|
1235
1255
|
var layerAccent02$1 = colors$1.gray60;
|
|
1236
1256
|
var layerAccentActive02$1 = colors$1.gray80;
|
|
1237
|
-
var layerAccentHover02$1 = colors$1.gray60Hover;
|
|
1257
|
+
var layerAccentHover02$1 = colors$1.gray60Hover;
|
|
1238
1258
|
|
|
1259
|
+
// layer-accent-03
|
|
1239
1260
|
var layerAccent03$1 = colors$1.gray50;
|
|
1240
1261
|
var layerAccentActive03$1 = colors$1.gray70;
|
|
1241
|
-
var layerAccentHover03$1 = colors$1.gray50Hover;
|
|
1242
|
-
// field-01
|
|
1262
|
+
var layerAccentHover03$1 = colors$1.gray50Hover;
|
|
1243
1263
|
|
|
1264
|
+
// Field
|
|
1265
|
+
// field-01
|
|
1244
1266
|
var field01$5 = colors$1.gray80;
|
|
1245
|
-
var fieldHover01$1 = colors$1.gray80Hover;
|
|
1267
|
+
var fieldHover01$1 = colors$1.gray80Hover;
|
|
1246
1268
|
|
|
1269
|
+
// field-02
|
|
1247
1270
|
var field02$5 = colors$1.gray70;
|
|
1248
|
-
var fieldHover02$1 = colors$1.gray70Hover;
|
|
1271
|
+
var fieldHover02$1 = colors$1.gray70Hover;
|
|
1249
1272
|
|
|
1273
|
+
// field-03
|
|
1250
1274
|
var field03$1 = colors$1.gray60;
|
|
1251
|
-
var fieldHover03$1 = colors$1.gray60Hover;
|
|
1252
|
-
// border-subtle-00
|
|
1275
|
+
var fieldHover03$1 = colors$1.gray60Hover;
|
|
1253
1276
|
|
|
1254
|
-
|
|
1277
|
+
// Border
|
|
1278
|
+
// border-subtle-00
|
|
1279
|
+
var borderSubtle00$1 = colors$1.gray70;
|
|
1255
1280
|
|
|
1281
|
+
// border-subtle-01
|
|
1256
1282
|
var borderSubtle01$1 = colors$1.gray70;
|
|
1257
|
-
var borderSubtleSelected01$1 = colors$1.gray60;
|
|
1283
|
+
var borderSubtleSelected01$1 = colors$1.gray60;
|
|
1258
1284
|
|
|
1285
|
+
// border-subtle-02
|
|
1259
1286
|
var borderSubtle02$1 = colors$1.gray60;
|
|
1260
|
-
var borderSubtleSelected02$1 = colors$1.gray50;
|
|
1287
|
+
var borderSubtleSelected02$1 = colors$1.gray50;
|
|
1261
1288
|
|
|
1289
|
+
// border-subtle-03
|
|
1262
1290
|
var borderSubtle03$1 = colors$1.gray50;
|
|
1263
|
-
var borderSubtleSelected03$1 = colors$1.gray40;
|
|
1291
|
+
var borderSubtleSelected03$1 = colors$1.gray40;
|
|
1264
1292
|
|
|
1293
|
+
// border-strong
|
|
1265
1294
|
var borderStrong01$1 = colors$1.gray50;
|
|
1266
1295
|
var borderStrong02$1 = colors$1.gray40;
|
|
1267
|
-
var borderStrong03$1 = colors$1.gray30;
|
|
1296
|
+
var borderStrong03$1 = colors$1.gray30;
|
|
1268
1297
|
|
|
1298
|
+
// border-tile
|
|
1269
1299
|
var borderTile01$1 = colors$1.gray60;
|
|
1270
1300
|
var borderTile02$1 = colors$1.gray50;
|
|
1271
|
-
var borderTile03$1 = colors$1.gray40;
|
|
1301
|
+
var borderTile03$1 = colors$1.gray40;
|
|
1272
1302
|
|
|
1273
|
-
|
|
1303
|
+
// border-inverse
|
|
1304
|
+
var borderInverse$5 = colors$1.gray10;
|
|
1274
1305
|
|
|
1275
|
-
|
|
1306
|
+
// border-interactive
|
|
1307
|
+
var borderInteractive$5 = colors$1.blue50;
|
|
1276
1308
|
|
|
1277
|
-
|
|
1309
|
+
// border
|
|
1310
|
+
var borderDisabled$5 = adjustAlpha(colors$1.gray50, 0.5);
|
|
1278
1311
|
|
|
1312
|
+
// Text
|
|
1279
1313
|
var textPrimary$5 = colors$1.gray10;
|
|
1280
1314
|
var textSecondary$5 = colors$1.gray30;
|
|
1281
1315
|
var textPlaceholder$5 = adjustAlpha(textPrimary$5, 0.4);
|
|
@@ -1284,24 +1318,27 @@ var textError$5 = colors$1.red30;
|
|
|
1284
1318
|
var textInverse$5 = colors$1.gray100;
|
|
1285
1319
|
var textOnColor$5 = colors$1.white;
|
|
1286
1320
|
var textOnColorDisabled$5 = adjustAlpha(textOnColor$5, 0.25);
|
|
1287
|
-
var textDisabled$5 = adjustAlpha(textPrimary$5, 0.25);
|
|
1321
|
+
var textDisabled$5 = adjustAlpha(textPrimary$5, 0.25);
|
|
1288
1322
|
|
|
1323
|
+
// Link
|
|
1289
1324
|
var linkPrimary$5 = colors$1.blue40;
|
|
1290
1325
|
var linkPrimaryHover$5 = colors$1.blue30;
|
|
1291
1326
|
var linkSecondary$5 = colors$1.blue30;
|
|
1292
1327
|
var linkInverse$5 = colors$1.blue60;
|
|
1293
1328
|
var linkVisited$5 = colors$1.purple40;
|
|
1294
1329
|
var linkInverseActive$1 = colors$1.gray100;
|
|
1295
|
-
var linkInverseHover$1 = colors$1.blue70;
|
|
1330
|
+
var linkInverseHover$1 = colors$1.blue70;
|
|
1296
1331
|
|
|
1332
|
+
// Icon
|
|
1297
1333
|
var iconPrimary$5 = colors$1.gray10;
|
|
1298
1334
|
var iconSecondary$5 = colors$1.gray30;
|
|
1299
1335
|
var iconInverse$5 = colors$1.gray100;
|
|
1300
1336
|
var iconOnColor$5 = colors$1.white;
|
|
1301
1337
|
var iconOnColorDisabled$5 = adjustAlpha(iconOnColor$5, 0.25);
|
|
1302
1338
|
var iconDisabled$5 = adjustAlpha(iconPrimary$5, 0.25);
|
|
1303
|
-
var iconInteractive$1 = colors$1.white;
|
|
1339
|
+
var iconInteractive$1 = colors$1.white;
|
|
1304
1340
|
|
|
1341
|
+
// Support
|
|
1305
1342
|
var supportError$5 = colors$1.red40;
|
|
1306
1343
|
var supportSuccess$5 = colors$1.green40;
|
|
1307
1344
|
var supportWarning$5 = colors$1.yellow30;
|
|
@@ -1312,15 +1349,18 @@ var supportWarningInverse$5 = colors$1.yellow30;
|
|
|
1312
1349
|
var supportInfoInverse$5 = colors$1.blue70;
|
|
1313
1350
|
var supportCautionMinor$1 = colors$1.yellow30;
|
|
1314
1351
|
var supportCautionMajor$1 = colors$1.orange40;
|
|
1315
|
-
var supportCautionUndefined$1 = colors$1.purple50;
|
|
1352
|
+
var supportCautionUndefined$1 = colors$1.purple50;
|
|
1316
1353
|
|
|
1354
|
+
// Focus
|
|
1317
1355
|
var focus$6 = colors$1.white;
|
|
1318
1356
|
var focusInset$5 = colors$1.gray100;
|
|
1319
|
-
var focusInverse$5 = colors$1.blue60;
|
|
1357
|
+
var focusInverse$5 = colors$1.blue60;
|
|
1320
1358
|
|
|
1359
|
+
// Skeleton
|
|
1321
1360
|
var skeletonBackground$5 = colors$1.gray90Hover;
|
|
1322
|
-
var skeletonElement$5 = colors$1.gray70;
|
|
1361
|
+
var skeletonElement$5 = colors$1.gray70;
|
|
1323
1362
|
|
|
1363
|
+
// Misc
|
|
1324
1364
|
var interactive$5 = colors$1.blue50;
|
|
1325
1365
|
var highlight$5 = colors$1.blue70;
|
|
1326
1366
|
var overlay$5 = colors$1.rgba(colors$1.black, 0.65);
|
|
@@ -1492,7 +1532,14 @@ var g90$1 = /*#__PURE__*/Object.freeze({
|
|
|
1492
1532
|
sizeXLarge: layout$2.sizeXLarge,
|
|
1493
1533
|
size2XLarge: layout$2.size2XLarge,
|
|
1494
1534
|
iconSize01: layout$2.iconSize01,
|
|
1495
|
-
iconSize02: layout$2.iconSize02
|
|
1535
|
+
iconSize02: layout$2.iconSize02,
|
|
1536
|
+
layout01: layout$2.layout01,
|
|
1537
|
+
layout02: layout$2.layout02,
|
|
1538
|
+
layout03: layout$2.layout03,
|
|
1539
|
+
layout04: layout$2.layout04,
|
|
1540
|
+
layout05: layout$2.layout05,
|
|
1541
|
+
layout06: layout$2.layout06,
|
|
1542
|
+
layout07: layout$2.layout07
|
|
1496
1543
|
});
|
|
1497
1544
|
|
|
1498
1545
|
/**
|
|
@@ -1502,6 +1549,7 @@ var g90$1 = /*#__PURE__*/Object.freeze({
|
|
|
1502
1549
|
* LICENSE file in the root directory of this source tree.
|
|
1503
1550
|
*/
|
|
1504
1551
|
|
|
1552
|
+
// Background
|
|
1505
1553
|
var background$5 = colors$1.gray100;
|
|
1506
1554
|
var backgroundInverse$4 = colors$1.gray10;
|
|
1507
1555
|
var backgroundBrand$4 = colors$1.blue60;
|
|
@@ -1509,78 +1557,98 @@ var backgroundActive$4 = adjustAlpha(colors$1.gray50, 0.4);
|
|
|
1509
1557
|
var backgroundHover$4 = adjustAlpha(colors$1.gray50, 0.16);
|
|
1510
1558
|
var backgroundInverseHover$4 = colors$1.gray10Hover;
|
|
1511
1559
|
var backgroundSelected$4 = adjustAlpha(colors$1.gray50, 0.24);
|
|
1512
|
-
var backgroundSelectedHover$4 = adjustAlpha(colors$1.gray50, 0.32);
|
|
1513
|
-
// layer-01
|
|
1560
|
+
var backgroundSelectedHover$4 = adjustAlpha(colors$1.gray50, 0.32);
|
|
1514
1561
|
|
|
1562
|
+
// Layer
|
|
1563
|
+
// layer-01
|
|
1515
1564
|
var layer01 = colors$1.gray90;
|
|
1516
1565
|
var layerActive01 = colors$1.gray70;
|
|
1517
1566
|
var layerHover01 = colors$1.gray90Hover;
|
|
1518
1567
|
var layerSelected01 = colors$1.gray80;
|
|
1519
|
-
var layerSelectedHover01 = colors$1.gray80Hover;
|
|
1568
|
+
var layerSelectedHover01 = colors$1.gray80Hover;
|
|
1520
1569
|
|
|
1570
|
+
// layer-02
|
|
1521
1571
|
var layer02 = colors$1.gray80;
|
|
1522
1572
|
var layerActive02 = colors$1.gray60;
|
|
1523
1573
|
var layerHover02 = colors$1.gray80Hover;
|
|
1524
1574
|
var layerSelected02 = colors$1.gray70;
|
|
1525
|
-
var layerSelectedHover02 = colors$1.gray70Hover;
|
|
1575
|
+
var layerSelectedHover02 = colors$1.gray70Hover;
|
|
1526
1576
|
|
|
1577
|
+
// layer-03
|
|
1527
1578
|
var layer03 = colors$1.gray70;
|
|
1528
1579
|
var layerActive03 = colors$1.gray50;
|
|
1529
1580
|
var layerHover03 = colors$1.gray70Hover;
|
|
1530
1581
|
var layerSelected03 = colors$1.gray60;
|
|
1531
|
-
var layerSelectedHover03 = colors$1.gray60Hover;
|
|
1582
|
+
var layerSelectedHover03 = colors$1.gray60Hover;
|
|
1532
1583
|
|
|
1584
|
+
// layer
|
|
1533
1585
|
var layerSelectedInverse$4 = colors$1.gray10;
|
|
1534
|
-
var layerSelectedDisabled$4 = colors$1.gray40;
|
|
1586
|
+
var layerSelectedDisabled$4 = colors$1.gray40;
|
|
1535
1587
|
|
|
1588
|
+
// layer-accent-01
|
|
1536
1589
|
var layerAccent01 = colors$1.gray80;
|
|
1537
1590
|
var layerAccentActive01 = colors$1.gray60;
|
|
1538
|
-
var layerAccentHover01 = colors$1.gray80Hover;
|
|
1591
|
+
var layerAccentHover01 = colors$1.gray80Hover;
|
|
1539
1592
|
|
|
1593
|
+
// layer-accent-02
|
|
1540
1594
|
var layerAccent02 = colors$1.gray70;
|
|
1541
1595
|
var layerAccentActive02 = colors$1.gray50;
|
|
1542
|
-
var layerAccentHover02 = colors$1.gray70Hover;
|
|
1596
|
+
var layerAccentHover02 = colors$1.gray70Hover;
|
|
1543
1597
|
|
|
1598
|
+
// layer-accent-03
|
|
1544
1599
|
var layerAccent03 = colors$1.gray60;
|
|
1545
1600
|
var layerAccentActive03 = colors$1.gray80;
|
|
1546
|
-
var layerAccentHover03 = colors$1.gray60Hover;
|
|
1547
|
-
// field-01
|
|
1601
|
+
var layerAccentHover03 = colors$1.gray60Hover;
|
|
1548
1602
|
|
|
1603
|
+
// Field
|
|
1604
|
+
// field-01
|
|
1549
1605
|
var field01$4 = colors$1.gray90;
|
|
1550
|
-
var fieldHover01 = colors$1.gray90Hover;
|
|
1606
|
+
var fieldHover01 = colors$1.gray90Hover;
|
|
1551
1607
|
|
|
1608
|
+
// field-02
|
|
1552
1609
|
var field02$4 = colors$1.gray80;
|
|
1553
|
-
var fieldHover02 = colors$1.gray80Hover;
|
|
1610
|
+
var fieldHover02 = colors$1.gray80Hover;
|
|
1554
1611
|
|
|
1612
|
+
// field-03
|
|
1555
1613
|
var field03 = colors$1.gray70;
|
|
1556
|
-
var fieldHover03 = colors$1.gray70Hover;
|
|
1557
|
-
// border-subtle-00
|
|
1614
|
+
var fieldHover03 = colors$1.gray70Hover;
|
|
1558
1615
|
|
|
1559
|
-
|
|
1616
|
+
// Border
|
|
1617
|
+
// border-subtle-00
|
|
1618
|
+
var borderSubtle00 = colors$1.gray80;
|
|
1560
1619
|
|
|
1620
|
+
// border-subtle-01
|
|
1561
1621
|
var borderSubtle01 = colors$1.gray80;
|
|
1562
|
-
var borderSubtleSelected01 = colors$1.gray70;
|
|
1622
|
+
var borderSubtleSelected01 = colors$1.gray70;
|
|
1563
1623
|
|
|
1624
|
+
// border-subtle-02
|
|
1564
1625
|
var borderSubtle02 = colors$1.gray70;
|
|
1565
|
-
var borderSubtleSelected02 = colors$1.gray60;
|
|
1626
|
+
var borderSubtleSelected02 = colors$1.gray60;
|
|
1566
1627
|
|
|
1628
|
+
// border-subtle-03
|
|
1567
1629
|
var borderSubtle03 = colors$1.gray60;
|
|
1568
|
-
var borderSubtleSelected03 = colors$1.gray50;
|
|
1630
|
+
var borderSubtleSelected03 = colors$1.gray50;
|
|
1569
1631
|
|
|
1632
|
+
// border-strong
|
|
1570
1633
|
var borderStrong01 = colors$1.gray60;
|
|
1571
1634
|
var borderStrong02 = colors$1.gray50;
|
|
1572
|
-
var borderStrong03 = colors$1.gray40;
|
|
1635
|
+
var borderStrong03 = colors$1.gray40;
|
|
1573
1636
|
|
|
1637
|
+
// border-tile
|
|
1574
1638
|
var borderTile01 = colors$1.gray70;
|
|
1575
1639
|
var borderTile02 = colors$1.gray60;
|
|
1576
|
-
var borderTile03 = colors$1.gray50;
|
|
1640
|
+
var borderTile03 = colors$1.gray50;
|
|
1577
1641
|
|
|
1578
|
-
|
|
1642
|
+
// border-inverse
|
|
1643
|
+
var borderInverse$4 = colors$1.gray10;
|
|
1579
1644
|
|
|
1580
|
-
|
|
1645
|
+
// border-interactive
|
|
1646
|
+
var borderInteractive$4 = colors$1.blue50;
|
|
1581
1647
|
|
|
1582
|
-
|
|
1648
|
+
// border
|
|
1649
|
+
var borderDisabled$4 = adjustAlpha(colors$1.gray50, 0.5);
|
|
1583
1650
|
|
|
1651
|
+
// Text
|
|
1584
1652
|
var textPrimary$4 = colors$1.gray10;
|
|
1585
1653
|
var textSecondary$4 = colors$1.gray30;
|
|
1586
1654
|
var textPlaceholder$4 = adjustAlpha(textPrimary$4, 0.4);
|
|
@@ -1589,24 +1657,27 @@ var textError$4 = colors$1.red40;
|
|
|
1589
1657
|
var textInverse$4 = colors$1.gray100;
|
|
1590
1658
|
var textOnColor$4 = colors$1.white;
|
|
1591
1659
|
var textOnColorDisabled$4 = adjustAlpha(textOnColor$4, 0.25);
|
|
1592
|
-
var textDisabled$4 = adjustAlpha(textPrimary$4, 0.25);
|
|
1660
|
+
var textDisabled$4 = adjustAlpha(textPrimary$4, 0.25);
|
|
1593
1661
|
|
|
1662
|
+
// Link
|
|
1594
1663
|
var linkPrimary$4 = colors$1.blue40;
|
|
1595
1664
|
var linkPrimaryHover$4 = colors$1.blue30;
|
|
1596
1665
|
var linkSecondary$4 = colors$1.blue30;
|
|
1597
1666
|
var linkInverse$4 = colors$1.blue60;
|
|
1598
1667
|
var linkVisited$4 = colors$1.purple40;
|
|
1599
1668
|
var linkInverseActive = colors$1.gray100;
|
|
1600
|
-
var linkInverseHover = colors$1.blue70;
|
|
1669
|
+
var linkInverseHover = colors$1.blue70;
|
|
1601
1670
|
|
|
1671
|
+
// Icon
|
|
1602
1672
|
var iconPrimary$4 = colors$1.gray10;
|
|
1603
1673
|
var iconSecondary$4 = colors$1.gray30;
|
|
1604
1674
|
var iconInverse$4 = colors$1.gray100;
|
|
1605
1675
|
var iconOnColor$4 = colors$1.white;
|
|
1606
1676
|
var iconOnColorDisabled$4 = adjustAlpha(iconOnColor$4, 0.25);
|
|
1607
1677
|
var iconDisabled$4 = adjustAlpha(iconPrimary$4, 0.25);
|
|
1608
|
-
var iconInteractive = colors$1.white;
|
|
1678
|
+
var iconInteractive = colors$1.white;
|
|
1609
1679
|
|
|
1680
|
+
// Support
|
|
1610
1681
|
var supportError$4 = colors$1.red50;
|
|
1611
1682
|
var supportSuccess$4 = colors$1.green40;
|
|
1612
1683
|
var supportWarning$4 = colors$1.yellow30;
|
|
@@ -1617,15 +1688,18 @@ var supportWarningInverse$4 = colors$1.yellow30;
|
|
|
1617
1688
|
var supportInfoInverse$4 = colors$1.blue70;
|
|
1618
1689
|
var supportCautionMinor = colors$1.yellow30;
|
|
1619
1690
|
var supportCautionMajor = colors$1.orange40;
|
|
1620
|
-
var supportCautionUndefined = colors$1.purple50;
|
|
1691
|
+
var supportCautionUndefined = colors$1.purple50;
|
|
1621
1692
|
|
|
1693
|
+
// Focus
|
|
1622
1694
|
var focus$5 = colors$1.white;
|
|
1623
1695
|
var focusInset$4 = colors$1.gray100;
|
|
1624
|
-
var focusInverse$4 = colors$1.blue60;
|
|
1696
|
+
var focusInverse$4 = colors$1.blue60;
|
|
1625
1697
|
|
|
1698
|
+
// Skeleton
|
|
1626
1699
|
var skeletonBackground$4 = adjustLightness(background$5, 7);
|
|
1627
|
-
var skeletonElement$4 = colors$1.gray80;
|
|
1700
|
+
var skeletonElement$4 = colors$1.gray80;
|
|
1628
1701
|
|
|
1702
|
+
// Misc
|
|
1629
1703
|
var interactive$4 = colors$1.blue50;
|
|
1630
1704
|
var highlight$4 = colors$1.blue80;
|
|
1631
1705
|
var overlay$4 = colors$1.rgba(colors$1.black, 0.65);
|
|
@@ -1797,7 +1871,14 @@ var g100$1 = /*#__PURE__*/Object.freeze({
|
|
|
1797
1871
|
sizeXLarge: layout$2.sizeXLarge,
|
|
1798
1872
|
size2XLarge: layout$2.size2XLarge,
|
|
1799
1873
|
iconSize01: layout$2.iconSize01,
|
|
1800
|
-
iconSize02: layout$2.iconSize02
|
|
1874
|
+
iconSize02: layout$2.iconSize02,
|
|
1875
|
+
layout01: layout$2.layout01,
|
|
1876
|
+
layout02: layout$2.layout02,
|
|
1877
|
+
layout03: layout$2.layout03,
|
|
1878
|
+
layout04: layout$2.layout04,
|
|
1879
|
+
layout05: layout$2.layout05,
|
|
1880
|
+
layout06: layout$2.layout06,
|
|
1881
|
+
layout07: layout$2.layout07
|
|
1801
1882
|
});
|
|
1802
1883
|
|
|
1803
1884
|
/**
|
|
@@ -1842,8 +1923,9 @@ var inverseSupport03$3 = colors$1.yellow30;
|
|
|
1842
1923
|
var inverseSupport04$3 = colors$1.blue50;
|
|
1843
1924
|
var overlay01$3 = colors$1.rgba(colors$1.gray100, 0.5);
|
|
1844
1925
|
var danger01$3 = colors$1.red60;
|
|
1845
|
-
var danger02$3 = colors$1.red60;
|
|
1926
|
+
var danger02$3 = colors$1.red60;
|
|
1846
1927
|
|
|
1928
|
+
// Interaction states
|
|
1847
1929
|
var focus$4 = colors$1.blue60;
|
|
1848
1930
|
var inverseFocusUi$3 = colors$1.white;
|
|
1849
1931
|
var hoverPrimary$3 = '#0353e9';
|
|
@@ -1872,9 +1954,10 @@ var highlight$3 = colors$1.blue20;
|
|
|
1872
1954
|
var decorative01$3 = colors$1.gray20;
|
|
1873
1955
|
var buttonSeparator$4 = '#e0e0e0';
|
|
1874
1956
|
var skeleton01$3 = '#e5e5e5';
|
|
1875
|
-
var skeleton02$3 = colors$1.gray30;
|
|
1876
|
-
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
1957
|
+
var skeleton02$3 = colors$1.gray30;
|
|
1877
1958
|
|
|
1959
|
+
// New color tokens
|
|
1960
|
+
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
1878
1961
|
var background$4 = uiBackground$3;
|
|
1879
1962
|
var layer$4 = ui01$3;
|
|
1880
1963
|
var layerAccent$3 = ui03$3;
|
|
@@ -1949,8 +2032,9 @@ var textOnColorDisabled$3 = disabled03$3;
|
|
|
1949
2032
|
var iconOnColorDisabled$3 = disabled03$3;
|
|
1950
2033
|
var layerSelectedDisabled$3 = disabled03$3;
|
|
1951
2034
|
var skeletonBackground$3 = skeleton01$3;
|
|
1952
|
-
var skeletonElement$3 = skeleton02$3;
|
|
2035
|
+
var skeletonElement$3 = skeleton02$3;
|
|
1953
2036
|
|
|
2037
|
+
// Deprecated ☠️
|
|
1954
2038
|
var brand01$3 = interactive01$3;
|
|
1955
2039
|
var brand02$3 = interactive02$3;
|
|
1956
2040
|
var brand03$3 = interactive03$3;
|
|
@@ -2194,7 +2278,14 @@ var white = /*#__PURE__*/Object.freeze({
|
|
|
2194
2278
|
sizeXLarge: layout$2.sizeXLarge,
|
|
2195
2279
|
size2XLarge: layout$2.size2XLarge,
|
|
2196
2280
|
iconSize01: layout$2.iconSize01,
|
|
2197
|
-
iconSize02: layout$2.iconSize02
|
|
2281
|
+
iconSize02: layout$2.iconSize02,
|
|
2282
|
+
layout01: layout$2.layout01,
|
|
2283
|
+
layout02: layout$2.layout02,
|
|
2284
|
+
layout03: layout$2.layout03,
|
|
2285
|
+
layout04: layout$2.layout04,
|
|
2286
|
+
layout05: layout$2.layout05,
|
|
2287
|
+
layout06: layout$2.layout06,
|
|
2288
|
+
layout07: layout$2.layout07
|
|
2198
2289
|
});
|
|
2199
2290
|
|
|
2200
2291
|
/**
|
|
@@ -2239,8 +2330,9 @@ var inverseSupport03$2 = colors$1.yellow30;
|
|
|
2239
2330
|
var inverseSupport04$2 = colors$1.blue50;
|
|
2240
2331
|
var overlay01$2 = colors$1.rgba(colors$1.gray100, 0.5);
|
|
2241
2332
|
var danger01$2 = colors$1.red60;
|
|
2242
|
-
var danger02$2 = colors$1.red60;
|
|
2333
|
+
var danger02$2 = colors$1.red60;
|
|
2243
2334
|
|
|
2335
|
+
// Interaction states
|
|
2244
2336
|
var focus$3 = colors$1.blue60;
|
|
2245
2337
|
var inverseFocusUi$2 = colors$1.white;
|
|
2246
2338
|
var hoverPrimary$2 = '#0353e9';
|
|
@@ -2269,9 +2361,10 @@ var highlight$2 = colors$1.blue20;
|
|
|
2269
2361
|
var decorative01$2 = colors$1.gray20;
|
|
2270
2362
|
var buttonSeparator$3 = '#e0e0e0';
|
|
2271
2363
|
var skeleton01$2 = '#e5e5e5';
|
|
2272
|
-
var skeleton02$2 = colors$1.gray30;
|
|
2273
|
-
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
2364
|
+
var skeleton02$2 = colors$1.gray30;
|
|
2274
2365
|
|
|
2366
|
+
// New color tokens
|
|
2367
|
+
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
2275
2368
|
var background$3 = uiBackground$2;
|
|
2276
2369
|
var layer$3 = ui01$2;
|
|
2277
2370
|
var layerAccent$2 = ui03$2;
|
|
@@ -2348,6 +2441,7 @@ var layerSelectedDisabled$2 = disabled03$2;
|
|
|
2348
2441
|
var skeletonBackground$2 = skeleton01$2;
|
|
2349
2442
|
var skeletonElement$2 = skeleton02$2;
|
|
2350
2443
|
|
|
2444
|
+
// Deprecated ☠️
|
|
2351
2445
|
var brand01$2 = interactive01$2;
|
|
2352
2446
|
var brand02$2 = interactive02$2;
|
|
2353
2447
|
var brand03$2 = interactive03$2;
|
|
@@ -2591,7 +2685,14 @@ var g10 = /*#__PURE__*/Object.freeze({
|
|
|
2591
2685
|
sizeXLarge: layout$2.sizeXLarge,
|
|
2592
2686
|
size2XLarge: layout$2.size2XLarge,
|
|
2593
2687
|
iconSize01: layout$2.iconSize01,
|
|
2594
|
-
iconSize02: layout$2.iconSize02
|
|
2688
|
+
iconSize02: layout$2.iconSize02,
|
|
2689
|
+
layout01: layout$2.layout01,
|
|
2690
|
+
layout02: layout$2.layout02,
|
|
2691
|
+
layout03: layout$2.layout03,
|
|
2692
|
+
layout04: layout$2.layout04,
|
|
2693
|
+
layout05: layout$2.layout05,
|
|
2694
|
+
layout06: layout$2.layout06,
|
|
2695
|
+
layout07: layout$2.layout07
|
|
2595
2696
|
});
|
|
2596
2697
|
|
|
2597
2698
|
/**
|
|
@@ -2636,8 +2737,9 @@ var inverseSupport03$1 = colors$1.yellow30;
|
|
|
2636
2737
|
var inverseSupport04$1 = colors$1.blue60;
|
|
2637
2738
|
var overlay01$1 = colors$1.rgba(colors$1.black, 0.65);
|
|
2638
2739
|
var danger01$1 = colors$1.red60;
|
|
2639
|
-
var danger02$1 = colors$1.red40;
|
|
2740
|
+
var danger02$1 = colors$1.red40;
|
|
2640
2741
|
|
|
2742
|
+
// Interaction states
|
|
2641
2743
|
var focus$2 = colors$1.white;
|
|
2642
2744
|
var inverseFocusUi$1 = colors$1.blue60;
|
|
2643
2745
|
var hoverPrimary$1 = '#0353e9';
|
|
@@ -2666,9 +2768,10 @@ var highlight$1 = colors$1.blue70;
|
|
|
2666
2768
|
var decorative01$1 = colors$1.gray60;
|
|
2667
2769
|
var buttonSeparator$2 = '#161616';
|
|
2668
2770
|
var skeleton01$1 = '#353535';
|
|
2669
|
-
var skeleton02$1 = colors$1.gray70;
|
|
2670
|
-
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
2771
|
+
var skeleton02$1 = colors$1.gray70;
|
|
2671
2772
|
|
|
2773
|
+
// New color tokens
|
|
2774
|
+
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
2672
2775
|
var background$2 = uiBackground$1;
|
|
2673
2776
|
var layer$2 = ui01$1;
|
|
2674
2777
|
var layerAccent$1 = ui03$1;
|
|
@@ -2745,6 +2848,7 @@ var layerSelectedDisabled$1 = disabled03$1;
|
|
|
2745
2848
|
var skeletonBackground$1 = skeleton01$1;
|
|
2746
2849
|
var skeletonElement$1 = skeleton02$1;
|
|
2747
2850
|
|
|
2851
|
+
// Deprecated ☠️
|
|
2748
2852
|
var brand01$1 = interactive01$1;
|
|
2749
2853
|
var brand02$1 = interactive02$1;
|
|
2750
2854
|
var brand03$1 = interactive03$1;
|
|
@@ -2988,7 +3092,14 @@ var g90 = /*#__PURE__*/Object.freeze({
|
|
|
2988
3092
|
sizeXLarge: layout$2.sizeXLarge,
|
|
2989
3093
|
size2XLarge: layout$2.size2XLarge,
|
|
2990
3094
|
iconSize01: layout$2.iconSize01,
|
|
2991
|
-
iconSize02: layout$2.iconSize02
|
|
3095
|
+
iconSize02: layout$2.iconSize02,
|
|
3096
|
+
layout01: layout$2.layout01,
|
|
3097
|
+
layout02: layout$2.layout02,
|
|
3098
|
+
layout03: layout$2.layout03,
|
|
3099
|
+
layout04: layout$2.layout04,
|
|
3100
|
+
layout05: layout$2.layout05,
|
|
3101
|
+
layout06: layout$2.layout06,
|
|
3102
|
+
layout07: layout$2.layout07
|
|
2992
3103
|
});
|
|
2993
3104
|
|
|
2994
3105
|
/**
|
|
@@ -3033,8 +3144,9 @@ var inverseSupport03 = colors$1.yellow30;
|
|
|
3033
3144
|
var inverseSupport04 = colors$1.blue60;
|
|
3034
3145
|
var overlay01 = colors$1.rgba(colors$1.black, 0.65);
|
|
3035
3146
|
var danger01 = colors$1.red60;
|
|
3036
|
-
var danger02 = colors$1.red50;
|
|
3147
|
+
var danger02 = colors$1.red50;
|
|
3037
3148
|
|
|
3149
|
+
// Interaction states
|
|
3038
3150
|
var focus$1 = colors$1.white;
|
|
3039
3151
|
var inverseFocusUi = colors$1.blue60;
|
|
3040
3152
|
var hoverPrimary = '#0353e9';
|
|
@@ -3063,9 +3175,10 @@ var highlight = colors$1.blue80;
|
|
|
3063
3175
|
var decorative01 = colors$1.gray70;
|
|
3064
3176
|
var buttonSeparator$1 = '#161616';
|
|
3065
3177
|
var skeleton01 = '#353535';
|
|
3066
|
-
var skeleton02 = colors$1.gray70;
|
|
3067
|
-
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
3178
|
+
var skeleton02 = colors$1.gray70;
|
|
3068
3179
|
|
|
3180
|
+
// New color tokens
|
|
3181
|
+
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
3069
3182
|
var background$1 = uiBackground;
|
|
3070
3183
|
var layer$1 = ui01;
|
|
3071
3184
|
var layerAccent = ui03;
|
|
@@ -3142,6 +3255,7 @@ var layerSelectedDisabled = disabled03;
|
|
|
3142
3255
|
var skeletonBackground = skeleton01;
|
|
3143
3256
|
var skeletonElement = skeleton02;
|
|
3144
3257
|
|
|
3258
|
+
// Deprecated ☠️
|
|
3145
3259
|
var brand01 = interactive01;
|
|
3146
3260
|
var brand02 = interactive02;
|
|
3147
3261
|
var brand03 = interactive03;
|
|
@@ -3385,7 +3499,14 @@ var g100 = /*#__PURE__*/Object.freeze({
|
|
|
3385
3499
|
sizeXLarge: layout$2.sizeXLarge,
|
|
3386
3500
|
size2XLarge: layout$2.size2XLarge,
|
|
3387
3501
|
iconSize01: layout$2.iconSize01,
|
|
3388
|
-
iconSize02: layout$2.iconSize02
|
|
3502
|
+
iconSize02: layout$2.iconSize02,
|
|
3503
|
+
layout01: layout$2.layout01,
|
|
3504
|
+
layout02: layout$2.layout02,
|
|
3505
|
+
layout03: layout$2.layout03,
|
|
3506
|
+
layout04: layout$2.layout04,
|
|
3507
|
+
layout05: layout$2.layout05,
|
|
3508
|
+
layout06: layout$2.layout06,
|
|
3509
|
+
layout07: layout$2.layout07
|
|
3389
3510
|
});
|
|
3390
3511
|
|
|
3391
3512
|
/**
|
|
@@ -3394,13 +3515,18 @@ var g100 = /*#__PURE__*/Object.freeze({
|
|
|
3394
3515
|
* This source code is licensed under the Apache-2.0 license found in the
|
|
3395
3516
|
* LICENSE file in the root directory of this source tree.
|
|
3396
3517
|
*/
|
|
3397
|
-
// exported as in JavaScript
|
|
3398
3518
|
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3519
|
+
// The color token names for a Carbon theme, value corresponds to what they're
|
|
3520
|
+
// exported as in JavaScript
|
|
3521
|
+
var colors = [
|
|
3522
|
+
// Core
|
|
3523
|
+
'interactive01', 'interactive02', 'interactive03', 'interactive04', 'uiBackground', 'ui01', 'ui02', 'ui03', 'ui04', 'ui05', 'text01', 'text02', 'text03', 'text04', 'text05', 'textError', 'icon01', 'icon02', 'icon03', 'link01', 'link02', 'inverseLink', 'field01', 'field02', 'inverse01', 'inverse02', 'support01', 'support02', 'support03', 'support04', 'inverseSupport01', 'inverseSupport02', 'inverseSupport03', 'inverseSupport04', 'overlay01', 'danger01', 'danger02',
|
|
3524
|
+
// Interactive states
|
|
3525
|
+
'focus', 'inverseFocusUi', 'hoverPrimary', 'activePrimary', 'hoverPrimaryText', 'hoverSecondary', 'activeSecondary', 'hoverTertiary', 'activeTertiary', 'hoverUI', 'hoverLightUI', 'hoverSelectedUI', 'activeUI', 'activeLightUI', 'selectedUI', 'selectedLightUI', 'inverseHoverUI', 'hoverDanger', 'activeDanger', 'hoverRow', 'visitedLink', 'disabled01', 'disabled02', 'disabled03', 'highlight', 'decorative01', 'buttonSeparator', 'skeleton01', 'skeleton02',
|
|
3526
|
+
// New color tokens
|
|
3402
3527
|
// TO-DO: remove fallback color when v11 is released and assign carbon colors to new tokens
|
|
3403
|
-
'background', 'layer', 'layerAccent', 'layerAccentHover', 'layerAccentActive', 'field', 'backgroundInverse', 'backgroundBrand', 'interactive', 'borderSubtle', 'borderStrong', 'borderInverse', 'borderInteractive', 'textPrimary', 'textSecondary', 'textPlaceholder', 'textHelper', 'textOnColor', 'textInverse', 'linkPrimary', 'linkSecondary', 'linkVisited', 'linkInverse', 'iconPrimary', 'iconSecondary', 'iconOnColor', 'iconInverse', 'supportError', 'supportSuccess', 'supportWarning', 'supportInfo', 'supportErrorInverse', 'supportSuccessInverse', 'supportWarningInverse', 'supportInfoInverse', 'overlay', 'toggleOff', 'shadow', 'buttonPrimary', 'buttonSecondary', 'buttonTertiary', 'buttonDangerPrimary', 'buttonDangerSecondary', 'backgroundActive', 'layerActive', 'buttonDangerActive', 'buttonPrimaryActive', 'buttonSecondaryActive', 'buttonTertiaryActive', 'focusInset', 'focusInverse', 'backgroundHover', 'layerHover', 'fieldHover', 'backgroundInverseHover', 'linkPrimaryHover', 'buttonDangerHover', 'buttonPrimaryHover', 'buttonSecondaryHover', 'buttonTertiaryHover', 'backgroundSelected', 'backgroundSelectedHover', 'layerSelected', 'layerSelectedHover', 'layerSelectedInverse', 'borderSubtleSelected', 'borderDisabled', 'textDisabled', 'buttonDisabled', 'iconDisabled', 'textOnColorDisabled', 'iconOnColorDisabled', 'layerSelectedDisabled', 'skeletonBackground', 'skeletonElement',
|
|
3528
|
+
'background', 'layer', 'layerAccent', 'layerAccentHover', 'layerAccentActive', 'field', 'backgroundInverse', 'backgroundBrand', 'interactive', 'borderSubtle', 'borderStrong', 'borderInverse', 'borderInteractive', 'textPrimary', 'textSecondary', 'textPlaceholder', 'textHelper', 'textOnColor', 'textInverse', 'linkPrimary', 'linkSecondary', 'linkVisited', 'linkInverse', 'iconPrimary', 'iconSecondary', 'iconOnColor', 'iconInverse', 'supportError', 'supportSuccess', 'supportWarning', 'supportInfo', 'supportErrorInverse', 'supportSuccessInverse', 'supportWarningInverse', 'supportInfoInverse', 'overlay', 'toggleOff', 'shadow', 'buttonPrimary', 'buttonSecondary', 'buttonTertiary', 'buttonDangerPrimary', 'buttonDangerSecondary', 'backgroundActive', 'layerActive', 'buttonDangerActive', 'buttonPrimaryActive', 'buttonSecondaryActive', 'buttonTertiaryActive', 'focusInset', 'focusInverse', 'backgroundHover', 'layerHover', 'fieldHover', 'backgroundInverseHover', 'linkPrimaryHover', 'buttonDangerHover', 'buttonPrimaryHover', 'buttonSecondaryHover', 'buttonTertiaryHover', 'backgroundSelected', 'backgroundSelectedHover', 'layerSelected', 'layerSelectedHover', 'layerSelectedInverse', 'borderSubtleSelected', 'borderDisabled', 'textDisabled', 'buttonDisabled', 'iconDisabled', 'textOnColorDisabled', 'iconOnColorDisabled', 'layerSelectedDisabled', 'skeletonBackground', 'skeletonElement',
|
|
3529
|
+
// Deprecated
|
|
3404
3530
|
'brand01', 'brand02', 'brand03', 'active01', 'hoverField', 'danger'];
|
|
3405
3531
|
var tokens$3 = {
|
|
3406
3532
|
colors: colors,
|
|
@@ -3517,6 +3643,13 @@ var index$3 = /*#__PURE__*/Object.freeze({
|
|
|
3517
3643
|
size2XLarge: layout$2.size2XLarge,
|
|
3518
3644
|
iconSize01: layout$2.iconSize01,
|
|
3519
3645
|
iconSize02: layout$2.iconSize02,
|
|
3646
|
+
layout01: layout$2.layout01,
|
|
3647
|
+
layout02: layout$2.layout02,
|
|
3648
|
+
layout03: layout$2.layout03,
|
|
3649
|
+
layout04: layout$2.layout04,
|
|
3650
|
+
layout05: layout$2.layout05,
|
|
3651
|
+
layout06: layout$2.layout06,
|
|
3652
|
+
layout07: layout$2.layout07,
|
|
3520
3653
|
interactive01: interactive01$3,
|
|
3521
3654
|
interactive02: interactive02$3,
|
|
3522
3655
|
interactive03: interactive03$3,
|
|
@@ -4100,30 +4233,24 @@ var index = /*#__PURE__*/Object.freeze({
|
|
|
4100
4233
|
var Token = /*#__PURE__*/function () {
|
|
4101
4234
|
function Token(name, properties, state) {
|
|
4102
4235
|
_classCallCheck(this, Token);
|
|
4103
|
-
|
|
4104
4236
|
this.kind = 'Token';
|
|
4105
4237
|
this.name = name;
|
|
4106
|
-
|
|
4107
4238
|
if (properties) {
|
|
4108
4239
|
this.properties = properties;
|
|
4109
4240
|
}
|
|
4110
|
-
|
|
4111
4241
|
if (state) {
|
|
4112
4242
|
this.state = state;
|
|
4113
4243
|
}
|
|
4114
4244
|
}
|
|
4115
|
-
|
|
4116
4245
|
_createClass(Token, null, [{
|
|
4117
4246
|
key: "create",
|
|
4118
4247
|
value: function create(token) {
|
|
4119
4248
|
if (typeof token === 'string') {
|
|
4120
4249
|
return new Token(token);
|
|
4121
4250
|
}
|
|
4122
|
-
|
|
4123
4251
|
return new Token(token.name, token.properties, token.state);
|
|
4124
4252
|
}
|
|
4125
4253
|
}]);
|
|
4126
|
-
|
|
4127
4254
|
return Token;
|
|
4128
4255
|
}();
|
|
4129
4256
|
|
|
@@ -4138,84 +4265,63 @@ var Token = /*#__PURE__*/function () {
|
|
|
4138
4265
|
* ways to get information about the entire group, including properties and
|
|
4139
4266
|
* states
|
|
4140
4267
|
*/
|
|
4141
|
-
|
|
4142
4268
|
var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
4143
4269
|
function TokenGroup(name, tokens, properties) {
|
|
4144
4270
|
_classCallCheck(this, TokenGroup);
|
|
4145
|
-
|
|
4146
4271
|
this.kind = 'TokenGroup';
|
|
4147
4272
|
this.name = name;
|
|
4148
|
-
|
|
4149
4273
|
if (properties) {
|
|
4150
4274
|
this.properties = properties;
|
|
4151
4275
|
}
|
|
4152
|
-
|
|
4153
4276
|
this.children = tokens.map(function (child) {
|
|
4154
4277
|
if (child.kind === 'TokenGroup') {
|
|
4155
4278
|
return child;
|
|
4156
4279
|
}
|
|
4157
|
-
|
|
4158
4280
|
return Token.create(child);
|
|
4159
4281
|
});
|
|
4160
4282
|
}
|
|
4161
|
-
|
|
4162
4283
|
_createClass(TokenGroup, [{
|
|
4163
4284
|
key: _Symbol$iterator,
|
|
4164
4285
|
value: /*#__PURE__*/_regeneratorRuntime().mark(function value() {
|
|
4165
4286
|
var _iterator, _step, child;
|
|
4166
|
-
|
|
4167
4287
|
return _regeneratorRuntime().wrap(function value$(_context) {
|
|
4168
4288
|
while (1) {
|
|
4169
4289
|
switch (_context.prev = _context.next) {
|
|
4170
4290
|
case 0:
|
|
4171
4291
|
_context.next = 2;
|
|
4172
4292
|
return this;
|
|
4173
|
-
|
|
4174
4293
|
case 2:
|
|
4175
4294
|
_iterator = _createForOfIteratorHelper(this.children);
|
|
4176
4295
|
_context.prev = 3;
|
|
4177
|
-
|
|
4178
4296
|
_iterator.s();
|
|
4179
|
-
|
|
4180
4297
|
case 5:
|
|
4181
4298
|
if ((_step = _iterator.n()).done) {
|
|
4182
4299
|
_context.next = 13;
|
|
4183
4300
|
break;
|
|
4184
4301
|
}
|
|
4185
|
-
|
|
4186
4302
|
child = _step.value;
|
|
4187
4303
|
_context.next = 9;
|
|
4188
4304
|
return child;
|
|
4189
|
-
|
|
4190
4305
|
case 9:
|
|
4191
4306
|
if (!(child.kind === 'TokenGroup')) {
|
|
4192
4307
|
_context.next = 11;
|
|
4193
4308
|
break;
|
|
4194
4309
|
}
|
|
4195
|
-
|
|
4196
4310
|
return _context.delegateYield(child, "t0", 11);
|
|
4197
|
-
|
|
4198
4311
|
case 11:
|
|
4199
4312
|
_context.next = 5;
|
|
4200
4313
|
break;
|
|
4201
|
-
|
|
4202
4314
|
case 13:
|
|
4203
4315
|
_context.next = 18;
|
|
4204
4316
|
break;
|
|
4205
|
-
|
|
4206
4317
|
case 15:
|
|
4207
4318
|
_context.prev = 15;
|
|
4208
4319
|
_context.t1 = _context["catch"](3);
|
|
4209
|
-
|
|
4210
4320
|
_iterator.e(_context.t1);
|
|
4211
|
-
|
|
4212
4321
|
case 18:
|
|
4213
4322
|
_context.prev = 18;
|
|
4214
|
-
|
|
4215
4323
|
_iterator.f();
|
|
4216
|
-
|
|
4217
4324
|
return _context.finish(18);
|
|
4218
|
-
|
|
4219
4325
|
case 21:
|
|
4220
4326
|
case "end":
|
|
4221
4327
|
return _context.stop();
|
|
@@ -4228,56 +4334,46 @@ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
4228
4334
|
* including itself.
|
|
4229
4335
|
* @returns {Array<Token>}
|
|
4230
4336
|
*/
|
|
4231
|
-
|
|
4232
4337
|
}, {
|
|
4233
4338
|
key: "getTokens",
|
|
4234
4339
|
value: function getTokens() {
|
|
4235
4340
|
var parentContext = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
|
|
4236
|
-
|
|
4237
4341
|
var context = _objectSpread2(_objectSpread2({}, parentContext), {}, {
|
|
4238
4342
|
groups: parentContext.groups ? parentContext.groups.concat(this) : [this],
|
|
4239
4343
|
properties: this.properties || parentContext.properties
|
|
4240
4344
|
});
|
|
4241
|
-
|
|
4242
4345
|
return this.children.flatMap(function (child) {
|
|
4243
4346
|
if (child.kind === 'TokenGroup') {
|
|
4244
4347
|
return child.getTokens(context);
|
|
4245
4348
|
}
|
|
4246
|
-
|
|
4247
4349
|
var token = _objectSpread2(_objectSpread2({}, context), {}, {
|
|
4248
4350
|
name: child.name,
|
|
4249
4351
|
properties: child.properties || context.properties
|
|
4250
4352
|
});
|
|
4251
|
-
|
|
4252
4353
|
if (child.state) {
|
|
4253
4354
|
token.state = child.state;
|
|
4254
4355
|
}
|
|
4255
|
-
|
|
4256
4356
|
return token;
|
|
4257
4357
|
});
|
|
4258
4358
|
}
|
|
4359
|
+
|
|
4259
4360
|
/**
|
|
4260
4361
|
* Get a specific token from the TokenGroup, or form one of its nested
|
|
4261
4362
|
* TokenGroups
|
|
4262
4363
|
* @returns {Token}
|
|
4263
4364
|
*/
|
|
4264
|
-
|
|
4265
4365
|
}, {
|
|
4266
4366
|
key: "getToken",
|
|
4267
4367
|
value: function getToken(tokenOrName) {
|
|
4268
4368
|
var name = typeof tokenOrName === 'string' ? tokenOrName : tokenOrName.name;
|
|
4269
|
-
|
|
4270
4369
|
var _iterator2 = _createForOfIteratorHelper(this),
|
|
4271
|
-
|
|
4272
|
-
|
|
4370
|
+
_step2;
|
|
4273
4371
|
try {
|
|
4274
4372
|
for (_iterator2.s(); !(_step2 = _iterator2.n()).done;) {
|
|
4275
4373
|
var child = _step2.value;
|
|
4276
|
-
|
|
4277
4374
|
if (child.kind === 'TokenGroup') {
|
|
4278
4375
|
continue;
|
|
4279
4376
|
}
|
|
4280
|
-
|
|
4281
4377
|
if (child.name === name) {
|
|
4282
4378
|
return child;
|
|
4283
4379
|
}
|
|
@@ -4287,30 +4383,25 @@ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
4287
4383
|
} finally {
|
|
4288
4384
|
_iterator2.f();
|
|
4289
4385
|
}
|
|
4290
|
-
|
|
4291
4386
|
return null;
|
|
4292
4387
|
}
|
|
4388
|
+
|
|
4293
4389
|
/**
|
|
4294
4390
|
* Get all the unique groups in the token group, including this group
|
|
4295
4391
|
* @returns {Array<TokenGroup>}
|
|
4296
4392
|
*/
|
|
4297
|
-
|
|
4298
4393
|
}, {
|
|
4299
4394
|
key: "getTokenGroups",
|
|
4300
4395
|
value: function getTokenGroups() {
|
|
4301
4396
|
var set = new Set();
|
|
4302
|
-
|
|
4303
4397
|
var _iterator3 = _createForOfIteratorHelper(this),
|
|
4304
|
-
|
|
4305
|
-
|
|
4398
|
+
_step3;
|
|
4306
4399
|
try {
|
|
4307
4400
|
for (_iterator3.s(); !(_step3 = _iterator3.n()).done;) {
|
|
4308
4401
|
var child = _step3.value;
|
|
4309
|
-
|
|
4310
4402
|
if (child.kind !== 'TokenGroup') {
|
|
4311
4403
|
continue;
|
|
4312
4404
|
}
|
|
4313
|
-
|
|
4314
4405
|
set.add(child);
|
|
4315
4406
|
}
|
|
4316
4407
|
} catch (err) {
|
|
@@ -4318,33 +4409,27 @@ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
4318
4409
|
} finally {
|
|
4319
4410
|
_iterator3.f();
|
|
4320
4411
|
}
|
|
4321
|
-
|
|
4322
4412
|
return Array.from(set);
|
|
4323
4413
|
}
|
|
4414
|
+
|
|
4324
4415
|
/**
|
|
4325
4416
|
* Get all the unique properties in the token group, including this group
|
|
4326
4417
|
* @returns {Array<string>}
|
|
4327
4418
|
*/
|
|
4328
|
-
|
|
4329
4419
|
}, {
|
|
4330
4420
|
key: "getTokenProperties",
|
|
4331
4421
|
value: function getTokenProperties() {
|
|
4332
4422
|
var set = new Set();
|
|
4333
|
-
|
|
4334
4423
|
var _iterator4 = _createForOfIteratorHelper(this),
|
|
4335
|
-
|
|
4336
|
-
|
|
4424
|
+
_step4;
|
|
4337
4425
|
try {
|
|
4338
4426
|
for (_iterator4.s(); !(_step4 = _iterator4.n()).done;) {
|
|
4339
4427
|
var child = _step4.value;
|
|
4340
|
-
|
|
4341
4428
|
if (!Array.isArray(child.properties)) {
|
|
4342
4429
|
continue;
|
|
4343
4430
|
}
|
|
4344
|
-
|
|
4345
4431
|
var _iterator5 = _createForOfIteratorHelper(child.properties),
|
|
4346
|
-
|
|
4347
|
-
|
|
4432
|
+
_step5;
|
|
4348
4433
|
try {
|
|
4349
4434
|
for (_iterator5.s(); !(_step5 = _iterator5.n()).done;) {
|
|
4350
4435
|
var property = _step5.value;
|
|
@@ -4361,30 +4446,25 @@ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
4361
4446
|
} finally {
|
|
4362
4447
|
_iterator4.f();
|
|
4363
4448
|
}
|
|
4364
|
-
|
|
4365
4449
|
return Array.from(set);
|
|
4366
4450
|
}
|
|
4451
|
+
|
|
4367
4452
|
/**
|
|
4368
4453
|
* Get all the unique states in the token group, including this group
|
|
4369
4454
|
* @returns {Array<string>}
|
|
4370
4455
|
*/
|
|
4371
|
-
|
|
4372
4456
|
}, {
|
|
4373
4457
|
key: "getTokenStates",
|
|
4374
4458
|
value: function getTokenStates() {
|
|
4375
4459
|
var set = new Set();
|
|
4376
|
-
|
|
4377
4460
|
var _iterator6 = _createForOfIteratorHelper(this),
|
|
4378
|
-
|
|
4379
|
-
|
|
4461
|
+
_step6;
|
|
4380
4462
|
try {
|
|
4381
4463
|
for (_iterator6.s(); !(_step6 = _iterator6.n()).done;) {
|
|
4382
4464
|
var child = _step6.value;
|
|
4383
|
-
|
|
4384
4465
|
if (child.kind !== 'Token') {
|
|
4385
4466
|
continue;
|
|
4386
4467
|
}
|
|
4387
|
-
|
|
4388
4468
|
if (child.state) {
|
|
4389
4469
|
set.add(child.state);
|
|
4390
4470
|
}
|
|
@@ -4394,20 +4474,18 @@ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
4394
4474
|
} finally {
|
|
4395
4475
|
_iterator6.f();
|
|
4396
4476
|
}
|
|
4397
|
-
|
|
4398
4477
|
return Array.from(set);
|
|
4399
4478
|
}
|
|
4400
4479
|
}], [{
|
|
4401
4480
|
key: "create",
|
|
4402
4481
|
value: function create(_ref) {
|
|
4403
4482
|
var name = _ref.name,
|
|
4404
|
-
|
|
4405
|
-
|
|
4406
|
-
|
|
4483
|
+
properties = _ref.properties,
|
|
4484
|
+
_ref$tokens = _ref.tokens,
|
|
4485
|
+
tokens = _ref$tokens === void 0 ? [] : _ref$tokens;
|
|
4407
4486
|
return new TokenGroup(name, tokens, properties);
|
|
4408
4487
|
}
|
|
4409
4488
|
}]);
|
|
4410
|
-
|
|
4411
4489
|
return TokenGroup;
|
|
4412
4490
|
}(Symbol.iterator);
|
|
4413
4491
|
|
|
@@ -4553,10 +4631,14 @@ var border = TokenGroup.create({
|
|
|
4553
4631
|
}, {
|
|
4554
4632
|
state: 'selected',
|
|
4555
4633
|
name: 'border-subtle-selected-03'
|
|
4556
|
-
},
|
|
4557
|
-
|
|
4558
|
-
'border-
|
|
4559
|
-
|
|
4634
|
+
},
|
|
4635
|
+
// Border strong
|
|
4636
|
+
'border-strong-01', 'border-strong-02', 'border-strong-03',
|
|
4637
|
+
// Border tile
|
|
4638
|
+
'border-tile-01', 'border-tile-02', 'border-tile-03',
|
|
4639
|
+
// Border inverse
|
|
4640
|
+
'border-inverse',
|
|
4641
|
+
// Border interactive
|
|
4560
4642
|
'border-interactive', {
|
|
4561
4643
|
state: 'disabled',
|
|
4562
4644
|
name: 'border-disabled'
|
|
@@ -4623,11 +4705,13 @@ var contextual = TokenGroup.create({
|
|
|
4623
4705
|
});
|
|
4624
4706
|
var group = TokenGroup.create({
|
|
4625
4707
|
name: 'All',
|
|
4626
|
-
tokens: [background, layer, field,
|
|
4708
|
+
tokens: [background, layer, field,
|
|
4709
|
+
// Interactive
|
|
4627
4710
|
{
|
|
4628
4711
|
name: 'interactive',
|
|
4629
4712
|
properties: ['background', 'text']
|
|
4630
|
-
}, border, text, link, icon, support,
|
|
4713
|
+
}, border, text, link, icon, support,
|
|
4714
|
+
// Misc
|
|
4631
4715
|
{
|
|
4632
4716
|
name: 'highlight'
|
|
4633
4717
|
}, {
|
|
@@ -4696,7 +4780,8 @@ var layout$1 = TokenGroup.create({
|
|
|
4696
4780
|
var color = TokenGroup.create({
|
|
4697
4781
|
name: 'Color',
|
|
4698
4782
|
properties: [],
|
|
4699
|
-
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',
|
|
4783
|
+
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',
|
|
4784
|
+
// deprecated
|
|
4700
4785
|
'brand-01', 'brand-02', 'brand-03', 'active-01', 'hover-field', 'danger']
|
|
4701
4786
|
});
|
|
4702
4787
|
var type = TokenGroup.create({
|
|
@@ -4952,6 +5037,34 @@ Object.defineProperty(exports, 'iconSize02', {
|
|
|
4952
5037
|
enumerable: true,
|
|
4953
5038
|
get: function () { return layout$2.iconSize02; }
|
|
4954
5039
|
});
|
|
5040
|
+
Object.defineProperty(exports, 'layout01', {
|
|
5041
|
+
enumerable: true,
|
|
5042
|
+
get: function () { return layout$2.layout01; }
|
|
5043
|
+
});
|
|
5044
|
+
Object.defineProperty(exports, 'layout02', {
|
|
5045
|
+
enumerable: true,
|
|
5046
|
+
get: function () { return layout$2.layout02; }
|
|
5047
|
+
});
|
|
5048
|
+
Object.defineProperty(exports, 'layout03', {
|
|
5049
|
+
enumerable: true,
|
|
5050
|
+
get: function () { return layout$2.layout03; }
|
|
5051
|
+
});
|
|
5052
|
+
Object.defineProperty(exports, 'layout04', {
|
|
5053
|
+
enumerable: true,
|
|
5054
|
+
get: function () { return layout$2.layout04; }
|
|
5055
|
+
});
|
|
5056
|
+
Object.defineProperty(exports, 'layout05', {
|
|
5057
|
+
enumerable: true,
|
|
5058
|
+
get: function () { return layout$2.layout05; }
|
|
5059
|
+
});
|
|
5060
|
+
Object.defineProperty(exports, 'layout06', {
|
|
5061
|
+
enumerable: true,
|
|
5062
|
+
get: function () { return layout$2.layout06; }
|
|
5063
|
+
});
|
|
5064
|
+
Object.defineProperty(exports, 'layout07', {
|
|
5065
|
+
enumerable: true,
|
|
5066
|
+
get: function () { return layout$2.layout07; }
|
|
5067
|
+
});
|
|
4955
5068
|
Object.defineProperty(exports, 'size2XLarge', {
|
|
4956
5069
|
enumerable: true,
|
|
4957
5070
|
get: function () { return layout$2.size2XLarge; }
|