@wello-dev/core 1.0.3 → 1.0.4
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/{chunk-DZZFNE3T.js → chunk-2A6MTZBO.js} +4 -4
- package/dist/{chunk-JULZQR53.js → chunk-2GM6477D.js} +4 -4
- package/dist/{chunk-ISMMMDVN.js → chunk-2WIGWLPL.js} +4 -4
- package/dist/{chunk-UYZYNUHV.js → chunk-2XGMU4QA.js} +8 -8
- package/dist/{chunk-HTVCNO6D.js → chunk-3E3X5RLN.js} +4 -4
- package/dist/{chunk-BDCHO6UH.js → chunk-3NXEX2BT.js} +4 -4
- package/dist/{chunk-MT2ORIYR.js → chunk-3Z5OAUG3.js} +6 -6
- package/dist/{chunk-SUOKYV33.js → chunk-4L4RMGVI.js} +5 -5
- package/dist/{chunk-4US3CQBQ.js → chunk-4QBFXTYH.js} +2 -2
- package/dist/{chunk-PN2YIL6X.js → chunk-52P4CIAK.js} +2 -2
- package/dist/{chunk-GTD4FTYZ.js → chunk-57ZKN6G3.js} +4 -4
- package/dist/{chunk-CR2NHBTR.js → chunk-5BD5JJVJ.js} +3 -3
- package/dist/{chunk-PFKEUV6H.js → chunk-5N3F6CKC.js} +4 -4
- package/dist/{chunk-DNWNM4V5.js → chunk-5SQC5LKY.js} +3 -3
- package/dist/{chunk-2RUM3LAM.js → chunk-62UUESHU.js} +4 -4
- package/dist/{chunk-WLBEONY6.js → chunk-63PSLIW5.js} +7 -7
- package/dist/{chunk-LBVEHQSM.js → chunk-6U4Y3AUT.js} +6 -6
- package/dist/{chunk-CWY52RBD.js → chunk-7GLDYLJ6.js} +3 -3
- package/dist/{chunk-BEGWA5VF.js → chunk-7JGIQGZP.js} +4 -4
- package/dist/{chunk-L42RFJ2M.js → chunk-7KIXQ2XG.js} +6 -6
- package/dist/{chunk-VNFSDED4.js → chunk-7PTDAI65.js} +4 -4
- package/dist/{chunk-CDW7N4AN.js → chunk-APTAGITO.js} +4 -4
- package/dist/{chunk-HJVSWVIF.js → chunk-B3LVDQJU.js} +4 -4
- package/dist/{chunk-FE7FV5RC.js → chunk-BZ222ZYD.js} +4 -4
- package/dist/{chunk-3BHZGA6W.js → chunk-CGR72YL6.js} +6 -6
- package/dist/{chunk-QBC6SDBH.js → chunk-CVIHRO4Q.js} +4 -4
- package/dist/{chunk-X7G4K53Y.js → chunk-DCC7EE67.js} +2 -2
- package/dist/{chunk-ZOARZOEE.js → chunk-DHAMBKCR.js} +4 -4
- package/dist/{chunk-P6UFGXBS.js → chunk-DJR6BSCZ.js} +3 -3
- package/dist/{chunk-DJOL6H2F.js → chunk-E2765LHX.js} +4 -4
- package/dist/{chunk-733IBCOF.js → chunk-E74HEMFS.js} +4 -4
- package/dist/{chunk-GOUDPDWV.js → chunk-ECFQDEFL.js} +5 -5
- package/dist/{chunk-L6J2OM3L.js → chunk-EJ7ZXISQ.js} +3 -3
- package/dist/{chunk-IFE7QHRN.js → chunk-F2FJLMJF.js} +5 -5
- package/dist/{chunk-FD47ZYZC.js → chunk-FIAJMBSD.js} +19 -3
- package/dist/chunk-FIAJMBSD.js.map +1 -0
- package/dist/{chunk-X5BSDJID.js → chunk-FR7TZXY3.js} +2 -2
- package/dist/{chunk-IOU3HQDO.js → chunk-GD5URO3H.js} +4 -4
- package/dist/{chunk-NOH3TQ4D.js → chunk-GGRLDV5L.js} +4 -4
- package/dist/{chunk-O2WLHCV3.js → chunk-GKBBDYNB.js} +4 -4
- package/dist/{chunk-6CW6GP3R.js → chunk-GSLJSEUI.js} +5 -5
- package/dist/{chunk-Z2YAWE47.js → chunk-H4D7LXZL.js} +2 -2
- package/dist/{chunk-PUB2EEND.js → chunk-HESG7OWV.js} +4 -4
- package/dist/{chunk-Z4RC6VEN.js → chunk-HGYIOR5F.js} +8 -8
- package/dist/{chunk-H7JTY3KG.js → chunk-HSJ27BGL.js} +4 -4
- package/dist/{chunk-SVW4PGXZ.js → chunk-IK562BNJ.js} +2 -1
- package/dist/chunk-IK562BNJ.js.map +1 -0
- package/dist/{chunk-Z6ICZOPQ.js → chunk-JJXJXOZ7.js} +5 -5
- package/dist/{chunk-DSB2LJ6C.js → chunk-JZJ5R7XW.js} +5 -5
- package/dist/{chunk-RGIFDATB.js → chunk-K2Q5Q6WQ.js} +6 -6
- package/dist/{chunk-JPJVBAIH.js → chunk-KEYIOWAG.js} +2 -2
- package/dist/{chunk-KLPE3VVW.js → chunk-KPWAEDRU.js} +6 -6
- package/dist/{chunk-CKMQASED.js → chunk-L2V4OD4Q.js} +4 -4
- package/dist/{chunk-OHWHQ6XW.js → chunk-L5MO7VKZ.js} +4 -4
- package/dist/{chunk-2X5FFBSJ.js → chunk-MO6GW5AX.js} +4 -4
- package/dist/{chunk-5H65TSPL.js → chunk-MWYGXAJQ.js} +4 -4
- package/dist/{chunk-K4A2K7BZ.js → chunk-NOYSHU5U.js} +4 -4
- package/dist/{chunk-RXCMM3CW.js → chunk-NVAE2R5E.js} +4 -4
- package/dist/{chunk-IMLWKUCJ.js → chunk-NZQI4WL5.js} +6 -6
- package/dist/{chunk-U5L4N6I4.js → chunk-O4MQLZEH.js} +4 -4
- package/dist/{chunk-72BHT4LF.js → chunk-PPKKOBHB.js} +6 -6
- package/dist/{chunk-QVV44ZD4.js → chunk-QFN4MBT2.js} +4 -4
- package/dist/{chunk-R7JHVYVG.js → chunk-QHJMXGDE.js} +4 -4
- package/dist/{chunk-UHG6UFVC.js → chunk-QIS6W7Q6.js} +4 -4
- package/dist/{chunk-WTLFHZ57.js → chunk-QZFPW75D.js} +43 -22
- package/dist/chunk-QZFPW75D.js.map +1 -0
- package/dist/{chunk-TN5SXVSE.js → chunk-R3H3IYNM.js} +2 -2
- package/dist/{chunk-ABMECAUS.js → chunk-RJK6AQEW.js} +4 -4
- package/dist/{chunk-IQSYVFOY.js → chunk-SIZ7G2KD.js} +3 -3
- package/dist/{chunk-4YJIHKKS.js → chunk-TIZEUZHC.js} +4 -4
- package/dist/{chunk-UEUYG4I3.js → chunk-TJUOXXLK.js} +6 -6
- package/dist/{chunk-JZ6ELH2V.js → chunk-TVOR2RGE.js} +4 -4
- package/dist/{chunk-XNI4OQ3T.js → chunk-TWM6DSH4.js} +2 -2
- package/dist/{chunk-KQ4GKCTA.js → chunk-UAEHGDZX.js} +3 -3
- package/dist/{chunk-NA64PNKX.js → chunk-UYKK6PVB.js} +5 -5
- package/dist/{chunk-F7EQPL6N.js → chunk-VIO22OUP.js} +5 -5
- package/dist/{chunk-PHVD4HWN.js → chunk-VNM5TVQZ.js} +6 -6
- package/dist/{chunk-3QR5FZWN.js → chunk-XAHR3DK7.js} +4 -4
- package/dist/{chunk-GZAMLRD4.js → chunk-YFBYWNYF.js} +6 -6
- package/dist/{chunk-TVQLZTJP.js → chunk-YHPHWOAE.js} +8 -8
- package/dist/{chunk-NGL6LF6N.js → chunk-YOL5PMHU.js} +5 -5
- package/dist/{chunk-B7SEAJUZ.js → chunk-YQOS23WP.js} +3 -3
- package/dist/{chunk-DAPHWP42.js → chunk-YTH2T5E4.js} +6 -6
- package/dist/{chunk-VNIR2LZ5.js → chunk-YTI5AZL4.js} +5 -5
- package/dist/{chunk-2QS3KCRK.js → chunk-ZJZUNSCO.js} +4 -4
- package/dist/{chunk-AGVNLPLN.js → chunk-ZMR3K4MX.js} +4 -4
- package/dist/{chunk-FAQMYDMP.js → chunk-ZTOAB4HM.js} +6 -6
- package/dist/{chunk-J67OXWXG.js → chunk-ZVXCVBC4.js} +2 -2
- package/dist/components/Accordion/Accordion.js +6 -6
- package/dist/components/ActionIcon/ActionIcon.js +6 -6
- package/dist/components/Alert/Alert.js +8 -8
- package/dist/components/Anchor/Anchor.js +5 -5
- package/dist/components/Avatar/Avatar.js +4 -4
- package/dist/components/Badge/Badge.js +4 -4
- package/dist/components/Blockquote/Blockquote.js +4 -4
- package/dist/components/Breadcrumbs/Breadcrumbs.js +4 -4
- package/dist/components/Burger/Burger.js +5 -5
- package/dist/components/Button/Button.js +6 -6
- package/dist/components/Card/Card.js +4 -4
- package/dist/components/Carousel/Carousel.js +4 -4
- package/dist/components/Center/Center.js +4 -4
- package/dist/components/Checkbox/Checkbox.js +9 -9
- package/dist/components/Chip/Chip.js +4 -4
- package/dist/components/CloseButton/CloseButton.js +7 -7
- package/dist/components/Code/Code.js +4 -4
- package/dist/components/Collapse/Collapse.js +4 -4
- package/dist/components/ColorPicker/ColorInput.js +14 -14
- package/dist/components/ColorPicker/ColorPicker.js +5 -5
- package/dist/components/Combobox/Combobox.js +11 -11
- package/dist/components/Combobox/Pill.js +9 -9
- package/dist/components/Combobox/Select.js +15 -15
- package/dist/components/Combobox/TagsInput.js +15 -15
- package/dist/components/Container/Container.js +4 -4
- package/dist/components/CopyButton/CopyButton.js +3 -3
- package/dist/components/Dialog/Dialog.js +10 -10
- package/dist/components/Divider/Divider.js +4 -4
- package/dist/components/Dropzone/Dropzone.js +14 -14
- package/dist/components/EmptyState/EmptyState.js +4 -4
- package/dist/components/Field/Field.js +9 -9
- package/dist/components/FileButton/FileButton.js +3 -3
- package/dist/components/Flex/Flex.js +4 -4
- package/dist/components/Grid/Grid.js +4 -4
- package/dist/components/Group/Group.js +4 -4
- package/dist/components/Image/Image.js +4 -4
- package/dist/components/Indicator/Indicator.js +4 -4
- package/dist/components/Input/Input.js +8 -8
- package/dist/components/List/List.js +4 -4
- package/dist/components/Loader/Loader.js +4 -4
- package/dist/components/Menu/Menu.js +8 -8
- package/dist/components/Modal/Drawer.js +12 -12
- package/dist/components/Modal/Modal.js +12 -12
- package/dist/components/Modal/ModalBase.js +11 -11
- package/dist/components/NavLink/NavLink.js +6 -6
- package/dist/components/Notification/Notification.js +8 -8
- package/dist/components/NumberFormatter/NumberFormatter.js +3 -3
- package/dist/components/Overlay/Overlay.js +6 -6
- package/dist/components/Pagination/Pagination.js +5 -5
- package/dist/components/Paper/Paper.js +4 -4
- package/dist/components/PhoneInput/PhoneInput.js +21 -17
- package/dist/components/PinInput/PinInput.js +4 -4
- package/dist/components/Popover/Popover.js +6 -6
- package/dist/components/Portal/Portal.js +3 -3
- package/dist/components/Progress/Progress.js +4 -4
- package/dist/components/RingProgress/RingProgress.js +4 -4
- package/dist/components/ScrollArea/ScrollArea.js +4 -4
- package/dist/components/SimpleGrid/SimpleGrid.js +4 -4
- package/dist/components/Skeleton/Skeleton.js +4 -4
- package/dist/components/Slider/Slider.js +4 -4
- package/dist/components/Spoiler/Spoiler.js +6 -6
- package/dist/components/Stack/Stack.js +4 -4
- package/dist/components/Stepper/Stepper.js +6 -6
- package/dist/components/Table/Table.js +4 -4
- package/dist/components/Tabs/Tabs.js +5 -5
- package/dist/components/Text/Text.js +4 -4
- package/dist/components/TextInput/TextInput.js +10 -10
- package/dist/components/ThemeIcon/ThemeIcon.js +4 -4
- package/dist/components/ThemeToggle/ThemeToggle.js +7 -7
- package/dist/components/Timeline/Timeline.js +4 -4
- package/dist/components/Title/Title.js +4 -4
- package/dist/components/Toggle/Toggle.js +5 -5
- package/dist/components/Tooltip/Tooltip.js +6 -6
- package/dist/components/Transition/Transition.js +3 -3
- package/dist/components/Typography/Typography.js +4 -4
- package/dist/components/UnstyledButton/UnstyledButton.js +4 -4
- package/dist/components/VisuallyHidden/VisuallyHidden.js +3 -3
- package/dist/core/index.js +4 -4
- package/dist/index.cjs +54 -14
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +111 -107
- package/dist/shadcn/Command.js +16 -16
- package/dist/shadcn/Dialog.js +15 -15
- package/dist/shadcn/Floating.js +10 -10
- package/dist/shadcn/Parts.js +7 -7
- package/dist/styles.css +93 -12
- package/package.json +1 -1
- package/dist/chunk-FD47ZYZC.js.map +0 -1
- package/dist/chunk-SVW4PGXZ.js.map +0 -1
- package/dist/chunk-WTLFHZ57.js.map +0 -1
- /package/dist/{chunk-DZZFNE3T.js.map → chunk-2A6MTZBO.js.map} +0 -0
- /package/dist/{chunk-JULZQR53.js.map → chunk-2GM6477D.js.map} +0 -0
- /package/dist/{chunk-ISMMMDVN.js.map → chunk-2WIGWLPL.js.map} +0 -0
- /package/dist/{chunk-UYZYNUHV.js.map → chunk-2XGMU4QA.js.map} +0 -0
- /package/dist/{chunk-HTVCNO6D.js.map → chunk-3E3X5RLN.js.map} +0 -0
- /package/dist/{chunk-BDCHO6UH.js.map → chunk-3NXEX2BT.js.map} +0 -0
- /package/dist/{chunk-MT2ORIYR.js.map → chunk-3Z5OAUG3.js.map} +0 -0
- /package/dist/{chunk-SUOKYV33.js.map → chunk-4L4RMGVI.js.map} +0 -0
- /package/dist/{chunk-4US3CQBQ.js.map → chunk-4QBFXTYH.js.map} +0 -0
- /package/dist/{chunk-PN2YIL6X.js.map → chunk-52P4CIAK.js.map} +0 -0
- /package/dist/{chunk-GTD4FTYZ.js.map → chunk-57ZKN6G3.js.map} +0 -0
- /package/dist/{chunk-CR2NHBTR.js.map → chunk-5BD5JJVJ.js.map} +0 -0
- /package/dist/{chunk-PFKEUV6H.js.map → chunk-5N3F6CKC.js.map} +0 -0
- /package/dist/{chunk-DNWNM4V5.js.map → chunk-5SQC5LKY.js.map} +0 -0
- /package/dist/{chunk-2RUM3LAM.js.map → chunk-62UUESHU.js.map} +0 -0
- /package/dist/{chunk-WLBEONY6.js.map → chunk-63PSLIW5.js.map} +0 -0
- /package/dist/{chunk-LBVEHQSM.js.map → chunk-6U4Y3AUT.js.map} +0 -0
- /package/dist/{chunk-CWY52RBD.js.map → chunk-7GLDYLJ6.js.map} +0 -0
- /package/dist/{chunk-BEGWA5VF.js.map → chunk-7JGIQGZP.js.map} +0 -0
- /package/dist/{chunk-L42RFJ2M.js.map → chunk-7KIXQ2XG.js.map} +0 -0
- /package/dist/{chunk-VNFSDED4.js.map → chunk-7PTDAI65.js.map} +0 -0
- /package/dist/{chunk-CDW7N4AN.js.map → chunk-APTAGITO.js.map} +0 -0
- /package/dist/{chunk-HJVSWVIF.js.map → chunk-B3LVDQJU.js.map} +0 -0
- /package/dist/{chunk-FE7FV5RC.js.map → chunk-BZ222ZYD.js.map} +0 -0
- /package/dist/{chunk-3BHZGA6W.js.map → chunk-CGR72YL6.js.map} +0 -0
- /package/dist/{chunk-QBC6SDBH.js.map → chunk-CVIHRO4Q.js.map} +0 -0
- /package/dist/{chunk-X7G4K53Y.js.map → chunk-DCC7EE67.js.map} +0 -0
- /package/dist/{chunk-ZOARZOEE.js.map → chunk-DHAMBKCR.js.map} +0 -0
- /package/dist/{chunk-P6UFGXBS.js.map → chunk-DJR6BSCZ.js.map} +0 -0
- /package/dist/{chunk-DJOL6H2F.js.map → chunk-E2765LHX.js.map} +0 -0
- /package/dist/{chunk-733IBCOF.js.map → chunk-E74HEMFS.js.map} +0 -0
- /package/dist/{chunk-GOUDPDWV.js.map → chunk-ECFQDEFL.js.map} +0 -0
- /package/dist/{chunk-L6J2OM3L.js.map → chunk-EJ7ZXISQ.js.map} +0 -0
- /package/dist/{chunk-IFE7QHRN.js.map → chunk-F2FJLMJF.js.map} +0 -0
- /package/dist/{chunk-X5BSDJID.js.map → chunk-FR7TZXY3.js.map} +0 -0
- /package/dist/{chunk-IOU3HQDO.js.map → chunk-GD5URO3H.js.map} +0 -0
- /package/dist/{chunk-NOH3TQ4D.js.map → chunk-GGRLDV5L.js.map} +0 -0
- /package/dist/{chunk-O2WLHCV3.js.map → chunk-GKBBDYNB.js.map} +0 -0
- /package/dist/{chunk-6CW6GP3R.js.map → chunk-GSLJSEUI.js.map} +0 -0
- /package/dist/{chunk-Z2YAWE47.js.map → chunk-H4D7LXZL.js.map} +0 -0
- /package/dist/{chunk-PUB2EEND.js.map → chunk-HESG7OWV.js.map} +0 -0
- /package/dist/{chunk-Z4RC6VEN.js.map → chunk-HGYIOR5F.js.map} +0 -0
- /package/dist/{chunk-H7JTY3KG.js.map → chunk-HSJ27BGL.js.map} +0 -0
- /package/dist/{chunk-Z6ICZOPQ.js.map → chunk-JJXJXOZ7.js.map} +0 -0
- /package/dist/{chunk-DSB2LJ6C.js.map → chunk-JZJ5R7XW.js.map} +0 -0
- /package/dist/{chunk-RGIFDATB.js.map → chunk-K2Q5Q6WQ.js.map} +0 -0
- /package/dist/{chunk-JPJVBAIH.js.map → chunk-KEYIOWAG.js.map} +0 -0
- /package/dist/{chunk-KLPE3VVW.js.map → chunk-KPWAEDRU.js.map} +0 -0
- /package/dist/{chunk-CKMQASED.js.map → chunk-L2V4OD4Q.js.map} +0 -0
- /package/dist/{chunk-OHWHQ6XW.js.map → chunk-L5MO7VKZ.js.map} +0 -0
- /package/dist/{chunk-2X5FFBSJ.js.map → chunk-MO6GW5AX.js.map} +0 -0
- /package/dist/{chunk-5H65TSPL.js.map → chunk-MWYGXAJQ.js.map} +0 -0
- /package/dist/{chunk-K4A2K7BZ.js.map → chunk-NOYSHU5U.js.map} +0 -0
- /package/dist/{chunk-RXCMM3CW.js.map → chunk-NVAE2R5E.js.map} +0 -0
- /package/dist/{chunk-IMLWKUCJ.js.map → chunk-NZQI4WL5.js.map} +0 -0
- /package/dist/{chunk-U5L4N6I4.js.map → chunk-O4MQLZEH.js.map} +0 -0
- /package/dist/{chunk-72BHT4LF.js.map → chunk-PPKKOBHB.js.map} +0 -0
- /package/dist/{chunk-QVV44ZD4.js.map → chunk-QFN4MBT2.js.map} +0 -0
- /package/dist/{chunk-R7JHVYVG.js.map → chunk-QHJMXGDE.js.map} +0 -0
- /package/dist/{chunk-UHG6UFVC.js.map → chunk-QIS6W7Q6.js.map} +0 -0
- /package/dist/{chunk-TN5SXVSE.js.map → chunk-R3H3IYNM.js.map} +0 -0
- /package/dist/{chunk-ABMECAUS.js.map → chunk-RJK6AQEW.js.map} +0 -0
- /package/dist/{chunk-IQSYVFOY.js.map → chunk-SIZ7G2KD.js.map} +0 -0
- /package/dist/{chunk-4YJIHKKS.js.map → chunk-TIZEUZHC.js.map} +0 -0
- /package/dist/{chunk-UEUYG4I3.js.map → chunk-TJUOXXLK.js.map} +0 -0
- /package/dist/{chunk-JZ6ELH2V.js.map → chunk-TVOR2RGE.js.map} +0 -0
- /package/dist/{chunk-XNI4OQ3T.js.map → chunk-TWM6DSH4.js.map} +0 -0
- /package/dist/{chunk-KQ4GKCTA.js.map → chunk-UAEHGDZX.js.map} +0 -0
- /package/dist/{chunk-NA64PNKX.js.map → chunk-UYKK6PVB.js.map} +0 -0
- /package/dist/{chunk-F7EQPL6N.js.map → chunk-VIO22OUP.js.map} +0 -0
- /package/dist/{chunk-PHVD4HWN.js.map → chunk-VNM5TVQZ.js.map} +0 -0
- /package/dist/{chunk-3QR5FZWN.js.map → chunk-XAHR3DK7.js.map} +0 -0
- /package/dist/{chunk-GZAMLRD4.js.map → chunk-YFBYWNYF.js.map} +0 -0
- /package/dist/{chunk-TVQLZTJP.js.map → chunk-YHPHWOAE.js.map} +0 -0
- /package/dist/{chunk-NGL6LF6N.js.map → chunk-YOL5PMHU.js.map} +0 -0
- /package/dist/{chunk-B7SEAJUZ.js.map → chunk-YQOS23WP.js.map} +0 -0
- /package/dist/{chunk-DAPHWP42.js.map → chunk-YTH2T5E4.js.map} +0 -0
- /package/dist/{chunk-VNIR2LZ5.js.map → chunk-YTI5AZL4.js.map} +0 -0
- /package/dist/{chunk-2QS3KCRK.js.map → chunk-ZJZUNSCO.js.map} +0 -0
- /package/dist/{chunk-AGVNLPLN.js.map → chunk-ZMR3K4MX.js.map} +0 -0
- /package/dist/{chunk-FAQMYDMP.js.map → chunk-ZTOAB4HM.js.map} +0 -0
- /package/dist/{chunk-J67OXWXG.js.map → chunk-ZVXCVBC4.js.map} +0 -0
|
@@ -2,16 +2,16 @@
|
|
|
2
2
|
import {
|
|
3
3
|
ThemeToggle,
|
|
4
4
|
ThemeToggleButton
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-EJ7ZXISQ.js";
|
|
6
6
|
import "../../chunk-B3KTN3DO.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-7KIXQ2XG.js";
|
|
8
|
+
import "../../chunk-ZJZUNSCO.js";
|
|
9
9
|
import "../../chunk-MYHAWRIV.js";
|
|
10
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-5SQC5LKY.js";
|
|
11
11
|
import "../../chunk-CJ7I6UM7.js";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-
|
|
14
|
-
import "../../chunk-
|
|
12
|
+
import "../../chunk-TWM6DSH4.js";
|
|
13
|
+
import "../../chunk-4QBFXTYH.js";
|
|
14
|
+
import "../../chunk-IK562BNJ.js";
|
|
15
15
|
import "../../chunk-ORHFHJKL.js";
|
|
16
16
|
export {
|
|
17
17
|
ThemeToggle,
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Timeline,
|
|
4
4
|
TimelineItem
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-5N3F6CKC.js";
|
|
6
6
|
import "../../chunk-CJ7I6UM7.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-TWM6DSH4.js";
|
|
8
|
+
import "../../chunk-4QBFXTYH.js";
|
|
9
|
+
import "../../chunk-IK562BNJ.js";
|
|
10
10
|
import "../../chunk-ORHFHJKL.js";
|
|
11
11
|
export {
|
|
12
12
|
Timeline,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Title
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-62UUESHU.js";
|
|
5
5
|
import "../../chunk-CJ7I6UM7.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-TWM6DSH4.js";
|
|
7
|
+
import "../../chunk-4QBFXTYH.js";
|
|
8
|
+
import "../../chunk-IK562BNJ.js";
|
|
9
9
|
import "../../chunk-ORHFHJKL.js";
|
|
10
10
|
export {
|
|
11
11
|
Title
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Toggle
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-2WIGWLPL.js";
|
|
5
|
+
import "../../chunk-5SQC5LKY.js";
|
|
6
6
|
import "../../chunk-CJ7I6UM7.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-TWM6DSH4.js";
|
|
8
|
+
import "../../chunk-4QBFXTYH.js";
|
|
9
|
+
import "../../chunk-IK562BNJ.js";
|
|
10
10
|
import "../../chunk-ORHFHJKL.js";
|
|
11
11
|
export {
|
|
12
12
|
Toggle
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
import {
|
|
3
3
|
Tooltip,
|
|
4
4
|
TooltipFloating
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-6U4Y3AUT.js";
|
|
6
6
|
import "../../chunk-F4OMXH3E.js";
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-FIAJMBSD.js";
|
|
8
|
+
import "../../chunk-H4D7LXZL.js";
|
|
9
9
|
import "../../chunk-CTBTEAD6.js";
|
|
10
|
-
import "../../chunk-
|
|
11
|
-
import "../../chunk-
|
|
12
|
-
import "../../chunk-
|
|
10
|
+
import "../../chunk-TWM6DSH4.js";
|
|
11
|
+
import "../../chunk-4QBFXTYH.js";
|
|
12
|
+
import "../../chunk-IK562BNJ.js";
|
|
13
13
|
import "../../chunk-ORHFHJKL.js";
|
|
14
14
|
export {
|
|
15
15
|
Tooltip,
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
transitionStyles,
|
|
5
5
|
transitions,
|
|
6
6
|
useTransition
|
|
7
|
-
} from "../../chunk-
|
|
7
|
+
} from "../../chunk-H4D7LXZL.js";
|
|
8
8
|
import "../../chunk-CTBTEAD6.js";
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
9
|
+
import "../../chunk-4QBFXTYH.js";
|
|
10
|
+
import "../../chunk-IK562BNJ.js";
|
|
11
11
|
import "../../chunk-ORHFHJKL.js";
|
|
12
12
|
export {
|
|
13
13
|
Transition,
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Typography
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-SIZ7G2KD.js";
|
|
5
5
|
import "../../chunk-CJ7I6UM7.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-TWM6DSH4.js";
|
|
7
|
+
import "../../chunk-4QBFXTYH.js";
|
|
8
|
+
import "../../chunk-IK562BNJ.js";
|
|
9
9
|
import "../../chunk-ORHFHJKL.js";
|
|
10
10
|
export {
|
|
11
11
|
Typography
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
UnstyledButton
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-5SQC5LKY.js";
|
|
5
5
|
import "../../chunk-CJ7I6UM7.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-TWM6DSH4.js";
|
|
7
|
+
import "../../chunk-4QBFXTYH.js";
|
|
8
|
+
import "../../chunk-IK562BNJ.js";
|
|
9
9
|
import "../../chunk-ORHFHJKL.js";
|
|
10
10
|
export {
|
|
11
11
|
UnstyledButton
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
VisuallyHidden
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-R3H3IYNM.js";
|
|
5
5
|
import "../../chunk-CJ7I6UM7.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-TWM6DSH4.js";
|
|
7
|
+
import "../../chunk-IK562BNJ.js";
|
|
8
8
|
import "../../chunk-ORHFHJKL.js";
|
|
9
9
|
export {
|
|
10
10
|
VisuallyHidden
|
package/dist/core/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import {
|
|
|
12
12
|
useApi,
|
|
13
13
|
useEndpointLoaders,
|
|
14
14
|
useFetch
|
|
15
|
-
} from "../chunk-
|
|
15
|
+
} from "../chunk-DCC7EE67.js";
|
|
16
16
|
import {
|
|
17
17
|
Slot
|
|
18
18
|
} from "../chunk-MYHAWRIV.js";
|
|
@@ -23,13 +23,13 @@ import {
|
|
|
23
23
|
import {
|
|
24
24
|
Box,
|
|
25
25
|
mapResponsive
|
|
26
|
-
} from "../chunk-
|
|
26
|
+
} from "../chunk-TWM6DSH4.js";
|
|
27
27
|
import {
|
|
28
28
|
staticClasses,
|
|
29
29
|
useComponentStyles,
|
|
30
30
|
useProps,
|
|
31
31
|
useStyles
|
|
32
|
-
} from "../chunk-
|
|
32
|
+
} from "../chunk-4QBFXTYH.js";
|
|
33
33
|
import {
|
|
34
34
|
DEFAULT_LABELS,
|
|
35
35
|
DEFAULT_THEME,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
useWelloLabels,
|
|
81
81
|
useWelloTheme,
|
|
82
82
|
virtualColor
|
|
83
|
-
} from "../chunk-
|
|
83
|
+
} from "../chunk-IK562BNJ.js";
|
|
84
84
|
import {
|
|
85
85
|
callAll,
|
|
86
86
|
clamp,
|
package/dist/index.cjs
CHANGED
|
@@ -377,9 +377,11 @@ __export(index_exports, {
|
|
|
377
377
|
localStorageColorSchemeManager: () => localStorageColorSchemeManager,
|
|
378
378
|
luminance: () => luminance,
|
|
379
379
|
mapResponsive: () => mapResponsive,
|
|
380
|
+
matchesPhoneStartingNumber: () => matchesPhoneStartingNumber,
|
|
380
381
|
mergeRefs: () => mergeRefs,
|
|
381
382
|
mergeStyles: () => mergeStyles,
|
|
382
383
|
mergeTheme: () => mergeTheme,
|
|
384
|
+
normalizeStartingNumber: () => normalizeStartingNumber,
|
|
383
385
|
parseColor: () => parseColor,
|
|
384
386
|
parseThemeColor: () => parseThemeColor,
|
|
385
387
|
polymorphicFactory: () => polymorphicFactory,
|
|
@@ -1752,6 +1754,7 @@ var DEFAULT_LABELS = {
|
|
|
1752
1754
|
lastPage: "Last page",
|
|
1753
1755
|
phoneCode: "Code",
|
|
1754
1756
|
phoneDigits: (count) => `${count} digits`,
|
|
1757
|
+
phoneStartingNumber: (start) => `Phone number must start with ${start}`,
|
|
1755
1758
|
otpDigit: (position) => `Digit ${position}`,
|
|
1756
1759
|
colorSaturation: "Saturation",
|
|
1757
1760
|
colorHue: "Hue",
|
|
@@ -3391,13 +3394,20 @@ var import_react16 = require("react");
|
|
|
3391
3394
|
var import_react_dom2 = require("react-dom");
|
|
3392
3395
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
3393
3396
|
var sharedNode = null;
|
|
3397
|
+
function syncPortalDir(el) {
|
|
3398
|
+
const dir = document.documentElement.getAttribute("dir");
|
|
3399
|
+
if (dir) el.setAttribute("dir", dir);
|
|
3400
|
+
else el.removeAttribute("dir");
|
|
3401
|
+
}
|
|
3394
3402
|
function Portal(_props) {
|
|
3395
3403
|
const { target, reuseTargetNode, className, id, children } = useProps("Portal", { reuseTargetNode: true }, _props);
|
|
3396
3404
|
const [node, setNode] = (0, import_react16.useState)(null);
|
|
3397
3405
|
const created = (0, import_react16.useRef)(null);
|
|
3398
3406
|
(0, import_react16.useEffect)(() => {
|
|
3399
3407
|
if (target) {
|
|
3400
|
-
|
|
3408
|
+
const el = typeof target === "string" ? document.querySelector(target) : target;
|
|
3409
|
+
if (el) syncPortalDir(el);
|
|
3410
|
+
setNode(el);
|
|
3401
3411
|
return;
|
|
3402
3412
|
}
|
|
3403
3413
|
if (reuseTargetNode && !className && !id) {
|
|
@@ -3406,6 +3416,7 @@ function Portal(_props) {
|
|
|
3406
3416
|
sharedNode.setAttribute("data-wello-portal", "shared");
|
|
3407
3417
|
document.body.appendChild(sharedNode);
|
|
3408
3418
|
}
|
|
3419
|
+
syncPortalDir(sharedNode);
|
|
3409
3420
|
setNode(sharedNode);
|
|
3410
3421
|
return;
|
|
3411
3422
|
}
|
|
@@ -3413,6 +3424,7 @@ function Portal(_props) {
|
|
|
3413
3424
|
div.setAttribute("data-wello-portal", "");
|
|
3414
3425
|
if (className) div.className = className;
|
|
3415
3426
|
if (id) div.id = id;
|
|
3427
|
+
syncPortalDir(div);
|
|
3416
3428
|
document.body.appendChild(div);
|
|
3417
3429
|
created.current = div;
|
|
3418
3430
|
setNode(div);
|
|
@@ -3421,6 +3433,13 @@ function Portal(_props) {
|
|
|
3421
3433
|
created.current = null;
|
|
3422
3434
|
};
|
|
3423
3435
|
}, [target, reuseTargetNode, className, id]);
|
|
3436
|
+
(0, import_react16.useEffect)(() => {
|
|
3437
|
+
if (!node) return;
|
|
3438
|
+
syncPortalDir(node);
|
|
3439
|
+
const observer = new MutationObserver(() => syncPortalDir(node));
|
|
3440
|
+
observer.observe(document.documentElement, { attributes: true, attributeFilter: ["dir"] });
|
|
3441
|
+
return () => observer.disconnect();
|
|
3442
|
+
}, [node]);
|
|
3424
3443
|
return node ? (0, import_react_dom2.createPortal)(children, node) : null;
|
|
3425
3444
|
}
|
|
3426
3445
|
function OptionalPortal({ withinPortal = true, children, ...props }) {
|
|
@@ -9500,27 +9519,40 @@ var ALL_PHONE_COUNTRIES = ROWS.map(([iso, name, code]) => ({
|
|
|
9500
9519
|
var DEFAULT_PHONE_CODE = "20";
|
|
9501
9520
|
|
|
9502
9521
|
// src/components/PhoneInput/PhoneInput.tsx
|
|
9503
|
-
var import_jsx_runtime68 =
|
|
9522
|
+
var import_jsx_runtime68 = (
|
|
9523
|
+
// Always LTR: flag then dial code (RTL pages were flipping to "966 | flag").
|
|
9524
|
+
require("react/jsx-runtime")
|
|
9525
|
+
);
|
|
9504
9526
|
var DEFAULT_COUNTRIES = ALL_PHONE_COUNTRIES;
|
|
9505
9527
|
var digitsOnly = (value) => String(value ?? "").replace(/\D/g, "");
|
|
9506
9528
|
function parseLimit(value) {
|
|
9507
9529
|
const limit = Number(value);
|
|
9508
9530
|
return Number.isFinite(limit) && limit > 0 ? limit : null;
|
|
9509
9531
|
}
|
|
9532
|
+
function normalizeStartingNumber(value) {
|
|
9533
|
+
if (value == null || value === "") return null;
|
|
9534
|
+
const digits = digitsOnly(value);
|
|
9535
|
+
return digits || null;
|
|
9536
|
+
}
|
|
9537
|
+
function matchesPhoneStartingNumber(digits, start) {
|
|
9538
|
+
if (!start || !digits) return true;
|
|
9539
|
+
return digits.startsWith(start) || start.startsWith(digits);
|
|
9540
|
+
}
|
|
9510
9541
|
function resolvePhoneCountry(country) {
|
|
9511
|
-
const start = country.startingNumber ?? country.phone_starting_number;
|
|
9512
9542
|
return {
|
|
9513
9543
|
code: String(country.code ?? country.phone_code ?? country.value ?? ""),
|
|
9514
9544
|
name: country.name,
|
|
9515
9545
|
flag: country.flag,
|
|
9516
9546
|
limit: parseLimit(country.limit ?? country.phone_limit ?? country.phone_number_limit),
|
|
9517
|
-
startingNumber:
|
|
9547
|
+
startingNumber: normalizeStartingNumber(country.startingNumber ?? country.phone_starting_number),
|
|
9518
9548
|
country
|
|
9519
9549
|
};
|
|
9520
9550
|
}
|
|
9521
9551
|
function fitPhoneNumber(value, country) {
|
|
9522
9552
|
let phone = digitsOnly(value);
|
|
9523
|
-
if (phone && country.startingNumber && !phone.startsWith(country.startingNumber))
|
|
9553
|
+
if (phone && country.startingNumber && !phone.startsWith(country.startingNumber)) {
|
|
9554
|
+
phone = country.startingNumber + phone.slice(country.startingNumber.length);
|
|
9555
|
+
}
|
|
9524
9556
|
return country.limit ? phone.slice(0, country.limit) : phone;
|
|
9525
9557
|
}
|
|
9526
9558
|
var PhoneInput = factory((_props, ref) => {
|
|
@@ -9549,6 +9581,7 @@ var PhoneInput = factory((_props, ref) => {
|
|
|
9549
9581
|
onCodeChange,
|
|
9550
9582
|
codeName,
|
|
9551
9583
|
limitName,
|
|
9584
|
+
startingNumberName,
|
|
9552
9585
|
countries,
|
|
9553
9586
|
endpoint,
|
|
9554
9587
|
params,
|
|
@@ -9622,13 +9655,16 @@ var PhoneInput = factory((_props, ref) => {
|
|
|
9622
9655
|
const fitted = fitPhoneNumber(latest.current.phone, country);
|
|
9623
9656
|
if (fitted !== latest.current.phone) latest.current.setPhone(fitted);
|
|
9624
9657
|
}, [countryCode]);
|
|
9625
|
-
const showCountry = (item) => renderCountry ? renderCountry(item) : /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { ...getStyles("codeValue"), children: [
|
|
9658
|
+
const showCountry = (item) => renderCountry ? renderCountry(item) : /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("span", { ...getStyles("codeValue"), dir: "ltr", children: [
|
|
9626
9659
|
typeof item.flag === "string" ? /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("img", { ...getStyles("flag"), src: item.flag, alt: item.name ?? "", onError: (event) => event.currentTarget.style.display = "none" }) : item.flag,
|
|
9627
|
-
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { ...getStyles("dialCode"),
|
|
9660
|
+
/* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { ...getStyles("dialCode"), children: item.code })
|
|
9628
9661
|
] });
|
|
9629
9662
|
const toOption = (item) => ({ value: item.code, label: showCountry(item), searchText: `${item.name ?? ""} ${item.code}`, resolved: item });
|
|
9630
|
-
const hasError = !!error || !!codeError;
|
|
9631
9663
|
const hasMessage = (message) => message !== void 0 && message !== null && message !== false && message !== true && message !== "";
|
|
9664
|
+
const startingMismatch = !!startingNumber && !!phone && !matchesPhoneStartingNumber(phone, startingNumber);
|
|
9665
|
+
const startingError = startingMismatch ? labels.phoneStartingNumber(startingNumber) : null;
|
|
9666
|
+
const numberError = hasMessage(error) ? error : startingError;
|
|
9667
|
+
const hasError = hasMessage(numberError) || hasMessage(codeError);
|
|
9632
9668
|
const errorId = `${inputId}-phone-error`;
|
|
9633
9669
|
const shownPlaceholder = typeof placeholder === "function" ? placeholder(limit) : placeholder ?? (limit ? labels.phoneDigits(limit) : void 0);
|
|
9634
9670
|
const layout = { m, mt, mb, ml, mr, ms, me, mx, my, w, miw, maw, flex };
|
|
@@ -9641,7 +9677,7 @@ var PhoneInput = factory((_props, ref) => {
|
|
|
9641
9677
|
placeholder: codePlaceholder,
|
|
9642
9678
|
withFooter: false,
|
|
9643
9679
|
radius: 0,
|
|
9644
|
-
comboboxProps: { width: 240, position: "bottom-start" },
|
|
9680
|
+
comboboxProps: { width: 240, position: "bottom-start", withinPortal: true },
|
|
9645
9681
|
"aria-invalid": !!codeError || void 0,
|
|
9646
9682
|
"aria-label": codePlaceholder,
|
|
9647
9683
|
...selectProps,
|
|
@@ -9690,6 +9726,7 @@ var PhoneInput = factory((_props, ref) => {
|
|
|
9690
9726
|
type: "tel",
|
|
9691
9727
|
inputMode: "numeric",
|
|
9692
9728
|
autoComplete: "tel-national",
|
|
9729
|
+
dir: "ltr",
|
|
9693
9730
|
name,
|
|
9694
9731
|
value: phone,
|
|
9695
9732
|
disabled,
|
|
@@ -9697,8 +9734,8 @@ var PhoneInput = factory((_props, ref) => {
|
|
|
9697
9734
|
required,
|
|
9698
9735
|
maxLength: limit ?? void 0,
|
|
9699
9736
|
placeholder: shownPlaceholder,
|
|
9700
|
-
"aria-invalid":
|
|
9701
|
-
"aria-describedby": hasMessage(
|
|
9737
|
+
"aria-invalid": hasMessage(numberError) || void 0,
|
|
9738
|
+
"aria-describedby": hasMessage(numberError) ? errorId : void 0,
|
|
9702
9739
|
onBlur,
|
|
9703
9740
|
onChange: (event) => {
|
|
9704
9741
|
const digits = digitsOnly(event.currentTarget.value);
|
|
@@ -9707,12 +9744,13 @@ var PhoneInput = factory((_props, ref) => {
|
|
|
9707
9744
|
}
|
|
9708
9745
|
)
|
|
9709
9746
|
] }),
|
|
9710
|
-
(hasMessage(
|
|
9711
|
-
hasMessage(
|
|
9747
|
+
(hasMessage(numberError) || hasMessage(codeError)) && /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)("div", { ...getStyles("errors"), children: [
|
|
9748
|
+
hasMessage(numberError) && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputError, { ...getStyles("error"), id: errorId, children: numberError }),
|
|
9712
9749
|
hasMessage(codeError) && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputError, { ...getStyles("error"), "data-code": true, children: codeError })
|
|
9713
9750
|
] }),
|
|
9714
9751
|
codeName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: codeName, value: code }),
|
|
9715
|
-
limitName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: limitName, value: limit ?? "" })
|
|
9752
|
+
limitName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: limitName, value: limit ?? "" }),
|
|
9753
|
+
startingNumberName && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("input", { type: "hidden", name: startingNumberName, value: startingNumber ?? "" })
|
|
9716
9754
|
]
|
|
9717
9755
|
}
|
|
9718
9756
|
);
|
|
@@ -20689,9 +20727,11 @@ function CommandShortcut({ className, ...props }) {
|
|
|
20689
20727
|
localStorageColorSchemeManager,
|
|
20690
20728
|
luminance,
|
|
20691
20729
|
mapResponsive,
|
|
20730
|
+
matchesPhoneStartingNumber,
|
|
20692
20731
|
mergeRefs,
|
|
20693
20732
|
mergeStyles,
|
|
20694
20733
|
mergeTheme,
|
|
20734
|
+
normalizeStartingNumber,
|
|
20695
20735
|
parseColor,
|
|
20696
20736
|
parseThemeColor,
|
|
20697
20737
|
polymorphicFactory,
|