@point-hub/papp 0.0.73 → 0.0.75

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
@@ -34,7 +34,7 @@ const Jl = { class: "accordion-container" }, Zl = /* @__PURE__ */ R({
34
34
  size: { default: "md" },
35
35
  color: { default: "none" },
36
36
  variant: { default: "filled" },
37
- shape: { default: "rounded" },
37
+ shape: { default: "sharp" },
38
38
  isBlock: { type: Boolean, default: !1 },
39
39
  isLoading: { type: Boolean, default: !1 }
40
40
  },
@@ -52,7 +52,7 @@ const Jl = { class: "accordion-container" }, Zl = /* @__PURE__ */ R({
52
52
  i.isLoading && (i.variant === "filled" || i.variant === "light") ? (S(), B("span", rs)) : U("", !0)
53
53
  ], 8, ts));
54
54
  }
55
- }), Pe = /* @__PURE__ */ se(as, [["__scopeId", "data-v-677df7ca"]]), os = { class: "accordion-item" }, is = 32, ls = /* @__PURE__ */ R({
55
+ }), Pe = /* @__PURE__ */ se(as, [["__scopeId", "data-v-86081a31"]]), os = { class: "accordion-item" }, is = 32, ls = /* @__PURE__ */ R({
56
56
  __name: "base-accordion-item",
57
57
  props: {
58
58
  itemId: {},
@@ -7955,7 +7955,7 @@ const Hv = /* @__PURE__ */ R({
7955
7955
  !r.value && u.value.length === 0 ? (S(), B("div", Em, " Nothing found. ")) : U("", !0),
7956
7956
  (S(!0), B(Ae, null, Fe(u.value, (w, v) => (S(), B("div", {
7957
7957
  key: v,
7958
- class: "py-4 px-8 border-b hover:bg-blue-100 dark:hover-bg-slate-800 cursor-pointer",
7958
+ class: "py-4 px-8 border-b dark:border-b-slate-800 hover:bg-blue-100 dark:hover-bg-slate-800 cursor-pointer",
7959
7959
  onClick: (A) => c(w)
7960
7960
  }, [
7961
7961
  G(p.$slots, "default", { option: w }, () => [
@@ -10650,9 +10650,13 @@ function Ig() {
10650
10650
  function r() {
10651
10651
  t.value ? (e.classList.remove("dark"), localStorage.setItem("dark-mode", "light")) : (e.classList.add("dark"), localStorage.setItem("dark-mode", "dark")), t.value = e.classList.contains("dark");
10652
10652
  }
10653
+ function a(i) {
10654
+ i === "light" ? (e.classList.remove("dark"), localStorage.setItem("dark-mode", "light")) : i === "dark" && (e.classList.add("dark"), localStorage.setItem("dark-mode", "dark")), t.value = e.classList.contains("dark");
10655
+ }
10653
10656
  return {
10654
10657
  isDarkMode: t,
10655
10658
  toggleDarkMode: r,
10659
+ setDarkMode: a,
10656
10660
  loadDarkMode: n
10657
10661
  };
10658
10662
  }