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