@synergy-design-system/tokens 1.9.1 → 1.11.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,3 +1,17 @@
1
+ # [@synergy-design-system/tokens-v1.11.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.10.0...tokens/1.11.0) (2024-04-08)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ add syn-side-nav, syn-nav-item, syn-prio-nav ([#364](https://github.com/synergy-design-system/synergy-design-system/issues/364)) ([fd9b821](https://github.com/synergy-design-system/synergy-design-system/commit/fd9b82138385f2708003ce18d9c118b7a8fb7925))
7
+
8
+ # [@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)
9
+
10
+
11
+ ### Features
12
+
13
+ * ✨ 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))
14
+
1
15
  # [@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)
2
16
 
3
17
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.9.0
2
+ * @synergy-design-system/tokens version 1.10.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
package/dist/js/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.9.0
2
+ * @synergy-design-system/tokens version 1.10.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.9.0
2
+ * @synergy-design-system/tokens version 1.10.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
  $SynFontSizeXSmall: var(--syn-font-size-x-small) !default;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.9.0
2
+ * @synergy-design-system/tokens version 1.10.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Tue, 26 Mar 2024 07:28:20 GMT
5
+ * Generated on Mon, 08 Apr 2024 14:25:51 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-dark {
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.9.0
2
+ * @synergy-design-system/tokens version 1.10.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Tue, 26 Mar 2024 07:28:20 GMT
5
+ * Generated on Mon, 08 Apr 2024 14:25:51 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-light {
package/package.json CHANGED
@@ -101,7 +101,7 @@
101
101
  },
102
102
  "type": "module",
103
103
  "types": "./dist/js/index.d.ts",
104
- "version": "1.9.1",
104
+ "version": "1.11.0",
105
105
  "scripts": {
106
106
  "build": "pnpm clean && node scripts/build.js",
107
107
  "clean": "rimraf build",
@@ -80,6 +80,16 @@
80
80
  "value": "When including badges in menu items, use the suffix slot to make sure they’re aligned correctly.",
81
81
  "type": "text"
82
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
+ }
83
93
  }
84
94
  },
