@thecb/components 9.3.1-beta.4 → 9.3.1-beta.5

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
@@ -27577,14 +27577,17 @@ var fallbackValues$x = {
27577
27577
  var SolidDivider = function SolidDivider(_ref) {
27578
27578
  var borderColor = _ref.borderColor,
27579
27579
  borderSize = _ref.borderSize,
27580
- themeValues = _ref.themeValues;
27580
+ themeValues = _ref.themeValues,
27581
+ _ref$extraStyles = _ref.extraStyles,
27582
+ extraStyles = _ref$extraStyles === void 0 ? "" : _ref$extraStyles;
27581
27583
  return /*#__PURE__*/React__default.createElement(Box, {
27582
27584
  padding: "0",
27583
27585
  minWidth: "100%",
27584
27586
  minHeight: "1px",
27585
27587
  borderColor: borderColor || themeValues.borderColor,
27586
27588
  borderSize: borderSize || themeValues.borderSize,
27587
- borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px")
27589
+ borderWidthOverride: "0px 0px ".concat(borderSize || themeValues.borderSize, " 0px"),
27590
+ extraStyles: extraStyles
27588
27591
  });
27589
27592
  };
27590
27593
 
@@ -48744,12 +48747,14 @@ var RadioSection = function RadioSection(_ref) {
48744
48747
  var themeValues = _ref5.themeValues;
48745
48748
  return /*#__PURE__*/React__default.createElement(SolidDivider$1, {
48746
48749
  borderSize: "2px",
48747
- color: themeValues.borderColor
48750
+ borderRadius: "0 0 0 0",
48751
+ color: themeValues.borderColor,
48752
+ extraStyles: "margin-left: -1px; margin-right: -1px; width: cacl(100% + 2px);"
48748
48753
  });
48749
48754
  };
48750
48755
 
48751
48756
  return /*#__PURE__*/React__default.createElement(Box, {
48752
- padding: "0",
48757
+ padding: "1px",
48753
48758
  border: "1px solid ".concat(themeValues.borderColor),
48754
48759
  borderRadius: "4px",
48755
48760
  extraStyles: containerStyles
@@ -48761,7 +48766,7 @@ var RadioSection = function RadioSection(_ref) {
48761
48766
  }, sectionGroups && sectionGroups.map(function (sectionGroup) {
48762
48767
  return /*#__PURE__*/React__default.createElement(React.Fragment, {
48763
48768
  key: "sectiongroup-".concat(sectionGroups.indexOf(sectionGroup))
48764
- }, sectionGroups.indexOf(sectionGroup) === sectionGroups.length - 1 ? /*#__PURE__*/React__default.createElement(PrependedItem, {
48769
+ }, sectionGroups.indexOf(sectionGroup) !== 0 ? /*#__PURE__*/React__default.createElement(PrependedItem, {
48765
48770
  themeValues: themeValues
48766
48771
  }) : "", sectionGroup.filter(function (unfilteredSection) {
48767
48772
  return !unfilteredSection.hidden;