@knime/kds-components 0.15.0 → 0.16.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 (46) hide show
  1. package/dist/accessories/Badge/KdsBadge.vue.d.ts +1 -1
  2. package/dist/accessories/Badge/KdsBadge.vue.d.ts.map +1 -1
  3. package/dist/accessories/Badge/types.d.ts +1 -1
  4. package/dist/accessories/Badge/types.d.ts.map +1 -1
  5. package/dist/accessories/InlineMessage/KdsInlineMessage.vue.d.ts +7 -0
  6. package/dist/accessories/InlineMessage/KdsInlineMessage.vue.d.ts.map +1 -0
  7. package/dist/accessories/InlineMessage/enums.d.ts +8 -0
  8. package/dist/accessories/InlineMessage/enums.d.ts.map +1 -0
  9. package/dist/accessories/InlineMessage/index.d.ts +4 -0
  10. package/dist/accessories/InlineMessage/index.d.ts.map +1 -0
  11. package/dist/accessories/InlineMessage/types.d.ts +11 -0
  12. package/dist/accessories/InlineMessage/types.d.ts.map +1 -0
  13. package/dist/accessories/index.d.ts +2 -0
  14. package/dist/accessories/index.d.ts.map +1 -1
  15. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts +1 -0
  16. package/dist/forms/_helper/List/ListContainer/KdsListContainer.vue.d.ts.map +1 -1
  17. package/dist/forms/_helper/List/ListContainer/types.d.ts +18 -1
  18. package/dist/forms/_helper/List/ListContainer/types.d.ts.map +1 -1
  19. package/dist/forms/_helper/List/ListItemDivider/ListItemDivider.vue.d.ts +3 -0
  20. package/dist/forms/_helper/List/ListItemDivider/ListItemDivider.vue.d.ts.map +1 -0
  21. package/dist/forms/_helper/List/ListItemDivider/index.d.ts +2 -0
  22. package/dist/forms/_helper/List/ListItemDivider/index.d.ts.map +1 -0
  23. package/dist/forms/_helper/List/ListItemSectionTitle/ListItemSectionTitle.vue.d.ts +6 -0
  24. package/dist/forms/_helper/List/ListItemSectionTitle/ListItemSectionTitle.vue.d.ts.map +1 -0
  25. package/dist/forms/_helper/List/ListItemSectionTitle/index.d.ts +3 -0
  26. package/dist/forms/_helper/List/ListItemSectionTitle/index.d.ts.map +1 -0
  27. package/dist/forms/_helper/List/ListItemSectionTitle/types.d.ts +8 -0
  28. package/dist/forms/_helper/List/ListItemSectionTitle/types.d.ts.map +1 -0
  29. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts +2 -0
  30. package/dist/forms/selects/Dropdown/DropdownContainer.vue.d.ts.map +1 -1
  31. package/dist/forms/selects/Dropdown/KdsDropdown.vue.d.ts.map +1 -1
  32. package/dist/forms/selects/Dropdown/types.d.ts +4 -0
  33. package/dist/forms/selects/Dropdown/types.d.ts.map +1 -1
  34. package/dist/index.css +141 -48
  35. package/dist/index.js +373 -223
  36. package/dist/index.js.map +1 -1
  37. package/dist/layouts/EmptyState/KdsEmptyState.vue.d.ts.map +1 -1
  38. package/dist/layouts/EmptyState/types.d.ts +1 -0
  39. package/dist/layouts/EmptyState/types.d.ts.map +1 -1
  40. package/dist/overlays/Modal/KdsModal.vue.d.ts +4 -4
  41. package/dist/overlays/Modal/KdsModalLayout.vue.d.ts +2 -2
  42. package/dist/overlays/Modal/enums.d.ts +4 -4
  43. package/dist/overlays/Modal/types.d.ts +3 -3
  44. package/dist/overlays/Modal/types.d.ts.map +1 -1
  45. package/dist/overlays/Modal/useKdsDynamicModal.d.ts +6 -6
  46. package/package.json +2 -2
