@knime/kds-components 2.1.0 → 2.3.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.
Files changed (31) hide show
  1. package/CHANGELOG.md +28 -0
  2. package/dist/duration-BffKqwjr.js +23 -0
  3. package/dist/duration-BffKqwjr.js.map +1 -0
  4. package/dist/{expand-panel-C0-YqxWN.js → expand-panel-B4eJWsMd.js} +2 -2
  5. package/dist/expand-panel-B4eJWsMd.js.map +1 -0
  6. package/dist/index.css +42 -29
  7. package/dist/index.js +92 -71
  8. package/dist/index.js.map +1 -1
  9. package/dist/insert-left-B2Sp62N9.js +23 -0
  10. package/dist/insert-left-B2Sp62N9.js.map +1 -0
  11. package/dist/insert-right-B0Z5pnUV.js +23 -0
  12. package/dist/insert-right-B0Z5pnUV.js.map +1 -0
  13. package/dist/more-connections-B76FWv01.js +23 -0
  14. package/dist/more-connections-B76FWv01.js.map +1 -0
  15. package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts +2 -2
  16. package/dist/src/containers/FileExplorer/KdsFileExplorer.vue.d.ts.map +1 -1
  17. package/dist/src/containers/FileExplorer/types.d.ts +1 -1
  18. package/dist/src/containers/FileExplorer/types.d.ts.map +1 -1
  19. package/dist/src/containers/FileExplorer/useItemDragging/index.d.ts +22 -14
  20. package/dist/src/containers/FileExplorer/useItemDragging/index.d.ts.map +1 -1
  21. package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts.map +1 -1
  22. package/dist/src/overlays/Tooltip/vKdsTooltip.d.ts.map +1 -1
  23. package/dist/{user-DTq28OjK.js → user-BG_65jhB.js} +2 -2
  24. package/dist/user-BG_65jhB.js.map +1 -0
  25. package/package.json +2 -2
  26. package/dist/duration-Dfp9ox2I.js +0 -23
  27. package/dist/duration-Dfp9ox2I.js.map +0 -1
  28. package/dist/expand-panel-C0-YqxWN.js.map +0 -1
  29. package/dist/more-connections-BDZGsY2Y.js +0 -23
  30. package/dist/more-connections-BDZGsY2Y.js.map +0 -1
  31. package/dist/user-DTq28OjK.js.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,33 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 2.3.0
4
+
5
+ ### Minor Changes
6
+
7
+ - 0fd468c: Adjust `KdsFileExplorer` event emission for dragend:
8
+ Now also emits when the drag event is cancelled or when ending outside the `KdsFileExplorer` itself
9
+
10
+ **BREAKING**: The event emission payload has changed and now has a possible `null` value for the `sourceItem` property. This will be the case when the event is cancelled, for example.
11
+
12
+ ### Patch Changes
13
+
14
+ - @knime/kds-styles@2.3.0
15
+
16
+ ## 2.2.0
17
+
18
+ ### Minor Changes
19
+
20
+ - 08d9109: - `KdsLoadingSkeleton`:
21
+ - render the default slot directly without a wrapping `<div>` when `loading` is `false`, improving layout composition in flex/grid parents.
22
+ - fallthrough attributes (`class`, `style`, `id`, …) now apply to the skeleton element while `loading` is `true` (previously they were only applied to the content wrapper while `loading` was `false`, and were silently dropped during loading).
23
+ - announce loading via a visually-hidden `<output>` live region (implicit `role="status"`; the decorative skeleton shapes stay `aria-hidden`) instead of the previous ineffective `aria-busy` attributes.
24
+
25
+ ### Patch Changes
26
+
27
+ - 05226cd: Fix bug with kds-tooltip where it would break consumer if vnodes change as the tooltip is attached to the dom
28
+ - Updated dependencies [6850f24]
29
+ - @knime/kds-styles@2.2.0
30
+
3
31
  ## 2.1.0
4
32
 
5
33
  ### Minor Changes
