@prosperitainova/mirage-ui 1.1.148 → 1.1.150
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/README.md +32 -32
- package/dist/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +4 -1
- package/package.json +117 -114
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
-
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, ChangeEvent, LiHTMLAttributes } from 'react';
|
|
2
|
+
import React, { ButtonHTMLAttributes, InputHTMLAttributes, TextareaHTMLAttributes, HTMLAttributes, ChangeEvent, RefObject, LiHTMLAttributes } from 'react';
|
|
3
3
|
import { DropzoneProps as DropzoneProps$1 } from 'react-dropzone';
|
|
4
4
|
import { Props } from 'react-select';
|
|
5
5
|
import { TooltipProps, UncontrolledTooltipProps } from 'reactstrap';
|
|
@@ -344,6 +344,8 @@ type InputCurrencyProps = InputHTMLAttributes<HTMLInputElement> & TextareaHTMLAt
|
|
|
344
344
|
name?: string;
|
|
345
345
|
inputSize?: "normal" | "large";
|
|
346
346
|
isPercentage?: boolean;
|
|
347
|
+
ref?: RefObject<HTMLInputElement>;
|
|
348
|
+
autoFocus?: boolean;
|
|
347
349
|
};
|
|
348
350
|
declare const InputCurrency: (props: InputCurrencyProps) => react_jsx_runtime.JSX.Element;
|
|
349
351
|
|
|
@@ -356,6 +358,7 @@ type panelProps = {
|
|
|
356
358
|
toggleBalance?: boolean;
|
|
357
359
|
render?: () => JSX.Element;
|
|
358
360
|
secondaryRender?: () => JSX.Element;
|
|
361
|
+
onClick?: () => void;
|
|
359
362
|
};
|
|
360
363
|
type SummaryPanelProps = {
|
|
361
364
|
panel: panelProps[];
|
package/package.json
CHANGED
|
@@ -1,114 +1,117 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "@prosperitainova/mirage-ui",
|
|
3
|
-
"version": "1.1.
|
|
4
|
-
"private": false,
|
|
5
|
-
"license": "MIT",
|
|
6
|
-
"publishConfig": {
|
|
7
|
-
"access": "public"
|
|
8
|
-
},
|
|
9
|
-
"dependencies": {
|
|
10
|
-
"@fortawesome/free-regular-svg-icons": "^6.2.2",
|
|
11
|
-
"bootstrap": "^5.2.3",
|
|
12
|
-
"formik": "^2.4.3",
|
|
13
|
-
"hex-to-css-filter": "^5.4.0",
|
|
14
|
-
"react-content-loader": "^6.2.1",
|
|
15
|
-
"react-currency-input": "^1.3.6",
|
|
16
|
-
"react-currency-input-field": "^3.6.11",
|
|
17
|
-
"react-dropzone": "^14.2.3",
|
|
18
|
-
"react-input-mask": "^2.0.4",
|
|
19
|
-
"react-number-format": "^5.2.2",
|
|
20
|
-
"react-select": "^5.7.0",
|
|
21
|
-
"react-toastify": "^9.1.3",
|
|
22
|
-
"reactstrap": "^9.2.0",
|
|
23
|
-
"typescript": "^5.3.3"
|
|
24
|
-
},
|
|
25
|
-
"scripts": {
|
|
26
|
-
"start": "react-scripts start",
|
|
27
|
-
"build": "react-scripts build",
|
|
28
|
-
"test": "react-scripts test",
|
|
29
|
-
"eject": "react-scripts eject",
|
|
30
|
-
"storybook": "storybook dev -p 6006 -s public",
|
|
31
|
-
"build-storybook": "storybook build -s public & node copy.js",
|
|
32
|
-
"rollup": "tsc --p ./tsconfig.json && rollup -c --bundleConfigAsCjs"
|
|
33
|
-
},
|
|
34
|
-
"eslintConfig": {
|
|
35
|
-
"extends": [
|
|
36
|
-
"react-app",
|
|
37
|
-
"react-app/jest"
|
|
38
|
-
],
|
|
39
|
-
"overrides": [
|
|
40
|
-
{
|
|
41
|
-
"files": [
|
|
42
|
-
"**/*.stories.*"
|
|
43
|
-
],
|
|
44
|
-
"rules": {
|
|
45
|
-
"import/no-anonymous-default-export": "off"
|
|
46
|
-
}
|
|
47
|
-
}
|
|
48
|
-
]
|
|
49
|
-
},
|
|
50
|
-
"browserslist": {
|
|
51
|
-
"production": [
|
|
52
|
-
">0.2%",
|
|
53
|
-
"not dead",
|
|
54
|
-
"not op_mini all"
|
|
55
|
-
],
|
|
56
|
-
"development": [
|
|
57
|
-
"last 1 chrome version",
|
|
58
|
-
"last 1 firefox version",
|
|
59
|
-
"last 1 safari version"
|
|
60
|
-
]
|
|
61
|
-
},
|
|
62
|
-
"peerDependencies": {
|
|
63
|
-
"react": "^18.2.0",
|
|
64
|
-
"react-dom": "^18.2.0",
|
|
65
|
-
"react-scripts": "5.0.1",
|
|
66
|
-
"styled-components": "^5.3.6"
|
|
67
|
-
},
|
|
68
|
-
"devDependencies": {
|
|
69
|
-
"@
|
|
70
|
-
"@rollup/plugin-
|
|
71
|
-
"@rollup/plugin-
|
|
72
|
-
"@rollup/plugin-
|
|
73
|
-
"@rollup/plugin-
|
|
74
|
-
"@
|
|
75
|
-
"@storybook/addon-
|
|
76
|
-
"@storybook/addon-
|
|
77
|
-
"@storybook/addon-
|
|
78
|
-
"@storybook/
|
|
79
|
-
"@storybook/
|
|
80
|
-
"@storybook/react": "^7.5.3",
|
|
81
|
-
"@storybook/react
|
|
82
|
-
"@storybook/
|
|
83
|
-
"@
|
|
84
|
-
"@types/
|
|
85
|
-
"@types/
|
|
86
|
-
"@types/react
|
|
87
|
-
"@types/
|
|
88
|
-
"
|
|
89
|
-
"
|
|
90
|
-
"postcss
|
|
91
|
-
"
|
|
92
|
-
"
|
|
93
|
-
"react
|
|
94
|
-
"react-
|
|
95
|
-
"
|
|
96
|
-
"rollup
|
|
97
|
-
"rollup-plugin-
|
|
98
|
-
"rollup-plugin-
|
|
99
|
-
"rollup-plugin-
|
|
100
|
-
"
|
|
101
|
-
"
|
|
102
|
-
"
|
|
103
|
-
"
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
"
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
"
|
|
112
|
-
"
|
|
113
|
-
|
|
114
|
-
|
|
1
|
+
{
|
|
2
|
+
"name": "@prosperitainova/mirage-ui",
|
|
3
|
+
"version": "1.1.150",
|
|
4
|
+
"private": false,
|
|
5
|
+
"license": "MIT",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"dependencies": {
|
|
10
|
+
"@fortawesome/free-regular-svg-icons": "^6.2.2",
|
|
11
|
+
"bootstrap": "^5.2.3",
|
|
12
|
+
"formik": "^2.4.3",
|
|
13
|
+
"hex-to-css-filter": "^5.4.0",
|
|
14
|
+
"react-content-loader": "^6.2.1",
|
|
15
|
+
"react-currency-input": "^1.3.6",
|
|
16
|
+
"react-currency-input-field": "^3.6.11",
|
|
17
|
+
"react-dropzone": "^14.2.3",
|
|
18
|
+
"react-input-mask": "^2.0.4",
|
|
19
|
+
"react-number-format": "^5.2.2",
|
|
20
|
+
"react-select": "^5.7.0",
|
|
21
|
+
"react-toastify": "^9.1.3",
|
|
22
|
+
"reactstrap": "^9.2.0",
|
|
23
|
+
"typescript": "^5.3.3"
|
|
24
|
+
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"start": "react-scripts start",
|
|
27
|
+
"build": "react-scripts build",
|
|
28
|
+
"test": "react-scripts test",
|
|
29
|
+
"eject": "react-scripts eject",
|
|
30
|
+
"storybook": "storybook dev -p 6006 -s public",
|
|
31
|
+
"build-storybook": "storybook build -s public & node copy.js",
|
|
32
|
+
"rollup": "tsc --p ./tsconfig.json && rollup -c --bundleConfigAsCjs"
|
|
33
|
+
},
|
|
34
|
+
"eslintConfig": {
|
|
35
|
+
"extends": [
|
|
36
|
+
"react-app",
|
|
37
|
+
"react-app/jest"
|
|
38
|
+
],
|
|
39
|
+
"overrides": [
|
|
40
|
+
{
|
|
41
|
+
"files": [
|
|
42
|
+
"**/*.stories.*"
|
|
43
|
+
],
|
|
44
|
+
"rules": {
|
|
45
|
+
"import/no-anonymous-default-export": "off"
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
"browserslist": {
|
|
51
|
+
"production": [
|
|
52
|
+
">0.2%",
|
|
53
|
+
"not dead",
|
|
54
|
+
"not op_mini all"
|
|
55
|
+
],
|
|
56
|
+
"development": [
|
|
57
|
+
"last 1 chrome version",
|
|
58
|
+
"last 1 firefox version",
|
|
59
|
+
"last 1 safari version"
|
|
60
|
+
]
|
|
61
|
+
},
|
|
62
|
+
"peerDependencies": {
|
|
63
|
+
"react": "^18.2.0",
|
|
64
|
+
"react-dom": "^18.2.0",
|
|
65
|
+
"react-scripts": "5.0.1",
|
|
66
|
+
"styled-components": "^5.3.6"
|
|
67
|
+
},
|
|
68
|
+
"devDependencies": {
|
|
69
|
+
"@babel/plugin-proposal-private-property-in-object": "^7.21.11",
|
|
70
|
+
"@rollup/plugin-babel": "^6.0.3",
|
|
71
|
+
"@rollup/plugin-commonjs": "^24.0.0",
|
|
72
|
+
"@rollup/plugin-node-resolve": "^15.0.1",
|
|
73
|
+
"@rollup/plugin-typescript": "^11.1.5",
|
|
74
|
+
"@rollup/plugin-url": "^8.0.1",
|
|
75
|
+
"@storybook/addon-actions": "^7.5.3",
|
|
76
|
+
"@storybook/addon-essentials": "^7.5.3",
|
|
77
|
+
"@storybook/addon-interactions": "^7.5.3",
|
|
78
|
+
"@storybook/addon-links": "^7.5.3",
|
|
79
|
+
"@storybook/node-logger": "^7.5.3",
|
|
80
|
+
"@storybook/preset-create-react-app": "^7.5.3",
|
|
81
|
+
"@storybook/react": "^7.5.3",
|
|
82
|
+
"@storybook/react-webpack5": "^7.5.3",
|
|
83
|
+
"@storybook/testing-library": "^0.2.2",
|
|
84
|
+
"@types/carbon-components-react": "^7.55.10",
|
|
85
|
+
"@types/node": "^16.18.8",
|
|
86
|
+
"@types/react": "^18.0.26",
|
|
87
|
+
"@types/react-input-mask": "^3.0.2",
|
|
88
|
+
"@types/styled-components": "^5.1.26",
|
|
89
|
+
"babel-plugin-named-exports-order": "^0.0.2",
|
|
90
|
+
"postcss": "^8.4.21",
|
|
91
|
+
"postcss-assets": "^6.0.0",
|
|
92
|
+
"prop-types": "^15.8.1",
|
|
93
|
+
"react": "^18.2.0",
|
|
94
|
+
"react-dom": "^18.2.0",
|
|
95
|
+
"react-scripts": "^5.0.1",
|
|
96
|
+
"rollup": "^4.9.2",
|
|
97
|
+
"rollup-plugin-dts": "^5.1.1",
|
|
98
|
+
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
99
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
100
|
+
"rollup-plugin-terser": "^7.0.2",
|
|
101
|
+
"rollup-plugin-typescript2": "^0.36.0",
|
|
102
|
+
"storybook": "^7.5.3",
|
|
103
|
+
"storybook-addon-styled-component-theme": "^2.0.0",
|
|
104
|
+
"styled-components": "^5.3.6",
|
|
105
|
+
"tslib": "^2.6.2",
|
|
106
|
+
"webpack": "^5.75.0"
|
|
107
|
+
},
|
|
108
|
+
"main": "dist/cjs/index.js",
|
|
109
|
+
"module": "dist/esm/index.js",
|
|
110
|
+
"types": "dist/index.d.ts",
|
|
111
|
+
"files": [
|
|
112
|
+
"dist"
|
|
113
|
+
],
|
|
114
|
+
"resolutions": {
|
|
115
|
+
"jackspeak": "2.1.1"
|
|
116
|
+
}
|
|
117
|
+
}
|