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