@knime/kds-components 14.3.0 → 15.0.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.
Files changed (38) hide show
  1. package/CHANGELOG.md +33 -0
  2. package/README.md +1 -1
  3. package/dist/index.css +362 -258
  4. package/dist/index.js +322 -128
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/components/feedback/Banner/KdsBanner.vue.d.ts.map +1 -1
  7. package/dist/src/components/feedback/Banner/enums.d.ts +1 -1
  8. package/dist/src/components/feedback/Banner/enums.d.ts.map +1 -1
  9. package/dist/src/components/feedback/Banner/index.d.ts +2 -2
  10. package/dist/src/components/feedback/Banner/index.d.ts.map +1 -1
  11. package/dist/src/components/feedback/Banner/types.d.ts +13 -1
  12. package/dist/src/components/feedback/Banner/types.d.ts.map +1 -1
  13. package/dist/src/components/feedback/BaseMessage.vue.d.ts.map +1 -1
  14. package/dist/src/components/feedback/InlineMessage/KdsInlineMessage.vue.d.ts.map +1 -1
  15. package/dist/src/components/feedback/InlineMessage/enums.d.ts +1 -1
  16. package/dist/src/components/feedback/InlineMessage/enums.d.ts.map +1 -1
  17. package/dist/src/components/feedback/InlineMessage/index.d.ts +2 -2
  18. package/dist/src/components/feedback/InlineMessage/index.d.ts.map +1 -1
  19. package/dist/src/components/feedback/InlineMessage/types.d.ts +14 -1
  20. package/dist/src/components/feedback/InlineMessage/types.d.ts.map +1 -1
  21. package/dist/src/components/feedback/enums.d.ts +6 -0
  22. package/dist/src/components/feedback/enums.d.ts.map +1 -1
  23. package/dist/src/components/forms/Slider/KdsSlider.vue.d.ts.map +1 -1
  24. package/dist/src/components/forms/Slider/useSliderInteraction.d.ts +1 -0
  25. package/dist/src/components/forms/Slider/useSliderInteraction.d.ts.map +1 -1
  26. package/dist/src/components/richText/RichTextView/KdsRichTextView.vue.d.ts +5 -0
  27. package/dist/src/components/richText/RichTextView/KdsRichTextView.vue.d.ts.map +1 -0
  28. package/dist/src/components/richText/RichTextView/index.d.ts +3 -0
  29. package/dist/src/components/richText/RichTextView/index.d.ts.map +1 -0
  30. package/dist/src/components/richText/RichTextView/types.d.ts +21 -0
  31. package/dist/src/components/richText/RichTextView/types.d.ts.map +1 -0
  32. package/dist/src/components/richText/index.d.ts +2 -2
  33. package/dist/src/components/richText/index.d.ts.map +1 -1
  34. package/package.json +5 -5
  35. package/dist/src/components/richText/Description/KdsDescription.vue.d.ts +0 -8
  36. package/dist/src/components/richText/Description/KdsDescription.vue.d.ts.map +0 -1
  37. package/dist/src/components/richText/Description/index.d.ts +0 -2
  38. package/dist/src/components/richText/Description/index.d.ts.map +0 -1
package/CHANGELOG.md CHANGED
@@ -1,5 +1,38 @@
1
1
  # @knime/kds-components
2
2
 
3
+ ## 15.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - 8f818fe: BREAKING CHANGES:
8
+
9
+ - `KdsDescription`: remove. It has no public replacement. It moved to `@knime/product-features` as the internal `NodeDescription`, which isn't meant for apps. For user-written rich text, such as workflow descriptions, use `KdsRichTextView`, which sanitizes it. Node descriptions render through `NodeDescriptionTabs` from `@knime/product-features/nodes`. Render plain text with `white-space: pre-line` to keep its line breaks. It needs no component.
10
+
11
+ ### Minor Changes
12
+
13
+ - 8f818fe: `KdsRichTextView`: add a lightweight component with the same styling as `KdsRichTextEditor` to display rich text. It sanitizes its input before displaying it. Sanitizing needs a DOM, so server-side rendering leaves the content empty and it appears after mount.
14
+
15
+ ### Patch Changes
16
+
17
+ - ca52c71: - `KdsSlider`:
18
+ - show the `grab` cursor on the knob and `pointer` on the rail, and keep `grabbing` while dragging instead of switching to the default arrow.
19
+ - end a drag when the slider loses the pointer capture, so the value no longer follows the pointer with no button held.
20
+ - Updated dependencies [8f818fe]
21
+ - @knime/kds-styles@15.0.0
22
+ - @knime/utils@4.1.0
23
+
24
+ ## 14.4.0
25
+
26
+ ### Minor Changes
27
+
28
+ - 2f327c4: `KdsInlineMessage`: add the `flush` prop, so the message can sit edge to edge in a container. Like Figma's `Flush` property, the value names where the message sits: `top` (e.g. the header of a menu) draws its bottom edge, and `bottom` (e.g. a note in the footer of a menu, popover or panel) draws its top edge. Both drop the radius and pad the sides like menu items. The default `off` keeps the current look.
29
+ - 38d1679: `KdsBanner`: add the `flush` prop, so the banner can sit edge to edge in a layout. Like Figma's `Flush` property, the value names where the banner sits: `top` (e.g. a global banner directly under the app header) draws its bottom edge, and `bottom` (e.g. the footer of a menu, popover or panel) draws its top edge. Both drop the radius. The default `off` keeps the current look.
30
+
31
+ ### Patch Changes
32
+
33
+ - Updated dependencies
34
+ - @knime/kds-styles@14.4.0
35
+
3
36
  ## 14.3.0
4
37
 
5
38
  ### Minor Changes
package/README.md CHANGED
@@ -81,7 +81,7 @@ Everything re-exported from [`src/index.ts`](src/index.ts) is public API, groupe
81
81
  | **Feedback** | `src/components/feedback` | `KdsEmptyState`, `KdsInlineMessage`, `KdsProgressBar` |
82
82
  | **Forms** | `src/components/forms` | `KdsCheckbox`, `KdsRadioButton`, `KdsToggleSwitch`, inputs/selects |
83
83
  | **Lists** | `src/components/lists` | `KdsMenu`, `KdsContextMenu`, `KdsListContainer` |
84
- | **Rich text** | `src/components/richText` | `KdsDescription` |
84
+ | **Rich text** | `src/components/richText` | `KdsRichTextView` |
85
85
  | **Visualizations** | `src/components/visualizations` | `KdsDonutChart` |
86
86
  | **Layouts** | `src/layouts` | cards, explorer, overlays (incl. the `vKdsTooltip` directive), panels |
87
87
  | **Utilities** | `src/util` | composables, e.g. `useKdsDarkMode()`, `useKdsIsTruncated()` |