@thecb/components 9.3.4-beta.11 → 9.3.4-beta.3
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 +4 -3
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.esm.js +4 -3
- package/dist/index.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/components/molecules/radio-section/RadioSection.js +2 -1
- package/src/components/molecules/radio-section/RadioSection.stories.js +1 -0
package/dist/index.cjs.js
CHANGED
|
@@ -48945,7 +48945,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
48945
48945
|
};
|
|
48946
48946
|
var InnerRadioSection$1 = themeComponent(InnerRadioSection, "InnerRadioSection", fallbackValues$R);
|
|
48947
48947
|
|
|
48948
|
-
var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
48948
|
+
var _excluded$z = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "bottomBorderSize"];
|
|
48949
48949
|
/**
|
|
48950
48950
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
48951
48951
|
prop) of section objects or a multidimensional array (via the 'groupedSections' prop) of section objects. Note that if using a multidimensional array, the nesting cannot exceed 2 levels deep.
|
|
@@ -48992,6 +48992,8 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
48992
48992
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
48993
48993
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
48994
48994
|
groupedSections = _ref.groupedSections,
|
|
48995
|
+
_ref$bottomBorderSize = _ref.bottomBorderSize,
|
|
48996
|
+
bottomBorderSize = _ref$bottomBorderSize === void 0 ? "2px" : _ref$bottomBorderSize,
|
|
48995
48997
|
rest = _objectWithoutProperties(_ref, _excluded$z);
|
|
48996
48998
|
var _useState = React.useState(null),
|
|
48997
48999
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -49069,8 +49071,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
49069
49071
|
openSection: openSection,
|
|
49070
49072
|
toggleOpenSection: toggleOpenSection
|
|
49071
49073
|
}), sectionGroup.indexOf(section) === sectionGroup.length - 1 && groupedSections.indexOf(sectionGroup) !== groupedSections.length - 1 && /*#__PURE__*/React__default.createElement(SolidDivider$1, {
|
|
49072
|
-
borderSize:
|
|
49073
|
-
,
|
|
49074
|
+
borderSize: bottomBorderSize || "2px",
|
|
49074
49075
|
color: themeValues.borderColor
|
|
49075
49076
|
}));
|
|
49076
49077
|
});
|