@sabrenski/spire-ui-vue 0.2.6 → 0.2.7

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
@@ -498,7 +498,7 @@ const I1 = /* @__PURE__ */ Q({
498
498
  lg: "md",
499
499
  xl: "lg"
500
500
  }, C = L(() => e.href ? "a" : "button"), k = L(() => c[t]), u = L(() => [
501
- "inline-flex items-center justify-center font-medium rounded-button",
501
+ "inline-flex items-center justify-center font-medium rounded-button shrink-0",
502
502
  "transition-colors duration-150",
503
503
  "focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-2 focus-visible:ring-offset-ring-offset",
504
504
  i[r],
@@ -28402,7 +28402,7 @@ const ZK1 = ["aria-label"], AK1 = ["aria-expanded"], TK1 = {
28402
28402
  as: { default: "a" }
28403
28403
  },
28404
28404
  setup(o) {
28405
- const e = o, r = H1(i5), t = L(() => r?.isMini.value ?? !1), n = Ok(() => e.as, "a"), s = L(() => e.href ? n.value : "div"), i = L(() => e.href ? e.as === "a" ? { href: e.href } : e.as === "router-link" || e.as === "inertia-link" ? { to: e.href } : { href: e.href } : {}), a = L(() => [
28405
+ const e = o, r = H1(i5), t = L(() => r?.isMini.value ?? !1), n = Ok(() => e.as, "a"), s = L(() => e.href ? n.value : "div"), i = L(() => e.href ? e.as === "router-link" ? { to: e.href } : { href: e.href } : {}), a = L(() => [
28406
28406
  "flex items-center py-4",
28407
28407
  "border-b border-border",
28408
28408
  "min-h-[64px]",
@@ -28561,7 +28561,7 @@ const ZK1 = ["aria-label"], AK1 = ["aria-expanded"], TK1 = {
28561
28561
  setup(o, { emit: e }) {
28562
28562
  const r = o, t = e, n = H1(i5), s = L(() => n?.isMini.value ?? !1), i = R1();
28563
28563
  L(() => r.itemKey ?? i);
28564
- const a = L(() => r.isActive ? !0 : n?.activeKey.value && r.itemKey ? n.activeKey.value === r.itemKey : !1), d = Ok(() => r.as, "a"), c = L(() => r.isDisabled ? "span" : r.href ? d.value : "button"), C = L(() => r.isDisabled || !r.href ? {} : r.as === "a" ? { href: r.href } : r.as === "router-link" || r.as === "inertia-link" ? { to: r.href } : { href: r.href }), k = L(() => s.value ? r.tooltip ?? r.label ?? "" : "");
28564
+ const a = L(() => r.isActive ? !0 : n?.activeKey.value && r.itemKey ? n.activeKey.value === r.itemKey : !1), d = Ok(() => r.as, "a"), c = L(() => r.isDisabled ? "span" : r.href ? d.value : "button"), C = L(() => r.isDisabled || !r.href ? {} : r.as === "router-link" ? { to: r.href } : { href: r.href }), k = L(() => s.value ? r.tooltip ?? r.label ?? "" : "");
28565
28565
  function u(y) {
28566
28566
  if (r.isDisabled) {
28567
28567
  y.preventDefault();
@@ -28670,7 +28670,7 @@ const ZK1 = ["aria-label"], AK1 = ["aria-expanded"], TK1 = {
28670
28670
  function u() {
28671
28671
  i.value = !1, a.value = !1;
28672
28672
  }
28673
- const l = L(() => s.value ? "button" : r.href && r.as === "div" ? "a" : r.as), h = L(() => r.href ? r.as === "a" || r.as === "div" ? { href: r.href } : r.as === "router-link" || r.as === "inertia-link" ? { to: r.href } : { href: r.href } : {}), p = L(() => [
28673
+ const l = L(() => s.value ? "button" : r.href && r.as === "div" ? "a" : r.as), h = L(() => r.href ? r.as === "router-link" ? { to: r.href } : { href: r.href } : {}), p = L(() => [
28674
28674
  "inline-flex items-center gap-3",
28675
28675
  "transition-colors duration-150",
28676
28676
  r.isFocusable ? "focus:outline-none focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-2 focus-visible:rounded-lg" : "",
@@ -28877,7 +28877,7 @@ const ZK1 = ["aria-label"], AK1 = ["aria-expanded"], TK1 = {
28877
28877
  as: { default: "a" }
28878
28878
  },
28879
28879
  setup(o) {
28880
- const e = o, r = H1(i5), t = L(() => r?.isMini.value ?? !1), n = Ok(() => e.as, "a"), s = L(() => e.href ? n.value : "div"), i = L(() => e.href ? e.as === "a" ? { href: e.href } : e.as === "router-link" || e.as === "inertia-link" ? { to: e.href } : { href: e.href } : {}), a = L(() => [
28880
+ const e = o, r = H1(i5), t = L(() => r?.isMini.value ?? !1), n = Ok(() => e.as, "a"), s = L(() => e.href ? n.value : "div"), i = L(() => e.href ? e.as === "router-link" ? { to: e.href } : { href: e.href } : {}), a = L(() => [
28881
28881
  "flex items-center",
28882
28882
  "transition-all duration-150",
28883
28883
  t.value ? "justify-center" : "gap-3",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sabrenski/spire-ui-vue",
3
- "version": "0.2.6",
3
+ "version": "0.2.7",
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",