@ankhorage/zora 21.1.3 → 22.0.0

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.
Files changed (109) hide show
  1. package/CHANGELOG.md +14 -0
  2. package/README.md +4 -1
  3. package/dist/features/authoring/index.d.ts +0 -4
  4. package/dist/features/authoring/index.d.ts.map +1 -1
  5. package/dist/features/authoring/index.js +0 -3
  6. package/dist/features/authoring/index.js.map +1 -1
  7. package/dist/features/chess/adapters/inbound/ChessBoard.d.ts +1 -1
  8. package/dist/features/chess/adapters/inbound/ChessBoard.d.ts.map +1 -1
  9. package/dist/features/chess/adapters/inbound/ChessBoard.js +23 -7
  10. package/dist/features/chess/adapters/inbound/ChessBoard.js.map +1 -1
  11. package/dist/features/chess/meta.d.ts +68 -0
  12. package/dist/features/chess/meta.d.ts.map +1 -1
  13. package/dist/features/chess/meta.js +36 -1
  14. package/dist/features/chess/meta.js.map +1 -1
  15. package/dist/features/chess/public.d.ts +3 -1
  16. package/dist/features/chess/public.d.ts.map +1 -1
  17. package/dist/features/chess/public.js +2 -0
  18. package/dist/features/chess/public.js.map +1 -1
  19. package/dist/features/chess/utils/chessEngine.d.ts +8 -0
  20. package/dist/features/chess/utils/chessEngine.d.ts.map +1 -0
  21. package/dist/features/chess/utils/chessEngine.js +71 -0
  22. package/dist/features/chess/utils/chessEngine.js.map +1 -0
  23. package/dist/features/tabletop/meta.d.ts +32 -0
  24. package/dist/features/tabletop/meta.d.ts.map +1 -1
  25. package/dist/features/tabletop/meta.js +24 -0
  26. package/dist/features/tabletop/meta.js.map +1 -1
  27. package/dist/features/tabletop/public.d.ts +1 -0
  28. package/dist/features/tabletop/public.d.ts.map +1 -1
  29. package/dist/features/tabletop/public.js +1 -0
  30. package/dist/features/tabletop/public.js.map +1 -1
  31. package/dist/index.d.ts +4 -7
  32. package/dist/index.d.ts.map +1 -1
  33. package/dist/index.js +3 -5
  34. package/dist/index.js.map +1 -1
  35. package/dist/types/chess.d.ts +10 -0
  36. package/dist/types/chess.d.ts.map +1 -1
  37. package/dist/types/chess.js.map +1 -1
  38. package/package.json +7 -6
  39. package/src/features/authoring/featureManifest.test.ts +46 -10
  40. package/src/features/authoring/index.ts +0 -8
  41. package/src/features/chess/adapters/inbound/ChessBoard.tsx +34 -11
  42. package/src/features/chess/meta.ts +36 -1
  43. package/src/features/chess/public.test.tsx +83 -0
  44. package/src/features/chess/public.ts +3 -0
  45. package/src/features/chess/utils/chessEngine.test.ts +35 -0
  46. package/src/features/chess/utils/chessEngine.ts +83 -0
  47. package/src/features/chessTabletopOwnership.test.ts +8 -4
  48. package/src/features/tabletop/meta.ts +24 -0
  49. package/src/features/tabletop/public.test.tsx +12 -0
  50. package/src/features/tabletop/public.ts +1 -0
  51. package/src/index.ts +7 -15
  52. package/src/structureOwnership.test.ts +2 -7
  53. package/src/types/chess.ts +11 -0
  54. package/web-dist/chunks/Accordion-784f23tq.js +3813 -0
  55. package/web-dist/components/card-back/CardBack.js +1 -1
  56. package/web-dist/components/card-hand/CardHand.js +1 -1
  57. package/web-dist/components/chess-board/ChessBoard.js +1 -1
  58. package/web-dist/components/opening-book/OpeningBook.js +1 -1
  59. package/web-dist/components/playing-card/PlayingCard.js +1 -1
  60. package/web-dist/components/poker-training-table/PokerTrainingTable.js +1 -1
  61. package/web-dist/components/tabletop-table/TabletopTable.js +1 -1
  62. package/web-dist/manifest.json +12 -24
  63. package/dist/features/plugin/ZORA_CORE_PLUGIN.d.ts +0 -4
  64. package/dist/features/plugin/ZORA_CORE_PLUGIN.d.ts.map +0 -1
  65. package/dist/features/plugin/ZORA_CORE_PLUGIN.js +0 -8
  66. package/dist/features/plugin/ZORA_CORE_PLUGIN.js.map +0 -1
  67. package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.d.ts +0 -3
  68. package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.d.ts.map +0 -1
  69. package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.js +0 -36
  70. package/dist/features/plugin/ZORA_CORE_PLUGIN_METADATA.js.map +0 -1
  71. package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.d.ts +0 -4
  72. package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.d.ts.map +0 -1
  73. package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.js +0 -106
  74. package/dist/features/plugin/application/use-cases/composeZoraPluginMetadata.js.map +0 -1
  75. package/dist/features/plugin/application/use-cases/composeZoraPlugins.d.ts +0 -4
  76. package/dist/features/plugin/application/use-cases/composeZoraPlugins.d.ts.map +0 -1
  77. package/dist/features/plugin/application/use-cases/composeZoraPlugins.js +0 -41
  78. package/dist/features/plugin/application/use-cases/composeZoraPlugins.js.map +0 -1
  79. package/dist/features/plugin/domain/ZoraPluginCompositionError.d.ts +0 -14
  80. package/dist/features/plugin/domain/ZoraPluginCompositionError.d.ts.map +0 -1
  81. package/dist/features/plugin/domain/ZoraPluginCompositionError.js +0 -14
  82. package/dist/features/plugin/domain/ZoraPluginCompositionError.js.map +0 -1
  83. package/dist/features/plugin/public.d.ts +0 -4
  84. package/dist/features/plugin/public.d.ts.map +0 -1
  85. package/dist/features/plugin/public.js +0 -4
  86. package/dist/features/plugin/public.js.map +0 -1
  87. package/dist/features/plugin/runtime.d.ts +0 -3
  88. package/dist/features/plugin/runtime.d.ts.map +0 -1
  89. package/dist/features/plugin/runtime.js +0 -3
  90. package/dist/features/plugin/runtime.js.map +0 -1
  91. package/dist/types/plugin.d.ts +0 -29
  92. package/dist/types/plugin.d.ts.map +0 -1
  93. package/dist/types/plugin.js +0 -2
  94. package/dist/types/plugin.js.map +0 -1
  95. package/src/features/plugin/ZORA_CORE_PLUGIN.ts +0 -9
  96. package/src/features/plugin/ZORA_CORE_PLUGIN_METADATA.ts +0 -49
  97. package/src/features/plugin/application/use-cases/composeZoraPluginMetadata.ts +0 -166
  98. package/src/features/plugin/application/use-cases/composeZoraPlugins.ts +0 -76
  99. package/src/features/plugin/domain/ZoraPluginCompositionError.ts +0 -21
  100. package/src/features/plugin/pluginComposition.test.ts +0 -139
  101. package/src/features/plugin/public.ts +0 -3
  102. package/src/features/plugin/runtime.ts +0 -2
  103. package/src/types/plugin.ts +0 -43
  104. package/web-dist/chunks/Accordion-86z2tvvz.js +0 -321
  105. package/web-dist/components/zora-plugin-composition-error/ZoraPluginCompositionError.d.ts +0 -3
  106. package/web-dist/components/zora-plugin-composition-error/ZoraPluginCompositionError.js +0 -17
  107. package/web-dist/components/zora-plugin-composition-error/index.d.ts +0 -1
  108. package/web-dist/components/zora-plugin-composition-error/index.js +0 -2
  109. /package/web-dist/chunks/{Accordion-57mn1j9e.js → Accordion-z585n0mr.js} +0 -0
@@ -113,6 +113,24 @@ export const tabletopTableMeta = {
113
113
  acceptsFallback: true,
114
114
  acceptsTransforms: true,
115
115
  },
116
+ centerLabel: {
117
+ label: 'Center label',
118
+ value: { type: 'string' },
119
+ acceptsFallback: true,
120
+ acceptsTransforms: true,
121
+ },
122
+ centerSublabel: {
123
+ label: 'Center sublabel',
124
+ value: { type: 'string' },
125
+ acceptsFallback: true,
126
+ acceptsTransforms: true,
127
+ },
128
+ disabled: {
129
+ label: 'Disabled',
130
+ value: { type: 'boolean' },
131
+ acceptsFallback: true,
132
+ acceptsTransforms: true,
133
+ },
116
134
  },
117
135
  },
118
136
  props: {
@@ -208,6 +226,12 @@ export const pokerTrainingTableMeta = {
208
226
  },
209
227
  acceptsFallback: true,
210
228
  },
229
+ disabled: {
230
+ label: 'Disabled',
231
+ value: { type: 'boolean' },
232
+ acceptsFallback: true,
233
+ acceptsTransforms: true,
234
+ },
211
235
  },
212
236
  },
