@knime/kds-components 0.6.1 → 0.6.3
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.
- package/dist/EmptyState/KdsEmptyState.vue.d.ts +165 -0
- package/dist/EmptyState/KdsEmptyState.vue.d.ts.map +1 -0
- package/dist/EmptyState/types.d.ts +11 -0
- package/dist/EmptyState/types.d.ts.map +1 -0
- package/dist/buttons/KdsVariableToggleButton.vue.d.ts +1 -1
- package/dist/buttons/index.d.ts +1 -1
- package/dist/buttons/index.d.ts.map +1 -1
- package/dist/buttons/types.d.ts +71 -2
- package/dist/buttons/types.d.ts.map +1 -1
- package/dist/forms/Checkbox/BaseCheckbox.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/KdsRadioButton.vue.d.ts +1 -1
- package/dist/forms/RadioButton/KdsValueSwitch.vue.d.ts +1 -1
- package/dist/index.css +39 -15
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +199 -101
- package/dist/index.js.map +1 -1
- package/dist/util/isDefinedAndNotEmpty.d.ts +8 -0
- package/dist/util/isDefinedAndNotEmpty.d.ts.map +1 -0
- package/package.json +5 -5
|
@@ -0,0 +1,165 @@
|
|
|
1
|
+
declare const _default: import('vue').DefineComponent<({
|
|
2
|
+
headline: string;
|
|
3
|
+
description?: string;
|
|
4
|
+
} & import('../buttons/types').PrefixedButtonPropsAsNever) | ({
|
|
5
|
+
headline: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
} & {
|
|
8
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
9
|
+
buttonDisabled?: boolean | undefined;
|
|
10
|
+
buttonTitle?: string | undefined;
|
|
11
|
+
} & {
|
|
12
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
13
|
+
} & {
|
|
14
|
+
buttonLabel: string;
|
|
15
|
+
buttonLeadingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
16
|
+
buttonTrailingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
17
|
+
buttonAriaLabel?: never;
|
|
18
|
+
} & {
|
|
19
|
+
buttonDestructive?: boolean | undefined;
|
|
20
|
+
} & import('../buttons/types').PrefixedRouterNavigationAsNever & import('../buttons/types').PrefixedAnchorAttributesAsNever) | ({
|
|
21
|
+
headline: string;
|
|
22
|
+
description?: string;
|
|
23
|
+
} & {
|
|
24
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
25
|
+
buttonDisabled?: boolean | undefined;
|
|
26
|
+
buttonTitle?: string | undefined;
|
|
27
|
+
} & {
|
|
28
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
29
|
+
} & {
|
|
30
|
+
buttonLabel?: never;
|
|
31
|
+
buttonLeadingIcon: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close";
|
|
32
|
+
buttonTrailingIcon?: never;
|
|
33
|
+
buttonAriaLabel: string;
|
|
34
|
+
} & {
|
|
35
|
+
buttonDestructive?: boolean | undefined;
|
|
36
|
+
} & import('../buttons/types').PrefixedRouterNavigationAsNever & import('../buttons/types').PrefixedAnchorAttributesAsNever) | ({
|
|
37
|
+
headline: string;
|
|
38
|
+
description?: string;
|
|
39
|
+
} & {
|
|
40
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
41
|
+
buttonDisabled?: boolean | undefined;
|
|
42
|
+
buttonTitle?: string | undefined;
|
|
43
|
+
} & {
|
|
44
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
45
|
+
} & {
|
|
46
|
+
buttonLabel: string;
|
|
47
|
+
buttonLeadingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
48
|
+
buttonTrailingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
49
|
+
buttonAriaLabel?: never;
|
|
50
|
+
} & {
|
|
51
|
+
buttonDestructive?: boolean | undefined;
|
|
52
|
+
} & {
|
|
53
|
+
buttonTo: import('../buttons/types').WithRouterNavigation["to"];
|
|
54
|
+
} & {
|
|
55
|
+
buttonDownload?: import('../buttons/types').WithAnchorElementAttributes["download"];
|
|
56
|
+
buttonTarget?: import('../buttons/types').WithAnchorElementAttributes["target"];
|
|
57
|
+
buttonRel?: import('../buttons/types').WithAnchorElementAttributes["rel"];
|
|
58
|
+
}) | ({
|
|
59
|
+
headline: string;
|
|
60
|
+
description?: string;
|
|
61
|
+
} & {
|
|
62
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
63
|
+
buttonDisabled?: boolean | undefined;
|
|
64
|
+
buttonTitle?: string | undefined;
|
|
65
|
+
} & {
|
|
66
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
67
|
+
} & {
|
|
68
|
+
buttonLabel?: never;
|
|
69
|
+
buttonLeadingIcon: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close";
|
|
70
|
+
buttonTrailingIcon?: never;
|
|
71
|
+
buttonAriaLabel: string;
|
|
72
|
+
} & {
|
|
73
|
+
buttonDestructive?: boolean | undefined;
|
|
74
|
+
} & {
|
|
75
|
+
buttonTo: import('../buttons/types').WithRouterNavigation["to"];
|
|
76
|
+
} & {
|
|
77
|
+
buttonDownload?: import('../buttons/types').WithAnchorElementAttributes["download"];
|
|
78
|
+
buttonTarget?: import('../buttons/types').WithAnchorElementAttributes["target"];
|
|
79
|
+
buttonRel?: import('../buttons/types').WithAnchorElementAttributes["rel"];
|
|
80
|
+
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
81
|
+
buttonClick: (event: MouseEvent) => any;
|
|
82
|
+
}, string, import('vue').PublicProps, Readonly<({
|
|
83
|
+
headline: string;
|
|
84
|
+
description?: string;
|
|
85
|
+
} & import('../buttons/types').PrefixedButtonPropsAsNever) | ({
|
|
86
|
+
headline: string;
|
|
87
|
+
description?: string;
|
|
88
|
+
} & {
|
|
89
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
90
|
+
buttonDisabled?: boolean | undefined;
|
|
91
|
+
buttonTitle?: string | undefined;
|
|
92
|
+
} & {
|
|
93
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
94
|
+
} & {
|
|
95
|
+
buttonLabel: string;
|
|
96
|
+
buttonLeadingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
97
|
+
buttonTrailingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
98
|
+
buttonAriaLabel?: never;
|
|
99
|
+
} & {
|
|
100
|
+
buttonDestructive?: boolean | undefined;
|
|
101
|
+
} & import('../buttons/types').PrefixedRouterNavigationAsNever & import('../buttons/types').PrefixedAnchorAttributesAsNever) | ({
|
|
102
|
+
headline: string;
|
|
103
|
+
description?: string;
|
|
104
|
+
} & {
|
|
105
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
106
|
+
buttonDisabled?: boolean | undefined;
|
|
107
|
+
buttonTitle?: string | undefined;
|
|
108
|
+
} & {
|
|
109
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
110
|
+
} & {
|
|
111
|
+
buttonLabel?: never;
|
|
112
|
+
buttonLeadingIcon: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close";
|
|
113
|
+
buttonTrailingIcon?: never;
|
|
114
|
+
buttonAriaLabel: string;
|
|
115
|
+
} & {
|
|
116
|
+
buttonDestructive?: boolean | undefined;
|
|
117
|
+
} & import('../buttons/types').PrefixedRouterNavigationAsNever & import('../buttons/types').PrefixedAnchorAttributesAsNever) | ({
|
|
118
|
+
headline: string;
|
|
119
|
+
description?: string;
|
|
120
|
+
} & {
|
|
121
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
122
|
+
buttonDisabled?: boolean | undefined;
|
|
123
|
+
buttonTitle?: string | undefined;
|
|
124
|
+
} & {
|
|
125
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
126
|
+
} & {
|
|
127
|
+
buttonLabel: string;
|
|
128
|
+
buttonLeadingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
129
|
+
buttonTrailingIcon?: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close" | undefined;
|
|
130
|
+
buttonAriaLabel?: never;
|
|
131
|
+
} & {
|
|
132
|
+
buttonDestructive?: boolean | undefined;
|
|
133
|
+
} & {
|
|
134
|
+
buttonTo: import('../buttons/types').WithRouterNavigation["to"];
|
|
135
|
+
} & {
|
|
136
|
+
buttonDownload?: import('../buttons/types').WithAnchorElementAttributes["download"];
|
|
137
|
+
buttonTarget?: import('../buttons/types').WithAnchorElementAttributes["target"];
|
|
138
|
+
buttonRel?: import('../buttons/types').WithAnchorElementAttributes["rel"];
|
|
139
|
+
}) | ({
|
|
140
|
+
headline: string;
|
|
141
|
+
description?: string;
|
|
142
|
+
} & {
|
|
143
|
+
buttonSize?: "xsmall" | "small" | "medium" | "large" | undefined;
|
|
144
|
+
buttonDisabled?: boolean | undefined;
|
|
145
|
+
buttonTitle?: string | undefined;
|
|
146
|
+
} & {
|
|
147
|
+
buttonVariant?: import('..').KdsButtonVariant;
|
|
148
|
+
} & {
|
|
149
|
+
buttonLabel?: never;
|
|
150
|
+
buttonLeadingIcon: "ai-general" | "annotation-mode" | "arrow-down" | "arrow-up" | "arrows-expand" | "arrows-move" | "arrows-order" | "back" | "bold" | "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" | "filter" | "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" | "link" | "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" | "replace" | "reset-all" | "resume-execution" | "right-aligned" | "rocket" | "save-as" | "save" | "schedule" | "search" | "secret-store" | "selected-cancel" | "selected-execution" | "selected-reset" | "send" | "server-rack-workflow" | "settings" | "share" | "shortcuts" | "sort-ascending" | "sort-descending" | "space-local" | "space-private" | "space" | "stepwise-execution" | "strikethrough" | "text" | "textstyles" | "thumbs-down" | "thumbs-up" | "time" | "to-bottom" | "to-top" | "trash" | "trigger" | "underline" | "undo" | "unlink" | "user" | "view-cards" | "warning" | "workflow" | "x-close";
|
|
151
|
+
buttonTrailingIcon?: never;
|
|
152
|
+
buttonAriaLabel: string;
|
|
153
|
+
} & {
|
|
154
|
+
buttonDestructive?: boolean | undefined;
|
|
155
|
+
} & {
|
|
156
|
+
buttonTo: import('../buttons/types').WithRouterNavigation["to"];
|
|
157
|
+
} & {
|
|
158
|
+
buttonDownload?: import('../buttons/types').WithAnchorElementAttributes["download"];
|
|
159
|
+
buttonTarget?: import('../buttons/types').WithAnchorElementAttributes["target"];
|
|
160
|
+
buttonRel?: import('../buttons/types').WithAnchorElementAttributes["rel"];
|
|
161
|
+
})> & Readonly<{
|
|
162
|
+
onButtonClick?: ((event: MouseEvent) => any) | undefined;
|
|
163
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
164
|
+
export default _default;
|
|
165
|
+
//# sourceMappingURL=KdsEmptyState.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsEmptyState.vue.d.ts","sourceRoot":"","sources":["../../src/EmptyState/KdsEmptyState.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgRA,wBAQG"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PrefixedAnchorAttributesAsNever, PrefixedButtonPropsAsNever, PrefixedKdsButtonProps, PrefixedKdsLinkButtonProps, PrefixedRouterNavigationAsNever } from '../buttons/types';
|
|
2
|
+
type CommonProps = {
|
|
3
|
+
headline: string;
|
|
4
|
+
description?: string;
|
|
5
|
+
};
|
|
6
|
+
type BaseEmptyStateProps = CommonProps & PrefixedButtonPropsAsNever;
|
|
7
|
+
type EmptyStateWithButtonProps = CommonProps & PrefixedKdsButtonProps & PrefixedRouterNavigationAsNever & PrefixedAnchorAttributesAsNever;
|
|
8
|
+
type EmptyStateWithLinkButtonProps = CommonProps & PrefixedKdsLinkButtonProps;
|
|
9
|
+
export type KdsEmptyStateProps = BaseEmptyStateProps | EmptyStateWithButtonProps | EmptyStateWithLinkButtonProps;
|
|
10
|
+
export {};
|
|
11
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/EmptyState/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,+BAA+B,EAC/B,0BAA0B,EAC1B,sBAAsB,EACtB,0BAA0B,EAC1B,+BAA+B,EAChC,MAAM,kBAAkB,CAAC;AAE1B,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,KAAK,mBAAmB,GAAG,WAAW,GAAG,0BAA0B,CAAC;AAEpE,KAAK,yBAAyB,GAAG,WAAW,GAC1C,sBAAsB,GACtB,+BAA+B,GAC/B,+BAA+B,CAAC;AAElC,KAAK,6BAA6B,GAAG,WAAW,GAAG,0BAA0B,CAAC;AAE9E,MAAM,MAAM,kBAAkB,GAC1B,mBAAmB,GACnB,yBAAyB,GACzB,6BAA6B,CAAC"}
|
|
@@ -8,8 +8,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
error: boolean;
|
|
12
11
|
disabled: boolean;
|
|
12
|
+
error: boolean;
|
|
13
13
|
inSet: boolean;
|
|
14
14
|
outSet: boolean;
|
|
15
15
|
hidden: boolean;
|
package/dist/buttons/index.d.ts
CHANGED
|
@@ -4,5 +4,5 @@ export { default as KdsInfoToggleButton } from './KdsInfoToggleButton.vue';
|
|
|
4
4
|
export { default as KdsLinkButton } from './KdsLinkButton.vue';
|
|
5
5
|
export { default as KdsProgressButton } from './KdsProgressButton.vue';
|
|
6
6
|
export { default as KdsToggleButton } from './KdsToggleButton.vue';
|
|
7
|
-
export type
|
|
7
|
+
export type { KdsButtonVariant, KdsToggleButtonVariant, KdsButtonProps, KdsLinkButtonProps, KdsToggleButtonProps, KdsVariableToggleButtonProps, KdsInfoToggleButtonProps, KdsProgressButtonState, KdsProgressButtonProps, } from './types';
|
|
8
8
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEnE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEnE,YAAY,EACV,gBAAgB,EAChB,sBAAsB,EACtB,cAAc,EACd,kBAAkB,EAClB,oBAAoB,EACpB,4BAA4B,EAC5B,wBAAwB,EACxB,sBAAsB,EACtB,sBAAsB,GACvB,MAAM,SAAS,CAAC"}
|
package/dist/buttons/types.d.ts
CHANGED
|
@@ -51,13 +51,13 @@ type WithError = {
|
|
|
51
51
|
*/
|
|
52
52
|
error?: boolean;
|
|
53
53
|
};
|
|
54
|
-
type WithRouterNavigation = {
|
|
54
|
+
export type WithRouterNavigation = {
|
|
55
55
|
/**
|
|
56
56
|
* Route Location the link should navigate to when clicked on; passed to RouterLink/NuxtLink component if globally available
|
|
57
57
|
*/
|
|
58
58
|
to: string | Record<string, unknown>;
|
|
59
59
|
};
|
|
60
|
-
type WithAnchorElementAttributes = {
|
|
60
|
+
export type WithAnchorElementAttributes = {
|
|
61
61
|
/**
|
|
62
62
|
* If set to true, the link will be downloaded instead of navigating to it.
|
|
63
63
|
*/
|
|
@@ -77,6 +77,42 @@ type WithToggled = {
|
|
|
77
77
|
*/
|
|
78
78
|
toggled?: boolean;
|
|
79
79
|
};
|
|
80
|
+
/**
|
|
81
|
+
* Prefixed versions of composable types for use in composite components
|
|
82
|
+
* Pre-computed here to avoid Vue SFC compiler issues with mapped types
|
|
83
|
+
*/
|
|
84
|
+
type PrefixedCommonProps = {
|
|
85
|
+
buttonSize?: CommonProps["size"];
|
|
86
|
+
buttonDisabled?: CommonProps["disabled"];
|
|
87
|
+
buttonTitle?: CommonProps["title"];
|
|
88
|
+
};
|
|
89
|
+
type PrefixedLabelAndIcons = {
|
|
90
|
+
buttonLabel: string;
|
|
91
|
+
buttonLeadingIcon?: LabelAndIcons["leadingIcon"];
|
|
92
|
+
buttonTrailingIcon?: LabelAndIcons["trailingIcon"];
|
|
93
|
+
buttonAriaLabel?: never;
|
|
94
|
+
};
|
|
95
|
+
type PrefixedLeadingIconOnly = {
|
|
96
|
+
buttonLabel?: never;
|
|
97
|
+
buttonLeadingIcon: LeadingIconOnly["leadingIcon"];
|
|
98
|
+
buttonTrailingIcon?: never;
|
|
99
|
+
buttonAriaLabel: string;
|
|
100
|
+
};
|
|
101
|
+
type PrefixedWithLabelAndIcons = PrefixedLabelAndIcons | PrefixedLeadingIconOnly;
|
|
102
|
+
type PrefixedWithVariant = {
|
|
103
|
+
buttonVariant?: KdsButtonVariant;
|
|
104
|
+
};
|
|
105
|
+
type PrefixedWithDestructive = {
|
|
106
|
+
buttonDestructive?: WithDestructive["destructive"];
|
|
107
|
+
};
|
|
108
|
+
type PrefixedWithRouterNavigation = {
|
|
109
|
+
buttonTo: WithRouterNavigation["to"];
|
|
110
|
+
};
|
|
111
|
+
type PrefixedWithAnchorElementAttributes = {
|
|
112
|
+
buttonDownload?: WithAnchorElementAttributes["download"];
|
|
113
|
+
buttonTarget?: WithAnchorElementAttributes["target"];
|
|
114
|
+
buttonRel?: WithAnchorElementAttributes["rel"];
|
|
115
|
+
};
|
|
80
116
|
/**
|
|
81
117
|
* Type for BaseButton component which supports all behaviors
|
|
82
118
|
*/
|
|
@@ -128,5 +164,38 @@ type KdsProgressButtonIconOnly = {
|
|
|
128
164
|
ariaLabel: string;
|
|
129
165
|
};
|
|
130
166
|
export type KdsProgressButtonProps = KdsProgressButtonCommonProps & (KdsProgressButtonIconWithLabel | KdsProgressButtonIconOnly);
|
|
167
|
+
/**
|
|
168
|
+
* Prefixed component types for use in composite components
|
|
169
|
+
* Pre-computed here to avoid Vue SFC compiler issues with mapped types
|
|
170
|
+
*/
|
|
171
|
+
export type PrefixedKdsButtonProps = PrefixedCommonProps & PrefixedWithVariant & PrefixedWithLabelAndIcons & PrefixedWithDestructive;
|
|
172
|
+
export type PrefixedKdsLinkButtonProps = PrefixedCommonProps & PrefixedWithVariant & PrefixedWithLabelAndIcons & PrefixedWithDestructive & PrefixedWithRouterNavigation & PrefixedWithAnchorElementAttributes;
|
|
173
|
+
/**
|
|
174
|
+
* Helper types for excluding button props in composite components
|
|
175
|
+
* These represent the negation of prefixed button props
|
|
176
|
+
*/
|
|
177
|
+
export type PrefixedButtonPropsAsNever = {
|
|
178
|
+
buttonLabel?: never;
|
|
179
|
+
buttonLeadingIcon?: never;
|
|
180
|
+
buttonTrailingIcon?: never;
|
|
181
|
+
buttonAriaLabel?: never;
|
|
182
|
+
buttonSize?: never;
|
|
183
|
+
buttonDisabled?: never;
|
|
184
|
+
buttonTitle?: never;
|
|
185
|
+
buttonVariant?: never;
|
|
186
|
+
buttonDestructive?: never;
|
|
187
|
+
buttonTo?: never;
|
|
188
|
+
buttonDownload?: never;
|
|
189
|
+
buttonTarget?: never;
|
|
190
|
+
buttonRel?: never;
|
|
191
|
+
};
|
|
192
|
+
export type PrefixedAnchorAttributesAsNever = {
|
|
193
|
+
buttonDownload?: never;
|
|
194
|
+
buttonTarget?: never;
|
|
195
|
+
buttonRel?: never;
|
|
196
|
+
};
|
|
197
|
+
export type PrefixedRouterNavigationAsNever = {
|
|
198
|
+
buttonTo?: never;
|
|
199
|
+
};
|
|
131
200
|
export {};
|
|
132
201
|
//# source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AAW,CAAC,EAAE,KAAK,CAAC;IACpB,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,kBAAkB,CAAC,EAAE,KAAK,CAAC;IAC3B,eAAe,CAAC,EAAE,KAAK,CAAC;IACxB,UAAU,CAAC,EAAE,KAAK,CAAC;IACnB,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,WAAW,CAAC,EAAE,KAAK,CAAC;IACpB,aAAa,CAAC,EAAE,KAAK,CAAC;IACtB,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,cAAc,CAAC,EAAE,KAAK,CAAC;IACvB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,+BAA+B,GAAG;IAC5C,QAAQ,CAAC,EAAE,KAAK,CAAC;CAClB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/BaseCheckbox.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"BaseCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/BaseCheckbox.vue"],"names":[],"mappings":";AA+ZA,wBASG"}
|
|
@@ -8,8 +8,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
error: boolean;
|
|
12
11
|
disabled: boolean;
|
|
12
|
+
error: boolean;
|
|
13
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=KdsRadioButton.vue.d.ts.map
|
|
@@ -9,8 +9,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
9
9
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
size: import('./types').KdsValueSwitchSize;
|
|
12
|
-
variant: import('./types').KdsValueSwitchVariant;
|
|
13
12
|
disabled: boolean;
|
|
13
|
+
variant: import('./types').KdsValueSwitchVariant;
|
|
14
14
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
15
15
|
availableWidthContainer: HTMLDivElement;
|
|
16
16
|
optionContainer: HTMLDivElement;
|
package/dist/index.css
CHANGED
|
@@ -366,6 +366,30 @@ html.kds-legacy {
|
|
|
366
366
|
}
|
|
367
367
|
}
|
|
368
368
|
|
|
369
|
+
.kds-empty-state[data-v-34b52d0e] {
|
|
370
|
+
display: flex;
|
|
371
|
+
flex-direction: column;
|
|
372
|
+
gap: var(--kds-spacing-container-0-5x);
|
|
373
|
+
align-items: center;
|
|
374
|
+
max-width: 280px;
|
|
375
|
+
padding: var(--kds-spacing-container-0-5x);
|
|
376
|
+
}
|
|
377
|
+
.kds-empty-state-headline[data-v-34b52d0e] {
|
|
378
|
+
margin: 0;
|
|
379
|
+
font: var(--kds-font-base-title-small);
|
|
380
|
+
color: var(--kds-color-text-and-icon-muted);
|
|
381
|
+
text-align: center;
|
|
382
|
+
}
|
|
383
|
+
.kds-empty-state-description[data-v-34b52d0e] {
|
|
384
|
+
margin: 0;
|
|
385
|
+
font: var(--kds-font-base-body-small);
|
|
386
|
+
color: var(--kds-color-text-and-icon-muted);
|
|
387
|
+
text-align: center;
|
|
388
|
+
}
|
|
389
|
+
.kds-empty-state-action[data-v-34b52d0e] {
|
|
390
|
+
margin-top: var(--kds-spacing-container-0-12x);
|
|
391
|
+
}
|
|
392
|
+
|
|
369
393
|
.modal-header {
|
|
370
394
|
&[data-v-583e34fe] {
|
|
371
395
|
display: flex;
|
|
@@ -534,7 +558,7 @@ body:has(dialog.modal[open]) {
|
|
|
534
558
|
}
|
|
535
559
|
|
|
536
560
|
.checkbox {
|
|
537
|
-
&[data-v-
|
|
561
|
+
&[data-v-65cb29d7] {
|
|
538
562
|
--bg-initial: var(--kds-color-background-input-initial);
|
|
539
563
|
--bg-hover: var(--kds-color-background-input-hover);
|
|
540
564
|
--bg-active: var(--kds-color-background-input-active);
|
|
@@ -554,7 +578,7 @@ body:has(dialog.modal[open]) {
|
|
|
554
578
|
background: none;
|
|
555
579
|
border: none;
|
|
556
580
|
}
|
|
557
|
-
.control[data-v-
|
|
581
|
+
.control[data-v-65cb29d7] {
|
|
558
582
|
position: relative;
|
|
559
583
|
display: flex;
|
|
560
584
|
flex-shrink: 0;
|
|
@@ -567,41 +591,41 @@ body:has(dialog.modal[open]) {
|
|
|
567
591
|
border: var(--border);
|
|
568
592
|
border-radius: var(--kds-border-radius-container-0-25x);
|
|
569
593
|
}
|
|
570
|
-
&:focus-visible .control[data-v-
|
|
594
|
+
&:focus-visible .control[data-v-65cb29d7] {
|
|
571
595
|
outline: var(--kds-border-action-focused);
|
|
572
596
|
outline-offset: var(--kds-spacing-offset-focus);
|
|
573
597
|
}
|
|
574
|
-
&:hover:not(.disabled) .control[data-v-
|
|
598
|
+
&:hover:not(.disabled) .control[data-v-65cb29d7] {
|
|
575
599
|
background: var(--bg-hover);
|
|
576
600
|
}
|
|
577
|
-
&:active:not(.disabled) .control[data-v-
|
|
601
|
+
&:active:not(.disabled) .control[data-v-65cb29d7] {
|
|
578
602
|
background: var(--bg-active);
|
|
579
603
|
}
|
|
580
|
-
&.checked[data-v-
|
|
581
|
-
&.indeterminate[data-v-
|
|
604
|
+
&.checked[data-v-65cb29d7],
|
|
605
|
+
&.indeterminate[data-v-65cb29d7] {
|
|
582
606
|
--bg-initial: var(--kds-color-background-selected-initial);
|
|
583
607
|
--bg-hover: var(--kds-color-background-selected-hover);
|
|
584
608
|
--bg-active: var(--kds-color-background-selected-active);
|
|
585
609
|
--border: var(--kds-border-action-selected);
|
|
586
610
|
}
|
|
587
611
|
.content {
|
|
588
|
-
&[data-v-
|
|
612
|
+
&[data-v-65cb29d7] {
|
|
589
613
|
display: flex;
|
|
590
614
|
flex-direction: column;
|
|
591
615
|
gap: var(--kds-spacing-container-0-12x);
|
|
592
616
|
text-rendering: geometricprecision;
|
|
593
617
|
}
|
|
594
|
-
& .label[data-v-
|
|
618
|
+
& .label[data-v-65cb29d7] {
|
|
595
619
|
padding-top: var(--kds-spacing-container-0-10x);
|
|
596
620
|
font: var(--kds-font-base-interactive-small);
|
|
597
621
|
color: var(--text-color);
|
|
598
622
|
}
|
|
599
|
-
& .helper-text[data-v-
|
|
623
|
+
& .helper-text[data-v-65cb29d7] {
|
|
600
624
|
font: var(--kds-font-base-subtext-small);
|
|
601
625
|
color: var(--helper-text-color);
|
|
602
626
|
}
|
|
603
627
|
}
|
|
604
|
-
&.disabled[data-v-
|
|
628
|
+
&.disabled[data-v-65cb29d7] {
|
|
605
629
|
--border: var(--kds-border-action-disabled);
|
|
606
630
|
--icon-color: var(--kds-color-text-and-icon-disabled);
|
|
607
631
|
--text-color: var(--kds-color-text-and-icon-disabled);
|
|
@@ -610,20 +634,20 @@ body:has(dialog.modal[open]) {
|
|
|
610
634
|
cursor: default;
|
|
611
635
|
}
|
|
612
636
|
&.error {
|
|
613
|
-
&[data-v-
|
|
637
|
+
&[data-v-65cb29d7] {
|
|
614
638
|
--border: var(--kds-border-action-error);
|
|
615
639
|
--icon-color: var(--kds-color-text-and-icon-danger);
|
|
616
640
|
--text-color: var(--kds-color-text-and-icon-danger);
|
|
617
641
|
--bg-hover: var(--kds-color-background-danger-hover);
|
|
618
642
|
--bg-active: var(--kds-color-background-danger-active);
|
|
619
643
|
}
|
|
620
|
-
&.checked[data-v-
|
|
621
|
-
&.indeterminate[data-v-
|
|
644
|
+
&.checked[data-v-65cb29d7],
|
|
645
|
+
&.indeterminate[data-v-65cb29d7] {
|
|
622
646
|
--bg-initial: var(--kds-color-background-danger-initial);
|
|
623
647
|
}
|
|
624
648
|
}
|
|
625
649
|
}
|
|
626
|
-
.subtext-wrapper[data-v-
|
|
650
|
+
.subtext-wrapper[data-v-65cb29d7] {
|
|
627
651
|
padding-left: calc(
|
|
628
652
|
var(--kds-dimension-component-height-0-88x) +
|
|
629
653
|
var(--kds-spacing-container-0-37x)
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
export { default as KdsIcon } from './Icon/KdsIcon.vue';
|
|
2
2
|
export { default as KdsDataType } from './Icon/KdsDataType.vue';
|
|
3
|
+
export { default as KdsEmptyState } from './EmptyState/KdsEmptyState.vue';
|
|
3
4
|
export { default as KdsModal } from './Modal/KdsModal.vue';
|
|
4
5
|
export { default as KdsModalLayout } from './Modal/KdsModalLayout.vue';
|
|
5
6
|
export { default as KdsDynamicModalProvider } from './Modal/KdsDynamicModalProvider.vue';
|
|
@@ -7,6 +8,7 @@ export { default as KdsLoadingSpinner } from './LoadingSpinner/KdsLoadingSpinner
|
|
|
7
8
|
export { type KdsDynamicDialogConfirmConfig, type KdsDynamicModalTemplateConfig, type KdsDynamicModalPropsAPI, useKdsDynamicModal, } from './Modal/useKdsDynamicModal';
|
|
8
9
|
export type * from './Icon/types';
|
|
9
10
|
export type * from './Modal/types';
|
|
11
|
+
export type { KdsEmptyStateProps } from './EmptyState/types';
|
|
10
12
|
export * from './buttons';
|
|
11
13
|
export type * from './buttons';
|
|
12
14
|
export * from './forms';
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAC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