@trilogy-ds/react 0.0.27-esm-cjs → 0.0.28-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-UQ3F7A5F.mjs → chunk-2FNMU5IX.mjs} +5 -5
- package/lib/{chunk-G2YCM7AZ.mjs → chunk-2HYM6QES.mjs} +2 -2
- package/lib/{chunk-WEVI64CN.mjs → chunk-2PZUJQQR.mjs} +1 -1
- package/lib/{chunk-U3CWYKFP.mjs → chunk-2QZXS5AV.mjs} +1 -1
- package/lib/{chunk-AFGKMVTL.mjs → chunk-2ZXNMNZQ.mjs} +2 -2
- package/lib/{chunk-VYP4HA77.mjs → chunk-3CLJZ35B.mjs} +3 -3
- package/lib/{chunk-J6ALRNSS.mjs → chunk-3EMMIIET.mjs} +3 -3
- package/lib/{chunk-XP2DSUOZ.mjs → chunk-3IHIP67Z.mjs} +1 -1
- package/lib/{chunk-GZN3MH62.mjs → chunk-3IZPRJRW.mjs} +2 -2
- package/lib/{chunk-OCBMPT42.mjs → chunk-3MRBYJGC.mjs} +1 -1
- package/lib/{chunk-ICYET2FE.mjs → chunk-3OQUOEEJ.mjs} +1 -1
- package/lib/{chunk-UF4SJ5S6.mjs → chunk-3TNW7H2X.mjs} +2 -2
- package/lib/{chunk-OTT7VCHV.mjs → chunk-3Y6JQ767.mjs} +1 -1
- package/lib/{chunk-WGEN3AJR.mjs → chunk-4OJAZNII.mjs} +4 -4
- package/lib/{chunk-PDQNHPRY.mjs → chunk-55YD5ED2.mjs} +2 -5
- package/lib/chunk-57ZCA2JK.mjs +27 -0
- package/lib/{chunk-IH4PWIOS.mjs → chunk-5GU35YAB.mjs} +1 -1
- package/lib/{chunk-MCQZ43VV.mjs → chunk-5WJ7A7D5.mjs} +1 -1
- package/lib/{chunk-NKKDHZ4W.mjs → chunk-5XH2PQIG.mjs} +4 -4
- package/lib/{chunk-TRGKFKYP.mjs → chunk-5XWBQO3M.mjs} +6 -6
- package/lib/{chunk-IUOXSLAY.mjs → chunk-6Q3377VJ.mjs} +17 -74
- package/lib/{chunk-OWEOJH6C.mjs → chunk-7HNDZCFM.mjs} +3 -3
- package/lib/{chunk-6IWJPKDV.mjs → chunk-7JWRLHSR.mjs} +3 -3
- package/lib/{chunk-UG5CQ7XM.mjs → chunk-7ZWD57KT.mjs} +1 -1
- package/lib/{chunk-2GK4CQRN.mjs → chunk-A2GENPGN.mjs} +1 -1
- package/lib/{chunk-JZARKY6T.mjs → chunk-A2OOIRKG.mjs} +3 -1
- package/lib/{chunk-D7HUPOC4.mjs → chunk-A5Y275DM.mjs} +1 -1
- package/lib/{chunk-44UW6O35.mjs → chunk-B2FYI737.mjs} +1 -1
- package/lib/{chunk-HFCM4EBG.mjs → chunk-B5LAI56B.mjs} +2 -2
- package/lib/chunk-BH2YO4EE.mjs +1 -0
- package/lib/{chunk-7WD2QL5G.mjs → chunk-BH74XDMP.mjs} +6 -16
- package/lib/{chunk-D7RPS4TQ.mjs → chunk-BKAHLA6T.mjs} +7 -7
- package/lib/{chunk-5NVRNU4T.mjs → chunk-BOJEB57A.mjs} +1 -2
- package/lib/{chunk-4OEGI3GA.mjs → chunk-BPOHYLLY.mjs} +2 -2
- package/lib/chunk-BU5IIOVY.mjs +1 -0
- package/lib/{chunk-444SZZZI.mjs → chunk-C6EXVJOJ.mjs} +1 -1
- package/lib/{chunk-SAXWAT7I.mjs → chunk-CAKOEONJ.mjs} +1 -1
- package/lib/{chunk-GBDVJO3X.mjs → chunk-CGRFHQUS.mjs} +3 -3
- package/lib/chunk-CQ4R52AQ.mjs +129 -0
- package/lib/{chunk-2VNGPGE3.mjs → chunk-D6KHDGMM.mjs} +2 -2
- package/lib/{chunk-JE4VR3XW.mjs → chunk-D7B3AXCV.mjs} +1 -1
- package/lib/{chunk-L4UDEKQK.mjs → chunk-DBSMMWLO.mjs} +25 -27
- package/lib/{chunk-RDFPBHK5.mjs → chunk-DEACASZB.mjs} +2 -2
- package/lib/{chunk-Q4TEGNKO.mjs → chunk-DKIHQR7V.mjs} +1 -1
- package/lib/{chunk-6L3PSRZJ.mjs → chunk-DPDJLVWF.mjs} +1 -1
- package/lib/{chunk-R75TSB7E.mjs → chunk-DSRICZET.mjs} +2 -2
- package/lib/{chunk-DZMFMIPN.mjs → chunk-DTFTWQQS.mjs} +1 -1
- package/lib/{chunk-5KL3MK3D.mjs → chunk-EGVXOTE6.mjs} +3 -3
- package/lib/{chunk-652ISSLQ.mjs → chunk-EQYCLLGI.mjs} +1 -1
- package/lib/{chunk-OQ3W2CPF.mjs → chunk-F3CYHG6O.mjs} +2 -2
- package/lib/{chunk-E6R47TIV.mjs → chunk-FC6GPWAZ.mjs} +2 -2
- package/lib/chunk-FRHV2QIJ.mjs +1 -0
- package/lib/{chunk-KWLXL7TO.mjs → chunk-GA2G3UAN.mjs} +3 -1
- package/lib/chunk-GA52AA6D.mjs +1 -0
- package/lib/{chunk-5Q5JCWIE.mjs → chunk-GVASFGHQ.mjs} +3 -3
- package/lib/{chunk-PQUNENJ4.mjs → chunk-GXJ7QD2H.mjs} +1 -1
- package/lib/chunk-HAIHG3RG.mjs +84 -0
- package/lib/{chunk-TBZH3YMY.mjs → chunk-HGUXIYN5.mjs} +1 -1
- package/lib/{chunk-AUO7LCZA.mjs → chunk-HHXAXWJI.mjs} +1 -1
- package/lib/chunk-HJOVQPVB.mjs +48 -0
- package/lib/chunk-HJYU5E5R.mjs +104 -0
- package/lib/{chunk-4PAEMP2A.mjs → chunk-HPBRN6XW.mjs} +4 -4
- package/lib/chunk-HPMZZUFH.mjs +13 -0
- package/lib/{chunk-NMYPVUNC.mjs → chunk-HWSV5GKN.mjs} +1 -1
- package/lib/{chunk-ARA7YCBH.mjs → chunk-HZZLLQ65.mjs} +1 -1
- package/lib/{chunk-AFUYTIMM.mjs → chunk-I6MSAMAC.mjs} +1 -1
- package/lib/{chunk-LEWJ2FUM.mjs → chunk-IBJX42RL.mjs} +1 -1
- package/lib/{chunk-KMI6U5ZO.mjs → chunk-IC445GIJ.mjs} +1 -1
- package/lib/{chunk-G7KIUJR6.mjs → chunk-ILIFTIS7.mjs} +1 -1
- package/lib/{chunk-YUT5XXYL.mjs → chunk-IMU5WNB3.mjs} +1 -1
- package/lib/{chunk-P5Q5ZGZT.mjs → chunk-IOVSRIE6.mjs} +1 -1
- package/lib/{chunk-YYKMIPNP.mjs → chunk-IPZTVXIE.mjs} +1 -1
- package/lib/{chunk-GMDNZ7QH.mjs → chunk-J2WZEY4A.mjs} +1 -1
- package/lib/chunk-J76YWOKT.mjs +139 -0
- package/lib/{chunk-PKHWDIE2.mjs → chunk-JAZFBHYC.mjs} +1 -1
- package/lib/{chunk-CCFF7QUC.mjs → chunk-JFIQ6B2V.mjs} +1 -1
- package/lib/{chunk-I6QAEJTP.mjs → chunk-JJU7GKEZ.mjs} +1 -1
- package/lib/{chunk-FOLDUGKD.mjs → chunk-JKB3FJDP.mjs} +1 -1
- package/lib/{chunk-L7O7P6R5.mjs → chunk-KBHDFQFH.mjs} +2 -2
- package/lib/{chunk-7PWJFS4M.mjs → chunk-KHZZLEU7.mjs} +5 -5
- package/lib/{chunk-MAABUHHC.mjs → chunk-KNUAL7BY.mjs} +2 -2
- package/lib/{chunk-BTJ4SIGL.mjs → chunk-KPZTLGUB.mjs} +1 -1
- package/lib/{chunk-EONCJ4MO.mjs → chunk-KRROU6EI.mjs} +1 -1
- package/lib/{chunk-AH6PMXJT.mjs → chunk-KVJVSJWO.mjs} +3 -3
- package/lib/{chunk-SVMDNGM3.mjs → chunk-L37WAR3R.mjs} +2 -2
- package/lib/{chunk-J6UOCPXU.mjs → chunk-L7YU4GTE.mjs} +3 -3
- package/lib/{chunk-2Y6KFFKS.mjs → chunk-LBHJFKKZ.mjs} +3 -3
- package/lib/{chunk-PIHQOSFT.mjs → chunk-LBWE4Q2G.mjs} +1 -1
- package/lib/{chunk-UCCVV2BK.mjs → chunk-LN2AQJ2K.mjs} +3 -3
- package/lib/chunk-LZH3HQCB.mjs +13 -0
- package/lib/chunk-M5US2UAQ.mjs +44 -0
- package/lib/{chunk-2L4JFQLT.mjs → chunk-M5YDQECK.mjs} +1 -1
- package/lib/{chunk-VDLM4YQP.mjs → chunk-M6FZOPDH.mjs} +4 -0
- package/lib/{chunk-DAANEOSG.mjs → chunk-MF6PO4E4.mjs} +7 -4
- package/lib/{chunk-NTLV4H36.mjs → chunk-MJ77K6AT.mjs} +1 -1
- package/lib/{chunk-PXZUJKBA.mjs → chunk-MT625ECH.mjs} +1 -1
- package/lib/{chunk-N7MFF5DP.mjs → chunk-MTRPTXD2.mjs} +1 -1
- package/lib/{chunk-EFDTOVNX.mjs → chunk-MU2EQ442.mjs} +1 -1
- package/lib/{chunk-DXK5AXTD.mjs → chunk-MVEZGLRT.mjs} +2 -2
- package/lib/chunk-N6PAYRHX.mjs +1 -0
- package/lib/chunk-NESCKBOS.mjs +1 -0
- package/lib/{chunk-BC4OMGGE.mjs → chunk-NHFXJFKR.mjs} +1 -1
- package/lib/{chunk-5OXB2GUJ.mjs → chunk-NN2CPAZB.mjs} +1 -1
- package/lib/{chunk-4YB37OJC.mjs → chunk-NOWU56K4.mjs} +1 -1
- package/lib/{chunk-TKPRJXU5.mjs → chunk-NPUTS6X6.mjs} +2 -2
- package/lib/{chunk-SWE3LIUJ.mjs → chunk-NRXSGVTI.mjs} +3 -3
- package/lib/{chunk-K52Y5EBC.mjs → chunk-NSWYV6NV.mjs} +1 -1
- package/lib/{chunk-VK56PYIH.mjs → chunk-NU2Q7VNH.mjs} +1 -1
- package/lib/{chunk-T2H7JDZV.mjs → chunk-NUPGLVWR.mjs} +3 -3
- package/lib/{chunk-HZTKS7X7.mjs → chunk-O3HJSFRB.mjs} +1 -1
- package/lib/{chunk-RXLXOY2M.mjs → chunk-O623VKKD.mjs} +2 -2
- package/lib/{chunk-S2KKKDTS.mjs → chunk-O6FFP6ZJ.mjs} +16 -44
- package/lib/{chunk-2QU7WQ7L.mjs → chunk-OFKAQCVE.mjs} +1 -1
- package/lib/{chunk-CKEC5R4P.mjs → chunk-OKUHPJOD.mjs} +1 -1
- package/lib/chunk-OQCQ2H22.mjs +1 -0
- package/lib/{chunk-OGBNVMGK.mjs → chunk-OTWLBNXW.mjs} +1 -1
- package/lib/{chunk-QFKDXYI5.mjs → chunk-OWCKMPKU.mjs} +2 -2
- package/lib/{chunk-5VEQNIGA.mjs → chunk-OXCSBRU5.mjs} +1 -1
- package/lib/{chunk-GBNLLA4A.mjs → chunk-OZEOCP57.mjs} +1 -1
- package/lib/{chunk-GCVQZBFB.mjs → chunk-PHSWP4WG.mjs} +1 -1
- package/lib/{chunk-KVZQES2Y.mjs → chunk-POXQVINA.mjs} +4 -4
- package/lib/{chunk-TBIXSGCM.mjs → chunk-PUV3AXGV.mjs} +1 -1
- package/lib/{chunk-DVN3B56X.mjs → chunk-PWEIAE6G.mjs} +1 -1
- package/lib/{chunk-EPY5DUWO.mjs → chunk-PZRIBILT.mjs} +1 -1
- package/lib/{chunk-UAXY4YT3.mjs → chunk-QLZP7GBB.mjs} +22 -5
- package/lib/{chunk-C7O6F2YO.mjs → chunk-QP2PFT3K.mjs} +1 -1
- package/lib/{chunk-6GMYRMG4.mjs → chunk-QYH2SNJL.mjs} +1 -1
- package/lib/{chunk-V7MK6NA5.mjs → chunk-R2NTHO6N.mjs} +2 -2
- package/lib/{chunk-4ZKM25EH.mjs → chunk-R5D4YF5R.mjs} +3 -3
- package/lib/{chunk-P3723VQ6.mjs → chunk-RETE3ZTE.mjs} +1 -1
- package/lib/{chunk-5LGX4H46.mjs → chunk-REUPPELB.mjs} +1 -1
- package/lib/{chunk-GUEEDQO2.mjs → chunk-RN2GGQZD.mjs} +1 -1
- package/lib/chunk-RPYWD5K3.mjs +78 -0
- package/lib/{chunk-VXIRTRRU.mjs → chunk-RV46LSGL.mjs} +7 -7
- package/lib/{chunk-XC7NYHSS.mjs → chunk-RYUTIOBN.mjs} +3 -3
- package/lib/{chunk-QCTXDSEI.mjs → chunk-S2Z4UFJX.mjs} +3 -3
- package/lib/{chunk-QVMINIBV.mjs → chunk-SAMHT3RS.mjs} +1 -1
- package/lib/{chunk-73J4ADIZ.mjs → chunk-SCQP6POV.mjs} +1 -1
- package/lib/{chunk-VKHAKGIB.mjs → chunk-SGXS373A.mjs} +3 -3
- package/lib/{chunk-FLZQ6O5F.mjs → chunk-SHAZZJ6B.mjs} +1 -1
- package/lib/{chunk-QLTYAIIQ.mjs → chunk-T7HWHYJW.mjs} +3 -3
- package/lib/{chunk-SFXF75XV.mjs → chunk-TAMBU4V6.mjs} +3 -3
- package/lib/chunk-TCTATCEY.mjs +74 -0
- package/lib/{chunk-XJK3XRLJ.mjs → chunk-TDRTUPK5.mjs} +4 -4
- package/lib/{chunk-24IJJOMB.mjs → chunk-TZXX4HLS.mjs} +2 -2
- package/lib/chunk-UAHBURVC.mjs +13 -0
- package/lib/{chunk-RM4QHNI7.mjs → chunk-UFI4GLBY.mjs} +3 -3
- package/lib/{chunk-YRQ365XL.mjs → chunk-UK222BLE.mjs} +2 -2
- package/lib/{chunk-LGVBN3MW.mjs → chunk-UL7E4VXO.mjs} +1 -1
- package/lib/{chunk-F7SUBXL3.mjs → chunk-UWBCYIUU.mjs} +1 -1
- package/lib/chunk-UXQWL2JF.mjs +1 -0
- package/lib/{chunk-ED4AH7HA.mjs → chunk-UZB67GRB.mjs} +2 -2
- package/lib/{chunk-IDH5YI5X.mjs → chunk-UZRSMDJB.mjs} +1 -1
- package/lib/{chunk-EYSTFJQX.mjs → chunk-V3KB6SXF.mjs} +1 -1
- package/lib/{chunk-NRTMJLXK.mjs → chunk-V4SC5SC7.mjs} +1 -1
- package/lib/{chunk-E7NTYI4Z.mjs → chunk-V5EYHP5F.mjs} +3 -3
- package/lib/{chunk-775JYQIT.mjs → chunk-V6GFAYJV.mjs} +1 -1
- package/lib/{chunk-4PT2R4TY.mjs → chunk-VCBA76C3.mjs} +3 -3
- package/lib/chunk-VFI6BIAG.mjs +13 -0
- package/lib/{chunk-GGWWECIG.mjs → chunk-VFLFZSNX.mjs} +2 -2
- package/lib/{chunk-7MRZDYPY.mjs → chunk-VMXTYYVG.mjs} +3 -3
- package/lib/{chunk-VBWLYBOT.mjs → chunk-VNK64K2K.mjs} +1 -1
- package/lib/{chunk-JJJ4Z7Q6.mjs → chunk-VQCAUTKX.mjs} +4 -4
- package/lib/{chunk-PTBL54EP.mjs → chunk-WAL2P2NA.mjs} +5 -5
- package/lib/{chunk-KWK4HN75.mjs → chunk-WAPMPOZH.mjs} +2 -2
- package/lib/{chunk-YMMBXKA5.mjs → chunk-WBHMMFEP.mjs} +1 -1
- package/lib/{chunk-6GGZCKVV.mjs → chunk-WEN3Q6CZ.mjs} +5 -3
- package/lib/{chunk-3KNG5WUQ.mjs → chunk-WFIXFBGQ.mjs} +1 -1
- package/lib/{chunk-P25RBQLX.mjs → chunk-WHJ5TUTR.mjs} +4 -4
- package/lib/chunk-WIHUGD7U.mjs +62 -0
- package/lib/{chunk-RW5JN2S5.mjs → chunk-WIO4VLQV.mjs} +1 -1
- package/lib/{chunk-3YU6GX5K.mjs → chunk-WJBZ7JCI.mjs} +5 -5
- package/lib/{chunk-PI2XWEPQ.mjs → chunk-WLAMVZKC.mjs} +2 -2
- package/lib/{chunk-ZNF2AXYR.mjs → chunk-WWWZCWQK.mjs} +1 -1
- package/lib/{chunk-CD6DMMCL.mjs → chunk-X63WVV4X.mjs} +5 -4
- package/lib/{chunk-CQLUHQ2S.mjs → chunk-X6SQUIXU.mjs} +1 -1
- package/lib/{chunk-FZID43C4.mjs → chunk-X7QSYAIO.mjs} +5 -5
- package/lib/{chunk-E24NCZNA.mjs → chunk-XAQZOHJR.mjs} +2 -2
- package/lib/{chunk-6ZPFBTT6.mjs → chunk-XW5VQ75G.mjs} +1 -1
- package/lib/{chunk-VN3J3W35.mjs → chunk-YCEN6SBK.mjs} +1 -1
- package/lib/{chunk-6AFOGEEB.mjs → chunk-YGEFQ6BP.mjs} +1 -1
- package/lib/chunk-YLWSQ5PL.mjs +109 -0
- package/lib/{chunk-AREMNZUO.mjs → chunk-YW5BEIAP.mjs} +2 -2
- package/lib/{chunk-4QSEELAZ.mjs → chunk-Z7VYGFYV.mjs} +1 -1
- package/lib/{chunk-FQV2LIL5.mjs → chunk-ZIIDLA6A.mjs} +3 -3
- package/lib/{chunk-46ZZN4H7.mjs → chunk-ZJ42PVHE.mjs} +3 -3
- package/lib/{chunk-BVU3ZGUU.mjs → chunk-ZOBYKSZB.mjs} +1 -1
- package/lib/{chunk-LBFFMBGL.mjs → chunk-ZTO4MLYA.mjs} +3 -3
- package/lib/components/accordion/Accordion.mjs +3 -3
- package/lib/components/accordion/Accordion.native.mjs +1 -1
- package/lib/components/accordion/index.mjs +6 -6
- package/lib/components/accordion/index.native.js +123 -43
- package/lib/components/accordion/index.native.mjs +7 -7
- package/lib/components/accordion/item/AccordionItem.mjs +3 -3
- package/lib/components/accordion/item/AccordionItem.native.js +117 -37
- package/lib/components/accordion/item/AccordionItem.native.mjs +7 -7
- package/lib/components/accordion/item/body/AccordionBody.mjs +3 -3
- package/lib/components/accordion/item/body/AccordionBody.native.mjs +1 -1
- package/lib/components/accordion/item/body/index.mjs +3 -3
- package/lib/components/accordion/item/body/index.native.mjs +1 -1
- package/lib/components/accordion/item/header/AccordionHeader.mjs +3 -3
- package/lib/components/accordion/item/header/AccordionHeader.native.mjs +1 -1
- package/lib/components/accordion/item/header/index.mjs +3 -3
- package/lib/components/accordion/item/header/index.native.mjs +1 -1
- package/lib/components/accordion/item/index.mjs +3 -3
- package/lib/components/accordion/item/index.native.js +117 -37
- package/lib/components/accordion/item/index.native.mjs +7 -7
- package/lib/components/alert/Alert.js +8 -6
- package/lib/components/alert/Alert.mjs +10 -10
- package/lib/components/alert/Alert.native.js +210 -145
- package/lib/components/alert/Alert.native.mjs +28 -28
- package/lib/components/alert/context/ToastConfigDefaults.js +8 -0
- package/lib/components/alert/context/ToasterContextProps.d.mts +2 -1
- package/lib/components/alert/context/ToasterContextProps.d.ts +2 -1
- package/lib/components/alert/index.js +8 -6
- package/lib/components/alert/index.mjs +10 -10
- package/lib/components/alert/index.native.js +210 -145
- package/lib/components/alert/index.native.mjs +28 -28
- package/lib/components/autocomplete/AutoComplete.js +14 -9
- package/lib/components/autocomplete/AutoComplete.mjs +23 -23
- package/lib/components/autocomplete/AutoComplete.native.js +148 -146
- package/lib/components/autocomplete/AutoComplete.native.mjs +28 -28
- package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +9 -2
- package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +9 -2
- package/lib/components/autocomplete/index.js +14 -9
- package/lib/components/autocomplete/index.mjs +23 -23
- package/lib/components/autocomplete/index.native.js +148 -146
- package/lib/components/autocomplete/index.native.mjs +30 -30
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +91 -12
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +8 -8
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +2 -2
- package/lib/components/autocomplete/item/index.mjs +2 -2
- package/lib/components/autocomplete/item/index.native.js +91 -12
- package/lib/components/autocomplete/item/index.native.mjs +8 -8
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +2 -2
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +113 -33
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +24 -24
- package/lib/components/autocomplete/menu/index.mjs +2 -2
- package/lib/components/autocomplete/menu/index.native.js +113 -33
- package/lib/components/autocomplete/menu/index.native.mjs +24 -24
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.js +4 -0
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +3 -3
- package/lib/components/autolayout/AutoLayout/index.native.js +4 -0
- package/lib/components/autolayout/AutoLayout/index.native.mjs +3 -3
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.js +4 -0
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +4 -4
- package/lib/components/autolayout/helpers/AutoLayout.helpers.js +4 -0
- package/lib/components/autolayout/helpers/AutoLayout.helpers.mjs +3 -3
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.js +4 -0
- package/lib/components/autolayout/helpers/AutoLayout.helpers.native.mjs +2 -2
- package/lib/components/autolayout/index.native.js +4 -0
- package/lib/components/autolayout/index.native.mjs +4 -4
- package/lib/components/badge/Badge.js +7 -5
- package/lib/components/badge/Badge.mjs +10 -10
- package/lib/components/badge/Badge.native.js +106 -26
- package/lib/components/badge/Badge.native.mjs +22 -22
- package/lib/components/badge/index.js +7 -5
- package/lib/components/badge/index.mjs +10 -10
- package/lib/components/badge/index.native.js +106 -26
- package/lib/components/badge/index.native.mjs +22 -22
- package/lib/components/box/Box.js +2 -1
- package/lib/components/box/Box.mjs +6 -6
- package/lib/components/box/Box.native.js +3 -2
- package/lib/components/box/Box.native.mjs +3 -3
- package/lib/components/box/BoxPropsDefaults.js +6 -2
- package/lib/components/box/content/BoxContent.js +2 -1
- package/lib/components/box/content/BoxContent.mjs +6 -6
- package/lib/components/box/content/BoxContent.native.js +2 -1
- package/lib/components/box/content/BoxContent.native.mjs +3 -3
- package/lib/components/box/content/BoxContentPropsDefaults.js +3 -1
- package/lib/components/box/content/index.js +2 -1
- package/lib/components/box/content/index.mjs +7 -7
- package/lib/components/box/content/index.native.js +2 -1
- package/lib/components/box/content/index.native.mjs +3 -3
- package/lib/components/box/footer/BoxFooter.js +2 -1
- package/lib/components/box/footer/BoxFooter.mjs +6 -6
- package/lib/components/box/footer/BoxFooter.native.js +103 -23
- package/lib/components/box/footer/BoxFooter.native.mjs +22 -22
- package/lib/components/box/footer/BoxFooterPropsDefaults.js +3 -1
- package/lib/components/box/footer/index.js +2 -1
- package/lib/components/box/footer/index.mjs +7 -7
- package/lib/components/box/footer/index.native.js +103 -23
- package/lib/components/box/footer/index.native.mjs +22 -22
- package/lib/components/box/header/BoxHeader.js +2 -1
- package/lib/components/box/header/BoxHeader.mjs +7 -7
- package/lib/components/box/header/BoxHeader.native.js +2 -1
- package/lib/components/box/header/BoxHeader.native.mjs +3 -3
- package/lib/components/box/header/BoxHeaderPropsDefaults.js +21 -3
- package/lib/components/box/header/index.js +2 -1
- package/lib/components/box/header/index.mjs +8 -8
- package/lib/components/box/header/index.native.js +2 -1
- package/lib/components/box/header/index.native.mjs +3 -3
- package/lib/components/box/index.js +2 -1
- package/lib/components/box/index.mjs +13 -13
- package/lib/components/box/index.native.js +133 -44
- package/lib/components/box/index.native.mjs +26 -24
- package/lib/components/box/item/BoxItem.mjs +3 -3
- package/lib/components/box/item/BoxItem.native.mjs +1 -1
- package/lib/components/box/item/index.mjs +3 -3
- package/lib/components/box/item/index.native.mjs +1 -1
- package/lib/components/box/table-container/BoxTableContainer.mjs +3 -3
- package/lib/components/box/table-container/BoxTableContainer.native.mjs +1 -1
- package/lib/components/box/table-container/index.mjs +3 -3
- package/lib/components/box/table-container/index.native.mjs +1 -1
- package/lib/components/breadcrumb/Breadcrumb.mjs +3 -3
- package/lib/components/breadcrumb/Breadcrumb.native.js +103 -23
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +7 -7
- package/lib/components/breadcrumb/index.js +7 -5
- package/lib/components/breadcrumb/index.mjs +9 -9
- package/lib/components/breadcrumb/index.native.js +111 -31
- package/lib/components/breadcrumb/index.native.mjs +11 -11
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +7 -5
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +9 -9
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +92 -13
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +8 -8
- package/lib/components/breadcrumb/item/index.js +7 -5
- package/lib/components/breadcrumb/item/index.mjs +9 -9
- package/lib/components/breadcrumb/item/index.native.js +92 -13
- package/lib/components/breadcrumb/item/index.native.mjs +8 -8
- package/lib/components/button/Button.js +7 -5
- package/lib/components/button/Button.mjs +8 -8
- package/lib/components/button/Button.native.js +126 -43
- package/lib/components/button/Button.native.mjs +23 -23
- package/lib/components/button/index.js +12 -9
- package/lib/components/button/index.mjs +9 -9
- package/lib/components/button/index.native.js +128 -45
- package/lib/components/button/index.native.mjs +23 -23
- package/lib/components/button/list/ButtonList.js +5 -4
- package/lib/components/button/list/ButtonList.mjs +5 -5
- package/lib/components/button/list/ButtonList.native.mjs +1 -1
- package/lib/components/button/list/ButtonListProps.d.mts +2 -2
- package/lib/components/button/list/ButtonListProps.d.ts +2 -2
- package/lib/components/button/list/ButtonListWebPropsDefaults.js +9 -1
- package/lib/components/button/list/index.js +5 -4
- package/lib/components/button/list/index.mjs +5 -5
- package/lib/components/button/list/index.native.mjs +1 -1
- package/lib/components/calendar/Calendar.js +8 -6
- package/lib/components/calendar/Calendar.mjs +28 -28
- package/lib/components/calendar/Calendar.native.js +141 -61
- package/lib/components/calendar/Calendar.native.mjs +10 -10
- package/lib/components/calendar/index.js +8 -6
- package/lib/components/calendar/index.mjs +28 -28
- package/lib/components/calendar/index.native.js +141 -61
- package/lib/components/calendar/index.native.mjs +10 -10
- package/lib/components/card/Card.mjs +3 -3
- package/lib/components/card/Card.native.js +7 -16
- package/lib/components/card/Card.native.mjs +3 -3
- package/lib/components/card/content/CardContent.mjs +3 -3
- package/lib/components/card/content/CardContent.native.js +7 -16
- package/lib/components/card/content/CardContent.native.mjs +4 -4
- package/lib/components/card/content/index.mjs +3 -3
- package/lib/components/card/content/index.native.js +7 -16
- package/lib/components/card/content/index.native.mjs +4 -4
- package/lib/components/card/image/CardImage.mjs +3 -3
- package/lib/components/card/image/CardImage.native.js +7 -16
- package/lib/components/card/image/CardImage.native.mjs +4 -4
- package/lib/components/card/image/index.mjs +3 -3
- package/lib/components/card/image/index.native.js +7 -16
- package/lib/components/card/image/index.native.mjs +4 -4
- package/lib/components/card/index.mjs +3 -3
- package/lib/components/card/index.native.js +7 -16
- package/lib/components/card/index.native.mjs +5 -5
- package/lib/components/checkbox/Checkbox.mjs +3 -3
- package/lib/components/checkbox/Checkbox.native.js +107 -27
- package/lib/components/checkbox/Checkbox.native.mjs +10 -10
- package/lib/components/checkbox/index.js +12 -9
- package/lib/components/checkbox/index.mjs +23 -23
- package/lib/components/checkbox/index.native.js +144 -57
- package/lib/components/checkbox/index.native.mjs +31 -31
- package/lib/components/checkbox/list/CheckboxList.js +12 -9
- package/lib/components/checkbox/list/CheckboxList.mjs +20 -20
- package/lib/components/checkbox/list/CheckboxList.native.js +94 -11
- package/lib/components/checkbox/list/CheckboxList.native.mjs +11 -11
- package/lib/components/checkbox/list/CheckboxListProps.d.mts +2 -2
- package/lib/components/checkbox/list/CheckboxListProps.d.ts +2 -2
- package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +9 -1
- package/lib/components/checkbox/list/index.js +12 -9
- package/lib/components/checkbox/list/index.mjs +20 -20
- package/lib/components/checkbox/list/index.native.js +94 -11
- package/lib/components/checkbox/list/index.native.mjs +11 -11
- package/lib/components/checkbox/tiles/CheckboxTiles.mjs +5 -5
- package/lib/components/checkbox/tiles/CheckboxTiles.native.js +5 -4
- package/lib/components/checkbox/tiles/CheckboxTiles.native.mjs +3 -3
- package/lib/components/checkbox/tiles/CheckboxTilesPropsDefaults.js +18 -2
- package/lib/components/checkbox/tiles/index.mjs +5 -5
- package/lib/components/checkbox/tiles/index.native.js +5 -4
- package/lib/components/checkbox/tiles/index.native.mjs +3 -3
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +7 -5
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +21 -21
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +129 -46
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +25 -25
- package/lib/components/checkbox/tiles/tile/index.js +7 -5
- package/lib/components/checkbox/tiles/tile/index.mjs +21 -21
- package/lib/components/checkbox/tiles/tile/index.native.js +129 -46
- package/lib/components/checkbox/tiles/tile/index.native.mjs +25 -25
- package/lib/components/chips/Chips.mjs +3 -3
- package/lib/components/chips/Chips.native.js +114 -34
- package/lib/components/chips/Chips.native.mjs +10 -10
- package/lib/components/chips/index.mjs +3 -3
- package/lib/components/chips/index.native.js +114 -34
- package/lib/components/chips/index.native.mjs +10 -10
- package/lib/components/chips/list/ChipsList.mjs +3 -3
- package/lib/components/chips/list/ChipsList.native.mjs +1 -1
- package/lib/components/chips/list/index.mjs +3 -3
- package/lib/components/chips/list/index.native.mjs +1 -1
- package/lib/components/columns/Columns.js +5 -4
- package/lib/components/columns/Columns.mjs +6 -6
- package/lib/components/columns/Columns.native.js +5 -4
- package/lib/components/columns/Columns.native.mjs +3 -3
- package/lib/components/columns/ColumnsPropsDefaults.js +18 -2
- package/lib/components/columns/column/Column.mjs +5 -5
- package/lib/components/columns/column/Column.native.js +102 -22
- package/lib/components/columns/column/Column.native.mjs +22 -22
- package/lib/components/columns/column/ColumnPropsDefaults.js +18 -2
- package/lib/components/columns/column/index.mjs +6 -6
- package/lib/components/columns/column/index.native.js +102 -22
- package/lib/components/columns/column/index.native.mjs +22 -22
- package/lib/components/columns/index.js +5 -4
- package/lib/components/columns/index.mjs +8 -8
- package/lib/components/columns/index.native.js +102 -22
- package/lib/components/columns/index.native.mjs +23 -23
- package/lib/components/container/Container.mjs +3 -3
- package/lib/components/container/Container.native.mjs +1 -1
- package/lib/components/container/index.mjs +3 -3
- package/lib/components/container/index.native.mjs +1 -1
- package/lib/components/countdown/Countdown.mjs +3 -3
- package/lib/components/countdown/Countdown.native.js +91 -12
- package/lib/components/countdown/Countdown.native.mjs +8 -8
- package/lib/components/countdown/index.mjs +3 -3
- package/lib/components/countdown/index.native.js +91 -12
- package/lib/components/countdown/index.native.mjs +8 -8
- package/lib/components/datepicker/DatePicker.js +13 -10
- package/lib/components/datepicker/DatePicker.mjs +33 -33
- package/lib/components/datepicker/DatePicker.native.js +149 -69
- package/lib/components/datepicker/DatePicker.native.mjs +11 -11
- package/lib/components/datepicker/index.js +13 -10
- package/lib/components/datepicker/index.mjs +33 -33
- package/lib/components/datepicker/index.native.js +149 -69
- package/lib/components/datepicker/index.native.mjs +11 -11
- package/lib/components/divider/Divider.js +7 -5
- package/lib/components/divider/Divider.mjs +8 -8
- package/lib/components/divider/Divider.native.js +111 -31
- package/lib/components/divider/Divider.native.mjs +10 -10
- package/lib/components/divider/index.js +7 -5
- package/lib/components/divider/index.mjs +8 -8
- package/lib/components/divider/index.native.js +111 -31
- package/lib/components/divider/index.native.mjs +10 -10
- package/lib/components/dropdown/Dropdown.d.mts +13 -0
- package/lib/components/dropdown/Dropdown.d.ts +13 -0
- package/lib/components/dropdown/Dropdown.js +312 -0
- package/lib/components/dropdown/Dropdown.mjs +20 -0
- package/lib/components/dropdown/Dropdown.native.d.mts +4 -0
- package/lib/components/dropdown/Dropdown.native.d.ts +4 -0
- package/lib/components/dropdown/Dropdown.native.js +42 -0
- package/lib/components/dropdown/Dropdown.native.mjs +9 -0
- package/lib/components/dropdown/DropdownProps.d.mts +15 -0
- package/lib/components/dropdown/DropdownProps.d.ts +15 -0
- package/lib/components/dropdown/DropdownProps.js +19 -0
- package/lib/components/dropdown/DropdownProps.mjs +2 -0
- package/lib/components/dropdown/DropdownPropsDefaults.js +53 -0
- package/lib/components/dropdown/context/DropdownContext.d.mts +15 -0
- package/lib/components/dropdown/context/DropdownContext.d.ts +15 -0
- package/lib/components/dropdown/context/DropdownContext.js +78 -0
- package/lib/components/dropdown/context/DropdownContext.mjs +10 -0
- package/lib/components/dropdown/context/index.d.mts +1 -0
- package/lib/components/dropdown/context/index.d.ts +1 -0
- package/lib/components/dropdown/context/index.js +80 -0
- package/lib/components/dropdown/context/index.mjs +11 -0
- package/lib/components/dropdown/group/DropdownGroup.d.mts +12 -0
- package/lib/components/dropdown/group/DropdownGroup.d.ts +12 -0
- package/lib/components/dropdown/group/DropdownGroup.js +107 -0
- package/lib/components/dropdown/group/DropdownGroup.mjs +17 -0
- package/lib/components/dropdown/group/DropdownGroup.native.d.mts +4 -0
- package/lib/components/dropdown/group/DropdownGroup.native.d.ts +4 -0
- package/lib/components/dropdown/group/DropdownGroup.native.js +42 -0
- package/lib/components/dropdown/group/DropdownGroup.native.mjs +9 -0
- package/lib/components/dropdown/group/DropdownGroupProps.d.mts +14 -0
- package/lib/components/dropdown/group/DropdownGroupProps.d.ts +14 -0
- package/lib/components/dropdown/group/DropdownGroupProps.js +19 -0
- package/lib/components/dropdown/group/DropdownGroupProps.mjs +2 -0
- package/lib/components/dropdown/group/DropdownGroupPropsDefaults.js +52 -0
- package/lib/components/dropdown/group/index.d.mts +3 -0
- package/lib/components/dropdown/group/index.d.ts +3 -0
- package/lib/components/dropdown/group/index.js +111 -0
- package/lib/components/dropdown/group/index.mjs +18 -0
- package/lib/components/dropdown/group/index.native.d.mts +3 -0
- package/lib/components/dropdown/group/index.native.d.ts +3 -0
- package/lib/components/dropdown/group/index.native.js +48 -0
- package/lib/components/dropdown/group/index.native.mjs +10 -0
- package/lib/components/dropdown/index.d.mts +9 -0
- package/lib/components/dropdown/index.d.ts +9 -0
- package/lib/components/dropdown/index.js +501 -0
- package/lib/components/dropdown/index.mjs +48 -0
- package/lib/components/dropdown/index.native.d.mts +9 -0
- package/lib/components/dropdown/index.native.d.ts +9 -0
- package/lib/components/dropdown/index.native.js +78 -0
- package/lib/components/dropdown/index.native.mjs +26 -0
- package/lib/components/dropdown/item/DropdownItem.d.mts +12 -0
- package/lib/components/dropdown/item/DropdownItem.d.ts +12 -0
- package/lib/components/dropdown/item/DropdownItem.js +260 -0
- package/lib/components/dropdown/item/DropdownItem.mjs +29 -0
- package/lib/components/dropdown/item/DropdownItem.native.d.mts +4 -0
- package/lib/components/dropdown/item/DropdownItem.native.d.ts +4 -0
- package/lib/components/dropdown/item/DropdownItem.native.js +42 -0
- package/lib/components/dropdown/item/DropdownItem.native.mjs +9 -0
- package/lib/components/dropdown/item/DropdownItemProps.d.mts +15 -0
- package/lib/components/dropdown/item/DropdownItemProps.d.ts +15 -0
- package/lib/components/dropdown/item/DropdownItemProps.js +19 -0
- package/lib/components/dropdown/item/DropdownItemProps.mjs +2 -0
- package/lib/components/dropdown/item/DropdownItemPropsDefaults.js +93 -0
- package/lib/components/dropdown/item/index.d.mts +3 -0
- package/lib/components/dropdown/item/index.d.ts +3 -0
- package/lib/components/dropdown/item/index.js +264 -0
- package/lib/components/dropdown/item/index.mjs +30 -0
- package/lib/components/dropdown/item/index.native.d.mts +3 -0
- package/lib/components/dropdown/item/index.native.d.ts +3 -0
- package/lib/components/dropdown/item/index.native.js +48 -0
- package/lib/components/dropdown/item/index.native.mjs +10 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.d.mts +13 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.js +170 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.mjs +18 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.d.mts +4 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.d.ts +4 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.js +42 -0
- package/lib/components/dropdown/trigger/DropdownTrigger.native.mjs +9 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.d.mts +13 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.d.ts +13 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.js +19 -0
- package/lib/components/dropdown/trigger/DropdownTriggerProps.mjs +2 -0
- package/lib/components/dropdown/trigger/DropdownTriggerPropsDefaults.js +44 -0
- package/lib/components/dropdown/trigger/index.d.mts +3 -0
- package/lib/components/dropdown/trigger/index.d.ts +3 -0
- package/lib/components/dropdown/trigger/index.js +176 -0
- package/lib/components/dropdown/trigger/index.mjs +19 -0
- package/lib/components/dropdown/trigger/index.native.d.mts +3 -0
- package/lib/components/dropdown/trigger/index.native.d.ts +3 -0
- package/lib/components/dropdown/trigger/index.native.js +48 -0
- package/lib/components/dropdown/trigger/index.native.mjs +10 -0
- package/lib/components/enumsComponentsName.d.mts +4 -0
- package/lib/components/enumsComponentsName.d.ts +4 -0
- package/lib/components/enumsComponentsName.js +4 -0
- package/lib/components/enumsComponentsName.mjs +1 -1
- package/lib/components/fab/Fab.js +7 -5
- package/lib/components/fab/Fab.mjs +8 -8
- package/lib/components/fab/Fab.native.js +107 -27
- package/lib/components/fab/Fab.native.mjs +23 -23
- package/lib/components/fab/index.js +7 -5
- package/lib/components/fab/index.mjs +8 -8
- package/lib/components/fab/index.native.js +107 -27
- package/lib/components/fab/index.native.mjs +23 -23
- package/lib/components/flex-box/FlexBox.js +21 -27
- package/lib/components/flex-box/FlexBox.mjs +5 -6
- package/lib/components/flex-box/FlexBox.native.js +119 -34
- package/lib/components/flex-box/FlexBox.native.mjs +24 -24
- package/lib/components/flex-box/FlexBoxPropsDefaults.js +2 -2
- package/lib/components/flex-box/flex-item/FlexItem.mjs +5 -5
- package/lib/components/flex-box/flex-item/FlexItem.native.js +5 -4
- package/lib/components/flex-box/flex-item/FlexItem.native.mjs +3 -3
- package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +18 -2
- package/lib/components/flex-box/index.js +21 -27
- package/lib/components/flex-box/index.mjs +6 -7
- package/lib/components/flex-box/index.native.js +121 -36
- package/lib/components/flex-box/index.native.mjs +25 -25
- package/lib/components/hero/Hero.js +2 -1
- package/lib/components/hero/Hero.mjs +6 -6
- package/lib/components/hero/Hero.native.js +151 -62
- package/lib/components/hero/Hero.native.mjs +27 -25
- package/lib/components/hero/HeroPropsDefaults.js +3 -1
- package/lib/components/hero/index.js +2 -1
- package/lib/components/hero/index.mjs +6 -6
- package/lib/components/hero/index.native.js +151 -62
- package/lib/components/hero/index.native.mjs +27 -25
- package/lib/components/icon/Icon.js +7 -5
- package/lib/components/icon/Icon.mjs +7 -7
- package/lib/components/icon/Icon.native.js +100 -20
- package/lib/components/icon/Icon.native.mjs +6 -6
- package/lib/components/icon/index.js +7 -5
- package/lib/components/icon/index.mjs +7 -7
- package/lib/components/icon/index.native.js +100 -20
- package/lib/components/icon/index.native.mjs +6 -6
- package/lib/components/image/Image.js +12 -9
- package/lib/components/image/Image.mjs +20 -20
- package/lib/components/image/Image.native.js +1 -1
- package/lib/components/image/Image.native.mjs +2 -2
- package/lib/components/image/ImagePropsDefaults.js +18 -2
- package/lib/components/image/index.js +12 -9
- package/lib/components/image/index.mjs +20 -20
- package/lib/components/image/index.native.js +1 -1
- package/lib/components/image/index.native.mjs +2 -2
- package/lib/components/index.d.mts +1 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.js +875 -560
- package/lib/components/index.mjs +185 -162
- package/lib/components/index.native.d.mts +1 -0
- package/lib/components/index.native.d.ts +1 -0
- package/lib/components/index.native.js +1310 -1305
- package/lib/components/index.native.mjs +190 -167
- package/lib/components/input/Input.js +8 -6
- package/lib/components/input/Input.mjs +22 -22
- package/lib/components/input/Input.native.js +135 -133
- package/lib/components/input/Input.native.mjs +25 -25
- package/lib/components/input/InputProps.d.mts +2 -2
- package/lib/components/input/InputProps.d.ts +2 -2
- package/lib/components/input/InputPropsDefaults.js +9 -2
- package/lib/components/input/gauge/InputGauge.js +7 -5
- package/lib/components/input/gauge/InputGauge.mjs +21 -21
- package/lib/components/input/gauge/InputGauge.native.js +108 -28
- package/lib/components/input/gauge/InputGauge.native.mjs +24 -24
- package/lib/components/input/gauge/hook/useGauge.js +7 -5
- package/lib/components/input/gauge/hook/useGauge.mjs +20 -20
- package/lib/components/input/gauge/hook/useGauge.native.js +100 -20
- package/lib/components/input/gauge/hook/useGauge.native.mjs +22 -22
- package/lib/components/input/index.js +8 -6
- package/lib/components/input/index.mjs +22 -22
- package/lib/components/input/index.native.js +135 -133
- package/lib/components/input/index.native.mjs +25 -25
- package/lib/components/link/Link.js +7 -5
- package/lib/components/link/Link.mjs +8 -8
- package/lib/components/link/Link.native.js +107 -27
- package/lib/components/link/Link.native.mjs +7 -7
- package/lib/components/link/index.js +7 -5
- package/lib/components/link/index.mjs +8 -8
- package/lib/components/link/index.native.js +107 -27
- package/lib/components/link/index.native.mjs +7 -7
- package/lib/components/list/List.mjs +3 -3
- package/lib/components/list/List.native.mjs +2 -2
- package/lib/components/list/context/index.mjs +1 -1
- package/lib/components/list/index.js +8 -5
- package/lib/components/list/index.mjs +20 -20
- package/lib/components/list/index.native.js +108 -28
- package/lib/components/list/index.native.mjs +25 -25
- package/lib/components/list/item/ListItem.js +8 -5
- package/lib/components/list/item/ListItem.mjs +20 -20
- package/lib/components/list/item/ListItem.native.js +108 -28
- package/lib/components/list/item/ListItem.native.mjs +24 -24
- package/lib/components/list/item/description/ListItemDescription.mjs +3 -3
- package/lib/components/list/item/description/ListItemDescription.native.js +124 -41
- package/lib/components/list/item/description/ListItemDescription.native.mjs +24 -24
- package/lib/components/list/item/description/index.mjs +3 -3
- package/lib/components/list/item/description/index.native.js +124 -41
- package/lib/components/list/item/description/index.native.mjs +24 -24
- package/lib/components/list/item/index.js +8 -5
- package/lib/components/list/item/index.mjs +20 -20
- package/lib/components/list/item/index.native.js +108 -28
- package/lib/components/list/item/index.native.mjs +25 -25
- package/lib/components/modal/Modal.js +12 -9
- package/lib/components/modal/Modal.mjs +10 -10
- package/lib/components/modal/Modal.native.js +183 -121
- package/lib/components/modal/Modal.native.mjs +26 -26
- package/lib/components/modal/body/ModalBody.mjs +3 -3
- package/lib/components/modal/body/ModalBody.native.js +103 -23
- package/lib/components/modal/body/ModalBody.native.mjs +22 -22
- package/lib/components/modal/body/index.native.js +103 -23
- package/lib/components/modal/body/index.native.mjs +22 -22
- package/lib/components/modal/footer/ModalFooter.mjs +3 -3
- package/lib/components/modal/footer/ModalFooter.native.js +174 -112
- package/lib/components/modal/footer/ModalFooter.native.mjs +24 -24
- package/lib/components/modal/footer/index.native.js +174 -112
- package/lib/components/modal/footer/index.native.mjs +24 -24
- package/lib/components/modal/index.js +12 -9
- package/lib/components/modal/index.mjs +13 -13
- package/lib/components/modal/index.native.js +189 -127
- package/lib/components/modal/index.native.mjs +28 -28
- package/lib/components/otp/Otp.mjs +5 -5
- package/lib/components/otp/Otp.native.js +182 -120
- package/lib/components/otp/Otp.native.mjs +25 -25
- package/lib/components/otp/index.mjs +5 -5
- package/lib/components/otp/index.native.js +182 -120
- package/lib/components/otp/index.native.mjs +25 -25
- package/lib/components/pagination/Pagination.js +92 -90
- package/lib/components/pagination/Pagination.mjs +8 -8
- package/lib/components/pagination/Pagination.native.d.mts +2 -2
- package/lib/components/pagination/Pagination.native.d.ts +2 -2
- package/lib/components/pagination/Pagination.native.js +217 -135
- package/lib/components/pagination/Pagination.native.mjs +10 -10
- package/lib/components/pagination/PaginationNativePropsDefaults.js +9 -0
- package/lib/components/pagination/PaginationProps.d.mts +5 -1
- package/lib/components/pagination/PaginationProps.d.ts +5 -1
- package/lib/components/pagination/PaginationPropsDefaults.js +1 -1
- package/lib/components/pagination/index.js +92 -90
- package/lib/components/pagination/index.mjs +9 -9
- package/lib/components/pagination/index.native.js +217 -135
- package/lib/components/pagination/index.native.mjs +11 -11
- package/lib/components/popover/Popover.mjs +3 -3
- package/lib/components/popover/Popover.native.js +107 -27
- package/lib/components/popover/Popover.native.mjs +22 -22
- package/lib/components/popover/index.mjs +3 -3
- package/lib/components/popover/index.native.js +107 -27
- package/lib/components/popover/index.native.mjs +22 -22
- package/lib/components/price/Price.js +17 -91
- package/lib/components/price/Price.mjs +20 -24
- package/lib/components/price/Price.native.js +107 -27
- package/lib/components/price/Price.native.mjs +22 -22
- package/lib/components/price/PricePropsDefaults.js +18 -2
- package/lib/components/price/index.js +17 -91
- package/lib/components/price/index.mjs +21 -25
- package/lib/components/price/index.native.js +107 -27
- package/lib/components/price/index.native.mjs +23 -23
- package/lib/components/product-tour/ProductTour.js +7 -5
- package/lib/components/product-tour/ProductTour.mjs +8 -8
- package/lib/components/product-tour/ProductTour.native.mjs +1 -1
- package/lib/components/product-tour/index.js +7 -5
- package/lib/components/product-tour/index.mjs +8 -8
- package/lib/components/product-tour/index.native.mjs +1 -1
- package/lib/components/progress/Progress.js +7 -5
- package/lib/components/progress/Progress.mjs +20 -20
- package/lib/components/progress/Progress.native.js +129 -46
- package/lib/components/progress/Progress.native.mjs +24 -24
- package/lib/components/progress/index.js +7 -5
- package/lib/components/progress/index.mjs +25 -25
- package/lib/components/progress/index.native.js +167 -77
- package/lib/components/progress/index.native.mjs +30 -28
- package/lib/components/progress/item/ProgressItem.js +7 -5
- package/lib/components/progress/item/ProgressItem.mjs +20 -20
- package/lib/components/progress/item/ProgressItem.native.mjs +1 -1
- package/lib/components/progress/item/index.js +7 -5
- package/lib/components/progress/item/index.mjs +21 -21
- package/lib/components/progress/item/index.native.mjs +1 -1
- package/lib/components/progress/radial/ProgressRadial.js +2 -1
- package/lib/components/progress/radial/ProgressRadial.mjs +6 -6
- package/lib/components/progress/radial/ProgressRadial.native.js +140 -53
- package/lib/components/progress/radial/ProgressRadial.native.mjs +24 -22
- package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +24 -4
- package/lib/components/progress/radial/index.js +2 -1
- package/lib/components/progress/radial/index.mjs +7 -7
- package/lib/components/progress/radial/index.native.js +140 -53
- package/lib/components/progress/radial/index.native.mjs +24 -22
- package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +1 -0
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +2 -2
- package/lib/components/progress/radial/item/index.mjs +2 -2
- package/lib/components/radio/EventHandlerDefaults.js +21 -0
- package/lib/components/radio/Radio.js +31 -39
- package/lib/components/radio/Radio.mjs +4 -4
- package/lib/components/radio/Radio.native.d.mts +2 -2
- package/lib/components/radio/Radio.native.d.ts +2 -2
- package/lib/components/radio/Radio.native.js +151 -76
- package/lib/components/radio/Radio.native.mjs +23 -23
- package/lib/components/radio/RadioNativePropsDefaults.js +9 -0
- package/lib/components/radio/RadioProps.d.mts +9 -2
- package/lib/components/radio/RadioProps.d.ts +9 -2
- package/lib/components/radio/index.js +91 -92
- package/lib/components/radio/index.mjs +25 -25
- package/lib/components/radio/index.native.js +166 -87
- package/lib/components/radio/index.native.mjs +33 -33
- package/lib/components/radio/list/RadioList.js +12 -9
- package/lib/components/radio/list/RadioList.mjs +20 -20
- package/lib/components/radio/list/RadioList.native.js +4 -0
- package/lib/components/radio/list/RadioList.native.mjs +9 -9
- package/lib/components/radio/list/RadioListProps.d.mts +2 -2
- package/lib/components/radio/list/RadioListProps.d.ts +2 -2
- package/lib/components/radio/list/RadioListWebPropsDefaults.js +9 -1
- package/lib/components/radio/list/index.js +12 -9
- package/lib/components/radio/list/index.mjs +20 -20
- package/lib/components/radio/list/index.native.js +4 -0
- package/lib/components/radio/list/index.native.mjs +9 -9
- package/lib/components/radio/tiles/RadioTiles.js +7 -5
- package/lib/components/radio/tiles/RadioTiles.mjs +20 -20
- package/lib/components/radio/tiles/RadioTiles.native.mjs +2 -2
- package/lib/components/radio/tiles/RadioTilesPropsDefaults.js +18 -2
- package/lib/components/radio/tiles/index.js +7 -5
- package/lib/components/radio/tiles/index.mjs +20 -20
- package/lib/components/radio/tiles/index.native.mjs +2 -2
- package/lib/components/radio/tiles/tile/RadioTile.js +55 -49
- package/lib/components/radio/tiles/tile/RadioTile.mjs +21 -21
- package/lib/components/radio/tiles/tile/RadioTile.native.d.mts +2 -2
- package/lib/components/radio/tiles/tile/RadioTile.native.d.ts +2 -2
- package/lib/components/radio/tiles/tile/RadioTile.native.js +115 -35
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +24 -24
- package/lib/components/radio/tiles/tile/RadioTileNativePropsDefaults.js +104 -0
- package/lib/components/radio/tiles/tile/RadioTileProps.d.mts +7 -2
- package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +7 -2
- package/lib/components/radio/tiles/tile/RadioTilePropsCommonDefaults.js +97 -0
- package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +81 -81
- package/lib/components/radio/tiles/tile/index.js +55 -49
- package/lib/components/radio/tiles/tile/index.mjs +21 -21
- package/lib/components/radio/tiles/tile/index.native.js +115 -35
- package/lib/components/radio/tiles/tile/index.native.mjs +24 -24
- package/lib/components/range/Range.js +7 -5
- package/lib/components/range/Range.mjs +20 -20
- package/lib/components/range/Range.native.js +110 -30
- package/lib/components/range/Range.native.mjs +23 -23
- package/lib/components/range/index.js +7 -5
- package/lib/components/range/index.mjs +20 -20
- package/lib/components/range/index.native.js +110 -30
- package/lib/components/range/index.native.mjs +23 -23
- package/lib/components/rows/Rows.mjs +3 -3
- package/lib/components/rows/Rows.native.mjs +1 -1
- package/lib/components/rows/index.mjs +3 -3
- package/lib/components/rows/index.native.mjs +1 -1
- package/lib/components/rows/row/Row.mjs +3 -3
- package/lib/components/rows/row/Row.native.mjs +1 -1
- package/lib/components/rows/row/index.mjs +3 -3
- package/lib/components/rows/row/index.native.mjs +1 -1
- package/lib/components/scroll-view/ScrollView.js +7 -5
- package/lib/components/scroll-view/ScrollView.mjs +19 -19
- package/lib/components/scroll-view/ScrollView.native.js +109 -29
- package/lib/components/scroll-view/ScrollView.native.mjs +22 -22
- package/lib/components/scroll-view/ScrollViewPropsDefaults.js +3 -1
- package/lib/components/scroll-view/index.js +7 -5
- package/lib/components/scroll-view/index.mjs +19 -19
- package/lib/components/scroll-view/index.native.js +109 -29
- package/lib/components/scroll-view/index.native.mjs +22 -22
- package/lib/components/section/Section.js +7 -5
- package/lib/components/section/Section.mjs +20 -20
- package/lib/components/section/Section.native.js +105 -25
- package/lib/components/section/Section.native.mjs +22 -22
- package/lib/components/section/SectionPropsDefaults.js +3 -1
- package/lib/components/section/index.js +7 -5
- package/lib/components/section/index.mjs +20 -20
- package/lib/components/section/index.native.js +105 -25
- package/lib/components/section/index.native.mjs +22 -22
- package/lib/components/segment-control/SegmentControl.js +12 -9
- package/lib/components/segment-control/SegmentControl.mjs +20 -20
- package/lib/components/segment-control/SegmentControl.native.js +126 -43
- package/lib/components/segment-control/SegmentControl.native.mjs +26 -26
- package/lib/components/segment-control/SegmentControlProps.d.mts +2 -2
- package/lib/components/segment-control/SegmentControlProps.d.ts +2 -2
- package/lib/components/segment-control/SegmentControlPropsDefaults.js +9 -1
- package/lib/components/segment-control/index.js +12 -9
- package/lib/components/segment-control/index.mjs +21 -21
- package/lib/components/segment-control/index.native.js +130 -47
- package/lib/components/segment-control/index.native.mjs +28 -28
- package/lib/components/segment-control/item/SegmentControlItem.mjs +3 -3
- package/lib/components/segment-control/item/SegmentControlItem.native.js +2 -1
- package/lib/components/segment-control/item/SegmentControlItem.native.mjs +3 -3
- package/lib/components/segment-control/item/index.mjs +3 -3
- package/lib/components/segment-control/item/index.native.js +2 -1
- package/lib/components/segment-control/item/index.native.mjs +3 -3
- package/lib/components/select/Select.js +8 -6
- package/lib/components/select/Select.mjs +27 -27
- package/lib/components/select/Select.native.js +230 -246
- package/lib/components/select/Select.native.mjs +35 -35
- package/lib/components/select/index.js +8 -6
- package/lib/components/select/index.mjs +27 -27
- package/lib/components/select/index.native.js +230 -246
- package/lib/components/select/index.native.mjs +36 -36
- package/lib/components/select/option/SelectOption.js +7 -5
- package/lib/components/select/option/SelectOption.mjs +8 -8
- package/lib/components/select/option/SelectOption.native.js +109 -29
- package/lib/components/select/option/SelectOption.native.mjs +25 -25
- package/lib/components/select/option/index.js +7 -5
- package/lib/components/select/option/index.mjs +9 -9
- package/lib/components/select/option/index.native.js +109 -29
- package/lib/components/select/option/index.native.mjs +26 -26
- package/lib/components/select/web/SelectDynamic.js +8 -6
- package/lib/components/select/web/SelectDynamic.mjs +23 -23
- package/lib/components/select/web/SelectNative.js +8 -6
- package/lib/components/select/web/SelectNative.mjs +27 -27
- package/lib/components/select/web/index.js +8 -6
- package/lib/components/select/web/index.mjs +27 -27
- package/lib/components/skeleton/index.native.mjs +1 -0
- package/lib/components/spacer/Spacer.mjs +3 -3
- package/lib/components/spacer/Spacer.native.mjs +1 -1
- package/lib/components/spacer/index.mjs +3 -3
- package/lib/components/spacer/index.native.mjs +1 -1
- package/lib/components/stepper/Stepper.mjs +3 -3
- package/lib/components/stepper/Stepper.native.js +107 -27
- package/lib/components/stepper/Stepper.native.mjs +23 -23
- package/lib/components/stepper/index.js +7 -5
- package/lib/components/stepper/index.mjs +9 -9
- package/lib/components/stepper/index.native.js +113 -33
- package/lib/components/stepper/index.native.mjs +24 -24
- package/lib/components/stepper/step/Step.js +7 -5
- package/lib/components/stepper/step/Step.mjs +8 -8
- package/lib/components/stepper/step/Step.native.js +106 -26
- package/lib/components/stepper/step/Step.native.mjs +22 -22
- package/lib/components/stepper/step/index.js +7 -5
- package/lib/components/stepper/step/index.mjs +9 -9
- package/lib/components/stepper/step/index.native.js +106 -26
- package/lib/components/stepper/step/index.native.mjs +22 -22
- package/lib/components/sticker/Sticker.js +7 -5
- package/lib/components/sticker/Sticker.mjs +20 -20
- package/lib/components/sticker/Sticker.native.js +107 -27
- package/lib/components/sticker/Sticker.native.mjs +23 -23
- package/lib/components/sticker/index.js +7 -5
- package/lib/components/sticker/index.mjs +20 -20
- package/lib/components/sticker/index.native.js +107 -27
- package/lib/components/sticker/index.native.mjs +23 -23
- package/lib/components/switch/Switch.js +7 -5
- package/lib/components/switch/Switch.mjs +20 -20
- package/lib/components/switch/Switch.native.js +103 -23
- package/lib/components/switch/Switch.native.mjs +22 -22
- package/lib/components/switch/index.js +7 -5
- package/lib/components/switch/index.mjs +20 -20
- package/lib/components/switch/index.native.js +103 -23
- package/lib/components/switch/index.native.mjs +22 -22
- package/lib/components/table/Table.mjs +3 -3
- package/lib/components/table/Table.native.js +104 -24
- package/lib/components/table/Table.native.mjs +22 -22
- package/lib/components/table/body/TableBody.js +2 -1
- package/lib/components/table/body/TableBody.mjs +6 -6
- package/lib/components/table/body/TableBody.native.mjs +1 -1
- package/lib/components/table/body/TableBodyPropsDefaults.js +6 -2
- package/lib/components/table/body/index.js +2 -1
- package/lib/components/table/body/index.mjs +7 -7
- package/lib/components/table/body/index.native.mjs +1 -1
- package/lib/components/table/head/TableHead.js +2 -1
- package/lib/components/table/head/TableHead.mjs +6 -6
- package/lib/components/table/head/TableHead.native.mjs +1 -1
- package/lib/components/table/head/TableHeadPropsDefaults.js +6 -2
- package/lib/components/table/head/index.js +2 -1
- package/lib/components/table/head/index.mjs +7 -7
- package/lib/components/table/head/index.native.mjs +1 -1
- package/lib/components/table/index.js +2 -1
- package/lib/components/table/index.mjs +15 -15
- package/lib/components/table/index.native.js +143 -60
- package/lib/components/table/index.native.mjs +30 -30
- package/lib/components/table/td/TableTd.mjs +3 -3
- package/lib/components/table/td/TableTd.native.js +105 -25
- package/lib/components/table/td/TableTd.native.mjs +22 -22
- package/lib/components/table/td/index.mjs +3 -3
- package/lib/components/table/td/index.native.js +105 -25
- package/lib/components/table/td/index.native.mjs +22 -22
- package/lib/components/table/th/TableTh.mjs +3 -3
- package/lib/components/table/th/TableTh.native.js +127 -44
- package/lib/components/table/th/TableTh.native.mjs +24 -24
- package/lib/components/table/th/index.mjs +3 -3
- package/lib/components/table/th/index.native.js +127 -44
- package/lib/components/table/th/index.native.mjs +24 -24
- package/lib/components/table/tr/TableTr.js +2 -1
- package/lib/components/table/tr/TableTr.mjs +5 -5
- package/lib/components/table/tr/TableTr.native.js +125 -42
- package/lib/components/table/tr/TableTr.native.mjs +24 -24
- package/lib/components/table/tr/TableTrPropsWebDefaults.js +3 -1
- package/lib/components/table/tr/index.js +2 -1
- package/lib/components/table/tr/index.mjs +6 -6
- package/lib/components/table/tr/index.native.js +125 -42
- package/lib/components/table/tr/index.native.mjs +24 -24
- package/lib/components/tabs/Tabs.mjs +3 -3
- package/lib/components/tabs/Tabs.native.mjs +1 -1
- package/lib/components/tabs/TabsPropsDefaults.js +18 -2
- package/lib/components/tabs/index.js +7 -5
- package/lib/components/tabs/index.mjs +10 -10
- package/lib/components/tabs/index.native.js +122 -42
- package/lib/components/tabs/index.native.mjs +29 -29
- package/lib/components/tabs/tab-list/TabList.js +7 -5
- package/lib/components/tabs/tab-list/TabList.mjs +10 -10
- package/lib/components/tabs/tab-list/TabList.native.js +113 -33
- package/lib/components/tabs/tab-list/TabList.native.mjs +24 -24
- package/lib/components/tabs/tab-list/TabListProps.d.mts +2 -2
- package/lib/components/tabs/tab-list/TabListProps.d.ts +2 -2
- package/lib/components/tabs/tab-list/TabListPropsDefaults.js +9 -1
- package/lib/components/tabs/tab-list/index.js +7 -5
- package/lib/components/tabs/tab-list/index.mjs +10 -10
- package/lib/components/tabs/tab-list/index.native.js +113 -33
- package/lib/components/tabs/tab-list/index.native.mjs +24 -24
- package/lib/components/tabs/tab-list/tab/Tab.js +7 -5
- package/lib/components/tabs/tab-list/tab/Tab.mjs +8 -8
- package/lib/components/tabs/tab-list/tab/Tab.native.js +108 -28
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +10 -10
- package/lib/components/tabs/tab-list/tab/index.js +7 -5
- package/lib/components/tabs/tab-list/tab/index.mjs +8 -8
- package/lib/components/tabs/tab-list/tab/index.native.js +108 -28
- package/lib/components/tabs/tab-list/tab/index.native.mjs +10 -10
- package/lib/components/tabs/tab-panels/TabPanels.mjs +3 -3
- package/lib/components/tabs/tab-panels/TabPanels.native.js +103 -23
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +22 -22
- package/lib/components/tabs/tab-panels/index.mjs +3 -3
- package/lib/components/tabs/tab-panels/index.native.js +103 -23
- package/lib/components/tabs/tab-panels/index.native.mjs +22 -22
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +3 -3
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.mjs +1 -1
- package/lib/components/tabs/tab-panels/tab-panel/index.mjs +3 -3
- package/lib/components/tabs/tab-panels/tab-panel/index.native.mjs +1 -1
- package/lib/components/tag/Tag.js +7 -5
- package/lib/components/tag/Tag.mjs +8 -8
- package/lib/components/tag/Tag.native.js +104 -24
- package/lib/components/tag/Tag.native.mjs +8 -8
- package/lib/components/tag/index.js +12 -9
- package/lib/components/tag/index.mjs +22 -22
- package/lib/components/tag/index.native.js +107 -27
- package/lib/components/tag/index.native.mjs +8 -8
- package/lib/components/tag/list/TagList.js +12 -9
- package/lib/components/tag/list/TagList.mjs +20 -20
- package/lib/components/tag/list/TagList.native.mjs +1 -1
- package/lib/components/tag/list/TagListProps.d.mts +2 -2
- package/lib/components/tag/list/TagListProps.d.ts +2 -2
- package/lib/components/tag/list/TagListPropsDefaults.js +9 -1
- package/lib/components/tag/list/index.js +12 -9
- package/lib/components/tag/list/index.mjs +21 -21
- package/lib/components/tag/list/index.native.mjs +1 -1
- package/lib/components/text/Text.mjs +3 -3
- package/lib/components/text/Text.native.js +88 -9
- package/lib/components/text/Text.native.mjs +7 -7
- package/lib/components/text/index.mjs +3 -3
- package/lib/components/text/index.native.js +88 -9
- package/lib/components/text/index.native.mjs +7 -7
- package/lib/components/textarea/Textarea.d.mts +2 -4
- package/lib/components/textarea/Textarea.d.ts +2 -4
- package/lib/components/textarea/Textarea.js +7 -6
- package/lib/components/textarea/Textarea.mjs +20 -20
- package/lib/components/textarea/Textarea.native.d.mts +2 -3
- package/lib/components/textarea/Textarea.native.d.ts +2 -3
- package/lib/components/textarea/Textarea.native.js +120 -89
- package/lib/components/textarea/Textarea.native.mjs +23 -23
- package/lib/components/textarea/TextareaProps.d.mts +0 -1
- package/lib/components/textarea/TextareaProps.d.ts +0 -1
- package/lib/components/textarea/index.js +7 -6
- package/lib/components/textarea/index.mjs +20 -20
- package/lib/components/textarea/index.native.js +120 -89
- package/lib/components/textarea/index.native.mjs +23 -23
- package/lib/components/timeline/Timeline.mjs +3 -3
- package/lib/components/timeline/Timeline.native.mjs +1 -1
- package/lib/components/timeline/content/TimelineContent.js +7 -5
- package/lib/components/timeline/content/TimelineContent.mjs +9 -9
- package/lib/components/timeline/content/TimelineContent.native.js +124 -40
- package/lib/components/timeline/content/TimelineContent.native.mjs +27 -27
- package/lib/components/timeline/content/index.js +7 -5
- package/lib/components/timeline/content/index.mjs +10 -10
- package/lib/components/timeline/content/index.native.js +124 -40
- package/lib/components/timeline/content/index.native.mjs +27 -27
- package/lib/components/timeline/index.js +7 -5
- package/lib/components/timeline/index.mjs +13 -13
- package/lib/components/timeline/index.native.js +128 -44
- package/lib/components/timeline/index.native.mjs +29 -29
- package/lib/components/timeline/item/TimelineItem.mjs +3 -3
- package/lib/components/timeline/item/TimelineItem.native.mjs +1 -1
- package/lib/components/timeline/item/index.mjs +4 -4
- package/lib/components/timeline/item/index.native.mjs +1 -1
- package/lib/components/timeline/marker/TimelineMarker.js +7 -5
- package/lib/components/timeline/marker/TimelineMarker.mjs +8 -8
- package/lib/components/timeline/marker/TimelineMarker.native.js +113 -33
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +22 -22
- package/lib/components/timeline/marker/index.js +7 -5
- package/lib/components/timeline/marker/index.mjs +9 -9
- package/lib/components/timeline/marker/index.native.js +113 -33
- package/lib/components/timeline/marker/index.native.mjs +23 -23
- package/lib/components/title/Title.mjs +3 -3
- package/lib/components/title/Title.native.js +171 -109
- package/lib/components/title/Title.native.mjs +22 -22
- package/lib/components/title/index.mjs +4 -4
- package/lib/components/title/index.native.js +171 -109
- package/lib/components/title/index.native.mjs +23 -23
- package/lib/components/view/View.js +14 -19
- package/lib/components/view/View.mjs +20 -20
- package/lib/components/view/View.native.js +118 -35
- package/lib/components/view/View.native.mjs +22 -22
- package/lib/components/view/index.js +14 -19
- package/lib/components/view/index.mjs +20 -20
- package/lib/components/view/index.native.js +118 -35
- package/lib/components/view/index.native.mjs +22 -22
- package/lib/context/index.js +1 -1
- package/lib/context/index.mjs +2 -2
- package/lib/context/index.native.js +2 -1
- package/lib/context/index.native.mjs +5 -5
- package/lib/context/provider/index.js +1 -1
- package/lib/context/provider/index.mjs +2 -2
- package/lib/context/provider/provider.js +1 -1
- package/lib/context/provider/provider.mjs +2 -2
- package/lib/context/providerStyled/index.mjs +2 -2
- package/lib/context/providerStyled/providerStyled.mjs +2 -2
- package/lib/context/providerTheme/index.native.js +2 -1
- package/lib/context/providerTheme/index.native.mjs +1 -1
- package/lib/context/providerTheme/providerTheme.native.js +2 -1
- package/lib/context/providerTheme/providerTheme.native.mjs +1 -1
- package/lib/context/test/provider.test.js +1 -1
- package/lib/context/test/provider.test.mjs +2 -2
- package/lib/helpers/hashClassesHelpers/index.mjs +2 -2
- package/lib/helpers/index.mjs +2 -2
- package/lib/helpers/index.native.mjs +2 -2
- package/lib/index.js +897 -578
- package/lib/index.mjs +190 -167
- package/lib/index.native.js +1328 -1303
- package/lib/index.native.mjs +201 -178
- package/lib/objects/Typography/TypographyBold/index.native.js +2 -1
- package/lib/objects/Typography/TypographyBold/index.native.mjs +2 -2
- package/lib/objects/Typography/TypographyColor/index.js +2 -1
- package/lib/objects/Typography/TypographyColor/index.mjs +2 -2
- package/lib/objects/Typography/TypographyColor/index.native.js +2 -1
- package/lib/objects/Typography/TypographyColor/index.native.mjs +2 -2
- package/lib/objects/Typography/index.js +2 -1
- package/lib/objects/Typography/index.mjs +2 -2
- package/lib/objects/Typography/index.native.js +2 -1
- package/lib/objects/Typography/index.native.mjs +3 -3
- package/lib/objects/atoms/Background/index.js +2 -1
- package/lib/objects/atoms/Background/index.mjs +2 -2
- package/lib/objects/atoms/Background/index.native.js +2 -1
- package/lib/objects/atoms/Background/index.native.mjs +2 -2
- package/lib/objects/atoms/index.js +2 -1
- package/lib/objects/atoms/index.mjs +2 -2
- package/lib/objects/atoms/index.native.js +2 -1
- package/lib/objects/atoms/index.native.mjs +2 -2
- package/lib/objects/facets/Alignable/index.d.mts +10 -3
- package/lib/objects/facets/Alignable/index.d.ts +10 -3
- package/lib/objects/facets/Alignable/index.js +5 -4
- package/lib/objects/facets/Alignable/index.mjs +1 -1
- 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 +3 -1
- 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 +3 -1
- package/lib/objects/facets/Color/index.native.mjs +1 -1
- package/lib/objects/facets/Justifiable/index.d.mts +12 -4
- package/lib/objects/facets/Justifiable/index.d.ts +12 -4
- package/lib/objects/facets/Justifiable/index.js +25 -27
- package/lib/objects/facets/Justifiable/index.mjs +1 -1
- package/lib/objects/facets/Status/index.js +7 -5
- package/lib/objects/facets/Status/index.mjs +8 -8
- package/lib/objects/facets/Status/index.native.js +100 -20
- package/lib/objects/facets/Status/index.native.mjs +7 -7
- package/lib/objects/facets/Variant/index.js +2 -1
- package/lib/objects/facets/Variant/index.mjs +2 -2
- package/lib/objects/facets/Variant/index.native.js +2 -1
- package/lib/objects/facets/Variant/index.native.mjs +2 -2
- package/lib/objects/facets/index.js +33 -32
- package/lib/objects/facets/index.mjs +20 -20
- package/lib/objects/facets/index.native.js +126 -47
- package/lib/objects/facets/index.native.mjs +19 -19
- package/lib/objects/index.js +33 -32
- package/lib/objects/index.mjs +24 -24
- package/lib/objects/index.native.js +126 -47
- package/lib/objects/index.native.mjs +28 -28
- package/lib/version.d.mts +1 -1
- package/lib/version.d.ts +1 -1
- package/lib/version.js +1 -1
- package/lib/version.mjs +1 -1
- package/package.json +1 -1
- package/lib/chunk-4FF5X5F7.mjs +0 -70
- package/lib/chunk-CA5KEC7T.mjs +0 -137
- package/lib/chunk-FEM5FLSP.mjs +0 -122
- package/lib/chunk-IPTS5F6B.mjs +0 -109
- package/lib/chunk-NUR7JE2T.mjs +0 -56
- package/lib/chunk-P3ZLV2QF.mjs +0 -67
- /package/lib/{chunk-JP5IH4HL.mjs → chunk-7M4UWOKO.mjs} +0 -0
- /package/lib/{chunk-TYVII7EX.mjs → chunk-AHFPVKHD.mjs} +0 -0
package/lib/components/index.js
CHANGED
|
@@ -84,6 +84,10 @@ __export(components_exports, {
|
|
|
84
84
|
DEFAULT_SPACING_MATRIX: () => DEFAULT_SPACING_MATRIX,
|
|
85
85
|
DatePicker: () => DatePicker_default,
|
|
86
86
|
Divider: () => Divider_default,
|
|
87
|
+
Dropdown: () => Dropdown_default,
|
|
88
|
+
DropdownGroup: () => DropdownGroup_default,
|
|
89
|
+
DropdownItem: () => DropdownItem_default,
|
|
90
|
+
DropdownTrigger: () => DropdownTrigger_default,
|
|
87
91
|
Fab: () => Fab_default,
|
|
88
92
|
FlexBox: () => FlexBox_default,
|
|
89
93
|
FlexItem: () => FlexItem_default,
|
|
@@ -395,6 +399,7 @@ var TrilogyColor = /* @__PURE__ */ ((TrilogyColor4) => {
|
|
|
395
399
|
TrilogyColor4["NEUTRAL"] = "NEUTRAL";
|
|
396
400
|
TrilogyColor4["NEUTRAL_FADE"] = "NEUTRAL_FADE";
|
|
397
401
|
TrilogyColor4["STROKE"] = "STROKE";
|
|
402
|
+
TrilogyColor4["STROKE_FADE"] = "STROKE_FADE";
|
|
398
403
|
return TrilogyColor4;
|
|
399
404
|
})(TrilogyColor || {});
|
|
400
405
|
var colors = {
|
|
@@ -417,7 +422,8 @@ var colors = {
|
|
|
417
422
|
["DISABLED_FADE" /* DISABLED_FADE */]: ["#D1D1D1", "disabled-fade", "white"],
|
|
418
423
|
["NEUTRAL" /* NEUTRAL */]: ["#707070", "grey", "white"],
|
|
419
424
|
["NEUTRAL_FADE" /* NEUTRAL_FADE */]: ["#F4F4F4", "grey-fade", "white"],
|
|
420
|
-
["STROKE" /* STROKE */]: ["#BBC1CE", "stroke", "white"]
|
|
425
|
+
["STROKE" /* STROKE */]: ["#BBC1CE", "stroke", "white"],
|
|
426
|
+
["STROKE_FADE" /* STROKE_FADE */]: ["#cadbe8", "stroke-fade", "white"]
|
|
421
427
|
};
|
|
422
428
|
var getColorClassName = (trilogyColor) => {
|
|
423
429
|
const color = colors[trilogyColor];
|
|
@@ -470,48 +476,43 @@ var getBackgroundClassName = (backgroundType) => {
|
|
|
470
476
|
|
|
471
477
|
// objects/facets/Justifiable/index.ts
|
|
472
478
|
var getJustifyClassName = (justifyContent) => {
|
|
473
|
-
|
|
474
|
-
|
|
479
|
+
if (!justifyContent) return "flex-start";
|
|
480
|
+
switch (true) {
|
|
481
|
+
case ["CENTER", "JUSTIFIED_CENTER"].includes(justifyContent):
|
|
475
482
|
return "centered";
|
|
476
|
-
case "
|
|
477
|
-
return "justified-center";
|
|
478
|
-
case "JUSTIFIED_START":
|
|
479
|
-
return "justified-start";
|
|
480
|
-
case "START":
|
|
483
|
+
case ["START", "JUSTIFIED_START"].includes(justifyContent):
|
|
481
484
|
return "justified-start";
|
|
482
|
-
case "JUSTIFIED_END":
|
|
485
|
+
case ["END", "JUSTIFIED_END"].includes(justifyContent):
|
|
483
486
|
return "justified-end";
|
|
484
|
-
case "
|
|
485
|
-
return "justified-end";
|
|
486
|
-
case "SPACE_BETWEEN":
|
|
487
|
+
case ["SPACE_BETWEEN", "SPACE_BETWEEN"].includes(justifyContent):
|
|
487
488
|
return "spaced-between";
|
|
488
|
-
case "
|
|
489
|
-
return "spaced-around";
|
|
490
|
-
case "SPACE_EVENLY":
|
|
489
|
+
case justifyContent === "SPACE_EVENLY":
|
|
491
490
|
return "spaced-evenly";
|
|
492
491
|
default:
|
|
493
492
|
return "justified-start";
|
|
494
493
|
}
|
|
495
494
|
};
|
|
496
495
|
var getJustifiedClassName = (justifyContent) => {
|
|
497
|
-
|
|
498
|
-
|
|
496
|
+
if (!justifyContent) return "justified-start";
|
|
497
|
+
switch (true) {
|
|
498
|
+
case ["ALIGNED_CENTER", "CENTER"].includes(justifyContent):
|
|
499
499
|
return "justified-center";
|
|
500
|
-
case "ALIGNED_START":
|
|
500
|
+
case ["START", "ALIGNED_START"].includes(justifyContent):
|
|
501
501
|
return "justified-start";
|
|
502
|
-
case "ALIGNED_END":
|
|
502
|
+
case ["ALIGNED_END", "END"].includes(justifyContent):
|
|
503
503
|
return "justified-end";
|
|
504
504
|
default:
|
|
505
505
|
return "justified-start";
|
|
506
506
|
}
|
|
507
507
|
};
|
|
508
508
|
var getJustifySelfClassName = (justifyContent) => {
|
|
509
|
-
|
|
510
|
-
|
|
509
|
+
if (!justifyContent) return "justified-selfstart";
|
|
510
|
+
switch (true) {
|
|
511
|
+
case ["ALIGNED_CENTER", "CENTER"].includes(justifyContent):
|
|
511
512
|
return "justified-self-center";
|
|
512
|
-
case "ALIGNED_START":
|
|
513
|
+
case ["START", "ALIGNED_START"].includes(justifyContent):
|
|
513
514
|
return "justified-self-start";
|
|
514
|
-
case "ALIGNED_END":
|
|
515
|
+
case ["ALIGNED_END", "END"].includes(justifyContent):
|
|
515
516
|
return "justified-selfend";
|
|
516
517
|
default:
|
|
517
518
|
return "justified-selfstart";
|
|
@@ -944,7 +945,7 @@ var Alert = React13.forwardRef(
|
|
|
944
945
|
className: classes,
|
|
945
946
|
...others
|
|
946
947
|
},
|
|
947
|
-
/* @__PURE__ */ React13.createElement(Icon_default, { name: iconAlert }),
|
|
948
|
+
/* @__PURE__ */ React13.createElement(Icon_default, { name: iconAlert, className: "alert-icon" }),
|
|
948
949
|
/* @__PURE__ */ React13.createElement("div", { className: hashClass(styled, (0, import_clsx8.default)("body")) }, title && typeof title.valueOf() === "string" ? /* @__PURE__ */ React13.createElement(Title_default, { markup, level: 6 /* SIX */ }, title) : title, description && typeof description.valueOf() === "string" ? /* @__PURE__ */ React13.createElement(Text_default, { level: 2 /* TWO */ }, description) : description)
|
|
949
950
|
);
|
|
950
951
|
}
|
|
@@ -1634,7 +1635,7 @@ var Input = import_react12.default.forwardRef(
|
|
|
1634
1635
|
}
|
|
1635
1636
|
}
|
|
1636
1637
|
}
|
|
1637
|
-
), loading && /* @__PURE__ */ import_react12.default.createElement("span", { className: loader })), help && /* @__PURE__ */ import_react12.default.createElement(Text_default, { className: helpClasses, id: idHelp }, help), securityGauge && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react12.default.createElement(
|
|
1638
|
+
), loading && /* @__PURE__ */ import_react12.default.createElement("span", { className: loader })), help && typeof help === "string" ? /* @__PURE__ */ import_react12.default.createElement(Text_default, { className: helpClasses, id: idHelp }, help) : help, securityGauge && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react12.default.createElement(
|
|
1638
1639
|
InputGauge_default,
|
|
1639
1640
|
{
|
|
1640
1641
|
validationRules,
|
|
@@ -1792,8 +1793,7 @@ var AutoCompleteRef = ({
|
|
|
1792
1793
|
(0, import_react13.useEffect)(() => {
|
|
1793
1794
|
setSearch(matching(data, _inputValue));
|
|
1794
1795
|
}, [data]);
|
|
1795
|
-
const
|
|
1796
|
-
setIsAutocompleteMenuVisible(true);
|
|
1796
|
+
const handleChangeInputValue = (e) => {
|
|
1797
1797
|
if (onChange) {
|
|
1798
1798
|
onChange({
|
|
1799
1799
|
inputName: name || "",
|
|
@@ -1813,6 +1813,9 @@ var AutoCompleteRef = ({
|
|
|
1813
1813
|
} else {
|
|
1814
1814
|
setInputValue(e.inputValue);
|
|
1815
1815
|
}
|
|
1816
|
+
};
|
|
1817
|
+
const getSuggestionsHandler = async (e) => {
|
|
1818
|
+
setIsAutocompleteMenuVisible(true);
|
|
1816
1819
|
if (getSuggestions) {
|
|
1817
1820
|
const data2 = await getSuggestions(e.inputValue);
|
|
1818
1821
|
setSearch(data2);
|
|
@@ -1820,7 +1823,7 @@ var AutoCompleteRef = ({
|
|
|
1820
1823
|
setSearch(matching(data, e.inputValue));
|
|
1821
1824
|
}
|
|
1822
1825
|
};
|
|
1823
|
-
const onInputChange = debounceSuggestionsTimeout ? debounce(
|
|
1826
|
+
const onInputChange = debounceSuggestionsTimeout ? debounce(getSuggestionsHandler, debounceSuggestionsTimeout) : getSuggestionsHandler;
|
|
1824
1827
|
const suggestionSelected = (value2, data2, search2) => {
|
|
1825
1828
|
setIsAutocompleteMenuVisible(false);
|
|
1826
1829
|
setInputValue(getLabel(value2));
|
|
@@ -1879,6 +1882,7 @@ var AutoCompleteRef = ({
|
|
|
1879
1882
|
onKeyUp: handleKeyPress,
|
|
1880
1883
|
value: _inputValue,
|
|
1881
1884
|
onChange: (event) => {
|
|
1885
|
+
handleChangeInputValue(event);
|
|
1882
1886
|
onInputChange(event);
|
|
1883
1887
|
},
|
|
1884
1888
|
onIconClick,
|
|
@@ -4601,10 +4605,302 @@ var Divider = import_react32.default.forwardRef(({
|
|
|
4601
4605
|
Divider.displayName = "Divider" /* Divider */;
|
|
4602
4606
|
var Divider_default = Divider;
|
|
4603
4607
|
|
|
4604
|
-
// components/
|
|
4605
|
-
var
|
|
4608
|
+
// components/dropdown/Dropdown.tsx
|
|
4609
|
+
var import_clsx50 = __toESM(require("clsx"));
|
|
4610
|
+
var React62 = __toESM(require("react"));
|
|
4611
|
+
|
|
4612
|
+
// components/dropdown/context/DropdownContext.tsx
|
|
4606
4613
|
var import_react33 = __toESM(require("react"));
|
|
4607
|
-
var
|
|
4614
|
+
var DropdownContext = (0, import_react33.createContext)(void 0);
|
|
4615
|
+
var useDropdownContext = () => {
|
|
4616
|
+
const context = (0, import_react33.useContext)(DropdownContext);
|
|
4617
|
+
if (!context) {
|
|
4618
|
+
throw new Error("useDropdownContext must be used within a DropdownProvider");
|
|
4619
|
+
}
|
|
4620
|
+
return context;
|
|
4621
|
+
};
|
|
4622
|
+
var DropdownProvider = ({
|
|
4623
|
+
children,
|
|
4624
|
+
defaultOpen = false,
|
|
4625
|
+
onToggle
|
|
4626
|
+
}) => {
|
|
4627
|
+
const [isOpen, setIsOpen] = (0, import_react33.useState)(defaultOpen);
|
|
4628
|
+
const toggle = () => {
|
|
4629
|
+
const newState = !isOpen;
|
|
4630
|
+
setIsOpen(newState);
|
|
4631
|
+
onToggle == null ? void 0 : onToggle(newState);
|
|
4632
|
+
};
|
|
4633
|
+
const open = () => {
|
|
4634
|
+
setIsOpen(true);
|
|
4635
|
+
onToggle == null ? void 0 : onToggle(true);
|
|
4636
|
+
};
|
|
4637
|
+
const close = () => {
|
|
4638
|
+
setIsOpen(false);
|
|
4639
|
+
onToggle == null ? void 0 : onToggle(false);
|
|
4640
|
+
};
|
|
4641
|
+
const value = {
|
|
4642
|
+
isOpen,
|
|
4643
|
+
toggle,
|
|
4644
|
+
open,
|
|
4645
|
+
close
|
|
4646
|
+
};
|
|
4647
|
+
return /* @__PURE__ */ import_react33.default.createElement(DropdownContext.Provider, { value }, children);
|
|
4648
|
+
};
|
|
4649
|
+
|
|
4650
|
+
// components/dropdown/trigger/DropdownTrigger.tsx
|
|
4651
|
+
var React61 = __toESM(require("react"));
|
|
4652
|
+
var import_clsx49 = __toESM(require("clsx"));
|
|
4653
|
+
var DropdownTrigger = React61.forwardRef(
|
|
4654
|
+
({
|
|
4655
|
+
children,
|
|
4656
|
+
onClick,
|
|
4657
|
+
className,
|
|
4658
|
+
testId,
|
|
4659
|
+
...others
|
|
4660
|
+
}, ref) => {
|
|
4661
|
+
const { styled } = useTrilogyContext();
|
|
4662
|
+
let contextState = null;
|
|
4663
|
+
try {
|
|
4664
|
+
contextState = useDropdownContext();
|
|
4665
|
+
} catch {
|
|
4666
|
+
contextState = null;
|
|
4667
|
+
}
|
|
4668
|
+
const classes = hashClass(
|
|
4669
|
+
styled,
|
|
4670
|
+
(0, import_clsx49.default)(
|
|
4671
|
+
"dropdown-trigger",
|
|
4672
|
+
className
|
|
4673
|
+
)
|
|
4674
|
+
);
|
|
4675
|
+
const handleClick = (event) => {
|
|
4676
|
+
if (contextState) {
|
|
4677
|
+
contextState.toggle();
|
|
4678
|
+
}
|
|
4679
|
+
onClick == null ? void 0 : onClick(event);
|
|
4680
|
+
};
|
|
4681
|
+
const enhancedChildren = React61.Children.map(children, (child) => {
|
|
4682
|
+
if (React61.isValidElement(child)) {
|
|
4683
|
+
if (!child.props.onClick) {
|
|
4684
|
+
return React61.cloneElement(child, {
|
|
4685
|
+
onClick: (e) => {
|
|
4686
|
+
e.preventDefault();
|
|
4687
|
+
e.stopPropagation();
|
|
4688
|
+
handleClick(e);
|
|
4689
|
+
}
|
|
4690
|
+
});
|
|
4691
|
+
}
|
|
4692
|
+
return React61.cloneElement(child, {
|
|
4693
|
+
onClick: (e) => {
|
|
4694
|
+
var _a, _b;
|
|
4695
|
+
(_b = (_a = child.props).onClick) == null ? void 0 : _b.call(_a, e);
|
|
4696
|
+
if (!e.defaultPrevented) {
|
|
4697
|
+
handleClick(e);
|
|
4698
|
+
}
|
|
4699
|
+
}
|
|
4700
|
+
});
|
|
4701
|
+
}
|
|
4702
|
+
return child;
|
|
4703
|
+
});
|
|
4704
|
+
return /* @__PURE__ */ React61.createElement(
|
|
4705
|
+
"div",
|
|
4706
|
+
{
|
|
4707
|
+
ref,
|
|
4708
|
+
className: classes,
|
|
4709
|
+
onClick: handleClick,
|
|
4710
|
+
"data-testid": testId,
|
|
4711
|
+
...others
|
|
4712
|
+
},
|
|
4713
|
+
enhancedChildren
|
|
4714
|
+
);
|
|
4715
|
+
}
|
|
4716
|
+
);
|
|
4717
|
+
DropdownTrigger.displayName = "DropdownTrigger" /* DropdownTrigger */;
|
|
4718
|
+
var DropdownTrigger_default = DropdownTrigger;
|
|
4719
|
+
|
|
4720
|
+
// components/dropdown/Dropdown.tsx
|
|
4721
|
+
var DropdownContent = React62.forwardRef(
|
|
4722
|
+
({
|
|
4723
|
+
children,
|
|
4724
|
+
className,
|
|
4725
|
+
testId,
|
|
4726
|
+
...others
|
|
4727
|
+
}, ref) => {
|
|
4728
|
+
const { styled } = useTrilogyContext();
|
|
4729
|
+
const dropdownRef = React62.useRef(null);
|
|
4730
|
+
const menuRef = React62.useRef(null);
|
|
4731
|
+
const hasDropdownTrigger = React62.Children.toArray(children).some(
|
|
4732
|
+
(child) => React62.isValidElement(child) && child.type === DropdownTrigger_default
|
|
4733
|
+
);
|
|
4734
|
+
const { isOpen } = useDropdownContext();
|
|
4735
|
+
React62.useEffect(() => {
|
|
4736
|
+
if (!isOpen || !dropdownRef.current || !menuRef.current) return;
|
|
4737
|
+
const dropdown = dropdownRef.current;
|
|
4738
|
+
const menu = menuRef.current;
|
|
4739
|
+
const checkPosition = () => {
|
|
4740
|
+
const rect = dropdown.getBoundingClientRect();
|
|
4741
|
+
const viewportHeight = window.innerHeight;
|
|
4742
|
+
const spaceBelow = viewportHeight - rect.bottom - 8;
|
|
4743
|
+
const spaceAbove = rect.top - 8;
|
|
4744
|
+
const menuHeight = 300;
|
|
4745
|
+
if (spaceBelow < menuHeight && spaceAbove >= menuHeight) {
|
|
4746
|
+
menu.setAttribute("data-position", "upward");
|
|
4747
|
+
} else {
|
|
4748
|
+
menu.removeAttribute("data-position");
|
|
4749
|
+
}
|
|
4750
|
+
};
|
|
4751
|
+
requestAnimationFrame(checkPosition);
|
|
4752
|
+
}, [isOpen]);
|
|
4753
|
+
const classes = hashClass(
|
|
4754
|
+
styled,
|
|
4755
|
+
(0, import_clsx50.default)(
|
|
4756
|
+
"dropdown",
|
|
4757
|
+
isOpen && is("active"),
|
|
4758
|
+
!hasDropdownTrigger && "dropdown-manual",
|
|
4759
|
+
className
|
|
4760
|
+
)
|
|
4761
|
+
);
|
|
4762
|
+
const triggerChildren = [];
|
|
4763
|
+
const contentChildren = [];
|
|
4764
|
+
if (hasDropdownTrigger) {
|
|
4765
|
+
React62.Children.forEach(children, (child) => {
|
|
4766
|
+
if (React62.isValidElement(child) && child.type === DropdownTrigger_default) {
|
|
4767
|
+
triggerChildren.push(child);
|
|
4768
|
+
} else {
|
|
4769
|
+
contentChildren.push(child);
|
|
4770
|
+
}
|
|
4771
|
+
});
|
|
4772
|
+
}
|
|
4773
|
+
return /* @__PURE__ */ React62.createElement(
|
|
4774
|
+
"div",
|
|
4775
|
+
{
|
|
4776
|
+
ref: (node) => {
|
|
4777
|
+
if (dropdownRef.current !== node) {
|
|
4778
|
+
dropdownRef.current = node;
|
|
4779
|
+
}
|
|
4780
|
+
if (typeof ref === "function") {
|
|
4781
|
+
ref(node);
|
|
4782
|
+
} else if (ref) {
|
|
4783
|
+
ref.current = node;
|
|
4784
|
+
}
|
|
4785
|
+
},
|
|
4786
|
+
className: classes,
|
|
4787
|
+
"data-testid": testId,
|
|
4788
|
+
...others
|
|
4789
|
+
},
|
|
4790
|
+
hasDropdownTrigger ? triggerChildren : null,
|
|
4791
|
+
/* @__PURE__ */ React62.createElement("div", { ref: menuRef, className: hashClass(styled, "dropdown-menu") }, /* @__PURE__ */ React62.createElement("div", { className: hashClass(styled, "dropdown-content") }, hasDropdownTrigger ? contentChildren : children))
|
|
4792
|
+
);
|
|
4793
|
+
}
|
|
4794
|
+
);
|
|
4795
|
+
var Dropdown = React62.forwardRef(
|
|
4796
|
+
({
|
|
4797
|
+
children,
|
|
4798
|
+
isActive,
|
|
4799
|
+
defaultOpen,
|
|
4800
|
+
onToggle,
|
|
4801
|
+
className,
|
|
4802
|
+
testId,
|
|
4803
|
+
...others
|
|
4804
|
+
}, ref) => {
|
|
4805
|
+
const hasDropdownTrigger = React62.Children.toArray(children).some(
|
|
4806
|
+
(child) => React62.isValidElement(child) && child.type === DropdownTrigger_default
|
|
4807
|
+
);
|
|
4808
|
+
const useTrigger = defaultOpen !== void 0 || onToggle !== void 0 || hasDropdownTrigger;
|
|
4809
|
+
const isManualMode = !useTrigger && isActive !== void 0;
|
|
4810
|
+
const providerDefaultOpen = isManualMode ? isActive : defaultOpen;
|
|
4811
|
+
return /* @__PURE__ */ React62.createElement(DropdownProvider, { defaultOpen: providerDefaultOpen, onToggle }, /* @__PURE__ */ React62.createElement(
|
|
4812
|
+
DropdownContent,
|
|
4813
|
+
{
|
|
4814
|
+
ref,
|
|
4815
|
+
className,
|
|
4816
|
+
testId,
|
|
4817
|
+
...others
|
|
4818
|
+
},
|
|
4819
|
+
children
|
|
4820
|
+
));
|
|
4821
|
+
}
|
|
4822
|
+
);
|
|
4823
|
+
Dropdown.displayName = "Dropdown" /* Dropdown */;
|
|
4824
|
+
var Dropdown_default = Dropdown;
|
|
4825
|
+
|
|
4826
|
+
// components/dropdown/group/DropdownGroup.tsx
|
|
4827
|
+
var import_clsx51 = __toESM(require("clsx"));
|
|
4828
|
+
var React63 = __toESM(require("react"));
|
|
4829
|
+
var DropdownGroup = React63.forwardRef(
|
|
4830
|
+
({ className, id, children, hideSeparator, testId, ...others }, ref) => {
|
|
4831
|
+
const { styled } = useTrilogyContext();
|
|
4832
|
+
const classes = hashClass(styled, (0, import_clsx51.default)("dropdown-group", hideSeparator && is("no-separator"), className));
|
|
4833
|
+
return /* @__PURE__ */ React63.createElement("div", { ref, id, className: classes, role: "group", "data-testid": testId, ...others }, children);
|
|
4834
|
+
}
|
|
4835
|
+
);
|
|
4836
|
+
DropdownGroup.displayName = "DropdownGroup" /* DropdownGroup */;
|
|
4837
|
+
var DropdownGroup_default = DropdownGroup;
|
|
4838
|
+
|
|
4839
|
+
// components/dropdown/item/DropdownItem.tsx
|
|
4840
|
+
var import_clsx52 = __toESM(require("clsx"));
|
|
4841
|
+
var React64 = __toESM(require("react"));
|
|
4842
|
+
var DropdownItem = React64.forwardRef(
|
|
4843
|
+
({
|
|
4844
|
+
children,
|
|
4845
|
+
iconName,
|
|
4846
|
+
active,
|
|
4847
|
+
disabled,
|
|
4848
|
+
onSelect,
|
|
4849
|
+
...others
|
|
4850
|
+
}, ref) => {
|
|
4851
|
+
const { styled } = useTrilogyContext();
|
|
4852
|
+
const classes = hashClass(
|
|
4853
|
+
styled,
|
|
4854
|
+
(0, import_clsx52.default)(
|
|
4855
|
+
"dropdown-item",
|
|
4856
|
+
active && is("active"),
|
|
4857
|
+
disabled && is("disabled")
|
|
4858
|
+
)
|
|
4859
|
+
);
|
|
4860
|
+
const handleClick = (e) => {
|
|
4861
|
+
if (disabled) {
|
|
4862
|
+
e.preventDefault();
|
|
4863
|
+
return;
|
|
4864
|
+
}
|
|
4865
|
+
if (onSelect) {
|
|
4866
|
+
onSelect();
|
|
4867
|
+
}
|
|
4868
|
+
};
|
|
4869
|
+
const handleKeyDown = (e) => {
|
|
4870
|
+
if (disabled) return;
|
|
4871
|
+
if (e.key === "Enter" || e.key === " ") {
|
|
4872
|
+
e.preventDefault();
|
|
4873
|
+
if (onSelect) {
|
|
4874
|
+
onSelect();
|
|
4875
|
+
}
|
|
4876
|
+
}
|
|
4877
|
+
};
|
|
4878
|
+
return /* @__PURE__ */ React64.createElement(
|
|
4879
|
+
"button",
|
|
4880
|
+
{
|
|
4881
|
+
ref,
|
|
4882
|
+
type: "button",
|
|
4883
|
+
className: classes,
|
|
4884
|
+
onClick: handleClick,
|
|
4885
|
+
onKeyDown: handleKeyDown,
|
|
4886
|
+
disabled,
|
|
4887
|
+
"aria-disabled": disabled,
|
|
4888
|
+
role: "menuitem",
|
|
4889
|
+
tabIndex: disabled ? -1 : 0,
|
|
4890
|
+
...others
|
|
4891
|
+
},
|
|
4892
|
+
iconName && /* @__PURE__ */ React64.createElement(Icon_default, { name: iconName, size: "smaller" /* SMALLER */ }),
|
|
4893
|
+
children
|
|
4894
|
+
);
|
|
4895
|
+
}
|
|
4896
|
+
);
|
|
4897
|
+
DropdownItem.displayName = "DropdownItem" /* DropdownItem */;
|
|
4898
|
+
var DropdownItem_default = DropdownItem;
|
|
4899
|
+
|
|
4900
|
+
// components/fab/Fab.tsx
|
|
4901
|
+
var import_clsx53 = __toESM(require("clsx"));
|
|
4902
|
+
var import_react34 = __toESM(require("react"));
|
|
4903
|
+
var Fab = import_react34.default.forwardRef(({
|
|
4608
4904
|
children,
|
|
4609
4905
|
extended,
|
|
4610
4906
|
iconName,
|
|
@@ -4621,8 +4917,8 @@ var Fab = import_react33.default.forwardRef(({
|
|
|
4621
4917
|
...others
|
|
4622
4918
|
}, ref) => {
|
|
4623
4919
|
const { styled } = useTrilogyContext();
|
|
4624
|
-
const [isExtended, setIsExtended] = (0,
|
|
4625
|
-
(0,
|
|
4920
|
+
const [isExtended, setIsExtended] = (0, import_react34.useState)(extended || false);
|
|
4921
|
+
(0, import_react34.useEffect)(() => {
|
|
4626
4922
|
setIsExtended(extended || false);
|
|
4627
4923
|
}, [isExtended]);
|
|
4628
4924
|
const positionStyle = top || bottom || left || right ? {
|
|
@@ -4634,8 +4930,8 @@ var Fab = import_react33.default.forwardRef(({
|
|
|
4634
4930
|
} : {
|
|
4635
4931
|
position: "relative"
|
|
4636
4932
|
};
|
|
4637
|
-
const _className = hashClass(styled, (0,
|
|
4638
|
-
return /* @__PURE__ */
|
|
4933
|
+
const _className = hashClass(styled, (0, import_clsx53.default)("fab", extended && is("extended"), className));
|
|
4934
|
+
return /* @__PURE__ */ import_react34.default.createElement(
|
|
4639
4935
|
"button",
|
|
4640
4936
|
{
|
|
4641
4937
|
ref,
|
|
@@ -4650,7 +4946,7 @@ var Fab = import_react33.default.forwardRef(({
|
|
|
4650
4946
|
...others,
|
|
4651
4947
|
className: _className
|
|
4652
4948
|
},
|
|
4653
|
-
/* @__PURE__ */
|
|
4949
|
+
/* @__PURE__ */ import_react34.default.createElement(Icon_default, { name: iconName }),
|
|
4654
4950
|
children
|
|
4655
4951
|
);
|
|
4656
4952
|
});
|
|
@@ -4658,8 +4954,8 @@ Fab.displayName = "Fab" /* Fab */;
|
|
|
4658
4954
|
var Fab_default = Fab;
|
|
4659
4955
|
|
|
4660
4956
|
// components/flex-box/FlexBox.tsx
|
|
4661
|
-
var
|
|
4662
|
-
var
|
|
4957
|
+
var import_clsx54 = __toESM(require("clsx"));
|
|
4958
|
+
var import_react35 = __toESM(require("react"));
|
|
4663
4959
|
var generateClassNames = ({ value, getClassName }) => {
|
|
4664
4960
|
if (!value) return [];
|
|
4665
4961
|
if (typeof value === "string" || typeof value === "number") {
|
|
@@ -4682,17 +4978,37 @@ var generateWrapClassNames = ({ value, getClassName }) => {
|
|
|
4682
4978
|
}
|
|
4683
4979
|
return [];
|
|
4684
4980
|
};
|
|
4685
|
-
var
|
|
4981
|
+
var getJustifyClassName2 = (justifyContent) => {
|
|
4982
|
+
if (!justifyContent) return "flex-start";
|
|
4983
|
+
switch (true) {
|
|
4984
|
+
case ["CENTER", "JUSTIFIED_CENTER"].includes(justifyContent):
|
|
4985
|
+
return "justified-center";
|
|
4986
|
+
case ["START", "JUSTIFIED_START"].includes(justifyContent):
|
|
4987
|
+
return "justified-start";
|
|
4988
|
+
case ["END", "JUSTIFIED_END"].includes(justifyContent):
|
|
4989
|
+
return "justified-end";
|
|
4990
|
+
case ["SPACE_BETWEEN", "SPACE_BETWEEN"].includes(justifyContent):
|
|
4991
|
+
return "spaced-between";
|
|
4992
|
+
case justifyContent === "SPACE_EVENLY":
|
|
4993
|
+
return "spaced-evenly";
|
|
4994
|
+
case justifyContent === "SPACE_AROUND":
|
|
4995
|
+
return "spaced-around";
|
|
4996
|
+
default:
|
|
4997
|
+
return "justified-start";
|
|
4998
|
+
}
|
|
4999
|
+
};
|
|
5000
|
+
var FlexBox = import_react35.default.forwardRef(
|
|
4686
5001
|
({ className, id, gap, direction, align, justify, wrap, scrollable, fullheight, mobile, ...others }, ref) => {
|
|
4687
5002
|
const { styled } = useTrilogyContext();
|
|
5003
|
+
const gapClasses = gap === 0 ? [is("gapless")] : generateClassNames({ value: gap, getClassName: (val) => has(`gap-${val}`) });
|
|
4688
5004
|
const classes = hashClass(
|
|
4689
5005
|
styled,
|
|
4690
|
-
(0,
|
|
5006
|
+
(0, import_clsx54.default)([
|
|
4691
5007
|
"flex-box",
|
|
4692
5008
|
...generateClassNames({ value: direction, getClassName: (val) => is(`direction-${val}`) }),
|
|
4693
5009
|
...generateClassNames({ value: align, getClassName: (val) => is(getAlignClassName(val)) }),
|
|
4694
|
-
...generateClassNames({ value: justify, getClassName: (val) => is(
|
|
4695
|
-
...
|
|
5010
|
+
...generateClassNames({ value: justify, getClassName: (val) => is(getJustifyClassName2(val)) }),
|
|
5011
|
+
...gapClasses,
|
|
4696
5012
|
...generateWrapClassNames({ value: wrap, getClassName: (val) => is(`wrap`) }),
|
|
4697
5013
|
scrollable && is("scrollable"),
|
|
4698
5014
|
fullheight && is("fullheight"),
|
|
@@ -4700,22 +5016,22 @@ var FlexBox = import_react34.default.forwardRef(
|
|
|
4700
5016
|
className
|
|
4701
5017
|
])
|
|
4702
5018
|
);
|
|
4703
|
-
return /* @__PURE__ */
|
|
5019
|
+
return /* @__PURE__ */ import_react35.default.createElement("div", { ref, id, className: classes, ...others });
|
|
4704
5020
|
}
|
|
4705
5021
|
);
|
|
4706
5022
|
FlexBox.displayName = "FlexBox" /* FlexBox */;
|
|
4707
5023
|
var FlexBox_default = FlexBox;
|
|
4708
5024
|
|
|
4709
5025
|
// components/flex-box/flex-item/FlexItem.tsx
|
|
4710
|
-
var
|
|
4711
|
-
var
|
|
4712
|
-
var FlexItem =
|
|
5026
|
+
var import_clsx55 = __toESM(require("clsx"));
|
|
5027
|
+
var import_react36 = __toESM(require("react"));
|
|
5028
|
+
var FlexItem = import_react36.default.forwardRef(
|
|
4713
5029
|
({ className, id, size: size2, narrow, verticalAlign, ...others }, ref) => {
|
|
4714
5030
|
const { styled } = useTrilogyContext();
|
|
4715
5031
|
const isNumber = typeof size2 === "number";
|
|
4716
5032
|
const classes = hashClass(
|
|
4717
5033
|
styled,
|
|
4718
|
-
(0,
|
|
5034
|
+
(0, import_clsx55.default)(
|
|
4719
5035
|
"flex-item",
|
|
4720
5036
|
size2 && isNumber && is(`${size2}`),
|
|
4721
5037
|
size2 && !isNumber && (size2 == null ? void 0 : size2.desktop) && is(`${size2.desktop}-desktop`),
|
|
@@ -4729,21 +5045,21 @@ var FlexItem = import_react35.default.forwardRef(
|
|
|
4729
5045
|
className
|
|
4730
5046
|
)
|
|
4731
5047
|
);
|
|
4732
|
-
return /* @__PURE__ */
|
|
5048
|
+
return /* @__PURE__ */ import_react36.default.createElement("div", { ref, id, className: classes, ...others });
|
|
4733
5049
|
}
|
|
4734
5050
|
);
|
|
4735
5051
|
FlexItem.displayName = "FlexItem" /* FlexItem */;
|
|
4736
5052
|
var FlexItem_default = FlexItem;
|
|
4737
5053
|
|
|
4738
5054
|
// components/hero/Hero.tsx
|
|
4739
|
-
var
|
|
4740
|
-
var
|
|
4741
|
-
var Hero =
|
|
5055
|
+
var import_clsx56 = __toESM(require("clsx"));
|
|
5056
|
+
var import_react37 = __toESM(require("react"));
|
|
5057
|
+
var Hero = import_react37.default.forwardRef(
|
|
4742
5058
|
({ children, backgroundColor, backgroundSrc, inverted, className, id, onClick, overlap, ...others }, ref) => {
|
|
4743
5059
|
const { styled } = useTrilogyContext();
|
|
4744
5060
|
const classes = hashClass(
|
|
4745
5061
|
styled,
|
|
4746
|
-
(0,
|
|
5062
|
+
(0, import_clsx56.default)(
|
|
4747
5063
|
"hero",
|
|
4748
5064
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
4749
5065
|
backgroundSrc && has("background"),
|
|
@@ -4752,7 +5068,7 @@ var Hero = import_react36.default.forwardRef(
|
|
|
4752
5068
|
className
|
|
4753
5069
|
)
|
|
4754
5070
|
);
|
|
4755
|
-
return /* @__PURE__ */
|
|
5071
|
+
return /* @__PURE__ */ import_react37.default.createElement(
|
|
4756
5072
|
"section",
|
|
4757
5073
|
{
|
|
4758
5074
|
ref,
|
|
@@ -4764,7 +5080,7 @@ var Hero = import_react36.default.forwardRef(
|
|
|
4764
5080
|
},
|
|
4765
5081
|
...others
|
|
4766
5082
|
},
|
|
4767
|
-
/* @__PURE__ */
|
|
5083
|
+
/* @__PURE__ */ import_react37.default.createElement("div", { className: hashClass(styled, (0, import_clsx56.default)("hero-body")) }, children)
|
|
4768
5084
|
);
|
|
4769
5085
|
}
|
|
4770
5086
|
);
|
|
@@ -4789,9 +5105,9 @@ var RadiusValues = /* @__PURE__ */ ((RadiusValues2) => {
|
|
|
4789
5105
|
})(RadiusValues || {});
|
|
4790
5106
|
|
|
4791
5107
|
// components/image/Image.tsx
|
|
4792
|
-
var
|
|
4793
|
-
var
|
|
4794
|
-
var Image =
|
|
5108
|
+
var import_clsx57 = __toESM(require("clsx"));
|
|
5109
|
+
var React69 = __toESM(require("react"));
|
|
5110
|
+
var Image = React69.forwardRef(({
|
|
4795
5111
|
src,
|
|
4796
5112
|
alt = "",
|
|
4797
5113
|
className,
|
|
@@ -4805,14 +5121,14 @@ var Image = React64.forwardRef(({
|
|
|
4805
5121
|
...others
|
|
4806
5122
|
}, ref) => {
|
|
4807
5123
|
const { styled } = useTrilogyContext();
|
|
4808
|
-
const classes = hashClass(styled, (0,
|
|
5124
|
+
const classes = hashClass(styled, (0, import_clsx57.default)("image", className, align && is(getJustifiedClassName(align))));
|
|
4809
5125
|
const styles = {
|
|
4810
5126
|
image: {
|
|
4811
5127
|
width,
|
|
4812
5128
|
height
|
|
4813
5129
|
}
|
|
4814
5130
|
};
|
|
4815
|
-
return /* @__PURE__ */
|
|
5131
|
+
return /* @__PURE__ */ React69.createElement(
|
|
4816
5132
|
"figure",
|
|
4817
5133
|
{
|
|
4818
5134
|
ref,
|
|
@@ -4824,11 +5140,11 @@ var Image = React64.forwardRef(({
|
|
|
4824
5140
|
className: classes,
|
|
4825
5141
|
...others
|
|
4826
5142
|
},
|
|
4827
|
-
/* @__PURE__ */
|
|
5143
|
+
/* @__PURE__ */ React69.createElement(
|
|
4828
5144
|
"img",
|
|
4829
5145
|
{
|
|
4830
5146
|
style: styles.image,
|
|
4831
|
-
className: hashClass(styled, (0,
|
|
5147
|
+
className: hashClass(styled, (0, import_clsx57.default)(radius && has(`border-radius-${radius}`), circled ? is("circled") : "")),
|
|
4832
5148
|
src: typeof src === "string" ? src : "",
|
|
4833
5149
|
alt
|
|
4834
5150
|
}
|
|
@@ -4839,44 +5155,44 @@ Image.displayName = "Image" /* Image */;
|
|
|
4839
5155
|
var Image_default = Image;
|
|
4840
5156
|
|
|
4841
5157
|
// components/list/List.tsx
|
|
4842
|
-
var
|
|
4843
|
-
var
|
|
4844
|
-
var List =
|
|
5158
|
+
var import_clsx58 = __toESM(require("clsx"));
|
|
5159
|
+
var React70 = __toESM(require("react"));
|
|
5160
|
+
var List = React70.forwardRef(({ className, id, children, testId, divider, ordered, ...others }, ref) => {
|
|
4845
5161
|
const { styled } = useTrilogyContext();
|
|
4846
|
-
const classes = hashClass(styled, (0,
|
|
5162
|
+
const classes = hashClass(styled, (0, import_clsx58.default)("list", divider && has("divider"), className));
|
|
4847
5163
|
const Tag2 = ordered ? "ol" : "ul";
|
|
4848
|
-
return /* @__PURE__ */
|
|
5164
|
+
return /* @__PURE__ */ React70.createElement(Tag2, { ref, id, "data-testid": testId, className: classes, ...others }, children);
|
|
4849
5165
|
});
|
|
4850
5166
|
List.displayName = "List" /* List */;
|
|
4851
5167
|
var List_default = List;
|
|
4852
5168
|
|
|
4853
5169
|
// components/list/item/ListItem.tsx
|
|
4854
|
-
var
|
|
4855
|
-
var
|
|
4856
|
-
var ListItem =
|
|
5170
|
+
var import_clsx59 = __toESM(require("clsx"));
|
|
5171
|
+
var React71 = __toESM(require("react"));
|
|
5172
|
+
var ListItem = React71.forwardRef(({ className, id, children, iconName, status, testId }, ref) => {
|
|
4857
5173
|
const { styled } = useTrilogyContext();
|
|
4858
|
-
const classes = (0,
|
|
4859
|
-
return /* @__PURE__ */
|
|
5174
|
+
const classes = (0, import_clsx59.default)("list-item", className, status && is(getColorClassName(TrilogyColor[status])));
|
|
5175
|
+
return /* @__PURE__ */ React71.createElement("li", { ref, id, className: hashClass(styled, (0, import_clsx59.default)(classes)), "data-testid": testId }, iconName && /* @__PURE__ */ React71.createElement(
|
|
4860
5176
|
Icon_default,
|
|
4861
5177
|
{
|
|
4862
|
-
className: status && (0,
|
|
5178
|
+
className: status && (0, import_clsx59.default)(is(getColorClassName(TrilogyColor[status]))),
|
|
4863
5179
|
name: iconName,
|
|
4864
5180
|
size: "small" /* SMALL */
|
|
4865
5181
|
}
|
|
4866
|
-
), /* @__PURE__ */
|
|
5182
|
+
), /* @__PURE__ */ React71.createElement("div", { className: hashClass(styled, (0, import_clsx59.default)("list-item-content")) }, children));
|
|
4867
5183
|
});
|
|
4868
5184
|
ListItem.displayName = "ListItem" /* ListItem */;
|
|
4869
5185
|
var ListItem_default = ListItem;
|
|
4870
5186
|
|
|
4871
5187
|
// components/list/item/description/ListItemDescription.tsx
|
|
4872
|
-
var
|
|
4873
|
-
var
|
|
4874
|
-
var ListItemDescription =
|
|
5188
|
+
var import_clsx60 = __toESM(require("clsx"));
|
|
5189
|
+
var React72 = __toESM(require("react"));
|
|
5190
|
+
var ListItemDescription = React72.forwardRef(({
|
|
4875
5191
|
children,
|
|
4876
5192
|
className
|
|
4877
5193
|
}, ref) => {
|
|
4878
5194
|
const { styled } = useTrilogyContext();
|
|
4879
|
-
return /* @__PURE__ */
|
|
5195
|
+
return /* @__PURE__ */ React72.createElement("dd", { ref, className: hashClass(styled, (0, import_clsx60.default)(className)) }, children);
|
|
4880
5196
|
});
|
|
4881
5197
|
ListItemDescription.displayName = "ListItemDescription" /* ListItemDescription */;
|
|
4882
5198
|
var ListItemDescription_default = ListItemDescription;
|
|
@@ -4892,8 +5208,8 @@ var ListIconStatus = /* @__PURE__ */ ((ListIconStatus2) => {
|
|
|
4892
5208
|
|
|
4893
5209
|
// components/otp/Otp.tsx
|
|
4894
5210
|
var import_locales5 = require("@trilogy-ds/locales");
|
|
4895
|
-
var
|
|
4896
|
-
var
|
|
5211
|
+
var import_clsx61 = __toESM(require("clsx"));
|
|
5212
|
+
var import_react38 = __toESM(require("react"));
|
|
4897
5213
|
var stringToCode = (str, codeSize) => {
|
|
4898
5214
|
if (!str) return new Array(codeSize).fill(null);
|
|
4899
5215
|
return str.split("").map((char) => char === "" ? null : Number(char));
|
|
@@ -4950,7 +5266,7 @@ var inputOnKeyUp = (e) => {
|
|
|
4950
5266
|
var formatTranslation = (translation, x, y) => {
|
|
4951
5267
|
return translation.replace(/:x/g, x).replace(/:y/g, y);
|
|
4952
5268
|
};
|
|
4953
|
-
var Otp =
|
|
5269
|
+
var Otp = import_react38.default.forwardRef(
|
|
4954
5270
|
({
|
|
4955
5271
|
className,
|
|
4956
5272
|
id,
|
|
@@ -4966,18 +5282,18 @@ var Otp = import_react37.default.forwardRef(
|
|
|
4966
5282
|
autoFocus,
|
|
4967
5283
|
...others
|
|
4968
5284
|
}, ref) => {
|
|
4969
|
-
const [codeInput, setCodeInput] = (0,
|
|
5285
|
+
const [codeInput, setCodeInput] = (0, import_react38.useState)(
|
|
4970
5286
|
stringToCode(value, length) || new Array(length).fill(null)
|
|
4971
5287
|
);
|
|
4972
|
-
const hasChanged = (0,
|
|
5288
|
+
const hasChanged = (0, import_react38.useRef)(false);
|
|
4973
5289
|
const { styled } = useTrilogyContext();
|
|
4974
|
-
const classes = hashClass(styled, (0,
|
|
4975
|
-
(0,
|
|
5290
|
+
const classes = hashClass(styled, (0, import_clsx61.default)("otp-list", error && is("error"), className));
|
|
5291
|
+
(0, import_react38.useEffect)(() => {
|
|
4976
5292
|
if (!disabled) {
|
|
4977
5293
|
isCompleted(codeInput) && (onCompleted == null ? void 0 : onCompleted(codeToString(codeInput)));
|
|
4978
5294
|
}
|
|
4979
5295
|
}, [length, codeInput, onCompleted, disabled]);
|
|
4980
|
-
(0,
|
|
5296
|
+
(0, import_react38.useEffect)(() => {
|
|
4981
5297
|
hasChanged.current = codeInput.find((code) => code !== null) !== void 0;
|
|
4982
5298
|
if (hasChanged.current) {
|
|
4983
5299
|
onChange == null ? void 0 : onChange(codeToString(codeInput));
|
|
@@ -5000,14 +5316,14 @@ var Otp = import_react37.default.forwardRef(
|
|
|
5000
5316
|
const { target } = e;
|
|
5001
5317
|
target.setSelectionRange(0, target.value.length);
|
|
5002
5318
|
};
|
|
5003
|
-
return /* @__PURE__ */
|
|
5319
|
+
return /* @__PURE__ */ import_react38.default.createElement(import_react38.default.Fragment, null, label && /* @__PURE__ */ import_react38.default.createElement(
|
|
5004
5320
|
Text_default,
|
|
5005
5321
|
{
|
|
5006
5322
|
markup: "p" /* P */,
|
|
5007
5323
|
typo: disabled && "has-text-grey" /* TEXT_NEUTRAL */ || error && "has-text-error" /* TEXT_ERROR */ || "has-text-main" /* TEXT_MAIN */
|
|
5008
5324
|
},
|
|
5009
5325
|
label
|
|
5010
|
-
), /* @__PURE__ */
|
|
5326
|
+
), /* @__PURE__ */ import_react38.default.createElement(
|
|
5011
5327
|
"div",
|
|
5012
5328
|
{
|
|
5013
5329
|
ref,
|
|
@@ -5019,7 +5335,7 @@ var Otp = import_react37.default.forwardRef(
|
|
|
5019
5335
|
}
|
|
5020
5336
|
}
|
|
5021
5337
|
},
|
|
5022
|
-
codeInput.map((digit, idx) => /* @__PURE__ */
|
|
5338
|
+
codeInput.map((digit, idx) => /* @__PURE__ */ import_react38.default.createElement(
|
|
5023
5339
|
"input",
|
|
5024
5340
|
{
|
|
5025
5341
|
"aria-disabled": disabled,
|
|
@@ -5030,7 +5346,7 @@ var Otp = import_react37.default.forwardRef(
|
|
|
5030
5346
|
autoFocus: idx === 0 && autoFocus,
|
|
5031
5347
|
pattern: "\\d{1}",
|
|
5032
5348
|
maxLength: length,
|
|
5033
|
-
className: hashClass(styled, (0,
|
|
5349
|
+
className: hashClass(styled, (0, import_clsx61.default)("otp")),
|
|
5034
5350
|
value: `${digit != null ? digit : ""}`,
|
|
5035
5351
|
onKeyUp: inputOnKeyUp,
|
|
5036
5352
|
onFocus: inputOnFocus,
|
|
@@ -5040,10 +5356,10 @@ var Otp = import_react37.default.forwardRef(
|
|
|
5040
5356
|
...others
|
|
5041
5357
|
}
|
|
5042
5358
|
))
|
|
5043
|
-
), help && /* @__PURE__ */
|
|
5359
|
+
), help && /* @__PURE__ */ import_react38.default.createElement(
|
|
5044
5360
|
Text_default,
|
|
5045
5361
|
{
|
|
5046
|
-
className: hashClass(styled, (0,
|
|
5362
|
+
className: hashClass(styled, (0, import_clsx61.default)("help")),
|
|
5047
5363
|
markup: "p" /* P */,
|
|
5048
5364
|
typo: error && "has-text-error" /* TEXT_ERROR */ || "has-text-main" /* TEXT_MAIN */
|
|
5049
5365
|
},
|
|
@@ -5055,109 +5371,109 @@ Otp.displayName = "Otp" /* Otp */;
|
|
|
5055
5371
|
var Otp_default = Otp;
|
|
5056
5372
|
|
|
5057
5373
|
// components/pagination/Pagination.tsx
|
|
5058
|
-
var
|
|
5059
|
-
var
|
|
5060
|
-
var Pagination =
|
|
5061
|
-
className,
|
|
5062
|
-
|
|
5063
|
-
|
|
5064
|
-
|
|
5065
|
-
|
|
5066
|
-
|
|
5067
|
-
|
|
5068
|
-
|
|
5069
|
-
|
|
5070
|
-
|
|
5071
|
-
|
|
5072
|
-
|
|
5073
|
-
|
|
5074
|
-
|
|
5075
|
-
|
|
5076
|
-
|
|
5077
|
-
|
|
5078
|
-
|
|
5079
|
-
|
|
5080
|
-
|
|
5081
|
-
|
|
5082
|
-
|
|
5083
|
-
} else if (currentPage + 3 >= length) {
|
|
5084
|
-
startPage = length - 3;
|
|
5085
|
-
endPage = length;
|
|
5086
|
-
} else {
|
|
5087
|
-
startPage = currentPage - 1;
|
|
5088
|
-
endPage = currentPage + 1;
|
|
5089
|
-
}
|
|
5090
|
-
}
|
|
5091
|
-
const pages = [...Array(endPage + 1 - startPage).keys()].map((i) => startPage + i);
|
|
5092
|
-
return {
|
|
5093
|
-
currentPage,
|
|
5094
|
-
length,
|
|
5095
|
-
endPage,
|
|
5096
|
-
pages
|
|
5097
|
-
};
|
|
5098
|
-
}, [currentPage, length]);
|
|
5099
|
-
(0, import_react38.useEffect)(() => {
|
|
5100
|
-
if (onClick && prevCurrentPage.current !== pager.currentPage) {
|
|
5101
|
-
onClick(pager);
|
|
5102
|
-
}
|
|
5103
|
-
setCurrentPage(pager.currentPage);
|
|
5104
|
-
prevCurrentPage.current = pager.currentPage;
|
|
5105
|
-
}, [pager.currentPage]);
|
|
5106
|
-
(0, import_react38.useEffect)(() => {
|
|
5107
|
-
setCurrentPage(defaultPage);
|
|
5108
|
-
}, [defaultPage]);
|
|
5109
|
-
return /* @__PURE__ */ import_react38.default.createElement("nav", { ref, id, className: classes, ...others }, /* @__PURE__ */ import_react38.default.createElement(
|
|
5110
|
-
"a",
|
|
5111
|
-
{
|
|
5112
|
-
className: hashClass(styled, (0, import_clsx58.default)("pagination-previous")),
|
|
5113
|
-
...currentPage === 1 ? { "aria-disabled": true } : {},
|
|
5114
|
-
onClick: () => {
|
|
5115
|
-
if (currentPage !== 1) {
|
|
5116
|
-
setCurrentPage(currentPage - 1);
|
|
5374
|
+
var import_clsx62 = __toESM(require("clsx"));
|
|
5375
|
+
var import_react39 = __toESM(require("react"));
|
|
5376
|
+
var Pagination = import_react39.default.forwardRef(
|
|
5377
|
+
({ className, id, length, defaultPage = 1, onClick, href, ...others }, ref) => {
|
|
5378
|
+
const [currentPage, setCurrentPage] = (0, import_react39.useState)(defaultPage);
|
|
5379
|
+
const { styled } = useTrilogyContext();
|
|
5380
|
+
const classes = hashClass(styled, (0, import_clsx62.default)("pagination", className));
|
|
5381
|
+
const getPages = import_react39.default.useCallback(
|
|
5382
|
+
(page) => {
|
|
5383
|
+
let startPage = 1;
|
|
5384
|
+
let endPage = 5;
|
|
5385
|
+
if (length <= 5) {
|
|
5386
|
+
startPage = 1;
|
|
5387
|
+
endPage = length;
|
|
5388
|
+
} else {
|
|
5389
|
+
if (page <= 3) {
|
|
5390
|
+
startPage = 1;
|
|
5391
|
+
endPage = 4;
|
|
5392
|
+
} else if (page + 3 >= length) {
|
|
5393
|
+
startPage = length - 3;
|
|
5394
|
+
endPage = length;
|
|
5395
|
+
} else {
|
|
5396
|
+
startPage = page - 1;
|
|
5397
|
+
endPage = page + 1;
|
|
5398
|
+
}
|
|
5117
5399
|
}
|
|
5400
|
+
const pages2 = [...Array(endPage + 1 - startPage).keys()].map((i) => startPage + i);
|
|
5401
|
+
return {
|
|
5402
|
+
endPage,
|
|
5403
|
+
pages: pages2
|
|
5404
|
+
};
|
|
5118
5405
|
},
|
|
5119
|
-
|
|
5120
|
-
|
|
5121
|
-
|
|
5122
|
-
|
|
5123
|
-
|
|
5124
|
-
|
|
5125
|
-
|
|
5126
|
-
|
|
5127
|
-
"
|
|
5128
|
-
|
|
5129
|
-
|
|
5406
|
+
[length]
|
|
5407
|
+
);
|
|
5408
|
+
const [pages, setPages] = (0, import_react39.useState)(() => getPages(defaultPage).pages);
|
|
5409
|
+
(0, import_react39.useEffect)(() => {
|
|
5410
|
+
setCurrentPage(defaultPage);
|
|
5411
|
+
setPages(getPages(defaultPage).pages);
|
|
5412
|
+
}, [defaultPage]);
|
|
5413
|
+
return /* @__PURE__ */ import_react39.default.createElement("nav", { ref, id, className: classes, ...others }, /* @__PURE__ */ import_react39.default.createElement(
|
|
5414
|
+
"a",
|
|
5415
|
+
{
|
|
5416
|
+
className: hashClass(styled, (0, import_clsx62.default)("pagination-previous")),
|
|
5417
|
+
...currentPage === 1 ? { "aria-disabled": true } : {},
|
|
5418
|
+
onClick: (e) => {
|
|
5419
|
+
const nextPage = currentPage - 1;
|
|
5420
|
+
const nextPages = getPages(nextPage);
|
|
5421
|
+
if (onClick) onClick(Object.assign(e, nextPages, { currentPage: nextPage, length }));
|
|
5422
|
+
if (currentPage !== 1) {
|
|
5423
|
+
setCurrentPage(nextPage);
|
|
5424
|
+
setPages(nextPages.pages);
|
|
5425
|
+
}
|
|
5426
|
+
},
|
|
5427
|
+
href: href == null ? void 0 : href(currentPage - 1)
|
|
5130
5428
|
},
|
|
5131
|
-
|
|
5132
|
-
},
|
|
5133
|
-
|
|
5134
|
-
|
|
5135
|
-
|
|
5136
|
-
|
|
5137
|
-
|
|
5138
|
-
|
|
5139
|
-
|
|
5140
|
-
|
|
5141
|
-
setCurrentPage(
|
|
5142
|
-
|
|
5429
|
+
/* @__PURE__ */ import_react39.default.createElement(Icon_default, { name: "tri-arrow-left" /* ARROW_LEFT */ })
|
|
5430
|
+
), /* @__PURE__ */ import_react39.default.createElement("ul", { className: hashClass(styled, (0, import_clsx62.default)("pagination-list")) }, !pages.includes(1) && /* @__PURE__ */ import_react39.default.createElement("li", null, /* @__PURE__ */ import_react39.default.createElement("span", { className: hashClass(styled, (0, import_clsx62.default)("pagination-ellipsis")) }, "\u2026")), pages.map((pageNumber) => /* @__PURE__ */ import_react39.default.createElement("li", { key: pageNumber }, /* @__PURE__ */ import_react39.default.createElement(
|
|
5431
|
+
"a",
|
|
5432
|
+
{
|
|
5433
|
+
className: hashClass(styled, (0, import_clsx62.default)("pagination-link")),
|
|
5434
|
+
...currentPage === pageNumber ? { "aria-current": true } : {},
|
|
5435
|
+
"aria-label": `Aller \xE0 la page ${pageNumber}`,
|
|
5436
|
+
onClick: (e) => {
|
|
5437
|
+
const nextPages = getPages(pageNumber);
|
|
5438
|
+
if (onClick) onClick(Object.assign(e, nextPages, { currentPage: pageNumber, length }));
|
|
5439
|
+
setCurrentPage(pageNumber);
|
|
5440
|
+
setPages(nextPages.pages);
|
|
5441
|
+
},
|
|
5442
|
+
href: href == null ? void 0 : href(pageNumber)
|
|
5143
5443
|
},
|
|
5144
|
-
|
|
5145
|
-
},
|
|
5146
|
-
|
|
5147
|
-
|
|
5148
|
-
|
|
5444
|
+
pageNumber
|
|
5445
|
+
))), !pages.includes(length) && /* @__PURE__ */ import_react39.default.createElement("li", null, /* @__PURE__ */ import_react39.default.createElement("span", { className: hashClass(styled, (0, import_clsx62.default)("pagination-ellipsis")) }, "\u2026"))), /* @__PURE__ */ import_react39.default.createElement(
|
|
5446
|
+
"a",
|
|
5447
|
+
{
|
|
5448
|
+
className: hashClass(styled, (0, import_clsx62.default)("pagination-next")),
|
|
5449
|
+
...currentPage === Math.max(length) ? { "aria-disabled": true } : {},
|
|
5450
|
+
onClick: (e) => {
|
|
5451
|
+
const nextPage = currentPage + 1;
|
|
5452
|
+
const nextPages = getPages(nextPage);
|
|
5453
|
+
if (onClick) onClick(Object.assign(e, nextPages, { currentPage: nextPage, length }));
|
|
5454
|
+
if (currentPage !== Math.max(length)) {
|
|
5455
|
+
setCurrentPage(currentPage + 1);
|
|
5456
|
+
setPages(nextPages.pages);
|
|
5457
|
+
}
|
|
5458
|
+
},
|
|
5459
|
+
href: href == null ? void 0 : href(currentPage + 1)
|
|
5460
|
+
},
|
|
5461
|
+
/* @__PURE__ */ import_react39.default.createElement(Icon_default, { name: "tri-arrow-right" /* ARROW_RIGHT */ })
|
|
5462
|
+
));
|
|
5463
|
+
}
|
|
5464
|
+
);
|
|
5149
5465
|
Pagination.displayName = "Pagination" /* Pagination */;
|
|
5150
5466
|
var Pagination_default = Pagination;
|
|
5151
5467
|
|
|
5152
5468
|
// components/popover/Popover.tsx
|
|
5153
|
-
var
|
|
5154
|
-
var
|
|
5155
|
-
var Popover =
|
|
5469
|
+
var import_clsx63 = __toESM(require("clsx"));
|
|
5470
|
+
var React75 = __toESM(require("react"));
|
|
5471
|
+
var Popover = React75.forwardRef(
|
|
5156
5472
|
({ className, id, direction, children, active, arrowPosition, trigger, ...others }, ref) => {
|
|
5157
5473
|
const { styled } = useTrilogyContext();
|
|
5158
5474
|
const classes = hashClass(
|
|
5159
5475
|
styled,
|
|
5160
|
-
(0,
|
|
5476
|
+
(0, import_clsx63.default)(
|
|
5161
5477
|
"popover",
|
|
5162
5478
|
direction && is(`popover-${direction}`),
|
|
5163
5479
|
active && is("popover-active"),
|
|
@@ -5165,7 +5481,7 @@ var Popover = React70.forwardRef(
|
|
|
5165
5481
|
className
|
|
5166
5482
|
)
|
|
5167
5483
|
);
|
|
5168
|
-
return /* @__PURE__ */
|
|
5484
|
+
return /* @__PURE__ */ React75.createElement("span", { ref, id, className: classes, ...others }, trigger && trigger, /* @__PURE__ */ React75.createElement("span", { className: hashClass(styled, "popover-content") }, children));
|
|
5169
5485
|
}
|
|
5170
5486
|
);
|
|
5171
5487
|
Popover.displayName = "Popover" /* Popover */;
|
|
@@ -5185,8 +5501,8 @@ var PopoverArrowPosition = /* @__PURE__ */ ((PopoverArrowPosition2) => {
|
|
|
5185
5501
|
})(PopoverArrowPosition || {});
|
|
5186
5502
|
|
|
5187
5503
|
// components/price/Price.tsx
|
|
5188
|
-
var
|
|
5189
|
-
var
|
|
5504
|
+
var import_clsx64 = __toESM(require("clsx"));
|
|
5505
|
+
var React76 = __toESM(require("react"));
|
|
5190
5506
|
|
|
5191
5507
|
// components/price/PriceHelpers.ts
|
|
5192
5508
|
var checkCents = (text) => {
|
|
@@ -5198,7 +5514,7 @@ var checkCents = (text) => {
|
|
|
5198
5514
|
};
|
|
5199
5515
|
|
|
5200
5516
|
// components/price/Price.tsx
|
|
5201
|
-
var Price =
|
|
5517
|
+
var Price = React76.forwardRef(
|
|
5202
5518
|
({
|
|
5203
5519
|
className,
|
|
5204
5520
|
id,
|
|
@@ -5216,10 +5532,10 @@ var Price = React71.forwardRef(
|
|
|
5216
5532
|
}, ref) => {
|
|
5217
5533
|
var _a, _b;
|
|
5218
5534
|
const { styled } = useTrilogyContext();
|
|
5219
|
-
const classes = hashClass(styled, (0,
|
|
5535
|
+
const classes = hashClass(styled, (0, import_clsx64.default)("price", inverted && is("inverted"), overline && has("suptitle"), className));
|
|
5220
5536
|
const classesStrike = hashClass(
|
|
5221
5537
|
styled,
|
|
5222
|
-
(0,
|
|
5538
|
+
(0, import_clsx64.default)("price", inverted && is("inverted"), oldAmount && "strike", overline && has("suptitle"), className)
|
|
5223
5539
|
);
|
|
5224
5540
|
let amountComponent = null;
|
|
5225
5541
|
let oldAmountComponent = null;
|
|
@@ -5232,7 +5548,7 @@ var Price = React71.forwardRef(
|
|
|
5232
5548
|
let cents = checkCents(((_a = absoluteAmountStrike.toString().split(/[.,]/)[1]) == null ? void 0 : _a.substring(0, 2)) || "");
|
|
5233
5549
|
cents = cents && cents.length === 1 && `${cents}0` || cents;
|
|
5234
5550
|
const centsDisplayed = !hideCents && `\u20AC${cents}` || "\u20AC";
|
|
5235
|
-
oldAmountComponent = /* @__PURE__ */
|
|
5551
|
+
oldAmountComponent = /* @__PURE__ */ React76.createElement("span", { "aria-hidden": "true", className: classesStrike, ...others }, /* @__PURE__ */ React76.createElement("span", null, `${wholeStrike}`), /* @__PURE__ */ React76.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("price-details")) }, /* @__PURE__ */ React76.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("cents")) }, centsDisplayed === "\u20AC" ? /* @__PURE__ */ React76.createElement(React76.Fragment, null, "\xA0", centsDisplayed) : centsDisplayed, mention && /* @__PURE__ */ React76.createElement("sup", null, mention)), period && /* @__PURE__ */ React76.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("period")) }, "/", period)));
|
|
5236
5552
|
}
|
|
5237
5553
|
if (amount !== void 0) {
|
|
5238
5554
|
const isNegative = amount < 0;
|
|
@@ -5243,27 +5559,27 @@ var Price = React71.forwardRef(
|
|
|
5243
5559
|
cents = cents && cents.length === 1 && `${cents}0` || cents;
|
|
5244
5560
|
const centsDisplayed = !hideCents && `\u20AC${cents}` || "\u20AC";
|
|
5245
5561
|
const dataPrice = `${whole}${!hideCents && cents ? `.${cents}` : ""}`;
|
|
5246
|
-
amountComponent = /* @__PURE__ */
|
|
5562
|
+
amountComponent = /* @__PURE__ */ React76.createElement("span", { "aria-hidden": "true", "aria-label": accessibilityLabel, className: classes, "data-price": dataPrice, ...others }, /* @__PURE__ */ React76.createElement("span", null, `${whole}`), /* @__PURE__ */ React76.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("price-details")) }, /* @__PURE__ */ React76.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("cents")) }, centsDisplayed === "\u20AC" ? /* @__PURE__ */ React76.createElement(React76.Fragment, null, "\xA0", centsDisplayed) : centsDisplayed, mention && /* @__PURE__ */ React76.createElement("sup", null, mention)), period && /* @__PURE__ */ React76.createElement("span", { className: hashClass(styled, (0, import_clsx64.default)("period")) }, "/", period)));
|
|
5247
5563
|
}
|
|
5248
|
-
return /* @__PURE__ */
|
|
5564
|
+
return /* @__PURE__ */ React76.createElement(
|
|
5249
5565
|
"div",
|
|
5250
5566
|
{
|
|
5251
5567
|
ref,
|
|
5252
5568
|
id,
|
|
5253
5569
|
className: hashClass(
|
|
5254
5570
|
styled,
|
|
5255
|
-
(0,
|
|
5571
|
+
(0, import_clsx64.default)(
|
|
5256
5572
|
"price-container",
|
|
5257
5573
|
is(`level-${level || "1"}`),
|
|
5258
5574
|
align == "ALIGNED_START" /* ALIGNED_START */ && is("justified-start") || align == "ALIGNED_CENTER" /* ALIGNED_CENTER */ && is("justified-center") || align == "ALIGNED_END" /* ALIGNED_END */ && is("justified-end") || ""
|
|
5259
5575
|
)
|
|
5260
5576
|
)
|
|
5261
5577
|
},
|
|
5262
|
-
overline && /* @__PURE__ */
|
|
5578
|
+
overline && /* @__PURE__ */ React76.createElement("p", { className: hashClass(styled, (0, import_clsx64.default)("overline")) }, overline),
|
|
5263
5579
|
oldAmountComponent,
|
|
5264
5580
|
amountComponent,
|
|
5265
5581
|
tagAmountComponent,
|
|
5266
|
-
accessibilityLabel && /* @__PURE__ */
|
|
5582
|
+
accessibilityLabel && /* @__PURE__ */ React76.createElement("p", { className: hashClass(styled, (0, import_clsx64.default)("sr-only")) }, accessibilityLabel)
|
|
5267
5583
|
);
|
|
5268
5584
|
}
|
|
5269
5585
|
);
|
|
@@ -5283,9 +5599,9 @@ var PriceLevel = /* @__PURE__ */ ((PriceLevel2) => {
|
|
|
5283
5599
|
})(PriceLevel || {});
|
|
5284
5600
|
|
|
5285
5601
|
// components/product-tour/ProductTour.tsx
|
|
5286
|
-
var
|
|
5287
|
-
var
|
|
5288
|
-
var ProductTour =
|
|
5602
|
+
var import_clsx65 = __toESM(require("clsx"));
|
|
5603
|
+
var import_react40 = __toESM(require("react"));
|
|
5604
|
+
var ProductTour = import_react40.default.forwardRef(({
|
|
5289
5605
|
children,
|
|
5290
5606
|
className,
|
|
5291
5607
|
id,
|
|
@@ -5297,16 +5613,16 @@ var ProductTour = import_react39.default.forwardRef(({
|
|
|
5297
5613
|
avatarDirection,
|
|
5298
5614
|
...others
|
|
5299
5615
|
}, ref) => {
|
|
5300
|
-
const [display, setDisplay] = (0,
|
|
5616
|
+
const [display, setDisplay] = (0, import_react40.useState)(active || false);
|
|
5301
5617
|
const { styled } = useTrilogyContext();
|
|
5302
|
-
(0,
|
|
5618
|
+
(0, import_react40.useEffect)(() => {
|
|
5303
5619
|
setDisplay(active || false);
|
|
5304
5620
|
}, [active]);
|
|
5305
5621
|
const classes = hashClass(
|
|
5306
5622
|
styled,
|
|
5307
|
-
(0,
|
|
5623
|
+
(0, import_clsx65.default)("product-tour", display && is("active"), avatarDirection && has(`icon-${avatarDirection}`), className)
|
|
5308
5624
|
);
|
|
5309
|
-
return /* @__PURE__ */
|
|
5625
|
+
return /* @__PURE__ */ import_react40.default.createElement("div", { ref, id, className: classes, ...others }, arrowDirection && /* @__PURE__ */ import_react40.default.createElement("div", { className: hashClass(styled, (0, import_clsx65.default)("arrow", is(arrowDirection), arrowAlign && is(arrowAlign))) }), avatarSrc && /* @__PURE__ */ import_react40.default.createElement("span", { className: hashClass(styled, (0, import_clsx65.default)("icon", is("medium"))) }, /* @__PURE__ */ import_react40.default.createElement("img", { className: hashClass(styled, (0, import_clsx65.default)(is("rounded"))), src: avatarSrc })), closeable && /* @__PURE__ */ import_react40.default.createElement("div", { style: { cursor: "pointer" }, onClick: () => setDisplay(!display) }, /* @__PURE__ */ import_react40.default.createElement(Icon_default, { size: "small" /* SMALL */, name: "tri-times" /* TIMES */, className: "close" })), /* @__PURE__ */ import_react40.default.createElement("div", { className: hashClass(styled, (0, import_clsx65.default)("product-tour-content")) }, children));
|
|
5310
5626
|
});
|
|
5311
5627
|
ProductTour.displayName = "ProductTour" /* ProductTour */;
|
|
5312
5628
|
var ProductTour_default = ProductTour;
|
|
@@ -5337,9 +5653,9 @@ var AvatarDirection = /* @__PURE__ */ ((AvatarDirection2) => {
|
|
|
5337
5653
|
})(AvatarDirection || {});
|
|
5338
5654
|
|
|
5339
5655
|
// components/progress/Progress.tsx
|
|
5340
|
-
var
|
|
5341
|
-
var
|
|
5342
|
-
var Progress =
|
|
5656
|
+
var import_clsx66 = __toESM(require("clsx"));
|
|
5657
|
+
var React78 = __toESM(require("react"));
|
|
5658
|
+
var Progress = React78.forwardRef(({
|
|
5343
5659
|
children,
|
|
5344
5660
|
className,
|
|
5345
5661
|
id,
|
|
@@ -5356,7 +5672,7 @@ var Progress = React73.forwardRef(({
|
|
|
5356
5672
|
const { styled } = useTrilogyContext();
|
|
5357
5673
|
const classes = hashClass(
|
|
5358
5674
|
styled,
|
|
5359
|
-
(0,
|
|
5675
|
+
(0, import_clsx66.default)(
|
|
5360
5676
|
"progress",
|
|
5361
5677
|
status && is(getStatusClassName(status)),
|
|
5362
5678
|
!status && is("primary"),
|
|
@@ -5364,26 +5680,26 @@ var Progress = React73.forwardRef(({
|
|
|
5364
5680
|
className
|
|
5365
5681
|
)
|
|
5366
5682
|
);
|
|
5367
|
-
const stackedClasses = hashClass(styled, (0,
|
|
5683
|
+
const stackedClasses = hashClass(styled, (0, import_clsx66.default)("progress", stacked && is("stacked"), className));
|
|
5368
5684
|
if (children && stacked) {
|
|
5369
|
-
return /* @__PURE__ */
|
|
5685
|
+
return /* @__PURE__ */ React78.createElement("div", { className: stackedClasses, ...others }, children);
|
|
5370
5686
|
}
|
|
5371
|
-
return /* @__PURE__ */
|
|
5687
|
+
return /* @__PURE__ */ React78.createElement("div", { ref, className: "progress-container" }, /* @__PURE__ */ React78.createElement("progress", { id, className: classes, value, max, ...others }, value), (legendStart || legendCenter || legendEnd) && /* @__PURE__ */ React78.createElement("div", { className: "progress-legends" }, legendStart && /* @__PURE__ */ React78.createElement("div", { className: "progress-legend-start" }, /* @__PURE__ */ React78.createElement(Text_default, null, legendStart)), legendCenter && /* @__PURE__ */ React78.createElement("div", { className: "progress-legend-center" }, /* @__PURE__ */ React78.createElement(Text_default, null, legendCenter)), legendEnd && /* @__PURE__ */ React78.createElement("div", { className: "progress-legend-end" }, /* @__PURE__ */ React78.createElement(Text_default, null, legendEnd))));
|
|
5372
5688
|
});
|
|
5373
5689
|
Progress.displayName = "Progress" /* Progress */;
|
|
5374
5690
|
var Progress_default = Progress;
|
|
5375
5691
|
|
|
5376
5692
|
// components/progress/item/ProgressItem.tsx
|
|
5377
|
-
var
|
|
5378
|
-
var
|
|
5379
|
-
var ProgressItem =
|
|
5693
|
+
var import_clsx67 = __toESM(require("clsx"));
|
|
5694
|
+
var import_react41 = __toESM(require("react"));
|
|
5695
|
+
var ProgressItem = import_react41.default.forwardRef(
|
|
5380
5696
|
({ className, percent, maxPercent = 100, minPercent = 0, status, accessibilityLabel, ...others }, ref) => {
|
|
5381
5697
|
const { styled } = useTrilogyContext();
|
|
5382
5698
|
const classes = hashClass(
|
|
5383
5699
|
styled,
|
|
5384
|
-
(0,
|
|
5700
|
+
(0, import_clsx67.default)("progress-bar", status && is(getStatusClassName(status)), !status && is("primary"), className)
|
|
5385
5701
|
);
|
|
5386
|
-
return /* @__PURE__ */
|
|
5702
|
+
return /* @__PURE__ */ import_react41.default.createElement(
|
|
5387
5703
|
"div",
|
|
5388
5704
|
{
|
|
5389
5705
|
ref,
|
|
@@ -5406,9 +5722,9 @@ var ProgressItem_default = ProgressItem;
|
|
|
5406
5722
|
var item_default3 = ProgressItem_default;
|
|
5407
5723
|
|
|
5408
5724
|
// components/progress/radial/ProgressRadial.tsx
|
|
5409
|
-
var
|
|
5410
|
-
var
|
|
5411
|
-
var ProgressRadial =
|
|
5725
|
+
var import_react42 = __toESM(require("react"));
|
|
5726
|
+
var import_clsx68 = __toESM(require("clsx"));
|
|
5727
|
+
var ProgressRadial = import_react42.default.forwardRef(({
|
|
5412
5728
|
children,
|
|
5413
5729
|
value = 0,
|
|
5414
5730
|
secondValue = 0,
|
|
@@ -5421,11 +5737,11 @@ var ProgressRadial = import_react41.default.forwardRef(({
|
|
|
5421
5737
|
...others
|
|
5422
5738
|
}, ref) => {
|
|
5423
5739
|
const { styled } = useTrilogyContext();
|
|
5424
|
-
const [firstProgressCurrentValue, setFirstProgressCurrentValue] = (0,
|
|
5425
|
-
const [secondProgressCurrentValue, setSecondProgressCurrentValue] = (0,
|
|
5426
|
-
const classes = hashClass(styled, (0,
|
|
5427
|
-
const classesContent = hashClass(styled, (0,
|
|
5428
|
-
const progressRadialRef = (0,
|
|
5740
|
+
const [firstProgressCurrentValue, setFirstProgressCurrentValue] = (0, import_react42.useState)(0);
|
|
5741
|
+
const [secondProgressCurrentValue, setSecondProgressCurrentValue] = (0, import_react42.useState)(0);
|
|
5742
|
+
const classes = hashClass(styled, (0, import_clsx68.default)("progress-radial", skeleton && is("loading"), small && is("small"), className));
|
|
5743
|
+
const classesContent = hashClass(styled, (0, import_clsx68.default)("progress-radial-content"));
|
|
5744
|
+
const progressRadialRef = (0, import_react42.useRef)(null);
|
|
5429
5745
|
const updateBackgroundStyle = (firstValue, secondValue2) => {
|
|
5430
5746
|
const progressRadial = progressRadialRef.current;
|
|
5431
5747
|
if (!progressRadial) {
|
|
@@ -5441,7 +5757,7 @@ var ProgressRadial = import_react41.default.forwardRef(({
|
|
|
5441
5757
|
)} ${secondProgressStartDegree}deg ${secondProgressStartDegree + secondProgressDegree}deg, ${getColorStyle("MAIN_FADE")} ${secondProgressStartDegree + secondProgressDegree}deg 360deg)`;
|
|
5442
5758
|
progressRadial.style.background = styleBackground;
|
|
5443
5759
|
};
|
|
5444
|
-
(0,
|
|
5760
|
+
(0, import_react42.useEffect)(() => {
|
|
5445
5761
|
let animationFrameId;
|
|
5446
5762
|
setFirstProgressCurrentValue(0);
|
|
5447
5763
|
setSecondProgressCurrentValue(0);
|
|
@@ -5458,10 +5774,10 @@ var ProgressRadial = import_react41.default.forwardRef(({
|
|
|
5458
5774
|
animationFrameId = requestAnimationFrame(frame);
|
|
5459
5775
|
return () => cancelAnimationFrame(animationFrameId);
|
|
5460
5776
|
}, [value, secondValue]);
|
|
5461
|
-
(0,
|
|
5777
|
+
(0, import_react42.useEffect)(() => {
|
|
5462
5778
|
updateBackgroundStyle(firstProgressCurrentValue, secondProgressCurrentValue);
|
|
5463
5779
|
}, [firstProgressCurrentValue, secondProgressCurrentValue]);
|
|
5464
|
-
return /* @__PURE__ */
|
|
5780
|
+
return /* @__PURE__ */ import_react42.default.createElement("div", { id, ...others, className: classes, ref: progressRadialRef }, /* @__PURE__ */ import_react42.default.createElement("div", { ref, className: classesContent }, label && /* @__PURE__ */ import_react42.default.createElement(Title_default, { level: 2 /* TWO */, marginless: true }, label), description && /* @__PURE__ */ import_react42.default.createElement(Text_default, { level: 1 /* ONE */, marginless: true }, description), !label && !description && children));
|
|
5465
5781
|
});
|
|
5466
5782
|
ProgressRadial.displayName = "ProgressRadial" /* ProgressRadial */;
|
|
5467
5783
|
var ProgressRadial_default = ProgressRadial;
|
|
@@ -5470,23 +5786,23 @@ var ProgressRadial_default = ProgressRadial;
|
|
|
5470
5786
|
var radial_default = ProgressRadial_default;
|
|
5471
5787
|
|
|
5472
5788
|
// components/progress/radial/item/ProgressRadialtem.tsx
|
|
5473
|
-
var
|
|
5474
|
-
var
|
|
5789
|
+
var import_clsx69 = __toESM(require("clsx"));
|
|
5790
|
+
var React81 = __toESM(require("react"));
|
|
5475
5791
|
var ProgressRadialItem = ({ color, className, id }) => {
|
|
5476
5792
|
const { styled } = useTrilogyContext();
|
|
5477
|
-
const classes = hashClass(styled, (0,
|
|
5478
|
-
return /* @__PURE__ */
|
|
5793
|
+
const classes = hashClass(styled, (0, import_clsx69.default)(`progress-circle-slice progress-circle-background-${color}`, className));
|
|
5794
|
+
return /* @__PURE__ */ React81.createElement("div", { id, className: classes });
|
|
5479
5795
|
};
|
|
5480
5796
|
var ProgressRadialtem_default = ProgressRadialItem;
|
|
5481
5797
|
|
|
5482
5798
|
// components/radio/list/RadioList.tsx
|
|
5483
|
-
var
|
|
5484
|
-
var
|
|
5485
|
-
var RadioList =
|
|
5799
|
+
var import_clsx70 = __toESM(require("clsx"));
|
|
5800
|
+
var React82 = __toESM(require("react"));
|
|
5801
|
+
var RadioList = React82.forwardRef(
|
|
5486
5802
|
({ className, id, align, horizontalMobile, verticalDesktop, accessibilityLabelledBy, children, label, ...others }, ref) => {
|
|
5487
5803
|
const { styled } = useTrilogyContext();
|
|
5488
5804
|
const groupLabelClasses = hashClass(styled, "group-label");
|
|
5489
|
-
return /* @__PURE__ */
|
|
5805
|
+
return /* @__PURE__ */ React82.createElement(React82.Fragment, null, label && /* @__PURE__ */ React82.createElement("p", { className: groupLabelClasses }, label, isRequiredChild(children) && /* @__PURE__ */ React82.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, " ", "*")), /* @__PURE__ */ React82.createElement(
|
|
5490
5806
|
"div",
|
|
5491
5807
|
{
|
|
5492
5808
|
ref,
|
|
@@ -5496,7 +5812,7 @@ var RadioList = React77.forwardRef(
|
|
|
5496
5812
|
"aria-required": isRequiredChild(children) ? "true" : void 0,
|
|
5497
5813
|
className: hashClass(
|
|
5498
5814
|
styled,
|
|
5499
|
-
(0,
|
|
5815
|
+
(0, import_clsx70.default)(
|
|
5500
5816
|
"radios",
|
|
5501
5817
|
className,
|
|
5502
5818
|
align && is(getJustifiedClassName(align)),
|
|
@@ -5514,54 +5830,46 @@ RadioList.displayName = "RadioList" /* RadioList */;
|
|
|
5514
5830
|
var RadioList_default = RadioList;
|
|
5515
5831
|
|
|
5516
5832
|
// components/radio/Radio.tsx
|
|
5517
|
-
var
|
|
5518
|
-
var
|
|
5519
|
-
var Radio =
|
|
5520
|
-
checked,
|
|
5521
|
-
|
|
5522
|
-
|
|
5523
|
-
|
|
5524
|
-
|
|
5525
|
-
|
|
5526
|
-
|
|
5527
|
-
|
|
5528
|
-
|
|
5529
|
-
|
|
5530
|
-
|
|
5531
|
-
|
|
5532
|
-
|
|
5533
|
-
|
|
5534
|
-
|
|
5535
|
-
|
|
5536
|
-
|
|
5537
|
-
|
|
5538
|
-
|
|
5539
|
-
|
|
5540
|
-
|
|
5541
|
-
|
|
5542
|
-
|
|
5543
|
-
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
|
|
5547
|
-
|
|
5548
|
-
|
|
5549
|
-
|
|
5550
|
-
radioChecked: e.target.checked
|
|
5551
|
-
});
|
|
5552
|
-
}
|
|
5553
|
-
},
|
|
5554
|
-
...others
|
|
5555
|
-
}
|
|
5556
|
-
), /* @__PURE__ */ import_react42.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx67.default)("radio-label")) }, label));
|
|
5557
|
-
});
|
|
5833
|
+
var import_clsx71 = __toESM(require("clsx"));
|
|
5834
|
+
var import_react43 = __toESM(require("react"));
|
|
5835
|
+
var Radio = import_react43.default.forwardRef(
|
|
5836
|
+
({ checked, className, disabled, readonly, id = import_react43.default.useId(), label, onChange, name, value, required, ...others }, ref) => {
|
|
5837
|
+
const { styled } = useTrilogyContext();
|
|
5838
|
+
return /* @__PURE__ */ import_react43.default.createElement("div", { ref, className: hashClass(styled, (0, import_clsx71.default)("radio", className)) }, /* @__PURE__ */ import_react43.default.createElement(
|
|
5839
|
+
"input",
|
|
5840
|
+
{
|
|
5841
|
+
type: "radio",
|
|
5842
|
+
readOnly: readonly,
|
|
5843
|
+
id,
|
|
5844
|
+
disabled,
|
|
5845
|
+
name,
|
|
5846
|
+
value,
|
|
5847
|
+
checked,
|
|
5848
|
+
required,
|
|
5849
|
+
onChange: (e) => {
|
|
5850
|
+
if (onChange && !disabled && !readonly) {
|
|
5851
|
+
onChange(
|
|
5852
|
+
Object.assign(e, {
|
|
5853
|
+
radioId: e.target.id,
|
|
5854
|
+
radioValue: e.target.value,
|
|
5855
|
+
radioName: e.target.name,
|
|
5856
|
+
radioChecked: e.target.checked
|
|
5857
|
+
})
|
|
5858
|
+
);
|
|
5859
|
+
}
|
|
5860
|
+
},
|
|
5861
|
+
...others
|
|
5862
|
+
}
|
|
5863
|
+
), /* @__PURE__ */ import_react43.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx71.default)("radio-label")) }, label));
|
|
5864
|
+
}
|
|
5865
|
+
);
|
|
5558
5866
|
Radio.displayName = "Radio" /* Radio */;
|
|
5559
5867
|
var Radio_default = Radio;
|
|
5560
5868
|
|
|
5561
5869
|
// components/radio/tiles/RadioTiles.tsx
|
|
5562
|
-
var
|
|
5563
|
-
var
|
|
5564
|
-
var RadioTiles =
|
|
5870
|
+
var import_clsx72 = __toESM(require("clsx"));
|
|
5871
|
+
var React84 = __toESM(require("react"));
|
|
5872
|
+
var RadioTiles = React84.forwardRef(({ id, className, children, align, verticalAlign, accessibilityLabelledBy, ...others }, ref) => {
|
|
5565
5873
|
const { styled } = useTrilogyContext();
|
|
5566
5874
|
let alignClass = null;
|
|
5567
5875
|
if (align) {
|
|
@@ -5571,7 +5879,7 @@ var RadioTiles = React79.forwardRef(({ id, className, children, align, verticalA
|
|
|
5571
5879
|
if (verticalAlign) {
|
|
5572
5880
|
verticalAlignClass = getAlignClassName(verticalAlign) === "aligned-start" && is("aligned-start") || getAlignClassName(verticalAlign) === "aligned-center" && is("aligned-center") || getAlignClassName(verticalAlign) === "aligned-end" && is("aligned-end") || getAlignClassName(verticalAlign) === "aligned-stretch" && is("aligned-stretch") || null;
|
|
5573
5881
|
}
|
|
5574
|
-
return /* @__PURE__ */
|
|
5882
|
+
return /* @__PURE__ */ React84.createElement(
|
|
5575
5883
|
"div",
|
|
5576
5884
|
{
|
|
5577
5885
|
ref,
|
|
@@ -5581,7 +5889,7 @@ var RadioTiles = React79.forwardRef(({ id, className, children, align, verticalA
|
|
|
5581
5889
|
"aria-required": isRequiredChild(children) ? "true" : void 0,
|
|
5582
5890
|
className: hashClass(
|
|
5583
5891
|
styled,
|
|
5584
|
-
(0,
|
|
5892
|
+
(0, import_clsx72.default)("radio-tiles", className, align && alignClass, verticalAlign && verticalAlignClass)
|
|
5585
5893
|
),
|
|
5586
5894
|
...others
|
|
5587
5895
|
},
|
|
@@ -5592,62 +5900,66 @@ RadioTiles.displayName = "RadioTiles" /* RadioTiles */;
|
|
|
5592
5900
|
var RadioTiles_default = RadioTiles;
|
|
5593
5901
|
|
|
5594
5902
|
// components/radio/tiles/tile/RadioTile.tsx
|
|
5595
|
-
var
|
|
5596
|
-
var
|
|
5597
|
-
var RadioTile =
|
|
5598
|
-
|
|
5599
|
-
|
|
5600
|
-
|
|
5601
|
-
|
|
5602
|
-
|
|
5603
|
-
|
|
5604
|
-
|
|
5605
|
-
|
|
5606
|
-
|
|
5607
|
-
|
|
5608
|
-
|
|
5609
|
-
|
|
5610
|
-
|
|
5611
|
-
|
|
5612
|
-
|
|
5613
|
-
|
|
5614
|
-
|
|
5615
|
-
|
|
5616
|
-
|
|
5617
|
-
"
|
|
5618
|
-
|
|
5619
|
-
|
|
5620
|
-
|
|
5621
|
-
|
|
5622
|
-
|
|
5623
|
-
|
|
5624
|
-
|
|
5625
|
-
|
|
5626
|
-
|
|
5627
|
-
|
|
5628
|
-
|
|
5629
|
-
onChange
|
|
5630
|
-
|
|
5631
|
-
|
|
5632
|
-
|
|
5633
|
-
|
|
5634
|
-
|
|
5635
|
-
|
|
5636
|
-
|
|
5637
|
-
|
|
5638
|
-
|
|
5639
|
-
|
|
5640
|
-
|
|
5903
|
+
var import_clsx73 = __toESM(require("clsx"));
|
|
5904
|
+
var import_react44 = __toESM(require("react"));
|
|
5905
|
+
var RadioTile = import_react44.default.forwardRef(
|
|
5906
|
+
({
|
|
5907
|
+
checked,
|
|
5908
|
+
className,
|
|
5909
|
+
disabled,
|
|
5910
|
+
readonly,
|
|
5911
|
+
id = import_react44.default.useId(),
|
|
5912
|
+
label,
|
|
5913
|
+
onChange,
|
|
5914
|
+
name,
|
|
5915
|
+
value,
|
|
5916
|
+
description,
|
|
5917
|
+
icon,
|
|
5918
|
+
horizontal,
|
|
5919
|
+
required,
|
|
5920
|
+
sticker,
|
|
5921
|
+
stickerVariant = "ACCENT" /* ACCENT */,
|
|
5922
|
+
...others
|
|
5923
|
+
}, ref) => {
|
|
5924
|
+
const { styled } = useTrilogyContext();
|
|
5925
|
+
return /* @__PURE__ */ import_react44.default.createElement("div", { ref, className: hashClass(styled, (0, import_clsx73.default)("radio-tile", horizontal && is("horizontal"), className)) }, /* @__PURE__ */ import_react44.default.createElement(
|
|
5926
|
+
"input",
|
|
5927
|
+
{
|
|
5928
|
+
type: "radio",
|
|
5929
|
+
readOnly: readonly,
|
|
5930
|
+
id,
|
|
5931
|
+
disabled,
|
|
5932
|
+
name,
|
|
5933
|
+
value,
|
|
5934
|
+
checked,
|
|
5935
|
+
required,
|
|
5936
|
+
onChange: (e) => {
|
|
5937
|
+
if (onChange && !disabled && !readonly) {
|
|
5938
|
+
onChange(
|
|
5939
|
+
Object.assign(e, {
|
|
5940
|
+
radioId: e.target.id,
|
|
5941
|
+
radioValue: e.target.value,
|
|
5942
|
+
radioName: e.target.name,
|
|
5943
|
+
radioChecked: e.target.checked
|
|
5944
|
+
})
|
|
5945
|
+
);
|
|
5946
|
+
}
|
|
5947
|
+
},
|
|
5948
|
+
...others
|
|
5949
|
+
}
|
|
5950
|
+
), /* @__PURE__ */ import_react44.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx73.default)("radio-label")) }, icon && /* @__PURE__ */ import_react44.default.createElement(Icon_default, { name: icon, size: "medium" /* MEDIUM */ }), horizontal ? /* @__PURE__ */ import_react44.default.createElement("span", null, /* @__PURE__ */ import_react44.default.createElement("span", { className: hashClass(styled, (0, import_clsx73.default)("radio-title")) }, label), description && /* @__PURE__ */ import_react44.default.createElement("span", { className: hashClass(styled, (0, import_clsx73.default)("radio-description")) }, description)) : /* @__PURE__ */ import_react44.default.createElement(import_react44.default.Fragment, null, /* @__PURE__ */ import_react44.default.createElement("span", { className: hashClass(styled, (0, import_clsx73.default)("radio-title")) }, label), description && /* @__PURE__ */ import_react44.default.createElement("span", { className: hashClass(styled, (0, import_clsx73.default)("radio-description")) }, description))), sticker && /* @__PURE__ */ import_react44.default.createElement(Sticker_default, { label: sticker, variant: stickerVariant, className: "radio-sticker", small: true }));
|
|
5951
|
+
}
|
|
5952
|
+
);
|
|
5641
5953
|
RadioTile.displayName = "RadioTile" /* RadioTile */;
|
|
5642
5954
|
var RadioTile_default = RadioTile;
|
|
5643
5955
|
|
|
5644
5956
|
// components/range/Range.tsx
|
|
5645
|
-
var
|
|
5646
|
-
var
|
|
5647
|
-
var Range =
|
|
5957
|
+
var import_clsx74 = __toESM(require("clsx"));
|
|
5958
|
+
var React86 = __toESM(require("react"));
|
|
5959
|
+
var Range = React86.forwardRef(
|
|
5648
5960
|
({
|
|
5649
5961
|
className,
|
|
5650
|
-
id =
|
|
5962
|
+
id = React86.useId(),
|
|
5651
5963
|
min,
|
|
5652
5964
|
max,
|
|
5653
5965
|
label,
|
|
@@ -5663,37 +5975,37 @@ var Range = React81.forwardRef(
|
|
|
5663
5975
|
value
|
|
5664
5976
|
}, ref) => {
|
|
5665
5977
|
const { styled } = useTrilogyContext();
|
|
5666
|
-
const refTrack =
|
|
5667
|
-
const [cursorMin, setCursorMin] =
|
|
5668
|
-
const [cursorMax, setCursorMax] =
|
|
5669
|
-
|
|
5978
|
+
const refTrack = React86.useRef(null);
|
|
5979
|
+
const [cursorMin, setCursorMin] = React86.useState(valueMin != null ? valueMin : 0);
|
|
5980
|
+
const [cursorMax, setCursorMax] = React86.useState(simple ? value || 0 : valueMax != null ? valueMax : max);
|
|
5981
|
+
React86.useEffect(() => {
|
|
5670
5982
|
if (refTrack.current) {
|
|
5671
5983
|
const track = refTrack.current;
|
|
5672
5984
|
track.style.background = `linear-gradient(to right, ${getColorStyle("MAIN_FADE" /* MAIN_FADE */)} ${cursorMin / max * 100}% , ${getColorStyle("MAIN" /* MAIN */)} ${cursorMin / max * 100}% , ${getColorStyle("MAIN" /* MAIN */)} ${cursorMax / max * 100}%, ${getColorStyle("MAIN_FADE" /* MAIN_FADE */)} ${cursorMax / max * 100}%) `;
|
|
5673
5985
|
}
|
|
5674
5986
|
}, [cursorMin, cursorMax]);
|
|
5675
|
-
|
|
5987
|
+
React86.useEffect(() => {
|
|
5676
5988
|
setCursorMin(valueMin || 0);
|
|
5677
5989
|
}, [valueMin]);
|
|
5678
|
-
|
|
5990
|
+
React86.useEffect(() => {
|
|
5679
5991
|
if (!simple) setCursorMax(valueMax || max);
|
|
5680
5992
|
}, [valueMax, simple]);
|
|
5681
|
-
|
|
5993
|
+
React86.useEffect(() => {
|
|
5682
5994
|
if (simple && value !== void 0) setCursorMax(value);
|
|
5683
5995
|
}, [value, simple]);
|
|
5684
|
-
const handleChangeCursorMin =
|
|
5996
|
+
const handleChangeCursorMin = React86.useCallback(
|
|
5685
5997
|
(e) => {
|
|
5686
5998
|
if (Number(e.target.value) < cursorMax - gap) setCursorMin(Number(e.target.value));
|
|
5687
5999
|
},
|
|
5688
6000
|
[cursorMax, cursorMin]
|
|
5689
6001
|
);
|
|
5690
|
-
const handleChangeCursorMax =
|
|
6002
|
+
const handleChangeCursorMax = React86.useCallback(
|
|
5691
6003
|
(e) => {
|
|
5692
6004
|
if (Number(e.target.value) >= cursorMin + gap) setCursorMax(Number(e.target.value));
|
|
5693
6005
|
},
|
|
5694
6006
|
[cursorMax, cursorMin]
|
|
5695
6007
|
);
|
|
5696
|
-
const handleMouseUpMin =
|
|
6008
|
+
const handleMouseUpMin = React86.useCallback(() => {
|
|
5697
6009
|
if (onChangeMin) {
|
|
5698
6010
|
onChangeMin({
|
|
5699
6011
|
inputName: name,
|
|
@@ -5701,7 +6013,7 @@ var Range = React81.forwardRef(
|
|
|
5701
6013
|
});
|
|
5702
6014
|
}
|
|
5703
6015
|
}, [onChangeMin, name, cursorMin]);
|
|
5704
|
-
const handleMouseUpMax =
|
|
6016
|
+
const handleMouseUpMax = React86.useCallback(() => {
|
|
5705
6017
|
if (onChangeMax && !simple) {
|
|
5706
6018
|
onChangeMax({
|
|
5707
6019
|
inputName: name,
|
|
@@ -5715,10 +6027,10 @@ var Range = React81.forwardRef(
|
|
|
5715
6027
|
});
|
|
5716
6028
|
}
|
|
5717
6029
|
}, [onChangeMax, name, cursorMax, onChange, simple]);
|
|
5718
|
-
return /* @__PURE__ */
|
|
6030
|
+
return /* @__PURE__ */ React86.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx74.default)("range-container", className)) }, /* @__PURE__ */ React86.createElement("label", { className: hashClass(styled, (0, import_clsx74.default)("range-label")) }, label), /* @__PURE__ */ React86.createElement("div", { className: hashClass(styled, (0, import_clsx74.default)("range")) }, /* @__PURE__ */ React86.createElement("div", { ref: refTrack, className: hashClass(styled, (0, import_clsx74.default)("range-track")) }), !simple && /* @__PURE__ */ React86.createElement(
|
|
5719
6031
|
"input",
|
|
5720
6032
|
{
|
|
5721
|
-
className: hashClass(styled, (0,
|
|
6033
|
+
className: hashClass(styled, (0, import_clsx74.default)("range-cursor range-cursor-min")),
|
|
5722
6034
|
onTouchEnd: handleMouseUpMin,
|
|
5723
6035
|
onMouseUp: handleMouseUpMin,
|
|
5724
6036
|
onChange: handleChangeCursorMin,
|
|
@@ -5730,10 +6042,10 @@ var Range = React81.forwardRef(
|
|
|
5730
6042
|
id: `${id}-min`,
|
|
5731
6043
|
"aria-label": label
|
|
5732
6044
|
}
|
|
5733
|
-
), /* @__PURE__ */
|
|
6045
|
+
), /* @__PURE__ */ React86.createElement(
|
|
5734
6046
|
"input",
|
|
5735
6047
|
{
|
|
5736
|
-
className: hashClass(styled, (0,
|
|
6048
|
+
className: hashClass(styled, (0, import_clsx74.default)("range-cursor", !simple && "range-cursor-max")),
|
|
5737
6049
|
onTouchEnd: handleMouseUpMax,
|
|
5738
6050
|
onMouseUp: handleMouseUpMax,
|
|
5739
6051
|
onChange: handleChangeCursorMax,
|
|
@@ -5745,25 +6057,25 @@ var Range = React81.forwardRef(
|
|
|
5745
6057
|
id: `${id}-max`,
|
|
5746
6058
|
"aria-label": label
|
|
5747
6059
|
}
|
|
5748
|
-
)), /* @__PURE__ */
|
|
6060
|
+
)), /* @__PURE__ */ React86.createElement("div", { className: hashClass(styled, (0, import_clsx74.default)("range-values")) }, !simple && /* @__PURE__ */ React86.createElement("div", null, /* @__PURE__ */ React86.createElement("span", { className: hashClass(styled, (0, import_clsx74.default)("range-value-min")) }, cursorMin), unit && /* @__PURE__ */ React86.createElement("span", null, " ", unit)), /* @__PURE__ */ React86.createElement("div", null, /* @__PURE__ */ React86.createElement("span", { className: hashClass(styled, (0, import_clsx74.default)(simple ? "range-value" : "range-value-max")) }, cursorMax), unit && /* @__PURE__ */ React86.createElement("span", null, " ", unit))));
|
|
5749
6061
|
}
|
|
5750
6062
|
);
|
|
5751
6063
|
Range.displayName = "Range" /* Range */;
|
|
5752
6064
|
var Range_default = Range;
|
|
5753
6065
|
|
|
5754
6066
|
// components/rows/Rows.tsx
|
|
5755
|
-
var
|
|
5756
|
-
var
|
|
5757
|
-
var Rows =
|
|
6067
|
+
var import_clsx75 = __toESM(require("clsx"));
|
|
6068
|
+
var React87 = __toESM(require("react"));
|
|
6069
|
+
var Rows = React87.forwardRef(({ className, id, gap, ...others }, ref) => {
|
|
5758
6070
|
const { styled } = useTrilogyContext();
|
|
5759
|
-
return /* @__PURE__ */
|
|
6071
|
+
return /* @__PURE__ */ React87.createElement(
|
|
5760
6072
|
"div",
|
|
5761
6073
|
{
|
|
5762
6074
|
ref,
|
|
5763
6075
|
id,
|
|
5764
6076
|
className: hashClass(
|
|
5765
6077
|
styled,
|
|
5766
|
-
(0,
|
|
6078
|
+
(0, import_clsx75.default)("rows", gap && has(`gap-${gap}`), typeof gap !== "undefined" && gap === 0 && is("gapless"), className)
|
|
5767
6079
|
),
|
|
5768
6080
|
...others
|
|
5769
6081
|
}
|
|
@@ -5773,12 +6085,12 @@ Rows.displayName = "Rows" /* Rows */;
|
|
|
5773
6085
|
var Rows_default = Rows;
|
|
5774
6086
|
|
|
5775
6087
|
// components/rows/row/Row.tsx
|
|
5776
|
-
var
|
|
5777
|
-
var
|
|
5778
|
-
var Row =
|
|
6088
|
+
var import_clsx76 = __toESM(require("clsx"));
|
|
6089
|
+
var React88 = __toESM(require("react"));
|
|
6090
|
+
var Row = React88.forwardRef(({ className, id, narrow, ...others }, ref) => {
|
|
5779
6091
|
const { styled } = useTrilogyContext();
|
|
5780
|
-
const classes = hashClass(styled, (0,
|
|
5781
|
-
return /* @__PURE__ */
|
|
6092
|
+
const classes = hashClass(styled, (0, import_clsx76.default)("row", narrow && is("narrow"), className));
|
|
6093
|
+
return /* @__PURE__ */ React88.createElement("div", { ref, id, className: classes, ...others });
|
|
5782
6094
|
});
|
|
5783
6095
|
Row.displayName = "Row" /* Row */;
|
|
5784
6096
|
var Row_default = Row;
|
|
@@ -5787,9 +6099,9 @@ var Row_default = Row;
|
|
|
5787
6099
|
var row_default = Row_default;
|
|
5788
6100
|
|
|
5789
6101
|
// components/scroll-view/ScrollView.tsx
|
|
5790
|
-
var
|
|
5791
|
-
var
|
|
5792
|
-
var ScrollView =
|
|
6102
|
+
var import_clsx77 = __toESM(require("clsx"));
|
|
6103
|
+
var React89 = __toESM(require("react"));
|
|
6104
|
+
var ScrollView = React89.forwardRef(
|
|
5793
6105
|
({ id, scrollDirection, children }, ref) => {
|
|
5794
6106
|
const { styled } = useTrilogyContext();
|
|
5795
6107
|
const scrollDirectionClassName = () => {
|
|
@@ -5805,22 +6117,22 @@ var ScrollView = React84.forwardRef(
|
|
|
5805
6117
|
};
|
|
5806
6118
|
const classes = hashClass(
|
|
5807
6119
|
styled,
|
|
5808
|
-
(0,
|
|
6120
|
+
(0, import_clsx77.default)("scroll-view", scrollDirection && scrollDirectionClassName())
|
|
5809
6121
|
);
|
|
5810
|
-
return /* @__PURE__ */
|
|
6122
|
+
return /* @__PURE__ */ React89.createElement("div", { ref, className: classes, id }, children);
|
|
5811
6123
|
}
|
|
5812
6124
|
);
|
|
5813
6125
|
ScrollView.displayName = "ScrollView" /* ScrollView */;
|
|
5814
6126
|
var ScrollView_default = ScrollView;
|
|
5815
6127
|
|
|
5816
6128
|
// components/section/Section.tsx
|
|
5817
|
-
var
|
|
5818
|
-
var
|
|
5819
|
-
var Section =
|
|
6129
|
+
var import_clsx78 = __toESM(require("clsx"));
|
|
6130
|
+
var import_react45 = __toESM(require("react"));
|
|
6131
|
+
var Section = import_react45.default.forwardRef(({ className, id, skeleton, backgroundColor, backgroundSrc, inverted, ...others }, ref) => {
|
|
5820
6132
|
const { styled } = useTrilogyContext();
|
|
5821
6133
|
const _className = hashClass(
|
|
5822
6134
|
styled,
|
|
5823
|
-
(0,
|
|
6135
|
+
(0, import_clsx78.default)(
|
|
5824
6136
|
"section",
|
|
5825
6137
|
className,
|
|
5826
6138
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
@@ -5829,7 +6141,7 @@ var Section = import_react44.default.forwardRef(({ className, id, skeleton, back
|
|
|
5829
6141
|
skeleton && is("loading")
|
|
5830
6142
|
)
|
|
5831
6143
|
);
|
|
5832
|
-
return /* @__PURE__ */
|
|
6144
|
+
return /* @__PURE__ */ import_react45.default.createElement(
|
|
5833
6145
|
"section",
|
|
5834
6146
|
{
|
|
5835
6147
|
ref,
|
|
@@ -5846,27 +6158,27 @@ Section.displayName = "Section" /* Section */;
|
|
|
5846
6158
|
var Section_default = Section;
|
|
5847
6159
|
|
|
5848
6160
|
// components/segment-control/SegmentControl.tsx
|
|
5849
|
-
var
|
|
5850
|
-
var
|
|
6161
|
+
var import_clsx80 = __toESM(require("clsx"));
|
|
6162
|
+
var import_react47 = __toESM(require("react"));
|
|
5851
6163
|
|
|
5852
6164
|
// components/segment-control/item/SegmentControlItem.tsx
|
|
5853
|
-
var
|
|
5854
|
-
var
|
|
5855
|
-
var SegmentControlItem =
|
|
6165
|
+
var import_clsx79 = __toESM(require("clsx"));
|
|
6166
|
+
var import_react46 = __toESM(require("react"));
|
|
6167
|
+
var SegmentControlItem = import_react46.default.forwardRef(
|
|
5856
6168
|
({ active, onClick, disabled, className, id, children, ...others }, ref) => {
|
|
5857
|
-
const [activeItem, setActiveItem] = (0,
|
|
6169
|
+
const [activeItem, setActiveItem] = (0, import_react46.useState)(active || false);
|
|
5858
6170
|
const { styled } = useTrilogyContext();
|
|
5859
|
-
(0,
|
|
6171
|
+
(0, import_react46.useEffect)(() => {
|
|
5860
6172
|
setActiveItem(active || false);
|
|
5861
6173
|
}, [active]);
|
|
5862
|
-
return /* @__PURE__ */
|
|
6174
|
+
return /* @__PURE__ */ import_react46.default.createElement(
|
|
5863
6175
|
"button",
|
|
5864
6176
|
{
|
|
5865
6177
|
type: "button",
|
|
5866
6178
|
ref,
|
|
5867
6179
|
id,
|
|
5868
6180
|
disabled,
|
|
5869
|
-
className: hashClass(styled, (0,
|
|
6181
|
+
className: hashClass(styled, (0, import_clsx79.default)("segmented-control-item", className, { "is-active": activeItem })),
|
|
5870
6182
|
onClick: (e) => {
|
|
5871
6183
|
const target = e.target;
|
|
5872
6184
|
setActiveItem(active || false);
|
|
@@ -5888,10 +6200,10 @@ var SegmentControlItem_default = SegmentControlItem;
|
|
|
5888
6200
|
var item_default4 = SegmentControlItem_default;
|
|
5889
6201
|
|
|
5890
6202
|
// components/segment-control/SegmentControl.tsx
|
|
5891
|
-
var SegmentControl =
|
|
6203
|
+
var SegmentControl = import_react47.default.forwardRef(({ className, id, onClick, children, activeIndex, align, ...others }, ref) => {
|
|
5892
6204
|
const { styled } = useTrilogyContext();
|
|
5893
|
-
const classes = hashClass(styled, (0,
|
|
5894
|
-
const [activateIndex, setActivateIndex] = (0,
|
|
6205
|
+
const classes = hashClass(styled, (0, import_clsx80.default)("segmented-control", align && getJustifiedClassName(align), className));
|
|
6206
|
+
const [activateIndex, setActivateIndex] = (0, import_react47.useState)(activeIndex || 0);
|
|
5895
6207
|
const isActive = (index, childPropsActive) => {
|
|
5896
6208
|
if (typeof childPropsActive !== "undefined" && !activateIndex) {
|
|
5897
6209
|
return childPropsActive;
|
|
@@ -5904,10 +6216,10 @@ var SegmentControl = import_react46.default.forwardRef(({ className, id, onClick
|
|
|
5904
6216
|
setActivateIndex(index);
|
|
5905
6217
|
if (onClick) onClick(e);
|
|
5906
6218
|
};
|
|
5907
|
-
|
|
6219
|
+
import_react47.default.useEffect(() => {
|
|
5908
6220
|
setActivateIndex(activateIndex);
|
|
5909
6221
|
}, [activateIndex]);
|
|
5910
|
-
return /* @__PURE__ */
|
|
6222
|
+
return /* @__PURE__ */ import_react47.default.createElement("div", { ref, id, className: classes, ...others }, children && Array.isArray(children) && // eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
5911
6223
|
children.map((child, index) => {
|
|
5912
6224
|
const props = {
|
|
5913
6225
|
active: Boolean(isActive(index, child.props.active)) || false,
|
|
@@ -5922,7 +6234,7 @@ var SegmentControl = import_react46.default.forwardRef(({ className, id, onClick
|
|
|
5922
6234
|
}
|
|
5923
6235
|
}
|
|
5924
6236
|
};
|
|
5925
|
-
return child && typeof child.valueOf() === "string" ? /* @__PURE__ */
|
|
6237
|
+
return child && typeof child.valueOf() === "string" ? /* @__PURE__ */ import_react47.default.createElement(
|
|
5926
6238
|
item_default4,
|
|
5927
6239
|
{
|
|
5928
6240
|
disabled: props.disabled,
|
|
@@ -5931,23 +6243,23 @@ var SegmentControl = import_react46.default.forwardRef(({ className, id, onClick
|
|
|
5931
6243
|
onClick: (e) => onClick == null ? void 0 : onClick(e)
|
|
5932
6244
|
},
|
|
5933
6245
|
child
|
|
5934
|
-
) :
|
|
6246
|
+
) : import_react47.default.cloneElement(child, props);
|
|
5935
6247
|
}));
|
|
5936
6248
|
});
|
|
5937
6249
|
SegmentControl.displayName = "SegmentControl" /* SegmentControl */;
|
|
5938
6250
|
var SegmentControl_default = SegmentControl;
|
|
5939
6251
|
|
|
5940
6252
|
// components/skeleton/Skeleton.tsx
|
|
5941
|
-
var
|
|
6253
|
+
var import_react48 = __toESM(require("react"));
|
|
5942
6254
|
var Skeleton = () => {
|
|
5943
|
-
return /* @__PURE__ */
|
|
6255
|
+
return /* @__PURE__ */ import_react48.default.createElement("div", null);
|
|
5944
6256
|
};
|
|
5945
6257
|
var Skeleton_default = Skeleton;
|
|
5946
6258
|
|
|
5947
6259
|
// components/spacer/Spacer.tsx
|
|
5948
|
-
var
|
|
5949
|
-
var
|
|
5950
|
-
var Spacer =
|
|
6260
|
+
var import_clsx81 = __toESM(require("clsx"));
|
|
6261
|
+
var React94 = __toESM(require("react"));
|
|
6262
|
+
var Spacer = React94.forwardRef(({ size: size2, horizontal, className, id }, ref) => {
|
|
5951
6263
|
const { styled } = useTrilogyContext();
|
|
5952
6264
|
const styles = {
|
|
5953
6265
|
spacer: {
|
|
@@ -5955,25 +6267,25 @@ var Spacer = React89.forwardRef(({ size: size2, horizontal, className, id }, ref
|
|
|
5955
6267
|
marginTop: !horizontal ? `${size2}px` : "0px"
|
|
5956
6268
|
}
|
|
5957
6269
|
};
|
|
5958
|
-
const classes = hashClass(styled, (0,
|
|
5959
|
-
return /* @__PURE__ */
|
|
6270
|
+
const classes = hashClass(styled, (0, import_clsx81.default)(className));
|
|
6271
|
+
return /* @__PURE__ */ React94.createElement("div", { ref, id, style: styles.spacer, className: classes });
|
|
5960
6272
|
});
|
|
5961
6273
|
Spacer.displayName = "Spacer" /* Spacer */;
|
|
5962
6274
|
var Spacer_default = Spacer;
|
|
5963
6275
|
|
|
5964
6276
|
// components/stepper/Stepper.tsx
|
|
5965
|
-
var
|
|
5966
|
-
var
|
|
5967
|
-
var Stepper =
|
|
6277
|
+
var import_clsx82 = __toESM(require("clsx"));
|
|
6278
|
+
var React95 = __toESM(require("react"));
|
|
6279
|
+
var Stepper = React95.forwardRef(({ className, id, children, ...others }, ref) => {
|
|
5968
6280
|
const { styled } = useTrilogyContext();
|
|
5969
|
-
const classes = hashClass(styled, (0,
|
|
5970
|
-
const [currentStep, setCurrentStep] =
|
|
5971
|
-
const nbChild =
|
|
6281
|
+
const classes = hashClass(styled, (0, import_clsx82.default)("stepper-wrapper", className));
|
|
6282
|
+
const [currentStep, setCurrentStep] = React95.useState(1);
|
|
6283
|
+
const nbChild = React95.useMemo(() => {
|
|
5972
6284
|
if (children && Array.isArray(children)) return children.length;
|
|
5973
6285
|
if (children && !Array.isArray(children)) return 1;
|
|
5974
6286
|
return 0;
|
|
5975
6287
|
}, [children]);
|
|
5976
|
-
|
|
6288
|
+
React95.useEffect(() => {
|
|
5977
6289
|
if (children) {
|
|
5978
6290
|
if (Array.isArray(children)) {
|
|
5979
6291
|
let haveCurrentStep = false;
|
|
@@ -5990,20 +6302,20 @@ var Stepper = React90.forwardRef(({ className, id, children, ...others }, ref) =
|
|
|
5990
6302
|
}
|
|
5991
6303
|
}
|
|
5992
6304
|
}, [children]);
|
|
5993
|
-
return /* @__PURE__ */
|
|
6305
|
+
return /* @__PURE__ */ React95.createElement("div", { ref, id, className: classes, ...others }, children, /* @__PURE__ */ React95.createElement("div", { className: "step-count" }, /* @__PURE__ */ React95.createElement(Text_default, null, currentStep, "/", nbChild)));
|
|
5994
6306
|
});
|
|
5995
6307
|
Stepper.displayName = "Stepper" /* Stepper */;
|
|
5996
6308
|
var Stepper_default = Stepper;
|
|
5997
6309
|
|
|
5998
6310
|
// components/stepper/step/Step.tsx
|
|
5999
|
-
var
|
|
6000
|
-
var
|
|
6001
|
-
var Step =
|
|
6311
|
+
var import_clsx83 = __toESM(require("clsx"));
|
|
6312
|
+
var import_react49 = __toESM(require("react"));
|
|
6313
|
+
var Step = import_react49.default.forwardRef(({ className, id, active, current, done, label, iconName, error, ...others }, ref) => {
|
|
6002
6314
|
const { styled } = useTrilogyContext();
|
|
6003
|
-
const classesStepLabel = hashClass(styled, (0,
|
|
6315
|
+
const classesStepLabel = hashClass(styled, (0, import_clsx83.default)("step-label"));
|
|
6004
6316
|
const classes = hashClass(
|
|
6005
6317
|
styled,
|
|
6006
|
-
(0,
|
|
6318
|
+
(0, import_clsx83.default)(
|
|
6007
6319
|
"stepper-item",
|
|
6008
6320
|
active && is("active"),
|
|
6009
6321
|
current && is("current"),
|
|
@@ -6012,7 +6324,7 @@ var Step = import_react48.default.forwardRef(({ className, id, active, current,
|
|
|
6012
6324
|
className
|
|
6013
6325
|
)
|
|
6014
6326
|
);
|
|
6015
|
-
return /* @__PURE__ */
|
|
6327
|
+
return /* @__PURE__ */ import_react49.default.createElement("div", { ref, id, className: classes, "data-label": label, ...others }, /* @__PURE__ */ import_react49.default.createElement("div", { className: classesStepLabel }, label, !done && iconName && /* @__PURE__ */ import_react49.default.createElement(Icon_default, { name: iconName && iconName, className: "step-icon", size: "medium" /* MEDIUM */ })));
|
|
6016
6328
|
});
|
|
6017
6329
|
Step.displayName = "Step" /* Step */;
|
|
6018
6330
|
var Step_default = Step;
|
|
@@ -6030,11 +6342,11 @@ var StepMarkup = /* @__PURE__ */ ((StepMarkup2) => {
|
|
|
6030
6342
|
var step_default = Step_default;
|
|
6031
6343
|
|
|
6032
6344
|
// components/switch/Switch.tsx
|
|
6033
|
-
var
|
|
6034
|
-
var
|
|
6035
|
-
var Switch =
|
|
6345
|
+
var import_clsx84 = __toESM(require("clsx"));
|
|
6346
|
+
var import_react50 = __toESM(require("react"));
|
|
6347
|
+
var Switch = import_react50.default.forwardRef(({
|
|
6036
6348
|
className,
|
|
6037
|
-
id =
|
|
6349
|
+
id = import_react50.default.useId(),
|
|
6038
6350
|
label,
|
|
6039
6351
|
value,
|
|
6040
6352
|
checked,
|
|
@@ -6048,23 +6360,23 @@ var Switch = import_react49.default.forwardRef(({
|
|
|
6048
6360
|
fullWidth,
|
|
6049
6361
|
...others
|
|
6050
6362
|
}, ref) => {
|
|
6051
|
-
const [_checked, setChecked] = (0,
|
|
6363
|
+
const [_checked, setChecked] = (0, import_react50.useState)(checked || false);
|
|
6052
6364
|
const { styled } = useTrilogyContext();
|
|
6053
|
-
|
|
6365
|
+
import_react50.default.useEffect(() => {
|
|
6054
6366
|
setChecked(checked || false);
|
|
6055
6367
|
}, [checked]);
|
|
6056
|
-
(0,
|
|
6368
|
+
(0, import_react50.useEffect)(() => {
|
|
6057
6369
|
if (!readonly) {
|
|
6058
6370
|
setChecked(checked || false);
|
|
6059
6371
|
}
|
|
6060
6372
|
}, [checked, readonly]);
|
|
6061
|
-
return /* @__PURE__ */
|
|
6373
|
+
return /* @__PURE__ */ import_react50.default.createElement(
|
|
6062
6374
|
"div",
|
|
6063
6375
|
{
|
|
6064
6376
|
ref,
|
|
6065
|
-
className: hashClass(styled, (0,
|
|
6377
|
+
className: hashClass(styled, (0, import_clsx84.default)("switch", reversed && is("reversed"), fullWidth && is("fullwidth"), className))
|
|
6066
6378
|
},
|
|
6067
|
-
/* @__PURE__ */
|
|
6379
|
+
/* @__PURE__ */ import_react50.default.createElement(
|
|
6068
6380
|
"input",
|
|
6069
6381
|
{
|
|
6070
6382
|
onChange: (e) => {
|
|
@@ -6096,19 +6408,19 @@ var Switch = import_react49.default.forwardRef(({
|
|
|
6096
6408
|
id: `switch-${id}`,
|
|
6097
6409
|
type: "checkbox",
|
|
6098
6410
|
disabled,
|
|
6099
|
-
className: hashClass(styled, (0,
|
|
6411
|
+
className: hashClass(styled, (0, import_clsx84.default)(status && is(getStatusClassName(status)))),
|
|
6100
6412
|
...others
|
|
6101
6413
|
}
|
|
6102
6414
|
),
|
|
6103
|
-
/* @__PURE__ */
|
|
6415
|
+
/* @__PURE__ */ import_react50.default.createElement("label", { htmlFor: `switch-${id}` }, label)
|
|
6104
6416
|
);
|
|
6105
6417
|
});
|
|
6106
6418
|
Switch.displayName = "Switch" /* Switch */;
|
|
6107
6419
|
var Switch_default = Switch;
|
|
6108
6420
|
|
|
6109
6421
|
// components/table/Table.tsx
|
|
6110
|
-
var
|
|
6111
|
-
var
|
|
6422
|
+
var React98 = __toESM(require("react"));
|
|
6423
|
+
var import_clsx85 = __toESM(require("clsx"));
|
|
6112
6424
|
|
|
6113
6425
|
// components/table/TableProps.ts
|
|
6114
6426
|
var TableBorderEnum = /* @__PURE__ */ ((TableBorderEnum2) => {
|
|
@@ -6119,7 +6431,7 @@ var TableBorderEnum = /* @__PURE__ */ ((TableBorderEnum2) => {
|
|
|
6119
6431
|
})(TableBorderEnum || {});
|
|
6120
6432
|
|
|
6121
6433
|
// components/table/Table.tsx
|
|
6122
|
-
var Table =
|
|
6434
|
+
var Table = React98.forwardRef(({
|
|
6123
6435
|
className,
|
|
6124
6436
|
id,
|
|
6125
6437
|
fullwidth,
|
|
@@ -6131,7 +6443,7 @@ var Table = React93.forwardRef(({
|
|
|
6131
6443
|
const { styled } = useTrilogyContext();
|
|
6132
6444
|
const classes = hashClass(
|
|
6133
6445
|
styled,
|
|
6134
|
-
(0,
|
|
6446
|
+
(0, import_clsx85.default)(
|
|
6135
6447
|
"table",
|
|
6136
6448
|
fullwidth && is("fullwidth"),
|
|
6137
6449
|
border && border !== "lines" /* LINES */ && has(`border-${border}`),
|
|
@@ -6140,25 +6452,25 @@ var Table = React93.forwardRef(({
|
|
|
6140
6452
|
className
|
|
6141
6453
|
)
|
|
6142
6454
|
);
|
|
6143
|
-
return /* @__PURE__ */
|
|
6455
|
+
return /* @__PURE__ */ React98.createElement("table", { ref, id, className: classes, ...others });
|
|
6144
6456
|
});
|
|
6145
6457
|
Table.displayName = "Table" /* Table */;
|
|
6146
6458
|
var Table_default = Table;
|
|
6147
6459
|
|
|
6148
6460
|
// components/table/head/TableHead.tsx
|
|
6149
|
-
var
|
|
6150
|
-
var
|
|
6151
|
-
var TableHead =
|
|
6461
|
+
var React99 = __toESM(require("react"));
|
|
6462
|
+
var import_clsx86 = __toESM(require("clsx"));
|
|
6463
|
+
var TableHead = React99.forwardRef(({ className, id, color, backgroundColor, ...others }, ref) => {
|
|
6152
6464
|
const { styled } = useTrilogyContext();
|
|
6153
6465
|
const classes = hashClass(
|
|
6154
6466
|
styled,
|
|
6155
|
-
(0,
|
|
6467
|
+
(0, import_clsx86.default)(
|
|
6156
6468
|
className,
|
|
6157
6469
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
6158
6470
|
color && is(getColorClassName(color))
|
|
6159
6471
|
)
|
|
6160
6472
|
);
|
|
6161
|
-
return /* @__PURE__ */
|
|
6473
|
+
return /* @__PURE__ */ React99.createElement("thead", { ref, id, className: classes, ...others });
|
|
6162
6474
|
});
|
|
6163
6475
|
TableHead.displayName = "TableHead" /* TableHead */;
|
|
6164
6476
|
var TableHead_default = TableHead;
|
|
@@ -6167,19 +6479,19 @@ var TableHead_default = TableHead;
|
|
|
6167
6479
|
var head_default = TableHead_default;
|
|
6168
6480
|
|
|
6169
6481
|
// components/table/body/TableBody.tsx
|
|
6170
|
-
var
|
|
6171
|
-
var
|
|
6172
|
-
var TableBody =
|
|
6482
|
+
var React100 = __toESM(require("react"));
|
|
6483
|
+
var import_clsx87 = __toESM(require("clsx"));
|
|
6484
|
+
var TableBody = React100.forwardRef(({ className, id, color, backgroundColor, ...others }, ref) => {
|
|
6173
6485
|
const { styled } = useTrilogyContext();
|
|
6174
6486
|
const classes = hashClass(
|
|
6175
6487
|
styled,
|
|
6176
|
-
(0,
|
|
6488
|
+
(0, import_clsx87.default)(
|
|
6177
6489
|
className,
|
|
6178
6490
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
6179
6491
|
color && is(getColorClassName(color))
|
|
6180
6492
|
)
|
|
6181
6493
|
);
|
|
6182
|
-
return /* @__PURE__ */
|
|
6494
|
+
return /* @__PURE__ */ React100.createElement("tbody", { ref, id, className: classes, ...others });
|
|
6183
6495
|
});
|
|
6184
6496
|
TableBody.displayName = "TableBody" /* TableBody */;
|
|
6185
6497
|
var TableBody_default = TableBody;
|
|
@@ -6188,12 +6500,12 @@ var TableBody_default = TableBody;
|
|
|
6188
6500
|
var body_default = TableBody_default;
|
|
6189
6501
|
|
|
6190
6502
|
// components/table/th/TableTh.tsx
|
|
6191
|
-
var
|
|
6192
|
-
var
|
|
6193
|
-
var TableTh =
|
|
6503
|
+
var React101 = __toESM(require("react"));
|
|
6504
|
+
var import_clsx88 = __toESM(require("clsx"));
|
|
6505
|
+
var TableTh = React101.forwardRef(({ className, id, colSpan, rowSpan, ...others }, ref) => {
|
|
6194
6506
|
const { styled } = useTrilogyContext();
|
|
6195
|
-
const classes = hashClass(styled, (0,
|
|
6196
|
-
return /* @__PURE__ */
|
|
6507
|
+
const classes = hashClass(styled, (0, import_clsx88.default)(className));
|
|
6508
|
+
return /* @__PURE__ */ React101.createElement("th", { ref, id, className: classes, colSpan, rowSpan, ...others });
|
|
6197
6509
|
});
|
|
6198
6510
|
TableTh.displayName = "TableTh" /* TableTh */;
|
|
6199
6511
|
var TableTh_default = TableTh;
|
|
@@ -6202,9 +6514,9 @@ var TableTh_default = TableTh;
|
|
|
6202
6514
|
var th_default = TableTh_default;
|
|
6203
6515
|
|
|
6204
6516
|
// components/table/tr/TableTr.tsx
|
|
6205
|
-
var
|
|
6206
|
-
var
|
|
6207
|
-
var TableTr =
|
|
6517
|
+
var React102 = __toESM(require("react"));
|
|
6518
|
+
var import_clsx89 = __toESM(require("clsx"));
|
|
6519
|
+
var TableTr = React102.forwardRef(({
|
|
6208
6520
|
className,
|
|
6209
6521
|
id,
|
|
6210
6522
|
expandable,
|
|
@@ -6216,7 +6528,7 @@ var TableTr = React97.forwardRef(({
|
|
|
6216
6528
|
const { styled } = useTrilogyContext();
|
|
6217
6529
|
const classes = hashClass(
|
|
6218
6530
|
styled,
|
|
6219
|
-
(0,
|
|
6531
|
+
(0, import_clsx89.default)(
|
|
6220
6532
|
className,
|
|
6221
6533
|
expandable && is("expandable"),
|
|
6222
6534
|
expanded && is("expanded"),
|
|
@@ -6224,7 +6536,7 @@ var TableTr = React97.forwardRef(({
|
|
|
6224
6536
|
color && getColorClassName(color)
|
|
6225
6537
|
)
|
|
6226
6538
|
);
|
|
6227
|
-
return /* @__PURE__ */
|
|
6539
|
+
return /* @__PURE__ */ React102.createElement("tr", { ref, id, className: classes, ...others });
|
|
6228
6540
|
});
|
|
6229
6541
|
TableTr.displayName = "TableTr" /* TableTr */;
|
|
6230
6542
|
var TableTr_default = TableTr;
|
|
@@ -6233,12 +6545,12 @@ var TableTr_default = TableTr;
|
|
|
6233
6545
|
var tr_default = TableTr_default;
|
|
6234
6546
|
|
|
6235
6547
|
// components/table/td/TableTd.tsx
|
|
6236
|
-
var
|
|
6237
|
-
var
|
|
6238
|
-
var TableTd =
|
|
6548
|
+
var React103 = __toESM(require("react"));
|
|
6549
|
+
var import_clsx90 = __toESM(require("clsx"));
|
|
6550
|
+
var TableTd = React103.forwardRef(({ className, id, rowSpan, colSpan, ...others }, ref) => {
|
|
6239
6551
|
const { styled } = useTrilogyContext();
|
|
6240
|
-
const classes = hashClass(styled, (0,
|
|
6241
|
-
return /* @__PURE__ */
|
|
6552
|
+
const classes = hashClass(styled, (0, import_clsx90.default)(className));
|
|
6553
|
+
return /* @__PURE__ */ React103.createElement("td", { ref, id, className: classes, rowSpan, colSpan, ...others });
|
|
6242
6554
|
});
|
|
6243
6555
|
TableTd.displayName = "TableTd" /* TableTd */;
|
|
6244
6556
|
var TableTd_default = TableTd;
|
|
@@ -6247,8 +6559,8 @@ var TableTd_default = TableTd;
|
|
|
6247
6559
|
var td_default = TableTd_default;
|
|
6248
6560
|
|
|
6249
6561
|
// components/tabs/context/index.tsx
|
|
6250
|
-
var
|
|
6251
|
-
var TabsContext =
|
|
6562
|
+
var import_react51 = __toESM(require("react"));
|
|
6563
|
+
var TabsContext = import_react51.default.createContext({
|
|
6252
6564
|
activeIndex: 0,
|
|
6253
6565
|
inverted: false,
|
|
6254
6566
|
setActiveIndex: () => 0,
|
|
@@ -6258,21 +6570,21 @@ var TabsContext = import_react50.default.createContext({
|
|
|
6258
6570
|
});
|
|
6259
6571
|
|
|
6260
6572
|
// components/tabs/Tabs.tsx
|
|
6261
|
-
var
|
|
6262
|
-
var
|
|
6263
|
-
var Tabs =
|
|
6573
|
+
var import_clsx91 = __toESM(require("clsx"));
|
|
6574
|
+
var import_react52 = __toESM(require("react"));
|
|
6575
|
+
var Tabs = import_react52.default.forwardRef(
|
|
6264
6576
|
({ children, className, id, activeIndex, fullwidth, inverted, small }, ref) => {
|
|
6265
|
-
const [currentIndex, setCurrentIndex] =
|
|
6266
|
-
const [isInverted, setIsInverted] =
|
|
6577
|
+
const [currentIndex, setCurrentIndex] = import_react52.default.useState(activeIndex || 0);
|
|
6578
|
+
const [isInverted, setIsInverted] = import_react52.default.useState(inverted || false);
|
|
6267
6579
|
const { styled } = useTrilogyContext();
|
|
6268
6580
|
const classes = hashClass(
|
|
6269
6581
|
styled,
|
|
6270
|
-
(0,
|
|
6582
|
+
(0, import_clsx91.default)("tabs", fullwidth && is("fullwidth"), inverted && is("inverted"), small && is("small"), className)
|
|
6271
6583
|
);
|
|
6272
|
-
|
|
6584
|
+
import_react52.default.useEffect(() => {
|
|
6273
6585
|
activeIndex !== void 0 && setCurrentIndex(activeIndex);
|
|
6274
6586
|
}, [activeIndex]);
|
|
6275
|
-
return /* @__PURE__ */
|
|
6587
|
+
return /* @__PURE__ */ import_react52.default.createElement(
|
|
6276
6588
|
TabsContext.Provider,
|
|
6277
6589
|
{
|
|
6278
6590
|
value: {
|
|
@@ -6283,7 +6595,7 @@ var Tabs = import_react51.default.forwardRef(
|
|
|
6283
6595
|
setActiveIndex: setCurrentIndex
|
|
6284
6596
|
}
|
|
6285
6597
|
},
|
|
6286
|
-
/* @__PURE__ */
|
|
6598
|
+
/* @__PURE__ */ import_react52.default.createElement("div", { ref, id, className: classes, "data-tabs-context": "" }, children)
|
|
6287
6599
|
);
|
|
6288
6600
|
}
|
|
6289
6601
|
);
|
|
@@ -6291,17 +6603,17 @@ Tabs.displayName = "Tabs" /* Tabs */;
|
|
|
6291
6603
|
var Tabs_default = Tabs;
|
|
6292
6604
|
|
|
6293
6605
|
// components/tabs/tab-list/tab/Tab.tsx
|
|
6294
|
-
var
|
|
6295
|
-
var
|
|
6296
|
-
var Tab =
|
|
6606
|
+
var import_clsx92 = __toESM(require("clsx"));
|
|
6607
|
+
var import_react53 = __toESM(require("react"));
|
|
6608
|
+
var Tab = import_react53.default.forwardRef(
|
|
6297
6609
|
({ active, className, onClick, routerLink = "a", iconName, label, disabled, testId, ariaControls, ...others }, ref) => {
|
|
6298
6610
|
const { styled } = useTrilogyContext();
|
|
6299
6611
|
const { index, ...props } = others;
|
|
6300
|
-
const { activeIndex, setActiveIndex, small } =
|
|
6612
|
+
const { activeIndex, setActiveIndex, small } = import_react53.default.useContext(TabsContext);
|
|
6301
6613
|
const Tag2 = others.href || others.to ? routerLink : "button";
|
|
6302
|
-
const isActive =
|
|
6303
|
-
const classes = hashClass(styled, (0,
|
|
6304
|
-
const handleClick =
|
|
6614
|
+
const isActive = import_react53.default.useMemo(() => activeIndex === index, [activeIndex, index]);
|
|
6615
|
+
const classes = hashClass(styled, (0, import_clsx92.default)("tab", className, { "is-active": isActive }));
|
|
6616
|
+
const handleClick = import_react53.default.useCallback(
|
|
6305
6617
|
(e) => {
|
|
6306
6618
|
if (!disabled) {
|
|
6307
6619
|
if (!others.href && !others.to) setActiveIndex(index);
|
|
@@ -6310,10 +6622,10 @@ var Tab = import_react52.default.forwardRef(
|
|
|
6310
6622
|
},
|
|
6311
6623
|
[disabled, onClick, index, setActiveIndex]
|
|
6312
6624
|
);
|
|
6313
|
-
|
|
6625
|
+
import_react53.default.useEffect(() => {
|
|
6314
6626
|
if (active) setActiveIndex(index);
|
|
6315
6627
|
}, [active, setActiveIndex, index]);
|
|
6316
|
-
return /* @__PURE__ */
|
|
6628
|
+
return /* @__PURE__ */ import_react53.default.createElement(
|
|
6317
6629
|
Tag2,
|
|
6318
6630
|
{
|
|
6319
6631
|
ref,
|
|
@@ -6329,8 +6641,8 @@ var Tab = import_react52.default.forwardRef(
|
|
|
6329
6641
|
onClick: handleClick,
|
|
6330
6642
|
...props
|
|
6331
6643
|
},
|
|
6332
|
-
/* @__PURE__ */
|
|
6333
|
-
label && /* @__PURE__ */
|
|
6644
|
+
/* @__PURE__ */ import_react53.default.createElement("div", { className: hashClass(styled, "tab-icon") }, iconName && /* @__PURE__ */ import_react53.default.createElement(Icon_default, { size: small ? "small" : "medium", name: iconName })),
|
|
6645
|
+
label && /* @__PURE__ */ import_react53.default.createElement(Text_default, null, label)
|
|
6334
6646
|
);
|
|
6335
6647
|
}
|
|
6336
6648
|
);
|
|
@@ -6338,32 +6650,32 @@ Tab.displayName = "Tab" /* Tab */;
|
|
|
6338
6650
|
var Tab_default = Tab;
|
|
6339
6651
|
|
|
6340
6652
|
// components/tabs/tab-list/TabList.tsx
|
|
6341
|
-
var
|
|
6342
|
-
var
|
|
6343
|
-
var TabList =
|
|
6653
|
+
var import_clsx93 = __toESM(require("clsx"));
|
|
6654
|
+
var import_react54 = __toESM(require("react"));
|
|
6655
|
+
var TabList = import_react54.default.forwardRef(
|
|
6344
6656
|
({ children, className, id, testId, align, ...others }, ref) => {
|
|
6345
6657
|
const { styled } = useTrilogyContext();
|
|
6346
|
-
const TabListRef =
|
|
6347
|
-
const tabRefs =
|
|
6348
|
-
const { small } =
|
|
6349
|
-
|
|
6350
|
-
const [tabsWidth, setTabsWidth] =
|
|
6351
|
-
const [tabListWidth, setTabListWidth] =
|
|
6352
|
-
const [scrollLeft, setScrollLeft] =
|
|
6353
|
-
const [tabFocused, setTabFocused] =
|
|
6354
|
-
const classes = hashClass(styled, (0,
|
|
6355
|
-
const isVisibleArrowLeft = (0,
|
|
6658
|
+
const TabListRef = import_react54.default.useRef(null);
|
|
6659
|
+
const tabRefs = import_react54.default.useRef([]);
|
|
6660
|
+
const { small } = import_react54.default.useContext(TabsContext);
|
|
6661
|
+
import_react54.default.useImperativeHandle(ref, () => TabListRef.current);
|
|
6662
|
+
const [tabsWidth, setTabsWidth] = import_react54.default.useState(0);
|
|
6663
|
+
const [tabListWidth, setTabListWidth] = import_react54.default.useState(0);
|
|
6664
|
+
const [scrollLeft, setScrollLeft] = import_react54.default.useState(0);
|
|
6665
|
+
const [tabFocused, setTabFocused] = import_react54.default.useState(0);
|
|
6666
|
+
const classes = hashClass(styled, (0, import_clsx93.default)("tab-list", align && is(getAlignClassName(align)), className));
|
|
6667
|
+
const isVisibleArrowLeft = (0, import_react54.useMemo)(() => {
|
|
6356
6668
|
if (!tabRefs.current.length) return false;
|
|
6357
6669
|
return scrollLeft > tabRefs.current[0].width / 2;
|
|
6358
6670
|
}, [tabRefs, scrollLeft]);
|
|
6359
|
-
const isVisibleArrowRight = (0,
|
|
6671
|
+
const isVisibleArrowRight = (0, import_react54.useMemo)(
|
|
6360
6672
|
() => tabListWidth - tabsWidth - scrollLeft > 5,
|
|
6361
6673
|
[tabListWidth, tabsWidth, scrollLeft]
|
|
6362
6674
|
);
|
|
6363
|
-
const TabElms =
|
|
6364
|
-
return
|
|
6365
|
-
if (!
|
|
6366
|
-
return /* @__PURE__ */
|
|
6675
|
+
const TabElms = import_react54.default.useMemo(() => {
|
|
6676
|
+
return import_react54.default.Children.map(children, (child, index) => {
|
|
6677
|
+
if (!import_react54.default.isValidElement(child)) return false;
|
|
6678
|
+
return /* @__PURE__ */ import_react54.default.createElement(
|
|
6367
6679
|
Tab_default,
|
|
6368
6680
|
{
|
|
6369
6681
|
ref: (el) => tabRefs.current[index] = el == null ? void 0 : el.getBoundingClientRect(),
|
|
@@ -6373,7 +6685,7 @@ var TabList = import_react53.default.forwardRef(
|
|
|
6373
6685
|
);
|
|
6374
6686
|
});
|
|
6375
6687
|
}, [children, tabRefs]);
|
|
6376
|
-
const scrollWithArrow =
|
|
6688
|
+
const scrollWithArrow = import_react54.default.useCallback(
|
|
6377
6689
|
(direction) => {
|
|
6378
6690
|
var _a;
|
|
6379
6691
|
if (tabRefs.current) {
|
|
@@ -6385,7 +6697,7 @@ var TabList = import_react53.default.forwardRef(
|
|
|
6385
6697
|
},
|
|
6386
6698
|
[tabRefs.current, tabFocused, TabListRef]
|
|
6387
6699
|
);
|
|
6388
|
-
const handleScrollList =
|
|
6700
|
+
const handleScrollList = import_react54.default.useCallback(
|
|
6389
6701
|
(e) => {
|
|
6390
6702
|
const target = e.target;
|
|
6391
6703
|
const firstGap = tabRefs.current[0].x + (small ? 16 : 24);
|
|
@@ -6397,26 +6709,26 @@ var TabList = import_react53.default.forwardRef(
|
|
|
6397
6709
|
},
|
|
6398
6710
|
[tabRefs, small]
|
|
6399
6711
|
);
|
|
6400
|
-
const onClickPrev =
|
|
6712
|
+
const onClickPrev = import_react54.default.useCallback(() => {
|
|
6401
6713
|
isVisibleArrowLeft && scrollWithArrow(-1);
|
|
6402
6714
|
}, [scrollWithArrow, isVisibleArrowLeft]);
|
|
6403
|
-
const onClickNext =
|
|
6715
|
+
const onClickNext = import_react54.default.useCallback(() => {
|
|
6404
6716
|
isVisibleArrowRight && scrollWithArrow(1);
|
|
6405
6717
|
}, [scrollWithArrow, isVisibleArrowRight]);
|
|
6406
|
-
const setWidths =
|
|
6718
|
+
const setWidths = import_react54.default.useCallback(() => {
|
|
6407
6719
|
if (TabListRef.current) {
|
|
6408
6720
|
setTabsWidth(TabListRef.current.clientWidth);
|
|
6409
6721
|
setTabListWidth(TabListRef.current.scrollWidth);
|
|
6410
6722
|
}
|
|
6411
6723
|
}, [TabListRef]);
|
|
6412
|
-
|
|
6724
|
+
import_react54.default.useEffect(() => {
|
|
6413
6725
|
setWidths();
|
|
6414
6726
|
}, [setWidths, isVisibleArrowLeft, isVisibleArrowRight]);
|
|
6415
|
-
|
|
6727
|
+
import_react54.default.useEffect(() => {
|
|
6416
6728
|
window.addEventListener("resize", setWidths);
|
|
6417
6729
|
return () => window.removeEventListener("resize", setWidths);
|
|
6418
6730
|
}, [TabListRef, setWidths]);
|
|
6419
|
-
return /* @__PURE__ */
|
|
6731
|
+
return /* @__PURE__ */ import_react54.default.createElement(
|
|
6420
6732
|
"div",
|
|
6421
6733
|
{
|
|
6422
6734
|
ref: TabListRef,
|
|
@@ -6427,23 +6739,23 @@ var TabList = import_react53.default.forwardRef(
|
|
|
6427
6739
|
onScroll: handleScrollList,
|
|
6428
6740
|
...others
|
|
6429
6741
|
},
|
|
6430
|
-
isVisibleArrowLeft && /* @__PURE__ */
|
|
6742
|
+
isVisibleArrowLeft && /* @__PURE__ */ import_react54.default.createElement(
|
|
6431
6743
|
Icon_default,
|
|
6432
6744
|
{
|
|
6433
6745
|
"data-arrow-prev": "",
|
|
6434
6746
|
name: "tri-arrow-left",
|
|
6435
|
-
className: (0,
|
|
6747
|
+
className: (0, import_clsx93.default)("arrow-prev"),
|
|
6436
6748
|
size: small ? "small" : "medium",
|
|
6437
6749
|
onClick: onClickPrev
|
|
6438
6750
|
}
|
|
6439
6751
|
),
|
|
6440
6752
|
TabElms,
|
|
6441
|
-
isVisibleArrowRight && /* @__PURE__ */
|
|
6753
|
+
isVisibleArrowRight && /* @__PURE__ */ import_react54.default.createElement(
|
|
6442
6754
|
Icon_default,
|
|
6443
6755
|
{
|
|
6444
6756
|
"data-arrow-next": "",
|
|
6445
6757
|
name: "tri-arrow-right",
|
|
6446
|
-
className: (0,
|
|
6758
|
+
className: (0, import_clsx93.default)("arrow-next"),
|
|
6447
6759
|
size: small ? "small" : "medium",
|
|
6448
6760
|
onClick: onClickNext
|
|
6449
6761
|
}
|
|
@@ -6455,14 +6767,14 @@ TabList.displayName = "TabList" /* TabList */;
|
|
|
6455
6767
|
var TabList_default = TabList;
|
|
6456
6768
|
|
|
6457
6769
|
// components/tabs/tab-panels/tab-panel/TabPanel.tsx
|
|
6458
|
-
var
|
|
6459
|
-
var
|
|
6460
|
-
var TabPanel =
|
|
6770
|
+
var import_clsx94 = __toESM(require("clsx"));
|
|
6771
|
+
var import_react55 = __toESM(require("react"));
|
|
6772
|
+
var TabPanel = import_react55.default.forwardRef(({ children, className, testId, ...others }, ref) => {
|
|
6461
6773
|
const { styled } = useTrilogyContext();
|
|
6462
6774
|
const { index, ...props } = others;
|
|
6463
|
-
const { activeIndex } =
|
|
6464
|
-
const classes = hashClass(styled, (0,
|
|
6465
|
-
return /* @__PURE__ */
|
|
6775
|
+
const { activeIndex } = import_react55.default.useContext(TabsContext);
|
|
6776
|
+
const classes = hashClass(styled, (0, import_clsx94.default)("tab-panel", index === activeIndex && is("active"), className));
|
|
6777
|
+
return /* @__PURE__ */ import_react55.default.createElement("div", { ref, "data-testid": testId, className: classes, ...props }, children);
|
|
6466
6778
|
});
|
|
6467
6779
|
TabPanel.displayName = "TabPanel" /* TabPanel */;
|
|
6468
6780
|
var TabPanel_default = TabPanel;
|
|
@@ -6471,28 +6783,28 @@ var TabPanel_default = TabPanel;
|
|
|
6471
6783
|
var tab_panel_default = TabPanel_default;
|
|
6472
6784
|
|
|
6473
6785
|
// components/tabs/tab-panels/TabPanels.tsx
|
|
6474
|
-
var
|
|
6475
|
-
var
|
|
6476
|
-
var TabPanels =
|
|
6786
|
+
var import_clsx95 = __toESM(require("clsx"));
|
|
6787
|
+
var import_react56 = __toESM(require("react"));
|
|
6788
|
+
var TabPanels = import_react56.default.forwardRef(({ children, className, id, testId, ...others }, ref) => {
|
|
6477
6789
|
const { styled } = useTrilogyContext();
|
|
6478
|
-
const classes = hashClass(styled, (0,
|
|
6479
|
-
return /* @__PURE__ */
|
|
6480
|
-
if (!
|
|
6481
|
-
return /* @__PURE__ */
|
|
6790
|
+
const classes = hashClass(styled, (0, import_clsx95.default)("tab-panels", className));
|
|
6791
|
+
return /* @__PURE__ */ import_react56.default.createElement("div", { ref, id, "data-testid": testId, className: classes, ...others }, import_react56.default.Children.map(children, (child, index) => {
|
|
6792
|
+
if (!import_react56.default.isValidElement(child)) return false;
|
|
6793
|
+
return /* @__PURE__ */ import_react56.default.createElement(tab_panel_default, { ...child.props, index });
|
|
6482
6794
|
}));
|
|
6483
6795
|
});
|
|
6484
6796
|
TabPanels.displayName = "TabPanels" /* TabPanels */;
|
|
6485
6797
|
var TabPanels_default = TabPanels;
|
|
6486
6798
|
|
|
6487
6799
|
// components/tag/Tag.tsx
|
|
6488
|
-
var
|
|
6489
|
-
var
|
|
6490
|
-
var Tag =
|
|
6800
|
+
var import_clsx96 = __toESM(require("clsx"));
|
|
6801
|
+
var import_react57 = __toESM(require("react"));
|
|
6802
|
+
var Tag = import_react57.default.forwardRef(
|
|
6491
6803
|
({ label, className, id, variant, inverted, small, iconName, ...others }, ref) => {
|
|
6492
6804
|
const { styled } = useTrilogyContext();
|
|
6493
6805
|
const tagClassNames = hashClass(
|
|
6494
6806
|
styled,
|
|
6495
|
-
(0,
|
|
6807
|
+
(0, import_clsx96.default)(
|
|
6496
6808
|
"tag",
|
|
6497
6809
|
variant && is(getColorClassName(variant)),
|
|
6498
6810
|
inverted && is("inverted"),
|
|
@@ -6500,26 +6812,26 @@ var Tag = import_react56.default.forwardRef(
|
|
|
6500
6812
|
className
|
|
6501
6813
|
)
|
|
6502
6814
|
);
|
|
6503
|
-
const tagIconClassNames = (0,
|
|
6504
|
-
return /* @__PURE__ */
|
|
6815
|
+
const tagIconClassNames = (0, import_clsx96.default)(variant && is(getColorClassName(variant)));
|
|
6816
|
+
return /* @__PURE__ */ import_react57.default.createElement("span", { ref, id, className: tagClassNames, ...others }, iconName && /* @__PURE__ */ import_react57.default.createElement(Icon_default, { className: tagIconClassNames, name: iconName }), label);
|
|
6505
6817
|
}
|
|
6506
6818
|
);
|
|
6507
6819
|
Tag.displayName = "Tag" /* Tag */;
|
|
6508
6820
|
var Tag_default = Tag;
|
|
6509
6821
|
|
|
6510
6822
|
// components/tag/list/TagList.tsx
|
|
6511
|
-
var
|
|
6512
|
-
var
|
|
6513
|
-
var TagList =
|
|
6823
|
+
var import_clsx97 = __toESM(require("clsx"));
|
|
6824
|
+
var React111 = __toESM(require("react"));
|
|
6825
|
+
var TagList = React111.forwardRef(({ className, id, align, marginless, ...others }, ref) => {
|
|
6514
6826
|
const { styled } = useTrilogyContext();
|
|
6515
|
-
return /* @__PURE__ */
|
|
6827
|
+
return /* @__PURE__ */ React111.createElement(
|
|
6516
6828
|
"div",
|
|
6517
6829
|
{
|
|
6518
6830
|
ref,
|
|
6519
6831
|
id,
|
|
6520
6832
|
className: hashClass(
|
|
6521
6833
|
styled,
|
|
6522
|
-
(0,
|
|
6834
|
+
(0, import_clsx97.default)("tags", align && is(getJustifiedClassName(align)), marginless && is("marginless"), className)
|
|
6523
6835
|
),
|
|
6524
6836
|
...others
|
|
6525
6837
|
}
|
|
@@ -6541,9 +6853,9 @@ var TagVariant = /* @__PURE__ */ ((TagVariant2) => {
|
|
|
6541
6853
|
})(TagVariant || {});
|
|
6542
6854
|
|
|
6543
6855
|
// components/textarea/Textarea.tsx
|
|
6544
|
-
var
|
|
6545
|
-
var
|
|
6546
|
-
var Textarea =
|
|
6856
|
+
var import_clsx98 = __toESM(require("clsx"));
|
|
6857
|
+
var import_react58 = __toESM(require("react"));
|
|
6858
|
+
var Textarea = import_react58.default.forwardRef(
|
|
6547
6859
|
({
|
|
6548
6860
|
className,
|
|
6549
6861
|
id,
|
|
@@ -6555,7 +6867,6 @@ var Textarea = import_react57.default.forwardRef(
|
|
|
6555
6867
|
defaultValue,
|
|
6556
6868
|
help,
|
|
6557
6869
|
status,
|
|
6558
|
-
dynamicPlaceholder = true,
|
|
6559
6870
|
rows,
|
|
6560
6871
|
label,
|
|
6561
6872
|
maxLength,
|
|
@@ -6564,20 +6875,20 @@ var Textarea = import_react57.default.forwardRef(
|
|
|
6564
6875
|
iconNameRight,
|
|
6565
6876
|
...others
|
|
6566
6877
|
}, ref) => {
|
|
6567
|
-
const [value, setValue] = (0,
|
|
6878
|
+
const [value, setValue] = (0, import_react58.useState)(defaultValue || "");
|
|
6568
6879
|
const { styled } = useTrilogyContext();
|
|
6569
|
-
(0,
|
|
6880
|
+
(0, import_react58.useEffect)(() => {
|
|
6570
6881
|
setValue(defaultValue || "");
|
|
6571
6882
|
}, [defaultValue]);
|
|
6572
|
-
const wrapperClasses = hashClass(styled, (0,
|
|
6573
|
-
const classes = hashClass(styled, (0,
|
|
6574
|
-
const helpClasses = (0,
|
|
6575
|
-
const counterClasses = hashClass(styled, (0,
|
|
6883
|
+
const wrapperClasses = hashClass(styled, (0, import_clsx98.default)("field textarea-wrapper", className, status && is(status)));
|
|
6884
|
+
const classes = hashClass(styled, (0, import_clsx98.default)("textarea"));
|
|
6885
|
+
const helpClasses = (0, import_clsx98.default)("help", status && is(status));
|
|
6886
|
+
const counterClasses = hashClass(styled, (0, import_clsx98.default)("counter", maxLength));
|
|
6576
6887
|
const controlClasses = hashClass(
|
|
6577
6888
|
styled,
|
|
6578
|
-
(0,
|
|
6889
|
+
(0, import_clsx98.default)("control", iconNameLeft && has("icons-left"), iconNameRight && has("icons-right"))
|
|
6579
6890
|
);
|
|
6580
|
-
return /* @__PURE__ */
|
|
6891
|
+
return /* @__PURE__ */ import_react58.default.createElement("div", { id, className: wrapperClasses }, label && /* @__PURE__ */ import_react58.default.createElement("label", { className: hashClass(styled, "textarea-label"), htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react58.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react58.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id }, sample), /* @__PURE__ */ import_react58.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react58.default.createElement(
|
|
6581
6892
|
"textarea",
|
|
6582
6893
|
{
|
|
6583
6894
|
ref,
|
|
@@ -6600,23 +6911,23 @@ var Textarea = import_react57.default.forwardRef(
|
|
|
6600
6911
|
required,
|
|
6601
6912
|
...others
|
|
6602
6913
|
}
|
|
6603
|
-
), iconNameLeft && /* @__PURE__ */
|
|
6914
|
+
), iconNameLeft && /* @__PURE__ */ import_react58.default.createElement(Icon_default, { name: iconNameLeft, size: "small", className: "icon-left" }), iconNameRight && /* @__PURE__ */ import_react58.default.createElement(Icon_default, { name: iconNameRight, size: "small", className: "icon-right" }), maxLength && /* @__PURE__ */ import_react58.default.createElement("div", { className: counterClasses }, `${value.length}/${maxLength == null ? void 0 : maxLength.toString()}`)), help && /* @__PURE__ */ import_react58.default.createElement(Text_default, { className: helpClasses }, help));
|
|
6604
6915
|
}
|
|
6605
6916
|
);
|
|
6606
6917
|
Textarea.displayName = "Textarea" /* Textarea */;
|
|
6607
6918
|
var Textarea_default = Textarea;
|
|
6608
6919
|
|
|
6609
6920
|
// components/timeline/content/TimelineContent.tsx
|
|
6610
|
-
var
|
|
6611
|
-
var
|
|
6612
|
-
var TimelineContent =
|
|
6921
|
+
var import_clsx99 = __toESM(require("clsx"));
|
|
6922
|
+
var React113 = __toESM(require("react"));
|
|
6923
|
+
var TimelineContent = React113.forwardRef(
|
|
6613
6924
|
({ children, className, id, heading, content, linkLabel, linkTo, ...others }, ref) => {
|
|
6614
6925
|
const { styled } = useTrilogyContext();
|
|
6615
|
-
const classes = hashClass(styled, (0,
|
|
6926
|
+
const classes = hashClass(styled, (0, import_clsx99.default)("timeline-content", className));
|
|
6616
6927
|
if (children) {
|
|
6617
|
-
return /* @__PURE__ */
|
|
6928
|
+
return /* @__PURE__ */ React113.createElement("div", { ref, id, className: classes, ...others }, children);
|
|
6618
6929
|
}
|
|
6619
|
-
return /* @__PURE__ */
|
|
6930
|
+
return /* @__PURE__ */ React113.createElement("div", { ref, id, className: classes, ...others }, heading && /* @__PURE__ */ React113.createElement(Text_default, { markup: "p" /* P */ }, heading), content && /* @__PURE__ */ React113.createElement(Text_default, { className: "main-content", markup: "p" /* P */ }, content), linkTo && linkLabel && /* @__PURE__ */ React113.createElement(Link_default, { href: linkTo }, linkLabel));
|
|
6620
6931
|
}
|
|
6621
6932
|
);
|
|
6622
6933
|
TimelineContent.displayName = "TimelineContent" /* TimelineContent */;
|
|
@@ -6626,15 +6937,15 @@ var TimelineContent_default = TimelineContent;
|
|
|
6626
6937
|
var content_default3 = TimelineContent_default;
|
|
6627
6938
|
|
|
6628
6939
|
// components/timeline/item/TimelineItem.tsx
|
|
6629
|
-
var
|
|
6630
|
-
var
|
|
6631
|
-
var TimelineItem =
|
|
6940
|
+
var import_clsx100 = __toESM(require("clsx"));
|
|
6941
|
+
var React114 = __toESM(require("react"));
|
|
6942
|
+
var TimelineItem = React114.forwardRef(({ className, id, done, active, cancel, ...others }, ref) => {
|
|
6632
6943
|
const { styled } = useTrilogyContext();
|
|
6633
6944
|
const classes = hashClass(
|
|
6634
6945
|
styled,
|
|
6635
|
-
(0,
|
|
6946
|
+
(0, import_clsx100.default)("timeline-item", done && "done", active && "active", cancel && "cancel", className)
|
|
6636
6947
|
);
|
|
6637
|
-
return /* @__PURE__ */
|
|
6948
|
+
return /* @__PURE__ */ React114.createElement("div", { ref, id, className: classes, ...others });
|
|
6638
6949
|
});
|
|
6639
6950
|
TimelineItem.displayName = "TimelineItem" /* TimelineItem */;
|
|
6640
6951
|
var TimelineItem_default = TimelineItem;
|
|
@@ -6643,9 +6954,9 @@ var TimelineItem_default = TimelineItem;
|
|
|
6643
6954
|
var item_default5 = TimelineItem_default;
|
|
6644
6955
|
|
|
6645
6956
|
// components/timeline/marker/TimelineMarker.tsx
|
|
6646
|
-
var
|
|
6647
|
-
var
|
|
6648
|
-
var TimelineMarker =
|
|
6957
|
+
var import_clsx101 = __toESM(require("clsx"));
|
|
6958
|
+
var React115 = __toESM(require("react"));
|
|
6959
|
+
var TimelineMarker = React115.forwardRef(({
|
|
6649
6960
|
className,
|
|
6650
6961
|
id,
|
|
6651
6962
|
iconClassname,
|
|
@@ -6653,9 +6964,9 @@ var TimelineMarker = React110.forwardRef(({
|
|
|
6653
6964
|
...others
|
|
6654
6965
|
}, ref) => {
|
|
6655
6966
|
const { styled } = useTrilogyContext();
|
|
6656
|
-
const classes = hashClass(styled, (0,
|
|
6657
|
-
const iconClasses = (0,
|
|
6658
|
-
return /* @__PURE__ */
|
|
6967
|
+
const classes = hashClass(styled, (0, import_clsx101.default)("timeline-marker", is("icon"), className));
|
|
6968
|
+
const iconClasses = (0, import_clsx101.default)(iconClassname);
|
|
6969
|
+
return /* @__PURE__ */ React115.createElement("div", { ref, id, className: classes, ...others }, /* @__PURE__ */ React115.createElement("div", { className: "card-header-icon" }, /* @__PURE__ */ React115.createElement(Icon_default, { className: iconClasses, name: iconName, size: "small" /* SMALL */ })));
|
|
6659
6970
|
});
|
|
6660
6971
|
TimelineMarker.displayName = "TimelineMarker" /* TimelineMarker */;
|
|
6661
6972
|
var TimelineMarker_default = TimelineMarker;
|
|
@@ -6664,19 +6975,19 @@ var TimelineMarker_default = TimelineMarker;
|
|
|
6664
6975
|
var marker_default = TimelineMarker_default;
|
|
6665
6976
|
|
|
6666
6977
|
// components/timeline/Timeline.tsx
|
|
6667
|
-
var
|
|
6668
|
-
var
|
|
6669
|
-
var Timeline =
|
|
6978
|
+
var import_clsx102 = __toESM(require("clsx"));
|
|
6979
|
+
var React116 = __toESM(require("react"));
|
|
6980
|
+
var Timeline = React116.forwardRef(({ className, id, horizontal, ...others }, ref) => {
|
|
6670
6981
|
const { styled } = useTrilogyContext();
|
|
6671
|
-
const classes = hashClass(styled, (0,
|
|
6672
|
-
return /* @__PURE__ */
|
|
6982
|
+
const classes = hashClass(styled, (0, import_clsx102.default)("timeline", horizontal && is("horizontal"), className));
|
|
6983
|
+
return /* @__PURE__ */ React116.createElement("div", { ref, id, className: classes, ...others });
|
|
6673
6984
|
});
|
|
6674
6985
|
Timeline.displayName = "Timeline" /* Timeline */;
|
|
6675
6986
|
var Timeline_default = Timeline;
|
|
6676
6987
|
|
|
6677
6988
|
// components/view/View.tsx
|
|
6678
|
-
var
|
|
6679
|
-
var
|
|
6989
|
+
var import_clsx103 = __toESM(require("clsx"));
|
|
6990
|
+
var React117 = __toESM(require("react"));
|
|
6680
6991
|
|
|
6681
6992
|
// components/view/ViewProps/index.ts
|
|
6682
6993
|
var ViewMarkup = /* @__PURE__ */ ((ViewMarkup2) => {
|
|
@@ -6701,7 +7012,7 @@ var ViewMarkup = /* @__PURE__ */ ((ViewMarkup2) => {
|
|
|
6701
7012
|
})(ViewMarkup || {});
|
|
6702
7013
|
|
|
6703
7014
|
// components/view/View.tsx
|
|
6704
|
-
var View =
|
|
7015
|
+
var View = React117.forwardRef(({
|
|
6705
7016
|
children,
|
|
6706
7017
|
style,
|
|
6707
7018
|
className,
|
|
@@ -6725,7 +7036,7 @@ var View = React112.forwardRef(({
|
|
|
6725
7036
|
const Tag2 = markup && isCorrectMarkup2(markup) ? markup : "div";
|
|
6726
7037
|
const classes = hashClass(
|
|
6727
7038
|
styled,
|
|
6728
|
-
(0,
|
|
7039
|
+
(0, import_clsx103.default)(
|
|
6729
7040
|
typeof loading === "string" && is(getLoadingClassName(loading)),
|
|
6730
7041
|
typeof loading === "boolean" ? is("loading") : is("loaded"),
|
|
6731
7042
|
backgroundColor && has(getBackgroundClassName(backgroundColor)),
|
|
@@ -6738,7 +7049,7 @@ var View = React112.forwardRef(({
|
|
|
6738
7049
|
className
|
|
6739
7050
|
)
|
|
6740
7051
|
);
|
|
6741
|
-
return /* @__PURE__ */
|
|
7052
|
+
return /* @__PURE__ */ React117.createElement(
|
|
6742
7053
|
Tag2,
|
|
6743
7054
|
{
|
|
6744
7055
|
ref,
|
|
@@ -6832,6 +7143,10 @@ var JustifyContent = /* @__PURE__ */ ((JustifyContent2) => {
|
|
|
6832
7143
|
DEFAULT_SPACING_MATRIX,
|
|
6833
7144
|
DatePicker,
|
|
6834
7145
|
Divider,
|
|
7146
|
+
Dropdown,
|
|
7147
|
+
DropdownGroup,
|
|
7148
|
+
DropdownItem,
|
|
7149
|
+
DropdownTrigger,
|
|
6835
7150
|
Fab,
|
|
6836
7151
|
FlexBox,
|
|
6837
7152
|
FlexItem,
|