tinybase 8.4.2 → 8.5.0-beta.1

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 (141) hide show
  1. package/@types/ui-react-dom/index.d.ts +10 -10
  2. package/@types/ui-react-dom/with-schemas/index.d.ts +10 -10
  3. package/@types/ui-react-dom-charts/index.d.ts +242 -0
  4. package/@types/ui-react-dom-charts/with-schemas/index.d.ts +296 -0
  5. package/@types/ui-react-inspector/index.d.ts +1 -1
  6. package/@types/ui-react-inspector/with-schemas/index.d.ts +1 -1
  7. package/@types/ui-solid-dom/index.d.ts +10 -10
  8. package/@types/ui-solid-dom/with-schemas/index.d.ts +10 -10
  9. package/@types/ui-solid-inspector/index.d.ts +1 -1
  10. package/@types/ui-solid-inspector/with-schemas/index.d.ts +1 -1
  11. package/@types/ui-svelte-dom/index.d.ts +10 -10
  12. package/@types/ui-svelte-dom/with-schemas/index.d.ts +10 -10
  13. package/@types/ui-svelte-inspector/index.d.ts +1 -1
  14. package/@types/ui-svelte-inspector/with-schemas/index.d.ts +1 -1
  15. package/common/index.js +3 -2
  16. package/common/with-schemas/index.js +3 -2
  17. package/index.js +5 -3
  18. package/mergeable-store/index.js +5 -3
  19. package/mergeable-store/with-schemas/index.js +5 -3
  20. package/metrics/index.js +1 -1
  21. package/metrics/with-schemas/index.js +1 -1
  22. package/min/common/index.js +1 -1
  23. package/min/common/index.js.gz +0 -0
  24. package/min/common/with-schemas/index.js +1 -1
  25. package/min/common/with-schemas/index.js.gz +0 -0
  26. package/min/index.js +1 -1
  27. package/min/index.js.gz +0 -0
  28. package/min/mergeable-store/index.js +1 -1
  29. package/min/mergeable-store/index.js.gz +0 -0
  30. package/min/mergeable-store/with-schemas/index.js +1 -1
  31. package/min/mergeable-store/with-schemas/index.js.gz +0 -0
  32. package/min/omni/index.js +1 -1
  33. package/min/omni/index.js.gz +0 -0
  34. package/min/omni/with-schemas/index.js +1 -1
  35. package/min/omni/with-schemas/index.js.gz +0 -0
  36. package/min/persisters/persister-durable-object-sql-storage/index.js +1 -1
  37. package/min/persisters/persister-durable-object-sql-storage/index.js.gz +0 -0
  38. package/min/persisters/persister-durable-object-sql-storage/with-schemas/index.js +1 -1
  39. package/min/persisters/persister-durable-object-sql-storage/with-schemas/index.js.gz +0 -0
  40. package/min/persisters/persister-partykit-server/index.js +1 -1
  41. package/min/persisters/persister-partykit-server/index.js.gz +0 -0
  42. package/min/persisters/persister-partykit-server/with-schemas/index.js +1 -1
  43. package/min/persisters/persister-partykit-server/with-schemas/index.js.gz +0 -0
  44. package/min/queries/index.js +1 -1
  45. package/min/queries/index.js.gz +0 -0
  46. package/min/queries/with-schemas/index.js +1 -1
  47. package/min/queries/with-schemas/index.js.gz +0 -0
  48. package/min/synchronizers/index.js +1 -1
  49. package/min/synchronizers/index.js.gz +0 -0
  50. package/min/synchronizers/synchronizer-broadcast-channel/index.js +1 -1
  51. package/min/synchronizers/synchronizer-broadcast-channel/index.js.gz +0 -0
  52. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +1 -1
  53. package/min/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js.gz +0 -0
  54. package/min/synchronizers/synchronizer-local/index.js +1 -1
  55. package/min/synchronizers/synchronizer-local/index.js.gz +0 -0
  56. package/min/synchronizers/synchronizer-local/with-schemas/index.js +1 -1
  57. package/min/synchronizers/synchronizer-local/with-schemas/index.js.gz +0 -0
  58. package/min/synchronizers/synchronizer-ws-client/index.js +1 -1
  59. package/min/synchronizers/synchronizer-ws-client/index.js.gz +0 -0
  60. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js +1 -1
  61. package/min/synchronizers/synchronizer-ws-client/with-schemas/index.js.gz +0 -0
  62. package/min/synchronizers/synchronizer-ws-server/index.js +1 -1
  63. package/min/synchronizers/synchronizer-ws-server/index.js.gz +0 -0
  64. package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js +1 -1
  65. package/min/synchronizers/synchronizer-ws-server/with-schemas/index.js.gz +0 -0
  66. package/min/synchronizers/synchronizer-ws-server-durable-object/index.js +1 -1
  67. package/min/synchronizers/synchronizer-ws-server-durable-object/index.js.gz +0 -0
  68. package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +1 -1
  69. package/min/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js.gz +0 -0
  70. package/min/synchronizers/with-schemas/index.js +1 -1
  71. package/min/synchronizers/with-schemas/index.js.gz +0 -0
  72. package/min/ui-react-dom/index.js +1 -1
  73. package/min/ui-react-dom/index.js.gz +0 -0
  74. package/min/ui-react-dom/with-schemas/index.js +1 -1
  75. package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
  76. package/min/ui-react-dom-charts/index.js +1 -0
  77. package/min/ui-react-dom-charts/index.js.gz +0 -0
  78. package/min/ui-react-dom-charts/with-schemas/index.js +1 -0
  79. package/min/ui-react-dom-charts/with-schemas/index.js.gz +0 -0
  80. package/min/ui-react-inspector/index.js +1 -1
  81. package/min/ui-react-inspector/index.js.gz +0 -0
  82. package/min/ui-react-inspector/with-schemas/index.js +1 -1
  83. package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  84. package/min/ui-solid-dom/index.js +1 -1
  85. package/min/ui-solid-dom/index.js.gz +0 -0
  86. package/min/ui-solid-dom/with-schemas/index.js +1 -1
  87. package/min/ui-solid-dom/with-schemas/index.js.gz +0 -0
  88. package/min/ui-solid-inspector/index.js +1 -1
  89. package/min/ui-solid-inspector/index.js.gz +0 -0
  90. package/min/ui-solid-inspector/with-schemas/index.js +1 -1
  91. package/min/ui-solid-inspector/with-schemas/index.js.gz +0 -0
  92. package/min/ui-svelte-dom/index.js +1 -1
  93. package/min/ui-svelte-dom/index.js.gz +0 -0
  94. package/min/ui-svelte-dom/with-schemas/index.js +1 -1
  95. package/min/ui-svelte-dom/with-schemas/index.js.gz +0 -0
  96. package/min/ui-svelte-inspector/index.js +1 -1
  97. package/min/ui-svelte-inspector/index.js.gz +0 -0
  98. package/min/ui-svelte-inspector/with-schemas/index.js +1 -1
  99. package/min/ui-svelte-inspector/with-schemas/index.js.gz +0 -0
  100. package/min/with-schemas/index.js +1 -1
  101. package/min/with-schemas/index.js.gz +0 -0
  102. package/omni/index.js +7 -4
  103. package/omni/with-schemas/index.js +7 -4
  104. package/package.json +38 -2
  105. package/persisters/persister-durable-object-sql-storage/index.js +13 -11
  106. package/persisters/persister-durable-object-sql-storage/with-schemas/index.js +13 -11
  107. package/persisters/persister-partykit-client/index.js +2 -1
  108. package/persisters/persister-partykit-client/with-schemas/index.js +2 -1
  109. package/persisters/persister-partykit-server/index.js +2 -1
  110. package/persisters/persister-partykit-server/with-schemas/index.js +2 -1
  111. package/queries/index.js +1 -1
  112. package/queries/with-schemas/index.js +1 -1
  113. package/readme.md +18 -14
  114. package/releases.md +91 -58
  115. package/synchronizers/index.js +3 -2
  116. package/synchronizers/synchronizer-broadcast-channel/index.js +3 -2
  117. package/synchronizers/synchronizer-broadcast-channel/with-schemas/index.js +3 -2
  118. package/synchronizers/synchronizer-local/index.js +3 -2
  119. package/synchronizers/synchronizer-local/with-schemas/index.js +3 -2
  120. package/synchronizers/synchronizer-ws-client/index.js +3 -2
  121. package/synchronizers/synchronizer-ws-client/with-schemas/index.js +3 -2
  122. package/synchronizers/synchronizer-ws-server/index.js +3 -2
  123. package/synchronizers/synchronizer-ws-server/with-schemas/index.js +3 -2
  124. package/synchronizers/synchronizer-ws-server-durable-object/index.js +3 -2
  125. package/synchronizers/synchronizer-ws-server-durable-object/with-schemas/index.js +3 -2
  126. package/synchronizers/with-schemas/index.js +3 -2
  127. package/ui-react-dom/index.js +10 -7
  128. package/ui-react-dom/with-schemas/index.js +10 -7
  129. package/ui-react-dom-charts/index.js +1229 -0
  130. package/ui-react-dom-charts/with-schemas/index.js +1229 -0
  131. package/ui-react-inspector/index.js +13 -9
  132. package/ui-react-inspector/with-schemas/index.js +13 -9
  133. package/ui-solid-dom/index.js +10 -7
  134. package/ui-solid-dom/with-schemas/index.js +10 -7
  135. package/ui-solid-inspector/index.js +13 -9
  136. package/ui-solid-inspector/with-schemas/index.js +13 -9
  137. package/ui-svelte-dom/index.js +11 -8
  138. package/ui-svelte-dom/with-schemas/index.js +11 -8
  139. package/ui-svelte-inspector/index.js +17 -13
  140. package/ui-svelte-inspector/with-schemas/index.js +17 -13
  141. package/with-schemas/index.js +5 -3
