@knime/kds-components 6.7.1 → 6.8.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 CHANGED
@@ -1,5 +1,16 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 6.8.0
4
+
5
+ ### Patch Changes
6
+
7
+ - de14193: `KdsSubText`: fix the sub-text line being a fraction of a pixel too short for the leading error / warning icons and the validating spinner, which grew the container by that amount whenever one of them appeared — most visibly with `preserveSubTextSpace` enabled, where the reserved line is meant to keep the height constant.
8
+
9
+ The minimum height is now `--kds-dimension-component-height-0-75x` (12px) rather than one line of the sub-text font. It is a fixed height because the line has to fit a leading icon whenever one is shown, and the icons it can show — `KdsIcon size="small"` for the error / warning states and `KdsLoadingSpinner size="small"` while validating — are exactly 12px tall, slightly more than one line of text.
10
+
11
+ As a result **every** sub-text row grows by that fraction of a pixel, in every form field, whether or not `preserveSubTextSpace` is set. Layouts measured to the pixel around a form field may shift accordingly.
12
+ - @knime/kds-styles@6.8.0
13
+
3
14
  ## 6.7.1
4
15
 
5
16
  ### Patch Changes
package/dist/index.css CHANGED
@@ -891,21 +891,21 @@ body:has(dialog.modal[open]) {
891
891
  }
892
892
 
893
893
  .subtext {
894
- &[data-v-295b2828] {
894
+ &[data-v-1bd6d710] {
895
895
  display: flex;
896
896
  gap: var(--kds-spacing-container-0-25x);
897
- min-height: 1lh;
897
+ min-height: var(--kds-dimension-component-height-0-75x);
898
898
  margin-top: var(--kds-spacing-container-0-25x);
899
899
  font: var(--kds-font-base-subtext-small);
900
900
  color: var(--kds-color-text-and-icon-muted);
901
901
  }
902
- &.error[data-v-295b2828] {
902
+ &.error[data-v-1bd6d710] {
903
903
  color: var(--kds-color-text-and-icon-danger);
904
904
  }
905
- &.warning[data-v-295b2828] {
905
+ &.warning[data-v-1bd6d710] {
906
906
  color: var(--kds-color-text-and-icon-warning);
907
907
  }
908
- & .subtext-text[data-v-295b2828] {
908
+ & .subtext-text[data-v-1bd6d710] {
909
909
  min-width: 0;
910
910
  }
911
911
  }
package/dist/index.js CHANGED
@@ -10238,7 +10238,7 @@ var KdsSubText_default = /*#__PURE__*/ _plugin_vue_export_helper_default(/* @__P
10238
10238
  })) : createCommentVNode("", true), createElementVNode("span", _hoisted_2$47, toDisplayString(props.subText), 1)], 10, _hoisted_1$72)) : createCommentVNode("", true);
10239
10239
  };
10240
10240
  }
10241
- }), [["__scopeId", "data-v-295b2828"]]);
10241
+ }), [["__scopeId", "data-v-1bd6d710"]]);
10242
10242
  //#endregion
10243
10243
  //#region src/components/forms/Checkbox/BaseCheckbox.vue?vue&type=script&setup=true&lang.ts
10244
10244
  var _hoisted_1$71 = [