@thecb/components 5.6.4 → 5.6.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 +26 -24
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +26 -24
- package/dist/index.esm.js.map +1 -1
- package/package.json +2 -2
- package/src/components/atoms/form-layouts/FormInput.js +8 -8
- package/src/components/atoms/layouts/Cluster.js +4 -4
- package/src/components/atoms/layouts/Cluster.styled.js +4 -4
- package/src/components/atoms/nav-footer/NavFooter.stories.js +1 -1
- package/src/components/molecules/tabs/Tabs.js +3 -3
- package/src/.DS_Store +0 -0
- 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
|
@@ -6393,17 +6393,17 @@ var ClusterWrapper = styled(function (_ref) {
|
|
|
6393
6393
|
var overflow = _ref2.overflow;
|
|
6394
6394
|
return overflow ? "visible" : "hidden";
|
|
6395
6395
|
}, function (_ref3) {
|
|
6396
|
-
var justifySelf = _ref3
|
|
6397
|
-
return justifySelf;
|
|
6396
|
+
var $justifySelf = _ref3.$justifySelf;
|
|
6397
|
+
return $justifySelf;
|
|
6398
6398
|
}, function (_ref4) {
|
|
6399
|
-
var alignSelf = _ref4
|
|
6400
|
-
return alignSelf;
|
|
6399
|
+
var $alignSelf = _ref4.$alignSelf;
|
|
6400
|
+
return $alignSelf;
|
|
6401
6401
|
}, function (_ref5) {
|
|
6402
|
-
var flexGrow = _ref5
|
|
6403
|
-
return flexGrow;
|
|
6402
|
+
var $flexGrow = _ref5.$flexGrow;
|
|
6403
|
+
return $flexGrow;
|
|
6404
6404
|
}, function (_ref6) {
|
|
6405
|
-
var extraStyles = _ref6
|
|
6406
|
-
return extraStyles;
|
|
6405
|
+
var $extraStyles = _ref6.$extraStyles;
|
|
6406
|
+
return $extraStyles;
|
|
6407
6407
|
});
|
|
6408
6408
|
var ClusterInnerWrapper = styled.div.withConfig({
|
|
6409
6409
|
displayName: "Clusterstyled__ClusterInnerWrapper",
|
|
@@ -6460,10 +6460,10 @@ var Cluster = function Cluster(_ref) {
|
|
|
6460
6460
|
return /*#__PURE__*/React.createElement(ClusterWrapper, _extends({
|
|
6461
6461
|
overflow: overflow
|
|
6462
6462
|
}, rest, {
|
|
6463
|
-
justifySelf: justifySelf,
|
|
6464
|
-
alignSelf: alignSelf,
|
|
6465
|
-
flexGrow: flexGrow,
|
|
6466
|
-
extraStyles: extraStyles
|
|
6463
|
+
$justifySelf: justifySelf,
|
|
6464
|
+
$alignSelf: alignSelf,
|
|
6465
|
+
$flexGrow: flexGrow,
|
|
6466
|
+
$extraStyles: extraStyles
|
|
6467
6467
|
}), /*#__PURE__*/React.createElement(ClusterInnerWrapper, {
|
|
6468
6468
|
justify: justify,
|
|
6469
6469
|
align: align,
|
|
@@ -21055,8 +21055,8 @@ var InputField = styled.input.withConfig({
|
|
|
21055
21055
|
themeValues = _ref.themeValues;
|
|
21056
21056
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : themeValues.borderColor;
|
|
21057
21057
|
}, function (_ref2) {
|
|
21058
|
-
var customHeight = _ref2
|
|
21059
|
-
return customHeight ? customHeight : "48px";
|
|
21058
|
+
var $customHeight = _ref2.$customHeight;
|
|
21059
|
+
return $customHeight ? $customHeight : "48px";
|
|
21060
21060
|
}, FONT_WEIGHT_REGULAR, function (_ref3) {
|
|
21061
21061
|
var themeValues = _ref3.themeValues;
|
|
21062
21062
|
return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
|
|
@@ -21071,8 +21071,8 @@ var InputField = styled.input.withConfig({
|
|
|
21071
21071
|
var disabled = _ref6.disabled;
|
|
21072
21072
|
return disabled && css(["color:#6e727e;background-color:#f7f7f7;"]);
|
|
21073
21073
|
}, function (_ref7) {
|
|
21074
|
-
var extraStyles = _ref7
|
|
21075
|
-
return css(["", ""], extraStyles);
|
|
21074
|
+
var $extraStyles = _ref7.$extraStyles;
|
|
21075
|
+
return css(["", ""], $extraStyles);
|
|
21076
21076
|
}); // eslint-disable-next-line no-unused-vars
|
|
21077
21077
|
|
|
21078
21078
|
var FormattedInputField = styled(function (_ref8) {
|
|
@@ -21090,8 +21090,8 @@ var FormattedInputField = styled(function (_ref8) {
|
|
|
21090
21090
|
themeValues = _ref9.themeValues;
|
|
21091
21091
|
return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : themeValues.borderColor;
|
|
21092
21092
|
}, function (_ref10) {
|
|
21093
|
-
var customHeight = _ref10
|
|
21094
|
-
return customHeight ? customHeight : "48px";
|
|
21093
|
+
var $customHeight = _ref10.$customHeight;
|
|
21094
|
+
return $customHeight ? $customHeight : "48px";
|
|
21095
21095
|
}, FONT_WEIGHT_REGULAR, function (_ref11) {
|
|
21096
21096
|
var themeValues = _ref11.themeValues;
|
|
21097
21097
|
return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
|
|
@@ -21201,8 +21201,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21201
21201
|
showErrors: showErrors,
|
|
21202
21202
|
"data-qa": labelTextWhenNoError,
|
|
21203
21203
|
themeValues: themeValues,
|
|
21204
|
-
customHeight: customHeight,
|
|
21205
|
-
extraStyles: extraStyles
|
|
21204
|
+
$customHeight: customHeight,
|
|
21205
|
+
$extraStyles: extraStyles
|
|
21206
21206
|
}, props)) : /*#__PURE__*/React.createElement(InputField, _extends({
|
|
21207
21207
|
"aria-labelledby": labelTextWhenNoError.replace(/\s+/g, "-"),
|
|
21208
21208
|
onChange: function onChange(e) {
|
|
@@ -21217,8 +21217,8 @@ var FormInput = function FormInput(_ref15) {
|
|
|
21217
21217
|
"data-qa": labelTextWhenNoError,
|
|
21218
21218
|
themeValues: themeValues,
|
|
21219
21219
|
background: background,
|
|
21220
|
-
customHeight: customHeight,
|
|
21221
|
-
extraStyles: extraStyles
|
|
21220
|
+
$customHeight: customHeight,
|
|
21221
|
+
$extraStyles: extraStyles
|
|
21222
21222
|
}, props))), /*#__PURE__*/React.createElement(Stack, {
|
|
21223
21223
|
direction: "row",
|
|
21224
21224
|
justify: "space-between"
|
|
@@ -41096,9 +41096,11 @@ var Tabs = function Tabs(_ref) {
|
|
|
41096
41096
|
className: "tab-list"
|
|
41097
41097
|
}, tabsDisplayMode == HORIZONTAL ? showHorozontal(tabsConfig, activeTab) : showVertical(tabsConfig, activeTab)), /*#__PURE__*/React.createElement(Box, {
|
|
41098
41098
|
className: "tab-content"
|
|
41099
|
-
}, /*#__PURE__*/React.createElement(Box, null, tabsConfig.tabs.map(function (tab) {
|
|
41099
|
+
}, /*#__PURE__*/React.createElement(Box, null, tabsConfig.tabs.map(function (tab, idx) {
|
|
41100
41100
|
if (tab.label !== activeTab) return undefined;
|
|
41101
|
-
return
|
|
41101
|
+
return /*#__PURE__*/React.createElement(Fragment, {
|
|
41102
|
+
key: idx
|
|
41103
|
+
}, tab.content);
|
|
41102
41104
|
}))));
|
|
41103
41105
|
};
|
|
41104
41106
|
|