@synergy-design-system/tokens 1.10.0 → 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,10 @@
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
+
1
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)
2
9
 
3
10
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.9.1
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.1
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.1
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.1
2
+ * @synergy-design-system/tokens version 1.10.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Thu, 28 Mar 2024 09:52:06 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.1
2
+ * @synergy-design-system/tokens version 1.10.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Thu, 28 Mar 2024 09:52:06 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.10.0",
104
+ "version": "1.11.0",
105
105
  "scripts": {
106
106
  "build": "pnpm clean && node scripts/build.js",
107
107
  "clean": "rimraf build",
@@ -533,7 +533,7 @@
533
533
  "dropdown": {
534
534
  "default": {
535
535
  "description": {
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.",
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.",
537
537
  "type": "text"
538
538
  },
539
539
  "title": {
@@ -626,6 +626,28 @@
626
626
  "type": "text"
627
627
  }
628
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
+ },
629
651
  "icon-button": {
630
652
  "default": {
631
653
  "description": {
@@ -965,7 +987,7 @@
965
987
  "type": "text"
966
988
  },
967
989
  "info": {
968
- "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)",
969
991
  "type": "text"
970
992
  },
971
993
  "warning": {
@@ -1071,13 +1093,65 @@
1071
1093
  }
1072
1094
  },
1073
1095
  "progress-ring": {
1074
- "description": {
1075
- "value": "Progress rings are used to show the progress of a determinate operation in a circular fashion.",
1076
- "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
+ }
1077
1105
  },
1078
- "title": {
1079
- "value": "Progress Ring",
1080
- "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
+ }
1081
1155
  }
1082
1156
  },
1083
1157
  "qr-code": {
@@ -1375,13 +1449,45 @@
1375
1449
  }
1376
1450
  },
1377
1451
  "spinner": {
1378
- "description": {
1379
- "value": "Spinners are used to show the progress of an indeterminate operation.",
1380
- "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
+ }
1381
1461
  },
1382
- "title": {
1383
- "value": "Spinner",
1384
- "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
+ }
1385
1491
  }
1386
1492
  },
1387
1493
  "split-panel": {
@@ -1875,7 +1981,7 @@
1875
1981
  "type": "text"
1876
1982
  },
1877
1983
  "description": {
1878
- "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.",
1879
1985
  "type": "text"
1880
1986
  }
1881
1987
  },
@@ -1885,7 +1991,7 @@
1885
1991
  "type": "text"
1886
1992
  },
1887
1993
  "description": {
1888
- "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.",
1889
1995
  "type": "text"
1890
1996
  }
1891
1997
  },
@@ -1895,7 +2001,7 @@
1895
2001
  "type": "text"
1896
2002
  },
1897
2003
  "description": {
1898
- "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.",
1899
2005
  "type": "text"
1900
2006
  }
1901
2007
  },
@@ -1925,7 +2031,7 @@
1925
2031
  "type": "text"
1926
2032
  },
1927
2033
  "description": {
1928
- "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.",
1929
2035
  "type": "text"
1930
2036
  }
1931
2037
  },
@@ -2020,6 +2126,16 @@
2020
2126
  "value": "Use the top navigation slot to add syn-navigation and horizontal syn-navigation-items.",
2021
2127
  "type": "text"
2022
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
+ }
2023
2139
  }
2024
2140
  },
2025
2141
  "side-nav": {
@@ -2039,7 +2155,7 @@
2039
2155
  "type": "text"
2040
2156
  },
2041
2157
  "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. ",
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.",
2043
2159
  "type": "text"
2044
2160
  }
2045
2161
  },
@@ -2457,4 +2573,4 @@
2457
2573
  }
2458
2574
  }
2459
2575
  }
2460
- }
2576
+ }