@lundal/zed-solid 0.0.14 → 0.0.15

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 CHANGED
@@ -8,6 +8,7 @@ export type TextBoxProps = {
8
8
  errorId: string | undefined;
9
9
  autocomplete?: string;
10
10
  hidden?: boolean;
11
+ placeholder?: string;
11
12
  value: string;
12
13
  onChange: (value: string) => void;
13
14
  };
package/dist/index.js CHANGED
@@ -993,7 +993,7 @@ function TextBox(props) {
993
993
  var _el$ = _tmpl$();
994
994
  _el$.$$input = (e) => props.onChange(e.target.value);
995
995
  createRenderEffect((_p$) => {
996
- var _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;
996
+ var _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, _v$8 = props.placeholder;
997
997
  _v$ !== _p$.e && className(_el$, _p$.e = _v$);
998
998
  _p$.t = style(_el$, _v$2, _p$.t);
999
999
  _v$3 !== _p$.a && setAttribute(_el$, "autocomplete", _p$.a = _v$3);
@@ -1001,6 +1001,7 @@ function TextBox(props) {
1001
1001
  _v$5 !== _p$.i && setAttribute(_el$, "id", _p$.i = _v$5);
1002
1002
  _v$6 !== _p$.n && setAttribute(_el$, "aria-invalid", _p$.n = _v$6);
1003
1003
  _v$7 !== _p$.s && setAttribute(_el$, "aria-errormessage", _p$.s = _v$7);
1004
+ _v$8 !== _p$.h && setAttribute(_el$, "placeholder", _p$.h = _v$8);
1004
1005
  return _p$;
1005
1006
  }, {
1006
1007
  e: void 0,
@@ -1009,7 +1010,8 @@ function TextBox(props) {
1009
1010
  o: void 0,
1010
1011
  i: void 0,
1011
1012
  n: void 0,
1012
- s: void 0
1013
+ s: void 0,
1014
+ h: void 0
1013
1015
  });
1014
1016
  createRenderEffect(() => _el$.value = props.value);
1015
1017
  return _el$;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lundal/zed-solid",
3
- "version": "0.0.14",
3
+ "version": "0.0.15",
4
4
  "license": "LGPL-3.0-or-later",
5
5
  "type": "module",
6
6
  "module": "dist/index.js",