ablok-components 0.3.140 → 0.3.142
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/ablok-components.css +1 -1
- package/dist/ablok-components.umd.js +2 -2
- package/dist/components/atoms/input-checkbox/input-checkbox.vue.d.ts +6 -0
- package/dist/components/atoms/input-checkbox/input-checkbox.vue_vue_type_script_setup_true_lang.js +7 -6
- package/dist/components/molecules/input-gradient/input-gradient.vue_vue_type_script_setup_true_lang.js +2 -2
- package/package.json +1 -1
|
@@ -8,6 +8,9 @@ declare const __VLS_export: import('../../../../vue/dist/vue.esm-bundler.js').De
|
|
|
8
8
|
label: {
|
|
9
9
|
type: StringConstructor;
|
|
10
10
|
};
|
|
11
|
+
className: {
|
|
12
|
+
type: StringConstructor;
|
|
13
|
+
};
|
|
11
14
|
error: {
|
|
12
15
|
type: StringConstructor;
|
|
13
16
|
};
|
|
@@ -53,6 +56,9 @@ declare const __VLS_export: import('../../../../vue/dist/vue.esm-bundler.js').De
|
|
|
53
56
|
label: {
|
|
54
57
|
type: StringConstructor;
|
|
55
58
|
};
|
|
59
|
+
className: {
|
|
60
|
+
type: StringConstructor;
|
|
61
|
+
};
|
|
56
62
|
error: {
|
|
57
63
|
type: StringConstructor;
|
|
58
64
|
};
|
package/dist/components/atoms/input-checkbox/input-checkbox.vue_vue_type_script_setup_true_lang.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { sanitizeHtml as e } from "../../../composables/useSanitize.js";
|
|
2
|
-
import { computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i,
|
|
2
|
+
import { computed as t, createElementBlock as n, createElementVNode as r, defineComponent as i, normalizeClass as a, openBlock as o, unref as s, vModelCheckbox as c, withDirectives as l } from "vue";
|
|
3
3
|
//#region src/components/atoms/input-checkbox/input-checkbox.vue?vue&type=script&setup=true&lang.ts
|
|
4
|
-
var
|
|
4
|
+
var u = [
|
|
5
5
|
"value",
|
|
6
6
|
"id",
|
|
7
7
|
"name",
|
|
@@ -15,6 +15,7 @@ var l = { class: "form-check input input--checkbox" }, u = [
|
|
|
15
15
|
id: { type: String },
|
|
16
16
|
name: { type: String },
|
|
17
17
|
label: { type: String },
|
|
18
|
+
className: { type: String },
|
|
18
19
|
error: { type: String },
|
|
19
20
|
disabled: {
|
|
20
21
|
type: Boolean,
|
|
@@ -50,7 +51,7 @@ var l = { class: "form-check input input--checkbox" }, u = [
|
|
|
50
51
|
m("update:checked", e), m("update:modelValue", e);
|
|
51
52
|
}
|
|
52
53
|
});
|
|
53
|
-
return (t, f) => (
|
|
54
|
+
return (t, f) => (o(), n("div", { class: a(["form-check input input--checkbox", i.className]) }, [l(r("input", {
|
|
54
55
|
ref: "input",
|
|
55
56
|
"onUpdate:modelValue": f[0] ||= (e) => h.value = e,
|
|
56
57
|
value: i.value,
|
|
@@ -62,11 +63,11 @@ var l = { class: "form-check input input--checkbox" }, u = [
|
|
|
62
63
|
class: "form-check-input",
|
|
63
64
|
"true-value": i.trueValue,
|
|
64
65
|
"false-value": i.falseValue
|
|
65
|
-
}, null, 8, u), [[
|
|
66
|
+
}, null, 8, u), [[c, h.value]]), r("label", {
|
|
66
67
|
class: "input__label form-check-label",
|
|
67
68
|
for: i.id,
|
|
68
|
-
innerHTML:
|
|
69
|
-
}, null, 8, d)]));
|
|
69
|
+
innerHTML: s(e)(i.label || "")
|
|
70
|
+
}, null, 8, d)], 2));
|
|
70
71
|
}
|
|
71
72
|
});
|
|
72
73
|
//#endregion
|
|
@@ -3,7 +3,7 @@ import t from "../../atoms/base-button/base-button.js";
|
|
|
3
3
|
import n from "../input-color/input-color.js";
|
|
4
4
|
import { Fragment as r, computed as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createVNode as c, defineComponent as l, normalizeClass as u, normalizeStyle as d, openBlock as f, renderList as p, renderSlot as m, resolveComponent as h, vModelText as g, withCtx as _, withDirectives as v } from "vue";
|
|
5
5
|
//#region src/components/molecules/input-gradient/input-gradient.vue?vue&type=script&setup=true&lang.ts
|
|
6
|
-
var y = ["id"], b = ["for", "innerHTML"], x = { class: "dropdown" }, S = ["title"], C = { class: "position-absolute end-0 height-100 d-flex justify-content-center align-items-center bg-white bg-opacity-50 input-gradient__toggle-icon" }, w = { class: "dropdown-menu input-gradient__menu" }, T = { class: "dropdown-item input-gradient__stop d-flex align-items-center" }, E = [
|
|
6
|
+
var y = ["id"], b = ["for", "innerHTML"], x = { class: "dropdown" }, S = ["title"], C = { class: "input-gradient__toggle-icon position-absolute end-0 height-100 d-flex justify-content-center align-items-center bg-white bg-opacity-50 input-gradient__toggle-icon" }, w = { class: "dropdown-menu input-gradient__menu" }, T = { class: "dropdown-item input-gradient__stop d-flex align-items-center" }, E = [
|
|
7
7
|
"onUpdate:modelValue",
|
|
8
8
|
"name",
|
|
9
9
|
"id",
|
|
@@ -126,7 +126,7 @@ var y = ["id"], b = ["for", "innerHTML"], x = { class: "dropdown" }, S = ["title
|
|
|
126
126
|
"data-bs-auto-close": "outside",
|
|
127
127
|
role: "button",
|
|
128
128
|
type: "button",
|
|
129
|
-
class: u(["btn input-gradient__toggle rounded-0 p-0 border-0 position-relative", { [`btn-${e.variant}`]: e.variant }]),
|
|
129
|
+
class: u(["btn w-100 input-gradient__toggle rounded-0 p-0 border-0 position-relative", { [`btn-${e.variant}`]: e.variant }]),
|
|
130
130
|
color: e.color,
|
|
131
131
|
disabled: e.disabled,
|
|
132
132
|
"aria-label": e.label || "Gradient"
|