@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
@@ -1 +1 @@
1
- {"version":3,"file":"KdsBanner.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/KdsBanner.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAuG9C,QAAA,MAAM,YAAY,wSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"KdsBanner.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/KdsBanner.vue"],"names":[],"mappings":"AA4IA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA+G9C,QAAA,MAAM,YAAY,wSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,2 +1,2 @@
1
- export { kdsFeedbackVariant as kdsBannerVariant, kdsFeedbackVariants as kdsBannerVariants, } from '../enums';
1
+ export { kdsFeedbackFlush as kdsBannerFlush, kdsFeedbackFlushOptions as kdsBannerFlushOptions, kdsFeedbackVariant as kdsBannerVariant, kdsFeedbackVariants as kdsBannerVariants, } from '../enums';
2
2
  //# sourceMappingURL=enums.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,IAAI,gBAAgB,EACtC,mBAAmB,IAAI,iBAAiB,GACzC,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,cAAc,EAClC,uBAAuB,IAAI,qBAAqB,EAChD,kBAAkB,IAAI,gBAAgB,EACtC,mBAAmB,IAAI,iBAAiB,GACzC,MAAM,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export { default as KdsBanner } from './KdsBanner.vue';
2
- export * from './enums';
3
- export type * from './types';
2
+ export { kdsBannerFlush, kdsBannerFlushOptions, kdsBannerVariant, kdsBannerVariants, } from './enums';
3
+ export type { KdsBannerFlush, KdsBannerProps, KdsBannerVariant } from './types';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { KdsActionButtonProps } from '../../../components/buttons';
2
- import { kdsBannerVariant } from './enums';
2
+ import { kdsBannerFlush, kdsBannerVariant } from './enums';
3
3
  export type KdsBannerVariant = (typeof kdsBannerVariant)[keyof typeof kdsBannerVariant];
4
+ export type KdsBannerFlush = (typeof kdsBannerFlush)[keyof typeof kdsBannerFlush];
4
5
  export type KdsBannerProps = {
5
6
  /** The message text displayed inside the banner. Keep it short and precise; avoid multiline text. */
6
7
  description: string;
@@ -8,5 +9,16 @@ export type KdsBannerProps = {
8
9
  actions?: KdsActionButtonProps[];
9
10
  /** Variant of the banner. */
10
11
  variant?: KdsBannerVariant;
12
+ /**
13
+ * Makes the banner flush, so it sits edge to edge in a layout: no radius and
14
+ * a single border edge, on the side that faces the content. The value names
15
+ * where the banner sits, like Figma's `Flush` property. `off` is a rounded
16
+ * banner with a full border, for use in page content. `top` sits at the top,
17
+ * e.g. as a global banner directly under the app header, and draws its
18
+ * bottom edge. `bottom` sits at the bottom, e.g. in the footer of a menu,
19
+ * popover or panel, and draws its top edge. Let a flush banner span the full
20
+ * width of its container.
21
+ */
22
+ flush?: KdsBannerFlush;
11
23
  };
12
24
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B,qGAAqG;IACrG,WAAW,EAAE,MAAM,CAAC;IAEpB,iGAAiG;IACjG,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,6BAA6B;IAC7B,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,MAAM,cAAc,GAAG;IAC3B,qGAAqG;IACrG,WAAW,EAAE,MAAM,CAAC;IAEpB,iGAAiG;IACjG,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,6BAA6B;IAC7B,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAE3B;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"BaseMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/BaseMessage.vue"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,iFAAiF;IACjF,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAqCF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"BaseMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/BaseMessage.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAOlD,KAAK,WAAW,GAAG;IACjB,iFAAiF;IACjF,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAqCF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AACzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsInlineMessage.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/KdsInlineMessage.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA0GrD,QAAA,MAAM,YAAY,sTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"KdsInlineMessage.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/KdsInlineMessage.vue"],"names":[],"mappings":"AAqIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA0HrD,QAAA,MAAM,YAAY,sTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,2 +1,2 @@
1
- export { kdsFeedbackVariant as kdsInlineMessageVariant, kdsFeedbackVariants as kdsInlineMessageVariants, } from '../enums';
1
+ export { kdsFeedbackFlush as kdsInlineMessageFlush, kdsFeedbackFlushOptions as kdsInlineMessageFlushOptions, kdsFeedbackVariant as kdsInlineMessageVariant, kdsFeedbackVariants as kdsInlineMessageVariants, } from '../enums';
2
2
  //# sourceMappingURL=enums.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,IAAI,uBAAuB,EAC7C,mBAAmB,IAAI,wBAAwB,GAChD,MAAM,UAAU,CAAC"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,qBAAqB,EACzC,uBAAuB,IAAI,4BAA4B,EACvD,kBAAkB,IAAI,uBAAuB,EAC7C,mBAAmB,IAAI,wBAAwB,GAChD,MAAM,UAAU,CAAC"}
@@ -1,4 +1,4 @@
1
1
  export { default as KdsInlineMessage } from './KdsInlineMessage.vue';
2
- export * from './enums';
3
- export type * from './types';
2
+ export { kdsInlineMessageFlush, kdsInlineMessageFlushOptions, kdsInlineMessageVariant, kdsInlineMessageVariants, } from './enums';
3
+ export type { KdsInlineMessageFlush, KdsInlineMessageProps, KdsInlineMessageVariant, } from './types';
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,SAAS,CAAC"}
@@ -1,6 +1,7 @@
1
1
  import { KdsActionButtonProps } from '../../../components/buttons';
2
- import { kdsInlineMessageVariant } from './enums';
2
+ import { kdsInlineMessageFlush, kdsInlineMessageVariant } from './enums';
3
3
  export type KdsInlineMessageVariant = (typeof kdsInlineMessageVariant)[keyof typeof kdsInlineMessageVariant];
4
+ export type KdsInlineMessageFlush = (typeof kdsInlineMessageFlush)[keyof typeof kdsInlineMessageFlush];
4
5
  export type KdsInlineMessageProps = {
5
6
  /** The headline displayed at the top of the inline message. */
6
7
  headline: string;
@@ -10,5 +11,17 @@ export type KdsInlineMessageProps = {
10
11
  actions?: KdsActionButtonProps[];
11
12
  /** Variant of the inline message. */
12
13
  variant?: KdsInlineMessageVariant;
14
+ /**
15
+ * Makes the message flush, so it sits edge to edge in a container: no radius
16
+ * and a single border edge, on the side that faces the container's content.
17
+ * The value names where the message sits, like Figma's `Flush` property.
18
+ * `off` is a rounded message with a full border, for a standalone message in
19
+ * content. `top` sits at the top of a container, e.g. as the header of a
20
+ * menu, and draws its bottom edge. `bottom` sits at the bottom, e.g. in the
21
+ * footer of a menu, popover or panel, and draws its top edge. Let a flush
22
+ * message span the full width of its container. Its sides are padded like
23
+ * menu items, so its content lines up with a menu.
24
+ */
25
+ flush?: KdsInlineMessageFlush;
13
26
  };
14
27
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAElD,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAEzE,MAAM,MAAM,qBAAqB,GAAG;IAClC,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,CAAC;IAEjB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yGAAyG;IACzG,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,qCAAqC;IACrC,OAAO,CAAC,EAAE,uBAAuB,CAAC;CACnC,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEzE,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAEzE,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,CAAC;IAEjB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yGAAyG;IACzG,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,qCAAqC;IACrC,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAElC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC;CAC/B,CAAC"}
@@ -5,4 +5,10 @@ export declare const kdsFeedbackVariant: {
5
5
  readonly WARNING: "warning";
6
6
  };
7
7
  export declare const kdsFeedbackVariants: ("error" | "info" | "success" | "warning")[];
8
+ export declare const kdsFeedbackFlush: {
9
+ readonly OFF: "off";
10
+ readonly TOP: "top";
11
+ readonly BOTTOM: "bottom";
12
+ };
13
+ export declare const kdsFeedbackFlushOptions: ("bottom" | "top" | "off")[];
8
14
  //# sourceMappingURL=enums.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,8CAAoC,CAAC"}
1
+ {"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,8CAAoC,CAAC;AAErE,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,uBAAuB,8BAAkC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsSlider.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Slider/KdsSlider.vue"],"names":[],"mappings":"AAuXA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AA6GnD,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAqNF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
1
+ {"version":3,"file":"KdsSlider.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Slider/KdsSlider.vue"],"names":[],"mappings":"AA0YA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AA8GnD,KAAK,gBAAgB,GAAG;IACxB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AA+NF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -10,6 +10,7 @@ type UseSliderInteractionOptions = {
10
10
  export declare const useSliderInteraction: ({ scale, disabled, trackElement, knobElement, }: UseSliderInteractionOptions) => {
11
11
  focusKnob: (options?: FocusOptions) => void | undefined;
12
12
  suppressFocusRing: Ref<boolean, boolean>;
13
+ isDragging: import('vue').ComputedRef<boolean>;
13
14
  onTrackPointerdown: (event: PointerEvent) => void;
14
15
  onTrackPointermove: (event: PointerEvent) => void;
15
16
  endDrag: (event: PointerEvent) => void;
@@ -1 +1 @@
1
- {"version":3,"file":"useSliderInteraction.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Slider/useSliderInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAc,MAAM,KAAK,CAAC;AAK5D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,KAAK,2BAA2B,GAAG;IACjC,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IACzC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACjC,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC;IACvD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC;CACvD,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,oBAAoB,GAAI,iDAKlC,2BAA2B;0BAIC,YAAY;;gCAqFN,YAAY;;qBAWvB,YAAY;2BAqBN,aAAa;;CAyC5C,CAAC"}
1
+ {"version":3,"file":"useSliderInteraction.d.ts","sourceRoot":"","sources":["../../../../../src/components/forms/Slider/useSliderInteraction.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAE,KAAK,UAAU,EAAwB,MAAM,KAAK,CAAC;AAKtE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,kBAAkB,CAAC;AAOvD,KAAK,2BAA2B,GAAG;IACjC,KAAK,EAAE,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;IACzC,QAAQ,EAAE,QAAQ,CAAC,GAAG,CAAC,OAAO,CAAC,CAAC,CAAC;IACjC,YAAY,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC;IACvD,WAAW,EAAE,QAAQ,CAAC,UAAU,CAAC,WAAW,GAAG,IAAI,CAAC,CAAC,CAAC;CACvD,CAAC;AAEF,2DAA2D;AAC3D,eAAO,MAAM,oBAAoB,GAAI,iDAKlC,2BAA2B;0BAIC,YAAY;;;gCAuFN,YAAY;;qBAWvB,YAAY;2BAqBN,aAAa;;CA0C5C,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { KdsRichTextViewProps } from './types';
2
+ declare const __VLS_export: import('vue').DefineComponent<KdsRichTextViewProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsRichTextViewProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
3
+ declare const _default: typeof __VLS_export;
4
+ export default _default;
5
+ //# sourceMappingURL=KdsRichTextView.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsRichTextView.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/richText/RichTextView/KdsRichTextView.vue"],"names":[],"mappings":"AAoDA,OAAO,yCAAyC,CAAC;AAGjD,OAAO,KAAK,EAA4B,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAoD9E,QAAA,MAAM,YAAY,oTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,3 @@
1
+ export { default as KdsRichTextView } from './KdsRichTextView.vue';
2
+ export type { KdsRichTextViewAllowList, KdsRichTextViewProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/richText/RichTextView/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AACnE,YAAY,EAAE,wBAAwB,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,21 @@
1
+ import { RichTextViewAllowList } from '@knime/utils';
2
+ /**
3
+ * Markup to keep in addition to what `KdsRichTextEditor` produces. Don't list
4
+ * unsafe markup such as the `script` or `iframe` elements or the `onclick`
5
+ * attribute.
6
+ */
7
+ export type KdsRichTextViewAllowList = RichTextViewAllowList;
8
+ export type KdsRichTextViewProps = {
9
+ /**
10
+ * HTML created by `KdsRichTextEditor`. The component sanitizes it before
11
+ * it renders it.
12
+ */
13
+ text: string;
14
+ /**
15
+ * Markup to keep in addition to what `KdsRichTextEditor` produces, for
16
+ * content that has more, e.g.
17
+ * `{ elements: ["table", "thead", "tbody", "tr", "th", "td"], attributes: ["colspan"] }`.
18
+ */
19
+ allow?: KdsRichTextViewAllowList;
20
+ };
21
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/richText/RichTextView/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,cAAc,CAAC;AAE1D;;;;GAIG;AACH,MAAM,MAAM,wBAAwB,GAAG,qBAAqB,CAAC;AAE7D,MAAM,MAAM,oBAAoB,GAAG;IACjC;;;OAGG;IACH,IAAI,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,KAAK,CAAC,EAAE,wBAAwB,CAAC;CAClC,CAAC"}
@@ -1,3 +1,3 @@
1
- export * from './Description';
2
- export type * from './Description';
1
+ export * from './RichTextView';
2
+ export type * from './RichTextView';
3
3
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/richText/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/richText/index.ts"],"names":[],"mappings":"AAAA,cAAc,gBAAgB,CAAC;AAC/B,mBAAmB,gBAAgB,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-components",
3
- "version": "14.3.0",
3
+ "version": "15.0.0",
4
4
  "description": "Package containing basic Vue components of the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -35,15 +35,15 @@
35
35
  "vue": "~3.5.0"
36
36
  },
37
37
  "dependencies": {
38
- "@knime/kds-styles": "^14.3.0",
39
- "@knime/utils": "^4.0.0",
38
+ "@knime/kds-styles": "^15.0.0",
39
+ "@knime/utils": "^4.1.0",
40
40
  "consola": "^3.4.2",
41
41
  "motion": "^12.42.2",
42
42
  "temporal-polyfill": "^1.0.1"
43
43
  },
44
44
  "devDependencies": {
45
- "@knime/kds-code-editor": "^14.3.0",
46
- "@knime/kds-table": "^14.3.0",
45
+ "@knime/kds-code-editor": "^15.0.0",
46
+ "@knime/kds-table": "^15.0.0",
47
47
  "@storybook/vue3-vite": "^10.6.2",
48
48
  "@vitejs/plugin-vue": "^6.0.8",
49
49
  "@vue/test-utils": "^2.4.11",
@@ -1,8 +0,0 @@
1
- type Props = {
2
- text: string;
3
- renderAsHtml?: boolean;
4
- };
5
- declare const __VLS_export: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
6
- declare const _default: typeof __VLS_export;
7
- export default _default;
8
- //# sourceMappingURL=KdsDescription.vue.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"KdsDescription.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/richText/Description/KdsDescription.vue"],"names":[],"mappings":"AA+PA,KAAK,KAAK,GAAG;IACX,IAAI,EAAE,MAAM,CAAC;IACb,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC;AAmDF,QAAA,MAAM,YAAY,sRAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -1,2 +0,0 @@
1
- export { default as KdsDescription } from './KdsDescription.vue';
2
- //# sourceMappingURL=index.d.ts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/richText/Description/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}