@otfdashkit/ui 0.1.8 → 0.1.9

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
@@ -3503,7 +3503,7 @@ function DataTableColumnHeader({ column, title }) {
3503
3503
  className: "flex items-center gap-1 hover:text-[hsl(var(--foreground))]",
3504
3504
  children: [
3505
3505
  title,
3506
- sorted === "asc" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUp, { className: "h-3 w-3" }) : sorted === "desc" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowDown, { className: "h-3 w-3" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUpDown, { className: "h-3 w-3 opacity-50" })
3506
+ sorted === "asc" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUp, { className: "h-3 w-3" }) : sorted === "desc" ? /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowDown, { className: "h-3 w-3" }) : /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUpDown, { className: "h-3 w-3" })
3507
3507
  ]
3508
3508
  }
3509
3509
  );
@@ -10845,7 +10845,7 @@ function Checkbox2({
10845
10845
  function SortIcon({ dir }) {
10846
10846
  if (dir === "asc") return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUp, { className: "h-3.5 w-3.5 shrink-0" });
10847
10847
  if (dir === "desc") return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowDown, { className: "h-3.5 w-3.5 shrink-0" });
10848
- return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUpDown, { className: "h-3.5 w-3.5 shrink-0 opacity-30" });
10848
+ return /* @__PURE__ */ jsxRuntime.jsx(lucideReact.ArrowUpDown, { className: "h-3.5 w-3.5 shrink-0" });
10849
10849
  }
10850
10850
  function ColumnVisibilityDropdown({
10851
10851
  columns,
package/dist/index.mjs CHANGED
@@ -3450,7 +3450,7 @@ function DataTableColumnHeader({ column, title }) {
3450
3450
  className: "flex items-center gap-1 hover:text-[hsl(var(--foreground))]",
3451
3451
  children: [
3452
3452
  title,
3453
- sorted === "asc" ? /* @__PURE__ */ jsx(ArrowUp, { className: "h-3 w-3" }) : sorted === "desc" ? /* @__PURE__ */ jsx(ArrowDown, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(ArrowUpDown, { className: "h-3 w-3 opacity-50" })
3453
+ sorted === "asc" ? /* @__PURE__ */ jsx(ArrowUp, { className: "h-3 w-3" }) : sorted === "desc" ? /* @__PURE__ */ jsx(ArrowDown, { className: "h-3 w-3" }) : /* @__PURE__ */ jsx(ArrowUpDown, { className: "h-3 w-3" })
3454
3454
  ]
3455
3455
  }
3456
3456
  );
@@ -10792,7 +10792,7 @@ function Checkbox2({
10792
10792
  function SortIcon({ dir }) {
10793
10793
  if (dir === "asc") return /* @__PURE__ */ jsx(ArrowUp, { className: "h-3.5 w-3.5 shrink-0" });
10794
10794
  if (dir === "desc") return /* @__PURE__ */ jsx(ArrowDown, { className: "h-3.5 w-3.5 shrink-0" });
10795
- return /* @__PURE__ */ jsx(ArrowUpDown, { className: "h-3.5 w-3.5 shrink-0 opacity-30" });
10795
+ return /* @__PURE__ */ jsx(ArrowUpDown, { className: "h-3.5 w-3.5 shrink-0" });
10796
10796
  }
10797
10797
  function ColumnVisibilityDropdown({
10798
10798
  columns,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@otfdashkit/ui",
3
- "version": "0.1.8",
3
+ "version": "0.1.9",
4
4
  "description": "OTF UI: 150+ React components for web apps (primitives, blocks, layouts and charts), themed by @otfdashkit/tokens. Works with Tailwind CSS v3 and v4. Shares component names and tokens with @otfdashkit/ui-native.",
5
5
  "keywords": [
6
6
  "otfdashkit",
@@ -34,7 +34,7 @@ export function DataTableColumnHeader({ column, title }: { column: any; title: s
34
34
  className="flex items-center gap-1 hover:text-[hsl(var(--foreground))]"
35
35
  >
36
36
  {title}
37
- {sorted === 'asc' ? <ArrowUp className="h-3 w-3" /> : sorted === 'desc' ? <ArrowDown className="h-3 w-3" /> : <ArrowUpDown className="h-3 w-3 opacity-50" />}
37
+ {sorted === 'asc' ? <ArrowUp className="h-3 w-3" /> : sorted === 'desc' ? <ArrowDown className="h-3 w-3" /> : <ArrowUpDown className="h-3 w-3" />}
38
38
  </button>
39
39
  )
40
40
  }
@@ -91,7 +91,7 @@ export interface DataGridProps<T extends object> {
91
91
  function SortIcon({ dir }: { dir: 'asc' | 'desc' | false }) {
92
92
  if (dir === 'asc') return <ArrowUp className="h-3.5 w-3.5 shrink-0" />
93
93
  if (dir === 'desc') return <ArrowDown className="h-3.5 w-3.5 shrink-0" />
94
- return <ArrowUpDown className="h-3.5 w-3.5 shrink-0 opacity-30" />
94
+ return <ArrowUpDown className="h-3.5 w-3.5 shrink-0" />
95
95
  }
96
96
 
97
97
  // ── Column visibility dropdown ───────────────────────────────────