@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.esm.js CHANGED
@@ -40448,7 +40448,9 @@ var fallbackValues$C = {
40448
40448
  {
40449
40449
  title: <React Component(s)>,
40450
40450
  id: <String> "identifier of section",
40451
- disabled: boolean,
40451
+ disabled: boolean, (displays section and grayed out radio but disables interaction)
40452
+ hideRadioButton: boolean, (keeps section displayed but hides radio and disables open/close function),
40453
+ hidden: boolean, (hides section entirely)
40452
40454
  dataQa: string,
40453
40455
  content: <React Component(s)> e.g.: <Box><Stack>cool content stuff</Stack></Box> (any collection of components will work)
40454
40456
  }
@@ -40568,7 +40570,7 @@ var RadioSection = function RadioSection(_ref) {
40568
40570
  return !section.hidden;
40569
40571
  }).map(function (section) {
40570
40572
  return /*#__PURE__*/React.createElement(Motion, {
40571
- tabIndex: "0",
40573
+ tabIndex: section.hideRadioButton ? "-1" : "0",
40572
40574
  onKeyDown: function onKeyDown(e) {
40573
40575
  return handleKeyDown(section.id, e);
40574
40576
  },