@knime/kds-components 0.26.2 → 0.28.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/index.css +199 -91
- package/dist/index.js +655 -363
- package/dist/index.js.map +1 -1
- package/dist/src/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
- package/dist/src/forms/RadioButton/types.d.ts +5 -0
- package/dist/src/forms/RadioButton/types.d.ts.map +1 -1
- package/dist/src/forms/inputs/TimeInput/TimePicker.vue.d.ts.map +1 -1
- package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts +27 -0
- package/dist/src/layouts/Accordion/KdsAccordion.vue.d.ts.map +1 -0
- package/dist/src/layouts/Accordion/index.d.ts +3 -0
- package/dist/src/layouts/Accordion/index.d.ts.map +1 -0
- package/dist/src/layouts/Accordion/types.d.ts +34 -0
- package/dist/src/layouts/Accordion/types.d.ts.map +1 -0
- package/dist/src/layouts/Card/BaseCard.vue.d.ts +5 -6
- package/dist/src/layouts/Card/BaseCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/CardHeader.vue.d.ts +22 -0
- package/dist/src/layouts/Card/CardHeader.vue.d.ts.map +1 -0
- package/dist/src/layouts/Card/KdsCard.vue.d.ts +4 -5
- package/dist/src/layouts/Card/KdsCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts +6 -12
- package/dist/src/layouts/Card/KdsClickableCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts +6 -12
- package/dist/src/layouts/Card/KdsLinkCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts +6 -12
- package/dist/src/layouts/Card/KdsSelectableCard.vue.d.ts.map +1 -1
- package/dist/src/layouts/Card/types.d.ts +8 -5
- package/dist/src/layouts/Card/types.d.ts.map +1 -1
- package/dist/src/layouts/{ContainerHeader/KdsContainerHeader.vue.d.ts → Panel/KdsPanel.vue.d.ts} +4 -5
- package/dist/src/layouts/Panel/KdsPanel.vue.d.ts.map +1 -0
- package/dist/src/layouts/Panel/index.d.ts +3 -0
- package/dist/src/layouts/Panel/index.d.ts.map +1 -0
- package/dist/src/layouts/Panel/types.d.ts +79 -0
- package/dist/src/layouts/Panel/types.d.ts.map +1 -0
- package/dist/src/layouts/index.d.ts +4 -6
- package/dist/src/layouts/index.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/src/layouts/ContainerHeader/KdsContainerHeader.vue.d.ts.map +0 -1
- package/dist/src/layouts/ContainerHeader/index.d.ts +0 -3
- package/dist/src/layouts/ContainerHeader/index.d.ts.map +0 -1
- package/dist/src/layouts/ContainerHeader/types.d.ts +0 -7
- package/dist/src/layouts/ContainerHeader/types.d.ts.map +0 -1
- package/dist/src/layouts/PanelButtonBar/KdsPanelButtonBar.vue.d.ts +0 -10
- package/dist/src/layouts/PanelButtonBar/KdsPanelButtonBar.vue.d.ts.map +0 -1
- package/dist/src/layouts/PanelButtonBar/index.d.ts +0 -3
- package/dist/src/layouts/PanelButtonBar/index.d.ts.map +0 -1
- package/dist/src/layouts/PanelButtonBar/types.d.ts +0 -15
- package/dist/src/layouts/PanelButtonBar/types.d.ts.map +0 -1
- package/dist/src/layouts/PanelHeader/KdsPanelHeader.vue.d.ts +0 -8
- package/dist/src/layouts/PanelHeader/KdsPanelHeader.vue.d.ts.map +0 -1
- package/dist/src/layouts/PanelHeader/index.d.ts +0 -3
- package/dist/src/layouts/PanelHeader/index.d.ts.map +0 -1
- package/dist/src/layouts/PanelHeader/types.d.ts +0 -7
- package/dist/src/layouts/PanelHeader/types.d.ts.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsValueSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/RadioButton/KdsValueSwitch.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsValueSwitch.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/RadioButton/KdsValueSwitch.vue"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EAAwB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAIzE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AAuCvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oCA2J+kgB,GAAG,8CAA8C,GAAG,yBAAyB,GAAG,6DAAmC,GAAG;;;;;;;;AAjBrtgB,wBASG"}
|
|
@@ -54,6 +54,11 @@ export type KdsValueSwitchOption = {
|
|
|
54
54
|
export type KdsValueSwitchProps = {
|
|
55
55
|
id?: string;
|
|
56
56
|
label?: string;
|
|
57
|
+
/**
|
|
58
|
+
* Accessible label used when no visible `label` is rendered (e.g. when
|
|
59
|
+
* the value switch is used standalone in a panel header).
|
|
60
|
+
*/
|
|
61
|
+
ariaLabel?: string;
|
|
57
62
|
possibleValues: (string | KdsValueSwitchOption)[];
|
|
58
63
|
size?: KdsValueSwitchSize;
|
|
59
64
|
variant?: KdsValueSwitchVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/forms/RadioButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAErD,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,qBAAqB,EACtB,MAAM,SAAS,CAAC;AAEjB,MAAM,MAAM,mBAAmB,GAAG;IAChC,IAAI,EAAE,MAAM,CAAC;IACb,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,4BAA4B,GACtC,CAAC,OAAO,4BAA4B,CAAC,CAAC,MAAM,OAAO,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MAAM,CAAC;IACd,YAAY,CAAC,EAAE,KAAK,CAAC;CACtB,CAAC;AAEN,MAAM,MAAM,oBAAoB,GAAG;IACjC,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,yBAAyB,CAAC;AAE9B,MAAM,MAAM,mBAAmB,GAAG;IAChC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,cAAc,EAAE,CAAC,MAAM,GAAG,oBAAoB,CAAC,EAAE,CAAC;IAClD,IAAI,CAAC,EAAE,kBAAkB,CAAC;IAC1B,OAAO,CAAC,EAAE,qBAAqB,CAAC;IAChC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/TimeInput/TimePicker.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"TimePicker.vue.d.ts","sourceRoot":"","sources":["../../../../../src/forms/inputs/TimeInput/TimePicker.vue"],"names":[],"mappings":"AA4PA,OAAO,EAAY,QAAQ,EAAkB,MAAM,KAAK,CAAC;AACzD,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAM7C,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAYvD,KAAK,WAAW,GAAG;IACjB,cAAc,EAAE,uBAAuB,CAAC;CACzC,CAAC;AAoGF,KAAK,iBAAiB,GAAG;IACzB,UAAU,EAAE,QAAQ,CAAC,SAAS,GAAG,IAAI,CAAC;IACtC,aAAa,CAAC,EAAE,uBAAuB,CAAC;CACv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;;;;;;;;;AAlB1lK,wBAUG"}
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { KdsAccordionItem, KdsAccordionProps } from './types';
|
|
2
|
+
type __VLS_Props = KdsAccordionProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: string[];
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare function __VLS_template(): {
|
|
7
|
+
attrs: Partial<{}>;
|
|
8
|
+
slots: Partial<Record<string, (_: {
|
|
9
|
+
item: KdsAccordionItem;
|
|
10
|
+
}) => any>>;
|
|
11
|
+
refs: {};
|
|
12
|
+
rootEl: HTMLDivElement;
|
|
13
|
+
};
|
|
14
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
15
|
+
declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
16
|
+
"update:modelValue": (value: string[]) => any;
|
|
17
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
18
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
19
|
+
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
20
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
21
|
+
export default _default;
|
|
22
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
23
|
+
new (): {
|
|
24
|
+
$slots: S;
|
|
25
|
+
};
|
|
26
|
+
};
|
|
27
|
+
//# sourceMappingURL=KdsAccordion.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsAccordion.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Accordion/KdsAccordion.vue"],"names":[],"mappings":"AAqRA,OAAO,KAAK,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC;AAEnE,KAAK,WAAW,GAAG,iBAAiB,CAAC;AAqJrC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,GAAG,WAAW,CAAC;AAKhB,iBAAS,cAAc;WA+FT,OAAO,IAA6B;;;UAXqC,GAAG;;;EAgBzF;AAgBD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;6FAQnB,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":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Accordion/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC;AAC7D,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import { KdsIconName } from '../../accessories/Icon/types';
|
|
2
|
+
export type KdsAccordionItem = {
|
|
3
|
+
/**
|
|
4
|
+
* Stable item identifier used for state tracking and slot naming.
|
|
5
|
+
*
|
|
6
|
+
* Must be unique within `items` and should be HTML id safe (no whitespace),
|
|
7
|
+
* because it is used for generated DOM ids and named slots.
|
|
8
|
+
* Reserved Vue slot names such as `default` must not be used.
|
|
9
|
+
*/
|
|
10
|
+
id: string;
|
|
11
|
+
/**
|
|
12
|
+
* The headline displayed in the accordion item header.
|
|
13
|
+
*/
|
|
14
|
+
headline: string;
|
|
15
|
+
/**
|
|
16
|
+
* Optional icon displayed before the item headline.
|
|
17
|
+
*/
|
|
18
|
+
leadingIcon?: KdsIconName;
|
|
19
|
+
/**
|
|
20
|
+
* Disables interaction for this accordion item.
|
|
21
|
+
*/
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
};
|
|
24
|
+
export type KdsAccordionProps = {
|
|
25
|
+
/**
|
|
26
|
+
* Ordered list of accordion items.
|
|
27
|
+
*/
|
|
28
|
+
items: KdsAccordionItem[];
|
|
29
|
+
/**
|
|
30
|
+
* Restricts expansion to a single item at a time.
|
|
31
|
+
*/
|
|
32
|
+
singleExpand?: boolean;
|
|
33
|
+
};
|
|
34
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Accordion/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,MAAM,MAAM,gBAAgB,GAAG;IAC7B;;;;;;OAMG;IACH,EAAE,EAAE,MAAM,CAAC;IAEX;;OAEG;IACH,QAAQ,EAAE,MAAM,CAAC;IAEjB;;OAEG;IACH,WAAW,CAAC,EAAE,WAAW,CAAC;IAE1B;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG;IAC9B;;OAEG;IACH,KAAK,EAAE,gBAAgB,EAAE,CAAC;IAE1B;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;CACxB,CAAC"}
|
|
@@ -1,9 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
type BaseCardProps = {
|
|
3
|
-
/**
|
|
4
|
-
* The visual style of the card container
|
|
5
|
-
*/
|
|
6
|
-
variant: KdsCardVariant;
|
|
1
|
+
import { KdsCardProps } from './types';
|
|
2
|
+
type BaseCardProps = KdsCardProps & {
|
|
7
3
|
/**
|
|
8
4
|
* Clickable styles like hover.
|
|
9
5
|
*/
|
|
@@ -16,6 +12,9 @@ type BaseCardProps = {
|
|
|
16
12
|
declare function __VLS_template(): {
|
|
17
13
|
attrs: Partial<{}>;
|
|
18
14
|
slots: {
|
|
15
|
+
'primary-action'?(_: {}): any;
|
|
16
|
+
'header-accessory'?(_: {}): any;
|
|
17
|
+
'header-actions'?(_: {}): any;
|
|
19
18
|
default?(_: {}): any;
|
|
20
19
|
};
|
|
21
20
|
refs: {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/BaseCard.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"BaseCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/BaseCard.vue"],"names":[],"mappings":"AAyKA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAE5C,KAAK,aAAa,GAAG,YAAY,GAAG;IAClC;;OAEG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAaF,iBAAS,cAAc;WAqET,OAAO,IAA6B;;kCAbZ,GAAG;oCACD,GAAG;kCACL,GAAG;yBACZ,GAAG;;;;EAe/B;AASD,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"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
headline?: string;
|
|
3
|
+
};
|
|
4
|
+
declare function __VLS_template(): {
|
|
5
|
+
attrs: Partial<{}>;
|
|
6
|
+
slots: {
|
|
7
|
+
accessory?(_: {}): any;
|
|
8
|
+
actions?(_: {}): any;
|
|
9
|
+
};
|
|
10
|
+
refs: {};
|
|
11
|
+
rootEl: HTMLDivElement;
|
|
12
|
+
};
|
|
13
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
14
|
+
declare const __VLS_component: import('vue').DefineComponent<Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<Props> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
|
+
export default _default;
|
|
17
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
18
|
+
new (): {
|
|
19
|
+
$slots: S;
|
|
20
|
+
};
|
|
21
|
+
};
|
|
22
|
+
//# sourceMappingURL=CardHeader.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"CardHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/CardHeader.vue"],"names":[],"mappings":"AAmDA,KAAK,KAAK,GAAG;IACX,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAOF,iBAAS,cAAc;WAiDT,OAAO,IAA6B;;2BAXnB,GAAG;yBACL,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,iSAOnB,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,17 +1,16 @@
|
|
|
1
|
+
import { KdsCardProps } from './types';
|
|
1
2
|
declare function __VLS_template(): {
|
|
2
3
|
attrs: Partial<{}>;
|
|
3
4
|
slots: {
|
|
5
|
+
'header-actions'?(_: {}): any;
|
|
6
|
+
'header-accessory'?(_: {}): any;
|
|
4
7
|
default?(_: {}): any;
|
|
5
8
|
};
|
|
6
9
|
refs: {};
|
|
7
10
|
rootEl: HTMLDivElement;
|
|
8
11
|
};
|
|
9
12
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<{
|
|
11
|
-
variant?: import('./types').KdsCardVariant;
|
|
12
|
-
}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{
|
|
13
|
-
variant?: import('./types').KdsCardVariant;
|
|
14
|
-
}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
|
+
declare const __VLS_component: import('vue').DefineComponent<KdsCardProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsCardProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
15
14
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
16
15
|
export default _default;
|
|
17
16
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsCard.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsCard.vue"],"names":[],"mappings":"AAqBA,OAAO,KAAK,EAAE,YAAY,EAAE,MAAM,SAAS,CAAC;AAQ5C,iBAAS,cAAc;WAwDT,OAAO,IAA6B;;kCAZZ,GAAG;oCACD,GAAG;yBACd,GAAG;;;;EAe/B;AASD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,+SAOnB,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,38 +1,32 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
attrs: Partial<{}>;
|
|
3
3
|
slots: {
|
|
4
|
+
'header-actions'?(_: {}): any;
|
|
5
|
+
'header-accessory'?(_: {}): any;
|
|
4
6
|
default?(_: {}): any;
|
|
5
7
|
};
|
|
6
8
|
refs: {};
|
|
7
9
|
rootEl: HTMLDivElement;
|
|
8
10
|
};
|
|
9
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<({
|
|
11
|
-
variant?: import('./types').KdsCardVariant;
|
|
12
|
-
} & {
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<(import('./types').KdsCardProps & {
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
} & {
|
|
15
15
|
ariaLabel: string;
|
|
16
16
|
ariaLabelledby?: never;
|
|
17
|
-
}) | ({
|
|
18
|
-
variant?: import('./types').KdsCardVariant;
|
|
19
|
-
} & {
|
|
17
|
+
}) | (import('./types').KdsCardProps & {
|
|
20
18
|
disabled?: boolean;
|
|
21
19
|
} & {
|
|
22
20
|
ariaLabel?: never;
|
|
23
21
|
ariaLabelledby: string;
|
|
24
22
|
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
25
23
|
click: (event: MouseEvent) => any;
|
|
26
|
-
}, string, import('vue').PublicProps, Readonly<({
|
|
27
|
-
variant?: import('./types').KdsCardVariant;
|
|
28
|
-
} & {
|
|
24
|
+
}, string, import('vue').PublicProps, Readonly<(import('./types').KdsCardProps & {
|
|
29
25
|
disabled?: boolean;
|
|
30
26
|
} & {
|
|
31
27
|
ariaLabel: string;
|
|
32
28
|
ariaLabelledby?: never;
|
|
33
|
-
}) | ({
|
|
34
|
-
variant?: import('./types').KdsCardVariant;
|
|
35
|
-
} & {
|
|
29
|
+
}) | (import('./types').KdsCardProps & {
|
|
36
30
|
disabled?: boolean;
|
|
37
31
|
} & {
|
|
38
32
|
ariaLabel?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsClickableCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsClickableCard.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsClickableCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsClickableCard.vue"],"names":[],"mappings":"AAgHA,iBAAS,cAAc;WA0ET,OAAO,IAA6B;;kCAZZ,GAAG;oCACD,GAAG;yBACd,GAAG;;;;EAe/B;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;;;;;6FAQnB,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,36 +1,30 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
attrs: Partial<{}>;
|
|
3
3
|
slots: {
|
|
4
|
+
'header-actions'?(_: {}): any;
|
|
5
|
+
'header-accessory'?(_: {}): any;
|
|
4
6
|
default?(_: {}): any;
|
|
5
7
|
};
|
|
6
8
|
refs: {};
|
|
7
9
|
rootEl: HTMLDivElement;
|
|
8
10
|
};
|
|
9
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
-
declare const __VLS_component: import('vue').DefineComponent<(import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
11
|
-
variant?: import('./types').KdsCardVariant;
|
|
12
|
-
} & {
|
|
12
|
+
declare const __VLS_component: import('vue').DefineComponent<(import('./types').KdsCardProps & import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
13
13
|
disabled?: boolean;
|
|
14
14
|
} & {
|
|
15
15
|
ariaLabel: string;
|
|
16
16
|
ariaLabelledby?: never;
|
|
17
|
-
}) | (import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
18
|
-
variant?: import('./types').KdsCardVariant;
|
|
19
|
-
} & {
|
|
17
|
+
}) | (import('./types').KdsCardProps & import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
20
18
|
disabled?: boolean;
|
|
21
19
|
} & {
|
|
22
20
|
ariaLabel?: never;
|
|
23
21
|
ariaLabelledby: string;
|
|
24
|
-
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<(import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
25
|
-
variant?: import('./types').KdsCardVariant;
|
|
26
|
-
} & {
|
|
22
|
+
}), {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<(import('./types').KdsCardProps & import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
27
23
|
disabled?: boolean;
|
|
28
24
|
} & {
|
|
29
25
|
ariaLabel: string;
|
|
30
26
|
ariaLabelledby?: never;
|
|
31
|
-
}) | (import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
32
|
-
variant?: import('./types').KdsCardVariant;
|
|
33
|
-
} & {
|
|
27
|
+
}) | (import('./types').KdsCardProps & import('../../types/linkTypes').WithLinkNavigation & import('../../types/linkTypes').WithAnchorElementAttributes & {
|
|
34
28
|
disabled?: boolean;
|
|
35
29
|
} & {
|
|
36
30
|
ariaLabel?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsLinkCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsLinkCard.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsLinkCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsLinkCard.vue"],"names":[],"mappings":"AA+GA,iBAAS,cAAc;WA8FT,OAAO,IAA6B;;kCAZX,GAAG;oCACD,GAAG;yBACd,GAAG;;;;EAehC;AAWD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;;;;;;;;;;;;;;;;;;;;6GAOnB,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,6 +1,8 @@
|
|
|
1
1
|
declare function __VLS_template(): {
|
|
2
2
|
attrs: Partial<{}>;
|
|
3
3
|
slots: {
|
|
4
|
+
'header-actions'?(_: {}): any;
|
|
5
|
+
'header-accessory'?(_: {}): any;
|
|
4
6
|
default?(_: {}): any;
|
|
5
7
|
};
|
|
6
8
|
refs: {};
|
|
@@ -9,18 +11,14 @@ declare function __VLS_template(): {
|
|
|
9
11
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
12
|
declare const __VLS_component: import('vue').DefineComponent<({
|
|
11
13
|
modelValue?: boolean;
|
|
12
|
-
} & {
|
|
13
|
-
variant?: import('./types').KdsCardVariant;
|
|
14
|
-
} & {
|
|
14
|
+
} & import('./types').KdsCardProps & {
|
|
15
15
|
disabled?: boolean;
|
|
16
16
|
} & {
|
|
17
17
|
ariaLabel: string;
|
|
18
18
|
ariaLabelledby?: never;
|
|
19
19
|
}) | ({
|
|
20
20
|
modelValue?: boolean;
|
|
21
|
-
} & {
|
|
22
|
-
variant?: import('./types').KdsCardVariant;
|
|
23
|
-
} & {
|
|
21
|
+
} & import('./types').KdsCardProps & {
|
|
24
22
|
disabled?: boolean;
|
|
25
23
|
} & {
|
|
26
24
|
ariaLabel?: never;
|
|
@@ -29,18 +27,14 @@ declare const __VLS_component: import('vue').DefineComponent<({
|
|
|
29
27
|
"update:modelValue": (value: boolean) => any;
|
|
30
28
|
}, string, import('vue').PublicProps, Readonly<({
|
|
31
29
|
modelValue?: boolean;
|
|
32
|
-
} & {
|
|
33
|
-
variant?: import('./types').KdsCardVariant;
|
|
34
|
-
} & {
|
|
30
|
+
} & import('./types').KdsCardProps & {
|
|
35
31
|
disabled?: boolean;
|
|
36
32
|
} & {
|
|
37
33
|
ariaLabel: string;
|
|
38
34
|
ariaLabelledby?: never;
|
|
39
35
|
}) | ({
|
|
40
36
|
modelValue?: boolean;
|
|
41
|
-
} & {
|
|
42
|
-
variant?: import('./types').KdsCardVariant;
|
|
43
|
-
} & {
|
|
37
|
+
} & import('./types').KdsCardProps & {
|
|
44
38
|
disabled?: boolean;
|
|
45
39
|
} & {
|
|
46
40
|
ariaLabel?: never;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsSelectableCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsSelectableCard.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsSelectableCard.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/KdsSelectableCard.vue"],"names":[],"mappings":"AAsHA,iBAAS,cAAc;WA6ET,OAAO,IAA6B;;kCAZZ,GAAG;oCACD,GAAG;yBACd,GAAG;;;;EAe/B;AAYD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe;iBArGR,OAAO;;;;;;;iBAAP,OAAO;;;;;;;;;iBAAP,OAAO;;;;;;;iBAAP,OAAO;;;;;;;;6FA6GlB,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"}
|
|
@@ -16,11 +16,15 @@ export type KdsCardAriaProps = {
|
|
|
16
16
|
ariaLabel?: never;
|
|
17
17
|
ariaLabelledby: string;
|
|
18
18
|
};
|
|
19
|
-
type
|
|
19
|
+
export type KdsCardProps = {
|
|
20
20
|
/**
|
|
21
21
|
* The visual style of the card container
|
|
22
22
|
*/
|
|
23
23
|
variant?: KdsCardVariant;
|
|
24
|
+
/**
|
|
25
|
+
* Optional headline; if set a header component will be added to the card
|
|
26
|
+
*/
|
|
27
|
+
headline?: string;
|
|
24
28
|
};
|
|
25
29
|
type WithDisabled = {
|
|
26
30
|
/**
|
|
@@ -28,9 +32,8 @@ type WithDisabled = {
|
|
|
28
32
|
*/
|
|
29
33
|
disabled?: boolean;
|
|
30
34
|
};
|
|
31
|
-
export type
|
|
32
|
-
export type
|
|
33
|
-
export type
|
|
34
|
-
export type KdsSelectableCardProps = WithVariant & WithDisabled & KdsCardAriaProps;
|
|
35
|
+
export type KdsClickableCardProps = KdsCardProps & WithDisabled & KdsCardAriaProps;
|
|
36
|
+
export type KdsLinkCardProps = KdsCardProps & WithLinkNavigation & WithAnchorElementAttributes & WithDisabled & KdsCardAriaProps;
|
|
37
|
+
export type KdsSelectableCardProps = KdsCardProps & WithDisabled & KdsCardAriaProps;
|
|
35
38
|
export {};
|
|
36
39
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,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,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Card/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,2BAA2B,EAC3B,kBAAkB,EACnB,MAAM,uBAAuB,CAAC;AAE/B,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,MAAM,MAAM,YAAY,GAAG;IACzB;;OAEG;IACH,OAAO,CAAC,EAAE,cAAc,CAAC;IACzB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,KAAK,YAAY,GAAG;IAClB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,YAAY,GAC9C,YAAY,GACZ,gBAAgB,CAAC;AAEnB,MAAM,MAAM,gBAAgB,GAAG,YAAY,GACzC,kBAAkB,GAClB,2BAA2B,GAC3B,YAAY,GACZ,gBAAgB,CAAC;AAEnB,MAAM,MAAM,sBAAsB,GAAG,YAAY,GAC/C,YAAY,GACZ,gBAAgB,CAAC"}
|
package/dist/src/layouts/{ContainerHeader/KdsContainerHeader.vue.d.ts → Panel/KdsPanel.vue.d.ts}
RENAMED
|
@@ -1,15 +1,14 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KdsPanelProps } from './types';
|
|
2
2
|
declare function __VLS_template(): {
|
|
3
3
|
attrs: Partial<{}>;
|
|
4
4
|
slots: {
|
|
5
|
-
|
|
6
|
-
actions?(_: {}): any;
|
|
5
|
+
default?(_: {}): any;
|
|
7
6
|
};
|
|
8
7
|
refs: {};
|
|
9
8
|
rootEl: HTMLDivElement;
|
|
10
9
|
};
|
|
11
10
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
12
|
-
declare const __VLS_component: import('vue').DefineComponent<
|
|
11
|
+
declare const __VLS_component: import('vue').DefineComponent<KdsPanelProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<KdsPanelProps> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
13
12
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
14
13
|
export default _default;
|
|
15
14
|
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
@@ -17,4 +16,4 @@ type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
17
16
|
$slots: S;
|
|
18
17
|
};
|
|
19
18
|
};
|
|
20
|
-
//# sourceMappingURL=
|
|
19
|
+
//# sourceMappingURL=KdsPanel.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsPanel.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/KdsPanel.vue"],"names":[],"mappings":"AAkMA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAe7C,iBAAS,cAAc;WAoPT,OAAO,IAA6B;;yBAVpB,GAAG;;;;EAehC;AAaD,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,mBAAmB,SAAS,CAAC"}
|
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { KdsButtonProps, KdsMenuButtonProps, KdsToggleButtonProps } from '../../buttons';
|
|
2
|
+
import { KdsValueSwitchProps } from '../../forms';
|
|
3
|
+
/**
|
|
4
|
+
* Distributive `Omit` that preserves discriminated unions when removing a key.
|
|
5
|
+
*/
|
|
6
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
7
|
+
/**
|
|
8
|
+
* Renders a `KdsButton`. Provide `onClick` to react to clicks.
|
|
9
|
+
*/
|
|
10
|
+
export type KdsPanelButtonAction = {
|
|
11
|
+
type: "button";
|
|
12
|
+
props: DistributiveOmit<KdsButtonProps, "size">;
|
|
13
|
+
onClick?: (event: MouseEvent) => void;
|
|
14
|
+
};
|
|
15
|
+
/**
|
|
16
|
+
* Renders a `KdsToggleButton`. Provide `onUpdateModelValue` to react to
|
|
17
|
+
* toggle changes.
|
|
18
|
+
*/
|
|
19
|
+
export type KdsPanelToggleButtonAction = {
|
|
20
|
+
type: "toggleButton";
|
|
21
|
+
props: DistributiveOmit<KdsToggleButtonProps, "size"> & {
|
|
22
|
+
modelValue?: boolean;
|
|
23
|
+
};
|
|
24
|
+
onUpdateModelValue?: (value: boolean) => void;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Renders a `KdsMenuButton`. Provide `onItemClick` to react to menu item
|
|
28
|
+
* selection.
|
|
29
|
+
*/
|
|
30
|
+
export type KdsPanelMenuButtonAction = {
|
|
31
|
+
type: "menuButton";
|
|
32
|
+
props: DistributiveOmit<KdsMenuButtonProps, "size">;
|
|
33
|
+
onItemClick?: (id: string) => void;
|
|
34
|
+
};
|
|
35
|
+
/**
|
|
36
|
+
* Renders a `KdsValueSwitch`. Provide `onUpdateModelValue` to react to
|
|
37
|
+
* value changes. Use `ariaLabel` for an accessible name when no visible
|
|
38
|
+
* `label` is rendered (common in panel headers).
|
|
39
|
+
*/
|
|
40
|
+
export type KdsPanelValueSwitchAction = {
|
|
41
|
+
type: "valueSwitch";
|
|
42
|
+
props: DistributiveOmit<KdsValueSwitchProps, "size"> & {
|
|
43
|
+
modelValue?: string;
|
|
44
|
+
};
|
|
45
|
+
onUpdateModelValue?: (value: string | undefined) => void;
|
|
46
|
+
};
|
|
47
|
+
/**
|
|
48
|
+
* Union of all action types supported as trailing actions in the panel
|
|
49
|
+
* header.
|
|
50
|
+
*/
|
|
51
|
+
export type KdsPanelHeadlineTrailingAction = KdsPanelButtonAction | KdsPanelToggleButtonAction | KdsPanelMenuButtonAction | KdsPanelValueSwitchAction;
|
|
52
|
+
export type KdsPanelProps = {
|
|
53
|
+
/**
|
|
54
|
+
* Headline of the panel. Renders a heading when a string is
|
|
55
|
+
* provided, or a `KdsButton` / `KdsMenuButton` when a configuration
|
|
56
|
+
* object is provided. Required so the panel header always exposes an
|
|
57
|
+
* accessible name for the focusable, scrollable body.
|
|
58
|
+
*/
|
|
59
|
+
headline: string | KdsPanelButtonAction | KdsPanelMenuButtonAction;
|
|
60
|
+
/**
|
|
61
|
+
* Trailing actions of the panel header (right-aligned). Supports
|
|
62
|
+
* `KdsButton`, `KdsToggleButton`, `KdsMenuButton`, and `KdsValueSwitch`.
|
|
63
|
+
*/
|
|
64
|
+
headlineTrailingActions?: KdsPanelHeadlineTrailingAction[];
|
|
65
|
+
/**
|
|
66
|
+
* Leading actions of the panel footer (left-aligned). The footer is
|
|
67
|
+
* only rendered when at least one of `footerLeadingActions` or
|
|
68
|
+
* `footerTrailingActions` is provided.
|
|
69
|
+
*/
|
|
70
|
+
footerLeadingActions?: KdsPanelButtonAction[];
|
|
71
|
+
/**
|
|
72
|
+
* Trailing actions of the panel footer (right-aligned). The footer is
|
|
73
|
+
* only rendered when at least one of `footerLeadingActions` or
|
|
74
|
+
* `footerTrailingActions` is provided.
|
|
75
|
+
*/
|
|
76
|
+
footerTrailingActions?: KdsPanelButtonAction[];
|
|
77
|
+
};
|
|
78
|
+
export {};
|
|
79
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/Panel/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,cAAc,EACd,kBA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D,CAAC;AAEF;;;GAGG;AACH,MAAM,MAAM,8BAA8B,GACtC,oBAAoB,GACpB,0BAA0B,GAC1B,wBAAwB,GACxB,yBAAyB,CAAC;AAE9B,MAAM,MAAM,aAAa,GAAG;IAC1B;;;;;OAKG;IACH,QAAQ,EAAE,MAAM,GAAG,oBAAoB,GAAG,wBAAwB,CAAC;IACnE;;;OAGG;IACH,uBAAuB,CAAC,EAAE,8BAA8B,EAAE,CAAC;IAC3D;;;;OAIG;IACH,oBAAoB,CAAC,EAAE,oBAAoB,EAAE,CAAC;IAC9C;;;;OAIG;IACH,qBAAqB,CAAC,EAAE,oBAAoB,EAAE,CAAC;CAChD,CAAC"}
|
|
@@ -1,17 +1,15 @@
|
|
|
1
1
|
export * from './EmptyState';
|
|
2
2
|
export type * from './EmptyState';
|
|
3
|
+
export * from './Accordion';
|
|
4
|
+
export type * from './Accordion';
|
|
3
5
|
export * from './Card';
|
|
4
6
|
export type * from './Card';
|
|
5
|
-
export * from './
|
|
6
|
-
export type * from './
|
|
7
|
+
export * from './Panel';
|
|
8
|
+
export type * from './Panel';
|
|
7
9
|
export * from './TabBar';
|
|
8
10
|
export type * from './TabBar';
|
|
9
11
|
export * from './LoadingSkeleton';
|
|
10
12
|
export type * from './LoadingSkeleton';
|
|
11
|
-
export * from './PanelButtonBar';
|
|
12
|
-
export type * from './PanelButtonBar';
|
|
13
13
|
export * from './Navigation';
|
|
14
14
|
export type * from './Navigation';
|
|
15
|
-
export * from './ContainerHeader';
|
|
16
|
-
export type * from './ContainerHeader';
|
|
17
15
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +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,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,
|
|
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,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,QAAQ,CAAC;AACvB,mBAAmB,QAAQ,CAAC;AAE5B,cAAc,SAAS,CAAC;AACxB,mBAAmB,SAAS,CAAC;AAE7B,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC;AAE9B,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,cAAc,CAAC;AAC7B,mBAAmB,cAAc,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@knime/kds-components",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.28.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
|
"pretty-bytes": "^7.1.0",
|
|
40
40
|
"temporal-polyfill": "^0.3.2",
|
|
41
|
-
"@knime/kds-styles": "^0.
|
|
41
|
+
"@knime/kds-styles": "^0.28.0"
|
|
42
42
|
},
|
|
43
43
|
"devDependencies": {
|
|
44
44
|
"@storybook/vue3-vite": "^10.3.4",
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
"@vue/test-utils": "^2.4.6",
|
|
47
47
|
"@vue/tsconfig": "^0.9.1",
|
|
48
48
|
"@vueuse/core": "^14.2.1",
|
|
49
|
-
"prettier": "3.8.
|
|
49
|
+
"prettier": "3.8.3",
|
|
50
50
|
"prettier-plugin-vue": "^1.1.6",
|
|
51
51
|
"storybook": "^10.3.4",
|
|
52
52
|
"ts-morph": "^27.0.2",
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"KdsContainerHeader.vue.d.ts","sourceRoot":"","sources":["../../../../src/layouts/ContainerHeader/KdsContainerHeader.vue"],"names":[],"mappings":"AA6CA,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAQvD,iBAAS,cAAc;WA8CT,OAAO,IAA6B;;2BAXnB,GAAG;yBACL,GAAG;;;;EAe/B;AAQD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,qUAOnB,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":"index.d.ts","sourceRoot":"","sources":["../../../../src/layouts/ContainerHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAC;AACzE,mBAAmB,SAAS,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../src/layouts/ContainerHeader/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,uBAAuB,GAAG;IACpC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC"}
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { KdsPanelButtonBarProps } from './types';
|
|
2
|
-
declare const _default: import('vue').DefineComponent<KdsPanelButtonBarProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
3
|
-
cancel: (event: MouseEvent) => any;
|
|
4
|
-
apply: (event: MouseEvent) => any;
|
|
5
|
-
}, string, import('vue').PublicProps, Readonly<KdsPanelButtonBarProps> & Readonly<{
|
|
6
|
-
onCancel?: ((event: MouseEvent) => any) | undefined;
|
|
7
|
-
onApply?: ((event: MouseEvent) => any) | undefined;
|
|
8
|
-
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
9
|
-
export default _default;
|
|
10
|
-
//# sourceMappingURL=KdsPanelButtonBar.vue.d.ts.map
|