@prosperitainova/mirage-ui 1.1.16 → 1.1.18
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/dist/cjs/index.js +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/lib/Dropzone/Dropzone.d.ts +6 -3
- package/dist/cjs/types/lib/SideBar/SideBar.d.ts +0 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/lib/Dropzone/Dropzone.d.ts +6 -3
- package/dist/esm/types/lib/SideBar/SideBar.d.ts +0 -1
- package/dist/index.d.ts +6 -2
- package/package.json +103 -103
|
@@ -1,9 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
import { DropzoneProps as DropzoneRootProps } from "react-dropzone";
|
|
2
2
|
import "../../../src/theme/fonts/ProximaNova.css";
|
|
3
|
-
|
|
3
|
+
interface DropzoneRootPropsLite extends Omit<DropzoneRootProps, "onDrop"> {
|
|
4
|
+
}
|
|
5
|
+
export interface DropzoneProps extends DropzoneRootPropsLite {
|
|
4
6
|
error?: string;
|
|
5
7
|
helper?: string;
|
|
8
|
+
onRemoveFile?: (removed: any) => void;
|
|
6
9
|
onFilesChanged?: (files: File[]) => void;
|
|
7
|
-
}
|
|
10
|
+
}
|
|
8
11
|
declare const Dropzone: (props: DropzoneProps) => JSX.Element;
|
|
9
12
|
export default Dropzone;
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, ChangeEvent, LiHTMLAttributes } from 'react';
|
|
3
|
+
import { DropzoneProps as DropzoneProps$1 } from 'react-dropzone';
|
|
3
4
|
import { Props } from 'react-select';
|
|
4
5
|
|
|
5
6
|
type ItemsProps = {
|
|
@@ -64,11 +65,14 @@ type CheckboxProps = InputHTMLAttributes<HTMLInputElement> & {
|
|
|
64
65
|
};
|
|
65
66
|
declare const Checkbox: ({ onChange, ...props }: CheckboxProps) => JSX.Element;
|
|
66
67
|
|
|
67
|
-
|
|
68
|
+
interface DropzoneRootPropsLite extends Omit<DropzoneProps$1, "onDrop"> {
|
|
69
|
+
}
|
|
70
|
+
interface DropzoneProps extends DropzoneRootPropsLite {
|
|
68
71
|
error?: string;
|
|
69
72
|
helper?: string;
|
|
73
|
+
onRemoveFile?: (removed: any) => void;
|
|
70
74
|
onFilesChanged?: (files: File[]) => void;
|
|
71
|
-
}
|
|
75
|
+
}
|
|
72
76
|
declare const Dropzone: (props: DropzoneProps) => JSX.Element;
|
|
73
77
|
|
|
74
78
|
type InputProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAttributes<HTMLTextAreaElement> & {
|
package/package.json
CHANGED
|
@@ -1,107 +1,107 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
],
|
|
41
|
-
"rules": {
|
|
42
|
-
"import/no-anonymous-default-export": "off"
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
]
|
|
46
|
-
},
|
|
47
|
-
"browserslist": {
|
|
48
|
-
"production": [
|
|
49
|
-
">0.2%",
|
|
50
|
-
"not dead",
|
|
51
|
-
"not op_mini all"
|
|
2
|
+
"name": "@prosperitainova/mirage-ui",
|
|
3
|
+
"version": "1.1.18",
|
|
4
|
+
"private": false,
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@fortawesome/free-regular-svg-icons": "^6.2.1",
|
|
11
|
+
"bootstrap": "^5.2.3",
|
|
12
|
+
"formik": "^2.4.3",
|
|
13
|
+
"react-content-loader": "^6.2.1",
|
|
14
|
+
"react-currency-input": "^1.3.6",
|
|
15
|
+
"react-currency-input-field": "^3.6.11",
|
|
16
|
+
"react-dropzone": "^14.2.3",
|
|
17
|
+
"react-input-mask": "^2.0.4",
|
|
18
|
+
"react-number-format": "^5.2.2",
|
|
19
|
+
"react-select": "^5.7.0",
|
|
20
|
+
"typescript": "^4.9.4"
|
|
21
|
+
},
|
|
22
|
+
"scripts": {
|
|
23
|
+
"start": "react-scripts start",
|
|
24
|
+
"build": "react-scripts build",
|
|
25
|
+
"test": "react-scripts test",
|
|
26
|
+
"eject": "react-scripts eject",
|
|
27
|
+
"storybook": "start-storybook -p 6006 -s public",
|
|
28
|
+
"build-storybook": "build-storybook -s public & node copy.js",
|
|
29
|
+
"rollup": "rollup -c --bundleConfigAsCjs"
|
|
30
|
+
},
|
|
31
|
+
"eslintConfig": {
|
|
32
|
+
"extends": [
|
|
33
|
+
"react-app",
|
|
34
|
+
"react-app/jest"
|
|
35
|
+
],
|
|
36
|
+
"overrides": [
|
|
37
|
+
{
|
|
38
|
+
"files": [
|
|
39
|
+
"**/*.stories.*"
|
|
52
40
|
],
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
},
|
|
65
|
-
"devDependencies": {
|
|
66
|
-
"@rollup/plugin-babel": "^6.0.3",
|
|
67
|
-
"@rollup/plugin-commonjs": "^24.0.0",
|
|
68
|
-
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
69
|
-
"@rollup/plugin-typescript": "^11.0.0",
|
|
70
|
-
"@rollup/plugin-url": "^8.0.1",
|
|
71
|
-
"@storybook/addon-actions": "^6.5.14",
|
|
72
|
-
"@storybook/addon-essentials": "^6.5.14",
|
|
73
|
-
"@storybook/addon-interactions": "^6.5.14",
|
|
74
|
-
"@storybook/addon-links": "^6.5.14",
|
|
75
|
-
"@storybook/builder-webpack5": "^6.5.14",
|
|
76
|
-
"@storybook/manager-webpack5": "^6.5.14",
|
|
77
|
-
"@storybook/node-logger": "^6.5.14",
|
|
78
|
-
"@storybook/preset-create-react-app": "^4.1.2",
|
|
79
|
-
"@storybook/react": "^6.5.14",
|
|
80
|
-
"@storybook/testing-library": "^0.0.13",
|
|
81
|
-
"@types/node": "^16.18.8",
|
|
82
|
-
"@types/react": "^18.0.26",
|
|
83
|
-
"@types/react-input-mask": "^3.0.2",
|
|
84
|
-
"@types/styled-components": "^5.1.26",
|
|
85
|
-
"babel-plugin-named-exports-order": "^0.0.2",
|
|
86
|
-
"postcss": "^8.4.21",
|
|
87
|
-
"postcss-assets": "^6.0.0",
|
|
88
|
-
"prop-types": "^15.8.1",
|
|
89
|
-
"react": "^18.2.0",
|
|
90
|
-
"react-dom": "^18.2.0",
|
|
91
|
-
"react-scripts": "^5.0.1",
|
|
92
|
-
"rollup": "^3.10.0",
|
|
93
|
-
"rollup-plugin-dts": "^5.1.1",
|
|
94
|
-
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
95
|
-
"rollup-plugin-postcss": "^4.0.2",
|
|
96
|
-
"rollup-plugin-terser": "^7.0.2",
|
|
97
|
-
"storybook-addon-styled-component-theme": "^2.0.0",
|
|
98
|
-
"styled-components": "^5.3.6",
|
|
99
|
-
"webpack": "^5.75.0"
|
|
100
|
-
},
|
|
101
|
-
"main": "dist/cjs/index.js",
|
|
102
|
-
"module": "dist/esm/index.js",
|
|
103
|
-
"files": [
|
|
104
|
-
"dist"
|
|
41
|
+
"rules": {
|
|
42
|
+
"import/no-anonymous-default-export": "off"
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
]
|
|
46
|
+
},
|
|
47
|
+
"browserslist": {
|
|
48
|
+
"production": [
|
|
49
|
+
">0.2%",
|
|
50
|
+
"not dead",
|
|
51
|
+
"not op_mini all"
|
|
105
52
|
],
|
|
106
|
-
"
|
|
53
|
+
"development": [
|
|
54
|
+
"last 1 chrome version",
|
|
55
|
+
"last 1 firefox version",
|
|
56
|
+
"last 1 safari version"
|
|
57
|
+
]
|
|
58
|
+
},
|
|
59
|
+
"peerDependencies": {
|
|
60
|
+
"react": "^18.2.0",
|
|
61
|
+
"react-dom": "^18.2.0",
|
|
62
|
+
"react-scripts": "5.0.1",
|
|
63
|
+
"styled-components": "^5.3.6"
|
|
64
|
+
},
|
|
65
|
+
"devDependencies": {
|
|
66
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
67
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
68
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
69
|
+
"@rollup/plugin-typescript": "^11.0.0",
|
|
70
|
+
"@rollup/plugin-url": "^8.0.1",
|
|
71
|
+
"@storybook/addon-actions": "^6.5.14",
|
|
72
|
+
"@storybook/addon-essentials": "^6.5.14",
|
|
73
|
+
"@storybook/addon-interactions": "^6.5.14",
|
|
74
|
+
"@storybook/addon-links": "^6.5.14",
|
|
75
|
+
"@storybook/builder-webpack5": "^6.5.14",
|
|
76
|
+
"@storybook/manager-webpack5": "^6.5.14",
|
|
77
|
+
"@storybook/node-logger": "^6.5.14",
|
|
78
|
+
"@storybook/preset-create-react-app": "^4.1.2",
|
|
79
|
+
"@storybook/react": "^6.5.14",
|
|
80
|
+
"@storybook/testing-library": "^0.0.13",
|
|
81
|
+
"@types/node": "^16.18.8",
|
|
82
|
+
"@types/react": "^18.0.26",
|
|
83
|
+
"@types/react-input-mask": "^3.0.2",
|
|
84
|
+
"@types/styled-components": "^5.1.26",
|
|
85
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
86
|
+
"postcss": "^8.4.21",
|
|
87
|
+
"postcss-assets": "^6.0.0",
|
|
88
|
+
"prop-types": "^15.8.1",
|
|
89
|
+
"react": "^18.2.0",
|
|
90
|
+
"react-dom": "^18.2.0",
|
|
91
|
+
"react-scripts": "^5.0.1",
|
|
92
|
+
"rollup": "^3.10.0",
|
|
93
|
+
"rollup-plugin-dts": "^5.1.1",
|
|
94
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
95
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
96
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
97
|
+
"storybook-addon-styled-component-theme": "^2.0.0",
|
|
98
|
+
"styled-components": "^5.3.6",
|
|
99
|
+
"webpack": "^5.75.0"
|
|
100
|
+
},
|
|
101
|
+
"main": "dist/cjs/index.js",
|
|
102
|
+
"module": "dist/esm/index.js",
|
|
103
|
+
"files": [
|
|
104
|
+
"dist"
|
|
105
|
+
],
|
|
106
|
+
"types": "dist/index.d.ts"
|
|
107
107
|
}
|