@thecb/components 8.3.1-beta.2 → 8.3.1-beta.3

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
@@ -12733,7 +12733,7 @@ var hoverColor = {
12733
12733
  whiteSecondary: WHITE,
12734
12734
  whitePrimary: WHITE
12735
12735
  };
12736
- var activeBackgroundColor$1 = {
12736
+ var activeBackgroundColor = {
12737
12737
  primary: PEACOCK_BLUE,
12738
12738
  secondary: "#B8D5E1",
12739
12739
  back: TRANSPARENT,
@@ -12787,7 +12787,7 @@ var fallbackValues$1 = {
12787
12787
  hoverBackgroundColor: hoverBackgroundColor,
12788
12788
  hoverBorderColor: hoverBorderColor,
12789
12789
  hoverColor: hoverColor,
12790
- activeBackgroundColor: activeBackgroundColor$1,
12790
+ activeBackgroundColor: activeBackgroundColor,
12791
12791
  activeBorderColor: activeBorderColor,
12792
12792
  activeColor: activeColor
12793
12793
  };
@@ -19708,27 +19708,19 @@ var fallbackValues$9 = {
19708
19708
  hover: hover
19709
19709
  };
19710
19710
 
19711
-
19712
-
19713
- var index$4 = /*#__PURE__*/Object.freeze({
19714
- __proto__: null,
19715
- colors: colors,
19716
- fontWeights: style_constants
19717
- });
19718
-
19719
19711
  var fontFamily$2 = {
19720
19712
  primary: "Public Sans",
19721
19713
  secondary: "Open Sans"
19722
19714
  };
19723
- var hoverColor$2 = "#116285";
19724
- var activeColor$3 = "#0E506D";
19725
- var activeBackgroundColor$2 = INFO_BLUE;
19726
- var externalLinkColor = "#15749D";
19715
+ var hoverColor$2 = SAPPHIRE_BLUE;
19716
+ var activeColor$3 = PEACOCK_BLUE;
19717
+ var activeBackgroundColor$1 = INFO_BLUE;
19718
+ var externalLinkColor = MATISSE_BLUE;
19727
19719
  var fallbackValues$a = {
19728
19720
  fontFamily: fontFamily$2,
19729
19721
  hoverColor: hoverColor$2,
19730
19722
  activeColor: activeColor$3,
19731
- activeBackgroundColor: activeBackgroundColor$2,
19723
+ activeBackgroundColor: activeBackgroundColor$1,
19732
19724
  externalLinkColor: externalLinkColor
19733
19725
  };
19734
19726
 
@@ -21523,13 +21515,15 @@ _curry2(function test(pattern, str) {
21523
21515
 
21524
21516
  var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
21525
21517
 
21526
- var _excluded$m = ["url", "active", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
21518
+ var _excluded$m = ["url", "active", "activeBackgroundColor", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
21527
21519
 
21528
21520
  var ButtonWithLink = function ButtonWithLink(_ref) {
21529
21521
  var _ref$url = _ref.url,
21530
21522
  url = _ref$url === void 0 ? "/" : _ref$url,
21531
21523
  _ref$active = _ref.active,
21532
21524
  active = _ref$active === void 0 ? false : _ref$active,
21525
+ _ref$activeBackground = _ref.activeBackgroundColor,
21526
+ activeBackgroundColor = _ref$activeBackground === void 0 ? undefined : _ref$activeBackground,
21533
21527
  _ref$disabled = _ref.disabled,
21534
21528
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
21535
21529
  _ref$fileLink = _ref.fileLink,
@@ -21545,6 +21539,7 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
21545
21539
  var children = _ref2.children,
21546
21540
  url = _ref2.url,
21547
21541
  active = _ref2.active,
21542
+ activeBackgroundColor = _ref2.activeBackgroundColor,
21548
21543
  disabled = _ref2.disabled,
21549
21544
  newTab = _ref2.newTab,
21550
21545
  dataQa = _ref2.dataQa,
@@ -25387,7 +25382,7 @@ var useOutsideClickHook = function useOutsideClickHook(handler) {
25387
25382
 
25388
25383
 
25389
25384
 
25390
- var index$5 = /*#__PURE__*/Object.freeze({
25385
+ var index$4 = /*#__PURE__*/Object.freeze({
25391
25386
  __proto__: null,
25392
25387
  formats: formats,
25393
25388
  general: general,
@@ -38211,6 +38206,14 @@ var NavTabs = function NavTabs(_ref) {
38211
38206
  }, tabs)));
38212
38207
  };
38213
38208
 
38209
+
38210
+
38211
+ var index$5 = /*#__PURE__*/Object.freeze({
38212
+ __proto__: null,
38213
+ colors: colors,
38214
+ fontWeights: style_constants
38215
+ });
38216
+
38214
38217
  var shineFrames = styled.keyframes(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
38215
38218
  var LoadingPill = styled__default.div.withConfig({
38216
38219
  displayName: "LoadingPillstyled__LoadingPill",
@@ -47531,11 +47534,11 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
47531
47534
  var arrowColor = WHITE;
47532
47535
  var numberColor = MATISSE_BLUE;
47533
47536
  var hoverBackgroundColor$2 = ALABASTER_WHITE;
47534
- var activeBackgroundColor$3 = WHITE;
47537
+ var activeBackgroundColor$2 = WHITE;
47535
47538
  var activeColor$9 = MATISSE_BLUE;
47536
47539
  var fallbackValues$L = {
47537
47540
  activeColor: activeColor$9,
47538
- activeBackgroundColor: activeBackgroundColor$3,
47541
+ activeBackgroundColor: activeBackgroundColor$2,
47539
47542
  arrowColor: arrowColor,
47540
47543
  hoverBackgroundColor: hoverBackgroundColor$2,
47541
47544
  numberColor: numberColor
@@ -50355,8 +50358,8 @@ exports.WorkflowTile = WorkflowTile;
50355
50358
  exports.XCircleIconMedium = XCircleIconMedium;
50356
50359
  exports.XCircleIconSmall = XCircleIconSmall;
50357
50360
  exports.cardRegistry = cardRegistry;
50358
- exports.constants = index$4;
50361
+ exports.constants = index$5;
50359
50362
  exports.createPartialAmountFormState = createPartialAmountFormState;
50360
- exports.util = index$5;
50363
+ exports.util = index$4;
50361
50364
  exports.withWindowSize = withWindowSize;
50362
50365
  //# sourceMappingURL=index.cjs.js.map