@iclips/ui 1.0.9 → 1.0.10

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
@@ -1236,11 +1236,11 @@ function rt({
1236
1236
  nav: "space-x-1 flex items-center",
1237
1237
  nav_button_previous: o(
1238
1238
  se({ variant: "outline" }),
1239
- "absolute left-1 top-0 size-7 bg-background p-0 hover:bg-accent hover:text-accent-foreground rounded-md border-border m-5 z-10"
1239
+ "absolute left-1 top-0 size-7 bg-background p-0 hover:bg-accent hover:text-accent-foreground rounded-md border-border z-10"
1240
1240
  ),
1241
1241
  nav_button_next: o(
1242
1242
  se({ variant: "outline" }),
1243
- "absolute right-1 top-0 size-7 bg-background p-0 hover:bg-accent hover:text-accent-foreground rounded-md border-border m-5 z-10"
1243
+ "absolute right-1 top-0 size-7 bg-background p-0 hover:bg-accent hover:text-accent-foreground rounded-md border-border z-10"
1244
1244
  ),
1245
1245
  table: "w-full border-collapse space-y-1",
1246
1246
  head_row: "flex",
@@ -6820,20 +6820,21 @@ function ao({
6820
6820
  }
6821
6821
  ),
6822
6822
  /* @__PURE__ */ t("div", { className: "rounded-md border", children: /* @__PURE__ */ i(Zt, { children: [
6823
- /* @__PURE__ */ t(Ut, { children: /* @__PURE__ */ t(ke, { children: a.map((w) => /* @__PURE__ */ t(
6823
+ /* @__PURE__ */ t(Ut, { children: /* @__PURE__ */ t(ke, { children: a.map((w) => /* @__PURE__ */ i(
6824
6824
  Kt,
6825
6825
  {
6826
6826
  className: o(
6827
6827
  w.headerClassName,
6828
- w.sortable && "cursor-pointer select-none hover:bg-muted/50 transition-colors"
6828
+ w.sortable && "cursor-pointer select-none hover:bg-muted/50 transition-colors",
6829
+ w.sortable && C(w.key) && "text-primary"
6829
6830
  ),
6830
6831
  style: { width: w.width },
6831
6832
  onClick: () => w.sortable && u.onSort(w.key),
6832
6833
  "aria-sort": w.sortable ? C(w.key) === "asc" ? "ascending" : C(w.key) === "desc" ? "descending" : "none" : void 0,
6833
- children: /* @__PURE__ */ i("div", { className: o("flex items-center gap-2", w.align ? `justify-${w.align}` : "justify-start"), children: [
6834
+ children: [
6834
6835
  w.header,
6835
- w.sortable && /* @__PURE__ */ t(ja, { className: o("h-4 w-4", C(w.key) ? "opacity-100" : "opacity-40") })
6836
- ] })
6836
+ w.sortable && C(w.key) && /* @__PURE__ */ t(ja, { className: "ml-2 h-4 w-4 inline" })
6837
+ ]
6837
6838
  },
6838
6839
  String(w.key)
6839
6840
  )) }) }),