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