portal-design-system 0.0.939 → 0.0.940

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.js CHANGED
@@ -4049,7 +4049,7 @@ const IN = {
4049
4049
  setup(t) {
4050
4050
  const e = SF(), i = t, r = mt(
4051
4051
  () => {
4052
- const a = SV[i.variant], n = xV[i.size], o = bV[i.radius], s = ["font-medium!", "mds-button", "flex", "items-center", "group", "whitespace-nowrap", "transition-all", "duration-500"];
4052
+ const a = SV[i.variant], n = xV[i.size], o = bV[i.radius], s = ["font-medium!", "mds-button", "app-flex", "items-center", "group", "whitespace-nowrap", "transition-all", "duration-500"];
4053
4053
  return i.aspect === "square" && s.push("aspect-square", "p-0"), i.iconPosition === "end" && i.icon && s.push("flex-row-reverse", "gap-2"), $a(a, n, o, s, i.classList);
4054
4054
  }
4055
4055
  );
@@ -6756,7 +6756,7 @@ function RN(t, e, i = "click") {
6756
6756
  };
6757
6757
  Hn(() => document.addEventListener(i, r)), Mg(() => document.removeEventListener(i, r));
6758
6758
  }
6759
- const BN = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, kN = ["onClick", "aria-label"], PN = /* @__PURE__ */ Ne({
6759
+ const BN = { class: "app-flex items-center gap-2 w-18 absolute h-12 start-0" }, kN = ["onClick", "aria-label"], PN = /* @__PURE__ */ Ne({
6760
6760
  __name: "CountryCode",
6761
6761
  props: /* @__PURE__ */ Qi({
6762
6762
  disabled: { type: Boolean }
@@ -6807,7 +6807,7 @@ const BN = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, kN =
6807
6807
  ref: s,
6808
6808
  onClick: h,
6809
6809
  type: "button",
6810
- class: st(["flex gap-1 items-center", { "cursor-pointer": !t.disabled }]),
6810
+ class: st(["app-flex gap-1 items-center", { "cursor-pointer": !t.disabled }]),
6811
6811
  "aria-label": "Select Country Code"
6812
6812
  }, [
6813
6813
  Le("span", {
@@ -6837,7 +6837,7 @@ const BN = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, kN =
6837
6837
  role: "button",
6838
6838
  type: "button",
6839
6839
  onClick: (S) => c(x.dial_code),
6840
- class: "flex gap-2 w-full hover:bg-base-neutral-100/30 cursor-pointer border-b last-of-type:border-0 border-base-neutral-100 px-3 h-12 items-center",
6840
+ class: "app-flex gap-2 w-full hover:bg-base-neutral-100/30 cursor-pointer border-b last-of-type:border-0 border-base-neutral-100 px-3 h-12 items-center",
6841
6841
  "aria-label": `Select country code ${x.name}`
6842
6842
  }, [
6843
6843
  Le("span", null, [
@@ -6862,7 +6862,7 @@ const BN = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, kN =
6862
6862
  classList: {}
6863
6863
  },
6864
6864
  setup(t) {
6865
- const e = t, i = mt(() => $a("font-medium text-sm flex mb-1 capitalize", e.classList));
6865
+ const e = t, i = mt(() => $a("font-medium text-sm app-flex mb-2 capitalize", e.classList));
6866
6866
  return (r, a) => (G(), te("label", {
6867
6867
  for: t.forId,
6868
6868
  class: st(i.value)
@@ -7078,7 +7078,7 @@ const BN = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, kN =
7078
7078
  }, [
7079
7079
  de(i).toggleButton ? Lt(I.$slots, "toggleButton", { key: 0 }, void 0, !0) : (G(), te("div", {
7080
7080
  key: 1,
7081
- class: st([[S.value, { disabled: t.disabled }], "flex items-center justify-between h-12 select"]),
7081
+ class: st([[S.value, { disabled: t.disabled }], "app-flex items-center justify-between h-12 select"]),
7082
7082
  error: !!((L = t.errors) != null && L.length)
7083
7083
  }, [
7084
7084
  Le("div", WN, [
@@ -7147,7 +7147,7 @@ const BN = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, kN =
7147
7147
  select: C
7148
7148
  }, void 0, !0) : (G(), te("li", {
7149
7149
  key: 1,
7150
- class: st(["px-3 py-3 text-sm flex justify-between items-center border-b border-base-neutral-100 last-of-type:border-0", [
7150
+ class: st(["px-3 py-3 text-sm app-flex justify-between items-center border-b border-base-neutral-100 last-of-type:border-0", [
7151
7151
  ce.disabled ? "opacity-50 cursor-not-allowed" : "hover:bg-base-neutral-100/30 cursor-pointer",
7152
7152
  ge === d.value ? "bg-neutral-800" : ""
7153
7153
  ]]),
@@ -7169,7 +7169,7 @@ const BN = { class: "flex items-center gap-2 w-18 absolute h-12 start-0" }, kN =
7169
7169
  ]);
7170
7170
  };
7171
7171
  }
7172
- }), YN = /* @__PURE__ */ id(jN, [["__scopeId", "data-v-2cac1abb"]]);
7172
+ }), YN = /* @__PURE__ */ id(jN, [["__scopeId", "data-v-eb32ac4a"]]);
7173
7173
  function jA(t, e) {
7174
7174
  const i = (r) => {
7175
7175
  r.key === "Escape" && (t.value = !1);
@@ -7197,7 +7197,7 @@ const sme = /* @__PURE__ */ Ne({
7197
7197
  const e = gi(t, "modelValue"), i = t;
7198
7198
  jA(e);
7199
7199
  const r = mt(() => {
7200
- const n = ["fixed p-5 h-dvh w-screen top-0 flex items-center inset-0 z-10001 overflow-auto bg-black/20 modal-container *:m-auto"];
7200
+ const n = ["fixed p-5 h-dvh w-screen top-0 app-flex items-center inset-0 z-10001 overflow-auto bg-black/20 modal-container *:m-auto"];
7201
7201
  return i.fullscreen && n.push("p-0"), $a(...n, i.classList);
7202
7202
  }), a = () => {
7203
7203
  i.persistent || (e.value = !1);
@@ -8463,7 +8463,7 @@ const dme = {
8463
8463
  }), gh(() => {
8464
8464
  n == null || n.disconnect();
8465
8465
  }), (s, l) => (G(), te("div", {
8466
- class: "rounded-xl border border-base-neutral-100 p-1 flex items-center relative",
8466
+ class: "rounded-xl border border-base-neutral-100 p-1 app-flex items-center relative",
8467
8467
  style: Ba({ gap: t.spacing + "px" })
8468
8468
  }, [
8469
8469
  (G(!0), te(hi, null, Cr(t.tabs, (d, u) => (G(), te("div", {
@@ -8483,7 +8483,7 @@ const dme = {
8483
8483
  }, null, 4)
8484
8484
  ], 4));
8485
8485
  }
8486
- }), fH = { class: "rounded-sm border bg-surface-300 text-sm gap-1 border-base-neutral-100 justify-between px-2 py-1 text-base-neutral-600 flex items-center relative" }, CH = ["onClick"], cme = /* @__PURE__ */ Ne({
8486
+ }), fH = { class: "rounded-sm border bg-surface-300 text-sm gap-1 border-base-neutral-100 justify-between px-2 py-1 text-base-neutral-600 app-flex items-center relative" }, CH = ["onClick"], cme = /* @__PURE__ */ Ne({
8487
8487
  __name: "Dropdown",
8488
8488
  props: /* @__PURE__ */ Qi({
8489
8489
  id: {},
@@ -8526,7 +8526,7 @@ const dme = {
8526
8526
  }),
8527
8527
  option: ot(({ isActive: o, option: s, select: l }) => [
8528
8528
  Le("div", {
8529
- class: "h-8 bg-surface-300 hover:bg-white cursor-pointer flex items-center text-base-neutral-600 text-sm px-2",
8529
+ class: "h-8 bg-surface-300 hover:bg-white cursor-pointer app-flex items-center text-base-neutral-600 text-sm px-2",
8530
8530
  onClick: (d) => l(s)
8531
8531
  }, vt(s.label), 9, CH)
8532
8532
  ]),
@@ -8534,7 +8534,7 @@ const dme = {
8534
8534
  }, 16, ["modelValue"])
8535
8535
  ]));
8536
8536
  }
8537
- }), yH = { class: "flex items-center w-max" }, xH = ["data-tooltip-background"], bH = /* @__PURE__ */ Ne({
8537
+ }), yH = { class: "app-flex items-center w-max" }, xH = ["data-tooltip-background"], bH = /* @__PURE__ */ Ne({
8538
8538
  __name: "DurationTimeline",
8539
8539
  props: {
8540
8540
  items: {}
@@ -8566,7 +8566,7 @@ const dme = {
8566
8566
  ]);
8567
8567
  };
8568
8568
  }
8569
- }), hme = /* @__PURE__ */ id(bH, [["__scopeId", "data-v-37d6f82a"]]);
8569
+ }), hme = /* @__PURE__ */ id(bH, [["__scopeId", "data-v-55d8650d"]]);
8570
8570
  var SH = {
8571
8571
  "[object Array]": "array",
8572
8572
  "[object Date]": "date",
@@ -77256,7 +77256,7 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ Ne({
77256
77256
  ]), 1032, ["class", "data-source", "word-wrap-enabled", "remote-operations", "key-expr"])) : We("", !0)
77257
77257
  ]));
77258
77258
  }
77259
- }), Nve = { class: "h-24 flex items-center justify-between px-6 border-b border-base-neutral-100" }, Hve = { class: "flex gap-4 items-center" }, $ve = /* @__PURE__ */ Ne({
77259
+ }), Nve = { class: "h-24 app-flex items-center justify-between px-6 border-b border-base-neutral-100" }, Hve = { class: "app-flex gap-4 items-center" }, $ve = /* @__PURE__ */ Ne({
77260
77260
  __name: "Heading",
77261
77261
  props: {
77262
77262
  title: {},
@@ -77313,7 +77313,7 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ Ne({
77313
77313
  jA(e, { ingoreOverflowHidden: !0 });
77314
77314
  const i = t, r = mt(() => {
77315
77315
  const n = [
77316
- "fixed top-0 h-dvh w-full flex flex-col bg-white shadow-lg z-10002 overflow-auto",
77316
+ "fixed top-0 h-dvh w-full app-flex flex-col bg-white shadow-lg z-10002 overflow-auto",
77317
77317
  i.position === "start" ? "start-0" : "end-0"
77318
77318
  ];
77319
77319
  return $a(...n, i.classList);
@@ -77359,13 +77359,13 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ Ne({
77359
77359
  }, 8, ["name"])
77360
77360
  ]));
77361
77361
  }
77362
- }), zve = { class: "flex justify-between items-center gap-x-10 gap-y-3 flex-wrap w-full" }, Gve = { class: "flex items-center gap-2" }, Uve = ["value"], Kve = { class: "flex items-center gap-2" }, qve = {
77362
+ }), zve = { class: "app-flex justify-between items-center gap-x-10 gap-y-3 flex-wrap w-full" }, Gve = { class: "app-flex items-center gap-2" }, Uve = ["value"], Kve = { class: "app-flex items-center gap-2" }, qve = {
77363
77363
  key: 1,
77364
77364
  class: "pagination-button non-interactive"
77365
77365
  }, jve = ["onClick"], Yve = {
77366
77366
  key: 2,
77367
77367
  class: "pagination-button non-interactive"
77368
- }, Xve = { class: "flex items-center gap-2" }, Zve = ["max"], Qve = /* @__PURE__ */ Ne({
77368
+ }, Xve = { class: "app-flex items-center gap-2" }, Zve = ["max"], Qve = /* @__PURE__ */ Ne({
77369
77369
  __name: "Pagination",
77370
77370
  props: /* @__PURE__ */ Qi({
77371
77371
  total: {},
@@ -77498,7 +77498,7 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ Ne({
77498
77498
  ])
77499
77499
  ]));
77500
77500
  }
77501
- }), wme = /* @__PURE__ */ id(Qve, [["__scopeId", "data-v-f0622229"]]), Jve = {
77501
+ }), wme = /* @__PURE__ */ id(Qve, [["__scopeId", "data-v-c63c9c13"]]), Jve = {
77502
77502
  key: 0,
77503
77503
  class: "w-4.5 aspect-square rounded-full bg-primary-orange-500"
77504
77504
  }, eme = /* @__PURE__ */ Ne({
@@ -77514,7 +77514,7 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ Ne({
77514
77514
  setup(t) {
77515
77515
  const e = gi(t, "modelValue"), i = mt(() => t.value == e.value);
77516
77516
  return (r, a) => (G(), te("div", {
77517
- class: "h-10 rounded-full bg-surface-100 cursor-pointer border ps-1.5 pe-5 border-base-neutral-100 flex items-center justify-between whitespace-nowrap gap-2",
77517
+ class: "h-10 rounded-full bg-surface-100 cursor-pointer border ps-1.5 pe-5 border-base-neutral-100 app-flex items-center justify-between whitespace-nowrap gap-2",
77518
77518
  onClick: a[0] || (a[0] = (n) => e.value = t.value)
77519
77519
  }, [
77520
77520
  Le("div", {
@@ -77557,7 +77557,7 @@ const Vve = { class: "w-full relative" }, Sme = /* @__PURE__ */ Ne({
77557
77557
  labelClassList: t.labelClassList
77558
77558
  }, null, 8, ["forId", "label", "required", "labelClassList"]),
77559
77559
  Le("div", {
77560
- class: st(["flex gap-x-2 gap-y-3 flex-wrap", t.direction === "horizontal" ? "flex-row" : "flex-col"])
77560
+ class: st(["app-flex gap-x-2 gap-y-3 flex-wrap", t.direction === "horizontal" ? "flex-row" : "flex-col"])
77561
77561
  }, [
77562
77562
  (G(!0), te(hi, null, Cr(t.options, (a) => (G(), Je(eme, {
77563
77563
  key: a.value,