@sabrenski/spire-ui-vue 0.3.3 → 0.3.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/spire-ui.js CHANGED
@@ -31418,11 +31418,11 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
31418
31418
  r.registerTab(e.tabKey, t.value, h);
31419
31419
  });
31420
31420
  const c = {
31421
- xs: "h-control-xs px-2 text-xs",
31422
- sm: "h-control-sm px-3 text-sm",
31423
- md: "h-control-md px-4 text-sm",
31424
- lg: "h-control-lg px-5 text-base",
31425
- xl: "h-control-xl px-6 text-base"
31421
+ xs: "h-4 px-2 text-xs",
31422
+ sm: "h-6 px-3 text-sm",
31423
+ md: "h-8 px-4 text-sm",
31424
+ lg: "h-10 px-5 text-base",
31425
+ xl: "h-12 px-6 text-base"
31426
31426
  }, C = {
31427
31427
  none: "rounded-none",
31428
31428
  sm: "rounded-xs",
@@ -31663,7 +31663,7 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
31663
31663
  class: "w-12 px-3 py-3 text-center"
31664
31664
  }, aT1 = ["aria-expanded", "aria-label", "onClick"], dT1 = ["data-spire-sticky"], cT1 = {
31665
31665
  key: 0,
31666
- class: "border-b border-border/30 bg-subtle"
31666
+ class: "bg-subtle"
31667
31667
  }, CT1 = ["colspan"], kT1 = { class: "px-4 py-3" }, uT1 = /* @__PURE__ */ _({
31668
31668
  __name: "TableBody",
31669
31669
  props: {
@@ -31695,8 +31695,7 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
31695
31695
  const f = r.getRowKey(y, m);
31696
31696
  return [
31697
31697
  "transition-colors group",
31698
- r.variant.value !== "striped" && "border-b border-border/30",
31699
- r.hoverable.value && "hover:bg-table-hover",
31698
+ r.hoverable.value && "hover:bg-table-hover [&>td:first-child]:rounded-l-md [&>td:last-child]:rounded-r-md",
31700
31699
  r.isRowSelected(f) && "bg-primary-subtle",
31701
31700
  r.isRowDisabled(f) && "opacity-50 pointer-events-none",
31702
31701
  r.variant.value === "striped" && m % 2 === 1 && "bg-table-stripe"
@@ -31722,7 +31721,7 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
31722
31721
  default: r1(() => [
31723
31722
  (M(!0), I(c1, null, H1(C.value, (f) => (M(), I("tr", i1({
31724
31723
  key: f.key,
31725
- class: f.type === "main" ? h(f.row, f.index) : "border-b border-border/30 bg-subtle"
31724
+ class: f.type === "main" ? h(f.row, f.index) : "bg-subtle"
31726
31725
  }, { ref_for: !0 }, f.type === "main" ? L(f.row, f.index) : {}, {
31727
31726
  "aria-selected": f.type === "main" && W(r).selectionMode.value !== "none" ? W(r).isRowSelected(W(r).getRowKey(f.row, f.index)) : void 0,
31728
31727
  "aria-disabled": f.type === "main" && W(r).isRowDisabled(W(r).getRowKey(f.row, f.index)) || void 0,
@@ -31811,7 +31810,6 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
31811
31810
  i.value ? R(y.$slots, "loading", { key: 0 }, () => [
31812
31811
  (M(!0), I(c1, null, H1(l.value, (f) => (M(), I("tr", {
31813
31812
  key: `skeleton-${f}`,
31814
- class: "border-b border-border/30",
31815
31813
  role: "row"
31816
31814
  }, [
31817
31815
  W(r).selectionMode.value !== "none" ? (M(), I("td", _A1, [...m[3] || (m[3] = [
@@ -31870,8 +31868,8 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
31870
31868
  }, () => [
31871
31869
  g("tr", {
31872
31870
  class: N([
31873
- "border-b border-border/30 transition-colors group",
31874
- W(r).hoverable.value && "hover:bg-table-hover",
31871
+ "transition-colors group",
31872
+ W(r).hoverable.value && "hover:bg-table-hover [&>td:first-child]:rounded-l-md [&>td:last-child]:rounded-r-md",
31875
31873
  W(r).isRowSelected(W(r).getRowKey(f, j)) && "bg-primary-subtle",
31876
31874
  W(r).isRowDisabled(W(r).getRowKey(f, j)) && "opacity-50 pointer-events-none",
31877
31875
  W(r).variant.value === "striped" && j % 2 === 1 && "bg-table-stripe"
@@ -31968,7 +31966,7 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
31968
31966
  ], 64))
31969
31967
  ], 16, XA1));
31970
31968
  }
31971
- }), dI1 = /* @__PURE__ */ $2(uT1, [["__scopeId", "data-v-b0ed15be"]]), lT1 = ["data-spire-size", "data-spire-variant", "data-spire-loading"], hT1 = ["aria-rowcount", "aria-colcount"], pT1 = {
31969
+ }), dI1 = /* @__PURE__ */ $2(uT1, [["__scopeId", "data-v-94664fcf"]]), lT1 = ["data-spire-size", "data-spire-variant", "data-spire-loading"], hT1 = ["aria-rowcount", "aria-colcount"], pT1 = {
31972
31970
  key: 1,
31973
31971
  class: "overflow-x-auto"
31974
31972
  }, LT1 = ["aria-rowcount", "aria-colcount"], kQ1 = /* @__PURE__ */ _({
@@ -32177,7 +32175,7 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
32177
32175
  key: 1,
32178
32176
  id: i,
32179
32177
  role: "grid",
32180
- class: "w-full border-collapse",
32178
+ class: "w-full border-separate border-spacing-y-1",
32181
32179
  "aria-rowcount": o.data?.length,
32182
32180
  "aria-colcount": h.value.length
32183
32181
  }, [
@@ -32215,7 +32213,7 @@ const yZ1 = ["aria-label"], MZ1 = ["aria-expanded"], mZ1 = {
32215
32213
  key: 1,
32216
32214
  id: i,
32217
32215
  role: "grid",
32218
- class: "w-full border-collapse",
32216
+ class: "w-full border-separate border-spacing-y-1",
32219
32217
  "aria-rowcount": o.data?.length,
32220
32218
  "aria-colcount": h.value.length
32221
32219
  }, [
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sabrenski/spire-ui-vue",
3
- "version": "0.3.3",
3
+ "version": "0.3.4",
4
4
  "description": "A modern, themeable Vue 3 component library with 57+ components, TypeScript support, and Tailwind CSS v4",
5
5
  "type": "module",
6
6
  "author": "Spire UI Contributors",