@knime/kds-components 2.6.3 → 2.7.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.
@@ -3514,6 +3514,10 @@ var KdsSubText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
3514
3514
  type: Boolean,
3515
3515
  default: false
3516
3516
  },
3517
+ warning: {
3518
+ type: Boolean,
3519
+ default: false
3520
+ },
3517
3521
  validating: {
3518
3522
  type: Boolean,
3519
3523
  default: false
@@ -3526,6 +3530,7 @@ var KdsSubText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
3526
3530
  setup(__props) {
3527
3531
  const props = createPropsRestProxy(__props, [
3528
3532
  "error",
3533
+ "warning",
3529
3534
  "validating",
3530
3535
  "preserveSubTextSpace"
3531
3536
  ]);
@@ -3535,22 +3540,28 @@ var KdsSubText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
3535
3540
  id: props.id,
3536
3541
  class: normalizeClass({
3537
3542
  subtext: true,
3538
- error: __props.error
3543
+ error: __props.error,
3544
+ warning: __props.warning && !__props.error
3539
3545
  })
3540
3546
  }, [__props.error && props.subText ? (openBlock(), createBlock(KdsIcon_default, {
3541
3547
  key: 0,
3542
3548
  name: "circle-error",
3543
3549
  size: "small",
3544
3550
  "aria-label": "Error"
3545
- })) : __props.validating && props.subText ? (openBlock(), createBlock(KdsLoadingSpinner_default, {
3551
+ })) : __props.warning && props.subText ? (openBlock(), createBlock(KdsIcon_default, {
3546
3552
  key: 1,
3553
+ name: "warning",
3554
+ size: "small",
3555
+ "aria-label": "Warning"
3556
+ })) : __props.validating && props.subText ? (openBlock(), createBlock(KdsLoadingSpinner_default, {
3557
+ key: 2,
3547
3558
  size: "small",
3548
3559
  variant: "onSurface",
3549
3560
  "aria-hidden": "true"
3550
3561
  })) : createCommentVNode("", true), createElementVNode("span", _hoisted_2$2, toDisplayString(props.subText), 1)], 10, _hoisted_1$3)) : createCommentVNode("", true);
3551
3562
  };
3552
3563
  }
3553
- }), [["__scopeId", "data-v-f8268ce9"]]);
3564
+ }), [["__scopeId", "data-v-295b2828"]]);
3554
3565
  //#endregion
3555
3566
  //#region src/components/forms/Checkbox/BaseCheckbox.vue?vue&type=script&setup=true&lang.ts
3556
3567
  var _hoisted_1$2 = [
@@ -3939,4 +3950,4 @@ var KdsSideDrawer_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @
3939
3950
  //#endregion
3940
3951
  export { KdsIcon_default as C, useKdsIsTruncated as D, elementOverflowsHorizontally as E, hotkeys as S, vKdsTooltip as T, KdsButton_default as _, BaseCheckbox_default as a, formatFileSize as b, KdsModalLayout_default as c, kdsModalHeight as d, kdsModalHeightSizes as f, kdsModalWidthSizes as g, kdsModalWidth as h, KdsCheckbox_default as i, kdsModalClosedBy as l, kdsModalVariants as m, KdsDynamicModalProvider_default as n, KdsSubText_default as o, kdsModalVariant as p, useKdsDynamicModal as r, KdsModal_default as s, KdsSideDrawer_default as t, kdsModalClosedByOptions as u, BaseButton_default as v, useIcon as w, getMetaOrCtrlKey as x, KdsLoadingSpinner_default as y };
3941
3952
 
3942
- //# sourceMappingURL=overlays-BQYAlIIB.js.map
3953
+ //# sourceMappingURL=overlays-Bai-I-gc.js.map