px-react-ui-components 1.1.20 → 1.1.21

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.
@@ -259,7 +259,7 @@ function MyFileUpload({
259
259
  children: [acceptlabel, /*#__PURE__*/(0, _jsxRuntime.jsx)("br", {}), " ", maxSizeMB, " MB"]
260
260
  })]
261
261
  }), /*#__PURE__*/(0, _jsxRuntime.jsxs)("div", {
262
- className: _MyFileUploadModule.default.myFileUploadContainerItemFile + (classNameButton != null ? " " + classNameButton : ''),
262
+ className: _MyFileUploadModule.default.myFileUploadContainerItemFile,
263
263
  children: [/*#__PURE__*/(0, _jsxRuntime.jsx)("input", {
264
264
  type: "file",
265
265
  hidden: true,
@@ -268,7 +268,7 @@ function MyFileUpload({
268
268
  multiple: multiple,
269
269
  accept: MyFileUploadAcceptTypes
270
270
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
271
- className: _MyFileUploadModule.default.myFileUploadButton,
271
+ className: _MyFileUploadModule.default.myFileUploadButton + (classNameButton != null ? " " + classNameButton : ''),
272
272
  onClick: () => fileInputRef.current.click(),
273
273
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_md.MdOutlineAttachFile, {})
274
274
  })]
@@ -286,10 +286,10 @@ function MyFileUpload({
286
286
  })
287
287
  })]
288
288
  }), /*#__PURE__*/(0, _jsxRuntime.jsx)("div", {
289
- className: _MyFileUploadModule.default.myFileUploadContainerItemFile + (classNameButton != null ? " " + classNameButton : ''),
289
+ className: _MyFileUploadModule.default.myFileUploadContainerItemFile,
290
290
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)("button", {
291
291
  type: "button",
292
- className: _MyFileUploadModule.default.myFileUploadButton,
292
+ className: _MyFileUploadModule.default.myFileUploadButton + (classNameButton != null ? " " + classNameButton : ''),
293
293
  onClick: () => setCameraopen(true),
294
294
  children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_pi.PiCamera, {})
295
295
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "px-react-ui-components",
3
- "version": "1.1.20",
3
+ "version": "1.1.21",
4
4
  "main": "dist/index.js",
5
5
  "module": "dist/index.js",
6
6
  "type": "commonjs",