@inappstory/react-sdk 1.13.0 → 1.14.1

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.
@@ -108,6 +108,21 @@ export type StoryManagerConfig = {
108
108
  * Prefix for internal font family names
109
109
  */
110
110
  fontPrefix?: string;
111
+
112
+ /**
113
+ * Hybrid (embedded WebView) app settings: custom safe area insets and whether the WebView is in fullscreen
114
+ * (no system safe area insets).
115
+ */
116
+ hybridApp?: {
117
+ /** If true, the WebView is treated as fullscreen (no safe area insets from the system). */
118
+ fullscreen?: boolean;
119
+ safeAreaInsets?: {
120
+ top: number;
121
+ bottom: number;
122
+ left: number;
123
+ right: number;
124
+ };
125
+ };
111
126
  };
112
127
 
113
128
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inappstory/react-sdk",
3
- "version": "1.13.0",
3
+ "version": "1.14.1",
4
4
  "description": "React SDK",
5
5
  "keywords": [
6
6
  "stories",
@@ -58,18 +58,18 @@
58
58
  "Samsung >= 5"
59
59
  ],
60
60
  "dependencies": {
61
- "@inappstory/slide-api": "^0.1.42",
61
+ "@inappstory/slide-api": "^0.1.45",
62
62
  "async-mutex": "^0.5.0",
63
- "bowser": "^2.11.0",
63
+ "bowser": "^2.14.1",
64
64
  "classnames": "^2.5.1",
65
65
  "css-font-parser": "^2.0.1",
66
66
  "deepmerge": "^4.3.1",
67
- "lit": "^3.2.1",
68
- "lodash": "^4.17.21",
69
- "mobx": "^6.9.0",
70
- "mobx-react-lite": "^4.1.0",
67
+ "lit": "^3.3.2",
68
+ "lodash": "^4.18.1",
69
+ "mobx": "^6.15.1",
70
+ "mobx-react-lite": "^4.1.1",
71
71
  "parse-css-sides": "^3.0.1",
72
- "uuid": "^10.0.0"
72
+ "uuid": "^14.0.0"
73
73
  },
74
74
  "peerDependencies": {
75
75
  "react": ">=17.0.2",