@teammodlr/ui-kit 2.0.34 → 2.0.36
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/lib/components/input/Input.vue.d.ts +3 -0
- package/lib/components/input/style/Input.css.d.ts +4 -0
- package/lib/components/select/Select.vue.d.ts +9 -0
- package/lib/index.cjs.js +4 -4
- package/lib/index.es.js +1758 -1709
- package/lib/style.css +1 -1
- package/package.json +1 -1
- package/src/components/input/Input.vue +18 -2
- package/src/components/input/examples/basic.vue +6 -1
- package/src/components/input/examples/index.stories.ts +4 -0
- package/src/components/input/examples/index.ts +2 -0
- package/src/components/input/examples/left-icon.vue +9 -0
- package/src/components/input/examples/prefix.vue +2 -4
- package/src/components/input/examples/right-icon.vue +9 -0
- package/src/components/input/examples/suffix.vue +2 -4
- package/src/components/input/style/Input.css.ts +68 -2
- package/src/components/select/Select.vue +29 -2
- package/src/components/select/examples/basic.vue +1 -0
- package/src/examples/cards/sidebar.vue +4 -4
|
@@ -68,6 +68,9 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
68
68
|
name: import("vue").Ref<string | undefined>;
|
|
69
69
|
hasLeftIcon: import("vue").ComputedRef<boolean>;
|
|
70
70
|
hasRightIcon: import("vue").ComputedRef<boolean>;
|
|
71
|
+
hasSuffix: import("vue").ComputedRef<boolean>;
|
|
72
|
+
hasPrefix: import("vue").ComputedRef<boolean>;
|
|
73
|
+
hasHelpMessage: import("vue").ComputedRef<boolean>;
|
|
71
74
|
inputError: import("vue").ComputedRef<any>;
|
|
72
75
|
style: typeof style;
|
|
73
76
|
onClear: () => void;
|
|
@@ -10,14 +10,18 @@ export declare const vars: {
|
|
|
10
10
|
};
|
|
11
11
|
export declare const wrapper: string;
|
|
12
12
|
export declare const base: string;
|
|
13
|
+
export declare const input: string;
|
|
13
14
|
export declare const size: Record<"sm" | "md" | "lg" | "xs" | "xl", string>;
|
|
14
15
|
export declare const block: string;
|
|
15
16
|
export declare const disabled: string;
|
|
16
17
|
export declare const label: string;
|
|
17
18
|
export declare const description: string;
|
|
18
19
|
export declare const errorMessage: string;
|
|
20
|
+
export declare const helpMessage: string;
|
|
19
21
|
export declare const error: string;
|
|
20
22
|
export declare const leftIcon: string;
|
|
21
23
|
export declare const hasLeftIcon: string;
|
|
22
24
|
export declare const rightIcon: string;
|
|
23
25
|
export declare const hasRightIcon: string;
|
|
26
|
+
export declare const prefix: string;
|
|
27
|
+
export declare const suffix: string;
|
|
@@ -56,6 +56,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
56
56
|
error: {
|
|
57
57
|
type: StringConstructor;
|
|
58
58
|
};
|
|
59
|
+
allowBlank: {
|
|
60
|
+
type: BooleanConstructor;
|
|
61
|
+
default: boolean;
|
|
62
|
+
};
|
|
59
63
|
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
60
64
|
name: StringConstructor;
|
|
61
65
|
readonly: BooleanConstructor;
|
|
@@ -165,6 +169,10 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
165
169
|
error: {
|
|
166
170
|
type: StringConstructor;
|
|
167
171
|
};
|
|
172
|
+
allowBlank: {
|
|
173
|
+
type: BooleanConstructor;
|
|
174
|
+
default: boolean;
|
|
175
|
+
};
|
|
168
176
|
modelValue: PropType<string | number | boolean | object | any[] | undefined>;
|
|
169
177
|
name: StringConstructor;
|
|
170
178
|
readonly: BooleanConstructor;
|
|
@@ -190,5 +198,6 @@ declare const _default: import("vue").DefineComponent<{
|
|
|
190
198
|
optionValue: string;
|
|
191
199
|
optionLabel: string;
|
|
192
200
|
consistentWidth: boolean;
|
|
201
|
+
allowBlank: boolean;
|
|
193
202
|
}>;
|
|
194
203
|
export default _default;
|