@trilogy-ds/react 0.0.17-esm-cjs → 0.0.19-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-CWOJMTBG.mjs → chunk-23RKW2TY.mjs} +1 -1
- package/lib/{chunk-PTHFF3G5.mjs → chunk-24R7IYOG.mjs} +5 -5
- package/lib/{chunk-TDYLTSUD.mjs → chunk-252FYXMD.mjs} +2 -2
- package/lib/{chunk-TBCW3ORO.mjs → chunk-27BK6EVC.mjs} +4 -4
- package/lib/{chunk-CNQXLWB6.mjs → chunk-2FPIT2VY.mjs} +3 -3
- package/lib/{chunk-LO433DOQ.mjs → chunk-2MIHKT5E.mjs} +1 -1
- package/lib/{chunk-YORBTFM6.mjs → chunk-2MP6W4C2.mjs} +4 -4
- package/lib/{chunk-J4TV7QTJ.mjs → chunk-2SIDIWLZ.mjs} +31 -14
- package/lib/chunk-2T6URXV2.mjs +88 -0
- package/lib/{chunk-5Z2RQ5MY.mjs → chunk-2ZXXN4R4.mjs} +1 -1
- package/lib/chunk-33VW4RVE.mjs +94 -0
- package/lib/{chunk-G5BYIVYU.mjs → chunk-3APJ5TJP.mjs} +2 -2
- package/lib/{chunk-KZ3GTDH6.mjs → chunk-3GLD7T7V.mjs} +1 -1
- package/lib/{chunk-WCYJXOFQ.mjs → chunk-3HY3E3O3.mjs} +16 -5
- package/lib/{chunk-UESRINZG.mjs → chunk-3I74MN5M.mjs} +4 -4
- package/lib/{chunk-J2RYZOPI.mjs → chunk-3LXODEBD.mjs} +1 -1
- package/lib/chunk-3OWVPQQ3.mjs +47 -0
- package/lib/{chunk-REWE5O46.mjs → chunk-432FETUO.mjs} +1 -1
- package/lib/{chunk-W6D7Y225.mjs → chunk-44BUDUHH.mjs} +4 -1
- package/lib/{chunk-BUHGINEV.mjs → chunk-44DOSDMV.mjs} +1 -1
- package/lib/chunk-4FJA5ASG.mjs +56 -0
- package/lib/chunk-4GKCUICZ.mjs +99 -0
- package/lib/{chunk-AKMN7UO5.mjs → chunk-573KW52P.mjs} +17 -5
- package/lib/{chunk-MLDIC7PA.mjs → chunk-5ALKJFH4.mjs} +1 -1
- package/lib/{chunk-O6QKUT7P.mjs → chunk-5DY6WPCA.mjs} +8 -8
- package/lib/{chunk-X3O5WJNB.mjs → chunk-5JFVDSGE.mjs} +1 -1
- package/lib/{chunk-WG6PNVJM.mjs → chunk-5LGX4H46.mjs} +3 -3
- package/lib/chunk-5NJMUSWY.mjs +40 -0
- package/lib/chunk-5UAX67EN.mjs +35 -0
- package/lib/chunk-65K3LXTO.mjs +23 -0
- package/lib/{chunk-VYZ76EPZ.mjs → chunk-67BVHO7H.mjs} +3 -3
- package/lib/chunk-6AFOGEEB.mjs +41 -0
- package/lib/{chunk-C2KSCUJR.mjs → chunk-6BMF3QD3.mjs} +1 -1
- package/lib/{chunk-JA5LYEG4.mjs → chunk-6CVNPSI3.mjs} +1 -1
- package/lib/{chunk-SLTXO73P.mjs → chunk-6GGZCKVV.mjs} +5 -3
- package/lib/chunk-6QE3IUXA.mjs +53 -0
- package/lib/{chunk-2CRZJ26O.mjs → chunk-6RNUF4LV.mjs} +1 -1
- package/lib/{chunk-UNUI5GCY.mjs → chunk-76P5II7A.mjs} +6 -6
- package/lib/{chunk-AT5DQ6XT.mjs → chunk-7E4J6YBL.mjs} +1 -1
- package/lib/{chunk-RYVNJCJ2.mjs → chunk-7JMUQSV5.mjs} +1 -1
- package/lib/{chunk-FTZRR3K6.mjs → chunk-7LJJ6SKX.mjs} +7 -3
- package/lib/chunk-7NWVVRXM.mjs +63 -0
- package/lib/{chunk-4HVUQDPB.mjs → chunk-7TEPMZRL.mjs} +1 -1
- package/lib/{chunk-JOSZ4COK.mjs → chunk-7VSJ3RTI.mjs} +2 -0
- package/lib/{chunk-L6H74EAQ.mjs → chunk-7WYOWHKR.mjs} +1 -1
- package/lib/chunk-AASRNCVH.mjs +51 -0
- package/lib/chunk-ACDIJOLY.mjs +113 -0
- package/lib/{chunk-YGG7NOZ7.mjs → chunk-AEV6FHUQ.mjs} +1 -1
- package/lib/{chunk-SGAZRZIK.mjs → chunk-ALGX47MZ.mjs} +2 -2
- package/lib/{chunk-62D2ZNLD.mjs → chunk-AMGZXLNR.mjs} +1 -1
- package/lib/{chunk-JE2Y3RAL.mjs → chunk-ARA7YCBH.mjs} +1 -1
- package/lib/{chunk-MOXBCNH3.mjs → chunk-ASZC2OSU.mjs} +2 -2
- package/lib/chunk-B6D5UHOQ.mjs +67 -0
- package/lib/{chunk-KQV6UPEF.mjs → chunk-BBXAF6LS.mjs} +7 -3
- package/lib/{chunk-TBFT5WCF.mjs → chunk-BD73QGIH.mjs} +1 -1
- package/lib/{chunk-RZ4YLRVA.mjs → chunk-BIWBGSDJ.mjs} +1 -1
- package/lib/chunk-C3VH34J4.mjs +91 -0
- package/lib/chunk-C4ZXSLQP.mjs +12 -0
- package/lib/{chunk-7GB6GKGD.mjs → chunk-CCIRXOIR.mjs} +53 -29
- package/lib/chunk-CCMHIAAZ.mjs +35 -0
- package/lib/{chunk-HV6TXVFA.mjs → chunk-CD6DMMCL.mjs} +2 -0
- package/lib/{chunk-3PHJRZWE.mjs → chunk-CDK7APZM.mjs} +1 -1
- package/lib/{chunk-AS7NPVSN.mjs → chunk-CJTAJA4V.mjs} +2 -10
- package/lib/{chunk-S7W4ZL46.mjs → chunk-COHZA3Q6.mjs} +1 -1
- package/lib/{chunk-GY2RSUAJ.mjs → chunk-CYSI752N.mjs} +2 -2
- package/lib/{chunk-R37XLGXJ.mjs → chunk-D5I42WSS.mjs} +1 -1
- package/lib/{chunk-RPE2LBZM.mjs → chunk-DFR5TVL7.mjs} +1 -1
- package/lib/{chunk-EOGM64YO.mjs → chunk-DOA3WDEF.mjs} +1 -1
- package/lib/chunk-DSY6DDC3.mjs +12 -0
- package/lib/{chunk-LALBHUEG.mjs → chunk-DWZ232Q2.mjs} +22 -7
- package/lib/{chunk-ORDBTUJK.mjs → chunk-DY3O7TP2.mjs} +1 -1
- package/lib/{chunk-VOIEK4BP.mjs → chunk-DZORJA3B.mjs} +31 -14
- package/lib/{chunk-VI2KFLCZ.mjs → chunk-E4YRRUI3.mjs} +2 -0
- package/lib/{chunk-XZF6TES3.mjs → chunk-E7H2KJ4A.mjs} +1 -1
- package/lib/chunk-EATIRXQK.mjs +11 -0
- package/lib/chunk-ED5NFRNM.mjs +49 -0
- package/lib/{chunk-CIMSFVNA.mjs → chunk-FAKVBDTE.mjs} +4 -3
- package/lib/{chunk-Q4IQEMVA.mjs → chunk-FRZM4C7T.mjs} +2 -2
- package/lib/{chunk-TELJAUBZ.mjs → chunk-G2QCDZEE.mjs} +2 -2
- package/lib/chunk-GCIF33S4.mjs +22 -0
- package/lib/{chunk-OVD2WBG7.mjs → chunk-GGTSWVFO.mjs} +1 -1
- package/lib/{chunk-UUKIIB2D.mjs → chunk-GIEAPQ2H.mjs} +5 -5
- package/lib/{chunk-A4UUZNZZ.mjs → chunk-GIHKIRAH.mjs} +3 -3
- package/lib/{chunk-OF3FJXZL.mjs → chunk-HPM5H4HF.mjs} +2 -2
- package/lib/{chunk-GRGNRLCK.mjs → chunk-HSBIO24M.mjs} +40 -30
- package/lib/chunk-HVDDVQIJ.mjs +57 -0
- package/lib/{chunk-JA7KPIAW.mjs → chunk-I3KHCP2X.mjs} +2 -2
- package/lib/{chunk-MN7IITZQ.mjs → chunk-I3LRGLUL.mjs} +3 -3
- package/lib/chunk-I4RR2QN7.mjs +122 -0
- package/lib/{chunk-YKDJ5C7W.mjs → chunk-I6QAEJTP.mjs} +1 -1
- package/lib/{chunk-636WODA2.mjs → chunk-IHTDJ5DD.mjs} +3 -3
- package/lib/{chunk-SRZY7O3J.mjs → chunk-IOXFCPJQ.mjs} +5 -5
- package/lib/{chunk-AMKZNB5D.mjs → chunk-IT2ZBSQG.mjs} +3 -3
- package/lib/chunk-JB7AXJFO.mjs +405 -0
- package/lib/chunk-JDLZGLZJ.mjs +87 -0
- package/lib/{chunk-YLNTACMP.mjs → chunk-JIGVLQZM.mjs} +1 -1
- package/lib/{chunk-YIOEE4WJ.mjs → chunk-JPWTOBGP.mjs} +3 -6
- package/lib/chunk-K5D3QU3U.mjs +137 -0
- package/lib/{chunk-4NONUZBG.mjs → chunk-K6DW4JHP.mjs} +1 -1
- package/lib/{chunk-Q6FQTPU4.mjs → chunk-KUVBW2U7.mjs} +3 -3
- package/lib/{chunk-AZVPP2GA.mjs → chunk-KY7T6Q73.mjs} +3 -3
- package/lib/{chunk-RZQA2M2N.mjs → chunk-KYCWE6NL.mjs} +1 -1
- package/lib/{chunk-FSTU72UW.mjs → chunk-LBSTQNK7.mjs} +2 -2
- package/lib/{chunk-JYONTZJI.mjs → chunk-LEXUEUIJ.mjs} +4 -4
- package/lib/chunk-LGL3XQ7F.mjs +1 -0
- package/lib/chunk-LJF3YLMG.mjs +25 -0
- package/lib/{chunk-JZ3SSSRS.mjs → chunk-LOROW3UU.mjs} +3 -2
- package/lib/{chunk-IERXTGCG.mjs → chunk-LQ2EKGFZ.mjs} +4 -4
- package/lib/{chunk-GNSLOYT2.mjs → chunk-M2TC4BZG.mjs} +4 -4
- package/lib/chunk-M3FKAS2D.mjs +85 -0
- package/lib/chunk-M5W5FRMF.mjs +63 -0
- package/lib/{chunk-K2VWHGPL.mjs → chunk-MAX3RSBG.mjs} +2 -0
- package/lib/{chunk-KNRXLZZP.mjs → chunk-MB55ARZ7.mjs} +1 -1
- package/lib/chunk-MDZE2AV3.mjs +115 -0
- package/lib/{chunk-LAVKSOBD.mjs → chunk-MFPPIGPF.mjs} +2 -1
- package/lib/{chunk-QXMTDX2V.mjs → chunk-MMFURLTB.mjs} +1 -1
- package/lib/chunk-MVQ252OA.mjs +85 -0
- package/lib/{chunk-ELTZ3E3O.mjs → chunk-MZHFYHCF.mjs} +3 -3
- package/lib/{chunk-Z7UII2QG.mjs → chunk-NDT4BW3R.mjs} +1 -1
- package/lib/{chunk-PFH5M7W4.mjs → chunk-NE4WGXUM.mjs} +1 -1
- package/lib/{chunk-ZJJ3ISDC.mjs → chunk-NHPZIDNU.mjs} +2 -2
- package/lib/{chunk-PHH6JAI6.mjs → chunk-NKO25SIM.mjs} +2 -2
- package/lib/chunk-NMYQHE6C.mjs +109 -0
- package/lib/chunk-NRNJCOJP.mjs +73 -0
- package/lib/chunk-NRTMJLXK.mjs +111 -0
- package/lib/{chunk-TH32WIIV.mjs → chunk-NWBGCS6B.mjs} +1 -1
- package/lib/chunk-O32SL32C.mjs +66 -0
- package/lib/{chunk-4K6XP3WN.mjs → chunk-O72JHAKF.mjs} +1 -1
- package/lib/{chunk-SWFBV5TR.mjs → chunk-OAENQH2X.mjs} +2 -1
- package/lib/chunk-OUYOYTXI.mjs +50 -0
- package/lib/chunk-P3RZGE6X.mjs +39 -0
- package/lib/chunk-P7P7S4GM.mjs +70 -0
- package/lib/chunk-PGXASAXX.mjs +1 -0
- package/lib/{chunk-2QI25H4L.mjs → chunk-POCUFCQC.mjs} +2 -2
- package/lib/chunk-Q3NP4BBO.mjs +105 -0
- package/lib/{chunk-574Q5HPU.mjs → chunk-Q665G2U7.mjs} +3 -3
- package/lib/chunk-QE4JSIR3.mjs +70 -0
- package/lib/chunk-QIEADZWY.mjs +54 -0
- package/lib/{chunk-RDBMQIDN.mjs → chunk-QLJ54D5Q.mjs} +1 -1
- package/lib/{chunk-Z6YBOKUS.mjs → chunk-QNDMUIJM.mjs} +12 -7
- package/lib/chunk-QNTBEAY4.mjs +69 -0
- package/lib/chunk-QOUQNN33.mjs +68 -0
- package/lib/{chunk-FIH3EYH2.mjs → chunk-QTEMHSK5.mjs} +2 -2
- package/lib/{chunk-SYNRLOS5.mjs → chunk-R6JMSH4N.mjs} +6 -6
- package/lib/{chunk-44R46MG5.mjs → chunk-RF3MTZKP.mjs} +1 -1
- package/lib/chunk-RGX6ZWXV.mjs +1 -0
- package/lib/{chunk-ZZRR7QJL.mjs → chunk-RHBTSMCQ.mjs} +1 -8
- package/lib/{chunk-ACSGONQB.mjs → chunk-RVE7QNTO.mjs} +1 -1
- package/lib/chunk-RVRMMLZJ.mjs +43 -0
- package/lib/{chunk-3XPLPYWH.mjs → chunk-RVU3IPAE.mjs} +1 -1
- package/lib/chunk-RXGITNPE.mjs +39 -0
- package/lib/{chunk-CYNSXZSV.mjs → chunk-RYABO2EX.mjs} +1 -0
- package/lib/{chunk-AOXXQP4V.mjs → chunk-SFIOTEMN.mjs} +4 -6
- package/lib/chunk-SFL4T7RS.mjs +84 -0
- package/lib/{chunk-6MSKYREQ.mjs → chunk-SOPUKVAK.mjs} +1 -1
- package/lib/{chunk-VB44SHZH.mjs → chunk-SQGVYXQT.mjs} +1 -1
- package/lib/{chunk-KBT6E5ZH.mjs → chunk-SX2VUWRF.mjs} +7 -6
- package/lib/{chunk-XQJMHLCD.mjs → chunk-T4AH7FLU.mjs} +2 -2
- package/lib/{chunk-74N7E566.mjs → chunk-T4VM27IJ.mjs} +1 -1
- package/lib/chunk-TBR32D5M.mjs +26 -0
- package/lib/{chunk-WZNAXR6Q.mjs → chunk-TCRJL43C.mjs} +4 -4
- package/lib/{chunk-UMAMF5YJ.mjs → chunk-TPXCSXWT.mjs} +6 -5
- package/lib/chunk-TYVII7EX.mjs +1 -0
- package/lib/{chunk-PBPNVWL2.mjs → chunk-U2STNP4N.mjs} +1 -1
- package/lib/{chunk-POM5H35R.mjs → chunk-UC3N6X6R.mjs} +2 -2
- package/lib/chunk-UMI3AJYV.mjs +1 -0
- package/lib/{chunk-H6FVJB5Z.mjs → chunk-UPP3GX33.mjs} +12 -6
- package/lib/{chunk-Q4EJ7LGQ.mjs → chunk-UTXKOHCM.mjs} +5 -6
- package/lib/{chunk-2A6R2TW7.mjs → chunk-V4BZDJSQ.mjs} +1 -1
- package/lib/chunk-VDIATO4X.mjs +51 -0
- package/lib/{chunk-NTS75UVH.mjs → chunk-VDLM4YQP.mjs} +2 -0
- package/lib/{chunk-XYFBDF32.mjs → chunk-VL2UCFFK.mjs} +4 -6
- package/lib/{chunk-GOX7ZBMG.mjs → chunk-VSYM7BJ4.mjs} +15 -4
- package/lib/chunk-VZX5PGQL.mjs +28 -0
- package/lib/{chunk-BH5LIONT.mjs → chunk-WB5FKCPB.mjs} +9 -9
- package/lib/chunk-WLYGSJUB.mjs +1 -0
- package/lib/{chunk-KWHZZUYO.mjs → chunk-WV5PBU2C.mjs} +3 -3
- package/lib/{chunk-2CYVOYRM.mjs → chunk-WVL5S3CD.mjs} +1 -1
- package/lib/{chunk-D7SER4BZ.mjs → chunk-X5HHW5EE.mjs} +4 -4
- package/lib/{chunk-SJ5DUOZ6.mjs → chunk-X67AAUB2.mjs} +1 -1
- package/lib/{chunk-WC3ULY5W.mjs → chunk-XXKEMYTB.mjs} +1 -1
- package/lib/{chunk-PRRXEPHP.mjs → chunk-XZCE64VV.mjs} +1 -1
- package/lib/{chunk-EFTZDOEV.mjs → chunk-Y4CLZAPU.mjs} +2 -2
- package/lib/chunk-Y6VHQF2J.mjs +548 -0
- package/lib/{chunk-R7ZJGYVD.mjs → chunk-Y7WPI233.mjs} +2 -2
- package/lib/{chunk-VWBRZW2B.mjs → chunk-YF74SWNR.mjs} +2 -2
- package/lib/{chunk-E4XP6M6C.mjs → chunk-YIZOLNKO.mjs} +36 -36
- package/lib/{chunk-MKOK7VNZ.mjs → chunk-YKUYXBXK.mjs} +1 -1
- package/lib/{chunk-TTMI7WFG.mjs → chunk-YR5WZRJD.mjs} +1 -1
- package/lib/{chunk-LQ7MOJFV.mjs → chunk-YSBY3XJC.mjs} +9 -9
- package/lib/{chunk-EQIF6RE5.mjs → chunk-ZEEM3OU3.mjs} +8 -8
- package/lib/{chunk-Y3K4LGOG.mjs → chunk-ZETHVOMR.mjs} +1 -1
- package/lib/chunk-ZJYFDULL.mjs +1 -0
- package/lib/chunk-ZNF2AXYR.mjs +58 -0
- package/lib/chunk-ZRWNSZC6.mjs +56 -0
- package/lib/{chunk-HQXEF7BU.mjs → chunk-ZSBVX26X.mjs} +8 -8
- package/lib/{chunk-AD63JH53.mjs → chunk-ZUSPKNMI.mjs} +1 -1
- package/lib/{chunk-P2RMWELW.mjs → chunk-ZUZ6IVLL.mjs} +1 -1
- package/lib/{chunk-LKS2SY52.mjs → chunk-ZWCLOA5C.mjs} +1 -1
- package/lib/{chunk-4K5SE35T.mjs → chunk-ZX64XZS4.mjs} +1 -1
- package/lib/components/accordion/Accordion.mjs +1 -1
- package/lib/components/accordion/Accordion.native.mjs +1 -1
- package/lib/components/accordion/AccordionProps.d.mts +1 -0
- package/lib/components/accordion/AccordionProps.d.ts +1 -0
- package/lib/components/accordion/index.d.mts +2 -2
- package/lib/components/accordion/index.d.ts +2 -2
- package/lib/components/accordion/index.js +16 -16
- package/lib/components/accordion/index.mjs +1 -1
- package/lib/components/accordion/index.native.js +8 -1
- package/lib/components/accordion/index.native.mjs +7 -7
- package/lib/components/accordion/item/AccordionItem.mjs +1 -1
- package/lib/components/accordion/item/AccordionItem.native.js +8 -1
- package/lib/components/accordion/item/AccordionItem.native.mjs +7 -7
- package/lib/components/accordion/item/AccordionItemProps.d.mts +1 -0
- package/lib/components/accordion/item/AccordionItemProps.d.ts +1 -0
- package/lib/components/accordion/item/body/AccordionBody.mjs +1 -1
- package/lib/components/accordion/item/body/AccordionBody.native.mjs +1 -1
- package/lib/components/accordion/item/body/AccordionBodyProps.d.mts +1 -0
- package/lib/components/accordion/item/body/AccordionBodyProps.d.ts +1 -0
- package/lib/components/accordion/item/body/index.mjs +1 -1
- package/lib/components/accordion/item/body/index.native.mjs +1 -1
- package/lib/components/accordion/item/header/AccordionHeader.mjs +1 -1
- package/lib/components/accordion/item/header/AccordionHeader.native.mjs +1 -1
- package/lib/components/accordion/item/header/AccordionHeaderProps.d.mts +1 -0
- package/lib/components/accordion/item/header/AccordionHeaderProps.d.ts +1 -0
- package/lib/components/accordion/item/header/index.mjs +1 -1
- package/lib/components/accordion/item/header/index.native.mjs +1 -1
- package/lib/components/accordion/item/index.mjs +1 -1
- package/lib/components/accordion/item/index.native.js +8 -1
- package/lib/components/accordion/item/index.native.mjs +7 -7
- package/lib/components/alert/Alert.js +40 -41
- package/lib/components/alert/Alert.mjs +14 -14
- package/lib/components/alert/Alert.native.js +354 -323
- package/lib/components/alert/Alert.native.mjs +20 -21
- package/lib/components/alert/AlertProps.d.mts +1 -0
- package/lib/components/alert/AlertProps.d.ts +1 -0
- package/lib/components/alert/AlertPropsDefaults.js +2 -0
- package/lib/components/alert/ToasterStatusPropsDefaults.js +2 -0
- package/lib/components/alert/context/ToastPropsDefaults.js +2 -0
- package/lib/components/alert/index.d.mts +1 -1
- package/lib/components/alert/index.d.ts +1 -1
- package/lib/components/alert/index.js +40 -41
- package/lib/components/alert/index.mjs +14 -14
- package/lib/components/alert/index.native.js +354 -323
- package/lib/components/alert/index.native.mjs +20 -21
- package/lib/components/autocomplete/AutoComplete.d.mts +1 -1
- package/lib/components/autocomplete/AutoComplete.d.ts +1 -1
- package/lib/components/autocomplete/AutoComplete.js +85 -51
- package/lib/components/autocomplete/AutoComplete.mjs +28 -28
- package/lib/components/autocomplete/AutoComplete.native.js +208 -164
- package/lib/components/autocomplete/AutoComplete.native.mjs +19 -20
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +11 -0
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +11 -0
- package/lib/components/autocomplete/index.js +85 -53
- package/lib/components/autocomplete/index.mjs +30 -30
- package/lib/components/autocomplete/index.native.js +217 -180
- package/lib/components/autocomplete/index.native.mjs +25 -26
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.mts +1 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +1 -0
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +91 -95
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +6 -7
- package/lib/components/autocomplete/item/AutoCompleteItem.d.mts +1 -0
- package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +1 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.d.mts +1 -0
- package/lib/components/autocomplete/item/AutoCompleteItemProps.d.ts +1 -0
- package/lib/components/autocomplete/item/index.mjs +1 -1
- package/lib/components/autocomplete/item/index.native.js +91 -95
- package/lib/components/autocomplete/item/index.native.mjs +6 -7
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.mts +2 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +2 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +1 -8
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.mts +1 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +1 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +111 -109
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +15 -16
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.mts +1 -0
- package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.ts +1 -0
- package/lib/components/autocomplete/menu/index.js +1 -8
- package/lib/components/autocomplete/menu/index.mjs +2 -2
- package/lib/components/autocomplete/menu/index.native.js +111 -109
- package/lib/components/autocomplete/menu/index.native.mjs +15 -16
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.js +4 -2
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +3 -3
- package/lib/components/autolayout/AutoLayout/index.native.js +4 -2
- package/lib/components/autolayout/AutoLayout/index.native.mjs +3 -3
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.js +4 -2
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +4 -4
- package/lib/components/autolayout/SpacingMatrix/index.d.mts +1 -0
- package/lib/components/autolayout/SpacingMatrix/index.d.ts +1 -0
- package/lib/components/autolayout/SpacingMatrix/index.native.d.mts +1 -0
- package/lib/components/autolayout/SpacingMatrix/index.native.d.ts +1 -0
- package/lib/components/autolayout/helpers/AutoLayout.helpers.js +4 -2
- package/lib/components/autolayout/helpers/AutoLayout.helpers.mjs +3 -3
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.js +4 -2
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.mjs +2 -2
- package/lib/components/autolayout/index.native.js +4 -2
- package/lib/components/autolayout/index.native.mjs +4 -4
- package/lib/components/autolayout/interface.d.mts +1 -0
- package/lib/components/autolayout/interface.d.ts +1 -0
- package/lib/components/badge/Badge.js +1 -0
- package/lib/components/badge/Badge.mjs +10 -10
- package/lib/components/badge/Badge.native.js +16 -22
- package/lib/components/badge/Badge.native.mjs +13 -14
- package/lib/components/badge/BadgeProps.d.mts +1 -0
- package/lib/components/badge/BadgeProps.d.ts +1 -0
- package/lib/components/badge/index.js +1 -0
- package/lib/components/badge/index.mjs +11 -11
- package/lib/components/badge/index.native.d.mts +1 -0
- package/lib/components/badge/index.native.d.ts +1 -0
- package/lib/components/badge/index.native.js +27 -22
- package/lib/components/badge/index.native.mjs +18 -16
- package/lib/components/box/Box.js +1 -0
- package/lib/components/box/Box.mjs +5 -5
- package/lib/components/box/Box.native.js +1 -0
- package/lib/components/box/Box.native.mjs +3 -3
- package/lib/components/box/BoxProps.d.mts +1 -0
- package/lib/components/box/BoxProps.d.ts +1 -0
- package/lib/components/box/BoxPropsDefaults.js +4 -0
- package/lib/components/box/content/BoxContent.js +1 -0
- package/lib/components/box/content/BoxContent.mjs +5 -5
- package/lib/components/box/content/BoxContent.native.js +2 -9
- package/lib/components/box/content/BoxContent.native.mjs +3 -3
- package/lib/components/box/content/BoxContentProps.d.mts +1 -0
- package/lib/components/box/content/BoxContentProps.d.ts +1 -0
- package/lib/components/box/content/BoxContentPropsDefaults.js +2 -0
- package/lib/components/box/content/index.js +1 -0
- package/lib/components/box/content/index.mjs +6 -6
- package/lib/components/box/content/index.native.js +2 -9
- package/lib/components/box/content/index.native.mjs +3 -3
- package/lib/components/box/footer/BoxFooter.js +1 -0
- package/lib/components/box/footer/BoxFooter.mjs +5 -5
- package/lib/components/box/footer/BoxFooter.native.js +13 -19
- package/lib/components/box/footer/BoxFooter.native.mjs +13 -14
- package/lib/components/box/footer/BoxFooterProps.d.mts +1 -0
- package/lib/components/box/footer/BoxFooterProps.d.ts +1 -0
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +2 -0
- package/lib/components/box/footer/index.js +1 -0
- package/lib/components/box/footer/index.mjs +6 -6
- package/lib/components/box/footer/index.native.js +13 -19
- package/lib/components/box/footer/index.native.mjs +13 -14
- package/lib/components/box/header/BoxHeader.js +3 -0
- package/lib/components/box/header/BoxHeader.mjs +6 -6
- package/lib/components/box/header/BoxHeader.native.js +1 -0
- package/lib/components/box/header/BoxHeader.native.mjs +3 -3
- package/lib/components/box/header/BoxHeaderProps.d.mts +1 -0
- package/lib/components/box/header/BoxHeaderProps.d.ts +1 -0
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +2 -0
- package/lib/components/box/header/index.js +3 -0
- package/lib/components/box/header/index.mjs +7 -7
- package/lib/components/box/header/index.native.js +1 -0
- package/lib/components/box/header/index.native.mjs +3 -3
- package/lib/components/box/index.js +3 -0
- package/lib/components/box/index.mjs +18 -18
- package/lib/components/box/index.native.js +25 -39
- package/lib/components/box/index.native.mjs +20 -21
- package/lib/components/box/item/BoxItem.mjs +1 -1
- package/lib/components/box/item/BoxItem.native.mjs +1 -1
- package/lib/components/box/item/BoxItemProps.d.mts +1 -0
- package/lib/components/box/item/BoxItemProps.d.ts +1 -0
- package/lib/components/box/item/index.mjs +1 -1
- package/lib/components/box/item/index.native.mjs +1 -1
- package/lib/components/box/table-container/BoxTableContainer.mjs +1 -1
- package/lib/components/box/table-container/BoxTableContainer.native.mjs +1 -1
- package/lib/components/box/table-container/BoxTableContainerProps.d.mts +1 -0
- package/lib/components/box/table-container/BoxTableContainerProps.d.ts +1 -0
- package/lib/components/box/table-container/index.mjs +1 -1
- package/lib/components/box/table-container/index.native.mjs +1 -1
- package/lib/components/breadcrumb/Breadcrumb.mjs +1 -1
- package/lib/components/breadcrumb/Breadcrumb.native.js +8 -1
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +7 -7
- package/lib/components/breadcrumb/BreadcrumbProps.d.mts +1 -0
- package/lib/components/breadcrumb/BreadcrumbProps.d.ts +1 -0
- package/lib/components/breadcrumb/index.js +1 -0
- package/lib/components/breadcrumb/index.mjs +10 -10
- package/lib/components/breadcrumb/index.native.js +69 -70
- package/lib/components/breadcrumb/index.native.mjs +11 -13
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +1 -0
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +10 -10
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +93 -100
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +6 -8
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.mts +1 -0
- package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.ts +1 -0
- package/lib/components/breadcrumb/item/index.js +1 -0
- package/lib/components/breadcrumb/item/index.mjs +10 -10
- package/lib/components/breadcrumb/item/index.native.js +93 -100
- package/lib/components/breadcrumb/item/index.native.mjs +6 -8
- package/lib/components/button/Button.js +1 -0
- package/lib/components/button/Button.mjs +9 -9
- package/lib/components/button/Button.native.js +107 -108
- package/lib/components/button/Button.native.mjs +14 -16
- package/lib/components/button/ButtonProps.d.mts +1 -0
- package/lib/components/button/ButtonProps.d.ts +1 -0
- package/lib/components/button/ButtonPropsDefaults.js +2 -0
- package/lib/components/button/index.js +1 -0
- package/lib/components/button/index.mjs +9 -9
- package/lib/components/button/index.native.js +110 -111
- package/lib/components/button/index.native.mjs +14 -16
- package/lib/components/button/list/ButtonList.mjs +1 -1
- package/lib/components/button/list/ButtonList.native.mjs +1 -1
- package/lib/components/button/list/ButtonListProps.d.mts +1 -0
- package/lib/components/button/list/ButtonListProps.d.ts +1 -0
- package/lib/components/button/list/index.mjs +1 -1
- package/lib/components/button/list/index.native.mjs +1 -1
- package/lib/components/calendar/Calendar.d.mts +15 -0
- package/lib/components/calendar/Calendar.d.ts +15 -0
- package/lib/components/calendar/Calendar.js +1430 -0
- package/lib/components/calendar/Calendar.mjs +81 -0
- package/lib/components/calendar/Calendar.native.d.mts +3 -0
- package/lib/components/calendar/Calendar.native.d.ts +3 -0
- package/lib/components/calendar/Calendar.native.js +41 -0
- package/lib/components/calendar/Calendar.native.mjs +8 -0
- package/lib/components/calendar/CalendarProps.d.mts +11 -0
- package/lib/components/calendar/CalendarProps.d.ts +11 -0
- package/lib/components/calendar/CalendarProps.js +19 -0
- package/lib/components/calendar/CalendarProps.mjs +2 -0
- package/lib/components/calendar/CalendarPropsDefaults.js +63 -0
- package/lib/components/calendar/index.d.mts +3 -0
- package/lib/components/calendar/index.d.ts +3 -0
- package/lib/components/calendar/index.js +1434 -0
- package/lib/components/calendar/index.mjs +83 -0
- package/lib/components/calendar/index.native.d.mts +3 -0
- package/lib/components/calendar/index.native.d.ts +3 -0
- package/lib/components/calendar/index.native.js +47 -0
- package/lib/components/calendar/index.native.mjs +10 -0
- package/lib/components/card/Card.mjs +1 -1
- package/lib/components/card/Card.native.js +1 -0
- package/lib/components/card/Card.native.mjs +3 -3
- package/lib/components/card/CardProps.d.mts +1 -0
- package/lib/components/card/CardProps.d.ts +1 -0
- package/lib/components/card/content/CardContent.mjs +1 -1
- package/lib/components/card/content/CardContent.native.js +1 -0
- package/lib/components/card/content/CardContent.native.mjs +4 -4
- package/lib/components/card/content/CardContentProps.d.mts +1 -0
- package/lib/components/card/content/CardContentProps.d.ts +1 -0
- package/lib/components/card/content/index.mjs +1 -1
- package/lib/components/card/content/index.native.js +1 -0
- package/lib/components/card/content/index.native.mjs +4 -4
- package/lib/components/card/image/CardImage.mjs +1 -1
- package/lib/components/card/image/CardImage.native.js +1 -0
- package/lib/components/card/image/CardImage.native.mjs +4 -4
- package/lib/components/card/image/index.mjs +1 -1
- package/lib/components/card/image/index.native.js +1 -0
- package/lib/components/card/image/index.native.mjs +4 -4
- package/lib/components/card/index.mjs +2 -2
- package/lib/components/card/index.native.js +1 -0
- package/lib/components/card/index.native.mjs +7 -7
- package/lib/components/checkbox/Checkbox.mjs +1 -1
- package/lib/components/checkbox/Checkbox.native.js +72 -72
- package/lib/components/checkbox/Checkbox.native.mjs +10 -11
- package/lib/components/checkbox/index.js +160 -72
- package/lib/components/checkbox/index.mjs +27 -23
- package/lib/components/checkbox/index.native.js +208 -206
- package/lib/components/checkbox/index.native.mjs +25 -25
- package/lib/components/checkbox/list/CheckboxList.js +98 -20
- package/lib/components/checkbox/list/CheckboxList.mjs +21 -17
- package/lib/components/checkbox/list/CheckboxList.native.d.mts +1 -0
- package/lib/components/checkbox/list/CheckboxList.native.d.ts +1 -0
- package/lib/components/checkbox/list/CheckboxList.native.js +202 -6
- package/lib/components/checkbox/list/CheckboxList.native.mjs +18 -5
- package/lib/components/checkbox/list/CheckboxListProps/index.d.mts +1 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.d.ts +1 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.native.d.mts +2 -0
- package/lib/components/checkbox/list/CheckboxListProps/index.native.d.ts +2 -0
- package/lib/components/checkbox/list/CheckboxListProps.d.mts +27 -0
- package/lib/components/checkbox/list/CheckboxListProps.d.ts +27 -0
- package/lib/components/checkbox/list/CheckboxListProps.js +19 -0
- package/lib/components/checkbox/list/CheckboxListProps.mjs +1 -0
- package/lib/components/checkbox/list/CheckboxListPropsDefaults.js +17 -0
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +68 -0
- package/lib/components/checkbox/list/index.js +98 -20
- package/lib/components/checkbox/list/index.mjs +21 -17
- package/lib/components/checkbox/list/index.native.js +202 -6
- package/lib/components/checkbox/list/index.native.mjs +18 -5
- package/lib/components/checkbox/tiles/CheckboxTiles.js +3 -1
- package/lib/components/checkbox/tiles/CheckboxTiles.mjs +3 -3
- package/lib/components/checkbox/tiles/CheckboxTiles.native.mjs +3 -3
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.mts +1 -0
- package/lib/components/checkbox/tiles/CheckboxTilesProps.d.ts +1 -0
- package/lib/components/checkbox/tiles/index.js +3 -1
- package/lib/components/checkbox/tiles/index.mjs +3 -3
- package/lib/components/checkbox/tiles/index.native.mjs +3 -3
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +26 -17
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +16 -16
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.mts +1 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +1 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +208 -220
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +16 -17
- package/lib/components/checkbox/tiles/tile/{CheckboxTileProps.d.mts → CheckboxTileProps/index.d.mts} +5 -4
- package/lib/components/checkbox/tiles/tile/{CheckboxTileProps.d.ts → CheckboxTileProps/index.d.ts} +5 -4
- package/lib/components/checkbox/tiles/tile/{CheckboxTileProps.js → CheckboxTileProps/index.js} +1 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.mjs +2 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.d.mts +18 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.d.ts +18 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.js +19 -0
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.mjs +2 -0
- package/lib/components/checkbox/tiles/tile/index.js +26 -17
- package/lib/components/checkbox/tiles/tile/index.mjs +17 -17
- package/lib/components/checkbox/tiles/tile/index.native.d.mts +1 -1
- package/lib/components/checkbox/tiles/tile/index.native.d.ts +1 -1
- package/lib/components/checkbox/tiles/tile/index.native.js +208 -220
- package/lib/components/checkbox/tiles/tile/index.native.mjs +17 -18
- package/lib/components/chips/Chips.mjs +1 -1
- package/lib/components/chips/Chips.native.js +120 -118
- package/lib/components/chips/Chips.native.mjs +10 -11
- package/lib/components/chips/ChipsProps.d.mts +1 -0
- package/lib/components/chips/ChipsProps.d.ts +1 -0
- package/lib/components/chips/index.mjs +1 -1
- package/lib/components/chips/index.native.js +120 -118
- package/lib/components/chips/index.native.mjs +11 -12
- package/lib/components/chips/list/ChipsList.mjs +1 -1
- package/lib/components/chips/list/ChipsList.native.mjs +1 -1
- package/lib/components/chips/list/ChipsListProps.d.mts +1 -0
- package/lib/components/chips/list/ChipsListProps.d.ts +1 -0
- package/lib/components/chips/list/index.mjs +1 -1
- package/lib/components/chips/list/index.native.mjs +1 -1
- package/lib/components/columns/Columns.js +2 -0
- package/lib/components/columns/Columns.mjs +3 -3
- package/lib/components/columns/Columns.native.js +67 -64
- package/lib/components/columns/Columns.native.mjs +4 -4
- package/lib/components/columns/ColumnsProps.d.mts +1 -0
- package/lib/components/columns/ColumnsProps.d.ts +1 -0
- package/lib/components/columns/column/Column.js +2 -0
- package/lib/components/columns/column/Column.mjs +3 -3
- package/lib/components/columns/column/Column.native.d.mts +5 -2
- package/lib/components/columns/column/Column.native.d.ts +5 -2
- package/lib/components/columns/column/Column.native.js +56 -53
- package/lib/components/columns/column/Column.native.mjs +14 -15
- package/lib/components/columns/column/ColumnProps.d.mts +1 -0
- package/lib/components/columns/column/ColumnProps.d.ts +1 -0
- package/lib/components/columns/column/ColumnPropsDefaults.js +14 -14
- package/lib/components/columns/column/index.js +2 -0
- package/lib/components/columns/column/index.mjs +4 -4
- package/lib/components/columns/column/index.native.js +56 -53
- package/lib/components/columns/column/index.native.mjs +14 -15
- package/lib/components/columns/context/index.d.mts +3 -2
- package/lib/components/columns/context/index.d.ts +3 -2
- package/lib/components/columns/context/index.js +3 -2
- package/lib/components/columns/context/index.mjs +1 -1
- package/lib/components/columns/index.js +2 -0
- package/lib/components/columns/index.mjs +5 -5
- package/lib/components/columns/index.native.js +120 -115
- package/lib/components/columns/index.native.mjs +15 -16
- package/lib/components/container/Container.mjs +1 -1
- package/lib/components/container/Container.native.mjs +1 -1
- package/lib/components/container/ContainerProps.d.mts +1 -0
- package/lib/components/container/ContainerProps.d.ts +1 -0
- package/lib/components/container/index.mjs +1 -1
- package/lib/components/container/index.native.mjs +1 -1
- package/lib/components/countdown/Countdown.mjs +1 -1
- package/lib/components/countdown/Countdown.native.js +98 -102
- package/lib/components/countdown/Countdown.native.mjs +6 -7
- package/lib/components/countdown/index.mjs +2 -2
- package/lib/components/countdown/index.native.js +98 -102
- package/lib/components/countdown/index.native.mjs +7 -8
- package/lib/components/datepicker/DatePicker.d.mts +22 -0
- package/lib/components/datepicker/DatePicker.d.ts +22 -0
- package/lib/components/datepicker/DatePicker.js +2356 -0
- package/lib/components/datepicker/DatePicker.mjs +101 -0
- package/lib/components/datepicker/DatePicker.native.d.mts +3 -0
- package/lib/components/datepicker/DatePicker.native.d.ts +3 -0
- package/lib/components/datepicker/DatePicker.native.js +41 -0
- package/lib/components/datepicker/DatePicker.native.mjs +8 -0
- package/lib/components/datepicker/DatePickerEnum.d.mts +7 -0
- package/lib/components/datepicker/DatePickerEnum.d.ts +7 -0
- package/lib/components/datepicker/DatePickerEnum.js +37 -0
- package/lib/components/datepicker/DatePickerEnum.mjs +14 -0
- package/lib/components/datepicker/DatePickerProps.d.mts +37 -0
- package/lib/components/datepicker/DatePickerProps.d.ts +37 -0
- package/lib/components/datepicker/DatePickerProps.js +19 -0
- package/lib/components/datepicker/DatePickerProps.mjs +1 -0
- package/lib/components/datepicker/DatePickerPropsDefaults.js +117 -0
- package/lib/components/datepicker/HandleKeyPressDefaults.js +14 -0
- package/lib/components/datepicker/SegmentDefaults.js +33 -0
- package/lib/components/datepicker/SegmentsDefaults.js +14 -0
- package/lib/components/datepicker/index.d.mts +2 -0
- package/lib/components/datepicker/index.d.ts +2 -0
- package/lib/components/datepicker/index.js +2360 -0
- package/lib/components/datepicker/index.mjs +102 -0
- package/lib/components/datepicker/index.native.d.mts +2 -0
- package/lib/components/datepicker/index.native.d.ts +2 -0
- package/lib/components/datepicker/index.native.js +47 -0
- package/lib/components/datepicker/index.native.mjs +9 -0
- package/lib/components/divider/Divider.js +26 -18
- package/lib/components/divider/Divider.mjs +8 -8
- package/lib/components/divider/Divider.native.js +126 -126
- package/lib/components/divider/Divider.native.mjs +10 -11
- package/lib/components/divider/DividerProps/index.mjs +0 -1
- package/lib/components/divider/DividerProps.d.mts +15 -0
- package/lib/components/divider/DividerProps.d.ts +15 -0
- package/lib/components/divider/DividerProps.js +19 -0
- package/lib/components/divider/DividerProps.mjs +2 -0
- package/lib/components/{checkbox/tiles/tile/CheckboxTilePropsDefaults.js → divider/DividerPropsDefaults.js} +18 -26
- package/lib/components/divider/index.js +26 -18
- package/lib/components/divider/index.mjs +9 -9
- package/lib/components/divider/index.native.js +126 -126
- package/lib/components/divider/index.native.mjs +11 -12
- package/lib/components/enumsComponentsName.d.mts +3 -1
- package/lib/components/enumsComponentsName.d.ts +3 -1
- package/lib/components/enumsComponentsName.js +2 -0
- package/lib/components/enumsComponentsName.mjs +1 -1
- package/lib/components/fab/Fab.js +50 -51
- package/lib/components/fab/Fab.mjs +9 -9
- package/lib/components/fab/Fab.native.js +148 -129
- package/lib/components/fab/Fab.native.mjs +14 -15
- package/lib/components/fab/FabProps.d.mts +1 -0
- package/lib/components/fab/FabProps.d.ts +1 -0
- package/lib/components/fab/FabPropsDefaults.js +2 -0
- package/lib/components/fab/index.js +50 -51
- package/lib/components/fab/index.mjs +9 -9
- package/lib/components/fab/index.native.js +148 -129
- package/lib/components/fab/index.native.mjs +14 -15
- package/lib/components/flex-box/FlexBox.d.mts +3 -2
- package/lib/components/flex-box/FlexBox.d.ts +3 -2
- package/lib/components/flex-box/FlexBox.js +33 -15
- package/lib/components/flex-box/FlexBox.mjs +3 -3
- package/lib/components/flex-box/FlexBox.native.js +137 -130
- package/lib/components/flex-box/FlexBox.native.mjs +16 -17
- package/lib/components/flex-box/FlexBoxProps.d.mts +17 -11
- package/lib/components/flex-box/FlexBoxProps.d.ts +17 -11
- package/lib/components/flex-box/FlexBoxPropsDefaults.js +24 -1
- package/lib/components/flex-box/ResponsiveValueDefaults.js +37 -0
- package/lib/components/flex-box/flex-item/FlexItem.js +4 -2
- package/lib/components/flex-box/flex-item/FlexItem.mjs +3 -3
- package/lib/components/flex-box/flex-item/FlexItem.native.mjs +3 -3
- package/lib/components/flex-box/flex-item/FlexItemProps.d.mts +3 -2
- package/lib/components/flex-box/flex-item/FlexItemProps.d.ts +3 -2
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +1 -1
- package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +8 -8
- package/lib/components/flex-box/index.js +35 -17
- package/lib/components/flex-box/index.mjs +4 -4
- package/lib/components/flex-box/index.native.js +143 -136
- package/lib/components/flex-box/index.native.mjs +17 -18
- package/lib/components/hero/Hero.d.mts +1 -1
- package/lib/components/hero/Hero.d.ts +1 -1
- package/lib/components/hero/Hero.js +3 -2
- package/lib/components/hero/Hero.mjs +5 -5
- package/lib/components/hero/Hero.native.js +37 -51
- package/lib/components/hero/Hero.native.mjs +18 -19
- package/lib/components/hero/HeroProps.d.mts +1 -0
- package/lib/components/hero/HeroProps.d.ts +1 -0
- package/lib/components/hero/HeroPropsDefaults.js +2 -0
- package/lib/components/hero/index.js +3 -4
- package/lib/components/hero/index.mjs +6 -6
- package/lib/components/hero/index.native.js +37 -51
- package/lib/components/hero/index.native.mjs +19 -20
- package/lib/components/icon/Icon.js +1 -0
- package/lib/components/icon/Icon.mjs +5 -5
- package/lib/components/icon/Icon.native.js +8 -1
- package/lib/components/icon/Icon.native.mjs +4 -4
- package/lib/components/icon/IconNameEnum.d.mts +1 -0
- package/lib/components/icon/IconNameEnum.d.ts +1 -0
- package/lib/components/icon/IconNameEnum.js +1 -0
- package/lib/components/icon/IconNameEnum.mjs +1 -1
- package/lib/components/icon/{IconProps.d.mts → IconProps/index.d.mts} +4 -4
- package/lib/components/icon/{IconProps.d.ts → IconProps/index.d.ts} +4 -4
- package/lib/components/icon/{IconProps.js → IconProps/index.js} +1 -1
- package/lib/components/icon/IconProps/index.mjs +2 -0
- package/lib/components/icon/IconProps/index.native.d.mts +19 -0
- package/lib/components/icon/IconProps/index.native.d.ts +19 -0
- package/lib/components/icon/IconProps/index.native.js +19 -0
- package/lib/components/icon/IconProps/index.native.mjs +2 -0
- package/lib/components/icon/index.js +2 -0
- package/lib/components/icon/index.mjs +7 -7
- package/lib/components/icon/index.native.d.mts +1 -1
- package/lib/components/icon/index.native.d.ts +1 -1
- package/lib/components/icon/index.native.js +9 -1
- package/lib/components/icon/index.native.mjs +6 -6
- package/lib/components/image/Image.d.mts +2 -0
- package/lib/components/image/Image.d.ts +2 -0
- package/lib/components/image/Image.js +44 -33
- package/lib/components/image/Image.mjs +16 -16
- package/lib/components/image/Image.native.d.mts +2 -0
- package/lib/components/image/Image.native.d.ts +2 -0
- package/lib/components/image/Image.native.js +30 -23
- package/lib/components/image/Image.native.mjs +2 -2
- package/lib/components/image/ImageProps.d.mts +3 -1
- package/lib/components/image/ImageProps.d.ts +3 -1
- package/lib/components/image/ImagePropsDefaults.js +9 -0
- package/lib/components/image/index.js +44 -33
- package/lib/components/image/index.mjs +19 -19
- package/lib/components/image/index.native.js +30 -23
- package/lib/components/image/index.native.mjs +2 -2
- package/lib/components/index.d.mts +2 -0
- package/lib/components/index.d.ts +2 -0
- package/lib/components/index.js +3591 -2602
- package/lib/components/index.mjs +224 -212
- package/lib/components/index.native.d.mts +2 -0
- package/lib/components/index.native.d.ts +2 -0
- package/lib/components/index.native.js +2124 -2001
- package/lib/components/index.native.mjs +221 -213
- package/lib/components/input/ISecurityRulesDefaults.js +23 -0
- package/lib/components/input/Input.d.mts +5 -1
- package/lib/components/input/Input.d.ts +5 -1
- package/lib/components/input/Input.js +80 -41
- package/lib/components/input/Input.mjs +21 -21
- package/lib/components/input/Input.native.d.mts +3 -1
- package/lib/components/input/Input.native.d.ts +3 -1
- package/lib/components/input/Input.native.js +193 -149
- package/lib/components/input/Input.native.mjs +16 -17
- package/lib/components/input/InputProps.d.mts +10 -6
- package/lib/components/input/InputProps.d.ts +10 -6
- package/lib/components/input/InputPropsDefaults.js +11 -0
- package/lib/components/input/gauge/InputGauge.d.mts +5 -2
- package/lib/components/input/gauge/InputGauge.d.ts +5 -2
- package/lib/components/input/gauge/InputGauge.js +72 -42
- package/lib/components/input/gauge/InputGauge.mjs +16 -16
- package/lib/components/input/gauge/InputGauge.native.d.mts +4 -2
- package/lib/components/input/gauge/InputGauge.native.d.ts +4 -2
- package/lib/components/input/gauge/InputGauge.native.js +157 -114
- package/lib/components/input/gauge/InputGauge.native.mjs +15 -16
- package/lib/components/input/gauge/hook/useGauge.d.mts +11 -3
- package/lib/components/input/gauge/hook/useGauge.d.ts +11 -3
- package/lib/components/input/gauge/hook/useGauge.js +80 -62
- package/lib/components/input/gauge/hook/useGauge.mjs +15 -15
- package/lib/components/input/gauge/hook/useGauge.native.d.mts +11 -3
- package/lib/components/input/gauge/hook/useGauge.native.d.ts +11 -3
- package/lib/components/input/gauge/hook/useGauge.native.js +84 -73
- package/lib/components/input/gauge/hook/useGauge.native.mjs +13 -14
- package/lib/components/input/index.js +80 -41
- package/lib/components/input/index.mjs +22 -22
- package/lib/components/input/index.native.js +193 -149
- package/lib/components/input/index.native.mjs +16 -17
- package/lib/components/link/Link.d.mts +1 -0
- package/lib/components/link/Link.d.ts +1 -0
- package/lib/components/link/Link.js +1 -0
- package/lib/components/link/Link.mjs +8 -8
- package/lib/components/link/Link.native.js +8 -1
- package/lib/components/link/Link.native.mjs +7 -7
- package/lib/components/link/LinkDefaults.js +9 -0
- package/lib/components/link/LinkProps.d.mts +1 -0
- package/lib/components/link/LinkProps.d.ts +1 -0
- package/lib/components/link/LinkPropsDefaults.js +9 -0
- package/lib/components/link/LinkPropsNativeDefaults.js +9 -0
- package/lib/components/link/index.js +1 -0
- package/lib/components/link/index.mjs +9 -9
- package/lib/components/link/index.native.js +8 -1
- package/lib/components/link/index.native.mjs +7 -7
- package/lib/components/list/List.js +6 -8
- package/lib/components/list/List.mjs +2 -2
- package/lib/components/list/List.native.mjs +1 -1
- package/lib/components/list/index.js +27 -28
- package/lib/components/list/index.mjs +21 -21
- package/lib/components/list/index.native.js +74 -72
- package/lib/components/list/index.native.mjs +15 -16
- package/lib/components/list/item/ListItem.js +14 -14
- package/lib/components/list/item/ListItem.mjs +16 -16
- package/lib/components/list/item/ListItem.native.js +74 -72
- package/lib/components/list/item/ListItem.native.mjs +14 -15
- package/lib/components/list/item/ListItemPropsDefaults.js +2 -0
- package/lib/components/list/item/description/ListItemDescription.js +7 -6
- package/lib/components/list/item/description/ListItemDescription.mjs +2 -2
- package/lib/components/list/item/description/ListItemDescription.native.d.mts +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.d.ts +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.js +191 -181
- package/lib/components/list/item/description/ListItemDescription.native.mjs +15 -16
- package/lib/components/list/item/description/index.js +7 -6
- package/lib/components/list/item/description/index.mjs +2 -2
- package/lib/components/list/item/description/index.native.js +191 -181
- package/lib/components/list/item/description/index.native.mjs +15 -16
- package/lib/components/list/item/index.js +21 -20
- package/lib/components/list/item/index.mjs +20 -20
- package/lib/components/list/item/index.native.js +74 -72
- package/lib/components/list/item/index.native.mjs +15 -16
- package/lib/components/modal/Modal.js +41 -42
- package/lib/components/modal/Modal.mjs +12 -12
- package/lib/components/modal/Modal.native.js +223 -208
- package/lib/components/modal/Modal.native.mjs +18 -19
- package/lib/components/modal/body/ModalBody.mjs +1 -1
- package/lib/components/modal/body/ModalBody.native.js +17 -23
- package/lib/components/modal/body/ModalBody.native.mjs +13 -14
- package/lib/components/modal/body/ModalBodyProps.d.mts +1 -0
- package/lib/components/modal/body/ModalBodyProps.d.ts +1 -0
- package/lib/components/modal/body/index.native.js +17 -23
- package/lib/components/modal/body/index.native.mjs +13 -14
- package/lib/components/modal/footer/ModalFooter.js +4 -6
- package/lib/components/modal/footer/ModalFooter.mjs +2 -2
- package/lib/components/modal/footer/ModalFooter.native.js +108 -106
- package/lib/components/modal/footer/ModalFooter.native.mjs +15 -16
- package/lib/components/modal/footer/ModalFooterProps.d.mts +1 -0
- package/lib/components/modal/footer/ModalFooterProps.d.ts +1 -0
- package/lib/components/modal/footer/index.native.js +108 -106
- package/lib/components/modal/footer/index.native.mjs +15 -16
- package/lib/components/modal/index.js +45 -48
- package/lib/components/modal/index.mjs +13 -13
- package/lib/components/modal/index.native.js +239 -226
- package/lib/components/modal/index.native.mjs +22 -23
- package/lib/components/otp/Otp.mjs +5 -5
- package/lib/components/otp/Otp.native.js +160 -149
- package/lib/components/otp/Otp.native.mjs +16 -17
- package/lib/components/otp/index.mjs +6 -6
- package/lib/components/otp/index.native.js +160 -149
- package/lib/components/otp/index.native.mjs +16 -17
- package/lib/components/pagination/Pagination.js +83 -76
- package/lib/components/pagination/Pagination.mjs +8 -8
- package/lib/components/pagination/Pagination.native.js +176 -176
- package/lib/components/pagination/Pagination.native.mjs +10 -11
- package/lib/components/pagination/index.js +83 -76
- package/lib/components/pagination/index.mjs +10 -10
- package/lib/components/pagination/index.native.js +176 -176
- package/lib/components/pagination/index.native.mjs +11 -12
- package/lib/components/popover/Popover.d.mts +5 -3
- package/lib/components/popover/Popover.d.ts +5 -3
- package/lib/components/popover/Popover.mjs +1 -1
- package/lib/components/popover/Popover.native.js +83 -91
- package/lib/components/popover/Popover.native.mjs +13 -14
- package/lib/components/popover/index.mjs +1 -1
- package/lib/components/popover/index.native.js +83 -91
- package/lib/components/popover/index.native.mjs +13 -14
- package/lib/components/price/Price.js +1 -0
- package/lib/components/price/Price.mjs +19 -19
- package/lib/components/price/Price.native.js +18 -24
- package/lib/components/price/Price.native.mjs +13 -14
- package/lib/components/price/PriceProps.d.mts +1 -0
- package/lib/components/price/PriceProps.d.ts +1 -0
- package/lib/components/price/index.js +1 -0
- package/lib/components/price/index.mjs +22 -22
- package/lib/components/price/index.native.js +18 -24
- package/lib/components/price/index.native.mjs +14 -15
- package/lib/components/product-tour/ProductTour.js +24 -14
- package/lib/components/product-tour/ProductTour.mjs +9 -9
- package/lib/components/product-tour/ProductTour.native.mjs +1 -1
- package/lib/components/product-tour/ProductTourProps.d.mts +1 -0
- package/lib/components/product-tour/ProductTourProps.d.ts +1 -0
- package/lib/components/product-tour/index.js +24 -14
- package/lib/components/product-tour/index.mjs +9 -9
- package/lib/components/product-tour/index.native.mjs +1 -1
- package/lib/components/progress/Progress.js +31 -32
- package/lib/components/progress/Progress.mjs +19 -19
- package/lib/components/progress/Progress.native.js +190 -180
- package/lib/components/progress/Progress.native.mjs +15 -16
- package/lib/components/progress/ProgressProps/index.d.mts +1 -0
- package/lib/components/progress/ProgressProps/index.d.ts +1 -0
- package/lib/components/progress/ProgressProps/index.native.d.mts +1 -0
- package/lib/components/progress/ProgressProps/index.native.d.ts +1 -0
- package/lib/components/progress/index.js +70 -73
- package/lib/components/progress/index.mjs +26 -26
- package/lib/components/progress/index.native.js +326 -318
- package/lib/components/progress/index.native.mjs +18 -19
- package/lib/components/progress/item/ProgressItem.js +1 -0
- package/lib/components/progress/item/ProgressItem.mjs +16 -16
- package/lib/components/progress/item/ProgressItem.native.mjs +1 -1
- package/lib/components/progress/item/ProgressItemProps/index.d.mts +1 -0
- package/lib/components/progress/item/ProgressItemProps/index.d.ts +1 -0
- package/lib/components/progress/item/ProgressItemProps/index.native.d.mts +1 -0
- package/lib/components/progress/item/ProgressItemProps/index.native.d.ts +1 -0
- package/lib/components/progress/item/index.js +1 -0
- package/lib/components/progress/item/index.mjs +17 -17
- package/lib/components/progress/item/index.native.mjs +1 -1
- package/lib/components/progress/radial/ProgressRadial.js +40 -41
- package/lib/components/progress/radial/ProgressRadial.mjs +7 -7
- package/lib/components/progress/radial/ProgressRadial.native.js +238 -238
- package/lib/components/progress/radial/ProgressRadial.native.mjs +16 -17
- package/lib/components/progress/radial/ProgressRadialProps.d.mts +23 -0
- package/lib/components/progress/radial/ProgressRadialProps.d.ts +23 -0
- package/lib/components/progress/radial/ProgressRadialProps.js +19 -0
- package/lib/components/progress/radial/ProgressRadialProps.mjs +1 -0
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +239 -0
- package/lib/components/progress/radial/index.js +40 -41
- package/lib/components/progress/radial/index.mjs +8 -8
- package/lib/components/progress/radial/index.native.js +238 -238
- package/lib/components/progress/radial/index.native.mjs +16 -17
- package/lib/components/progress/radial/item/ProgressRadialItemProps.d.mts +1 -0
- package/lib/components/progress/radial/item/ProgressRadialItemProps.d.ts +1 -0
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +1 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.d.mts +1 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.d.ts +1 -0
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.mts +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.ts +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.js +36 -36
- package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.mjs +2 -2
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.js +36 -36
- package/lib/components/progress/radial/react-native-circular-progress/CircularProgress.mjs +1 -1
- package/lib/components/progress/radial/react-native-circular-progress/index.js +36 -36
- package/lib/components/progress/radial/react-native-circular-progress/index.mjs +2 -2
- package/lib/components/radio/Radio.js +39 -29
- package/lib/components/radio/Radio.mjs +2 -2
- package/lib/components/radio/Radio.native.js +157 -150
- package/lib/components/radio/Radio.native.mjs +14 -15
- package/lib/components/radio/index.js +261 -167
- package/lib/components/radio/index.mjs +26 -22
- package/lib/components/radio/index.native.js +367 -226
- package/lib/components/radio/index.native.mjs +32 -23
- package/lib/components/radio/list/RadioList.js +98 -20
- package/lib/components/radio/list/RadioList.mjs +21 -17
- package/lib/components/radio/list/RadioList.native.d.mts +1 -0
- package/lib/components/radio/list/RadioList.native.d.ts +1 -0
- package/lib/components/radio/list/RadioList.native.js +145 -6
- package/lib/components/radio/list/RadioList.native.mjs +20 -5
- package/lib/components/radio/list/RadioListProps.d.mts +2 -0
- package/lib/components/radio/list/RadioListProps.d.ts +2 -0
- package/lib/components/radio/list/RadioListPropsDefaults.js +7 -0
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +7 -0
- package/lib/components/radio/list/index.js +98 -20
- package/lib/components/radio/list/index.mjs +21 -17
- package/lib/components/radio/list/index.native.js +145 -6
- package/lib/components/radio/list/index.native.mjs +20 -5
- package/lib/components/radio/tiles/RadioTiles.js +51 -50
- package/lib/components/radio/tiles/RadioTiles.mjs +17 -17
- package/lib/components/radio/tiles/RadioTiles.native.js +12 -14
- package/lib/components/radio/tiles/RadioTiles.native.mjs +3 -3
- package/lib/components/radio/tiles/RadioTilesProps.d.mts +1 -0
- package/lib/components/radio/tiles/RadioTilesProps.d.ts +1 -0
- package/lib/components/radio/tiles/index.js +51 -50
- package/lib/components/radio/tiles/index.mjs +17 -17
- package/lib/components/radio/tiles/index.native.js +12 -14
- package/lib/components/radio/tiles/index.native.mjs +3 -3
- package/lib/components/radio/tiles/tile/RadioTile.js +70 -63
- package/lib/components/radio/tiles/tile/RadioTile.mjs +16 -16
- package/lib/components/radio/tiles/tile/RadioTile.native.js +77 -78
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +15 -17
- package/lib/components/radio/tiles/tile/RadioTileProps.d.mts +1 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +1 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +2 -0
- package/lib/components/radio/tiles/tile/index.js +70 -63
- package/lib/components/radio/tiles/tile/index.mjs +16 -16
- package/lib/components/radio/tiles/tile/index.native.js +77 -78
- package/lib/components/radio/tiles/tile/index.native.mjs +15 -17
- package/lib/components/range/Range.js +1 -0
- package/lib/components/range/Range.mjs +15 -15
- package/lib/components/range/Range.native.js +74 -72
- package/lib/components/range/Range.native.mjs +14 -15
- package/lib/components/range/index.js +1 -0
- package/lib/components/range/index.mjs +15 -15
- package/lib/components/range/index.native.js +74 -72
- package/lib/components/range/index.native.mjs +14 -15
- package/lib/components/rows/Rows.mjs +1 -1
- package/lib/components/rows/Rows.native.mjs +1 -1
- package/lib/components/rows/RowsProps.d.mts +1 -0
- package/lib/components/rows/RowsProps.d.ts +1 -0
- package/lib/components/rows/index.mjs +1 -1
- package/lib/components/rows/index.native.mjs +1 -1
- package/lib/components/rows/row/Row.mjs +1 -1
- package/lib/components/rows/row/Row.native.mjs +1 -1
- package/lib/components/rows/row/RowProps.d.mts +1 -0
- package/lib/components/rows/row/RowProps.d.ts +1 -0
- package/lib/components/rows/row/index.mjs +1 -1
- package/lib/components/rows/row/index.native.mjs +1 -1
- package/lib/components/scroll-view/ScrollView.d.mts +1 -1
- package/lib/components/scroll-view/ScrollView.d.ts +1 -1
- package/lib/components/scroll-view/ScrollView.js +12 -8
- package/lib/components/scroll-view/ScrollView.mjs +16 -16
- package/lib/components/scroll-view/ScrollView.native.js +21 -27
- package/lib/components/scroll-view/ScrollView.native.mjs +13 -14
- package/lib/components/scroll-view/ScrollViewProps.d.mts +1 -0
- package/lib/components/scroll-view/ScrollViewProps.d.ts +1 -0
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +2 -0
- package/lib/components/scroll-view/index.js +12 -8
- package/lib/components/scroll-view/index.mjs +17 -17
- package/lib/components/scroll-view/index.native.js +21 -27
- package/lib/components/scroll-view/index.native.mjs +13 -14
- package/lib/components/section/Section.js +26 -27
- package/lib/components/section/Section.mjs +16 -16
- package/lib/components/section/Section.native.js +30 -38
- package/lib/components/section/Section.native.mjs +13 -14
- package/lib/components/section/SectionPropsDefaults.js +2 -0
- package/lib/components/section/index.js +26 -27
- package/lib/components/section/index.mjs +16 -16
- package/lib/components/section/index.native.js +30 -38
- package/lib/components/section/index.native.mjs +13 -14
- package/lib/components/segment-control/SegmentControl.js +45 -46
- package/lib/components/segment-control/SegmentControl.mjs +17 -17
- package/lib/components/segment-control/SegmentControl.native.js +250 -242
- package/lib/components/segment-control/SegmentControl.native.mjs +15 -16
- package/lib/components/segment-control/SegmentControlProps.d.mts +1 -0
- package/lib/components/segment-control/SegmentControlProps.d.ts +1 -0
- package/lib/components/segment-control/index.js +45 -46
- package/lib/components/segment-control/index.mjs +20 -20
- package/lib/components/segment-control/index.native.js +298 -286
- package/lib/components/segment-control/index.native.mjs +17 -18
- package/lib/components/segment-control/item/SegmentControlItem.mjs +1 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.js +48 -43
- package/lib/components/segment-control/item/SegmentControlItem.native.mjs +3 -3
- package/lib/components/segment-control/item/SegmentControlItemProps.d.mts +1 -0
- package/lib/components/segment-control/item/SegmentControlItemProps.d.ts +1 -0
- package/lib/components/segment-control/item/index.mjs +1 -1
- package/lib/components/segment-control/item/index.native.js +48 -43
- package/lib/components/segment-control/item/index.native.mjs +3 -3
- package/lib/components/select/PropsDefaults.js +2 -0
- package/lib/components/select/Select.js +80 -41
- package/lib/components/select/Select.mjs +28 -28
- package/lib/components/select/Select.native.js +478 -417
- package/lib/components/select/Select.native.mjs +28 -29
- package/lib/components/select/SelectNativePropsDefaults.js +2 -0
- package/lib/components/select/SelectProps.d.mts +1 -0
- package/lib/components/select/SelectProps.d.ts +1 -0
- package/lib/components/select/SelectPropsDefaults.js +2 -0
- package/lib/components/select/index.js +80 -41
- package/lib/components/select/index.mjs +28 -28
- package/lib/components/select/index.native.js +478 -417
- package/lib/components/select/index.native.mjs +29 -30
- package/lib/components/select/option/SelectOption.js +1 -0
- package/lib/components/select/option/SelectOption.mjs +8 -8
- package/lib/components/select/option/SelectOption.native.js +213 -202
- package/lib/components/select/option/SelectOption.native.mjs +17 -18
- package/lib/components/select/option/SelectOptionPropsDefaults.js +2 -0
- package/lib/components/select/option/index.js +1 -0
- package/lib/components/select/option/index.mjs +10 -10
- package/lib/components/select/option/index.native.js +213 -202
- package/lib/components/select/option/index.native.mjs +18 -19
- package/lib/components/select/web/SelectDynamic.d.mts +1 -1
- package/lib/components/select/web/SelectDynamic.d.ts +1 -1
- package/lib/components/select/web/SelectDynamic.js +80 -41
- package/lib/components/select/web/SelectDynamic.mjs +23 -23
- package/lib/components/select/web/SelectNative.js +80 -41
- package/lib/components/select/web/SelectNative.mjs +28 -28
- package/lib/components/select/web/index.js +80 -41
- package/lib/components/select/web/index.mjs +28 -28
- package/lib/components/spacer/Spacer.mjs +1 -1
- package/lib/components/spacer/Spacer.native.mjs +1 -1
- package/lib/components/spacer/index.mjs +1 -1
- package/lib/components/spacer/index.native.mjs +1 -1
- package/lib/components/stepper/Stepper.mjs +1 -1
- package/lib/components/stepper/Stepper.native.js +71 -69
- package/lib/components/stepper/Stepper.native.mjs +14 -15
- package/lib/components/stepper/StepperProps.d.mts +1 -0
- package/lib/components/stepper/StepperProps.d.ts +1 -0
- package/lib/components/stepper/index.js +17 -18
- package/lib/components/stepper/index.mjs +12 -12
- package/lib/components/stepper/index.native.js +109 -109
- package/lib/components/stepper/index.native.mjs +15 -16
- package/lib/components/stepper/step/Step.js +17 -18
- package/lib/components/stepper/step/Step.mjs +8 -8
- package/lib/components/stepper/step/Step.native.js +48 -56
- package/lib/components/stepper/step/Step.native.mjs +13 -14
- package/lib/components/stepper/step/StepPropsDefaults.js +2 -0
- package/lib/components/stepper/step/index.js +17 -18
- package/lib/components/stepper/step/index.mjs +10 -10
- package/lib/components/stepper/step/index.native.js +48 -56
- package/lib/components/stepper/step/index.native.mjs +13 -14
- package/lib/components/sticker/Sticker.js +26 -17
- package/lib/components/sticker/Sticker.mjs +15 -15
- package/lib/components/sticker/Sticker.native.d.mts +1 -1
- package/lib/components/sticker/Sticker.native.d.ts +1 -1
- package/lib/components/sticker/Sticker.native.js +68 -66
- package/lib/components/sticker/Sticker.native.mjs +14 -15
- package/lib/components/sticker/index.js +26 -17
- package/lib/components/sticker/index.mjs +15 -15
- package/lib/components/sticker/index.native.js +68 -66
- package/lib/components/sticker/index.native.mjs +14 -15
- package/lib/components/switch/Switch.js +70 -74
- package/lib/components/switch/Switch.mjs +15 -15
- package/lib/components/switch/Switch.native.js +57 -57
- package/lib/components/switch/Switch.native.mjs +13 -14
- package/lib/components/switch/index.js +70 -74
- package/lib/components/switch/index.mjs +15 -15
- package/lib/components/switch/index.native.js +57 -57
- package/lib/components/switch/index.native.mjs +13 -14
- package/lib/components/table/Table.mjs +1 -1
- package/lib/components/table/Table.native.js +13 -19
- package/lib/components/table/Table.native.mjs +13 -14
- package/lib/components/table/TableProps.d.mts +1 -0
- package/lib/components/table/TableProps.d.ts +1 -0
- package/lib/components/table/body/TableBody.js +1 -0
- package/lib/components/table/body/TableBody.mjs +5 -5
- package/lib/components/table/body/TableBody.native.mjs +1 -1
- package/lib/components/table/body/TableBodyProps.d.mts +1 -0
- package/lib/components/table/body/TableBodyProps.d.ts +1 -0
- package/lib/components/table/body/TableBodyPropsDefaults.js +4 -0
- package/lib/components/table/body/index.js +1 -0
- package/lib/components/table/body/index.mjs +6 -6
- package/lib/components/table/body/index.native.mjs +1 -1
- package/lib/components/table/head/TableHead.js +1 -0
- package/lib/components/table/head/TableHead.mjs +5 -5
- package/lib/components/table/head/TableHead.native.mjs +1 -1
- package/lib/components/table/head/TableHeadProps.d.mts +1 -0
- package/lib/components/table/head/TableHeadProps.d.ts +1 -0
- package/lib/components/table/head/TableHeadPropsDefaults.js +4 -0
- package/lib/components/table/head/index.js +1 -0
- package/lib/components/table/head/index.mjs +6 -6
- package/lib/components/table/head/index.native.mjs +1 -1
- package/lib/components/table/index.js +1 -0
- package/lib/components/table/index.mjs +12 -12
- package/lib/components/table/index.native.js +189 -168
- package/lib/components/table/index.native.mjs +20 -21
- package/lib/components/table/td/TableTd.mjs +1 -1
- package/lib/components/table/td/TableTd.native.js +13 -19
- package/lib/components/table/td/TableTd.native.mjs +13 -14
- package/lib/components/table/td/TableTdProps.d.mts +1 -0
- package/lib/components/table/td/TableTdProps.d.ts +1 -0
- package/lib/components/table/td/index.mjs +1 -1
- package/lib/components/table/td/index.native.js +13 -19
- package/lib/components/table/td/index.native.mjs +13 -14
- package/lib/components/table/th/TableTh.mjs +1 -1
- package/lib/components/table/th/TableTh.native.js +186 -176
- package/lib/components/table/th/TableTh.native.mjs +15 -16
- package/lib/components/table/th/TableThProps.d.mts +1 -0
- package/lib/components/table/th/TableThProps.d.ts +1 -0
- package/lib/components/table/th/index.mjs +1 -1
- package/lib/components/table/th/index.native.js +186 -176
- package/lib/components/table/th/index.native.mjs +15 -16
- package/lib/components/table/tr/TableTr.js +1 -0
- package/lib/components/table/tr/TableTr.mjs +4 -4
- package/lib/components/table/tr/TableTr.native.js +174 -153
- package/lib/components/table/tr/TableTr.native.mjs +15 -16
- package/lib/components/table/tr/TableTrProps.d.mts +1 -0
- package/lib/components/table/tr/TableTrProps.d.ts +1 -0
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +2 -0
- package/lib/components/table/tr/index.js +1 -0
- package/lib/components/table/tr/index.mjs +5 -5
- package/lib/components/table/tr/index.native.js +174 -153
- package/lib/components/table/tr/index.native.mjs +15 -16
- package/lib/components/tabs/Tabs.d.mts +1 -1
- package/lib/components/tabs/Tabs.d.ts +1 -1
- package/lib/components/tabs/Tabs.js +2 -1
- package/lib/components/tabs/Tabs.mjs +3 -3
- package/lib/components/tabs/Tabs.native.js +5 -3
- package/lib/components/tabs/Tabs.native.mjs +3 -3
- package/lib/components/tabs/TabsProps.d.mts +1 -0
- package/lib/components/tabs/TabsProps.d.ts +1 -0
- package/lib/components/tabs/context/index.d.mts +1 -0
- package/lib/components/tabs/context/index.d.ts +1 -0
- package/lib/components/tabs/context/index.js +2 -1
- package/lib/components/tabs/context/index.mjs +1 -1
- package/lib/components/tabs/index.js +13 -11
- package/lib/components/tabs/index.mjs +17 -17
- package/lib/components/tabs/index.native.js +135 -111
- package/lib/components/tabs/index.native.mjs +19 -20
- package/lib/components/tabs/tab-list/TabList.js +5 -1
- package/lib/components/tabs/tab-list/TabList.mjs +12 -12
- package/lib/components/tabs/tab-list/TabList.native.js +120 -97
- package/lib/components/tabs/tab-list/TabList.native.mjs +16 -17
- package/lib/components/tabs/tab-list/TabListProps.d.mts +1 -0
- package/lib/components/tabs/tab-list/TabListProps.d.ts +1 -0
- package/lib/components/tabs/tab-list/index.js +5 -1
- package/lib/components/tabs/tab-list/index.mjs +12 -12
- package/lib/components/tabs/tab-list/index.native.js +120 -97
- package/lib/components/tabs/tab-list/index.native.mjs +16 -17
- package/lib/components/tabs/tab-list/tab/Tab.js +3 -1
- package/lib/components/tabs/tab-list/tab/Tab.mjs +10 -10
- package/lib/components/tabs/tab-list/tab/Tab.native.js +91 -73
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +11 -12
- package/lib/components/tabs/tab-list/tab/TabProps.d.mts +1 -0
- package/lib/components/tabs/tab-list/tab/TabProps.d.ts +1 -0
- package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +2 -0
- package/lib/components/tabs/tab-list/tab/index.js +3 -1
- package/lib/components/tabs/tab-list/tab/index.mjs +10 -10
- package/lib/components/tabs/tab-list/tab/index.native.js +91 -73
- package/lib/components/tabs/tab-list/tab/index.native.mjs +11 -12
- package/lib/components/tabs/tab-panels/TabPanels.js +10 -11
- package/lib/components/tabs/tab-panels/TabPanels.mjs +5 -5
- package/lib/components/tabs/tab-panels/TabPanels.native.js +18 -23
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +15 -16
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.mts +1 -0
- package/lib/components/tabs/tab-panels/TabPanelsProps.d.ts +1 -0
- package/lib/components/tabs/tab-panels/index.js +10 -11
- package/lib/components/tabs/tab-panels/index.mjs +5 -5
- package/lib/components/tabs/tab-panels/index.native.js +18 -23
- package/lib/components/tabs/tab-panels/index.native.mjs +15 -16
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +2 -1
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +3 -3
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +2 -1
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.mjs +3 -3
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.mts +1 -0
- package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.ts +1 -0
- package/lib/components/tabs/tab-panels/tab-panel/index.js +2 -1
- package/lib/components/tabs/tab-panels/tab-panel/index.mjs +4 -4
- package/lib/components/tabs/tab-panels/tab-panel/index.native.js +2 -1
- package/lib/components/tabs/tab-panels/tab-panel/index.native.mjs +3 -3
- package/lib/components/tag/Tag.js +2 -4
- package/lib/components/tag/Tag.mjs +8 -8
- package/lib/components/tag/Tag.native.js +34 -3
- package/lib/components/tag/Tag.native.mjs +8 -8
- package/lib/components/tag/TagPropsDefaults.js +1 -0
- package/lib/components/tag/index.js +2 -4
- package/lib/components/tag/index.mjs +21 -21
- package/lib/components/tag/index.native.d.mts +1 -1
- package/lib/components/tag/index.native.d.ts +1 -1
- package/lib/components/tag/index.native.js +64 -197
- package/lib/components/tag/index.native.mjs +13 -63
- package/lib/components/tag/list/TagList.js +1 -0
- package/lib/components/tag/list/TagList.mjs +15 -15
- package/lib/components/tag/list/TagList.native.js +2 -1
- package/lib/components/tag/list/TagList.native.mjs +2 -2
- package/lib/components/tag/list/TagListProps.d.mts +1 -0
- package/lib/components/tag/list/TagListProps.d.ts +1 -0
- package/lib/components/tag/list/index.js +1 -0
- package/lib/components/tag/list/index.mjs +15 -15
- package/lib/components/tag/list/index.native.js +2 -1
- package/lib/components/tag/list/index.native.mjs +4 -6
- package/lib/components/text/Text.mjs +1 -1
- package/lib/components/text/Text.native.js +89 -93
- package/lib/components/text/Text.native.mjs +5 -6
- package/lib/components/text/TextProps.d.mts +1 -0
- package/lib/components/text/TextProps.d.ts +1 -0
- package/lib/components/text/index.mjs +1 -1
- package/lib/components/text/index.native.js +89 -93
- package/lib/components/text/index.native.mjs +5 -6
- package/lib/components/textarea/Textarea.js +1 -0
- package/lib/components/textarea/Textarea.mjs +19 -19
- package/lib/components/textarea/Textarea.native.js +77 -75
- package/lib/components/textarea/Textarea.native.mjs +14 -15
- package/lib/components/textarea/index.js +1 -0
- package/lib/components/textarea/index.mjs +19 -19
- package/lib/components/textarea/index.native.js +77 -75
- package/lib/components/textarea/index.native.mjs +14 -15
- package/lib/components/timeline/Timeline.mjs +1 -1
- package/lib/components/timeline/Timeline.native.mjs +1 -1
- package/lib/components/timeline/TimelineProps.d.mts +1 -0
- package/lib/components/timeline/TimelineProps.d.ts +1 -0
- package/lib/components/timeline/content/TimelineContent.js +1 -0
- package/lib/components/timeline/content/TimelineContent.mjs +11 -11
- package/lib/components/timeline/content/TimelineContent.native.js +84 -80
- package/lib/components/timeline/content/TimelineContent.native.mjs +18 -19
- package/lib/components/timeline/content/TimelineContentProps.d.mts +1 -0
- package/lib/components/timeline/content/TimelineContentProps.d.ts +1 -0
- package/lib/components/timeline/content/index.js +1 -0
- package/lib/components/timeline/content/index.mjs +12 -12
- package/lib/components/timeline/content/index.native.js +84 -80
- package/lib/components/timeline/content/index.native.mjs +18 -19
- package/lib/components/timeline/index.js +21 -18
- package/lib/components/timeline/index.mjs +17 -17
- package/lib/components/timeline/index.native.js +118 -116
- package/lib/components/timeline/index.native.mjs +20 -21
- package/lib/components/timeline/item/TimelineItem.js +8 -10
- package/lib/components/timeline/item/TimelineItem.mjs +2 -2
- package/lib/components/timeline/item/TimelineItem.native.mjs +1 -1
- package/lib/components/timeline/item/TimelineItemProps.d.mts +1 -0
- package/lib/components/timeline/item/TimelineItemProps.d.ts +1 -0
- package/lib/components/timeline/item/index.js +8 -10
- package/lib/components/timeline/item/index.mjs +3 -3
- package/lib/components/timeline/item/index.native.mjs +1 -1
- package/lib/components/timeline/marker/TimelineMarker.js +13 -8
- package/lib/components/timeline/marker/TimelineMarker.mjs +8 -8
- package/lib/components/timeline/marker/TimelineMarker.native.js +44 -52
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +13 -14
- package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +2 -0
- package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +2 -0
- package/lib/components/timeline/marker/index.js +13 -8
- package/lib/components/timeline/marker/index.mjs +10 -10
- package/lib/components/timeline/marker/index.native.js +44 -52
- package/lib/components/timeline/marker/index.native.mjs +14 -15
- package/lib/components/title/Title.js +39 -41
- package/lib/components/title/Title.mjs +2 -2
- package/lib/components/title/Title.native.js +95 -91
- package/lib/components/title/Title.native.mjs +13 -14
- package/lib/components/title/TitleProps.d.mts +1 -0
- package/lib/components/title/TitleProps.d.ts +1 -0
- package/lib/components/title/index.js +39 -41
- package/lib/components/title/index.mjs +3 -3
- package/lib/components/title/index.native.js +95 -91
- package/lib/components/title/index.native.mjs +14 -15
- package/lib/components/view/View.js +92 -90
- package/lib/components/view/View.mjs +16 -16
- package/lib/components/view/View.native.js +86 -84
- package/lib/components/view/View.native.mjs +13 -14
- package/lib/components/view/ViewProps/index.d.mts +1 -0
- package/lib/components/view/ViewProps/index.d.ts +1 -0
- package/lib/components/view/ViewProps/index.native.d.mts +1 -0
- package/lib/components/view/ViewProps/index.native.d.ts +1 -0
- package/lib/components/view/index.js +92 -90
- package/lib/components/view/index.mjs +19 -19
- package/lib/components/view/index.native.js +86 -84
- package/lib/components/view/index.native.mjs +13 -14
- package/lib/context/provider/index.d.mts +6 -6
- package/lib/context/provider/index.d.ts +6 -6
- package/lib/context/provider/index.js +2 -2
- package/lib/context/provider/index.mjs +3 -3
- package/lib/context/providerStates/index.d.mts +1 -0
- package/lib/context/providerStates/index.d.ts +1 -0
- package/lib/context/providerStyled/index.js +1 -1
- package/lib/context/providerStyled/index.mjs +1 -1
- package/lib/context/providerTheme/index.d.mts +1 -1
- package/lib/context/providerTheme/index.d.ts +1 -1
- package/lib/context/providerTheme/index.native.js +1 -0
- package/lib/context/providerTheme/index.native.mjs +1 -1
- package/lib/context/test/provider.test.js +344 -379
- package/lib/context/test/provider.test.mjs +345 -380
- package/lib/events/OnChangeEvent/index.d.mts +1 -0
- package/lib/events/OnChangeEvent/index.d.ts +1 -0
- package/lib/events/OnClickEvent/index.d.mts +1 -0
- package/lib/events/OnClickEvent/index.d.ts +1 -0
- package/lib/helpers/clickOutside/index.d.mts +1 -0
- package/lib/helpers/clickOutside/index.d.ts +1 -0
- package/lib/helpers/clickOutside/index.js +45 -0
- package/lib/helpers/clickOutside/index.mjs +8 -0
- package/lib/index.js +3612 -2621
- package/lib/index.mjs +242 -230
- package/lib/index.native.js +2176 -2024
- package/lib/index.native.mjs +229 -221
- package/lib/objects/Typography/TypographyBold/index.d.mts +1 -1
- package/lib/objects/Typography/TypographyBold/index.d.ts +1 -1
- package/lib/objects/Typography/TypographyBold/index.native.d.mts +1 -1
- package/lib/objects/Typography/TypographyBold/index.native.d.ts +1 -1
- package/lib/objects/Typography/TypographyBold/index.native.js +1 -0
- package/lib/objects/Typography/TypographyBold/index.native.mjs +2 -2
- package/lib/objects/Typography/TypographyColor/index.js +1 -0
- package/lib/objects/Typography/TypographyColor/index.mjs +2 -2
- package/lib/objects/Typography/TypographyColor/index.native.js +1 -0
- package/lib/objects/Typography/TypographyColor/index.native.mjs +2 -2
- package/lib/objects/Typography/index.d.mts +4 -4
- package/lib/objects/Typography/index.d.ts +4 -4
- package/lib/objects/Typography/index.js +1 -0
- package/lib/objects/Typography/index.mjs +8 -8
- package/lib/objects/Typography/index.native.d.mts +1 -1
- package/lib/objects/Typography/index.native.d.ts +1 -1
- package/lib/objects/Typography/index.native.js +50 -62
- package/lib/objects/Typography/index.native.mjs +7 -8
- package/lib/objects/atoms/Background/index.js +1 -0
- package/lib/objects/atoms/Background/index.mjs +2 -2
- package/lib/objects/atoms/Background/index.native.js +1 -0
- package/lib/objects/atoms/Background/index.native.mjs +2 -2
- package/lib/objects/atoms/index.js +1 -0
- package/lib/objects/atoms/index.mjs +3 -3
- package/lib/objects/atoms/index.native.js +1 -0
- package/lib/objects/atoms/index.native.mjs +2 -2
- package/lib/objects/facets/Alignable/index.js +2 -0
- package/lib/objects/facets/Alignable/index.mjs +1 -1
- package/lib/objects/facets/ChildrenWithNoText/index.d.mts +1 -0
- package/lib/objects/facets/ChildrenWithNoText/index.d.ts +1 -0
- package/lib/objects/facets/Color/index.d.mts +2 -1
- package/lib/objects/facets/Color/index.d.ts +2 -1
- package/lib/objects/facets/Color/index.js +2 -0
- package/lib/objects/facets/Color/index.mjs +1 -1
- package/lib/objects/facets/Color/index.native.d.mts +2 -1
- package/lib/objects/facets/Color/index.native.d.ts +2 -1
- package/lib/objects/facets/Color/index.native.js +2 -0
- package/lib/objects/facets/Color/index.native.mjs +1 -1
- package/lib/objects/facets/Direction/index.d.mts +3 -1
- package/lib/objects/facets/Direction/index.d.ts +3 -1
- package/lib/objects/facets/Direction/index.js +2 -0
- package/lib/objects/facets/Direction/index.mjs +1 -1
- package/lib/objects/facets/Status/index.js +1 -0
- package/lib/objects/facets/Status/index.mjs +8 -8
- package/lib/objects/facets/Status/index.native.js +8 -1
- package/lib/objects/facets/Status/index.native.mjs +7 -7
- package/lib/objects/facets/Variant/index.js +1 -0
- package/lib/objects/facets/Variant/index.mjs +2 -2
- package/lib/objects/facets/Variant/index.native.js +1 -0
- package/lib/objects/facets/Variant/index.native.mjs +2 -2
- package/lib/objects/facets/index.d.mts +7 -7
- package/lib/objects/facets/index.d.ts +7 -7
- package/lib/objects/facets/index.js +133 -127
- package/lib/objects/facets/index.mjs +11 -11
- package/lib/objects/facets/index.native.js +13 -1
- package/lib/objects/facets/index.native.mjs +10 -10
- package/lib/objects/index.js +128 -122
- package/lib/objects/index.mjs +21 -21
- package/lib/objects/index.native.js +16 -17
- package/lib/objects/index.native.mjs +17 -18
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.json +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +4 -4
- package/lib/chunk-22ZF6KCV.mjs +0 -71
- package/lib/chunk-2AL4D3MJ.mjs +0 -77
- package/lib/chunk-4XLHP4FT.mjs +0 -30
- package/lib/chunk-5GUDIPAN.mjs +0 -25
- package/lib/chunk-5RU72DNI.mjs +0 -109
- package/lib/chunk-6NWZNU3P.mjs +0 -31
- package/lib/chunk-6QPU3LHF.mjs +0 -42
- package/lib/chunk-7O3FYPFV.mjs +0 -42
- package/lib/chunk-ABKYP5IV.mjs +0 -28
- package/lib/chunk-AK2SCURT.mjs +0 -105
- package/lib/chunk-CJHW2V6H.mjs +0 -150
- package/lib/chunk-CWX2XNZI.mjs +0 -92
- package/lib/chunk-DXSXX5ZX.mjs +0 -27
- package/lib/chunk-FUE3HEEY.mjs +0 -115
- package/lib/chunk-G2RSK6RU.mjs +0 -60
- package/lib/chunk-GPYOBQ3V.mjs +0 -99
- package/lib/chunk-GYARTTY2.mjs +0 -41
- package/lib/chunk-HLTY5AJR.mjs +0 -43
- package/lib/chunk-HPICKTAC.mjs +0 -62
- package/lib/chunk-I54USHWW.mjs +0 -72
- package/lib/chunk-JMC4JQWZ.mjs +0 -46
- package/lib/chunk-K5BZA4Y4.mjs +0 -88
- package/lib/chunk-KX2KTYWH.mjs +0 -38
- package/lib/chunk-L3A2G234.mjs +0 -43
- package/lib/chunk-LBCAAKRZ.mjs +0 -103
- package/lib/chunk-MDNN7KMA.mjs +0 -52
- package/lib/chunk-MK63OCEA.mjs +0 -91
- package/lib/chunk-MRVKCNOC.mjs +0 -41
- package/lib/chunk-O2QP75YD.mjs +0 -37
- package/lib/chunk-PBCERB3A.mjs +0 -90
- package/lib/chunk-QP3ACDAG.mjs +0 -58
- package/lib/chunk-REG3H3QQ.mjs +0 -86
- package/lib/chunk-RJ2IH6RX.mjs +0 -53
- package/lib/chunk-RXN7VI6G.mjs +0 -55
- package/lib/chunk-S2DOOAGV.mjs +0 -89
- package/lib/chunk-SKSWO5HE.mjs +0 -54
- package/lib/chunk-SPYC565D.mjs +0 -139
- package/lib/chunk-T4P4VEOQ.mjs +0 -34
- package/lib/chunk-TB5FNQJR.mjs +0 -87
- package/lib/chunk-UV7KNMPY.mjs +0 -50
- package/lib/chunk-UWF5SZJY.mjs +0 -59
- package/lib/chunk-UXXUYCZ5.mjs +0 -65
- package/lib/chunk-VAWKAIZG.mjs +0 -59
- package/lib/chunk-VECADRWL.mjs +0 -75
- package/lib/chunk-WM3KXXQX.mjs +0 -58
- package/lib/chunk-XPCXYBYT.mjs +0 -29
- package/lib/components/checkbox/tiles/tile/CheckboxTileProps.mjs +0 -2
- package/lib/components/flex-box/DirectionDefaults.js +0 -32
- package/lib/components/flex-box/FlexBoxSizeDefaults.js +0 -53
- package/lib/components/icon/IconProps.mjs +0 -2
- package/lib/components/icon/IconPropsDefaults.js +0 -187
- package/lib/components/input/InputNativePropsDefaults.js +0 -662
- package/lib/components/input/InputPropDefaults.js +0 -676
- package/lib/{chunk-E6IYXJ2R.mjs → chunk-2K2TD7FH.mjs} +0 -0
- package/lib/{chunk-GBY3HXT4.mjs → chunk-3QR4ZVH4.mjs} +0 -0
- package/lib/{chunk-IK3CWSC6.mjs → chunk-3ZEJMMXY.mjs} +0 -0
- package/lib/{chunk-S3BT5JEK.mjs → chunk-4DZWJDF4.mjs} +0 -0
- package/lib/{chunk-VTYRHFOK.mjs → chunk-56UCSXNY.mjs} +0 -0
- package/lib/{chunk-YK5HPRX4.mjs → chunk-GVFOBKEF.mjs} +0 -0
- package/lib/{chunk-XP4NKGQY.mjs → chunk-WC7HZXMT.mjs} +3 -3
|
@@ -52,6 +52,7 @@ var colors = {
|
|
|
52
52
|
["MAIN" /* MAIN */]: ["#3d5d7e", "main", "white"],
|
|
53
53
|
["MAIN_FADE" /* MAIN_FADE */]: ["#BBC6CD", "main-fade", "white"],
|
|
54
54
|
["ACCENT" /* ACCENT */]: ["#da641b", "accent", "white"],
|
|
55
|
+
["ACCENT_FADE" /* ACCENT_FADE */]: ["#faebe3", "accent-fade", "white"],
|
|
55
56
|
["FONT" /* FONT */]: ["#3d5d7e", "main", "white"],
|
|
56
57
|
["FONT_PLACEHOLDER" /* FONT_PLACEHOLDER */]: ["#687a87", "font-placeholder", "white"],
|
|
57
58
|
["SUCCESS" /* SUCCESS */]: ["#007B52", "success", "white"],
|
|
@@ -193,6 +194,12 @@ var Icon = import_react4.default.forwardRef(
|
|
|
193
194
|
icon: {
|
|
194
195
|
transform: isIOS ? stretched && [{ skewX: "20deg" }] || [{ skewX: "0deg" }] : []
|
|
195
196
|
},
|
|
197
|
+
iconContainer: {
|
|
198
|
+
alignItems: "center",
|
|
199
|
+
justifyContent: "center",
|
|
200
|
+
width: defaultSize,
|
|
201
|
+
height: defaultSize
|
|
202
|
+
},
|
|
196
203
|
stretched: {
|
|
197
204
|
justifyContent: "center",
|
|
198
205
|
alignItems: "center",
|
|
@@ -247,7 +254,7 @@ var Icon = import_react4.default.forwardRef(
|
|
|
247
254
|
}
|
|
248
255
|
));
|
|
249
256
|
} else {
|
|
250
|
-
iconView = /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { ...others }, /* @__PURE__ */ import_react4.default.createElement(
|
|
257
|
+
iconView = /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: styles4.iconContainer, ...others }, /* @__PURE__ */ import_react4.default.createElement(
|
|
251
258
|
import_css.WithLocalSvg,
|
|
252
259
|
{
|
|
253
260
|
style: [styles4.icon, style],
|
|
@@ -279,24 +286,11 @@ var setTypographyAlign = (typo = "left") => {
|
|
|
279
286
|
return typo && !Array.isArray(typo) && typo === "has-text-centered" /* TEXT_CENTERED */ && "center" || typo && Array.isArray(typo) && typo.includes("has-text-centered" /* TEXT_CENTERED */) && "center" || typo && !Array.isArray(typo) && typo === "has-text-left" /* TEXT_LEFT */ && "left" || typo && Array.isArray(typo) && typo.includes("has-text-left" /* TEXT_LEFT */) && "left" || typo && !Array.isArray(typo) && typo === "has-text-right" /* TEXT_RIGHT */ && "right" || typo && Array.isArray(typo) && typo.includes("has-text-right" /* TEXT_RIGHT */) && "right" || typo && !Array.isArray(typo) && typo === "has-text-justified" /* TEXT_JUSTIFIED */ && "justify" || typo && Array.isArray(typo) && typo.includes("has-text-justified" /* TEXT_JUSTIFIED */) && "justify" || "left";
|
|
280
287
|
};
|
|
281
288
|
|
|
282
|
-
//
|
|
283
|
-
var import_react5 =
|
|
284
|
-
var defaultTheme2 = {
|
|
285
|
-
icons: {},
|
|
286
|
-
colors: {},
|
|
287
|
-
fontFamily: {}
|
|
288
|
-
};
|
|
289
|
-
var defaultContextValue2 = {
|
|
290
|
-
theme: defaultTheme2,
|
|
291
|
-
setTheme: () => void 0
|
|
292
|
-
};
|
|
293
|
-
var TrilogyThemeContext2 = import_react5.default.createContext(defaultContextValue2);
|
|
294
|
-
|
|
295
|
-
// objects/Typography/TypographyBold/index.tsx
|
|
296
|
-
var import_react6 = require("react");
|
|
289
|
+
// objects/Typography/TypographyBold/index.native.tsx
|
|
290
|
+
var import_react5 = require("react");
|
|
297
291
|
var getTypographyBoldStyle = (typo) => {
|
|
298
292
|
var _a, _b, _c, _d;
|
|
299
|
-
const { theme } = (0,
|
|
293
|
+
const { theme } = (0, import_react5.useContext)(TrilogyThemeContext);
|
|
300
294
|
const currentTypo = Array.isArray(typo) ? typo : [typo];
|
|
301
295
|
switch (true) {
|
|
302
296
|
case (typo && currentTypo.includes("has-text-weight-medium" /* TEXT_WEIGHT_MEDIUM */)):
|
|
@@ -316,56 +310,64 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
316
310
|
};
|
|
317
311
|
|
|
318
312
|
// components/text/Text.native.tsx
|
|
319
|
-
var
|
|
313
|
+
var import_react6 = __toESM(require("react"));
|
|
320
314
|
var import_native2 = __toESM(require("react-content-loader/native"));
|
|
321
315
|
var import_react_native3 = require("react-native");
|
|
322
|
-
var Text =
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
maxFontSizeMultiplier: 1.3,
|
|
356
|
-
accessible: !!textAccessibilityLabel,
|
|
357
|
-
accessibilityLabel: textAccessibilityLabel,
|
|
358
|
-
style: [styles4.text, style],
|
|
359
|
-
...others
|
|
360
|
-
},
|
|
361
|
-
children
|
|
362
|
-
);
|
|
363
|
-
if (skeleton) {
|
|
364
|
-
textView = /* @__PURE__ */ import_react7.default.createElement(import_native2.default, { style: styles4.skeleton }, textView, isAndroid && /* @__PURE__ */ import_react7.default.createElement(import_react_native3.View, null, /* @__PURE__ */ import_react7.default.createElement(import_native2.Rect, { rx: "7", ry: "7", width: "100%", height: "100%" })));
|
|
316
|
+
var Text = import_react6.default.forwardRef(({
|
|
317
|
+
children,
|
|
318
|
+
level,
|
|
319
|
+
style,
|
|
320
|
+
inverted,
|
|
321
|
+
typo,
|
|
322
|
+
skeleton,
|
|
323
|
+
accessibilityLabel,
|
|
324
|
+
numberOfLines = 0,
|
|
325
|
+
...others
|
|
326
|
+
}, ref) => {
|
|
327
|
+
const statesContext = (0, import_react6.useContext)(StatesContext);
|
|
328
|
+
const textLevels = (level2) => {
|
|
329
|
+
return level2 && level2 == 1 /* ONE */ && 16 || level2 && level2 == 2 /* TWO */ && 14 || level2 && level2 == 3 /* THREE */ && 12 || level2 && level2 == 4 /* FOUR */ && 10 || 14;
|
|
330
|
+
};
|
|
331
|
+
const styles4 = import_react_native3.StyleSheet.create({
|
|
332
|
+
text: {
|
|
333
|
+
fontFamily: getTypographyBoldStyle(typo),
|
|
334
|
+
fontSize: textLevels(level),
|
|
335
|
+
color: setTypographyColor(typo, inverted || statesContext.inverted, skeleton),
|
|
336
|
+
textAlign: setTypographyAlign(typo),
|
|
337
|
+
lineHeight: textLevels(level) * 1.2,
|
|
338
|
+
textDecorationLine: "none",
|
|
339
|
+
alignSelf: setTypographyAlign(typo) === "left" && "flex-start" || setTypographyAlign(typo) === "center" && "center" || setTypographyAlign(typo) === "right" && "flex-end" || "flex-start"
|
|
340
|
+
},
|
|
341
|
+
skeleton: {
|
|
342
|
+
minWidth: 10,
|
|
343
|
+
alignSelf: setTypographyAlign(typo) === "left" && "flex-start" || setTypographyAlign(typo) === "center" && "center" || setTypographyAlign(typo) === "right" && "flex-end" || "flex-start",
|
|
344
|
+
borderRadius: level && level == 1 /* ONE */ && 7 || level && level == 2 /* TWO */ && 7 || level && level == 3 /* THREE */ && 5 || 3,
|
|
345
|
+
borderWidth: 0.1,
|
|
346
|
+
borderColor: getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */),
|
|
347
|
+
overflow: "hidden",
|
|
348
|
+
height: textLevels(level)
|
|
365
349
|
}
|
|
366
|
-
|
|
350
|
+
});
|
|
351
|
+
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
352
|
+
let textView = /* @__PURE__ */ import_react6.default.createElement(
|
|
353
|
+
import_react_native3.Text,
|
|
354
|
+
{
|
|
355
|
+
ref,
|
|
356
|
+
numberOfLines,
|
|
357
|
+
ellipsizeMode: "tail",
|
|
358
|
+
maxFontSizeMultiplier: 1.3,
|
|
359
|
+
accessible: !!textAccessibilityLabel,
|
|
360
|
+
accessibilityLabel: textAccessibilityLabel,
|
|
361
|
+
style: [styles4.text, style],
|
|
362
|
+
...others
|
|
363
|
+
},
|
|
364
|
+
children
|
|
365
|
+
);
|
|
366
|
+
if (skeleton) {
|
|
367
|
+
textView = /* @__PURE__ */ import_react6.default.createElement(import_native2.default, { style: styles4.skeleton }, textView, isAndroid && /* @__PURE__ */ import_react6.default.createElement(import_react_native3.View, null, /* @__PURE__ */ import_react6.default.createElement(import_native2.Rect, { rx: "7", ry: "7", width: "100%", height: "100%" })));
|
|
367
368
|
}
|
|
368
|
-
|
|
369
|
+
return textView;
|
|
370
|
+
});
|
|
369
371
|
Text.displayName = "Text" /* Text */;
|
|
370
372
|
var Text_native_default = Text;
|
|
371
373
|
|
|
@@ -379,20 +381,20 @@ var STATUS_COLORS = {
|
|
|
379
381
|
};
|
|
380
382
|
|
|
381
383
|
// components/input/Input.native.tsx
|
|
382
|
-
var
|
|
384
|
+
var import_react9 = __toESM(require("react"));
|
|
383
385
|
var import_react_native6 = require("react-native");
|
|
384
386
|
|
|
385
387
|
// components/spacer/Spacer.native.tsx
|
|
386
|
-
var
|
|
388
|
+
var React4 = __toESM(require("react"));
|
|
387
389
|
var import_react_native4 = require("react-native");
|
|
388
|
-
var Spacer =
|
|
390
|
+
var Spacer = React4.forwardRef(({ size, horizontal }, ref) => {
|
|
389
391
|
const styles4 = import_react_native4.StyleSheet.create({
|
|
390
392
|
spacer: {
|
|
391
393
|
marginLeft: horizontal && parseInt(size.toString()) || 0,
|
|
392
394
|
marginTop: !horizontal && parseInt(size.toString()) || 0
|
|
393
395
|
}
|
|
394
396
|
});
|
|
395
|
-
return /* @__PURE__ */
|
|
397
|
+
return /* @__PURE__ */ React4.createElement(import_react_native4.View, { ref, style: styles4.spacer });
|
|
396
398
|
});
|
|
397
399
|
Spacer.displayName = "Spacer" /* Spacer */;
|
|
398
400
|
var Spacer_native_default = Spacer;
|
|
@@ -415,39 +417,55 @@ var SpacerSize = /* @__PURE__ */ ((SpacerSize2) => {
|
|
|
415
417
|
var SpacerSizeValues = `${SpacerSize}`;
|
|
416
418
|
|
|
417
419
|
// components/input/gauge/InputGauge.native.tsx
|
|
418
|
-
var
|
|
420
|
+
var import_react8 = __toESM(require("react"));
|
|
419
421
|
var import_react_native5 = require("react-native");
|
|
420
422
|
|
|
421
423
|
// components/input/gauge/hook/useGauge.native.tsx
|
|
422
|
-
var
|
|
423
|
-
var useGauge = ({ validationRules, inputValue }) => {
|
|
424
|
+
var import_react7 = __toESM(require("react"));
|
|
425
|
+
var useGauge = ({ validationRules, inputValue, securityRules }) => {
|
|
424
426
|
var _a, _b;
|
|
425
|
-
const [points, setPoints] =
|
|
427
|
+
const [points, setPoints] = import_react7.default.useState(0);
|
|
426
428
|
const initStateVerifies = { isVerify: false, color: "NEUTRAL" /* NEUTRAL */ };
|
|
427
|
-
const [isLengthVerify, setIsLengthVerify] =
|
|
428
|
-
const [isSpecialCharsVerify, setIsSpecialCharsVerify] =
|
|
429
|
-
const [isNumberVerify, setIsNumberVerify] =
|
|
430
|
-
const [isUppercaseVerify, setIsUppercaseVerify] =
|
|
431
|
-
const [isLowerercaseVerify, setisLowerercaseVerify] =
|
|
432
|
-
const nbAllVerifies =
|
|
433
|
-
() => validationRules && Object.values(validationRules).filter((rule) => rule).length || 0,
|
|
434
|
-
[validationRules]
|
|
429
|
+
const [isLengthVerify, setIsLengthVerify] = import_react7.default.useState(initStateVerifies);
|
|
430
|
+
const [isSpecialCharsVerify, setIsSpecialCharsVerify] = import_react7.default.useState(initStateVerifies);
|
|
431
|
+
const [isNumberVerify, setIsNumberVerify] = import_react7.default.useState(initStateVerifies);
|
|
432
|
+
const [isUppercaseVerify, setIsUppercaseVerify] = import_react7.default.useState(initStateVerifies);
|
|
433
|
+
const [isLowerercaseVerify, setisLowerercaseVerify] = import_react7.default.useState(initStateVerifies);
|
|
434
|
+
const nbAllVerifies = import_react7.default.useMemo(
|
|
435
|
+
() => validationRules && Object.values(validationRules).filter((rule) => rule).length || securityRules && securityRules.length || 0,
|
|
436
|
+
[validationRules, securityRules]
|
|
437
|
+
);
|
|
438
|
+
const rules = import_react7.default.useMemo(
|
|
439
|
+
() => securityRules && securityRules.map(({ label, patternValidator, dataAttribute }) => ({
|
|
440
|
+
label,
|
|
441
|
+
validate: !!(patternValidator == null ? void 0 : patternValidator.test(inputValue)),
|
|
442
|
+
dataAttribute
|
|
443
|
+
})),
|
|
444
|
+
[inputValue, securityRules]
|
|
435
445
|
);
|
|
436
|
-
const
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
if (
|
|
446
|
+
const calcPoints = import_react7.default.useMemo(() => {
|
|
447
|
+
if (validationRules) {
|
|
448
|
+
return Number((points / nbAllVerifies * 100).toFixed(0));
|
|
449
|
+
}
|
|
450
|
+
if (securityRules) {
|
|
451
|
+
const pts = (rules == null ? void 0 : rules.filter((rule) => rule.validate).length) || 0;
|
|
452
|
+
return Number((pts / nbAllVerifies * 100).toFixed(0));
|
|
453
|
+
}
|
|
454
|
+
return 0;
|
|
455
|
+
}, [points, nbAllVerifies, rules, validationRules, securityRules]);
|
|
456
|
+
const widthGauge = import_react7.default.useMemo(() => {
|
|
457
|
+
if (calcPoints <= 50 && calcPoints > 0) return "50%";
|
|
458
|
+
if (calcPoints <= 99 && calcPoints > 50) return "75%";
|
|
459
|
+
if (calcPoints === 100) return "100%";
|
|
441
460
|
return "0%";
|
|
442
|
-
}, [
|
|
461
|
+
}, [calcPoints, nbAllVerifies]);
|
|
443
462
|
const colorGauge = () => {
|
|
444
|
-
|
|
445
|
-
if (
|
|
446
|
-
if (
|
|
447
|
-
if (calc === 100) return getColorStyle("SUCCESS" /* SUCCESS */);
|
|
463
|
+
if (calcPoints <= 50 && calcPoints > 0) return getColorStyle("ERROR" /* ERROR */);
|
|
464
|
+
if (calcPoints <= 99 && calcPoints > 50) return getColorStyle("WARNING" /* WARNING */);
|
|
465
|
+
if (calcPoints === 100) return getColorStyle("SUCCESS" /* SUCCESS */);
|
|
448
466
|
return getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */);
|
|
449
467
|
};
|
|
450
|
-
const LengthvalidationRulesText = (0,
|
|
468
|
+
const LengthvalidationRulesText = (0, import_react7.useMemo)(() => {
|
|
451
469
|
var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j;
|
|
452
470
|
switch (true) {
|
|
453
471
|
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):
|
|
@@ -460,7 +478,7 @@ var useGauge = ({ validationRules, inputValue }) => {
|
|
|
460
478
|
return "";
|
|
461
479
|
}
|
|
462
480
|
}, [(_a = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a.min, (_b = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b.max]);
|
|
463
|
-
(0,
|
|
481
|
+
(0, import_react7.useEffect)(() => {
|
|
464
482
|
var _a2, _b2;
|
|
465
483
|
const min = ((_a2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a2.min) || 0;
|
|
466
484
|
const max = ((_b2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b2.max) || "";
|
|
@@ -485,12 +503,14 @@ var useGauge = ({ validationRules, inputValue }) => {
|
|
|
485
503
|
isLowerercaseVerify,
|
|
486
504
|
isNumberVerify,
|
|
487
505
|
isSpecialCharsVerify,
|
|
488
|
-
isUppercaseVerify
|
|
506
|
+
isUppercaseVerify,
|
|
507
|
+
rules
|
|
489
508
|
};
|
|
490
509
|
};
|
|
491
510
|
|
|
492
511
|
// components/input/gauge/InputGauge.native.tsx
|
|
493
|
-
var InputGauge = ({ validationRules, inputValue }) => {
|
|
512
|
+
var InputGauge = ({ validationRules, inputValue, securityRules }) => {
|
|
513
|
+
const id = (0, import_react8.useId)();
|
|
494
514
|
const {
|
|
495
515
|
widthGauge,
|
|
496
516
|
colorGauge,
|
|
@@ -499,67 +519,90 @@ var InputGauge = ({ validationRules, inputValue }) => {
|
|
|
499
519
|
isLowerercaseVerify,
|
|
500
520
|
isNumberVerify,
|
|
501
521
|
isSpecialCharsVerify,
|
|
502
|
-
isUppercaseVerify
|
|
503
|
-
|
|
504
|
-
|
|
522
|
+
isUppercaseVerify,
|
|
523
|
+
rules
|
|
524
|
+
} = useGauge({ validationRules, inputValue, securityRules });
|
|
525
|
+
return /* @__PURE__ */ import_react8.default.createElement(import_react_native5.View, null, /* @__PURE__ */ import_react8.default.createElement(import_react_native5.View, { style: [styles.containerGauge, { backgroundColor: getColorStyle("MAIN_FADE" /* MAIN_FADE */) }] }, /* @__PURE__ */ import_react8.default.createElement(import_react_native5.View, { style: [styles.gauge, { width: widthGauge, backgroundColor: colorGauge() }] })), /* @__PURE__ */ import_react8.default.createElement(import_react_native5.View, { style: styles.verifies }, validationRules && /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, /* @__PURE__ */ import_react8.default.createElement(
|
|
505
526
|
DataVerify,
|
|
506
527
|
{
|
|
507
528
|
display: !!(validationRules == null ? void 0 : validationRules.length),
|
|
508
529
|
color: isLengthVerify.color,
|
|
509
530
|
iconName: isLengthVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
510
|
-
type: LengthvalidationRulesText
|
|
531
|
+
type: LengthvalidationRulesText,
|
|
532
|
+
index: 1
|
|
533
|
+
}
|
|
534
|
+
), /* @__PURE__ */ import_react8.default.createElement(
|
|
535
|
+
DataVerify,
|
|
536
|
+
{
|
|
537
|
+
display: !!(validationRules == null ? void 0 : validationRules.uppercase),
|
|
538
|
+
color: isUppercaseVerify.color,
|
|
539
|
+
iconName: isUppercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
540
|
+
type: "Majuscule",
|
|
541
|
+
index: 2
|
|
511
542
|
}
|
|
512
|
-
), /* @__PURE__ */
|
|
543
|
+
), /* @__PURE__ */ import_react8.default.createElement(
|
|
513
544
|
DataVerify,
|
|
514
545
|
{
|
|
515
546
|
display: !!(validationRules == null ? void 0 : validationRules.specialChars),
|
|
516
547
|
color: isSpecialCharsVerify.color,
|
|
517
548
|
iconName: isSpecialCharsVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
518
|
-
type: "Caract\xE8res sp\xE9ciaux"
|
|
549
|
+
type: "Caract\xE8res sp\xE9ciaux",
|
|
550
|
+
index: 3
|
|
519
551
|
}
|
|
520
|
-
), /* @__PURE__ */
|
|
552
|
+
), /* @__PURE__ */ import_react8.default.createElement(
|
|
521
553
|
DataVerify,
|
|
522
554
|
{
|
|
523
|
-
display: !!(validationRules == null ? void 0 : validationRules.
|
|
524
|
-
color:
|
|
525
|
-
iconName:
|
|
526
|
-
type: "
|
|
555
|
+
display: !!(validationRules == null ? void 0 : validationRules.lowercase),
|
|
556
|
+
color: isLowerercaseVerify.color,
|
|
557
|
+
iconName: isLowerercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
558
|
+
type: "Minuscule",
|
|
559
|
+
index: 4
|
|
527
560
|
}
|
|
528
|
-
)
|
|
561
|
+
), /* @__PURE__ */ import_react8.default.createElement(
|
|
529
562
|
DataVerify,
|
|
530
563
|
{
|
|
531
|
-
display: !!(validationRules == null ? void 0 : validationRules.
|
|
532
|
-
color:
|
|
533
|
-
iconName:
|
|
534
|
-
type: "
|
|
564
|
+
display: !!(validationRules == null ? void 0 : validationRules.number),
|
|
565
|
+
color: isNumberVerify.color,
|
|
566
|
+
iconName: isNumberVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
|
|
567
|
+
type: "Chiffre",
|
|
568
|
+
index: 5
|
|
535
569
|
}
|
|
536
|
-
), /* @__PURE__ */
|
|
570
|
+
)), securityRules && rules && rules.map((rule, index) => /* @__PURE__ */ import_react8.default.createElement(
|
|
537
571
|
DataVerify,
|
|
538
572
|
{
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
type:
|
|
573
|
+
index: index + 1,
|
|
574
|
+
key: `${id}_${rule.label}`,
|
|
575
|
+
display: true,
|
|
576
|
+
type: rule.label,
|
|
577
|
+
color: rule.validate ? "SUCCESS" /* SUCCESS */ : "NEUTRAL" /* NEUTRAL */,
|
|
578
|
+
iconName: rule.validate ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */
|
|
543
579
|
}
|
|
544
580
|
))));
|
|
545
581
|
};
|
|
546
|
-
var DataVerify = ({ color, iconName, display, type }) => {
|
|
582
|
+
var DataVerify = ({ color, iconName, display, type, index }) => {
|
|
547
583
|
if (!display) return null;
|
|
548
|
-
return /* @__PURE__ */
|
|
584
|
+
return /* @__PURE__ */ import_react8.default.createElement(import_react_native5.View, { style: [styles.verify, index % 2 === 0 ? styles.even : void 0] }, /* @__PURE__ */ import_react8.default.createElement(Icon_native_default, { color, name: iconName, size: "smaller" /* SMALLER */ }), /* @__PURE__ */ import_react8.default.createElement(Text_native_default, { style: styles.textVerify }, type));
|
|
549
585
|
};
|
|
550
586
|
var InputGauge_native_default = InputGauge;
|
|
551
587
|
var styles = import_react_native5.StyleSheet.create({
|
|
588
|
+
even: {
|
|
589
|
+
justifyContent: "flex-end"
|
|
590
|
+
},
|
|
552
591
|
verify: {
|
|
553
592
|
flexDirection: "row",
|
|
554
593
|
alignItems: "center",
|
|
555
|
-
marginBottom: 4
|
|
594
|
+
marginBottom: 4,
|
|
595
|
+
flexBasis: "50%",
|
|
596
|
+
flexGrow: 0,
|
|
597
|
+
flexShrink: 1
|
|
556
598
|
},
|
|
557
599
|
textVerify: {
|
|
558
600
|
marginLeft: 8
|
|
559
601
|
},
|
|
560
602
|
verifies: {
|
|
561
603
|
flexDirection: "row",
|
|
562
|
-
justifyContent: "space-between"
|
|
604
|
+
justifyContent: "space-between",
|
|
605
|
+
flexWrap: "wrap"
|
|
563
606
|
},
|
|
564
607
|
containerGauge: {
|
|
565
608
|
height: 4,
|
|
@@ -574,7 +617,7 @@ var styles = import_react_native5.StyleSheet.create({
|
|
|
574
617
|
});
|
|
575
618
|
|
|
576
619
|
// components/input/Input.native.tsx
|
|
577
|
-
var Input =
|
|
620
|
+
var Input = import_react9.default.forwardRef(
|
|
578
621
|
({
|
|
579
622
|
defaultValue,
|
|
580
623
|
name,
|
|
@@ -602,6 +645,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
602
645
|
iconNameLeft,
|
|
603
646
|
iconNameRight,
|
|
604
647
|
securityGauge,
|
|
648
|
+
securityRules,
|
|
605
649
|
validationRules,
|
|
606
650
|
onIconClick,
|
|
607
651
|
required,
|
|
@@ -617,14 +661,14 @@ var Input = import_react10.default.forwardRef(
|
|
|
617
661
|
inputIcon.set("success" /* SUCCESS */, "tri-check-circle" /* CHECK_CIRCLE */);
|
|
618
662
|
inputIcon.set("warning" /* WARNING */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
|
|
619
663
|
inputIcon.set("error" /* ERROR */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
|
|
620
|
-
const [value, setValue] = (0,
|
|
621
|
-
const [email, setEmail] = (0,
|
|
622
|
-
const [isFocused, setIsFocused] = (0,
|
|
623
|
-
const [iconPassword, setIconPassword] = (0,
|
|
624
|
-
const [dynamicPlaceholder, setDynamicPlaceholder] = (0,
|
|
625
|
-
const [isKeyboardVisible, setKeyboardVisible] = (0,
|
|
626
|
-
const animation = (0,
|
|
627
|
-
const sizeAnimation = (0,
|
|
664
|
+
const [value, setValue] = (0, import_react9.useState)(defaultValue || "");
|
|
665
|
+
const [email, setEmail] = (0, import_react9.useState)("");
|
|
666
|
+
const [isFocused, setIsFocused] = (0, import_react9.useState)(false);
|
|
667
|
+
const [iconPassword, setIconPassword] = (0, import_react9.useState)("tri-eye" /* EYE */);
|
|
668
|
+
const [dynamicPlaceholder, setDynamicPlaceholder] = (0, import_react9.useState)(false);
|
|
669
|
+
const [isKeyboardVisible, setKeyboardVisible] = (0, import_react9.useState)(null);
|
|
670
|
+
const animation = (0, import_react9.useRef)(new import_react_native6.Animated.Value(25)).current;
|
|
671
|
+
const sizeAnimation = (0, import_react9.useRef)(new import_react_native6.Animated.Value(placeholderDefaultSize)).current;
|
|
628
672
|
const paddingTopByPlatform = (os, dynamicPlaceholder2) => {
|
|
629
673
|
if (dynamicPlaceholder2 && type !== "search" /* SEARCH */ && os === "ios") {
|
|
630
674
|
return 10;
|
|
@@ -634,7 +678,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
634
678
|
}
|
|
635
679
|
return 0;
|
|
636
680
|
};
|
|
637
|
-
const handleChange = (0,
|
|
681
|
+
const handleChange = (0, import_react9.useCallback)((text) => {
|
|
638
682
|
var _a;
|
|
639
683
|
setValue(text);
|
|
640
684
|
setEmail("");
|
|
@@ -656,17 +700,17 @@ var Input = import_react10.default.forwardRef(
|
|
|
656
700
|
onSubmit == null ? void 0 : onSubmit(e);
|
|
657
701
|
type === "email" /* EMAIL */ && handleClick();
|
|
658
702
|
};
|
|
659
|
-
(0,
|
|
703
|
+
(0, import_react9.useEffect)(() => {
|
|
660
704
|
setValue(defaultValue || "");
|
|
661
705
|
}, [defaultValue, placeholder]);
|
|
662
|
-
(0,
|
|
706
|
+
(0, import_react9.useEffect)(() => {
|
|
663
707
|
if (value && value.length > 0 && placeholder && placeholder.length > 0) {
|
|
664
708
|
setDynamicPlaceholder(true);
|
|
665
709
|
} else {
|
|
666
710
|
setDynamicPlaceholder(false);
|
|
667
711
|
}
|
|
668
712
|
}, [placeholder, value]);
|
|
669
|
-
(0,
|
|
713
|
+
(0, import_react9.useEffect)(() => {
|
|
670
714
|
if (dynamicPlaceholder && type !== "search" /* SEARCH */) {
|
|
671
715
|
import_react_native6.Animated.timing(animation, {
|
|
672
716
|
toValue: 3,
|
|
@@ -691,7 +735,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
691
735
|
}).start();
|
|
692
736
|
}
|
|
693
737
|
}, [dynamicPlaceholder, animation, sizeAnimation]);
|
|
694
|
-
(0,
|
|
738
|
+
(0, import_react9.useEffect)(() => {
|
|
695
739
|
const keyboardDidShowListener = import_react_native6.Keyboard.addListener("keyboardDidShow", () => setKeyboardVisible(true));
|
|
696
740
|
const keyboardDidHideListener = import_react_native6.Keyboard.addListener("keyboardDidHide", () => setKeyboardVisible(false));
|
|
697
741
|
return () => {
|
|
@@ -699,7 +743,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
699
743
|
keyboardDidShowListener.remove();
|
|
700
744
|
};
|
|
701
745
|
}, []);
|
|
702
|
-
(0,
|
|
746
|
+
(0, import_react9.useEffect)(() => {
|
|
703
747
|
handleClick();
|
|
704
748
|
}, [isKeyboardVisible]);
|
|
705
749
|
const hasIcon = iconNameLeft || iconNameRight || false;
|
|
@@ -782,7 +826,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
782
826
|
marginBottom: isIOS ? 0 : -3
|
|
783
827
|
}
|
|
784
828
|
});
|
|
785
|
-
return /* @__PURE__ */
|
|
829
|
+
return /* @__PURE__ */ import_react9.default.createElement(
|
|
786
830
|
import_react_native6.View,
|
|
787
831
|
{
|
|
788
832
|
style: { width: "100%" },
|
|
@@ -790,9 +834,9 @@ var Input = import_react10.default.forwardRef(
|
|
|
790
834
|
accessibilityLabel: inputAccessibilityLabel,
|
|
791
835
|
testID: inputTestId
|
|
792
836
|
},
|
|
793
|
-
!dynamicPlaceholder && label && /* @__PURE__ */
|
|
794
|
-
!dynamicPlaceholder && label && sample && /* @__PURE__ */
|
|
795
|
-
/* @__PURE__ */
|
|
837
|
+
!dynamicPlaceholder && label && /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, /* @__PURE__ */ import_react9.default.createElement(Text_native_default, { typo: "has-text-main" /* TEXT_MAIN */ }, label, " ", label && required && /* @__PURE__ */ import_react9.default.createElement(Text_native_default, { typo: "has-text-error" /* TEXT_ERROR */ }, "*")), /* @__PURE__ */ import_react9.default.createElement(Spacer_native_default, { size: 12 /* THREE */ })),
|
|
838
|
+
!dynamicPlaceholder && label && sample && /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, /* @__PURE__ */ import_react9.default.createElement(Text_native_default, { level: 3 /* THREE */, typo: "has-text-main" /* TEXT_MAIN */ }, sample), /* @__PURE__ */ import_react9.default.createElement(Spacer_native_default, { size: 12 /* THREE */ })),
|
|
839
|
+
/* @__PURE__ */ import_react9.default.createElement(import_react_native6.View, { testID: "input-wrapper-id", style: styles4.inputWrapper }, dynamicPlaceholder && type !== "search" /* SEARCH */ && /* @__PURE__ */ import_react9.default.createElement(import_react_native6.Animated.Text, { style: [styles4.dynamicPlaceholder, { top: animation, fontSize: sizeAnimation }] }, placeholder), /* @__PURE__ */ import_react9.default.createElement(
|
|
796
840
|
import_react_native6.TextInput,
|
|
797
841
|
{
|
|
798
842
|
ref,
|
|
@@ -834,7 +878,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
834
878
|
style: styles4.input,
|
|
835
879
|
...others
|
|
836
880
|
}
|
|
837
|
-
), type === "email" && /* @__PURE__ */
|
|
881
|
+
), type === "email" && /* @__PURE__ */ import_react9.default.createElement(Text_native_default, { style: styles4.text }, value, /* @__PURE__ */ import_react9.default.createElement(Text_native_default, { style: styles4.domain }, email)), hasIcon && type !== "password" /* PASSWORD */ && type !== "search" /* SEARCH */ && /* @__PURE__ */ import_react9.default.createElement(import_react_native6.View, { style: styles4.inputIconLeft }, /* @__PURE__ */ import_react9.default.createElement(
|
|
838
882
|
Icon_native_default,
|
|
839
883
|
{
|
|
840
884
|
align: "ALIGNED_START" /* ALIGNED_START */,
|
|
@@ -842,7 +886,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
842
886
|
size: "small" /* SMALL */,
|
|
843
887
|
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
844
888
|
}
|
|
845
|
-
)), hasIcon && type !== "search" /* SEARCH */ && status && status !== "default" /* DEFAULT */ && type !== "password" /* PASSWORD */ && /* @__PURE__ */
|
|
889
|
+
)), hasIcon && type !== "search" /* SEARCH */ && status && status !== "default" /* DEFAULT */ && type !== "password" /* PASSWORD */ && /* @__PURE__ */ import_react9.default.createElement(
|
|
846
890
|
import_react_native6.TouchableOpacity,
|
|
847
891
|
{
|
|
848
892
|
style: styles4.inputContainer,
|
|
@@ -855,7 +899,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
855
899
|
});
|
|
856
900
|
}
|
|
857
901
|
},
|
|
858
|
-
/* @__PURE__ */
|
|
902
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
|
859
903
|
Icon_native_default,
|
|
860
904
|
{
|
|
861
905
|
testId: "icon-status-id",
|
|
@@ -865,7 +909,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
865
909
|
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || status && "MAIN" /* MAIN */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
866
910
|
}
|
|
867
911
|
)
|
|
868
|
-
), iconNameRight && !iconNameLeft && type !== "search" /* SEARCH */ && type !== "password" /* PASSWORD */ && (!status || status === "default" /* DEFAULT */) && /* @__PURE__ */
|
|
912
|
+
), iconNameRight && !iconNameLeft && type !== "search" /* SEARCH */ && type !== "password" /* PASSWORD */ && (!status || status === "default" /* DEFAULT */) && /* @__PURE__ */ import_react9.default.createElement(
|
|
869
913
|
import_react_native6.TouchableOpacity,
|
|
870
914
|
{
|
|
871
915
|
style: styles4.inputContainerRight,
|
|
@@ -878,7 +922,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
878
922
|
});
|
|
879
923
|
}
|
|
880
924
|
},
|
|
881
|
-
/* @__PURE__ */
|
|
925
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
|
882
926
|
Icon_native_default,
|
|
883
927
|
{
|
|
884
928
|
testId: "icon-right-id",
|
|
@@ -888,7 +932,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
888
932
|
color: disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
889
933
|
}
|
|
890
934
|
)
|
|
891
|
-
), type === "password" /* PASSWORD */ && /* @__PURE__ */
|
|
935
|
+
), type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, iconNameLeft && /* @__PURE__ */ import_react9.default.createElement(import_react_native6.View, { style: [{ paddingLeft: 10 }, styles4.inputContainerLeft] }, /* @__PURE__ */ import_react9.default.createElement(Icon_native_default, { name: iconNameLeft })), /* @__PURE__ */ import_react9.default.createElement(
|
|
892
936
|
import_react_native6.TouchableOpacity,
|
|
893
937
|
{
|
|
894
938
|
style: styles4.inputContainerRight,
|
|
@@ -904,7 +948,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
904
948
|
}
|
|
905
949
|
}
|
|
906
950
|
},
|
|
907
|
-
/* @__PURE__ */
|
|
951
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
|
908
952
|
Icon_native_default,
|
|
909
953
|
{
|
|
910
954
|
testId: "password-id",
|
|
@@ -914,7 +958,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
914
958
|
color: status && status === "success" && "SUCCESS" /* SUCCESS */ || status && status === "warning" && "WARNING" /* WARNING */ || status && status === "error" && "ERROR" /* ERROR */ || status && status === "default" && "MAIN" /* MAIN */ || disabled && "DISABLED" /* DISABLED */ || "MAIN" /* MAIN */
|
|
915
959
|
}
|
|
916
960
|
)
|
|
917
|
-
)), type === "search" /* SEARCH */ && !status && /* @__PURE__ */
|
|
961
|
+
)), type === "search" /* SEARCH */ && !status && /* @__PURE__ */ import_react9.default.createElement(import_react9.default.Fragment, null, /* @__PURE__ */ import_react9.default.createElement(import_react_native6.View, { style: styles4.inputContainerLeft }, /* @__PURE__ */ import_react9.default.createElement(
|
|
918
962
|
Icon_native_default,
|
|
919
963
|
{
|
|
920
964
|
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
@@ -922,7 +966,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
922
966
|
size: "small" /* SMALL */,
|
|
923
967
|
color: disabled ? "DISABLED" /* DISABLED */ : "NEUTRAL" /* NEUTRAL */
|
|
924
968
|
}
|
|
925
|
-
)), value.length > 0 && /* @__PURE__ */
|
|
969
|
+
)), value.length > 0 && /* @__PURE__ */ import_react9.default.createElement(
|
|
926
970
|
import_react_native6.TouchableOpacity,
|
|
927
971
|
{
|
|
928
972
|
testID: "search-id",
|
|
@@ -940,7 +984,7 @@ var Input = import_react10.default.forwardRef(
|
|
|
940
984
|
setValue("");
|
|
941
985
|
}
|
|
942
986
|
},
|
|
943
|
-
/* @__PURE__ */
|
|
987
|
+
/* @__PURE__ */ import_react9.default.createElement(
|
|
944
988
|
Icon_native_default,
|
|
945
989
|
{
|
|
946
990
|
align: "ALIGNED_CENTER" /* ALIGNED_CENTER */,
|
|
@@ -950,8 +994,8 @@ var Input = import_react10.default.forwardRef(
|
|
|
950
994
|
}
|
|
951
995
|
)
|
|
952
996
|
))),
|
|
953
|
-
help && /* @__PURE__ */
|
|
954
|
-
type === "password" /* PASSWORD */ && securityGauge && /* @__PURE__ */
|
|
997
|
+
help && /* @__PURE__ */ import_react9.default.createElement(Text_native_default, { testId: "help-id", style: styles4.help }, help),
|
|
998
|
+
type === "password" /* PASSWORD */ && securityGauge && /* @__PURE__ */ import_react9.default.createElement(InputGauge_native_default, { securityRules, validationRules, inputValue: value })
|
|
955
999
|
);
|
|
956
1000
|
}
|
|
957
1001
|
);
|
|
@@ -959,7 +1003,7 @@ Input.displayName = "Input" /* Input */;
|
|
|
959
1003
|
var Input_native_default = Input;
|
|
960
1004
|
|
|
961
1005
|
// components/modal/Modal.native.tsx
|
|
962
|
-
var
|
|
1006
|
+
var import_react15 = __toESM(require("react"));
|
|
963
1007
|
var import_react_native10 = require("react-native");
|
|
964
1008
|
var import_react_native_modal = __toESM(require("react-native-modal"));
|
|
965
1009
|
|
|
@@ -967,22 +1011,34 @@ var import_react_native_modal = __toESM(require("react-native-modal"));
|
|
|
967
1011
|
var ColumnsGapValue = [0, 4, 8, 12, 16, 24, 32, 40, 48, 54, 62];
|
|
968
1012
|
|
|
969
1013
|
// components/columns/context/index.tsx
|
|
970
|
-
var
|
|
971
|
-
var
|
|
1014
|
+
var import_react10 = __toESM(require("react"));
|
|
1015
|
+
var defaultContextValue2 = {
|
|
972
1016
|
scrollable: false,
|
|
973
1017
|
width: 0,
|
|
974
1018
|
realGap: 16,
|
|
975
1019
|
childrensLength: 1
|
|
976
|
-
}
|
|
1020
|
+
};
|
|
1021
|
+
var ColumnsContext = import_react10.default.createContext(defaultContextValue2);
|
|
977
1022
|
|
|
978
1023
|
// components/columns/Columns.native.tsx
|
|
979
|
-
var
|
|
1024
|
+
var import_react11 = __toESM(require("react"));
|
|
980
1025
|
var import_react_native7 = require("react-native");
|
|
981
|
-
var
|
|
1026
|
+
var staticStyles = import_react_native7.StyleSheet.create({
|
|
1027
|
+
centered: {
|
|
1028
|
+
justifyContent: "center"
|
|
1029
|
+
},
|
|
1030
|
+
multiline: {
|
|
1031
|
+
flexWrap: "wrap"
|
|
1032
|
+
},
|
|
1033
|
+
mobile: {
|
|
1034
|
+
flexDirection: "column"
|
|
1035
|
+
}
|
|
1036
|
+
});
|
|
1037
|
+
var Columns = import_react11.default.forwardRef(
|
|
982
1038
|
({ children, align, gap, verticalAlign, fullBleed, scrollable, multiline, fullheight, ...others }, ref) => {
|
|
983
|
-
const [width, setWidth] = (0,
|
|
984
|
-
const [enlarge, setEnlarge] = (0,
|
|
985
|
-
const onLayoutHandler =
|
|
1039
|
+
const [width, setWidth] = (0, import_react11.useState)(0);
|
|
1040
|
+
const [enlarge, setEnlarge] = (0, import_react11.useState)(0);
|
|
1041
|
+
const onLayoutHandler = import_react11.default.useCallback(
|
|
986
1042
|
(event) => {
|
|
987
1043
|
if (!width) {
|
|
988
1044
|
const { width: width2 } = event.nativeEvent.layout;
|
|
@@ -994,206 +1050,215 @@ var Columns = import_react12.default.forwardRef(
|
|
|
994
1050
|
},
|
|
995
1051
|
[fullBleed, width]
|
|
996
1052
|
);
|
|
997
|
-
const realGap =
|
|
998
|
-
const
|
|
999
|
-
|
|
1000
|
-
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
|
|
1006
|
-
|
|
1007
|
-
centered: {
|
|
1008
|
-
justifyContent: "center"
|
|
1009
|
-
},
|
|
1010
|
-
verticalAlign: {
|
|
1011
|
-
alignItems: getAlignStyle(verticalAlign)
|
|
1012
|
-
},
|
|
1013
|
-
multiline: {
|
|
1014
|
-
flexWrap: "wrap"
|
|
1015
|
-
},
|
|
1016
|
-
scrollContainer: {
|
|
1017
|
-
paddingHorizontal: enlarge,
|
|
1018
|
-
gap: realGap
|
|
1019
|
-
},
|
|
1020
|
-
mobile: {
|
|
1021
|
-
flexDirection: "column"
|
|
1022
|
-
}
|
|
1023
|
-
});
|
|
1024
|
-
return /* @__PURE__ */ import_react12.default.createElement(
|
|
1025
|
-
ColumnsContext.Provider,
|
|
1026
|
-
{
|
|
1027
|
-
value: {
|
|
1028
|
-
width,
|
|
1029
|
-
realGap,
|
|
1030
|
-
scrollable: scrollable || false,
|
|
1031
|
-
childrensLength: import_react12.default.Children.count(children)
|
|
1032
|
-
}
|
|
1033
|
-
},
|
|
1034
|
-
!scrollable && /* @__PURE__ */ import_react12.default.createElement(
|
|
1035
|
-
import_react_native7.View,
|
|
1036
|
-
{
|
|
1037
|
-
ref,
|
|
1038
|
-
onLayout: onLayoutHandler,
|
|
1039
|
-
style: [
|
|
1040
|
-
styles4.columns,
|
|
1041
|
-
multiline && styles4.multiline,
|
|
1042
|
-
align === "ALIGNED_CENTER" /* ALIGNED_CENTER */ && styles4.centered,
|
|
1043
|
-
verticalAlign && styles4.verticalAlign
|
|
1044
|
-
],
|
|
1045
|
-
...others
|
|
1053
|
+
const realGap = import_react11.default.useMemo(() => typeof gap === "undefined" && 16 || ColumnsGapValue[gap], [gap]);
|
|
1054
|
+
const dynamicStyles = import_react11.default.useMemo(
|
|
1055
|
+
() => ({
|
|
1056
|
+
columns: {
|
|
1057
|
+
width: fullBleed && width ? width + enlarge * 2 : "100%",
|
|
1058
|
+
marginHorizontal: -enlarge,
|
|
1059
|
+
paddingHorizontal: enlarge,
|
|
1060
|
+
flexDirection: "row",
|
|
1061
|
+
gap: realGap,
|
|
1062
|
+
height: fullheight ? "100%" : "auto"
|
|
1046
1063
|
},
|
|
1047
|
-
|
|
1048
|
-
|
|
1049
|
-
scrollable && /* @__PURE__ */ import_react12.default.createElement(
|
|
1050
|
-
import_react_native7.View,
|
|
1051
|
-
{
|
|
1052
|
-
onLayout: onLayoutHandler,
|
|
1053
|
-
style: {
|
|
1054
|
-
marginHorizontal: -enlarge
|
|
1055
|
-
}
|
|
1064
|
+
verticalAlign: {
|
|
1065
|
+
alignItems: getAlignStyle(verticalAlign)
|
|
1056
1066
|
},
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
|
-
|
|
1061
|
-
contentContainerStyle: styles4.scrollContainer,
|
|
1062
|
-
showsHorizontalScrollIndicator: false
|
|
1063
|
-
},
|
|
1064
|
-
children
|
|
1065
|
-
)
|
|
1066
|
-
)
|
|
1067
|
-
);
|
|
1068
|
-
}
|
|
1069
|
-
);
|
|
1070
|
-
Columns.displayName = "Columns" /* Columns */;
|
|
1071
|
-
var Columns_native_default = Columns;
|
|
1072
|
-
|
|
1073
|
-
// components/columns/column/Column.native.tsx
|
|
1074
|
-
var import_react13 = __toESM(require("react"));
|
|
1075
|
-
var import_react_native8 = require("react-native");
|
|
1076
|
-
var Column = import_react13.default.forwardRef(
|
|
1077
|
-
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
1078
|
-
const { width, realGap, scrollable, childrensLength } = import_react13.default.useContext(ColumnsContext);
|
|
1079
|
-
const scrollableStyle = import_react13.default.useMemo(
|
|
1080
|
-
() => ({
|
|
1081
|
-
width: size ? size / 12 * width - realGap * ((childrensLength - 1) / childrensLength) : narrow ? "auto" : width - 2 * realGap
|
|
1067
|
+
scrollContainer: {
|
|
1068
|
+
paddingHorizontal: enlarge,
|
|
1069
|
+
gap: realGap
|
|
1070
|
+
}
|
|
1082
1071
|
}),
|
|
1083
|
-
[
|
|
1072
|
+
[fullBleed, width, enlarge, realGap, fullheight, verticalAlign]
|
|
1084
1073
|
);
|
|
1085
|
-
const
|
|
1074
|
+
const contextValue = import_react11.default.useMemo(
|
|
1086
1075
|
() => ({
|
|
1087
|
-
|
|
1088
|
-
|
|
1089
|
-
|
|
1090
|
-
|
|
1076
|
+
width,
|
|
1077
|
+
realGap,
|
|
1078
|
+
scrollable: scrollable || false,
|
|
1079
|
+
childrensLength: import_react11.default.Children.count(children)
|
|
1091
1080
|
}),
|
|
1092
|
-
[
|
|
1081
|
+
[width, realGap, scrollable, children]
|
|
1093
1082
|
);
|
|
1094
|
-
return /* @__PURE__ */
|
|
1095
|
-
|
|
1083
|
+
return /* @__PURE__ */ import_react11.default.createElement(ColumnsContext.Provider, { value: contextValue }, !scrollable && /* @__PURE__ */ import_react11.default.createElement(
|
|
1084
|
+
import_react_native7.View,
|
|
1096
1085
|
{
|
|
1097
1086
|
ref,
|
|
1087
|
+
onLayout: onLayoutHandler,
|
|
1098
1088
|
style: [
|
|
1099
|
-
|
|
1100
|
-
|
|
1101
|
-
|
|
1089
|
+
dynamicStyles.columns,
|
|
1090
|
+
multiline && staticStyles.multiline,
|
|
1091
|
+
align === "ALIGNED_CENTER" /* ALIGNED_CENTER */ && staticStyles.centered,
|
|
1092
|
+
verticalAlign && dynamicStyles.verticalAlign
|
|
1102
1093
|
],
|
|
1103
1094
|
...others
|
|
1104
1095
|
},
|
|
1105
1096
|
children
|
|
1106
|
-
)
|
|
1097
|
+
), scrollable && /* @__PURE__ */ import_react11.default.createElement(
|
|
1098
|
+
import_react_native7.View,
|
|
1099
|
+
{
|
|
1100
|
+
onLayout: onLayoutHandler,
|
|
1101
|
+
style: {
|
|
1102
|
+
marginHorizontal: -enlarge
|
|
1103
|
+
}
|
|
1104
|
+
},
|
|
1105
|
+
/* @__PURE__ */ import_react11.default.createElement(
|
|
1106
|
+
import_react_native7.ScrollView,
|
|
1107
|
+
{
|
|
1108
|
+
horizontal: true,
|
|
1109
|
+
contentContainerStyle: dynamicStyles.scrollContainer,
|
|
1110
|
+
showsHorizontalScrollIndicator: false
|
|
1111
|
+
},
|
|
1112
|
+
children
|
|
1113
|
+
)
|
|
1114
|
+
));
|
|
1107
1115
|
}
|
|
1108
1116
|
);
|
|
1117
|
+
Columns.displayName = "Columns" /* Columns */;
|
|
1118
|
+
var Columns_native_default = Columns;
|
|
1119
|
+
|
|
1120
|
+
// components/columns/column/Column.native.tsx
|
|
1121
|
+
var import_react12 = __toESM(require("react"));
|
|
1122
|
+
var import_react_native8 = require("react-native");
|
|
1123
|
+
var Column = import_react12.default.memo(
|
|
1124
|
+
import_react12.default.forwardRef(
|
|
1125
|
+
({ children, narrow, size, verticalAlign, ...others }, ref) => {
|
|
1126
|
+
const { width, realGap, scrollable, childrensLength } = import_react12.default.useContext(ColumnsContext);
|
|
1127
|
+
const calculatedWidth = import_react12.default.useMemo(
|
|
1128
|
+
() => size ? size / 12 * width - realGap * ((childrensLength - 1) / childrensLength) : null,
|
|
1129
|
+
[size, width, realGap, childrensLength]
|
|
1130
|
+
);
|
|
1131
|
+
const scrollableStyle = import_react12.default.useMemo(
|
|
1132
|
+
() => ({
|
|
1133
|
+
width: calculatedWidth || (narrow ? "auto" : width - 2 * realGap)
|
|
1134
|
+
}),
|
|
1135
|
+
[calculatedWidth, narrow, width, realGap]
|
|
1136
|
+
);
|
|
1137
|
+
const noScrollableStyle = import_react12.default.useMemo(
|
|
1138
|
+
() => ({
|
|
1139
|
+
flex: narrow ? 0 : 1,
|
|
1140
|
+
flexGrow: size || narrow ? 0 : 1,
|
|
1141
|
+
flexShrink: narrow ? 1 : 0,
|
|
1142
|
+
flexBasis: calculatedWidth || "auto"
|
|
1143
|
+
}),
|
|
1144
|
+
[narrow, size, calculatedWidth]
|
|
1145
|
+
);
|
|
1146
|
+
const justifyContentStyle = import_react12.default.useMemo(
|
|
1147
|
+
() => ({
|
|
1148
|
+
justifyContent: getAlignStyle(verticalAlign)
|
|
1149
|
+
}),
|
|
1150
|
+
[verticalAlign]
|
|
1151
|
+
);
|
|
1152
|
+
return /* @__PURE__ */ import_react12.default.createElement(
|
|
1153
|
+
import_react_native8.View,
|
|
1154
|
+
{
|
|
1155
|
+
ref,
|
|
1156
|
+
style: [scrollable && scrollableStyle, !scrollable && noScrollableStyle, justifyContentStyle],
|
|
1157
|
+
...others
|
|
1158
|
+
},
|
|
1159
|
+
children
|
|
1160
|
+
);
|
|
1161
|
+
}
|
|
1162
|
+
)
|
|
1163
|
+
);
|
|
1109
1164
|
Column.displayName = "Column" /* Column */;
|
|
1110
1165
|
var Column_native_default = Column;
|
|
1111
1166
|
|
|
1112
1167
|
// components/title/Title.native.tsx
|
|
1113
|
-
var
|
|
1114
|
-
var
|
|
1168
|
+
var React11 = __toESM(require("react"));
|
|
1169
|
+
var import_react13 = require("react");
|
|
1115
1170
|
var import_native3 = __toESM(require("react-content-loader/native"));
|
|
1116
1171
|
var import_react_native9 = require("react-native");
|
|
1117
|
-
var Title =
|
|
1118
|
-
|
|
1119
|
-
|
|
1120
|
-
|
|
1121
|
-
|
|
1122
|
-
|
|
1123
|
-
|
|
1124
|
-
|
|
1125
|
-
|
|
1126
|
-
|
|
1127
|
-
|
|
1128
|
-
|
|
1129
|
-
|
|
1130
|
-
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
|
-
|
|
1134
|
-
|
|
1135
|
-
|
|
1136
|
-
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
|
-
|
|
1141
|
-
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
|
-
|
|
1145
|
-
|
|
1146
|
-
|
|
1147
|
-
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
|
-
return "flex-start";
|
|
1151
|
-
}
|
|
1152
|
-
};
|
|
1153
|
-
const styles4 = import_react_native9.StyleSheet.create({
|
|
1154
|
-
text: {
|
|
1155
|
-
fontFamily: getTypographyBoldStyle(fontFamily),
|
|
1156
|
-
fontSize: titlesLevels(),
|
|
1157
|
-
color: (overline || subtitle) && !level && colorOverline || color,
|
|
1158
|
-
textAlign: setTypographyAlign(typo),
|
|
1159
|
-
textTransform: overline && !level ? "uppercase" : void 0,
|
|
1160
|
-
alignSelf: getAlignSelf()
|
|
1161
|
-
},
|
|
1162
|
-
skeleton: {
|
|
1163
|
-
minWidth: 10,
|
|
1164
|
-
alignSelf: getAlignSelf(),
|
|
1165
|
-
borderRadius: 5,
|
|
1166
|
-
borderWidth: 0.1,
|
|
1167
|
-
borderColor: getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */),
|
|
1168
|
-
overflow: "hidden",
|
|
1169
|
-
height: titlesLevels()
|
|
1170
|
-
}
|
|
1171
|
-
});
|
|
1172
|
-
const titleAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
1173
|
-
let titleView = /* @__PURE__ */ React12.createElement(
|
|
1174
|
-
import_react_native9.Text,
|
|
1175
|
-
{
|
|
1176
|
-
ref,
|
|
1177
|
-
maxFontSizeMultiplier: 1.3,
|
|
1178
|
-
accessible: !!titleAccessibilityLabel,
|
|
1179
|
-
accessibilityLabel: titleAccessibilityLabel,
|
|
1180
|
-
style: [styles4.text, style],
|
|
1181
|
-
...others
|
|
1182
|
-
},
|
|
1183
|
-
children
|
|
1184
|
-
);
|
|
1185
|
-
if (skeleton) {
|
|
1186
|
-
titleView = /* @__PURE__ */ React12.createElement(import_native3.default, { style: styles4.skeleton }, titleView, isAndroid && /* @__PURE__ */ React12.createElement(import_react_native9.View, null, /* @__PURE__ */ React12.createElement(import_native3.Rect, { rx: "15", ry: "15", width: "100%", height: "100%" })));
|
|
1172
|
+
var Title = React11.forwardRef(({
|
|
1173
|
+
children,
|
|
1174
|
+
level,
|
|
1175
|
+
style,
|
|
1176
|
+
inverted,
|
|
1177
|
+
typo,
|
|
1178
|
+
onClick,
|
|
1179
|
+
skeleton,
|
|
1180
|
+
accessibilityLabel,
|
|
1181
|
+
subtitle,
|
|
1182
|
+
overline,
|
|
1183
|
+
...others
|
|
1184
|
+
}, ref) => {
|
|
1185
|
+
const statesContext = (0, import_react13.useContext)(StatesContext);
|
|
1186
|
+
const color = setTypographyColor(typo, inverted || statesContext.inverted, skeleton);
|
|
1187
|
+
const colorOverline = getColorStyle("MAIN" /* MAIN */);
|
|
1188
|
+
const fontFamily = level && [1 /* ONE */, 2 /* TWO */].includes(level) ? "has-text-weight-bold" /* TEXT_WEIGHT_BOLD */ : "has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */;
|
|
1189
|
+
const titlesLevels = () => {
|
|
1190
|
+
switch (level) {
|
|
1191
|
+
case 1 /* ONE */:
|
|
1192
|
+
return 32;
|
|
1193
|
+
case 2 /* TWO */:
|
|
1194
|
+
return 28;
|
|
1195
|
+
case 3 /* THREE */:
|
|
1196
|
+
return 22;
|
|
1197
|
+
case 4 /* FOUR */:
|
|
1198
|
+
return 20;
|
|
1199
|
+
case 5 /* FIVE */:
|
|
1200
|
+
return 18;
|
|
1201
|
+
case 6 /* SIX */:
|
|
1202
|
+
return 16;
|
|
1203
|
+
default:
|
|
1204
|
+
return 16;
|
|
1187
1205
|
}
|
|
1188
|
-
|
|
1206
|
+
};
|
|
1207
|
+
const getAlignSelf = () => {
|
|
1208
|
+
switch (true) {
|
|
1209
|
+
case setTypographyAlign(typo) === "left":
|
|
1210
|
+
return "flex-start";
|
|
1211
|
+
case setTypographyAlign(typo) === "center":
|
|
1212
|
+
return "center";
|
|
1213
|
+
case setTypographyAlign(typo) === "right":
|
|
1214
|
+
return "flex-end";
|
|
1215
|
+
default:
|
|
1216
|
+
return "flex-start";
|
|
1217
|
+
}
|
|
1218
|
+
};
|
|
1219
|
+
const styles4 = import_react_native9.StyleSheet.create({
|
|
1220
|
+
text: {
|
|
1221
|
+
fontFamily: getTypographyBoldStyle(fontFamily),
|
|
1222
|
+
fontSize: titlesLevels(),
|
|
1223
|
+
color: (overline || subtitle) && !level && colorOverline || color,
|
|
1224
|
+
textAlign: setTypographyAlign(typo),
|
|
1225
|
+
textTransform: overline && !level ? "uppercase" : void 0,
|
|
1226
|
+
alignSelf: getAlignSelf()
|
|
1227
|
+
},
|
|
1228
|
+
skeleton: {
|
|
1229
|
+
minWidth: 10,
|
|
1230
|
+
alignSelf: getAlignSelf(),
|
|
1231
|
+
borderRadius: 5,
|
|
1232
|
+
borderWidth: 0.1,
|
|
1233
|
+
borderColor: getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */),
|
|
1234
|
+
overflow: "hidden",
|
|
1235
|
+
height: titlesLevels()
|
|
1236
|
+
}
|
|
1237
|
+
});
|
|
1238
|
+
const titleAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
1239
|
+
let titleView = /* @__PURE__ */ React11.createElement(
|
|
1240
|
+
import_react_native9.Text,
|
|
1241
|
+
{
|
|
1242
|
+
ref,
|
|
1243
|
+
maxFontSizeMultiplier: 1.3,
|
|
1244
|
+
accessible: !!titleAccessibilityLabel,
|
|
1245
|
+
accessibilityLabel: titleAccessibilityLabel,
|
|
1246
|
+
style: [styles4.text, style],
|
|
1247
|
+
...others
|
|
1248
|
+
},
|
|
1249
|
+
children
|
|
1250
|
+
);
|
|
1251
|
+
if (skeleton) {
|
|
1252
|
+
titleView = /* @__PURE__ */ React11.createElement(import_native3.default, { style: styles4.skeleton }, titleView, isAndroid && /* @__PURE__ */ React11.createElement(import_react_native9.View, null, /* @__PURE__ */ React11.createElement(import_native3.Rect, { rx: "15", ry: "15", width: "100%", height: "100%" })));
|
|
1189
1253
|
}
|
|
1190
|
-
);
|
|
1254
|
+
return onClick ? /* @__PURE__ */ React11.createElement(import_react_native9.TouchableOpacity, { onPress: onClick, activeOpacity: 0.85 }, titleView) : titleView;
|
|
1255
|
+
});
|
|
1191
1256
|
Title.displayName = "Title" /* Title */;
|
|
1192
1257
|
var Title_native_default = Title;
|
|
1193
1258
|
|
|
1194
1259
|
// components/modal/context/ModalContext.tsx
|
|
1195
|
-
var
|
|
1196
|
-
var ModalContext =
|
|
1260
|
+
var import_react14 = __toESM(require("react"));
|
|
1261
|
+
var ModalContext = import_react14.default.createContext({
|
|
1197
1262
|
scrollViewRef: null,
|
|
1198
1263
|
handleOnScroll: () => null,
|
|
1199
1264
|
isFooter: false,
|
|
@@ -1201,7 +1266,7 @@ var ModalContext = import_react15.default.createContext({
|
|
|
1201
1266
|
});
|
|
1202
1267
|
|
|
1203
1268
|
// components/modal/Modal.native.tsx
|
|
1204
|
-
var Modal =
|
|
1269
|
+
var Modal = import_react15.default.forwardRef(
|
|
1205
1270
|
({
|
|
1206
1271
|
children,
|
|
1207
1272
|
active = false,
|
|
@@ -1213,10 +1278,10 @@ var Modal = import_react16.default.forwardRef(
|
|
|
1213
1278
|
title,
|
|
1214
1279
|
...others
|
|
1215
1280
|
}, ref) => {
|
|
1216
|
-
const scrollViewRef = (0,
|
|
1217
|
-
const [scrollOffset, setScrollOffset] = (0,
|
|
1218
|
-
const [visible, setVisible] = (0,
|
|
1219
|
-
const [isFooter, setIsFooter] = (0,
|
|
1281
|
+
const scrollViewRef = (0, import_react15.useRef)(null);
|
|
1282
|
+
const [scrollOffset, setScrollOffset] = (0, import_react15.useState)(0);
|
|
1283
|
+
const [visible, setVisible] = (0, import_react15.useState)(active || false);
|
|
1284
|
+
const [isFooter, setIsFooter] = (0, import_react15.useState)(active || false);
|
|
1220
1285
|
const handleOnScroll = (event) => {
|
|
1221
1286
|
setScrollOffset(event.nativeEvent.contentOffset.y);
|
|
1222
1287
|
};
|
|
@@ -1227,15 +1292,15 @@ var Modal = import_react16.default.forwardRef(
|
|
|
1227
1292
|
if (onClose) onClose(e);
|
|
1228
1293
|
setVisible(false);
|
|
1229
1294
|
};
|
|
1230
|
-
(0,
|
|
1295
|
+
(0, import_react15.useEffect)(() => {
|
|
1231
1296
|
setVisible(active);
|
|
1232
1297
|
}, [active]);
|
|
1233
|
-
return /* @__PURE__ */
|
|
1298
|
+
return /* @__PURE__ */ import_react15.default.createElement(ModalContext.Provider, { value: { scrollViewRef, handleOnScroll, isFooter, setIsFooter } }, trigger, /* @__PURE__ */ import_react15.default.createElement(
|
|
1234
1299
|
import_react_native_modal.default,
|
|
1235
1300
|
{
|
|
1236
1301
|
isVisible: visible,
|
|
1237
|
-
onBackdropPress: () => handleClose({}),
|
|
1238
|
-
onSwipeComplete: handleClose,
|
|
1302
|
+
onBackdropPress: unClosable ? void 0 : () => handleClose({}),
|
|
1303
|
+
onSwipeComplete: unClosable ? void 0 : handleClose,
|
|
1239
1304
|
swipeDirection: unClosable ? void 0 : ["down"],
|
|
1240
1305
|
scrollTo: handleScrollTo,
|
|
1241
1306
|
scrollOffset,
|
|
@@ -1245,7 +1310,7 @@ var Modal = import_react16.default.forwardRef(
|
|
|
1245
1310
|
onModalHide,
|
|
1246
1311
|
...others
|
|
1247
1312
|
},
|
|
1248
|
-
/* @__PURE__ */
|
|
1313
|
+
/* @__PURE__ */ import_react15.default.createElement(import_react_native10.View, { ref, style: [styles2.body, { backgroundColor: getColorStyle("WHITE" /* BACKGROUND */) }] }, /* @__PURE__ */ import_react15.default.createElement(import_react_native10.View, { style: { paddingVertical: !title && (hideCloseButton || unClosable) ? 8 : 16 } }, /* @__PURE__ */ import_react15.default.createElement(Columns_native_default, { verticalAlign: "ALIGNED_CENTER" /* ALIGNED_CENTER */ }, /* @__PURE__ */ import_react15.default.createElement(Column_native_default, null, /* @__PURE__ */ import_react15.default.createElement(Title_native_default, { level: 4 }, title)), !hideCloseButton && !unClosable && /* @__PURE__ */ import_react15.default.createElement(Column_native_default, { narrow: true }, /* @__PURE__ */ import_react15.default.createElement(import_react_native10.TouchableOpacity, { onPress: handleClose }, /* @__PURE__ */ import_react15.default.createElement(Icon_native_default, { name: "tri-times" /* TIMES */, size: "medium" /* MEDIUM */, color: "MAIN" /* MAIN */ }))))), children)
|
|
1249
1314
|
));
|
|
1250
1315
|
}
|
|
1251
1316
|
);
|
|
@@ -1273,11 +1338,11 @@ var styles2 = import_react_native10.StyleSheet.create({
|
|
|
1273
1338
|
});
|
|
1274
1339
|
|
|
1275
1340
|
// components/modal/body/ModalBody.native.tsx
|
|
1276
|
-
var
|
|
1341
|
+
var React14 = __toESM(require("react"));
|
|
1277
1342
|
var import_react_native11 = require("react-native");
|
|
1278
|
-
var ModalBody =
|
|
1279
|
-
const { handleOnScroll, scrollViewRef, isFooter } =
|
|
1280
|
-
return /* @__PURE__ */
|
|
1343
|
+
var ModalBody = React14.forwardRef(({ children, ...others }, ref) => {
|
|
1344
|
+
const { handleOnScroll, scrollViewRef, isFooter } = React14.useContext(ModalContext);
|
|
1345
|
+
return /* @__PURE__ */ React14.createElement(
|
|
1281
1346
|
import_react_native11.ScrollView,
|
|
1282
1347
|
{
|
|
1283
1348
|
ref: scrollViewRef,
|
|
@@ -1285,7 +1350,7 @@ var ModalBody = React15.forwardRef(({ children, ...others }, ref) => {
|
|
|
1285
1350
|
onScroll: handleOnScroll,
|
|
1286
1351
|
showsVerticalScrollIndicator: false
|
|
1287
1352
|
},
|
|
1288
|
-
/* @__PURE__ */
|
|
1353
|
+
/* @__PURE__ */ React14.createElement(
|
|
1289
1354
|
import_react_native11.View,
|
|
1290
1355
|
{
|
|
1291
1356
|
ref,
|
|
@@ -1306,20 +1371,18 @@ ModalBody.displayName = "ModalBody" /* ModalBody */;
|
|
|
1306
1371
|
var ModalBody_native_default = ModalBody;
|
|
1307
1372
|
|
|
1308
1373
|
// components/modal/footer/ModalFooter.native.tsx
|
|
1309
|
-
var
|
|
1374
|
+
var React15 = __toESM(require("react"));
|
|
1310
1375
|
var import_react_native12 = require("react-native");
|
|
1311
|
-
var ModalFooter =
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
}
|
|
1322
|
-
);
|
|
1376
|
+
var ModalFooter = React15.forwardRef(({ children, ...others }, ref) => {
|
|
1377
|
+
const { setIsFooter } = React15.useContext(ModalContext);
|
|
1378
|
+
React15.useEffect(() => {
|
|
1379
|
+
setIsFooter(true);
|
|
1380
|
+
return () => {
|
|
1381
|
+
setIsFooter(false);
|
|
1382
|
+
};
|
|
1383
|
+
}, []);
|
|
1384
|
+
return /* @__PURE__ */ React15.createElement(import_react_native12.View, { ref, style: [styles3.container], ...others }, /* @__PURE__ */ React15.createElement(import_react_native12.View, { style: [{ backgroundColor: getColorStyle("WHITE" /* BACKGROUND */) }] }, typeof children === "string" && /* @__PURE__ */ React15.createElement(Title_native_default, { level: 3 /* THREE */, style: styles3.title }, children) || children));
|
|
1385
|
+
});
|
|
1323
1386
|
ModalFooter.displayName = "ModalFooter" /* ModalFooter */;
|
|
1324
1387
|
var styles3 = import_react_native12.StyleSheet.create({
|
|
1325
1388
|
container: {
|
|
@@ -1330,51 +1393,49 @@ var styles3 = import_react_native12.StyleSheet.create({
|
|
|
1330
1393
|
});
|
|
1331
1394
|
|
|
1332
1395
|
// components/select/Select.native.tsx
|
|
1333
|
-
var
|
|
1396
|
+
var import_react16 = __toESM(require("react"));
|
|
1334
1397
|
var import_react_native14 = require("react-native");
|
|
1335
1398
|
|
|
1336
1399
|
// components/select/option/SelectOption.native.tsx
|
|
1337
|
-
var
|
|
1400
|
+
var React16 = __toESM(require("react"));
|
|
1338
1401
|
var import_react_native13 = require("react-native");
|
|
1339
|
-
var SelectOption =
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
|
|
1375
|
-
|
|
1376
|
-
}
|
|
1377
|
-
);
|
|
1402
|
+
var SelectOption = React16.forwardRef(({ disabled, children, onClick, label, iconName, ...others }, ref) => {
|
|
1403
|
+
const { checked } = others;
|
|
1404
|
+
const styles4 = import_react_native13.StyleSheet.create({
|
|
1405
|
+
container: {
|
|
1406
|
+
backgroundColor: getColorStyle(disabled ? "DISABLED_FADE" /* DISABLED_FADE */ : "transparent"),
|
|
1407
|
+
width: "100%",
|
|
1408
|
+
paddingVertical: checked && !iconName ? 8.5 : 10
|
|
1409
|
+
}
|
|
1410
|
+
});
|
|
1411
|
+
const textColor = React16.useMemo(() => {
|
|
1412
|
+
switch (true) {
|
|
1413
|
+
case disabled === true:
|
|
1414
|
+
return "DISABLED" /* DISABLED */;
|
|
1415
|
+
default:
|
|
1416
|
+
return "MAIN" /* MAIN */;
|
|
1417
|
+
}
|
|
1418
|
+
}, [disabled]);
|
|
1419
|
+
const iconColor = React16.useMemo(() => {
|
|
1420
|
+
switch (true) {
|
|
1421
|
+
case disabled === true:
|
|
1422
|
+
return "DISABLED" /* DISABLED */;
|
|
1423
|
+
default:
|
|
1424
|
+
return "MAIN" /* MAIN */;
|
|
1425
|
+
}
|
|
1426
|
+
}, [disabled]);
|
|
1427
|
+
const columnLabelSize = React16.useMemo(() => {
|
|
1428
|
+
return iconName ? checked && 10 || 11 : checked && 11 || 12;
|
|
1429
|
+
}, [iconName, checked]);
|
|
1430
|
+
return /* @__PURE__ */ React16.createElement(import_react_native13.TouchableOpacity, { ref, style: [styles4.container], ...others, onPress: onClick }, /* @__PURE__ */ React16.createElement(Columns_native_default, { verticalAlign: "ALIGNED_CENTER" /* ALIGNED_CENTER */ }, iconName && /* @__PURE__ */ React16.createElement(Column_native_default, { size: 1 }, /* @__PURE__ */ React16.createElement(Icon_native_default, { size: "small" /* SMALL */, name: iconName, color: iconColor })), /* @__PURE__ */ React16.createElement(Column_native_default, { size: columnLabelSize }, /* @__PURE__ */ React16.createElement(
|
|
1431
|
+
Text_native_default,
|
|
1432
|
+
{
|
|
1433
|
+
typo: [checked && "has-text-weight-semibold" /* TEXT_WEIGHT_SEMIBOLD */],
|
|
1434
|
+
...{ style: { paddingLeft: 8, color: getColorStyle(textColor) } }
|
|
1435
|
+
},
|
|
1436
|
+
children || label
|
|
1437
|
+
)), checked && /* @__PURE__ */ React16.createElement(Column_native_default, { size: 1 }, /* @__PURE__ */ React16.createElement(Icon_native_default, { size: "small" /* SMALL */, name: "tri-check", color: iconColor }))));
|
|
1438
|
+
});
|
|
1378
1439
|
SelectOption.displayName = "SelectOption" /* SelectOption */;
|
|
1379
1440
|
var SelectOption_native_default = SelectOption;
|
|
1380
1441
|
|
|
@@ -1382,16 +1443,16 @@ var SelectOption_native_default = SelectOption;
|
|
|
1382
1443
|
var index_native_default = SelectOption_native_default;
|
|
1383
1444
|
|
|
1384
1445
|
// components/select/Select.native.tsx
|
|
1385
|
-
var Select =
|
|
1446
|
+
var Select = import_react16.default.forwardRef(
|
|
1386
1447
|
({ children, id, selected, label, iconName, onChange, disabled, multiple, onBlur, status, ...others }, ref) => {
|
|
1387
|
-
const [selectedValues, setSelectedValues] = (0,
|
|
1388
|
-
const [selectedNames, setSelectedNames] =
|
|
1389
|
-
const [display, setDisplay] = (0,
|
|
1390
|
-
const reactId =
|
|
1391
|
-
(0,
|
|
1448
|
+
const [selectedValues, setSelectedValues] = (0, import_react16.useState)(selected);
|
|
1449
|
+
const [selectedNames, setSelectedNames] = import_react16.default.useState([]);
|
|
1450
|
+
const [display, setDisplay] = (0, import_react16.useState)(false);
|
|
1451
|
+
const reactId = import_react16.default.useId();
|
|
1452
|
+
(0, import_react16.useEffect)(() => {
|
|
1392
1453
|
var _a;
|
|
1393
|
-
const labelSelected = (_a =
|
|
1394
|
-
if (!
|
|
1454
|
+
const labelSelected = (_a = import_react16.default.Children.map(children, (child) => {
|
|
1455
|
+
if (!import_react16.default.isValidElement(child)) return false;
|
|
1395
1456
|
const label2 = child.props.children || child.props.label;
|
|
1396
1457
|
switch (true) {
|
|
1397
1458
|
case (Array.isArray(selected) && selected.includes(child.props.value) || !Array.isArray(selected) && child.props.value === selected):
|
|
@@ -1403,14 +1464,14 @@ var Select = import_react17.default.forwardRef(
|
|
|
1403
1464
|
labelSelected && setSelectedNames(labelSelected);
|
|
1404
1465
|
setSelectedValues(selected);
|
|
1405
1466
|
}, [selected]);
|
|
1406
|
-
const handleOpenCloseModal = (0,
|
|
1467
|
+
const handleOpenCloseModal = (0, import_react16.useCallback)(() => {
|
|
1407
1468
|
!disabled && setDisplay((prev) => !prev);
|
|
1408
1469
|
}, [disabled]);
|
|
1409
|
-
const isChecked = (0,
|
|
1470
|
+
const isChecked = (0, import_react16.useCallback)(
|
|
1410
1471
|
(value) => multiple && selectedValues && typeof selectedValues !== "string" && typeof selectedValues !== "number" ? selectedValues == null ? void 0 : selectedValues.includes(value) : selectedValues === value,
|
|
1411
1472
|
[multiple, selectedValues]
|
|
1412
1473
|
);
|
|
1413
|
-
const setNewSelectedValues = (0,
|
|
1474
|
+
const setNewSelectedValues = (0, import_react16.useCallback)(
|
|
1414
1475
|
({
|
|
1415
1476
|
isChecked: isChecked2,
|
|
1416
1477
|
children: children2,
|
|
@@ -1455,9 +1516,9 @@ var Select = import_react17.default.forwardRef(
|
|
|
1455
1516
|
},
|
|
1456
1517
|
[multiple]
|
|
1457
1518
|
);
|
|
1458
|
-
const options =
|
|
1459
|
-
return
|
|
1460
|
-
if (!
|
|
1519
|
+
const options = import_react16.default.useMemo(() => {
|
|
1520
|
+
return import_react16.default.Children.map(children, (child, index) => {
|
|
1521
|
+
if (!import_react16.default.isValidElement(child)) return null;
|
|
1461
1522
|
const clickEventValue = (v) => {
|
|
1462
1523
|
switch (true) {
|
|
1463
1524
|
case (multiple && (selectedValues == null ? void 0 : selectedValues.includes(child.props.value)) || !multiple && selectedValues === child.props.value):
|
|
@@ -1487,16 +1548,16 @@ var Select = import_react17.default.forwardRef(
|
|
|
1487
1548
|
if (child.props.onClick) child.props.onClick();
|
|
1488
1549
|
}
|
|
1489
1550
|
};
|
|
1490
|
-
return /* @__PURE__ */
|
|
1551
|
+
return /* @__PURE__ */ import_react16.default.createElement(index_native_default, { ...props, key: `${reactId}_${index}` });
|
|
1491
1552
|
});
|
|
1492
1553
|
}, [multiple, selectedValues, children]);
|
|
1493
|
-
return /* @__PURE__ */
|
|
1554
|
+
return /* @__PURE__ */ import_react16.default.createElement(
|
|
1494
1555
|
Modal_native_default,
|
|
1495
1556
|
{
|
|
1496
1557
|
active: display,
|
|
1497
1558
|
onClose: handleOpenCloseModal,
|
|
1498
1559
|
unClosable: true,
|
|
1499
|
-
trigger: /* @__PURE__ */
|
|
1560
|
+
trigger: /* @__PURE__ */ import_react16.default.createElement(import_react_native14.TouchableOpacity, { onPress: handleOpenCloseModal }, /* @__PURE__ */ import_react16.default.createElement(
|
|
1500
1561
|
Input_native_default,
|
|
1501
1562
|
{
|
|
1502
1563
|
status,
|
|
@@ -1514,7 +1575,7 @@ var Select = import_react17.default.forwardRef(
|
|
|
1514
1575
|
}
|
|
1515
1576
|
))
|
|
1516
1577
|
},
|
|
1517
|
-
/* @__PURE__ */
|
|
1578
|
+
/* @__PURE__ */ import_react16.default.createElement(ModalBody_native_default, null, /* @__PURE__ */ import_react16.default.createElement(import_react_native14.View, { style: { paddingBottom: 20 } }, options))
|
|
1518
1579
|
);
|
|
1519
1580
|
}
|
|
1520
1581
|
);
|