@knime/kds-components 13.0.2 → 13.2.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 (28) hide show
  1. package/CHANGELOG.md +20 -0
  2. package/dist/KdsIcon-DWTHABhA.js.map +1 -1
  3. package/dist/index.css +536 -373
  4. package/dist/index.js +9931 -9768
  5. package/dist/index.js.map +1 -1
  6. package/dist/src/components/accessories/Chip/KdsChip.vue.d.ts +11 -0
  7. package/dist/src/components/accessories/Chip/KdsChip.vue.d.ts.map +1 -0
  8. package/dist/src/components/accessories/Chip/index.d.ts +3 -0
  9. package/dist/src/components/accessories/Chip/index.d.ts.map +1 -0
  10. package/dist/src/components/accessories/Chip/types.d.ts +44 -0
  11. package/dist/src/components/accessories/Chip/types.d.ts.map +1 -0
  12. package/dist/src/components/accessories/ColorSwatch/enums.d.ts +1 -1
  13. package/dist/src/components/accessories/index.d.ts +2 -0
  14. package/dist/src/components/accessories/index.d.ts.map +1 -1
  15. package/dist/src/components/buttons/KdsToggleButton/enums.d.ts +1 -1
  16. package/dist/src/components/buttons/enums.d.ts +1 -1
  17. package/dist/src/components/forms/selects/MultiSelectListBox/useMultiSelectListBoxReorder.d.ts.map +1 -1
  18. package/dist/src/layouts/cards/enums.d.ts +1 -1
  19. package/dist/src/layouts/explorer/FileExplorer/FileExplorerItem.vue.d.ts.map +1 -1
  20. package/dist/src/layouts/explorer/FileExplorer/useItemDragging/index.d.ts.map +1 -1
  21. package/dist/src/layouts/explorer/Tree/KdsTree.vue.d.ts.map +1 -1
  22. package/dist/src/layouts/explorer/{FileExplorer/utils → utils}/dragGhostHelpers.d.ts +29 -1
  23. package/dist/src/layouts/explorer/utils/dragGhostHelpers.d.ts.map +1 -0
  24. package/dist/src/layouts/overlays/Modal/enums.d.ts +2 -2
  25. package/dist/src/layouts/overlays/Modal/useKdsDynamicModal.d.ts +6 -6
  26. package/dist/src/layouts/overlays/Tooltip/vKdsTooltip.d.ts.map +1 -1
  27. package/package.json +4 -4
  28. package/dist/src/layouts/explorer/FileExplorer/utils/dragGhostHelpers.d.ts.map +0 -1
