@synergy-design-system/vue 2.72.0 → 2.74.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,31 @@
|
|
|
1
1
|
# @synergy-design-system/vue
|
|
2
2
|
|
|
3
|
+
## 2.74.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- [#1129](https://github.com/synergy-design-system/synergy-design-system/pull/1129) [`102e650`](https://github.com/synergy-design-system/synergy-design-system/commit/102e6503af3a72d0d2529ed216ce6053a07b9607) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-12
|
|
8
|
+
|
|
9
|
+
feat: ✨ syn alert add sizes (#1119)
|
|
10
|
+
|
|
11
|
+
We have added a new property `size` to `<syn-alert>` that can be set to `small`, `medium` (the default) and `large`.
|
|
12
|
+
The property can also be used with Synergy `defaultSettings`.
|
|
13
|
+
|
|
14
|
+
We also adjusted `<syn-validate>` to draw the `size` attribute of its `slotted` `HTMLInputElement`. If a `size` property is found on the rendered input, it will be forwarded to the rendered `<syn-alert>` if you use `variant="inline"`.
|
|
15
|
+
|
|
16
|
+
### Patch Changes
|
|
17
|
+
|
|
18
|
+
- Updated dependencies [[`102e650`](https://github.com/synergy-design-system/synergy-design-system/commit/102e6503af3a72d0d2529ed216ce6053a07b9607)]:
|
|
19
|
+
- @synergy-design-system/components@2.74.0
|
|
20
|
+
|
|
21
|
+
## 2.73.0
|
|
22
|
+
|
|
23
|
+
### Patch Changes
|
|
24
|
+
|
|
25
|
+
- Updated dependencies [[`740816b`](https://github.com/synergy-design-system/synergy-design-system/commit/740816b1a86768e7f2fed5516241bdb3a9df4ef7)]:
|
|
26
|
+
- @synergy-design-system/components@2.73.0
|
|
27
|
+
- @synergy-design-system/tokens@2.46.0
|
|
28
|
+
|
|
3
29
|
## 2.72.0
|
|
4
30
|
|
|
5
31
|
### Minor Changes
|
|
@@ -27,6 +27,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
27
27
|
the alert will not close on its own.
|
|
28
28
|
*/
|
|
29
29
|
duration?: SynAlert["duration"];
|
|
30
|
+
/**
|
|
31
|
+
* The alert's size.
|
|
32
|
+
*/
|
|
33
|
+
size?: SynAlert["size"];
|
|
30
34
|
}, {
|
|
31
35
|
nativeElement: import('vue').Ref<SynAlert | undefined, SynAlert | undefined>;
|
|
32
36
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -58,6 +62,10 @@ declare const _default: __VLS_WithTemplateSlots<import('vue').DefineComponent<{
|
|
|
58
62
|
the alert will not close on its own.
|
|
59
63
|
*/
|
|
60
64
|
duration?: SynAlert["duration"];
|
|
65
|
+
/**
|
|
66
|
+
* The alert's size.
|
|
67
|
+
*/
|
|
68
|
+
size?: SynAlert["size"];
|
|
61
69
|
}> & Readonly<{
|
|
62
70
|
"onSyn-show"?: ((e: SynShowEvent) => any) | undefined;
|
|
63
71
|
"onSyn-after-show"?: ((e: SynAfterShowEvent) => any) | undefined;
|
package/package.json
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"url": "https://www.sick.com"
|
|
5
5
|
},
|
|
6
6
|
"dependencies": {
|
|
7
|
-
"@synergy-design-system/components": "^2.
|
|
7
|
+
"@synergy-design-system/components": "^2.74.0"
|
|
8
8
|
},
|
|
9
9
|
"description": "Vue3 wrappers for the Synergy Design System",
|
|
10
10
|
"exports": {
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"directory": "packages/vue"
|
|
41
41
|
},
|
|
42
42
|
"type": "module",
|
|
43
|
-
"version": "2.
|
|
43
|
+
"version": "2.74.0",
|
|
44
44
|
"devDependencies": {
|
|
45
45
|
"@vitejs/plugin-vue": "^5.2.4",
|
|
46
46
|
"@vue/tsconfig": "^0.7.0",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
"vue": "^3.5.22"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
|
-
"@synergy-design-system/tokens": "^2.
|
|
53
|
+
"@synergy-design-system/tokens": "^2.46.0"
|
|
54
54
|
},
|
|
55
55
|
"scripts": {
|
|
56
56
|
"_build": "vite build"
|
|
@@ -74,6 +74,11 @@ the alert before it closes (e.g.
|
|
|
74
74
|
the alert will not close on its own.
|
|
75
75
|
*/
|
|
76
76
|
duration?: SynAlert['duration'];
|
|
77
|
+
|
|
78
|
+
/**
|
|
79
|
+
* The alert's size.
|
|
80
|
+
*/
|
|
81
|
+
size?: SynAlert['size'];
|
|
77
82
|
}>();
|
|
78
83
|
|
|
79
84
|
// Make sure prop binding only forwards the props that are actually there.
|