@knime/kds-styles 6.5.0 → 6.6.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 +13 -0
- package/dist/img/icons/def.ts +1 -0
- package/dist/img/icons/pause-execution.svg +1 -0
- package/dist/tokens/css/_properties.css +31 -1
- package/dist/tokens/css/_variables.css +6 -1
- package/dist/tokens/ts/color.d.ts +12 -0
- package/dist/tokens/ts/color.js +27 -3
- package/dist/tokens/ts/dimension.d.ts +8 -0
- package/dist/tokens/ts/dimension.js +16 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,18 @@
|
|
|
1
1
|
# @knime/kds-styles
|
|
2
2
|
|
|
3
|
+
## 6.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 02c9f3c: KDS-994: Add pause execution icon for loop nodes
|
|
8
|
+
- aba9f9c: Kds 993 Add missing workflow editor tokens for connector states
|
|
9
|
+
|
|
10
|
+
## 6.6.0
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 19c91aa: KDS-992: Add width tokens for content optimization e.g. of multi column layouts inside containers
|
|
15
|
+
|
|
3
16
|
## 6.5.0
|
|
4
17
|
|
|
5
18
|
## 6.4.0
|
package/dist/img/icons/def.ts
CHANGED
|
@@ -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%,
|
|
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;
|
|
@@ -3122,6 +3140,18 @@ syntax: "<length>";
|
|
|
3122
3140
|
initial-value: 64px;
|
|
3123
3141
|
}
|
|
3124
3142
|
|
|
3143
|
+
@property --kds-dimension-component-width-6x {
|
|
3144
|
+
syntax: "<length>";
|
|
3145
|
+
inherits: false;
|
|
3146
|
+
initial-value: 96px;
|
|
3147
|
+
}
|
|
3148
|
+
|
|
3149
|
+
@property --kds-dimension-component-width-8x {
|
|
3150
|
+
syntax: "<length>";
|
|
3151
|
+
inherits: false;
|
|
3152
|
+
initial-value: 128px;
|
|
3153
|
+
}
|
|
3154
|
+
|
|
3125
3155
|
@property --kds-dimension-component-width-12x {
|
|
3126
3156
|
syntax: "<length>";
|
|
3127
3157
|
inherits: false;
|
|
@@ -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%,
|
|
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));
|
|
@@ -523,6 +526,8 @@
|
|
|
523
526
|
--kds-dimension-component-width-2-25x: 36px;
|
|
524
527
|
--kds-dimension-component-width-2-75x: 44px;
|
|
525
528
|
--kds-dimension-component-width-4x: 64px;
|
|
529
|
+
--kds-dimension-component-width-6x: 96px;
|
|
530
|
+
--kds-dimension-component-width-8x: 128px;
|
|
526
531
|
--kds-dimension-component-width-12x: 192px;
|
|
527
532
|
--kds-dimension-component-width-12-5x: 200px;
|
|
528
533
|
--kds-dimension-component-width-16x: 256px;
|
|
@@ -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
|
/**
|
package/dist/tokens/ts/color.js
CHANGED
|
@@ -1505,10 +1505,10 @@ export const color = {
|
|
|
1505
1505
|
},
|
|
1506
1506
|
connector: {
|
|
1507
1507
|
data: {
|
|
1508
|
-
light: { h: 0, s: 0, l:
|
|
1509
|
-
dark: { h: 0, s: 0, l:
|
|
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%,
|
|
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: {
|
|
@@ -128,6 +128,14 @@ export type KdsDimensionTokens = {
|
|
|
128
128
|
* Extra large component width (64px). Use for large interactive elements.
|
|
129
129
|
*/
|
|
130
130
|
readonly "4x": KdsDimension;
|
|
131
|
+
/**
|
|
132
|
+
* Extra large component width (96px). Use for width and max-width sizing of multi-column content or components that must align with surrounding layout.
|
|
133
|
+
*/
|
|
134
|
+
readonly "6x": KdsDimension;
|
|
135
|
+
/**
|
|
136
|
+
* Extra large component width (128px). Use for width and max-width sizing of components that must align with a wider layout unit.
|
|
137
|
+
*/
|
|
138
|
+
readonly "8x": KdsDimension;
|
|
131
139
|
/**
|
|
132
140
|
* Container width (192px). Use for listContainer and menuContainer.
|
|
133
141
|
*/
|
|
@@ -247,6 +247,22 @@ export const dimension = {
|
|
|
247
247
|
variable: "var(--kds-dimension-component-width-4x)",
|
|
248
248
|
},
|
|
249
249
|
},
|
|
250
|
+
"6x": {
|
|
251
|
+
value: 96,
|
|
252
|
+
unit: "px",
|
|
253
|
+
css: {
|
|
254
|
+
value: "96px",
|
|
255
|
+
variable: "var(--kds-dimension-component-width-6x)",
|
|
256
|
+
},
|
|
257
|
+
},
|
|
258
|
+
"8x": {
|
|
259
|
+
value: 128,
|
|
260
|
+
unit: "px",
|
|
261
|
+
css: {
|
|
262
|
+
value: "128px",
|
|
263
|
+
variable: "var(--kds-dimension-component-width-8x)",
|
|
264
|
+
},
|
|
265
|
+
},
|
|
250
266
|
"12x": {
|
|
251
267
|
value: 192,
|
|
252
268
|
unit: "px",
|