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.
@@ -13339,20 +13339,22 @@
13339
13339
  name = _this$props2.name,
13340
13340
  disabled = _this$props2.disabled,
13341
13341
  testId = _this$props2.testId;
13342
- var testIds = getTestIds(testId, getRadioGroupTestIds);
13342
+ var _getTestIds = getTestIds(testId, getRadioGroupTestIds),
13343
+ optionId = _getTestIds.optionId;
13343
13344
  var _children = React.Children.map(children, function (_radio, i) {
13344
13345
  var radio = _radio;
13345
13346
  return React.cloneElement(radio, {
13346
13347
  onChange: _this2.handleChange,
13347
13348
  checked: selected === radio.props.value,
13348
13349
  disabled: disabled,
13349
- testId: testIds.optionId ? getOptionTestId(testIds.optionId, i) : undefined
13350
+ testId: optionId ? getOptionTestId(optionId, i) : undefined
13350
13351
  });
13351
13352
  });
13352
13353
  return /*#__PURE__*/React.createElement("div", {
13353
13354
  role: "radiogroup",
13354
13355
  "aria-label": name,
13355
- className: className
13356
+ className: className,
13357
+ "data-testid": testId
13356
13358
  }, _children);
13357
13359
  }
13358
13360
  }]);