@thecb/components 8.4.0-beta.6 → 8.4.0-beta.8

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
@@ -42838,7 +42838,8 @@ var MISC_BILL_ICON = "MISC_SINGLE_BILL";
42838
42838
  var iconsMap = (_iconsMap = {}, _defineProperty(_iconsMap, ACCOUNTS_GENERIC_ICON, AccountGenericIcon), _defineProperty(_iconsMap, ACCOUNTS_CONSTRUCTION_ICON, AccountConstructionIcon), _defineProperty(_iconsMap, ACCOUNTS_HEALTH_ICON, AccountMedicalIcon), _defineProperty(_iconsMap, ACCOUNTS_DENTAL_ICON, AccountDentalIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_ELECTRIC_ICON, AccountElectricIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_GARBAGE_ICON, AccountGarbageIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_GAS_ICON, AccountGasIcon), _defineProperty(_iconsMap, ACCOUNTS_UTILITY_WATER_ICON, AccountWaterIcon), _defineProperty(_iconsMap, PROPERTIES_PERSONAL_ICON, PropertyPersonalIcon), _defineProperty(_iconsMap, PROPERTIES_GARAGE_ICON, PropertyGarageIcon), _defineProperty(_iconsMap, PROPERTIES_BUSINESS_ICON, PropertyBusinessIcon), _defineProperty(_iconsMap, PROPERTIES_STOREFRONT_ICON, PropertyStorefrontIcon), _defineProperty(_iconsMap, PROPERTIES_APARTMENT_ICON, PropertyApartmentIcon), _defineProperty(_iconsMap, PROPERTIES_LAND_ICON, PropertyLandIcon), _defineProperty(_iconsMap, PROPERTIES_CAR_ICON, PropertyCarIcon), _defineProperty(_iconsMap, PROPERTIES_MOTORCYCLE_ICON, PropertyMotorcycleIcon), _defineProperty(_iconsMap, PROPERTIES_COMMERCIAL_AUTO_ICON, PropertyCommercialVehicleIcon), _defineProperty(_iconsMap, MISC_BILL_ICON, AccountBillIcon), _iconsMap);
42839
42839
 
42840
42840
  var background$3 = {
42841
- "default": "".concat(WHITE)
42841
+ "default": "".concat(WHITE),
42842
+ hover: "".concat(CORNFLOWER_BLUE)
42842
42843
  };