85
95
  "breadcrumb-item": {
@@ -523,7 +533,7 @@
523
533
  "dropdown": {
524
534
  "default": {
525
535
  "description": {
526
- "value": "Dropdowns expose additional content that “drops down” in a panel.

Dropdowns consist of a trigger and a panel. By default, activating the trigger will expose the panel and interacting outside of the panel will close it.\n\nDropdowns are designed to work well with menus to provide a list of options the user can select from. However, dropdowns can also be used in lower-level applications (e.g. color picker). The API gives you complete control over showing, hiding, and positioning the panel.",
536
+ "value": "Dropdowns expose additional content that “drops down” in a panel.

Dropdowns consist of a trigger and a panel. By default, activating the trigger will expose the panel and interacting outside of the panel will close it.\n\nDropdowns are designed to work well with menus to provide a list of options the user can select from. However, dropdowns can also be used in lower-level applications (e.g. color picker). The API gives you complete control over showing, hiding, and positioning the panel.",
527
537
  "type": "text"
528
538
  },
529
539
  "title": {
@@ -616,6 +626,28 @@
616
626
  "type": "text"
617
627
  }
618
628
  },
629
+ "prio-nav": {
630
+ "default": {
631
+ "description": {
632
+ "value": "Priority navigation is supported as product navigation if required. This navigation layout provides a high level of findability and support so that users know where they are at all times and can ensure that they can easily reach their goals.\n\nNote: Please note that the priority navigation does not have a child menu navigation, if you want to have a child navigation, combine the priority navigation and the side navigation",
633
+ "type": "text"
634
+ },
635
+ "title": {
636
+ "value": "Priority Navigation",
637
+ "type": "text"
638
+ }
639
+ },
640
+ "priority-menu": {
641
+ "description": {
642
+ "value": "If there is not enough space, elements will move into a dropdown.",
643
+ "type": "text"
644
+ },
645
+ "title": {
646
+ "value": "Priority Menu",
647
+ "type": "text"
648
+ }
649
+ }
650
+ },
619
651
  "icon-button": {
620
652
  "default": {
621
653
  "description": {
@@ -955,7 +987,7 @@
955
987
  "type": "text"
956
988
  },
957
989
  "info": {
958
- "value": "Menus are intended for system menus (dropdown menus, select menus, context menus, etc.). They should not be mistaken for navigation menus which serve a different purpose and have a different semantic meaning. If you’re building navigation, use <nav> and <a> elements instead.\n(Figma: syn-side-nav or syn-horizontal-nav)",
990
+ "value": "Menus are intended for system menus (dropdown menus, select menus, context menus, etc.). They should not be mistaken for navigation menus which serve a different purpose and have a different semantic meaning. If you’re building navigation, use <nav> and <a> elements instead.\n(Figma: syn-side-nav or syn-prio-nav)",
959
991
  "type": "text"
960
992
  },
961
993
  "warning": {
@@ -1061,13 +1093,65 @@
1061
1093
  }
1062
1094
  },
1063
1095
  "progress-ring": {
1064
- "description": {
1065
- "value": "Progress rings are used to show the progress of a determinate operation in a circular fashion.",
1066
- "type": "text"
1096
+ "default": {
1097
+ "description": {
1098
+ "value": "Progress rings are used to show the progress of a determinate operation in a circular fashion.",
1099
+ "type": "text"
1100
+ },
1101
+ "title": {
1102
+ "value": "Progress Ring",
1103
+ "type": "text"
1104
+ }
1067
1105
  },
1068
- "title": {
1069
- "value": "Progress Ring",
1070
- "type": "text"
1106
+ "size": {
1107
+ "title": {
1108
+ "value": "Size",
1109
+ "type": "text"
1110
+ },
1111
+ "description": {
1112
+ "value": "Use the --size custom property to set the diameter of the progress ring.",
1113
+ "type": "text"
1114
+ }
1115
+ },
1116
+ "track-indicator-width": {
1117
+ "title": {
1118
+ "value": "Track and Indicator Width",
1119
+ "type": "text"
1120
+ },
1121
+ "description": {
1122
+ "value": "Use the --track-width and --indicator-width custom properties to set the width of the progress ring’s track and indicator.",
1123
+ "type": "text"
1124
+ }
1125
+ },
1126
+ "color": {
1127
+ "titel": {
1128
+ "value": "Colors",
1129
+ "type": "text"
1130
+ },
1131
+ "description": {
1132
+ "value": "To change the color, use the --track-color and --indicator-color custom properties.",
1133
+ "type": "text"
1134
+ }
1135
+ },
1136
+ "labels": {
1137
+ "title": {
1138
+ "value": "Labels",
1139
+ "type": "text"
1140
+ },
1141
+ "description": {
1142
+ "value": "Use the label attribute to label the progress ring and tell assistive devices how to announce it.",
1143
+ "type": "text"
1144
+ }
1145
+ },
1146
+ "show-values": {
1147
+ "title": {
1148
+ "value": "Showing Values",
1149
+ "type": "text"
1150
+ },
1151
+ "description": {
1152
+ "value": "Use the default slot to show a label inside the progress ring.",
1153
+ "type": "text"
1154
+ }
1071
1155
  }
1072
1156
  },
1073
1157
  "qr-code": {
@@ -1365,13 +1449,45 @@
1365
1449
  }
1366
1450
  },
1367
1451
  "spinner": {
1368
- "description": {
1369
- "value": "Spinners are used to show the progress of an indeterminate operation.",
1370
- "type": "text"
1452
+ "default": {
1453
+ "description": {
1454
+ "value": "Spinners are used to show the progress of an indeterminate operation.",
1455
+ "type": "text"
1456
+ },
1457
+ "title": {
1458
+ "value": "Spinner",
1459
+ "type": "text"
1460
+ }
1371
1461
  },
1372
- "title": {
1373
- "value": "Spinner",
1374
- "type": "text"
1462
+ "size": {
1463
+ "title": {
1464
+ "value": "Size",
1465
+ "type": "text"
1466
+ },
1467
+ "description": {
1468
+ "value": "Spinners are sized based on the current font size. To change their size, set the font-size property on the spinner itself or on a parent element as shown below.",
1469
+ "type": "text"
1470
+ }
1471
+ },
1472
+ "track-width": {
1473
+ "title": {
1474
+ "value": "Track Width",
1475
+ "type": "text"
1476
+ },
1477
+ "description": {
1478
+ "value": "The width of the spinner’s track can be changed by setting the --track-width custom property.",
1479
+ "type": "text"
1480
+ }
1481
+ },
1482
+ "color": {
1483
+ "title": {
1484
+ "value": "Color",
1485
+ "type": "text"
1486
+ },
1487
+ "description": {
1488
+ "value": "The spinner’s colors can be changed by setting the --indicator-color and --track-color custom properties.",
1489
+ "type": "text"
1490
+ }
1375
1491
  }
1376
1492
  },
1377
1493
  "split-panel": {
@@ -1865,7 +1981,7 @@
1865
1981
  "type": "text"
1866
1982
  },
1867
1983
  "description": {
1868
- "value": "Use the label attribute to change the content of a navigtion item.",
1984
+ "value": "Use the label attribute to change the content of a navigation item.",
1869
1985
  "type": "text"
1870
1986
  }
1871
1987
  },
@@ -1875,7 +1991,7 @@
1875
1991
  "type": "text"
1876
1992
  },
1877
1993
  "description": {
1878
- "value": "Use the prefix and suffix slots to add. If available the prefix slot will be shown in the rail navigation.",
1994
+ "value": "The current attribute provides the user feedback about which of the navigation elements is currently selected.",
1879
1995
  "type": "text"
1880
1996
  }
1881
1997
  },
@@ -1885,7 +2001,7 @@
1885
2001
  "type": "text"
1886
2002
  },
1887
2003
  "description": {
1888
- "value": "Use the prefix and suffix slots to add. If available the prefix slot will be shown in the rail navigation.",
2004
+ "value": "The focus event gives the user feedback that the Navigation Item has been focused by the keyboard interaction or active click from the user.",
1889
2005
  "type": "text"
1890
2006
  }
1891
2007
  },
@@ -1915,7 +2031,7 @@
1915
2031
  "type": "text"
1916
2032
  },
