@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 CHANGED
@@ -6401,17 +6401,17 @@ var ClusterWrapper = styled__default(function (_ref) {
6401
6401
  var overflow = _ref2.overflow;
6402
6402
  return overflow ? "visible" : "hidden";
6403
6403
  }, function (_ref3) {
6404
- var justifySelf = _ref3.justifySelf;
6405
- return justifySelf;
6404
+ var $justifySelf = _ref3.$justifySelf;
6405
+ return $justifySelf;
6406
6406
  }, function (_ref4) {
6407
- var alignSelf = _ref4.alignSelf;
6408
- return alignSelf;
6407
+ var $alignSelf = _ref4.$alignSelf;
6408
+ return $alignSelf;
6409
6409
  }, function (_ref5) {
6410
- var flexGrow = _ref5.flexGrow;
6411
- return flexGrow;
6410
+ var $flexGrow = _ref5.$flexGrow;
6411
+ return $flexGrow;
6412
6412
  }, function (_ref6) {
6413
- var extraStyles = _ref6.extraStyles;
6414
- return extraStyles;
6413
+ var $extraStyles = _ref6.$extraStyles;
6414
+ return $extraStyles;
6415
6415
  });
6416
6416
  var ClusterInnerWrapper = styled__default.div.withConfig({
6417
6417
  displayName: "Clusterstyled__ClusterInnerWrapper",
@@ -6468,10 +6468,10 @@ var Cluster = function Cluster(_ref) {
6468
6468
  return /*#__PURE__*/React__default.createElement(ClusterWrapper, _extends({
6469
6469
  overflow: overflow
6470
6470
  }, rest, {
6471
- justifySelf: justifySelf,
6472
- alignSelf: alignSelf,
6473
- flexGrow: flexGrow,
6474
- extraStyles: extraStyles
6471
+ $justifySelf: justifySelf,
6472
+ $alignSelf: alignSelf,
6473
+ $flexGrow: flexGrow,
6474
+ $extraStyles: extraStyles
6475
6475
  }), /*#__PURE__*/React__default.createElement(ClusterInnerWrapper, {
6476
6476
  justify: justify,
6477
6477
  align: align,
@@ -21063,8 +21063,8 @@ var InputField = styled__default.input.withConfig({
21063
21063
  themeValues = _ref.themeValues;
21064
21064
  return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : themeValues.borderColor;
21065
21065
  }, function (_ref2) {
21066
- var customHeight = _ref2.customHeight;
21067
- return customHeight ? customHeight : "48px";
21066
+ var $customHeight = _ref2.$customHeight;
21067
+ return $customHeight ? $customHeight : "48px";
21068
21068
  }, FONT_WEIGHT_REGULAR, function (_ref3) {
21069
21069
  var themeValues = _ref3.themeValues;
21070
21070
  return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
@@ -21079,8 +21079,8 @@ var InputField = styled__default.input.withConfig({
21079
21079
  var disabled = _ref6.disabled;
21080
21080
  return disabled && styled.css(["color:#6e727e;background-color:#f7f7f7;"]);
21081
21081
  }, function (_ref7) {
21082
- var extraStyles = _ref7.extraStyles;
21083
- return styled.css(["", ""], extraStyles);
21082
+ var $extraStyles = _ref7.$extraStyles;
21083
+ return styled.css(["", ""], $extraStyles);
21084
21084
  }); // eslint-disable-next-line no-unused-vars
21085
21085
 
21086
21086
  var FormattedInputField = styled__default(function (_ref8) {
@@ -21098,8 +21098,8 @@ var FormattedInputField = styled__default(function (_ref8) {
21098
21098
  themeValues = _ref9.themeValues;
21099
21099
  return field.dirty && field.hasErrors || field.hasErrors && showErrors ? ERROR_COLOR : themeValues.borderColor;
21100
21100
  }, function (_ref10) {
21101
- var customHeight = _ref10.customHeight;
21102
- return customHeight ? customHeight : "48px";
21101
+ var $customHeight = _ref10.$customHeight;
21102
+ return $customHeight ? $customHeight : "48px";
21103
21103
  }, FONT_WEIGHT_REGULAR, function (_ref11) {
21104
21104
  var themeValues = _ref11.themeValues;
21105
21105
  return themeValues.inputBackgroundColor && themeValues.inputBackgroundColor;
@@ -21209,8 +21209,8 @@ var FormInput = function FormInput(_ref15) {
21209
21209
  showErrors: showErrors,
21210
21210
  "data-qa": labelTextWhenNoError,
21211
21211
  themeValues: themeValues,
21212
- customHeight: customHeight,
21213
- extraStyles: extraStyles
21212
+ $customHeight: customHeight,
21213
+ $extraStyles: extraStyles
21214
21214
  }, props)) : /*#__PURE__*/React__default.createElement(InputField, _extends({
21215
21215
  "aria-labelledby": labelTextWhenNoError.replace(/\s+/g, "-"),
21216
21216
  onChange: function onChange(e) {
@@ -21225,8 +21225,8 @@ var FormInput = function FormInput(_ref15) {
21225
21225
  "data-qa": labelTextWhenNoError,
21226
21226
  themeValues: themeValues,
21227
21227
  background: background,
21228
- customHeight: customHeight,
21229
- extraStyles: extraStyles
21228
+ $customHeight: customHeight,
21229
+ $extraStyles: extraStyles
21230
21230
  }, props))), /*#__PURE__*/React__default.createElement(Stack, {
21231
21231
  direction: "row",
21232
21232
  justify: "space-between"
@@ -41104,9 +41104,11 @@ var Tabs = function Tabs(_ref) {
41104
41104
  className: "tab-list"
41105
41105
  }, tabsDisplayMode == HORIZONTAL ? showHorozontal(tabsConfig, activeTab) : showVertical(tabsConfig, activeTab)), /*#__PURE__*/React__default.createElement(Box, {
41106
41106
  className: "tab-content"
41107
- }, /*#__PURE__*/React__default.createElement(Box, null, tabsConfig.tabs.map(function (tab) {
41107
+ }, /*#__PURE__*/React__default.createElement(Box, null, tabsConfig.tabs.map(function (tab, idx) {
41108
41108
  if (tab.label !== activeTab) return undefined;
41109
- return tab.content;
41109
+ return /*#__PURE__*/React__default.createElement(React.Fragment, {
41110
+ key: idx
41111
+ }, tab.content);
41110
41112
  }))));
41111
41113
  };
41112
41114