@sanity/table
3.1.123.1.13
dist/index.js~
dist/index.jsModified+4−2
Index: package/dist/index.js
===================================================================
--- package/dist/index.js
+++ package/dist/index.js
@@ -1,14 +1,16 @@
+import "@sanity/ui/styles.css";
import { definePlugin, defineType, set, unset } from "sanity";
import { c } from "react/compiler-runtime";
import { AddIcon } from "@sanity/icons/Add";
-import { Box, Button, Card, Dialog, Flex, Grid, Inline, Label, Menu, MenuButton, MenuDivider, MenuItem, Text, TextInput } from "@sanity/ui";
+import { Box, Button, Card, Dialog, Flex, Grid, Inline, Label, Text, TextInput } from "@sanity/ui";
import { uuid } from "@sanity/uuid";
import { useState } from "react";
import { RemoveIcon } from "@sanity/icons/Remove";
import { Fragment, jsx, jsxs } from "react/jsx-runtime";
import { ControlsIcon } from "@sanity/icons/Controls";
import { WarningOutlineIcon } from "@sanity/icons/WarningOutline";
+import { Menu, MenuButton, MenuDivider, MenuItem } from "@sanity/ui/menu";
const TableInput = (props) => {
let $ = c(20), { rows, updateCell, removeRow, removeColumn } = props, t0;
$[0] === Symbol.for("react.memo_cache_sentinel") ? (t0 = { width: "100%" }, $[0] = t0) : t0 = $[0];
let t1;
@@ -420,9 +422,9 @@
t13
] }), $[61] = t11, $[62] = t12, $[63] = t13, $[64] = t9, $[65] = t14) : t14 = $[65], t14;
};
function createTableComponent(rowType) {
- return function(props) {
+ return function Table(props) {
return /* @__PURE__ */ jsx(TableComponent, {
...props,
rowType
});