@thecb/components 7.7.6-beta.7 → 7.7.7

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.esm.js CHANGED
@@ -12549,6 +12549,7 @@ var padding = {
12549
12549
  tertiary: "0.75rem 1.5rem",
12550
12550
  ghost: "0.65rem 0",
12551
12551
  danger: "0.75rem 1.5rem",
12552
+ dangerSecondary: "0.75rem 1.5rem",
12552
12553
  whiteSecondary: "0.75rem 2rem",
12553
12554
  whitePrimary: "1.125rem 0.75rem"
12554
12555
  };
@@ -12562,6 +12563,7 @@ var color$1 = {
12562
12563
  ghost: "#15749D",
12563
12564
  tertiary: "#15749D",
12564
12565
  danger: "#FFFFFF",
12566
+ dangerSecondary: "#D11053",
12565
12567
  whiteSecondary: "#FFFFFF",
12566
12568
  whitePrimary: "#FFFFFF"
12567
12569
  };
@@ -12575,6 +12577,7 @@ var fontSizeVariant = {
12575
12577
  ghost: "pL",
12576
12578
  tertiary: "pS",
12577
12579
  danger: "pS",
12580
+ dangerSecondary: "pS",
12578
12581
  whiteSecondary: "pS",
12579
12582
  whitePrimary: "pS"
12580
12583
  };
@@ -12588,6 +12591,7 @@ var fontWeight = {
12588
12591
  ghost: "600",
12589
12592
  tertiary: "600",
12590
12593
  danger: "600",
12594
+ dangerSecondary: "600",
12591
12595
  whiteSecondary: "600",
12592
12596
  whitePrimary: "600"
12593
12597
  };
@@ -12601,6 +12605,7 @@ var height = {
12601
12605
  ghost: "3rem",
12602
12606
  tertiary: "3rem",
12603
12607
  danger: "3rem",
12608
+ dangerSecondary: "3rem",
12604
12609
  whiteSecondary: "3rem",
12605
12610
  whitePrimary: "auto"
12606
12611
  };
@@ -12614,6 +12619,7 @@ var minWidth = {
12614
12619
  ghost: "130px",
12615
12620
  tertiary: "130px",
12616
12621
  danger: "130px",
12622
+ dangerSecondary: "157px",
12617
12623
  whiteSecondary: "160px",
12618
12624
  whitePrimary: "130px"
12619
12625
  };
@@ -12627,6 +12633,7 @@ var backgroundColor = {
12627
12633
  ghost: "transparent",
12628
12634
  tertiary: "transparent",
12629
12635
  danger: "#ED125F",
12636
+ dangerSecondary: "transparent",
12630
12637
  whiteSecondary: "transparent",
12631
12638
  whitePrimary: "transparent"
12632
12639
  };
@@ -12640,6 +12647,7 @@ var border = {
12640
12647
  ghost: "none",
12641
12648
  tertiary: "none",
12642
12649
  danger: "2px solid #ED125F",
12650
+ dangerSecondary: "2px solid #D11053",
12643
12651
  whiteSecondary: "2px solid white",
12644
12652
  whitePrimary: "2px solid transparent"
12645
12653
  };
@@ -12653,6 +12661,7 @@ var hoverBackgroundColor = {
12653
12661
  ghost: "transparent",
12654
12662
  tertiary: "transparent",
12655
12663
  danger: "#BA002C",
12664
+ dangerSecondary: "transparent",
12656
12665
  whiteSecondary: "transparent",
12657
12666
  whitePrimary: "transparent"
12658
12667
  };
@@ -12666,6 +12675,7 @@ var hoverBorderColor = {
12666
12675
  ghost: "transparent",
12667
12676
  tertiary: "transparent",
12668
12677
  danger: "#BA002C",
12678
+ dangerSecondary: "#B10541",
12669
12679
  whiteSecondary: "2px solid transparent",
12670
12680
  whitePrimary: "2px solid transparent"
12671
12681
  };
