@huyooo/ui 0.4.86 → 0.4.87

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.
@@ -1,4 +1,4 @@
1
- import { createElementBlock as n, openBlock as s, renderSlot as h, defineComponent as f, createVNode as u, withCtx as _, createElementVNode as e, normalizeStyle as x, unref as I, toDisplayString as l, Fragment as v, renderList as b, createBlock as L, normalizeClass as C, createTextVNode as g, ref as k, createCommentVNode as T, withModifiers as E, withDirectives as A, vModelText as q, computed as D, createStaticVNode as N, watch as z, vShow as O } from "vue";
1
+ import { createElementBlock as n, openBlock as s, renderSlot as h, defineComponent as f, createVNode as u, withCtx as _, createElementVNode as e, normalizeStyle as S, unref as I, toDisplayString as l, Fragment as v, renderList as b, createBlock as L, normalizeClass as C, createTextVNode as g, ref as k, createCommentVNode as T, withModifiers as E, withDirectives as A, vModelText as q, computed as D, createStaticVNode as N, watch as z, vShow as O } from "vue";
2
2
  import { _ as d } from "./_plugin-vue_export-helper-CHgC5LLL.js";
3
3
  import { Icon as w } from "@iconify/vue";
4
4
  import { C as R, a as W } from "./CollapseItem-Cw1vcdLu.js";
@@ -52,7 +52,7 @@ const M = /* @__PURE__ */ d(Y, [["render", ee], ["__scopeId", "data-v-58078aa8"]
52
52
  const t = a;
53
53
  return (c, i) => (s(), n("section", ne, [h(c.$slots, "BlockHeader", {}, void 0, !0), e("div", {
54
54
  class: "BlockBody",
55
- style: x({
55
+ style: S({
56
56
  gridTemplateColumns: `repeat(${t.columns}, 1fr)`,
57
57
  flexDirection: t.flexDirection
58
58
  })
@@ -141,13 +141,13 @@ const M = /* @__PURE__ */ d(Y, [["render", ee], ["__scopeId", "data-v-58078aa8"]
141
141
  const t = a;
142
142
  return (c, i) => (s(), n("div", be, [e("div", ke, l(t.title), 1), e("p", Le, l(t.description), 1)]));
143
143
  }
144
- }), Ie = /* @__PURE__ */ d(Pe, [["__scopeId", "data-v-2074e0d7"]]), we = {}, Ce = {
144
+ }), Ie = /* @__PURE__ */ d(Pe, [["__scopeId", "data-v-2074e0d7"]]), we = {}, Se = {
145
145
  class: "Description"
146
146
  };
147
- function Se(a, t) {
148
- return s(), n("div", Ce, [h(a.$slots, "default", {}, void 0, !0)]);
147
+ function Ce(a, t) {
148
+ return s(), n("div", Se, [h(a.$slots, "default", {}, void 0, !0)]);
149
149
  }
150
- const S = /* @__PURE__ */ d(we, [["render", Se], ["__scopeId", "data-v-501deb41"]]), xe = {
150
+ const x = /* @__PURE__ */ d(we, [["render", Ce], ["__scopeId", "data-v-501deb41"]]), xe = {
151
151
  class: "grid-container"
152
152
  }, Te = {
153
153
  class: "square"
@@ -175,7 +175,7 @@ const S = /* @__PURE__ */ d(we, [["render", Se], ["__scopeId", "data-v-501deb41"
175
175
  width: t.width,
176
176
  height: t.height,
177
177
  class: C(t.pictureClass ? `${t.pictureClass} picture-img` : "picture-img")
178
- }, null, 10, Ae)]), e("div", qe, [e("h2", Be, l(i.data.name), 1), u(S, null, {
178
+ }, null, 10, Ae)]), e("div", qe, [e("h2", Be, l(i.data.name), 1), u(x, null, {
179
179
  default: _(() => [g(l(i.data.title), 1)]),
180
180
  _: 2
181
181
  }, 1024)])]))), 128))]));
