@mieweb/ui 0.2.2 → 0.3.0-dev.100
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/README.md +17 -0
- package/dist/ag-grid.cjs +37 -26
- package/dist/ag-grid.cjs.map +1 -1
- package/dist/ag-grid.js +33 -22
- package/dist/ag-grid.js.map +1 -1
- package/dist/brands/bluehive.cjs +3 -3
- package/dist/brands/bluehive.css +5 -5
- package/dist/brands/bluehive.js +1 -1
- package/dist/brands/index.cjs +29 -29
- package/dist/brands/index.js +8 -8
- package/dist/brands/mieweb.css +5 -5
- package/dist/brands/ozwell.cjs +2 -2
- package/dist/brands/ozwell.css +5 -5
- package/dist/brands/ozwell.js +1 -1
- package/dist/brands/types.cjs +4 -4
- package/dist/brands/types.d.cts +14 -8
- package/dist/brands/types.d.ts +14 -8
- package/dist/brands/types.js +1 -1
- package/dist/brands/waggleline.css +1 -1
- package/dist/brands/webchart.css +5 -5
- package/dist/{chunk-QDGZBDBI.cjs → chunk-2LF7PSSX.cjs} +3 -3
- package/dist/{chunk-QDGZBDBI.cjs.map → chunk-2LF7PSSX.cjs.map} +1 -1
- package/dist/{chunk-OWPWP46L.js → chunk-2NTYAALC.js} +3 -3
- package/dist/{chunk-OWPWP46L.js.map → chunk-2NTYAALC.js.map} +1 -1
- package/dist/{chunk-NAATBUHR.cjs → chunk-2VCAWAPC.cjs} +45 -20
- package/dist/chunk-2VCAWAPC.cjs.map +1 -0
- package/dist/{chunk-N3QTYHRZ.cjs → chunk-3GGET5LK.cjs} +40 -22
- package/dist/chunk-3GGET5LK.cjs.map +1 -0
- package/dist/{chunk-QL2YTVTR.js → chunk-43GBCUSQ.js} +8 -3
- package/dist/chunk-43GBCUSQ.js.map +1 -0
- package/dist/chunk-4DMZAVB2.js +334 -0
- package/dist/chunk-4DMZAVB2.js.map +1 -0
- package/dist/{chunk-EKIQE524.cjs → chunk-4FALCEJI.cjs} +3 -2
- package/dist/chunk-4FALCEJI.cjs.map +1 -0
- package/dist/chunk-4O3WJY4C.cjs +615 -0
- package/dist/chunk-4O3WJY4C.cjs.map +1 -0
- package/dist/{chunk-6OCIIIAI.js → chunk-4Z6ZZKIY.js} +40 -22
- package/dist/chunk-4Z6ZZKIY.js.map +1 -0
- package/dist/{chunk-QUA7WVHK.cjs → chunk-4ZU53GNR.cjs} +6 -14
- package/dist/{chunk-QUA7WVHK.cjs.map → chunk-4ZU53GNR.cjs.map} +1 -1
- package/dist/{chunk-S6UNPMAS.cjs → chunk-66S4PT6C.cjs} +3 -3
- package/dist/{chunk-S6UNPMAS.cjs.map → chunk-66S4PT6C.cjs.map} +1 -1
- package/dist/{chunk-4AWW5WPF.js → chunk-6LFG4JFF.js} +51 -24
- package/dist/chunk-6LFG4JFF.js.map +1 -0
- package/dist/chunk-7BARESXI.cjs +353 -0
- package/dist/chunk-7BARESXI.cjs.map +1 -0
- package/dist/{chunk-PEH4ZOEM.cjs → chunk-A2QVQF54.cjs} +12 -6
- package/dist/chunk-A2QVQF54.cjs.map +1 -0
- package/dist/{chunk-I7L6CQXR.cjs → chunk-AWUADXYI.cjs} +58 -31
- package/dist/chunk-AWUADXYI.cjs.map +1 -0
- package/dist/{chunk-PEFJAWNR.cjs → chunk-BWYYA3LQ.cjs} +26 -10
- package/dist/chunk-BWYYA3LQ.cjs.map +1 -0
- package/dist/chunk-C4QQAUYN.js +588 -0
- package/dist/chunk-C4QQAUYN.js.map +1 -0
- package/dist/chunk-CJQXWFIW.js +829 -0
- package/dist/chunk-CJQXWFIW.js.map +1 -0
- package/dist/{chunk-KWDTTGH2.js → chunk-CVF4HRWL.js} +5 -5
- package/dist/{chunk-KWDTTGH2.js.map → chunk-CVF4HRWL.js.map} +1 -1
- package/dist/{chunk-WH6I7CMP.cjs → chunk-CW75IKA6.cjs} +27 -2
- package/dist/chunk-CW75IKA6.cjs.map +1 -0
- package/dist/{chunk-3NJ72QU6.js → chunk-DCER2QQB.js} +3 -2
- package/dist/chunk-DCER2QQB.js.map +1 -0
- package/dist/{chunk-JYMQJ32S.cjs → chunk-DEZ7XSTG.cjs} +9 -5
- package/dist/chunk-DEZ7XSTG.cjs.map +1 -0
- package/dist/{chunk-QYJ7RQJ2.cjs → chunk-DFCZPVG4.cjs} +84 -38
- package/dist/chunk-DFCZPVG4.cjs.map +1 -0
- package/dist/{chunk-AWIULTJW.js → chunk-DNPRRYPQ.js} +18 -3
- package/dist/chunk-DNPRRYPQ.js.map +1 -0
- package/dist/{chunk-SSKI6VTW.cjs → chunk-E35GUUTC.cjs} +23 -4
- package/dist/chunk-E35GUUTC.cjs.map +1 -0
- package/dist/{chunk-B5364UWR.cjs → chunk-EAXY5X33.cjs} +6 -6
- package/dist/{chunk-B5364UWR.cjs.map → chunk-EAXY5X33.cjs.map} +1 -1
- package/dist/{chunk-53K3KWXQ.cjs → chunk-EUUQVDXX.cjs} +168 -138
- package/dist/chunk-EUUQVDXX.cjs.map +1 -0
- package/dist/{chunk-5UUL5EEO.cjs → chunk-FRT6RQND.cjs} +181 -128
- package/dist/chunk-FRT6RQND.cjs.map +1 -0
- package/dist/{chunk-R4DM4635.cjs → chunk-FSBFQBNE.cjs} +86 -2
- package/dist/chunk-FSBFQBNE.cjs.map +1 -0
- package/dist/{chunk-6Q4SU72T.js → chunk-FYEK4RZ3.js} +50 -11
- package/dist/chunk-FYEK4RZ3.js.map +1 -0
- package/dist/{chunk-UZUBLXVC.js → chunk-FZJBFJJR.js} +3 -2
- package/dist/chunk-FZJBFJJR.js.map +1 -0
- package/dist/{chunk-UHSPAFY6.js → chunk-GFZNSSSN.js} +3 -3
- package/dist/{chunk-UHSPAFY6.js.map → chunk-GFZNSSSN.js.map} +1 -1
- package/dist/chunk-GOKC4CCZ.cjs +384 -0
- package/dist/chunk-GOKC4CCZ.cjs.map +1 -0
- package/dist/{chunk-Z3TFPXVN.cjs → chunk-GXQFRLTN.cjs} +3 -3
- package/dist/{chunk-Z3TFPXVN.cjs.map → chunk-GXQFRLTN.cjs.map} +1 -1
- package/dist/{chunk-B3L43JGH.js → chunk-HEH3QXOQ.js} +26 -10
- package/dist/chunk-HEH3QXOQ.js.map +1 -0
- package/dist/{chunk-TA6FVVCM.js → chunk-I56VBDSC.js} +3 -3
- package/dist/{chunk-TA6FVVCM.js.map → chunk-I56VBDSC.js.map} +1 -1
- package/dist/{chunk-4DJNHPHB.js → chunk-IGWABMSM.js} +3 -3
- package/dist/{chunk-4DJNHPHB.js.map → chunk-IGWABMSM.js.map} +1 -1
- package/dist/{chunk-SWMRCGL4.cjs → chunk-IKMR2ADM.cjs} +5 -4
- package/dist/chunk-IKMR2ADM.cjs.map +1 -0
- package/dist/{chunk-HRA4FUO6.cjs → chunk-IWU7H3YS.cjs} +79 -52
- package/dist/chunk-IWU7H3YS.cjs.map +1 -0
- package/dist/{chunk-ONWOB76P.js → chunk-J3BU3JBX.js} +33 -14
- package/dist/chunk-J3BU3JBX.js.map +1 -0
- package/dist/{chunk-FFJVCQ5R.cjs → chunk-J644FU54.cjs} +49 -19
- package/dist/chunk-J644FU54.cjs.map +1 -0
- package/dist/chunk-JBB25LFB.js +359 -0
- package/dist/chunk-JBB25LFB.js.map +1 -0
- package/dist/{chunk-VDMQCSXT.cjs → chunk-JHPFOG2N.cjs} +4 -4
- package/dist/{chunk-VDMQCSXT.cjs.map → chunk-JHPFOG2N.cjs.map} +1 -1
- package/dist/{chunk-RYQ5NEKH.js → chunk-JV7UJGBM.js} +6 -6
- package/dist/{chunk-RYQ5NEKH.js.map → chunk-JV7UJGBM.js.map} +1 -1
- package/dist/{chunk-C6MDPPPL.js → chunk-JW5GWKV7.js} +3 -3
- package/dist/{chunk-C6MDPPPL.js.map → chunk-JW5GWKV7.js.map} +1 -1
- package/dist/{chunk-XXOBTAKA.js → chunk-JWUVVPKM.js} +79 -52
- package/dist/chunk-JWUVVPKM.js.map +1 -0
- package/dist/{chunk-EYH7OUX5.js → chunk-JYAWYBA3.js} +23 -4
- package/dist/chunk-JYAWYBA3.js.map +1 -0
- package/dist/{chunk-5T3AWNHG.cjs → chunk-K7IGBNZA.cjs} +70 -39
- package/dist/chunk-K7IGBNZA.cjs.map +1 -0
- package/dist/{chunk-BTJHYGPI.cjs → chunk-L7YQBSEL.cjs} +14 -4
- package/dist/chunk-L7YQBSEL.cjs.map +1 -0
- package/dist/chunk-LEMY57MI.js +3 -0
- package/dist/{chunk-Y22SOAJM.js.map → chunk-LEMY57MI.js.map} +1 -1
- package/dist/{chunk-AU5ADTYD.cjs → chunk-MIGLLTTD.cjs} +50 -11
- package/dist/chunk-MIGLLTTD.cjs.map +1 -0
- package/dist/{chunk-VV4N4WY6.cjs → chunk-MSRU3XBH.cjs} +61 -35
- package/dist/chunk-MSRU3XBH.cjs.map +1 -0
- package/dist/{chunk-JFAXLE2J.js → chunk-MUYTGWGE.js} +9 -5
- package/dist/chunk-MUYTGWGE.js.map +1 -0
- package/dist/{chunk-B26RIQ5R.js → chunk-MV3MTHWQ.js} +6 -2
- package/dist/chunk-MV3MTHWQ.js.map +1 -0
- package/dist/{chunk-VZUVYJFU.cjs → chunk-MXQNNKPX.cjs} +17 -17
- package/dist/{chunk-VZUVYJFU.cjs.map → chunk-MXQNNKPX.cjs.map} +1 -1
- package/dist/{chunk-PF3XWKE5.cjs → chunk-NIEIRA5A.cjs} +33 -14
- package/dist/chunk-NIEIRA5A.cjs.map +1 -0
- package/dist/{chunk-RRQGH7C5.cjs → chunk-NVHAQOHH.cjs} +8 -3
- package/dist/chunk-NVHAQOHH.cjs.map +1 -0
- package/dist/chunk-OGOFYY22.js +247 -0
- package/dist/chunk-OGOFYY22.js.map +1 -0
- package/dist/{chunk-OT36EMM5.js → chunk-OKBR6PX4.js} +5 -4
- package/dist/chunk-OKBR6PX4.js.map +1 -0
- package/dist/{chunk-LZEY55QZ.cjs → chunk-OYKS2JBB.cjs} +18 -3
- package/dist/chunk-OYKS2JBB.cjs.map +1 -0
- package/dist/{chunk-4LTN2LEN.js → chunk-PSTGFXQG.js} +3 -3
- package/dist/{chunk-4LTN2LEN.js.map → chunk-PSTGFXQG.js.map} +1 -1
- package/dist/{chunk-OW2BWGST.js → chunk-PU6ZC4GI.js} +48 -31
- package/dist/chunk-PU6ZC4GI.js.map +1 -0
- package/dist/chunk-PVUDXJAI.js +124 -0
- package/dist/chunk-PVUDXJAI.js.map +1 -0
- package/dist/{chunk-EF46XW4Z.cjs → chunk-Q2EWNXIB.cjs} +161 -67
- package/dist/chunk-Q2EWNXIB.cjs.map +1 -0
- package/dist/{chunk-CP7NPDQW.js → chunk-Q7NBJFEB.js} +87 -4
- package/dist/chunk-Q7NBJFEB.js.map +1 -0
- package/dist/{chunk-ORUPC5TV.cjs → chunk-QASIWBXU.cjs} +9 -5
- package/dist/chunk-QASIWBXU.cjs.map +1 -0
- package/dist/{chunk-4LNS5QDP.cjs → chunk-QITBJX4A.cjs} +3 -3
- package/dist/{chunk-4LNS5QDP.cjs.map → chunk-QITBJX4A.cjs.map} +1 -1
- package/dist/{chunk-KEIA2G6O.cjs → chunk-QO6U5VOT.cjs} +3 -3
- package/dist/{chunk-KEIA2G6O.cjs.map → chunk-QO6U5VOT.cjs.map} +1 -1
- package/dist/{chunk-XVZ4SLQB.js → chunk-QVJBUWJQ.js} +70 -39
- package/dist/chunk-QVJBUWJQ.js.map +1 -0
- package/dist/{chunk-QSMMFATL.js → chunk-R25H4N4Z.js} +181 -128
- package/dist/chunk-R25H4N4Z.js.map +1 -0
- package/dist/{chunk-TPGT236K.js → chunk-RC2YMOMS.js} +26 -3
- package/dist/chunk-RC2YMOMS.js.map +1 -0
- package/dist/{chunk-BXK5TNJE.cjs → chunk-RH43XBNV.cjs} +3 -2
- package/dist/chunk-RH43XBNV.cjs.map +1 -0
- package/dist/{chunk-4MHTSFPX.js → chunk-TGCY5FNL.js} +45 -20
- package/dist/chunk-TGCY5FNL.js.map +1 -0
- package/dist/{chunk-QZLRB3UG.js → chunk-TRZXK57D.js} +168 -138
- package/dist/chunk-TRZXK57D.js.map +1 -0
- package/dist/{chunk-B7YGVKTE.cjs → chunk-U3ABLVYH.cjs} +51 -24
- package/dist/chunk-U3ABLVYH.cjs.map +1 -0
- package/dist/chunk-VACI5SP7.cjs +270 -0
- package/dist/chunk-VACI5SP7.cjs.map +1 -0
- package/dist/{chunk-GV5JQBPX.js → chunk-VCO2IZOG.js} +9 -5
- package/dist/chunk-VCO2IZOG.js.map +1 -0
- package/dist/chunk-WFS6R2F5.js +328 -0
- package/dist/chunk-WFS6R2F5.js.map +1 -0
- package/dist/{chunk-IY7UQPDO.cjs → chunk-WGPMTW36.cjs} +6 -2
- package/dist/chunk-WGPMTW36.cjs.map +1 -0
- package/dist/chunk-WJU3KLVV.cjs +855 -0
- package/dist/chunk-WJU3KLVV.cjs.map +1 -0
- package/dist/{chunk-SOFX4T7M.js → chunk-WOYUQ4AT.js} +49 -19
- package/dist/chunk-WOYUQ4AT.js.map +1 -0
- package/dist/{chunk-SD44QJIP.js → chunk-WTDCNXZO.js} +58 -31
- package/dist/chunk-WTDCNXZO.js.map +1 -0
- package/dist/{chunk-2J2V4TMJ.cjs → chunk-WZBCK7KG.cjs} +42 -32
- package/dist/chunk-WZBCK7KG.cjs.map +1 -0
- package/dist/{chunk-O5HS7ZND.cjs → chunk-X7S76WB7.cjs} +3 -3
- package/dist/{chunk-O5HS7ZND.cjs.map → chunk-X7S76WB7.cjs.map} +1 -1
- package/dist/{chunk-ULOA7WBW.js → chunk-XB7QCKK7.js} +3 -3
- package/dist/{chunk-ULOA7WBW.js.map → chunk-XB7QCKK7.js.map} +1 -1
- package/dist/{chunk-G2DOD34H.js → chunk-XCLQZ4FV.js} +84 -38
- package/dist/chunk-XCLQZ4FV.js.map +1 -0
- package/dist/{chunk-NIHESA7O.js → chunk-YDJUUR4Y.js} +42 -32
- package/dist/chunk-YDJUUR4Y.js.map +1 -0
- package/dist/{chunk-RCMF6KZA.js → chunk-YTZPVEIO.js} +3 -3
- package/dist/{chunk-RCMF6KZA.js.map → chunk-YTZPVEIO.js.map} +1 -1
- package/dist/{chunk-SWV5E75F.cjs → chunk-Z5J4NTPL.cjs} +3 -3
- package/dist/{chunk-SWV5E75F.cjs.map → chunk-Z5J4NTPL.cjs.map} +1 -1
- package/dist/{chunk-XHJGYBYG.cjs → chunk-ZKFVGYBK.cjs} +48 -31
- package/dist/chunk-ZKFVGYBK.cjs.map +1 -0
- package/dist/{chunk-CEHWXAAI.js → chunk-ZVPJ2MH6.js} +14 -4
- package/dist/chunk-ZVPJ2MH6.js.map +1 -0
- package/dist/{chunk-VBHPXSCV.js → chunk-ZVSW2KS6.js} +12 -6
- package/dist/chunk-ZVSW2KS6.js.map +1 -0
- package/dist/components/Alert/index.cjs +5 -5
- package/dist/components/Alert/index.js +1 -1
- package/dist/components/AudioPlayer/index.cjs +6 -6
- package/dist/components/AudioPlayer/index.d.cts +5 -4
- package/dist/components/AudioPlayer/index.d.ts +5 -4
- package/dist/components/AudioPlayer/index.js +1 -1
- package/dist/components/AudioRecorder/index.cjs +6 -6
- package/dist/components/AudioRecorder/index.js +1 -1
- package/dist/components/Avatar/index.cjs +5 -5
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/Badge/index.cjs +3 -3
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Breadcrumb/index.cjs +3 -3
- package/dist/components/Breadcrumb/index.js +1 -1
- package/dist/components/Button/index.cjs +3 -3
- package/dist/components/Button/index.js +1 -1
- package/dist/components/Card/index.cjs +15 -15
- package/dist/components/Card/index.d.cts +6 -2
- package/dist/components/Card/index.d.ts +6 -2
- package/dist/components/Card/index.js +1 -1
- package/dist/components/Checkbox/index.cjs +4 -4
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CountryCodeDropdown/index.cjs +23 -0
- package/dist/components/CountryCodeDropdown/index.cjs.map +1 -0
- package/dist/components/CountryCodeDropdown/index.d.cts +69 -0
- package/dist/components/CountryCodeDropdown/index.d.ts +69 -0
- package/dist/components/CountryCodeDropdown/index.js +6 -0
- package/dist/components/CountryCodeDropdown/index.js.map +1 -0
- package/dist/components/DateInput/index.cjs +4 -4
- package/dist/components/DateInput/index.js +3 -3
- package/dist/components/Dropdown/index.cjs +9 -8
- package/dist/components/Dropdown/index.d.cts +29 -1
- package/dist/components/Dropdown/index.d.ts +29 -1
- package/dist/components/Dropdown/index.js +3 -2
- package/dist/components/Input/index.cjs +3 -3
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Modal/index.cjs +9 -9
- package/dist/components/Modal/index.js +1 -1
- package/dist/components/Pagination/index.cjs +4 -4
- package/dist/components/Pagination/index.d.cts +6 -2
- package/dist/components/Pagination/index.d.ts +6 -2
- package/dist/components/Pagination/index.js +1 -1
- package/dist/components/PhoneInput/index.cjs +5 -5
- package/dist/components/PhoneInput/index.js +3 -3
- package/dist/components/Progress/index.cjs +6 -6
- package/dist/components/Progress/index.js +1 -1
- package/dist/components/QuickAction/index.cjs +6 -6
- package/dist/components/QuickAction/index.js +1 -1
- package/dist/components/Radio/index.cjs +4 -4
- package/dist/components/Radio/index.js +1 -1
- package/dist/components/RecordButton/index.cjs +4 -4
- package/dist/components/RecordButton/index.js +1 -1
- package/dist/components/SchedulePicker/index.cjs +10 -10
- package/dist/components/SchedulePicker/index.js +1 -1
- package/dist/components/Select/index.cjs +3 -3
- package/dist/components/Select/index.d.cts +3 -1
- package/dist/components/Select/index.d.ts +3 -1
- package/dist/components/Select/index.js +1 -1
- package/dist/components/Skeleton/index.cjs +6 -6
- package/dist/components/Skeleton/index.d.cts +1 -1
- package/dist/components/Skeleton/index.d.ts +1 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Slider/index.cjs +5 -5
- package/dist/components/Slider/index.js +1 -1
- package/dist/components/Spinner/index.cjs +5 -5
- package/dist/components/Spinner/index.js +1 -1
- package/dist/components/Switch/index.cjs +4 -4
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Table/index.cjs +9 -9
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/index.cjs +7 -7
- package/dist/components/Tabs/index.js +1 -1
- package/dist/components/Text/index.cjs +4 -4
- package/dist/components/Text/index.js +1 -1
- package/dist/components/Textarea/index.cjs +3 -3
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/ThemeProvider/index.cjs +8 -8
- package/dist/components/ThemeProvider/index.js +2 -2
- package/dist/components/Tooltip/index.cjs +2 -2
- package/dist/components/Tooltip/index.js +1 -1
- package/dist/datavis.cjs +251 -0
- package/dist/datavis.cjs.map +1 -0
- package/dist/datavis.d.cts +47 -0
- package/dist/datavis.d.ts +47 -0
- package/dist/datavis.js +247 -0
- package/dist/datavis.js.map +1 -0
- package/dist/default-BTEIFIZJ.cjs +18 -0
- package/dist/{default-ZGHKI5WF.cjs.map → default-BTEIFIZJ.cjs.map} +1 -1
- package/dist/default-ORBRVZRZ.js +3 -0
- package/dist/{default-LIRPABBK.js.map → default-ORBRVZRZ.js.map} +1 -1
- package/dist/hooks/index.cjs +19 -15
- package/dist/hooks/index.d.cts +39 -3
- package/dist/hooks/index.d.ts +39 -3
- package/dist/hooks/index.js +2 -2
- package/dist/index.cjs +13453 -9169
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +134 -55
- package/dist/index.d.ts +134 -55
- package/dist/index.js +12679 -8419
- package/dist/index.js.map +1 -1
- package/dist/mieweb-4XR6UKDQ.cjs +18 -0
- package/dist/{mieweb-UJABK5XX.cjs.map → mieweb-4XR6UKDQ.cjs.map} +1 -1
- package/dist/mieweb-N6UMH4MU.js +3 -0
- package/dist/{mieweb-PV2YKYO7.js.map → mieweb-N6UMH4MU.js.map} +1 -1
- package/dist/ozwell.cjs +385 -0
- package/dist/ozwell.cjs.map +1 -0
- package/dist/ozwell.d.cts +15 -0
- package/dist/ozwell.d.ts +15 -0
- package/dist/ozwell.js +360 -0
- package/dist/ozwell.js.map +1 -0
- package/dist/styles/init.css +339 -0
- package/dist/styles.css +1 -1
- package/dist/tailwind-preset.cjs +4 -4
- package/dist/tailwind-preset.d.cts +13 -2
- package/dist/tailwind-preset.d.ts +13 -2
- package/dist/tailwind-preset.js +1 -1
- package/dist/utils/index.cjs +31 -23
- package/dist/utils/index.d.cts +19 -2
- package/dist/utils/index.d.ts +19 -2
- package/dist/utils/index.js +2 -2
- package/dist/waggleline-2MLRNVCV.js +3 -0
- package/dist/{waggleline-BMUYAFJF.js.map → waggleline-2MLRNVCV.js.map} +1 -1
- package/dist/waggleline-I7QWD3YX.cjs +18 -0
- package/dist/{waggleline-6IGA66HR.cjs.map → waggleline-I7QWD3YX.cjs.map} +1 -1
- package/dist/webchart-F6EIMC3I.js +3 -0
- package/dist/{webchart-2SLO5ICI.js.map → webchart-F6EIMC3I.js.map} +1 -1
- package/dist/webchart-H3BHYNHB.cjs +18 -0
- package/dist/{webchart-EHVGP46N.cjs.map → webchart-H3BHYNHB.cjs.map} +1 -1
- package/package.json +42 -4
- package/dist/chunk-265CFCCX.js +0 -173
- package/dist/chunk-265CFCCX.js.map +0 -1
- package/dist/chunk-2J2V4TMJ.cjs.map +0 -1
- package/dist/chunk-3NJ72QU6.js.map +0 -1
- package/dist/chunk-4AWW5WPF.js.map +0 -1
- package/dist/chunk-4MHTSFPX.js.map +0 -1
- package/dist/chunk-4T2ZNPTC.js +0 -220
- package/dist/chunk-4T2ZNPTC.js.map +0 -1
- package/dist/chunk-4YRAEFYW.js +0 -233
- package/dist/chunk-4YRAEFYW.js.map +0 -1
- package/dist/chunk-53K3KWXQ.cjs.map +0 -1
- package/dist/chunk-5T3AWNHG.cjs.map +0 -1
- package/dist/chunk-5UUL5EEO.cjs.map +0 -1
- package/dist/chunk-6OCIIIAI.js.map +0 -1
- package/dist/chunk-6Q4SU72T.js.map +0 -1
- package/dist/chunk-AU5ADTYD.cjs.map +0 -1
- package/dist/chunk-AWIULTJW.js.map +0 -1
- package/dist/chunk-B26RIQ5R.js.map +0 -1
- package/dist/chunk-B3L43JGH.js.map +0 -1
- package/dist/chunk-B7YGVKTE.cjs.map +0 -1
- package/dist/chunk-BTJHYGPI.cjs.map +0 -1
- package/dist/chunk-BV75DAKO.cjs +0 -245
- package/dist/chunk-BV75DAKO.cjs.map +0 -1
- package/dist/chunk-BXK5TNJE.cjs.map +0 -1
- package/dist/chunk-CEHWXAAI.js.map +0 -1
- package/dist/chunk-CP7NPDQW.js.map +0 -1
- package/dist/chunk-CQCYXHCU.cjs +0 -256
- package/dist/chunk-CQCYXHCU.cjs.map +0 -1
- package/dist/chunk-DMA74PZ7.js +0 -240
- package/dist/chunk-DMA74PZ7.js.map +0 -1
- package/dist/chunk-EF46XW4Z.cjs.map +0 -1
- package/dist/chunk-EKIQE524.cjs.map +0 -1
- package/dist/chunk-EYH7OUX5.js.map +0 -1
- package/dist/chunk-FFJVCQ5R.cjs.map +0 -1
- package/dist/chunk-FIXAVBUA.cjs +0 -200
- package/dist/chunk-FIXAVBUA.cjs.map +0 -1
- package/dist/chunk-G2DOD34H.js.map +0 -1
- package/dist/chunk-GHRQ3ZJH.js +0 -764
- package/dist/chunk-GHRQ3ZJH.js.map +0 -1
- package/dist/chunk-GV5JQBPX.js.map +0 -1
- package/dist/chunk-HRA4FUO6.cjs.map +0 -1
- package/dist/chunk-I7L6CQXR.cjs.map +0 -1
- package/dist/chunk-INFSKLXE.cjs +0 -790
- package/dist/chunk-INFSKLXE.cjs.map +0 -1
- package/dist/chunk-IY7UQPDO.cjs.map +0 -1
- package/dist/chunk-JFAXLE2J.js.map +0 -1
- package/dist/chunk-JYMQJ32S.cjs.map +0 -1
- package/dist/chunk-LZEY55QZ.cjs.map +0 -1
- package/dist/chunk-N3QTYHRZ.cjs.map +0 -1
- package/dist/chunk-NAATBUHR.cjs.map +0 -1
- package/dist/chunk-NIHESA7O.js.map +0 -1
- package/dist/chunk-NXRLGHEC.js +0 -98
- package/dist/chunk-NXRLGHEC.js.map +0 -1
- package/dist/chunk-ONWOB76P.js.map +0 -1
- package/dist/chunk-ORUPC5TV.cjs.map +0 -1
- package/dist/chunk-OT36EMM5.js.map +0 -1
- package/dist/chunk-OW2BWGST.js.map +0 -1
- package/dist/chunk-PEFJAWNR.cjs.map +0 -1
- package/dist/chunk-PEH4ZOEM.cjs.map +0 -1
- package/dist/chunk-PF3XWKE5.cjs.map +0 -1
- package/dist/chunk-QL2YTVTR.js.map +0 -1
- package/dist/chunk-QSMMFATL.js.map +0 -1
- package/dist/chunk-QYJ7RQJ2.cjs.map +0 -1
- package/dist/chunk-QZLRB3UG.js.map +0 -1
- package/dist/chunk-R4DM4635.cjs.map +0 -1
- package/dist/chunk-RRQGH7C5.cjs.map +0 -1
- package/dist/chunk-SD44QJIP.js.map +0 -1
- package/dist/chunk-SOFX4T7M.js.map +0 -1
- package/dist/chunk-SSKI6VTW.cjs.map +0 -1
- package/dist/chunk-SWMRCGL4.cjs.map +0 -1
- package/dist/chunk-TPGT236K.js.map +0 -1
- package/dist/chunk-UZUBLXVC.js.map +0 -1
- package/dist/chunk-VBHPXSCV.js.map +0 -1
- package/dist/chunk-VV4N4WY6.cjs.map +0 -1
- package/dist/chunk-WH6I7CMP.cjs.map +0 -1
- package/dist/chunk-XHJGYBYG.cjs.map +0 -1
- package/dist/chunk-XVZ4SLQB.js.map +0 -1
- package/dist/chunk-XXOBTAKA.js.map +0 -1
- package/dist/chunk-Y22SOAJM.js +0 -3
- package/dist/default-LIRPABBK.js +0 -3
- package/dist/default-ZGHKI5WF.cjs +0 -18
- package/dist/mieweb-PV2YKYO7.js +0 -3
- package/dist/mieweb-UJABK5XX.cjs +0 -18
- package/dist/waggleline-6IGA66HR.cjs +0 -18
- package/dist/waggleline-BMUYAFJF.js +0 -3
- package/dist/webchart-2SLO5ICI.js +0 -3
- package/dist/webchart-EHVGP46N.cjs +0 -18
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkIWU7H3YS_cjs = require('../../chunk-IWU7H3YS.cjs');
|
|
4
4
|
require('../../chunk-OR5DRJCW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Card", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkIWU7H3YS_cjs.Card; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "CardActions", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkIWU7H3YS_cjs.CardActions; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "CardBadge", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkIWU7H3YS_cjs.CardBadge; }
|
|
19
19
|
});
|
|
20
20
|
Object.defineProperty(exports, "CardCollapsible", {
|
|
21
21
|
enumerable: true,
|
|
22
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkIWU7H3YS_cjs.CardCollapsible; }
|
|
23
23
|
});
|
|
24
24
|
Object.defineProperty(exports, "CardContent", {
|
|
25
25
|
enumerable: true,
|
|
26
|
-
get: function () { return
|
|
26
|
+
get: function () { return chunkIWU7H3YS_cjs.CardContent; }
|
|
27
27
|
});
|
|
28
28
|
Object.defineProperty(exports, "CardDescription", {
|
|
29
29
|
enumerable: true,
|
|
30
|
-
get: function () { return
|
|
30
|
+
get: function () { return chunkIWU7H3YS_cjs.CardDescription; }
|
|
31
31
|
});
|
|
32
32
|
Object.defineProperty(exports, "CardDivider", {
|
|
33
33
|
enumerable: true,
|
|
34
|
-
get: function () { return
|
|
34
|
+
get: function () { return chunkIWU7H3YS_cjs.CardDivider; }
|
|
35
35
|
});
|
|
36
36
|
Object.defineProperty(exports, "CardFooter", {
|
|
37
37
|
enumerable: true,
|
|
38
|
-
get: function () { return
|
|
38
|
+
get: function () { return chunkIWU7H3YS_cjs.CardFooter; }
|
|
39
39
|
});
|
|
40
40
|
Object.defineProperty(exports, "CardHeader", {
|
|
41
41
|
enumerable: true,
|
|
42
|
-
get: function () { return
|
|
42
|
+
get: function () { return chunkIWU7H3YS_cjs.CardHeader; }
|
|
43
43
|
});
|
|
44
44
|
Object.defineProperty(exports, "CardMedia", {
|
|
45
45
|
enumerable: true,
|
|
46
|
-
get: function () { return
|
|
46
|
+
get: function () { return chunkIWU7H3YS_cjs.CardMedia; }
|
|
47
47
|
});
|
|
48
48
|
Object.defineProperty(exports, "CardStat", {
|
|
49
49
|
enumerable: true,
|
|
50
|
-
get: function () { return
|
|
50
|
+
get: function () { return chunkIWU7H3YS_cjs.CardStat; }
|
|
51
51
|
});
|
|
52
52
|
Object.defineProperty(exports, "CardTitle", {
|
|
53
53
|
enumerable: true,
|
|
54
|
-
get: function () { return
|
|
54
|
+
get: function () { return chunkIWU7H3YS_cjs.CardTitle; }
|
|
55
55
|
});
|
|
56
56
|
Object.defineProperty(exports, "cardAccentVariants", {
|
|
57
57
|
enumerable: true,
|
|
58
|
-
get: function () { return
|
|
58
|
+
get: function () { return chunkIWU7H3YS_cjs.cardAccentVariants; }
|
|
59
59
|
});
|
|
60
60
|
Object.defineProperty(exports, "cardVariants", {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: function () { return
|
|
62
|
+
get: function () { return chunkIWU7H3YS_cjs.cardVariants; }
|
|
63
63
|
});
|
|
64
64
|
//# sourceMappingURL=index.cjs.map
|
|
65
65
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -41,7 +41,11 @@ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
41
41
|
/**
|
|
42
42
|
* Title for a Card
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
interface CardTitleProps extends React.HTMLAttributes<globalThis.HTMLHeadingElement> {
|
|
45
|
+
/** Heading level — defaults to `h3` */
|
|
46
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
47
|
+
}
|
|
48
|
+
declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
45
49
|
/**
|
|
46
50
|
* Description text for a Card
|
|
47
51
|
*/
|
|
@@ -116,4 +120,4 @@ interface CardStatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
116
120
|
}
|
|
117
121
|
declare const CardStat: React.ForwardRefExoticComponent<CardStatProps & React.RefAttributes<HTMLDivElement>>;
|
|
118
122
|
|
|
119
|
-
export { Card, CardActions, type CardActionsProps, CardBadge, type CardBadgeProps, CardCollapsible, type CardCollapsibleProps, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, type CardMediaProps, type CardProps, CardStat, type CardStatProps, CardTitle, cardAccentVariants, cardVariants };
|
|
123
|
+
export { Card, CardActions, type CardActionsProps, CardBadge, type CardBadgeProps, CardCollapsible, type CardCollapsibleProps, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, type CardMediaProps, type CardProps, CardStat, type CardStatProps, CardTitle, type CardTitleProps, cardAccentVariants, cardVariants };
|
|
@@ -41,7 +41,11 @@ declare const CardHeader: React.ForwardRefExoticComponent<React.HTMLAttributes<H
|
|
|
41
41
|
/**
|
|
42
42
|
* Title for a Card
|
|
43
43
|
*/
|
|
44
|
-
|
|
44
|
+
interface CardTitleProps extends React.HTMLAttributes<globalThis.HTMLHeadingElement> {
|
|
45
|
+
/** Heading level — defaults to `h3` */
|
|
46
|
+
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
47
|
+
}
|
|
48
|
+
declare const CardTitle: React.ForwardRefExoticComponent<CardTitleProps & React.RefAttributes<HTMLHeadingElement>>;
|
|
45
49
|
/**
|
|
46
50
|
* Description text for a Card
|
|
47
51
|
*/
|
|
@@ -116,4 +120,4 @@ interface CardStatProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
116
120
|
}
|
|
117
121
|
declare const CardStat: React.ForwardRefExoticComponent<CardStatProps & React.RefAttributes<HTMLDivElement>>;
|
|
118
122
|
|
|
119
|
-
export { Card, CardActions, type CardActionsProps, CardBadge, type CardBadgeProps, CardCollapsible, type CardCollapsibleProps, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, type CardMediaProps, type CardProps, CardStat, type CardStatProps, CardTitle, cardAccentVariants, cardVariants };
|
|
123
|
+
export { Card, CardActions, type CardActionsProps, CardBadge, type CardBadgeProps, CardCollapsible, type CardCollapsibleProps, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, type CardMediaProps, type CardProps, CardStat, type CardStatProps, CardTitle, type CardTitleProps, cardAccentVariants, cardVariants };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from '../../chunk-
|
|
1
|
+
export { Card, CardActions, CardBadge, CardCollapsible, CardContent, CardDescription, CardDivider, CardFooter, CardHeader, CardMedia, CardStat, CardTitle, cardAccentVariants, cardVariants } from '../../chunk-JWUVVPKM.js';
|
|
2
2
|
import '../../chunk-F3SOEIN2.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkDFCZPVG4_cjs = require('../../chunk-DFCZPVG4.cjs');
|
|
4
4
|
require('../../chunk-OR5DRJCW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Checkbox", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkDFCZPVG4_cjs.Checkbox; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "CheckboxGroup", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkDFCZPVG4_cjs.CheckboxGroup; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "checkboxVariants", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkDFCZPVG4_cjs.checkboxVariants; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
21
21
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Checkbox, CheckboxGroup, checkboxVariants } from '../../chunk-
|
|
1
|
+
export { Checkbox, CheckboxGroup, checkboxVariants } from '../../chunk-XCLQZ4FV.js';
|
|
2
2
|
import '../../chunk-F3SOEIN2.js';
|
|
3
3
|
//# sourceMappingURL=index.js.map
|
|
4
4
|
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
var chunk7BARESXI_cjs = require('../../chunk-7BARESXI.cjs');
|
|
4
|
+
require('../../chunk-IKMR2ADM.cjs');
|
|
5
|
+
require('../../chunk-FHY3K6PL.cjs');
|
|
6
|
+
require('../../chunk-OR5DRJCW.cjs');
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
Object.defineProperty(exports, "CountryCodeDropdown", {
|
|
11
|
+
enumerable: true,
|
|
12
|
+
get: function () { return chunk7BARESXI_cjs.CountryCodeDropdown; }
|
|
13
|
+
});
|
|
14
|
+
Object.defineProperty(exports, "formatE164", {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return chunk7BARESXI_cjs.formatE164; }
|
|
17
|
+
});
|
|
18
|
+
Object.defineProperty(exports, "validatePhoneNumber", {
|
|
19
|
+
enumerable: true,
|
|
20
|
+
get: function () { return chunk7BARESXI_cjs.validatePhoneNumber; }
|
|
21
|
+
});
|
|
22
|
+
//# sourceMappingURL=index.cjs.map
|
|
23
|
+
//# sourceMappingURL=index.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.cjs"}
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface CountryData {
|
|
4
|
+
/** ISO 3166-1 alpha-2 country code (e.g. "US") */
|
|
5
|
+
code: string;
|
|
6
|
+
/** Country name (e.g. "United States") */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Dial code (e.g. "+1") */
|
|
9
|
+
dialCode: string;
|
|
10
|
+
/** Emoji flag (e.g. "🇺🇸") */
|
|
11
|
+
flag: string;
|
|
12
|
+
}
|
|
13
|
+
interface CountryCodeDropdownProps {
|
|
14
|
+
/** The currently selected country code (ISO alpha-2, e.g. "US") */
|
|
15
|
+
value?: string;
|
|
16
|
+
/** Called when a country is selected */
|
|
17
|
+
onChange?: (country: CountryData) => void;
|
|
18
|
+
/** Whether the dropdown is disabled */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Additional class name for the trigger button */
|
|
21
|
+
className?: string;
|
|
22
|
+
/** Placement of the dropdown panel */
|
|
23
|
+
placement?: 'bottom-start' | 'bottom-end';
|
|
24
|
+
/** Placeholder text for the search field */
|
|
25
|
+
searchPlaceholder?: string;
|
|
26
|
+
/** Label for accessibility — visually hidden */
|
|
27
|
+
'aria-label'?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Validate a phone number string for a given country code using libphonenumber.
|
|
31
|
+
*
|
|
32
|
+
* @param phoneNumber - The phone number (digits, may include formatting)
|
|
33
|
+
* @param countryCode - ISO alpha-2 code (e.g. "US")
|
|
34
|
+
* @returns Whether the number is valid for the given region.
|
|
35
|
+
*/
|
|
36
|
+
declare function validatePhoneNumber(phoneNumber: string, countryCode: string): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Format a phone number into E.164 international format.
|
|
39
|
+
*
|
|
40
|
+
* @param phoneNumber - The phone number (digits, may include formatting)
|
|
41
|
+
* @param countryCode - ISO alpha-2 code (e.g. "US")
|
|
42
|
+
* @returns The formatted number (e.g. "+15551234567") or the original string if parsing fails.
|
|
43
|
+
*/
|
|
44
|
+
declare function formatE164(phoneNumber: string, countryCode: string): string;
|
|
45
|
+
/**
|
|
46
|
+
* A country-code selector dropdown designed to sit beside a phone number input.
|
|
47
|
+
*
|
|
48
|
+
* Defaults to United States (+1) with the 🇺🇸 flag. Clicking the trigger opens
|
|
49
|
+
* a searchable list of all supported countries with their dial codes and flags.
|
|
50
|
+
*
|
|
51
|
+
* Uses Google's libphonenumber for the canonical country/code list and provides
|
|
52
|
+
* a `validatePhoneNumber` helper for phone validation.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```tsx
|
|
56
|
+
* const [country, setCountry] = useState<CountryData>();
|
|
57
|
+
*
|
|
58
|
+
* <div className="flex gap-2">
|
|
59
|
+
* <CountryCodeDropdown value={country?.code} onChange={setCountry} />
|
|
60
|
+
* <Input placeholder="Phone number" />
|
|
61
|
+
* </div>
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
declare function CountryCodeDropdown({ value, onChange, disabled, className, placement, searchPlaceholder, 'aria-label': ariaLabel, }: CountryCodeDropdownProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare namespace CountryCodeDropdown {
|
|
66
|
+
var displayName: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { CountryCodeDropdown, type CountryCodeDropdownProps, type CountryData, formatE164, validatePhoneNumber };
|
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
import * as react_jsx_runtime from 'react/jsx-runtime';
|
|
2
|
+
|
|
3
|
+
interface CountryData {
|
|
4
|
+
/** ISO 3166-1 alpha-2 country code (e.g. "US") */
|
|
5
|
+
code: string;
|
|
6
|
+
/** Country name (e.g. "United States") */
|
|
7
|
+
name: string;
|
|
8
|
+
/** Dial code (e.g. "+1") */
|
|
9
|
+
dialCode: string;
|
|
10
|
+
/** Emoji flag (e.g. "🇺🇸") */
|
|
11
|
+
flag: string;
|
|
12
|
+
}
|
|
13
|
+
interface CountryCodeDropdownProps {
|
|
14
|
+
/** The currently selected country code (ISO alpha-2, e.g. "US") */
|
|
15
|
+
value?: string;
|
|
16
|
+
/** Called when a country is selected */
|
|
17
|
+
onChange?: (country: CountryData) => void;
|
|
18
|
+
/** Whether the dropdown is disabled */
|
|
19
|
+
disabled?: boolean;
|
|
20
|
+
/** Additional class name for the trigger button */
|
|
21
|
+
className?: string;
|
|
22
|
+
/** Placement of the dropdown panel */
|
|
23
|
+
placement?: 'bottom-start' | 'bottom-end';
|
|
24
|
+
/** Placeholder text for the search field */
|
|
25
|
+
searchPlaceholder?: string;
|
|
26
|
+
/** Label for accessibility — visually hidden */
|
|
27
|
+
'aria-label'?: string;
|
|
28
|
+
}
|
|
29
|
+
/**
|
|
30
|
+
* Validate a phone number string for a given country code using libphonenumber.
|
|
31
|
+
*
|
|
32
|
+
* @param phoneNumber - The phone number (digits, may include formatting)
|
|
33
|
+
* @param countryCode - ISO alpha-2 code (e.g. "US")
|
|
34
|
+
* @returns Whether the number is valid for the given region.
|
|
35
|
+
*/
|
|
36
|
+
declare function validatePhoneNumber(phoneNumber: string, countryCode: string): boolean;
|
|
37
|
+
/**
|
|
38
|
+
* Format a phone number into E.164 international format.
|
|
39
|
+
*
|
|
40
|
+
* @param phoneNumber - The phone number (digits, may include formatting)
|
|
41
|
+
* @param countryCode - ISO alpha-2 code (e.g. "US")
|
|
42
|
+
* @returns The formatted number (e.g. "+15551234567") or the original string if parsing fails.
|
|
43
|
+
*/
|
|
44
|
+
declare function formatE164(phoneNumber: string, countryCode: string): string;
|
|
45
|
+
/**
|
|
46
|
+
* A country-code selector dropdown designed to sit beside a phone number input.
|
|
47
|
+
*
|
|
48
|
+
* Defaults to United States (+1) with the 🇺🇸 flag. Clicking the trigger opens
|
|
49
|
+
* a searchable list of all supported countries with their dial codes and flags.
|
|
50
|
+
*
|
|
51
|
+
* Uses Google's libphonenumber for the canonical country/code list and provides
|
|
52
|
+
* a `validatePhoneNumber` helper for phone validation.
|
|
53
|
+
*
|
|
54
|
+
* @example
|
|
55
|
+
* ```tsx
|
|
56
|
+
* const [country, setCountry] = useState<CountryData>();
|
|
57
|
+
*
|
|
58
|
+
* <div className="flex gap-2">
|
|
59
|
+
* <CountryCodeDropdown value={country?.code} onChange={setCountry} />
|
|
60
|
+
* <Input placeholder="Phone number" />
|
|
61
|
+
* </div>
|
|
62
|
+
* ```
|
|
63
|
+
*/
|
|
64
|
+
declare function CountryCodeDropdown({ value, onChange, disabled, className, placement, searchPlaceholder, 'aria-label': ariaLabel, }: CountryCodeDropdownProps): react_jsx_runtime.JSX.Element;
|
|
65
|
+
declare namespace CountryCodeDropdown {
|
|
66
|
+
var displayName: string;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
export { CountryCodeDropdown, type CountryCodeDropdownProps, type CountryData, formatE164, validatePhoneNumber };
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export { CountryCodeDropdown, formatE164, validatePhoneNumber } from '../../chunk-WFS6R2F5.js';
|
|
2
|
+
import '../../chunk-OKBR6PX4.js';
|
|
3
|
+
import '../../chunk-T4ME7QCT.js';
|
|
4
|
+
import '../../chunk-F3SOEIN2.js';
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
|
6
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"index.js"}
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
5
|
-
require('../../chunk-
|
|
3
|
+
var chunkMXQNNKPX_cjs = require('../../chunk-MXQNNKPX.cjs');
|
|
4
|
+
require('../../chunk-MSRU3XBH.cjs');
|
|
5
|
+
require('../../chunk-CW75IKA6.cjs');
|
|
6
6
|
require('../../chunk-OR5DRJCW.cjs');
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
10
|
Object.defineProperty(exports, "DateInput", {
|
|
11
11
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
12
|
+
get: function () { return chunkMXQNNKPX_cjs.DateInput; }
|
|
13
13
|
});
|
|
14
14
|
//# sourceMappingURL=index.cjs.map
|
|
15
15
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
export { DateInput } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
3
|
-
import '../../chunk-
|
|
1
|
+
export { DateInput } from '../../chunk-CVF4HRWL.js';
|
|
2
|
+
import '../../chunk-PVUDXJAI.js';
|
|
3
|
+
import '../../chunk-RC2YMOMS.js';
|
|
4
4
|
import '../../chunk-F3SOEIN2.js';
|
|
5
5
|
//# sourceMappingURL=index.js.map
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
require('../../chunk-
|
|
3
|
+
var chunk4O3WJY4C_cjs = require('../../chunk-4O3WJY4C.cjs');
|
|
4
|
+
require('../../chunk-MSRU3XBH.cjs');
|
|
5
|
+
require('../../chunk-IKMR2ADM.cjs');
|
|
5
6
|
require('../../chunk-FHY3K6PL.cjs');
|
|
6
7
|
require('../../chunk-OR5DRJCW.cjs');
|
|
7
8
|
|
|
@@ -9,27 +10,27 @@ require('../../chunk-OR5DRJCW.cjs');
|
|
|
9
10
|
|
|
10
11
|
Object.defineProperty(exports, "Dropdown", {
|
|
11
12
|
enumerable: true,
|
|
12
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunk4O3WJY4C_cjs.Dropdown; }
|
|
13
14
|
});
|
|
14
15
|
Object.defineProperty(exports, "DropdownContent", {
|
|
15
16
|
enumerable: true,
|
|
16
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunk4O3WJY4C_cjs.DropdownContent; }
|
|
17
18
|
});
|
|
18
19
|
Object.defineProperty(exports, "DropdownHeader", {
|
|
19
20
|
enumerable: true,
|
|
20
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunk4O3WJY4C_cjs.DropdownHeader; }
|
|
21
22
|
});
|
|
22
23
|
Object.defineProperty(exports, "DropdownItem", {
|
|
23
24
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunk4O3WJY4C_cjs.DropdownItem; }
|
|
25
26
|
});
|
|
26
27
|
Object.defineProperty(exports, "DropdownLabel", {
|
|
27
28
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunk4O3WJY4C_cjs.DropdownLabel; }
|
|
29
30
|
});
|
|
30
31
|
Object.defineProperty(exports, "DropdownSeparator", {
|
|
31
32
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunk4O3WJY4C_cjs.DropdownSeparator; }
|
|
33
34
|
});
|
|
34
35
|
//# sourceMappingURL=index.cjs.map
|
|
35
36
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -25,6 +25,26 @@ interface DropdownProps {
|
|
|
25
25
|
width?: 'auto' | 'trigger' | number;
|
|
26
26
|
/** Whether the dropdown is disabled */
|
|
27
27
|
disabled?: boolean;
|
|
28
|
+
/** Whether to render a search field at the top of the dropdown */
|
|
29
|
+
searchable?: boolean;
|
|
30
|
+
/** Placeholder text for the search input */
|
|
31
|
+
searchPlaceholder?: string;
|
|
32
|
+
/** Accessible label for the search input */
|
|
33
|
+
searchAriaLabel?: string;
|
|
34
|
+
/** Content to render when no items match the search query */
|
|
35
|
+
searchEmptyState?: React.ReactNode;
|
|
36
|
+
/** Whether dropdown items support multi-select checkboxes */
|
|
37
|
+
multiSelect?: boolean;
|
|
38
|
+
/** Selected item values for controlled multi-select dropdowns */
|
|
39
|
+
selectedValues?: string[];
|
|
40
|
+
/** Initial selected item values for uncontrolled multi-select dropdowns */
|
|
41
|
+
defaultSelectedValues?: string[];
|
|
42
|
+
/** Callback fired when selected values change in multi-select mode */
|
|
43
|
+
onSelectedValuesChange?: (values: string[]) => void;
|
|
44
|
+
/** Whether to render a select-all control for multi-select dropdowns */
|
|
45
|
+
showSelectAll?: boolean;
|
|
46
|
+
/** Label for the select-all control */
|
|
47
|
+
selectAllLabel?: React.ReactNode;
|
|
28
48
|
}
|
|
29
49
|
/**
|
|
30
50
|
* An accessible dropdown menu component.
|
|
@@ -39,7 +59,7 @@ interface DropdownProps {
|
|
|
39
59
|
* </Dropdown>
|
|
40
60
|
* ```
|
|
41
61
|
*/
|
|
42
|
-
declare function Dropdown({ trigger, children, open: controlledOpen, onOpenChange, placement, className, width, disabled, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function Dropdown({ trigger, children, open: controlledOpen, onOpenChange, placement, className, width, disabled, searchable, searchPlaceholder, searchAriaLabel, searchEmptyState, multiSelect, selectedValues: controlledSelectedValues, defaultSelectedValues, onSelectedValuesChange, showSelectAll, selectAllLabel, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
43
63
|
declare namespace Dropdown {
|
|
44
64
|
var displayName: string;
|
|
45
65
|
}
|
|
@@ -74,6 +94,14 @@ interface DropdownItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement
|
|
|
74
94
|
icon?: React.ReactNode;
|
|
75
95
|
/** Danger variant for destructive actions */
|
|
76
96
|
variant?: 'default' | 'danger';
|
|
97
|
+
/** Optional text used when filtering searchable dropdown items */
|
|
98
|
+
searchText?: string;
|
|
99
|
+
/** Checked state for multi-select items */
|
|
100
|
+
checked?: boolean;
|
|
101
|
+
/** Indeterminate state for multi-select items */
|
|
102
|
+
indeterminate?: boolean;
|
|
103
|
+
/** Callback fired when a multi-select item changes */
|
|
104
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
77
105
|
}
|
|
78
106
|
/**
|
|
79
107
|
* An item within a Dropdown menu.
|
|
@@ -25,6 +25,26 @@ interface DropdownProps {
|
|
|
25
25
|
width?: 'auto' | 'trigger' | number;
|
|
26
26
|
/** Whether the dropdown is disabled */
|
|
27
27
|
disabled?: boolean;
|
|
28
|
+
/** Whether to render a search field at the top of the dropdown */
|
|
29
|
+
searchable?: boolean;
|
|
30
|
+
/** Placeholder text for the search input */
|
|
31
|
+
searchPlaceholder?: string;
|
|
32
|
+
/** Accessible label for the search input */
|
|
33
|
+
searchAriaLabel?: string;
|
|
34
|
+
/** Content to render when no items match the search query */
|
|
35
|
+
searchEmptyState?: React.ReactNode;
|
|
36
|
+
/** Whether dropdown items support multi-select checkboxes */
|
|
37
|
+
multiSelect?: boolean;
|
|
38
|
+
/** Selected item values for controlled multi-select dropdowns */
|
|
39
|
+
selectedValues?: string[];
|
|
40
|
+
/** Initial selected item values for uncontrolled multi-select dropdowns */
|
|
41
|
+
defaultSelectedValues?: string[];
|
|
42
|
+
/** Callback fired when selected values change in multi-select mode */
|
|
43
|
+
onSelectedValuesChange?: (values: string[]) => void;
|
|
44
|
+
/** Whether to render a select-all control for multi-select dropdowns */
|
|
45
|
+
showSelectAll?: boolean;
|
|
46
|
+
/** Label for the select-all control */
|
|
47
|
+
selectAllLabel?: React.ReactNode;
|
|
28
48
|
}
|
|
29
49
|
/**
|
|
30
50
|
* An accessible dropdown menu component.
|
|
@@ -39,7 +59,7 @@ interface DropdownProps {
|
|
|
39
59
|
* </Dropdown>
|
|
40
60
|
* ```
|
|
41
61
|
*/
|
|
42
|
-
declare function Dropdown({ trigger, children, open: controlledOpen, onOpenChange, placement, className, width, disabled, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
62
|
+
declare function Dropdown({ trigger, children, open: controlledOpen, onOpenChange, placement, className, width, disabled, searchable, searchPlaceholder, searchAriaLabel, searchEmptyState, multiSelect, selectedValues: controlledSelectedValues, defaultSelectedValues, onSelectedValuesChange, showSelectAll, selectAllLabel, }: DropdownProps): react_jsx_runtime.JSX.Element;
|
|
43
63
|
declare namespace Dropdown {
|
|
44
64
|
var displayName: string;
|
|
45
65
|
}
|
|
@@ -74,6 +94,14 @@ interface DropdownItemProps extends React.ButtonHTMLAttributes<HTMLButtonElement
|
|
|
74
94
|
icon?: React.ReactNode;
|
|
75
95
|
/** Danger variant for destructive actions */
|
|
76
96
|
variant?: 'default' | 'danger';
|
|
97
|
+
/** Optional text used when filtering searchable dropdown items */
|
|
98
|
+
searchText?: string;
|
|
99
|
+
/** Checked state for multi-select items */
|
|
100
|
+
checked?: boolean;
|
|
101
|
+
/** Indeterminate state for multi-select items */
|
|
102
|
+
indeterminate?: boolean;
|
|
103
|
+
/** Callback fired when a multi-select item changes */
|
|
104
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
77
105
|
}
|
|
78
106
|
/**
|
|
79
107
|
* An item within a Dropdown menu.
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from '../../chunk-
|
|
2
|
-
import '../../chunk-
|
|
1
|
+
export { Dropdown, DropdownContent, DropdownHeader, DropdownItem, DropdownLabel, DropdownSeparator } from '../../chunk-C4QQAUYN.js';
|
|
2
|
+
import '../../chunk-PVUDXJAI.js';
|
|
3
|
+
import '../../chunk-OKBR6PX4.js';
|
|
3
4
|
import '../../chunk-T4ME7QCT.js';
|
|
4
5
|
import '../../chunk-F3SOEIN2.js';
|
|
5
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkMSRU3XBH_cjs = require('../../chunk-MSRU3XBH.cjs');
|
|
4
4
|
require('../../chunk-OR5DRJCW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Input", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkMSRU3XBH_cjs.Input; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "inputVariants", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkMSRU3XBH_cjs.inputVariants; }
|
|
15
15
|
});
|
|
16
16
|
//# sourceMappingURL=index.cjs.map
|
|
17
17
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkAWUADXYI_cjs = require('../../chunk-AWUADXYI.cjs');
|
|
4
4
|
require('../../chunk-NNEFAUHV.cjs');
|
|
5
5
|
require('../../chunk-FHY3K6PL.cjs');
|
|
6
6
|
require('../../chunk-SCV7C55E.cjs');
|
|
@@ -10,35 +10,35 @@ require('../../chunk-OR5DRJCW.cjs');
|
|
|
10
10
|
|
|
11
11
|
Object.defineProperty(exports, "Modal", {
|
|
12
12
|
enumerable: true,
|
|
13
|
-
get: function () { return
|
|
13
|
+
get: function () { return chunkAWUADXYI_cjs.Modal; }
|
|
14
14
|
});
|
|
15
15
|
Object.defineProperty(exports, "ModalBody", {
|
|
16
16
|
enumerable: true,
|
|
17
|
-
get: function () { return
|
|
17
|
+
get: function () { return chunkAWUADXYI_cjs.ModalBody; }
|
|
18
18
|
});
|
|
19
19
|
Object.defineProperty(exports, "ModalClose", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkAWUADXYI_cjs.ModalClose; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "ModalFooter", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkAWUADXYI_cjs.ModalFooter; }
|
|
26
26
|
});
|
|
27
27
|
Object.defineProperty(exports, "ModalHeader", {
|
|
28
28
|
enumerable: true,
|
|
29
|
-
get: function () { return
|
|
29
|
+
get: function () { return chunkAWUADXYI_cjs.ModalHeader; }
|
|
30
30
|
});
|
|
31
31
|
Object.defineProperty(exports, "ModalTitle", {
|
|
32
32
|
enumerable: true,
|
|
33
|
-
get: function () { return
|
|
33
|
+
get: function () { return chunkAWUADXYI_cjs.ModalTitle; }
|
|
34
34
|
});
|
|
35
35
|
Object.defineProperty(exports, "modalContentVariants", {
|
|
36
36
|
enumerable: true,
|
|
37
|
-
get: function () { return
|
|
37
|
+
get: function () { return chunkAWUADXYI_cjs.modalContentVariants; }
|
|
38
38
|
});
|
|
39
39
|
Object.defineProperty(exports, "modalOverlayVariants", {
|
|
40
40
|
enumerable: true,
|
|
41
|
-
get: function () { return
|
|
41
|
+
get: function () { return chunkAWUADXYI_cjs.modalOverlayVariants; }
|
|
42
42
|
});
|
|
43
43
|
//# sourceMappingURL=index.cjs.map
|
|
44
44
|
//# sourceMappingURL=index.cjs.map
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from '../../chunk-
|
|
1
|
+
export { Modal, ModalBody, ModalClose, ModalFooter, ModalHeader, ModalTitle, modalContentVariants, modalOverlayVariants } from '../../chunk-WTDCNXZO.js';
|
|
2
2
|
import '../../chunk-4SMSH4OY.js';
|
|
3
3
|
import '../../chunk-T4ME7QCT.js';
|
|
4
4
|
import '../../chunk-VSQF22GL.js';
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
3
|
+
var chunkNIEIRA5A_cjs = require('../../chunk-NIEIRA5A.cjs');
|
|
4
4
|
require('../../chunk-OR5DRJCW.cjs');
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
Object.defineProperty(exports, "Pagination", {
|
|
9
9
|
enumerable: true,
|
|
10
|
-
get: function () { return
|
|
10
|
+
get: function () { return chunkNIEIRA5A_cjs.Pagination; }
|
|
11
11
|
});
|
|
12
12
|
Object.defineProperty(exports, "SimplePagination", {
|
|
13
13
|
enumerable: true,
|
|
14
|
-
get: function () { return
|
|
14
|
+
get: function () { return chunkNIEIRA5A_cjs.SimplePagination; }
|
|
15
15
|
});
|
|
16
16
|
Object.defineProperty(exports, "paginationButtonVariants", {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkNIEIRA5A_cjs.paginationButtonVariants; }
|
|
19
19
|
});
|
|
20
20
|
//# sourceMappingURL=index.cjs.map
|
|
21
21
|
//# sourceMappingURL=index.cjs.map
|