@yuno-payments/dashboard-design-system 0.0.166 → 0.0.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/atoms/access-denied-alert/access-denied-alert.d.ts +0 -16
- package/dist/components/atoms/accordion/accordion.d.ts +0 -66
- package/dist/components/atoms/alert/alert.d.ts +1 -26
- package/dist/components/atoms/alert/alert.js +8 -9
- package/dist/components/atoms/avatar/avatar-group.d.ts +0 -28
- package/dist/components/atoms/avatar/avatar.d.ts +0 -25
- package/dist/components/atoms/avatar/avatar.js +9 -9
- package/dist/components/atoms/badge/badge.d.ts +2 -30
- package/dist/components/atoms/badge/badge.js +11 -27
- package/dist/components/atoms/button/button.d.ts +0 -44
- package/dist/components/atoms/card/card.d.ts +3 -137
- package/dist/components/atoms/card/card.js +28 -56
- package/dist/components/atoms/checkbox/checkbox.d.ts +2 -38
- package/dist/components/atoms/checkbox/checkbox.js +27 -61
- package/dist/components/atoms/combobox/combobox.d.ts +0 -18
- package/dist/components/atoms/combobox/combobox.js +41 -41
- package/dist/components/atoms/combobox/types.d.ts +1 -90
- package/dist/components/atoms/currency-field/currency-field.d.ts +0 -38
- package/dist/components/atoms/currency-field/currency-field.js +19 -22
- package/dist/components/atoms/date-picker/date-picker.d.ts +0 -15
- package/dist/components/atoms/date-range-picker/date-range-picker.d.ts +0 -15
- package/dist/components/atoms/dots-menu/dots-menu.d.ts +0 -16
- package/dist/components/atoms/dots-menu/dots-menu.js +8 -8
- package/dist/components/atoms/dots-menu/dots-menu.types.d.ts +0 -52
- package/dist/components/atoms/dropdown-menu/dropdown-menu.d.ts +0 -50
- package/dist/components/atoms/field/field.d.ts +0 -55
- package/dist/components/atoms/field/field.js +46 -53
- package/dist/components/atoms/filter/filter-date-range.d.ts +2 -12
- package/dist/components/atoms/filter/filter-date-range.js +168 -203
- package/dist/components/atoms/filter/filter.d.ts +0 -6
- package/dist/components/atoms/filter/filter.js +76 -91
- package/dist/components/atoms/filter/index.d.ts +1 -1
- package/dist/components/atoms/filter-dropdown/filter-dropdown.d.ts +2 -208
- package/dist/components/atoms/filter-dropdown/filter-dropdown.js +160 -214
- package/dist/components/atoms/icon/icon-list.d.ts +0 -5
- package/dist/components/atoms/icon/icon-list.js +384 -394
- package/dist/components/atoms/icon/icon.d.ts +0 -29
- package/dist/components/atoms/index.d.ts +2 -3
- package/dist/components/atoms/label/index.d.ts +1 -1
- package/dist/components/atoms/link/link.d.ts +0 -20
- package/dist/components/atoms/multi-select/multi-select.d.ts +1 -1
- package/dist/components/atoms/multi-select/multi-select.js +6 -6
- package/dist/components/atoms/multi-values-field/multi-values-field.d.ts +0 -16
- package/dist/components/atoms/multi-values-field/multi-values-field.js +87 -109
- package/dist/components/atoms/multi-values-field/multi-values-field.types.d.ts +0 -81
- package/dist/components/atoms/otp-field/otp-field.d.ts +0 -32
- package/dist/components/atoms/password-field/password-field.d.ts +0 -23
- package/dist/components/atoms/password-field/password-field.js +1 -1
- package/dist/components/atoms/progress/progress.d.ts +0 -15
- package/dist/components/atoms/protected-field/protected-field.d.ts +0 -10
- package/dist/components/atoms/protected-field/protected-field.types.d.ts +0 -14
- package/dist/components/atoms/radio-group/radio-group-option.js +11 -11
- package/dist/components/atoms/radio-group/radio-group.d.ts +1 -50
- package/dist/components/atoms/radio-group/radio-group.js +12 -13
- package/dist/components/atoms/search-field/search-field.d.ts +0 -14
- package/dist/components/atoms/search-field/search-field.js +17 -17
- package/dist/components/atoms/search-field/search-field.types.d.ts +0 -57
- package/dist/components/atoms/select/index.d.ts +0 -2
- package/dist/components/atoms/select/select.d.ts +1 -83
- package/dist/components/atoms/select/select.js +21 -21
- package/dist/components/atoms/separator/separator.d.ts +0 -17
- package/dist/components/atoms/skeleton/index.d.ts +0 -9
- package/dist/components/atoms/switch/switch.d.ts +2 -56
- package/dist/components/atoms/switch/switch.js +32 -64
- package/dist/components/atoms/tabs/index.d.ts +0 -16
- package/dist/components/atoms/textarea/textarea.d.ts +0 -32
- package/dist/components/atoms/textarea/textarea.js +1 -1
- package/dist/components/atoms/time-picker/time-picker.d.ts +2 -73
- package/dist/components/atoms/time-picker/time-picker.js +3 -218
- package/dist/components/atoms/toaster/index.d.ts +0 -15
- package/dist/components/atoms/toggle-group/toggle-group.d.ts +1 -26
- package/dist/components/atoms/toggle-group/toggle-group.js +14 -15
- package/dist/components/atoms/tooltip/tooltip.d.ts +2 -53
- package/dist/components/atoms/typography/typography.d.ts +0 -18
- package/dist/components/molecules/breadcrumb/breadcrumb.d.ts +0 -50
- package/dist/components/molecules/breadcrumb/breadcrumb.js +17 -17
- package/dist/components/molecules/dialog-content/dialog-content.d.ts +0 -16
- package/dist/components/molecules/dialog-footer/dialog-footer.d.ts +0 -20
- package/dist/components/molecules/dialog-header/dialog-header.d.ts +0 -31
- package/dist/components/molecules/empty/empty-icon.js +6 -6
- package/dist/components/molecules/empty/empty.d.ts +1 -16
- package/dist/components/molecules/empty/empty.js +34 -37
- package/dist/components/molecules/highlight-banner/highlight-banner.d.ts +0 -17
- package/dist/components/molecules/pagination/pagination.d.ts +0 -49
- package/dist/components/organisms/data-table/components/cells/data-table-list-cell.d.ts +0 -41
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header-content.js +1 -1
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header-menu.js +18 -18
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header.d.ts +0 -18
- package/dist/components/organisms/data-table/components/column-header/data-table-column-header.js +10 -10
- package/dist/components/organisms/data-table/components/data-table-body.d.ts +0 -18
- package/dist/components/organisms/data-table/components/data-table-header.d.ts +0 -12
- package/dist/components/organisms/data-table/components/data-table-header.js +7 -7
- package/dist/components/organisms/data-table/components/states/data-table-loading.d.ts +0 -24
- package/dist/components/organisms/data-table/components/states/data-table-loading.js +6 -6
- package/dist/components/organisms/data-table/data-table.d.ts +3 -115
- package/dist/components/organisms/data-table/data-table.js +104 -131
- package/dist/components/organisms/data-table/data-table.types.d.ts +24 -23
- package/dist/components/organisms/data-table/hooks/use-data-table-columns.js +41 -57
- package/dist/components/organisms/data-table/hooks/use-data-table-state.d.ts +2 -7
- package/dist/components/organisms/data-table/hooks/use-data-table-state.js +46 -80
- package/dist/components/organisms/data-table/utils/data-table-constants.d.ts +2 -8
- package/dist/components/organisms/data-table/utils/data-table-constants.js +10 -16
- package/dist/components/organisms/data-table/utils/data-table-styles.d.ts +0 -1652
- package/dist/components/organisms/data-table/utils/data-table-styles.js +14 -29
- package/dist/components/organisms/dialog/dialog.d.ts +1 -67
- package/dist/components/organisms/dialog/dialog.js +61 -78
- package/dist/components/organisms/index.d.ts +0 -2
- package/dist/components/organisms/sheet/sheet.d.ts +0 -69
- package/dist/components/organisms/sheet/sheet.js +33 -34
- package/dist/index.css +1 -1
- package/dist/index.d.ts +0 -2
- package/dist/index.js +162 -173
- package/dist/vendor/shadcn/avatar.js +19 -19
- package/dist/vendor/shadcn/badge.js +15 -15
- package/dist/vendor/shadcn/card.js +7 -7
- package/dist/vendor/shadcn/date-picker.d.ts +2 -2
- package/dist/vendor/shadcn/date-picker.js +1 -1
- package/dist/vendor/shadcn/date-range-picker.d.ts +2 -2
- package/dist/vendor/shadcn/date-range-picker.js +1 -1
- package/dist/vendor/shadcn/dialog.js +2 -2
- package/dist/vendor/shadcn/input-group.js +17 -17
- package/dist/vendor/shadcn/input.js +7 -7
- package/dist/vendor/shadcn/popover.js +1 -1
- package/dist/vendor/shadcn/select.js +2 -2
- package/dist/vendor/shadcn/sonner.d.ts +1 -26
- package/dist/vendor/shadcn/sonner.js +8 -12
- package/dist/vendor/shadcn/table.js +30 -30
- package/dist/vendor/shadcn/textarea.js +9 -9
- package/dist/vendor/shadcn/time-picker.d.ts +2 -1
- package/dist/vendor/shadcn/time-picker.js +23 -17
- package/dist/vendor/shadcn/toggle.js +13 -13
- package/dist/vendor/shadcn/tooltip.js +15 -25
- package/package.json +1 -1
- package/dist/components/atoms/icon/aida-logo.d.ts +0 -3
- package/dist/components/atoms/icon/aida-logo.js +0 -64
- package/dist/components/atoms/label/label.d.ts +0 -11
- package/dist/components/atoms/label/label.js +0 -28
- package/dist/components/atoms/loading/index.d.ts +0 -1
- package/dist/components/atoms/loading/loading.d.ts +0 -39
- package/dist/components/atoms/loading/loading.js +0 -37
- package/dist/components/atoms/select/search-select.d.ts +0 -22
- package/dist/components/atoms/select/search-select.js +0 -201
- package/dist/components/organisms/tutorial/index.d.ts +0 -2
- package/dist/components/organisms/tutorial/tutorial.d.ts +0 -16
- package/dist/components/organisms/tutorial/tutorial.js +0 -114
- package/dist/components/organisms/tutorial/tutorial.types.d.ts +0 -15
- package/dist/hooks/index.d.ts +0 -3
- package/dist/hooks/use-body-scroll-lock.d.ts +0 -13
- package/dist/hooks/use-escape-key.d.ts +0 -14
- package/dist/hooks/use-media-query.d.ts +0 -20
- package/dist/hooks/use-media-query.js +0 -21
- package/dist/lib/notification-alert.d.ts +0 -42
- package/dist/lib/notification-alert.js +0 -75
- package/dist/node_modules/@phosphor-icons/react/dist/csr/File.es.js +0 -8
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Microphone.es.js +0 -8
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Stop.es.js +0 -8
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Table.es.js +0 -8
- package/dist/node_modules/@phosphor-icons/react/dist/defs/File.es.js +0 -30
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Microphone.es.js +0 -36
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Stop.es.js +0 -36
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Table.es.js +0 -30
package/dist/index.js
CHANGED
|
@@ -1,181 +1,170 @@
|
|
|
1
1
|
/* empty css */
|
|
2
2
|
import { cn as t, normalizeDimension as p } from "./lib/utils.js";
|
|
3
3
|
import { toast as i } from "sonner";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
56
|
-
import {
|
|
57
|
-
import {
|
|
58
|
-
import {
|
|
59
|
-
import {
|
|
60
|
-
import {
|
|
61
|
-
import {
|
|
62
|
-
import {
|
|
63
|
-
import {
|
|
64
|
-
import {
|
|
65
|
-
import { DataTableSortIndicator as fe } from "./components/organisms/data-table/components/column-header/data-table-sort-indicator.js";
|
|
66
|
-
import { DataTableListCell as de } from "./components/organisms/data-table/components/cells/data-table-list-cell.js";
|
|
67
|
-
import { useBodyScrollLock as ce } from "./hooks/use-body-scroll-lock.js";
|
|
68
|
-
import { useEscapeKey as De } from "./hooks/use-escape-key.js";
|
|
69
|
-
import { useMediaQuery as Pe } from "./hooks/use-media-query.js";
|
|
4
|
+
import { Alert as m } from "./components/atoms/alert/alert.js";
|
|
5
|
+
import { Accordion as f, AccordionContent as d, AccordionItem as l, AccordionTrigger as u } from "./components/atoms/accordion/accordion.js";
|
|
6
|
+
import { AccessDeniedAlert as c } from "./components/atoms/access-denied-alert/access-denied-alert.js";
|
|
7
|
+
import { Avatar as s } from "./components/atoms/avatar/avatar.js";
|
|
8
|
+
import { Badge as C } from "./components/atoms/badge/badge.js";
|
|
9
|
+
import { Button as M } from "./components/atoms/button/button.js";
|
|
10
|
+
import { Card as w, CardContent as b, CardDescription as S, CardFooter as R, CardHeader as k, CardTitle as I } from "./components/atoms/card/card.js";
|
|
11
|
+
import { Checkbox as G } from "./components/atoms/checkbox/checkbox.js";
|
|
12
|
+
import { CurrencyField as A } from "./components/atoms/currency-field/currency-field.js";
|
|
13
|
+
import { DatePicker as B } from "./components/atoms/date-picker/date-picker.js";
|
|
14
|
+
import { DateRangePicker as O } from "./components/atoms/date-range-picker/date-range-picker.js";
|
|
15
|
+
import { TimePicker as H } from "./components/atoms/time-picker/time-picker.js";
|
|
16
|
+
import { FilterButton as z, FilterCheckboxOption as K, FilterContent as V, FilterRadioOption as j, FilterSection as q, FilterTag as J } from "./components/atoms/filter/filter.js";
|
|
17
|
+
import { FilterDateRange as U, FilterDateRangeOption as W } from "./components/atoms/filter/filter-date-range.js";
|
|
18
|
+
import { FilterDropdown as Y, FilterMenu as Z, FilterMenuItem as _ } from "./components/atoms/filter-dropdown/filter-dropdown.js";
|
|
19
|
+
import { DropdownMenu as oo, DropdownMenuCheckboxItem as ro, DropdownMenuContent as eo, DropdownMenuGroup as to, DropdownMenuItem as po, DropdownMenuLabel as no, DropdownMenuPortal as io, DropdownMenuRadioGroup as ao, DropdownMenuRadioItem as mo, DropdownMenuSeparator as xo, DropdownMenuShortcut as fo, DropdownMenuSub as lo, DropdownMenuSubContent as uo, DropdownMenuSubTrigger as go, DropdownMenuTrigger as co } from "./components/atoms/dropdown-menu/dropdown-menu.js";
|
|
20
|
+
import { DotsMenu as so } from "./components/atoms/dots-menu/dots-menu.js";
|
|
21
|
+
import { ToggleGroup as Co, ToggleGroupItem as Fo } from "./components/atoms/toggle-group/toggle-group.js";
|
|
22
|
+
import { Tooltip as To } from "./components/atoms/tooltip/tooltip.js";
|
|
23
|
+
import { TooltipProvider as bo } from "./vendor/shadcn/tooltip.js";
|
|
24
|
+
import { Field as Ro } from "./components/atoms/field/field.js";
|
|
25
|
+
import { NavLink as Io } from "./components/atoms/nav-link/nav-link.js";
|
|
26
|
+
import { Select as Go } from "./components/atoms/select/select.js";
|
|
27
|
+
import { Combobox as Ao } from "./components/atoms/combobox/combobox.js";
|
|
28
|
+
import { Link as Bo } from "./components/atoms/link/link.js";
|
|
29
|
+
import { MultiValuesField as Oo } from "./components/atoms/multi-values-field/multi-values-field.js";
|
|
30
|
+
import { MultiSelect as Ho } from "./components/atoms/multi-select/multi-select.js";
|
|
31
|
+
import { Popover as zo, PopoverContent as Ko, PopoverTrigger as Vo } from "./components/atoms/popover/popover.js";
|
|
32
|
+
import { RadioGroup as qo } from "./components/atoms/radio-group/radio-group.js";
|
|
33
|
+
import { RadioGroup as Qo, RadioGroupItem as Uo } from "./vendor/shadcn/radio-group.js";
|
|
34
|
+
import { RadioGroupOption as Xo } from "./components/atoms/radio-group/radio-group-option.js";
|
|
35
|
+
import { SearchField as Zo } from "./components/atoms/search-field/search-field.js";
|
|
36
|
+
import { Skeleton as $o } from "./vendor/shadcn/skeleton.js";
|
|
37
|
+
import { Separator as rr } from "./components/atoms/separator/separator.js";
|
|
38
|
+
import { Switch as tr } from "./components/atoms/switch/switch.js";
|
|
39
|
+
import { Textarea as nr } from "./components/atoms/textarea/textarea.js";
|
|
40
|
+
import { Typography as ar } from "./components/atoms/typography/typography.js";
|
|
41
|
+
import { Icon as xr } from "./components/atoms/icon/icon.js";
|
|
42
|
+
import { OTPField as dr } from "./components/atoms/otp-field/otp-field.js";
|
|
43
|
+
import { PasswordField as ur } from "./components/atoms/password-field/password-field.js";
|
|
44
|
+
import { ProtectedField as cr } from "./components/atoms/protected-field/protected-field.js";
|
|
45
|
+
import { Progress as sr } from "./components/atoms/progress/progress.js";
|
|
46
|
+
import { Toaster as Cr } from "./vendor/shadcn/sonner.js";
|
|
47
|
+
import { Breadcrumb as Mr } from "./components/molecules/breadcrumb/breadcrumb.js";
|
|
48
|
+
import { Pagination as wr, Pagination as br } from "./components/molecules/pagination/pagination.js";
|
|
49
|
+
import { PaginationContent as Rr, PaginationEllipsis as kr, PaginationItem as Ir, PaginationLink as hr, PaginationNext as Gr, PaginationPrevious as vr } from "./vendor/shadcn/pagination.js";
|
|
50
|
+
import { NavTabs as yr } from "./components/molecules/nav-tabs/nav-tabs.js";
|
|
51
|
+
import { HighlightBanner as Lr } from "./components/molecules/highlight-banner/highlight-banner.js";
|
|
52
|
+
import { Empty as Er } from "./components/molecules/empty/empty.js";
|
|
53
|
+
import { EmptyIcon as Nr } from "./components/molecules/empty/empty-icon.js";
|
|
54
|
+
import { DialogHeader as Kr } from "./components/molecules/dialog-header/dialog-header.js";
|
|
55
|
+
import { DialogContent as jr } from "./components/molecules/dialog-content/dialog-content.js";
|
|
56
|
+
import { DialogFooter as Jr } from "./components/molecules/dialog-footer/dialog-footer.js";
|
|
57
|
+
import { Dialog as Ur } from "./components/organisms/dialog/dialog.js";
|
|
58
|
+
import { Sheet as Xr } from "./components/organisms/sheet/sheet.js";
|
|
59
|
+
import { DataTable as Zr } from "./components/organisms/data-table/data-table.js";
|
|
60
|
+
import { DataTableColumnHeader as $r } from "./components/organisms/data-table/components/column-header/data-table-column-header.js";
|
|
61
|
+
import { DataTableSortIndicator as re } from "./components/organisms/data-table/components/column-header/data-table-sort-indicator.js";
|
|
62
|
+
import { DataTableListCell as te } from "./components/organisms/data-table/components/cells/data-table-list-cell.js";
|
|
63
|
+
import { useBodyScrollLock as ne } from "./hooks/use-body-scroll-lock.js";
|
|
64
|
+
import { useEscapeKey as ae } from "./hooks/use-escape-key.js";
|
|
70
65
|
export {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
q as
|
|
129
|
-
J as
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
bo as Tooltip,
|
|
171
|
-
ho as TooltipProvider,
|
|
172
|
-
pe as Tutorial,
|
|
173
|
-
dr as Typography,
|
|
66
|
+
c as AccessDeniedAlert,
|
|
67
|
+
f as Accordion,
|
|
68
|
+
d as AccordionContent,
|
|
69
|
+
l as AccordionItem,
|
|
70
|
+
u as AccordionTrigger,
|
|
71
|
+
m as Alert,
|
|
72
|
+
s as Avatar,
|
|
73
|
+
C as Badge,
|
|
74
|
+
Mr as Breadcrumb,
|
|
75
|
+
M as Button,
|
|
76
|
+
w as Card,
|
|
77
|
+
b as CardContent,
|
|
78
|
+
S as CardDescription,
|
|
79
|
+
R as CardFooter,
|
|
80
|
+
k as CardHeader,
|
|
81
|
+
I as CardTitle,
|
|
82
|
+
G as Checkbox,
|
|
83
|
+
Ao as Combobox,
|
|
84
|
+
A as CurrencyField,
|
|
85
|
+
Zr as DataTable,
|
|
86
|
+
$r as DataTableColumnHeader,
|
|
87
|
+
te as DataTableListCell,
|
|
88
|
+
re as DataTableSortIndicator,
|
|
89
|
+
B as DatePicker,
|
|
90
|
+
O as DateRangePicker,
|
|
91
|
+
Ur as Dialog,
|
|
92
|
+
jr as DialogContent,
|
|
93
|
+
Jr as DialogFooter,
|
|
94
|
+
Kr as DialogHeader,
|
|
95
|
+
so as DotsMenu,
|
|
96
|
+
oo as DropdownMenu,
|
|
97
|
+
ro as DropdownMenuCheckboxItem,
|
|
98
|
+
eo as DropdownMenuContent,
|
|
99
|
+
to as DropdownMenuGroup,
|
|
100
|
+
po as DropdownMenuItem,
|
|
101
|
+
no as DropdownMenuLabel,
|
|
102
|
+
io as DropdownMenuPortal,
|
|
103
|
+
ao as DropdownMenuRadioGroup,
|
|
104
|
+
mo as DropdownMenuRadioItem,
|
|
105
|
+
xo as DropdownMenuSeparator,
|
|
106
|
+
fo as DropdownMenuShortcut,
|
|
107
|
+
lo as DropdownMenuSub,
|
|
108
|
+
uo as DropdownMenuSubContent,
|
|
109
|
+
go as DropdownMenuSubTrigger,
|
|
110
|
+
co as DropdownMenuTrigger,
|
|
111
|
+
Er as Empty,
|
|
112
|
+
Nr as EmptyIcon,
|
|
113
|
+
Ro as Field,
|
|
114
|
+
z as FilterButton,
|
|
115
|
+
K as FilterCheckboxOption,
|
|
116
|
+
V as FilterContent,
|
|
117
|
+
U as FilterDateRange,
|
|
118
|
+
W as FilterDateRangeOption,
|
|
119
|
+
Y as FilterDropdown,
|
|
120
|
+
Z as FilterMenu,
|
|
121
|
+
_ as FilterMenuItem,
|
|
122
|
+
j as FilterRadioOption,
|
|
123
|
+
q as FilterSection,
|
|
124
|
+
J as FilterTag,
|
|
125
|
+
Lr as HighlightBanner,
|
|
126
|
+
xr as Icon,
|
|
127
|
+
Bo as Link,
|
|
128
|
+
Ho as MultiSelect,
|
|
129
|
+
Oo as MultiValuesField,
|
|
130
|
+
Io as NavLink,
|
|
131
|
+
yr as NavTabs,
|
|
132
|
+
dr as OTPField,
|
|
133
|
+
wr as Pagination,
|
|
134
|
+
Rr as PaginationContent,
|
|
135
|
+
kr as PaginationEllipsis,
|
|
136
|
+
Ir as PaginationItem,
|
|
137
|
+
hr as PaginationLink,
|
|
138
|
+
Gr as PaginationNext,
|
|
139
|
+
vr as PaginationPrevious,
|
|
140
|
+
br as PaginationRoot,
|
|
141
|
+
ur as PasswordField,
|
|
142
|
+
zo as Popover,
|
|
143
|
+
Ko as PopoverContent,
|
|
144
|
+
Vo as PopoverTrigger,
|
|
145
|
+
sr as Progress,
|
|
146
|
+
cr as ProtectedField,
|
|
147
|
+
qo as RadioGroup,
|
|
148
|
+
Qo as RadioGroupBase,
|
|
149
|
+
Uo as RadioGroupItem,
|
|
150
|
+
Xo as RadioGroupOption,
|
|
151
|
+
Zo as SearchField,
|
|
152
|
+
Go as Select,
|
|
153
|
+
rr as Separator,
|
|
154
|
+
Xr as Sheet,
|
|
155
|
+
$o as Skeleton,
|
|
156
|
+
tr as Switch,
|
|
157
|
+
nr as Textarea,
|
|
158
|
+
H as TimePicker,
|
|
159
|
+
Cr as Toaster,
|
|
160
|
+
Co as ToggleGroup,
|
|
161
|
+
Fo as ToggleGroupItem,
|
|
162
|
+
To as Tooltip,
|
|
163
|
+
bo as TooltipProvider,
|
|
164
|
+
ar as Typography,
|
|
174
165
|
t as cn,
|
|
175
166
|
p as normalizeDimension,
|
|
176
|
-
m as showNotificationAlert,
|
|
177
167
|
i as toast,
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
Pe as useMediaQuery
|
|
168
|
+
ne as useBodyScrollLock,
|
|
169
|
+
ae as useEscapeKey
|
|
181
170
|
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as e } from "../../_virtual/jsx-runtime.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import * as
|
|
4
|
-
import { cn as
|
|
5
|
-
function
|
|
3
|
+
import * as r from "@radix-ui/react-avatar";
|
|
4
|
+
import { cn as l } from "../../lib/utils.js";
|
|
5
|
+
function m({
|
|
6
6
|
className: a,
|
|
7
7
|
...t
|
|
8
8
|
}) {
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
|
|
9
|
+
return /* @__PURE__ */ e.jsx(
|
|
10
|
+
r.Root,
|
|
11
11
|
{
|
|
12
12
|
"data-slot": "avatar",
|
|
13
|
-
className:
|
|
13
|
+
className: l(
|
|
14
14
|
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
|
|
15
15
|
a
|
|
16
16
|
),
|
|
@@ -18,29 +18,29 @@ function n({
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function n({
|
|
22
22
|
className: a,
|
|
23
23
|
...t
|
|
24
24
|
}) {
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
|
|
25
|
+
return /* @__PURE__ */ e.jsx(
|
|
26
|
+
r.Image,
|
|
27
27
|
{
|
|
28
28
|
"data-slot": "avatar-image",
|
|
29
|
-
className:
|
|
29
|
+
className: l("aspect-square size-full", a),
|
|
30
30
|
...t
|
|
31
31
|
}
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function u({
|
|
35
35
|
className: a,
|
|
36
36
|
...t
|
|
37
37
|
}) {
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
38
|
+
return /* @__PURE__ */ e.jsx(
|
|
39
|
+
r.Fallback,
|
|
40
40
|
{
|
|
41
41
|
"data-slot": "avatar-fallback",
|
|
42
|
-
className:
|
|
43
|
-
"bg-
|
|
42
|
+
className: l(
|
|
43
|
+
"bg-muted flex size-full items-center justify-center rounded-full",
|
|
44
44
|
a
|
|
45
45
|
),
|
|
46
46
|
...t
|
|
@@ -48,7 +48,7 @@ function m({
|
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
m as Avatar,
|
|
52
|
+
u as AvatarFallback,
|
|
53
|
+
n as AvatarImage
|
|
54
54
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as i } from "../../_virtual/jsx-runtime.js";
|
|
2
2
|
import "react";
|
|
3
3
|
import { Slot as n } from "@radix-ui/react-slot";
|
|
4
4
|
import { cva as s } from "../../node_modules/class-variance-authority/dist/index.js";
|
|
5
5
|
import { cn as g } from "../../lib/utils.js";
|
|
6
6
|
const l = s(
|
|
7
|
-
"inline-flex items-center justify-center rounded-
|
|
7
|
+
"inline-flex items-center justify-center rounded-md border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 gap-1 [&>svg]:pointer-events-none focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px] aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive transition-[color,box-shadow] overflow-hidden",
|
|
8
8
|
{
|
|
9
9
|
variants: {
|
|
10
10
|
variant: {
|
|
@@ -12,11 +12,11 @@ const l = s(
|
|
|
12
12
|
secondary: "border-transparent bg-secondary text-secondary-foreground [a&]:hover:bg-secondary/90",
|
|
13
13
|
destructive: "border-transparent bg-destructive text-white [a&]:hover:bg-destructive/90 focus-visible:ring-destructive/20 dark:focus-visible:ring-destructive/40 dark:bg-destructive/60",
|
|
14
14
|
outline: "text-foreground [a&]:hover:bg-accent [a&]:hover:text-accent-foreground",
|
|
15
|
-
error: "border-transparent bg-rose-600-10 text-rose-600 [a&]:hover:
|
|
16
|
-
warning: "border-transparent bg-yellow-500-10 text-yellow-500 [a&]:hover:
|
|
17
|
-
info: "border-transparent bg-blue-600-10 text-blue-600 [a&]:hover:
|
|
18
|
-
success: "border-transparent bg-green-600-10 text-green-600 [a&]:hover:
|
|
19
|
-
alert: "border-transparent bg-orange-600-10 text-orange-600 [a&]:hover:
|
|
15
|
+
error: "border-transparent bg-gradient-to-r from-rose-600/10 to-rose-600/10 text-rose-600 [a&]:hover:from-rose-600/20 [a&]:hover:to-rose-600/20 focus-visible:ring-rose-600/20 dark:from-rose-600/10 dark:to-rose-600/10 dark:focus-visible:ring-rose-600/40 [&>svg]:fill-rose-600",
|
|
16
|
+
warning: "border-transparent bg-gradient-to-r from-yellow-500/10 to-yellow-500/10 text-yellow-500 [a&]:hover:from-yellow-500/20 [a&]:hover:to-yellow-500/20 focus-visible:ring-yellow-500/20 dark:from-yellow-500/10 dark:to-yellow-500/10 dark:focus-visible:ring-yellow-500/40 [&>svg]:fill-yellow-500",
|
|
17
|
+
info: "border-transparent bg-gradient-to-r from-blue-600/10 to-blue-600/10 text-blue-600 [a&]:hover:from-blue-600/20 [a&]:hover:to-blue-600/20 focus-visible:ring-blue-600/20 dark:from-blue-600/10 dark:to-blue-600/10 dark:focus-visible:ring-blue-600/40 [&>svg]:fill-blue-600",
|
|
18
|
+
success: "border-transparent bg-gradient-to-r from-green-600/10 to-green-600/10 text-green-600 [a&]:hover:from-green-600/20 [a&]:hover:to-green-600/20 focus-visible:ring-green-600/20 dark:from-green-600/10 dark:to-green-600/10 dark:focus-visible:ring-green-600/40 [&>svg]:fill-green-600",
|
|
19
|
+
alert: "border-transparent bg-gradient-to-r from-orange-600/10 to-orange-600/10 text-orange-600 [a&]:hover:from-orange-600/20 [a&]:hover:to-orange-600/20 focus-visible:ring-orange-600/20 dark:from-orange-600/10 dark:to-orange-600/10 dark:focus-visible:ring-orange-600/40 [&>svg]:fill-orange-600"
|
|
20
20
|
}
|
|
21
21
|
},
|
|
22
22
|
defaultVariants: {
|
|
@@ -24,23 +24,23 @@ const l = s(
|
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
26
|
);
|
|
27
|
-
function
|
|
27
|
+
function c({
|
|
28
28
|
className: r,
|
|
29
29
|
variant: e,
|
|
30
|
-
asChild:
|
|
31
|
-
...
|
|
30
|
+
asChild: o = !1,
|
|
31
|
+
...t
|
|
32
32
|
}) {
|
|
33
|
-
const
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
-
|
|
33
|
+
const a = o ? n : "span";
|
|
34
|
+
return /* @__PURE__ */ i.jsx(
|
|
35
|
+
a,
|
|
36
36
|
{
|
|
37
37
|
"data-slot": "badge",
|
|
38
38
|
className: g(l({ variant: e }), r),
|
|
39
|
-
...
|
|
39
|
+
...t
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
export {
|
|
44
|
-
|
|
44
|
+
c as Badge,
|
|
45
45
|
l as badgeVariants
|
|
46
46
|
};
|
|
@@ -3,7 +3,7 @@ import * as d from "react";
|
|
|
3
3
|
import { cva as i } from "../../node_modules/class-variance-authority/dist/index.js";
|
|
4
4
|
import { cn as o } from "../../lib/utils.js";
|
|
5
5
|
const n = i(
|
|
6
|
-
"rounded-xl border bg-
|
|
6
|
+
"rounded-xl border bg-card text-card-foreground",
|
|
7
7
|
{
|
|
8
8
|
variants: {
|
|
9
9
|
variant: {
|
|
@@ -15,7 +15,7 @@ const n = i(
|
|
|
15
15
|
variant: "default"
|
|
16
16
|
}
|
|
17
17
|
}
|
|
18
|
-
),
|
|
18
|
+
), f = d.forwardRef(
|
|
19
19
|
({ className: a, variant: r, ...e }, s) => /* @__PURE__ */ t.jsx(
|
|
20
20
|
"div",
|
|
21
21
|
{
|
|
@@ -25,8 +25,8 @@ const n = i(
|
|
|
25
25
|
}
|
|
26
26
|
)
|
|
27
27
|
);
|
|
28
|
-
|
|
29
|
-
const
|
|
28
|
+
f.displayName = "Card";
|
|
29
|
+
const m = d.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t.jsx(
|
|
30
30
|
"div",
|
|
31
31
|
{
|
|
32
32
|
ref: e,
|
|
@@ -34,7 +34,7 @@ const f = d.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t.jsx(
|
|
|
34
34
|
...r
|
|
35
35
|
}
|
|
36
36
|
));
|
|
37
|
-
|
|
37
|
+
m.displayName = "CardHeader";
|
|
38
38
|
const c = d.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t.jsx(
|
|
39
39
|
"div",
|
|
40
40
|
{
|
|
@@ -68,10 +68,10 @@ const x = d.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t.jsx(
|
|
|
68
68
|
));
|
|
69
69
|
x.displayName = "CardFooter";
|
|
70
70
|
export {
|
|
71
|
-
|
|
71
|
+
f as Card,
|
|
72
72
|
p as CardContent,
|
|
73
73
|
l as CardDescription,
|
|
74
74
|
x as CardFooter,
|
|
75
|
-
|
|
75
|
+
m as CardHeader,
|
|
76
76
|
c as CardTitle
|
|
77
77
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface DatePickerProps {
|
|
2
2
|
date?: Date;
|
|
3
|
-
|
|
3
|
+
onDateChange?: (date: Date | undefined) => void;
|
|
4
4
|
placeholder?: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
className?: string;
|
|
@@ -14,4 +14,4 @@ export interface DatePickerProps {
|
|
|
14
14
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
15
15
|
id?: string;
|
|
16
16
|
}
|
|
17
|
-
export declare function DatePicker({ date,
|
|
17
|
+
export declare function DatePicker({ date, onDateChange, placeholder, disabled, className, iconPosition, minDate, maxDate, dateFormat, label, error, description, orientation, id, }: DatePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -10,7 +10,7 @@ import B from "../../node_modules/lucide-react/dist/esm/icons/chevron-down.js";
|
|
|
10
10
|
import { formatDate as S } from "../../node_modules/date-fns/format.js";
|
|
11
11
|
function O({
|
|
12
12
|
date: s,
|
|
13
|
-
|
|
13
|
+
onDateChange: f,
|
|
14
14
|
placeholder: x = "Pick a date",
|
|
15
15
|
disabled: p = !1,
|
|
16
16
|
className: n,
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { DateRange } from 'react-day-picker';
|
|
2
2
|
export interface DateRangePickerProps {
|
|
3
3
|
dateRange?: DateRange;
|
|
4
|
-
|
|
4
|
+
onDateRangeChange?: (range: DateRange | undefined) => void;
|
|
5
5
|
placeholder?: string;
|
|
6
6
|
disabled?: boolean;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function DateRangePicker({ dateRange,
|
|
9
|
+
export declare function DateRangePicker({ dateRange, onDateRangeChange, placeholder, disabled, className, }: DateRangePickerProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -8,7 +8,7 @@ import p from "../../node_modules/lucide-react/dist/esm/icons/calendar.js";
|
|
|
8
8
|
import { formatDate as t } from "../../node_modules/date-fns/format.js";
|
|
9
9
|
function v({
|
|
10
10
|
dateRange: o,
|
|
11
|
-
|
|
11
|
+
onDateRangeChange: e,
|
|
12
12
|
placeholder: s = "Pick a date range",
|
|
13
13
|
disabled: m = !1,
|
|
14
14
|
className: i
|
|
@@ -22,7 +22,7 @@ function d({
|
|
|
22
22
|
{
|
|
23
23
|
"data-slot": "dialog-overlay",
|
|
24
24
|
className: s(
|
|
25
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-
|
|
25
|
+
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 fixed inset-0 z-50 bg-black/50",
|
|
26
26
|
t
|
|
27
27
|
),
|
|
28
28
|
...e
|
|
@@ -42,7 +42,7 @@ function p({
|
|
|
42
42
|
{
|
|
43
43
|
"data-slot": "dialog-content",
|
|
44
44
|
className: s(
|
|
45
|
-
"bg-background 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 fixed top-[50%] left-[50%] z-
|
|
45
|
+
"bg-background 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 fixed top-[50%] left-[50%] z-50 grid w-full max-w-[calc(100%-2rem)] translate-x-[-50%] translate-y-[-50%] gap-4 rounded-lg border p-6 shadow-lg duration-200 sm:max-w-lg",
|
|
46
46
|
t
|
|
47
47
|
),
|
|
48
48
|
...i,
|