fis-component 0.0.36 → 0.0.38
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
CHANGED
|
@@ -71282,7 +71282,7 @@ const DivHeaderCellContainerSC = styled.div `
|
|
|
71282
71282
|
const FISHeaderCell = React.forwardRef(({ className, textAlign, label, description, rightComponent, disabled, hasRightDivider = true, hasTruncateLabel = false, onlyIcon = false, align = "left", ...rest }, ref) => {
|
|
71283
71283
|
return (jsxRuntime.jsx(DivHeaderCellContainerSC, { ref: ref, className: classNames("header-cell-container", className), "$textAlign": textAlign, "$disabled": disabled, "$hasTruncateLabel": hasTruncateLabel, "$hasRightDivider": hasRightDivider, "$align": align, "$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 }) })] }) }));
|
|
71284
71284
|
});
|
|
71285
|
-
FISHeaderCell.displayName = "
|
|
71285
|
+
FISHeaderCell.displayName = "FISTableHeaderCell";
|
|
71286
71286
|
|
|
71287
71287
|
const COLUMN_TEXT_ALIGN = {
|
|
71288
71288
|
RIGHT: "right",
|
|
@@ -71584,7 +71584,7 @@ const DivIconSC = styled.div `
|
|
|
71584
71584
|
const FISColumnCell = React.forwardRef(({ className, textAlign, variant = COLUMN_VARIANT.PRIMARY, content, description, icon, disabled, hasBorder, onChange, contentWrapText = false, ...rest }, ref) => {
|
|
71585
71585
|
return (jsxRuntime.jsx(DivColumnCellContainerSC, { "$hasBorder": hasBorder, "$disabled": disabled, "$variant": variant, "$textAlign": textAlign, "$contentWrapText": contentWrapText, "$hasContent": content, "$hasDescription": description, ref: ref, className: classNames("column-cell-container", className), ...rest, children: textAlign === COLUMN_TEXT_ALIGN.SINGLE_LINE ? (jsxRuntime.jsxs("div", { className: "single-line-content", children: [icon && (jsxRuntime.jsx("div", { className: "icon-box", children: jsxRuntime.jsx(DivIconSC, { "$textAlign": textAlign, "$variant": variant, "$disabled": disabled, "$hasContent": content, "$hasDescription": description, children: icon }) })), (content || description) && (jsxRuntime.jsxs("div", { className: "content-box", children: [content && jsxRuntime.jsx("div", { className: "content", children: content }), description && (jsxRuntime.jsx("div", { className: "description", children: description }))] }))] })) : (jsxRuntime.jsxs("div", { className: "left-right-content", children: [(icon || content) && (jsxRuntime.jsxs("div", { className: "content-box", children: [icon && (jsxRuntime.jsx(DivIconSC, { "$textAlign": textAlign, "$variant": variant, "$disabled": disabled, "$hasContent": content, "$hasDescription": description, children: icon })), content && jsxRuntime.jsx("div", { className: "content", children: content })] })), description && jsxRuntime.jsx("div", { className: "description", children: description })] })) }));
|
|
71586
71586
|
});
|
|
71587
|
-
FISColumnCell.displayName = "
|
|
71587
|
+
FISColumnCell.displayName = "FISTableCell";
|
|
71588
71588
|
|
|
71589
71589
|
const SORT_ORDERS = {
|
|
71590
71590
|
ASCEND: "ascend",
|
|
@@ -73528,11 +73528,9 @@ exports.FISCheckbox = FISCheckbox;
|
|
|
73528
73528
|
exports.FISCheckboxGroup = FISCheckboxGroup;
|
|
73529
73529
|
exports.FISChipButton = FISChipButton;
|
|
73530
73530
|
exports.FISCollapse = FISCollapse;
|
|
73531
|
-
exports.FISColumnCell = FISColumnCell;
|
|
73532
73531
|
exports.FISCombobox = FISCombobox;
|
|
73533
73532
|
exports.FISDateRange = FISDateRange;
|
|
73534
73533
|
exports.FISDivider = FISDivider;
|
|
73535
|
-
exports.FISHeaderCell = FISHeaderCell;
|
|
73536
73534
|
exports.FISIconButton = FISIconButton;
|
|
73537
73535
|
exports.FISInputArea = FISInputArea;
|
|
73538
73536
|
exports.FISInputDate = FISInputDate;
|
|
@@ -73558,8 +73556,8 @@ exports.FISSplitButton = FISSplitButton;
|
|
|
73558
73556
|
exports.FISSwitch = FISSwitch;
|
|
73559
73557
|
exports.FISTab = FISTab;
|
|
73560
73558
|
exports.FISTable = FISTable;
|
|
73561
|
-
exports.
|
|
73562
|
-
exports.
|
|
73559
|
+
exports.FISTableCell = FISColumnCell;
|
|
73560
|
+
exports.FISTableHeaderCell = FISHeaderCell;
|
|
73563
73561
|
exports.FISThemeProvider = FISThemeProvider;
|
|
73564
73562
|
exports.FISToast = FISToast;
|
|
73565
73563
|
exports.FISTooltip = FISTooltip;
|