prosperita-dumbo-react 1.7.8 → 1.9.8
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/prosperita-dumbo-react.es.js +2795 -2802
- package/dist/prosperita-dumbo-react.umd.js +220 -228
- package/dist/types/Components/TableBatchActions/index.d.ts +7 -3
- package/dist/types/Components/TableBatchActions/index.d.ts.map +1 -1
- package/dist/types/Components/TableBatchActions/style.d.ts +0 -1
- package/dist/types/Components/TableBatchActions/style.d.ts.map +1 -1
- package/package.json +1 -1
|
@@ -1,14 +1,17 @@
|
|
|
1
1
|
import { ReactNode } from "react";
|
|
2
|
+
import "@fontsource/ibm-plex-sans";
|
|
2
3
|
type TableRow = Record<string, React.ReactNode> & {
|
|
3
4
|
onClick?: (indexId: number) => void;
|
|
4
5
|
};
|
|
5
6
|
type DateProps = {
|
|
6
7
|
columnTitles: string[];
|
|
7
|
-
|
|
8
|
+
rowdata: TableRow[];
|
|
8
9
|
pageSizes: number[];
|
|
9
|
-
actions
|
|
10
|
+
actions?: OptionsActions[];
|
|
10
11
|
textLabel?: string;
|
|
11
12
|
buttonsTable?: ButtonTable[];
|
|
13
|
+
searchPlaceholder?: boolean;
|
|
14
|
+
messageDataLength: string;
|
|
12
15
|
};
|
|
13
16
|
type OptionsActions = {
|
|
14
17
|
text: ReactNode;
|
|
@@ -19,7 +22,8 @@ type ButtonTable = {
|
|
|
19
22
|
onClick?: () => void;
|
|
20
23
|
icon?: string;
|
|
21
24
|
kind: "primary" | "secondary" | "tertiary" | "ghost" | "dangerPrimary" | "dangerTertiary" | "dangerGhost";
|
|
25
|
+
position?: "right" | "left";
|
|
22
26
|
};
|
|
23
|
-
export declare const TableBatchActions: ({
|
|
27
|
+
export declare const TableBatchActions: ({ rowdata, pageSizes, buttonsTable, textLabel, searchPlaceholder, columnTitles, messageDataLength }: DateProps) => import("react/jsx-runtime").JSX.Element;
|
|
24
28
|
export {};
|
|
25
29
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/TableBatchActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACV,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Components/TableBatchActions/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAIL,SAAS,EACV,MAAM,OAAO,CAAC;AAiBf,OAAO,2BAA2B,CAAC;AAUnC,KAAK,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,KAAK,CAAC,SAAS,CAAC,GAAG;IAChD,OAAO,CAAC,EAAE,CAAC,OAAO,EAAE,MAAM,KAAK,IAAI,CAAC;CACrC,CAAC;AAEF,KAAK,SAAS,GAAG;IACf,YAAY,EAAE,MAAM,EAAE,CAAC;IACvB,OAAO,EAAE,QAAQ,EAAE,CAAC;IACpB,SAAS,EAAE,MAAM,EAAE,CAAC;IACpB,OAAO,CAAC,EAAE,cAAc,EAAE,CAAC;IAC3B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,YAAY,CAAC,EAAE,WAAW,EAAE,CAAC;IAC7B,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,iBAAiB,EAAE,MAAM,CAAA;CAC1B,CAAC;AAEF,KAAK,cAAc,GAAG;IACpB,IAAI,EAAE,SAAS,CAAC;IAChB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;CACtB,CAAC;AAEF,KAAK,WAAW,GAAG;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,EACF,SAAS,GACT,WAAW,GACX,UAAU,GACV,OAAO,GACP,eAAe,GACf,gBAAgB,GAChB,aAAa,CAAC;IAChB,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,CAAA;CAC5B,CAAC;AAkBF,eAAO,MAAM,iBAAiB,wGAQ3B,SAAS,4CAmQX,CAAC"}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import "@fontsource/ibm-plex-sans";
|
|
3
|
-
export declare const GlobalStyle: React.NamedExoticComponent<import("styled-components").ExecutionProps & Props>;
|
|
4
3
|
export declare const TableMain: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, never>> & string;
|
|
5
4
|
export declare const Trs: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
|
|
6
5
|
export declare const Tds: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, never>> & string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/Components/TableBatchActions/style.tsx"],"names":[],"mappings":";AACA,OAAO,2BAA2B,CAAC;AAInC,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"style.d.ts","sourceRoot":"","sources":["../../../../src/Components/TableBatchActions/style.tsx"],"names":[],"mappings":";AACA,OAAO,2BAA2B,CAAC;AAInC,eAAO,MAAM,SAAS,sOAQrB,CAAC;AAEF,eAAO,MAAM,GAAG,uOAWf,CAAC;AAGF,eAAO,MAAM,GAAG,mPAMf,CAAC;AAGF,eAAO,MAAM,QAAQ,uOAepB,CAAC;AAEF,eAAO,MAAM,GAAG,uPAMf,CAAC;AAEF,eAAO,MAAM,UAAU,yOAWtB,CAAC;AACF,eAAO,MAAM,aAAa,yOAYzB,CAAC;AAGF,eAAO,MAAM,UAAU,6NAWtB,CAAC;AACF,eAAO,MAAM,OAAO,6NAMnB,CAAC;AACF,eAAO,MAAM,cAAc,yOAW1B,CAAC;AACF,eAAO,MAAM,UAAU,yOAGtB,CAAC;AACF,eAAO,MAAM,SAAS,yOAoBrB,CAAC;AACF,eAAO,MAAM,QAAQ,yOAUpB,CAAC;AAEF,eAAO,MAAM,cAAc,6NAkD1B,CAAC"}
|