cleek 2.10.55 → 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.es.js
CHANGED
|
@@ -15995,6 +15995,9 @@ const gW = {
|
|
|
15995
15995
|
backgroundColor: "transparent",
|
|
15996
15996
|
textColor: ""
|
|
15997
15997
|
},
|
|
15998
|
+
chip: {
|
|
15999
|
+
type: "outlined"
|
|
16000
|
+
},
|
|
15998
16001
|
div: {
|
|
15999
16002
|
gap: 0
|
|
16000
16003
|
},
|
|
@@ -110119,12 +110122,12 @@ const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = [
|
|
|
110119
110122
|
},
|
|
110120
110123
|
emits: ["click"],
|
|
110121
110124
|
setup(c, { emit: e }) {
|
|
110122
|
-
const a = c, { windowWidth: n } = V8(), { cleekOptions: i } = _3(b3()), t = e, o = _(() => a.type ? a.type : i.value ? i.value.
|
|
110125
|
+
const a = c, { windowWidth: n } = V8(), { cleekOptions: i } = _3(b3()), t = e, o = _(() => a.type ? a.type : i.value ? i.value.chip.type : md6), r = _(() => {
|
|
110123
110126
|
const f = [];
|
|
110124
110127
|
return (!a.color || M1.isColorTemplateVariable(a.color) && o.value !== "outlined") && f.push(`ck-component__bg-color--${a.color || fd6}`), o.value === "outlined" && f.push("type--outlined"), f.push(M1.getGroupClass(a, n.value)), f.push(`size-${a.size || Cd6}`), a.align && f.push(`align--${a.align}`), a.nowrap && f.push(`ck-chip--${a.nowrap}`), a.clickable && f.push("clickable"), f;
|
|
110125
110128
|
});
|
|
110126
110129
|
function l(f) {
|
|
110127
|
-
return
|
|
110130
|
+
return M1.isColorTemplateVariable(f) ? M1.getColorHexFromTemplateVariable(f, i.value.colors) : f;
|
|
110128
110131
|
}
|
|
110129
110132
|
const s = _(() => {
|
|
110130
110133
|
const f = [];
|
|
@@ -110158,7 +110161,7 @@ const rd6 = /* @__PURE__ */ Z1(od6, [["__scopeId", "data-v-780265b9"]]), ld6 = [
|
|
|
110158
110161
|
], 14, ld6));
|
|
110159
110162
|
}
|
|
110160
110163
|
});
|
|
110161
|
-
const zd6 = /* @__PURE__ */ Z1(ud6, [["__scopeId", "data-v-
|
|
110164
|
+
const zd6 = /* @__PURE__ */ Z1(ud6, [["__scopeId", "data-v-2cb6aed6"]]), hd6 = "primary", pd6 = "m", Md6 = "white", dd6 = /* @__PURE__ */ _1({
|
|
110162
110165
|
__name: "ck-circle",
|
|
110163
110166
|
props: {
|
|
110164
110167
|
size: {},
|
|
@@ -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,7 +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?:
|
|
17
|
+
type?: ChipType;
|
|
18
18
|
}>>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {
|
|
19
19
|
click: (event: Event) => void;
|
|
20
20
|
}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<__VLS_TypePropsToRuntimeProps<{
|
|
@@ -28,7 +28,7 @@ declare const __VLS_component: import('vue').DefineComponent<import('vue').Extra
|
|
|
28
28
|
iconPack?: IconPack;
|
|
29
29
|
clickable?: boolean;
|
|
30
30
|
group?: Align;
|
|
31
|
-
type?:
|
|
31
|
+
type?: ChipType;
|
|
32
32
|
}>>> & Readonly<{
|
|
33
33
|
onClick?: (event: Event) => any;
|
|
34
34
|
}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|