@gulibs/react-vtable 0.0.3 → 0.0.4
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/dist/components/column-setting.d.ts +1 -1
- package/dist/components/editable-actions.d.ts +1 -1
- package/dist/components/editable-cell.d.ts +1 -1
- package/dist/components/pagination.d.ts +1 -1
- package/dist/components/search.d.ts +1 -1
- package/dist/components/toolbar.d.ts +1 -1
- package/dist/components/ui/calendar.d.ts +1 -1
- package/dist/hooks/use-columns.d.ts +1 -1
- package/dist/hooks/use-pro-table.d.ts +1 -1
- package/dist/pro-table.d.ts +1 -1
- package/dist/utils/helpers.d.ts +1 -1
- package/dist/utils/value-type.d.ts +1 -1
- package/package.json +10 -8
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as React from "react";
|
|
2
2
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
3
|
-
import { Button } from "
|
|
3
|
+
import { Button } from "../../components/ui/button";
|
|
4
4
|
declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
|
|
5
5
|
buttonVariant?: React.ComponentProps<typeof Button>["variant"];
|
|
6
6
|
}): import("react/jsx-runtime").JSX.Element;
|
package/dist/pro-table.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ProTableProps, ProTableAction } from "
|
|
2
|
+
import type { ProTableProps, ProTableAction } from "./types";
|
|
3
3
|
import "./styles/fixed-column.css";
|
|
4
4
|
export declare const ProTable: <T extends Record<string, any>>(props: ProTableProps<T> & {
|
|
5
5
|
ref?: React.Ref<ProTableAction<T>>;
|
package/dist/utils/helpers.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import type { ProFieldValueType } from "
|
|
2
|
+
import type { ProFieldValueType } from "../types";
|
|
3
3
|
export interface ValueTypeConfig {
|
|
4
4
|
render: (value: any, props?: any) => React.ReactNode;
|
|
5
5
|
renderFormItem?: (value: any, props?: any) => React.ReactNode;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@gulibs/react-vtable",
|
|
3
3
|
"private": false,
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.4",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
7
7
|
"module": "./dist/index.js",
|
|
@@ -22,10 +22,17 @@
|
|
|
22
22
|
"access": "public",
|
|
23
23
|
"registry": "https://registry.npmjs.org/"
|
|
24
24
|
},
|
|
25
|
+
"scripts": {
|
|
26
|
+
"dev": "vite",
|
|
27
|
+
"build": "rm -rf dist && (tsc -p tsconfig.lib.json || true) && tsc-alias -p tsconfig.lib.json && vite build",
|
|
28
|
+
"lint": "eslint .",
|
|
29
|
+
"preview": "vite preview"
|
|
30
|
+
},
|
|
25
31
|
"peerDependencies": {
|
|
26
32
|
"react": ">=18.0.0",
|
|
27
33
|
"react-dom": ">=18.0.0",
|
|
28
|
-
"tailwindcss": ">=3.0.0"
|
|
34
|
+
"tailwindcss": ">=3.0.0",
|
|
35
|
+
"@tanstack/react-table": ">=8.0.0"
|
|
29
36
|
},
|
|
30
37
|
"dependencies": {
|
|
31
38
|
"@dnd-kit/core": "^6.3.1",
|
|
@@ -69,6 +76,7 @@
|
|
|
69
76
|
"react": "^19.1.1",
|
|
70
77
|
"react-dom": "^19.1.1",
|
|
71
78
|
"tailwindcss": "^4.1.15",
|
|
79
|
+
"tsc-alias": "^1.8.16",
|
|
72
80
|
"tw-animate-css": "^1.4.0",
|
|
73
81
|
"typescript": "~5.9.3",
|
|
74
82
|
"typescript-eslint": "^8.45.0",
|
|
@@ -77,11 +85,5 @@
|
|
|
77
85
|
},
|
|
78
86
|
"resolutions": {
|
|
79
87
|
"vite": "npm:rolldown-vite@7.1.14"
|
|
80
|
-
},
|
|
81
|
-
"scripts": {
|
|
82
|
-
"dev": "vite",
|
|
83
|
-
"build": "rm -rf dist && (tsc -p tsconfig.lib.json || true) && vite build",
|
|
84
|
-
"lint": "eslint .",
|
|
85
|
-
"preview": "vite preview"
|
|
86
88
|
}
|
|
87
89
|
}
|