cleek 2.10.54 → 2.10.56
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/main.cjs.js +19 -19
- package/dist/main.css +1 -1
- package/dist/main.es.js +533 -507
- package/dist/types/cleek-options/cleek-options.store.d.ts +18 -0
- package/dist/types/cleek-options/cleek-options.types.d.ts +4 -0
- package/dist/types/components/ck-chip.vue.d.ts +3 -1
- package/dist/types/utils/global-hooks.d.ts +1 -0
- package/package.json +1 -1
|
@@ -19,6 +19,9 @@ export declare const useCleekOptionsStore: import('pinia').StoreDefinition<"clee
|
|
|
19
19
|
backgroundColor: import('./cleek-options.types').Color;
|
|
20
20
|
textColor: import('./cleek-options.types').Color;
|
|
21
21
|
};
|
|
22
|
+
chip: {
|
|
23
|
+
type: import('./cleek-options.types').ChipType;
|
|
24
|
+
};
|
|
22
25
|
div: {
|
|
23
26
|
gap: 0;
|
|
24
27
|
};
|
|
@@ -67,6 +70,9 @@ export declare const useCleekOptionsStore: import('pinia').StoreDefinition<"clee
|
|
|
67
70
|
backgroundColor: import('./cleek-options.types').Color;
|
|
68
71
|
textColor: import('./cleek-options.types').Color;
|
|
69
72
|
};
|
|
73
|
+
chip: {
|
|
74
|
+
type: import('./cleek-options.types').ChipType;
|
|
75
|
+
};
|
|
70
76
|
div: {
|
|
71
77
|
gap: 0;
|
|
72
78
|
};
|
|
@@ -159,6 +165,9 @@ export declare const useCleekOptionsStore: import('pinia').StoreDefinition<"clee
|
|
|
159
165
|
backgroundColor: import('./cleek-options.types').Color;
|
|
160
166
|
textColor: import('./cleek-options.types').Color;
|
|
161
167
|
};
|
|
168
|
+
chip: {
|
|
169
|
+
type: import('./cleek-options.types').ChipType;
|
|
170
|
+
};
|
|
162
171
|
div: {
|
|
163
172
|
gap: 0;
|
|
164
173
|
};
|
|
@@ -207,6 +216,9 @@ export declare const useCleekOptionsStore: import('pinia').StoreDefinition<"clee
|
|
|
207
216
|
backgroundColor: import('./cleek-options.types').Color;
|
|
208
217
|
textColor: import('./cleek-options.types').Color;
|
|
209
218
|
};
|
|
219
|
+
chip: {
|
|
220
|
+
type: import('./cleek-options.types').ChipType;
|
|
221
|
+
};
|
|
210
222
|
div: {
|
|
211
223
|
gap: 0;
|
|
212
224
|
};
|
|
@@ -299,6 +311,9 @@ export declare const useCleekOptionsStore: import('pinia').StoreDefinition<"clee
|
|
|
299
311
|
backgroundColor: import('./cleek-options.types').Color;
|
|
300
312
|
textColor: import('./cleek-options.types').Color;
|
|
301
313
|
};
|
|
314
|
+
chip: {
|
|
315
|
+
type: import('./cleek-options.types').ChipType;
|
|
316
|
+
};
|
|
302
317
|
div: {
|
|
303
318
|
gap: 0;
|
|
304
319
|
};
|
|
@@ -347,6 +362,9 @@ export declare const useCleekOptionsStore: import('pinia').StoreDefinition<"clee
|
|
|
347
362
|
backgroundColor: import('./cleek-options.types').Color;
|
|
348
363
|
textColor: import('./cleek-options.types').Color;
|
|
349
364
|
};
|
|
365
|
+
chip: {
|
|
366
|
+
type: import('./cleek-options.types').ChipType;
|
|
367
|
+
};
|
|
350
368
|
div: {
|
|
351
369
|
gap: 0;
|
|
352
370
|
};
|
|
@@ -6,6 +6,7 @@ export type IconPack = 'font-awesome' | 'feather' | 'cleek';
|
|
|
6
6
|
export type Lang = 'es' | 'en';
|
|
7
7
|
export type Layout = 'base' | 'rounded' | 'squared';
|
|
8
8
|
export type ButtonType = 'filled' | 'outlined' | 'flat';
|
|
9
|
+
export type ChipType = 'filled' | 'outlined';
|
|
9
10
|
export type WidthBreaks = [number, string][];
|
|
10
11
|
export type InputType = 'text' | 'number' | 'date' | 'time' | 'password';
|
|
11
12
|
export type Size = 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
@@ -31,6 +32,9 @@ export type CleekOptions = {
|
|
|
31
32
|
backgroundColor: Color;
|
|
32
33
|
textColor: Color;
|
|
33
34
|
};
|
|
35
|
+
chip: {
|
|
36
|
+
type: ChipType;
|
|
37
|
+
};
|
|
34
38
|
div: {
|
|
35
39
|
gap: 0;
|
|
36
40
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { Align, Color, Icon, IconPack, Size } from '../cleek-options/cleek-options.types';
|
|
1
|
+
import { Align, ChipType, Color, Icon, IconPack, Size } from '../cleek-options/cleek-options.types';
|
|
2
2
|
|
|
3
3
|
declare function __VLS_template(): {
|
|
4
4
|
default?(_: {}): any;
|
|
@@ -14,6 +14,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
14
14
|
iconPack?: IconPack;
|
|
15
15
|
clickable?: boolean;
|
|
16
16
|
group?: Align;
|
|
17
|
+
type?: ChipType;
|
|
17
18
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
18
19
|
click: (event: Event) => void;
|
|
19
20
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -27,6 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
27
28
|
iconPack?: IconPack;
|
|
28
29
|
clickable?: boolean;
|
|
29
30
|
group?: Align;
|
|
31
|
+
type?: ChipType;
|
|
30
32
|
}>>> & Readonly<{
|
|
31
33
|
onClick?: (event: Event) => any;
|
|
32
34
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
@@ -9,6 +9,7 @@ declare const _default: {
|
|
|
9
9
|
}, windowWidth: number): string[];
|
|
10
10
|
getWidthByWidthBreaks(widthBreaks?: [number, string][], windowWidth?: number): string;
|
|
11
11
|
isColorTemplateVariable(color: string): boolean;
|
|
12
|
+
getColorHexFromTemplateVariable(color: string, cleekOptionsColors: any): string;
|
|
12
13
|
isColumnDisplayed(column: ColumnItem): boolean;
|
|
13
14
|
};
|
|
14
15
|
export default _default;
|