diff options
author | 2021-07-29 04:41:58 +0530 | |
---|---|---|
committer | 2021-07-28 23:24:12 +0000 | |
commit | d0868fd32306ced6c06351c139bb44f7d91c636c (patch) | |
tree | 8c3b4dd1438335d863797c1c4e9a7d3d2b4f2df2 /packages | |
parent | Imported using package name instead of using relative file path. (diff) | |
download | ferdium-app-d0868fd32306ced6c06351c139bb44f7d91c636c.tar.gz ferdium-app-d0868fd32306ced6c06351c139bb44f7d91c636c.tar.zst ferdium-app-d0868fd32306ced6c06351c139bb44f7d91c636c.zip |
Locked npm modules; Made the nested package module versions be consistent with the parent project,
Diffstat (limited to 'packages')
-rw-r--r-- | packages/forms/package.json | 16 | ||||
-rw-r--r-- | packages/forms/src/select/index.tsx | 12 | ||||
-rw-r--r-- | packages/theme/package.json | 2 | ||||
-rw-r--r-- | packages/ui/package.json | 10 |
4 files changed, 17 insertions, 23 deletions
diff --git a/packages/forms/package.json b/packages/forms/package.json index 29e19b8c7..1befe817b 100644 --- a/packages/forms/package.json +++ b/packages/forms/package.json | |||
@@ -23,18 +23,18 @@ | |||
23 | "author": "Amine Mouafik <amine@mouafik.fr>", | 23 | "author": "Amine Mouafik <amine@mouafik.fr>", |
24 | "license": "Apache-2.0", | 24 | "license": "Apache-2.0", |
25 | "dependencies": { | 25 | "dependencies": { |
26 | "@mdi/js": "^3.3.92", | 26 | "@mdi/js": "3.3.92", |
27 | "@mdi/react": "^1.1.0", | 27 | "@mdi/react": "1.5.0", |
28 | "@meetfranz/theme": "file:../theme", | 28 | "@meetfranz/theme": "file:../theme", |
29 | "csstype": "^3.0.8", | 29 | "csstype": "3.0.8", |
30 | "react-html-attributes": "^1.4.3", | 30 | "react-html-attributes": "1.4.3", |
31 | "react-loader": "2.4.7" | 31 | "react-loader": "2.4.7" |
32 | }, | 32 | }, |
33 | "peerDependencies": { | 33 | "peerDependencies": { |
34 | "classnames": "^2.2.6", | 34 | "classnames": "2.3.1", |
35 | "react": "^16.7.0", | 35 | "react": "16.14.0", |
36 | "react-dom": "16.7.0", | 36 | "react-dom": "16.14.0", |
37 | "react-jss": "^8.6.1" | 37 | "react-jss": "8.6.1" |
38 | }, | 38 | }, |
39 | "gitHead": "00db2bddccb8bb8ad7d29b8d032876c798b8bbf3" | 39 | "gitHead": "00db2bddccb8bb8ad7d29b8d032876c798b8bbf3" |
40 | } | 40 | } |
diff --git a/packages/forms/src/select/index.tsx b/packages/forms/src/select/index.tsx index 71bce7039..6f153da6f 100644 --- a/packages/forms/src/select/index.tsx +++ b/packages/forms/src/select/index.tsx | |||
@@ -169,9 +169,7 @@ class SelectComponent extends Component<IProps> { | |||
169 | } | 169 | } |
170 | 170 | ||
171 | componentDidUpdate(prevProps: IProps, prevState: IState) { | 171 | componentDidUpdate(prevProps: IProps, prevState: IState) { |
172 | const { | 172 | const { open } = this.state; |
173 | open, | ||
174 | } = this.state; | ||
175 | 173 | ||
176 | if (this.searchInputRef && this.searchInputRef.current) { | 174 | if (this.searchInputRef && this.searchInputRef.current) { |
177 | if (open) { | 175 | if (open) { |
@@ -182,9 +180,7 @@ class SelectComponent extends Component<IProps> { | |||
182 | 180 | ||
183 | componentDidMount() { | 181 | componentDidMount() { |
184 | if (this.inputRef && this.inputRef.current) { | 182 | if (this.inputRef && this.inputRef.current) { |
185 | const { | 183 | const { data } = this.props; |
186 | data, | ||
187 | } = this.props; | ||
188 | 184 | ||
189 | if (data) { | 185 | if (data) { |
190 | Object.keys(data).map(key => this.inputRef.current!.dataset[key] = data[key]); | 186 | Object.keys(data).map(key => this.inputRef.current!.dataset[key] = data[key]); |
@@ -195,9 +191,7 @@ class SelectComponent extends Component<IProps> { | |||
195 | } | 191 | } |
196 | 192 | ||
197 | componentWillMount() { | 193 | componentWillMount() { |
198 | const { | 194 | const { value } = this.props; |
199 | value, | ||
200 | } = this.props; | ||
201 | 195 | ||
202 | if (this.componentRef && this.componentRef.current) { | 196 | if (this.componentRef && this.componentRef.current) { |
203 | this.componentRef.current.removeEventListener('keydown', this.keyListener); | 197 | this.componentRef.current.removeEventListener('keydown', this.keyListener); |
diff --git a/packages/theme/package.json b/packages/theme/package.json index ae608c507..7e3c4722d 100644 --- a/packages/theme/package.json +++ b/packages/theme/package.json | |||
@@ -23,7 +23,7 @@ | |||
23 | "url": "https://github.com/meetfranz/franz/issues" | 23 | "url": "https://github.com/meetfranz/franz/issues" |
24 | }, | 24 | }, |
25 | "dependencies": { | 25 | "dependencies": { |
26 | "color": "^3.1.0" | 26 | "color": "3.1.2" |
27 | }, | 27 | }, |
28 | "gitHead": "9f2ab40b7602bc3df26ebb093b484b9917768f69" | 28 | "gitHead": "9f2ab40b7602bc3df26ebb093b484b9917768f69" |
29 | } | 29 | } |
diff --git a/packages/ui/package.json b/packages/ui/package.json index 5cbe0a58d..2b24803f5 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json | |||
@@ -23,15 +23,15 @@ | |||
23 | "author": "Stefan Malzner <stefan@adlk.io>", | 23 | "author": "Stefan Malzner <stefan@adlk.io>", |
24 | "license": "Apache-2.0", | 24 | "license": "Apache-2.0", |
25 | "dependencies": { | 25 | "dependencies": { |
26 | "@mdi/react": "^1.1.0", | 26 | "@mdi/react": "1.5.0", |
27 | "@meetfranz/theme": "file:../theme", | 27 | "@meetfranz/theme": "file:../theme", |
28 | "react-loader": "2.4.7" | 28 | "react-loader": "2.4.7" |
29 | }, | 29 | }, |
30 | "peerDependencies": { | 30 | "peerDependencies": { |
31 | "classnames": "^2.2.6", | 31 | "classnames": "2.3.1", |
32 | "react": "^16.7.0", | 32 | "react": "16.14.0", |
33 | "react-dom": "16.7.0", | 33 | "react-dom": "16.14.0", |
34 | "react-jss": "^8.6.1" | 34 | "react-jss": "8.6.1" |
35 | }, | 35 | }, |
36 | "gitHead": "254da30f801169fac376bda1439b46cabbb491ad" | 36 | "gitHead": "254da30f801169fac376bda1439b46cabbb491ad" |
37 | } | 37 | } |