@knime/kds-components 6.3.0 → 6.4.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 +16 -0
- package/dist/index.css +94 -32
- package/dist/index.js +238 -172
- package/dist/index.js.map +1 -1
- package/dist/src/components/feedback/Banner/KdsBanner.vue.d.ts +5 -0
- package/dist/src/components/feedback/Banner/KdsBanner.vue.d.ts.map +1 -0
- package/dist/src/components/feedback/Banner/enums.d.ts +2 -0
- package/dist/src/components/feedback/Banner/enums.d.ts.map +1 -0
- package/dist/src/components/feedback/Banner/index.d.ts +4 -0
- package/dist/src/components/feedback/Banner/index.d.ts.map +1 -0
- package/dist/src/components/feedback/Banner/types.d.ts +12 -0
- package/dist/src/components/feedback/Banner/types.d.ts.map +1 -0
- package/dist/src/components/feedback/BaseMessage.vue.d.ts +19 -0
- package/dist/src/components/feedback/BaseMessage.vue.d.ts.map +1 -0
- package/dist/src/components/feedback/InlineMessage/KdsInlineMessage.vue.d.ts.map +1 -1
- package/dist/src/components/feedback/InlineMessage/enums.d.ts +1 -7
- package/dist/src/components/feedback/InlineMessage/enums.d.ts.map +1 -1
- package/dist/src/components/feedback/enums.d.ts +8 -0
- package/dist/src/components/feedback/enums.d.ts.map +1 -0
- package/dist/src/components/feedback/index.d.ts +2 -0
- package/dist/src/components/feedback/index.d.ts.map +1 -1
- package/dist/src/components/feedback/types.d.ts +3 -0
- package/dist/src/components/feedback/types.d.ts.map +1 -0
- package/dist/src/components/feedback/variant.d.ts +11 -0
- package/dist/src/components/feedback/variant.d.ts.map +1 -0
- package/package.json +4 -4
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { KdsBannerProps } from './types';
|
|
2
|
+
declare const __VLS_export: import('vue').DefineComponent<KdsBannerProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsBannerProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
3
|
+
declare const _default: typeof __VLS_export;
|
|
4
|
+
export default _default;
|
|
5
|
+
//# sourceMappingURL=KdsBanner.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsBanner.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/KdsBanner.vue"],"names":[],"mappings":"AAyGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAuG9C,QAAA,MAAM,YAAY,wSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,IAAI,gBAAgB,EACtC,mBAAmB,IAAI,iBAAiB,GACzC,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { KdsActionButtonProps } from '../../../components/buttons';
|
|
2
|
+
import { kdsBannerVariant } from './enums';
|
|
3
|
+
export type KdsBannerVariant = (typeof kdsBannerVariant)[keyof typeof kdsBannerVariant];
|
|
4
|
+
export type KdsBannerProps = {
|
|
5
|
+
/** The message text displayed inside the banner. Keep it short and precise; avoid multiline text. */
|
|
6
|
+
description: string;
|
|
7
|
+
/** Optional action buttons displayed on the right of the banner. Button size is always small. */
|
|
8
|
+
actions?: KdsActionButtonProps[];
|
|
9
|
+
/** Variant of the banner. */
|
|
10
|
+
variant?: KdsBannerVariant;
|
|
11
|
+
};
|
|
12
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3C,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,MAAM,cAAc,GAAG;IAC3B,qGAAqG;IACrG,WAAW,EAAE,MAAM,CAAC;IAEpB,iGAAiG;IACjG,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,6BAA6B;IAC7B,OAAO,CAAC,EAAE,gBAAgB,CAAC;CAC5B,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { KdsFeedbackVariant } from './types';
|
|
2
|
+
type __VLS_Props = {
|
|
3
|
+
/** Semantic variant driving the surface colors and the ARIA live-region role. */
|
|
4
|
+
variant?: KdsFeedbackVariant;
|
|
5
|
+
};
|
|
6
|
+
declare var __VLS_1: {};
|
|
7
|
+
type __VLS_Slots = {} & {
|
|
8
|
+
default?: (props: typeof __VLS_1) => any;
|
|
9
|
+
};
|
|
10
|
+
declare const __VLS_base: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, any>;
|
|
11
|
+
declare const __VLS_export: __VLS_WithSlots<typeof __VLS_base, __VLS_Slots>;
|
|
12
|
+
declare const _default: typeof __VLS_export;
|
|
13
|
+
export default _default;
|
|
14
|
+
type __VLS_WithSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
//# sourceMappingURL=BaseMessage.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/BaseMessage.vue"],"names":[],"mappings":"AA6DA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAMlD,KAAK,WAAW,GAAG;IACjB,iFAAiF;IACjF,OAAO,CAAC,EAAE,kBAAkB,CAAC;CAC9B,CAAC;AAqCF,QAAA,IAAI,OAAO,IAAW,CAAE;AACxB,KAAK,WAAW,GAAG,EAAE,GACnB;IAAE,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,OAAO,OAAO,KAAK,GAAG,CAAA;CAAE,CAAC;AAK/C,QAAA,MAAM,UAAU,kSAEd,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 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsInlineMessage.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/KdsInlineMessage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsInlineMessage.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/KdsInlineMessage.vue"],"names":[],"mappings":"AA6FA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA0GrD,QAAA,MAAM,YAAY,sTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,8 +1,2 @@
|
|
|
1
|
-
export
|
|
2
|
-
readonly ERROR: "error";
|
|
3
|
-
readonly INFO: "info";
|
|
4
|
-
readonly SUCCESS: "success";
|
|
5
|
-
readonly WARNING: "warning";
|
|
6
|
-
};
|
|
7
|
-
export declare const kdsInlineMessageVariants: ("error" | "info" | "warning" | "success")[];
|
|
1
|
+
export { kdsFeedbackVariant as kdsInlineMessageVariant, kdsFeedbackVariants as kdsInlineMessageVariants, } from '../enums';
|
|
8
2
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/enums.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,IAAI,uBAAuB,EAC7C,mBAAmB,IAAI,wBAAwB,GAChD,MAAM,UAAU,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export declare const kdsFeedbackVariant: {
|
|
2
|
+
readonly ERROR: "error";
|
|
3
|
+
readonly INFO: "info";
|
|
4
|
+
readonly SUCCESS: "success";
|
|
5
|
+
readonly WARNING: "warning";
|
|
6
|
+
};
|
|
7
|
+
export declare const kdsFeedbackVariants: ("error" | "info" | "warning" | "success")[];
|
|
8
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,kBAAkB;;;;;CAKrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,8CAAoC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAE7C,MAAM,MAAM,kBAAkB,GAC5B,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { HTMLAttributes } from 'vue';
|
|
2
|
+
import { KdsIconName } from '../../components/accessories';
|
|
3
|
+
import { KdsFeedbackVariant } from './types';
|
|
4
|
+
/** Status icon shown for each feedback variant. */
|
|
5
|
+
export declare const feedbackVariantIcon: (variant: KdsFeedbackVariant) => KdsIconName;
|
|
6
|
+
/**
|
|
7
|
+
* ARIA live-region role for each feedback variant: an assertive `alert` for
|
|
8
|
+
* `warning` / `error`, a polite `status` for `info` / `success`.
|
|
9
|
+
*/
|
|
10
|
+
export declare const feedbackVariantRole: (variant: KdsFeedbackVariant) => HTMLAttributes["role"];
|
|
11
|
+
//# sourceMappingURL=variant.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"variant.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/variant.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAE1C,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAElD,mDAAmD;AACnD,eAAO,MAAM,mBAAmB,GAC9B,SAAS,kBAAkB,KAC1B,WAYF,CAAC;AAEF;;;GAGG;AACH,eAAO,MAAM,mBAAmB,GAC9B,SAAS,kBAAkB,KAC1B,cAAc,CAAC,MAAM,CAC2C,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.4.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.4.0",
|
|
42
42
|
"@knime/utils": "^2.0.0"
|
|
43
43
|
},
|
|
44
44
|
"devDependencies": {
|
|
@@ -57,8 +57,8 @@
|
|
|
57
57
|
"vite-svg-loader": "^5.1.1",
|
|
58
58
|
"vue": "3.5.40",
|
|
59
59
|
"vue-tsc": "^3.3.8",
|
|
60
|
-
"@knime/kds-code-editor": "^6.
|
|
61
|
-
"@knime/kds-table": "^6.
|
|
60
|
+
"@knime/kds-code-editor": "^6.4.0",
|
|
61
|
+
"@knime/kds-table": "^6.4.0"
|
|
62
62
|
},
|
|
63
63
|
"engines": {
|
|
64
64
|
"node": ">=24"
|