@knime/kds-components 0.31.3 → 0.31.4
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 +67 -63
- package/dist/index.js +26 -19
- package/dist/index.js.map +1 -1
- package/dist/src/accessories/InlineMessage/KdsInlineMessage.vue.d.ts +16 -1
- package/dist/src/accessories/InlineMessage/KdsInlineMessage.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts +4 -0
- package/dist/src/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/src/forms/inputs/SearchInput/types.d.ts +9 -3
- package/dist/src/forms/inputs/SearchInput/types.d.ts.map +1 -1
- package/dist/src/layouts/LoadingSkeleton/enums.d.ts +4 -3
- package/dist/src/layouts/LoadingSkeleton/enums.d.ts.map +1 -1
- package/dist/src/layouts/Panel/KdsPanel.vue.d.ts.map +1 -1
- package/dist/src/layouts/Panel/enums.d.ts +2 -1
- package/dist/src/layouts/Panel/enums.d.ts.map +1 -1
- package/dist/src/layouts/Panel/types.d.ts +1 -1
- package/dist/src/overlays/Modal/KdsModalLayout.vue.d.ts.map +1 -1
- package/package.json +2 -2
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
import { KdsInlineMessageProps } from './types';
|
|
2
|
-
declare
|
|
2
|
+
declare function __VLS_template(): {
|
|
3
|
+
attrs: Partial<{}>;
|
|
4
|
+
slots: {
|
|
5
|
+
default?(_: {}): any;
|
|
6
|
+
};
|
|
7
|
+
refs: {};
|
|
8
|
+
rootEl: HTMLDivElement;
|
|
9
|
+
};
|
|
10
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<KdsInlineMessageProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsInlineMessageProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
12
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
3
13
|
export default _default;
|
|
14
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
15
|
+
new (): {
|
|
16
|
+
$slots: S;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
4
19
|
//# sourceMappingURL=KdsInlineMessage.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsInlineMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/accessories/InlineMessage/KdsInlineMessage.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsInlineMessage.vue.d.ts","sourceRoot":"","sources":["../../../../src/accessories/InlineMessage/KdsInlineMessage.vue"],"names":[],"mappings":"AAqHA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AA4BrD,iBAAS,cAAc;WA8DT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iUAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -19,6 +19,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
19
19
|
} & {
|
|
20
20
|
results?: import('./types').KdsSearchResult[];
|
|
21
21
|
resultsMaxHeight?: string;
|
|
22
|
+
leadingIcon?: import('../../../index.ts').KdsIconName;
|
|
22
23
|
}) | ({
|
|
23
24
|
modelValue?: string;
|
|
24
25
|
} & {
|
|
@@ -40,6 +41,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
40
41
|
} & {
|
|
41
42
|
results?: import('./types').KdsSearchResult[];
|
|
42
43
|
resultsMaxHeight?: string;
|
|
44
|
+
leadingIcon?: import('../../../index.ts').KdsIconName;
|
|
43
45
|
}), {
|
|
44
46
|
focus: (options?: FocusOptions) => void;
|
|
45
47
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
@@ -69,6 +71,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
69
71
|
} & {
|
|
70
72
|
results?: import('./types').KdsSearchResult[];
|
|
71
73
|
resultsMaxHeight?: string;
|
|
74
|
+
leadingIcon?: import('../../../index.ts').KdsIconName;
|
|
72
75
|
}) | ({
|
|
73
76
|
modelValue?: string;
|
|
74
77
|
} & {
|
|
@@ -90,6 +93,7 @@ declare const _default: import('vue').DefineComponent<({
|
|
|
90
93
|
} & {
|
|
91
94
|
results?: import('./types').KdsSearchResult[];
|
|
92
95
|
resultsMaxHeight?: string;
|
|
96
|
+
leadingIcon?: import('../../../index.ts').KdsIconName;
|
|
93
97
|
})> & Readonly<{
|
|
94
98
|
onBlur?: ((event: FocusEvent) => any) | undefined;
|
|
95
99
|
onFocus?: ((event: FocusEvent) => any) | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/SearchInput/KdsSearchInput.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"KdsSearchInput.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/SearchInput/KdsSearchInput.vue"],"names":[],"mappings":";iBAySa,MAAM;;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;mBAjHnB,CA3Ec;;;;;;;;iBA4LD,MAAM;;;;;;;;;;;;;;;;;;;;;;iBAAN,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAmP2lS,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCAAtH,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAlBpuS,wBAUG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { KdsIconName } from '../../../accessories';
|
|
2
|
-
import {
|
|
2
|
+
import { KdsListItemAccessory } from '../../../containers/ListItem/ListItemAccessory/types';
|
|
3
3
|
import { KdsInputFieldProps } from '../types';
|
|
4
4
|
export type KdsSearchResult = {
|
|
5
5
|
id: string;
|
|
@@ -11,13 +11,17 @@ export type KdsSearchResult = {
|
|
|
11
11
|
* during keyboard navigation and cannot be clicked.
|
|
12
12
|
*/
|
|
13
13
|
sectionHeadline?: boolean;
|
|
14
|
-
/** Optional leading accessory
|
|
15
|
-
accessory?:
|
|
14
|
+
/** Optional leading accessory shown before the text */
|
|
15
|
+
accessory?: KdsListItemAccessory;
|
|
16
16
|
text: string;
|
|
17
17
|
/** Optional subtext shown below the main label (multiline list item layout) */
|
|
18
18
|
subText?: string;
|
|
19
19
|
/** Show a separator below the item if it's not the last in the list */
|
|
20
20
|
separator?: boolean;
|
|
21
|
+
/** Disables the option in the list */
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
/** Renders the item as selected */
|
|
24
|
+
selected?: boolean;
|
|
21
25
|
};
|
|
22
26
|
export type KdsSearchInputProps = KdsInputFieldProps & {
|
|
23
27
|
/**
|
|
@@ -29,5 +33,7 @@ export type KdsSearchInputProps = KdsInputFieldProps & {
|
|
|
29
33
|
results?: KdsSearchResult[];
|
|
30
34
|
/** Max height of the results container */
|
|
31
35
|
resultsMaxHeight?: string;
|
|
36
|
+
/** Leading icon shown inside the input. Defaults to "search". */
|
|
37
|
+
leadingIcon?: KdsIconName;
|
|
32
38
|
};
|
|
33
39
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/SearchInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/SearchInput/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,sBAAsB,CAAC;AACxD,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,sDAAsD,CAAC;AACjG,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,4DAA4D;IAC5D,mBAAmB,CAAC,EAAE,WAAW,CAAC;IAClC;;;;OAIG;IACH,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,uDAAuD;IACvD,SAAS,CAAC,EAAE,oBAAoB,CAAC;IACjC,IAAI,EAAE,MAAM,CAAC;IACb,+EAA+E;IAC/E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,uEAAuE;IACvE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,sCAAsC;IACtC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mCAAmC;IACnC,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG,kBAAkB,GAAG;IACrD;;;;;OAKG;IACH,OAAO,CAAC,EAAE,eAAe,EAAE,CAAC;IAC5B,0CAA0C;IAC1C,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,iEAAiE;IACjE,WAAW,CAAC,EAAE,WAAW,CAAC;CAC3B,CAAC"}
|
|
@@ -9,9 +9,10 @@ export declare const loadingSkeletonItemShape: {
|
|
|
9
9
|
readonly BUTTON_SMALL: "button-small";
|
|
10
10
|
readonly BUTTON_XSMALL: "button-xsmall";
|
|
11
11
|
readonly CARD: "card";
|
|
12
|
-
readonly
|
|
12
|
+
readonly INPUT: "input";
|
|
13
13
|
};
|
|
14
14
|
export declare const kdsLoadingSkeletonVariant: {
|
|
15
|
+
readonly INPUT_WITH_LABEL: "input-with-label";
|
|
15
16
|
readonly HEADLINE_WITH_PARAGRAPH: "headline-with-paragraph";
|
|
16
17
|
readonly LIST_ITEM_LARGE: "list-item-large";
|
|
17
18
|
readonly LIST_ITEM_LARGE_WITH_SUBTEXT: "list-item-large-with-subtext";
|
|
@@ -27,7 +28,7 @@ export declare const kdsLoadingSkeletonVariant: {
|
|
|
27
28
|
readonly BUTTON_SMALL: "button-small";
|
|
28
29
|
readonly BUTTON_XSMALL: "button-xsmall";
|
|
29
30
|
readonly CARD: "card";
|
|
30
|
-
readonly
|
|
31
|
+
readonly INPUT: "input";
|
|
31
32
|
};
|
|
32
|
-
export declare const kdsLoadingSkeletonVariants: ("label" | "text" | "icon-large" | "icon-medium" | "icon-small" | "button-large" | "button-medium" | "button-small" | "button-xsmall" | "card" | "input-with-label" | "headline-with-paragraph" | "list-item-large" | "list-item-large-with-subtext" | "list-item-small" | "list-item-small-with-subtext")[];
|
|
33
|
+
export declare const kdsLoadingSkeletonVariants: ("input" | "label" | "text" | "icon-large" | "icon-medium" | "icon-small" | "button-large" | "button-medium" | "button-small" | "button-xsmall" | "card" | "input-with-label" | "headline-with-paragraph" | "list-item-large" | "list-item-large-with-subtext" | "list-item-small" | "list-item-small-with-subtext")[];
|
|
33
34
|
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/layouts/LoadingSkeleton/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;CAY3B,CAAC;AAEX,eAAO,MAAM,yBAAyB
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/layouts/LoadingSkeleton/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,wBAAwB;;;;;;;;;;;;CAY3B,CAAC;AAEX,eAAO,MAAM,yBAAyB;;;;;;;;;;;;;;;;;;CAQ5B,CAAC;AAEX,eAAO,MAAM,0BAA0B,wTAEtC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/KdsPanel.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/KdsPanel.vue"],"names":[],"mappings":"AAsOA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAyC7C,iBAAS,cAAc;WAqPT,OAAO,IAA6B;;kBA/QtC,CAAC,KAAK,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;kBAA3C,CAAC,KAAK,EAAE;YAAE,UAAU,CAAC,EAAE,MAAM,CAAA;SAAE,KAAK,OAAO;;;;EAoRtD;AAkBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iTAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -2,8 +2,9 @@ export declare const kdsPanelBodyOverflow: {
|
|
|
2
2
|
readonly AUTO: "auto";
|
|
3
3
|
readonly HIDDEN: "hidden";
|
|
4
4
|
readonly VISIBLE: "visible";
|
|
5
|
+
readonly CLIP: "clip";
|
|
5
6
|
};
|
|
6
|
-
export declare const kdsPanelBodyOverflows: ("auto" | "hidden" | "visible")[];
|
|
7
|
+
export declare const kdsPanelBodyOverflows: ("auto" | "hidden" | "visible" | "clip")[];
|
|
7
8
|
export declare const kdsPanelBodyVariant: {
|
|
8
9
|
readonly PADDED: "padded";
|
|
9
10
|
readonly PLAIN: "plain";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,oBAAoB;;;;;CAKvB,CAAC;AAEX,eAAO,MAAM,qBAAqB,4CAAsC,CAAC;AAEzE,eAAO,MAAM,mBAAmB;;;CAGtB,CAAC;AAEX,eAAO,MAAM,oBAAoB,wBAAqC,CAAC"}
|
|
@@ -87,7 +87,7 @@ export type KdsPanelProps = {
|
|
|
87
87
|
ariaLabel?: string;
|
|
88
88
|
/**
|
|
89
89
|
* Overflow behavior of the panel body scroll container.
|
|
90
|
-
* The body is removed from tab order when set to `hidden`.
|
|
90
|
+
* The body is removed from tab order when set to `hidden` or `clip`.
|
|
91
91
|
* When focusable and no `headline` is provided, the body uses `ariaLabel`.
|
|
92
92
|
*
|
|
93
93
|
* @default auto
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsModalLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Modal/KdsModalLayout.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsModalLayout.vue.d.ts","sourceRoot":"","sources":["../../../../src/overlays/Modal/KdsModalLayout.vue"],"names":[],"mappings":"AA4FA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAcnD,iBAAS,cAAc;WAqFT,OAAO,IAA6B;;sBAXvB,GAAG;wBACD,GAAG;;;;EAe/B;AAUD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,kTAMnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAQpG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "0.31.
|
|
3
|
+
"version": "0.31.4",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,7 +40,7 @@
|
|
|
40
40
|
"motion": "^12.39.0",
|
|
41
41
|
"pretty-bytes": "^7.1.0",
|
|
42
42
|
"temporal-polyfill": "^0.3.2",
|
|
43
|
-
"@knime/kds-styles": "^0.31.
|
|
43
|
+
"@knime/kds-styles": "^0.31.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@storybook/vue3-vite": "^10.4.3",
|