strata-react 1.0.10 → 1.0.11
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 +0 -1
- package/UPGRADING.md +1 -0
- package/dist/components/virtual-list.d.ts +7 -4
- package/dist/index.js +88 -65
- package/dist/index.js.map +1 -1
- package/dist/testing.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -122,7 +122,6 @@ function KilnRoom() {
|
|
|
122
122
|
| Form | `Field`, `Input`, `Textarea`, `NativeSelect`, `ChoiceGroup`, `Checkbox` | `Field` wires label, hint, error, `aria-describedby`, `aria-invalid`, and `action` puts a one-field form's button on the control's row with the hint and error under both; `Checkbox` requires `label` and is one target with it, and has a mixed state |
|
|
123
123
|
| Status and figures | `Status`, `Metric`, `MetricStrip`, `Meter`, `crossedThreshold`, `CompositionBar` | A status is always a word; figures have no icons or sparklines; `Meter` is a `meter` named for what it measures, with its reading in words ("72% used"), threshold notches, and a `Status` word once a threshold is crossed (each threshold must name its state); `CompositionBar` is a stacked bar over a table naming every part, its amount and share, and names the remainder (`total` needs `restLabel`); a part that is there reads "<1%" and keeps a sliver, never "0%"; `JobStatus` is a long-running server job: a required word per state beside the app's sentence, a progress bar when the total is known, each failure named with its reason, announced only when the item changes or the job ends |
|
|
124
124
|
| Data | `DataView`, `Load<T>`, `Stale`, `StaleNotice`, `LoadError`, `EmptyState`, `Skeleton`, `Thumbnail`, `ThumbnailSkeleton`, `DataTable`, `TableSkeleton`, `VirtualList`, `InfiniteList`, `LoadMore`, `useInView`, `LineChart` | `DataView` requires skeleton and empty, keeps data on screen under a `StaleNotice` (why, how old, Try again) when a refresh fails, and takes an `error` renderer for an app's own look of a failed read (default `LoadError`, always inside an alert); `Thumbnail` is a remote image in a box of fixed `aspect`, with a skeleton while it loads, the required `missing` words (or a `fallback` drawing, such as an avatar's initial) when it fails or `src` is null, required `alt`, `children` overlaid in its corners, and a request only once it nears the screen (`eager` for the first few); tables and lists virtualise from 100 rows; a `DataTable` column with `value` sorts by type with missing values last both ways and draws a placeholder (`missing`, default an en dash); `InfiniteList` loads the next page on approach, with a skeleton for it, a Try again row when it fails and a Show more button for the keyboard, and `scroll="page"` draws a grid that scrolls with the page; `LoadMore` is that next-page row for any list or grid; charts label values directly; `LineChart` can also follow an app's position (`current`), read a value at the pointer or by arrow keys (`readout`, one slider whose value text is the reading), report a picked x (`onPick`) and fill one flat area (`area`) |
|
|
125
|
-
| Data | `DataView`, `Load<T>`, `Stale`, `StaleNotice`, `LoadError`, `EmptyState`, `Skeleton`, `Thumbnail`, `ThumbnailSkeleton`, `DataTable`, `TableSkeleton`, `VirtualList`, `InfiniteList`, `LoadMore`, `useInView`, `LineChart` | `DataView` requires skeleton and empty, keeps data on screen under a `StaleNotice` (why, how old, Try again) when a refresh fails, and takes an `error` renderer for an app's own look of a failed read (default `LoadError`, always inside an alert); `Thumbnail` is a remote image in a box of fixed `aspect`, with a skeleton while it loads, the required `missing` words (or a `fallback` drawing, such as an avatar's initial) when it fails or `src` is null, required `alt`, `children` overlaid in its corners, and a request only once it nears the screen (`eager` for the first few); tables and lists virtualise from 100 rows; a `DataTable` column with `value` sorts by type with missing values last both ways and draws a placeholder (`missing`, default an en dash); `InfiniteList` loads the next page on approach, with a skeleton for it, a Try again row when it fails and a Show more button for the keyboard, and `scroll="page"` draws a grid that scrolls with the page; `LoadMore` is that next-page row for any list or grid; charts label values directly |
|
|
126
125
|
| Compare | `Compare`, `CompareGrid`, `ViewportFrame`, `useViewport`, `FullscreenFrame`, `useDifference`, `differences` | Two pictures judged together: side by side, swipe (a divider that moves from the keyboard), fade, blink (`x` flips) and difference (a live difference blend with amplify, or pixelmatch's changed pixels with a tolerance and the share that differ; pixels are read only when that view is open, at most 2048 px on the long side, and a picture the browser will not let the page read says so in words); `CompareGrid` is every candidate at once with the same zoom and full screen, and `actions` for what a tile offers; one zoom and pan for both sides (buttons, `+` `-` `0`, Ctrl-wheel or trackpad pinch, drag, arrow keys, double click, `1:1`), and full screen (the browser's Fullscreen API, a modal where there is none). `blind` is required: a blind comparison names pictures by `label` only and never writes the variant `id`, `note` or `alt`. A picture that fails shows the required `missing` words in its place; the keys come from one `Shortcut[]` shared with `KeysLegend`, and `keys={false}` leaves them to a surrounding screen. Pictures only so far: voting, text, audio and video are the next changes |
|
|
127
126
|
| Selection | `useSelection`, `BulkBar`, `SelectableGrid`, `DataTable`'s `selection` (`RowSelection<T>`) | Opt-in checkbox column with "Select all shown" that respects `isSelectable`; Shift-click or Shift+Space chooses or clears the run from the last row clicked, in the order shown; `initial` (keys or a test on the row) chooses a row the first time it appears, so it applies to data that loads later; the selection drops rows that are gone; `BulkBar` announces the count politely, and while it is up its one filled action is the view's only one (the screen's primary goes to `outline`); `SelectableGrid` is the same selection as a grid of pictures (`renderImage`), each tile one labelled target, virtualised from 100 tiles |
|
|
128
127
|
| Expansion | `Disclosure`, `useExpanded`, `DataTable`'s `expansion` (`RowExpansion<T>`) | Show more of one row in place. The toggle is a button with `aria-expanded`; the body is mounted only while open, so a request inside it runs on first open (unlike `<details>`, which mounts every closed body); `useExpanded({ param })` shares the open keys across a list or table and keeps them in the URL; a table's detail row spans the data columns and is measured when virtualised |
|
package/UPGRADING.md
CHANGED
|
@@ -16,6 +16,7 @@ Every PR that changes what an app sees adds a line here (see `CLAUDE.md`, "Chang
|
|
|
16
16
|
React Aria Components is now the primitives layer (`react-aria-components`, installed with the
|
|
17
17
|
package). `@radix-ui/react-slot` is gone.
|
|
18
18
|
|
|
19
|
+
- **`VirtualList` and `InfiniteList` (region mode) are a `grid` of `row`s**, not a `list` of `listitem`s in a `region`: query `getByRole("grid", { name })` and count items with `[data-index]` (the next-page row is a row too). Arrow keys move between rows. New `rowHeight` prop for fixed-height rows. `scroll="page"` is unchanged.
|
|
19
20
|
- **State classes are the `tailwindcss-react-aria-components` variants** (`selected:`, `focus-visible:`, `hover:`, `disabled:`), loaded by `strata.css` (the plugin is installed with the package). A test that matched a class such as `data-[selected]:border-foreground` now matches `selected:border-foreground`; hover colours no longer apply on touch screens.
|
|
20
21
|
- **`Compare`'s default view switch has a fifth view, `difference`** (key `5`). An app that renders `Compare` without `modes` sees one more toggle (and its visual baselines move); pass `modes={["side", "swipe", "fade", "blink"]}` to keep the previous four.
|
|
21
22
|
- **`Button` has no `asChild`.** A button that navigates is a link: use a router `Link`.
|
|
@@ -1,16 +1,19 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
|
-
/** A list that renders only its visible rows (
|
|
3
|
-
export declare function VirtualList<T>({ label, items, itemKey, children, estimateSize, height, virtualizeFrom, bounded, footer, className, }: {
|
|
2
|
+
/** A list that renders only its visible rows (React Aria's GridList and Virtualizer) from `virtualizeFrom` items, with arrow-key navigation between rows. */
|
|
3
|
+
export declare function VirtualList<T>({ label, items, itemKey, children, estimateSize, rowHeight, height, virtualizeFrom, bounded, footer, className, }: {
|
|
4
4
|
label: string;
|
|
5
5
|
items: T[];
|
|
6
6
|
itemKey: (item: T) => string;
|
|
7
7
|
children: (item: T, index: number) => React.ReactNode;
|
|
8
|
+
/** First-paint height of a row, in px; rows are measured after they render. */
|
|
8
9
|
estimateSize?: number;
|
|
10
|
+
/** Every row is exactly this tall (px): nothing is measured. */
|
|
11
|
+
rowHeight?: number;
|
|
9
12
|
height?: number;
|
|
10
13
|
virtualizeFrom?: number;
|
|
11
|
-
/** Scroll inside a
|
|
14
|
+
/** Scroll inside a box capped at `height` even below `virtualizeFrom`, so growing past it changes nothing on screen. */
|
|
12
15
|
bounded?: boolean;
|
|
13
|
-
/** After the last row, inside the scroll
|
|
16
|
+
/** After the last row, inside the scroll box (a next-page row, an end note). */
|
|
14
17
|
footer?: React.ReactNode;
|
|
15
18
|
className?: string;
|
|
16
19
|
}): React.JSX.Element;
|
package/dist/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { C as readErrorBody, E as typeSteps, S as fieldErrorsOf, T as cn, _ as Textarea, a as toLoad, b as describeActionError, c as ColorSchemeChoice, d as useColorScheme, f as useSystemColorScheme, g as NativeSelect, h as Input, i as staleOf, l as ThemeProvider, m as Field, n as createQueryClient, o as useLoad, p as ChoiceGroup, r as fetchJson, s as COLOR_SCHEME_STORAGE_KEY, t as StrataQueryProvider, u as colorSchemeScript, v as useFieldControl, w as Tooltip, x as describeHttpError, y as HttpError } from "./query-CXlmWmrY.js";
|
|
2
2
|
import * as React from "react";
|
|
3
|
-
import { Autocomplete, Button as Button$1, Checkbox as Checkbox$1, Dialog as Dialog$1, DialogTrigger, Disclosure as Disclosure$1, DisclosurePanel, DropIndicator, DropZone, FileTrigger, GridList, GridListItem, Header, Heading, I18nProvider, Input as Input$1, Keyboard, Menu as Menu$1, MenuItem, MenuSection, MenuTrigger, Modal, ModalOverlay, NumberField as NumberField$1, Popover as Popover$1, SearchField, Separator, Slider as Slider$1, SliderOutput, SliderThumb, SliderTrack, SubmenuTrigger, Switch as Switch$1, Tab, TabList, TabPanel, Tabs as Tabs$1, Text, ToggleButton, ToggleButtonGroup, Toolbar as Toolbar$1, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion, useDragAndDrop, useFilter } from "react-aria-components";
|
|
3
|
+
import { Autocomplete, Button as Button$1, Checkbox as Checkbox$1, Collection, Dialog as Dialog$1, DialogTrigger, Disclosure as Disclosure$1, DisclosurePanel, DropIndicator, DropZone, FileTrigger, GridList, GridListItem, Header, Heading, I18nProvider, Input as Input$1, Keyboard, ListLayout, ListStateContext, Menu as Menu$1, MenuItem, MenuSection, MenuTrigger, Modal, ModalOverlay, NumberField as NumberField$1, Popover as Popover$1, SearchField, Separator, Slider as Slider$1, SliderOutput, SliderThumb, SliderTrack, SubmenuTrigger, Switch as Switch$1, Tab, TabList, TabPanel, Tabs as Tabs$1, Text, ToggleButton, ToggleButtonGroup, Toolbar as Toolbar$1, UNSTABLE_Toast, UNSTABLE_ToastContent, UNSTABLE_ToastQueue, UNSTABLE_ToastRegion, Virtualizer, useDragAndDrop, useFilter } from "react-aria-components";
|
|
4
4
|
import { cva } from "class-variance-authority";
|
|
5
5
|
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
|
|
6
6
|
import { ArrowDown, ArrowUp, ArrowUpDown, ArrowUpRight, Ban, Check, ChevronRight, CircleAlert, CircleCheck, FileQuestion, GripVertical, History, ImageOff, Info, Loader, LoaderCircle, Maximize, Maximize2, Minimize, Minus, Pause, Play, RotateCcw, Scan, Search, SkipBack, SkipForward, Square, StepBack, StepForward, Trash2, TriangleAlert, Upload, Volume2, VolumeX, X, ZoomIn, ZoomOut } from "lucide-react";
|
|
@@ -4711,61 +4711,48 @@ function Tile({ name, chosen, disabled, onChange, aspect, image, detail, index }
|
|
|
4711
4711
|
});
|
|
4712
4712
|
}
|
|
4713
4713
|
// src/components/virtual-list.tsx
|
|
4714
|
-
|
|
4715
|
-
|
|
4716
|
-
|
|
4714
|
+
var FOOTER = "\0footer";
|
|
4715
|
+
/** A list that renders only its visible rows (React Aria's GridList and Virtualizer) from `virtualizeFrom` items, with arrow-key navigation between rows. */
|
|
4716
|
+
function VirtualList({ label, items, itemKey, children, estimateSize = 48, rowHeight, height = 480, virtualizeFrom = 100, bounded = false, footer, className }) {
|
|
4717
4717
|
const virtual = items.length >= virtualizeFrom;
|
|
4718
|
-
const
|
|
4719
|
-
|
|
4720
|
-
|
|
4721
|
-
|
|
4722
|
-
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
});
|
|
4728
|
-
const plain = () => /* @__PURE__ */ jsx("ul", {
|
|
4729
|
-
"aria-label": label,
|
|
4730
|
-
className: cn("grid min-w-0", !bounded && !footer && className),
|
|
4731
|
-
children: items.map((item, i) => /* @__PURE__ */ jsx("li", {
|
|
4732
|
-
"data-index": i,
|
|
4733
|
-
className: "border-t border-border first:border-t-0",
|
|
4734
|
-
children: children(item, i)
|
|
4735
|
-
}, itemKey(item)))
|
|
4736
|
-
});
|
|
4737
|
-
if (!virtual && !bounded) return footer ? /* @__PURE__ */ jsxs("div", {
|
|
4738
|
-
className: cn("min-w-0", className),
|
|
4739
|
-
children: [plain(), footer]
|
|
4740
|
-
}) : plain();
|
|
4741
|
-
return /* @__PURE__ */ jsxs("div", {
|
|
4742
|
-
ref: scroller,
|
|
4743
|
-
role: "region",
|
|
4718
|
+
const rows = React.useMemo(() => items.map((item, index) => ({
|
|
4719
|
+
id: itemKey(item),
|
|
4720
|
+
item,
|
|
4721
|
+
index
|
|
4722
|
+
})), [items, itemKey]);
|
|
4723
|
+
const layoutOptions = React.useMemo(() => rowHeight ? { rowHeight } : { estimatedRowHeight: estimateSize }, [rowHeight, estimateSize]);
|
|
4724
|
+
const virtualise = virtual || bounded;
|
|
4725
|
+
const scrolls = virtualise;
|
|
4726
|
+
const list = /* @__PURE__ */ jsxs(GridList, {
|
|
4744
4727
|
"aria-label": label,
|
|
4745
|
-
|
|
4728
|
+
selectionMode: "none",
|
|
4746
4729
|
"data-strata-scroll": "",
|
|
4747
|
-
className: cn("min-w-0 overflow-y-auto", className),
|
|
4748
|
-
style: virtual ? { height } : { maxHeight: height },
|
|
4749
|
-
children: [
|
|
4750
|
-
|
|
4751
|
-
|
|
4752
|
-
|
|
4753
|
-
|
|
4754
|
-
|
|
4755
|
-
|
|
4756
|
-
|
|
4757
|
-
"data-index": v.index,
|
|
4758
|
-
"aria-setsize": items.length,
|
|
4759
|
-
"aria-posinset": v.index + 1,
|
|
4760
|
-
className: cn("absolute inset-x-0 top-0", v.index > 0 && "border-t border-border"),
|
|
4761
|
-
style: { translate: `0 ${v.start}px` },
|
|
4762
|
-
children: children(item, v.index)
|
|
4763
|
-
}, itemKey(item));
|
|
4730
|
+
className: cn("min-w-0 outline-none", scrolls && "overflow-y-auto", className),
|
|
4731
|
+
style: scrolls ? virtual ? { height } : { maxHeight: height } : void 0,
|
|
4732
|
+
children: [/* @__PURE__ */ jsx(Collection, {
|
|
4733
|
+
items: rows,
|
|
4734
|
+
children: (row) => /* @__PURE__ */ jsx(GridListItem, {
|
|
4735
|
+
id: row.id,
|
|
4736
|
+
textValue: row.id,
|
|
4737
|
+
"data-index": row.index,
|
|
4738
|
+
className: cn("min-w-0 outline-offset-[-2px]", row.index > 0 && "border-t border-border"),
|
|
4739
|
+
children: children(row.item, row.index)
|
|
4764
4740
|
})
|
|
4765
|
-
})
|
|
4741
|
+
}), footer && /* @__PURE__ */ jsx(GridListItem, {
|
|
4742
|
+
id: FOOTER,
|
|
4743
|
+
textValue: "More",
|
|
4744
|
+
className: "min-w-0",
|
|
4745
|
+
children: footer
|
|
4746
|
+
})]
|
|
4766
4747
|
});
|
|
4748
|
+
return virtualise ? /* @__PURE__ */ jsx(Virtualizer, {
|
|
4749
|
+
layout: ListLayout,
|
|
4750
|
+
layoutOptions,
|
|
4751
|
+
children: list
|
|
4752
|
+
}) : list;
|
|
4767
4753
|
}
|
|
4768
4754
|
// src/components/infinite-list.tsx
|
|
4755
|
+
var PendingFocus = React.createContext(null);
|
|
4769
4756
|
function MoreFailed({ message, retry }) {
|
|
4770
4757
|
return /* @__PURE__ */ jsxs("div", {
|
|
4771
4758
|
className: "flex flex-wrap items-start gap-3 border-t border-border bg-danger-subtle px-3 py-2 text-danger",
|
|
@@ -4802,6 +4789,7 @@ function LoadMore({ state, moreLabel, moreSkeleton, end, rootMargin = "400px", k
|
|
|
4802
4789
|
active: ready && more.hasMore,
|
|
4803
4790
|
rootMargin
|
|
4804
4791
|
});
|
|
4792
|
+
const grid = React.useContext(ListStateContext);
|
|
4805
4793
|
const { hasMore, loadingMore, error, loadMore } = more;
|
|
4806
4794
|
React.useEffect(() => {
|
|
4807
4795
|
if (!ready || !hasMore || loadingMore || error) return;
|
|
@@ -4816,7 +4804,8 @@ function LoadMore({ state, moreLabel, moreSkeleton, end, rootMargin = "400px", k
|
|
|
4816
4804
|
keepAtLeast,
|
|
4817
4805
|
loadMore
|
|
4818
4806
|
]);
|
|
4819
|
-
const
|
|
4807
|
+
const own = React.useRef(null);
|
|
4808
|
+
const focusFrom = React.useContext(PendingFocus) ?? own;
|
|
4820
4809
|
const loadByHand = () => {
|
|
4821
4810
|
focusFrom.current = held;
|
|
4822
4811
|
loadMore();
|
|
@@ -4824,19 +4813,36 @@ function LoadMore({ state, moreLabel, moreSkeleton, end, rootMargin = "400px", k
|
|
|
4824
4813
|
React.useEffect(() => {
|
|
4825
4814
|
const from = focusFrom.current;
|
|
4826
4815
|
if (from === null || loadingMore) return;
|
|
4827
|
-
if (held
|
|
4828
|
-
|
|
4829
|
-
|
|
4830
|
-
|
|
4831
|
-
|
|
4816
|
+
if (held <= from) {
|
|
4817
|
+
if (error || !hasMore) focusFrom.current = null;
|
|
4818
|
+
return;
|
|
4819
|
+
}
|
|
4820
|
+
let frames = 0;
|
|
4821
|
+
let frame = 0;
|
|
4822
|
+
const find = () => {
|
|
4823
|
+
const item = (box.current?.closest("[data-strata-scroll]") ?? box.current?.parentElement)?.querySelector(`[data-index="${from}"]`);
|
|
4824
|
+
if (!item) {
|
|
4825
|
+
if (frames++ < 30) frame = requestAnimationFrame(find);
|
|
4826
|
+
else focusFrom.current = null;
|
|
4827
|
+
return;
|
|
4828
|
+
}
|
|
4829
|
+
const key = item.getAttribute("data-key");
|
|
4830
|
+
if (grid && key !== null) {
|
|
4831
|
+
grid.selectionManager.setFocused(true);
|
|
4832
|
+
grid.selectionManager.setFocusedKey(key);
|
|
4832
4833
|
}
|
|
4834
|
+
item.tabIndex = -1;
|
|
4835
|
+
item.focus();
|
|
4833
4836
|
focusFrom.current = null;
|
|
4834
|
-
}
|
|
4837
|
+
};
|
|
4838
|
+
find();
|
|
4839
|
+
return () => cancelAnimationFrame(frame);
|
|
4835
4840
|
}, [
|
|
4836
4841
|
held,
|
|
4837
4842
|
loadingMore,
|
|
4838
4843
|
error,
|
|
4839
|
-
hasMore
|
|
4844
|
+
hasMore,
|
|
4845
|
+
grid
|
|
4840
4846
|
]);
|
|
4841
4847
|
if (!ready) return null;
|
|
4842
4848
|
return /* @__PURE__ */ jsxs("div", {
|
|
@@ -4880,15 +4886,32 @@ function LoadMore({ state, moreLabel, moreSkeleton, end, rootMargin = "400px", k
|
|
|
4880
4886
|
/** A cursor-paged list for `useInfiniteLoad`: DataView's first-page states, virtual rows (or a page-scrolled grid), and a `LoadMore` row that loads on approach, shows a skeleton, or says why it failed with Try again. */
|
|
4881
4887
|
function InfiniteList({ state, label, children, skeleton, empty, moreLabel, moreSkeleton = skeleton, end, rootMargin = "400px", keepAtLeast = 0, scroll = "region", listClassName, error, moreError, estimateSize, height = 480, virtualizeFrom, className }) {
|
|
4882
4888
|
const { more, itemKey } = state;
|
|
4883
|
-
const
|
|
4884
|
-
|
|
4885
|
-
|
|
4886
|
-
|
|
4887
|
-
|
|
4888
|
-
|
|
4889
|
-
|
|
4889
|
+
const pendingFocus = React.useRef(null);
|
|
4890
|
+
const ready = state.status === "ready";
|
|
4891
|
+
const held = ready ? state.data.length : 0;
|
|
4892
|
+
const { hasMore, loadingMore, error: moreFailure, loadMore } = more;
|
|
4893
|
+
React.useEffect(() => {
|
|
4894
|
+
if (ready && hasMore && !loadingMore && !moreFailure && held < keepAtLeast) loadMore();
|
|
4895
|
+
}, [
|
|
4896
|
+
ready,
|
|
4897
|
+
hasMore,
|
|
4898
|
+
loadingMore,
|
|
4899
|
+
moreFailure,
|
|
4900
|
+
held,
|
|
4890
4901
|
keepAtLeast,
|
|
4891
|
-
|
|
4902
|
+
loadMore
|
|
4903
|
+
]);
|
|
4904
|
+
const footer = /* @__PURE__ */ jsx(PendingFocus.Provider, {
|
|
4905
|
+
value: pendingFocus,
|
|
4906
|
+
children: /* @__PURE__ */ jsx(LoadMore, {
|
|
4907
|
+
className: scroll === "page" ? "mt-4" : void 0,
|
|
4908
|
+
state,
|
|
4909
|
+
moreLabel,
|
|
4910
|
+
moreSkeleton,
|
|
4911
|
+
end,
|
|
4912
|
+
rootMargin,
|
|
4913
|
+
error: moreError
|
|
4914
|
+
})
|
|
4892
4915
|
});
|
|
4893
4916
|
return /* @__PURE__ */ jsx(DataView, {
|
|
4894
4917
|
state,
|