@@ -12679,6 +12689,7 @@ var hoverColor = {
12679
12689
  ghost: "#116285",
12680
12690
  tertiary: "#116285",
12681
12691
  danger: "#FFFFFF",
12692
+ dangerSecondary: "#B10541",
12682
12693
  whiteSecondary: "#FFFFFF",
12683
12694
  whitePrimary: "#FFFFFF"
12684
12695
  };
@@ -12692,6 +12703,7 @@ var activeBackgroundColor = {
12692
12703
  ghost: "transparent",
12693
12704
  tertiary: "transparent",
12694
12705
  danger: "#870000",
12706
+ dangerSecondary: "transparent",
12695
12707
  whiteSecondary: "transparent",
12696
12708
  whitePrimary: "transparent"
12697
12709
  };
@@ -12705,6 +12717,7 @@ var activeBorderColor = {
12705
12717
  ghost: "transparent",
12706
12718
  tertiary: "transparent",
12707
12719
  danger: "#870000",
12720
+ dangerSecondary: "#910029",
12708
12721
  whiteSecondary: "2px solid transparent",
12709
12722
  whitePrimary: "2px solid transparent"
12710
12723
  };
@@ -12718,6 +12731,7 @@ var activeColor = {
12718
12731
  ghost: "#0E506D",
12719
12732
  tertiary: "#0E506D",
12720
12733
  danger: "#FFFFFF",
12734
+ dangerSecondary: "#910029",
12721
12735
  whiteSecondary: "#FFFFFF",
12722
12736
  whitePrimary: "#FFFFFF"
12723
12737
  };
@@ -12803,7 +12817,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
12803
12817
  }))))));
12804
12818
  };
12805
12819
 
