@knime/kds-components 0.29.1 → 0.29.3

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 CHANGED
@@ -1,5 +1,20 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 0.29.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 252e71b: Add `KdsProgressBar`
8
+ - @knime/kds-styles@0.29.3
9
+
10
+ ## 0.29.2
11
+
12
+ ### Patch Changes
13
+
14
+ - 68a53dd: `KdsDescription`: Adjust token assignment to headlines to fit also font hierarchy (KDS-559)
15
+ - Updated dependencies [61d2f6b]
16
+ - @knime/kds-styles@0.29.2
17
+
3
18
  ## 0.29.1
4
19
 
5
20
  ### Patch 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 10.015H2.447a.95.95 0 0 1-.947-.946V2.446a.945.945 0 0 1 .947-.946H9.08a.95.95 0 0 1 .947.946v3.548M1.5 4.811h8.526M4.816 1.5v8.515m4.263-2.773V10.8M7.658 9.38l1.421 1.42L10.5 9.38",
16
+ "vector-effect": "non-scaling-stroke"
17
+ }, null, -1)
18
+ ]))]))
19
+ }
20
+ const importTable = { render: render };
21
+
22
+ export { importTable as default, render };
23
+ //# sourceMappingURL=import-table-BaqmTPnF.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"import-table-BaqmTPnF.js","sources":["../../styles/dist/img/icons/import-table.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 10.015H2.447a.95.95 0 0 1-.947-.946V2.446a.945.945 0 0 1 .947-.946H9.08a.95.95 0 0 1 .947.946v3.548M1.5 4.811h8.526M4.816 1.5v8.515m4.263-2.773V10.8M7.658 9.38l1.421 1.42L10.5 9.38\",\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,yLAAyL;AAClM,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
@@ -311,6 +311,84 @@
311
311
  }
312
312
  }
313
313
 
314
+ .kds-progress-bar {
315
+ &[data-v-5fdfbce2] {
316
+ --progress-bar-background-color: var(--kds-color-surface-subtle);
317
+ --progress-bar-foreground-color: var(
318
+ --kds-color-background-primary-bold-initial
319
+ );
320
+ --progress-bar-radius: var(--kds-border-radius-container-pill);
321
+ --progress-bar-height: var(--kds-dimension-component-height-0-25x);
322
+
323
+ position: relative;
324
+ width: 100%;
325
+ height: var(--progress-bar-height);
326
+ overflow: hidden;
327
+ border-radius: var(--progress-bar-radius);
328
+
329
+ /* Firefox uses this to target the bar that represents the value of the progress element */
330
+
331
+ /* the following two rules need to stay separate, as otherwise it causes it not to be applied in Chrome correctly */
332
+ }
333
+ & .progress[data-v-5fdfbce2] {
334
+ display: block;
335
+ width: 100%;
336
+ height: var(--progress-bar-height);
337
+ padding: 0;
338
+ overflow: hidden;
339
+ appearance: none;
340
+
341
+ /* Firefox sets the background of the bar from here */
342
+ background-color: var(--progress-bar-background-color);
343
+ border: none;
344
+ border-radius: var(--progress-bar-radius);
345
+ }
346
+ & .progress[data-v-5fdfbce2]::-webkit-progress-bar {
347
+ background-color: var(--progress-bar-background-color);
348
+ }
349
+ & .progress[data-v-5fdfbce2]::-webkit-progress-value {
350
+ background-color: var(--progress-bar-foreground-color);
351
+ border-radius: var(--progress-bar-radius);
352
+ transition: width 0.5s;
353
+ }
354
+ & .progress[data-v-5fdfbce2]::-moz-progress-bar {
355
+ background-color: var(--progress-bar-foreground-color);
356
+ }
357
+ & .progress[data-v-5fdfbce2]:indeterminate {
358
+ background-color: var(--progress-bar-background-color);
359
+ background-image: none;
360
+ }
361
+ & .progress[data-v-5fdfbce2]:indeterminate::-webkit-progress-bar {
362
+ background-color: transparent;
363
+ }
364
+ & .progress[data-v-5fdfbce2]:indeterminate::-moz-progress-bar {
365
+ background-color: transparent;
366
+ }
367
+ & .indeterminate-bar[data-v-5fdfbce2] {
368
+ position: absolute;
369
+ inset-block: 0;
370
+ width: 35%;
371
+ pointer-events: none;
372
+ background-color: var(--progress-bar-foreground-color);
373
+ border-radius: var(--kds-border-radius-container-pill);
374
+ animation: move-indeterminate-5fdfbce2 1.5s linear infinite;
375
+ }
376
+ }
377
+ .kds-progress-bar-medium[data-v-5fdfbce2] {
378
+ --progress-bar-height: var(--kds-dimension-component-height-0-25x);
379
+ }
380
+ .kds-progress-bar-large[data-v-5fdfbce2] {
381
+ --progress-bar-height: var(--kds-dimension-component-height-0-75x);
382
+ }
383
+ @keyframes move-indeterminate-5fdfbce2 {
384
+ 0% {
385
+ transform: translateX(-120%);
386
+ }
387
+ 100% {
388
+ transform: translateX(320%);
389
+ }
390
+ }
391
+
314
392
  .kds-color-swatch {
315
393
  &[data-v-91e0130d] {
316
394
  display: inline-block;
@@ -4285,17 +4363,17 @@ body:has(dialog.modal[open]) {
4285
4363
  }
4286
4364
 
4287
4365
  .description {
4288
- &[data-v-43067f23] {
4366
+ &[data-v-ed6ba7bb] {
4289
4367
  font: var(--kds-font-base-body-small);
4290
4368
  color: var(--kds-color-text-and-icon-neutral);
4291
4369
  overflow-wrap: anywhere;
4292
4370
 
4293
4371
  /* stylelint-disable knime/no-deep-nesting */
4294
4372
  }
4295
- &.plain[data-v-43067f23] {
4373
+ &.plain[data-v-ed6ba7bb] {
4296
4374
  white-space: pre-line;
4297
4375
  }
4298
- &[data-v-43067f23] {
4376
+ &[data-v-ed6ba7bb] {
4299
4377
  p {
4300
4378
  & {
4301
4379
  padding: 0;
@@ -4316,11 +4394,11 @@ i,
4316
4394
  }
4317
4395
  h3 {
4318
4396
  margin: 0;
4319
- font: var(--kds-font-base-body-large-strong);
4397
+ font: var(--kds-font-base-body-medium-strong);
4320
4398
  }
4321
4399
  h4 {
4322
4400
  margin: 0;
4323
- font: var(--kds-font-base-body-medium-strong);
4401
+ font: var(--kds-font-base-body-small-strong);
4324
4402
  }
4325
4403
  pre {
4326
4404
  & {
@@ -4399,7 +4477,7 @@ a {
4399
4477
  margin-left: var(--kds-spacing-container-0-12x);
4400
4478
  content: "";
4401
4479
  background-color: var(--link-color);
4402
- mask-image: var(--v0c7d182f);
4480
+ mask-image: var(--v4209a14a);
4403
4481
  mask-repeat: no-repeat;
4404
4482
  mask-size: contain;
4405
4483
  }