@arbisoft/react-design-tool 1.0.43 → 1.0.45

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/README.md CHANGED
@@ -40,13 +40,13 @@ yarn add @arbisoft/react-design-tool
40
40
  #### ⚠️ Important: Installation Guide for React 18 and Below
41
41
 
42
42
  ```bash
43
- npm install @arbisoft/react-design-tool@1.0.43
43
+ npm install @arbisoft/react-design-tool@1.0.44
44
44
  ```
45
45
 
46
46
  OR
47
47
 
48
48
  ```bash
49
- yarn add @arbisoft/react-design-tool@1.0.43
49
+ yarn add @arbisoft/react-design-tool@1.0.44
50
50
 
51
51
  ```
52
52
 
@@ -403,4 +403,14 @@ Related to `showBackgroundImagePicker` and it's opacity value
403
403
 
404
404
  ```jsx
405
405
  <Studio showOpacityPicker={true} />
406
+ ```
407
+
408
+ #### 23. allowedFormats (Array)
409
+
410
+ Used to set configure allowed images formats for our gallert
411
+
412
+ **Example:**
413
+
414
+ ```jsx
415
+ <Studio allowedFormats={['png', 'jpg']} />
406
416
  ```
package/dist/cjs/index.js CHANGED
@@ -5509,7 +5509,7 @@ var ImageSideBar = function ImageSideBar(_ref) {
5509
5509
  left: /*#__PURE__*/React.createElement(StyledImage, {
5510
5510
  src: IconUpload
5511
5511
  }),
5512
- marginBottom: 38,
5512
+ marginBottom: 8,
5513
5513
  onClick: addImageToList
5514
5514
  }), allowedFormats && function () {
5515
5515
  var formats = (allowedFormats || []).map(function (f) {
@@ -5659,7 +5659,7 @@ var QrSideBar = function QrSideBar(_ref) {
5659
5659
  left: /*#__PURE__*/React.createElement(StyledImage, {
5660
5660
  src: IconUpload
5661
5661
  }),
5662
- marginBottom: 30,
5662
+ marginBottom: 8,
5663
5663
  marginTop: 24,
5664
5664
  onClick: addQrLogo
5665
5665
  }), allowedFormats && function () {