@thecb/components 10.6.5-beta.1 → 10.6.5-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
|
@@ -50113,7 +50113,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
|
|
|
50113
50113
|
}, section.content))));
|
|
50114
50114
|
};
|
|
50115
50115
|
|
|
50116
|
-
var _excluded$E = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections"];
|
|
50116
|
+
var _excluded$E = ["themeValues", "isMobile", "supportsTouch", "sections", "openSection", "toggleOpenSection", "staggeredAnimation", "initiallyOpen", "openHeight", "containerStyles", "ariaDescribedBy", "isSectionRequired", "groupedSections", "borderOverride"];
|
|
50117
50117
|
|
|
50118
50118
|
/**
|
|
50119
50119
|
- The RadioSection component takes either a flat array (via the 'sections'
|
|
@@ -50161,6 +50161,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
50161
50161
|
_ref$isSectionRequire = _ref.isSectionRequired,
|
|
50162
50162
|
isSectionRequired = _ref$isSectionRequire === void 0 ? false : _ref$isSectionRequire,
|
|
50163
50163
|
groupedSections = _ref.groupedSections,
|
|
50164
|
+
borderOverride = _ref.borderOverride,
|
|
50164
50165
|
rest = _objectWithoutProperties(_ref, _excluded$E);
|
|
50165
50166
|
var _useState = React.useState(null),
|
|
50166
50167
|
_useState2 = _slicedToArray(_useState, 2),
|
|
@@ -50193,7 +50194,7 @@ var RadioSection = function RadioSection(_ref) {
|
|
|
50193
50194
|
};
|
|
50194
50195
|
return /*#__PURE__*/React__default.createElement(Box, _extends({
|
|
50195
50196
|
padding: "1px",
|
|
50196
|
-
border: "1px solid ".concat(themeValues.borderColor),
|
|
50197
|
+
border: borderOverride || "1px solid ".concat(themeValues.borderColor),
|
|
50197
50198
|
borderRadius: "4px",
|
|
50198
50199
|
extraStyles: containerStyles,
|
|
50199
50200
|
role: "radiogroup",
|