@knime/kds-components 0.5.9 → 0.6.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/Modal/KdsDynamicModalProvider.vue.d.ts.map +1 -1
- package/dist/Modal/useKdsDynamicModal.d.ts +5 -8
- package/dist/Modal/useKdsDynamicModal.d.ts.map +1 -1
- package/dist/buttons/BaseButton.vue.d.ts +18 -0
- package/dist/buttons/BaseButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsInfoToggleButton.vue.d.ts +15 -0
- package/dist/buttons/KdsInfoToggleButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsLinkButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsProgressButton.vue.d.ts +3 -0
- package/dist/buttons/KdsProgressButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsToggleButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsVariableToggleButton.vue.d.ts +18 -0
- package/dist/buttons/KdsVariableToggleButton.vue.d.ts.map +1 -0
- package/dist/buttons/constants.d.ts.map +1 -0
- package/dist/buttons/index.d.ts +8 -0
- package/dist/buttons/index.d.ts.map +1 -0
- package/dist/{Button → buttons}/types.d.ts +58 -5
- package/dist/buttons/types.d.ts.map +1 -0
- package/dist/{Button/BaseButton.vue.d.ts → forms/Checkbox/BaseCheckbox.vue.d.ts} +1 -1
- package/dist/forms/Checkbox/BaseCheckbox.vue.d.ts.map +1 -0
- package/dist/forms/Checkbox/KdsCheckbox.vue.d.ts.map +1 -0
- package/dist/forms/Checkbox/KdsCheckboxGroup.vue.d.ts +15 -0
- package/dist/forms/Checkbox/KdsCheckboxGroup.vue.d.ts.map +1 -0
- package/dist/forms/Checkbox/types.d.ts +58 -0
- package/dist/forms/Checkbox/types.d.ts.map +1 -0
- package/dist/forms/KdsSubText.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/KdsRadioButton.vue.d.ts +1 -1
- package/dist/forms/RadioButton/KdsRadioButton.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/KdsRadioButtonGroup.vue.d.ts +3 -3
- package/dist/forms/RadioButton/KdsRadioButtonGroup.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/KdsValueSwitch.vue.d.ts +3 -3
- package/dist/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
- package/dist/forms/index.d.ts +3 -0
- package/dist/forms/index.d.ts.map +1 -1
- package/dist/index.css +374 -280
- package/dist/index.d.ts +4 -9
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +654 -477
- package/dist/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/Button/BaseButton.vue.d.ts.map +0 -1
- package/dist/Button/KdsButton.vue.d.ts.map +0 -1
- package/dist/Button/KdsLinkButton.vue.d.ts.map +0 -1
- package/dist/Button/KdsToggleButton.vue.d.ts.map +0 -1
- package/dist/Button/constants.d.ts.map +0 -1
- package/dist/Button/types.d.ts.map +0 -1
- package/dist/Checkbox/KdsCheckbox.vue.d.ts.map +0 -1
- package/dist/Checkbox/types.d.ts +0 -35
- package/dist/Checkbox/types.d.ts.map +0 -1
- package/dist/Icon/KdsDataType.vue.d.ts +0 -14
- package/dist/Icon/KdsDataType.vue.d.ts.map +0 -1
- /package/dist/{Button → buttons}/KdsButton.vue.d.ts +0 -0
- /package/dist/{Button → buttons}/KdsLinkButton.vue.d.ts +0 -0
- /package/dist/{Button → buttons}/KdsToggleButton.vue.d.ts +0 -0
- /package/dist/{Button → buttons}/constants.d.ts +0 -0
- /package/dist/{Checkbox → forms/Checkbox}/KdsCheckbox.vue.d.ts +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsDynamicModalProvider.vue.d.ts","sourceRoot":"","sources":["../../src/Modal/KdsDynamicModalProvider.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"KdsDynamicModalProvider.vue.d.ts","sourceRoot":"","sources":["../../src/Modal/KdsDynamicModalProvider.vue"],"names":[],"mappings":";AAkXA,wBAMG"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ComponentPublicInstance, FunctionalComponent, VNode } from 'vue';
|
|
2
|
-
import { KdsButtonProps } from '../
|
|
2
|
+
import { KdsButtonProps } from '../buttons';
|
|
3
3
|
import { KdsModalLayoutProps, KdsModalProps } from './types';
|
|
4
4
|
type CommonButtonProps = {
|
|
5
5
|
label: string;
|
|
@@ -28,15 +28,13 @@ type PropertyBasedConfirmModalConfig = CommonConfig & {
|
|
|
28
28
|
*/
|
|
29
29
|
message: string;
|
|
30
30
|
/**
|
|
31
|
-
* The label and
|
|
32
|
-
* The
|
|
33
|
-
* an object is supplied. The value will be returned on the modal result.
|
|
31
|
+
* The label and subText to be rendered for the "do not ask again" checkbox option.
|
|
32
|
+
* The checkbox will only be present when an object is supplied. The value will be returned on the modal result.
|
|
34
33
|
* Defaults to empty undefined.
|
|
35
34
|
*/
|
|
36
35
|
doNotAskAgain?: {
|
|
37
36
|
label: string;
|
|
38
|
-
|
|
39
|
-
helperText?: string;
|
|
37
|
+
subText?: string;
|
|
40
38
|
};
|
|
41
39
|
/**
|
|
42
40
|
* Confirmation or cancellation buttons if omitted default ones are set
|
|
@@ -100,8 +98,7 @@ export declare const useKdsDynamicModal: () => {
|
|
|
100
98
|
message: string;
|
|
101
99
|
doNotAskAgain?: {
|
|
102
100
|
label: string;
|
|
103
|
-
|
|
104
|
-
helperText?: string | undefined;
|
|
101
|
+
subText?: string | undefined;
|
|
105
102
|
} | undefined;
|
|
106
103
|
buttons?: ({
|
|
107
104
|
label: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useKdsDynamicModal.d.ts","sourceRoot":"","sources":["../../src/Modal/useKdsDynamicModal.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,KAAK,uBAAuB,EAC5B,KAAK,mBAAmB,EACxB,KAAK,KAAK,EAGX,MAAM,KAAK,CAAC;AAIb,OAAO,KAAK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7C,CAAC;AAEF,eAAO,MAAM,kBAAkB;;iBAGnB,+BAA+B,GACtC,OAAO,CAAC,aAAa,CAAC;iBAIf,+BAA+B,GACtC,OAAO,CAAC,aAAa,CAAC;;qBAiBD,CAAC,UACf,6BAA6B,CAAC,CAAC,CAAC,KACvC,OAAO,CAAC,IAAI,CAAC;;cAlGN,SAAS;;;;;;;;;qBAxEV,MAAM;;uBAON,MAAM;0BACH,MAAM;;;uBAjCX,MAAM;4BACD,OAAO;8BACL,OAAO;;4BAET,OAAO;sBAIb,SAAS;iCACC,CAAC,OAAO,EAAE;oBAAE,OAAO,EAAE,MAAM,IAAI,CAAA;iBAAE,KAAK,IAAI;;uBATnD,MAAM;4BACD,OAAO;8BACL,OAAO;;4BAET,OAAO;sBASb,QAAQ;iCACE,CAAC,OAAO,EAAE;oBAAE,MAAM,EAAE,MAAM,IAAI,CAAA;iBAAE,KAAK,IAAI;;;;;;;;;;uBAgC9C,mBAAmB,GAAG,uBAAuB,GAAG,KAAK;;uBA9CzD,MAAM;4BACD,OAAO;8BACL,OAAO;;4BAET,OAAO;sBAIb,SAAS;iCACC,CAAC,OAAO,EAAE;oBAAE,OAAO,EAAE,MAAM,IAAI,CAAA;iBAAE,KAAK,IAAI;;uBATnD,MAAM;4BACD,OAAO;8BACL,OAAO;;4BAET,OAAO;sBASb,QAAQ;iCACE,CAAC,OAAO,EAAE;oBAAE,MAAM,EAAE,MAAM,IAAI,CAAA;iBAAE,KAAK,IAAI;;;;cAoF/C,SAAS;;;;;;;;;;;;;;;CAkHpB,CAAC"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare function __VLS_template(): {
|
|
2
|
+
attrs: Partial<{}>;
|
|
3
|
+
slots: {
|
|
4
|
+
leading?(_: {}): any;
|
|
5
|
+
};
|
|
6
|
+
refs: {};
|
|
7
|
+
rootEl: any;
|
|
8
|
+
};
|
|
9
|
+
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
10
|
+
declare const __VLS_component: import('vue').DefineSetupFnComponent<Record<string, any>, {}, {}, Record<string, any> & {}, import('vue').PublicProps>;
|
|
11
|
+
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
12
|
+
export default _default;
|
|
13
|
+
type __VLS_WithTemplateSlots<T, S> = T & {
|
|
14
|
+
new (): {
|
|
15
|
+
$slots: S;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
18
|
+
//# sourceMappingURL=BaseButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseButton.vue.d.ts","sourceRoot":"","sources":["../../src/buttons/BaseButton.vue"],"names":[],"mappings":"AA+YA,iBAAS,cAAc;WAiGT,OAAO,IAA6B;;yBAVrB,GAAG;;;;EAe/B;AAcD,KAAK,oBAAoB,GAAG,UAAU,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,QAAA,MAAM,eAAe,wHASnB,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"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsButton.vue.d.ts","sourceRoot":"","sources":["../../src/buttons/KdsButton.vue"],"names":[],"mappings":";AA2FA,wBASG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { KdsInfoToggleButtonProps } from './types';
|
|
2
|
+
type __VLS_Props = KdsInfoToggleButtonProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
hidden: boolean;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=KdsInfoToggleButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsInfoToggleButton.vue.d.ts","sourceRoot":"","sources":["../../src/buttons/KdsInfoToggleButton.vue"],"names":[],"mappings":"AAgGA,OAAO,KAAK,EAAE,wBAAwB,EAAE,MAAM,SAAS,CAAC;AAExD,KAAK,WAAW,GAAG,wBAAwB,CAAC;AAkB5C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;AA2EhB,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsLinkButton.vue.d.ts","sourceRoot":"","sources":["../../src/buttons/KdsLinkButton.vue"],"names":[],"mappings":";AAiIA,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsProgressButton.vue.d.ts","sourceRoot":"","sources":["../../src/buttons/KdsProgressButton.vue"],"names":[],"mappings":";AA8TA,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsToggleButton.vue.d.ts","sourceRoot":"","sources":["../../src/buttons/KdsToggleButton.vue"],"names":[],"mappings":";AAwGA,wBASG"}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { KdsVariableToggleButtonProps } from './types';
|
|
2
|
+
type __VLS_Props = KdsVariableToggleButtonProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: boolean;
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: boolean) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
error: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
|
+
inSet: boolean;
|
|
14
|
+
outSet: boolean;
|
|
15
|
+
hidden: boolean;
|
|
16
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
17
|
+
export default _default;
|
|
18
|
+
//# sourceMappingURL=KdsVariableToggleButton.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsVariableToggleButton.vue.d.ts","sourceRoot":"","sources":["../../src/buttons/KdsVariableToggleButton.vue"],"names":[],"mappings":"AAiKA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,SAAS,CAAC;AAE5D,KAAK,WAAW,GAAG,4BAA4B,CAAC;AAyEhD,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;;;;AA8EhB,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"constants.d.ts","sourceRoot":"","sources":["../../src/buttons/constants.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,iBAAiB,gDAAiD,CAAC;AAEhF,eAAO,MAAM,uBAAuB,sCAAuC,CAAC"}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export { default as KdsButton } from './KdsButton.vue';
|
|
2
|
+
export { default as KdsVariableToggleButton } from './KdsVariableToggleButton.vue';
|
|
3
|
+
export { default as KdsInfoToggleButton } from './KdsInfoToggleButton.vue';
|
|
4
|
+
export { default as KdsLinkButton } from './KdsLinkButton.vue';
|
|
5
|
+
export { default as KdsProgressButton } from './KdsProgressButton.vue';
|
|
6
|
+
export { default as KdsToggleButton } from './KdsToggleButton.vue';
|
|
7
|
+
export type * from './types';
|
|
8
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,SAAS,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,OAAO,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAC;AACnF,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAC;AAC/D,OAAO,EAAE,OAAO,IAAI,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACvE,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC;AAEnE,mBAAmB,SAAS,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { KdsIconName } from '../Icon/types';
|
|
2
2
|
import { KdsSize } from '../types';
|
|
3
3
|
import { kdsButtonVariants, kdsToggleButtonVariants } from './constants';
|
|
4
4
|
export type KdsButtonVariant = (typeof kdsButtonVariants)[number];
|
|
@@ -16,13 +16,13 @@ type CommonProps = {
|
|
|
16
16
|
*/
|
|
17
17
|
type LabelAndIcons = {
|
|
18
18
|
label: string;
|
|
19
|
-
leadingIcon?:
|
|
20
|
-
trailingIcon?:
|
|
19
|
+
leadingIcon?: KdsIconName;
|
|
20
|
+
trailingIcon?: KdsIconName;
|
|
21
21
|
ariaLabel?: never;
|
|
22
22
|
};
|
|
23
23
|
type LeadingIconOnly = {
|
|
24
24
|
label?: never;
|
|
25
|
-
leadingIcon:
|
|
25
|
+
leadingIcon: KdsIconName;
|
|
26
26
|
trailingIcon?: never;
|
|
27
27
|
ariaLabel: string;
|
|
28
28
|
};
|
|
@@ -39,6 +39,18 @@ type WithDestructive = {
|
|
|
39
39
|
*/
|
|
40
40
|
destructive?: boolean;
|
|
41
41
|
};
|
|
42
|
+
type WithSuccess = {
|
|
43
|
+
/**
|
|
44
|
+
* If set to true, the button will be styled as a success/positive action.
|
|
45
|
+
*/
|
|
46
|
+
success?: boolean;
|
|
47
|
+
};
|
|
48
|
+
type WithError = {
|
|
49
|
+
/**
|
|
50
|
+
* If set to true, the button will be styled as an error/negative action.
|
|
51
|
+
*/
|
|
52
|
+
error?: boolean;
|
|
53
|
+
};
|
|
42
54
|
type WithRouterNavigation = {
|
|
43
55
|
/**
|
|
44
56
|
* Route Location the link should navigate to when clicked on; passed to RouterLink/NuxtLink component if globally available
|
|
@@ -68,12 +80,53 @@ type WithToggled = {
|
|
|
68
80
|
/**
|
|
69
81
|
* Type for BaseButton component which supports all behaviors
|
|
70
82
|
*/
|
|
71
|
-
export type BaseButtonProps = CommonProps & WithVariant<KdsButtonVariant> & WithLabelAndIcons & WithDestructive & WithToggled;
|
|
83
|
+
export type BaseButtonProps = CommonProps & WithVariant<KdsButtonVariant> & WithLabelAndIcons & WithDestructive & WithSuccess & WithError & WithToggled;
|
|
72
84
|
/**
|
|
73
85
|
* Component types
|
|
74
86
|
*/
|
|
75
87
|
export type KdsButtonProps = CommonProps & Partial<WithVariant<KdsButtonVariant>> & WithLabelAndIcons & WithDestructive;
|
|
76
88
|
export type KdsLinkButtonProps = CommonProps & Partial<WithVariant<KdsButtonVariant>> & WithLabelAndIcons & WithDestructive & WithRouterNavigation & WithAnchorElementAttributes;
|
|
77
89
|
export type KdsToggleButtonProps = CommonProps & Partial<WithVariant<KdsToggleButtonVariant>> & WithLabelAndIcons;
|
|
90
|
+
export type KdsVariableToggleButtonProps = KdsInfoToggleButtonProps & {
|
|
91
|
+
/**
|
|
92
|
+
* If set to true, indicates that an input flow variable is configured.
|
|
93
|
+
*/
|
|
94
|
+
inSet?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* If set to true, indicates that an output flow variable is configured.
|
|
97
|
+
*/
|
|
98
|
+
outSet?: boolean;
|
|
99
|
+
/**
|
|
100
|
+
* If set to true, the button indicates an error state.
|
|
101
|
+
*/
|
|
102
|
+
error?: boolean;
|
|
103
|
+
};
|
|
104
|
+
export type KdsInfoToggleButtonProps = {
|
|
105
|
+
disabled?: boolean;
|
|
106
|
+
/**
|
|
107
|
+
* If set to true, the button is visible even when not focused.
|
|
108
|
+
*/
|
|
109
|
+
hidden?: boolean;
|
|
110
|
+
};
|
|
111
|
+
/**
|
|
112
|
+
* Progress button types
|
|
113
|
+
*/
|
|
114
|
+
export type KdsProgressButtonState = "default" | "progress" | "success" | "error";
|
|
115
|
+
type KdsProgressButtonCommonProps = {
|
|
116
|
+
size?: KdsSize;
|
|
117
|
+
variant?: KdsButtonVariant;
|
|
118
|
+
disabled?: boolean;
|
|
119
|
+
};
|
|
120
|
+
type KdsProgressButtonIconWithLabel = {
|
|
121
|
+
label: string;
|
|
122
|
+
leadingIcon: KdsIconName;
|
|
123
|
+
ariaLabel?: never;
|
|
124
|
+
};
|
|
125
|
+
type KdsProgressButtonIconOnly = {
|
|
126
|
+
label?: never;
|
|
127
|
+
leadingIcon: KdsIconName;
|
|
128
|
+
ariaLabel: string;
|
|
129
|
+
};
|
|
130
|
+
export type KdsProgressButtonProps = KdsProgressButtonCommonProps & (KdsProgressButtonIconWithLabel | KdsProgressButtonIconOnly);
|
|
78
131
|
export {};
|
|
79
132
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/buttons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,eAAe,C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CAAC;AAEF,MAAM,MAAM,wBAAwB,GAAG;IACrC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB,CAAC;AAEF;;GAEG;AACH,MAAM,MAAM,sBAAsB,GAC9B,SAAS,GACT,UAAU,GACV,SAAS,GACT,OAAO,CAAC;AAEZ,KAAK,4BAA4B,GAAG;IAClC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,CAAC,EAAE,gBAAgB,CAAC;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,KAAK,8BAA8B,GAAG;IACpC,KAAK,EAAE,MAAM,CAAC;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,CAAC,EAAE,KAAK,CAAC;CACnB,CAAC;AAEF,KAAK,yBAAyB,GAAG;IAC/B,KAAK,CAAC,EAAE,KAAK,CAAC;IACd,WAAW,EAAE,WAAW,CAAC;IACzB,SAAS,EAAE,MAAM,CAAC;CACnB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG,4BAA4B,GAC/D,CAAC,8BAA8B,GAAG,yBAAyB,CAAC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BaseCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/BaseCheckbox.vue"],"names":[],"mappings":";AA0ZA,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsCheckbox.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/KdsCheckbox.vue"],"names":[],"mappings":";AAgHA,wBASG"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { KdsCheckboxGroupProps } from './types';
|
|
2
|
+
type __VLS_Props = KdsCheckboxGroupProps;
|
|
3
|
+
type __VLS_PublicProps = {
|
|
4
|
+
modelValue?: string[];
|
|
5
|
+
} & __VLS_Props;
|
|
6
|
+
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
+
"update:modelValue": (value: string[]) => any;
|
|
8
|
+
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string[]) => any) | undefined;
|
|
10
|
+
}>, {
|
|
11
|
+
disabled: boolean;
|
|
12
|
+
alignment: import('./types').KdsCheckboxGroupAlignment;
|
|
13
|
+
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLDivElement>;
|
|
14
|
+
export default _default;
|
|
15
|
+
//# sourceMappingURL=KdsCheckboxGroup.vue.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"KdsCheckboxGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/KdsCheckboxGroup.vue"],"names":[],"mappings":"AA2HA,OAAO,KAAK,EAEV,qBAAqB,EAEtB,MAAM,SAAS,CAAC;AAEjB,KAAK,WAAW,GAAG,qBAAqB,CAAC;AAsDzC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,EAAE,CAAC;CACrB,GAAG,WAAW,CAAC;;;;;;;;;AA8HhB,wBASG"}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
export type KdsCheckboxValue = boolean | "indeterminate";
|
|
2
|
+
type BaseProps = {
|
|
3
|
+
/**
|
|
4
|
+
* Whether the checkbox is disabled
|
|
5
|
+
*/
|
|
6
|
+
disabled?: boolean;
|
|
7
|
+
/**
|
|
8
|
+
* Whether the checkbox is in an error state
|
|
9
|
+
*/
|
|
10
|
+
error?: boolean;
|
|
11
|
+
/**
|
|
12
|
+
* Optional helper or error text shown below the checkbox and referenced via aria-describedby.
|
|
13
|
+
*/
|
|
14
|
+
subText?: string;
|
|
15
|
+
/**
|
|
16
|
+
* Reserve space for subtext to prevent layout shifts when helper text or errors appear.
|
|
17
|
+
*/
|
|
18
|
+
preserveSubTextSpace?: boolean;
|
|
19
|
+
};
|
|
20
|
+
type LabelOrTitle = {
|
|
21
|
+
/**
|
|
22
|
+
* The label text for the checkbox
|
|
23
|
+
*/
|
|
24
|
+
label: string;
|
|
25
|
+
title?: never;
|
|
26
|
+
} | {
|
|
27
|
+
label?: "" | undefined | never;
|
|
28
|
+
/**
|
|
29
|
+
* Used when no visible label is provided (required for accessibility).
|
|
30
|
+
*/
|
|
31
|
+
title: string;
|
|
32
|
+
};
|
|
33
|
+
export type BaseCheckboxProps = BaseProps & LabelOrTitle & {
|
|
34
|
+
/**
|
|
35
|
+
* Helper text displayed below the label
|
|
36
|
+
*/
|
|
37
|
+
helperText?: string;
|
|
38
|
+
};
|
|
39
|
+
export type KdsCheckboxProps = BaseProps & LabelOrTitle;
|
|
40
|
+
export type KdsCheckboxGroupOption = {
|
|
41
|
+
text: string;
|
|
42
|
+
id: string;
|
|
43
|
+
disabled?: boolean;
|
|
44
|
+
helperText?: string;
|
|
45
|
+
error?: boolean;
|
|
46
|
+
};
|
|
47
|
+
export type KdsCheckboxGroupAlignment = "vertical" | "horizontal";
|
|
48
|
+
export type KdsCheckboxGroupProps = {
|
|
49
|
+
id?: string;
|
|
50
|
+
label?: string;
|
|
51
|
+
possibleValues: Array<string | KdsCheckboxGroupOption>;
|
|
52
|
+
alignment?: KdsCheckboxGroupAlignment;
|
|
53
|
+
disabled?: boolean;
|
|
54
|
+
subText?: string;
|
|
55
|
+
preserveSubTextSpace?: boolean;
|
|
56
|
+
};
|
|
57
|
+
export {};
|
|
58
|
+
//# sourceMappingURL=types.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,GAAG,OAAO,GAAG,eAAe,CAAC;AAEzD,KAAK,SAAS,GAAG;IACf;;OAEG;IACH,QAAQ,CA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d.ts","sourceRoot":"","sources":["../../src/forms/KdsSubText.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsSubText.vue.d.ts","sourceRoot":"","sources":["../../src/forms/KdsSubText.vue"],"names":[],"mappings":"AAiDA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;;;;;AAiF/C,wBAOG"}
|
|
@@ -8,8 +8,8 @@ declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {},
|
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
9
|
"onUpdate:modelValue"?: ((value: boolean) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
|
-
disabled: boolean;
|
|
12
11
|
error: boolean;
|
|
12
|
+
disabled: boolean;
|
|
13
13
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {}, HTMLButtonElement>;
|
|
14
14
|
export default _default;
|
|
15
15
|
//# sourceMappingURL=KdsRadioButton.vue.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsRadioButton.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsRadioButton.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"KdsRadioButton.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsRadioButton.vue"],"names":[],"mappings":"AA8KA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,YAAY,CAAC;AAEtD,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA4BvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,OAAO,CAAC;CACpB,GAAG,WAAW,CAAC;;;;;;;;;AAmGhB,wBASG"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { KdsRadioButtonGroupProps } from './types';
|
|
2
2
|
type __VLS_Props = KdsRadioButtonGroupProps;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: string
|
|
4
|
+
modelValue?: string;
|
|
5
5
|
} & __VLS_Props;
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: string
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((value: string
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
disabled: boolean;
|
|
12
12
|
alignment: import('./types').KdsRadioButtonGroupAlignment;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsRadioButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsRadioButtonGroup.vue"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAGjB,KAAK,WAAW,GAAG,wBAAwB,CAAC;AAuC5C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"KdsRadioButtonGroup.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsRadioButtonGroup.vue"],"names":[],"mappings":"AA6GA,OAAO,KAAK,EAEV,wBAAwB,EACzB,MAAM,SAAS,CAAC;AAGjB,KAAK,WAAW,GAAG,wBAAwB,CAAC;AAuC5C,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;AA2IhB,wBAUG"}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { KdsValueSwitchProps } from './types';
|
|
2
2
|
type __VLS_Props = KdsValueSwitchProps;
|
|
3
3
|
type __VLS_PublicProps = {
|
|
4
|
-
modelValue?: string
|
|
4
|
+
modelValue?: string;
|
|
5
5
|
} & __VLS_Props;
|
|
6
6
|
declare const _default: import('vue').DefineComponent<__VLS_PublicProps, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
7
|
-
"update:modelValue": (value: string
|
|
7
|
+
"update:modelValue": (value: string) => any;
|
|
8
8
|
}, string, import('vue').PublicProps, Readonly<__VLS_PublicProps> & Readonly<{
|
|
9
|
-
"onUpdate:modelValue"?: ((value: string
|
|
9
|
+
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
10
10
|
}>, {
|
|
11
11
|
size: import('./types').KdsValueSwitchSize;
|
|
12
12
|
variant: import('./types').KdsValueSwitchVariant;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsValueSwitch.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsValueSwitch.vue"],"names":[],"mappings":"AA2IA,OAAO,KAAK,EAAwB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAIzE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA6CvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"KdsValueSwitch.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/KdsValueSwitch.vue"],"names":[],"mappings":"AA2IA,OAAO,KAAK,EAAwB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAIzE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA6CvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;AAsJhB,wBAUG"}
|
package/dist/forms/index.d.ts
CHANGED
|
@@ -1,6 +1,9 @@
|
|
|
1
|
+
export { default as KdsCheckbox } from './Checkbox/KdsCheckbox.vue';
|
|
2
|
+
export { default as KdsCheckboxGroup } from './Checkbox/KdsCheckboxGroup.vue';
|
|
1
3
|
export { default as KdsRadioButtonGroup } from './RadioButton/KdsRadioButtonGroup.vue';
|
|
2
4
|
export { default as KdsValueSwitch } from './RadioButton/KdsValueSwitch.vue';
|
|
3
5
|
export { default as KdsLabel } from './KdsLabel.vue';
|
|
4
6
|
export { default as KdsSubText } from './KdsSubText.vue';
|
|
5
7
|
export type { KdsRadioButtonGroupAlignment, KdsRadioButtonGroupOption, KdsRadioButtonGroupProps, KdsValueSwitchOption, KdsValueSwitchProps, KdsValueSwitchSize, } from './RadioButton/types';
|
|
8
|
+
export type { KdsCheckboxValue, KdsCheckboxGroupAlignment, KdsCheckboxGroupOption, KdsCheckboxGroupProps, } from './Checkbox/types';
|
|
6
9
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGzD,YAAY,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,4BAA4B,CAAC;AACpE,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,uCAAuC,CAAC;AACvF,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,kCAAkC,CAAC;AAC7E,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGzD,YAAY,EACV,4BAA4B,EAC5B,yBAAyB,EACzB,wBAAwB,EACxB,oBAAoB,EACpB,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,qBAAqB,CAAC;AAC7B,YAAY,EACV,gBAAgB,EAChB,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,GACtB,MAAM,kBAAkB,CAAC"}
|