@yuno-payments/dashboard-design-system 0.0.170 → 0.0.172
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 +16 -0
- package/dist/components/atoms/accordion/accordion.d.ts +66 -0
- package/dist/components/atoms/alert/alert.d.ts +26 -1
- package/dist/components/atoms/alert/alert.js +9 -8
- package/dist/components/atoms/avatar/avatar-group.d.ts +28 -0
- package/dist/components/atoms/avatar/avatar.d.ts +25 -0
- package/dist/components/atoms/avatar/avatar.js +9 -9
- package/dist/components/atoms/badge/badge.d.ts +30 -2
- package/dist/components/atoms/badge/badge.js +27 -11
- package/dist/components/atoms/button/button.d.ts +44 -0
- package/dist/components/atoms/card/card.d.ts +137 -3
- package/dist/components/atoms/card/card.js +56 -28
- package/dist/components/atoms/checkbox/checkbox.d.ts +38 -2
- package/dist/components/atoms/checkbox/checkbox.js +61 -27
- package/dist/components/atoms/combobox/combobox.d.ts +18 -0
- package/dist/components/atoms/combobox/combobox.js +41 -41
- package/dist/components/atoms/combobox/types.d.ts +90 -1
- package/dist/components/atoms/currency-field/currency-field.d.ts +38 -0
- package/dist/components/atoms/currency-field/currency-field.js +22 -19
- package/dist/components/atoms/date-picker/date-picker.d.ts +15 -0
- package/dist/components/atoms/date-range-picker/date-range-picker.d.ts +15 -0
- package/dist/components/atoms/dots-menu/dots-menu.d.ts +16 -0
- package/dist/components/atoms/dots-menu/dots-menu.js +8 -8
- package/dist/components/atoms/dots-menu/dots-menu.types.d.ts +52 -0
- package/dist/components/atoms/dropdown-menu/dropdown-menu.d.ts +50 -0
- package/dist/components/atoms/field/field.d.ts +55 -0
- package/dist/components/atoms/field/field.js +53 -46
- package/dist/components/atoms/filter/filter-date-range.d.ts +12 -2
- package/dist/components/atoms/filter/filter-date-range.js +203 -168
- package/dist/components/atoms/filter/filter.d.ts +6 -0
- package/dist/components/atoms/filter/filter.js +91 -76
- package/dist/components/atoms/filter/index.d.ts +1 -1
- package/dist/components/atoms/filter-dropdown/filter-dropdown.d.ts +208 -2
- package/dist/components/atoms/filter-dropdown/filter-dropdown.js +214 -160
- package/dist/components/atoms/icon/aida-logo.d.ts +3 -0
- package/dist/components/atoms/icon/aida-logo.js +64 -0
- package/dist/components/atoms/icon/icon-list.d.ts +5 -0
- package/dist/components/atoms/icon/icon-list.js +394 -384
- package/dist/components/atoms/icon/icon.d.ts +29 -0
- package/dist/components/atoms/index.d.ts +3 -2
- package/dist/components/atoms/label/index.d.ts +1 -1
- package/dist/components/atoms/label/label.d.ts +11 -0
- package/dist/components/atoms/label/label.js +28 -0
- package/dist/components/atoms/link/link.d.ts +20 -0
- package/dist/components/atoms/loading/index.d.ts +1 -0
- package/dist/components/atoms/loading/loading.d.ts +39 -0
- package/dist/components/atoms/loading/loading.js +37 -0
- 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 +16 -0
- package/dist/components/atoms/multi-values-field/multi-values-field.js +109 -87
- package/dist/components/atoms/multi-values-field/multi-values-field.types.d.ts +81 -0
- package/dist/components/atoms/otp-field/otp-field.d.ts +32 -0
- package/dist/components/atoms/password-field/password-field.d.ts +23 -0
- package/dist/components/atoms/password-field/password-field.js +1 -1
- package/dist/components/atoms/progress/progress.d.ts +15 -0
- package/dist/components/atoms/protected-field/protected-field.d.ts +10 -0
- package/dist/components/atoms/protected-field/protected-field.types.d.ts +14 -0
- package/dist/components/atoms/radio-group/radio-group-option.js +11 -11
- package/dist/components/atoms/radio-group/radio-group.d.ts +50 -1
- package/dist/components/atoms/radio-group/radio-group.js +13 -12
- package/dist/components/atoms/search-field/search-field.d.ts +14 -0
- package/dist/components/atoms/search-field/search-field.js +17 -17
- package/dist/components/atoms/search-field/search-field.types.d.ts +57 -0
- package/dist/components/atoms/select/index.d.ts +2 -0
- package/dist/components/atoms/select/search-select.d.ts +22 -0
- package/dist/components/atoms/select/search-select.js +201 -0
- package/dist/components/atoms/select/select.d.ts +83 -1
- package/dist/components/atoms/select/select.js +21 -21
- package/dist/components/atoms/separator/separator.d.ts +17 -0
- package/dist/components/atoms/skeleton/index.d.ts +9 -0
- package/dist/components/atoms/switch/switch.d.ts +56 -2
- package/dist/components/atoms/switch/switch.js +64 -32
- package/dist/components/atoms/tabs/index.d.ts +16 -0
- package/dist/components/atoms/textarea/textarea.d.ts +32 -0
- package/dist/components/atoms/textarea/textarea.js +1 -1
- package/dist/components/atoms/time-picker/time-picker.d.ts +73 -2
- package/dist/components/atoms/time-picker/time-picker.js +218 -3
- package/dist/components/atoms/toaster/index.d.ts +15 -0
- package/dist/components/atoms/toggle-group/toggle-group.d.ts +26 -1
- package/dist/components/atoms/toggle-group/toggle-group.js +15 -14
- package/dist/components/atoms/tooltip/tooltip.d.ts +53 -2
- package/dist/components/atoms/typography/typography.d.ts +18 -0
- package/dist/components/molecules/breadcrumb/breadcrumb.d.ts +50 -0
- package/dist/components/molecules/breadcrumb/breadcrumb.js +17 -17
- package/dist/components/molecules/dialog-content/dialog-content.d.ts +16 -0
- package/dist/components/molecules/dialog-footer/dialog-footer.d.ts +20 -0
- package/dist/components/molecules/dialog-header/dialog-header.d.ts +31 -0
- package/dist/components/molecules/empty/empty-icon.js +6 -6
- package/dist/components/molecules/empty/empty.d.ts +16 -1
- package/dist/components/molecules/empty/empty.js +37 -34
- package/dist/components/molecules/highlight-banner/highlight-banner.d.ts +17 -0
- package/dist/components/molecules/pagination/pagination.d.ts +49 -0
- package/dist/components/organisms/data-table/components/cells/data-table-list-cell.d.ts +41 -0
- 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 +18 -0
- 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 +18 -0
- package/dist/components/organisms/data-table/components/data-table-header.d.ts +12 -0
- 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 +24 -0
- package/dist/components/organisms/data-table/components/states/data-table-loading.js +6 -6
- package/dist/components/organisms/data-table/data-table.d.ts +133 -4
- package/dist/components/organisms/data-table/data-table.js +132 -100
- package/dist/components/organisms/data-table/data-table.types.d.ts +35 -26
- package/dist/components/organisms/data-table/hooks/use-data-table-columns.js +57 -41
- package/dist/components/organisms/data-table/hooks/use-data-table-state.d.ts +8 -2
- package/dist/components/organisms/data-table/hooks/use-data-table-state.js +82 -47
- package/dist/components/organisms/data-table/utils/data-table-constants.d.ts +8 -2
- package/dist/components/organisms/data-table/utils/data-table-constants.js +16 -10
- package/dist/components/organisms/data-table/utils/data-table-styles.d.ts +1652 -0
- package/dist/components/organisms/data-table/utils/data-table-styles.js +29 -14
- package/dist/components/organisms/dialog/dialog.d.ts +67 -1
- package/dist/components/organisms/dialog/dialog.js +78 -61
- package/dist/components/organisms/index.d.ts +2 -0
- package/dist/components/organisms/sheet/sheet.d.ts +69 -0
- package/dist/components/organisms/sheet/sheet.js +34 -33
- package/dist/components/organisms/tutorial/index.d.ts +2 -0
- package/dist/components/organisms/tutorial/tutorial.d.ts +16 -0
- package/dist/components/organisms/tutorial/tutorial.js +114 -0
- package/dist/components/organisms/tutorial/tutorial.types.d.ts +15 -0
- package/dist/hooks/index.d.ts +3 -0
- package/dist/hooks/use-body-scroll-lock.d.ts +13 -0
- package/dist/hooks/use-escape-key.d.ts +14 -0
- package/dist/hooks/use-media-query.d.ts +20 -0
- package/dist/hooks/use-media-query.js +21 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.js +173 -162
- package/dist/lib/notification-alert.d.ts +42 -0
- package/dist/lib/notification-alert.js +75 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/File.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Microphone.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Stop.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/csr/Table.es.js +8 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/File.es.js +30 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Microphone.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Stop.es.js +36 -0
- package/dist/node_modules/@phosphor-icons/react/dist/defs/Table.es.js +30 -0
- 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 +26 -1
- package/dist/vendor/shadcn/sonner.js +12 -8
- package/dist/vendor/shadcn/table.js +30 -30
- package/dist/vendor/shadcn/textarea.js +9 -9
- package/dist/vendor/shadcn/time-picker.d.ts +1 -2
- package/dist/vendor/shadcn/time-picker.js +17 -23
- package/dist/vendor/shadcn/toggle.js +13 -13
- package/dist/vendor/shadcn/tooltip.js +25 -15
- package/package.json +1 -1
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as H from "react";
|
|
2
|
+
const e = /* @__PURE__ */ new Map([
|
|
3
|
+
[
|
|
4
|
+
"bold",
|
|
5
|
+
/* @__PURE__ */ H.createElement(H.Fragment, null, /* @__PURE__ */ H.createElement("path", { d: "M224,44H32A12,12,0,0,0,20,56V192a20,20,0,0,0,20,20H216a20,20,0,0,0,20-20V56A12,12,0,0,0,224,44ZM44,116H76v24H44Zm56,0H212v24H100ZM212,68V92H44V68ZM44,164H76v24H44Zm56,24V164H212v24Z" }))
|
|
6
|
+
],
|
|
7
|
+
[
|
|
8
|
+
"duotone",
|
|
9
|
+
/* @__PURE__ */ H.createElement(H.Fragment, null, /* @__PURE__ */ H.createElement("path", { d: "M88,104v96H32V104Z", opacity: "0.2" }), /* @__PURE__ */ H.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
10
|
+
],
|
|
11
|
+
[
|
|
12
|
+
"fill",
|
|
13
|
+
/* @__PURE__ */ H.createElement(H.Fragment, null, /* @__PURE__ */ H.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
14
|
+
],
|
|
15
|
+
[
|
|
16
|
+
"light",
|
|
17
|
+
/* @__PURE__ */ H.createElement(H.Fragment, null, /* @__PURE__ */ H.createElement("path", { d: "M224,50H32a6,6,0,0,0-6,6V192a14,14,0,0,0,14,14H216a14,14,0,0,0,14-14V56A6,6,0,0,0,224,50ZM38,110H82v36H38Zm56,0H218v36H94ZM218,62V98H38V62ZM38,192V158H82v36H40A2,2,0,0,1,38,192Zm178,2H94V158H218v34A2,2,0,0,1,216,194Z" }))
|
|
18
|
+
],
|
|
19
|
+
[
|
|
20
|
+
"regular",
|
|
21
|
+
/* @__PURE__ */ H.createElement(H.Fragment, null, /* @__PURE__ */ H.createElement("path", { d: "M224,48H32a8,8,0,0,0-8,8V192a16,16,0,0,0,16,16H216a16,16,0,0,0,16-16V56A8,8,0,0,0,224,48ZM40,112H80v32H40Zm56,0H216v32H96ZM216,64V96H40V64ZM40,160H80v32H40Zm176,32H96V160H216v32Z" }))
|
|
22
|
+
],
|
|
23
|
+
[
|
|
24
|
+
"thin",
|
|
25
|
+
/* @__PURE__ */ H.createElement(H.Fragment, null, /* @__PURE__ */ H.createElement("path", { d: "M224,52H32a4,4,0,0,0-4,4V192a12,12,0,0,0,12,12H216a12,12,0,0,0,12-12V56A4,4,0,0,0,224,52ZM36,108H84v40H36Zm56,0H220v40H92ZM220,60v40H36V60ZM36,192V156H84v40H40A4,4,0,0,1,36,192Zm180,4H92V156H220v36A4,4,0,0,1,216,196Z" }))
|
|
26
|
+
]
|
|
27
|
+
]);
|
|
28
|
+
export {
|
|
29
|
+
e as default
|
|
30
|
+
};
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as r } from "../../_virtual/jsx-runtime.js";
|
|
2
2
|
import "react";
|
|
3
|
-
import * as
|
|
4
|
-
import { cn as
|
|
5
|
-
function
|
|
3
|
+
import * as e from "@radix-ui/react-avatar";
|
|
4
|
+
import { cn as s } from "../../lib/utils.js";
|
|
5
|
+
function n({
|
|
6
6
|
className: a,
|
|
7
7
|
...t
|
|
8
8
|
}) {
|
|
9
|
-
return /* @__PURE__ */
|
|
10
|
-
|
|
9
|
+
return /* @__PURE__ */ r.jsx(
|
|
10
|
+
e.Root,
|
|
11
11
|
{
|
|
12
12
|
"data-slot": "avatar",
|
|
13
|
-
className:
|
|
13
|
+
className: s(
|
|
14
14
|
"relative flex size-8 shrink-0 overflow-hidden rounded-full",
|
|
15
15
|
a
|
|
16
16
|
),
|
|
@@ -18,29 +18,29 @@ function m({
|
|
|
18
18
|
}
|
|
19
19
|
);
|
|
20
20
|
}
|
|
21
|
-
function
|
|
21
|
+
function f({
|
|
22
22
|
className: a,
|
|
23
23
|
...t
|
|
24
24
|
}) {
|
|
25
|
-
return /* @__PURE__ */
|
|
26
|
-
|
|
25
|
+
return /* @__PURE__ */ r.jsx(
|
|
26
|
+
e.Image,
|
|
27
27
|
{
|
|
28
28
|
"data-slot": "avatar-image",
|
|
29
|
-
className:
|
|
29
|
+
className: s("aspect-square size-full", a),
|
|
30
30
|
...t
|
|
31
31
|
}
|
|
32
32
|
);
|
|
33
33
|
}
|
|
34
|
-
function
|
|
34
|
+
function m({
|
|
35
35
|
className: a,
|
|
36
36
|
...t
|
|
37
37
|
}) {
|
|
38
|
-
return /* @__PURE__ */
|
|
39
|
-
|
|
38
|
+
return /* @__PURE__ */ r.jsx(
|
|
39
|
+
e.Fallback,
|
|
40
40
|
{
|
|
41
41
|
"data-slot": "avatar-fallback",
|
|
42
|
-
className:
|
|
43
|
-
"bg-
|
|
42
|
+
className: s(
|
|
43
|
+
"bg-surface flex size-full items-center justify-center rounded-full",
|
|
44
44
|
a
|
|
45
45
|
),
|
|
46
46
|
...t
|
|
@@ -48,7 +48,7 @@ function u({
|
|
|
48
48
|
);
|
|
49
49
|
}
|
|
50
50
|
export {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
51
|
+
n as Avatar,
|
|
52
|
+
m as AvatarFallback,
|
|
53
|
+
f as AvatarImage
|
|
54
54
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as a } 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-lg border px-2 py-0.5 text-xs font-medium w-fit whitespace-nowrap shrink-0 [&>svg]:size-3 cursor-default 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-
|
|
16
|
-
warning: "border-transparent bg-
|
|
17
|
-
info: "border-transparent bg-
|
|
18
|
-
success: "border-transparent bg-
|
|
19
|
-
alert: "border-transparent bg-
|
|
15
|
+
error: "border-transparent bg-rose-600-10 text-rose-600 [a&]:hover:bg-rose-600-20 focus-visible:ring-rose-600-20 dark:bg-rose-600-10 dark:text-rose-600 dark:focus-visible:ring-rose-600-40 [&>svg]:fill-rose-600",
|
|
16
|
+
warning: "border-transparent bg-yellow-500-10 text-yellow-500 [a&]:hover:bg-yellow-500-20 focus-visible:ring-yellow-500-20 dark:bg-yellow-500-10 dark:text-yellow-500 dark:focus-visible:ring-yellow-500-40 [&>svg]:fill-yellow-500",
|
|
17
|
+
info: "border-transparent bg-blue-600-10 text-blue-600 [a&]:hover:bg-blue-600-20 focus-visible:ring-blue-600-20 dark:bg-blue-600-10 dark:text-blue-600 dark:focus-visible:ring-blue-600-40 [&>svg]:fill-blue-600",
|
|
18
|
+
success: "border-transparent bg-green-600-10 text-green-600 [a&]:hover:bg-green-600-20 focus-visible:ring-green-600-20 dark:bg-green-600-10 dark:text-green-600 dark:focus-visible:ring-green-600-40 [&>svg]:fill-green-600",
|
|
19
|
+
alert: "border-transparent bg-orange-600-10 text-orange-600 [a&]:hover:bg-orange-600-20 focus-visible:ring-orange-600-20 dark:bg-orange-600-10 dark:text-orange-600 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 f({
|
|
28
28
|
className: r,
|
|
29
29
|
variant: e,
|
|
30
|
-
asChild:
|
|
31
|
-
...
|
|
30
|
+
asChild: t = !1,
|
|
31
|
+
...o
|
|
32
32
|
}) {
|
|
33
|
-
const
|
|
34
|
-
return /* @__PURE__ */
|
|
35
|
-
|
|
33
|
+
const i = t ? n : "span";
|
|
34
|
+
return /* @__PURE__ */ a.jsx(
|
|
35
|
+
i,
|
|
36
36
|
{
|
|
37
37
|
"data-slot": "badge",
|
|
38
38
|
className: g(l({ variant: e }), r),
|
|
39
|
-
...
|
|
39
|
+
...o
|
|
40
40
|
}
|
|
41
41
|
);
|
|
42
42
|
}
|
|
43
43
|
export {
|
|
44
|
-
|
|
44
|
+
f 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-muted 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
|
+
), m = 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
|
+
m.displayName = "Card";
|
|
29
|
+
const f = d.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t.jsx(
|
|
30
30
|
"div",
|
|
31
31
|
{
|
|
32
32
|
ref: e,
|
|
@@ -34,7 +34,7 @@ const m = d.forwardRef(({ className: a, ...r }, e) => /* @__PURE__ */ t.jsx(
|
|
|
34
34
|
...r
|
|
35
35
|
}
|
|
36
36
|
));
|
|
37
|
-
|
|
37
|
+
f.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
|
+
m as Card,
|
|
72
72
|
p as CardContent,
|
|
73
73
|
l as CardDescription,
|
|
74
74
|
x as CardFooter,
|
|
75
|
-
|
|
75
|
+
f as CardHeader,
|
|
76
76
|
c as CardTitle
|
|
77
77
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
export interface DatePickerProps {
|
|
2
2
|
date?: Date;
|
|
3
|
-
|
|
3
|
+
onChange?: (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, onChange, 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
|
+
onChange: 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
|
+
onChange?: (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, onChange, 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
|
+
onChange: 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-[1000] 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-[1000] 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,
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { j as n } from "../../_virtual/jsx-runtime.js";
|
|
2
|
-
import * as
|
|
2
|
+
import * as a from "react";
|
|
3
3
|
import { cva as i } from "../../node_modules/class-variance-authority/dist/index.js";
|
|
4
|
-
import { cn as
|
|
4
|
+
import { cn as e } from "../../lib/utils.js";
|
|
5
5
|
import { Input as u } from "./input.js";
|
|
6
6
|
import { Textarea as p } from "./textarea.js";
|
|
7
7
|
import { Button as d } from "./button.js";
|
|
8
|
-
const l =
|
|
8
|
+
const l = a.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n.jsx(
|
|
9
9
|
"div",
|
|
10
10
|
{
|
|
11
11
|
ref: o,
|
|
12
|
-
className:
|
|
13
|
-
"flex min-w-0 w-full rounded-md border border-input bg-
|
|
12
|
+
className: e(
|
|
13
|
+
"flex min-w-0 w-full rounded-md border border-input bg-background shadow-xs overflow-hidden",
|
|
14
14
|
"has-[[data-slot=input-group-control]:focus-visible]:border-ring has-[[data-slot=input-group-control]:focus-visible]:ring-ring/50 has-[[data-slot=input-group-control]:focus-visible]:ring-[3px]",
|
|
15
15
|
"has-[[data-slot=input-group-control][aria-invalid='true']]:border-destructive has-[[data-slot=input-group-control][aria-invalid='true']]:ring-destructive/20 dark:has-[[data-slot=input-group-control][aria-invalid='true']]:ring-destructive/40",
|
|
16
16
|
t
|
|
@@ -19,11 +19,11 @@ const l = e.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n.jsx(
|
|
|
19
19
|
}
|
|
20
20
|
));
|
|
21
21
|
l.displayName = "InputGroup";
|
|
22
|
-
const c =
|
|
22
|
+
const c = a.forwardRef(({ className: t, align: r = "inline-start", ...o }, s) => /* @__PURE__ */ n.jsx(
|
|
23
23
|
"div",
|
|
24
24
|
{
|
|
25
25
|
ref: s,
|
|
26
|
-
className:
|
|
26
|
+
className: e(
|
|
27
27
|
"flex items-center gap-1.5 h-9 shrink-0",
|
|
28
28
|
r === "inline-start" && "order-first pl-3",
|
|
29
29
|
r === "inline-end" && "order-last pr-3",
|
|
@@ -35,12 +35,12 @@ const c = e.forwardRef(({ className: t, align: r = "inline-start", ...o }, s) =>
|
|
|
35
35
|
}
|
|
36
36
|
));
|
|
37
37
|
c.displayName = "InputGroupAddon";
|
|
38
|
-
const f =
|
|
38
|
+
const f = a.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n.jsx(
|
|
39
39
|
u,
|
|
40
40
|
{
|
|
41
41
|
ref: o,
|
|
42
42
|
"data-slot": "input-group-control",
|
|
43
|
-
className:
|
|
43
|
+
className: e(
|
|
44
44
|
"flex-1 min-w-0 border-0 shadow-none rounded-none bg-transparent",
|
|
45
45
|
"focus-visible:ring-0 focus-visible:border-0",
|
|
46
46
|
"aria-invalid:border-0 aria-invalid:ring-0",
|
|
@@ -50,12 +50,12 @@ const f = e.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n.jsx(
|
|
|
50
50
|
}
|
|
51
51
|
));
|
|
52
52
|
f.displayName = "InputGroupInput";
|
|
53
|
-
const m =
|
|
53
|
+
const m = a.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n.jsx(
|
|
54
54
|
p,
|
|
55
55
|
{
|
|
56
56
|
ref: o,
|
|
57
57
|
"data-slot": "input-group-control",
|
|
58
|
-
className:
|
|
58
|
+
className: e(
|
|
59
59
|
"flex-1 min-w-0 border-0 shadow-none rounded-none bg-transparent",
|
|
60
60
|
"focus-visible:ring-0 focus-visible:border-0",
|
|
61
61
|
t
|
|
@@ -64,11 +64,11 @@ const m = e.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n.jsx(
|
|
|
64
64
|
}
|
|
65
65
|
));
|
|
66
66
|
m.displayName = "InputGroupTextarea";
|
|
67
|
-
const x =
|
|
67
|
+
const x = a.forwardRef(({ className: t, ...r }, o) => /* @__PURE__ */ n.jsx(
|
|
68
68
|
"span",
|
|
69
69
|
{
|
|
70
70
|
ref: o,
|
|
71
|
-
className:
|
|
71
|
+
className: e(
|
|
72
72
|
"text-sm text-muted-foreground whitespace-nowrap",
|
|
73
73
|
t
|
|
74
74
|
),
|
|
@@ -91,19 +91,19 @@ const b = i(
|
|
|
91
91
|
size: "sm"
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
|
-
),
|
|
94
|
+
), g = a.forwardRef(({ className: t, size: r, ...o }, s) => /* @__PURE__ */ n.jsx(
|
|
95
95
|
d,
|
|
96
96
|
{
|
|
97
97
|
ref: s,
|
|
98
|
-
className:
|
|
98
|
+
className: e(b({ size: r }), t),
|
|
99
99
|
...o
|
|
100
100
|
}
|
|
101
101
|
));
|
|
102
|
-
|
|
102
|
+
g.displayName = "InputGroupButton";
|
|
103
103
|
export {
|
|
104
104
|
l as InputGroup,
|
|
105
105
|
c as InputGroupAddon,
|
|
106
|
-
|
|
106
|
+
g as InputGroupButton,
|
|
107
107
|
f as InputGroupInput,
|
|
108
108
|
x as InputGroupText,
|
|
109
109
|
m as InputGroupTextarea
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { j as
|
|
1
|
+
import { j as t } from "../../_virtual/jsx-runtime.js";
|
|
2
2
|
import * as n from "react";
|
|
3
3
|
import { cn as a } from "../../lib/utils.js";
|
|
4
|
-
const
|
|
5
|
-
({ className: e, type: r, ...i },
|
|
4
|
+
const d = n.forwardRef(
|
|
5
|
+
({ className: e, type: r, ...i }, o) => /* @__PURE__ */ t.jsx(
|
|
6
6
|
"input",
|
|
7
7
|
{
|
|
8
8
|
type: r,
|
|
9
|
-
ref:
|
|
9
|
+
ref: o,
|
|
10
10
|
"data-slot": "input",
|
|
11
11
|
className: a(
|
|
12
|
-
"font-normal file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-
|
|
12
|
+
"font-normal file:text-foreground placeholder:text-muted-foreground selection:bg-primary selection:text-primary-foreground dark:bg-input/30 border-input flex h-9 w-full min-w-0 rounded-md border bg-background px-3 py-1 text-base shadow-xs transition-[color,box-shadow] outline-none file:inline-flex file:h-7 file:border-0 file:bg-transparent file:text-sm file:font-normal disabled:pointer-events-none disabled:cursor-not-allowed disabled:opacity-50 text-sm",
|
|
13
13
|
"focus-visible:border-ring focus-visible:ring-ring/50 focus-visible:ring-[3px]",
|
|
14
14
|
"aria-invalid:ring-destructive/20 dark:aria-invalid:ring-destructive/40 aria-invalid:border-destructive",
|
|
15
15
|
e
|
|
@@ -18,7 +18,7 @@ const l = n.forwardRef(
|
|
|
18
18
|
}
|
|
19
19
|
)
|
|
20
20
|
);
|
|
21
|
-
|
|
21
|
+
d.displayName = "Input";
|
|
22
22
|
export {
|
|
23
|
-
|
|
23
|
+
d as Input
|
|
24
24
|
};
|
|
@@ -9,7 +9,7 @@ const l = o.Root, c = o.Trigger, m = s.forwardRef(({ className: e, align: a = "c
|
|
|
9
9
|
align: a,
|
|
10
10
|
sideOffset: r,
|
|
11
11
|
className: n(
|
|
12
|
-
"z-
|
|
12
|
+
"z-popover w-72 rounded-md border bg-popover p-4 text-popover-foreground shadow-md outline-none 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",
|
|
13
13
|
e
|
|
14
14
|
),
|
|
15
15
|
...d
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { j as t } from "../../_virtual/jsx-runtime.js";
|
|
2
2
|
import * as d from "react";
|
|
3
3
|
import * as e from "@radix-ui/react-select";
|
|
4
|
-
import { cn as o } from "../../lib/utils.js";
|
|
5
4
|
import { Icon as n } from "../../components/atoms/icon/icon.js";
|
|
5
|
+
import { cn as o } from "../../lib/utils.js";
|
|
6
6
|
const j = e.Root, N = e.Group, b = e.Value, p = d.forwardRef(({ className: s, children: r, ...a }, l) => /* @__PURE__ */ t.jsxs(
|
|
7
7
|
e.Trigger,
|
|
8
8
|
{
|
|
@@ -50,7 +50,7 @@ const f = d.forwardRef(({ className: s, children: r, position: a = "popper", ...
|
|
|
50
50
|
{
|
|
51
51
|
ref: m,
|
|
52
52
|
className: o(
|
|
53
|
-
"relative z-[
|
|
53
|
+
"relative z-[1100] max-h-96 min-w-[8rem] overflow-hidden rounded-md border border-border bg-popover p-1 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",
|
|
54
54
|
a === "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",
|
|
55
55
|
s
|
|
56
56
|
),
|
|
@@ -1,4 +1,29 @@
|
|
|
1
1
|
import { Toaster as Sonner } from 'sonner';
|
|
2
2
|
type ToasterProps = React.ComponentProps<typeof Sonner>;
|
|
3
|
-
|
|
3
|
+
interface ExtendedToasterProps extends Omit<ToasterProps, 'position'> {
|
|
4
|
+
position?: 'top-right' | 'top-left' | 'bottom-right' | 'bottom-left' | 'top-center' | 'bottom-center';
|
|
5
|
+
}
|
|
6
|
+
/**
|
|
7
|
+
* Toast notification container component (based on Sonner).
|
|
8
|
+
* Place once at root level to enable toast notifications globally.
|
|
9
|
+
*
|
|
10
|
+
* Supports both:
|
|
11
|
+
* - Simple toasts (bottom-center): toast.success('Message')
|
|
12
|
+
* - NotificationAlert toasts (top-right): showNotificationAlert({ mode: 'success', message: 'Message' })
|
|
13
|
+
*
|
|
14
|
+
* @example
|
|
15
|
+
* ```tsx
|
|
16
|
+
* // In root layout:
|
|
17
|
+
* <Toaster />
|
|
18
|
+
*
|
|
19
|
+
* // Simple toasts (appear at bottom-center):
|
|
20
|
+
* import { toast } from 'sonner';
|
|
21
|
+
* toast.success('Operation successful!');
|
|
22
|
+
*
|
|
23
|
+
* // NotificationAlert toasts (appear at top-right):
|
|
24
|
+
* import { showNotificationAlert } from '@yuno-payments/dashboard-design-system';
|
|
25
|
+
* showNotificationAlert({ mode: 'success', message: 'Operation successful!' });
|
|
26
|
+
* ```
|
|
27
|
+
*/
|
|
28
|
+
declare const Toaster: ({ position, ...props }: ExtendedToasterProps) => import("react/jsx-runtime").JSX.Element;
|
|
4
29
|
export { Toaster };
|
|
@@ -1,21 +1,25 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import { Toaster as
|
|
3
|
-
const
|
|
4
|
-
|
|
1
|
+
import { j as r } from "../../_virtual/jsx-runtime.js";
|
|
2
|
+
import { Toaster as e } from "sonner";
|
|
3
|
+
const u = ({ position: t = "bottom-center", ...o }) => /* @__PURE__ */ r.jsx(
|
|
4
|
+
e,
|
|
5
5
|
{
|
|
6
6
|
className: "toaster group",
|
|
7
|
-
position:
|
|
7
|
+
position: t,
|
|
8
8
|
toastOptions: {
|
|
9
9
|
classNames: {
|
|
10
|
-
toast: "group toast group-[.toaster]:bg-
|
|
10
|
+
toast: "group toast group-[.toaster]:bg-card group-[.toaster]:text-card-foreground group-[.toaster]:border group-[.toaster]:border-border group-[.toaster]:shadow-lg",
|
|
11
11
|
description: "group-[.toast]:text-muted-foreground",
|
|
12
12
|
actionButton: "group-[.toast]:bg-primary group-[.toast]:text-primary-foreground",
|
|
13
13
|
cancelButton: "group-[.toast]:bg-muted group-[.toast]:text-muted-foreground"
|
|
14
|
+
},
|
|
15
|
+
style: {
|
|
16
|
+
minWidth: "300px",
|
|
17
|
+
maxWidth: "420px"
|
|
14
18
|
}
|
|
15
19
|
},
|
|
16
|
-
...
|
|
20
|
+
...o
|
|
17
21
|
}
|
|
18
22
|
);
|
|
19
23
|
export {
|
|
20
|
-
|
|
24
|
+
u as Toaster
|
|
21
25
|
};
|
|
@@ -1,89 +1,89 @@
|
|
|
1
|
-
import { j as
|
|
2
|
-
import * as
|
|
1
|
+
import { j as t } from "../../_virtual/jsx-runtime.js";
|
|
2
|
+
import * as l from "react";
|
|
3
3
|
import { cn as r } from "../../lib/utils.js";
|
|
4
|
-
const s =
|
|
4
|
+
const s = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ t.jsx(
|
|
5
5
|
"table",
|
|
6
6
|
{
|
|
7
|
-
ref:
|
|
7
|
+
ref: o,
|
|
8
8
|
className: r("w-full caption-bottom text-sm", e),
|
|
9
9
|
...a
|
|
10
10
|
}
|
|
11
11
|
) }));
|
|
12
12
|
s.displayName = "Table";
|
|
13
|
-
const d =
|
|
13
|
+
const d = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx("thead", { ref: o, className: r("[&_tr]:border-b", e), ...a }));
|
|
14
14
|
d.displayName = "TableHeader";
|
|
15
|
-
const
|
|
15
|
+
const m = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
16
16
|
"tbody",
|
|
17
17
|
{
|
|
18
|
-
ref:
|
|
18
|
+
ref: o,
|
|
19
19
|
className: r("[&_tr:last-child]:border-0", e),
|
|
20
20
|
...a
|
|
21
21
|
}
|
|
22
22
|
));
|
|
23
|
-
|
|
24
|
-
const
|
|
23
|
+
m.displayName = "TableBody";
|
|
24
|
+
const b = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
25
25
|
"tfoot",
|
|
26
26
|
{
|
|
27
|
-
ref:
|
|
27
|
+
ref: o,
|
|
28
28
|
className: r(
|
|
29
|
-
"border-t bg-
|
|
29
|
+
"border-t bg-muted/50 font-medium [&>tr]:last:border-b-0",
|
|
30
30
|
e
|
|
31
31
|
),
|
|
32
32
|
...a
|
|
33
33
|
}
|
|
34
34
|
));
|
|
35
|
-
|
|
36
|
-
const c =
|
|
35
|
+
b.displayName = "TableFooter";
|
|
36
|
+
const c = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
37
37
|
"tr",
|
|
38
38
|
{
|
|
39
|
-
ref:
|
|
39
|
+
ref: o,
|
|
40
40
|
className: r(
|
|
41
|
-
"border-b transition-colors bg-
|
|
41
|
+
"border-b transition-colors bg-background hover:bg-muted/50 data-[state=selected]:bg-muted",
|
|
42
42
|
e
|
|
43
43
|
),
|
|
44
44
|
...a
|
|
45
45
|
}
|
|
46
46
|
));
|
|
47
47
|
c.displayName = "TableRow";
|
|
48
|
-
const i =
|
|
48
|
+
const i = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
49
49
|
"th",
|
|
50
50
|
{
|
|
51
|
-
ref:
|
|
51
|
+
ref: o,
|
|
52
52
|
className: r(
|
|
53
|
-
"relative h-10 px-2 text-left align-middle font-medium text-
|
|
53
|
+
"relative h-10 px-2 text-left align-middle font-medium text-muted-foreground [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
54
54
|
e
|
|
55
55
|
),
|
|
56
56
|
...a
|
|
57
57
|
}
|
|
58
58
|
));
|
|
59
59
|
i.displayName = "TableHead";
|
|
60
|
-
const
|
|
60
|
+
const f = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
61
61
|
"td",
|
|
62
62
|
{
|
|
63
|
-
ref:
|
|
63
|
+
ref: o,
|
|
64
64
|
className: r(
|
|
65
|
-
"p-2 align-middle [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
65
|
+
"p-2 align-middle overflow-x-hidden [&:has([role=checkbox])]:pr-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
66
66
|
e
|
|
67
67
|
),
|
|
68
68
|
...a
|
|
69
69
|
}
|
|
70
70
|
));
|
|
71
|
-
|
|
72
|
-
const
|
|
71
|
+
f.displayName = "TableCell";
|
|
72
|
+
const n = l.forwardRef(({ className: e, ...a }, o) => /* @__PURE__ */ t.jsx(
|
|
73
73
|
"caption",
|
|
74
74
|
{
|
|
75
|
-
ref:
|
|
76
|
-
className: r("mt-4 text-sm text-
|
|
75
|
+
ref: o,
|
|
76
|
+
className: r("mt-4 text-sm text-muted-foreground", e),
|
|
77
77
|
...a
|
|
78
78
|
}
|
|
79
79
|
));
|
|
80
|
-
|
|
80
|
+
n.displayName = "TableCaption";
|
|
81
81
|
export {
|
|
82
82
|
s as Table,
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
83
|
+
m as TableBody,
|
|
84
|
+
n as TableCaption,
|
|
85
|
+
f as TableCell,
|
|
86
|
+
b as TableFooter,
|
|
87
87
|
i as TableHead,
|
|
88
88
|
d as TableHeader,
|
|
89
89
|
c as TableRow
|