@knime/kds-components 2.1.0 → 2.2.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 +15 -0
- package/dist/duration-BffKqwjr.js +23 -0
- package/dist/duration-BffKqwjr.js.map +1 -0
- package/dist/{expand-panel-C0-YqxWN.js → expand-panel-B4eJWsMd.js} +2 -2
- package/dist/expand-panel-B4eJWsMd.js.map +1 -0
- package/dist/index.css +31 -18
- package/dist/index.js +47 -47
- package/dist/index.js.map +1 -1
- package/dist/insert-left-B2Sp62N9.js +23 -0
- package/dist/insert-left-B2Sp62N9.js.map +1 -0
- package/dist/insert-right-B0Z5pnUV.js +23 -0
- package/dist/insert-right-B0Z5pnUV.js.map +1 -0
- package/dist/more-connections-B76FWv01.js +23 -0
- package/dist/more-connections-B76FWv01.js.map +1 -0
- package/dist/src/layouts/LoadingSkeleton/KdsLoadingSkeleton.vue.d.ts.map +1 -1
- package/dist/src/overlays/Tooltip/vKdsTooltip.d.ts.map +1 -1
- package/dist/{user-DTq28OjK.js → user-BG_65jhB.js} +2 -2
- package/dist/user-BG_65jhB.js.map +1 -0
- package/package.json +2 -2
- package/dist/duration-Dfp9ox2I.js +0 -23
- package/dist/duration-Dfp9ox2I.js.map +0 -1
- package/dist/expand-panel-C0-YqxWN.js.map +0 -1
- package/dist/more-connections-BDZGsY2Y.js +0 -23
- package/dist/more-connections-BDZGsY2Y.js.map +0 -1
- package/dist/user-DTq28OjK.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
# @knime/kds-components
|
|
2
2
|
|
|
3
|
+
## 2.2.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- 08d9109: - `KdsLoadingSkeleton`:
|
|
8
|
+
- render the default slot directly without a wrapping `<div>` when `loading` is `false`, improving layout composition in flex/grid parents.
|
|
9
|
+
- 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).
|
|
10
|
+
- 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.
|
|
11
|
+
|
|
12
|
+
### Patch Changes
|
|
13
|
+
|
|
14
|
+
- 05226cd: Fix bug with kds-tooltip where it would break consumer if vnodes change as the tooltip is attached to the dom
|
|
15
|
+
- Updated dependencies [6850f24]
|
|
16
|
+
- @knime/kds-styles@2.2.0
|
|
17
|
+
|
|
3
18
|
## 2.1.0
|
|
4
19
|
|
|
5
20
|
### 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: "
|
|
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-
|
|
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
|
@@ -4285,39 +4285,52 @@ to {
|
|
|
4285
4285
|
}
|
|
4286
4286
|
}
|
|
4287
4287
|
|
|
4288
|
-
.kds-loading-skeleton[data-v-
|
|
4288
|
+
.kds-loading-skeleton[data-v-77702e5b] {
|
|
4289
4289
|
display: flex;
|
|
4290
4290
|
flex-direction: column;
|
|
4291
|
-
gap: var(--
|
|
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-
|
|
4307
|
+
&[data-v-77702e5b] {
|
|
4295
4308
|
display: grid;
|
|
4296
4309
|
gap: var(--kds-spacing-container-1-25x);
|
|
4297
4310
|
}
|
|
4298
|
-
& .headline[data-v-
|
|
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-
|
|
4316
|
+
&[data-v-77702e5b] {
|
|
4304
4317
|
display: grid;
|
|
4305
4318
|
gap: var(--kds-spacing-container-0-75x);
|
|
4306
4319
|
}
|
|
4307
|
-
&[data-v-
|
|
4320
|
+
&[data-v-77702e5b] > *:nth-child(2) {
|
|
4308
4321
|
width: 75%;
|
|
4309
4322
|
}
|
|
4310
|
-
&[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
4353
|
+
&[data-v-77702e5b] {
|
|
4341
4354
|
justify-content: center;
|
|
4342
4355
|
}
|
|
4343
|
-
& .text[data-v-
|
|
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-
|
|
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-
|
|
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-
|
|
4375
|
+
&[data-v-77702e5b] {
|
|
4363
4376
|
align-items: center;
|
|
4364
4377
|
}
|
|
4365
4378
|
& .kds-loading-skeleton-list-item-text {
|
|
4366
|
-
&[data-v-
|
|
4379
|
+
&[data-v-77702e5b] {
|
|
4367
4380
|
justify-content: center;
|
|
4368
4381
|
}
|
|
4369
|
-
& .text[data-v-
|
|
4382
|
+
& .text[data-v-77702e5b] {
|
|
4370
4383
|
height: var(--kds-dimension-component-height-0-75x);
|
|
4371
4384
|
}
|
|
4372
4385
|
}
|