@knime/kds-styles 2.5.0 → 2.5.1

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,5 +1,11 @@
1
1
  # @knime/kds-styles
2
2
 
3
+ ## 2.5.1
4
+
5
+ ### Patch Changes
6
+
7
+ - 8e4ebf0: KDS-959: Add token for node type widget
8
+
3
9
  ## 2.5.0
4
10
 
5
11
  ## 2.4.0
@@ -602,6 +602,12 @@ syntax: "<color>";
602
602
  initial-value: hsl(193.1, 60.2%, 43.3%);
603
603
  }
604
604
 
605
+ @property --kds-color-nodes-and-variables-widget {
606
+ syntax: "<color>";
607
+ inherits: true;
608
+ initial-value: hsl(193.1, 60.2%, 43.3%);
609
+ }
610
+
605
611
  @property --kds-color-nodes-and-variables-scope {
606
612
  syntax: "<color>";
607
613
  inherits: true;
@@ -1796,6 +1796,12 @@ syntax: "<color>";
1796
1796
  initial-value: light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%));
1797
1797
  }
1798
1798
 
1799
+ @property --kds-color-nodes-and-variables-widget {
1800
+ syntax: "<color>";
1801
+ inherits: true;
1802
+ initial-value: light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%));
1803
+ }
1804
+
1799
1805
  @property --kds-color-nodes-and-variables-scope {
1800
1806
  syntax: "<color>";
1801
1807
  inherits: true;
@@ -103,6 +103,7 @@
103
103
  --kds-color-nodes-and-variables-predictor: hsl(106.5, 42.6%, 54.9%);
104
104
  --kds-color-nodes-and-variables-source: hsl(30, 80.4%, 60%);
105
105
  --kds-color-nodes-and-variables-visualizer: hsl(193.1, 60.2%, 43.3%);
106
+ --kds-color-nodes-and-variables-widget: hsl(193.1, 60.2%, 43.3%);
106
107
  --kds-color-nodes-and-variables-scope: hsl(304.6, 27.4%, 46.5%);
107
108
  --kds-color-nodes-and-variables-learner: hsl(67.3, 67.8%, 54.9%);
108
109
  --kds-color-nodes-and-variables-sink: hsl(359.6, 84.3%, 62.5%);
@@ -302,6 +302,7 @@
302
302
  --kds-color-nodes-and-variables-predictor: light-dark(hsl(106.5, 42.6%, 54.9%), hsl(109, 47.2%, 61.4%));
303
303
  --kds-color-nodes-and-variables-source: hsl(30, 80.4%, 60%);
304
304
  --kds-color-nodes-and-variables-visualizer: light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%));
305
+ --kds-color-nodes-and-variables-widget: light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%));
305
306
  --kds-color-nodes-and-variables-scope: light-dark(hsl(304.6, 27.4%, 46.5%), hsl(308.3, 31.6%, 55.3%));
306
307
  --kds-color-nodes-and-variables-learner: light-dark(hsl(67.3, 67.8%, 54.9%), hsl(65.4, 68.5%, 65.1%));
307
308
  --kds-color-nodes-and-variables-sink: light-dark(hsl(359.6, 84.3%, 62.5%), hsl(0, 100%, 66.1%));
@@ -445,6 +445,10 @@ export type KdsColorTokens = {
445
445
  * Specific color for Nodes and Variables.
446
446
  */
447
447
  readonly visualizer: KdsColor;
448
+ /**
449
+ * Specific color for Nodes and Variables.
450
+ */
451
+ readonly widget: KdsColor;
448
452
  /**
449
453
  * Specific color for Nodes and Variables.
450
454
  */
@@ -844,6 +844,14 @@ export const color = {
844
844
  variable: "var(--kds-color-nodes-and-variables-visualizer)",
845
845
  },
846
846
  },
847
+ widget: {
848
+ light: { h: 193.1, s: 60.2, l: 43.3, alpha: 1 },
849
+ dark: { h: 191.3, s: 57.1, l: 54.3, alpha: 1 },
850
+ css: {
851
+ value: "light-dark(hsl(193.1, 60.2%, 43.3%), hsl(191.3, 57.1%, 54.3%))",
852
+ variable: "var(--kds-color-nodes-and-variables-widget)",
853
+ },
854
+ },
847
855
  scope: {
848
856
  light: { h: 304.6, s: 27.4, l: 46.5, alpha: 1 },
849
857
  dark: { h: 308.3, s: 31.6, l: 55.3, alpha: 1 },
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-styles",
3
- "version": "2.5.0",
3
+ "version": "2.5.1",
4
4
  "description": "Package containing the design tokens and icons for the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",