@ankhorage/zora-tabletop 0.1.3 → 0.1.4

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
  # @ankhorage/zora-tabletop
2
2
 
3
+ ## 0.1.4
4
+
5
+ ### Patch Changes
6
+
7
+ - be36992: Keep Tabletop plugin placements compatible with the declared ZORA peer range by using only stable extension hosts shared by supported ZORA releases.
8
+
3
9
  ## 0.1.3
4
10
 
5
11
  ### Patch Changes
package/dist/plugin.d.ts CHANGED
@@ -268,10 +268,10 @@ export declare const ZORA_TABLETOP_PLUGIN: {
268
268
  };
269
269
  readonly placements: readonly [{
270
270
  readonly child: "PokerTrainingTable";
271
- readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection", "View"];
271
+ readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection"];
272
272
  }, {
273
273
  readonly child: "TabletopTable";
274
- readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection", "View"];
274
+ readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection"];
275
275
  }];
276
276
  };
277
277
  //# sourceMappingURL=plugin.d.ts.map
@@ -513,10 +513,10 @@ export declare const ZORA_PLUGIN_METADATA: {
513
513
  };
514
514
  readonly placements: readonly [{
515
515
  readonly child: "PokerTrainingTable";
516
- readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection", "View"];
516
+ readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection"];
517
517
  }, {
518
518
  readonly child: "TabletopTable";
519
- readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection", "View"];
519
+ readonly parents: readonly ["Card", "Grid", "Screen", "ScreenSection"];
520
520
  }];
521
521
  };
522
522
  //# sourceMappingURL=registry.d.ts.map
package/dist/registry.js CHANGED
@@ -4,7 +4,7 @@ export const ZORA_TABLETOP_COMPONENT_META = {
4
4
  PokerTrainingTable: pokerTrainingTableMeta,
5
5
  TabletopTable: tabletopTableMeta,
6
6
  };
