@bigbinary/neetoui 5.2.41 → 5.2.43
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/index.cjs.js +683 -321
- package/index.cjs.js.map +1 -1
- package/index.css +1 -1
- package/index.d.ts +21 -1
- package/index.js +686 -325
- package/index.js.map +1 -1
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { Dayjs } from "dayjs";
|
|
1
2
|
import React from "react";
|
|
2
3
|
|
|
3
4
|
export interface AccordionProps {
|
|
@@ -201,6 +202,22 @@ export type DatePickerProps = {
|
|
|
201
202
|
[key: string]: any;
|
|
202
203
|
};
|
|
203
204
|
|
|
205
|
+
export type DateTimePickerProps = {
|
|
206
|
+
value: any;
|
|
207
|
+
defaultValue?: any;
|
|
208
|
+
className?: string;
|
|
209
|
+
label?: string;
|
|
210
|
+
size?: "small" | "medium" | "large";
|
|
211
|
+
dropdownClassName?: string;
|
|
212
|
+
dateFormat?: string;
|
|
213
|
+
onChange?: (dateTime: Dayjs) => void;
|
|
214
|
+
nakedInput?: boolean;
|
|
215
|
+
error?: string;
|
|
216
|
+
id?: string;
|
|
217
|
+
labelProps?: LabelProps;
|
|
218
|
+
[key: string]: any;
|
|
219
|
+
};
|
|
220
|
+
|
|
204
221
|
export interface DropdownProps {
|
|
205
222
|
icon?: string | any;
|
|
206
223
|
label?: React.ReactNode;
|
|
@@ -399,8 +416,9 @@ export interface TableProps {
|
|
|
399
416
|
enableColumnResize?: boolean;
|
|
400
417
|
enableColumnReorder?: boolean;
|
|
401
418
|
onColumnUpdate?: (columns: any[]) => void;
|
|
402
|
-
[key: string]: any;
|
|
403
419
|
preserveTableStateInQuery?: boolean;
|
|
420
|
+
onColumnHide?: (columnKey: string) => void;
|
|
421
|
+
[key: string]: any;
|
|
404
422
|
}
|
|
405
423
|
|
|
406
424
|
export interface TagProps {
|
|
@@ -517,6 +535,7 @@ export interface PopoverProps {
|
|
|
517
535
|
interactive?: boolean;
|
|
518
536
|
hideAfter?: number;
|
|
519
537
|
hideOnTargetExit?: boolean;
|
|
538
|
+
className?: string;
|
|
520
539
|
[key: string]: any;
|
|
521
540
|
}
|
|
522
541
|
|
|
@@ -755,6 +774,7 @@ export const Button: React.FC<ButtonProps>;
|
|
|
755
774
|
export const Callout: React.FC<CalloutProps>;
|
|
756
775
|
export const Checkbox: React.FC<CheckboxProps>;
|
|
757
776
|
export const DatePicker: React.FC<DatePickerProps>;
|
|
777
|
+
export const DateTimePicker: React.FC<DateTimePickerProps>;
|
|
758
778
|
export const Dropdown: React.FC<DropdownProps> & {
|
|
759
779
|
Menu: React.FC<
|
|
760
780
|
React.DetailedHTMLProps<
|