@goldenpine/react-form-builder2 0.20.3-build.10 → 0.20.3-build.11

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.
@@ -837,12 +837,11 @@ var Camera = /*#__PURE__*/function (_React$Component17) {
837
837
  type: "file",
838
838
  accept: "image/*",
839
839
  capture: "camera",
840
- className: "image-upload",
840
+ className: "image-upload visually-hidden",
841
841
  onChange: this.displayImage,
842
842
  "data-clearlabel": this.props.data.label_after_photo_clear_icon,
843
843
  disabled: this.props.read_only,
844
- id: name,
845
- hidden: true
844
+ id: name
846
845
  }), /*#__PURE__*/_react["default"].createElement("div", {
847
846
  className: "image-upload-control",
848
847
  style: {
@@ -970,12 +969,11 @@ var FileUpload = /*#__PURE__*/function (_React$Component18) {
970
969
  name: name,
971
970
  type: "file",
972
971
  accept: this.props.data.fileType || '*',
973
- className: "image-upload",
972
+ className: "image-upload visually-hidden",
974
973
  onChange: this.displayFileUpload,
975
974
  "data-clearlabel": this.props.data.label_after_file_clear_icon,
976
975
  disabled: this.props.read_only,
977
- id: name,
978
- hidden: true
976
+ id: name
979
977
  }), /*#__PURE__*/_react["default"].createElement("div", {
980
978
  className: "image-upload-control",
981
979
  style: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@goldenpine/react-form-builder2",
3
- "version": "0.20.3-build.10",
3
+ "version": "0.20.3-build.11",
4
4
  "description": "A complete form builder for react.",
5
5
  "main": "lib/index.js",
6
6
  "types": "types/index.d.ts",