@websline/system-components 1.3.24 → 1.3.26

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 (31) hide show
  1. package/dist/components/atoms/actions/closeButton/closeButton.variants.js +3 -3
  2. package/dist/components/atoms/actions/iconButton/IconButton.svelte +1 -1
  3. package/dist/components/atoms/actions/iconButton/IconButton.svelte.d.ts +2 -2
  4. package/dist/components/atoms/actions/iconButton/iconButton.variants.js +2 -2
  5. package/dist/components/atoms/input/input.variants.js +3 -3
  6. package/dist/components/atoms/select/Select.svelte +38 -19
  7. package/dist/components/atoms/select/Select.svelte.d.ts +8 -0
  8. package/dist/components/atoms/select/select.variants.d.ts +6 -1
  9. package/dist/components/atoms/select/select.variants.js +17 -12
  10. package/dist/components/molecules/{notification/Notification.svelte → notifications/systemAlert/SystemAlert.svelte} +8 -8
  11. package/dist/components/molecules/notifications/systemAlert/SystemAlert.svelte.d.ts +57 -0
  12. package/dist/components/molecules/{notification/notification.variants.d.ts → notifications/systemAlert/systemAlert.variants.d.ts} +4 -4
  13. package/dist/components/molecules/{notification/notification.variants.js → notifications/systemAlert/systemAlert.variants.js} +6 -6
  14. package/dist/components/molecules/notifications/toast/Toast.svelte +51 -0
  15. package/dist/components/molecules/notifications/toast/Toast.svelte.d.ts +49 -0
  16. package/dist/components/molecules/notifications/toast/toast.variants.d.ts +31 -0
  17. package/dist/components/molecules/notifications/toast/toast.variants.js +18 -0
  18. package/dist/components/molecules/toggleGroup/ToggleGroupItem.svelte +25 -26
  19. package/dist/components/molecules/toggleGroup/toggleGroupItem.variants.d.ts +15 -45
  20. package/dist/components/molecules/toggleGroup/toggleGroupItem.variants.js +12 -25
  21. package/dist/components/organisms/notificationGroup/NotificationGroup.svelte +71 -39
  22. package/dist/components/organisms/notificationGroup/NotificationGroup.svelte.d.ts +13 -2
  23. package/dist/components/organisms/notificationGroup/notificationGroup.variants.d.ts +72 -17
  24. package/dist/components/organisms/notificationGroup/notificationGroup.variants.js +14 -4
  25. package/dist/index.css +9 -1
  26. package/dist/index.d.ts +2 -1
  27. package/dist/index.js +2 -1
  28. package/dist/utils/notification.d.ts +6 -1
  29. package/dist/utils/notification.js +18 -4
  30. package/package.json +23 -24
  31. package/dist/components/molecules/notification/Notification.svelte.d.ts +0 -57
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@websline/system-components",
3
- "version": "1.3.24",
3
+ "version": "1.3.26",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -33,29 +33,28 @@
33
33
  }
34
34
  },
35
35
  "dependencies": {
36
- "@tiptap/core": "^3.20.4",
37
- "@tiptap/extension-color": "^3.20.4",
38
- "@tiptap/extension-highlight": "^3.20.4",
39
- "@tiptap/extension-placeholder": "^3.20.4",
40
- "@tiptap/extension-text-align": "^3.20.4",
41
- "@tiptap/extension-text-style": "^3.20.4",
42
- "@tiptap/pm": "^3.20.4",
43
- "@tiptap/starter-kit": "^3.20.4",
36
+ "@tiptap/core": "^3.20.5",
37
+ "@tiptap/extension-color": "^3.20.5",
38
+ "@tiptap/extension-highlight": "^3.20.5",
39
+ "@tiptap/extension-placeholder": "^3.20.5",
40
+ "@tiptap/extension-text-align": "^3.20.5",
41
+ "@tiptap/extension-text-style": "^3.20.5",
42
+ "@tiptap/pm": "^3.20.5",
43
+ "@tiptap/starter-kit": "^3.20.5",
44
44
  "bits-ui": "^2.16.3",
45
45
  "dompurify": "^3.3.3",
46
- "tailwind-variants": "^3.2.2",
47
- "uuid": "^13.0.0"
46
+ "tailwind-variants": "^3.2.2"
48
47
  },
