@knime/kds-components 0.7.0 → 0.8.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 -1
- package/dist/accessories/Avatar/index.d.ts +3 -0
- package/dist/accessories/Avatar/index.d.ts.map +1 -0
- package/dist/accessories/ColorSwatch/enums.d.ts +11 -0
- package/dist/accessories/ColorSwatch/enums.d.ts.map +1 -0
- package/dist/accessories/ColorSwatch/index.d.ts +4 -0
- package/dist/accessories/ColorSwatch/index.d.ts.map +1 -0
- package/dist/accessories/ColorSwatch/types.d.ts +4 -3
- package/dist/accessories/ColorSwatch/types.d.ts.map +1 -1
- package/dist/accessories/Icon/enums.d.ts +19 -0
- package/dist/accessories/Icon/enums.d.ts.map +1 -0
- package/dist/accessories/Icon/index.d.ts +5 -0
- package/dist/accessories/Icon/index.d.ts.map +1 -0
- package/dist/accessories/Icon/types.d.ts +5 -6
- package/dist/accessories/Icon/types.d.ts.map +1 -1
- package/dist/accessories/LiveStatus/KdsLiveStatus.vue.d.ts +9 -0
- package/dist/accessories/LiveStatus/KdsLiveStatus.vue.d.ts.map +1 -0
- package/dist/accessories/LiveStatus/enums.d.ts +14 -0
- package/dist/accessories/LiveStatus/enums.d.ts.map +1 -0
- package/dist/accessories/LiveStatus/index.d.ts +4 -0
- package/dist/accessories/LiveStatus/index.d.ts.map +1 -0
- package/dist/accessories/LiveStatus/types.d.ts +23 -0
- package/dist/accessories/LiveStatus/types.d.ts.map +1 -0
- package/dist/accessories/LoadingSpinner/enums.d.ts +6 -0
- package/dist/accessories/LoadingSpinner/enums.d.ts.map +1 -0
- package/dist/accessories/LoadingSpinner/index.d.ts +4 -0
- package/dist/accessories/LoadingSpinner/index.d.ts.map +1 -0
- package/dist/accessories/LoadingSpinner/types.d.ts +3 -2
- package/dist/accessories/LoadingSpinner/types.d.ts.map +1 -1
- package/dist/accessories/index.d.ts +10 -9
- package/dist/accessories/index.d.ts.map +1 -1
- package/dist/buttons/KdsButton/KdsButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsButton/index.d.ts +3 -0
- package/dist/buttons/KdsButton/index.d.ts.map +1 -0
- package/dist/buttons/KdsButton/types.d.ts +40 -0
- package/dist/buttons/KdsButton/types.d.ts.map +1 -0
- package/dist/buttons/KdsInfoToggleButton/KdsInfoToggleButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsInfoToggleButton/index.d.ts +3 -0
- package/dist/buttons/KdsInfoToggleButton/index.d.ts.map +1 -0
- package/dist/buttons/KdsInfoToggleButton/types.d.ts +8 -0
- package/dist/buttons/KdsInfoToggleButton/types.d.ts.map +1 -0
- package/dist/buttons/KdsLinkButton/KdsLinkButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsLinkButton/index.d.ts +3 -0
- package/dist/buttons/KdsLinkButton/index.d.ts.map +1 -0
- package/dist/buttons/KdsLinkButton/types.d.ts +42 -0
- package/dist/buttons/KdsLinkButton/types.d.ts.map +1 -0
- package/dist/buttons/KdsProgressButton/KdsProgressButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsProgressButton/enums.d.ts +8 -0
- package/dist/buttons/KdsProgressButton/enums.d.ts.map +1 -0
- package/dist/buttons/KdsProgressButton/index.d.ts +4 -0
- package/dist/buttons/KdsProgressButton/index.d.ts.map +1 -0
- package/dist/buttons/KdsProgressButton/types.d.ts +17 -0
- package/dist/buttons/KdsProgressButton/types.d.ts.map +1 -0
- package/dist/buttons/KdsToggleButton/KdsToggleButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsToggleButton/enums.d.ts +6 -0
- package/dist/buttons/KdsToggleButton/enums.d.ts.map +1 -0
- package/dist/buttons/KdsToggleButton/index.d.ts +4 -0
- package/dist/buttons/KdsToggleButton/index.d.ts.map +1 -0
- package/dist/buttons/KdsToggleButton/types.d.ts +5 -0
- package/dist/buttons/KdsToggleButton/types.d.ts.map +1 -0
- package/dist/buttons/{KdsVariableToggleButton.vue.d.ts → KdsVariableToggleButton/KdsVariableToggleButton.vue.d.ts} +1 -1
- package/dist/buttons/KdsVariableToggleButton/KdsVariableToggleButton.vue.d.ts.map +1 -0
- package/dist/buttons/KdsVariableToggleButton/index.d.ts +3 -0
- package/dist/buttons/KdsVariableToggleButton/index.d.ts.map +1 -0
- package/dist/buttons/KdsVariableToggleButton/types.d.ts +16 -0
- package/dist/buttons/KdsVariableToggleButton/types.d.ts.map +1 -0
- package/dist/buttons/enums.d.ts +14 -0
- package/dist/buttons/enums.d.ts.map +1 -0
- package/dist/buttons/index.d.ts +14 -7
- package/dist/buttons/index.d.ts.map +1 -1
- package/dist/buttons/types.d.ts +9 -151
- package/dist/buttons/types.d.ts.map +1 -1
- package/dist/forms/Checkbox/enums.d.ts +12 -0
- package/dist/forms/Checkbox/enums.d.ts.map +1 -0
- package/dist/forms/Checkbox/index.d.ts +5 -0
- package/dist/forms/Checkbox/index.d.ts.map +1 -0
- package/dist/forms/Checkbox/types.d.ts +3 -2
- package/dist/forms/Checkbox/types.d.ts.map +1 -1
- package/dist/forms/KdsLabel.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/KdsRadioButtonGroup.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/KdsValueSwitch.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/ValueSwitchItem.vue.d.ts.map +1 -1
- package/dist/forms/RadioButton/enums.d.ts +16 -0
- package/dist/forms/RadioButton/enums.d.ts.map +1 -0
- package/dist/forms/RadioButton/index.d.ts +6 -0
- package/dist/forms/RadioButton/index.d.ts.map +1 -0
- package/dist/forms/RadioButton/types.d.ts +4 -3
- package/dist/forms/RadioButton/types.d.ts.map +1 -1
- package/dist/forms/index.d.ts +7 -12
- package/dist/forms/index.d.ts.map +1 -1
- package/dist/forms/inputs/BaseInput.vue.d.ts +6 -6
- package/dist/forms/inputs/BaseInput.vue.d.ts.map +1 -1
- package/dist/forms/inputs/NumberInput/KdsNumberInput.vue.d.ts.map +1 -1
- package/dist/forms/inputs/NumberInput/index.d.ts +2 -0
- package/dist/forms/inputs/NumberInput/index.d.ts.map +1 -0
- package/dist/forms/inputs/PatternInput/index.d.ts +2 -0
- package/dist/forms/inputs/PatternInput/index.d.ts.map +1 -0
- package/dist/forms/inputs/SearchInput/KdsSearchInput.vue.d.ts.map +1 -1
- package/dist/forms/inputs/SearchInput/index.d.ts +2 -0
- package/dist/forms/inputs/SearchInput/index.d.ts.map +1 -0
- package/dist/forms/inputs/TextInput/index.d.ts +2 -0
- package/dist/forms/inputs/TextInput/index.d.ts.map +1 -0
- package/dist/forms/inputs/Textarea/KdsTextarea.vue.d.ts.map +1 -1
- package/dist/forms/inputs/Textarea/index.d.ts +2 -0
- package/dist/forms/inputs/Textarea/index.d.ts.map +1 -0
- package/dist/forms/inputs/index.d.ts +7 -0
- package/dist/forms/inputs/index.d.ts.map +1 -0
- package/dist/index.css +595 -417
- package/dist/index.d.ts +2 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1199 -799
- package/dist/index.js.map +1 -1
- package/dist/overlays/Modal/KdsModal.vue.d.ts +6 -6
- package/dist/overlays/Modal/KdsModalLayout.vue.d.ts +1 -1
- package/dist/overlays/Modal/enums.d.ts +41 -0
- package/dist/overlays/Modal/enums.d.ts.map +1 -0
- package/dist/overlays/Modal/index.d.ts +7 -0
- package/dist/overlays/Modal/index.d.ts.map +1 -0
- package/dist/overlays/Modal/types.d.ts +9 -17
- package/dist/overlays/Modal/types.d.ts.map +1 -1
- package/dist/overlays/Modal/useKdsDynamicModal.d.ts +16 -16
- package/dist/overlays/Popover/KdsPopover.vue.d.ts.map +1 -1
- package/dist/overlays/Popover/enums.d.ts +8 -0
- package/dist/overlays/Popover/enums.d.ts.map +1 -0
- package/dist/overlays/Popover/index.d.ts +4 -0
- package/dist/overlays/Popover/index.d.ts.map +1 -0
- package/dist/overlays/Popover/types.d.ts +2 -2
- package/dist/overlays/Popover/types.d.ts.map +1 -1
- package/dist/overlays/index.d.ts +4 -7
- package/dist/overlays/index.d.ts.map +1 -1
- package/dist/structures/Card/KdsCard.vue.d.ts +60 -0
- package/dist/structures/Card/KdsCard.vue.d.ts.map +1 -0
- package/dist/structures/Card/enums.d.ts +7 -0
- package/dist/structures/Card/enums.d.ts.map +1 -0
- package/dist/structures/Card/index.d.ts +4 -0
- package/dist/structures/Card/index.d.ts.map +1 -0
- package/dist/structures/Card/types.d.ts +69 -0
- package/dist/structures/Card/types.d.ts.map +1 -0
- package/dist/structures/EmptyState/KdsEmptyState.vue.d.ts +145 -0
- package/dist/structures/EmptyState/KdsEmptyState.vue.d.ts.map +1 -0
- package/dist/structures/EmptyState/types.d.ts +11 -0
- package/dist/structures/EmptyState/types.d.ts.map +1 -0
- package/dist/structures/index.d.ts +5 -0
- package/dist/structures/index.d.ts.map +1 -0
- package/dist/util/enums.d.ts +7 -0
- package/dist/util/enums.d.ts.map +1 -0
- package/dist/util/index.d.ts +1 -0
- package/dist/util/index.d.ts.map +1 -1
- package/dist/util/useKdsDarkMode.d.ts +2 -1
- package/dist/util/useKdsDarkMode.d.ts.map +1 -1
- package/package.json +3 -3
- package/dist/EmptyState/KdsEmptyState.vue.d.ts +0 -165
- package/dist/EmptyState/KdsEmptyState.vue.d.ts.map +0 -1
- package/dist/EmptyState/types.d.ts +0 -11
- package/dist/EmptyState/types.d.ts.map +0 -1
- package/dist/accessories/Icon/constants.d.ts +0 -6
- package/dist/accessories/Icon/constants.d.ts.map +0 -1
- package/dist/buttons/KdsButton.vue.d.ts.map +0 -1
- package/dist/buttons/KdsInfoToggleButton.vue.d.ts.map +0 -1
- package/dist/buttons/KdsLinkButton.vue.d.ts.map +0 -1
- package/dist/buttons/KdsProgressButton.vue.d.ts.map +0 -1
- package/dist/buttons/KdsToggleButton.vue.d.ts.map +0 -1
- package/dist/buttons/KdsVariableToggleButton.vue.d.ts.map +0 -1
- package/dist/buttons/constants.d.ts +0 -3
- package/dist/buttons/constants.d.ts.map +0 -1
- package/dist/constants.d.ts +0 -2
- package/dist/constants.d.ts.map +0 -1
- package/dist/overlays/Modal/constants.d.ts +0 -21
- package/dist/overlays/Modal/constants.d.ts.map +0 -1
- package/dist/overlays/Popover/constants.d.ts +0 -2
- package/dist/overlays/Popover/constants.d.ts.map +0 -1
- package/dist/types.d.ts +0 -3
- package/dist/types.d.ts.map +0 -1
- /package/dist/buttons/{KdsButton.vue.d.ts → KdsButton/KdsButton.vue.d.ts} +0 -0
- /package/dist/buttons/{KdsInfoToggleButton.vue.d.ts → KdsInfoToggleButton/KdsInfoToggleButton.vue.d.ts} +0 -0
- /package/dist/buttons/{KdsLinkButton.vue.d.ts → KdsLinkButton/KdsLinkButton.vue.d.ts} +0 -0
- /package/dist/buttons/{KdsProgressButton.vue.d.ts → KdsProgressButton/KdsProgressButton.vue.d.ts} +0 -0
- /package/dist/buttons/{KdsToggleButton.vue.d.ts → KdsToggleButton/KdsToggleButton.vue.d.ts} +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/buttons/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,mBAAmB,aAAa,CAAC;AAEjC,cAAc,iBAAiB,CAAC;AAChC,mBAAmB,iBAAiB,CAAC;AAErC,cAAc,mBAAmB,CAAC;AAClC,mBAAmB,mBAAmB,CAAC;AAEvC,cAAc,qBAAqB,CAAC;AACpC,mBAAmB,qBAAqB,CAAC;AAEzC,cAAc,uBAAuB,CAAC;AACtC,mBAAmB,uBAAuB,CAAC;AAE3C,cAAc,2BAA2B,CAAC;AAC1C,mBAAmB,2BAA2B,CAAC;AAG/C,OAAO,EACL,aAAa,EACb,cAAc,EACd,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AAGjB,YAAY,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/buttons/types.d.ts
CHANGED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { KdsIconName } from '../accessories/Icon/types';
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
export type KdsButtonVariant = (typeof
|
|
5
|
-
export type KdsToggleButtonVariant = (typeof kdsToggleButtonVariants)[number];
|
|
2
|
+
import { kdsButtonSize, kdsButtonVariant } from './enums';
|
|
3
|
+
export type KdsButtonSize = (typeof kdsButtonSize)[keyof typeof kdsButtonSize];
|
|
4
|
+
export type KdsButtonVariant = (typeof kdsButtonVariant)[keyof typeof kdsButtonVariant];
|
|
6
5
|
/**
|
|
7
6
|
* Properties common to all button components
|
|
8
7
|
*/
|
|
9
|
-
type
|
|
10
|
-
size?:
|
|
8
|
+
export type KdsButtonCommonProps<TVariant extends KdsButtonVariant = KdsButtonVariant> = {
|
|
9
|
+
size?: KdsButtonSize;
|
|
11
10
|
disabled?: boolean;
|
|
12
11
|
title?: string;
|
|
12
|
+
variant?: TVariant;
|
|
13
13
|
};
|
|
14
14
|
/**
|
|
15
15
|
* Helper types
|
|
@@ -26,14 +26,8 @@ type LeadingIconOnly = {
|
|
|
26
26
|
trailingIcon?: never;
|
|
27
27
|
ariaLabel: string;
|
|
28
28
|
};
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
*/
|
|
32
|
-
type WithVariant<TVariant> = {
|
|
33
|
-
variant: TVariant;
|
|
34
|
-
};
|
|
35
|
-
type WithLabelAndIcons = LabelAndIcons | LeadingIconOnly;
|
|
36
|
-
type WithDestructive = {
|
|
29
|
+
export type WithLabelAndIcons = LabelAndIcons | LeadingIconOnly;
|
|
30
|
+
export type WithDestructive = {
|
|
37
31
|
/**
|
|
38
32
|
* If set to true, the button will prominently warn the user of a destructive action.
|
|
39
33
|
*/
|
|
@@ -51,151 +45,15 @@ type WithError = {
|
|
|
51
45
|
*/
|
|
52
46
|
error?: boolean;
|
|
53
47
|
};
|
|
54
|
-
export type WithRouterNavigation = {
|
|
55
|
-
/**
|
|
56
|
-
* Route Location the link should navigate to when clicked on; passed to RouterLink/NuxtLink component if globally available
|
|
57
|
-
*/
|
|
58
|
-
to: string | Record<string, unknown>;
|
|
59
|
-
};
|
|
60
|
-
export type WithAnchorElementAttributes = {
|
|
61
|
-
/**
|
|
62
|
-
* If set to true, the link will be downloaded instead of navigating to it.
|
|
63
|
-
*/
|
|
64
|
-
download?: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Where to display the linked URL, as the name for a browsing context.
|
|
67
|
-
*/
|
|
68
|
-
target?: "_blank" | "_parent" | "_self" | "_top" | string | null;
|
|
69
|
-
/**
|
|
70
|
-
* A rel attribute value to apply on the link. In Nuxt, defaults to "noopener noreferrer" for external links.
|
|
71
|
-
*/
|
|
72
|
-
rel?: "noopener" | "noreferrer" | "nofollow" | "sponsored" | "ugc" | string | null;
|
|
73
|
-
};
|
|
74
48
|
type WithToggled = {
|
|
75
49
|
/**
|
|
76
50
|
* Represents the button's toggled state
|
|
77
51
|
*/
|
|
78
52
|
toggled?: boolean;
|
|
79
53
|
};
|
|
80
|
-
/**
|
|
81
|
-
* Prefixed versions of composable types for use in composite components
|
|
82
|
-
* Pre-computed here to avoid Vue SFC compiler issues with mapped types
|
|
83
|
-
*/
|
|
84
|
-
type PrefixedCommonProps = {
|
|
85
|
-
buttonSize?: CommonProps["size"];
|
|
86
|
-
buttonDisabled?: CommonProps["disabled"];
|
|
87
|
-
buttonTitle?: CommonProps["title"];
|
|
88
|
-
};
|
|
89
|
-
type PrefixedLabelAndIcons = {
|
|
90
|
-
buttonLabel: string;
|
|
91
|
-
buttonLeadingIcon?: LabelAndIcons["leadingIcon"];
|
|
92
|
-
buttonTrailingIcon?: LabelAndIcons["trailingIcon"];
|
|
93
|
-
buttonAriaLabel?: never;
|
|
94
|
-
};
|
|
95
|
-
type PrefixedLeadingIconOnly = {
|
|
96
|
-
buttonLabel?: never;
|
|
97
|
-
buttonLeadingIcon: LeadingIconOnly["leadingIcon"];
|
|
98
|
-
buttonTrailingIcon?: never;
|
|
99
|
-
buttonAriaLabel: string;
|
|
100
|
-
};
|
|
101
|
-
type PrefixedWithLabelAndIcons = PrefixedLabelAndIcons | PrefixedLeadingIconOnly;
|
|
102
|
-
type PrefixedWithVariant = {
|
|
103
|
-
buttonVariant?: KdsButtonVariant;
|
|
104
|
-
};
|
|
105
|
-
type PrefixedWithDestructive = {
|
|
106
|
-
buttonDestructive?: WithDestructive["destructive"];
|
|
107
|
-
};
|
|
108
|
-
type PrefixedWithRouterNavigation = {
|
|
109
|
-
buttonTo: WithRouterNavigation["to"];
|
|
110
|
-
};
|
|
111
|
-
type PrefixedWithAnchorElementAttributes = {
|
|
112
|
-
buttonDownload?: WithAnchorElementAttributes["download"];
|
|
113
|
-
buttonTarget?: WithAnchorElementAttributes["target"];
|
|
114
|
-
buttonRel?: WithAnchorElementAttributes["rel"];
|
|
115
|
-
};
|
|
116
54
|
/**
|
|
117
55
|
* Type for BaseButton component which supports all behaviors
|
|
118
56
|
*/
|
|
119
|
-
export type BaseButtonProps =
|
|
120
|
-
/**
|
|
121
|
-
* Component types
|
|
122
|
-
*/
|
|
123
|
-
export type KdsButtonProps = CommonProps & Partial<WithVariant<KdsButtonVariant>> & WithLabelAndIcons & WithDestructive;
|
|
124
|
-
export type KdsLinkButtonProps = CommonProps & Partial<WithVariant<KdsButtonVariant>> & WithLabelAndIcons & WithDestructive & WithRouterNavigation & WithAnchorElementAttributes;
|
|
125
|
-
export type KdsToggleButtonProps = CommonProps & Partial<WithVariant<KdsToggleButtonVariant>> & WithLabelAndIcons;
|
|
126
|
-
export type KdsVariableToggleButtonProps = KdsInfoToggleButtonProps & {
|
|
127
|
-
/**
|
|
128
|
-
* If set to true, indicates that an input flow variable is configured.
|
|
129
|
-
*/
|
|
130
|
-
inSet?: boolean;
|
|
131
|
-
/**
|
|
132
|
-
* If set to true, indicates that an output flow variable is configured.
|
|
133
|
-
*/
|
|
134
|
-
outSet?: boolean;
|
|
135
|
-
/**
|
|
136
|
-
* If set to true, the button indicates an error state.
|
|
137
|
-
*/
|
|
138
|
-
error?: boolean;
|
|
139
|
-
};
|
|
140
|
-
export type KdsInfoToggleButtonProps = {
|
|
141
|
-
disabled?: boolean;
|
|
142
|
-
/**
|
|
143
|
-
* If set to true, the button is visible even when not focused.
|
|
144
|
-
*/
|
|
145
|
-
hidden?: boolean;
|
|
146
|
-
};
|
|
147
|
-
/**
|
|
148
|
-
* Progress button types
|
|
149
|
-
*/
|
|
150
|
-
export type KdsProgressButtonState = "default" | "progress" | "success" | "error";
|
|
151
|
-
type KdsProgressButtonCommonProps = {
|
|
152
|
-
size?: KdsSize;
|
|
153
|
-
variant?: KdsButtonVariant;
|
|
154
|
-
disabled?: boolean;
|
|
155
|
-
};
|
|
156
|
-
type KdsProgressButtonIconWithLabel = {
|
|
157
|
-
label: string;
|
|
158
|
-
leadingIcon: KdsIconName;
|
|
159
|
-
ariaLabel?: never;
|
|
160
|
-
};
|
|
161
|
-
type KdsProgressButtonIconOnly = {
|
|
162
|
-
label?: never;
|
|
163
|
-
leadingIcon: KdsIconName;
|
|
164
|
-
ariaLabel: string;
|
|
165
|
-
};
|
|
166
|
-
export type KdsProgressButtonProps = KdsProgressButtonCommonProps & (KdsProgressButtonIconWithLabel | KdsProgressButtonIconOnly);
|
|
167
|
-
/**
|
|
168
|
-
* Prefixed component types for use in composite components
|
|
169
|
-
* Pre-computed here to avoid Vue SFC compiler issues with mapped types
|
|
170
|
-
*/
|
|
171
|
-
export type PrefixedKdsButtonProps = PrefixedCommonProps & PrefixedWithVariant & PrefixedWithLabelAndIcons & PrefixedWithDestructive;
|
|
172
|
-
export type PrefixedKdsLinkButtonProps = PrefixedCommonProps & PrefixedWithVariant & PrefixedWithLabelAndIcons & PrefixedWithDestructive & PrefixedWithRouterNavigation & PrefixedWithAnchorElementAttributes;
|
|
173
|
-
/**
|
|
174
|
-
* Helper types for excluding button props in composite components
|
|
175
|
-
* These represent the negation of prefixed button props
|
|
176
|
-
*/
|
|
177
|
-
export type PrefixedButtonPropsAsNever = {
|
|
178
|
-
buttonLabel?: never;
|
|
179
|
-
buttonLeadingIcon?: never;
|
|
180
|
-
buttonTrailingIcon?: never;
|
|
181
|
-
buttonAriaLabel?: never;
|
|
182
|
-
buttonSize?: never;
|
|
183
|
-
buttonDisabled?: never;
|
|
184
|
-
buttonTitle?: never;
|
|
185
|
-
buttonVariant?: never;
|
|
186
|
-
buttonDestructive?: never;
|
|
187
|
-
buttonTo?: never;
|
|
188
|
-
buttonDownload?: never;
|
|
189
|
-
buttonTarget?: never;
|
|
190
|
-
buttonRel?: never;
|
|
191
|
-
};
|
|
192
|
-
export type PrefixedAnchorAttributesAsNever = {
|
|
193
|
-
buttonDownload?: never;
|
|
194
|
-
buttonTarget?: never;
|
|
195
|
-
buttonRel?: never;
|
|
196
|
-
};
|
|
197
|
-
export type PrefixedRouterNavigationAsNever = {
|
|
198
|
-
buttonTo?: never;
|
|
199
|
-
};
|
|
57
|
+
export type BaseButtonProps = KdsButtonCommonProps & WithLabelAndIcons & WithDestructive & WithSuccess & WithError & WithToggled;
|
|
200
58
|
export {};
|
|
201
59
|
//# sourceMappingURL=types.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/buttons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../src/buttons/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,OAAO,EAAE,aAAa,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAE1D,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,OAAO,aAAa,CAAC,CAAC;AAC/E,MAAM,MAAM,gBAAgB,GAC1B,CAAC,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roupAlignment: {
|
|
2
|
+
readonly VERTICAL: "vertical";
|
|
3
|
+
readonly HORIZONTAL: "horizontal";
|
|
4
|
+
};
|
|
5
|
+
export declare const kdsCheckboxGroupAlignments: ("vertical" | "horizontal")[];
|
|
6
|
+
export declare const kdsCheckboxValue: {
|
|
7
|
+
readonly CHECKED: true;
|
|
8
|
+
readonly UNCHECKED: false;
|
|
9
|
+
readonly INDETERMINATE: "indeterminate";
|
|
10
|
+
};
|
|
11
|
+
export declare const kdsCheckboxValues: (boolean | "indeterminate")[];
|
|
12
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,yBAAyB;;;CAG5B,CAAC;AAEX,eAAO,MAAM,0BAA0B,+BAEtC,CAAC;AAEF,eAAO,MAAM,gBAAgB;;;;CAInB,CAAC;AAEX,eAAO,MAAM,iBAAiB,+BAAkC,CAAC"}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
export { default as KdsCheckbox } from './KdsCheckbox.vue';
|
|
2
|
+
export { default as KdsCheckboxGroup } from './KdsCheckboxGroup.vue';
|
|
3
|
+
export { kdsCheckboxGroupAlignment, kdsCheckboxGroupAlignments, kdsCheckboxValue, kdsCheckboxValues, } from './enums';
|
|
4
|
+
export type * from './types';
|
|
5
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAC3D,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAErE,OAAO,EACL,yBAAyB,EACzB,0BAA0B,EAC1B,gBAAgB,EAChB,iBAAiB,GAClB,MAAM,SAAS,CAAC;AACjB,mBAAmB,SAAS,CAAC"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
import { kdsCheckboxGroupAlignment, kdsCheckboxValue } from './enums';
|
|
2
|
+
export type KdsCheckboxValue = (typeof kdsCheckboxValue)[keyof typeof kdsCheckboxValue];
|
|
2
3
|
type BaseProps = {
|
|
3
4
|
/**
|
|
4
5
|
* Whether the checkbox is disabled
|
|
@@ -44,7 +45,7 @@ export type KdsCheckboxGroupOption = {
|
|
|
44
45
|
helperText?: string;
|
|
45
46
|
error?: boolean;
|
|
46
47
|
};
|
|
47
|
-
export type KdsCheckboxGroupAlignment =
|
|
48
|
+
export type KdsCheckboxGroupAlignment = (typeof kdsCheckboxGroupAlignment)[keyof typeof kdsCheckboxGroupAlignment];
|
|
48
49
|
export type KdsCheckboxGroupProps = {
|
|
49
50
|
id?: string;
|
|
50
51
|
label?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/types.ts"],"names":[],"mappings":"AAAA,MAAM,MAAM,gBAAgB,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/Checkbox/types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,yBAAyB,EAAE,gBAAgB,EAAE,MAAM,SAAS,CAAC;AAEtE,MAAM,MAAM,gBAAgB,GAC1B,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,OAAO,gBAAgB,CAAC,CAAC;AAE3D,KAAK,SAAS,GAAG;IACf;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB;;OAEG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;OAEG;IACH,oBAAoB,CAAC,EAAE,OAAO,CAAC;CAChC,CAAC;AAEF,KAAK,YAAY,GACb;IACE;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GACD;IACE,KAAK,CAAC,EAAE,EAAE,GAAG,SAAS,GAAG,KAAK,CAAC;IAC/B;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,MAAM,MAAM,iBAAiB,GAAG,SAAS,GACvC,YAAY,GAAG;IACb;;OAEG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB,CAAC;AAEJ,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,YAAY,CAAC;AAExD,MAAM,MAAM,sBAAsB,GAAG;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,EAAE,EAAE,MAAM,CAAC;IACX,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,CAAC;AAEF,MAAM,MAAM,yBAAyB,GACnC,CAAC,OAAO,yBAAyB,CAAC,CAAC,MAAM,OAAO,yBAAyB,CAAC,CAAC;AAE7E,MAAM,MAAM,qBAAqB,GAAG;IAClC,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,cAAc,EAAE,KAAK,CAAC,MAAM,GAAG,sBAAsB,CAAC,CAAC;IACvD,SAAS,CAAC,EAAE,yBAAyB,CAAC;CACvC,GAAG,SAAS,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsLabel.vue.d.ts","sourceRoot":"","sources":["../../src/forms/KdsLabel.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;;;;
|
|
1
|
+
{"version":3,"file":"KdsLabel.vue.d.ts","sourceRoot":"","sources":["../../src/forms/KdsLabel.vue"],"names":[],"mappings":"AA4CA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;;;;AAyD7C,wBAQG"}
|
|
@@ -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,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;
|
|
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;;;;;;;;;;;AA0IhB,wBAUG"}
|
|
@@ -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":"AA6IA,OAAO,KAAK,EAAwB,mBAAmB,EAAE,MAAM,SAAS,CAAC;AAIzE,KAAK,WAAW,GAAG,mBAAmB,CAAC;AA+CvC,KAAK,iBAAiB,GAAG;IACzB,UAAU,CAAC,EAAE,MAAM,CAAC;CACnB,GAAG,WAAW,CAAC;;;;;;;;;;;;;AAqJhB,wBAUG"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ValueSwitchItem.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/ValueSwitchItem.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"ValueSwitchItem.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/ValueSwitchItem.vue"],"names":[],"mappings":";AAqQA,wBASG"}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
export declare const kdsRadioButtonGroupAlignment: {
|
|
2
|
+
readonly VERTICAL: "vertical";
|
|
3
|
+
readonly HORIZONTAL: "horizontal";
|
|
4
|
+
};
|
|
5
|
+
export declare const kdsRadioButtonGroupAlignments: ("vertical" | "horizontal")[];
|
|
6
|
+
export declare const kdsValueSwitchSize: {
|
|
7
|
+
readonly SMALL: "small";
|
|
8
|
+
readonly MEDIUM: "medium";
|
|
9
|
+
};
|
|
10
|
+
export declare const kdsValueSwitchSizes: ("small" | "medium")[];
|
|
11
|
+
export declare const kdsValueSwitchVariant: {
|
|
12
|
+
readonly DEFAULT: "default";
|
|
13
|
+
readonly MUTED: "muted";
|
|
14
|
+
};
|
|
15
|
+
export declare const kdsValueSwitchVariants: ("default" | "muted")[];
|
|
16
|
+
//# sourceMappingURL=enums.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"enums.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/enums.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,4BAA4B;;;CAG/B,CAAC;AAEX,eAAO,MAAM,6BAA6B,+BAEzC,CAAC;AAEF,eAAO,MAAM,kBAAkB;;;CAGrB,CAAC;AAEX,eAAO,MAAM,mBAAmB,wBAAoC,CAAC;AAErE,eAAO,MAAM,qBAAqB;;;CAGxB,CAAC;AAEX,eAAO,MAAM,sBAAsB,yBAAuC,CAAC"}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { default as KdsRadioButton } from './KdsRadioButton.vue';
|
|
2
|
+
export { default as KdsRadioButtonGroup } from './KdsRadioButtonGroup.vue';
|
|
3
|
+
export { default as KdsValueSwitch } from './KdsValueSwitch.vue';
|
|
4
|
+
export { kdsRadioButtonGroupAlignment, kdsRadioButtonGroupAlignments, kdsValueSwitchSize, kdsValueSwitchSizes, kdsValueSwitchVariant, kdsValueSwitchVariants, } from './enums';
|
|
5
|
+
export type * from './types';
|
|
6
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AACjE,OAAO,EAAE,OAAO,IAAI,mBAAmB,EAAE,MAAM,2BAA2B,CAAC;AAC3E,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC;AAEjE,OAAO,EACL,4BAA4B,EAC5B,6BAA6B,EAC7B,kBAAkB,EAClB,mBAAmB,EACnB,qBAAqB,EACrB,sBAAsB,GACvB,MAAM,SAAS,CAAC;AACjB,mBAAmB,SAAS,CAAC"}
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { KdsIconName } from '../../accessories/Icon/types';
|
|
2
|
+
import { kdsRadioButtonGroupAlignment, kdsValueSwitchSize, kdsValueSwitchVariant } from './enums';
|
|
2
3
|
export type KdsRadioButtonProps = {
|
|
3
4
|
text: string;
|
|
4
5
|
helperText?: string;
|
|
5
6
|
disabled?: boolean;
|
|
6
7
|
error?: boolean;
|
|
7
8
|
};
|
|
8
|
-
export type KdsRadioButtonGroupAlignment =
|
|
9
|
+
export type KdsRadioButtonGroupAlignment = (typeof kdsRadioButtonGroupAlignment)[keyof typeof kdsRadioButtonGroupAlignment];
|
|
9
10
|
export type KdsRadioButtonGroupOption = {
|
|
10
11
|
text: string;
|
|
11
12
|
id: string;
|
|
@@ -22,8 +23,8 @@ export type KdsRadioButtonGroupProps = {
|
|
|
22
23
|
subText?: string;
|
|
23
24
|
preserveSubTextSpace?: boolean;
|
|
24
25
|
};
|
|
25
|
-
export type KdsValueSwitchSize =
|
|
26
|
-
export type KdsValueSwitchVariant =
|
|
26
|
+
export type KdsValueSwitchSize = (typeof kdsValueSwitchSize)[keyof typeof kdsValueSwitchSize];
|
|
27
|
+
export type KdsValueSwitchVariant = (typeof kdsValueSwitchVariant)[keyof typeof kdsValueSwitchVariant];
|
|
27
28
|
export type KdsValueSwitchItemProps = {
|
|
28
29
|
selected: boolean;
|
|
29
30
|
disabled?: boolean;
|
|
@@ -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,8BAA8B,CAAC;AAEhE,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,
|
|
1
|
+
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../src/forms/RadioButton/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAEhE,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,4BAA4B,CAAC,CAAC;AAEnF,MAAM,MAAM,yBAAyB,GAAG;IACtC,IAAI,EAAE,MAAM,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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,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"}
|
package/dist/forms/index.d.ts
CHANGED
|
@@ -1,15 +1,10 @@
|
|
|
1
|
-
export { default as KdsCheckbox } from './Checkbox/KdsCheckbox.vue';
|
|
2
|
-
export { default as KdsCheckboxGroup } from './Checkbox/KdsCheckboxGroup.vue';
|
|
3
|
-
export { default as KdsRadioButtonGroup } from './RadioButton/KdsRadioButtonGroup.vue';
|
|
4
|
-
export { default as KdsValueSwitch } from './RadioButton/KdsValueSwitch.vue';
|
|
5
1
|
export { default as KdsLabel } from './KdsLabel.vue';
|
|
6
2
|
export { default as KdsSubText } from './KdsSubText.vue';
|
|
7
|
-
export {
|
|
8
|
-
export
|
|
9
|
-
export
|
|
10
|
-
export
|
|
11
|
-
export
|
|
12
|
-
export
|
|
13
|
-
export type
|
|
14
|
-
export type { KdsTextInputProps, KdsNumberInputProps, KdsPatternInputProps, KdsSearchInputProps, KdsTextareaProps, } from './inputs/types';
|
|
3
|
+
export type { KdsLabelProps, KdsSubTextProps } from './types';
|
|
4
|
+
export * from './Checkbox';
|
|
5
|
+
export type * from './Checkbox';
|
|
6
|
+
export * from './RadioButton';
|
|
7
|
+
export type * from './RadioButton';
|
|
8
|
+
export * from './inputs';
|
|
9
|
+
export type * from './inputs';
|
|
15
10
|
//# 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,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/forms/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,IAAI,QAAQ,EAAE,MAAM,gBAAgB,CAAC;AACrD,OAAO,EAAE,OAAO,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAC;AAGzD,YAAY,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE9D,cAAc,YAAY,CAAC;AAC3B,mBAAmB,YAAY,CAAC;AAEhC,cAAc,eAAe,CAAC;AAC9B,mBAAmB,eAAe,CAAC;AAEnC,cAAc,UAAU,CAAC;AACzB,mBAAmB,UAAU,CAAC"}
|
|
@@ -117,7 +117,7 @@ declare function __VLS_template(): {
|
|
|
117
117
|
trailing?(_: {}): any;
|
|
118
118
|
};
|
|
119
119
|
refs: {
|
|
120
|
-
|
|
120
|
+
input: HTMLInputElement;
|
|
121
121
|
};
|
|
122
122
|
rootEl: HTMLDivElement;
|
|
123
123
|
};
|
|
@@ -142,16 +142,16 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
142
142
|
onKeydown?: ((event: KeyboardEvent) => any) | undefined;
|
|
143
143
|
"onUpdate:modelValue"?: ((value: string) => any) | undefined;
|
|
144
144
|
}>, {
|
|
145
|
-
placeholder: string;
|
|
146
|
-
name: string;
|
|
147
145
|
type: "text" | "email" | "password" | "number" | "tel" | "url" | "search";
|
|
148
146
|
required: boolean;
|
|
147
|
+
role: string;
|
|
148
|
+
placeholder: string;
|
|
149
|
+
name: string;
|
|
149
150
|
disabled: boolean;
|
|
150
151
|
leadingIcon: KdsIconName;
|
|
152
|
+
ariaLabel: string;
|
|
151
153
|
trailingIcon: KdsIconName;
|
|
152
154
|
error: boolean;
|
|
153
|
-
ariaLabel: string;
|
|
154
|
-
role: string;
|
|
155
155
|
min: number;
|
|
156
156
|
max: number;
|
|
157
157
|
step: number;
|
|
@@ -168,7 +168,7 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_PublicProps,
|
|
|
168
168
|
inputmode: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search";
|
|
169
169
|
clearable: boolean;
|
|
170
170
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, false, {
|
|
171
|
-
|
|
171
|
+
input: HTMLInputElement;
|
|
172
172
|
}, HTMLDivElement>;
|
|
173
173
|
declare const _default: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
174
174
|
export default _default;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"BaseInput.vue.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/BaseInput.vue"],"names":[],"mappings":"AA8aA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,8BAA8B,CAAC;AAGhE,KAAK,cAAc,GAAG;IACpB;;OAEG;IACH,EAAE,EAAE,MAAM,CAAC;IACX;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,UAAU,GAAG,QAAQ,GAAG,KAAK,GAAG,KAAK,GAAG,QAAQ,CAAC;IAC3E;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;OAEG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;OAEG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;OAEG;IACH,QAAQ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CAAC,CAAC,EAAE,CAAC,IAAI,CAAC,GAAG;IACxC,QAAO;QACN,MAAM,EAAE,CAAC,CAAC;KAEV,CAAA;CACD,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsNumberInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/NumberInput/KdsNumberInput.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"KdsNumberInput.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/NumberInput/KdsNumberInput.vue"],"names":[],"mappings":";AA2kBA,wBASG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/NumberInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/PatternInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,eAAe,EAAE,MAAM,uBAAuB,CAAC"}
|
|
@@ -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":";AAqMA,wBAWG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/SearchInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/TextInput/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,YAAY,EAAE,MAAM,oBAAoB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"KdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/Textarea/KdsTextarea.vue"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"KdsTextarea.vue.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/Textarea/KdsTextarea.vue"],"names":[],"mappings":";AA+PA,wBAUG"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/forms/inputs/Textarea/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,IAAI,WAAW,EAAE,MAAM,mBAAmB,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/forms/inputs/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,eAAe,CAAC;AAC9B,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAC3B,mBAAmB,SAAS,CAAC"}
|