@trilogy-ds/react 0.0.9-esm-cjs → 0.0.12-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-225GHZOS.mjs +150 -0
- package/lib/{chunk-NQAB3QW6.mjs → chunk-2CRZJ26O.mjs} +1 -1
- package/lib/chunk-2CYVOYRM.mjs +26 -0
- package/lib/chunk-3AN7EUS6.mjs +419 -0
- package/lib/chunk-3ONIJFUC.mjs +27 -0
- package/lib/chunk-3PZ7FJRR.mjs +59 -0
- package/lib/chunk-3QGXHXMA.mjs +20 -0
- package/lib/chunk-3SDJGR37.mjs +34 -0
- package/lib/chunk-3U2THTWL.mjs +47 -0
- package/lib/chunk-3WFGK5PF.mjs +26 -0
- package/lib/chunk-4CI5XVQS.mjs +11 -0
- package/lib/chunk-4EH7JSDJ.mjs +19 -0
- package/lib/chunk-4NONUZBG.mjs +47 -0
- package/lib/chunk-54DJB6AO.mjs +20 -0
- package/lib/{chunk-BYI6QXDV.mjs → chunk-574Q5HPU.mjs} +2 -2
- package/lib/chunk-5BJSQK4M.mjs +76 -0
- package/lib/chunk-5EQAV6A2.mjs +115 -0
- package/lib/chunk-5GUDIPAN.mjs +25 -0
- package/lib/chunk-5HT5JYKR.mjs +1 -0
- package/lib/chunk-5RU72DNI.mjs +109 -0
- package/lib/{chunk-Q6MLZROD.mjs → chunk-5T6J3A25.mjs} +4 -4
- package/lib/{chunk-VJIUPN5A.mjs → chunk-62D2ZNLD.mjs} +1 -1
- package/lib/chunk-652YVC7W.mjs +9 -0
- package/lib/chunk-6ASDNMS4.mjs +24 -0
- package/lib/chunk-6IPICW2A.mjs +1 -0
- package/lib/chunk-6JWYMTZI.mjs +28 -0
- package/lib/{chunk-6SECJDLH.mjs → chunk-6MSKYREQ.mjs} +1 -1
- package/lib/{chunk-ZVEPBI5K.mjs → chunk-6NWZNU3P.mjs} +1 -1
- package/lib/chunk-6R3L63DN.mjs +1 -0
- package/lib/chunk-77O4HKAP.mjs +24 -0
- package/lib/chunk-77USQ7DV.mjs +1 -0
- package/lib/chunk-7ALJ5SBS.mjs +1 -0
- package/lib/chunk-7GDLEVCB.mjs +93 -0
- package/lib/chunk-7L5452RP.mjs +1 -0
- package/lib/chunk-7M6BHGK7.mjs +1 -0
- package/lib/{chunk-OWQQ7ND2.mjs → chunk-7O3FYPFV.mjs} +1 -1
- package/lib/chunk-7OJ5USHM.mjs +14 -0
- package/lib/chunk-A4UUZNZZ.mjs +33 -0
- package/lib/{chunk-MEC5UMTH.mjs → chunk-A6JKPX5Y.mjs} +1 -1
- package/lib/chunk-A6TSDQN3.mjs +18 -0
- package/lib/chunk-AP33LUST.mjs +1 -0
- package/lib/{chunk-D76JOUBK.mjs → chunk-AQIG72N6.mjs} +1 -1
- package/lib/chunk-AQYNL523.mjs +49 -0
- package/lib/chunk-AS7NPVSN.mjs +44 -0
- package/lib/chunk-ASAKE5B5.mjs +1 -0
- package/lib/chunk-ASIVCRAT.mjs +145 -0
- package/lib/{chunk-JP7HDDMM.mjs → chunk-AT5DQ6XT.mjs} +1 -1
- package/lib/chunk-ATPFUBNB.mjs +83 -0
- package/lib/chunk-AZ5GLGL2.mjs +65 -0
- package/lib/{chunk-YHR4DUL2.mjs → chunk-AZVPP2GA.mjs} +1 -1
- package/lib/chunk-BD3Z35IV.mjs +58 -0
- package/lib/chunk-BF6R5STV.mjs +1 -0
- package/lib/{chunk-Z3EG5A3G.mjs → chunk-BH5LIONT.mjs} +5 -5
- package/lib/chunk-BPUIBIGG.mjs +1 -0
- package/lib/{chunk-3IJ5TUUN.mjs → chunk-BUHGINEV.mjs} +1 -1
- package/lib/chunk-C2MBX2T3.mjs +11 -0
- package/lib/chunk-CE4NLNBM.mjs +1 -0
- package/lib/chunk-CFPYGFEZ.mjs +93 -0
- package/lib/chunk-CIMSFVNA.mjs +36 -0
- package/lib/chunk-CWIO3GEP.mjs +13 -0
- package/lib/{chunk-EO3X5LBR.mjs → chunk-CWX2XNZI.mjs} +10 -10
- package/lib/chunk-D3SJKPSF.mjs +1 -0
- package/lib/chunk-D5HHHZDS.mjs +1 -0
- package/lib/chunk-DNDMAHWG.mjs +34 -0
- package/lib/chunk-DU46N4OG.mjs +12 -0
- package/lib/chunk-E6IYXJ2R.mjs +1 -0
- package/lib/chunk-EBWK4BLF.mjs +1 -0
- package/lib/{chunk-FDJS4E7L.mjs → chunk-EFIZDE7C.mjs} +1 -1
- package/lib/chunk-EGZVKHFM.mjs +43 -0
- package/lib/chunk-EUJKB6RG.mjs +53 -0
- package/lib/chunk-EWNUE7ID.mjs +42 -0
- package/lib/chunk-F647X6CN.mjs +154 -0
- package/lib/chunk-F6YAGBON.mjs +1 -0
- package/lib/{chunk-4ZWYE57K.mjs → chunk-FJVGHDVY.mjs} +1 -1
- package/lib/chunk-FZHOHPL2.mjs +23 -0
- package/lib/chunk-G2DDP7FD.mjs +1 -0
- package/lib/chunk-G2RSK6RU.mjs +60 -0
- package/lib/chunk-G5UO56UH.mjs +195 -0
- package/lib/chunk-GBHQS63Y.mjs +23 -0
- package/lib/chunk-GHO2FRCP.mjs +20 -0
- package/lib/chunk-GNSLOYT2.mjs +34 -0
- package/lib/chunk-GOX7ZBMG.mjs +30 -0
- package/lib/{chunk-ENYSW63F.mjs → chunk-GRGNRLCK.mjs} +1 -1
- package/lib/{chunk-OCWJQN4I.mjs → chunk-GY2RSUAJ.mjs} +2 -2
- package/lib/{chunk-PRWG6M2O.mjs → chunk-GYARTTY2.mjs} +1 -1
- package/lib/chunk-HBXKX5DT.mjs +1 -0
- package/lib/chunk-HLFNY4EP.mjs +1 -0
- package/lib/chunk-HMMEG4WI.mjs +1 -0
- package/lib/chunk-HPTUJFIH.mjs +1 -0
- package/lib/chunk-HV74L2Q7.mjs +149 -0
- package/lib/chunk-HYKQVEFE.mjs +1 -0
- package/lib/{chunk-MWNATFOH.mjs → chunk-I2BTIELF.mjs} +1 -1
- package/lib/{chunk-LXWIJWR5.mjs → chunk-I54USHWW.mjs} +2 -2
- package/lib/chunk-IHMYM63B.mjs +1 -0
- package/lib/chunk-IJKRPVB7.mjs +48 -0
- package/lib/chunk-IL4WNWDQ.mjs +1 -0
- package/lib/chunk-ILLANT3J.mjs +88 -0
- package/lib/{chunk-ZQNIFM4G.mjs → chunk-IOHOQM2G.mjs} +2 -2
- package/lib/chunk-IOOEK5VI.mjs +27 -0
- package/lib/chunk-IQ3TASL4.mjs +37 -0
- package/lib/chunk-J2RYZOPI.mjs +47 -0
- package/lib/chunk-J4TV7QTJ.mjs +79 -0
- package/lib/{chunk-Z2FS6QWP.mjs → chunk-JATPYKIJ.mjs} +4 -4
- package/lib/chunk-JBFO7SRF.mjs +150 -0
- package/lib/chunk-JCW4JCTT.mjs +1 -0
- package/lib/chunk-JDN37IEF.mjs +43 -0
- package/lib/chunk-JE2Y3RAL.mjs +52 -0
- package/lib/chunk-JJOP4A5Z.mjs +65 -0
- package/lib/chunk-JM27ZQM7.mjs +105 -0
- package/lib/chunk-JPNH4WMK.mjs +1 -0
- package/lib/{chunk-Y4CEWFOC.mjs → chunk-JYONTZJI.mjs} +5 -5
- package/lib/chunk-JZ3SSSRS.mjs +14 -0
- package/lib/chunk-K3ZZ4TFW.mjs +21 -0
- package/lib/chunk-K757SOND.mjs +1 -0
- package/lib/chunk-KCULBDZX.mjs +1 -0
- package/lib/chunk-KGDE4I6M.mjs +159 -0
- package/lib/chunk-KNRXLZZP.mjs +62 -0
- package/lib/{chunk-46HOBF2T.mjs → chunk-KX2KTYWH.mjs} +1 -1
- package/lib/{chunk-P2B67PJS.mjs → chunk-KZ3GTDH6.mjs} +1 -1
- package/lib/{chunk-NCNRV7Y6.mjs → chunk-L3A2G234.mjs} +1 -1
- package/lib/chunk-L4NGR2DL.mjs +1 -0
- package/lib/chunk-L6AARVS4.mjs +41 -0
- package/lib/chunk-L6H74EAQ.mjs +29 -0
- package/lib/chunk-LAVKSOBD.mjs +28 -0
- package/lib/{chunk-YCOSCIBC.mjs → chunk-LBCAAKRZ.mjs} +1 -1
- package/lib/chunk-LBLPESEI.mjs +1 -0
- package/lib/chunk-LIWHCQTS.mjs +1 -0
- package/lib/{chunk-7JKJNUQZ.mjs → chunk-LKS2SY52.mjs} +2 -2
- package/lib/chunk-LO433DOQ.mjs +40 -0
- package/lib/chunk-M4TGUPUV.mjs +1 -0
- package/lib/chunk-MDAPUQYL.mjs +106 -0
- package/lib/chunk-MK63OCEA.mjs +91 -0
- package/lib/chunk-MKOK7VNZ.mjs +53 -0
- package/lib/{chunk-5UYVADDS.mjs → chunk-MOXBCNH3.mjs} +4 -4
- package/lib/{chunk-TLU55IMT.mjs → chunk-MRVKCNOC.mjs} +1 -1
- package/lib/chunk-MWQQD27H.mjs +11 -0
- package/lib/chunk-N5WHEQME.mjs +103 -0
- package/lib/chunk-N6JUMMJ7.mjs +19 -0
- package/lib/chunk-ND7E2T3G.mjs +1 -0
- package/lib/chunk-NXCRO4B2.mjs +66 -0
- package/lib/chunk-O2QP75YD.mjs +37 -0
- package/lib/chunk-O5CT6DIR.mjs +1 -0
- package/lib/chunk-OJE7QMVW.mjs +106 -0
- package/lib/chunk-OVD2WBG7.mjs +119 -0
- package/lib/chunk-P74YNW6V.mjs +53 -0
- package/lib/chunk-PBCERB3A.mjs +90 -0
- package/lib/chunk-PBPNVWL2.mjs +21 -0
- package/lib/{chunk-WJ3XZJY6.mjs → chunk-PI7PXVVC.mjs} +2 -2
- package/lib/chunk-PRKV4KLO.mjs +1 -0
- package/lib/chunk-PS5EJY7K.mjs +89 -0
- package/lib/{chunk-DJTJXEJ5.mjs → chunk-PTHFF3G5.mjs} +4 -4
- package/lib/chunk-QDGYSO73.mjs +1 -0
- package/lib/chunk-QI5TZFVP.mjs +1 -0
- package/lib/chunk-QIAPR2H5.mjs +1 -0
- package/lib/chunk-QITRSGLL.mjs +86 -0
- package/lib/chunk-QIXAJ4CY.mjs +14 -0
- package/lib/chunk-QP35ZXU6.mjs +128 -0
- package/lib/chunk-QXMTDX2V.mjs +31 -0
- package/lib/chunk-R37XLGXJ.mjs +41 -0
- package/lib/chunk-R6PFY5VS.mjs +39 -0
- package/lib/chunk-RHXKAFKN.mjs +68 -0
- package/lib/chunk-RJ2IH6RX.mjs +53 -0
- package/lib/chunk-RP4X56N3.mjs +1 -0
- package/lib/chunk-RPXUKVT4.mjs +77 -0
- package/lib/chunk-RUOWLFQM.mjs +24 -0
- package/lib/chunk-S3BT5JEK.mjs +1 -0
- package/lib/chunk-SCBHRXFP.mjs +14 -0
- package/lib/chunk-SF66JYQ4.mjs +21 -0
- package/lib/chunk-SJ5DUOZ6.mjs +13 -0
- package/lib/chunk-SLTXO73P.mjs +89 -0
- package/lib/chunk-SPRPRRPP.mjs +1 -0
- package/lib/chunk-STJ5TNSE.mjs +129 -0
- package/lib/chunk-T4P4VEOQ.mjs +34 -0
- package/lib/chunk-TBIFSK4N.mjs +127 -0
- package/lib/{chunk-DDFUJIKA.mjs → chunk-TDYLTSUD.mjs} +2 -2
- package/lib/chunk-TFDPKEJD.mjs +14 -0
- package/lib/chunk-TFNM3EBG.mjs +1 -0
- package/lib/{chunk-ECAWFJVI.mjs → chunk-TH32WIIV.mjs} +1 -1
- package/lib/chunk-TJIHDDBL.mjs +1 -0
- package/lib/{chunk-RA5O6GJF.mjs → chunk-U7SMKQNY.mjs} +1 -1
- package/lib/chunk-UJBU7KHL.mjs +1 -0
- package/lib/{chunk-QVIZQRXE.mjs → chunk-UNUI5GCY.mjs} +5 -5
- package/lib/chunk-UV7KNMPY.mjs +50 -0
- package/lib/{chunk-PV33TLJ4.mjs → chunk-UWF5SZJY.mjs} +1 -1
- package/lib/chunk-VAWKAIZG.mjs +59 -0
- package/lib/chunk-VCXQVQTI.mjs +1 -0
- package/lib/{chunk-V6PFO3ID.mjs → chunk-VECADRWL.mjs} +1 -1
- package/lib/chunk-VI2KFLCZ.mjs +161 -0
- package/lib/chunk-VNWHCGCD.mjs +1 -0
- package/lib/chunk-VPDN3YT7.mjs +106 -0
- package/lib/chunk-VTYRHFOK.mjs +1 -0
- package/lib/{chunk-KXWMBD6M.mjs → chunk-VWBRZW2B.mjs} +1 -1
- package/lib/chunk-W7GRHR2X.mjs +1 -0
- package/lib/chunk-WCDAUWGY.mjs +143 -0
- package/lib/{chunk-YGJ6UOVJ.mjs → chunk-WCYJXOFQ.mjs} +5 -5
- package/lib/chunk-WEGZE5OY.mjs +1 -0
- package/lib/chunk-WG6PNVJM.mjs +114 -0
- package/lib/chunk-WHD26MUV.mjs +71 -0
- package/lib/chunk-WJ66MCM5.mjs +1 -0
- package/lib/{chunk-O4GOFSM2.mjs → chunk-WRTLMWIM.mjs} +5 -5
- package/lib/{chunk-GPGHNKBS.mjs → chunk-WU5VMIX7.mjs} +1 -1
- package/lib/chunk-X2ZKW3EV.mjs +14 -0
- package/lib/{chunk-WQ2QCLBJ.mjs → chunk-X4ABDBKN.mjs} +1 -1
- package/lib/chunk-X4M75QPX.mjs +1 -0
- package/lib/chunk-XHCHVZ3O.mjs +1 -0
- package/lib/{chunk-VUPZKCZM.mjs → chunk-XP4NKGQY.mjs} +3 -3
- package/lib/chunk-XPCXYBYT.mjs +29 -0
- package/lib/chunk-XY6EUXMK.mjs +117 -0
- package/lib/{chunk-2KUCOY5Z.mjs → chunk-XZF6TES3.mjs} +1 -1
- package/lib/chunk-Y3EHTJD4.mjs +62 -0
- package/lib/chunk-Y4ZMPV3Q.mjs +58 -0
- package/lib/{chunk-NZOGEIN3.mjs → chunk-YIOEE4WJ.mjs} +1 -1
- package/lib/chunk-YK5HPRX4.mjs +1 -0
- package/lib/chunk-YKDJ5C7W.mjs +28 -0
- package/lib/{chunk-QJTQDNQQ.mjs → chunk-YLNTACMP.mjs} +1 -1
- package/lib/chunk-YODEPF5J.mjs +139 -0
- package/lib/chunk-YS4SPJEP.mjs +129 -0
- package/lib/chunk-Z2UZIL6D.mjs +30 -0
- package/lib/chunk-Z4E57WZW.mjs +11 -0
- package/lib/chunk-ZECQFPLY.mjs +1 -0
- package/lib/chunk-ZEJDFWMP.mjs +1 -0
- package/lib/chunk-ZIKNYPIP.mjs +142 -0
- package/lib/chunk-ZJ5YQTFY.mjs +1 -0
- package/lib/chunk-ZKBRHO6C.mjs +110 -0
- package/lib/{chunk-UJLUM2OQ.mjs → chunk-ZRFCXFJ5.mjs} +1 -1
- package/lib/components/accordion/Accordion.js +70 -19
- package/lib/components/accordion/Accordion.mjs +1 -1
- package/lib/components/accordion/Accordion.native.d.mts +9 -0
- package/lib/components/accordion/Accordion.native.js +49 -19
- package/lib/components/accordion/Accordion.native.mjs +9 -0
- package/lib/components/accordion/AccordionProps.js +19 -2
- package/lib/components/accordion/index.js +174 -6
- package/lib/components/accordion/index.mjs +1 -1
- package/lib/components/accordion/index.native.d.mts +5 -0
- package/lib/components/accordion/index.native.js +479 -6
- package/lib/components/accordion/index.native.mjs +35 -0
- package/lib/components/accordion/item/AccordionItem.js +101 -36
- package/lib/components/accordion/item/AccordionItem.mjs +1 -1
- package/lib/components/accordion/item/AccordionItem.native.d.mts +13 -0
- package/lib/components/accordion/item/AccordionItem.native.js +410 -130
- package/lib/components/accordion/item/AccordionItem.native.mjs +22 -0
- package/lib/components/accordion/item/AccordionItemProps.js +19 -2
- package/lib/components/accordion/item/body/AccordionBody.js +83 -20
- package/lib/components/accordion/item/body/AccordionBody.mjs +1 -1
- package/lib/components/accordion/item/body/AccordionBody.native.d.mts +9 -0
- package/lib/components/accordion/item/body/AccordionBody.native.js +47 -15
- package/lib/components/accordion/item/body/AccordionBody.native.mjs +9 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.js +19 -2
- package/lib/components/accordion/item/body/index.mjs +1 -1
- package/lib/components/accordion/item/body/index.native.d.mts +3 -0
- package/lib/components/accordion/item/body/index.native.js +53 -4
- package/lib/components/accordion/item/body/index.native.mjs +13 -0
- package/lib/components/accordion/item/header/AccordionHeader.js +81 -18
- package/lib/components/accordion/item/header/AccordionHeader.mjs +1 -1
- package/lib/components/accordion/item/header/AccordionHeader.native.d.mts +9 -0
- package/lib/components/accordion/item/header/AccordionHeader.native.js +51 -19
- package/lib/components/accordion/item/header/AccordionHeader.native.mjs +9 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.js +19 -2
- package/lib/components/accordion/item/header/index.mjs +1 -1
- package/lib/components/accordion/item/header/index.native.d.mts +3 -0
- package/lib/components/accordion/item/header/index.native.js +57 -4
- package/lib/components/accordion/item/header/index.native.mjs +13 -0
- package/lib/components/accordion/item/index.mjs +1 -1
- package/lib/components/accordion/item/index.native.d.mts +2 -0
- package/lib/components/accordion/item/index.native.js +424 -3
- package/lib/components/accordion/item/index.native.mjs +25 -0
- package/lib/components/alert/Alert.js +518 -134
- package/lib/components/alert/Alert.mjs +13 -13
- package/lib/components/alert/Alert.native.d.mts +34 -0
- package/lib/components/alert/Alert.native.js +860 -138
- package/lib/components/alert/Alert.native.mjs +89 -0
- package/lib/components/alert/AlertEnum.js +39 -10
- package/lib/components/alert/AlertProps.js +42 -11
- package/lib/components/alert/context/ToasterContext.js +40 -5
- package/lib/components/alert/context/ToasterContextProps.js +19 -2
- package/lib/components/alert/context/index.js +45 -3
- package/lib/components/alert/index.js +557 -6
- package/lib/components/alert/index.mjs +13 -13
- package/lib/components/alert/index.native.d.mts +5 -0
- package/lib/components/alert/index.native.js +898 -6
- package/lib/components/alert/index.native.mjs +100 -0
- package/lib/components/autocomplete/AutoComplete.js +929 -147
- package/lib/components/autocomplete/AutoComplete.mjs +40 -40
- package/lib/components/autocomplete/AutoComplete.native.d.mts +27 -0
- package/lib/components/autocomplete/AutoComplete.native.js +1132 -88
- package/lib/components/autocomplete/AutoComplete.native.mjs +74 -0
- package/lib/components/autocomplete/AutoCompleteProps.js +19 -2
- package/lib/components/autocomplete/Autocomplete.helpers.js +44 -13
- package/lib/components/autocomplete/index.js +947 -6
- package/lib/components/autocomplete/index.mjs +41 -41
- package/lib/components/autocomplete/index.native.d.mts +5 -0
- package/lib/components/autocomplete/index.native.js +1275 -6
- package/lib/components/autocomplete/index.native.mjs +96 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.mts +3 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +235 -14
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +23 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.js +120 -18
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +3 -3
- package/lib/components/autocomplete/item/AutoCompleteItemProps.js +19 -2
- package/lib/components/autocomplete/item/index.js +124 -4
- package/lib/components/autocomplete/item/index.mjs +3 -3
- package/lib/components/autocomplete/item/index.native.d.mts +3 -0
- package/lib/components/autocomplete/item/index.native.js +239 -4
- package/lib/components/autocomplete/item/index.native.mjs +27 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +119 -18
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +3 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.mts +3 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +404 -26
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +63 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.js +19 -2
- package/lib/components/autocomplete/menu/index.js +123 -4
- package/lib/components/autocomplete/menu/index.mjs +4 -4
- package/lib/components/autocomplete/menu/index.native.d.mts +3 -0
- package/lib/components/autocomplete/menu/index.native.js +408 -4
- package/lib/components/autocomplete/menu/index.native.mjs +67 -0
- package/lib/components/autocomplete/utils/debounce.js +42 -15
- package/lib/components/autocomplete/utils/index.js +46 -2
- package/lib/components/autolayout/{AutoLayout.d.mts → AutoLayout/AutoLayout.d.mts} +1 -1
- package/lib/components/autolayout/{AutoLayout.d.ts → AutoLayout/AutoLayout.d.ts} +1 -1
- package/lib/components/autolayout/AutoLayout/AutoLayout.js +41 -0
- package/lib/components/autolayout/{AutoLayout.mjs → AutoLayout/AutoLayout.mjs} +2 -2
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.d.mts +12 -0
- package/lib/components/autolayout/{AutoLayout.native.d.ts → AutoLayout/AutoLayout.native.d.ts} +1 -1
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.js +399 -0
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +16 -0
- package/lib/components/autolayout/AutoLayout/index.d.mts +2 -0
- package/lib/components/autolayout/AutoLayout/index.d.ts +2 -0
- package/lib/components/autolayout/AutoLayout/index.js +47 -0
- package/lib/components/autolayout/AutoLayout/index.mjs +8 -0
- package/lib/components/autolayout/AutoLayout/index.native.d.mts +2 -0
- package/lib/components/autolayout/AutoLayout/index.native.d.ts +2 -0
- package/lib/components/autolayout/AutoLayout/index.native.js +405 -0
- package/lib/components/autolayout/AutoLayout/index.native.mjs +16 -0
- package/lib/components/autolayout/{AutoLayoutProps.d.mts → AutoLayoutProps/index.d.mts} +2 -2
- package/lib/components/autolayout/{AutoLayoutProps.d.ts → AutoLayoutProps/index.d.ts} +2 -2
- package/lib/components/autolayout/AutoLayoutProps/index.js +19 -0
- package/lib/components/autolayout/AutoLayoutProps/index.mjs +1 -0
- package/lib/components/autolayout/AutoLayoutProps/index.native.d.mts +15 -0
- package/lib/components/autolayout/AutoLayoutProps/index.native.d.ts +15 -0
- package/lib/components/autolayout/AutoLayoutProps/index.native.js +19 -0
- package/lib/components/autolayout/AutoLayoutProps/index.native.mjs +1 -0
- package/lib/components/autolayout/{AutoLayoutWrapper.d.mts → AutoLayoutWrapper/index.d.mts} +1 -1
- package/lib/components/autolayout/{AutoLayoutWrapper.d.ts → AutoLayoutWrapper/index.d.ts} +1 -1
- package/lib/components/autolayout/AutoLayoutWrapper/index.js +56 -0
- package/lib/components/autolayout/AutoLayoutWrapper/index.mjs +9 -0
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.d.mts +12 -0
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.d.ts +12 -0
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.js +414 -0
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +17 -0
- package/lib/components/autolayout/{DefaultSpacingMatrix.d.mts → DefaultSpacingMatrix/index.d.mts} +1 -1
- package/lib/components/autolayout/{DefaultSpacingMatrix.d.ts → DefaultSpacingMatrix/index.d.ts} +1 -1
- package/lib/components/autolayout/DefaultSpacingMatrix/index.js +93 -0
- package/lib/components/autolayout/DefaultSpacingMatrix/index.mjs +12 -0
- package/lib/components/autolayout/DefaultSpacingMatrix/index.native.d.mts +6 -0
- package/lib/components/autolayout/DefaultSpacingMatrix/index.native.d.ts +6 -0
- package/lib/components/autolayout/DefaultSpacingMatrix/index.native.js +93 -0
- package/lib/components/autolayout/DefaultSpacingMatrix/index.native.mjs +12 -0
- package/lib/components/autolayout/{SpacingMatrix.d.mts → SpacingMatrix/index.d.mts} +2 -2
- package/lib/components/autolayout/{SpacingMatrix.d.ts → SpacingMatrix/index.d.ts} +2 -2
- package/lib/components/autolayout/SpacingMatrix/index.js +35 -0
- package/lib/components/autolayout/SpacingMatrix/index.mjs +8 -0
- package/lib/components/autolayout/SpacingMatrix/index.native.d.mts +24 -0
- package/lib/components/autolayout/SpacingMatrix/index.native.d.ts +24 -0
- package/lib/components/autolayout/SpacingMatrix/index.native.js +35 -0
- package/lib/components/autolayout/SpacingMatrix/index.native.mjs +8 -0
- package/lib/components/autolayout/{AutoLayout.helpers.d.mts → helpers/AutoLayout.helpers.d.mts} +3 -3
- package/lib/components/autolayout/{AutoLayout.helpers.d.ts → helpers/AutoLayout.helpers.d.ts} +3 -3
- package/lib/components/autolayout/helpers/AutoLayout.helpers.js +370 -0
- package/lib/components/autolayout/{AutoLayout.helpers.mjs → helpers/AutoLayout.helpers.mjs} +10 -10
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.d.mts +24 -0
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.d.ts +24 -0
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.js +344 -0
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.mjs +20 -0
- package/lib/components/autolayout/index.d.mts +1 -1
- package/lib/components/autolayout/index.d.ts +1 -1
- package/lib/components/autolayout/index.js +129 -6
- package/lib/components/autolayout/index.mjs +9 -9
- package/lib/components/autolayout/index.native.d.mts +5 -0
- package/lib/components/autolayout/index.native.d.ts +4 -4
- package/lib/components/autolayout/index.native.js +426 -6
- package/lib/components/autolayout/index.native.mjs +29 -0
- package/lib/components/autolayout/interface.js +19 -2
- package/lib/components/badge/Badge.js +289 -54
- package/lib/components/badge/Badge.mjs +8 -8
- package/lib/components/badge/Badge.native.d.mts +18 -0
- package/lib/components/badge/Badge.native.js +362 -109
- package/lib/components/badge/Badge.native.mjs +58 -0
- package/lib/components/badge/BadgeEnum.js +37 -11
- package/lib/components/badge/BadgeEnum.mjs +3 -9
- package/lib/components/badge/BadgeProps.js +39 -10
- package/lib/components/badge/index.js +314 -4
- package/lib/components/badge/index.mjs +8 -8
- package/lib/components/badge/index.native.d.mts +3 -0
- package/lib/components/badge/index.native.js +386 -4
- package/lib/components/badge/index.native.mjs +63 -0
- package/lib/components/box/Box.js +183 -45
- package/lib/components/box/Box.mjs +2 -2
- package/lib/components/box/Box.native.d.mts +22 -0
- package/lib/components/box/Box.native.js +222 -108
- package/lib/components/box/Box.native.mjs +12 -0
- package/lib/components/box/BoxProps.js +19 -2
- package/lib/components/box/content/BoxContent.js +172 -27
- package/lib/components/box/content/BoxContent.mjs +4 -4
- package/lib/components/box/content/BoxContent.native.d.mts +11 -0
- package/lib/components/box/content/BoxContent.native.js +123 -29
- package/lib/components/box/content/BoxContent.native.mjs +11 -0
- package/lib/components/box/content/BoxContentProps.js +19 -2
- package/lib/components/box/content/index.js +176 -3
- package/lib/components/box/content/index.mjs +4 -4
- package/lib/components/box/content/index.native.d.mts +2 -0
- package/lib/components/box/content/index.native.js +129 -3
- package/lib/components/box/content/index.native.mjs +14 -0
- package/lib/components/box/context/boxContext.js +42 -3
- package/lib/components/box/context/boxContext.mjs +3 -4
- package/lib/components/box/footer/BoxFooter.js +161 -21
- package/lib/components/box/footer/BoxFooter.mjs +4 -4
- package/lib/components/box/footer/BoxFooter.native.d.mts +10 -0
- package/lib/components/box/footer/BoxFooter.native.js +292 -23
- package/lib/components/box/footer/BoxFooter.native.mjs +57 -0
- package/lib/components/box/footer/BoxFooterProps.js +19 -2
- package/lib/components/box/footer/index.js +165 -3
- package/lib/components/box/footer/index.mjs +4 -4
- package/lib/components/box/footer/index.native.d.mts +2 -0
- package/lib/components/box/footer/index.native.js +297 -3
- package/lib/components/box/footer/index.native.mjs +60 -0
- package/lib/components/box/header/BoxHeader.js +176 -30
- package/lib/components/box/header/BoxHeader.mjs +6 -6
- package/lib/components/box/header/BoxHeader.native.d.mts +10 -0
- package/lib/components/box/header/BoxHeader.native.js +140 -51
- package/lib/components/box/header/BoxHeader.native.mjs +11 -0
- package/lib/components/box/header/BoxHeaderProps.js +19 -2
- package/lib/components/box/header/index.js +183 -3
- package/lib/components/box/header/index.mjs +7 -7
- package/lib/components/box/header/index.native.d.mts +2 -0
- package/lib/components/box/header/index.native.js +147 -3
- package/lib/components/box/header/index.native.mjs +14 -0
- package/lib/components/box/index.js +386 -10
- package/lib/components/box/index.mjs +14 -14
- package/lib/components/box/index.native.d.mts +9 -0
- package/lib/components/box/index.native.js +566 -10
- package/lib/components/box/index.native.mjs +84 -0
- package/lib/components/box/item/BoxItem.js +71 -18
- package/lib/components/box/item/BoxItem.mjs +1 -1
- package/lib/components/box/item/BoxItem.native.d.mts +10 -0
- package/lib/components/box/item/BoxItem.native.js +52 -23
- package/lib/components/box/item/BoxItem.native.mjs +9 -0
- package/lib/components/box/item/BoxItemEnum.js +39 -13
- package/lib/components/box/item/BoxItemProps.js +19 -2
- package/lib/components/box/item/index.js +91 -4
- package/lib/components/box/item/index.mjs +1 -1
- package/lib/components/box/item/index.native.d.mts +3 -0
- package/lib/components/box/item/index.native.js +74 -4
- package/lib/components/box/item/index.native.mjs +16 -0
- package/lib/components/box/table-container/BoxTableContainer.js +79 -18
- package/lib/components/box/table-container/BoxTableContainer.mjs +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.d.mts +9 -0
- package/lib/components/box/table-container/BoxTableContainer.native.js +47 -15
- package/lib/components/box/table-container/BoxTableContainer.native.mjs +9 -0
- package/lib/components/box/table-container/BoxTableContainerProps.js +19 -2
- package/lib/components/box/table-container/index.js +83 -3
- package/lib/components/box/table-container/index.mjs +1 -1
- package/lib/components/box/table-container/index.native.d.mts +2 -0
- package/lib/components/box/table-container/index.native.js +53 -3
- package/lib/components/box/table-container/index.native.mjs +12 -0
- package/lib/components/breadcrumb/Breadcrumb.js +83 -21
- package/lib/components/breadcrumb/Breadcrumb.mjs +2 -2
- package/lib/components/breadcrumb/Breadcrumb.native.d.mts +10 -0
- package/lib/components/breadcrumb/Breadcrumb.native.js +268 -24
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +18 -0
- package/lib/components/breadcrumb/BreadcrumbProps.js +19 -2
- package/lib/components/breadcrumb/index.d.mts +1 -1
- package/lib/components/breadcrumb/index.d.ts +1 -1
- package/lib/components/breadcrumb/index.js +294 -4
- package/lib/components/breadcrumb/index.mjs +13 -13
- package/lib/components/breadcrumb/index.native.d.mts +3 -0
- package/lib/components/breadcrumb/index.native.d.ts +1 -1
- package/lib/components/breadcrumb/index.native.js +403 -4
- package/lib/components/breadcrumb/index.native.mjs +34 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +261 -29
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +9 -9
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.d.mts +13 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +252 -32
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +23 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.js +19 -2
- package/lib/components/breadcrumb/item/index.d.mts +1 -1
- package/lib/components/breadcrumb/item/index.d.ts +1 -1
- package/lib/components/breadcrumb/item/index.js +268 -3
- package/lib/components/breadcrumb/item/index.mjs +12 -12
- package/lib/components/breadcrumb/item/index.native.d.mts +2 -0
- package/lib/components/breadcrumb/item/index.native.d.ts +1 -1
- package/lib/components/breadcrumb/item/index.native.js +257 -3
- package/lib/components/breadcrumb/item/index.native.mjs +23 -0
- package/lib/components/button/Button.js +312 -67
- package/lib/components/button/Button.mjs +9 -9
- package/lib/components/button/Button.native.d.mts +17 -0
- package/lib/components/button/Button.native.js +550 -135
- package/lib/components/button/Button.native.mjs +63 -0
- package/lib/components/button/ButtonEnum.js +53 -30
- package/lib/components/button/ButtonProps.js +19 -2
- package/lib/components/button/index.js +387 -5
- package/lib/components/button/index.mjs +10 -10
- package/lib/components/button/index.native.d.mts +4 -0
- package/lib/components/button/index.native.d.ts +1 -1
- package/lib/components/button/index.native.js +597 -5
- package/lib/components/button/index.native.mjs +75 -0
- package/lib/components/button/list/ButtonList.js +133 -22
- package/lib/components/button/list/ButtonList.mjs +5 -5
- package/lib/components/button/list/ButtonList.native.d.mts +9 -0
- package/lib/components/button/list/ButtonList.native.js +42 -12
- package/lib/components/button/list/ButtonList.native.mjs +9 -0
- package/lib/components/button/list/ButtonListEnum.js +35 -6
- package/lib/components/button/list/ButtonListProps.js +19 -2
- package/lib/components/button/list/index.js +149 -4
- package/lib/components/button/list/index.mjs +5 -5
- package/lib/components/button/list/index.native.d.mts +3 -0
- package/lib/components/button/list/index.native.js +58 -4
- package/lib/components/button/list/index.native.mjs +13 -0
- package/lib/components/card/Card.js +122 -32
- package/lib/components/card/Card.mjs +1 -1
- package/lib/components/card/Card.native.d.mts +25 -0
- package/lib/components/card/Card.native.js +212 -98
- package/lib/components/card/Card.native.mjs +14 -0
- package/lib/components/card/CardProps.js +19 -2
- package/lib/components/card/content/CardContent.js +71 -18
- package/lib/components/card/content/CardContent.mjs +1 -1
- package/lib/components/card/content/CardContent.native.d.mts +9 -0
- package/lib/components/card/content/CardContent.native.js +233 -21
- package/lib/components/card/content/CardContent.native.mjs +13 -0
- package/lib/components/card/content/CardContentProps.js +19 -2
- package/lib/components/card/content/index.js +75 -3
- package/lib/components/card/content/index.mjs +1 -1
- package/lib/components/card/content/index.native.d.mts +2 -0
- package/lib/components/card/content/index.native.js +237 -3
- package/lib/components/card/content/index.native.mjs +16 -0
- package/lib/components/card/image/CardImage.js +91 -30
- package/lib/components/card/image/CardImage.mjs +1 -1
- package/lib/components/card/image/CardImage.native.d.mts +14 -0
- package/lib/components/card/image/CardImage.native.js +257 -40
- package/lib/components/card/image/CardImage.native.mjs +13 -0
- package/lib/components/card/image/CardImageEnum.js +37 -11
- package/lib/components/card/image/CardImageProps.js +19 -2
- package/lib/components/card/image/index.js +95 -3
- package/lib/components/card/image/index.mjs +1 -1
- package/lib/components/card/image/index.native.d.mts +2 -0
- package/lib/components/card/image/index.native.js +263 -3
- package/lib/components/card/image/index.native.mjs +16 -0
- package/lib/components/card/index.js +185 -6
- package/lib/components/card/index.mjs +5 -5
- package/lib/components/card/index.native.d.mts +5 -0
- package/lib/components/card/index.native.d.ts +2 -2
- package/lib/components/card/index.native.js +299 -6
- package/lib/components/card/index.native.mjs +25 -0
- package/lib/components/checkbox/Checkbox.js +97 -42
- package/lib/components/checkbox/Checkbox.mjs +1 -1
- package/lib/components/checkbox/Checkbox.native.d.mts +16 -0
- package/lib/components/checkbox/Checkbox.native.js +393 -60
- package/lib/components/checkbox/Checkbox.native.mjs +28 -0
- package/lib/components/checkbox/CheckboxProps.js +19 -2
- package/lib/components/checkbox/index.js +445 -7
- package/lib/components/checkbox/index.mjs +34 -34
- package/lib/components/checkbox/index.native.d.mts +6 -0
- package/lib/components/checkbox/index.native.js +1117 -7
- package/lib/components/checkbox/index.native.mjs +91 -0
- package/lib/components/checkbox/list/CheckboxList.js +241 -24
- package/lib/components/checkbox/list/CheckboxList.mjs +29 -29
- package/lib/components/checkbox/list/CheckboxList.native.d.mts +9 -0
- package/lib/components/checkbox/list/CheckboxList.native.d.ts +1 -1
- package/lib/components/checkbox/list/CheckboxList.native.js +427 -21
- package/lib/components/checkbox/list/CheckboxList.native.mjs +19 -0
- package/lib/components/checkbox/list/{CheckboxListProps.d.mts → CheckboxListProps/index.d.mts} +4 -4
- package/lib/components/checkbox/list/{CheckboxListProps.d.ts → CheckboxListProps/index.d.ts} +4 -4
- package/lib/components/checkbox/list/CheckboxListProps/index.js +19 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.mjs +1 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.native.d.mts +25 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.native.d.ts +25 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.native.js +19 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.native.mjs +1 -0
- package/lib/components/checkbox/list/index.mjs +29 -29
- package/lib/components/checkbox/list/index.native.d.mts +2 -0
- package/lib/components/checkbox/list/index.native.js +433 -3
- package/lib/components/checkbox/list/index.native.mjs +19 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.js +123 -32
- package/lib/components/checkbox/tiles/CheckboxTiles.mjs +3 -3
- package/lib/components/checkbox/tiles/CheckboxTiles.native.d.mts +5 -0
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +100 -19
- package/lib/components/checkbox/tiles/CheckboxTiles.native.mjs +14 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.js +19 -2
- package/lib/components/checkbox/tiles/index.mjs +3 -3
- package/lib/components/checkbox/tiles/index.native.d.mts +2 -0
- package/lib/components/checkbox/tiles/index.native.js +104 -3
- package/lib/components/checkbox/tiles/index.native.mjs +17 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +284 -48
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +29 -29
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.mts +5 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +664 -101
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +71 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.js +19 -2
- package/lib/components/checkbox/tiles/tile/index.mjs +29 -29
- package/lib/components/checkbox/tiles/tile/index.native.d.mts +2 -0
- package/lib/components/checkbox/tiles/tile/index.native.js +674 -3
- package/lib/components/checkbox/tiles/tile/index.native.mjs +74 -0
- package/lib/components/chips/Chips.js +94 -27
- package/lib/components/chips/Chips.mjs +1 -1
- package/lib/components/chips/Chips.native.d.mts +13 -0
- package/lib/components/chips/Chips.native.js +454 -57
- package/lib/components/chips/Chips.native.mjs +33 -0
- package/lib/components/chips/ChipsProps.js +19 -2
- package/lib/components/chips/ChipsProps.mjs +1 -0
- package/lib/components/chips/index.js +117 -4
- package/lib/components/chips/index.mjs +1 -1
- package/lib/components/chips/index.native.d.mts +4 -0
- package/lib/components/chips/index.native.js +463 -5
- package/lib/components/chips/index.native.mjs +38 -0
- package/lib/components/chips/list/ChipsList.js +82 -22
- package/lib/components/chips/list/ChipsList.mjs +1 -1
- package/lib/components/chips/list/ChipsList.native.d.mts +13 -0
- package/lib/components/chips/list/ChipsList.native.js +65 -20
- package/lib/components/chips/list/ChipsList.native.mjs +11 -0
- package/lib/components/chips/list/ChipsListProps.js +19 -2
- package/lib/components/chips/list/index.mjs +1 -1
- package/lib/components/chips/list/index.native.d.mts +2 -0
- package/lib/components/chips/list/index.native.js +67 -3
- package/lib/components/chips/list/index.native.mjs +12 -0
- package/lib/components/columns/Columns.js +144 -28
- package/lib/components/columns/Columns.mjs +4 -4
- package/lib/components/columns/Columns.native.d.mts +13 -0
- package/lib/components/columns/Columns.native.js +153 -69
- package/lib/components/columns/Columns.native.mjs +12 -0
- package/lib/components/columns/ColumnsProps.js +19 -2
- package/lib/components/columns/ColumnsTypes.js +47 -16
- package/lib/components/columns/column/Column.js +143 -38
- package/lib/components/columns/column/Column.mjs +3 -3
- package/lib/components/columns/column/Column.native.d.mts +9 -0
- package/lib/components/columns/column/Column.native.js +318 -30
- package/lib/components/columns/column/Column.native.mjs +58 -0
- package/lib/components/columns/column/ColumnProps.js +19 -2
- package/lib/components/columns/column/index.js +147 -3
- package/lib/components/columns/column/index.mjs +4 -4
- package/lib/components/columns/column/index.native.d.mts +2 -0
- package/lib/components/columns/column/index.native.js +324 -3
- package/lib/components/columns/column/index.native.mjs +61 -0
- package/lib/components/columns/context/index.js +46 -7
- package/lib/components/columns/context/index.mjs +3 -9
- package/lib/components/columns/index.js +230 -5
- package/lib/components/columns/index.mjs +6 -6
- package/lib/components/columns/index.native.d.mts +4 -0
- package/lib/components/columns/index.native.js +443 -5
- package/lib/components/columns/index.native.mjs +69 -0
- package/lib/components/container/Container.js +79 -21
- package/lib/components/container/Container.mjs +1 -1
- package/lib/components/container/Container.native.d.mts +9 -0
- package/lib/components/container/Container.native.js +69 -21
- package/lib/components/container/Container.native.mjs +10 -0
- package/lib/components/container/ContainerProps.js +19 -2
- package/lib/components/container/index.js +86 -3
- package/lib/components/container/index.mjs +1 -1
- package/lib/components/container/index.native.d.mts +3 -0
- package/lib/components/container/index.native.js +75 -4
- package/lib/components/container/index.native.mjs +12 -0
- package/lib/components/countdown/Countdown.js +159 -120
- package/lib/components/countdown/Countdown.mjs +1 -1
- package/lib/components/countdown/Countdown.native.d.mts +15 -0
- package/lib/components/countdown/Countdown.native.js +342 -151
- package/lib/components/countdown/Countdown.native.mjs +23 -0
- package/lib/components/countdown/CountdownEnum.js +65 -32
- package/lib/components/countdown/CountdownProps.js +19 -2
- package/lib/components/countdown/index.js +196 -5
- package/lib/components/countdown/index.mjs +1 -1
- package/lib/components/countdown/index.native.d.mts +4 -0
- package/lib/components/countdown/index.native.js +384 -5
- package/lib/components/countdown/index.native.mjs +30 -0
- package/lib/components/divider/Divider.js +203 -29
- package/lib/components/divider/Divider.mjs +8 -8
- package/lib/components/divider/Divider.native.d.mts +14 -0
- package/lib/components/divider/Divider.native.js +415 -69
- package/lib/components/divider/Divider.native.mjs +28 -0
- package/lib/components/divider/{DividerProps.d.mts → DividerProps/index.d.mts} +3 -3
- package/lib/components/divider/{DividerProps.d.ts → DividerProps/index.d.ts} +3 -3
- package/lib/components/divider/DividerProps/index.js +19 -0
- package/lib/components/divider/DividerProps/index.mjs +2 -0
- package/lib/components/divider/DividerProps/index.native.d.mts +15 -0
- package/lib/components/divider/DividerProps/index.native.d.ts +15 -0
- package/lib/components/divider/DividerProps/index.native.js +19 -0
- package/lib/components/divider/DividerProps/index.native.mjs +1 -0
- package/lib/components/divider/index.js +208 -4
- package/lib/components/divider/index.mjs +9 -9
- package/lib/components/divider/index.native.d.mts +3 -0
- package/lib/components/divider/index.native.js +423 -4
- package/lib/components/divider/index.native.mjs +30 -0
- package/lib/components/enumsComponentsName.js +194 -165
- package/lib/components/fab/Fab.js +236 -50
- package/lib/components/fab/Fab.mjs +9 -9
- package/lib/components/fab/Fab.native.d.mts +18 -0
- package/lib/components/fab/Fab.native.js +426 -62
- package/lib/components/fab/Fab.native.mjs +61 -0
- package/lib/components/fab/FabProps.js +19 -2
- package/lib/components/fab/index.js +242 -4
- package/lib/components/fab/index.mjs +10 -10
- package/lib/components/fab/index.native.d.mts +3 -0
- package/lib/components/fab/index.native.js +431 -4
- package/lib/components/fab/index.native.mjs +63 -0
- package/lib/components/flex-box/FlexBox.js +147 -30
- package/lib/components/flex-box/FlexBox.mjs +4 -4
- package/lib/components/flex-box/FlexBox.native.d.mts +5 -0
- package/lib/components/flex-box/FlexBox.native.js +510 -46
- package/lib/components/flex-box/FlexBox.native.mjs +63 -0
- package/lib/components/flex-box/FlexBoxProps.js +19 -2
- package/lib/components/flex-box/context/index.js +46 -7
- package/lib/components/flex-box/context/index.mjs +3 -9
- package/lib/components/flex-box/flex-item/FlexItem.js +117 -39
- package/lib/components/flex-box/flex-item/FlexItem.mjs +3 -3
- package/lib/components/flex-box/flex-item/FlexItem.native.d.mts +29 -0
- package/lib/components/flex-box/flex-item/FlexItem.native.js +99 -51
- package/lib/components/flex-box/flex-item/FlexItem.native.mjs +11 -0
- package/lib/components/flex-box/flex-item/FlexItemProps.js +19 -2
- package/lib/components/flex-box/index.js +183 -4
- package/lib/components/flex-box/index.mjs +5 -5
- package/lib/components/flex-box/index.native.d.mts +3 -0
- package/lib/components/flex-box/index.native.js +563 -4
- package/lib/components/flex-box/index.native.mjs +68 -0
- package/lib/components/hero/Hero.js +148 -31
- package/lib/components/hero/Hero.mjs +2 -2
- package/lib/components/hero/Hero.native.d.mts +16 -0
- package/lib/components/hero/Hero.native.js +629 -81
- package/lib/components/hero/Hero.native.mjs +67 -0
- package/lib/components/hero/HeroProps.js +19 -2
- package/lib/components/hero/heroEnum.js +37 -8
- package/lib/components/hero/index.js +166 -4
- package/lib/components/hero/index.mjs +3 -3
- package/lib/components/hero/index.native.d.mts +4 -0
- package/lib/components/hero/index.native.js +656 -5
- package/lib/components/hero/index.native.mjs +73 -0
- package/lib/components/icon/Icon.js +179 -37
- package/lib/components/icon/Icon.mjs +6 -6
- package/lib/components/icon/Icon.native.d.mts +22 -0
- package/lib/components/icon/Icon.native.js +243 -115
- package/lib/components/icon/Icon.native.mjs +14 -0
- package/lib/components/icon/IconEnum.js +88 -61
- package/lib/components/icon/IconNameEnum.js +57 -28
- package/lib/components/icon/IconProps.d.mts +1 -1
- package/lib/components/icon/IconProps.d.ts +1 -1
- package/lib/components/icon/IconProps.js +19 -2
- package/lib/components/icon/IconProps.mjs +1 -0
- package/lib/components/icon/index.js +277 -5
- package/lib/components/icon/index.mjs +9 -9
- package/lib/components/icon/index.native.d.mts +5 -0
- package/lib/components/icon/index.native.js +346 -6
- package/lib/components/icon/index.native.mjs +33 -0
- package/lib/components/image/Image.js +240 -36
- package/lib/components/image/Image.mjs +29 -29
- package/lib/components/image/Image.native.d.mts +15 -0
- package/lib/components/image/Image.native.js +62 -29
- package/lib/components/image/Image.native.mjs +9 -0
- package/lib/components/image/ImageProps.js +36 -7
- package/lib/components/image/index.js +257 -5
- package/lib/components/image/index.mjs +29 -29
- package/lib/components/image/index.native.d.mts +4 -0
- package/lib/components/image/index.native.js +79 -5
- package/lib/components/image/index.native.mjs +14 -0
- package/lib/components/index.js +5905 -51
- package/lib/components/index.mjs +328 -328
- package/lib/components/index.native.d.mts +49 -0
- package/lib/components/index.native.js +8774 -51
- package/lib/components/index.native.mjs +735 -0
- package/lib/components/input/Input.js +669 -191
- package/lib/components/input/Input.mjs +32 -32
- package/lib/components/input/Input.native.d.mts +37 -0
- package/lib/components/input/Input.native.js +939 -328
- package/lib/components/input/Input.native.mjs +68 -0
- package/lib/components/input/InputEnum.js +176 -187
- package/lib/components/input/InputProps.d.mts +4 -3
- package/lib/components/input/InputProps.d.ts +4 -3
- package/lib/components/input/InputProps.js +19 -2
- package/lib/components/input/gauge/InputGauge.js +375 -28
- package/lib/components/input/gauge/InputGauge.mjs +28 -28
- package/lib/components/input/gauge/InputGauge.native.d.mts +7 -0
- package/lib/components/input/gauge/InputGauge.native.js +511 -52
- package/lib/components/input/gauge/InputGauge.native.mjs +62 -0
- package/lib/components/input/gauge/hook/useGauge.d.mts +1 -1
- package/lib/components/input/gauge/hook/useGauge.d.ts +1 -1
- package/lib/components/input/gauge/hook/useGauge.js +280 -73
- package/lib/components/input/gauge/hook/useGauge.mjs +27 -27
- package/lib/components/input/gauge/hook/useGauge.native.d.mts +32 -0
- package/lib/components/input/gauge/hook/useGauge.native.d.ts +32 -0
- package/lib/components/input/gauge/hook/useGauge.native.js +348 -0
- package/lib/components/input/gauge/hook/useGauge.native.mjs +57 -0
- package/lib/components/input/index.js +834 -5
- package/lib/components/input/index.mjs +33 -33
- package/lib/components/input/index.native.d.mts +4 -0
- package/lib/components/input/index.native.js +1111 -5
- package/lib/components/input/index.native.mjs +85 -0
- package/lib/components/interface.js +19 -2
- package/lib/components/interface.native.d.mts +2 -0
- package/lib/components/interface.native.d.ts +2 -0
- package/lib/components/interface.native.js +19 -0
- package/lib/components/interface.native.mjs +1 -0
- package/lib/components/link/Link.js +243 -45
- package/lib/components/link/Link.mjs +8 -8
- package/lib/components/link/Link.native.d.mts +16 -0
- package/lib/components/link/Link.native.js +313 -55
- package/lib/components/link/Link.native.mjs +18 -0
- package/lib/components/link/LinkProps.js +19 -2
- package/lib/components/link/index.js +252 -3
- package/lib/components/link/index.mjs +8 -8
- package/lib/components/link/index.native.d.mts +2 -0
- package/lib/components/link/index.native.js +318 -3
- package/lib/components/link/index.native.mjs +19 -0
- package/lib/components/list/List.js +80 -21
- package/lib/components/list/List.mjs +1 -1
- package/lib/components/list/List.native.d.mts +11 -0
- package/lib/components/list/List.native.js +54 -17
- package/lib/components/list/List.native.mjs +12 -0
- package/lib/components/list/ListProps.js +19 -2
- package/lib/components/list/context/ListContext.js +46 -7
- package/lib/components/list/context/ListContextProps.js +19 -2
- package/lib/components/list/context/index.js +49 -3
- package/lib/components/list/context/index.mjs +1 -0
- package/lib/components/list/index.js +279 -5
- package/lib/components/list/index.mjs +32 -32
- package/lib/components/list/index.native.d.mts +4 -0
- package/lib/components/list/index.native.d.ts +1 -1
- package/lib/components/list/index.native.js +431 -5
- package/lib/components/list/index.native.mjs +75 -0
- package/lib/components/list/item/ListItem.js +233 -24
- package/lib/components/list/item/ListItem.mjs +29 -29
- package/lib/components/list/item/ListItem.native.d.mts +11 -0
- package/lib/components/list/item/ListItem.native.js +400 -56
- package/lib/components/list/item/ListItem.native.mjs +64 -0
- package/lib/components/list/item/ListItemProps.js +37 -8
- package/lib/components/list/item/description/ListItemDescription.js +96 -17
- package/lib/components/list/item/description/ListItemDescription.mjs +2 -2
- package/lib/components/list/item/description/ListItemDescription.native.d.mts +8 -0
- package/lib/components/list/item/description/ListItemDescription.native.js +457 -16
- package/lib/components/list/item/description/ListItemDescription.native.mjs +65 -0
- package/lib/components/list/item/description/ListItemDescriptionProps.js +19 -2
- package/lib/components/list/item/description/index.js +101 -4
- package/lib/components/list/item/description/index.mjs +2 -2
- package/lib/components/list/item/description/index.native.d.mts +3 -0
- package/lib/components/list/item/description/index.native.js +462 -4
- package/lib/components/list/item/description/index.native.mjs +66 -0
- package/lib/components/list/item/index.js +263 -5
- package/lib/components/list/item/index.mjs +31 -31
- package/lib/components/list/item/index.native.d.mts +4 -0
- package/lib/components/list/item/index.native.js +423 -5
- package/lib/components/list/item/index.native.mjs +72 -0
- package/lib/components/modal/Modal.js +555 -87
- package/lib/components/modal/Modal.mjs +11 -11
- package/lib/components/modal/Modal.native.d.mts +15 -0
- package/lib/components/modal/Modal.native.js +604 -67
- package/lib/components/modal/Modal.native.mjs +67 -0
- package/lib/components/modal/ModalEnum.js +60 -30
- package/lib/components/modal/ModalProps.js +19 -2
- package/lib/components/modal/body/ModalBody.js +94 -18
- package/lib/components/modal/body/ModalBody.mjs +2 -2
- package/lib/components/modal/body/ModalBody.native.d.mts +10 -0
- package/lib/components/modal/body/ModalBody.native.js +316 -24
- package/lib/components/modal/body/ModalBody.native.mjs +58 -0
- package/lib/components/modal/body/ModalBodyProps.js +19 -2
- package/lib/components/modal/body/index.native.d.mts +2 -0
- package/lib/components/modal/body/index.native.js +320 -3
- package/lib/components/modal/body/index.native.mjs +61 -0
- package/lib/components/modal/context/ModalContext.js +46 -7
- package/lib/components/modal/context/ModalContextProps.js +19 -2
- package/lib/components/modal/context/index.js +49 -3
- package/lib/components/modal/context/index.mjs +2 -1
- package/lib/components/modal/footer/ModalFooter.js +96 -18
- package/lib/components/modal/footer/ModalFooter.mjs +2 -2
- package/lib/components/modal/footer/ModalFooter.native.d.mts +9 -0
- package/lib/components/modal/footer/ModalFooter.native.js +414 -31
- package/lib/components/modal/footer/ModalFooter.native.mjs +64 -0
- package/lib/components/modal/footer/ModalFooterProps.js +19 -2
- package/lib/components/modal/footer/index.native.d.mts +2 -0
- package/lib/components/modal/footer/index.native.js +419 -3
- package/lib/components/modal/footer/index.native.mjs +67 -0
- package/lib/components/modal/index.js +627 -6
- package/lib/components/modal/index.mjs +19 -19
- package/lib/components/modal/index.native.d.mts +5 -0
- package/lib/components/modal/index.native.js +713 -6
- package/lib/components/modal/index.native.mjs +86 -0
- package/lib/components/otp/Otp.js +310 -115
- package/lib/components/otp/Otp.mjs +7 -7
- package/lib/components/otp/Otp.native.d.mts +17 -0
- package/lib/components/otp/Otp.native.js +554 -130
- package/lib/components/otp/Otp.native.mjs +65 -0
- package/lib/components/otp/OtpProps.js +19 -2
- package/lib/components/otp/index.js +330 -4
- package/lib/components/otp/index.mjs +8 -8
- package/lib/components/otp/index.native.d.mts +3 -0
- package/lib/components/otp/index.native.js +565 -4
- package/lib/components/otp/index.native.mjs +67 -0
- package/lib/components/pagination/Pagination.js +264 -86
- package/lib/components/pagination/Pagination.mjs +8 -8
- package/lib/components/pagination/Pagination.native.d.mts +12 -0
- package/lib/components/pagination/Pagination.native.js +464 -129
- package/lib/components/pagination/Pagination.native.mjs +28 -0
- package/lib/components/pagination/PaginationEnum.js +19 -2
- package/lib/components/pagination/PaginationProps.js +19 -2
- package/lib/components/pagination/index.js +273 -5
- package/lib/components/pagination/index.mjs +8 -8
- package/lib/components/pagination/index.native.d.mts +4 -0
- package/lib/components/pagination/index.native.js +473 -5
- package/lib/components/pagination/index.native.mjs +31 -0
- package/lib/components/popover/Popover.js +88 -26
- package/lib/components/popover/Popover.mjs +1 -1
- package/lib/components/popover/Popover.native.d.mts +12 -0
- package/lib/components/popover/Popover.native.js +352 -89
- package/lib/components/popover/Popover.native.mjs +58 -0
- package/lib/components/popover/PopoverEnum.js +43 -18
- package/lib/components/popover/PopoverProps.js +19 -2
- package/lib/components/popover/index.js +110 -5
- package/lib/components/popover/index.mjs +2 -2
- package/lib/components/popover/index.native.d.mts +4 -0
- package/lib/components/popover/index.native.js +378 -5
- package/lib/components/popover/index.native.mjs +65 -0
- package/lib/components/price/Price.js +347 -82
- package/lib/components/price/Price.mjs +30 -30
- package/lib/components/price/Price.native.d.mts +21 -0
- package/lib/components/price/Price.native.js +490 -224
- package/lib/components/price/Price.native.mjs +63 -0
- package/lib/components/price/PriceEnum.js +40 -11
- package/lib/components/price/PriceHelpers.js +36 -7
- package/lib/components/price/PriceProps.js +19 -2
- package/lib/components/price/index.js +371 -5
- package/lib/components/price/index.mjs +31 -31
- package/lib/components/price/index.native.d.mts +4 -0
- package/lib/components/price/index.native.js +524 -5
- package/lib/components/price/index.native.mjs +68 -0
- package/lib/components/product-tour/ProductTour.js +200 -35
- package/lib/components/product-tour/ProductTour.mjs +9 -9
- package/lib/components/product-tour/ProductTour.native.d.mts +9 -0
- package/lib/components/product-tour/ProductTour.native.js +42 -12
- package/lib/components/product-tour/ProductTour.native.mjs +9 -0
- package/lib/components/product-tour/ProductTourProps.js +57 -33
- package/lib/components/product-tour/index.js +237 -4
- package/lib/components/product-tour/index.mjs +11 -11
- package/lib/components/product-tour/index.native.d.mts +3 -0
- package/lib/components/product-tour/index.native.js +80 -4
- package/lib/components/product-tour/index.native.mjs +18 -0
- package/lib/components/progress/Progress.js +317 -33
- package/lib/components/progress/Progress.mjs +30 -30
- package/lib/components/progress/Progress.native.d.mts +13 -0
- package/lib/components/progress/Progress.native.d.ts +1 -1
- package/lib/components/progress/Progress.native.js +520 -87
- package/lib/components/progress/Progress.native.mjs +65 -0
- package/lib/components/progress/{ProgressProps.d.mts → ProgressProps/index.d.mts} +2 -2
- package/lib/components/progress/{ProgressProps.d.ts → ProgressProps/index.d.ts} +2 -2
- package/lib/components/progress/ProgressProps/index.js +19 -0
- package/lib/components/progress/ProgressProps/index.mjs +1 -0
- package/lib/components/progress/ProgressProps/index.native.d.mts +18 -0
- package/lib/components/progress/ProgressProps/index.native.d.ts +18 -0
- package/lib/components/progress/ProgressProps/index.native.js +19 -0
- package/lib/components/progress/ProgressProps/index.native.mjs +1 -0
- package/lib/components/progress/index.js +539 -6
- package/lib/components/progress/index.mjs +33 -33
- package/lib/components/progress/index.native.d.mts +4 -0
- package/lib/components/progress/index.native.js +1903 -5
- package/lib/components/progress/index.native.mjs +77 -0
- package/lib/components/progress/item/ProgressItem.js +233 -25
- package/lib/components/progress/item/ProgressItem.mjs +28 -28
- package/lib/components/progress/item/ProgressItem.native.d.mts +12 -0
- package/lib/components/progress/item/ProgressItem.native.d.ts +1 -1
- package/lib/components/progress/item/ProgressItem.native.js +55 -28
- package/lib/components/progress/item/ProgressItem.native.mjs +9 -0
- package/lib/components/progress/item/{ProgressItemProps.d.mts → ProgressItemProps/index.d.mts} +1 -1
- package/lib/components/progress/item/{ProgressItemProps.d.ts → ProgressItemProps/index.d.ts} +1 -1
- package/lib/components/progress/item/ProgressItemProps/index.js +19 -0
- package/lib/components/progress/item/ProgressItemProps/index.mjs +1 -0
- package/lib/components/progress/item/ProgressItemProps/index.native.d.mts +19 -0
- package/lib/components/progress/item/ProgressItemProps/index.native.d.ts +19 -0
- package/lib/components/progress/item/ProgressItemProps/index.native.js +19 -0
- package/lib/components/progress/item/ProgressItemProps/index.native.mjs +1 -0
- package/lib/components/progress/item/index.js +239 -3
- package/lib/components/progress/item/index.mjs +28 -28
- package/lib/components/progress/item/index.native.d.mts +2 -0
- package/lib/components/progress/item/index.native.d.ts +2 -0
- package/lib/components/progress/item/index.native.js +64 -0
- package/lib/components/progress/item/index.native.mjs +12 -0
- package/lib/components/progress/radial/ProgressRadial.js +364 -71
- package/lib/components/progress/radial/ProgressRadial.mjs +8 -8
- package/lib/components/progress/radial/ProgressRadial.native.d.mts +17 -0
- package/lib/components/progress/radial/ProgressRadial.native.js +1686 -85
- package/lib/components/progress/radial/ProgressRadial.native.mjs +64 -0
- package/lib/components/progress/radial/{ProgressRadialProps.d.mts → ProgressRadialProps/index.d.mts} +3 -3
- package/lib/components/progress/radial/{ProgressRadialProps.d.ts → ProgressRadialProps/index.d.ts} +3 -3
- package/lib/components/progress/radial/ProgressRadialProps/index.js +19 -0
- package/lib/components/progress/radial/ProgressRadialProps/index.mjs +1 -0
- package/lib/components/progress/radial/ProgressRadialProps/index.native.d.mts +23 -0
- package/lib/components/progress/radial/ProgressRadialProps/index.native.d.ts +23 -0
- package/lib/components/progress/radial/ProgressRadialProps/index.native.js +19 -0
- package/lib/components/progress/radial/ProgressRadialProps/index.native.mjs +1 -0
- package/lib/components/progress/radial/index.js +372 -3
- package/lib/components/progress/radial/index.mjs +9 -9
- package/lib/components/progress/radial/index.native.d.mts +2 -0
- package/lib/components/progress/radial/index.native.d.ts +2 -0
- package/lib/components/progress/radial/index.native.js +1697 -0
- package/lib/components/progress/radial/index.native.mjs +67 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.js +19 -2
- package/lib/components/progress/radial/item/ProgressRadialtem.js +95 -11
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +1 -1
- package/lib/components/progress/radial/item/index.mjs +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +1272 -64
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +1197 -111
- package/lib/components/progress/radial/react-native-circular-progress/index.js +1287 -4
- package/lib/components/progress/radial/react-native-circular-progress/index.mjs +1 -0
- package/lib/components/radio/Radio.js +94 -36
- package/lib/components/radio/Radio.mjs +1 -1
- package/lib/components/radio/Radio.native.d.mts +16 -0
- package/lib/components/radio/Radio.native.js +400 -61
- package/lib/components/radio/Radio.native.mjs +61 -0
- package/lib/components/radio/RadioProps.js +19 -2
- package/lib/components/radio/index.js +441 -7
- package/lib/components/radio/index.mjs +35 -35
- package/lib/components/radio/index.native.d.mts +6 -0
- package/lib/components/radio/index.native.js +995 -7
- package/lib/components/radio/index.native.mjs +88 -0
- package/lib/components/radio/list/RadioList.js +241 -24
- package/lib/components/radio/list/RadioList.mjs +29 -29
- package/lib/components/radio/list/RadioList.native.d.mts +9 -0
- package/lib/components/radio/list/RadioList.native.js +428 -22
- package/lib/components/radio/list/RadioList.native.mjs +19 -0
- package/lib/components/radio/list/RadioListProps.js +19 -2
- package/lib/components/radio/list/index.js +246 -3
- package/lib/components/radio/list/index.mjs +29 -29
- package/lib/components/radio/list/index.native.d.mts +2 -0
- package/lib/components/radio/list/index.native.js +434 -3
- package/lib/components/radio/list/index.native.mjs +19 -0
- package/lib/components/radio/tiles/RadioTiles.js +247 -35
- package/lib/components/radio/tiles/RadioTiles.mjs +29 -29
- package/lib/components/radio/tiles/RadioTiles.native.d.mts +12 -0
- package/lib/components/radio/tiles/RadioTiles.native.js +86 -32
- package/lib/components/radio/tiles/RadioTiles.native.mjs +14 -0
- package/lib/components/radio/tiles/RadioTilesProps.js +19 -2
- package/lib/components/radio/tiles/index.mjs +29 -29
- package/lib/components/radio/tiles/index.native.d.mts +2 -0
- package/lib/components/radio/tiles/index.native.js +90 -3
- package/lib/components/radio/tiles/index.native.mjs +17 -0
- package/lib/components/radio/tiles/tile/RadioTile.js +287 -52
- package/lib/components/radio/tiles/tile/RadioTile.mjs +29 -29
- package/lib/components/radio/tiles/tile/RadioTile.native.d.mts +20 -0
- package/lib/components/radio/tiles/tile/RadioTile.native.js +546 -116
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +68 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.js +19 -2
- package/lib/components/radio/tiles/tile/index.mjs +29 -29
- package/lib/components/radio/tiles/tile/index.native.d.mts +2 -0
- package/lib/components/radio/tiles/tile/index.native.js +554 -3
- package/lib/components/radio/tiles/tile/index.native.mjs +71 -0
- package/lib/components/range/Range.js +309 -95
- package/lib/components/range/Range.mjs +27 -27
- package/lib/components/range/Range.native.d.mts +16 -0
- package/lib/components/range/Range.native.js +424 -67
- package/lib/components/range/Range.native.mjs +61 -0
- package/lib/components/range/RangeProps.js +19 -2
- package/lib/components/range/index.js +320 -3
- package/lib/components/range/index.mjs +27 -27
- package/lib/components/range/index.native.d.mts +2 -0
- package/lib/components/range/index.native.js +430 -3
- package/lib/components/range/index.native.mjs +62 -0
- package/lib/components/rows/Rows.js +112 -18
- package/lib/components/rows/Rows.mjs +4 -4
- package/lib/components/rows/Rows.native.d.mts +10 -0
- package/lib/components/rows/Rows.native.js +56 -23
- package/lib/components/rows/Rows.native.mjs +10 -0
- package/lib/components/rows/RowsProps.js +19 -2
- package/lib/components/rows/index.js +133 -4
- package/lib/components/rows/index.mjs +4 -4
- package/lib/components/rows/index.native.d.mts +3 -0
- package/lib/components/rows/index.native.js +83 -4
- package/lib/components/rows/index.native.mjs +16 -0
- package/lib/components/rows/row/Row.js +102 -20
- package/lib/components/rows/row/Row.mjs +3 -3
- package/lib/components/rows/row/Row.native.d.mts +10 -0
- package/lib/components/rows/row/Row.native.js +48 -19
- package/lib/components/rows/row/Row.native.mjs +9 -0
- package/lib/components/rows/row/RowProps.js +19 -2
- package/lib/components/rows/row/index.js +106 -3
- package/lib/components/rows/row/index.mjs +3 -3
- package/lib/components/rows/row/index.native.d.mts +2 -0
- package/lib/components/rows/row/index.native.js +54 -3
- package/lib/components/rows/row/index.native.mjs +10 -0
- package/lib/components/scroll-view/ScrollView.js +219 -38
- package/lib/components/scroll-view/ScrollView.mjs +29 -29
- package/lib/components/scroll-view/ScrollView.native.d.mts +5 -0
- package/lib/components/scroll-view/ScrollView.native.js +374 -42
- package/lib/components/scroll-view/ScrollView.native.mjs +57 -0
- package/lib/components/scroll-view/ScrollViewProps.js +19 -2
- package/lib/components/scroll-view/index.js +226 -4
- package/lib/components/scroll-view/index.mjs +29 -29
- package/lib/components/scroll-view/index.native.d.mts +3 -0
- package/lib/components/scroll-view/index.native.js +384 -4
- package/lib/components/scroll-view/index.native.mjs +59 -0
- package/lib/components/section/Section.js +224 -27
- package/lib/components/section/Section.mjs +28 -28
- package/lib/components/section/Section.native.d.mts +12 -0
- package/lib/components/section/Section.native.js +299 -26
- package/lib/components/section/Section.native.mjs +57 -0
- package/lib/components/section/SectionProps.js +19 -2
- package/lib/components/section/index.js +229 -3
- package/lib/components/section/index.mjs +28 -28
- package/lib/components/section/index.native.d.mts +2 -0
- package/lib/components/section/index.native.js +306 -3
- package/lib/components/section/index.native.mjs +58 -0
- package/lib/components/segment-control/SegmentControl.js +291 -54
- package/lib/components/segment-control/SegmentControl.mjs +28 -28
- package/lib/components/segment-control/SegmentControl.native.d.mts +11 -0
- package/lib/components/segment-control/SegmentControl.native.js +598 -69
- package/lib/components/segment-control/SegmentControl.native.mjs +73 -0
- package/lib/components/segment-control/SegmentControlProps.js +19 -2
- package/lib/components/segment-control/index.js +303 -5
- package/lib/components/segment-control/index.mjs +29 -29
- package/lib/components/segment-control/index.native.d.mts +4 -0
- package/lib/components/segment-control/index.native.js +660 -5
- package/lib/components/segment-control/index.native.mjs +79 -0
- package/lib/components/segment-control/item/SegmentControlItem.js +118 -31
- package/lib/components/segment-control/item/SegmentControlItem.mjs +2 -2
- package/lib/components/segment-control/item/SegmentControlItem.native.d.mts +13 -0
- package/lib/components/segment-control/item/SegmentControlItem.native.js +137 -49
- package/lib/components/segment-control/item/SegmentControlItem.native.mjs +10 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.js +19 -2
- package/lib/components/segment-control/item/index.js +123 -3
- package/lib/components/segment-control/item/index.mjs +2 -2
- package/lib/components/segment-control/item/index.native.d.mts +2 -0
- package/lib/components/segment-control/item/index.native.js +143 -3
- package/lib/components/segment-control/item/index.native.mjs +13 -0
- package/lib/components/select/Select.js +1008 -51
- package/lib/components/select/Select.mjs +39 -39
- package/lib/components/select/Select.native.d.mts +17 -0
- package/lib/components/select/Select.native.js +1512 -124
- package/lib/components/select/Select.native.mjs +88 -0
- package/lib/components/select/SelectEnum.js +35 -6
- package/lib/components/select/SelectProps.d.mts +4 -3
- package/lib/components/select/SelectProps.d.ts +4 -3
- package/lib/components/select/SelectProps.js +19 -2
- package/lib/components/select/context/index.js +48 -9
- package/lib/components/select/index.js +1025 -6
- package/lib/components/select/index.mjs +39 -39
- package/lib/components/select/index.native.d.mts +5 -0
- package/lib/components/select/index.native.d.ts +1 -1
- package/lib/components/select/index.native.js +1535 -6
- package/lib/components/select/index.native.mjs +97 -0
- package/lib/components/select/option/SelectOption.js +252 -56
- package/lib/components/select/option/SelectOption.mjs +8 -8
- package/lib/components/select/option/SelectOption.native.d.mts +11 -0
- package/lib/components/select/option/SelectOption.native.js +539 -50
- package/lib/components/select/option/SelectOption.native.mjs +66 -0
- package/lib/components/select/option/SelectOptionProps.js +19 -2
- package/lib/components/select/option/index.js +261 -3
- package/lib/components/select/option/index.mjs +9 -9
- package/lib/components/select/option/index.native.d.mts +2 -0
- package/lib/components/select/option/index.native.js +547 -3
- package/lib/components/select/option/index.native.mjs +67 -0
- package/lib/components/select/web/SelectDynamic.js +811 -75
- package/lib/components/select/web/SelectDynamic.mjs +34 -34
- package/lib/components/select/web/SelectNative.js +1005 -62
- package/lib/components/select/web/SelectNative.mjs +39 -39
- package/lib/components/select/web/index.js +1015 -3
- package/lib/components/select/web/index.mjs +39 -39
- package/lib/components/spacer/Spacer.js +76 -23
- package/lib/components/spacer/Spacer.mjs +1 -1
- package/lib/components/spacer/Spacer.native.d.mts +10 -0
- package/lib/components/spacer/Spacer.native.js +48 -19
- package/lib/components/spacer/Spacer.native.mjs +9 -0
- package/lib/components/spacer/SpacerEnum.js +47 -19
- package/lib/components/spacer/SpacerProps.js +19 -2
- package/lib/components/spacer/index.js +102 -5
- package/lib/components/spacer/index.mjs +1 -1
- package/lib/components/spacer/index.native.d.mts +4 -0
- package/lib/components/spacer/index.native.js +76 -5
- package/lib/components/spacer/index.native.mjs +17 -0
- package/lib/components/stepper/Stepper.js +201 -52
- package/lib/components/stepper/Stepper.mjs +5 -5
- package/lib/components/stepper/Stepper.native.d.mts +10 -0
- package/lib/components/stepper/Stepper.native.js +431 -89
- package/lib/components/stepper/Stepper.native.mjs +61 -0
- package/lib/components/stepper/StepperProps.js +19 -2
- package/lib/components/stepper/index.js +334 -6
- package/lib/components/stepper/index.mjs +15 -15
- package/lib/components/stepper/index.native.d.mts +5 -0
- package/lib/components/stepper/index.native.js +497 -6
- package/lib/components/stepper/index.native.mjs +71 -0
- package/lib/components/stepper/step/Step.js +203 -34
- package/lib/components/stepper/step/Step.mjs +8 -8
- package/lib/components/stepper/step/Step.native.d.mts +12 -0
- package/lib/components/stepper/step/Step.native.js +314 -50
- package/lib/components/stepper/step/Step.native.mjs +57 -0
- package/lib/components/stepper/step/StepEnum.js +37 -11
- package/lib/components/stepper/step/StepProps.js +19 -2
- package/lib/components/stepper/step/index.js +207 -3
- package/lib/components/stepper/step/index.mjs +9 -9
- package/lib/components/stepper/step/index.native.d.mts +2 -0
- package/lib/components/stepper/step/index.native.js +321 -3
- package/lib/components/stepper/step/index.native.mjs +60 -0
- package/lib/components/sticker/Sticker.js +235 -29
- package/lib/components/sticker/Sticker.mjs +28 -28
- package/lib/components/sticker/Sticker.native.d.mts +15 -0
- package/lib/components/sticker/Sticker.native.js +416 -59
- package/lib/components/sticker/Sticker.native.mjs +61 -0
- package/lib/components/sticker/StickerProps.js +19 -2
- package/lib/components/sticker/index.js +240 -3
- package/lib/components/sticker/index.mjs +28 -28
- package/lib/components/sticker/index.native.d.mts +2 -0
- package/lib/components/sticker/index.native.js +421 -3
- package/lib/components/sticker/index.native.mjs +62 -0
- package/lib/components/styleComponent/default/styleComponent.native.d.mts +5 -0
- package/lib/components/styleComponent/default/styleComponent.native.js +40 -5
- package/lib/components/styleComponent/default/styleComponent.native.mjs +12 -0
- package/lib/components/styleComponent/index.mjs +4 -4
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.d.mts +5 -0
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.js +40 -5
- package/lib/components/styleComponent/mangled/styleComponentMangled.native.mjs +12 -0
- package/lib/components/switch/Switch.js +284 -60
- package/lib/components/switch/Switch.mjs +27 -27
- package/lib/components/switch/Switch.native.d.mts +15 -0
- package/lib/components/switch/Switch.native.js +324 -41
- package/lib/components/switch/Switch.native.mjs +57 -0
- package/lib/components/switch/SwitchProps.js +19 -2
- package/lib/components/switch/index.js +291 -3
- package/lib/components/switch/index.mjs +27 -27
- package/lib/components/switch/index.native.d.mts +2 -0
- package/lib/components/switch/index.native.js +330 -3
- package/lib/components/switch/index.native.mjs +58 -0
- package/lib/components/table/Table.js +95 -25
- package/lib/components/table/Table.mjs +1 -1
- package/lib/components/table/Table.native.d.mts +10 -0
- package/lib/components/table/Table.native.js +303 -29
- package/lib/components/table/Table.native.mjs +58 -0
- package/lib/components/table/TableProps.js +36 -7
- package/lib/components/table/body/TableBody.js +130 -23
- package/lib/components/table/body/TableBody.mjs +2 -2
- package/lib/components/table/body/TableBody.native.d.mts +9 -0
- package/lib/components/table/body/TableBody.native.js +49 -19
- package/lib/components/table/body/TableBody.native.mjs +9 -0
- package/lib/components/table/body/TableBodyProps.js +19 -2
- package/lib/components/table/body/index.js +136 -3
- package/lib/components/table/body/index.mjs +2 -2
- package/lib/components/table/body/index.native.d.mts +2 -0
- package/lib/components/table/body/index.native.js +55 -3
- package/lib/components/table/body/index.native.mjs +12 -0
- package/lib/components/table/head/TableHead.js +130 -23
- package/lib/components/table/head/TableHead.mjs +2 -2
- package/lib/components/table/head/TableHead.native.d.mts +9 -0
- package/lib/components/table/head/TableHead.native.js +48 -18
- package/lib/components/table/head/TableHead.native.mjs +9 -0
- package/lib/components/table/head/TableHeadProps.js +19 -2
- package/lib/components/table/head/index.js +136 -3
- package/lib/components/table/head/index.mjs +2 -2
- package/lib/components/table/head/index.native.d.mts +2 -0
- package/lib/components/table/head/index.native.js +54 -3
- package/lib/components/table/head/index.native.mjs +12 -0
- package/lib/components/table/index.js +271 -9
- package/lib/components/table/index.mjs +9 -9
- package/lib/components/table/index.native.d.mts +8 -0
- package/lib/components/table/index.native.js +609 -9
- package/lib/components/table/index.native.mjs +90 -0
- package/lib/components/table/td/TableTd.js +70 -20
- package/lib/components/table/td/TableTd.mjs +1 -1
- package/lib/components/table/td/TableTd.native.d.mts +9 -0
- package/lib/components/table/td/TableTd.native.js +294 -26
- package/lib/components/table/td/TableTd.native.mjs +57 -0
- package/lib/components/table/td/TableTdProps.js +19 -2
- package/lib/components/table/td/index.js +76 -3
- package/lib/components/table/td/index.mjs +1 -1
- package/lib/components/table/td/index.native.d.mts +2 -0
- package/lib/components/table/td/index.native.js +299 -3
- package/lib/components/table/td/index.native.mjs +60 -0
- package/lib/components/table/th/TableTh.js +70 -21
- package/lib/components/table/th/TableTh.mjs +1 -1
- package/lib/components/table/th/TableTh.native.d.mts +8 -0
- package/lib/components/table/th/TableTh.native.js +466 -29
- package/lib/components/table/th/TableTh.native.mjs +65 -0
- package/lib/components/table/th/TableThProps.js +19 -2
- package/lib/components/table/th/index.js +76 -3
- package/lib/components/table/th/index.mjs +1 -1
- package/lib/components/table/th/index.native.d.mts +2 -0
- package/lib/components/table/th/index.native.js +471 -3
- package/lib/components/table/th/index.native.mjs +68 -0
- package/lib/components/table/tr/TableTr.js +135 -26
- package/lib/components/table/tr/TableTr.mjs +2 -2
- package/lib/components/table/tr/TableTr.native.d.mts +10 -0
- package/lib/components/table/tr/TableTr.native.js +468 -34
- package/lib/components/table/tr/TableTr.native.mjs +65 -0
- package/lib/components/table/tr/TableTrProps.js +19 -2
- package/lib/components/table/tr/index.js +141 -3
- package/lib/components/table/tr/index.mjs +2 -2
- package/lib/components/table/tr/index.native.d.mts +2 -0
- package/lib/components/table/tr/index.native.js +477 -3
- package/lib/components/table/tr/index.native.mjs +68 -0
- package/lib/components/tabs/Tabs.js +108 -36
- package/lib/components/tabs/Tabs.mjs +1 -1
- package/lib/components/tabs/Tabs.native.d.mts +11 -0
- package/lib/components/tabs/Tabs.native.js +73 -29
- package/lib/components/tabs/Tabs.native.mjs +10 -0
- package/lib/components/tabs/TabsProps.d.mts +4 -1
- package/lib/components/tabs/TabsProps.d.ts +4 -1
- package/lib/components/tabs/TabsProps.js +19 -2
- package/lib/components/tabs/context/index.js +47 -8
- package/lib/components/tabs/index.js +529 -7
- package/lib/components/tabs/index.mjs +17 -17
- package/lib/components/tabs/index.native.d.mts +6 -0
- package/lib/components/tabs/index.native.js +611 -7
- package/lib/components/tabs/index.native.mjs +79 -0
- package/lib/components/tabs/tab-list/TabList.js +436 -71
- package/lib/components/tabs/tab-list/TabList.mjs +13 -13
- package/lib/components/tabs/tab-list/TabList.native.d.mts +14 -0
- package/lib/components/tabs/tab-list/TabList.native.js +516 -77
- package/lib/components/tabs/tab-list/TabList.native.mjs +63 -0
- package/lib/components/tabs/tab-list/TabListProps.d.mts +2 -1
- package/lib/components/tabs/tab-list/TabListProps.d.ts +2 -1
- package/lib/components/tabs/tab-list/TabListProps.js +19 -2
- package/lib/components/tabs/tab-list/index.mjs +13 -13
- package/lib/components/tabs/tab-list/index.native.d.mts +2 -0
- package/lib/components/tabs/tab-list/index.native.js +522 -3
- package/lib/components/tabs/tab-list/index.native.mjs +66 -0
- package/lib/components/tabs/tab-list/tab/Tab.js +308 -44
- package/lib/components/tabs/tab-list/tab/Tab.mjs +10 -10
- package/lib/components/tabs/tab-list/tab/Tab.native.d.mts +16 -0
- package/lib/components/tabs/tab-list/tab/Tab.native.js +397 -57
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +29 -0
- package/lib/components/tabs/tab-list/tab/TabProps.d.mts +4 -2
- package/lib/components/tabs/tab-list/tab/TabProps.d.ts +4 -2
- package/lib/components/tabs/tab-list/tab/TabProps.js +19 -2
- package/lib/components/tabs/tab-list/tab/index.mjs +10 -10
- package/lib/components/tabs/tab-list/tab/index.native.d.mts +2 -0
- package/lib/components/tabs/tab-list/tab/index.native.js +405 -3
- package/lib/components/tabs/tab-list/tab/index.native.mjs +32 -0
- package/lib/components/tabs/tab-panels/TabPanels.js +108 -25
- package/lib/components/tabs/tab-panels/TabPanels.mjs +1 -1
- package/lib/components/tabs/tab-panels/TabPanels.native.d.mts +13 -0
- package/lib/components/tabs/tab-panels/TabPanels.native.js +333 -29
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +59 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.mts +1 -1
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.ts +1 -1
- package/lib/components/tabs/tab-panels/TabPanelsProps.js +19 -2
- package/lib/components/tabs/tab-panels/index.mjs +1 -1
- package/lib/components/tabs/tab-panels/index.native.d.mts +2 -0
- package/lib/components/tabs/tab-panels/index.native.js +338 -3
- package/lib/components/tabs/tab-panels/index.native.mjs +62 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +89 -23
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +1 -1
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.d.mts +11 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +78 -41
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.mjs +10 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.mts +1 -1
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.ts +1 -1
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.js +19 -2
- package/lib/components/tabs/tab-panels/tab-panel/index.js +93 -3
- package/lib/components/tabs/tab-panels/tab-panel/index.mjs +1 -1
- package/lib/components/tabs/tab-panels/tab-panel/index.native.d.mts +2 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.native.js +82 -3
- package/lib/components/tabs/tab-panels/tab-panel/index.native.mjs +13 -0
- package/lib/components/tag/Tag.js +207 -29
- package/lib/components/tag/Tag.mjs +8 -8
- package/lib/components/tag/Tag.native.d.mts +14 -0
- package/lib/components/tag/Tag.native.js +302 -52
- package/lib/components/tag/Tag.native.mjs +19 -0
- package/lib/components/tag/TagEnum.js +37 -14
- package/lib/components/tag/TagProps.js +19 -2
- package/lib/components/tag/index.js +273 -6
- package/lib/components/tag/index.mjs +33 -33
- package/lib/components/tag/index.native.d.mts +5 -0
- package/lib/components/tag/index.native.js +512 -6
- package/lib/components/tag/index.native.mjs +80 -0
- package/lib/components/tag/list/TagList.js +222 -19
- package/lib/components/tag/list/TagList.mjs +29 -29
- package/lib/components/tag/list/TagList.native.d.mts +10 -0
- package/lib/components/tag/list/TagList.native.js +56 -27
- package/lib/components/tag/list/TagList.native.mjs +9 -0
- package/lib/components/tag/list/TagListProps.js +19 -2
- package/lib/components/tag/list/index.js +227 -3
- package/lib/components/tag/list/index.mjs +30 -30
- package/lib/components/tag/list/index.native.d.mts +2 -0
- package/lib/components/tag/list/index.native.js +62 -3
- package/lib/components/tag/list/index.native.mjs +12 -0
- package/lib/components/text/Text.js +140 -53
- package/lib/components/text/Text.mjs +2 -2
- package/lib/components/text/Text.native.d.mts +17 -0
- package/lib/components/text/Text.native.js +215 -71
- package/lib/components/text/Text.native.mjs +19 -0
- package/lib/components/text/TextEnum.js +44 -19
- package/lib/components/text/TextProps.d.mts +5 -3
- package/lib/components/text/TextProps.d.ts +5 -3
- package/lib/components/text/TextProps.js +19 -2
- package/lib/components/text/index.js +158 -5
- package/lib/components/text/index.mjs +2 -2
- package/lib/components/text/index.native.d.mts +4 -0
- package/lib/components/text/index.native.js +244 -5
- package/lib/components/text/index.native.mjs +26 -0
- package/lib/components/textarea/Textarea.js +332 -67
- package/lib/components/textarea/Textarea.mjs +30 -30
- package/lib/components/textarea/Textarea.native.d.mts +33 -0
- package/lib/components/textarea/Textarea.native.js +541 -150
- package/lib/components/textarea/Textarea.native.mjs +66 -0
- package/lib/components/textarea/TextareaProps.js +19 -2
- package/lib/components/textarea/index.js +338 -3
- package/lib/components/textarea/index.mjs +30 -30
- package/lib/components/textarea/index.native.d.mts +2 -0
- package/lib/components/textarea/index.native.js +547 -3
- package/lib/components/textarea/index.native.mjs +67 -0
- package/lib/components/timeline/Timeline.js +102 -20
- package/lib/components/timeline/Timeline.mjs +4 -4
- package/lib/components/timeline/Timeline.native.d.mts +15 -0
- package/lib/components/timeline/Timeline.native.js +65 -26
- package/lib/components/timeline/Timeline.native.mjs +11 -0
- package/lib/components/timeline/TimelineProps.d.mts +1 -1
- package/lib/components/timeline/TimelineProps.d.ts +1 -1
- package/lib/components/timeline/TimelineProps.js +19 -2
- package/lib/components/timeline/content/TimelineContent.js +337 -29
- package/lib/components/timeline/content/TimelineContent.mjs +10 -10
- package/lib/components/timeline/content/TimelineContent.native.d.mts +13 -0
- package/lib/components/timeline/content/TimelineContent.native.js +874 -45
- package/lib/components/timeline/content/TimelineContent.native.mjs +75 -0
- package/lib/components/timeline/content/TimelineContentProps.js +19 -2
- package/lib/components/timeline/content/index.js +343 -4
- package/lib/components/timeline/content/index.mjs +11 -11
- package/lib/components/timeline/content/index.native.d.mts +3 -0
- package/lib/components/timeline/content/index.native.js +879 -4
- package/lib/components/timeline/content/index.native.mjs +79 -0
- package/lib/components/timeline/index.js +400 -6
- package/lib/components/timeline/index.mjs +19 -19
- package/lib/components/timeline/index.native.d.mts +5 -0
- package/lib/components/timeline/index.native.js +932 -6
- package/lib/components/timeline/index.native.mjs +88 -0
- package/lib/components/timeline/item/TimelineItem.js +100 -21
- package/lib/components/timeline/item/TimelineItem.mjs +2 -2
- package/lib/components/timeline/item/TimelineItem.native.d.mts +18 -0
- package/lib/components/timeline/item/TimelineItem.native.js +101 -36
- package/lib/components/timeline/item/TimelineItem.native.mjs +12 -0
- package/lib/components/timeline/item/TimelineItemProps.d.mts +1 -1
- package/lib/components/timeline/item/TimelineItemProps.d.ts +1 -1
- package/lib/components/timeline/item/TimelineItemProps.js +19 -2
- package/lib/components/timeline/item/index.js +104 -4
- package/lib/components/timeline/item/index.mjs +2 -2
- package/lib/components/timeline/item/index.native.d.mts +3 -0
- package/lib/components/timeline/item/index.native.js +100 -4
- package/lib/components/timeline/item/index.native.mjs +14 -0
- package/lib/components/timeline/marker/TimelineMarker.js +193 -26
- package/lib/components/timeline/marker/TimelineMarker.mjs +8 -8
- package/lib/components/timeline/marker/TimelineMarker.native.d.mts +11 -0
- package/lib/components/timeline/marker/TimelineMarker.native.js +404 -51
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +63 -0
- package/lib/components/timeline/marker/TimelineMarkerProps.d.mts +4 -3
- package/lib/components/timeline/marker/TimelineMarkerProps.d.ts +4 -3
- package/lib/components/timeline/marker/TimelineMarkerProps.js +19 -2
- package/lib/components/timeline/marker/index.js +197 -4
- package/lib/components/timeline/marker/index.mjs +9 -9
- package/lib/components/timeline/marker/index.native.d.mts +3 -0
- package/lib/components/timeline/marker/index.native.js +409 -4
- package/lib/components/timeline/marker/index.native.mjs +65 -0
- package/lib/components/title/Title.js +147 -68
- package/lib/components/title/Title.mjs +1 -1
- package/lib/components/title/Title.native.d.mts +19 -0
- package/lib/components/title/Title.native.js +372 -89
- package/lib/components/title/Title.native.mjs +58 -0
- package/lib/components/title/TitleEnum.js +53 -25
- package/lib/components/title/TitleProps.js +19 -2
- package/lib/components/title/index.js +170 -5
- package/lib/components/title/index.mjs +1 -1
- package/lib/components/title/index.native.d.mts +4 -0
- package/lib/components/title/index.native.js +413 -5
- package/lib/components/title/index.native.mjs +65 -0
- package/lib/components/view/View.js +332 -42
- package/lib/components/view/View.mjs +30 -30
- package/lib/components/view/View.native.d.mts +18 -0
- package/lib/components/view/View.native.d.ts +1 -1
- package/lib/components/view/View.native.js +361 -48
- package/lib/components/view/View.native.mjs +57 -0
- package/lib/components/view/ViewEnum.js +49 -21
- package/lib/components/view/{ViewProps.d.mts → ViewProps/index.d.mts} +1 -1
- package/lib/components/view/{ViewProps.d.ts → ViewProps/index.d.ts} +1 -1
- package/lib/components/view/ViewProps/index.js +50 -0
- package/lib/components/view/ViewProps/index.mjs +8 -0
- package/lib/components/view/ViewProps/index.native.d.mts +39 -0
- package/lib/components/view/ViewProps/index.native.d.ts +39 -0
- package/lib/components/view/ViewProps/index.native.js +50 -0
- package/lib/components/view/ViewProps/index.native.mjs +8 -0
- package/lib/components/view/index.d.mts +1 -1
- package/lib/components/view/index.d.ts +1 -1
- package/lib/components/view/index.js +364 -5
- package/lib/components/view/index.mjs +32 -32
- package/lib/components/view/index.native.d.mts +4 -0
- package/lib/components/view/index.native.d.ts +1 -1
- package/lib/components/view/index.native.js +417 -5
- package/lib/components/view/index.native.mjs +68 -0
- package/lib/context/index.js +52 -12
- package/lib/context/index.native.d.mts +2 -0
- package/lib/context/index.native.js +36 -5
- package/lib/context/index.native.mjs +10 -0
- package/lib/context/interfaces.js +19 -2
- package/lib/context/provider/index.js +82 -34
- package/lib/context/provider/index.mjs +2 -2
- package/lib/context/provider/index.native.d.mts +4 -0
- package/lib/context/provider/index.native.js +32 -3
- package/lib/context/provider/index.native.mjs +10 -0
- package/lib/context/providerStates/index.js +35 -6
- package/lib/context/providerStates/index.mjs +3 -8
- package/lib/context/providerStyled/index.native.d.mts +4 -0
- package/lib/context/providerStyled/index.native.js +32 -3
- package/lib/context/providerStyled/index.native.mjs +10 -0
- package/lib/context/providerTheme/index.js +55 -12
- package/lib/context/providerTheme/index.native.d.mts +18 -0
- package/lib/context/providerTheme/index.native.d.ts +3 -3
- package/lib/context/providerTheme/index.native.js +87 -15
- package/lib/context/providerTheme/index.native.mjs +16 -0
- package/lib/context/test/provider.test.js +1 -1
- package/lib/context/test/provider.test.mjs +2 -2
- package/lib/events/OnClickEvent/index.js +19 -2
- package/lib/helpers/device/index.js +64 -27
- package/lib/helpers/device/index.native.d.mts +19 -0
- package/lib/helpers/device/index.native.js +65 -28
- package/lib/helpers/device/index.native.mjs +16 -0
- package/lib/helpers/enumHelpers/index.js +38 -6
- package/lib/helpers/hashClassesHelpers/index.js +63 -18
- package/lib/helpers/index.js +130 -5
- package/lib/helpers/index.mjs +3 -3
- package/lib/helpers/index.native.d.mts +4 -0
- package/lib/helpers/index.native.js +131 -5
- package/lib/helpers/index.native.mjs +34 -0
- package/lib/helpers/require/index.js +44 -3
- package/lib/helpers/testHelpers/index.js +40 -11
- package/lib/index.js +24 -27
- package/lib/index.mjs +379 -379
- package/lib/index.native.d.mts +6 -0
- package/lib/index.native.js +9217 -7
- package/lib/index.native.mjs +874 -0
- package/lib/objects/Typography/TypographyAlign/index.js +41 -25
- package/lib/objects/Typography/TypographyBold/index.js +92 -46
- package/lib/objects/Typography/TypographyBold/index.native.d.mts +24 -0
- package/lib/objects/Typography/TypographyBold/index.native.js +117 -46
- package/lib/objects/Typography/TypographyBold/index.native.mjs +13 -0
- package/lib/objects/Typography/TypographyColor/index.js +110 -54
- package/lib/objects/Typography/TypographyColor/index.native.d.mts +24 -0
- package/lib/objects/Typography/TypographyColor/index.native.js +111 -54
- package/lib/objects/Typography/TypographyColor/index.native.mjs +11 -0
- package/lib/objects/Typography/TypographyTransform/index.js +37 -11
- package/lib/objects/Typography/index.js +181 -5
- package/lib/objects/Typography/index.mjs +5 -5
- package/lib/objects/Typography/index.native.d.mts +4 -0
- package/lib/objects/Typography/index.native.js +195 -5
- package/lib/objects/Typography/index.native.mjs +31 -0
- package/lib/objects/atoms/Background/index.js +86 -10
- package/lib/objects/atoms/Background/index.native.d.mts +15 -0
- package/lib/objects/atoms/Background/index.native.d.ts +15 -0
- package/lib/objects/atoms/Background/index.native.js +87 -0
- package/lib/objects/atoms/Background/index.native.mjs +9 -0
- package/lib/objects/atoms/Text/index.js +51 -36
- package/lib/objects/atoms/index.js +112 -3
- package/lib/objects/atoms/index.mjs +3 -3
- package/lib/objects/atoms/index.native.d.mts +2 -0
- package/lib/objects/atoms/index.native.d.ts +2 -0
- package/lib/objects/atoms/index.native.js +113 -0
- package/lib/objects/atoms/index.native.mjs +14 -0
- package/lib/objects/facets/Accessibility/index.js +19 -2
- package/lib/objects/facets/Alignable/index.js +80 -59
- package/lib/objects/facets/Alternate/index.js +19 -2
- package/lib/objects/facets/Centerable/index.js +19 -2
- package/lib/objects/facets/ChildrenWithNoText/index.js +19 -2
- package/lib/objects/facets/Clickable/index.js +19 -2
- package/lib/objects/facets/Clipped/index.js +19 -2
- package/lib/objects/facets/Color/index.js +181 -144
- package/lib/objects/facets/Color/index.native.d.mts +50 -0
- package/lib/objects/facets/Color/index.native.js +182 -144
- package/lib/objects/facets/Color/index.native.mjs +20 -0
- package/lib/objects/facets/CommonProps/index.js +19 -2
- package/lib/objects/facets/Dev/index.js +19 -2
- package/lib/objects/facets/Direction/index.js +35 -6
- package/lib/objects/facets/Fullheight/index.js +19 -2
- package/lib/objects/facets/Fullwidth/index.js +19 -2
- package/lib/objects/facets/Hat/index.js +19 -2
- package/lib/objects/facets/Hidden/index.js +19 -2
- package/lib/objects/facets/Invertable/index.js +19 -2
- package/lib/objects/facets/Justifiable/index.js +114 -84
- package/lib/objects/facets/Layout/index.js +19 -2
- package/lib/objects/facets/Layout/index.native.d.mts +4 -0
- package/lib/objects/facets/Layout/index.native.d.ts +4 -0
- package/lib/objects/facets/Layout/index.native.js +19 -0
- package/lib/objects/facets/Layout/index.native.mjs +2 -0
- package/lib/objects/facets/Loadable/index.js +46 -23
- package/lib/objects/facets/Marginless/index.js +19 -2
- package/lib/objects/facets/Narrow/index.js +19 -2
- package/lib/objects/facets/Paddingless/index.js +19 -2
- package/lib/objects/facets/Position/index.js +19 -2
- package/lib/objects/facets/Referenceable/index.js +19 -2
- package/lib/objects/facets/ScrollDirection/index.js +35 -6
- package/lib/objects/facets/Small/index.js +19 -2
- package/lib/objects/facets/Stacked/index.js +19 -2
- package/lib/objects/facets/Status/index.js +252 -67
- package/lib/objects/facets/Status/index.mjs +7 -7
- package/lib/objects/facets/Status/index.native.d.mts +63 -0
- package/lib/objects/facets/Status/index.native.d.ts +1 -1
- package/lib/objects/facets/Status/index.native.js +303 -64
- package/lib/objects/facets/Status/index.native.mjs +24 -0
- package/lib/objects/facets/Sticky/index.js +35 -6
- package/lib/objects/facets/Variant/index.js +136 -54
- package/lib/objects/facets/Variant/index.native.d.mts +27 -0
- package/lib/objects/facets/Variant/index.native.js +137 -54
- package/lib/objects/facets/Variant/index.native.mjs +13 -0
- package/lib/objects/facets/VerticalPaddingless/index.js +19 -2
- package/lib/objects/facets/index.js +584 -31
- package/lib/objects/facets/index.mjs +51 -51
- package/lib/objects/facets/index.native.d.mts +30 -0
- package/lib/objects/facets/index.native.d.ts +3 -3
- package/lib/objects/facets/index.native.js +642 -31
- package/lib/objects/facets/index.native.mjs +110 -0
- package/lib/objects/index.js +703 -4
- package/lib/objects/index.mjs +59 -59
- package/lib/objects/index.native.d.mts +3 -0
- package/lib/objects/index.native.d.ts +1 -1
- package/lib/objects/index.native.js +779 -4
- package/lib/objects/index.native.mjs +146 -0
- package/lib/services/classify/index.js +48 -13
- package/lib/services/index.js +52 -2
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +31 -2
- package/lib/version.json +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +13 -3
- package/lib/chunk-BTXAPKSN.mjs +0 -11
- package/lib/components/autolayout/AutoLayout.helpers.js +0 -130
- package/lib/components/autolayout/AutoLayout.js +0 -10
- package/lib/components/autolayout/AutoLayout.native.js +0 -29
- package/lib/components/autolayout/AutoLayoutProps.js +0 -2
- package/lib/components/autolayout/AutoLayoutWrapper.js +0 -21
- package/lib/components/autolayout/AutoLayoutWrapper.mjs +0 -9
- package/lib/components/autolayout/DefaultSpacingMatrix.js +0 -41
- package/lib/components/autolayout/DefaultSpacingMatrix.mjs +0 -12
- package/lib/components/autolayout/SpacingMatrix.js +0 -12
- package/lib/components/autolayout/SpacingMatrix.mjs +0 -8
- package/lib/components/checkbox/list/CheckboxListProps.js +0 -2
- package/lib/components/checkbox/list/CheckboxListPropsDefaults.js +0 -10
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +0 -61
- package/lib/components/divider/DividerProps.js +0 -2
- package/lib/components/divider/DividerProps.mjs +0 -2
- package/lib/components/divider/DividerPropsDefaults.js +0 -99
- package/lib/components/progress/ProgressProps.js +0 -2
- package/lib/components/progress/ProgressPropsDefaults.js +0 -95
- package/lib/components/progress/item/ProgressItemProps.js +0 -2
- package/lib/components/progress/item/ProgressItemPropsDefaults.js +0 -76
- package/lib/components/progress/radial/ProgressRadialProps.js +0 -2
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +0 -235
- package/lib/components/view/ViewProps.js +0 -21
- package/lib/components/view/ViewProps.mjs +0 -8
- package/lib/components/view/ViewPropsDefaults.js +0 -228
- package/lib/{chunk-PYIXJGUX.mjs → chunk-22ZF6KCV.mjs} +3 -3
- package/lib/{chunk-4DZWJDF4.mjs → chunk-2D2T54YM.mjs} +0 -0
- package/lib/{components/autolayout/AutoLayoutProps.mjs → chunk-2R2VEDDI.mjs} +0 -0
- package/lib/{components/checkbox/list/CheckboxListProps.mjs → chunk-2USOPQHO.mjs} +0 -0
- package/lib/{components/progress/ProgressProps.mjs → chunk-3CL5Q2CR.mjs} +0 -0
- package/lib/{components/progress/item/ProgressItemProps.mjs → chunk-3VCBG5R7.mjs} +0 -0
- package/lib/{chunk-26B3CSN5.mjs → chunk-4K5SE35T.mjs} +3 -3
- package/lib/{components/progress/radial/ProgressRadialProps.mjs → chunk-4XHACXUM.mjs} +0 -0
- package/lib/{chunk-NPMHJJR3.mjs → chunk-5NAC2FB4.mjs} +3 -3
- package/lib/{chunk-YEEOZ3WL.mjs → chunk-CNQXLWB6.mjs} +3 -3
- package/lib/{chunk-F7YNM3BY.mjs → chunk-FSTU72UW.mjs} +3 -3
- package/lib/{chunk-J4QFAM2H.mjs → chunk-FTZRR3K6.mjs} +3 -3
- package/lib/{chunk-GRUJ62D7.mjs → chunk-HHE7L3CW.mjs} +3 -3
- package/lib/{chunk-KG5EJYC2.mjs → chunk-JA7KPIAW.mjs} +3 -3
- package/lib/{chunk-KODMIOAH.mjs → chunk-KQV6UPEF.mjs} +3 -3
- package/lib/{chunk-3M4YVDAB.mjs → chunk-QP3ACDAG.mjs} +3 -3
- package/lib/{chunk-EHAZHFIB.mjs → chunk-RXN7VI6G.mjs} +3 -3
- package/lib/{chunk-Y3J6NXB4.mjs → chunk-SGAZRZIK.mjs} +3 -3
- package/lib/{chunk-SSJWBHMP.mjs → chunk-SKSWO5HE.mjs} +6 -6
- package/lib/{chunk-MAX5BL2W.mjs → chunk-VB44SHZH.mjs} +6 -6
- package/lib/{chunk-B74X6GWQ.mjs → chunk-W6D7Y225.mjs} +3 -3
- package/lib/{chunk-BBCH24LI.mjs → chunk-WG7MHIX6.mjs} +3 -3
|
@@ -1,5 +1,834 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
1
|
+
"use client";
|
|
2
|
+
"use strict";
|
|
3
|
+
var __create = Object.create;
|
|
4
|
+
var __defProp = Object.defineProperty;
|
|
5
|
+
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
6
|
+
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
7
|
+
var __getProtoOf = Object.getPrototypeOf;
|
|
8
|
+
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
9
|
+
var __export = (target, all) => {
|
|
10
|
+
for (var name in all)
|
|
11
|
+
__defProp(target, name, { get: all[name], enumerable: true });
|
|
12
|
+
};
|
|
13
|
+
var __copyProps = (to, from, except, desc) => {
|
|
14
|
+
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
+
for (let key of __getOwnPropNames(from))
|
|
16
|
+
if (!__hasOwnProp.call(to, key) && key !== except)
|
|
17
|
+
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
|
|
18
|
+
}
|
|
19
|
+
return to;
|
|
20
|
+
};
|
|
21
|
+
var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
|
|
22
|
+
// If the importer is in node compatibility mode or this is not an ESM
|
|
23
|
+
// file that has been converted to a CommonJS file using a Babel-
|
|
24
|
+
// compatible transform (i.e. "__esModule" has not been set), then set
|
|
25
|
+
// "default" to the CommonJS "module.exports" for node compatibility.
|
|
26
|
+
isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
|
|
27
|
+
mod
|
|
28
|
+
));
|
|
29
|
+
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
30
|
+
|
|
31
|
+
// components/input/index.ts
|
|
32
|
+
var input_exports = {};
|
|
33
|
+
__export(input_exports, {
|
|
34
|
+
Input: () => Input_default,
|
|
35
|
+
InputAutoCapitalize: () => InputAutoCapitalize,
|
|
36
|
+
InputAutoCompleteType: () => InputAutoCompleteType,
|
|
37
|
+
InputKeyboardAppearance: () => InputKeyboardAppearance,
|
|
38
|
+
InputKeyboardType: () => InputKeyboardType,
|
|
39
|
+
InputStatus: () => InputStatus,
|
|
40
|
+
InputTextContentType: () => InputTextContentType,
|
|
41
|
+
InputType: () => InputType
|
|
42
|
+
});
|
|
43
|
+
module.exports = __toCommonJS(input_exports);
|
|
44
|
+
|
|
45
|
+
// components/input/Input.tsx
|
|
46
|
+
var import_locales = require("@trilogy-ds/locales");
|
|
47
|
+
var import_clsx4 = __toESM(require("clsx"));
|
|
48
|
+
var import_react6 = __toESM(require("react"));
|
|
49
|
+
|
|
50
|
+
// components/text/Text.tsx
|
|
51
|
+
var React2 = __toESM(require("react"));
|
|
52
|
+
var import_clsx = __toESM(require("clsx"));
|
|
53
|
+
|
|
54
|
+
// components/text/TextEnum.ts
|
|
55
|
+
var TextMarkup = /* @__PURE__ */ ((TextMarkup2) => {
|
|
56
|
+
TextMarkup2["P"] = "p";
|
|
57
|
+
TextMarkup2["SPAN"] = "span";
|
|
58
|
+
return TextMarkup2;
|
|
59
|
+
})(TextMarkup || {});
|
|
60
|
+
|
|
61
|
+
// services/classify/index.ts
|
|
62
|
+
function classify(prefix) {
|
|
63
|
+
return (classname) => classname !== "" ? `${prefix}-${classname.toLowerCase()}` : "";
|
|
64
|
+
}
|
|
65
|
+
var is = classify("is");
|
|
66
|
+
var has = classify("has");
|
|
67
|
+
|
|
68
|
+
// context/index.tsx
|
|
69
|
+
var React = __toESM(require("react"));
|
|
70
|
+
var TrilogyContext = React.createContext({
|
|
71
|
+
styled: false,
|
|
72
|
+
setStyled: () => void 0
|
|
73
|
+
});
|
|
74
|
+
var useTrilogyContext = () => {
|
|
75
|
+
const context = React.useContext(TrilogyContext);
|
|
76
|
+
if (context === void 0) {
|
|
77
|
+
throw new Error("useTrilogyContext must be used within a TrilogyProvider");
|
|
78
|
+
}
|
|
79
|
+
return context;
|
|
80
|
+
};
|
|
81
|
+
|
|
82
|
+
// helpers/hashClassesHelpers/index.tsx
|
|
83
|
+
var hashClass = (addHash = false, classes) => {
|
|
84
|
+
const { hash, styled } = useTrilogyContext();
|
|
85
|
+
if (classes.trim().length < 1) return "";
|
|
86
|
+
if (styled) {
|
|
87
|
+
return classes.split(" ").map((classe) => classe = `${classe}_${hash}`).join(" ");
|
|
88
|
+
}
|
|
89
|
+
return classes;
|
|
90
|
+
};
|
|
91
|
+
|
|
92
|
+
// components/text/Text.tsx
|
|
93
|
+
var Text = React2.forwardRef(({
|
|
94
|
+
level,
|
|
95
|
+
markup,
|
|
96
|
+
children,
|
|
97
|
+
className,
|
|
98
|
+
id,
|
|
99
|
+
typo,
|
|
100
|
+
inverted,
|
|
101
|
+
skeleton,
|
|
102
|
+
accessibilityLabel,
|
|
103
|
+
marginless,
|
|
104
|
+
numberOfLines,
|
|
105
|
+
...others
|
|
106
|
+
}, ref) => {
|
|
107
|
+
const { styled } = useTrilogyContext();
|
|
108
|
+
const levelText = () => {
|
|
109
|
+
if (level) {
|
|
110
|
+
switch (level) {
|
|
111
|
+
case 1 /* ONE */:
|
|
112
|
+
return is("level-1");
|
|
113
|
+
case 2 /* TWO */:
|
|
114
|
+
return is("level-2");
|
|
115
|
+
case 3 /* THREE */:
|
|
116
|
+
return is("level-3");
|
|
117
|
+
case 4 /* FOUR */:
|
|
118
|
+
return is("level-4");
|
|
119
|
+
default:
|
|
120
|
+
return is(`level-${level}`);
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
};
|
|
124
|
+
const classes = hashClass(
|
|
125
|
+
styled,
|
|
126
|
+
(0, import_clsx.default)(
|
|
127
|
+
"text",
|
|
128
|
+
level && levelText(),
|
|
129
|
+
inverted && is("inverted"),
|
|
130
|
+
typo,
|
|
131
|
+
skeleton && is("loading"),
|
|
132
|
+
marginless && is("marginless"),
|
|
133
|
+
numberOfLines && is("text-ellipsis"),
|
|
134
|
+
className
|
|
135
|
+
)
|
|
136
|
+
);
|
|
137
|
+
const isCorrectMarkup = (stringMarkup) => {
|
|
138
|
+
if (stringMarkup in TextMarkup || Object.values(TextMarkup).includes(stringMarkup)) return true;
|
|
139
|
+
};
|
|
140
|
+
const Tag = markup && isCorrectMarkup(markup) ? markup : "p";
|
|
141
|
+
return /* @__PURE__ */ React2.createElement(
|
|
142
|
+
Tag,
|
|
143
|
+
{
|
|
144
|
+
ref,
|
|
145
|
+
id,
|
|
146
|
+
style: numberOfLines ? { WebkitLineClamp: numberOfLines } : {},
|
|
147
|
+
"aria-label": accessibilityLabel,
|
|
148
|
+
className: classes,
|
|
149
|
+
...others
|
|
150
|
+
},
|
|
151
|
+
children
|
|
152
|
+
);
|
|
153
|
+
});
|
|
154
|
+
Text.displayName = "Text" /* Text */;
|
|
155
|
+
var Text_default = Text;
|
|
156
|
+
|
|
157
|
+
// helpers/device/index.ts
|
|
158
|
+
var Device = /* @__PURE__ */ ((Device2) => {
|
|
159
|
+
Device2["Browser"] = "browser";
|
|
160
|
+
Device2["Server"] = "server";
|
|
161
|
+
Device2["Native"] = "native";
|
|
162
|
+
return Device2;
|
|
163
|
+
})(Device || {});
|
|
164
|
+
var { Browser, Server, Native } = Device;
|
|
165
|
+
var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
166
|
+
var canUseNative = typeof navigator != "undefined" && navigator.product == "ReactNative";
|
|
167
|
+
var device = canUseNative ? Native : canUseDOM ? Browser : Server;
|
|
168
|
+
var SSRObjectDefined = {
|
|
169
|
+
isBrowser: device === Browser,
|
|
170
|
+
isServer: device === Server,
|
|
171
|
+
isNative: device === Native,
|
|
172
|
+
device,
|
|
173
|
+
canUseWorkers: typeof Worker !== "undefined",
|
|
174
|
+
canUseEventListeners: device === Browser && !!window.addEventListener,
|
|
175
|
+
canUseViewport: device === Browser && !!window.screen
|
|
176
|
+
};
|
|
177
|
+
var assign = (...args) => Object.assign({}, ...args);
|
|
178
|
+
var values = (obj) => Object.values(obj);
|
|
179
|
+
var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
180
|
+
var SSRObject = toArrayObject();
|
|
181
|
+
|
|
182
|
+
// context/providerTheme/index.tsx
|
|
183
|
+
var import_react = __toESM(require("react"));
|
|
184
|
+
var defaultTheme = {
|
|
185
|
+
icons: {},
|
|
186
|
+
colors: {},
|
|
187
|
+
fontFamily: {}
|
|
188
|
+
};
|
|
189
|
+
var defaultContextValue = {
|
|
190
|
+
theme: defaultTheme,
|
|
191
|
+
setTheme: () => void 0
|
|
192
|
+
};
|
|
193
|
+
var TrilogyThemeContext = import_react.default.createContext(defaultContextValue);
|
|
194
|
+
|
|
195
|
+
// objects/facets/Color/index.tsx
|
|
196
|
+
var import_react2 = require("react");
|
|
197
|
+
var colors = {
|
|
198
|
+
["WHITE" /* BACKGROUND */]: ["#fff", "white", "main"],
|
|
199
|
+
["MAIN" /* MAIN */]: ["#3d5d7e", "main", "white"],
|
|
200
|
+
["MAIN_FADE" /* MAIN_FADE */]: ["#BBC6CD", "main-fade", "white"],
|
|
201
|
+
["ACCENT" /* ACCENT */]: ["#da641b", "accent", "white"],
|
|
202
|
+
["FONT" /* FONT */]: ["#3d5d7e", "main", "white"],
|
|
203
|
+
["FONT_PLACEHOLDER" /* FONT_PLACEHOLDER */]: ["#687a87", "font-placeholder", "white"],
|
|
204
|
+
["SUCCESS" /* SUCCESS */]: ["#007B52", "success", "white"],
|
|
205
|
+
["SUCCESS_FADE" /* SUCCESS_FADE */]: ["#cae8ca", "success-fade", "white"],
|
|
206
|
+
["INFO" /* INFO */]: ["#1A688A", "info", "white"],
|
|
207
|
+
["INFO_FADE" /* INFO_FADE */]: ["#c8dbec", "info-fade", "white"],
|
|
208
|
+
["WARNING" /* WARNING */]: ["#FFBB33", "warning", "white"],
|
|
209
|
+
["WARNING_FADE" /* WARNING_FADE */]: ["#ecdbc6", "warning-fade", "white"],
|
|
210
|
+
["ERROR" /* ERROR */]: ["#D42D02", "error", "white"],
|
|
211
|
+
["ERROR_FADE" /* ERROR_FADE */]: ["#eecccc", "error-fade", "white"],
|
|
212
|
+
["DISABLED" /* DISABLED */]: ["#646464", "disabled", "white"],
|
|
213
|
+
["DISABLED_FADE" /* DISABLED_FADE */]: ["#D1D1D1", "disabled-fade", "white"],
|
|
214
|
+
["NEUTRAL" /* NEUTRAL */]: ["#707070", "grey", "white"],
|
|
215
|
+
["NEUTRAL_FADE" /* NEUTRAL_FADE */]: ["#F4F4F4", "grey-fade", "white"],
|
|
216
|
+
["STROKE" /* STROKE */]: ["#BBC1CE", "stroke", "white"]
|
|
217
|
+
};
|
|
218
|
+
var getColorClassName = (trilogyColor) => {
|
|
219
|
+
const color = colors[trilogyColor];
|
|
220
|
+
return color[1];
|
|
221
|
+
};
|
|
222
|
+
var getColorStyle = (trilogyColor) => {
|
|
223
|
+
if (typeof navigator !== "undefined" && navigator.userAgent === void 0) {
|
|
224
|
+
const { theme } = (0, import_react2.useContext)(TrilogyThemeContext);
|
|
225
|
+
const colorsStyle = (theme == null ? void 0 : theme.colors) || colors;
|
|
226
|
+
const colorArray = colorsStyle[trilogyColor] || colorsStyle.default;
|
|
227
|
+
if (trilogyColor === "transparent") return "transparent";
|
|
228
|
+
if (!trilogyColor || !colors[trilogyColor]) {
|
|
229
|
+
return colorsStyle.default;
|
|
230
|
+
}
|
|
231
|
+
return colorArray[0];
|
|
232
|
+
} else {
|
|
233
|
+
if (trilogyColor === "transparent") return "transparent";
|
|
234
|
+
return colors[trilogyColor][0] || colors["MAIN" /* MAIN */][0];
|
|
235
|
+
}
|
|
236
|
+
};
|
|
237
|
+
|
|
238
|
+
// objects/atoms/Background/index.ts
|
|
239
|
+
var getBackgroundClassName = (backgroundType) => {
|
|
240
|
+
return `background-${getColorClassName(backgroundType)}`;
|
|
241
|
+
};
|
|
242
|
+
|
|
243
|
+
// objects/facets/Justifiable/index.ts
|
|
244
|
+
var getJustifySelfClassName = (justifyContent) => {
|
|
245
|
+
switch (justifyContent) {
|
|
246
|
+
case "ALIGNED_CENTER":
|
|
247
|
+
return "justified-self-center";
|
|
248
|
+
case "ALIGNED_START":
|
|
249
|
+
return "justified-self-start";
|
|
250
|
+
case "ALIGNED_END":
|
|
251
|
+
return "justified-selfend";
|
|
252
|
+
default:
|
|
253
|
+
return "justified-selfstart";
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
// components/icon/Icon.tsx
|
|
258
|
+
var import_clsx2 = __toESM(require("clsx"));
|
|
259
|
+
var React4 = __toESM(require("react"));
|
|
260
|
+
var Icon = React4.forwardRef(
|
|
261
|
+
({ className, id, size, name, circled, stretched, color, backgroundColor, onClick, skeleton, align, ...others }, ref) => {
|
|
262
|
+
const { styled } = useTrilogyContext();
|
|
263
|
+
const background = backgroundColor && has(getBackgroundClassName(backgroundColor)) || circled && has(getBackgroundClassName("MAIN" /* MAIN */)) || "";
|
|
264
|
+
const classes = hashClass(
|
|
265
|
+
styled,
|
|
266
|
+
(0, import_clsx2.default)(
|
|
267
|
+
"icon",
|
|
268
|
+
stretched && is("stretched"),
|
|
269
|
+
size && is(size),
|
|
270
|
+
circled && is("circled"),
|
|
271
|
+
circled && !color && has("text-white"),
|
|
272
|
+
color && is(`${getColorClassName(color)}`),
|
|
273
|
+
skeleton && is("loading"),
|
|
274
|
+
align && (0, import_clsx2.default)(is("flex"), is(getJustifySelfClassName(align))),
|
|
275
|
+
background,
|
|
276
|
+
className
|
|
277
|
+
)
|
|
278
|
+
);
|
|
279
|
+
return /* @__PURE__ */ React4.createElement("span", { id, onClick: onClick && onClick, className: classes, ...others, ref }, /* @__PURE__ */ React4.createElement("i", { className: hashClass(styled, (0, import_clsx2.default)(name)), "aria-hidden": "true" }));
|
|
280
|
+
}
|
|
281
|
+
);
|
|
282
|
+
Icon.displayName = "Icon" /* Icon */;
|
|
283
|
+
var Icon_default = Icon;
|
|
284
|
+
|
|
285
|
+
// objects/facets/Status/index.ts
|
|
286
|
+
var STATUS_COLORS = {
|
|
287
|
+
SUCCESS: { color: "SUCCESS" /* SUCCESS */, backgroundColor: "SUCCESS_FADE" /* SUCCESS_FADE */ },
|
|
288
|
+
INFO: { color: "INFO" /* INFO */, backgroundColor: "INFO_FADE" /* INFO_FADE */ },
|
|
289
|
+
WARNING: { color: "WARNING" /* WARNING */, backgroundColor: "WARNING_FADE" /* WARNING_FADE */ },
|
|
290
|
+
ERROR: { color: "ERROR" /* ERROR */, backgroundColor: "ERROR_FADE" /* ERROR_FADE */ },
|
|
291
|
+
DEFAULT: { color: "MAIN" /* MAIN */, backgroundColor: "MAIN_FADE" /* MAIN_FADE */ }
|
|
292
|
+
};
|
|
293
|
+
|
|
294
|
+
// objects/Typography/TypographyBold/index.tsx
|
|
295
|
+
var import_react3 = require("react");
|
|
296
|
+
|
|
297
|
+
// components/input/InputEnum.ts
|
|
298
|
+
var InputType = /* @__PURE__ */ ((InputType2) => {
|
|
299
|
+
InputType2["TEXT"] = "text";
|
|
300
|
+
InputType2["NUMBER"] = "number";
|
|
301
|
+
InputType2["PASSWORD"] = "password";
|
|
302
|
+
InputType2["SEARCH"] = "search";
|
|
303
|
+
InputType2["DATE"] = "date";
|
|
304
|
+
InputType2["DATETIME_LOCAL"] = "datetime-local";
|
|
305
|
+
InputType2["EMAIL"] = "email";
|
|
306
|
+
return InputType2;
|
|
307
|
+
})(InputType || {});
|
|
308
|
+
var InputStatus = /* @__PURE__ */ ((InputStatus2) => {
|
|
309
|
+
InputStatus2["SUCCESS"] = "success";
|
|
310
|
+
InputStatus2["WARNING"] = "warning";
|
|
311
|
+
InputStatus2["DANGER"] = "danger";
|
|
312
|
+
InputStatus2["ERROR"] = "error";
|
|
313
|
+
InputStatus2["DEFAULT"] = "default";
|
|
314
|
+
return InputStatus2;
|
|
315
|
+
})(InputStatus || {});
|
|
316
|
+
var InputKeyboardAppearance = /* @__PURE__ */ ((InputKeyboardAppearance2) => {
|
|
317
|
+
InputKeyboardAppearance2["DEFAULT"] = "default";
|
|
318
|
+
InputKeyboardAppearance2["LIGHT"] = "light";
|
|
319
|
+
InputKeyboardAppearance2["DARK"] = "dark";
|
|
320
|
+
return InputKeyboardAppearance2;
|
|
321
|
+
})(InputKeyboardAppearance || {});
|
|
322
|
+
var InputAutoCapitalize = /* @__PURE__ */ ((InputAutoCapitalize2) => {
|
|
323
|
+
InputAutoCapitalize2["NONE"] = "none";
|
|
324
|
+
InputAutoCapitalize2["SENTENCES"] = "sentences";
|
|
325
|
+
InputAutoCapitalize2["WORDS"] = "words";
|
|
326
|
+
InputAutoCapitalize2["CHARACTERS"] = "characters";
|
|
327
|
+
return InputAutoCapitalize2;
|
|
328
|
+
})(InputAutoCapitalize || {});
|
|
329
|
+
var InputAutoCompleteType = /* @__PURE__ */ ((InputAutoCompleteType2) => {
|
|
330
|
+
InputAutoCompleteType2["ADDITIONAL_NAME"] = "additional-name";
|
|
331
|
+
InputAutoCompleteType2["ADDRESS_LINE1"] = "address-line1";
|
|
332
|
+
InputAutoCompleteType2["ADDRESS_LINE2"] = "address-line2";
|
|
333
|
+
InputAutoCompleteType2["CC_CSC"] = "cc-csc";
|
|
334
|
+
InputAutoCompleteType2["CC_EXP"] = "cc-exp";
|
|
335
|
+
InputAutoCompleteType2["CC_EXP_DAY"] = "cc-exp-day";
|
|
336
|
+
InputAutoCompleteType2["CC_EXP_MONTH"] = "cc-exp-month";
|
|
337
|
+
InputAutoCompleteType2["CC_EXP_YEAR"] = "cc-exp-year";
|
|
338
|
+
InputAutoCompleteType2["CC_NUMBER"] = "cc-number";
|
|
339
|
+
InputAutoCompleteType2["COUNTRY"] = "country";
|
|
340
|
+
InputAutoCompleteType2["CURRENT_PASSWORD"] = "current-password";
|
|
341
|
+
InputAutoCompleteType2["EMAIL"] = "email";
|
|
342
|
+
InputAutoCompleteType2["FAMILY_NAME"] = "family-name";
|
|
343
|
+
InputAutoCompleteType2["GIVEN_NAME"] = "given-name";
|
|
344
|
+
InputAutoCompleteType2["HONORIFIX_PREFIX"] = "honorific-prefix";
|
|
345
|
+
InputAutoCompleteType2["HONORIFIC_SUFFIX"] = "honorific-suffix";
|
|
346
|
+
InputAutoCompleteType2["NAME"] = "name";
|
|
347
|
+
InputAutoCompleteType2["NEW_PASSWORD"] = "new-password";
|
|
348
|
+
InputAutoCompleteType2["OFF"] = "off";
|
|
349
|
+
InputAutoCompleteType2["ONE_TIME_CODE"] = "one-time-code";
|
|
350
|
+
InputAutoCompleteType2["POSTAL_CODE"] = "postal-code";
|
|
351
|
+
InputAutoCompleteType2["STREET_ADDRESS"] = "street-address";
|
|
352
|
+
InputAutoCompleteType2["TEL"] = "tel";
|
|
353
|
+
InputAutoCompleteType2["USERNAME"] = "username";
|
|
354
|
+
InputAutoCompleteType2["CC_FAMILY_NAME"] = "cc-family-name";
|
|
355
|
+
InputAutoCompleteType2["CC_GIVEN_NAME"] = "cc-given-name";
|
|
356
|
+
InputAutoCompleteType2["CC_MIDDLE_NAME"] = "cc-middle-name";
|
|
357
|
+
InputAutoCompleteType2["CC_NAME"] = "cc-name";
|
|
358
|
+
InputAutoCompleteType2["CC_TYPE"] = "cc-type";
|
|
359
|
+
InputAutoCompleteType2["NICKNAME"] = "nickname";
|
|
360
|
+
InputAutoCompleteType2["ORGANIZATION"] = "organization";
|
|
361
|
+
InputAutoCompleteType2["ORGANIZATION_TITLE"] = "organization-title";
|
|
362
|
+
InputAutoCompleteType2["URL"] = "url";
|
|
363
|
+
InputAutoCompleteType2["GENDER"] = "gender";
|
|
364
|
+
InputAutoCompleteType2["NAME_FAMILY"] = "name-family";
|
|
365
|
+
InputAutoCompleteType2["NAME_GIVEN"] = "name-given";
|
|
366
|
+
InputAutoCompleteType2["NAME_MIDDLE"] = "name-middle";
|
|
367
|
+
InputAutoCompleteType2["NAME_MIDDLE_INITIAL"] = "name-middle-initial";
|
|
368
|
+
InputAutoCompleteType2["NAME_PREFIX"] = "name-prefix";
|
|
369
|
+
InputAutoCompleteType2["NAME_SUFFIX"] = "name-suffix";
|
|
370
|
+
InputAutoCompleteType2["PASSWORD"] = "password";
|
|
371
|
+
InputAutoCompleteType2["PASSWORD_NEW"] = "password-new";
|
|
372
|
+
InputAutoCompleteType2["POSTAL_ADDRESS"] = "postal-address";
|
|
373
|
+
InputAutoCompleteType2["POSTAL_ADDRESS_COUNTRY"] = "postal-address-country";
|
|
374
|
+
InputAutoCompleteType2["POSTAL_ADDRESS_EXTENDED"] = "postal-address-extended";
|
|
375
|
+
InputAutoCompleteType2["POSTAL_ADDRESS_EXTENDED_POSTAL_CODE"] = "postal-address-extended-postal-code";
|
|
376
|
+
InputAutoCompleteType2["POSTAL_ADDRESS_LOCALITY"] = "postal-address-locality";
|
|
377
|
+
InputAutoCompleteType2["POSTAL_ADDRESS_REGION"] = "postal-address-region";
|
|
378
|
+
InputAutoCompleteType2["SMS_OTP"] = "sms-otp";
|
|
379
|
+
InputAutoCompleteType2["TEL_COUNTRY_CODE"] = "tel-country-code";
|
|
380
|
+
InputAutoCompleteType2["TEL_DEVICE"] = "tel-device";
|
|
381
|
+
InputAutoCompleteType2["TEL_NATIONAL"] = "tel-national";
|
|
382
|
+
InputAutoCompleteType2["USERNAME_NEW"] = "username-new";
|
|
383
|
+
return InputAutoCompleteType2;
|
|
384
|
+
})(InputAutoCompleteType || {});
|
|
385
|
+
var InputTextContentType = /* @__PURE__ */ ((InputTextContentType2) => {
|
|
386
|
+
InputTextContentType2["NONE"] = "none";
|
|
387
|
+
InputTextContentType2["URL"] = "URL";
|
|
388
|
+
InputTextContentType2["ADDRESS_CITY"] = "addressCity";
|
|
389
|
+
InputTextContentType2["ADDRESS_CITY_STATE"] = "addressCityAndState";
|
|
390
|
+
InputTextContentType2["ADDRESS_STATE"] = "addressState";
|
|
391
|
+
InputTextContentType2["COUNTRY_NAME"] = "countryName";
|
|
392
|
+
InputTextContentType2["CREDIT_CARD_NUMBER"] = "creditCardNumber";
|
|
393
|
+
InputTextContentType2["EMAIL_ADDRESS"] = "emailAddress";
|
|
394
|
+
InputTextContentType2["FAMILY_NAME"] = "familyName";
|
|
395
|
+
InputTextContentType2["FULL_STREET_ADDRESS"] = "fullStreetAddress";
|
|
396
|
+
InputTextContentType2["GIVEN_NAME"] = "givenName";
|
|
397
|
+
InputTextContentType2["JOB_TITLE"] = "jobTitle";
|
|
398
|
+
InputTextContentType2["LOCATION"] = "location";
|
|
399
|
+
InputTextContentType2["MIDDLE_NAME"] = "middleName";
|
|
400
|
+
InputTextContentType2["NAME"] = "name";
|
|
401
|
+
InputTextContentType2["NAME_PREFIX"] = "namePrefix";
|
|
402
|
+
InputTextContentType2["NAME_SUFFIX"] = "nameSuffix";
|
|
403
|
+
InputTextContentType2["NICKNAME"] = "nickname";
|
|
404
|
+
InputTextContentType2["ORGANIZATION_NAME"] = "organizationName";
|
|
405
|
+
InputTextContentType2["POSTAL_CODE"] = "postalCode";
|
|
406
|
+
InputTextContentType2["STREET_ADDRESS_LINE_ONE"] = "streetAddressLine1";
|
|
407
|
+
InputTextContentType2["STREET_ADDRESS_LINE_TWO"] = "streetAddressLine2";
|
|
408
|
+
InputTextContentType2["SUB_LOCALITY"] = "sublocality";
|
|
409
|
+
InputTextContentType2["TELEPHONE_NUMBER"] = "telephoneNumber";
|
|
410
|
+
InputTextContentType2["USERNAME"] = "username";
|
|
411
|
+
InputTextContentType2["PASSWORD"] = "password";
|
|
412
|
+
InputTextContentType2["NEW_PASSWORD"] = "newPassword";
|
|
413
|
+
InputTextContentType2["ONE_TIME_CODE"] = "oneTimeCode";
|
|
414
|
+
return InputTextContentType2;
|
|
415
|
+
})(InputTextContentType || {});
|
|
416
|
+
var InputKeyboardType = /* @__PURE__ */ ((InputKeyboardType2) => {
|
|
417
|
+
InputKeyboardType2["DEFAULT"] = "default";
|
|
418
|
+
InputKeyboardType2["EMAIL_ADDRESS"] = "email-address";
|
|
419
|
+
InputKeyboardType2["NUMERIC"] = "numeric";
|
|
420
|
+
InputKeyboardType2["PHONE_PAD"] = "phone-pad";
|
|
421
|
+
InputKeyboardType2["NUMBER_PAD"] = "number-pad";
|
|
422
|
+
InputKeyboardType2["DECIMAL_PAD"] = "decimal-pad";
|
|
423
|
+
InputKeyboardType2["VISIBLE_PASSWORD"] = "visible-password";
|
|
424
|
+
InputKeyboardType2["ASCII_CAPABLE"] = "ascii-capable";
|
|
425
|
+
InputKeyboardType2["NUMBERS_AND_PUNCTUATION"] = "numbers-and-punctuation";
|
|
426
|
+
InputKeyboardType2["URL"] = "url";
|
|
427
|
+
InputKeyboardType2["NAME_PHONE_PAD"] = "name-phone-pad";
|
|
428
|
+
InputKeyboardType2["TWITTER"] = "twitter";
|
|
429
|
+
InputKeyboardType2["WEB_SEARCH"] = "web-search";
|
|
430
|
+
return InputKeyboardType2;
|
|
431
|
+
})(InputKeyboardType || {});
|
|
432
|
+
|
|
433
|
+
// components/input/gauge/InputGauge.tsx
|
|
434
|
+
var import_clsx3 = __toESM(require("clsx"));
|
|
435
|
+
var import_react5 = __toESM(require("react"));
|
|
436
|
+
|
|
437
|
+
// components/input/gauge/hook/useGauge.tsx
|
|
438
|
+
var import_react4 = __toESM(require("react"));
|
|
439
|
+
var useGauge = ({ validationRules, inputValue }) => {
|
|
440
|
+
var _a, _b;
|
|
441
|
+
const [points, setPoints] = import_react4.default.useState(0);
|
|
442
|
+
const initStateVerifies = { isVerify: false, color: "NEUTRAL" /* NEUTRAL */ };
|
|
443
|
+
const [isLengthVerify, setIsLengthVerify] = import_react4.default.useState(initStateVerifies);
|
|
444
|
+
const [isSpecialCharsVerify, setIsSpecialCharsVerify] = import_react4.default.useState(initStateVerifies);
|
|
445
|
+
const [isNumberVerify, setIsNumberVerify] = import_react4.default.useState(initStateVerifies);
|
|
446
|
+
const [isUppercaseVerify, setIsUppercaseVerify] = import_react4.default.useState(initStateVerifies);
|
|
447
|
+
const [isLowerercaseVerify, setisLowerercaseVerify] = import_react4.default.useState(initStateVerifies);
|
|
448
|
+
const nbAllVerifies = import_react4.default.useMemo(
|
|
449
|
+
() => validationRules && Object.values(validationRules).filter((rule) => rule).length || 0,
|
|
450
|
+
[validationRules]
|
|
451
|
+
);
|
|
452
|
+
const widthGauge = import_react4.default.useMemo(() => {
|
|
453
|
+
const calc = Number((points / nbAllVerifies * 100).toFixed(0));
|
|
454
|
+
if (calc <= 50 && calc > 0) return "50%";
|
|
455
|
+
if (calc <= 99 && calc > 50) return "75%";
|
|
456
|
+
if (calc === 100) return "100%";
|
|
457
|
+
return "0%";
|
|
458
|
+
}, [points, nbAllVerifies]);
|
|
459
|
+
const colorGauge = () => {
|
|
460
|
+
const calc = Number((points / nbAllVerifies * 100).toFixed(0));
|
|
461
|
+
if (calc <= 50 && calc > 0) return getColorStyle("ERROR" /* ERROR */);
|
|
462
|
+
if (calc <= 99 && calc > 50) return getColorStyle("WARNING" /* WARNING */);
|
|
463
|
+
if (calc === 100) return getColorStyle("SUCCESS" /* SUCCESS */);
|
|
464
|
+
return getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */);
|
|
465
|
+
};
|
|
466
|
+
const LengthvalidationRulesText = (0, import_react4.useMemo)(() => {
|
|
467
|
+
var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
468
|
+
switch (true) {
|
|
469
|
+
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):
|
|
470
|
+
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`;
|
|
471
|
+
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)):
|
|
472
|
+
return `Minimum ${(_i = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _i.min} caract\xE8res`;
|
|
473
|
+
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)):
|
|
474
|
+
return `Maximum ${(_j = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _j.max} caract\xE8res`;
|
|
475
|
+
default:
|
|
476
|
+
return "";
|
|
477
|
+
}
|
|
478
|
+
}, [(_a = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a.min, (_b = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b.max]);
|
|
479
|
+
(0, import_react4.useEffect)(() => {
|
|
480
|
+
var _a2, _b2;
|
|
481
|
+
const min = ((_a2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a2.min) || 0;
|
|
482
|
+
const max = ((_b2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b2.max) || "";
|
|
483
|
+
const regex = new RegExp(`^.{${min},${max}}$`);
|
|
484
|
+
const validations = [];
|
|
485
|
+
(validationRules == null ? void 0 : validationRules.specialChars) && validations.push({ test: /[^\w]/.test(inputValue), setState: setIsSpecialCharsVerify });
|
|
486
|
+
(validationRules == null ? void 0 : validationRules.number) && validations.push({ test: /[0-9]/.test(inputValue), setState: setIsNumberVerify });
|
|
487
|
+
(validationRules == null ? void 0 : validationRules.uppercase) && validations.push({ test: /[A-Z]/.test(inputValue), setState: setIsUppercaseVerify });
|
|
488
|
+
(validationRules == null ? void 0 : validationRules.lowercase) && validations.push({ test: /[a-z]/.test(inputValue), setState: setisLowerercaseVerify });
|
|
489
|
+
(validationRules == null ? void 0 : validationRules.length) && validations.push({ test: regex.test(inputValue), setState: setIsLengthVerify });
|
|
490
|
+
validations.forEach(({ test, setState }) => {
|
|
491
|
+
if (test) return setState({ isVerify: true, color: "SUCCESS" /* SUCCESS */ });
|
|
492
|
+
return setState(initStateVerifies);
|
|
493
|
+
});
|
|
494
|
+
setPoints(validations.filter((item) => item.test).length);
|
|
495
|
+
}, [inputValue, validationRules]);
|
|
496
|
+
return {
|
|
497
|
+
LengthvalidationRulesText,
|
|
498
|
+
colorGauge,
|
|
499
|
+
widthGauge,
|
|
500
|
+
isLengthVerify,
|
|
501
|
+
isLowerercaseVerify,
|
|
502
|
+
isNumberVerify,
|
|
503
|
+
isSpecialCharsVerify,
|
|
504
|
+
isUppercaseVerify
|
|
505
|
+
};
|
|
506
|
+
};
|
|
507
|
+
|
|
508
|
+
// components/input/gauge/InputGauge.tsx
|
|
509
|
+
var InputGauge = ({ validationRules, styled, inputValue }) => {
|
|
510
|
+
var _a, _b;
|
|
511
|
+
const {
|
|
512
|
+
widthGauge,
|
|
513
|
+
colorGauge,
|
|
514
|
+
LengthvalidationRulesText,
|
|
515
|
+
isLengthVerify,
|
|
516
|
+
isLowerercaseVerify,
|
|
517
|
+
isNumberVerify,
|
|
518
|
+
isSpecialCharsVerify,
|
|
519
|
+
isUppercaseVerify
|
|
520
|
+
} = useGauge({ validationRules, inputValue });
|
|
521
|
+
return /* @__PURE__ */ import_react5.default.createElement("div", { "data-testid": "security-gauge", className: hashClass(styled, (0, import_clsx3.default)("security-gauge-container")) }, /* @__PURE__ */ import_react5.default.createElement("div", { className: hashClass(styled, (0, import_clsx3.default)("security-gauge")) }, /* @__PURE__ */ import_react5.default.createElement(
|
|
522
|
+
"div",
|
|
523
|
+
{
|
|
524
|
+
"data-gauge": true,
|
|
525
|
+
style: { width: widthGauge, backgroundColor: colorGauge() },
|
|
526
|
+
className: hashClass(styled, (0, import_clsx3.default)("gauge"))
|
|
527
|
+
}
|
|
528
|
+
)), /* @__PURE__ */ import_react5.default.createElement("div", { className: hashClass(styled, (0, import_clsx3.default)("security-gauge-verifies")) }, /* @__PURE__ */ import_react5.default.createElement("div", null, /* @__PURE__ */ import_react5.default.createElement(
|
|
529
|
+
DataVerify,
|
|
530
|
+
{
|
|
531
|
+
display: !!(validationRules == null ? void 0 : validationRules.length),
|
|
532
|
+
dataAttribute: { "data-security-special-chars": true },
|
|
533
|
+
type: LengthvalidationRulesText,
|
|
534
|
+
classes: "security-length",
|
|
535
|
+
"data-length-min": (_a = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a.min,
|
|
536
|
+
"data-length-max": (_b = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b.max,
|
|
537
|
+
color: isLengthVerify.color,
|
|
538
|
+
iconName: isLengthVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
539
|
+
styled
|
|
540
|
+
}
|
|
541
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
|
542
|
+
DataVerify,
|
|
543
|
+
{
|
|
544
|
+
display: !!(validationRules == null ? void 0 : validationRules.specialChars),
|
|
545
|
+
dataAttribute: { "data-security-special-chars": true },
|
|
546
|
+
classes: "security-special-chars",
|
|
547
|
+
type: "Caract\xE8res sp\xE9ciaux",
|
|
548
|
+
color: isSpecialCharsVerify.color,
|
|
549
|
+
iconName: isSpecialCharsVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
550
|
+
styled
|
|
551
|
+
}
|
|
552
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
|
553
|
+
DataVerify,
|
|
554
|
+
{
|
|
555
|
+
display: !!(validationRules == null ? void 0 : validationRules.number),
|
|
556
|
+
dataAttribute: { "data-security-number": true },
|
|
557
|
+
classes: "security-number",
|
|
558
|
+
type: "Chiffre",
|
|
559
|
+
color: isNumberVerify.color,
|
|
560
|
+
iconName: isNumberVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
561
|
+
styled
|
|
562
|
+
}
|
|
563
|
+
)), /* @__PURE__ */ import_react5.default.createElement("div", null, /* @__PURE__ */ import_react5.default.createElement(
|
|
564
|
+
DataVerify,
|
|
565
|
+
{
|
|
566
|
+
display: !!(validationRules == null ? void 0 : validationRules.uppercase),
|
|
567
|
+
dataAttribute: { "data-security-uppercase": true },
|
|
568
|
+
classes: "security-uppercase",
|
|
569
|
+
type: "Majuscule",
|
|
570
|
+
color: isUppercaseVerify.color,
|
|
571
|
+
iconName: isUppercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
572
|
+
styled
|
|
573
|
+
}
|
|
574
|
+
), /* @__PURE__ */ import_react5.default.createElement(
|
|
575
|
+
DataVerify,
|
|
576
|
+
{
|
|
577
|
+
display: !!(validationRules == null ? void 0 : validationRules.lowercase),
|
|
578
|
+
dataAttribute: { "data-security-lowercase": true },
|
|
579
|
+
classes: "security-lowercase",
|
|
580
|
+
type: "Minuscule",
|
|
581
|
+
color: isLowerercaseVerify.color,
|
|
582
|
+
iconName: isLowerercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
583
|
+
styled
|
|
584
|
+
}
|
|
585
|
+
))));
|
|
586
|
+
};
|
|
587
|
+
var DataVerify = ({
|
|
588
|
+
dataAttribute,
|
|
589
|
+
type,
|
|
590
|
+
display,
|
|
591
|
+
color,
|
|
592
|
+
iconName,
|
|
593
|
+
classes,
|
|
594
|
+
styled
|
|
595
|
+
}) => {
|
|
596
|
+
if (!display) return null;
|
|
597
|
+
return /* @__PURE__ */ import_react5.default.createElement("div", { ...dataAttribute, className: hashClass(styled, (0, import_clsx3.default)("security", classes)) }, /* @__PURE__ */ import_react5.default.createElement(Icon_default, { color, name: iconName, size: "smaller" /* SMALLER */ }), /* @__PURE__ */ import_react5.default.createElement("span", null, type));
|
|
598
|
+
};
|
|
599
|
+
var InputGauge_default = InputGauge;
|
|
600
|
+
|
|
601
|
+
// components/input/Input.tsx
|
|
602
|
+
var Input = import_react6.default.forwardRef(
|
|
603
|
+
({
|
|
604
|
+
forceControl,
|
|
605
|
+
label,
|
|
606
|
+
sample,
|
|
607
|
+
className,
|
|
608
|
+
id = import_react6.default.useId(),
|
|
609
|
+
disabled,
|
|
610
|
+
onChange,
|
|
611
|
+
onKeyPress,
|
|
612
|
+
onKeyUp,
|
|
613
|
+
onIconClick,
|
|
614
|
+
onClick,
|
|
615
|
+
onFocus,
|
|
616
|
+
onBlur,
|
|
617
|
+
patternValidator,
|
|
618
|
+
onMouseEnter,
|
|
619
|
+
onMouseLeave,
|
|
620
|
+
name,
|
|
621
|
+
placeholder,
|
|
622
|
+
type = "text" /* TEXT */,
|
|
623
|
+
defaultValue,
|
|
624
|
+
value,
|
|
625
|
+
loading,
|
|
626
|
+
focused,
|
|
627
|
+
status,
|
|
628
|
+
help,
|
|
629
|
+
onStatusChange,
|
|
630
|
+
customValidator,
|
|
631
|
+
onSubmit,
|
|
632
|
+
minLength,
|
|
633
|
+
maxLength,
|
|
634
|
+
accessibilityLabel,
|
|
635
|
+
autoCompleteType,
|
|
636
|
+
iconNameLeft,
|
|
637
|
+
iconNameRight,
|
|
638
|
+
securityGauge,
|
|
639
|
+
validationRules,
|
|
640
|
+
required,
|
|
641
|
+
readOnly,
|
|
642
|
+
...others
|
|
643
|
+
}, ref) => {
|
|
644
|
+
const { styled } = useTrilogyContext();
|
|
645
|
+
const idHelp = (0, import_react6.useId)();
|
|
646
|
+
const idSample = (0, import_react6.useId)();
|
|
647
|
+
const inputIcon = /* @__PURE__ */ new Map();
|
|
648
|
+
inputIcon.set("success" /* SUCCESS */, "tri-check-circle" /* CHECK_CIRCLE */);
|
|
649
|
+
inputIcon.set("warning" /* WARNING */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
|
|
650
|
+
inputIcon.set("error" /* ERROR */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
|
|
651
|
+
const [_value, setValue] = (0, import_react6.useState)(defaultValue != null ? defaultValue : "");
|
|
652
|
+
const [isFocused, setIsFocused] = (0, import_react6.useState)(focused != null ? focused : false);
|
|
653
|
+
const [isDirty, setIsDirty] = (0, import_react6.useState)(false);
|
|
654
|
+
const [isTouched, setIsTouched] = (0, import_react6.useState)(false);
|
|
655
|
+
const [localStatus, setLocalStatus] = (0, import_react6.useState)(status || "default" /* DEFAULT */);
|
|
656
|
+
const [inputType, setInputType] = (0, import_react6.useState)(type);
|
|
657
|
+
const [isShowPwd, setIsShowPwd] = (0, import_react6.useState)(false);
|
|
658
|
+
const helpClasses = (0, import_clsx4.default)("help", localStatus && is(localStatus));
|
|
659
|
+
const loader = hashClass(styled, (0, import_clsx4.default)(is("searching")));
|
|
660
|
+
const inputLabelClasses = hashClass(styled, "input-label");
|
|
661
|
+
const iconTimesClasses = hashClass(styled, (0, import_clsx4.default)(is("justified-self")));
|
|
662
|
+
const srOnlyClasses = hashClass(styled, (0, import_clsx4.default)("sr-only"));
|
|
663
|
+
const classes = hashClass(styled, (0, import_clsx4.default)("input", localStatus && is(localStatus)));
|
|
664
|
+
const wrapperClasses = hashClass(
|
|
665
|
+
styled,
|
|
666
|
+
(0, import_clsx4.default)("field", className, type === "password" /* PASSWORD */ && securityGauge && has("gauge"))
|
|
667
|
+
);
|
|
668
|
+
const hasIcon = iconNameLeft || iconNameRight;
|
|
669
|
+
const controlClasses = hashClass(
|
|
670
|
+
styled,
|
|
671
|
+
(0, import_clsx4.default)("control", {
|
|
672
|
+
[has("icons-right")]: hasIcon != null ? hasIcon : iconNameRight || type === "password" /* PASSWORD */,
|
|
673
|
+
[has("icons-left")]: iconNameLeft || type === "search" /* SEARCH */
|
|
674
|
+
})
|
|
675
|
+
);
|
|
676
|
+
const onPressKey = (0, import_react6.useCallback)((e) => {
|
|
677
|
+
const target = e.target;
|
|
678
|
+
return {
|
|
679
|
+
inputName: target.name,
|
|
680
|
+
inputValue: target.value,
|
|
681
|
+
inputKeyCode: e.keyCode,
|
|
682
|
+
target,
|
|
683
|
+
event: e,
|
|
684
|
+
preventDefault: () => e.preventDefault()
|
|
685
|
+
};
|
|
686
|
+
}, []);
|
|
687
|
+
const IconWrapper = (0, import_react6.useCallback)(
|
|
688
|
+
({ className: className2, name: name2, color, closeIconSearch, onPress, srOnly, showPassword }) => {
|
|
689
|
+
const Markup = showPassword ? "button" : "div";
|
|
690
|
+
return /* @__PURE__ */ import_react6.default.createElement(
|
|
691
|
+
Markup,
|
|
692
|
+
{
|
|
693
|
+
...showPassword && { "data-show-pwd": true, type: "button" },
|
|
694
|
+
onClick: (e) => {
|
|
695
|
+
onPress && onPress();
|
|
696
|
+
if (onIconClick) {
|
|
697
|
+
onIconClick({ inputName: name2 != null ? name2 : "", inputValue: _value, target: e.target });
|
|
698
|
+
}
|
|
699
|
+
}
|
|
700
|
+
},
|
|
701
|
+
/* @__PURE__ */ import_react6.default.createElement(Icon_default, { className: className2, name: name2, size: "small" /* SMALL */, color }),
|
|
702
|
+
_value && _value.length > 0 && closeIconSearch && /* @__PURE__ */ import_react6.default.createElement(
|
|
703
|
+
Icon_default,
|
|
704
|
+
{
|
|
705
|
+
onClick: () => setValue(""),
|
|
706
|
+
className: iconTimesClasses,
|
|
707
|
+
name: "tri-times" /* TIMES_CIRCLE */,
|
|
708
|
+
size: "small" /* SMALL */
|
|
709
|
+
}
|
|
710
|
+
),
|
|
711
|
+
showPassword && srOnly && /* @__PURE__ */ import_react6.default.createElement("span", { className: srOnlyClasses }, srOnly)
|
|
712
|
+
);
|
|
713
|
+
},
|
|
714
|
+
[_value, styled]
|
|
715
|
+
);
|
|
716
|
+
const validator = !customValidator && patternValidator ? (value2) => patternValidator.test(value2) ? "success" /* SUCCESS */ : "error" /* ERROR */ : customValidator;
|
|
717
|
+
(0, import_react6.useEffect)(() => {
|
|
718
|
+
var _a;
|
|
719
|
+
setValue((_a = value != null ? value : defaultValue) != null ? _a : "");
|
|
720
|
+
}, [value, defaultValue]);
|
|
721
|
+
(0, import_react6.useEffect)(() => {
|
|
722
|
+
setIsFocused(focused != null ? focused : false);
|
|
723
|
+
}, [focused]);
|
|
724
|
+
(0, import_react6.useEffect)(() => {
|
|
725
|
+
if (isFocused) setIsDirty(true);
|
|
726
|
+
else if (isDirty) setIsTouched(true);
|
|
727
|
+
}, [isFocused, isDirty]);
|
|
728
|
+
(0, import_react6.useEffect)(() => {
|
|
729
|
+
if (!validator || !isTouched) return;
|
|
730
|
+
setLocalStatus(validator(_value));
|
|
731
|
+
}, [isFocused, isTouched]);
|
|
732
|
+
(0, import_react6.useEffect)(() => {
|
|
733
|
+
setLocalStatus(status || "default" /* DEFAULT */);
|
|
734
|
+
}, [status]);
|
|
735
|
+
(0, import_react6.useEffect)(() => {
|
|
736
|
+
if (onStatusChange) onStatusChange(localStatus);
|
|
737
|
+
}, [localStatus]);
|
|
738
|
+
return /* @__PURE__ */ import_react6.default.createElement("div", { className: wrapperClasses, "data-has-gauge": securityGauge ? true : void 0 }, label && /* @__PURE__ */ import_react6.default.createElement("label", { className: inputLabelClasses, htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react6.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react6.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id: idSample }, sample), /* @__PURE__ */ import_react6.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react6.default.createElement(
|
|
739
|
+
"input",
|
|
740
|
+
{
|
|
741
|
+
"aria-describedby": `${idHelp} ${idSample}`,
|
|
742
|
+
id,
|
|
743
|
+
required,
|
|
744
|
+
readOnly,
|
|
745
|
+
...others,
|
|
746
|
+
"aria-label": !label ? accessibilityLabel : void 0,
|
|
747
|
+
type: inputType,
|
|
748
|
+
className: classes,
|
|
749
|
+
value,
|
|
750
|
+
defaultValue,
|
|
751
|
+
name,
|
|
752
|
+
onSubmit,
|
|
753
|
+
ref,
|
|
754
|
+
disabled,
|
|
755
|
+
minLength,
|
|
756
|
+
maxLength,
|
|
757
|
+
autoComplete: autoCompleteType,
|
|
758
|
+
onKeyUp: (e) => onKeyUp && onKeyUp(onPressKey(e)),
|
|
759
|
+
onKeyPress: (e) => onKeyPress && onKeyPress(onPressKey(e)),
|
|
760
|
+
onMouseEnter: (e) => onMouseEnter == null ? void 0 : onMouseEnter(e),
|
|
761
|
+
onMouseLeave: (e) => onMouseLeave == null ? void 0 : onMouseLeave(e),
|
|
762
|
+
placeholder,
|
|
763
|
+
onClick: (e) => {
|
|
764
|
+
const target = e.target;
|
|
765
|
+
if (onClick) {
|
|
766
|
+
onClick({
|
|
767
|
+
inputName: target.name,
|
|
768
|
+
inputValue: target.value,
|
|
769
|
+
target
|
|
770
|
+
});
|
|
771
|
+
}
|
|
772
|
+
},
|
|
773
|
+
onChange: (e) => {
|
|
774
|
+
if (inputType !== "date" /* DATE */ && inputType !== "datetime-local" /* DATETIME_LOCAL */ && inputType !== "number" /* NUMBER */ && inputType !== "email" /* EMAIL */) {
|
|
775
|
+
const caret = e.target.selectionStart;
|
|
776
|
+
const element = e.target;
|
|
777
|
+
window.requestAnimationFrame(() => {
|
|
778
|
+
element.selectionStart = caret;
|
|
779
|
+
element.selectionEnd = caret;
|
|
780
|
+
});
|
|
781
|
+
}
|
|
782
|
+
if (!forceControl) setValue(e.target.value);
|
|
783
|
+
if (onChange) {
|
|
784
|
+
onChange({
|
|
785
|
+
inputName: e.target.name,
|
|
786
|
+
inputValue: e.target.value,
|
|
787
|
+
inputSelectionStart: e.target.selectionStart,
|
|
788
|
+
target: e.target,
|
|
789
|
+
event: e
|
|
790
|
+
});
|
|
791
|
+
}
|
|
792
|
+
},
|
|
793
|
+
onFocus: (e) => {
|
|
794
|
+
onFocus == null ? void 0 : onFocus(e);
|
|
795
|
+
setIsFocused(true);
|
|
796
|
+
},
|
|
797
|
+
onBlur: (e) => {
|
|
798
|
+
onBlur == null ? void 0 : onBlur(e);
|
|
799
|
+
setIsFocused(false);
|
|
800
|
+
}
|
|
801
|
+
}
|
|
802
|
+
), hasIcon && !localStatus && !loading && iconNameLeft && /* @__PURE__ */ import_react6.default.createElement(IconWrapper, { name: iconNameLeft }), (iconNameLeft || type === "search" /* SEARCH */) && /* @__PURE__ */ import_react6.default.createElement(IconWrapper, { className: "icon-left", name: iconNameLeft || "tri-search" /* SEARCH */ }), iconNameRight && !loading && type !== "password" /* PASSWORD */ && /* @__PURE__ */ import_react6.default.createElement(IconWrapper, { className: "icon-right", name: iconNameRight }), !loading && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react6.default.createElement(
|
|
803
|
+
IconWrapper,
|
|
804
|
+
{
|
|
805
|
+
showPassword: true,
|
|
806
|
+
srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
|
|
807
|
+
className: "icon-right",
|
|
808
|
+
name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
|
|
809
|
+
onPress: () => {
|
|
810
|
+
if (inputType === "password" /* PASSWORD */) {
|
|
811
|
+
setInputType("text" /* TEXT */);
|
|
812
|
+
setIsShowPwd(true);
|
|
813
|
+
} else {
|
|
814
|
+
setInputType("password" /* PASSWORD */);
|
|
815
|
+
setIsShowPwd(false);
|
|
816
|
+
}
|
|
817
|
+
}
|
|
818
|
+
}
|
|
819
|
+
), loading && /* @__PURE__ */ import_react6.default.createElement("span", { className: loader })), help && /* @__PURE__ */ import_react6.default.createElement(Text_default, { className: helpClasses, id: idHelp }, help), securityGauge && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react6.default.createElement(InputGauge_default, { validationRules, styled, inputValue: _value }));
|
|
820
|
+
}
|
|
821
|
+
);
|
|
822
|
+
Input.displayName = "Input" /* Input */;
|
|
823
|
+
var Input_default = Input;
|
|
824
|
+
// Annotate the CommonJS export names for ESM import in node:
|
|
825
|
+
0 && (module.exports = {
|
|
826
|
+
Input,
|
|
827
|
+
InputAutoCapitalize,
|
|
828
|
+
InputAutoCompleteType,
|
|
829
|
+
InputKeyboardAppearance,
|
|
830
|
+
InputKeyboardType,
|
|
831
|
+
InputStatus,
|
|
832
|
+
InputTextContentType,
|
|
833
|
+
InputType
|
|
834
|
+
});
|