@lundal/zed-solid 0.0.5 → 0.0.6
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/TextBox.d.ts +1 -0
- package/dist/index.js +8 -6
- package/package.json +1 -1
package/dist/TextBox.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -922,13 +922,14 @@ function TextBox(props) {
|
|
|
922
922
|
const _el$ = _tmpl$();
|
|
923
923
|
_el$.$$input = (e) => props.onChange(e.target.value);
|
|
924
924
|
createRenderEffect((_p$) => {
|
|
925
|
-
const _v$ = mergeClasses("z-textbox", props.class), _v$2 = props.style, _v$3 = props.hidden ? "password" : "text", _v$
|
|
925
|
+
const _v$ = mergeClasses("z-textbox", props.class), _v$2 = props.style, _v$3 = props.autocomplete ?? "off", _v$4 = props.hidden ? "password" : "text", _v$5 = props.id, _v$6 = props.invalid, _v$7 = props.errorId;
|
|
926
926
|
_v$ !== _p$._v$ && className(_el$, _p$._v$ = _v$);
|
|
927
927
|
_p$._v$2 = style(_el$, _v$2, _p$._v$2);
|
|
928
|
-
_v$3 !== _p$._v$3 && setAttribute(_el$, "
|
|
929
|
-
_v$4 !== _p$._v$4 && setAttribute(_el$, "
|
|
930
|
-
_v$5 !== _p$._v$5 && setAttribute(_el$, "
|
|
931
|
-
_v$6 !== _p$._v$6 && setAttribute(_el$, "aria-
|
|
928
|
+
_v$3 !== _p$._v$3 && setAttribute(_el$, "autocomplete", _p$._v$3 = _v$3);
|
|
929
|
+
_v$4 !== _p$._v$4 && setAttribute(_el$, "type", _p$._v$4 = _v$4);
|
|
930
|
+
_v$5 !== _p$._v$5 && setAttribute(_el$, "id", _p$._v$5 = _v$5);
|
|
931
|
+
_v$6 !== _p$._v$6 && setAttribute(_el$, "aria-invalid", _p$._v$6 = _v$6);
|
|
932
|
+
_v$7 !== _p$._v$7 && setAttribute(_el$, "aria-errormessage", _p$._v$7 = _v$7);
|
|
932
933
|
return _p$;
|
|
933
934
|
}, {
|
|
934
935
|
_v$: void 0,
|
|
@@ -936,7 +937,8 @@ function TextBox(props) {
|
|
|
936
937
|
_v$3: void 0,
|
|
937
938
|
_v$4: void 0,
|
|
938
939
|
_v$5: void 0,
|
|
939
|
-
_v$6: void 0
|
|
940
|
+
_v$6: void 0,
|
|
941
|
+
_v$7: void 0
|
|
940
942
|
});
|
|
941
943
|
createRenderEffect(() => _el$.value = props.value);
|
|
942
944
|
return _el$;
|