vue3-float-label 1.0.10 → 1.0.12

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.
@@ -1,4 +1,4 @@
1
- import { ref as t, computed as m, watch as I, onMounted as N, onBeforeUnmount as M, createElementBlock as v, openBlock as d, normalizeClass as g, renderSlot as W, unref as u, createElementVNode as x, toDisplayString as E, createCommentVNode as q, createTextVNode as A } from "vue";
1
+ import { ref as t, computed as m, watch as I, onMounted as N, onBeforeUnmount as M, openBlock as v, createElementBlock as d, normalizeClass as g, renderSlot as W, unref as u, createElementVNode as x, toDisplayString as E, createCommentVNode as q, createTextVNode as A } from "vue";
2
2
  const H = {
3
3
  key: 0,
4
4
  class: "float-label__label float-label--no-click"
@@ -48,20 +48,20 @@ const H = {
48
48
  }, 200)) : r.value = "", h();
49
49
  }), M(() => {
50
50
  p.value && U();
51
- }), (l, o) => (d(), v("div", {
51
+ }), (l, o) => (v(), d("div", {
52
52
  class: g(["float-label", { "float-label--fade-anim": L.value, "float-label--on-focus": s.onFocus, "float-label--fixed": w.value }]),
53
53
  ref_key: "root",
54
54
  ref: b
55
55
  }, [
56
56
  W(l.$slots, "default"),
57
- u(a) === "" ? (d(), v("div", H, [
57
+ u(a) === "" ? (v(), d("div", H, [
58
58
  x("span", R, E(u(c)), 1)
59
- ])) : (d(), v("label", {
59
+ ])) : (v(), d("label", {
60
60
  key: 1,
61
61
  class: g(["float-label__label", { "float-label--no-click": u(a) === "select" }]),
62
62
  for: u(n)
63
63
  }, [
64
- u(a) === "textarea" ? (d(), v("span", D)) : q("", !0),
64
+ u(a) === "textarea" ? (v(), d("span", D)) : q("", !0),
65
65
  o[0] || (o[0] = A()),
66
66
  x("span", O, E(u(c)), 1)
67
67
  ], 10, z))
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vue3-float-label",
3
- "version": "1.0.10",
3
+ "version": "1.0.12",
4
4
  "description": "A Vue 3 component for float labels.",
5
5
  "type": "module",
6
6
  "author": "Justin Moreland",
@@ -37,7 +37,7 @@
37
37
  "devDependencies": {
38
38
  "@vitejs/plugin-vue": "^5.2.1",
39
39
  "esbuild": "^0.25.0",
40
- "vite": "^6.2.7"
40
+ "vite": "^6.4.1"
41
41
  },
42
42
  "peerDependencies": {
43
43
  "vue": "^3.5.13"