213
237
  props: {
@@ -1 +1 @@
1
- {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/features/tabletop/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,qCAAqC;IAClD,kBAA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E,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC;YACnC,OAAO,EAAE,MAAM;YACf,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;YAClC,OAAO,EAAE,OAAO;YAChB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,kBAAkB,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,eAAe;YACzB,KAAK,EAAE,qBAAqB;YAC5B,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const cardBackMeta = {\n name: 'CardBack',\n category: 'component',\n description: 'Renders one face-down playing card.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: { label: 'Card back', defaultProps: { size: 'medium' } },\n props: {\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n muted: {\n type: 'boolean',\n category: 'State',\n label: 'Muted',\n default: false,\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const cardHandMeta = {\n name: 'CardHand',\n category: 'component',\n description: 'Renders a compact caller-owned card hand.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public hand primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: { label: 'Card hand', defaultProps: { cards: [], faceDownCards: 0, size: 'medium' } },\n props: {\n cards: {\n type: 'array',\n category: 'Cards',\n label: 'Cards',\n default: [],\n authoring: { authority: 'instance' },\n },\n faceDownCards: {\n type: 'number',\n category: 'Cards',\n label: 'Face-down cards',\n default: 0,\n authoring: { authority: 'instance' },\n },\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const playingCardMeta = {\n name: 'PlayingCard',\n category: 'component',\n description: 'Renders one face-up caller-owned playing card.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: {\n label: 'Playing card',\n defaultProps: { card: { rank: 'A', suit: 'spades' }, size: 'medium' },\n },\n bindings: {\n props: { card: { label: 'Card', value: { type: 'object' }, acceptsFallback: true } },\n },\n props: {\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n selected: {\n type: 'boolean',\n category: 'State',\n label: 'Selected',\n default: false,\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const tabletopTableMeta = {\n name: 'TabletopTable',\n category: 'component',\n description:\n 'Arranges caller-owned player seats and shared cards around a responsive tabletop surface.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Tabletop table',\n defaultProps: { seats: [], centerCards: [], shape: 'oval', cardSize: 'small' },\n },\n bindings: {\n props: {\n seats: {\n label: 'Seats',\n value: { type: 'array', itemType: 'object' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n centerCards: {\n label: 'Center cards',\n value: { type: 'array', itemType: 'object' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n seats: {\n type: 'array',\n category: 'Players',\n label: 'Seats',\n default: [],\n authoring: { authority: 'instance' },\n },\n centerCards: {\n type: 'array',\n category: 'Table',\n label: 'Center cards',\n default: [],\n authoring: { authority: 'instance' },\n },\n centerLabel: {\n type: 'string',\n category: 'Table',\n label: 'Center label',\n authoring: { authority: 'instance' },\n },\n centerSublabel: {\n type: 'string',\n category: 'Table',\n label: 'Center sublabel',\n authoring: { authority: 'instance' },\n },\n shape: {\n type: 'enum',\n category: 'Table',\n label: 'Shape',\n enum: ['circle', 'oval', 'rounded'],\n default: 'oval',\n authoring: { authority: 'instance' },\n },\n seatCount: {\n type: 'enum',\n category: 'Players',\n label: 'Seat count',\n enum: [2, 3, 4, 5, 6, 7, 8, 9, 10],\n authoring: { authority: 'instance' },\n },\n cardSize: {\n type: 'enum',\n category: 'Cards',\n label: 'Card size',\n enum: ['small', 'medium', 'large'],\n default: 'small',\n authoring: { authority: 'instance' },\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n authoring: { authority: 'instance' },\n },\n accessibilityLabel: {\n type: 'string',\n category: 'Accessibility',\n label: 'Accessibility label',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const pokerTrainingTableMeta = {\n name: 'PokerTrainingTable',\n category: 'pattern',\n description: 'Maps serializable poker table data into the reusable tabletop presentation.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Poker training table',\n defaultProps: { task: {}, defaultStackBigBlinds: 100, shape: 'oval', cardSize: 'small' },\n },\n bindings: {\n props: {\n task: {\n label: 'Poker training task',\n description: 'Table-relevant fields from a poker training task.',\n value: {\n type: 'object',\n fields: [\n { path: 'blinds', type: 'object', label: 'Blinds' },\n { path: 'heroPosition', type: 'string', label: 'Hero position' },\n { path: 'heroCards', type: 'array', label: 'Hero cards' },\n { path: 'communityCards', type: 'array', label: 'Community cards' },\n { path: 'pot', type: 'number', label: 'Pot' },\n { path: 'players', type: 'array', label: 'Players' },\n ],\n },\n acceptsFallback: true,\n },\n },\n },\n props: {\n defaultStackBigBlinds: {\n type: 'number',\n category: 'Players',\n label: 'Default stack in big blinds',\n default: 100,\n authoring: { authority: 'instance' },\n },\n shape: {\n type: 'enum',\n category: 'Table',\n label: 'Shape',\n enum: ['circle', 'oval', 'rounded'],\n default: 'oval',\n authoring: { authority: 'instance' },\n },\n cardSize: {\n type: 'enum',\n category: 'Cards',\n label: 'Card size',\n enum: ['small', 'medium', 'large'],\n default: 'small',\n authoring: { authority: 'instance' },\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n authoring: { authority: 'instance' },\n },\n accessibilityLabel: {\n type: 'string',\n category: 'Accessibility',\n label: 'Accessibility label',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
1
+ {"version":3,"file":"meta.js","sourceRoot":"","sources":["../../../src/features/tabletop/meta.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,YAAY,GAAG;IAC1B,IAAI,EAAE,UAAU;IAChB,QAAQ,EAAE,WAAW;IACrB,WAAW,EAAE,qCAAqC;IAClD,kBAAkB,EAAE,KAAK;IACzB,eAAe,EAAE,EAAE;IACnB,IAAI,EAAE,gGAAgG;IACtG,SAAS,EAAE,EAAE,KAAK,EAAE,WAAW,EAAE,YAAY,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE;IACnE,KAAK,EAAE;QACL,IAAI,EAAE;YACJ,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,MAAM;YACb,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;YAClC,OAAO,EAAE,QAAQ;YACjB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,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B,iBAAiB,EAAE,IAAI;aACxB;SACF;KACF;IACD,KAAK,EAAE;QACL,qBAAqB,EAAE;YACrB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,SAAS;YACnB,KAAK,EAAE,6BAA6B;YACpC,OAAO,EAAE,GAAG;YACZ,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,KAAK,EAAE;YACL,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,OAAO;YACd,IAAI,EAAE,CAAC,QAAQ,EAAE,MAAM,EAAE,SAAS,CAAC;YACnC,OAAO,EAAE,MAAM;YACf,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,MAAM;YACZ,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,WAAW;YAClB,IAAI,EAAE,CAAC,OAAO,EAAE,QAAQ,EAAE,OAAO,CAAC;YAClC,OAAO,EAAE,OAAO;YAChB,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,QAAQ,EAAE;YACR,IAAI,EAAE,SAAS;YACf,QAAQ,EAAE,OAAO;YACjB,KAAK,EAAE,UAAU;YACjB,OAAO,EAAE,KAAK;YACd,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;QACD,kBAAkB,EAAE;YAClB,IAAI,EAAE,QAAQ;YACd,QAAQ,EAAE,eAAe;YACzB,KAAK,EAAE,qBAAqB;YAC5B,SAAS,EAAE,EAAE,SAAS,EAAE,UAAU,EAAE;SACrC;KACF;CACmC,CAAC","sourcesContent":["import type { ZoraComponentMeta } from '../../types/authoring';\n\nexport const cardBackMeta = {\n name: 'CardBack',\n category: 'component',\n description: 'Renders one face-down playing card.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: { label: 'Card back', defaultProps: { size: 'medium' } },\n props: {\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n muted: {\n type: 'boolean',\n category: 'State',\n label: 'Muted',\n default: false,\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const cardHandMeta = {\n name: 'CardHand',\n category: 'component',\n description: 'Renders a compact caller-owned card hand.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public hand primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: { label: 'Card hand', defaultProps: { cards: [], faceDownCards: 0, size: 'medium' } },\n props: {\n cards: {\n type: 'array',\n category: 'Cards',\n label: 'Cards',\n default: [],\n authoring: { authority: 'instance' },\n },\n faceDownCards: {\n type: 'number',\n category: 'Cards',\n label: 'Face-down cards',\n default: 0,\n authoring: { authority: 'instance' },\n },\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const playingCardMeta = {\n name: 'PlayingCard',\n category: 'component',\n description: 'Renders one face-up caller-owned playing card.',\n directManifestNode: false,\n allowedChildren: [],\n note: 'Public card primitive composed by code-facing tabletop components, not a direct manifest node.',\n blueprint: {\n label: 'Playing card',\n defaultProps: { card: { rank: 'A', suit: 'spades' }, size: 'medium' },\n },\n bindings: {\n props: { card: { label: 'Card', value: { type: 'object' }, acceptsFallback: true } },\n },\n props: {\n size: {\n type: 'enum',\n category: 'Style',\n label: 'Size',\n enum: ['small', 'medium', 'large'],\n default: 'medium',\n authoring: { authority: 'instance' },\n },\n selected: {\n type: 'boolean',\n category: 'State',\n label: 'Selected',\n default: false,\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const tabletopTableMeta = {\n name: 'TabletopTable',\n category: 'component',\n description:\n 'Arranges caller-owned player seats and shared cards around a responsive tabletop surface.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Tabletop table',\n defaultProps: { seats: [], centerCards: [], shape: 'oval', cardSize: 'small' },\n },\n bindings: {\n props: {\n seats: {\n label: 'Seats',\n value: { type: 'array', itemType: 'object' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n centerCards: {\n label: 'Center cards',\n value: { type: 'array', itemType: 'object' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n centerLabel: {\n label: 'Center label',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n centerSublabel: {\n label: 'Center sublabel',\n value: { type: 'string' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n disabled: {\n label: 'Disabled',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n seats: {\n type: 'array',\n category: 'Players',\n label: 'Seats',\n default: [],\n authoring: { authority: 'instance' },\n },\n centerCards: {\n type: 'array',\n category: 'Table',\n label: 'Center cards',\n default: [],\n authoring: { authority: 'instance' },\n },\n centerLabel: {\n type: 'string',\n category: 'Table',\n label: 'Center label',\n authoring: { authority: 'instance' },\n },\n centerSublabel: {\n type: 'string',\n category: 'Table',\n label: 'Center sublabel',\n authoring: { authority: 'instance' },\n },\n shape: {\n type: 'enum',\n category: 'Table',\n label: 'Shape',\n enum: ['circle', 'oval', 'rounded'],\n default: 'oval',\n authoring: { authority: 'instance' },\n },\n seatCount: {\n type: 'enum',\n category: 'Players',\n label: 'Seat count',\n enum: [2, 3, 4, 5, 6, 7, 8, 9, 10],\n authoring: { authority: 'instance' },\n },\n cardSize: {\n type: 'enum',\n category: 'Cards',\n label: 'Card size',\n enum: ['small', 'medium', 'large'],\n default: 'small',\n authoring: { authority: 'instance' },\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n authoring: { authority: 'instance' },\n },\n accessibilityLabel: {\n type: 'string',\n category: 'Accessibility',\n label: 'Accessibility label',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\nexport const pokerTrainingTableMeta = {\n name: 'PokerTrainingTable',\n category: 'pattern',\n description: 'Maps serializable poker table data into the reusable tabletop presentation.',\n directManifestNode: true,\n allowedChildren: [],\n blueprint: {\n label: 'Poker training table',\n defaultProps: { task: {}, defaultStackBigBlinds: 100, shape: 'oval', cardSize: 'small' },\n },\n bindings: {\n props: {\n task: {\n label: 'Poker training task',\n description: 'Table-relevant fields from a poker training task.',\n value: {\n type: 'object',\n fields: [\n { path: 'blinds', type: 'object', label: 'Blinds' },\n { path: 'heroPosition', type: 'string', label: 'Hero position' },\n { path: 'heroCards', type: 'array', label: 'Hero cards' },\n { path: 'communityCards', type: 'array', label: 'Community cards' },\n { path: 'pot', type: 'number', label: 'Pot' },\n { path: 'players', type: 'array', label: 'Players' },\n ],\n },\n acceptsFallback: true,\n },\n disabled: {\n label: 'Disabled',\n value: { type: 'boolean' },\n acceptsFallback: true,\n acceptsTransforms: true,\n },\n },\n },\n props: {\n defaultStackBigBlinds: {\n type: 'number',\n category: 'Players',\n label: 'Default stack in big blinds',\n default: 100,\n authoring: { authority: 'instance' },\n },\n shape: {\n type: 'enum',\n category: 'Table',\n label: 'Shape',\n enum: ['circle', 'oval', 'rounded'],\n default: 'oval',\n authoring: { authority: 'instance' },\n },\n cardSize: {\n type: 'enum',\n category: 'Cards',\n label: 'Card size',\n enum: ['small', 'medium', 'large'],\n default: 'small',\n authoring: { authority: 'instance' },\n },\n disabled: {\n type: 'boolean',\n category: 'State',\n label: 'Disabled',\n default: false,\n authoring: { authority: 'instance' },\n },\n accessibilityLabel: {\n type: 'string',\n category: 'Accessibility',\n label: 'Accessibility label',\n authoring: { authority: 'instance' },\n },\n },\n} as const satisfies ZoraComponentMeta;\n"]}
@@ -4,6 +4,7 @@ export { CardHand } from './adapters/inbound/CardHand';
4
4
  export { PlayingCard } from './adapters/inbound/PlayingCard';
5
5
  export { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';
6
6
  export { TabletopTable } from './adapters/inbound/TabletopTable';
7
+ export { pokerTrainingTableMeta, tabletopTableMeta } from './meta';
7
8
  export { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';
8
9
  export { createTabletopColorScheme } from './utils/createTabletopColorScheme';
9
10
  export { createTabletopGameSeats } from './utils/createTabletopGameSeats';
@@ -1 +1 @@
1
- {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/tabletop/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,aAAa,EACb,oCAAoC,EACpC,4BAA4B,EAC5B,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC"}
1
+ {"version":3,"file":"public.d.ts","sourceRoot":"","sources":["../../../src/features/tabletop/public.ts"],"names":[],"mappings":"AAAA,YAAY,EACV,aAAa,EACb,aAAa,EACb,oCAAoC,EACpC,4BAA4B,EAC5B,gBAAgB,EAChB,eAAe,EACf,gBAAgB,EAChB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,0BAA0B,EAC1B,gBAAgB,EAChB,sBAAsB,EACtB,mBAAmB,EACnB,4BAA4B,EAC5B,0BAA0B,EAC1B,4BAA4B,EAC5B,iBAAiB,EACjB,iBAAiB,EACjB,aAAa,EACb,kBAAkB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC"}
@@ -3,6 +3,7 @@ export { CardHand } from './adapters/inbound/CardHand';
3
3
  export { PlayingCard } from './adapters/inbound/PlayingCard';
4
4
  export { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';
5
5
  export { TabletopTable } from './adapters/inbound/TabletopTable';
6
+ export { pokerTrainingTableMeta, tabletopTableMeta } from './meta';
6
7
  export { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';
7
8
  export { createTabletopColorScheme } from './utils/createTabletopColorScheme';
8
9
  export { createTabletopGameSeats } from './utils/createTabletopGameSeats';
@@ -1 +1 @@
1
- {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/tabletop/public.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC","sourcesContent":["export type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from '../../types/tabletop';\nexport { CardBack } from './adapters/inbound/CardBack';\nexport { CardHand } from './adapters/inbound/CardHand';\nexport { PlayingCard } from './adapters/inbound/PlayingCard';\nexport { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';\nexport { TabletopTable } from './adapters/inbound/TabletopTable';\nexport { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';\nexport { createTabletopColorScheme } from './utils/createTabletopColorScheme';\nexport { createTabletopGameSeats } from './utils/createTabletopGameSeats';\n"]}
1
+ {"version":3,"file":"public.js","sourceRoot":"","sources":["../../../src/features/tabletop/public.ts"],"names":[],"mappings":"AAwBA,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACvD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,MAAM,uCAAuC,CAAC;AAC3E,OAAO,EAAE,aAAa,EAAE,MAAM,kCAAkC,CAAC;AACjE,OAAO,EAAE,sBAAsB,EAAE,iBAAiB,EAAE,MAAM,QAAQ,CAAC;AACnE,OAAO,EAAE,6BAA6B,EAAE,MAAM,uCAAuC,CAAC;AACtF,OAAO,EAAE,yBAAyB,EAAE,MAAM,mCAAmC,CAAC;AAC9E,OAAO,EAAE,uBAAuB,EAAE,MAAM,iCAAiC,CAAC","sourcesContent":["export type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from '../../types/tabletop';\nexport { CardBack } from './adapters/inbound/CardBack';\nexport { CardHand } from './adapters/inbound/CardHand';\nexport { PlayingCard } from './adapters/inbound/PlayingCard';\nexport { PokerTrainingTable } from './adapters/inbound/PokerTrainingTable';\nexport { TabletopTable } from './adapters/inbound/TabletopTable';\nexport { pokerTrainingTableMeta, tabletopTableMeta } from './meta';\nexport { createPokerTrainingTableState } from './utils/createPokerTrainingTableState';\nexport { createTabletopColorScheme } from './utils/createTabletopColorScheme';\nexport { createTabletopGameSeats } from './utils/createTabletopGameSeats';\n"]}
package/dist/index.d.ts CHANGED
@@ -33,10 +33,10 @@ export { PostCard } from './features/card/public';
33
33
  export { ProductCard } from './features/card/public';
34
34
  export type { ChatListAvatar, ChatListItemProps, MessageBubbleAuthor, MessageBubbleAvatar, MessageBubbleDirection, MessageBubbleProps, MessageBubbleStatus, } from './features/chat/public';
35
35
  export { ChatListItem, MessageBubble } from './features/chat/public';
36
- export type { ChessBoardColorOverrides, ChessBoardColorScheme, ChessBoardOrientation, ChessBoardProps, ChessMoveAttempt, ChessPieceCode, ChessPieceRenderContext, ChessPieceRenderer, ChessPieceState, ChessPromotionPiece, ChessSquareId, OpeningBookColorOverrides, OpeningBookColorScheme, OpeningBookMove, OpeningBookProps, } from './features/chess/public';
36
+ export type { ChessBoardColorOverrides, ChessBoardColorScheme, ChessBoardOrientation, ChessBoardProps, ChessMoveAttempt, ChessMoveResult, ChessPieceCode, ChessPieceRenderContext, ChessPieceRenderer, ChessPieceState, ChessPromotionPiece, ChessSquareId, OpeningBookColorOverrides, OpeningBookColorScheme, OpeningBookMove, OpeningBookProps, } from './features/chess/public';
37
37
  export type { ChessColorThemeShape } from './features/chess/public';
38
- export { ChessBoard, OpeningBook } from './features/chess/public';
39
- export { chessSquares, createBoardSquares, createChessBoardColorScheme, createOpeningBookColorScheme, getSquareFile, getSquareRank, isLightSquare, } from './features/chess/public';
38
+ export { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';
39
+ export { chessSquares, createBoardSquares, createChessBoardColorScheme, createOpeningBookColorScheme, getLegalTargets, getSquareFile, getSquareRank, isLightSquare, readChessPieces, tryMove, } from './features/chess/public';
40
40
  export type { ChipProps } from './features/chip/public';
41
41
  export type { ChipGroupItem, ChipGroupProps } from './features/chip/public';
42
42
  export { Chip } from './features/chip/public';
@@ -78,8 +78,6 @@ export { MissingElement, type MissingElementProps } from './features/missing-ele
78
78
  export { Pagination, type PaginationProps } from './features/pagination/public';
79
79
  export type { PaletteItemProps } from './features/palette-item/public';
80
80
  export { PaletteItem } from './features/palette-item/public';
81
- export { composeZoraPluginMetadata, ZORA_CORE_PLUGIN_METADATA, ZoraPluginCompositionError, } from './features/plugin/public';
82
- export { composeZoraPlugins, ZORA_CORE_PLUGIN } from './features/plugin/runtime';
83
81
  export { PopoverMenu, type PopoverMenuAction, type PopoverMenuActionIntent, type PopoverMenuProps, } from './features/popover-menu/public';
84
82
  export { Progress, type ProgressProps, ProgressRing, type ProgressRingProps, } from './features/progress/public';
85
83
  export { Rating, type RatingProps } from './features/rating/public';
@@ -95,7 +93,7 @@ export { Skeleton, SkeletonCard, type SkeletonCardProps, type SkeletonDimension,
95
93
  export type { SurfaceProps, SurfaceVariant } from './features/surface/public';
96
94
  export { Surface } from './features/surface/public';
97
95
  export type { CardBackProps, CardHandProps, CreatePokerTrainingTableStateOptions, CreateTabletopGameSeatsInput, PlayingCardProps, PlayingCardSuit, PlayingCardValue, PokerTrainingPlayer, PokerTrainingTableProps, PokerTrainingTableSize, PokerTrainingTableState, PokerTrainingTaskTableData, TabletopCardSize, TabletopColorOverrides, TabletopColorScheme, TabletopGameParticipantState, TabletopGameSeatDefinition, TabletopGameSeatPresentation, TabletopSeatCount, TabletopSeatState, TabletopShape, TabletopTableProps, } from './features/tabletop/public';
98
- export { CardBack, CardHand, createPokerTrainingTableState, createTabletopColorScheme, createTabletopGameSeats, PlayingCard, PokerTrainingTable, TabletopTable, } from './features/tabletop/public';
96
+ export { CardBack, CardHand, createPokerTrainingTableState, createTabletopColorScheme, createTabletopGameSeats, PlayingCard, PokerTrainingTable, pokerTrainingTableMeta, TabletopTable, tabletopTableMeta, } from './features/tabletop/public';
99
97
  export { Tab, TabList, type TabListProps, TabPanel, type TabPanelProps, type TabProps, Tabs, type TabsProps, } from './features/tabs/public';
100
98
  export type { ZoraColor, ZoraEmphasis, ZoraPaletteColor, ZoraStatusColor, } from './features/theme/colorModel';
101
99
  export { ZORA_COLORS, ZORA_EMPHASES, ZORA_PALETTE_COLORS, ZORA_STATUS_COLORS, } from './features/theme/colorModel';
@@ -115,6 +113,5 @@ export { Heading } from './features/typography/public';
115
113
  export { Text } from './features/typography/public';
116
114
  export type { UploadAsset, UploadAssetBase, UploaderProps, UploadProgressContext, UploadType, ValidateUploadAssetInput, } from './features/uploader/public';
117
115
  export { Uploader, validateUploadAsset } from './features/uploader/public';
118
- export type { ComposedZoraPluginCatalog, ComposedZoraPluginMetadataCatalog, ZoraPluginCompositionErrorCode, ZoraPluginDescriptor, ZoraPluginMetadata, ZoraPluginPlacement, } from './types/plugin';
119
116
  export type { ZoraComponentRegistry } from './types/registry';
120
117
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,EACb,KAAK,kBAAkB,EACvB,KAAK,aAAa,EAClB,KAAK,sBAAsB,EAC3B,KAAK,cAAc,EACnB,KAAK,oBAAoB,GAC1B,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,sCAAsC,CAAC;AAC9C,YAAY,EAAE,UAAU,EAAE,kBAAkB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAC7F,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,YAAY,EACV,iBAAiB,EACjB,kBAAkB,EAClB,uBAAuB,EACvB,wBAAwB,EACxB,wBAAwB,EACxB,qBAAqB,EACrB,iBAAiB,EACjB,uBAAuB,EACvB,sBAAsB,EACtB,YAAY,EACZ,aAAa,EACb,eAAe,EACf,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,gBAAgB,GACjB,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AAChC,YAAY,EACV,yBAAyB,EACzB,sBAAsB,EACtB,qBAAqB,EACrB,sBAAsB,EACtB,kCAAkC,EAClC,kCAAkC,EAClC,6BAA6B,EAC7B,qBAAqB,EACrB,2BAA2B,EAC3B,iBAA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AA2B,CAAC;AACvE,YAAY,EAAE,YAAY,EAAE,mBAAmB,EAAE,aAAa,EAAE,MAAM,6BAA6B,CAAC;AACpG,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AACjE,YAAY,EACV,YAAY,EACZ,YAAY,EACZ,eAAe,EACf,YAAY,EACZ,YAAY,EACZ,WAAW,EACX,aAAa,GACd,MAAM,8BAA8B,CAAC;AACtC,YAAY,EACV,SAAS,EACT,SAAS,EACT,YAAY,EACZ,SAAS,EACT,WAAW,EACX,UAAU,GACX,MAAM,8BAA8B,CAAC;AACtC,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AACpD,YAAY,EACV,WAAW,EACX,eAAe,EACf,aAAa,EACb,qBAAqB,EACrB,UAAU,EACV,wBAAwB,GACzB,MAAM,4BAA4B,CAAC;AACpC,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC;AAC3E,YAAY,EAAE,qBAAqB,EAAE,MAAM,kBAAkB,CAAC"}
package/dist/index.js CHANGED
@@ -17,8 +17,8 @@ export { MetricCard } from './features/card/public';
17
17
  export { PostCard } from './features/card/public';
18
18
  export { ProductCard } from './features/card/public';
19
19
  export { ChatListItem, MessageBubble } from './features/chat/public';
20
- export { ChessBoard, OpeningBook } from './features/chess/public';
21
- export { chessSquares, createBoardSquares, createChessBoardColorScheme, createOpeningBookColorScheme, getSquareFile, getSquareRank, isLightSquare, } from './features/chess/public';
20
+ export { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';
21
+ export { chessSquares, createBoardSquares, createChessBoardColorScheme, createOpeningBookColorScheme, getLegalTargets, getSquareFile, getSquareRank, isLightSquare, readChessPieces, tryMove, } from './features/chess/public';
22
22
  export { Chip } from './features/chip/public';
23
23
  export { ChipGroup } from './features/chip/public';
24
24
  export { CollectionEditor } from './features/collection-editor/public';
@@ -46,8 +46,6 @@ export { List, ListItem, ListSection } from './features/list/public';
46
46
  export { MissingElement } from './features/missing-element/public';
47
47
  export { Pagination } from './features/pagination/public';
48
48
  export { PaletteItem } from './features/palette-item/public';
49
- export { composeZoraPluginMetadata, ZORA_CORE_PLUGIN_METADATA, ZoraPluginCompositionError, } from './features/plugin/public';
50
- export { composeZoraPlugins, ZORA_CORE_PLUGIN } from './features/plugin/runtime';
51
49
  export { PopoverMenu, } from './features/popover-menu/public';
52
50
  export { Progress, ProgressRing, } from './features/progress/public';
53
51
  export { Rating } from './features/rating/public';
@@ -58,7 +56,7 @@ export { ScreenSection, SectionHeader, } from './features/section/public';
58
56
  export { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';
59
57
  export { Skeleton, SkeletonCard, SkeletonList, SkeletonText, } from './features/skeleton/public';
60
58
  export { Surface } from './features/surface/public';
61
- export { CardBack, CardHand, createPokerTrainingTableState, createTabletopColorScheme, createTabletopGameSeats, PlayingCard, PokerTrainingTable, TabletopTable, } from './features/tabletop/public';
59
+ export { CardBack, CardHand, createPokerTrainingTableState, createTabletopColorScheme, createTabletopGameSeats, PlayingCard, PokerTrainingTable, pokerTrainingTableMeta, TabletopTable, tabletopTableMeta, } from './features/tabletop/public';
62
60
  export { Tab, TabList, TabPanel, Tabs, } from './features/tabs/public';
63
61
  export { ZORA_COLORS, ZORA_EMPHASES, ZORA_PALETTE_COLORS, ZORA_STATUS_COLORS, } from './features/theme/colorModel';
64
62
  export * from './features/theme/public';
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,GAMd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAmBnD,OAAO,EACL,4BAA4B,EAC5B,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ACzB,uBAAuB,EACvB,WAAW,EACX,kBAAkB,EAClB,aAAa,GACd,MAAM,4BAA4B,CAAC;AACpC,OAAO,EACL,GAAG,EACH,OAAO,EAEP,QAAQ,EAGR,IAAI,GAEL,MAAM,wBAAwB,CAAC;AAOhC,OAAO,EACL,WAAW,EACX,aAAa,EACb,mBAAmB,EACnB,kBAAkB,GACnB,MAAM,6BAA6B,CAAC;AACrC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,OAAO,EACL,UAAU,GAGX,MAAM,+BAA+B,CAAC;AAEvC,OAAO,EAAE,QAAQ,EAAE,MAAM,4BAA4B,CAAC;AAQtD,OAAO,EAAE,KAAK,EAAE,aAAa,EAAE,QAAQ,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,EAAE,OAAO,EAAqB,MAAM,2BAA2B,CAAC;AAEvE,OAAO,EAAE,QAAQ,EAAE,QAAQ,EAAE,MAAM,6BAA6B,CAAC;AAkBjE,OAAO,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AACvD,OAAO,EAAE,IAAI,EAAE,MAAM,8BAA8B,CAAC;AASpD,OAAO,EAAE,QAAQ,EAAE,mBAAmB,EAAE,MAAM,4BAA4B,CAAC","sourcesContent":["export {\n Accordion,\n AccordionItem,\n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/authoring';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/authoring';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n ChessPromotionPiece,\n ChessSquareId,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, OpeningBook } from './features/chess/public';\nexport {\n chessSquares,\n createBoardSquares,\n createChessBoardColorScheme,\n createOpeningBookColorScheme,\n getSquareFile,\n getSquareRank,\n isLightSquare,\n} from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n composeZoraPluginMetadata,\n ZORA_CORE_PLUGIN_METADATA,\n ZoraPluginCompositionError,\n} from './features/plugin/public';\nexport { composeZoraPlugins, ZORA_CORE_PLUGIN } from './features/plugin/runtime';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderResolvedSource,\n ReaderStatus,\n ReaderSurfaceProps,\n} from './features/reader/public';\nexport { ReaderSurface, resolveReaderProgress } from './features/reader/public';\nexport { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n TabletopTable,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type { TimelineItem, TimelineProps } from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type {\n ComposedZoraPluginCatalog,\n ComposedZoraPluginMetadataCatalog,\n ZoraPluginCompositionErrorCode,\n ZoraPluginDescriptor,\n ZoraPluginMetadata,\n ZoraPluginPlacement,\n} from './types/plugin';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,SAAS,EACT,aAAa,GAMd,MAAM,6BAA6B,CAAC;AACrC,OAAO,EACL,iBAAiB,GAElB,MAAM,sCAAsC,CAAC;AAE9C,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AAmBnD,OAAO,EACL,4BAA4B,EAC5B,kBAAkB,EAClB,mBAAmB,EACnB,iBAAiB,EACjB,OAAO,EACP,wBAAwB,EACxB,yBAAyB,EACzB,UAAU,EACV,UAAU,GACX,MAAM,wBAAwB,CAAC;AA4BhC,OAAO,EACL,4BAA4B,EAC5B,mBAAmB,EACnB,sBAAsB,EACtB,yBAAyB,GAC1B,MAAM,sBAAsB,CAAC;AAG9B,OAAO,EAAE,MAAM,EAAE,qBAAqB,EAAE,MAAM,0BAA0B,CAAC;AACzE,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AAEvD,OAAO,EAAE,KAAK,EAAE,MAAM,yBAAyB,CAAC;AAEhD,OAAO,EAAE,WAAW,EAAE,MAAM,gCAAgC,CAAC;AAC7D,OAAO,EAGL,WAAW,GAEZ,MAAM,+BAA+B,CAAC;AAQvC,OAAO,EAAE,MAAM,EAAE,MAAM,0BAA0B,CAAC;AAClD,OAAO,EAAE,WAAW,EAAE,MAAM,0BAA0B,CAAC;AACvD,OAAO,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAYtD,OAAO,EAAE,IAAI,EAAE,MAAM,wBAAwB,CAAC;AAC9C,OAAO,EAAE,SAAS,EAAE,MAAM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n type AccordionItemProps,\n type AccordionMode,\n type AccordionMultipleProps,\n type AccordionProps,\n type AccordionSingleProps,\n} from './features/accordion/public';\nexport {\n ActivityIndicator,\n type ActivityIndicatorProps,\n} from './features/activity-indicator/public';\nexport type { AppBarMode, AppBarOverflowMenu, AppBarProps } from './features/app-bar/public';\nexport { AppBar } from './features/app-bar/public';\nexport type {\n AuthFormBaseProps,\n AuthIdentifierKind,\n ForgotPasswordFormProps,\n ForgotPasswordFormValues,\n OAuthProviderButtonProps,\n OAuthProviderIconSpec,\n OAuthProviderItem,\n OAuthProviderListLayout,\n OAuthProviderListProps,\n OtpFormProps,\n OtpFormValues,\n SignInFormProps,\n SignInFormValues,\n SignUpFormField,\n SignUpFormProps,\n SignUpFormValues,\n} from './features/auth/public';\nexport {\n DEFAULT_OAUTH_PROVIDER_ICONS,\n ForgotPasswordForm,\n OAuthProviderButton,\n OAuthProviderList,\n OtpForm,\n resolveOAuthProviderIcon,\n resolveOAuthProviderLabel,\n SignInForm,\n SignUpForm,\n} from './features/auth/public';\nexport type {\n ZoraBindableComponentType,\n ZoraComponentBlueprint,\n ZoraComponentCategory,\n ZoraComponentEventMeta,\n ZoraComponentEventPayloadFieldMeta,\n ZoraComponentEventPayloadFieldType,\n ZoraComponentEventPayloadKind,\n ZoraComponentI18nMeta,\n ZoraComponentManifestPolicy,\n ZoraComponentMeta,\n ZoraComponentMetaRegistry,\n ZoraComponentPropArrayItemSchema,\n ZoraComponentPropAuthoring,\n ZoraComponentPropSchema,\n ZoraComponentPropType,\n ZoraComponentPropValue,\n ZoraComponentSlotMeta,\n ZoraThemeRecipeBooleanFieldMeta,\n ZoraThemeRecipeChoiceFieldMeta,\n ZoraThemeRecipeFieldMeta,\n ZoraThemeRecipeKind,\n ZoraThemeRecipeMeta,\n ZoraThemeRecipeMetaRegistry,\n ZoraThemeRecipeTokenFieldMeta,\n ZoraThemeTokenFamily,\n} from './features/authoring';\nexport {\n ZORA_BINDABLE_COMPONENT_META,\n ZORA_COMPONENT_META,\n ZORA_THEME_RECIPE_META,\n ZORA_THEME_TOKEN_FAMILIES,\n} from './features/authoring';\nexport type { AvatarProps, AvatarShape, AvatarSize } from './features/avatar/public';\nexport type { AvatarGroupItem, AvatarGroupProps } from './features/avatar/public';\nexport { Avatar, resolveAvatarInitials } from './features/avatar/public';\nexport { AvatarGroup } from './features/avatar/public';\nexport type { BadgeProps } from './features/badge/public';\nexport { Badge } from './features/badge/public';\nexport type { BottomSheetProps } from './features/bottom-sheet/public';\nexport { BottomSheet } from './features/bottom-sheet/public';\nexport {\n type BreadcrumbItem,\n type BreadcrumbPressEvent,\n Breadcrumbs,\n type BreadcrumbsProps,\n} from './features/breadcrumbs/public';\nexport type { ButtonProps } from './features/button/public';\nexport type {\n ButtonGroupAlign,\n ButtonGroupOrientation,\n ButtonGroupProps,\n} from './features/button/public';\nexport type { IconButtonProps } from './features/button/public';\nexport { Button } from './features/button/public';\nexport { ButtonGroup } from './features/button/public';\nexport { IconButton } from './features/button/public';\nexport type { CardProps } from './features/card/public';\nexport type { MediaCardImageProps, MediaCardProps } from './features/card/public';\nexport type { MetricCardProps } from './features/card/public';\nexport type {\n PostAction,\n PostAuthor,\n PostAuthorAvatar,\n PostCardMedia,\n PostCardProps,\n} from './features/card/public';\nexport type { ProductCardProps } from './features/card/public';\nexport { Card } from './features/card/public';\nexport { MediaCard } from './features/card/public';\nexport { MetricCard } from './features/card/public';\nexport { PostCard } from './features/card/public';\nexport { ProductCard } from './features/card/public';\nexport type {\n ChatListAvatar,\n ChatListItemProps,\n MessageBubbleAuthor,\n MessageBubbleAvatar,\n MessageBubbleDirection,\n MessageBubbleProps,\n MessageBubbleStatus,\n} from './features/chat/public';\nexport { ChatListItem, MessageBubble } from './features/chat/public';\nexport type {\n ChessBoardColorOverrides,\n ChessBoardColorScheme,\n ChessBoardOrientation,\n ChessBoardProps,\n ChessMoveAttempt,\n ChessMoveResult,\n ChessPieceCode,\n ChessPieceRenderContext,\n ChessPieceRenderer,\n ChessPieceState,\n ChessPromotionPiece,\n ChessSquareId,\n OpeningBookColorOverrides,\n OpeningBookColorScheme,\n OpeningBookMove,\n OpeningBookProps,\n} from './features/chess/public';\nexport type { ChessColorThemeShape } from './features/chess/public';\nexport { ChessBoard, chessBoardMeta, OpeningBook, openingBookMeta } from './features/chess/public';\nexport {\n chessSquares,\n createBoardSquares,\n createChessBoardColorScheme,\n createOpeningBookColorScheme,\n getLegalTargets,\n getSquareFile,\n getSquareRank,\n isLightSquare,\n readChessPieces,\n tryMove,\n} from './features/chess/public';\nexport type { ChipProps } from './features/chip/public';\nexport type { ChipGroupItem, ChipGroupProps } from './features/chip/public';\nexport { Chip } from './features/chip/public';\nexport { ChipGroup } from './features/chip/public';\nexport type {\n CollectionEditorProps,\n CollectionEditorRenderItemProps,\n} from './features/collection-editor/public';\nexport { CollectionEditor } from './features/collection-editor/public';\nexport type {\n ContentRailControlPressEvent,\n ContentRailDirection,\n ContentRailItemSize,\n ContentRailMotion,\n ContentRailProps,\n ContentRailSpacing,\n ContentRailVisibleRangeChangeEvent,\n} from './features/content-rail/public';\nexport { ContentRail } from './features/content-rail/public';\nexport type {\n DataTableCellContext,\n DataTableColumn,\n DataTableColumnAlign,\n DataTableDensity,\n DataTableProps,\n DataTableRowAction,\n DataTableSortDirection,\n DataTableSortState,\n} from './features/data-table/public';\nexport { DataTable } from './features/data-table/public';\nexport {\n DatePicker,\n type DatePickerProps,\n type DatePickerValue,\n} from './features/date-picker/public';\nexport { Dialog, type DialogProps } from './features/dialog/public';\nexport {\n EmptyState,\n type EmptyStateAction,\n type EmptyStateProps,\n} from './features/empty-state/public';\nexport {\n Checkbox,\n CheckboxGroup,\n type CheckboxGroupOption,\n type CheckboxGroupProps,\n type CheckboxProps,\n} from './features/form/checkbox/public';\nexport type {\n FieldProps,\n FormActionsProps,\n FormErrorProps,\n FormErrors,\n FormFieldConfig,\n FormFieldInputType,\n FormProps,\n FormValidationErrors,\n FormValidationResult,\n FormValues,\n UseFormControllerOptions,\n UseFormControllerResult,\n ValidationRule,\n} from './features/form/public';\nexport {\n Field,\n Form,\n FormActions,\n FormError,\n hasRequiredRule,\n useFormController,\n validateField,\n validateFields,\n validateValue,\n} from './features/form/public';\nexport {\n Radio,\n RadioGroup,\n type RadioGroupOption,\n type RadioGroupProps,\n type RadioProps,\n} from './features/form/radio/public';\nexport { SearchInput, type SearchInputProps } from './features/form/search-input/public';\nexport { Select, type SelectOption, type SelectProps } from './features/form/select/public';\nexport { Switch, type SwitchProps } from './features/form/switch/public';\nexport {\n TextInput,\n type TextInputProps,\n type TextInputTrailingAction,\n} from './features/form/text-input/public';\nexport type {\n GameEntityEasing,\n GameEntityMotionProps,\n GameEntityProps,\n GameFieldProps,\n GameInputZoneProps,\n GameKeyboardBinding,\n GameMeasurementProbeProps,\n GameOverlayPlacement,\n GameOverlayProps,\n GamePointerEvents,\n GameProps,\n} from './features/game/public';\nexport {\n Game,\n GameEntity,\n GameField,\n GameInputZone,\n GameMeasurementProbe,\n GameOverlay,\n} from './features/game/public';\nexport type {\n GradientColor,\n GradientColors,\n GradientLocations,\n GradientPoint,\n GradientProps,\n GradientRenderer,\n GradientRendererProps,\n GradientRendererProviderProps,\n} from './features/gradient/public';\nexport { Gradient, GradientRendererProvider } from './features/gradient/public';\nexport {\n Hero,\n type HeroAction,\n type HeroAlign,\n type HeroLayout,\n type HeroProps,\n type HeroTone,\n} from './features/hero/public';\nexport type { IconProps } from './features/icon/public';\nexport { Icon } from './features/icon/public';\nexport type { ImageFit, ImageProps, SurfaceImageSource } from './features/image/public';\nexport { Image } from './features/image/public';\nexport {\n KeyboardAvoidingView,\n type KeyboardAvoidingViewBehavior,\n type KeyboardAvoidingViewProps,\n} from './features/keyboard-avoiding-view/public';\nexport type {\n AppShellProps,\n DividerProps,\n GridProps,\n ScreenProps,\n ScrollViewProps,\n ViewProps,\n} from './features/layout/public';\nexport { AppShell, Divider, Grid, Screen, ScrollView, View } from './features/layout/public';\nexport type {\n ManifestListProps,\n ManifestListSection,\n ManifestSectionListProps,\n} from './features/list/public';\nexport type {\n ListChildrenProps,\n ListItemProps,\n ListItemsProps,\n ListItemVariant,\n ListProps,\n ListSectionProps,\n} from './features/list/public';\nexport { FlatList, SectionList } from './features/list/public';\nexport { List, ListItem, ListSection } from './features/list/public';\nexport { MissingElement, type MissingElementProps } from './features/missing-element/public';\nexport { Pagination, type PaginationProps } from './features/pagination/public';\nexport type { PaletteItemProps } from './features/palette-item/public';\nexport { PaletteItem } from './features/palette-item/public';\nexport {\n PopoverMenu,\n type PopoverMenuAction,\n type PopoverMenuActionIntent,\n type PopoverMenuProps,\n} from './features/popover-menu/public';\nexport {\n Progress,\n type ProgressProps,\n ProgressRing,\n type ProgressRingProps,\n} from './features/progress/public';\nexport { Rating, type RatingProps } from './features/rating/public';\nexport type {\n ReaderColorScheme,\n ReaderDocumentFormat,\n ReaderErrorCode,\n ReaderErrorEvent,\n ReaderExternalLinkEvent,\n ReaderLineHeight,\n ReaderLocationChangeEvent,\n ReaderNavigationTrigger,\n ReaderResolvedSource,\n ReaderStatus,\n ReaderSurfaceProps,\n} from './features/reader/public';\nexport { ReaderSurface, resolveReaderProgress } from './features/reader/public';\nexport { ZORA_COMPONENT_REGISTRY } from './features/registry/public';\nexport type {\n BarcodeScannerViewProps,\n BarcodeScanResult,\n CameraPermissionStatus,\n CameraPermissionViewProps,\n ScanOverlayProps,\n} from './features/scanner/public';\nexport { BarcodeScannerView, CameraPermissionView, ScanOverlay } from './features/scanner/public';\nexport {\n ScreenSection,\n type ScreenSectionProps,\n SectionHeader,\n type SectionHeaderProps,\n} from './features/section/public';\nexport type {\n SelectableItemProps,\n SelectableItemState,\n SelectionMode,\n SelectionProviderProps,\n SelectionTrigger,\n UseSelectionResult,\n} from './features/selection/public';\nexport { SelectableItem, SelectionProvider, useSelection } from './features/selection/public';\nexport {\n Skeleton,\n SkeletonCard,\n type SkeletonCardProps,\n type SkeletonDimension,\n SkeletonList,\n type SkeletonListProps,\n type SkeletonListVariant,\n type SkeletonProps,\n type SkeletonRadius,\n SkeletonText,\n type SkeletonTextProps,\n} from './features/skeleton/public';\nexport type { SurfaceProps, SurfaceVariant } from './features/surface/public';\nexport { Surface } from './features/surface/public';\nexport type {\n CardBackProps,\n CardHandProps,\n CreatePokerTrainingTableStateOptions,\n CreateTabletopGameSeatsInput,\n PlayingCardProps,\n PlayingCardSuit,\n PlayingCardValue,\n PokerTrainingPlayer,\n PokerTrainingTableProps,\n PokerTrainingTableSize,\n PokerTrainingTableState,\n PokerTrainingTaskTableData,\n TabletopCardSize,\n TabletopColorOverrides,\n TabletopColorScheme,\n TabletopGameParticipantState,\n TabletopGameSeatDefinition,\n TabletopGameSeatPresentation,\n TabletopSeatCount,\n TabletopSeatState,\n TabletopShape,\n TabletopTableProps,\n} from './features/tabletop/public';\nexport {\n CardBack,\n CardHand,\n createPokerTrainingTableState,\n createTabletopColorScheme,\n createTabletopGameSeats,\n PlayingCard,\n PokerTrainingTable,\n pokerTrainingTableMeta,\n TabletopTable,\n tabletopTableMeta,\n} from './features/tabletop/public';\nexport {\n Tab,\n TabList,\n type TabListProps,\n TabPanel,\n type TabPanelProps,\n type TabProps,\n Tabs,\n type TabsProps,\n} from './features/tabs/public';\nexport type {\n ZoraColor,\n ZoraEmphasis,\n ZoraPaletteColor,\n ZoraStatusColor,\n} from './features/theme/colorModel';\nexport {\n ZORA_COLORS,\n ZORA_EMPHASES,\n ZORA_PALETTE_COLORS,\n ZORA_STATUS_COLORS,\n} from './features/theme/colorModel';\nexport * from './features/theme/public';\nexport * from './features/theme/runtime';\nexport {\n TimePicker,\n type TimePickerProps,\n type TimePickerValue,\n} from './features/time-picker/public';\nexport type { TimelineItem, TimelineProps } from './features/timeline/public';\nexport { Timeline } from './features/timeline/public';\nexport type {\n ToastController,\n ToastOptions,\n ToastProps,\n ToastProviderProps,\n ToastStatus,\n} from './features/toast/public';\nexport { Toast, ToastProvider, useToast } from './features/toast/public';\nexport { Toolbar, type ToolbarProps } from './features/toolbar/public';\nexport type { TreeItemNode, TreeItemRenderProps, TreeViewProps } from './features/tree-view/public';\nexport { TreeItem, TreeView } from './features/tree-view/public';\nexport type {\n HeadingAlign,\n HeadingColor,\n HeadingEmphasis,\n HeadingLevel,\n HeadingProps,\n HeadingSize,\n HeadingWeight,\n} from './features/typography/public';\nexport type {\n TextAlign,\n TextColor,\n TextEmphasis,\n TextProps,\n TextVariant,\n TextWeight,\n} from './features/typography/public';\nexport { Heading } from './features/typography/public';\nexport { Text } from './features/typography/public';\nexport type {\n UploadAsset,\n UploadAssetBase,\n UploaderProps,\n UploadProgressContext,\n UploadType,\n ValidateUploadAssetInput,\n} from './features/uploader/public';\nexport { Uploader, validateUploadAsset } from './features/uploader/public';\nexport type { ZoraComponentRegistry } from './types/registry';\n"]}
@@ -9,6 +9,12 @@ export interface ChessMoveAttempt {
9
9
  readonly to: ChessSquareId;
10
10
  readonly promotion?: ChessPromotionPiece;
11
11
  }
12
+ export interface ChessMoveResult extends Omit<ChessMoveAttempt, 'promotion'> {
13
+ readonly fen: string;
14
+ readonly lan: string;
15
+ readonly promotion?: ChessPromotionPiece;
16
+ readonly san: string;
17
+ }
12
18
  export interface ChessPieceState {
13
19
  readonly color: 'black' | 'white';
14
20
  readonly piece: ChessPieceCode;
@@ -47,6 +53,7 @@ export interface OpeningBookColorScheme {
47
53
  }
48
54
  export type OpeningBookColorOverrides = Partial<OpeningBookColorScheme>;
49
55
  export interface ChessBoardProps extends ZoraBaseProps {
56
+ readonly fen?: string;
50
57
  readonly pieces?: readonly ChessPieceState[];
51
58
  readonly orientation?: ChessBoardOrientation;
52
59
  readonly selectedSquare?: ChessSquareId | null;
@@ -54,9 +61,12 @@ export interface ChessBoardProps extends ZoraBaseProps {
54
61
  readonly lastMove?: ChessMoveAttempt | null;
55
62
  readonly disabled?: boolean;
56
63
  readonly showCoordinates?: boolean;
64
+ readonly validateMoves?: boolean;
57
65
  readonly colorScheme?: ChessBoardColorOverrides;
58
66
  readonly onSquarePress?: (square: ChessSquareId) => void;
59
67
  readonly onMoveAttempt?: (move: ChessMoveAttempt) => void;
68
+ readonly onLegalMove?: (move: ChessMoveResult) => void;
69
+ readonly onInvalidMove?: (move: ChessMoveAttempt) => void;
60
70
  readonly renderPiece?: ChessPieceRenderer;
61
71
  }
62
72
  export interface OpeningBookMove {
@@ -1 +1 @@
1
- {"version":3,"file":"chess.d.ts","sourceRoot":"","sources":["../../src/types/chess.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,QAAQ,CAAC;AAE5C,MAAM,MAAM,qBAAqB,GAAG,OAAO,GAAG,OAAO,CAAC;AACtD,MAAM,MAAM,cAAc,GAAG,MAAM,CAAC;AACpC,MAAM,MAAM,aAAa,GACvB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,EAAE,CAAC;AACrF,MAAM,MAAM,mBAAmB,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAExD,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,CAAC,IAAI,EAAE,aAAa,CAAC;IAC7B,QAAQ,CAAC,EAAE,EAAE,aAAa,CAAC;IAC3B,QAAQ,CAAC,SAAS,CAAC,EAAE,mBAAmB,CAAC;CAC1C;AAED,MAAM,WAAW,eAAe;IAC9B,QAAQ,CAAC,KAAK,EAAE,OAAO,GAAG,OAAO,CAAC;IAClC,QAAQ,CAAC,KAAK,EAAE,cAAc,CAAC;IAC/B,QAAQ,CAAC,MAAM,EAAE,aAAa,CAAC;CAChC;AAED,MAAM,WAAW,uBAAuB;IACtC,QAAQ,CAAC,KAAK,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,K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ACxD"}
@@ -1 +1 @@
1
- {"version":3,"file":"chess.js","sourceRoot":"","sources":["../../src/types/chess.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type ChessBoardOrientation = 'white' | 'black';\nexport type ChessPieceCode = string;\nexport type ChessSquareId =\n `${'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h'}${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8}`;\nexport type ChessPromotionPiece = 'q' | 'r' | 'b' | 'n';\n\nexport interface ChessMoveAttempt {\n readonly from: ChessSquareId;\n readonly to: ChessSquareId;\n readonly promotion?: ChessPromotionPiece;\n}\n\nexport interface ChessPieceState {\n readonly color: 'black' | 'white';\n readonly piece: ChessPieceCode;\n readonly square: ChessSquareId;\n}\n\nexport interface ChessPieceRenderContext {\n readonly color: string;\n readonly piece: ChessPieceCode;\n readonly square: ChessSquareId;\n}\n\nexport type ChessPieceRenderer = (context: ChessPieceRenderContext) => React.ReactNode;\n\nexport interface ChessBoardColorScheme {\n readonly lightSquare: string;\n readonly darkSquare: string;\n readonly lightSquareText: string;\n readonly darkSquareText: string;\n readonly selectedSquare: string;\n readonly legalTarget: string;\n readonly lastMoveFrom: string;\n readonly lastMoveTo: string;\n readonly border: string;\n readonly coordinateText: string;\n readonly lightPiece: string;\n readonly darkPiece: string;\n}\n\nexport type ChessBoardColorOverrides = Partial<ChessBoardColorScheme>;\n\nexport interface OpeningBookColorScheme {\n readonly border: string;\n readonly surface: string;\n readonly surfaceHover: string;\n readonly selectedSurface: string;\n readonly titleText: string;\n readonly primaryText: string;\n readonly secondaryText: string;\n readonly metricSurface: string;\n}\nexport type OpeningBookColorOverrides = Partial<OpeningBookColorScheme>;\n\nexport interface ChessBoardProps extends ZoraBaseProps {\n readonly pieces?: readonly ChessPieceState[];\n readonly orientation?: ChessBoardOrientation;\n readonly selectedSquare?: ChessSquareId | null;\n readonly legalTargets?: readonly ChessSquareId[];\n readonly lastMove?: ChessMoveAttempt | null;\n readonly disabled?: boolean;\n readonly showCoordinates?: boolean;\n readonly colorScheme?: ChessBoardColorOverrides;\n readonly onSquarePress?: (square: ChessSquareId) => void;\n readonly onMoveAttempt?: (move: ChessMoveAttempt) => void;\n readonly renderPiece?: ChessPieceRenderer;\n}\n\nexport interface OpeningBookMove {\n readonly san: string;\n readonly uci?: string;\n readonly fen?: string;\n readonly name?: string;\n readonly eco?: string;\n readonly games?: number;\n readonly whiteWinRate?: number;\n readonly drawRate?: number;\n readonly blackWinRate?: number;\n}\n\nexport interface OpeningBookProps extends ZoraBaseProps {\n readonly moves?: readonly OpeningBookMove[];\n readonly title?: string;\n readonly loading?: boolean;\n readonly errorText?: string;\n readonly emptyText?: string;\n readonly selectedMove?: string | null;\n readonly colorScheme?: OpeningBookColorOverrides;\n readonly onMovePress?: (move: OpeningBookMove) => void;\n}\n"]}
1
+ {"version":3,"file":"chess.js","sourceRoot":"","sources":["../../src/types/chess.ts"],"names":[],"mappings":"","sourcesContent":["import type React from 'react';\n\nimport type { ZoraBaseProps } from './base';\n\nexport type ChessBoardOrientation = 'white' | 'black';\nexport type ChessPieceCode = string;\nexport type ChessSquareId =\n `${'a' | 'b' | 'c' | 'd' | 'e' | 'f' | 'g' | 'h'}${1 | 2 | 3 | 4 | 5 | 6 | 7 | 8}`;\nexport type ChessPromotionPiece = 'q' | 'r' | 'b' | 'n';\n\nexport interface ChessMoveAttempt {\n readonly from: ChessSquareId;\n readonly to: ChessSquareId;\n readonly promotion?: ChessPromotionPiece;\n}\n\nexport interface ChessMoveResult extends Omit<ChessMoveAttempt, 'promotion'> {\n readonly fen: string;\n readonly lan: string;\n readonly promotion?: ChessPromotionPiece;\n readonly san: string;\n}\n\nexport interface ChessPieceState {\n readonly color: 'black' | 'white';\n readonly piece: ChessPieceCode;\n readonly square: ChessSquareId;\n}\n\nexport interface ChessPieceRenderContext {\n readonly color: string;\n readonly piece: ChessPieceCode;\n readonly square: ChessSquareId;\n}\n\nexport type ChessPieceRenderer = (context: ChessPieceRenderContext) => React.ReactNode;\n\nexport interface ChessBoardColorScheme {\n readonly lightSquare: string;\n readonly darkSquare: string;\n readonly lightSquareText: string;\n readonly darkSquareText: string;\n readonly selectedSquare: string;\n readonly legalTarget: string;\n readonly lastMoveFrom: string;\n readonly lastMoveTo: string;\n readonly border: string;\n readonly coordinateText: string;\n readonly lightPiece: string;\n readonly darkPiece: string;\n}\n\nexport type ChessBoardColorOverrides = Partial<ChessBoardColorScheme>;\n\nexport interface OpeningBookColorScheme {\n readonly border: string;\n readonly surface: string;\n readonly surfaceHover: string;\n readonly selectedSurface: string;\n readonly titleText: string;\n readonly primaryText: string;\n readonly secondaryText: string;\n readonly metricSurface: string;\n}\nexport type OpeningBookColorOverrides = Partial<OpeningBookColorScheme>;\n\nexport interface ChessBoardProps extends ZoraBaseProps {\n readonly fen?: string;\n readonly pieces?: readonly ChessPieceState[];\n readonly orientation?: ChessBoardOrientation;\n readonly selectedSquare?: ChessSquareId | null;\n readonly legalTargets?: readonly ChessSquareId[];\n readonly lastMove?: ChessMoveAttempt | null;\n readonly disabled?: boolean;\n readonly showCoordinates?: boolean;\n readonly validateMoves?: boolean;\n readonly colorScheme?: ChessBoardColorOverrides;\n readonly onSquarePress?: (square: ChessSquareId) => void;\n readonly onMoveAttempt?: (move: ChessMoveAttempt) => void;\n readonly onLegalMove?: (move: ChessMoveResult) => void;\n readonly onInvalidMove?: (move: ChessMoveAttempt) => void;\n readonly renderPiece?: ChessPieceRenderer;\n}\n\nexport interface OpeningBookMove {\n readonly san: string;\n readonly uci?: string;\n readonly fen?: string;\n readonly name?: string;\n readonly eco?: string;\n readonly games?: number;\n readonly whiteWinRate?: number;\n readonly drawRate?: number;\n readonly blackWinRate?: number;\n}\n\nexport interface OpeningBookProps extends ZoraBaseProps {\n readonly moves?: readonly OpeningBookMove[];\n readonly title?: string;\n readonly loading?: boolean;\n readonly errorText?: string;\n readonly emptyText?: string;\n readonly selectedMove?: string | null;\n readonly colorScheme?: OpeningBookColorOverrides;\n readonly onMovePress?: (move: OpeningBookMove) => void;\n}\n"]}
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora",
3
3
  "type": "module",
4
- "version": "21.1.3",
4
+ "version": "22.0.0",
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": {
@@ -32,7 +32,7 @@
32
32
  "@react-native-vector-icons/ionicons": "^13.1.3",
33
33
  "react": "19.3.0",
34
34
  "react-native": "0.86.x",
35
- "react-native-gesture-handler": "~2.32.0",
35
+ "react-native-gesture-handler": "~3.3.0",
36
36
  "react-native-reanimated": "4.7.0",
37
37
  "react-native-safe-area-context": "~5.7.0",
38
38
  "react-native-svg": "15.15.5",
@@ -47,7 +47,8 @@
47
47
  "@ankhorage/surface": "^9.1.7",
48
48
  "@ankhorage/utility": "^1.9.0",
49
49
  "expo-document-picker": "~57.0.2",
50
- "expo-image-picker": "~57.0.20"
50
+ "expo-image-picker": "~57.0.20",
51
+ "chess.js": "^1.4.0"
51
52
  },
52
53
  "files": [
53
54
  "dist",
@@ -123,14 +124,14 @@
123
124
  "version-packages": "ankhorage-changeset version"
124
125
  },
125
126
  "devDependencies": {
126
- "@ankhorage/devtools": "^2.0.0",
127
+ "@ankhorage/devtools": "^2.0.12",
127
128
  "@ankhorage/paradox": "^0.2.6",
128
129
  "@react-native-vector-icons/fontawesome": "^13.1.3",
129
130
  "@react-native-vector-icons/fontawesome5": "^13.1.3",
130
131
  "@react-native-vector-icons/fontawesome6": "^13.1.4",
131
132
  "@react-native-vector-icons/ionicons": "^13.1.3",
132
133
  "@types/bun": "^1.4.2",
133
- "@types/node": "^24.13.3",
134
+ "@types/node": "^26.6.3",
134
135
  "@types/react": "^19.3.0",
135
136
  "@types/react-dom": "^19.3.0",
136
137
  "@types/react-native-web": "^0.19.3",
@@ -140,7 +141,7 @@
140
141
  "react": "19.3.0",
141
142
  "react-dom": "19.3.0",
142
143
  "react-native": "0.86.3",
143
- "react-native-gesture-handler": "~2.32.0",
144
+ "react-native-gesture-handler": "~3.3.0",
144
145
  "react-native-reanimated": "4.7.0",
145
146
  "react-native-safe-area-context": "~5.7.0",
146
147
  "react-native-svg": "15.15.5",
@@ -2,7 +2,6 @@ import { existsSync } from 'node:fs';
2
2
 
3
3
  import { expect, test } from 'bun:test';
4
4
 
5
- import { ZORA_CORE_PLUGIN_METADATA } from '../plugin/ZORA_CORE_PLUGIN_METADATA';
6
5
  import { ZORA_COMPONENT_META } from './componentMeta';
7
6
  import { FEATURE_MANIFEST_ELEMENTS } from './constants';
8
7
 
@@ -45,8 +44,8 @@ test('migrated picker and presentation elements have one canonical feature owner
45
44
  }
46
45
  });
47
46
 
48
- test('existing interactive authoring retains bindings after plugin composition', () => {
49
- const meta = ZORA_CORE_PLUGIN_METADATA.componentMeta;
47
+ test('existing interactive authoring retains bindings in core metadata', () => {
48
+ const meta = ZORA_COMPONENT_META;
50
49
  expect(meta.DataTable?.bindings?.props?.sort?.value.type).toBe('object');
51
50
  expect(meta.DataTable?.bindings?.props?.rows?.value.type).toBe('array');
52
51
  expect(meta.Uploader?.bindings?.props?.value?.value.type).toBe('object');
@@ -57,8 +56,8 @@ test('existing interactive authoring retains bindings after plugin composition',
57
56
  expect(meta.BottomSheet?.bindings?.props?.open?.value.type).toBe('boolean');
58
57
  });
59
58
 
60
- test('final ownership data components retain bindings after plugin composition', () => {
61
- const meta = ZORA_CORE_PLUGIN_METADATA.componentMeta;
59
+ test('final ownership data components retain bindings in core metadata', () => {
60
+ const meta = ZORA_COMPONENT_META;
62
61
  expect(meta.Dialog?.bindings?.props?.visible?.value.type).toBe('boolean');
63
62
  expect(meta.Dialog?.bindings?.events?.dismiss?.payload?.eventType).toBe('dialog.dismiss');
64
63
  expect(meta.Pagination?.bindings?.props?.page?.value.type).toBe('number');
@@ -68,28 +67,65 @@ test('final ownership data components retain bindings after plugin composition',
68
67
  expect(meta.Rating?.bindings?.props?.value?.value.type).toBe('number');
69
68
  });
70
69
 
71
- test('final ownership form and tab components retain bindings after plugin composition', () => {
72
- const meta = ZORA_CORE_PLUGIN_METADATA.componentMeta;
70
+ test('final ownership form and tab components retain bindings in core metadata', () => {
71
+ const meta = ZORA_COMPONENT_META;
73
72
  expect(meta.SearchInput?.bindings?.props?.value?.value.type).toBe('string');
74
73
  expect(meta.SearchInput?.bindings?.events?.submit?.payload?.eventType).toBe('searchInput.submit');
75
74
  expect(meta.Tabs?.bindings?.props?.value?.value.type).toBe('string');
76
75
  expect(meta.Tabs?.bindings?.events?.valueChange?.payload?.eventType).toBe('tabs.valueChange');
77
76
  });
78
77
 
79
- test('existing scalar authoring bindings remain available after plugin composition', () => {
80
- const meta = ZORA_CORE_PLUGIN_METADATA.componentMeta;
78
+ test('existing scalar authoring bindings remain available in core metadata', () => {
79
+ const meta = ZORA_COMPONENT_META;
81
80
  expect(meta.Heading?.bindings?.props?.level?.value.type).toBe('number');
82
81
  expect(meta.Image?.bindings?.props?.radius?.value.type).toBe('unknown');
83
82
  });
84
83
 
85
84
  test('authoring schemas omit layout and avatar options ignored by the underlying components', () => {
86
- const meta = ZORA_CORE_PLUGIN_METADATA.componentMeta;
85
+ const meta = ZORA_COMPONENT_META;
87
86
  expect(meta.Divider?.props).not.toHaveProperty('width');
88
87
  expect(meta.Container?.props).not.toHaveProperty('width');
89
88
  expect(meta.AvatarGroup?.props.items?.itemSchema?.map(({ key }) => key)).not.toContain('size');
90
89
  expect(meta.AvatarGroup?.props.items?.itemSchema?.map(({ key }) => key)).not.toContain('shape');
91
90
  });
92
91
 
92
+ test('integrated Chess, Game, and Tabletop placements preserve their former package contracts', () => {
93
+ const chessAndGameParents = [
94
+ ['Card', ZORA_COMPONENT_META.Card],
95
+ ['Grid', ZORA_COMPONENT_META.Grid],
96
+ ['Screen', ZORA_COMPONENT_META.Screen],
97
+ ['ScreenSection', ZORA_COMPONENT_META.ScreenSection],
98
+ ['View', ZORA_COMPONENT_META.View],
99
+ ] as const;
100
+ for (const [parent, metadata] of chessAndGameParents) {
101
+ for (const child of ['ChessBoard', 'OpeningBook', 'Game', 'GameField'] as const) {
102
+ expect(metadata.allowedChildren, `${parent} -> ${child}`).toContain(child);
103
+ }
104
+ }
105
+
106
+ const tabletopParents = [
107
+ ['Card', ZORA_COMPONENT_META.Card],
108
+ ['Grid', ZORA_COMPONENT_META.Grid],
109
+ ['Screen', ZORA_COMPONENT_META.Screen],
110
+ ['ScreenSection', ZORA_COMPONENT_META.ScreenSection],
111
+ ] as const;
112
+ for (const [parent, metadata] of tabletopParents) {
113
+ for (const child of ['TabletopTable', 'PokerTrainingTable'] as const) {
114
+ expect(metadata.allowedChildren, `${parent} -> ${child}`).toContain(child);
115
+ }
116
+ }
117
+ expect(ZORA_COMPONENT_META.View.allowedChildren).not.toContain('TabletopTable');
118
+ expect(ZORA_COMPONENT_META.View.allowedChildren).not.toContain('PokerTrainingTable');
119
+
120
+ for (const child of ['GameEntity', 'GameInputZone', 'GameMeasurementProbe', 'GameOverlay']) {
121
+ expect(ZORA_COMPONENT_META.Game.allowedChildren).toContain(child);
122
+ }
123
+ for (const child of ['GameEntity', 'GameOverlay']) {
124
+ expect(ZORA_COMPONENT_META.GameField.allowedChildren).toContain(child);
125
+ }
126
+ expect(ZORA_COMPONENT_META.GameOverlay.allowedChildren).toContain('GameEntity');
127
+ });
128
+
93
129
  test('ContentRail accepts chips and all card elements and offers intrinsic-width scrolling', () => {
94
130
  const rail = ZORA_COMPONENT_META.ContentRail;
95
131
  for (const child of ['ChipGroup', ...FEATURE_MANIFEST_ELEMENTS.card])