@@ -0,0 +1,23 @@
1
+ import { openBlock, createElementBlock, createElementVNode } from 'vue';
2
+
3
+ const _hoisted_1 = {
4
+ xmlns: "http://www.w3.org/2000/svg",
5
+ fill: "none",
6
+ stroke: "currentColor",
7
+ "stroke-linecap": "round",
8
+ "stroke-linejoin": "round",
9
+ viewBox: "0 0 12 12"
10
+ };
11
+
12
+ function render(_ctx, _cache) {
13
+ return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
14
+ createElementVNode("path", {
15
+ d: "M6 7.234V4.912M6.009 3V1m0 0H3.714M6.01 1h2.295M10 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-3.703.27a.288.288 0 1 1-.576 0 .288.288 0 0 1 .576 0",
16
+ "vector-effect": "non-scaling-stroke"
17
+ }, null, -1)
18
+ ]))]))
19
+ }
20
+ const duration = { render: render };
21
+
22
+ export { duration as default, render };
23
+ //# sourceMappingURL=duration-BffKqwjr.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"duration-BffKqwjr.js","sources":["../../styles/dist/img/icons/duration.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M6 7.234V4.912M6.009 3V1m0 0H3.714M6.01 1h2.295M10 7a4 4 0 1 1-8 0 4 4 0 0 1 8 0m-3.703.27a.288.288 0 1 1-.576 0 .288.288 0 0 1 .576 0\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,wIAAwI;AACjJ,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,iBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
@@ -12,7 +12,7 @@ const _hoisted_1 = {
12
12
  function render(_ctx, _cache) {
13
13
  return (openBlock(), createElementBlock("svg", _hoisted_1, [...(_cache[0] || (_cache[0] = [
14
14
  createElementVNode("path", {
15
- d: "M9.15 2.85h-1.7m1.7 0v1.7m0-1.7L7 5M3 9.15h1.7m-1.7 0v-1.7m0 1.7L5.15 7M1.5 11h9a.5.5 0 0 0 .5-.5v-9a.5.5 0 0 0-.5-.5h-9a.5.5 0 0 0-.5.5v9a.5.5 0 0 0 .5.5",
15
+ d: "M8.65 5.05v-1.7h-1.7m1.7 0L6.8 5.2M3.5 6.8v1.7h1.7m-1.7 0 1.85-1.85M2 10.5h8a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-.5-.5H2a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5",
16
16
  "vector-effect": "non-scaling-stroke"
17
17
  }, null, -1)
18
18
  ]))]))
@@ -20,4 +20,4 @@ function render(_ctx, _cache) {
20
20
  const expandPanel = { render: render };
21
21
 
22
22
  export { expandPanel as default, render };
23
- //# sourceMappingURL=expand-panel-C0-YqxWN.js.map
23
+ //# sourceMappingURL=expand-panel-B4eJWsMd.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"expand-panel-B4eJWsMd.js","sources":["../../styles/dist/img/icons/expand-panel.svg"],"sourcesContent":["import { createElementVNode as _createElementVNode, openBlock as _openBlock, createElementBlock as _createElementBlock } from \"vue\"\n\nconst _hoisted_1 = {\n xmlns: \"http://www.w3.org/2000/svg\",\n fill: \"none\",\n stroke: \"currentColor\",\n \"stroke-linecap\": \"round\",\n \"stroke-linejoin\": \"round\",\n viewBox: \"0 0 12 12\"\n}\n\nexport function render(_ctx, _cache) {\n return (_openBlock(), _createElementBlock(\"svg\", _hoisted_1, [...(_cache[0] || (_cache[0] = [\n _createElementVNode(\"path\", {\n d: \"M8.65 5.05v-1.7h-1.7m1.7 0L6.8 5.2M3.5 6.8v1.7h1.7m-1.7 0 1.85-1.85M2 10.5h8a.5.5 0 0 0 .5-.5V2a.5.5 0 0 0-.5-.5H2a.5.5 0 0 0-.5.5v8a.5.5 0 0 0 .5.5\",\n \"vector-effect\": \"non-scaling-stroke\"\n }, null, -1)\n ]))]))\n}\nexport default { render: render }"],"names":["_openBlock","_createElementBlock","_createElementVNode"],"mappings":";;AAEA,MAAM,UAAU,GAAG;AACnB,EAAE,KAAK,EAAE,4BAA4B;AACrC,EAAE,IAAI,EAAE,MAAM;AACd,EAAE,MAAM,EAAE,cAAc;AACxB,EAAE,gBAAgB,EAAE,OAAO;AAC3B,EAAE,iBAAiB,EAAE,OAAO;AAC5B,EAAE,OAAO,EAAE;AACX;;AAEO,SAAS,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE;AACrC,EAAE,QAAQA,SAAU,EAAE,EAAEC,kBAAmB,CAAC,KAAK,EAAE,UAAU,EAAE,CAAC,IAAI,MAAM,CAAC,CAAC,CAAC,KAAK,MAAM,CAAC,CAAC,CAAC,GAAG;AAC9F,IAAIC,kBAAmB,CAAC,MAAM,EAAE;AAChC,MAAM,CAAC,EAAE,sJAAsJ;AAC/J,MAAM,eAAe,EAAE;AACvB,KAAK,EAAE,IAAI,EAAE,EAAE;AACf,GAAG,CAAC,CAAC,CAAC,CAAC;AACP;AACA,oBAAe,EAAE,MAAM,EAAE,MAAM;;;;"}
package/dist/index.css CHANGED
@@ -2121,7 +2121,7 @@ to {
2121
2121
  cursor: pointer;
2122
2122
  }
2123
2123
 
2124
- .file-explorer[data-v-0e28cb55] {
2124
+ .file-explorer[data-v-21935d10] {
2125
2125
  display: flex;
2126
2126
  flex: 1 0 0%;
2127
2127
  flex-direction: column;
@@ -2130,10 +2130,10 @@ to {
2130
2130
  /* needed so that the virtualization container can size the wrapper properly */
2131
2131
  min-height: 0;
2132
2132
  }
2133
- .file-explorer-item[data-v-0e28cb55] {
2134
- height: var(--v38bb21ad);
2133
+ .file-explorer-item[data-v-21935d10] {
2134
+ height: var(--v3804660c);
2135
2135
  }
2136
- thead[data-v-0e28cb55] {
2136
+ thead[data-v-21935d10] {
2137
2137
  /* Hide table head for better readability but keeping it for a11y reasons */
2138
2138
  position: absolute;
2139
2139
 
@@ -2144,7 +2144,7 @@ thead[data-v-0e28cb55] {
2144
2144
  overflow: hidden;
2145
2145
  white-space: nowrap; /* added line */
2146
2146
  }
2147
- table[data-v-0e28cb55] {
2147
+ table[data-v-21935d10] {
2148
2148
  height: 100%;
2149
2149
  overflow: hidden auto;
2150
2150
  scrollbar-gutter: stable;
@@ -2155,31 +2155,31 @@ table[data-v-0e28cb55] {
2155
2155
  }
2156
2156
  table,
2157
2157
  tbody {
2158
- &[data-v-0e28cb55] {
2158
+ &[data-v-21935d10] {
2159
2159
  width: 100%;
2160
2160
  border-spacing: 0;
2161
2161
  }
2162
- &[data-v-0e28cb55]:not(:has(.empty)) {
2162
+ &[data-v-21935d10]:not(:has(.empty)) {
2163
2163
  display: block;
2164
2164
  }
2165
2165
  }
2166
2166
  table:focus {
2167
- &[data-v-0e28cb55] {
2167
+ &[data-v-21935d10] {
2168
2168
  outline: none;
2169
2169
  }
2170
- &.keyboard-focus[data-v-0e28cb55] {
2170
+ &.keyboard-focus[data-v-21935d10] {
2171
2171
  outline: 2px solid var(--kds-color-focus-outline);
2172
2172
  border-radius: var(--kds-border-radius-container-0-25x);
2173
2173
  }
2174
2174
  }
2175
- .empty[data-v-0e28cb55] {
2175
+ .empty[data-v-21935d10] {
2176
2176
  display: flex;
2177
2177
  align-items: center;
2178
2178
  justify-content: center;
2179
2179
  padding: var(--kds-spacing-container-0-37x);
2180
2180
  margin: var(--kds-spacing-container-4x) 0;
2181
2181
  }
2182
- .custom-preview[data-v-0e28cb55] {
2182
+ .custom-preview[data-v-21935d10] {
2183
2183
  position: fixed;
2184
2184
  top: 0;
2185
2185
  left: 0;
@@ -4285,39 +4285,52 @@ to {
4285
4285
  }
4286
4286
  }
4287
4287
 
4288
- .kds-loading-skeleton[data-v-b3b70d6e] {
4288
+ .kds-loading-skeleton[data-v-77702e5b] {
4289
4289
  display: flex;
4290
4290
  flex-direction: column;
4291
- gap: var(--v78e8b31c);
4291
+ gap: var(--be999f28);
4292
+ }
4293
+
4294
+ /* Visually hidden, but announced by assistive technology. */
4295
+ .kds-loading-skeleton-status[data-v-77702e5b] {
4296
+ position: absolute;
4297
+ width: 1px;
4298
+ height: 1px;
4299
+ padding: 0;
4300
+ margin: -1px;
4301
+ overflow: hidden;
4302
+ white-space: nowrap;
4303
+ border: 0;
4304
+ clip-path: inset(50%);
4292
4305
  }
4293
4306
  .kds-loading-skeleton-headline-with-paragraph {
4294
- &[data-v-b3b70d6e] {
4307
+ &[data-v-77702e5b] {
4295
4308
  display: grid;
4296
4309
  gap: var(--kds-spacing-container-1-25x);
4297
4310
  }
4298
- & .headline[data-v-b3b70d6e] {
4311
+ & .headline[data-v-77702e5b] {
4299
4312
  width: 50%;
4300
4313
  height: var(--kds-dimension-component-height-1x);
4301
4314
  }
4302
4315
  & .kds-loading-skeleton-paragraph-lines {
4303
- &[data-v-b3b70d6e] {
4316
+ &[data-v-77702e5b] {
4304
4317
  display: grid;
4305
4318
  gap: var(--kds-spacing-container-0-75x);
4306
4319
  }
4307
- &[data-v-b3b70d6e] > *:nth-child(2) {
4320
+ &[data-v-77702e5b] > *:nth-child(2) {
4308
4321
  width: 75%;
4309
4322
  }
4310
- &[data-v-b3b70d6e] > *:nth-child(3) {
4323
+ &[data-v-77702e5b] > *:nth-child(3) {
4311
4324
  width: 50%;
4312
4325
  }
4313
4326
  }
4314
4327
  }
4315
- .kds-loading-skeleton-input-with-label[data-v-b3b70d6e] {
4328
+ .kds-loading-skeleton-input-with-label[data-v-77702e5b] {
4316
4329
  display: grid;
4317
4330
  gap: var(--kds-spacing-container-0-75x);
4318
4331
  }
4319
4332
  .kds-loading-skeleton-list-item {
4320
- &[data-v-b3b70d6e] {
4333
+ &[data-v-77702e5b] {
4321
4334
  display: flex;
4322
4335
  gap: var(--kds-spacing-container-0-5x);
4323
4336
  align-items: center;
@@ -4325,7 +4338,7 @@ to {
4325
4338
  min-width: var(--kds-dimension-component-width-12x);
4326
4339
  padding: var(--kds-spacing-container-0-25x) var(--kds-spacing-container-0-5x);
4327
4340
  }
4328
- & .kds-loading-skeleton-list-item-text[data-v-b3b70d6e] {
4341
+ & .kds-loading-skeleton-list-item-text[data-v-77702e5b] {
4329
4342
  display: flex;
4330
4343
  flex: 1 1 auto;
4331
4344
  flex-direction: column;
@@ -4333,20 +4346,20 @@ to {
4333
4346
  min-width: 0;
4334
4347
  }
4335
4348
  &.kds-loading-skeleton-list-item-large {
4336
- &[data-v-b3b70d6e] {
4349
+ &[data-v-77702e5b] {
4337
4350
  padding: var(--kds-spacing-container-0-5x) var(--kds-spacing-container-0-5x);
4338
4351
  }
4339
4352
  & .kds-loading-skeleton-list-item-text {
4340
- &[data-v-b3b70d6e] {
4353
+ &[data-v-77702e5b] {
4341
4354
  justify-content: center;
4342
4355
  }
4343
- & .text[data-v-b3b70d6e] {
4356
+ & .text[data-v-77702e5b] {
4344
4357
  height: var(--kds-dimension-component-height-0-88x);
4345
4358
  }
4346
4359
  }
4347
4360
  }
4348
4361
  &.kds-loading-skeleton-list-item-small {
4349
- &[data-v-b3b70d6e] {
4362
+ &[data-v-77702e5b] {
4350
4363
  gap: var(--kds-spacing-container-0-5x);
4351
4364
  align-items: start;
4352
4365
  padding: calc(
@@ -4354,19 +4367,19 @@ to {
4354
4367
  )
4355
4368
  var(--kds-spacing-container-0-5x) var(--kds-spacing-container-0-25x);
4356
4369
  }
4357
- & .kds-loading-skeleton-list-item-text[data-v-b3b70d6e] {
4370
+ & .kds-loading-skeleton-list-item-text[data-v-77702e5b] {
4358
4371
  justify-content: flex-start;
4359
4372
  }
4360
4373
  }
4361
4374
  &.kds-loading-skeleton-list-item-large-with-subtext {
4362
- &[data-v-b3b70d6e] {
4375
+ &[data-v-77702e5b] {
4363
4376
  align-items: center;
4364
4377
  }
4365
4378
  & .kds-loading-skeleton-list-item-text {
4366
- &[data-v-b3b70d6e] {
4379
+ &[data-v-77702e5b] {
4367
4380
  justify-content: center;
4368
4381
  }
4369
- & .text[data-v-b3b70d6e] {
4382
+ & .text[data-v-77702e5b] {
4370
4383
  height: var(--kds-dimension-component-height-0-75x);
4371
4384
  }
4372
4385
  }