tinybase 8.2.0-beta.0 → 8.2.0-beta.2

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 (60) hide show
  1. package/@types/persisters/index.d.ts +1 -1
  2. package/@types/persisters/persister-durable-object-sql-storage/index.d.ts +6 -6
  3. package/@types/persisters/persister-durable-object-sql-storage/with-schemas/index.d.ts +6 -6
  4. package/@types/persisters/persister-durable-object-storage/index.d.ts +2 -2
  5. package/@types/persisters/persister-durable-object-storage/with-schemas/index.d.ts +2 -2
  6. package/@types/persisters/persister-electric-sql/index.d.ts +3 -3
  7. package/@types/persisters/persister-electric-sql/with-schemas/index.d.ts +3 -3
  8. package/@types/persisters/persister-expo-sqlite/index.d.ts +3 -3
  9. package/@types/persisters/persister-expo-sqlite/with-schemas/index.d.ts +3 -3
  10. package/@types/persisters/persister-file/index.d.ts +1 -1
  11. package/@types/persisters/persister-file/with-schemas/index.d.ts +1 -1
  12. package/@types/persisters/persister-libsql/index.d.ts +3 -3
  13. package/@types/persisters/persister-libsql/with-schemas/index.d.ts +3 -3
  14. package/@types/persisters/persister-partykit-client/index.d.ts +2 -2
  15. package/@types/persisters/persister-partykit-client/with-schemas/index.d.ts +2 -2
  16. package/@types/persisters/persister-powersync/index.d.ts +3 -3
  17. package/@types/persisters/persister-powersync/with-schemas/index.d.ts +3 -3
  18. package/@types/persisters/persister-react-native-mmkv/index.d.ts +2 -2
  19. package/@types/persisters/persister-react-native-mmkv/with-schemas/index.d.ts +2 -2
  20. package/@types/persisters/persister-react-native-sqlite/index.d.ts +3 -3
  21. package/@types/persisters/persister-react-native-sqlite/with-schemas/index.d.ts +3 -3
  22. package/@types/persisters/persister-remote/index.d.ts +1 -1
  23. package/@types/persisters/persister-remote/with-schemas/index.d.ts +1 -1
  24. package/@types/persisters/with-schemas/index.d.ts +1 -1
  25. package/@types/synchronizers/synchronizer-ws-server-durable-object/index.d.ts +7 -7
  26. package/@types/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.d.ts +7 -7
  27. package/@types/ui-react/index.d.ts +3 -3
  28. package/@types/ui-react/with-schemas/index.d.ts +3 -3
  29. package/@types/ui-react-dom/index.d.ts +52 -13
  30. package/@types/ui-react-dom/with-schemas/index.d.ts +52 -13
  31. package/@types/ui-react-inspector/index.d.ts +7 -4
  32. package/@types/ui-react-inspector/with-schemas/index.d.ts +7 -4
  33. package/@types/ui-svelte-dom/index.d.ts +2139 -0
  34. package/@types/ui-svelte-dom/with-schemas/index.d.ts +2186 -0
  35. package/@types/ui-svelte-inspector/index.d.ts +73 -0
  36. package/@types/ui-svelte-inspector/with-schemas/index.d.ts +73 -0
  37. package/agents.md +23 -12
  38. package/min/ui-react-inspector/index.js +1 -1
  39. package/min/ui-react-inspector/index.js.gz +0 -0
  40. package/min/ui-react-inspector/with-schemas/index.js +1 -1
  41. package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  42. package/min/ui-svelte-dom/index.js +1 -0
  43. package/min/ui-svelte-dom/index.js.gz +0 -0
  44. package/min/ui-svelte-dom/with-schemas/index.js +1 -0
  45. package/min/ui-svelte-dom/with-schemas/index.js.gz +0 -0
  46. package/min/ui-svelte-inspector/index.js +1 -0
  47. package/min/ui-svelte-inspector/index.js.gz +0 -0
  48. package/min/ui-svelte-inspector/with-schemas/index.js +1 -0
  49. package/min/ui-svelte-inspector/with-schemas/index.js.gz +0 -0
  50. package/package.json +85 -13
  51. package/readme.md +14 -14
  52. package/releases.md +101 -67
  53. package/ui-react-inspector/index.js +4676 -4657
  54. package/ui-react-inspector/with-schemas/index.js +4676 -4657
  55. package/ui-svelte/index.js +1 -1
  56. package/ui-svelte/with-schemas/index.js +1 -1
  57. package/ui-svelte-dom/index.js +2441 -0
  58. package/ui-svelte-dom/with-schemas/index.js +2441 -0
  59. package/ui-svelte-inspector/index.js +7680 -0
  60. package/ui-svelte-inspector/with-schemas/index.js +7680 -0
