@teammodlr/ui-kit 2.1.45 → 2.1.46
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/select/Select.vue.d.ts +90 -2
- package/lib/components/select/types.d.ts +4 -0
- package/lib/index.cjs.js +7 -7
- package/lib/index.es.js +2151 -2132
- package/lib/types/props.d.ts +1 -0
- package/lib/utils/call.d.ts +7 -0
- package/package.json +1 -1
- package/src/components/select/Select.vue +755 -781
- package/src/components/select/examples/basic.vue +26 -21
- package/src/components/select/types.ts +27 -0
- package/src/composables/useInput.ts +151 -151
- package/src/types/props.ts +21 -19
- package/src/utils/call.ts +34 -0
package/lib/types/props.d.ts
CHANGED
|
@@ -1,3 +1,4 @@
|
|
|
1
1
|
export type Size = 'xs' | 'sm' | 'md' | 'lg' | 'xl';
|
|
2
2
|
export type Color = 'white' | 'black' | 'blue' | 'green' | 'red' | 'yellow' | 'gray';
|
|
3
3
|
export type Variant = 'default' | 'tertiary' | 'primary' | 'dark' | 'success' | 'warning' | 'error';
|
|
4
|
+
export type MaybeArray<T> = T | T[];
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
declare function call(funcs: MaybeArray<() => void>): void;
|
|
2
|
+
declare function call<A1>(funcs: MaybeArray<(a1: A1) => void>, a1: A1): void;
|
|
3
|
+
declare function call<A1, A2>(funcs: MaybeArray<(a1: A1, a2: A2) => void>, a1: A1, a2: A2): void;
|
|
4
|
+
declare function call<A1, A2, A3>(funcs: MaybeArray<(a1: A1, a2: A2, a3: A3) => void>, a1: A1, a2: A2, a3: A3): void;
|
|
5
|
+
declare function call<A1, A2, A3, A4>(funcs: MaybeArray<(a1: A1, a2: A2, a3: A3, a4: A4) => void>, a1: A1, a2: A2, a3: A3, a4: A4): void;
|
|
6
|
+
export { call };
|
|
7
|
+
export type MaybeArray<T> = T | T[];
|