fis-component 0.0.41 → 0.0.43
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/cjs/index.js +3 -7
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -7
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.js
CHANGED
|
@@ -71020,7 +71020,8 @@ const DivTableContainerSC = styled.div `
|
|
|
71020
71020
|
vertical-align: ${(props) => props?.$verticalHeader || "center"};
|
|
71021
71021
|
border-bottom: ${getTheme("com/table/row-cell/divider/stroke-width")}
|
|
71022
71022
|
solid ${getTheme("com/table/title-cell/divider/color-stroke")};
|
|
71023
|
-
padding: ${getTheme("com/table/title-cell/vertical-padding")}
|
|
71023
|
+
padding: ${getTheme("com/table/title-cell/vertical-padding")}
|
|
71024
|
+
${getTheme("com/table/title-cell/horizontal-padding")}
|
|
71024
71025
|
${getTheme("com/table/title-cell/vertical-padding")}
|
|
71025
71026
|
${getTheme("com/table/title-cell/horizontal-padding")} !important;
|
|
71026
71027
|
background-color: ${getTheme("com/table/title-cell/default/background-color")};
|
|
@@ -71205,7 +71206,6 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
71205
71206
|
align-items: flex-start;
|
|
71206
71207
|
box-sizing: border-box;
|
|
71207
71208
|
gap: ${getTheme("com/table/title-cell/vertical-gap")};
|
|
71208
|
-
padding-right: ${getTheme("com/table/title-cell/horizontal-padding")};
|
|
71209
71209
|
${(props) => {
|
|
71210
71210
|
if (props.$onlyIcon) {
|
|
71211
71211
|
return styled.css `
|
|
@@ -71280,7 +71280,7 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
71280
71280
|
`;
|
|
71281
71281
|
|
|
71282
71282
|
const FISTableHeaderCell = React.forwardRef(({ className, label, description, rightComponent, disabled, hasRightDivider = true, hasTruncateLabel = false, onlyIcon = false, textAlign = "left", ...rest }, ref) => {
|
|
71283
|
-
return (jsxRuntime.jsx(DivHeaderCellContainerSC, { ref: ref, className: classNames("header-cell-container", className), "$textAlign": textAlign, "$disabled": disabled, "$hasTruncateLabel": hasTruncateLabel, "$hasRightDivider": hasRightDivider, "$onlyIcon": onlyIcon, ...rest, children: jsxRuntime.jsxs("div", { className: "header-cell-content", children: [jsxRuntime.jsxs("div", { className: "cell-content", children: [label && jsxRuntime.jsx("div", { className: "label", children: label }), jsxRuntime.jsx("div", { className: "right-component-father", children: jsxRuntime.jsx("div", { className: "right-component-child", children: rightComponent }) })] }), jsxRuntime.jsx("div", { className: "cell-content", children: description && jsxRuntime.jsx("div", { className: "description", children: description }) })] }) }));
|
|
71283
|
+
return (jsxRuntime.jsx(DivHeaderCellContainerSC, { ref: ref, className: classNames("header-cell-container", className), "$textAlign": textAlign, "$disabled": disabled, "$hasTruncateLabel": hasTruncateLabel, "$hasRightDivider": hasRightDivider, "$onlyIcon": onlyIcon, ...rest, children: jsxRuntime.jsxs("div", { className: "header-cell-content", children: [jsxRuntime.jsxs("div", { className: "cell-content", children: [label && jsxRuntime.jsx("div", { className: "label", children: label }), rightComponent && (jsxRuntime.jsx("div", { className: "right-component-father", children: jsxRuntime.jsx("div", { className: "right-component-child", children: rightComponent }) }))] }), jsxRuntime.jsx("div", { className: "cell-content", children: description && jsxRuntime.jsx("div", { className: "description", children: description }) })] }) }));
|
|
71284
71284
|
});
|
|
71285
71285
|
FISTableHeaderCell.displayName = "FISTableHeaderCell";
|
|
71286
71286
|
|
|
@@ -71390,10 +71390,6 @@ const DivColumnCellContainerSC = styled.div `
|
|
|
71390
71390
|
border-bottom: ${getTheme("com/table/title-cell/stroke-width")} solid
|
|
71391
71391
|
${getTheme("com/table/row-cell/divider/color-stroke")};
|
|
71392
71392
|
gap: ${getTheme("com/table/row-cell/horizontal-gap")};
|
|
71393
|
-
padding-top: ${getTheme("com/table/row-cell/vertical-padding")};
|
|
71394
|
-
padding-bottom: ${getTheme("com/table/row-cell/vertical-padding")};
|
|
71395
|
-
padding-left: ${getTheme("com/table/row-cell/horizontal-padding")};
|
|
71396
|
-
padding-right: ${getTheme("com/table/row-cell/horizontal-padding")};
|
|
71397
71393
|
|
|
71398
71394
|
&:hover {
|
|
71399
71395
|
background-color: ${getTheme("com/table/row-cell/background-color/hover")} !important;
|