@arbisoft/react-design-tool 1.0.31 → 1.0.33

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.31
43
+ npm install @arbisoft/react-design-tool@1.0.33
44
44
  ```
45
45
 
46
46
  OR
47
47
 
48
48
  ```bash
49
- yarn add @arbisoft/react-design-tool@1.0.31
49
+ yarn add @arbisoft/react-design-tool@1.0.33
50
50
 
51
51
  ```
52
52
 
package/dist/cjs/index.js CHANGED
@@ -5176,6 +5176,9 @@ var TemplateSideBar = function TemplateSideBar(_ref) {
5176
5176
  key: index,
5177
5177
  onClick: function onClick() {
5178
5178
  oncreateNewTemplate(item === null || item === void 0 ? void 0 : item.elements);
5179
+ if (typeof onTemplateSelect === 'function') {
5180
+ onTemplateSelect(item === null || item === void 0 ? void 0 : item.id);
5181
+ }
5179
5182
  }
5180
5183
  }, /*#__PURE__*/React.createElement(StyledImage, {
5181
5184
  src: item === null || item === void 0 ? void 0 : item.image,