@altertable/data-app-react 0.76.0 → 0.78.0
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/README.md +3 -4
- package/dist/chunks/{SectionHeading-DLVTKa91.js → SectionHeading-BKvi7HVv.js} +777 -623
- package/dist/chunks/SectionHeading-BKvi7HVv.js.map +1 -0
- package/dist/index.js +181 -41
- package/dist/index.js.map +1 -1
- package/dist/types/chunks/DateTimeRangePicker.d.ts +138 -123
- package/dist/types/index.d.ts +179 -188
- package/dist/types/ui/index.d.ts +36 -20
- package/dist/ui/index.js +869 -215
- package/dist/ui/index.js.map +1 -1
- package/package.json +4 -4
- package/dist/chunks/SectionHeading-DLVTKa91.js.map +0 -1
package/README.md
CHANGED
|
@@ -16,7 +16,7 @@ Mount a simple static screen into an element with `id="root"`:
|
|
|
16
16
|
|
|
17
17
|
```tsx
|
|
18
18
|
import { defineDataApp } from '@altertable/data-app';
|
|
19
|
-
import {
|
|
19
|
+
import { mountDataApp } from '@altertable/data-app-react';
|
|
20
20
|
import { MetricWidget } from '@altertable/data-app-react/ui';
|
|
21
21
|
|
|
22
22
|
const dataApp = defineDataApp({
|
|
@@ -36,13 +36,12 @@ function App() {
|
|
|
36
36
|
);
|
|
37
37
|
}
|
|
38
38
|
|
|
39
|
-
injectDataAppStyles();
|
|
40
39
|
mountDataApp({ app: dataApp, component: App });
|
|
41
40
|
```
|
|
42
41
|
|
|
43
42
|
Use the main entry for declared views, bound widgets, and layouts; `/ui` supports
|
|
44
|
-
setup screens, static content, and custom composition.
|
|
45
|
-
with `injectDataAppStyles()`.
|
|
43
|
+
setup screens, static content, and custom composition. When mounting
|
|
44
|
+
`DataAppProvider` yourself, install styles with `injectDataAppStyles()`.
|
|
46
45
|
|
|
47
46
|
To host an app iframe, use `@altertable/data-app-embed/react`.
|
|
48
47
|
|