@widergy/mobile-ui 2.9.6 → 2.9.7

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/CHANGELOG.md CHANGED
@@ -1,3 +1,10 @@
1
+ ## [2.9.7](https://github.com/widergy/mobile-ui/compare/v2.9.6...v2.9.7) (2026-04-10)
2
+
3
+
4
+ ### Bug Fixes
5
+
6
+ * [UGGC-99] replace deprecated defaultProps with default parameter in UTModal ([#495](https://github.com/widergy/mobile-ui/issues/495)) ([b2c095f](https://github.com/widergy/mobile-ui/commit/b2c095f57a962e14029ddac9eb80cff07bd6b011))
7
+
1
8
  ## [2.9.6](https://github.com/widergy/mobile-ui/compare/v2.9.5...v2.9.6) (2026-04-09)
2
9
 
3
10
 
@@ -48,7 +48,7 @@ const UTModal = ({
48
48
  loadingText,
49
49
  modalBackgroundColor,
50
50
  modalStyles,
51
- onRequestClose,
51
+ onRequestClose = () => {},
52
52
  subtitle,
53
53
  subtitleProps = {},
54
54
  title,
@@ -184,10 +184,6 @@ const UTModal = ({
184
184
  );
185
185
  };
186
186
 
187
- UTModal.defaultProps = {
188
- onRequestClose: () => {}
189
- };
190
-
191
187
  UTModal.propTypes = ModalTypes;
192
188
 
193
189
  export default UTModal;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@widergy/mobile-ui",
3
3
  "description": "Widergy Mobile Components",
4
4
  "author": "widergy",
5
- "version": "2.9.6",
5
+ "version": "2.9.7",
6
6
  "repository": "https://github.com/widergy/mobile-ui.git",
7
7
  "main": "lib/index.js",
8
8
  "files": [