@vchasno/ui-kit 0.3.15 → 0.3.17
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 +17 -0
- package/dist/Datepicker/index.cjs.js +1 -1
- package/dist/Datepicker/index.js +1 -1
- package/dist/Datepicker/types/components/Alert/Alert.d.ts +4 -3
- package/dist/Datepicker/types/components/Input/Input.d.ts +1 -0
- package/dist/Menu/types/components/Alert/Alert.d.ts +4 -3
- package/dist/Menu/types/components/Input/Input.d.ts +1 -0
- package/dist/ProjectsPopover/types/components/Alert/Alert.d.ts +4 -3
- package/dist/ProjectsPopover/types/components/Input/Input.d.ts +1 -0
- package/dist/Select/index.cjs.js +38 -125
- package/dist/Select/index.cjs.js.map +1 -1
- package/dist/Select/index.js +38 -125
- package/dist/Select/index.js.map +1 -1
- package/dist/Select/types/components/Alert/Alert.d.ts +4 -3
- package/dist/Select/types/components/Input/Input.d.ts +1 -0
- package/dist/SelectCreatable/index.cjs.js +38 -125
- package/dist/SelectCreatable/index.cjs.js.map +1 -1
- package/dist/SelectCreatable/index.js +38 -125
- package/dist/SelectCreatable/index.js.map +1 -1
- package/dist/SelectCreatable/types/components/Alert/Alert.d.ts +4 -3
- package/dist/SelectCreatable/types/components/Input/Input.d.ts +1 -0
- package/dist/Snackbar/index.cjs.js +8 -8
- package/dist/Snackbar/index.cjs.js.map +1 -1
- package/dist/Snackbar/index.js +8 -8
- package/dist/Snackbar/index.js.map +1 -1
- package/dist/Snackbar/types/components/Alert/Alert.d.ts +4 -3
- package/dist/Snackbar/types/components/Input/Input.d.ts +1 -0
- package/dist/css/_theme.css +9 -7
- package/dist/index.d.ts +5 -3
- package/dist/index.js +22 -26
- package/dist/index.js.map +1 -1
- package/dist/types/components/Alert/Alert.d.ts +4 -3
- package/dist/types/components/Input/Input.d.ts +1 -0
- package/package.json +2 -2
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './Alert.global.css';
|
|
3
|
-
type AlertType = 'error' | 'warning' | 'success' | 'info';
|
|
4
|
-
type IconType = 'info' | 'cross' | 'error' | 'warning' | 'success';
|
|
3
|
+
type AlertType = 'error' | 'warning' | 'success' | 'info' | 'config';
|
|
4
|
+
type IconType = 'info' | 'cross' | 'error' | 'warning' | 'success' | 'config';
|
|
5
5
|
export interface AlertProps {
|
|
6
6
|
type?: AlertType;
|
|
7
|
-
icon?: IconType
|
|
7
|
+
icon?: IconType;
|
|
8
|
+
customIcon?: React.ReactNode;
|
|
8
9
|
leftBorder?: boolean;
|
|
9
10
|
className?: string;
|
|
10
11
|
onClose?: VoidFunction;
|
|
@@ -9,6 +9,7 @@ export interface InputProps extends Partial<WithLabel & WithHint & LoadingFeedba
|
|
|
9
9
|
startElement?: string | React.ReactElement;
|
|
10
10
|
endElement?: string | React.ReactElement;
|
|
11
11
|
labelProps?: InputHTMLAttributes<HTMLLabelElement>;
|
|
12
|
+
hideEmptyMeta?: boolean;
|
|
12
13
|
children: React.ReactHTMLElement<HTMLInputElement> | React.ReactElement | JSX.Element[];
|
|
13
14
|
}
|
|
14
15
|
export declare const Input: React.FC<InputProps>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@vchasno/ui-kit",
|
|
3
|
-
"version": "0.3.
|
|
3
|
+
"version": "0.3.17",
|
|
4
4
|
"description": "React UI components for Vchasno applications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.js",
|
|
@@ -149,7 +149,7 @@
|
|
|
149
149
|
"@types/react-text-mask": "5.4.11",
|
|
150
150
|
"classnames": "2.5.1",
|
|
151
151
|
"react-datepicker": "6.9.0",
|
|
152
|
-
"react-select": "5.
|
|
152
|
+
"react-select": "5.7.7",
|
|
153
153
|
"react-text-mask": "5.5.0",
|
|
154
154
|
"react-textarea-autosize": "8.5.3",
|
|
155
155
|
"react-toastify": "10.0.5"
|