munza-x-data-grid 1.5.2 → 1.5.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/data/dummyData.d.ts +10 -0
- package/dist/data-grid.cjs +2 -2
- package/dist/data-grid.js +17 -14
- package/package.json +64 -66
- package/dist/components/feedback/NoDataFoundMsg.d.ts +0 -2
- package/dist/components/feedback/TableError.d.ts +0 -2
- package/dist/components/feedback/TableErrorMsg.d.ts +0 -2
- package/dist/components/feedback/TableNoData.d.ts +0 -2
- package/dist/components/feedback/TableRowSkeleton.d.ts +0 -7
- package/dist/components/feedback/TableSkeleton.d.ts +0 -2
- package/dist/components/header/HeaderFilter.d.ts +0 -5
- package/dist/components/header/HeaderMenu.d.ts +0 -5
- package/dist/components/header/HeaderSort.d.ts +0 -5
- package/dist/components/pagination/index.d.ts +0 -4
- package/dist/components/table/TBody.d.ts +0 -2
- package/dist/components/table/TCell.d.ts +0 -6
- package/dist/components/table/THead.d.ts +0 -6
- package/dist/components/table/THeader.d.ts +0 -2
- package/dist/components/table/TMain.d.ts +0 -2
- package/dist/components/toolbar/ToolbarFilter.d.ts +0 -5
- package/dist/components/toolbar/index.d.ts +0 -2
- package/dist/components/ui/badge.d.ts +0 -9
- package/dist/components/ui/button.d.ts +0 -10
- package/dist/components/ui/checkbox.d.ts +0 -4
- package/dist/components/ui/collapsible.d.ts +0 -5
- package/dist/components/ui/debounced-input.d.ts +0 -7
- package/dist/components/ui/dropdown-menu.d.ts +0 -29
- package/dist/components/ui/empty.d.ts +0 -11
- package/dist/components/ui/input.d.ts +0 -3
- package/dist/components/ui/label.d.ts +0 -4
- package/dist/components/ui/native-select.d.ts +0 -8
- package/dist/components/ui/separator.d.ts +0 -4
- package/dist/components/ui/skeleton.d.ts +0 -2
- package/dist/components/ui/table.d.ts +0 -10
package/dist/data-grid.js
CHANGED
|
@@ -1659,16 +1659,17 @@ var Et = ({ refs: e, axis: t = "both" }) => {
|
|
|
1659
1659
|
r.current || (n.current !== null && cancelAnimationFrame(n.current), n.current = requestAnimationFrame(() => {
|
|
1660
1660
|
r.current = !0;
|
|
1661
1661
|
let n = e.scrollLeft, i = e.scrollTop;
|
|
1662
|
-
a
|
|
1663
|
-
|
|
1664
|
-
}), r.current = !1;
|
|
1662
|
+
for (let r of a) r !== e && ((t === "x" || t === "both") && r.scrollLeft !== n && (r.scrollLeft = n), (t === "y" || t === "both") && r.scrollTop !== i && (r.scrollTop = i));
|
|
1663
|
+
r.current = !1;
|
|
1665
1664
|
}));
|
|
1666
1665
|
};
|
|
1667
|
-
|
|
1666
|
+
for (let e of a) {
|
|
1668
1667
|
let t = () => o(e);
|
|
1669
1668
|
i.current.set(e, t), e.addEventListener("scroll", t, { passive: !0 });
|
|
1670
|
-
}
|
|
1671
|
-
|
|
1669
|
+
}
|
|
1670
|
+
return () => {
|
|
1671
|
+
for (let [e, t] of i.current.entries()) e.removeEventListener("scroll", t);
|
|
1672
|
+
i.current.clear(), n.current !== null && (cancelAnimationFrame(n.current), n.current = null);
|
|
1672
1673
|
};
|
|
1673
1674
|
}, [e, t]);
|
|
1674
1675
|
}, Dt = n(void 0), Ot = ({ children: e, payload: n, columns: r, state: i = {}, onColumnFiltersChange: a, onPaginationChange: o, onSortingChange: s, setGlobalFilter: u, manualPagination: d = !1, isError: p, isLoading: m, isFetching: h, getRowCanExpand: g, renderSubComponent: _ }) => {
|
|
@@ -7126,7 +7127,7 @@ function Kd({ className: e, size: t = "default", ...n }) {
|
|
|
7126
7127
|
children: [/* @__PURE__ */ f("select", {
|
|
7127
7128
|
"data-slot": "native-select",
|
|
7128
7129
|
"data-size": t,
|
|
7129
|
-
className: "h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-
|
|
7130
|
+
className: "h-8 w-full min-w-0 appearance-none rounded-lg border border-input bg-transparent py-1 pr-8 pl-2.5 text-sm transition-colors outline-none select-none selection:bg-primary selection:text-primary-foreground placeholder:text-muted-foreground focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 disabled:pointer-events-none disabled:cursor-not-allowed aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 data-[size=sm]:h-7 data-[size=sm]:rounded-[min(var(--radius-md),10px)] data-[size=sm]:py-0.5 dark:bg-input/30 dark:hover:bg-input/50 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40",
|
|
7130
7131
|
...n
|
|
7131
7132
|
}), /* @__PURE__ */ f(E, {
|
|
7132
7133
|
className: "pointer-events-none absolute top-1/2 right-2.5 size-4 -translate-y-1/2 text-muted-foreground select-none",
|
|
@@ -7135,10 +7136,11 @@ function Kd({ className: e, size: t = "default", ...n }) {
|
|
|
7135
7136
|
})]
|
|
7136
7137
|
});
|
|
7137
7138
|
}
|
|
7138
|
-
function qd({
|
|
7139
|
+
function qd({ className: e, ...t }) {
|
|
7139
7140
|
return /* @__PURE__ */ f("option", {
|
|
7140
7141
|
"data-slot": "native-select-option",
|
|
7141
|
-
|
|
7142
|
+
className: $("bg-[Canvas] text-[CanvasText]", e),
|
|
7143
|
+
...t
|
|
7142
7144
|
});
|
|
7143
7145
|
}
|
|
7144
7146
|
//#endregion
|
|
@@ -7764,15 +7766,15 @@ var Vf = ({ column: e }) => {
|
|
|
7764
7766
|
let t = c(() => e.getCanFilter() ? {
|
|
7765
7767
|
id: e.id.replace(/([a-z])([A-Z])/g, "$1 $2").replace(/^./, (e) => e.toUpperCase()),
|
|
7766
7768
|
uniqueValues: Array.from(e.getFacetedUniqueValues().keys())
|
|
7767
|
-
} : null, [e]), n = e.getFilterValue(),
|
|
7769
|
+
} : null, [e]), n = e.getFilterValue(), { filterVariant: r } = e.columnDef.meta ?? {}, [i, a] = u(!1);
|
|
7768
7770
|
return /* @__PURE__ */ f(d, { children: e.getCanFilter() ? /* @__PURE__ */ p(Rf, {
|
|
7769
|
-
open:
|
|
7770
|
-
onOpenChange:
|
|
7771
|
+
open: i,
|
|
7772
|
+
onOpenChange: a,
|
|
7771
7773
|
children: [/* @__PURE__ */ p(zf, {
|
|
7772
7774
|
className: "mun:flex mun:whitespace-nowrap mun:items-center mun:gap-2",
|
|
7773
7775
|
children: [/* @__PURE__ */ f("span", {
|
|
7774
7776
|
className: "mun:size-7 mun:inline-flex mun:items-center mun:justify-center mun:rounded-md mun:transition-all mun:hover:bg-card",
|
|
7775
|
-
children: f(
|
|
7777
|
+
children: f(i ? E : O, { size: 16 })
|
|
7776
7778
|
}), /* @__PURE__ */ f("span", { children: t?.id })]
|
|
7777
7779
|
}), /* @__PURE__ */ f(Bf, { children: /* @__PURE__ */ p("div", {
|
|
7778
7780
|
className: "mun:p-3 mun:pr-0",
|
|
@@ -7784,7 +7786,8 @@ var Vf = ({ column: e }) => {
|
|
|
7784
7786
|
value: n ?? "",
|
|
7785
7787
|
onChange: (t) => e.setFilterValue(t),
|
|
7786
7788
|
placeholder: `Search... (${e.getFacetedUniqueValues().size})`,
|
|
7787
|
-
list: e.id + "list"
|
|
7789
|
+
list: e.id + "list",
|
|
7790
|
+
disabled: r === void 0
|
|
7788
7791
|
})]
|
|
7789
7792
|
}) })]
|
|
7790
7793
|
}) : null });
|
package/package.json
CHANGED
|
@@ -1,66 +1,64 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "munza-x-data-grid",
|
|
3
|
-
"private": false,
|
|
4
|
-
"version": "1.5.
|
|
5
|
-
"type": "module",
|
|
6
|
-
"files": [
|
|
7
|
-
"dist",
|
|
8
|
-
"README.md"
|
|
9
|
-
],
|
|
10
|
-
"module": "./dist/data-grid.js",
|
|
11
|
-
"types": "./dist/index.d.ts",
|
|
12
|
-
"exports": {
|
|
13
|
-
".": {
|
|
14
|
-
"import": "./dist/data-grid.js",
|
|
15
|
-
"types": "./dist/index.d.ts"
|
|
16
|
-
},
|
|
17
|
-
"./style.css": "./dist/index.css"
|
|
18
|
-
},
|
|
19
|
-
"scripts": {
|
|
20
|
-
"dev": "vite",
|
|
21
|
-
"build": "tsc -b && vite build",
|
|
22
|
-
"lint": "eslint .",
|
|
23
|
-
"preview": "vite preview"
|
|
24
|
-
},
|
|
25
|
-
"repository": {
|
|
26
|
-
"type": "git",
|
|
27
|
-
"url": "git+https://github.com/jsdev-robin/munza-x-data-grid.git"
|
|
28
|
-
},
|
|
29
|
-
"bugs": {
|
|
30
|
-
"url": "https://github.com/jsdev-robin/munza-x-data-grid/issues"
|
|
31
|
-
},
|
|
32
|
-
"peerDependencies": {
|
|
33
|
-
"react": "^18 || ^19",
|
|
34
|
-
"react-dom": "^18 || ^19"
|
|
35
|
-
},
|
|
36
|
-
"devDependencies": {
|
|
37
|
-
"@eslint/js": "^9.39.4",
|
|
38
|
-
"@
|
|
39
|
-
"@
|
|
40
|
-
"@types/
|
|
41
|
-
"@types/react": "^19",
|
|
42
|
-
"@
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"eslint": "^
|
|
47
|
-
"eslint-plugin-react-
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"prettier": "^
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
}
|
|
66
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "munza-x-data-grid",
|
|
3
|
+
"private": false,
|
|
4
|
+
"version": "1.5.4",
|
|
5
|
+
"type": "module",
|
|
6
|
+
"files": [
|
|
7
|
+
"dist",
|
|
8
|
+
"README.md"
|
|
9
|
+
],
|
|
10
|
+
"module": "./dist/data-grid.js",
|
|
11
|
+
"types": "./dist/index.d.ts",
|
|
12
|
+
"exports": {
|
|
13
|
+
".": {
|
|
14
|
+
"import": "./dist/data-grid.js",
|
|
15
|
+
"types": "./dist/index.d.ts"
|
|
16
|
+
},
|
|
17
|
+
"./style.css": "./dist/index.css"
|
|
18
|
+
},
|
|
19
|
+
"scripts": {
|
|
20
|
+
"dev": "vite",
|
|
21
|
+
"build": "tsc -b && vite build",
|
|
22
|
+
"lint": "eslint .",
|
|
23
|
+
"preview": "vite preview"
|
|
24
|
+
},
|
|
25
|
+
"repository": {
|
|
26
|
+
"type": "git",
|
|
27
|
+
"url": "git+https://github.com/jsdev-robin/munza-x-data-grid.git"
|
|
28
|
+
},
|
|
29
|
+
"bugs": {
|
|
30
|
+
"url": "https://github.com/jsdev-robin/munza-x-data-grid/issues"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"react": "^18 || ^19",
|
|
34
|
+
"react-dom": "^18 || ^19"
|
|
35
|
+
},
|
|
36
|
+
"devDependencies": {
|
|
37
|
+
"@eslint/js": "^9.39.4",
|
|
38
|
+
"@tailwindcss/vite": "^4.2.1",
|
|
39
|
+
"@types/node": "^24.12.0",
|
|
40
|
+
"@types/react": "^19",
|
|
41
|
+
"@types/react-dom": "^19",
|
|
42
|
+
"@vitejs/plugin-react": "^6.0.0",
|
|
43
|
+
"class-variance-authority": "0.7.1",
|
|
44
|
+
"clsx": "2.1.1",
|
|
45
|
+
"eslint": "^9.39.4",
|
|
46
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
47
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
48
|
+
"globals": "^17.4.0",
|
|
49
|
+
"lucide-react": "0.577.0",
|
|
50
|
+
"prettier": "^3.8.1",
|
|
51
|
+
"prettier-plugin-tailwindcss": "^0.7.2",
|
|
52
|
+
"radix-ui": "1.4.3",
|
|
53
|
+
"rollup-plugin-copy": "^3.5.0",
|
|
54
|
+
"tailwind-merge": "3.5.0",
|
|
55
|
+
"tailwindcss": "^4.2.1",
|
|
56
|
+
"typescript": "~5.9.3",
|
|
57
|
+
"typescript-eslint": "^8.56.1",
|
|
58
|
+
"vite": "^8.0.0",
|
|
59
|
+
"vite-plugin-dts": "^4.5.4"
|
|
60
|
+
},
|
|
61
|
+
"dependencies": {
|
|
62
|
+
"@tanstack/react-table": "^8.21.3"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const badgeVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
5
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
-
declare function Badge({ className, variant, asChild, ...props }: React.ComponentProps<'span'> & VariantProps<typeof badgeVariants> & {
|
|
7
|
-
asChild?: boolean;
|
|
8
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export { Badge };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const buttonVariants: (props?: ({
|
|
4
|
-
variant?: "link" | "default" | "outline" | "secondary" | "ghost" | "destructive" | null | undefined;
|
|
5
|
-
size?: "default" | "xs" | "sm" | "lg" | "icon" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<'button'> & VariantProps<typeof buttonVariants> & {
|
|
8
|
-
asChild?: boolean;
|
|
9
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { Button };
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import { Collapsible as CollapsiblePrimitive } from 'radix-ui';
|
|
2
|
-
declare function Collapsible({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare function CollapsibleTrigger({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleTrigger>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function CollapsibleContent({ ...props }: React.ComponentProps<typeof CollapsiblePrimitive.CollapsibleContent>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as React } from 'react';
|
|
2
|
-
declare const DebouncedInput: ({ value: initialValue, onChange, debounce, ...props }: {
|
|
3
|
-
value: string | number;
|
|
4
|
-
onChange: (value: string | number) => void;
|
|
5
|
-
debounce?: number;
|
|
6
|
-
} & Omit<React.InputHTMLAttributes<HTMLInputElement>, "onChange">) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default DebouncedInput;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { DropdownMenu as DropdownMenuPrimitive } from 'radix-ui';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare function DropdownMenu({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function DropdownMenuPortal({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Portal>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function DropdownMenuTrigger({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Trigger>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function DropdownMenuContent({ className, align, sideOffset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Content>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function DropdownMenuGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Group>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function DropdownMenuItem({ className, inset, variant, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Item> & {
|
|
9
|
-
inset?: boolean;
|
|
10
|
-
variant?: 'default' | 'destructive';
|
|
11
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.CheckboxItem> & {
|
|
13
|
-
inset?: boolean;
|
|
14
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare function DropdownMenuRadioGroup({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioGroup>): import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
declare function DropdownMenuRadioItem({ className, children, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.RadioItem> & {
|
|
17
|
-
inset?: boolean;
|
|
18
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
-
declare function DropdownMenuLabel({ className, inset, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Label> & {
|
|
20
|
-
inset?: boolean;
|
|
21
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
-
declare function DropdownMenuSeparator({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Separator>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
24
|
-
declare function DropdownMenuSub({ ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.Sub>): import("react/jsx-runtime").JSX.Element;
|
|
25
|
-
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubTrigger> & {
|
|
26
|
-
inset?: boolean;
|
|
27
|
-
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
declare function DropdownMenuSubContent({ className, ...props }: React.ComponentProps<typeof DropdownMenuPrimitive.SubContent>): import("react/jsx-runtime").JSX.Element;
|
|
29
|
-
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, };
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { VariantProps } from 'class-variance-authority';
|
|
2
|
-
declare function Empty({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare function EmptyHeader({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare const emptyMediaVariants: (props?: ({
|
|
5
|
-
variant?: "default" | "icon" | null | undefined;
|
|
6
|
-
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
7
|
-
declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function EmptyTitle({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function EmptyDescription({ className, ...props }: React.ComponentProps<'p'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
declare function EmptyContent({ className, ...props }: React.ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
11
|
-
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, };
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
type NativeSelectProps = Omit<React.ComponentProps<'select'>, 'size'> & {
|
|
3
|
-
size?: 'sm' | 'default';
|
|
4
|
-
};
|
|
5
|
-
declare function NativeSelect({ className, size, ...props }: NativeSelectProps): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function NativeSelectOption({ ...props }: React.ComponentProps<'option'>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function NativeSelectOptGroup({ className, ...props }: React.ComponentProps<'optgroup'>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export { NativeSelect, NativeSelectOptGroup, NativeSelectOption };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { Separator as SeparatorPrimitive } from 'radix-ui';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare function Separator({ className, orientation, decorative, ...props }: React.ComponentProps<typeof SeparatorPrimitive.Root>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export { Separator };
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import * as React from 'react';
|
|
2
|
-
declare function Table({ className, ...props }: React.ComponentProps<'table'>): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
declare function TableHeader({ className, ...props }: React.ComponentProps<'thead'>): import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
declare function TableBody({ className, ...props }: React.ComponentProps<'tbody'>): import("react/jsx-runtime").JSX.Element;
|
|
5
|
-
declare function TableFooter({ className, ...props }: React.ComponentProps<'tfoot'>): import("react/jsx-runtime").JSX.Element;
|
|
6
|
-
declare function TableRow({ className, ...props }: React.ComponentProps<'tr'>): import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
declare function TableHead({ className, ...props }: React.ComponentProps<'th'>): import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
declare function TableCell({ className, ...props }: React.ComponentProps<'td'>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
declare function TableCaption({ className, ...props }: React.ComponentProps<'caption'>): import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, };
|