@apps-in-toss/web-framework 1.4.2 → 1.4.3

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.
@@ -46165,6 +46165,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46165
46165
  var global2 = getAppsInTossGlobals();
46166
46166
  var _useMoreButtonBottomSheet = useMoreButtonBottomSheet(), openMoreButtonBottomSheet = _useMoreButtonBottomSheet.open;
46167
46167
  var navigationEvent = useNavigationEvent();
46168
+ var _useSafeAreaInsets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)(), safeAreaRight = _useSafeAreaInsets.right;
46168
46169
  useHardwareBackPress(navigationEvent.handleBack);
46169
46170
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
46170
46171
  var initialAccessoryButton = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.initialAccessoryButton;
@@ -46186,7 +46187,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46186
46187
  position: "absolute",
46187
46188
  zIndex: Z_INDEX.CLOSE_BUTTON,
46188
46189
  marginTop: safeAreaTop,
46189
- paddingRight: 10
46190
+ paddingRight: safeAreaRight + 10
46190
46191
  },
46191
46192
  pointerEvents: "box-none",
46192
46193
  children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(NavigationRightContent, {
@@ -46351,6 +46352,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46351
46352
  var global2 = getAppsInTossGlobals();
46352
46353
  var logging = useNavigationBarLogging();
46353
46354
  var _useMoreButtonBottomSheet = useMoreButtonBottomSheet(), openMoreButtonBottomSheet = _useMoreButtonBottomSheet.open;
46355
+ var _useSafeAreaInsets2 = (0, react_native_safe_area_context_exports.useSafeAreaInsets)(), safeAreaRight = _useSafeAreaInsets2.right;
46354
46356
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
46355
46357
  var initialAccessoryButton = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.initialAccessoryButton;
46356
46358
  var handleGameWebviewClose = (0, import_react227.useCallback)(/* @__PURE__ */ _async_to_generator(function() {
@@ -46405,7 +46407,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46405
46407
  position: "absolute",
46406
46408
  zIndex: Z_INDEX.CLOSE_BUTTON,
46407
46409
  marginTop: safeAreaTop,
46408
- paddingRight: 10
46410
+ paddingRight: safeAreaRight + 10
46409
46411
  },
46410
46412
  pointerEvents: "box-none",
46411
46413
  children: /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(NavigationRightContent, {
@@ -47386,6 +47388,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47386
47388
  import_react224 = __toESM(require_react(), 1);
47387
47389
  import_jsx_runtime222 = __toESM(require_jsx_runtime(), 1);
47388
47390
  import_jsx_runtime223 = __toESM(require_jsx_runtime(), 1);
47391
+ init_react_native_safe_area_context();
47389
47392
  init_esm8();
47390
47393
  init_private2();
47391
47394
  import_react_native219 = __toESM(require_react_native(), 1);
@@ -47408,6 +47411,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47408
47411
  init_react_native_webview();
47409
47412
  import_react226 = __toESM(require_react(), 1);
47410
47413
  import_react_native222 = __toESM(require_react_native(), 1);
47414
+ init_react_native_safe_area_context();
47411
47415
  init_src3();
47412
47416
  init_esm8();
47413
47417
  init_private2();
@@ -46174,6 +46174,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46174
46174
  var global2 = getAppsInTossGlobals();
46175
46175
  var _useMoreButtonBottomSheet = useMoreButtonBottomSheet(), openMoreButtonBottomSheet = _useMoreButtonBottomSheet.open;
46176
46176
  var navigationEvent = useNavigationEvent();
46177
+ var _useSafeAreaInsets = (0, react_native_safe_area_context_exports.useSafeAreaInsets)(), safeAreaRight = _useSafeAreaInsets.right;
46177
46178
  useHardwareBackPress(navigationEvent.handleBack);
46178
46179
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
46179
46180
  var initialAccessoryButton = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.initialAccessoryButton;
@@ -46195,7 +46196,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46195
46196
  position: "absolute",
46196
46197
  zIndex: Z_INDEX.CLOSE_BUTTON,
46197
46198
  marginTop: safeAreaTop,
46198
- paddingRight: 10
46199
+ paddingRight: safeAreaRight + 10
46199
46200
  },
46200
46201
  pointerEvents: "box-none",
46201
46202
  children: /* @__PURE__ */ (0, import_jsx_runtime224.jsx)(NavigationRightContent, {
@@ -46360,6 +46361,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46360
46361
  var global2 = getAppsInTossGlobals();
46361
46362
  var logging = useNavigationBarLogging();
46362
46363
  var _useMoreButtonBottomSheet = useMoreButtonBottomSheet(), openMoreButtonBottomSheet = _useMoreButtonBottomSheet.open;
46364
+ var _useSafeAreaInsets2 = (0, react_native_safe_area_context_exports.useSafeAreaInsets)(), safeAreaRight = _useSafeAreaInsets2.right;
46363
46365
  var parsedNavigationBar = global2.navigationBar != null ? safeParseNavigationBar(global2.navigationBar) : null;
46364
46366
  var initialAccessoryButton = parsedNavigationBar === null || parsedNavigationBar === void 0 ? void 0 : parsedNavigationBar.initialAccessoryButton;
46365
46367
  var handleGameWebviewClose = (0, import_react228.useCallback)(/* @__PURE__ */ _async_to_generator(function() {
@@ -46414,7 +46416,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
46414
46416
  position: "absolute",
46415
46417
  zIndex: Z_INDEX.CLOSE_BUTTON,
46416
46418
  marginTop: safeAreaTop,
46417
- paddingRight: 10
46419
+ paddingRight: safeAreaRight + 10
46418
46420
  },
46419
46421
  pointerEvents: "box-none",
46420
46422
  children: /* @__PURE__ */ (0, import_jsx_runtime227.jsx)(NavigationRightContent, {
@@ -47395,6 +47397,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47395
47397
  import_react225 = __toESM(require_react(), 1);
47396
47398
  import_jsx_runtime222 = __toESM(require_jsx_runtime(), 1);
47397
47399
  import_jsx_runtime223 = __toESM(require_jsx_runtime(), 1);
47400
+ init_react_native_safe_area_context();
47398
47401
  init_esm8();
47399
47402
  init_private2();
47400
47403
  import_react_native219 = __toESM(require_react_native(), 1);
@@ -47417,6 +47420,7 @@ var global=typeof globalThis!=='undefined'?globalThis:typeof global!=='undefined
47417
47420
  init_react_native_webview();
47418
47421
  import_react227 = __toESM(require_react(), 1);
47419
47422
  import_react_native222 = __toESM(require_react_native(), 1);
47423
+ init_react_native_safe_area_context();
47420
47424
  init_src3();
47421
47425
  init_esm8();
47422
47426
  init_private2();
@@ -0,0 +1,14 @@
1
+ [
2
+ {
3
+ "platform": "ios",
4
+ "totalModuleCount": 1623,
5
+ "duration": 1518.0213749999998,
6
+ "size": 1683786
7
+ },
8
+ {
9
+ "platform": "android",
10
+ "totalModuleCount": 1623,
11
+ "duration": 1512.6528339999995,
12
+ "size": 1682146
13
+ }
14
+ ]
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@apps-in-toss/web-framework",
3
3
  "type": "module",
4
- "version": "1.4.2",
4
+ "version": "1.4.3",
5
5
  "description": "Web Framework for Apps In Toss",
6
6
  "scripts": {
7
7
  "prepack": "yarn build",
@@ -87,12 +87,12 @@
87
87
  "zod": "3.24.4"
88
88
  },
89
89
  "dependencies": {
90
- "@apps-in-toss/bridge-core": "1.4.2",
91
- "@apps-in-toss/cli": "1.4.2",
92
- "@apps-in-toss/framework": "1.4.2",
93
- "@apps-in-toss/plugins": "1.4.2",
94
- "@apps-in-toss/web-analytics": "1.4.2",
95
- "@apps-in-toss/web-bridge": "1.4.2",
90
+ "@apps-in-toss/bridge-core": "1.4.3",
91
+ "@apps-in-toss/cli": "1.4.3",
92
+ "@apps-in-toss/framework": "1.4.3",
93
+ "@apps-in-toss/plugins": "1.4.3",
94
+ "@apps-in-toss/web-analytics": "1.4.3",
95
+ "@apps-in-toss/web-bridge": "1.4.3",
96
96
  "@babel/core": "7.23.9",
97
97
  "@granite-js/cli": "0.1.28",
98
98
  "@granite-js/mpack": "0.1.28",
@@ -104,5 +104,5 @@
104
104
  "publishConfig": {
105
105
  "access": "public"
106
106
  },
107
- "gitHead": "992572077564048b34db9f6a0d9217612178c276"
107
+ "gitHead": "03f7a52e200b15795510b36e8bf26c7cd69a70b4"
108
108
  }