@synergy-design-system/tokens 2.2.0 → 2.3.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 +14 -0
- package/dist/js/index.d.ts +6 -1
- package/dist/js/index.js +6 -1
- package/dist/scss/_tokens.scss +2 -1
- package/dist/themes/dark.css +3 -2
- package/dist/themes/light.css +3 -2
- package/package.json +1 -1
- package/src/figma-tokens/_docs.json +109 -17
- package/src/figma-tokens/globals.json +4 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@synergy-design-system/tokens-v2.3.1](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/2.3.0...tokens/2.3.1) (2024-06-25)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Bug Fixes
|
|
5
|
+
|
|
6
|
+
* 🤔 added invalid state to syn-select ([#517](https://github.com/synergy-design-system/synergy-design-system/issues/517)) ([ac290d1](https://github.com/synergy-design-system/synergy-design-system/commit/ac290d16dd208342d2c2565259895bf8eca62a96))
|
|
7
|
+
|
|
8
|
+
# [@synergy-design-system/tokens-v2.3.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/2.2.0...tokens/2.3.0) (2024-06-21)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* ✨ syn-details ([#468](https://github.com/synergy-design-system/synergy-design-system/issues/468)) ([e064922](https://github.com/synergy-design-system/synergy-design-system/commit/e064922ef435f3173db12548375e6032d281421a))
|
|
14
|
+
|
|
1
15
|
# [@synergy-design-system/tokens-v2.2.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/2.1.0...tokens/2.2.0) (2024-06-18)
|
|
2
16
|
|
|
3
17
|
|
package/dist/js/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 2.
|
|
2
|
+
* @synergy-design-system/tokens version 2.3.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -179,6 +179,11 @@ export const SynSpacingSmall: string;
|
|
|
179
179
|
*/
|
|
180
180
|
export const SynSpacingMedium: string;
|
|
181
181
|
|
|
182
|
+
/**
|
|
183
|
+
* Maps to the css variable `--syn-spacing-medium-large`
|
|
184
|
+
*/
|
|
185
|
+
export const SynSpacingMediumLarge: string;
|
|
186
|
+
|
|
182
187
|
/**
|
|
183
188
|
* Maps to the css variable `--syn-spacing-large`
|
|
184
189
|
*/
|
package/dist/js/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 2.
|
|
2
|
+
* @synergy-design-system/tokens version 2.3.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -178,6 +178,11 @@ export const SynSpacingSmall = 'var(--syn-spacing-small)';
|
|
|
178
178
|
*/
|
|
179
179
|
export const SynSpacingMedium = 'var(--syn-spacing-medium)';
|
|
180
180
|
|
|
181
|
+
/**
|
|
182
|
+
* @type {string}
|
|
183
|
+
*/
|
|
184
|
+
export const SynSpacingMediumLarge = 'var(--syn-spacing-medium-large)';
|
|
185
|
+
|
|
181
186
|
/**
|
|
182
187
|
* @type {string}
|
|
183
188
|
*/
|
package/dist/scss/_tokens.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 2.
|
|
2
|
+
* @synergy-design-system/tokens version 2.3.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
*/
|
|
5
5
|
$SynFontSizeXSmall: var(--syn-font-size-x-small) !default;
|
|
@@ -37,6 +37,7 @@ $SynSpacing2xSmall: var(--syn-spacing-2x-small) !default;
|
|
|
37
37
|
$SynSpacingXSmall: var(--syn-spacing-x-small) !default;
|
|
38
38
|
$SynSpacingSmall: var(--syn-spacing-small) !default;
|
|
39
39
|
$SynSpacingMedium: var(--syn-spacing-medium) !default;
|
|
40
|
+
$SynSpacingMediumLarge: var(--syn-spacing-medium-large) !default;
|
|
40
41
|
$SynSpacingLarge: var(--syn-spacing-large) !default;
|
|
41
42
|
$SynSpacingXLarge: var(--syn-spacing-x-large) !default;
|
|
42
43
|
$SynSpacing2xLarge: var(--syn-spacing-2x-large) !default;
|
package/dist/themes/dark.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 2.
|
|
2
|
+
* @synergy-design-system/tokens version 2.3.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
* Do not edit directly
|
|
5
|
-
* Generated on Tue,
|
|
5
|
+
* Generated on Tue, 25 Jun 2024 09:01:20 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
:root, .syn-theme-dark {
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
--syn-spacing-x-small: calc(4px * 2);
|
|
44
44
|
--syn-spacing-small: calc(4px * 3);
|
|
45
45
|
--syn-spacing-medium: calc(4px * 4);
|
|
46
|
+
--syn-spacing-medium-large: calc(4px * 5);
|
|
46
47
|
--syn-spacing-large: calc(4px * 6);
|
|
47
48
|
--syn-spacing-x-large: calc(4px * 8);
|
|
48
49
|
--syn-spacing-2x-large: calc(4px * 12);
|
package/dist/themes/light.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 2.
|
|
2
|
+
* @synergy-design-system/tokens version 2.3.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
* Do not edit directly
|
|
5
|
-
* Generated on Tue,
|
|
5
|
+
* Generated on Tue, 25 Jun 2024 09:01:20 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
:root, .syn-theme-light {
|
|
@@ -43,6 +43,7 @@
|
|
|
43
43
|
--syn-spacing-x-small: calc(4px * 2);
|
|
44
44
|
--syn-spacing-small: calc(4px * 3);
|
|
45
45
|
--syn-spacing-medium: calc(4px * 4);
|
|
46
|
+
--syn-spacing-medium-large: calc(4px * 5);
|
|
46
47
|
--syn-spacing-large: calc(4px * 6);
|
|
47
48
|
--syn-spacing-x-large: calc(4px * 8);
|
|
48
49
|
--syn-spacing-2x-large: calc(4px * 12);
|
package/package.json
CHANGED
|
@@ -1,5 +1,67 @@
|
|
|
1
1
|
{
|
|
2
2
|
"components": {
|
|
3
|
+
"accordion": {
|
|
4
|
+
"default": {
|
|
5
|
+
"title": {
|
|
6
|
+
"value": "Accordion",
|
|
7
|
+
"type": "text"
|
|
8
|
+
},
|
|
9
|
+
"description": {
|
|
10
|
+
"value": "Accordion is a group of syn-details to show a brief summary and expand to show additional content.",
|
|
11
|
+
"type": "text"
|
|
12
|
+
}
|
|
13
|
+
},
|
|
14
|
+
"disabled": {
|
|
15
|
+
"title": {
|
|
16
|
+
"value": "Disabled",
|
|
17
|
+
"type": "text"
|
|
18
|
+
},
|
|
19
|
+
"description": {
|
|
20
|
+
"value": "Use the disable attribute to prevent the details from expanding.",
|
|
21
|
+
"type": "text"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"size": {
|
|
25
|
+
"title": {
|
|
26
|
+
"value": "Sizes",
|
|
27
|
+
"type": "text"
|
|
28
|
+
},
|
|
29
|
+
"description": {
|
|
30
|
+
"value": "Use the size attribute to change a detail’s size. The size attribute should not be mixed within an accordion",
|
|
31
|
+
"type": "text"
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
"grouping": {
|
|
35
|
+
"title": {
|
|
36
|
+
"value": "Grouping Details",
|
|
37
|
+
"type": "text"
|
|
38
|
+
},
|
|
39
|
+
"description": {
|
|
40
|
+
"value": "Set the `close-others` property to true to ensure only one detail is open at a time.",
|
|
41
|
+
"type": "text"
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
"contained": {
|
|
45
|
+
"title": {
|
|
46
|
+
"value": "Contained",
|
|
47
|
+
"type": "text"
|
|
48
|
+
},
|
|
49
|
+
"description": {
|
|
50
|
+
"value": "To give content more structure, you can use the property contained.",
|
|
51
|
+
"type": "text"
|
|
52
|
+
}
|
|
53
|
+
},
|
|
54
|
+
"focus": {
|
|
55
|
+
"title": {
|
|
56
|
+
"value": "Focus",
|
|
57
|
+
"type": "text"
|
|
58
|
+
},
|
|
59
|
+
"description": {
|
|
60
|
+
"value": "The focus event gives the user feedback that the detail has been focused by the keyboard interaction.",
|
|
61
|
+
"type": "text"
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
},
|
|
3
65
|
"alert": {
|
|
4
66
|
"default": {
|
|
5
67
|
"description": {
|
|
@@ -401,13 +463,13 @@
|
|
|
401
463
|
"type": "text"
|
|
402
464
|
}
|
|
403
465
|
},
|
|
404
|
-
"
|
|
405
|
-
"
|
|
406
|
-
"value": "
|
|
466
|
+
"sharp": {
|
|
467
|
+
"title": {
|
|
468
|
+
"value": "Sharp Card",
|
|
407
469
|
"type": "text"
|
|
408
470
|
},
|
|
409
|
-
"
|
|
410
|
-
"value": "
|
|
471
|
+
"description": {
|
|
472
|
+
"value": "Use the sharp variant attribute for the Card to Use a different style.",
|
|
411
473
|
"type": "text"
|
|
412
474
|
}
|
|
413
475
|
}
|
|
@@ -537,7 +599,7 @@
|
|
|
537
599
|
"details": {
|
|
538
600
|
"default": {
|
|
539
601
|
"description": {
|
|
540
|
-
"value": "Details show a brief summary and expand to show additional content.",
|
|
602
|
+
"value": "Details show a brief summary and expand to show additional content. If you want to group the details, we recommend that you use the syn-accordion component.",
|
|
541
603
|
"type": "text"
|
|
542
604
|
},
|
|
543
605
|
"title": {
|
|
@@ -555,33 +617,53 @@
|
|
|
555
617
|
"type": "text"
|
|
556
618
|
}
|
|
557
619
|
},
|
|
558
|
-
"
|
|
620
|
+
"size": {
|
|
559
621
|
"title": {
|
|
560
|
-
"value": "
|
|
622
|
+
"value": "Sizes",
|
|
561
623
|
"type": "text"
|
|
562
624
|
},
|
|
563
625
|
"description": {
|
|
564
|
-
"value": "Use the
|
|
626
|
+
"value": "Use the size attribute to change a detail’s size.",
|
|
565
627
|
"type": "text"
|
|
566
628
|
}
|
|
567
629
|
},
|
|
568
|
-
"
|
|
630
|
+
"open": {
|
|
569
631
|
"title": {
|
|
570
|
-
"value": "
|
|
632
|
+
"value": "Open",
|
|
571
633
|
"type": "text"
|
|
572
634
|
},
|
|
573
635
|
"description": {
|
|
574
|
-
"value": "Details
|
|
636
|
+
"value": "Details show a brief summary and expand to show additional content.",
|
|
575
637
|
"type": "text"
|
|
576
638
|
}
|
|
577
639
|
},
|
|
578
|
-
"
|
|
640
|
+
"focus": {
|
|
579
641
|
"title": {
|
|
580
|
-
"value": "
|
|
642
|
+
"value": "Focus",
|
|
581
643
|
"type": "text"
|
|
582
644
|
},
|
|
583
645
|
"description": {
|
|
584
|
-
"value": "
|
|
646
|
+
"value": "The focus event gives the user feedback that the detail has been focused by the keyboard interaction.",
|
|
647
|
+
"type": "text"
|
|
648
|
+
}
|
|
649
|
+
},
|
|
650
|
+
"contained": {
|
|
651
|
+
"title": {
|
|
652
|
+
"value": "Contained",
|
|
653
|
+
"type": "text"
|
|
654
|
+
},
|
|
655
|
+
"description": {
|
|
656
|
+
"value": "To give content more structure, you can use the property contained.",
|
|
657
|
+
"type": "text"
|
|
658
|
+
}
|
|
659
|
+
},
|
|
660
|
+
"icon": {
|
|
661
|
+
"title": {
|
|
662
|
+
"value": "Prefix Icons",
|
|
663
|
+
"type": "text"
|
|
664
|
+
},
|
|
665
|
+
"description": {
|
|
666
|
+
"value": "Use the prefix Icon to prepend an icon to the details.",
|
|
585
667
|
"type": "text"
|
|
586
668
|
}
|
|
587
669
|
}
|
|
@@ -1750,6 +1832,16 @@
|
|
|
1750
1832
|
"value": "The focus event gives the user feedback that the Select has been focused by the keyboard interaction or active click from the user..",
|
|
1751
1833
|
"type": "text"
|
|
1752
1834
|
}
|
|
1835
|
+
},
|
|
1836
|
+
"invalid": {
|
|
1837
|
+
"title": {
|
|
1838
|
+
"value": "Invalid",
|
|
1839
|
+
"type": "text"
|
|
1840
|
+
},
|
|
1841
|
+
"description": {
|
|
1842
|
+
"value": "The invalid status is used to warn the user that the Select is invalid. For example, if the entry of text is mandatory and nothing has been entered.",
|
|
1843
|
+
"type": "text"
|
|
1844
|
+
}
|
|
1753
1845
|
}
|
|
1754
1846
|
},
|
|
1755
1847
|
"skeleton": {
|
|
@@ -2371,7 +2463,7 @@
|
|
|
2371
2463
|
"type": "text"
|
|
2372
2464
|
}
|
|
2373
2465
|
}
|
|
2374
|
-
},
|
|
2466
|
+
},
|
|
2375
2467
|
"templates": {
|
|
2376
2468
|
"application-shell": {
|
|
2377
2469
|
"title": {
|
|
@@ -3023,4 +3115,4 @@
|
|
|
3023
3115
|
}
|
|
3024
3116
|
}
|
|
3025
3117
|
}
|
|
3026
|
-
}
|
|
3118
|
+
}
|