@knime/kds-styles 0.6.7 → 0.8.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.
@@ -143,13 +143,13 @@ syntax: "<color>";
143
143
  @property --kds-color-background-danger-hover {
144
144
  syntax: "<color>";
145
145
  inherits: true;
146
- initial-value: hsl(3 100% 86%);
146
+ initial-value: hsl(2 100% 92%);
147
147
  }
148
148
 
149
149
  @property --kds-color-background-danger-active {
150
150
  syntax: "<color>";
151
151
  inherits: true;
152
- initial-value: hsl(4 100% 80%);
152
+ initial-value: hsl(3 100% 86%);
153
153
  }
154
154
 
155
155
  @property --kds-color-background-danger-bold-initial {
@@ -1118,6 +1118,12 @@ syntax: "<string>";
1118
1118
  initial-value: 2px solid hsl(345 0% 10% / 0.74);
1119
1119
  }
1120
1120
 
1121
+ @property --kds-border-color-picker-handle-initial {
1122
+ syntax: "<string>";
1123
+ inherits: false;
1124
+ initial-value: 2px solid hsl(0 0% 99%);
1125
+ }
1126
+
1121
1127
  @property --kds-elevation-level-0 {
1122
1128
  syntax: "<string>";
1123
1129
  inherits: false;
@@ -1149,12 +1149,6 @@ syntax: "<string>";
1149
1149
  }
1150
1150
 
