sag_components 2.0.0-beta172 → 2.0.0-beta173
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.esm.js +241 -38
- package/dist/index.esm.js.map +1 -1
- package/dist/index.js +241 -38
- package/dist/index.js.map +1 -1
- package/dist/types/components/Table/Table.stories.d.ts +29 -0
- package/dist/types/components/Table/TableBody.d.ts +3 -1
- package/dist/types/components/Table/TableBody.styles.d.ts +5 -0
- package/package.json +1 -1
|
@@ -340,6 +340,14 @@ declare namespace _default {
|
|
|
340
340
|
const name_39: string;
|
|
341
341
|
export { name_39 as name };
|
|
342
342
|
}
|
|
343
|
+
namespace onDropdownSelected {
|
|
344
|
+
const action_11: string;
|
|
345
|
+
export { action_11 as action };
|
|
346
|
+
const description_40: string;
|
|
347
|
+
export { description_40 as description };
|
|
348
|
+
const name_40: string;
|
|
349
|
+
export { name_40 as name };
|
|
350
|
+
}
|
|
343
351
|
}
|
|
344
352
|
}
|
|
345
353
|
export default _default;
|
|
@@ -687,6 +695,27 @@ export namespace ExpandableTable {
|
|
|
687
695
|
args: any;
|
|
688
696
|
}) => import("react/jsx-runtime").JSX.Element)[];
|
|
689
697
|
}
|
|
698
|
+
export namespace DropdownTable {
|
|
699
|
+
export namespace args_11 {
|
|
700
|
+
const width_12: string;
|
|
701
|
+
export { width_12 as width };
|
|
702
|
+
const height_12: string;
|
|
703
|
+
export { height_12 as height };
|
|
704
|
+
const tableBodyHeight_12: string;
|
|
705
|
+
export { tableBodyHeight_12 as tableBodyHeight };
|
|
706
|
+
const tableTitle_12: string;
|
|
707
|
+
export { tableTitle_12 as tableTitle };
|
|
708
|
+
const counter_5: number;
|
|
709
|
+
export { counter_5 as counter };
|
|
710
|
+
const showSideButton_5: boolean;
|
|
711
|
+
export { showSideButton_5 as showSideButton };
|
|
712
|
+
}
|
|
713
|
+
export { args_11 as args };
|
|
714
|
+
const decorators_1: ((Story: any, { args }: {
|
|
715
|
+
args: any;
|
|
716
|
+
}) => import("react/jsx-runtime").JSX.Element)[];
|
|
717
|
+
export { decorators_1 as decorators };
|
|
718
|
+
}
|
|
690
719
|
import Table from "./Table";
|
|
691
720
|
import { columns1 } from "./data";
|
|
692
721
|
import { data1 } from "./data";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export default TableBody;
|
|
2
|
-
declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor, buttonHoverColor, selectedColor, onDeleteClick, resetFocusIndex, changeFocusIndex, onFocusChange, indexToShimmer, statuses, onCommentSave, commentTextLimit, expandable, expandedRows, expandedContent, onExpandRow, expandedBackgroundColor, ref, }: {
|
|
2
|
+
declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor, buttonHoverColor, selectedColor, onDeleteClick, resetFocusIndex, changeFocusIndex, onFocusChange, indexToShimmer, statuses, onCommentSave, commentTextLimit, expandable, expandedRows, expandedContent, onExpandRow, expandedBackgroundColor, onDropdownSelected, ref, }: {
|
|
3
3
|
columns: any;
|
|
4
4
|
data: any;
|
|
5
5
|
onRowClick: any;
|
|
@@ -23,6 +23,7 @@ declare function TableBody({ columns, data, onRowClick, onSendClick, buttonColor
|
|
|
23
23
|
expandedContent?: {};
|
|
24
24
|
onExpandRow?: () => void;
|
|
25
25
|
expandedBackgroundColor?: string;
|
|
26
|
+
onDropdownSelected?: () => void;
|
|
26
27
|
ref?: any;
|
|
27
28
|
}): import("react/jsx-runtime").JSX.Element;
|
|
28
29
|
declare namespace TableBody {
|
|
@@ -42,6 +43,7 @@ declare namespace TableBody {
|
|
|
42
43
|
const statuses: PropTypes.Requireable<any[]>;
|
|
43
44
|
const onCommentSave: PropTypes.Requireable<(...args: any[]) => any>;
|
|
44
45
|
const commentTextLimit: PropTypes.Requireable<number>;
|
|
46
|
+
const onDropdownSelected: PropTypes.Requireable<(...args: any[]) => any>;
|
|
45
47
|
const ref: PropTypes.Requireable<object>;
|
|
46
48
|
}
|
|
47
49
|
const displayName: string;
|
|
@@ -24,3 +24,8 @@ export const CharacterCount: import("styled-components/dist/types").IStyledCompo
|
|
|
24
24
|
export const ExpandIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
25
25
|
export const ExpandedRow: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, never>> & string;
|
|
26
26
|
export const ExpandedContent: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
27
|
+
export const DropdownContainer: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
28
|
+
export const DropdownButton: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, never>> & string;
|
|
29
|
+
export const DropdownIcon: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
30
|
+
export const DropdownMenu: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|
|
31
|
+
export const DropdownOption: import("styled-components/dist/types").IStyledComponentBase<"web", import("styled-components").FastOmit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, never>> & string;
|