@synergy-design-system/tokens 1.15.0 → 1.16.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.16.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.15.0...tokens/1.16.0) (2024-05-02)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ 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))
7
+
1
8
  # [@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
9
 
3
10
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.14.0
2
+ * @synergy-design-system/tokens version 1.15.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-medium`
273
+ * Maps to the css variable `--syn-opacity-50`
274
274
  */
275
- export const SynOpacityMedium: string;
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.14.0
2
+ * @synergy-design-system/tokens version 1.15.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 SynOpacityMedium = 'var(--syn-opacity-medium)';
274
+ export const SynOpacity50 = 'var(--syn-opacity-50)';
275
275
 
276
276
  /**
277
277
  * @type {string}
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.14.0
2
+ * @synergy-design-system/tokens version 1.15.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
- $SynOpacityMedium: var(--syn-opacity-medium) !default;
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;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.14.0
2
+ * @synergy-design-system/tokens version 1.15.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Fri, 26 Apr 2024 10:46:36 GMT
5
+ * Generated on Thu, 02 May 2024 06:39:11 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-medium: 0.5; /* 50% */
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);
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.14.0
2
+ * @synergy-design-system/tokens version 1.15.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Fri, 26 Apr 2024 10:46:36 GMT
5
+ * Generated on Thu, 02 May 2024 06:39:11 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-medium: 0.5; /* 50% */
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);
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.15.0",
104
+ "version": "1.16.0",
105
105
  "scripts": {
106
106
  "build": "pnpm clean && node scripts/build.js",
107
107
  "clean": "rimraf build",
@@ -429,13 +429,55 @@
429
429
  }
430
430
  },
431
431
  "details": {
432
- "description": {
433
- "value": "Details show a brief summary and expand to show additional content.",
434
- "type": "text"
432
+ "default": {
433
+ "description": {
434
+ "value": "Details show a brief summary and expand to show additional content.",
435
+ "type": "text"
436
+ },
437
+ "title": {
438
+ "value": "Details",
439
+ "type": "text"
440
+ }
435
441
  },
436
- "title": {
437
- "value": "Details",
438
- "type": "text"
442
+ "disabled": {
443
+ "title": {
444
+ "value": "Disabled",
445
+ "type": "text"
446
+ },
447
+ "description": {
448
+ "value": "Use the disable attribute to prevent the details from expanding.",
449
+ "type": "text"
450
+ }
451
+ },
452
+ "summary-icon": {
453
+ "title": {
454
+ "value": "Customizing the Summary Icon",
455
+ "type": "text"
456
+ },
457
+ "description": {
458
+ "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.",
459
+ "type": "text"
460
+ }
461
+ },
462
+ "grouping": {
463
+ "title": {
464
+ "value": "Grouping Details",
465
+ "type": "text"
466
+ },
467
+ "description": {
468
+ "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.",
469
+ "type": "text"
470
+ }
471
+ },
472
+ "size": {
473
+ "title": {
474
+ "value": "Sizes",
475
+ "type": "text"
476
+ },
477
+ "description": {
478
+ "value": "Use the size attribute to change a detail’s size.",
479
+ "type": "text"
480
+ }
439
481
  }
440
482
  },
441
483
  "dialog": {
@@ -2569,6 +2611,16 @@
2569
2611
  "value": "Z-Index Tokens",
2570
2612
  "type": "text"
2571
2613
  }
2614
+ },
2615
+ "opacity": {
2616
+ "description": {
2617
+ "value": "Opacity tokens apply transparency to an element.",
2618
+ "type": "text"
2619
+ },
2620
+ "title": {
2621
+ "value": "Opacity",
2622
+ "type": "text"
2623
+ }
2572
2624
  }
2573
2625
  },
2574
2626
  "frameworks": {
@@ -417,7 +417,7 @@
417
417
  "type": "other"
418
418
  },
419
419
  "opacity": {
420
- "medium": {
420
+ "50": {
421
421
  "value": "0.5",
422
422
  "type": "opacity",
423
423
  "description": "50%"