@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.mjs CHANGED
@@ -965,7 +965,7 @@ var counter_default = Counter;
965
965
 
966
966
  // src/components/data-table/components/data-table.tsx
967
967
  import { ChevronDownIcon, ChevronUpIcon, UpDownIcon } from "@chakra-ui/icons";
968
- import { Box as Box11, Flex as Flex2, Skeleton as Skeleton2, Table, Tbody, Td, Th, Thead, Tr, useColorModeValue } from "@chakra-ui/react";
968
+ import { Box as Box11, Flex as Flex2, keyframes, Skeleton as Skeleton2, Table, Tbody, Td, Th, Thead, Tr, useColorModeValue } from "@chakra-ui/react";
969
969
  import { css } from "@emotion/react";
970
970
  import { flexRender, getCoreRowModel, getSortedRowModel, useReactTable } from "@tanstack/react-table";
971
971
  import * as React5 from "react";
@@ -1109,6 +1109,10 @@ var getCommonPinningStyles = (column, paddingRowX) => {
1109
1109
  } : {}
1110
1110
  };
1111
1111
  };
1112
+ var fadeIn = keyframes`
1113
+ from { opacity: 0; }
1114
+ to { opacity: 1; }
1115
+ `;
1112
1116
  var useDataTable = ({
1113
1117
  columns,
1114
1118
  dataSource = [],
@@ -1396,7 +1400,7 @@ var DataTable = React5.forwardRef((props, ref) => {
1396
1400
  }) }, headerGroup.id))
1397
1401
  }
1398
1402
  ),
1399
- /* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, children: table.getRowModel().rows.map((row, index) => {
1403
+ /* @__PURE__ */ jsx24(Tbody, { ...styles == null ? void 0 : styles.tableBody, animation: `${fadeIn} 0.15s ease-out`, children: table.getRowModel().rows.map((row, index) => {
1400
1404
  const isDisabledRow = disabledRow && disabledRow(row.original);
1401
1405
  const isHighlightedRow = Object.keys(selectedRow != null ? selectedRow : {}).filter((key) => selectedRow == null ? void 0 : selectedRow[key]).includes(row.id) || highlightedRow && highlightedRow(row.original);
1402
1406
  return /* @__PURE__ */ jsx24(
@@ -7310,8 +7314,8 @@ var input_default = Input4;
7310
7314
 
7311
7315
  // src/config/theme/components/loader.ts
7312
7316
  import { defineStyleConfig as defineStyleConfig4 } from "@chakra-ui/styled-system";
7313
- import { keyframes } from "@emotion/react";
7314
- var rotate = keyframes({
7317
+ import { keyframes as keyframes2 } from "@emotion/react";
7318
+ var rotate = keyframes2({
7315
7319
  "0%": {
7316
7320
  transform: "rotate(0deg)"
7317
7321
  },