@customafk/lunas-ui 0.2.29 → 0.2.30
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-6_f_JgU-.cjs → alert-4rfsFtN6.cjs} +1 -1
- package/dist/{alert-6_f_JgU-.cjs.map → alert-4rfsFtN6.cjs.map} +1 -1
- package/dist/{alert-CoqYPXj9.d.mts → alert-B7978FZb.d.mts} +5 -5
- package/dist/{alert-BSAtkBnX.mjs → alert-BC5Nss8t.mjs} +1 -1
- package/dist/{alert-BSAtkBnX.mjs.map → alert-BC5Nss8t.mjs.map} +1 -1
- package/dist/{alert-Dd7Y-D3i.d.cts → alert-DOsSwv1-.d.cts} +7 -7
- package/dist/{badge-Dl868_wL.d.cts → badge-Bt62wY4t.d.cts} +5 -5
- package/dist/{badge-sImNCIvF.d.mts → badge-DXiJn9XY.d.mts} +5 -5
- package/dist/{button-z2O6bEzH.d.cts → button-BHCmEoty.d.cts} +3 -3
- package/dist/{button-DWkaxRDs.d.mts → button-CPYKtYVF.d.mts} +3 -3
- package/dist/{calendar-ChaYPTJO.cjs → calendar-Bt0rlJ89.cjs} +1 -1
- package/dist/{calendar-ChaYPTJO.cjs.map → calendar-Bt0rlJ89.cjs.map} +1 -1
- package/dist/{calendar-CHVujBHK.mjs → calendar-D8aRFw_F.mjs} +1 -1
- package/dist/{calendar-CHVujBHK.mjs.map → calendar-D8aRFw_F.mjs.map} +1 -1
- package/dist/{cms-layout-COfACv3M.cjs → cms-layout-DDs0pHWh.cjs} +1 -1
- package/dist/{cms-layout-COfACv3M.cjs.map → cms-layout-DDs0pHWh.cjs.map} +1 -1
- package/dist/{cms-layout--NUD8VVh.mjs → cms-layout-DHzRHAoI.mjs} +1 -1
- package/dist/{cms-layout--NUD8VVh.mjs.map → cms-layout-DHzRHAoI.mjs.map} +1 -1
- package/dist/data-display/country.d.mts +1 -1
- package/dist/data-display/role-badge.d.mts +1 -1
- package/dist/data-display/statistic.d.cts +5 -5
- package/dist/{dialog-D2c7yEsc.d.cts → dialog-CEaSFdY9.d.cts} +12 -12
- package/dist/{dialog-AbuDG2Gq.d.mts → dialog-DWWtnPg0.d.mts} +12 -12
- package/dist/dialogs/detail-dialog/components/sidebar.d.cts +24 -24
- package/dist/dialogs/detail-dialog/components/sidebar.d.mts +24 -24
- package/dist/drawer-C3o6IEeq.cjs +2 -0
- package/dist/drawer-C3o6IEeq.cjs.map +1 -0
- package/dist/drawer-j9wcVE50.mjs +2 -0
- package/dist/drawer-j9wcVE50.mjs.map +1 -0
- package/dist/features/descriptions/index.d.cts +6 -6
- package/dist/features/descriptions/index.d.mts +4 -4
- package/dist/features/search-modal/index.d.cts +2 -2
- package/dist/features/tables/index.d.cts +1 -1
- package/dist/features/tables/index.d.mts +2 -2
- package/dist/features/tanstack-form/index.cjs +1 -1
- package/dist/features/tanstack-form/index.d.cts +1 -1
- package/dist/features/tanstack-form/index.d.mts +1 -1
- package/dist/features/tanstack-form/index.mjs +1 -1
- package/dist/features/text-editor/index.cjs +1 -1
- package/dist/features/text-editor/index.d.cts +1 -1
- package/dist/features/text-editor/index.d.mts +1 -1
- package/dist/features/text-editor/index.mjs +1 -1
- package/dist/{field-Bh7Hq4Lo.mjs → field-B8RhxRCu.mjs} +1 -1
- package/dist/{field-Bh7Hq4Lo.mjs.map → field-B8RhxRCu.mjs.map} +1 -1
- package/dist/{field-DTGEedKl.cjs → field-BxFpcOV1.cjs} +1 -1
- package/dist/{field-DTGEedKl.cjs.map → field-BxFpcOV1.cjs.map} +1 -1
- package/dist/{index-CtKNb2-t.d.cts → index-BJiTJozG.d.cts} +546 -312
- package/dist/{index-C3dXDjdR.d.mts → index-Cotq70wL.d.cts} +6 -6
- package/dist/{index-Bz9af9gx.d.mts → index-D6UbdtXa.d.mts} +546 -312
- package/dist/{index-rE1M5FGs.d.mts → index-DDYTIEq3.d.mts} +28 -28
- package/dist/{index-Lok5xVt2.d.cts → index-DpqGxieY.d.cts} +27 -27
- package/dist/{index-DMUr1T2A.d.cts → index-TvuUzBSW.d.mts} +6 -6
- package/dist/index.cjs +1 -1
- package/dist/index.d.cts +8 -8
- package/dist/index.d.mts +8 -8
- package/dist/index.mjs +1 -1
- package/dist/{input-ZL65yvYU.d.mts → input-B4ZV1tKO.d.cts} +6 -6
- package/dist/{input-DtUFTR6j.d.cts → input-Che86SWz.d.mts} +6 -6
- package/dist/layouts/cms-layout/index.cjs +1 -1
- package/dist/layouts/cms-layout/index.mjs +1 -1
- package/dist/layouts/flex.d.cts +5 -5
- package/dist/layouts/payment-layout/index.cjs +1 -1
- package/dist/layouts/payment-layout/index.mjs +1 -1
- package/dist/pages/FeatureDeveloping.d.cts +2 -2
- package/dist/pages/FeatureDeveloping.d.mts +2 -2
- package/dist/pages/FeatureFixing.d.cts +2 -2
- package/dist/pages/FeatureFixing.d.mts +2 -2
- package/dist/pages/LoginPage.cjs +1 -1
- package/dist/pages/LoginPage.d.cts +2 -2
- package/dist/pages/LoginPage.d.mts +2 -2
- package/dist/pages/LoginPage.mjs +1 -1
- package/dist/pages/NotAuthorized.d.cts +2 -2
- package/dist/pages/NotAuthorized.d.mts +2 -2
- package/dist/pages/NotFound.d.cts +2 -2
- package/dist/pages/NotFound.d.mts +2 -2
- package/dist/pages/RegisterPage.cjs +1 -1
- package/dist/pages/RegisterPage.d.cts +2 -2
- package/dist/pages/RegisterPage.d.mts +2 -2
- package/dist/pages/RegisterPage.mjs +1 -1
- package/dist/pages/VerifyEmailPage.cjs +1 -1
- package/dist/pages/VerifyEmailPage.d.cts +2 -2
- package/dist/pages/VerifyEmailPage.d.mts +2 -2
- package/dist/pages/VerifyEmailPage.mjs +1 -1
- package/dist/{payment-layout-8rRJJa0f.cjs → payment-layout-BkSC6JkI.cjs} +1 -1
- package/dist/{payment-layout-8rRJJa0f.cjs.map → payment-layout-BkSC6JkI.cjs.map} +1 -1
- package/dist/{payment-layout-BdGZbGO-.mjs → payment-layout-CafCw6lS.mjs} +1 -1
- package/dist/{payment-layout-BdGZbGO-.mjs.map → payment-layout-CafCw6lS.mjs.map} +1 -1
- package/dist/{radio-group-KMvVXCIk.cjs → radio-group-Bv6w2woK.cjs} +1 -1
- package/dist/{radio-group-KMvVXCIk.cjs.map → radio-group-Bv6w2woK.cjs.map} +1 -1
- package/dist/{radio-group-CsmpBZTK.mjs → radio-group-KR6Ck-B9.mjs} +1 -1
- package/dist/{radio-group-CsmpBZTK.mjs.map → radio-group-KR6Ck-B9.mjs.map} +1 -1
- package/dist/switch-0-9Zt33o.cjs +2 -0
- package/dist/switch-0-9Zt33o.cjs.map +1 -0
- package/dist/switch-DHsjxnFP.mjs +2 -0
- package/dist/switch-DHsjxnFP.mjs.map +1 -0
- package/dist/tables-BQ-QiA1V.mjs.map +1 -1
- package/dist/tables-LRWPOv2a.cjs.map +1 -1
- package/dist/tanstack-form-B9CugNS5.cjs +2 -0
- package/dist/tanstack-form-B9CugNS5.cjs.map +1 -0
- package/dist/tanstack-form-DJ90sBFl.mjs +2 -0
- package/dist/tanstack-form-DJ90sBFl.mjs.map +1 -0
- package/dist/{text-editor-Dy3_hyNw.cjs → text-editor-CE_GkI7o.cjs} +1 -1
- package/dist/{text-editor-Dy3_hyNw.cjs.map → text-editor-CE_GkI7o.cjs.map} +1 -1
- package/dist/{text-editor-D182J9Y5.mjs → text-editor-CqC44BkO.mjs} +1 -1
- package/dist/{text-editor-D182J9Y5.mjs.map → text-editor-CqC44BkO.mjs.map} +1 -1
- package/dist/{textarea-SPXNe-iZ.cjs → textarea-BB2WynyM.cjs} +1 -1
- package/dist/{textarea-SPXNe-iZ.cjs.map → textarea-BB2WynyM.cjs.map} +1 -1
- package/dist/{textarea-Cvdq7UAn.mjs → textarea-D0-Gltw6.mjs} +1 -1
- package/dist/{textarea-Cvdq7UAn.mjs.map → textarea-D0-Gltw6.mjs.map} +1 -1
- package/dist/{types-wApFGHmV.d.mts → types-B2PQbMJL.d.mts} +1 -1
- package/dist/typography/paragraph.d.cts +4 -4
- package/dist/typography/paragraph.d.mts +2 -2
- package/dist/ui/alert-dialog.d.cts +12 -12
- package/dist/ui/alert-dialog.d.mts +12 -12
- package/dist/ui/alert.cjs +1 -1
- package/dist/ui/alert.d.cts +1 -1
- package/dist/ui/alert.d.mts +1 -1
- package/dist/ui/alert.mjs +1 -1
- 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/badge.d.cts +1 -1
- package/dist/ui/badge.d.mts +1 -1
- package/dist/ui/breadcrumb.d.cts +8 -8
- package/dist/ui/breadcrumb.d.mts +8 -8
- package/dist/ui/button-group.d.cts +2 -2
- package/dist/ui/button-group.d.mts +6 -6
- package/dist/ui/button.d.cts +1 -1
- package/dist/ui/button.d.mts +1 -1
- package/dist/ui/calendar.cjs +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/carousel.d.cts +7 -7
- package/dist/ui/carousel.d.mts +7 -7
- package/dist/ui/checkbox.d.cts +2 -2
- package/dist/ui/checkbox.d.mts +2 -2
- 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/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/drawer.cjs +1 -2
- package/dist/ui/drawer.d.cts +11 -11
- package/dist/ui/drawer.d.mts +11 -11
- package/dist/ui/drawer.mjs +1 -2
- package/dist/ui/dropdown-menu.d.cts +16 -16
- package/dist/ui/dropdown-menu.d.mts +16 -16
- package/dist/ui/empty.d.cts +9 -9
- package/dist/ui/empty.d.mts +7 -7
- package/dist/ui/field.cjs +1 -1
- package/dist/ui/field.d.cts +23 -23
- package/dist/ui/field.d.mts +21 -21
- 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/form.cjs +1 -1
- package/dist/ui/form.d.cts +10 -10
- package/dist/ui/form.d.mts +10 -10
- 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/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/inputs/search-input.d.cts +1 -1
- package/dist/ui/inputs/search-input.d.mts +3 -3
- package/dist/ui/item.d.cts +14 -14
- package/dist/ui/item.d.mts +14 -14
- package/dist/ui/label.d.cts +2 -2
- package/dist/ui/label.d.mts +2 -2
- 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 +3 -3
- package/dist/ui/navigation-menu.d.cts +11 -11
- 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/popover.d.cts +6 -6
- package/dist/ui/popover.d.mts +6 -6
- package/dist/ui/progress.d.cts +2 -2
- package/dist/ui/progress.d.mts +2 -2
- package/dist/ui/radio-group.cjs +1 -1
- package/dist/ui/radio-group.d.cts +3 -3
- package/dist/ui/radio-group.d.mts +3 -3
- package/dist/ui/radio-group.mjs +1 -1
- package/dist/ui/resizable.d.cts +9 -9
- package/dist/ui/resizable.d.mts +9 -9
- package/dist/ui/scroll-area.d.cts +5 -5
- package/dist/ui/scroll-area.d.mts +5 -5
- package/dist/ui/select.d.cts +9 -9
- package/dist/ui/separator.d.cts +2 -2
- package/dist/ui/sheet.d.cts +9 -9
- package/dist/ui/sheet.d.mts +9 -9
- package/dist/ui/sidebar.cjs +1 -1
- package/dist/ui/sidebar.cjs.map +1 -1
- package/dist/ui/sidebar.d.cts +28 -28
- package/dist/ui/sidebar.d.mts +26 -26
- package/dist/ui/sidebar.mjs +1 -1
- package/dist/ui/sidebar.mjs.map +1 -1
- package/dist/ui/skeleton.d.cts +2 -2
- package/dist/ui/skeleton.d.mts +2 -2
- 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.cjs +1 -2
- package/dist/ui/switch.d.cts +2 -2
- package/dist/ui/switch.d.mts +2 -2
- package/dist/ui/switch.mjs +1 -2
- package/dist/ui/table.d.cts +17 -17
- package/dist/ui/table.d.mts +17 -17
- package/dist/ui/tabs.d.cts +5 -5
- package/dist/ui/tabs.d.mts +5 -5
- package/dist/ui/textarea.cjs +1 -1
- package/dist/ui/textarea.d.cts +2 -2
- package/dist/ui/textarea.d.mts +2 -2
- package/dist/ui/textarea.mjs +1 -1
- 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 +5 -5
- package/dist/ui/tooltip.d.mts +5 -5
- package/package.json +1 -1
- package/dist/tanstack-form-DKcuB2zr.cjs +0 -2
- package/dist/tanstack-form-DKcuB2zr.cjs.map +0 -1
- package/dist/tanstack-form-Dez1xwl5.mjs +0 -2
- package/dist/tanstack-form-Dez1xwl5.mjs.map +0 -1
- package/dist/ui/drawer.cjs.map +0 -1
- package/dist/ui/drawer.mjs.map +0 -1
- package/dist/ui/switch.cjs.map +0 -1
- package/dist/ui/switch.mjs.map +0 -1
package/dist/ui/empty.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react106 from "react";
|
|
2
2
|
import { VariantProps } from "class-variance-authority";
|
|
3
3
|
import * as class_variance_authority_types5 from "class-variance-authority/types";
|
|
4
4
|
|
|
@@ -29,12 +29,12 @@ import * as class_variance_authority_types5 from "class-variance-authority/types
|
|
|
29
29
|
declare function Empty({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React.ComponentProps<'div'>):
|
|
32
|
+
}: React.ComponentProps<'div'>): react106.JSX.Element;
|
|
33
33
|
/** Centred column container for the media, title, and description of an empty state. */
|
|
34
34
|
declare function EmptyHeader({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<'div'>):
|
|
37
|
+
}: React.ComponentProps<'div'>): react106.JSX.Element;
|
|
38
38
|
declare const emptyMediaVariants: (props?: ({
|
|
39
39
|
variant?: "default" | "icon" | null | undefined;
|
|
40
40
|
} & class_variance_authority_types5.ClassProp) | undefined) => string;
|
|
@@ -47,22 +47,22 @@ declare function EmptyMedia({
|
|
|
47
47
|
className,
|
|
48
48
|
variant,
|
|
49
49
|
...props
|
|
50
|
-
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>):
|
|
50
|
+
}: React.ComponentProps<'div'> & VariantProps<typeof emptyMediaVariants>): react106.JSX.Element;
|
|
51
51
|
/** Prominent heading text for the empty state. */
|
|
52
52
|
declare function EmptyTitle({
|
|
53
53
|
className,
|
|
54
54
|
...props
|
|
55
|
-
}: React.ComponentProps<'div'>):
|
|
55
|
+
}: React.ComponentProps<'div'>): react106.JSX.Element;
|
|
56
56
|
/** Supporting body text that explains the empty state to the user. */
|
|
57
57
|
declare function EmptyDescription({
|
|
58
58
|
className,
|
|
59
59
|
...props
|
|
60
|
-
}: React.ComponentProps<'p'>):
|
|
60
|
+
}: React.ComponentProps<'p'>): react106.JSX.Element;
|
|
61
61
|
/** Action area below the header — typically holds buttons or links to help the user proceed. */
|
|
62
62
|
declare function EmptyContent({
|
|
63
63
|
className,
|
|
64
64
|
...props
|
|
65
|
-
}: React.ComponentProps<'div'>):
|
|
65
|
+
}: React.ComponentProps<'div'>): react106.JSX.Element;
|
|
66
66
|
//#endregion
|
|
67
67
|
export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle };
|
|
68
68
|
//# sourceMappingURL=empty.d.mts.map
|
package/dist/ui/field.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const e=require(`../field-
|
|
1
|
+
"use client";require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const e=require(`../field-BxFpcOV1.cjs`);exports.Field=e.t,exports.FieldContent=e.n,exports.FieldDescription=e.r,exports.FieldError=e.i,exports.FieldGroup=e.a,exports.FieldLabel=e.o,exports.FieldLegend=e.s,exports.FieldSeparator=e.c,exports.FieldSet=e.l,exports.FieldTitle=e.u;
|
package/dist/ui/field.d.cts
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { Label } from "./label.cjs";
|
|
2
|
-
import * as
|
|
3
|
-
import * as
|
|
2
|
+
import * as react132 from "react";
|
|
3
|
+
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
4
4
|
import { VariantProps } from "class-variance-authority";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/field.d.ts
|
|
7
|
-
declare const FieldSet:
|
|
7
|
+
declare const FieldSet: react132.MemoExoticComponent<({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<"fieldset">) =>
|
|
11
|
-
declare const FieldLegend:
|
|
10
|
+
}: React.ComponentProps<"fieldset">) => react132.JSX.Element>;
|
|
11
|
+
declare const FieldLegend: react132.MemoExoticComponent<({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<"legend"> & {
|
|
16
16
|
variant?: "legend" | "label";
|
|
17
|
-
}) =>
|
|
18
|
-
declare const FieldGroup:
|
|
17
|
+
}) => react132.JSX.Element>;
|
|
18
|
+
declare const FieldGroup: react132.MemoExoticComponent<({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<"div">) =>
|
|
21
|
+
}: React.ComponentProps<"div">) => react132.JSX.Element>;
|
|
22
22
|
declare const fieldVariants: (props?: ({
|
|
23
23
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
24
|
-
} &
|
|
25
|
-
declare const Field:
|
|
24
|
+
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
25
|
+
declare const Field: react132.MemoExoticComponent<({
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) =>
|
|
30
|
-
declare const FieldContent:
|
|
29
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react132.JSX.Element>;
|
|
30
|
+
declare const FieldContent: react132.MemoExoticComponent<({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"div">) =>
|
|
34
|
-
declare const FieldLabel:
|
|
33
|
+
}: React.ComponentProps<"div">) => react132.JSX.Element>;
|
|
34
|
+
declare const FieldLabel: react132.MemoExoticComponent<({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Label>) =>
|
|
38
|
-
declare const FieldTitle:
|
|
37
|
+
}: React.ComponentProps<typeof Label>) => react132.JSX.Element>;
|
|
38
|
+
declare const FieldTitle: react132.MemoExoticComponent<({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">) =>
|
|
42
|
-
declare const FieldDescription:
|
|
41
|
+
}: React.ComponentProps<"div">) => react132.JSX.Element>;
|
|
42
|
+
declare const FieldDescription: react132.MemoExoticComponent<({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<"p">) =>
|
|
46
|
-
declare const FieldSeparator:
|
|
45
|
+
}: React.ComponentProps<"p">) => react132.JSX.Element>;
|
|
46
|
+
declare const FieldSeparator: react132.MemoExoticComponent<({
|
|
47
47
|
children,
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<"div"> & {
|
|
51
51
|
children?: React.ReactNode;
|
|
52
|
-
}) =>
|
|
53
|
-
declare const FieldError:
|
|
52
|
+
}) => react132.JSX.Element>;
|
|
53
|
+
declare const FieldError: react132.MemoExoticComponent<({
|
|
54
54
|
className,
|
|
55
55
|
children,
|
|
56
56
|
errors,
|
|
@@ -59,7 +59,7 @@ declare const FieldError: react241.MemoExoticComponent<({
|
|
|
59
59
|
errors?: Array<{
|
|
60
60
|
message?: string;
|
|
61
61
|
} | undefined>;
|
|
62
|
-
}) =>
|
|
62
|
+
}) => react132.JSX.Element | null>;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
65
65
|
//# sourceMappingURL=field.d.cts.map
|
package/dist/ui/field.d.mts
CHANGED
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import { Label } from "./label.mjs";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react136 from "react";
|
|
3
3
|
import { VariantProps } from "class-variance-authority";
|
|
4
4
|
import * as class_variance_authority_types6 from "class-variance-authority/types";
|
|
5
5
|
|
|
6
6
|
//#region packages/components/ui/field.d.ts
|
|
7
|
-
declare const FieldSet:
|
|
7
|
+
declare const FieldSet: react136.MemoExoticComponent<({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: React.ComponentProps<"fieldset">) =>
|
|
11
|
-
declare const FieldLegend:
|
|
10
|
+
}: React.ComponentProps<"fieldset">) => react136.JSX.Element>;
|
|
11
|
+
declare const FieldLegend: react136.MemoExoticComponent<({
|
|
12
12
|
className,
|
|
13
13
|
variant,
|
|
14
14
|
...props
|
|
15
15
|
}: React.ComponentProps<"legend"> & {
|
|
16
16
|
variant?: "legend" | "label";
|
|
17
|
-
}) =>
|
|
18
|
-
declare const FieldGroup:
|
|
17
|
+
}) => react136.JSX.Element>;
|
|
18
|
+
declare const FieldGroup: react136.MemoExoticComponent<({
|
|
19
19
|
className,
|
|
20
20
|
...props
|
|
21
|
-
}: React.ComponentProps<"div">) =>
|
|
21
|
+
}: React.ComponentProps<"div">) => react136.JSX.Element>;
|
|
22
22
|
declare const fieldVariants: (props?: ({
|
|
23
23
|
orientation?: "vertical" | "horizontal" | "responsive" | null | undefined;
|
|
24
24
|
} & class_variance_authority_types6.ClassProp) | undefined) => string;
|
|
25
|
-
declare const Field:
|
|
25
|
+
declare const Field: react136.MemoExoticComponent<({
|
|
26
26
|
className,
|
|
27
27
|
orientation,
|
|
28
28
|
...props
|
|
29
|
-
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) =>
|
|
30
|
-
declare const FieldContent:
|
|
29
|
+
}: React.ComponentProps<"div"> & VariantProps<typeof fieldVariants>) => react136.JSX.Element>;
|
|
30
|
+
declare const FieldContent: react136.MemoExoticComponent<({
|
|
31
31
|
className,
|
|
32
32
|
...props
|
|
33
|
-
}: React.ComponentProps<"div">) =>
|
|
34
|
-
declare const FieldLabel:
|
|
33
|
+
}: React.ComponentProps<"div">) => react136.JSX.Element>;
|
|
34
|
+
declare const FieldLabel: react136.MemoExoticComponent<({
|
|
35
35
|
className,
|
|
36
36
|
...props
|
|
37
|
-
}: React.ComponentProps<typeof Label>) =>
|
|
38
|
-
declare const FieldTitle:
|
|
37
|
+
}: React.ComponentProps<typeof Label>) => react136.JSX.Element>;
|
|
38
|
+
declare const FieldTitle: react136.MemoExoticComponent<({
|
|
39
39
|
className,
|
|
40
40
|
...props
|
|
41
|
-
}: React.ComponentProps<"div">) =>
|
|
42
|
-
declare const FieldDescription:
|
|
41
|
+
}: React.ComponentProps<"div">) => react136.JSX.Element>;
|
|
42
|
+
declare const FieldDescription: react136.MemoExoticComponent<({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: React.ComponentProps<"p">) =>
|
|
46
|
-
declare const FieldSeparator:
|
|
45
|
+
}: React.ComponentProps<"p">) => react136.JSX.Element>;
|
|
46
|
+
declare const FieldSeparator: react136.MemoExoticComponent<({
|
|
47
47
|
children,
|
|
48
48
|
className,
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<"div"> & {
|
|
51
51
|
children?: React.ReactNode;
|
|
52
|
-
}) =>
|
|
53
|
-
declare const FieldError:
|
|
52
|
+
}) => react136.JSX.Element>;
|
|
53
|
+
declare const FieldError: react136.MemoExoticComponent<({
|
|
54
54
|
className,
|
|
55
55
|
children,
|
|
56
56
|
errors,
|
|
@@ -59,7 +59,7 @@ declare const FieldError: react138.MemoExoticComponent<({
|
|
|
59
59
|
errors?: Array<{
|
|
60
60
|
message?: string;
|
|
61
61
|
} | undefined>;
|
|
62
|
-
}) =>
|
|
62
|
+
}) => react136.JSX.Element | null>;
|
|
63
63
|
//#endregion
|
|
64
64
|
export { Field, FieldContent, FieldDescription, FieldError, FieldGroup, FieldLabel, FieldLegend, FieldSeparator, FieldSet, FieldTitle };
|
|
65
65
|
//# sourceMappingURL=field.d.mts.map
|
package/dist/ui/field.mjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-
|
|
1
|
+
"use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{a as e,c as t,i as n,l as r,n as i,o as a,r as o,s,t as c,u as l}from"../field-B8RhxRCu.mjs";export{c as Field,i as FieldContent,o as FieldDescription,n as FieldError,e as FieldGroup,a as FieldLabel,s as FieldLegend,t as FieldSeparator,r as FieldSet,l as FieldTitle};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react164 from "react";
|
|
2
2
|
import { DropzoneProps } from "react-dropzone";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
97
97
|
/**
|
|
98
98
|
* A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
|
|
99
99
|
*/
|
|
100
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
100
|
+
declare function FileUploader(props: FileUploaderProps): react164.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
export { FileUploader };
|
|
103
103
|
//# sourceMappingURL=file-uploader.d.cts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react156 from "react";
|
|
2
2
|
import { DropzoneProps } from "react-dropzone";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/file-uploader.d.ts
|
|
@@ -97,7 +97,7 @@ interface FileUploaderProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
97
97
|
/**
|
|
98
98
|
* A drag-and-drop file upload zone that manages file selection, validation, preview generation, and optional async upload with progress tracking.
|
|
99
99
|
*/
|
|
100
|
-
declare function FileUploader(props: FileUploaderProps):
|
|
100
|
+
declare function FileUploader(props: FileUploaderProps): react156.JSX.Element;
|
|
101
101
|
//#endregion
|
|
102
102
|
export { FileUploader };
|
|
103
103
|
//# sourceMappingURL=file-uploader.d.mts.map
|
package/dist/ui/form.cjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const t=require(`../field-
|
|
1
|
+
"use client";const e=require(`../chunk-Bmb41Sf3.cjs`);require(`../separator-jytY1CPq.cjs`),require(`../label-BHbqbBtO.cjs`);const t=require(`../field-BxFpcOV1.cjs`);let n=require(`react`),r=require(`@customafk/react-toolkit/utils`),i=require(`react/jsx-runtime`),a=require(`radix-ui`),o=require(`react-hook-form`);const s=o.FormProvider,c=(0,n.createContext)({}),l=({...e})=>(0,i.jsx)(c.Provider,{value:{name:e.name},children:(0,i.jsx)(o.Controller,{...e})}),u=()=>{let e=(0,n.use)(c),t=(0,n.use)(d),{getFieldState:r,control:i,resetField:a}=(0,o.useFormContext)(),s=(0,o.useFormState)({name:e.name}),l=r(e.name,s);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:u}=t;return{id:u,control:i,resetField:a,name:e.name,formItemId:`${u}-form-item`,formDescriptionId:`${u}-form-item-description`,formMessageId:`${u}-form-item-message`,...l}},d=(0,n.createContext)({}),f=(0,n.memo)(({className:e,orientation:r=`responsive`,...a})=>{let o=(0,n.useId)();return(0,i.jsx)(d.Provider,{value:{id:o},children:(0,i.jsx)(t.t,{orientation:r,...a,className:e})})});f.displayName=`FormItem`;const p=(0,n.memo)(({...e})=>{let{formItemId:n}=u();return(0,i.jsx)(t.o,{htmlFor:n,...e})});p.displayName=`FormLabel`;const m=(0,n.memo)(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:o}=u();return(0,i.jsx)(a.Slot.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${o}`:`${r}`,"aria-invalid":!!t,...e})});m.displayName=`FormControl`;function h({className:e,...n}){let{formDescriptionId:a}=u();return(0,i.jsx)(t.r,{id:a,className:(0,r.cn)(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function g({className:e,children:t,...n}){let{error:a,formMessageId:o}=u();return(0,i.jsx)(`span`,{"data-slot":`form-message`,id:o,className:(0,r.cn)(`text-danger text-xs`,e),...n,children:a?String(a?.message??``):t})}exports.Form=s,exports.FormControl=m,exports.FormDescription=h,exports.FormField=l,exports.FormItem=f,exports.FormLabel=p,exports.FormMessage=g,exports.useFormField=u;
|
|
2
2
|
//# sourceMappingURL=form.cjs.map
|
package/dist/ui/form.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react152 from "react";
|
|
2
2
|
import { Label, Slot } from "radix-ui";
|
|
3
3
|
import * as react_hook_form0 from "react-hook-form";
|
|
4
4
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -57,7 +57,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
57
57
|
*/
|
|
58
58
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
59
59
|
...props
|
|
60
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
60
|
+
}: ControllerProps<TFieldValues, TName>) => react152.JSX.Element;
|
|
61
61
|
/**
|
|
62
62
|
* Hook that returns the field state and IDs for the enclosing FormField.
|
|
63
63
|
* Must be called inside a component rendered within a `<FormField>`.
|
|
@@ -81,32 +81,32 @@ declare const useFormField: () => {
|
|
|
81
81
|
*
|
|
82
82
|
* @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
|
|
83
83
|
*/
|
|
84
|
-
declare const FormItem:
|
|
84
|
+
declare const FormItem: react152.MemoExoticComponent<({
|
|
85
85
|
className,
|
|
86
86
|
orientation,
|
|
87
87
|
...props
|
|
88
88
|
}: React.ComponentProps<"div"> & {
|
|
89
89
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
90
|
-
}) =>
|
|
90
|
+
}) => react152.JSX.Element>;
|
|
91
91
|
/** Styled label automatically associated with the FormItem's control via `htmlFor`. */
|
|
92
|
-
declare const FormLabel:
|
|
92
|
+
declare const FormLabel: react152.MemoExoticComponent<({
|
|
93
93
|
...props
|
|
94
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
94
|
+
}: React.ComponentProps<typeof Label.Root>) => react152.JSX.Element>;
|
|
95
95
|
/** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
|
|
96
|
-
declare const FormControl:
|
|
96
|
+
declare const FormControl: react152.MemoExoticComponent<({
|
|
97
97
|
...props
|
|
98
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
98
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react152.JSX.Element>;
|
|
99
99
|
/** Helper text displayed below the control that provides additional context about the field. */
|
|
100
100
|
declare function FormDescription({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
|
-
}: React.ComponentProps<'p'>):
|
|
103
|
+
}: React.ComponentProps<'p'>): react152.JSX.Element;
|
|
104
104
|
/** Displays the validation error message for the field, or falls back to `children` when there is no error. */
|
|
105
105
|
declare function FormMessage({
|
|
106
106
|
className,
|
|
107
107
|
children,
|
|
108
108
|
...props
|
|
109
|
-
}: React.ComponentProps<'p'>):
|
|
109
|
+
}: React.ComponentProps<'p'>): react152.JSX.Element;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
112
112
|
//# sourceMappingURL=form.d.cts.map
|
package/dist/ui/form.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react127 from "react";
|
|
2
2
|
import { Label, Slot } from "radix-ui";
|
|
3
3
|
import * as react_hook_form0 from "react-hook-form";
|
|
4
4
|
import { ControllerProps, FieldPath, FieldValues } from "react-hook-form";
|
|
@@ -57,7 +57,7 @@ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransfor
|
|
|
57
57
|
*/
|
|
58
58
|
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({
|
|
59
59
|
...props
|
|
60
|
-
}: ControllerProps<TFieldValues, TName>) =>
|
|
60
|
+
}: ControllerProps<TFieldValues, TName>) => react127.JSX.Element;
|
|
61
61
|
/**
|
|
62
62
|
* Hook that returns the field state and IDs for the enclosing FormField.
|
|
63
63
|
* Must be called inside a component rendered within a `<FormField>`.
|
|
@@ -81,32 +81,32 @@ declare const useFormField: () => {
|
|
|
81
81
|
*
|
|
82
82
|
* @param orientation - Layout direction: `'vertical'`, `'horizontal'`, or `'responsive'` (default).
|
|
83
83
|
*/
|
|
84
|
-
declare const FormItem:
|
|
84
|
+
declare const FormItem: react127.MemoExoticComponent<({
|
|
85
85
|
className,
|
|
86
86
|
orientation,
|
|
87
87
|
...props
|
|
88
88
|
}: React.ComponentProps<"div"> & {
|
|
89
89
|
orientation?: "vertical" | "horizontal" | "responsive";
|
|
90
|
-
}) =>
|
|
90
|
+
}) => react127.JSX.Element>;
|
|
91
91
|
/** Styled label automatically associated with the FormItem's control via `htmlFor`. */
|
|
92
|
-
declare const FormLabel:
|
|
92
|
+
declare const FormLabel: react127.MemoExoticComponent<({
|
|
93
93
|
...props
|
|
94
|
-
}: React.ComponentProps<typeof Label.Root>) =>
|
|
94
|
+
}: React.ComponentProps<typeof Label.Root>) => react127.JSX.Element>;
|
|
95
95
|
/** Radix Slot wrapper that wires the correct `id`, `aria-describedby`, and `aria-invalid` attributes onto the underlying control element. */
|
|
96
|
-
declare const FormControl:
|
|
96
|
+
declare const FormControl: react127.MemoExoticComponent<({
|
|
97
97
|
...props
|
|
98
|
-
}: React.ComponentProps<typeof Slot.Slot>) =>
|
|
98
|
+
}: React.ComponentProps<typeof Slot.Slot>) => react127.JSX.Element>;
|
|
99
99
|
/** Helper text displayed below the control that provides additional context about the field. */
|
|
100
100
|
declare function FormDescription({
|
|
101
101
|
className,
|
|
102
102
|
...props
|
|
103
|
-
}: React.ComponentProps<'p'>):
|
|
103
|
+
}: React.ComponentProps<'p'>): react127.JSX.Element;
|
|
104
104
|
/** Displays the validation error message for the field, or falls back to `children` when there is no error. */
|
|
105
105
|
declare function FormMessage({
|
|
106
106
|
className,
|
|
107
107
|
children,
|
|
108
108
|
...props
|
|
109
|
-
}: React.ComponentProps<'p'>):
|
|
109
|
+
}: React.ComponentProps<'p'>): react127.JSX.Element;
|
|
110
110
|
//#endregion
|
|
111
111
|
export { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField };
|
|
112
112
|
//# sourceMappingURL=form.d.mts.map
|
package/dist/ui/form.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
"use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{o as e,r as t,t as n}from"../field-
|
|
1
|
+
"use client";import"../separator-yTKDuMWb.mjs";import"../label-CE2m0U_j.mjs";import{o as e,r as t,t as n}from"../field-B8RhxRCu.mjs";import{createContext as r,memo as i,use as a,useId as o}from"react";import{cn as s}from"@customafk/react-toolkit/utils";import{jsx as c}from"react/jsx-runtime";import{Slot as l}from"radix-ui";import{Controller as u,FormProvider as d,useFormContext as f,useFormState as p}from"react-hook-form";const m=d,h=r({}),g=({...e})=>c(h.Provider,{value:{name:e.name},children:c(u,{...e})}),_=()=>{let e=a(h),t=a(v),{getFieldState:n,control:r,resetField:i}=f(),o=p({name:e.name}),s=n(e.name,o);if(!e)throw Error(`useFormField should be used within <FormField>`);let{id:c}=t;return{id:c,control:r,resetField:i,name:e.name,formItemId:`${c}-form-item`,formDescriptionId:`${c}-form-item-description`,formMessageId:`${c}-form-item-message`,...s}},v=r({}),y=i(({className:e,orientation:t=`responsive`,...r})=>{let i=o();return c(v.Provider,{value:{id:i},children:c(n,{orientation:t,...r,className:e})})});y.displayName=`FormItem`;const b=i(({...t})=>{let{formItemId:n}=_();return c(e,{htmlFor:n,...t})});b.displayName=`FormLabel`;const x=i(({...e})=>{let{error:t,formItemId:n,formDescriptionId:r,formMessageId:i}=_();return c(l.Slot,{"data-slot":`form-control`,id:n,"aria-describedby":t?`${r} ${i}`:`${r}`,"aria-invalid":!!t,...e})});x.displayName=`FormControl`;function S({className:e,...n}){let{formDescriptionId:r}=_();return c(t,{id:r,className:s(`text-text-positive-weak text-sm/6 leading-normal font-normal`,`group-has-data-[orientation=horizontal]/field:text-balance`,`last:mt-0 nth-last-2:-mt-1 [[data-variant=legend]+&]:-mt-1.5`,`[&>a:hover]:text-primary [&>a]:underline [&>a]:underline-offset-4`,e),...n})}function C({className:e,children:t,...n}){let{error:r,formMessageId:i}=_();return c(`span`,{"data-slot":`form-message`,id:i,className:s(`text-danger text-xs`,e),...n,children:r?String(r?.message??``):t})}export{m as Form,x as FormControl,S as FormDescription,g as FormField,y as FormItem,b as FormLabel,C as FormMessage,_ as useFormField};
|
|
2
2
|
//# sourceMappingURL=form.mjs.map
|
package/dist/ui/hover-card.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react161 from "react";
|
|
2
2
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/hover-card.d.ts
|
|
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
|
20
20
|
*/
|
|
21
21
|
declare function HoverCard({
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
23
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react161.JSX.Element;
|
|
24
24
|
/** The element that triggers the HoverCard on pointer enter. */
|
|
25
25
|
declare function HoverCardTrigger({
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react161.JSX.Element;
|
|
28
28
|
/** The floating card panel displayed when the trigger is hovered. */
|
|
29
29
|
declare function HoverCardContent({
|
|
30
30
|
className,
|
|
31
31
|
align,
|
|
32
32
|
sideOffset,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
34
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react161.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
37
37
|
//# sourceMappingURL=hover-card.d.cts.map
|
package/dist/ui/hover-card.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react184 from "react";
|
|
2
2
|
import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/hover-card.d.ts
|
|
@@ -20,18 +20,18 @@ import { HoverCard as HoverCard$1 } from "radix-ui";
|
|
|
20
20
|
*/
|
|
21
21
|
declare function HoverCard({
|
|
22
22
|
...props
|
|
23
|
-
}: React.ComponentProps<typeof HoverCard$1.Root>):
|
|
23
|
+
}: React.ComponentProps<typeof HoverCard$1.Root>): react184.JSX.Element;
|
|
24
24
|
/** The element that triggers the HoverCard on pointer enter. */
|
|
25
25
|
declare function HoverCardTrigger({
|
|
26
26
|
...props
|
|
27
|
-
}: React.ComponentProps<typeof HoverCard$1.Trigger>):
|
|
27
|
+
}: React.ComponentProps<typeof HoverCard$1.Trigger>): react184.JSX.Element;
|
|
28
28
|
/** The floating card panel displayed when the trigger is hovered. */
|
|
29
29
|
declare function HoverCardContent({
|
|
30
30
|
className,
|
|
31
31
|
align,
|
|
32
32
|
sideOffset,
|
|
33
33
|
...props
|
|
34
|
-
}: React.ComponentProps<typeof HoverCard$1.Content>):
|
|
34
|
+
}: React.ComponentProps<typeof HoverCard$1.Content>): react184.JSX.Element;
|
|
35
35
|
//#endregion
|
|
36
36
|
export { HoverCard, HoverCardContent, HoverCardTrigger };
|
|
37
37
|
//# sourceMappingURL=hover-card.d.mts.map
|
package/dist/ui/input-otp.d.cts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react175 from "react";
|
|
2
2
|
import { OTPInput } from "input-otp";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/input-otp.d.ts
|
|
@@ -32,12 +32,12 @@ declare function InputOTP({
|
|
|
32
32
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
33
33
|
/** Class name applied to the outer container div. */
|
|
34
34
|
containerClassName?: string;
|
|
35
|
-
}):
|
|
35
|
+
}): react175.JSX.Element;
|
|
36
36
|
/** Flex container that groups a sequence of InputOTPSlot elements. */
|
|
37
37
|
declare function InputOTPGroup({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'div'>):
|
|
40
|
+
}: React.ComponentProps<'div'>): react175.JSX.Element;
|
|
41
41
|
/**
|
|
42
42
|
* A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
|
|
43
43
|
*
|
|
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
|
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<'div'> & {
|
|
51
51
|
index: number;
|
|
52
|
-
}):
|
|
52
|
+
}): react175.JSX.Element;
|
|
53
53
|
/** Visual separator (dash) placed between InputOTPGroup elements. */
|
|
54
54
|
declare function InputOTPSeparator({
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'div'>):
|
|
56
|
+
}: React.ComponentProps<'div'>): react175.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
59
59
|
//# sourceMappingURL=input-otp.d.cts.map
|
package/dist/ui/input-otp.d.mts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react177 from "react";
|
|
2
2
|
import { OTPInput } from "input-otp";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/input-otp.d.ts
|
|
@@ -32,12 +32,12 @@ declare function InputOTP({
|
|
|
32
32
|
}: React.ComponentProps<typeof OTPInput> & {
|
|
33
33
|
/** Class name applied to the outer container div. */
|
|
34
34
|
containerClassName?: string;
|
|
35
|
-
}):
|
|
35
|
+
}): react177.JSX.Element;
|
|
36
36
|
/** Flex container that groups a sequence of InputOTPSlot elements. */
|
|
37
37
|
declare function InputOTPGroup({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: React.ComponentProps<'div'>):
|
|
40
|
+
}: React.ComponentProps<'div'>): react177.JSX.Element;
|
|
41
41
|
/**
|
|
42
42
|
* A single character slot in an InputOTP — displays the typed character and a blinking caret when focused.
|
|
43
43
|
*
|
|
@@ -49,11 +49,11 @@ declare function InputOTPSlot({
|
|
|
49
49
|
...props
|
|
50
50
|
}: React.ComponentProps<'div'> & {
|
|
51
51
|
index: number;
|
|
52
|
-
}):
|
|
52
|
+
}): react177.JSX.Element;
|
|
53
53
|
/** Visual separator (dash) placed between InputOTPGroup elements. */
|
|
54
54
|
declare function InputOTPSeparator({
|
|
55
55
|
...props
|
|
56
|
-
}: React.ComponentProps<'div'>):
|
|
56
|
+
}: React.ComponentProps<'div'>): react177.JSX.Element;
|
|
57
57
|
//#endregion
|
|
58
58
|
export { InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot };
|
|
59
59
|
//# sourceMappingURL=input-otp.d.mts.map
|
package/dist/ui/input.d.cts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-B4ZV1tKO.cjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
package/dist/ui/input.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-
|
|
1
|
+
import { n as InputVariantProps, r as inputVariants, t as Input } from "../input-Che86SWz.mjs";
|
|
2
2
|
export { Input, InputVariantProps, inputVariants };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { t as Input } from "../../input-
|
|
2
|
-
import * as
|
|
1
|
+
import { t as Input } from "../../input-Che86SWz.mjs";
|
|
2
|
+
import * as react33 from "react";
|
|
3
3
|
|
|
4
4
|
//#region packages/components/ui/inputs/search-input.d.ts
|
|
5
5
|
|
|
@@ -23,7 +23,7 @@ type Props = React.ComponentPropsWithoutRef<typeof Input>;
|
|
|
23
23
|
declare const SearchInput: ({
|
|
24
24
|
className,
|
|
25
25
|
...rest
|
|
26
|
-
}: Props) =>
|
|
26
|
+
}: Props) => react33.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { SearchInput };
|
|
29
29
|
//# sourceMappingURL=search-input.d.mts.map
|