@thecb/components 9.5.0-beta.2 → 9.5.0-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 CHANGED
@@ -48868,14 +48868,13 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
48868
48868
  "aria-required": section.required,
48869
48869
  "aria-labelledby": ariaLabelledBy,
48870
48870
  "aria-describedby": ariaDescribedBy,
48871
- onClick:
48872
- // This needs to be associated with the same component that has the aria-checked property
48873
- isMobile && supportsTouch || section.disabled ? noop : function () {
48871
+ onClick: isMobile && supportsTouch || section.disabled ? noop : function () {
48874
48872
  return toggleOpenSection(section.id);
48875
48873
  },
48876
48874
  onTouchEnd: isMobile && supportsTouch && !section.disabled ? function () {
48877
48875
  return toggleOpenSection(section.id);
48878
- } : noop
48876
+ } : noop,
48877
+ dataQa: section.dataQa ? section.dataQa : section.id
48879
48878
  }, /*#__PURE__*/React__default.createElement(Stack, {
48880
48879
  childGap: "0"
48881
48880
  }, /*#__PURE__*/React__default.createElement(Box, {
@@ -48885,8 +48884,7 @@ var InnerRadioSection = function InnerRadioSection(_ref) {
48885
48884
  borderSize: "0px",
48886
48885
  borderColor: themeValues.borderColor,
48887
48886
  borderWidthOverride: openSection === section.id && !!section.content ? "0px 0px 1px 0px" : "",
48888
- extraStyles: !section.disabled ? "cursor: pointer;" : "",
48889
- dataQa: section.dataQa ? section.dataQa : section.id
48887
+ extraStyles: !section.disabled ? "cursor: pointer;" : ""
48890
48888
  }, /*#__PURE__*/React__default.createElement(Cluster, {
48891
48889
  justify: "space-between",
48892
48890
  align: "center",