@bigbinary/neetoui 4.0.10 → 4.0.11
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 +4 -0
- package/index.d.ts +10 -7
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -23,6 +23,10 @@ Prefix the change with one of these keywords:
|
|
|
23
23
|
- *Fixed*: for any bug fixes.
|
|
24
24
|
- *Security*: in case of vulnerabilities.
|
|
25
25
|
|
|
26
|
+
## 4.0.11 - 2022-10-10
|
|
27
|
+
|
|
28
|
+
- Fixed false positive type errors
|
|
29
|
+
|
|
26
30
|
## 4.0.10 - 2022-10-05
|
|
27
31
|
|
|
28
32
|
- Fixed: issue with week picker in `DatePicker`.
|
package/index.d.ts
CHANGED
|
@@ -44,6 +44,7 @@ interface PopupProps {
|
|
|
44
44
|
|
|
45
45
|
interface PopupContentProps {
|
|
46
46
|
className?: string;
|
|
47
|
+
children?: React.ReactNode;
|
|
47
48
|
}
|
|
48
49
|
|
|
49
50
|
export type ModalProps = PopupProps & { size?: "small" | "medium" | "large" };
|
|
@@ -254,7 +255,12 @@ export interface EmailInputProps {
|
|
|
254
255
|
[key: string]: any;
|
|
255
256
|
}
|
|
256
257
|
|
|
257
|
-
export
|
|
258
|
+
export interface InputProps
|
|
259
|
+
extends React.DetailedHTMLProps<
|
|
260
|
+
React.InputHTMLAttributes<HTMLInputElement>,
|
|
261
|
+
HTMLInputElement
|
|
262
|
+
> {
|
|
263
|
+
[key: string]: any;
|
|
258
264
|
size?: "small" | "medium" | "large";
|
|
259
265
|
label?: string;
|
|
260
266
|
error?: string;
|
|
@@ -266,10 +272,7 @@ export type InputProps = {
|
|
|
266
272
|
nakedInput?: boolean;
|
|
267
273
|
contentSize?: number;
|
|
268
274
|
required?: boolean;
|
|
269
|
-
}
|
|
270
|
-
React.InputHTMLAttributes<HTMLInputElement>,
|
|
271
|
-
HTMLInputElement
|
|
272
|
-
> & { [key: string]: any };
|
|
275
|
+
}
|
|
273
276
|
|
|
274
277
|
export type LabelProps = {
|
|
275
278
|
className?: string;
|
|
@@ -544,8 +547,8 @@ export const Toastr: {
|
|
|
544
547
|
success: ToastrFunction;
|
|
545
548
|
error: (
|
|
546
549
|
message: React.ReactNode | Error,
|
|
547
|
-
buttonLabel
|
|
548
|
-
onClick
|
|
550
|
+
buttonLabel?: React.ReactNode,
|
|
551
|
+
onClick?: () => void
|
|
549
552
|
) => void;
|
|
550
553
|
warning: ToastrFunction;
|
|
551
554
|
};
|