@synergy-design-system/mcp 1.2.0 → 1.2.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/CHANGELOG.md +9 -2
- package/metadata/checksum.txt +1 -1
- package/metadata/packages/components/components/syn-combobox/component.styles.ts +2 -1
- package/metadata/packages/components/components/syn-menu-label/component.angular.ts +2 -2
- package/metadata/packages/components/components/syn-menu-label/component.react.ts +2 -2
- package/metadata/packages/components/components/syn-menu-label/component.ts +2 -2
- package/metadata/packages/components/components/syn-menu-label/component.vue +2 -2
- package/metadata/packages/components/components/syn-select/component.custom.styles.ts +2 -1
- package/metadata/packages/components/components/syn-tab-group/component.angular.ts +1 -1
- package/metadata/packages/components/components/syn-tab-group/component.react.ts +1 -1
- package/metadata/packages/components/components/syn-tab-group/component.ts +1 -1
- package/metadata/packages/components/components/syn-tab-group/component.vue +1 -1
- package/metadata/packages/components/static/CHANGELOG.md +7 -0
- package/metadata/packages/components/static/README.md +44 -0
- package/metadata/packages/tokens/dark.css +1 -1
- package/metadata/packages/tokens/index.js +1 -1
- package/metadata/packages/tokens/light.css +1 -1
- package/metadata/packages/tokens/sick2018_dark.css +1 -1
- package/metadata/packages/tokens/sick2018_light.css +1 -1
- package/metadata/packages/tokens/sick2025_dark.css +1 -1
- package/metadata/packages/tokens/sick2025_light.css +1 -1
- package/package.json +7 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,11 +1,18 @@
|
|
|
1
|
-
# [@synergy-design-system/mcp-v1.2.
|
|
1
|
+
# [@synergy-design-system/mcp-v1.2.1](https://github.com/synergy-design-system/synergy-design-system/compare/mcp/1.2.0...mcp/1.2.1) (2025-08-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 🐛 Placeholder is clipped for syn-select multiple ([#992](https://github.com/synergy-design-system/synergy-design-system/issues/992)) ([973933e](https://github.com/synergy-design-system/synergy-design-system/commit/973933e477a2cba1611c2f73f77e4e79d755c8a1))
|
|
2
7
|
|
|
8
|
+
# Changelog
|
|
9
|
+
|
|
10
|
+
# [@synergy-design-system/mcp-v1.2.0](https://github.com/synergy-design-system/synergy-design-system/compare/mcp/1.1.0...mcp/1.2.0) (2025-08-19)
|
|
3
11
|
|
|
4
12
|
### Features
|
|
5
13
|
|
|
6
14
|
* ✨ export new sick2025 themes ([#985](https://github.com/synergy-design-system/synergy-design-system/issues/985)) ([148730d](https://github.com/synergy-design-system/synergy-design-system/commit/148730d68037ea74dc241ca6627aa6a32af876ab))
|
|
7
15
|
|
|
8
|
-
# Changelog
|
|
9
16
|
|
|
10
17
|
# [@synergy-design-system/mcp-v1.1.0](https://github.com/synergy-design-system/synergy-design-system/compare/mcp/1.0.0...mcp/1.1.0) (2025-08-08)
|
|
11
18
|
|
package/metadata/checksum.txt
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
2020f706c051179afe10d645a03c27a4
|
|
@@ -381,8 +381,9 @@ export default css`
|
|
|
381
381
|
* #850: Allow to measure the size of the combobox.
|
|
382
382
|
* This is needed so we can automatically size and truncate the tags in the <syn-combobox multiple> component.
|
|
383
383
|
* Scoped to multiple to not break the single combobox per accident.
|
|
384
|
+
* Scoped to when placeholder is not visible to not break the placeholder visualization
|
|
384
385
|
*/
|
|
385
|
-
:host([multiple]) .combobox__tags {
|
|
386
|
+
:host([multiple]) :not(.combobox--placeholder-visible) > .combobox__inputs > .combobox__tags {
|
|
386
387
|
min-width: 100px;
|
|
387
388
|
overflow: hidden;
|
|
388
389
|
}
|
|
@@ -22,14 +22,14 @@ import '@synergy-design-system/components/components/menu-label/menu-label.js';
|
|
|
22
22
|
* @status stable
|
|
23
23
|
* @since 2.0
|
|
24
24
|
*
|
|
25
|
-
* @dependency syn-divider
|
|
26
|
-
*
|
|
27
25
|
* @slot - The menu label's content.
|
|
28
26
|
*
|
|
29
27
|
* @csspart base - The component's base wrapper.
|
|
30
28
|
* @csspart divider - The divider that is displayed above the content
|
|
31
29
|
* @csspart label - The label that is displayed below the divider
|
|
32
30
|
*
|
|
31
|
+
* @dependency syn-divider
|
|
32
|
+
*
|
|
33
33
|
* @cssproperty --display-divider - Display property of the divider. Defaults to "block"
|
|
34
34
|
*/
|
|
35
35
|
@Component({
|
|
@@ -16,14 +16,14 @@ Component.define('syn-menu-label');
|
|
|
16
16
|
* @status stable
|
|
17
17
|
* @since 2.0
|
|
18
18
|
*
|
|
19
|
-
* @dependency syn-divider
|
|
20
|
-
*
|
|
21
19
|
* @slot - The menu label's content.
|
|
22
20
|
*
|
|
23
21
|
* @csspart base - The component's base wrapper.
|
|
24
22
|
* @csspart divider - The divider that is displayed above the content
|
|
25
23
|
* @csspart label - The label that is displayed below the divider
|
|
26
24
|
*
|
|
25
|
+
* @dependency syn-divider
|
|
26
|
+
*
|
|
27
27
|
* @cssproperty --display-divider - Display property of the divider. Defaults to "block"
|
|
28
28
|
*/
|
|
29
29
|
export const SynMenuLabel = createComponent({
|
|
@@ -20,14 +20,14 @@ import type { CSSResultGroup } from 'lit';
|
|
|
20
20
|
* @status stable
|
|
21
21
|
* @since 2.0
|
|
22
22
|
*
|
|
23
|
-
* @dependency syn-divider
|
|
24
|
-
*
|
|
25
23
|
* @slot - The menu label's content.
|
|
26
24
|
*
|
|
27
25
|
* @csspart base - The component's base wrapper.
|
|
28
26
|
* @csspart divider - The divider that is displayed above the content
|
|
29
27
|
* @csspart label - The label that is displayed below the divider
|
|
30
28
|
*
|
|
29
|
+
* @dependency syn-divider
|
|
30
|
+
*
|
|
31
31
|
* @cssproperty --display-divider - Display property of the divider. Defaults to "block"
|
|
32
32
|
*/
|
|
33
33
|
export default class SynMenuLabel extends SynergyElement {
|
|
@@ -11,14 +11,14 @@
|
|
|
11
11
|
* @status stable
|
|
12
12
|
* @since 2.0
|
|
13
13
|
*
|
|
14
|
-
* @dependency syn-divider
|
|
15
|
-
*
|
|
16
14
|
* @slot - The menu label's content.
|
|
17
15
|
*
|
|
18
16
|
* @csspart base - The component's base wrapper.
|
|
19
17
|
* @csspart divider - The divider that is displayed above the content
|
|
20
18
|
* @csspart label - The label that is displayed below the divider
|
|
21
19
|
*
|
|
20
|
+
* @dependency syn-divider
|
|
21
|
+
*
|
|
22
22
|
* @cssproperty --display-divider - Display property of the divider. Defaults to "block"
|
|
23
23
|
*/
|
|
24
24
|
import { computed, ref } from 'vue';
|
|
@@ -149,8 +149,9 @@ export default css`
|
|
|
149
149
|
* #850: Allow to measure the size of the combobox.
|
|
150
150
|
* This is needed so we can automatically size and truncate the tags in the <syn-select multiple> component.
|
|
151
151
|
* Scoped to multiple to not break the single select per accident.
|
|
152
|
+
* Scoped to when placeholder is not visible to not break the placeholder visualization
|
|
152
153
|
*/
|
|
153
|
-
:host([multiple]) .select__tags {
|
|
154
|
+
:host([multiple]) :not(.select--placeholder-visible) > .select__combobox > .select__tags {
|
|
154
155
|
min-width: 100px;
|
|
155
156
|
overflow: hidden;
|
|
156
157
|
}
|
|
@@ -42,9 +42,9 @@ import '@synergy-design-system/components/components/tab-group/tab-group.js';
|
|
|
42
42
|
* @csspart scroll-button__base - The scroll button's exported `base` part.
|
|
43
43
|
*
|
|
44
44
|
* @cssproperty --indicator-color - The color of the active tab indicator.
|
|
45
|
-
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
46
45
|
* @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
|
|
47
46
|
* @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
|
|
47
|
+
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
48
48
|
*/
|
|
49
49
|
@Component({
|
|
50
50
|
selector: 'syn-tab-group',
|
|
@@ -39,9 +39,9 @@ Component.define('syn-tab-group');
|
|
|
39
39
|
* @csspart scroll-button__base - The scroll button's exported `base` part.
|
|
40
40
|
*
|
|
41
41
|
* @cssproperty --indicator-color - The color of the active tab indicator.
|
|
42
|
-
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
43
42
|
* @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
|
|
44
43
|
* @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
|
|
44
|
+
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
45
45
|
*/
|
|
46
46
|
export const SynTabGroup = createComponent({
|
|
47
47
|
displayName: 'SynTabGroup',
|
|
@@ -48,9 +48,9 @@ import type SynTabPanel from '../tab-panel/tab-panel.js';
|
|
|
48
48
|
* @csspart scroll-button__base - The scroll button's exported `base` part.
|
|
49
49
|
*
|
|
50
50
|
* @cssproperty --indicator-color - The color of the active tab indicator.
|
|
51
|
-
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
52
51
|
* @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
|
|
53
52
|
* @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
|
|
53
|
+
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
54
54
|
*/
|
|
55
55
|
export default class SynTabGroup extends SynergyElement {
|
|
56
56
|
static styles: CSSResultGroup = [componentStyles, styles, customStyles];
|
|
@@ -30,9 +30,9 @@
|
|
|
30
30
|
* @csspart scroll-button__base - The scroll button's exported `base` part.
|
|
31
31
|
*
|
|
32
32
|
* @cssproperty --indicator-color - The color of the active tab indicator.
|
|
33
|
-
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
34
33
|
* @cssproperty --track-color - The color of the indicator's track (the line that separates tabs from panels).
|
|
35
34
|
* @cssproperty --track-width - The width of the indicator's track (the line that separates tabs from panels).
|
|
35
|
+
* @cssproperty --indicator-width - The width of the active tab indicator.
|
|
36
36
|
*/
|
|
37
37
|
import { computed, ref } from 'vue';
|
|
38
38
|
import '@synergy-design-system/components/components/tab-group/tab-group.js';
|
|
@@ -1,3 +1,10 @@
|
|
|
1
|
+
# [@synergy-design-system/components-v2.40.1](https://github.com/synergy-design-system/synergy-design-system/compare/components/2.40.0...components/2.40.1) (2025-08-21)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 🐛 Placeholder is clipped for syn-select multiple ([#992](https://github.com/synergy-design-system/synergy-design-system/issues/992)) ([973933e](https://github.com/synergy-design-system/synergy-design-system/commit/973933e477a2cba1611c2f73f77e4e79d755c8a1))
|
|
7
|
+
|
|
1
8
|
# [@synergy-design-system/components-v2.40.0](https://github.com/synergy-design-system/synergy-design-system/compare/components/2.39.2...components/2.40.0) (2025-08-08)
|
|
2
9
|
|
|
3
10
|
|
|
@@ -246,3 +246,47 @@ All shoelace files are per default readonly and are disabled from being changed.
|
|
|
246
246
|
### Adding events to the output
|
|
247
247
|
|
|
248
248
|
To add events to the component output, make sure to add them to `src/scripts/vendorism.js` into the `events` array that is defined there. After a new build run `via pnpm build`, you will see the new event files and the `events/events.ts` file will be regenerated.
|
|
249
|
+
|
|
250
|
+
### Adding metadata to components
|
|
251
|
+
|
|
252
|
+
Components can be enriched with metadata that automatically generates JSDoc annotations during the build process. The `add-metadata-to-components.js` script processes `*.component.ts` files and looks for corresponding `metadata.json` files to inject JSDoc tags.
|
|
253
|
+
|
|
254
|
+
#### Supported metadata types
|
|
255
|
+
|
|
256
|
+
- `@animation` - Component animations
|
|
257
|
+
- `@event` - Custom events
|
|
258
|
+
- `@slot` - Content slots
|
|
259
|
+
- `@dependency` - Dependencies
|
|
260
|
+
- `@csspart` - CSS parts for styling
|
|
261
|
+
- `@cssproperty` - CSS custom properties
|
|
262
|
+
|
|
263
|
+
#### Usage
|
|
264
|
+
|
|
265
|
+
Create a `metadata.json` file in your component directory:
|
|
266
|
+
|
|
267
|
+
```json
|
|
268
|
+
{
|
|
269
|
+
"@event": [
|
|
270
|
+
{ "name": "syn-change", "description": "Emitted when value changes" }
|
|
271
|
+
],
|
|
272
|
+
"@slot": [{ "name": "default", "description": "Main content" }],
|
|
273
|
+
"@csspart": [{ "name": "base", "description": "Base wrapper" }]
|
|
274
|
+
}
|
|
275
|
+
```
|
|
276
|
+
|
|
277
|
+
This will generate the following JSDoc annotations in your component:
|
|
278
|
+
|
|
279
|
+
```typescript
|
|
280
|
+
/**
|
|
281
|
+
* @summary Your component description
|
|
282
|
+
*
|
|
283
|
+
* @event syn-change - Emitted when value changes
|
|
284
|
+
* @slot default - Main content
|
|
285
|
+
* @csspart base - Base wrapper
|
|
286
|
+
*/
|
|
287
|
+
export default class YourComponent extends SynergyElement {
|
|
288
|
+
// Component implementation...
|
|
289
|
+
}
|
|
290
|
+
```
|
|
291
|
+
|
|
292
|
+
Each metadata object requires a `name` property and optionally accepts a `description`. Run `pnpm vendor.set` to process the metadata and automatically add JSDoc annotations to your component's class comment.
|
package/package.json
CHANGED
|
@@ -15,6 +15,9 @@
|
|
|
15
15
|
},
|
|
16
16
|
"description": "MCP Server for the Synergy Design System",
|
|
17
17
|
"devDependencies": {
|
|
18
|
+
"@semantic-release/changelog": "^6.0.3",
|
|
19
|
+
"@semantic-release/exec": "^6.0.3",
|
|
20
|
+
"@semantic-release/git": "^10.0.1",
|
|
18
21
|
"@types/jest": "^30.0.0",
|
|
19
22
|
"@types/node": "^22.15.32",
|
|
20
23
|
"@types/serve-handler": "^6.1.4",
|
|
@@ -31,10 +34,10 @@
|
|
|
31
34
|
"ts-jest": "^29.4.0",
|
|
32
35
|
"typescript": "^5.8.3",
|
|
33
36
|
"@synergy-design-system/docs": "0.1.0",
|
|
34
|
-
"@synergy-design-system/components": "2.40.0",
|
|
35
|
-
"@synergy-design-system/styles": "1.7.2",
|
|
36
37
|
"@synergy-design-system/eslint-config-syn": "^0.1.0",
|
|
37
|
-
"@synergy-design-system/
|
|
38
|
+
"@synergy-design-system/styles": "1.7.2",
|
|
39
|
+
"@synergy-design-system/tokens": "^2.23.0",
|
|
40
|
+
"@synergy-design-system/components": "2.40.1"
|
|
38
41
|
},
|
|
39
42
|
"exports": {
|
|
40
43
|
".": {
|
|
@@ -119,7 +122,7 @@
|
|
|
119
122
|
"directory": "packages/mcp"
|
|
120
123
|
},
|
|
121
124
|
"type": "module",
|
|
122
|
-
"version": "1.2.
|
|
125
|
+
"version": "1.2.1",
|
|
123
126
|
"scripts": {
|
|
124
127
|
"build": "pnpm run build:ts && pnpm run build:metadata && pnpm build:hash",
|
|
125
128
|
"build:all": "pnpm run build && pnpm run build:storybook",
|