@trilogy-ds/react 0.0.21-esm-cjs → 0.0.25-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-EN6H737C.mjs → chunk-2DKS2LMX.mjs} +1 -1
- package/lib/{chunk-WGIO7CR2.mjs → chunk-2OTGQMU4.mjs} +1 -1
- package/lib/{chunk-44BUDUHH.mjs → chunk-2YH3RRRM.mjs} +2 -2
- package/lib/{chunk-ASDIW46N.mjs → chunk-35P2GFHE.mjs} +2 -2
- package/lib/{chunk-MKSHOXCA.mjs → chunk-3K66IDEM.mjs} +1 -1
- package/lib/{chunk-FJ7CLVIP.mjs → chunk-3KNUQLB6.mjs} +2 -2
- package/lib/{chunk-3EEOOLVU.mjs → chunk-3Q36KXPA.mjs} +2 -2
- package/lib/{chunk-WUCECDGY.mjs → chunk-3TQRRK4V.mjs} +1 -1
- package/lib/{chunk-HXGWY5FL.mjs → chunk-4OWEDMLE.mjs} +1 -1
- package/lib/{chunk-TBR32D5M.mjs → chunk-4TJ4WCBN.mjs} +2 -2
- package/lib/{chunk-NMYQHE6C.mjs → chunk-4YVGGJFD.mjs} +3 -3
- package/lib/{chunk-RVU3IPAE.mjs → chunk-52HQIQWC.mjs} +1 -1
- package/lib/{chunk-SOPUKVAK.mjs → chunk-54XVTKOK.mjs} +3 -3
- package/lib/{chunk-WMZ3FFFO.mjs → chunk-55SIPHX3.mjs} +6 -6
- package/lib/{chunk-7GBIPPPJ.mjs → chunk-5CRE5L6X.mjs} +2 -2
- package/lib/{chunk-V4BZDJSQ.mjs → chunk-5D3WYM25.mjs} +2 -2
- package/lib/{chunk-IOGFZUIN.mjs → chunk-5TA2DEFJ.mjs} +2 -2
- package/lib/{chunk-X4ABDBKN.mjs → chunk-5TB5SHQX.mjs} +1 -1
- package/lib/{chunk-QJCK6KDK.mjs → chunk-6AHBDM56.mjs} +3 -7
- package/lib/{chunk-NWKP62JQ.mjs → chunk-6BRKV3OX.mjs} +2 -2
- package/lib/{chunk-BL73QKUI.mjs → chunk-6BSQWFNU.mjs} +2 -2
- package/lib/{chunk-ALGX47MZ.mjs → chunk-6C6TV53V.mjs} +2 -2
- package/lib/{chunk-C3VH34J4.mjs → chunk-6DMIGJGO.mjs} +5 -5
- package/lib/{chunk-QE4JSIR3.mjs → chunk-6FDEOGMS.mjs} +5 -5
- package/lib/{chunk-CWIO3GEP.mjs → chunk-6IKR6FTJ.mjs} +1 -1
- package/lib/{chunk-ZNFQWQ2T.mjs → chunk-6PKFJTR4.mjs} +2 -2
- package/lib/{chunk-G6ILMW5U.mjs → chunk-6SQYOEWM.mjs} +3 -3
- package/lib/{chunk-QOUQNN33.mjs → chunk-6UJQSFOY.mjs} +2 -2
- package/lib/{chunk-S7JT7LRM.mjs → chunk-72F756XM.mjs} +2 -2
- package/lib/{chunk-RHBTSMCQ.mjs → chunk-75VV7W4Z.mjs} +2 -2
- package/lib/{chunk-3VDWD5KA.mjs → chunk-77TXQHWK.mjs} +7 -7
- package/lib/{chunk-2FPIT2VY.mjs → chunk-7MWJMPTG.mjs} +2 -2
- package/lib/{chunk-4FJA5ASG.mjs → chunk-7NY2ELVH.mjs} +2 -2
- package/lib/{chunk-ICF5RIVG.mjs → chunk-7T4UN4NV.mjs} +2 -2
- package/lib/{chunk-LJF3YLMG.mjs → chunk-7Y2HGS2P.mjs} +2 -2
- package/lib/{chunk-SX2VUWRF.mjs → chunk-ACB42JEB.mjs} +2 -2
- package/lib/{chunk-DO5SSRTA.mjs → chunk-ADIMRCHR.mjs} +2 -2
- package/lib/{chunk-5JFVDSGE.mjs → chunk-ADLM6LQF.mjs} +1 -1
- package/lib/{chunk-UFMRE754.mjs → chunk-AEBY6HDR.mjs} +1 -1
- package/lib/{chunk-SESMX6FY.mjs → chunk-AH5YNWHF.mjs} +1 -1
- package/lib/{chunk-XPBBHWYH.mjs → chunk-ANCM66IY.mjs} +1 -1
- package/lib/{chunk-NRNJCOJP.mjs → chunk-ASB33EQZ.mjs} +3 -3
- package/lib/{chunk-Y7WPI233.mjs → chunk-AY5YFUGA.mjs} +2 -2
- package/lib/{chunk-2SSPDMXO.mjs → chunk-AYI37F2L.mjs} +2 -2
- package/lib/{chunk-ZWVIIWK3.mjs → chunk-AZZ5HW4W.mjs} +3 -3
- package/lib/{chunk-HZL4PLNP.mjs → chunk-BAHET6SO.mjs} +2 -2
- package/lib/{chunk-LNFOP27Y.mjs → chunk-BB4CHSZW.mjs} +2 -2
- package/lib/{chunk-RDNWD3P4.mjs → chunk-BKJTZKXR.mjs} +1 -1
- package/lib/{chunk-VLXOCQDY.mjs → chunk-BW6K6RLN.mjs} +4 -4
- package/lib/{chunk-IW7QGP3O.mjs → chunk-C2N7EZSY.mjs} +2 -2
- package/lib/{chunk-ZETHVOMR.mjs → chunk-C755BW7T.mjs} +1 -1
- package/lib/{chunk-3PFN4T6S.mjs → chunk-CABYORPP.mjs} +2 -2
- package/lib/{chunk-76P5II7A.mjs → chunk-CEDDJDON.mjs} +4 -4
- package/lib/{chunk-JPWTOBGP.mjs → chunk-CGAJ7YB2.mjs} +3 -3
- package/lib/{chunk-HWHXZZKH.mjs → chunk-CUPC2XLZ.mjs} +1 -1
- package/lib/{chunk-ZK7CNJ4A.mjs → chunk-CVT3UV6O.mjs} +2 -2
- package/lib/{chunk-QNTBEAY4.mjs → chunk-D7QZPJSF.mjs} +3 -3
- package/lib/{chunk-ASZC2OSU.mjs → chunk-DI7Y6K3W.mjs} +3 -3
- package/lib/{chunk-3CUMNA5T.mjs → chunk-DL6NMHIM.mjs} +6 -6
- package/lib/{chunk-FE4FFIG4.mjs → chunk-DLQQ5RUK.mjs} +2 -2
- package/lib/{chunk-YF74SWNR.mjs → chunk-DMO4FETO.mjs} +4 -4
- package/lib/{chunk-ZX64XZS4.mjs → chunk-DW37QZID.mjs} +2 -2
- package/lib/{chunk-5NAC2FB4.mjs → chunk-E4DP4RHW.mjs} +2 -2
- package/lib/{chunk-HHARJB6A.mjs → chunk-EDBGLR45.mjs} +3 -3
- package/lib/{chunk-O72JHAKF.mjs → chunk-EHWZOM3O.mjs} +2 -2
- package/lib/{chunk-FT2IRACC.mjs → chunk-ERBNAV6P.mjs} +2 -2
- package/lib/{chunk-HVDDVQIJ.mjs → chunk-FA3RCDVF.mjs} +3 -3
- package/lib/{chunk-YRWFLE4T.mjs → chunk-FES7E6XR.mjs} +1 -1
- package/lib/{chunk-ZPYNGMOG.mjs → chunk-FI6OORG5.mjs} +2 -2
- package/lib/{chunk-IRYNHKFI.mjs → chunk-FM5TDIGH.mjs} +1 -1
- package/lib/{chunk-BT63AA2K.mjs → chunk-FVGAKQHS.mjs} +1 -1
- package/lib/{chunk-IOHOQM2G.mjs → chunk-FWRHFQLQ.mjs} +2 -2
- package/lib/{chunk-DVOMGTK6.mjs → chunk-FZ7TRGKO.mjs} +2 -2
- package/lib/{chunk-NEM7FT22.mjs → chunk-G25IZXAD.mjs} +6 -6
- package/lib/{chunk-LBSTQNK7.mjs → chunk-HD7VWQFD.mjs} +2 -2
- package/lib/{chunk-7E4J6YBL.mjs → chunk-HG6NXLAY.mjs} +1 -1
- package/lib/{chunk-ZPE5DDAE.mjs → chunk-HJ3V3LWN.mjs} +2 -2
- package/lib/{chunk-5LNNQJ3B.mjs → chunk-HKJPCWC2.mjs} +2 -2
- package/lib/{chunk-SHMAZXUA.mjs → chunk-HUUIFJSN.mjs} +1 -1
- package/lib/{chunk-3HY3E3O3.mjs → chunk-I5HF26DL.mjs} +5 -5
- package/lib/{chunk-E7H2KJ4A.mjs → chunk-IA3WT3RN.mjs} +1 -1
- package/lib/{chunk-5FBFEA7R.mjs → chunk-INWRBUES.mjs} +1 -1
- package/lib/{chunk-ED5NFRNM.mjs → chunk-IQBE33C7.mjs} +3 -3
- package/lib/{chunk-JWWWYOOC.mjs → chunk-JBRB6UO5.mjs} +1 -1
- package/lib/{chunk-ML52WYPZ.mjs → chunk-JFNPMFSP.mjs} +2 -2
- package/lib/chunk-JJA6BOVR.mjs +12 -0
- package/lib/{chunk-C6AECCOD.mjs → chunk-JLBB25B5.mjs} +1 -1
- package/lib/{chunk-UASF66A2.mjs → chunk-JOU2LHCZ.mjs} +2 -2
- package/lib/{chunk-IJ7BZ3FQ.mjs → chunk-JRFUYD7U.mjs} +2 -2
- package/lib/{chunk-CILK7BCY.mjs → chunk-JYORSGTM.mjs} +2 -2
- package/lib/{chunk-PQMMGS3V.mjs → chunk-K2JIIRTX.mjs} +1 -1
- package/lib/{chunk-J4ZFH6JK.mjs → chunk-KDAZ6BEC.mjs} +6 -6
- package/lib/{chunk-33VW4RVE.mjs → chunk-KPAPQ4IC.mjs} +2 -2
- package/lib/{chunk-I3KHCP2X.mjs → chunk-KTNZEEPJ.mjs} +2 -2
- package/lib/{chunk-IZHMZGGK.mjs → chunk-KYJZK3YJ.mjs} +1 -1
- package/lib/{chunk-P3RZGE6X.mjs → chunk-LFNZETZS.mjs} +3 -3
- package/lib/{chunk-PUBY4YSN.mjs → chunk-LKQDPJV3.mjs} +2 -2
- package/lib/{chunk-GJJJLJXB.mjs → chunk-LPOWVAJK.mjs} +2 -2
- package/lib/{chunk-6RNUF4LV.mjs → chunk-LR6UB33S.mjs} +1 -1
- package/lib/{chunk-OPQY47KX.mjs → chunk-M5IAFQJU.mjs} +1 -1
- package/lib/{chunk-24R7IYOG.mjs → chunk-MAENF3VX.mjs} +4 -4
- package/lib/{chunk-SOW7WGY7.mjs → chunk-MC6ZX32S.mjs} +7 -7
- package/lib/{chunk-WC7HZXMT.mjs → chunk-MEPLLYE4.mjs} +3 -3
- package/lib/{chunk-T4VM27IJ.mjs → chunk-MFQR6S2P.mjs} +1 -1
- package/lib/{chunk-DFR5TVL7.mjs → chunk-MMG2MVYV.mjs} +1 -1
- package/lib/{chunk-6ENX3IQD.mjs → chunk-MR3H2M4V.mjs} +3 -3
- package/lib/{chunk-AMGZXLNR.mjs → chunk-N2ZRITFK.mjs} +3 -3
- package/lib/{chunk-QLJ54D5Q.mjs → chunk-NB23NKHT.mjs} +2 -2
- package/lib/{chunk-WG7MHIX6.mjs → chunk-NOBOKBJV.mjs} +2 -2
- package/lib/{chunk-OUYOYTXI.mjs → chunk-NYLWPJMU.mjs} +2 -2
- package/lib/{chunk-7JMUQSV5.mjs → chunk-NZRHYMSU.mjs} +1 -1
- package/lib/{chunk-JOULFEEZ.mjs → chunk-O26LE2MU.mjs} +2 -2
- package/lib/{chunk-3GLD7T7V.mjs → chunk-O2LVO3J5.mjs} +3 -3
- package/lib/{chunk-7LJJ6SKX.mjs → chunk-O4276YRE.mjs} +3 -3
- package/lib/{chunk-ZSAEN5X7.mjs → chunk-O4JDUDIB.mjs} +3 -3
- package/lib/{chunk-OANYLKIF.mjs → chunk-O4THC3SR.mjs} +1 -1
- package/lib/{chunk-HHE7L3CW.mjs → chunk-OHYZ6AS2.mjs} +2 -2
- package/lib/{chunk-ZG3V7XRP.mjs → chunk-OKRYV2K5.mjs} +1 -1
- package/lib/{chunk-BBXAF6LS.mjs → chunk-ORKJJOJJ.mjs} +3 -3
- package/lib/{chunk-2ZXXN4R4.mjs → chunk-OV5LZHEB.mjs} +2 -2
- package/lib/{chunk-5UAX67EN.mjs → chunk-P25LYDHG.mjs} +3 -3
- package/lib/{chunk-QAXBH7UN.mjs → chunk-PJ76LGUE.mjs} +2 -2
- package/lib/{chunk-44DOSDMV.mjs → chunk-PJKSBYEI.mjs} +1 -1
- package/lib/{chunk-UK4S4W4O.mjs → chunk-PKUBH5X2.mjs} +2 -2
- package/lib/chunk-PMNL6QAW.mjs +75 -0
- package/lib/{chunk-JIGVLQZM.mjs → chunk-PUI5XUNN.mjs} +1 -1
- package/lib/{chunk-VZX5PGQL.mjs → chunk-PZ6AN3SW.mjs} +3 -3
- package/lib/{chunk-4SO7GWOJ.mjs → chunk-Q3CNJCLF.mjs} +3 -3
- package/lib/{chunk-YR5WZRJD.mjs → chunk-QEJFO7PR.mjs} +1 -1
- package/lib/{chunk-SFIOTEMN.mjs → chunk-QLJMWP7T.mjs} +2 -2
- package/lib/{chunk-FRZM4C7T.mjs → chunk-QMVD2AXH.mjs} +2 -2
- package/lib/{chunk-WU5VMIX7.mjs → chunk-QNUD6J4U.mjs} +3 -3
- package/lib/{chunk-COHZA3Q6.mjs → chunk-QSMS7EPD.mjs} +2 -2
- package/lib/{chunk-OSWW7RO6.mjs → chunk-R3PATAKZ.mjs} +8 -8
- package/lib/{chunk-DY3O7TP2.mjs → chunk-R77TROLC.mjs} +1 -1
- package/lib/{chunk-CYSI752N.mjs → chunk-REASBJQM.mjs} +3 -3
- package/lib/{chunk-S76GK7PI.mjs → chunk-RHDHWW2S.mjs} +2 -2
- package/lib/{chunk-Q665G2U7.mjs → chunk-RMYLVQQI.mjs} +4 -4
- package/lib/{chunk-CHKSRCM7.mjs → chunk-RNN54DGP.mjs} +2 -2
- package/lib/{chunk-RXGITNPE.mjs → chunk-ROIMX2WR.mjs} +3 -3
- package/lib/chunk-RTX3I6ZK.mjs +10 -0
- package/lib/{chunk-WRTLMWIM.mjs → chunk-RUOX32PA.mjs} +3 -3
- package/lib/{chunk-DOA3WDEF.mjs → chunk-S7J3C47T.mjs} +1 -1
- package/lib/{chunk-TFDPKEJD.mjs → chunk-S7NWKIXK.mjs} +1 -1
- package/lib/{chunk-XJMDYFHO.mjs → chunk-SIIM6V43.mjs} +6 -6
- package/lib/{chunk-ABTLCSFA.mjs → chunk-SND7OSS4.mjs} +2 -2
- package/lib/{chunk-3APJ5TJP.mjs → chunk-SNMP7GGG.mjs} +2 -2
- package/lib/{chunk-3OWVPQQ3.mjs → chunk-TDU2S3TS.mjs} +3 -3
- package/lib/{chunk-VDIATO4X.mjs → chunk-TOOAKGKJ.mjs} +3 -3
- package/lib/{chunk-X737YRF5.mjs → chunk-TQYLYXDD.mjs} +3 -3
- package/lib/{chunk-M3FKAS2D.mjs → chunk-TT23XPP5.mjs} +2 -2
- package/lib/{chunk-FUOU7EFL.mjs → chunk-TTOOQXA2.mjs} +2 -2
- package/lib/{chunk-2LL5O6MQ.mjs → chunk-TU3M3HXO.mjs} +1 -1
- package/lib/{chunk-P4BQZHBF.mjs → chunk-TVAJEINF.mjs} +1 -1
- package/lib/{chunk-CKEC5R4P.mjs → chunk-U2STNP4N.mjs} +1 -1
- package/lib/{chunk-6QE3IUXA.mjs → chunk-U7ZITDRY.mjs} +2 -2
- package/lib/{chunk-HS3TUYYV.mjs → chunk-UCE7MO2B.mjs} +2 -2
- package/lib/{chunk-UVXTJYNN.mjs → chunk-UGCBEAF4.mjs} +2 -2
- package/lib/{chunk-JT4GOHCW.mjs → chunk-UP6C5CAR.mjs} +2 -2
- package/lib/{chunk-ZUZ6IVLL.mjs → chunk-UXIUWXUF.mjs} +1 -1
- package/lib/{chunk-FJ6D2YGE.mjs → chunk-V5NZV3BW.mjs} +1 -1
- package/lib/{chunk-6BMF3QD3.mjs → chunk-V7KCQBOE.mjs} +2 -2
- package/lib/{chunk-NWBGCS6B.mjs → chunk-VFLDE54S.mjs} +3 -3
- package/lib/{chunk-252FYXMD.mjs → chunk-VN4ZXS27.mjs} +4 -4
- package/lib/{chunk-ZWCLOA5C.mjs → chunk-VRAQPSBJ.mjs} +4 -4
- package/lib/{chunk-HSBIO24M.mjs → chunk-VXPAONOR.mjs} +2 -2
- package/lib/{chunk-DJJVBJ43.mjs → chunk-W4QFWAZK.mjs} +2 -2
- package/lib/{chunk-CUP62RON.mjs → chunk-W4TMRSZ2.mjs} +2 -2
- package/lib/{chunk-QTU7TCVL.mjs → chunk-WCWE6Z45.mjs} +1 -1
- package/lib/{chunk-ELJCCXAM.mjs → chunk-WJPKHTJB.mjs} +2 -2
- package/lib/{chunk-GQID4AGA.mjs → chunk-WO4Y2FRW.mjs} +1 -1
- package/lib/{chunk-AEV6FHUQ.mjs → chunk-WRQHV62E.mjs} +1 -1
- package/lib/{chunk-CDK7APZM.mjs → chunk-WXIW56CT.mjs} +2 -2
- package/lib/{chunk-KJ3L7UBY.mjs → chunk-WZ5KQZFN.mjs} +2 -2
- package/lib/{chunk-WB5FKCPB.mjs → chunk-X6HGH62D.mjs} +7 -7
- package/lib/chunk-XCIDMO7T.mjs +10 -0
- package/lib/{chunk-TRCSKNBB.mjs → chunk-XEHYV47R.mjs} +3 -3
- package/lib/{chunk-MV3N2D6T.mjs → chunk-XEMIHTST.mjs} +2 -2
- package/lib/{chunk-VXILM4QO.mjs → chunk-XFHKH7VN.mjs} +2 -2
- package/lib/{chunk-SQGVYXQT.mjs → chunk-XJETMZE6.mjs} +5 -5
- package/lib/{chunk-ZB4OWTDD.mjs → chunk-XUTWIHGC.mjs} +1 -1
- package/lib/{chunk-JFTUDUYA.mjs → chunk-XZ7VW6AY.mjs} +3 -3
- package/lib/{chunk-SWCJ5OOQ.mjs → chunk-Y4NXOCAQ.mjs} +2 -2
- package/lib/{chunk-3AUAH6SB.mjs → chunk-Y7OXSD5B.mjs} +1 -1
- package/lib/{chunk-KY7T6Q73.mjs → chunk-Y7SHWYB4.mjs} +3 -3
- package/lib/{chunk-BD73QGIH.mjs → chunk-YJUVXFTO.mjs} +2 -2
- package/lib/{chunk-JV5B7QPH.mjs → chunk-YTLLJ6RH.mjs} +11 -11
- package/lib/{chunk-BRU34C4E.mjs → chunk-Z6W7GBCH.mjs} +4 -4
- package/lib/{chunk-2JM27LG6.mjs → chunk-ZETKJIUV.mjs} +1 -1
- package/lib/{chunk-P7P7S4GM.mjs → chunk-ZFISNJY5.mjs} +4 -4
- package/lib/{chunk-O2ACJJBX.mjs → chunk-ZFXTFSU7.mjs} +2 -2
- package/lib/{chunk-EJ56Z27S.mjs → chunk-ZNADK25G.mjs} +8 -8
- package/lib/{chunk-EP73KCU2.mjs → chunk-ZNXJTPMT.mjs} +4 -4
- package/lib/{chunk-QUKKSRQH.mjs → chunk-ZZ6LK25R.mjs} +2 -2
- package/lib/components/accordion/Accordion.js +31 -4
- package/lib/components/accordion/Accordion.mjs +7 -3
- package/lib/components/accordion/index.js +41 -14
- package/lib/components/accordion/index.mjs +12 -8
- package/lib/components/accordion/index.native.js +37 -115
- package/lib/components/accordion/index.native.mjs +6 -6
- package/lib/components/accordion/item/AccordionItem.js +32 -5
- package/lib/components/accordion/item/AccordionItem.mjs +7 -3
- package/lib/components/accordion/item/AccordionItem.native.js +31 -109
- package/lib/components/accordion/item/AccordionItem.native.mjs +4 -4
- package/lib/components/accordion/item/body/AccordionBody.js +31 -4
- package/lib/components/accordion/item/body/AccordionBody.mjs +7 -3
- package/lib/components/accordion/item/body/index.js +31 -4
- package/lib/components/accordion/item/body/index.mjs +7 -3
- package/lib/components/accordion/item/header/AccordionHeader.js +31 -4
- package/lib/components/accordion/item/header/AccordionHeader.mjs +7 -3
- package/lib/components/accordion/item/header/index.js +31 -4
- package/lib/components/accordion/item/header/index.mjs +7 -3
- package/lib/components/accordion/item/index.js +32 -5
- package/lib/components/accordion/item/index.mjs +7 -3
- package/lib/components/accordion/item/index.native.js +31 -109
- package/lib/components/accordion/item/index.native.mjs +4 -4
- package/lib/components/alert/Alert.js +56 -42
- package/lib/components/alert/Alert.mjs +13 -10
- package/lib/components/alert/Alert.native.js +51 -129
- package/lib/components/alert/Alert.native.mjs +27 -27
- package/lib/components/alert/index.js +56 -42
- package/lib/components/alert/index.mjs +13 -10
- package/lib/components/alert/index.native.js +51 -129
- package/lib/components/alert/index.native.mjs +27 -27
- package/lib/components/autocomplete/AutoComplete.js +104 -90
- package/lib/components/autocomplete/AutoComplete.mjs +31 -28
- package/lib/components/autocomplete/AutoComplete.native.js +59 -137
- package/lib/components/autocomplete/AutoComplete.native.mjs +27 -27
- package/lib/components/autocomplete/index.js +104 -90
- package/lib/components/autocomplete/index.mjs +33 -30
- package/lib/components/autocomplete/index.native.js +84 -143
- package/lib/components/autocomplete/index.native.mjs +38 -35
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +12 -90
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +6 -6
- package/lib/components/autocomplete/item/AutoCompleteItem.js +31 -4
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +7 -3
- package/lib/components/autocomplete/item/index.js +31 -4
- package/lib/components/autocomplete/item/index.mjs +8 -4
- package/lib/components/autocomplete/item/index.native.js +12 -90
- package/lib/components/autocomplete/item/index.native.mjs +6 -6
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +30 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +7 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +28 -106
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +23 -23
- package/lib/components/autocomplete/menu/index.js +30 -3
- package/lib/components/autocomplete/menu/index.mjs +8 -4
- package/lib/components/autocomplete/menu/index.native.js +28 -106
- package/lib/components/autocomplete/menu/index.native.mjs +23 -23
- package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +2 -2
- package/lib/components/autolayout/AutoLayout/index.native.mjs +2 -2
- package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +3 -3
- package/lib/components/autolayout/helpers/AutoLayout.helpers.js +38 -11
- package/lib/components/autolayout/helpers/AutoLayout.helpers.mjs +7 -3
- package/lib/components/autolayout/index.mjs +3 -3
- package/lib/components/autolayout/index.native.mjs +3 -3
- package/lib/components/badge/Badge.js +37 -23
- package/lib/components/badge/Badge.mjs +8 -5
- package/lib/components/badge/Badge.native.js +21 -99
- package/lib/components/badge/Badge.native.mjs +21 -21
- package/lib/components/badge/index.js +37 -23
- package/lib/components/badge/index.mjs +8 -5
- package/lib/components/badge/index.native.js +21 -99
- package/lib/components/badge/index.native.mjs +21 -21
- package/lib/components/box/Box.js +30 -16
- package/lib/components/box/Box.mjs +7 -4
- package/lib/components/box/Box.native.js +16 -94
- package/lib/components/box/Box.native.mjs +3 -3
- package/lib/components/box/content/BoxContent.js +32 -18
- package/lib/components/box/content/BoxContent.mjs +7 -4
- package/lib/components/box/content/index.js +32 -18
- package/lib/components/box/content/index.mjs +8 -5
- package/lib/components/box/footer/BoxFooter.js +32 -18
- package/lib/components/box/footer/BoxFooter.mjs +7 -4
- package/lib/components/box/footer/BoxFooter.native.js +18 -96
- package/lib/components/box/footer/BoxFooter.native.mjs +20 -20
- package/lib/components/box/footer/index.js +32 -18
- package/lib/components/box/footer/index.mjs +8 -5
- package/lib/components/box/footer/index.native.js +18 -96
- package/lib/components/box/footer/index.native.mjs +20 -20
- package/lib/components/box/header/BoxHeader.js +32 -18
- package/lib/components/box/header/BoxHeader.mjs +7 -4
- package/lib/components/box/header/BoxHeader.native.js +1 -1
- package/lib/components/box/header/BoxHeader.native.mjs +2 -2
- package/lib/components/box/header/index.js +32 -18
- package/lib/components/box/header/index.mjs +8 -5
- package/lib/components/box/header/index.native.js +1 -1
- package/lib/components/box/header/index.native.mjs +2 -2
- package/lib/components/box/index.js +45 -31
- package/lib/components/box/index.mjs +20 -17
- package/lib/components/box/index.native.js +45 -123
- package/lib/components/box/index.native.mjs +24 -24
- package/lib/components/box/item/BoxItem.js +31 -4
- package/lib/components/box/item/BoxItem.mjs +7 -3
- package/lib/components/box/item/index.js +31 -4
- package/lib/components/box/item/index.mjs +8 -4
- package/lib/components/box/table-container/BoxTableContainer.js +31 -4
- package/lib/components/box/table-container/BoxTableContainer.mjs +7 -3
- package/lib/components/box/table-container/index.js +31 -4
- package/lib/components/box/table-container/index.mjs +8 -4
- package/lib/components/breadcrumb/Breadcrumb.js +32 -5
- package/lib/components/breadcrumb/Breadcrumb.mjs +7 -3
- package/lib/components/breadcrumb/Breadcrumb.native.js +18 -96
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +4 -4
- package/lib/components/breadcrumb/index.js +47 -33
- package/lib/components/breadcrumb/index.mjs +10 -7
- package/lib/components/breadcrumb/index.native.js +26 -104
- package/lib/components/breadcrumb/index.native.mjs +8 -8
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +43 -29
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +9 -6
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +13 -91
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +6 -6
- package/lib/components/breadcrumb/item/index.js +43 -29
- package/lib/components/breadcrumb/item/index.mjs +9 -6
- package/lib/components/breadcrumb/item/index.native.js +13 -91
- package/lib/components/breadcrumb/item/index.native.mjs +6 -6
- package/lib/components/button/Button.js +40 -26
- package/lib/components/button/Button.mjs +8 -5
- package/lib/components/button/Button.native.js +33 -111
- package/lib/components/button/Button.native.mjs +22 -22
- package/lib/components/button/index.js +43 -29
- package/lib/components/button/index.mjs +9 -6
- package/lib/components/button/index.native.js +35 -113
- package/lib/components/button/index.native.mjs +22 -22
- package/lib/components/button/list/ButtonList.js +31 -4
- package/lib/components/button/list/ButtonList.mjs +7 -3
- package/lib/components/button/list/index.js +31 -4
- package/lib/components/button/list/index.mjs +7 -3
- package/lib/components/calendar/Calendar.js +173 -159
- package/lib/components/calendar/Calendar.mjs +31 -28
- package/lib/components/calendar/Calendar.native.js +56 -134
- package/lib/components/calendar/Calendar.native.mjs +7 -7
- package/lib/components/calendar/index.js +173 -159
- package/lib/components/calendar/index.mjs +31 -28
- package/lib/components/calendar/index.native.js +56 -134
- package/lib/components/calendar/index.native.mjs +7 -7
- package/lib/components/card/Card.js +33 -6
- package/lib/components/card/Card.mjs +7 -3
- package/lib/components/card/Card.native.js +13 -91
- package/lib/components/card/Card.native.mjs +3 -3
- package/lib/components/card/content/CardContent.js +31 -4
- package/lib/components/card/content/CardContent.mjs +7 -3
- package/lib/components/card/content/CardContent.native.js +16 -94
- package/lib/components/card/content/CardContent.native.mjs +4 -4
- package/lib/components/card/content/index.js +31 -4
- package/lib/components/card/content/index.mjs +8 -4
- package/lib/components/card/content/index.native.js +16 -94
- package/lib/components/card/content/index.native.mjs +4 -4
- package/lib/components/card/image/CardImage.js +32 -5
- package/lib/components/card/image/CardImage.mjs +7 -3
- package/lib/components/card/image/CardImage.native.js +18 -96
- package/lib/components/card/image/CardImage.native.mjs +4 -4
- package/lib/components/card/image/index.js +32 -5
- package/lib/components/card/image/index.mjs +8 -4
- package/lib/components/card/image/index.native.js +18 -96
- package/lib/components/card/image/index.native.mjs +4 -4
- package/lib/components/card/index.js +40 -13
- package/lib/components/card/index.mjs +13 -9
- package/lib/components/card/index.native.js +21 -99
- package/lib/components/card/index.native.mjs +7 -7
- package/lib/components/checkbox/Checkbox.js +35 -8
- package/lib/components/checkbox/Checkbox.mjs +7 -3
- package/lib/components/checkbox/Checkbox.native.js +22 -100
- package/lib/components/checkbox/Checkbox.native.mjs +7 -7
- package/lib/components/checkbox/index.js +63 -49
- package/lib/components/checkbox/index.mjs +30 -27
- package/lib/components/checkbox/index.native.js +47 -125
- package/lib/components/checkbox/index.native.mjs +30 -30
- package/lib/components/checkbox/list/CheckboxList.js +42 -28
- package/lib/components/checkbox/list/CheckboxList.mjs +24 -21
- package/lib/components/checkbox/list/CheckboxList.native.js +11 -89
- package/lib/components/checkbox/list/CheckboxList.native.mjs +10 -10
- package/lib/components/checkbox/list/index.js +42 -28
- package/lib/components/checkbox/list/index.mjs +24 -21
- package/lib/components/checkbox/list/index.native.js +11 -89
- package/lib/components/checkbox/list/index.native.mjs +10 -10
- package/lib/components/checkbox/tiles/CheckboxTiles.js +34 -7
- package/lib/components/checkbox/tiles/CheckboxTiles.mjs +7 -3
- package/lib/components/checkbox/tiles/index.js +34 -7
- package/lib/components/checkbox/tiles/index.mjs +7 -3
- package/lib/components/checkbox/tiles/tile/CheckboxTile.js +44 -30
- package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +23 -20
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +36 -114
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +25 -25
- package/lib/components/checkbox/tiles/tile/index.js +44 -30
- package/lib/components/checkbox/tiles/tile/index.mjs +23 -20
- package/lib/components/checkbox/tiles/tile/index.native.js +36 -114
- package/lib/components/checkbox/tiles/tile/index.native.mjs +25 -25
- package/lib/components/chips/Chips.js +31 -4
- package/lib/components/chips/Chips.mjs +7 -3
- package/lib/components/chips/Chips.native.js +29 -107
- package/lib/components/chips/Chips.native.mjs +8 -8
- package/lib/components/chips/index.js +34 -7
- package/lib/components/chips/index.mjs +8 -4
- package/lib/components/chips/index.native.js +29 -107
- package/lib/components/chips/index.native.mjs +8 -8
- package/lib/components/chips/list/ChipsList.js +31 -4
- package/lib/components/chips/list/ChipsList.mjs +7 -3
- package/lib/components/chips/list/index.js +31 -4
- package/lib/components/chips/list/index.mjs +7 -3
- package/lib/components/columns/Columns.js +31 -4
- package/lib/components/columns/Columns.mjs +8 -4
- package/lib/components/columns/column/Column.js +31 -4
- package/lib/components/columns/column/Column.mjs +7 -3
- package/lib/components/columns/column/Column.native.js +17 -95
- package/lib/components/columns/column/Column.native.mjs +20 -20
- package/lib/components/columns/column/index.js +31 -4
- package/lib/components/columns/column/index.mjs +8 -4
- package/lib/components/columns/column/index.native.js +17 -95
- package/lib/components/columns/column/index.native.mjs +20 -20
- package/lib/components/columns/index.js +34 -7
- package/lib/components/columns/index.mjs +10 -6
- package/lib/components/columns/index.native.js +17 -95
- package/lib/components/columns/index.native.mjs +20 -20
- package/lib/components/container/Container.js +31 -4
- package/lib/components/container/Container.mjs +7 -3
- package/lib/components/container/index.js +31 -4
- package/lib/components/container/index.mjs +7 -3
- package/lib/components/countdown/Countdown.js +36 -9
- package/lib/components/countdown/Countdown.mjs +7 -3
- package/lib/components/countdown/Countdown.native.js +12 -90
- package/lib/components/countdown/Countdown.native.mjs +6 -6
- package/lib/components/countdown/index.js +36 -9
- package/lib/components/countdown/index.mjs +7 -3
- package/lib/components/countdown/index.native.js +12 -90
- package/lib/components/countdown/index.native.mjs +6 -6
- package/lib/components/datepicker/DatePicker.js +259 -245
- package/lib/components/datepicker/DatePicker.mjs +41 -38
- package/lib/components/datepicker/DatePicker.native.js +71 -149
- package/lib/components/datepicker/DatePicker.native.mjs +8 -8
- package/lib/components/datepicker/index.js +259 -245
- package/lib/components/datepicker/index.mjs +41 -38
- package/lib/components/datepicker/index.native.js +71 -149
- package/lib/components/datepicker/index.native.mjs +8 -8
- package/lib/components/divider/Divider.js +35 -21
- package/lib/components/divider/Divider.mjs +8 -5
- package/lib/components/divider/Divider.native.js +26 -104
- package/lib/components/divider/Divider.native.mjs +7 -7
- package/lib/components/divider/index.js +35 -21
- package/lib/components/divider/index.mjs +8 -5
- package/lib/components/divider/index.native.js +26 -104
- package/lib/components/divider/index.native.mjs +7 -7
- package/lib/components/fab/Fab.js +38 -24
- package/lib/components/fab/Fab.mjs +8 -5
- package/lib/components/fab/Fab.native.js +22 -100
- package/lib/components/fab/Fab.native.mjs +22 -22
- package/lib/components/fab/index.js +38 -24
- package/lib/components/fab/index.mjs +8 -5
- package/lib/components/fab/index.native.js +22 -100
- package/lib/components/fab/index.native.mjs +22 -22
- package/lib/components/flex-box/FlexBox.js +31 -4
- package/lib/components/flex-box/FlexBox.mjs +8 -4
- package/lib/components/flex-box/FlexBox.native.js +23 -101
- package/lib/components/flex-box/FlexBox.native.mjs +21 -21
- package/lib/components/flex-box/flex-item/FlexItem.js +31 -4
- package/lib/components/flex-box/flex-item/FlexItem.mjs +7 -3
- package/lib/components/flex-box/index.js +34 -7
- package/lib/components/flex-box/index.mjs +9 -5
- package/lib/components/flex-box/index.native.js +25 -103
- package/lib/components/flex-box/index.native.mjs +21 -21
- package/lib/components/hero/Hero.js +31 -17
- package/lib/components/hero/Hero.mjs +7 -4
- package/lib/components/hero/Hero.native.js +57 -135
- package/lib/components/hero/Hero.native.mjs +23 -23
- package/lib/components/hero/index.js +31 -17
- package/lib/components/hero/index.mjs +7 -4
- package/lib/components/hero/index.native.js +57 -135
- package/lib/components/hero/index.native.mjs +23 -23
- package/lib/components/icon/Icon.js +32 -18
- package/lib/components/icon/Icon.mjs +7 -4
- package/lib/components/icon/Icon.native.js +15 -93
- package/lib/components/icon/Icon.native.mjs +3 -3
- package/lib/components/icon/index.js +32 -18
- package/lib/components/icon/index.mjs +7 -4
- package/lib/components/icon/index.native.js +15 -93
- package/lib/components/icon/index.native.mjs +3 -3
- package/lib/components/image/Image.js +37 -23
- package/lib/components/image/Image.mjs +22 -19
- package/lib/components/image/index.js +37 -23
- package/lib/components/image/index.mjs +22 -19
- package/lib/components/index.js +684 -748
- package/lib/components/index.mjs +220 -217
- package/lib/components/index.native.js +995 -1071
- package/lib/components/index.native.mjs +156 -154
- package/lib/components/input/Input.js +87 -73
- package/lib/components/input/Input.mjs +26 -23
- package/lib/components/input/Input.native.js +47 -125
- package/lib/components/input/Input.native.mjs +24 -24
- package/lib/components/input/gauge/InputGauge.js +57 -43
- package/lib/components/input/gauge/InputGauge.mjs +22 -19
- package/lib/components/input/gauge/InputGauge.native.js +23 -101
- package/lib/components/input/gauge/InputGauge.native.mjs +22 -22
- package/lib/components/input/gauge/hook/useGauge.js +47 -33
- package/lib/components/input/gauge/hook/useGauge.mjs +21 -18
- package/lib/components/input/gauge/hook/useGauge.native.js +15 -93
- package/lib/components/input/gauge/hook/useGauge.native.mjs +20 -20
- package/lib/components/input/index.js +87 -73
- package/lib/components/input/index.mjs +26 -23
- package/lib/components/input/index.native.js +47 -125
- package/lib/components/input/index.native.mjs +24 -24
- package/lib/components/link/Link.js +39 -25
- package/lib/components/link/Link.mjs +8 -5
- package/lib/components/link/Link.native.js +22 -100
- package/lib/components/link/Link.native.mjs +4 -4
- package/lib/components/link/index.js +39 -25
- package/lib/components/link/index.mjs +8 -5
- package/lib/components/link/index.native.js +22 -100
- package/lib/components/link/index.native.mjs +4 -4
- package/lib/components/list/List.js +31 -4
- package/lib/components/list/List.mjs +7 -3
- package/lib/components/list/List.native.mjs +1 -1
- package/lib/components/list/context/index.mjs +1 -1
- package/lib/components/list/index.js +43 -29
- package/lib/components/list/index.mjs +24 -21
- package/lib/components/list/index.native.js +23 -101
- package/lib/components/list/index.native.mjs +24 -24
- package/lib/components/list/item/ListItem.js +37 -23
- package/lib/components/list/item/ListItem.mjs +22 -19
- package/lib/components/list/item/ListItem.native.js +23 -101
- package/lib/components/list/item/ListItem.native.mjs +23 -23
- package/lib/components/list/item/description/ListItemDescription.js +31 -4
- package/lib/components/list/item/description/ListItemDescription.mjs +7 -3
- package/lib/components/list/item/description/ListItemDescription.native.js +32 -110
- package/lib/components/list/item/description/ListItemDescription.native.mjs +23 -23
- package/lib/components/list/item/description/index.js +31 -4
- package/lib/components/list/item/description/index.mjs +7 -3
- package/lib/components/list/item/description/index.native.js +32 -110
- package/lib/components/list/item/description/index.native.mjs +23 -23
- package/lib/components/list/item/index.js +40 -26
- package/lib/components/list/item/index.mjs +23 -20
- package/lib/components/list/item/index.native.js +23 -101
- package/lib/components/list/item/index.native.mjs +24 -24
- package/lib/components/modal/Modal.js +64 -50
- package/lib/components/modal/Modal.mjs +12 -9
- package/lib/components/modal/Modal.native.js +32 -110
- package/lib/components/modal/Modal.native.mjs +22 -22
- package/lib/components/modal/body/ModalBody.js +31 -4
- package/lib/components/modal/body/ModalBody.mjs +7 -3
- package/lib/components/modal/body/ModalBody.native.js +18 -96
- package/lib/components/modal/body/ModalBody.native.mjs +20 -20
- package/lib/components/modal/body/index.native.js +18 -96
- package/lib/components/modal/body/index.native.mjs +20 -20
- package/lib/components/modal/footer/ModalFooter.js +31 -4
- package/lib/components/modal/footer/ModalFooter.mjs +7 -3
- package/lib/components/modal/footer/ModalFooter.native.js +23 -101
- package/lib/components/modal/footer/ModalFooter.native.mjs +22 -22
- package/lib/components/modal/footer/index.native.js +23 -101
- package/lib/components/modal/footer/index.native.mjs +22 -22
- package/lib/components/modal/index.js +70 -56
- package/lib/components/modal/index.mjs +16 -13
- package/lib/components/modal/index.native.js +38 -116
- package/lib/components/modal/index.native.mjs +23 -23
- package/lib/components/otp/Otp.js +43 -29
- package/lib/components/otp/Otp.mjs +9 -6
- package/lib/components/otp/Otp.native.js +30 -108
- package/lib/components/otp/Otp.native.mjs +23 -23
- package/lib/components/otp/index.js +43 -29
- package/lib/components/otp/index.mjs +9 -6
- package/lib/components/otp/index.native.js +30 -108
- package/lib/components/otp/index.native.mjs +23 -23
- package/lib/components/pagination/Pagination.js +44 -30
- package/lib/components/pagination/Pagination.mjs +8 -5
- package/lib/components/pagination/Pagination.native.js +27 -105
- package/lib/components/pagination/Pagination.native.mjs +7 -7
- package/lib/components/pagination/index.js +44 -30
- package/lib/components/pagination/index.mjs +8 -5
- package/lib/components/pagination/index.native.js +27 -105
- package/lib/components/pagination/index.native.mjs +7 -7
- package/lib/components/popover/Popover.js +31 -4
- package/lib/components/popover/Popover.mjs +7 -3
- package/lib/components/popover/Popover.native.js +22 -100
- package/lib/components/popover/Popover.native.mjs +20 -20
- package/lib/components/popover/index.js +31 -4
- package/lib/components/popover/index.mjs +7 -3
- package/lib/components/popover/index.native.js +22 -100
- package/lib/components/popover/index.native.mjs +20 -20
- package/lib/components/price/Price.js +43 -29
- package/lib/components/price/Price.mjs +23 -20
- package/lib/components/price/Price.native.js +22 -100
- package/lib/components/price/Price.native.mjs +21 -21
- package/lib/components/price/index.js +43 -29
- package/lib/components/price/index.mjs +23 -20
- package/lib/components/price/index.native.js +22 -100
- package/lib/components/price/index.native.mjs +21 -21
- package/lib/components/product-tour/ProductTour.js +37 -23
- package/lib/components/product-tour/ProductTour.mjs +8 -5
- package/lib/components/product-tour/index.js +37 -23
- package/lib/components/product-tour/index.mjs +8 -5
- package/lib/components/progress/Progress.js +40 -26
- package/lib/components/progress/Progress.mjs +24 -21
- package/lib/components/progress/Progress.native.js +37 -115
- package/lib/components/progress/Progress.native.mjs +23 -23
- package/lib/components/progress/index.js +57 -43
- package/lib/components/progress/index.mjs +31 -28
- package/lib/components/progress/index.native.js +57 -135
- package/lib/components/progress/index.native.mjs +27 -27
- package/lib/components/progress/item/ProgressItem.js +36 -22
- package/lib/components/progress/item/ProgressItem.mjs +22 -19
- package/lib/components/progress/item/index.js +36 -22
- package/lib/components/progress/item/index.mjs +23 -20
- package/lib/components/progress/radial/ProgressRadial.js +44 -30
- package/lib/components/progress/radial/ProgressRadial.mjs +11 -8
- package/lib/components/progress/radial/ProgressRadial.native.js +38 -116
- package/lib/components/progress/radial/ProgressRadial.native.mjs +22 -22
- package/lib/components/progress/radial/index.js +44 -30
- package/lib/components/progress/radial/index.mjs +12 -9
- package/lib/components/progress/radial/index.native.js +38 -116
- package/lib/components/progress/radial/index.native.mjs +22 -22
- package/lib/components/progress/radial/item/ProgressRadialtem.js +30 -3
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +7 -3
- package/lib/components/progress/radial/item/index.js +30 -3
- package/lib/components/progress/radial/item/index.mjs +7 -3
- package/lib/components/radio/Radio.js +33 -6
- package/lib/components/radio/Radio.mjs +7 -3
- package/lib/components/radio/Radio.native.js +25 -103
- package/lib/components/radio/Radio.native.mjs +22 -22
- package/lib/components/radio/index.js +58 -44
- package/lib/components/radio/index.mjs +30 -27
- package/lib/components/radio/index.native.js +106 -178
- package/lib/components/radio/index.native.mjs +37 -35
- package/lib/components/radio/list/RadioList.js +42 -28
- package/lib/components/radio/list/RadioList.mjs +24 -21
- package/lib/components/radio/list/RadioList.native.js +39 -25
- package/lib/components/radio/list/RadioList.native.mjs +13 -10
- package/lib/components/radio/list/index.js +42 -28
- package/lib/components/radio/list/index.mjs +24 -21
- package/lib/components/radio/list/index.native.js +39 -25
- package/lib/components/radio/list/index.native.mjs +13 -10
- package/lib/components/radio/tiles/RadioTiles.js +39 -25
- package/lib/components/radio/tiles/RadioTiles.mjs +22 -19
- package/lib/components/radio/tiles/index.js +39 -25
- package/lib/components/radio/tiles/index.mjs +22 -19
- package/lib/components/radio/tiles/tile/RadioTile.js +41 -27
- package/lib/components/radio/tiles/tile/RadioTile.mjs +23 -20
- package/lib/components/radio/tiles/tile/RadioTile.native.js +30 -108
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +24 -24
- package/lib/components/radio/tiles/tile/index.js +41 -27
- package/lib/components/radio/tiles/tile/index.mjs +23 -20
- package/lib/components/radio/tiles/tile/index.native.js +30 -108
- package/lib/components/radio/tiles/tile/index.native.mjs +24 -24
- package/lib/components/range/Range.js +51 -37
- package/lib/components/range/Range.mjs +22 -19
- package/lib/components/range/Range.native.js +25 -103
- package/lib/components/range/Range.native.mjs +22 -22
- package/lib/components/range/index.js +51 -37
- package/lib/components/range/index.mjs +22 -19
- package/lib/components/range/index.native.js +25 -103
- package/lib/components/range/index.native.mjs +22 -22
- package/lib/components/rows/Rows.js +31 -4
- package/lib/components/rows/Rows.mjs +7 -3
- package/lib/components/rows/index.js +34 -7
- package/lib/components/rows/index.mjs +9 -5
- package/lib/components/rows/row/Row.js +31 -4
- package/lib/components/rows/row/Row.mjs +7 -3
- package/lib/components/rows/row/index.js +31 -4
- package/lib/components/rows/row/index.mjs +8 -4
- package/lib/components/scroll-view/ScrollView.js +36 -22
- package/lib/components/scroll-view/ScrollView.mjs +22 -19
- package/lib/components/scroll-view/ScrollView.native.js +24 -102
- package/lib/components/scroll-view/ScrollView.native.mjs +20 -20
- package/lib/components/scroll-view/index.js +36 -22
- package/lib/components/scroll-view/index.mjs +22 -19
- package/lib/components/scroll-view/index.native.js +24 -102
- package/lib/components/scroll-view/index.native.mjs +20 -20
- package/lib/components/section/Section.js +36 -22
- package/lib/components/section/Section.mjs +22 -19
- package/lib/components/section/Section.native.js +20 -98
- package/lib/components/section/Section.native.mjs +20 -20
- package/lib/components/section/index.js +36 -22
- package/lib/components/section/index.mjs +22 -19
- package/lib/components/section/index.native.js +20 -98
- package/lib/components/section/index.native.mjs +20 -20
- package/lib/components/segment-control/SegmentControl.js +45 -31
- package/lib/components/segment-control/SegmentControl.mjs +24 -21
- package/lib/components/segment-control/SegmentControl.native.js +66 -125
- package/lib/components/segment-control/SegmentControl.native.mjs +30 -27
- package/lib/components/segment-control/index.js +45 -31
- package/lib/components/segment-control/index.mjs +24 -21
- package/lib/components/segment-control/index.native.js +75 -134
- package/lib/components/segment-control/index.native.mjs +30 -27
- package/lib/components/segment-control/item/SegmentControlItem.js +33 -6
- package/lib/components/segment-control/item/SegmentControlItem.mjs +7 -3
- package/lib/components/segment-control/item/index.js +33 -6
- package/lib/components/segment-control/item/index.mjs +8 -4
- package/lib/components/select/Select.js +131 -117
- package/lib/components/select/Select.mjs +30 -27
- package/lib/components/select/Select.native.js +76 -154
- package/lib/components/select/Select.native.mjs +33 -33
- package/lib/components/select/index.js +131 -117
- package/lib/components/select/index.mjs +30 -27
- package/lib/components/select/index.native.js +76 -154
- package/lib/components/select/index.native.mjs +33 -33
- package/lib/components/select/option/SelectOption.js +40 -26
- package/lib/components/select/option/SelectOption.mjs +8 -5
- package/lib/components/select/option/SelectOption.native.js +24 -102
- package/lib/components/select/option/SelectOption.native.mjs +22 -22
- package/lib/components/select/option/index.js +40 -26
- package/lib/components/select/option/index.mjs +9 -6
- package/lib/components/select/option/index.native.js +24 -102
- package/lib/components/select/option/index.native.mjs +23 -23
- package/lib/components/select/web/SelectDynamic.js +105 -91
- package/lib/components/select/web/SelectDynamic.mjs +27 -24
- package/lib/components/select/web/SelectNative.js +133 -119
- package/lib/components/select/web/SelectNative.mjs +30 -27
- package/lib/components/select/web/index.js +133 -119
- package/lib/components/select/web/index.mjs +30 -27
- package/lib/components/skeleton/Skeleton.d.mts +17 -0
- package/lib/components/skeleton/Skeleton.d.ts +17 -0
- package/lib/components/skeleton/Skeleton.js +41 -0
- package/lib/components/skeleton/Skeleton.mjs +8 -0
- package/lib/components/skeleton/Skeleton.native.d.mts +12 -0
- package/lib/components/skeleton/Skeleton.native.d.ts +12 -0
- package/lib/components/skeleton/index.d.mts +1 -1
- package/lib/components/skeleton/index.d.ts +1 -1
- package/lib/components/skeleton/index.js +5 -83
- package/lib/components/skeleton/index.mjs +3 -3
- package/lib/components/skeleton/index.native.d.mts +3 -0
- package/lib/components/skeleton/index.native.d.ts +3 -0
- package/lib/components/skeleton/index.native.js +125 -0
- package/lib/components/skeleton/index.native.mjs +9 -0
- package/lib/components/spacer/Spacer.js +31 -4
- package/lib/components/spacer/Spacer.mjs +7 -3
- package/lib/components/spacer/index.js +31 -4
- package/lib/components/spacer/index.mjs +7 -3
- package/lib/components/stepper/Stepper.js +37 -10
- package/lib/components/stepper/Stepper.mjs +8 -4
- package/lib/components/stepper/Stepper.native.js +22 -100
- package/lib/components/stepper/Stepper.native.mjs +22 -22
- package/lib/components/stepper/index.js +44 -30
- package/lib/components/stepper/index.mjs +11 -8
- package/lib/components/stepper/index.native.js +28 -106
- package/lib/components/stepper/index.native.mjs +22 -22
- package/lib/components/stepper/step/Step.js +35 -21
- package/lib/components/stepper/step/Step.mjs +8 -5
- package/lib/components/stepper/step/Step.native.js +21 -99
- package/lib/components/stepper/step/Step.native.mjs +20 -20
- package/lib/components/stepper/step/index.js +35 -21
- package/lib/components/stepper/step/index.mjs +9 -6
- package/lib/components/stepper/step/index.native.js +21 -99
- package/lib/components/stepper/step/index.native.mjs +20 -20
- package/lib/components/sticker/Sticker.js +36 -22
- package/lib/components/sticker/Sticker.mjs +22 -19
- package/lib/components/sticker/Sticker.native.js +22 -100
- package/lib/components/sticker/Sticker.native.mjs +22 -22
- package/lib/components/sticker/index.js +36 -22
- package/lib/components/sticker/index.mjs +22 -19
- package/lib/components/sticker/index.native.js +22 -100
- package/lib/components/sticker/index.native.mjs +22 -22
- package/lib/components/styleComponent/index.mjs +4 -4
- package/lib/components/switch/Switch.js +42 -28
- package/lib/components/switch/Switch.mjs +22 -19
- package/lib/components/switch/Switch.native.js +18 -96
- package/lib/components/switch/Switch.native.mjs +20 -20
- package/lib/components/switch/index.js +42 -28
- package/lib/components/switch/index.mjs +22 -19
- package/lib/components/switch/index.native.js +18 -96
- package/lib/components/switch/index.native.mjs +20 -20
- package/lib/components/table/Table.js +31 -4
- package/lib/components/table/Table.mjs +7 -3
- package/lib/components/table/Table.native.js +18 -96
- package/lib/components/table/Table.native.mjs +20 -20
- package/lib/components/table/body/TableBody.js +32 -18
- package/lib/components/table/body/TableBody.mjs +7 -4
- package/lib/components/table/body/index.js +32 -18
- package/lib/components/table/body/index.mjs +8 -5
- package/lib/components/table/head/TableHead.js +32 -18
- package/lib/components/table/head/TableHead.mjs +7 -4
- package/lib/components/table/head/index.js +32 -18
- package/lib/components/table/head/index.mjs +8 -5
- package/lib/components/table/index.js +47 -33
- package/lib/components/table/index.mjs +21 -18
- package/lib/components/table/index.native.js +46 -124
- package/lib/components/table/index.native.mjs +29 -29
- package/lib/components/table/td/TableTd.js +31 -4
- package/lib/components/table/td/TableTd.mjs +7 -3
- package/lib/components/table/td/TableTd.native.js +18 -96
- package/lib/components/table/td/TableTd.native.mjs +20 -20
- package/lib/components/table/td/index.js +31 -4
- package/lib/components/table/td/index.mjs +8 -4
- package/lib/components/table/td/index.native.js +18 -96
- package/lib/components/table/td/index.native.mjs +20 -20
- package/lib/components/table/th/TableTh.js +31 -4
- package/lib/components/table/th/TableTh.mjs +7 -3
- package/lib/components/table/th/TableTh.native.js +34 -112
- package/lib/components/table/th/TableTh.native.mjs +23 -23
- package/lib/components/table/th/index.js +31 -4
- package/lib/components/table/th/index.mjs +8 -4
- package/lib/components/table/th/index.native.js +34 -112
- package/lib/components/table/th/index.native.mjs +23 -23
- package/lib/components/table/tr/TableTr.js +32 -18
- package/lib/components/table/tr/TableTr.mjs +7 -4
- package/lib/components/table/tr/TableTr.native.js +32 -110
- package/lib/components/table/tr/TableTr.native.mjs +23 -23
- package/lib/components/table/tr/index.js +32 -18
- package/lib/components/table/tr/index.mjs +8 -5
- package/lib/components/table/tr/index.native.js +32 -110
- package/lib/components/table/tr/index.native.mjs +23 -23
- package/lib/components/tabs/Tabs.js +35 -8
- package/lib/components/tabs/Tabs.mjs +7 -3
- package/lib/components/tabs/index.js +86 -72
- package/lib/components/tabs/index.mjs +20 -17
- package/lib/components/tabs/index.native.js +38 -120
- package/lib/components/tabs/index.native.mjs +23 -23
- package/lib/components/tabs/tab-list/TabList.js +72 -58
- package/lib/components/tabs/tab-list/TabList.mjs +12 -9
- package/lib/components/tabs/tab-list/TabList.native.js +29 -111
- package/lib/components/tabs/tab-list/TabList.native.mjs +23 -23
- package/lib/components/tabs/tab-list/index.js +72 -58
- package/lib/components/tabs/tab-list/index.mjs +12 -9
- package/lib/components/tabs/tab-list/index.native.js +29 -111
- package/lib/components/tabs/tab-list/index.native.mjs +23 -23
- package/lib/components/tabs/tab-list/tab/Tab.js +46 -32
- package/lib/components/tabs/tab-list/tab/Tab.mjs +9 -6
- package/lib/components/tabs/tab-list/tab/Tab.native.js +24 -106
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +7 -7
- package/lib/components/tabs/tab-list/tab/index.js +46 -32
- package/lib/components/tabs/tab-list/tab/index.mjs +9 -6
- package/lib/components/tabs/tab-list/tab/index.native.js +24 -106
- package/lib/components/tabs/tab-list/tab/index.native.mjs +7 -7
- package/lib/components/tabs/tab-panels/TabPanels.js +37 -10
- package/lib/components/tabs/tab-panels/TabPanels.mjs +9 -5
- package/lib/components/tabs/tab-panels/TabPanels.native.js +18 -96
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +20 -20
- package/lib/components/tabs/tab-panels/index.js +37 -10
- package/lib/components/tabs/tab-panels/index.mjs +9 -5
- package/lib/components/tabs/tab-panels/index.native.js +18 -96
- package/lib/components/tabs/tab-panels/index.native.mjs +20 -20
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +32 -5
- package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +7 -3
- package/lib/components/tabs/tab-panels/tab-panel/index.js +32 -5
- package/lib/components/tabs/tab-panels/tab-panel/index.mjs +8 -4
- package/lib/components/tag/Tag.js +35 -21
- package/lib/components/tag/Tag.mjs +8 -5
- package/lib/components/tag/Tag.native.js +19 -97
- package/lib/components/tag/Tag.native.mjs +4 -4
- package/lib/components/tag/index.js +39 -25
- package/lib/components/tag/index.mjs +24 -21
- package/lib/components/tag/index.native.js +22 -100
- package/lib/components/tag/index.native.mjs +4 -4
- package/lib/components/tag/list/TagList.js +36 -22
- package/lib/components/tag/list/TagList.mjs +22 -19
- package/lib/components/tag/list/index.js +36 -22
- package/lib/components/tag/list/index.mjs +23 -20
- package/lib/components/text/Text.js +31 -4
- package/lib/components/text/Text.mjs +7 -3
- package/lib/components/text/Text.native.js +9 -87
- package/lib/components/text/Text.native.mjs +5 -5
- package/lib/components/text/index.js +31 -4
- package/lib/components/text/index.mjs +7 -3
- package/lib/components/text/index.native.js +9 -87
- package/lib/components/text/index.native.mjs +5 -5
- package/lib/components/textarea/Textarea.js +42 -28
- package/lib/components/textarea/Textarea.mjs +24 -21
- package/lib/components/textarea/Textarea.native.js +29 -107
- package/lib/components/textarea/Textarea.native.mjs +23 -23
- package/lib/components/textarea/index.js +42 -28
- package/lib/components/textarea/index.mjs +24 -21
- package/lib/components/textarea/index.native.js +29 -107
- package/lib/components/textarea/index.native.mjs +23 -23
- package/lib/components/timeline/Timeline.js +31 -4
- package/lib/components/timeline/Timeline.mjs +7 -3
- package/lib/components/timeline/content/TimelineContent.js +46 -32
- package/lib/components/timeline/content/TimelineContent.mjs +10 -7
- package/lib/components/timeline/content/TimelineContent.native.js +35 -113
- package/lib/components/timeline/content/TimelineContent.native.mjs +27 -27
- package/lib/components/timeline/content/index.js +46 -32
- package/lib/components/timeline/content/index.mjs +11 -8
- package/lib/components/timeline/content/index.native.js +35 -113
- package/lib/components/timeline/content/index.native.mjs +27 -27
- package/lib/components/timeline/index.js +55 -41
- package/lib/components/timeline/index.mjs +20 -17
- package/lib/components/timeline/index.native.js +39 -117
- package/lib/components/timeline/index.native.mjs +29 -29
- package/lib/components/timeline/item/TimelineItem.js +31 -4
- package/lib/components/timeline/item/TimelineItem.mjs +7 -3
- package/lib/components/timeline/item/index.js +31 -4
- package/lib/components/timeline/item/index.mjs +8 -4
- package/lib/components/timeline/marker/TimelineMarker.js +35 -21
- package/lib/components/timeline/marker/TimelineMarker.mjs +8 -5
- package/lib/components/timeline/marker/TimelineMarker.native.js +28 -106
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +21 -21
- package/lib/components/timeline/marker/index.js +35 -21
- package/lib/components/timeline/marker/index.mjs +9 -6
- package/lib/components/timeline/marker/index.native.js +28 -106
- package/lib/components/timeline/marker/index.native.mjs +22 -22
- package/lib/components/title/Title.js +31 -4
- package/lib/components/title/Title.mjs +8 -4
- package/lib/components/title/Title.native.js +20 -98
- package/lib/components/title/Title.native.mjs +21 -21
- package/lib/components/title/index.js +31 -4
- package/lib/components/title/index.mjs +8 -4
- package/lib/components/title/index.native.js +20 -98
- package/lib/components/title/index.native.mjs +21 -21
- package/lib/components/view/View.js +36 -22
- package/lib/components/view/View.mjs +22 -19
- package/lib/components/view/View.native.js +25 -103
- package/lib/components/view/View.native.mjs +21 -21
- package/lib/components/view/index.js +36 -22
- package/lib/components/view/index.mjs +23 -20
- package/lib/components/view/index.native.js +25 -103
- package/lib/components/view/index.native.mjs +21 -21
- package/lib/context/context/index.d.mts +10 -0
- package/lib/context/context/index.d.ts +10 -0
- package/lib/context/context/index.js +54 -0
- package/lib/context/context/index.mjs +10 -0
- package/lib/context/context/index.native.d.mts +2 -0
- package/lib/context/context/index.native.d.ts +2 -0
- package/lib/context/context/index.native.js +38 -0
- package/lib/context/context/index.native.mjs +10 -0
- package/lib/context/index.d.mts +5 -10
- package/lib/context/index.d.ts +5 -10
- package/lib/context/index.js +144 -1
- package/lib/context/index.mjs +20 -1
- package/lib/context/index.native.d.mts +5 -2
- package/lib/context/index.native.d.ts +5 -2
- package/lib/context/index.native.js +90 -1
- package/lib/context/index.native.mjs +25 -1
- package/lib/context/provider/index.js +31 -7
- package/lib/context/provider/index.mjs +5 -4
- package/lib/context/provider/index.native.mjs +3 -5
- package/lib/context/providerStates/index.js +1 -1
- package/lib/context/providerStates/index.mjs +1 -1
- package/lib/context/providerStyled/index.js +38 -14
- package/lib/context/providerStyled/index.mjs +6 -31
- package/lib/context/providerStyled/index.native.mjs +3 -5
- package/lib/context/test/provider.test.js +37 -13
- package/lib/context/test/provider.test.mjs +5 -4
- package/lib/helpers/hashClassesHelpers/index.js +28 -1
- package/lib/helpers/hashClassesHelpers/index.mjs +6 -2
- package/lib/helpers/index.js +28 -1
- package/lib/helpers/index.mjs +6 -2
- package/lib/helpers/index.native.js +28 -1
- package/lib/helpers/index.native.mjs +6 -2
- package/lib/index.js +797 -789
- package/lib/index.mjs +245 -233
- package/lib/index.native.d.mts +1 -2
- package/lib/index.native.d.ts +1 -2
- package/lib/index.native.js +996 -1114
- package/lib/index.native.mjs +173 -177
- package/lib/objects/Typography/index.mjs +3 -3
- package/lib/objects/Typography/index.native.mjs +7 -7
- package/lib/objects/facets/Status/index.js +33 -19
- package/lib/objects/facets/Status/index.mjs +7 -4
- package/lib/objects/facets/Status/index.native.js +15 -93
- package/lib/objects/facets/Status/index.native.mjs +3 -3
- package/lib/objects/facets/index.js +18 -4
- package/lib/objects/facets/index.mjs +27 -24
- package/lib/objects/facets/index.native.js +15 -93
- package/lib/objects/facets/index.native.mjs +23 -23
- package/lib/objects/index.js +20 -6
- package/lib/objects/index.mjs +32 -29
- package/lib/objects/index.native.js +15 -93
- package/lib/objects/index.native.mjs +36 -36
- 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 +6 -1
- package/lib/chunk-KYCWE6NL.mjs +0 -10
- package/lib/chunk-NYA63FUK.mjs +0 -44
- package/lib/{chunk-4GKCUICZ.mjs → chunk-LEVHVJ5Q.mjs} +3 -3
- package/lib/{chunk-MCQZ43VV.mjs → chunk-M2TC4BZG.mjs} +3 -3
- package/lib/{chunk-6GGZCKVV.mjs → chunk-XKU72OAN.mjs} +3 -3
|
@@ -35,7 +35,7 @@ __export(Checkbox_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(Checkbox_exports);
|
|
37
37
|
|
|
38
|
-
// context/index.tsx
|
|
38
|
+
// context/context/index.tsx
|
|
39
39
|
var React = __toESM(require("react"));
|
|
40
40
|
var TrilogyContext = React.createContext({
|
|
41
41
|
styled: false,
|
|
@@ -49,6 +49,33 @@ var useTrilogyContext = () => {
|
|
|
49
49
|
return context;
|
|
50
50
|
};
|
|
51
51
|
|
|
52
|
+
// context/provider/index.tsx
|
|
53
|
+
var import_react = __toESM(require("react"));
|
|
54
|
+
|
|
55
|
+
// context/providerStates/index.ts
|
|
56
|
+
var import_react2 = require("react");
|
|
57
|
+
var StatesContext = (0, import_react2.createContext)({
|
|
58
|
+
inverted: false,
|
|
59
|
+
active: false,
|
|
60
|
+
flat: false
|
|
61
|
+
});
|
|
62
|
+
|
|
63
|
+
// context/providerStyled/index.tsx
|
|
64
|
+
var React3 = __toESM(require("react"));
|
|
65
|
+
|
|
66
|
+
// context/providerTheme/index.tsx
|
|
67
|
+
var import_react3 = __toESM(require("react"));
|
|
68
|
+
var defaultTheme = {
|
|
69
|
+
icons: {},
|
|
70
|
+
colors: {},
|
|
71
|
+
fontFamily: {}
|
|
72
|
+
};
|
|
73
|
+
var defaultContextValue = {
|
|
74
|
+
theme: defaultTheme,
|
|
75
|
+
setTheme: () => void 0
|
|
76
|
+
};
|
|
77
|
+
var TrilogyThemeContext = import_react3.default.createContext(defaultContextValue);
|
|
78
|
+
|
|
52
79
|
// helpers/hashClassesHelpers/index.tsx
|
|
53
80
|
var hashClass = (addHash = false, classes) => {
|
|
54
81
|
const { hash, styled } = useTrilogyContext();
|
|
@@ -61,12 +88,12 @@ var hashClass = (addHash = false, classes) => {
|
|
|
61
88
|
|
|
62
89
|
// components/checkbox/Checkbox.tsx
|
|
63
90
|
var import_clsx = __toESM(require("clsx"));
|
|
64
|
-
var
|
|
65
|
-
var Checkbox =
|
|
66
|
-
({ checked, className, disabled, readonly, id =
|
|
91
|
+
var import_react4 = __toESM(require("react"));
|
|
92
|
+
var Checkbox = import_react4.default.forwardRef(
|
|
93
|
+
({ checked, className, disabled, readonly, id = import_react4.default.useId(), label, onChange, name, value, children, required, ...others }, ref) => {
|
|
67
94
|
const { styled } = useTrilogyContext();
|
|
68
|
-
const [_checked, setChecked] = (0,
|
|
69
|
-
(0,
|
|
95
|
+
const [_checked, setChecked] = (0, import_react4.useState)(checked || false);
|
|
96
|
+
(0, import_react4.useEffect)(() => {
|
|
70
97
|
if (!readonly) {
|
|
71
98
|
setChecked(checked || false);
|
|
72
99
|
}
|
|
@@ -80,7 +107,7 @@ var Checkbox = import_react.default.forwardRef(
|
|
|
80
107
|
checkboxChecked: target.checked
|
|
81
108
|
}) : setChecked(target.checked);
|
|
82
109
|
};
|
|
83
|
-
return /* @__PURE__ */
|
|
110
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { ref, className: hashClass(styled, (0, import_clsx.default)("checkbox", className)) }, /* @__PURE__ */ import_react4.default.createElement(
|
|
84
111
|
"input",
|
|
85
112
|
{
|
|
86
113
|
type: "checkbox",
|
|
@@ -94,7 +121,7 @@ var Checkbox = import_react.default.forwardRef(
|
|
|
94
121
|
onChange: handleOnChange,
|
|
95
122
|
...others
|
|
96
123
|
}
|
|
97
|
-
), /* @__PURE__ */
|
|
124
|
+
), /* @__PURE__ */ import_react4.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx.default)("checkbox-label")) }, label != null ? label : children));
|
|
98
125
|
}
|
|
99
126
|
);
|
|
100
127
|
Checkbox.displayName = "Checkbox" /* Checkbox */;
|
|
@@ -1,9 +1,13 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Checkbox_default
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-RHDHWW2S.mjs";
|
|
5
|
+
import "../../chunk-AEBY6HDR.mjs";
|
|
6
|
+
import "../../chunk-PMNL6QAW.mjs";
|
|
7
|
+
import "../../chunk-P372ZF3A.mjs";
|
|
8
|
+
import "../../chunk-XUTWIHGC.mjs";
|
|
9
|
+
import "../../chunk-6IKR6FTJ.mjs";
|
|
10
|
+
import "../../chunk-ZETKJIUV.mjs";
|
|
7
11
|
import "../../chunk-VDLM4YQP.mjs";
|
|
8
12
|
import "../../chunk-QIPGVLHJ.mjs";
|
|
9
13
|
export {
|
|
@@ -35,7 +35,7 @@ __export(Checkbox_native_exports, {
|
|
|
35
35
|
});
|
|
36
36
|
module.exports = __toCommonJS(Checkbox_native_exports);
|
|
37
37
|
|
|
38
|
-
// context/providerStates/index.
|
|
38
|
+
// context/providerStates/index.ts
|
|
39
39
|
var import_react = require("react");
|
|
40
40
|
var StatesContext = (0, import_react.createContext)({
|
|
41
41
|
inverted: false,
|
|
@@ -141,92 +141,14 @@ var getAlignStyle = (alignType) => {
|
|
|
141
141
|
|
|
142
142
|
// components/icon/Icon.native.tsx
|
|
143
143
|
var import_react5 = __toESM(require("react"));
|
|
144
|
-
var
|
|
144
|
+
var import_react_native2 = require("react-native");
|
|
145
145
|
|
|
146
|
-
// components/skeleton/Skeleton.
|
|
146
|
+
// components/skeleton/Skeleton.tsx
|
|
147
147
|
var import_react4 = __toESM(require("react"));
|
|
148
|
-
var
|
|
149
|
-
|
|
150
|
-
style,
|
|
151
|
-
width = "100%",
|
|
152
|
-
height = 20,
|
|
153
|
-
backgroundColor = "#E1E9EE",
|
|
154
|
-
shimmerColor = "#F7F8F8",
|
|
155
|
-
duration = 1200,
|
|
156
|
-
borderRadius = 4,
|
|
157
|
-
children,
|
|
158
|
-
testID
|
|
159
|
-
}) => {
|
|
160
|
-
const shimmerValue = (0, import_react4.useRef)(new import_react_native2.Animated.Value(0)).current;
|
|
161
|
-
const [containerWidth, setContainerWidth] = import_react4.default.useState(200);
|
|
162
|
-
(0, import_react4.useEffect)(() => {
|
|
163
|
-
const shimmerAnimation = import_react_native2.Animated.loop(
|
|
164
|
-
import_react_native2.Animated.timing(shimmerValue, {
|
|
165
|
-
toValue: 1,
|
|
166
|
-
duration,
|
|
167
|
-
useNativeDriver: true
|
|
168
|
-
}),
|
|
169
|
-
{ iterations: -1 }
|
|
170
|
-
);
|
|
171
|
-
shimmerAnimation.start();
|
|
172
|
-
return () => shimmerAnimation.stop();
|
|
173
|
-
}, [shimmerValue, duration]);
|
|
174
|
-
const translateX = shimmerValue.interpolate({
|
|
175
|
-
inputRange: [0, 1],
|
|
176
|
-
outputRange: [-containerWidth, containerWidth]
|
|
177
|
-
});
|
|
178
|
-
const opacity = shimmerValue.interpolate({
|
|
179
|
-
inputRange: [0, 0.5, 1],
|
|
180
|
-
outputRange: [0.3, 0.8, 0.3]
|
|
181
|
-
});
|
|
182
|
-
const containerStyle = {
|
|
183
|
-
width: children ? void 0 : width,
|
|
184
|
-
height: children ? void 0 : height,
|
|
185
|
-
backgroundColor,
|
|
186
|
-
borderRadius,
|
|
187
|
-
overflow: "hidden",
|
|
188
|
-
alignSelf: children ? "flex-start" : void 0,
|
|
189
|
-
...style
|
|
190
|
-
};
|
|
191
|
-
const handleLayout = (event) => {
|
|
192
|
-
const { width: layoutWidth } = event.nativeEvent.layout;
|
|
193
|
-
setContainerWidth(layoutWidth);
|
|
194
|
-
};
|
|
195
|
-
if (children) {
|
|
196
|
-
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react4.default.createElement(
|
|
197
|
-
import_react_native2.Animated.View,
|
|
198
|
-
{
|
|
199
|
-
style: [
|
|
200
|
-
{
|
|
201
|
-
position: "absolute",
|
|
202
|
-
top: 0,
|
|
203
|
-
left: 0,
|
|
204
|
-
width: containerWidth * 0.7,
|
|
205
|
-
height: "100%",
|
|
206
|
-
backgroundColor: shimmerColor,
|
|
207
|
-
opacity,
|
|
208
|
-
transform: [{ translateX }]
|
|
209
|
-
}
|
|
210
|
-
]
|
|
211
|
-
}
|
|
212
|
-
));
|
|
213
|
-
}
|
|
214
|
-
return /* @__PURE__ */ import_react4.default.createElement(import_react_native2.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react4.default.createElement(
|
|
215
|
-
import_react_native2.Animated.View,
|
|
216
|
-
{
|
|
217
|
-
style: [
|
|
218
|
-
{
|
|
219
|
-
width: containerWidth * 0.7,
|
|
220
|
-
height: "100%",
|
|
221
|
-
backgroundColor: shimmerColor,
|
|
222
|
-
opacity,
|
|
223
|
-
transform: [{ translateX }]
|
|
224
|
-
}
|
|
225
|
-
]
|
|
226
|
-
}
|
|
227
|
-
));
|
|
148
|
+
var Skeleton = () => {
|
|
149
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", null);
|
|
228
150
|
};
|
|
229
|
-
var
|
|
151
|
+
var Skeleton_default = Skeleton;
|
|
230
152
|
|
|
231
153
|
// components/icon/Icon.native.tsx
|
|
232
154
|
var import_css = require("react-native-svg/css");
|
|
@@ -242,7 +164,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
242
164
|
const background = backgroundColor && getColorStyle(backgroundColor) || circled && getColorStyle("MAIN" /* MAIN */) || "";
|
|
243
165
|
const iconSkeletonRadius = size === "huge" /* HUGE */ && 50 || size === "large" /* LARGE */ && 35 || size === "medium" /* MEDIUM */ && 25 || size === "small" /* SMALL */ && 15 || size === "smaller" /* SMALLER */ && 10 || 15;
|
|
244
166
|
const circledWidth = size === "huge" /* HUGE */ && 99 || size === "large" /* LARGE */ && 66 || size === "medium" /* MEDIUM */ && 48 || size === "small" /* SMALL */ && 32 || size === "smaller" /* SMALLER */ && 38 || 32;
|
|
245
|
-
const styles =
|
|
167
|
+
const styles = import_react_native2.StyleSheet.create({
|
|
246
168
|
rootView: {
|
|
247
169
|
alignSelf: getAlignStyle(align)
|
|
248
170
|
},
|
|
@@ -286,7 +208,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
286
208
|
}
|
|
287
209
|
});
|
|
288
210
|
const IconSkeleton = () => /* @__PURE__ */ import_react5.default.createElement(
|
|
289
|
-
|
|
211
|
+
Skeleton_default,
|
|
290
212
|
{
|
|
291
213
|
style: styles.skeleton,
|
|
292
214
|
width: circledWidth,
|
|
@@ -298,10 +220,10 @@ var Icon = import_react5.default.forwardRef(
|
|
|
298
220
|
if (skeleton) {
|
|
299
221
|
return /* @__PURE__ */ import_react5.default.createElement(IconSkeleton, null);
|
|
300
222
|
}
|
|
301
|
-
let iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
223
|
+
let iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, null);
|
|
302
224
|
if (name && icons) {
|
|
303
225
|
if (stretched && !circled) {
|
|
304
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
226
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.stretched, testID: `${testId}-stretched` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
305
227
|
import_css.WithLocalSvg,
|
|
306
228
|
{
|
|
307
229
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -312,7 +234,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
312
234
|
}
|
|
313
235
|
));
|
|
314
236
|
} else if (circled) {
|
|
315
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
237
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.circled, testID: `${testId}-circled` }, /* @__PURE__ */ import_react5.default.createElement(
|
|
316
238
|
import_css.WithLocalSvg,
|
|
317
239
|
{
|
|
318
240
|
style: [styles.iconCircled, styles.icon],
|
|
@@ -323,7 +245,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
323
245
|
}
|
|
324
246
|
));
|
|
325
247
|
} else {
|
|
326
|
-
iconView = /* @__PURE__ */ import_react5.default.createElement(
|
|
248
|
+
iconView = /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.iconContainer, ...others }, /* @__PURE__ */ import_react5.default.createElement(
|
|
327
249
|
import_css.WithLocalSvg,
|
|
328
250
|
{
|
|
329
251
|
style: [styles.icon, style],
|
|
@@ -335,8 +257,8 @@ var Icon = import_react5.default.forwardRef(
|
|
|
335
257
|
));
|
|
336
258
|
}
|
|
337
259
|
}
|
|
338
|
-
return onClick ? /* @__PURE__ */ import_react5.default.createElement(
|
|
339
|
-
|
|
260
|
+
return onClick ? /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, /* @__PURE__ */ import_react5.default.createElement(
|
|
261
|
+
import_react_native2.TouchableOpacity,
|
|
340
262
|
{
|
|
341
263
|
style: { width: "100%" },
|
|
342
264
|
onPress: onClick,
|
|
@@ -344,7 +266,7 @@ var Icon = import_react5.default.forwardRef(
|
|
|
344
266
|
testID: `${testId}-pressable`
|
|
345
267
|
},
|
|
346
268
|
iconView
|
|
347
|
-
)) : /* @__PURE__ */ import_react5.default.createElement(
|
|
269
|
+
)) : /* @__PURE__ */ import_react5.default.createElement(import_react_native2.View, { style: styles.rootView, testID: testId, ref }, iconView);
|
|
348
270
|
}
|
|
349
271
|
);
|
|
350
272
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -380,14 +302,14 @@ var setTypographyColor = (typo = "", inverted = false, loading = false) => {
|
|
|
380
302
|
|
|
381
303
|
// components/text/Text.native.tsx
|
|
382
304
|
var import_react7 = __toESM(require("react"));
|
|
383
|
-
var
|
|
305
|
+
var import_react_native3 = require("react-native");
|
|
384
306
|
var Text = import_react7.default.forwardRef(
|
|
385
307
|
({ children, level, style, inverted, typo, skeleton, accessibilityLabel, numberOfLines = 0, ...others }, ref) => {
|
|
386
308
|
const statesContext = (0, import_react7.useContext)(StatesContext);
|
|
387
309
|
const textLevels = (level2) => {
|
|
388
310
|
return level2 && level2 == 1 /* ONE */ && 16 || level2 && level2 == 2 /* TWO */ && 14 || level2 && level2 == 3 /* THREE */ && 12 || level2 && level2 == 4 /* FOUR */ && 10 || 14;
|
|
389
311
|
};
|
|
390
|
-
const styles =
|
|
312
|
+
const styles = import_react_native3.StyleSheet.create({
|
|
391
313
|
text: {
|
|
392
314
|
fontFamily: getTypographyBoldStyle(typo),
|
|
393
315
|
fontSize: textLevels(level),
|
|
@@ -409,7 +331,7 @@ var Text = import_react7.default.forwardRef(
|
|
|
409
331
|
});
|
|
410
332
|
const textAccessibilityLabel = accessibilityLabel ? accessibilityLabel : typeof children === "string" ? children : void 0;
|
|
411
333
|
let textView = /* @__PURE__ */ import_react7.default.createElement(
|
|
412
|
-
|
|
334
|
+
import_react_native3.Text,
|
|
413
335
|
{
|
|
414
336
|
ref,
|
|
415
337
|
numberOfLines,
|
|
@@ -424,7 +346,7 @@ var Text = import_react7.default.forwardRef(
|
|
|
424
346
|
);
|
|
425
347
|
if (skeleton) {
|
|
426
348
|
textView = /* @__PURE__ */ import_react7.default.createElement(
|
|
427
|
-
|
|
349
|
+
Skeleton_default,
|
|
428
350
|
{
|
|
429
351
|
style: styles.skeleton,
|
|
430
352
|
height: textLevels(level),
|
|
@@ -441,14 +363,14 @@ var Text_native_default = Text;
|
|
|
441
363
|
|
|
442
364
|
// components/checkbox/Checkbox.native.tsx
|
|
443
365
|
var import_react8 = __toESM(require("react"));
|
|
444
|
-
var
|
|
366
|
+
var import_react_native4 = require("react-native");
|
|
445
367
|
var Checkbox = import_react8.default.forwardRef(
|
|
446
368
|
({ id = import_react8.default.useId(), checked, name, onChange, disabled, readonly, label }, ref) => {
|
|
447
369
|
const [_checked, setChecked] = (0, import_react8.useState)(checked || false);
|
|
448
370
|
(0, import_react8.useEffect)(() => {
|
|
449
371
|
setChecked(checked || false);
|
|
450
372
|
}, [checked]);
|
|
451
|
-
const styles =
|
|
373
|
+
const styles = import_react_native4.StyleSheet.create({
|
|
452
374
|
container: {
|
|
453
375
|
flexDirection: "row",
|
|
454
376
|
justifyContent: "flex-start"
|
|
@@ -485,7 +407,7 @@ var Checkbox = import_react8.default.forwardRef(
|
|
|
485
407
|
}
|
|
486
408
|
}
|
|
487
409
|
};
|
|
488
|
-
return /* @__PURE__ */ import_react8.default.createElement(
|
|
410
|
+
return /* @__PURE__ */ import_react8.default.createElement(import_react_native4.TouchableOpacity, { ref, disabled, style: styles.container, onPress: () => handleClick() }, /* @__PURE__ */ import_react8.default.createElement(import_react_native4.TouchableOpacity, { style: styles.checkBox, disabled, testID: id, onPressIn: () => handleClick() }, _checked && /* @__PURE__ */ import_react8.default.createElement(Icon_native_default, { size: "smaller" /* SMALLER */, color: "WHITE" /* BACKGROUND */, name: "tri-check" /* CHECK */ })), label && typeof label.valueOf() === "string" ? /* @__PURE__ */ import_react8.default.createElement(Text_native_default, { style: styles.label }, String(label)) : label);
|
|
489
411
|
}
|
|
490
412
|
);
|
|
491
413
|
Checkbox.displayName = "Checkbox" /* Checkbox */;
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Checkbox_native_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-PJ76LGUE.mjs";
|
|
5
5
|
import "../../chunk-WEGZE5OY.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-R3PATAKZ.mjs";
|
|
7
7
|
import "../../chunk-D5HHHZDS.mjs";
|
|
8
|
-
import "../../chunk-WVL5S3CD.mjs";
|
|
9
8
|
import "../../chunk-3LXODEBD.mjs";
|
|
9
|
+
import "../../chunk-WVL5S3CD.mjs";
|
|
10
10
|
import "../../chunk-7L5452RP.mjs";
|
|
11
11
|
import "../../chunk-2K2TD7FH.mjs";
|
|
12
|
-
import "../../chunk-
|
|
13
|
-
import "../../chunk-CWIO3GEP.mjs";
|
|
12
|
+
import "../../chunk-G25IZXAD.mjs";
|
|
14
13
|
import "../../chunk-E4YRRUI3.mjs";
|
|
15
14
|
import "../../chunk-R6PFY5VS.mjs";
|
|
16
15
|
import "../../chunk-P6NVOAAH.mjs";
|
|
17
16
|
import "../../chunk-UZO5VCH2.mjs";
|
|
18
|
-
import "../../chunk-
|
|
17
|
+
import "../../chunk-JJA6BOVR.mjs";
|
|
19
18
|
import "../../chunk-LHDHBH5T.mjs";
|
|
20
|
-
import "../../chunk-ATW7ITPH.mjs";
|
|
21
19
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
20
|
+
import "../../chunk-ATW7ITPH.mjs";
|
|
22
21
|
import "../../chunk-CD6DMMCL.mjs";
|
|
23
22
|
import "../../chunk-RYABO2EX.mjs";
|
|
23
|
+
import "../../chunk-6IKR6FTJ.mjs";
|
|
24
24
|
import "../../chunk-4ZJQXF2V.mjs";
|
|
25
25
|
import "../../chunk-4UHBBNZ7.mjs";
|
|
26
26
|
import "../../chunk-VDLM4YQP.mjs";
|
|
@@ -38,7 +38,7 @@ __export(checkbox_exports, {
|
|
|
38
38
|
});
|
|
39
39
|
module.exports = __toCommonJS(checkbox_exports);
|
|
40
40
|
|
|
41
|
-
// context/index.tsx
|
|
41
|
+
// context/context/index.tsx
|
|
42
42
|
var React = __toESM(require("react"));
|
|
43
43
|
var TrilogyContext = React.createContext({
|
|
44
44
|
styled: false,
|
|
@@ -52,6 +52,33 @@ var useTrilogyContext = () => {
|
|
|
52
52
|
return context;
|
|
53
53
|
};
|
|
54
54
|
|
|
55
|
+
// context/provider/index.tsx
|
|
56
|
+
var import_react = __toESM(require("react"));
|
|
57
|
+
|
|
58
|
+
// context/providerStates/index.ts
|
|
59
|
+
var import_react2 = require("react");
|
|
60
|
+
var StatesContext = (0, import_react2.createContext)({
|
|
61
|
+
inverted: false,
|
|
62
|
+
active: false,
|
|
63
|
+
flat: false
|
|
64
|
+
});
|
|
65
|
+
|
|
66
|
+
// context/providerStyled/index.tsx
|
|
67
|
+
var React3 = __toESM(require("react"));
|
|
68
|
+
|
|
69
|
+
// context/providerTheme/index.tsx
|
|
70
|
+
var import_react3 = __toESM(require("react"));
|
|
71
|
+
var defaultTheme = {
|
|
72
|
+
icons: {},
|
|
73
|
+
colors: {},
|
|
74
|
+
fontFamily: {}
|
|
75
|
+
};
|
|
76
|
+
var defaultContextValue = {
|
|
77
|
+
theme: defaultTheme,
|
|
78
|
+
setTheme: () => void 0
|
|
79
|
+
};
|
|
80
|
+
var TrilogyThemeContext = import_react3.default.createContext(defaultContextValue);
|
|
81
|
+
|
|
55
82
|
// helpers/hashClassesHelpers/index.tsx
|
|
56
83
|
var hashClass = (addHash = false, classes) => {
|
|
57
84
|
const { hash, styled } = useTrilogyContext();
|
|
@@ -64,12 +91,12 @@ var hashClass = (addHash = false, classes) => {
|
|
|
64
91
|
|
|
65
92
|
// components/checkbox/Checkbox.tsx
|
|
66
93
|
var import_clsx = __toESM(require("clsx"));
|
|
67
|
-
var
|
|
68
|
-
var Checkbox =
|
|
69
|
-
({ checked, className, disabled, readonly, id =
|
|
94
|
+
var import_react4 = __toESM(require("react"));
|
|
95
|
+
var Checkbox = import_react4.default.forwardRef(
|
|
96
|
+
({ checked, className, disabled, readonly, id = import_react4.default.useId(), label, onChange, name, value, children, required, ...others }, ref) => {
|
|
70
97
|
const { styled } = useTrilogyContext();
|
|
71
|
-
const [_checked, setChecked] = (0,
|
|
72
|
-
(0,
|
|
98
|
+
const [_checked, setChecked] = (0, import_react4.useState)(checked || false);
|
|
99
|
+
(0, import_react4.useEffect)(() => {
|
|
73
100
|
if (!readonly) {
|
|
74
101
|
setChecked(checked || false);
|
|
75
102
|
}
|
|
@@ -83,7 +110,7 @@ var Checkbox = import_react.default.forwardRef(
|
|
|
83
110
|
checkboxChecked: target.checked
|
|
84
111
|
}) : setChecked(target.checked);
|
|
85
112
|
};
|
|
86
|
-
return /* @__PURE__ */
|
|
113
|
+
return /* @__PURE__ */ import_react4.default.createElement("div", { ref, className: hashClass(styled, (0, import_clsx.default)("checkbox", className)) }, /* @__PURE__ */ import_react4.default.createElement(
|
|
87
114
|
"input",
|
|
88
115
|
{
|
|
89
116
|
type: "checkbox",
|
|
@@ -97,14 +124,14 @@ var Checkbox = import_react.default.forwardRef(
|
|
|
97
124
|
onChange: handleOnChange,
|
|
98
125
|
...others
|
|
99
126
|
}
|
|
100
|
-
), /* @__PURE__ */
|
|
127
|
+
), /* @__PURE__ */ import_react4.default.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx.default)("checkbox-label")) }, label != null ? label : children));
|
|
101
128
|
}
|
|
102
129
|
);
|
|
103
130
|
Checkbox.displayName = "Checkbox" /* Checkbox */;
|
|
104
131
|
var Checkbox_default = Checkbox;
|
|
105
132
|
|
|
106
133
|
// components/text/Text.tsx
|
|
107
|
-
var
|
|
134
|
+
var React6 = __toESM(require("react"));
|
|
108
135
|
var import_clsx2 = __toESM(require("clsx"));
|
|
109
136
|
|
|
110
137
|
// components/text/TextEnum.ts
|
|
@@ -122,7 +149,7 @@ var is = classify("is");
|
|
|
122
149
|
var has = classify("has");
|
|
123
150
|
|
|
124
151
|
// components/text/Text.tsx
|
|
125
|
-
var Text =
|
|
152
|
+
var Text = React6.forwardRef(({
|
|
126
153
|
level,
|
|
127
154
|
markup,
|
|
128
155
|
children,
|
|
@@ -170,7 +197,7 @@ var Text = React3.forwardRef(({
|
|
|
170
197
|
if (stringMarkup in TextMarkup || Object.values(TextMarkup).includes(stringMarkup)) return true;
|
|
171
198
|
};
|
|
172
199
|
const Tag = markup && isCorrectMarkup(markup) ? markup : "p";
|
|
173
|
-
return /* @__PURE__ */
|
|
200
|
+
return /* @__PURE__ */ React6.createElement(
|
|
174
201
|
Tag,
|
|
175
202
|
{
|
|
176
203
|
ref,
|
|
@@ -212,26 +239,13 @@ var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
|
212
239
|
var SSRObject = toArrayObject();
|
|
213
240
|
|
|
214
241
|
// helpers/require/index.ts
|
|
215
|
-
var
|
|
216
|
-
var isRequiredChild = (children) =>
|
|
217
|
-
(child) =>
|
|
242
|
+
var import_react5 = __toESM(require("react"));
|
|
243
|
+
var isRequiredChild = (children) => import_react5.default.Children.toArray(children).some(
|
|
244
|
+
(child) => import_react5.default.isValidElement(child) && child.props.required
|
|
218
245
|
);
|
|
219
246
|
|
|
220
|
-
// context/providerTheme/index.tsx
|
|
221
|
-
var import_react3 = __toESM(require("react"));
|
|
222
|
-
var defaultTheme = {
|
|
223
|
-
icons: {},
|
|
224
|
-
colors: {},
|
|
225
|
-
fontFamily: {}
|
|
226
|
-
};
|
|
227
|
-
var defaultContextValue = {
|
|
228
|
-
theme: defaultTheme,
|
|
229
|
-
setTheme: () => void 0
|
|
230
|
-
};
|
|
231
|
-
var TrilogyThemeContext = import_react3.default.createContext(defaultContextValue);
|
|
232
|
-
|
|
233
247
|
// objects/facets/Color/index.tsx
|
|
234
|
-
var
|
|
248
|
+
var import_react6 = require("react");
|
|
235
249
|
var colors = {
|
|
236
250
|
["WHITE" /* BACKGROUND */]: ["#fff", "white", "main"],
|
|
237
251
|
["MAIN" /* MAIN */]: ["#3d5d7e", "main", "white"],
|
|
@@ -316,8 +330,8 @@ var getJustifySelfClassName = (justifyContent) => {
|
|
|
316
330
|
|
|
317
331
|
// components/icon/Icon.tsx
|
|
318
332
|
var import_clsx3 = __toESM(require("clsx"));
|
|
319
|
-
var
|
|
320
|
-
var Icon =
|
|
333
|
+
var React8 = __toESM(require("react"));
|
|
334
|
+
var Icon = React8.forwardRef(
|
|
321
335
|
({ className, id, size, name, circled, stretched, color, backgroundColor, onClick, skeleton, align, ...others }, ref) => {
|
|
322
336
|
const { styled } = useTrilogyContext();
|
|
323
337
|
const background = backgroundColor && has(getBackgroundClassName(backgroundColor)) || circled && has(getBackgroundClassName("MAIN" /* MAIN */)) || "";
|
|
@@ -336,7 +350,7 @@ var Icon = React6.forwardRef(
|
|
|
336
350
|
className
|
|
337
351
|
)
|
|
338
352
|
);
|
|
339
|
-
return /* @__PURE__ */
|
|
353
|
+
return /* @__PURE__ */ React8.createElement("span", { id, onClick: onClick && onClick, className: classes, ...others, ref }, /* @__PURE__ */ React8.createElement("i", { className: hashClass(styled, (0, import_clsx3.default)(name)), "aria-hidden": "true" }));
|
|
340
354
|
}
|
|
341
355
|
);
|
|
342
356
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -373,16 +387,16 @@ var getVariantClassName = (variantType) => {
|
|
|
373
387
|
};
|
|
374
388
|
|
|
375
389
|
// objects/Typography/TypographyBold/index.tsx
|
|
376
|
-
var
|
|
390
|
+
var import_react7 = require("react");
|
|
377
391
|
|
|
378
392
|
// components/checkbox/list/CheckboxList.tsx
|
|
379
393
|
var import_clsx4 = __toESM(require("clsx"));
|
|
380
|
-
var
|
|
381
|
-
var CheckboxList =
|
|
394
|
+
var React9 = __toESM(require("react"));
|
|
395
|
+
var CheckboxList = React9.forwardRef(
|
|
382
396
|
({ className, id, align, horizontalMobile, verticalDesktop, accessibilityLabelledBy, children, label, ...others }, ref) => {
|
|
383
397
|
const { styled } = useTrilogyContext();
|
|
384
398
|
const groupLabelClasses = hashClass(styled, "group-label");
|
|
385
|
-
return /* @__PURE__ */
|
|
399
|
+
return /* @__PURE__ */ React9.createElement(React9.Fragment, null, label && /* @__PURE__ */ React9.createElement("p", { className: groupLabelClasses }, label, isRequiredChild(children) && /* @__PURE__ */ React9.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, " ", "*")), /* @__PURE__ */ React9.createElement(
|
|
386
400
|
"div",
|
|
387
401
|
{
|
|
388
402
|
ref,
|
|
@@ -411,8 +425,8 @@ var CheckboxList_default = CheckboxList;
|
|
|
411
425
|
|
|
412
426
|
// components/checkbox/tiles/CheckboxTiles.tsx
|
|
413
427
|
var import_clsx5 = __toESM(require("clsx"));
|
|
414
|
-
var
|
|
415
|
-
var CheckboxTiles =
|
|
428
|
+
var React10 = __toESM(require("react"));
|
|
429
|
+
var CheckboxTiles = React10.forwardRef(
|
|
416
430
|
({ id, className, children, align, verticalAlign, accessibilityLabelledBy, ...others }, ref) => {
|
|
417
431
|
const { styled } = useTrilogyContext();
|
|
418
432
|
let alignClass = null;
|
|
@@ -423,7 +437,7 @@ var CheckboxTiles = React8.forwardRef(
|
|
|
423
437
|
if (verticalAlign) {
|
|
424
438
|
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;
|
|
425
439
|
}
|
|
426
|
-
return /* @__PURE__ */
|
|
440
|
+
return /* @__PURE__ */ React10.createElement(
|
|
427
441
|
"div",
|
|
428
442
|
{
|
|
429
443
|
ref,
|
|
@@ -446,8 +460,8 @@ var CheckboxTiles_default = CheckboxTiles;
|
|
|
446
460
|
|
|
447
461
|
// components/sticker/Sticker.tsx
|
|
448
462
|
var import_clsx6 = __toESM(require("clsx"));
|
|
449
|
-
var
|
|
450
|
-
var Sticker =
|
|
463
|
+
var import_react8 = __toESM(require("react"));
|
|
464
|
+
var Sticker = import_react8.default.forwardRef(({
|
|
451
465
|
className,
|
|
452
466
|
id,
|
|
453
467
|
variant,
|
|
@@ -470,22 +484,22 @@ var Sticker = import_react6.default.forwardRef(({
|
|
|
470
484
|
is("vcentered")
|
|
471
485
|
)
|
|
472
486
|
);
|
|
473
|
-
return /* @__PURE__ */
|
|
487
|
+
return /* @__PURE__ */ import_react8.default.createElement("p", { ref, id, className: classes, "aria-label": accessibilityLabel, ...others }, iconName && /* @__PURE__ */ import_react8.default.createElement(Icon_default, { size: small ? "smaller" /* SMALLER */ : "small" /* SMALL */, name: iconName }), label);
|
|
474
488
|
});
|
|
475
489
|
Sticker.displayName = "Sticker" /* Sticker */;
|
|
476
490
|
var Sticker_default = Sticker;
|
|
477
491
|
|
|
478
492
|
// components/checkbox/tiles/tile/CheckboxTile.tsx
|
|
479
493
|
var import_clsx7 = __toESM(require("clsx"));
|
|
480
|
-
var
|
|
481
|
-
var
|
|
482
|
-
var CheckboxTile =
|
|
494
|
+
var React12 = __toESM(require("react"));
|
|
495
|
+
var import_react9 = require("react");
|
|
496
|
+
var CheckboxTile = React12.forwardRef(
|
|
483
497
|
({
|
|
484
498
|
checked,
|
|
485
499
|
className,
|
|
486
500
|
disabled,
|
|
487
501
|
readonly,
|
|
488
|
-
id =
|
|
502
|
+
id = React12.useId(),
|
|
489
503
|
label,
|
|
490
504
|
onChange,
|
|
491
505
|
name,
|
|
@@ -499,13 +513,13 @@ var CheckboxTile = React10.forwardRef(
|
|
|
499
513
|
...others
|
|
500
514
|
}, ref) => {
|
|
501
515
|
const { styled } = useTrilogyContext();
|
|
502
|
-
const [_checked, setChecked] = (0,
|
|
503
|
-
(0,
|
|
516
|
+
const [_checked, setChecked] = (0, import_react9.useState)(checked || false);
|
|
517
|
+
(0, import_react9.useEffect)(() => {
|
|
504
518
|
if (!readonly) {
|
|
505
519
|
setChecked(checked || false);
|
|
506
520
|
}
|
|
507
521
|
}, [checked, readonly]);
|
|
508
|
-
return /* @__PURE__ */
|
|
522
|
+
return /* @__PURE__ */ React12.createElement("div", { ref, className: hashClass(styled, (0, import_clsx7.default)("checkbox-tile", horizontal && is("horizontal"), className)) }, /* @__PURE__ */ React12.createElement(
|
|
509
523
|
"input",
|
|
510
524
|
{
|
|
511
525
|
type: "checkbox",
|
|
@@ -519,7 +533,7 @@ var CheckboxTile = React10.forwardRef(
|
|
|
519
533
|
onChange: (e) => onChange ? onChange : setChecked(e.target.checked),
|
|
520
534
|
...others
|
|
521
535
|
}
|
|
522
|
-
), /* @__PURE__ */
|
|
536
|
+
), /* @__PURE__ */ React12.createElement("label", { htmlFor: id, className: hashClass(styled, (0, import_clsx7.default)("checkbox-label")) }, icon && /* @__PURE__ */ React12.createElement(Icon_default, { name: icon, size: "medium" /* MEDIUM */ }), horizontal ? /* @__PURE__ */ React12.createElement("span", null, /* @__PURE__ */ React12.createElement("span", { className: hashClass(styled, (0, import_clsx7.default)("checkbox-title")) }, label), description && /* @__PURE__ */ React12.createElement("span", { className: hashClass(styled, (0, import_clsx7.default)("checkbox-description")) }, description)) : /* @__PURE__ */ React12.createElement(React12.Fragment, null, /* @__PURE__ */ React12.createElement("span", { className: hashClass(styled, (0, import_clsx7.default)("checkbox-title")) }, label), description && /* @__PURE__ */ React12.createElement("span", { className: hashClass(styled, (0, import_clsx7.default)("checkbox-description")) }, description))), sticker && /* @__PURE__ */ React12.createElement(Sticker_default, { label: sticker, variant: stickerVariant, className: "checkbox-sticker", small: true }));
|
|
523
537
|
}
|
|
524
538
|
);
|
|
525
539
|
CheckboxTile.displayName = "CheckboxTiles" /* CheckboxTiles */;
|