@steroidsjs/core 2.1.0-beta.13 → 2.1.0-beta.14

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/package.json CHANGED
@@ -1,85 +1,85 @@
1
1
  {
2
- "name": "@steroidsjs/core",
3
- "version": "2.1.0-beta.13",
4
- "description": "",
5
- "author": "Vladimir Kozhin <hello@kozhindev.com>",
6
- "repository": {
7
- "type": "git",
8
- "url": "https://github.com/steroids/react"
9
- },
10
- "main": "dist/index.ts",
11
- "types": "dist/index.d.ts",
12
- "exports": {
13
- "./": "./dist"
14
- },
15
- "license": "MIT",
16
- "homepage": "https://github.com/steroids/react",
17
- "bugs": {
18
- "url": "https://github.com/steroids/react/issues"
19
- },
20
- "scripts": {
21
- "docs": "typedoc --ignoreCompilerErrors --json typedoc.json .",
22
- "test": "jest",
23
- "build": "tsc && cp ./{package.json,LICENSE,README.md} dist/ && cp src/index.d.ts dist/"
24
- },
25
- "dependencies": {
26
- "axios": "^0.21.1",
27
- "connected-react-router": "^6.9.1",
28
- "domready": "^1.0.8",
29
- "dot-prop-immutable": "^2.1.0",
30
- "fileup-core": "^1.2.0",
31
- "history": "^4.10.1",
32
- "intl-messageformat": "^2.2.0",
33
- "js-cookie": "^2.2.1",
34
- "load-js": "^3.0.3",
35
- "lodash": "^4.17.21",
36
- "lodash-es": "^4.17.21",
37
- "moment": "^2.29.1",
38
- "path-to-regexp": "^1.7.0",
39
- "qs": "^6.9.4",
40
- "query-string": "^6.14.0",
41
- "react": "^17.0.2",
42
- "react-click-outside": "^3.0.1",
43
- "react-day-picker": "^7.4.8",
44
- "react-dom": "^17.0.2",
45
- "react-grid-gallery": "^0.4.8",
46
- "react-image-crop": "^9.0.2",
47
- "react-input-mask": "^3.0.0-alpha.2",
48
- "react-redux": "^7.1.1",
49
- "react-router": "^5.2.0",
50
- "react-router-dom": "^5.2.0",
51
- "react-use": "^17.1.0",
52
- "redux": "^4.0.4",
53
- "redux-mock-store": "^1.5.4"
54
- },
55
- "devDependencies": {
56
- "@babel/cli": "^7.13.14",
57
- "@babel/core": "^7.13.15",
58
- "@babel/preset-env": "^7.13.15",
59
- "@babel/preset-react": "^7.13.13",
60
- "@babel/preset-typescript": "^7.13.0",
61
- "@types/enzyme": "^3.10.8",
62
- "@types/enzyme-adapter-react-16": "^1.0.6",
63
- "@types/jest": "^26.0.22",
64
- "@types/markdown-to-jsx": "^6.11.3",
65
- "@types/reach__router": "^1.3.7",
66
- "@types/react": "=17.0.3",
67
- "@types/react-color": "^3.0.4",
68
- "@types/react-syntax-highlighter": "^13.5.0",
69
- "@types/webpack-env": "^1.16.0",
70
- "@typescript-eslint/eslint-plugin": "^4.15.0",
71
- "@typescript-eslint/parser": "^4.15.0",
72
- "@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
73
- "enzyme": "^3.11.0",
74
- "eslint": "^7.20.0",
75
- "eslint-config-airbnb": "18.2.1",
76
- "eslint-plugin-import": "^2.22.1",
77
- "eslint-plugin-jsx-a11y": "^6.4.1",
78
- "eslint-plugin-react": "^7.21.5",
79
- "eslint-plugin-react-hooks": "^1.7.0",
80
- "jest": "^26.6.3",
81
- "jest-enzyme": "^7.1.2",
82
- "ts-jest": "^26.5.1",
83
- "typescript": "^4.1.3"
84
- }
2
+ "name": "@steroidsjs/core",
3
+ "version": "2.1.0-beta.14",
4
+ "description": "",
5
+ "author": "Vladimir Kozhin <hello@kozhindev.com>",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "https://github.com/steroids/react"
9
+ },
10
+ "main": "dist/index.ts",
11
+ "types": "dist/index.d.ts",
12
+ "exports": {
13
+ "./": "./dist"
14
+ },
15
+ "license": "MIT",
16
+ "homepage": "https://github.com/steroids/react",
17
+ "bugs": {
18
+ "url": "https://github.com/steroids/react/issues"
19
+ },
20
+ "scripts": {
21
+ "docs": "typedoc --ignoreCompilerErrors --json typedoc.json .",
22
+ "test": "jest",
23
+ "build": "tsc && cp ./{package.json,LICENSE,README.md} dist/ && cp src/index.d.ts dist/"
24
+ },
25
+ "dependencies": {
26
+ "axios": "^0.21.1",
27
+ "connected-react-router": "^6.9.1",
28
+ "domready": "^1.0.8",
29
+ "dot-prop-immutable": "^2.1.0",
30
+ "fileup-core": "^1.2.0",
31
+ "history": "^4.10.1",
32
+ "intl-messageformat": "^2.2.0",
33
+ "js-cookie": "^2.2.1",
34
+ "load-js": "^3.0.3",
35
+ "lodash": "^4.17.21",
36
+ "lodash-es": "^4.17.21",
37
+ "moment": "^2.29.1",
38
+ "path-to-regexp": "^1.7.0",
39
+ "qs": "^6.9.4",
40
+ "query-string": "^6.14.0",
41
+ "react": "^17.0.2",
42
+ "react-click-outside": "^3.0.1",
43
+ "react-day-picker": "^7.4.8",
44
+ "react-dom": "^17.0.2",
45
+ "react-grid-gallery": "^0.4.8",
46
+ "react-image-crop": "^9.0.2",
47
+ "react-input-mask": "^3.0.0-alpha.2",
48
+ "react-redux": "^7.1.1",
49
+ "react-router": "^5.2.0",
50
+ "react-router-dom": "^5.2.0",
51
+ "react-use": "^17.1.0",
52
+ "redux": "^4.0.4",
53
+ "redux-mock-store": "^1.5.4"
54
+ },
55
+ "devDependencies": {
56
+ "@babel/cli": "^7.13.14",
57
+ "@babel/core": "^7.13.15",
58
+ "@babel/preset-env": "^7.13.15",
59
+ "@babel/preset-react": "^7.13.13",
60
+ "@babel/preset-typescript": "^7.13.0",
61
+ "@types/enzyme": "^3.10.8",
62
+ "@types/enzyme-adapter-react-16": "^1.0.6",
63
+ "@types/jest": "^26.0.22",
64
+ "@types/markdown-to-jsx": "^6.11.3",
65
+ "@types/reach__router": "^1.3.7",
66
+ "@types/react": "=17.0.3",
67
+ "@types/react-color": "^3.0.4",
68
+ "@types/react-syntax-highlighter": "^13.5.0",
69
+ "@types/webpack-env": "^1.16.0",
70
+ "@typescript-eslint/eslint-plugin": "^4.15.0",
71
+ "@typescript-eslint/parser": "^4.15.0",
72
+ "@wojtekmaj/enzyme-adapter-react-17": "^0.4.1",
73
+ "enzyme": "^3.11.0",
74
+ "eslint": "^7.20.0",
75
+ "eslint-config-airbnb": "18.2.1",
76
+ "eslint-plugin-import": "^2.22.1",
77
+ "eslint-plugin-jsx-a11y": "^6.4.1",
78
+ "eslint-plugin-react": "^7.21.5",
79
+ "eslint-plugin-react-hooks": "^1.7.0",
80
+ "jest": "^26.6.3",
81
+ "jest-enzyme": "^7.1.2",
82
+ "ts-jest": "^26.5.1",
83
+ "typescript": "^4.1.3"
84
+ }
85
85
  }
@@ -66,7 +66,9 @@ function DropDownField(props) {
66
66
  }, [setIsFocused, setIsOpened]);
67
67
  // Outside click -> close
68
68
  var forwardedRef = react_1.useRef(null);
69
- react_use_1.useClickAway(forwardedRef, onClose);
69
+ if (process.env.PLATFORM !== "mobile") {
70
+ react_use_1.useClickAway(forwardedRef, onClose);
71
+ }
70
72
  // Search input props
71
73
  var searchInputProps = react_1.useMemo(function () { return ({
72
74
  type: 'search',