tinybase 8.5.0-beta.1 → 8.5.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 (35) hide show
  1. package/@types/ui-react-dom-charts/index.d.ts +151 -6
  2. package/@types/ui-react-dom-charts/with-schemas/index.d.ts +188 -8
  3. package/min/ui-react/index.js +1 -1
  4. package/min/ui-react/index.js.gz +0 -0
  5. package/min/ui-react/with-schemas/index.js +1 -1
  6. package/min/ui-react/with-schemas/index.js.gz +0 -0
  7. package/min/ui-react-dom/index.js +1 -1
  8. package/min/ui-react-dom/index.js.gz +0 -0
  9. package/min/ui-react-dom/with-schemas/index.js +1 -1
  10. package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
  11. package/min/ui-react-dom-charts/index.js +1 -1
  12. package/min/ui-react-dom-charts/index.js.gz +0 -0
  13. package/min/ui-react-dom-charts/with-schemas/index.js +1 -1
  14. package/min/ui-react-dom-charts/with-schemas/index.js.gz +0 -0
  15. package/min/ui-react-inspector/index.js +1 -1
  16. package/min/ui-react-inspector/index.js.gz +0 -0
  17. package/min/ui-react-inspector/with-schemas/index.js +1 -1
  18. package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
  19. package/package.json +8 -8
  20. package/readme.md +13 -17
  21. package/releases.md +111 -81
  22. package/ui-react/index.js +3 -0
  23. package/ui-react/with-schemas/index.js +3 -0
  24. package/ui-react-dom/index.js +8 -5
  25. package/ui-react-dom/with-schemas/index.js +8 -5
  26. package/ui-react-dom-charts/index.js +1274 -720
  27. package/ui-react-dom-charts/with-schemas/index.js +1274 -720
  28. package/ui-react-inspector/index.js +13 -10
  29. package/ui-react-inspector/with-schemas/index.js +13 -10
  30. package/ui-svelte/index.js +1 -1
  31. package/ui-svelte/with-schemas/index.js +1 -1
  32. package/ui-svelte-dom/index.js +2 -2
  33. package/ui-svelte-dom/with-schemas/index.js +2 -2
  34. package/ui-svelte-inspector/index.js +2 -2
  35. package/ui-svelte-inspector/with-schemas/index.js +2 -2
