@knime/kds-components 0.10.0 → 0.11.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/dist/accessories/Avatar/KdsAvatar.vue.d.ts +1 -0
- package/dist/accessories/Avatar/KdsAvatar.vue.d.ts.map +1 -1
- package/dist/accessories/Avatar/enums.d.ts +8 -0
- package/dist/accessories/Avatar/enums.d.ts.map +1 -0
- package/dist/accessories/Avatar/index.d.ts +1 -0
- package/dist/accessories/Avatar/index.d.ts.map +1 -1
- package/dist/accessories/Avatar/types.d.ts +11 -1
- package/dist/accessories/Avatar/types.d.ts.map +1 -1
- package/dist/accessories/ColorSwatch/KdsColorSwatch.vue.d.ts +1 -0
- package/dist/accessories/ColorSwatch/KdsColorSwatch.vue.d.ts.map +1 -1
- package/dist/accessories/ColorSwatch/enums.d.ts +6 -0
- package/dist/accessories/ColorSwatch/enums.d.ts.map +1 -1
- package/dist/accessories/ColorSwatch/index.d.ts +1 -1
- package/dist/accessories/ColorSwatch/index.d.ts.map +1 -1
- package/dist/accessories/ColorSwatch/types.d.ts +4 -1
- package/dist/accessories/ColorSwatch/types.d.ts.map +1 -1
- package/dist/accessories/Icon/enums.d.ts +3 -2
- package/dist/accessories/Icon/enums.d.ts.map +1 -1
- package/dist/accessories/LiveStatus/KdsLiveStatus.vue.d.ts +1 -1
- package/dist/buttons/KdsButton/types.d.ts +1 -38
- package/dist/buttons/KdsButton/types.d.ts.map +1 -1
- package/dist/buttons/KdsLinkButton/types.d.ts +0 -18
- package/dist/buttons/KdsLinkButton/types.d.ts.map +1 -1
- package/dist/buttons/enums.d.ts +1 -1
- package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts +19 -0
- package/dist/forms/_helper/List/KdsListItem/KdsListItem.vue.d.ts.map +1 -0
- package/dist/forms/_helper/List/KdsListItem/demo-accessories.d.ts +8 -0
- package/dist/forms/_helper/List/KdsListItem/demo-accessories.d.ts.map +1 -0
- package/dist/forms/_helper/List/KdsListItem/index.d.ts +3 -0
- package/dist/forms/_helper/List/KdsListItem/index.d.ts.map +1 -0
- package/dist/forms/_helper/List/KdsListItem/types.d.ts +22 -0
- package/dist/forms/_helper/List/KdsListItem/types.d.ts.map +1 -0
- package/dist/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue.d.ts +8 -0
- package/dist/forms/_helper/List/ListItemAccessory/ListItemAccessory.vue.d.ts.map +1 -0
- package/dist/forms/_helper/List/ListItemAccessory/types.d.ts +27 -0
- package/dist/forms/_helper/List/ListItemAccessory/types.d.ts.map +1 -0
- package/dist/index.css +192 -156
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +173 -198
- package/dist/index.js.map +1 -1
- package/dist/layouts/EmptyState/KdsEmptyState.vue.d.ts +8 -0
- package/dist/layouts/EmptyState/KdsEmptyState.vue.d.ts.map +1 -0
- package/dist/layouts/EmptyState/index.d.ts +3 -0
- package/dist/layouts/EmptyState/index.d.ts.map +1 -0
- package/dist/layouts/EmptyState/types.d.ts +7 -0
- package/dist/layouts/EmptyState/types.d.ts.map +1 -0
- package/dist/{structures/Card/KdsCard.vue.d.ts → layouts/KdsCardClickable/KdsCardClickable.vue.d.ts} +5 -5
- package/dist/layouts/KdsCardClickable/KdsCardClickable.vue.d.ts.map +1 -0
- package/dist/layouts/KdsCardClickable/enums.d.ts.map +1 -0
- package/dist/layouts/KdsCardClickable/index.d.ts +4 -0
- package/dist/layouts/KdsCardClickable/index.d.ts.map +1 -0
- package/dist/{structures/Card → layouts/KdsCardClickable}/types.d.ts +7 -7
- package/dist/layouts/KdsCardClickable/types.d.ts.map +1 -0
- package/dist/layouts/index.d.ts +5 -0
- package/dist/layouts/index.d.ts.map +1 -0
- package/dist/overlays/Modal/KdsModalLayout.vue.d.ts.map +1 -1
- package/dist/overlays/Modal/enums.d.ts +1 -1
- package/dist/util/useKdsIsTruncated.d.ts +6 -5
- package/dist/util/useKdsIsTruncated.d.ts.map +1 -1
- package/package.json +2 -2
- package/dist/structures/Card/KdsCard.vue.d.ts.map +0 -1
- package/dist/structures/Card/enums.d.ts.map +0 -1
- package/dist/structures/Card/index.d.ts +0 -4
- package/dist/structures/Card/index.d.ts.map +0 -1
- package/dist/structures/Card/types.d.ts.map +0 -1
- package/dist/structures/EmptyState/KdsEmptyState.vue.d.ts +0 -145
- package/dist/structures/EmptyState/KdsEmptyState.vue.d.ts.map +0 -1
- package/dist/structures/EmptyState/types.d.ts +0 -11
- package/dist/structures/EmptyState/types.d.ts.map +0 -1
- package/dist/structures/index.d.ts +0 -5
- package/dist/structures/index.d.ts.map +0 -1
- /package/dist/{structures/Card → layouts/KdsCardClickable}/enums.d.ts +0 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { KdsEmptyStateProps } from './types';
|
|
2
|
+
declare const _default: import('vue').DefineComponent<KdsEmptyStateProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
+
buttonClick: (event: MouseEvent) => any;
|
|
4
|
+
}, string, import('vue').PublicProps, Readonly<KdsEmptyStateProps> & Readonly<{
|
|
5
|
+
onButtonClick?: ((event: MouseEvent) => any) | undefined;
|
|
6
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
7
|
+
export default _default;
|
|
8
|
+
//# sourceMappingURL=KdsEmptyState.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/EmptyState/KdsEmptyState.vue"],"names":[],"mappings":"AA+EA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;;;;;;AAuGlD,wBAQG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/EmptyState/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layouts/EmptyState/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAExE,MAAM,MAAM,kBAAkB,GAAG;IAC/B,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,MAAM,CAAC,EAAE,cAAc,GAAG,kBAAkB,CAAC;CAC9C,CAAC"}
|
package/dist/{structures/Card/KdsCard.vue.d.ts → layouts/KdsCardClickable/KdsCardClickable.vue.d.ts}
RENAMED
|
@@ -4,7 +4,7 @@ declare function __VLS_template(): {
|
|
|
4
4
|
default?(_: {}): any;
|
|
5
5
|
};
|
|
6
6
|
refs: {};
|
|
7
|
-
rootEl:
|
|
7
|
+
rootEl: HTMLButtonElement;
|
|
8
8
|
};
|
|
9
9
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
10
|
declare const __VLS_component: import('vue').DefineComponent<({
|
|
@@ -26,7 +26,7 @@ declare const __VLS_component: import('vue').DefineComponent<({
|
|
|
26
26
|
ariaLabel?: never;
|
|
27
27
|
ariaLabelledby: string;
|
|
28
28
|
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
29
|
-
click: (event: MouseEvent
|
|
29
|
+
click: (event: MouseEvent) => any;
|
|
30
30
|
"update:modelValue": (value: boolean) => any;
|
|
31
31
|
}, string, import('vue').PublicProps, Readonly<({
|
|
32
32
|
modelValue?: boolean;
|
|
@@ -47,9 +47,9 @@ declare const __VLS_component: import('vue').DefineComponent<({
|
|
|
47
47
|
ariaLabel?: never;
|
|
48
48
|
ariaLabelledby: string;
|
|
49
49
|
})> & Readonly<{
|
|
50
|
-
onClick?: ((event: MouseEvent
|
|
50
|
+
onClick?: ((event: MouseEvent) => any) | undefined;
|
|
51
51
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
52
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {},
|
|
52
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
53
53
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
54
54
|
export default _default;
|
|
55
55
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -57,4 +57,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
57
57
|
$slots: S;
|
|
58
58
|
};
|
|
59
59
|
};
|
|
60
|
-
//# sourceMappingURL=
|
|
60
|
+
//# sourceMappingURL=KdsCardClickable.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsCardClickable.vue.d.ts","sourceRoot":"","sources":["../../../src/layouts/KdsCardClickable/KdsCardClickable.vue"],"names":[],"mappings":"AAuOA,iBAAS,cAAc;WAuCT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBA/DR,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;gGAuElB,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/layouts/KdsCardClickable/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,eAAO,MAAM,eAAe,2CAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/layouts/KdsCardClickable/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AACrE,mBAAmB,SAAS,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -16,7 +16,7 @@ export type KdsCardAriaProps = {
|
|
|
16
16
|
ariaLabelledby: string;
|
|
17
17
|
};
|
|
18
18
|
/**
|
|
19
|
-
* Props for
|
|
19
|
+
* Props for KdsCardClickable component.
|
|
20
20
|
*
|
|
21
21
|
* **Important Usage Note**: Due to TypeScript limitations with discriminated unions in Vue templates,
|
|
22
22
|
* you must use `v-bind` with a properly typed object. Direct prop binding (even with hardcoded values)
|
|
@@ -28,9 +28,9 @@ export type KdsCardAriaProps = {
|
|
|
28
28
|
* variant: "filled",
|
|
29
29
|
* ariaLabel: "My card"
|
|
30
30
|
* };
|
|
31
|
-
* <
|
|
31
|
+
* <KdsCardClickable v-bind="cardProps">
|
|
32
32
|
* <div>Content</div>
|
|
33
|
-
* </
|
|
33
|
+
* </KdsCardClickable>
|
|
34
34
|
*
|
|
35
35
|
* @example
|
|
36
36
|
* // ✅ Correct: In wrapper components, use computed with typed object
|
|
@@ -40,17 +40,17 @@ export type KdsCardAriaProps = {
|
|
|
40
40
|
* ? { ...base, ariaLabel: props.ariaLabel } as KdsCardProps
|
|
41
41
|
* : { ...base, ariaLabelledby: props.ariaLabelledby! } as KdsCardProps;
|
|
42
42
|
* });
|
|
43
|
-
* <
|
|
43
|
+
* <KdsCardClickable v-bind="cardProps" />
|
|
44
44
|
*
|
|
45
45
|
* @example
|
|
46
46
|
* // ❌ Incorrect: Direct prop binding causes type errors
|
|
47
|
-
* <
|
|
47
|
+
* <KdsCardClickable aria-label="My card" variant="filled">
|
|
48
48
|
* <div>Content</div>
|
|
49
|
-
* </
|
|
49
|
+
* </KdsCardClickable>
|
|
50
50
|
*
|
|
51
51
|
* @example
|
|
52
52
|
* // ❌ Incorrect: Even forwarding individual props causes type errors
|
|
53
|
-
* <
|
|
53
|
+
* <KdsCardClickable :aria-label="ariaLabel" :aria-labelledby="ariaLabelledby" />
|
|
54
54
|
*/
|
|
55
55
|
export type KdsCardProps = {
|
|
56
56
|
/**
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/layouts/KdsCardClickable/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GACxB;IACE;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,gBAAgB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/layouts/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC;AAElC,cAAc,oBAAoB,CAAC;AACnC,mBAAmB,oBAAoB,CAAC"}
|
|
@@ -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":"AAqFA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAYnD,iBAAS,cAAc;WAmFT,OAAO,IAA6B;;sBAXvB,GAAG;wBACD,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;6EAOnB,CAAC;wBACkB,uBAAuB,CAAC,OAAO,eAAe,EAAE,oBAAoB,CAAC,OAAO,CAAC,CAAC;AAAnG,wBAAoG;AAapG,KAAK,uBAAuB,CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -11,7 +11,7 @@ export declare const kdsModalWidth: {
|
|
|
11
11
|
readonly XLARGE: "xlarge";
|
|
12
12
|
readonly FULL: "full";
|
|
13
13
|
};
|
|
14
|
-
export declare const kdsModalWidthSizes: ("small" | "medium" | "large" | "
|
|
14
|
+
export declare const kdsModalWidthSizes: ("small" | "medium" | "large" | "xlarge" | "full")[];
|
|
15
15
|
export declare const kdsModalHeight: {
|
|
16
16
|
readonly AUTO: "auto";
|
|
17
17
|
readonly FULL: "full";
|
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
import { Ref } from 'vue';
|
|
2
2
|
export declare function elementOverflowsHorizontally(element: HTMLElement | null): boolean;
|
|
3
|
+
export declare function elementOverflowsVertically(element: HTMLElement | null): boolean;
|
|
3
4
|
/**
|
|
4
|
-
* Tracks whether the content of
|
|
5
|
+
* Tracks whether the content of an element is visually truncated.
|
|
5
6
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
7
|
+
* Detects both horizontal truncation (e.g. `text-overflow: ellipsis`)
|
|
8
|
+
* and vertical truncation (e.g. `-webkit-line-clamp`).
|
|
8
9
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
10
|
+
* This can be used to set tooltips or other UI affordances when text is cut off.
|
|
11
|
+
* Changing the size of the provided element based on this composable may result in an infinite loop!
|
|
11
12
|
*
|
|
12
13
|
* @param elementRef - A ref pointing to the element that might be truncated.
|
|
13
14
|
* @returns An object containing a reactive `isTruncated` ref.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKdsIsTruncated.d.ts","sourceRoot":"","sources":["../../src/util/useKdsIsTruncated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,KAAK,CAAC;AAGpC,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,WAAW,GAAG,IAAI,GAC1B,OAAO,CAKT;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC;;
|
|
1
|
+
{"version":3,"file":"useKdsIsTruncated.d.ts","sourceRoot":"","sources":["../../src/util/useKdsIsTruncated.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,GAAG,EAAO,MAAM,KAAK,CAAC;AAGpC,wBAAgB,4BAA4B,CAC1C,OAAO,EAAE,WAAW,GAAG,IAAI,GAC1B,OAAO,CAKT;AAED,wBAAgB,0BAA0B,CACxC,OAAO,EAAE,WAAW,GAAG,IAAI,GAC1B,OAAO,CAKT;AAED;;;;;;;;;;;GAWG;AACH,wBAAgB,iBAAiB,CAAC,UAAU,EAAE,GAAG,CAAC,WAAW,GAAG,IAAI,CAAC;;EAwBpE"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.11.0",
|
|
4
4
|
"description": "Package containing basic Vue components of the KNIME Design System",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -36,7 +36,7 @@
|
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@knime/utils": "^1.9.2",
|
|
38
38
|
"consola": "^3.4.2",
|
|
39
|
-
"@knime/kds-styles": "^0.
|
|
39
|
+
"@knime/kds-styles": "^0.11.0"
|
|
40
40
|
},
|
|
41
41
|
"devDependencies": {
|
|
42
42
|
"@storybook/vue3-vite": "^10.2.13",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"KdsCard.vue.d.ts","sourceRoot":"","sources":["../../../src/structures/Card/KdsCard.vue"],"names":[],"mappings":"AAiPA,iBAAS,cAAc;WA+CT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBAvER,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;;iBAAP,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;;;;;6FA+ElB,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"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/structures/Card/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,cAAc;;;;CAIjB,CAAC;AAEX,eAAO,MAAM,eAAe,2CAAgC,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/structures/Card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,eAAe,CAAC;AACnD,mBAAmB,SAAS,CAAC;AAE7B,OAAO,EAAE,cAAc,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/structures/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,MAAM,SAAS,CAAC;AAEzC,MAAM,MAAM,cAAc,GACxB,CAAC,OAAO,cAAc,CAAC,CAAC,MAAM,OAAO,cAAc,CAAC,CAAC;AAEvD,MAAM,MAAM,gBAAgB,GACxB;IACE;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAClB;;;OAGG;IACH,cAAc,CAAC,EAAE,KAAK,CAAC;CACxB,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,cAAc,EAAE,MAAM,CAAC;CACxB,CAAC;AAEN;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAoCG;AACH,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;OAEG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,gBAAgB,CAAC"}
|
|
@@ -1,145 +0,0 @@
|
|
|
1
|
-
declare const _default: import('vue').DefineComponent<({
|
|
2
|
-
headline: string;
|
|
3
|
-
description?: string;
|
|
4
|
-
} & import('../..').PrefixedKdsButtonPropsAsNever & import('../..').PrefixedKdsLinkButtonPropsAsNever) | ({
|
|
5
|
-
headline: string;
|
|
6
|
-
description?: string;
|
|
7
|
-
} & {
|
|
8
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
9
|
-
buttonDisabled?: boolean;
|
|
10
|
-
buttonTitle?: string;
|
|
11
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
12
|
-
buttonDestructive?: boolean;
|
|
13
|
-
} & {
|
|
14
|
-
buttonLabel: string;
|
|
15
|
-
buttonLeadingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
16
|
-
buttonTrailingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
17
|
-
buttonAriaLabel?: never;
|
|
18
|
-
} & import('../..').PrefixedKdsLinkButtonPropsAsNever) | ({
|
|
19
|
-
headline: string;
|
|
20
|
-
description?: string;
|
|
21
|
-
} & {
|
|
22
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
23
|
-
buttonDisabled?: boolean;
|
|
24
|
-
buttonTitle?: string;
|
|
25
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
26
|
-
buttonDestructive?: boolean;
|
|
27
|
-
} & {
|
|
28
|
-
buttonLabel?: never;
|
|
29
|
-
buttonLeadingIcon: import('packages/styles/dist/img/icons/def').IconName;
|
|
30
|
-
buttonTrailingIcon?: never;
|
|
31
|
-
buttonAriaLabel: string;
|
|
32
|
-
} & import('../..').PrefixedKdsLinkButtonPropsAsNever) | ({
|
|
33
|
-
headline: string;
|
|
34
|
-
description?: string;
|
|
35
|
-
} & {
|
|
36
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
37
|
-
buttonDisabled?: boolean;
|
|
38
|
-
buttonTitle?: string;
|
|
39
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
40
|
-
buttonDestructive?: boolean;
|
|
41
|
-
} & {
|
|
42
|
-
buttonLabel: string;
|
|
43
|
-
buttonLeadingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
44
|
-
buttonTrailingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
45
|
-
buttonAriaLabel?: never;
|
|
46
|
-
} & {
|
|
47
|
-
buttonTo: string | Record<string, unknown>;
|
|
48
|
-
buttonDownload?: boolean;
|
|
49
|
-
buttonTarget?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
50
|
-
buttonRel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
51
|
-
}) | ({
|
|
52
|
-
headline: string;
|
|
53
|
-
description?: string;
|
|
54
|
-
} & {
|
|
55
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
56
|
-
buttonDisabled?: boolean;
|
|
57
|
-
buttonTitle?: string;
|
|
58
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
59
|
-
buttonDestructive?: boolean;
|
|
60
|
-
} & {
|
|
61
|
-
buttonLabel?: never;
|
|
62
|
-
buttonLeadingIcon: import('packages/styles/dist/img/icons/def').IconName;
|
|
63
|
-
buttonTrailingIcon?: never;
|
|
64
|
-
buttonAriaLabel: string;
|
|
65
|
-
} & {
|
|
66
|
-
buttonTo: string | Record<string, unknown>;
|
|
67
|
-
buttonDownload?: boolean;
|
|
68
|
-
buttonTarget?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
69
|
-
buttonRel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
70
|
-
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {} & {
|
|
71
|
-
buttonClick: (event: MouseEvent) => any;
|
|
72
|
-
}, string, import('vue').PublicProps, Readonly<({
|
|
73
|
-
headline: string;
|
|
74
|
-
description?: string;
|
|
75
|
-
} & import('../..').PrefixedKdsButtonPropsAsNever & import('../..').PrefixedKdsLinkButtonPropsAsNever) | ({
|
|
76
|
-
headline: string;
|
|
77
|
-
description?: string;
|
|
78
|
-
} & {
|
|
79
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
80
|
-
buttonDisabled?: boolean;
|
|
81
|
-
buttonTitle?: string;
|
|
82
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
83
|
-
buttonDestructive?: boolean;
|
|
84
|
-
} & {
|
|
85
|
-
buttonLabel: string;
|
|
86
|
-
buttonLeadingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
87
|
-
buttonTrailingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
88
|
-
buttonAriaLabel?: never;
|
|
89
|
-
} & import('../..').PrefixedKdsLinkButtonPropsAsNever) | ({
|
|
90
|
-
headline: string;
|
|
91
|
-
description?: string;
|
|
92
|
-
} & {
|
|
93
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
94
|
-
buttonDisabled?: boolean;
|
|
95
|
-
buttonTitle?: string;
|
|
96
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
97
|
-
buttonDestructive?: boolean;
|
|
98
|
-
} & {
|
|
99
|
-
buttonLabel?: never;
|
|
100
|
-
buttonLeadingIcon: import('packages/styles/dist/img/icons/def').IconName;
|
|
101
|
-
buttonTrailingIcon?: never;
|
|
102
|
-
buttonAriaLabel: string;
|
|
103
|
-
} & import('../..').PrefixedKdsLinkButtonPropsAsNever) | ({
|
|
104
|
-
headline: string;
|
|
105
|
-
description?: string;
|
|
106
|
-
} & {
|
|
107
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
108
|
-
buttonDisabled?: boolean;
|
|
109
|
-
buttonTitle?: string;
|
|
110
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
111
|
-
buttonDestructive?: boolean;
|
|
112
|
-
} & {
|
|
113
|
-
buttonLabel: string;
|
|
114
|
-
buttonLeadingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
115
|
-
buttonTrailingIcon?: import('packages/styles/dist/img/icons/def').IconName;
|
|
116
|
-
buttonAriaLabel?: never;
|
|
117
|
-
} & {
|
|
118
|
-
buttonTo: string | Record<string, unknown>;
|
|
119
|
-
buttonDownload?: boolean;
|
|
120
|
-
buttonTarget?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
121
|
-
buttonRel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
122
|
-
}) | ({
|
|
123
|
-
headline: string;
|
|
124
|
-
description?: string;
|
|
125
|
-
} & {
|
|
126
|
-
buttonSize?: import('../..').KdsButtonSize;
|
|
127
|
-
buttonDisabled?: boolean;
|
|
128
|
-
buttonTitle?: string;
|
|
129
|
-
buttonVariant?: import('../..').KdsButtonVariant;
|
|
130
|
-
buttonDestructive?: boolean;
|
|
131
|
-
} & {
|
|
132
|
-
buttonLabel?: never;
|
|
133
|
-
buttonLeadingIcon: import('packages/styles/dist/img/icons/def').IconName;
|
|
134
|
-
buttonTrailingIcon?: never;
|
|
135
|
-
buttonAriaLabel: string;
|
|
136
|
-
} & {
|
|
137
|
-
buttonTo: string | Record<string, unknown>;
|
|
138
|
-
buttonDownload?: boolean;
|
|
139
|
-
buttonTarget?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
140
|
-
buttonRel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
141
|
-
})> & Readonly<{
|
|
142
|
-
onButtonClick?: ((event: MouseEvent) => any) | undefined;
|
|
143
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
144
|
-
export default _default;
|
|
145
|
-
//# sourceMappingURL=KdsEmptyState.vue.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"KdsEmptyState.vue.d.ts","sourceRoot":"","sources":["../../../src/structures/EmptyState/KdsEmptyState.vue"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAgRA,wBAQG"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { PrefixedKdsButtonProps, PrefixedKdsButtonPropsAsNever, PrefixedKdsLinkButtonProps, PrefixedKdsLinkButtonPropsAsNever } from '../../buttons';
|
|
2
|
-
type CommonProps = {
|
|
3
|
-
headline: string;
|
|
4
|
-
description?: string;
|
|
5
|
-
};
|
|
6
|
-
type BaseEmptyStateProps = CommonProps & PrefixedKdsButtonPropsAsNever & PrefixedKdsLinkButtonPropsAsNever;
|
|
7
|
-
type EmptyStateWithButtonProps = CommonProps & PrefixedKdsButtonProps & PrefixedKdsLinkButtonPropsAsNever;
|
|
8
|
-
type EmptyStateWithLinkButtonProps = CommonProps & PrefixedKdsLinkButtonProps;
|
|
9
|
-
export type KdsEmptyStateProps = BaseEmptyStateProps | EmptyStateWithButtonProps | EmptyStateWithLinkButtonProps;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/structures/EmptyState/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,sBAAsB,EACtB,6BAA6B,EAC7B,0BAA0B,EAC1B,iCAAiC,EAClC,MAAM,eAAe,CAAC;AAEvB,KAAK,WAAW,GAAG;IACjB,QAAQ,EAAE,MAAM,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB,CAAC;AAEF,KAAK,mBAAmB,GAAG,WAAW,GACpC,6BAA6B,GAC7B,iCAAiC,CAAC;AAEpC,KAAK,yBAAyB,GAAG,WAAW,GAC1C,sBAAsB,GACtB,iCAAiC,CAAC;AAEpC,KAAK,6BAA6B,GAAG,WAAW,GAAG,0BAA0B,CAAC;AAE9E,MAAM,MAAM,kBAAkB,GAC1B,mBAAmB,GACnB,yBAAyB,GACzB,6BAA6B,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/structures/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,OAAO,EAAE,MAAM,oBAAoB,CAAC;AACxD,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,gCAAgC,CAAC;AAE1E,mBAAmB,cAAc,CAAC;AAClC,mBAAmB,oBAAoB,CAAC"}
|
|
File without changes
|