@thecb/components 5.9.0-beta.3 → 5.9.0-beta.6
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 +22 -14
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +22 -14
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/.DS_Store +0 -0
- package/src/components/atoms/amount-callout/AmountCallout.theme.js +1 -1
- package/src/components/atoms/button-with-action/ButtonWithAction.js +2 -0
- package/src/components/atoms/layouts/Cluster.js +1 -1
- package/src/components/atoms/placeholder/Placeholder.js +1 -1
- package/src/components/atoms/text/Text.js +2 -0
- package/src/components/atoms/text/Text.styled.js +1 -0
- package/src/components/molecules/obligation/modules/InactiveControlsModule.js +0 -1
- package/src/components/.DS_Store +0 -0
- package/src/components/molecules/.DS_Store +0 -0
- package/src/deprecated/.DS_Store +0 -0
package/dist/index.esm.js
CHANGED
|
@@ -4997,7 +4997,7 @@ var colors = /*#__PURE__*/Object.freeze({
|
|
|
4997
4997
|
var TextSpan = styled.span.withConfig({
|
|
4998
4998
|
displayName: "Textstyled__TextSpan",
|
|
4999
4999
|
componentId: "sc-1oy97we-0"
|
|
5000
|
-
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
5000
|
+
})(["--font-size:", ";font-size:var(--font-size);line-height:calc(1.5 * var(--font-size));font-weight:", ";font-family:", ";color:", ";white-space:", ";&:hover{", "}&:focus{outline:3px solid ", ";outline-offset:2px;}", " ", ""], function (_ref) {
|
|
5001
5001
|
var fontSize = _ref.fontSize;
|
|
5002
5002
|
return fontSize;
|
|
5003
5003
|
}, function (_ref2) {
|
|
@@ -5010,14 +5010,17 @@ var TextSpan = styled.span.withConfig({
|
|
|
5010
5010
|
var color = _ref4.color;
|
|
5011
5011
|
return color;
|
|
5012
5012
|
}, function (_ref5) {
|
|
5013
|
-
var
|
|
5013
|
+
var $textWrap = _ref5.$textWrap;
|
|
5014
|
+
return $textWrap ? "initial" : "nowrap";
|
|
5015
|
+
}, function (_ref6) {
|
|
5016
|
+
var hoverStyles = _ref6.hoverStyles;
|
|
5014
5017
|
return css(["", ""], hoverStyles);
|
|
5015
|
-
}, ROYAL_BLUE, function (
|
|
5016
|
-
var disabled =
|
|
5017
|
-
disabledStyles =
|
|
5018
|
+
}, ROYAL_BLUE, function (_ref7) {
|
|
5019
|
+
var disabled = _ref7.disabled,
|
|
5020
|
+
disabledStyles = _ref7.disabledStyles;
|
|
5018
5021
|
return disabled && css(["", ""], disabledStyles);
|
|
5019
|
-
}, function (
|
|
5020
|
-
var extraStyles =
|
|
5022
|
+
}, function (_ref8) {
|
|
5023
|
+
var extraStyles = _ref8.extraStyles;
|
|
5021
5024
|
return extraStyles;
|
|
5022
5025
|
});
|
|
5023
5026
|
|
|
@@ -6149,7 +6152,7 @@ var general = /*#__PURE__*/Object.freeze({
|
|
|
6149
6152
|
screenReaderOnlyStyle: screenReaderOnlyStyle
|
|
6150
6153
|
});
|
|
6151
6154
|
|
|
6152
|
-
var _excluded$1 = ["themeValues", "weight", "color", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
6155
|
+
var _excluded$1 = ["themeValues", "weight", "color", "textWrap", "extraStyles", "hoverStyles", "onClick", "onKeyPress", "as", "dataQa", "children"];
|
|
6153
6156
|
|
|
6154
6157
|
var Text = function Text(_ref) {
|
|
6155
6158
|
var themeValues = _ref.themeValues,
|
|
@@ -6157,6 +6160,8 @@ var Text = function Text(_ref) {
|
|
|
6157
6160
|
weight = _ref$weight === void 0 ? FONT_WEIGHT_REGULAR : _ref$weight,
|
|
6158
6161
|
_ref$color = _ref.color,
|
|
6159
6162
|
color = _ref$color === void 0 ? FIREFLY_GREY : _ref$color,
|
|
6163
|
+
_ref$textWrap = _ref.textWrap,
|
|
6164
|
+
textWrap = _ref$textWrap === void 0 ? true : _ref$textWrap,
|
|
6160
6165
|
_ref$extraStyles = _ref.extraStyles,
|
|
6161
6166
|
extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles,
|
|
6162
6167
|
hoverStyles = _ref.hoverStyles,
|
|
@@ -6177,7 +6182,8 @@ var Text = function Text(_ref) {
|
|
|
6177
6182
|
hoverStyles: hoverStyles,
|
|
6178
6183
|
onClick: onClick,
|
|
6179
6184
|
onKeyPress: onKeyPress,
|
|
6180
|
-
"data-qa": dataQa
|
|
6185
|
+
"data-qa": dataQa,
|
|
6186
|
+
$textWrap: textWrap
|
|
6181
6187
|
}, rest), safeChildren(children, /*#__PURE__*/React.createElement("span", null)));
|
|
6182
6188
|
};
|
|
6183
6189
|
|
|
@@ -6500,7 +6506,7 @@ var Cluster = function Cluster(_ref) {
|
|
|
6500
6506
|
childGap: childGap,
|
|
6501
6507
|
minHeight: minHeight,
|
|
6502
6508
|
minWidth: minWidth,
|
|
6503
|
-
nowrap: nowrap
|
|
6509
|
+
$nowrap: nowrap
|
|
6504
6510
|
}, safeChildren(children, /*#__PURE__*/React.createElement(Fragment, null))));
|
|
6505
6511
|
};
|
|
6506
6512
|
|
|
@@ -12507,7 +12513,7 @@ var SpinnerIcon = function SpinnerIcon(_ref3) {
|
|
|
12507
12513
|
}))))));
|
|
12508
12514
|
};
|
|
12509
12515
|
|
|
12510
|
-
var _excluded$h = ["action", "variant", "text", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
12516
|
+
var _excluded$h = ["action", "variant", "text", "textWrap", "isLoading", "dataQa", "textExtraStyles", "contentOverride", "extraStyles", "tabIndex", "children"];
|
|
12511
12517
|
var rotate$1 = posed.div({
|
|
12512
12518
|
fixed: {
|
|
12513
12519
|
rotate: "0deg"
|
|
@@ -12564,6 +12570,8 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12564
12570
|
_ref2$variant = _ref2.variant,
|
|
12565
12571
|
variant = _ref2$variant === void 0 ? "primary" : _ref2$variant,
|
|
12566
12572
|
text = _ref2.text,
|
|
12573
|
+
_ref2$textWrap = _ref2.textWrap,
|
|
12574
|
+
textWrap = _ref2$textWrap === void 0 ? false : _ref2$textWrap,
|
|
12567
12575
|
_ref2$isLoading = _ref2.isLoading,
|
|
12568
12576
|
isLoading = _ref2$isLoading === void 0 ? false : _ref2$isLoading,
|
|
12569
12577
|
_ref2$dataQa = _ref2.dataQa,
|
|
@@ -12608,6 +12616,7 @@ var ButtonWithAction = function ButtonWithAction(_ref2) {
|
|
|
12608
12616
|
weight: themeValues.fontWeight,
|
|
12609
12617
|
variant: themeValues.fontSizeVariant,
|
|
12610
12618
|
color: themeValues.color,
|
|
12619
|
+
textWrap: textWrap,
|
|
12611
12620
|
extraStyles: textExtraStyles
|
|
12612
12621
|
}, text)));
|
|
12613
12622
|
};
|
|
@@ -15970,7 +15979,7 @@ var Title = function Title(_ref) {
|
|
|
15970
15979
|
|
|
15971
15980
|
var Title$1 = themeComponent(Title, "Title", fallbacks, "large");
|
|
15972
15981
|
|
|
15973
|
-
var color$3 = "#
|
|
15982
|
+
var color$3 = "#292A33";
|
|
15974
15983
|
var fallbackValues$6 = {
|
|
15975
15984
|
color: color$3
|
|
15976
15985
|
};
|
|
@@ -22105,7 +22114,7 @@ var PlaceholderContentWrapper = function PlaceholderContentWrapper(_ref) {
|
|
|
22105
22114
|
dataQa = _ref.dataQa;
|
|
22106
22115
|
return isLink ? /*#__PURE__*/React.createElement(Link, {
|
|
22107
22116
|
to: destination,
|
|
22108
|
-
|
|
22117
|
+
"data-qa": dataQa
|
|
22109
22118
|
}, /*#__PURE__*/React.createElement(Box, {
|
|
22110
22119
|
padding: "0",
|
|
22111
22120
|
minHeight: "100%",
|
|
@@ -39600,7 +39609,6 @@ var InactiveControlsModule = function InactiveControlsModule(_ref) {
|
|
|
39600
39609
|
agencyName = _ref.agencyName,
|
|
39601
39610
|
configType = _ref.configType,
|
|
39602
39611
|
actions = _ref.actions;
|
|
39603
|
-
console.log("actions are", actions);
|
|
39604
39612
|
|
|
39605
39613
|
var _useState = useState(false),
|
|
39606
39614
|
_useState2 = _slicedToArray(_useState, 2),
|