@thecb/components 8.4.5-beta.3 → 8.4.5-beta.4
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
|
@@ -38099,7 +38099,7 @@ var background$2 = "".concat(ATHENS_GREY);
|
|
|
38099
38099
|
var white$1 = "".concat(WHITE);
|
|
38100
38100
|
var black = "#000";
|
|
38101
38101
|
var focusBorder = "".concat(MATISSE_BLUE);
|
|
38102
|
-
var themeValues
|
|
38102
|
+
var themeValues = {
|
|
38103
38103
|
background: background$2,
|
|
38104
38104
|
white: white$1,
|
|
38105
38105
|
black: black,
|
|
@@ -38109,7 +38109,7 @@ var themeValues$1 = {
|
|
|
38109
38109
|
var TypeaheadInputWrapper = styled.div.withConfig({
|
|
38110
38110
|
displayName: "TypeaheadInput__TypeaheadInputWrapper",
|
|
38111
38111
|
componentId: "sc-cumjdb-0"
|
|
38112
|
-
})(["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
|
|
38112
|
+
})(["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);
|
|
38113
38113
|
|
|
38114
38114
|
var TypeaheadInput = function TypeaheadInput(_ref) {
|
|
38115
38115
|
var handleChange = _ref.handleChange,
|
|
@@ -42948,27 +42948,27 @@ var Container = styled(Box).withConfig({
|
|
|
42948
42948
|
componentId: "sc-l5q1h2-0"
|
|
42949
42949
|
})(["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) {
|
|
42950
42950
|
var themeValues = _ref.themeValues;
|
|
42951
|
-
return "\n background-color: ".concat(themeValues.
|
|
42951
|
+
return "\n background-color: ".concat(themeValues.backgroundColor, ";\n border: 1px solid ").concat(themeValues.borderColor, ";\n ");
|
|
42952
42952
|
}, function (_ref2) {
|
|
42953
42953
|
var themeValues = _ref2.themeValues;
|
|
42954
|
-
return "border: 1px solid ".concat(themeValues.
|
|
42954
|
+
return "border: 1px solid ".concat(themeValues.borderColor, ";");
|
|
42955
42955
|
}, function (_ref3) {
|
|
42956
42956
|
var themeValues = _ref3.themeValues;
|
|
42957
|
-
return "\n background-color: ".concat(themeValues.
|
|
42957
|
+
return "\n background-color: ".concat(themeValues.activeBackgroundColor, ";\n border: 1px solid ").concat(themeValues.color, ";\n ;");
|
|
42958
42958
|
});
|
|
42959
42959
|
var Title$2 = styled(Heading$1).withConfig({
|
|
42960
42960
|
displayName: "LinkCardstyled__Title",
|
|
42961
42961
|
componentId: "sc-l5q1h2-1"
|
|
42962
42962
|
})(["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) {
|
|
42963
42963
|
var themeValues = _ref4.themeValues;
|
|
42964
|
-
return "color: ".concat(themeValues.
|
|
42964
|
+
return "color: ".concat(themeValues.color, ";");
|
|
42965
42965
|
});
|
|
42966
42966
|
var Subtitle = styled(Paragraph$1).withConfig({
|
|
42967
42967
|
displayName: "LinkCardstyled__Subtitle",
|
|
42968
42968
|
componentId: "sc-l5q1h2-2"
|
|
42969
42969
|
})(["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) {
|
|
42970
42970
|
var themeValues = _ref5.themeValues;
|
|
42971
|
-
return "color: ".concat(themeValues.
|
|
42971
|
+
return "color: ".concat(themeValues.color, ";");
|
|
42972
42972
|
});
|
|
42973
42973
|
var Footer = styled(Stack).withConfig({
|
|
42974
42974
|
displayName: "LinkCardstyled__Footer",
|
|
@@ -42980,7 +42980,6 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42980
42980
|
title = _ref$title === void 0 ? "Test Workflow" : _ref$title,
|
|
42981
42981
|
_ref$subtitle = _ref.subtitle,
|
|
42982
42982
|
subtitle = _ref$subtitle === void 0 ? "Link your benefit plan" : _ref$subtitle,
|
|
42983
|
-
parentThemeValues = _ref.parentThemeValues,
|
|
42984
42983
|
showLeft = _ref.showLeft,
|
|
42985
42984
|
leftContent = _ref.leftContent,
|
|
42986
42985
|
showRight = _ref.showRight,
|
|
@@ -42992,6 +42991,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
42992
42991
|
extraHoverStyles = _ref$extraHoverStyles === void 0 ? "" : _ref$extraHoverStyles,
|
|
42993
42992
|
_ref$extraActiveStyle = _ref.extraActiveStyles,
|
|
42994
42993
|
extraActiveStyles = _ref$extraActiveStyle === void 0 ? "" : _ref$extraActiveStyle,
|
|
42994
|
+
themeValues = _ref.themeValues,
|
|
42995
42995
|
_ref$titleVariant = _ref.titleVariant,
|
|
42996
42996
|
titleVariant = _ref$titleVariant === void 0 ? "h3" : _ref$titleVariant;
|
|
42997
42997
|
console.log("LinkCard themeValues", themeValues);
|
|
@@ -43009,7 +43009,7 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
43009
43009
|
minWidth: isMobile ? "240px" : "288px",
|
|
43010
43010
|
minHeight: "141px",
|
|
43011
43011
|
padding: "24px",
|
|
43012
|
-
themeValues:
|
|
43012
|
+
themeValues: themeValues,
|
|
43013
43013
|
extraStyles: extraStyles,
|
|
43014
43014
|
hoverStyles: extraHoverStyles,
|
|
43015
43015
|
activeStyles: extraActiveStyles,
|
|
@@ -43027,21 +43027,21 @@ var LinkCard = function LinkCard(_ref) {
|
|
|
43027
43027
|
width: "100%"
|
|
43028
43028
|
}, /*#__PURE__*/React.createElement(Title$2, {
|
|
43029
43029
|
variant: titleVariant,
|
|
43030
|
-
themeValues:
|
|
43030
|
+
themeValues: themeValues,
|
|
43031
43031
|
margin: 0
|
|
43032
43032
|
}, title)), /*#__PURE__*/React.createElement(Box, {
|
|
43033
43033
|
padding: "0 0 40px",
|
|
43034
43034
|
width: "100%"
|
|
43035
43035
|
}, /*#__PURE__*/React.createElement(Subtitle, {
|
|
43036
43036
|
variant: "pS",
|
|
43037
|
-
themeValues:
|
|
43037
|
+
themeValues: themeValues
|
|
43038
43038
|
}, subtitle)), /*#__PURE__*/React.createElement(Box, {
|
|
43039
43039
|
background: "transparent",
|
|
43040
43040
|
borderWidthOverride: "0 0 0 0",
|
|
43041
43041
|
padding: "0",
|
|
43042
43042
|
width: "100%"
|
|
43043
43043
|
}, /*#__PURE__*/React.createElement(Footer, {
|
|
43044
|
-
themeValues:
|
|
43044
|
+
themeValues: themeValues,
|
|
43045
43045
|
direction: "row",
|
|
43046
43046
|
childGap: "6px",
|
|
43047
43047
|
justify: "space-between"
|