1151
1151
  @property --kds-core-line-height-singleline {
1152
- syntax: "<number> | <percentage>";
1153
- inherits: true;
1154
- initial-value: 1;
1155
- }
1156
-
1157
- @property --kds-core-line-height-multiline-narrow {
1158
1152
  syntax: "<number> | <percentage>";
1159
1153
  inherits: true;
1160
1154
  initial-value: 1.3;
@@ -1343,13 +1337,13 @@ syntax: "<color>";
1343
1337
  @property --kds-color-background-danger-hover {
1344
1338
  syntax: "<color>";
1345
1339
  inherits: true;
1346
- initial-value: light-dark(hsl(3 100% 86%), hsl(349 91% 35% / 0.72));
1340
+ initial-value: light-dark(hsl(2 100% 92%), hsl(349 91% 35% / 0.72));
1347
1341
  }
1348
1342
 
1349
1343
  @property --kds-color-background-danger-active {
1350
1344
  syntax: "<color>";
1351
1345
  inherits: true;
1352
- initial-value: light-dark(hsl(4 100% 80%), hsl(353 75% 45% / 0.72));
1346
+ initial-value: light-dark(hsl(3 100% 86%), hsl(353 75% 45% / 0.72));
1353
1347
  }
1354
1348
 
1355
1349
  @property --kds-color-background-danger-bold-initial {
@@ -2408,6 +2402,12 @@ syntax: "<string>";
2408
2402
  initial-value: 2px solid light-dark(hsl(345 0% 10% / 0.74), hsl(330 0% 99% / 0.68));
2409
2403
  }
2410
2404
 
2405
+ @property --kds-border-color-picker-handle-initial {
2406
+ syntax: "<string>";
2407
+ inherits: false;
2408
+ initial-value: 2px solid hsl(0 0% 99%);
2409
+ }
2410
+
2411
2411
  @property --kds-sizing-viewport-breakpoints-576 {
2412
2412
  syntax: "<length>";
2413
2413
  inherits: false;
@@ -2558,6 +2558,12 @@ syntax: "<length>";
2558
2558
  initial-value: 4px;
2559
2559
  }
2560
2560
 
2561
+ @property --kds-dimension-component-height-0-125x {
2562
+ syntax: "<length>";
2563
+ inherits: false;
2564
+ initial-value: 2px;
2565
+ }
2566
+
2561
2567
  @property --kds-dimension-component-height-0-25x {
2562
2568
  syntax: "<length>";
2563
2569
  inherits: false;
@@ -2618,6 +2624,30 @@ syntax: "<length>";
2618
2624
  initial-value: 64px;
2619
2625
  }
2620
2626
 
2627
+ @property --kds-dimension-component-height-12x {
2628
+ syntax: "<length>";
2629
+ inherits: false;
2630
+ initial-value: 192px;
2631
+ }
2632
+
2633
+ @property --kds-dimension-component-height-20x {
2634
+ syntax: "<length>";
2635
+ inherits: false;
2636
+ initial-value: 320px;
2637
+ }
2638
+
2639
+ @property --kds-dimension-component-height-45x {
2640
+ syntax: "<length>";
2641
+ inherits: false;
2642
+ initial-value: 720px;
2643
+ }
2644
+
2645
+ @property --kds-dimension-component-width-0-125x {
2646
+ syntax: "<length>";
2647
+ inherits: false;
2648
+ initial-value: 2px;
2649
+ }
2650
+
2621
2651
  @property --kds-dimension-component-width-0-25x {
2622
2652
  syntax: "<length>";
2623
2653
  inherits: false;
@@ -2672,16 +2702,16 @@ syntax: "<length>";
2672
2702
  initial-value: 64px;
2673
2703
  }
2674
2704
 
2675
- @property --kds-dimension-component-width-25x {
2705
+ @property --kds-dimension-component-width-16x {
2676
2706
  syntax: "<length>";
2677
2707
  inherits: false;
2678
- initial-value: 400px;
2708
+ initial-value: 256px;
2679
2709
  }
2680
2710
 
2681
- @property --kds-dimension-component-width-16x {
2711
+ @property --kds-dimension-component-width-25x {
2682
2712
  syntax: "<length>";
2683
2713
  inherits: false;
2684
- initial-value: 256px;
2714
+ initial-value: 400px;
2685
2715
  }
2686
2716
 
2687
2717
  @property --kds-dimension-component-width-32x {
@@ -2759,43 +2789,43 @@ syntax: "<string>";
2759
2789
  @property --kds-font-base-title-xsmall {
2760
2790
  syntax: "<string>";
2761
2791
  inherits: true;
2762
- initial-value: 500 10px/1 Roboto, sans-serif;
2792
+ initial-value: 500 10px/1.3 Roboto, sans-serif;
2763
2793
  }
2764
2794
 
2765
2795
  @property --kds-font-base-title-small {
2766
2796
  syntax: "<string>";
2767
2797
  inherits: true;
2768
- initial-value: 500 12px/1 Roboto, sans-serif;
2798
+ initial-value: 500 12px/1.3 Roboto, sans-serif;
2769
2799
  }
2770
2800
 
2771
2801
  @property --kds-font-base-title-small-strong {
2772
2802
  syntax: "<string>";
2773
2803
  inherits: true;
2774
- initial-value: 700 12px/1 Roboto, sans-serif;
2804
+ initial-value: 700 12px/1.3 Roboto, sans-serif;
2775
2805
  }
2776
2806
 
2777
2807
  @property --kds-font-base-title-medium {
2778
2808
  syntax: "<string>";
2779
2809
  inherits: true;
2780
- initial-value: 500 14px/1 Roboto, sans-serif;
2810
+ initial-value: 500 14px/1.3 Roboto, sans-serif;
2781
2811
  }
2782
2812
 
2783
2813
  @property --kds-font-base-title-medium-strong {
2784
2814
  syntax: "<string>";
2785
2815
  inherits: true;
2786
- initial-value: 700 14px/1 Roboto, sans-serif;
2816
+ initial-value: 700 14px/1.3 Roboto, sans-serif;
2787
2817
  }
2788
2818
 
2789
2819
  @property --kds-font-base-title-large {
2790
2820
  syntax: "<string>";
2791
2821
  inherits: true;
2792
- initial-value: 500 16px/1 Roboto, sans-serif;
2822
+ initial-value: 500 16px/1.3 Roboto, sans-serif;
2793
2823
  }
2794
2824
 
2795
2825
  @property --kds-font-base-title-large-strong {
2796
2826
  syntax: "<string>";
2797
2827
  inherits: true;
2798
- initial-value: 700 16px/1 Roboto, sans-serif;
2828
+ initial-value: 700 16px/1.3 Roboto, sans-serif;
2799
2829
  }
2800
2830
 
2801
2831
  @property --kds-font-base-body-small {
@@ -2831,7 +2861,7 @@ syntax: "<string>";
2831
2861
  @property --kds-font-base-body-large {
2832
2862
  syntax: "<string>";
2833
2863
  inherits: true;
2834
- initial-value: 400 16px/1.3 Roboto, sans-serif;
2864
+ initial-value: 400 16px/1.5 Roboto, sans-serif;
2835
2865
  }
2836
2866
 
2837
2867
  @property --kds-font-base-body-xlarge {
@@ -2843,7 +2873,7 @@ syntax: "<string>";
2843
2873
  @property --kds-font-base-subtext-xsmall {
2844
2874
  syntax: "<string>";
2845
2875
  inherits: true;
2846
- initial-value: 400 9px Roboto, sans-serif;
2876
+ initial-value: 400 9px/1.3 Roboto, sans-serif;
2847
2877
  }
2848
2878
 
2849
2879
  @property --kds-font-base-subtext-small {
@@ -2861,55 +2891,55 @@ syntax: "<string>";
2861
2891
  @property --kds-font-base-interactive-xsmall-strong {
2862
2892
  syntax: "<string>";
2863
2893
  inherits: true;
2864
- initial-value: 500 11px/1 Roboto, sans-serif;
2894
+ initial-value: 500 11px/1.3 Roboto, sans-serif;
2865
2895
  }
2866
2896
 
2867
2897
  @property --kds-font-base-interactive-small {
2868
2898
  syntax: "<string>";
2869
2899
  inherits: true;
2870
- initial-value: 400 12px/1 Roboto, sans-serif;
2900
+ initial-value: 400 12px/1.3 Roboto, sans-serif;
2871
2901
  }
2872
2902
 
2873
2903
  @property --kds-font-base-interactive-small-italic {
2874
2904
  syntax: "<string>";
2875
2905
  inherits: true;
2876
- initial-value: italic 400 12px/1 Roboto, sans-serif;
2906
+ initial-value: italic 400 12px/1.3 Roboto, sans-serif;
2877
2907
  }
2878
2908
 
2879
2909
  @property --kds-font-base-interactive-small-strong {
2880
2910
  syntax: "<string>";
2881
2911
  inherits: true;
2882
- initial-value: 500 12px/1 Roboto, sans-serif;
2912
+ initial-value: 500 12px/1.3 Roboto, sans-serif;
2883
2913
  }
2884
2914
 
2885
2915
  @property --kds-font-base-interactive-medium {
2886
2916
  syntax: "<string>";
2887
2917
  inherits: true;
2888
- initial-value: 400 14px/1 Roboto, sans-serif;
2918
+ initial-value: 400 14px/1.3 Roboto, sans-serif;
2889
2919
  }
2890
2920
 
2891
2921
  @property --kds-font-base-interactive-medium-strong {
2892
2922
  syntax: "<string>";
2893
2923
  inherits: true;
2894
- initial-value: 500 14px/1 Roboto, sans-serif;
2924
+ initial-value: 500 14px/1.3 Roboto, sans-serif;
2895
2925
  }
2896
2926
 
2897
2927
  @property --kds-font-base-interactive-large {
2898
2928
  syntax: "<string>";
2899
2929
  inherits: true;
2900
- initial-value: 400 16px/1 Roboto, sans-serif;
2930
+ initial-value: 400 16px/1.3 Roboto, sans-serif;
2901
2931
  }
2902
2932
 
2903
2933
  @property --kds-font-base-interactive-large-strong {
2904
2934
  syntax: "<string>";
2905
2935
  inherits: true;
2906
- initial-value: 500 16px/1 Roboto, sans-serif;
2936
+ initial-value: 500 16px/1.3 Roboto, sans-serif;
2907
2937
  }
2908
2938
 
2909
2939
  @property --kds-font-base-code-xsmall {
2910
2940
  syntax: "<string>";
2911
2941
  inherits: true;
2912
- initial-value: 400 10px/1 'Roboto Mono', monospace;
2942
+ initial-value: 400 10px/1.3 'Roboto Mono', monospace;
2913
2943
  }
2914
2944
 
2915
2945
  @property --kds-font-base-code-small {
@@ -26,8 +26,8 @@
26
26
  --kds-color-background-selected-bold-hover: hsl(0 0% 16%);
27
27
  --kds-color-background-selected-bold-active: hsl(0 0% 13%);
28
28
  --kds-color-background-danger-initial: hsl(0 100% 97%);
29
- --kds-color-background-danger-hover: hsl(3 100% 86%);
30
- --kds-color-background-danger-active: hsl(4 100% 80%);
29
+ --kds-color-background-danger-hover: hsl(2 100% 92%);
30
+ --kds-color-background-danger-active: hsl(3 100% 86%);
31
31
  --kds-color-background-danger-bold-initial: hsl(349 91% 35%);
32
32
  --kds-color-background-danger-bold-hover: hsl(348 97% 27%);
33
33
  --kds-color-background-danger-bold-active: hsl(348 94% 21%);
@@ -189,6 +189,7 @@
189
189
  --kds-border-resize-handle-initial: 2px solid hsl(345 0% 10% / 0.4);
190
190
  --kds-border-resize-handle-hover: 2px solid hsl(345 0% 10% / 0.64);
191
191
  --kds-border-resize-handle-active: 2px solid hsl(345 0% 10% / 0.74);
192
+ --kds-border-color-picker-handle-initial: 2px solid hsl(0 0% 99%);
192
193
  --kds-elevation-level-0: 0 0 0 0 hsl(330 0% 73% / 0.32);
193
194
  --kds-elevation-level-1: 0 1px 1px 0 hsl(330 0% 73% / 0.32), 0 0 1px 0 hsl(330 0% 32% / 0.14), 0 0 8px 0 hsl(330 0% 32% / 0.12);
194
195
  --kds-elevation-level-3: 0 2px 4px 0 hsl(330 0% 73% / 0.32), 0 4px 8px 0 hsl(330 0% 32% / 0.14), 0 0 20px 0 hsl(330 0% 32% / 0.12);
@@ -194,8 +194,7 @@
194
194
  --kds-core-font-weight-strong: 700;
195
195
  --kds-core-font-weight-strong-italic-weight: 700;
196
196
  --kds-core-font-weight-strong-italic-style: italic;
197
- --kds-core-line-height-singleline: 1;
198
- --kds-core-line-height-multiline-narrow: 1.3;
197
+ --kds-core-line-height-singleline: 1.3;
199
198
  --kds-core-line-height-multiline-wide: 1.5;
200
199
  --kds-core-size-scale: 16px;
201
200
  --kds-core-border-width-none: 0;
@@ -226,8 +225,8 @@
226
225
  --kds-color-background-selected-bold-hover: light-dark(hsl(176 67% 22%), hsl(174 48% 31%));
227
226
  --kds-color-background-selected-bold-active: light-dark(hsl(177 82% 18%), hsl(172 27% 48%));
228
227
  --kds-color-background-danger-initial: light-dark(hsl(0 100% 97%), hsl(356.66 65.093% 15.235%));
229
- --kds-color-background-danger-hover: light-dark(hsl(3 100% 86%), hsl(349 91% 35% / 0.72));
230
- --kds-color-background-danger-active: light-dark(hsl(4 100% 80%), hsl(353 75% 45% / 0.72));
228
+ --kds-color-background-danger-hover: light-dark(hsl(2 100% 92%), hsl(349 91% 35% / 0.72));
229
+ --kds-color-background-danger-active: light-dark(hsl(3 100% 86%), hsl(353 75% 45% / 0.72));
231
230
  --kds-color-background-danger-bold-initial: light-dark(hsl(349 91% 35%), hsl(348 97% 27%));
232
231
  --kds-color-background-danger-bold-hover: light-dark(hsl(348 97% 27%), hsl(353 75% 45% / 0.8));
233
232
  --kds-color-background-danger-bold-active: light-dark(hsl(348 94% 21%), hsl(356 77% 54% / 0.8));
@@ -404,6 +403,7 @@
404
403
  --kds-border-resize-handle-initial: 2px solid light-dark(hsl(345 0% 10% / 0.4), hsl(330 0% 99% / 0.4));
405
404
  --kds-border-resize-handle-hover: 2px solid light-dark(hsl(345 0% 10% / 0.64), hsl(330 0% 99% / 0.58));
406
405
  --kds-border-resize-handle-active: 2px solid light-dark(hsl(345 0% 10% / 0.74), hsl(330 0% 99% / 0.68));
406
+ --kds-border-color-picker-handle-initial: 2px solid hsl(0 0% 99%);
407
407
  --kds-sizing-viewport-breakpoints-576: 576px;
408
408
  --kds-sizing-viewport-breakpoints-768: 768px;
409
409
  --kds-sizing-viewport-breakpoints-1024: 1024px;
@@ -429,6 +429,7 @@
429
429
  --kds-spacing-offset-focus: 1px;
430
430
  --kds-spacing-input-label-spacing-bottom: 6px;
431
431
  --kds-spacing-sub-text-spacing-top: 4px;
432
+ --kds-dimension-component-height-0-125x: 2px;
432
433
  --kds-dimension-component-height-0-25x: 4px;
433
434
  --kds-dimension-component-height-0-75x: 12px;
434
435
  --kds-dimension-component-height-0-88x: 14px;
@@ -439,6 +440,10 @@
439
440
  --kds-dimension-component-height-2-25x: 36px;
440
441
  --kds-dimension-component-height-2-5x: 40px;
441
442
  --kds-dimension-component-height-4x: 64px;
443
+ --kds-dimension-component-height-12x: 192px;
444
+ --kds-dimension-component-height-20x: 320px;
445
+ --kds-dimension-component-height-45x: 720px;
446
+ --kds-dimension-component-width-0-125x: 2px;
442
447
  --kds-dimension-component-width-0-25x: 4px;
443
448
  --kds-dimension-component-width-0-75x: 12px;
444
449
  --kds-dimension-component-width-0-88x: 14px;
@@ -448,8 +453,8 @@
448
453
  --kds-dimension-component-width-1-75x: 28px;
449
454
  --kds-dimension-component-width-2-25x: 36px;
450
455
  --kds-dimension-component-width-4x: 64px;
451
- --kds-dimension-component-width-25x: 400px;
452
456
  --kds-dimension-component-width-16x: 256px;
457
+ --kds-dimension-component-width-25x: 400px;
453
458
  --kds-dimension-component-width-32x: 512px;
454
459
  --kds-dimension-component-width-45x: 720px;
455
460
  --kds-dimension-component-width-61x: 976px;
@@ -462,32 +467,32 @@
462
467
  --kds-font-base-display-medium: 700 24px/1.3 Roboto, sans-serif;
463
468
  --kds-font-base-display-large: 700 32px/1.3 Roboto, sans-serif;
464
469
  --kds-font-base-display-xlarge: 700 40px/1.3 Roboto, sans-serif;
465
- --kds-font-base-title-xsmall: 500 10px/1 Roboto, sans-serif;
466
- --kds-font-base-title-small: 500 12px/1 Roboto, sans-serif;
467
- --kds-font-base-title-small-strong: 700 12px/1 Roboto, sans-serif;
468
- --kds-font-base-title-medium: 500 14px/1 Roboto, sans-serif;
469
- --kds-font-base-title-medium-strong: 700 14px/1 Roboto, sans-serif;
470
- --kds-font-base-title-large: 500 16px/1 Roboto, sans-serif;
471
- --kds-font-base-title-large-strong: 700 16px/1 Roboto, sans-serif;
470
+ --kds-font-base-title-xsmall: 500 10px/1.3 Roboto, sans-serif;
471
+ --kds-font-base-title-small: 500 12px/1.3 Roboto, sans-serif;
472
+ --kds-font-base-title-small-strong: 700 12px/1.3 Roboto, sans-serif;
473
+ --kds-font-base-title-medium: 500 14px/1.3 Roboto, sans-serif;
474
+ --kds-font-base-title-medium-strong: 700 14px/1.3 Roboto, sans-serif;
475
+ --kds-font-base-title-large: 500 16px/1.3 Roboto, sans-serif;
476
+ --kds-font-base-title-large-strong: 700 16px/1.3 Roboto, sans-serif;
472
477
  --kds-font-base-body-small: 400 12px/1.5 Roboto, sans-serif;
473
478
  --kds-font-base-body-small-italic: italic 400 12px/1.5 Roboto, sans-serif;
474
479
  --kds-font-base-body-small-strong: 700 12px/1.5 Roboto, sans-serif;
475
480
  --kds-font-base-body-small-strong-italic: italic 700 12px/1.5 Roboto, sans-serif;
476
481
  --kds-font-base-body-medium: 400 14px/1.5 Roboto, sans-serif;
477
- --kds-font-base-body-large: 400 16px/1.3 Roboto, sans-serif;
482
+ --kds-font-base-body-large: 400 16px/1.5 Roboto, sans-serif;
478
483
  --kds-font-base-body-xlarge: 400 20px/1.5 Roboto, sans-serif;
479
- --kds-font-base-subtext-xsmall: 400 9px Roboto, sans-serif;
484
+ --kds-font-base-subtext-xsmall: 400 9px/1.3 Roboto, sans-serif;
480
485
  --kds-font-base-subtext-small: 400 10px/1.3 Roboto, sans-serif;
481
486
  --kds-font-base-subtext-medium: 400 12px/1.3 Roboto, sans-serif;
482
- --kds-font-base-interactive-xsmall-strong: 500 11px/1 Roboto, sans-serif;
483
- --kds-font-base-interactive-small: 400 12px/1 Roboto, sans-serif;
484
- --kds-font-base-interactive-small-italic: italic 400 12px/1 Roboto, sans-serif;
485
- --kds-font-base-interactive-small-strong: 500 12px/1 Roboto, sans-serif;
486
- --kds-font-base-interactive-medium: 400 14px/1 Roboto, sans-serif;
487
- --kds-font-base-interactive-medium-strong: 500 14px/1 Roboto, sans-serif;
488
- --kds-font-base-interactive-large: 400 16px/1 Roboto, sans-serif;
489
- --kds-font-base-interactive-large-strong: 500 16px/1 Roboto, sans-serif;
490
- --kds-font-base-code-xsmall: 400 10px/1 'Roboto Mono', monospace;
487
+ --kds-font-base-interactive-xsmall-strong: 500 11px/1.3 Roboto, sans-serif;
488
+ --kds-font-base-interactive-small: 400 12px/1.3 Roboto, sans-serif;
489
+ --kds-font-base-interactive-small-italic: italic 400 12px/1.3 Roboto, sans-serif;
490
+ --kds-font-base-interactive-small-strong: 500 12px/1.3 Roboto, sans-serif;
491
+ --kds-font-base-interactive-medium: 400 14px/1.3 Roboto, sans-serif;
492
+ --kds-font-base-interactive-medium-strong: 500 14px/1.3 Roboto, sans-serif;
493
+ --kds-font-base-interactive-large: 400 16px/1.3 Roboto, sans-serif;
494
+ --kds-font-base-interactive-large-strong: 500 16px/1.3 Roboto, sans-serif;
495
+ --kds-font-base-code-xsmall: 400 10px/1.3 'Roboto Mono', monospace;
491
496
  --kds-font-base-code-small: 400 11px/1.3 'Roboto Mono', monospace;
492
497
  --kds-font-workflow-annotation-headline-h1: 700 36px/1.5 'Roboto Condensed', sans-serif;
493
498
  --kds-font-workflow-annotation-headline-h2: 700 30px/1.5 'Roboto Condensed', sans-serif;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-styles",
3
- "version": "0.6.7",
3
+ "version": "0.8.0",
4
4
  "description": "Package containing the design tokens and icons for the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -17,11 +17,11 @@
17
17
  "modern-normalize": "3.0.1"
18
18
  },
19
19
  "devDependencies": {
20
- "@tokens-studio/sd-transforms": "^2.0.1",
21
- "@types/jsdom": "^21.1.7",
20
+ "@tokens-studio/sd-transforms": "^2.0.3",
21
+ "@types/jsdom": "^27.0.0",
22
22
  "@types/node": "^25.0.10",
23
23
  "consola": "^3.4.2",
24
- "jsdom": "^27.0.0",
24
+ "jsdom": "^28.0.0",
25
25
  "style-dictionary": "^5.2.0",
26
26
  "svgo": "^4.0.0",
27
27
  "typescript": "^5.9.3"