@knime/kds-styles 6.6.0 → 6.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,5 +1,14 @@
1
1
  # @knime/kds-styles
2
2
 
3
+ ## 6.7.0
4
+
5
+ ## 6.6.1
6
+
7
+ ### Patch Changes
8
+
9
+ - 02c9f3c: KDS-994: Add pause execution icon for loop nodes
10
+ - aba9f9c: Kds 993 Add missing workflow editor tokens for connector states
11
+
3
12
  ## 6.6.0
4
13
 
5
14
  ### Patch Changes
@@ -123,6 +123,7 @@ export const iconNames = [
123
123
  'pan-mode',
124
124
  'parameter',
125
125
  'path-separator',
126
+ 'pause-execution',
126
127
  'pending-changes',
127
128
  'pin',
128
129
  'placeholder',
@@ -0,0 +1 @@
1
+ <svg xmlns="http://www.w3.org/2000/svg" fill="none" stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" viewBox="0 0 12 12"><path d="M4.5 10V2m3 8V2" vector-effect="non-scaling-stroke"/></svg>
@@ -2285,7 +2285,7 @@ syntax: "<color>";
2285
2285
  @property --kds-color-connector-data {
2286
2286
  syntax: "<color>";
2287
2287
  inherits: true;
2288
- initial-value: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
2288
+ initial-value: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 48.2%));
2289
2289
  }
2290
2290
 
2291
2291
  @property --kds-color-connector-flow-variable {
@@ -2294,6 +2294,24 @@ syntax: "<color>";
2294
2294
  initial-value: hsl(359.6, 84.3%, 62.5%);
2295
2295
  }
2296
2296
 
2297
+ @property --kds-color-connector-selected {
2298
+ syntax: "<color>";
2299
+ inherits: true;
2300
+ initial-value: light-dark(hsl(209.4, 57.3%, 49.6%), hsl(213.6, 91.6%, 76.7%));
2301
+ }
2302
+
2303
+ @property --kds-color-connector-highlighted {
2304
+ syntax: "<color>";
2305
+ inherits: true;
2306
+ initial-value: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
2307
+ }
2308
+
2309
+ @property --kds-color-connector-insertable {
2310
+ syntax: "<color>";
2311
+ inherits: true;
2312
+ initial-value: light-dark(hsl(116.1, 46.6%, 25.7%), hsl(106.5, 42.6%, 54.9%));
2313
+ }
2314
+
2297
2315
  @property --kds-color-elevation-top {
2298
2316
  syntax: "<color>";
2299
2317
  inherits: true;
@@ -383,8 +383,11 @@
383
383
  --kds-color-state-disabled: light-dark(hsl(0, 0%, 72.5%), hsl(0, 0%, 22%));
384
384
  --kds-color-state-disabled-border: hsl(0, 0%, 48.2%);
385
385
  --kds-color-state-background: light-dark(hsl(0, 0%, 90.2%), hsl(0, 0%, 32.2%));
386
- --kds-color-connector-data: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
386
+ --kds-color-connector-data: light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 48.2%));
387
387
  --kds-color-connector-flow-variable: hsl(359.6, 84.3%, 62.5%);
388
+ --kds-color-connector-selected: light-dark(hsl(209.4, 57.3%, 49.6%), hsl(213.6, 91.6%, 76.7%));
389
+ --kds-color-connector-highlighted: light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%));
390
+ --kds-color-connector-insertable: light-dark(hsl(116.1, 46.6%, 25.7%), hsl(106.5, 42.6%, 54.9%));
388
391
  --kds-color-elevation-top: light-dark(hsl(210 0% 72.5% / 0.32), hsl(330 0% 10.2% / 0.9));
389
392
  --kds-color-elevation-middle: light-dark(hsl(180 0% 32.2% / 0.14), hsl(330 0% 10.2% / 0.94));
390
393
  --kds-color-elevation-bottom: light-dark(hsl(180 0% 32.2% / 0.12), hsl(330 0% 10.2% / 0.98));
@@ -793,6 +793,18 @@ export type KdsColorTokens = {
793
793
  * Specific color for Connectors.
794
794
  */
795
795
  readonly "flow-variable": KdsColor;
796
+ /**
797
+ * Specific color for Connectors that are selected.
798
+ */
799
+ readonly selected: KdsColor;
800
+ /**
801
+ * Specific color for highlighted in and outgoing Connectors of a selected node.
802
+ */
803
+ readonly highlighted: KdsColor;
804
+ /**
805
+ * Specific color for Connector below a dragged node to indicate possible insert.
806
+ */
807
+ readonly insertable: KdsColor;
796
808
  };
797
809
  readonly elevation: {
798
810
  /**
@@ -1505,10 +1505,10 @@ export const color = {
1505
1505
  },
1506
1506
  connector: {
1507
1507
  data: {
1508
- light: { h: 0, s: 0, l: 15.7, alpha: 1 },
1509
- dark: { h: 0, s: 0, l: 94.1, alpha: 1 },
1508
+ light: { h: 0, s: 0, l: 43, alpha: 1 },
1509
+ dark: { h: 0, s: 0, l: 48.2, alpha: 1 },
1510
1510
  css: {
1511
- value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
1511
+ value: "light-dark(hsl(0, 0%, 43%), hsl(0, 0%, 48.2%))",
1512
1512
  variable: "var(--kds-color-connector-data)",
1513
1513
  },
1514
1514
  },
@@ -1520,6 +1520,30 @@ export const color = {
1520
1520
  variable: "var(--kds-color-connector-flow-variable)",
1521
1521
  },
1522
1522
  },
1523
+ selected: {
1524
+ light: { h: 209.4, s: 57.3, l: 49.6, alpha: 1 },
1525
+ dark: { h: 213.6, s: 91.6, l: 76.7, alpha: 1 },
1526
+ css: {
1527
+ value: "light-dark(hsl(209.4, 57.3%, 49.6%), hsl(213.6, 91.6%, 76.7%))",
1528
+ variable: "var(--kds-color-connector-selected)",
1529
+ },
1530
+ },
1531
+ highlighted: {
1532
+ light: { h: 0, s: 0, l: 15.7, alpha: 1 },
1533
+ dark: { h: 0, s: 0, l: 94.1, alpha: 1 },
1534
+ css: {
1535
+ value: "light-dark(hsl(0, 0%, 15.7%), hsl(0, 0%, 94.1%))",
1536
+ variable: "var(--kds-color-connector-highlighted)",
1537
+ },
1538
+ },
1539
+ insertable: {
1540
+ light: { h: 116.1, s: 46.6, l: 25.7, alpha: 1 },
1541
+ dark: { h: 106.5, s: 42.6, l: 54.9, alpha: 1 },
1542
+ css: {
1543
+ value: "light-dark(hsl(116.1, 46.6%, 25.7%), hsl(106.5, 42.6%, 54.9%))",
1544
+ variable: "var(--kds-color-connector-insertable)",
1545
+ },
1546
+ },
1523
1547
  },
1524
1548
  elevation: {
1525
1549
  top: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-styles",
3
- "version": "6.6.0",
3
+ "version": "6.7.0",
4
4
  "description": "Package containing the design tokens and icons for the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",