@designbasekorea/ui 0.1.51 → 0.1.52

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 CHANGED
@@ -10788,13 +10788,7 @@ const Table = ({ data, columns, title, showCountBadge = false, showFilter = fals
10788
10788
  const renderSortIcon = (column) => {
10789
10789
  if (!sortable || !column.sortable)
10790
10790
  return null;
10791
- const isSorted = effectiveSortColumn === column.key;
10792
- const isAsc = isSorted && effectiveSortDirection === 'asc';
10793
- const isDesc = isSorted && effectiveSortDirection === 'desc';
10794
- return (jsxRuntime.jsx("span", { className: "designbase-table__sort-icon", children: isSorted ? (jsxRuntime.jsx(icons.VerticalArrowsIcon, { size: 14, className: clsx({
10795
- 'designbase-table__sort-icon--asc': isAsc,
10796
- 'designbase-table__sort-icon--desc': isDesc,
10797
- }) })) : (jsxRuntime.jsx(icons.CaretUpdownFilledIcon, { size: 14, className: "designbase-table__sort-icon--idle" })) }));
10791
+ return (jsxRuntime.jsx("span", { className: "designbase-table__sort-icon", children: jsxRuntime.jsx(icons.CaretUpdownFilledIcon, { size: 14, className: "designbase-table__sort-icon--idle" }) }));
10798
10792
  };
10799
10793
  const renderCell = (column, item, index) => {
10800
10794
  const value = column.accessor ? column.accessor(item) : item[column.key];