@@ -348,13 +348,13 @@ const S = /* @__PURE__ */ d(we, [["render", Se], ["__scopeId", "data-v-501deb41"
348
348
  class: "icon",
349
349
  src: a.icon,
350
350
  alt: "logo",
351
- style: x({
351
+ style: S({
352
352
  width: c.iconSize,
353
353
  height: c.iconSize
354
354
  })
355
355
  }, null, 12, Ee)) : T("", !0), e("div", {
356
356
  class: "text",
357
- style: x({
357
+ style: S({
358
358
  color: c.color,
359
359
  fontSize: c.fontSize
360
360
  })
@@ -398,7 +398,7 @@ const S = /* @__PURE__ */ d(we, [["render", Se], ["__scopeId", "data-v-501deb41"
398
398
  color: t.color,
399
399
  "font-size": t.fontSize,
400
400
  "icon-size": t.iconSize
401
- }, null, 8, ["icon", "name", "color", "font-size", "icon-size"]), u(S, null, {
401
+ }, null, 8, ["icon", "name", "color", "font-size", "icon-size"]), u(x, null, {
402
402
  default: _(() => [g(l(t.description), 1)]),
403
403
  _: 1
404
404
  })]));
@@ -471,7 +471,7 @@ const U = /* @__PURE__ */ d(Ze, [["render", Xe], ["__scopeId", "data-v-cdb3f77d"
471
471
  },
472
472
  setup(a) {
473
473
  const t = a;
474
- return (c, i) => (s(), n("div", et, [e("div", tt, [e("h2", st, l(t.contact.title), 1), u(S, null, {
474
+ return (c, i) => (s(), n("div", et, [e("div", tt, [e("h2", st, l(t.contact.title), 1), u(x, null, {
475
475
  default: _(() => [g(l(t.contact.description), 1)]),
476
476
  _: 1
477
477
  }), e("div", at, [e("div", nt, [u(I(w), {
@@ -659,7 +659,7 @@ const U = /* @__PURE__ */ d(Ze, [["render", Xe], ["__scopeId", "data-v-cdb3f77d"
659
659
  const t = a;
660
660
  return (c, i) => (s(), n("div", {
661
661
  class: "landing-page-container",
662
- style: x({
662
+ style: S({
663
663
  flexDirection: t.flexDirection,
664
664
  gap: t.gap,
665
665
  padding: t.padding
@@ -674,9 +674,9 @@ const U = /* @__PURE__ */ d(Ze, [["render", Xe], ["__scopeId", "data-v-cdb3f77d"
674
674
  class: "cta-title"
675
675
  }, wt = {
676
676
  class: "cta-description"
677
- }, Ct = {
677
+ }, St = {
678
678
  class: "cta-actions"
679
- }, St = /* @__PURE__ */ f({
679
+ }, Ct = /* @__PURE__ */ f({
680
680
  __name: "LandingPageCta",
681
681
  props: {
682
682
  title: {
@@ -687,6 +687,9 @@ const U = /* @__PURE__ */ d(Ze, [["render", Xe], ["__scopeId", "data-v-cdb3f77d"
687
687
  },
688
688
  backgroundUrl: {
689
689
  default: bt
690
+ },
691
+ backgroundSize: {
692
+ default: "120%"
690
693
  }
691
694
  },
692
695
  setup(a) {
@@ -694,10 +697,14 @@ const U = /* @__PURE__ */ d(Ze, [["render", Xe], ["__scopeId", "data-v-cdb3f77d"
694
697
  return (c, i) => (s(), n("div", kt, [e("img", {
695
698
  src: t.backgroundUrl,
696
699
  class: "cta-background",
697
- alt: "background"
698
- }, null, 8, Lt), e("div", Pt, [e("h1", It, l(t.title), 1), e("div", wt, l(t.description), 1), e("div", Ct, [h(c.$slots, "actions", {}, void 0, !0)])])]));
700
+ alt: "background",
701
+ style: S({
702
+ width: t.backgroundSize,
703
+ height: t.backgroundSize
704
+ })
705
+ }, null, 12, Lt), e("div", Pt, [e("h1", It, l(t.title), 1), e("div", wt, l(t.description), 1), e("div", St, [h(c.$slots, "actions", {}, void 0, !0)])])]));
699
706
  }
700
- }), Cn = /* @__PURE__ */ d(St, [["__scopeId", "data-v-7ad5ffb2"]]), xt = {}, Tt = {
707
+ }), Sn = /* @__PURE__ */ d(Ct, [["__scopeId", "data-v-4a709ec3"]]), xt = {}, Tt = {
701
708
  role: "separator",
702
709
  class: "divider divider-horizontal"
703
710
  };
@@ -742,7 +749,7 @@ const F = /* @__PURE__ */ d(xt, [["render", At], ["__scopeId", "data-v-997fc2a4"
742
749
  index: r
743
750
  }, {
744
751
  header: _(() => [g(l(o.question), 1)]),
745
- default: _(() => [u(S, null, {
752
+ default: _(() => [u(x, null, {
746
753
  default: _(() => [g(l(o.answer), 1)]),
747
754
  _: 2
748
755
  }, 1024)]),
@@ -751,7 +758,7 @@ const F = /* @__PURE__ */ d(xt, [["render", At], ["__scopeId", "data-v-997fc2a4"
751
758
  _: 1
752
759
  }, 8, ["active-keys"]));
753
760
  }
754
- }), Sn = /* @__PURE__ */ d(qt, [["__scopeId", "data-v-581e8f75"]]), Bt = {
761
+ }), Cn = /* @__PURE__ */ d(qt, [["__scopeId", "data-v-581e8f75"]]), Bt = {
755
762
  class: "Features"
756
763
  }, zt = {
757
764
  class: "feature-title"
@@ -799,14 +806,14 @@ const F = /* @__PURE__ */ d(xt, [["render", At], ["__scopeId", "data-v-997fc2a4"
799
806
  }, {
800
807
  default: _(() => [e("div", {
801
808
  class: "icon-container",
802
- style: x({
809
+ style: S({
803
810
  color: t.iconColor,
804
811
  border: `1px solid ${t.iconBorderColor}`
805
812
  })
806
813
  }, [u(I(w), {
807
814
  class: "icon",
808
815
  icon: o.icon
809
- }, null, 8, ["icon"])], 4), e("h3", zt, l(o.title), 1), u(S, null, {
816
+ }, null, 8, ["icon"])], 4), e("h3", zt, l(o.title), 1), u(x, null, {
810
817
  default: _(() => [g(l(o.description), 1)]),
811
818
  _: 2
812
819
  }, 1024)]),
@@ -1114,7 +1121,7 @@ const P = /* @__PURE__ */ d(Xt, [["render", ts], ["__scopeId", "data-v-ea9ec649"
1114
1121
  }));
1115
1122
  return (i, o) => (s(), n("div", {
1116
1123
  class: "PageContent",
1117
- style: x(c.value)
1124
+ style: S(c.value)
1118
1125
  }, [h(i.$slots, "default", {}, void 0, !0)], 4));
1119
1126
  }
1120
1127
  }), zn = /* @__PURE__ */ d(vs, [["__scopeId", "data-v-00ec8180"]]), $s = {
@@ -1169,13 +1176,13 @@ const P = /* @__PURE__ */ d(Xt, [["render", ts], ["__scopeId", "data-v-ea9ec649"
1169
1176
  for: o.value
1170
1177
  }, [e("span", null, l(o.label), 1), o.badge ? (s(), n("div", Is, l(o.badge), 1)) : T("", !0)], 8, Ps)], 2))), 128))])])]));
1171
1178
  }
1172
- }), Cs = /* @__PURE__ */ d(ws, [["__scopeId", "data-v-9eb67a93"]]), Ss = {
1179
+ }), Ss = /* @__PURE__ */ d(ws, [["__scopeId", "data-v-9eb67a93"]]), Cs = {
1173
1180
  class: "PriceGroup"
1174
1181
  }, xs = /* @__PURE__ */ f({
1175
1182
  __name: "LandingPagePriceGroup",
1176
1183
  setup(a) {
1177
1184
  const t = k("subscribe-monthly");
1178
- return (c, i) => (s(), n("div", Ss, [u(Cs, {
1185
+ return (c, i) => (s(), n("div", Cs, [u(Ss, {
1179
1186
  modelValue: t.value,
1180
1187
  "onUpdate:modelValue": i[0] || (i[0] = (o) => t.value = o),
1181
1188
  tabs: [{
@@ -1447,7 +1454,7 @@ const Dn = /* @__PURE__ */ d(Gs, [["render", Os], ["__scopeId", "data-v-1f26d3ee
1447
1454
  class: C(["icon-container", [`icon-${o.color}`]])
1448
1455
  }, i[0] || (i[0] = [e("div", {
1449
1456
  class: "dot"
1450
- }, null, -1)]), 2), e("div", la, [e("div", ra, l(o.title), 1), u(S, null, {
1457
+ }, null, -1)]), 2), e("div", la, [e("div", ra, l(o.title), 1), u(x, null, {
1451
1458
  default: _(() => [g(l(o.description), 1)]),
1452
1459
  _: 2
1453
1460
  }, 1024)])]))), 128))])])], 2)])]));
@@ -1495,8 +1502,8 @@ const Dn = /* @__PURE__ */ d(Gs, [["render", Os], ["__scopeId", "data-v-1f26d3ee
1495
1502
  }, [e("img", {
1496
1503
  src: p.image,
1497
1504
  alt: p.alt,
1498
- style: x(r.value)
1499
- }, null, 12, pa), e("div", fa, [e("div", ma, l(p.title), 1), u(S, null, {
1505
+ style: S(r.value)
1506
+ }, null, 12, pa), e("div", fa, [e("div", ma, l(p.title), 1), u(x, null, {
1500
1507
  default: _(() => [g(l(p.description), 1)]),
1501
1508
  _: 2
1502
1509
  }, 1024)])], 8, _a))), 128))]));
@@ -1573,23 +1580,23 @@ const Dn = /* @__PURE__ */ d(Gs, [["render", Os], ["__scopeId", "data-v-1f26d3ee
1573
1580
  const t = a;
1574
1581
  return (c, i) => (s(), n("div", {
1575
1582
  class: "Steps",
1576
- style: x({
1583
+ style: S({
1577
1584
  gridTemplateColumns: `repeat(${t.columns}, 1fr)`
1578
1585
  // flexDirection: props.flexDirection,
1579
1586
  })
1580
1587
  }, [(s(!0), n(v, null, b(t.steps, (o, r) => (s(), n("div", {
1581
1588
  key: r,
1582
1589
  class: "stepItem"
1583
- }, [e("div", ka, [e("span", La, l(r + 1), 1)]), e("h3", Pa, l(o.title), 1), u(S, null, {
1590
+ }, [e("div", ka, [e("span", La, l(r + 1), 1)]), e("h3", Pa, l(o.title), 1), u(x, null, {
1584
1591
  default: _(() => [g(l(o.description), 1)]),
1585
1592
  _: 2
1586
1593
  }, 1024)]))), 128))], 4));
1587
1594
  }
1588
1595
  }), Gn = /* @__PURE__ */ d(Ia, [["__scopeId", "data-v-1ecd9597"]]), wa = {
1589
1596
  class: "Testimonial"
1590
- }, Ca = {
1591
- class: "user-info"
1592
1597
  }, Sa = {
1598
+ class: "user-info"
1599
+ }, Ca = {
1593
1600
  class: "user-avatar"
1594
1601
  }, xa = ["src", "alt"], Ta = {
1595
1602
  class: "user-name"
@@ -1607,10 +1614,10 @@ const Dn = /* @__PURE__ */ d(Gs, [["render", Os], ["__scopeId", "data-v-1f26d3ee
1607
1614
  return (c, i) => (s(), n("div", wa, [(s(!0), n(v, null, b(t.testimonials, (o, r) => (s(), L(U, {
1608
1615
  key: r
1609
1616
  }, {
1610
- default: _(() => [e("div", null, [u(S, null, {
1617
+ default: _(() => [e("div", null, [u(x, null, {
1611
1618
  default: _(() => [g(l(`"${o.content}"`), 1)]),
1612
1619
  _: 2
1613
- }, 1024)]), e("div", Ca, [e("span", Sa, [e("img", {
1620
+ }, 1024)]), e("div", Sa, [e("span", Ca, [e("img", {
1614
1621
  src: o.avatar,
1615
1622
  alt: o.name
1616
1623
  }, null, 8, xa)]), e("div", null, [e("div", Ta, l(o.name), 1), e("div", Aa, l(o.title), 1)])])]),
@@ -1784,7 +1791,7 @@ export {
1784
1791
  Hn as A,
1785
1792
  Qe as B,
1786
1793
  U as C,
1787
- S as D,
1794
+ x as D,
1788
1795
  Mn as E,
1789
1796
  jn as F,
1790
1797
  Un as G,
@@ -1800,7 +1807,7 @@ export {
1800
1807
  Wn as Q,
1801
1808
  Kn as R,
1802
1809
  H as S,
1803
- Cs as T,
1810
+ Ss as T,
1804
1811
  Jn as U,
1805
1812
  Qn as V,
1806
1813
  Ln as a,
@@ -1810,9 +1817,9 @@ export {
1810
1817
  Pn as e,
1811
1818
  In as f,
1812
1819
  wn as g,
1813
- Cn as h,
1820
+ Sn as h,
1814
1821
  F as i,
1815
- Sn as j,
1822
+ Cn as j,
1816
1823
  xn as k,
1817
1824
  Tn as l,
1818
1825
  An as m,
@@ -2,6 +2,7 @@ interface Props {
2
2
  title?: string;
3
3
  description?: string;
4
4
  backgroundUrl?: string;
5
+ backgroundSize?: string;
5
6
  }
6
7
  declare function __VLS_template(): {
7
8
  attrs: Partial<{}>;
@@ -16,6 +17,7 @@ declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {},
16
17
  description: string;
17
18
  title: string;
18
19
  backgroundUrl: string;
20
+ backgroundSize: string;
19
21
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
20
22
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
21
23
  export default _default;
package/dist/index.js CHANGED
@@ -14,7 +14,7 @@ import { M as R3, a as W3 } from "./MessageMenu-_RZJ9Mbi.js";
14
14
  import { _ as q3, a as j3, F as Q3, b as J3, c as K3, d as X3, R as Y3 } from "./FeedbackModal-D1htK7xY.js";
15
15
  import { C as t4 } from "./Clipboard-Bful1lNJ.js";
16
16
  import { F as a4, a as s4, c as i4, b as n4, d as C4 } from "./FeedbackItem-B_EUApFA.js";
17
- import { L as c4, a as l4, b as d4, c as p4, d as f4, B as _4, C as h4, e as g4, f as u4, g as L4, h as F4, D as m4, i as w4, j as y4, P as M4, Q as v4, k as Z4, l as x4, R as V4, m as H4, n as U4, o as E4, p as k4, q as G4, r as S4, s as A4, t as D4, u as B4, v as b4, w as P4, x as O4, y as I4, z as T4, A as $4, V as N4, E as R4, F as W4, G as z4, H as q4, S as j4, T as Q4, I as J4, J as K4, K as X4, U as Y4, M as e6, N as t6, O as o6 } from "./LandingPageSectionTabs-bSKMTnGN.js";
17
+ import { L as c4, a as l4, b as d4, c as p4, d as f4, B as _4, C as h4, e as g4, f as u4, g as L4, h as F4, D as m4, i as w4, j as y4, P as M4, Q as v4, k as Z4, l as x4, R as V4, m as H4, n as U4, o as E4, p as k4, q as G4, r as S4, s as A4, t as D4, u as B4, v as b4, w as P4, x as O4, y as I4, z as T4, A as $4, V as N4, E as R4, F as W4, G as z4, H as q4, S as j4, T as Q4, I as J4, J as K4, K as X4, U as Y4, M as e6, N as t6, O as o6 } from "./LandingPageSectionTabs-CQSYFCWK.js";
18
18
  import { C as s6, a as i6 } from "./CollapseItem-Cw1vcdLu.js";
19
19
  import { C as C6, G as r6, H as c6, L as l6, S as d6, W as p6 } from "./WidthContainer-CfR77puD.js";
20
20
  import { C as _6, E as h6 } from "./CustomTable-JflAYS8i.js";
@@ -1,4 +1,4 @@
1
- import { L as g, a as e, b as i, c as s, d, B as L, C as P, e as o, f as t, g as r, h as c, D as u, i as C, j as F, P as T, Q as S, k as m, l, R as p, m as b, n as k, o as B, p as G, q as H, r as f, s as A, t as I, u as y, v as D, w as h, x as v, y as w, z as x, A as M, V as Q, E as j, F as q, G as z, H as E, S as J, T as K, I as N, J as O, K as R, U, M as V, N as W, O as X } from "./LandingPageSectionTabs-bSKMTnGN.js";
1
+ import { L as g, a as e, b as i, c as s, d, B as L, C as P, e as o, f as t, g as r, h as c, D as u, i as C, j as F, P as T, Q as S, k as m, l, R as p, m as b, n as k, o as B, p as G, q as H, r as f, s as A, t as I, u as y, v as D, w as h, x as v, y as w, z as x, A as M, V as Q, E as j, F as q, G as z, H as E, S as J, T as K, I as N, J as O, K as R, U, M as V, N as W, O as X } from "./LandingPageSectionTabs-CQSYFCWK.js";
2
2
  export {
3
3
  g as LandingPageAbout,
4
4
  e as LandingPageAside,