12806
- var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
12820
+ var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "loadingColor", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children", "extraDisabledStyles"];
12807
12821
  var rotate$1 = posed.div({
12808
12822
  fixed: {
12809
12823
  rotate: "0deg"
@@ -12829,11 +12843,13 @@ var SpinnerIconWrapper$1 = styled(rotate$1).withConfig({
12829
12843
  })([""]);
12830
12844
 
12831
12845
  var Spinner = function Spinner(_ref) {
12832
- var isMobile = _ref.isMobile;
12846
+ var color = _ref.color,
12847
+ isMobile = _ref.isMobile;
12833
12848
  return /*#__PURE__*/React.createElement(SpinnerContainer$1, null, /*#__PURE__*/React.createElement(SpinnerIconWrapper$1, {
12834
12849
  initialPose: "fixed",
12835
12850
  pose: "rotate"
12836
12851
  }, /*#__PURE__*/React.createElement(SpinnerIcon, {
12852
+ color: color,
12837
12853
  isMobile: isMobile
12838
12854
  })));
12839
12855
  };
@@ -12864,6 +12880,8 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
12864
12880
  textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
12865
12881
  _ref2$isLoading = _ref2.isLoading,
12866
12882
  isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
12883
+ _ref2$loadingColor = _ref2.loadingColor,
12884
+ loadingColor = _ref2$loadingColor === void 0 ? "white" : _ref2$loadingColor,
12867
12885
  _ref2$dataQa = _ref2.dataQa,
12868
12886
  dataQa = _ref2$dataQa === void 0 ? null : _ref2$dataQa,
12869
12887
  textExtraStyles = _ref2.textExtraStyles,
@@ -12902,6 +12920,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
12902
12920
  }, rest), contentOverride ? children : /*#__PURE__*/React.createElement(Center, {
12903
12921
  intrinsic: true
12904
12922
  }, isLoading ? /*#__PURE__*/React.createElement(Spinner, {
12923
+ color: loadingColor,
12905
12924
  isMobile: isMobile
12906
12925
  }) : /*#__PURE__*/React.createElement(Text$1, {
12907
12926
  weight: themeValues.fontWeight,
@@ -21300,7 +21319,7 @@ var check = function (it) {
21300
21319
 
21301
21320
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
21302
21321
  var global_1 =
21303
- // eslint-disable-next-line es-x/no-global-this -- safe
21322
+ // eslint-disable-next-line es/no-global-this -- safe
21304
21323
  check(typeof globalThis == 'object' && globalThis) ||
21305
21324
  check(typeof window == 'object' && window) ||
21306
21325
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -21319,12 +21338,12 @@ var fails = function (exec) {
21319
21338
 
21320
21339
  // Detect IE8's incomplete defineProperty implementation
21321
21340
  var descriptors = !fails(function () {
21322
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
21341
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
21323
21342
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
21324
21343
  });
21325
21344
 
21326
21345
  var functionBindNative = !fails(function () {
21327
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
21346
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
21328
21347
  var test = (function () { /* empty */ }).bind();
21329
21348
  // eslint-disable-next-line no-prototype-builtins -- safe
21330
21349
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -21337,7 +21356,7 @@ var functionCall = functionBindNative ? call.bind(call) : function () {
21337
21356
  };
21338
21357
 
21339
21358
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
21340
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21359
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21341
21360
  var getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
21342
21361
 
21343
21362
  // Nashorn ~ JDK8 bug
@@ -21364,25 +21383,29 @@ var createPropertyDescriptor = function (bitmap, value) {
21364
21383
  };
21365
21384
 
21366
21385
  var FunctionPrototype = Function.prototype;
21367
- var bind$1 = FunctionPrototype.bind;
21368
21386
  var call$1 = FunctionPrototype.call;
21369
- var uncurryThis = functionBindNative && bind$1.bind(call$1, call$1);
21387
+ var uncurryThisWithBind = functionBindNative && FunctionPrototype.bind.bind(call$1, call$1);
21370
21388
 
21371
- var functionUncurryThis = functionBindNative ? function (fn) {
21372
- return fn && uncurryThis(fn);
21373
- } : function (fn) {
21374
- return fn && function () {
21389
+ var functionUncurryThisRaw = function (fn) {
21390
+ return functionBindNative ? uncurryThisWithBind(fn) : function () {
21375
21391
  return call$1.apply(fn, arguments);
21376
21392
  };
21377
21393
  };
21378
21394
 
21379
- var toString$2 = functionUncurryThis({}.toString);
21380
- var stringSlice = functionUncurryThis(''.slice);
21395
+ var toString$2 = functionUncurryThisRaw({}.toString);
21396
+ var stringSlice = functionUncurryThisRaw(''.slice);
21381
21397
 
21382
21398
  var classofRaw = function (it) {
21383
21399
  return stringSlice(toString$2(it), 8, -1);
21384
21400
  };
21385
21401
 
21402
+ var functionUncurryThis = function (fn) {
21403
+ // Nashorn bug:
21404
+ // https://github.com/zloirock/core-js/issues/1128
21405
+ // https://github.com/zloirock/core-js/issues/1130
21406
+ if (classofRaw(fn) === 'Function') return functionUncurryThisRaw(fn);
21407
+ };
21408
+
21386
21409
  var $Object = Object;
21387
21410
  var split = functionUncurryThis(''.split);
21388
21411
 
@@ -21395,12 +21418,18 @@ var indexedObject = fails(function () {
21395
21418
  return classofRaw(it) == 'String' ? split(it, '') : $Object(it);
21396
21419
  } : $Object;
21397
21420
 
21421
+ // we can't use just `it == null` since of `document.all` special case
21422
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot-aec
21423
+ var isNullOrUndefined = function (it) {
21424
+ return it === null || it === undefined;
21425
+ };
21426
+
21398
21427
  var $TypeError = TypeError;
21399
21428
 
21400
21429
  // `RequireObjectCoercible` abstract operation
21401
21430
  // https://tc39.es/ecma262/#sec-requireobjectcoercible
21402
21431
  var requireObjectCoercible = function (it) {
21403
- if (it == undefined) throw $TypeError("Can't call method on " + it);
21432
+ if (isNullOrUndefined(it)) throw $TypeError("Can't call method on " + it);
21404
21433
  return it;
21405
21434
  };
21406
21435
 
@@ -21412,13 +21441,31 @@ var toIndexedObject = function (it) {
21412
21441
  return indexedObject(requireObjectCoercible(it));
21413
21442
  };
21414
21443
 
21444
+ var documentAll = typeof document == 'object' && document.all;
21445
+
21446
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
21447
+ var IS_HTMLDDA = typeof documentAll == 'undefined' && documentAll !== undefined;
21448
+
21449
+ var documentAll_1 = {
21450
+ all: documentAll,
21451
+ IS_HTMLDDA: IS_HTMLDDA
21452
+ };
21453
+
21454
+ var documentAll$1 = documentAll_1.all;
21455
+
21415
21456
  // `IsCallable` abstract operation
21416
21457
  // https://tc39.es/ecma262/#sec-iscallable
21417
- var isCallable = function (argument) {
21458
+ var isCallable = documentAll_1.IS_HTMLDDA ? function (argument) {
21459
+ return typeof argument == 'function' || argument === documentAll$1;
21460
+ } : function (argument) {
21418
21461
  return typeof argument == 'function';
21419
21462
  };
21420
21463
 
21421
- var isObject = function (it) {
21464
+ var documentAll$2 = documentAll_1.all;
21465
+
21466
+ var isObject = documentAll_1.IS_HTMLDDA ? function (it) {
21467
+ return typeof it == 'object' ? it !== null : isCallable(it) || it === documentAll$2;
21468
+ } : function (it) {
21422
21469
  return typeof it == 'object' ? it !== null : isCallable(it);
21423
21470
  };
21424
21471
 
@@ -21459,12 +21506,12 @@ if (!version && engineUserAgent) {
21459
21506
 
21460
21507
  var engineV8Version = version;
21461
21508
 
21462
- /* eslint-disable es-x/no-symbol -- required for testing */
21509
+ /* eslint-disable es/no-symbol -- required for testing */
21463
21510
 
21464
21511
 
21465
21512
 
21466
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
21467
- var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
21513
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
21514
+ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails(function () {
21468
21515
  var symbol = Symbol();
21469
21516
  // Chrome 38 Symbol has incorrect toString conversion
21470
21517
  // `get-own-property-symbols` polyfill symbols converted to object are not Symbol instances
@@ -21473,10 +21520,10 @@ var nativeSymbol = !!Object.getOwnPropertySymbols && !fails(function () {
21473
21520
  !Symbol.sham && engineV8Version && engineV8Version < 41;
21474
21521
  });
21475
21522
 
21476
- /* eslint-disable es-x/no-symbol -- required for testing */
21523
+ /* eslint-disable es/no-symbol -- required for testing */
21477
21524
 
21478
21525
 
21479
- var useSymbolAsUid = nativeSymbol
21526
+ var useSymbolAsUid = symbolConstructorDetection
21480
21527
  && !Symbol.sham
21481
21528
  && typeof Symbol.iterator == 'symbol';
21482
21529
 
@@ -21511,7 +21558,7 @@ var aCallable = function (argument) {
21511
21558
  // https://tc39.es/ecma262/#sec-getmethod
21512
21559
  var getMethod = function (V, P) {
21513
21560
  var func = V[P];
21514
- return func == null ? undefined : aCallable(func);
21561
+ return isNullOrUndefined(func) ? undefined : aCallable(func);
21515
21562
  };
21516
21563
 
21517
21564
  var $TypeError$2 = TypeError;
@@ -21526,7 +21573,7 @@ var ordinaryToPrimitive = function (input, pref) {
21526
21573
  throw $TypeError$2("Can't convert object to primitive value");
21527
21574
  };
21528
21575
 
21529
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
21576
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
21530
21577
  var defineProperty = Object.defineProperty;
21531
21578
 
21532
21579
  var defineGlobalProperty = function (key, value) {
@@ -21546,10 +21593,10 @@ var shared = createCommonjsModule(function (module) {
21546
21593
  (module.exports = function (key, value) {
21547
21594
  return sharedStore[key] || (sharedStore[key] = value !== undefined ? value : {});
21548
21595
  })('versions', []).push({
21549
- version: '3.24.1',
21596
+ version: '3.25.5',
21550
21597
  mode: 'global',
21551
21598
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
21552
- license: 'https://github.com/zloirock/core-js/blob/v3.24.1/LICENSE',
21599
+ license: 'https://github.com/zloirock/core-js/blob/v3.25.5/LICENSE',
21553
21600
  source: 'https://github.com/zloirock/core-js'
21554
21601
  });
21555
21602
  });
@@ -21566,7 +21613,7 @@ var hasOwnProperty = functionUncurryThis({}.hasOwnProperty);
21566
21613
 
21567
21614
  // `HasOwnProperty` abstract operation
21568
21615
  // https://tc39.es/ecma262/#sec-hasownproperty
21569
- // eslint-disable-next-line es-x/no-object-hasown -- safe
21616
+ // eslint-disable-next-line es/no-object-hasown -- safe
21570
21617
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
21571
21618
  return hasOwnProperty(toObject(it), key);
21572
21619
  };
@@ -21585,9 +21632,9 @@ var symbolFor = Symbol$1 && Symbol$1['for'];
21585
21632
  var createWellKnownSymbol = useSymbolAsUid ? Symbol$1 : Symbol$1 && Symbol$1.withoutSetter || uid;
21586
21633
 
21587
21634
  var wellKnownSymbol = function (name) {
21588
- if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(nativeSymbol || typeof WellKnownSymbolsStore[name] == 'string')) {
21635
+ if (!hasOwnProperty_1(WellKnownSymbolsStore, name) || !(symbolConstructorDetection || typeof WellKnownSymbolsStore[name] == 'string')) {
21589
21636
  var description = 'Symbol.' + name;
21590
- if (nativeSymbol && hasOwnProperty_1(Symbol$1, name)) {
21637
+ if (symbolConstructorDetection && hasOwnProperty_1(Symbol$1, name)) {
21591
21638
  WellKnownSymbolsStore[name] = Symbol$1[name];
21592
21639
  } else if (useSymbolAsUid && symbolFor) {
21593
21640
  WellKnownSymbolsStore[name] = symbolFor(description);
@@ -21633,13 +21680,13 @@ var documentCreateElement = function (it) {
21633
21680
 
21634
21681
  // Thanks to IE8 for its funny defineProperty
21635
21682
  var ie8DomDefine = !descriptors && !fails(function () {
21636
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
21683
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
21637
21684
  return Object.defineProperty(documentCreateElement('div'), 'a', {
21638
21685
  get: function () { return 7; }
21639
21686
  }).a != 7;
21640
21687
  });
21641
21688
 
21642
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21689
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21643
21690
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
21644
21691
 
21645
21692
  // `Object.getOwnPropertyDescriptor` method
@@ -21660,7 +21707,7 @@ var objectGetOwnPropertyDescriptor = {
21660
21707
  // V8 ~ Chrome 36-
21661
21708
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
21662
21709
  var v8PrototypeDefineBug = descriptors && fails(function () {
21663
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
21710
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
21664
21711
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
21665
21712
  value: 42,
21666
21713
  writable: false
@@ -21677,9 +21724,9 @@ var anObject = function (argument) {
21677
21724
  };
21678
21725
 
21679
21726
  var $TypeError$5 = TypeError;
21680
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
21727
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
21681
21728
  var $defineProperty = Object.defineProperty;
21682
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21729
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21683
21730
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
21684
21731
  var ENUMERABLE = 'enumerable';
21685
21732
  var CONFIGURABLE = 'configurable';
@@ -21726,7 +21773,7 @@ var createNonEnumerableProperty = descriptors ? function (object, key, value) {
21726
21773
  };
21727
21774
 
21728
21775
  var FunctionPrototype$1 = Function.prototype;
21729
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
21776
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
21730
21777
  var getDescriptor = descriptors && Object.getOwnPropertyDescriptor;
21731
21778
 
21732
21779
  var EXISTS$1 = hasOwnProperty_1(FunctionPrototype$1, 'name');
@@ -21753,7 +21800,7 @@ var inspectSource = sharedStore.inspectSource;
21753
21800
 
21754
21801
  var WeakMap$1 = global_1.WeakMap;
21755
21802
 
21756
- var nativeWeakMap = isCallable(WeakMap$1) && /native code/.test(inspectSource(WeakMap$1));
21803
+ var weakMapBasicDetection = isCallable(WeakMap$1) && /native code/.test(String(WeakMap$1));
21757
21804
 
21758
21805
  var keys$1 = shared('keys');
21759
21806
 
@@ -21781,28 +21828,30 @@ var getterFor = function (TYPE) {
21781
21828
  };
21782
21829
  };
21783
21830
 
21784
- if (nativeWeakMap || sharedStore.state) {
21831
+ if (weakMapBasicDetection || sharedStore.state) {
21785
21832
  var store$1 = sharedStore.state || (sharedStore.state = new WeakMap$2());
21786
- var wmget = functionUncurryThis(store$1.get);
21787
- var wmhas = functionUncurryThis(store$1.has);
21788
- var wmset = functionUncurryThis(store$1.set);
21833
+ /* eslint-disable no-self-assign -- prototype methods protection */
21834
+ store$1.get = store$1.get;
21835
+ store$1.has = store$1.has;
21836
+ store$1.set = store$1.set;
21837
+ /* eslint-enable no-self-assign -- prototype methods protection */
21789
21838
  set = function (it, metadata) {
21790
- if (wmhas(store$1, it)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
21839
+ if (store$1.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
21791
21840
  metadata.facade = it;
21792
- wmset(store$1, it, metadata);
21841
+ store$1.set(it, metadata);
21793
21842
  return metadata;
21794
21843
  };
21795
21844
  get = function (it) {
21796
- return wmget(store$1, it) || {};
21845
+ return store$1.get(it) || {};
21797
21846
  };
21798
21847
  has = function (it) {
21799
- return wmhas(store$1, it);
21848
+ return store$1.has(it);
21800
21849
  };
21801
21850
  } else {
21802
21851
  var STATE = sharedKey('state');
21803
21852
  hiddenKeys[STATE] = true;
21804
21853
  set = function (it, metadata) {
21805
- if (hasOwnProperty_1(it, STATE)) throw new TypeError$1(OBJECT_ALREADY_INITIALIZED);
21854
+ if (hasOwnProperty_1(it, STATE)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
21806
21855
  metadata.facade = it;
21807
21856
  createNonEnumerableProperty(it, STATE, metadata);
21808
21857
  return metadata;
@@ -21830,7 +21879,7 @@ var CONFIGURABLE_FUNCTION_NAME = functionName.CONFIGURABLE;
21830
21879
 
21831
21880
  var enforceInternalState = internalState.enforce;
21832
21881
  var getInternalState = internalState.get;
21833
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
21882
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
21834
21883
  var defineProperty = Object.defineProperty;
21835
21884
 
21836
21885
  var CONFIGURABLE_LENGTH = descriptors && !fails(function () {
@@ -21899,7 +21948,7 @@ var floor = Math.floor;
21899
21948
 
21900
21949
  // `Math.trunc` method
21901
21950
  // https://tc39.es/ecma262/#sec-math.trunc
21902
- // eslint-disable-next-line es-x/no-math-trunc -- safe
21951
+ // eslint-disable-next-line es/no-math-trunc -- safe
21903
21952
  var mathTrunc = Math.trunc || function trunc(x) {
21904
21953
  var n = +x;
21905
21954
  return (n > 0 ? floor : ceil)(n);
@@ -22000,7 +22049,7 @@ var hiddenKeys$1 = enumBugKeys.concat('length', 'prototype');
22000
22049
 
22001
22050
  // `Object.getOwnPropertyNames` method
22002
22051
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
22003
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
22052
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
22004
22053
  var f$3 = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
22005
22054
  return objectKeysInternal(O, hiddenKeys$1);
22006
22055
  };
@@ -22009,7 +22058,7 @@ var objectGetOwnPropertyNames = {
22009
22058
  f: f$3
22010
22059
  };
22011
22060
 
22012
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
22061
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
22013
22062
  var f$4 = Object.getOwnPropertySymbols;
22014
22063
 
22015
22064
  var objectGetOwnPropertySymbols = {
@@ -22153,7 +22202,7 @@ var toString_1 = function (argument) {
22153
22202
  var charAt = functionUncurryThis(''.charAt);
22154
22203
 
22155
22204
  var FORCED = fails(function () {
22156
- // eslint-disable-next-line es-x/no-array-string-prototype-at -- safe
22205
+ // eslint-disable-next-line es/no-array-string-prototype-at -- safe
22157
22206
  return '𠮷'.at(-2) !== '\uD842';
22158
22207
  });
22159
22208
 
@@ -22171,14 +22220,14 @@ _export({ target: 'String', proto: true, forced: FORCED }, {
22171
22220
 
22172
22221
  // `Object.keys` method
22173
22222
  // https://tc39.es/ecma262/#sec-object.keys
22174
- // eslint-disable-next-line es-x/no-object-keys -- safe
22223
+ // eslint-disable-next-line es/no-object-keys -- safe
22175
22224
  var objectKeys = Object.keys || function keys(O) {
22176
22225
  return objectKeysInternal(O, enumBugKeys);
22177
22226
  };
22178
22227
 
22179
22228
  // `Object.defineProperties` method
22180
22229
  // https://tc39.es/ecma262/#sec-object.defineproperties
22181
- // eslint-disable-next-line es-x/no-object-defineproperties -- safe
22230
+ // eslint-disable-next-line es/no-object-defineproperties -- safe
22182
22231
  var f$5 = descriptors && !v8PrototypeDefineBug ? Object.defineProperties : function defineProperties(O, Properties) {
22183
22232
  anObject(O);
22184
22233
  var props = toIndexedObject(Properties);
@@ -22267,7 +22316,7 @@ hiddenKeys[IE_PROTO] = true;
22267
22316
 
22268
22317
  // `Object.create` method
22269
22318
  // https://tc39.es/ecma262/#sec-object.create
22270
- // eslint-disable-next-line es-x/no-object-create -- safe
22319
+ // eslint-disable-next-line es/no-object-create -- safe
22271
22320
  var objectCreate = Object.create || function create(O, Properties) {
22272
22321
  var result;
22273
22322
  if (O !== null) {
@@ -22313,13 +22362,13 @@ _export({ target: 'Array', proto: true }, {
22313
22362
 
22314
22363
  addToUnscopables('at');
22315
22364
 
22316
- // eslint-disable-next-line es-x/no-typed-arrays -- safe
22317
- var arrayBufferNative = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
22365
+ // eslint-disable-next-line es/no-typed-arrays -- safe
22366
+ var arrayBufferBasicDetection = typeof ArrayBuffer != 'undefined' && typeof DataView != 'undefined';
22318
22367
 
22319
22368
  var correctPrototypeGetter = !fails(function () {
22320
22369
  function F() { /* empty */ }
22321
22370
  F.prototype.constructor = null;
22322
- // eslint-disable-next-line es-x/no-object-getprototypeof -- required for testing
22371
+ // eslint-disable-next-line es/no-object-getprototypeof -- required for testing
22323
22372
  return Object.getPrototypeOf(new F()) !== F.prototype;
22324
22373
  });
22325
22374
 
@@ -22329,7 +22378,7 @@ var ObjectPrototype = $Object$4.prototype;
22329
22378
 
22330
22379
  // `Object.getPrototypeOf` method
22331
22380
  // https://tc39.es/ecma262/#sec-object.getprototypeof
22332
- // eslint-disable-next-line es-x/no-object-getprototypeof -- safe
22381
+ // eslint-disable-next-line es/no-object-getprototypeof -- safe
22333
22382
  var objectGetPrototypeOf = correctPrototypeGetter ? $Object$4.getPrototypeOf : function (O) {
22334
22383
  var object = toObject(O);
22335
22384
  if (hasOwnProperty_1(object, IE_PROTO$1)) return object[IE_PROTO$1];
@@ -22355,13 +22404,13 @@ var aPossiblePrototype = function (argument) {
22355
22404
  // `Object.setPrototypeOf` method
22356
22405
  // https://tc39.es/ecma262/#sec-object.setprototypeof
22357
22406
  // Works with __proto__ only. Old v8 can't work with null proto objects.
22358
- // eslint-disable-next-line es-x/no-object-setprototypeof -- safe
22407
+ // eslint-disable-next-line es/no-object-setprototypeof -- safe
22359
22408
  var objectSetPrototypeOf = Object.setPrototypeOf || ('__proto__' in {} ? function () {
22360
22409
  var CORRECT_SETTER = false;
22361
22410
  var test = {};
22362
22411
  var setter;
22363
22412
  try {
22364
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
22413
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
22365
22414
  setter = functionUncurryThis(Object.getOwnPropertyDescriptor(Object.prototype, '__proto__').set);
22366
22415
  setter(test, []);
22367
22416
  CORRECT_SETTER = test instanceof Array;
@@ -22398,7 +22447,7 @@ var TO_STRING_TAG$2 = wellKnownSymbol('toStringTag');
22398
22447
  var TYPED_ARRAY_TAG = uid('TYPED_ARRAY_TAG');
22399
22448
  var TYPED_ARRAY_CONSTRUCTOR = 'TypedArrayConstructor';
22400
22449
  // Fixing native typed arrays in Opera Presto crashes the browser, see #595
22401
- var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferNative && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
22450
+ var NATIVE_ARRAY_BUFFER_VIEWS = arrayBufferBasicDetection && !!objectSetPrototypeOf && classof(global_1.opera) !== 'Opera';
22402
22451
  var TYPED_ARRAY_TAG_REQUIRED = false;
22403
22452
  var NAME, Constructor, Prototype;
22404
22453
 
@@ -26056,7 +26105,9 @@ var SearchableSelect = function SearchableSelect(_ref) {
26056
26105
  fields = _ref.fields,
26057
26106
  actions = _ref.actions,
26058
26107
  disabled = _ref.disabled,
26059
- themeValues = _ref.themeValues;
26108
+ themeValues = _ref.themeValues,
26109
+ _ref$placeholder = _ref.placeholder,
26110
+ placeholder = _ref$placeholder === void 0 ? "Search agencies" : _ref$placeholder;
26060
26111
 
26061
26112
  var _useState = useState([]),
26062
26113
  _useState2 = _slicedToArray(_useState, 2),
@@ -26087,15 +26138,15 @@ var SearchableSelect = function SearchableSelect(_ref) {
26087
26138
  padding: "1rem",
26088
26139
  border: themeValues.border,
26089
26140
  extraStyles: disabled && "color: #6e727e; background-color: #f7f7f7; pointer-events: none;"
26090
- }, /*#__PURE__*/React.createElement(Stack, null, /*#__PURE__*/React.createElement(FormInput$1, {
26141
+ }, /*#__PURE__*/React.createElement(FormInput$1, {
26091
26142
  errorMessages: {},
26092
26143
  field: fields.searchTerm,
26093
26144
  fieldActions: actions.fields.searchTerm,
26094
- placeholder: "Search agencies",
26145
+ placeholder: placeholder,
26095
26146
  disabled: disabled
26096
26147
  }), /*#__PURE__*/React.createElement(Box, {
26097
- padding: "0.5rem 0",
26098
- extraStyles: "overflow-y: scroll; height: 250px;"
26148
+ padding: "0 0 0.5rem",
26149
+ extraStyles: "overflow-y: scroll; max-height: 250px;"
26099
26150
  }, /*#__PURE__*/React.createElement(Stack, null, itemList.map(function (value) {
26100
26151
  var _selectedItems$find;
26101
26152
 
@@ -26111,9 +26162,9 @@ var SearchableSelect = function SearchableSelect(_ref) {
26111
26162
  },
26112
26163
  textExtraStyles: "margin: 0;",
26113
26164
  disabled: disabled,
26114
- extraStyles: "margin: 0 0.5rem;"
26165
+ extraStyles: "margin: 0.5rem;"
26115
26166
  });
26116
- })))));
26167
+ }))));
26117
26168
  };
26118
26169
 
26119
26170
  var SearchableSelect$1 = themeComponent(SearchableSelect, "SearchableSelect", fallbackValues$u, "default");