@thecb/components 8.4.8-beta.1 → 8.4.8-beta.2

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
@@ -27350,14 +27350,16 @@ var fallbackValues$x = {
27350
27350
  };
27351
27351
 
27352
27352
  var SolidDivider = function SolidDivider(_ref) {
27353
- var themeValues = _ref.themeValues;
27353
+ var borderColor = _ref.borderColor,
27354
+ borderSize = _ref.borderSize,
27355
+ themeValues = _ref.themeValues;
27354
27356
  return /*#__PURE__*/React__default.createElement(Box, {
27355
27357
  padding: "0",
27356
27358
  minWidth: "100%",
27357
27359
  minHeight: "1px",
27358
- borderColor: themeValues.borderColor,
27359
- borderSize: themeValues.borderSize,
27360
- borderWidthOverride: "0px 0px ".concat(themeValues.borderSize, " 0px")
27360
+ borderColor: borderColor || themeValues.borderColor,
27361
+ borderSize: borderSize || themeValues.borderSize,
27362
+ borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px")
27361
27363
  });
27362
27364
  };
27363
27365
 
@@ -49431,8 +49433,6 @@ var fallbackValues$Q = {
49431
49433
  dataQa: string,
49432
49434
  content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work),
49433
49435
  rightTitleContent: <React Component(s)> (rendered on the very right of the title section, use to supplement "rightIcons" with text, as in expired CC status, or render other custom content)
49434
- contentOverride: <React Component(s)> (Replace the radio section and the containers with different content,
49435
- intended for inserting a divider bar or other non-interactive css)
49436
49436
  }
49437
49437
 
49438
49438
  Also takes an "openSection" which should equal the id of the section that should be open
@@ -49521,7 +49521,7 @@ var RadioSection = function RadioSection(_ref) {
49521
49521
  }, sections.filter(function (section) {
49522
49522
  return !section.hidden;
49523
49523
  }).map(function (section) {
49524
- return section.contentOverride ? section.contentOverride : /*#__PURE__*/React__default.createElement(Motion, {
49524
+ return /*#__PURE__*/React__default.createElement(Motion, {
49525
49525
  tabIndex: section.hideRadioButton || section.disabled ? "-1" : "0",
49526
49526
  onKeyDown: function onKeyDown(e) {
49527
49527
  return !section.disabled && handleKeyDown(section.id, e);