@customafk/lunas-ui 0.1.16 → 0.1.18
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/{avatar-Cp9PebV0.mjs → avatar-BNU7KL48.mjs} +1 -1
- package/dist/{avatar-Cp9PebV0.mjs.map → avatar-BNU7KL48.mjs.map} +1 -1
- package/dist/{button-Cj-sKPPK.d.cts → button-C8HSrN_3.d.cts} +4 -4
- package/dist/{button-CqxqZbcQ.mjs → button-JJaTl28Z.mjs} +2 -2
- package/dist/{button-CqxqZbcQ.mjs.map → button-JJaTl28Z.mjs.map} +1 -1
- package/dist/{button-DavYkks2.d.mts → button-vNDXA78a.d.mts} +4 -4
- package/dist/{button.variants-CXNnQvXs.mjs → button.variants-CgCCe7qb.mjs} +1 -1
- package/dist/{button.variants-CXNnQvXs.mjs.map → button.variants-CgCCe7qb.mjs.map} +1 -1
- package/dist/{card-BTswGEgi.mjs → card-C8fcblBB.mjs} +1 -1
- package/dist/{card-BTswGEgi.mjs.map → card-C8fcblBB.mjs.map} +1 -1
- package/dist/cards/grid-product-card.mjs +1 -1
- package/dist/cards/product-card.mjs +1 -1
- package/dist/cards/simple-card.mjs +1 -1
- package/dist/{close-Bb5Pi28f.mjs → close-B_PnUzNN.mjs} +1 -1
- package/dist/{close-Bb5Pi28f.mjs.map → close-B_PnUzNN.mjs.map} +1 -1
- package/dist/{command-D_f6JoHE.mjs → command-CtWxCsMm.mjs} +2 -2
- package/dist/{command-D_f6JoHE.mjs.map → command-CtWxCsMm.mjs.map} +1 -1
- package/dist/data-display/country.d.cts +1 -1
- package/dist/data-display/country.d.mts +1 -1
- package/dist/data-display/country.mjs +1 -1
- package/dist/data-display/date-tooltip.mjs +1 -1
- package/dist/data-display/date.mjs +1 -1
- package/dist/data-display/name.mjs +1 -1
- package/dist/data-display/phone-number.mjs +1 -1
- package/dist/data-display/role-badge.d.cts +1 -1
- package/dist/data-display/role-badge.d.mts +1 -1
- package/dist/data-display/role-badge.mjs +1 -1
- package/dist/data-display/statistic.d.cts +2 -2
- package/dist/data-display/user.mjs +1 -1
- package/dist/{date-DtgYKyyk.mjs → date-SmlhDFZs.mjs} +1 -1
- package/dist/{date-DtgYKyyk.mjs.map → date-SmlhDFZs.mjs.map} +1 -1
- package/dist/{dialog-D5bBgIs8.mjs → dialog-4ZJcWPar.mjs} +2 -2
- package/dist/{dialog-D5bBgIs8.mjs.map → dialog-4ZJcWPar.mjs.map} +1 -1
- package/dist/{dialog--Kkg9CSj.d.mts → dialog-CoSwDi4O.d.cts} +12 -12
- package/dist/{dialog-BYgFitry.d.cts → dialog-DU7tobKF.d.mts} +12 -12
- package/dist/dialogs/confirm-dialog.mjs +1 -1
- package/dist/dialogs/detail-dialog/component/sidebar.d.cts +30 -30
- package/dist/dialogs/detail-dialog/component/sidebar.d.mts +28 -28
- package/dist/dialogs/detail-dialog/component/sidebar.mjs +1 -1
- package/dist/dialogs/detail-dialog/index.mjs +1 -1
- package/dist/dialogs/error-dialog.mjs +1 -1
- package/dist/dialogs/loading-dialog.mjs +1 -1
- package/dist/{dist-1xnmIjvR.mjs → dist-D2ydYRc4.mjs} +1 -1
- package/dist/{dist-1xnmIjvR.mjs.map → dist-D2ydYRc4.mjs.map} +1 -1
- package/dist/{drawer-D8hxCiVo.mjs → drawer-B2QxYWMi.mjs} +1 -1
- package/dist/{drawer-D8hxCiVo.mjs.map → drawer-B2QxYWMi.mjs.map} +1 -1
- package/dist/{dropdown-menu-Bt3WFMXE.mjs → dropdown-menu-BwcDzb4B.mjs} +1 -1
- package/dist/{dropdown-menu-Bt3WFMXE.mjs.map → dropdown-menu-BwcDzb4B.mjs.map} +1 -1
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/search-modal/index.d.mts +2 -2
- package/dist/features/search-modal/index.mjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +42 -42
- package/dist/features/tanstack-form/index.d.mts +42 -42
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/{image-iVki2lFP.mjs → image-xsA4ZQ-u.mjs} +2 -2
- package/dist/{image-iVki2lFP.mjs.map → image-xsA4ZQ-u.mjs.map} +1 -1
- package/dist/{input-CeWpMUrb.d.cts → input-CEwMjaj3.d.cts} +4 -4
- package/dist/{input-D-Wrz2-9.mjs → input-CYFvmWQU.mjs} +1 -1
- package/dist/{input-D-Wrz2-9.mjs.map → input-CYFvmWQU.mjs.map} +1 -1
- package/dist/{input-na3VwQ-h.d.mts → input-ttkmXaOF.d.mts} +4 -4
- package/dist/{label-D7-mzz0l.mjs → label-11tIftbr.mjs} +1 -1
- package/dist/{label-D7-mzz0l.mjs.map → label-11tIftbr.mjs.map} +1 -1
- package/dist/layouts/app-layout/index.cjs +1 -1
- package/dist/layouts/app-layout/index.cjs.map +1 -1
- package/dist/layouts/app-layout/index.d.cts +3 -3
- package/dist/layouts/app-layout/index.d.mts +3 -3
- package/dist/layouts/app-layout/index.mjs +1 -1
- package/dist/layouts/app-layout/index.mjs.map +1 -1
- package/dist/layouts/cms-layout/index.cjs +2 -0
- package/dist/layouts/cms-layout/index.cjs.map +1 -0
- package/dist/layouts/cms-layout/index.d.cts +20 -0
- package/dist/layouts/cms-layout/index.d.mts +20 -0
- package/dist/layouts/cms-layout/index.mjs +2 -0
- package/dist/layouts/cms-layout/index.mjs.map +1 -0
- package/dist/layouts/flex.d.cts +6 -6
- package/dist/layouts/flex.d.mts +4 -4
- package/dist/layouts/service-layout/index.cjs +1 -1
- package/dist/layouts/service-layout/index.cjs.map +1 -1
- package/dist/layouts/service-layout/index.d.cts +1 -1
- package/dist/layouts/service-layout/index.d.mts +3 -3
- package/dist/layouts/service-layout/index.mjs +1 -1
- package/dist/layouts/service-layout/index.mjs.map +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureDeveloping.mjs +1 -1
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/FeatureFixing.mjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotAuthorized.mjs +1 -1
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/NotFound.mjs +1 -1
- package/dist/{scroll-area-CROqtJiH.mjs → scroll-area-4UBa5t9-.mjs} +1 -1
- package/dist/{scroll-area-CROqtJiH.mjs.map → scroll-area-4UBa5t9-.mjs.map} +1 -1
- package/dist/{separator-Br_PIsHQ.d.mts → separator-Be9cbVN8.d.mts} +3 -3
- package/dist/{separator-CZM2q-Ac.mjs → separator-Bf0gymN4.mjs} +1 -1
- package/dist/{separator-CZM2q-Ac.mjs.map → separator-Bf0gymN4.mjs.map} +1 -1
- package/dist/{separator-tN-HSwBQ.d.cts → separator-DiP2uw3M.d.cts} +3 -3
- package/dist/{sheet-CUMpo5F_.mjs → sheet-oadGRiie.mjs} +1 -1
- package/dist/{sheet-CUMpo5F_.mjs.map → sheet-oadGRiie.mjs.map} +1 -1
- package/dist/{skeleton-C02GuVQz.mjs → skeleton-6MpPv0K3.mjs} +1 -1
- package/dist/{skeleton-C02GuVQz.mjs.map → skeleton-6MpPv0K3.mjs.map} +1 -1
- package/dist/{tabs-BFHJXVlX.mjs → tabs-BIo6ZB9g.mjs} +1 -1
- package/dist/{tabs-BFHJXVlX.mjs.map → tabs-BIo6ZB9g.mjs.map} +1 -1
- package/dist/{title-B6SztKEv.mjs → title-DcNd812E.mjs} +1 -1
- package/dist/{title-B6SztKEv.mjs.map → title-DcNd812E.mjs.map} +1 -1
- package/dist/{tooltip-4m4ywMUz.d.mts → tooltip-CwJnif3V.d.mts} +6 -6
- package/dist/{tooltip-B7cSlbI6.mjs → tooltip-DGiat0Dt.mjs} +1 -1
- package/dist/{tooltip-B7cSlbI6.mjs.map → tooltip-DGiat0Dt.mjs.map} +1 -1
- package/dist/{tooltip-Cm0AJ_eR.d.cts → tooltip-xl-O4did.d.cts} +6 -6
- package/dist/{types-CIlhkWg6.d.mts → types-BB_E2uE0.d.mts} +1 -1
- package/dist/{types-BpxD38pa.mjs → types-BQMTFD_z.mjs} +1 -1
- package/dist/{types-BpxD38pa.mjs.map → types-BQMTFD_z.mjs.map} +1 -1
- package/dist/{types-DfDk2h0N.d.cts → types-CwAGHByL.d.cts} +1 -1
- package/dist/typography/paragraph.d.cts +2 -2
- package/dist/typography/paragraph.d.mts +2 -2
- package/dist/typography/title.d.cts +2 -2
- package/dist/typography/title.d.mts +2 -2
- package/dist/typography/title.mjs +1 -1
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert-dialog.mjs +1 -1
- package/dist/ui/alert.d.mts +4 -4
- package/dist/ui/aspect-ratio.d.cts +2 -2
- package/dist/ui/aspect-ratio.d.mts +2 -2
- package/dist/ui/avatar.d.cts +4 -4
- package/dist/ui/avatar.d.mts +4 -4
- package/dist/ui/avatar.mjs +1 -1
- package/dist/ui/badge.d.cts +4 -4
- package/dist/ui/badge.d.mts +4 -4
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/breadcrumb.mjs +1 -1
- package/dist/ui/button-group.d.cts +5 -5
- package/dist/ui/button-group.d.mts +7 -7
- package/dist/ui/button-group.mjs +1 -1
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/button.mjs +1 -1
- package/dist/ui/buttons/add-new.mjs +1 -1
- package/dist/ui/buttons/edit.mjs +1 -1
- package/dist/ui/buttons/refresh.mjs +1 -1
- package/dist/ui/buttons/trash.mjs +1 -1
- package/dist/ui/buttons/upload-image.mjs +1 -1
- package/dist/ui/calendar.d.cts +4 -4
- package/dist/ui/calendar.d.mts +4 -4
- package/dist/ui/calendar.mjs +1 -1
- package/dist/ui/card.d.cts +8 -8
- package/dist/ui/card.d.mts +8 -8
- package/dist/ui/card.mjs +1 -1
- package/dist/ui/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/carousel.mjs +1 -1
- package/dist/ui/collapsible.d.cts +4 -4
- package/dist/ui/collapsible.d.mts +4 -4
- package/dist/ui/command.d.cts +11 -11
- package/dist/ui/command.d.mts +11 -11
- package/dist/ui/command.mjs +1 -1
- package/dist/ui/context-menu.d.cts +16 -16
- package/dist/ui/context-menu.d.mts +16 -16
- package/dist/ui/dialog.d.cts +1 -1
- package/dist/ui/dialog.d.mts +1 -1
- package/dist/ui/dialog.mjs +1 -1
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/drawer.mjs +1 -1
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/dropdown-menu.mjs +1 -1
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +9 -9
- package/dist/ui/field.d.cts +24 -24
- package/dist/ui/field.d.mts +24 -24
- package/dist/ui/field.mjs +1 -1
- package/dist/ui/file-uploader.d.cts +2 -2
- package/dist/ui/file-uploader.d.mts +2 -2
- package/dist/ui/file-uploader.mjs +1 -1
- package/dist/ui/form.d.cts +11 -11
- package/dist/ui/form.d.mts +11 -11
- package/dist/ui/form.mjs +1 -1
- package/dist/ui/hover-card.d.cts +4 -4
- package/dist/ui/hover-card.d.mts +4 -4
- package/dist/ui/image.mjs +1 -1
- package/dist/ui/input-otp.d.cts +5 -5
- package/dist/ui/input-otp.d.mts +5 -5
- package/dist/ui/input.d.cts +1 -1
- package/dist/ui/input.d.mts +1 -1
- package/dist/ui/input.mjs +1 -1
- package/dist/ui/inputs/search-input.d.cts +3 -3
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/inputs/search-input.mjs +1 -1
- package/dist/ui/item.d.cts +15 -15
- package/dist/ui/item.d.mts +12 -12
- package/dist/ui/item.mjs +1 -1
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- package/dist/ui/label.mjs +1 -1
- package/dist/ui/menubar.d.cts +17 -17
- package/dist/ui/menubar.d.mts +17 -17
- package/dist/ui/multi-select.d.cts +2 -2
- package/dist/ui/multi-select.d.mts +1 -1
- package/dist/ui/multi-select.mjs +1 -1
- package/dist/ui/navigation-menu.d.cts +9 -9
- package/dist/ui/navigation-menu.d.mts +9 -9
- package/dist/ui/pagination.d.cts +9 -9
- package/dist/ui/pagination.d.mts +9 -9
- package/dist/ui/pagination.mjs +1 -1
- package/dist/ui/popover.d.cts +5 -5
- package/dist/ui/popover.d.mts +5 -5
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/resizable.d.cts +4 -4
- package/dist/ui/resizable.d.mts +4 -4
- package/dist/ui/scroll-area.d.cts +6 -6
- package/dist/ui/scroll-area.d.mts +3 -3
- package/dist/ui/scroll-area.mjs +1 -1
- package/dist/ui/select.d.cts +11 -11
- package/dist/ui/select.d.mts +11 -11
- package/dist/ui/separator.d.cts +1 -1
- package/dist/ui/separator.d.mts +1 -1
- package/dist/ui/separator.mjs +1 -1
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sheet.mjs +1 -1
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +28 -28
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- package/dist/ui/skeleton.mjs +1 -1
- package/dist/ui/slider.d.cts +2 -2
- package/dist/ui/slider.d.mts +2 -2
- package/dist/ui/sonner.d.cts +2 -2
- package/dist/ui/sonner.d.mts +2 -2
- package/dist/ui/spinner.d.cts +2 -2
- package/dist/ui/spinner.d.mts +2 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/table.d.cts +18 -18
- package/dist/ui/table.d.mts +9 -9
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/tabs.mjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/toggle-group.d.cts +3 -3
- package/dist/ui/toggle-group.d.mts +3 -3
- package/dist/ui/toggle.d.cts +4 -4
- package/dist/ui/toggle.d.mts +2 -2
- package/dist/ui/tooltip.d.cts +1 -1
- package/dist/ui/tooltip.d.mts +1 -1
- package/dist/ui/tooltip.mjs +1 -1
- package/package.json +5 -1
package/dist/ui/avatar.d.cts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime43 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/avatar.d.ts
|
|
5
5
|
declare function Avatar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime43.JSX.Element;
|
|
9
9
|
declare function AvatarImage({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
12
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime43.JSX.Element;
|
|
13
13
|
declare function AvatarFallback({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
16
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime43.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
19
|
//# sourceMappingURL=avatar.d.cts.map
|
package/dist/ui/avatar.d.mts
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime51 from "react/jsx-runtime";
|
|
2
2
|
import { Avatar as Avatar$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/avatar.d.ts
|
|
5
5
|
declare function Avatar({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: React.ComponentProps<typeof Avatar$1.Root>):
|
|
8
|
+
}: React.ComponentProps<typeof Avatar$1.Root>): react_jsx_runtime51.JSX.Element;
|
|
9
9
|
declare function AvatarImage({
|
|
10
10
|
className,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof Avatar$1.Image>):
|
|
12
|
+
}: React.ComponentProps<typeof Avatar$1.Image>): react_jsx_runtime51.JSX.Element;
|
|
13
13
|
declare function AvatarFallback({
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
|
-
}: React.ComponentProps<typeof Avatar$1.Fallback>):
|
|
16
|
+
}: React.ComponentProps<typeof Avatar$1.Fallback>): react_jsx_runtime51.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
18
|
export { Avatar, AvatarFallback, AvatarImage };
|
|
19
19
|
//# sourceMappingURL=avatar.d.mts.map
|
package/dist/ui/avatar.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import{n as e,r as t,t as n}from"../avatar-
|
|
1
|
+
"use client";import{n as e,r as t,t as n}from"../avatar-BNU7KL48.mjs";export{n as Avatar,e as AvatarFallback,t as AvatarImage};
|
package/dist/ui/badge.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import * as
|
|
2
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime12 from "react/jsx-runtime";
|
|
2
|
+
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/badge.d.ts
|
|
@@ -7,7 +7,7 @@ declare const badgeVariants: (props?: ({
|
|
|
7
7
|
color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "zinc" | null | undefined;
|
|
8
8
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
9
|
pill?: boolean | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types0.ClassProp) | undefined) => string;
|
|
11
11
|
type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'div'>;
|
|
12
12
|
declare function Badge({
|
|
13
13
|
className,
|
|
@@ -15,7 +15,7 @@ declare function Badge({
|
|
|
15
15
|
size,
|
|
16
16
|
pill,
|
|
17
17
|
...props
|
|
18
|
-
}: BadgeProps):
|
|
18
|
+
}: BadgeProps): react_jsx_runtime12.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Badge, BadgeProps, badgeVariants };
|
|
21
21
|
//# sourceMappingURL=badge.d.cts.map
|
package/dist/ui/badge.d.mts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
|
-
import * as
|
|
3
|
+
import * as class_variance_authority_types2 from "class-variance-authority/types";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/badge.d.ts
|
|
6
6
|
declare const badgeVariants: (props?: ({
|
|
7
7
|
color?: "red" | "orange" | "amber" | "yellow" | "lime" | "green" | "emerald" | "teal" | "cyan" | "sky" | "blue" | "indigo" | "violet" | "purple" | "fuchsia" | "pink" | "rose" | "zinc" | null | undefined;
|
|
8
8
|
size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
|
|
9
9
|
pill?: boolean | null | undefined;
|
|
10
|
-
} &
|
|
10
|
+
} & class_variance_authority_types2.ClassProp) | undefined) => string;
|
|
11
11
|
type BadgeProps = VariantProps<typeof badgeVariants> & React.ComponentPropsWithoutRef<'div'>;
|
|
12
12
|
declare function Badge({
|
|
13
13
|
className,
|
|
@@ -15,7 +15,7 @@ declare function Badge({
|
|
|
15
15
|
size,
|
|
16
16
|
pill,
|
|
17
17
|
...props
|
|
18
|
-
}: BadgeProps):
|
|
18
|
+
}: BadgeProps): react_jsx_runtime96.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { Badge, BadgeProps, badgeVariants };
|
|
21
21
|
//# sourceMappingURL=badge.d.mts.map
|
package/dist/ui/breadcrumb.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
/**
|
|
@@ -7,21 +7,21 @@ import * as react_jsx_runtime24 from "react/jsx-runtime";
|
|
|
7
7
|
declare function Breadcrumb({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
10
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime57.JSX.Element;
|
|
11
11
|
/**
|
|
12
12
|
* Container for breadcrumb items
|
|
13
13
|
*/
|
|
14
14
|
declare function BreadcrumbList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'ol'>):
|
|
17
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime57.JSX.Element;
|
|
18
18
|
/**
|
|
19
19
|
* Individual breadcrumb item container
|
|
20
20
|
*/
|
|
21
21
|
declare function BreadcrumbItem({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<'li'>):
|
|
24
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime57.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* Interactive breadcrumb link
|
|
27
27
|
*/
|
|
@@ -31,14 +31,14 @@ declare function BreadcrumbLink({
|
|
|
31
31
|
...props
|
|
32
32
|
}: React.ComponentProps<'a'> & {
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime57.JSX.Element;
|
|
35
35
|
/**
|
|
36
36
|
* Current page breadcrumb (non-interactive)
|
|
37
37
|
*/
|
|
38
38
|
declare function BreadcrumbPage({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'span'>):
|
|
41
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime57.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Separator between breadcrumb items
|
|
44
44
|
*/
|
|
@@ -46,14 +46,14 @@ declare function BreadcrumbSeparator({
|
|
|
46
46
|
children,
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'li'>):
|
|
49
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime57.JSX.Element;
|
|
50
50
|
/**
|
|
51
51
|
* Ellipsis for collapsed breadcrumbs
|
|
52
52
|
*/
|
|
53
53
|
declare function BreadcrumbEllipsis({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'button'>):
|
|
56
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime57.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
59
59
|
//# sourceMappingURL=breadcrumb.d.cts.map
|
package/dist/ui/breadcrumb.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime172 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/breadcrumb.d.ts
|
|
4
4
|
/**
|
|
@@ -7,21 +7,21 @@ import * as react_jsx_runtime57 from "react/jsx-runtime";
|
|
|
7
7
|
declare function Breadcrumb({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<'nav'>):
|
|
10
|
+
}: React.ComponentProps<'nav'>): react_jsx_runtime172.JSX.Element;
|
|
11
11
|
/**
|
|
12
12
|
* Container for breadcrumb items
|
|
13
13
|
*/
|
|
14
14
|
declare function BreadcrumbList({
|
|
15
15
|
className,
|
|
16
16
|
...props
|
|
17
|
-
}: React.ComponentProps<'ol'>):
|
|
17
|
+
}: React.ComponentProps<'ol'>): react_jsx_runtime172.JSX.Element;
|
|
18
18
|
/**
|
|
19
19
|
* Individual breadcrumb item container
|
|
20
20
|
*/
|
|
21
21
|
declare function BreadcrumbItem({
|
|
22
22
|
className,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<'li'>):
|
|
24
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime172.JSX.Element;
|
|
25
25
|
/**
|
|
26
26
|
* Interactive breadcrumb link
|
|
27
27
|
*/
|
|
@@ -31,14 +31,14 @@ declare function BreadcrumbLink({
|
|
|
31
31
|
...props
|
|
32
32
|
}: React.ComponentProps<'a'> & {
|
|
33
33
|
asChild?: boolean;
|
|
34
|
-
}):
|
|
34
|
+
}): react_jsx_runtime172.JSX.Element;
|
|
35
35
|
/**
|
|
36
36
|
* Current page breadcrumb (non-interactive)
|
|
37
37
|
*/
|
|
38
38
|
declare function BreadcrumbPage({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<'span'>):
|
|
41
|
+
}: React.ComponentProps<'span'>): react_jsx_runtime172.JSX.Element;
|
|
42
42
|
/**
|
|
43
43
|
* Separator between breadcrumb items
|
|
44
44
|
*/
|
|
@@ -46,14 +46,14 @@ declare function BreadcrumbSeparator({
|
|
|
46
46
|
children,
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React.ComponentProps<'li'>):
|
|
49
|
+
}: React.ComponentProps<'li'>): react_jsx_runtime172.JSX.Element;
|
|
50
50
|
/**
|
|
51
51
|
* Ellipsis for collapsed breadcrumbs
|
|
52
52
|
*/
|
|
53
53
|
declare function BreadcrumbEllipsis({
|
|
54
54
|
className,
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'button'>):
|
|
56
|
+
}: React.ComponentProps<'button'>): react_jsx_runtime172.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator };
|
|
59
59
|
//# sourceMappingURL=breadcrumb.d.mts.map
|
package/dist/ui/breadcrumb.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{t as e}from"../dist-
|
|
1
|
+
"use client";import{t as e}from"../dist-D2ydYRc4.mjs";import{cn as t}from"@customafk/react-toolkit/utils";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{ChevronRight as i,MoreHorizontal as a}from"lucide-react";function o({className:e,...r}){return n(`nav`,{"aria-label":`breadcrumb`,"data-slot":`breadcrumb`,className:t(``,e),...r})}function s({className:e,...r}){return n(`ol`,{"data-slot":`breadcrumb-list`,className:t(`flex flex-wrap items-center gap-1.5 sm:gap-2.5`,`text-sm break-words`,`text-text-positive-weak`,e),...r})}function c({className:e,...r}){return n(`li`,{"data-slot":`breadcrumb-item`,className:t(`inline-flex items-center gap-1.5`,e),...r})}function l({asChild:r,className:i,...a}){return n(r?e:`a`,{"data-slot":`breadcrumb-link`,className:t(`text-text-positive-weak`,`transition-colors duration-150`,`hover:text-text-positive focus-visible:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`rounded-sm`,i),...a})}function u({className:e,...r}){return n(`span`,{"data-slot":`breadcrumb-page`,"aria-current":`page`,className:t(`text-text-positive-strong font-medium`,e),...r})}function d({children:e,className:r,...a}){return n(`li`,{"data-slot":`breadcrumb-separator`,role:`presentation`,"aria-hidden":`true`,className:t(`text-text-positive-muted`,`[&>svg]:size-3.5`,r),...a,children:e??n(i,{})})}function f({className:e,...i}){return r(`button`,{"data-slot":`breadcrumb-ellipsis`,type:`button`,className:t(`flex items-center justify-center`,`size-8 rounded-sm`,`text-text-positive-weak`,`hover:bg-secondary-muted hover:text-text-positive`,`focus-visible:ring-ring focus:outline-none focus-visible:ring-2 focus-visible:ring-offset-1`,`transition-colors duration-150`,e),...i,children:[n(a,{className:`size-4`}),n(`span`,{className:`sr-only`,children:`Show more breadcrumbs`})]})}export{o as Breadcrumb,f as BreadcrumbEllipsis,c as BreadcrumbItem,l as BreadcrumbLink,s as BreadcrumbList,u as BreadcrumbPage,d as BreadcrumbSeparator};
|
|
2
2
|
//# sourceMappingURL=breadcrumb.mjs.map
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Separator } from "../separator-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Separator } from "../separator-DiP2uw3M.cjs";
|
|
2
|
+
import * as react_jsx_runtime16 from "react/jsx-runtime";
|
|
3
3
|
import * as class_variance_authority_types0 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
@@ -11,19 +11,19 @@ declare function ButtonGroup({
|
|
|
11
11
|
className,
|
|
12
12
|
orientation,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime16.JSX.Element;
|
|
15
15
|
declare function ButtonGroupText({
|
|
16
16
|
className,
|
|
17
17
|
asChild,
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<'div'> & {
|
|
20
20
|
asChild?: boolean;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime16.JSX.Element;
|
|
22
22
|
declare function ButtonGroupSeparator({
|
|
23
23
|
className,
|
|
24
24
|
orientation,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Separator>):
|
|
26
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime16.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
29
29
|
//# sourceMappingURL=button-group.d.cts.map
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
import { t as Separator } from "../separator-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Separator } from "../separator-Be9cbVN8.mjs";
|
|
2
|
+
import * as react_jsx_runtime92 from "react/jsx-runtime";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
|
-
import * as
|
|
4
|
+
import * as class_variance_authority_types1 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/button-group.d.ts
|
|
7
7
|
declare const buttonGroupVariants: (props?: ({
|
|
8
8
|
orientation?: "vertical" | "horizontal" | null | undefined;
|
|
9
|
-
} &
|
|
9
|
+
} & class_variance_authority_types1.ClassProp) | undefined) => string;
|
|
10
10
|
declare function ButtonGroup({
|
|
11
11
|
className,
|
|
12
12
|
orientation,
|
|
13
13
|
...props
|
|
14
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>):
|
|
14
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof buttonGroupVariants>): react_jsx_runtime92.JSX.Element;
|
|
15
15
|
declare function ButtonGroupText({
|
|
16
16
|
className,
|
|
17
17
|
asChild,
|
|
18
18
|
...props
|
|
19
19
|
}: React.ComponentProps<'div'> & {
|
|
20
20
|
asChild?: boolean;
|
|
21
|
-
}):
|
|
21
|
+
}): react_jsx_runtime92.JSX.Element;
|
|
22
22
|
declare function ButtonGroupSeparator({
|
|
23
23
|
className,
|
|
24
24
|
orientation,
|
|
25
25
|
...props
|
|
26
|
-
}: React.ComponentProps<typeof Separator>):
|
|
26
|
+
}: React.ComponentProps<typeof Separator>): react_jsx_runtime92.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, buttonGroupVariants };
|
|
29
29
|
//# sourceMappingURL=button-group.d.mts.map
|
package/dist/ui/button-group.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{t as e}from"../dist-
|
|
1
|
+
import{t as e}from"../dist-D2ydYRc4.mjs";import{t}from"../separator-Bf0gymN4.mjs";import{cn as n}from"@customafk/react-toolkit/utils";import{jsx as r}from"react/jsx-runtime";import{cva as i}from"class-variance-authority";const a=i(`flex w-fit items-stretch *:focus-visible:relative *:focus-visible:z-10 has-[>[data-slot=button-group]]:gap-2 has-[select[aria-hidden=true]:last-child]:[&>[data-slot=select-trigger]:last-of-type]:rounded-r-md [&>[data-slot=select-trigger]:not([class*='w-'])]:w-fit [&>input]:flex-1`,{variants:{orientation:{horizontal:`[&>*:not(:first-child)]:rounded-l-none [&>*:not(:first-child)]:border-l-0 [&>*:not(:last-child)]:rounded-r-none`,vertical:`flex-col [&>*:not(:first-child)]:rounded-t-none [&>*:not(:first-child)]:border-t-0 [&>*:not(:last-child)]:rounded-b-none`}},defaultVariants:{orientation:`horizontal`}});function o({className:e,orientation:t,...i}){return r(`div`,{role:`group`,"data-slot":`button-group`,"data-orientation":t,className:n(a({orientation:t}),e),...i})}function s({className:t,asChild:i=!1,...a}){return r(i?e:`div`,{className:n(`flex items-center gap-2 rounded-md border border-border bg-muted px-4 font-medium text-sm shadow-xs [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none`,t),...a})}function c({className:e,orientation:i=`vertical`,...a}){return r(t,{"data-slot":`button-group-separator`,orientation:i,className:n(`relative m-0! self-stretch bg-muted-muted data-[orientation=vertical]:h-auto`,e),...a})}export{o as ButtonGroup,c as ButtonGroupSeparator,s as ButtonGroupText,a as buttonGroupVariants};
|
|
2
2
|
//# sourceMappingURL=button-group.mjs.map
|
package/dist/ui/button.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonProps, t as Button } from "../button-
|
|
1
|
+
import { n as ButtonProps, t as Button } from "../button-C8HSrN_3.cjs";
|
|
2
2
|
export { Button, ButtonProps };
|
package/dist/ui/button.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as ButtonProps, t as Button } from "../button-
|
|
1
|
+
import { n as ButtonProps, t as Button } from "../button-vNDXA78a.mjs";
|
|
2
2
|
export { Button, ButtonProps };
|
package/dist/ui/button.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../button.variants-
|
|
1
|
+
"use client";import"../button.variants-CgCCe7qb.mjs";import{t as e}from"../button-JJaTl28Z.mjs";export{e as Button};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../button.variants-
|
|
1
|
+
import"../../button.variants-CgCCe7qb.mjs";import{t as e}from"../../button-JJaTl28Z.mjs";import{Paragraph as t}from"../../typography/paragraph.mjs";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{PlusIcon as i}from"lucide-react";const a=({onClick:a=()=>{}})=>r(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[n(i,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),n(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Create`})]});export{a as AddNewBtn};
|
|
2
2
|
//# sourceMappingURL=add-new.mjs.map
|
package/dist/ui/buttons/edit.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../button.variants-
|
|
1
|
+
import"../../button.variants-CgCCe7qb.mjs";import{t as e}from"../../button-JJaTl28Z.mjs";import{jsx as t}from"react/jsx-runtime";import{Edit2Icon as n}from"lucide-react";const r=({onClick:r})=>t(e,{"aria-label":`Chỉnh sửa`,variant:`ghost`,color:`secondary`,size:`icon`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:t(n,{size:16,className:`opacity-60`})});export{r as EditBtn};
|
|
2
2
|
//# sourceMappingURL=edit.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../button.variants-
|
|
1
|
+
import"../../button.variants-CgCCe7qb.mjs";import{t as e}from"../../button-JJaTl28Z.mjs";import{Paragraph as t}from"../../typography/paragraph.mjs";import{jsx as n,jsxs as r}from"react/jsx-runtime";import{RefreshCwIcon as i}from"lucide-react";const a=({onClick:a=()=>{}})=>r(e,{"aria-label":`Tạo mới`,variant:`outline`,color:`muted`,className:`outline-border-weak max-sm:aspect-square max-sm:size-9 max-sm:p-0`,onClick:a,children:[n(i,{className:`opacity-60 sm:-ms-1`,size:16,"aria-hidden":`true`}),n(t,{variant:`sm`,className:`max-sm:sr-only`,children:`Reset`})]});export{a as RefreshBtn};
|
|
2
2
|
//# sourceMappingURL=refresh.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../button.variants-
|
|
1
|
+
import"../../button.variants-CgCCe7qb.mjs";import{t as e}from"../../button-JJaTl28Z.mjs";import{jsx as t}from"react/jsx-runtime";import{Trash2Icon as n}from"lucide-react";const r=({onClick:r})=>t(e,{"aria-label":`Xoá`,variant:`ghost`,size:`icon`,color:`secondary`,className:`max-sm:aspect-square max-sm:p-0`,onClick:r,children:t(n,{size:16,className:`opacity-60`,"aria-hidden":`true`})});export{r as TrashBtn};
|
|
2
2
|
//# sourceMappingURL=trash.mjs.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import"../../button.variants-
|
|
1
|
+
import"../../button.variants-CgCCe7qb.mjs";import{t as e}from"../../button-JJaTl28Z.mjs";import{jsx as t}from"react/jsx-runtime";import{UploadIcon as n}from"lucide-react";const r=({size:r=`5rem`,onClick:i})=>t(e,{style:{width:r,height:r},variant:`outline`,color:`muted`,onClick:i,children:t(n,{className:`size-6`})});export{r as UploadImageBtn};
|
|
2
2
|
//# sourceMappingURL=upload-image.mjs.map
|
package/dist/ui/calendar.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-C8HSrN_3.cjs";
|
|
2
|
+
import * as react_jsx_runtime64 from "react/jsx-runtime";
|
|
3
3
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/calendar.d.ts
|
|
@@ -9,7 +9,7 @@ declare const CalendarDayButton: ({
|
|
|
9
9
|
modifiers,
|
|
10
10
|
color: _,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof DayButton>) =>
|
|
12
|
+
}: React.ComponentProps<typeof DayButton>) => react_jsx_runtime64.JSX.Element;
|
|
13
13
|
declare function Calendar({
|
|
14
14
|
className,
|
|
15
15
|
classNames,
|
|
@@ -21,7 +21,7 @@ declare function Calendar({
|
|
|
21
21
|
...props
|
|
22
22
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
23
23
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime64.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Calendar, CalendarDayButton };
|
|
27
27
|
//# sourceMappingURL=calendar.d.cts.map
|
package/dist/ui/calendar.d.mts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-vNDXA78a.mjs";
|
|
2
|
+
import * as react_jsx_runtime56 from "react/jsx-runtime";
|
|
3
3
|
import { DayButton, DayPicker } from "react-day-picker";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/calendar.d.ts
|
|
@@ -9,7 +9,7 @@ declare const CalendarDayButton: ({
|
|
|
9
9
|
modifiers,
|
|
10
10
|
color: _,
|
|
11
11
|
...props
|
|
12
|
-
}: React.ComponentProps<typeof DayButton>) =>
|
|
12
|
+
}: React.ComponentProps<typeof DayButton>) => react_jsx_runtime56.JSX.Element;
|
|
13
13
|
declare function Calendar({
|
|
14
14
|
className,
|
|
15
15
|
classNames,
|
|
@@ -21,7 +21,7 @@ declare function Calendar({
|
|
|
21
21
|
...props
|
|
22
22
|
}: React.ComponentProps<typeof DayPicker> & {
|
|
23
23
|
buttonVariant?: React.ComponentProps<typeof Button>['variant'];
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime56.JSX.Element;
|
|
25
25
|
//#endregion
|
|
26
26
|
export { Calendar, CalendarDayButton };
|
|
27
27
|
//# sourceMappingURL=calendar.d.mts.map
|
package/dist/ui/calendar.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import{n as e}from"../button.variants-
|
|
1
|
+
"use client";import{n as e}from"../button.variants-CgCCe7qb.mjs";import{t}from"../button-JJaTl28Z.mjs";import{cn as n}from"@customafk/react-toolkit/utils";import{jsx as r}from"react/jsx-runtime";import{ChevronDownIcon as i,ChevronLeftIcon as a,ChevronRightIcon as o}from"lucide-react";import{useEffect as s,useRef as c}from"react";import{DayPicker as l,getDefaultClassNames as u}from"react-day-picker";const d=({rootRef:e,className:t,...i})=>r(`div`,{"data-slot":`calendar`,ref:e,className:n(t),...i}),f=e=>e.orientation===`left`?r(a,{size:16,className:e.className,...e}):e.orientation===`right`?r(o,{size:16,className:e.className,...e}):r(i,{size:16,className:e.className,...e}),p=({className:e,day:i,modifiers:a,color:o,...l})=>{let d=u(),f=c(null);return s(()=>{a.focused&&f.current?.focus()},[a.focused]),r(t,{ref:f,variant:`ghost`,color:`muted`,size:`icon`,"data-day":i.date.toLocaleDateString(),"data-selected-single":a.selected&&!a.range_start&&!a.range_end&&!a.range_middle,"data-range-start":a.range_start,"data-range-end":a.range_end,"data-range-middle":a.range_middle,className:n(`flex aspect-square size-auto w-full min-w-(--cell-size) flex-col gap-1 font-normal leading-none`,`data-[selected-single=true]:bg-primary`,`data-[selected-single=true]:text-white`,`data-[range-middle=true]:bg-muted-muted`,`data-[range-middle=true]:text-text-positive`,`data-[range-start=true]:bg-primary-muted`,`data-[range-start=true]:text-text-positive-strong`,`data-[range-end=true]:bg-primary`,`data-[range-end=true]:text-text-positive-strong`,`group-data-[focused=true]/day:border-primary-strong`,`group-data-[focused=true]/day:ring-primary-weak`,`group-data-[focused=true]/day:relative`,`group-data-[focused=true]/day:z-10`,`group-data-[focused=true]/day:ring-[3px]`,`data-[range-end=true]:rounded-md`,`data-[range-end=true]:rounded-r-md`,`data-[range-middle=true]:rounded-none`,`data-[range-start=true]:rounded-md`,`data-[range-start=true]:rounded-l-md`,`[&>span]:text-xs [&>span]:opacity-70`,d.day,e),...l})},m=({children:e,...t})=>r(`td`,{...t,children:r(`div`,{className:`flex size-(--cell-size) items-center justify-center text-center`,children:e})});function h({className:t,classNames:i,showOutsideDays:a=!0,captionLayout:o=`label`,buttonVariant:s=`ghost`,formatters:c,components:h,...g}){let _=u();return r(l,{showOutsideDays:a,className:n(`group/calendar bg-background p-3`,`[--cell-size:--spacing(8)]`,`in-data-[slot=card-content]:bg-transparent`,`in-data-[slot=popover-content]:bg-transparent`,String.raw`rtl:**:[.rdp-button\_next>svg]:rotate-180`,String.raw`rtl:**:[.rdp-button\_previous>svg]:rotate-180`,t),captionLayout:o,formatters:{formatMonthDropdown:e=>e.toLocaleString(`default`,{month:`short`}),...c},classNames:{root:n(`w-fit`,_.root),months:n(`flex gap-4 flex-col md:flex-row relative`,_.months),month:n(`flex flex-col w-full gap-4`,_.month),nav:n(`flex items-center gap-1 w-full absolute top-0 inset-x-0 justify-between`,_.nav),button_previous:n(e({variant:`outline`,color:`muted`}),`size-(--cell-size) aria-disabled:opacity-50 p-0 select-none`,_.button_previous),button_next:n(e({variant:`outline`,color:`muted`}),`size-(--cell-size) aria-disabled:opacity-50 p-0 select-none`,_.button_next),month_caption:n(`flex items-center justify-center h-(--cell-size) w-full px-(--cell-size)`,_.month_caption),dropdowns:n(`w-full flex items-center text-sm font-medium justify-center h-(--cell-size) gap-1.5`,_.dropdowns),dropdown_root:n(`relative has-focus:border-primary-strong border border-border-weak shadow-xs has-focus:ring-primary-weak has-focus:ring-[3px] rounded-md`,_.dropdown_root),dropdown:n(`absolute inset-0 opacity-0`,_.dropdown),caption_label:n(`select-none font-medium`,o===`label`&&`text-sm`,o!==`label`&&`rounded-md shadow-xs px-2 flex items-center gap-0.5 text-sm h-8 [&>svg]:text-text-positive [&>svg]:size-3.5`,_.caption_label),table:`w-full border-collapse`,weekdays:n(`flex`,_.weekdays),weekday:n(`text-text-positive rounded-md flex-1 font-normal text-[0.8rem] select-none`,_.weekday),week:n(`flex w-full mt-2`,_.week),week_number_header:n(`select-none w-(--cell-size)`,_.week_number_header),week_number:n(`text-[0.8rem] select-none text-text-positive`,_.week_number),day:n(`relative w-full h-full p-0 text-center [&:first-child[data-selected=true]_button]:rounded-l-md [&:last-child[data-selected=true]_button]:rounded-r-md group/day aspect-square select-none`,_.day),range_start:n(`rounded-l-md bg-muted-muted`,_.range_start),range_middle:n(`rounded-none`,_.range_middle),range_end:n(`rounded-r-md bg-muted-muted`,_.range_end),today:n(`bg-muted-muted text-text-positive rounded-md data-[selected=true]:rounded-none`,_.today),outside:n(`[&>button]:text-text-positive-muted aria-selected:text-text-positive`),disabled:n(`bg-muted-muted text-text-positive opacity-50`,_.disabled),hidden:n(`invisible`,_.hidden),...i},components:{Root:d,Chevron:f,DayButton:p,WeekNumber:m,...h},...g})}export{h as Calendar,p as CalendarDayButton};
|
|
2
2
|
//# sourceMappingURL=calendar.mjs.map
|
package/dist/ui/card.d.cts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime93 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/card.d.ts
|
|
4
4
|
declare function Card({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<'div'>):
|
|
7
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
8
8
|
declare function CardHeader({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<'div'>):
|
|
11
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
12
12
|
declare function CardTitle({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'div'>):
|
|
15
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
16
16
|
declare function CardDescription({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<'div'>):
|
|
19
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
20
20
|
declare function CardAction({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<'div'>):
|
|
23
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
24
24
|
declare function CardContent({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<'div'>):
|
|
27
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
28
28
|
declare function CardFooter({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'div'>):
|
|
31
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime93.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
34
34
|
//# sourceMappingURL=card.d.cts.map
|
package/dist/ui/card.d.mts
CHANGED
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime134 from "react/jsx-runtime";
|
|
2
2
|
|
|
3
3
|
//#region packages/components/ui/card.d.ts
|
|
4
4
|
declare function Card({
|
|
5
5
|
className,
|
|
6
6
|
...props
|
|
7
|
-
}: React.ComponentProps<'div'>):
|
|
7
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
8
8
|
declare function CardHeader({
|
|
9
9
|
className,
|
|
10
10
|
...props
|
|
11
|
-
}: React.ComponentProps<'div'>):
|
|
11
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
12
12
|
declare function CardTitle({
|
|
13
13
|
className,
|
|
14
14
|
...props
|
|
15
|
-
}: React.ComponentProps<'div'>):
|
|
15
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
16
16
|
declare function CardDescription({
|
|
17
17
|
className,
|
|
18
18
|
...props
|
|
19
|
-
}: React.ComponentProps<'div'>):
|
|
19
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
20
20
|
declare function CardAction({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<'div'>):
|
|
23
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
24
24
|
declare function CardContent({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<'div'>):
|
|
27
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
28
28
|
declare function CardFooter({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: React.ComponentProps<'div'>):
|
|
31
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime134.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle };
|
|
34
34
|
//# sourceMappingURL=card.d.mts.map
|
package/dist/ui/card.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import{a as e,i as t,n,o as r,r as i,s as a,t as o}from"../card-
|
|
1
|
+
import{a as e,i as t,n,o as r,r as i,s as a,t as o}from"../card-C8fcblBB.mjs";export{o as Card,n as CardAction,i as CardContent,t as CardDescription,e as CardFooter,r as CardHeader,a as CardTitle};
|
package/dist/ui/carousel.d.cts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Button } from "../button-C8HSrN_3.cjs";
|
|
2
|
+
import * as react_jsx_runtime116 from "react/jsx-runtime";
|
|
3
3
|
import useEmblaCarousel, { UseEmblaCarouselType } from "embla-carousel-react";
|
|
4
4
|
|
|
5
5
|
//#region packages/components/ui/carousel.d.ts
|
|
@@ -21,27 +21,27 @@ declare function Carousel({
|
|
|
21
21
|
className,
|
|
22
22
|
children,
|
|
23
23
|
...props
|
|
24
|
-
}: React.ComponentProps<'div'> & CarouselProps):
|
|
24
|
+
}: React.ComponentProps<'div'> & CarouselProps): react_jsx_runtime116.JSX.Element;
|
|
25
25
|
declare function CarouselContent({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React.ComponentProps<'div'>):
|
|
28
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime116.JSX.Element;
|
|
29
29
|
declare function CarouselItem({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react_jsx_runtime116.JSX.Element;
|
|
33
33
|
declare function CarouselPrevious({
|
|
34
34
|
className,
|
|
35
35
|
variant,
|
|
36
36
|
size,
|
|
37
37
|
...props
|
|
38
|
-
}: React.ComponentProps<typeof Button>):
|
|
38
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime116.JSX.Element;
|
|
39
39
|
declare function CarouselNext({
|
|
40
40
|
className,
|
|
41
41
|
variant,
|
|
42
42
|
size,
|
|
43
43
|
...props
|
|
44
|
-
}: React.ComponentProps<typeof Button>):
|
|
44
|
+
}: React.ComponentProps<typeof Button>): react_jsx_runtime116.JSX.Element;
|
|
45
45
|
//#endregion
|
|
46
46
|
export { Carousel, type CarouselApi, CarouselContent, CarouselItem, CarouselNext, CarouselPrevious };
|
|
47
47
|
//# sourceMappingURL=carousel.d.cts.map
|