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.
@@ -3411,20 +3411,22 @@ var RadioGroup = /*#__PURE__*/function (_React$PureComponent) {
3411
3411
  name = _this$props2.name,
3412
3412
  disabled = _this$props2.disabled,
3413
3413
  testId = _this$props2.testId;
3414
- var testIds = getTestIds(testId, getRadioGroupTestIds);
3414
+ var _getTestIds = getTestIds(testId, getRadioGroupTestIds),
3415
+ optionId = _getTestIds.optionId;
3415
3416
  var _children = React.Children.map(children, function (_radio, i) {
3416
3417
  var radio = _radio;
3417
3418
  return React.cloneElement(radio, {
3418
3419
  onChange: _this2.handleChange,
3419
3420
  checked: selected === radio.props.value,
3420
3421
  disabled: disabled,
3421
- testId: testIds.optionId ? getOptionTestId(testIds.optionId, i) : undefined
3422
+ testId: optionId ? getOptionTestId(optionId, i) : undefined
3422
3423
  });
3423
3424
  });
3424
3425
  return /*#__PURE__*/React.createElement("div", {
3425
3426
  role: "radiogroup",
3426
3427
  "aria-label": name,
3427
- className: className
3428
+ className: className,
3429
+ "data-testid": testId
3428
3430
  }, _children);
3429
3431
  }
3430
3432
  }]);