pebble-web 2.26.1-alpha.0 → 2.26.1

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.
@@ -14162,20 +14162,22 @@
14162
14162
  name = _this$props2.name,
14163
14163
  disabled = _this$props2.disabled,
14164
14164
  testId = _this$props2.testId;
14165
- var testIds = getTestIds(testId, getRadioGroupTestIds);
14165
+ var _getTestIds = getTestIds(testId, getRadioGroupTestIds),
14166
+ optionId = _getTestIds.optionId;
14166
14167
  var _children = React.Children.map(children, function (_radio, i) {
14167
14168
  var radio = _radio;
14168
14169
  return React.cloneElement(radio, {
14169
14170
  onChange: _this2.handleChange,
14170
14171
  checked: selected === radio.props.value,
14171
14172
  disabled: disabled,
14172
- testId: testIds.optionId ? getOptionTestId(testIds.optionId, i) : undefined
14173
+ testId: optionId ? getOptionTestId(optionId, i) : undefined
14173
14174
  });
14174
14175
  });
14175
14176
  return /*#__PURE__*/React.createElement("div", {
14176
14177
  role: "radiogroup",
14177
14178
  "aria-label": name,
14178
- className: className
14179
+ className: className,
14180
+ "data-testid": testId
14179
14181
  }, _children);
14180
14182
  }
14181
14183
  }]);