@thecb/components 5.2.2 → 5.2.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 CHANGED
@@ -40456,7 +40456,9 @@ var fallbackValues$C = {
40456
40456
  {
40457
40457
  title: <React Component(s)>,
40458
40458
  id: <String> "identifier of section",
40459
- disabled: boolean,
40459
+ disabled: boolean, (displays section and grayed out radio but disables interaction)
40460
+ hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
40461
+ hidden: boolean, (hides section entirely)
40460
40462
  dataQa: string,
40461
40463
  content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
40462
40464
  }
@@ -40576,7 +40578,7 @@ var RadioSection = function RadioSection(_ref) {
40576
40578
  return !section.hidden;
40577
40579
  }).map(function (section) {
40578
40580
  return /*#__PURE__*/React__default.createElement(Motion, {
40579
- tabIndex: "0",
40581
+ tabIndex: section.hideRadioButton ? "-1" : "0",
40580
40582
  onKeyDown: function onKeyDown(e) {
40581
40583
  return handleKeyDown(section.id, e);
40582
40584
  },