cleek 1.6.1 → 1.7.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/cleek-styles/cleek-mixins.styl +83 -0
- package/dist/cleek.es.js +8 -7
- package/dist/cleek.umd.js +2 -2
- package/dist/style.css +1 -1
- package/package.json +2 -3
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
margin-x(margin)
|
|
2
|
+
margin-right margin
|
|
3
|
+
margin-left margin
|
|
4
|
+
margin-y(margin)
|
|
5
|
+
margin-top margin
|
|
6
|
+
margin-bottom margin
|
|
7
|
+
padding-x(padding)
|
|
8
|
+
padding-right padding
|
|
9
|
+
padding-left padding
|
|
10
|
+
padding-y(padding)
|
|
11
|
+
padding-top padding
|
|
12
|
+
padding-bottom padding
|
|
13
|
+
border-x(width, type, color)
|
|
14
|
+
border-left width type color
|
|
15
|
+
border-right width type color
|
|
16
|
+
border-y(width, type, color)
|
|
17
|
+
border-top width type color
|
|
18
|
+
border-bottom width type color
|
|
19
|
+
border-radius-left(radius)
|
|
20
|
+
border-top-left-radius radius
|
|
21
|
+
border-bottom-left-radius radius
|
|
22
|
+
border-radius-right(radius)
|
|
23
|
+
border-top-right-radius radius
|
|
24
|
+
border-bottom-right-radius radius
|
|
25
|
+
border-radius-top(radius)
|
|
26
|
+
border-top-left-radius radius
|
|
27
|
+
border-top-right-radius radius
|
|
28
|
+
border-radius-bottom(radius)
|
|
29
|
+
border-bottom-left-radius radius
|
|
30
|
+
border-bottom-right-radius radius
|
|
31
|
+
width-height(val)
|
|
32
|
+
width val
|
|
33
|
+
height val
|
|
34
|
+
min-max-width(val)
|
|
35
|
+
min-width val
|
|
36
|
+
max-width val
|
|
37
|
+
min-max-height(val)
|
|
38
|
+
min-height val
|
|
39
|
+
max-height val
|
|
40
|
+
margin-padding(val)
|
|
41
|
+
margin val
|
|
42
|
+
padding val
|
|
43
|
+
margin-padding-left(val)
|
|
44
|
+
margin-left val
|
|
45
|
+
padding-left val
|
|
46
|
+
margin-padding-right(val)
|
|
47
|
+
margin-right val
|
|
48
|
+
padding-right val
|
|
49
|
+
margin-padding-top(val)
|
|
50
|
+
margin-top val
|
|
51
|
+
padding-top val
|
|
52
|
+
margin-padding-bottom(val)
|
|
53
|
+
margin-bottom val
|
|
54
|
+
padding-bottom val
|
|
55
|
+
|
|
56
|
+
my-box-shadow(val = 0.05, color = black)
|
|
57
|
+
box-shadow 0 4px 20px 0 rgba(color, val)
|
|
58
|
+
// flex shortcuts
|
|
59
|
+
justify-align-center()
|
|
60
|
+
align-items center
|
|
61
|
+
justify-content center
|
|
62
|
+
flex-all-center()
|
|
63
|
+
display flex
|
|
64
|
+
justify-align-center()
|
|
65
|
+
inline-flex-all-center()
|
|
66
|
+
display inline-flex
|
|
67
|
+
justify-align-center()
|
|
68
|
+
|
|
69
|
+
//
|
|
70
|
+
//
|
|
71
|
+
//
|
|
72
|
+
//
|
|
73
|
+
//
|
|
74
|
+
// rs components
|
|
75
|
+
// rs-components-basic-input(heightDiference = 2px)
|
|
76
|
+
// width 100%
|
|
77
|
+
// border rsComponentsBorder
|
|
78
|
+
// border-radius rsComponentsBorderRadius
|
|
79
|
+
// min-height rsComponentsHeight + heightDiference
|
|
80
|
+
// background-color white
|
|
81
|
+
// &:focus-within
|
|
82
|
+
// border-color $primary
|
|
83
|
+
// my-box-shadow()
|
package/dist/cleek.es.js
CHANGED
|
@@ -11309,7 +11309,7 @@ const _sfc_main$g = {
|
|
|
11309
11309
|
classList2.push(`ck-component__border-color--${this.color}`);
|
|
11310
11310
|
}
|
|
11311
11311
|
}
|
|
11312
|
-
if (
|
|
11312
|
+
if (!this.$slots.default) {
|
|
11313
11313
|
if (this.icon || this.iconRight) {
|
|
11314
11314
|
if (!(this.icon && this.iconRight))
|
|
11315
11315
|
classList2.push("just-icon");
|
|
@@ -11328,7 +11328,7 @@ const _sfc_main$g = {
|
|
|
11328
11328
|
}
|
|
11329
11329
|
}
|
|
11330
11330
|
};
|
|
11331
|
-
var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", render$h], ["__scopeId", "data-v-
|
|
11331
|
+
var ckButton = /* @__PURE__ */ _export_sfc(_sfc_main$g, [["render", render$h], ["__scopeId", "data-v-79498e51"]]);
|
|
11332
11332
|
const _withScopeId$2 = (n) => (pushScopeId("data-v-c7841510"), n = n(), popScopeId(), n);
|
|
11333
11333
|
const _hoisted_1$d = ["disabled", "checked"];
|
|
11334
11334
|
const _hoisted_2$7 = /* @__PURE__ */ _withScopeId$2(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-checkbox__element" }, null, -1));
|
|
@@ -11423,6 +11423,7 @@ const _sfc_main$e = {
|
|
|
11423
11423
|
height: { type: String, default: "" },
|
|
11424
11424
|
zoom: { type: Boolean, default: false },
|
|
11425
11425
|
zoomTitle: { type: String, default: "" },
|
|
11426
|
+
hasBorder: { type: Boolean, default: false },
|
|
11426
11427
|
radius: { type: String, default: "" },
|
|
11427
11428
|
borderColor: { type: String, default: "" }
|
|
11428
11429
|
},
|
|
@@ -11440,7 +11441,7 @@ const _sfc_main$e = {
|
|
|
11440
11441
|
}
|
|
11441
11442
|
if (size)
|
|
11442
11443
|
classList2.push(`ck-img__size--${size}`);
|
|
11443
|
-
if (this.
|
|
11444
|
+
if (this.hasBorder) {
|
|
11444
11445
|
classList2.push("ck-img__has-border");
|
|
11445
11446
|
if (functions$1.isColorTemplateVariable(this.realBorderColor)) {
|
|
11446
11447
|
classList2.push(`ck-component__border-color--${this.realBorderColor}`);
|
|
@@ -11458,7 +11459,7 @@ const _sfc_main$e = {
|
|
|
11458
11459
|
}
|
|
11459
11460
|
if (this.radius)
|
|
11460
11461
|
styleList.push({ "border-radius": this.radius });
|
|
11461
|
-
if (this.
|
|
11462
|
+
if (this.hasBorder) {
|
|
11462
11463
|
if (!functions$1.isColorTemplateVariable(this.realBorderColor)) {
|
|
11463
11464
|
styleList.push({ "border-color": this.realBorderColor });
|
|
11464
11465
|
}
|
|
@@ -11496,7 +11497,7 @@ const _sfc_main$e = {
|
|
|
11496
11497
|
}
|
|
11497
11498
|
}
|
|
11498
11499
|
};
|
|
11499
|
-
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", render$f], ["__scopeId", "data-v-
|
|
11500
|
+
var ckImg = /* @__PURE__ */ _export_sfc(_sfc_main$e, [["render", render$f], ["__scopeId", "data-v-38b603bf"]]);
|
|
11500
11501
|
const _hoisted_1$b = ["for"];
|
|
11501
11502
|
function render$e(_ctx, _cache, $props, $setup, $data, $options) {
|
|
11502
11503
|
return openBlock(), createElementBlock("label", {
|
|
@@ -12580,7 +12581,7 @@ const _sfc_main$9 = {
|
|
|
12580
12581
|
}
|
|
12581
12582
|
};
|
|
12582
12583
|
var ckSelect = /* @__PURE__ */ _export_sfc(_sfc_main$9, [["render", render$a], ["__scopeId", "data-v-7751c2da"]]);
|
|
12583
|
-
const _withScopeId = (n) => (pushScopeId("data-v-
|
|
12584
|
+
const _withScopeId = (n) => (pushScopeId("data-v-2da281ed"), n = n(), popScopeId(), n);
|
|
12584
12585
|
const _hoisted_1$6 = ["disabled"];
|
|
12585
12586
|
const _hoisted_2$2 = /* @__PURE__ */ _withScopeId(() => /* @__PURE__ */ createElementVNode("div", { class: "ck-switch__slider" }, null, -1));
|
|
12586
12587
|
const _hoisted_3$1 = {
|
|
@@ -12653,7 +12654,7 @@ const _sfc_main$8 = {
|
|
|
12653
12654
|
}
|
|
12654
12655
|
}
|
|
12655
12656
|
};
|
|
12656
|
-
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", render$9], ["__scopeId", "data-v-
|
|
12657
|
+
var ckSwitch = /* @__PURE__ */ _export_sfc(_sfc_main$8, [["render", render$9], ["__scopeId", "data-v-2da281ed"]]);
|
|
12657
12658
|
const _hoisted_1$5 = { class: "ck-switch-options__container-exterior" };
|
|
12658
12659
|
const _hoisted_2$1 = ["onClick"];
|
|
12659
12660
|
function render$8(_ctx, _cache, $props, $setup, $data, $options) {
|