7
- const TABLETOP_PLACEMENT_PARENTS = ['Card', 'Grid', 'Screen', 'ScreenSection', 'View'];
7
+ const TABLETOP_PLACEMENT_PARENTS = ['Card', 'Grid', 'Screen', 'ScreenSection'];
8
8
  export const ZORA_PLUGIN_METADATA = {
9
9
  packageName: '@ankhorage/zora-tabletop',
10
10
  displayName: 'ZORA Tabletop',
@@ -1 +1 @@
1
- {"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE3C,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,kBAAkB,EAAE,sBAAsB;IAC1C,aAAa,EAAE,iBAAiB;CACxB,CAAC;AAEX,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,EAAE,MAAM,CAAU,CAAC;AAEhG,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,4BAA4B;IAC3C,UAAU,EAAE;QACV;YACE,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EAAE,0BAA0B;SACpC;QACD;YACE,KAAK,EAAE,eAAe;YACtB,OAAO,EAAE,0BAA0B;SACpC;KACF;CACO,CAAC","sourcesContent":["import { pokerTrainingTableMeta } from './features/game-presentations/adapters/inbound/pokerTrainingTableMeta';\nimport { tabletopTableMeta } from './meta';\n\nexport const ZORA_TABLETOP_COMPONENT_META = {\n PokerTrainingTable: pokerTrainingTableMeta,\n TabletopTable: tabletopTableMeta,\n} as const;\n\nconst TABLETOP_PLACEMENT_PARENTS = ['Card', 'Grid', 'Screen', 'ScreenSection', 'View'] as const;\n\nexport const ZORA_PLUGIN_METADATA = {\n packageName: '@ankhorage/zora-tabletop',\n displayName: 'ZORA Tabletop',\n componentMeta: ZORA_TABLETOP_COMPONENT_META,\n placements: [\n {\n child: 'PokerTrainingTable',\n parents: TABLETOP_PLACEMENT_PARENTS,\n },\n {\n child: 'TabletopTable',\n parents: TABLETOP_PLACEMENT_PARENTS,\n },\n ],\n} as const;\n"]}
1
+ {"version":3,"file":"registry.js","sourceRoot":"","sources":["../src/registry.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,uEAAuE,CAAC;AAC/G,OAAO,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AAE3C,MAAM,CAAC,MAAM,4BAA4B,GAAG;IAC1C,kBAAkB,EAAE,sBAAsB;IAC1C,aAAa,EAAE,iBAAiB;CACxB,CAAC;AAEX,MAAM,0BAA0B,GAAG,CAAC,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,eAAe,CAAU,CAAC;AAExF,MAAM,CAAC,MAAM,oBAAoB,GAAG;IAClC,WAAW,EAAE,0BAA0B;IACvC,WAAW,EAAE,eAAe;IAC5B,aAAa,EAAE,4BAA4B;IAC3C,UAAU,EAAE;QACV;YACE,KAAK,EAAE,oBAAoB;YAC3B,OAAO,EAAE,0BAA0B;SACpC;QACD;YACE,KAAK,EAAE,eAAe;YACtB,OAAO,EAAE,0BAA0B;SACpC;KACF;CACO,CAAC","sourcesContent":["import { pokerTrainingTableMeta } from './features/game-presentations/adapters/inbound/pokerTrainingTableMeta';\nimport { tabletopTableMeta } from './meta';\n\nexport const ZORA_TABLETOP_COMPONENT_META = {\n PokerTrainingTable: pokerTrainingTableMeta,\n TabletopTable: tabletopTableMeta,\n} as const;\n\nconst TABLETOP_PLACEMENT_PARENTS = ['Card', 'Grid', 'Screen', 'ScreenSection'] as const;\n\nexport const ZORA_PLUGIN_METADATA = {\n packageName: '@ankhorage/zora-tabletop',\n displayName: 'ZORA Tabletop',\n componentMeta: ZORA_TABLETOP_COMPONENT_META,\n placements: [\n {\n child: 'PokerTrainingTable',\n parents: TABLETOP_PLACEMENT_PARENTS,\n },\n {\n child: 'TabletopTable',\n parents: TABLETOP_PLACEMENT_PARENTS,\n },\n ],\n} as const;\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora-tabletop",
3
3
  "type": "module",
4
- "version": "0.1.3",
4
+ "version": "0.1.4",
5
5
  "description": "Tabletop and card-game UI primitives for React Native and React Native Web, built on ZORA.",
6
6
  "homepage": "https://github.com/ankhorage/zora-tabletop#readme",
7
7
  "bugs": {
package/src/meta.test.ts CHANGED
@@ -54,14 +54,14 @@ describe('ZORA tabletop component metadata', () => {
54
54
  });
55
55
  });
56
56
 
57
- describe('ZORA 19 plugin composition', () => {
58
- test('uses only declared core extension hosts', () => {
57
+ describe('ZORA plugin composition', () => {
58
+ test('uses only stable declared extension hosts', () => {
59
59
  expect(() =>
60
60
  composeZoraPluginMetadata([ZORA_CORE_PLUGIN_METADATA, ZORA_PLUGIN_METADATA]),
61
61
  ).not.toThrow();
62
62
  expect(ZORA_PLUGIN_METADATA.placements.map((placement) => placement.parents)).toEqual([
63
- ['Card', 'Grid', 'Screen', 'ScreenSection', 'View'],
64
- ['Card', 'Grid', 'Screen', 'ScreenSection', 'View'],
63
+ ['Card', 'Grid', 'Screen', 'ScreenSection'],
64
+ ['Card', 'Grid', 'Screen', 'ScreenSection'],
65
65
  ]);
66
66
  });
67
67
  });
package/src/registry.ts CHANGED
@@ -6,7 +6,7 @@ export const ZORA_TABLETOP_COMPONENT_META = {
6
6
  TabletopTable: tabletopTableMeta,
7
7
  } as const;
8
8
 
9
- const TABLETOP_PLACEMENT_PARENTS = ['Card', 'Grid', 'Screen', 'ScreenSection', 'View'] as const;
9
+ const TABLETOP_PLACEMENT_PARENTS = ['Card', 'Grid', 'Screen', 'ScreenSection'] as const;
10
10
 
11
11
  export const ZORA_PLUGIN_METADATA = {
12
12
  packageName: '@ankhorage/zora-tabletop',