@@ -1 +1 @@
1
- {"version":3,"file":"KdsEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/EmptyState/KdsEmptyState.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;;;;AAuGlD,wBAQG"}
1
+ {"version":3,"file":"KdsEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/EmptyState/KdsEmptyState.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;;;;AAyHlD,wBAQG"}
@@ -3,5 +3,6 @@ export type KdsEmptyStateProps = {
3
3
  headline: string;
4
4
  description?: string;
5
5
  button?: KdsButtonProps | KdsLinkButtonProps;
6
+ loadingSpinner?: boolean;
6
7
  };
7
8
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layouts/EmptyState/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,GAAG,kBAAkB,CAAC;CAC9C,CAAC"}
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layouts/EmptyState/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,GAAG,kBAAkB,CAAC;IAC7C,cAAc,CAAC,EAAE,OAAO,CAAC;CAC1B,CAAC"}
@@ -3,8 +3,8 @@ declare function __VLS_template(): {
3
3
  attrs: Partial<{}>;
4
4
  slots: {
5
5
  default?(_: {
6
- title: string;
7
- icon: "replace" | "search" | "bold" | "link" | "filter" | "time" | "stop" | "text" | "add-user" | "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "calendar" | "case-sensitive" | "center-aligned" | "checkmark" | "chevron-down" | "chevron-left-double" | "chevron-left" | "chevron-right-double" | "chevron-right" | "chevron-up" | "circle-error" | "circle-info" | "circle-question" | "circle-success" | "cloud-download" | "cloud-knime" | "cloud-pending-changes" | "cloud-synced" | "cloud-upload" | "cloud-workflow" | "code-block" | "color-picker" | "comment" | "component" | "connection" | "copy" | "cursor" | "data-app" | "data-value-view" | "date-time" | "db-database" | "db-schema" | "db-table-view" | "db-table" | "deploy" | "detect" | "divider" | "duration" | "edit" | "education" | "error-panel" | "execute-all" | "execute" | "expand-panel" | "extension-community" | "extension" | "external-link" | "eye" | "file-export" | "file-text" | "file" | "flow-variable-default" | "flow-variable-in-out" | "flow-variable-in" | "flow-variable-out" | "folder-plus" | "folder-workflow" | "folder" | "forum" | "function-catalog" | "home" | "import" | "info" | "interval" | "italic" | "key" | "layout-editor" | "left-aligned" | "like" | "limit" | "linked-metanode" | "list-bulletpoint" | "list-number" | "list-thumbs" | "list" | "local-filesystem" | "lock" | "metanode" | "mini-map" | "minimize-dialog" | "minimize-side-panel" | "minus" | "more-actions" | "node-stack" | "nodes-align-horiz" | "nodes-align-vert" | "open-in-new-window" | "pan-mode" | "parameter" | "pending-changes" | "placeholder" | "plus" | "quote" | "re-execution" | "redo" | "regex" | "reload" | "rename" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "service" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "team" | "textstyles" | "thumbs-down" | "thumbs-up" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "version" | "view-cards" | "warning" | "workflow" | "x-close";
6
+ headline: string;
7
+ leadingIcon: "replace" | "search" | "bold" | "link" | "filter" | "time" | "stop" | "text" | "add-user" | "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "calendar" | "case-sensitive" | "center-aligned" | "checkmark" | "chevron-down" | "chevron-left-double" | "chevron-left" | "chevron-right-double" | "chevron-right" | "chevron-up" | "circle-error" | "circle-info" | "circle-question" | "circle-success" | "cloud-download" | "cloud-knime" | "cloud-pending-changes" | "cloud-synced" | "cloud-upload" | "cloud-workflow" | "code-block" | "color-picker" | "comment" | "component" | "connection" | "copy" | "cursor" | "data-app" | "data-value-view" | "date-time" | "db-database" | "db-schema" | "db-table-view" | "db-table" | "deploy" | "detect" | "divider" | "duration" | "edit" | "education" | "error-panel" | "execute-all" | "execute" | "expand-panel" | "extension-community" | "extension" | "external-link" | "eye" | "file-export" | "file-text" | "file" | "flow-variable-default" | "flow-variable-in-out" | "flow-variable-in" | "flow-variable-out" | "folder-plus" | "folder-workflow" | "folder" | "forum" | "function-catalog" | "home" | "import" | "info" | "interval" | "italic" | "key" | "layout-editor" | "left-aligned" | "like" | "limit" | "linked-metanode" | "list-bulletpoint" | "list-number" | "list-thumbs" | "list" | "local-filesystem" | "lock" | "metanode" | "mini-map" | "minimize-dialog" | "minimize-side-panel" | "minus" | "more-actions" | "node-stack" | "nodes-align-horiz" | "nodes-align-vert" | "open-in-new-window" | "pan-mode" | "parameter" | "pending-changes" | "placeholder" | "plus" | "quote" | "re-execution" | "redo" | "regex" | "reload" | "rename" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "service" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "team" | "textstyles" | "thumbs-down" | "thumbs-up" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "version" | "view-cards" | "warning" | "workflow" | "x-close";
8
8
  variant: import('./types').KdsModalVariant;
9
9
  overflow: "auto" | "hidden" | "visible";
10
10
  onClose: (event?: Event) => void;
@@ -25,9 +25,9 @@ declare const __VLS_component: import('vue').DefineComponent<KdsModalProps, {},
25
25
  onClose?: ((event?: Event | undefined) => any) | undefined;
26
26
  onClosed?: (() => any) | undefined;
27
27
  }>, {
28
- title: string;
29
28
  variant: import('./types').KdsModalVariant;
30
- icon: import('../..').KdsIconName;
29
+ leadingIcon: import('../..').KdsIconName;
30
+ headline: string;
31
31
  width: import('./types').KdsModalWidth;
32
32
  active: boolean;
33
33
  overflow: "hidden" | "auto" | "visible";
@@ -10,9 +10,9 @@ declare function __VLS_template(): {
10
10
  };
11
11
  type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
12
12
  declare const __VLS_component: import('vue').DefineComponent<KdsModalLayoutProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsModalLayoutProps> & Readonly<{}>, {
13
- title: string;
14
13
  variant: import('./types').KdsModalVariant;
15
- icon: import('../..').KdsIconName;
14
+ leadingIcon: import('../..').KdsIconName;
15
+ headline: string;
16
16
  overflow: "hidden" | "auto" | "visible";
17
17
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
18
18
  declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
@@ -23,16 +23,16 @@ export declare const kdsModalVariant: {
23
23
  };
24
24
  export declare const kdsModalVariants: ("padded" | "plain")[];
25
25
  export declare const kdsModalLayoutPropsDefault: {
26
- readonly title: "";
26
+ readonly headline: "";
27
27
  readonly variant: "padded";
28
28
  readonly overflow: "auto";
29
- readonly icon: undefined;
29
+ readonly leadingIcon: undefined;
30
30
  };
31
31
  export declare const kdsModalPropsDefault: {
32
- readonly title: "";
32
+ readonly headline: "";
33
33
  readonly variant: "padded";
34
34
  readonly overflow: "auto";
35
- readonly icon: undefined;
35
+ readonly leadingIcon: undefined;
36
36
  readonly active: false;
37
37
  readonly height: "auto";
38
38
  readonly width: "medium";
@@ -9,8 +9,8 @@ export type KdsModalProps = {
9
9
  *
10
10
  * **Only used for special modals most regular ones do not need one.**
11
11
  */
12
- icon?: KdsIconName;
13
- title?: string;
12
+ leadingIcon?: KdsIconName;
13
+ headline?: string;
14
14
  /**
15
15
  * `padded` adds gap and padding to the content
16
16
  *
@@ -48,7 +48,7 @@ export type KdsModalProps = {
48
48
  */
49
49
  overflow?: "hidden" | "auto" | "visible";
50
50
  };
51
- export type KdsModalLayoutProps = Pick<KdsModalProps, "title" | "variant" | "icon" | "overflow"> & {
51
+ export type KdsModalLayoutProps = Pick<KdsModalProps, "headline" | "variant" | "leadingIcon" | "overflow"> & {
52
52
  onClose: (event?: Event) => void;
53
53
  };
54
54
  //# sourceMappingURL=types.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/overlays/Modal/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,EACL,gBAAgB,EAChB,cAAc,EACd,eAAe,EACf,aAAa,EACd,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAC3D,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AACvD,MAAM,MAAM,eAAe,GACzB,CAAC,OAAO,eAAe,CAAC,CAAC,MAAM,OAAO,eAAe,CAAC,CAAC;AACzD,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAE/E,MAAM,MAAM,aAAa,GAAG;IAC1B;;;OAGG;IACH,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;;;;OAMG;IACH,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB;;;;;;OAMG;IACH,MAAM,CAAC,EAAE,cAAc,CAAC;IACxB,0CAA0C;IAC1C,MAA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AC;IACxB,0CAA0C;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,2FAA2F;IAC3F,QAAQ,CAAC,EAAE,gBAAgB,CAAC;IAC5B;;;;OAIG;IACH,QAAQ,CAAC,EAAE,QAAQ,GAAG,MAAM,GAAG,SAAS,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,IAAI,CACpC,aAAa,EACb,UAAU,GAAG,SAAS,GAAG,aAAa,GAAG,UAAU,CACpD,GAAG;IAAE,OAAO,EAAE,CAAC,KAAK,CAAC,EAAE,KAAK,KAAK,IAAI,CAAA;CAAE,CAAC"}
@@ -88,9 +88,9 @@ export declare const useKdsDynamicModal: () => {
88
88
  config: import('vue').ComputedRef<{
89
89
  type: "confirm";
90
90
  value: {
91
- title?: string | undefined;
92
91
  variant?: import('./types').KdsModalVariant | undefined;
93
- icon?: import('../..').KdsIconName | undefined;
92
+ leadingIcon?: import('../..').KdsIconName | undefined;
93
+ headline?: string | undefined;
94
94
  width?: import('./types').KdsModalWidth | undefined;
95
95
  overflow?: "hidden" | "auto" | "visible" | undefined;
96
96
  height?: import('./types').KdsModalHeight | undefined;
@@ -122,9 +122,9 @@ export declare const useKdsDynamicModal: () => {
122
122
  }) => void) | undefined;
123
123
  })[] | undefined;
124
124
  } | {
125
- title?: string | undefined;
126
125
  variant?: import('./types').KdsModalVariant | undefined;
127
- icon?: import('../..').KdsIconName | undefined;
126
+ leadingIcon?: import('../..').KdsIconName | undefined;
127
+ headline?: string | undefined;
128
128
  width?: import('./types').KdsModalWidth | undefined;
129
129
  overflow?: "hidden" | "auto" | "visible" | undefined;
130
130
  height?: import('./types').KdsModalHeight | undefined;
@@ -155,9 +155,9 @@ export declare const useKdsDynamicModal: () => {
155
155
  } | {
156
156
  type: "dynamic";
157
157
  value: {
158
- title?: string | undefined;
159
158
  variant?: import('./types').KdsModalVariant | undefined;
160
- icon?: import('../..').KdsIconName | undefined;
159
+ leadingIcon?: import('../..').KdsIconName | undefined;
160
+ headline?: string | undefined;
161
161
  width?: import('./types').KdsModalWidth | undefined;
162
162
  overflow?: "hidden" | "auto" | "visible" | undefined;
163
163
  height?: import('./types').KdsModalHeight | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@knime/kds-components",
3
- "version": "0.15.0",
3
+ "version": "0.16.0",
4
4
  "description": "Package containing basic Vue components of the KNIME Design System",
5
5
  "repository": {
6
6
  "type": "git",
@@ -36,7 +36,7 @@
36
36
  "dependencies": {
37
37
  "@knime/utils": "^1.9.2",
38
38
  "consola": "^3.4.2",
39
- "@knime/kds-styles": "^0.15.0"
39
+ "@knime/kds-styles": "^0.16.0"
40
40
  },
41
41
  "devDependencies": {
42
42
  "@storybook/vue3-vite": "^10.2.13",