@bolttech/atoms-segmented-control 0.19.0 → 0.21.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/index.cjs +137 -155
- package/package.json +5 -5
package/index.cjs
CHANGED
|
@@ -20,15 +20,16 @@ var check = function (it) {
|
|
|
20
20
|
};
|
|
21
21
|
|
|
22
22
|
// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
|
|
23
|
-
var
|
|
23
|
+
var globalThis_1 =
|
|
24
24
|
// eslint-disable-next-line es/no-global-this -- safe
|
|
25
25
|
check(typeof globalThis == 'object' && globalThis) ||
|
|
26
26
|
check(typeof window == 'object' && window) ||
|
|
27
27
|
// eslint-disable-next-line no-restricted-globals -- safe
|
|
28
28
|
check(typeof self == 'object' && self) ||
|
|
29
29
|
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
30
|
+
check(typeof commonjsGlobal == 'object' && commonjsGlobal) ||
|
|
30
31
|
// eslint-disable-next-line no-new-func -- fallback
|
|
31
|
-
(function () { return this; })() ||
|
|
32
|
+
(function () { return this; })() || Function('return this')();
|
|
32
33
|
|
|
33
34
|
var objectGetOwnPropertyDescriptor = {};
|
|
34
35
|
|
|
@@ -59,10 +60,10 @@ var functionBindNative = !fails$c(function () {
|
|
|
59
60
|
|
|
60
61
|
var NATIVE_BIND$2 = functionBindNative;
|
|
61
62
|
|
|
62
|
-
var call$
|
|
63
|
+
var call$a = Function.prototype.call;
|
|
63
64
|
|
|
64
|
-
var functionCall = NATIVE_BIND$2 ? call$
|
|
65
|
-
return call$
|
|
65
|
+
var functionCall = NATIVE_BIND$2 ? call$a.bind(call$a) : function () {
|
|
66
|
+
return call$a.apply(call$a, arguments);
|
|
66
67
|
};
|
|
67
68
|
|
|
68
69
|
var objectPropertyIsEnumerable = {};
|
|
@@ -93,30 +94,30 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
|
|
|
93
94
|
var NATIVE_BIND$1 = functionBindNative;
|
|
94
95
|
|
|
95
96
|
var FunctionPrototype$2 = Function.prototype;
|
|
96
|
-
var call$
|
|
97
|
-
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$
|
|
97
|
+
var call$9 = FunctionPrototype$2.call;
|
|
98
|
+
var uncurryThisWithBind = NATIVE_BIND$1 && FunctionPrototype$2.bind.bind(call$9, call$9);
|
|
98
99
|
|
|
99
100
|
var functionUncurryThis = NATIVE_BIND$1 ? uncurryThisWithBind : function (fn) {
|
|
100
101
|
return function () {
|
|
101
|
-
return call$
|
|
102
|
+
return call$9.apply(fn, arguments);
|
|
102
103
|
};
|
|
103
104
|
};
|
|
104
105
|
|
|
105
|
-
var uncurryThis$
|
|
106
|
+
var uncurryThis$d = functionUncurryThis;
|
|
106
107
|
|
|
107
|
-
var toString$5 = uncurryThis$
|
|
108
|
-
var stringSlice$5 = uncurryThis$
|
|
108
|
+
var toString$5 = uncurryThis$d({}.toString);
|
|
109
|
+
var stringSlice$5 = uncurryThis$d(''.slice);
|
|
109
110
|
|
|
110
|
-
var classofRaw$
|
|
111
|
+
var classofRaw$1 = function (it) {
|
|
111
112
|
return stringSlice$5(toString$5(it), 8, -1);
|
|
112
113
|
};
|
|
113
114
|
|
|
114
|
-
var uncurryThis$
|
|
115
|
+
var uncurryThis$c = functionUncurryThis;
|
|
115
116
|
var fails$b = fails$e;
|
|
116
|
-
var classof$3 = classofRaw$
|
|
117
|
+
var classof$3 = classofRaw$1;
|
|
117
118
|
|
|
118
119
|
var $Object$3 = Object;
|
|
119
|
-
var split = uncurryThis$
|
|
120
|
+
var split = uncurryThis$c(''.split);
|
|
120
121
|
|
|
121
122
|
// fallback for non-array-like ES3 and non-enumerable old V8 strings
|
|
122
123
|
var indexedObject = fails$b(function () {
|
|
@@ -152,41 +153,25 @@ var toIndexedObject$4 = function (it) {
|
|
|
152
153
|
return IndexedObject$1(requireObjectCoercible$3(it));
|
|
153
154
|
};
|
|
154
155
|
|
|
155
|
-
var documentAll$2 = typeof document == 'object' && document.all;
|
|
156
|
-
|
|
157
156
|
// https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
|
|
158
|
-
|
|
159
|
-
var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
|
|
160
|
-
|
|
161
|
-
var documentAll_1 = {
|
|
162
|
-
all: documentAll$2,
|
|
163
|
-
IS_HTMLDDA: IS_HTMLDDA
|
|
164
|
-
};
|
|
165
|
-
|
|
166
|
-
var $documentAll$1 = documentAll_1;
|
|
167
|
-
|
|
168
|
-
var documentAll$1 = $documentAll$1.all;
|
|
157
|
+
var documentAll = typeof document == 'object' && document.all;
|
|
169
158
|
|
|
170
159
|
// `IsCallable` abstract operation
|
|
171
160
|
// https://tc39.es/ecma262/#sec-iscallable
|
|
172
|
-
|
|
173
|
-
|
|
161
|
+
// eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
|
|
162
|
+
var isCallable$d = typeof documentAll == 'undefined' && documentAll !== undefined ? function (argument) {
|
|
163
|
+
return typeof argument == 'function' || argument === documentAll;
|
|
174
164
|
} : function (argument) {
|
|
175
165
|
return typeof argument == 'function';
|
|
176
166
|
};
|
|
177
167
|
|
|
178
168
|
var isCallable$c = isCallable$d;
|
|
179
|
-
var $documentAll = documentAll_1;
|
|
180
|
-
|
|
181
|
-
var documentAll = $documentAll.all;
|
|
182
169
|
|
|
183
|
-
var isObject$5 =
|
|
184
|
-
return typeof it == 'object' ? it !== null : isCallable$c(it) || it === documentAll;
|
|
185
|
-
} : function (it) {
|
|
170
|
+
var isObject$5 = function (it) {
|
|
186
171
|
return typeof it == 'object' ? it !== null : isCallable$c(it);
|
|
187
172
|
};
|
|
188
173
|
|
|
189
|
-
var
|
|
174
|
+
var globalThis$e = globalThis_1;
|
|
190
175
|
var isCallable$b = isCallable$d;
|
|
191
176
|
|
|
192
177
|
var aFunction = function (argument) {
|
|
@@ -194,20 +179,25 @@ var aFunction = function (argument) {
|
|
|
194
179
|
};
|
|
195
180
|
|
|
196
181
|
var getBuiltIn$3 = function (namespace, method) {
|
|
197
|
-
return arguments.length < 2 ? aFunction(
|
|
182
|
+
return arguments.length < 2 ? aFunction(globalThis$e[namespace]) : globalThis$e[namespace] && globalThis$e[namespace][method];
|
|
198
183
|
};
|
|
199
184
|
|
|
200
|
-
var uncurryThis$
|
|
185
|
+
var uncurryThis$b = functionUncurryThis;
|
|
186
|
+
|
|
187
|
+
var objectIsPrototypeOf = uncurryThis$b({}.isPrototypeOf);
|
|
201
188
|
|
|
202
|
-
var
|
|
189
|
+
var globalThis$d = globalThis_1;
|
|
203
190
|
|
|
204
|
-
var
|
|
191
|
+
var navigator = globalThis$d.navigator;
|
|
192
|
+
var userAgent$1 = navigator && navigator.userAgent;
|
|
205
193
|
|
|
206
|
-
var
|
|
207
|
-
var userAgent = engineUserAgent;
|
|
194
|
+
var environmentUserAgent = userAgent$1 ? String(userAgent$1) : '';
|
|
208
195
|
|
|
209
|
-
var
|
|
210
|
-
var
|
|
196
|
+
var globalThis$c = globalThis_1;
|
|
197
|
+
var userAgent = environmentUserAgent;
|
|
198
|
+
|
|
199
|
+
var process = globalThis$c.process;
|
|
200
|
+
var Deno = globalThis$c.Deno;
|
|
211
201
|
var versions = process && process.versions || Deno && Deno.version;
|
|
212
202
|
var v8 = versions && versions.v8;
|
|
213
203
|
var match, version;
|
|
@@ -229,14 +219,14 @@ if (!version && userAgent) {
|
|
|
229
219
|
}
|
|
230
220
|
}
|
|
231
221
|
|
|
232
|
-
var
|
|
222
|
+
var environmentV8Version = version;
|
|
233
223
|
|
|
234
224
|
/* eslint-disable es/no-symbol -- required for testing */
|
|
235
|
-
var V8_VERSION =
|
|
225
|
+
var V8_VERSION = environmentV8Version;
|
|
236
226
|
var fails$a = fails$e;
|
|
237
|
-
var
|
|
227
|
+
var globalThis$b = globalThis_1;
|
|
238
228
|
|
|
239
|
-
var $String$4 =
|
|
229
|
+
var $String$4 = globalThis$b.String;
|
|
240
230
|
|
|
241
231
|
// eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
|
|
242
232
|
var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$a(function () {
|
|
@@ -302,7 +292,7 @@ var getMethod$2 = function (V, P) {
|
|
|
302
292
|
return isNullOrUndefined$1(func) ? undefined : aCallable(func);
|
|
303
293
|
};
|
|
304
294
|
|
|
305
|
-
var call$
|
|
295
|
+
var call$8 = functionCall;
|
|
306
296
|
var isCallable$8 = isCallable$d;
|
|
307
297
|
var isObject$4 = isObject$5;
|
|
308
298
|
|
|
@@ -312,47 +302,47 @@ var $TypeError$4 = TypeError;
|
|
|
312
302
|
// https://tc39.es/ecma262/#sec-ordinarytoprimitive
|
|
313
303
|
var ordinaryToPrimitive$1 = function (input, pref) {
|
|
314
304
|
var fn, val;
|
|
315
|
-
if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$
|
|
316
|
-
if (isCallable$8(fn = input.valueOf) && !isObject$4(val = call$
|
|
317
|
-
if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$
|
|
305
|
+
if (pref === 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$8(fn, input))) return val;
|
|
306
|
+
if (isCallable$8(fn = input.valueOf) && !isObject$4(val = call$8(fn, input))) return val;
|
|
307
|
+
if (pref !== 'string' && isCallable$8(fn = input.toString) && !isObject$4(val = call$8(fn, input))) return val;
|
|
318
308
|
throw new $TypeError$4("Can't convert object to primitive value");
|
|
319
309
|
};
|
|
320
310
|
|
|
321
|
-
var
|
|
311
|
+
var sharedStore = {exports: {}};
|
|
322
312
|
|
|
323
|
-
var
|
|
313
|
+
var globalThis$a = globalThis_1;
|
|
324
314
|
|
|
325
315
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
326
316
|
var defineProperty$2 = Object.defineProperty;
|
|
327
317
|
|
|
328
318
|
var defineGlobalProperty$3 = function (key, value) {
|
|
329
319
|
try {
|
|
330
|
-
defineProperty$2(
|
|
320
|
+
defineProperty$2(globalThis$a, key, { value: value, configurable: true, writable: true });
|
|
331
321
|
} catch (error) {
|
|
332
|
-
|
|
322
|
+
globalThis$a[key] = value;
|
|
333
323
|
} return value;
|
|
334
324
|
};
|
|
335
325
|
|
|
336
|
-
var
|
|
326
|
+
var globalThis$9 = globalThis_1;
|
|
337
327
|
var defineGlobalProperty$2 = defineGlobalProperty$3;
|
|
338
328
|
|
|
339
329
|
var SHARED = '__core-js_shared__';
|
|
340
|
-
var store$3 =
|
|
341
|
-
|
|
342
|
-
var sharedStore = store$3;
|
|
330
|
+
var store$3 = sharedStore.exports = globalThis$9[SHARED] || defineGlobalProperty$2(SHARED, {});
|
|
343
331
|
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
(shared$4.exports = function (key, value) {
|
|
347
|
-
return store$2[key] || (store$2[key] = value !== undefined ? value : {});
|
|
348
|
-
})('versions', []).push({
|
|
349
|
-
version: '3.33.2',
|
|
332
|
+
(store$3.versions || (store$3.versions = [])).push({
|
|
333
|
+
version: '3.38.1',
|
|
350
334
|
mode: 'global',
|
|
351
|
-
copyright: '© 2014-
|
|
352
|
-
license: 'https://github.com/zloirock/core-js/blob/v3.
|
|
335
|
+
copyright: '© 2014-2024 Denis Pushkarev (zloirock.ru)',
|
|
336
|
+
license: 'https://github.com/zloirock/core-js/blob/v3.38.1/LICENSE',
|
|
353
337
|
source: 'https://github.com/zloirock/core-js'
|
|
354
338
|
});
|
|
355
339
|
|
|
340
|
+
var store$2 = sharedStore.exports;
|
|
341
|
+
|
|
342
|
+
var shared$4 = function (key, value) {
|
|
343
|
+
return store$2[key] || (store$2[key] = value || {});
|
|
344
|
+
};
|
|
345
|
+
|
|
356
346
|
var requireObjectCoercible$2 = requireObjectCoercible$4;
|
|
357
347
|
|
|
358
348
|
var $Object$1 = Object;
|
|
@@ -363,10 +353,10 @@ var toObject$3 = function (argument) {
|
|
|
363
353
|
return $Object$1(requireObjectCoercible$2(argument));
|
|
364
354
|
};
|
|
365
355
|
|
|
366
|
-
var uncurryThis$
|
|
356
|
+
var uncurryThis$a = functionUncurryThis;
|
|
367
357
|
var toObject$2 = toObject$3;
|
|
368
358
|
|
|
369
|
-
var hasOwnProperty = uncurryThis$
|
|
359
|
+
var hasOwnProperty = uncurryThis$a({}.hasOwnProperty);
|
|
370
360
|
|
|
371
361
|
// `HasOwnProperty` abstract operation
|
|
372
362
|
// https://tc39.es/ecma262/#sec-hasownproperty
|
|
@@ -375,24 +365,24 @@ var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
|
|
|
375
365
|
return hasOwnProperty(toObject$2(it), key);
|
|
376
366
|
};
|
|
377
367
|
|
|
378
|
-
var uncurryThis$
|
|
368
|
+
var uncurryThis$9 = functionUncurryThis;
|
|
379
369
|
|
|
380
370
|
var id = 0;
|
|
381
371
|
var postfix = Math.random();
|
|
382
|
-
var toString$4 = uncurryThis$
|
|
372
|
+
var toString$4 = uncurryThis$9(1.0.toString);
|
|
383
373
|
|
|
384
374
|
var uid$2 = function (key) {
|
|
385
375
|
return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$4(++id + postfix, 36);
|
|
386
376
|
};
|
|
387
377
|
|
|
388
|
-
var
|
|
389
|
-
var shared$3 = shared$4
|
|
378
|
+
var globalThis$8 = globalThis_1;
|
|
379
|
+
var shared$3 = shared$4;
|
|
390
380
|
var hasOwn$6 = hasOwnProperty_1;
|
|
391
381
|
var uid$1 = uid$2;
|
|
392
382
|
var NATIVE_SYMBOL = symbolConstructorDetection;
|
|
393
383
|
var USE_SYMBOL_AS_UID = useSymbolAsUid;
|
|
394
384
|
|
|
395
|
-
var Symbol$1 =
|
|
385
|
+
var Symbol$1 = globalThis$8.Symbol;
|
|
396
386
|
var WellKnownSymbolsStore = shared$3('wks');
|
|
397
387
|
var createWellKnownSymbol = USE_SYMBOL_AS_UID ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid$1;
|
|
398
388
|
|
|
@@ -404,7 +394,7 @@ var wellKnownSymbol$5 = function (name) {
|
|
|
404
394
|
} return WellKnownSymbolsStore[name];
|
|
405
395
|
};
|
|
406
396
|
|
|
407
|
-
var call$
|
|
397
|
+
var call$7 = functionCall;
|
|
408
398
|
var isObject$3 = isObject$5;
|
|
409
399
|
var isSymbol$1 = isSymbol$2;
|
|
410
400
|
var getMethod$1 = getMethod$2;
|
|
@@ -422,7 +412,7 @@ var toPrimitive$1 = function (input, pref) {
|
|
|
422
412
|
var result;
|
|
423
413
|
if (exoticToPrim) {
|
|
424
414
|
if (pref === undefined) pref = 'default';
|
|
425
|
-
result = call$
|
|
415
|
+
result = call$7(exoticToPrim, input, pref);
|
|
426
416
|
if (!isObject$3(result) || isSymbol$1(result)) return result;
|
|
427
417
|
throw new $TypeError$3("Can't convert object to primitive value");
|
|
428
418
|
}
|
|
@@ -440,10 +430,10 @@ var toPropertyKey$2 = function (argument) {
|
|
|
440
430
|
return isSymbol(key) ? key : key + '';
|
|
441
431
|
};
|
|
442
432
|
|
|
443
|
-
var
|
|
433
|
+
var globalThis$7 = globalThis_1;
|
|
444
434
|
var isObject$2 = isObject$5;
|
|
445
435
|
|
|
446
|
-
var document$1 =
|
|
436
|
+
var document$1 = globalThis$7.document;
|
|
447
437
|
// typeof document.createElement is 'object' in old IE
|
|
448
438
|
var EXISTS$1 = isObject$2(document$1) && isObject$2(document$1.createElement);
|
|
449
439
|
|
|
@@ -464,7 +454,7 @@ var ie8DomDefine = !DESCRIPTORS$8 && !fails$9(function () {
|
|
|
464
454
|
});
|
|
465
455
|
|
|
466
456
|
var DESCRIPTORS$7 = descriptors;
|
|
467
|
-
var call$
|
|
457
|
+
var call$6 = functionCall;
|
|
468
458
|
var propertyIsEnumerableModule$1 = objectPropertyIsEnumerable;
|
|
469
459
|
var createPropertyDescriptor$1 = createPropertyDescriptor$2;
|
|
470
460
|
var toIndexedObject$3 = toIndexedObject$4;
|
|
@@ -483,7 +473,7 @@ objectGetOwnPropertyDescriptor.f = DESCRIPTORS$7 ? $getOwnPropertyDescriptor$1 :
|
|
|
483
473
|
if (IE8_DOM_DEFINE$1) try {
|
|
484
474
|
return $getOwnPropertyDescriptor$1(O, P);
|
|
485
475
|
} catch (error) { /* empty */ }
|
|
486
|
-
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$
|
|
476
|
+
if (hasOwn$5(O, P)) return createPropertyDescriptor$1(!call$6(propertyIsEnumerableModule$1.f, O, P), O[P]);
|
|
487
477
|
};
|
|
488
478
|
|
|
489
479
|
var objectDefineProperty = {};
|
|
@@ -587,11 +577,11 @@ var functionName = {
|
|
|
587
577
|
CONFIGURABLE: CONFIGURABLE
|
|
588
578
|
};
|
|
589
579
|
|
|
590
|
-
var uncurryThis$
|
|
580
|
+
var uncurryThis$8 = functionUncurryThis;
|
|
591
581
|
var isCallable$7 = isCallable$d;
|
|
592
|
-
var store$1 = sharedStore;
|
|
582
|
+
var store$1 = sharedStore.exports;
|
|
593
583
|
|
|
594
|
-
var functionToString = uncurryThis$
|
|
584
|
+
var functionToString = uncurryThis$8(Function.toString);
|
|
595
585
|
|
|
596
586
|
// this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
|
|
597
587
|
if (!isCallable$7(store$1.inspectSource)) {
|
|
@@ -602,14 +592,14 @@ if (!isCallable$7(store$1.inspectSource)) {
|
|
|
602
592
|
|
|
603
593
|
var inspectSource$1 = store$1.inspectSource;
|
|
604
594
|
|
|
605
|
-
var
|
|
595
|
+
var globalThis$6 = globalThis_1;
|
|
606
596
|
var isCallable$6 = isCallable$d;
|
|
607
597
|
|
|
608
|
-
var WeakMap$1 =
|
|
598
|
+
var WeakMap$1 = globalThis$6.WeakMap;
|
|
609
599
|
|
|
610
600
|
var weakMapBasicDetection = isCallable$6(WeakMap$1) && /native code/.test(String(WeakMap$1));
|
|
611
601
|
|
|
612
|
-
var shared$2 = shared$4
|
|
602
|
+
var shared$2 = shared$4;
|
|
613
603
|
var uid = uid$2;
|
|
614
604
|
|
|
615
605
|
var keys = shared$2('keys');
|
|
@@ -621,17 +611,17 @@ var sharedKey$2 = function (key) {
|
|
|
621
611
|
var hiddenKeys$4 = {};
|
|
622
612
|
|
|
623
613
|
var NATIVE_WEAK_MAP = weakMapBasicDetection;
|
|
624
|
-
var
|
|
614
|
+
var globalThis$5 = globalThis_1;
|
|
625
615
|
var isObject = isObject$5;
|
|
626
616
|
var createNonEnumerableProperty$2 = createNonEnumerableProperty$3;
|
|
627
617
|
var hasOwn$3 = hasOwnProperty_1;
|
|
628
|
-
var shared$1 = sharedStore;
|
|
618
|
+
var shared$1 = sharedStore.exports;
|
|
629
619
|
var sharedKey$1 = sharedKey$2;
|
|
630
620
|
var hiddenKeys$3 = hiddenKeys$4;
|
|
631
621
|
|
|
632
622
|
var OBJECT_ALREADY_INITIALIZED = 'Object already initialized';
|
|
633
|
-
var TypeError$1 =
|
|
634
|
-
var WeakMap =
|
|
623
|
+
var TypeError$1 = globalThis$5.TypeError;
|
|
624
|
+
var WeakMap = globalThis$5.WeakMap;
|
|
635
625
|
var set, get, has;
|
|
636
626
|
|
|
637
627
|
var enforce = function (it) {
|
|
@@ -691,7 +681,7 @@ var internalState = {
|
|
|
691
681
|
getterFor: getterFor
|
|
692
682
|
};
|
|
693
683
|
|
|
694
|
-
var uncurryThis$
|
|
684
|
+
var uncurryThis$7 = functionUncurryThis;
|
|
695
685
|
var fails$7 = fails$e;
|
|
696
686
|
var isCallable$5 = isCallable$d;
|
|
697
687
|
var hasOwn$2 = hasOwnProperty_1;
|
|
@@ -705,9 +695,9 @@ var getInternalState$1 = InternalStateModule.get;
|
|
|
705
695
|
var $String$1 = String;
|
|
706
696
|
// eslint-disable-next-line es/no-object-defineproperty -- safe
|
|
707
697
|
var defineProperty$1 = Object.defineProperty;
|
|
708
|
-
var stringSlice$4 = uncurryThis$
|
|
709
|
-
var replace$2 = uncurryThis$
|
|
710
|
-
var join = uncurryThis$
|
|
698
|
+
var stringSlice$4 = uncurryThis$7(''.slice);
|
|
699
|
+
var replace$2 = uncurryThis$7(''.replace);
|
|
700
|
+
var join = uncurryThis$7([].join);
|
|
711
701
|
|
|
712
702
|
var CONFIGURABLE_LENGTH = DESCRIPTORS$2 && !fails$7(function () {
|
|
713
703
|
return defineProperty$1(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
|
|
@@ -717,7 +707,7 @@ var TEMPLATE = String(String).split('String');
|
|
|
717
707
|
|
|
718
708
|
var makeBuiltIn$1 = makeBuiltIn$2.exports = function (value, name, options) {
|
|
719
709
|
if (stringSlice$4($String$1(name), 0, 7) === 'Symbol(') {
|
|
720
|
-
name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\)
|
|
710
|
+
name = '[' + replace$2($String$1(name), /^Symbol\(([^)]*)\).*$/, '$1') + ']';
|
|
721
711
|
}
|
|
722
712
|
if (options && options.getter) name = 'get ' + name;
|
|
723
713
|
if (options && options.setter) name = 'set ' + name;
|
|
@@ -817,7 +807,8 @@ var min$1 = Math.min;
|
|
|
817
807
|
// `ToLength` abstract operation
|
|
818
808
|
// https://tc39.es/ecma262/#sec-tolength
|
|
819
809
|
var toLength$2 = function (argument) {
|
|
820
|
-
|
|
810
|
+
var len = toIntegerOrInfinity$2(argument);
|
|
811
|
+
return len > 0 ? min$1(len, 0x1FFFFFFFFFFFFF) : 0; // 2 ** 53 - 1 == 9007199254740991
|
|
821
812
|
};
|
|
822
813
|
|
|
823
814
|
var toLength$1 = toLength$2;
|
|
@@ -837,6 +828,7 @@ var createMethod$1 = function (IS_INCLUDES) {
|
|
|
837
828
|
return function ($this, el, fromIndex) {
|
|
838
829
|
var O = toIndexedObject$2($this);
|
|
839
830
|
var length = lengthOfArrayLike(O);
|
|
831
|
+
if (length === 0) return !IS_INCLUDES && -1;
|
|
840
832
|
var index = toAbsoluteIndex(fromIndex, length);
|
|
841
833
|
var value;
|
|
842
834
|
// Array#includes uses SameValueZero equality algorithm
|
|
@@ -861,13 +853,13 @@ var arrayIncludes = {
|
|
|
861
853
|
indexOf: createMethod$1(false)
|
|
862
854
|
};
|
|
863
855
|
|
|
864
|
-
var uncurryThis$
|
|
856
|
+
var uncurryThis$6 = functionUncurryThis;
|
|
865
857
|
var hasOwn$1 = hasOwnProperty_1;
|
|
866
858
|
var toIndexedObject$1 = toIndexedObject$4;
|
|
867
859
|
var indexOf$1 = arrayIncludes.indexOf;
|
|
868
860
|
var hiddenKeys$2 = hiddenKeys$4;
|
|
869
861
|
|
|
870
|
-
var push$1 = uncurryThis$
|
|
862
|
+
var push$1 = uncurryThis$6([].push);
|
|
871
863
|
|
|
872
864
|
var objectKeysInternal = function (object, names) {
|
|
873
865
|
var O = toIndexedObject$1(object);
|
|
@@ -911,12 +903,12 @@ var objectGetOwnPropertySymbols = {};
|
|
|
911
903
|
objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
|
|
912
904
|
|
|
913
905
|
var getBuiltIn$1 = getBuiltIn$3;
|
|
914
|
-
var uncurryThis$
|
|
906
|
+
var uncurryThis$5 = functionUncurryThis;
|
|
915
907
|
var getOwnPropertyNamesModule = objectGetOwnPropertyNames;
|
|
916
908
|
var getOwnPropertySymbolsModule$1 = objectGetOwnPropertySymbols;
|
|
917
909
|
var anObject$5 = anObject$7;
|
|
918
910
|
|
|
919
|
-
var concat$2 = uncurryThis$
|
|
911
|
+
var concat$2 = uncurryThis$5([].concat);
|
|
920
912
|
|
|
921
913
|
// all object keys, includes non-enumerable and symbols
|
|
922
914
|
var ownKeys$1 = getBuiltIn$1('Reflect', 'ownKeys') || function ownKeys(it) {
|
|
@@ -965,7 +957,7 @@ var POLYFILL = isForced$1.POLYFILL = 'P';
|
|
|
965
957
|
|
|
966
958
|
var isForced_1 = isForced$1;
|
|
967
959
|
|
|
968
|
-
var
|
|
960
|
+
var globalThis$4 = globalThis_1;
|
|
969
961
|
var getOwnPropertyDescriptor = objectGetOwnPropertyDescriptor.f;
|
|
970
962
|
var createNonEnumerableProperty$1 = createNonEnumerableProperty$3;
|
|
971
963
|
var defineBuiltIn$1 = defineBuiltIn$2;
|
|
@@ -994,11 +986,11 @@ var _export = function (options, source) {
|
|
|
994
986
|
var STATIC = options.stat;
|
|
995
987
|
var FORCED, target, key, targetProperty, sourceProperty, descriptor;
|
|
996
988
|
if (GLOBAL) {
|
|
997
|
-
target =
|
|
989
|
+
target = globalThis$4;
|
|
998
990
|
} else if (STATIC) {
|
|
999
|
-
target =
|
|
991
|
+
target = globalThis$4[TARGET] || defineGlobalProperty(TARGET, {});
|
|
1000
992
|
} else {
|
|
1001
|
-
target =
|
|
993
|
+
target = globalThis$4[TARGET] && globalThis$4[TARGET].prototype;
|
|
1002
994
|
}
|
|
1003
995
|
if (target) for (key in source) {
|
|
1004
996
|
sourceProperty = source[key];
|
|
@@ -1031,8 +1023,8 @@ var objectKeys$2 = Object.keys || function keys(O) {
|
|
|
1031
1023
|
};
|
|
1032
1024
|
|
|
1033
1025
|
var DESCRIPTORS$1 = descriptors;
|
|
1034
|
-
var uncurryThis$
|
|
1035
|
-
var call$
|
|
1026
|
+
var uncurryThis$4 = functionUncurryThis;
|
|
1027
|
+
var call$5 = functionCall;
|
|
1036
1028
|
var fails$5 = fails$e;
|
|
1037
1029
|
var objectKeys$1 = objectKeys$2;
|
|
1038
1030
|
var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
|
|
@@ -1044,7 +1036,7 @@ var IndexedObject = indexedObject;
|
|
|
1044
1036
|
var $assign = Object.assign;
|
|
1045
1037
|
// eslint-disable-next-line es/no-object-defineproperty -- required for testing
|
|
1046
1038
|
var defineProperty = Object.defineProperty;
|
|
1047
|
-
var concat$1 = uncurryThis$
|
|
1039
|
+
var concat$1 = uncurryThis$4([].concat);
|
|
1048
1040
|
|
|
1049
1041
|
// `Object.assign` method
|
|
1050
1042
|
// https://tc39.es/ecma262/#sec-object.assign
|
|
@@ -1082,7 +1074,7 @@ var objectAssign = !$assign || fails$5(function () {
|
|
|
1082
1074
|
var key;
|
|
1083
1075
|
while (length > j) {
|
|
1084
1076
|
key = keys[j++];
|
|
1085
|
-
if (!DESCRIPTORS$1 || call$
|
|
1077
|
+
if (!DESCRIPTORS$1 || call$5(propertyIsEnumerable, S, key)) T[key] = S[key];
|
|
1086
1078
|
}
|
|
1087
1079
|
} return T;
|
|
1088
1080
|
} : $assign;
|
|
@@ -1140,14 +1132,14 @@ var toStringTagSupport = String(test) === '[object z]';
|
|
|
1140
1132
|
|
|
1141
1133
|
var TO_STRING_TAG_SUPPORT = toStringTagSupport;
|
|
1142
1134
|
var isCallable$2 = isCallable$d;
|
|
1143
|
-
var classofRaw
|
|
1135
|
+
var classofRaw = classofRaw$1;
|
|
1144
1136
|
var wellKnownSymbol$2 = wellKnownSymbol$5;
|
|
1145
1137
|
|
|
1146
1138
|
var TO_STRING_TAG = wellKnownSymbol$2('toStringTag');
|
|
1147
1139
|
var $Object = Object;
|
|
1148
1140
|
|
|
1149
1141
|
// ES3 wrong here
|
|
1150
|
-
var CORRECT_ARGUMENTS = classofRaw
|
|
1142
|
+
var CORRECT_ARGUMENTS = classofRaw(function () { return arguments; }()) === 'Arguments';
|
|
1151
1143
|
|
|
1152
1144
|
// fallback for IE11 Script Access Denied error
|
|
1153
1145
|
var tryGet = function (it, key) {
|
|
@@ -1157,15 +1149,15 @@ var tryGet = function (it, key) {
|
|
|
1157
1149
|
};
|
|
1158
1150
|
|
|
1159
1151
|
// getting tag from ES6+ `Object.prototype.toString`
|
|
1160
|
-
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw
|
|
1152
|
+
var classof$2 = TO_STRING_TAG_SUPPORT ? classofRaw : function (it) {
|
|
1161
1153
|
var O, tag, result;
|
|
1162
1154
|
return it === undefined ? 'Undefined' : it === null ? 'Null'
|
|
1163
1155
|
// @@toStringTag case
|
|
1164
1156
|
: typeof (tag = tryGet(O = $Object(it), TO_STRING_TAG)) == 'string' ? tag
|
|
1165
1157
|
// builtinTag case
|
|
1166
|
-
: CORRECT_ARGUMENTS ? classofRaw
|
|
1158
|
+
: CORRECT_ARGUMENTS ? classofRaw(O)
|
|
1167
1159
|
// ES3 arguments fallback
|
|
1168
|
-
: (result = classofRaw
|
|
1160
|
+
: (result = classofRaw(O)) === 'Object' && isCallable$2(O.callee) ? 'Arguments' : result;
|
|
1169
1161
|
};
|
|
1170
1162
|
|
|
1171
1163
|
var classof$1 = classof$2;
|
|
@@ -1196,10 +1188,10 @@ var regexpFlags$1 = function () {
|
|
|
1196
1188
|
};
|
|
1197
1189
|
|
|
1198
1190
|
var fails$4 = fails$e;
|
|
1199
|
-
var
|
|
1191
|
+
var globalThis$3 = globalThis_1;
|
|
1200
1192
|
|
|
1201
1193
|
// babel-minify and Closure Compiler transpiles RegExp('a', 'y') -> /a/y and it causes SyntaxError
|
|
1202
|
-
var $RegExp$2 =
|
|
1194
|
+
var $RegExp$2 = globalThis$3.RegExp;
|
|
1203
1195
|
|
|
1204
1196
|
var UNSUPPORTED_Y$1 = fails$4(function () {
|
|
1205
1197
|
var re = $RegExp$2('a', 'y');
|
|
@@ -1279,7 +1271,8 @@ var NullProtoObjectViaActiveX = function (activeXDocument) {
|
|
|
1279
1271
|
activeXDocument.write(scriptTag(''));
|
|
1280
1272
|
activeXDocument.close();
|
|
1281
1273
|
var temp = activeXDocument.parentWindow.Object;
|
|
1282
|
-
|
|
1274
|
+
// eslint-disable-next-line no-useless-assignment -- avoid memory leak
|
|
1275
|
+
activeXDocument = null;
|
|
1283
1276
|
return temp;
|
|
1284
1277
|
};
|
|
1285
1278
|
|
|
@@ -1338,10 +1331,10 @@ var objectCreate = Object.create || function create(O, Properties) {
|
|
|
1338
1331
|
};
|
|
1339
1332
|
|
|
1340
1333
|
var fails$3 = fails$e;
|
|
1341
|
-
var
|
|
1334
|
+
var globalThis$2 = globalThis_1;
|
|
1342
1335
|
|
|
1343
1336
|
// babel-minify and Closure Compiler transpiles RegExp('.', 's') -> /./s and it causes SyntaxError
|
|
1344
|
-
var $RegExp$1 =
|
|
1337
|
+
var $RegExp$1 = globalThis$2.RegExp;
|
|
1345
1338
|
|
|
1346
1339
|
var regexpUnsupportedDotAll = fails$3(function () {
|
|
1347
1340
|
var re = $RegExp$1('.', 's');
|
|
@@ -1349,10 +1342,10 @@ var regexpUnsupportedDotAll = fails$3(function () {
|
|
|
1349
1342
|
});
|
|
1350
1343
|
|
|
1351
1344
|
var fails$2 = fails$e;
|
|
1352
|
-
var
|
|
1345
|
+
var globalThis$1 = globalThis_1;
|
|
1353
1346
|
|
|
1354
1347
|
// babel-minify and Closure Compiler transpiles RegExp('(?<a>b)', 'g') -> /(?<a>b)/g and it causes SyntaxError
|
|
1355
|
-
var $RegExp =
|
|
1348
|
+
var $RegExp = globalThis$1.RegExp;
|
|
1356
1349
|
|
|
1357
1350
|
var regexpUnsupportedNcg = fails$2(function () {
|
|
1358
1351
|
var re = $RegExp('(?<a>b)', 'g');
|
|
@@ -1362,12 +1355,12 @@ var regexpUnsupportedNcg = fails$2(function () {
|
|
|
1362
1355
|
|
|
1363
1356
|
/* eslint-disable regexp/no-empty-capturing-group, regexp/no-empty-group, regexp/no-lazy-ends -- testing */
|
|
1364
1357
|
/* eslint-disable regexp/no-useless-quantifier -- testing */
|
|
1365
|
-
var call$
|
|
1366
|
-
var uncurryThis$
|
|
1358
|
+
var call$4 = functionCall;
|
|
1359
|
+
var uncurryThis$3 = functionUncurryThis;
|
|
1367
1360
|
var toString$2 = toString$3;
|
|
1368
1361
|
var regexpFlags = regexpFlags$1;
|
|
1369
1362
|
var stickyHelpers = regexpStickyHelpers;
|
|
1370
|
-
var shared = shared$4
|
|
1363
|
+
var shared = shared$4;
|
|
1371
1364
|
var create = objectCreate;
|
|
1372
1365
|
var getInternalState = internalState.get;
|
|
1373
1366
|
var UNSUPPORTED_DOT_ALL = regexpUnsupportedDotAll;
|
|
@@ -1376,16 +1369,16 @@ var UNSUPPORTED_NCG = regexpUnsupportedNcg;
|
|
|
1376
1369
|
var nativeReplace = shared('native-string-replace', String.prototype.replace);
|
|
1377
1370
|
var nativeExec = RegExp.prototype.exec;
|
|
1378
1371
|
var patchedExec = nativeExec;
|
|
1379
|
-
var charAt$3 = uncurryThis$
|
|
1380
|
-
var indexOf = uncurryThis$
|
|
1381
|
-
var replace$1 = uncurryThis$
|
|
1382
|
-
var stringSlice$3 = uncurryThis$
|
|
1372
|
+
var charAt$3 = uncurryThis$3(''.charAt);
|
|
1373
|
+
var indexOf = uncurryThis$3(''.indexOf);
|
|
1374
|
+
var replace$1 = uncurryThis$3(''.replace);
|
|
1375
|
+
var stringSlice$3 = uncurryThis$3(''.slice);
|
|
1383
1376
|
|
|
1384
1377
|
var UPDATES_LAST_INDEX_WRONG = (function () {
|
|
1385
1378
|
var re1 = /a/;
|
|
1386
1379
|
var re2 = /b*/g;
|
|
1387
|
-
call$
|
|
1388
|
-
call$
|
|
1380
|
+
call$4(nativeExec, re1, 'a');
|
|
1381
|
+
call$4(nativeExec, re2, 'a');
|
|
1389
1382
|
return re1.lastIndex !== 0 || re2.lastIndex !== 0;
|
|
1390
1383
|
})();
|
|
1391
1384
|
|
|
@@ -1406,14 +1399,14 @@ if (PATCH) {
|
|
|
1406
1399
|
|
|
1407
1400
|
if (raw) {
|
|
1408
1401
|
raw.lastIndex = re.lastIndex;
|
|
1409
|
-
result = call$
|
|
1402
|
+
result = call$4(patchedExec, raw, str);
|
|
1410
1403
|
re.lastIndex = raw.lastIndex;
|
|
1411
1404
|
return result;
|
|
1412
1405
|
}
|
|
1413
1406
|
|
|
1414
1407
|
var groups = state.groups;
|
|
1415
1408
|
var sticky = UNSUPPORTED_Y && re.sticky;
|
|
1416
|
-
var flags = call$
|
|
1409
|
+
var flags = call$4(regexpFlags, re);
|
|
1417
1410
|
var source = re.source;
|
|
1418
1411
|
var charsAdded = 0;
|
|
1419
1412
|
var strCopy = str;
|
|
@@ -1441,7 +1434,7 @@ if (PATCH) {
|
|
|
1441
1434
|
}
|
|
1442
1435
|
if (UPDATES_LAST_INDEX_WRONG) lastIndex = re.lastIndex;
|
|
1443
1436
|
|
|
1444
|
-
match = call$
|
|
1437
|
+
match = call$4(nativeExec, sticky ? reCopy : re, strCopy);
|
|
1445
1438
|
|
|
1446
1439
|
if (sticky) {
|
|
1447
1440
|
if (match) {
|
|
@@ -1456,7 +1449,7 @@ if (PATCH) {
|
|
|
1456
1449
|
if (NPCG_INCLUDED && match && match.length > 1) {
|
|
1457
1450
|
// Fix browsers whose `exec` methods don't consistently return `undefined`
|
|
1458
1451
|
// for NPCG, like IE8. NOTE: This doesn't work for /(.?)?/
|
|
1459
|
-
call$
|
|
1452
|
+
call$4(nativeReplace, match[0], reCopy, function () {
|
|
1460
1453
|
for (i = 1; i < arguments.length - 2; i++) {
|
|
1461
1454
|
if (arguments[i] === undefined) match[i] = undefined;
|
|
1462
1455
|
}
|
|
@@ -1490,26 +1483,16 @@ var NATIVE_BIND = functionBindNative;
|
|
|
1490
1483
|
|
|
1491
1484
|
var FunctionPrototype = Function.prototype;
|
|
1492
1485
|
var apply$1 = FunctionPrototype.apply;
|
|
1493
|
-
var call$
|
|
1486
|
+
var call$3 = FunctionPrototype.call;
|
|
1494
1487
|
|
|
1495
1488
|
// eslint-disable-next-line es/no-reflect -- safe
|
|
1496
|
-
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$
|
|
1497
|
-
return call$
|
|
1489
|
+
var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND ? call$3.bind(apply$1) : function () {
|
|
1490
|
+
return call$3.apply(apply$1, arguments);
|
|
1498
1491
|
});
|
|
1499
1492
|
|
|
1500
|
-
var classofRaw = classofRaw$2;
|
|
1501
|
-
var uncurryThis$4 = functionUncurryThis;
|
|
1502
|
-
|
|
1503
|
-
var functionUncurryThisClause = function (fn) {
|
|
1504
|
-
// Nashorn bug:
|
|
1505
|
-
// https://github.com/zloirock/core-js/issues/1128
|
|
1506
|
-
// https://github.com/zloirock/core-js/issues/1130
|
|
1507
|
-
if (classofRaw(fn) === 'Function') return uncurryThis$4(fn);
|
|
1508
|
-
};
|
|
1509
|
-
|
|
1510
1493
|
// TODO: Remove from `core-js@4` since it's moved to entry points
|
|
1511
1494
|
|
|
1512
|
-
var
|
|
1495
|
+
var call$2 = functionCall;
|
|
1513
1496
|
var defineBuiltIn = defineBuiltIn$2;
|
|
1514
1497
|
var regexpExec$1 = regexpExec$2;
|
|
1515
1498
|
var fails$1 = fails$e;
|
|
@@ -1523,7 +1506,7 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1523
1506
|
var SYMBOL = wellKnownSymbol$1(KEY);
|
|
1524
1507
|
|
|
1525
1508
|
var DELEGATES_TO_SYMBOL = !fails$1(function () {
|
|
1526
|
-
// String methods call symbol-named
|
|
1509
|
+
// String methods call symbol-named RegExp methods
|
|
1527
1510
|
var O = {};
|
|
1528
1511
|
O[SYMBOL] = function () { return 7; };
|
|
1529
1512
|
return ''[KEY](O) !== 7;
|
|
@@ -1561,18 +1544,17 @@ var fixRegexpWellKnownSymbolLogic = function (KEY, exec, FORCED, SHAM) {
|
|
|
1561
1544
|
!DELEGATES_TO_EXEC ||
|
|
1562
1545
|
FORCED
|
|
1563
1546
|
) {
|
|
1564
|
-
var
|
|
1547
|
+
var nativeRegExpMethod = /./[SYMBOL];
|
|
1565
1548
|
var methods = exec(SYMBOL, ''[KEY], function (nativeMethod, regexp, str, arg2, forceStringMethod) {
|
|
1566
|
-
var uncurriedNativeMethod = uncurryThis$3(nativeMethod);
|
|
1567
1549
|
var $exec = regexp.exec;
|
|
1568
1550
|
if ($exec === regexpExec$1 || $exec === RegExpPrototype.exec) {
|
|
1569
1551
|
if (DELEGATES_TO_SYMBOL && !forceStringMethod) {
|
|
1570
1552
|
// The native String method already delegates to @@method (this
|
|
1571
1553
|
// polyfilled function), leasing to infinite recursion.
|
|
1572
1554
|
// We avoid it by directly calling the native @@method method.
|
|
1573
|
-
return { done: true, value:
|
|
1555
|
+
return { done: true, value: call$2(nativeRegExpMethod, regexp, str, arg2) };
|
|
1574
1556
|
}
|
|
1575
|
-
return { done: true, value:
|
|
1557
|
+
return { done: true, value: call$2(nativeMethod, str, regexp, arg2) };
|
|
1576
1558
|
}
|
|
1577
1559
|
return { done: false };
|
|
1578
1560
|
});
|
|
@@ -1678,7 +1660,7 @@ var getSubstitution$1 = function (matched, str, position, captures, namedCapture
|
|
|
1678
1660
|
var call$1 = functionCall;
|
|
1679
1661
|
var anObject$1 = anObject$7;
|
|
1680
1662
|
var isCallable$1 = isCallable$d;
|
|
1681
|
-
var classof = classofRaw$
|
|
1663
|
+
var classof = classofRaw$1;
|
|
1682
1664
|
var regexpExec = regexpExec$2;
|
|
1683
1665
|
|
|
1684
1666
|
var $TypeError = TypeError;
|
package/package.json
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@bolttech/atoms-segmented-control",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.21.0",
|
|
4
4
|
"main": "./index.cjs",
|
|
5
5
|
"type": "commonjs",
|
|
6
6
|
"types": "./src/index.d.ts",
|
|
7
7
|
"dependencies": {
|
|
8
|
-
"@bolttech/default-theme": "0.
|
|
9
|
-
"@bolttech/form-engine": "0.
|
|
10
|
-
"@bolttech/frontend-foundations": "0.
|
|
11
|
-
"@bolttech/ui-utils": "0.
|
|
8
|
+
"@bolttech/default-theme": "0.8.0",
|
|
9
|
+
"@bolttech/form-engine": "3.0.1-beta.5",
|
|
10
|
+
"@bolttech/frontend-foundations": "0.9.0",
|
|
11
|
+
"@bolttech/ui-utils": "0.4.0",
|
|
12
12
|
"react": "18.2.0",
|
|
13
13
|
"styled-components": "6.1.1"
|
|
14
14
|
},
|