@pushwoosh/smart-components-kit 1.2.4 → 1.2.6

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.
@@ -140,6 +140,10 @@ export const CreateCropDrawer = ({
140
140
  type: 'success'
141
141
  });
142
142
  onCreated(parent.uuid, response.file);
143
+ // Back to the view-only default: the form's ratio+size now match the
144
+ // crop that was just created, so leaving it would flash the
145
+ // "duplicate exists" note right after a successful create.
146
+ setRatio('original');
143
147
  } catch (error) {
144
148
  openToast({
145
149
  title: error.message || lang({
package/package.json CHANGED
@@ -21,7 +21,7 @@
21
21
  },
22
22
  "dependencies": {
23
23
  "@floating-ui/react-dom": "^2.1.2",
24
- "@pushwoosh/dumb-components": "^1.1.140",
24
+ "@pushwoosh/dumb-components": "^1.1.167",
25
25
  "@pushwoosh/kit-constants": "^1.6.9",
26
26
  "@pushwoosh/kit-helpers": "^4.11.1",
27
27
  "@pushwoosh/kit-icons": "^2.1.6",
@@ -48,5 +48,5 @@
48
48
  "react": "^16.14.0 || ^18.0.0",
49
49
  "react-dom": "^16.14.0 || ^18.0.0"
50
50
  },
51
- "version": "1.2.4"
51
+ "version": "1.2.6"
52
52
  }