@ankhorage/zora 27.1.2 → 27.1.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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # Changelog
2
2
 
3
+ ## 27.1.3
4
+
5
+ ### Patch Changes
6
+
7
+ - 22a1773: Update dependencies: `@ankhorage/runtime`.
8
+
3
9
  ## 27.1.2
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/zora
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v27.1.2](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v27.1.3](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![paradox: warnings](././paradox/badges/docs.svg)
7
7
 
8
8
  Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.
9
9
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "27.1.2",
4
+ "version": "27.1.3",
5
5
  "description": "Opinionated React Native and React Native Web UI kit built on @ankhorage/surface.",
6
6
  "homepage": "https://github.com/ankhorage/zora#readme",
7
7
  "bugs": {
@@ -47,7 +47,7 @@
47
47
  "@ankhorage/game": "^0.1.3",
48
48
  "@ankhorage/grid-view": "^0.5.0",
49
49
  "@ankhorage/reader": "^0.1.2",
50
- "@ankhorage/runtime": "^5.4.0",
50
+ "@ankhorage/runtime": "^5.4.1",
51
51
  "@ankhorage/surface": "^9.5.3",
52
52
  "@ankhorage/utility": "^1.10.0",
53
53
  "expo-document-picker": "~57.0.3",
@@ -59,8 +59,8 @@ var styles = import_react_native.StyleSheet.create({
59
59
  }
60
60
  });
61
61
  // node_modules/@ankhorage/runtime/dist/RuntimeRendererConfig.js
62
+ import { jsx as _jsx } from "react/jsx-runtime";
62
63
  import React, { createContext, use } from "react";
63
- import { jsx as jsx2 } from "react/jsx-runtime";
64
64
  var EMPTY_RUNTIME_RENDERER_CONFIG = {};
65
65
  var RuntimeRendererConfigContext = createContext(EMPTY_RUNTIME_RENDERER_CONFIG);
66
66
  function composeRuntimeRendererWrapNode(innerWrapNode, outerWrapNode) {
@@ -115,10 +115,7 @@ function RuntimeRendererConfigProvider(props) {
115
115
  const { value, children } = props;
116
116
  const inheritedConfig = use(RuntimeRendererConfigContext);
117
117
  const mergedConfig = mergeRuntimeRendererConfig(value, inheritedConfig);
118
- return /* @__PURE__ */ jsx2(RuntimeRendererConfigContext, {
119
- value: mergedConfig,
120
- children
121
- });
118
+ return _jsx(RuntimeRendererConfigContext, { value: mergedConfig, children });
122
119
  }
123
120
  function mergeRecordConfig(inherited, local) {
124
121
  if (!inherited && !local)
@@ -946,18 +943,18 @@ function useLatestValue(value) {
946
943
  }
947
944
 
948
945
  // src/features/game/adapters/inbound/Game.tsx
949
- import { jsx as jsx3 } from "react/jsx-runtime";
946
+ import { jsx as jsx2 } from "react/jsx-runtime";
950
947
  var Game2 = withZoraThemeScope(GameInner);
951
948
  function GameInner(props) {
952
949
  const runtime = useGameRuntime(props);
953
950
  const [measurementRegistry] = React5.useState(createGameMeasurementRegistry);
954
951
  const runtimeContext = React5.useMemo(() => ({ ...runtime, ...measurementRegistry, interactionPolicy: props.interactionPolicy }), [measurementRegistry, props.interactionPolicy, runtime]);
955
952
  const runtimeBindingConfig = React5.useMemo(() => ({ bindingContext: createGameBindingContext(runtime.session) }), [runtime.session]);
956
- return /* @__PURE__ */ jsx3(GameRuntimeContext.Provider, {
953
+ return /* @__PURE__ */ jsx2(GameRuntimeContext.Provider, {
957
954
  value: runtimeContext,
958
- children: /* @__PURE__ */ jsx3(RuntimeRendererConfigProvider, {
955
+ children: /* @__PURE__ */ jsx2(RuntimeRendererConfigProvider, {
959
956
  value: runtimeBindingConfig,
960
- children: /* @__PURE__ */ jsx3(GameField2, {
957
+ children: /* @__PURE__ */ jsx2(GameField2, {
961
958
  ...props.aspectRatio === undefined ? {} : { aspectRatio: props.aspectRatio },
962
959
  ...props.minHeight === undefined ? {} : { minHeight: props.minHeight },
963
960
  ...props.fill === undefined ? {} : { fill: props.fill },
@@ -1215,13 +1212,13 @@ function useGameEntityMeasurement(elementRef, measurementId) {
1215
1212
  }
1216
1213
 
1217
1214
  // src/features/game/adapters/inbound/GameEntity.tsx
1218
- import { jsx as jsx4 } from "react/jsx-runtime";
1215
+ import { jsx as jsx3 } from "react/jsx-runtime";
1219
1216
  var GameEntity2 = withZoraThemeScope(GameEntityInner);
1220
1217
  function GameEntityInner(props) {
1221
1218
  const elementRef = React10.useRef(null);
1222
1219
  const animatedStyle = useGameEntityAnimatedStyle(props);
1223
1220
  useGameEntityMeasurement(elementRef, props.measurementId);
1224
- return /* @__PURE__ */ jsx4(import_react_native6.Animated.View, {
1221
+ return /* @__PURE__ */ jsx3(import_react_native6.Animated.View, {
1225
1222
  ref: elementRef,
1226
1223
  accessibilityLabel: props.accessibilityLabel,
1227
1224
  testID: props.testID,
@@ -1355,7 +1352,7 @@ function useGameInputZoneResponder(props) {
1355
1352
  }
1356
1353
 
1357
1354
  // src/features/game/adapters/inbound/GameInputZone.tsx
1358
- import { jsx as jsx5 } from "react/jsx-runtime";
1355
+ import { jsx as jsx4 } from "react/jsx-runtime";
1359
1356
  var GameInputZone2 = withZoraThemeScope(GameInputZoneInner);
1360
1357
  function GameInputZoneInner({
1361
1358
  x = 0,
@@ -1387,7 +1384,7 @@ function GameInputZoneInner({
1387
1384
  enabled: enabled && interactionPolicy !== "passive",
1388
1385
  keyboardBindings
1389
1386
  });
1390
- return /* @__PURE__ */ jsx5(import_react_native7.View, {
1387
+ return /* @__PURE__ */ jsx4(import_react_native7.View, {
1391
1388
  ...keyboardProps,
1392
1389
  ...accessibilityLabel === undefined ? {} : { accessibilityLabel },
1393
1390
  ...testID === undefined ? {} : { testID },
@@ -1514,7 +1511,7 @@ async function dispatchGameMeasurement(input) {
1514
1511
 
1515
1512
  // src/features/game/adapters/inbound/GameOverlay.tsx
1516
1513
  var import_react_native8 = __toESM(require_cjs(), 1);
1517
- import { jsx as jsx6 } from "react/jsx-runtime";
1514
+ import { jsx as jsx5 } from "react/jsx-runtime";
1518
1515
  var GameOverlay2 = withZoraThemeScope(GameOverlayInner);
1519
1516
  function GameOverlayInner({
1520
1517
  children,
@@ -1525,7 +1522,7 @@ function GameOverlayInner({
1525
1522
  interactionPolicy,
1526
1523
  testID
1527
1524
  }) {
1528
- return /* @__PURE__ */ jsx6(View2, {
1525
+ return /* @__PURE__ */ jsx5(View2, {
1529
1526
  ...accessibilityLabel === undefined ? {} : { accessibilityLabel },
1530
1527
  ...testID === undefined ? {} : { testID },
1531
1528
  pointerEvents: interactionPolicy === "passive" ? "none" : blocking ? "auto" : "box-none",
@@ -6,7 +6,7 @@ import {
6
6
  GameInputZone2,
7
7
  GameMeasurementProbe2,
8
8
  GameOverlay2
9
- } from "../../chunks/Accordion-enn0479f.js";
9
+ } from "../../chunks/Accordion-bfszt9f0.js";
10
10
  import"../../chunks/Accordion-6wrr910w.js";
11
11
  import"../../chunks/Accordion-vj1m2wck.js";
12
12
  import"../../chunks/Accordion-zj4wnm3e.js";
@@ -6,7 +6,7 @@ import {
6
6
  GameInputZone2,
7
7
  GameMeasurementProbe2,
8
8
  GameOverlay2
9
- } from "../../chunks/Accordion-enn0479f.js";
9
+ } from "../../chunks/Accordion-bfszt9f0.js";
10
10
  import"../../chunks/Accordion-6wrr910w.js";
11
11
  import"../../chunks/Accordion-vj1m2wck.js";
12
12
  import"../../chunks/Accordion-zj4wnm3e.js";
@@ -6,7 +6,7 @@ import {
6
6
  GameInputZone2,
7
7
  GameMeasurementProbe2,
8
8
  GameOverlay2
9
- } from "../../chunks/Accordion-enn0479f.js";
9
+ } from "../../chunks/Accordion-bfszt9f0.js";
10
10
  import"../../chunks/Accordion-6wrr910w.js";
11
11
  import"../../chunks/Accordion-vj1m2wck.js";
12
12
  import"../../chunks/Accordion-zj4wnm3e.js";
@@ -6,7 +6,7 @@ import {
6
6
  GameInputZone2,
7
7
  GameMeasurementProbe2,
8
8
  GameOverlay2
9
- } from "../../chunks/Accordion-enn0479f.js";
9
+ } from "../../chunks/Accordion-bfszt9f0.js";
10
10
  import"../../chunks/Accordion-6wrr910w.js";
11
11
  import"../../chunks/Accordion-vj1m2wck.js";
12
12
  import"../../chunks/Accordion-zj4wnm3e.js";
@@ -6,7 +6,7 @@ import {
6
6
  GameInputZone2,
7
7
  GameMeasurementProbe2,
8
8
  GameOverlay2
9
- } from "../../chunks/Accordion-enn0479f.js";
9
+ } from "../../chunks/Accordion-bfszt9f0.js";
10
10
  import"../../chunks/Accordion-6wrr910w.js";
11
11
  import"../../chunks/Accordion-vj1m2wck.js";
12
12
  import"../../chunks/Accordion-zj4wnm3e.js";
@@ -6,7 +6,7 @@ import {
6
6
  GameInputZone2,
7
7
  GameMeasurementProbe2,
8
8
  GameOverlay2
9
- } from "../../chunks/Accordion-enn0479f.js";
9
+ } from "../../chunks/Accordion-bfszt9f0.js";
10
10
  import"../../chunks/Accordion-6wrr910w.js";
11
11
  import"../../chunks/Accordion-vj1m2wck.js";
12
12
  import"../../chunks/Accordion-zj4wnm3e.js";
@@ -1516,7 +1516,7 @@
1516
1516
  "chunks/Accordion-0x8jncra.js",
1517
1517
  "chunks/Accordion-58yzdsab.js",
1518
1518
  "chunks/Accordion-6wrr910w.js",
1519
- "chunks/Accordion-enn0479f.js",
1519
+ "chunks/Accordion-bfszt9f0.js",
1520
1520
  "chunks/Accordion-fcczvwgg.js",
1521
1521
  "chunks/Accordion-fre84yaq.js",
1522
1522
  "chunks/Accordion-nh0cs9hq.js",
@@ -1539,7 +1539,7 @@
1539
1539
  "chunks/Accordion-0x8jncra.js",
1540
1540
  "chunks/Accordion-58yzdsab.js",
1541
1541
  "chunks/Accordion-6wrr910w.js",
1542
- "chunks/Accordion-enn0479f.js",
1542
+ "chunks/Accordion-bfszt9f0.js",
1543
1543
  "chunks/Accordion-fcczvwgg.js",
1544
1544
  "chunks/Accordion-fre84yaq.js",
1545
1545
  "chunks/Accordion-nh0cs9hq.js",
@@ -1562,7 +1562,7 @@
1562
1562
  "chunks/Accordion-0x8jncra.js",
1563
1563
  "chunks/Accordion-58yzdsab.js",
1564
1564
  "chunks/Accordion-6wrr910w.js",
1565
- "chunks/Accordion-enn0479f.js",
1565
+ "chunks/Accordion-bfszt9f0.js",
1566
1566
  "chunks/Accordion-fcczvwgg.js",
1567
1567
  "chunks/Accordion-fre84yaq.js",
1568
1568
  "chunks/Accordion-nh0cs9hq.js",
@@ -1585,7 +1585,7 @@
1585
1585
  "chunks/Accordion-0x8jncra.js",
1586
1586
  "chunks/Accordion-58yzdsab.js",
1587
1587
  "chunks/Accordion-6wrr910w.js",
1588
- "chunks/Accordion-enn0479f.js",
1588
+ "chunks/Accordion-bfszt9f0.js",
1589
1589
  "chunks/Accordion-fcczvwgg.js",
1590
1590
  "chunks/Accordion-fre84yaq.js",
1591
1591
  "chunks/Accordion-nh0cs9hq.js",
@@ -1608,7 +1608,7 @@
1608
1608
  "chunks/Accordion-0x8jncra.js",
1609
1609
  "chunks/Accordion-58yzdsab.js",
1610
1610
  "chunks/Accordion-6wrr910w.js",
1611
- "chunks/Accordion-enn0479f.js",
1611
+ "chunks/Accordion-bfszt9f0.js",
1612
1612
  "chunks/Accordion-fcczvwgg.js",
1613
1613
  "chunks/Accordion-fre84yaq.js",
1614
1614
  "chunks/Accordion-nh0cs9hq.js",
@@ -1631,7 +1631,7 @@
1631
1631
  "chunks/Accordion-0x8jncra.js",
1632
1632
  "chunks/Accordion-58yzdsab.js",
1633
1633
  "chunks/Accordion-6wrr910w.js",
1634
- "chunks/Accordion-enn0479f.js",
1634
+ "chunks/Accordion-bfszt9f0.js",
1635
1635
  "chunks/Accordion-fcczvwgg.js",
1636
1636
  "chunks/Accordion-fre84yaq.js",
1637
1637
  "chunks/Accordion-nh0cs9hq.js",