ywana-core8 0.0.962 → 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 +3 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.modern.js +3 -1
- package/dist/index.modern.js.map +1 -1
- package/dist/index.umd.js +3 -1
- package/dist/index.umd.js.map +1 -1
- package/package.json +1 -1
- package/src/html/table.js +1 -1
- package/src/html/textfield.js +2 -2
package/dist/index.modern.js
CHANGED
@@ -1344,6 +1344,7 @@ var TextField = function TextField(props) {
|
|
1344
1344
|
var id = props.id,
|
1345
1345
|
_props$type = props.type,
|
1346
1346
|
type = _props$type === void 0 ? 'text' : _props$type,
|
1347
|
+
className = props.className,
|
1347
1348
|
label = props.label,
|
1348
1349
|
_props$labelPosition = props.labelPosition,
|
1349
1350
|
labelPosition = _props$labelPosition === void 0 ? 'top' : _props$labelPosition,
|
@@ -1387,7 +1388,7 @@ var TextField = function TextField(props) {
|
|
1387
1388
|
var labelTxt = /*#__PURE__*/React.createElement(Text, null, label);
|
1388
1389
|
var placeholderTxt = site.translate ? site.translate(placeholder) : placeholder;
|
1389
1390
|
return /*#__PURE__*/React.createElement("div", {
|
1390
|
-
className: style + " " + id,
|
1391
|
+
className: style + " " + id + " " + className,
|
1391
1392
|
onClick: onClick
|
1392
1393
|
}, /*#__PURE__*/React.createElement("input", {
|
1393
1394
|
id: id,
|
@@ -2337,6 +2338,7 @@ var ImageCellViewer = function ImageCellViewer(_ref7) {
|
|
2337
2338
|
}) : /*#__PURE__*/React.createElement(Icon, {
|
2338
2339
|
icon: "person"
|
2339
2340
|
}), /*#__PURE__*/React.createElement(Uploader, {
|
2341
|
+
view: "icon",
|
2340
2342
|
icon: "cloud_upload",
|
2341
2343
|
target: uploadURL,
|
2342
2344
|
onSuccess: success,
|