@customafk/lunas-ui 0.0.11 → 0.0.13
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/{alert-dialog-0KwdjY-6.js → alert-dialog-CQa0TLlF.js} +1 -1
- package/dist/{alert-dialog-0KwdjY-6.js.map → alert-dialog-CQa0TLlF.js.map} +1 -1
- package/dist/{alert-dialog-BQv-ZvW9.cjs → alert-dialog-D1DFrl-0.cjs} +1 -1
- package/dist/{alert-dialog-BQv-ZvW9.cjs.map → alert-dialog-D1DFrl-0.cjs.map} +1 -1
- package/dist/{button-DIX2AwtI.d.cts → button-BAqUUT0m.d.cts} +6 -6
- package/dist/{button-DnN5aAEv.d.ts → button-O7LPNFsW.d.ts} +6 -6
- package/dist/{calendar-5D53vIAn.js → calendar-DaYVxwJx.js} +1 -1
- package/dist/{calendar-5D53vIAn.js.map → calendar-DaYVxwJx.js.map} +1 -1
- package/dist/{calendar-CPFb8F_s.cjs → calendar-DzAxQqFI.cjs} +1 -1
- package/dist/{calendar-CPFb8F_s.cjs.map → calendar-DzAxQqFI.cjs.map} +1 -1
- package/dist/cards/simple-card.d.ts +2 -2
- package/dist/{command-CS4JXTso.cjs → command-BaCe_FWz.cjs} +2 -2
- package/dist/{command-CS4JXTso.cjs.map → command-BaCe_FWz.cjs.map} +1 -1
- package/dist/{command-D0wTWahQ.d.ts → command-CzvzZ5v7.d.ts} +12 -12
- package/dist/{command-LdK9xFuR.js → command-DCJja1nB.js} +2 -2
- package/dist/{command-LdK9xFuR.js.map → command-DCJja1nB.js.map} +1 -1
- package/dist/{command-trF9N6ky.d.cts → command-DrdWHvOO.d.cts} +12 -12
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/{dialog-Cs7JBaly.js → dialog-C0AcPpDH.js} +1 -1
- package/dist/{dialog-Cs7JBaly.js.map → dialog-C0AcPpDH.js.map} +1 -1
- package/dist/{dialog-CXZOtc6v.cjs → dialog-CH0Dihp0.cjs} +1 -1
- package/dist/{dialog-CXZOtc6v.cjs.map → dialog-CH0Dihp0.cjs.map} +1 -1
- package/dist/{dialog-ODkNpSlH.d.ts → dialog-Ch71L6oE.d.ts} +12 -12
- package/dist/{dialog-CuqlkOcw.d.cts → dialog-DQY1Cjay.d.cts} +12 -12
- package/dist/dialogs/confirm-dialog.cjs +1 -1
- package/dist/dialogs/confirm-dialog.js +1 -1
- package/dist/dialogs/detail-dialog/index.cjs +1 -1
- package/dist/dialogs/detail-dialog/index.js +1 -1
- package/dist/dialogs/error-dialog.cjs +1 -1
- package/dist/dialogs/error-dialog.js +1 -1
- package/dist/dialogs/form-dialog.cjs +1 -1
- package/dist/dialogs/form-dialog.d.cts +2 -2
- package/dist/dialogs/form-dialog.d.ts +2 -2
- package/dist/dialogs/form-dialog.js +1 -1
- package/dist/dialogs/loading-dialog.cjs +1 -1
- package/dist/dialogs/loading-dialog.js +1 -1
- package/dist/{error-dialog-DO0Bb-pi.cjs → error-dialog-BTjeT7x-.cjs} +2 -2
- package/dist/{error-dialog-DO0Bb-pi.cjs.map → error-dialog-BTjeT7x-.cjs.map} +1 -1
- package/dist/{error-dialog-D_4WL-Hj.js → error-dialog-DlhosP10.js} +2 -2
- package/dist/{error-dialog-D_4WL-Hj.js.map → error-dialog-DlhosP10.js.map} +1 -1
- package/dist/{form-wrapper-FYiHHas7.cjs → form-wrapper-CCqogufb.cjs} +2 -2
- package/dist/{form-wrapper-FYiHHas7.cjs.map → form-wrapper-CCqogufb.cjs.map} +1 -1
- package/dist/{form-wrapper-D-2Uz518.js → form-wrapper-YPIbD8rh.js} +2 -2
- package/dist/{form-wrapper-D-2Uz518.js.map → form-wrapper-YPIbD8rh.js.map} +1 -1
- package/dist/forms/combobox-field.cjs +2 -2
- package/dist/forms/combobox-field.d.cts +2 -2
- package/dist/forms/combobox-field.d.ts +2 -2
- package/dist/forms/combobox-field.js +2 -2
- package/dist/forms/date-field.cjs +1 -1
- package/dist/forms/date-field.d.cts +2 -2
- package/dist/forms/date-field.d.ts +2 -2
- package/dist/forms/date-field.js +1 -1
- package/dist/forms/form-wrapper.cjs +1 -1
- package/dist/forms/form-wrapper.d.cts +2 -2
- package/dist/forms/form-wrapper.d.ts +2 -2
- package/dist/forms/form-wrapper.js +1 -1
- package/dist/forms/multi-select-field.cjs +1 -1
- package/dist/forms/multi-select-field.cjs.map +1 -1
- package/dist/forms/multi-select-field.d.cts +2 -2
- package/dist/forms/multi-select-field.d.ts +2 -2
- package/dist/forms/multi-select-field.js +1 -1
- package/dist/forms/number-field.d.cts +2 -2
- package/dist/forms/number-field.d.ts +2 -2
- package/dist/forms/password-field.d.cts +2 -2
- package/dist/forms/password-field.d.ts +2 -2
- package/dist/forms/select-field.d.cts +2 -2
- package/dist/forms/select-field.d.ts +2 -2
- package/dist/forms/switch-field.d.cts +2 -2
- package/dist/forms/switch-field.d.ts +2 -2
- package/dist/forms/text-field.d.cts +2 -2
- package/dist/forms/text-field.d.ts +2 -2
- package/dist/forms/textarea-field.d.cts +2 -2
- package/dist/forms/textarea-field.d.ts +2 -2
- package/dist/{input-DIMlgILH.d.cts → input-DhLxB8V-.d.cts} +3 -3
- package/dist/{input-DR-TeKen.d.ts → input-cj6Jc1Zj.d.ts} +3 -3
- package/dist/layouts/flex.d.cts +3 -3
- package/dist/layouts/flex.d.ts +3 -3
- package/dist/layouts/main/index.d.cts +4 -4
- package/dist/{multi-select-BNh2ezg-.cjs → multi-select-C-r_XSFy.cjs} +2 -2
- package/dist/{multi-select-BNh2ezg-.cjs.map → multi-select-C-r_XSFy.cjs.map} +1 -1
- package/dist/{multi-select-B_fLji2s.js → multi-select-p5ihXgWH.js} +2 -2
- package/dist/{multi-select-B_fLji2s.js.map → multi-select-p5ihXgWH.js.map} +1 -1
- package/dist/{popover-CAokgoc_.cjs → popover-Ce0OTSQL.cjs} +1 -1
- package/dist/{popover-CAokgoc_.cjs.map → popover-Ce0OTSQL.cjs.map} +1 -1
- package/dist/{popover-B8j86VQv.js → popover-tDri6Ded.js} +1 -1
- package/dist/{popover-B8j86VQv.js.map → popover-tDri6Ded.js.map} +1 -1
- package/dist/{separator-Q6Oe2w6f.d.cts → separator-BsnCT8LX.d.cts} +3 -3
- package/dist/{separator-CievW3VI.d.ts → separator-D1cml8sE.d.ts} +3 -3
- package/dist/table/index.d.ts +2 -2
- package/dist/{toggle-31B39dod.d.cts → toggle-CxXbGIf5.d.ts} +4 -4
- package/dist/{toggle-J2Fw-oeH.d.ts → toggle-DfC247hI.d.cts} +5 -5
- package/dist/{tooltip-Bg1hHoeI.d.cts → tooltip-CA4xH6Zd.d.cts} +6 -6
- package/dist/{tooltip-CeP-zQrX.d.ts → tooltip-DZ2Shzgg.d.ts} +6 -6
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.ts +2 -2
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.ts +2 -2
- package/dist/ui/alert-dialog.cjs +1 -1
- package/dist/ui/alert-dialog.d.ts +12 -12
- package/dist/ui/alert-dialog.js +1 -1
- package/dist/ui/alert.d.cts +4 -4
- package/dist/ui/alert.d.ts +6 -6
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.ts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.ts +4 -4
- package/dist/ui/badge.d.cts +4 -4
- package/dist/ui/badge.d.ts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.ts +8 -8
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.ts +1 -1
- package/dist/ui/buttons/edit.cjs +2 -0
- package/dist/ui/buttons/edit.cjs.map +1 -0
- package/dist/ui/buttons/edit.d.cts +8 -0
- package/dist/ui/buttons/edit.d.ts +8 -0
- package/dist/ui/buttons/edit.js +2 -0
- package/dist/ui/buttons/edit.js.map +1 -0
- package/dist/ui/buttons/trash.cjs +2 -0
- package/dist/ui/buttons/trash.cjs.map +1 -0
- package/dist/ui/buttons/trash.d.cts +8 -0
- package/dist/ui/buttons/trash.d.ts +8 -0
- package/dist/ui/buttons/trash.js +2 -0
- package/dist/ui/buttons/trash.js.map +1 -0
- package/dist/ui/buttons/upload-image.cjs +2 -0
- package/dist/ui/buttons/upload-image.cjs.map +1 -0
- package/dist/ui/buttons/upload-image.d.cts +11 -0
- package/dist/ui/buttons/upload-image.d.ts +11 -0
- package/dist/ui/buttons/upload-image.js +2 -0
- package/dist/ui/buttons/upload-image.js.map +1 -0
- package/dist/ui/calendar.cjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.ts +4 -4
- package/dist/ui/calendar.js +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.ts +8 -8
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.ts +7 -7
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.ts +4 -4
- package/dist/ui/command.cjs +1 -1
- package/dist/ui/command.d.cts +2 -2
- package/dist/ui/command.d.ts +2 -2
- package/dist/ui/command.js +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.ts +16 -16
- package/dist/ui/dialog.cjs +1 -1
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.ts +1 -1
- package/dist/ui/dialog.js +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.ts +16 -16
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.ts +2 -2
- package/dist/ui/form.d.cts +7 -7
- package/dist/ui/form.d.ts +7 -7
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.ts +4 -4
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.ts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.ts +1 -1
- package/dist/ui/inputs/search-input.d.cts +1 -1
- package/dist/ui/inputs/search-input.d.ts +3 -3
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.ts +2 -2
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.ts +17 -17
- package/dist/ui/multi-select.cjs +1 -1
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.ts +2 -2
- package/dist/ui/multi-select.js +1 -1
- package/dist/ui/navigation-menu.d.cts +11 -11
- package/dist/ui/navigation-menu.d.ts +11 -11
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.ts +9 -9
- package/dist/ui/popover.cjs +1 -1
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.ts +5 -5
- package/dist/ui/popover.js +1 -1
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.ts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.ts +3 -3
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.ts +4 -4
- package/dist/ui/scroll-area.d.cts +3 -3
- package/dist/ui/scroll-area.d.ts +3 -3
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.ts +11 -11
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.ts +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.ts +9 -9
- package/dist/ui/sidebar.d.cts +30 -30
- package/dist/ui/sidebar.d.ts +28 -28
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.ts +2 -2
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.ts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.ts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.ts +2 -2
- package/dist/ui/table.d.cts +9 -9
- package/dist/ui/table.d.ts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.ts +5 -5
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.ts +2 -2
- package/dist/ui/toggle-group.d.cts +4 -4
- package/dist/ui/toggle-group.d.ts +4 -4
- package/dist/ui/toggle.d.cts +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.ts +1 -1
- package/package.json +13 -1
- package/packages/components/ui/buttons/edit.tsx +20 -0
- package/packages/components/ui/buttons/trash.tsx +20 -0
- package/packages/components/ui/buttons/upload-image.tsx +28 -0
package/dist/ui/sidebar.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Button } from "../button-
|
|
2
|
-
import { Input } from "../input-
|
|
3
|
-
import { Separator } from "../separator-
|
|
4
|
-
import { TooltipContent } from "../tooltip-
|
|
1
|
+
import { Button } from "../button-O7LPNFsW.js";
|
|
2
|
+
import { Input } from "../input-cj6Jc1Zj.js";
|
|
3
|
+
import { Separator } from "../separator-D1cml8sE.js";
|
|
4
|
+
import { TooltipContent } from "../tooltip-DZ2Shzgg.js";
|
|
5
5
|
import React from "react";
|
|
6
|
-
import * as
|
|
6
|
+
import * as react_jsx_runtime113 from "react/jsx-runtime";
|
|
7
7
|
import { VariantProps } from "class-variance-authority";
|
|
8
8
|
import * as class_variance_authority_types3 from "class-variance-authority/types";
|
|
9
9
|
|
|
@@ -30,7 +30,7 @@ declare function SidebarProvider({
|
|
|
30
30
|
defaultOpen?: boolean;
|
|
31
31
|
open?: boolean;
|
|
32
32
|
onOpenChange?: (open: boolean) => void;
|
|
33
|
-
}):
|
|
33
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
34
34
|
declare function Sidebar({
|
|
35
35
|
side,
|
|
36
36
|
variant,
|
|
@@ -42,71 +42,71 @@ declare function Sidebar({
|
|
|
42
42
|
side?: "left" | "right";
|
|
43
43
|
variant?: "sidebar" | "floating" | "inset";
|
|
44
44
|
collapsible?: "offcanvas" | "icon" | "none";
|
|
45
|
-
}):
|
|
45
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
46
46
|
declare function SidebarTrigger({
|
|
47
47
|
className,
|
|
48
48
|
onClick,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<typeof Button>):
|
|
50
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime113.JSX.Element;
|
|
51
51
|
declare function SidebarRail({
|
|
52
52
|
className,
|
|
53
53
|
...props
|
|
54
|
-
}: React.ComponentProps<"button">):
|
|
54
|
+
}: React.ComponentProps<"button">): react_jsx_runtime113.JSX.Element;
|
|
55
55
|
declare function SidebarInset({
|
|
56
56
|
className,
|
|
57
57
|
children,
|
|
58
58
|
...props
|
|
59
|
-
}: React.ComponentProps<"main">):
|
|
59
|
+
}: React.ComponentProps<"main">): react_jsx_runtime113.JSX.Element;
|
|
60
60
|
declare function SidebarInput({
|
|
61
61
|
className,
|
|
62
62
|
...props
|
|
63
|
-
}: React.ComponentProps<typeof Input>):
|
|
63
|
+
}: React.ComponentProps<typeof Input>): react_jsx_runtime113.JSX.Element;
|
|
64
64
|
declare function SidebarHeader({
|
|
65
65
|
className,
|
|
66
66
|
...props
|
|
67
|
-
}: React.ComponentProps<"div">):
|
|
67
|
+
}: React.ComponentProps<"div">): react_jsx_runtime113.JSX.Element;
|
|
68
68
|
declare function SidebarFooter({
|
|
69
69
|
className,
|
|
70
70
|
...props
|
|
71
|
-
}: React.ComponentProps<"div">):
|
|
71
|
+
}: React.ComponentProps<"div">): react_jsx_runtime113.JSX.Element;
|
|
72
72
|
declare function SidebarSeparator({
|
|
73
73
|
className,
|
|
74
74
|
...props
|
|
75
|
-
}: React.ComponentProps<typeof Separator>):
|
|
75
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime113.JSX.Element;
|
|
76
76
|
declare function SidebarContent({
|
|
77
77
|
className,
|
|
78
78
|
...props
|
|
79
|
-
}: React.ComponentProps<"div">):
|
|
79
|
+
}: React.ComponentProps<"div">): react_jsx_runtime113.JSX.Element;
|
|
80
80
|
declare function SidebarGroup({
|
|
81
81
|
className,
|
|
82
82
|
...props
|
|
83
|
-
}: React.ComponentProps<"div">):
|
|
83
|
+
}: React.ComponentProps<"div">): react_jsx_runtime113.JSX.Element;
|
|
84
84
|
declare function SidebarGroupLabel({
|
|
85
85
|
className,
|
|
86
86
|
asChild,
|
|
87
87
|
...props
|
|
88
88
|
}: React.ComponentProps<"div"> & {
|
|
89
89
|
asChild?: boolean;
|
|
90
|
-
}):
|
|
90
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
91
91
|
declare function SidebarGroupAction({
|
|
92
92
|
className,
|
|
93
93
|
asChild,
|
|
94
94
|
...props
|
|
95
95
|
}: React.ComponentProps<"button"> & {
|
|
96
96
|
asChild?: boolean;
|
|
97
|
-
}):
|
|
97
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
98
98
|
declare function SidebarGroupContent({
|
|
99
99
|
className,
|
|
100
100
|
...props
|
|
101
|
-
}: React.ComponentProps<"div">):
|
|
101
|
+
}: React.ComponentProps<"div">): react_jsx_runtime113.JSX.Element;
|
|
102
102
|
declare function SidebarMenu({
|
|
103
103
|
className,
|
|
104
104
|
...props
|
|
105
|
-
}: React.ComponentProps<"ul">):
|
|
105
|
+
}: React.ComponentProps<"ul">): react_jsx_runtime113.JSX.Element;
|
|
106
106
|
declare function SidebarMenuItem({
|
|
107
107
|
className,
|
|
108
108
|
...props
|
|
109
|
-
}: React.ComponentProps<"li">):
|
|
109
|
+
}: React.ComponentProps<"li">): react_jsx_runtime113.JSX.Element;
|
|
110
110
|
declare const sidebarMenuButtonVariants: (props?: ({
|
|
111
111
|
variant?: "default" | "outline" | null | undefined;
|
|
112
112
|
size?: "sm" | "lg" | "default" | null | undefined;
|
|
@@ -123,7 +123,7 @@ declare function SidebarMenuButton({
|
|
|
123
123
|
asChild?: boolean;
|
|
124
124
|
isActive?: boolean;
|
|
125
125
|
tooltip?: string | React.ComponentProps<typeof TooltipContent>;
|
|
126
|
-
} & VariantProps<typeof sidebarMenuButtonVariants>):
|
|
126
|
+
} & VariantProps<typeof sidebarMenuButtonVariants>): react_jsx_runtime113.JSX.Element;
|
|
127
127
|
declare function SidebarMenuAction({
|
|
128
128
|
className,
|
|
129
129
|
asChild,
|
|
@@ -132,26 +132,26 @@ declare function SidebarMenuAction({
|
|
|
132
132
|
}: React.ComponentProps<"button"> & {
|
|
133
133
|
asChild?: boolean;
|
|
134
134
|
showOnHover?: boolean;
|
|
135
|
-
}):
|
|
135
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
136
136
|
declare function SidebarMenuBadge({
|
|
137
137
|
className,
|
|
138
138
|
...props
|
|
139
|
-
}: React.ComponentProps<"div">):
|
|
139
|
+
}: React.ComponentProps<"div">): react_jsx_runtime113.JSX.Element;
|
|
140
140
|
declare function SidebarMenuSkeleton({
|
|
141
141
|
className,
|
|
142
142
|
showIcon,
|
|
143
143
|
...props
|
|
144
144
|
}: React.ComponentProps<"div"> & {
|
|
145
145
|
showIcon?: boolean;
|
|
146
|
-
}):
|
|
146
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
147
147
|
declare function SidebarMenuSub({
|
|
148
148
|
className,
|
|
149
149
|
...props
|
|
150
|
-
}: React.ComponentProps<"ul">):
|
|
150
|
+
}: React.ComponentProps<"ul">): react_jsx_runtime113.JSX.Element;
|
|
151
151
|
declare function SidebarMenuSubItem({
|
|
152
152
|
className,
|
|
153
153
|
...props
|
|
154
|
-
}: React.ComponentProps<"li">):
|
|
154
|
+
}: React.ComponentProps<"li">): react_jsx_runtime113.JSX.Element;
|
|
155
155
|
declare function SidebarMenuSubButton({
|
|
156
156
|
asChild,
|
|
157
157
|
size,
|
|
@@ -162,7 +162,7 @@ declare function SidebarMenuSubButton({
|
|
|
162
162
|
asChild?: boolean;
|
|
163
163
|
size?: "sm" | "md";
|
|
164
164
|
isActive?: boolean;
|
|
165
|
-
}):
|
|
165
|
+
}): react_jsx_runtime113.JSX.Element;
|
|
166
166
|
//#endregion
|
|
167
167
|
export { Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, useSidebar };
|
|
168
168
|
//# sourceMappingURL=sidebar.d.ts.map
|
package/dist/ui/skeleton.d.cts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime226 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/skeleton.d.ts
|
|
5
5
|
declare function Skeleton({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"div">):
|
|
8
|
+
}: React.ComponentProps<"div">): react_jsx_runtime226.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Skeleton };
|
|
11
11
|
//# sourceMappingURL=skeleton.d.cts.map
|
package/dist/ui/skeleton.d.ts
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime137 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/skeleton.d.ts
|
|
5
5
|
declare function Skeleton({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"div">):
|
|
8
|
+
}: React.ComponentProps<"div">): react_jsx_runtime137.JSX.Element;
|
|
9
9
|
//#endregion
|
|
10
10
|
export { Skeleton };
|
|
11
11
|
//# sourceMappingURL=skeleton.d.ts.map
|
package/dist/ui/slider.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime213 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Slider as Slider$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -10,7 +10,7 @@ declare function Slider({
|
|
|
10
10
|
min,
|
|
11
11
|
max,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Slider$1.Root>):
|
|
13
|
+
}: React.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime213.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Slider };
|
|
16
16
|
//# sourceMappingURL=slider.d.cts.map
|
package/dist/ui/slider.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime138 from "react/jsx-runtime";
|
|
3
3
|
import { Slider as Slider$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/slider.d.ts
|
|
@@ -10,7 +10,7 @@ declare function Slider({
|
|
|
10
10
|
min,
|
|
11
11
|
max,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Slider$1.Root>):
|
|
13
|
+
}: React.ComponentProps<typeof Slider$1.Root>): react_jsx_runtime138.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { Slider };
|
|
16
16
|
//# sourceMappingURL=slider.d.ts.map
|
package/dist/ui/sonner.d.cts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime204 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/sonner.d.ts
|
|
4
|
-
declare const Toaster: () =>
|
|
4
|
+
declare const Toaster: () => react_jsx_runtime204.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Toaster };
|
|
7
7
|
//# sourceMappingURL=sonner.d.cts.map
|
package/dist/ui/sonner.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime141 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/sonner.d.ts
|
|
4
|
-
declare const Toaster: () =>
|
|
4
|
+
declare const Toaster: () => react_jsx_runtime141.JSX.Element;
|
|
5
5
|
//#endregion
|
|
6
6
|
export { Toaster };
|
|
7
7
|
//# sourceMappingURL=sonner.d.ts.map
|
package/dist/ui/switch.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime203 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Switch as Switch$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -6,7 +6,7 @@ import { Switch as Switch$1 } from "radix-ui";
|
|
|
6
6
|
declare function Switch({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Switch$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime203.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
12
12
|
//# sourceMappingURL=switch.d.cts.map
|
package/dist/ui/switch.d.ts
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime149 from "react/jsx-runtime";
|
|
3
3
|
import { Switch as Switch$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/switch.d.ts
|
|
6
6
|
declare function Switch({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Switch$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Switch$1.Root>): react_jsx_runtime149.JSX.Element;
|
|
10
10
|
//#endregion
|
|
11
11
|
export { Switch };
|
|
12
12
|
//# sourceMappingURL=switch.d.ts.map
|
package/dist/ui/table.d.cts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime218 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/table.d.ts
|
|
5
5
|
declare function Table({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"table">):
|
|
8
|
+
}: React.ComponentProps<"table">): react_jsx_runtime218.JSX.Element;
|
|
9
9
|
declare function TableHeader({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"thead">):
|
|
12
|
+
}: React.ComponentProps<"thead">): react_jsx_runtime218.JSX.Element;
|
|
13
13
|
declare function TableBody({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<"tbody">):
|
|
16
|
+
}: React.ComponentProps<"tbody">): react_jsx_runtime218.JSX.Element;
|
|
17
17
|
declare function TableFooter({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<"tfoot">):
|
|
20
|
+
}: React.ComponentProps<"tfoot">): react_jsx_runtime218.JSX.Element;
|
|
21
21
|
declare function TableRow({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<"tr">):
|
|
24
|
+
}: React.ComponentProps<"tr">): react_jsx_runtime218.JSX.Element;
|
|
25
25
|
declare function TableHead({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"th">):
|
|
28
|
+
}: React.ComponentProps<"th">): react_jsx_runtime218.JSX.Element;
|
|
29
29
|
declare function TableCell({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<"td">):
|
|
32
|
+
}: React.ComponentProps<"td">): react_jsx_runtime218.JSX.Element;
|
|
33
33
|
declare function TableCaption({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"caption">):
|
|
36
|
+
}: React.ComponentProps<"caption">): react_jsx_runtime218.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
39
39
|
//# sourceMappingURL=table.d.cts.map
|
package/dist/ui/table.d.ts
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime155 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/table.d.ts
|
|
5
5
|
declare function Table({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<"table">):
|
|
8
|
+
}: React.ComponentProps<"table">): react_jsx_runtime155.JSX.Element;
|
|
9
9
|
declare function TableHeader({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<"thead">):
|
|
12
|
+
}: React.ComponentProps<"thead">): react_jsx_runtime155.JSX.Element;
|
|
13
13
|
declare function TableBody({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<"tbody">):
|
|
16
|
+
}: React.ComponentProps<"tbody">): react_jsx_runtime155.JSX.Element;
|
|
17
17
|
declare function TableFooter({
|
|
18
18
|
className,
|
|
19
19
|
...props
|
|
20
|
-
}: React.ComponentProps<"tfoot">):
|
|
20
|
+
}: React.ComponentProps<"tfoot">): react_jsx_runtime155.JSX.Element;
|
|
21
21
|
declare function TableRow({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<"tr">):
|
|
24
|
+
}: React.ComponentProps<"tr">): react_jsx_runtime155.JSX.Element;
|
|
25
25
|
declare function TableHead({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<"th">):
|
|
28
|
+
}: React.ComponentProps<"th">): react_jsx_runtime155.JSX.Element;
|
|
29
29
|
declare function TableCell({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<"td">):
|
|
32
|
+
}: React.ComponentProps<"td">): react_jsx_runtime155.JSX.Element;
|
|
33
33
|
declare function TableCaption({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: React.ComponentProps<"caption">):
|
|
36
|
+
}: React.ComponentProps<"caption">): react_jsx_runtime155.JSX.Element;
|
|
37
37
|
//#endregion
|
|
38
38
|
export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow };
|
|
39
39
|
//# sourceMappingURL=table.d.ts.map
|
package/dist/ui/tabs.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime214 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
import { Tabs as Tabs$1 } from "radix-ui";
|
|
4
4
|
|
|
@@ -6,19 +6,19 @@ import { Tabs as Tabs$1 } from "radix-ui";
|
|
|
6
6
|
declare function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Tabs$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime214.JSX.Element;
|
|
10
10
|
declare function TabsList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Tabs$1.List>):
|
|
13
|
+
}: React.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime214.JSX.Element;
|
|
14
14
|
declare function TabsTrigger({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Tabs$1.Trigger>):
|
|
17
|
+
}: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime214.JSX.Element;
|
|
18
18
|
declare function TabsContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Tabs$1.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime214.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
24
24
|
//# sourceMappingURL=tabs.d.cts.map
|
package/dist/ui/tabs.d.ts
CHANGED
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime166 from "react/jsx-runtime";
|
|
3
3
|
import { Tabs as Tabs$1 } from "radix-ui";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/tabs.d.ts
|
|
6
6
|
declare function Tabs({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React.ComponentProps<typeof Tabs$1.Root>):
|
|
9
|
+
}: React.ComponentProps<typeof Tabs$1.Root>): react_jsx_runtime166.JSX.Element;
|
|
10
10
|
declare function TabsList({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React.ComponentProps<typeof Tabs$1.List>):
|
|
13
|
+
}: React.ComponentProps<typeof Tabs$1.List>): react_jsx_runtime166.JSX.Element;
|
|
14
14
|
declare function TabsTrigger({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<typeof Tabs$1.Trigger>):
|
|
17
|
+
}: React.ComponentProps<typeof Tabs$1.Trigger>): react_jsx_runtime166.JSX.Element;
|
|
18
18
|
declare function TabsContent({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof Tabs$1.Content>):
|
|
21
|
+
}: React.ComponentProps<typeof Tabs$1.Content>): react_jsx_runtime166.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { Tabs, TabsContent, TabsList, TabsTrigger };
|
|
24
24
|
//# sourceMappingURL=tabs.d.ts.map
|
package/dist/ui/textarea.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime234 from "react/jsx-runtime";
|
|
2
2
|
import React from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/textarea.d.ts
|
|
@@ -9,7 +9,7 @@ declare function Textarea({
|
|
|
9
9
|
...props
|
|
10
10
|
}: React.ComponentProps<"textarea"> & {
|
|
11
11
|
onValueChange?: (value: string) => void;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime234.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Textarea };
|
|
15
15
|
//# sourceMappingURL=textarea.d.cts.map
|
package/dist/ui/textarea.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React from "react";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime179 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/textarea.d.ts
|
|
5
5
|
declare function Textarea({
|
|
@@ -9,7 +9,7 @@ declare function Textarea({
|
|
|
9
9
|
...props
|
|
10
10
|
}: React.ComponentProps<"textarea"> & {
|
|
11
11
|
onValueChange?: (value: string) => void;
|
|
12
|
-
}):
|
|
12
|
+
}): react_jsx_runtime179.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
export { Textarea };
|
|
15
15
|
//# sourceMappingURL=textarea.d.ts.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { toggleVariants } from "../toggle-
|
|
2
|
-
import * as
|
|
1
|
+
import { toggleVariants } from "../toggle-DfC247hI.cjs";
|
|
2
|
+
import * as react_jsx_runtime227 from "react/jsx-runtime";
|
|
3
3
|
import React from "react";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
@@ -11,14 +11,14 @@ declare function ToggleGroup({
|
|
|
11
11
|
size,
|
|
12
12
|
children,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>):
|
|
14
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime227.JSX.Element;
|
|
15
15
|
declare function ToggleGroupItem({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
18
18
|
variant,
|
|
19
19
|
size,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
21
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime227.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ToggleGroup, ToggleGroupItem };
|
|
24
24
|
//# sourceMappingURL=toggle-group.d.cts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { toggleVariants } from "../toggle-
|
|
1
|
+
import { toggleVariants } from "../toggle-CxXbGIf5.js";
|
|
2
2
|
import React from "react";
|
|
3
|
-
import * as
|
|
3
|
+
import * as react_jsx_runtime195 from "react/jsx-runtime";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
import { ToggleGroup as ToggleGroup$1 } from "radix-ui";
|
|
6
6
|
|
|
@@ -11,14 +11,14 @@ declare function ToggleGroup({
|
|
|
11
11
|
size,
|
|
12
12
|
children,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>):
|
|
14
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime195.JSX.Element;
|
|
15
15
|
declare function ToggleGroupItem({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
18
18
|
variant,
|
|
19
19
|
size,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>):
|
|
21
|
+
}: React.ComponentProps<typeof ToggleGroup$1.Item> & VariantProps<typeof toggleVariants>): react_jsx_runtime195.JSX.Element;
|
|
22
22
|
//#endregion
|
|
23
23
|
export { ToggleGroup, ToggleGroupItem };
|
|
24
24
|
//# sourceMappingURL=toggle-group.d.ts.map
|
package/dist/ui/toggle.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Toggle, toggleVariants } from "../toggle-
|
|
1
|
+
import { Toggle, toggleVariants } from "../toggle-DfC247hI.cjs";
|
|
2
2
|
export { Toggle, toggleVariants };
|
package/dist/ui/toggle.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Toggle, toggleVariants } from "../toggle-
|
|
1
|
+
import { Toggle, toggleVariants } from "../toggle-CxXbGIf5.js";
|
|
2
2
|
export { Toggle, toggleVariants };
|
package/dist/ui/tooltip.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../tooltip-
|
|
1
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../tooltip-CA4xH6Zd.cjs";
|
|
2
2
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
package/dist/ui/tooltip.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../tooltip-
|
|
1
|
+
import { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger } from "../tooltip-DZ2Shzgg.js";
|
|
2
2
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@customafk/lunas-ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.13",
|
|
4
4
|
"description": "UI library for Lunas Enterprise",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": {
|
|
@@ -177,10 +177,22 @@
|
|
|
177
177
|
"import": "./dist/ui/buttons/add-new.js",
|
|
178
178
|
"require": "./dist/ui/buttons/add-new.cjs"
|
|
179
179
|
},
|
|
180
|
+
"./ui/buttons/edit": {
|
|
181
|
+
"import": "./dist/ui/buttons/edit.js",
|
|
182
|
+
"require": "./dist/ui/buttons/edit.cjs"
|
|
183
|
+
},
|
|
180
184
|
"./ui/buttons/refresh": {
|
|
181
185
|
"import": "./dist/ui/buttons/refresh.js",
|
|
182
186
|
"require": "./dist/ui/buttons/refresh.cjs"
|
|
183
187
|
},
|
|
188
|
+
"./ui/buttons/trash": {
|
|
189
|
+
"import": "./dist/ui/buttons/trash.js",
|
|
190
|
+
"require": "./dist/ui/buttons/trash.cjs"
|
|
191
|
+
},
|
|
192
|
+
"./ui/buttons/upload-image": {
|
|
193
|
+
"import": "./dist/ui/buttons/upload-image.js",
|
|
194
|
+
"require": "./dist/ui/buttons/upload-image.cjs"
|
|
195
|
+
},
|
|
184
196
|
"./ui/calendar": {
|
|
185
197
|
"import": "./dist/ui/calendar.js",
|
|
186
198
|
"require": "./dist/ui/calendar.cjs"
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Edit2Icon } from "lucide-react";
|
|
2
|
+
|
|
3
|
+
import { Button } from "../button";
|
|
4
|
+
|
|
5
|
+
type Props = {
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export const EditBtn: React.FC<Props> = ({ onClick }) => {
|
|
9
|
+
return (
|
|
10
|
+
<Button
|
|
11
|
+
aria-label="Chỉnh sửa"
|
|
12
|
+
variant="ghost"
|
|
13
|
+
size="icon"
|
|
14
|
+
className="aspect-square max-sm:p-0"
|
|
15
|
+
onClick={onClick}
|
|
16
|
+
>
|
|
17
|
+
<Edit2Icon size={16} className="opacity-60" />
|
|
18
|
+
</Button>
|
|
19
|
+
);
|
|
20
|
+
};
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { Trash2Icon } from "lucide-react";
|
|
2
|
+
|
|
3
|
+
import { Button } from "../button";
|
|
4
|
+
|
|
5
|
+
type Props = {
|
|
6
|
+
onClick?: () => void;
|
|
7
|
+
};
|
|
8
|
+
export const TrashBtn: React.FC<Props> = ({ onClick }) => {
|
|
9
|
+
return (
|
|
10
|
+
<Button
|
|
11
|
+
aria-label="Xoá"
|
|
12
|
+
variant="ghost"
|
|
13
|
+
size="icon"
|
|
14
|
+
className="aspect-square max-sm:p-0"
|
|
15
|
+
onClick={onClick}
|
|
16
|
+
>
|
|
17
|
+
<Trash2Icon size={16} className="opacity-60" aria-hidden="true" />
|
|
18
|
+
</Button>
|
|
19
|
+
);
|
|
20
|
+
};
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import type { PropsWithChildren } from "react";
|
|
3
|
+
import { UploadIcon } from "lucide-react";
|
|
4
|
+
|
|
5
|
+
import { Button } from "../button";
|
|
6
|
+
|
|
7
|
+
type Props = {
|
|
8
|
+
size?: number;
|
|
9
|
+
onClick?: () => void;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const UploadImageBtn: React.FC<PropsWithChildren<Props>> = ({
|
|
13
|
+
size = "5rem",
|
|
14
|
+
onClick,
|
|
15
|
+
}) => {
|
|
16
|
+
return (
|
|
17
|
+
<Button
|
|
18
|
+
style={{
|
|
19
|
+
width: size,
|
|
20
|
+
height: size,
|
|
21
|
+
}}
|
|
22
|
+
variant="outline"
|
|
23
|
+
onClick={onClick}
|
|
24
|
+
>
|
|
25
|
+
<UploadIcon className="size-6" />
|
|
26
|
+
</Button>
|
|
27
|
+
);
|
|
28
|
+
};
|