package/ui-react/index.js CHANGED
@@ -119,8 +119,11 @@ const objIsEqual = (
119
119
  const jsonString = JSON.stringify;
120
120
 
121
121
  const {
122
+ Children,
123
+ Fragment,
122
124
  PureComponent,
123
125
  createContext,
126
+ isValidElement,
124
127
  useCallback,
125
128
  useContext,
126
129
  useEffect,
@@ -119,8 +119,11 @@ const objIsEqual = (
119
119
  const jsonString = JSON.stringify;
120
120
 
121
121
  const {
122
+ Children,
123
+ Fragment,
122
124
  PureComponent,
123
125
  createContext,
126
+ isValidElement,
124
127
  useCallback,
125
128
  useContext,
126
129
  useEffect,
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import {Fragment, jsx, jsxs} from 'react/jsx-runtime';
2
+ import {Fragment as Fragment$1, jsx, jsxs} from 'react/jsx-runtime';
3
3
  import {CellView, ResultCellView, ValueView} from '../ui-react/index.js';
4
4
 
5
5
  const getTypeOf = (thing) => typeof thing;
@@ -131,8 +131,11 @@ const jsonString = JSON.stringify;
131
131
  const jsonParse = JSON.parse;
132
132
 
133
133
  const {
134
+ Children,
135
+ Fragment,
134
136
  PureComponent,
135
137
  createContext,
138
+ isValidElement,
136
139
  useCallback,
137
140
  useContext,
138
141
  useEffect,
@@ -927,7 +930,7 @@ const RelationshipInHtmlRow = ({
927
930
  extraRowCells(extraCellsBefore, rowProps),
928
931
  isFalse(idColumn)
929
932
  ? null
930
- : /* @__PURE__ */ jsxs(Fragment, {
933
+ : /* @__PURE__ */ jsxs(Fragment$1, {
931
934
  children: [
932
935
  /* @__PURE__ */ jsx('th', {
933
936
  title: localRowId,
@@ -1016,7 +1019,7 @@ const RelationshipInHtmlTable = ({
1016
1019
  extraHeaders(extraCellsBefore),
1017
1020
  isFalse(idColumn)
1018
1021
  ? null
1019
- : /* @__PURE__ */ jsxs(Fragment, {
1022
+ : /* @__PURE__ */ jsxs(Fragment$1, {
1020
1023
  children: [
1021
1024
  /* @__PURE__ */ jsxs('th', {
1022
1025
  children: [localTableId, '.Id'],
@@ -1133,10 +1136,10 @@ const SortedTablePaginator = ({
1133
1136
  [onChange, offset, limit],
1134
1137
  offset + limit < total,
1135
1138
  );
1136
- return /* @__PURE__ */ jsxs(Fragment, {
1139
+ return /* @__PURE__ */ jsxs(Fragment$1, {
1137
1140
  children: [
1138
1141
  total > limit &&
1139
- /* @__PURE__ */ jsxs(Fragment, {
1142
+ /* @__PURE__ */ jsxs(Fragment$1, {
1140
1143
  children: [
1141
1144
  /* @__PURE__ */ jsx('button', {
1142
1145
  className: 'previous',
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
- import {Fragment, jsx, jsxs} from 'react/jsx-runtime';
2
+ import {Fragment as Fragment$1, jsx, jsxs} from 'react/jsx-runtime';
3
3
  import {CellView, ResultCellView, ValueView} from '../../ui-react/with-schemas/index.js';
4
4
 
5
5
  const getTypeOf = (thing) => typeof thing;
@@ -131,8 +131,11 @@ const jsonString = JSON.stringify;
131
131
  const jsonParse = JSON.parse;
132
132
 
133
133
  const {
134
+ Children,
135
+ Fragment,
134
136
  PureComponent,
135
137
  createContext,
138
+ isValidElement,
136
139
  useCallback,
137
140
  useContext,
138
141
  useEffect,
@@ -927,7 +930,7 @@ const RelationshipInHtmlRow = ({
927
930
  extraRowCells(extraCellsBefore, rowProps),
928
931
  isFalse(idColumn)
929
932
  ? null
930
- : /* @__PURE__ */ jsxs(Fragment, {
933
+ : /* @__PURE__ */ jsxs(Fragment$1, {
931
934
  children: [
932
935
  /* @__PURE__ */ jsx('th', {
933
936
  title: localRowId,
@@ -1016,7 +1019,7 @@ const RelationshipInHtmlTable = ({
1016
1019
  extraHeaders(extraCellsBefore),
1017
1020
  isFalse(idColumn)
1018
1021
  ? null
1019
- : /* @__PURE__ */ jsxs(Fragment, {
1022
+ : /* @__PURE__ */ jsxs(Fragment$1, {
1020
1023
  children: [
1021
1024
  /* @__PURE__ */ jsxs('th', {
1022
1025
  children: [localTableId, '.Id'],
@@ -1133,10 +1136,10 @@ const SortedTablePaginator = ({
1133
1136
  [onChange, offset, limit],
1134
1137
  offset + limit < total,
1135
1138
  );
1136
- return /* @__PURE__ */ jsxs(Fragment, {
1139
+ return /* @__PURE__ */ jsxs(Fragment$1, {
1137
1140
  children: [
1138
1141
  total > limit &&
1139
- /* @__PURE__ */ jsxs(Fragment, {
1142
+ /* @__PURE__ */ jsxs(Fragment$1, {
1140
1143
  children: [
1141
1144
  /* @__PURE__ */ jsx('button', {
1142
1145
  className: 'previous',