@ctlyst.id/internal-ui 5.6.3 → 5.6.4
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.js +5 -1
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -4
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1466,6 +1466,10 @@ var getCommonPinningStyles = (column, paddingRowX) => {
|
|
|
1466
1466
|
} : {}
|
|
1467
1467
|
};
|
|
1468
1468
|
};
|
|
1469
|
+
var fadeIn = import_react30.keyframes`
|
|
1470
|
+
from { opacity: 0; }
|
|
1471
|
+
to { opacity: 1; }
|
|
1472
|
+
`;
|
|
1469
1473
|
var useDataTable = ({
|
|
1470
1474
|
columns,
|
|
1471
1475
|
dataSource = [],
|
|
@@ -1753,7 +1757,7 @@ var DataTable = React5.forwardRef((props, ref) => {
|
|
|
1753
1757
|
}) }, headerGroup.id))
|
|
1754
1758
|
}
|
|
1755
1759
|
),
|
|
1756
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row, index) => {
|
|
1760
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_react30.Tbody, { ...styles == null ? void 0 : styles.tableBody, animation: `${fadeIn} 0.15s ease-out`, children: table.getRowModel().rows.map((row, index) => {
|
|
1757
1761
|
const isDisabledRow = disabledRow && disabledRow(row.original);
|
|
1758
1762
|
const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).filter((key) => selectedRow == null ? void 0 : selectedRow[key]).includes(row.id) || highlightedRow && highlightedRow(row.original);
|
|
1759
1763
|
return /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|