@sanity/table
3.1.183.1.19
~
Modified (4 files)
Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
{
"name": "@sanity/table",
- "version": "3.1.18",
+ "version": "3.1.19",
"description": "Table schema type and input component for Sanity Studio",
"keywords": [
"sanity",
"sanity-plugin"
@@ -27,23 +27,23 @@
"./package.json": "./package.json"
},
"dependencies": {
"@sanity/icons": "^5.2.3",
- "@sanity/ui": "^4.4.0",
+ "@sanity/ui": "^4.4.4",
"@sanity/uuid": "^3.0.3"
},
"devDependencies": {
"@sanity/tsconfig": "^2.2.1",
- "@sanity/tsdown-config": "^0.27.1",
+ "@sanity/tsdown-config": "^0.28.8",
"@types/node": "^24.13.3",
"@types/react": "^19.3.0",
"@types/react-dom": "^19.3.0",
"oxc-transform-react": "^0.153.0",
"react": "^19.3.0",
"react-dom": "^19.3.0",
- "sanity": "^6.16.0",
+ "sanity": "^6.18.0",
"styled-components": "^6.5.3",
- "tsdown": "^0.22.14"
+ "tsdown": "^0.23.1"
},
"peerDependencies": {
"react": "^19.2",
"react-dom": "^19.2", Index: package/dist/index.d.ts.map
===================================================================
--- package/dist/index.d.ts.map
+++ package/dist/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/TableComponent.tsx","../src/components/TablePreview.tsx","../src/index.ts"],"mappings":";;UAYiB;EACf;EACA,OAAO;;KAGG,aAAa,iBAAiB;KAE9B;EACV;EACA;EACA;;cAMW,iBAAc,OAAW;EAAc;sBAAiB,IAAA;UCtB3D,0BAA0B;EAClC,OAAO;;cAqBI,eAAY,OAAW,sCAAiB,IAAA;UCnBpC;EACf;;cAGW,wBAAK,cAAA"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","names":[],"sources":["../src/components/TableComponent.tsx","../src/components/TablePreview.tsx","../src/index.ts"],"mappings":";;UAYiB;EACf;EACA,OAAO;;KAGG,aAAa,iBAAiB;KAE9B;EACV;EACA;EACA;;qBAMW,iBAAc,OAAW;EAAc;sBAAiB,IAAA;UCtB3D,0BAA0B;EAClC,OAAO;;qBAqBI,eAAY,OAAW,sCAAiB,IAAA;iBCnBpC;EACf;;qBAGW,wBAAK,cAAA"}
\ No newline at end of file Index: package/README.md
===================================================================
--- package/README.md
+++ package/README.md
@@ -36,12 +36,11 @@
```js
// sanity.config.ts
+import {table} from '@sanity/table'
import {defineConfig} from 'sanity'
-import {table} from '@sanity/table'
-
export default defineConfig({
name: 'default',
title: 'My Cool Project',
projectId: 'my-project-id', Index: package/dist/index.d.ts
===================================================================
--- package/dist/index.d.ts
+++ package/dist/index.d.ts
@@ -9,17 +9,17 @@
_type: string;
_key: string;
cells: string[];
};
-declare const TableComponent: (props: TableProps & {
+export declare const TableComponent: (props: TableProps & {
rowType?: string;
}) => import("react").JSX.Element;
interface TablePreviewProps extends PreviewProps {
rows?: TableRow[];
}
-declare const TablePreview: (props: TablePreviewProps) => import("react").JSX.Element;
-interface TableConfig {
+export declare const TablePreview: (props: TablePreviewProps) => import("react").JSX.Element;
+export interface TableConfig {
rowType?: string;
}
-declare const table: import("sanity").Plugin<void | TableConfig>;
-export { TableComponent, TableConfig, TablePreview, type TableProps, type TableRow, type TableValue, table };
+export declare const table: import("sanity").Plugin<void | TableConfig>;
+export type { TableProps, TableRow, TableValue };
//# sourceMappingURL=index.d.ts.map
\ No newline at end of file