@samline/notify 0.3.0 → 1.0.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.
Files changed (47) hide show
  1. package/LICENSE +22 -0
  2. package/README.md +121 -150
  3. package/dist/browser-notify.js +69 -0
  4. package/dist/cc-2Yt7NqMX.mjs +21 -0
  5. package/dist/cc-B6peeNak.mjs +33 -0
  6. package/dist/cc-BWuAzFJ6.js +12 -0
  7. package/dist/cc-CaBHsjUt.js +34 -0
  8. package/dist/cc-DGff5sSY.js +21 -0
  9. package/dist/cc-he3fHS3P.mjs +12 -0
  10. package/dist/notify.d.mts +44 -0
  11. package/dist/notify.d.mts.map +1 -0
  12. package/dist/notify.d.ts +44 -0
  13. package/dist/notify.d.ts.map +1 -0
  14. package/dist/notify.js +90 -0
  15. package/dist/notify.mjs +87 -0
  16. package/dist/react-notify-12s-7LOZlSBi.js +1068 -0
  17. package/dist/react-notify-12s-BjWbwTu8.mjs +1066 -0
  18. package/dist/react.d.mts +66 -0
  19. package/dist/react.d.mts.map +1 -0
  20. package/dist/react.d.ts +66 -0
  21. package/dist/react.d.ts.map +1 -0
  22. package/dist/react.js +18 -0
  23. package/dist/react.mjs +10 -0
  24. package/dist/styles.css +477 -63
  25. package/dist/svelte.d.mts +45 -0
  26. package/dist/svelte.d.mts.map +1 -0
  27. package/dist/svelte.d.ts +45 -0
  28. package/dist/svelte.d.ts.map +1 -0
  29. package/dist/svelte.js +168 -0
  30. package/dist/svelte.mjs +165 -0
  31. package/dist/vue.d.mts +103 -0
  32. package/dist/vue.d.mts.map +1 -0
  33. package/dist/vue.d.ts +103 -0
  34. package/dist/vue.d.ts.map +1 -0
  35. package/dist/vue.js +2099 -0
  36. package/dist/vue.mjs +2096 -0
  37. package/package.json +95 -57
  38. package/dist/index.cjs.js +0 -1171
  39. package/dist/index.esm.js +0 -1164
  40. package/dist/notify.umd.js +0 -1177
  41. package/docs/browser.md +0 -99
  42. package/docs/react.md +0 -275
  43. package/docs/svelte.md +0 -267
  44. package/docs/vanilla.md +0 -256
  45. package/docs/vue.md +0 -301
  46. package/rollup.config.mjs +0 -56
  47. package/samline-notify-0.1.9.tgz +0 -0
