@synergy-design-system/tokens 1.15.0 → 1.17.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 +3 -3
- package/dist/js/index.js +2 -2
- package/dist/scss/_tokens.scss +2 -2
- package/dist/themes/dark.css +4 -4
- package/dist/themes/light.css +4 -4
- package/package.json +1 -1
- package/src/figma-tokens/_docs.json +106 -12
- package/src/figma-tokens/globals.json +1 -1
- package/src/figma-tokens/semantic/overlays.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
# [@synergy-design-system/tokens-v1.17.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.16.0...tokens/1.17.0) (2024-05-08)
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
### Features
|
|
5
|
+
|
|
6
|
+
* ✨ syn-dialog ([#458](https://github.com/synergy-design-system/synergy-design-system/issues/458)) ([7247f0c](https://github.com/synergy-design-system/synergy-design-system/commit/7247f0cca654ea10ec5968d92175e546c43515cd))
|
|
7
|
+
|
|
8
|
+
# [@synergy-design-system/tokens-v1.16.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.15.0...tokens/1.16.0) (2024-05-02)
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Features
|
|
12
|
+
|
|
13
|
+
* ✨ adjust syn opacity token ([#457](https://github.com/synergy-design-system/synergy-design-system/issues/457)) ([0f44c01](https://github.com/synergy-design-system/synergy-design-system/commit/0f44c012d05930d3c01b62756f761563ee24d684))
|
|
14
|
+
|
|
1
15
|
# [@synergy-design-system/tokens-v1.15.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.14.0...tokens/1.15.0) (2024-04-26)
|
|
2
16
|
|
|
3
17
|
|
package/dist/js/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 1.
|
|
2
|
+
* @synergy-design-system/tokens version 1.16.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -270,9 +270,9 @@ export const SynBorderWidthXLarge: string;
|
|
|
270
270
|
export const SynFontSansFallback: string;
|
|
271
271
|
|
|
272
272
|
/**
|
|
273
|
-
* Maps to the css variable `--syn-opacity-
|
|
273
|
+
* Maps to the css variable `--syn-opacity-50`
|
|
274
274
|
*/
|
|
275
|
-
export const
|
|
275
|
+
export const SynOpacity50: string;
|
|
276
276
|
|
|
277
277
|
/**
|
|
278
278
|
* Maps to the css variable `--syn-button-font-size-small`
|
package/dist/js/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 1.
|
|
2
|
+
* @synergy-design-system/tokens version 1.16.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
*/
|
|
5
5
|
|
|
@@ -271,7 +271,7 @@ export const SynFontSansFallback = 'var(--syn-font-sans-fallback)';
|
|
|
271
271
|
/**
|
|
272
272
|
* @type {string}
|
|
273
273
|
*/
|
|
274
|
-
export const
|
|
274
|
+
export const SynOpacity50 = 'var(--syn-opacity-50)';
|
|
275
275
|
|
|
276
276
|
/**
|
|
277
277
|
* @type {string}
|
package/dist/scss/_tokens.scss
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @synergy-design-system/tokens version 1.
|
|
2
|
+
* @synergy-design-system/tokens version 1.16.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
*/
|
|
5
5
|
$SynFontSizeXSmall: var(--syn-font-size-x-small) !default;
|
|
@@ -55,7 +55,7 @@ $SynBorderWidthMedium: var(--syn-border-width-medium) !default;
|
|
|
55
55
|
$SynBorderWidthLarge: var(--syn-border-width-large) !default;
|
|
56
56
|
$SynBorderWidthXLarge: var(--syn-border-width-x-large) !default;
|
|
57
57
|
$SynFontSansFallback: var(--syn-font-sans-fallback) !default;
|
|
58
|
-
$
|
|
58
|
+
$SynOpacity50: var(--syn-opacity-50) !default;
|
|
59
59
|
$SynButtonFontSizeSmall: var(--syn-button-font-size-small) !default;
|
|
60
60
|
$SynButtonFontSizeMedium: var(--syn-button-font-size-medium) !default;
|
|
61
61
|
$SynButtonFontSizeLarge: var(--syn-button-font-size-large) !default;
|
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.16.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
* Do not edit directly
|
|
5
|
-
* Generated on
|
|
5
|
+
* Generated on Wed, 08 May 2024 05:53:28 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
:root, .syn-theme-dark {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--syn-border-width-large: 3px; /* Large */
|
|
62
62
|
--syn-border-width-x-large: 4px; /* X Large */
|
|
63
63
|
--syn-font-sans-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
64
|
-
--syn-opacity-
|
|
64
|
+
--syn-opacity-50: 0.5; /* 50% */
|
|
65
65
|
--syn-button-font-size-small: var(--syn-font-size-small);
|
|
66
66
|
--syn-button-font-size-medium: var(--syn-font-size-medium);
|
|
67
67
|
--syn-button-font-size-large: var(--syn-font-size-large);
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
--syn-input-font-size-small: var(--syn-font-size-small);
|
|
127
127
|
--syn-input-font-size-medium: var(--syn-font-size-medium);
|
|
128
128
|
--syn-input-font-size-large: var(--syn-font-size-large);
|
|
129
|
-
--syn-overlay-background-color: rgba(0, 0, 0, 0.
|
|
129
|
+
--syn-overlay-background-color: rgba(0, 0, 0, 0.5);
|
|
130
130
|
--syn-panel-background-color: var(--syn-color-neutral-0);
|
|
131
131
|
--syn-panel-border-color: var(--syn-color-neutral-300);
|
|
132
132
|
--syn-panel-border-width: var(--syn-border-width-small);
|
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.16.0
|
|
3
3
|
* SICK Global UX Foundation
|
|
4
4
|
* Do not edit directly
|
|
5
|
-
* Generated on
|
|
5
|
+
* Generated on Wed, 08 May 2024 05:53:28 GMT
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
:root, .syn-theme-light {
|
|
@@ -61,7 +61,7 @@
|
|
|
61
61
|
--syn-border-width-large: 3px; /* Large */
|
|
62
62
|
--syn-border-width-x-large: 4px; /* X Large */
|
|
63
63
|
--syn-font-sans-fallback: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", sans-serif;
|
|
64
|
-
--syn-opacity-
|
|
64
|
+
--syn-opacity-50: 0.5; /* 50% */
|
|
65
65
|
--syn-button-font-size-small: var(--syn-font-size-small);
|
|
66
66
|
--syn-button-font-size-medium: var(--syn-font-size-medium);
|
|
67
67
|
--syn-button-font-size-large: var(--syn-font-size-large);
|
|
@@ -126,7 +126,7 @@
|
|
|
126
126
|
--syn-input-font-size-small: var(--syn-font-size-small);
|
|
127
127
|
--syn-input-font-size-medium: var(--syn-font-size-medium);
|
|
128
128
|
--syn-input-font-size-large: var(--syn-font-size-large);
|
|
129
|
-
--syn-overlay-background-color: rgba(0, 0, 0, 0.
|
|
129
|
+
--syn-overlay-background-color: rgba(0, 0, 0, 0.5);
|
|
130
130
|
--syn-panel-background-color: var(--syn-color-neutral-0);
|
|
131
131
|
--syn-panel-border-color: var(--syn-color-neutral-300);
|
|
132
132
|
--syn-panel-border-width: var(--syn-border-width-small);
|
package/package.json
CHANGED
|
@@ -175,13 +175,55 @@
|
|
|
175
175
|
}
|
|
176
176
|
},
|
|
177
177
|
"breadcrumb": {
|
|
178
|
-
"
|
|
179
|
-
"
|
|
180
|
-
|
|
178
|
+
"default": {
|
|
179
|
+
"description": {
|
|
180
|
+
"value": "Breadcrumbs provide a group of links so users can easily navigate a website's hierarchy. Breadcrumbs are usually placed before a page’s main content with the current page shown last to indicate the user’s position in the navigation.",
|
|
181
|
+
"type": "text"
|
|
182
|
+
},
|
|
183
|
+
"title": {
|
|
184
|
+
"value": "Breadcrumb",
|
|
185
|
+
"type": "text"
|
|
186
|
+
}
|
|
181
187
|
},
|
|
182
|
-
"
|
|
183
|
-
"
|
|
184
|
-
|
|
188
|
+
"links": {
|
|
189
|
+
"title": {
|
|
190
|
+
"value": "Breadcrumb Links",
|
|
191
|
+
"type": "text"
|
|
192
|
+
},
|
|
193
|
+
"description": {
|
|
194
|
+
"value": "By default, breadcrumb items are rendered as buttons so you can use them to navigate single-page applications. In this case, you’ll need to add event listeners to handle clicks.\n\nFor websites, you’ll probably want to use links instead. You can make any breadcrumb item a link by applying an href attribute to it. Now, when the user activates it, they’ll be taken to the corresponding page — no event listeners required.",
|
|
195
|
+
"type": "text"
|
|
196
|
+
}
|
|
197
|
+
},
|
|
198
|
+
"prefix": {
|
|
199
|
+
"title": {
|
|
200
|
+
"value": "Prefixes",
|
|
201
|
+
"type": "text"
|
|
202
|
+
},
|
|
203
|
+
"description": {
|
|
204
|
+
"value": "Use the prefix slot to add content before any breadcrumb item.",
|
|
205
|
+
"type": "text"
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
"suffix": {
|
|
209
|
+
"title": {
|
|
210
|
+
"value": "Suffixes",
|
|
211
|
+
"type": "text"
|
|
212
|
+
},
|
|
213
|
+
"description": {
|
|
214
|
+
"value": "Use the suffix slot to add content after any breadcrumb item.",
|
|
215
|
+
"type": "text"
|
|
216
|
+
}
|
|
217
|
+
},
|
|
218
|
+
"menu": {
|
|
219
|
+
"title": {
|
|
220
|
+
"value": "With Dropdowns",
|
|
221
|
+
"type": "text"
|
|
222
|
+
},
|
|
223
|
+
"description": {
|
|
224
|
+
"value": "Dropdown menus can be placed in a prefix or suffix slot to provide additional options.",
|
|
225
|
+
"type": "text"
|
|
226
|
+
}
|
|
185
227
|
}
|
|
186
228
|
},
|
|
187
229
|
"button": {
|
|
@@ -429,13 +471,55 @@
|
|
|
429
471
|
}
|
|
430
472
|
},
|
|
431
473
|
"details": {
|
|
432
|
-
"
|
|
433
|
-
"
|
|
434
|
-
|
|
474
|
+
"default": {
|
|
475
|
+
"description": {
|
|
476
|
+
"value": "Details show a brief summary and expand to show additional content.",
|
|
477
|
+
"type": "text"
|
|
478
|
+
},
|
|
479
|
+
"title": {
|
|
480
|
+
"value": "Details",
|
|
481
|
+
"type": "text"
|
|
482
|
+
}
|
|
435
483
|
},
|
|
436
|
-
"
|
|
437
|
-
"
|
|
438
|
-
|
|
484
|
+
"disabled": {
|
|
485
|
+
"title": {
|
|
486
|
+
"value": "Disabled",
|
|
487
|
+
"type": "text"
|
|
488
|
+
},
|
|
489
|
+
"description": {
|
|
490
|
+
"value": "Use the disable attribute to prevent the details from expanding.",
|
|
491
|
+
"type": "text"
|
|
492
|
+
}
|
|
493
|
+
},
|
|
494
|
+
"summary-icon": {
|
|
495
|
+
"title": {
|
|
496
|
+
"value": "Customizing the Summary Icon",
|
|
497
|
+
"type": "text"
|
|
498
|
+
},
|
|
499
|
+
"description": {
|
|
500
|
+
"value": "Use the expand-icon and collapse-icon slots to change the expand and collapse icons, respectively. To disable the animation, override the rotate property on the summary-icon part as shown below.",
|
|
501
|
+
"type": "text"
|
|
502
|
+
}
|
|
503
|
+
},
|
|
504
|
+
"grouping": {
|
|
505
|
+
"title": {
|
|
506
|
+
"value": "Grouping Details",
|
|
507
|
+
"type": "text"
|
|
508
|
+
},
|
|
509
|
+
"description": {
|
|
510
|
+
"value": "Details are designed to function independently, but you can simulate a group or “accordion” where only one is shown at a time by listening for the syn-show event.",
|
|
511
|
+
"type": "text"
|
|
512
|
+
}
|
|
513
|
+
},
|
|
514
|
+
"size": {
|
|
515
|
+
"title": {
|
|
516
|
+
"value": "Sizes",
|
|
517
|
+
"type": "text"
|
|
518
|
+
},
|
|
519
|
+
"description": {
|
|
520
|
+
"value": "Use the size attribute to change a detail’s size.",
|
|
521
|
+
"type": "text"
|
|
522
|
+
}
|
|
439
523
|
}
|
|
440
524
|
},
|
|
441
525
|
"dialog": {
|
|
@@ -2569,6 +2653,16 @@
|
|
|
2569
2653
|
"value": "Z-Index Tokens",
|
|
2570
2654
|
"type": "text"
|
|
2571
2655
|
}
|
|
2656
|
+
},
|
|
2657
|
+
"opacity": {
|
|
2658
|
+
"description": {
|
|
2659
|
+
"value": "Opacity tokens apply transparency to an element.",
|
|
2660
|
+
"type": "text"
|
|
2661
|
+
},
|
|
2662
|
+
"title": {
|
|
2663
|
+
"value": "Opacity",
|
|
2664
|
+
"type": "text"
|
|
2665
|
+
}
|
|
2572
2666
|
}
|
|
2573
2667
|
},
|
|
2574
2668
|
"frameworks": {
|