@thecb/components 8.4.7-beta.6 → 8.4.8-beta.1

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/dist/index.cjs.js CHANGED
@@ -4997,6 +4997,8 @@ var BLACK_SQUEEZE = "#EAF2F7";
4997
4997
  var GREY_CHATEAU = "#959CA8"; // CBS-500
4998
4998
 
4999
4999
  var COOL_GREY_05 = "#fbfcfd"; // CBS-050
5000
+
5001
+ var MANATEE_GREY = "#878E9B"; // CB-60 (cool)
5000
5002
  // BLUE
5001
5003
 
5002
5004
  var CLOUDBURST_BLUE = "#26395c";
@@ -5131,6 +5133,7 @@ var colors = /*#__PURE__*/Object.freeze({
5131
5133
  CHARADE_GREY: CHARADE_GREY,
5132
5134
  GRECIAN_GREY: GRECIAN_GREY,
5133
5135
  COOL_GREY_05: COOL_GREY_05,
5136
+ MANATEE_GREY: MANATEE_GREY,
5134
5137
  BLACK_SQUEEZE: BLACK_SQUEEZE,
5135
5138
  GREY_CHATEAU: GREY_CHATEAU,
5136
5139
  CLOUDBURST_BLUE: CLOUDBURST_BLUE,
@@ -19013,14 +19016,12 @@ function _extends$1() {
19013
19016
  _extends$1 = Object.assign ? Object.assign.bind() : function (target) {
19014
19017
  for (var i = 1; i < arguments.length; i++) {
19015
19018
  var source = arguments[i];
19016
-
19017
19019
  for (var key in source) {
19018
19020
  if (Object.prototype.hasOwnProperty.call(source, key)) {
19019
19021
  target[key] = source[key];
19020
19022
  }
19021
19023
  }
19022
19024
  }
19023
-
19024
19025
  return target;
19025
19026
  };
19026
19027
  return _extends$1.apply(this, arguments);
@@ -19030,7 +19031,6 @@ function _assertThisInitialized(self) {
19030
19031
  if (self === void 0) {
19031
19032
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
19032
19033
  }
19033
-
19034
19034
  return self;
19035
19035
  }
19036
19036
 
@@ -19063,7 +19063,6 @@ function _isNativeReflectConstruct() {
19063
19063
  if (typeof Reflect === "undefined" || !Reflect.construct) return false;
19064
19064
  if (Reflect.construct.sham) return false;
19065
19065
  if (typeof Proxy === "function") return true;
19066
-
19067
19066
  try {
19068
19067
  Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {}));
19069
19068
  return true;
@@ -19085,30 +19084,23 @@ function _construct(Parent, args, Class) {
19085
19084
  return instance;
19086
19085
  };
19087
19086
  }
19088
-
19089
19087
  return _construct.apply(null, arguments);
19090
19088
  }
19091
19089
 
19092
19090
  function _wrapNativeSuper(Class) {
19093
19091
  var _cache = typeof Map === "function" ? new Map() : undefined;
19094
-
19095
19092
  _wrapNativeSuper = function _wrapNativeSuper(Class) {
19096
19093
  if (Class === null || !_isNativeFunction(Class)) return Class;
19097
-
19098
19094
  if (typeof Class !== "function") {
19099
19095
  throw new TypeError("Super expression must either be null or a function");
19100
19096
  }
19101
-
19102
19097
  if (typeof _cache !== "undefined") {
19103
19098
  if (_cache.has(Class)) return _cache.get(Class);
19104
-
19105
19099
  _cache.set(Class, Wrapper);
19106
19100
  }
19107
-
19108
19101
  function Wrapper() {
19109
19102
  return _construct(Class, arguments, _getPrototypeOf(this).constructor);
19110
19103
  }
19111
-
19112
19104
  Wrapper.prototype = Object.create(Class.prototype, {
19113
19105
  constructor: {
19114
19106
  value: Wrapper,
@@ -19119,7 +19111,6 @@ function _wrapNativeSuper(Class) {
19119
19111
  });
19120
19112
  return _setPrototypeOf(Wrapper, Class);
19121
19113
  };
19122
-
19123
19114
  return _wrapNativeSuper(Class);
19124
19115
  }
19125
19116
 
@@ -22402,7 +22393,7 @@ var check = function (it) {
22402
22393
 
22403
22394
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
22404
22395
  var global_1 =
22405
- // eslint-disable-next-line es-x/no-global-this -- safe
22396
+ // eslint-disable-next-line es/no-global-this -- safe
22406
22397
  check(typeof globalThis == 'object' && globalThis) ||
22407
22398
  check(typeof window == 'object' && window) ||
22408
22399
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -22421,12 +22412,12 @@ var fails = function (exec) {
22421
22412
 
22422
22413
  // Detect IE8's incomplete defineProperty implementation
22423
22414
  var descriptors = !fails(function () {
22424
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22415
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22425
22416
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
22426
22417
  });
22427
22418
 
22428
22419
  var functionBindNative = !fails(function () {
22429
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
22420
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
22430
22421
  var test = (function () { /* empty */ }).bind();
22431
22422
  // eslint-disable-next-line no-prototype-builtins -- safe
22432
22423
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -22439,7 +22430,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
22439
22430
  };
22440
22431
 
22441
22432
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
22442
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22433
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22443
22434
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22444
22435
 
22445
22436
  // Nashorn ~ JDK8 bug
@@ -22466,14 +22457,11 @@ var createPropertyDescriptor = function (bitmap, value) {
22466
22457
  };
22467
22458
 
22468
22459
  var FunctionPrototype = Function.prototype;
22469
- var bind$1 = FunctionPrototype.bind;
22470
22460
  var call$1 = FunctionPrototype.call;
22471
- var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
22461
+ var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
22472
22462
 
22473
- var functionUncurryThis = functionBindNative ? function (fn) {
22474
- return fn && uncurryThis(fn);
22475
- } : function (fn) {
22476
- return fn && function () {
22463
+ var functionUncurryThis = functionBindNative ? uncurryThisWithBind : function (fn) {
22464
+ return function () {
22477
22465
  return call$1.apply(fn, arguments);
22478
22466
  };
22479
22467
  };
@@ -22497,12 +22485,18 @@ var indexedObject = fails(function () {
22497
22485
  return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
22498
22486
  } : $Object;
22499
22487
 
22488
+ // we can't use just `it == null` since of `document.all` special case
22489
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
22490
+ var isNullOrUndefined = function (it) {
22491
+ return it === null || it === undefined;
22492
+ };
22493
+
22500
22494
  var $TypeError = TypeError;
22501
22495
 
22502
22496
  // `RequireObjectCoercible` abstract operation
22503
22497
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
22504
22498
  var requireObjectCoercible = function (it) {
22505
- if (it == undefined) throw $TypeError("Can't call method on " + it);
22499
+ if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
22506
22500
  return it;
22507
22501
  };
22508
22502
 
@@ -22514,13 +22508,32 @@ var toIndexedObject = function (it) {
22514
22508
  return indexedObject(requireObjectCoercible(it));
22515
22509
  };
22516
22510
 
22511
+ var documentAll = typeof document == 'object' && document.all;
22512
+
22513
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
22514
+ // eslint-disable-next-line unicorn/no-typeof-undefined -- required for testing
22515
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
22516
+
22517
+ var documentAll_1 = {
22518
+ all: documentAll,
22519
+ IS_HTMLDDA: IS_HTMLDDA
22520
+ };
22521
+
22522
+ var documentAll$1 = documentAll_1.all;
22523
+
22517
22524
  // `IsCallable` abstract operation
22518
22525
  // https://tc39.es/ecma262/#sec-iscallable
22519
- var isCallable = function (argument) {
22526
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
22527
+ return typeof argument == 'function' || argument === documentAll$1;
22528
+ } : function (argument) {
22520
22529
  return typeof argument == 'function';
22521
22530
  };
22522
22531
 
22523
- var isObject = function (it) {
22532
+ var documentAll$2 = documentAll_1.all;
22533
+
22534
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
22535
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
22536
+ } : function (it) {
22524
22537
  return typeof it == 'object' ? it !== null : isCallable(it);
22525
22538
  };
22526
22539
 
@@ -22534,7 +22547,7 @@ var getBuiltIn = function (namespace, method) {
22534
22547
 
22535
22548
  var objectIsPrototypeOf = functionUncurryThis({}.isPrototypeOf);
22536
22549
 
22537
- var engineUserAgent = getBuiltIn('navigator', 'userAgent') || '';
22550
+ var engineUserAgent = typeof navigator != 'undefined' && String(navigator.userAgent) || '';
22538
22551
 
22539
22552
  var process$1 = global_1.process;
22540
22553
  var Deno = global_1.Deno;
@@ -22561,12 +22574,12 @@ if (!version && engineUserAgent) {
22561
22574
 
22562
22575
  var engineV8Version = version;
22563
22576
 
22564
- /* eslint-disable es-x/no-symbol -- required for testing */
22577
+ /* eslint-disable es/no-symbol -- required for testing */
22565
22578
 
22566
22579
 
22567
22580
 
22568
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
22569
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22581
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
22582
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
22570
22583
  var symbol = Symbol();
22571
22584
  // Chrome 38 Symbol has incorrect toString conversion
22572
22585
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -22575,10 +22588,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
22575
22588
  !Symbol.sham && engineV8Version && engineV8Version < 41;
22576
22589
  });
22577
22590
 
22578
- /* eslint-disable es-x/no-symbol -- required for testing */
22591
+ /* eslint-disable es/no-symbol -- required for testing */
22579
22592
 
22580
22593
 
22581
- var useSymbolAsUid = nativeSymbol
22594
+ var useSymbolAsUid = symbolConstructorDetection
22582
22595
  && !Symbol.sham
22583
22596
  && typeof Symbol.iterator == 'symbol';
22584
22597
 
@@ -22613,7 +22626,7 @@ var aCallable = function (argument) {
22613
22626
  // https://tc39.es/ecma262/#sec-getmethod
22614
22627
  var getMethod = function (V, P) {
22615
22628
  var func = V[P];
22616
- return func == null ? undefined : aCallable(func);
22629
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
22617
22630
  };
22618
22631
 
22619
22632
  var $TypeError$2 = TypeError;
@@ -22628,7 +22641,7 @@ var ordinaryToPrimitive = function (input, pref) {
22628
22641
  throw $TypeError$2("Can't convert object to primitive value");
22629
22642
  };
22630
22643
 
22631
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22644
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22632
22645
  var defineProperty = Object.defineProperty;
22633
22646
 
22634
22647
  var defineGlobalProperty = function (key, value) {
@@ -22648,10 +22661,10 @@ var shared = createCommonjsModule(function (module) {
22648
22661
  (module.exports = function (key, value) {
22649
22662
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
22650
22663
  })('versions', []).push({
22651
- version: '3.24.1',
22664
+ version: '3.29.0',
22652
22665
  mode: 'global',
22653
- copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
22654
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
22666
+ copyright: '© 2014-2023 Denis Pushkarev (zloirock.ru)',
22667
+ license: 'https://github.com/zloirock/core-js/blob/v3.29.0/LICENSE',
22655
22668
  source: 'https://github.com/zloirock/core-js'
22656
22669
  });
22657
22670
  });
@@ -22668,7 +22681,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
22668
22681
 
22669
22682
  // `HasOwnProperty` abstract operation
22670
22683
  // https://tc39.es/ecma262/#sec-hasownproperty
22671
- // eslint-disable-next-line es-x/no-object-hasown -- safe
22684
+ // eslint-disable-next-line es/no-object-hasown -- safe
22672
22685
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
22673
22686
  return hasOwnProperty(toObject(it), key);
22674
22687
  };
@@ -22681,21 +22694,15 @@ var uid = function (key) {
22681
22694
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString$3(++id + postfix, 36);
22682
22695
  };
22683
22696
 
22684
- var WellKnownSymbolsStore = shared('wks');
22685
22697
  var Symbol$1 = global_1.Symbol;
22686
- var symbolFor = Symbol$1 && Symbol$1['for'];
22687
- var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22698
+ var WellKnownSymbolsStore = shared('wks');
22699
+ var createWellKnownSymbol = useSymbolAsUid ? Symbol$1['for'] || Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
22688
22700
 
22689
22701
  var wellKnownSymbol = function (name) {
22690
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
22691
- var description = 'Symbol.' + name;
22692
- if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
22693
- WellKnownSymbolsStore[name] = Symbol$1[name];
22694
- } else if (useSymbolAsUid && symbolFor) {
22695
- WellKnownSymbolsStore[name] = symbolFor(description);
22696
- } else {
22697
- WellKnownSymbolsStore[name] = createWellKnownSymbol(description);
22698
- }
22702
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name)) {
22703
+ WellKnownSymbolsStore[name] = symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)
22704
+ ? Symbol$1[name]
22705
+ : createWellKnownSymbol('Symbol.' + name);
22699
22706
  } return WellKnownSymbolsStore[name];
22700
22707
  };
22701
22708
 
@@ -22735,13 +22742,13 @@ var documentCreateElement = function (it) {
22735
22742
 
22736
22743
  // Thanks to IE8 for its funny defineProperty
22737
22744
  var ie8DomDefine = !descriptors && !fails(function () {
22738
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22745
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22739
22746
  return Object.defineProperty(documentCreateElement('div'), 'a', {
22740
22747
  get: function () { return 7; }
22741
22748
  }).a != 7;
22742
22749
  });
22743
22750
 
22744
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22751
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22745
22752
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
22746
22753
 
22747
22754
  // `Object.getOwnPropertyDescriptor` method
@@ -22762,7 +22769,7 @@ var objectGetOwnPropertyDescriptor = {
22762
22769
  // V8 ~ Chrome 36-
22763
22770
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
22764
22771
  var v8PrototypeDefineBug = descriptors && fails(function () {
22765
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
22772
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
22766
22773
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
22767
22774
  value: 42,
22768
22775
  writable: false
@@ -22779,9 +22786,9 @@ var anObject = function (argument) {
22779
22786
  };
22780
22787
 
22781
22788
  var $TypeError$5 = TypeError;
22782
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22789
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22783
22790
  var $defineProperty = Object.defineProperty;
22784
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22791
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22785
22792
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
22786
22793
  var ENUMERABLE = 'enumerable';
22787
22794
  var CONFIGURABLE = 'configurable';
@@ -22828,7 +22835,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
22828
22835
  };
22829
22836
 
22830
22837
  var FunctionPrototype$1 = Function.prototype;
22831
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22838
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22832
22839
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
22833
22840
 
22834
22841
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -22855,7 +22862,7 @@ var inspectSource = sharedStore.inspectSource;
22855
22862
 
22856
22863
  var WeakMap$1 = global_1.WeakMap;
22857
22864
 
22858
- var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
22865
+ var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
22859
22866
 
22860
22867
  var keys$1 = shared('keys');
22861
22868
 
@@ -22883,28 +22890,30 @@ var getterFor = function (TYPE) {
22883
22890
  };
22884
22891
  };
22885
22892
 
22886
- if (nativeWeakMap || sharedStore.state) {
22893
+ if (weakMapBasicDetection || sharedStore.state) {
22887
22894
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
22888
- var wmget = functionUncurryThis(store$1.get);
22889
- var wmhas = functionUncurryThis(store$1.has);
22890
- var wmset = functionUncurryThis(store$1.set);
22895
+ /* eslint-disable no-self-assign -- prototype methods protection */
22896
+ store$1.get = store$1.get;
22897
+ store$1.has = store$1.has;
22898
+ store$1.set = store$1.set;
22899
+ /* eslint-enable no-self-assign -- prototype methods protection */
22891
22900
  set = function (it, metadata) {
22892
- if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22901
+ if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
22893
22902
  metadata.facade = it;
22894
- wmset(store$1, it, metadata);
22903
+ store$1.set(it, metadata);
22895
22904
  return metadata;
22896
22905
  };
22897
22906
  get = function (it) {
22898
- return wmget(store$1, it) || {};
22907
+ return store$1.get(it) || {};
22899
22908
  };
22900
22909
  has = function (it) {
22901
- return wmhas(store$1, it);
22910
+ return store$1.has(it);
22902
22911
  };
22903
22912
  } else {
22904
22913
  var STATE = sharedKey('state');
22905
22914
  hiddenKeys[STATE] = true;
22906
22915
  set = function (it, metadata) {
22907
- if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
22916
+ if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
22908
22917
  metadata.facade = it;
22909
22918
  createNonEnumerableProperty(it, STATE, metadata);
22910
22919
  return metadata;
@@ -22932,8 +22941,12 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
22932
22941
 
22933
22942
  var enforceInternalState = internalState.enforce;
22934
22943
  var getInternalState = internalState.get;
22935
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
22944
+ var $String = String;
22945
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
22936
22946
  var defineProperty = Object.defineProperty;
22947
+ var stringSlice = functionUncurryThis(''.slice);
22948
+ var replace = functionUncurryThis(''.replace);
22949
+ var join = functionUncurryThis([].join);
22937
22950
 
22938
22951
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22939
22952
  return defineProperty(function () { /* empty */ }, 'length', { value: 8 }).length !== 8;
@@ -22942,8 +22955,8 @@ var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
22942
22955
  var TEMPLATE = String(String).split('String');
22943
22956
 
22944
22957
  var makeBuiltIn = module.exports = function (value, name, options) {
22945
- if (String(name).slice(0, 7) === 'Symbol(') {
22946
- name = '[' + String(name).replace(/^Symbol\(([^)]*)\)/, '$1') + ']';
22958
+ if (stringSlice($String(name), 0, 7) === 'Symbol(') {
22959
+ name = '[' + replace($String(name), /^Symbol\(([^)]*)\)/, '$1') + ']';
22947
22960
  }
22948
22961
  if (options && options.getter) name = 'get ' + name;
22949
22962
  if (options && options.setter) name = 'set ' + name;
@@ -22962,7 +22975,7 @@ var makeBuiltIn = module.exports = function (value, name, options) {
22962
22975
  } catch (error) { /* empty */ }
22963
22976
  var state = enforceInternalState(value);
22964
22977
  if (!hasOwnProperty_1(state, 'source')) {
22965
- state.source = TEMPLATE.join(typeof name == 'string' ? name : '');
22978
+ state.source = join(TEMPLATE, typeof name == 'string' ? name : '');
22966
22979
  } return value;
22967
22980
  };
22968
22981
 
@@ -23001,7 +23014,7 @@ var floor = Math.floor;
23001
23014
 
23002
23015
  // `Math.trunc` method
23003
23016
  // https://tc39.es/ecma262/#sec-math.trunc
23004
- // eslint-disable-next-line es-x/no-math-trunc -- safe
23017
+ // eslint-disable-next-line es/no-math-trunc -- safe
23005
23018
  var mathTrunc = Math.trunc || function trunc(x) {
23006
23019
  var n = +x;
23007
23020
  return (n > 0 ? floor : ceil)(n);
@@ -23102,7 +23115,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
23102
23115
 
23103
23116
  // `Object.getOwnPropertyNames` method
23104
23117
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
23105
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
23118
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
23106
23119
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
23107
23120
  return objectKeysInternal(O, hiddenKeys$1);
23108
23121
  };
@@ -23111,7 +23124,7 @@ var objectGetOwnPropertyNames = {
23111
23124
  f: f$3
23112
23125
  };
23113
23126
 
23114
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
23127
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
23115
23128
  var f$4 = Object.getOwnPropertySymbols;
23116
23129
 
23117
23130
  var objectGetOwnPropertySymbols = {
@@ -23255,7 +23268,7 @@ var toString_1 = function (argument) {
23255
23268
  var charAt = functionUncurryThis(''.charAt);
23256
23269
 
23257
23270
  var FORCED = fails(function () {
23258
- // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
23271
+ // eslint-disable-next-line es/no-array-string-prototype-at -- safe
23259
23272
  return '𠮷'.at(-2) !== '\uD842';
23260
23273
  });
23261
23274
 
@@ -23273,14 +23286,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
23273
23286
 
23274
23287
  // `Object.keys` method
23275
23288
  // https://tc39.es/ecma262/#sec-object.keys
23276
- // eslint-disable-next-line es-x/no-object-keys -- safe
23289
+ // eslint-disable-next-line es/no-object-keys -- safe
23277
23290
  var objectKeys = Object.keys || function keys(O) {
23278
23291
  return objectKeysInternal(O, enumBugKeys);
23279
23292
  };
23280
23293
 
23281
23294
  // `Object.defineProperties` method
23282
23295
  // https://tc39.es/ecma262/#sec-object.defineproperties
23283
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
23296
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
23284
23297
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
23285
23298
  anObject(O);
23286
23299
  var props = toIndexedObject(Properties);
@@ -23369,7 +23382,7 @@ hiddenKeys[IE_PROTO] = true;
23369
23382
 
23370
23383
  // `Object.create` method
23371
23384
  // https://tc39.es/ecma262/#sec-object.create
23372
- // eslint-disable-next-line es-x/no-object-create -- safe
23385
+ // eslint-disable-next-line es/no-object-create -- safe
23373
23386
  var objectCreate = Object.create || function create(O, Properties) {
23374
23387
  var result;
23375
23388
  if (O !== null) {
@@ -23415,13 +23428,19 @@ _export({ target: 'Array', proto: true }, {
23415
23428
 
23416
23429
  addToUnscopables('at');
23417
23430
 
23418
- // eslint-disable-next-line es-x/no-typed-arrays -- safe
23419
- var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23431
+ // eslint-disable-next-line es/no-typed-arrays -- safe
23432
+ var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
23433
+
23434
+ var defineBuiltInAccessor = function (target, name, descriptor) {
23435
+ if (descriptor.get) makeBuiltIn_1(descriptor.get, name, { getter: true });
23436
+ if (descriptor.set) makeBuiltIn_1(descriptor.set, name, { setter: true });
23437
+ return objectDefineProperty.f(target, name, descriptor);
23438
+ };
23420
23439
 
23421
23440
  var correctPrototypeGetter = !fails(function () {
23422
23441
  function F() { /* empty */ }
23423
23442
  F.prototype.constructor = null;
23424
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
23443
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
23425
23444
  return Object.getPrototypeOf(new F()) !== F.prototype;
23426
23445
  });
23427
23446
 
@@ -23431,7 +23450,7 @@ var ObjectPrototype = $Object$4.prototype;
23431
23450
 
23432
23451
  // `Object.getPrototypeOf` method
23433
23452
  // https://tc39.es/ecma262/#sec-object.getprototypeof
23434
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
23453
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
23435
23454
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
23436
23455
  var object = toObject(O);
23437
23456
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -23441,6 +23460,13 @@ var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : f
23441
23460
  } return object instanceof $Object$4 ? ObjectPrototype : null;
23442
23461
  };
23443
23462
 
23463
+ var functionUncurryThisAccessor = function (object, key, method) {
23464
+ try {
23465
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
23466
+ return functionUncurryThis(aCallable(Object.getOwnPropertyDescriptor(object, key)[method]));
23467
+ } catch (error) { /* empty */ }
23468
+ };
23469
+
23444
23470
  var $String$3 = String;
23445
23471
  var $TypeError$6 = TypeError;
23446
23472
 
@@ -23457,14 +23483,13 @@ var aPossiblePrototype = function (argument) {
23457
23483
  // `Object.setPrototypeOf` method
23458
23484
  // https://tc39.es/ecma262/#sec-object.setprototypeof
23459
23485
  // Works with __proto__ only. Old v8 can't work with null proto objects.
23460
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
23486
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
23461
23487
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
23462
23488
  var CORRECT_SETTER = false;
23463
23489
  var test = {};
23464
23490
  var setter;
23465
23491
  try {
23466
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
23467
- setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
23492
+ setter = functionUncurryThisAccessor(Object.prototype, '__proto__', 'set');
23468
23493
  setter(test, []);
23469
23494
  CORRECT_SETTER = test instanceof Array;
23470
23495
  } catch (error) { /* empty */ }
@@ -23477,14 +23502,6 @@ var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? functio
23477
23502
  };
23478
23503
  }() : undefined);
23479
23504
 
23480
- var defineProperty$2 = objectDefineProperty.f;
23481
-
23482
-
23483
-
23484
-
23485
-
23486
-
23487
-
23488
23505
  var enforceInternalState = internalState.enforce;
23489
23506
  var getInternalState = internalState.get;
23490
23507
  var Int8Array = global_1.Int8Array;
@@ -23500,7 +23517,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
23500
23517
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
23501
23518
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
23502
23519
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
23503
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23520
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
23504
23521
  var TYPED_ARRAY_TAG_REQUIRED = false;
23505
23522
  var NAME, Constructor, Prototype;
23506
23523
 
@@ -23635,9 +23652,12 @@ if (NATIVE_ARRAY_BUFFER_VIEWS && objectGetPrototypeOf(Uint8ClampedArrayPrototype
23635
23652
 
23636
23653
  if (descriptors && !hasOwnProperty_1(TypedArrayPrototype, TO_STRING_TAG$2)) {
23637
23654
  TYPED_ARRAY_TAG_REQUIRED = true;
23638
- defineProperty$2(TypedArrayPrototype, TO_STRING_TAG$2, { get: function () {
23639
- return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23640
- } });
23655
+ defineBuiltInAccessor(TypedArrayPrototype, TO_STRING_TAG$2, {
23656
+ configurable: true,
23657
+ get: function () {
23658
+ return isObject(this) ? this[TYPED_ARRAY_TAG] : undefined;
23659
+ }
23660
+ });
23641
23661
  for (NAME in TypedArrayConstructorsList) if (global_1[NAME]) {
23642
23662
  createNonEnumerableProperty(global_1[NAME], TYPED_ARRAY_TAG, NAME);
23643
23663
  }
@@ -49411,6 +49431,8 @@ var fallbackValues$Q = {
49411
49431
  dataQa: string,
49412
49432
  content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work),
49413
49433
  rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
49434
+ contentOverride: <React Component(s)> (Replace the radio section and the containers with different content,
49435
+ intended for inserting a divider bar or other non-interactive css)
49414
49436
  }
49415
49437
 
49416
49438
  Also takes an "openSection" which should equal the id of the section that should be open
@@ -49438,6 +49460,8 @@ var RadioSection = function RadioSection(_ref) {
49438
49460
  initiallyOpen = _ref$initiallyOpen === void 0 ? true : _ref$initiallyOpen,
49439
49461
  _ref$openHeight = _ref.openHeight,
49440
49462
  openHeight = _ref$openHeight === void 0 ? "auto" : _ref$openHeight,
49463
+ _ref$containerStyles = _ref.containerStyles,
49464
+ containerStyles = _ref$containerStyles === void 0 ? "" : _ref$containerStyles,
49441
49465
  ariaDescribedBy = _ref.ariaDescribedBy;
49442
49466
 
49443
49467
  var handleKeyDown = function handleKeyDown(id, e) {
@@ -49490,13 +49514,14 @@ var RadioSection = function RadioSection(_ref) {
49490
49514
  return /*#__PURE__*/React__default.createElement(Box, {
49491
49515
  padding: "1px",
49492
49516
  border: "1px solid ".concat(themeValues.borderColor),
49493
- borderRadius: "4px"
49517
+ borderRadius: "4px",
49518
+ extraStyles: containerStyles
49494
49519
  }, /*#__PURE__*/React__default.createElement(Stack, {
49495
49520
  childGap: "0"
49496
49521
  }, sections.filter(function (section) {
49497
49522
  return !section.hidden;
49498
49523
  }).map(function (section) {
49499
- return /*#__PURE__*/React__default.createElement(Motion, {
49524
+ return section.contentOverride ? section.contentOverride : /*#__PURE__*/React__default.createElement(Motion, {
49500
49525
  tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
49501
49526
  onKeyDown: function onKeyDown(e) {
49502
49527
  return !section.disabled && handleKeyDown(section.id, e);