@knime/kds-components 2.6.0 → 2.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 +8 -0
- package/dist/index.css +44 -19
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/overlays-DzSbLjAj.js.map +1 -1
- package/dist/src/components/accessories/KeyboardShortcut/KdsKeyboardShortcut.vue.d.ts.map +1 -1
- package/dist/src/components/buttons/Breadcrumb/types.d.ts.map +1 -1
- package/dist/src/components/feedback/EmptyState/types.d.ts.map +1 -1
- package/dist/src/components/feedback/ProgressBar/types.d.ts.map +1 -1
- package/dist/src/components/forms/inputs/IntervalInput/intervalUtils.d.ts.map +1 -1
- package/dist/src/layouts/explorer/FileExplorer/KdsFileExplorer.vue.d.ts.map +1 -1
- package/dist/src/layouts/explorer/FileExplorer/useItemDragging/index.d.ts.map +1 -1
- package/dist/src/layouts/overlays/Modal/useKdsDynamicModal.d.ts.map +1 -1
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# @knime/kds-components
|
|
2
2
|
|
|
3
|
+
## 2.6.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- 1f991d6: `KdsFileExplorer`: fix the empty-state message being pushed down / misaligned in Chrome.
|
|
8
|
+
- 3e20664: `KdsKeyboardShortcut` now sets `pointer-events: none` so hovering over a shortcut no longer changes the cursor (e.g. when displayed inside a menu item).
|
|
9
|
+
- @knime/kds-styles@2.6.1
|
|
10
|
+
|
|
3
11
|
## 2.6.0
|
|
4
12
|
|
|
5
13
|
### Minor Changes
|
package/dist/index.css
CHANGED
|
@@ -314,12 +314,16 @@
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
.kds-keyboard-shortcut {
|
|
317
|
-
&[data-v-
|
|
317
|
+
&[data-v-5a9d1e42] {
|
|
318
318
|
display: inline-flex;
|
|
319
319
|
gap: var(--kds-spacing-container-0-12x);
|
|
320
320
|
align-items: center;
|
|
321
|
+
|
|
322
|
+
/* Let hover fall through to the parent (e.g. a menu item) so the cursor
|
|
323
|
+
doesn't change when hovering over a shortcut. */
|
|
324
|
+
pointer-events: none;
|
|
321
325
|
}
|
|
322
|
-
& .shortcut-item[data-v-
|
|
326
|
+
& .shortcut-item[data-v-5a9d1e42] {
|
|
323
327
|
box-sizing: border-box;
|
|
324
328
|
display: inline-flex;
|
|
325
329
|
flex-shrink: 0;
|
|
@@ -328,20 +332,19 @@
|
|
|
328
332
|
color: var(--kds-color-text-and-icon-neutral);
|
|
329
333
|
text-align: right;
|
|
330
334
|
white-space: nowrap;
|
|
331
|
-
cursor: default;
|
|
332
335
|
user-select: none;
|
|
333
336
|
background-color: var(--kds-color-surface-default);
|
|
334
337
|
border: var(--kds-border-base-subtle);
|
|
335
338
|
border-radius: var(--kds-border-radius-container-0-25x);
|
|
336
339
|
}
|
|
337
|
-
&.small .shortcut-item[data-v-
|
|
340
|
+
&.small .shortcut-item[data-v-5a9d1e42] {
|
|
338
341
|
min-width: var(--kds-dimension-component-width-1x);
|
|
339
342
|
height: var(--kds-dimension-component-height-1x);
|
|
340
343
|
padding: 0
|
|
341
344
|
calc(var(--kds-spacing-container-0-25x) - var(--kds-core-border-width-xs));
|
|
342
345
|
font: var(--kds-font-base-interactive-xsmall-strong);
|
|
343
346
|
}
|
|
344
|
-
&.medium .shortcut-item[data-v-
|
|
347
|
+
&.medium .shortcut-item[data-v-5a9d1e42] {
|
|
345
348
|
min-width: var(--kds-dimension-component-width-1-5x);
|
|
346
349
|
height: var(--kds-dimension-component-height-1-5x);
|
|
347
350
|
padding: 0
|
|
@@ -3559,7 +3562,7 @@ td {
|
|
|
3559
3562
|
cursor: pointer;
|
|
3560
3563
|
}
|
|
3561
3564
|
|
|
3562
|
-
.file-explorer[data-v-
|
|
3565
|
+
.file-explorer[data-v-cb82d7d8] {
|
|
3563
3566
|
display: flex;
|
|
3564
3567
|
flex: 1 0 0%;
|
|
3565
3568
|
flex-direction: column;
|
|
@@ -3568,10 +3571,10 @@ td {
|
|
|
3568
3571
|
/* needed so that the virtualization container can size the wrapper properly */
|
|
3569
3572
|
min-height: 0;
|
|
3570
3573
|
}
|
|
3571
|
-
.file-explorer-item[data-v-
|
|
3572
|
-
height: var(--
|
|
3574
|
+
.file-explorer-item[data-v-cb82d7d8] {
|
|
3575
|
+
height: var(--v6268189a);
|
|
3573
3576
|
}
|
|
3574
|
-
thead[data-v-
|
|
3577
|
+
thead[data-v-cb82d7d8] {
|
|
3575
3578
|
/* Hide table head for better readability but keeping it for a11y reasons */
|
|
3576
3579
|
position: absolute;
|
|
3577
3580
|
|
|
@@ -3582,7 +3585,7 @@ thead[data-v-8fc5b63c] {
|
|
|
3582
3585
|
overflow: hidden;
|
|
3583
3586
|
white-space: nowrap; /* added line */
|
|
3584
3587
|
}
|
|
3585
|
-
table[data-v-
|
|
3588
|
+
table[data-v-cb82d7d8] {
|
|
3586
3589
|
height: 100%;
|
|
3587
3590
|
overflow: hidden auto;
|
|
3588
3591
|
scrollbar-gutter: stable;
|
|
@@ -3593,31 +3596,53 @@ table[data-v-8fc5b63c] {
|
|
|
3593
3596
|
}
|
|
3594
3597
|
table,
|
|
3595
3598
|
tbody {
|
|
3596
|
-
&[data-v-
|
|
3599
|
+
&[data-v-cb82d7d8] {
|
|
3597
3600
|
width: 100%;
|
|
3598
3601
|
border-spacing: 0;
|
|
3599
3602
|
}
|
|
3600
|
-
&[data-v-
|
|
3603
|
+
&[data-v-cb82d7d8]:not(:has(.empty)) {
|
|
3601
3604
|
display: block;
|
|
3602
3605
|
}
|
|
3603
3606
|
}
|
|
3604
3607
|
table:focus {
|
|
3605
|
-
&[data-v-
|
|
3608
|
+
&[data-v-cb82d7d8] {
|
|
3606
3609
|
outline: none;
|
|
3607
3610
|
}
|
|
3608
|
-
&.keyboard-focus[data-v-
|
|
3611
|
+
&.keyboard-focus[data-v-cb82d7d8] {
|
|
3609
3612
|
outline: 2px solid var(--kds-color-focus-outline);
|
|
3610
3613
|
border-radius: var(--kds-border-radius-container-0-25x);
|
|
3611
3614
|
}
|
|
3612
3615
|
}
|
|
3613
|
-
|
|
3616
|
+
|
|
3617
|
+
/*
|
|
3618
|
+
* Empty state layout. When the folder is empty there are no virtualized rows,
|
|
3619
|
+
* so we drop the CSS-table display and lay the message out with flexbox.
|
|
3620
|
+
* This keeps the message at the top with a fixed top spacing, horizontally centered,
|
|
3621
|
+
* and lets the bordered box grow to contain it. The previous solution with a `height: 100%`
|
|
3622
|
+
* CSS table instead distributed the single short row inconsistently
|
|
3623
|
+
* (Chrome centers it, Firefox keeps it at the top).
|
|
3624
|
+
*/
|
|
3625
|
+
table[data-v-cb82d7d8]:has(.empty) {
|
|
3626
|
+
display: flex;
|
|
3627
|
+
flex-direction: column;
|
|
3628
|
+
|
|
3629
|
+
/* Give the empty box a reasonable minimum height instead of hugging the
|
|
3630
|
+
* message when the surrounding container is only as tall as its content. */
|
|
3631
|
+
min-height: var(--kds-dimension-component-height-12-5x);
|
|
3632
|
+
}
|
|
3633
|
+
tbody[data-v-cb82d7d8]:has(.empty) {
|
|
3614
3634
|
display: flex;
|
|
3635
|
+
flex: 1 0 0;
|
|
3636
|
+
flex-direction: column;
|
|
3615
3637
|
align-items: center;
|
|
3616
|
-
|
|
3617
|
-
padding: var(--kds-spacing-container-
|
|
3618
|
-
|
|
3638
|
+
min-height: max-content;
|
|
3639
|
+
padding-top: var(--kds-spacing-container-4x);
|
|
3640
|
+
}
|
|
3641
|
+
.empty[data-v-cb82d7d8],
|
|
3642
|
+
.empty td[data-v-cb82d7d8] {
|
|
3643
|
+
display: block;
|
|
3619
3644
|
}
|
|
3620
|
-
.custom-preview[data-v-
|
|
3645
|
+
.custom-preview[data-v-cb82d7d8] {
|
|
3621
3646
|
position: fixed;
|
|
3622
3647
|
top: 0;
|
|
3623
3648
|
left: 0;
|
package/dist/index.js
CHANGED
|
@@ -6132,7 +6132,7 @@ var KdsKeyboardShortcut_default = /*#__PURE__*/ _plugin_vue_export_helper_defaul
|
|
|
6132
6132
|
}), 128))], 2);
|
|
6133
6133
|
};
|
|
6134
6134
|
}
|
|
6135
|
-
}), [["__scopeId", "data-v-
|
|
6135
|
+
}), [["__scopeId", "data-v-5a9d1e42"]]);
|
|
6136
6136
|
//#endregion
|
|
6137
6137
|
//#region src/components/accessories/LiveStatus/KdsLiveStatus.vue?vue&type=script&setup=true&lang.ts
|
|
6138
6138
|
var _hoisted_1$65 = ["aria-label"];
|
|
@@ -28277,7 +28277,7 @@ var KdsFileExplorer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
28277
28277
|
"renameFile"
|
|
28278
28278
|
], ["update:activeRenamedItemId"]),
|
|
28279
28279
|
setup(__props, { emit: __emit }) {
|
|
28280
|
-
useCssVars((_ctx) => ({ "
|
|
28280
|
+
useCssVars((_ctx) => ({ "v6268189a": itemHeight.value + "px" }));
|
|
28281
28281
|
const props = __props;
|
|
28282
28282
|
/** The id of the item currently being renamed. */
|
|
28283
28283
|
const activeRenamedItemId = useModel(__props, "activeRenamedItemId");
|
|
@@ -28641,7 +28641,7 @@ var KdsFileExplorer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/*
|
|
|
28641
28641
|
}, 8, ["model-value"])]);
|
|
28642
28642
|
};
|
|
28643
28643
|
}
|
|
28644
|
-
}), [["__scopeId", "data-v-
|
|
28644
|
+
}), [["__scopeId", "data-v-cb82d7d8"]]);
|
|
28645
28645
|
//#endregion
|
|
28646
28646
|
//#region src/layouts/explorer/FileExplorer/enums.ts
|
|
28647
28647
|
var kdsFileExplorerSize = {
|