ablok-components 0.3.141 → 0.3.143

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.
@@ -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
  };
@@ -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, openBlock as a, unref as o, vModelCheckbox as s, withDirectives as c } from "vue";
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 l = { class: "form-check input input--checkbox" }, u = [
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) => (a(), n("div", l, [c(r("input", {
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), [[s, h.value]]), r("label", {
66
+ }, null, 8, u), [[c, h.value]]), r("label", {
66
67
  class: "input__label form-check-label",
67
68
  for: i.id,
68
- innerHTML: o(e)(i.label || "")
69
- }, null, 8, d)]));
69
+ innerHTML: s(e)(i.label || "")
70
+ }, null, 8, d)], 2));
70
71
  }
71
72
  });
72
73
  //#endregion
@@ -2,7 +2,7 @@ import { uniqueId as e } from "../../../utilities/helpers.js";
2
2
  import t from "../../atoms/base-input/base-input.js";
3
3
  import { computed as n, createElementBlock as r, createElementVNode as i, createVNode as a, defineComponent as o, openBlock as s, vModelText as c, withCtx as l, withDirectives as u } from "vue";
4
4
  //#region src/components/molecules/input-color/input-color.vue?vue&type=script&setup=true&lang.ts
5
- var d = { class: "input-color" }, f = { class: "base-input__color-swatch" }, p = [
5
+ var d = { class: "input-color" }, f = { class: "input-color__color-swatch" }, p = [
6
6
  "name",
7
7
  "id",
8
8
  "disabled",
@@ -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 w-100 input-gradient__toggle rounded-0 p-0 border-0 position-relative", { [`btn-${e.variant}`]: e.variant }]),
129
+ class: u(["btn input-gradient__toggle", { [`btn-${e.variant}`]: e.variant }]),
130
130
  color: e.color,
131
131
  disabled: e.disabled,
132
132
  "aria-label": e.label || "Gradient"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ablok-components",
3
3
  "private": false,
4
- "version": "0.3.141",
4
+ "version": "0.3.143",
5
5
  "type": "module",
6
6
  "dependencies": {
7
7
  "@tiptap/core": "^3.30.0",