@gearbox-protocol/permissionless-ui 1.0.0
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 +7 -0
- package/dist/cjs/components/alert-dialog.js +160 -0
- package/dist/cjs/components/back-button.js +57 -0
- package/dist/cjs/components/badge.js +61 -0
- package/dist/cjs/components/buttons/button.js +88 -0
- package/dist/cjs/components/buttons/copy-button.js +62 -0
- package/dist/cjs/components/buttons/external-button.js +62 -0
- package/dist/cjs/components/buttons/tab-button.js +60 -0
- package/dist/cjs/components/card.js +103 -0
- package/dist/cjs/components/checkbox.js +61 -0
- package/dist/cjs/components/danger-zone.js +35 -0
- package/dist/cjs/components/dialog.js +137 -0
- package/dist/cjs/components/dropdown-menu.js +200 -0
- package/dist/cjs/components/editable-table/edit-button.js +46 -0
- package/dist/cjs/components/editable-table/editable-table.js +93 -0
- package/dist/cjs/components/editable-table/updated-value.js +73 -0
- package/dist/cjs/components/index.js +72 -0
- package/dist/cjs/components/input.js +69 -0
- package/dist/cjs/components/label.js +54 -0
- package/dist/cjs/components/page-layout.js +36 -0
- package/dist/cjs/components/search-bar.js +66 -0
- package/dist/cjs/components/select.js +167 -0
- package/dist/cjs/components/skeleton.js +51 -0
- package/dist/cjs/components/table.js +121 -0
- package/dist/cjs/components/tabs.js +84 -0
- package/dist/cjs/components/textarea.js +56 -0
- package/dist/cjs/components/token-icon.js +57 -0
- package/dist/cjs/components/tooltip.js +63 -0
- package/dist/cjs/configs/index.js +38 -0
- package/dist/cjs/configs/tailwind.config.js +84 -0
- package/dist/cjs/index.js +24 -0
- package/dist/cjs/package.json +1 -0
- package/dist/cjs/utils/cn.js +32 -0
- package/dist/cjs/utils/copy.js +35 -0
- package/dist/cjs/utils/index.js +32 -0
- package/dist/esm/components/alert-dialog.js +116 -0
- package/dist/esm/components/back-button.js +23 -0
- package/dist/esm/components/badge.js +26 -0
- package/dist/esm/components/buttons/button.js +53 -0
- package/dist/esm/components/buttons/copy-button.js +28 -0
- package/dist/esm/components/buttons/external-button.js +28 -0
- package/dist/esm/components/buttons/tab-button.js +26 -0
- package/dist/esm/components/card.js +64 -0
- package/dist/esm/components/checkbox.js +27 -0
- package/dist/esm/components/danger-zone.js +11 -0
- package/dist/esm/components/dialog.js +97 -0
- package/dist/esm/components/dropdown-menu.js +152 -0
- package/dist/esm/components/editable-table/edit-button.js +22 -0
- package/dist/esm/components/editable-table/editable-table.js +68 -0
- package/dist/esm/components/editable-table/updated-value.js +49 -0
- package/dist/esm/components/index.js +26 -0
- package/dist/esm/components/input.js +35 -0
- package/dist/esm/components/label.js +20 -0
- package/dist/esm/components/page-layout.js +12 -0
- package/dist/esm/components/search-bar.js +42 -0
- package/dist/esm/components/select.js +124 -0
- package/dist/esm/components/skeleton.js +17 -0
- package/dist/esm/components/table.js +80 -0
- package/dist/esm/components/tabs.js +47 -0
- package/dist/esm/components/textarea.js +22 -0
- package/dist/esm/components/token-icon.js +23 -0
- package/dist/esm/components/tooltip.js +26 -0
- package/dist/esm/configs/index.js +4 -0
- package/dist/esm/configs/tailwind.config.js +64 -0
- package/dist/esm/index.js +2 -0
- package/dist/esm/package.json +1 -0
- package/dist/esm/utils/cn.js +8 -0
- package/dist/esm/utils/copy.js +11 -0
- package/dist/esm/utils/index.js +6 -0
- package/dist/globals.css +88 -0
- package/dist/types/components/alert-dialog.d.ts +20 -0
- package/dist/types/components/back-button.d.ts +7 -0
- package/dist/types/components/badge.d.ts +9 -0
- package/dist/types/components/buttons/button.d.ts +11 -0
- package/dist/types/components/buttons/copy-button.d.ts +8 -0
- package/dist/types/components/buttons/external-button.d.ts +7 -0
- package/dist/types/components/buttons/tab-button.d.ts +8 -0
- package/dist/types/components/card.d.ts +8 -0
- package/dist/types/components/checkbox.d.ts +4 -0
- package/dist/types/components/danger-zone.d.ts +5 -0
- package/dist/types/components/dialog.d.ts +16 -0
- package/dist/types/components/dropdown-menu.d.ts +27 -0
- package/dist/types/components/editable-table/edit-button.d.ts +7 -0
- package/dist/types/components/editable-table/editable-table.d.ts +31 -0
- package/dist/types/components/editable-table/updated-value.d.ts +12 -0
- package/dist/types/components/index.d.ts +26 -0
- package/dist/types/components/input.d.ts +7 -0
- package/dist/types/components/label.d.ts +5 -0
- package/dist/types/components/page-layout.d.ts +10 -0
- package/dist/types/components/search-bar.d.ts +8 -0
- package/dist/types/components/select.d.ts +13 -0
- package/dist/types/components/skeleton.d.ts +2 -0
- package/dist/types/components/table.d.ts +10 -0
- package/dist/types/components/tabs.d.ts +7 -0
- package/dist/types/components/textarea.d.ts +4 -0
- package/dist/types/components/token-icon.d.ts +6 -0
- package/dist/types/components/tooltip.d.ts +7 -0
- package/dist/types/configs/index.d.ts +1 -0
- package/dist/types/configs/tailwind.config.d.ts +3 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/utils/cn.d.ts +2 -0
- package/dist/types/utils/copy.d.ts +4 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +93 -0
|
@@ -0,0 +1,72 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __copyProps = (to, from, except, desc) => {
|
|
7
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
8
|
+
for (let key of __getOwnPropNames(from))
|
|
9
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
10
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
11
|
+
}
|
|
12
|
+
return to;
|
|
13
|
+
};
|
|
14
|
+
var __reExport = (target, mod, secondTarget) => (__copyProps(target, mod, "default"), secondTarget && __copyProps(secondTarget, mod, "default"));
|
|
15
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
16
|
+
var components_exports = {};
|
|
17
|
+
module.exports = __toCommonJS(components_exports);
|
|
18
|
+
__reExport(components_exports, require('./alert-dialog.js'), module.exports);
|
|
19
|
+
__reExport(components_exports, require('./back-button.js'), module.exports);
|
|
20
|
+
__reExport(components_exports, require('./badge.js'), module.exports);
|
|
21
|
+
__reExport(components_exports, require('./buttons/button.js'), module.exports);
|
|
22
|
+
__reExport(components_exports, require('./buttons/copy-button.js'), module.exports);
|
|
23
|
+
__reExport(components_exports, require('./buttons/external-button.js'), module.exports);
|
|
24
|
+
__reExport(components_exports, require('./buttons/tab-button.js'), module.exports);
|
|
25
|
+
__reExport(components_exports, require('./card.js'), module.exports);
|
|
26
|
+
__reExport(components_exports, require('./checkbox.js'), module.exports);
|
|
27
|
+
__reExport(components_exports, require('./danger-zone.js'), module.exports);
|
|
28
|
+
__reExport(components_exports, require('./dialog.js'), module.exports);
|
|
29
|
+
__reExport(components_exports, require('./dropdown-menu.js'), module.exports);
|
|
30
|
+
__reExport(components_exports, require('./editable-table/edit-button.js'), module.exports);
|
|
31
|
+
__reExport(components_exports, require('./editable-table/editable-table.js'), module.exports);
|
|
32
|
+
__reExport(components_exports, require('./editable-table/updated-value.js'), module.exports);
|
|
33
|
+
__reExport(components_exports, require('./input.js'), module.exports);
|
|
34
|
+
__reExport(components_exports, require('./label.js'), module.exports);
|
|
35
|
+
__reExport(components_exports, require('./page-layout.js'), module.exports);
|
|
36
|
+
__reExport(components_exports, require('./search-bar.js'), module.exports);
|
|
37
|
+
__reExport(components_exports, require('./select.js'), module.exports);
|
|
38
|
+
__reExport(components_exports, require('./skeleton.js'), module.exports);
|
|
39
|
+
__reExport(components_exports, require('./table.js'), module.exports);
|
|
40
|
+
__reExport(components_exports, require('./tabs.js'), module.exports);
|
|
41
|
+
__reExport(components_exports, require('./textarea.js'), module.exports);
|
|
42
|
+
__reExport(components_exports, require('./token-icon.js'), module.exports);
|
|
43
|
+
__reExport(components_exports, require('./tooltip.js'), module.exports);
|
|
44
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
45
|
+
0 && (module.exports = {
|
|
46
|
+
...require('./alert-dialog.js'),
|
|
47
|
+
...require('./back-button.js'),
|
|
48
|
+
...require('./badge.js'),
|
|
49
|
+
...require('./buttons/button.js'),
|
|
50
|
+
...require('./buttons/copy-button.js'),
|
|
51
|
+
...require('./buttons/external-button.js'),
|
|
52
|
+
...require('./buttons/tab-button.js'),
|
|
53
|
+
...require('./card.js'),
|
|
54
|
+
...require('./checkbox.js'),
|
|
55
|
+
...require('./danger-zone.js'),
|
|
56
|
+
...require('./dialog.js'),
|
|
57
|
+
...require('./dropdown-menu.js'),
|
|
58
|
+
...require('./editable-table/edit-button.js'),
|
|
59
|
+
...require('./editable-table/editable-table.js'),
|
|
60
|
+
...require('./editable-table/updated-value.js'),
|
|
61
|
+
...require('./input.js'),
|
|
62
|
+
...require('./label.js'),
|
|
63
|
+
...require('./page-layout.js'),
|
|
64
|
+
...require('./search-bar.js'),
|
|
65
|
+
...require('./select.js'),
|
|
66
|
+
...require('./skeleton.js'),
|
|
67
|
+
...require('./table.js'),
|
|
68
|
+
...require('./tabs.js'),
|
|
69
|
+
...require('./textarea.js'),
|
|
70
|
+
...require('./token-icon.js'),
|
|
71
|
+
...require('./tooltip.js')
|
|
72
|
+
});
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var input_exports = {};
|
|
30
|
+
__export(input_exports, {
|
|
31
|
+
Input: () => Input
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(input_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var React = __toESM(require("react"));
|
|
36
|
+
var import_utils = __toESM(require('../utils/index.js'));
|
|
37
|
+
const InputInternal = React.forwardRef(({ className, type, ...props }, ref) => {
|
|
38
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
39
|
+
"input",
|
|
40
|
+
{
|
|
41
|
+
type,
|
|
42
|
+
className: (0, import_utils.default)(
|
|
43
|
+
"flex h-9 w-full rounded-md border border-input px-3 py-1 shadow-sm transition-colors file:border-0 file:bg-transparent file:text-sm file:font-medium file:text-foreground placeholder:text-muted-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:cursor-not-allowed disabled:opacity-50 md:text-sm bg-[rgb(40,40,40)] text-white border-[rgb(100,100,100)] focus:bg-[rgb(40,40,40)] active:bg-[rgb(40,40,40)] [&:not(:placeholder-shown)]:bg-[rgb(40,40,40)] autofill:bg-[rgb(40,40,40)] [-webkit-autofill]:bg-[rgb(40,40,40)] [&:-webkit-autofill]:shadow-[0_0_0_1000px_rgb(40,40,40)_inset] [&:-webkit-autofill]:[text-fill-color:rgb(255,255,255)]",
|
|
44
|
+
className
|
|
45
|
+
),
|
|
46
|
+
ref,
|
|
47
|
+
...props
|
|
48
|
+
}
|
|
49
|
+
);
|
|
50
|
+
});
|
|
51
|
+
InputInternal.displayName = "Input";
|
|
52
|
+
function Input({ hasError, errorMessage, value, ...props }) {
|
|
53
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex flex-col space-y-2", children: [
|
|
54
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
55
|
+
InputInternal,
|
|
56
|
+
{
|
|
57
|
+
...props,
|
|
58
|
+
value,
|
|
59
|
+
className: (0, import_utils.default)(hasError ? "border-red-500" : "", props.className),
|
|
60
|
+
onWheel: props.type === "number" ? (e) => e.currentTarget.blur() : void 0
|
|
61
|
+
}
|
|
62
|
+
),
|
|
63
|
+
hasError && value !== "" && /* @__PURE__ */ (0, import_jsx_runtime.jsx)("p", { className: "text-red-500", children: errorMessage })
|
|
64
|
+
] });
|
|
65
|
+
}
|
|
66
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
67
|
+
0 && (module.exports = {
|
|
68
|
+
Input
|
|
69
|
+
});
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var label_exports = {};
|
|
30
|
+
__export(label_exports, {
|
|
31
|
+
Label: () => Label
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(label_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var LabelPrimitive = __toESM(require("@radix-ui/react-label"));
|
|
36
|
+
var import_class_variance_authority = require("class-variance-authority");
|
|
37
|
+
var React = __toESM(require("react"));
|
|
38
|
+
var import_utils = __toESM(require('../utils//index.js'));
|
|
39
|
+
const labelVariants = (0, import_class_variance_authority.cva)(
|
|
40
|
+
"text-sm font-medium leading-none peer-disabled:cursor-not-allowed peer-disabled:opacity-70"
|
|
41
|
+
);
|
|
42
|
+
const Label = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
LabelPrimitive.Root,
|
|
44
|
+
{
|
|
45
|
+
ref,
|
|
46
|
+
className: (0, import_utils.default)(labelVariants(), "text-white text-lg", className),
|
|
47
|
+
...props
|
|
48
|
+
}
|
|
49
|
+
));
|
|
50
|
+
Label.displayName = LabelPrimitive.Root.displayName;
|
|
51
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
52
|
+
0 && (module.exports = {
|
|
53
|
+
Label
|
|
54
|
+
});
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var page_layout_exports = {};
|
|
20
|
+
__export(page_layout_exports, {
|
|
21
|
+
PageLayout: () => PageLayout
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(page_layout_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_back_button = require('./back-button.js');
|
|
26
|
+
function PageLayout({ children, title, backButton }) {
|
|
27
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "min-h-screen bg-black text-white p-6", children: [
|
|
28
|
+
backButton && /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_back_button.BackButton, { href: backButton.href, text: backButton.text }),
|
|
29
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "flex justify-between items-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)("h1", { className: "text-3xl font-bold mb-2", children: title }) }),
|
|
30
|
+
children
|
|
31
|
+
] });
|
|
32
|
+
}
|
|
33
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
34
|
+
0 && (module.exports = {
|
|
35
|
+
PageLayout
|
|
36
|
+
});
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __defProp = Object.defineProperty;
|
|
3
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
4
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
5
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
6
|
+
var __export = (target, all) => {
|
|
7
|
+
for (var name in all)
|
|
8
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
9
|
+
};
|
|
10
|
+
var __copyProps = (to, from, except, desc) => {
|
|
11
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
12
|
+
for (let key of __getOwnPropNames(from))
|
|
13
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
14
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
15
|
+
}
|
|
16
|
+
return to;
|
|
17
|
+
};
|
|
18
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
19
|
+
var search_bar_exports = {};
|
|
20
|
+
__export(search_bar_exports, {
|
|
21
|
+
SearchBar: () => SearchBar
|
|
22
|
+
});
|
|
23
|
+
module.exports = __toCommonJS(search_bar_exports);
|
|
24
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
25
|
+
var import_lucide_react = require("lucide-react");
|
|
26
|
+
var import_react = require("react");
|
|
27
|
+
var import_input = require('./input.js');
|
|
28
|
+
function SearchBar({
|
|
29
|
+
onChange,
|
|
30
|
+
placeholder = "Search...",
|
|
31
|
+
className = "w-64",
|
|
32
|
+
children
|
|
33
|
+
}) {
|
|
34
|
+
const [searchQuery, setSearchQuery] = (0, import_react.useState)("");
|
|
35
|
+
const handleSearch = (e) => {
|
|
36
|
+
const query = e.target.value;
|
|
37
|
+
setSearchQuery(query);
|
|
38
|
+
onChange(query);
|
|
39
|
+
};
|
|
40
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: "flex justify-between items-center mb-6 mb-2 mt-6", children: [
|
|
41
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsxs)("div", { className: `relative ${className}`, children: [
|
|
42
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
43
|
+
import_input.Input,
|
|
44
|
+
{
|
|
45
|
+
type: "text",
|
|
46
|
+
placeholder,
|
|
47
|
+
value: searchQuery,
|
|
48
|
+
onChange: handleSearch,
|
|
49
|
+
className: "pl-10"
|
|
50
|
+
}
|
|
51
|
+
),
|
|
52
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
53
|
+
import_lucide_react.Search,
|
|
54
|
+
{
|
|
55
|
+
className: "absolute left-3 top-1/2 transform -translate-y-1/2 text-muted-foreground",
|
|
56
|
+
size: 18
|
|
57
|
+
}
|
|
58
|
+
)
|
|
59
|
+
] }),
|
|
60
|
+
children
|
|
61
|
+
] });
|
|
62
|
+
}
|
|
63
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
64
|
+
0 && (module.exports = {
|
|
65
|
+
SearchBar
|
|
66
|
+
});
|
|
@@ -0,0 +1,167 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var select_exports = {};
|
|
30
|
+
__export(select_exports, {
|
|
31
|
+
Select: () => Select,
|
|
32
|
+
SelectContent: () => SelectContent,
|
|
33
|
+
SelectGroup: () => SelectGroup,
|
|
34
|
+
SelectItem: () => SelectItem,
|
|
35
|
+
SelectLabel: () => SelectLabel,
|
|
36
|
+
SelectScrollDownButton: () => SelectScrollDownButton,
|
|
37
|
+
SelectScrollUpButton: () => SelectScrollUpButton,
|
|
38
|
+
SelectSeparator: () => SelectSeparator,
|
|
39
|
+
SelectTrigger: () => SelectTrigger,
|
|
40
|
+
SelectValue: () => SelectValue
|
|
41
|
+
});
|
|
42
|
+
module.exports = __toCommonJS(select_exports);
|
|
43
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
44
|
+
var SelectPrimitive = __toESM(require("@radix-ui/react-select"));
|
|
45
|
+
var import_lucide_react = require("lucide-react");
|
|
46
|
+
var React = __toESM(require("react"));
|
|
47
|
+
var import_utils = __toESM(require('../utils/index.js'));
|
|
48
|
+
const Select = SelectPrimitive.Root;
|
|
49
|
+
const SelectGroup = SelectPrimitive.Group;
|
|
50
|
+
const SelectValue = SelectPrimitive.Value;
|
|
51
|
+
const SelectTrigger = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
52
|
+
SelectPrimitive.Trigger,
|
|
53
|
+
{
|
|
54
|
+
ref,
|
|
55
|
+
className: (0, import_utils.default)(
|
|
56
|
+
"flex h-9 w-full items-center justify-between whitespace-nowrap rounded-md border border-input bg-transparent px-3 py-2 text-sm shadow-sm ring-offset-background placeholder:text-muted-foreground focus:outline-none focus:ring-1 focus:ring-ring disabled:cursor-not-allowed disabled:opacity-50 [&>span]:line-clamp-1 bg-[rgb(40,40,40)] text-white border-[rgb(100,100,100)]",
|
|
57
|
+
className
|
|
58
|
+
),
|
|
59
|
+
...props,
|
|
60
|
+
children: [
|
|
61
|
+
children,
|
|
62
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Icon, { asChild: true, children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronDown, { className: "h-4 w-4 opacity-50" }) })
|
|
63
|
+
]
|
|
64
|
+
}
|
|
65
|
+
));
|
|
66
|
+
SelectTrigger.displayName = SelectPrimitive.Trigger.displayName;
|
|
67
|
+
const SelectScrollUpButton = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
68
|
+
SelectPrimitive.ScrollUpButton,
|
|
69
|
+
{
|
|
70
|
+
ref,
|
|
71
|
+
className: (0, import_utils.default)(
|
|
72
|
+
"flex cursor-default items-center justify-center py-1",
|
|
73
|
+
className
|
|
74
|
+
),
|
|
75
|
+
...props,
|
|
76
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronUp, { className: "h-4 w-4" })
|
|
77
|
+
}
|
|
78
|
+
));
|
|
79
|
+
SelectScrollUpButton.displayName = SelectPrimitive.ScrollUpButton.displayName;
|
|
80
|
+
const SelectScrollDownButton = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
81
|
+
SelectPrimitive.ScrollDownButton,
|
|
82
|
+
{
|
|
83
|
+
ref,
|
|
84
|
+
className: (0, import_utils.default)(
|
|
85
|
+
"flex cursor-default items-center justify-center py-1",
|
|
86
|
+
className
|
|
87
|
+
),
|
|
88
|
+
...props,
|
|
89
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.ChevronDown, { className: "h-4 w-4" })
|
|
90
|
+
}
|
|
91
|
+
));
|
|
92
|
+
SelectScrollDownButton.displayName = SelectPrimitive.ScrollDownButton.displayName;
|
|
93
|
+
const SelectContent = React.forwardRef(({ className, children, position = "popper", ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.Portal, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
94
|
+
SelectPrimitive.Content,
|
|
95
|
+
{
|
|
96
|
+
ref,
|
|
97
|
+
className: (0, import_utils.default)(
|
|
98
|
+
"relative z-50 max-h-96 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2",
|
|
99
|
+
position === "popper" && "data-[side=bottom]:translate-y-1 data-[side=left]:-translate-x-1 data-[side=right]:translate-x-1 data-[side=top]:-translate-y-1",
|
|
100
|
+
className
|
|
101
|
+
),
|
|
102
|
+
position,
|
|
103
|
+
...props,
|
|
104
|
+
children: [
|
|
105
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollUpButton, {}),
|
|
106
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
107
|
+
SelectPrimitive.Viewport,
|
|
108
|
+
{
|
|
109
|
+
className: (0, import_utils.default)(
|
|
110
|
+
"p-1",
|
|
111
|
+
position === "popper" && "h-[var(--radix-select-trigger-height)] w-full min-w-[var(--radix-select-trigger-width)]"
|
|
112
|
+
),
|
|
113
|
+
children
|
|
114
|
+
}
|
|
115
|
+
),
|
|
116
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectScrollDownButton, {})
|
|
117
|
+
]
|
|
118
|
+
}
|
|
119
|
+
) }));
|
|
120
|
+
SelectContent.displayName = SelectPrimitive.Content.displayName;
|
|
121
|
+
const SelectLabel = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
122
|
+
SelectPrimitive.Label,
|
|
123
|
+
{
|
|
124
|
+
ref,
|
|
125
|
+
className: (0, import_utils.default)("px-2 py-1.5 text-sm font-semibold", className),
|
|
126
|
+
...props
|
|
127
|
+
}
|
|
128
|
+
));
|
|
129
|
+
SelectLabel.displayName = SelectPrimitive.Label.displayName;
|
|
130
|
+
const SelectItem = React.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsxs)(
|
|
131
|
+
SelectPrimitive.Item,
|
|
132
|
+
{
|
|
133
|
+
ref,
|
|
134
|
+
className: (0, import_utils.default)(
|
|
135
|
+
"relative flex w-full cursor-default select-none items-center rounded-sm py-1.5 pl-2 pr-8 text-sm outline-none focus:bg-accent focus:text-accent-foreground data-[disabled]:pointer-events-none data-[disabled]:opacity-50 bg-[rgb(40,40,40)] text-white border-[rgb(100,100,100)]",
|
|
136
|
+
className
|
|
137
|
+
),
|
|
138
|
+
...props,
|
|
139
|
+
children: [
|
|
140
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ItemIndicator, { children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_lucide_react.Check, { className: "h-4 w-4" }) }) }),
|
|
141
|
+
/* @__PURE__ */ (0, import_jsx_runtime.jsx)(SelectPrimitive.ItemText, { children })
|
|
142
|
+
]
|
|
143
|
+
}
|
|
144
|
+
));
|
|
145
|
+
SelectItem.displayName = SelectPrimitive.Item.displayName;
|
|
146
|
+
const SelectSeparator = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
147
|
+
SelectPrimitive.Separator,
|
|
148
|
+
{
|
|
149
|
+
ref,
|
|
150
|
+
className: (0, import_utils.default)("-mx-1 my-1 h-px bg-muted", className),
|
|
151
|
+
...props
|
|
152
|
+
}
|
|
153
|
+
));
|
|
154
|
+
SelectSeparator.displayName = SelectPrimitive.Separator.displayName;
|
|
155
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
156
|
+
0 && (module.exports = {
|
|
157
|
+
Select,
|
|
158
|
+
SelectContent,
|
|
159
|
+
SelectGroup,
|
|
160
|
+
SelectItem,
|
|
161
|
+
SelectLabel,
|
|
162
|
+
SelectScrollDownButton,
|
|
163
|
+
SelectScrollUpButton,
|
|
164
|
+
SelectSeparator,
|
|
165
|
+
SelectTrigger,
|
|
166
|
+
SelectValue
|
|
167
|
+
});
|
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var skeleton_exports = {};
|
|
30
|
+
__export(skeleton_exports, {
|
|
31
|
+
Skeleton: () => Skeleton
|
|
32
|
+
});
|
|
33
|
+
module.exports = __toCommonJS(skeleton_exports);
|
|
34
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
35
|
+
var import_utils = __toESM(require('../utils/index.js'));
|
|
36
|
+
function Skeleton({
|
|
37
|
+
className,
|
|
38
|
+
...props
|
|
39
|
+
}) {
|
|
40
|
+
return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
41
|
+
"div",
|
|
42
|
+
{
|
|
43
|
+
className: (0, import_utils.default)("animate-pulse rounded-md bg-muted", className),
|
|
44
|
+
...props
|
|
45
|
+
}
|
|
46
|
+
);
|
|
47
|
+
}
|
|
48
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
49
|
+
0 && (module.exports = {
|
|
50
|
+
Skeleton
|
|
51
|
+
});
|
|
@@ -0,0 +1,121 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
7
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
8
|
+
var __export = (target, all) => {
|
|
9
|
+
for (var name in all)
|
|
10
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
11
|
+
};
|
|
12
|
+
var __copyProps = (to, from, except, desc) => {
|
|
13
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
14
|
+
for (let key of __getOwnPropNames(from))
|
|
15
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
16
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
17
|
+
}
|
|
18
|
+
return to;
|
|
19
|
+
};
|
|
20
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
21
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
22
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
23
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
24
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
25
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
26
|
+
mod
|
|
27
|
+
));
|
|
28
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
29
|
+
var table_exports = {};
|
|
30
|
+
__export(table_exports, {
|
|
31
|
+
Table: () => Table,
|
|
32
|
+
TableBody: () => TableBody,
|
|
33
|
+
TableCaption: () => TableCaption,
|
|
34
|
+
TableCell: () => TableCell,
|
|
35
|
+
TableFooter: () => TableFooter,
|
|
36
|
+
TableHead: () => TableHead,
|
|
37
|
+
TableHeader: () => TableHeader,
|
|
38
|
+
TableRow: () => TableRow
|
|
39
|
+
});
|
|
40
|
+
module.exports = __toCommonJS(table_exports);
|
|
41
|
+
var import_jsx_runtime = require("react/jsx-runtime");
|
|
42
|
+
var React = __toESM(require("react"));
|
|
43
|
+
var import_utils = __toESM(require('../utils/index.js'));
|
|
44
|
+
const Table = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
45
|
+
"table",
|
|
46
|
+
{
|
|
47
|
+
ref,
|
|
48
|
+
className: (0, import_utils.default)("w-full caption-bottom text-sm", className),
|
|
49
|
+
...props
|
|
50
|
+
}
|
|
51
|
+
) }));
|
|
52
|
+
Table.displayName = "Table";
|
|
53
|
+
const TableHeader = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("thead", { ref, className: (0, import_utils.default)("[&_tr]:border-b ", className), ...props }));
|
|
54
|
+
TableHeader.displayName = "TableHeader";
|
|
55
|
+
const TableBody = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
56
|
+
"tbody",
|
|
57
|
+
{
|
|
58
|
+
ref,
|
|
59
|
+
className: (0, import_utils.default)("[&_tr:last-child]:border-0", className),
|
|
60
|
+
...props
|
|
61
|
+
}
|
|
62
|
+
));
|
|
63
|
+
TableBody.displayName = "TableBody";
|
|
64
|
+
const TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
65
|
+
"tfoot",
|
|
66
|
+
{
|
|
67
|
+
ref,
|
|
68
|
+
className: (0, import_utils.default)(
|
|
69
|
+
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
70
|
+
className
|
|
71
|
+
),
|
|
72
|
+
...props
|
|
73
|
+
}
|
|
74
|
+
));
|
|
75
|
+
TableFooter.displayName = "TableFooter";
|
|
76
|
+
const TableRow = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
77
|
+
"tr",
|
|
78
|
+
{
|
|
79
|
+
ref,
|
|
80
|
+
className: (0, import_utils.default)(
|
|
81
|
+
"border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
82
|
+
className
|
|
83
|
+
),
|
|
84
|
+
...props
|
|
85
|
+
}
|
|
86
|
+
));
|
|
87
|
+
TableRow.displayName = "TableRow";
|
|
88
|
+
const TableHead = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
89
|
+
"th",
|
|
90
|
+
{
|
|
91
|
+
ref,
|
|
92
|
+
className: (0, import_utils.default)(
|
|
93
|
+
"h-10 px-2 border-b bg-muted/50 text-left align-middle font-medium text-muted-foreground",
|
|
94
|
+
className
|
|
95
|
+
),
|
|
96
|
+
...props
|
|
97
|
+
}
|
|
98
|
+
));
|
|
99
|
+
TableHead.displayName = "TableHead";
|
|
100
|
+
const TableCell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)("td", { ref, className: (0, import_utils.default)("p-2 align-middle", className), ...props }));
|
|
101
|
+
TableCell.displayName = "TableCell";
|
|
102
|
+
const TableCaption = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
|
|
103
|
+
"caption",
|
|
104
|
+
{
|
|
105
|
+
ref,
|
|
106
|
+
className: (0, import_utils.default)("mt-4 text-sm text-muted-foreground", className),
|
|
107
|
+
...props
|
|
108
|
+
}
|
|
109
|
+
));
|
|
110
|
+
TableCaption.displayName = "TableCaption";
|
|
111
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
112
|
+
0 && (module.exports = {
|
|
113
|
+
Table,
|
|
114
|
+
TableBody,
|
|
115
|
+
TableCaption,
|
|
116
|
+
TableCell,
|
|
117
|
+
TableFooter,
|
|
118
|
+
TableHead,
|
|
119
|
+
TableHeader,
|
|
120
|
+
TableRow
|
|
121
|
+
});
|