@knime/product-features 0.2.0 → 0.2.2

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/dist/nodes.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;
@@ -4515,7 +4593,10 @@ td {
4515
4593
  font: var(--kds-font-base-title-small-strong);
4516
4594
  }
4517
4595
 
4518
- .content[data-v-822747b0] {
4596
+ .content[data-v-d2eb8e2e] {
4519
4597
  padding: var(--kds-spacing-container-0-5x) 0;
4520
4598
  color: var(--kds-color-text-and-icon-neutral);
4521
4599
  }
4600
+ .empty-state[data-v-d2eb8e2e] {
4601
+ margin: 0 auto;
4602
+ }
package/dist/nodes.js CHANGED
@@ -64,7 +64,7 @@ function useIcon({
64
64
  };
65
65
  }
66
66
 
67
- const _sfc_main$1D = /* @__PURE__ */ defineComponent({
67
+ const _sfc_main$1E = /* @__PURE__ */ defineComponent({
68
68
  __name: "KdsIcon",
69
69
  props: {
70
70
  name: {},
@@ -94,7 +94,7 @@ const _sfc_main$1D = /* @__PURE__ */ defineComponent({
94
94
  }
95
95
  });
96
96
 
97
- const KdsIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1D, [["__scopeId", "data-v-bff4f419"]]);
97
+ const KdsIcon = /* @__PURE__ */ _export_sfc$1(_sfc_main$1E, [["__scopeId", "data-v-bff4f419"]]);
98
98
 
99
99
  const iconNames = [
100
100
  "add-user",
@@ -11590,7 +11590,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11590
11590
  optionsData: { default: () => [] },
11591
11591
  viewsData: { default: () => [] },
11592
11592
  emptyText: { default: "No ports, options or views available." },
11593
- renderAsHtml: { type: Boolean, default: false }
11593
+ renderAsHtml: { type: Boolean, default: false },
11594
+ tabBarFullWidth: { type: Boolean, default: false }
11594
11595
  },
11595
11596
  setup(__props) {
11596
11597
  const TAB_IDS = {
@@ -11642,10 +11643,10 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11642
11643
  createVNode(unref(KdsTabBar), {
11643
11644
  modelValue: activeTab.value,
11644
11645
  "onUpdate:modelValue": _cache[0] || (_cache[0] = ($event) => activeTab.value = $event),
11645
- "full-width": false,
11646
+ "full-width": __props.tabBarFullWidth,
11646
11647
  size: "small",
11647
11648
  tabs: tabs.value
11648
- }, null, 8, ["modelValue", "tabs"]),
11649
+ }, null, 8, ["modelValue", "full-width", "tabs"]),
11649
11650
  createElementVNode("div", _hoisted_1, [
11650
11651
  activeTab.value === TAB_IDS.PORTS ? (openBlock(), createBlock(PortsTab, {
11651
11652
  key: 0,
@@ -11677,7 +11678,8 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11677
11678
  }, null, 8, ["views"])) : createCommentVNode("", true),
11678
11679
  !activeTab.value ? (openBlock(), createBlock(unref(KdsEmptyState), {
11679
11680
  key: 3,
11680
- headline: __props.emptyText
11681
+ headline: __props.emptyText,
11682
+ class: "empty-state"
11681
11683
  }, null, 8, ["headline"])) : createCommentVNode("", true)
11682
11684
  ])
11683
11685
  ]);
@@ -11685,7 +11687,7 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
11685
11687
  }
11686
11688
  });
11687
11689
 
11688
- const NodeDescriptionTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-822747b0"]]);
11690
+ const NodeDescriptionTabs = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-d2eb8e2e"]]);
11689
11691
 
11690
11692
  export { NodeDescriptionTabs, _sfc_main$5 as PortIcon };
11691
11693
  //# sourceMappingURL=nodes.js.map