vlite3 0.2.2 → 0.2.3

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,7 +1,7 @@
1
1
  import { defineComponent as d, ref as u, openBlock as c, createElementBlock as f, renderSlot as m, createVNode as g, normalizeClass as v, unref as b, withCtx as C, createElementVNode as h, toDisplayString as k } from "vue";
2
- import { useTokenClient as w } from "../node_modules/vue3-google-signin/dist/index.es.js";
2
+ import { useTokenClient as w } from "vue3-google-signin";
3
3
  import z from "./Button.vue.js";
4
- const x = { class: "google-login-wrapper inline-block w-full" }, y = { class: "font-medium" }, L = /* @__PURE__ */ d({
4
+ const x = { class: "google-login-wrapper inline-block w-full" }, y = { class: "font-medium" }, T = /* @__PURE__ */ d({
5
5
  __name: "GoogleLogin",
6
6
  props: {
7
7
  buttonText: { default: "Sign in with Google" },
@@ -13,25 +13,25 @@ const x = { class: "google-login-wrapper inline-block w-full" }, y = { class: "f
13
13
  },
14
14
  emits: ["success", "error"],
15
15
  setup(e, { emit: n }) {
16
- const s = e, o = n, l = u(!1), { login: i, isReady: r } = w({
17
- onSuccess: (a) => {
18
- l.value = !1, o("success", a);
16
+ const s = e, a = n, l = u(!1), { login: i, isReady: r } = w({
17
+ onSuccess: (o) => {
18
+ l.value = !1, a("success", o);
19
19
  },
20
- onError: (a) => {
21
- l.value = !1, o("error", a);
20
+ onError: (o) => {
21
+ l.value = !1, a("error", o);
22
22
  }
23
23
  }), t = () => {
24
24
  if (!(s.disabled || l.value)) {
25
25
  l.value = !0;
26
26
  try {
27
27
  i();
28
- } catch (a) {
29
- l.value = !1, o("error", a);
28
+ } catch (o) {
29
+ l.value = !1, a("error", o);
30
30
  }
31
31
  }
32
32
  };
33
- return (a, S) => (c(), f("div", x, [
34
- m(a.$slots, "default", {
33
+ return (o, S) => (c(), f("div", x, [
34
+ m(o.$slots, "default", {
35
35
  login: t,
36
36
  loading: l.value,
37
37
  disabled: e.disabled
@@ -56,5 +56,5 @@ const x = { class: "google-login-wrapper inline-block w-full" }, y = { class: "f
56
56
  }
57
57
  });
58
58
  export {
59
- L as default
59
+ T as default
60
60
  };
@@ -1,4 +1,4 @@
1
- import c from "../node_modules/scrollreveal/dist/scrollreveal.es.js";
1
+ import c from "scrollreveal";
2
2
  const o = /* @__PURE__ */ new WeakMap(), s = {
3
3
  distance: "50px",
4
4
  duration: 800,
package/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import { default as t } from "./node_modules/vue3-google-signin/dist/index.es.js";
1
+ import { default as t } from "vue3-google-signin";
2
2
  import { default as f } from "./components/Accordion/Accordion.vue.js";
3
3
  import { default as m } from "./components/Accordion/AccordionItem.vue.js";
4
4
  import { default as d } from "./components/Accordion/AccordionTrigger.vue.js";
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "private": false,
4
4
  "description": "A Vue 3 UI component library built with Tailwind CSS.",
5
5
  "license": "MIT",
6
- "version": "0.2.2",
6
+ "version": "0.2.3",
7
7
  "type": "module",
8
8
  "main": "index.js",
9
9
  "module": "index.js",