@@ -0,0 +1,11 @@
1
+ import { KdsChipProps } from './types';
2
+ declare const __VLS_export: import('vue').DefineComponent<KdsChipProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
3
+ remove: () => any;
4
+ labelClick: () => any;
5
+ }, string, import('vue').PublicProps, Readonly<KdsChipProps> & Readonly<{
6
+ onRemove?: (() => any) | undefined;
7
+ onLabelClick?: (() => any) | undefined;
8
+ }>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
9
+ declare const _default: typeof __VLS_export;
10
+ export default _default;
11
+ //# sourceMappingURL=KdsChip.vue.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"KdsChip.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/accessories/Chip/KdsChip.vue"],"names":[],"mappings":"AAwQA,OAAO,KAAK,EAAgB,YAAY,EAAE,MAAM,SAAS,CAAC;AAqL1D,QAAA,MAAM,YAAY;;;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
@@ -0,0 +1,3 @@
1
+ export { default as KdsChip } from './KdsChip.vue';
2
+ export type * from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/accessories/Chip/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,mBAAmB,SAAS,CAAC"}
@@ -0,0 +1,44 @@
1
+ import { KdsAccessory } from '../_Accessory/types';
2
+ export type KdsChipProps = {
3
+ /**
4
+ * The primary text of the chip.
5
+ */
6
+ label: string;
7
+ /**
8
+ * Secondary text after the label.
9
+ */
10
+ qualifier?: string;
11
+ /**
12
+ * Leading element displayed before the label.
13
+ */
14
+ accessory?: KdsAccessory;
15
+ /**
16
+ * Shows the remove (×) button, which emits `remove`.
17
+ */
18
+ removable?: boolean;
19
+ /**
20
+ * Turns the label into a button that emits `labelClick`.
21
+ */
22
+ clickable?: boolean;
23
+ /**
24
+ * Shows the chip with a red border, label and qualifier.
25
+ */
26
+ error?: boolean;
27
+ /**
28
+ * Explains what's wrong when `error` is set, and is ignored otherwise. Shown
29
+ * in a tooltip when the user hovers or focuses the label or the remove
30
+ * button, and read out by screen readers.
31
+ */
32
+ errorStateTooltip?: string;
33
+ /**
34
+ * Greys out the chip and disables its clickable label and remove button.
35
+ */
36
+ disabled?: boolean;
37
+ };
38
+ export type KdsChipEmits = {
39
+ /** Emitted when the remove (×) button is clicked. Only emitted when `removable` is set. */
40
+ remove: [];
41
+ /** Emitted when the label is clicked. Only emitted when `clickable` is set. */
42
+ labelClick: [];
43
+ };
44
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/accessories/Chip/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,qBAAqB,CAAC;AAExD,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;OAEG;IACH,SAAS,CAAC,EAAE,YAAY,CAAC;IAEzB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAEhB;;;;OAIG;IACH,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG;IACzB,2FAA2F;IAC3F,MAAM,EAAE,EAAE,CAAC;IACX,+EAA+E;IAC/E,UAAU,EAAE,EAAE,CAAC;CAChB,CAAC"}
@@ -8,7 +8,7 @@ export declare const kdsColorSwatchType: {
8
8
  readonly VISUALIZER: "visualizer";
9
9
  readonly OTHER: "other";
10
10
  };
11
- export declare const kdsColorSwatchTypes: ("source" | "component" | "learner" | "manipulator" | "predictor" | "sink" | "visualizer" | "other")[];
11
+ export declare const kdsColorSwatchTypes: ("source" | "component" | "other" | "learner" | "manipulator" | "predictor" | "sink" | "visualizer")[];
12
12
  export declare const kdsColorSwatchSize: {
13
13
  readonly SMALL: "small";
14
14
  readonly MEDIUM: "medium";
@@ -2,6 +2,8 @@ export * from './Avatar';
2
2
  export type * from './Avatar';
3
3
  export * from './Badge';
4
4
  export type * from './Badge';
5
+ export * from './Chip';
6
+ export type * from './Chip';
5
7
  export * from './ColorSwatch';
6
8
  export type * from './ColorSwatch';
7
9
  export * from './Icon';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/accessories/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,oBAAoB,CAAC;AAExC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AAEtC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/accessories/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,oBAAoB,CAAC;AAExC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,kBAAkB,CAAC;AACjC,mBAAmB,kBAAkB,CAAC;AAEtC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,WAAW,CAAC;AAE1B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
@@ -2,5 +2,5 @@ export declare const kdsToggleButtonVariant: {
2
2
  readonly OUTLINED: "outlined";
3
3
  readonly TRANSPARENT: "transparent";
4
4
  };
5
- export declare const kdsToggleButtonVariants: ("transparent" | "outlined")[];
5
+ export declare const kdsToggleButtonVariants: ("outlined" | "transparent")[];
6
6
  //# sourceMappingURL=enums.d.ts.map
@@ -10,5 +10,5 @@ export declare const kdsButtonVariant: {
10
10
  readonly OUTLINED: "outlined";
11
11
  readonly TRANSPARENT: "transparent";
12
12
  };
13
- export declare const kdsButtonVariants: ("transparent" | "filled" | "outlined")[];
13
+ export declare const kdsButtonVariants: ("filled" | "outlined" | "transparent")[];
14
14
  //# sourceMappingURL=enums.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"useMultiSelectListBoxReorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/MultiSelectListBox/useMultiSelectListBoxReorder.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,GAAG,EAIT,MAAM,KAAK,CAAC;AAKb,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,SAAS,CAAC;AAElE,KAAK,mCAAmC,GAAG;IACzC,6DAA6D;IAC7D,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1B,sFAAsF;IACtF,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3B,sCAAsC;IACtC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACvB,qDAAqD;IACrD,YAAY,EAAE,MAAM,WAAW,GAAG,IAAI,CAAC;IACvC,4EAA4E;IAC5E,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;AAOF;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,GAAI,iEAM1C,mCAAmC;;;;;;;;;;;uBA6JV,YAAY,MAAM,MAAM;CA6CnD,CAAC"}
1
+ {"version":3,"file":"useMultiSelectListBoxReorder.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/MultiSelectListBox/useMultiSelectListBoxReorder.ts"],"names":[],"mappings":"AAAA,OAAO,EAEL,KAAK,GAAG,EAIT,MAAM,KAAK,CAAC;AAKb,OAAO,KAAK,EAAE,kCAAkC,EAAE,MAAM,SAAS,CAAC;AAElE,KAAK,mCAAmC,GAAG;IACzC,6DAA6D;IAC7D,UAAU,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IAC1B,sFAAsF;IACtF,WAAW,EAAE,GAAG,CAAC,MAAM,EAAE,CAAC,CAAC;IAC3B,sCAAsC;IACtC,QAAQ,EAAE,GAAG,CAAC,OAAO,CAAC,CAAC;IACvB,qDAAqD;IACrD,YAAY,EAAE,MAAM,WAAW,GAAG,IAAI,CAAC;IACvC,4EAA4E;IAC5E,SAAS,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,IAAI,CAAC;CACzC,CAAC;AAOF;;;;;;;;;GASG;AACH,eAAO,MAAM,4BAA4B,GAAI,iEAM1C,mCAAmC;;;;;;;;;;;uBA+JV,YAAY,MAAM,MAAM;CA+CnD,CAAC"}
@@ -3,7 +3,7 @@ export declare const kdsCardVariant: {
3
3
  readonly OUTLINED: "outlined";
4
4
  readonly TRANSPARENT: "transparent";
5
5
  };
