@thecb/components 8.4.5-beta.3 → 8.4.5-beta.5
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
|
@@ -38107,7 +38107,7 @@ var background$2 = "".concat(ATHENS_GREY);
|
|
|
38107
38107
|
var white$1 = "".concat(WHITE);
|
|
38108
38108
|
var black = "#000";
|
|
38109
38109
|
var focusBorder = "".concat(MATISSE_BLUE);
|
|
38110
|
-
var themeValues
|
|
38110
|
+
var themeValues = {
|
|
38111
38111
|
background: background$2,
|
|
38112
38112
|
white: white$1,
|
|
38113
38113
|
black: black,
|
|
@@ -38117,7 +38117,7 @@ var themeValues$1 = {
|
|
|
38117
38117
|
var TypeaheadInputWrapper = styled__default.div.withConfig({
|
|
38118
38118
|
displayName: "TypeaheadInput__TypeaheadInputWrapper",
|
|
38119
38119
|
componentId: "sc-cumjdb-0"
|
|
38120
|
-
})(["display:flex;align-content:center;align-items:center;background:", ";input{border:0;height:72px;width:100%;padding:1.5rem;padding-left:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:400;background-color:", ";color:", ";box-shadow:none;border:1px solid transparent;&:focus{border:1px solid ", ";}}"], themeValues
|
|
38120
|
+
})(["display:flex;align-content:center;align-items:center;background:", ";input{border:0;height:72px;width:100%;padding:1.5rem;padding-left:1rem;min-width:100px;margin:0;box-sizing:border-box;position:relative;font-size:1.1rem;line-height:2rem;font-weight:400;background-color:", ";color:", ";box-shadow:none;border:1px solid transparent;&:focus{border:1px solid ", ";}}"], themeValues.background, themeValues.background, themeValues.black, themeValues.focusBorder);
|
|
38121
38121
|
|
|
38122
38122
|
var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
38123
38123
|
var handleChange = _ref.handleChange,
|
|
@@ -42956,27 +42956,27 @@ var Container = styled__default(Box).withConfig({
|
|
|
42956
42956
|
componentId: "sc-l5q1h2-0"
|
|
42957
42957
|
})(["display:flex;flex-direction:column;align-items:flex-start;width:100%;gap:40px;flex-shrink:0;align-self:stretch;border-radius:8px;", " transition:all .2s ease-in-out;&:hover,&:active{cursor:pointer;box-shadow:0px 0px 0px 0px rgba(41,42,51,0.1),0px 5px 11px 0px rgba(41,42,51,0.1),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);}&:hover:not(:active){", "}&:active{", "}"], function (_ref) {
|
|
42958
42958
|
var themeValues = _ref.themeValues;
|
|
42959
|
-
return "\n background-color: ".concat(themeValues.
|
|
42959
|
+
return "\n background-color: ".concat(themeValues.backgroundColor, ";\n border: 1px solid ").concat(themeValues.borderColor, ";\n ");
|
|
42960
42960
|
}, function (_ref2) {
|
|
42961
42961
|
var themeValues = _ref2.themeValues;
|
|
42962
|
-
return "border: 1px solid ".concat(themeValues.
|
|
42962
|
+
return "border: 1px solid rgba(".concat(themeValues.borderColor, ", .3);");
|
|
42963
42963
|
}, function (_ref3) {
|
|
42964
42964
|
var themeValues = _ref3.themeValues;
|
|
42965
|
-
return "\n background-color: ".concat(themeValues.
|
|
42965
|
+
return "\n background-color: rgba(".concat(themeValues.activeBackgroundColor, ", 0.1);\n border: 1px solid ").concat(themeValues.color, ";\n ;");
|
|
42966
42966
|
});
|
|
42967
42967
|
var Title$2 = styled__default(Heading$1).withConfig({
|
|
42968
42968
|
displayName: "LinkCardstyled__Title",
|
|
42969
42969
|
componentId: "sc-l5q1h2-1"
|
|
42970
42970
|
})(["display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;overflow:hidden;text-overflow:ellipsis;font-size:16px;line-height:150%;background-color:transparent;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref4) {
|
|
42971
42971
|
var themeValues = _ref4.themeValues;
|
|
42972
|
-
return "color: ".concat(themeValues.
|
|
42972
|
+
return "color: ".concat(themeValues.color, ";");
|
|
42973
42973
|
});
|
|
42974
42974
|
var Subtitle = styled__default(Paragraph$1).withConfig({
|
|
42975
42975
|
displayName: "LinkCardstyled__Subtitle",
|
|
42976
42976
|
componentId: "sc-l5q1h2-2"
|
|
42977
42977
|
})(["overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;align-self:stretch;font-size:14px;line-height:150 %;letter-spacing:0.14px;font-weight:", ";", ";"], FONT_WEIGHT_SEMIBOLD, function (_ref5) {
|
|
42978
42978
|
var themeValues = _ref5.themeValues;
|
|
42979
|
-
return "color: ".concat(themeValues.
|
|
42979
|
+
return "color: ".concat(themeValues.color, ";");
|
|
42980
42980
|
});
|
|
42981
42981
|
var Footer = styled__default(Stack).withConfig({
|
|
42982
42982
|
displayName: "LinkCardstyled__Footer",
|
|
@@ -42988,7 +42988,6 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42988
42988
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42989
42989
|
_ref$subtitle = _ref.subtitle,
|
|
42990
42990
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
42991
|
-
parentThemeValues = _ref.parentThemeValues,
|
|
42992
42991
|
showLeft = _ref.showLeft,
|
|
42993
42992
|
leftContent = _ref.leftContent,
|
|
42994
42993
|
showRight = _ref.showRight,
|
|
@@ -43000,6 +42999,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
43000
42999
|
extraHoverStyles = _ref$extraHoverStyles === void 0 ? "" : _ref$extraHoverStyles,
|
|
43001
43000
|
_ref$extraActiveStyle = _ref.extraActiveStyles,
|
|
43002
43001
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
43002
|
+
themeValues = _ref.themeValues,
|
|
43003
43003
|
_ref$titleVariant = _ref.titleVariant,
|
|
43004
43004
|
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant;
|
|
43005
43005
|
console.log("LinkCard themeValues", themeValues);
|
|
@@ -43017,7 +43017,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
43017
43017
|
minWidth: isMobile ? "240px" : "288px",
|
|
43018
43018
|
minHeight: "141px",
|
|
43019
43019
|
padding: "24px",
|
|
43020
|
-
themeValues:
|
|
43020
|
+
themeValues: themeValues,
|
|
43021
43021
|
extraStyles: extraStyles,
|
|
43022
43022
|
hoverStyles: extraHoverStyles,
|
|
43023
43023
|
activeStyles: extraActiveStyles,
|
|
@@ -43035,21 +43035,21 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
43035
43035
|
width: "100%"
|
|
43036
43036
|
}, /*#__PURE__*/React__default.createElement(Title$2, {
|
|
43037
43037
|
variant: titleVariant,
|
|
43038
|
-
themeValues:
|
|
43038
|
+
themeValues: themeValues,
|
|
43039
43039
|
margin: 0
|
|
43040
43040
|
}, title)), /*#__PURE__*/React__default.createElement(Box, {
|
|
43041
43041
|
padding: "0 0 40px",
|
|
43042
43042
|
width: "100%"
|
|
43043
43043
|
}, /*#__PURE__*/React__default.createElement(Subtitle, {
|
|
43044
43044
|
variant: "pS",
|
|
43045
|
-
themeValues:
|
|
43045
|
+
themeValues: themeValues
|
|
43046
43046
|
}, subtitle)), /*#__PURE__*/React__default.createElement(Box, {
|
|
43047
43047
|
background: "transparent",
|
|
43048
43048
|
borderWidthOverride: "0 0 0 0",
|
|
43049
43049
|
padding: "0",
|
|
43050
43050
|
width: "100%"
|
|
43051
43051
|
}, /*#__PURE__*/React__default.createElement(Footer, {
|
|
43052
|
-
themeValues:
|
|
43052
|
+
themeValues: themeValues,
|
|
43053
43053
|
direction: "row",
|
|
43054
43054
|
childGap: "6px",
|
|
43055
43055
|
justify: "space-between"
|