cortex-react-ui 0.1.164 → 0.1.166
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/cjs/index.js +1 -1
- package/lib/cjs/index.js.map +1 -1
- package/lib/cjs/types/index.d.ts +1 -1
- package/lib/index.d.ts +17 -17
- package/package.json +3 -3
package/lib/cjs/types/index.d.ts
CHANGED
|
@@ -2,9 +2,9 @@ export { default as Popper } from './Popper';
|
|
|
2
2
|
export { default as DomContainer } from './DomContainer';
|
|
3
3
|
export { default as Spinner } from './Spinner';
|
|
4
4
|
export { default as BarLoader } from './BarLoader';
|
|
5
|
-
export { default as Scanner } from './Scanner';
|
|
6
5
|
export { default as Selected } from './Selected';
|
|
7
6
|
export { default as Button } from './Button';
|
|
7
|
+
export { default as Scanner } from './Scanner';
|
|
8
8
|
export { default as ToggleButton } from './ToggleButton';
|
|
9
9
|
export { default as Tooltip } from './Tooltip';
|
|
10
10
|
export { default as TagInput } from './TagInput';
|
package/lib/index.d.ts
CHANGED
|
@@ -59,6 +59,23 @@ interface BarLoaderProps {
|
|
|
59
59
|
}
|
|
60
60
|
declare const BarLoader: React$1.FC<BarLoaderProps>;
|
|
61
61
|
|
|
62
|
+
interface SelectedProps {
|
|
63
|
+
title?: string;
|
|
64
|
+
data: any[];
|
|
65
|
+
onClick: (elt: any) => void;
|
|
66
|
+
}
|
|
67
|
+
declare const Selected: React$1.FC<SelectedProps>;
|
|
68
|
+
|
|
69
|
+
interface ButtonProps {
|
|
70
|
+
variant?: 'text' | 'contained' | 'outlined';
|
|
71
|
+
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
72
|
+
className?: string;
|
|
73
|
+
disable?: boolean;
|
|
74
|
+
children?: React$1.ReactNode;
|
|
75
|
+
onClick?: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
76
|
+
}
|
|
77
|
+
declare const Button: React$1.FC<ButtonProps>;
|
|
78
|
+
|
|
62
79
|
declare type TScanConfirmDialogLabels = {
|
|
63
80
|
title?: string;
|
|
64
81
|
message?: string;
|
|
@@ -81,23 +98,6 @@ declare type ScannerProps = {
|
|
|
81
98
|
onScan?: (detectedCodes: IDetectedBarcode[]) => void;
|
|
82
99
|
} & IScannerProps;
|
|
83
100
|
|
|
84
|
-
interface SelectedProps {
|
|
85
|
-
title?: string;
|
|
86
|
-
data: any[];
|
|
87
|
-
onClick: (elt: any) => void;
|
|
88
|
-
}
|
|
89
|
-
declare const Selected: React$1.FC<SelectedProps>;
|
|
90
|
-
|
|
91
|
-
interface ButtonProps {
|
|
92
|
-
variant?: 'text' | 'contained' | 'outlined';
|
|
93
|
-
color?: 'primary' | 'secondary' | 'success' | 'danger' | 'warning' | 'info' | 'light' | 'dark';
|
|
94
|
-
className?: string;
|
|
95
|
-
disable?: boolean;
|
|
96
|
-
children?: React$1.ReactNode;
|
|
97
|
-
onClick?: (event: React$1.MouseEvent<HTMLButtonElement>) => void;
|
|
98
|
-
}
|
|
99
|
-
declare const Button: React$1.FC<ButtonProps>;
|
|
100
|
-
|
|
101
101
|
interface ToggleButtonProps {
|
|
102
102
|
selected?: boolean;
|
|
103
103
|
value?: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cortex-react-ui",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.166",
|
|
4
4
|
"description": "React UI",
|
|
5
5
|
"author": "Anthony",
|
|
6
6
|
"license": "MIT",
|
|
@@ -74,7 +74,6 @@
|
|
|
74
74
|
"@types/node": "^12.0.0",
|
|
75
75
|
"@types/react": "^17.0.0",
|
|
76
76
|
"@types/react-dom": "^17.0.0",
|
|
77
|
-
"@yudiel/react-qr-scanner": "^2.0.2",
|
|
78
77
|
"css-loader": "5.2.6",
|
|
79
78
|
"eslint-config-airbnb": "^18.2.1",
|
|
80
79
|
"eslint-plugin-import": "^2.25.2",
|
|
@@ -97,6 +96,7 @@
|
|
|
97
96
|
"typescript": "^4.1.2"
|
|
98
97
|
},
|
|
99
98
|
"dependencies": {
|
|
100
|
-
"@rollup/plugin-replace": "^5.0.2"
|
|
99
|
+
"@rollup/plugin-replace": "^5.0.2",
|
|
100
|
+
"@yudiel/react-qr-scanner": "^2.0.2"
|
|
101
101
|
}
|
|
102
102
|
}
|