@knime/kds-components 14.4.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.
@@ -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.4.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.4.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.4.0",
46
- "@knime/kds-table": "^14.4.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"}