@dhis2-ui/radio 9.12.0-alpha.3 → 9.12.0

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.
@@ -66,7 +66,7 @@ class Radio extends _react.Component {
66
66
  value,
67
67
  warning,
68
68
  dense,
69
- dataTest
69
+ dataTest = 'dhis2-uicore-radio'
70
70
  } = this.props;
71
71
  const classes = (0, _classnames.default)({
72
72
  checked,
@@ -109,9 +109,9 @@ class Radio extends _react.Component {
109
109
  }
110
110
  }
111
111
  exports.Radio = Radio;
112
- Radio.defaultProps = {
112
+ _defineProperty(Radio, "defaultProps", {
113
113
  dataTest: 'dhis2-uicore-radio'
114
- };
114
+ });
115
115
  Radio.propTypes = {
116
116
  checked: _propTypes.default.bool,
117
117
  className: _propTypes.default.string,
package/build/es/radio.js CHANGED
@@ -57,7 +57,7 @@ class Radio extends Component {
57
57
  value,
58
58
  warning,
59
59
  dense,
60
- dataTest
60
+ dataTest = 'dhis2-uicore-radio'
61
61
  } = this.props;
62
62
  const classes = cx({
63
63
  checked,
@@ -99,9 +99,9 @@ class Radio extends Component {
99
99
  }, [`label.__jsx-style-dynamic-selector{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;position:relative;-webkit-flex-direction:row;-ms-flex-direction:row;flex-direction:row;-webkit-align-items:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:start;-webkit-justify-content:flex-start;-ms-flex-pack:start;justify-content:flex-start;color:${colors.grey900};font-size:14px;line-height:19px;}`, "label.dense.__jsx-style-dynamic-selector{font-size:14px;line-height:16px;}", `label.disabled.__jsx-style-dynamic-selector{cursor:not-allowed;color:${theme.disabled};}`, "input.__jsx-style-dynamic-selector{opacity:0;position:absolute;height:18px;width:18px;inset-inline-start:3px;}", "label.dense.__jsx-style-dynamic-selector input.__jsx-style-dynamic-selector{height:14px;width:14px;}", `.icon.__jsx-style-dynamic-selector{-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none;margin-inline-end:${label ? spacers.dp4 : 0};border:2px solid transparent;padding:1px;border-radius:50%;}`, "label.dense.__jsx-style-dynamic-selector .icon.__jsx-style-dynamic-selector{margin-inline-end:3px;}", `input.__jsx-style-dynamic-selector:focus+.icon.__jsx-style-dynamic-selector{outline:3px solid ${theme.focus};outline-offset:-3px;}`]));
100
100
  }
101
101
  }
102
- Radio.defaultProps = {
102
+ _defineProperty(Radio, "defaultProps", {
103
103
  dataTest: 'dhis2-uicore-radio'
104
- };
104
+ });
105
105
  Radio.propTypes = {
106
106
  checked: PropTypes.bool,
107
107
  className: PropTypes.string,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@dhis2-ui/radio",
3
- "version": "9.12.0-alpha.3",
3
+ "version": "9.12.0",
4
4
  "description": "UI Radio",
5
5
  "repository": {
6
6
  "type": "git",
@@ -33,7 +33,7 @@
33
33
  },
34
34
  "dependencies": {
35
35
  "@dhis2/prop-types": "^3.1.2",
36
- "@dhis2/ui-constants": "9.12.0-alpha.3",
36
+ "@dhis2/ui-constants": "9.12.0",
37
37
  "classnames": "^2.3.1",
38
38
  "prop-types": "^15.7.2"
39
39
  },