@citizenplane/pimp 9.6.1 → 9.6.2

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/pimp.es.js CHANGED
@@ -14126,7 +14126,7 @@ const ac = /* @__PURE__ */ j(g8, [["render", C8]]), b8 = {
14126
14126
  set($) {
14127
14127
  return H($), $;
14128
14128
  }
14129
- }), f = X(!0), g = X(), C = M(() => A("disabled")), w = M(() => A("required")), _ = M(() => [
14129
+ }), f = X(!0), g = X(null), C = M(() => A("disabled")), w = M(() => A("required")), _ = M(() => [
14130
14130
  o.class,
14131
14131
  `cpInput--${n.size}`,
14132
14132
  {
@@ -14135,7 +14135,9 @@ const ac = /* @__PURE__ */ j(g8, [["render", C8]]), b8 = {
14135
14135
  "cpInput--hasNoBorder": n.removeBorder,
14136
14136
  "cpInput--isSearch": n.isSearch
14137
14137
  }
14138
- ]), x = M(() => n.isInvalid || !f.value), I = M(() => !!h["leading-icon"]), L = M(() => I.value || n.isSearch), T = M(() => !!h["trailing-icon"]), P = M(() => T.value || n.isSearch), z = M(() => P.value && !n.isSearch), R = M(() => g.value.children.namedItem(l.value)), E = M(() => x.value && n.errorMessage.length), S = M(() => n.isSearch && m.value.toString().length && !C.value), D = M(() => n.help?.length && !E.value), H = ($) => {
14138
+ ]), x = M(() => n.isInvalid || !f.value), I = M(() => !!h["leading-icon"]), L = M(() => I.value || n.isSearch), T = M(() => !!h["trailing-icon"]), P = M(() => T.value || n.isSearch), z = M(() => P.value && !n.isSearch), R = M(
14139
+ () => g.value?.children.namedItem(l.value)
14140
+ ), E = M(() => x.value && n.errorMessage.length), S = M(() => n.isSearch && m.value.toString().length && !C.value), D = M(() => n.help?.length && !E.value), H = ($) => {
14139
14141
  i("update:modelValue", $), B();
14140
14142
  }, U = () => {
14141
14143
  R.value && R.value.focus();