@nubisco/ui 1.2.0 → 1.2.1

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.mjs CHANGED
@@ -12368,7 +12368,7 @@ var DUt = ["title"], OUt = /* @__PURE__ */ p({
12368
12368
  xl: 16,
12369
12369
  xxl: 20
12370
12370
  }, l = a(() => i[t.size ?? "md"] ?? 14);
12371
- return (t, n) => (w(), o(k(e.to ? O("RouterLink") : e.href ? "a" : "button"), {
12371
+ return (t, n) => (w(), o(k(e.to || e.href ? "a" : "button"), {
12372
12372
  class: y([
12373
12373
  "nb-button",
12374
12374
  `nb-button--${e.variant}`,
@@ -12377,8 +12377,7 @@ var DUt = ["title"], OUt = /* @__PURE__ */ p({
12377
12377
  { "nb-button--loading": e.loading },
12378
12378
  { "nb-button--icon-only": r.value }
12379
12379
  ]),
12380
- to: e.to ?? void 0,
12381
- href: e.href ?? void 0,
12380
+ href: e.to ? typeof e.to == "string" ? e.to : void 0 : e.href ?? void 0,
12382
12381
  target: e.href ? e.target : void 0,
12383
12382
  rel: e.href ? e.rel : void 0,
12384
12383
  disabled: !e.href && !e.to ? e.disabled || e.loading : void 0,
@@ -12395,7 +12394,6 @@ var DUt = ["title"], OUt = /* @__PURE__ */ p({
12395
12394
  _: 3
12396
12395
  }, 8, [
12397
12396
  "class",
12398
- "to",
12399
12397
  "href",
12400
12398
  "target",
12401
12399
  "rel",
@@ -12404,7 +12402,7 @@ var DUt = ["title"], OUt = /* @__PURE__ */ p({
12404
12402
  "type"
12405
12403
  ]));
12406
12404
  }
12407
- }), NUt = /* @__PURE__ */ B({ default: () => h5 }), h5 = /* @__PURE__ */ V(MUt, [["__scopeId", "data-v-34ea77b0"]]), PUt = { class: "nb-checkbox__control" }, FUt = [
12405
+ }), NUt = /* @__PURE__ */ B({ default: () => h5 }), h5 = /* @__PURE__ */ V(MUt, [["__scopeId", "data-v-7809509d"]]), PUt = { class: "nb-checkbox__control" }, FUt = [
12408
12406
  "checked",
12409
12407
  "disabled",
12410
12408
  "indeterminate"