@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.
Files changed (34) hide show
  1. package/CHANGELOG.md +17 -0
  2. package/dist/Datepicker/index.cjs.js +1 -1
  3. package/dist/Datepicker/index.js +1 -1
  4. package/dist/Datepicker/types/components/Alert/Alert.d.ts +4 -3
  5. package/dist/Datepicker/types/components/Input/Input.d.ts +1 -0
  6. package/dist/Menu/types/components/Alert/Alert.d.ts +4 -3
  7. package/dist/Menu/types/components/Input/Input.d.ts +1 -0
  8. package/dist/ProjectsPopover/types/components/Alert/Alert.d.ts +4 -3
  9. package/dist/ProjectsPopover/types/components/Input/Input.d.ts +1 -0
  10. package/dist/Select/index.cjs.js +38 -125
  11. package/dist/Select/index.cjs.js.map +1 -1
  12. package/dist/Select/index.js +38 -125
  13. package/dist/Select/index.js.map +1 -1
  14. package/dist/Select/types/components/Alert/Alert.d.ts +4 -3
  15. package/dist/Select/types/components/Input/Input.d.ts +1 -0
  16. package/dist/SelectCreatable/index.cjs.js +38 -125
  17. package/dist/SelectCreatable/index.cjs.js.map +1 -1
  18. package/dist/SelectCreatable/index.js +38 -125
  19. package/dist/SelectCreatable/index.js.map +1 -1
  20. package/dist/SelectCreatable/types/components/Alert/Alert.d.ts +4 -3
  21. package/dist/SelectCreatable/types/components/Input/Input.d.ts +1 -0
  22. package/dist/Snackbar/index.cjs.js +8 -8
  23. package/dist/Snackbar/index.cjs.js.map +1 -1
  24. package/dist/Snackbar/index.js +8 -8
  25. package/dist/Snackbar/index.js.map +1 -1
  26. package/dist/Snackbar/types/components/Alert/Alert.d.ts +4 -3
  27. package/dist/Snackbar/types/components/Input/Input.d.ts +1 -0
  28. package/dist/css/_theme.css +9 -7
  29. package/dist/index.d.ts +5 -3
  30. package/dist/index.js +22 -26
  31. package/dist/index.js.map +1 -1
  32. package/dist/types/components/Alert/Alert.d.ts +4 -3
  33. package/dist/types/components/Input/Input.d.ts +1 -0
  34. 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 | React.ReactNode;
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.15",
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.8.0",
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"