ywana-core8 0.0.963 → 0.0.964
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/index.cjs +2 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +2 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +2 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/textfield.js +2 -2
package/dist/index.umd.js
CHANGED
@@ -1346,6 +1346,7 @@
|
|
1346
1346
|
var id = props.id,
|
1347
1347
|
_props$type = props.type,
|
1348
1348
|
type = _props$type === void 0 ? 'text' : _props$type,
|
1349
|
+
className = props.className,
|
1349
1350
|
label = props.label,
|
1350
1351
|
_props$labelPosition = props.labelPosition,
|
1351
1352
|
labelPosition = _props$labelPosition === void 0 ? 'top' : _props$labelPosition,
|
@@ -1389,7 +1390,7 @@
|
|
1389
1390
|
var labelTxt = /*#__PURE__*/React__default["default"].createElement(Text, null, label);
|
1390
1391
|
var placeholderTxt = site.translate ? site.translate(placeholder) : placeholder;
|
1391
1392
|
return /*#__PURE__*/React__default["default"].createElement("div", {
|
1392
|
-
className: style + " " + id,
|
1393
|
+
className: style + " " + id + " " + className,
|
1393
1394
|
onClick: onClick
|
1394
1395
|
}, /*#__PURE__*/React__default["default"].createElement("input", {
|
1395
1396
|
id: id,
|