@uncinc/uncinc-react-kitchen-sink 2.1.8 → 2.1.9
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.
|
@@ -14,17 +14,17 @@ export default function useValueForCurrentViewPort(val1, val2, val3, val4, val5)
|
|
|
14
14
|
return;
|
|
15
15
|
} // 768 & 992
|
|
16
16
|
else if (width >= viewportContext.screenSizes.SCREEN_TABLET && width <= viewportContext.screenSizes.SCREEN_NORMAL) {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
17
|
+
setValueForCurrentViewPort(val2);
|
|
18
|
+
return;
|
|
19
|
+
} // 992 & 1240
|
|
20
|
+
else if (width >= viewportContext.screenSizes.SCREEN_NORMAL && width <= viewportContext.screenSizes.SCREEN_WIDE) {
|
|
21
|
+
setValueForCurrentViewPort(val3);
|
|
22
|
+
return;
|
|
23
|
+
} // 1240 & 2000
|
|
24
|
+
else if (width >= viewportContext.screenSizes.SCREEN_WIDE && width <= viewportContext.screenSizes.SCREEN_HUGE) {
|
|
25
|
+
setValueForCurrentViewPort(val4);
|
|
26
|
+
return;
|
|
27
|
+
} // SCREEN_HUGE and larger
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
setValueForCurrentViewPort(val5);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@uncinc/uncinc-react-kitchen-sink",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.9",
|
|
4
4
|
"description": "Default React components that are easily extended.",
|
|
5
5
|
"author": "uncinc",
|
|
6
6
|
"license": "MIT",
|
|
@@ -35,13 +35,30 @@
|
|
|
35
35
|
},
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@apollo/client": "^3.4.16",
|
|
38
|
+
"@babel/cli": "^7.0.0-beta.44",
|
|
39
|
+
"@babel/helper-define-map": "^7.14.5",
|
|
40
|
+
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
41
|
+
"@babel/runtime": "^7.9.6",
|
|
38
42
|
"@elastic/datemath": "^5.0.3",
|
|
39
43
|
"@elastic/eui": "^40.0.0",
|
|
40
44
|
"@loadable/component": "^5.15.0",
|
|
41
45
|
"@searchkit/client": "^3.0.0-canary.45",
|
|
42
46
|
"@searchkit/elastic-ui": "^3.0.0-canary.45",
|
|
47
|
+
"@storybook/addon-actions": "^6.2.8",
|
|
48
|
+
"@storybook/addon-info": "^5.3.21",
|
|
49
|
+
"@storybook/addon-links": "^6.2.8",
|
|
50
|
+
"@storybook/addons": "^6.2.8",
|
|
51
|
+
"@storybook/react": "^6.2.8",
|
|
52
|
+
"@storybook/theming": "^6.2.8",
|
|
53
|
+
"@testing-library/jest-dom": "^4.2.4",
|
|
54
|
+
"@testing-library/react": "^9.3.2",
|
|
55
|
+
"@testing-library/user-event": "^7.1.2",
|
|
43
56
|
"apollo-server-micro": "^3.4.0",
|
|
44
57
|
"bootstrap": "^4.3.1",
|
|
58
|
+
"chai": "^4.2.0",
|
|
59
|
+
"cross-env": "^7.0.2",
|
|
60
|
+
"enzyme": "^3.11.0",
|
|
61
|
+
"enzyme-adapter-react-16": "^1.15.2",
|
|
45
62
|
"fork-ts-checker-webpack-plugin-alt": "0.4.14",
|
|
46
63
|
"formik": "^2.2.6",
|
|
47
64
|
"graphql": "^15.7.0",
|
|
@@ -67,35 +84,16 @@
|
|
|
67
84
|
"react-redux": "^7.2.4",
|
|
68
85
|
"react-router": "5.2.0",
|
|
69
86
|
"react-router-dom": "5.2.0",
|
|
87
|
+
"react-scripts": "3.4.1",
|
|
70
88
|
"react-select": "^3.1.0",
|
|
71
89
|
"react-share": "^4.3.1",
|
|
72
90
|
"react-slick": "^0.27.14",
|
|
91
|
+
"react-test-renderer": "^16.13.1",
|
|
73
92
|
"redux": "^4.0.5",
|
|
74
93
|
"sass-loader": "^8.0.2",
|
|
75
|
-
"slick-carousel": "^1.8.1"
|
|
76
|
-
},
|
|
77
|
-
"devDependencies": {
|
|
78
|
-
"@babel/cli": "^7.0.0-beta.44",
|
|
79
|
-
"@babel/helper-define-map": "^7.14.5",
|
|
80
|
-
"@babel/plugin-syntax-dynamic-import": "^7.8.3",
|
|
81
|
-
"@babel/runtime": "^7.9.6",
|
|
82
|
-
"@storybook/addon-actions": "^6.2.8",
|
|
83
|
-
"@storybook/addon-info": "^5.3.21",
|
|
84
|
-
"@storybook/addon-links": "^6.2.8",
|
|
85
|
-
"@storybook/addons": "^6.2.8",
|
|
86
|
-
"@storybook/react": "^6.2.8",
|
|
87
|
-
"@storybook/theming": "^6.2.8",
|
|
88
|
-
"@testing-library/jest-dom": "^4.2.4",
|
|
89
|
-
"@testing-library/react": "^9.3.2",
|
|
90
|
-
"@testing-library/user-event": "^7.1.2",
|
|
91
|
-
"chai": "^4.2.0",
|
|
92
|
-
"cross-env": "^7.0.2",
|
|
93
|
-
"enzyme": "^3.11.0",
|
|
94
|
-
"enzyme-adapter-react-16": "^1.15.2",
|
|
95
|
-
"react-scripts": "3.4.1",
|
|
96
|
-
"react-test-renderer": "^16.13.1",
|
|
97
94
|
"sinon": "^9.0.2",
|
|
98
95
|
"sinon-chai": "^3.5.0",
|
|
96
|
+
"slick-carousel": "^1.8.1",
|
|
99
97
|
"storybook-addon-export-stories": "^1.0.0"
|
|
100
98
|
},
|
|
101
99
|
"eslintConfig": {
|