49
48
  "peerDependencies": {
50
49
  "svelte": "^5.38.7"
51
50
  },
52
51
  "devDependencies": {
53
52
  "@eslint/compat": "^2.0.3",
54
- "@eslint/js": "^9.39.4",
55
- "@storybook/addon-a11y": "^10.3.0",
56
- "@storybook/addon-docs": "^10.3.0",
57
- "@storybook/addon-svelte-csf": "^5.0.12",
58
- "@storybook/sveltekit": "^10.3.0",
53
+ "@eslint/js": "^10.0.1",
54
+ "@storybook/addon-a11y": "^10.3.3",
55
+ "@storybook/addon-docs": "^10.3.3",
56
+ "@storybook/addon-svelte-csf": "^5.1.0",
57
+ "@storybook/sveltekit": "^10.3.3",
59
58
  "@sveltejs/adapter-auto": "^7.0.1",
60
59
  "@sveltejs/kit": "^2.55.0",
61
60
  "@sveltejs/package": "^2.5.7",
@@ -64,11 +63,11 @@
64
63
  "@tailwindcss/typography": "^0.5.19",
65
64
  "@tailwindcss/vite": "^4.2.2",
66
65
  "@types/node": "^25.5.0",
67
- "@vitest/browser": "^4.1.0",
68
- "eslint": "^9.39.4",
66
+ "@vitest/browser": "^4.1.1",
67
+ "eslint": "^10.1.0",
69
68
  "eslint-config-prettier": "^10.1.8",
70
- "eslint-plugin-storybook": "^10.3.0",
71
- "eslint-plugin-svelte": "^3.15.2",
69
+ "eslint-plugin-storybook": "^10.3.3",
70
+ "eslint-plugin-svelte": "^3.16.0",
72
71
  "globals": "^17.4.0",
73
72
  "playwright": "^1.58.2",
74
73
  "postcss-url": "^10.1.3",
@@ -76,12 +75,12 @@
76
75
  "prettier-plugin-svelte": "^3.5.1",
77
76
  "prettier-plugin-tailwindcss": "^0.7.2",
78
77
  "publint": "^0.3.18",
79
- "storybook": "^10.3.0",
80
- "svelte": "^5.54.0",
78
+ "storybook": "^10.3.3",
79
+ "svelte": "^5.55.0",
81
80
  "tailwindcss": "^4.2.2",
82
81
  "typescript": "^5.9.3",
83
- "vite": "^8.0.1",
84
- "vitest": "^4.1.0",
82
+ "vite": "^8.0.2",
83
+ "vitest": "^4.1.1",
85
84
  "vitest-browser-svelte": "^2.1.0"
86
85
  },
87
86
  "keywords": [
@@ -1,57 +0,0 @@
1
- export default Notification;
2
- type Notification = {
3
- $on?(type: string, callback: (e: any) => void): () => void;
4
- $set?(props: Partial<Props>): void;
5
- };
6
- declare const Notification: import("svelte").Component<{
7
- /**
8
- * Whether to automatically close the notification after a duration
9
- */
10
- autoClose?: boolean;
11
- /**
12
- * Additional CSS classes to apply to the component
13
- */
14
- class?: string;
15
- /**
16
- * Icon to display in the notification
17
- */
18
- icon?: string;
19
- /**
20
- * Message to display in the notification
21
- */
22
- message?: string;
23
- /**
24
- * Title to display in the notification
25
- */
26
- title?: string;
27
- /**
28
- * Notification variant
29
- */
30
- variant?: "info" | "success" | "warning" | "danger";
31
- }, {}, "">;
32
- type Props = {
33
- /**
34
- * Whether to automatically close the notification after a duration
35
- */
36
- autoClose?: boolean;
37
- /**
38
- * Additional CSS classes to apply to the component
39
- */
40
- class?: string;
41
- /**
42
- * Icon to display in the notification
43
- */
44
- icon?: string;
45
- /**
46
- * Message to display in the notification
47
- */
48
- message?: string;
49
- /**
50
- * Title to display in the notification
51
- */
52
- title?: string;
53
- /**
54
- * Notification variant
55
- */
56
- variant?: "info" | "success" | "warning" | "danger";
57
- };