@myrjfa/ui 1.0.8 → 1.0.10
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/chat/ChatMain.d.ts +9 -0
- package/dist/chat/ChatMain.d.ts.map +1 -0
- package/dist/chat/ChatMain.js +272 -0
- package/dist/chat/ChatSidebar.d.ts +13 -0
- package/dist/chat/ChatSidebar.d.ts.map +1 -0
- package/dist/chat/ChatSidebar.js +23 -0
- package/dist/chat/ConversationList.d.ts +12 -0
- package/dist/chat/ConversationList.d.ts.map +1 -0
- package/dist/chat/ConversationList.js +70 -0
- package/dist/chat/ExpensePanel.d.ts +11 -0
- package/dist/chat/ExpensePanel.d.ts.map +1 -0
- package/dist/chat/ExpensePanel.js +235 -0
- package/dist/chat/MessageBubble.d.ts +18 -0
- package/dist/chat/MessageBubble.d.ts.map +1 -0
- package/dist/chat/MessageBubble.js +284 -0
- package/dist/chat/MessageInput.d.ts +21 -0
- package/dist/chat/MessageInput.d.ts.map +1 -0
- package/dist/chat/MessageInput.js +252 -0
- package/dist/chat/MilestonePanel.d.ts +11 -0
- package/dist/chat/MilestonePanel.d.ts.map +1 -0
- package/dist/chat/MilestonePanel.js +173 -0
- package/dist/chat/components/ParticipantSelector.d.ts +11 -0
- package/dist/chat/components/ParticipantSelector.d.ts.map +1 -0
- package/dist/chat/components/ParticipantSelector.js +17 -0
- package/dist/chat/components/SplitInputs.d.ts +11 -0
- package/dist/chat/components/SplitInputs.d.ts.map +1 -0
- package/dist/chat/components/SplitInputs.js +83 -0
- package/dist/chat/components/SplitTypeSelector.d.ts +8 -0
- package/dist/chat/components/SplitTypeSelector.d.ts.map +1 -0
- package/dist/chat/components/SplitTypeSelector.js +13 -0
- package/dist/chat/dialogs/AddMemberDialog.d.ts +10 -0
- package/dist/chat/dialogs/AddMemberDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/AddMemberDialog.js +50 -0
- package/dist/chat/dialogs/CameraDialog.d.ts +8 -0
- package/dist/chat/dialogs/CameraDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/CameraDialog.js +80 -0
- package/dist/chat/dialogs/CreatePollDialog.d.ts +8 -0
- package/dist/chat/dialogs/CreatePollDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/CreatePollDialog.js +38 -0
- package/dist/chat/dialogs/ExpenseAnalyticsDialog.d.ts +19 -0
- package/dist/chat/dialogs/ExpenseAnalyticsDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/ExpenseAnalyticsDialog.js +52 -0
- package/dist/chat/dialogs/GroupInfoDialog.d.ts +10 -0
- package/dist/chat/dialogs/GroupInfoDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/GroupInfoDialog.js +71 -0
- package/dist/chat/dialogs/GroupInfoViewDialog.d.ts +9 -0
- package/dist/chat/dialogs/GroupInfoViewDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/GroupInfoViewDialog.js +15 -0
- package/dist/chat/dialogs/NewChatDialog.d.ts +2 -0
- package/dist/chat/dialogs/NewChatDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/NewChatDialog.js +63 -0
- package/dist/chat/dialogs/NewGroupDialog.d.ts +2 -0
- package/dist/chat/dialogs/NewGroupDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/NewGroupDialog.js +69 -0
- package/dist/chat/dialogs/ParticipantsDialog.d.ts +11 -0
- package/dist/chat/dialogs/ParticipantsDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/ParticipantsDialog.js +93 -0
- package/dist/chat/dialogs/UserProfileDialog.d.ts +10 -0
- package/dist/chat/dialogs/UserProfileDialog.d.ts.map +1 -0
- package/dist/chat/dialogs/UserProfileDialog.js +100 -0
- package/dist/chat/index.d.ts +8 -0
- package/dist/chat/index.d.ts.map +1 -0
- package/dist/chat/index.js +7 -0
- package/dist/dashboard/action-buttons.js +4 -5
- package/dist/dashboard/app-sidebar.js +46 -128
- package/dist/dashboard/card-header.js +1 -2
- package/dist/dashboard/dashboard-components.js +3 -5
- package/dist/dashboard/data-table.d.ts +18 -18
- package/dist/dashboard/data-table.js +54 -66
- package/dist/dashboard/nav-main.js +4 -5
- package/dist/dashboard/nav-secondary.js +2 -25
- package/dist/dashboard/stats-card.js +1 -2
- package/dist/dashboard/table.js +8 -54
- package/dist/header/mobile-nav-item.js +1 -2
- package/dist/header/mobile-navbar.js +8 -9
- package/dist/header/nav-item.d.ts +2 -1
- package/dist/header/nav-item.d.ts.map +1 -1
- package/dist/header/nav-item.js +2 -3
- package/dist/index.d.ts +57 -56
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +57 -57
- package/dist/main/footer.js +5 -9
- package/dist/main/navbar.d.ts.map +1 -1
- package/dist/main/navbar.js +53 -136
- package/dist/main/paginationBar.js +12 -14
- package/dist/main/portfolio/portfolioItem.js +1 -2
- package/dist/main/portfolio/portfolioPopup.js +16 -17
- package/dist/main/review-page.d.ts.map +1 -1
- package/dist/main/review-page.js +131 -198
- package/dist/misc/accordion.js +8 -34
- package/dist/misc/alert-dialog.js +22 -55
- package/dist/misc/alert.js +7 -32
- package/dist/misc/alertdialogclaude.js +50 -125
- package/dist/misc/avatar.js +6 -31
- package/dist/misc/badge.d.ts +8 -8
- package/dist/misc/badge.js +4 -27
- package/dist/misc/button.d.ts +9 -9
- package/dist/misc/button.js +4 -27
- package/dist/misc/card.js +12 -40
- package/dist/misc/carousel.js +37 -61
- package/dist/misc/checkbox.js +2 -25
- package/dist/misc/command.d.ts +3 -1
- package/dist/misc/command.d.ts.map +1 -1
- package/dist/misc/command.js +18 -49
- package/dist/misc/datepicker.js +66 -76
- package/dist/misc/dialog.js +20 -52
- package/dist/misc/dropdown-menu.js +30 -67
- package/dist/misc/faq.js +2 -3
- package/dist/misc/file-preview.js +43 -97
- package/dist/misc/filter.d.ts.map +1 -1
- package/dist/misc/filter.js +18 -21
- package/dist/misc/filterBar.js +136 -160
- package/dist/misc/form.d.ts +1 -1
- package/dist/misc/form.d.ts.map +1 -1
- package/dist/misc/form.js +39 -60
- package/dist/misc/image-cropper.d.ts +10 -0
- package/dist/misc/image-cropper.d.ts.map +1 -0
- package/dist/misc/image-cropper.js +44 -0
- package/dist/misc/input.js +2 -25
- package/dist/misc/label.js +2 -25
- package/dist/misc/line-carousel.js +3 -13
- package/dist/misc/multiImageUploader.d.ts +8 -8
- package/dist/misc/multiImageUploader.js +10 -11
- package/dist/misc/newsLetter.js +18 -78
- package/dist/misc/notification.d.ts +1 -2
- package/dist/misc/notification.d.ts.map +1 -1
- package/dist/misc/notification.js +89 -125
- package/dist/misc/pagination.js +16 -45
- package/dist/misc/password-eye.js +2 -3
- package/dist/misc/popover.d.ts.map +1 -1
- package/dist/misc/popover.js +8 -34
- package/dist/misc/progress.js +2 -25
- package/dist/misc/scroll-area.js +5 -29
- package/dist/misc/searchBar.js +27 -31
- package/dist/misc/searchBox.js +18 -22
- package/dist/misc/select.d.ts.map +1 -1
- package/dist/misc/select.js +22 -54
- package/dist/misc/separator.js +2 -25
- package/dist/misc/share.js +48 -104
- package/dist/misc/sheet.js +21 -53
- package/dist/misc/sidebar.d.ts +69 -69
- package/dist/misc/sidebar.js +112 -153
- package/dist/misc/skeleton.d.ts +2 -2
- package/dist/misc/skeleton.js +6 -29
- package/dist/misc/slider.js +3 -26
- package/dist/misc/starRating.js +5 -15
- package/dist/misc/stateCard.js +7 -8
- package/dist/misc/switch.d.ts +5 -0
- package/dist/misc/switch.d.ts.map +1 -0
- package/dist/misc/switch.js +8 -0
- package/dist/misc/tabs.js +8 -34
- package/dist/misc/textarea.js +2 -25
- package/dist/misc/tile.js +31 -92
- package/dist/misc/tooltip.js +8 -34
- package/dist/profile/socialLink.d.ts +1 -1
- package/dist/profile/socialLink.d.ts.map +1 -1
- package/dist/profile/socialLink.js +53 -69
- package/dist/utils/permissions.d.ts +7 -0
- package/dist/utils/permissions.d.ts.map +1 -0
- package/dist/utils/permissions.js +38 -0
- package/package.json +8 -5
|
@@ -1,66 +1,54 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
return
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
if (
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
return (_jsxs(TableRow, { onClick: function () { return onRowClick && onRowClick(key); }, className: onRowClick ? 'hover:bg-accent cursor-pointer' : '', children: [columns.map(function (column) { return (_jsx(TableCell, { children: column.cell
|
|
56
|
-
? column.cell(item)
|
|
57
|
-
: item[column.accessorKey] }, column.accessorKey)); }), actions && (_jsx(TableCell, { onClick: function (e) { return e.stopPropagation(); }, children: actions(item) }))] }, key));
|
|
58
|
-
})) })] }) }), _jsx("div", { className: "lg:hidden", children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsx(TableRow, { children: columns.slice(1).map(function (column) { return (_jsx(TableHead, { className: "cursor-pointer select-none", onClick: function () { return column.sortable && toggleSort(column.accessorKey); }, children: _jsxs("div", { className: "flex items-center gap-1", children: [column.header, column.sortable && (sortColumn === column.accessorKey ? (sortDirection === 'asc' ? (_jsx(ChevronUp, { className: "w-4 h-4 text-black" })) : (_jsx(ChevronDown, { className: "w-4 h-4 text-black" }))) : (_jsxs("div", { className: "flex flex-col text-gray-400 leading-none", children: [_jsx(ChevronUp, { className: "w-3 h-3 -mb-1" }), _jsx(ChevronDown, { className: "w-3 h-3" })] })))] }) }, column.accessorKey)); }) }) }), _jsx(TableBody, { children: sortedData.length === 0 ? (_jsx(TableRow, { children: _jsx(TableCell, { colSpan: columns.length + (actions ? 1 : 0), className: "h-40 text-center text-gray-500", children: _jsxs("div", { className: "flex flex-col items-center justify-center gap-2", children: [_jsx(Inbox, { className: "w-8 h-8 text-gray-400" }), _jsx("span", { className: "text-base font-medium", children: "No data available" })] }) }) })) : (sortedData.map(function (item) {
|
|
59
|
-
var key = item.slug || item._id || Math.random().toString();
|
|
60
|
-
return (_jsxs(_Fragment, { children: [_jsx(TableRow, { className: "bg-gray-100", children: _jsx(TableCell, { colSpan: columns.length - 1, className: "py-3", children: _jsx("div", { className: "font-semibold text-gray-900", children: columns[0].cell
|
|
61
|
-
? columns[0].cell(item)
|
|
62
|
-
: item[columns[0].accessorKey] }) }) }), _jsx(TableRow, { onClick: function () { return onRowClick && onRowClick(key); }, className: onRowClick ? 'hover:bg-accent cursor-pointer' : '', children: columns.slice(1).map(function (column) { return (_jsx(TableCell, { children: column.cell
|
|
63
|
-
? column.cell(item)
|
|
64
|
-
: item[column.accessorKey] }, column.accessorKey)); }) }, key), actions && (_jsx(TableRow, { className: "bg-gray-30", children: _jsx(TableCell, { colSpan: columns.length - 1, className: "py-3", onClick: function (e) { return e.stopPropagation(); }, children: actions(item) }) }))] }));
|
|
65
|
-
})) })] }) })] }));
|
|
66
|
-
}
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { ChevronDown, ChevronUp, Inbox } from 'lucide-react';
|
|
3
|
+
import { useMemo, useState } from 'react';
|
|
4
|
+
import { Table, TableBody, TableCell, TableHead, TableHeader, TableRow, } from '../dashboard/table';
|
|
5
|
+
import { Input } from '../misc/input';
|
|
6
|
+
export function DataTable({ data, columns, actions, onRowClick, }) {
|
|
7
|
+
const [searchQuery, setSearchQuery] = useState('');
|
|
8
|
+
const [sortColumn, setSortColumn] = useState(null);
|
|
9
|
+
const [sortDirection, setSortDirection] = useState('asc');
|
|
10
|
+
// Global search across all string fields
|
|
11
|
+
const filteredData = useMemo(() => {
|
|
12
|
+
if (!searchQuery)
|
|
13
|
+
return data;
|
|
14
|
+
return data.filter((item) => {
|
|
15
|
+
const searchLower = searchQuery.toLowerCase();
|
|
16
|
+
return Object.values(item).some((value) => typeof value === 'string' && value.toLowerCase().includes(searchLower));
|
|
17
|
+
});
|
|
18
|
+
}, [searchQuery, data]);
|
|
19
|
+
// Sort logic
|
|
20
|
+
const sortedData = useMemo(() => {
|
|
21
|
+
if (!sortColumn)
|
|
22
|
+
return filteredData;
|
|
23
|
+
return [...filteredData].sort((a, b) => {
|
|
24
|
+
const aValue = a[sortColumn];
|
|
25
|
+
const bValue = b[sortColumn];
|
|
26
|
+
if (typeof aValue === 'number' && typeof bValue === 'number') {
|
|
27
|
+
return sortDirection === 'asc' ? aValue - bValue : bValue - aValue;
|
|
28
|
+
}
|
|
29
|
+
return String(aValue).localeCompare(String(bValue)) * (sortDirection === 'asc' ? 1 : -1);
|
|
30
|
+
});
|
|
31
|
+
}, [filteredData, sortColumn, sortDirection]);
|
|
32
|
+
const toggleSort = (accessorKey) => {
|
|
33
|
+
if (sortColumn === accessorKey) {
|
|
34
|
+
setSortDirection(sortDirection === 'asc' ? 'desc' : 'asc');
|
|
35
|
+
}
|
|
36
|
+
else {
|
|
37
|
+
setSortColumn(accessorKey);
|
|
38
|
+
setSortDirection('asc');
|
|
39
|
+
}
|
|
40
|
+
};
|
|
41
|
+
return (_jsxs("div", { className: "w-full", children: [_jsx("div", { className: "p-2", children: _jsx(Input, { placeholder: "Search...", className: "mb-4 max-w-sm", value: searchQuery, onChange: (e) => setSearchQuery(e.target.value) }) }), _jsx("div", { className: "hidden lg:block overflow-auto", children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsxs(TableRow, { children: [columns.map((column) => (_jsx(TableHead, { className: "cursor-pointer select-none", onClick: () => column.sortable && toggleSort(column.accessorKey), children: _jsxs("div", { className: "flex items-center gap-1", children: [column.header, column.sortable && (sortColumn === column.accessorKey ? (sortDirection === 'asc' ? (_jsx(ChevronUp, { className: "w-4 h-4 text-black" })) : (_jsx(ChevronDown, { className: "w-4 h-4 text-black" }))) : (_jsxs("div", { className: "flex flex-col text-gray-400 leading-none", children: [_jsx(ChevronUp, { className: "w-3 h-3 -mb-1" }), _jsx(ChevronDown, { className: "w-3 h-3" })] })))] }) }, column.accessorKey))), actions && _jsx(TableHead, { children: "Actions" })] }) }), _jsx(TableBody, { children: sortedData.length === 0 ? (_jsx(TableRow, { children: _jsx(TableCell, { colSpan: columns.length + (actions ? 1 : 0), className: "h-40 text-center text-gray-500", children: _jsxs("div", { className: "flex flex-col items-center justify-center gap-2", children: [_jsx(Inbox, { className: "w-8 h-8 text-gray-400" }), _jsx("span", { className: "text-base font-medium", children: "No data available" })] }) }) })) : (sortedData.map((item) => {
|
|
42
|
+
const key = item.slug || item._id || Math.random().toString();
|
|
43
|
+
return (_jsxs(TableRow, { onClick: () => onRowClick && onRowClick(key), className: onRowClick ? 'hover:bg-accent cursor-pointer' : '', children: [columns.map((column) => (_jsx(TableCell, { children: column.cell
|
|
44
|
+
? column.cell(item)
|
|
45
|
+
: item[column.accessorKey] }, column.accessorKey))), actions && (_jsx(TableCell, { onClick: (e) => e.stopPropagation(), children: actions(item) }))] }, key));
|
|
46
|
+
})) })] }) }), _jsx("div", { className: "lg:hidden", children: _jsxs(Table, { children: [_jsx(TableHeader, { children: _jsx(TableRow, { children: columns.slice(1).map((column) => (_jsx(TableHead, { className: "cursor-pointer select-none", onClick: () => column.sortable && toggleSort(column.accessorKey), children: _jsxs("div", { className: "flex items-center gap-1", children: [column.header, column.sortable && (sortColumn === column.accessorKey ? (sortDirection === 'asc' ? (_jsx(ChevronUp, { className: "w-4 h-4 text-black" })) : (_jsx(ChevronDown, { className: "w-4 h-4 text-black" }))) : (_jsxs("div", { className: "flex flex-col text-gray-400 leading-none", children: [_jsx(ChevronUp, { className: "w-3 h-3 -mb-1" }), _jsx(ChevronDown, { className: "w-3 h-3" })] })))] }) }, column.accessorKey))) }) }), _jsx(TableBody, { children: sortedData.length === 0 ? (_jsx(TableRow, { children: _jsx(TableCell, { colSpan: columns.length + (actions ? 1 : 0), className: "h-40 text-center text-gray-500", children: _jsxs("div", { className: "flex flex-col items-center justify-center gap-2", children: [_jsx(Inbox, { className: "w-8 h-8 text-gray-400" }), _jsx("span", { className: "text-base font-medium", children: "No data available" })] }) }) })) : (sortedData.map((item) => {
|
|
47
|
+
const key = item.slug || item._id || Math.random().toString();
|
|
48
|
+
return (_jsxs(_Fragment, { children: [_jsx(TableRow, { className: "bg-gray-100", children: _jsx(TableCell, { colSpan: columns.length - 1, className: "py-3", children: _jsx("div", { className: "font-semibold text-gray-900", children: columns[0].cell
|
|
49
|
+
? columns[0].cell(item)
|
|
50
|
+
: item[columns[0].accessorKey] }) }) }), _jsx(TableRow, { onClick: () => onRowClick && onRowClick(key), className: onRowClick ? 'hover:bg-accent cursor-pointer' : '', children: columns.slice(1).map((column) => (_jsx(TableCell, { children: column.cell
|
|
51
|
+
? column.cell(item)
|
|
52
|
+
: item[column.accessorKey] }, column.accessorKey))) }, key), actions && (_jsx(TableRow, { className: "bg-gray-30", children: _jsx(TableCell, { colSpan: columns.length - 1, className: "py-3", onClick: (e) => e.stopPropagation(), children: actions(item) }) }))] }));
|
|
53
|
+
})) })] }) })] }));
|
|
54
|
+
}
|
|
@@ -2,9 +2,8 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { usePathname, useRouter } from "next/navigation";
|
|
4
4
|
import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "../misc/sidebar";
|
|
5
|
-
export function NavMain(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
return (_jsx(SidebarGroup, { children: _jsx(SidebarGroupContent, { className: "flex flex-col gap-2", children: _jsx(SidebarMenu, { children: items.map(function (item) { return (_jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { tooltip: item.title, className: "cursor-pointer", onClick: function () { return router.push(item.url); }, isActive: pathname.includes(item.url), children: [item.icon && _jsx(item.icon, {}), _jsx("span", { children: item.title })] }) }, item.title)); }) }) }) }));
|
|
5
|
+
export function NavMain({ items, }) {
|
|
6
|
+
const pathname = usePathname();
|
|
7
|
+
const router = useRouter();
|
|
8
|
+
return (_jsx(SidebarGroup, { children: _jsx(SidebarGroupContent, { className: "flex flex-col gap-2", children: _jsx(SidebarMenu, { children: items.map((item) => (_jsx(SidebarMenuItem, { children: _jsxs(SidebarMenuButton, { tooltip: item.title, className: "cursor-pointer", onClick: () => router.push(item.url), isActive: pathname.includes(item.url), children: [item.icon && _jsx(item.icon, {}), _jsx("span", { children: item.title })] }) }, item.title))) }) }) }));
|
|
10
9
|
}
|
|
@@ -1,29 +1,6 @@
|
|
|
1
1
|
"use client";
|
|
2
|
-
var __assign = (this && this.__assign) || function () {
|
|
3
|
-
__assign = Object.assign || function(t) {
|
|
4
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
5
|
-
s = arguments[i];
|
|
6
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
7
|
-
t[p] = s[p];
|
|
8
|
-
}
|
|
9
|
-
return t;
|
|
10
|
-
};
|
|
11
|
-
return __assign.apply(this, arguments);
|
|
12
|
-
};
|
|
13
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
14
|
-
var t = {};
|
|
15
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
16
|
-
t[p] = s[p];
|
|
17
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
18
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
19
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
20
|
-
t[p[i]] = s[p[i]];
|
|
21
|
-
}
|
|
22
|
-
return t;
|
|
23
|
-
};
|
|
24
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
25
3
|
import { SidebarGroup, SidebarGroupContent, SidebarMenu, SidebarMenuButton, SidebarMenuItem, } from "../misc/sidebar";
|
|
26
|
-
export function NavSecondary(
|
|
27
|
-
|
|
28
|
-
return (_jsx(SidebarGroup, __assign({}, props, { children: _jsx(SidebarGroupContent, { children: _jsx(SidebarMenu, { children: items.map(function (item) { return (_jsx(SidebarMenuItem, { children: _jsx(SidebarMenuButton, { asChild: true, children: _jsxs("a", { href: item.url, children: [_jsx(item.icon, {}), _jsx("span", { children: item.title })] }) }) }, item.title)); }) }) }) })));
|
|
4
|
+
export function NavSecondary({ items, ...props }) {
|
|
5
|
+
return (_jsx(SidebarGroup, { ...props, children: _jsx(SidebarGroupContent, { children: _jsx(SidebarMenu, { children: items.map((item) => (_jsx(SidebarMenuItem, { children: _jsx(SidebarMenuButton, { asChild: true, children: _jsxs("a", { href: item.url, children: [_jsx(item.icon, {}), _jsx("span", { children: item.title })] }) }) }, item.title))) }) }) }));
|
|
29
6
|
}
|
|
@@ -1,6 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { Card, CardContent } from '../misc/card';
|
|
3
|
-
export function StatsCard(
|
|
4
|
-
var icon = _a.icon, title = _a.title, count = _a.count;
|
|
3
|
+
export function StatsCard({ icon, title, count, }) {
|
|
5
4
|
return (_jsx(Card, { children: _jsx(CardContent, { className: "flex items-center p-6", children: _jsxs("div", { className: "flex items-center gap-5", children: [_jsx("div", { className: "p-2 bg-blue-100 rounded-full", children: icon }), _jsxs("div", { children: [_jsx("p", { className: "text-sm font-medium text-muted-foreground", children: title }), _jsx("p", { className: "text-2xl font-bold", children: count })] })] }) }) }));
|
|
6
5
|
}
|
package/dist/dashboard/table.js
CHANGED
|
@@ -1,67 +1,21 @@
|
|
|
1
|
-
var __assign = (this && this.__assign) || function () {
|
|
2
|
-
__assign = Object.assign || function(t) {
|
|
3
|
-
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
4
|
-
s = arguments[i];
|
|
5
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p))
|
|
6
|
-
t[p] = s[p];
|
|
7
|
-
}
|
|
8
|
-
return t;
|
|
9
|
-
};
|
|
10
|
-
return __assign.apply(this, arguments);
|
|
11
|
-
};
|
|
12
|
-
var __rest = (this && this.__rest) || function (s, e) {
|
|
13
|
-
var t = {};
|
|
14
|
-
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
15
|
-
t[p] = s[p];
|
|
16
|
-
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
17
|
-
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
18
|
-
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
19
|
-
t[p[i]] = s[p[i]];
|
|
20
|
-
}
|
|
21
|
-
return t;
|
|
22
|
-
};
|
|
23
1
|
import { jsx as _jsx } from "react/jsx-runtime";
|
|
24
2
|
// components/ui/table.tsx
|
|
25
3
|
import { cn } from "@myrjfa/state/dist/lib/utils";
|
|
26
4
|
import * as React from "react";
|
|
27
|
-
|
|
28
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
29
|
-
return (_jsx("div", { className: "relative w-full overflow-auto", children: _jsx("table", __assign({ ref: ref, className: cn("w-full caption-bottom text-sm", className) }, props)) }));
|
|
30
|
-
});
|
|
5
|
+
const Table = React.forwardRef(({ className, ...props }, ref) => (_jsx("div", { className: "relative w-full overflow-auto", children: _jsx("table", { ref: ref, className: cn("w-full caption-bottom text-sm", className), ...props }) })));
|
|
31
6
|
Table.displayName = "Table";
|
|
32
|
-
|
|
33
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
34
|
-
return (_jsx("thead", __assign({ ref: ref, className: cn("[&_tr]:border-b", className) }, props)));
|
|
35
|
-
});
|
|
7
|
+
const TableHeader = React.forwardRef(({ className, ...props }, ref) => (_jsx("thead", { ref: ref, className: cn("[&_tr]:border-b", className), ...props })));
|
|
36
8
|
TableHeader.displayName = "TableHeader";
|
|
37
|
-
|
|
38
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
39
|
-
return (_jsx("tbody", __assign({ ref: ref, className: cn("[&_tr:last-child]:border-0", className) }, props)));
|
|
40
|
-
});
|
|
9
|
+
const TableBody = React.forwardRef(({ className, ...props }, ref) => (_jsx("tbody", { ref: ref, className: cn("[&_tr:last-child]:border-0", className), ...props })));
|
|
41
10
|
TableBody.displayName = "TableBody";
|
|
42
|
-
|
|
43
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
44
|
-
return (_jsx("tfoot", __assign({ ref: ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className) }, props)));
|
|
45
|
-
});
|
|
11
|
+
const TableFooter = React.forwardRef(({ className, ...props }, ref) => (_jsx("tfoot", { ref: ref, className: cn("border-t bg-muted/50 font-medium [&>tr]:last:border-b-0", className), ...props })));
|
|
46
12
|
TableFooter.displayName = "TableFooter";
|
|
47
|
-
|
|
48
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
49
|
-
return (_jsx("tr", __assign({ ref: ref, className: cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", className) }, props)));
|
|
50
|
-
});
|
|
13
|
+
const TableRow = React.forwardRef(({ className, ...props }, ref) => (_jsx("tr", { ref: ref, className: cn("border-b transition-colors hover:bg-muted/50 data-[state=selected]:bg-muted", className), ...props })));
|
|
51
14
|
TableRow.displayName = "TableRow";
|
|
52
|
-
|
|
53
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
54
|
-
return (_jsx("th", __assign({ ref: ref, className: cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", className) }, props)));
|
|
55
|
-
});
|
|
15
|
+
const TableHead = React.forwardRef(({ className, ...props }, ref) => (_jsx("th", { ref: ref, className: cn("h-12 px-4 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0", className), ...props })));
|
|
56
16
|
TableHead.displayName = "TableHead";
|
|
57
|
-
|
|
58
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
59
|
-
return (_jsx("td", __assign({ ref: ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className) }, props)));
|
|
60
|
-
});
|
|
17
|
+
const TableCell = React.forwardRef(({ className, ...props }, ref) => (_jsx("td", { ref: ref, className: cn("p-4 align-middle [&:has([role=checkbox])]:pr-0", className), ...props })));
|
|
61
18
|
TableCell.displayName = "TableCell";
|
|
62
|
-
|
|
63
|
-
var className = _a.className, props = __rest(_a, ["className"]);
|
|
64
|
-
return (_jsx("caption", __assign({ ref: ref, className: cn("mt-4 text-sm text-muted-foreground", className) }, props)));
|
|
65
|
-
});
|
|
19
|
+
const TableCaption = React.forwardRef(({ className, ...props }, ref) => (_jsx("caption", { ref: ref, className: cn("mt-4 text-sm text-muted-foreground", className), ...props })));
|
|
66
20
|
TableCaption.displayName = "TableCaption";
|
|
67
21
|
export { Table, TableHeader, TableBody, TableFooter, TableHead, TableRow, TableCell, TableCaption, };
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "@myrjfa/state/dist/lib/utils";
|
|
3
3
|
import Link from "next/link";
|
|
4
|
-
export function MobileNavItem(
|
|
5
|
-
var label = _a.label, href = _a.href, className = _a.className, icon = _a.icon;
|
|
4
|
+
export function MobileNavItem({ label, href, className, icon }) {
|
|
6
5
|
return (_jsxs(Link, { href: href, className: cn("flex w-full cursor-pointer items-center rounded-md p-2 gap-1 font-medium text-muted-foreground hover:text-foreground", className), children: [icon && _jsx("span", { children: icon }), label] }));
|
|
7
6
|
}
|
|
@@ -2,21 +2,20 @@
|
|
|
2
2
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
3
|
import { Menu, X } from "lucide-react";
|
|
4
4
|
import { useEffect, useState } from "react";
|
|
5
|
-
export function MobileNavbar(
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
var overflow = isOpen ? "hidden" : "auto";
|
|
5
|
+
export function MobileNavbar({ children }) {
|
|
6
|
+
const [isOpen, setIsOpen] = useState(false);
|
|
7
|
+
useEffect(() => {
|
|
8
|
+
const overflow = isOpen ? "hidden" : "auto";
|
|
10
9
|
document.documentElement.style.overflow = overflow;
|
|
11
10
|
}, [isOpen]);
|
|
12
|
-
useEffect(
|
|
13
|
-
|
|
11
|
+
useEffect(() => {
|
|
12
|
+
const closeHamburgerNavigation = () => setIsOpen(false);
|
|
14
13
|
window.addEventListener("orientationchange", closeHamburgerNavigation);
|
|
15
14
|
window.addEventListener("resize", closeHamburgerNavigation);
|
|
16
|
-
return
|
|
15
|
+
return () => {
|
|
17
16
|
window.removeEventListener("orientationchange", closeHamburgerNavigation);
|
|
18
17
|
window.removeEventListener("resize", closeHamburgerNavigation);
|
|
19
18
|
};
|
|
20
19
|
}, []);
|
|
21
|
-
return (_jsxs("div", { className: "md:hidden", children: [_jsx("button", { className: "md:hidden", onClick:
|
|
20
|
+
return (_jsxs("div", { className: "md:hidden", children: [_jsx("button", { className: "md:hidden", onClick: () => setIsOpen(!isOpen), children: isOpen ? _jsx(X, {}) : _jsx(Menu, {}) }), isOpen && (_jsx("div", { className: "fixed inset-0 top-[50px] z-40 size-full bg-black/40 animate-in slide-in-from-bottom-24 md:hidden", onClick: () => setIsOpen(false), children: children }))] }));
|
|
22
21
|
}
|
|
@@ -3,7 +3,8 @@ interface NavItemProps {
|
|
|
3
3
|
href: string;
|
|
4
4
|
className?: string;
|
|
5
5
|
icon?: React.ReactNode;
|
|
6
|
+
external?: boolean;
|
|
6
7
|
}
|
|
7
|
-
export declare function NavItem({ label, href, className, icon }: NavItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
|
+
export declare function NavItem({ label, href, className, icon, external }: NavItemProps): import("react/jsx-runtime").JSX.Element;
|
|
8
9
|
export {};
|
|
9
10
|
//# sourceMappingURL=nav-item.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"nav-item.d.ts","sourceRoot":"","sources":["../../src/header/nav-item.tsx"],"names":[],"mappings":"AAGA,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"nav-item.d.ts","sourceRoot":"","sources":["../../src/header/nav-item.tsx"],"names":[],"mappings":"AAGA,UAAU,YAAY;IAClB,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,CAAC,EAAE,MAAM,CAAA;IAClB,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,QAAQ,CAAC,EAAE,OAAO,CAAA;CACrB;AAED,wBAAgB,OAAO,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,YAAY,2CAe/E"}
|
package/dist/header/nav-item.js
CHANGED
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
2
|
import { cn } from "@myrjfa/state/dist/lib/utils";
|
|
3
3
|
import Link from "next/link";
|
|
4
|
-
export function NavItem(
|
|
5
|
-
|
|
6
|
-
return (_jsxs(Link, { href: href, className: cn("text-muted-foreground hover:text-foreground flex cursor-pointer items-center text-sm font-medium transition-colors gap-1", className), children: [icon && _jsx("span", { children: icon }), label] }));
|
|
4
|
+
export function NavItem({ label, href, className, icon, external }) {
|
|
5
|
+
return (_jsxs(Link, { href: href, target: external ? "_blank" : undefined, rel: external ? "noopener noreferrer" : undefined, className: cn("text-muted-foreground hover:text-foreground flex cursor-pointer items-center text-sm font-medium transition-colors gap-1", className), children: [icon && _jsx("span", { children: icon }), label] }));
|
|
7
6
|
}
|
package/dist/index.d.ts
CHANGED
|
@@ -1,57 +1,58 @@
|
|
|
1
|
-
export * from './misc/button';
|
|
2
|
-
export * from './misc/accordion';
|
|
3
|
-
export * from './misc/alert';
|
|
4
|
-
export * from './misc/alertdialogclaude';
|
|
5
|
-
export * from './misc/avatar';
|
|
6
|
-
export * from './misc/badge';
|
|
7
|
-
export * from './misc/carousel';
|
|
8
|
-
export * from './misc/checkbox';
|
|
9
|
-
export * from './misc/command';
|
|
10
|
-
export * from './misc/datepicker';
|
|
11
|
-
export * from './misc/dialog';
|
|
12
|
-
export * from './misc/dropdown-menu';
|
|
13
|
-
export * from './misc/faq';
|
|
14
|
-
export * from './misc/file-preview';
|
|
15
|
-
export * from './misc/filter';
|
|
16
|
-
export * from './misc/filterBar';
|
|
17
|
-
export * from './misc/form';
|
|
18
|
-
export * from './misc/input';
|
|
19
|
-
export * from './misc/label';
|
|
20
|
-
export * from './misc/line-carousel';
|
|
21
|
-
export * from './misc/newsLetter';
|
|
22
|
-
export * from './misc/notification';
|
|
23
|
-
export * from './misc/pagination';
|
|
24
|
-
export * from './misc/password-eye';
|
|
25
|
-
export * from './misc/popover';
|
|
26
|
-
export * from './misc/progress';
|
|
27
|
-
export * from './misc/scroll-area';
|
|
28
|
-
export * from './misc/searchBar';
|
|
29
|
-
export * from './misc/searchBox';
|
|
30
|
-
export * from './misc/select';
|
|
31
|
-
export * from './misc/separator';
|
|
32
|
-
export * from './misc/share';
|
|
33
|
-
export * from './misc/sheet';
|
|
34
|
-
export * from './misc/sidebar';
|
|
35
|
-
export * from './misc/skeleton';
|
|
36
|
-
export * from './misc/starRating';
|
|
37
|
-
export * from './misc/stateCard';
|
|
38
|
-
export * from './misc/tabs';
|
|
39
|
-
export * from './misc/textarea';
|
|
40
|
-
export * from './misc/tile';
|
|
41
|
-
export * from './misc/tooltip';
|
|
42
|
-
export * from './dashboard/action-buttons';
|
|
43
|
-
export * from './dashboard/app-sidebar';
|
|
44
|
-
export * from './dashboard/card-header';
|
|
45
|
-
export * from './dashboard/dashboard-components';
|
|
46
|
-
export * from './dashboard/data-table';
|
|
47
|
-
export * from './dashboard/nav-main';
|
|
48
|
-
export * from './dashboard/nav-secondary';
|
|
49
|
-
export * from './dashboard/table';
|
|
50
|
-
export * from './header/mobile-nav-item';
|
|
51
|
-
export * from './header/mobile-navbar';
|
|
52
|
-
export * from './header/nav-item';
|
|
53
|
-
export * from './main/footer';
|
|
54
|
-
export * from './main/navbar';
|
|
55
|
-
export * from './main/paginationBar';
|
|
56
|
-
export * from './main/review-page';
|
|
1
|
+
export * from './misc/button';
|
|
2
|
+
export * from './misc/accordion';
|
|
3
|
+
export * from './misc/alert';
|
|
4
|
+
export * from './misc/alertdialogclaude';
|
|
5
|
+
export * from './misc/avatar';
|
|
6
|
+
export * from './misc/badge';
|
|
7
|
+
export * from './misc/carousel';
|
|
8
|
+
export * from './misc/checkbox';
|
|
9
|
+
export * from './misc/command';
|
|
10
|
+
export * from './misc/datepicker';
|
|
11
|
+
export * from './misc/dialog';
|
|
12
|
+
export * from './misc/dropdown-menu';
|
|
13
|
+
export * from './misc/faq';
|
|
14
|
+
export * from './misc/file-preview';
|
|
15
|
+
export * from './misc/filter';
|
|
16
|
+
export * from './misc/filterBar';
|
|
17
|
+
export * from './misc/form';
|
|
18
|
+
export * from './misc/input';
|
|
19
|
+
export * from './misc/label';
|
|
20
|
+
export * from './misc/line-carousel';
|
|
21
|
+
export * from './misc/newsLetter';
|
|
22
|
+
export * from './misc/notification';
|
|
23
|
+
export * from './misc/pagination';
|
|
24
|
+
export * from './misc/password-eye';
|
|
25
|
+
export * from './misc/popover';
|
|
26
|
+
export * from './misc/progress';
|
|
27
|
+
export * from './misc/scroll-area';
|
|
28
|
+
export * from './misc/searchBar';
|
|
29
|
+
export * from './misc/searchBox';
|
|
30
|
+
export * from './misc/select';
|
|
31
|
+
export * from './misc/separator';
|
|
32
|
+
export * from './misc/share';
|
|
33
|
+
export * from './misc/sheet';
|
|
34
|
+
export * from './misc/sidebar';
|
|
35
|
+
export * from './misc/skeleton';
|
|
36
|
+
export * from './misc/starRating';
|
|
37
|
+
export * from './misc/stateCard';
|
|
38
|
+
export * from './misc/tabs';
|
|
39
|
+
export * from './misc/textarea';
|
|
40
|
+
export * from './misc/tile';
|
|
41
|
+
export * from './misc/tooltip';
|
|
42
|
+
export * from './dashboard/action-buttons';
|
|
43
|
+
export * from './dashboard/app-sidebar';
|
|
44
|
+
export * from './dashboard/card-header';
|
|
45
|
+
export * from './dashboard/dashboard-components';
|
|
46
|
+
export * from './dashboard/data-table';
|
|
47
|
+
export * from './dashboard/nav-main';
|
|
48
|
+
export * from './dashboard/nav-secondary';
|
|
49
|
+
export * from './dashboard/table';
|
|
50
|
+
export * from './header/mobile-nav-item';
|
|
51
|
+
export * from './header/mobile-navbar';
|
|
52
|
+
export * from './header/nav-item';
|
|
53
|
+
export * from './main/footer';
|
|
54
|
+
export * from './main/navbar';
|
|
55
|
+
export * from './main/paginationBar';
|
|
56
|
+
export * from './main/review-page';
|
|
57
|
+
export * from './misc/image-cropper';
|
|
57
58
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,0BAA0B,CAAC;AACzC,cAAc,eAAe,CAAC;AAC9B,cAAc,cAAc,CAAC;AAC7B,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,YAAY,CAAC;AAC3B,cAAc,qBAAqB,CAAC;AACpC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,sBAAsB,CAAC;AACrC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,qBAAqB,CAAC;AACpC,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,oBAAoB,CAAC;AACnC,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,kBAAkB,CAAC;AACjC,cAAc,cAAc,CAAC;AAC7B,cAAc,cAAc,CAAC;AAC7B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,iBAAiB,CAAC;AAChC,cAAc,mBAAmB,CAAC;AAClC,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,gBAAgB,CAAC;AAC/B,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,kCAAkC,CAAC;AACjD,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,0BAA0B,CAAC;AACzC,cAAc,wBAAwB,CAAC;AACvC,cAAc,mBAAmB,CAAC;AAClC,cAAc,eAAe,CAAC;AAC9B,cAAc,eAAe,CAAC;AAC9B,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,sBAAsB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -1,57 +1,57 @@
|
|
|
1
|
-
|
|
2
|
-
export * from './misc/
|
|
3
|
-
export * from './misc/
|
|
4
|
-
export * from './misc/
|
|
5
|
-
export * from './misc/
|
|
6
|
-
export * from './misc/
|
|
7
|
-
export * from './misc/
|
|
8
|
-
export * from './misc/
|
|
9
|
-
export * from './misc/
|
|
10
|
-
export * from './misc/
|
|
11
|
-
export * from './misc/
|
|
12
|
-
export * from './misc/
|
|
13
|
-
export * from './misc/
|
|
14
|
-
export * from './misc/
|
|
15
|
-
export * from './misc/
|
|
16
|
-
export * from './misc/
|
|
17
|
-
export * from './misc/
|
|
18
|
-
export * from './misc/
|
|
19
|
-
export * from './misc/
|
|
20
|
-
export * from './misc/
|
|
21
|
-
export * from './misc/
|
|
22
|
-
export * from './misc/
|
|
23
|
-
export * from './misc/
|
|
24
|
-
export * from './misc/
|
|
25
|
-
export * from './misc/
|
|
26
|
-
export * from './misc/
|
|
27
|
-
export * from './misc/
|
|
28
|
-
export * from './misc/
|
|
29
|
-
export * from './misc/
|
|
30
|
-
export * from './misc/
|
|
31
|
-
export * from './misc/
|
|
32
|
-
export * from './misc/
|
|
33
|
-
export * from './misc/
|
|
34
|
-
export * from './misc/
|
|
35
|
-
export * from './misc/
|
|
36
|
-
export * from './misc/
|
|
37
|
-
export * from './misc/
|
|
38
|
-
export * from './misc/
|
|
39
|
-
export * from './misc/
|
|
40
|
-
export * from './misc/
|
|
41
|
-
export * from './misc/
|
|
42
|
-
export * from './
|
|
43
|
-
export * from './dashboard/
|
|
44
|
-
export * from './dashboard/
|
|
45
|
-
export * from './dashboard/
|
|
46
|
-
export * from './dashboard/
|
|
47
|
-
export * from './dashboard/
|
|
48
|
-
export * from './dashboard/nav-
|
|
49
|
-
export * from './dashboard/
|
|
50
|
-
export * from './
|
|
51
|
-
export * from './header/mobile-
|
|
52
|
-
export * from './header/
|
|
53
|
-
export * from './
|
|
54
|
-
export * from './main/
|
|
55
|
-
export * from './main/
|
|
56
|
-
export * from './main/
|
|
57
|
-
export * from './
|
|
1
|
+
export * from './misc/button';
|
|
2
|
+
export * from './misc/accordion';
|
|
3
|
+
export * from './misc/alert';
|
|
4
|
+
export * from './misc/alertdialogclaude';
|
|
5
|
+
export * from './misc/avatar';
|
|
6
|
+
export * from './misc/badge';
|
|
7
|
+
export * from './misc/carousel';
|
|
8
|
+
export * from './misc/checkbox';
|
|
9
|
+
export * from './misc/command';
|
|
10
|
+
export * from './misc/datepicker';
|
|
11
|
+
export * from './misc/dialog';
|
|
12
|
+
export * from './misc/dropdown-menu';
|
|
13
|
+
export * from './misc/faq';
|
|
14
|
+
export * from './misc/file-preview';
|
|
15
|
+
export * from './misc/filter';
|
|
16
|
+
export * from './misc/filterBar';
|
|
17
|
+
export * from './misc/form';
|
|
18
|
+
export * from './misc/input';
|
|
19
|
+
export * from './misc/label';
|
|
20
|
+
export * from './misc/line-carousel';
|
|
21
|
+
export * from './misc/newsLetter';
|
|
22
|
+
export * from './misc/notification';
|
|
23
|
+
export * from './misc/pagination';
|
|
24
|
+
export * from './misc/password-eye';
|
|
25
|
+
export * from './misc/popover';
|
|
26
|
+
export * from './misc/progress';
|
|
27
|
+
export * from './misc/scroll-area';
|
|
28
|
+
export * from './misc/searchBar';
|
|
29
|
+
export * from './misc/searchBox';
|
|
30
|
+
export * from './misc/select';
|
|
31
|
+
export * from './misc/separator';
|
|
32
|
+
export * from './misc/share';
|
|
33
|
+
export * from './misc/sheet';
|
|
34
|
+
export * from './misc/sidebar';
|
|
35
|
+
export * from './misc/skeleton';
|
|
36
|
+
export * from './misc/starRating';
|
|
37
|
+
export * from './misc/stateCard';
|
|
38
|
+
export * from './misc/tabs';
|
|
39
|
+
export * from './misc/textarea';
|
|
40
|
+
export * from './misc/tile';
|
|
41
|
+
export * from './misc/tooltip';
|
|
42
|
+
export * from './dashboard/action-buttons';
|
|
43
|
+
export * from './dashboard/app-sidebar';
|
|
44
|
+
export * from './dashboard/card-header';
|
|
45
|
+
export * from './dashboard/dashboard-components';
|
|
46
|
+
export * from './dashboard/data-table';
|
|
47
|
+
export * from './dashboard/nav-main';
|
|
48
|
+
export * from './dashboard/nav-secondary';
|
|
49
|
+
export * from './dashboard/table';
|
|
50
|
+
export * from './header/mobile-nav-item';
|
|
51
|
+
export * from './header/mobile-navbar';
|
|
52
|
+
export * from './header/nav-item';
|
|
53
|
+
export * from './main/footer';
|
|
54
|
+
export * from './main/navbar';
|
|
55
|
+
export * from './main/paginationBar';
|
|
56
|
+
export * from './main/review-page';
|
|
57
|
+
export * from './misc/image-cropper';
|