1917
2033
  "description": {
1918
- "value": "Use the *children attribute to indicate that show a chevron. In development this will be handled automatically as soon as an element has children.:",
2034
+ "value": "Use the *children attribute to indicate that a chevron should be shown. In development this will be handled automatically as soon as an element has children.\n\nNote:\nSince there should be no double use of functionality, a link cannot be mixed with an accordion behavior. The accordion always has priority, which means that if the href attribute is used at the same time as children, the link functionality is ignored and only the accordion behavior is provided.",
1919
2035
  "type": "text"
1920
2036
  }
1921
2037
  },
@@ -2010,6 +2126,16 @@
2010
2126
  "value": "Use the top navigation slot to add syn-navigation and horizontal syn-navigation-items.",
2011
2127
  "type": "text"
2012
2128
  }
2129
+ },
2130
+ "burger-menu": {
2131
+ "title": {
2132
+ "value": "Burger Menu",
2133
+ "type": "text"
2134
+ },
2135
+ "description": {
2136
+ "value": "Use the Burger Menu as trigger to open and close the Navigation. In the open state, the icon changes to a cancel icon. This will be hidden, if you use a rail navigation.",
2137
+ "type": "text"
2138
+ }
2013
2139
  }
2014
2140
  },
2015
2141
  "side-nav": {
@@ -2029,7 +2155,7 @@
2029
2155
  "type": "text"
2030
2156
  },
2031
2157
  "description": {
2032
- "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. ",
2158
+ "value": "Use the rail attribute to only show the prefix of navigation items. This will open on hover on the rail navigation, therefore the header doesn't have an burger-menu-icon.\nOn touch devices the navigation opens on click and shows an overlay to be closable.\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.",
2033
2159
  "type": "text"
2034
2160
  }
2035
2161
  },
@@ -2447,4 +2573,4 @@
2447
2573
  }
2448
2574
  }
2449
2575
  }
2450
- }
2576
+ }