@synergy-design-system/tokens 1.9.0 → 1.10.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 +14 -0
- package/dist/js/index.d.ts +1 -1
- package/dist/js/index.js +1 -1
- package/dist/scss/_tokens.scss +1 -1
- package/dist/themes/dark.css +3 -3
- package/dist/themes/light.css +3 -3
- package/package.json +3 -3
- package/src/figma-tokens/_docs.json +178 -12
- package/src/figma-tokens/color/primitives.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@synergy-design-system/tokens-v1.10.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.9.1...tokens/1.10.0) (2024-03-28)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* ✨ syn-badge ([#390](https://github.com/synergy-design-system/synergy-design-system/issues/390)) ([a44d683](https://github.com/synergy-design-system/synergy-design-system/commit/a44d683b35e984bfbdac093dba5abd04c74f33c0))
|
|
7
|
+
|
|
8
|
+
# [@synergy-design-system/tokens-v1.9.1](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.9.0...tokens/1.9.1) (2024-03-26)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Bug Fixes
|
|
12
|
+
|
|
13
|
+
* 🤔: Adjust syn-color-neutral-100 ([#391](https://github.com/synergy-design-system/synergy-design-system/issues/391)) ([bec9459](https://github.com/synergy-design-system/synergy-design-system/commit/bec945987fddf571fc8c2da940a9b7b279f0bb82))
|
|
14
|
+
|
|
1
15
|
# [@synergy-design-system/tokens-v1.9.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.8.0...tokens/1.9.0) (2024-03-18)
|
|
2
16
|
|
|
3
17
|
|
package/dist/js/index.d.ts
CHANGED
package/dist/js/index.js
CHANGED
package/dist/scss/_tokens.scss
CHANGED
package/dist/themes/dark.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 1.
|
|
2
|
+
* @synergy-design-system/tokens version 1.9.1
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
* Do not edit directly
|
|
5
|
-
* Generated on
|
|
5
|
+
* Generated on Thu, 28 Mar 2024 09:52:06 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
:root, .syn-theme-dark {
|
|
@@ -215,7 +215,7 @@
|
|
|
215
215
|
--syn-color-neutral-600: #bac2c6;
|
|
216
216
|
--syn-color-neutral-700: #d5dbdd;
|
|
217
217
|
--syn-color-neutral-800: #e8ebec;
|
|
218
|
-
--syn-color-neutral-900: #
|
|
218
|
+
--syn-color-neutral-900: #F2F3F6;
|
|
219
219
|
--syn-color-neutral-950: #f9fafb;
|
|
220
220
|
--syn-color-neutral-1000: white;
|
|
221
221
|
|
package/dist/themes/light.css
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 1.
|
|
2
|
+
* @synergy-design-system/tokens version 1.9.1
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
* Do not edit directly
|
|
5
|
-
* Generated on
|
|
5
|
+
* Generated on Thu, 28 Mar 2024 09:52:06 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
:root, .syn-theme-light {
|
|
@@ -207,7 +207,7 @@
|
|
|
207
207
|
--syn-color-accent-950: #481700;
|
|
208
208
|
--syn-color-neutral-0: white;
|
|
209
209
|
--syn-color-neutral-50: #f9fafb;
|
|
210
|
-
--syn-color-neutral-100: #
|
|
210
|
+
--syn-color-neutral-100: #F2F3F6;
|
|
211
211
|
--syn-color-neutral-200: #e8ebec;
|
|
212
212
|
--syn-color-neutral-300: #d5dbdd;
|
|
213
213
|
--syn-color-neutral-400: #bac2c6;
|
package/package.json
CHANGED
|
@@ -18,8 +18,8 @@
|
|
|
18
18
|
"semantic-release-monorepo": "7.0.5",
|
|
19
19
|
"style-dictionary": "^3.9.2",
|
|
20
20
|
"stylelint": "^16.2.1",
|
|
21
|
-
"@synergy-design-system/
|
|
22
|
-
"@synergy-design-system/
|
|
21
|
+
"@synergy-design-system/eslint-config-syn": "0.1.0",
|
|
22
|
+
"@synergy-design-system/stylelint-config-syn": "0.1.0"
|
|
23
23
|
},
|
|
24
24
|
"exports": {
|
|
25
25
|
".": {
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
},
|
|
102
102
|
"type": "module",
|
|
103
103
|
"types": "./dist/js/index.d.ts",
|
|
104
|
-
"version": "1.
|
|
104
|
+
"version": "1.10.0",
|
|
105
105
|
"scripts": {
|
|
106
106
|
"build": "pnpm clean && node scripts/build.js",
|
|
107
107
|
"clean": "rimraf build",
|
|
@@ -41,13 +41,55 @@
|
|
|
41
41
|
}
|
|
42
42
|
},
|
|
43
43
|
"badge": {
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
|
|
44
|
+
"default": {
|
|
45
|
+
"description": {
|
|
46
|
+
"value": "Badges are used to draw attention and display statuses or counts.",
|
|
47
|
+
"type": "text"
|
|
48
|
+
},
|
|
49
|
+
"title": {
|
|
50
|
+
"value": "Badge",
|
|
51
|
+
"type": "text"
|
|
52
|
+
}
|
|
47
53
|
},
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
|
|
54
|
+
"variants": {
|
|
55
|
+
"title": {
|
|
56
|
+
"value": "Variants",
|
|
57
|
+
"type": "text"
|
|
58
|
+
},
|
|
59
|
+
"description": {
|
|
60
|
+
"value": "Set the variant attribute to change the badge’s variant.",
|
|
61
|
+
"type": "text"
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
"withButton": {
|
|
65
|
+
"title": {
|
|
66
|
+
"value": "With Buttons",
|
|
67
|
+
"type": "text"
|
|
68
|
+
},
|
|
69
|
+
"description": {
|
|
70
|
+
"value": "One of the most common use cases for badges is attaching them to buttons. \n\nDEV: To make this easier, badges will be automatically positioned at the top-right when they’re a child of a button.",
|
|
71
|
+
"type": "text"
|
|
72
|
+
}
|
|
73
|
+
},
|
|
74
|
+
"menu": {
|
|
75
|
+
"title": {
|
|
76
|
+
"value": "With Menu Items",
|
|
77
|
+
"type": "text"
|
|
78
|
+
},
|
|
79
|
+
"description": {
|
|
80
|
+
"value": "When including badges in menu items, use the suffix slot to make sure they’re aligned correctly.",
|
|
81
|
+
"type": "text"
|
|
82
|
+
}
|
|
83
|
+
},
|
|
84
|
+
"withEmptyContent": {
|
|
85
|
+
"title": {
|
|
86
|
+
"value": "With empty content",
|
|
87
|
+
"type": "text"
|
|
88
|
+
},
|
|
89
|
+
"description": {
|
|
90
|
+
"value": "Badges can be used without content to just show an status indicator.",
|
|
91
|
+
"type": "text"
|
|
92
|
+
}
|
|
51
93
|
}
|
|
52
94
|
},
|
|
53
95
|
"breadcrumb-item": {
|
|
@@ -1599,13 +1641,75 @@
|
|
|
1599
1641
|
}
|
|
1600
1642
|
},
|
|
1601
1643
|
"tooltip": {
|
|
1602
|
-
"
|
|
1603
|
-
"
|
|
1604
|
-
|
|
1644
|
+
"default": {
|
|
1645
|
+
"description": {
|
|
1646
|
+
"value": "Tooltips display additional information based on a specific action.\n\nA tooltip’s target is its first child element, so you should only wrap one element inside of the tooltip. If you need the tooltip to show up for multiple elements, nest them inside a container first.\n\nTooltips use display: contents so they won’t interfere with how elements are positioned in a flex or grid layout.",
|
|
1647
|
+
"type": "text"
|
|
1648
|
+
},
|
|
1649
|
+
"title": {
|
|
1650
|
+
"value": "Tooltip",
|
|
1651
|
+
"type": "text"
|
|
1652
|
+
}
|
|
1605
1653
|
},
|
|
1606
|
-
"
|
|
1607
|
-
"
|
|
1608
|
-
|
|
1654
|
+
"placement": {
|
|
1655
|
+
"title": {
|
|
1656
|
+
"value": "Placement",
|
|
1657
|
+
"type": "text"
|
|
1658
|
+
},
|
|
1659
|
+
"description": {
|
|
1660
|
+
"value": "Use the placement attribute to set the preferred placement of the tooltip.",
|
|
1661
|
+
"type": "text"
|
|
1662
|
+
}
|
|
1663
|
+
},
|
|
1664
|
+
"onclick": {
|
|
1665
|
+
"title": {
|
|
1666
|
+
"value": "Click Trigger",
|
|
1667
|
+
"type": "text"
|
|
1668
|
+
},
|
|
1669
|
+
"description": {
|
|
1670
|
+
"value": "Set the trigger attribute to click to toggle the tooltip on click instead of hover.",
|
|
1671
|
+
"type": "text"
|
|
1672
|
+
}
|
|
1673
|
+
},
|
|
1674
|
+
"manuel": {
|
|
1675
|
+
"title": {
|
|
1676
|
+
"value": "Manual Trigger",
|
|
1677
|
+
"type": "text"
|
|
1678
|
+
},
|
|
1679
|
+
"description": {
|
|
1680
|
+
"value": "Tooltips can be controlled programmatically by setting the trigger attribute to manual. Use the open attribute to control when the tooltip is shown.",
|
|
1681
|
+
"type": "text"
|
|
1682
|
+
}
|
|
1683
|
+
},
|
|
1684
|
+
"removingarrows": {
|
|
1685
|
+
"title": {
|
|
1686
|
+
"value": "Removing Arrows",
|
|
1687
|
+
"type": "text"
|
|
1688
|
+
},
|
|
1689
|
+
"description": {
|
|
1690
|
+
"value": "You can control the size of tooltip arrows by overriding the --syn-tooltip-arrow-size design token. To remove them, set the value to 0 as shown below.",
|
|
1691
|
+
"type": "text"
|
|
1692
|
+
}
|
|
1693
|
+
},
|
|
1694
|
+
"htmltooltip": {
|
|
1695
|
+
"title": {
|
|
1696
|
+
"value": "HTML in Tooltips",
|
|
1697
|
+
"type": "text"
|
|
1698
|
+
},
|
|
1699
|
+
"description": {
|
|
1700
|
+
"value": "Use the content slot to create tooltips with HTML content. Tooltips are designed only for text and presentational elements. Avoid placing interactive content, such as buttons, links, and form controls, in a tooltip.",
|
|
1701
|
+
"type": "text"
|
|
1702
|
+
}
|
|
1703
|
+
},
|
|
1704
|
+
"maxwith": {
|
|
1705
|
+
"title": {
|
|
1706
|
+
"value": "Setting a Maximum Width",
|
|
1707
|
+
"type": "text"
|
|
1708
|
+
},
|
|
1709
|
+
"description": {
|
|
1710
|
+
"value": "Use the --max-width custom property to change the width the tooltip can grow to before wrapping occurs.",
|
|
1711
|
+
"type": "text"
|
|
1712
|
+
}
|
|
1609
1713
|
}
|
|
1610
1714
|
},
|
|
1611
1715
|
"tree-item": {
|
|
@@ -1917,6 +2021,68 @@
|
|
|
1917
2021
|
"type": "text"
|
|
1918
2022
|
}
|
|
1919
2023
|
}
|
|
2024
|
+
},
|
|
2025
|
+
"side-nav": {
|
|
2026
|
+
"default": {
|
|
2027
|
+
"title": {
|
|
2028
|
+
"value": "Side Navigation",
|
|
2029
|
+
"type": "text"
|
|
2030
|
+
},
|
|
2031
|
+
"description": {
|
|
2032
|
+
"value": "Side navigation lets the user navigate through the entire content of a product. It supports single or nested navigation levels.",
|
|
2033
|
+
"type": "text"
|
|
2034
|
+
}
|
|
2035
|
+
},
|
|
2036
|
+
"rail": {
|
|
2037
|
+
"title": {
|
|
2038
|
+
"value": "Rail",
|
|
2039
|
+
"type": "text"
|
|
2040
|
+
},
|
|
2041
|
+
"description": {
|
|
2042
|
+
"value": "Use the rail attribute to only show the prefix of navigation items. This will open on hover on the rail navigation.\nOn touch devices the navigation opens on click and shows an overlay.\n\nNote: The Rail is only an option if all Navigation Items on the first level have an Icon. If this is not the case you should use a burger navigation. ",
|
|
2043
|
+
"type": "text"
|
|
2044
|
+
}
|
|
2045
|
+
},
|
|
2046
|
+
"footer": {
|
|
2047
|
+
"title": {
|
|
2048
|
+
"value": "Footer",
|
|
2049
|
+
"type": "text"
|
|
2050
|
+
},
|
|
2051
|
+
"description": {
|
|
2052
|
+
"value": "The Side navigation can have an optional bottom navigation \"slot\" to split up the navigation entries.\n\nPlease avoid having to many navigation entries (at the bottom) as it can massively influence the user experience.",
|
|
2053
|
+
"type": "text"
|
|
2054
|
+
}
|
|
2055
|
+
},
|
|
2056
|
+
"fixed": {
|
|
2057
|
+
"title": {
|
|
2058
|
+
"value": "Fixed Content",
|
|
2059
|
+
"type": "text"
|
|
2060
|
+
},
|
|
2061
|
+
"description": {
|
|
2062
|
+
"value": "Per default, the side navigation shows an overlay. This should always be the case, if the content of the app is not shrinking. This makes especially sense for applications, where you navigate to a place and stay there for a longer time.",
|
|
2063
|
+
"type": "text"
|
|
2064
|
+
}
|
|
2065
|
+
},
|
|
2066
|
+
"shrinking": {
|
|
2067
|
+
"title": {
|
|
2068
|
+
"value": "Shrinking Content",
|
|
2069
|
+
"type": "text"
|
|
2070
|
+
},
|
|
2071
|
+
"description": {
|
|
2072
|
+
"value": "For specific cases it might make sense to have the navigation open while still being able to interact with the app. This especially makes sense for cases where you switch a lot between areas to interact with an app.\n\nYou can decide yourself depending on your app and screen size, when it makes sense to omit the overlay and shrink the content.\n\nThis should never be used in combination with a Rail navigation, as this would lead to too much friction on hover.",
|
|
2073
|
+
"type": "text"
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
"indentation": {
|
|
2077
|
+
"title": {
|
|
2078
|
+
"value": "Indentation",
|
|
2079
|
+
"type": "text"
|
|
2080
|
+
},
|
|
2081
|
+
"description": {
|
|
2082
|
+
"value": "The different levels of navigation can be organized using the indention. The current status of a page shows the user directly which page they are browsing.",
|
|
2083
|
+
"type": "text"
|
|
2084
|
+
}
|
|
2085
|
+
}
|
|
1920
2086
|
}
|
|
1921
2087
|
},
|
|
1922
2088
|
"assets": {
|