@carbon/themes 11.54.0 → 11.55.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 +228 -251
- package/lib/index.js +228 -251
- package/package.json +6 -6
- package/umd/index.js +228 -251
package/lib/index.js
CHANGED
|
@@ -11,6 +11,9 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
11
11
|
|
|
12
12
|
var Color__default = /*#__PURE__*/_interopDefaultLegacy(Color);
|
|
13
13
|
|
|
14
|
+
function _OverloadYield(e, d) {
|
|
15
|
+
this.v = e, this.k = d;
|
|
16
|
+
}
|
|
14
17
|
function _arrayLikeToArray(r, a) {
|
|
15
18
|
(null == a || a > r.length) && (a = r.length);
|
|
16
19
|
for (var e = 0, n = Array(a); e < a; e++) n[e] = r[e];
|
|
@@ -116,274 +119,180 @@ function _objectSpread2(e) {
|
|
|
116
119
|
}
|
|
117
120
|
return e;
|
|
118
121
|
}
|
|
119
|
-
function
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
};
|
|
145
|
-
}
|
|
146
|
-
function h(r, e, n, o) {
|
|
147
|
-
var i = e && e.prototype instanceof Generator ? e : Generator,
|
|
148
|
-
a = Object.create(i.prototype);
|
|
149
|
-
return c(a, "_invoke", function (r, e, n) {
|
|
150
|
-
var o = 1;
|
|
151
|
-
return function (i, a) {
|
|
152
|
-
if (3 === o) throw Error("Generator is already running");
|
|
153
|
-
if (4 === o) {
|
|
154
|
-
if ("throw" === i) throw a;
|
|
155
|
-
return {
|
|
156
|
-
value: t,
|
|
157
|
-
done: !0
|
|
158
|
-
};
|
|
159
|
-
}
|
|
160
|
-
for (n.method = i, n.arg = a;;) {
|
|
161
|
-
var u = n.delegate;
|
|
162
|
-
if (u) {
|
|
163
|
-
var c = d(u, n);
|
|
164
|
-
if (c) {
|
|
165
|
-
if (c === f) continue;
|
|
166
|
-
return c;
|
|
167
|
-
}
|
|
122
|
+
function _regenerator() {
|
|
123
|
+
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/babel/babel/blob/main/packages/babel-helpers/LICENSE */
|
|
124
|
+
var e,
|
|
125
|
+
t,
|
|
126
|
+
r = "function" == typeof Symbol ? Symbol : {},
|
|
127
|
+
n = r.iterator || "@@iterator",
|
|
128
|
+
o = r.toStringTag || "@@toStringTag";
|
|
129
|
+
function i(r, n, o, i) {
|
|
130
|
+
var c = n && n.prototype instanceof Generator ? n : Generator,
|
|
131
|
+
u = Object.create(c.prototype);
|
|
132
|
+
return _regeneratorDefine(u, "_invoke", function (r, n, o) {
|
|
133
|
+
var i,
|
|
134
|
+
c,
|
|
135
|
+
u,
|
|
136
|
+
f = 0,
|
|
137
|
+
p = o || [],
|
|
138
|
+
y = !1,
|
|
139
|
+
G = {
|
|
140
|
+
p: 0,
|
|
141
|
+
n: 0,
|
|
142
|
+
v: e,
|
|
143
|
+
a: d,
|
|
144
|
+
f: d.bind(e, 4),
|
|
145
|
+
d: function (t, r) {
|
|
146
|
+
return i = t, c = 0, u = e, G.n = r, a;
|
|
168
147
|
}
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
148
|
+
};
|
|
149
|
+
function d(r, n) {
|
|
150
|
+
for (c = r, u = n, t = 0; !y && f && !o && t < p.length; t++) {
|
|
151
|
+
var o,
|
|
152
|
+
i = p[t],
|
|
153
|
+
d = G.p,
|
|
154
|
+
l = i[2];
|
|
155
|
+
r > 3 ? (o = l === n) && (c = i[4] || 3, u = i[5] === e ? i[3] : i[5], i[4] = 3, i[5] = e) : i[0] <= d && ((o = r < 2 && d < i[1]) ? (c = 0, G.v = n, G.n = i[1]) : d < l && (o = r < 3 || i[0] > n || n > l) && (i[4] = r, i[5] = n, G.n = l, c = 0));
|
|
156
|
+
}
|
|
157
|
+
if (o || r > 1) return a;
|
|
158
|
+
throw y = !0, n;
|
|
159
|
+
}
|
|
160
|
+
return function (o, p, l) {
|
|
161
|
+
if (f > 1) throw TypeError("Generator is already running");
|
|
162
|
+
for (y && 1 === p && d(p, l), c = p, u = l; (t = c < 2 ? e : u) || !y;) {
|
|
163
|
+
i || (c ? c < 3 ? (c > 1 && (G.n = -1), d(c, u)) : G.n = u : G.v = u);
|
|
164
|
+
try {
|
|
165
|
+
if (f = 2, i) {
|
|
166
|
+
if (c || (o = "next"), t = i[o]) {
|
|
167
|
+
if (!(t = t.call(i, u))) throw TypeError("iterator result is not an object");
|
|
168
|
+
if (!t.done) return t;
|
|
169
|
+
u = t.value, c < 2 && (c = 0);
|
|
170
|
+
} else 1 === c && (t = i.return) && t.call(i), c < 2 && (u = TypeError("The iterator does not provide a '" + o + "' method"), c = 1);
|
|
171
|
+
i = e;
|
|
172
|
+
} else if ((t = (y = G.n < 0) ? u : r.call(n, G)) !== a) break;
|
|
173
|
+
} catch (t) {
|
|
174
|
+
i = e, c = 1, u = t;
|
|
175
|
+
} finally {
|
|
176
|
+
f = 1;
|
|
181
177
|
}
|
|
182
|
-
"throw" === h.type && (o = 4, n.method = "throw", n.arg = h.arg);
|
|
183
178
|
}
|
|
179
|
+
return {
|
|
180
|
+
value: t,
|
|
181
|
+
done: y
|
|
182
|
+
};
|
|
184
183
|
};
|
|
185
|
-
}(r,
|
|
186
|
-
}
|
|
187
|
-
function s(t, r, e) {
|
|
188
|
-
try {
|
|
189
|
-
return {
|
|
190
|
-
type: "normal",
|
|
191
|
-
arg: t.call(r, e)
|
|
192
|
-
};
|
|
193
|
-
} catch (t) {
|
|
194
|
-
return {
|
|
195
|
-
type: "throw",
|
|
196
|
-
arg: t
|
|
197
|
-
};
|
|
198
|
-
}
|
|
184
|
+
}(r, o, i), !0), u;
|
|
199
185
|
}
|
|
200
|
-
|
|
201
|
-
var f = {};
|
|
186
|
+
var a = {};
|
|
202
187
|
function Generator() {}
|
|
203
188
|
function GeneratorFunction() {}
|
|
204
189
|
function GeneratorFunctionPrototype() {}
|
|
205
|
-
|
|
206
|
-
c(
|
|
190
|
+
t = Object.getPrototypeOf;
|
|
191
|
+
var c = [][n] ? t(t([][n]())) : (_regeneratorDefine(t = {}, n, function () {
|
|
192
|
+
return this;
|
|
193
|
+
}), t),
|
|
194
|
+
u = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(c);
|
|
195
|
+
function f(e) {
|
|
196
|
+
return Object.setPrototypeOf ? Object.setPrototypeOf(e, GeneratorFunctionPrototype) : (e.__proto__ = GeneratorFunctionPrototype, _regeneratorDefine(e, o, "GeneratorFunction")), e.prototype = Object.create(u), e;
|
|
197
|
+
}
|
|
198
|
+
return GeneratorFunction.prototype = GeneratorFunctionPrototype, _regeneratorDefine(u, "constructor", GeneratorFunctionPrototype), _regeneratorDefine(GeneratorFunctionPrototype, "constructor", GeneratorFunction), GeneratorFunction.displayName = "GeneratorFunction", _regeneratorDefine(GeneratorFunctionPrototype, o, "GeneratorFunction"), _regeneratorDefine(u), _regeneratorDefine(u, o, "Generator"), _regeneratorDefine(u, n, function () {
|
|
207
199
|
return this;
|
|
200
|
+
}), _regeneratorDefine(u, "toString", function () {
|
|
201
|
+
return "[object Generator]";
|
|
202
|
+
}), (_regenerator = function () {
|
|
203
|
+
return {
|
|
204
|
+
w: i,
|
|
205
|
+
m: f
|
|
206
|
+
};
|
|
207
|
+
})();
|
|
208
|
+
}
|
|
209
|
+
function _regeneratorAsync(n, e, r, t, o) {
|
|
210
|
+
var a = _regeneratorAsyncGen(n, e, r, t, o);
|
|
211
|
+
return a.next().then(function (n) {
|
|
212
|
+
return n.done ? n.value : a.next();
|
|
208
213
|
});
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
214
|
+
}
|
|
215
|
+
function _regeneratorAsyncGen(r, e, t, o, n) {
|
|
216
|
+
return new _regeneratorAsyncIterator(_regenerator().w(r, e, t, o), n || Promise);
|
|
217
|
+
}
|
|
218
|
+
function _regeneratorAsyncIterator(t, e) {
|
|
219
|
+
function n(r, o, i, f) {
|
|
220
|
+
try {
|
|
221
|
+
var c = t[r](o),
|
|
222
|
+
u = c.value;
|
|
223
|
+
return u instanceof _OverloadYield ? e.resolve(u.v).then(function (t) {
|
|
224
|
+
n("next", t, i, f);
|
|
225
|
+
}, function (t) {
|
|
226
|
+
n("throw", t, i, f);
|
|
227
|
+
}) : e.resolve(u).then(function (t) {
|
|
228
|
+
c.value = t, i(c);
|
|
229
|
+
}, function (t) {
|
|
230
|
+
return n("throw", t, i, f);
|
|
217
231
|
});
|
|
218
|
-
})
|
|
219
|
-
|
|
220
|
-
function AsyncIterator(t, r) {
|
|
221
|
-
function e(o, i, a, u) {
|
|
222
|
-
var c = s(t[o], t, i);
|
|
223
|
-
if ("throw" !== c.type) {
|
|
224
|
-
var h = c.arg,
|
|
225
|
-
f = h.value;
|
|
226
|
-
return f && "object" == typeof f && n.call(f, "__await") ? r.resolve(f.__await).then(function (t) {
|
|
227
|
-
e("next", t, a, u);
|
|
228
|
-
}, function (t) {
|
|
229
|
-
e("throw", t, a, u);
|
|
230
|
-
}) : r.resolve(f).then(function (t) {
|
|
231
|
-
h.value = t, a(h);
|
|
232
|
-
}, function (t) {
|
|
233
|
-
return e("throw", t, a, u);
|
|
234
|
-
});
|
|
235
|
-
}
|
|
236
|
-
u(c.arg);
|
|
232
|
+
} catch (t) {
|
|
233
|
+
f(t);
|
|
237
234
|
}
|
|
238
|
-
var o;
|
|
239
|
-
c(this, "_invoke", function (t, n) {
|
|
240
|
-
function i() {
|
|
241
|
-
return new r(function (r, o) {
|
|
242
|
-
e(t, n, r, o);
|
|
243
|
-
});
|
|
244
|
-
}
|
|
245
|
-
return o = o ? o.then(i, i) : i();
|
|
246
|
-
}, !0);
|
|
247
|
-
}
|
|
248
|
-
function d(r, e) {
|
|
249
|
-
var n = e.method,
|
|
250
|
-
o = r.i[n];
|
|
251
|
-
if (o === t) return e.delegate = null, "throw" === n && r.i.return && (e.method = "return", e.arg = t, d(r, e), "throw" === e.method) || "return" !== n && (e.method = "throw", e.arg = new TypeError("The iterator does not provide a '" + n + "' method")), f;
|
|
252
|
-
var i = s(o, r.i, e.arg);
|
|
253
|
-
if ("throw" === i.type) return e.method = "throw", e.arg = i.arg, e.delegate = null, f;
|
|
254
|
-
var a = i.arg;
|
|
255
|
-
return a ? a.done ? (e[r.r] = a.value, e.next = r.n, "return" !== e.method && (e.method = "next", e.arg = t), e.delegate = null, f) : a : (e.method = "throw", e.arg = new TypeError("iterator result is not an object"), e.delegate = null, f);
|
|
256
|
-
}
|
|
257
|
-
function w(t) {
|
|
258
|
-
this.tryEntries.push(t);
|
|
259
|
-
}
|
|
260
|
-
function m(r) {
|
|
261
|
-
var e = r[4] || {};
|
|
262
|
-
e.type = "normal", e.arg = t, r[4] = e;
|
|
263
235
|
}
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
function
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
if (!isNaN(r.length)) {
|
|
273
|
-
var o = -1,
|
|
274
|
-
a = function e() {
|
|
275
|
-
for (; ++o < r.length;) if (n.call(r, o)) return e.value = r[o], e.done = !1, e;
|
|
276
|
-
return e.value = t, e.done = !0, e;
|
|
277
|
-
};
|
|
278
|
-
return a.next = a;
|
|
279
|
-
}
|
|
236
|
+
var r;
|
|
237
|
+
this.next || (_regeneratorDefine(_regeneratorAsyncIterator.prototype), _regeneratorDefine(_regeneratorAsyncIterator.prototype, "function" == typeof Symbol && Symbol.asyncIterator || "@asyncIterator", function () {
|
|
238
|
+
return this;
|
|
239
|
+
})), _regeneratorDefine(this, "_invoke", function (t, o, i) {
|
|
240
|
+
function f() {
|
|
241
|
+
return new e(function (e, r) {
|
|
242
|
+
n(t, i, e, r);
|
|
243
|
+
});
|
|
280
244
|
}
|
|
281
|
-
|
|
245
|
+
return r = r ? r.then(f, f) : f();
|
|
246
|
+
}, !0);
|
|
247
|
+
}
|
|
248
|
+
function _regeneratorDefine(e, r, n, t) {
|
|
249
|
+
var i = Object.defineProperty;
|
|
250
|
+
try {
|
|
251
|
+
i({}, "", {});
|
|
252
|
+
} catch (e) {
|
|
253
|
+
i = 0;
|
|
282
254
|
}
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
}), r.AsyncIterator = AsyncIterator, r.async = function (t, e, n, o, i) {
|
|
295
|
-
void 0 === i && (i = Promise);
|
|
296
|
-
var a = new AsyncIterator(h(t, e, n, o), i);
|
|
297
|
-
return r.isGeneratorFunction(e) ? a : a.next().then(function (t) {
|
|
298
|
-
return t.done ? t.value : a.next();
|
|
299
|
-
});
|
|
300
|
-
}, g(v), c(v, u, "Generator"), c(v, i, function () {
|
|
301
|
-
return this;
|
|
302
|
-
}), c(v, "toString", function () {
|
|
303
|
-
return "[object Generator]";
|
|
304
|
-
}), r.keys = function (t) {
|
|
305
|
-
var r = Object(t),
|
|
306
|
-
e = [];
|
|
307
|
-
for (var n in r) e.unshift(n);
|
|
308
|
-
return function t() {
|
|
309
|
-
for (; e.length;) if ((n = e.pop()) in r) return t.value = n, t.done = !1, t;
|
|
310
|
-
return t.done = !0, t;
|
|
311
|
-
};
|
|
312
|
-
}, r.values = x, Context.prototype = {
|
|
313
|
-
constructor: Context,
|
|
314
|
-
reset: function (r) {
|
|
315
|
-
if (this.prev = this.next = 0, this.sent = this._sent = t, this.done = !1, this.delegate = null, this.method = "next", this.arg = t, this.tryEntries.forEach(m), !r) for (var e in this) "t" === e.charAt(0) && n.call(this, e) && !isNaN(+e.slice(1)) && (this[e] = t);
|
|
316
|
-
},
|
|
317
|
-
stop: function () {
|
|
318
|
-
this.done = !0;
|
|
319
|
-
var t = this.tryEntries[0][4];
|
|
320
|
-
if ("throw" === t.type) throw t.arg;
|
|
321
|
-
return this.rval;
|
|
322
|
-
},
|
|
323
|
-
dispatchException: function (r) {
|
|
324
|
-
if (this.done) throw r;
|
|
325
|
-
var e = this;
|
|
326
|
-
function n(t) {
|
|
327
|
-
a.type = "throw", a.arg = r, e.next = t;
|
|
328
|
-
}
|
|
329
|
-
for (var o = e.tryEntries.length - 1; o >= 0; --o) {
|
|
330
|
-
var i = this.tryEntries[o],
|
|
331
|
-
a = i[4],
|
|
332
|
-
u = this.prev,
|
|
333
|
-
c = i[1],
|
|
334
|
-
h = i[2];
|
|
335
|
-
if (-1 === i[0]) return n("end"), !1;
|
|
336
|
-
if (!c && !h) throw Error("try statement without catch or finally");
|
|
337
|
-
if (null != i[0] && i[0] <= u) {
|
|
338
|
-
if (u < c) return this.method = "next", this.arg = t, n(c), !0;
|
|
339
|
-
if (u < h) return n(h), !1;
|
|
340
|
-
}
|
|
341
|
-
}
|
|
342
|
-
},
|
|
343
|
-
abrupt: function (t, r) {
|
|
344
|
-
for (var e = this.tryEntries.length - 1; e >= 0; --e) {
|
|
345
|
-
var n = this.tryEntries[e];
|
|
346
|
-
if (n[0] > -1 && n[0] <= this.prev && this.prev < n[2]) {
|
|
347
|
-
var o = n;
|
|
348
|
-
break;
|
|
349
|
-
}
|
|
350
|
-
}
|
|
351
|
-
o && ("break" === t || "continue" === t) && o[0] <= r && r <= o[2] && (o = null);
|
|
352
|
-
var i = o ? o[4] : {};
|
|
353
|
-
return i.type = t, i.arg = r, o ? (this.method = "next", this.next = o[2], f) : this.complete(i);
|
|
354
|
-
},
|
|
355
|
-
complete: function (t, r) {
|
|
356
|
-
if ("throw" === t.type) throw t.arg;
|
|
357
|
-
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 && r && (this.next = r), f;
|
|
358
|
-
},
|
|
359
|
-
finish: function (t) {
|
|
360
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
361
|
-
var e = this.tryEntries[r];
|
|
362
|
-
if (e[2] === t) return this.complete(e[4], e[3]), m(e), f;
|
|
363
|
-
}
|
|
364
|
-
},
|
|
365
|
-
catch: function (t) {
|
|
366
|
-
for (var r = this.tryEntries.length - 1; r >= 0; --r) {
|
|
367
|
-
var e = this.tryEntries[r];
|
|
368
|
-
if (e[0] === t) {
|
|
369
|
-
var n = e[4];
|
|
370
|
-
if ("throw" === n.type) {
|
|
371
|
-
var o = n.arg;
|
|
372
|
-
m(e);
|
|
373
|
-
}
|
|
374
|
-
return o;
|
|
375
|
-
}
|
|
255
|
+
_regeneratorDefine = function (e, r, n, t) {
|
|
256
|
+
if (r) i ? i(e, r, {
|
|
257
|
+
value: n,
|
|
258
|
+
enumerable: !t,
|
|
259
|
+
configurable: !t,
|
|
260
|
+
writable: !t
|
|
261
|
+
}) : e[r] = n;else {
|
|
262
|
+
function o(r, n) {
|
|
263
|
+
_regeneratorDefine(e, r, function (e) {
|
|
264
|
+
return this._invoke(r, n, e);
|
|
265
|
+
});
|
|
376
266
|
}
|
|
377
|
-
|
|
378
|
-
},
|
|
379
|
-
delegateYield: function (r, e, n) {
|
|
380
|
-
return this.delegate = {
|
|
381
|
-
i: x(r),
|
|
382
|
-
r: e,
|
|
383
|
-
n: n
|
|
384
|
-
}, "next" === this.method && (this.arg = t), f;
|
|
267
|
+
o("next", 0), o("throw", 1), o("return", 2);
|
|
385
268
|
}
|
|
386
|
-
}, r;
|
|
269
|
+
}, _regeneratorDefine(e, r, n, t);
|
|
270
|
+
}
|
|
271
|
+
function _regeneratorKeys(e) {
|
|
272
|
+
var n = Object(e),
|
|
273
|
+
r = [];
|
|
274
|
+
for (var t in n) r.unshift(t);
|
|
275
|
+
return function e() {
|
|
276
|
+
for (; r.length;) if ((t = r.pop()) in n) return e.value = t, e.done = !1, e;
|
|
277
|
+
return e.done = !0, e;
|
|
278
|
+
};
|
|
279
|
+
}
|
|
280
|
+
function _regeneratorValues(e) {
|
|
281
|
+
if (null != e) {
|
|
282
|
+
var t = e["function" == typeof Symbol && Symbol.iterator || "@@iterator"],
|
|
283
|
+
r = 0;
|
|
284
|
+
if (t) return t.call(e);
|
|
285
|
+
if ("function" == typeof e.next) return e;
|
|
286
|
+
if (!isNaN(e.length)) return {
|
|
287
|
+
next: function () {
|
|
288
|
+
return e && r >= e.length && (e = void 0), {
|
|
289
|
+
value: e && e[r++],
|
|
290
|
+
done: !e
|
|
291
|
+
};
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
}
|
|
295
|
+
throw new TypeError(typeof e + " is not iterable");
|
|
387
296
|
}
|
|
388
297
|
function _toConsumableArray(r) {
|
|
389
298
|
return _arrayWithoutHoles(r) || _iterableToArray(r) || _unsupportedIterableToArray(r) || _nonIterableSpread();
|
|
@@ -409,6 +318,74 @@ function _unsupportedIterableToArray(r, a) {
|
|
|
409
318
|
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;
|
|
410
319
|
}
|
|
411
320
|
}
|
|
321
|
+
function _regeneratorRuntime() {
|
|
322
|
+
|
|
323
|
+
var r = _regenerator(),
|
|
324
|
+
e = r.m(_regeneratorRuntime),
|
|
325
|
+
t = (Object.getPrototypeOf ? Object.getPrototypeOf(e) : e.__proto__).constructor;
|
|
326
|
+
function n(r) {
|
|
327
|
+
var e = "function" == typeof r && r.constructor;
|
|
328
|
+
return !!e && (e === t || "GeneratorFunction" === (e.displayName || e.name));
|
|
329
|
+
}
|
|
330
|
+
var o = {
|
|
331
|
+
throw: 1,
|
|
332
|
+
return: 2,
|
|
333
|
+
break: 3,
|
|
334
|
+
continue: 3
|
|
335
|
+
};
|
|
336
|
+
function a(r) {
|
|
337
|
+
var e, t;
|
|
338
|
+
return function (n) {
|
|
339
|
+
e || (e = {
|
|
340
|
+
stop: function () {
|
|
341
|
+
return t(n.a, 2);
|
|
342
|
+
},
|
|
343
|
+
catch: function () {
|
|
344
|
+
return n.v;
|
|
345
|
+
},
|
|
346
|
+
abrupt: function (r, e) {
|
|
347
|
+
return t(n.a, o[r], e);
|
|
348
|
+
},
|
|
349
|
+
delegateYield: function (r, o, a) {
|
|
350
|
+
return e.resultName = o, t(n.d, _regeneratorValues(r), a);
|
|
351
|
+
},
|
|
352
|
+
finish: function (r) {
|
|
353
|
+
return t(n.f, r);
|
|
354
|
+
}
|
|
355
|
+
}, t = function (r, t, o) {
|
|
356
|
+
n.p = e.prev, n.n = e.next;
|
|
357
|
+
try {
|
|
358
|
+
return r(t, o);
|
|
359
|
+
} finally {
|
|
360
|
+
e.next = n.n;
|
|
361
|
+
}
|
|
362
|
+
}), e.resultName && (e[e.resultName] = n.v, e.resultName = void 0), e.sent = n.v, e.next = n.n;
|
|
363
|
+
try {
|
|
364
|
+
return r.call(this, e);
|
|
365
|
+
} finally {
|
|
366
|
+
n.p = e.prev, n.n = e.next;
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
}
|
|
370
|
+
return (_regeneratorRuntime = function () {
|
|
371
|
+
return {
|
|
372
|
+
wrap: function (e, t, n, o) {
|
|
373
|
+
return r.w(a(e), t, n, o && o.reverse());
|
|
374
|
+
},
|
|
375
|
+
isGeneratorFunction: n,
|
|
376
|
+
mark: r.m,
|
|
377
|
+
awrap: function (r, e) {
|
|
378
|
+
return new _OverloadYield(r, e);
|
|
379
|
+
},
|
|
380
|
+
AsyncIterator: _regeneratorAsyncIterator,
|
|
381
|
+
async: function (r, e, t, o, u) {
|
|
382
|
+
return (n(e) ? _regeneratorAsyncGen : _regeneratorAsync)(a(r), e, t, o, u);
|
|
383
|
+
},
|
|
384
|
+
keys: _regeneratorKeys,
|
|
385
|
+
values: _regeneratorValues
|
|
386
|
+
};
|
|
387
|
+
})();
|
|
388
|
+
}
|
|
412
389
|
|
|
413
390
|
/**
|
|
414
391
|
* Adjust a given token's lightness by a specified percentage
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@carbon/themes",
|
|
3
3
|
"description": "Themes for applying color in the Carbon Design System",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.55.0-rc.0",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"module": "es/index.js",
|
|
@@ -32,16 +32,16 @@
|
|
|
32
32
|
"postinstall": "ibmtelemetry --config=telemetry.yml"
|
|
33
33
|
},
|
|
34
34
|
"dependencies": {
|
|
35
|
-
"@carbon/colors": "^11.
|
|
36
|
-
"@carbon/layout": "^11.
|
|
37
|
-
"@carbon/type": "^11.
|
|
35
|
+
"@carbon/colors": "^11.35.0-rc.0",
|
|
36
|
+
"@carbon/layout": "^11.36.0-rc.0",
|
|
37
|
+
"@carbon/type": "^11.42.0-rc.0",
|
|
38
38
|
"@ibm/telemetry-js": "^1.5.0",
|
|
39
39
|
"color": "^4.0.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@babel/node": "^7.27.1",
|
|
43
43
|
"@babel/preset-env": "^7.27.2",
|
|
44
|
-
"@carbon/cli": "^11.
|
|
44
|
+
"@carbon/cli": "^11.29.0-rc.0",
|
|
45
45
|
"@carbon/cli-reporter": "^10.7.0",
|
|
46
46
|
"@carbon/scss-generator": "^10.19.0",
|
|
47
47
|
"@carbon/test-utils": "^10.36.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"rimraf": "^6.0.0"
|
|
53
53
|
},
|
|
54
54
|
"sideEffects": false,
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "80ee492dc5079b90b8bca04f49497a90b60a366e"
|
|
56
56
|
}
|