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.
- package/@types/ui-react-dom-charts/index.d.ts +151 -6
- package/@types/ui-react-dom-charts/with-schemas/index.d.ts +188 -8
- package/min/ui-react/index.js +1 -1
- package/min/ui-react/index.js.gz +0 -0
- package/min/ui-react/with-schemas/index.js +1 -1
- package/min/ui-react/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom/index.js +1 -1
- package/min/ui-react-dom/index.js.gz +0 -0
- package/min/ui-react-dom/with-schemas/index.js +1 -1
- package/min/ui-react-dom/with-schemas/index.js.gz +0 -0
- package/min/ui-react-dom-charts/index.js +1 -1
- package/min/ui-react-dom-charts/index.js.gz +0 -0
- package/min/ui-react-dom-charts/with-schemas/index.js +1 -1
- package/min/ui-react-dom-charts/with-schemas/index.js.gz +0 -0
- package/min/ui-react-inspector/index.js +1 -1
- package/min/ui-react-inspector/index.js.gz +0 -0
- package/min/ui-react-inspector/with-schemas/index.js +1 -1
- package/min/ui-react-inspector/with-schemas/index.js.gz +0 -0
- package/package.json +8 -8
- package/readme.md +13 -17
- package/releases.md +111 -81
- package/ui-react/index.js +3 -0
- package/ui-react/with-schemas/index.js +3 -0
- package/ui-react-dom/index.js +8 -5
- package/ui-react-dom/with-schemas/index.js +8 -5
- package/ui-react-dom-charts/index.js +1274 -720
- package/ui-react-dom-charts/with-schemas/index.js +1274 -720
- package/ui-react-inspector/index.js +13 -10
- package/ui-react-inspector/with-schemas/index.js +13 -10
- package/ui-svelte/index.js +1 -1
- package/ui-svelte/with-schemas/index.js +1 -1
- package/ui-svelte-dom/index.js +2 -2
- package/ui-svelte-dom/with-schemas/index.js +2 -2
- package/ui-svelte-inspector/index.js +2 -2
- package/ui-svelte-inspector/with-schemas/index.js +2 -2
package/ui-react/index.js
CHANGED
package/ui-react-dom/index.js
CHANGED
|
@@ -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',
|