@@ -0,0 +1,296 @@
1
+ /**
2
+ * The ui-react-dom-charts module of the TinyBase project provides components
3
+ * to make it easy to create web-based reactive charts with Store and Queries
4
+ * objects.
5
+ *
6
+ * The components in this module use the react-dom module and so are not
7
+ * appropriate for environments like React Native (although those in the
8
+ * lower-level ui-react module are).
9
+ *
10
+ * For a full list of SVG class names that can be styled with CSS, see the
11
+ * Using Charts guide.
12
+ * @packageDocumentation
13
+ * @module ui-react-dom-charts
14
+ * @since v8.5.0
15
+ */
16
+ import type {
17
+ CellIdFromSchema,
18
+ TableIdFromSchema,
19
+ } from '../../_internal/store/with-schemas/index.d.ts';
20
+ import type {ComponentReturnType} from '../../_internal/ui-react/with-schemas/index.d.ts';
21
+ import type {
22
+ QueriesOrQueriesId,
23
+ StoreOrStoreId,
24
+ } from '../../_internal/ui/with-schemas/index.d.ts';
25
+ import type {Id} from '../../common/with-schemas/index.d.ts';
26
+ import type {OptionalSchemas} from '../../store/with-schemas/index.d.ts';
27
+
28
+ /**
29
+ * The ChartProps type describes the props that are used to configure the
30
+ * chart element that renders a chart.
31
+ * @category Configuration
32
+ * @since v8.5.0
33
+ */
34
+ export type ChartProps = {
35
+ /**
36
+ * An optional string that will be used as the class attribute of the chart's
37
+ * SVG element. This can be used as the root selector for styling chart
38
+ * internals, as shown in the Using Charts guide.
39
+ * @category Prop
40
+ * @since v8.5.0
41
+ */
42
+ readonly className?: string;
43
+ };
44
+
45
+ /**
46
+ * The ChartTableSourceProps type describes the props that bind a chart to a
47
+ * Table in a Store.
48
+ * @category Configuration
49
+ * @since v8.5.0
50
+ */
51
+ export type ChartTableSourceProps<
52
+ Schemas extends OptionalSchemas,
53
+ TableIds extends TableIdFromSchema<Schemas[0]> = TableIdFromSchema<
54
+ Schemas[0]
55
+ >,
56
+ > = TableIds extends infer TableId
57
+ ? TableId extends TableIdFromSchema<Schemas[0]>
58
+ ? {
59
+ /**
60
+ * The Id of the Table in the Store to chart.
61
+ * @category Prop
62
+ * @since v8.5.0
63
+ */
64
+ readonly tableId: TableId;
65
+ /**
66
+ * The Store to chart, or the Id of a Store that is registered with the
67
+ * Provider component.
68
+ * @category Prop
69
+ * @since v8.5.0
70
+ */
71
+ readonly store?: StoreOrStoreId<Schemas>;
72
+ /**
73
+ * This prop is not used when binding a chart to a Table.
74
+ * @category Prop
75
+ * @since v8.5.0
76
+ */
77
+ readonly queryId?: never;
78
+ /**
79
+ * This prop is not used when binding a chart to a Table.
80
+ * @category Prop
81
+ * @since v8.5.0
82
+ */
83
+ readonly queries?: never;
84
+ }
85
+ : never
86
+ : never;
87
+
88
+ /**
89
+ * The ChartQuerySourceProps type describes the props that bind a chart to a
90
+ * Query in a Queries object.
91
+ * @category Configuration
92
+ * @since v8.5.0
93
+ */
94
+ export type ChartQuerySourceProps<Schemas extends OptionalSchemas> = {
95
+ /**
96
+ * The Id of the query in the Queries object to chart.
97
+ * @category Prop
98
+ * @since v8.5.0
99
+ */
100
+ readonly queryId: Id;
101
+ /**
102
+ * The Queries object to chart, or the Id of a Queries object that is
103
+ * registered with the Provider component.
104
+ * @category Prop
105
+ * @since v8.5.0
106
+ */
107
+ readonly queries?: QueriesOrQueriesId<Schemas>;
108
+ /**
109
+ * This prop is not used when binding a chart to a Query.
110
+ * @category Prop
111
+ * @since v8.5.0
112
+ */
113
+ readonly tableId?: never;
114
+ /**
115
+ * This prop is not used when binding a chart to a Query.
116
+ * @category Prop
117
+ * @since v8.5.0
118
+ */
119
+ readonly store?: never;
120
+ };
121
+
122
+ /**
123
+ * The ChartBindingProps type describes the props that bind a chart to Cell
124
+ * values in TinyBase data.
125
+ * @category Configuration
126
+ * @since v8.5.0
127
+ */
128
+ export type ChartBindingProps<CellId extends Id = Id> = {
129
+ /**
130
+ * The Id of the Cell that provides each data point's x value.
131
+ * @category Prop
132
+ * @since v8.5.0
133
+ */
134
+ readonly xCellId: CellId;
135
+ /**
136
+ * The Id of the Cell that provides each data point's y value.
137
+ * @category Prop
138
+ * @since v8.5.0
139
+ */
140
+ readonly yCellId: CellId;
141
+ /**
142
+ * The Id of the Cell used to sort the charted rows.
143
+ * @category Prop
144
+ * @since v8.5.0
145
+ */
146
+ readonly sortCellId?: CellId;
147
+ /**
148
+ * Whether the charted rows should be sorted in descending order.
149
+ * @category Prop
150
+ * @since v8.5.0
151
+ */
152
+ readonly descending?: boolean;
153
+ /**
154
+ * The number of sorted rows to skip before charting.
155
+ * @category Prop
156
+ * @since v8.5.0
157
+ */
158
+ readonly offset?: number;
159
+ /**
160
+ * The maximum number of sorted rows to chart.
161
+ * @category Prop
162
+ * @since v8.5.0
163
+ */
164
+ readonly limit?: number;
165
+ };
166
+
167
+ type ChartTableBindingProps<
168
+ Schemas extends OptionalSchemas,
169
+ TableIds extends TableIdFromSchema<Schemas[0]> = TableIdFromSchema<
170
+ Schemas[0]
171
+ >,
172
+ > = TableIds extends infer TableId
173
+ ? TableId extends TableIdFromSchema<Schemas[0]>
174
+ ? ChartTableSourceProps<Schemas, TableId> &
175
+ ChartBindingProps<CellIdFromSchema<Schemas[0], TableId>>
176
+ : never
177
+ : never;
178
+
179
+ /**
180
+ * The WithSchemas type provides a version of this module that is typed with
181
+ * schemas.
182
+ * @category Development
183
+ * @since v8.5.0
184
+ */
185
+ export type WithSchemas<Schemas extends OptionalSchemas> = {
186
+ /**
187
+ * The LineChart component renders a line chart from TinyBase data.
188
+ * @category Store components
189
+ * @since v8.5.0
190
+ * @example
191
+ * This example creates a Provider context into which a default Store is
192
+ * provided. The LineChart component then renders an SVG chart from Cells in the
193
+ * `pets` Table.
194
+ *
195
+ * This has schema-based typing. The following is a simplified representation:
196
+ *
197
+ * ```ts override
198
+ * LineChart(
199
+ * props: (ChartTableSourceProps | ChartQuerySourceProps) &
200
+ * ChartBindingProps &
201
+ * ChartProps,
202
+ * ): ComponentReturnType;
203
+ * ```
204
+ *
205
+ * ```jsx
206
+ * import React from 'react';
207
+ * import {createRoot} from 'react-dom/client';
208
+ * import {createStore} from 'tinybase';
209
+ * import {Provider} from 'tinybase/ui-react';
210
+ * import {LineChart} from 'tinybase/ui-react-dom-charts';
211
+ *
212
+ * const App = ({store}) => (
213
+ * <Provider store={store}>
214
+ * <LineChart
215
+ * tableId="pets"
216
+ * xCellId="order"
217
+ * yCellId="sold"
218
+ * className="sales"
219
+ * />
220
+ * </Provider>
221
+ * );
222
+ *
223
+ * const store = createStore().setTable('pets', {
224
+ * hamsters: {order: 1, sold: 12},
225
+ * rabbits: {order: 2, sold: 9},
226
+ * });
227
+ * const app = document.createElement('div');
228
+ * createRoot(app).render(<App store={store} />); // !act
229
+ * console.log(app.firstChild?.nodeName.toLowerCase());
230
+ * // -> 'svg'
231
+ * console.log(app.firstChild?.getAttribute('class'));
232
+ * // -> 'sales'
233
+ * ```
234
+ */
235
+ LineChart: (
236
+ props:
237
+ | (ChartTableBindingProps<Schemas> & ChartProps)
238
+ | (ChartQuerySourceProps<Schemas> & ChartBindingProps & ChartProps),
239
+ ) => ComponentReturnType;
240
+
241
+ /**
242
+ * The BarChart component renders a bar chart from TinyBase data.
243
+ * @category Store components
244
+ * @since v8.5.0
245
+ * @example
246
+ * This example creates a Queries object and provides it through Provider
247
+ * context. The BarChart component then renders an SVG chart from Cells in the
248
+ * `bySpecies` query.
249
+ *
250
+ * This has schema-based typing. The following is a simplified representation:
251
+ *
252
+ * ```ts override
253
+ * BarChart(
254
+ * props: (ChartTableSourceProps | ChartQuerySourceProps) &
255
+ * ChartBindingProps &
256
+ * ChartProps,
257
+ * ): ComponentReturnType;
258
+ * ```
259
+ *
260
+ * ```jsx
261
+ * import React from 'react';
262
+ * import {createRoot} from 'react-dom/client';
263
+ * import {createQueries, createStore} from 'tinybase';
264
+ * import {Provider} from 'tinybase/ui-react';
265
+ * import {BarChart} from 'tinybase/ui-react-dom-charts';
266
+ *
267
+ * const App = ({queries}) => (
268
+ * <Provider queries={queries}>
269
+ * <BarChart queryId="bySpecies" xCellId="species" yCellId="sold" />
270
+ * </Provider>
271
+ * );
272
+ *
273
+ * const store = createStore().setTable('pets', {
274
+ * hamsters: {species: 'hamster', sold: 12},
275
+ * rabbits: {species: 'rabbit', sold: 9},
276
+ * });
277
+ * const queries = createQueries(store).setQueryDefinition(
278
+ * 'bySpecies',
279
+ * 'pets',
280
+ * ({select}) => {
281
+ * select('species');
282
+ * select('sold');
283
+ * },
284
+ * );
285
+ * const app = document.createElement('div');
286
+ * createRoot(app).render(<App queries={queries} />); // !act
287
+ * console.log(app.firstChild?.nodeName.toLowerCase());
288
+ * // -> 'svg'
289
+ * ```
290
+ */
291
+ BarChart: (
292
+ props:
293
+ | (ChartTableBindingProps<Schemas> & ChartProps)
294
+ | (ChartQuerySourceProps<Schemas> & ChartBindingProps & ChartProps),
295
+ ) => ComponentReturnType;
296
+ };
@@ -46,7 +46,7 @@ export type InspectorProps = {
46
46
  *
47
47
  * See the <Inspector /> (React) demo for this component in action:
48
48
  *
49
- * ![Inspector example](https://tinybase.org/shots/inspector-react-demo.png
49
+ * ![Inspector example](https://beta.tinybase.org/shots/inspector-react-demo.png
50
50
  * "Inspector example")
51
51
  *
52
52
  * The component displays a nub in the corner of the screen which you may then
@@ -46,7 +46,7 @@ export type InspectorProps = {
46
46
  *
47
47
  * See the <Inspector /> (React) demo for this component in action:
48
48
  *
49
- * ![Inspector example](https://tinybase.org/shots/inspector-react-demo.png
49
+ * ![Inspector example](https://beta.tinybase.org/shots/inspector-react-demo.png
50
50
  * "Inspector example")
51
51
  *
52
52
  * The component displays a nub in the corner of the screen which you may then
@@ -692,7 +692,7 @@ export type SortedTablePaginatorProps = {
692
692
  *
693
693
  * See the <TableInHtmlTable /> (Solid) demo for this component in action:
694
694
  *
695
- * ![TableInHtmlTable example](https://tinybase.org/shots/tableinhtmltable-solid-demo.png
695
+ * ![TableInHtmlTable example](https://beta.tinybase.org/shots/tableinhtmltable-solid-demo.png
696
696
  * "TableInHtmlTable example")
697
697
  *
698
698
  * The component's props identify which Table to render based on Table Id, and
@@ -836,7 +836,7 @@ export function TableInHtmlTable(
836
836
  * See the <SortedTableInHtmlTable /> (Solid) demo for this component in
837
837
  * action:
838
838
  *
839
- * ![SortedTableInHtmlTable example](https://tinybase.org/shots/sortedtableinhtmltable-solid-demo.png
839
+ * ![SortedTableInHtmlTable example](https://beta.tinybase.org/shots/sortedtableinhtmltable-solid-demo.png
840
840
  * "SortedTableInHtmlTable example")
841
841
  *
842
842
  * The component's props identify which Table to render based on Table Id, and
@@ -1007,7 +1007,7 @@ export function SortedTableInHtmlTable(
1007
1007
  *
1008
1008
  * See the <ValuesInHtmlTable /> (Solid) demo for this component in action:
1009
1009
  *
1010
- * ![ValuesInHtmlTable example](https://tinybase.org/shots/valuesinhtmltable-solid-demo.png
1010
+ * ![ValuesInHtmlTable example](https://beta.tinybase.org/shots/valuesinhtmltable-solid-demo.png
1011
1011
  * "ValuesInHtmlTable example")
1012
1012
  *
1013
1013
  * The component's props identify which Row to render based on Table Id, Row Id,
@@ -1136,7 +1136,7 @@ export function ValuesInHtmlTable(
1136
1136
  *
1137
1137
  * See the <SliceInHtmlTable /> (Solid) demo for this component in action:
1138
1138
  *
1139
- * ![SliceInHtmlTable example](https://tinybase.org/shots/sliceinhtmltable-solid-demo.png
1139
+ * ![SliceInHtmlTable example](https://beta.tinybase.org/shots/sliceinhtmltable-solid-demo.png
1140
1140
  * "SliceInHtmlTable example")
1141
1141
  *
1142
1142
  * The component's props identify which Slice to render based on Index Id, Slice
@@ -1292,7 +1292,7 @@ export function SliceInHtmlTable(
1292
1292
  * See the <RelationshipInHtmlTable /> (Solid) demo for this component in
1293
1293
  * action:
1294
1294
  *
1295
- * ![RelationshipInHtmlTable example](https://tinybase.org/shots/relationshipinhtmltable-solid-demo.png
1295
+ * ![RelationshipInHtmlTable example](https://beta.tinybase.org/shots/relationshipinhtmltable-solid-demo.png
1296
1296
  * "RelationshipInHtmlTable example")
1297
1297
  *
1298
1298
  * The component's props identify which Relationship to render based on
@@ -1466,7 +1466,7 @@ export function RelationshipInHtmlTable(
1466
1466
  * See the <ResultTableInHtmlTable /> (Solid) demo for this component in
1467
1467
  * action:
1468
1468
  *
1469
- * ![ResultTableInHtmlTable example](https://tinybase.org/shots/resulttableinhtmltable-solid-demo.png
1469
+ * ![ResultTableInHtmlTable example](https://beta.tinybase.org/shots/resulttableinhtmltable-solid-demo.png
1470
1470
  * "ResultTableInHtmlTable example")
1471
1471
  *
1472
1472
  * The component's props identify which ResultTable to render based on query Id,
@@ -1617,7 +1617,7 @@ export function ResultTableInHtmlTable(
1617
1617
  * See the <ResultSortedTableInHtmlTable /> (Solid) demo for this component in
1618
1618
  * action:
1619
1619
  *
1620
- * ![ResultSortedTableInHtmlTable example](https://tinybase.org/shots/resultsortedtableinhtmltable-solid-demo.png
1620
+ * ![ResultSortedTableInHtmlTable example](https://beta.tinybase.org/shots/resultsortedtableinhtmltable-solid-demo.png
1621
1621
  * "ResultSortedTableInHtmlTable example")
1622
1622
  *
1623
1623
  * The component's props identify which ResultTable to render based on query Id,
@@ -1789,7 +1789,7 @@ export function ResultSortedTableInHtmlTable(
1789
1789
  *
1790
1790
  * See the <EditableCellView /> (Solid) demo for this component in action:
1791
1791
  *
1792
- * ![EditableCellView example](https://tinybase.org/shots/editablecellview-solid-demo.png
1792
+ * ![EditableCellView example](https://beta.tinybase.org/shots/editablecellview-solid-demo.png
1793
1793
  * "EditableCellView example")
1794
1794
  *
1795
1795
  * The component's props identify which Cell to render based on Table Id, Row
@@ -1859,7 +1859,7 @@ export function EditableCellView(
1859
1859
  *
1860
1860
  * See the <EditableValueView /> (Solid) demo for this component in action:
1861
1861
  *
1862
- * ![EditableValueView example](https://tinybase.org/shots/editablevalueview-solid-demo.png
1862
+ * ![EditableValueView example](https://beta.tinybase.org/shots/editablevalueview-solid-demo.png
1863
1863
  * "EditableValueView example")
1864
1864
  *
1865
1865
  * The component's props identify which Value to render based on Table Id, Row
@@ -1929,7 +1929,7 @@ export function EditableValueView(
1929
1929
  * See the <SortedTableInHtmlTable /> (Solid) demo for this component in
1930
1930
  * action:
1931
1931
  *
1932
- * ![SortedTablePaginator example](https://tinybase.org/shots/sortedtablepaginator-solid-demo.png
1932
+ * ![SortedTablePaginator example](https://beta.tinybase.org/shots/sortedtablepaginator-solid-demo.png
1933
1933
  * "SortedTablePaginator example")
1934
1934
  *
1935
1935
  * The component displays 'previous' and 'next' buttons for paging through the
@@ -672,7 +672,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
672
672
  *
673
673
  * See the <TableInHtmlTable /> (Solid) demo for this component in action:
674
674
  *
675
- * ![TableInHtmlTable example](https://tinybase.org/shots/tableinhtmltable-solid-demo.png
675
+ * ![TableInHtmlTable example](https://beta.tinybase.org/shots/tableinhtmltable-solid-demo.png
676
676
  * "TableInHtmlTable example")
677
677
  *
678
678
  * The component's props identify which Table to render based on Table Id, and
@@ -824,7 +824,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
824
824
  * See the <SortedTableInHtmlTable /> (Solid) demo for this component in
825
825
  * action:
826
826
  *
827
- * ![SortedTableInHtmlTable example](https://tinybase.org/shots/sortedtableinhtmltable-solid-demo.png
827
+ * ![SortedTableInHtmlTable example](https://beta.tinybase.org/shots/sortedtableinhtmltable-solid-demo.png
828
828
  * "SortedTableInHtmlTable example")
829
829
  *
830
830
  * The component's props identify which Table to render based on Table Id, and
@@ -1003,7 +1003,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1003
1003
  *
1004
1004
  * See the <ValuesInHtmlTable /> (Solid) demo for this component in action:
1005
1005
  *
1006
- * ![ValuesInHtmlTable example](https://tinybase.org/shots/valuesinhtmltable-solid-demo.png
1006
+ * ![ValuesInHtmlTable example](https://beta.tinybase.org/shots/valuesinhtmltable-solid-demo.png
1007
1007
  * "ValuesInHtmlTable example")
1008
1008
  *
1009
1009
  * The component's props identify which Row to render based on Table Id, Row Id,
@@ -1140,7 +1140,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1140
1140
  *
1141
1141
  * See the <SliceInHtmlTable /> (Solid) demo for this component in action:
1142
1142
  *
1143
- * ![SliceInHtmlTable example](https://tinybase.org/shots/sliceinhtmltable-solid-demo.png
1143
+ * ![SliceInHtmlTable example](https://beta.tinybase.org/shots/sliceinhtmltable-solid-demo.png
1144
1144
  * "SliceInHtmlTable example")
1145
1145
  *
1146
1146
  * The component's props identify which Slice to render based on Index Id, Slice
@@ -1304,7 +1304,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1304
1304
  * See the <RelationshipInHtmlTable /> (Solid) demo for this component in
1305
1305
  * action:
1306
1306
  *
1307
- * ![RelationshipInHtmlTable example](https://tinybase.org/shots/relationshipinhtmltable-solid-demo.png
1307
+ * ![RelationshipInHtmlTable example](https://beta.tinybase.org/shots/relationshipinhtmltable-solid-demo.png
1308
1308
  * "RelationshipInHtmlTable example")
1309
1309
  *
1310
1310
  * The component's props identify which Relationship to render based on
@@ -1486,7 +1486,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1486
1486
  * See the <ResultTableInHtmlTable /> (Solid) demo for this component in
1487
1487
  * action:
1488
1488
  *
1489
- * ![ResultTableInHtmlTable example](https://tinybase.org/shots/resulttableinhtmltable-solid-demo.png
1489
+ * ![ResultTableInHtmlTable example](https://beta.tinybase.org/shots/resulttableinhtmltable-solid-demo.png
1490
1490
  * "ResultTableInHtmlTable example")
1491
1491
  *
1492
1492
  * The component's props identify which ResultTable to render based on query Id,
@@ -1645,7 +1645,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1645
1645
  * See the <ResultSortedTableInHtmlTable /> (Solid) demo for this component in
1646
1646
  * action:
1647
1647
  *
1648
- * ![ResultSortedTableInHtmlTable example](https://tinybase.org/shots/resultsortedtableinhtmltable-solid-demo.png
1648
+ * ![ResultSortedTableInHtmlTable example](https://beta.tinybase.org/shots/resultsortedtableinhtmltable-solid-demo.png
1649
1649
  * "ResultSortedTableInHtmlTable example")
1650
1650
  *
1651
1651
  * The component's props identify which ResultTable to render based on query Id,
@@ -1825,7 +1825,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1825
1825
  *
1826
1826
  * See the <EditableCellView /> (Solid) demo for this component in action:
1827
1827
  *
1828
- * ![EditableCellView example](https://tinybase.org/shots/editablecellview-solid-demo.png
1828
+ * ![EditableCellView example](https://beta.tinybase.org/shots/editablecellview-solid-demo.png
1829
1829
  * "EditableCellView example")
1830
1830
  *
1831
1831
  * The component's props identify which Cell to render based on Table Id, Row
@@ -1909,7 +1909,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1909
1909
  *
1910
1910
  * See the <EditableValueView /> (Solid) demo for this component in action:
1911
1911
  *
1912
- * ![EditableValueView example](https://tinybase.org/shots/editablevalueview-solid-demo.png
1912
+ * ![EditableValueView example](https://beta.tinybase.org/shots/editablevalueview-solid-demo.png
1913
1913
  * "EditableValueView example")
1914
1914
  *
1915
1915
  * The component's props identify which Value to render based on Table Id, Row
@@ -1979,7 +1979,7 @@ export type WithSchemas<Schemas extends OptionalSchemas> = {
1979
1979
  * See the <SortedTableInHtmlTable /> (Solid) demo for this component in
1980
1980
  * action:
1981
1981
  *
1982
- * ![SortedTablePaginator example](https://tinybase.org/shots/sortedtablepaginator-solid-demo.png
1982
+ * ![SortedTablePaginator example](https://beta.tinybase.org/shots/sortedtablepaginator-solid-demo.png
1983
1983
  * "SortedTablePaginator example")
1984
1984
  *
1985
1985
  * The component displays 'previous' and 'next' buttons for paging through the
@@ -46,7 +46,7 @@ export type InspectorProps = {
46
46
  *
47
47
  * See the <Inspector /> (Solid) demo for this component in action:
48
48
  *
49
- * ![Inspector example](https://tinybase.org/shots/inspector-solid-demo.png
49
+ * ![Inspector example](https://beta.tinybase.org/shots/inspector-solid-demo.png
50
50
  * "Inspector example")
51
51
  *
52
52
  * The component displays a nub in the corner of the screen which you may then
@@ -46,7 +46,7 @@ export type InspectorProps = {
46
46
  *
47
47
  * See the <Inspector /> (Solid) demo for this component in action:
48
48
  *
49
- * ![Inspector example](https://tinybase.org/shots/inspector-solid-demo.png
49
+ * ![Inspector example](https://beta.tinybase.org/shots/inspector-solid-demo.png
50
50
  * "Inspector example")
51
51
  *
52
52
  * The component displays a nub in the corner of the screen which you may then
@@ -690,7 +690,7 @@ export type SortedTablePaginatorProps = {
690
690
  *
691
691
  * See the <TableInHtmlTable /> (Svelte) demo for this component in action:
692
692
  *
693
- * ![TableInHtmlTable example](https://tinybase.org/shots/tableinhtmltable-svelte-demo.png
693
+ * ![TableInHtmlTable example](https://beta.tinybase.org/shots/tableinhtmltable-svelte-demo.png
694
694
  * "TableInHtmlTable example")
695
695
  *
696
696
  * The component's props identify which Table to render based on Table Id, and
@@ -854,7 +854,7 @@ export const TableInHtmlTable: Component<
854
854
  * See the <SortedTableInHtmlTable /> (Svelte) demo for this component in
855
855
  * action:
856
856
  *
857
- * ![SortedTableInHtmlTable example](https://tinybase.org/shots/sortedtableinhtmltable-svelte-demo.png
857
+ * ![SortedTableInHtmlTable example](https://beta.tinybase.org/shots/sortedtableinhtmltable-svelte-demo.png
858
858
  * "SortedTableInHtmlTable example")
859
859
  *
860
860
  * The component's props identify which Table to render based on Table Id, and
@@ -1042,7 +1042,7 @@ export const SortedTableInHtmlTable: Component<
1042
1042
  *
1043
1043
  * See the <ValuesInHtmlTable /> (Svelte) demo for this component in action:
1044
1044
  *
1045
- * ![ValuesInHtmlTable example](https://tinybase.org/shots/valuesinhtmltable-svelte-demo.png
1045
+ * ![ValuesInHtmlTable example](https://beta.tinybase.org/shots/valuesinhtmltable-svelte-demo.png
1046
1046
  * "ValuesInHtmlTable example")
1047
1047
  *
1048
1048
  * The component's props identify which Row to render based on Table Id, Row Id,
@@ -1185,7 +1185,7 @@ export const ValuesInHtmlTable: Component<
1185
1185
  *
1186
1186
  * See the <SliceInHtmlTable /> (Svelte) demo for this component in action:
1187
1187
  *
1188
- * ![SliceInHtmlTable example](https://tinybase.org/shots/sliceinhtmltable-svelte-demo.png
1188
+ * ![SliceInHtmlTable example](https://beta.tinybase.org/shots/sliceinhtmltable-svelte-demo.png
1189
1189
  * "SliceInHtmlTable example")
1190
1190
  *
1191
1191
  * The component's props identify which Slice to render based on Index Id, Slice
@@ -1357,7 +1357,7 @@ export const SliceInHtmlTable: Component<
1357
1357
  * See the <RelationshipInHtmlTable /> (Svelte) demo for this component in
1358
1358
  * action:
1359
1359
  *
1360
- * ![RelationshipInHtmlTable example](https://tinybase.org/shots/relationshipinhtmltable-svelte-demo.png
1360
+ * ![RelationshipInHtmlTable example](https://beta.tinybase.org/shots/relationshipinhtmltable-svelte-demo.png
1361
1361
  * "RelationshipInHtmlTable example")
1362
1362
  *
1363
1363
  * The component's props identify which Relationship to render based on
@@ -1544,7 +1544,7 @@ export const RelationshipInHtmlTable: Component<
1544
1544
  * See the <ResultTableInHtmlTable /> (Svelte) demo for this component in
1545
1545
  * action:
1546
1546
  *
1547
- * ![ResultTableInHtmlTable example](https://tinybase.org/shots/resulttableinhtmltable-svelte-demo.png
1547
+ * ![ResultTableInHtmlTable example](https://beta.tinybase.org/shots/resulttableinhtmltable-svelte-demo.png
1548
1548
  * "ResultTableInHtmlTable example")
1549
1549
  *
1550
1550
  * The component's props identify which ResultTable to render based on query Id,
@@ -1713,7 +1713,7 @@ export const ResultTableInHtmlTable: Component<
1713
1713
  * See the <ResultSortedTableInHtmlTable /> (Svelte) demo for this component in
1714
1714
  * action:
1715
1715
  *
1716
- * ![ResultSortedTableInHtmlTable example](https://tinybase.org/shots/resultsortedtableinhtmltable-svelte-demo.png
1716
+ * ![ResultSortedTableInHtmlTable example](https://beta.tinybase.org/shots/resultsortedtableinhtmltable-svelte-demo.png
1717
1717
  * "ResultSortedTableInHtmlTable example")
1718
1718
  *
1719
1719
  * The component's props identify which ResultTable to render based on query Id,
@@ -1902,7 +1902,7 @@ export const ResultSortedTableInHtmlTable: Component<
1902
1902
  *
1903
1903
  * See the <EditableCellView /> (Svelte) demo for this component in action:
1904
1904
  *
1905
- * ![EditableCellView example](https://tinybase.org/shots/editablecellview-svelte-demo.png
1905
+ * ![EditableCellView example](https://beta.tinybase.org/shots/editablecellview-svelte-demo.png
1906
1906
  * "EditableCellView example")
1907
1907
  *
1908
1908
  * The component's props identify which Cell to render based on Table Id, Row
@@ -1975,7 +1975,7 @@ export const EditableCellView: Component<
1975
1975
  *
1976
1976
  * See the <EditableValueView /> (Svelte) demo for this component in action:
1977
1977
  *
1978
- * ![EditableValueView example](https://tinybase.org/shots/editablevalueview-svelte-demo.png
1978
+ * ![EditableValueView example](https://beta.tinybase.org/shots/editablevalueview-svelte-demo.png
1979
1979
  * "EditableValueView example")
1980
1980
  *
1981
1981
  * The component's props identify which Value to render based on Table Id, Row
@@ -2050,7 +2050,7 @@ export const EditableValueView: Component<
2050
2050
  * See the <SortedTableInHtmlTable /> (Svelte) demo for this component in
2051
2051
  * action:
2052
2052
  *
2053
- * ![SortedTablePaginator example](https://tinybase.org/shots/sortedtablepaginator-svelte-demo.png
2053
+ * ![SortedTablePaginator example](https://beta.tinybase.org/shots/sortedtablepaginator-svelte-demo.png
2054
2054
  * "SortedTablePaginator example")
2055
2055
  *
2056
2056
  * The component displays 'previous' and 'next' buttons for paging through the