@synergy-design-system/tokens 1.5.0 → 1.6.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.6.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.5.0...tokens/1.6.0) (2024-02-26)
2
+
3
+
4
+ ### Features
5
+
6
+ * ✨ added tokens for roundings ([#338](https://github.com/synergy-design-system/synergy-design-system/issues/338)) ([48e01cb](https://github.com/synergy-design-system/synergy-design-system/commit/48e01cbe074726a5bd2abf67fce7bd8d784f1c47))
7
+
1
8
  # [@synergy-design-system/tokens-v1.5.0](https://github.com/synergy-design-system/synergy-design-system/compare/tokens/1.4.0...tokens/1.5.0) (2024-02-22)
2
9
 
3
10
 
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.4.0
2
+ * @synergy-design-system/tokens version 1.5.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -224,6 +224,16 @@ export const SynBorderRadiusPill: string;
224
224
  */
225
225
  export const SynBorderRadiusCircle: string;
226
226
 
227
+ /**
228
+ * Maps to the css variable `--syn-border-radius-small`
229
+ */
230
+ export const SynBorderRadiusSmall: string;
231
+
232
+ /**
233
+ * Maps to the css variable `--syn-border-radius-medium`
234
+ */
235
+ export const SynBorderRadiusMedium: string;
236
+
227
237
  /**
228
238
  * Maps to the css variable `--syn-dimension-base`
229
239
  */
package/dist/js/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.4.0
2
+ * @synergy-design-system/tokens version 1.5.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
 
@@ -223,6 +223,16 @@ export const SynBorderRadiusPill = 'var(--syn-border-radius-pill)';
223
223
  */
224
224
  export const SynBorderRadiusCircle = 'var(--syn-border-radius-circle)';
225
225
 
226
+ /**
227
+ * @type {string}
228
+ */
229
+ export const SynBorderRadiusSmall = 'var(--syn-border-radius-small)';
230
+
231
+ /**
232
+ * @type {string}
233
+ */
234
+ export const SynBorderRadiusMedium = 'var(--syn-border-radius-medium)';
235
+
226
236
  /**
227
237
  * @type {string}
228
238
  */
@@ -1,5 +1,5 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.4.0
2
+ * @synergy-design-system/tokens version 1.5.0
3
3
  * SICK Global UX Foundation
4
4
  */
5
5
  $SynFontSizeXSmall: var(--syn-font-size-x-small) !default;
@@ -46,6 +46,8 @@ $SynSpacing5xLarge: var(--syn-spacing-5x-large) !default;
46
46
  $SynBorderRadiusNone: var(--syn-border-radius-none) !default;
47
47
  $SynBorderRadiusPill: var(--syn-border-radius-pill) !default;
48
48
  $SynBorderRadiusCircle: var(--syn-border-radius-circle) !default;
49
+ $SynBorderRadiusSmall: var(--syn-border-radius-small) !default;
50
+ $SynBorderRadiusMedium: var(--syn-border-radius-medium) !default;
49
51
  $SynDimensionBase: var(--syn-dimension-base) !default;
50
52
  $SynBorderWidthNone: var(--syn-border-width-none) !default;
51
53
  $SynBorderWidthSmall: var(--syn-border-width-small) !default;
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.4.0
2
+ * @synergy-design-system/tokens version 1.5.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Thu, 22 Feb 2024 07:08:20 GMT
5
+ * Generated on Mon, 26 Feb 2024 07:16:32 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-dark {
@@ -52,6 +52,8 @@
52
52
  --syn-border-radius-none: 0px;
53
53
  --syn-border-radius-pill: 9999px;
54
54
  --syn-border-radius-circle: 9999px;
55
+ --syn-border-radius-small: 4px;
56
+ --syn-border-radius-medium: 8px;
55
57
  --syn-dimension-base: 4px;
56
58
  --syn-border-width-none: 0px; /* None */
57
59
  --syn-border-width-small: 1px; /* Small */
@@ -218,8 +220,6 @@
218
220
  --syn-color-neutral-1000: white;
219
221
 
220
222
  /* Fallbacks from Shoelace */
221
- --syn-border-radius-small: 0.1875rem;
222
- --syn-border-radius-medium: 0.25rem;
223
223
  --syn-border-radius-large: 0.5rem;
224
224
  --syn-border-radius-x-large: 1rem;
225
225
  --syn-shadow-x-small: 0 1px 2px rgb(0 0 0 / 18%);
@@ -1,8 +1,8 @@
1
1
  /**
2
- * @synergy-design-system/tokens version 1.4.0
2
+ * @synergy-design-system/tokens version 1.5.0
3
3
  * SICK Global UX Foundation
4
4
  * Do not edit directly
5
- * Generated on Thu, 22 Feb 2024 07:08:20 GMT
5
+ * Generated on Mon, 26 Feb 2024 07:16:32 GMT
6
6
  */
7
7
 
8
8
  :root, .syn-theme-light {
@@ -52,6 +52,8 @@
52
52
  --syn-border-radius-none: 0px;
53
53
  --syn-border-radius-pill: 9999px;
54
54
  --syn-border-radius-circle: 9999px;
55
+ --syn-border-radius-small: 4px;
56
+ --syn-border-radius-medium: 8px;
55
57
  --syn-dimension-base: 4px;
56
58
  --syn-border-width-none: 0px; /* None */
57
59
  --syn-border-width-small: 1px; /* Small */
@@ -218,8 +220,6 @@
218
220
  --syn-color-neutral-1000: black;
219
221
 
220
222
  /* Fallbacks from Shoelace */
221
- --syn-border-radius-small: 0.1875rem;
222
- --syn-border-radius-medium: 0.25rem;
223
223
  --syn-border-radius-large: 0.5rem;
224
224
  --syn-border-radius-x-large: 1rem;
225
225
  --syn-shadow-x-small: 0 1px 2px hsl(240 3.8% 46.1% / 6%);
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.5.0",
102
+ "version": "1.6.0",
103
103
  "scripts": {
104
104
  "build": "pnpm clean && node scripts/build.js",
105
105
  "clean": "rimraf build",
@@ -296,7 +296,6 @@
296
296
  "input.filled.color-disabled": "S:50d5ea5eca1de474be32aa6343b7643c5cc40049,",
297
297
  "input.filled.color-hover": "S:5eefc6417572b45a2142265f8686ce798ac04e80,",
298
298
  "input.filled.color-focus": "S:bc4ba1f6b31a61949d3c4186b243633dba518ae6,"
299
-
300
299
  },
301
300
  "selectedTokenSets": {
302
301
  "globals": "source",
@@ -369,6 +369,14 @@
369
369
  "circle": {
370
370
  "value": "9999px",
371
371
  "type": "borderRadius"
372
+ },
373
+ "small": {
374
+ "value": "4px",
375
+ "type": "borderRadius"
376
+ },
377
+ "medium": {
378
+ "value": "8px",
379
+ "type": "borderRadius"
372
380
  }
373
381
  },
374
382
  "dimension": {