@zohodesk/dot 1.8.4 → 1.8.5

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.
package/README.md CHANGED
@@ -2,6 +2,11 @@
2
2
 
3
3
  In this Library, we Provide Some Basic Components to Build Your Application
4
4
 
5
+ # 1.8.5
6
+
7
+ - **RadioField**
8
+ - Focus using ref not working - Issue fixed
9
+
5
10
  # 1.8.4
6
11
 
7
12
  - **ValidationMessage**
@@ -15,13 +15,13 @@ import style from "../Fields.module.css";
15
15
  export default class RadioField extends PureComponent {
16
16
  constructor(props) {
17
17
  super(props);
18
+ this.handleChange = this.handleChange.bind(this);
19
+ this.updateData = this.updateData.bind(this);
20
+ this.handleFocus = this.handleFocus.bind(this);
18
21
  this.data = {
19
22
  radios: {},
20
23
  focus: this.handleFocus
21
24
  };
22
- this.handleChange = this.handleChange.bind(this);
23
- this.updateData = this.updateData.bind(this);
24
- this.handleFocus = this.handleFocus.bind(this);
25
25
  }
26
26
 
27
27
  componentDidMount() {
@@ -70,13 +70,13 @@ var RadioField = /*#__PURE__*/function (_PureComponent) {
70
70
  _classCallCheck(this, RadioField);
71
71
 
72
72
  _this = _super.call(this, props);
73
+ _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
74
+ _this.updateData = _this.updateData.bind(_assertThisInitialized(_this));
75
+ _this.handleFocus = _this.handleFocus.bind(_assertThisInitialized(_this));
73
76
  _this.data = {
74
77
  radios: {},
75
78
  focus: _this.handleFocus
76
79
  };
77
- _this.handleChange = _this.handleChange.bind(_assertThisInitialized(_this));
78
- _this.updateData = _this.updateData.bind(_assertThisInitialized(_this));
79
- _this.handleFocus = _this.handleFocus.bind(_assertThisInitialized(_this));
80
80
  return _this;
81
81
  }
82
82
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zohodesk/dot",
3
- "version": "1.8.4",
3
+ "version": "1.8.5",
4
4
  "main": "lib/index",
5
5
  "module": "es/index.js",
6
6
  "private": false,
@@ -73,7 +73,7 @@
73
73
  "@zohodesk-private/node-plugins": "1.1.13",
74
74
  "@zohodesk-private/react-prop-validator": "1.2.3",
75
75
  "@zohodesk/a11y": "2.3.8",
76
- "@zohodesk/components": "1.5.6",
76
+ "@zohodesk/components": "1.5.7",
77
77
  "@zohodesk/hooks": "2.0.6",
78
78
  "@zohodesk/icons": "1.1.6",
79
79
  "@zohodesk/layout": "^3.1.0",
@@ -83,13 +83,13 @@
83
83
  "@zohodesk/virtualizer": "1.0.13",
84
84
  "react-sortable-hoc": "^0.8.3",
85
85
  "velocity-react": "1.4.3",
86
- "@zohodesk/dotkit": "1.0.5",
86
+ "@zohodesk/dotkit": "1.0.6",
87
87
  "@zohodesk/react-cli": "1.1.27"
88
88
  },
89
89
  "peerDependencies": {
90
90
  "velocity-react": "1.4.3",
91
91
  "@zohodesk/variables": "1.2.0",
92
- "@zohodesk/components": "1.5.6",
92
+ "@zohodesk/components": "1.5.7",
93
93
  "@zohodesk/icons": "1.1.6",
94
94
  "@zohodesk/svg": "1.2.6",
95
95
  "@zohodesk/virtualizer": "1.0.13",