6
- export declare const kdsCardVariants: ("transparent" | "filled" | "outlined")[];
6
+ export declare const kdsCardVariants: ("filled" | "outlined" | "transparent")[];
7
7
  export declare const kdsCardBodyVariant: {
8
8
  readonly PLAIN: "plain";
9
9
  readonly PADDED: "padded";
@@ -1 +1 @@
1
- {"version":3,"file":"FileExplorerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/explorer/FileExplorer/FileExplorerItem.vue"],"names":[],"mappings":"AACA;AA6SA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAmGF,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,WAAW,CAAC,IAAI,OAAO,CAAC;IACxB;;OAEG;IACH,CAAC,IAAI,EAAE,MAAM,GACT,CAAC,CAAC,KAAK,EAAE;QAAE,cAAc,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAC,GACtE,SAAS,CAAC;CACf,CAAC;AAmTF,QAAA,MAAM,UAAU;;;;;;;;;;;;gBA7YuB,MAAM;iBAAW,MAAM;;;;;;;;;;;;;;;gBAAvB,MAAM;iBAAW,MAAM;;;;uBAtBxC,OAAO;6EAua3B,CAAC;AACH,QAAA,MAAM,YAAY,EAAS,eAAe,CAAC,OAAO,UAAU,EAAE,WAAW,CAAC,CAAC;wBACtD,OAAO,YAAY;AAAxC,wBAAyC;AAWzC,KAAK,eAAe,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IAChC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KACV,CAAA;CACD,CAAC"}
1
+ {"version":3,"file":"FileExplorerItem.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/explorer/FileExplorer/FileExplorerItem.vue"],"names":[],"mappings":"AACA;AAgTA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAEnD,KAAK,KAAK,GAAG;IACX,gBAAgB,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;IAChC,IAAI,EAAE,mBAAmB,CAAC;IAC1B,UAAU,EAAE,OAAO,CAAC;IACpB,UAAU,EAAE,OAAO,CAAC;IACpB,cAAc,EAAE,OAAO,CAAC;IACxB,QAAQ,EAAE,OAAO,CAAC;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC;AAmGF,KAAK,WAAW,GAAG;IACjB;;OAEG;IACH,WAAW,CAAC,IAAI,OAAO,CAAC;IACxB;;OAEG;IACH,CAAC,IAAI,EAAE,MAAM,GACT,CAAC,CAAC,KAAK,EAAE;QAAE,cAAc,EAAE,OAAO,CAAC;QAAC,UAAU,EAAE,OAAO,CAAA;KAAE,KAAK,OAAO,CAAC,GACtE,SAAS,CAAC;CACf,CAAC;AAsTF,QAAA,MAAM,UAAU;;;;;;;;;;;;gBAhZuB,MAAM;iBAAW,MAAM;;;;;;;;;;;;;;;gBAAvB,MAAM;iBAAW,MA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AAM;uBA2CrB,SAAS,QAAQ,mBAAmB;CAqD/D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"KdsTree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/explorer/Tree/KdsTree.vue"],"names":[],"mappings":"AA0fA,OAAO,KAAK,EACV,YAAY,EAEZ,aAAa,EACb,YAAY,EACZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAGjB,KAAK,WAAW,GAAG,YAAY,CAAC;AAoNhC,KAAK,gBAAgB,GAAG;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA4QxD,QAAA,IAAyB,QAAQ,QAAW,EAAE,QAAQ;;;;CAAW,EAAE,QAAQ,QAAW,EAAE,QAAQ;;;;CAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,CAAC;AAO5E,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;kFAId,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":"KdsTree.vue.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/explorer/Tree/KdsTree.vue"],"names":[],"mappings":"AAmgBA,OAAO,KAAK,EACV,YAAY,EAEZ,aAAa,EACb,YAAY,EACZ,YAAY,EAEZ,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAGjB,KAAK,WAAW,GAAG,YAAY,CAAC;AA0NhC,KAAK,gBAAgB,GAAG;IACxB,YAAY,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AA+QxD,QAAA,IAAyB,QAAQ,QAAW,EAAE,QAAQ;;;;CAAW,EAAE,QAAQ,QAAW,EAAE,QAAQ;;;;CAAY,CAAE;AAC9G,KAAK,WAAW,GAAG,EAAE,GACnB;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,GACzE;KAAG,CAAC,IAAI,WAAW,CAAC,OAAO,QAAQ,CAAC,CAAC,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,QAAQ,KAAK,GAAG;CAAE,CAAC;AAO5E,QAAA,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;kFAId,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,3 +1,31 @@
1
+ /**
2
+ * Attributes a dragged element can set on its icon and label, so the ghost can
3
+ * copy the icon and line its own icon and text up with them.
4
+ */
5
+ export declare const DRAG_GHOST_ICON_ATTR = "data-drag-ghost-icon";
6
+ export declare const DRAG_GHOST_LABEL_ATTR = "data-drag-ghost-label";
7
+ type CreateGhostElementParams = {
8
+ /**
9
+ * text to display in the ghost
10
+ */
11
+ textContent: string;
12
+ /**
13
+ * the element being ghosted. it's used to initially position the ghost on the same coordinates
14
+ */
15
+ target: HTMLElement;
16
+ /**
17
+ * whether to add boxShadow styles to the ghost
18
+ */
19
+ addShadow?: boolean;
20
+ /**
21
+ * if specified, will add the badge with this value as a count
22
+ */
23
+ badgeCount?: number | null;
24
+ };
25
+ export declare const createGhostElement: ({ textContent, target, badgeCount, addShadow, }: CreateGhostElementParams) => {
26
+ ghost: HTMLElement;
27
+ badge?: HTMLElement;
28
+ };
1
29
  type CreateDragGhostsParams = {
2
30
  /**
3
31
  * The DragStart event that originated the drag
@@ -46,6 +74,6 @@ type CreateDragGhostsReturnType = {
46
74
  /**
47
75
  * Creates the drag ghosts for the FileExplorer drag operations
48
76
  */
49
- export declare const createDragGhosts: ({ badgeCount, selectedTargets, }: CreateDragGhostsParams) => CreateDragGhostsReturnType;
77
+ export declare const createDragGhosts: ({ dragStartEvent, badgeCount, selectedTargets, }: CreateDragGhostsParams) => CreateDragGhostsReturnType;
50
78
  export {};
51
79
  //# sourceMappingURL=dragGhostHelpers.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dragGhostHelpers.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/explorer/utils/dragGhostHelpers.ts"],"names":[],"mappings":"AA+FA;;;GAGG;AACH,eAAO,MAAM,oBAAoB,yBAAyB,CAAC;AAC3D,eAAO,MAAM,qBAAqB,0BAA0B,CAAC;AAuD7D,KAAK,wBAAwB,GAAG;IAC9B;;OAEG;IACH,WAAW,EAAE,MAAM,CAAC;IACpB;;OAEG;IACH,MAAM,EAAE,WAAW,CAAC;IACpB;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;CAC5B,CAAC;AAEF,eAAO,MAAM,kBAAkB,GAAI,iDAKhC,wBAAwB,KAAG;IAAE,KAAK,EAAE,WAAW,CAAC;IAAC,KAAK,CAAC,EAAE,WAAW,CAAA;CA6DtE,CAAC;AA8CF,KAAK,sBAAsB,GAAG;IAC5B;;OAEG;IACH,cAAc,EAAE,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,eAAe,EAAE,KAAK,CAAC;QACrB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QACpB;;WAEG;QACH,QAAQ,EAAE,WAAW,CAAC;KACvB,CAAC,CAAC;CACJ,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAC3B;;;OAGG;IACH,YAAY,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C;;OAEG;IACH,mBAAmB,EAAE,CAAC,MAAM,EAAE;QAC5B,sBAAsB,EAAE,OAAO,CAAC;QAChC,cAAc,EAAE,WAAW,CAAC;QAC5B,IAAI,CAAC,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAC;YAAC,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACpD,KAAK,IAAI,CAAC;CACZ,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,kDAI9B,sBAAsB,KAAG,0BAwL3B,CAAC"}
@@ -3,7 +3,7 @@ export declare const kdsModalClosedBy: {
3
3
  readonly CLOSEREQUEST: "closerequest";
4
4
  readonly NONE: "none";
5
5
  };
6
- export declare const kdsModalClosedByOptions: ("none" | "any" | "closerequest")[];
6
+ export declare const kdsModalClosedByOptions: ("any" | "closerequest" | "none")[];
7
7
  export declare const kdsModalWidth: {
8
8
  readonly SMALL: "small";
9
9
  readonly MEDIUM: "medium";
@@ -16,7 +16,7 @@ export declare const kdsModalHeight: {
16
16
  readonly AUTO: "auto";
17
17
  readonly FULL: "full";
18
18
  };
19
- export declare const kdsModalHeightSizes: ("auto" | "full")[];
19
+ export declare const kdsModalHeightSizes: ("full" | "auto")[];
20
20
  export declare const kdsModalVariant: {
21
21
  readonly PADDED: "padded";
22
22
  readonly PLAIN: "plain";
@@ -89,10 +89,10 @@ export declare const useKdsDynamicModal: () => {
89
89
  value: {
90
90
  variant?: import('./types').KdsModalVariant | undefined;
91
91
  leadingIcon?: import('../../..').KdsIconName | undefined;
92
- width?: import('./types').KdsModalWidth | undefined;
93
- height?: import('./types').KdsModalHeight | undefined;
94
92
  headline?: string | undefined;
95
93
  overflow?: "hidden" | "auto" | "visible" | undefined;
94
+ width?: import('./types').KdsModalWidth | undefined;
95
+ height?: import('./types').KdsModalHeight | undefined;
96
96
  closedby?: import('./types').KdsModalClosedBy | undefined;
97
97
  message: string;
98
98
  doNotAskAgain?: {
@@ -123,10 +123,10 @@ export declare const useKdsDynamicModal: () => {
123
123
  } | {
124
124
  variant?: import('./types').KdsModalVariant | undefined;
125
125
  leadingIcon?: import('../../..').KdsIconName | undefined;
126
- width?: import('./types').KdsModalWidth | undefined;
127
- height?: import('./types').KdsModalHeight | undefined;
128
126
  headline?: string | undefined;
129
127
  overflow?: "hidden" | "auto" | "visible" | undefined;
128
+ width?: import('./types').KdsModalWidth | undefined;
129
+ height?: import('./types').KdsModalHeight | undefined;
130
130
  closedby?: import('./types').KdsModalClosedBy | undefined;
131
131
  component: FunctionalComponent | ComponentPublicInstance | VNode;
132
132
  buttons?: ({
@@ -156,10 +156,10 @@ export declare const useKdsDynamicModal: () => {
156
156
  value: {
157
157
  variant?: import('./types').KdsModalVariant | undefined;
158
158
  leadingIcon?: import('../../..').KdsIconName | undefined;
159
- width?: import('./types').KdsModalWidth | undefined;
160
- height?: import('./types').KdsModalHeight | undefined;
161
159
  headline?: string | undefined;
162
160
  overflow?: "hidden" | "auto" | "visible" | undefined;
161
+ width?: import('./types').KdsModalWidth | undefined;
162
+ height?: import('./types').KdsModalHeight | undefined;
163
163
  closedby?: import('./types').KdsModalClosedBy | undefined;
164
164
  component: DynamicModalComponent<any> | FunctionalComponent<KdsDynamicModalPropsAPI<any>, {}, any, {}>;
165
165
  context?: any;
@@ -1 +1 @@
1
- {"version":3,"file":"vKdsTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/overlays/Tooltip/vKdsTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,KAAK,CAAC;AAOzE,OAAO,mBAAmB,CAAC;AAqB3B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAK/D;AAoOD,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,WAAW,CA2B9C,CAAC;AAEF,mDAAmD;AACnD,wBAAgB,kBAAkB,SAGjC"}
1
+ {"version":3,"file":"vKdsTooltip.d.ts","sourceRoot":"","sources":["../../../../../src/layouts/overlays/Tooltip/vKdsTooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAsC,MAAM,KAAK,CAAC;AAOzE,OAAO,mBAAmB,CAAC;AAqB3B,wBAAgB,kBAAkB,CAAC,IAAI,EAAE,MAAM,GAAG,cAAc,CAK/D;AAqOD,eAAO,MAAM,WAAW,EAAE,SAAS,CAAC,WAAW,CA2B9C,CAAC;AAEF,mDAAmD;AACnD,wBAAgB,kBAAkB,SAGjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-components",
3
- "version": "13.0.2",
3
+ "version": "13.2.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": "^13.0.2",
38
+ "@knime/kds-styles": "^13.2.0",
39
39
  "@knime/utils": "^2.0.4",
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": "^13.0.2",
46
- "@knime/kds-table": "^13.0.2",
45
+ "@knime/kds-code-editor": "^13.2.0",
46
+ "@knime/kds-table": "^13.2.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 +0,0 @@
1
- {"version":3,"file":"dragGhostHelpers.d.ts","sourceRoot":"","sources":["../../../../../../src/layouts/explorer/FileExplorer/utils/dragGhostHelpers.ts"],"names":[],"mappings":"AA4PA,KAAK,sBAAsB,GAAG;IAC5B;;OAEG;IACH,cAAc,EAAE,SAAS,CAAC;IAC1B;;OAEG;IACH,UAAU,EAAE,MAAM,GAAG,IAAI,CAAC;IAC1B;;OAEG;IACH,eAAe,EAAE,KAAK,CAAC;QACrB;;WAEG;QACH,WAAW,EAAE,MAAM,CAAC;QACpB;;WAEG;QACH,QAAQ,EAAE,WAAW,CAAC;KACvB,CAAC,CAAC;CACJ,CAAC;AAEF,KAAK,0BAA0B,GAAG;IAChC;;OAEG;IACH,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,CAAC;IAC3B;;;OAGG;IACH,YAAY,EAAE,CAAC,UAAU,CAAC,EAAE,OAAO,KAAK,IAAI,CAAC;IAC7C;;OAEG;IACH,mBAAmB,EAAE,CAAC,MAAM,EAAE;QAC5B,sBAAsB,EAAE,OAAO,CAAC;QAChC,cAAc,EAAE,WAAW,CAAC;QAC5B,IAAI,CAAC,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAC;YAAC,SAAS,CAAC,EAAE,MAAM,CAAA;SAAE,CAAC;KACpD,KAAK,IAAI,CAAC;CACZ,CAAC;AAEF;;GAEG;AACH,eAAO,MAAM,gBAAgB,GAAI,kCAG9B,sBAAsB,KAAG,0BAsJ3B,CAAC"}