@knime/kds-components 6.0.0 → 6.1.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 +10 -0
- package/dist/{KdsIcon-VyfE1YXh.js → KdsIcon-Ci69AVx1.js} +2 -2
- package/dist/{KdsIcon-VyfE1YXh.js.map → KdsIcon-Ci69AVx1.js.map} +1 -1
- package/dist/{KdsPopover-FOQyEkHj.js → KdsPopover-DBU9xVEK.js} +9 -3
- package/dist/{KdsPopover-FOQyEkHj.js.map → KdsPopover-DBU9xVEK.js.map} +1 -1
- package/dist/index.css +6 -6
- package/dist/index.js +17 -23
- package/dist/index.js.map +1 -1
- package/dist/src/components/buttons/ActionButton/ActionButton.vue.d.ts +18 -0
- package/dist/src/components/buttons/ActionButton/ActionButton.vue.d.ts.map +1 -1
- package/dist/src/components/buttons/ActionButton/enums.d.ts +2 -1
- package/dist/src/components/buttons/ActionButton/enums.d.ts.map +1 -1
- package/dist/src/components/buttons/ActionButton/types.d.ts +10 -0
- package/dist/src/components/buttons/ActionButton/types.d.ts.map +1 -1
- package/dist/src/components/feedback/EmptyState/KdsEmptyState.vue.d.ts.map +1 -1
- package/package.json +5 -5
- package/dist/_plugin-vue_export-helper-BOaGB7Aw.js +0 -8
|
@@ -16,6 +16,15 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
16
16
|
} & {
|
|
17
17
|
size?: KdsButtonSize;
|
|
18
18
|
onClick?: (event: MouseEvent) => void;
|
|
19
|
+
}) | ({
|
|
20
|
+
type: "splitButton";
|
|
21
|
+
props: import('..').KdsSplitButtonProps & {
|
|
22
|
+
size?: never;
|
|
23
|
+
};
|
|
24
|
+
onClick: (event: MouseEvent) => void;
|
|
25
|
+
} & {
|
|
26
|
+
size?: KdsButtonSize;
|
|
27
|
+
onClick?: (event: MouseEvent) => void;
|
|
19
28
|
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<({
|
|
20
29
|
type: "button";
|
|
21
30
|
props: import('..').KdsButtonProps & {
|
|
@@ -33,6 +42,15 @@ declare const __VLS_export: import('vue').DefineComponent<({
|
|
|
33
42
|
} & {
|
|
34
43
|
size?: KdsButtonSize;
|
|
35
44
|
onClick?: (event: MouseEvent) => void;
|
|
45
|
+
}) | ({
|
|
46
|
+
type: "splitButton";
|
|
47
|
+
props: import('..').KdsSplitButtonProps & {
|
|
48
|
+
size?: never;
|
|
49
|
+
};
|
|
50
|
+
onClick: (event: MouseEvent) => void;
|
|
51
|
+
} & {
|
|
52
|
+
size?: KdsButtonSize;
|
|
53
|
+
onClick?: (event: MouseEvent) => void;
|
|
36
54
|
})> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
37
55
|
declare const _default: typeof __VLS_export;
|
|
38
56
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ActionButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/ActionButton/ActionButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ActionButton.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/ActionButton/ActionButton.vue"],"names":[],"mappings":"AA0CA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,UAAU,CAAC;AA+F9C,QAAA,MAAM,YAAY;;;YAlGlB,CAtBE;;;;WA+BS,aAAa;cACV,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;;;YAVzC,CAjB6C;;;WA0BlC,aAAa;cACV,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;;;YAVzC,CARM;;;;WAiBK,aAAa;cACV,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;;;YAVzC,CAtBE;;;;WA+BS,aAAa;cACV,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;;;YAVzC,CAjB6C;;;WA0BlC,aAAa;cACV,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;;;;YAVzC,CARM;;;;WAiBK,aAAa;cACV,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI;kGA0FvC,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export declare const kdsActionButtonType: {
|
|
2
2
|
readonly BUTTON: "button";
|
|
3
3
|
readonly LINK_BUTTON: "linkButton";
|
|
4
|
+
readonly SPLIT_BUTTON: "splitButton";
|
|
4
5
|
};
|
|
5
|
-
export declare const kdsActionButtonTypes: ("button" | "linkButton")[];
|
|
6
|
+
export declare const kdsActionButtonTypes: ("button" | "linkButton" | "splitButton")[];
|
|
6
7
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/ActionButton/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/ActionButton/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;CAItB,CAAC;AAEX,eAAO,MAAM,oBAAoB,6CAAqC,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { KdsButtonProps } from '../KdsButton';
|
|
2
|
+
import { KdsSplitButtonProps } from '../KdsSplitButton/types';
|
|
2
3
|
import { KdsLinkButtonProps } from '../links/KdsLinkButton';
|
|
3
4
|
import { kdsActionButtonType } from './enums';
|
|
4
5
|
export type KdsActionButtonType = (typeof kdsActionButtonType)[keyof typeof kdsActionButtonType];
|
|
@@ -16,5 +17,14 @@ export type KdsActionButtonProps = {
|
|
|
16
17
|
props: KdsLinkButtonProps & {
|
|
17
18
|
size?: never;
|
|
18
19
|
};
|
|
20
|
+
} | {
|
|
21
|
+
/** Type of the action button: a split button with a dropdown menu */
|
|
22
|
+
type: "splitButton";
|
|
23
|
+
/** Properties of the corresponding split button */
|
|
24
|
+
props: KdsSplitButtonProps & {
|
|
25
|
+
size?: never;
|
|
26
|
+
};
|
|
27
|
+
/** Click callback for the primary button */
|
|
28
|
+
onClick: (event: MouseEvent) => void;
|
|
19
29
|
};
|
|
20
30
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/ActionButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAC5B;IACE,gCAAgC;IAChC,IAAI,EAAE,QAAQ,CAAC;IACf,kDAAkD;IAClD,KAAK,EAAE,cAAc,GAAG;QAAE,IAAI,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;IACzC,qBAAqB;IACrB,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,GACD;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,kBAAkB,GAAG;QAAE,IAAI,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;CAC9C,CAAC"}
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/buttons/ActionButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,cAAc,CAAC;AACnD,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,yBAAyB,CAAC;AACnE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,wBAAwB,CAAC;AAEjE,OAAO,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAE9C,MAAM,MAAM,mBAAmB,GAC7B,CAAC,OAAO,mBAAmB,CAAC,CAAC,MAAM,OAAO,mBAAmB,CAAC,CAAC;AAEjE,MAAM,MAAM,oBAAoB,GAC5B;IACE,gCAAgC;IAChC,IAAI,EAAE,QAAQ,CAAC;IACf,kDAAkD;IAClD,KAAK,EAAE,cAAc,GAAG;QAAE,IAAI,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;IACzC,qBAAqB;IACrB,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,GACD;IACE,IAAI,EAAE,YAAY,CAAC;IACnB,KAAK,EAAE,kBAAkB,GAAG;QAAE,IAAI,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;CAC9C,GACD;IACE,qEAAqE;IACrE,IAAI,EAAE,aAAa,CAAC;IACpB,mDAAmD;IACnD,KAAK,EAAE,mBAAmB,GAAG;QAAE,IAAI,CAAC,EAAE,KAAK,CAAA;KAAE,CAAC;IAC9C,4CAA4C;IAC5C,OAAO,EAAE,CAAC,KAAK,EAAE,UAAU,KAAK,IAAI,CAAC;CACtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/EmptyState/KdsEmptyState.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/EmptyState/KdsEmptyState.vue"],"names":[],"mappings":"AA8GA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,gDAAgD,CAAC;AA2H3F,QAAA,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;kGAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.1.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
39
|
"motion": "^12.42.2",
|
|
40
40
|
"temporal-polyfill": "^1.0.1",
|
|
41
|
-
"@knime/kds-styles": "^6.
|
|
41
|
+
"@knime/kds-styles": "^6.1.0",
|
|
42
42
|
"@knime/utils": "^2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -56,9 +56,9 @@
|
|
|
56
56
|
"vite-plugin-lib-inject-css": "^2.2.2",
|
|
57
57
|
"vite-svg-loader": "^5.1.1",
|
|
58
58
|
"vue": "3.5.40",
|
|
59
|
-
"vue-tsc": "^3.3.
|
|
60
|
-
"@knime/kds-code-editor": "^6.
|
|
61
|
-
"@knime/kds-table": "^6.
|
|
59
|
+
"vue-tsc": "^3.3.8",
|
|
60
|
+
"@knime/kds-code-editor": "^6.1.0",
|
|
61
|
+
"@knime/kds-table": "^6.1.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=24"
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
//#region \0plugin-vue:export-helper
|
|
2
|
-
var _plugin_vue_export_helper_default = (sfc, props) => {
|
|
3
|
-
const target = sfc.__vccOpts || sfc;
|
|
4
|
-
for (const [key, val] of props) target[key] = val;
|
|
5
|
-
return target;
|
|
6
|
-
};
|
|
7
|
-
//#endregion
|
|
8
|
-
export { _plugin_vue_export_helper_default as t };
|