odaptos_design_system 1.4.35 → 1.4.36
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/Table/TableFooter.d.ts +2 -1
- package/dist/Table/index.d.ts +2 -1
- package/dist/odaptos_design_system.cjs.development.js +5 -2
- package/dist/odaptos_design_system.cjs.development.js.map +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js +1 -1
- package/dist/odaptos_design_system.cjs.production.min.js.map +1 -1
- package/dist/odaptos_design_system.esm.js +5 -2
- package/dist/odaptos_design_system.esm.js.map +1 -1
- package/package.json +1 -1
- package/src/Table/TableFooter.tsx +3 -1
- package/src/Table/index.tsx +3 -0
|
@@ -2,7 +2,8 @@ import React from 'react';
|
|
|
2
2
|
interface TableRowsProps {
|
|
3
3
|
footerIconRight?: JSX.Element;
|
|
4
4
|
footerText?: string;
|
|
5
|
+
footerClassName?: string;
|
|
5
6
|
footerAction?: () => void;
|
|
6
7
|
}
|
|
7
|
-
export declare const TableFooter: ({ footerText, footerIconRight, footerAction, }: TableRowsProps) => React.JSX.Element;
|
|
8
|
+
export declare const TableFooter: ({ footerText, footerIconRight, footerClassName, footerAction, }: TableRowsProps) => React.JSX.Element;
|
|
8
9
|
export {};
|
package/dist/Table/index.d.ts
CHANGED
|
@@ -19,9 +19,10 @@ interface TableProps {
|
|
|
19
19
|
footerText?: string;
|
|
20
20
|
footerAction?: () => void;
|
|
21
21
|
footerIconRight?: JSX.Element;
|
|
22
|
+
footerClassName?: string;
|
|
22
23
|
}
|
|
23
24
|
/**
|
|
24
25
|
* Figma link : https://www.figma.com/file/fjnhhbL12HvKccPmJchVnr/Atomic-Library?type=design&node-id=1262-39999&mode=dev
|
|
25
26
|
*/
|
|
26
|
-
export declare const Table: ({ headers, rows, isSelectable, className, id, rowsClassName, areAllSelected, footerText, footerAction, footerIconRight, selectAll, }: TableProps) => React.JSX.Element;
|
|
27
|
+
export declare const Table: ({ headers, rows, isSelectable, className, id, rowsClassName, areAllSelected, footerText, footerAction, footerIconRight, footerClassName, selectAll, }: TableProps) => React.JSX.Element;
|
|
27
28
|
export {};
|
|
@@ -5880,10 +5880,11 @@ styleInject(css_248z$p);
|
|
|
5880
5880
|
const TableFooter = ({
|
|
5881
5881
|
footerText,
|
|
5882
5882
|
footerIconRight,
|
|
5883
|
+
footerClassName,
|
|
5883
5884
|
footerAction
|
|
5884
5885
|
}) => {
|
|
5885
5886
|
return /*#__PURE__*/React__default.createElement(React__default.Fragment, null, /*#__PURE__*/React__default.createElement("div", {
|
|
5886
|
-
className: `${styles$p.footer}`
|
|
5887
|
+
className: `${styles$p.footer} ${footerClassName && footerClassName}`
|
|
5887
5888
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
5888
5889
|
className: `${styles$p.footer_content}`
|
|
5889
5890
|
}, footerText && /*#__PURE__*/React__default.createElement(Text, {
|
|
@@ -5918,6 +5919,7 @@ const Table = ({
|
|
|
5918
5919
|
footerText,
|
|
5919
5920
|
footerAction,
|
|
5920
5921
|
footerIconRight,
|
|
5922
|
+
footerClassName,
|
|
5921
5923
|
selectAll
|
|
5922
5924
|
}) => {
|
|
5923
5925
|
return /*#__PURE__*/React__default.createElement("div", {
|
|
@@ -5935,7 +5937,8 @@ const Table = ({
|
|
|
5935
5937
|
}), /*#__PURE__*/React__default.createElement(TableFooter, {
|
|
5936
5938
|
footerAction: footerAction,
|
|
5937
5939
|
footerIconRight: footerIconRight,
|
|
5938
|
-
footerText: footerText
|
|
5940
|
+
footerText: footerText,
|
|
5941
|
+
footerClassName: footerClassName
|
|
5939
5942
|
}));
|
|
5940
5943
|
};
|
|
5941
5944
|
|