@carbon/themes 11.35.0 → 11.37.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 +335 -345
- package/lib/index.js +334 -343
- package/package.json +6 -6
- package/scss/generated/_themes.scss +4 -0
- package/scss/generated/_tokens.scss +3 -0
- package/src/g10.js +2 -0
- package/src/g100.js +2 -0
- package/src/g90.js +2 -0
- package/src/tokens/v11TokenGroup.js +2 -1
- package/src/white.js +2 -0
- package/umd/index.js +334 -343
package/lib/index.js
CHANGED
|
@@ -11,453 +11,435 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
|
|
12
12
|
var Color__default = /*#__PURE__*/_interopDefaultLegacy(Color);
|
|
13
13
|
|
|
14
|
-
function
|
|
15
|
-
|
|
14
|
+
function _arrayLikeToArray(r, a) {
|
|
15
|
+
(null == a || a > r.length) && (a = r.length);
|
|
16
|
+
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
17
|
+
return n;
|
|
18
|
+
}
|
|
19
|
+
function _arrayWithoutHoles(r) {
|
|
20
|
+
if (Array.isArray(r)) return _arrayLikeToArray(r);
|
|
21
|
+
}
|
|
22
|
+
function _classCallCheck(a, n) {
|
|
23
|
+
if (!(a instanceof n)) throw new TypeError("Cannot call a class as a function");
|
|
24
|
+
}
|
|
25
|
+
function _defineProperties(e, r) {
|
|
26
|
+
for (var t = 0; t < r.length; t++) {
|
|
27
|
+
var o = r[t];
|
|
28
|
+
o.enumerable = o.enumerable || !1, o.configurable = !0, "value" in o && (o.writable = !0), Object.defineProperty(e, _toPropertyKey(o.key), o);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
function _createClass(e, r, t) {
|
|
32
|
+
return r && _defineProperties(e.prototype, r), t && _defineProperties(e, t), Object.defineProperty(e, "prototype", {
|
|
33
|
+
writable: !1
|
|
34
|
+
}), e;
|
|
35
|
+
}
|
|
36
|
+
function _createForOfIteratorHelper(r, e) {
|
|
37
|
+
var t = "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"];
|
|
38
|
+
if (!t) {
|
|
39
|
+
if (Array.isArray(r) || (t = _unsupportedIterableToArray(r)) || e && r && "number" == typeof r.length) {
|
|
40
|
+
t && (r = t);
|
|
41
|
+
var n = 0,
|
|
42
|
+
F = function () {};
|
|
43
|
+
return {
|
|
44
|
+
s: F,
|
|
45
|
+
n: function () {
|
|
46
|
+
return n >= r.length ? {
|
|
47
|
+
done: !0
|
|
48
|
+
} : {
|
|
49
|
+
done: !1,
|
|
50
|
+
value: r[n++]
|
|
51
|
+
};
|
|
52
|
+
},
|
|
53
|
+
e: function (r) {
|
|
54
|
+
throw r;
|
|
55
|
+
},
|
|
56
|
+
f: F
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
60
|
+
}
|
|
61
|
+
var o,
|
|
62
|
+
a = !0,
|
|
63
|
+
u = !1;
|
|
64
|
+
return {
|
|
65
|
+
s: function () {
|
|
66
|
+
t = t.call(r);
|
|
67
|
+
},
|
|
68
|
+
n: function () {
|
|
69
|
+
var r = t.next();
|
|
70
|
+
return a = r.done, r;
|
|
71
|
+
},
|
|
72
|
+
e: function (r) {
|
|
73
|
+
u = !0, o = r;
|
|
74
|
+
},
|
|
75
|
+
f: function () {
|
|
76
|
+
try {
|
|
77
|
+
a || null == t.return || t.return();
|
|
78
|
+
} finally {
|
|
79
|
+
if (u) throw o;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
function _defineProperty(e, r, t) {
|
|
85
|
+
return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, {
|
|
86
|
+
value: t,
|
|
87
|
+
enumerable: !0,
|
|
88
|
+
configurable: !0,
|
|
89
|
+
writable: !0
|
|
90
|
+
}) : e[r] = t, e;
|
|
91
|
+
}
|
|
92
|
+
function _iterableToArray(r) {
|
|
93
|
+
if ("undefined" != typeof Symbol && null != r[Symbol.iterator] || null != r["@@iterator"]) return Array.from(r);
|
|
94
|
+
}
|
|
95
|
+
function _nonIterableSpread() {
|
|
96
|
+
throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.");
|
|
97
|
+
}
|
|
98
|
+
function ownKeys(e, r) {
|
|
99
|
+
var t = Object.keys(e);
|
|
16
100
|
if (Object.getOwnPropertySymbols) {
|
|
17
|
-
var
|
|
18
|
-
|
|
19
|
-
return Object.getOwnPropertyDescriptor(
|
|
20
|
-
})),
|
|
101
|
+
var o = Object.getOwnPropertySymbols(e);
|
|
102
|
+
r && (o = o.filter(function (r) {
|
|
103
|
+
return Object.getOwnPropertyDescriptor(e, r).enumerable;
|
|
104
|
+
})), t.push.apply(t, o);
|
|
21
105
|
}
|
|
22
|
-
return
|
|
106
|
+
return t;
|
|
23
107
|
}
|
|
24
|
-
function _objectSpread2(
|
|
25
|
-
for (var
|
|
26
|
-
var
|
|
27
|
-
|
|
28
|
-
_defineProperty(
|
|
29
|
-
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(
|
|
30
|
-
Object.defineProperty(
|
|
108
|
+
function _objectSpread2(e) {
|
|
109
|
+
for (var r = 1; r < arguments.length; r++) {
|
|
110
|
+
var t = null != arguments[r] ? arguments[r] : {};
|
|
111
|
+
r % 2 ? ownKeys(Object(t), !0).forEach(function (r) {
|
|
112
|
+
_defineProperty(e, r, t[r]);
|
|
113
|
+
}) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) {
|
|
114
|
+
Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r));
|
|
31
115
|
});
|
|
32
116
|
}
|
|
33
|
-
return
|
|
117
|
+
return e;
|
|
34
118
|
}
|
|
35
119
|
function _regeneratorRuntime() {
|
|
36
120
|
_regeneratorRuntime = function () {
|
|
37
|
-
return
|
|
121
|
+
return e;
|
|
38
122
|
};
|
|
39
|
-
var
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
123
|
+
var t,
|
|
124
|
+
e = {},
|
|
125
|
+
r = Object.prototype,
|
|
126
|
+
n = r.hasOwnProperty,
|
|
127
|
+
o = Object.defineProperty || function (t, e, r) {
|
|
128
|
+
t[e] = r.value;
|
|
44
129
|
},
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
function define(
|
|
50
|
-
return Object.defineProperty(
|
|
51
|
-
value:
|
|
130
|
+
i = "function" == typeof Symbol ? Symbol : {},
|
|
131
|
+
a = i.iterator || "@@iterator",
|
|
132
|
+
c = i.asyncIterator || "@@asyncIterator",
|
|
133
|
+
u = i.toStringTag || "@@toStringTag";
|
|
134
|
+
function define(t, e, r) {
|
|
135
|
+
return Object.defineProperty(t, e, {
|
|
136
|
+
value: r,
|
|
52
137
|
enumerable: !0,
|
|
53
138
|
configurable: !0,
|
|
54
139
|
writable: !0
|
|
55
|
-
}),
|
|
140
|
+
}), t[e];
|
|
56
141
|
}
|
|
57
142
|
try {
|
|
58
143
|
define({}, "");
|
|
59
|
-
} catch (
|
|
60
|
-
define = function (
|
|
61
|
-
return
|
|
144
|
+
} catch (t) {
|
|
145
|
+
define = function (t, e, r) {
|
|
146
|
+
return t[e] = r;
|
|
62
147
|
};
|
|
63
148
|
}
|
|
64
|
-
function wrap(
|
|
65
|
-
var
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
return
|
|
69
|
-
value: makeInvokeMethod(
|
|
70
|
-
}),
|
|
149
|
+
function wrap(t, e, r, n) {
|
|
150
|
+
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
151
|
+
a = Object.create(i.prototype),
|
|
152
|
+
c = new Context(n || []);
|
|
153
|
+
return o(a, "_invoke", {
|
|
154
|
+
value: makeInvokeMethod(t, r, c)
|
|
155
|
+
}), a;
|
|
71
156
|
}
|
|
72
|
-
function tryCatch(
|
|
157
|
+
function tryCatch(t, e, r) {
|
|
73
158
|
try {
|
|
74
159
|
return {
|
|
75
160
|
type: "normal",
|
|
76
|
-
arg:
|
|
161
|
+
arg: t.call(e, r)
|
|
77
162
|
};
|
|
78
|
-
} catch (
|
|
163
|
+
} catch (t) {
|
|
79
164
|
return {
|
|
80
165
|
type: "throw",
|
|
81
|
-
arg:
|
|
166
|
+
arg: t
|
|
82
167
|
};
|
|
83
168
|
}
|
|
84
169
|
}
|
|
85
|
-
|
|
86
|
-
var
|
|
170
|
+
e.wrap = wrap;
|
|
171
|
+
var h = "suspendedStart",
|
|
172
|
+
l = "suspendedYield",
|
|
173
|
+
f = "executing",
|
|
174
|
+
s = "completed",
|
|
175
|
+
y = {};
|
|
87
176
|
function Generator() {}
|
|
88
177
|
function GeneratorFunction() {}
|
|
89
178
|
function GeneratorFunctionPrototype() {}
|
|
90
|
-
var
|
|
91
|
-
define(
|
|
179
|
+
var p = {};
|
|
180
|
+
define(p, a, function () {
|
|
92
181
|
return this;
|
|
93
182
|
});
|
|
94
|
-
var
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
var
|
|
98
|
-
function defineIteratorMethods(
|
|
99
|
-
["next", "throw", "return"].forEach(function (
|
|
100
|
-
define(
|
|
101
|
-
return this._invoke(
|
|
183
|
+
var d = Object.getPrototypeOf,
|
|
184
|
+
v = d && d(d(values([])));
|
|
185
|
+
v && v !== r && n.call(v, a) && (p = v);
|
|
186
|
+
var g = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(p);
|
|
187
|
+
function defineIteratorMethods(t) {
|
|
188
|
+
["next", "throw", "return"].forEach(function (e) {
|
|
189
|
+
define(t, e, function (t) {
|
|
190
|
+
return this._invoke(e, t);
|
|
102
191
|
});
|
|
103
192
|
});
|
|
104
193
|
}
|
|
105
|
-
function AsyncIterator(
|
|
106
|
-
function invoke(
|
|
107
|
-
var
|
|
108
|
-
if ("throw" !==
|
|
109
|
-
var
|
|
110
|
-
|
|
111
|
-
return
|
|
112
|
-
invoke("next",
|
|
113
|
-
}, function (
|
|
114
|
-
invoke("throw",
|
|
115
|
-
}) :
|
|
116
|
-
|
|
117
|
-
}, function (
|
|
118
|
-
return invoke("throw",
|
|
194
|
+
function AsyncIterator(t, e) {
|
|
195
|
+
function invoke(r, o, i, a) {
|
|
196
|
+
var c = tryCatch(t[r], t, o);
|
|
197
|
+
if ("throw" !== c.type) {
|
|
198
|
+
var u = c.arg,
|
|
199
|
+
h = u.value;
|
|
200
|
+
return h && "object" == typeof h && n.call(h, "__await") ? e.resolve(h.__await).then(function (t) {
|
|
201
|
+
invoke("next", t, i, a);
|
|
202
|
+
}, function (t) {
|
|
203
|
+
invoke("throw", t, i, a);
|
|
204
|
+
}) : e.resolve(h).then(function (t) {
|
|
205
|
+
u.value = t, i(u);
|
|
206
|
+
}, function (t) {
|
|
207
|
+
return invoke("throw", t, i, a);
|
|
119
208
|
});
|
|
120
209
|
}
|
|
121
|
-
|
|
210
|
+
a(c.arg);
|
|
122
211
|
}
|
|
123
|
-
var
|
|
124
|
-
|
|
125
|
-
value: function (
|
|
212
|
+
var r;
|
|
213
|
+
o(this, "_invoke", {
|
|
214
|
+
value: function (t, n) {
|
|
126
215
|
function callInvokeWithMethodAndArg() {
|
|
127
|
-
return new
|
|
128
|
-
invoke(
|
|
216
|
+
return new e(function (e, r) {
|
|
217
|
+
invoke(t, n, e, r);
|
|
129
218
|
});
|
|
130
219
|
}
|
|
131
|
-
return
|
|
220
|
+
return r = r ? r.then(callInvokeWithMethodAndArg, callInvokeWithMethodAndArg) : callInvokeWithMethodAndArg();
|
|
132
221
|
}
|
|
133
222
|
});
|
|
134
223
|
}
|
|
135
|
-
function makeInvokeMethod(
|
|
136
|
-
var
|
|
137
|
-
return function (
|
|
138
|
-
if (
|
|
139
|
-
if (
|
|
140
|
-
if ("throw" ===
|
|
141
|
-
return
|
|
224
|
+
function makeInvokeMethod(e, r, n) {
|
|
225
|
+
var o = h;
|
|
226
|
+
return function (i, a) {
|
|
227
|
+
if (o === f) throw Error("Generator is already running");
|
|
228
|
+
if (o === s) {
|
|
229
|
+
if ("throw" === i) throw a;
|
|
230
|
+
return {
|
|
231
|
+
value: t,
|
|
232
|
+
done: !0
|
|
233
|
+
};
|
|
142
234
|
}
|
|
143
|
-
for (
|
|
144
|
-
var
|
|
145
|
-
if (
|
|
146
|
-
var
|
|
147
|
-
if (
|
|
148
|
-
if (
|
|
149
|
-
return
|
|
235
|
+
for (n.method = i, n.arg = a;;) {
|
|
236
|
+
var c = n.delegate;
|
|
237
|
+
if (c) {
|
|
238
|
+
var u = maybeInvokeDelegate(c, n);
|
|
239
|
+
if (u) {
|
|
240
|
+
if (u === y) continue;
|
|
241
|
+
return u;
|
|
150
242
|
}
|
|
151
243
|
}
|
|
152
|
-
if ("next" ===
|
|
153
|
-
if (
|
|
154
|
-
|
|
155
|
-
} else "return" ===
|
|
156
|
-
|
|
157
|
-
var
|
|
158
|
-
if ("normal" ===
|
|
159
|
-
if (
|
|
244
|
+
if ("next" === n.method) n.sent = n._sent = n.arg;else if ("throw" === n.method) {
|
|
245
|
+
if (o === h) throw o = s, n.arg;
|
|
246
|
+
n.dispatchException(n.arg);
|
|
247
|
+
} else "return" === n.method && n.abrupt("return", n.arg);
|
|
248
|
+
o = f;
|
|
249
|
+
var p = tryCatch(e, r, n);
|
|
250
|
+
if ("normal" === p.type) {
|
|
251
|
+
if (o = n.done ? s : l, p.arg === y) continue;
|
|
160
252
|
return {
|
|
161
|
-
value:
|
|
162
|
-
done:
|
|
253
|
+
value: p.arg,
|
|
254
|
+
done: n.done
|
|
163
255
|
};
|
|
164
256
|
}
|
|
165
|
-
"throw" ===
|
|
257
|
+
"throw" === p.type && (o = s, n.method = "throw", n.arg = p.arg);
|
|
166
258
|
}
|
|
167
259
|
};
|
|
168
260
|
}
|
|
169
|
-
function maybeInvokeDelegate(
|
|
170
|
-
var
|
|
171
|
-
|
|
172
|
-
if (
|
|
173
|
-
var
|
|
174
|
-
if ("throw" ===
|
|
175
|
-
var
|
|
176
|
-
return
|
|
261
|
+
function maybeInvokeDelegate(e, r) {
|
|
262
|
+
var n = r.method,
|
|
263
|
+
o = e.iterator[n];
|
|
264
|
+
if (o === t) return r.delegate = null, "throw" === n && e.iterator.return && (r.method = "return", r.arg = t, maybeInvokeDelegate(e, r), "throw" === r.method) || "return" !== n && (r.method = "throw", r.arg = new TypeError("The iterator does not provide a '" + n + "' method")), y;
|
|
265
|
+
var i = tryCatch(o, e.iterator, r.arg);
|
|
266
|
+
if ("throw" === i.type) return r.method = "throw", r.arg = i.arg, r.delegate = null, y;
|
|
267
|
+
var a = i.arg;
|
|
268
|
+
return a ? a.done ? (r[e.resultName] = a.value, r.next = e.nextLoc, "return" !== r.method && (r.method = "next", r.arg = t), r.delegate = null, y) : a : (r.method = "throw", r.arg = new TypeError("iterator result is not an object"), r.delegate = null, y);
|
|
177
269
|
}
|
|
178
|
-
function pushTryEntry(
|
|
179
|
-
var
|
|
180
|
-
tryLoc:
|
|
270
|
+
function pushTryEntry(t) {
|
|
271
|
+
var e = {
|
|
272
|
+
tryLoc: t[0]
|
|
181
273
|
};
|
|
182
|
-
1 in
|
|
274
|
+
1 in t && (e.catchLoc = t[1]), 2 in t && (e.finallyLoc = t[2], e.afterLoc = t[3]), this.tryEntries.push(e);
|
|
183
275
|
}
|
|
184
|
-
function resetTryEntry(
|
|
185
|
-
var
|
|
186
|
-
|
|
276
|
+
function resetTryEntry(t) {
|
|
277
|
+
var e = t.completion || {};
|
|
278
|
+
e.type = "normal", delete e.arg, t.completion = e;
|
|
187
279
|
}
|
|
188
|
-
function Context(
|
|
280
|
+
function Context(t) {
|
|
189
281
|
this.tryEntries = [{
|
|
190
282
|
tryLoc: "root"
|
|
191
|
-
}],
|
|
283
|
+
}], t.forEach(pushTryEntry, this), this.reset(!0);
|
|
192
284
|
}
|
|
193
|
-
function values(
|
|
194
|
-
if (
|
|
195
|
-
var
|
|
196
|
-
if (
|
|
197
|
-
if ("function" == typeof
|
|
198
|
-
if (!isNaN(
|
|
199
|
-
var
|
|
200
|
-
|
|
201
|
-
for (; ++
|
|
202
|
-
return next.value =
|
|
285
|
+
function values(e) {
|
|
286
|
+
if (e || "" === e) {
|
|
287
|
+
var r = e[a];
|
|
288
|
+
if (r) return r.call(e);
|
|
289
|
+
if ("function" == typeof e.next) return e;
|
|
290
|
+
if (!isNaN(e.length)) {
|
|
291
|
+
var o = -1,
|
|
292
|
+
i = function next() {
|
|
293
|
+
for (; ++o < e.length;) if (n.call(e, o)) return next.value = e[o], next.done = !1, next;
|
|
294
|
+
return next.value = t, next.done = !0, next;
|
|
203
295
|
};
|
|
204
|
-
return
|
|
296
|
+
return i.next = i;
|
|
205
297
|
}
|
|
206
298
|
}
|
|
207
|
-
|
|
208
|
-
next: doneResult
|
|
209
|
-
};
|
|
299
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
210
300
|
}
|
|
211
|
-
|
|
212
|
-
return {
|
|
213
|
-
value: undefined,
|
|
214
|
-
done: !0
|
|
215
|
-
};
|
|
216
|
-
}
|
|
217
|
-
return GeneratorFunction.prototype = GeneratorFunctionPrototype, defineProperty(Gp, "constructor", {
|
|
301
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, o(g, "constructor", {
|
|
218
302
|
value: GeneratorFunctionPrototype,
|
|
219
303
|
configurable: !0
|
|
220
|
-
}),
|
|
304
|
+
}), o(GeneratorFunctionPrototype, "constructor", {
|
|
221
305
|
value: GeneratorFunction,
|
|
222
306
|
configurable: !0
|
|
223
|
-
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype,
|
|
224
|
-
var
|
|
225
|
-
return !!
|
|
226
|
-
},
|
|
227
|
-
return Object.setPrototypeOf ? Object.setPrototypeOf(
|
|
228
|
-
},
|
|
307
|
+
}), GeneratorFunction.displayName = define(GeneratorFunctionPrototype, u, "GeneratorFunction"), e.isGeneratorFunction = function (t) {
|
|
308
|
+
var e = "function" == typeof t && t.constructor;
|
|
309
|
+
return !!e && (e === GeneratorFunction || "GeneratorFunction" === (e.displayName || e.name));
|
|
310
|
+
}, e.mark = function (t) {
|
|
311
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(t, GeneratorFunctionPrototype) : (t.__proto__ = GeneratorFunctionPrototype, define(t, u, "GeneratorFunction")), t.prototype = Object.create(g), t;
|
|
312
|
+
}, e.awrap = function (t) {
|
|
229
313
|
return {
|
|
230
|
-
__await:
|
|
314
|
+
__await: t
|
|
231
315
|
};
|
|
232
|
-
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype,
|
|
316
|
+
}, defineIteratorMethods(AsyncIterator.prototype), define(AsyncIterator.prototype, c, function () {
|
|
233
317
|
return this;
|
|
234
|
-
}),
|
|
235
|
-
void 0 ===
|
|
236
|
-
var
|
|
237
|
-
return
|
|
238
|
-
return
|
|
318
|
+
}), e.AsyncIterator = AsyncIterator, e.async = function (t, r, n, o, i) {
|
|
319
|
+
void 0 === i && (i = Promise);
|
|
320
|
+
var a = new AsyncIterator(wrap(t, r, n, o), i);
|
|
321
|
+
return e.isGeneratorFunction(r) ? a : a.next().then(function (t) {
|
|
322
|
+
return t.done ? t.value : a.next();
|
|
239
323
|
});
|
|
240
|
-
}, defineIteratorMethods(
|
|
324
|
+
}, defineIteratorMethods(g), define(g, u, "Generator"), define(g, a, function () {
|
|
241
325
|
return this;
|
|
242
|
-
}), define(
|
|
326
|
+
}), define(g, "toString", function () {
|
|
243
327
|
return "[object Generator]";
|
|
244
|
-
}),
|
|
245
|
-
var
|
|
246
|
-
|
|
247
|
-
for (var
|
|
248
|
-
return
|
|
249
|
-
for (;
|
|
250
|
-
var
|
|
251
|
-
if (
|
|
328
|
+
}), e.keys = function (t) {
|
|
329
|
+
var e = Object(t),
|
|
330
|
+
r = [];
|
|
331
|
+
for (var n in e) r.push(n);
|
|
332
|
+
return r.reverse(), function next() {
|
|
333
|
+
for (; r.length;) {
|
|
334
|
+
var t = r.pop();
|
|
335
|
+
if (t in e) return next.value = t, next.done = !1, next;
|
|
252
336
|
}
|
|
253
337
|
return next.done = !0, next;
|
|
254
338
|
};
|
|
255
|
-
},
|
|
339
|
+
}, e.values = values, Context.prototype = {
|
|
256
340
|
constructor: Context,
|
|
257
|
-
reset: function (
|
|
258
|
-
if (this.prev = 0, this.next = 0, this.sent = this._sent =
|
|
341
|
+
reset: function (e) {
|
|
342
|
+
if (this.prev = 0, this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(resetTryEntry), !e) for (var r in this) "t" === r.charAt(0) && n.call(this, r) && !isNaN(+r.slice(1)) && (this[r] = t);
|
|
259
343
|
},
|
|
260
344
|
stop: function () {
|
|
261
345
|
this.done = !0;
|
|
262
|
-
var
|
|
263
|
-
if ("throw" ===
|
|
346
|
+
var t = this.tryEntries[0].completion;
|
|
347
|
+
if ("throw" === t.type) throw t.arg;
|
|
264
348
|
return this.rval;
|
|
265
349
|
},
|
|
266
|
-
dispatchException: function (
|
|
267
|
-
if (this.done) throw
|
|
268
|
-
var
|
|
269
|
-
function handle(
|
|
270
|
-
return
|
|
350
|
+
dispatchException: function (e) {
|
|
351
|
+
if (this.done) throw e;
|
|
352
|
+
var r = this;
|
|
353
|
+
function handle(n, o) {
|
|
354
|
+
return a.type = "throw", a.arg = e, r.next = n, o && (r.method = "next", r.arg = t), !!o;
|
|
271
355
|
}
|
|
272
|
-
for (var
|
|
273
|
-
var
|
|
274
|
-
|
|
275
|
-
if ("root" ===
|
|
276
|
-
if (
|
|
277
|
-
var
|
|
278
|
-
|
|
279
|
-
if (
|
|
280
|
-
if (this.prev <
|
|
281
|
-
if (this.prev <
|
|
282
|
-
} else if (
|
|
283
|
-
if (this.prev <
|
|
356
|
+
for (var o = this.tryEntries.length - 1; o >= 0; --o) {
|
|
357
|
+
var i = this.tryEntries[o],
|
|
358
|
+
a = i.completion;
|
|
359
|
+
if ("root" === i.tryLoc) return handle("end");
|
|
360
|
+
if (i.tryLoc <= this.prev) {
|
|
361
|
+
var c = n.call(i, "catchLoc"),
|
|
362
|
+
u = n.call(i, "finallyLoc");
|
|
363
|
+
if (c && u) {
|
|
364
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
365
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
366
|
+
} else if (c) {
|
|
367
|
+
if (this.prev < i.catchLoc) return handle(i.catchLoc, !0);
|
|
284
368
|
} else {
|
|
285
|
-
if (!
|
|
286
|
-
if (this.prev <
|
|
369
|
+
if (!u) throw Error("try statement without catch or finally");
|
|
370
|
+
if (this.prev < i.finallyLoc) return handle(i.finallyLoc);
|
|
287
371
|
}
|
|
288
372
|
}
|
|
289
373
|
}
|
|
290
374
|
},
|
|
291
|
-
abrupt: function (
|
|
292
|
-
for (var
|
|
293
|
-
var
|
|
294
|
-
if (
|
|
295
|
-
var
|
|
375
|
+
abrupt: function (t, e) {
|
|
376
|
+
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
377
|
+
var o = this.tryEntries[r];
|
|
378
|
+
if (o.tryLoc <= this.prev && n.call(o, "finallyLoc") && this.prev < o.finallyLoc) {
|
|
379
|
+
var i = o;
|
|
296
380
|
break;
|
|
297
381
|
}
|
|
298
382
|
}
|
|
299
|
-
|
|
300
|
-
var
|
|
301
|
-
return
|
|
383
|
+
i && ("break" === t || "continue" === t) && i.tryLoc <= e && e <= i.finallyLoc && (i = null);
|
|
384
|
+
var a = i ? i.completion : {};
|
|
385
|
+
return a.type = t, a.arg = e, i ? (this.method = "next", this.next = i.finallyLoc, y) : this.complete(a);
|
|
302
386
|
},
|
|
303
|
-
complete: function (
|
|
304
|
-
if ("throw" ===
|
|
305
|
-
return "break" ===
|
|
387
|
+
complete: function (t, e) {
|
|
388
|
+
if ("throw" === t.type) throw t.arg;
|
|
389
|
+
return "break" === t.type || "continue" === t.type ? this.next = t.arg : "return" === t.type ? (this.rval = this.arg = t.arg, this.method = "return", this.next = "end") : "normal" === t.type && e && (this.next = e), y;
|
|
306
390
|
},
|
|
307
|
-
finish: function (
|
|
308
|
-
for (var
|
|
309
|
-
var
|
|
310
|
-
if (
|
|
391
|
+
finish: function (t) {
|
|
392
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
393
|
+
var r = this.tryEntries[e];
|
|
394
|
+
if (r.finallyLoc === t) return this.complete(r.completion, r.afterLoc), resetTryEntry(r), y;
|
|
311
395
|
}
|
|
312
396
|
},
|
|
313
|
-
catch: function (
|
|
314
|
-
for (var
|
|
315
|
-
var
|
|
316
|
-
if (
|
|
317
|
-
var
|
|
318
|
-
if ("throw" ===
|
|
319
|
-
var
|
|
320
|
-
resetTryEntry(
|
|
397
|
+
catch: function (t) {
|
|
398
|
+
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
399
|
+
var r = this.tryEntries[e];
|
|
400
|
+
if (r.tryLoc === t) {
|
|
401
|
+
var n = r.completion;
|
|
402
|
+
if ("throw" === n.type) {
|
|
403
|
+
var o = n.arg;
|
|
404
|
+
resetTryEntry(r);
|
|
321
405
|
}
|
|
322
|
-
return
|
|
406
|
+
return o;
|
|
323
407
|
}
|
|
324
408
|
}
|
|
325
|
-
throw
|
|
409
|
+
throw Error("illegal catch attempt");
|
|
326
410
|
},
|
|
327
|
-
delegateYield: function (
|
|
411
|
+
delegateYield: function (e, r, n) {
|
|
328
412
|
return this.delegate = {
|
|
329
|
-
iterator: values(
|
|
330
|
-
resultName:
|
|
331
|
-
nextLoc:
|
|
332
|
-
}, "next" === this.method && (this.arg =
|
|
413
|
+
iterator: values(e),
|
|
414
|
+
resultName: r,
|
|
415
|
+
nextLoc: n
|
|
416
|
+
}, "next" === this.method && (this.arg = t), y;
|
|
333
417
|
}
|
|
334
|
-
},
|
|
418
|
+
}, e;
|
|
335
419
|
}
|
|
336
|
-
function
|
|
337
|
-
|
|
338
|
-
throw new TypeError("Cannot call a class as a function");
|
|
339
|
-
}
|
|
420
|
+
function _toConsumableArray(r) {
|
|
421
|
+
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
340
422
|
}
|
|
341
|
-
function
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
if ("
|
|
347
|
-
|
|
348
|
-
}
|
|
349
|
-
}
|
|
350
|
-
function _createClass(Constructor, protoProps, staticProps) {
|
|
351
|
-
if (protoProps) _defineProperties(Constructor.prototype, protoProps);
|
|
352
|
-
if (staticProps) _defineProperties(Constructor, staticProps);
|
|
353
|
-
Object.defineProperty(Constructor, "prototype", {
|
|
354
|
-
writable: false
|
|
355
|
-
});
|
|
356
|
-
return Constructor;
|
|
357
|
-
}
|
|
358
|
-
function _defineProperty(obj, key, value) {
|
|
359
|
-
key = _toPropertyKey(key);
|
|
360
|
-
if (key in obj) {
|
|
361
|
-
Object.defineProperty(obj, key, {
|
|
362
|
-
value: value,
|
|
363
|
-
enumerable: true,
|
|
364
|
-
configurable: true,
|
|
365
|
-
writable: true
|
|
366
|
-
});
|
|
367
|
-
} else {
|
|
368
|
-
obj[key] = value;
|
|
423
|
+
function _toPrimitive(t, r) {
|
|
424
|
+
if ("object" != typeof t || !t) return t;
|
|
425
|
+
var e = t[Symbol.toPrimitive];
|
|
426
|
+
if (void 0 !== e) {
|
|
427
|
+
var i = e.call(t, r || "default");
|
|
428
|
+
if ("object" != typeof i) return i;
|
|
429
|
+
throw new TypeError("@@toPrimitive must return a primitive value.");
|
|
369
430
|
}
|
|
370
|
-
return
|
|
371
|
-
}
|
|
372
|
-
function _toConsumableArray(arr) {
|
|
373
|
-
return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread();
|
|
431
|
+
return ("string" === r ? String : Number)(t);
|
|
374
432
|
}
|
|
375
|
-
function
|
|
376
|
-
|
|
433
|
+
function _toPropertyKey(t) {
|
|
434
|
+
var i = _toPrimitive(t, "string");
|
|
435
|
+
return "symbol" == typeof i ? i : i + "";
|
|
377
436
|
}
|
|
378
|
-
function
|
|
379
|
-
if (
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
if (typeof o === "string") return _arrayLikeToArray(o, minLen);
|
|
384
|
-
var n = Object.prototype.toString.call(o).slice(8, -1);
|
|
385
|
-
if (n === "Object" && o.constructor) n = o.constructor.name;
|
|
386
|
-
if (n === "Map" || n === "Set") return Array.from(o);
|
|
387
|
-
if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen);
|
|
388
|
-
}
|
|
389
|
-
function _arrayLikeToArray(arr, len) {
|
|
390
|
-
if (len == null || len > arr.length) len = arr.length;
|
|
391
|
-
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
|
|
392
|
-
return arr2;
|
|
393
|
-
}
|
|
394
|
-
function _nonIterableSpread() {
|
|
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.");
|
|
396
|
-
}
|
|
397
|
-
function _createForOfIteratorHelper(o, allowArrayLike) {
|
|
398
|
-
var it = typeof Symbol !== "undefined" && o[Symbol.iterator] || o["@@iterator"];
|
|
399
|
-
if (!it) {
|
|
400
|
-
if (Array.isArray(o) || (it = _unsupportedIterableToArray(o)) || allowArrayLike && o && typeof o.length === "number") {
|
|
401
|
-
if (it) o = it;
|
|
402
|
-
var i = 0;
|
|
403
|
-
var F = function () {};
|
|
404
|
-
return {
|
|
405
|
-
s: F,
|
|
406
|
-
n: function () {
|
|
407
|
-
if (i >= o.length) return {
|
|
408
|
-
done: true
|
|
409
|
-
};
|
|
410
|
-
return {
|
|
411
|
-
done: false,
|
|
412
|
-
value: o[i++]
|
|
413
|
-
};
|
|
414
|
-
},
|
|
415
|
-
e: function (e) {
|
|
416
|
-
throw e;
|
|
417
|
-
},
|
|
418
|
-
f: F
|
|
419
|
-
};
|
|
420
|
-
}
|
|
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.");
|
|
422
|
-
}
|
|
423
|
-
var normalCompletion = true,
|
|
424
|
-
didErr = false,
|
|
425
|
-
err;
|
|
426
|
-
return {
|
|
427
|
-
s: function () {
|
|
428
|
-
it = it.call(o);
|
|
429
|
-
},
|
|
430
|
-
n: function () {
|
|
431
|
-
var step = it.next();
|
|
432
|
-
normalCompletion = step.done;
|
|
433
|
-
return step;
|
|
434
|
-
},
|
|
435
|
-
e: function (e) {
|
|
436
|
-
didErr = true;
|
|
437
|
-
err = e;
|
|
438
|
-
},
|
|
439
|
-
f: function () {
|
|
440
|
-
try {
|
|
441
|
-
if (!normalCompletion && it.return != null) it.return();
|
|
442
|
-
} finally {
|
|
443
|
-
if (didErr) throw err;
|
|
444
|
-
}
|
|
445
|
-
}
|
|
446
|
-
};
|
|
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.");
|
|
437
|
+
function _unsupportedIterableToArray(r, a) {
|
|
438
|
+
if (r) {
|
|
439
|
+
if ("string" == typeof r) return _arrayLikeToArray(r, a);
|
|
440
|
+
var t = {}.toString.call(r).slice(8, -1);
|
|
441
|
+
return "Object" === t && r.constructor && (t = r.constructor.name), "Map" === t || "Set" === t ? Array.from(r) : "Arguments" === t || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(t) ? _arrayLikeToArray(r, a) : void 0;
|
|
455
442
|
}
|
|
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
443
|
}
|
|
462
444
|
|
|
463
445
|
/**
|
|
@@ -648,6 +630,7 @@ var linkPrimaryHover$7 = colors$1.blue70;
|
|
|
648
630
|
var linkSecondary$7 = colors$1.blue70;
|
|
649
631
|
var linkInverse$7 = colors$1.blue40;
|
|
650
632
|
var linkVisited$7 = colors$1.purple60;
|
|
633
|
+
var linkInverseVisited$3 = colors$1.purple40;
|
|
651
634
|
var linkInverseActive$3 = colors$1.gray10;
|
|
652
635
|
var linkInverseHover$3 = colors$1.blue30;
|
|
653
636
|
|
|
@@ -815,6 +798,7 @@ var white$1 = /*#__PURE__*/Object.freeze({
|
|
|
815
798
|
linkSecondary: linkSecondary$7,
|
|
816
799
|
linkInverse: linkInverse$7,
|
|
817
800
|
linkVisited: linkVisited$7,
|
|
801
|
+
linkInverseVisited: linkInverseVisited$3,
|
|
818
802
|
linkInverseActive: linkInverseActive$3,
|
|
819
803
|
linkInverseHover: linkInverseHover$3,
|
|
820
804
|
iconPrimary: iconPrimary$7,
|
|
@@ -1079,6 +1063,7 @@ var linkPrimaryHover$6 = colors$1.blue70;
|
|
|
1079
1063
|
var linkSecondary$6 = colors$1.blue70;
|
|
1080
1064
|
var linkInverse$6 = colors$1.blue40;
|
|
1081
1065
|
var linkVisited$6 = colors$1.purple60;
|
|
1066
|
+
var linkInverseVisited$2 = colors$1.purple40;
|
|
1082
1067
|
var linkInverseActive$2 = colors$1.gray10;
|
|
1083
1068
|
var linkInverseHover$2 = colors$1.blue30;
|
|
1084
1069
|
|
|
@@ -1246,6 +1231,7 @@ var g10$1 = /*#__PURE__*/Object.freeze({
|
|
|
1246
1231
|
linkSecondary: linkSecondary$6,
|
|
1247
1232
|
linkInverse: linkInverse$6,
|
|
1248
1233
|
linkVisited: linkVisited$6,
|
|
1234
|
+
linkInverseVisited: linkInverseVisited$2,
|
|
1249
1235
|
linkInverseActive: linkInverseActive$2,
|
|
1250
1236
|
linkInverseHover: linkInverseHover$2,
|
|
1251
1237
|
iconPrimary: iconPrimary$6,
|
|
@@ -1510,6 +1496,7 @@ var linkPrimaryHover$5 = colors$1.blue30;
|
|
|
1510
1496
|
var linkSecondary$5 = colors$1.blue30;
|
|
1511
1497
|
var linkInverse$5 = colors$1.blue60;
|
|
1512
1498
|
var linkVisited$5 = colors$1.purple40;
|
|
1499
|
+
var linkInverseVisited$1 = colors$1.purple60;
|
|
1513
1500
|
var linkInverseActive$1 = colors$1.gray100;
|
|
1514
1501
|
var linkInverseHover$1 = colors$1.blue70;
|
|
1515
1502
|
|
|
@@ -1677,6 +1664,7 @@ var g90$1 = /*#__PURE__*/Object.freeze({
|
|
|
1677
1664
|
linkSecondary: linkSecondary$5,
|
|
1678
1665
|
linkInverse: linkInverse$5,
|
|
1679
1666
|
linkVisited: linkVisited$5,
|
|
1667
|
+
linkInverseVisited: linkInverseVisited$1,
|
|
1680
1668
|
linkInverseActive: linkInverseActive$1,
|
|
1681
1669
|
linkInverseHover: linkInverseHover$1,
|
|
1682
1670
|
iconPrimary: iconPrimary$5,
|
|
@@ -1941,6 +1929,7 @@ var linkPrimaryHover$4 = colors$1.blue30;
|
|
|
1941
1929
|
var linkSecondary$4 = colors$1.blue30;
|
|
1942
1930
|
var linkInverse$4 = colors$1.blue60;
|
|
1943
1931
|
var linkVisited$4 = colors$1.purple40;
|
|
1932
|
+
var linkInverseVisited = colors$1.purple60;
|
|
1944
1933
|
var linkInverseActive = colors$1.gray100;
|
|
1945
1934
|
var linkInverseHover = colors$1.blue70;
|
|
1946
1935
|
|
|
@@ -2108,6 +2097,7 @@ var g100$1 = /*#__PURE__*/Object.freeze({
|
|
|
2108
2097
|
linkSecondary: linkSecondary$4,
|
|
2109
2098
|
linkInverse: linkInverse$4,
|
|
2110
2099
|
linkVisited: linkVisited$4,
|
|
2100
|
+
linkInverseVisited: linkInverseVisited,
|
|
2111
2101
|
linkInverseActive: linkInverseActive,
|
|
2112
2102
|
linkInverseHover: linkInverseHover,
|
|
2113
2103
|
iconPrimary: iconPrimary$4,
|
|
@@ -4703,7 +4693,7 @@ var Token = /*#__PURE__*/function () {
|
|
|
4703
4693
|
* ways to get information about the entire group, including properties and
|
|
4704
4694
|
* states
|
|
4705
4695
|
*/
|
|
4706
|
-
var TokenGroup = /*#__PURE__*/function (
|
|
4696
|
+
var TokenGroup = /*#__PURE__*/function () {
|
|
4707
4697
|
function TokenGroup(name, tokens, properties) {
|
|
4708
4698
|
_classCallCheck(this, TokenGroup);
|
|
4709
4699
|
this.kind = 'TokenGroup';
|
|
@@ -4719,7 +4709,7 @@ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
4719
4709
|
});
|
|
4720
4710
|
}
|
|
4721
4711
|
_createClass(TokenGroup, [{
|
|
4722
|
-
key:
|
|
4712
|
+
key: Symbol.iterator,
|
|
4723
4713
|
value: /*#__PURE__*/_regeneratorRuntime().mark(function value() {
|
|
4724
4714
|
var _iterator, _step, child;
|
|
4725
4715
|
return _regeneratorRuntime().wrap(function value$(_context) {
|
|
@@ -4923,7 +4913,7 @@ var TokenGroup = /*#__PURE__*/function (_Symbol$iterator) {
|
|
|
4923
4913
|
}
|
|
4924
4914
|
}]);
|
|
4925
4915
|
return TokenGroup;
|
|
4926
|
-
}(
|
|
4916
|
+
}();
|
|
4927
4917
|
|
|
4928
4918
|
/**
|
|
4929
4919
|
* Copyright IBM Corp. 2018, 2023
|
|
@@ -5103,8 +5093,8 @@ var link = TokenGroup.create({
|
|
|
5103
5093
|
name: 'link-primary-hover'
|
|
5104
5094
|
}, 'link-secondary', {
|
|
5105
5095
|
state: 'visited',
|
|
5106
|
-
name: 'link-visited'
|
|
5107
|
-
}, 'link-inverse', 'link-inverse-active', 'link-inverse-hover']
|
|
5096
|
+
name: 'link-inverse-visited'
|
|
5097
|
+
}, 'link-visited', 'link-inverse', 'link-inverse-active', 'link-inverse-hover']
|
|
5108
5098
|
});
|
|
5109
5099
|
var icon = TokenGroup.create({
|
|
5110
5100
|
name: 'Icons',
|
|
@@ -5706,6 +5696,7 @@ exports.layerSelectedInverse = layerSelectedInverse$7;
|
|
|
5706
5696
|
exports.linkInverse = linkInverse$7;
|
|
5707
5697
|
exports.linkInverseActive = linkInverseActive$3;
|
|
5708
5698
|
exports.linkInverseHover = linkInverseHover$3;
|
|
5699
|
+
exports.linkInverseVisited = linkInverseVisited$3;
|
|
5709
5700
|
exports.linkPrimary = linkPrimary$7;
|
|
5710
5701
|
exports.linkPrimaryHover = linkPrimaryHover$7;
|
|
5711
5702
|
exports.linkSecondary = linkSecondary$7;
|