@synergy-design-system/tokens 1.6.0 → 1.7.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.7.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.6.0...tokens/1.7.0) (2024-02-27)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ syn-drawer ([#320](https://github.com/synergy-design-system/synergy-design-system/issues/320)) ([ce20a42](https://github.com/synergy-design-system/synergy-design-system/commit/ce20a42f9f90eb5b38c0ae84f99d4a8db2e08613))
7
+
1
8
  # [@synergy-design-system/tokens-v1.6.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.5.0...tokens/1.6.0) (2024-02-26)
2
9
 
3
10
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.5.0
2
+ * @synergy-design-system/tokens version 1.6.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -585,29 +585,24 @@ export const SynInputFontSizeMedium: string;
585
585
  export const SynInputFontSizeLarge: string;
586
586
 
587
587
  /**
588
- * Maps to the css variable `--syn-overlay-color`
588
+ * Maps to the css variable `--syn-overlay-background-color`
589
589
  */
590
- export const SynOverlayColor: string;
590
+ export const SynOverlayBackgroundColor: string;
591
591
 
592
592
  /**
593
- * Maps to the css variable `--syn-overlay-opacity`
593
+ * Maps to the css variable `--syn-panel-background-color`
594
594
  */
595
- export const SynOverlayOpacity: string;
595
+ export const SynPanelBackgroundColor: string;
596
596
 
597
597
  /**
598
- * Maps to the css variable `--syn-background-color`
598
+ * Maps to the css variable `--syn-panel-border-color`
599
599
  */
600
- export const SynBackgroundColor: string;
600
+ export const SynPanelBorderColor: string;
601
601
 
602
602
  /**
603
- * Maps to the css variable `--syn-border-color`
603
+ * Maps to the css variable `--syn-panel-border-width`
604
604
  */
605
- export const SynBorderColor: string;
606
-
607
- /**
608
- * Maps to the css variable `--syn-panel-border`
609
- */
610
- export const SynPanelBorder: string;
605
+ export const SynPanelBorderWidth: string;
611
606
 
612
607
  /**
613
608
  * Maps to the css variable `--syn-toggle-size-small`
package/dist/js/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.5.0
2
+ * @synergy-design-system/tokens version 1.6.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -586,27 +586,22 @@ export const SynInputFontSizeLarge = 'var(--syn-input-font-size-large)';
586
586
  /**
587
587
  * @type {string}
588
588
  */
589
- export const SynOverlayColor = 'var(--syn-overlay-color)';
589
+ export const SynOverlayBackgroundColor = 'var(--syn-overlay-background-color)';
590
590
 
591
591
  /**
592
592
  * @type {string}
593
593
  */
594
- export const SynOverlayOpacity = 'var(--syn-overlay-opacity)';
594
+ export const SynPanelBackgroundColor = 'var(--syn-panel-background-color)';
595
595
 
596
596
  /**
597
597
  * @type {string}
598
598
  */
599
- export const SynBackgroundColor = 'var(--syn-background-color)';
599
+ export const SynPanelBorderColor = 'var(--syn-panel-border-color)';
600
600
 
601
601
  /**
602
602
  * @type {string}
603
603
  */
604
- export const SynBorderColor = 'var(--syn-border-color)';
605
-
606
- /**
607
- * @type {string}
608
- */
609
- export const SynPanelBorder = 'var(--syn-panel-border)';
604
+ export const SynPanelBorderWidth = 'var(--syn-panel-border-width)';
610
605
 
611
606
  /**
612
607
  * @type {string}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.5.0
2
+ * @synergy-design-system/tokens version 1.6.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
  $SynFontSizeXSmall: var(--syn-font-size-x-small) !default;
@@ -118,11 +118,10 @@ $SynInputReadonlyColorFocus: var(--syn-input-readonly-color-focus) !default;
118
118
  $SynInputFontSizeSmall: var(--syn-input-font-size-small) !default;
119
119
  $SynInputFontSizeMedium: var(--syn-input-font-size-medium) !default;
120
120
  $SynInputFontSizeLarge: var(--syn-input-font-size-large) !default;
121
- $SynOverlayColor: var(--syn-overlay-color) !default;
122
- $SynOverlayOpacity: var(--syn-overlay-opacity) !default;
123
- $SynBackgroundColor: var(--syn-background-color) !default;
124
- $SynBorderColor: var(--syn-border-color) !default;
125
- $SynPanelBorder: var(--syn-panel-border) !default;
121
+ $SynOverlayBackgroundColor: var(--syn-overlay-background-color) !default;
122
+ $SynPanelBackgroundColor: var(--syn-panel-background-color) !default;
123
+ $SynPanelBorderColor: var(--syn-panel-border-color) !default;
124
+ $SynPanelBorderWidth: var(--syn-panel-border-width) !default;
126
125
  $SynToggleSizeSmall: var(--syn-toggle-size-small) !default;
127
126
  $SynToggleSizeMedium: var(--syn-toggle-size-medium) !default;
128
127
  $SynToggleSizeLarge: var(--syn-toggle-size-large) !default;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.5.0
2
+ * @synergy-design-system/tokens version 1.6.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Mon, 26 Feb 2024 07:16:32 GMT
5
+ * Generated on Tue, 27 Feb 2024 12:58:11 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-dark {
@@ -124,11 +124,10 @@
124
124
  --syn-input-font-size-small: var(--syn-font-size-small);
125
125
  --syn-input-font-size-medium: var(--syn-font-size-medium);
126
126
  --syn-input-font-size-large: var(--syn-font-size-large);
127
- --syn-overlay-color: var(--syn-color-neutral-1000);
128
- --syn-overlay-opacity: 0.4;
129
- --syn-background-color: var(--syn-color-neutral-0);
130
- --syn-border-color: var(--syn-color-neutral-300);
131
- --syn-panel-border: var(--syn-border-width-small);
127
+ --syn-overlay-background-color: rgba(0, 0, 0, 0.4);
128
+ --syn-panel-background-color: var(--syn-color-neutral-0);
129
+ --syn-panel-border-color: var(--syn-color-neutral-300);
130
+ --syn-panel-border-width: var(--syn-border-width-small);
132
131
  --syn-toggle-size-small: 14px;
133
132
  --syn-toggle-size-medium: var(--syn-spacing-medium);
134
133
  --syn-toggle-size-large: var(--syn-spacing-large);
@@ -254,10 +253,6 @@
254
253
  --syn-input-filled-color-hover: var(--syn-color-neutral-800);
255
254
  --syn-input-filled-color-focus: var(--syn-color-neutral-700);
256
255
  --syn-input-filled-color-disabled: var(--syn-color-neutral-800);
257
- --syn-overlay-background-color: hsl(0 0% 0% / 43%);
258
- --syn-panel-background-color: var(--syn-color-neutral-0);
259
- --syn-panel-border-color: var(--syn-color-neutral-300);
260
- --syn-panel-border-width: 1px;
261
256
  --syn-tooltip-border-radius: var(--syn-border-radius-medium);
262
257
  --syn-tooltip-background-color: var(--syn-color-neutral-800);
263
258
  --syn-tooltip-color: var(--syn-color-neutral-0);
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.5.0
2
+ * @synergy-design-system/tokens version 1.6.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Mon, 26 Feb 2024 07:16:32 GMT
5
+ * Generated on Tue, 27 Feb 2024 12:58:11 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-light {
@@ -124,11 +124,10 @@
124
124
  --syn-input-font-size-small: var(--syn-font-size-small);
125
125
  --syn-input-font-size-medium: var(--syn-font-size-medium);
126
126
  --syn-input-font-size-large: var(--syn-font-size-large);
127
- --syn-overlay-color: var(--syn-color-neutral-1000);
128
- --syn-overlay-opacity: 0.4;
129
- --syn-background-color: var(--syn-color-neutral-0);
130
- --syn-border-color: var(--syn-color-neutral-300);
131
- --syn-panel-border: var(--syn-border-width-small);
127
+ --syn-overlay-background-color: rgba(0, 0, 0, 0.4);
128
+ --syn-panel-background-color: var(--syn-color-neutral-0);
129
+ --syn-panel-border-color: var(--syn-color-neutral-300);
130
+ --syn-panel-border-width: var(--syn-border-width-small);
132
131
  --syn-toggle-size-small: 14px;
133
132
  --syn-toggle-size-medium: var(--syn-spacing-medium);
134
133
  --syn-toggle-size-large: var(--syn-spacing-large);
@@ -254,10 +253,6 @@
254
253
  --syn-input-filled-color-hover: var(--syn-color-neutral-800);
255
254
  --syn-input-filled-color-focus: var(--syn-color-neutral-700);
256
255
  --syn-input-filled-color-disabled: var(--syn-color-neutral-800);
257
- --syn-overlay-background-color: hsl(240 3.8% 46.1% / 33%);
258
- --syn-panel-background-color: var(--syn-color-neutral-0);
259
- --syn-panel-border-color: var(--syn-color-neutral-300);
260
- --syn-panel-border-width: 1px;
261
256
  --syn-tooltip-border-radius: var(--syn-border-radius-medium);
262
257
  --syn-tooltip-background-color: var(--syn-color-neutral-800);
263
258
  --syn-tooltip-color: var(--syn-color-neutral-0);
package/package.json CHANGED
@@ -99,7 +99,7 @@
99
99
  },
100
100
  "type": "module",
101
101
  "types": "./dist/js/index.d.ts",
102
- "version": "1.6.0",
102
+ "version": "1.7.0",
103
103
  "scripts": {
104
104
  "build": "pnpm clean && node scripts/build.js",
105
105
  "clean": "rimraf build",
@@ -1599,6 +1599,108 @@
1599
1599
  "type": "text"
1600
1600
  }
1601
1601
  }
1602
+ },
1603
+ "nav-item": {
1604
+ "default": {
1605
+ "title": {
1606
+ "value": "Navigation Item",
1607
+ "type": "text"
1608
+ },
1609
+ "description": {
1610
+ "value": "The navigation item is used to trigger page switches.",
1611
+ "type": "text"
1612
+ }
1613
+ },
1614
+ "labels": {
1615
+ "title": {
1616
+ "value": "Labels",
1617
+ "type": "text"
1618
+ },
1619
+ "description": {
1620
+ "value": "Use the label attribute to change the content of a navigtion item.",
1621
+ "type": "text"
1622
+ }
1623
+ },
1624
+ "current": {
1625
+ "title": {
1626
+ "value": "Current",
1627
+ "type": "text"
1628
+ },
1629
+ "description": {
1630
+ "value": "Use the prefix and suffix slots to add. If available the prefix slot will be shown in the rail navigation.",
1631
+ "type": "text"
1632
+ }
1633
+ },
1634
+ "focus": {
1635
+ "title": {
1636
+ "value": "Focus",
1637
+ "type": "text"
1638
+ },
1639
+ "description": {
1640
+ "value": "Use the prefix and suffix slots to add. If available the prefix slot will be shown in the rail navigation.",
1641
+ "type": "text"
1642
+ }
1643
+ },
1644
+ "nav-horizontal": {
1645
+ "title": {
1646
+ "value": "Horizontal Navigation",
1647
+ "type": "text"
1648
+ },
1649
+ "description": {
1650
+ "value": "Use the horizontal attribute to indicate that an element is used in a horizontal navigation.
(The example shows it in combination with the current attribute, to indicate the difference.)",
1651
+ "type": "text"
1652
+ }
1653
+ },
1654
+ "prefix-suffix": {
1655
+ "title": {
1656
+ "value": "Prefix and suffix Slot",
1657
+ "type": "text"
1658
+ },
1659
+ "description": {
1660
+ "value": "Use the prefix and suffix slots to add e. g. icons or tags. If available the prefix slot will be shown in the rail navigation.",
1661
+ "type": "text"
1662
+ }
1663
+ },
1664
+ "children": {
1665
+ "title": {
1666
+ "value": "Children closed / open (vertical only)",
1667
+ "type": "text"
1668
+ },
1669
+ "description": {
1670
+ "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.:",
1671
+ "type": "text"
1672
+ }
1673
+ },
1674
+ "divider": {
1675
+ "title": {
1676
+ "value": "Divider",
1677
+ "type": "text"
1678
+ },
1679
+ "description": {
1680
+ "value": "Use the divider attribute to add a border at the top. This should be used for first level elements in vertical navigations.",
1681
+ "type": "text"
1682
+ }
1683
+ },
1684
+ "indentation": {
1685
+ "title": {
1686
+ "value": "Indentation",
1687
+ "type": "text"
1688
+ },
1689
+ "description": {
1690
+ "value": "Vertical navigation elements can be indented to indicate deeper navigation levels.",
1691
+ "type": "text"
1692
+ }
1693
+ },
1694
+ "disabled": {
1695
+ "title": {
1696
+ "value": "Disabled",
1697
+ "type": "text"
1698
+ },
1699
+ "description": {
1700
+ "value": "Use the disabled attribute to disable a navigation-item.",
1701
+ "type": "text"
1702
+ }
1703
+ }
1602
1704
  }
1603
1705
  },
1604
1706
  "frameworks": {
@@ -1,10 +1,10 @@
1
1
  {
2
- "overlay-color": {
3
- "value": "{neutral.1000}",
4
- "type": "color"
5
- },
6
- "overlay-opacity": {
7
- "value": "40%",
8
- "type": "opacity"
2
+ "overlay": {
3
+ "background": {
4
+ "color": {
5
+ "value": "rgba(0, 0, 0, 0.4)",
6
+ "type": "color"
7
+ }
8
+ }
9
9
  }
10
- }
10
+ }
@@ -1,14 +1,20 @@
1
1
  {
2
- "background-color": {
3
- "value": "{neutral.0}",
4
- "type": "color"
5
- },
6
- "border-color": {
7
- "value": "{neutral.300}",
8
- "type": "color"
9
- },
10
- "panel-border": {
11
- "value": "{border-width.small}",
12
- "type": "borderWidth"
2
+ "panel": {
3
+ "background": {
4
+ "color": {
5
+ "value": "{neutral.0}",
6
+ "type": "color"
7
+ }
8
+ },
9
+ "border": {
10
+ "color": {
11
+ "value": "{neutral.300}",
12
+ "type": "color"
13
+ },
14
+ "width": {
15
+ "value": "{border-width.small}",
16
+ "type": "borderWidth"
17
+ }
18
+ }
13
19
  }
14
20
  }