42843
42844
  var color$b = {
42844
42845
  "default": "".concat(ROYAL_BLUE_VIVID)
@@ -42863,10 +42864,11 @@ var LinkCard = function LinkCard(_ref) {
42863
42864
  _ref$extraStyles = _ref.extraStyles,
42864
42865
  extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
42865
42866
  _ref$extraHoverStyles = _ref.extraHoverStyles,
42866
- extraHoverStyles = _ref$extraHoverStyles === void 0 ? "" : _ref$extraHoverStyles;
42867
- var activeHoverStyles = "\n border-radius: 8px;\n cursor: pointer;\n border: 1px solid ".concat(themeValues.color, ";\n background: ").concat(LINK_WATER, ";\n /* Primitives/New Shadow/3-Pressed-New */\n box-shadow: 0px 0px 0px 0px rgba(41, 42, 51, 0.10), 0px 5px 11px 0px rgba(41, 42, 51, 0.10), 0px 4px 19px 0px rgba(41, 42, 51, 0.09), 0px 27px 26px 0px rgba(41, 42, 51, 0.05), 0px 56px 31px 0px rgba(41, 42, 51, 0.01), 0px 80px 33px 0px rgba(41, 42, 51, 0.00);\n ").concat(extraHoverStyles, "\n ");
42867
+ extraHoverStyles = _ref$extraHoverStyles === void 0 ? "" : _ref$extraHoverStyles,
42868
+ _ref$extraActiveStyle = _ref.extraActiveStyles,
42869
+ extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle;
42870
+ var activeAndHoverStyles = "cursor: pointer;\n border-radius: 8px;\n border: 1px solid ".concat(themeValues.color, ";\n box-shadow: 0px 0px 0px 0px rgba(41, 42, 51, 0.10), 0px 5px 11px 0px rgba(41, 42, 51, 0.10), 0px 4px 19px 0px rgba(41, 42, 51, 0.09), 0px 27px 26px 0px rgba(41, 42, 51, 0.05), 0px 56px 31px 0px rgba(41, 42, 51, 0.01), 0px 80px 33px 0px rgba(41, 42, 51, 0.00);");
42868
42871
  return /*#__PURE__*/React__default.createElement(Box, {
42869
- background: LINK_WATER,
42870
42872
  border: "1px solid ".concat(MOON_RAKER, ";"),
42871
42873
  borderRadius: "8px",
42872
42874
  dataQa: "link-card-".concat(title),
@@ -42875,24 +42877,30 @@ var LinkCard = function LinkCard(_ref) {
42875
42877
  minWidth: "240px",
42876
42878
  minHeight: "141px",
42877
42879
  padding: "24px",
42878
- extraStyles: "\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n gap: 40px;\n flex-shrink: 0;\n align-self: stretch;\n ".concat(extraStyles, "\n "),
42879
- hoverStyles: activeHoverStyles,
42880
- activeStyles: activeHoverStyles,
42880
+ extraStyles: "\n display: flex;\n flex-direction: column;\n align-items: flex-start;\n width: 100%;\n gap: 40px;\n flex-shrink: 0;\n align-self: stretch;\n ".concat(extraStyles, "\n "),
42881
+ hoverStyles: "".concat(activeAndHoverStyles, "\n border: 0;\n ").concat(extraHoverStyles, "\n "),
42882
+ activeStyles: "".concat(activeAndHoverStyles, "\n background-color: ").concat(CORNFLOWER_BLUE, ";\n ").concat(extraActiveStyles, "\n "),
42881
42883
  onClick: onClick
42882
42884
  }, /*#__PURE__*/React__default.createElement(Stack, {
42883
42885
  childGap: 0,
42884
42886
  bottomItem: 3,
42887
+ justify: "space-between",
42888
+ style: {
42889
+ width: "100%"
42890
+ },
42885
42891
  fullHeight: true
42886
42892
  }, /*#__PURE__*/React__default.createElement(Box, {
42887
- padding: 0
42893
+ padding: 0,
42894
+ width: "100%"
42888
42895
  }, /*#__PURE__*/React__default.createElement(Heading$1, {
42889
42896
  variant: "h6",
42890
42897
  weight: FONT_WEIGHT_SEMIBOLD,
42891
42898
  color: themeValues.color,
42892
42899
  margin: 0,
42893
- extraStyles: "display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; align-self: stretch; overflow: hidden; text-overflow: ellipsis; font-family: Public Sans; font-size: 16px; font-style: normal; font-weight: 600; line-height: 150%;"
42900
+ extraStyles: "display: -webkit-box; \n -webkit-box-orient: vertical; \n -webkit-line-clamp: 2; \n align-self: stretch;\n overflow: hidden; \n text-overflow: ellipsis; \n font-family: Public Sans; \n font-size: 16px; \n font-style: normal; \n font-weight: 600; \n line-height: 150%;\n ".concat(extraStyles, "\n ")
42894
42901
  }, title)), /*#__PURE__*/React__default.createElement(Box, {
42895
- padding: "0 0 40px"
42902
+ padding: "0 0 40px",
42903
+ width: "100%"
42896
42904
  }, /*#__PURE__*/React__default.createElement(Paragraph$1, {
42897
42905
  variant: "pS",
42898
42906
  color: themeValues.color,
@@ -42900,14 +42908,14 @@ var LinkCard = function LinkCard(_ref) {
42900
42908
  }, subtitle)), /*#__PURE__*/React__default.createElement(Box, {
42901
42909
  background: "transparent",
42902
42910
  borderWidthOverride: "0 0 0 0",
42903
- padding: "0"
42904
- }, /*#__PURE__*/React__default.createElement(Stack, {
42905
- direction: "row",
42906
- justify: "space-between"
42911
+ padding: "0",
42912
+ width: "100%"
42907
42913
  }, /*#__PURE__*/React__default.createElement(Stack, {
42908
42914
  direction: "row",
42909
- childGap: "6px"
42910
- }, showLeft && leftContent, showRight && rightContent)))));
42915
+ childGap: "6px",
42916
+ justify: "space-between",
42917
+ extraStyles: "width: 100%; justify-content: space-between"
42918
+ }, showLeft && leftContent, showRight && rightContent))));
42911
42919
  };
42912
42920
 
42913
42921
  var LinkCard$1 = themeComponent(LinkCard, "LinkCard", fallbackValues$I, "default");