@thecb/components 8.3.1-beta.1 → 8.3.1-beta.10

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,17 @@ 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 externalLinkColor = MATISSE_BLUE;
19727
19718
  var fallbackValues$a = {
19728
19719
  fontFamily: fontFamily$2,
19729
19720
  hoverColor: hoverColor$2,
19730
19721
  activeColor: activeColor$3,
19731
- activeBackgroundColor: activeBackgroundColor$2,
19732
19722
  externalLinkColor: externalLinkColor
19733
19723
  };
19734
19724
 
@@ -19842,7 +19832,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
19842
19832
  })).withConfig({
19843
19833
  displayName: "InternalLinkstyled__StyledInternalLink",
19844
19834
  componentId: "sc-cuqxud-0"
19845
- })(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";background-color:", ";}", ""], function (_ref2) {
19835
+ })(["display:flex;color:", ";font-weight:", ";line-height:", ";font-size:", ";font-family:", ";margin:", ";&:hover{color:", ";text-decoration:underline;}&:focus{outline:3px solid ", ";outline-offset:2px;}&:active{text-decoration:underline;color:", ";}", ""], function (_ref2) {
19846
19836
  var color = _ref2.color,
19847
19837
  active = _ref2.active,
19848
19838
  activeColor = _ref2.activeColor;
@@ -19869,10 +19859,7 @@ var StyledInternalLink = styled__default( /*#__PURE__*/React.forwardRef(function
19869
19859
  var activeColor = _ref9.activeColor;
19870
19860
  return activeColor;
19871
19861
  }, function (_ref10) {
19872
- var activeBackgroundColor = _ref10.activeBackgroundColor;
19873
- return activeBackgroundColor;
19874
- }, function (_ref11) {
19875
- var extrastyles = _ref11.extrastyles;
19862
+ var extrastyles = _ref10.extrastyles;
19876
19863
  return extrastyles;
19877
19864
  });
19878
19865
  /* eslint-enable no-unused-vars */
@@ -21523,13 +21510,11 @@ _curry2(function test(pattern, str) {
21523
21510
 
21524
21511
  var URL_TEST = /(([a-z]{3,6}:\/\/)|(^|\s))([a-zA-Z0-9\-]+\.)+[a-z]{2,13}[\.\?\=\&\%\/\w\-]*\b([^@]|$)/;
21525
21512
 
21526
- var _excluded$m = ["url", "active", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
21513
+ var _excluded$m = ["url", "disabled", "fileLink", "extraStyles", "linkExtraStyles", "newTab", "dataQa"];
21527
21514
 
21528
21515
  var ButtonWithLink = function ButtonWithLink(_ref) {
21529
21516
  var _ref$url = _ref.url,
21530
21517
  url = _ref$url === void 0 ? "/" : _ref$url,
21531
- _ref$active = _ref.active,
21532
- active = _ref$active === void 0 ? false : _ref$active,
21533
21518
  _ref$disabled = _ref.disabled,
21534
21519
  disabled = _ref$disabled === void 0 ? false : _ref$disabled,
21535
21520
  _ref$fileLink = _ref.fileLink,
@@ -21544,7 +21529,6 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
21544
21529
  var ButtonWithLinkWrapper = function ButtonWithLinkWrapper(_ref2) {
21545
21530
  var children = _ref2.children,
21546
21531
  url = _ref2.url,
21547
- active = _ref2.active,
21548
21532
  disabled = _ref2.disabled,
21549
21533
  newTab = _ref2.newTab,
21550
21534
  dataQa = _ref2.dataQa,
@@ -21562,8 +21546,6 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
21562
21546
  dataQa: dataQa
21563
21547
  }, safeChildren(children, /*#__PURE__*/React__default.createElement("span", null))) : /*#__PURE__*/React__default.createElement(InternalLink, {
21564
21548
  to: url,
21565
- active: active,
21566
- activeBackgroundColor: activeBackgroundColor,
21567
21549
  tabIndex: "-1",
21568
21550
  dataQa: dataQa,
21569
21551
  extraStyles: extraStyles
@@ -21572,8 +21554,6 @@ var ButtonWithLink = function ButtonWithLink(_ref) {
21572
21554
 
21573
21555
  return /*#__PURE__*/React__default.createElement(ButtonWithLinkWrapper, {
21574
21556
  url: url,
21575
- active: active,
21576
- activeBackgroundColor: activeBackgroundColor,
21577
21557
  disabled: disabled,
21578
21558
  newTab: newTab,
21579
21559
  extraStyles: "".concat(linkExtraStyles, " text-decoration: none; &:hover {\n text-decoration: none; }"),
@@ -25387,7 +25367,7 @@ var useOutsideClickHook = function useOutsideClickHook(handler) {
25387
25367
 
25388
25368
 
25389
25369
 
25390
- var index$5 = /*#__PURE__*/Object.freeze({
25370
+ var index$4 = /*#__PURE__*/Object.freeze({
25391
25371
  __proto__: null,
25392
25372
  formats: formats,
25393
25373
  general: general,
@@ -38211,6 +38191,14 @@ var NavTabs = function NavTabs(_ref) {
38211
38191
  }, tabs)));
38212
38192
  };
38213
38193
 
38194
+
38195
+
38196
+ var index$5 = /*#__PURE__*/Object.freeze({
38197
+ __proto__: null,
38198
+ colors: colors,
38199
+ fontWeights: style_constants
38200
+ });
38201
+
38214
38202
  var shineFrames = styled.keyframes(["{0{background-position:0 0;}20%{background-position:100% 100%;}100%{background-position:100% 100%;}}"]);
38215
38203
  var LoadingPill = styled__default.div.withConfig({
38216
38204
  displayName: "LoadingPillstyled__LoadingPill",
@@ -47531,11 +47519,11 @@ var createPartialAmountFormState = function createPartialAmountFormState(lineIte
47531
47519
  var arrowColor = WHITE;
47532
47520
  var numberColor = MATISSE_BLUE;
47533
47521
  var hoverBackgroundColor$2 = ALABASTER_WHITE;
47534
- var activeBackgroundColor$3 = WHITE;
47522
+ var activeBackgroundColor$1 = WHITE;
47535
47523
  var activeColor$9 = MATISSE_BLUE;
47536
47524
  var fallbackValues$L = {
47537
47525
  activeColor: activeColor$9,
47538
- activeBackgroundColor: activeBackgroundColor$3,
47526
+ activeBackgroundColor: activeBackgroundColor$1,
47539
47527
  arrowColor: arrowColor,
47540
47528
  hoverBackgroundColor: hoverBackgroundColor$2,
47541
47529
  numberColor: numberColor
@@ -50355,8 +50343,8 @@ exports.WorkflowTile = WorkflowTile;
50355
50343
  exports.XCircleIconMedium = XCircleIconMedium;
50356
50344
  exports.XCircleIconSmall = XCircleIconSmall;
50357
50345
  exports.cardRegistry = cardRegistry;
50358
- exports.constants = index$4;
50346
+ exports.constants = index$5;
50359
50347
  exports.createPartialAmountFormState = createPartialAmountFormState;
50360
- exports.util = index$5;
50348
+ exports.util = index$4;
50361
50349
  exports.withWindowSize = withWindowSize;
50362
50350
  //# sourceMappingURL=index.cjs.js.map