@scalar/use-toasts 0.9.0 → 0.10.0

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,19 @@
1
1
  # @scalar/use-toasts
2
2
 
3
+ ## 0.10.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#8322](https://github.com/scalar/scalar/pull/8322): chore: bump required node version to >=22 (LTS)
8
+
9
+ ## 0.9.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#7473](https://github.com/scalar/scalar/pull/7473) [`ea13cd2`](https://github.com/scalar/scalar/commit/ea13cd2a44ff1ba7f19abcfcad1e51c9e7a0b75d) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix: remove `nanoid` unused dependency
14
+
15
+ - [#7473](https://github.com/scalar/scalar/pull/7473) [`ea13cd2`](https://github.com/scalar/scalar/commit/ea13cd2a44ff1ba7f19abcfcad1e51c9e7a0b75d) Thanks [@marcalexiei](https://github.com/marcalexiei)! - fix: use named exports instead of star
16
+
3
17
  ## 0.9.0
4
18
 
5
19
  ### Minor Changes
@@ -1,3 +1,4 @@
1
- declare const _default: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
1
+ declare const __VLS_export: import("vue").DefineComponent<{}, {}, {}, {}, {}, import("vue").ComponentOptionsMixin, import("vue").ComponentOptionsMixin, {}, string, import("vue").PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import("vue").ComponentProvideOptions, true, {}, any>;
2
+ declare const _default: typeof __VLS_export;
2
3
  export default _default;
3
4
  //# sourceMappingURL=ScalarToasts.vue.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ScalarToasts.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarToasts.vue"],"names":[],"mappings":";AAoJA,wBAKG"}
1
+ {"version":3,"file":"ScalarToasts.vue.d.ts","sourceRoot":"","sources":["../../src/components/ScalarToasts.vue"],"names":[],"mappings":"AA2IA,QAAA,MAAM,YAAY,+QAChB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
package/dist/index.d.ts CHANGED
@@ -1,3 +1,3 @@
1
1
  export { default as ScalarToasts } from './components/ScalarToasts.vue.js';
2
- export * from './hooks';
2
+ export { type ToastFunction, type ToastOptions, initializeToasts, useToasts, } from './hooks/useToasts.js';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,cAAc,SAAS,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,+BAA+B,CAAA;AACvE,OAAO,EACL,KAAK,aAAa,EAClB,KAAK,YAAY,EACjB,gBAAgB,EAChB,SAAS,GACV,MAAM,mBAAmB,CAAA"}
package/package.json CHANGED
@@ -17,28 +17,34 @@
17
17
  "vue",
18
18
  "vue3"
19
19
  ],
20
- "version": "0.9.0",
20
+ "version": "0.10.0",
21
21
  "engines": {
22
- "node": ">=20"
22
+ "node": ">=22"
23
23
  },
24
24
  "type": "module",
25
25
  "main": "dist/index.js",
26
+ "exports": {
27
+ ".": {
28
+ "import": "./dist/index.js",
29
+ "types": "./dist/index.d.ts",
30
+ "default": "./dist/index.js"
31
+ }
32
+ },
26
33
  "files": [
27
34
  "dist",
28
35
  "CHANGELOG.md"
29
36
  ],
30
37
  "dependencies": {
31
- "nanoid": "5.1.5",
32
- "vue": "^3.5.21",
38
+ "vue": "^3.5.26",
33
39
  "vue-sonner": "^1.0.3"
34
40
  },
35
41
  "devDependencies": {
36
- "@vitejs/plugin-vue": "6.0.1",
42
+ "@vitejs/plugin-vue": "^6.0.3",
37
43
  "@vue/test-utils": "2.4.6",
38
- "vite": "7.1.11",
44
+ "vite": "^7.3.1",
39
45
  "vite-plugin-css-injected-by-js": "^3.4.0",
40
- "vitest": "3.2.4",
41
- "@scalar/build-tooling": "0.2.8"
46
+ "vitest": "4.0.16",
47
+ "@scalar/build-tooling": "0.5.0"
42
48
  },
43
49
  "scripts": {
44
50
  "build": "scalar-build-vite",
@@ -1,2 +0,0 @@
1
- export * from './useToasts.js';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}