@knime/kds-components 14.3.0 → 14.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 +12 -0
- package/dist/index.css +85 -27
- package/dist/index.js +28 -12
- package/dist/index.js.map +1 -1
- package/dist/src/components/feedback/Banner/KdsBanner.vue.d.ts.map +1 -1
- package/dist/src/components/feedback/Banner/enums.d.ts +1 -1
- package/dist/src/components/feedback/Banner/enums.d.ts.map +1 -1
- package/dist/src/components/feedback/Banner/index.d.ts +2 -2
- package/dist/src/components/feedback/Banner/index.d.ts.map +1 -1
- package/dist/src/components/feedback/Banner/types.d.ts +13 -1
- package/dist/src/components/feedback/Banner/types.d.ts.map +1 -1
- package/dist/src/components/feedback/BaseMessage.vue.d.ts.map +1 -1
- package/dist/src/components/feedback/InlineMessage/KdsInlineMessage.vue.d.ts.map +1 -1
- package/dist/src/components/feedback/InlineMessage/enums.d.ts +1 -1
- package/dist/src/components/feedback/InlineMessage/enums.d.ts.map +1 -1
- package/dist/src/components/feedback/InlineMessage/index.d.ts +2 -2
- package/dist/src/components/feedback/InlineMessage/index.d.ts.map +1 -1
- package/dist/src/components/feedback/InlineMessage/types.d.ts +14 -1
- package/dist/src/components/feedback/InlineMessage/types.d.ts.map +1 -1
- package/dist/src/components/feedback/enums.d.ts +6 -0
- package/dist/src/components/feedback/enums.d.ts.map +1 -1
- package/package.json +4 -4
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsBanner.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/KdsBanner.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsBanner.vue.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/KdsBanner.vue"],"names":[],"mappings":"AA4IA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AA+G9C,QAAA,MAAM,YAAY,wSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { kdsFeedbackVariant as kdsBannerVariant, kdsFeedbackVariants as kdsBannerVariants, } from '../enums';
|
|
1
|
+
export { kdsFeedbackFlush as kdsBannerFlush, kdsFeedbackFlushOptions as kdsBannerFlushOptions, kdsFeedbackVariant as kdsBannerVariant, kdsFeedbackVariants as kdsBannerVariants, } from '../enums';
|
|
2
2
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +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"}
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/Banner/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,cAAc,EAClC,uBAAuB,IAAI,qBAAqB,EAChD,kBAAkB,IAAI,gBAAgB,EACtC,mBAAmB,IAAI,iBAAiB,GACzC,MAAM,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as KdsBanner } from './KdsBanner.vue';
|
|
2
|
-
export
|
|
3
|
-
export type
|
|
2
|
+
export { kdsBannerFlush, kdsBannerFlushOptions, kdsBannerVariant, kdsBannerVariants, } from './enums';
|
|
3
|
+
export type { KdsBannerFlush, KdsBannerProps, KdsBannerVariant } from './types';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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;
|
|
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,OAAO,EACL,cAAc,EACd,qBAAqB,EACrB,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AACjB,YAAY,EAAE,cAAc,EAAE,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { KdsActionButtonProps } from '../../../components/buttons';
|
|
2
|
-
import { kdsBannerVariant } from './enums';
|
|
2
|
+
import { kdsBannerFlush, kdsBannerVariant } from './enums';
|
|
3
3
|
export type KdsBannerVariant = (typeof kdsBannerVariant)[keyof typeof kdsBannerVariant];
|
|
4
|
+
export type KdsBannerFlush = (typeof kdsBannerFlush)[keyof typeof kdsBannerFlush];
|
|
4
5
|
export type KdsBannerProps = {
|
|
5
6
|
/** The message text displayed inside the banner. Keep it short and precise; avoid multiline text. */
|
|
6
7
|
description: string;
|
|
@@ -8,5 +9,16 @@ export type KdsBannerProps = {
|
|
|
8
9
|
actions?: KdsActionButtonProps[];
|
|
9
10
|
/** Variant of the banner. */
|
|
10
11
|
variant?: KdsBannerVariant;
|
|
12
|
+
/**
|
|
13
|
+
* Makes the banner flush, so it sits edge to edge in a layout: no radius and
|
|
14
|
+
* a single border edge, on the side that faces the content. The value names
|
|
15
|
+
* where the banner sits, like Figma's `Flush` property. `off` is a rounded
|
|
16
|
+
* banner with a full border, for use in page content. `top` sits at the top,
|
|
17
|
+
* e.g. as a global banner directly under the app header, and draws its
|
|
18
|
+
* bottom edge. `bottom` sits at the bottom, e.g. in the footer of a menu,
|
|
19
|
+
* popover or panel, and draws its top edge. Let a flush banner span the full
|
|
20
|
+
* width of its container.
|
|
21
|
+
*/
|
|
22
|
+
flush?: KdsBannerFlush;
|
|
11
23
|
};
|
|
12
24
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +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;
|
|
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,cAAc,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE3D,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,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;IAE3B;;;;;;;;;OASG;IACH,KAAK,CAAC,EAAE,cAAc,CAAC;CACxB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/BaseMessage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/components/feedback/BaseMessage.vue"],"names":[],"mappings":"AAiEA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAOlD,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":"AAqIA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA0HrD,QAAA,MAAM,YAAY,sTAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { kdsFeedbackVariant as kdsInlineMessageVariant, kdsFeedbackVariants as kdsInlineMessageVariants, } from '../enums';
|
|
1
|
+
export { kdsFeedbackFlush as kdsInlineMessageFlush, kdsFeedbackFlushOptions as kdsInlineMessageFlushOptions, kdsFeedbackVariant as kdsInlineMessageVariant, kdsFeedbackVariants as kdsInlineMessageVariants, } from '../enums';
|
|
2
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,OAAO,EACL,kBAAkB,IAAI,uBAAuB,EAC7C,mBAAmB,IAAI,wBAAwB,GAChD,MAAM,UAAU,CAAC"}
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/enums.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,gBAAgB,IAAI,qBAAqB,EACzC,uBAAuB,IAAI,4BAA4B,EACvD,kBAAkB,IAAI,uBAAuB,EAC7C,mBAAmB,IAAI,wBAAwB,GAChD,MAAM,UAAU,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
export { default as KdsInlineMessage } from './KdsInlineMessage.vue';
|
|
2
|
-
export
|
|
3
|
-
export type
|
|
2
|
+
export { kdsInlineMessageFlush, kdsInlineMessageFlushOptions, kdsInlineMessageVariant, kdsInlineMessageVariants, } from './enums';
|
|
3
|
+
export type { KdsInlineMessageFlush, KdsInlineMessageProps, KdsInlineMessageVariant, } from './types';
|
|
4
4
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,OAAO,EACL,qBAAqB,EACrB,4BAA4B,EAC5B,uBAAuB,EACvB,wBAAwB,GACzB,MAAM,SAAS,CAAC;AACjB,YAAY,EACV,qBAAqB,EACrB,qBAAqB,EACrB,uBAAuB,GACxB,MAAM,SAAS,CAAC"}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { KdsActionButtonProps } from '../../../components/buttons';
|
|
2
|
-
import { kdsInlineMessageVariant } from './enums';
|
|
2
|
+
import { kdsInlineMessageFlush, kdsInlineMessageVariant } from './enums';
|
|
3
3
|
export type KdsInlineMessageVariant = (typeof kdsInlineMessageVariant)[keyof typeof kdsInlineMessageVariant];
|
|
4
|
+
export type KdsInlineMessageFlush = (typeof kdsInlineMessageFlush)[keyof typeof kdsInlineMessageFlush];
|
|
4
5
|
export type KdsInlineMessageProps = {
|
|
5
6
|
/** The headline displayed at the top of the inline message. */
|
|
6
7
|
headline: string;
|
|
@@ -10,5 +11,17 @@ export type KdsInlineMessageProps = {
|
|
|
10
11
|
actions?: KdsActionButtonProps[];
|
|
11
12
|
/** Variant of the inline message. */
|
|
12
13
|
variant?: KdsInlineMessageVariant;
|
|
14
|
+
/**
|
|
15
|
+
* Makes the message flush, so it sits edge to edge in a container: no radius
|
|
16
|
+
* and a single border edge, on the side that faces the container's content.
|
|
17
|
+
* The value names where the message sits, like Figma's `Flush` property.
|
|
18
|
+
* `off` is a rounded message with a full border, for a standalone message in
|
|
19
|
+
* content. `top` sits at the top of a container, e.g. as the header of a
|
|
20
|
+
* menu, and draws its bottom edge. `bottom` sits at the bottom, e.g. in the
|
|
21
|
+
* footer of a menu, popover or panel, and draws its top edge. Let a flush
|
|
22
|
+
* message span the full width of its container. Its sides are padded like
|
|
23
|
+
* menu items, so its content lines up with a menu.
|
|
24
|
+
*/
|
|
25
|
+
flush?: KdsInlineMessageFlush;
|
|
13
26
|
};
|
|
14
27
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/feedback/InlineMessage/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,oBAAoB,EAAE,MAAM,6BAA6B,CAAC;AAExE,OAAO,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAEzE,MAAM,MAAM,uBAAuB,GACjC,CAAC,OAAO,uBAAuB,CAAC,CAAC,MAAM,OAAO,uBAAuB,CAAC,CAAC;AAEzE,MAAM,MAAM,qBAAqB,GAC/B,CAAC,OAAO,qBAAqB,CAAC,CAAC,MAAM,OAAO,qBAAqB,CAAC,CAAC;AAErE,MAAM,MAAM,qBAAqB,GAAG;IAClC,+DAA+D;IAC/D,QAAQ,EAAE,MAAM,CAAC;IAEjB,2DAA2D;IAC3D,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,yGAAyG;IACzG,OAAO,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAEjC,qCAAqC;IACrC,OAAO,CAAC,EAAE,uBAAuB,CAAC;IAElC;;;;;;;;;;OAUG;IACH,KAAK,CAAC,EAAE,qBAAqB,CAAC;CAC/B,CAAC"}
|
|
@@ -5,4 +5,10 @@ export declare const kdsFeedbackVariant: {
|
|
|
5
5
|
readonly WARNING: "warning";
|
|
6
6
|
};
|
|
7
7
|
export declare const kdsFeedbackVariants: ("error" | "info" | "success" | "warning")[];
|
|
8
|
+
export declare const kdsFeedbackFlush: {
|
|
9
|
+
readonly OFF: "off";
|
|
10
|
+
readonly TOP: "top";
|
|
11
|
+
readonly BOTTOM: "bottom";
|
|
12
|
+
};
|
|
13
|
+
export declare const kdsFeedbackFlushOptions: ("bottom" | "top" | "off")[];
|
|
8
14
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +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
|
+
{"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;AAErE,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,uBAAuB,8BAAkC,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "14.
|
|
3
|
+
"version": "14.4.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -35,15 +35,15 @@
|
|
|
35
35
|
"vue": "~3.5.0"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@knime/kds-styles": "^14.
|
|
38
|
+
"@knime/kds-styles": "^14.4.0",
|
|
39
39
|
"@knime/utils": "^4.0.0",
|
|
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": "^14.
|
|
46
|
-
"@knime/kds-table": "^14.
|
|
45
|
+
"@knime/kds-code-editor": "^14.4.0",
|
|
46
|
+
"@knime/kds-table": "^14.4.0",
|
|
47
47
|
"@storybook/vue3-vite": "^10.6.2",
|
|
48
48
|
"@vitejs/plugin-vue": "^6.0.8",
|
|
49
49
|
"@vue/test-utils": "^2.4.11",
|