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