@cagatayfdn/flora-components 0.0.47 → 0.0.50
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/dist/index.cjs.js +26 -26
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.d.ts +6 -1
- package/dist/index.es.js +1155 -1150
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +22 -22
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ import { ChartProps } from 'react-chartjs-2';
|
|
|
5
5
|
import { CustomLocale } from 'flatpickr/dist/types/locale';
|
|
6
6
|
import { DateLimit } from 'flatpickr/dist/types/options';
|
|
7
7
|
import { DateOption } from 'flatpickr/dist/types/options';
|
|
8
|
+
import dayjs from 'dayjs';
|
|
8
9
|
import { Dispatch as Dispatch_2 } from 'react';
|
|
9
10
|
import { FC } from 'react';
|
|
10
11
|
import { FieldError } from 'react-hook-form';
|
|
@@ -321,6 +322,8 @@ export declare const Datepicker: React_2.ForwardRefExoticComponent<{
|
|
|
321
322
|
onClose?: ((s: any) => void) | undefined;
|
|
322
323
|
} & Omit<InputProps, "onChange" | "value"> & React_2.RefAttributes<HTMLDivElement>>;
|
|
323
324
|
|
|
325
|
+
export { dayjs }
|
|
326
|
+
|
|
324
327
|
declare type Dispatch = React_2.Dispatch<Actiontype>;
|
|
325
328
|
|
|
326
329
|
export declare const Divider: ({ appearance, className, margin, }: DividerProps) => JSX.Element;
|
|
@@ -1242,7 +1245,7 @@ declare type TabItemProps = {
|
|
|
1242
1245
|
|
|
1243
1246
|
export declare const Table: (props: TableProps) => JSX.Element;
|
|
1244
1247
|
|
|
1245
|
-
export declare const TableHeader: ({ totalCount, currentPage, title, actionOnChange, className, pagerOnChange, pageSizeOnChange, pagerVisible, pageSizeVisible, pageSize, actionItems, pageSizeItems, headerLeftItem, appearance, showItemsText, }: TableHeaderProps) => JSX_2.Element;
|
|
1248
|
+
export declare const TableHeader: ({ totalCount, currentPage, title, actionOnChange, className, pagerOnChange, pageSizeOnChange, pagerVisible, pageSizeVisible, pageSize, actionItems, pageSizeItems, headerLeftItem, customItem, appearance, showItemsText, }: TableHeaderProps) => JSX_2.Element;
|
|
1246
1249
|
|
|
1247
1250
|
declare type TableHeaderProps = {
|
|
1248
1251
|
totalCount?: number;
|
|
@@ -1254,6 +1257,7 @@ declare type TableHeaderProps = {
|
|
|
1254
1257
|
actionItems?: OptionProps[];
|
|
1255
1258
|
pageSizeItems?: OptionProps[];
|
|
1256
1259
|
headerLeftItem?: ReactNode;
|
|
1260
|
+
customItem?: React.ReactNode;
|
|
1257
1261
|
className?: string;
|
|
1258
1262
|
appearance?: ThemeAppearance;
|
|
1259
1263
|
actionOnChange?: (value: any) => void;
|
|
@@ -1271,6 +1275,7 @@ declare type TableProps = {
|
|
|
1271
1275
|
wrapperClass?: string;
|
|
1272
1276
|
headerVisible?: boolean;
|
|
1273
1277
|
headerLeftItem?: ReactNode;
|
|
1278
|
+
customFooterItem?: ReactNode;
|
|
1274
1279
|
selectedItems?: any[];
|
|
1275
1280
|
footerAction?: boolean;
|
|
1276
1281
|
rowSelection?: boolean;
|