@trilogy-ds/react 0.0.23-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-33VIHGIE.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-GQOES35K.mjs → chunk-35P2GFHE.mjs} +2 -2
- package/lib/{chunk-XRN2HE4L.mjs → chunk-3K66IDEM.mjs} +1 -1
- package/lib/{chunk-KRZWEBDP.mjs → chunk-3KNUQLB6.mjs} +2 -2
- package/lib/{chunk-3EEOOLVU.mjs → chunk-3Q36KXPA.mjs} +2 -2
- package/lib/{chunk-KPIWEUFQ.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-CU2FQJB3.mjs → chunk-5CRE5L6X.mjs} +2 -2
- package/lib/{chunk-V4BZDJSQ.mjs → chunk-5D3WYM25.mjs} +2 -2
- package/lib/{chunk-FKLCZFMR.mjs → chunk-5TA2DEFJ.mjs} +2 -2
- package/lib/{chunk-X4ABDBKN.mjs → chunk-5TB5SHQX.mjs} +1 -1
- package/lib/{chunk-UQSQUPSK.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-NHN7GU32.mjs → chunk-6PKFJTR4.mjs} +2 -2
- package/lib/{chunk-VXYPRBJB.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-7LIZKR65.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-DJQD6XHB.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-HZAMMVDY.mjs → chunk-AZZ5HW4W.mjs} +3 -3
- package/lib/{chunk-HZL4PLNP.mjs → chunk-BAHET6SO.mjs} +2 -2
- package/lib/{chunk-T27AVHAC.mjs → chunk-BB4CHSZW.mjs} +2 -2
- package/lib/{chunk-DTG6ZDOA.mjs → chunk-BKJTZKXR.mjs} +1 -1
- package/lib/{chunk-EIBKS56D.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-RAQQH2DI.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-DB4LE4EW.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-RGEGLOEG.mjs → chunk-ERBNAV6P.mjs} +2 -2
- package/lib/{chunk-HVDDVQIJ.mjs → chunk-FA3RCDVF.mjs} +3 -3
- package/lib/{chunk-EKMGL7ZZ.mjs → chunk-FES7E6XR.mjs} +1 -1
- package/lib/{chunk-MR7AJAP2.mjs → chunk-FI6OORG5.mjs} +2 -2
- package/lib/{chunk-IRYNHKFI.mjs → chunk-FM5TDIGH.mjs} +1 -1
- package/lib/{chunk-AVYI3IRF.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-5NCBENYK.mjs → chunk-G25IZXAD.mjs} +3 -3
- 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-6WPEEBMC.mjs → chunk-JBRB6UO5.mjs} +1 -1
- package/lib/{chunk-Z7AZ74DI.mjs → chunk-JFNPMFSP.mjs} +2 -2
- package/lib/{chunk-INMX4E34.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-WWBPXBJT.mjs → chunk-JYORSGTM.mjs} +2 -2
- package/lib/{chunk-BNFC4BW2.mjs → chunk-K2JIIRTX.mjs} +1 -1
- package/lib/{chunk-2DMJIJTD.mjs → chunk-KDAZ6BEC.mjs} +3 -3
- package/lib/{chunk-33VW4RVE.mjs → chunk-KPAPQ4IC.mjs} +2 -2
- package/lib/{chunk-I3KHCP2X.mjs → chunk-KTNZEEPJ.mjs} +2 -2
- package/lib/{chunk-UIJLFZYF.mjs → chunk-KYJZK3YJ.mjs} +1 -1
- package/lib/{chunk-P3RZGE6X.mjs → chunk-LFNZETZS.mjs} +3 -3
- package/lib/{chunk-FADGUVGS.mjs → chunk-LKQDPJV3.mjs} +2 -2
- package/lib/{chunk-7HQWD2HW.mjs → chunk-LPOWVAJK.mjs} +2 -2
- package/lib/{chunk-6RNUF4LV.mjs → chunk-LR6UB33S.mjs} +1 -1
- package/lib/{chunk-TZFHL54Q.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-OQ6PNNED.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-3QN2JTJH.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-4J6WJU6H.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-TXKGISWW.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-MIEXUCOH.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-RA7237YI.mjs → chunk-R3PATAKZ.mjs} +3 -3
- 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-3TFMB2ZU.mjs → chunk-SIIM6V43.mjs} +3 -3
- 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-J2YGXNIH.mjs → chunk-TQYLYXDD.mjs} +3 -3
- package/lib/{chunk-M3FKAS2D.mjs → chunk-TT23XPP5.mjs} +2 -2
- package/lib/{chunk-PZ2SAVMT.mjs → chunk-TTOOQXA2.mjs} +2 -2
- package/lib/{chunk-UMCBNLSL.mjs → chunk-TU3M3HXO.mjs} +1 -1
- package/lib/{chunk-Z44CCSOP.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-DOYDNMGO.mjs → chunk-UCE7MO2B.mjs} +2 -2
- package/lib/{chunk-UVXTJYNN.mjs → chunk-UGCBEAF4.mjs} +2 -2
- package/lib/{chunk-JDIKK2K5.mjs → chunk-UP6C5CAR.mjs} +2 -2
- package/lib/{chunk-ZUZ6IVLL.mjs → chunk-UXIUWXUF.mjs} +1 -1
- package/lib/{chunk-EFI4OPOL.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-THX2YDD5.mjs → chunk-W4QFWAZK.mjs} +2 -2
- package/lib/{chunk-NPCDCOTL.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-PZP5ZUI3.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-T2NWMSDU.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-6YU73H5M.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-4LBDW7MG.mjs → chunk-YTLLJ6RH.mjs} +11 -11
- package/lib/{chunk-HS7PWFF3.mjs → chunk-Z6W7GBCH.mjs} +4 -4
- package/lib/{chunk-ILTCTVY7.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-2EF72O53.mjs → chunk-ZNADK25G.mjs} +3 -3
- package/lib/{chunk-IZYESQPA.mjs → chunk-ZNXJTPMT.mjs} +1 -1
- 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 +1 -1
- package/lib/components/accordion/index.native.mjs +5 -5
- 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 +1 -1
- package/lib/components/accordion/item/AccordionItem.native.mjs +3 -3
- 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 +1 -1
- package/lib/components/accordion/item/index.native.mjs +3 -3
- package/lib/components/alert/Alert.js +56 -42
- package/lib/components/alert/Alert.mjs +14 -11
- package/lib/components/alert/Alert.native.js +1 -1
- package/lib/components/alert/Alert.native.mjs +20 -20
- package/lib/components/alert/index.js +56 -42
- package/lib/components/alert/index.mjs +14 -11
- package/lib/components/alert/index.native.js +1 -1
- package/lib/components/alert/index.native.mjs +20 -20
- package/lib/components/autocomplete/AutoComplete.js +104 -90
- package/lib/components/autocomplete/AutoComplete.mjs +28 -25
- package/lib/components/autocomplete/AutoComplete.native.js +1 -1
- package/lib/components/autocomplete/AutoComplete.native.mjs +20 -20
- package/lib/components/autocomplete/index.js +104 -90
- package/lib/components/autocomplete/index.mjs +30 -27
- package/lib/components/autocomplete/index.native.js +26 -7
- package/lib/components/autocomplete/index.native.mjs +32 -29
- package/lib/components/autocomplete/item/AutoCompleteIem.native.js +1 -1
- package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +3 -3
- package/lib/components/autocomplete/item/AutoCompleteItem.js +31 -4
- package/lib/components/autocomplete/item/AutoCompleteItem.mjs +8 -4
- package/lib/components/autocomplete/item/index.js +31 -4
- package/lib/components/autocomplete/item/index.mjs +9 -5
- package/lib/components/autocomplete/item/index.native.js +1 -1
- package/lib/components/autocomplete/item/index.native.mjs +3 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.js +30 -3
- package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +8 -4
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +1 -1
- package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +16 -16
- package/lib/components/autocomplete/menu/index.js +30 -3
- package/lib/components/autocomplete/menu/index.mjs +9 -5
- package/lib/components/autocomplete/menu/index.native.js +1 -1
- package/lib/components/autocomplete/menu/index.native.mjs +16 -16
- 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.native.mjs +3 -3
- package/lib/components/badge/Badge.js +37 -23
- package/lib/components/badge/Badge.mjs +9 -6
- package/lib/components/badge/Badge.native.js +1 -1
- package/lib/components/badge/Badge.native.mjs +14 -14
- package/lib/components/badge/index.js +37 -23
- package/lib/components/badge/index.mjs +9 -6
- package/lib/components/badge/index.native.js +1 -1
- package/lib/components/badge/index.native.mjs +14 -14
- package/lib/components/box/Box.js +30 -16
- package/lib/components/box/Box.mjs +7 -4
- package/lib/components/box/Box.native.js +1 -1
- package/lib/components/box/Box.native.mjs +2 -2
- package/lib/components/box/content/BoxContent.js +32 -18
- package/lib/components/box/content/BoxContent.mjs +8 -5
- package/lib/components/box/content/index.js +32 -18
- package/lib/components/box/content/index.mjs +9 -6
- package/lib/components/box/footer/BoxFooter.js +32 -18
- package/lib/components/box/footer/BoxFooter.mjs +8 -5
- package/lib/components/box/footer/BoxFooter.native.js +1 -1
- package/lib/components/box/footer/BoxFooter.native.mjs +13 -13
- package/lib/components/box/footer/index.js +32 -18
- package/lib/components/box/footer/index.mjs +9 -6
- package/lib/components/box/footer/index.native.js +1 -1
- package/lib/components/box/footer/index.native.mjs +13 -13
- package/lib/components/box/header/BoxHeader.js +32 -18
- package/lib/components/box/header/BoxHeader.mjs +8 -5
- 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 +9 -6
- 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 +21 -18
- package/lib/components/box/index.native.js +1 -1
- package/lib/components/box/index.native.mjs +15 -15
- 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 +1 -1
- package/lib/components/breadcrumb/Breadcrumb.native.mjs +3 -3
- package/lib/components/breadcrumb/index.js +47 -33
- package/lib/components/breadcrumb/index.mjs +11 -8
- package/lib/components/breadcrumb/index.native.js +1 -1
- package/lib/components/breadcrumb/index.native.mjs +5 -5
- package/lib/components/breadcrumb/item/BreadcrumbItem.js +43 -29
- package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +10 -7
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +1 -1
- package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +3 -3
- package/lib/components/breadcrumb/item/index.js +43 -29
- package/lib/components/breadcrumb/item/index.mjs +10 -7
- package/lib/components/breadcrumb/item/index.native.js +1 -1
- package/lib/components/breadcrumb/item/index.native.mjs +3 -3
- package/lib/components/button/Button.js +40 -26
- package/lib/components/button/Button.mjs +9 -6
- package/lib/components/button/Button.native.js +1 -1
- package/lib/components/button/Button.native.mjs +15 -15
- package/lib/components/button/index.js +43 -29
- package/lib/components/button/index.mjs +10 -7
- package/lib/components/button/index.native.js +1 -1
- package/lib/components/button/index.native.mjs +15 -15
- package/lib/components/button/list/ButtonList.js +31 -4
- package/lib/components/button/list/ButtonList.mjs +8 -4
- package/lib/components/button/list/index.js +31 -4
- package/lib/components/button/list/index.mjs +8 -4
- package/lib/components/calendar/Calendar.js +173 -159
- package/lib/components/calendar/Calendar.mjs +28 -25
- package/lib/components/calendar/Calendar.native.js +1 -1
- package/lib/components/calendar/Calendar.native.mjs +4 -4
- package/lib/components/calendar/index.js +173 -159
- package/lib/components/calendar/index.mjs +28 -25
- package/lib/components/calendar/index.native.js +1 -1
- package/lib/components/calendar/index.native.mjs +4 -4
- package/lib/components/card/Card.js +33 -6
- package/lib/components/card/Card.mjs +7 -3
- package/lib/components/card/Card.native.js +1 -1
- package/lib/components/card/Card.native.mjs +2 -2
- 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 +1 -1
- package/lib/components/card/content/CardContent.native.mjs +3 -3
- 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 +1 -1
- package/lib/components/card/content/index.native.mjs +3 -3
- 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 +1 -1
- package/lib/components/card/image/CardImage.native.mjs +3 -3
- 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 +1 -1
- package/lib/components/card/image/index.native.mjs +3 -3
- package/lib/components/card/index.js +40 -13
- package/lib/components/card/index.mjs +13 -9
- package/lib/components/card/index.native.js +1 -1
- package/lib/components/card/index.native.mjs +4 -4
- package/lib/components/checkbox/Checkbox.js +35 -8
- package/lib/components/checkbox/Checkbox.mjs +7 -3
- package/lib/components/checkbox/Checkbox.native.js +1 -1
- package/lib/components/checkbox/Checkbox.native.mjs +4 -4
- package/lib/components/checkbox/index.js +63 -49
- package/lib/components/checkbox/index.mjs +27 -24
- package/lib/components/checkbox/index.native.js +1 -1
- package/lib/components/checkbox/index.native.mjs +23 -23
- package/lib/components/checkbox/list/CheckboxList.js +42 -28
- package/lib/components/checkbox/list/CheckboxList.mjs +21 -18
- package/lib/components/checkbox/list/CheckboxList.native.js +1 -1
- package/lib/components/checkbox/list/CheckboxList.native.mjs +7 -7
- package/lib/components/checkbox/list/index.js +42 -28
- package/lib/components/checkbox/list/index.mjs +21 -18
- package/lib/components/checkbox/list/index.native.js +1 -1
- package/lib/components/checkbox/list/index.native.mjs +7 -7
- 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 +20 -17
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +1 -1
- package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +18 -18
- package/lib/components/checkbox/tiles/tile/index.js +44 -30
- package/lib/components/checkbox/tiles/tile/index.mjs +20 -17
- package/lib/components/checkbox/tiles/tile/index.native.js +1 -1
- package/lib/components/checkbox/tiles/tile/index.native.mjs +18 -18
- package/lib/components/chips/Chips.js +31 -4
- package/lib/components/chips/Chips.mjs +7 -3
- package/lib/components/chips/Chips.native.js +1 -1
- package/lib/components/chips/Chips.native.mjs +5 -5
- package/lib/components/chips/index.js +34 -7
- package/lib/components/chips/index.mjs +8 -4
- package/lib/components/chips/index.native.js +1 -1
- package/lib/components/chips/index.native.mjs +5 -5
- 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 +1 -1
- package/lib/components/columns/column/Column.native.mjs +13 -13
- 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 +1 -1
- package/lib/components/columns/column/index.native.mjs +13 -13
- package/lib/components/columns/index.js +34 -7
- package/lib/components/columns/index.mjs +10 -6
- package/lib/components/columns/index.native.js +1 -1
- package/lib/components/columns/index.native.mjs +13 -13
- 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 +1 -1
- package/lib/components/countdown/Countdown.native.mjs +3 -3
- package/lib/components/countdown/index.js +36 -9
- package/lib/components/countdown/index.mjs +7 -3
- package/lib/components/countdown/index.native.js +1 -1
- package/lib/components/countdown/index.native.mjs +3 -3
- package/lib/components/datepicker/DatePicker.js +259 -245
- package/lib/components/datepicker/DatePicker.mjs +38 -35
- package/lib/components/datepicker/DatePicker.native.js +9 -9
- package/lib/components/datepicker/DatePicker.native.mjs +5 -5
- package/lib/components/datepicker/index.js +259 -245
- package/lib/components/datepicker/index.mjs +38 -35
- package/lib/components/datepicker/index.native.js +9 -9
- package/lib/components/datepicker/index.native.mjs +5 -5
- package/lib/components/divider/Divider.js +35 -21
- package/lib/components/divider/Divider.mjs +9 -6
- package/lib/components/divider/Divider.native.js +1 -1
- package/lib/components/divider/Divider.native.mjs +4 -4
- package/lib/components/divider/index.js +35 -21
- package/lib/components/divider/index.mjs +9 -6
- package/lib/components/divider/index.native.js +1 -1
- package/lib/components/divider/index.native.mjs +4 -4
- package/lib/components/fab/Fab.js +38 -24
- package/lib/components/fab/Fab.mjs +9 -6
- package/lib/components/fab/Fab.native.js +1 -1
- package/lib/components/fab/Fab.native.mjs +15 -15
- package/lib/components/fab/index.js +38 -24
- package/lib/components/fab/index.mjs +9 -6
- package/lib/components/fab/index.native.js +1 -1
- package/lib/components/fab/index.native.mjs +15 -15
- 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 +1 -1
- package/lib/components/flex-box/FlexBox.native.mjs +14 -14
- 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 +1 -1
- package/lib/components/flex-box/index.native.mjs +14 -14
- package/lib/components/hero/Hero.js +31 -17
- package/lib/components/hero/Hero.mjs +7 -4
- package/lib/components/hero/Hero.native.js +1 -1
- package/lib/components/hero/Hero.native.mjs +16 -16
- package/lib/components/hero/index.js +31 -17
- package/lib/components/hero/index.mjs +7 -4
- package/lib/components/hero/index.native.js +1 -1
- package/lib/components/hero/index.native.mjs +16 -16
- package/lib/components/icon/Icon.js +32 -18
- package/lib/components/icon/Icon.mjs +8 -5
- package/lib/components/icon/Icon.native.js +1 -1
- package/lib/components/icon/Icon.native.mjs +2 -2
- package/lib/components/icon/index.js +32 -18
- package/lib/components/icon/index.mjs +8 -5
- package/lib/components/icon/index.native.js +1 -1
- package/lib/components/icon/index.native.mjs +2 -2
- package/lib/components/image/Image.js +37 -23
- package/lib/components/image/Image.mjs +19 -16
- package/lib/components/image/index.js +37 -23
- package/lib/components/image/index.mjs +19 -16
- package/lib/components/index.js +679 -665
- package/lib/components/index.mjs +196 -193
- package/lib/components/index.native.js +639 -637
- package/lib/components/index.native.mjs +143 -141
- package/lib/components/input/Input.js +87 -73
- package/lib/components/input/Input.mjs +23 -20
- package/lib/components/input/Input.native.js +1 -1
- package/lib/components/input/Input.native.mjs +17 -17
- package/lib/components/input/gauge/InputGauge.js +57 -43
- package/lib/components/input/gauge/InputGauge.mjs +19 -16
- package/lib/components/input/gauge/InputGauge.native.js +1 -1
- package/lib/components/input/gauge/InputGauge.native.mjs +15 -15
- package/lib/components/input/gauge/hook/useGauge.js +47 -33
- package/lib/components/input/gauge/hook/useGauge.mjs +18 -15
- package/lib/components/input/gauge/hook/useGauge.native.js +1 -1
- package/lib/components/input/gauge/hook/useGauge.native.mjs +13 -13
- package/lib/components/input/index.js +87 -73
- package/lib/components/input/index.mjs +23 -20
- package/lib/components/input/index.native.js +1 -1
- package/lib/components/input/index.native.mjs +17 -17
- package/lib/components/link/Link.js +39 -25
- package/lib/components/link/Link.mjs +9 -6
- package/lib/components/link/Link.native.js +1 -1
- package/lib/components/link/Link.native.mjs +3 -3
- package/lib/components/link/index.js +39 -25
- package/lib/components/link/index.mjs +9 -6
- package/lib/components/link/index.native.js +1 -1
- package/lib/components/link/index.native.mjs +3 -3
- 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 +21 -18
- package/lib/components/list/index.native.js +1 -1
- package/lib/components/list/index.native.mjs +17 -17
- package/lib/components/list/item/ListItem.js +37 -23
- package/lib/components/list/item/ListItem.mjs +19 -16
- package/lib/components/list/item/ListItem.native.js +1 -1
- package/lib/components/list/item/ListItem.native.mjs +16 -16
- package/lib/components/list/item/description/ListItemDescription.js +31 -4
- package/lib/components/list/item/description/ListItemDescription.mjs +8 -4
- package/lib/components/list/item/description/ListItemDescription.native.js +1 -1
- package/lib/components/list/item/description/ListItemDescription.native.mjs +16 -16
- package/lib/components/list/item/description/index.js +31 -4
- package/lib/components/list/item/description/index.mjs +8 -4
- package/lib/components/list/item/description/index.native.js +1 -1
- package/lib/components/list/item/description/index.native.mjs +16 -16
- package/lib/components/list/item/index.js +40 -26
- package/lib/components/list/item/index.mjs +20 -17
- package/lib/components/list/item/index.native.js +1 -1
- package/lib/components/list/item/index.native.mjs +17 -17
- package/lib/components/modal/Modal.js +64 -50
- package/lib/components/modal/Modal.mjs +13 -10
- package/lib/components/modal/Modal.native.js +1 -1
- package/lib/components/modal/Modal.native.mjs +15 -15
- package/lib/components/modal/body/ModalBody.js +31 -4
- package/lib/components/modal/body/ModalBody.mjs +8 -4
- package/lib/components/modal/body/ModalBody.native.js +1 -1
- package/lib/components/modal/body/ModalBody.native.mjs +13 -13
- package/lib/components/modal/body/index.native.js +1 -1
- package/lib/components/modal/body/index.native.mjs +13 -13
- package/lib/components/modal/footer/ModalFooter.js +31 -4
- package/lib/components/modal/footer/ModalFooter.mjs +8 -4
- package/lib/components/modal/footer/ModalFooter.native.js +1 -1
- package/lib/components/modal/footer/ModalFooter.native.mjs +15 -15
- package/lib/components/modal/footer/index.native.js +1 -1
- package/lib/components/modal/footer/index.native.mjs +15 -15
- package/lib/components/modal/index.js +70 -56
- package/lib/components/modal/index.mjs +17 -14
- package/lib/components/modal/index.native.js +1 -1
- package/lib/components/modal/index.native.mjs +16 -16
- package/lib/components/otp/Otp.js +43 -29
- package/lib/components/otp/Otp.mjs +8 -5
- package/lib/components/otp/Otp.native.js +1 -1
- package/lib/components/otp/Otp.native.mjs +16 -16
- package/lib/components/otp/index.js +43 -29
- package/lib/components/otp/index.mjs +8 -5
- package/lib/components/otp/index.native.js +1 -1
- package/lib/components/otp/index.native.mjs +16 -16
- package/lib/components/pagination/Pagination.js +44 -30
- package/lib/components/pagination/Pagination.mjs +9 -6
- package/lib/components/pagination/Pagination.native.js +1 -1
- package/lib/components/pagination/Pagination.native.mjs +4 -4
- package/lib/components/pagination/index.js +44 -30
- package/lib/components/pagination/index.mjs +9 -6
- package/lib/components/pagination/index.native.js +1 -1
- package/lib/components/pagination/index.native.mjs +4 -4
- package/lib/components/popover/Popover.js +31 -4
- package/lib/components/popover/Popover.mjs +7 -3
- package/lib/components/popover/Popover.native.js +1 -1
- package/lib/components/popover/Popover.native.mjs +13 -13
- package/lib/components/popover/index.js +31 -4
- package/lib/components/popover/index.mjs +7 -3
- package/lib/components/popover/index.native.js +1 -1
- package/lib/components/popover/index.native.mjs +13 -13
- package/lib/components/price/Price.js +43 -29
- package/lib/components/price/Price.mjs +20 -17
- package/lib/components/price/Price.native.js +1 -1
- package/lib/components/price/Price.native.mjs +14 -14
- package/lib/components/price/index.js +43 -29
- package/lib/components/price/index.mjs +20 -17
- package/lib/components/price/index.native.js +1 -1
- package/lib/components/price/index.native.mjs +14 -14
- package/lib/components/product-tour/ProductTour.js +37 -23
- package/lib/components/product-tour/ProductTour.mjs +9 -6
- package/lib/components/product-tour/index.js +37 -23
- package/lib/components/product-tour/index.mjs +9 -6
- package/lib/components/progress/Progress.js +40 -26
- package/lib/components/progress/Progress.mjs +21 -18
- package/lib/components/progress/Progress.native.js +1 -1
- package/lib/components/progress/Progress.native.mjs +16 -16
- package/lib/components/progress/index.js +57 -43
- package/lib/components/progress/index.mjs +28 -25
- package/lib/components/progress/index.native.js +1 -1
- package/lib/components/progress/index.native.mjs +20 -20
- package/lib/components/progress/item/ProgressItem.js +36 -22
- package/lib/components/progress/item/ProgressItem.mjs +19 -16
- package/lib/components/progress/item/index.js +36 -22
- package/lib/components/progress/item/index.mjs +20 -17
- package/lib/components/progress/radial/ProgressRadial.js +44 -30
- package/lib/components/progress/radial/ProgressRadial.mjs +12 -9
- package/lib/components/progress/radial/ProgressRadial.native.js +1 -1
- package/lib/components/progress/radial/ProgressRadial.native.mjs +15 -15
- package/lib/components/progress/radial/index.js +44 -30
- package/lib/components/progress/radial/index.mjs +13 -10
- package/lib/components/progress/radial/index.native.js +1 -1
- package/lib/components/progress/radial/index.native.mjs +15 -15
- package/lib/components/progress/radial/item/ProgressRadialtem.js +30 -3
- package/lib/components/progress/radial/item/ProgressRadialtem.mjs +8 -4
- package/lib/components/progress/radial/item/index.js +30 -3
- package/lib/components/progress/radial/item/index.mjs +8 -4
- package/lib/components/radio/Radio.js +33 -6
- package/lib/components/radio/Radio.mjs +7 -3
- package/lib/components/radio/Radio.native.js +1 -1
- package/lib/components/radio/Radio.native.mjs +15 -15
- package/lib/components/radio/index.js +58 -44
- package/lib/components/radio/index.mjs +26 -23
- package/lib/components/radio/index.native.js +83 -77
- package/lib/components/radio/index.native.mjs +28 -26
- package/lib/components/radio/list/RadioList.js +42 -28
- package/lib/components/radio/list/RadioList.mjs +21 -18
- package/lib/components/radio/list/RadioList.native.js +39 -25
- package/lib/components/radio/list/RadioList.native.mjs +12 -9
- package/lib/components/radio/list/index.js +42 -28
- package/lib/components/radio/list/index.mjs +21 -18
- package/lib/components/radio/list/index.native.js +39 -25
- package/lib/components/radio/list/index.native.mjs +12 -9
- package/lib/components/radio/tiles/RadioTiles.js +39 -25
- package/lib/components/radio/tiles/RadioTiles.mjs +19 -16
- package/lib/components/radio/tiles/index.js +39 -25
- package/lib/components/radio/tiles/index.mjs +19 -16
- package/lib/components/radio/tiles/tile/RadioTile.js +41 -27
- package/lib/components/radio/tiles/tile/RadioTile.mjs +20 -17
- package/lib/components/radio/tiles/tile/RadioTile.native.js +1 -1
- package/lib/components/radio/tiles/tile/RadioTile.native.mjs +17 -17
- package/lib/components/radio/tiles/tile/index.js +41 -27
- package/lib/components/radio/tiles/tile/index.mjs +20 -17
- package/lib/components/radio/tiles/tile/index.native.js +1 -1
- package/lib/components/radio/tiles/tile/index.native.mjs +17 -17
- package/lib/components/range/Range.js +51 -37
- package/lib/components/range/Range.mjs +19 -16
- package/lib/components/range/Range.native.js +1 -1
- package/lib/components/range/Range.native.mjs +15 -15
- package/lib/components/range/index.js +51 -37
- package/lib/components/range/index.mjs +19 -16
- package/lib/components/range/index.native.js +1 -1
- package/lib/components/range/index.native.mjs +15 -15
- package/lib/components/rows/Rows.js +31 -4
- package/lib/components/rows/Rows.mjs +8 -4
- package/lib/components/rows/index.js +34 -7
- package/lib/components/rows/index.mjs +10 -6
- package/lib/components/rows/row/Row.js +31 -4
- package/lib/components/rows/row/Row.mjs +8 -4
- package/lib/components/rows/row/index.js +31 -4
- package/lib/components/rows/row/index.mjs +9 -5
- package/lib/components/scroll-view/ScrollView.js +36 -22
- package/lib/components/scroll-view/ScrollView.mjs +19 -16
- package/lib/components/scroll-view/ScrollView.native.js +1 -1
- package/lib/components/scroll-view/ScrollView.native.mjs +13 -13
- package/lib/components/scroll-view/index.js +36 -22
- package/lib/components/scroll-view/index.mjs +19 -16
- package/lib/components/scroll-view/index.native.js +1 -1
- package/lib/components/scroll-view/index.native.mjs +13 -13
- package/lib/components/section/Section.js +36 -22
- package/lib/components/section/Section.mjs +19 -16
- package/lib/components/section/Section.native.js +1 -1
- package/lib/components/section/Section.native.mjs +13 -13
- package/lib/components/section/index.js +36 -22
- package/lib/components/section/index.mjs +19 -16
- package/lib/components/section/index.native.js +1 -1
- package/lib/components/section/index.native.mjs +13 -13
- package/lib/components/segment-control/SegmentControl.js +45 -31
- package/lib/components/segment-control/SegmentControl.mjs +21 -18
- package/lib/components/segment-control/SegmentControl.native.js +33 -14
- package/lib/components/segment-control/SegmentControl.native.mjs +24 -21
- package/lib/components/segment-control/index.js +45 -31
- package/lib/components/segment-control/index.mjs +21 -18
- package/lib/components/segment-control/index.native.js +39 -20
- package/lib/components/segment-control/index.native.mjs +24 -21
- package/lib/components/segment-control/item/SegmentControlItem.js +33 -6
- package/lib/components/segment-control/item/SegmentControlItem.mjs +8 -4
- package/lib/components/segment-control/item/index.js +33 -6
- package/lib/components/segment-control/item/index.mjs +9 -5
- package/lib/components/select/Select.js +131 -117
- package/lib/components/select/Select.mjs +27 -24
- package/lib/components/select/Select.native.js +1 -1
- package/lib/components/select/Select.native.mjs +26 -26
- package/lib/components/select/index.js +131 -117
- package/lib/components/select/index.mjs +27 -24
- package/lib/components/select/index.native.js +1 -1
- package/lib/components/select/index.native.mjs +26 -26
- package/lib/components/select/option/SelectOption.js +40 -26
- package/lib/components/select/option/SelectOption.mjs +9 -6
- package/lib/components/select/option/SelectOption.native.js +1 -1
- package/lib/components/select/option/SelectOption.native.mjs +15 -15
- package/lib/components/select/option/index.js +40 -26
- package/lib/components/select/option/index.mjs +10 -7
- package/lib/components/select/option/index.native.js +1 -1
- package/lib/components/select/option/index.native.mjs +16 -16
- package/lib/components/select/web/SelectDynamic.js +105 -91
- package/lib/components/select/web/SelectDynamic.mjs +24 -21
- package/lib/components/select/web/SelectNative.js +133 -119
- package/lib/components/select/web/SelectNative.mjs +27 -24
- package/lib/components/select/web/index.js +133 -119
- package/lib/components/select/web/index.mjs +27 -24
- package/lib/components/skeleton/Skeleton.d.mts +13 -0
- package/lib/components/skeleton/Skeleton.d.ts +13 -0
- package/lib/components/skeleton/Skeleton.native.d.mts +12 -0
- package/lib/components/skeleton/Skeleton.native.d.ts +12 -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 +9 -5
- package/lib/components/stepper/Stepper.native.js +1 -1
- package/lib/components/stepper/Stepper.native.mjs +15 -15
- package/lib/components/stepper/index.js +44 -30
- package/lib/components/stepper/index.mjs +12 -9
- package/lib/components/stepper/index.native.js +1 -1
- package/lib/components/stepper/index.native.mjs +15 -15
- package/lib/components/stepper/step/Step.js +35 -21
- package/lib/components/stepper/step/Step.mjs +9 -6
- package/lib/components/stepper/step/Step.native.js +1 -1
- package/lib/components/stepper/step/Step.native.mjs +13 -13
- package/lib/components/stepper/step/index.js +35 -21
- package/lib/components/stepper/step/index.mjs +10 -7
- package/lib/components/stepper/step/index.native.js +1 -1
- package/lib/components/stepper/step/index.native.mjs +13 -13
- package/lib/components/sticker/Sticker.js +36 -22
- package/lib/components/sticker/Sticker.mjs +19 -16
- package/lib/components/sticker/Sticker.native.js +1 -1
- package/lib/components/sticker/Sticker.native.mjs +15 -15
- package/lib/components/sticker/index.js +36 -22
- package/lib/components/sticker/index.mjs +19 -16
- package/lib/components/sticker/index.native.js +1 -1
- package/lib/components/sticker/index.native.mjs +15 -15
- package/lib/components/switch/Switch.js +42 -28
- package/lib/components/switch/Switch.mjs +19 -16
- package/lib/components/switch/Switch.native.js +1 -1
- package/lib/components/switch/Switch.native.mjs +13 -13
- package/lib/components/switch/index.js +42 -28
- package/lib/components/switch/index.mjs +19 -16
- package/lib/components/switch/index.native.js +1 -1
- package/lib/components/switch/index.native.mjs +13 -13
- package/lib/components/table/Table.js +31 -4
- package/lib/components/table/Table.mjs +7 -3
- package/lib/components/table/Table.native.js +1 -1
- package/lib/components/table/Table.native.mjs +13 -13
- 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 +20 -17
- package/lib/components/table/index.native.js +1 -1
- package/lib/components/table/index.native.mjs +20 -20
- 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 +1 -1
- package/lib/components/table/td/TableTd.native.mjs +13 -13
- 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 +1 -1
- package/lib/components/table/td/index.native.mjs +13 -13
- 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 +1 -1
- package/lib/components/table/th/TableTh.native.mjs +16 -16
- 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 +1 -1
- package/lib/components/table/th/index.native.mjs +16 -16
- 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 +1 -1
- package/lib/components/table/tr/TableTr.native.mjs +16 -16
- 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 +1 -1
- package/lib/components/table/tr/index.native.mjs +16 -16
- 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 +17 -14
- package/lib/components/tabs/index.native.js +2 -6
- package/lib/components/tabs/index.native.mjs +20 -20
- package/lib/components/tabs/tab-list/TabList.js +72 -58
- package/lib/components/tabs/tab-list/TabList.mjs +13 -10
- package/lib/components/tabs/tab-list/TabList.native.js +2 -6
- package/lib/components/tabs/tab-list/TabList.native.mjs +16 -16
- package/lib/components/tabs/tab-list/index.js +72 -58
- package/lib/components/tabs/tab-list/index.mjs +13 -10
- package/lib/components/tabs/tab-list/index.native.js +2 -6
- package/lib/components/tabs/tab-list/index.native.mjs +16 -16
- package/lib/components/tabs/tab-list/tab/Tab.js +46 -32
- package/lib/components/tabs/tab-list/tab/Tab.mjs +10 -7
- package/lib/components/tabs/tab-list/tab/Tab.native.js +2 -6
- package/lib/components/tabs/tab-list/tab/Tab.native.mjs +4 -4
- package/lib/components/tabs/tab-list/tab/index.js +46 -32
- package/lib/components/tabs/tab-list/tab/index.mjs +10 -7
- package/lib/components/tabs/tab-list/tab/index.native.js +2 -6
- package/lib/components/tabs/tab-list/tab/index.native.mjs +4 -4
- 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 +1 -1
- package/lib/components/tabs/tab-panels/TabPanels.native.mjs +13 -13
- 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 +1 -1
- package/lib/components/tabs/tab-panels/index.native.mjs +13 -13
- 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 +9 -6
- package/lib/components/tag/Tag.native.js +1 -1
- package/lib/components/tag/Tag.native.mjs +3 -3
- package/lib/components/tag/index.js +39 -25
- package/lib/components/tag/index.mjs +21 -18
- package/lib/components/tag/index.native.js +1 -1
- package/lib/components/tag/index.native.mjs +3 -3
- package/lib/components/tag/list/TagList.js +36 -22
- package/lib/components/tag/list/TagList.mjs +19 -16
- package/lib/components/tag/list/index.js +36 -22
- package/lib/components/tag/list/index.mjs +20 -17
- package/lib/components/text/Text.js +31 -4
- package/lib/components/text/Text.mjs +7 -3
- package/lib/components/text/Text.native.js +1 -1
- package/lib/components/text/Text.native.mjs +2 -2
- package/lib/components/text/index.js +31 -4
- package/lib/components/text/index.mjs +7 -3
- package/lib/components/text/index.native.js +1 -1
- package/lib/components/text/index.native.mjs +2 -2
- package/lib/components/textarea/Textarea.js +42 -28
- package/lib/components/textarea/Textarea.mjs +21 -18
- package/lib/components/textarea/Textarea.native.js +1 -1
- package/lib/components/textarea/Textarea.native.mjs +16 -16
- package/lib/components/textarea/index.js +42 -28
- package/lib/components/textarea/index.mjs +21 -18
- package/lib/components/textarea/index.native.js +1 -1
- package/lib/components/textarea/index.native.mjs +16 -16
- package/lib/components/timeline/Timeline.js +31 -4
- package/lib/components/timeline/Timeline.mjs +8 -4
- package/lib/components/timeline/content/TimelineContent.js +46 -32
- package/lib/components/timeline/content/TimelineContent.mjs +11 -8
- package/lib/components/timeline/content/TimelineContent.native.js +1 -1
- package/lib/components/timeline/content/TimelineContent.native.mjs +20 -20
- package/lib/components/timeline/content/index.js +46 -32
- package/lib/components/timeline/content/index.mjs +12 -9
- package/lib/components/timeline/content/index.native.js +1 -1
- package/lib/components/timeline/content/index.native.mjs +20 -20
- package/lib/components/timeline/index.js +55 -41
- package/lib/components/timeline/index.mjs +19 -16
- package/lib/components/timeline/index.native.js +1 -1
- package/lib/components/timeline/index.native.mjs +22 -22
- package/lib/components/timeline/item/TimelineItem.js +31 -4
- package/lib/components/timeline/item/TimelineItem.mjs +8 -4
- package/lib/components/timeline/item/index.js +31 -4
- package/lib/components/timeline/item/index.mjs +9 -5
- package/lib/components/timeline/marker/TimelineMarker.js +35 -21
- package/lib/components/timeline/marker/TimelineMarker.mjs +9 -6
- package/lib/components/timeline/marker/TimelineMarker.native.js +1 -1
- package/lib/components/timeline/marker/TimelineMarker.native.mjs +14 -14
- package/lib/components/timeline/marker/index.js +35 -21
- package/lib/components/timeline/marker/index.mjs +10 -7
- package/lib/components/timeline/marker/index.native.js +1 -1
- package/lib/components/timeline/marker/index.native.mjs +15 -15
- package/lib/components/title/Title.js +31 -4
- package/lib/components/title/Title.mjs +8 -4
- package/lib/components/title/Title.native.js +1 -1
- package/lib/components/title/Title.native.mjs +14 -14
- package/lib/components/title/index.js +31 -4
- package/lib/components/title/index.mjs +8 -4
- package/lib/components/title/index.native.js +1 -1
- package/lib/components/title/index.native.mjs +14 -14
- package/lib/components/view/View.js +36 -22
- package/lib/components/view/View.mjs +19 -16
- package/lib/components/view/View.native.js +1 -1
- package/lib/components/view/View.native.mjs +14 -14
- package/lib/components/view/index.js +36 -22
- package/lib/components/view/index.mjs +20 -17
- package/lib/components/view/index.native.js +1 -1
- package/lib/components/view/index.native.mjs +14 -14
- 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 +9 -5
- package/lib/helpers/index.native.js +28 -1
- package/lib/helpers/index.native.mjs +9 -5
- package/lib/index.js +792 -706
- package/lib/index.mjs +222 -210
- package/lib/index.native.d.mts +1 -2
- package/lib/index.native.d.ts +1 -2
- package/lib/index.native.js +640 -680
- package/lib/index.native.mjs +158 -162
- package/lib/objects/facets/Status/index.js +33 -19
- package/lib/objects/facets/Status/index.mjs +8 -5
- package/lib/objects/facets/Status/index.native.js +1 -1
- package/lib/objects/facets/Status/index.native.mjs +2 -2
- package/lib/objects/facets/index.js +18 -4
- package/lib/objects/facets/index.mjs +24 -21
- package/lib/objects/facets/index.native.js +1 -1
- package/lib/objects/facets/index.native.mjs +18 -18
- package/lib/objects/index.js +20 -6
- package/lib/objects/index.mjs +28 -25
- package/lib/objects/index.native.js +1 -1
- package/lib/objects/index.native.mjs +25 -25
- 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-2BQXWN3R.mjs +0 -44
- package/lib/chunk-KYCWE6NL.mjs +0 -10
- 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
|
@@ -40,7 +40,7 @@ __export(modal_exports, {
|
|
|
40
40
|
});
|
|
41
41
|
module.exports = __toCommonJS(modal_exports);
|
|
42
42
|
|
|
43
|
-
// context/index.tsx
|
|
43
|
+
// context/context/index.tsx
|
|
44
44
|
var React = __toESM(require("react"));
|
|
45
45
|
var TrilogyContext = React.createContext({
|
|
46
46
|
styled: false,
|
|
@@ -54,6 +54,33 @@ var useTrilogyContext = () => {
|
|
|
54
54
|
return context;
|
|
55
55
|
};
|
|
56
56
|
|
|
57
|
+
// context/provider/index.tsx
|
|
58
|
+
var import_react = __toESM(require("react"));
|
|
59
|
+
|
|
60
|
+
// context/providerStates/index.ts
|
|
61
|
+
var import_react2 = require("react");
|
|
62
|
+
var StatesContext = (0, import_react2.createContext)({
|
|
63
|
+
inverted: false,
|
|
64
|
+
active: false,
|
|
65
|
+
flat: false
|
|
66
|
+
});
|
|
67
|
+
|
|
68
|
+
// context/providerStyled/index.tsx
|
|
69
|
+
var React3 = __toESM(require("react"));
|
|
70
|
+
|
|
71
|
+
// context/providerTheme/index.tsx
|
|
72
|
+
var import_react3 = __toESM(require("react"));
|
|
73
|
+
var defaultTheme = {
|
|
74
|
+
icons: {},
|
|
75
|
+
colors: {},
|
|
76
|
+
fontFamily: {}
|
|
77
|
+
};
|
|
78
|
+
var defaultContextValue = {
|
|
79
|
+
theme: defaultTheme,
|
|
80
|
+
setTheme: () => void 0
|
|
81
|
+
};
|
|
82
|
+
var TrilogyThemeContext = import_react3.default.createContext(defaultContextValue);
|
|
83
|
+
|
|
57
84
|
// helpers/hashClassesHelpers/index.tsx
|
|
58
85
|
var hashClass = (addHash = false, classes) => {
|
|
59
86
|
const { hash, styled } = useTrilogyContext();
|
|
@@ -89,21 +116,8 @@ var values = (obj) => Object.values(obj);
|
|
|
89
116
|
var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
|
|
90
117
|
var SSRObject = toArrayObject();
|
|
91
118
|
|
|
92
|
-
// context/providerTheme/index.tsx
|
|
93
|
-
var import_react = __toESM(require("react"));
|
|
94
|
-
var defaultTheme = {
|
|
95
|
-
icons: {},
|
|
96
|
-
colors: {},
|
|
97
|
-
fontFamily: {}
|
|
98
|
-
};
|
|
99
|
-
var defaultContextValue = {
|
|
100
|
-
theme: defaultTheme,
|
|
101
|
-
setTheme: () => void 0
|
|
102
|
-
};
|
|
103
|
-
var TrilogyThemeContext = import_react.default.createContext(defaultContextValue);
|
|
104
|
-
|
|
105
119
|
// objects/facets/Color/index.tsx
|
|
106
|
-
var
|
|
120
|
+
var import_react4 = require("react");
|
|
107
121
|
var colors = {
|
|
108
122
|
["WHITE" /* BACKGROUND */]: ["#fff", "white", "main"],
|
|
109
123
|
["MAIN" /* MAIN */]: ["#3d5d7e", "main", "white"],
|
|
@@ -195,8 +209,8 @@ var has = classify("has");
|
|
|
195
209
|
|
|
196
210
|
// components/icon/Icon.tsx
|
|
197
211
|
var import_clsx = __toESM(require("clsx"));
|
|
198
|
-
var
|
|
199
|
-
var Icon =
|
|
212
|
+
var React5 = __toESM(require("react"));
|
|
213
|
+
var Icon = React5.forwardRef(
|
|
200
214
|
({ className, id, size, name, circled, stretched, color, backgroundColor, onClick, skeleton, align, ...others }, ref) => {
|
|
201
215
|
const { styled } = useTrilogyContext();
|
|
202
216
|
const background = backgroundColor && has(getBackgroundClassName(backgroundColor)) || circled && has(getBackgroundClassName("MAIN" /* MAIN */)) || "";
|
|
@@ -215,7 +229,7 @@ var Icon = React3.forwardRef(
|
|
|
215
229
|
className
|
|
216
230
|
)
|
|
217
231
|
);
|
|
218
|
-
return /* @__PURE__ */
|
|
232
|
+
return /* @__PURE__ */ React5.createElement("span", { id, onClick: onClick && onClick, className: classes, ...others, ref }, /* @__PURE__ */ React5.createElement("i", { className: hashClass(styled, (0, import_clsx.default)(name)), "aria-hidden": "true" }));
|
|
219
233
|
}
|
|
220
234
|
);
|
|
221
235
|
Icon.displayName = "Icon" /* Icon */;
|
|
@@ -223,7 +237,7 @@ var Icon_default = Icon;
|
|
|
223
237
|
|
|
224
238
|
// components/button/Button.tsx
|
|
225
239
|
var import_clsx2 = __toESM(require("clsx"));
|
|
226
|
-
var
|
|
240
|
+
var import_react5 = __toESM(require("react"));
|
|
227
241
|
|
|
228
242
|
// components/button/ButtonEnum.ts
|
|
229
243
|
var ButtonMarkup = /* @__PURE__ */ ((ButtonMarkup2) => {
|
|
@@ -234,7 +248,7 @@ var ButtonMarkup = /* @__PURE__ */ ((ButtonMarkup2) => {
|
|
|
234
248
|
})(ButtonMarkup || {});
|
|
235
249
|
|
|
236
250
|
// components/button/Button.tsx
|
|
237
|
-
var Button =
|
|
251
|
+
var Button = import_react5.default.forwardRef(
|
|
238
252
|
({
|
|
239
253
|
markup,
|
|
240
254
|
loading,
|
|
@@ -272,7 +286,7 @@ var Button = import_react3.default.forwardRef(
|
|
|
272
286
|
const classes = hashClass(styled, getClassNames(loading, variant, fullwidth, className));
|
|
273
287
|
const Tag = markup && isCorrectMarkup2(markup) ? markup : "button";
|
|
274
288
|
if (Tag === "button" && !href && !to) {
|
|
275
|
-
return /* @__PURE__ */
|
|
289
|
+
return /* @__PURE__ */ import_react5.default.createElement(
|
|
276
290
|
"button",
|
|
277
291
|
{
|
|
278
292
|
ref,
|
|
@@ -288,12 +302,12 @@ var Button = import_react3.default.forwardRef(
|
|
|
288
302
|
type: type != null ? type : "button",
|
|
289
303
|
...others
|
|
290
304
|
},
|
|
291
|
-
iconName && /* @__PURE__ */
|
|
305
|
+
iconName && /* @__PURE__ */ import_react5.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
|
|
292
306
|
children
|
|
293
307
|
);
|
|
294
308
|
}
|
|
295
309
|
if (Tag === "input") {
|
|
296
|
-
return /* @__PURE__ */
|
|
310
|
+
return /* @__PURE__ */ import_react5.default.createElement(
|
|
297
311
|
"input",
|
|
298
312
|
{
|
|
299
313
|
ref,
|
|
@@ -314,9 +328,9 @@ var Button = import_react3.default.forwardRef(
|
|
|
314
328
|
}
|
|
315
329
|
if (routerLink && to && !isDisabled) {
|
|
316
330
|
const RouterLink = routerLink ? routerLink : "a";
|
|
317
|
-
return /* @__PURE__ */
|
|
331
|
+
return /* @__PURE__ */ import_react5.default.createElement(RouterLink, { ref, "aria-label": accessibilityLabel, to, className: classes, ...others }, iconName && /* @__PURE__ */ import_react5.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }), children);
|
|
318
332
|
}
|
|
319
|
-
return /* @__PURE__ */
|
|
333
|
+
return /* @__PURE__ */ import_react5.default.createElement(
|
|
320
334
|
"a",
|
|
321
335
|
{
|
|
322
336
|
ref,
|
|
@@ -331,7 +345,7 @@ var Button = import_react3.default.forwardRef(
|
|
|
331
345
|
...others,
|
|
332
346
|
...disabled && { "aria-disabled": true }
|
|
333
347
|
},
|
|
334
|
-
iconName && /* @__PURE__ */
|
|
348
|
+
iconName && /* @__PURE__ */ import_react5.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
|
|
335
349
|
children
|
|
336
350
|
);
|
|
337
351
|
}
|
|
@@ -340,11 +354,11 @@ Button.displayName = "Button" /* Button */;
|
|
|
340
354
|
|
|
341
355
|
// components/button/list/ButtonList.tsx
|
|
342
356
|
var import_clsx3 = __toESM(require("clsx"));
|
|
343
|
-
var
|
|
344
|
-
var ButtonList =
|
|
357
|
+
var React7 = __toESM(require("react"));
|
|
358
|
+
var ButtonList = React7.forwardRef(
|
|
345
359
|
({ className, id, align, direction, ...others }, ref) => {
|
|
346
360
|
const { styled } = useTrilogyContext();
|
|
347
|
-
return /* @__PURE__ */
|
|
361
|
+
return /* @__PURE__ */ React7.createElement(
|
|
348
362
|
"div",
|
|
349
363
|
{
|
|
350
364
|
ref,
|
|
@@ -367,7 +381,7 @@ ButtonList.displayName = "ButtonList" /* ButtonList */;
|
|
|
367
381
|
|
|
368
382
|
// components/title/Title.tsx
|
|
369
383
|
var import_clsx4 = __toESM(require("clsx"));
|
|
370
|
-
var
|
|
384
|
+
var import_react6 = __toESM(require("react"));
|
|
371
385
|
|
|
372
386
|
// components/title/TitleEnum.ts
|
|
373
387
|
var TitleMarkup = /* @__PURE__ */ ((TitleMarkup2) => {
|
|
@@ -407,7 +421,7 @@ var getTitleLevel = (level) => {
|
|
|
407
421
|
var isCorrectMarkup = (stringMarkup) => {
|
|
408
422
|
return stringMarkup in TitleMarkup || Object.values(TitleMarkup).includes(stringMarkup);
|
|
409
423
|
};
|
|
410
|
-
var Title =
|
|
424
|
+
var Title = import_react6.default.forwardRef(({
|
|
411
425
|
level = 1 /* ONE */,
|
|
412
426
|
markup,
|
|
413
427
|
children,
|
|
@@ -444,7 +458,7 @@ var Title = import_react4.default.forwardRef(({
|
|
|
444
458
|
if (overline) return overlineClasses;
|
|
445
459
|
return classes;
|
|
446
460
|
};
|
|
447
|
-
return /* @__PURE__ */
|
|
461
|
+
return /* @__PURE__ */ import_react6.default.createElement(Tag, { ref, id, "aria-label": accessibilityLabel, onClick, className: getClassname(), ...others }, children);
|
|
448
462
|
});
|
|
449
463
|
Title.displayName = "Title" /* Title */;
|
|
450
464
|
var Title_default = Title;
|
|
@@ -452,8 +466,8 @@ var Title_default = Title;
|
|
|
452
466
|
// components/modal/Modal.tsx
|
|
453
467
|
var import_locales = require("@trilogy-ds/locales");
|
|
454
468
|
var import_clsx5 = __toESM(require("clsx"));
|
|
455
|
-
var
|
|
456
|
-
var Modal =
|
|
469
|
+
var import_react7 = __toESM(require("react"));
|
|
470
|
+
var Modal = import_react7.default.forwardRef(
|
|
457
471
|
({
|
|
458
472
|
children,
|
|
459
473
|
className,
|
|
@@ -469,15 +483,15 @@ var Modal = import_react5.default.forwardRef(
|
|
|
469
483
|
title,
|
|
470
484
|
...others
|
|
471
485
|
}, ref) => {
|
|
472
|
-
const modalContentRef = (0,
|
|
473
|
-
const [display, setDisplay] = (0,
|
|
486
|
+
const modalContentRef = (0, import_react7.useRef)(null);
|
|
487
|
+
const [display, setDisplay] = (0, import_react7.useState)(active || false);
|
|
474
488
|
const { styled } = useTrilogyContext();
|
|
475
|
-
const refBtnModal = (0,
|
|
476
|
-
const refModal = (0,
|
|
477
|
-
const modalGeneratedId = (0,
|
|
478
|
-
const focusableElementsRef = (0,
|
|
479
|
-
const currentFocusIndexRef = (0,
|
|
480
|
-
const handleClose =
|
|
489
|
+
const refBtnModal = (0, import_react7.useRef)(null);
|
|
490
|
+
const refModal = (0, import_react7.useRef)(null);
|
|
491
|
+
const modalGeneratedId = (0, import_react7.useId)();
|
|
492
|
+
const focusableElementsRef = (0, import_react7.useRef)(null);
|
|
493
|
+
const currentFocusIndexRef = (0, import_react7.useRef)(0);
|
|
494
|
+
const handleClose = import_react7.default.useCallback(
|
|
481
495
|
(onCloseFunc, e) => {
|
|
482
496
|
if (!unClosable) {
|
|
483
497
|
setDisplay(false);
|
|
@@ -491,7 +505,7 @@ var Modal = import_react5.default.forwardRef(
|
|
|
491
505
|
styled,
|
|
492
506
|
(0, import_clsx5.default)("modal", display && is("active"), size && is(size), panel && is("panel"), className)
|
|
493
507
|
);
|
|
494
|
-
const onKeyDown = (0,
|
|
508
|
+
const onKeyDown = (0, import_react7.useCallback)(
|
|
495
509
|
(e) => {
|
|
496
510
|
if (display && e.key === "Tab") {
|
|
497
511
|
e.preventDefault();
|
|
@@ -513,7 +527,7 @@ var Modal = import_react5.default.forwardRef(
|
|
|
513
527
|
},
|
|
514
528
|
[display, focusableElementsRef, currentFocusIndexRef, refBtnModal, onClose]
|
|
515
529
|
);
|
|
516
|
-
(0,
|
|
530
|
+
(0, import_react7.useEffect)(() => {
|
|
517
531
|
setDisplay((prev) => {
|
|
518
532
|
if (prev) {
|
|
519
533
|
refBtnModal.current && refBtnModal.current.focus();
|
|
@@ -522,17 +536,17 @@ var Modal = import_react5.default.forwardRef(
|
|
|
522
536
|
return active || false;
|
|
523
537
|
});
|
|
524
538
|
}, [active, currentFocusIndexRef, refBtnModal]);
|
|
525
|
-
(0,
|
|
539
|
+
(0, import_react7.useEffect)(() => {
|
|
526
540
|
!hideCloseButton && display && focusableElementsRef.current && focusableElementsRef.current[0].focus();
|
|
527
541
|
}, [hideCloseButton, display, focusableElementsRef]);
|
|
528
|
-
(0,
|
|
542
|
+
(0, import_react7.useEffect)(() => {
|
|
529
543
|
if (modalContentRef.current) {
|
|
530
544
|
focusableElementsRef.current = modalContentRef.current.querySelectorAll(
|
|
531
545
|
'button:not(:disabled), input:not(:disabled), a, select:not(:disabled), textarea:not(:disabled), details:not([aria-disabled="true"]) > summary'
|
|
532
546
|
);
|
|
533
547
|
}
|
|
534
548
|
}, [modalContentRef, focusableElementsRef]);
|
|
535
|
-
return /* @__PURE__ */
|
|
549
|
+
return /* @__PURE__ */ import_react7.default.createElement("div", { onKeyDown, ref: refModal }, trigger && import_react7.default.cloneElement(trigger, { ref: refBtnModal, "aria-haspopup": "dialog" }), /* @__PURE__ */ import_react7.default.createElement(
|
|
536
550
|
"div",
|
|
537
551
|
{
|
|
538
552
|
ref,
|
|
@@ -549,7 +563,7 @@ var Modal = import_react5.default.forwardRef(
|
|
|
549
563
|
},
|
|
550
564
|
...others
|
|
551
565
|
},
|
|
552
|
-
/* @__PURE__ */
|
|
566
|
+
/* @__PURE__ */ import_react7.default.createElement("div", { ref: modalContentRef, className: hashClass(styled, (0, import_clsx5.default)("modal-content")) }, /* @__PURE__ */ import_react7.default.createElement("div", { className: hashClass(styled, (0, import_clsx5.default)("modal-header")) }, !hideCloseButton && !unClosable && /* @__PURE__ */ import_react7.default.createElement(
|
|
553
567
|
"button",
|
|
554
568
|
{
|
|
555
569
|
onClick: (e) => {
|
|
@@ -558,8 +572,8 @@ var Modal = import_react5.default.forwardRef(
|
|
|
558
572
|
className: hashClass(styled, (0, import_clsx5.default)("modal-close", is("large"))),
|
|
559
573
|
type: "button" /* BUTTON */
|
|
560
574
|
},
|
|
561
|
-
/* @__PURE__ */
|
|
562
|
-
), /* @__PURE__ */
|
|
575
|
+
/* @__PURE__ */ import_react7.default.createElement("span", { className: hashClass(styled, (0, import_clsx5.default)("sr-only")) }, import_locales.modalLocale.accessibilityLabelButtonClose)
|
|
576
|
+
), /* @__PURE__ */ import_react7.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
|
|
563
577
|
));
|
|
564
578
|
}
|
|
565
579
|
);
|
|
@@ -568,20 +582,20 @@ var Modal_default = Modal;
|
|
|
568
582
|
|
|
569
583
|
// components/modal/footer/ModalFooter.tsx
|
|
570
584
|
var import_clsx6 = __toESM(require("clsx"));
|
|
571
|
-
var
|
|
572
|
-
var ModalFooter =
|
|
585
|
+
var React10 = __toESM(require("react"));
|
|
586
|
+
var ModalFooter = React10.forwardRef(({ children, className, id }, ref) => {
|
|
573
587
|
const { styled } = useTrilogyContext();
|
|
574
|
-
return /* @__PURE__ */
|
|
588
|
+
return /* @__PURE__ */ React10.createElement("div", { ref, "data-modal-footer": "", id, className: hashClass(styled, (0, import_clsx6.default)("modal-footer", className)) }, children);
|
|
575
589
|
});
|
|
576
590
|
ModalFooter.displayName = "ModalFooter" /* ModalFooter */;
|
|
577
591
|
var ModalFooter_default = ModalFooter;
|
|
578
592
|
|
|
579
593
|
// components/modal/body/ModalBody.tsx
|
|
580
594
|
var import_clsx7 = __toESM(require("clsx"));
|
|
581
|
-
var
|
|
582
|
-
var ModalBody =
|
|
595
|
+
var React11 = __toESM(require("react"));
|
|
596
|
+
var ModalBody = React11.forwardRef(({ children, className, id }, ref) => {
|
|
583
597
|
const { styled } = useTrilogyContext();
|
|
584
|
-
return /* @__PURE__ */
|
|
598
|
+
return /* @__PURE__ */ React11.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx7.default)("modal-body", className)) }, children);
|
|
585
599
|
});
|
|
586
600
|
ModalBody.displayName = "ModalBody" /* ModalBody */;
|
|
587
601
|
var ModalBody_default = ModalBody;
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import "../../chunk-TXTVF33X.mjs";
|
|
3
|
-
import {
|
|
4
|
-
ModalFooter_default
|
|
5
|
-
} from "../../chunk-SFIOTEMN.mjs";
|
|
6
3
|
import {
|
|
7
4
|
ModalBody_default
|
|
8
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-SND7OSS4.mjs";
|
|
6
|
+
import {
|
|
7
|
+
ModalFooter_default
|
|
8
|
+
} from "../../chunk-QLJMWP7T.mjs";
|
|
9
9
|
import {
|
|
10
10
|
Modal_default
|
|
11
|
-
} from "../../chunk-
|
|
11
|
+
} from "../../chunk-REASBJQM.mjs";
|
|
12
12
|
import "../../chunk-PZYSTPFC.mjs";
|
|
13
13
|
import "../../chunk-FPP2TUF5.mjs";
|
|
14
|
-
import "../../chunk-
|
|
14
|
+
import "../../chunk-E4DP4RHW.mjs";
|
|
15
15
|
import "../../chunk-HLXQDY5F.mjs";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-DI7Y6K3W.mjs";
|
|
17
17
|
import "../../chunk-2RUJIIGS.mjs";
|
|
18
|
-
import "../../chunk-
|
|
18
|
+
import "../../chunk-TT23XPP5.mjs";
|
|
19
19
|
import "../../chunk-Y3ROARMA.mjs";
|
|
20
20
|
import "../../chunk-LGL3XQ7F.mjs";
|
|
21
|
-
import "../../chunk-
|
|
21
|
+
import "../../chunk-6C6TV53V.mjs";
|
|
22
22
|
import "../../chunk-XXKEMYTB.mjs";
|
|
23
23
|
import {
|
|
24
24
|
ModalCtaMarkup,
|
|
@@ -26,20 +26,23 @@ import {
|
|
|
26
26
|
ModalSize
|
|
27
27
|
} from "../../chunk-G2DVFNXH.mjs";
|
|
28
28
|
import "../../chunk-CZXKYMNG.mjs";
|
|
29
|
+
import "../../chunk-A35Q44N2.mjs";
|
|
29
30
|
import "../../chunk-MVJ2C4EA.mjs";
|
|
30
31
|
import "../../chunk-GVBMUMGT.mjs";
|
|
31
|
-
import "../../chunk-A35Q44N2.mjs";
|
|
32
32
|
import "../../chunk-7VSJ3RTI.mjs";
|
|
33
|
-
import "../../chunk-P372ZF3A.mjs";
|
|
34
33
|
import "../../chunk-SWVRRUW7.mjs";
|
|
35
34
|
import "../../chunk-Y7CEUBIZ.mjs";
|
|
36
35
|
import "../../chunk-HU3FAWMX.mjs";
|
|
37
|
-
import "../../chunk-ODKCJMCG.mjs";
|
|
38
36
|
import "../../chunk-OGATDHMZ.mjs";
|
|
39
|
-
import "../../chunk-
|
|
40
|
-
import "../../chunk-
|
|
37
|
+
import "../../chunk-ODKCJMCG.mjs";
|
|
38
|
+
import "../../chunk-AEBY6HDR.mjs";
|
|
39
|
+
import "../../chunk-PMNL6QAW.mjs";
|
|
40
|
+
import "../../chunk-P372ZF3A.mjs";
|
|
41
|
+
import "../../chunk-XUTWIHGC.mjs";
|
|
41
42
|
import "../../chunk-L4UDEKQK.mjs";
|
|
42
43
|
import "../../chunk-RYABO2EX.mjs";
|
|
44
|
+
import "../../chunk-6IKR6FTJ.mjs";
|
|
45
|
+
import "../../chunk-ZETKJIUV.mjs";
|
|
43
46
|
import "../../chunk-OLIR26N7.mjs";
|
|
44
47
|
import "../../chunk-4UHBBNZ7.mjs";
|
|
45
48
|
import "../../chunk-VDLM4YQP.mjs";
|
|
@@ -136,7 +136,7 @@ var getAlignStyle = (alignType) => {
|
|
|
136
136
|
}
|
|
137
137
|
};
|
|
138
138
|
|
|
139
|
-
// context/providerStates/index.
|
|
139
|
+
// context/providerStates/index.ts
|
|
140
140
|
var import_react3 = require("react");
|
|
141
141
|
var StatesContext = (0, import_react3.createContext)({
|
|
142
142
|
inverted: false,
|
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
import "../../chunk-ND7E2T3G.mjs";
|
|
3
3
|
import {
|
|
4
4
|
ModalFooter_native_default
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-TU3M3HXO.mjs";
|
|
6
6
|
import "../../chunk-D3SJKPSF.mjs";
|
|
7
7
|
import "../../chunk-QCCQ2C3J.mjs";
|
|
8
8
|
import {
|
|
@@ -10,28 +10,27 @@ import {
|
|
|
10
10
|
} from "../../chunk-K6DW4JHP.mjs";
|
|
11
11
|
import {
|
|
12
12
|
Modal_native_default
|
|
13
|
-
} from "../../chunk-
|
|
13
|
+
} from "../../chunk-JYORSGTM.mjs";
|
|
14
14
|
import "../../chunk-JLQUIKZX.mjs";
|
|
15
15
|
import "../../chunk-6R3L63DN.mjs";
|
|
16
|
-
import "../../chunk-
|
|
16
|
+
import "../../chunk-ZNADK25G.mjs";
|
|
17
17
|
import "../../chunk-BPUIBIGG.mjs";
|
|
18
18
|
import "../../chunk-ZNF2AXYR.mjs";
|
|
19
19
|
import "../../chunk-NRTMJLXK.mjs";
|
|
20
20
|
import "../../chunk-LOROW3UU.mjs";
|
|
21
21
|
import "../../chunk-7M6BHGK7.mjs";
|
|
22
|
-
import "../../chunk-VNWHCGCD.mjs";
|
|
23
|
-
import "../../chunk-X67AAUB2.mjs";
|
|
24
22
|
import "../../chunk-TFNM3EBG.mjs";
|
|
25
23
|
import "../../chunk-YKUYXBXK.mjs";
|
|
26
24
|
import "../../chunk-ZEJDFWMP.mjs";
|
|
25
|
+
import "../../chunk-VNWHCGCD.mjs";
|
|
26
|
+
import "../../chunk-X67AAUB2.mjs";
|
|
27
27
|
import "../../chunk-MB55ARZ7.mjs";
|
|
28
28
|
import "../../chunk-D5HHHZDS.mjs";
|
|
29
29
|
import "../../chunk-3LXODEBD.mjs";
|
|
30
30
|
import "../../chunk-WVL5S3CD.mjs";
|
|
31
31
|
import "../../chunk-7L5452RP.mjs";
|
|
32
32
|
import "../../chunk-2K2TD7FH.mjs";
|
|
33
|
-
import "../../chunk-
|
|
34
|
-
import "../../chunk-CWIO3GEP.mjs";
|
|
33
|
+
import "../../chunk-G25IZXAD.mjs";
|
|
35
34
|
import "../../chunk-E4YRRUI3.mjs";
|
|
36
35
|
import "../../chunk-R6PFY5VS.mjs";
|
|
37
36
|
import {
|
|
@@ -45,36 +44,37 @@ import "../../chunk-GVBMUMGT.mjs";
|
|
|
45
44
|
import "../../chunk-UZO5VCH2.mjs";
|
|
46
45
|
import "../../chunk-JJA6BOVR.mjs";
|
|
47
46
|
import "../../chunk-LHDHBH5T.mjs";
|
|
48
|
-
import "../../chunk-
|
|
47
|
+
import "../../chunk-3XMSRU64.mjs";
|
|
49
48
|
import "../../chunk-L5TMSDJR.mjs";
|
|
50
49
|
import "../../chunk-GP5CJGRF.mjs";
|
|
50
|
+
import "../../chunk-UTA75ELV.mjs";
|
|
51
|
+
import "../../chunk-L25MU6JT.mjs";
|
|
51
52
|
import "../../chunk-6TNYDJM7.mjs";
|
|
52
53
|
import "../../chunk-HQXKHRER.mjs";
|
|
53
54
|
import "../../chunk-NVH4ZPGW.mjs";
|
|
54
55
|
import "../../chunk-62DJK35E.mjs";
|
|
55
56
|
import "../../chunk-PAEZ47M2.mjs";
|
|
56
57
|
import "../../chunk-A2ASOVUR.mjs";
|
|
57
|
-
import "../../chunk-
|
|
58
|
+
import "../../chunk-FTTU4DJW.mjs";
|
|
59
|
+
import "../../chunk-L7CNF7H6.mjs";
|
|
58
60
|
import "../../chunk-RJO5KKUW.mjs";
|
|
59
61
|
import "../../chunk-R7HI6GOP.mjs";
|
|
60
62
|
import "../../chunk-SUNBSFL4.mjs";
|
|
61
|
-
import "../../chunk-
|
|
62
|
-
import "../../chunk-
|
|
63
|
+
import "../../chunk-XIQL4ZTN.mjs";
|
|
64
|
+
import "../../chunk-QOEJLTZN.mjs";
|
|
63
65
|
import "../../chunk-B6WC6WS2.mjs";
|
|
64
66
|
import "../../chunk-MAX3RSBG.mjs";
|
|
65
|
-
import "../../chunk-FTTU4DJW.mjs";
|
|
66
|
-
import "../../chunk-L7CNF7H6.mjs";
|
|
67
67
|
import "../../chunk-6BTWLQPI.mjs";
|
|
68
68
|
import "../../chunk-G6BHSMLA.mjs";
|
|
69
69
|
import "../../chunk-THOTRBD4.mjs";
|
|
70
|
-
import "../../chunk-XIQL4ZTN.mjs";
|
|
71
70
|
import "../../chunk-UUXUTBLZ.mjs";
|
|
72
|
-
import "../../chunk-
|
|
71
|
+
import "../../chunk-RXBVZD3M.mjs";
|
|
73
72
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
74
73
|
import "../../chunk-ATW7ITPH.mjs";
|
|
75
|
-
import "../../chunk-L4UDEKQK.mjs";
|
|
76
74
|
import "../../chunk-CD6DMMCL.mjs";
|
|
75
|
+
import "../../chunk-L4UDEKQK.mjs";
|
|
77
76
|
import "../../chunk-RYABO2EX.mjs";
|
|
77
|
+
import "../../chunk-6IKR6FTJ.mjs";
|
|
78
78
|
import "../../chunk-4UHBBNZ7.mjs";
|
|
79
79
|
import "../../chunk-VDLM4YQP.mjs";
|
|
80
80
|
import "../../chunk-QIPGVLHJ.mjs";
|
|
@@ -36,7 +36,7 @@ __export(Otp_exports, {
|
|
|
36
36
|
module.exports = __toCommonJS(Otp_exports);
|
|
37
37
|
|
|
38
38
|
// components/text/Text.tsx
|
|
39
|
-
var
|
|
39
|
+
var React5 = __toESM(require("react"));
|
|
40
40
|
var import_clsx = __toESM(require("clsx"));
|
|
41
41
|
|
|
42
42
|
// components/text/TextEnum.ts
|
|
@@ -53,7 +53,7 @@ function classify(prefix) {
|
|
|
53
53
|
var is = classify("is");
|
|
54
54
|
var has = classify("has");
|
|
55
55
|
|
|
56
|
-
// context/index.tsx
|
|
56
|
+
// context/context/index.tsx
|
|
57
57
|
var React = __toESM(require("react"));
|
|
58
58
|
var TrilogyContext = React.createContext({
|
|
59
59
|
styled: false,
|
|
@@ -67,6 +67,33 @@ var useTrilogyContext = () => {
|
|
|
67
67
|
return context;
|
|
68
68
|
};
|
|
69
69
|
|
|
70
|
+
// context/provider/index.tsx
|
|
71
|
+
var import_react = __toESM(require("react"));
|
|
72
|
+
|
|
73
|
+
// context/providerStates/index.ts
|
|
74
|
+
var import_react2 = require("react");
|
|
75
|
+
var StatesContext = (0, import_react2.createContext)({
|
|
76
|
+
inverted: false,
|
|
77
|
+
active: false,
|
|
78
|
+
flat: false
|
|
79
|
+
});
|
|
80
|
+
|
|
81
|
+
// context/providerStyled/index.tsx
|
|
82
|
+
var React3 = __toESM(require("react"));
|
|
83
|
+
|
|
84
|
+
// context/providerTheme/index.tsx
|
|
85
|
+
var import_react3 = __toESM(require("react"));
|
|
86
|
+
var defaultTheme = {
|
|
87
|
+
icons: {},
|
|
88
|
+
colors: {},
|
|
89
|
+
fontFamily: {}
|
|
90
|
+
};
|
|
91
|
+
var defaultContextValue = {
|
|
92
|
+
theme: defaultTheme,
|
|
93
|
+
setTheme: () => void 0
|
|
94
|
+
};
|
|
95
|
+
var TrilogyThemeContext = import_react3.default.createContext(defaultContextValue);
|
|
96
|
+
|
|
70
97
|
// helpers/hashClassesHelpers/index.tsx
|
|
71
98
|
var hashClass = (addHash = false, classes) => {
|
|
72
99
|
const { hash, styled } = useTrilogyContext();
|
|
@@ -78,7 +105,7 @@ var hashClass = (addHash = false, classes) => {
|
|
|
78
105
|
};
|
|
79
106
|
|
|
80
107
|
// components/text/Text.tsx
|
|
81
|
-
var Text =
|
|
108
|
+
var Text = React5.forwardRef(({
|
|
82
109
|
level,
|
|
83
110
|
markup,
|
|
84
111
|
children,
|
|
@@ -126,7 +153,7 @@ var Text = React2.forwardRef(({
|
|
|
126
153
|
if (stringMarkup in TextMarkup || Object.values(TextMarkup).includes(stringMarkup)) return true;
|
|
127
154
|
};
|
|
128
155
|
const Tag = markup && isCorrectMarkup(markup) ? markup : "p";
|
|
129
|
-
return /* @__PURE__ */
|
|
156
|
+
return /* @__PURE__ */ React5.createElement(
|
|
130
157
|
Tag,
|
|
131
158
|
{
|
|
132
159
|
ref,
|
|
@@ -142,29 +169,16 @@ var Text = React2.forwardRef(({
|
|
|
142
169
|
Text.displayName = "Text" /* Text */;
|
|
143
170
|
var Text_default = Text;
|
|
144
171
|
|
|
145
|
-
// context/providerTheme/index.tsx
|
|
146
|
-
var import_react = __toESM(require("react"));
|
|
147
|
-
var defaultTheme = {
|
|
148
|
-
icons: {},
|
|
149
|
-
colors: {},
|
|
150
|
-
fontFamily: {}
|
|
151
|
-
};
|
|
152
|
-
var defaultContextValue = {
|
|
153
|
-
theme: defaultTheme,
|
|
154
|
-
setTheme: () => void 0
|
|
155
|
-
};
|
|
156
|
-
var TrilogyThemeContext = import_react.default.createContext(defaultContextValue);
|
|
157
|
-
|
|
158
172
|
// objects/Typography/TypographyBold/index.tsx
|
|
159
|
-
var
|
|
173
|
+
var import_react4 = require("react");
|
|
160
174
|
|
|
161
175
|
// objects/facets/Color/index.tsx
|
|
162
|
-
var
|
|
176
|
+
var import_react5 = require("react");
|
|
163
177
|
|
|
164
178
|
// components/otp/Otp.tsx
|
|
165
179
|
var import_locales = require("@trilogy-ds/locales");
|
|
166
180
|
var import_clsx2 = __toESM(require("clsx"));
|
|
167
|
-
var
|
|
181
|
+
var import_react6 = __toESM(require("react"));
|
|
168
182
|
var stringToCode = (str, codeSize) => {
|
|
169
183
|
if (!str) return new Array(codeSize).fill(null);
|
|
170
184
|
return str.split("").map((char) => char === "" ? null : Number(char));
|
|
@@ -221,7 +235,7 @@ var inputOnKeyUp = (e) => {
|
|
|
221
235
|
var formatTranslation = (translation, x, y) => {
|
|
222
236
|
return translation.replace(/:x/g, x).replace(/:y/g, y);
|
|
223
237
|
};
|
|
224
|
-
var Otp =
|
|
238
|
+
var Otp = import_react6.default.forwardRef(
|
|
225
239
|
({
|
|
226
240
|
className,
|
|
227
241
|
id,
|
|
@@ -237,18 +251,18 @@ var Otp = import_react4.default.forwardRef(
|
|
|
237
251
|
autoFocus,
|
|
238
252
|
...others
|
|
239
253
|
}, ref) => {
|
|
240
|
-
const [codeInput, setCodeInput] = (0,
|
|
254
|
+
const [codeInput, setCodeInput] = (0, import_react6.useState)(
|
|
241
255
|
stringToCode(value, length) || new Array(length).fill(null)
|
|
242
256
|
);
|
|
243
|
-
const hasChanged = (0,
|
|
257
|
+
const hasChanged = (0, import_react6.useRef)(false);
|
|
244
258
|
const { styled } = useTrilogyContext();
|
|
245
259
|
const classes = hashClass(styled, (0, import_clsx2.default)("otp-list", error && is("error"), className));
|
|
246
|
-
(0,
|
|
260
|
+
(0, import_react6.useEffect)(() => {
|
|
247
261
|
if (!disabled) {
|
|
248
262
|
isCompleted(codeInput) && (onCompleted == null ? void 0 : onCompleted(codeToString(codeInput)));
|
|
249
263
|
}
|
|
250
264
|
}, [length, codeInput, onCompleted, disabled]);
|
|
251
|
-
(0,
|
|
265
|
+
(0, import_react6.useEffect)(() => {
|
|
252
266
|
hasChanged.current = codeInput.find((code) => code !== null) !== void 0;
|
|
253
267
|
if (hasChanged.current) {
|
|
254
268
|
onChange == null ? void 0 : onChange(codeToString(codeInput));
|
|
@@ -271,14 +285,14 @@ var Otp = import_react4.default.forwardRef(
|
|
|
271
285
|
const { target } = e;
|
|
272
286
|
target.setSelectionRange(0, target.value.length);
|
|
273
287
|
};
|
|
274
|
-
return /* @__PURE__ */
|
|
288
|
+
return /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, label && /* @__PURE__ */ import_react6.default.createElement(
|
|
275
289
|
Text_default,
|
|
276
290
|
{
|
|
277
291
|
markup: "p" /* P */,
|
|
278
292
|
typo: disabled && "has-text-grey" /* TEXT_NEUTRAL */ || error && "has-text-error" /* TEXT_ERROR */ || "has-text-main" /* TEXT_MAIN */
|
|
279
293
|
},
|
|
280
294
|
label
|
|
281
|
-
), /* @__PURE__ */
|
|
295
|
+
), /* @__PURE__ */ import_react6.default.createElement(
|
|
282
296
|
"div",
|
|
283
297
|
{
|
|
284
298
|
ref,
|
|
@@ -290,7 +304,7 @@ var Otp = import_react4.default.forwardRef(
|
|
|
290
304
|
}
|
|
291
305
|
}
|
|
292
306
|
},
|
|
293
|
-
codeInput.map((digit, idx) => /* @__PURE__ */
|
|
307
|
+
codeInput.map((digit, idx) => /* @__PURE__ */ import_react6.default.createElement(
|
|
294
308
|
"input",
|
|
295
309
|
{
|
|
296
310
|
"aria-disabled": disabled,
|
|
@@ -311,7 +325,7 @@ var Otp = import_react4.default.forwardRef(
|
|
|
311
325
|
...others
|
|
312
326
|
}
|
|
313
327
|
))
|
|
314
|
-
), help && /* @__PURE__ */
|
|
328
|
+
), help && /* @__PURE__ */ import_react6.default.createElement(
|
|
315
329
|
Text_default,
|
|
316
330
|
{
|
|
317
331
|
className: hashClass(styled, (0, import_clsx2.default)("help")),
|
|
@@ -1,20 +1,23 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import {
|
|
3
3
|
Otp_default
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-RUOX32PA.mjs";
|
|
5
5
|
import "../../chunk-BVZWKYND.mjs";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-OHYZ6AS2.mjs";
|
|
7
7
|
import "../../chunk-P6NVOAAH.mjs";
|
|
8
8
|
import "../../chunk-F5FPTZND.mjs";
|
|
9
9
|
import "../../chunk-5QUXSOHX.mjs";
|
|
10
10
|
import "../../chunk-RVE7QNTO.mjs";
|
|
11
11
|
import "../../chunk-7VSJ3RTI.mjs";
|
|
12
|
-
import "../../chunk-P372ZF3A.mjs";
|
|
13
12
|
import "../../chunk-SWVRRUW7.mjs";
|
|
14
|
-
import "../../chunk-
|
|
15
|
-
import "../../chunk-
|
|
13
|
+
import "../../chunk-AEBY6HDR.mjs";
|
|
14
|
+
import "../../chunk-PMNL6QAW.mjs";
|
|
15
|
+
import "../../chunk-P372ZF3A.mjs";
|
|
16
|
+
import "../../chunk-XUTWIHGC.mjs";
|
|
16
17
|
import "../../chunk-IGMJNGTZ.mjs";
|
|
17
18
|
import "../../chunk-ATW7ITPH.mjs";
|
|
19
|
+
import "../../chunk-6IKR6FTJ.mjs";
|
|
20
|
+
import "../../chunk-ZETKJIUV.mjs";
|
|
18
21
|
import "../../chunk-4ZJQXF2V.mjs";
|
|
19
22
|
import "../../chunk-VDLM4YQP.mjs";
|
|
20
23
|
import "../../chunk-QIPGVLHJ.mjs";
|