@kando-env/kando-ui 1.2.75-alpha.21 → 1.2.75-alpha.23
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/lib/components/DischargeHeatmap/DischargeHeatmap.test.js +2 -2
- package/lib/components/DischargeHeatmap/mocks/handlers.js +19 -0
- package/lib/components/Sector/Sector.test.js +4 -11
- package/lib/hooks/useApiWithDashboardQuery.js +2 -4
- package/lib/i18n/en.json +4 -2
- package/lib/i18n/he.json +4 -2
- package/lib/index.js +8 -1
- package/lib/macros/getVersion.js +1 -1
- package/lib/pages/SamplingsPage/SamplingMobileModal.js +1 -17
- package/lib/pages/SamplingsPage/SamplingProperties/SamplingPropertiesForm.js +9 -12
- package/lib/pages/SamplingsPage/SamplingProperties/SamplingPropertiesHead.js +22 -13
- package/lib/pages/SamplingsPage/SamplingProperties/SamplingPropertiesHeadMobile.js +14 -7
- package/lib/pages/SamplingsPage/SamplingProperties/samplingPropertiesUtils.js +2 -4
- package/lib/pages/SamplingsPage/SamplingsMobileItem.js +2 -2
- package/lib/pages/SamplingsPage/samplingsPageUtils.js +23 -11
- package/lib/pages/SamplingsPage/style.module.scss +1 -1
- package/lib/test/mocks/browser.js +23 -0
- package/lib/test/test-utils.js +61 -0
- package/lib/ui-kit/Button/Button.test.js +26 -11
- package/lib/ui-kit/DropDown/DropDown.test.js +50 -41
- package/lib/ui-kit/KandoTable/KandoTable.test.js +46 -43
- package/package.json +5 -2
package/package.json
CHANGED
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kando-env/kando-ui",
|
|
3
|
-
"version": "1.2.75-alpha.
|
|
3
|
+
"version": "1.2.75-alpha.23",
|
|
4
4
|
"main": "lib/index.js",
|
|
5
5
|
"author": "Nadav(Private) <nadavk72@gmail.com>",
|
|
6
6
|
"scripts": {
|
|
7
7
|
"start": "cross-env PORT=3005 react-scripts start",
|
|
8
8
|
"test": "react-scripts test",
|
|
9
|
+
"test:once": "react-scripts test --watchAll=false",
|
|
9
10
|
"build-demo": "cross-env react-scripts build",
|
|
10
11
|
"serve-demo": "nodemon demo-server.js",
|
|
11
12
|
"pre-build": "rimraf lib",
|
|
@@ -21,7 +22,8 @@
|
|
|
21
22
|
"lint-fix": "eslint ./src",
|
|
22
23
|
"pretty-staged": "pretty-quick --staged",
|
|
23
24
|
"format-ci": "npx prettier@2.3.1 --config .prettierrc.json --ignore-path .gitignore --list-different src",
|
|
24
|
-
"version-alpha": "npm version prerelease --preid alpha"
|
|
25
|
+
"version-alpha": "npm version prerelease --preid alpha",
|
|
26
|
+
"jest-preview": "jest-preview"
|
|
25
27
|
},
|
|
26
28
|
"proxy": "http://localhost:3000",
|
|
27
29
|
"engines": {
|
|
@@ -152,6 +154,7 @@
|
|
|
152
154
|
"eslint-plugin-react": "^7.20.3",
|
|
153
155
|
"eslint-plugin-react-hooks": "^4.0.8",
|
|
154
156
|
"husky": "^7.0.1",
|
|
157
|
+
"jest-preview": "^0.3.1",
|
|
155
158
|
"js-yaml": "^4.1.0",
|
|
156
159
|
"jscodeshift": "^0.13.0",
|
|
157
160
|
"lint-staged": "^11.0.0",
|