@scalar/use-toasts 0.7.8 → 0.7.10

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/CHANGELOG.md CHANGED
@@ -1,5 +1,17 @@
1
1
  # @scalar/use-toasts
2
2
 
3
+ ## 0.7.10
4
+
5
+ ### Patch Changes
6
+
7
+ - 8c7bad8: chore: move build tooling to esbuild
8
+
9
+ ## 0.7.9
10
+
11
+ ### Patch Changes
12
+
13
+ - fa6afe8: chore: code formatting
14
+
3
15
  ## 0.7.8
4
16
 
5
17
  ### Patch Changes
@@ -1,4 +1,4 @@
1
- import { defineComponent as c, ref as i, onMounted as u, openBlock as f, createBlock as m, unref as l, createCommentVNode as p } from "vue";
1
+ import { defineComponent as c, ref as i, onMounted as u, createBlock as f, createCommentVNode as m, openBlock as l, unref as p } from "vue";
2
2
  import { toast as t, Toaster as d } from "vue-sonner";
3
3
  import { useToasts as _ } from "../hooks/useToasts.js";
4
4
  const v = /* @__PURE__ */ c({
@@ -17,10 +17,10 @@ const v = /* @__PURE__ */ c({
17
17
  duration: n.timeout || 3e3,
18
18
  description: n.description
19
19
  });
20
- }), (s, r) => o.value ? (f(), m(l(d), {
20
+ }), (s, r) => o.value ? (l(), f(p(d), {
21
21
  key: 0,
22
22
  class: "scalar-toaster"
23
- })) : p("", !0);
23
+ })) : m("", !0);
24
24
  }
25
25
  });
26
26
  export {
@@ -1 +1 @@
1
- {"version":3,"file":"useToasts.d.ts","sourceRoot":"","sources":["../../src/hooks/useToasts.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,CAC1B,OAAO,EAAE,MAAM,EACf,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,EACjC,OAAO,CAAC,EAAE,YAAY,KACnB,IAAI,GAAG,IAAI,CAAA;AAQhB,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,QAE5D;AAED,kBAAkB;AAClB,wBAAgB,SAAS;;qBAIV,MAAM,UACR,MAAM,GAAG,MAAM,GAAG,OAAO,YACvB,YAAY;EAK1B"}
1
+ {"version":3,"file":"useToasts.d.ts","sourceRoot":"","sources":["../../src/hooks/useToasts.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,YAAY,GAAG;IACzB,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,WAAW,CAAC,EAAE,MAAM,CAAA;CACrB,CAAA;AAED,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,CAAC,EAAE,MAAM,GAAG,MAAM,GAAG,OAAO,EAAE,OAAO,CAAC,EAAE,YAAY,KAAK,IAAI,GAAG,IAAI,CAAA;AAQvH,wBAAgB,gBAAgB,CAAC,aAAa,EAAE,aAAa,QAE5D;AAED,kBAAkB;AAClB,wBAAgB,SAAS;;qBAGJ,MAAM,UAAS,MAAM,GAAG,MAAM,GAAG,OAAO,YAAoB,YAAY;EAI5F"}
package/package.json CHANGED
@@ -17,7 +17,7 @@
17
17
  "vue",
18
18
  "vue3"
19
19
  ],
20
- "version": "0.7.8",
20
+ "version": "0.7.10",
21
21
  "engines": {
22
22
  "node": ">=18"
23
23
  },
@@ -28,7 +28,7 @@
28
28
  "CHANGELOG.md"
29
29
  ],
30
30
  "dependencies": {
31
- "nanoid": "^5.0.7",
31
+ "nanoid": "^5.1.5",
32
32
  "vue": "^3.5.12",
33
33
  "vue-sonner": "^1.0.3"
34
34
  },
@@ -39,13 +39,15 @@
39
39
  "vite": "^5.4.10",
40
40
  "vite-plugin-css-injected-by-js": "^3.4.0",
41
41
  "vitest": "^1.6.0",
42
- "@scalar/build-tooling": "0.1.12"
42
+ "@scalar/build-tooling": "0.1.19"
43
43
  },
44
44
  "scripts": {
45
45
  "build": "scalar-build-vite",
46
46
  "dev": "vite",
47
- "lint:check": "eslint .",
48
- "lint:fix": "eslint . --fix",
47
+ "format": "scalar-format",
48
+ "format:check": "scalar-format-check",
49
+ "lint:check": "scalar-lint-check",
50
+ "lint:fix": "scalar-lint-fix",
49
51
  "preview": "vite preview",
50
52
  "test": "vitest",
51
53
  "types:build": "scalar-types-build-vue",