@zohodesk/components 1.0.0-alpha-233 → 1.0.0-alpha-234
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 +4 -0
- package/es/Select/GroupSelect.js +1 -1
- package/lib/Select/GroupSelect.js +1 -1
- package/package.json +7 -6
package/README.md
CHANGED
|
@@ -32,6 +32,10 @@ In this Package, we Provide Some Basic Components to Build Web App
|
|
|
32
32
|
- TextBoxIcon
|
|
33
33
|
- Tooltip
|
|
34
34
|
|
|
35
|
+
# 1.0.0-alpha-234
|
|
36
|
+
|
|
37
|
+
- MultiSelect => SelectedId fix on component did update
|
|
38
|
+
|
|
35
39
|
# 1.0.0-alpha-233
|
|
36
40
|
|
|
37
41
|
- MultiSelect => On press tab key selecting option removed
|
package/es/Select/GroupSelect.js
CHANGED
|
@@ -127,7 +127,7 @@ export class GroupSelectComponent extends PureComponent {
|
|
|
127
127
|
let {
|
|
128
128
|
selectedId,
|
|
129
129
|
hoverIndex
|
|
130
|
-
} = this.handleGetSelectedId(this.props,
|
|
130
|
+
} = this.handleGetSelectedId(this.props, newOptionIds);
|
|
131
131
|
newSelectedId = selectedId;
|
|
132
132
|
this.setState({
|
|
133
133
|
selectedId,
|
|
@@ -192,7 +192,7 @@ var GroupSelectComponent = /*#__PURE__*/function (_PureComponent) {
|
|
|
192
192
|
}
|
|
193
193
|
|
|
194
194
|
if (selectedOption !== prevProps.selectedOption) {
|
|
195
|
-
var _this$handleGetSelect2 = this.handleGetSelectedId(this.props,
|
|
195
|
+
var _this$handleGetSelect2 = this.handleGetSelectedId(this.props, newOptionIds),
|
|
196
196
|
_selectedId = _this$handleGetSelect2.selectedId,
|
|
197
197
|
_hoverIndex = _this$handleGetSelect2.hoverIndex;
|
|
198
198
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zohodesk/components",
|
|
3
|
-
"version": "1.0.0-alpha-
|
|
3
|
+
"version": "1.0.0-alpha-234",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"module": "es/index.js",
|
|
6
6
|
"jsnext:main": "es/index.js",
|
|
@@ -20,8 +20,9 @@
|
|
|
20
20
|
"docs": "npm run dubCheck && react-cli docs",
|
|
21
21
|
"build": " react-cli build:component:cmjs",
|
|
22
22
|
"buildlocal": " react-cli build:component:cmjs && npm run rtl",
|
|
23
|
-
"build:dev": "npm run
|
|
23
|
+
"build:dev": "npm run build:variables && npm run build && npm run build:es --module:mode=dev -- -w",
|
|
24
24
|
"build:es": "react-cli build:library:es",
|
|
25
|
+
"rtl:watch": "react-cli rtl ./src ./es -w",
|
|
25
26
|
"build:css:umd": "npm run clean && npm run init && react-cli build:css:umd",
|
|
26
27
|
"coverage": "react-cli coverage",
|
|
27
28
|
"prepare": "react-cli clean assets && npm run init && npm run build && npm run build:es && npm run rtl",
|
|
@@ -35,11 +36,11 @@
|
|
|
35
36
|
"devDependencies": {
|
|
36
37
|
"@zohodesk/docstool": "1.0.0-alpha-2",
|
|
37
38
|
"@zohodesk/variables": "1.0.0-beta.29",
|
|
38
|
-
"@zohodesk/icons": "1.0.0-beta.
|
|
39
|
+
"@zohodesk/icons": "1.0.0-beta.98",
|
|
39
40
|
"@zohodesk/virtualizer": "1.0.3",
|
|
40
41
|
"velocity-react": "1.4.3",
|
|
41
42
|
"react-sortable-hoc": "^0.8.3",
|
|
42
|
-
"@zohodesk/svg": "1.0.0-beta.
|
|
43
|
+
"@zohodesk/svg": "1.0.0-beta.42"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"hoist-non-react-statics": "3.0.1",
|
|
@@ -48,9 +49,9 @@
|
|
|
48
49
|
"selectn": "1.1.2"
|
|
49
50
|
},
|
|
50
51
|
"peerDependencies": {
|
|
51
|
-
"@zohodesk/icons": "1.0.0-beta.
|
|
52
|
+
"@zohodesk/icons": "1.0.0-beta.98",
|
|
52
53
|
"@zohodesk/variables": "1.0.0-beta.29",
|
|
53
|
-
"@zohodesk/svg": "1.0.0-beta.
|
|
54
|
+
"@zohodesk/svg": "1.0.0-beta.42",
|
|
54
55
|
"@zohodesk/virtualizer": "1.0.3",
|
|
55
56
|
"velocity-react": "1.4.3",
|
|
56
57
|
"react-sortable-hoc": "^0.8.3"
|