@ankhorage/zora-tabletop 0.1.58 → 0.1.59

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 (3) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +56 -52
  3. package/package.json +2 -2
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @ankhorage/zora-tabletop
2
2
 
3
+ ## 0.1.59
4
+
5
+ ### Patch Changes
6
+
7
+ - a448c29: Update dependencies: `@ankhorage/devtools`.
8
+
3
9
  ## 0.1.58
4
10
 
5
11
  ### Patch Changes
package/README.md CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  # @ankhorage/zora-tabletop
5
5
 
6
- ![license: MIT](././paradox/badges/license.svg) ![npm: v0.1.0](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![docs: paradox](././paradox/badges/docs.svg)
6
+ ![license: MIT](././paradox/badges/license.svg) ![npm: v0.1.59](././paradox/badges/npm.svg) ![runtime: bun](././paradox/badges/runtime.svg) ![typescript: strict](././paradox/badges/typescript.svg) ![eslint: checked](././paradox/badges/eslint.svg) ![prettier: checked](././paradox/badges/prettier.svg) ![build: checked](././paradox/badges/build.svg) ![tests: checked](././paradox/badges/tests.svg) ![docs: paradox](././paradox/badges/docs.svg)
7
7
 
8
8
  Reusable tabletop, playing-card, seat, token, and card-game presentation components for React Native and React Native Web.
9
9
 
@@ -136,13 +136,13 @@ Related types: `CardBackProps`
136
136
  <details>
137
137
  <summary>Props</summary>
138
138
 
139
- | Prop | Type | Required | Default | Description |
140
- | ------------------ | ------------------------------------- | -------- | ---------- | ----------- |
141
- | accessibilityLabel | `string \| undefined` | no | — | |
142
- | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
143
- | muted | `boolean \| undefined` | no | `false` | |
144
- | size | `TabletopCardSize \| undefined` | no | `'medium'` | |
145
- | testID | `string \| undefined` | no | — | |
139
+ | Prop | Type | Required | Default | Description |
140
+ | --- | --- | --- | --- | --- |
141
+ | accessibilityLabel | `string \| undefined` | no | — | |
142
+ | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
143
+ | muted | `boolean \| undefined` | no | `false` | |
144
+ | size | `TabletopCardSize \| undefined` | no | `'medium'` | |
145
+ | testID | `string \| undefined` | no | — | |
146
146
 
147
147
  </details>
148
148
 
@@ -179,15 +179,15 @@ Related types: `CardHandProps`
179
179
  <details>
180
180
  <summary>Props</summary>
181
181
 
182
- | Prop | Type | Required | Default | Description |
183
- | ------------------ | ------------------------------------------ | -------- | ---------- | ----------- |
184
- | accessibilityLabel | `string \| undefined` | no | — | |
185
- | cards | `readonly PlayingCardValue[] \| undefined` | no | `[]` | |
186
- | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
187
- | faceDownCards | `number \| undefined` | no | `0` | |
188
- | muted | `boolean \| undefined` | no | `false` | |
189
- | size | `TabletopCardSize \| undefined` | no | `'medium'` | |
190
- | testID | `string \| undefined` | no | — | |
182
+ | Prop | Type | Required | Default | Description |
183
+ | --- | --- | --- | --- | --- |
184
+ | accessibilityLabel | `string \| undefined` | no | — | |
185
+ | cards | `readonly PlayingCardValue[] \| undefined` | no | `[]` | |
186
+ | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
187
+ | faceDownCards | `number \| undefined` | no | `0` | |
188
+ | muted | `boolean \| undefined` | no | `false` | |
189
+ | size | `TabletopCardSize \| undefined` | no | `'medium'` | |
190
+ | testID | `string \| undefined` | no | — | |
191
191
 
192
192
  </details>
193
193
 
@@ -225,15 +225,15 @@ Related types: `PlayingCardProps`
225
225
  <details>
226
226
  <summary>Props</summary>
227
227
 
228
- | Prop | Type | Required | Default | Description |
229
- | ------------------ | ------------------------------------- | -------- | ---------- | ----------- |
230
- | accessibilityLabel | `string \| undefined` | no | — | |
231
- | card | `PlayingCardValue` | yes | — | |
232
- | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
233
- | muted | `boolean \| undefined` | no | `false` | |
234
- | selected | `boolean \| undefined` | no | `false` | |
235
- | size | `TabletopCardSize \| undefined` | no | `'medium'` | |
236
- | testID | `string \| undefined` | no | — | |
228
+ | Prop | Type | Required | Default | Description |
229
+ | --- | --- | --- | --- | --- |
230
+ | accessibilityLabel | `string \| undefined` | no | — | |
231
+ | card | `PlayingCardValue` | yes | — | |
232
+ | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
233
+ | muted | `boolean \| undefined` | no | `false` | |
234
+ | selected | `boolean \| undefined` | no | `false` | |
235
+ | size | `TabletopCardSize \| undefined` | no | `'medium'` | |
236
+ | testID | `string \| undefined` | no | — | |
237
237
 
238
238
  </details>
239
239
 
@@ -267,7 +267,11 @@ rules into the component.
267
267
  #### Basic table
268
268
 
269
269
  ```tsx
270
- <TabletopTable seats={seats} centerCards={[{ rank: 'A', suit: 'spades' }]} centerLabel="Round 1" />
270
+ <TabletopTable
271
+ seats={seats}
272
+ centerCards={[{ rank: 'A', suit: 'spades' }]}
273
+ centerLabel="Round 1"
274
+ />
271
275
  ```
272
276
 
273
277
  Related types: `TabletopTableProps`
@@ -275,19 +279,19 @@ Related types: `TabletopTableProps`
275
279
  <details>
276
280
  <summary>Props</summary>
277
281
 
278
- | Prop | Type | Required | Default | Description |
279
- | ------------------ | ------------------------------------------ | -------- | --------- | ----------- |
280
- | accessibilityLabel | `string \| undefined` | no | — | |
281
- | cardSize | `TabletopCardSize \| undefined` | no | `'small'` | |
282
- | centerCards | `readonly PlayingCardValue[] \| undefined` | no | `[]` | |
283
- | centerLabel | `React.ReactNode \| undefined` | no | — | |
284
- | centerSublabel | `React.ReactNode \| undefined` | no | — | |
285
- | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
286
- | disabled | `boolean \| undefined` | no | `false` | |
287
- | seatCount | `TabletopSeatCount \| undefined` | no | — | |
288
- | seats | `readonly TabletopSeatState[]` | yes | — | |
289
- | shape | `TabletopShape \| undefined` | no | `'oval'` | |
290
- | testID | `string \| undefined` | no | — | |
282
+ | Prop | Type | Required | Default | Description |
283
+ | --- | --- | --- | --- | --- |
284
+ | accessibilityLabel | `string \| undefined` | no | — | |
285
+ | cardSize | `TabletopCardSize \| undefined` | no | `'small'` | |
286
+ | centerCards | `readonly PlayingCardValue[] \| undefined` | no | `[]` | |
287
+ | centerLabel | `React.ReactNode \| undefined` | no | — | |
288
+ | centerSublabel | `React.ReactNode \| undefined` | no | — | |
289
+ | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
290
+ | disabled | `boolean \| undefined` | no | `false` | |
291
+ | seatCount | `TabletopSeatCount \| undefined` | no | — | |
292
+ | seats | `readonly TabletopSeatState[]` | yes | — | |
293
+ | shape | `TabletopShape \| undefined` | no | `'oval'` | |
294
+ | testID | `string \| undefined` | no | — | |
291
295
 
292
296
  </details>
293
297
 
@@ -334,8 +338,8 @@ PokerTrainingTable({
334
338
 
335
339
  Manifest-ready poker training pattern that reconstructs a complete table from task data.
336
340
 
337
- Bind the raw training task object to `task`; the pattern maps sparse active-player data to a
338
- full nine-seat presentation while leaving API execution in the generated application.
341
+ Bind the raw training task object to `task`; the pattern maps the task's 6-max or 9-max table
342
+ state while leaving API execution in the generated application.
339
343
 
340
344
  #### Training task binding
341
345
 
@@ -348,16 +352,16 @@ Related types: `PokerTrainingTableProps`
348
352
  <details>
349
353
  <summary>Props</summary>
350
354
 
351
- | Prop | Type | Required | Default | Description |
352
- | --------------------- | ----------------------------------------- | -------- | ------- | ----------- |
353
- | accessibilityLabel | `string \| undefined` | no | — | |
354
- | cardSize | `TabletopCardSize \| undefined` | no | — | |
355
- | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
356
- | defaultStackBigBlinds | `number \| undefined` | no | `100` | |
357
- | disabled | `boolean \| undefined` | no | — | |
358
- | shape | `TabletopShape \| undefined` | no | — | |
359
- | task | `PokerTrainingTaskTableData \| undefined` | no | `{}` | |
360
- | testID | `string \| undefined` | no | — | |
355
+ | Prop | Type | Required | Default | Description |
356
+ | --- | --- | --- | --- | --- |
357
+ | accessibilityLabel | `string \| undefined` | no | — | |
358
+ | cardSize | `TabletopCardSize \| undefined` | no | — | |
359
+ | colorScheme | `TabletopColorOverrides \| undefined` | no | — | |
360
+ | defaultStackBigBlinds | `number \| undefined` | no | `100` | |
361
+ | disabled | `boolean \| undefined` | no | — | |
362
+ | shape | `TabletopShape \| undefined` | no | — | |
363
+ | task | `PokerTrainingTaskTableData \| undefined` | no | `{}` | |
364
+ | testID | `string \| undefined` | no | — | |
361
365
 
362
366
  </details>
363
367
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@ankhorage/zora-tabletop",
3
3
  "type": "module",
4
- "version": "0.1.58",
4
+ "version": "0.1.59",
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": {
@@ -75,7 +75,7 @@
75
75
  "react-native": ">=0.72.0"
76
76
  },
77
77
  "devDependencies": {
78
- "@ankhorage/devtools": "^1.11.11",
78
+ "@ankhorage/devtools": "^2.0.65",
79
79
  "@ankhorage/paradox": "^0.1.26",
80
80
  "@ankhorage/zora": "^21.0.19",
81
81
  "@react-native-vector-icons/fontawesome": "^13.1.4",