@px-ui/ui 1.0.3 → 1.0.5
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-B2FY4pgk.js → avatar-B1kOPk5C.js} +4 -4
- package/dist/{avatar-B2FY4pgk.js.map → avatar-B1kOPk5C.js.map} +1 -1
- package/dist/{avatar-CtZEW1Kd.d.ts → avatar-CxSoP9EP.d.ts} +6 -6
- package/dist/{avatar-CtZEW1Kd.d.ts.map → avatar-CxSoP9EP.d.ts.map} +1 -1
- package/dist/{button-peTbHgr6.d.ts → button-CzxAq5Hs.d.ts} +7 -7
- package/dist/{button-peTbHgr6.d.ts.map → button-CzxAq5Hs.d.ts.map} +1 -1
- package/dist/{button-B3SNyz-U.js → button-hBUFMmsZ.js} +2 -2
- package/dist/{button-B3SNyz-U.js.map → button-hBUFMmsZ.js.map} +1 -1
- package/dist/{combobox-CBerynHz.js → combobox-C-dF33ce.js} +9 -9
- package/dist/{combobox-CBerynHz.js.map → combobox-C-dF33ce.js.map} +1 -1
- package/dist/{combobox-BGJkF5tM.d.ts → combobox-xkPhjyC8.d.ts} +18 -18
- package/dist/{combobox-BGJkF5tM.d.ts.map → combobox-xkPhjyC8.d.ts.map} +1 -1
- package/dist/components/accordion.js +1 -1
- package/dist/components/alert-dialog.d.ts +16 -16
- package/dist/components/alert-dialog.d.ts.map +1 -1
- package/dist/components/alert-dialog.js +5 -5
- package/dist/components/alert-dialog.js.map +1 -1
- package/dist/components/alert.d.ts +7 -7
- package/dist/components/alert.d.ts.map +1 -1
- package/dist/components/alert.js +2 -2
- package/dist/components/aspect-ratio.js +1 -1
- package/dist/components/avatar-group.d.ts +4 -4
- package/dist/components/avatar-group.js +5 -5
- package/dist/components/avatar.d.ts +1 -1
- package/dist/components/avatar.js +3 -3
- package/dist/components/badge.d.ts +4 -4
- package/dist/components/badge.d.ts.map +1 -1
- package/dist/components/badge.js +1 -1
- package/dist/components/breadcrumb.d.ts +7 -7
- package/dist/components/breadcrumb.js +2 -2
- package/dist/components/button-group.d.ts +9 -9
- package/dist/components/button-group.js +2 -2
- package/dist/components/button.d.ts +1 -1
- package/dist/components/button.js +2 -2
- package/dist/components/calendar.d.ts +4 -4
- package/dist/components/calendar.js +3 -3
- package/dist/components/card.d.ts +8 -8
- package/dist/components/card.js +2 -2
- package/dist/components/carousel.d.ts +7 -7
- package/dist/components/carousel.d.ts.map +1 -1
- package/dist/components/carousel.js +3 -3
- package/dist/components/chart.d.ts +5 -5
- package/dist/components/chart.js +2 -2
- package/dist/components/checkbox.d.ts +2 -2
- package/dist/components/checkbox.js +1 -1
- package/dist/components/collapsible.d.ts +4 -4
- package/dist/components/collapsible.js +1 -1
- package/dist/components/combobox.d.ts +1 -1
- package/dist/components/combobox.js +11 -11
- package/dist/components/command.d.ts +11 -11
- package/dist/components/command.js +7 -7
- package/dist/components/context-menu.d.ts +16 -16
- package/dist/components/context-menu.js +2 -2
- package/dist/components/currency-select-field.d.ts +3 -3
- package/dist/components/currency-select-field.js +12 -12
- package/dist/components/dialog.d.ts +11 -11
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +3 -3
- package/dist/components/direction.js +1 -1
- package/dist/components/drawer.d.ts +11 -11
- package/dist/components/drawer.d.ts.map +1 -1
- package/dist/components/drawer.js +2 -2
- package/dist/components/dropdown-menu.d.ts +1 -1
- package/dist/components/dropdown-menu.js +2 -2
- package/dist/components/empty.d.ts +9 -9
- package/dist/components/empty.d.ts.map +1 -1
- package/dist/components/empty.js +1 -1
- package/dist/components/field.d.ts +16 -16
- package/dist/components/field.d.ts.map +1 -1
- package/dist/components/field.js +4 -4
- package/dist/components/file-upload-field.d.ts +2 -2
- package/dist/components/file-upload-field.js +6 -6
- package/dist/components/file-upload.d.ts +2 -2
- package/dist/components/file-upload.js +4 -4
- package/dist/components/hover-card.d.ts +4 -4
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +1 -1
- package/dist/components/input-group.d.ts +11 -11
- package/dist/components/input-group.d.ts.map +1 -1
- package/dist/components/input-group.js +5 -5
- package/dist/components/input-otp.d.ts +5 -5
- package/dist/components/input-otp.d.ts.map +1 -1
- package/dist/components/input-otp.js +2 -2
- package/dist/components/input.d.ts +1 -1
- package/dist/components/input.js +2 -2
- package/dist/components/item.d.ts +15 -15
- package/dist/components/item.d.ts.map +1 -1
- package/dist/components/item.js +3 -3
- package/dist/components/kbd.d.ts +3 -3
- package/dist/components/kbd.js +1 -1
- package/dist/components/label.d.ts +1 -1
- package/dist/components/label.js +2 -2
- package/dist/components/menubar.d.ts +18 -18
- package/dist/components/menubar.js +3 -3
- package/dist/components/native-select.d.ts +4 -4
- package/dist/components/native-select.js +2 -2
- package/dist/components/navigation-menu.d.ts +11 -11
- package/dist/components/navigation-menu.d.ts.map +1 -1
- package/dist/components/navigation-menu.js +1 -1
- package/dist/components/pagination.d.ts +9 -9
- package/dist/components/pagination.d.ts.map +1 -1
- package/dist/components/pagination.js +3 -3
- package/dist/components/phone-input.d.ts +2 -2
- package/dist/components/phone-input.d.ts.map +1 -1
- package/dist/components/phone-input.js +4 -4
- package/dist/components/phone-input.js.map +1 -1
- package/dist/components/popover.d.ts +7 -7
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +2 -2
- package/dist/components/progress.d.ts +6 -6
- package/dist/components/progress.d.ts.map +1 -1
- package/dist/components/progress.js +1 -1
- package/dist/components/radio-group.d.ts +3 -3
- package/dist/components/radio-group.d.ts.map +1 -1
- package/dist/components/radio-group.js +1 -1
- package/dist/components/resizable.d.ts +4 -4
- package/dist/components/resizable.js +1 -1
- package/dist/components/scroll-area.d.ts +3 -3
- package/dist/components/scroll-area.js +2 -2
- package/dist/components/select.d.ts +10 -10
- package/dist/components/select.js +2 -2
- package/dist/components/separator.d.ts +1 -1
- package/dist/components/separator.js +2 -2
- package/dist/components/sheet.d.ts +9 -9
- package/dist/components/sheet.js +3 -3
- package/dist/components/sidebar.d.ts +26 -26
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +9 -9
- package/dist/components/skeleton.d.ts +2 -2
- package/dist/components/skeleton.js +2 -2
- package/dist/components/slider.d.ts +2 -2
- package/dist/components/slider.js +1 -1
- package/dist/components/spinner.d.ts +2 -2
- package/dist/components/spinner.js +2 -2
- package/dist/components/switch.d.ts +2 -2
- package/dist/components/switch.js +1 -1
- package/dist/components/table.d.ts +9 -9
- package/dist/components/table.js +2 -2
- package/dist/components/tabs.d.ts +8 -8
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +1 -1
- package/dist/components/textarea.d.ts +2 -2
- package/dist/components/textarea.d.ts.map +1 -1
- package/dist/components/textarea.js +2 -2
- package/dist/components/toast.d.ts +1 -1
- package/dist/components/toast.js +2 -2
- package/dist/components/toggle-group.d.ts +4 -4
- package/dist/components/toggle-group.js +3 -3
- package/dist/components/toggle.d.ts +1 -1
- package/dist/components/toggle.js +2 -2
- package/dist/components/tooltip.d.ts +1 -1
- package/dist/components/tooltip.js +2 -2
- package/dist/{dialog-6oTB2jEH.js → dialog-DrdXva1a.js} +4 -4
- package/dist/{dialog-6oTB2jEH.js.map → dialog-DrdXva1a.js.map} +1 -1
- package/dist/{dropdown-menu-CN7gHXiF.js → dropdown-menu-CcumvwhM.js} +3 -3
- package/dist/{dropdown-menu-CN7gHXiF.js.map → dropdown-menu-CcumvwhM.js.map} +1 -1
- package/dist/{dropdown-menu-z9weMtW6.d.ts → dropdown-menu-CgS0xs0A.d.ts} +17 -17
- package/dist/{dropdown-menu-z9weMtW6.d.ts.map → dropdown-menu-CgS0xs0A.d.ts.map} +1 -1
- package/dist/{file-upload-CHIguMmH.d.ts → file-upload-CklY15-S.d.ts} +12 -12
- package/dist/{file-upload-CHIguMmH.d.ts.map → file-upload-CklY15-S.d.ts.map} +1 -1
- package/dist/{file-upload-CPaU1bTN.js → file-upload-DeCIv13t.js} +5 -5
- package/dist/{file-upload-CPaU1bTN.js.map → file-upload-DeCIv13t.js.map} +1 -1
- package/dist/hooks/use-async-options.js +1 -1
- package/dist/hooks/use-debounce.js +1 -1
- package/dist/hooks/use-file-upload.js +1 -1
- package/dist/hooks/use-infinite-scroll.js +2 -2
- package/dist/hooks/use-intersection-observer.js +1 -1
- package/dist/hooks/use-mobile.js +1 -1
- package/dist/{input-ByI__4Tb.js → input-8jqdnUZl.js} +3 -3
- package/dist/{input-ByI__4Tb.js.map → input-8jqdnUZl.js.map} +1 -1
- package/dist/input-Yb6j16S2.d.ts +12 -0
- package/dist/input-Yb6j16S2.d.ts.map +1 -0
- package/dist/{input-group-Dw3LpMMS.js → input-group-DqEkmpXW.js} +6 -6
- package/dist/{input-group-Dw3LpMMS.js.map → input-group-DqEkmpXW.js.map} +1 -1
- package/dist/{label-DJ-ONU1d.js → label-AaH9ZYCZ.js} +3 -3
- package/dist/{label-DJ-ONU1d.js.map → label-AaH9ZYCZ.js.map} +1 -1
- package/dist/label-iMKAd7JB.d.ts +11 -0
- package/dist/label-iMKAd7JB.d.ts.map +1 -0
- package/dist/lib/utils.js +1 -1
- package/dist/{popover-z4aFoVCA.js → popover-C9D43EuT.js} +3 -3
- package/dist/{popover-z4aFoVCA.js.map → popover-C9D43EuT.js.map} +1 -1
- package/dist/providers/px-ui-provider.d.ts +4 -4
- package/dist/providers/px-ui-provider.d.ts.map +1 -1
- package/dist/providers/px-ui-provider.js +8 -5
- package/dist/providers/px-ui-provider.js.map +1 -1
- package/dist/{separator-Cay2tYJi.js → separator-BS3ilczC.js} +2 -2
- package/dist/{separator-Cay2tYJi.js.map → separator-BS3ilczC.js.map} +1 -1
- package/dist/{separator-7n2clBT1.d.ts → separator-_9aINuaq.d.ts} +3 -3
- package/dist/{separator-7n2clBT1.d.ts.map → separator-_9aINuaq.d.ts.map} +1 -1
- package/dist/{sheet-BLGcp2vY.js → sheet-CLjNDrfL.js} +4 -4
- package/dist/{sheet-BLGcp2vY.js.map → sheet-CLjNDrfL.js.map} +1 -1
- package/dist/{skeleton-Cpayevuv.js → skeleton-BcIxI5Wq.js} +2 -2
- package/dist/{skeleton-Cpayevuv.js.map → skeleton-BcIxI5Wq.js.map} +1 -1
- package/dist/{spinner-EaERkwNt.js → spinner-Bo0sUZEg.js} +2 -2
- package/dist/{spinner-EaERkwNt.js.map → spinner-Bo0sUZEg.js.map} +1 -1
- package/dist/{textarea-CD4lb4bT.js → textarea-Cq0o323P.js} +3 -3
- package/dist/{textarea-CD4lb4bT.js.map → textarea-Cq0o323P.js.map} +1 -1
- package/dist/{toast-BIAksZXy.js → toast-COWAQbIk.js} +3 -3
- package/dist/{toast-BIAksZXy.js.map → toast-COWAQbIk.js.map} +1 -1
- package/dist/{toast-C3bNvyqf.d.ts → toast-Dnn2IfCp.d.ts} +4 -4
- package/dist/{toast-C3bNvyqf.d.ts.map → toast-Dnn2IfCp.d.ts.map} +1 -1
- package/dist/{toggle-Cwsbk1jY.js → toggle-DhJ_qwgw.js} +2 -2
- package/dist/{toggle-Cwsbk1jY.js.map → toggle-DhJ_qwgw.js.map} +1 -1
- package/dist/{toggle-E0JXUyzs.d.ts → toggle-DyQHyjuR.d.ts} +5 -5
- package/dist/{toggle-E0JXUyzs.d.ts.map → toggle-DyQHyjuR.d.ts.map} +1 -1
- package/dist/{tooltip-CIwyqk_3.js → tooltip-DkPxCJIL.js} +2 -2
- package/dist/{tooltip-CIwyqk_3.js.map → tooltip-DkPxCJIL.js.map} +1 -1
- package/dist/{tooltip-ChzCP6Bv.d.ts → tooltip-aifJKLEQ.d.ts} +6 -6
- package/dist/{tooltip-ChzCP6Bv.d.ts.map → tooltip-aifJKLEQ.d.ts.map} +1 -1
- package/dist/{use-async-options-MznolA0k.js → use-async-options-wZ9LJ2BJ.js} +1 -1
- package/dist/{use-async-options-MznolA0k.js.map → use-async-options-wZ9LJ2BJ.js.map} +1 -1
- package/dist/{use-debounce-CwnVqtDF.js → use-debounce-_qaEZqtt.js} +1 -1
- package/dist/{use-debounce-CwnVqtDF.js.map → use-debounce-_qaEZqtt.js.map} +1 -1
- package/dist/{use-file-upload-CiAqUFFh.js → use-file-upload-Dxrej28u.js} +1 -1
- package/dist/{use-file-upload-CiAqUFFh.js.map → use-file-upload-Dxrej28u.js.map} +1 -1
- package/dist/{use-infinite-scroll-DHi7CKyt.js → use-infinite-scroll-CpbhGGT5.js} +2 -2
- package/dist/{use-infinite-scroll-DHi7CKyt.js.map → use-infinite-scroll-CpbhGGT5.js.map} +1 -1
- package/dist/{use-intersection-observer-h5ZpX18y.js → use-intersection-observer-CZfnep4z.js} +1 -1
- package/dist/{use-intersection-observer-h5ZpX18y.js.map → use-intersection-observer-CZfnep4z.js.map} +1 -1
- package/dist/{use-mobile-CFSCadSm.js → use-mobile-l5ebOdQl.js} +1 -1
- package/dist/{use-mobile-CFSCadSm.js.map → use-mobile-l5ebOdQl.js.map} +1 -1
- package/dist/{utils-8o789qxH.js → utils-mWJR2N24.js} +1 -1
- package/dist/{utils-8o789qxH.js.map → utils-mWJR2N24.js.map} +1 -1
- package/package.json +1 -1
- package/dist/input-BY_HLiBI.d.ts +0 -12
- package/dist/input-BY_HLiBI.d.ts.map +0 -1
- package/dist/label-C3yvmi-S.d.ts +0 -11
- package/dist/label-C3yvmi-S.d.ts.map +0 -1
- /package/dist/{direction-CB0IW0WZ.js → direction-BKSh6e6q.js} +0 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { t as Button } from "../button-
|
|
1
|
+
import { t as Button } from "../button-CzxAq5Hs.js";
|
|
2
|
+
import * as react_jsx_runtime53 from "react/jsx-runtime";
|
|
2
3
|
import * as React$1 from "react";
|
|
3
|
-
import * as react_jsx_runtime265 from "react/jsx-runtime";
|
|
4
4
|
|
|
5
5
|
//#region src/components/pagination.d.ts
|
|
6
6
|
declare function Pagination({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: React$1.ComponentProps<"nav">):
|
|
9
|
+
}: React$1.ComponentProps<"nav">): react_jsx_runtime53.JSX.Element;
|
|
10
10
|
declare function PaginationContent({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: React$1.ComponentProps<"ul">):
|
|
13
|
+
}: React$1.ComponentProps<"ul">): react_jsx_runtime53.JSX.Element;
|
|
14
14
|
declare function PaginationItem({
|
|
15
15
|
...props
|
|
16
|
-
}: React$1.ComponentProps<"li">):
|
|
16
|
+
}: React$1.ComponentProps<"li">): react_jsx_runtime53.JSX.Element;
|
|
17
17
|
type PaginationLinkProps = {
|
|
18
18
|
isActive?: boolean;
|
|
19
19
|
} & Pick<React$1.ComponentProps<typeof Button>, "size"> & React$1.ComponentProps<"a">;
|
|
@@ -22,25 +22,25 @@ declare function PaginationLink({
|
|
|
22
22
|
isActive,
|
|
23
23
|
size,
|
|
24
24
|
...props
|
|
25
|
-
}: PaginationLinkProps):
|
|
25
|
+
}: PaginationLinkProps): react_jsx_runtime53.JSX.Element;
|
|
26
26
|
declare function PaginationPrevious({
|
|
27
27
|
className,
|
|
28
28
|
text,
|
|
29
29
|
...props
|
|
30
30
|
}: React$1.ComponentProps<typeof PaginationLink> & {
|
|
31
31
|
text?: string;
|
|
32
|
-
}):
|
|
32
|
+
}): react_jsx_runtime53.JSX.Element;
|
|
33
33
|
declare function PaginationNext({
|
|
34
34
|
className,
|
|
35
35
|
text,
|
|
36
36
|
...props
|
|
37
37
|
}: React$1.ComponentProps<typeof PaginationLink> & {
|
|
38
38
|
text?: string;
|
|
39
|
-
}):
|
|
39
|
+
}): react_jsx_runtime53.JSX.Element;
|
|
40
40
|
declare function PaginationEllipsis({
|
|
41
41
|
className,
|
|
42
42
|
...props
|
|
43
|
-
}: React$1.ComponentProps<"span">):
|
|
43
|
+
}: React$1.ComponentProps<"span">): react_jsx_runtime53.JSX.Element;
|
|
44
44
|
//#endregion
|
|
45
45
|
export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious };
|
|
46
46
|
//# sourceMappingURL=pagination.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"pagination.d.ts","names":[],"sources":["../../src/components/pagination.tsx"],"sourcesContent":[],"mappings":";;;;;iBAMS,UAAA;;;GAAoC,OAAA,CAAM,wBAAqB,
|
|
1
|
+
{"version":3,"file":"pagination.d.ts","names":[],"sources":["../../src/components/pagination.tsx"],"sourcesContent":[],"mappings":";;;;;iBAMS,UAAA;;;GAAoC,OAAA,CAAM,wBAAqB,mBAAA,CAAA,GAAA,CAAA;iBAY/D,iBAAA;;;GAGN,OAAA,CAAM,uBAAoB,mBAAA,CAAA,GAAA,CAAA;iBAUpB,cAAA;;GAA6B,OAAA,CAAM,uBAAoB,mBAAA,CAAA,GAAA,CAAA;AA5BZ,KAgC/C,mBAAA,GA7Bc;EAAG,QAAA,CAAA,EAAA,OAAA;CAAuB,GA+BzC,IA/ByC,CA+BpC,OAAA,CAAM,cA/BoC,CAAA,OA+Bd,MA/Bc,CAAA,EAAA,MAAA,CAAA,GAgCjD,OAAA,CAAM,cAhC2C,CAAA,GAAA,CAAA;iBAkC1C,cAAA,CAlC+D;EAAA,SAAA;EAAA,QAAA;EAAA,IAAA;EAAA,GAAA;AAAA,CAAA,EAuCrE,mBAvCqE,CAAA,EAuClD,mBAAA,CAAA,GAAA,CAAA,OAvCkD;iBA0D/D,kBAAA,CA1D+D;EAAA,SAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EA8DrE,OAAA,CAAM,cA9D+D,CAAA,OA8DzC,cA9DyC,CAAA,GAAA;EAY/D,IAAA,CAAA,EAAA,MAAA;CACP,CAAA,EAiDgE,mBAAA,CAAA,GAAA,CAAA,OAjDhE;iBA+DO,cAAA,CA7DA;EAAA,SAAA;EAAA,IAAA;EAAA,GAAA;CAAA,EAiEN,OAAA,CAAM,cAjEA,CAAA,OAiEsB,cAjEtB,CAAA,GAAA;EAAoB,IAAA,CAAA,EAAA,MAAA;CAAA,CAAA,EAiEqC,mBAAA,CAAA,GAAA,CAAA,OAjErC;AAAA,iBA+EpB,kBAAA,CArE6B;EAAA,SAAM;EAAA,GAAA;AAAoB,CAAA,EAwE7D,OAAA,CAAM,cAxEuD,CAAA,MAAA,CAAA,CAAA,EAwEjC,mBAAA,CAAA,GAAA,CAAA,OAxEiC"}
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
2
|
-
import { t as Button } from "../button-
|
|
3
|
-
import "react";
|
|
1
|
+
import { t as cn } from "../utils-mWJR2N24.js";
|
|
2
|
+
import { t as Button } from "../button-hBUFMmsZ.js";
|
|
4
3
|
import { ChevronLeftIcon, ChevronRightIcon, MoreHorizontalIcon } from "lucide-react";
|
|
5
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
|
+
import "react";
|
|
6
6
|
|
|
7
7
|
//#region src/components/pagination.tsx
|
|
8
8
|
function Pagination({ className, ...props }) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime85 from "react/jsx-runtime";
|
|
2
2
|
import "react-phone-input-2/lib/style.css";
|
|
3
3
|
|
|
4
4
|
//#region src/components/phone-input.d.ts
|
|
@@ -22,7 +22,7 @@ declare const PhoneInput: ({
|
|
|
22
22
|
placeholder,
|
|
23
23
|
disabled,
|
|
24
24
|
className
|
|
25
|
-
}: PhoneInputProps) =>
|
|
25
|
+
}: PhoneInputProps) => react_jsx_runtime85.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
export { PhoneInput, validatePhoneNumber };
|
|
28
28
|
//# sourceMappingURL=phone-input.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-input.d.ts","names":[],"sources":["../../src/components/phone-input.tsx"],"sourcesContent":[],"mappings":";;;;cASa;UAYH,eAAA;;EAZG,QAAA,EAAA,CAAA,KAAA,EAAA,MAUZ,EAAA,GAAA,IAAA;EAES,OAAA,CAAA,EAAA,MAAA;EAWG,KAAA,CAAA,EAAA,
|
|
1
|
+
{"version":3,"file":"phone-input.d.ts","names":[],"sources":["../../src/components/phone-input.tsx"],"sourcesContent":[],"mappings":";;;;cASa;UAYH,eAAA;;EAZG,QAAA,EAAA,CAAA,KAAA,EAAA,MAUZ,EAAA,GAAA,IAAA;EAES,OAAA,CAAA,EAAA,MAAA;EAWG,KAAA,CAAA,EAAA,OAsEZ;EAtE0B,YAAA,CAAA,EAAA,MAAA;EAAA,WAAA,CAAA,EAAA,MAAA;EAAA,QAAA,CAAA,EAAA,OAAA;EAAA,SAAA,CAAA,EAAA,MAAA;;AAAA,cAAd,UAAc,EAAA,CAAA;EAAA,KAAA;EAAA,QAAA;EAAA,OAAA;EAAA,KAAA;EAAA,YAAA;EAAA,WAAA;EAAA,QAAA;EAAA;AAAA,CAAA,EASxB,eATwB,EAAA,GAST,mBAAA,CAAA,GAAA,CAAA,OATS"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
2
|
-
import React from "react";
|
|
1
|
+
import { t as cn } from "../utils-mWJR2N24.js";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React from "react";
|
|
4
4
|
import PhoneInputLib from "react-phone-input-2";
|
|
5
5
|
import "react-phone-input-2/lib/style.css";
|
|
6
6
|
import GoogleLibPhoneNumber from "google-libphonenumber";
|
|
@@ -44,8 +44,8 @@ const PhoneInput = ({ value, onChange, country = "us", error, errorMessage, plac
|
|
|
44
44
|
onChange: handleChange,
|
|
45
45
|
disabled,
|
|
46
46
|
placeholder,
|
|
47
|
-
inputClass: `!w-full !h-11 !text-base !rounded-lg !border ${error ? "!border-destructive !bg-destructive/10" : "!border-input focus:!border-ring focus:!ring-1 focus:!ring-ring"}`,
|
|
48
|
-
buttonClass: `!rounded-l-lg !border-y !border-l ${error ? "!border-destructive !bg-destructive/10" : "!border-input"}`,
|
|
47
|
+
inputClass: `!w-full !h-11 !text-base !rounded-lg !border disabled:!pointer-events-none disabled:!cursor-not-allowed disabled:!opacity-50 ${error ? "!border-destructive !bg-destructive/10" : "!border-input focus:!border-ring focus:!ring-1 focus:!ring-ring"}`,
|
|
48
|
+
buttonClass: `!rounded-l-lg !border-y !border-l ${disabled ? "!pointer-events-none !cursor-not-allowed !opacity-50" : ""} ${error ? "!border-destructive !bg-destructive/10" : "!border-input"}`,
|
|
49
49
|
containerClass: "!w-full"
|
|
50
50
|
})
|
|
51
51
|
}), error && errorMessage && /* @__PURE__ */ jsx("p", {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"phone-input.js","names":[],"sources":["../../src/components/phone-input.tsx"],"sourcesContent":["import React from \"react\";\nimport { cn } from \"@px-ui/ui/lib/utils\";\nimport PhoneInputLib from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\nimport GoogleLibPhoneNumber from \"google-libphonenumber\";\n\nconst phoneUtil = GoogleLibPhoneNumber.PhoneNumberUtil.getInstance();\nconst PNF = GoogleLibPhoneNumber.PhoneNumberFormat;\n\nexport const validatePhoneNumber = (\n value: string | undefined | null,\n): boolean => {\n if (!value) return true;\n const phoneValue = value.startsWith(\"+\") ? value : \"+\" + value;\n try {\n return phoneUtil.isValidNumber(phoneUtil.parse(phoneValue));\n } catch {\n return false;\n }\n};\n\ninterface PhoneInputProps {\n value: string;\n onChange: (value: string) => void;\n country?: string;\n error?: boolean;\n errorMessage?: string;\n placeholder?: string;\n disabled?: boolean;\n className?: string;\n}\n\nexport const PhoneInput = ({\n value,\n onChange,\n country = \"us\",\n error,\n errorMessage,\n placeholder,\n disabled,\n className,\n}: PhoneInputProps) => {\n const handleChange = (\n inputValue: string,\n data: { dialCode?: string; countryCode?: string },\n ) => {\n // Country-only selection: don't propagate, otherwise the controlled\n // value resets to \"\" and react-phone-input-2 re-detects the country\n // from the empty value, snapping the flag back to the default.\n if (inputValue === data?.dialCode) return;\n\n if (!inputValue) {\n onChange(\"\");\n return;\n }\n\n const phoneValue = inputValue.startsWith(\"+\") ? inputValue : \"+\" + inputValue;\n try {\n const parsed = phoneUtil.parseAndKeepRawInput(\n phoneValue,\n data.countryCode?.toUpperCase(),\n );\n if (phoneUtil.isValidNumber(parsed)) {\n onChange(phoneUtil.format(parsed, PNF.E164));\n return;\n }\n } catch {\n // fall through to raw value\n }\n onChange(phoneValue);\n };\n\n return (\n <div className={cn(\"flex w-full flex-col gap-1\", className)}>\n <div className={`relative ${error ? \"phone-input-error\" : \"\"}`}>\n <PhoneInputLib\n country={country}\n value={value}\n onChange={handleChange}\n disabled={disabled}\n placeholder={placeholder}\n inputClass={`!w-full !h-11 !text-base !rounded-lg !border ${\n error\n ? \"!border-destructive !bg-destructive/10\"\n : \"!border-input focus:!border-ring focus:!ring-1 focus:!ring-ring\"\n }`}\n buttonClass={`!rounded-l-lg !border-y !border-l ${\n error ? \"!border-destructive !bg-destructive/10\" : \"!border-input\"\n }`}\n containerClass=\"!w-full\"\n />\n </div>\n\n {error && errorMessage && (\n <p className=\"mt-1 text-xs font-medium text-destructive\">\n {errorMessage}\n </p>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;;AAMA,MAAM,YAAY,qBAAqB,gBAAgB,aAAa;AACpE,MAAM,MAAM,qBAAqB;AAEjC,MAAa,uBACX,UACY;AACZ,KAAI,CAAC,MAAO,QAAO;CACnB,MAAM,aAAa,MAAM,WAAW,IAAI,GAAG,QAAQ,MAAM;AACzD,KAAI;AACF,SAAO,UAAU,cAAc,UAAU,MAAM,WAAW,CAAC;SACrD;AACN,SAAO;;;AAeX,MAAa,cAAc,EACzB,OACA,UACA,UAAU,MACV,OACA,cACA,aACA,UACA,gBACqB;CACrB,MAAM,gBACJ,YACA,SACG;AAIH,MAAI,eAAe,MAAM,SAAU;AAEnC,MAAI,CAAC,YAAY;AACf,YAAS,GAAG;AACZ;;EAGF,MAAM,aAAa,WAAW,WAAW,IAAI,GAAG,aAAa,MAAM;AACnE,MAAI;GACF,MAAM,SAAS,UAAU,qBACvB,YACA,KAAK,aAAa,aAAa,CAChC;AACD,OAAI,UAAU,cAAc,OAAO,EAAE;AACnC,aAAS,UAAU,OAAO,QAAQ,IAAI,KAAK,CAAC;AAC5C;;UAEI;AAGR,WAAS,WAAW;;AAGtB,QACE,qBAAC;EAAI,WAAW,GAAG,8BAA8B,UAAU;aACzD,oBAAC;GAAI,WAAW,YAAY,QAAQ,sBAAsB;aACxD,oBAAC;IACU;IACF;IACP,UAAU;IACA;IACG;IACb,YAAY,
|
|
1
|
+
{"version":3,"file":"phone-input.js","names":[],"sources":["../../src/components/phone-input.tsx"],"sourcesContent":["import React from \"react\";\nimport { cn } from \"@px-ui/ui/lib/utils\";\nimport PhoneInputLib from \"react-phone-input-2\";\nimport \"react-phone-input-2/lib/style.css\";\nimport GoogleLibPhoneNumber from \"google-libphonenumber\";\n\nconst phoneUtil = GoogleLibPhoneNumber.PhoneNumberUtil.getInstance();\nconst PNF = GoogleLibPhoneNumber.PhoneNumberFormat;\n\nexport const validatePhoneNumber = (\n value: string | undefined | null,\n): boolean => {\n if (!value) return true;\n const phoneValue = value.startsWith(\"+\") ? value : \"+\" + value;\n try {\n return phoneUtil.isValidNumber(phoneUtil.parse(phoneValue));\n } catch {\n return false;\n }\n};\n\ninterface PhoneInputProps {\n value: string;\n onChange: (value: string) => void;\n country?: string;\n error?: boolean;\n errorMessage?: string;\n placeholder?: string;\n disabled?: boolean;\n className?: string;\n}\n\nexport const PhoneInput = ({\n value,\n onChange,\n country = \"us\",\n error,\n errorMessage,\n placeholder,\n disabled,\n className,\n}: PhoneInputProps) => {\n const handleChange = (\n inputValue: string,\n data: { dialCode?: string; countryCode?: string },\n ) => {\n // Country-only selection: don't propagate, otherwise the controlled\n // value resets to \"\" and react-phone-input-2 re-detects the country\n // from the empty value, snapping the flag back to the default.\n if (inputValue === data?.dialCode) return;\n\n if (!inputValue) {\n onChange(\"\");\n return;\n }\n\n const phoneValue = inputValue.startsWith(\"+\") ? inputValue : \"+\" + inputValue;\n try {\n const parsed = phoneUtil.parseAndKeepRawInput(\n phoneValue,\n data.countryCode?.toUpperCase(),\n );\n if (phoneUtil.isValidNumber(parsed)) {\n onChange(phoneUtil.format(parsed, PNF.E164));\n return;\n }\n } catch {\n // fall through to raw value\n }\n onChange(phoneValue);\n };\n\n return (\n <div className={cn(\"flex w-full flex-col gap-1\", className)}>\n <div className={`relative ${error ? \"phone-input-error\" : \"\"}`}>\n <PhoneInputLib\n country={country}\n value={value}\n onChange={handleChange}\n disabled={disabled}\n placeholder={placeholder}\n inputClass={`!w-full !h-11 !text-base !rounded-lg !border disabled:!pointer-events-none disabled:!cursor-not-allowed disabled:!opacity-50 ${\n error\n ? \"!border-destructive !bg-destructive/10\"\n : \"!border-input focus:!border-ring focus:!ring-1 focus:!ring-ring\"\n }`}\n buttonClass={`!rounded-l-lg !border-y !border-l ${\n disabled ? \"!pointer-events-none !cursor-not-allowed !opacity-50\" : \"\"\n } ${\n error ? \"!border-destructive !bg-destructive/10\" : \"!border-input\"\n }`}\n containerClass=\"!w-full\"\n />\n </div>\n\n {error && errorMessage && (\n <p className=\"mt-1 text-xs font-medium text-destructive\">\n {errorMessage}\n </p>\n )}\n </div>\n );\n};\n"],"mappings":";;;;;;;;AAMA,MAAM,YAAY,qBAAqB,gBAAgB,aAAa;AACpE,MAAM,MAAM,qBAAqB;AAEjC,MAAa,uBACX,UACY;AACZ,KAAI,CAAC,MAAO,QAAO;CACnB,MAAM,aAAa,MAAM,WAAW,IAAI,GAAG,QAAQ,MAAM;AACzD,KAAI;AACF,SAAO,UAAU,cAAc,UAAU,MAAM,WAAW,CAAC;SACrD;AACN,SAAO;;;AAeX,MAAa,cAAc,EACzB,OACA,UACA,UAAU,MACV,OACA,cACA,aACA,UACA,gBACqB;CACrB,MAAM,gBACJ,YACA,SACG;AAIH,MAAI,eAAe,MAAM,SAAU;AAEnC,MAAI,CAAC,YAAY;AACf,YAAS,GAAG;AACZ;;EAGF,MAAM,aAAa,WAAW,WAAW,IAAI,GAAG,aAAa,MAAM;AACnE,MAAI;GACF,MAAM,SAAS,UAAU,qBACvB,YACA,KAAK,aAAa,aAAa,CAChC;AACD,OAAI,UAAU,cAAc,OAAO,EAAE;AACnC,aAAS,UAAU,OAAO,QAAQ,IAAI,KAAK,CAAC;AAC5C;;UAEI;AAGR,WAAS,WAAW;;AAGtB,QACE,qBAAC;EAAI,WAAW,GAAG,8BAA8B,UAAU;aACzD,oBAAC;GAAI,WAAW,YAAY,QAAQ,sBAAsB;aACxD,oBAAC;IACU;IACF;IACP,UAAU;IACA;IACG;IACb,YAAY,gIACV,QACI,2CACA;IAEN,aAAa,qCACX,WAAW,yDAAyD,GACrE,GACC,QAAQ,2CAA2C;IAErD,gBAAe;KACf;IACE,EAEL,SAAS,gBACR,oBAAC;GAAE,WAAU;aACV;IACC;GAEF"}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
+
import * as react_jsx_runtime78 from "react/jsx-runtime";
|
|
1
2
|
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime199 from "react/jsx-runtime";
|
|
3
3
|
import { Popover as Popover$1 } from "@base-ui/react/popover";
|
|
4
4
|
|
|
5
5
|
//#region src/components/popover.d.ts
|
|
6
6
|
declare function Popover({
|
|
7
7
|
...props
|
|
8
|
-
}: Popover$1.Root.Props):
|
|
8
|
+
}: Popover$1.Root.Props): react_jsx_runtime78.JSX.Element;
|
|
9
9
|
declare function PopoverTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: Popover$1.Trigger.Props):
|
|
11
|
+
}: Popover$1.Trigger.Props): react_jsx_runtime78.JSX.Element;
|
|
12
12
|
declare function PopoverContent({
|
|
13
13
|
className,
|
|
14
14
|
align,
|
|
@@ -16,19 +16,19 @@ declare function PopoverContent({
|
|
|
16
16
|
side,
|
|
17
17
|
sideOffset,
|
|
18
18
|
...props
|
|
19
|
-
}: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">):
|
|
19
|
+
}: Popover$1.Popup.Props & Pick<Popover$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset">): react_jsx_runtime78.JSX.Element;
|
|
20
20
|
declare function PopoverHeader({
|
|
21
21
|
className,
|
|
22
22
|
...props
|
|
23
|
-
}: React$1.ComponentProps<"div">):
|
|
23
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime78.JSX.Element;
|
|
24
24
|
declare function PopoverTitle({
|
|
25
25
|
className,
|
|
26
26
|
...props
|
|
27
|
-
}: Popover$1.Title.Props):
|
|
27
|
+
}: Popover$1.Title.Props): react_jsx_runtime78.JSX.Element;
|
|
28
28
|
declare function PopoverDescription({
|
|
29
29
|
className,
|
|
30
30
|
...props
|
|
31
|
-
}: Popover$1.Description.Props):
|
|
31
|
+
}: Popover$1.Description.Props): react_jsx_runtime78.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
|
|
34
34
|
//# sourceMappingURL=popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"popover.d.ts","names":[],"sources":["../../src/components/popover.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKS,OAAA;;GAAsB,SAAA,CAAiB,IAAA,CAAK,QAAK,
|
|
1
|
+
{"version":3,"file":"popover.d.ts","names":[],"sources":["../../src/components/popover.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKS,OAAA;;GAAsB,SAAA,CAAiB,IAAA,CAAK,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAIjD,cAAA;;GAA6B,SAAA,CAAiB,OAAA,CAAQ,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAI3D,cAAA;;;;;;;GAON,SAAA,CAAiB,KAAA,CAAM,QACxB,KACE,SAAA,CAAiB,UAAA,CAAW,0DAE7B,mBAAA,CAAA,GAAA,CAAA;AAvBiE,iBA8C3D,aAAA,CA1CsB;EAAA,SAAsB;EAAA,GAAA;AAAK,CAAA,EA0CV,OAAA,CAAM,cA1CI,CAAA,KAAA,CAAA,CAAA,EA0CiB,mBAAA,CAAA,GAAA,CAAA,OA1CjB;AAAA,iBAoDjD,YAAA,CAhDc;EAAA,SAAe;EAAA,GAAiB;AAAa,CAAL,EAgDhB,SAAA,CAAiB,KAAA,CAAM,KAhDF,CAAA,EAgDO,mBAAA,CAAA,GAAA,CAAA,OAhDP;AAAA,iBA0D3D,kBAAA,CAtDc;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAyDpB,SAAA,CAAiB,WAAA,CAAY,KAzDT,CAAA,EAyDc,mBAAA,CAAA,GAAA,CAAA,OAzDd"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "../utils-
|
|
2
|
-
import { a as PopoverTitle, i as PopoverHeader, n as PopoverContent, o as PopoverTrigger, r as PopoverDescription, t as Popover } from "../popover-
|
|
1
|
+
import "../utils-mWJR2N24.js";
|
|
2
|
+
import { a as PopoverTitle, i as PopoverHeader, n as PopoverContent, o as PopoverTrigger, r as PopoverDescription, t as Popover } from "../popover-C9D43EuT.js";
|
|
3
3
|
|
|
4
4
|
export { Popover, PopoverContent, PopoverDescription, PopoverHeader, PopoverTitle, PopoverTrigger };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime98 from "react/jsx-runtime";
|
|
2
2
|
import { Progress as Progress$1 } from "@base-ui/react/progress";
|
|
3
3
|
|
|
4
4
|
//#region src/components/progress.d.ts
|
|
@@ -7,23 +7,23 @@ declare function Progress({
|
|
|
7
7
|
children,
|
|
8
8
|
value,
|
|
9
9
|
...props
|
|
10
|
-
}: Progress$1.Root.Props):
|
|
10
|
+
}: Progress$1.Root.Props): react_jsx_runtime98.JSX.Element;
|
|
11
11
|
declare function ProgressTrack({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: Progress$1.Track.Props):
|
|
14
|
+
}: Progress$1.Track.Props): react_jsx_runtime98.JSX.Element;
|
|
15
15
|
declare function ProgressIndicator({
|
|
16
16
|
className,
|
|
17
17
|
...props
|
|
18
|
-
}: Progress$1.Indicator.Props):
|
|
18
|
+
}: Progress$1.Indicator.Props): react_jsx_runtime98.JSX.Element;
|
|
19
19
|
declare function ProgressLabel({
|
|
20
20
|
className,
|
|
21
21
|
...props
|
|
22
|
-
}: Progress$1.Label.Props):
|
|
22
|
+
}: Progress$1.Label.Props): react_jsx_runtime98.JSX.Element;
|
|
23
23
|
declare function ProgressValue({
|
|
24
24
|
className,
|
|
25
25
|
...props
|
|
26
|
-
}: Progress$1.Value.Props):
|
|
26
|
+
}: Progress$1.Value.Props): react_jsx_runtime98.JSX.Element;
|
|
27
27
|
//#endregion
|
|
28
28
|
export { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue };
|
|
29
29
|
//# sourceMappingURL=progress.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"progress.d.ts","names":[],"sources":["../../src/components/progress.tsx"],"sourcesContent":[],"mappings":";;;;iBAMS,QAAA;;;;;GAKN,UAAA,CAAkB,IAAA,CAAK,QAAK,
|
|
1
|
+
{"version":3,"file":"progress.d.ts","names":[],"sources":["../../src/components/progress.tsx"],"sourcesContent":[],"mappings":";;;;iBAMS,QAAA;;;;;GAKN,UAAA,CAAkB,IAAA,CAAK,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAgBtB,aAAA;;;GAAuC,UAAA,CAAkB,KAAA,CAAM,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAapE,iBAAA;;;GAGN,UAAA,CAAkB,SAAA,CAAU,QAAK,mBAAA,CAAA,GAAA,CAAA;AAzCmC,iBAuD9D,aAAA,CAnDQ;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EAmD+B,UAAA,CAAkB,KAAA,CAAM,KAnDvD,CAAA,EAmD4D,mBAAA,CAAA,GAAA,CAAA,OAnD5D;iBA6DR,aAAA,CA5DP;EAAA,SAAA;EAAA,GAAA;AAAA,CAAA,EA4D8C,UAAA,CAAkB,KAAA,CAAM,KA5DtE,CAAA,EA4D2E,mBAAA,CAAA,GAAA,CAAA,OA5D3E"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime96 from "react/jsx-runtime";
|
|
2
2
|
import { Radio } from "@base-ui/react/radio";
|
|
3
3
|
import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
4
4
|
|
|
@@ -6,11 +6,11 @@ import { RadioGroup as RadioGroup$1 } from "@base-ui/react/radio-group";
|
|
|
6
6
|
declare function RadioGroup({
|
|
7
7
|
className,
|
|
8
8
|
...props
|
|
9
|
-
}: RadioGroup$1.Props):
|
|
9
|
+
}: RadioGroup$1.Props): react_jsx_runtime96.JSX.Element;
|
|
10
10
|
declare function RadioGroupItem({
|
|
11
11
|
className,
|
|
12
12
|
...props
|
|
13
|
-
}: Radio.Root.Props):
|
|
13
|
+
}: Radio.Root.Props): react_jsx_runtime96.JSX.Element;
|
|
14
14
|
//#endregion
|
|
15
15
|
export { RadioGroup, RadioGroupItem };
|
|
16
16
|
//# sourceMappingURL=radio-group.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"radio-group.d.ts","names":[],"sources":["../../src/components/radio-group.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKS,UAAA;;;GAAoC,YAAA,CAAoB,QAAK,
|
|
1
|
+
{"version":3,"file":"radio-group.d.ts","names":[],"sources":["../../src/components/radio-group.tsx"],"sourcesContent":[],"mappings":";;;;;iBAKS,UAAA;;;GAAoC,YAAA,CAAoB,QAAK,mBAAA,CAAA,GAAA,CAAA;iBAU7D,cAAA;;;GAAwC,KAAA,CAAe,IAAA,CAAK,QAAK,mBAAA,CAAA,GAAA,CAAA"}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime107 from "react/jsx-runtime";
|
|
2
2
|
import * as ResizablePrimitive from "react-resizable-panels";
|
|
3
3
|
|
|
4
4
|
//#region src/components/resizable.d.ts
|
|
5
5
|
declare function ResizablePanelGroup({
|
|
6
6
|
className,
|
|
7
7
|
...props
|
|
8
|
-
}: ResizablePrimitive.GroupProps):
|
|
8
|
+
}: ResizablePrimitive.GroupProps): react_jsx_runtime107.JSX.Element;
|
|
9
9
|
declare function ResizablePanel({
|
|
10
10
|
...props
|
|
11
|
-
}: ResizablePrimitive.PanelProps):
|
|
11
|
+
}: ResizablePrimitive.PanelProps): react_jsx_runtime107.JSX.Element;
|
|
12
12
|
declare function ResizableHandle({
|
|
13
13
|
withHandle,
|
|
14
14
|
className,
|
|
15
15
|
...props
|
|
16
16
|
}: ResizablePrimitive.SeparatorProps & {
|
|
17
17
|
withHandle?: boolean;
|
|
18
|
-
}):
|
|
18
|
+
}): react_jsx_runtime107.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
export { ResizableHandle, ResizablePanel, ResizablePanelGroup };
|
|
21
21
|
//# sourceMappingURL=resizable.d.ts.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime122 from "react/jsx-runtime";
|
|
2
2
|
import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
|
|
3
3
|
|
|
4
4
|
//#region src/components/scroll-area.d.ts
|
|
@@ -6,12 +6,12 @@ declare function ScrollArea({
|
|
|
6
6
|
className,
|
|
7
7
|
children,
|
|
8
8
|
...props
|
|
9
|
-
}: ScrollArea$1.Root.Props):
|
|
9
|
+
}: ScrollArea$1.Root.Props): react_jsx_runtime122.JSX.Element;
|
|
10
10
|
declare function ScrollBar({
|
|
11
11
|
className,
|
|
12
12
|
orientation,
|
|
13
13
|
...props
|
|
14
|
-
}: ScrollArea$1.Scrollbar.Props):
|
|
14
|
+
}: ScrollArea$1.Scrollbar.Props): react_jsx_runtime122.JSX.Element;
|
|
15
15
|
//#endregion
|
|
16
16
|
export { ScrollArea, ScrollBar };
|
|
17
17
|
//# sourceMappingURL=scroll-area.d.ts.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { t as cn } from "../utils-
|
|
2
|
-
import "react";
|
|
1
|
+
import { t as cn } from "../utils-mWJR2N24.js";
|
|
3
2
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
3
|
+
import "react";
|
|
4
4
|
import { ScrollArea as ScrollArea$1 } from "@base-ui/react/scroll-area";
|
|
5
5
|
|
|
6
6
|
//#region src/components/scroll-area.tsx
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
+
import * as react_jsx_runtime173 from "react/jsx-runtime";
|
|
1
2
|
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime226 from "react/jsx-runtime";
|
|
3
3
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
4
4
|
|
|
5
5
|
//#region src/components/select.d.ts
|
|
@@ -7,11 +7,11 @@ declare const Select: typeof Select$1.Root;
|
|
|
7
7
|
declare function SelectGroup({
|
|
8
8
|
className,
|
|
9
9
|
...props
|
|
10
|
-
}: Select$1.Group.Props):
|
|
10
|
+
}: Select$1.Group.Props): react_jsx_runtime173.JSX.Element;
|
|
11
11
|
declare function SelectValue({
|
|
12
12
|
className,
|
|
13
13
|
...props
|
|
14
|
-
}: Select$1.Value.Props):
|
|
14
|
+
}: Select$1.Value.Props): react_jsx_runtime173.JSX.Element;
|
|
15
15
|
declare function SelectTrigger({
|
|
16
16
|
className,
|
|
17
17
|
size,
|
|
@@ -19,7 +19,7 @@ declare function SelectTrigger({
|
|
|
19
19
|
...props
|
|
20
20
|
}: Select$1.Trigger.Props & {
|
|
21
21
|
size?: "sm" | "default";
|
|
22
|
-
}):
|
|
22
|
+
}): react_jsx_runtime173.JSX.Element;
|
|
23
23
|
declare function SelectContent({
|
|
24
24
|
className,
|
|
25
25
|
children,
|
|
@@ -29,28 +29,28 @@ declare function SelectContent({
|
|
|
29
29
|
alignOffset,
|
|
30
30
|
alignItemWithTrigger,
|
|
31
31
|
...props
|
|
32
|
-
}: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">):
|
|
32
|
+
}: Select$1.Popup.Props & Pick<Select$1.Positioner.Props, "align" | "alignOffset" | "side" | "sideOffset" | "alignItemWithTrigger">): react_jsx_runtime173.JSX.Element;
|
|
33
33
|
declare function SelectLabel({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: Select$1.GroupLabel.Props):
|
|
36
|
+
}: Select$1.GroupLabel.Props): react_jsx_runtime173.JSX.Element;
|
|
37
37
|
declare function SelectItem({
|
|
38
38
|
className,
|
|
39
39
|
children,
|
|
40
40
|
...props
|
|
41
|
-
}: Select$1.Item.Props):
|
|
41
|
+
}: Select$1.Item.Props): react_jsx_runtime173.JSX.Element;
|
|
42
42
|
declare function SelectSeparator({
|
|
43
43
|
className,
|
|
44
44
|
...props
|
|
45
|
-
}: Select$1.Separator.Props):
|
|
45
|
+
}: Select$1.Separator.Props): react_jsx_runtime173.JSX.Element;
|
|
46
46
|
declare function SelectScrollUpButton({
|
|
47
47
|
className,
|
|
48
48
|
...props
|
|
49
|
-
}: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>):
|
|
49
|
+
}: React$1.ComponentProps<typeof Select$1.ScrollUpArrow>): react_jsx_runtime173.JSX.Element;
|
|
50
50
|
declare function SelectScrollDownButton({
|
|
51
51
|
className,
|
|
52
52
|
...props
|
|
53
|
-
}: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>):
|
|
53
|
+
}: React$1.ComponentProps<typeof Select$1.ScrollDownArrow>): react_jsx_runtime173.JSX.Element;
|
|
54
54
|
//#endregion
|
|
55
55
|
export { Select, SelectContent, SelectGroup, SelectItem, SelectLabel, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue };
|
|
56
56
|
//# sourceMappingURL=select.d.ts.map
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import { t as cn } from "../utils-
|
|
4
|
-
import "react";
|
|
3
|
+
import { t as cn } from "../utils-mWJR2N24.js";
|
|
5
4
|
import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
|
|
6
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
6
|
+
import "react";
|
|
7
7
|
import { Select as Select$1 } from "@base-ui/react/select";
|
|
8
8
|
|
|
9
9
|
//#region src/components/select.tsx
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { t as Separator } from "../separator-
|
|
1
|
+
import { t as Separator } from "../separator-_9aINuaq.js";
|
|
2
2
|
export { Separator };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
+
import * as react_jsx_runtime192 from "react/jsx-runtime";
|
|
1
2
|
import * as React$1 from "react";
|
|
2
|
-
import * as react_jsx_runtime215 from "react/jsx-runtime";
|
|
3
3
|
import { Dialog } from "@base-ui/react/dialog";
|
|
4
4
|
|
|
5
5
|
//#region src/components/sheet.d.ts
|
|
6
6
|
declare function Sheet({
|
|
7
7
|
...props
|
|
8
|
-
}: Dialog.Root.Props):
|
|
8
|
+
}: Dialog.Root.Props): react_jsx_runtime192.JSX.Element;
|
|
9
9
|
declare function SheetTrigger({
|
|
10
10
|
...props
|
|
11
|
-
}: Dialog.Trigger.Props):
|
|
11
|
+
}: Dialog.Trigger.Props): react_jsx_runtime192.JSX.Element;
|
|
12
12
|
declare function SheetClose({
|
|
13
13
|
...props
|
|
14
|
-
}: Dialog.Close.Props):
|
|
14
|
+
}: Dialog.Close.Props): react_jsx_runtime192.JSX.Element;
|
|
15
15
|
declare function SheetContent({
|
|
16
16
|
className,
|
|
17
17
|
children,
|
|
@@ -21,23 +21,23 @@ declare function SheetContent({
|
|
|
21
21
|
}: Dialog.Popup.Props & {
|
|
22
22
|
side?: "top" | "right" | "bottom" | "left";
|
|
23
23
|
showCloseButton?: boolean;
|
|
24
|
-
}):
|
|
24
|
+
}): react_jsx_runtime192.JSX.Element;
|
|
25
25
|
declare function SheetHeader({
|
|
26
26
|
className,
|
|
27
27
|
...props
|
|
28
|
-
}: React$1.ComponentProps<"div">):
|
|
28
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime192.JSX.Element;
|
|
29
29
|
declare function SheetFooter({
|
|
30
30
|
className,
|
|
31
31
|
...props
|
|
32
|
-
}: React$1.ComponentProps<"div">):
|
|
32
|
+
}: React$1.ComponentProps<"div">): react_jsx_runtime192.JSX.Element;
|
|
33
33
|
declare function SheetTitle({
|
|
34
34
|
className,
|
|
35
35
|
...props
|
|
36
|
-
}: Dialog.Title.Props):
|
|
36
|
+
}: Dialog.Title.Props): react_jsx_runtime192.JSX.Element;
|
|
37
37
|
declare function SheetDescription({
|
|
38
38
|
className,
|
|
39
39
|
...props
|
|
40
|
-
}: Dialog.Description.Props):
|
|
40
|
+
}: Dialog.Description.Props): react_jsx_runtime192.JSX.Element;
|
|
41
41
|
//#endregion
|
|
42
42
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|
|
43
43
|
//# sourceMappingURL=sheet.d.ts.map
|
package/dist/components/sheet.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
|
|
3
|
-
import "../utils-
|
|
4
|
-
import "../button-
|
|
5
|
-
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "../sheet-
|
|
3
|
+
import "../utils-mWJR2N24.js";
|
|
4
|
+
import "../button-hBUFMmsZ.js";
|
|
5
|
+
import { a as SheetFooter, c as SheetTrigger, i as SheetDescription, n as SheetClose, o as SheetHeader, r as SheetContent, s as SheetTitle, t as Sheet } from "../sheet-CLjNDrfL.js";
|
|
6
6
|
|
|
7
7
|
export { Sheet, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetTitle, SheetTrigger };
|