@@ -84,7 +84,7 @@ export class WsServerDurableObject<
84
84
  * This example enables Durable Object persistence by creating a Persister
85
85
  * object within the createPersister method of a WsServerDurableObject.
86
86
  *
87
- * ```js yolo
87
+ * ```js ignore
88
88
  * import {createMergeableStore} from 'tinybase';
89
89
  * import {createDurableObjectStoragePersister} from 'tinybase/persisters/persister-durable-object-storage';
90
90
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
@@ -122,7 +122,7 @@ export class WsServerDurableObject<
122
122
  * This example logs the path being served by the Durable Object every time a
123
123
  * synchronization method is handled.
124
124
  *
125
- * ```js yolo
125
+ * ```js ignore
126
126
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
127
127
  *
128
128
  * export class MyDurableObject extends WsServerDurableObject {
@@ -148,7 +148,7 @@ export class WsServerDurableObject<
148
148
  * This example logs the list of clients being served by the Durable Object
149
149
  * every time a synchronization method is handled.
150
150
  *
151
- * ```js yolo
151
+ * ```js ignore
152
152
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
153
153
  *
154
154
  * export class MyDurableObject extends WsServerDurableObject {
@@ -177,7 +177,7 @@ export class WsServerDurableObject<
177
177
  * when the first client joins (the path Id is 'added'), and when the last
178
178
  * client leaves (the path Id is 'removed').
179
179
  *
180
- * ```js yolo
180
+ * ```js ignore
181
181
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
182
182
  *
183
183
  * export class MyDurableObject extends WsServerDurableObject {
@@ -212,7 +212,7 @@ export class WsServerDurableObject<
212
212
  * leaves (the client Id is 'removed') on the path being served by the Durable
213
213
  * Object.
214
214
  *
215
- * ```js yolo
215
+ * ```js ignore
216
216
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
217
217
  *
218
218
  * export class MyDurableObject extends WsServerDurableObject {
@@ -248,7 +248,7 @@ export class WsServerDurableObject<
248
248
  * This example logs every message routed by the Durable Object between
249
249
  * clients.
250
250
  *
251
- * ```js yolo
251
+ * ```js ignore
252
252
  * import {WsServerDurableObject} from 'tinybase/synchronizers/synchronizer-ws-server-durable-object';
253
253
  *
254
254
  * export class MyDurableObject extends WsServerDurableObject {
@@ -322,7 +322,7 @@ export class WsServerDurableObject<
322
322
  * Durable Object in the `MyDurableObjects` namespace. This would require the
323
323
  * `wrangler.toml` configuration shown above.
324
324
  *
325
- * ```js yolo
325
+ * ```js ignore
326
326
  * import {
327
327
  * WsServerDurableObject,
328
328
  * getWsServerDurableObjectFetch,
@@ -11844,7 +11844,7 @@ export function useParamValueListener(
11844
11844
  * // ->
11845
11845
  * `
11846
11846
  * <div>
11847
- * <input id="input">
11847
+ * <input id="input" value="cat">
11848
11848
  * {"felix":{"species":"cat"}}
11849
11849
  * </div>
11850
11850
  * `;
@@ -11995,8 +11995,8 @@ export function useSetParamValueCallback<Parameter>(
11995
11995
  * `
11996
11996
  * <div>
11997
11997
  * <form>
11998
- * <input id="species">
11999
- * <input id="color">
11998
+ * <input id="species" value="cat">
11999
+ * <input id="color" value="black">
12000
12000
  * <button type="submit">Filter</button>
12001
12001
  * </form>
12002
12002
  * {"felix":{"species":"cat","color":"black"}}
@@ -13034,7 +13034,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
13034
13034
  * // ->
13035
13035
  * `
13036
13036
  * <div>
13037
- * <input id="input">
13037
+ * <input id="input" value="cat">
13038
13038
  * {"felix":{"species":"cat"}}
13039
13039
  * </div>
13040
13040
  * `;
@@ -13201,8 +13201,8 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
13201
13201
  * `
13202
13202
  * <div>
13203
13203
  * <form>
13204
- * <input id="species">
13205
- * <input id="color">
13204
+ * <input id="species" value="cat">
13205
+ * <input id="color" value="black">
13206
13206
  * <button type="submit">Filter</button>
13207
13207
  * </form>
13208
13208
  * {"felix":{"species":"cat","color":"black"}}
@@ -5,7 +5,7 @@
5
5
  * The components in this module use the react-dom module and so are not
6
6
  * appropriate for environments like React Native (although those in the
7
7
  * lower-level ui-react module are).
8
- * @see UI Components demos
8
+ * @see UI Components (React) demos
9
9
  * @packageDocumentation
10
10
  * @module ui-react-dom
11
11
  * @since v4.1.0
@@ -690,7 +690,10 @@ export type SortedTablePaginatorProps = {
690
690
  * Store as an HTML <table> element, and registers a listener so that any
691
691
  * changes to that result will cause a re-render.
692
692
  *
693
- * See the <TableInHtmlTable /> demo for this component in action.
693
+ * See the <TableInHtmlTable /> (React) demo for this component in action:
694
+ *
695
+ * ![TableInHtmlTable example](/shots/tableinhtmltable-react-demo.png
696
+ * "TableInHtmlTable example")
694
697
  *
695
698
  * The component's props identify which Table to render based on Table Id, and
696
699
  * Store (which is either the default context Store, a named context Store, or
@@ -832,7 +835,12 @@ export function TableInHtmlTable(
832
835
  * Table in a Store, as an HTML <table> element, and registers a listener so
833
836
  * that any changes to that result will cause a re-render.
834
837
  *
835
- * See the <SortedTableInHtmlTable /> demo for this component in action.
838
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
839
+ * action:
840
+ *
841
+ * ![SortedTableInHtmlTable example](
842
+ * /shots/sortedtableinhtmltable-react-demo.png
843
+ * "SortedTableInHtmlTable example")
836
844
  *
837
845
  * The component's props identify which Table to render based on Table Id, and
838
846
  * Store (which is either the default context Store, a named context Store, or
@@ -1002,7 +1010,10 @@ export function SortedTableInHtmlTable(
1002
1010
  * as an HTML <table> element, and registers a listener so that any changes to
1003
1011
  * that result will cause a re-render.
1004
1012
  *
1005
- * See the <ValuesInHtmlTable /> demo for this component in action.
1013
+ * See the <ValuesInHtmlTable /> (React) demo for this component in action:
1014
+ *
1015
+ * ![ValuesInHtmlTable example](/shots/valuesinhtmltable-react-demo.png
1016
+ * "ValuesInHtmlTable example")
1006
1017
  *
1007
1018
  * The component's props identify which Row to render based on Table Id, Row Id,
1008
1019
  * and Store (which is either the default context Store, a named context Store,
@@ -1130,7 +1141,10 @@ export function ValuesInHtmlTable(
1130
1141
  * <table> element, and registers a listener so that any changes to that result
1131
1142
  * will cause a re-render.
1132
1143
  *
1133
- * See the <SliceInHtmlTable /> demo for this component in action.
1144
+ * See the <SliceInHtmlTable /> (React) demo for this component in action:
1145
+ *
1146
+ * ![SliceInHtmlTable example](/shots/sliceinhtmltable-react-demo.png
1147
+ * "SliceInHtmlTable example")
1134
1148
  *
1135
1149
  * The component's props identify which Slice to render based on Index Id, Slice
1136
1150
  * Id, and Indexes object (which is either the default context Indexes object, a
@@ -1272,7 +1286,7 @@ export function ValuesInHtmlTable(
1272
1286
  * </table>
1273
1287
  * `;
1274
1288
  * ```
1275
- * @category Indexes components
1289
+ * @category Other components
1276
1290
  * @since v4.1.0
1277
1291
  */
1278
1292
  export function SliceInHtmlTable(
@@ -1284,7 +1298,12 @@ export function SliceInHtmlTable(
1284
1298
  * linked by a Relationship as an HTML <table> element, and registers a listener
1285
1299
  * so that any changes to that result will cause a re-render.
1286
1300
  *
1287
- * See the <RelationshipInHtmlTable /> demo for this component in action.
1301
+ * See the <RelationshipInHtmlTable /> (React) demo for this component in
1302
+ * action:
1303
+ *
1304
+ * ![RelationshipInHtmlTable example](
1305
+ * /shots/relationshipinhtmltable-react-demo.png
1306
+ * "RelationshipInHtmlTable example")
1288
1307
  *
1289
1308
  * The component's props identify which Relationship to render based on
1290
1309
  * Relationship Id and Relationships object (which is either the default context
@@ -1446,7 +1465,7 @@ export function SliceInHtmlTable(
1446
1465
  * </table>
1447
1466
  * `;
1448
1467
  * ```
1449
- * @category Relationships components
1468
+ * @category Other components
1450
1469
  * @since v4.1.0
1451
1470
  */
1452
1471
  export function RelationshipInHtmlTable(
@@ -1458,7 +1477,12 @@ export function RelationshipInHtmlTable(
1458
1477
  * ResultTable in a Queries object as an HTML <table> element, and registers a
1459
1478
  * listener so that any changes to that result will cause a re-render.
1460
1479
  *
1461
- * See the <ResultTableInHtmlTable /> demo for this component in action.
1480
+ * See the <ResultTableInHtmlTable /> (React) demo for this component in
1481
+ * action:
1482
+ *
1483
+ * ![ResultTableInHtmlTable example](
1484
+ * /shots/resulttableinhtmltable-react-demo.png
1485
+ * "ResultTableInHtmlTable example")
1462
1486
  *
1463
1487
  * The component's props identify which ResultTable to render based on query Id,
1464
1488
  * and Queries object (which is either the default context Queries object, a
@@ -1607,7 +1631,12 @@ export function ResultTableInHtmlTable(
1607
1631
  * registers a listener so that any changes to that result will cause a
1608
1632
  * re-render.
1609
1633
  *
1610
- * See the <ResultSortedTableInHtmlTable /> demo for this component in action.
1634
+ * See the <ResultSortedTableInHtmlTable /> (React) demo for this component in
1635
+ * action:
1636
+ *
1637
+ * ![ResultSortedTableInHtmlTable example](
1638
+ * /shots/resultsortedtableinhtmltable-react-demo.png
1639
+ * "ResultSortedTableInHtmlTable example")
1611
1640
  *
1612
1641
  * The component's props identify which ResultTable to render based on query Id,
1613
1642
  * and Queries object (which is either the default context Queries object, a
@@ -1778,7 +1807,10 @@ export function ResultSortedTableInHtmlTable(
1778
1807
  * that can be edited in a web browser, and registers a listener so that any
1779
1808
  * changes to that result will cause a re-render.
1780
1809
  *
1781
- * See the <EditableCellView /> demo for this component in action.
1810
+ * See the <EditableCellView /> (React) demo for this component in action:
1811
+ *
1812
+ * ![EditableCellView example](/shots/editablecellview-react-demo.png
1813
+ * "EditableCellView example")
1782
1814
  *
1783
1815
  * The component's props identify which Cell to render based on Table Id, Row
1784
1816
  * Id, Cell Id, and Store (which is either the default context Store, a named
@@ -1846,7 +1878,10 @@ export function EditableCellView(
1846
1878
  * that can be edited in a web browser, and registers a listener so that any
1847
1879
  * changes to that result will cause a re-render.
1848
1880
  *
1849
- * See the <EditableValueView /> demo for this component in action.
1881
+ * See the <EditableValueView /> (React) demo for this component in action:
1882
+ *
1883
+ * ![EditableValueView example](/shots/editablevalueview-react-demo.png
1884
+ * "EditableValueView example")
1850
1885
  *
1851
1886
  * The component's props identify which Value to render based on Table Id, Row
1852
1887
  * Id, Value Id, and Store (which is either the default context Store, a named
@@ -1913,7 +1948,11 @@ export function EditableValueView(
1913
1948
  /**
1914
1949
  * The SortedTablePaginator component renders a paginator for a sorted table.
1915
1950
  *
1916
- * See the <SortedTableInHtmlTable /> demo for this component in action.
1951
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
1952
+ * action:
1953
+ *
1954
+ * ![SortedTablePaginator example](/shots/sortedtablepaginator-react-demo.png
1955
+ * "SortedTablePaginator example")
1917
1956
  *
1918
1957
  * The component displays 'previous' and 'next' buttons for paging through the
1919
1958
  * Table if there are more Row Ids than fit in each page. The component will
@@ -5,7 +5,7 @@
5
5
  * The components in this module use the react-dom module and so are not
6
6
  * appropriate for environments like React Native (although those in the
7
7
  * lower-level ui-react module are).
8
- * @see UI Components demos
8
+ * @see UI Components (React) demos
9
9
  * @packageDocumentation
10
10
  * @module ui-react-dom
11
11
  * @since v4.1.0
@@ -672,7 +672,10 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
672
672
  * ): ComponentReturnType;
673
673
  * ```
674
674
  *
675
- * See the <TableInHtmlTable /> demo for this component in action.
675
+ * See the <TableInHtmlTable /> (React) demo for this component in action:
676
+ *
677
+ * ![TableInHtmlTable example](/shots/tableinhtmltable-react-demo.png
678
+ * "TableInHtmlTable example")
676
679
  *
677
680
  * The component's props identify which Table to render based on Table Id, and
678
681
  * Store (which is either the default context Store, a named context Store, or
@@ -822,7 +825,12 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
822
825
  * ): ComponentReturnType;
823
826
  * ```
824
827
  *
825
- * See the <SortedTableInHtmlTable /> demo for this component in action.
828
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
829
+ * action:
830
+ *
831
+ * ![SortedTableInHtmlTable example](
832
+ * /shots/sortedtableinhtmltable-react-demo.png
833
+ * "SortedTableInHtmlTable example")
826
834
  *
827
835
  * The component's props identify which Table to render based on Table Id, and
828
836
  * Store (which is either the default context Store, a named context Store, or
@@ -1000,7 +1008,10 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1000
1008
  * ): ComponentReturnType;
1001
1009
  * ```
1002
1010
  *
1003
- * See the <ValuesInHtmlTable /> demo for this component in action.
1011
+ * See the <ValuesInHtmlTable /> (React) demo for this component in action:
1012
+ *
1013
+ * ![ValuesInHtmlTable example](/shots/valuesinhtmltable-react-demo.png
1014
+ * "ValuesInHtmlTable example")
1004
1015
  *
1005
1016
  * The component's props identify which Row to render based on Table Id, Row Id,
1006
1017
  * and Store (which is either the default context Store, a named context Store,
@@ -1136,7 +1147,10 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1136
1147
  * ): ComponentReturnType;
1137
1148
  * ```
1138
1149
  *
1139
- * See the <SliceInHtmlTable /> demo for this component in action.
1150
+ * See the <SliceInHtmlTable /> (React) demo for this component in action:
1151
+ *
1152
+ * ![SliceInHtmlTable example](/shots/sliceinhtmltable-react-demo.png
1153
+ * "SliceInHtmlTable example")
1140
1154
  *
1141
1155
  * The component's props identify which Slice to render based on Index Id, Slice
1142
1156
  * Id, and Indexes object (which is either the default context Indexes object, a
@@ -1278,7 +1292,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1278
1292
  * </table>
1279
1293
  * `;
1280
1294
  * ```
1281
- * @category Indexes components
1295
+ * @category Other components
1282
1296
  * @since v4.1.0
1283
1297
  */
1284
1298
  SliceInHtmlTable: (
@@ -1298,7 +1312,12 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1298
1312
  * ): ComponentReturnType;
1299
1313
  * ```
1300
1314
  *
1301
- * See the <RelationshipInHtmlTable /> demo for this component in action.
1315
+ * See the <RelationshipInHtmlTable /> (React) demo for this component in
1316
+ * action:
1317
+ *
1318
+ * ![RelationshipInHtmlTable example](
1319
+ * /shots/relationshipinhtmltable-react-demo.png
1320
+ * "RelationshipInHtmlTable example")
1302
1321
  *
1303
1322
  * The component's props identify which Relationship to render based on
1304
1323
  * Relationship Id and Relationships object (which is either the default context
@@ -1460,7 +1479,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1460
1479
  * </table>
1461
1480
  * `;
1462
1481
  * ```
1463
- * @category Relationships components
1482
+ * @category Other components
1464
1483
  * @since v4.1.0
1465
1484
  */
1466
1485
  RelationshipInHtmlTable: (
@@ -1480,7 +1499,12 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1480
1499
  * ): ComponentReturnType;
1481
1500
  * ```
1482
1501
  *
1483
- * See the <ResultTableInHtmlTable /> demo for this component in action.
1502
+ * See the <ResultTableInHtmlTable /> (React) demo for this component in
1503
+ * action:
1504
+ *
1505
+ * ![ResultTableInHtmlTable example](
1506
+ * /shots/resulttableinhtmltable-react-demo.png
1507
+ * "ResultTableInHtmlTable example")
1484
1508
  *
1485
1509
  * The component's props identify which ResultTable to render based on query Id,
1486
1510
  * and Queries object (which is either the default context Queries object, a
@@ -1637,7 +1661,12 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1637
1661
  * ): ComponentReturnType;
1638
1662
  * ```
1639
1663
  *
1640
- * See the <ResultSortedTableInHtmlTable /> demo for this component in action.
1664
+ * See the <ResultSortedTableInHtmlTable /> (React) demo for this component in
1665
+ * action:
1666
+ *
1667
+ * ![ResultSortedTableInHtmlTable example](
1668
+ * /shots/resultsortedtableinhtmltable-react-demo.png
1669
+ * "ResultSortedTableInHtmlTable example")
1641
1670
  *
1642
1671
  * The component's props identify which ResultTable to render based on query Id,
1643
1672
  * and Queries object (which is either the default context Queries object, a
@@ -1816,7 +1845,10 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1816
1845
  * ): ComponentReturnType;
1817
1846
  * ```
1818
1847
  *
1819
- * See the <EditableCellView /> demo for this component in action.
1848
+ * See the <EditableCellView /> (React) demo for this component in action:
1849
+ *
1850
+ * ![EditableCellView example](/shots/editablecellview-react-demo.png
1851
+ * "EditableCellView example")
1820
1852
  *
1821
1853
  * The component's props identify which Cell to render based on Table Id, Row
1822
1854
  * Id, Cell Id, and Store (which is either the default context Store, a named
@@ -1898,7 +1930,10 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1898
1930
  * ): ComponentReturnType;
1899
1931
  * ```
1900
1932
  *
1901
- * See the <EditableValueView /> demo for this component in action.
1933
+ * See the <EditableValueView /> (React) demo for this component in action:
1934
+ *
1935
+ * ![EditableValueView example](/shots/editablevalueview-react-demo.png
1936
+ * "EditableValueView example")
1902
1937
  *
1903
1938
  * The component's props identify which Value to render based on Table Id, Row
1904
1939
  * Id, Value Id, and Store (which is either the default context Store, a named
@@ -1965,7 +2000,11 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1965
2000
  /**
1966
2001
  * The SortedTablePaginator component renders a paginator for a sorted table.
1967
2002
  *
1968
- * See the <SortedTableInHtmlTable /> demo for this component in action.
2003
+ * See the <SortedTableInHtmlTable /> (React) demo for this component in
2004
+ * action:
2005
+ *
2006
+ * ![SortedTablePaginator example](/shots/sortedtablepaginator-react-demo.png
2007
+ * "SortedTablePaginator example")
1969
2008
  *
1970
2009
  * The component displays 'previous' and 'next' buttons for paging through the
1971
2010
  * Table if there are more Row Ids than fit in each page. The component will
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * The component in this module uses the react-dom module and so is not
6
6
  * appropriate for environments like React Native.
7
- * @see <Inspector /> demo
7
+ * @see <Inspector /> (React) demo
8
8
  * @packageDocumentation
9
9
  * @module ui-react-inspector
10
10
  * @since v5.0.0
@@ -44,7 +44,10 @@ export type InspectorProps = {
44
44
  * The Inspector component renders a tool which allows you to view and edit the
45
45
  * content of a Store in a debug web environment.
46
46
  *
47
- * See the <Inspector /> demo for this component in action.
47
+ * See the <Inspector /> (React) demo for this component in action:
48
+ *
49
+ * ![Inspector example](/shots/inspector-react-demo.png
50
+ * "Inspector example")
48
51
  *
49
52
  * The component displays a nub in the corner of the screen which you may then
50
53
  * click to interact with all the Store objects in the Provider component
@@ -77,8 +80,8 @@ export type InspectorProps = {
77
80
  * const app = document.createElement('div');
78
81
  * createRoot(app).render(<App store={store} />); // !act
79
82
  * // ... // !act
80
- * console.log(app.innerHTML.substring(0, 30));
81
- * // -> '<aside id="tinybaseInspector">'
83
+ * console.log(app.querySelector('aside')?.id);
84
+ * // -> 'tinybaseInspector'
82
85
  * ```
83
86
  * @category Development components
84
87
  * @essential Using React
@@ -4,7 +4,7 @@
4
4
  *
5
5
  * The component in this module uses the react-dom module and so is not
6
6
  * appropriate for environments like React Native.
7
- * @see <Inspector /> demo
7
+ * @see <Inspector /> (React) demo
8
8
  * @packageDocumentation
9
9
  * @module ui-react-inspector
10
10
  * @since v5.0.0
@@ -44,7 +44,10 @@ export type InspectorProps = {
44
44
  * The Inspector component renders a tool which allows you to view and edit the
45
45
  * content of a Store in a debug web environment.
46
46
  *
47
- * See the <Inspector /> demo for this component in action.
47
+ * See the <Inspector /> (React) demo for this component in action:
48
+ *
49
+ * ![Inspector example](/shots/inspector-react-demo.png
50
+ * "Inspector example")
48
51
  *
49
52
  * The component displays a nub in the corner of the screen which you may then
50
53
  * click to interact with all the Store objects in the Provider component
@@ -77,8 +80,8 @@ export type InspectorProps = {
77
80
  * const app = document.createElement('div');
78
81
  * createRoot(app).render(<App store={store} />); // !act
79
82
  * // ... // !act
80
- * console.log(app.innerHTML.substring(0, 30));
81
- * // -> '<aside id="tinybaseInspector">'
83
+ * console.log(app.querySelector('aside')?.id);
84
+ * // -> 'tinybaseInspector'
82
85
  * ```
83
86
  * @category Development components
84
87
  * @essential Using React