ga-toasts 2.0.0 → 2.1.1

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ga-toasts",
3
- "version": "2.0.0",
4
- "description": "Modern, accessible, dependency-free toast notifications for the web. Stacked animations, 6 types, 9 positions, dark mode, swipe-to-dismiss, and first-class TypeScript support.",
3
+ "version": "2.1.1",
4
+ "description": "Modern, accessible, dependency-free toast notifications for the web. Fully themeable (createToaster + design tokens), stacked animations, 7 types, 9 positions, dark mode, swipe-to-dismiss, and first-class TypeScript support.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.cjs",
7
7
  "module": "./dist/index.js",
@@ -11,9 +11,14 @@
11
11
  "style": "./dist/ga-toasts.css",
12
12
  "exports": {
13
13
  ".": {
14
- "types": "./dist/index.d.ts",
15
- "import": "./dist/index.js",
16
- "require": "./dist/index.cjs"
14
+ "import": {
15
+ "types": "./dist/index.d.ts",
16
+ "default": "./dist/index.js"
17
+ },
18
+ "require": {
19
+ "types": "./dist/index.d.cts",
20
+ "default": "./dist/index.cjs"
21
+ }
17
22
  },
18
23
  "./style.css": "./dist/ga-toasts.css",
19
24
  "./ga-toasts.css": "./dist/ga-toasts.css",
@@ -30,6 +35,7 @@
30
35
  "scripts": {
31
36
  "gen": "node scripts/gen-styles.mjs",
32
37
  "build": "npm run gen && tsup",
38
+ "build:site": "npm run build && node scripts/build-site.mjs",
33
39
  "dev": "npm run gen && tsup --watch",
34
40
  "test": "npm run gen && vitest run",
35
41
  "test:watch": "npm run gen && vitest",
@@ -48,11 +54,19 @@
48
54
  "a11y",
49
55
  "dark-mode",
50
56
  "ui",
57
+ "theme",
58
+ "themeable",
59
+ "customizable",
60
+ "swipe",
61
+ "rtl",
62
+ "promise",
63
+ "confirm",
64
+ "zero-dependency",
51
65
  "ga-toasts"
52
66
  ],
53
67
  "author": "Harshad Pindoriya",
54
68
  "license": "MIT",
55
- "homepage": "https://harshad-pindoriya.github.io/gatoasts/",
69
+ "homepage": "https://gatoasts.vercel.app/",
56
70
  "repository": {
57
71
  "type": "git",
58
72
  "url": "git+https://github.com/harshad-pindoriya/gatoasts.git"