@synergy-design-system/mcp 1.34.0 → 1.36.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,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.36.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1128](https://github.com/synergy-design-system/synergy-design-system/pull/1128) [`7de2441`](https://github.com/synergy-design-system/synergy-design-system/commit/7de244110cf55bb3788e26f65704194bfc861412) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-09
8
+
9
+ feat: ✨ Add a new `shadow` propertry to `<syn-card>` (#1107)
10
+
11
+ Using `<syn-card shadow></syn-card>` will draw the card with a shadow. This can be used when the card has to stand out visually, for example in dashboards.
12
+
13
+ ## 1.35.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#1126](https://github.com/synergy-design-system/synergy-design-system/pull/1126) [`ab15da3`](https://github.com/synergy-design-system/synergy-design-system/commit/ab15da3bf8956f1d523ca3115a466205474e071f) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-09
18
+
19
+ feat: ✨ remove background blur from drawer (#1120)
20
+
21
+ After gathering community feedback, we chose to remove the background blur introduced in version `2.48.0` from `<syn-drawer>`.
22
+ This was done because users might loose context when for example using the `<syn-side-nav>`.
23
+ The blur effect is still used in `<syn-dialog>`. It may be removed entirely via setting `--syn-overlay-background-blur: 0;` if needed.
24
+
3
25
  ## 1.34.0
4
26
 
5
27
  ### Minor Changes
@@ -1 +1 @@
1
- b1b0f65f1525ca93c7e5775cc1f6c8ed
1
+ 0faf5c48a9a48492eff9c2d0f5607fa0
@@ -52,6 +52,20 @@ export class SynCardComponent {
52
52
  this._ngZone = ngZone;
53
53
  }
54
54
 
55
+ /**
56
+ * Draws the card with a shadow.
57
+ * Can be used when the card has to stand out visually, for example in dashboards.
58
+ */
59
+ @Input()
60
+ set shadow(v: '' | SynCard['shadow']) {
61
+ this._ngZone.runOutsideAngular(
62
+ () => (this.nativeElement.shadow = v === '' || v),
63
+ );
64
+ }
65
+ get shadow(): SynCard['shadow'] {
66
+ return this.nativeElement.shadow;
67
+ }
68
+
55
69
  /**
56
70
  * Draws the card with sharp edges.
57
71
  * Can be used e.g.
@@ -11,6 +11,11 @@ export default css`
11
11
  box-shadow: none;
12
12
  }
13
13
 
14
+ /** #1107: Add shadow property to card */
15
+ .card--shadow {
16
+ box-shadow: var(--syn-shadow-small);
17
+ }
18
+
14
19
  /**
15
20
  * Header adjustments
16
21
  */
@@ -43,6 +43,9 @@ export default class SynCard extends SynergyElement {
43
43
 
44
44
  private readonly hasSlotController = new HasSlotController(this, 'footer', 'header', 'image');
45
45
 
46
+ /** Draws the card with a shadow. Can be used when the card has to stand out visually, for example in dashboards. */
47
+ @property({ type: Boolean, reflect: true }) shadow = false;
48
+
46
49
  /** Draws the card with sharp edges. Can be used e.g. when nesting multiple syn-cards to create hierarchy. */
47
50
  @property({ type: Boolean, reflect: true }) sharp = false;
48
51
 
@@ -52,6 +55,7 @@ export default class SynCard extends SynergyElement {
52
55
  part="base"
53
56
  class=${classMap({
54
57
  card: true,
58
+ 'card--shadow': this.shadow,
55
59
  'card--sharp': this.sharp,
56
60
  'card--has-footer': this.hasSlotController.test('footer'),
57
61
  'card--has-image': this.hasSlotController.test('image'),
@@ -41,6 +41,12 @@ defineExpose({
41
41
 
42
42
  // Map attributes
43
43
  const props = defineProps<{
44
+ /**
45
+ * Draws the card with a shadow.
46
+ * Can be used when the card has to stand out visually, for example in dashboards.
47
+ */
48
+ shadow?: SynCard['shadow'];
49
+
44
50
  /**
45
51
  * Draws the card with sharp edges.
46
52
  * Can be used e.g.
@@ -75,8 +75,4 @@ export default css`
75
75
  color: var(--syn-color-neutral-950);
76
76
  font-size: var(--syn-font-size-x-large);
77
77
  }
78
-
79
- .drawer__overlay {
80
- backdrop-filter: blur(var(--syn-overlay-background-blur));
81
- }
82
78
  `;
@@ -1,5 +1,27 @@
1
1
  # Changelog
2
2
 
3
+ ## 2.72.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#1128](https://github.com/synergy-design-system/synergy-design-system/pull/1128) [`7de2441`](https://github.com/synergy-design-system/synergy-design-system/commit/7de244110cf55bb3788e26f65704194bfc861412) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-09
8
+
9
+ feat: ✨ Add a new `shadow` propertry to `<syn-card>` (#1107)
10
+
11
+ Using `<syn-card shadow></syn-card>` will draw the card with a shadow. This can be used when the card has to stand out visually, for example in dashboards.
12
+
13
+ ## 2.71.0
14
+
15
+ ### Minor Changes
16
+
17
+ - [#1126](https://github.com/synergy-design-system/synergy-design-system/pull/1126) [`ab15da3`](https://github.com/synergy-design-system/synergy-design-system/commit/ab15da3bf8956f1d523ca3115a466205474e071f) Thanks [@schilchSICKAG](https://github.com/schilchSICKAG)! - Released on: 2025-12-09
18
+
19
+ feat: ✨ remove background blur from drawer (#1120)
20
+
21
+ After gathering community feedback, we chose to remove the background blur introduced in version `2.48.0` from `<syn-drawer>`.
22
+ This was done because users might loose context when for example using the `<syn-side-nav>`.
23
+ The blur effect is still used in `<syn-dialog>`. It may be removed entirely via setting `--syn-overlay-background-blur: 0;` if needed.
24
+
3
25
  ## 2.70.0
4
26
 
5
27
  ### Minor Changes
@@ -271,3 +271,44 @@ Use the sharp variant attribute for the Card to Use a different style.
271
271
  }
272
272
  </style>
273
273
  ```
274
+
275
+ ---
276
+
277
+ ## Card With Shadow
278
+
279
+ Use the shadow attribute to add a shadow.
280
+
281
+ ```html
282
+ <div class="shadow-card-wrapper">
283
+ <syn-card shadow="">
284
+ <img
285
+ slot="image"
286
+ src="https://synergy-design-system.github.io/card-example.jpg"
287
+ alt="Multiple persons having lunch in SICK Academy"
288
+ />
289
+ These are some happy employees, but not just any employees. These are SICK
290
+ employees.
291
+ </syn-card>
292
+ <syn-card shadow="" sharp="">
293
+ <img
294
+ slot="image"
295
+ src="https://synergy-design-system.github.io/card-example.jpg"
296
+ alt="Multiple persons having lunch in SICK Academy"
297
+ />
298
+ These are some happy employees, but not just any employees. These are SICK
299
+ employees.
300
+ </syn-card>
301
+ </div>
302
+
303
+ <style>
304
+ .shadow-card-wrapper {
305
+ display: flex;
306
+ flex-direction: row;
307
+ gap: var(--syn-spacing-large);
308
+ }
309
+
310
+ .shadow-card-wrapper syn-card {
311
+ max-width: 400px;
312
+ }
313
+ </style>
314
+ ```
package/package.json CHANGED
@@ -28,11 +28,11 @@
28
28
  "serve-handler": "^6.1.6",
29
29
  "ts-jest": "^29.4.0",
30
30
  "typescript": "^5.9.3",
31
- "@synergy-design-system/eslint-config-syn": "^0.1.0",
32
- "@synergy-design-system/fonts": "1.0.0",
31
+ "@synergy-design-system/components": "2.72.0",
33
32
  "@synergy-design-system/docs": "0.1.0",
34
- "@synergy-design-system/components": "2.70.0",
33
+ "@synergy-design-system/fonts": "1.0.0",
35
34
  "@synergy-design-system/styles": "1.9.0",
35
+ "@synergy-design-system/eslint-config-syn": "^0.1.0",
36
36
  "@synergy-design-system/tokens": "^2.45.0"
37
37
  },
38
38
  "exports": {
@@ -67,7 +67,7 @@
67
67
  "directory": "packages/mcp"
68
68
  },
69
69
  "type": "module",
70
- "version": "1.34.0",
70
+ "version": "1.36.0",
71
71
  "scripts": {
72
72
  "build": "pnpm run build:ts && pnpm run build:metadata && pnpm build:hash",
73
73
  "build:all": "pnpm run build && pnpm run build:storybook",