@paubox/ui 0.3.0 → 0.3.1
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.js +345 -311
- package/index.mjs +10950 -1557
- package/lib/Calendar/Calendar.d.ts +1 -1
- package/lib/Checkbox/Checkbox.d.ts +1 -1
- package/lib/DatePicker/DatePicker.d.ts +1 -1
- package/lib/Pagination/Pagination.d.ts +1 -1
- package/lib/Popper/Popper.d.ts +1 -1
- package/lib/RichTextToolbar/RichTextToolbar.d.ts +1 -1
- package/lib/Table/Table.d.ts +1 -1
- package/lib/Table/tableComponents.d.ts +8 -2
- package/package.json +1 -1
|
@@ -7,5 +7,5 @@ export type CalendarProps = {
|
|
|
7
7
|
endDate?: Date | null;
|
|
8
8
|
onChange?: ((date: Date, event?: MouseEvent<HTMLElement> | KeyboardEvent<HTMLElement>) => void) | ((dates: [Date, Date | null], event?: MouseEvent<HTMLElement, MouseEvent> | KeyboardEvent<HTMLElement>) => void);
|
|
9
9
|
};
|
|
10
|
-
declare const Calendar: FC<CalendarProps>;
|
|
10
|
+
export declare const Calendar: FC<CalendarProps>;
|
|
11
11
|
export default Calendar;
|
|
@@ -5,5 +5,5 @@ interface CheckboxProps extends Omit<React.InputHTMLAttributes<HTMLInputElement>
|
|
|
5
5
|
indeterminate?: boolean;
|
|
6
6
|
onChange?: (event: ChangeEvent<HTMLInputElement>) => void;
|
|
7
7
|
}
|
|
8
|
-
declare const Checkbox: ({ checked, indeterminate, onChange, ...props }: CheckboxProps) => JSX.Element;
|
|
8
|
+
export declare const Checkbox: ({ checked, indeterminate, onChange, ...props }: CheckboxProps) => JSX.Element;
|
|
9
9
|
export default Checkbox;
|
|
@@ -7,5 +7,5 @@ export interface DatePickerProps {
|
|
|
7
7
|
endDate?: Date | null;
|
|
8
8
|
onChange: ((date: Date | null) => void) | ((dates: [Date, Date | null]) => void);
|
|
9
9
|
}
|
|
10
|
-
declare const DatePicker: FC<DatePickerProps>;
|
|
10
|
+
export declare const DatePicker: FC<DatePickerProps>;
|
|
11
11
|
export default DatePicker;
|
|
@@ -10,5 +10,5 @@ interface PaginationProps {
|
|
|
10
10
|
onPageSizeChange: (size: number) => void;
|
|
11
11
|
onPageChange: (page: number) => void;
|
|
12
12
|
}
|
|
13
|
-
declare const Pagination: ({ pageInfo, isLoading, onPageSizeChange, onPageChange, }: PaginationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
13
|
+
export declare const Pagination: ({ pageInfo, isLoading, onPageSizeChange, onPageChange, }: PaginationProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
14
14
|
export default Pagination;
|
package/lib/Popper/Popper.d.ts
CHANGED
|
@@ -7,5 +7,5 @@ export interface RichTextToolbarProps {
|
|
|
7
7
|
setInitialValue: (quillInstance: Quill) => void;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
declare const RichTextToolbar: React.FC<RichTextToolbarProps>;
|
|
10
|
+
export declare const RichTextToolbar: React.FC<RichTextToolbarProps>;
|
|
11
11
|
export default RichTextToolbar;
|
package/lib/Table/Table.d.ts
CHANGED
|
@@ -39,5 +39,5 @@ export interface TableProps<T extends object> {
|
|
|
39
39
|
rowActions?: RowAction<T>[];
|
|
40
40
|
dense?: boolean;
|
|
41
41
|
}
|
|
42
|
-
declare const Table: <T extends object>({ height, data, pageInfo, columns, getRowId, isLoading, sorting, onPageSizeChange, onPageChange, onSortChange, enableRowSelection, selectedRows, onRowSelectionChange, onRowClick, rowActions, dense, }: TableProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
42
|
+
export declare const Table: <T extends object>({ height, data, pageInfo, columns, getRowId, isLoading, sorting, onPageSizeChange, onPageChange, onSortChange, enableRowSelection, selectedRows, onRowSelectionChange, onRowClick, rowActions, dense, }: TableProps<T>) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
43
43
|
export default Table;
|
|
@@ -20,7 +20,7 @@ export declare const TableHeader: import('@emotion/styled').StyledComponent<{
|
|
|
20
20
|
export declare const Th: import('@emotion/styled').StyledComponent<{
|
|
21
21
|
variant: "headline100Regular" | "headline100Semibold" | "headline200Regular" | "headline200Semibold" | "headline300Regular" | "headline300Semibold" | "paragraph100Regular" | "paragraph100Semibold" | "paragraph200Regular" | "paragraph200Semibold" | "paragraph300Regular" | "paragraph300Medium" | "paragraph300Semibold" | "paragraph300Bold" | "button100Medium" | "button200Medium" | "label100Regular" | "label100Medium" | "label100Semibold" | "label200Regular" | "label200Medium" | "label200Semibold";
|
|
22
22
|
color?: "primary" | "secondary" | string;
|
|
23
|
-
css?: import('@emotion/
|
|
23
|
+
css?: import('@emotion/react').SerializedStyles;
|
|
24
24
|
as?: keyof import("react").JSX.IntrinsicElements;
|
|
25
25
|
} & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
26
26
|
theme?: import('@emotion/react').Theme;
|
|
@@ -28,11 +28,13 @@ export declare const Th: import('@emotion/styled').StyledComponent<{
|
|
|
28
28
|
export declare const Tr: import('@emotion/styled').StyledComponent<{
|
|
29
29
|
theme?: import('@emotion/react').Theme;
|
|
30
30
|
as?: React.ElementType;
|
|
31
|
+
} & {
|
|
32
|
+
enableHover: boolean;
|
|
31
33
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
|
|
32
34
|
export declare const Td: import('@emotion/styled').StyledComponent<{
|
|
33
35
|
variant: "headline100Regular" | "headline100Semibold" | "headline200Regular" | "headline200Semibold" | "headline300Regular" | "headline300Semibold" | "paragraph100Regular" | "paragraph100Semibold" | "paragraph200Regular" | "paragraph200Semibold" | "paragraph300Regular" | "paragraph300Medium" | "paragraph300Semibold" | "paragraph300Bold" | "button100Medium" | "button200Medium" | "label100Regular" | "label100Medium" | "label100Semibold" | "label200Regular" | "label200Medium" | "label200Semibold";
|
|
34
36
|
color?: "primary" | "secondary" | string;
|
|
35
|
-
css?: import('@emotion/
|
|
37
|
+
css?: import('@emotion/react').SerializedStyles;
|
|
36
38
|
as?: keyof import("react").JSX.IntrinsicElements;
|
|
37
39
|
} & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
38
40
|
theme?: import('@emotion/react').Theme;
|
|
@@ -41,6 +43,10 @@ export declare const HeaderContent: import('@emotion/styled').StyledComponent<{
|
|
|
41
43
|
theme?: import('@emotion/react').Theme;
|
|
42
44
|
as?: React.ElementType;
|
|
43
45
|
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
46
|
+
export declare const ResizeHandleContainer: import('@emotion/styled').StyledComponent<{
|
|
47
|
+
theme?: import('@emotion/react').Theme;
|
|
48
|
+
as?: React.ElementType;
|
|
49
|
+
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
44
50
|
export declare const ResizeHandle: import('@emotion/styled').StyledComponent<{
|
|
45
51
|
theme?: import('@emotion/react').Theme;
|
|
46
52
|
as?: React.ElementType;
|