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.
@@ -3467,20 +3467,22 @@ var RadioGroup = /*#__PURE__*/function (_React$PureComponent) {
3467
3467
  name = _this$props2.name,
3468
3468
  disabled = _this$props2.disabled,
3469
3469
  testId = _this$props2.testId;
3470
- var testIds = getTestIds(testId, getRadioGroupTestIds);
3470
+ var _getTestIds = getTestIds(testId, getRadioGroupTestIds),
3471
+ optionId = _getTestIds.optionId;
3471
3472
  var _children = Children.map(children, function (_radio, i) {
3472
3473
  var radio = _radio;
3473
3474
  return cloneElement(radio, {
3474
3475
  onChange: _this2.handleChange,
3475
3476
  checked: selected === radio.props.value,
3476
3477
  disabled: disabled,
3477
- testId: testIds.optionId ? getOptionTestId(testIds.optionId, i) : undefined
3478
+ testId: optionId ? getOptionTestId(optionId, i) : undefined
3478
3479
  });
3479
3480
  });
3480
3481
  return /*#__PURE__*/createElement("div", {
3481
3482
  role: "radiogroup",
3482
3483
  "aria-label": name,
3483
- className: className
3484
+ className: className,
3485
+ "data-testid": testId
3484
3486
  }, _children);
3485
3487
  }
3486
3488
  }]);