@pantograph/vue 0.35.10 → 0.36.0

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/use/index.js CHANGED
@@ -11995,7 +11995,7 @@ const aA = "ltr", zs = !1, ed = {
11995
11995
  "div",
11996
11996
  {
11997
11997
  ...g,
11998
- class: T("title", l(B), s.class),
11998
+ class: T(l(B), s.class),
11999
11999
  style: {
12000
12000
  ...uo(g.style),
12001
12001
  "--ptc-badge-fg": s.fg,
@@ -12117,7 +12117,6 @@ const aA = "ltr", zs = !1, ed = {
12117
12117
  {
12118
12118
  class: T(
12119
12119
  k(r, "title"),
12120
- "paragraph",
12121
12120
  t.titleCls,
12122
12121
  (le = o.props) == null ? void 0 : le.titleCls
12123
12122
  )
@@ -12972,7 +12971,7 @@ const Bo = [
12972
12971
  };
12973
12972
  return (A, R) => (O(), M(u(Ne), ne({
12974
12973
  as: u(P),
12975
- class: u(T)("title", u(Lv)(S.value), o.class, u(y).class),
12974
+ class: u(T)(u(Lv)(S.value), o.class, u(y).class),
12976
12975
  ref_key: "buttonRef",
12977
12976
  ref: w
12978
12977
  }, x.value, {
@@ -13280,7 +13279,6 @@ const id = ["sm", "md", "lg"], ud = qa, Gt = Ie("input"), $l = {
13280
13279
  dir: u(s),
13281
13280
  class: H(
13282
13281
  u(T)(
13283
- "title",
13284
13282
  u(r)({
13285
13283
  size: e.size,
13286
13284
  noBg: e.noBg,
@@ -13466,7 +13464,6 @@ const pd = {
13466
13464
  dir: u(f),
13467
13465
  class: H(
13468
13466
  u(T)(
13469
- "title",
13470
13467
  u(s)({
13471
13468
  txs: e.txs,
13472
13469
  underline: e.underline,
@@ -13587,7 +13584,7 @@ const pd = {
13587
13584
  z(p.$slots, "default", {}, () => [
13588
13585
  e.title || c.title ? (O(), Z("div", {
13589
13586
  key: 0,
13590
- class: H(u(T)(u(k)(u(r), "title"), e.titleCls, "paragraph"))
13587
+ class: H(u(T)(u(k)(u(r), "title"), e.titleCls))
13591
13588
  }, [
13592
13589
  z(p.$slots, "title", {}, () => [
13593
13590
  St(it(e.title), 1)
@@ -13595,7 +13592,7 @@ const pd = {
13595
13592
  ], 2)) : de("", !0),
13596
13593
  e.description || c.description ? (O(), Z("div", {
13597
13594
  key: 1,
13598
- class: H(u(T)(u(k)(u(r), "description"), e.descriptionCls, "paragraph"))
13595
+ class: H(u(T)(u(k)(u(r), "description"), e.descriptionCls))
13599
13596
  }, [
13600
13597
  z(p.$slots, "description", {}, () => [
13601
13598
  St(it(e.description), 1)
@@ -14269,7 +14266,6 @@ const Kv = {
14269
14266
  {
14270
14267
  class: T(
14271
14268
  k(Tt, "description"),
14272
- "paragraph",
14273
14269
  o.descriptionCls
14274
14270
  )
14275
14271
  },
@@ -14657,7 +14653,7 @@ const Kv = {
14657
14653
  if (n.title || h)
14658
14654
  return E(
14659
14655
  Ag,
14660
- { class: T(k(l, "title"), "paragraph", n.titleCls) },
14656
+ { class: T(k(l, "title"), n.titleCls) },
14661
14657
  () => h ? m : n.title
14662
14658
  );
14663
14659
  }, g = () => E(
@@ -14670,7 +14666,9 @@ const Kv = {
14670
14666
  if (n.description || h)
14671
14667
  return E(
14672
14668
  xg,
14673
- { class: T(k(l, "description"), "paragraph", n.descriptionCls) },
14669
+ {
14670
+ class: T(k(l, "description"), n.descriptionCls)
14671
+ },
14674
14672
  () => h ? m : n.description
14675
14673
  );
14676
14674
  }, y = () => {
@@ -15093,7 +15091,7 @@ const [rm, am] = ze("AvatarGroup"), sm = {
15093
15091
  });
15094
15092
  return (m, h) => (O(), M(u(Zw), {
15095
15093
  as: "div",
15096
- class: H(u(T)("title", u(c)(g.value), r.class))
15094
+ class: H(u(T)(u(c)(g.value), r.class))
15097
15095
  }, {
15098
15096
  default: N(() => [
15099
15097
  !n.default && !e.text ? (O(), Z(He, { key: 0 }, [
@@ -15838,7 +15836,6 @@ const Sd = ["sm", "md", "lg"], fm = [...Sd, "none"], gm = {
15838
15836
  tabindex: t.unFocusable ? void 0 : a.tabindex ?? 0,
15839
15837
  "data-hover": t.hover ? "" : void 0,
15840
15838
  class: T(
15841
- "title",
15842
15839
  o({
15843
15840
  size: t.size,
15844
15841
  selected: t.selected,
@@ -16384,7 +16381,7 @@ const Sd = ["sm", "md", "lg"], fm = [...Sd, "none"], gm = {
16384
16381
  return (c, i) => {
16385
16382
  var d, p;
16386
16383
  return O(), Z("li", {
16387
- class: H(u(T)("title", u(r)(t), (d = t.item) == null ? void 0 : d.class)),
16384
+ class: H(u(T)(u(r)(t), (d = t.item) == null ? void 0 : d.class)),
16388
16385
  "aria-hidden": e.truncate ? !0 : void 0
16389
16386
  }, [
16390
16387
  Q(s, {
@@ -16542,7 +16539,7 @@ const Bm = ["vertical", "horizontal"], xm = ["desktop", "tablet"], Am = {
16542
16539
  const m = (h = s.title) == null ? void 0 : h.call(s, {});
16543
16540
  return t.title || !Y(m) ? E(
16544
16541
  "div",
16545
- { class: T(k(n, "title"), "paragraph", t.titleCls) },
16542
+ { class: T(k(n, "title"), t.titleCls) },
16546
16543
  m ?? t.title
16547
16544
  ) : null;
16548
16545
  }, i = () => {
@@ -16550,7 +16547,9 @@ const Bm = ["vertical", "horizontal"], xm = ["desktop", "tablet"], Am = {
16550
16547
  const m = (h = s.description) == null ? void 0 : h.call(s, {});
16551
16548
  return t.description || !Y(m) ? E(
16552
16549
  "div",
16553
- { class: T(k(n, "description"), "paragraph", t.descriptionCls) },
16550
+ {
16551
+ class: T(k(n, "description"), t.descriptionCls)
16552
+ },
16554
16553
  m ?? t.description
16555
16554
  ) : null;
16556
16555
  }, d = () => {
@@ -16732,7 +16731,7 @@ const km = ["2xsm", "xsm"], [Im, Tm] = ze("CheckboxGroup"), Em = {
16732
16731
  emit: l
16733
16732
  }), I = () => p.value = !p.value;
16734
16733
  return (_, A) => (O(), Z("div", ne({
16735
- class: u(T)("title", u(k)(u(n), "root"), e.rootCls)
16734
+ class: u(T)(u(k)(u(n), "root"), e.rootCls)
16736
16735
  }, u(w), { dir: u(a) }), [
16737
16736
  Q(u(pP), ne({
16738
16737
  onKeyup: zn(I, ["enter"])
@@ -16741,7 +16740,6 @@ const km = ["2xsm", "xsm"], [Im, Tm] = ze("CheckboxGroup"), Em = {
16741
16740
  "onUpdate:modelValue": A[0] || (A[0] = (R) => p.value = R),
16742
16741
  id: g.value,
16743
16742
  class: u(T)(
16744
- "title",
16745
16743
  u(m)({ size: b.value, noRing: P.value }),
16746
16744
  o.class
16747
16745
  )
@@ -17072,7 +17070,6 @@ const Fm = {
17072
17070
  style: pt(p.value),
17073
17071
  class: H(
17074
17072
  u(T)(
17075
- "title",
17076
17073
  u(y)({
17077
17074
  size: r.value,
17078
17075
  color: a.value,
@@ -24156,7 +24153,6 @@ function mh({
24156
24153
  "aria-expanded": R["aria-expanded"] ?? u(n),
24157
24154
  "data-state": R["data-state"] ?? (u(n) ? "open" : "closed"),
24158
24155
  class: T(
24159
- "title",
24160
24156
  A({
24161
24157
  size: e.triggerSize ?? i.value,
24162
24158
  status: c.value === "success" && rt(V) ? void 0 : c.value,
@@ -25991,13 +25987,7 @@ const xh = {
25991
25987
  };
25992
25988
  return (i, d) => (O(), Z("div", {
25993
25989
  dir: u(s),
25994
- class: H(
25995
- u(T)(
25996
- "title",
25997
- u(r)({ iconOnly: t.iconOnly }),
25998
- t.class
25999
- )
26000
- )
25990
+ class: H(u(T)(u(r)({ iconOnly: t.iconOnly }), t.class))
26001
25991
  }, [
26002
25992
  e.iconOnly ? (O(), M(c, { key: 1 })) : (O(), M(l, { key: 0 }))
26003
25993
  ], 10, u3));
@@ -26031,7 +26021,7 @@ const Ah = {
26031
26021
  });
26032
26022
  return (l, c) => (O(), Z("div", {
26033
26023
  dir: u(a),
26034
- class: H(u(T)("title", u(o), t.class))
26024
+ class: H(u(T)(u(o), t.class))
26035
26025
  }, [
26036
26026
  Q(s)
26037
26027
  ], 10, c3));
@@ -26116,7 +26106,7 @@ const Ah = {
26116
26106
  if (!(!A && !r.text))
26117
26107
  return E(
26118
26108
  "div",
26119
- { class: T(k(a, "text"), "paragraph", r.textCls) },
26109
+ { class: T(k(a, "text"), r.textCls) },
26120
26110
  A ? _ : r.text
26121
26111
  );
26122
26112
  }, p = () => {
@@ -26194,7 +26184,11 @@ const Ah = {
26194
26184
  ...u(uo)(e.containerStyle)
26195
26185
  }),
26196
26186
  class: H(
26197
- u(T)(u(s), "pantograph-tokens pantograph-dark paragraph", e.containerCls)
26187
+ u(T)(
26188
+ u(s),
26189
+ "pantograph-tokens pantograph-dark",
26190
+ e.containerCls
26191
+ )
26198
26192
  ),
26199
26193
  ref: (j) => v.value = j
26200
26194
  }, [
@@ -26269,7 +26263,6 @@ const Ah = {
26269
26263
  dir: u(l),
26270
26264
  class: H(
26271
26265
  u(T)(
26272
- "title",
26273
26266
  u(r)({ ...t, leadingIcon: !!(e.leadingIcon || n.leadingIcon) }),
26274
26267
  t.labelRootCls
26275
26268
  )
@@ -26701,7 +26694,6 @@ const Rh = ["sm", "md", "lg"], Nh = {
26701
26694
  value: J,
26702
26695
  ...re,
26703
26696
  class: T(
26704
- "title",
26705
26697
  d({
26706
26698
  icon: he,
26707
26699
  text: oe
@@ -26726,7 +26718,7 @@ const Rh = ["sm", "md", "lg"], Nh = {
26726
26718
  var R;
26727
26719
  return [
26728
26720
  Se("div", {
26729
- class: H(u(T)("title", u(c)({
26721
+ class: H(u(T)(u(c)({
26730
26722
  ...n
26731
26723
  /*, style: !style*/
26732
26724
  }), n.class)),
@@ -27082,7 +27074,7 @@ const Fh = {
27082
27074
  modelValue: u(d),
27083
27075
  "onUpdate:modelValue": _[0] || (_[0] = (A) => Jn(d) ? d.value = A : null),
27084
27076
  dir: u(a),
27085
- class: u(T)("title", u(S)({ size: u(i) }), o.class)
27077
+ class: u(T)(u(S)({ size: u(i) }), o.class)
27086
27078
  }), {
27087
27079
  default: N(({ modelValue: A }) => [
27088
27080
  (O(!0), Z(He, null, Je(e.count ?? 4, (R, j) => (O(), M(u(GP), {
@@ -27139,7 +27131,7 @@ const Lh = ["2xsm", "xsm"], $h = {
27139
27131
  })), d = C(() => !!(r.label || n.label)), { dir: p } = _e();
27140
27132
  return (f, g) => (O(), Z("label", ne({
27141
27133
  dir: u(p),
27142
- class: u(T)("title", u(k)(u(o), "root"), e.rootCls)
27134
+ class: u(T)(u(k)(u(o), "root"), e.rootCls)
27143
27135
  }, u(l), { for: s.value }), [
27144
27136
  Q(u(rB), ne({
27145
27137
  class: u(T)(u(o), n.class)
@@ -27478,7 +27470,7 @@ const jh = [3, 5, 7, 10], qh = ["always", "never", "active"], la = {
27478
27470
  remove: IC,
27479
27471
  id: kC
27480
27472
  }), (q, X) => (O(), Z("div", {
27481
- class: H(u(T)("title", u(s)({ fill: n.fill }), n.class))
27473
+ class: H(u(T)(u(s)({ fill: n.fill }), n.class))
27482
27474
  }, [
27483
27475
  Q(u(ur), {
27484
27476
  as: "ul",
@@ -27786,7 +27778,7 @@ const Hh = {
27786
27778
  id: NC
27787
27779
  }), (d, p) => (O(), Z("div", {
27788
27780
  dir: u(i),
27789
- class: H(u(T)("title", u(r)(t), t.class)),
27781
+ class: H(u(T)(u(r)(t), t.class)),
27790
27782
  style: pt({ "--ptc-spinner-min-h": s.value, "--ptc-spinner-min-w": s.value })
27791
27783
  }, [
27792
27784
  e.loading ? (O(), Z(He, { key: 0 }, [
@@ -28110,7 +28102,7 @@ const Xh = ["completed", "current", "upcoming", "error"], C3 = ["number", "icon"
28110
28102
  return E(
28111
28103
  "div",
28112
28104
  {
28113
- class: T(k(Hn, "description"), "paragraph", t.descriptionCls)
28105
+ class: T(k(Hn, "description"), t.descriptionCls)
28114
28106
  },
28115
28107
  i
28116
28108
  );
@@ -28315,11 +28307,10 @@ const tb = ["2xsm", "xsm", "sm"], nb = {
28315
28307
  return S({ add: GC, remove: HC, id: UC }), (P, x) => (O(), Z("div", ne({
28316
28308
  dir: u(b),
28317
28309
  key: v.value,
28318
- class: u(T)("title", u(k)(u(a), "root"), n.rootCls)
28310
+ class: u(T)(u(k)(u(a), "root"), n.rootCls)
28319
28311
  }, u(d)), [
28320
28312
  Q(u(vx), ne({
28321
28313
  class: u(T)(
28322
- "title",
28323
28314
  u(s)({
28324
28315
  size: e.size,
28325
28316
  innerText: !!(l.checkedText || l.uncheckedText),
@@ -28955,9 +28946,7 @@ const rb = {
28955
28946
  id: d.value,
28956
28947
  "data-draggable": i.value,
28957
28948
  disabled: c.value,
28958
- class: H(
28959
- u(T)("title", u(o)({ loading: e.loading }), t.class)
28960
- ),
28949
+ class: H(u(T)(u(o)({ loading: e.loading }), t.class)),
28961
28950
  onMousedown: f[0] || (f[0] = at(() => {
28962
28951
  }, ["right", "stop", "prevent"]))
28963
28952
  }, [
@@ -29100,8 +29089,7 @@ const lb = ["sm", "md", "lg"], ib = qa, ub = {
29100
29089
  }),
29101
29090
  o.class
29102
29091
  ),
29103
- e.textareaCls,
29104
- "paragraph"
29092
+ e.textareaCls
29105
29093
  )
29106
29094
  }, g.value, {
29107
29095
  style: {
@@ -29209,7 +29197,10 @@ const cb = ["info", "success", "warning", "error"], Gd = {
29209
29197
  return E(
29210
29198
  "div",
29211
29199
  {
29212
- class: T(k(a, "description"), n.descriptionCls, "paragraph")
29200
+ class: T(
29201
+ k(a, "description"),
29202
+ n.descriptionCls
29203
+ )
29213
29204
  },
29214
29205
  D ? j : n.description
29215
29206
  );
@@ -29219,7 +29210,7 @@ const cb = ["info", "success", "warning", "error"], Gd = {
29219
29210
  if (n.title || D)
29220
29211
  return E(
29221
29212
  "div",
29222
- { class: T(k(a, "title"), n.titleCls, "paragraph") },
29213
+ { class: T(k(a, "title"), n.titleCls) },
29223
29214
  D ? j : n.title
29224
29215
  );
29225
29216
  })(), S = (() => {
@@ -30471,7 +30462,7 @@ const z3 = (e, t, n = 1024 * 1024) => {
30471
30462
  Object.assign(wc, pe(wc, "Upload"));
30472
30463
  Object.assign(Cl, pe(Cl, "UploadList"));
30473
30464
  Object.assign(Sl, pe(Sl, "UploadTrigger"));
30474
- const H3 = "0.35.9", G3 = function(e, t = {}) {
30465
+ const H3 = "0.35.10", G3 = function(e, t = {}) {
30475
30466
  const { cssInJs: n } = t;
30476
30467
  return e.config.globalProperties.$pantographCssInJs = n, import("@pantograph/tokens/style/index.css"), n || import("@pantograph/styles/index.css"), Object.values(SS).forEach((o) => {
30477
30468
  o.install && e.use(o);