@trilogy-ds/react 0.0.4-beta-v4 → 0.0.4-esm-cjs
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/lib/chunk-22PVF5ER.mjs +0 -0
- package/lib/chunk-23QAKWRT.mjs +23 -0
- package/lib/chunk-23SXLOJC.mjs +22 -0
- package/lib/chunk-25BSGNJQ.mjs +88 -0
- package/lib/chunk-27AXWBOH.mjs +293 -0
- package/lib/chunk-2BZ2VI6P.mjs +10 -0
- package/lib/chunk-2KZUGYFC.mjs +10 -0
- package/lib/chunk-2MRTCINP.mjs +21 -0
- package/lib/chunk-2NFFUWOC.mjs +49 -0
- package/lib/chunk-2QOO64MY.mjs +12 -0
- package/lib/chunk-2W5NCIYG.mjs +0 -0
- package/lib/chunk-2WYT3W76.mjs +0 -0
- package/lib/chunk-2ZMDB34Y.mjs +0 -0
- package/lib/chunk-36TRV4TY.mjs +0 -0
- package/lib/chunk-37LDCDVM.mjs +36 -0
- package/lib/chunk-3B62YOLA.mjs +123 -0
- package/lib/chunk-434WXHPR.mjs +0 -0
- package/lib/chunk-464E6G2G.mjs +49 -0
- package/lib/chunk-4C6TERML.mjs +12 -0
- package/lib/chunk-4CF6B2HV.mjs +0 -0
- package/lib/chunk-4FTHP3HH.mjs +34 -0
- package/lib/chunk-4GL37GZN.mjs +0 -0
- package/lib/chunk-4K6MLV5J.mjs +11 -0
- package/lib/chunk-4LBZ3XBH.mjs +10 -0
- package/lib/chunk-4OSB2VIK.mjs +17 -0
- package/lib/chunk-4UBVMYQW.mjs +0 -0
- package/lib/chunk-4VQ23W74.mjs +92 -0
- package/lib/chunk-4VQXIGA4.mjs +61 -0
- package/lib/chunk-4WFWYG5G.mjs +45 -0
- package/lib/chunk-4YIM7SBN.mjs +58 -0
- package/lib/chunk-52B77LHM.mjs +61 -0
- package/lib/chunk-544A5KC4.mjs +0 -0
- package/lib/chunk-5IXTAUSS.mjs +0 -0
- package/lib/chunk-5KJPPQC2.mjs +0 -0
- package/lib/chunk-5O6VY4YB.mjs +41 -0
- package/lib/chunk-5PEG3I5W.mjs +78 -0
- package/lib/chunk-5RSA2JUY.mjs +10 -0
- package/lib/chunk-5ULJSSPK.mjs +94 -0
- package/lib/chunk-5VN6OIEF.mjs +18 -0
- package/lib/chunk-5VXNRGQP.mjs +10 -0
- package/lib/chunk-5WUZLA5U.mjs +23 -0
- package/lib/chunk-62TWB2V4.mjs +0 -0
- package/lib/chunk-6CKUXYFW.mjs +32 -0
- package/lib/chunk-6DURE6PX.mjs +50 -0
- package/lib/chunk-6E24XGPG.mjs +224 -0
- package/lib/chunk-6EGSBO2Z.mjs +0 -0
- package/lib/chunk-6F4GWAQR.mjs +57 -0
- package/lib/chunk-6HDUOAQJ.mjs +58 -0
- package/lib/chunk-6MRXQEXG.mjs +56 -0
- package/lib/chunk-6O27I7YS.mjs +10 -0
- package/lib/chunk-6RRKQLD2.mjs +35 -0
- package/lib/chunk-6TJ4SNIT.mjs +0 -0
- package/lib/chunk-6UHOTVOM.mjs +10 -0
- package/lib/chunk-6XYXISPQ.mjs +16 -0
- package/lib/chunk-72TZ3YCA.mjs +26 -0
- package/lib/chunk-773FLS3Z.mjs +0 -0
- package/lib/chunk-7D7LKWSD.mjs +48 -0
- package/lib/chunk-7DMYYWFF.mjs +196 -0
- package/lib/chunk-7MMP2TTO.mjs +27 -0
- package/lib/chunk-7PQQULG3.mjs +10 -0
- package/lib/chunk-7V4Z4X42.mjs +0 -0
- package/lib/chunk-7XLMRHTQ.mjs +49 -0
- package/lib/chunk-7ZC2EADB.mjs +41 -0
- package/lib/chunk-A3EAYKHQ.mjs +0 -0
- package/lib/chunk-A6HIEHFY.mjs +50 -0
- package/lib/chunk-AH563DBK.mjs +0 -0
- package/lib/chunk-AKO67F5N.mjs +10 -0
- package/lib/chunk-AL7F4JCO.mjs +0 -0
- package/lib/chunk-AQ6IF6RZ.mjs +11 -0
- package/lib/chunk-ARDRXO37.mjs +10 -0
- package/lib/chunk-ASGCCP7Z.mjs +14 -0
- package/lib/chunk-ASMV3Z5S.mjs +78 -0
- package/lib/chunk-AY2JUWGX.mjs +40 -0
- package/lib/chunk-AZRY6JTI.mjs +0 -0
- package/lib/chunk-B3NVAC23.mjs +0 -0
- package/lib/chunk-B3XQXMKT.mjs +0 -0
- package/lib/chunk-B42J5MUM.mjs +0 -0
- package/lib/chunk-B52A3BFQ.mjs +32 -0
- package/lib/chunk-B55G7DVJ.mjs +12 -0
- package/lib/chunk-B6HZ6EDL.mjs +14 -0
- package/lib/chunk-BDMIO5IW.mjs +0 -0
- package/lib/chunk-BE5ILPX7.mjs +26 -0
- package/lib/chunk-BJAJLI5I.mjs +42 -0
- package/lib/chunk-BTJ3MRA4.mjs +31 -0
- package/lib/chunk-C4SZWFXY.mjs +45 -0
- package/lib/chunk-C7BQGWWB.mjs +98 -0
- package/lib/chunk-CAJS2YCO.mjs +40 -0
- package/lib/chunk-CBTZPEJP.mjs +0 -0
- package/lib/chunk-CERCYDMJ.mjs +0 -0
- package/lib/chunk-CEUO2YH7.mjs +10 -0
- package/lib/chunk-CFBSSBTM.mjs +0 -0
- package/lib/chunk-CLLVIOLX.mjs +0 -0
- package/lib/chunk-CNJHYNT2.mjs +12 -0
- package/lib/chunk-CSXVI5YI.mjs +27 -0
- package/lib/chunk-CYKIRS7S.mjs +10 -0
- package/lib/chunk-D54BWZBZ.mjs +6 -0
- package/lib/chunk-DAX6A6MF.mjs +14 -0
- package/lib/chunk-DCHIMQHR.mjs +90 -0
- package/lib/chunk-DCZEMRVR.mjs +54 -0
- package/lib/chunk-DDOYJDC6.mjs +0 -0
- package/lib/chunk-DEIVRKFT.mjs +87 -0
- package/lib/chunk-DLLAGMBJ.mjs +25 -0
- package/lib/chunk-DOAOY6YH.mjs +0 -0
- package/lib/chunk-DT3LGG5A.mjs +0 -0
- package/lib/chunk-DZDQL5F4.mjs +12 -0
- package/lib/chunk-E57JNVQP.mjs +0 -0
- package/lib/chunk-E6ZKOM6O.mjs +112 -0
- package/lib/chunk-EAHXU6U6.mjs +0 -0
- package/lib/chunk-ECISKIRT.mjs +20 -0
- package/lib/chunk-EGMZKSCZ.mjs +167 -0
- package/lib/chunk-EHBRE7UT.mjs +44 -0
- package/lib/chunk-EJ2APB7I.mjs +140 -0
- package/lib/chunk-EJOKG5F4.mjs +169 -0
- package/lib/chunk-ELV7XGSB.mjs +14 -0
- package/lib/chunk-EVSLOZK4.mjs +10 -0
- package/lib/chunk-EX2XLAAA.mjs +111 -0
- package/lib/chunk-EYIXPDUJ.mjs +16 -0
- package/lib/chunk-F3R22XFV.mjs +0 -0
- package/lib/chunk-F6ENSNLK.mjs +22 -0
- package/lib/chunk-FF4RIQQZ.mjs +0 -0
- package/lib/chunk-FKAGXC45.mjs +0 -0
- package/lib/chunk-FZQ6JRGK.mjs +43 -0
- package/lib/chunk-G5TZKCZB.mjs +37 -0
- package/lib/chunk-G75SYF2U.mjs +0 -0
- package/lib/chunk-GASX25GY.mjs +31 -0
- package/lib/chunk-GEDJ6DEY.mjs +39 -0
- package/lib/chunk-GGPKNAXP.mjs +12 -0
- package/lib/chunk-GIGB6DRD.mjs +10 -0
- package/lib/chunk-GPLKH3UQ.mjs +0 -0
- package/lib/chunk-GQJD5TBY.mjs +10 -0
- package/lib/chunk-GROIVPY2.mjs +0 -0
- package/lib/chunk-GXTMZJHF.mjs +0 -0
- package/lib/chunk-H2WRUU2Y.mjs +27 -0
- package/lib/chunk-HDEGB6C4.mjs +10 -0
- package/lib/chunk-HGMIQIZ6.mjs +12 -0
- package/lib/chunk-HGQH5E2A.mjs +10 -0
- package/lib/chunk-HHJYYP3Q.mjs +20 -0
- package/lib/chunk-HKPWGLB2.mjs +98 -0
- package/lib/chunk-HLQ4FCCM.mjs +22 -0
- package/lib/chunk-HPB5VEFZ.mjs +0 -0
- package/lib/chunk-HT7JZMUW.mjs +12 -0
- package/lib/chunk-HUAOZ4KN.mjs +46 -0
- package/lib/chunk-HUITZVGB.mjs +21 -0
- package/lib/chunk-I4R7UKZN.mjs +9 -0
- package/lib/chunk-I6BEARKW.mjs +0 -0
- package/lib/chunk-I7OXRAPM.mjs +0 -0
- package/lib/chunk-IPT4TW4E.mjs +0 -0
- package/lib/chunk-IR2TKMDQ.mjs +0 -0
- package/lib/chunk-JDGUWVDM.mjs +0 -0
- package/lib/chunk-JDRCAXLZ.mjs +47 -0
- package/lib/chunk-JE7G4D2W.mjs +23 -0
- package/lib/chunk-JGARCGCD.mjs +0 -0
- package/lib/chunk-JHALTDMM.mjs +149 -0
- package/lib/chunk-JICWBGO7.mjs +26 -0
- package/lib/chunk-JJ6WKZSO.mjs +11 -0
- package/lib/chunk-JMI2ZDSK.mjs +0 -0
- package/lib/chunk-JN3Y5YKN.mjs +42 -0
- package/lib/chunk-JNXT7MN5.mjs +8 -0
- package/lib/chunk-JOETSQOL.mjs +0 -0
- package/lib/chunk-JSU474PM.mjs +112 -0
- package/lib/chunk-JSUU5LGS.mjs +10 -0
- package/lib/chunk-JZJ5OVI3.mjs +70 -0
- package/lib/chunk-K2KNBZRR.mjs +18 -0
- package/lib/chunk-KBEAJL4Y.mjs +0 -0
- package/lib/chunk-KBELXV3G.mjs +75 -0
- package/lib/chunk-KFJX6EUX.mjs +35 -0
- package/lib/chunk-KJPJBTU3.mjs +39 -0
- package/lib/chunk-KLKZ7WFQ.mjs +10 -0
- package/lib/chunk-KTI5GUQ2.mjs +0 -0
- package/lib/chunk-KXT7CAOK.mjs +11 -0
- package/lib/chunk-L3EWKVGK.mjs +50 -0
- package/lib/chunk-L4APDQOZ.mjs +0 -0
- package/lib/chunk-L4E6EFSE.mjs +99 -0
- package/lib/chunk-LB77O5E4.mjs +34 -0
- package/lib/chunk-LCCPZVJA.mjs +54 -0
- package/lib/chunk-LJU3QPT6.mjs +0 -0
- package/lib/chunk-LRDFFA4N.mjs +115 -0
- package/lib/chunk-LVUB73GT.mjs +25 -0
- package/lib/chunk-M3QCBOMR.mjs +170 -0
- package/lib/chunk-M3TOOJJD.mjs +0 -0
- package/lib/chunk-M6N7BEOQ.mjs +452 -0
- package/lib/chunk-MHY5NRID.mjs +0 -0
- package/lib/chunk-MKGYBOHP.mjs +33 -0
- package/lib/chunk-MOFPNU3O.mjs +0 -0
- package/lib/chunk-MTY3CJY3.mjs +0 -0
- package/lib/chunk-N4AHATSI.mjs +0 -0
- package/lib/chunk-N73FDFDT.mjs +0 -0
- package/lib/chunk-N74Y4RTS.mjs +56 -0
- package/lib/chunk-NC4ADG7Y.mjs +10 -0
- package/lib/chunk-NGHKQW6O.mjs +0 -0
- package/lib/chunk-NGQ7NKVZ.mjs +58 -0
- package/lib/chunk-NNT67NXW.mjs +0 -0
- package/lib/chunk-NQNAS6P6.mjs +108 -0
- package/lib/chunk-NUAAULBS.mjs +10 -0
- package/lib/chunk-NUL2NM3T.mjs +34 -0
- package/lib/chunk-NVXOPUHQ.mjs +38 -0
- package/lib/chunk-NX5S7M4U.mjs +113 -0
- package/lib/chunk-NYTDVUJA.mjs +27 -0
- package/lib/chunk-NYWFYCBW.mjs +0 -0
- package/lib/chunk-NZC6XZ5P.mjs +104 -0
- package/lib/chunk-O63NISNW.mjs +0 -0
- package/lib/chunk-O7BB24FW.mjs +12 -0
- package/lib/chunk-OADZ62IM.mjs +16 -0
- package/lib/chunk-OD7EAHWA.mjs +0 -0
- package/lib/chunk-OLOR7JJS.mjs +107 -0
- package/lib/chunk-OMXKQXW3.mjs +38 -0
- package/lib/chunk-OSPYQCWD.mjs +0 -0
- package/lib/chunk-OT23T7T7.mjs +12 -0
- package/lib/chunk-OVFNDXJI.mjs +0 -0
- package/lib/chunk-P6CYEOEU.mjs +34 -0
- package/lib/chunk-PASHEWWF.mjs +0 -0
- package/lib/chunk-PDX2MBDM.mjs +56 -0
- package/lib/chunk-PMVCX6G5.mjs +10 -0
- package/lib/chunk-PNHDHZ6W.mjs +42 -0
- package/lib/chunk-PNOXYHZQ.mjs +0 -0
- package/lib/chunk-PTU4K5FZ.mjs +0 -0
- package/lib/chunk-PUI2WFL6.mjs +37 -0
- package/lib/chunk-PWGS2QOF.mjs +75 -0
- package/lib/chunk-Q7T5TQSP.mjs +55 -0
- package/lib/chunk-QQH2C3SB.mjs +0 -0
- package/lib/chunk-QQO2ZZKK.mjs +32 -0
- package/lib/chunk-QRFJ5P4H.mjs +0 -0
- package/lib/chunk-QS6QFWA4.mjs +0 -0
- package/lib/chunk-QSG5FVWR.mjs +0 -0
- package/lib/chunk-R43LIHXY.mjs +0 -0
- package/lib/chunk-R4YRDHPM.mjs +43 -0
- package/lib/chunk-R6T2LHN2.mjs +0 -0
- package/lib/chunk-RBMXTQBU.mjs +88 -0
- package/lib/chunk-RDGEG2US.mjs +11 -0
- package/lib/chunk-REJOU4FA.mjs +29 -0
- package/lib/chunk-REZTEZGD.mjs +40 -0
- package/lib/chunk-RFSYQTZ3.mjs +10 -0
- package/lib/chunk-RGTP7W2N.mjs +0 -0
- package/lib/chunk-RHCQAJRI.mjs +145 -0
- package/lib/chunk-RKRETAZE.mjs +52 -0
- package/lib/chunk-RL2RIYOW.mjs +179 -0
- package/lib/chunk-ROQNINF3.mjs +74 -0
- package/lib/chunk-RUUTYXKP.mjs +10 -0
- package/lib/chunk-S2M32OWW.mjs +0 -0
- package/lib/chunk-S3NVF5RX.mjs +98 -0
- package/lib/chunk-S5SNGJ6D.mjs +29 -0
- package/lib/chunk-S6Z5RYXP.mjs +27 -0
- package/lib/chunk-SDEWZ2HO.mjs +0 -0
- package/lib/chunk-SEWWK5HV.mjs +21 -0
- package/lib/chunk-SI3UQ4KE.mjs +147 -0
- package/lib/chunk-SNKTAQES.mjs +10 -0
- package/lib/chunk-SP3F32VS.mjs +10 -0
- package/lib/chunk-SZNGJMRR.mjs +54 -0
- package/lib/chunk-T6NBBRNR.mjs +20 -0
- package/lib/chunk-TA74RDPN.mjs +10 -0
- package/lib/chunk-TAGR4AF3.mjs +0 -0
- package/lib/chunk-TCXXIVXR.mjs +10 -0
- package/lib/chunk-TOZQZGNE.mjs +10 -0
- package/lib/chunk-TXDE2KMY.mjs +0 -0
- package/lib/chunk-TYN3DL2P.mjs +12 -0
- package/lib/chunk-U2DPDTMX.mjs +55 -0
- package/lib/chunk-U3F6V3KT.mjs +0 -0
- package/lib/chunk-U3QUQ7D2.mjs +30 -0
- package/lib/chunk-U4PBZIAF.mjs +0 -0
- package/lib/chunk-UB26NZBG.mjs +0 -0
- package/lib/chunk-UDTBRLJ5.mjs +11 -0
- package/lib/chunk-UFFFAKGD.mjs +10 -0
- package/lib/chunk-ULZBKTFP.mjs +0 -0
- package/lib/chunk-UPJXU7XF.mjs +1173 -0
- package/lib/chunk-UQU7MIEB.mjs +13 -0
- package/lib/chunk-URGJVWDV.mjs +0 -0
- package/lib/chunk-UT74RMOI.mjs +61 -0
- package/lib/chunk-UYIT3QLR.mjs +0 -0
- package/lib/chunk-V3GUCW64.mjs +10 -0
- package/lib/chunk-V62WQTG3.mjs +36 -0
- package/lib/chunk-VQNVPC4Z.mjs +0 -0
- package/lib/chunk-VZXEOOIF.mjs +10 -0
- package/lib/chunk-WNE5VM6G.mjs +0 -0
- package/lib/chunk-WNOUV4YC.mjs +48 -0
- package/lib/chunk-WPFFWM52.mjs +102 -0
- package/lib/chunk-WS3TWCSY.mjs +0 -0
- package/lib/chunk-WVW5Y7JU.mjs +0 -0
- package/lib/chunk-X6IC6AUM.mjs +47 -0
- package/lib/chunk-X6YXZ7IX.mjs +0 -0
- package/lib/chunk-XFWJ47MX.mjs +17 -0
- package/lib/chunk-XHEUUXUM.mjs +0 -0
- package/lib/chunk-XL2CSAQF.mjs +7 -0
- package/lib/chunk-XTOV4DLD.mjs +12 -0
- package/lib/chunk-XWSMJKMF.mjs +15 -0
- package/lib/chunk-Y224LKBE.mjs +113 -0
- package/lib/chunk-YAUPGZJ6.mjs +145 -0
- package/lib/chunk-YGCFBCWD.mjs +0 -0
- package/lib/chunk-YHW3W2UI.mjs +0 -0
- package/lib/chunk-YIEH3QZ4.mjs +44 -0
- package/lib/chunk-YL3L4XUV.mjs +10 -0
- package/lib/chunk-YLGY2MMV.mjs +93 -0
- package/lib/chunk-YOQ5TPNT.mjs +46 -0
- package/lib/chunk-YPID42KM.mjs +0 -0
- package/lib/chunk-YPYRIULW.mjs +21 -0
- package/lib/chunk-YRF7YX6X.mjs +9 -0
- package/lib/chunk-YRT7F7D6.mjs +10 -0
- package/lib/chunk-YT6MSEUB.mjs +0 -0
- package/lib/chunk-YTUCHYNR.mjs +88 -0
- package/lib/chunk-YZRO54LX.mjs +18 -0
- package/lib/chunk-Z2332RKX.mjs +118 -0
- package/lib/chunk-Z4JQMRUL.mjs +26 -0
- package/lib/chunk-ZDE4I55C.mjs +56 -0
- package/lib/chunk-ZG5GSZ7B.mjs +52 -0
- package/lib/chunk-ZHAWFRQE.mjs +0 -0
- package/lib/chunk-ZIPFFPLM.mjs +37 -0
- package/lib/chunk-ZJZDDJQJ.mjs +0 -0
- package/lib/chunk-ZO46D3GS.mjs +10 -0
- package/lib/chunk-ZOW27NA6.mjs +107 -0
- package/lib/chunk-ZPRBHA2I.mjs +58 -0
- package/lib/chunk-ZUCPUWEM.mjs +12 -0
- package/lib/chunk-ZUJOJMIY.mjs +0 -0
- package/lib/chunk-ZV47FGL7.mjs +43 -0
- package/lib/chunk-ZVIFXAQX.mjs +0 -0
- package/lib/chunk-ZZKO3PGP.mjs +46 -0
- package/lib/components/accordion/Accordion.d.mts +11 -0
- package/lib/components/accordion/Accordion.d.ts +3 -3
- package/lib/components/accordion/Accordion.js +96 -19
- package/lib/components/accordion/Accordion.mjs +10 -0
- package/lib/components/accordion/Accordion.native.d.mts +9 -0
- package/lib/components/accordion/Accordion.native.d.ts +4 -7
- package/lib/components/accordion/Accordion.native.js +75 -21
- package/lib/components/accordion/Accordion.native.mjs +25 -0
- package/lib/components/accordion/AccordionProps.d.mts +10 -0
- package/lib/components/accordion/AccordionProps.d.ts +3 -1
- package/lib/components/accordion/AccordionProps.js +18 -2
- package/lib/components/accordion/AccordionProps.mjs +0 -0
- package/lib/components/accordion/index.d.mts +5 -0
- package/lib/components/accordion/index.d.ts +3 -3
- package/lib/components/accordion/index.js +204 -6
- package/lib/components/accordion/index.mjs +23 -0
- package/lib/components/accordion/item/AccordionItem.d.mts +13 -0
- package/lib/components/accordion/item/AccordionItem.d.ts +4 -4
- package/lib/components/accordion/item/AccordionItem.helper.d.mts +10 -0
- package/lib/components/accordion/item/AccordionItem.helper.js +29 -8
- package/lib/components/accordion/item/AccordionItem.helper.mjs +7 -0
- package/lib/components/accordion/item/AccordionItem.js +132 -27
- package/lib/components/accordion/item/AccordionItem.mjs +10 -0
- package/lib/components/accordion/item/AccordionItem.native.d.mts +13 -0
- package/lib/components/accordion/item/AccordionItem.native.d.ts +4 -7
- package/lib/components/accordion/item/AccordionItem.native.js +391 -140
- package/lib/components/accordion/item/AccordionItem.native.mjs +173 -0
- package/lib/components/accordion/item/AccordionItemProps.d.mts +26 -0
- package/lib/components/accordion/item/AccordionItemProps.d.ts +3 -1
- package/lib/components/accordion/item/AccordionItemProps.js +18 -2
- package/lib/components/accordion/item/AccordionItemProps.mjs +0 -0
- package/lib/components/accordion/item/body/AccordionBody.d.mts +11 -0
- package/lib/components/accordion/item/body/AccordionBody.d.ts +2 -2
- package/lib/components/accordion/item/body/AccordionBody.js +108 -18
- package/lib/components/accordion/item/body/AccordionBody.mjs +10 -0
- package/lib/components/accordion/item/body/AccordionBody.native.d.mts +9 -0
- package/lib/components/accordion/item/body/AccordionBody.native.d.ts +4 -7
- package/lib/components/accordion/item/body/AccordionBody.native.js +73 -17
- package/lib/components/accordion/item/body/AccordionBody.native.mjs +23 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.d.mts +11 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.d.ts +4 -2
- package/lib/components/accordion/item/body/AccordionBodyProps.js +18 -2
- package/lib/components/accordion/item/body/AccordionBodyProps.mjs +0 -0
- package/lib/components/accordion/item/body/index.d.mts +2 -0
- package/lib/components/accordion/item/body/index.js +112 -3
- package/lib/components/accordion/item/body/index.mjs +13 -0
- package/lib/components/accordion/item/body/test/AccordionBody.native.test.d.mts +1 -0
- package/lib/components/accordion/item/body/test/AccordionBody.native.test.d.ts +1 -0
- package/lib/components/accordion/item/body/test/AccordionBody.test.d.mts +1 -0
- package/lib/components/accordion/item/body/test/AccordionBody.test.d.ts +1 -0
- package/lib/components/accordion/item/header/AccordionHeader.d.mts +11 -0
- package/lib/components/accordion/item/header/AccordionHeader.d.ts +2 -2
- package/lib/components/accordion/item/header/AccordionHeader.js +106 -18
- package/lib/components/accordion/item/header/AccordionHeader.mjs +10 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.d.mts +9 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.d.ts +4 -7
- package/lib/components/accordion/item/header/AccordionHeader.native.js +50 -20
- package/lib/components/accordion/item/header/AccordionHeader.native.mjs +23 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.d.mts +10 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.d.ts +3 -1
- package/lib/components/accordion/item/header/AccordionHeaderProps.js +18 -2
- package/lib/components/accordion/item/header/AccordionHeaderProps.mjs +0 -0
- package/lib/components/accordion/item/header/index.d.mts +2 -0
- package/lib/components/accordion/item/header/index.js +110 -3
- package/lib/components/accordion/item/header/index.mjs +13 -0
- package/lib/components/accordion/item/header/test/AccordionHeader.native.test.d.mts +1 -0
- package/lib/components/accordion/item/header/test/AccordionHeader.native.test.d.ts +1 -0
- package/lib/components/accordion/item/header/test/AccordionHeader.test.d.mts +1 -0
- package/lib/components/accordion/item/header/test/AccordionHeader.test.d.ts +1 -0
- package/lib/components/accordion/item/index.d.mts +2 -0
- package/lib/components/accordion/item/index.js +137 -3
- package/lib/components/accordion/item/index.mjs +13 -0
- package/lib/components/accordion/item/test/AccordionItem.native.test.d.mts +1 -0
- package/lib/components/accordion/item/test/AccordionItem.native.test.d.ts +1 -0
- package/lib/components/accordion/item/test/AccordionItem.test.d.mts +1 -0
- package/lib/components/accordion/item/test/AccordionItem.test.d.ts +1 -0
- package/lib/components/accordion/test/Accordion.native.test.d.mts +1 -0
- package/lib/components/accordion/test/Accordion.native.test.d.ts +1 -0
- package/lib/components/accordion/test/Accordion.test.d.mts +1 -0
- package/lib/components/accordion/test/Accordion.test.d.ts +1 -0
- package/lib/components/alert/Alert.d.mts +28 -0
- package/lib/components/alert/Alert.d.ts +7 -3
- package/lib/components/alert/Alert.js +587 -127
- package/lib/components/alert/Alert.mjs +36 -0
- package/lib/components/alert/Alert.native.d.mts +34 -0
- package/lib/components/alert/Alert.native.d.ts +1 -5
- package/lib/components/alert/Alert.native.js +915 -158
- package/lib/components/alert/Alert.native.mjs +199 -0
- package/lib/components/alert/AlertEnum.d.mts +9 -0
- package/lib/components/alert/AlertEnum.d.ts +9 -0
- package/lib/components/alert/AlertEnum.js +38 -0
- package/lib/components/alert/AlertEnum.mjs +7 -0
- package/lib/components/alert/AlertProps.d.mts +49 -0
- package/lib/components/alert/AlertProps.d.ts +15 -3
- package/lib/components/alert/AlertProps.js +41 -6
- package/lib/components/alert/AlertProps.mjs +9 -0
- package/lib/components/alert/AlertPropsDefaults.js +18 -0
- package/lib/components/alert/ToasterStatusPropsDefaults.js +26 -0
- package/lib/components/alert/context/ToastPropsDefaults.js +18 -0
- package/lib/components/alert/context/ToasterContext.d.mts +7 -0
- package/lib/components/alert/context/ToasterContext.js +39 -5
- package/lib/components/alert/context/ToasterContext.mjs +7 -0
- package/lib/components/alert/context/ToasterContextProps.d.mts +30 -0
- package/lib/components/alert/context/ToasterContextProps.d.ts +4 -2
- package/lib/components/alert/context/ToasterContextProps.js +18 -2
- package/lib/components/alert/context/ToasterContextProps.mjs +0 -0
- package/lib/components/alert/context/index.d.mts +2 -0
- package/lib/components/alert/context/index.js +44 -3
- package/lib/components/alert/context/index.mjs +8 -0
- package/lib/components/alert/index.d.mts +5 -0
- package/lib/components/alert/index.d.ts +2 -0
- package/lib/components/alert/index.js +625 -4
- package/lib/components/alert/index.mjs +49 -0
- package/lib/components/alert/test/Alert.native.test.d.mts +1 -0
- package/lib/components/alert/test/Alert.native.test.d.ts +1 -0
- package/lib/components/alert/test/Alert.test.d.mts +1 -0
- package/lib/components/alert/test/Alert.test.d.ts +1 -0
- package/lib/components/autocomplete/AutoComplete.d.mts +35 -0
- package/lib/components/autocomplete/AutoComplete.d.ts +34 -3
- package/lib/components/autocomplete/AutoComplete.js +1054 -158
- package/lib/components/autocomplete/AutoComplete.mjs +77 -0
- package/lib/components/autocomplete/AutoComplete.native.d.mts +27 -0
- package/lib/components/autocomplete/AutoComplete.native.d.ts +5 -3
- package/lib/components/autocomplete/AutoComplete.native.js +1204 -107
- package/lib/components/autocomplete/AutoComplete.native.mjs +213 -0
- package/lib/components/autocomplete/AutoCompleteProps.d.mts +53 -0
- package/lib/components/autocomplete/AutoCompleteProps.d.ts +4 -4
- package/lib/components/autocomplete/AutoCompleteProps.js +18 -2
- package/lib/components/autocomplete/AutoCompleteProps.mjs +1 -0
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +52 -56
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +52 -56
- package/lib/components/autocomplete/Autocomplete.helpers.d.mts +3 -0
- package/lib/components/autocomplete/Autocomplete.helpers.js +41 -8
- package/lib/components/autocomplete/Autocomplete.helpers.mjs +9 -0
- package/lib/components/autocomplete/index.d.mts +5 -0
- package/lib/components/autocomplete/index.js +1070 -6
- package/lib/components/autocomplete/index.mjs +85 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.mts +3 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +0 -1
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +193 -14
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +15 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.d.mts +11 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +1 -2
- package/lib/components/autocomplete/item/AutoCompleteItem.js +119 -20
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +15 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.d.mts +11 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.d.ts +0 -1
- package/lib/components/autocomplete/item/AutoCompleteItemProps.js +18 -2
- package/lib/components/autocomplete/item/AutoCompleteItemProps.mjs +0 -0
- package/lib/components/autocomplete/item/index.d.mts +2 -0
- package/lib/components/autocomplete/item/index.js +123 -3
- package/lib/components/autocomplete/item/index.mjs +16 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.mts +11 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +2 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +118 -19
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +15 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.mts +3 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +0 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +377 -31
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +65 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.mts +9 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.ts +0 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js +18 -2
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.mjs +0 -0
- package/lib/components/autocomplete/menu/index.d.mts +2 -0
- package/lib/components/autocomplete/menu/index.js +122 -3
- package/lib/components/autocomplete/menu/index.mjs +16 -0
- package/lib/components/autocomplete/test/Autocomplete.native.test.d.mts +1 -0
- package/lib/components/autocomplete/test/Autocomplete.native.test.d.ts +1 -0
- package/lib/components/autocomplete/test/Autocomplete.test.d.mts +1 -0
- package/lib/components/autocomplete/test/Autocomplete.test.d.ts +1 -0
- package/lib/components/autocomplete/utils/debounce.d.mts +1 -0
- package/lib/components/autocomplete/utils/debounce.js +61 -25
- package/lib/components/autocomplete/utils/debounce.mjs +7 -0
- package/lib/components/autocomplete/utils/index.d.mts +1 -0
- package/lib/components/autocomplete/utils/index.js +65 -2
- package/lib/components/autocomplete/utils/index.mjs +8 -0
- package/lib/components/autolayout/AutoLayout.d.mts +7 -0
- package/lib/components/autolayout/AutoLayout.helpers.d.mts +24 -0
- package/lib/components/autolayout/AutoLayout.helpers.d.ts +2 -2
- package/lib/components/autolayout/AutoLayout.helpers.js +360 -125
- package/lib/components/autolayout/AutoLayout.helpers.mjs +21 -0
- package/lib/components/autolayout/AutoLayout.js +39 -10
- package/lib/components/autolayout/AutoLayout.mjs +7 -0
- package/lib/components/autolayout/AutoLayout.native.d.mts +12 -0
- package/lib/components/autolayout/AutoLayout.native.js +424 -30
- package/lib/components/autolayout/AutoLayout.native.mjs +40 -0
- package/lib/components/autolayout/AutoLayoutProps.d.mts +15 -0
- package/lib/components/autolayout/AutoLayoutProps.js +18 -2
- package/lib/components/autolayout/AutoLayoutProps.mjs +0 -0
- package/lib/components/autolayout/AutoLayoutWrapper.d.mts +12 -0
- package/lib/components/autolayout/AutoLayoutWrapper.js +54 -21
- package/lib/components/autolayout/AutoLayoutWrapper.mjs +8 -0
- package/lib/components/autolayout/DefaultSpacingMatrix.d.mts +6 -0
- package/lib/components/autolayout/DefaultSpacingMatrix.js +141 -39
- package/lib/components/autolayout/DefaultSpacingMatrix.mjs +17 -0
- package/lib/components/autolayout/SpacingMatrix.d.mts +24 -0
- package/lib/components/autolayout/SpacingMatrix.d.ts +1 -2
- package/lib/components/autolayout/SpacingMatrix.js +34 -12
- package/lib/components/autolayout/SpacingMatrix.mjs +7 -0
- package/lib/components/autolayout/index.d.mts +5 -0
- package/lib/components/autolayout/index.d.ts +5 -2
- package/lib/components/autolayout/index.js +168 -3
- package/lib/components/autolayout/index.mjs +29 -0
- package/lib/components/autolayout/interface.d.mts +34 -0
- package/lib/components/autolayout/interface.d.ts +34 -0
- package/lib/components/autolayout/interface.js +18 -0
- package/lib/components/autolayout/interface.mjs +0 -0
- package/lib/components/autolayout/test/AutoLayout.native.test.d.mts +1 -0
- package/lib/components/autolayout/test/AutoLayout.native.test.d.ts +1 -0
- package/lib/components/autolayout/test/AutoLayout.test.d.mts +1 -0
- package/lib/components/autolayout/test/AutoLayout.test.d.ts +1 -0
- package/lib/components/badge/Badge.d.mts +17 -0
- package/lib/components/badge/Badge.d.ts +4 -4
- package/lib/components/badge/Badge.js +320 -55
- package/lib/components/badge/Badge.mjs +25 -0
- package/lib/components/badge/Badge.native.d.mts +18 -0
- package/lib/components/badge/Badge.native.d.ts +13 -9
- package/lib/components/badge/Badge.native.js +331 -45
- package/lib/components/badge/Badge.native.mjs +162 -0
- package/lib/components/badge/BadgeEnum.d.mts +10 -0
- package/lib/components/badge/BadgeEnum.js +36 -11
- package/lib/components/badge/BadgeEnum.mjs +7 -0
- package/lib/components/badge/BadgeProps.d.mts +24 -0
- package/lib/components/badge/BadgeProps.d.ts +17 -8
- package/lib/components/badge/BadgeProps.js +38 -2
- package/lib/components/badge/BadgeProps.mjs +7 -0
- package/lib/components/badge/BadgePropsDefaults.js +18 -12
- package/lib/components/badge/index.d.mts +3 -0
- package/lib/components/badge/index.d.ts +1 -0
- package/lib/components/badge/index.js +342 -3
- package/lib/components/badge/index.mjs +30 -0
- package/lib/components/badge/test/Badge.test.d.mts +1 -0
- package/lib/components/badge/test/Badge.test.d.ts +1 -0
- package/lib/components/box/Box.d.mts +23 -0
- package/lib/components/box/Box.d.ts +4 -3
- package/lib/components/box/Box.js +226 -49
- package/lib/components/box/Box.mjs +14 -0
- package/lib/components/box/Box.native.d.mts +22 -0
- package/lib/components/box/Box.native.d.ts +3 -7
- package/lib/components/box/Box.native.js +263 -123
- package/lib/components/box/Box.native.mjs +160 -0
- package/lib/components/box/BoxProps.d.mts +26 -0
- package/lib/components/box/BoxProps.d.ts +8 -2
- package/lib/components/box/BoxProps.js +18 -2
- package/lib/components/box/BoxProps.mjs +1 -0
- package/lib/components/box/BoxPropsDefaults.js +18 -2
- package/lib/components/box/content/BoxContent.d.mts +13 -0
- package/lib/components/box/content/BoxContent.d.ts +4 -3
- package/lib/components/box/content/BoxContent.js +197 -23
- package/lib/components/box/content/BoxContent.mjs +18 -0
- package/lib/components/box/content/BoxContent.native.d.mts +11 -0
- package/lib/components/box/content/BoxContent.native.d.ts +5 -7
- package/lib/components/box/content/BoxContent.native.js +142 -24
- package/lib/components/box/content/BoxContent.native.mjs +41 -0
- package/lib/components/box/content/BoxContentProps.d.mts +13 -0
- package/lib/components/box/content/BoxContentProps.d.ts +5 -2
- package/lib/components/box/content/BoxContentProps.js +18 -2
- package/lib/components/box/content/BoxContentProps.mjs +0 -0
- package/lib/components/box/content/BoxContentPropsDefaults.js +5 -1
- package/lib/components/box/content/index.d.mts +2 -0
- package/lib/components/box/content/index.js +200 -3
- package/lib/components/box/content/index.mjs +19 -0
- package/lib/components/box/context/boxContext.d.mts +4 -0
- package/lib/components/box/context/boxContext.d.ts +4 -0
- package/lib/components/box/context/boxContext.js +41 -0
- package/lib/components/box/context/boxContext.mjs +7 -0
- package/lib/components/box/footer/BoxFooter.d.mts +12 -0
- package/lib/components/box/footer/BoxFooter.d.ts +3 -4
- package/lib/components/box/footer/BoxFooter.js +187 -23
- package/lib/components/box/footer/BoxFooter.mjs +18 -0
- package/lib/components/box/footer/BoxFooter.native.d.mts +10 -0
- package/lib/components/box/footer/BoxFooter.native.d.ts +4 -7
- package/lib/components/box/footer/BoxFooter.native.js +256 -28
- package/lib/components/box/footer/BoxFooter.native.mjs +84 -0
- package/lib/components/box/footer/BoxFooterProps.d.mts +14 -0
- package/lib/components/box/footer/BoxFooterProps.d.ts +6 -2
- package/lib/components/box/footer/BoxFooterProps.js +18 -2
- package/lib/components/box/footer/BoxFooterProps.mjs +0 -0
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +5 -1
- package/lib/components/box/footer/index.d.mts +2 -0
- package/lib/components/box/footer/index.js +190 -3
- package/lib/components/box/footer/index.mjs +19 -0
- package/lib/components/box/header/BoxHeader.d.mts +14 -0
- package/lib/components/box/header/BoxHeader.d.ts +5 -4
- package/lib/components/box/header/BoxHeader.js +204 -30
- package/lib/components/box/header/BoxHeader.mjs +19 -0
- package/lib/components/box/header/BoxHeader.native.d.mts +10 -0
- package/lib/components/box/header/BoxHeader.native.d.ts +4 -12
- package/lib/components/box/header/BoxHeader.native.js +168 -61
- package/lib/components/box/header/BoxHeader.native.mjs +63 -0
- package/lib/components/box/header/BoxHeaderProps.d.mts +14 -0
- package/lib/components/box/header/BoxHeaderProps.d.ts +6 -2
- package/lib/components/box/header/BoxHeaderProps.js +18 -2
- package/lib/components/box/header/BoxHeaderProps.mjs +0 -0
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +11 -3
- package/lib/components/box/header/index.d.mts +2 -0
- package/lib/components/box/header/index.js +209 -3
- package/lib/components/box/header/index.mjs +20 -0
- package/lib/components/box/index.d.mts +9 -0
- package/lib/components/box/index.js +430 -10
- package/lib/components/box/index.mjs +50 -0
- package/lib/components/box/item/BoxItem.d.mts +11 -0
- package/lib/components/box/item/BoxItem.d.ts +3 -3
- package/lib/components/box/item/BoxItem.js +97 -18
- package/lib/components/box/item/BoxItem.mjs +10 -0
- package/lib/components/box/item/BoxItem.native.d.mts +10 -0
- package/lib/components/box/item/BoxItem.native.d.ts +4 -7
- package/lib/components/box/item/BoxItem.native.js +78 -25
- package/lib/components/box/item/BoxItem.native.mjs +28 -0
- package/lib/components/box/item/BoxItemEnum.d.mts +11 -0
- package/lib/components/box/item/BoxItemEnum.js +38 -13
- package/lib/components/box/item/BoxItemEnum.mjs +7 -0
- package/lib/components/box/item/BoxItemProps.d.mts +9 -0
- package/lib/components/box/item/BoxItemProps.d.ts +4 -2
- package/lib/components/box/item/BoxItemProps.js +18 -2
- package/lib/components/box/item/BoxItemProps.mjs +0 -0
- package/lib/components/box/item/index.d.mts +3 -0
- package/lib/components/box/item/index.js +117 -4
- package/lib/components/box/item/index.mjs +15 -0
- package/lib/components/box/table-container/BoxTableContainer.d.mts +11 -0
- package/lib/components/box/table-container/BoxTableContainer.d.ts +4 -4
- package/lib/components/box/table-container/BoxTableContainer.js +104 -18
- package/lib/components/box/table-container/BoxTableContainer.mjs +10 -0
- package/lib/components/box/table-container/BoxTableContainer.native.d.mts +9 -0
- package/lib/components/box/table-container/BoxTableContainer.native.d.ts +4 -7
- package/lib/components/box/table-container/BoxTableContainer.native.js +73 -17
- package/lib/components/box/table-container/BoxTableContainer.native.mjs +23 -0
- package/lib/components/box/table-container/BoxTableContainerProps.d.mts +11 -0
- package/lib/components/box/table-container/BoxTableContainerProps.d.ts +4 -2
- package/lib/components/box/table-container/BoxTableContainerProps.js +18 -2
- package/lib/components/box/table-container/BoxTableContainerProps.mjs +0 -0
- package/lib/components/box/table-container/index.d.mts +2 -0
- package/lib/components/box/table-container/index.js +108 -3
- package/lib/components/box/table-container/index.mjs +11 -0
- package/lib/components/box/test/Box.native.test.d.mts +1 -0
- package/lib/components/box/test/Box.native.test.d.ts +1 -0
- package/lib/components/box/test/Box.test.d.mts +1 -0
- package/lib/components/box/test/Box.test.d.ts +1 -0
- package/lib/components/breadcrumb/Breadcrumb.d.mts +12 -0
- package/lib/components/breadcrumb/Breadcrumb.d.ts +2 -2
- package/lib/components/breadcrumb/Breadcrumb.js +108 -20
- package/lib/components/breadcrumb/Breadcrumb.mjs +10 -0
- package/lib/components/breadcrumb/Breadcrumb.native.d.mts +10 -0
- package/lib/components/breadcrumb/Breadcrumb.native.d.ts +4 -7
- package/lib/components/breadcrumb/Breadcrumb.native.js +230 -29
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +46 -0
- package/lib/components/breadcrumb/BreadcrumbProps.d.mts +17 -0
- package/lib/components/breadcrumb/BreadcrumbProps.d.ts +5 -2
- package/lib/components/breadcrumb/BreadcrumbProps.js +18 -2
- package/lib/components/breadcrumb/BreadcrumbProps.mjs +0 -0
- package/lib/components/breadcrumb/index.d.mts +3 -0
- package/lib/components/breadcrumb/index.js +336 -4
- package/lib/components/breadcrumb/index.mjs +31 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.mts +18 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.d.ts +3 -3
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +301 -33
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +25 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.mts +13 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.ts +4 -7
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +264 -34
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +51 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.mts +19 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.ts +6 -2
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.js +18 -2
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.mjs +0 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemPropsWebDefaults.js +9 -9
- package/lib/components/breadcrumb/item/index.d.mts +2 -0
- package/lib/components/breadcrumb/item/index.js +306 -3
- package/lib/components/breadcrumb/item/index.mjs +26 -0
- package/lib/components/breadcrumb/test/Breadcrumb.native.test.d.mts +1 -0
- package/lib/components/breadcrumb/test/Breadcrumb.native.test.d.ts +1 -0
- package/lib/components/breadcrumb/test/Breadcrumb.test.d.mts +1 -0
- package/lib/components/breadcrumb/test/Breadcrumb.test.d.ts +1 -0
- package/lib/components/breadcrumb/test/BreadcrumbItem.test.d.mts +1 -0
- package/lib/components/breadcrumb/test/BreadcrumbItem.test.d.ts +1 -0
- package/lib/components/button/Button.d.mts +26 -0
- package/lib/components/button/Button.d.ts +4 -4
- package/lib/components/button/Button.js +358 -72
- package/lib/components/button/Button.mjs +25 -0
- package/lib/components/button/Button.native.d.mts +17 -0
- package/lib/components/button/Button.native.d.ts +4 -7
- package/lib/components/button/Button.native.js +557 -175
- package/lib/components/button/Button.native.mjs +200 -0
- package/lib/components/button/ButtonEnum.d.mts +32 -0
- package/lib/components/button/ButtonEnum.js +52 -30
- package/lib/components/button/ButtonEnum.mjs +11 -0
- package/lib/components/button/ButtonProps.d.mts +26 -0
- package/lib/components/button/ButtonProps.d.ts +8 -4
- package/lib/components/button/ButtonProps.js +18 -2
- package/lib/components/button/ButtonProps.mjs +0 -0
- package/lib/components/button/ButtonPropsDefaults.js +11 -11
- package/lib/components/button/index.d.mts +4 -0
- package/lib/components/button/index.js +429 -5
- package/lib/components/button/index.mjs +39 -0
- package/lib/components/button/list/ButtonList.d.mts +12 -0
- package/lib/components/button/list/ButtonList.d.ts +6 -2
- package/lib/components/button/list/ButtonList.js +159 -18
- package/lib/components/button/list/ButtonList.mjs +17 -0
- package/lib/components/button/list/ButtonList.native.d.mts +9 -0
- package/lib/components/button/list/ButtonList.native.d.ts +4 -7
- package/lib/components/button/list/ButtonList.native.js +55 -14
- package/lib/components/button/list/ButtonList.native.mjs +16 -0
- package/lib/components/button/list/ButtonListEnum.d.mts +5 -0
- package/lib/components/button/list/ButtonListEnum.js +34 -6
- package/lib/components/button/list/ButtonListEnum.mjs +7 -0
- package/lib/components/button/list/ButtonListProps.d.mts +23 -0
- package/lib/components/button/list/ButtonListProps.d.ts +6 -4
- package/lib/components/button/list/ButtonListProps.js +18 -2
- package/lib/components/button/list/ButtonListProps.mjs +0 -0
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +3 -1
- package/lib/components/button/list/index.d.mts +3 -0
- package/lib/components/button/list/index.d.ts +1 -0
- package/lib/components/button/list/index.js +174 -3
- package/lib/components/button/list/index.mjs +21 -0
- package/lib/components/button/spin-white.js +27 -0
- package/lib/components/button/spin-white.mjs +29 -0
- package/lib/components/button/spin.js +27 -0
- package/lib/components/button/spin.mjs +29 -0
- package/lib/components/button/test/Button.native.test.d.mts +1 -0
- package/lib/components/button/test/Button.native.test.d.ts +1 -0
- package/lib/components/button/test/Button.test.d.mts +1 -0
- package/lib/components/button/test/Button.test.d.ts +1 -0
- package/lib/components/button/test/ButtonList.test.d.mts +1 -0
- package/lib/components/button/test/ButtonList.test.d.ts +1 -0
- package/lib/components/card/Card.d.mts +20 -0
- package/lib/components/card/Card.d.ts +3 -4
- package/lib/components/card/Card.js +153 -36
- package/lib/components/card/Card.mjs +13 -0
- package/lib/components/card/Card.native.d.mts +25 -0
- package/lib/components/card/Card.native.d.ts +3 -7
- package/lib/components/card/Card.native.js +243 -104
- package/lib/components/card/Card.native.mjs +14 -0
- package/lib/components/card/CardProps.d.mts +22 -0
- package/lib/components/card/CardProps.d.ts +6 -2
- package/lib/components/card/CardProps.js +18 -2
- package/lib/components/card/CardProps.mjs +0 -0
- package/lib/components/card/content/CardContent.d.mts +11 -0
- package/lib/components/card/content/CardContent.d.ts +3 -3
- package/lib/components/card/content/CardContent.js +97 -18
- package/lib/components/card/content/CardContent.mjs +10 -0
- package/lib/components/card/content/CardContent.native.d.mts +9 -0
- package/lib/components/card/content/CardContent.native.d.ts +3 -14
- package/lib/components/card/content/CardContent.native.js +261 -70
- package/lib/components/card/content/CardContent.native.mjs +35 -0
- package/lib/components/card/content/CardContentProps.d.mts +11 -0
- package/lib/components/card/content/CardContentProps.d.ts +4 -2
- package/lib/components/card/content/CardContentProps.js +18 -2
- package/lib/components/card/content/CardContentProps.mjs +0 -0
- package/lib/components/card/content/index.d.mts +2 -0
- package/lib/components/card/content/index.js +101 -3
- package/lib/components/card/content/index.mjs +11 -0
- package/lib/components/card/content/test/CardContent.native.test.d.mts +1 -0
- package/lib/components/card/content/test/CardContent.native.test.d.ts +1 -0
- package/lib/components/card/content/test/CardContent.test.d.mts +1 -0
- package/lib/components/card/content/test/CardContent.test.d.ts +1 -0
- package/lib/components/card/image/CardImage.d.mts +15 -0
- package/lib/components/card/image/CardImage.d.ts +3 -3
- package/lib/components/card/image/CardImage.js +120 -30
- package/lib/components/card/image/CardImage.mjs +11 -0
- package/lib/components/card/image/CardImage.native.d.mts +14 -0
- package/lib/components/card/image/CardImage.native.d.ts +3 -6
- package/lib/components/card/image/CardImage.native.js +285 -41
- package/lib/components/card/image/CardImage.native.mjs +60 -0
- package/lib/components/card/image/CardImageEnum.d.mts +13 -0
- package/lib/components/card/image/CardImageEnum.js +36 -11
- package/lib/components/card/image/CardImageEnum.mjs +7 -0
- package/lib/components/card/image/CardImageProps.d.mts +15 -0
- package/lib/components/card/image/CardImageProps.d.ts +4 -1
- package/lib/components/card/image/CardImageProps.js +18 -2
- package/lib/components/card/image/CardImageProps.mjs +0 -0
- package/lib/components/card/image/index.d.mts +2 -0
- package/lib/components/card/image/index.js +124 -3
- package/lib/components/card/image/index.mjs +12 -0
- package/lib/components/card/image/test/CardImage.native.test.d.mts +1 -0
- package/lib/components/card/image/test/CardImage.native.test.d.ts +1 -0
- package/lib/components/card/image/test/CardImage.test.d.mts +1 -0
- package/lib/components/card/image/test/CardImage.test.d.ts +1 -0
- package/lib/components/card/index.d.mts +5 -0
- package/lib/components/card/index.js +215 -6
- package/lib/components/card/index.mjs +26 -0
- package/lib/components/card/test/Card.native.test.d.mts +1 -0
- package/lib/components/card/test/Card.native.test.d.ts +1 -0
- package/lib/components/card/test/Card.test.d.mts +1 -0
- package/lib/components/card/test/Card.test.d.ts +1 -0
- package/lib/components/checkbox/Checkbox.d.mts +19 -0
- package/lib/components/checkbox/Checkbox.d.ts +6 -4
- package/lib/components/checkbox/Checkbox.js +125 -33
- package/lib/components/checkbox/Checkbox.mjs +10 -0
- package/lib/components/checkbox/Checkbox.native.d.mts +16 -0
- package/lib/components/checkbox/Checkbox.native.d.ts +3 -6
- package/lib/components/checkbox/Checkbox.native.js +359 -157
- package/lib/components/checkbox/Checkbox.native.mjs +81 -0
- package/lib/components/checkbox/CheckboxCommonPropsDefaults.js +76 -0
- package/lib/components/checkbox/CheckboxProps.d.mts +35 -0
- package/lib/components/checkbox/CheckboxProps.d.ts +18 -4
- package/lib/components/checkbox/CheckboxProps.js +18 -2
- package/lib/components/checkbox/CheckboxProps.mjs +1 -0
- package/lib/components/checkbox/CheckboxWithChildrenDefaults.js +94 -0
- package/lib/components/checkbox/CheckboxWithLabelDefaults.js +84 -0
- package/lib/components/checkbox/index.d.mts +6 -0
- package/lib/components/checkbox/index.d.ts +4 -2
- package/lib/components/checkbox/index.js +490 -5
- package/lib/components/checkbox/index.mjs +78 -0
- package/lib/components/checkbox/list/CheckboxList.d.mts +14 -0
- package/lib/components/checkbox/list/CheckboxList.d.ts +14 -0
- package/lib/components/checkbox/list/CheckboxList.js +271 -0
- package/lib/components/checkbox/list/CheckboxList.mjs +62 -0
- package/lib/components/checkbox/list/CheckboxList.native.d.mts +9 -0
- package/lib/components/checkbox/list/CheckboxList.native.d.ts +9 -0
- package/lib/components/checkbox/list/CheckboxList.native.js +152 -0
- package/lib/components/checkbox/list/CheckboxList.native.mjs +39 -0
- package/lib/components/checkbox/list/CheckboxListProps.d.mts +25 -0
- package/lib/components/checkbox/list/CheckboxListProps.d.ts +25 -0
- package/lib/components/checkbox/list/CheckboxListProps.js +18 -0
- package/lib/components/checkbox/list/CheckboxListProps.mjs +0 -0
- package/lib/components/checkbox/list/CheckboxListPropsDefaults.js +10 -0
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +61 -0
- package/lib/components/checkbox/list/index.d.mts +2 -0
- package/lib/components/checkbox/list/index.d.ts +2 -0
- package/lib/components/checkbox/list/index.js +275 -0
- package/lib/components/checkbox/list/index.mjs +62 -0
- package/lib/components/checkbox/test/Checkbox.native.test.d.mts +1 -0
- package/lib/components/checkbox/test/Checkbox.native.test.d.ts +1 -0
- package/lib/components/checkbox/test/Checkbox.test.d.mts +1 -0
- package/lib/components/checkbox/test/Checkbox.test.d.ts +1 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.d.mts +12 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.d.ts +7 -5
- package/lib/components/checkbox/tiles/CheckboxTiles.js +151 -32
- package/lib/components/checkbox/tiles/CheckboxTiles.mjs +13 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.mts +5 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.ts +5 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +153 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.mjs +38 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.mts +12 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.ts +5 -2
- package/lib/components/checkbox/tiles/CheckboxTilesProps.js +18 -2
- package/lib/components/checkbox/tiles/CheckboxTilesProps.mjs +0 -0
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +13 -2
- package/lib/components/checkbox/tiles/index.d.mts +2 -0
- package/lib/components/checkbox/tiles/index.js +158 -3
- package/lib/components/checkbox/tiles/index.mjs +16 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.mts +22 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.d.ts +17 -5
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +330 -35
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +62 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.mts +5 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +5 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +700 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +227 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.d.mts +17 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.d.ts +7 -2
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.js +18 -2
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.mjs +0 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTilePropsDefaults.js +9 -49
- package/lib/components/checkbox/tiles/tile/index.d.mts +2 -0
- package/lib/components/checkbox/tiles/tile/index.js +334 -3
- package/lib/components/checkbox/tiles/tile/index.mjs +65 -0
- package/lib/components/chips/Chips.d.mts +16 -0
- package/lib/components/chips/Chips.d.ts +4 -4
- package/lib/components/chips/Chips.js +122 -27
- package/lib/components/chips/Chips.mjs +12 -0
- package/lib/components/chips/Chips.native.d.mts +13 -0
- package/lib/components/chips/Chips.native.d.ts +4 -7
- package/lib/components/chips/Chips.native.js +423 -59
- package/lib/components/chips/Chips.native.mjs +92 -0
- package/lib/components/chips/ChipsProps.d.mts +17 -0
- package/lib/components/chips/ChipsProps.d.ts +6 -2
- package/lib/components/chips/ChipsProps.js +18 -2
- package/lib/components/chips/ChipsProps.mjs +0 -0
- package/lib/components/chips/index.d.mts +3 -0
- package/lib/components/chips/index.js +146 -4
- package/lib/components/chips/index.mjs +17 -0
- package/lib/components/chips/list/ChipsList.d.mts +13 -0
- package/lib/components/chips/list/ChipsList.d.ts +1 -1
- package/lib/components/chips/list/ChipsList.js +108 -22
- package/lib/components/chips/list/ChipsList.mjs +11 -0
- package/lib/components/chips/list/ChipsList.native.d.mts +13 -0
- package/lib/components/chips/list/ChipsList.native.d.ts +2 -6
- package/lib/components/chips/list/ChipsList.native.js +91 -23
- package/lib/components/chips/list/ChipsList.native.mjs +10 -0
- package/lib/components/chips/list/ChipsListProps.d.mts +13 -0
- package/lib/components/chips/list/ChipsListProps.d.ts +4 -1
- package/lib/components/chips/list/ChipsListProps.js +18 -2
- package/lib/components/chips/list/ChipsListProps.mjs +0 -0
- package/lib/components/chips/list/ChipsListPropsDefaults.js +7 -0
- package/lib/components/chips/list/index.d.mts +2 -0
- package/lib/components/chips/list/index.js +112 -3
- package/lib/components/chips/list/index.mjs +14 -0
- package/lib/components/chips/list/test/ChipsList.native.test.d.mts +1 -0
- package/lib/components/chips/list/test/ChipsList.native.test.d.ts +1 -0
- package/lib/components/chips/list/test/ChipsList.test.d.mts +1 -0
- package/lib/components/chips/list/test/ChipsList.test.d.ts +1 -0
- package/lib/components/chips/test/Chips.native.test.d.mts +1 -0
- package/lib/components/chips/test/Chips.native.test.d.ts +1 -0
- package/lib/components/chips/test/Chips.test.d.mts +1 -0
- package/lib/components/chips/test/Chips.test.d.ts +1 -0
- package/lib/components/columns/Columns.d.mts +17 -0
- package/lib/components/columns/Columns.d.ts +4 -4
- package/lib/components/columns/Columns.js +182 -28
- package/lib/components/columns/Columns.mjs +13 -0
- package/lib/components/columns/Columns.native.d.mts +13 -0
- package/lib/components/columns/Columns.native.d.ts +3 -9
- package/lib/components/columns/Columns.native.js +179 -98
- package/lib/components/columns/Columns.native.mjs +112 -0
- package/lib/components/columns/ColumnsProps.d.mts +19 -0
- package/lib/components/columns/ColumnsProps.d.ts +6 -3
- package/lib/components/columns/ColumnsProps.js +18 -2
- package/lib/components/columns/ColumnsProps.mjs +0 -0
- package/lib/components/columns/ColumnsPropsDefaults.js +14 -2
- package/lib/components/columns/ColumnsTypes.d.mts +15 -0
- package/lib/components/columns/ColumnsTypes.js +46 -16
- package/lib/components/columns/ColumnsTypes.mjs +9 -0
- package/lib/components/columns/column/Column.d.mts +28 -0
- package/lib/components/columns/column/Column.d.ts +4 -4
- package/lib/components/columns/column/Column.js +187 -38
- package/lib/components/columns/column/Column.mjs +12 -0
- package/lib/components/columns/column/Column.native.d.mts +9 -0
- package/lib/components/columns/column/Column.native.d.ts +4 -10
- package/lib/components/columns/column/Column.native.js +282 -32
- package/lib/components/columns/column/Column.native.mjs +104 -0
- package/lib/components/columns/column/ColumnProps.d.mts +27 -0
- package/lib/components/columns/column/ColumnProps.d.ts +4 -2
- package/lib/components/columns/column/ColumnProps.js +18 -2
- package/lib/components/columns/column/ColumnProps.mjs +0 -0
- package/lib/components/columns/column/ColumnPropsDefaults.js +6 -2
- package/lib/components/columns/column/index.d.mts +2 -0
- package/lib/components/columns/column/index.d.ts +1 -1
- package/lib/components/columns/column/index.js +191 -3
- package/lib/components/columns/column/index.mjs +13 -0
- package/lib/components/columns/context/index.d.mts +7 -0
- package/lib/components/columns/context/index.d.ts +7 -0
- package/lib/components/columns/context/index.js +46 -0
- package/lib/components/columns/context/index.mjs +7 -0
- package/lib/components/columns/index.d.mts +4 -0
- package/lib/components/columns/index.js +286 -5
- package/lib/components/columns/index.mjs +25 -0
- package/lib/components/container/Container.d.mts +12 -0
- package/lib/components/container/Container.d.ts +2 -3
- package/lib/components/container/Container.js +105 -23
- package/lib/components/container/Container.mjs +11 -0
- package/lib/components/container/Container.native.d.mts +9 -0
- package/lib/components/container/Container.native.d.ts +1 -1
- package/lib/components/container/Container.native.js +95 -23
- package/lib/components/container/Container.native.mjs +28 -0
- package/lib/components/container/ContainerProps.d.mts +8 -0
- package/lib/components/container/ContainerProps.d.ts +3 -1
- package/lib/components/container/ContainerProps.js +18 -2
- package/lib/components/container/ContainerProps.mjs +0 -0
- package/lib/components/container/index.d.mts +1 -0
- package/lib/components/container/index.js +112 -2
- package/lib/components/container/index.mjs +12 -0
- package/lib/components/container/test/Container.native.test.d.mts +1 -0
- package/lib/components/container/test/Container.native.test.d.ts +1 -0
- package/lib/components/container/test/Container.test.d.mts +1 -0
- package/lib/components/container/test/Container.test.d.ts +1 -0
- package/lib/components/countdown/Countdown.d.mts +17 -0
- package/lib/components/countdown/Countdown.d.ts +3 -3
- package/lib/components/countdown/Countdown.js +188 -123
- package/lib/components/countdown/Countdown.mjs +12 -0
- package/lib/components/countdown/Countdown.native.d.mts +15 -0
- package/lib/components/countdown/Countdown.native.d.ts +3 -6
- package/lib/components/countdown/Countdown.native.js +379 -158
- package/lib/components/countdown/Countdown.native.mjs +164 -0
- package/lib/components/countdown/CountdownEnum.d.mts +16 -0
- package/lib/components/countdown/CountdownEnum.js +64 -32
- package/lib/components/countdown/CountdownEnum.mjs +11 -0
- package/lib/components/countdown/CountdownProps.d.mts +16 -0
- package/lib/components/countdown/CountdownProps.d.ts +4 -1
- package/lib/components/countdown/CountdownProps.js +18 -2
- package/lib/components/countdown/CountdownProps.mjs +0 -0
- package/lib/components/countdown/index.d.mts +3 -0
- package/lib/components/countdown/index.js +222 -4
- package/lib/components/countdown/index.mjs +18 -0
- package/lib/components/countdown/test/Countdown.native.test.d.mts +1 -0
- package/lib/components/countdown/test/Countdown.native.test.d.ts +1 -0
- package/lib/components/countdown/test/Countdown.test.d.mts +1 -0
- package/lib/components/countdown/test/Countdown.test.d.ts +1 -0
- package/lib/components/divider/Divider.d.mts +15 -0
- package/lib/components/divider/Divider.d.ts +4 -4
- package/lib/components/divider/Divider.js +231 -40
- package/lib/components/divider/Divider.mjs +23 -0
- package/lib/components/divider/Divider.native.d.mts +14 -0
- package/lib/components/divider/Divider.native.d.ts +4 -7
- package/lib/components/divider/Divider.native.js +383 -73
- package/lib/components/divider/Divider.native.mjs +106 -0
- package/lib/components/divider/DividerProps.d.mts +15 -0
- package/lib/components/divider/DividerProps.d.ts +4 -1
- package/lib/components/divider/DividerProps.js +18 -2
- package/lib/components/divider/DividerProps.mjs +1 -0
- package/lib/components/divider/index.d.mts +3 -0
- package/lib/components/divider/index.d.ts +1 -0
- package/lib/components/divider/index.js +238 -3
- package/lib/components/divider/index.mjs +25 -0
- package/lib/components/divider/test/Divider.native.test.d.mts +1 -0
- package/lib/components/divider/test/Divider.native.test.d.ts +1 -0
- package/lib/components/divider/test/Divider.test.d.mts +1 -0
- package/lib/components/divider/test/Divider.test.d.ts +1 -0
- package/lib/components/enums.d.mts +3 -0
- package/lib/components/enums.js +134 -4
- package/lib/components/enums.mjs +31 -0
- package/lib/components/enumsComponentsName.d.mts +163 -0
- package/lib/components/enumsComponentsName.d.ts +12 -2
- package/lib/components/enumsComponentsName.js +193 -155
- package/lib/components/enumsComponentsName.mjs +7 -0
- package/lib/components/fab/Fab.d.mts +20 -0
- package/lib/components/fab/Fab.d.ts +2 -2
- package/lib/components/fab/Fab.js +280 -51
- package/lib/components/fab/Fab.mjs +24 -0
- package/lib/components/fab/Fab.native.d.mts +18 -0
- package/lib/components/fab/Fab.native.d.ts +4 -7
- package/lib/components/fab/Fab.native.js +396 -63
- package/lib/components/fab/Fab.native.mjs +140 -0
- package/lib/components/fab/FabProps.d.mts +20 -0
- package/lib/components/fab/FabProps.d.ts +3 -2
- package/lib/components/fab/FabProps.js +18 -2
- package/lib/components/fab/FabProps.mjs +0 -0
- package/lib/components/fab/index.d.mts +2 -0
- package/lib/components/fab/index.js +285 -3
- package/lib/components/fab/index.mjs +25 -0
- package/lib/components/fab/test/Fab.test.d.mts +1 -0
- package/lib/components/fab/test/Fab.test.d.ts +1 -0
- package/lib/components/flex-box/DirectionDefaults.js +32 -0
- package/lib/components/flex-box/FlexBox.d.mts +17 -0
- package/lib/components/flex-box/FlexBox.d.ts +17 -0
- package/lib/components/flex-box/FlexBox.js +174 -0
- package/lib/components/flex-box/FlexBox.mjs +14 -0
- package/lib/components/flex-box/FlexBox.native.d.mts +5 -0
- package/lib/components/flex-box/FlexBox.native.d.ts +5 -0
- package/lib/components/flex-box/FlexBox.native.js +367 -0
- package/lib/components/flex-box/FlexBox.native.mjs +100 -0
- package/lib/components/flex-box/FlexBoxProps.d.mts +28 -0
- package/lib/components/flex-box/FlexBoxProps.d.ts +28 -0
- package/lib/components/flex-box/FlexBoxProps.js +18 -0
- package/lib/components/flex-box/FlexBoxProps.mjs +0 -0
- package/lib/components/flex-box/FlexBoxPropsDefaults.js +105 -0
- package/lib/components/flex-box/FlexBoxSizeDefaults.js +53 -0
- package/lib/components/flex-box/context/index.d.mts +7 -0
- package/lib/components/flex-box/context/index.d.ts +7 -0
- package/lib/components/flex-box/context/index.js +46 -0
- package/lib/components/flex-box/context/index.mjs +7 -0
- package/lib/components/flex-box/flex-item/FlexItem.d.mts +28 -0
- package/lib/components/flex-box/flex-item/FlexItem.d.ts +28 -0
- package/lib/components/flex-box/flex-item/FlexItem.js +144 -0
- package/lib/components/flex-box/flex-item/FlexItem.mjs +12 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.d.mts +29 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.d.ts +29 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.js +127 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.mjs +55 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.d.mts +22 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.d.ts +22 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.js +18 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.mjs +0 -0
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +85 -0
- package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +110 -0
- package/lib/components/flex-box/index.d.mts +3 -0
- package/lib/components/flex-box/index.d.ts +3 -0
- package/lib/components/flex-box/index.js +210 -0
- package/lib/components/flex-box/index.mjs +19 -0
- package/lib/components/hero/Hero.d.mts +18 -0
- package/lib/components/hero/Hero.d.ts +2 -3
- package/lib/components/hero/Hero.js +172 -33
- package/lib/components/hero/Hero.mjs +14 -0
- package/lib/components/hero/Hero.native.d.mts +16 -0
- package/lib/components/hero/Hero.native.js +507 -85
- package/lib/components/hero/Hero.native.mjs +136 -0
- package/lib/components/hero/HeroProps.d.mts +15 -0
- package/lib/components/hero/HeroProps.d.ts +5 -1
- package/lib/components/hero/HeroProps.js +18 -2
- package/lib/components/hero/HeroProps.mjs +1 -0
- package/lib/components/hero/HeroPropsDefaults.js +15 -1
- package/lib/components/hero/heroEnum.d.mts +6 -0
- package/lib/components/hero/heroEnum.js +36 -8
- package/lib/components/hero/heroEnum.mjs +7 -0
- package/lib/components/hero/index.d.mts +3 -0
- package/lib/components/hero/index.d.ts +2 -0
- package/lib/components/hero/index.js +190 -2
- package/lib/components/hero/index.mjs +20 -0
- package/lib/components/hero/test/Hero.native.test.d.mts +1 -0
- package/lib/components/hero/test/Hero.native.test.d.ts +1 -0
- package/lib/components/hero/test/Hero.test.d.mts +1 -0
- package/lib/components/hero/test/Hero.test.d.ts +1 -0
- package/lib/components/icon/Icon.d.mts +21 -0
- package/lib/components/icon/Icon.d.ts +3 -3
- package/lib/components/icon/Icon.js +209 -37
- package/lib/components/icon/Icon.mjs +19 -0
- package/lib/components/icon/Icon.native.d.mts +22 -0
- package/lib/components/icon/Icon.native.d.ts +4 -7
- package/lib/components/icon/Icon.native.js +269 -109
- package/lib/components/icon/Icon.native.mjs +136 -0
- package/lib/components/icon/IconEnum.d.mts +72 -0
- package/lib/components/icon/IconEnum.js +87 -61
- package/lib/components/icon/IconEnum.mjs +17 -0
- package/lib/components/icon/IconNameEnum.d.mts +27 -0
- package/lib/components/icon/IconNameEnum.js +56 -28
- package/lib/components/icon/IconNameEnum.mjs +7 -0
- package/lib/components/icon/IconProps.d.mts +19 -0
- package/lib/components/icon/IconProps.d.ts +6 -3
- package/lib/components/icon/IconProps.js +18 -2
- package/lib/components/icon/IconProps.mjs +0 -0
- package/lib/components/icon/IconPropsDefaults.js +5 -25
- package/lib/components/icon/index.d.mts +4 -0
- package/lib/components/icon/index.js +306 -5
- package/lib/components/icon/index.mjs +38 -0
- package/lib/components/icon/test/Icon.test.d.mts +1 -0
- package/lib/components/icon/test/Icon.test.d.ts +1 -0
- package/lib/components/image/Image.d.mts +17 -0
- package/lib/components/image/Image.d.ts +6 -4
- package/lib/components/image/Image.js +271 -36
- package/lib/components/image/Image.mjs +61 -0
- package/lib/components/image/Image.native.d.mts +15 -0
- package/lib/components/image/Image.native.d.ts +6 -8
- package/lib/components/image/Image.native.js +91 -30
- package/lib/components/image/Image.native.mjs +39 -0
- package/lib/components/image/ImageProps.d.mts +18 -0
- package/lib/components/image/ImageProps.d.ts +3 -1
- package/lib/components/image/ImageProps.js +35 -7
- package/lib/components/image/ImageProps.mjs +7 -0
- package/lib/components/image/ImagePropsDefaults.js +6 -2
- package/lib/components/image/index.d.mts +3 -0
- package/lib/components/image/index.js +286 -4
- package/lib/components/image/index.mjs +66 -0
- package/lib/components/image/test/Image.native.test.d.mts +1 -0
- package/lib/components/image/test/Image.native.test.d.ts +1 -0
- package/lib/components/image/test/Image.test.d.mts +1 -0
- package/lib/components/image/test/Image.test.d.ts +1 -0
- package/lib/components/index.d.mts +49 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +6348 -50
- package/lib/components/index.mjs +720 -0
- package/lib/components/input/Input.d.mts +49 -0
- package/lib/components/input/Input.d.ts +45 -3
- package/lib/components/input/Input.js +749 -187
- package/lib/components/input/Input.mjs +67 -0
- package/lib/components/input/Input.native.d.mts +39 -0
- package/lib/components/input/Input.native.d.ts +4 -6
- package/lib/components/input/Input.native.js +974 -324
- package/lib/components/input/Input.native.mjs +71 -0
- package/lib/components/input/InputChangeEventWebDefaults.js +7 -0
- package/lib/components/input/InputEnum.d.mts +187 -0
- package/lib/components/input/InputEnum.d.ts +2 -1
- package/lib/components/input/InputEnum.js +175 -187
- package/lib/components/input/InputEnum.mjs +19 -0
- package/lib/components/input/InputProps.d.mts +106 -0
- package/lib/components/input/InputProps.d.ts +9 -2
- package/lib/components/input/InputProps.js +18 -2
- package/lib/components/input/InputProps.mjs +1 -0
- package/lib/components/input/InputPropsDefaults.js +52 -4
- package/lib/components/input/gauge/InputGauge.d.mts +8 -0
- package/lib/components/input/gauge/InputGauge.d.ts +0 -1
- package/lib/components/input/gauge/InputGauge.js +404 -32
- package/lib/components/input/gauge/InputGauge.mjs +61 -0
- package/lib/components/input/gauge/InputGauge.native.d.mts +7 -0
- package/lib/components/input/gauge/InputGauge.native.d.ts +0 -1
- package/lib/components/input/gauge/InputGauge.native.js +481 -54
- package/lib/components/input/gauge/InputGauge.native.mjs +64 -0
- package/lib/components/input/gauge/hook/useGauge.d.mts +32 -0
- package/lib/components/input/gauge/hook/useGauge.d.ts +2 -2
- package/lib/components/input/gauge/hook/useGauge.js +310 -80
- package/lib/components/input/gauge/hook/useGauge.mjs +60 -0
- package/lib/components/input/index.d.mts +4 -0
- package/lib/components/input/index.js +912 -5
- package/lib/components/input/index.mjs +84 -0
- package/lib/components/input/test/Input.native.test.d.mts +1 -0
- package/lib/components/input/test/Input.native.test.d.ts +1 -0
- package/lib/components/input/test/Input.test.d.mts +1 -0
- package/lib/components/input/test/Input.test.d.ts +1 -0
- package/lib/components/interface.d.mts +2 -0
- package/lib/components/interface.d.ts +2 -0
- package/lib/components/interface.js +18 -0
- package/lib/components/interface.mjs +0 -0
- package/lib/components/link/Link.d.mts +23 -0
- package/lib/components/link/Link.d.ts +4 -4
- package/lib/components/link/Link.js +283 -47
- package/lib/components/link/Link.mjs +23 -0
- package/lib/components/link/Link.native.d.mts +16 -0
- package/lib/components/link/Link.native.d.ts +4 -8
- package/lib/components/link/Link.native.js +289 -105
- package/lib/components/link/Link.native.mjs +93 -0
- package/lib/components/link/LinkDefaults.js +334 -0
- package/lib/components/link/LinkProps.d.mts +28 -0
- package/lib/components/link/LinkProps.d.ts +12 -2
- package/lib/components/link/LinkProps.js +18 -2
- package/lib/components/link/LinkProps.mjs +0 -0
- package/lib/components/link/LinkPropsDefaults.js +85 -9
- package/lib/components/link/LinkPropsNativeDefaults.js +405 -0
- package/lib/components/link/index.d.mts +2 -0
- package/lib/components/link/index.js +290 -3
- package/lib/components/link/index.mjs +24 -0
- package/lib/components/link/test/link.native.test.d.mts +1 -0
- package/lib/components/link/test/link.native.test.d.ts +1 -0
- package/lib/components/link/test/link.test.d.mts +1 -0
- package/lib/components/link/test/link.test.d.ts +1 -0
- package/lib/components/list/List.d.mts +11 -0
- package/lib/components/list/List.d.ts +6 -5
- package/lib/components/list/List.js +106 -19
- package/lib/components/list/List.mjs +11 -0
- package/lib/components/list/List.native.d.mts +11 -0
- package/lib/components/list/List.native.d.ts +6 -7
- package/lib/components/list/List.native.js +81 -15
- package/lib/components/list/List.native.mjs +24 -0
- package/lib/components/list/ListProps.d.mts +14 -0
- package/lib/components/list/ListProps.d.ts +4 -0
- package/lib/components/list/ListProps.js +18 -2
- package/lib/components/list/ListProps.mjs +1 -0
- package/lib/components/list/ListPropsDefaults.js +8 -0
- package/lib/components/list/context/ListContext.d.mts +3 -0
- package/lib/components/list/context/ListContext.d.ts +3 -0
- package/lib/components/list/context/ListContext.js +46 -0
- package/lib/components/list/context/ListContext.mjs +7 -0
- package/lib/components/list/context/ListContextProps.d.mts +7 -0
- package/lib/components/list/context/ListContextProps.d.ts +7 -0
- package/lib/components/list/context/ListContextProps.js +18 -0
- package/lib/components/list/context/ListContextProps.mjs +1 -0
- package/lib/components/list/context/ListContextPropsDefaults.js +24 -0
- package/lib/components/list/context/index.d.mts +2 -0
- package/lib/components/list/context/index.d.ts +2 -0
- package/lib/components/list/context/index.js +48 -0
- package/lib/components/list/context/index.mjs +9 -0
- package/lib/components/list/index.d.mts +4 -0
- package/lib/components/list/index.js +309 -5
- package/lib/components/list/index.mjs +78 -0
- package/lib/components/list/item/ListItem.d.mts +11 -0
- package/lib/components/list/item/ListItem.d.ts +4 -4
- package/lib/components/list/item/ListItem.js +263 -24
- package/lib/components/list/item/ListItem.mjs +61 -0
- package/lib/components/list/item/ListItem.native.d.mts +11 -0
- package/lib/components/list/item/ListItem.native.d.ts +5 -8
- package/lib/components/list/item/ListItem.native.js +372 -81
- package/lib/components/list/item/ListItem.native.mjs +113 -0
- package/lib/components/list/item/ListItemProps.d.mts +23 -0
- package/lib/components/list/item/ListItemProps.d.ts +6 -2
- package/lib/components/list/item/ListItemProps.js +36 -6
- package/lib/components/list/item/ListItemProps.mjs +7 -0
- package/lib/components/list/item/ListItemPropsDefaults.js +4 -0
- package/lib/components/list/item/description/ListItemDescription.d.mts +10 -0
- package/lib/components/list/item/description/ListItemDescription.d.ts +4 -4
- package/lib/components/list/item/description/ListItemDescription.js +95 -16
- package/lib/components/list/item/description/ListItemDescription.mjs +14 -0
- package/lib/components/list/item/description/ListItemDescription.native.d.mts +8 -0
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +2 -6
- package/lib/components/list/item/description/ListItemDescription.native.js +474 -16
- package/lib/components/list/item/description/ListItemDescription.native.mjs +82 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.d.mts +11 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.d.ts +3 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.js +18 -2
- package/lib/components/list/item/description/ListItemDescriptionProps.mjs +1 -0
- package/lib/components/list/item/description/index.d.mts +3 -0
- package/lib/components/list/item/description/index.js +100 -4
- package/lib/components/list/item/description/index.mjs +16 -0
- package/lib/components/list/item/index.d.mts +4 -0
- package/lib/components/list/item/index.js +292 -5
- package/lib/components/list/item/index.mjs +72 -0
- package/lib/components/list/item/test/ListItem.native.test.d.mts +1 -0
- package/lib/components/list/item/test/ListItem.native.test.d.ts +1 -0
- package/lib/components/list/item/test/ListItem.test.d.mts +1 -0
- package/lib/components/list/item/test/ListItem.test.d.ts +1 -0
- package/lib/components/list/test/List.native.test.d.mts +1 -0
- package/lib/components/list/test/List.native.test.d.ts +1 -0
- package/lib/components/list/test/List.test.d.mts +1 -0
- package/lib/components/list/test/List.test.d.ts +1 -0
- package/lib/components/modal/Modal.d.mts +17 -0
- package/lib/components/modal/Modal.d.ts +5 -6
- package/lib/components/modal/Modal.js +624 -93
- package/lib/components/modal/Modal.mjs +33 -0
- package/lib/components/modal/Modal.native.d.mts +15 -0
- package/lib/components/modal/Modal.native.d.ts +5 -8
- package/lib/components/modal/Modal.native.js +622 -134
- package/lib/components/modal/Modal.native.mjs +173 -0
- package/lib/components/modal/ModalEnum.d.mts +28 -0
- package/lib/components/modal/ModalEnum.js +59 -30
- package/lib/components/modal/ModalEnum.mjs +11 -0
- package/lib/components/modal/ModalProps.d.mts +24 -0
- package/lib/components/modal/ModalProps.d.ts +6 -3
- package/lib/components/modal/ModalProps.js +18 -2
- package/lib/components/modal/ModalProps.mjs +0 -0
- package/lib/components/modal/ModalPropsDefaults.js +4 -1
- package/lib/components/modal/body/ModalBody.d.mts +11 -0
- package/lib/components/modal/body/ModalBody.d.ts +3 -3
- package/lib/components/modal/body/ModalBody.js +93 -17
- package/lib/components/modal/body/ModalBody.mjs +14 -0
- package/lib/components/modal/body/ModalBody.native.d.mts +10 -0
- package/lib/components/modal/body/ModalBody.native.d.ts +3 -6
- package/lib/components/modal/body/ModalBody.native.js +307 -23
- package/lib/components/modal/body/ModalBody.native.mjs +101 -0
- package/lib/components/modal/body/ModalBodyProps.d.mts +10 -0
- package/lib/components/modal/body/ModalBodyProps.d.ts +3 -1
- package/lib/components/modal/body/ModalBodyProps.js +18 -2
- package/lib/components/modal/body/ModalBodyProps.mjs +0 -0
- package/lib/components/modal/context/ModalContext.d.mts +3 -0
- package/lib/components/modal/context/ModalContext.d.ts +3 -0
- package/lib/components/modal/context/ModalContext.js +46 -0
- package/lib/components/modal/context/ModalContext.mjs +7 -0
- package/lib/components/modal/context/ModalContextProps.d.mts +8 -0
- package/lib/components/modal/context/ModalContextProps.d.ts +8 -0
- package/lib/components/modal/context/ModalContextProps.js +18 -0
- package/lib/components/modal/context/ModalContextProps.mjs +1 -0
- package/lib/components/modal/context/ModalContextPropsDefaults.js +25 -0
- package/lib/components/modal/context/index.d.mts +2 -0
- package/lib/components/modal/context/index.d.ts +2 -0
- package/lib/components/modal/context/index.js +48 -0
- package/lib/components/modal/context/index.mjs +9 -0
- package/lib/components/modal/footer/ModalFooter.d.mts +11 -0
- package/lib/components/modal/footer/ModalFooter.d.ts +3 -3
- package/lib/components/modal/footer/ModalFooter.js +95 -17
- package/lib/components/modal/footer/ModalFooter.mjs +14 -0
- package/lib/components/modal/footer/ModalFooter.native.d.mts +9 -0
- package/lib/components/modal/footer/ModalFooter.native.d.ts +4 -7
- package/lib/components/modal/footer/ModalFooter.native.js +400 -23
- package/lib/components/modal/footer/ModalFooter.native.mjs +102 -0
- package/lib/components/modal/footer/ModalFooterProps.d.mts +10 -0
- package/lib/components/modal/footer/ModalFooterProps.d.ts +3 -1
- package/lib/components/modal/footer/ModalFooterProps.js +18 -2
- package/lib/components/modal/footer/ModalFooterProps.mjs +0 -0
- package/lib/components/modal/index.d.mts +5 -0
- package/lib/components/modal/index.js +695 -6
- package/lib/components/modal/index.mjs +50 -0
- package/lib/components/modal/test/Modal.test.d.mts +1 -0
- package/lib/components/modal/test/Modal.test.d.ts +1 -0
- package/lib/components/modal/test/ModalFooter.test.d.mts +1 -0
- package/lib/components/modal/test/ModalFooter.test.d.ts +1 -0
- package/lib/components/otp/Otp.d.mts +19 -0
- package/lib/components/otp/Otp.d.ts +3 -3
- package/lib/components/otp/Otp.js +364 -117
- package/lib/components/otp/Otp.mjs +21 -0
- package/lib/components/otp/Otp.native.d.mts +17 -0
- package/lib/components/otp/Otp.native.d.ts +4 -7
- package/lib/components/otp/Otp.native.js +544 -135
- package/lib/components/otp/Otp.native.mjs +202 -0
- package/lib/components/otp/OtpProps.d.mts +20 -0
- package/lib/components/otp/OtpProps.d.ts +3 -0
- package/lib/components/otp/OtpProps.js +18 -2
- package/lib/components/otp/OtpProps.mjs +0 -0
- package/lib/components/otp/index.d.mts +2 -0
- package/lib/components/otp/index.js +378 -3
- package/lib/components/otp/index.mjs +22 -0
- package/lib/components/otp/test/Otp.native.test.d.mts +1 -0
- package/lib/components/otp/test/Otp.native.test.d.ts +1 -0
- package/lib/components/otp/test/Otp.test.d.mts +1 -0
- package/lib/components/otp/test/Otp.test.d.ts +1 -0
- package/lib/components/pagination/Pagination.d.mts +14 -0
- package/lib/components/pagination/Pagination.d.ts +4 -5
- package/lib/components/pagination/Pagination.js +296 -86
- package/lib/components/pagination/Pagination.mjs +23 -0
- package/lib/components/pagination/Pagination.native.d.mts +12 -0
- package/lib/components/pagination/Pagination.native.d.ts +4 -7
- package/lib/components/pagination/Pagination.native.js +433 -134
- package/lib/components/pagination/Pagination.native.mjs +156 -0
- package/lib/components/pagination/PaginationEnum.d.mts +6 -0
- package/lib/components/pagination/PaginationEnum.js +18 -2
- package/lib/components/pagination/PaginationEnum.mjs +1 -0
- package/lib/components/pagination/PaginationProps.d.mts +15 -0
- package/lib/components/pagination/PaginationProps.d.ts +5 -3
- package/lib/components/pagination/PaginationProps.js +18 -2
- package/lib/components/pagination/PaginationProps.mjs +0 -0
- package/lib/components/pagination/PaginationPropsDefaults.js +0 -7
- package/lib/components/pagination/index.d.mts +3 -0
- package/lib/components/pagination/index.js +303 -4
- package/lib/components/pagination/index.mjs +25 -0
- package/lib/components/pagination/test/Pagination.native.test.d.mts +1 -0
- package/lib/components/pagination/test/Pagination.native.test.d.ts +1 -0
- package/lib/components/pagination/test/Pagination.test.d.mts +1 -0
- package/lib/components/pagination/test/Pagination.test.d.ts +1 -0
- package/lib/components/popover/Popover.d.mts +15 -0
- package/lib/components/popover/Popover.d.ts +3 -3
- package/lib/components/popover/Popover.js +114 -26
- package/lib/components/popover/Popover.mjs +11 -0
- package/lib/components/popover/Popover.native.d.mts +12 -0
- package/lib/components/popover/Popover.native.d.ts +3 -6
- package/lib/components/popover/Popover.native.js +314 -90
- package/lib/components/popover/Popover.native.mjs +142 -0
- package/lib/components/popover/PopoverEnum.d.mts +23 -0
- package/lib/components/popover/PopoverEnum.js +42 -18
- package/lib/components/popover/PopoverEnum.mjs +9 -0
- package/lib/components/popover/PopoverProps.d.mts +22 -0
- package/lib/components/popover/PopoverProps.d.ts +3 -0
- package/lib/components/popover/PopoverProps.js +18 -2
- package/lib/components/popover/PopoverProps.mjs +1 -0
- package/lib/components/popover/index.d.mts +4 -0
- package/lib/components/popover/index.d.ts +1 -0
- package/lib/components/popover/index.js +136 -4
- package/lib/components/popover/index.mjs +19 -0
- package/lib/components/popover/test/Popover.test.d.mts +1 -0
- package/lib/components/popover/test/Popover.test.d.ts +1 -0
- package/lib/components/price/Price.d.mts +22 -0
- package/lib/components/price/Price.d.ts +3 -3
- package/lib/components/price/Price.js +403 -85
- package/lib/components/price/Price.mjs +64 -0
- package/lib/components/price/Price.native.d.mts +21 -0
- package/lib/components/price/Price.native.d.ts +3 -6
- package/lib/components/price/Price.native.js +486 -241
- package/lib/components/price/Price.native.mjs +263 -0
- package/lib/components/price/PriceEnum.d.mts +10 -0
- package/lib/components/price/PriceEnum.js +39 -11
- package/lib/components/price/PriceEnum.mjs +7 -0
- package/lib/components/price/PriceHelpers.d.mts +1 -0
- package/lib/components/price/PriceHelpers.js +35 -7
- package/lib/components/price/PriceHelpers.mjs +7 -0
- package/lib/components/price/PriceProps.d.mts +20 -0
- package/lib/components/price/PriceProps.d.ts +3 -1
- package/lib/components/price/PriceProps.js +18 -2
- package/lib/components/price/PriceProps.mjs +0 -0
- package/lib/components/price/PricePropsDefaults.js +6 -2
- package/lib/components/price/index.d.mts +3 -0
- package/lib/components/price/index.js +424 -4
- package/lib/components/price/index.mjs +69 -0
- package/lib/components/price/test/Price.native.test.d.mts +1 -0
- package/lib/components/price/test/Price.native.test.d.ts +1 -0
- package/lib/components/price/test/Price.test.d.mts +1 -0
- package/lib/components/price/test/Price.test.d.ts +1 -0
- package/lib/components/product-tour/ProductTour.d.mts +16 -0
- package/lib/components/product-tour/ProductTour.d.ts +3 -3
- package/lib/components/product-tour/ProductTour.js +231 -36
- package/lib/components/product-tour/ProductTour.mjs +24 -0
- package/lib/components/product-tour/ProductTour.native.d.mts +9 -0
- package/lib/components/product-tour/ProductTour.native.d.ts +3 -6
- package/lib/components/product-tour/ProductTour.native.js +41 -13
- package/lib/components/product-tour/ProductTour.native.mjs +14 -0
- package/lib/components/product-tour/ProductTourProps.d.mts +62 -0
- package/lib/components/product-tour/ProductTourProps.d.ts +3 -1
- package/lib/components/product-tour/ProductTourProps.js +56 -33
- package/lib/components/product-tour/ProductTourProps.mjs +11 -0
- package/lib/components/product-tour/index.d.mts +3 -0
- package/lib/components/product-tour/index.js +267 -4
- package/lib/components/product-tour/index.mjs +33 -0
- package/lib/components/product-tour/test/ProductTour.native.test.d.mts +1 -0
- package/lib/components/product-tour/test/ProductTour.native.test.d.ts +1 -0
- package/lib/components/product-tour/test/ProductTour.test.d.mts +1 -0
- package/lib/components/product-tour/test/ProductTour.test.d.ts +1 -0
- package/lib/components/progress/Progress.d.mts +12 -0
- package/lib/components/progress/Progress.d.ts +2 -2
- package/lib/components/progress/Progress.js +372 -32
- package/lib/components/progress/Progress.mjs +64 -0
- package/lib/components/progress/Progress.native.d.mts +13 -0
- package/lib/components/progress/Progress.native.d.ts +5 -7
- package/lib/components/progress/Progress.native.js +559 -74
- package/lib/components/progress/Progress.native.mjs +153 -0
- package/lib/components/progress/ProgressProps.d.mts +18 -0
- package/lib/components/progress/ProgressProps.d.ts +5 -0
- package/lib/components/progress/ProgressProps.js +18 -2
- package/lib/components/progress/ProgressProps.mjs +0 -0
- package/lib/components/progress/ProgressPropsDefaults.js +22 -0
- package/lib/components/progress/index.d.mts +5 -0
- package/lib/components/progress/index.d.ts +2 -1
- package/lib/components/progress/index.js +615 -5
- package/lib/components/progress/index.mjs +82 -0
- package/lib/components/progress/item/ProgressItem.d.mts +15 -0
- package/lib/components/progress/item/ProgressItem.d.ts +15 -0
- package/lib/components/progress/item/ProgressItem.js +263 -0
- package/lib/components/progress/item/ProgressItem.mjs +61 -0
- package/lib/components/progress/item/ProgressItem.native.d.mts +12 -0
- package/lib/components/progress/item/ProgressItem.native.d.ts +12 -0
- package/lib/components/progress/item/ProgressItem.native.js +88 -0
- package/lib/components/progress/item/ProgressItem.native.mjs +35 -0
- package/lib/components/progress/item/ProgressItemProps.d.mts +19 -0
- package/lib/components/progress/item/ProgressItemProps.d.ts +19 -0
- package/lib/components/progress/item/ProgressItemProps.js +18 -0
- package/lib/components/progress/item/ProgressItemProps.mjs +0 -0
- package/lib/components/progress/item/ProgressItemPropsDefaults.js +76 -0
- package/lib/components/progress/item/index.d.mts +2 -0
- package/lib/components/progress/item/index.d.ts +2 -0
- package/lib/components/progress/item/index.js +268 -0
- package/lib/components/progress/item/index.mjs +62 -0
- package/lib/components/progress/radial/ProgressRadial.d.mts +16 -0
- package/lib/components/progress/radial/ProgressRadial.d.ts +3 -3
- package/lib/components/progress/radial/ProgressRadial.js +428 -72
- package/lib/components/progress/radial/ProgressRadial.mjs +24 -0
- package/lib/components/progress/radial/ProgressRadial.native.d.mts +17 -0
- package/lib/components/progress/radial/ProgressRadial.native.d.ts +3 -6
- package/lib/components/progress/radial/ProgressRadial.native.js +1707 -90
- package/lib/components/progress/radial/ProgressRadial.native.mjs +182 -0
- package/lib/components/progress/radial/ProgressRadialProps.d.mts +23 -0
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +3 -0
- package/lib/components/progress/radial/ProgressRadialProps.js +18 -2
- package/lib/components/progress/radial/ProgressRadialProps.mjs +0 -0
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +16 -4
- package/lib/components/progress/radial/index.d.mts +2 -0
- package/lib/components/progress/radial/index.js +435 -3
- package/lib/components/progress/radial/index.mjs +25 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.d.mts +7 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.d.ts +1 -2
- package/lib/components/progress/radial/item/ProgressRadialItemProps.js +18 -2
- package/lib/components/progress/radial/item/ProgressRadialItemProps.mjs +0 -0
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +2 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.d.mts +3 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.d.ts +0 -1
- package/lib/components/progress/radial/item/ProgressRadialtem.js +94 -12
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +13 -0
- package/lib/components/progress/radial/item/index.d.mts +2 -0
- package/lib/components/progress/radial/item/index.js +97 -3
- package/lib/components/progress/radial/item/index.mjs +16 -0
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.mts +21 -0
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.ts +13 -42
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +1297 -68
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.mjs +8 -0
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.d.mts +10 -0
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.d.ts +2 -57
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +1208 -118
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.mjs +7 -0
- package/lib/components/progress/radial/react-native-circular-progress/index.d.mts +3 -0
- package/lib/components/progress/radial/react-native-circular-progress/index.d.ts +2 -2
- package/lib/components/progress/radial/react-native-circular-progress/index.js +1310 -4
- package/lib/components/progress/radial/react-native-circular-progress/index.mjs +12 -0
- package/lib/components/progress/radial/test/ProgressRadial.test.d.mts +1 -0
- package/lib/components/progress/radial/test/ProgressRadial.test.d.ts +1 -0
- package/lib/components/progress/test/Progress.test.d.mts +1 -0
- package/lib/components/progress/test/Progress.test.d.ts +1 -0
- package/lib/components/radio/Radio.d.mts +18 -0
- package/lib/components/radio/Radio.d.ts +7 -6
- package/lib/components/radio/Radio.js +119 -33
- package/lib/components/radio/Radio.mjs +10 -0
- package/lib/components/radio/Radio.native.d.mts +16 -0
- package/lib/components/radio/Radio.native.d.ts +8 -18
- package/lib/components/radio/Radio.native.js +370 -182
- package/lib/components/radio/Radio.native.mjs +115 -0
- package/lib/components/radio/RadioProps.d.mts +24 -0
- package/lib/components/radio/RadioProps.d.ts +5 -2
- package/lib/components/radio/RadioProps.js +18 -2
- package/lib/components/radio/RadioProps.mjs +0 -0
- package/lib/components/radio/RadioPropsDefaults.js +8 -0
- package/lib/components/radio/index.d.mts +5 -0
- package/lib/components/radio/index.js +486 -6
- package/lib/components/radio/index.mjs +78 -0
- package/lib/components/radio/list/RadioList.d.mts +14 -0
- package/lib/components/radio/list/RadioList.d.ts +8 -7
- package/lib/components/radio/list/RadioList.js +271 -23
- package/lib/components/radio/list/RadioList.mjs +62 -0
- package/lib/components/radio/list/RadioList.native.d.mts +9 -0
- package/lib/components/radio/list/RadioList.native.d.ts +2 -6
- package/lib/components/radio/list/RadioList.native.js +151 -23
- package/lib/components/radio/list/RadioList.native.mjs +40 -0
- package/lib/components/radio/list/RadioListProps.d.mts +25 -0
- package/lib/components/radio/list/RadioListProps.d.ts +5 -2
- package/lib/components/radio/list/RadioListProps.js +18 -2
- package/lib/components/radio/list/RadioListProps.mjs +0 -0
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +10 -1
- package/lib/components/radio/list/index.d.mts +2 -0
- package/lib/components/radio/list/index.js +275 -3
- package/lib/components/radio/list/index.mjs +63 -0
- package/lib/components/radio/test/radio.test.d.mts +1 -0
- package/lib/components/radio/test/radio.test.d.ts +1 -0
- package/lib/components/radio/tiles/RadioTiles.d.mts +14 -0
- package/lib/components/radio/tiles/RadioTiles.d.ts +10 -6
- package/lib/components/radio/tiles/RadioTiles.js +279 -32
- package/lib/components/radio/tiles/RadioTiles.mjs +62 -0
- package/lib/components/radio/tiles/RadioTiles.native.d.mts +12 -0
- package/lib/components/radio/tiles/RadioTiles.native.d.ts +12 -0
- package/lib/components/radio/tiles/RadioTiles.native.js +137 -0
- package/lib/components/radio/tiles/RadioTiles.native.mjs +34 -0
- package/lib/components/radio/tiles/RadioTilesProps.d.mts +12 -0
- package/lib/components/radio/tiles/RadioTilesProps.d.ts +4 -1
- package/lib/components/radio/tiles/RadioTilesProps.js +18 -2
- package/lib/components/radio/tiles/RadioTilesProps.mjs +0 -0
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +13 -2
- package/lib/components/radio/tiles/index.d.mts +2 -0
- package/lib/components/radio/tiles/index.js +286 -3
- package/lib/components/radio/tiles/index.mjs +65 -0
- package/lib/components/radio/tiles/tile/RadioTile.d.mts +23 -0
- package/lib/components/radio/tiles/tile/RadioTile.d.ts +19 -6
- package/lib/components/radio/tiles/tile/RadioTile.js +332 -35
- package/lib/components/radio/tiles/tile/RadioTile.mjs +62 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.d.mts +20 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +20 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.js +515 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +191 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.mts +16 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +6 -1
- package/lib/components/radio/tiles/tile/RadioTileProps.js +18 -2
- package/lib/components/radio/tiles/tile/RadioTileProps.mjs +0 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +27 -0
- package/lib/components/radio/tiles/tile/index.d.mts +2 -0
- package/lib/components/radio/tiles/tile/index.js +336 -3
- package/lib/components/radio/tiles/tile/index.mjs +65 -0
- package/lib/components/range/Range.d.mts +27 -0
- package/lib/components/range/Range.d.ts +13 -2
- package/lib/components/range/Range.js +342 -77
- package/lib/components/range/Range.mjs +60 -0
- package/lib/components/range/Range.native.d.mts +16 -0
- package/lib/components/range/Range.native.d.ts +7 -9
- package/lib/components/range/Range.native.js +394 -68
- package/lib/components/range/Range.native.mjs +136 -0
- package/lib/components/range/RangeNativePropsDefaults.js +9 -0
- package/lib/components/range/RangeProps.d.mts +34 -0
- package/lib/components/range/RangeProps.d.ts +10 -2
- package/lib/components/range/RangeProps.js +18 -2
- package/lib/components/range/RangeProps.mjs +0 -0
- package/lib/components/range/RangePropsDefaults.js +15 -0
- package/lib/components/range/index.d.mts +2 -0
- package/lib/components/range/index.js +349 -3
- package/lib/components/range/index.mjs +61 -0
- package/lib/components/range/test/Range.test.d.mts +1 -0
- package/lib/components/range/test/Range.test.d.ts +1 -0
- package/lib/components/rows/Rows.d.mts +10 -0
- package/lib/components/rows/Rows.d.ts +2 -2
- package/lib/components/rows/Rows.js +137 -18
- package/lib/components/rows/Rows.mjs +16 -0
- package/lib/components/rows/Rows.native.d.mts +10 -0
- package/lib/components/rows/Rows.native.d.ts +3 -6
- package/lib/components/rows/Rows.native.js +82 -25
- package/lib/components/rows/Rows.native.mjs +30 -0
- package/lib/components/rows/RowsProps.d.mts +12 -0
- package/lib/components/rows/RowsProps.d.ts +3 -1
- package/lib/components/rows/RowsProps.js +18 -2
- package/lib/components/rows/RowsProps.mjs +0 -0
- package/lib/components/rows/index.d.mts +3 -0
- package/lib/components/rows/index.js +159 -4
- package/lib/components/rows/index.mjs +22 -0
- package/lib/components/rows/row/Row.d.mts +11 -0
- package/lib/components/rows/row/Row.d.ts +2 -2
- package/lib/components/rows/row/Row.js +128 -20
- package/lib/components/rows/row/Row.mjs +15 -0
- package/lib/components/rows/row/Row.native.d.mts +10 -0
- package/lib/components/rows/row/Row.native.d.ts +3 -6
- package/lib/components/rows/row/Row.native.js +74 -21
- package/lib/components/rows/row/Row.native.mjs +24 -0
- package/lib/components/rows/row/RowProps.d.mts +11 -0
- package/lib/components/rows/row/RowProps.d.ts +3 -1
- package/lib/components/rows/row/RowProps.js +18 -2
- package/lib/components/rows/row/RowProps.mjs +0 -0
- package/lib/components/rows/row/index.d.mts +2 -0
- package/lib/components/rows/row/index.js +132 -3
- package/lib/components/rows/row/index.mjs +16 -0
- package/lib/components/rows/test/Row.native.test.d.mts +1 -0
- package/lib/components/rows/test/Row.native.test.d.ts +1 -0
- package/lib/components/rows/test/Row.test.d.mts +1 -0
- package/lib/components/rows/test/Row.test.d.ts +1 -0
- package/lib/components/scroll-view/ScrollView.d.mts +20 -0
- package/lib/components/scroll-view/ScrollView.d.ts +3 -3
- package/lib/components/scroll-view/ScrollView.js +250 -40
- package/lib/components/scroll-view/ScrollView.mjs +61 -0
- package/lib/components/scroll-view/ScrollView.native.d.mts +5 -0
- package/lib/components/scroll-view/ScrollView.native.d.ts +3 -3
- package/lib/components/scroll-view/ScrollView.native.js +369 -42
- package/lib/components/scroll-view/ScrollView.native.mjs +179 -0
- package/lib/components/scroll-view/ScrollViewProps.d.mts +19 -0
- package/lib/components/scroll-view/ScrollViewProps.d.ts +4 -2
- package/lib/components/scroll-view/ScrollViewProps.js +18 -2
- package/lib/components/scroll-view/ScrollViewProps.mjs +0 -0
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +5 -1
- package/lib/components/scroll-view/index.d.mts +2 -0
- package/lib/components/scroll-view/index.js +255 -3
- package/lib/components/scroll-view/index.mjs +62 -0
- package/lib/components/section/Section.d.mts +15 -0
- package/lib/components/section/Section.d.ts +2 -2
- package/lib/components/section/Section.js +254 -28
- package/lib/components/section/Section.mjs +61 -0
- package/lib/components/section/Section.native.d.mts +12 -0
- package/lib/components/section/Section.native.d.ts +3 -6
- package/lib/components/section/Section.native.js +264 -33
- package/lib/components/section/Section.native.mjs +92 -0
- package/lib/components/section/SectionProps.d.mts +16 -0
- package/lib/components/section/SectionProps.d.ts +8 -0
- package/lib/components/section/SectionProps.js +18 -2
- package/lib/components/section/SectionProps.mjs +0 -0
- package/lib/components/section/SectionPropsDefaults.js +12 -1
- package/lib/components/section/index.d.mts +2 -0
- package/lib/components/section/index.js +258 -3
- package/lib/components/section/index.mjs +62 -0
- package/lib/components/section/test/Section.native.test.d.mts +1 -0
- package/lib/components/section/test/Section.native.test.d.ts +1 -0
- package/lib/components/section/test/Section.test.d.mts +1 -0
- package/lib/components/section/test/Section.test.d.ts +1 -0
- package/lib/components/segment-control/SegmentControl.d.mts +14 -0
- package/lib/components/segment-control/SegmentControl.d.ts +3 -3
- package/lib/components/segment-control/SegmentControl.js +323 -56
- package/lib/components/segment-control/SegmentControl.mjs +62 -0
- package/lib/components/segment-control/SegmentControl.native.d.mts +11 -0
- package/lib/components/segment-control/SegmentControl.native.d.ts +2 -6
- package/lib/components/segment-control/SegmentControl.native.js +581 -69
- package/lib/components/segment-control/SegmentControl.native.mjs +146 -0
- package/lib/components/segment-control/SegmentControlProps.d.mts +14 -0
- package/lib/components/segment-control/SegmentControlProps.d.ts +4 -2
- package/lib/components/segment-control/SegmentControlProps.js +18 -2
- package/lib/components/segment-control/SegmentControlProps.mjs +0 -0
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +3 -1
- package/lib/components/segment-control/index.d.mts +3 -0
- package/lib/components/segment-control/index.js +333 -4
- package/lib/components/segment-control/index.mjs +66 -0
- package/lib/components/segment-control/item/SegmentControlItem.d.mts +14 -0
- package/lib/components/segment-control/item/SegmentControlItem.d.ts +3 -3
- package/lib/components/segment-control/item/SegmentControlItem.js +144 -32
- package/lib/components/segment-control/item/SegmentControlItem.mjs +14 -0
- package/lib/components/segment-control/item/SegmentControlItem.native.d.mts +13 -0
- package/lib/components/segment-control/item/SegmentControlItem.native.d.ts +3 -6
- package/lib/components/segment-control/item/SegmentControlItem.native.js +172 -54
- package/lib/components/segment-control/item/SegmentControlItem.native.mjs +71 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.d.mts +13 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.d.ts +3 -1
- package/lib/components/segment-control/item/SegmentControlItemProps.js +18 -2
- package/lib/components/segment-control/item/SegmentControlItemProps.mjs +0 -0
- package/lib/components/segment-control/item/index.d.mts +2 -0
- package/lib/components/segment-control/item/index.js +148 -3
- package/lib/components/segment-control/item/index.mjs +15 -0
- package/lib/components/segment-control/test/SegmentControl.native.test.d.mts +1 -0
- package/lib/components/segment-control/test/SegmentControl.native.test.d.ts +1 -0
- package/lib/components/segment-control/test/SegmentControl.test.d.mts +1 -0
- package/lib/components/segment-control/test/SegmentControl.test.d.ts +1 -0
- package/lib/components/select/PropsDefaults.js +169 -0
- package/lib/components/select/Select.d.mts +26 -0
- package/lib/components/select/Select.d.ts +20 -5
- package/lib/components/select/Select.js +1121 -18
- package/lib/components/select/Select.mjs +76 -0
- package/lib/components/select/Select.native.d.mts +17 -0
- package/lib/components/select/Select.native.d.ts +3 -7
- package/lib/components/select/Select.native.js +1643 -123
- package/lib/components/select/Select.native.mjs +239 -0
- package/lib/components/select/SelectChangeEventDefaults.js +4 -0
- package/lib/components/select/SelectChangeEventNativeDefaults.js +37 -0
- package/lib/components/select/SelectEnum.d.mts +5 -0
- package/lib/components/select/SelectEnum.d.ts +5 -0
- package/lib/components/select/SelectEnum.js +34 -0
- package/lib/components/select/SelectEnum.mjs +7 -0
- package/lib/components/select/SelectNativePropsDefaults.js +204 -0
- package/lib/components/select/SelectProps.d.mts +50 -0
- package/lib/components/select/SelectProps.d.ts +24 -7
- package/lib/components/select/SelectProps.js +18 -2
- package/lib/components/select/SelectProps.mjs +1 -0
- package/lib/components/select/SelectPropsDefaults.js +42 -9
- package/lib/components/select/context/index.d.mts +13 -0
- package/lib/components/select/context/index.d.ts +13 -0
- package/lib/components/select/context/index.js +48 -0
- package/lib/components/select/context/index.mjs +7 -0
- package/lib/components/select/index.d.mts +5 -0
- package/lib/components/select/index.d.ts +2 -0
- package/lib/components/select/index.js +1136 -4
- package/lib/components/select/index.mjs +82 -0
- package/lib/components/select/option/SelectOption.d.mts +18 -0
- package/lib/components/select/option/SelectOption.d.ts +3 -3
- package/lib/components/select/option/SelectOption.js +284 -27
- package/lib/components/select/option/SelectOption.mjs +24 -0
- package/lib/components/select/option/SelectOption.native.d.mts +11 -0
- package/lib/components/select/option/SelectOption.native.d.ts +3 -6
- package/lib/components/select/option/SelectOption.native.js +530 -56
- package/lib/components/select/option/SelectOption.native.mjs +124 -0
- package/lib/components/select/option/SelectOptionProps.d.mts +18 -0
- package/lib/components/select/option/SelectOptionProps.d.ts +3 -0
- package/lib/components/select/option/SelectOptionProps.js +18 -2
- package/lib/components/select/option/SelectOptionProps.mjs +0 -0
- package/lib/components/select/option/index.d.mts +2 -0
- package/lib/components/select/option/index.js +289 -3
- package/lib/components/select/option/index.mjs +25 -0
- package/lib/components/select/test/Select.test.d.mts +1 -0
- package/lib/components/select/test/Select.test.d.ts +1 -0
- package/lib/components/select/web/SelectDynamic.d.mts +6 -0
- package/lib/components/select/web/SelectDynamic.d.ts +5 -3
- package/lib/components/select/web/SelectDynamic.js +910 -189
- package/lib/components/select/web/SelectDynamic.mjs +71 -0
- package/lib/components/select/web/SelectNative.d.mts +4 -0
- package/lib/components/select/web/SelectNative.d.ts +3 -3
- package/lib/components/select/web/SelectNative.js +1117 -49
- package/lib/components/select/web/SelectNative.mjs +76 -0
- package/lib/components/select/web/index.d.mts +2 -0
- package/lib/components/select/web/index.js +1126 -3
- package/lib/components/select/web/index.mjs +79 -0
- package/lib/components/spacer/Spacer.d.mts +9 -0
- package/lib/components/spacer/Spacer.d.ts +2 -2
- package/lib/components/spacer/Spacer.js +75 -22
- package/lib/components/spacer/Spacer.mjs +10 -0
- package/lib/components/spacer/Spacer.native.d.mts +10 -0
- package/lib/components/spacer/Spacer.native.d.ts +3 -6
- package/lib/components/spacer/Spacer.native.js +47 -20
- package/lib/components/spacer/Spacer.native.mjs +20 -0
- package/lib/components/spacer/SpacerEnum.d.mts +17 -0
- package/lib/components/spacer/SpacerEnum.js +46 -19
- package/lib/components/spacer/SpacerEnum.mjs +9 -0
- package/lib/components/spacer/SpacerProps.d.mts +9 -0
- package/lib/components/spacer/SpacerProps.d.ts +3 -0
- package/lib/components/spacer/SpacerProps.js +18 -2
- package/lib/components/spacer/SpacerProps.mjs +1 -0
- package/lib/components/spacer/index.d.mts +4 -0
- package/lib/components/spacer/index.d.ts +1 -0
- package/lib/components/spacer/index.js +101 -4
- package/lib/components/spacer/index.mjs +18 -0
- package/lib/components/spacer/test/Spacer.test.d.mts +1 -0
- package/lib/components/spacer/test/Spacer.test.d.ts +1 -0
- package/lib/components/stepper/Stepper.d.mts +11 -0
- package/lib/components/stepper/Stepper.d.ts +2 -2
- package/lib/components/stepper/Stepper.js +238 -53
- package/lib/components/stepper/Stepper.mjs +18 -0
- package/lib/components/stepper/Stepper.native.d.mts +10 -0
- package/lib/components/stepper/Stepper.native.d.ts +3 -6
- package/lib/components/stepper/Stepper.native.js +390 -92
- package/lib/components/stepper/Stepper.native.mjs +150 -0
- package/lib/components/stepper/StepperProps.d.mts +10 -0
- package/lib/components/stepper/StepperProps.d.ts +3 -1
- package/lib/components/stepper/StepperProps.js +18 -2
- package/lib/components/stepper/StepperProps.mjs +0 -0
- package/lib/components/stepper/index.d.mts +4 -0
- package/lib/components/stepper/index.js +376 -5
- package/lib/components/stepper/index.mjs +36 -0
- package/lib/components/stepper/step/Step.d.mts +16 -0
- package/lib/components/stepper/step/Step.d.ts +2 -2
- package/lib/components/stepper/step/Step.js +234 -35
- package/lib/components/stepper/step/Step.mjs +23 -0
- package/lib/components/stepper/step/Step.native.d.mts +12 -0
- package/lib/components/stepper/step/Step.native.d.ts +3 -7
- package/lib/components/stepper/step/Step.native.js +278 -56
- package/lib/components/stepper/step/Step.native.mjs +108 -0
- package/lib/components/stepper/step/StepEnum.d.mts +13 -0
- package/lib/components/stepper/step/StepEnum.js +36 -11
- package/lib/components/stepper/step/StepEnum.mjs +7 -0
- package/lib/components/stepper/step/StepProps.d.mts +16 -0
- package/lib/components/stepper/step/StepProps.d.ts +3 -0
- package/lib/components/stepper/step/StepProps.js +18 -2
- package/lib/components/stepper/step/StepProps.mjs +0 -0
- package/lib/components/stepper/step/index.d.mts +2 -0
- package/lib/components/stepper/step/index.js +237 -3
- package/lib/components/stepper/step/index.mjs +24 -0
- package/lib/components/stepper/test/Stepper.native.test.d.mts +1 -0
- package/lib/components/stepper/test/Stepper.native.test.d.ts +1 -0
- package/lib/components/stepper/test/stepper.test.d.mts +1 -0
- package/lib/components/stepper/test/stepper.test.d.ts +1 -0
- package/lib/components/sticker/Sticker.d.mts +16 -0
- package/lib/components/sticker/Sticker.d.ts +4 -3
- package/lib/components/sticker/Sticker.js +266 -26
- package/lib/components/sticker/Sticker.mjs +60 -0
- package/lib/components/sticker/Sticker.native.d.mts +15 -0
- package/lib/components/sticker/Sticker.native.d.ts +4 -6
- package/lib/components/sticker/Sticker.native.js +415 -52
- package/lib/components/sticker/Sticker.native.mjs +121 -0
- package/lib/components/sticker/StickerProps.d.mts +12 -0
- package/lib/components/sticker/StickerProps.d.ts +5 -2
- package/lib/components/sticker/StickerProps.js +18 -2
- package/lib/components/sticker/StickerProps.mjs +0 -0
- package/lib/components/sticker/StickerPropsDefaults.js +9 -2
- package/lib/components/sticker/index.d.mts +2 -0
- package/lib/components/sticker/index.d.ts +0 -1
- package/lib/components/sticker/index.js +270 -4
- package/lib/components/sticker/index.mjs +61 -0
- package/lib/components/sticker/test/Sticker.native.test.d.mts +1 -0
- package/lib/components/sticker/test/Sticker.native.test.d.ts +1 -0
- package/lib/components/sticker/test/Sticker.test.d.mts +1 -0
- package/lib/components/sticker/test/Sticker.test.d.ts +1 -0
- package/lib/components/styleComponent/default/index.d.mts +1 -0
- package/lib/components/styleComponent/default/index.js +47 -2
- package/lib/components/styleComponent/default/index.mjs +8 -0
- package/lib/components/styleComponent/default/styleComponent.d.mts +6 -0
- package/lib/components/styleComponent/default/styleComponent.js +40 -7
- package/lib/components/styleComponent/default/styleComponent.mjs +7 -0
- package/lib/components/styleComponent/default/styleComponent.native.d.mts +5 -0
- package/lib/components/styleComponent/default/styleComponent.native.js +39 -6
- package/lib/components/styleComponent/default/styleComponent.native.mjs +11 -0
- package/lib/components/styleComponent/index.d.mts +2 -0
- package/lib/components/styleComponent/index.js +57 -3
- package/lib/components/styleComponent/index.mjs +13 -0
- package/lib/components/styleComponent/mangled/index.d.mts +1 -0
- package/lib/components/styleComponent/mangled/index.js +47 -2
- package/lib/components/styleComponent/mangled/index.mjs +8 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.d.mts +6 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.js +40 -7
- package/lib/components/styleComponent/mangled/styleComponentMangled.mjs +7 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.mts +5 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +39 -6
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.mjs +11 -0
- package/lib/components/switch/Switch.d.mts +20 -0
- package/lib/components/switch/Switch.d.ts +3 -3
- package/lib/components/switch/Switch.js +327 -62
- package/lib/components/switch/Switch.mjs +60 -0
- package/lib/components/switch/Switch.native.d.mts +15 -0
- package/lib/components/switch/Switch.native.d.ts +4 -7
- package/lib/components/switch/Switch.native.js +314 -45
- package/lib/components/switch/Switch.native.mjs +110 -0
- package/lib/components/switch/SwitchProps.d.mts +23 -0
- package/lib/components/switch/SwitchProps.d.ts +3 -0
- package/lib/components/switch/SwitchProps.js +18 -2
- package/lib/components/switch/SwitchProps.mjs +0 -0
- package/lib/components/switch/index.d.mts +2 -0
- package/lib/components/switch/index.js +333 -3
- package/lib/components/switch/index.mjs +61 -0
- package/lib/components/switch/test/Switch.native.test.d.mts +1 -0
- package/lib/components/switch/test/Switch.native.test.d.ts +1 -0
- package/lib/components/switch/test/Switch.test.d.mts +1 -0
- package/lib/components/switch/test/Switch.test.d.ts +1 -0
- package/lib/components/table/Table.d.mts +15 -0
- package/lib/components/table/Table.d.ts +3 -3
- package/lib/components/table/Table.js +127 -25
- package/lib/components/table/Table.mjs +12 -0
- package/lib/components/table/Table.native.d.mts +10 -0
- package/lib/components/table/Table.native.d.ts +3 -6
- package/lib/components/table/Table.native.js +267 -33
- package/lib/components/table/Table.native.mjs +95 -0
- package/lib/components/table/TableProps.d.mts +16 -0
- package/lib/components/table/TableProps.d.ts +3 -1
- package/lib/components/table/TableProps.js +35 -7
- package/lib/components/table/TableProps.mjs +7 -0
- package/lib/components/table/body/TableBody.d.mts +12 -0
- package/lib/components/table/body/TableBody.d.ts +3 -3
- package/lib/components/table/body/TableBody.js +157 -24
- package/lib/components/table/body/TableBody.mjs +14 -0
- package/lib/components/table/body/TableBody.native.d.mts +9 -0
- package/lib/components/table/body/TableBody.native.d.ts +3 -6
- package/lib/components/table/body/TableBody.native.js +75 -21
- package/lib/components/table/body/TableBody.native.mjs +25 -0
- package/lib/components/table/body/TableBodyProps.d.mts +10 -0
- package/lib/components/table/body/TableBodyProps.d.ts +3 -1
- package/lib/components/table/body/TableBodyProps.js +18 -2
- package/lib/components/table/body/TableBodyProps.mjs +0 -0
- package/lib/components/table/body/TableBodyPropsDefaults.js +10 -2
- package/lib/components/table/body/index.d.mts +2 -0
- package/lib/components/table/body/index.js +162 -3
- package/lib/components/table/body/index.mjs +15 -0
- package/lib/components/table/head/TableHead.d.mts +12 -0
- package/lib/components/table/head/TableHead.d.ts +3 -3
- package/lib/components/table/head/TableHead.js +157 -24
- package/lib/components/table/head/TableHead.mjs +14 -0
- package/lib/components/table/head/TableHead.native.d.mts +9 -0
- package/lib/components/table/head/TableHead.native.d.ts +3 -6
- package/lib/components/table/head/TableHead.native.js +74 -20
- package/lib/components/table/head/TableHead.native.mjs +24 -0
- package/lib/components/table/head/TableHeadProps.d.mts +10 -0
- package/lib/components/table/head/TableHeadProps.d.ts +3 -1
- package/lib/components/table/head/TableHeadProps.js +18 -2
- package/lib/components/table/head/TableHeadProps.mjs +0 -0
- package/lib/components/table/head/TableHeadPropsDefaults.js +10 -2
- package/lib/components/table/head/index.d.mts +2 -0
- package/lib/components/table/head/index.js +162 -3
- package/lib/components/table/head/index.mjs +15 -0
- package/lib/components/table/index.d.mts +8 -0
- package/lib/components/table/index.js +314 -9
- package/lib/components/table/index.mjs +44 -0
- package/lib/components/table/td/TableTd.d.mts +12 -0
- package/lib/components/table/td/TableTd.d.ts +3 -3
- package/lib/components/table/td/TableTd.js +96 -20
- package/lib/components/table/td/TableTd.mjs +10 -0
- package/lib/components/table/td/TableTd.native.d.mts +9 -0
- package/lib/components/table/td/TableTd.native.d.ts +4 -7
- package/lib/components/table/td/TableTd.native.js +259 -30
- package/lib/components/table/td/TableTd.native.mjs +86 -0
- package/lib/components/table/td/TableTdProps.d.mts +10 -0
- package/lib/components/table/td/TableTdProps.d.ts +3 -1
- package/lib/components/table/td/TableTdProps.js +18 -2
- package/lib/components/table/td/TableTdProps.mjs +0 -0
- package/lib/components/table/td/index.d.mts +2 -0
- package/lib/components/table/td/index.js +102 -3
- package/lib/components/table/td/index.mjs +11 -0
- package/lib/components/table/test/Table.test.d.mts +1 -0
- package/lib/components/table/test/Table.test.d.ts +1 -0
- package/lib/components/table/test/TableBody.test.d.mts +1 -0
- package/lib/components/table/test/TableBody.test.d.ts +1 -0
- package/lib/components/table/test/TableHead.test.d.mts +1 -0
- package/lib/components/table/test/TableHead.test.d.ts +1 -0
- package/lib/components/table/test/TableTr.test.d.mts +1 -0
- package/lib/components/table/test/TableTr.test.d.ts +1 -0
- package/lib/components/table/th/TableTh.d.mts +13 -0
- package/lib/components/table/th/TableTh.d.ts +3 -3
- package/lib/components/table/th/TableTh.js +96 -21
- package/lib/components/table/th/TableTh.mjs +10 -0
- package/lib/components/table/th/TableTh.native.d.mts +8 -0
- package/lib/components/table/th/TableTh.native.d.ts +3 -7
- package/lib/components/table/th/TableTh.native.js +502 -33
- package/lib/components/table/th/TableTh.native.mjs +98 -0
- package/lib/components/table/th/TableThProps.d.mts +10 -0
- package/lib/components/table/th/TableThProps.d.ts +3 -1
- package/lib/components/table/th/TableThProps.js +18 -2
- package/lib/components/table/th/TableThProps.mjs +0 -0
- package/lib/components/table/th/index.d.mts +2 -0
- package/lib/components/table/th/index.js +102 -3
- package/lib/components/table/th/index.mjs +11 -0
- package/lib/components/table/tr/TableTr.d.mts +16 -0
- package/lib/components/table/tr/TableTr.d.ts +3 -3
- package/lib/components/table/tr/TableTr.js +168 -27
- package/lib/components/table/tr/TableTr.mjs +13 -0
- package/lib/components/table/tr/TableTr.native.d.mts +10 -0
- package/lib/components/table/tr/TableTr.native.d.ts +2 -6
- package/lib/components/table/tr/TableTr.native.js +519 -40
- package/lib/components/table/tr/TableTr.native.mjs +117 -0
- package/lib/components/table/tr/TableTrProps.d.mts +16 -0
- package/lib/components/table/tr/TableTrProps.d.ts +3 -2
- package/lib/components/table/tr/TableTrProps.js +18 -2
- package/lib/components/table/tr/TableTrProps.mjs +0 -0
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +5 -1
- package/lib/components/table/tr/index.d.mts +2 -0
- package/lib/components/table/tr/index.js +173 -3
- package/lib/components/table/tr/index.mjs +14 -0
- package/lib/components/tabs/Tabs.d.mts +15 -0
- package/lib/components/tabs/Tabs.d.ts +6 -7
- package/lib/components/tabs/Tabs.js +108 -29
- package/lib/components/tabs/Tabs.mjs +12 -0
- package/lib/components/tabs/Tabs.native.d.mts +11 -0
- package/lib/components/tabs/Tabs.native.d.ts +11 -0
- package/lib/components/tabs/Tabs.native.js +73 -0
- package/lib/components/tabs/Tabs.native.mjs +36 -0
- package/lib/components/tabs/TabsProps.d.mts +15 -0
- package/lib/components/tabs/TabsProps.d.ts +5 -2
- package/lib/components/tabs/TabsProps.js +18 -2
- package/lib/components/tabs/TabsProps.mjs +0 -0
- package/lib/components/tabs/TabsPropsDefaults.js +14 -2
- package/lib/components/tabs/context/index.d.mts +10 -0
- package/lib/components/tabs/context/index.d.ts +10 -0
- package/lib/components/tabs/context/index.js +47 -0
- package/lib/components/tabs/context/index.mjs +7 -0
- package/lib/components/tabs/index.d.mts +6 -0
- package/lib/components/tabs/index.js +570 -7
- package/lib/components/tabs/index.mjs +47 -0
- package/lib/components/tabs/tab-list/TabList.d.mts +13 -0
- package/lib/components/tabs/tab-list/TabList.d.ts +2 -2
- package/lib/components/tabs/tab-list/TabList.js +491 -24
- package/lib/components/tabs/tab-list/TabList.mjs +30 -0
- package/lib/components/tabs/tab-list/TabList.native.d.mts +14 -0
- package/lib/components/tabs/tab-list/TabList.native.d.ts +14 -0
- package/lib/components/tabs/tab-list/TabList.native.js +487 -0
- package/lib/components/tabs/tab-list/TabList.native.mjs +184 -0
- package/lib/components/tabs/tab-list/TabListProps.d.mts +12 -0
- package/lib/components/tabs/tab-list/TabListProps.d.ts +4 -2
- package/lib/components/tabs/tab-list/TabListProps.js +18 -2
- package/lib/components/tabs/tab-list/TabListProps.mjs +0 -0
- package/lib/components/tabs/tab-list/TabListPropsDefaults.js +3 -1
- package/lib/components/tabs/tab-list/index.d.mts +2 -0
- package/lib/components/tabs/tab-list/index.js +494 -3
- package/lib/components/tabs/tab-list/index.mjs +33 -0
- package/lib/components/tabs/tab-list/tab/Tab.d.mts +19 -0
- package/lib/components/tabs/tab-list/tab/Tab.d.ts +6 -5
- package/lib/components/tabs/tab-list/tab/Tab.js +352 -57
- package/lib/components/tabs/tab-list/tab/Tab.mjs +27 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.d.mts +16 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.d.ts +16 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.js +370 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +84 -0
- package/lib/components/tabs/tab-list/tab/TabProps.d.mts +19 -0
- package/lib/components/tabs/tab-list/tab/TabProps.d.ts +4 -2
- package/lib/components/tabs/tab-list/tab/TabProps.js +18 -2
- package/lib/components/tabs/tab-list/tab/TabProps.mjs +0 -0
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +9 -9
- package/lib/components/tabs/tab-list/tab/index.d.mts +2 -0
- package/lib/components/tabs/tab-list/tab/index.js +356 -3
- package/lib/components/tabs/tab-list/tab/index.mjs +30 -0
- package/lib/components/tabs/tab-panels/TabPanels.d.mts +12 -0
- package/lib/components/tabs/tab-panels/TabPanels.d.ts +2 -2
- package/lib/components/tabs/tab-panels/TabPanels.js +138 -20
- package/lib/components/tabs/tab-panels/TabPanels.mjs +14 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.d.mts +13 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.d.ts +13 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.js +282 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +90 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.mts +11 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.ts +4 -2
- package/lib/components/tabs/tab-panels/TabPanelsProps.js +18 -2
- package/lib/components/tabs/tab-panels/TabPanelsProps.mjs +0 -0
- package/lib/components/tabs/tab-panels/index.d.mts +2 -0
- package/lib/components/tabs/tab-panels/index.js +142 -3
- package/lib/components/tabs/tab-panels/index.mjs +17 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.d.mts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.d.ts +2 -2
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +115 -19
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +12 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.mts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.ts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +108 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.mjs +46 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.mts +12 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.ts +4 -2
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.js +18 -2
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.mjs +0 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.d.mts +2 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.js +119 -3
- package/lib/components/tabs/tab-panels/tab-panel/index.mjs +13 -0
- package/lib/components/tag/Tag.d.mts +15 -0
- package/lib/components/tag/Tag.d.ts +3 -3
- package/lib/components/tag/Tag.js +238 -30
- package/lib/components/tag/Tag.mjs +23 -0
- package/lib/components/tag/Tag.native.d.mts +14 -0
- package/lib/components/tag/Tag.native.d.ts +3 -6
- package/lib/components/tag/Tag.native.js +285 -58
- package/lib/components/tag/Tag.native.mjs +75 -0
- package/lib/components/tag/TagEnum.d.mts +16 -0
- package/lib/components/tag/TagEnum.js +36 -14
- package/lib/components/tag/TagEnum.mjs +7 -0
- package/lib/components/tag/TagProps.d.mts +17 -0
- package/lib/components/tag/TagProps.d.ts +3 -6
- package/lib/components/tag/TagProps.js +18 -2
- package/lib/components/tag/TagProps.mjs +1 -0
- package/lib/components/tag/index.d.mts +5 -0
- package/lib/components/tag/index.d.ts +1 -0
- package/lib/components/tag/index.js +303 -5
- package/lib/components/tag/index.mjs +72 -0
- package/lib/components/tag/list/TagList.d.mts +11 -0
- package/lib/components/tag/list/TagList.d.ts +2 -2
- package/lib/components/tag/list/TagList.js +253 -21
- package/lib/components/tag/list/TagList.mjs +61 -0
- package/lib/components/tag/list/TagList.native.d.mts +10 -0
- package/lib/components/tag/list/TagList.native.d.ts +3 -6
- package/lib/components/tag/list/TagList.native.js +82 -29
- package/lib/components/tag/list/TagList.native.mjs +32 -0
- package/lib/components/tag/list/TagListProps.d.mts +12 -0
- package/lib/components/tag/list/TagListProps.d.ts +3 -1
- package/lib/components/tag/list/TagListProps.js +18 -2
- package/lib/components/tag/list/TagListProps.mjs +0 -0
- package/lib/components/tag/list/TagListPropsDefaults.js +3 -1
- package/lib/components/tag/list/index.d.mts +2 -0
- package/lib/components/tag/list/index.js +256 -3
- package/lib/components/tag/list/index.mjs +62 -0
- package/lib/components/tag/list/test/TagList.test.d.mts +1 -0
- package/lib/components/tag/list/test/TagList.test.d.ts +1 -0
- package/lib/components/tag/test/Tag.test.d.mts +1 -0
- package/lib/components/tag/test/Tag.test.d.ts +1 -0
- package/lib/components/text/Text.d.mts +19 -0
- package/lib/components/text/Text.d.ts +3 -4
- package/lib/components/text/Text.js +176 -54
- package/lib/components/text/Text.mjs +12 -0
- package/lib/components/text/Text.native.d.mts +17 -0
- package/lib/components/text/Text.native.d.ts +3 -7
- package/lib/components/text/Text.native.js +247 -76
- package/lib/components/text/Text.native.mjs +100 -0
- package/lib/components/text/TextEnum.d.mts +24 -0
- package/lib/components/text/TextEnum.js +43 -19
- package/lib/components/text/TextEnum.mjs +9 -0
- package/lib/components/text/TextProps.d.mts +28 -0
- package/lib/components/text/TextProps.d.ts +3 -1
- package/lib/components/text/TextProps.js +18 -2
- package/lib/components/text/TextProps.mjs +0 -0
- package/lib/components/text/index.d.mts +3 -0
- package/lib/components/text/index.js +194 -4
- package/lib/components/text/index.mjs +18 -0
- package/lib/components/text/test/Text.native.test.d.mts +1 -0
- package/lib/components/text/test/Text.native.test.d.ts +1 -0
- package/lib/components/text/test/Text.test.d.mts +1 -0
- package/lib/components/text/test/Text.test.d.ts +1 -0
- package/lib/components/textarea/Textarea.d.mts +28 -0
- package/lib/components/textarea/Textarea.d.ts +3 -3
- package/lib/components/textarea/Textarea.js +390 -67
- package/lib/components/textarea/Textarea.mjs +64 -0
- package/lib/components/textarea/Textarea.native.d.mts +33 -0
- package/lib/components/textarea/Textarea.native.d.ts +31 -2
- package/lib/components/textarea/Textarea.native.js +535 -148
- package/lib/components/textarea/Textarea.native.mjs +232 -0
- package/lib/components/textarea/TextareaProps.d.mts +47 -0
- package/lib/components/textarea/TextareaProps.d.ts +2 -0
- package/lib/components/textarea/TextareaProps.js +18 -2
- package/lib/components/textarea/TextareaProps.mjs +0 -0
- package/lib/components/textarea/index.d.mts +2 -0
- package/lib/components/textarea/index.js +395 -3
- package/lib/components/textarea/index.mjs +65 -0
- package/lib/components/textarea/test/textarea.native.test.d.mts +1 -0
- package/lib/components/textarea/test/textarea.native.test.d.ts +1 -0
- package/lib/components/textarea/test/textarea.test.d.mts +1 -0
- package/lib/components/textarea/test/textarea.test.d.ts +1 -0
- package/lib/components/timeline/Timeline.d.mts +11 -0
- package/lib/components/timeline/Timeline.d.ts +2 -2
- package/lib/components/timeline/Timeline.js +128 -20
- package/lib/components/timeline/Timeline.mjs +16 -0
- package/lib/components/timeline/Timeline.native.d.mts +15 -0
- package/lib/components/timeline/Timeline.native.d.ts +2 -5
- package/lib/components/timeline/Timeline.native.js +65 -29
- package/lib/components/timeline/Timeline.native.mjs +10 -0
- package/lib/components/timeline/TimelineProps.d.mts +11 -0
- package/lib/components/timeline/TimelineProps.d.ts +3 -1
- package/lib/components/timeline/TimelineProps.js +18 -2
- package/lib/components/timeline/TimelineProps.mjs +0 -0
- package/lib/components/timeline/content/TimelineContent.d.mts +15 -0
- package/lib/components/timeline/content/TimelineContent.d.ts +6 -4
- package/lib/components/timeline/content/TimelineContent.js +388 -28
- package/lib/components/timeline/content/TimelineContent.mjs +28 -0
- package/lib/components/timeline/content/TimelineContent.native.d.mts +13 -0
- package/lib/components/timeline/content/TimelineContent.native.d.ts +6 -10
- package/lib/components/timeline/content/TimelineContent.native.js +528 -48
- package/lib/components/timeline/content/TimelineContent.native.mjs +111 -0
- package/lib/components/timeline/content/TimelineContentProps.d.mts +19 -0
- package/lib/components/timeline/content/TimelineContentProps.d.ts +3 -1
- package/lib/components/timeline/content/TimelineContentProps.js +18 -2
- package/lib/components/timeline/content/TimelineContentProps.mjs +0 -0
- package/lib/components/timeline/content/index.d.mts +2 -0
- package/lib/components/timeline/content/index.js +393 -3
- package/lib/components/timeline/content/index.mjs +29 -0
- package/lib/components/timeline/content/test/TimelineContent.native.test.d.mts +1 -0
- package/lib/components/timeline/content/test/TimelineContent.native.test.d.ts +1 -0
- package/lib/components/timeline/content/test/TimelineContent.test.d.mts +1 -0
- package/lib/components/timeline/content/test/TimelineContent.test.d.ts +1 -0
- package/lib/components/timeline/index.d.mts +5 -0
- package/lib/components/timeline/index.js +453 -6
- package/lib/components/timeline/index.mjs +45 -0
- package/lib/components/timeline/item/TimelineItem.d.mts +13 -0
- package/lib/components/timeline/item/TimelineItem.d.ts +2 -2
- package/lib/components/timeline/item/TimelineItem.js +126 -21
- package/lib/components/timeline/item/TimelineItem.mjs +14 -0
- package/lib/components/timeline/item/TimelineItem.native.d.mts +18 -0
- package/lib/components/timeline/item/TimelineItem.native.d.ts +3 -6
- package/lib/components/timeline/item/TimelineItem.native.js +100 -37
- package/lib/components/timeline/item/TimelineItem.native.mjs +11 -0
- package/lib/components/timeline/item/TimelineItemProps.d.mts +21 -0
- package/lib/components/timeline/item/TimelineItemProps.d.ts +3 -1
- package/lib/components/timeline/item/TimelineItemProps.js +18 -2
- package/lib/components/timeline/item/TimelineItemProps.mjs +0 -0
- package/lib/components/timeline/item/index.d.mts +2 -0
- package/lib/components/timeline/item/index.js +130 -3
- package/lib/components/timeline/item/index.mjs +15 -0
- package/lib/components/timeline/item/test/TimelineItem.native.test.d.mts +1 -0
- package/lib/components/timeline/item/test/TimelineItem.native.test.d.ts +1 -0
- package/lib/components/timeline/item/test/TimelineItem.test.d.mts +1 -0
- package/lib/components/timeline/item/test/TimelineItem.test.d.ts +1 -0
- package/lib/components/timeline/marker/TimelineMarker.d.mts +13 -0
- package/lib/components/timeline/marker/TimelineMarker.d.ts +4 -4
- package/lib/components/timeline/marker/TimelineMarker.js +224 -27
- package/lib/components/timeline/marker/TimelineMarker.mjs +23 -0
- package/lib/components/timeline/marker/TimelineMarker.native.d.mts +11 -0
- package/lib/components/timeline/marker/TimelineMarker.native.d.ts +4 -7
- package/lib/components/timeline/marker/TimelineMarker.native.js +369 -51
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +112 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.d.mts +18 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.d.ts +3 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.js +18 -2
- package/lib/components/timeline/marker/TimelineMarkerProps.mjs +0 -0
- package/lib/components/timeline/marker/index.d.mts +2 -0
- package/lib/components/timeline/marker/index.js +227 -3
- package/lib/components/timeline/marker/index.mjs +24 -0
- package/lib/components/timeline/marker/test/TimelineMarker.test.d.mts +1 -0
- package/lib/components/timeline/marker/test/TimelineMarker.test.d.ts +1 -0
- package/lib/components/timeline/test/Timeline.native.test.d.mts +1 -0
- package/lib/components/timeline/test/Timeline.native.test.d.ts +1 -0
- package/lib/components/timeline/test/Timeline.test.d.mts +1 -0
- package/lib/components/timeline/test/Timeline.test.d.ts +1 -0
- package/lib/components/title/Title.d.mts +24 -0
- package/lib/components/title/Title.d.ts +4 -4
- package/lib/components/title/Title.js +188 -70
- package/lib/components/title/Title.mjs +13 -0
- package/lib/components/title/Title.native.d.mts +19 -0
- package/lib/components/title/Title.native.d.ts +4 -7
- package/lib/components/title/Title.native.js +373 -101
- package/lib/components/title/Title.native.mjs +157 -0
- package/lib/components/title/TitleEnum.d.mts +27 -0
- package/lib/components/title/TitleEnum.js +52 -25
- package/lib/components/title/TitleEnum.mjs +9 -0
- package/lib/components/title/TitleProps.d.mts +23 -0
- package/lib/components/title/TitleProps.d.ts +3 -1
- package/lib/components/title/TitleProps.js +18 -2
- package/lib/components/title/TitleProps.mjs +0 -0
- package/lib/components/title/TitlePropsDefaults.js +3 -3
- package/lib/components/title/index.d.mts +3 -0
- package/lib/components/title/index.js +209 -4
- package/lib/components/title/index.mjs +19 -0
- package/lib/components/title/test/Title.native.test.d.mts +1 -0
- package/lib/components/title/test/Title.native.test.d.ts +1 -0
- package/lib/components/title/test/Title.test.d.mts +1 -0
- package/lib/components/title/test/Title.test.d.ts +1 -0
- package/lib/components/view/View.d.mts +24 -0
- package/lib/components/view/View.d.ts +5 -5
- package/lib/components/view/View.js +374 -46
- package/lib/components/view/View.mjs +62 -0
- package/lib/components/view/View.native.d.mts +18 -0
- package/lib/components/view/View.native.d.ts +3 -7
- package/lib/components/view/View.native.js +343 -46
- package/lib/components/view/View.native.mjs +151 -0
- package/lib/components/view/ViewEnum.d.mts +22 -0
- package/lib/components/view/ViewEnum.js +48 -21
- package/lib/components/view/ViewEnum.mjs +9 -0
- package/lib/components/view/ViewProps.d.mts +39 -0
- package/lib/components/view/ViewProps.d.ts +11 -3
- package/lib/components/view/ViewProps.js +49 -14
- package/lib/components/view/ViewProps.mjs +7 -0
- package/lib/components/view/ViewPropsDefaults.js +32 -10
- package/lib/components/view/index.d.mts +4 -0
- package/lib/components/view/index.d.ts +1 -0
- package/lib/components/view/index.js +405 -4
- package/lib/components/view/index.mjs +72 -0
- package/lib/components/view/test/View.native.test.d.mts +1 -0
- package/lib/components/view/test/View.native.test.d.ts +1 -0
- package/lib/components/view/test/View.test.d.mts +1 -0
- package/lib/components/view/test/View.test.d.ts +1 -0
- package/lib/context/index.d.mts +10 -0
- package/lib/context/index.d.ts +1 -1
- package/lib/context/index.js +50 -11
- package/lib/context/index.mjs +9 -0
- package/lib/context/index.native.d.mts +1 -0
- package/lib/context/index.native.js +31 -3
- package/lib/context/index.native.mjs +9 -0
- package/lib/context/interfaces.d.mts +8 -0
- package/lib/context/interfaces.js +18 -2
- package/lib/context/interfaces.mjs +0 -0
- package/lib/context/provider/index.d.mts +20 -0
- package/lib/context/provider/index.d.ts +20 -0
- package/lib/context/provider/index.js +85 -0
- package/lib/context/provider/index.mjs +11 -0
- package/lib/context/provider/index.native.d.ts +4 -0
- package/lib/context/provider/index.native.js +32 -0
- package/lib/context/provider/index.native.mjs +9 -0
- package/lib/context/providerStates/index.d.mts +5 -0
- package/lib/context/providerStates/index.d.ts +5 -0
- package/lib/context/providerStates/index.js +35 -0
- package/lib/context/providerStates/index.mjs +7 -0
- package/lib/context/providerStyled/index.d.ts +14 -0
- package/lib/context/providerStyled/index.js +117 -0
- package/lib/context/providerStyled/index.mjs +37 -0
- package/lib/context/providerStyled/index.native.d.ts +4 -0
- package/lib/context/providerStyled/index.native.js +32 -0
- package/lib/context/providerStyled/index.native.mjs +9 -0
- package/lib/context/providerTheme/index.d.mts +13 -0
- package/lib/context/providerTheme/index.d.ts +13 -0
- package/lib/context/providerTheme/index.js +57 -0
- package/lib/context/providerTheme/index.mjs +11 -0
- package/lib/context/providerTheme/index.native.d.mts +18 -0
- package/lib/context/providerTheme/index.native.d.ts +18 -0
- package/lib/context/providerTheme/index.native.js +113 -0
- package/lib/context/providerTheme/index.native.mjs +41 -0
- package/lib/context/test/provider.test.d.mts +1 -0
- package/lib/context/test/provider.test.d.ts +1 -0
- package/lib/context/test/provider.test.js +16575 -0
- package/lib/context/test/provider.test.mjs +16470 -0
- package/lib/events/OnChangeEvent/index.d.mts +7 -0
- package/lib/events/OnChangeEvent/index.d.ts +7 -0
- package/lib/events/OnChangeEvent/index.js +18 -0
- package/lib/events/OnChangeEvent/index.mjs +0 -0
- package/lib/events/OnClickEvent/index.d.mts +7 -0
- package/lib/events/OnClickEvent/index.d.ts +7 -0
- package/lib/events/OnClickEvent/index.js +18 -0
- package/lib/events/OnClickEvent/index.mjs +0 -0
- package/lib/helpers/device/index.d.mts +19 -0
- package/lib/helpers/device/index.d.ts +19 -0
- package/lib/helpers/device/index.js +64 -0
- package/lib/helpers/device/index.mjs +15 -0
- package/lib/helpers/device.native/index.d.mts +19 -0
- package/lib/helpers/device.native/index.d.ts +19 -0
- package/lib/helpers/device.native/index.js +65 -0
- package/lib/helpers/device.native/index.mjs +15 -0
- package/lib/helpers/enumHelpers/index.d.ts +11 -0
- package/lib/helpers/enumHelpers/index.js +37 -0
- package/lib/helpers/enumHelpers/index.mjs +11 -0
- package/lib/helpers/hashClassesHelpers/index.d.mts +6 -0
- package/lib/helpers/hashClassesHelpers/index.d.ts +6 -0
- package/lib/helpers/hashClassesHelpers/index.js +63 -0
- package/lib/helpers/hashClassesHelpers/index.mjs +8 -0
- package/lib/helpers/index.d.mts +4 -0
- package/lib/helpers/index.js +129 -5
- package/lib/helpers/index.mjs +33 -0
- package/lib/helpers/require/index.d.mts +2 -0
- package/lib/helpers/require/index.d.ts +2 -0
- package/lib/helpers/require/index.js +43 -0
- package/lib/helpers/require/index.mjs +7 -0
- package/lib/helpers/testHelpers/index.d.ts +1 -0
- package/lib/helpers/testHelpers/index.js +40 -0
- package/lib/helpers/testHelpers/index.mjs +7 -0
- package/lib/index.d.mts +6 -0
- package/lib/index.js +6777 -7
- package/lib/index.mjs +857 -0
- package/lib/objects/Typography/TypographyAlign/index.d.ts +18 -0
- package/lib/objects/Typography/TypographyAlign/index.js +41 -0
- package/lib/objects/Typography/TypographyAlign/index.mjs +9 -0
- package/lib/objects/Typography/TypographyBold/index.d.mts +24 -0
- package/lib/objects/Typography/TypographyBold/index.d.ts +24 -0
- package/lib/objects/Typography/TypographyBold/index.js +93 -0
- package/lib/objects/Typography/TypographyBold/index.mjs +12 -0
- package/lib/objects/Typography/TypographyColor/index.d.mts +24 -0
- package/lib/objects/Typography/TypographyColor/index.d.ts +24 -0
- package/lib/objects/Typography/TypographyColor/index.js +110 -0
- package/lib/objects/Typography/TypographyColor/index.mjs +11 -0
- package/lib/objects/Typography/TypographyTransform/index.d.ts +13 -0
- package/lib/objects/Typography/TypographyTransform/index.js +36 -0
- package/lib/objects/Typography/TypographyTransform/index.mjs +7 -0
- package/lib/objects/Typography/index.d.mts +4 -0
- package/lib/objects/Typography/index.js +182 -5
- package/lib/objects/Typography/index.mjs +30 -0
- package/lib/objects/atoms/Background/index.d.mts +15 -0
- package/lib/objects/atoms/Background/index.d.ts +15 -0
- package/lib/objects/atoms/Background/index.js +85 -0
- package/lib/objects/atoms/Background/index.mjs +9 -0
- package/lib/objects/atoms/Text/index.d.ts +21 -0
- package/lib/objects/atoms/Text/index.js +51 -0
- package/lib/objects/atoms/Text/index.mjs +7 -0
- package/lib/objects/atoms/index.d.mts +2 -0
- package/lib/objects/atoms/index.js +111 -3
- package/lib/objects/atoms/index.mjs +14 -0
- package/lib/objects/facets/Accessibility/index.d.ts +3 -0
- package/lib/objects/facets/Accessibility/index.js +18 -0
- package/lib/objects/facets/Accessibility/index.mjs +1 -0
- package/lib/objects/facets/Alignable/index.d.mts +32 -0
- package/lib/objects/facets/Alignable/index.d.ts +32 -0
- package/lib/objects/facets/Alignable/index.js +81 -0
- package/lib/objects/facets/Alignable/index.mjs +13 -0
- package/lib/objects/facets/Alternate/index.d.ts +3 -0
- package/lib/objects/facets/Alternate/index.js +18 -0
- package/lib/objects/facets/Alternate/index.mjs +1 -0
- package/lib/objects/facets/Centerable/index.d.ts +3 -0
- package/lib/objects/facets/Centerable/index.js +18 -0
- package/lib/objects/facets/Centerable/index.mjs +1 -0
- package/lib/objects/facets/ChildrenWithNoText/index.d.mts +6 -0
- package/lib/objects/facets/ChildrenWithNoText/index.d.ts +6 -0
- package/lib/objects/facets/ChildrenWithNoText/index.js +18 -0
- package/lib/objects/facets/ChildrenWithNoText/index.mjs +1 -0
- package/lib/objects/facets/Clickable/index.d.mts +4 -0
- package/lib/objects/facets/Clickable/index.d.ts +4 -0
- package/lib/objects/facets/Clickable/index.js +18 -0
- package/lib/objects/facets/Clickable/index.mjs +1 -0
- package/lib/objects/facets/Clipped/index.d.ts +3 -0
- package/lib/objects/facets/Clipped/index.js +18 -0
- package/lib/objects/facets/Clipped/index.mjs +1 -0
- package/lib/objects/facets/Color/index.d.mts +50 -0
- package/lib/objects/facets/Color/index.d.ts +50 -0
- package/lib/objects/facets/Color/index.js +191 -0
- package/lib/objects/facets/Color/index.mjs +20 -0
- package/lib/objects/facets/CommonProps/index.d.ts +4 -0
- package/lib/objects/facets/CommonProps/index.js +18 -0
- package/lib/objects/facets/CommonProps/index.mjs +0 -0
- package/lib/objects/facets/Dev/index.d.ts +3 -0
- package/lib/objects/facets/Dev/index.js +18 -0
- package/lib/objects/facets/Dev/index.mjs +1 -0
- package/lib/objects/facets/Direction/index.d.mts +5 -0
- package/lib/objects/facets/Direction/index.d.ts +5 -0
- package/lib/objects/facets/Direction/index.js +34 -0
- package/lib/objects/facets/Direction/index.mjs +7 -0
- package/lib/objects/facets/Flexable/index.d.ts +3 -0
- package/lib/objects/facets/Flexable/index.js +18 -0
- package/lib/objects/facets/Flexable/index.mjs +0 -0
- package/lib/objects/facets/Fullheight/index.d.ts +3 -0
- package/lib/objects/facets/Fullheight/index.js +18 -0
- package/lib/objects/facets/Fullheight/index.mjs +1 -0
- package/lib/objects/facets/Fullwidth/index.d.ts +3 -0
- package/lib/objects/facets/Fullwidth/index.js +18 -0
- package/lib/objects/facets/Fullwidth/index.mjs +1 -0
- package/lib/objects/facets/Hat/index.d.ts +3 -0
- package/lib/objects/facets/Hat/index.js +18 -0
- package/lib/objects/facets/Hat/index.mjs +1 -0
- package/lib/objects/facets/Hidden/index.d.ts +12 -0
- package/lib/objects/facets/Hidden/index.js +18 -0
- package/lib/objects/facets/Hidden/index.mjs +1 -0
- package/lib/objects/facets/Invertable/index.d.ts +3 -0
- package/lib/objects/facets/Invertable/index.js +18 -0
- package/lib/objects/facets/Invertable/index.mjs +1 -0
- package/lib/objects/facets/Justifiable/index.d.mts +30 -0
- package/lib/objects/facets/Justifiable/index.d.ts +30 -0
- package/lib/objects/facets/Justifiable/index.js +117 -0
- package/lib/objects/facets/Justifiable/index.mjs +17 -0
- package/lib/objects/facets/Layout/index.d.mts +4 -0
- package/lib/objects/facets/Layout/index.d.ts +4 -0
- package/lib/objects/facets/Layout/index.js +18 -0
- package/lib/objects/facets/Layout/index.mjs +1 -0
- package/lib/objects/facets/Loadable/index.d.ts +20 -0
- package/lib/objects/facets/Loadable/index.js +46 -0
- package/lib/objects/facets/Loadable/index.mjs +9 -0
- package/lib/objects/facets/Marginless/index.d.ts +3 -0
- package/lib/objects/facets/Marginless/index.js +18 -0
- package/lib/objects/facets/Marginless/index.mjs +1 -0
- package/lib/objects/facets/Narrow/index.d.ts +3 -0
- package/lib/objects/facets/Narrow/index.js +18 -0
- package/lib/objects/facets/Narrow/index.mjs +1 -0
- package/lib/objects/facets/Paddingless/index.d.ts +3 -0
- package/lib/objects/facets/Paddingless/index.js +18 -0
- package/lib/objects/facets/Paddingless/index.mjs +1 -0
- package/lib/objects/facets/Position/index.d.ts +4 -0
- package/lib/objects/facets/Position/index.js +18 -0
- package/lib/objects/facets/Position/index.mjs +1 -0
- package/lib/objects/facets/Referenceable/index.d.ts +7 -0
- package/lib/objects/facets/Referenceable/index.js +18 -0
- package/lib/objects/facets/Referenceable/index.mjs +1 -0
- package/lib/objects/facets/ScrollDirection/index.d.ts +8 -0
- package/lib/objects/facets/ScrollDirection/index.js +34 -0
- package/lib/objects/facets/ScrollDirection/index.mjs +7 -0
- package/lib/objects/facets/Small/index.d.ts +3 -0
- package/lib/objects/facets/Small/index.js +18 -0
- package/lib/objects/facets/Small/index.mjs +1 -0
- package/lib/objects/facets/Stacked/index.d.ts +3 -0
- package/lib/objects/facets/Stacked/index.js +18 -0
- package/lib/objects/facets/Stacked/index.mjs +1 -0
- package/lib/objects/facets/Status/index.d.mts +63 -0
- package/lib/objects/facets/Status/index.d.ts +63 -0
- package/lib/objects/facets/Status/index.js +284 -0
- package/lib/objects/facets/Status/index.mjs +29 -0
- package/lib/objects/facets/Sticky/index.d.ts +9 -0
- package/lib/objects/facets/Sticky/index.js +34 -0
- package/lib/objects/facets/Sticky/index.mjs +7 -0
- package/lib/objects/facets/Variant/index.d.ts +27 -0
- package/lib/objects/facets/Variant/index.js +138 -0
- package/lib/objects/facets/Variant/index.mjs +13 -0
- package/lib/objects/facets/VerticalPaddingless/index.d.ts +3 -0
- package/lib/objects/facets/VerticalPaddingless/index.js +18 -0
- package/lib/objects/facets/VerticalPaddingless/index.mjs +1 -0
- package/lib/objects/facets/index.d.mts +30 -0
- package/lib/objects/facets/index.d.ts +1 -0
- package/lib/objects/facets/index.js +613 -30
- package/lib/objects/facets/index.mjs +115 -0
- package/lib/objects/index.d.mts +3 -0
- package/lib/objects/index.js +732 -4
- package/lib/objects/index.mjs +149 -0
- package/lib/services/classify/index.d.ts +4 -0
- package/lib/services/classify/index.js +49 -0
- package/lib/services/classify/index.mjs +13 -0
- package/lib/services/index.d.mts +1 -0
- package/lib/services/index.js +51 -2
- package/lib/services/index.mjs +14 -0
- package/lib/types/index.d.mts +3 -0
- package/lib/types/index.js +18 -2
- package/lib/types/index.mjs +0 -0
- package/lib/types/static.d.js +1 -0
- package/lib/types/static.d.mjs +0 -0
- package/lib/version.d.mts +1 -0
- package/lib/version.d.ts +1 -1
- package/lib/version.js +30 -2
- package/lib/version.json +3 -0
- package/lib/version.mjs +7 -0
- package/package.json +73 -10
- package/lib/components/button/spin-white.json +0 -1
- package/lib/components/button/spin.json +0 -1
- package/lib/components/checkbox/CheckboxPropsDefaults.js +0 -75
- package/lib/components/sticker/StickerEnum.d.ts +0 -24
- package/lib/components/sticker/StickerEnum.js +0 -19
- package/lib/components/tag/TagClickEventDefaults.js +0 -1
- package/lib/context/provider.d.ts +0 -19
- package/lib/context/provider.js +0 -38
- package/lib/context/provider.native.js +0 -5
- package/lib/context/providerStates.d.ts +0 -6
- package/lib/context/providerStates.js +0 -7
- package/lib/context/providerStyled.js +0 -34
- package/lib/context/providerStyled.native.js +0 -5
- package/lib/context/providerTheme.d.ts +0 -12
- package/lib/context/providerTheme.js +0 -16
- package/lib/context/providerTheme.native.d.ts +0 -18
- package/lib/context/providerTheme.native.js +0 -20
- package/lib/events/OnChangeEvent.d.ts +0 -8
- package/lib/events/OnChangeEvent.js +0 -2
- package/lib/events/OnClickEvent.d.ts +0 -8
- package/lib/events/OnClickEvent.js +0 -2
- package/lib/hash.json +0 -3
- package/lib/helpers/WrapperReactNativeTesting.d.ts +0 -4
- package/lib/helpers/WrapperReactNativeTesting.js +0 -9
- package/lib/helpers/device.d.ts +0 -16
- package/lib/helpers/device.js +0 -34
- package/lib/helpers/enumHelpers.js +0 -10
- package/lib/helpers/hashClassesHelpers.d.ts +0 -6
- package/lib/helpers/hashClassesHelpers.js +0 -20
- package/lib/helpers/testHelpers.js +0 -13
- package/lib/objects/Typography/TypographyAlign.js +0 -27
- package/lib/objects/Typography/TypographyBold.d.ts +0 -24
- package/lib/objects/Typography/TypographyBold.js +0 -49
- package/lib/objects/Typography/TypographyColor.d.ts +0 -24
- package/lib/objects/Typography/TypographyColor.js +0 -60
- package/lib/objects/Typography/TypographyTransform.js +0 -11
- package/lib/objects/atoms/Background.d.ts +0 -15
- package/lib/objects/atoms/Background.js +0 -10
- package/lib/objects/atoms/Text.js +0 -37
- package/lib/objects/facets/Accessibility.js +0 -2
- package/lib/objects/facets/Alignable.d.ts +0 -25
- package/lib/objects/facets/Alignable.js +0 -45
- package/lib/objects/facets/Alternate.js +0 -2
- package/lib/objects/facets/Centerable.js +0 -2
- package/lib/objects/facets/ChildrenWithNoText.d.ts +0 -7
- package/lib/objects/facets/ChildrenWithNoText.js +0 -2
- package/lib/objects/facets/Clickable.d.ts +0 -4
- package/lib/objects/facets/Clickable.js +0 -2
- package/lib/objects/facets/Clipped.js +0 -2
- package/lib/objects/facets/Color.d.ts +0 -48
- package/lib/objects/facets/Color.js +0 -148
- package/lib/objects/facets/CommonProps.js +0 -2
- package/lib/objects/facets/Dev.js +0 -2
- package/lib/objects/facets/Flexable.js +0 -2
- package/lib/objects/facets/Fullheight.js +0 -2
- package/lib/objects/facets/Fullwidth.js +0 -2
- package/lib/objects/facets/Hat.js +0 -2
- package/lib/objects/facets/Hidden.js +0 -2
- package/lib/objects/facets/Invertable.js +0 -2
- package/lib/objects/facets/Justifiable.d.ts +0 -21
- package/lib/objects/facets/Justifiable.js +0 -57
- package/lib/objects/facets/Layout.d.ts +0 -4
- package/lib/objects/facets/Layout.js +0 -2
- package/lib/objects/facets/Loadable.js +0 -24
- package/lib/objects/facets/Marginless.js +0 -2
- package/lib/objects/facets/Narrow.js +0 -2
- package/lib/objects/facets/Paddingless.js +0 -2
- package/lib/objects/facets/Position.js +0 -2
- package/lib/objects/facets/Referenceable.js +0 -2
- package/lib/objects/facets/ScrollDirection.js +0 -6
- package/lib/objects/facets/Small.js +0 -2
- package/lib/objects/facets/Stacked.js +0 -2
- package/lib/objects/facets/Status.d.ts +0 -63
- package/lib/objects/facets/Status.js +0 -70
- package/lib/objects/facets/Sticky.js +0 -6
- package/lib/objects/facets/Variant.js +0 -57
- package/lib/objects/facets/VerticalPaddingless.js +0 -2
- package/lib/services/classify.js +0 -15
- package/lib/tsconfig.build.json +0 -13
- package/lib/tsconfig.json +0 -52
- /package/lib/context/{provider.native.d.ts → provider/index.native.d.mts} +0 -0
- /package/lib/context/{providerStyled.d.ts → providerStyled/index.d.mts} +0 -0
- /package/lib/context/{providerStyled.native.d.ts → providerStyled/index.native.d.mts} +0 -0
- /package/lib/helpers/{enumHelpers.d.ts → enumHelpers/index.d.mts} +0 -0
- /package/lib/helpers/{testHelpers.d.ts → testHelpers/index.d.mts} +0 -0
- /package/lib/objects/Typography/{TypographyAlign.d.ts → TypographyAlign/index.d.mts} +0 -0
- /package/lib/objects/Typography/{TypographyTransform.d.ts → TypographyTransform/index.d.mts} +0 -0
- /package/lib/objects/atoms/{Text.d.ts → Text/index.d.mts} +0 -0
- /package/lib/objects/facets/{Accessibility.d.ts → Accessibility/index.d.mts} +0 -0
- /package/lib/objects/facets/{Alternate.d.ts → Alternate/index.d.mts} +0 -0
- /package/lib/objects/facets/{Centerable.d.ts → Centerable/index.d.mts} +0 -0
- /package/lib/objects/facets/{Clipped.d.ts → Clipped/index.d.mts} +0 -0
- /package/lib/objects/facets/{CommonProps.d.ts → CommonProps/index.d.mts} +0 -0
- /package/lib/objects/facets/{Dev.d.ts → Dev/index.d.mts} +0 -0
- /package/lib/objects/facets/{Flexable.d.ts → Flexable/index.d.mts} +0 -0
- /package/lib/objects/facets/{Fullheight.d.ts → Fullheight/index.d.mts} +0 -0
- /package/lib/objects/facets/{Fullwidth.d.ts → Fullwidth/index.d.mts} +0 -0
- /package/lib/objects/facets/{Hat.d.ts → Hat/index.d.mts} +0 -0
- /package/lib/objects/facets/{Hidden.d.ts → Hidden/index.d.mts} +0 -0
- /package/lib/objects/facets/{Invertable.d.ts → Invertable/index.d.mts} +0 -0
- /package/lib/objects/facets/{Loadable.d.ts → Loadable/index.d.mts} +0 -0
- /package/lib/objects/facets/{Marginless.d.ts → Marginless/index.d.mts} +0 -0
- /package/lib/objects/facets/{Narrow.d.ts → Narrow/index.d.mts} +0 -0
- /package/lib/objects/facets/{Paddingless.d.ts → Paddingless/index.d.mts} +0 -0
- /package/lib/objects/facets/{Position.d.ts → Position/index.d.mts} +0 -0
- /package/lib/objects/facets/{Referenceable.d.ts → Referenceable/index.d.mts} +0 -0
- /package/lib/objects/facets/{ScrollDirection.d.ts → ScrollDirection/index.d.mts} +0 -0
- /package/lib/objects/facets/{Small.d.ts → Small/index.d.mts} +0 -0
- /package/lib/objects/facets/{Stacked.d.ts → Stacked/index.d.mts} +0 -0
- /package/lib/objects/facets/{Sticky.d.ts → Sticky/index.d.mts} +0 -0
- /package/lib/objects/facets/{Variant.d.ts → Variant/index.d.mts} +0 -0
- /package/lib/objects/facets/{VerticalPaddingless.d.ts → VerticalPaddingless/index.d.mts} +0 -0
- /package/lib/services/{classify.d.ts → classify/index.d.mts} +0 -0
|
@@ -1,132 +1,1652 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
1
|
+
"use strict";
|
|
2
|
+
var __create = Object.create;
|
|
3
|
+
var __defProp = Object.defineProperty;
|
|
4
|
+
var __defProps = Object.defineProperties;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
|
|
7
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
8
|
+
var __getOwnPropSymbols = Object.getOwnPropertySymbols;
|
|
9
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
10
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
11
|
+
var __propIsEnum = Object.prototype.propertyIsEnumerable;
|
|
12
|
+
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
|
|
13
|
+
var __spreadValues = (a, b) => {
|
|
14
|
+
for (var prop in b || (b = {}))
|
|
15
|
+
if (__hasOwnProp.call(b, prop))
|
|
16
|
+
__defNormalProp(a, prop, b[prop]);
|
|
17
|
+
if (__getOwnPropSymbols)
|
|
18
|
+
for (var prop of __getOwnPropSymbols(b)) {
|
|
19
|
+
if (__propIsEnum.call(b, prop))
|
|
20
|
+
__defNormalProp(a, prop, b[prop]);
|
|
21
|
+
}
|
|
22
|
+
return a;
|
|
23
|
+
};
|
|
24
|
+
var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
|
|
25
|
+
var __objRest = (source, exclude) => {
|
|
26
|
+
var target = {};
|
|
27
|
+
for (var prop in source)
|
|
28
|
+
if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
|
|
29
|
+
target[prop] = source[prop];
|
|
30
|
+
if (source != null && __getOwnPropSymbols)
|
|
31
|
+
for (var prop of __getOwnPropSymbols(source)) {
|
|
32
|
+
if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
|
|
33
|
+
target[prop] = source[prop];
|
|
34
|
+
}
|
|
35
|
+
return target;
|
|
36
|
+
};
|
|
37
|
+
var __export = (target, all) => {
|
|
38
|
+
for (var name in all)
|
|
39
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
40
|
+
};
|
|
41
|
+
var __copyProps = (to, from, except, desc) => {
|
|
42
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
43
|
+
for (let key of __getOwnPropNames(from))
|
|
44
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
45
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
46
|
+
}
|
|
47
|
+
return to;
|
|
48
|
+
};
|
|
49
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
50
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
51
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
52
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
53
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
54
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
55
|
+
mod
|
|
56
|
+
));
|
|
57
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
58
|
+
|
|
59
|
+
// components/select/Select.native.tsx
|
|
60
|
+
var Select_native_exports = {};
|
|
61
|
+
__export(Select_native_exports, {
|
|
62
|
+
default: () => Select_native_default
|
|
63
|
+
});
|
|
64
|
+
module.exports = __toCommonJS(Select_native_exports);
|
|
65
|
+
|
|
66
|
+
// context/index.tsx
|
|
67
|
+
var React = __toESM(require("react"));
|
|
68
|
+
var TrilogyContext = React.createContext({
|
|
69
|
+
styled: false,
|
|
70
|
+
setStyled: () => void 0
|
|
71
|
+
});
|
|
72
|
+
var useTrilogyContext = () => {
|
|
73
|
+
const context = React.useContext(TrilogyContext);
|
|
74
|
+
if (context === void 0) {
|
|
75
|
+
throw new Error("useTrilogyContext must be used within a TrilogyProvider");
|
|
76
|
+
}
|
|
77
|
+
return context;
|
|
78
|
+
};
|
|
79
|
+
|
|
80
|
+
// helpers/hashClassesHelpers/index.tsx
|
|
81
|
+
var hashClass = (addHash = false, classes) => {
|
|
82
|
+
const { hash, styled } = useTrilogyContext();
|
|
83
|
+
if (classes.trim().length < 1) return "";
|
|
84
|
+
if (styled) {
|
|
85
|
+
return classes.split(" ").map((classe) => classe = `${classe}_${hash}`).join(" ");
|
|
86
|
+
}
|
|
87
|
+
return classes;
|
|
88
|
+
};
|
|
89
|
+
|
|
90
|
+
// helpers/device/index.ts
|
|
91
|
+
var Device = /* @__PURE__ */ ((Device3) => {
|
|
92
|
+
Device3["Browser"] = "browser";
|
|
93
|
+
Device3["Server"] = "server";
|
|
94
|
+
Device3["Native"] = "native";
|
|
95
|
+
return Device3;
|
|
96
|
+
})(Device || {});
|
|
97
|
+
var { Browser, Server, Native } = Device;
|
|
98
|
+
var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
99
|
+
var canUseNative = typeof navigator != "undefined" && navigator.product == "ReactNative";
|
|
100
|
+
var device = canUseNative ? Native : canUseDOM ? Browser : Server;
|
|
101
|
+
var SSRObjectDefined = {
|
|
102
|
+
isBrowser: device === Browser,
|
|
103
|
+
isServer: device === Server,
|
|
104
|
+
isNative: device === Native,
|
|
105
|
+
device,
|
|
106
|
+
canUseWorkers: typeof Worker !== "undefined",
|
|
107
|
+
canUseEventListeners: device === Browser && !!window.addEventListener,
|
|
108
|
+
canUseViewport: device === Browser && !!window.screen
|
|
109
|
+
};
|
|
110
|
+
var assign = (...args) => Object.assign({}, ...args);
|
|
111
|
+
var values = (obj) => Object.values(obj);
|
|
112
|
+
var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
113
|
+
var SSRObject = toArrayObject();
|
|
114
|
+
|
|
115
|
+
// context/providerTheme/index.tsx
|
|
116
|
+
var import_react = __toESM(require("react"));
|
|
117
|
+
var defaultTheme = {
|
|
118
|
+
icons: {},
|
|
119
|
+
colors: {},
|
|
120
|
+
fontFamily: {}
|
|
121
|
+
};
|
|
122
|
+
var defaultContextValue = {
|
|
123
|
+
theme: defaultTheme,
|
|
124
|
+
setTheme: () => void 0
|
|
125
|
+
};
|
|
126
|
+
var TrilogyThemeContext = import_react.default.createContext(defaultContextValue);
|
|
127
|
+
|
|
128
|
+
// objects/facets/Color/index.tsx
|
|
129
|
+
var import_react2 = require("react");
|
|
130
|
+
var colors = {
|
|
131
|
+
["WHITE" /* BACKGROUND */]: ["#fff", "white", "main"],
|
|
132
|
+
["MAIN" /* MAIN */]: ["#3d5d7e", "main", "white"],
|
|
133
|
+
["MAIN_FADE" /* MAIN_FADE */]: ["#BBC6CD", "main-fade", "white"],
|
|
134
|
+
["ACCENT" /* ACCENT */]: ["#da641b", "accent", "white"],
|
|
135
|
+
["FONT" /* FONT */]: ["#3d5d7e", "main", "white"],
|
|
136
|
+
["FONT_PLACEHOLDER" /* FONT_PLACEHOLDER */]: ["#687a87", "font-placeholder", "white"],
|
|
137
|
+
["SUCCESS" /* SUCCESS */]: ["#007B52", "success", "white"],
|
|
138
|
+
["SUCCESS_FADE" /* SUCCESS_FADE */]: ["#cae8ca", "success-fade", "white"],
|
|
139
|
+
["INFO" /* INFO */]: ["#1A688A", "info", "white"],
|
|
140
|
+
["INFO_FADE" /* INFO_FADE */]: ["#c8dbec", "info-fade", "white"],
|
|
141
|
+
["WARNING" /* WARNING */]: ["#FFBB33", "warning", "white"],
|
|
142
|
+
["WARNING_FADE" /* WARNING_FADE */]: ["#ecdbc6", "warning-fade", "white"],
|
|
143
|
+
["ERROR" /* ERROR */]: ["#D42D02", "error", "white"],
|
|
144
|
+
["ERROR_FADE" /* ERROR_FADE */]: ["#eecccc", "error-fade", "white"],
|
|
145
|
+
["DISABLED" /* DISABLED */]: ["#646464", "disabled", "white"],
|
|
146
|
+
["DISABLED_FADE" /* DISABLED_FADE */]: ["#D1D1D1", "disabled-fade", "white"],
|
|
147
|
+
["NEUTRAL" /* NEUTRAL */]: ["#707070", "grey", "white"],
|
|
148
|
+
["NEUTRAL_FADE" /* NEUTRAL_FADE */]: ["#F4F4F4", "grey-fade", "white"],
|
|
149
|
+
["STROKE" /* STROKE */]: ["#BBC1CE", "stroke", "white"]
|
|
150
|
+
};
|
|
151
|
+
var getColorClassName = (trilogyColor) => {
|
|
152
|
+
const color = colors[trilogyColor];
|
|
153
|
+
return color[1];
|
|
154
|
+
};
|
|
155
|
+
var getButtonVariantClassName = (trilogyColor) => {
|
|
156
|
+
switch (trilogyColor) {
|
|
157
|
+
case "CONVERSION":
|
|
158
|
+
return "conversion";
|
|
159
|
+
case "PRIMARY":
|
|
160
|
+
return "primary";
|
|
161
|
+
case "SECONDARY":
|
|
162
|
+
return "secondary";
|
|
163
|
+
case "GHOST":
|
|
164
|
+
return "ghost";
|
|
165
|
+
case "SUCCESS":
|
|
166
|
+
return "success";
|
|
167
|
+
case "INFO":
|
|
168
|
+
return "info";
|
|
169
|
+
case "WARNING":
|
|
170
|
+
return "warning";
|
|
171
|
+
case "ERROR":
|
|
172
|
+
return "error";
|
|
173
|
+
case "DISABLED":
|
|
174
|
+
return "disabled";
|
|
175
|
+
default:
|
|
176
|
+
return "primary";
|
|
177
|
+
}
|
|
178
|
+
};
|
|
179
|
+
var getColorStyle = (trilogyColor) => {
|
|
180
|
+
if (typeof navigator !== "undefined" && navigator.userAgent === void 0) {
|
|
181
|
+
const { theme } = (0, import_react2.useContext)(TrilogyThemeContext);
|
|
182
|
+
const colorsStyle = (theme == null ? void 0 : theme.colors) || colors;
|
|
183
|
+
const colorArray = colorsStyle[trilogyColor] || colorsStyle.default;
|
|
184
|
+
if (trilogyColor === "transparent") return "transparent";
|
|
185
|
+
if (!trilogyColor || !colors[trilogyColor]) {
|
|
186
|
+
return colorsStyle.default;
|
|
187
|
+
}
|
|
188
|
+
return colorArray[0];
|
|
189
|
+
} else {
|
|
190
|
+
if (trilogyColor === "transparent") return "transparent";
|
|
191
|
+
return colors[trilogyColor][0] || colors["MAIN" /* MAIN */][0];
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
function hexToRgb(hex) {
|
|
195
|
+
if (hex.charAt(0) === "#") {
|
|
196
|
+
hex = hex.slice(1);
|
|
197
|
+
}
|
|
198
|
+
if (hex.length !== 6) {
|
|
199
|
+
throw new Error("Wrong format (hexadecimal)");
|
|
200
|
+
}
|
|
201
|
+
const r = parseInt(hex.substring(0, 2), 16);
|
|
202
|
+
const g = parseInt(hex.substring(2, 4), 16);
|
|
203
|
+
const b = parseInt(hex.substring(4, 6), 16);
|
|
204
|
+
return { r, g, b };
|
|
205
|
+
}
|
|
206
|
+
function rgbToHex(r, g, b) {
|
|
207
|
+
const toHex = (n) => {
|
|
208
|
+
const hex = n.toString(16);
|
|
209
|
+
return hex.length === 1 ? `0${hex}` : hex;
|
|
210
|
+
};
|
|
211
|
+
return `#${toHex(r)}${toHex(g)}${toHex(b)}`;
|
|
212
|
+
}
|
|
213
|
+
function grayscale(hex) {
|
|
214
|
+
const { r, g, b } = hexToRgb(hex);
|
|
215
|
+
const gray = Math.round(0.299 * r + 0.587 * g + 0.114 * b);
|
|
216
|
+
return rgbToHex(gray, gray, gray);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
// objects/atoms/Background/index.ts
|
|
220
|
+
var getBackgroundClassName = (backgroundType) => {
|
|
221
|
+
return `background-${getColorClassName(backgroundType)}`;
|
|
222
|
+
};
|
|
223
|
+
|
|
224
|
+
// objects/facets/Justifiable/index.ts
|
|
225
|
+
var getJustifiedClassName = (justifyContent) => {
|
|
226
|
+
switch (justifyContent) {
|
|
227
|
+
case "ALIGNED_CENTER":
|
|
228
|
+
return "justified-center";
|
|
229
|
+
case "ALIGNED_START":
|
|
230
|
+
return "justified-start";
|
|
231
|
+
case "ALIGNED_END":
|
|
232
|
+
return "justified-end";
|
|
233
|
+
default:
|
|
234
|
+
return "justified-start";
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
var getJustifySelfClassName = (justifyContent) => {
|
|
238
|
+
switch (justifyContent) {
|
|
239
|
+
case "ALIGNED_CENTER":
|
|
240
|
+
return "justified-self-center";
|
|
241
|
+
case "ALIGNED_START":
|
|
242
|
+
return "justified-self-start";
|
|
243
|
+
case "ALIGNED_END":
|
|
244
|
+
return "justified-selfend";
|
|
245
|
+
default:
|
|
246
|
+
return "justified-selfstart";
|
|
247
|
+
}
|
|
248
|
+
};
|
|
249
|
+
|
|
250
|
+
// services/classify/index.ts
|
|
251
|
+
function classify(prefix) {
|
|
252
|
+
return (classname) => classname !== "" ? `${prefix}-${classname.toLowerCase()}` : "";
|
|
253
|
+
}
|
|
254
|
+
var is = classify("is");
|
|
255
|
+
var has = classify("has");
|
|
256
|
+
|
|
257
|
+
// components/icon/Icon.tsx
|
|
258
|
+
var import_clsx = __toESM(require("clsx"));
|
|
259
|
+
var React3 = __toESM(require("react"));
|
|
260
|
+
var Icon = React3.forwardRef(
|
|
261
|
+
(_a, ref) => {
|
|
262
|
+
var _b = _a, { className, id, size, name, circled, stretched, color, backgroundColor, onClick, skeleton, align } = _b, others = __objRest(_b, ["className", "id", "size", "name", "circled", "stretched", "color", "backgroundColor", "onClick", "skeleton", "align"]);
|
|
263
|
+
const { styled } = useTrilogyContext();
|
|
264
|
+
const background = backgroundColor && has(getBackgroundClassName(backgroundColor)) || circled && has(getBackgroundClassName("MAIN" /* MAIN */)) || "";
|
|
265
|
+
const classes = hashClass(
|
|
266
|
+
styled,
|
|
267
|
+
(0, import_clsx.default)(
|
|
268
|
+
"icon",
|
|
269
|
+
stretched && is("stretched"),
|
|
270
|
+
size && is(size),
|
|
271
|
+
circled && is("circled"),
|
|
272
|
+
circled && !color && has("text-white"),
|
|
273
|
+
color && is(`${getColorClassName(color)}`),
|
|
274
|
+
skeleton && is("loading"),
|
|
275
|
+
align && (0, import_clsx.default)(is("flex"), is(getJustifySelfClassName(align))),
|
|
276
|
+
background,
|
|
277
|
+
className
|
|
278
|
+
)
|
|
279
|
+
);
|
|
280
|
+
return /* @__PURE__ */ React3.createElement("span", __spreadProps(__spreadValues({ id, onClick: onClick && onClick, className: classes }, others), { ref }), /* @__PURE__ */ React3.createElement("i", { className: hashClass(styled, (0, import_clsx.default)(name)), "aria-hidden": "true" }));
|
|
281
|
+
}
|
|
282
|
+
);
|
|
283
|
+
Icon.displayName = "Icon" /* Icon */;
|
|
284
|
+
var Icon_default = Icon;
|
|
285
|
+
|
|
286
|
+
// components/text/Text.tsx
|
|
287
|
+
var React4 = __toESM(require("react"));
|
|
288
|
+
var import_clsx2 = __toESM(require("clsx"));
|
|
289
|
+
|
|
290
|
+
// components/text/TextEnum.ts
|
|
291
|
+
var TextMarkup = /* @__PURE__ */ ((TextMarkup2) => {
|
|
292
|
+
TextMarkup2["P"] = "p";
|
|
293
|
+
TextMarkup2["SPAN"] = "span";
|
|
294
|
+
return TextMarkup2;
|
|
295
|
+
})(TextMarkup || {});
|
|
296
|
+
|
|
297
|
+
// components/text/Text.tsx
|
|
298
|
+
var Text = React4.forwardRef((_a, ref) => {
|
|
299
|
+
var _b = _a, {
|
|
300
|
+
level,
|
|
301
|
+
markup,
|
|
302
|
+
children,
|
|
303
|
+
className,
|
|
304
|
+
id,
|
|
305
|
+
typo,
|
|
306
|
+
inverted,
|
|
307
|
+
skeleton,
|
|
308
|
+
accessibilityLabel,
|
|
309
|
+
marginless,
|
|
310
|
+
numberOfLines
|
|
311
|
+
} = _b, others = __objRest(_b, [
|
|
312
|
+
"level",
|
|
313
|
+
"markup",
|
|
314
|
+
"children",
|
|
315
|
+
"className",
|
|
316
|
+
"id",
|
|
317
|
+
"typo",
|
|
318
|
+
"inverted",
|
|
319
|
+
"skeleton",
|
|
320
|
+
"accessibilityLabel",
|
|
321
|
+
"marginless",
|
|
322
|
+
"numberOfLines"
|
|
323
|
+
]);
|
|
324
|
+
const { styled } = useTrilogyContext();
|
|
325
|
+
const levelText = () => {
|
|
326
|
+
if (level) {
|
|
327
|
+
switch (level) {
|
|
328
|
+
case 1 /* ONE */:
|
|
329
|
+
return is("level-1");
|
|
330
|
+
case 2 /* TWO */:
|
|
331
|
+
return is("level-2");
|
|
332
|
+
case 3 /* THREE */:
|
|
333
|
+
return is("level-3");
|
|
334
|
+
case 4 /* FOUR */:
|
|
335
|
+
return is("level-4");
|
|
336
|
+
default:
|
|
337
|
+
return is(`level-${level}`);
|
|
338
|
+
}
|
|
339
|
+
}
|
|
340
|
+
};
|
|
341
|
+
const classes = hashClass(
|
|
342
|
+
styled,
|
|
343
|
+
(0, import_clsx2.default)(
|
|
344
|
+
"text",
|
|
345
|
+
level && levelText(),
|
|
346
|
+
inverted && is("inverted"),
|
|
347
|
+
typo,
|
|
348
|
+
skeleton && is("loading"),
|
|
349
|
+
marginless && is("marginless"),
|
|
350
|
+
numberOfLines && is("text-ellipsis"),
|
|
351
|
+
className
|
|
352
|
+
)
|
|
353
|
+
);
|
|
354
|
+
const isCorrectMarkup2 = (stringMarkup) => {
|
|
355
|
+
if (stringMarkup in TextMarkup || Object.values(TextMarkup).includes(stringMarkup)) return true;
|
|
356
|
+
};
|
|
357
|
+
const Tag = markup && isCorrectMarkup2(markup) ? markup : "p";
|
|
358
|
+
return /* @__PURE__ */ React4.createElement(
|
|
359
|
+
Tag,
|
|
360
|
+
__spreadValues({
|
|
361
|
+
ref,
|
|
362
|
+
id,
|
|
363
|
+
style: numberOfLines ? { WebkitLineClamp: numberOfLines } : {},
|
|
364
|
+
"aria-label": accessibilityLabel,
|
|
365
|
+
className: classes
|
|
366
|
+
}, others),
|
|
367
|
+
children
|
|
368
|
+
);
|
|
369
|
+
});
|
|
370
|
+
Text.displayName = "Text" /* Text */;
|
|
371
|
+
var Text_default = Text;
|
|
372
|
+
|
|
373
|
+
// helpers/device.native/index.ts
|
|
374
|
+
var import_react_native = require("react-native");
|
|
375
|
+
var Device2 = /* @__PURE__ */ ((Device3) => {
|
|
376
|
+
Device3["Browser"] = "browser";
|
|
377
|
+
Device3["Server"] = "server";
|
|
378
|
+
Device3["Native"] = "native";
|
|
379
|
+
return Device3;
|
|
380
|
+
})(Device2 || {});
|
|
381
|
+
var { Browser: Browser2, Server: Server2, Native: Native2 } = Device2;
|
|
382
|
+
var canUseDOM2 = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
383
|
+
var canUseNative2 = typeof navigator != "undefined" && navigator.product == "ReactNative";
|
|
384
|
+
var device2 = canUseNative2 ? Native2 : canUseDOM2 ? Browser2 : Server2;
|
|
385
|
+
var SSRObjectDefined2 = {
|
|
386
|
+
isBrowser: device2 === Browser2,
|
|
387
|
+
isServer: device2 === Server2,
|
|
388
|
+
isNative: device2 === Native2,
|
|
389
|
+
device: device2,
|
|
390
|
+
canUseWorkers: typeof Worker !== "undefined",
|
|
391
|
+
canUseEventListeners: device2 === Browser2 && !!window.addEventListener,
|
|
392
|
+
canUseViewport: device2 === Browser2 && !!window.screen
|
|
393
|
+
};
|
|
394
|
+
var assign2 = (...args) => Object.assign({}, ...args);
|
|
395
|
+
var values2 = (obj) => Object.values(obj);
|
|
396
|
+
var toArrayObject2 = () => assign2((values2(SSRObjectDefined2), SSRObjectDefined2));
|
|
397
|
+
var SSRObject2 = toArrayObject2();
|
|
398
|
+
var isAndroid = import_react_native.Platform.OS === "android";
|
|
399
|
+
var isIOS = import_react_native.Platform.OS === "ios";
|
|
400
|
+
|
|
401
|
+
// objects/facets/Status/index.ts
|
|
402
|
+
var STATUS_COLORS = {
|
|
403
|
+
SUCCESS: { color: "SUCCESS" /* SUCCESS */, backgroundColor: "SUCCESS_FADE" /* SUCCESS_FADE */ },
|
|
404
|
+
INFO: { color: "INFO" /* INFO */, backgroundColor: "INFO_FADE" /* INFO_FADE */ },
|
|
405
|
+
WARNING: { color: "WARNING" /* WARNING */, backgroundColor: "WARNING_FADE" /* WARNING_FADE */ },
|
|
406
|
+
ERROR: { color: "ERROR" /* ERROR */, backgroundColor: "ERROR_FADE" /* ERROR_FADE */ },
|
|
407
|
+
DEFAULT: { color: "MAIN" /* MAIN */, backgroundColor: "MAIN_FADE" /* MAIN_FADE */ }
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
// objects/Typography/TypographyBold/index.tsx
|
|
411
|
+
var import_react3 = require("react");
|
|
412
|
+
|
|
413
|
+
// components/input/Input.native.tsx
|
|
414
|
+
var import_react6 = __toESM(require("react"));
|
|
415
|
+
var import_react_native3 = require("react-native");
|
|
416
|
+
|
|
417
|
+
// components/spacer/Spacer.tsx
|
|
418
|
+
var import_clsx3 = __toESM(require("clsx"));
|
|
419
|
+
var React5 = __toESM(require("react"));
|
|
420
|
+
var Spacer = React5.forwardRef(({ size, horizontal, className, id }, ref) => {
|
|
421
|
+
const { styled } = useTrilogyContext();
|
|
422
|
+
const styles2 = {
|
|
423
|
+
spacer: {
|
|
424
|
+
marginLeft: horizontal ? `${size}px` : "0px",
|
|
425
|
+
marginTop: !horizontal ? `${size}px` : "0px"
|
|
426
|
+
}
|
|
427
|
+
};
|
|
428
|
+
const classes = hashClass(styled, (0, import_clsx3.default)(className));
|
|
429
|
+
return /* @__PURE__ */ React5.createElement("div", { ref, id, style: styles2.spacer, className: classes });
|
|
430
|
+
});
|
|
431
|
+
Spacer.displayName = "Spacer" /* Spacer */;
|
|
432
|
+
var Spacer_default = Spacer;
|
|
433
|
+
|
|
434
|
+
// components/spacer/SpacerEnum.ts
|
|
435
|
+
var SpacerSize = /* @__PURE__ */ ((SpacerSize2) => {
|
|
436
|
+
SpacerSize2[SpacerSize2["ZERO"] = 0] = "ZERO";
|
|
437
|
+
SpacerSize2[SpacerSize2["ONE"] = 4] = "ONE";
|
|
438
|
+
SpacerSize2[SpacerSize2["TWO"] = 8] = "TWO";
|
|
439
|
+
SpacerSize2[SpacerSize2["THREE"] = 12] = "THREE";
|
|
440
|
+
SpacerSize2[SpacerSize2["FOUR"] = 16] = "FOUR";
|
|
441
|
+
SpacerSize2[SpacerSize2["FIVE"] = 24] = "FIVE";
|
|
442
|
+
SpacerSize2[SpacerSize2["SIX"] = 32] = "SIX";
|
|
443
|
+
SpacerSize2[SpacerSize2["SEVEN"] = 40] = "SEVEN";
|
|
444
|
+
SpacerSize2[SpacerSize2["EIGHT"] = 48] = "EIGHT";
|
|
445
|
+
SpacerSize2[SpacerSize2["NINE"] = 56] = "NINE";
|
|
446
|
+
SpacerSize2[SpacerSize2["TEN"] = 64] = "TEN";
|
|
447
|
+
return SpacerSize2;
|
|
448
|
+
})(SpacerSize || {});
|
|
449
|
+
var SpacerSizeValues = `${SpacerSize}`;
|
|
450
|
+
|
|
451
|
+
// components/input/gauge/InputGauge.native.tsx
|
|
452
|
+
var import_react5 = __toESM(require("react"));
|
|
453
|
+
var import_react_native2 = require("react-native");
|
|
454
|
+
|
|
455
|
+
// components/input/gauge/hook/useGauge.tsx
|
|
456
|
+
var import_react4 = __toESM(require("react"));
|
|
457
|
+
var useGauge = ({ validationRules, inputValue }) => {
|
|
458
|
+
var _a, _b;
|
|
459
|
+
const [points, setPoints] = import_react4.default.useState(0);
|
|
460
|
+
const initStateVerifies = { isVerify: false, color: "NEUTRAL" /* NEUTRAL */ };
|
|
461
|
+
const [isLengthVerify, setIsLengthVerify] = import_react4.default.useState(initStateVerifies);
|
|
462
|
+
const [isSpecialCharsVerify, setIsSpecialCharsVerify] = import_react4.default.useState(initStateVerifies);
|
|
463
|
+
const [isNumberVerify, setIsNumberVerify] = import_react4.default.useState(initStateVerifies);
|
|
464
|
+
const [isUppercaseVerify, setIsUppercaseVerify] = import_react4.default.useState(initStateVerifies);
|
|
465
|
+
const [isLowerercaseVerify, setisLowerercaseVerify] = import_react4.default.useState(initStateVerifies);
|
|
466
|
+
const nbAllVerifies = import_react4.default.useMemo(
|
|
467
|
+
() => validationRules && Object.values(validationRules).filter((rule) => rule).length || 0,
|
|
468
|
+
[validationRules]
|
|
469
|
+
);
|
|
470
|
+
const widthGauge = import_react4.default.useMemo(() => {
|
|
471
|
+
const calc = Number((points / nbAllVerifies * 100).toFixed(0));
|
|
472
|
+
if (calc <= 50 && calc > 0) return "50%";
|
|
473
|
+
if (calc <= 99 && calc > 50) return "75%";
|
|
474
|
+
if (calc === 100) return "100%";
|
|
475
|
+
return "0%";
|
|
476
|
+
}, [points, nbAllVerifies]);
|
|
477
|
+
const colorGauge = () => {
|
|
478
|
+
const calc = Number((points / nbAllVerifies * 100).toFixed(0));
|
|
479
|
+
if (calc <= 50 && calc > 0) return getColorStyle("ERROR" /* ERROR */);
|
|
480
|
+
if (calc <= 99 && calc > 50) return getColorStyle("WARNING" /* WARNING */);
|
|
481
|
+
if (calc === 100) return getColorStyle("SUCCESS" /* SUCCESS */);
|
|
482
|
+
return getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */);
|
|
483
|
+
};
|
|
484
|
+
const LengthvalidationRulesText = (0, import_react4.useMemo)(() => {
|
|
485
|
+
var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
486
|
+
switch (true) {
|
|
487
|
+
case (((_a2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a2.min) !== void 0 && ((_b2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b2.max) !== void 0):
|
|
488
|
+
return `Entre ${(_g = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _g.min} et ${(_h = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _h.max} caract\xE8res`;
|
|
489
|
+
case (((_c = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _c.min) && !((_d = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _d.max)):
|
|
490
|
+
return `Minimum ${(_i = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _i.min} caract\xE8res`;
|
|
491
|
+
case (((_e = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _e.max) && !((_f = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _f.min)):
|
|
492
|
+
return `Maximum ${(_j = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _j.max} caract\xE8res`;
|
|
493
|
+
default:
|
|
494
|
+
return "";
|
|
495
|
+
}
|
|
496
|
+
}, [(_a = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a.min, (_b = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b.max]);
|
|
497
|
+
(0, import_react4.useEffect)(() => {
|
|
498
|
+
var _a2, _b2;
|
|
499
|
+
const min = ((_a2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a2.min) || 0;
|
|
500
|
+
const max = ((_b2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b2.max) || "";
|
|
501
|
+
const regex = new RegExp(`^.{${min},${max}}$`);
|
|
502
|
+
const validations = [];
|
|
503
|
+
(validationRules == null ? void 0 : validationRules.specialChars) && validations.push({ test: /[^\w]/.test(inputValue), setState: setIsSpecialCharsVerify });
|
|
504
|
+
(validationRules == null ? void 0 : validationRules.number) && validations.push({ test: /[0-9]/.test(inputValue), setState: setIsNumberVerify });
|
|
505
|
+
(validationRules == null ? void 0 : validationRules.uppercase) && validations.push({ test: /[A-Z]/.test(inputValue), setState: setIsUppercaseVerify });
|
|
506
|
+
(validationRules == null ? void 0 : validationRules.lowercase) && validations.push({ test: /[a-z]/.test(inputValue), setState: setisLowerercaseVerify });
|
|
507
|
+
(validationRules == null ? void 0 : validationRules.length) && validations.push({ test: regex.test(inputValue), setState: setIsLengthVerify });
|
|
508
|
+
validations.forEach(({ test, setState }) => {
|
|
509
|
+
if (test) return setState({ isVerify: true, color: "SUCCESS" /* SUCCESS */ });
|
|
510
|
+
return setState(initStateVerifies);
|
|
511
|
+
});
|
|
512
|
+
setPoints(validations.filter((item) => item.test).length);
|
|
513
|
+
}, [inputValue, validationRules]);
|
|
514
|
+
return {
|
|
515
|
+
LengthvalidationRulesText,
|
|
516
|
+
colorGauge,
|
|
517
|
+
widthGauge,
|
|
518
|
+
isLengthVerify,
|
|
519
|
+
isLowerercaseVerify,
|
|
520
|
+
isNumberVerify,
|
|
521
|
+
isSpecialCharsVerify,
|
|
522
|
+
isUppercaseVerify
|
|
523
|
+
};
|
|
524
|
+
};
|
|
525
|
+
|
|
526
|
+
// components/input/gauge/InputGauge.native.tsx
|
|
527
|
+
var InputGauge = ({ validationRules, inputValue }) => {
|
|
528
|
+
const {
|
|
529
|
+
widthGauge,
|
|
530
|
+
colorGauge,
|
|
531
|
+
LengthvalidationRulesText,
|
|
532
|
+
isLengthVerify,
|
|
533
|
+
isLowerercaseVerify,
|
|
534
|
+
isNumberVerify,
|
|
535
|
+
isSpecialCharsVerify,
|
|
536
|
+
isUppercaseVerify
|
|
537
|
+
} = useGauge({ validationRules, inputValue });
|
|
538
|
+
return /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null, /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: [styles.containerGauge, { backgroundColor: getColorStyle("MAIN_FADE" /* MAIN_FADE */) }] }, /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: [styles.gauge, { width: widthGauge, backgroundColor: colorGauge() }] })), /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.verifies }, /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null, /* @__PURE__ */ import_react5.default.createElement(
|
|
539
|
+
DataVerify,
|
|
540
|
+
{
|
|
541
|
+
display: !!(validationRules == null ? void 0 : validationRules.length),
|
|
542
|
+
color: isLengthVerify.color,
|
|
543
|
+
iconName: isLengthVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
544
|
+
type: LengthvalidationRulesText
|
|
545
|
+
}
|
|
546
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
|
547
|
+
DataVerify,
|
|
548
|
+
{
|
|
549
|
+
display: !!(validationRules == null ? void 0 : validationRules.specialChars),
|
|
550
|
+
color: isSpecialCharsVerify.color,
|
|
551
|
+
iconName: isSpecialCharsVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
552
|
+
type: "Caract\xE8res sp\xE9ciaux"
|
|
553
|
+
}
|
|
554
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
|
555
|
+
DataVerify,
|
|
556
|
+
{
|
|
557
|
+
display: !!(validationRules == null ? void 0 : validationRules.number),
|
|
558
|
+
color: isNumberVerify.color,
|
|
559
|
+
iconName: isNumberVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
560
|
+
type: "Chiffre"
|
|
561
|
+
}
|
|
562
|
+
)), /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null, /* @__PURE__ */ import_react5.default.createElement(
|
|
563
|
+
DataVerify,
|
|
564
|
+
{
|
|
565
|
+
display: !!(validationRules == null ? void 0 : validationRules.uppercase),
|
|
566
|
+
color: isUppercaseVerify.color,
|
|
567
|
+
iconName: isUppercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
568
|
+
type: "Majuscule"
|
|
569
|
+
}
|
|
570
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
|
571
|
+
DataVerify,
|
|
572
|
+
{
|
|
573
|
+
display: !!(validationRules == null ? void 0 : validationRules.lowercase),
|
|
574
|
+
color: isLowerercaseVerify.color,
|
|
575
|
+
iconName: isLowerercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
576
|
+
type: "Minuscule"
|
|
577
|
+
}
|
|
578
|
+
))));
|
|
579
|
+
};
|
|
580
|
+
var DataVerify = ({ color, iconName, display, type }) => {
|
|
581
|
+
if (!display) return null;
|
|
582
|
+
return /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.verify }, /* @__PURE__ */ import_react5.default.createElement(Icon_default, { color, name: iconName, size: "smaller" /* SMALLER */ }), /* @__PURE__ */ import_react5.default.createElement(Text_default, { style: styles.textVerify }, type));
|
|
583
|
+
};
|
|
584
|
+
var InputGauge_native_default = InputGauge;
|
|
585
|
+
var styles = import_react_native2.StyleSheet.create({
|
|
586
|
+
verify: {
|
|
587
|
+
flexDirection: "row",
|
|
588
|
+
alignItems: "center",
|
|
589
|
+
marginBottom: 4
|
|
590
|
+
},
|
|
591
|
+
textVerify: {
|
|
592
|
+
marginLeft: 8
|
|
593
|
+
},
|
|
594
|
+
verifies: {
|
|
595
|
+
flexDirection: "row",
|
|
596
|
+
justifyContent: "space-between"
|
|
597
|
+
},
|
|
598
|
+
containerGauge: {
|
|
599
|
+
height: 4,
|
|
600
|
+
width: "100%",
|
|
601
|
+
borderRadius: 4,
|
|
602
|
+
marginVertical: 8
|
|
603
|
+
},
|
|
604
|
+
gauge: {
|
|
605
|
+
height: 4,
|
|
606
|
+
borderRadius: 4
|
|
607
|
+
}
|
|
608
|
+
});
|
|
609
|
+
|
|
610
|
+
// components/input/Input.native.tsx
|
|
611
|
+
var Input = import_react6.default.forwardRef(
|
|
612
|
+
(_a, ref) => {
|
|
613
|
+
var _b = _a, {
|
|
614
|
+
defaultValue,
|
|
615
|
+
name,
|
|
616
|
+
label,
|
|
617
|
+
sample,
|
|
618
|
+
onChange,
|
|
619
|
+
onFocus,
|
|
620
|
+
onBlur,
|
|
621
|
+
disabled,
|
|
622
|
+
status,
|
|
623
|
+
help,
|
|
624
|
+
placeholder,
|
|
625
|
+
type,
|
|
626
|
+
keyboardStyle,
|
|
627
|
+
autoCapitalize,
|
|
628
|
+
autoCorrect,
|
|
629
|
+
autoCompleteType,
|
|
630
|
+
textContentType,
|
|
631
|
+
keyboardType,
|
|
632
|
+
keyType,
|
|
633
|
+
onSubmit,
|
|
634
|
+
maxLength,
|
|
635
|
+
testId,
|
|
636
|
+
accessibilityLabel,
|
|
637
|
+
iconNameLeft,
|
|
638
|
+
iconNameRight,
|
|
639
|
+
securityGauge,
|
|
640
|
+
validationRules,
|
|
641
|
+
onIconClick,
|
|
642
|
+
required,
|
|
643
|
+
readOnly
|
|
644
|
+
} = _b, others = __objRest(_b, [
|
|
645
|
+
"defaultValue",
|
|
646
|
+
"name",
|
|
647
|
+
"label",
|
|
648
|
+
"sample",
|
|
649
|
+
"onChange",
|
|
650
|
+
"onFocus",
|
|
651
|
+
"onBlur",
|
|
652
|
+
"disabled",
|
|
653
|
+
"status",
|
|
654
|
+
"help",
|
|
655
|
+
"placeholder",
|
|
656
|
+
"type",
|
|
657
|
+
"keyboardStyle",
|
|
658
|
+
"autoCapitalize",
|
|
659
|
+
"autoCorrect",
|
|
660
|
+
"autoCompleteType",
|
|
661
|
+
"textContentType",
|
|
662
|
+
"keyboardType",
|
|
663
|
+
"keyType",
|
|
664
|
+
"onSubmit",
|
|
665
|
+
"maxLength",
|
|
666
|
+
"testId",
|
|
667
|
+
"accessibilityLabel",
|
|
668
|
+
"iconNameLeft",
|
|
669
|
+
"iconNameRight",
|
|
670
|
+
"securityGauge",
|
|
671
|
+
"validationRules",
|
|
672
|
+
"onIconClick",
|
|
673
|
+
"required",
|
|
674
|
+
"readOnly"
|
|
675
|
+
]);
|
|
676
|
+
const inputTestId = testId ? testId : placeholder ? placeholder : "NotSpecified";
|
|
677
|
+
const inputAccessibilityLabel = accessibilityLabel ? accessibilityLabel : placeholder ? placeholder : "NotSpecified";
|
|
678
|
+
const animationDuration = 200;
|
|
679
|
+
const placeholderDefaultSize = 20;
|
|
680
|
+
const inputIcon = /* @__PURE__ */ new Map();
|
|
681
|
+
const inputColor = getColorStyle("MAIN" /* MAIN */);
|
|
682
|
+
inputIcon.set("success" /* SUCCESS */, "tri-check-circle" /* CHECK_CIRCLE */);
|
|
683
|
+
inputIcon.set("warning" /* WARNING */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
|
|
684
|
+
inputIcon.set("error" /* ERROR */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
|
|
685
|
+
const [value, setValue] = (0, import_react6.useState)(defaultValue || "");
|
|
686
|
+
const [email, setEmail] = (0, import_react6.useState)("");
|
|
687
|
+
const [isFocused, setIsFocused] = (0, import_react6.useState)(false);
|
|
688
|
+
const [iconPassword, setIconPassword] = (0, import_react6.useState)("tri-eye" /* EYE */);
|
|
689
|
+
const [dynamicPlaceholder, setDynamicPlaceholder] = (0, import_react6.useState)(false);
|
|
690
|
+
const [isKeyboardVisible, setKeyboardVisible] = (0, import_react6.useState)(null);
|
|
691
|
+
const animation = (0, import_react6.useRef)(new import_react_native3.Animated.Value(25)).current;
|
|
692
|
+
const sizeAnimation = (0, import_react6.useRef)(new import_react_native3.Animated.Value(placeholderDefaultSize)).current;
|
|
693
|
+
const paddingTopByPlatform = (os, dynamicPlaceholder2) => {
|
|
694
|
+
if (dynamicPlaceholder2 && type !== "search" /* SEARCH */ && os === "ios") {
|
|
695
|
+
return 10;
|
|
696
|
+
}
|
|
697
|
+
if (dynamicPlaceholder2 && type !== "search" /* SEARCH */ && os === "android") {
|
|
698
|
+
return isFocused ? 14 : 15;
|
|
699
|
+
}
|
|
700
|
+
return 0;
|
|
701
|
+
};
|
|
702
|
+
const handleChange = (0, import_react6.useCallback)((text) => {
|
|
703
|
+
var _a2;
|
|
704
|
+
setValue(text);
|
|
705
|
+
setEmail("");
|
|
706
|
+
const domain = (_a2 = text.split("@")) == null ? void 0 : _a2[1];
|
|
707
|
+
if (domain) {
|
|
708
|
+
const domains = ["gmail.com", "bbox.fr"];
|
|
709
|
+
domains.forEach((item) => {
|
|
710
|
+
const domainSplit = domain.split("");
|
|
711
|
+
const itemSplit = item.split("").slice(0, domainSplit.length);
|
|
712
|
+
if (JSON.stringify(domainSplit) == JSON.stringify(itemSplit)) setEmail(item.slice(domain.length));
|
|
713
|
+
});
|
|
714
|
+
}
|
|
715
|
+
}, []);
|
|
716
|
+
const handleClick = () => {
|
|
717
|
+
setValue(value + email);
|
|
718
|
+
setEmail("");
|
|
719
|
+
};
|
|
720
|
+
const handleSubmit = (e) => {
|
|
721
|
+
onSubmit == null ? void 0 : onSubmit(e);
|
|
722
|
+
type === "email" /* EMAIL */ && handleClick();
|
|
723
|
+
};
|
|
724
|
+
(0, import_react6.useEffect)(() => {
|
|
725
|
+
setValue(defaultValue || "");
|
|
726
|
+
}, [defaultValue, placeholder]);
|
|
727
|
+
(0, import_react6.useEffect)(() => {
|
|
728
|
+
if (value && value.length > 0 && placeholder && placeholder.length > 0) {
|
|
729
|
+
setDynamicPlaceholder(true);
|
|
730
|
+
} else {
|
|
731
|
+
setDynamicPlaceholder(false);
|
|
732
|
+
}
|
|
733
|
+
}, [placeholder, value]);
|
|
734
|
+
(0, import_react6.useEffect)(() => {
|
|
735
|
+
if (dynamicPlaceholder && type !== "search" /* SEARCH */) {
|
|
736
|
+
import_react_native3.Animated.timing(animation, {
|
|
737
|
+
toValue: 3,
|
|
738
|
+
duration: animationDuration,
|
|
739
|
+
useNativeDriver: false
|
|
740
|
+
}).start();
|
|
741
|
+
import_react_native3.Animated.timing(sizeAnimation, {
|
|
742
|
+
toValue: 12,
|
|
743
|
+
duration: animationDuration,
|
|
744
|
+
useNativeDriver: false
|
|
745
|
+
}).start();
|
|
746
|
+
} else {
|
|
747
|
+
import_react_native3.Animated.timing(animation, {
|
|
748
|
+
toValue: 25,
|
|
749
|
+
duration: animationDuration,
|
|
750
|
+
useNativeDriver: false
|
|
751
|
+
}).start();
|
|
752
|
+
import_react_native3.Animated.timing(sizeAnimation, {
|
|
753
|
+
toValue: placeholderDefaultSize,
|
|
754
|
+
duration: animationDuration,
|
|
755
|
+
useNativeDriver: false
|
|
756
|
+
}).start();
|
|
757
|
+
}
|
|
758
|
+
}, [dynamicPlaceholder, animation, sizeAnimation]);
|
|
759
|
+
(0, import_react6.useEffect)(() => {
|
|
760
|
+
const keyboardDidShowListener = import_react_native3.Keyboard.addListener("keyboardDidShow", () => setKeyboardVisible(true));
|
|
761
|
+
const keyboardDidHideListener = import_react_native3.Keyboard.addListener("keyboardDidHide", () => setKeyboardVisible(false));
|
|
762
|
+
return () => {
|
|
763
|
+
keyboardDidHideListener.remove();
|
|
764
|
+
keyboardDidShowListener.remove();
|
|
765
|
+
};
|
|
766
|
+
}, []);
|
|
767
|
+
(0, import_react6.useEffect)(() => {
|
|
768
|
+
handleClick();
|
|
769
|
+
}, [isKeyboardVisible]);
|
|
770
|
+
const hasIcon = iconNameLeft || iconNameRight || false;
|
|
771
|
+
const styles2 = import_react_native3.StyleSheet.create({
|
|
772
|
+
input: {
|
|
773
|
+
paddingLeft: (iconNameLeft && isFocused || type === "search" /* SEARCH */ && isFocused) && 39 || (iconNameLeft || type === "search" /* SEARCH */) && 40 || !iconNameLeft && type !== "search" /* SEARCH */ && isFocused && 9 || 10,
|
|
774
|
+
paddingRight: (iconNameRight || type === "search" /* SEARCH */) && 32 || 0,
|
|
775
|
+
marginTop: paddingTopByPlatform(import_react_native3.Platform.OS, dynamicPlaceholder),
|
|
776
|
+
width: hasIcon && status ? "85%" : "95%",
|
|
777
|
+
height: 46,
|
|
778
|
+
color: disabled ? getColorStyle("DISABLED" /* DISABLED */) : inputColor
|
|
779
|
+
},
|
|
780
|
+
dynamicPlaceholder: {
|
|
781
|
+
position: "absolute",
|
|
782
|
+
left: iconNameLeft ? 40 : 10,
|
|
783
|
+
color: grayscale(getColorStyle("FONT" /* FONT */)),
|
|
784
|
+
marginTop: isFocused ? -1 : 0,
|
|
785
|
+
marginLeft: isFocused ? -1 : 0
|
|
786
|
+
},
|
|
787
|
+
help: {
|
|
788
|
+
fontSize: 12,
|
|
789
|
+
color: status && status === "success" && getColorStyle("SUCCESS" /* SUCCESS */) || status && status === "warning" && getColorStyle("WARNING" /* WARNING */) || status && status === "error" && getColorStyle("ERROR" /* ERROR */) || status && status === "default" && inputColor || disabled && getColorStyle("DISABLED" /* DISABLED */) || inputColor,
|
|
790
|
+
paddingLeft: 4,
|
|
791
|
+
paddingTop: 2
|
|
792
|
+
},
|
|
793
|
+
inputWrapper: {
|
|
794
|
+
position: "relative",
|
|
795
|
+
justifyContent: "center",
|
|
796
|
+
alignSelf: "stretch",
|
|
797
|
+
backgroundColor: disabled ? getColorStyle("DISABLED_FADE" /* DISABLED_FADE */) : getColorStyle("WHITE" /* BACKGROUND */),
|
|
798
|
+
borderWidth: isFocused ? 2 : 1,
|
|
799
|
+
borderRadius: 3,
|
|
800
|
+
borderColor: status && status === "success" && getColorStyle("SUCCESS" /* SUCCESS */) || status && status === "warning" && getColorStyle("WARNING" /* WARNING */) || status && status === "error" && getColorStyle("ERROR" /* ERROR */) || status && status === "default" && inputColor || isFocused && getColorStyle("MAIN" /* MAIN */) || getColorStyle("NEUTRAL" /* NEUTRAL */),
|
|
801
|
+
height: 46,
|
|
802
|
+
width: "100%"
|
|
803
|
+
},
|
|
804
|
+
inputContainer: {
|
|
805
|
+
height: 46,
|
|
806
|
+
width: 46,
|
|
807
|
+
position: "absolute",
|
|
808
|
+
right: isFocused ? -1 : 0,
|
|
809
|
+
justifyContent: "center"
|
|
810
|
+
},
|
|
811
|
+
inputContainerLeft: {
|
|
812
|
+
height: 46,
|
|
813
|
+
width: 46,
|
|
814
|
+
position: "absolute",
|
|
815
|
+
left: isFocused ? -1 : 0,
|
|
816
|
+
justifyContent: "center"
|
|
817
|
+
},
|
|
818
|
+
inputContainerRight: {
|
|
819
|
+
height: 46,
|
|
820
|
+
width: 46,
|
|
821
|
+
position: "absolute",
|
|
822
|
+
right: isFocused ? -1 : 0,
|
|
823
|
+
justifyContent: "center"
|
|
824
|
+
},
|
|
825
|
+
inputIconLeft: {
|
|
826
|
+
position: "absolute",
|
|
827
|
+
left: isFocused ? 9 : 10,
|
|
828
|
+
top: 0,
|
|
829
|
+
bottom: 0,
|
|
830
|
+
alignItems: "center",
|
|
831
|
+
justifyContent: "center"
|
|
832
|
+
},
|
|
833
|
+
text: {
|
|
834
|
+
zIndex: -1,
|
|
835
|
+
position: "absolute",
|
|
836
|
+
fontSize: 14,
|
|
837
|
+
color: getColorStyle("WHITE" /* BACKGROUND */),
|
|
838
|
+
bottom: isIOS ? 9 : 5,
|
|
839
|
+
left: iconNameLeft ? isIOS ? 38 : 37.5 : isIOS ? 8 : 7.5
|
|
840
|
+
},
|
|
841
|
+
domain: {
|
|
842
|
+
zIndex: 1,
|
|
843
|
+
color: getColorStyle("NEUTRAL" /* NEUTRAL */),
|
|
844
|
+
fontSize: 13,
|
|
845
|
+
height: "100%",
|
|
846
|
+
marginTop: 3,
|
|
847
|
+
marginBottom: isIOS ? 0 : -3
|
|
848
|
+
}
|
|
849
|
+
});
|
|
850
|
+
return /* @__PURE__ */ import_react6.default.createElement(
|
|
851
|
+
import_react_native3.View,
|
|
852
|
+
{
|
|
853
|
+
style: { width: "100%" },
|
|
854
|
+
accessible: !!inputAccessibilityLabel,
|
|
855
|
+
accessibilityLabel: inputAccessibilityLabel,
|
|
856
|
+
testID: inputTestId
|
|
857
|
+
},
|
|
858
|
+
!dynamicPlaceholder && label && /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, /* @__PURE__ */ import_react6.default.createElement(Text_default, { typo: "has-text-main" /* TEXT_MAIN */ }, label, " ", label && required && /* @__PURE__ */ import_react6.default.createElement(Text_default, { typo: "has-text-error" /* TEXT_ERROR */ }, "*")), /* @__PURE__ */ import_react6.default.createElement(Spacer_default, { size: 12 /* THREE */ })),
|
|
859
|
+
!dynamicPlaceholder && label && sample && /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, /* @__PURE__ */ import_react6.default.createElement(Text_default, { level: 3 /* THREE */, typo: "has-text-main" /* TEXT_MAIN */ }, sample), /* @__PURE__ */ import_react6.default.createElement(Spacer_default, { size: 12 /* THREE */ })),
|
|
860
|
+
/* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { testID: "input-wrapper-id", style: styles2.inputWrapper }, dynamicPlaceholder && type !== "search" /* SEARCH */ && /* @__PURE__ */ import_react6.default.createElement(import_react_native3.Animated.Text, { style: [styles2.dynamicPlaceholder, { top: animation, fontSize: sizeAnimation }] }, placeholder), /* @__PURE__ */ import_react6.default.createElement(
|
|
861
|
+
import_react_native3.TextInput,
|
|
862
|
+
__spreadValues({
|
|
863
|
+
ref,
|
|
864
|
+
testID: "input-id",
|
|
865
|
+
readOnly,
|
|
866
|
+
clearTextOnFocus: false,
|
|
867
|
+
secureTextEntry: !!(type && type === "password" /* PASSWORD */ && iconPassword === "tri-eye" /* EYE */),
|
|
868
|
+
value,
|
|
869
|
+
editable: !disabled,
|
|
870
|
+
maxLength,
|
|
871
|
+
autoCapitalize: autoCapitalize || "none" /* NONE */,
|
|
872
|
+
keyboardAppearance: keyboardStyle || "default" /* DEFAULT */,
|
|
873
|
+
autoCorrect: autoCorrect || false,
|
|
874
|
+
autoComplete: autoCompleteType,
|
|
875
|
+
returnKeyType: keyType,
|
|
876
|
+
textContentType: textContentType || "none" /* NONE */,
|
|
877
|
+
keyboardType: keyboardType || "default" /* DEFAULT */,
|
|
878
|
+
onSubmitEditing: handleSubmit,
|
|
879
|
+
onChangeText: (text) => {
|
|
880
|
+
handleChange(text);
|
|
881
|
+
if (onChange) {
|
|
882
|
+
onChange({
|
|
883
|
+
inputName: name && name || "",
|
|
884
|
+
inputValue: text,
|
|
885
|
+
inputSelectionStart: null
|
|
886
|
+
});
|
|
38
887
|
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
888
|
+
},
|
|
889
|
+
onFocus: (e) => {
|
|
890
|
+
setIsFocused(true);
|
|
891
|
+
onFocus == null ? void 0 : onFocus(e);
|
|
892
|
+
},
|
|
893
|
+
onBlur: (e) => {
|
|
894
|
+
setIsFocused(false);
|
|
895
|
+
onBlur == null ? void 0 : onBlur(e);
|
|
896
|
+
},
|
|
897
|
+
placeholder,
|
|
898
|
+
placeholderTextColor: disabled ? getColorStyle("DISABLED" /* DISABLED */) : getColorStyle("FONT_PLACEHOLDER" /* FONT_PLACEHOLDER */),
|
|
899
|
+
style: styles2.input
|
|
900
|
+
}, others)
|
|
901
|
+
), type === "email" && /* @__PURE__ */ import_react6.default.createElement(Text_default, { style: styles2.text }, value, /* @__PURE__ */ import_react6.default.createElement(Text_default, { style: styles2.domain }, email)), hasIcon && type !== "password" /* PASSWORD */ && type !== "search" /* SEARCH */ && /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: styles2.inputIconLeft }, /* @__PURE__ */ import_react6.default.createElement(
|
|
902
|
+
Icon_default,
|
|
903
|
+
{
|
|
904
|
+
align: "ALIGNED_START" /* ALIGNED_START */,
|
|
905
|
+
name: iconNameLeft,
|
|
906
|
+
size: "small" /* SMALL */,
|
|
907
|
+
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
908
|
+
}
|
|
909
|
+
)), hasIcon && type !== "search" /* SEARCH */ && status && status !== "default" /* DEFAULT */ && type !== "password" /* PASSWORD */ && /* @__PURE__ */ import_react6.default.createElement(
|
|
910
|
+
import_react_native3.TouchableOpacity,
|
|
911
|
+
{
|
|
912
|
+
style: styles2.inputContainer,
|
|
913
|
+
activeOpacity: onIconClick ? 0.2 : 1,
|
|
914
|
+
onPress: (e) => {
|
|
915
|
+
onIconClick == null ? void 0 : onIconClick({
|
|
916
|
+
inputName: name && name || "",
|
|
917
|
+
inputValue: value,
|
|
918
|
+
target: e
|
|
69
919
|
});
|
|
920
|
+
}
|
|
921
|
+
},
|
|
922
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
|
923
|
+
Icon_default,
|
|
924
|
+
{
|
|
925
|
+
testId: "icon-status-id",
|
|
926
|
+
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
927
|
+
name: iconNameLeft || iconNameRight || inputIcon.get(status).replace("tri-", "").replace("ui-", ""),
|
|
928
|
+
size: "small" /* SMALL */,
|
|
929
|
+
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || status && "MAIN" /* MAIN */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
930
|
+
}
|
|
931
|
+
)
|
|
932
|
+
), iconNameRight && !iconNameLeft && type !== "search" /* SEARCH */ && type !== "password" /* PASSWORD */ && (!status || status === "default" /* DEFAULT */) && /* @__PURE__ */ import_react6.default.createElement(
|
|
933
|
+
import_react_native3.TouchableOpacity,
|
|
934
|
+
{
|
|
935
|
+
style: styles2.inputContainerRight,
|
|
936
|
+
activeOpacity: onIconClick ? 0.2 : 1,
|
|
937
|
+
onPress: (e) => {
|
|
938
|
+
onIconClick == null ? void 0 : onIconClick({
|
|
939
|
+
inputName: name && name || "",
|
|
940
|
+
inputValue: value,
|
|
941
|
+
target: e
|
|
942
|
+
});
|
|
943
|
+
}
|
|
944
|
+
},
|
|
945
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
|
946
|
+
Icon_default,
|
|
947
|
+
{
|
|
948
|
+
testId: "icon-right-id",
|
|
949
|
+
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
950
|
+
name: iconNameRight,
|
|
951
|
+
size: "small" /* SMALL */,
|
|
952
|
+
color: disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
953
|
+
}
|
|
954
|
+
)
|
|
955
|
+
), type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, iconNameLeft && /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: [{ paddingLeft: 10 }, styles2.inputContainerLeft] }, /* @__PURE__ */ import_react6.default.createElement(Icon_default, { name: iconNameLeft })), /* @__PURE__ */ import_react6.default.createElement(
|
|
956
|
+
import_react_native3.TouchableOpacity,
|
|
957
|
+
{
|
|
958
|
+
style: styles2.inputContainerRight,
|
|
959
|
+
onPress: () => {
|
|
960
|
+
onIconClick == null ? void 0 : onIconClick({
|
|
961
|
+
inputName: name && name || "",
|
|
962
|
+
inputValue: value
|
|
963
|
+
});
|
|
964
|
+
if (iconPassword === "tri-eye" /* EYE */) {
|
|
965
|
+
setIconPassword("tri-eye-slash" /* EYE_SLASH */);
|
|
966
|
+
} else {
|
|
967
|
+
setIconPassword("tri-eye" /* EYE */);
|
|
968
|
+
}
|
|
969
|
+
}
|
|
970
|
+
},
|
|
971
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
|
972
|
+
Icon_default,
|
|
973
|
+
{
|
|
974
|
+
testId: "password-id",
|
|
975
|
+
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
976
|
+
name: iconPassword,
|
|
977
|
+
size: "small" /* SMALL */,
|
|
978
|
+
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || status && status === "default" && "MAIN" /* MAIN */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
979
|
+
}
|
|
980
|
+
)
|
|
981
|
+
)), type === "search" /* SEARCH */ && !status && /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, { style: styles2.inputContainerLeft }, /* @__PURE__ */ import_react6.default.createElement(
|
|
982
|
+
Icon_default,
|
|
983
|
+
{
|
|
984
|
+
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
985
|
+
name: "tri-search" /* SEARCH */,
|
|
986
|
+
size: "small" /* SMALL */,
|
|
987
|
+
color: disabled ? "DISABLED" /* DISABLED */ : "NEUTRAL" /* NEUTRAL */
|
|
70
988
|
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
989
|
+
)), value.length > 0 && /* @__PURE__ */ import_react6.default.createElement(
|
|
990
|
+
import_react_native3.TouchableOpacity,
|
|
991
|
+
{
|
|
992
|
+
testID: "search-id",
|
|
993
|
+
style: styles2.inputContainerRight,
|
|
994
|
+
onPressIn: () => {
|
|
995
|
+
onChange == null ? void 0 : onChange({
|
|
996
|
+
inputName: name && name || "",
|
|
997
|
+
inputValue: "",
|
|
998
|
+
inputSelectionStart: null
|
|
80
999
|
});
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
setDisplay(false);
|
|
85
|
-
return [children || label];
|
|
1000
|
+
onIconClick == null ? void 0 : onIconClick({
|
|
1001
|
+
inputName: name && name || "",
|
|
1002
|
+
inputValue: ""
|
|
86
1003
|
});
|
|
1004
|
+
setValue("");
|
|
1005
|
+
}
|
|
1006
|
+
},
|
|
1007
|
+
/* @__PURE__ */ import_react6.default.createElement(
|
|
1008
|
+
Icon_default,
|
|
1009
|
+
{
|
|
1010
|
+
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
1011
|
+
name: "tri-times" /* TIMES_CIRCLE */,
|
|
1012
|
+
size: "small" /* SMALL */,
|
|
1013
|
+
color: disabled ? "DISABLED" /* DISABLED */ : "NEUTRAL" /* NEUTRAL */
|
|
1014
|
+
}
|
|
1015
|
+
)
|
|
1016
|
+
))),
|
|
1017
|
+
help && /* @__PURE__ */ import_react6.default.createElement(Text_default, { testId: "help-id", style: styles2.help }, help),
|
|
1018
|
+
type === "password" /* PASSWORD */ && securityGauge && /* @__PURE__ */ import_react6.default.createElement(InputGauge_native_default, { validationRules, inputValue: value })
|
|
1019
|
+
);
|
|
1020
|
+
}
|
|
1021
|
+
);
|
|
1022
|
+
Input.displayName = "Input" /* Input */;
|
|
1023
|
+
var Input_native_default = Input;
|
|
1024
|
+
|
|
1025
|
+
// components/button/Button.tsx
|
|
1026
|
+
var import_clsx4 = __toESM(require("clsx"));
|
|
1027
|
+
var import_react7 = __toESM(require("react"));
|
|
1028
|
+
|
|
1029
|
+
// components/button/ButtonEnum.ts
|
|
1030
|
+
var ButtonMarkup = /* @__PURE__ */ ((ButtonMarkup2) => {
|
|
1031
|
+
ButtonMarkup2["BUTTON"] = "button";
|
|
1032
|
+
ButtonMarkup2["INPUT"] = "input";
|
|
1033
|
+
ButtonMarkup2["A"] = "a";
|
|
1034
|
+
return ButtonMarkup2;
|
|
1035
|
+
})(ButtonMarkup || {});
|
|
1036
|
+
|
|
1037
|
+
// components/button/Button.tsx
|
|
1038
|
+
var Button = import_react7.default.forwardRef(
|
|
1039
|
+
(_a, ref) => {
|
|
1040
|
+
var _b = _a, {
|
|
1041
|
+
markup,
|
|
1042
|
+
loading,
|
|
1043
|
+
variant,
|
|
1044
|
+
href,
|
|
1045
|
+
id,
|
|
1046
|
+
fullwidth,
|
|
1047
|
+
children,
|
|
1048
|
+
className,
|
|
1049
|
+
to,
|
|
1050
|
+
accessibilityLabel,
|
|
1051
|
+
onClick,
|
|
1052
|
+
name,
|
|
1053
|
+
routerLink,
|
|
1054
|
+
type,
|
|
1055
|
+
iconName,
|
|
1056
|
+
disabled
|
|
1057
|
+
} = _b, others = __objRest(_b, [
|
|
1058
|
+
"markup",
|
|
1059
|
+
"loading",
|
|
1060
|
+
"variant",
|
|
1061
|
+
"href",
|
|
1062
|
+
"id",
|
|
1063
|
+
"fullwidth",
|
|
1064
|
+
"children",
|
|
1065
|
+
"className",
|
|
1066
|
+
"to",
|
|
1067
|
+
"accessibilityLabel",
|
|
1068
|
+
"onClick",
|
|
1069
|
+
"name",
|
|
1070
|
+
"routerLink",
|
|
1071
|
+
"type",
|
|
1072
|
+
"iconName",
|
|
1073
|
+
"disabled"
|
|
1074
|
+
]);
|
|
1075
|
+
const isDisabled = disabled || false;
|
|
1076
|
+
const { styled } = useTrilogyContext();
|
|
1077
|
+
const isCorrectMarkup2 = (stringMarkup) => {
|
|
1078
|
+
if (stringMarkup in ButtonMarkup || Object.values(ButtonMarkup).includes(stringMarkup))
|
|
1079
|
+
return true;
|
|
1080
|
+
};
|
|
1081
|
+
const getClassNames = (loading2, variant2, fullwidth2, className2) => {
|
|
1082
|
+
return (0, import_clsx4.default)(
|
|
1083
|
+
"button",
|
|
1084
|
+
loading2 && is("loading"),
|
|
1085
|
+
variant2 && is(getButtonVariantClassName(variant2)),
|
|
1086
|
+
fullwidth2 && is("fullwidth"),
|
|
1087
|
+
className2
|
|
1088
|
+
);
|
|
1089
|
+
};
|
|
1090
|
+
const classes = hashClass(styled, getClassNames(loading, variant, fullwidth, className));
|
|
1091
|
+
const Tag = markup && isCorrectMarkup2(markup) ? markup : "button";
|
|
1092
|
+
if (Tag === "button" && !href && !to) {
|
|
1093
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
|
1094
|
+
"button",
|
|
1095
|
+
__spreadValues({
|
|
1096
|
+
ref,
|
|
1097
|
+
id,
|
|
1098
|
+
"aria-label": accessibilityLabel,
|
|
1099
|
+
className: classes,
|
|
1100
|
+
disabled: isDisabled,
|
|
1101
|
+
name,
|
|
1102
|
+
onClick: (e) => {
|
|
1103
|
+
!isDisabled && (onClick == null ? void 0 : onClick(e));
|
|
1104
|
+
e.stopPropagation();
|
|
1105
|
+
},
|
|
1106
|
+
type: type != null ? type : "button"
|
|
1107
|
+
}, others),
|
|
1108
|
+
iconName && /* @__PURE__ */ import_react7.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
|
|
1109
|
+
children
|
|
1110
|
+
);
|
|
1111
|
+
}
|
|
1112
|
+
if (Tag === "input") {
|
|
1113
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
|
1114
|
+
"input",
|
|
1115
|
+
__spreadValues({
|
|
1116
|
+
ref,
|
|
1117
|
+
id,
|
|
1118
|
+
className: classes,
|
|
1119
|
+
"aria-label": accessibilityLabel,
|
|
1120
|
+
name,
|
|
1121
|
+
onClick: (e) => {
|
|
1122
|
+
!isDisabled && (onClick == null ? void 0 : onClick(e));
|
|
1123
|
+
e.stopPropagation();
|
|
1124
|
+
},
|
|
1125
|
+
disabled: isDisabled,
|
|
1126
|
+
type: type != null ? type : "submit",
|
|
1127
|
+
value: `${children}`
|
|
1128
|
+
}, others)
|
|
1129
|
+
);
|
|
1130
|
+
}
|
|
1131
|
+
if (routerLink && to && !isDisabled) {
|
|
1132
|
+
const RouterLink = routerLink ? routerLink : "a";
|
|
1133
|
+
return /* @__PURE__ */ import_react7.default.createElement(RouterLink, __spreadValues({ ref, "aria-label": accessibilityLabel, to, className: classes }, others), iconName && /* @__PURE__ */ import_react7.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }), children);
|
|
1134
|
+
}
|
|
1135
|
+
return /* @__PURE__ */ import_react7.default.createElement(
|
|
1136
|
+
"a",
|
|
1137
|
+
__spreadValues(__spreadValues({
|
|
1138
|
+
ref,
|
|
1139
|
+
id,
|
|
1140
|
+
"aria-label": accessibilityLabel,
|
|
1141
|
+
className: classes,
|
|
1142
|
+
href,
|
|
1143
|
+
onClick: (e) => {
|
|
1144
|
+
!isDisabled && (onClick == null ? void 0 : onClick(e));
|
|
1145
|
+
e.stopPropagation();
|
|
1146
|
+
}
|
|
1147
|
+
}, others), disabled && { "aria-disabled": true }),
|
|
1148
|
+
iconName && /* @__PURE__ */ import_react7.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
|
|
1149
|
+
children
|
|
1150
|
+
);
|
|
1151
|
+
}
|
|
1152
|
+
);
|
|
1153
|
+
Button.displayName = "Button" /* Button */;
|
|
1154
|
+
|
|
1155
|
+
// components/button/list/ButtonList.tsx
|
|
1156
|
+
var import_clsx5 = __toESM(require("clsx"));
|
|
1157
|
+
var React10 = __toESM(require("react"));
|
|
1158
|
+
var ButtonList = React10.forwardRef(
|
|
1159
|
+
(_a, ref) => {
|
|
1160
|
+
var _b = _a, { className, id, align, direction } = _b, others = __objRest(_b, ["className", "id", "align", "direction"]);
|
|
1161
|
+
const { styled } = useTrilogyContext();
|
|
1162
|
+
return /* @__PURE__ */ React10.createElement(
|
|
1163
|
+
"div",
|
|
1164
|
+
__spreadValues({
|
|
1165
|
+
ref,
|
|
1166
|
+
id,
|
|
1167
|
+
className: hashClass(
|
|
1168
|
+
styled,
|
|
1169
|
+
(0, import_clsx5.default)(
|
|
1170
|
+
"buttons",
|
|
1171
|
+
className,
|
|
1172
|
+
align && is(getJustifiedClassName(align)),
|
|
1173
|
+
direction === "column" /* COLUMN */ && is("vertical")
|
|
1174
|
+
)
|
|
1175
|
+
)
|
|
1176
|
+
}, others)
|
|
1177
|
+
);
|
|
1178
|
+
}
|
|
1179
|
+
);
|
|
1180
|
+
ButtonList.displayName = "ButtonList" /* ButtonList */;
|
|
1181
|
+
|
|
1182
|
+
// components/title/Title.tsx
|
|
1183
|
+
var import_clsx6 = __toESM(require("clsx"));
|
|
1184
|
+
var import_react8 = __toESM(require("react"));
|
|
1185
|
+
|
|
1186
|
+
// components/title/TitleEnum.ts
|
|
1187
|
+
var TitleMarkup = /* @__PURE__ */ ((TitleMarkup2) => {
|
|
1188
|
+
TitleMarkup2["H1"] = "h1";
|
|
1189
|
+
TitleMarkup2["H2"] = "h2";
|
|
1190
|
+
TitleMarkup2["H3"] = "h3";
|
|
1191
|
+
TitleMarkup2["H4"] = "h4";
|
|
1192
|
+
TitleMarkup2["H5"] = "h5";
|
|
1193
|
+
TitleMarkup2["H6"] = "h6";
|
|
1194
|
+
TitleMarkup2["P"] = "p";
|
|
1195
|
+
TitleMarkup2["SPAN"] = "span";
|
|
1196
|
+
TitleMarkup2["DIV"] = "div";
|
|
1197
|
+
return TitleMarkup2;
|
|
1198
|
+
})(TitleMarkup || {});
|
|
1199
|
+
|
|
1200
|
+
// components/title/Title.tsx
|
|
1201
|
+
var getTitleLevel = (level) => {
|
|
1202
|
+
if (level) {
|
|
1203
|
+
switch (level) {
|
|
1204
|
+
case 1 /* ONE */:
|
|
1205
|
+
return is(`level-1`);
|
|
1206
|
+
case 2 /* TWO */:
|
|
1207
|
+
return is(`level-2`);
|
|
1208
|
+
case 3 /* THREE */:
|
|
1209
|
+
return is(`level-3`);
|
|
1210
|
+
case 4 /* FOUR */:
|
|
1211
|
+
return is(`level-4`);
|
|
1212
|
+
case 5 /* FIVE */:
|
|
1213
|
+
return is(`level-5`);
|
|
1214
|
+
case 6 /* SIX */:
|
|
1215
|
+
return is(`level-6`);
|
|
1216
|
+
default:
|
|
1217
|
+
return is(`level-${level}`);
|
|
1218
|
+
}
|
|
1219
|
+
}
|
|
1220
|
+
};
|
|
1221
|
+
var isCorrectMarkup = (stringMarkup) => {
|
|
1222
|
+
return stringMarkup in TitleMarkup || Object.values(TitleMarkup).includes(stringMarkup);
|
|
1223
|
+
};
|
|
1224
|
+
var Title = import_react8.default.forwardRef(
|
|
1225
|
+
(_a, ref) => {
|
|
1226
|
+
var _b = _a, {
|
|
1227
|
+
level = 1 /* ONE */,
|
|
1228
|
+
markup,
|
|
1229
|
+
children,
|
|
1230
|
+
className,
|
|
1231
|
+
id,
|
|
1232
|
+
typo,
|
|
1233
|
+
skeleton,
|
|
1234
|
+
inverted,
|
|
1235
|
+
onClick,
|
|
1236
|
+
accessibilityLabel,
|
|
1237
|
+
subtitle,
|
|
1238
|
+
overline,
|
|
1239
|
+
marginless
|
|
1240
|
+
} = _b, others = __objRest(_b, [
|
|
1241
|
+
"level",
|
|
1242
|
+
"markup",
|
|
1243
|
+
"children",
|
|
1244
|
+
"className",
|
|
1245
|
+
"id",
|
|
1246
|
+
"typo",
|
|
1247
|
+
"skeleton",
|
|
1248
|
+
"inverted",
|
|
1249
|
+
"onClick",
|
|
1250
|
+
"accessibilityLabel",
|
|
1251
|
+
"subtitle",
|
|
1252
|
+
"overline",
|
|
1253
|
+
"marginless"
|
|
1254
|
+
]);
|
|
1255
|
+
const { styled } = useTrilogyContext();
|
|
1256
|
+
const classes = hashClass(
|
|
1257
|
+
styled,
|
|
1258
|
+
(0, import_clsx6.default)(
|
|
1259
|
+
"title",
|
|
1260
|
+
level && getTitleLevel(level),
|
|
1261
|
+
typo,
|
|
1262
|
+
skeleton && is("loading"),
|
|
1263
|
+
inverted && is("inverted"),
|
|
1264
|
+
marginless && is("marginless"),
|
|
1265
|
+
className
|
|
1266
|
+
)
|
|
1267
|
+
);
|
|
1268
|
+
const subtitleClasses = hashClass(styled, (0, import_clsx6.default)("subtitle", typo, className));
|
|
1269
|
+
const overlineClasses = hashClass(styled, (0, import_clsx6.default)("overline", typo, className));
|
|
1270
|
+
const Tag = markup && isCorrectMarkup(markup) ? markup : "p";
|
|
1271
|
+
const getClassname = () => {
|
|
1272
|
+
if (subtitle) return subtitleClasses;
|
|
1273
|
+
if (overline) return overlineClasses;
|
|
1274
|
+
return classes;
|
|
1275
|
+
};
|
|
1276
|
+
return /* @__PURE__ */ import_react8.default.createElement(Tag, __spreadValues({ ref, id, "aria-label": accessibilityLabel, onClick, className: getClassname() }, others), children);
|
|
1277
|
+
}
|
|
1278
|
+
);
|
|
1279
|
+
Title.displayName = "Title" /* Title */;
|
|
1280
|
+
var Title_default = Title;
|
|
1281
|
+
|
|
1282
|
+
// components/modal/Modal.tsx
|
|
1283
|
+
var import_modal = __toESM(require("@trilogy-ds/locales/lib/modal"));
|
|
1284
|
+
var import_clsx7 = __toESM(require("clsx"));
|
|
1285
|
+
var import_react9 = __toESM(require("react"));
|
|
1286
|
+
var Modal = import_react9.default.forwardRef(
|
|
1287
|
+
(_a, ref) => {
|
|
1288
|
+
var _b = _a, {
|
|
1289
|
+
children,
|
|
1290
|
+
className,
|
|
1291
|
+
id,
|
|
1292
|
+
accessibilityLabel = "Close",
|
|
1293
|
+
active,
|
|
1294
|
+
onClose,
|
|
1295
|
+
unClosable,
|
|
1296
|
+
panel,
|
|
1297
|
+
size,
|
|
1298
|
+
hideCloseButton = false,
|
|
1299
|
+
trigger,
|
|
1300
|
+
title
|
|
1301
|
+
} = _b, others = __objRest(_b, [
|
|
1302
|
+
"children",
|
|
1303
|
+
"className",
|
|
1304
|
+
"id",
|
|
1305
|
+
"accessibilityLabel",
|
|
1306
|
+
"active",
|
|
1307
|
+
"onClose",
|
|
1308
|
+
"unClosable",
|
|
1309
|
+
"panel",
|
|
1310
|
+
"size",
|
|
1311
|
+
"hideCloseButton",
|
|
1312
|
+
"trigger",
|
|
1313
|
+
"title"
|
|
1314
|
+
]);
|
|
1315
|
+
const modalContentRef = (0, import_react9.useRef)(null);
|
|
1316
|
+
const [display, setDisplay] = (0, import_react9.useState)(active || false);
|
|
1317
|
+
const { styled } = useTrilogyContext();
|
|
1318
|
+
const refBtnModal = (0, import_react9.useRef)(null);
|
|
1319
|
+
const refModal = (0, import_react9.useRef)(null);
|
|
1320
|
+
const modalGeneratedId = (0, import_react9.useId)();
|
|
1321
|
+
const focusableElementsRef = (0, import_react9.useRef)(null);
|
|
1322
|
+
const currentFocusIndexRef = (0, import_react9.useRef)(0);
|
|
1323
|
+
const handleClose = import_react9.default.useCallback(
|
|
1324
|
+
(onCloseFunc, e) => {
|
|
1325
|
+
if (!unClosable) {
|
|
1326
|
+
setDisplay(false);
|
|
1327
|
+
refBtnModal.current && refBtnModal.current.focus();
|
|
1328
|
+
if (onCloseFunc) onCloseFunc(e);
|
|
1329
|
+
}
|
|
1330
|
+
},
|
|
1331
|
+
[refBtnModal.current]
|
|
1332
|
+
);
|
|
1333
|
+
const classes = hashClass(
|
|
1334
|
+
styled,
|
|
1335
|
+
(0, import_clsx7.default)("modal", display && is("active"), size && is(size), panel && is("panel"), className)
|
|
1336
|
+
);
|
|
1337
|
+
const onKeyDown = (0, import_react9.useCallback)(
|
|
1338
|
+
(e) => {
|
|
1339
|
+
if (display && e.key === "Tab") {
|
|
1340
|
+
e.preventDefault();
|
|
1341
|
+
if (focusableElementsRef.current) {
|
|
1342
|
+
const currentIndex = currentFocusIndexRef.current;
|
|
1343
|
+
const offset = e.shiftKey ? -1 : 1;
|
|
1344
|
+
const nextIndex = (currentIndex + offset + focusableElementsRef.current.length) % focusableElementsRef.current.length;
|
|
1345
|
+
currentFocusIndexRef.current = nextIndex;
|
|
1346
|
+
focusableElementsRef.current[nextIndex].focus();
|
|
1347
|
+
}
|
|
1348
|
+
}
|
|
1349
|
+
if (!unClosable && display && e.key === "Escape") {
|
|
1350
|
+
e.preventDefault();
|
|
1351
|
+
setDisplay(false);
|
|
1352
|
+
refBtnModal.current && refBtnModal.current.focus();
|
|
1353
|
+
currentFocusIndexRef.current = 0;
|
|
1354
|
+
onClose && onClose();
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
[display, focusableElementsRef, currentFocusIndexRef, refBtnModal, onClose]
|
|
1358
|
+
);
|
|
1359
|
+
(0, import_react9.useEffect)(() => {
|
|
1360
|
+
setDisplay((prev) => {
|
|
1361
|
+
if (prev) {
|
|
1362
|
+
refBtnModal.current && refBtnModal.current.focus();
|
|
1363
|
+
currentFocusIndexRef.current = 0;
|
|
1364
|
+
}
|
|
1365
|
+
return active || false;
|
|
1366
|
+
});
|
|
1367
|
+
}, [active, currentFocusIndexRef, refBtnModal]);
|
|
1368
|
+
(0, import_react9.useEffect)(() => {
|
|
1369
|
+
!hideCloseButton && display && focusableElementsRef.current && focusableElementsRef.current[0].focus();
|
|
1370
|
+
}, [hideCloseButton, display, focusableElementsRef]);
|
|
1371
|
+
(0, import_react9.useEffect)(() => {
|
|
1372
|
+
if (modalContentRef.current) {
|
|
1373
|
+
focusableElementsRef.current = modalContentRef.current.querySelectorAll(
|
|
1374
|
+
'button:not(:disabled), input:not(:disabled), a, select:not(:disabled), textarea:not(:disabled), details:not([aria-disabled="true"]) > summary'
|
|
1375
|
+
);
|
|
1376
|
+
}
|
|
1377
|
+
}, [modalContentRef, focusableElementsRef]);
|
|
1378
|
+
return /* @__PURE__ */ import_react9.default.createElement("div", { onKeyDown, ref: refModal }, trigger && import_react9.default.cloneElement(trigger, { ref: refBtnModal, "aria-haspopup": "dialog" }), /* @__PURE__ */ import_react9.default.createElement(
|
|
1379
|
+
"div",
|
|
1380
|
+
__spreadValues({
|
|
1381
|
+
ref,
|
|
1382
|
+
id,
|
|
1383
|
+
className: classes,
|
|
1384
|
+
role: "dialog",
|
|
1385
|
+
"aria-labelledby": modalGeneratedId,
|
|
1386
|
+
"aria-modal": true,
|
|
1387
|
+
onClick: (e) => {
|
|
1388
|
+
var _a2;
|
|
1389
|
+
if (!((_a2 = modalContentRef == null ? void 0 : modalContentRef.current) == null ? void 0 : _a2.contains(e.target))) {
|
|
1390
|
+
handleClose(onClose, e);
|
|
1391
|
+
}
|
|
1392
|
+
}
|
|
1393
|
+
}, others),
|
|
1394
|
+
/* @__PURE__ */ import_react9.default.createElement("div", { ref: modalContentRef, className: hashClass(styled, (0, import_clsx7.default)("modal-content")) }, /* @__PURE__ */ import_react9.default.createElement("div", { className: hashClass(styled, (0, import_clsx7.default)("modal-header")) }, !hideCloseButton && /* @__PURE__ */ import_react9.default.createElement(
|
|
1395
|
+
"button",
|
|
1396
|
+
{
|
|
1397
|
+
onClick: (e) => {
|
|
1398
|
+
handleClose(onClose, e);
|
|
1399
|
+
},
|
|
1400
|
+
className: hashClass(styled, (0, import_clsx7.default)("modal-close", is("large"))),
|
|
1401
|
+
type: "button" /* BUTTON */
|
|
1402
|
+
},
|
|
1403
|
+
/* @__PURE__ */ import_react9.default.createElement("span", { className: hashClass(styled, (0, import_clsx7.default)("sr-only")) }, import_modal.default.accessibilityLabelButtonClose)
|
|
1404
|
+
), /* @__PURE__ */ import_react9.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
1405
|
+
));
|
|
1406
|
+
}
|
|
1407
|
+
);
|
|
1408
|
+
Modal.displayName = "Modal" /* Modal */;
|
|
1409
|
+
var Modal_default = Modal;
|
|
1410
|
+
|
|
1411
|
+
// components/modal/footer/ModalFooter.tsx
|
|
1412
|
+
var import_clsx8 = __toESM(require("clsx"));
|
|
1413
|
+
var React13 = __toESM(require("react"));
|
|
1414
|
+
var ModalFooter = React13.forwardRef(
|
|
1415
|
+
({ children, className, id }, ref) => {
|
|
1416
|
+
const { styled } = useTrilogyContext();
|
|
1417
|
+
return /* @__PURE__ */ React13.createElement("div", { ref, "data-modal-footer": "", id, className: hashClass(styled, (0, import_clsx8.default)("modal-footer", className)) }, children);
|
|
1418
|
+
}
|
|
1419
|
+
);
|
|
1420
|
+
ModalFooter.displayName = "ModalFooter" /* ModalFooter */;
|
|
1421
|
+
|
|
1422
|
+
// components/modal/body/ModalBody.tsx
|
|
1423
|
+
var import_clsx9 = __toESM(require("clsx"));
|
|
1424
|
+
var React14 = __toESM(require("react"));
|
|
1425
|
+
var ModalBody = React14.forwardRef(({ children, className, id }, ref) => {
|
|
1426
|
+
const { styled } = useTrilogyContext();
|
|
1427
|
+
return /* @__PURE__ */ React14.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx9.default)("modal-body", className)) }, children);
|
|
1428
|
+
});
|
|
1429
|
+
ModalBody.displayName = "ModalBody" /* ModalBody */;
|
|
1430
|
+
var ModalBody_default = ModalBody;
|
|
1431
|
+
|
|
1432
|
+
// components/select/Select.native.tsx
|
|
1433
|
+
var import_react11 = __toESM(require("react"));
|
|
1434
|
+
var import_react_native4 = require("react-native");
|
|
1435
|
+
|
|
1436
|
+
// components/select/option/SelectOption.tsx
|
|
1437
|
+
var import_clsx10 = __toESM(require("clsx"));
|
|
1438
|
+
var React16 = __toESM(require("react"));
|
|
1439
|
+
|
|
1440
|
+
// components/select/context/index.tsx
|
|
1441
|
+
var import_react10 = __toESM(require("react"));
|
|
1442
|
+
var SelectContext = import_react10.default.createContext({
|
|
1443
|
+
selectedOptionValues: [],
|
|
1444
|
+
multiple: false,
|
|
1445
|
+
custom: false,
|
|
1446
|
+
isVisibleOptions: false,
|
|
1447
|
+
setIsVisibleOptions: () => false,
|
|
1448
|
+
setSelectedOptionValues: () => []
|
|
1449
|
+
});
|
|
1450
|
+
|
|
1451
|
+
// components/select/option/SelectOption.tsx
|
|
1452
|
+
var SelectOption = React16.forwardRef(
|
|
1453
|
+
(_a, ref) => {
|
|
1454
|
+
var _b = _a, { id, className, value = "", disabled, children, onClick, label, iconName, testId } = _b, others = __objRest(_b, ["id", "className", "value", "disabled", "children", "onClick", "label", "iconName", "testId"]);
|
|
1455
|
+
const { styled } = useTrilogyContext();
|
|
1456
|
+
const { custom, selectedOptionValues, setSelectedOptionValues, multiple, setIsVisibleOptions, onChange } = React16.useContext(SelectContext);
|
|
1457
|
+
const isChecked = selectedOptionValues.includes(value);
|
|
1458
|
+
const selectClasses = hashClass(styled, (0, import_clsx10.default)("option", isChecked && "focus", disabled && is("disabled"), className));
|
|
1459
|
+
const handleClickOption = () => {
|
|
1460
|
+
setSelectedOptionValues((prev) => {
|
|
1461
|
+
const isInclude = prev.includes(value);
|
|
1462
|
+
const newOptionsSelected = !multiple && isInclude ? [] : !multiple && !isInclude ? [value] : isInclude ? prev.filter((opt) => opt !== value) : [...prev, value];
|
|
1463
|
+
if (onChange) {
|
|
1464
|
+
onChange({
|
|
1465
|
+
selectValue: isInclude ? void 0 : value,
|
|
1466
|
+
selectName: isInclude ? void 0 : children || label,
|
|
1467
|
+
selectId: isInclude ? void 0 : id,
|
|
1468
|
+
name: isInclude ? void 0 : children || label,
|
|
1469
|
+
selectedOptions: newOptionsSelected,
|
|
1470
|
+
target: void 0
|
|
1471
|
+
});
|
|
1472
|
+
}
|
|
1473
|
+
return newOptionsSelected;
|
|
1474
|
+
});
|
|
1475
|
+
if (!multiple) setIsVisibleOptions(false);
|
|
1476
|
+
};
|
|
1477
|
+
if (custom || multiple) {
|
|
1478
|
+
return /* @__PURE__ */ React16.createElement(
|
|
1479
|
+
"li",
|
|
1480
|
+
__spreadValues({
|
|
1481
|
+
ref,
|
|
1482
|
+
id,
|
|
1483
|
+
className: selectClasses,
|
|
1484
|
+
"data-selected": isChecked,
|
|
1485
|
+
role: "option",
|
|
1486
|
+
"aria-selected": isChecked,
|
|
1487
|
+
"data-value": value,
|
|
1488
|
+
onClick: !disabled ? handleClickOption : void 0
|
|
1489
|
+
}, others),
|
|
1490
|
+
iconName && /* @__PURE__ */ React16.createElement(Icon_default, { name: iconName }),
|
|
1491
|
+
label || children
|
|
1492
|
+
);
|
|
1493
|
+
}
|
|
1494
|
+
return /* @__PURE__ */ React16.createElement(
|
|
1495
|
+
"option",
|
|
1496
|
+
__spreadValues({
|
|
1497
|
+
ref,
|
|
1498
|
+
role: "option",
|
|
1499
|
+
id,
|
|
1500
|
+
value,
|
|
1501
|
+
disabled,
|
|
1502
|
+
"aria-label": label,
|
|
1503
|
+
"data-testid": testId,
|
|
1504
|
+
onClick
|
|
1505
|
+
}, others),
|
|
1506
|
+
children || label
|
|
1507
|
+
);
|
|
1508
|
+
}
|
|
1509
|
+
);
|
|
1510
|
+
SelectOption.displayName = "SelectOption" /* SelectOption */;
|
|
1511
|
+
var SelectOption_default = SelectOption;
|
|
1512
|
+
|
|
1513
|
+
// components/select/option/index.ts
|
|
1514
|
+
var option_default = SelectOption_default;
|
|
1515
|
+
|
|
1516
|
+
// components/select/Select.native.tsx
|
|
1517
|
+
var Select = import_react11.default.forwardRef(
|
|
1518
|
+
(_a, ref) => {
|
|
1519
|
+
var _b = _a, { children, id, selected, label, iconName, onChange, disabled, multiple, onBlur, status } = _b, others = __objRest(_b, ["children", "id", "selected", "label", "iconName", "onChange", "disabled", "multiple", "onBlur", "status"]);
|
|
1520
|
+
const [selectedValues, setSelectedValues] = (0, import_react11.useState)(selected);
|
|
1521
|
+
const [selectedNames, setSelectedNames] = import_react11.default.useState([]);
|
|
1522
|
+
const [display, setDisplay] = (0, import_react11.useState)(false);
|
|
1523
|
+
const reactId = import_react11.default.useId();
|
|
1524
|
+
(0, import_react11.useEffect)(() => {
|
|
1525
|
+
var _a2;
|
|
1526
|
+
const labelSelected = (_a2 = import_react11.default.Children.map(children, (child) => {
|
|
1527
|
+
if (!import_react11.default.isValidElement(child)) return false;
|
|
1528
|
+
const label2 = child.props.children || child.props.label;
|
|
1529
|
+
switch (true) {
|
|
1530
|
+
case (Array.isArray(selected) && selected.includes(child.props.value) || !Array.isArray(selected) && child.props.value === selected):
|
|
1531
|
+
return label2;
|
|
1532
|
+
default:
|
|
1533
|
+
return false;
|
|
1534
|
+
}
|
|
1535
|
+
})) == null ? void 0 : _a2.filter((item) => item);
|
|
1536
|
+
labelSelected && setSelectedNames(labelSelected);
|
|
1537
|
+
setSelectedValues(selected);
|
|
1538
|
+
}, [selected]);
|
|
1539
|
+
const handleOpenCloseModal = (0, import_react11.useCallback)(() => {
|
|
1540
|
+
!disabled && setDisplay((prev) => !prev);
|
|
1541
|
+
}, [disabled]);
|
|
1542
|
+
const isChecked = (0, import_react11.useCallback)(
|
|
1543
|
+
(value) => multiple && selectedValues && typeof selectedValues !== "string" && typeof selectedValues !== "number" ? selectedValues == null ? void 0 : selectedValues.includes(value) : selectedValues === value,
|
|
1544
|
+
[multiple, selectedValues]
|
|
1545
|
+
);
|
|
1546
|
+
const setNewSelectedValues = (0, import_react11.useCallback)(
|
|
1547
|
+
({
|
|
1548
|
+
isChecked: isChecked2,
|
|
1549
|
+
children: children2,
|
|
1550
|
+
label: label2,
|
|
1551
|
+
value
|
|
1552
|
+
}) => {
|
|
1553
|
+
const selectedOptions = [];
|
|
1554
|
+
if (isChecked2) {
|
|
1555
|
+
setSelectedValues((prev) => {
|
|
1556
|
+
switch (true) {
|
|
1557
|
+
case Array.isArray(prev):
|
|
1558
|
+
setSelectedNames((prev2) => prev2.filter((txt) => ![children2, label2].includes(txt)));
|
|
1559
|
+
const opts = prev.filter((item) => item !== value);
|
|
1560
|
+
selectedOptions.push(...opts);
|
|
1561
|
+
return opts;
|
|
1562
|
+
case !Array.isArray(prev):
|
|
1563
|
+
setDisplay(false);
|
|
1564
|
+
setSelectedNames([]);
|
|
1565
|
+
return void 0;
|
|
1566
|
+
default:
|
|
1567
|
+
return value;
|
|
1568
|
+
}
|
|
1569
|
+
});
|
|
1570
|
+
}
|
|
1571
|
+
if (!isChecked2) {
|
|
1572
|
+
setSelectedValues((prev) => {
|
|
1573
|
+
if (Array.isArray(prev)) {
|
|
1574
|
+
const opts = [...prev, value];
|
|
1575
|
+
selectedOptions.push(...opts);
|
|
1576
|
+
return opts;
|
|
1577
|
+
}
|
|
1578
|
+
selectedOptions.push(value);
|
|
1579
|
+
return value;
|
|
1580
|
+
});
|
|
1581
|
+
setSelectedNames((prev) => {
|
|
1582
|
+
if (multiple) return [...prev, children2 || label2];
|
|
1583
|
+
setDisplay(false);
|
|
1584
|
+
return [children2 || label2];
|
|
1585
|
+
});
|
|
87
1586
|
}
|
|
88
1587
|
return selectedOptions;
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} });
|
|
123
|
-
return React.createElement(SelectOption, __assign({}, props, { key: "".concat(reactId, "_").concat(index) }));
|
|
1588
|
+
},
|
|
1589
|
+
[multiple]
|
|
1590
|
+
);
|
|
1591
|
+
const options = import_react11.default.useMemo(() => {
|
|
1592
|
+
return import_react11.default.Children.map(children, (child, index) => {
|
|
1593
|
+
if (!import_react11.default.isValidElement(child)) return null;
|
|
1594
|
+
const clickEventValue = (v) => {
|
|
1595
|
+
switch (true) {
|
|
1596
|
+
case (multiple && (selectedValues == null ? void 0 : selectedValues.includes(child.props.value)) || !multiple && selectedValues === child.props.value):
|
|
1597
|
+
return void 0;
|
|
1598
|
+
default:
|
|
1599
|
+
return v;
|
|
1600
|
+
}
|
|
1601
|
+
};
|
|
1602
|
+
const props = __spreadProps(__spreadValues({}, child.props), {
|
|
1603
|
+
checked: isChecked(child.props.value),
|
|
1604
|
+
onClick: () => {
|
|
1605
|
+
if (child.props.disabled) return;
|
|
1606
|
+
const opts = setNewSelectedValues({
|
|
1607
|
+
children: child.props.children,
|
|
1608
|
+
label: child.props.label,
|
|
1609
|
+
value: child.props.value,
|
|
1610
|
+
isChecked: isChecked(child.props.value)
|
|
1611
|
+
});
|
|
1612
|
+
onChange && onChange({
|
|
1613
|
+
selectValue: clickEventValue(child.props.value),
|
|
1614
|
+
selectName: clickEventValue(child.props.children || child.props.label),
|
|
1615
|
+
selectId: clickEventValue(child.props.id),
|
|
1616
|
+
name: clickEventValue(child.props.children || child.props.label),
|
|
1617
|
+
selectedOptions: opts
|
|
1618
|
+
});
|
|
1619
|
+
if (child.props.onClick) child.props.onClick();
|
|
1620
|
+
}
|
|
124
1621
|
});
|
|
1622
|
+
return /* @__PURE__ */ import_react11.default.createElement(option_default, __spreadProps(__spreadValues({}, props), { key: `${reactId}_${index}` }));
|
|
1623
|
+
});
|
|
125
1624
|
}, [multiple, selectedValues, children]);
|
|
126
|
-
return
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
1625
|
+
return /* @__PURE__ */ import_react11.default.createElement(
|
|
1626
|
+
Modal_default,
|
|
1627
|
+
{
|
|
1628
|
+
active: display,
|
|
1629
|
+
onClose: handleOpenCloseModal,
|
|
1630
|
+
unClosable: true,
|
|
1631
|
+
trigger: /* @__PURE__ */ import_react11.default.createElement(import_react_native4.TouchableOpacity, { onPress: handleOpenCloseModal }, /* @__PURE__ */ import_react11.default.createElement(
|
|
1632
|
+
Input_native_default,
|
|
1633
|
+
__spreadValues(__spreadValues({
|
|
1634
|
+
status,
|
|
1635
|
+
ref,
|
|
1636
|
+
onBlur,
|
|
1637
|
+
onIconClick: handleOpenCloseModal,
|
|
1638
|
+
disabled,
|
|
1639
|
+
placeholder: label,
|
|
1640
|
+
iconNameLeft: iconName,
|
|
1641
|
+
iconNameRight: display ? "tri-arrow-up" : "tri-arrow-down",
|
|
1642
|
+
value: selectedNames.join(", "),
|
|
1643
|
+
defaultValue: selectedNames.join(", ")
|
|
1644
|
+
}, { editable: false, onPressIn: handleOpenCloseModal, id }), others)
|
|
1645
|
+
))
|
|
1646
|
+
},
|
|
1647
|
+
/* @__PURE__ */ import_react11.default.createElement(ModalBody_default, null, /* @__PURE__ */ import_react11.default.createElement(import_react_native4.View, { style: { paddingBottom: 20 } }, options))
|
|
1648
|
+
);
|
|
1649
|
+
}
|
|
1650
|
+
);
|
|
1651
|
+
Select.displayName = "Select" /* Select */;
|
|
1652
|
+
var Select_native_default = Select;
|