@proprioo/salatim 33.3.0 → 34.1.0
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/CHANGELOG.md +8 -0
- package/lib/date/src/interfaces.d.ts +1 -0
- package/lib/forms/src/userForm/UserForm.d.ts +6 -3
- package/lib/forms/src/userForm/UserForm.utils.d.ts +2 -0
- package/lib/index.js +424 -424
- package/lib/index.js.map +1 -1
- package/lib/utils/src/test-utils.d.ts +2 -2
- package/package.json +29 -29
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RunOptions } from 'jest-axe/node_modules/axe-core';
|
|
2
2
|
import React, { ReactElement } from 'react';
|
|
3
|
-
import {
|
|
3
|
+
import { RenderOptions, RenderResult } from '@testing-library/react';
|
|
4
4
|
declare const ChildrenPassthrough: ({ children }: {
|
|
5
5
|
children: ReactElement;
|
|
6
6
|
}) => React.ReactElement<any, string | React.JSXElementConstructor<any>>;
|
|
@@ -17,7 +17,7 @@ type TestA11YOptions = TestOptions & {
|
|
|
17
17
|
* @param component the component under test
|
|
18
18
|
* @param options customized test options
|
|
19
19
|
*/
|
|
20
|
-
export declare const render: (component:
|
|
20
|
+
export declare const render: (component: JSX.Element, { wrapper: Wrapper, ...options }?: TestOptions) => RenderResult;
|
|
21
21
|
export declare const testA11y: (ui: JSX.Element, { axeOptions, ...options }?: TestA11YOptions) => Promise<void>;
|
|
22
22
|
export declare const triggerCloseModal: (userEvent: Promise<any>) => Promise<void>;
|
|
23
23
|
export {};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@proprioo/salatim",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "34.1.0",
|
|
4
4
|
"description": "Proprioo component library",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"components",
|
|
@@ -28,23 +28,23 @@
|
|
|
28
28
|
"dev": "NODE_OPTIONS=--openssl-legacy-provider yarn storybook",
|
|
29
29
|
"generate-phone-metadata": "libphonenumber-metadata-generator ./packages/phone/src/metadata.custom.json --countries AD,AE,AR,AT,AU,BE,BR,CA,CH,CZ,DE,DK,EE,DZ,ES,FI,FR,GB,GF,GG,GI,GP,GR,HR,IE,IL,IN,IS,IT,LB,LT,LU,MA,MC,MQ,NL,NO,NZ,PE,PF,PK,PL,PT,RE,RS,RU,SE,SG,TH,TN,TR,US,VN",
|
|
30
30
|
"lint": "tslint -c tslint.json 'packages/**/*.{ts,tsx}'",
|
|
31
|
+
"prepare": "husky",
|
|
31
32
|
"start": "rollup -c rollup.config.ts -w",
|
|
32
|
-
"test": "TZ=Europe/Paris vitest --watch=false",
|
|
33
|
-
"test:watch": "yarn test --watch",
|
|
34
33
|
"storybook": "start-storybook -p 6006 -s ./packages/assets/",
|
|
35
34
|
"storybook:build": "build-storybook -s ./packages/assets/",
|
|
36
|
-
"
|
|
35
|
+
"test": "TZ=Europe/Paris vitest --watch=false",
|
|
36
|
+
"test:watch": "TZ=Europe/Paris vitest --watch"
|
|
37
37
|
},
|
|
38
38
|
"resolutions": {
|
|
39
39
|
"@types/react": "^18.2.43"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
|
-
"@commitlint/cli": "^
|
|
43
|
-
"@commitlint/config-conventional": "^
|
|
42
|
+
"@commitlint/cli": "^18.6.1",
|
|
43
|
+
"@commitlint/config-conventional": "^18.6.2",
|
|
44
44
|
"@popperjs/core": "^2.11.8",
|
|
45
|
-
"@proprioo/hokkaido": "^
|
|
45
|
+
"@proprioo/hokkaido": "^12.2.0",
|
|
46
46
|
"@rollup/plugin-commonjs": "^25.0.7",
|
|
47
|
-
"@rollup/plugin-json": "^6.0
|
|
47
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
48
48
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
49
49
|
"@rollup/plugin-url": "^8.0.2",
|
|
50
50
|
"@sambego/storybook-state": "^2.0.1",
|
|
@@ -52,48 +52,48 @@
|
|
|
52
52
|
"@storybook/addon-knobs": "^6.4.0",
|
|
53
53
|
"@storybook/addon-links": "^6.5.16",
|
|
54
54
|
"@storybook/react": "^6.5.16",
|
|
55
|
-
"@testing-library/jest-dom": "^6.
|
|
56
|
-
"@testing-library/react": "^14.1
|
|
57
|
-
"@testing-library/user-event": "^14.5.
|
|
55
|
+
"@testing-library/jest-dom": "^6.4.2",
|
|
56
|
+
"@testing-library/react": "^14.2.1",
|
|
57
|
+
"@testing-library/user-event": "^14.5.2",
|
|
58
58
|
"@types/googlemaps": "^3.43.3",
|
|
59
59
|
"@types/jest-axe": "^3.5.9",
|
|
60
60
|
"@types/mailcheck": "^1.1.37",
|
|
61
|
-
"@types/react": "^18.2.
|
|
62
|
-
"@types/react-color": "^3.0.
|
|
61
|
+
"@types/react": "^18.2.57",
|
|
62
|
+
"@types/react-color": "^3.0.11",
|
|
63
63
|
"@types/react-dates": "^21.8.6",
|
|
64
|
-
"@types/react-dom": "^18.2.
|
|
64
|
+
"@types/react-dom": "^18.2.19",
|
|
65
65
|
"@types/react-phone-number-input": "^3.0.17",
|
|
66
66
|
"@types/react-places-autocomplete": "^7.2.14",
|
|
67
67
|
"@types/react-test-renderer": "^18.0.7",
|
|
68
68
|
"@types/react-toggle": "^4.0.5",
|
|
69
69
|
"@types/styled-components": "^5.1.34",
|
|
70
70
|
"@vitejs/plugin-react": "^4.2.1",
|
|
71
|
-
"@vitest/coverage-v8": "^1.
|
|
71
|
+
"@vitest/coverage-v8": "^1.3.1",
|
|
72
72
|
"babel-loader": "^8.3.0",
|
|
73
73
|
"babel-preset-react-app": "^10.0.1",
|
|
74
74
|
"date-fns": "^2.30.0",
|
|
75
75
|
"email-validator": "^2.0.4",
|
|
76
|
-
"husky": "^
|
|
76
|
+
"husky": "^9.0.11",
|
|
77
77
|
"jest-axe": "^8.0.0",
|
|
78
78
|
"jest-coverage-badges": "^1.1.2",
|
|
79
|
-
"jsdom": "^
|
|
79
|
+
"jsdom": "^24.0.0",
|
|
80
80
|
"libphonenumber-metadata-generator": "^1.0.1",
|
|
81
|
-
"lint-staged": "^
|
|
81
|
+
"lint-staged": "^15.2.2",
|
|
82
82
|
"madge": "^6.1.0",
|
|
83
83
|
"mailcheck": "^1.1.1",
|
|
84
84
|
"mockdate": "^3.0.5",
|
|
85
|
-
"polished": "^4.
|
|
86
|
-
"postcss": "^8.4.
|
|
87
|
-
"prettier": "^3.
|
|
85
|
+
"polished": "^4.3.1",
|
|
86
|
+
"postcss": "^8.4.35",
|
|
87
|
+
"prettier": "^3.2.5",
|
|
88
88
|
"react": "^18.2.0",
|
|
89
|
-
"react-day-picker": "^8.
|
|
89
|
+
"react-day-picker": "^8.10.0",
|
|
90
90
|
"react-dom": "^18.2.0",
|
|
91
|
-
"react-phone-number-input": "^3.3.
|
|
91
|
+
"react-phone-number-input": "^3.3.9",
|
|
92
92
|
"react-places-autocomplete": "^7.3.0",
|
|
93
93
|
"react-popper-tooltip": "^4.4.2",
|
|
94
94
|
"react-test-renderer": "^18.2.0",
|
|
95
95
|
"react-toggle": "^4.1.3",
|
|
96
|
-
"rollup": "^4.
|
|
96
|
+
"rollup": "^4.12.0",
|
|
97
97
|
"rollup-plugin-bundle-size": "^1.0.3",
|
|
98
98
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
99
99
|
"rollup-plugin-postcss": "^4.0.2",
|
|
@@ -107,16 +107,16 @@
|
|
|
107
107
|
"tslint-react": "^5.0.0",
|
|
108
108
|
"tslint-react-hooks": "^2.2.2",
|
|
109
109
|
"typescript": "^5.3.3",
|
|
110
|
-
"vitest": "^1.
|
|
111
|
-
"yup": "^1.3.
|
|
110
|
+
"vitest": "^1.3.1",
|
|
111
|
+
"yup": "^1.3.3"
|
|
112
112
|
},
|
|
113
113
|
"peerDependencies": {
|
|
114
|
-
"@proprioo/hokkaido": "^
|
|
114
|
+
"@proprioo/hokkaido": "^12.2.0",
|
|
115
115
|
"date-fns": "^2.30.0",
|
|
116
|
-
"polished": "^4.
|
|
116
|
+
"polished": "^4.3.1",
|
|
117
117
|
"react": "^18.2.0",
|
|
118
118
|
"react-dom": "^18.2.0",
|
|
119
119
|
"styled-components": "^5.3.11",
|
|
120
|
-
"yup": "^1.3.
|
|
120
|
+
"yup": "^1.3.3"
|
|
121
121
|
}
|
|
122
122
|
}
|