@knime/kds-components 11.5.0 → 11.6.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.
- package/CHANGELOG.md +14 -0
- package/dist/index.css +23 -23
- package/dist/index.js +287 -218
- package/dist/index.js.map +1 -1
- package/dist/src/components/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts +2 -83
- package/dist/src/components/buttons/KdsMenuButton/KdsMenuButton.vue.d.ts.map +1 -1
- package/dist/src/components/buttons/KdsMenuButton/types.d.ts +4 -0
- package/dist/src/components/buttons/KdsMenuButton/types.d.ts.map +1 -1
- package/dist/src/components/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts.map +1 -1
- package/dist/src/components/forms/selects/TwinList/TwinListBody.vue.d.ts.map +1 -1
- package/dist/src/layouts/panels/Navigation/KdsNavItem/types.d.ts +3 -1
- package/dist/src/layouts/panels/Navigation/KdsNavItem/types.d.ts.map +1 -1
- package/package.json +7 -7
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { KdsMenuButtonToggleButton } from './types';
|
|
1
2
|
type __VLS_ModelProps = {
|
|
2
3
|
/** Whether the menu is open. */
|
|
3
4
|
modelValue?: boolean;
|
|
@@ -19,89 +20,7 @@ declare const __VLS_export: import('vue').DefineComponent<(import('../../..').Wi
|
|
|
19
20
|
items: import('./types').KdsMenuItem[];
|
|
20
21
|
menuMaxHeight?: string;
|
|
21
22
|
} & __VLS_ModelProps), {
|
|
22
|
-
menuButtonEl: Readonly<import('vue').ShallowRef<
|
|
23
|
-
size?: import('..').KdsButtonSize;
|
|
24
|
-
disabled?: boolean;
|
|
25
|
-
tooltip?: string;
|
|
26
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
27
|
-
} & import('..').WithLabel & {
|
|
28
|
-
modelValue?: boolean;
|
|
29
|
-
}) | (import('../../..').WithTestId & {
|
|
30
|
-
size?: import('..').KdsButtonSize;
|
|
31
|
-
disabled?: boolean;
|
|
32
|
-
tooltip?: string;
|
|
33
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
34
|
-
} & import('..').WithLeadingIconOnly & {
|
|
35
|
-
modelValue?: boolean;
|
|
36
|
-
})> & Readonly<{
|
|
37
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
38
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
39
|
-
"update:modelValue": (value: boolean) => any;
|
|
40
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
41
|
-
P: {};
|
|
42
|
-
B: {};
|
|
43
|
-
D: {};
|
|
44
|
-
C: {};
|
|
45
|
-
M: {};
|
|
46
|
-
Defaults: {};
|
|
47
|
-
}, {} & (Readonly<(import('../../..').WithTestId & {
|
|
48
|
-
size?: import('..').KdsButtonSize;
|
|
49
|
-
disabled?: boolean;
|
|
50
|
-
tooltip?: string;
|
|
51
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
52
|
-
} & import('..').WithLabel & {
|
|
53
|
-
modelValue?: boolean;
|
|
54
|
-
}) | (import('../../..').WithTestId & {
|
|
55
|
-
size?: import('..').KdsButtonSize;
|
|
56
|
-
disabled?: boolean;
|
|
57
|
-
tooltip?: string;
|
|
58
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
59
|
-
} & import('..').WithLeadingIconOnly & {
|
|
60
|
-
modelValue?: boolean;
|
|
61
|
-
})> & Readonly<{
|
|
62
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
63
|
-
}>), {}, {}, {}, {}, {}> | null, import('vue').CreateComponentPublicInstanceWithMixins<Readonly<(import('../../..').WithTestId & {
|
|
64
|
-
size?: import('..').KdsButtonSize;
|
|
65
|
-
disabled?: boolean;
|
|
66
|
-
tooltip?: string;
|
|
67
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
68
|
-
} & import('..').WithLabel & {
|
|
69
|
-
modelValue?: boolean;
|
|
70
|
-
}) | (import('../../..').WithTestId & {
|
|
71
|
-
size?: import('..').KdsButtonSize;
|
|
72
|
-
disabled?: boolean;
|
|
73
|
-
tooltip?: string;
|
|
74
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
75
|
-
} & import('..').WithLeadingIconOnly & {
|
|
76
|
-
modelValue?: boolean;
|
|
77
|
-
})> & Readonly<{
|
|
78
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
79
|
-
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
80
|
-
"update:modelValue": (value: boolean) => any;
|
|
81
|
-
}, import('vue').PublicProps, {}, false, {}, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, {}, any, import('vue').ComponentProvideOptions, {
|
|
82
|
-
P: {};
|
|
83
|
-
B: {};
|
|
84
|
-
D: {};
|
|
85
|
-
C: {};
|
|
86
|
-
M: {};
|
|
87
|
-
Defaults: {};
|
|
88
|
-
}, {} & (Readonly<(import('../../..').WithTestId & {
|
|
89
|
-
size?: import('..').KdsButtonSize;
|
|
90
|
-
disabled?: boolean;
|
|
91
|
-
tooltip?: string;
|
|
92
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
93
|
-
} & import('..').WithLabel & {
|
|
94
|
-
modelValue?: boolean;
|
|
95
|
-
}) | (import('../../..').WithTestId & {
|
|
96
|
-
size?: import('..').KdsButtonSize;
|
|
97
|
-
disabled?: boolean;
|
|
98
|
-
tooltip?: string;
|
|
99
|
-
variant?: import('..').KdsToggleButtonVariant | undefined;
|
|
100
|
-
} & import('..').WithLeadingIconOnly & {
|
|
101
|
-
modelValue?: boolean;
|
|
102
|
-
})> & Readonly<{
|
|
103
|
-
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
104
|
-
}>), {}, {}, {}, {}, {}> | null>>;
|
|
23
|
+
menuButtonEl: Readonly<import('vue').ShallowRef<KdsMenuButtonToggleButton | null>>;
|
|
105
24
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
106
25
|
"update:modelValue": (value: boolean) => any;
|
|
107
26
|
itemClick: (id: string) => any;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsMenuButton/KdsMenuButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsMenuButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsMenuButton/KdsMenuButton.vue"],"names":[],"mappings":"AAgHA,OAAO,KAAK,EAGV,yBAAyB,EAC1B,MAAM,SAAS,CAAC;AAsEjB,KAAK,gBAAgB,GAAG;IACxB,gCAAgC;IAChC,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAsGF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { KdsMenuItem } from '../../../components/lists';
|
|
2
2
|
import { KdsToggleButtonVariant } from '../KdsToggleButton';
|
|
3
|
+
import { default as KdsToggleButton } from '../KdsToggleButton/KdsToggleButton.vue';
|
|
3
4
|
import { KdsButtonCommonProps, WithLabelAndIcons } from '../types';
|
|
4
5
|
export type { KdsMenuActionItem, KdsMenuItem, KdsMenuLinkItem, KdsMenuSectionHeadlineItem, } from '../../../components/lists/MenuContainer/types';
|
|
5
6
|
export type KdsMenuButtonEmits = {
|
|
@@ -17,4 +18,7 @@ export type KdsMenuButtonProps = KdsButtonCommonProps<KdsToggleButtonVariant> &
|
|
|
17
18
|
*/
|
|
18
19
|
menuMaxHeight?: string;
|
|
19
20
|
};
|
|
21
|
+
/** The toggle button instance exposed as `menuButtonEl`. */
|
|
22
|
+
export interface KdsMenuButtonToggleButton extends InstanceType<typeof KdsToggleButton> {
|
|
23
|
+
}
|
|
20
24
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsMenuButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAExE,YAAY,EACV,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,0BAA0B,GAC3B,MAAM,+CAA+C,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,yCAAyC;IACzC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC,GAC3E,iBAAiB,GAAG;IAClB;;;OAGG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/KdsMenuButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,oBAAoB,CAAC;AACjE,OAAO,KAAK,eAAe,MAAM,wCAAwC,CAAC;AAC1E,OAAO,KAAK,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AAExE,YAAY,EACV,iBAAiB,EACjB,WAAW,EACX,eAAe,EACf,0BAA0B,GAC3B,MAAM,+CAA+C,CAAC;AAEvD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,yCAAyC;IACzC,SAAS,EAAE,CAAC,EAAE,EAAE,MAAM,CAAC,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,oBAAoB,CAAC,sBAAsB,CAAC,GAC3E,iBAAiB,GAAG;IAClB;;;OAGG;IACH,KAAK,EAAE,WAAW,EAAE,CAAC;IACrB;;OAEG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB,CAAC;AAEJ,4DAA4D;AAI5D,MAAM,WAAW,yBAA0B,SAAQ,YAAY,CAC7D,OAAO,eAAe,CACvB;CAAG"}
|
package/dist/src/components/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsMultiSelectListBox.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsMultiSelectListBox.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/MultiSelectListBox/KdsMultiSelectListBox.vue"],"names":[],"mappings":"AA0sBA,KAAK,gBAAgB,GAAG;IACxB,qCAAqC;IACrC,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,CAAC;AA+aF,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kFAIhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TwinListBody.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/TwinList/TwinListBody.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TwinListBody.vue.d.ts","sourceRoot":"","sources":["../../../../../../src/components/forms/selects/TwinList/TwinListBody.vue"],"names":[],"mappings":"AAmYA,OAAO,KAAK,EACV,qBAAqB,EAErB,iBAAiB,EAClB,MAAM,SAAS,CAAC;AAQjB,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAgLrC,KAAK,gBAAgB,GAAG;IACxB,UAAU,EAAE,qBAAqB,CAAC;CACjC,CAAC;AAKF,KAAK,iBAAiB,GAAG,WAAW,GAAG,gBAAgB,CAAC;AAuaxD,QAAA,MAAM,YAAY;;;;kFAGhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { KdsBadgeProps, KdsIconName } from '../../../../components/accessories';
|
|
2
2
|
import { KdsButtonProps } from '../../../../components/buttons';
|
|
3
3
|
type DistributiveOmit<T, K extends PropertyKey> = T extends T ? Omit<T, K> : never;
|
|
4
|
+
/** Props of the trailing button of a `KdsNavItem`; its size follows the item. */
|
|
5
|
+
export type KdsNavItemTrailingButton = DistributiveOmit<KdsButtonProps, "size">;
|
|
4
6
|
export type KdsNavItemEmits = {
|
|
5
7
|
/** Emitted when the nav item is clicked. */
|
|
6
8
|
click: [event: MouseEvent];
|
|
@@ -17,7 +19,7 @@ export type KdsNavItemProps = {
|
|
|
17
19
|
/** Optional trailing icon displayed after the label. */
|
|
18
20
|
trailingIcon?: KdsIconName;
|
|
19
21
|
/** Optional trailing button displayed after the label. */
|
|
20
|
-
trailingButton?:
|
|
22
|
+
trailingButton?: KdsNavItemTrailingButton;
|
|
21
23
|
/** Optional badge displayed after the label. */
|
|
22
24
|
badge?: KdsBadgeProps;
|
|
23
25
|
/** Whether the navigation item is selected (active). */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../../src/layouts/panels/Navigation/KdsNavItem/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,aAAa,EACb,WAAW,EACZ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AAC;IAC3B,mDAAmD;IACnD,mBAAmB,EAAE,CAAC,KAAK,EAAE,UAAU,CAAC,CAAC;CAC1C,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,uDAAuD;IACvD,KAAK,EAAE,MAAM,CAAC;IACd,8EAA8E;IAC9E,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,wDAAwD;IACxD,WAAW,CAAC,EAAE,WAAW,CAAC;IAC1B,wDAAwD;IACxD,YAAY,CAAC,EAAE,WAAW,CAAC;IAC3B,0DAA0D;IAC1D,cAAc,CAAC,EAAE,wBAAwB,CAAC;IAC1C,gDAAgD;IAChD,KAAK,CAAC,EAAE,aAAa,CAAC;IACtB,wDAAwD;IACxD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,+CAA+C;IAC/C,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "11.
|
|
3
|
+
"version": "11.6.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,23 +35,23 @@
|
|
|
35
35
|
"vue": "~3.5.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@knime/kds-styles": "^11.
|
|
39
|
-
"@knime/utils": "^2.0.
|
|
38
|
+
"@knime/kds-styles": "^11.6.0",
|
|
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": "^11.
|
|
46
|
-
"@knime/kds-table": "^11.
|
|
47
|
-
"@storybook/vue3-vite": "^10.
|
|
45
|
+
"@knime/kds-code-editor": "^11.6.0",
|
|
46
|
+
"@knime/kds-table": "^11.6.0",
|
|
47
|
+
"@storybook/vue3-vite": "^10.6.2",
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
49
49
|
"@vue/test-utils": "^2.4.11",
|
|
50
50
|
"@vue/tsconfig": "^0.9.1",
|
|
51
51
|
"@vueuse/core": "~14.4.0",
|
|
52
52
|
"prettier": "3.9.6",
|
|
53
53
|
"prettier-plugin-vue": "^1.1.6",
|
|
54
|
-
"storybook": "^10.
|
|
54
|
+
"storybook": "^10.6.2",
|
|
55
55
|
"ts-morph": "^28.0.0",
|
|
56
56
|
"vite": "^8.1.3",
|
|
57
57
|
"vite-plugin-dts": "^5.0.3",
|