package/package.json CHANGED
@@ -1,59 +1,97 @@
1
1
  {
2
- "name": "@samline/notify",
3
- "version": "0.3.0",
4
- "description": "Notifications engine inspired by Sileo, with adapters for vanilla, React, Vue and Svelte.",
5
- "main": "dist/index.cjs.js",
6
- "module": "dist/index.esm.js",
7
- "unpkg": "dist/notify.umd.js",
8
- "types": "dist/index.d.ts",
9
- "exports": {
10
- "./styles.css": "./dist/styles.css",
11
- "./package.json": "./package.json"
12
- },
13
- "scripts": {
14
- "build": "rollup -c",
15
- "test": "vitest",
16
- "typecheck": "tsc --noEmit",
17
- "prepare": "npm run build"
18
- },
19
- "keywords": [
20
- "notifications",
21
- "toasts",
22
- "sileo",
23
- "samline"
24
- ],
25
- "license": "MIT",
26
- "peerDependencies": {
27
- "react": ">=18",
28
- "react-dom": ">=18",
29
- "svelte": "^5.55.0",
30
- "vue": "^3.5.31"
31
- },
32
- "devDependencies": {
33
- "@rollup/plugin-commonjs": "^25.0.0",
34
- "@rollup/plugin-node-resolve": "^15.0.0",
35
- "@rollup/plugin-replace": "^6.0.3",
36
- "@rollup/plugin-typescript": "^11.0.0",
37
- "@types/node": "^20.0.0",
38
- "@types/react": "^18.2.0",
39
- "@types/react-dom": "^18.2.0",
40
- "jsdom": "^29.0.1",
41
- "rollup": "^3.0.0",
42
- "rollup-plugin-copy": "^3.4.0",
43
- "svelte-check": "^3.3.0",
44
- "tslib": "^2.8.1",
45
- "typescript": "^5.0.0",
46
- "vitest": "^1.0.0"
47
- },
48
- "devDependenciesMeta": {
49
- "@types/react": {
50
- "optional": true
51
- },
52
- "@types/react-dom": {
53
- "optional": true
54
- }
55
- },
56
- "dependencies": {
57
- "motion": "^10.0.0"
58
- }
2
+ "name": "@samline/notify",
3
+ "version": "1.0.0",
4
+ "description": "A toast notification library designed to bring beautiful, animated notifications to React, Vue, Svelte, and Vanilla JS. Seamless integration across multiple frameworks.",
5
+ "keywords": [
6
+ "toast",
7
+ "notification",
8
+ "react",
9
+ "vue",
10
+ "svelte",
11
+ "vanilla"
12
+ ],
13
+ "homepage": "https://github.com/samline/notify",
14
+ "bugs": {
15
+ "url": "https://github.com/samline/notify/issues"
16
+ },
17
+ "license": "MIT",
18
+ "repository": {
19
+ "type": "git",
20
+ "url": "https://github.com/samline/notify"
21
+ },
22
+ "exports": {
23
+ ".": {
24
+ "import": {
25
+ "types": "./dist/notify.d.mts",
26
+ "default": "./dist/notify.mjs"
27
+ },
28
+ "require": {
29
+ "types": "./dist/notify.d.ts",
30
+ "default": "./dist/notify.js"
31
+ },
32
+ "default": "./dist/notify.js"
33
+ },
34
+ "./react": {
35
+ "import": {
36
+ "types": "./dist/react.d.mts",
37
+ "default": "./dist/react.mjs"
38
+ },
39
+ "require": {
40
+ "types": "./dist/react.d.ts",
41
+ "default": "./dist/react.js"
42
+ },
43
+ "default": "./dist/react.js"
44
+ },
45
+ "./vue": {
46
+ "import": {
47
+ "types": "./dist/vue.d.mts",
48
+ "default": "./dist/vue.mjs"
49
+ },
50
+ "require": {
51
+ "types": "./dist/vue.d.ts",
52
+ "default": "./dist/vue.js"
53
+ },
54
+ "default": "./dist/vue.js"
55
+ },
56
+ "./svelte": {
57
+ "import": {
58
+ "types": "./dist/svelte.d.mts",
59
+ "default": "./dist/svelte.mjs"
60
+ },
61
+ "require": {
62
+ "types": "./dist/svelte.d.ts",
63
+ "default": "./dist/svelte.js"
64
+ },
65
+ "default": "./dist/svelte.js"
66
+ }
67
+ },
68
+ "main": "./dist/notify.js",
69
+ "types": "./dist/notify.d.ts",
70
+ "files": [
71
+ "dist"
72
+ ],
73
+ "scripts": {
74
+ "build": "node scripts/build.js",
75
+ "dev": "bunchee --watch",
76
+ "test": "vitest run",
77
+ "typecheck": "tsc --noEmit"
78
+ },
79
+ "peerDependencies": {
80
+ "react": ">=18",
81
+ "react-dom": ">=18"
82
+ },
83
+ "devDependencies": {
84
+ "@testing-library/jest-dom": "^6.9.1",
85
+ "@testing-library/react": "^16.3.2",
86
+ "@types/react": "^19.2.14",
87
+ "bunchee": "^6.9.4",
88
+ "jsdom": "^29.0.1",
89
+ "svelte": "^5.55.1",
90
+ "typescript": "^5.9.3",
91
+ "vitest": "^4.1.2",
92
+ "vue": "^3.5.31"
93
+ },
94
+ "dependencies": {
95
+ "motion": "^12.34.0"
96
+ }
59
97
  }