@trilogy-ds/react 0.0.23-esm-cjs → 0.0.26-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.
Files changed (946) hide show
  1. package/lib/{chunk-33VIHGIE.mjs → chunk-2DKS2LMX.mjs} +1 -1
  2. package/lib/{chunk-WGIO7CR2.mjs → chunk-2OTGQMU4.mjs} +1 -1
  3. package/lib/{chunk-WB5FKCPB.mjs → chunk-2TTA4KLO.mjs} +5 -5
  4. package/lib/{chunk-44BUDUHH.mjs → chunk-2YH3RRRM.mjs} +2 -2
  5. package/lib/{chunk-GQOES35K.mjs → chunk-35P2GFHE.mjs} +2 -2
  6. package/lib/{chunk-XRN2HE4L.mjs → chunk-3K66IDEM.mjs} +1 -1
  7. package/lib/{chunk-KRZWEBDP.mjs → chunk-3KNUQLB6.mjs} +2 -2
  8. package/lib/{chunk-3EEOOLVU.mjs → chunk-3Q36KXPA.mjs} +2 -2
  9. package/lib/{chunk-KPIWEUFQ.mjs → chunk-3TQRRK4V.mjs} +1 -1
  10. package/lib/{chunk-HXGWY5FL.mjs → chunk-4OWEDMLE.mjs} +1 -1
  11. package/lib/{chunk-TBR32D5M.mjs → chunk-4TJ4WCBN.mjs} +2 -2
  12. package/lib/{chunk-NMYQHE6C.mjs → chunk-4YVGGJFD.mjs} +3 -3
  13. package/lib/{chunk-RVU3IPAE.mjs → chunk-52HQIQWC.mjs} +1 -1
  14. package/lib/{chunk-SOPUKVAK.mjs → chunk-54XVTKOK.mjs} +3 -3
  15. package/lib/{chunk-WMZ3FFFO.mjs → chunk-55SIPHX3.mjs} +6 -6
  16. package/lib/{chunk-CU2FQJB3.mjs → chunk-5CRE5L6X.mjs} +2 -2
  17. package/lib/{chunk-V4BZDJSQ.mjs → chunk-5D3WYM25.mjs} +2 -2
  18. package/lib/{chunk-QE4JSIR3.mjs → chunk-5DHXX5PL.mjs} +2 -2
  19. package/lib/{chunk-FKLCZFMR.mjs → chunk-5TA2DEFJ.mjs} +2 -2
  20. package/lib/{chunk-X4ABDBKN.mjs → chunk-5TB5SHQX.mjs} +1 -1
  21. package/lib/{chunk-UQSQUPSK.mjs → chunk-6AHBDM56.mjs} +3 -7
  22. package/lib/{chunk-NWKP62JQ.mjs → chunk-6BRKV3OX.mjs} +2 -2
  23. package/lib/{chunk-BL73QKUI.mjs → chunk-6BSQWFNU.mjs} +2 -2
  24. package/lib/{chunk-ALGX47MZ.mjs → chunk-6C6TV53V.mjs} +2 -2
  25. package/lib/{chunk-CWIO3GEP.mjs → chunk-6IKR6FTJ.mjs} +1 -1
  26. package/lib/{chunk-NHN7GU32.mjs → chunk-6PKFJTR4.mjs} +2 -2
  27. package/lib/{chunk-VXYPRBJB.mjs → chunk-6SQYOEWM.mjs} +3 -3
  28. package/lib/{chunk-QOUQNN33.mjs → chunk-6UJQSFOY.mjs} +2 -2
  29. package/lib/{chunk-S7JT7LRM.mjs → chunk-72F756XM.mjs} +2 -2
  30. package/lib/{chunk-RHBTSMCQ.mjs → chunk-75VV7W4Z.mjs} +2 -2
  31. package/lib/{chunk-3VDWD5KA.mjs → chunk-77TXQHWK.mjs} +7 -7
  32. package/lib/{chunk-2FPIT2VY.mjs → chunk-7MWJMPTG.mjs} +2 -2
  33. package/lib/{chunk-4FJA5ASG.mjs → chunk-7NY2ELVH.mjs} +2 -2
  34. package/lib/{chunk-ICF5RIVG.mjs → chunk-7T4UN4NV.mjs} +2 -2
  35. package/lib/{chunk-T27AVHAC.mjs → chunk-7XDHFJHA.mjs} +1 -1
  36. package/lib/{chunk-LJF3YLMG.mjs → chunk-7Y2HGS2P.mjs} +2 -2
  37. package/lib/{chunk-SX2VUWRF.mjs → chunk-ACB42JEB.mjs} +2 -2
  38. package/lib/{chunk-5JFVDSGE.mjs → chunk-ADLM6LQF.mjs} +1 -1
  39. package/lib/{chunk-UFMRE754.mjs → chunk-AEBY6HDR.mjs} +1 -1
  40. package/lib/{chunk-SESMX6FY.mjs → chunk-AH5YNWHF.mjs} +1 -1
  41. package/lib/{chunk-DJQD6XHB.mjs → chunk-ANCM66IY.mjs} +1 -1
  42. package/lib/{chunk-NRNJCOJP.mjs → chunk-ASB33EQZ.mjs} +3 -3
  43. package/lib/{chunk-Y7WPI233.mjs → chunk-AY5YFUGA.mjs} +2 -2
  44. package/lib/{chunk-2SSPDMXO.mjs → chunk-AYI37F2L.mjs} +2 -2
  45. package/lib/{chunk-SQGVYXQT.mjs → chunk-AYUDKR5P.mjs} +2 -2
  46. package/lib/{chunk-HZAMMVDY.mjs → chunk-AZZ5HW4W.mjs} +3 -3
  47. package/lib/{chunk-HZL4PLNP.mjs → chunk-BAHET6SO.mjs} +2 -2
  48. package/lib/chunk-BDLJDNUM.mjs +75 -0
  49. package/lib/{chunk-DTG6ZDOA.mjs → chunk-BKJTZKXR.mjs} +1 -1
  50. package/lib/{chunk-EIBKS56D.mjs → chunk-BW6K6RLN.mjs} +4 -4
  51. package/lib/{chunk-IW7QGP3O.mjs → chunk-C2N7EZSY.mjs} +2 -2
  52. package/lib/{chunk-ZETHVOMR.mjs → chunk-C755BW7T.mjs} +1 -1
  53. package/lib/{chunk-3PFN4T6S.mjs → chunk-CABYORPP.mjs} +2 -2
  54. package/lib/{chunk-76P5II7A.mjs → chunk-CEDDJDON.mjs} +4 -4
  55. package/lib/{chunk-JPWTOBGP.mjs → chunk-CGAJ7YB2.mjs} +3 -3
  56. package/lib/{chunk-HWHXZZKH.mjs → chunk-CUPC2XLZ.mjs} +1 -1
  57. package/lib/{chunk-MIEXUCOH.mjs → chunk-CW3YHVBA.mjs} +2 -2
  58. package/lib/{chunk-HS7PWFF3.mjs → chunk-CYAWPWM7.mjs} +3 -3
  59. package/lib/{chunk-QNTBEAY4.mjs → chunk-D7QZPJSF.mjs} +3 -3
  60. package/lib/{chunk-ASZC2OSU.mjs → chunk-DI7Y6K3W.mjs} +3 -3
  61. package/lib/{chunk-3CUMNA5T.mjs → chunk-DL6NMHIM.mjs} +6 -6
  62. package/lib/{chunk-DB4LE4EW.mjs → chunk-DLQQ5RUK.mjs} +2 -2
  63. package/lib/{chunk-YF74SWNR.mjs → chunk-DMO4FETO.mjs} +4 -4
  64. package/lib/{chunk-ZX64XZS4.mjs → chunk-DW37QZID.mjs} +2 -2
  65. package/lib/{chunk-5NAC2FB4.mjs → chunk-E4DP4RHW.mjs} +2 -2
  66. package/lib/{chunk-HHARJB6A.mjs → chunk-EDBGLR45.mjs} +3 -3
  67. package/lib/{chunk-O72JHAKF.mjs → chunk-EHWZOM3O.mjs} +2 -2
  68. package/lib/{chunk-RGEGLOEG.mjs → chunk-ERBNAV6P.mjs} +2 -2
  69. package/lib/{chunk-HVDDVQIJ.mjs → chunk-FA3RCDVF.mjs} +3 -3
  70. package/lib/{chunk-DOYDNMGO.mjs → chunk-FDO26JVD.mjs} +1 -1
  71. package/lib/{chunk-EKMGL7ZZ.mjs → chunk-FES7E6XR.mjs} +1 -1
  72. package/lib/{chunk-MR7AJAP2.mjs → chunk-FI6OORG5.mjs} +2 -2
  73. package/lib/{chunk-IRYNHKFI.mjs → chunk-FM5TDIGH.mjs} +1 -1
  74. package/lib/{chunk-AVYI3IRF.mjs → chunk-FVGAKQHS.mjs} +1 -1
  75. package/lib/{chunk-IOHOQM2G.mjs → chunk-FWRHFQLQ.mjs} +2 -2
  76. package/lib/{chunk-DVOMGTK6.mjs → chunk-FZ7TRGKO.mjs} +2 -2
  77. package/lib/{chunk-5NCBENYK.mjs → chunk-G25IZXAD.mjs} +3 -3
  78. package/lib/{chunk-7LIZKR65.mjs → chunk-G3V2MA32.mjs} +1 -1
  79. package/lib/{chunk-RAQQH2DI.mjs → chunk-GDGMVGYN.mjs} +1 -1
  80. package/lib/{chunk-LBSTQNK7.mjs → chunk-HD7VWQFD.mjs} +2 -2
  81. package/lib/{chunk-7E4J6YBL.mjs → chunk-HG6NXLAY.mjs} +1 -1
  82. package/lib/{chunk-ZPE5DDAE.mjs → chunk-HJ3V3LWN.mjs} +2 -2
  83. package/lib/{chunk-5LNNQJ3B.mjs → chunk-HKJPCWC2.mjs} +2 -2
  84. package/lib/{chunk-SHMAZXUA.mjs → chunk-HUUIFJSN.mjs} +1 -1
  85. package/lib/{chunk-3HY3E3O3.mjs → chunk-I5HF26DL.mjs} +5 -5
  86. package/lib/{chunk-E7H2KJ4A.mjs → chunk-IA3WT3RN.mjs} +1 -1
  87. package/lib/{chunk-5FBFEA7R.mjs → chunk-INWRBUES.mjs} +1 -1
  88. package/lib/{chunk-ED5NFRNM.mjs → chunk-IQBE33C7.mjs} +3 -3
  89. package/lib/{chunk-6WPEEBMC.mjs → chunk-JBRB6UO5.mjs} +1 -1
  90. package/lib/{chunk-Z7AZ74DI.mjs → chunk-JFNPMFSP.mjs} +2 -2
  91. package/lib/{chunk-INMX4E34.mjs → chunk-JLBB25B5.mjs} +1 -1
  92. package/lib/{chunk-UASF66A2.mjs → chunk-JOU2LHCZ.mjs} +2 -2
  93. package/lib/{chunk-IJ7BZ3FQ.mjs → chunk-JRFUYD7U.mjs} +2 -2
  94. package/lib/{chunk-WWBPXBJT.mjs → chunk-JYORSGTM.mjs} +2 -2
  95. package/lib/{chunk-BNFC4BW2.mjs → chunk-K2JIIRTX.mjs} +1 -1
  96. package/lib/{chunk-2DMJIJTD.mjs → chunk-KDAZ6BEC.mjs} +3 -3
  97. package/lib/{chunk-33VW4RVE.mjs → chunk-KPAPQ4IC.mjs} +2 -2
  98. package/lib/{chunk-I3KHCP2X.mjs → chunk-KTNZEEPJ.mjs} +2 -2
  99. package/lib/{chunk-UIJLFZYF.mjs → chunk-KYJZK3YJ.mjs} +1 -1
  100. package/lib/{chunk-P3RZGE6X.mjs → chunk-LFNZETZS.mjs} +3 -3
  101. package/lib/{chunk-FADGUVGS.mjs → chunk-LKQDPJV3.mjs} +2 -2
  102. package/lib/{chunk-7HQWD2HW.mjs → chunk-LPOWVAJK.mjs} +2 -2
  103. package/lib/{chunk-6RNUF4LV.mjs → chunk-LR6UB33S.mjs} +1 -1
  104. package/lib/{chunk-TZFHL54Q.mjs → chunk-M5IAFQJU.mjs} +1 -1
  105. package/lib/{chunk-24R7IYOG.mjs → chunk-MAENF3VX.mjs} +4 -4
  106. package/lib/{chunk-SOW7WGY7.mjs → chunk-MC6ZX32S.mjs} +7 -7
  107. package/lib/{chunk-WC7HZXMT.mjs → chunk-MEPLLYE4.mjs} +3 -3
  108. package/lib/{chunk-T4VM27IJ.mjs → chunk-MFQR6S2P.mjs} +1 -1
  109. package/lib/{chunk-DFR5TVL7.mjs → chunk-MMG2MVYV.mjs} +1 -1
  110. package/lib/{chunk-OQ6PNNED.mjs → chunk-MMGVLILA.mjs} +2 -2
  111. package/lib/{chunk-AMGZXLNR.mjs → chunk-N2ZRITFK.mjs} +3 -3
  112. package/lib/{chunk-QLJ54D5Q.mjs → chunk-NB23NKHT.mjs} +2 -2
  113. package/lib/{chunk-WG7MHIX6.mjs → chunk-NOBOKBJV.mjs} +2 -2
  114. package/lib/{chunk-OUYOYTXI.mjs → chunk-NYLWPJMU.mjs} +2 -2
  115. package/lib/{chunk-7JMUQSV5.mjs → chunk-NZRHYMSU.mjs} +1 -1
  116. package/lib/{chunk-JOULFEEZ.mjs → chunk-O26LE2MU.mjs} +2 -2
  117. package/lib/{chunk-3GLD7T7V.mjs → chunk-O2LVO3J5.mjs} +3 -3
  118. package/lib/{chunk-7LJJ6SKX.mjs → chunk-O4276YRE.mjs} +3 -3
  119. package/lib/{chunk-3QN2JTJH.mjs → chunk-O4JDUDIB.mjs} +3 -3
  120. package/lib/{chunk-OANYLKIF.mjs → chunk-O4THC3SR.mjs} +1 -1
  121. package/lib/{chunk-HHE7L3CW.mjs → chunk-OHYZ6AS2.mjs} +2 -2
  122. package/lib/{chunk-4J6WJU6H.mjs → chunk-OKRYV2K5.mjs} +1 -1
  123. package/lib/{chunk-BBXAF6LS.mjs → chunk-ORKJJOJJ.mjs} +3 -3
  124. package/lib/{chunk-2ZXXN4R4.mjs → chunk-OV5LZHEB.mjs} +2 -2
  125. package/lib/{chunk-5UAX67EN.mjs → chunk-P25LYDHG.mjs} +3 -3
  126. package/lib/{chunk-TXKGISWW.mjs → chunk-PJ76LGUE.mjs} +2 -2
  127. package/lib/{chunk-44DOSDMV.mjs → chunk-PJKSBYEI.mjs} +1 -1
  128. package/lib/{chunk-UK4S4W4O.mjs → chunk-PKUBH5X2.mjs} +2 -2
  129. package/lib/{chunk-JIGVLQZM.mjs → chunk-PUI5XUNN.mjs} +1 -1
  130. package/lib/{chunk-VZX5PGQL.mjs → chunk-PZ6AN3SW.mjs} +3 -3
  131. package/lib/{chunk-YR5WZRJD.mjs → chunk-QEJFO7PR.mjs} +1 -1
  132. package/lib/{chunk-SFIOTEMN.mjs → chunk-QLJMWP7T.mjs} +2 -2
  133. package/lib/{chunk-FRZM4C7T.mjs → chunk-QMVD2AXH.mjs} +2 -2
  134. package/lib/{chunk-WU5VMIX7.mjs → chunk-QNUD6J4U.mjs} +3 -3
  135. package/lib/{chunk-COHZA3Q6.mjs → chunk-QSMS7EPD.mjs} +2 -2
  136. package/lib/{chunk-RA7237YI.mjs → chunk-R3PATAKZ.mjs} +3 -3
  137. package/lib/{chunk-DY3O7TP2.mjs → chunk-R77TROLC.mjs} +1 -1
  138. package/lib/{chunk-CYSI752N.mjs → chunk-REASBJQM.mjs} +3 -3
  139. package/lib/{chunk-S76GK7PI.mjs → chunk-RHDHWW2S.mjs} +2 -2
  140. package/lib/{chunk-Q665G2U7.mjs → chunk-RMYLVQQI.mjs} +4 -4
  141. package/lib/{chunk-CHKSRCM7.mjs → chunk-RNN54DGP.mjs} +2 -2
  142. package/lib/{chunk-RXGITNPE.mjs → chunk-ROIMX2WR.mjs} +3 -3
  143. package/lib/chunk-RTX3I6ZK.mjs +10 -0
  144. package/lib/{chunk-WRTLMWIM.mjs → chunk-RUOX32PA.mjs} +3 -3
  145. package/lib/{chunk-DOA3WDEF.mjs → chunk-S7J3C47T.mjs} +1 -1
  146. package/lib/{chunk-TFDPKEJD.mjs → chunk-S7NWKIXK.mjs} +1 -1
  147. package/lib/{chunk-3TFMB2ZU.mjs → chunk-SIIM6V43.mjs} +3 -3
  148. package/lib/{chunk-ABTLCSFA.mjs → chunk-SND7OSS4.mjs} +2 -2
  149. package/lib/{chunk-3APJ5TJP.mjs → chunk-SNMP7GGG.mjs} +2 -2
  150. package/lib/{chunk-3OWVPQQ3.mjs → chunk-TDU2S3TS.mjs} +3 -3
  151. package/lib/{chunk-VDIATO4X.mjs → chunk-TOOAKGKJ.mjs} +3 -3
  152. package/lib/{chunk-J2YGXNIH.mjs → chunk-TQYLYXDD.mjs} +3 -3
  153. package/lib/{chunk-M3FKAS2D.mjs → chunk-TT23XPP5.mjs} +2 -2
  154. package/lib/{chunk-PZ2SAVMT.mjs → chunk-TTOOQXA2.mjs} +2 -2
  155. package/lib/{chunk-UMCBNLSL.mjs → chunk-TU3M3HXO.mjs} +1 -1
  156. package/lib/{chunk-Z44CCSOP.mjs → chunk-TVAJEINF.mjs} +1 -1
  157. package/lib/{chunk-C3VH34J4.mjs → chunk-TVGHQUUI.mjs} +2 -2
  158. package/lib/{chunk-CKEC5R4P.mjs → chunk-U2STNP4N.mjs} +1 -1
  159. package/lib/{chunk-6QE3IUXA.mjs → chunk-U7ZITDRY.mjs} +2 -2
  160. package/lib/{chunk-UVXTJYNN.mjs → chunk-UGCBEAF4.mjs} +2 -2
  161. package/lib/{chunk-ILTCTVY7.mjs → chunk-UGUC4TWZ.mjs} +1 -1
  162. package/lib/{chunk-JDIKK2K5.mjs → chunk-UP6C5CAR.mjs} +2 -2
  163. package/lib/{chunk-ZUZ6IVLL.mjs → chunk-UXIUWXUF.mjs} +1 -1
  164. package/lib/{chunk-EFI4OPOL.mjs → chunk-V5NZV3BW.mjs} +1 -1
  165. package/lib/{chunk-6BMF3QD3.mjs → chunk-V7KCQBOE.mjs} +2 -2
  166. package/lib/{chunk-NWBGCS6B.mjs → chunk-VFLDE54S.mjs} +3 -3
  167. package/lib/{chunk-252FYXMD.mjs → chunk-VN4ZXS27.mjs} +4 -4
  168. package/lib/{chunk-ZWCLOA5C.mjs → chunk-VRAQPSBJ.mjs} +4 -4
  169. package/lib/{chunk-HSBIO24M.mjs → chunk-VXPAONOR.mjs} +2 -2
  170. package/lib/{chunk-NPCDCOTL.mjs → chunk-W4TMRSZ2.mjs} +2 -2
  171. package/lib/{chunk-QTU7TCVL.mjs → chunk-WCWE6Z45.mjs} +1 -1
  172. package/lib/{chunk-ELJCCXAM.mjs → chunk-WJPKHTJB.mjs} +2 -2
  173. package/lib/{chunk-PZP5ZUI3.mjs → chunk-WO4Y2FRW.mjs} +1 -1
  174. package/lib/{chunk-AEV6FHUQ.mjs → chunk-WRQHV62E.mjs} +1 -1
  175. package/lib/{chunk-CDK7APZM.mjs → chunk-WXIW56CT.mjs} +2 -2
  176. package/lib/{chunk-KJ3L7UBY.mjs → chunk-WZ5KQZFN.mjs} +2 -2
  177. package/lib/{chunk-THX2YDD5.mjs → chunk-X6CBAXAB.mjs} +1 -1
  178. package/lib/chunk-XCIDMO7T.mjs +10 -0
  179. package/lib/{chunk-T2NWMSDU.mjs → chunk-XEHYV47R.mjs} +3 -3
  180. package/lib/{chunk-MV3N2D6T.mjs → chunk-XEMIHTST.mjs} +2 -2
  181. package/lib/{chunk-VXILM4QO.mjs → chunk-XFHKH7VN.mjs} +2 -2
  182. package/lib/{chunk-ZB4OWTDD.mjs → chunk-XUTWIHGC.mjs} +1 -1
  183. package/lib/{chunk-JFTUDUYA.mjs → chunk-XZ7VW6AY.mjs} +3 -3
  184. package/lib/{chunk-SWCJ5OOQ.mjs → chunk-Y4NXOCAQ.mjs} +2 -2
  185. package/lib/{chunk-6YU73H5M.mjs → chunk-Y7OXSD5B.mjs} +1 -1
  186. package/lib/{chunk-KY7T6Q73.mjs → chunk-Y7SHWYB4.mjs} +3 -3
  187. package/lib/{chunk-BD73QGIH.mjs → chunk-YJUVXFTO.mjs} +2 -2
  188. package/lib/{chunk-4LBDW7MG.mjs → chunk-YTLLJ6RH.mjs} +11 -11
  189. package/lib/{chunk-P7P7S4GM.mjs → chunk-ZFISNJY5.mjs} +4 -4
  190. package/lib/{chunk-O2ACJJBX.mjs → chunk-ZFXTFSU7.mjs} +2 -2
  191. package/lib/{chunk-2EF72O53.mjs → chunk-ZNADK25G.mjs} +3 -3
  192. package/lib/{chunk-IZYESQPA.mjs → chunk-ZNXJTPMT.mjs} +1 -1
  193. package/lib/{chunk-QUKKSRQH.mjs → chunk-ZZ6LK25R.mjs} +2 -2
  194. package/lib/components/accordion/Accordion.js +31 -4
  195. package/lib/components/accordion/Accordion.mjs +7 -3
  196. package/lib/components/accordion/index.js +41 -14
  197. package/lib/components/accordion/index.mjs +12 -8
  198. package/lib/components/accordion/index.native.js +1 -1
  199. package/lib/components/accordion/index.native.mjs +3 -3
  200. package/lib/components/accordion/item/AccordionItem.js +32 -5
  201. package/lib/components/accordion/item/AccordionItem.mjs +7 -3
  202. package/lib/components/accordion/item/AccordionItem.native.js +1 -1
  203. package/lib/components/accordion/item/AccordionItem.native.mjs +3 -3
  204. package/lib/components/accordion/item/body/AccordionBody.js +31 -4
  205. package/lib/components/accordion/item/body/AccordionBody.mjs +7 -3
  206. package/lib/components/accordion/item/body/index.js +31 -4
  207. package/lib/components/accordion/item/body/index.mjs +7 -3
  208. package/lib/components/accordion/item/header/AccordionHeader.js +31 -4
  209. package/lib/components/accordion/item/header/AccordionHeader.mjs +7 -3
  210. package/lib/components/accordion/item/header/index.js +31 -4
  211. package/lib/components/accordion/item/header/index.mjs +7 -3
  212. package/lib/components/accordion/item/index.js +32 -5
  213. package/lib/components/accordion/item/index.mjs +7 -3
  214. package/lib/components/accordion/item/index.native.js +1 -1
  215. package/lib/components/accordion/item/index.native.mjs +3 -3
  216. package/lib/components/alert/Alert.js +56 -42
  217. package/lib/components/alert/Alert.mjs +11 -8
  218. package/lib/components/alert/Alert.native.js +1 -1
  219. package/lib/components/alert/Alert.native.mjs +15 -15
  220. package/lib/components/alert/index.js +56 -42
  221. package/lib/components/alert/index.mjs +11 -8
  222. package/lib/components/alert/index.native.js +1 -1
  223. package/lib/components/alert/index.native.mjs +15 -15
  224. package/lib/components/autocomplete/AutoComplete.js +104 -90
  225. package/lib/components/autocomplete/AutoComplete.mjs +25 -22
  226. package/lib/components/autocomplete/AutoComplete.native.js +1 -1
  227. package/lib/components/autocomplete/AutoComplete.native.mjs +18 -18
  228. package/lib/components/autocomplete/index.js +104 -90
  229. package/lib/components/autocomplete/index.mjs +27 -24
  230. package/lib/components/autocomplete/index.native.js +26 -7
  231. package/lib/components/autocomplete/index.native.mjs +30 -27
  232. package/lib/components/autocomplete/item/AutoCompleteIem.native.js +1 -1
  233. package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +3 -3
  234. package/lib/components/autocomplete/item/AutoCompleteItem.js +31 -4
  235. package/lib/components/autocomplete/item/AutoCompleteItem.mjs +8 -4
  236. package/lib/components/autocomplete/item/index.js +31 -4
  237. package/lib/components/autocomplete/item/index.mjs +9 -5
  238. package/lib/components/autocomplete/item/index.native.js +1 -1
  239. package/lib/components/autocomplete/item/index.native.mjs +3 -3
  240. package/lib/components/autocomplete/menu/AutoCompleteMenu.js +30 -3
  241. package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +8 -4
  242. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +1 -1
  243. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +15 -15
  244. package/lib/components/autocomplete/menu/index.js +30 -3
  245. package/lib/components/autocomplete/menu/index.mjs +9 -5
  246. package/lib/components/autocomplete/menu/index.native.js +1 -1
  247. package/lib/components/autocomplete/menu/index.native.mjs +15 -15
  248. package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +2 -2
  249. package/lib/components/autolayout/AutoLayout/index.native.mjs +2 -2
  250. package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +3 -3
  251. package/lib/components/autolayout/helpers/AutoLayout.helpers.js +38 -11
  252. package/lib/components/autolayout/helpers/AutoLayout.helpers.mjs +7 -3
  253. package/lib/components/autolayout/index.mjs +3 -3
  254. package/lib/components/autolayout/index.native.mjs +3 -3
  255. package/lib/components/badge/Badge.js +37 -23
  256. package/lib/components/badge/Badge.mjs +9 -6
  257. package/lib/components/badge/Badge.native.js +1 -1
  258. package/lib/components/badge/Badge.native.mjs +13 -13
  259. package/lib/components/badge/index.js +37 -23
  260. package/lib/components/badge/index.mjs +9 -6
  261. package/lib/components/badge/index.native.js +1 -1
  262. package/lib/components/badge/index.native.mjs +13 -13
  263. package/lib/components/box/Box.js +30 -16
  264. package/lib/components/box/Box.mjs +7 -4
  265. package/lib/components/box/Box.native.js +1 -1
  266. package/lib/components/box/Box.native.mjs +2 -2
  267. package/lib/components/box/content/BoxContent.js +32 -18
  268. package/lib/components/box/content/BoxContent.mjs +8 -5
  269. package/lib/components/box/content/index.js +32 -18
  270. package/lib/components/box/content/index.mjs +9 -6
  271. package/lib/components/box/footer/BoxFooter.js +32 -18
  272. package/lib/components/box/footer/BoxFooter.mjs +8 -5
  273. package/lib/components/box/footer/BoxFooter.native.js +1 -1
  274. package/lib/components/box/footer/BoxFooter.native.mjs +12 -12
  275. package/lib/components/box/footer/index.js +32 -18
  276. package/lib/components/box/footer/index.mjs +9 -6
  277. package/lib/components/box/footer/index.native.js +1 -1
  278. package/lib/components/box/footer/index.native.mjs +12 -12
  279. package/lib/components/box/header/BoxHeader.js +32 -18
  280. package/lib/components/box/header/BoxHeader.mjs +8 -5
  281. package/lib/components/box/header/BoxHeader.native.js +1 -1
  282. package/lib/components/box/header/BoxHeader.native.mjs +2 -2
  283. package/lib/components/box/header/index.js +32 -18
  284. package/lib/components/box/header/index.mjs +9 -6
  285. package/lib/components/box/header/index.native.js +1 -1
  286. package/lib/components/box/header/index.native.mjs +2 -2
  287. package/lib/components/box/index.js +45 -31
  288. package/lib/components/box/index.mjs +21 -18
  289. package/lib/components/box/index.native.js +1 -1
  290. package/lib/components/box/index.native.mjs +14 -14
  291. package/lib/components/box/item/BoxItem.js +31 -4
  292. package/lib/components/box/item/BoxItem.mjs +7 -3
  293. package/lib/components/box/item/index.js +31 -4
  294. package/lib/components/box/item/index.mjs +8 -4
  295. package/lib/components/box/table-container/BoxTableContainer.js +31 -4
  296. package/lib/components/box/table-container/BoxTableContainer.mjs +7 -3
  297. package/lib/components/box/table-container/index.js +31 -4
  298. package/lib/components/box/table-container/index.mjs +8 -4
  299. package/lib/components/breadcrumb/Breadcrumb.js +32 -5
  300. package/lib/components/breadcrumb/Breadcrumb.mjs +7 -3
  301. package/lib/components/breadcrumb/Breadcrumb.native.js +1 -1
  302. package/lib/components/breadcrumb/Breadcrumb.native.mjs +3 -3
  303. package/lib/components/breadcrumb/index.js +47 -33
  304. package/lib/components/breadcrumb/index.mjs +11 -8
  305. package/lib/components/breadcrumb/index.native.js +1 -1
  306. package/lib/components/breadcrumb/index.native.mjs +5 -5
  307. package/lib/components/breadcrumb/item/BreadcrumbItem.js +43 -29
  308. package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +10 -7
  309. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +1 -1
  310. package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +3 -3
  311. package/lib/components/breadcrumb/item/index.js +43 -29
  312. package/lib/components/breadcrumb/item/index.mjs +10 -7
  313. package/lib/components/breadcrumb/item/index.native.js +1 -1
  314. package/lib/components/breadcrumb/item/index.native.mjs +3 -3
  315. package/lib/components/button/Button.js +40 -26
  316. package/lib/components/button/Button.mjs +9 -6
  317. package/lib/components/button/Button.native.js +1 -1
  318. package/lib/components/button/Button.native.mjs +13 -13
  319. package/lib/components/button/index.js +43 -29
  320. package/lib/components/button/index.mjs +10 -7
  321. package/lib/components/button/index.native.js +1 -1
  322. package/lib/components/button/index.native.mjs +13 -13
  323. package/lib/components/button/list/ButtonList.js +31 -4
  324. package/lib/components/button/list/ButtonList.mjs +8 -4
  325. package/lib/components/button/list/index.js +31 -4
  326. package/lib/components/button/list/index.mjs +8 -4
  327. package/lib/components/calendar/Calendar.js +173 -159
  328. package/lib/components/calendar/Calendar.mjs +25 -22
  329. package/lib/components/calendar/Calendar.native.js +1 -1
  330. package/lib/components/calendar/Calendar.native.mjs +4 -4
  331. package/lib/components/calendar/index.js +173 -159
  332. package/lib/components/calendar/index.mjs +25 -22
  333. package/lib/components/calendar/index.native.js +1 -1
  334. package/lib/components/calendar/index.native.mjs +4 -4
  335. package/lib/components/card/Card.js +33 -6
  336. package/lib/components/card/Card.mjs +7 -3
  337. package/lib/components/card/Card.native.js +1 -1
  338. package/lib/components/card/Card.native.mjs +2 -2
  339. package/lib/components/card/content/CardContent.js +31 -4
  340. package/lib/components/card/content/CardContent.mjs +7 -3
  341. package/lib/components/card/content/CardContent.native.js +1 -1
  342. package/lib/components/card/content/CardContent.native.mjs +3 -3
  343. package/lib/components/card/content/index.js +31 -4
  344. package/lib/components/card/content/index.mjs +8 -4
  345. package/lib/components/card/content/index.native.js +1 -1
  346. package/lib/components/card/content/index.native.mjs +3 -3
  347. package/lib/components/card/image/CardImage.js +32 -5
  348. package/lib/components/card/image/CardImage.mjs +7 -3
  349. package/lib/components/card/image/CardImage.native.js +1 -1
  350. package/lib/components/card/image/CardImage.native.mjs +3 -3
  351. package/lib/components/card/image/index.js +32 -5
  352. package/lib/components/card/image/index.mjs +8 -4
  353. package/lib/components/card/image/index.native.js +1 -1
  354. package/lib/components/card/image/index.native.mjs +3 -3
  355. package/lib/components/card/index.js +40 -13
  356. package/lib/components/card/index.mjs +13 -9
  357. package/lib/components/card/index.native.js +1 -1
  358. package/lib/components/card/index.native.mjs +4 -4
  359. package/lib/components/checkbox/Checkbox.js +35 -8
  360. package/lib/components/checkbox/Checkbox.mjs +7 -3
  361. package/lib/components/checkbox/Checkbox.native.js +1 -1
  362. package/lib/components/checkbox/Checkbox.native.mjs +4 -4
  363. package/lib/components/checkbox/index.js +63 -49
  364. package/lib/components/checkbox/index.mjs +25 -22
  365. package/lib/components/checkbox/index.native.js +1 -1
  366. package/lib/components/checkbox/index.native.mjs +22 -22
  367. package/lib/components/checkbox/list/CheckboxList.js +42 -28
  368. package/lib/components/checkbox/list/CheckboxList.mjs +19 -16
  369. package/lib/components/checkbox/list/CheckboxList.native.js +1 -1
  370. package/lib/components/checkbox/list/CheckboxList.native.mjs +6 -6
  371. package/lib/components/checkbox/list/index.js +42 -28
  372. package/lib/components/checkbox/list/index.mjs +19 -16
  373. package/lib/components/checkbox/list/index.native.js +1 -1
  374. package/lib/components/checkbox/list/index.native.mjs +6 -6
  375. package/lib/components/checkbox/tiles/CheckboxTiles.js +34 -7
  376. package/lib/components/checkbox/tiles/CheckboxTiles.mjs +7 -3
  377. package/lib/components/checkbox/tiles/index.js +34 -7
  378. package/lib/components/checkbox/tiles/index.mjs +7 -3
  379. package/lib/components/checkbox/tiles/tile/CheckboxTile.js +44 -30
  380. package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +19 -16
  381. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +1 -1
  382. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +15 -15
  383. package/lib/components/checkbox/tiles/tile/index.js +44 -30
  384. package/lib/components/checkbox/tiles/tile/index.mjs +19 -16
  385. package/lib/components/checkbox/tiles/tile/index.native.js +1 -1
  386. package/lib/components/checkbox/tiles/tile/index.native.mjs +15 -15
  387. package/lib/components/chips/Chips.js +31 -4
  388. package/lib/components/chips/Chips.mjs +7 -3
  389. package/lib/components/chips/Chips.native.js +1 -1
  390. package/lib/components/chips/Chips.native.mjs +4 -4
  391. package/lib/components/chips/index.js +34 -7
  392. package/lib/components/chips/index.mjs +8 -4
  393. package/lib/components/chips/index.native.js +1 -1
  394. package/lib/components/chips/index.native.mjs +4 -4
  395. package/lib/components/chips/list/ChipsList.js +31 -4
  396. package/lib/components/chips/list/ChipsList.mjs +7 -3
  397. package/lib/components/chips/list/index.js +31 -4
  398. package/lib/components/chips/list/index.mjs +7 -3
  399. package/lib/components/columns/Columns.js +31 -4
  400. package/lib/components/columns/Columns.mjs +7 -3
  401. package/lib/components/columns/column/Column.js +31 -4
  402. package/lib/components/columns/column/Column.mjs +7 -3
  403. package/lib/components/columns/column/Column.native.js +1 -1
  404. package/lib/components/columns/column/Column.native.mjs +12 -12
  405. package/lib/components/columns/column/index.js +31 -4
  406. package/lib/components/columns/column/index.mjs +8 -4
  407. package/lib/components/columns/column/index.native.js +1 -1
  408. package/lib/components/columns/column/index.native.mjs +12 -12
  409. package/lib/components/columns/index.js +34 -7
  410. package/lib/components/columns/index.mjs +9 -5
  411. package/lib/components/columns/index.native.js +1 -1
  412. package/lib/components/columns/index.native.mjs +12 -12
  413. package/lib/components/container/Container.js +31 -4
  414. package/lib/components/container/Container.mjs +7 -3
  415. package/lib/components/container/index.js +31 -4
  416. package/lib/components/container/index.mjs +7 -3
  417. package/lib/components/countdown/Countdown.js +36 -9
  418. package/lib/components/countdown/Countdown.mjs +7 -3
  419. package/lib/components/countdown/Countdown.native.js +1 -1
  420. package/lib/components/countdown/Countdown.native.mjs +3 -3
  421. package/lib/components/countdown/index.js +36 -9
  422. package/lib/components/countdown/index.mjs +7 -3
  423. package/lib/components/countdown/index.native.js +1 -1
  424. package/lib/components/countdown/index.native.mjs +3 -3
  425. package/lib/components/datepicker/DatePicker.js +259 -245
  426. package/lib/components/datepicker/DatePicker.mjs +32 -29
  427. package/lib/components/datepicker/DatePicker.native.js +9 -9
  428. package/lib/components/datepicker/DatePicker.native.mjs +5 -5
  429. package/lib/components/datepicker/index.js +259 -245
  430. package/lib/components/datepicker/index.mjs +32 -29
  431. package/lib/components/datepicker/index.native.js +9 -9
  432. package/lib/components/datepicker/index.native.mjs +5 -5
  433. package/lib/components/divider/Divider.js +35 -21
  434. package/lib/components/divider/Divider.mjs +9 -6
  435. package/lib/components/divider/Divider.native.js +1 -1
  436. package/lib/components/divider/Divider.native.mjs +4 -4
  437. package/lib/components/divider/index.js +35 -21
  438. package/lib/components/divider/index.mjs +9 -6
  439. package/lib/components/divider/index.native.js +1 -1
  440. package/lib/components/divider/index.native.mjs +4 -4
  441. package/lib/components/fab/Fab.js +38 -24
  442. package/lib/components/fab/Fab.mjs +9 -6
  443. package/lib/components/fab/Fab.native.js +1 -1
  444. package/lib/components/fab/Fab.native.mjs +14 -14
  445. package/lib/components/fab/index.js +38 -24
  446. package/lib/components/fab/index.mjs +9 -6
  447. package/lib/components/fab/index.native.js +1 -1
  448. package/lib/components/fab/index.native.mjs +14 -14
  449. package/lib/components/flex-box/FlexBox.js +31 -4
  450. package/lib/components/flex-box/FlexBox.mjs +7 -3
  451. package/lib/components/flex-box/FlexBox.native.js +1 -1
  452. package/lib/components/flex-box/FlexBox.native.mjs +12 -12
  453. package/lib/components/flex-box/flex-item/FlexItem.js +31 -4
  454. package/lib/components/flex-box/flex-item/FlexItem.mjs +7 -3
  455. package/lib/components/flex-box/index.js +34 -7
  456. package/lib/components/flex-box/index.mjs +8 -4
  457. package/lib/components/flex-box/index.native.js +1 -1
  458. package/lib/components/flex-box/index.native.mjs +12 -12
  459. package/lib/components/hero/Hero.js +31 -17
  460. package/lib/components/hero/Hero.mjs +7 -4
  461. package/lib/components/hero/Hero.native.js +1 -1
  462. package/lib/components/hero/Hero.native.mjs +15 -15
  463. package/lib/components/hero/index.js +31 -17
  464. package/lib/components/hero/index.mjs +7 -4
  465. package/lib/components/hero/index.native.js +1 -1
  466. package/lib/components/hero/index.native.mjs +15 -15
  467. package/lib/components/icon/Icon.js +32 -18
  468. package/lib/components/icon/Icon.mjs +8 -5
  469. package/lib/components/icon/Icon.native.js +1 -1
  470. package/lib/components/icon/Icon.native.mjs +2 -2
  471. package/lib/components/icon/index.js +32 -18
  472. package/lib/components/icon/index.mjs +8 -5
  473. package/lib/components/icon/index.native.js +1 -1
  474. package/lib/components/icon/index.native.mjs +2 -2
  475. package/lib/components/image/Image.js +37 -23
  476. package/lib/components/image/Image.mjs +18 -15
  477. package/lib/components/image/index.js +37 -23
  478. package/lib/components/image/index.mjs +18 -15
  479. package/lib/components/index.js +679 -665
  480. package/lib/components/index.mjs +162 -159
  481. package/lib/components/index.native.js +639 -637
  482. package/lib/components/index.native.mjs +100 -98
  483. package/lib/components/input/Input.js +87 -73
  484. package/lib/components/input/Input.mjs +20 -17
  485. package/lib/components/input/Input.native.js +1 -1
  486. package/lib/components/input/Input.native.mjs +15 -15
  487. package/lib/components/input/gauge/InputGauge.js +57 -43
  488. package/lib/components/input/gauge/InputGauge.mjs +18 -15
  489. package/lib/components/input/gauge/InputGauge.native.js +1 -1
  490. package/lib/components/input/gauge/InputGauge.native.mjs +14 -14
  491. package/lib/components/input/gauge/hook/useGauge.js +47 -33
  492. package/lib/components/input/gauge/hook/useGauge.mjs +17 -14
  493. package/lib/components/input/gauge/hook/useGauge.native.js +1 -1
  494. package/lib/components/input/gauge/hook/useGauge.native.mjs +12 -12
  495. package/lib/components/input/index.js +87 -73
  496. package/lib/components/input/index.mjs +20 -17
  497. package/lib/components/input/index.native.js +1 -1
  498. package/lib/components/input/index.native.mjs +15 -15
  499. package/lib/components/link/Link.js +39 -25
  500. package/lib/components/link/Link.mjs +9 -6
  501. package/lib/components/link/Link.native.js +1 -1
  502. package/lib/components/link/Link.native.mjs +3 -3
  503. package/lib/components/link/index.js +39 -25
  504. package/lib/components/link/index.mjs +9 -6
  505. package/lib/components/link/index.native.js +1 -1
  506. package/lib/components/link/index.native.mjs +3 -3
  507. package/lib/components/list/List.js +31 -4
  508. package/lib/components/list/List.mjs +7 -3
  509. package/lib/components/list/List.native.mjs +1 -1
  510. package/lib/components/list/context/index.mjs +1 -1
  511. package/lib/components/list/index.js +43 -29
  512. package/lib/components/list/index.mjs +20 -17
  513. package/lib/components/list/index.native.js +1 -1
  514. package/lib/components/list/index.native.mjs +16 -16
  515. package/lib/components/list/item/ListItem.js +37 -23
  516. package/lib/components/list/item/ListItem.mjs +18 -15
  517. package/lib/components/list/item/ListItem.native.js +1 -1
  518. package/lib/components/list/item/ListItem.native.mjs +15 -15
  519. package/lib/components/list/item/description/ListItemDescription.js +31 -4
  520. package/lib/components/list/item/description/ListItemDescription.mjs +8 -4
  521. package/lib/components/list/item/description/ListItemDescription.native.js +1 -1
  522. package/lib/components/list/item/description/ListItemDescription.native.mjs +14 -14
  523. package/lib/components/list/item/description/index.js +31 -4
  524. package/lib/components/list/item/description/index.mjs +8 -4
  525. package/lib/components/list/item/description/index.native.js +1 -1
  526. package/lib/components/list/item/description/index.native.mjs +14 -14
  527. package/lib/components/list/item/index.js +40 -26
  528. package/lib/components/list/item/index.mjs +19 -16
  529. package/lib/components/list/item/index.native.js +1 -1
  530. package/lib/components/list/item/index.native.mjs +16 -16
  531. package/lib/components/modal/Modal.js +64 -50
  532. package/lib/components/modal/Modal.mjs +12 -9
  533. package/lib/components/modal/Modal.native.js +1 -1
  534. package/lib/components/modal/Modal.native.mjs +14 -14
  535. package/lib/components/modal/body/ModalBody.js +31 -4
  536. package/lib/components/modal/body/ModalBody.mjs +8 -4
  537. package/lib/components/modal/body/ModalBody.native.js +1 -1
  538. package/lib/components/modal/body/ModalBody.native.mjs +12 -12
  539. package/lib/components/modal/body/index.native.js +1 -1
  540. package/lib/components/modal/body/index.native.mjs +12 -12
  541. package/lib/components/modal/footer/ModalFooter.js +31 -4
  542. package/lib/components/modal/footer/ModalFooter.mjs +8 -4
  543. package/lib/components/modal/footer/ModalFooter.native.js +1 -1
  544. package/lib/components/modal/footer/ModalFooter.native.mjs +14 -14
  545. package/lib/components/modal/footer/index.native.js +1 -1
  546. package/lib/components/modal/footer/index.native.mjs +14 -14
  547. package/lib/components/modal/index.js +70 -56
  548. package/lib/components/modal/index.mjs +16 -13
  549. package/lib/components/modal/index.native.js +1 -1
  550. package/lib/components/modal/index.native.mjs +15 -15
  551. package/lib/components/otp/Otp.js +43 -29
  552. package/lib/components/otp/Otp.mjs +8 -5
  553. package/lib/components/otp/Otp.native.js +1 -1
  554. package/lib/components/otp/Otp.native.mjs +15 -15
  555. package/lib/components/otp/index.js +43 -29
  556. package/lib/components/otp/index.mjs +8 -5
  557. package/lib/components/otp/index.native.js +1 -1
  558. package/lib/components/otp/index.native.mjs +15 -15
  559. package/lib/components/pagination/Pagination.js +44 -30
  560. package/lib/components/pagination/Pagination.mjs +9 -6
  561. package/lib/components/pagination/Pagination.native.js +1 -1
  562. package/lib/components/pagination/Pagination.native.mjs +4 -4
  563. package/lib/components/pagination/index.js +44 -30
  564. package/lib/components/pagination/index.mjs +9 -6
  565. package/lib/components/pagination/index.native.js +1 -1
  566. package/lib/components/pagination/index.native.mjs +4 -4
  567. package/lib/components/popover/Popover.js +31 -4
  568. package/lib/components/popover/Popover.mjs +7 -3
  569. package/lib/components/popover/Popover.native.js +1 -1
  570. package/lib/components/popover/Popover.native.mjs +12 -12
  571. package/lib/components/popover/index.js +31 -4
  572. package/lib/components/popover/index.mjs +7 -3
  573. package/lib/components/popover/index.native.js +1 -1
  574. package/lib/components/popover/index.native.mjs +12 -12
  575. package/lib/components/price/Price.js +43 -29
  576. package/lib/components/price/Price.mjs +19 -16
  577. package/lib/components/price/Price.native.js +1 -1
  578. package/lib/components/price/Price.native.mjs +13 -13
  579. package/lib/components/price/index.js +43 -29
  580. package/lib/components/price/index.mjs +19 -16
  581. package/lib/components/price/index.native.js +1 -1
  582. package/lib/components/price/index.native.mjs +13 -13
  583. package/lib/components/product-tour/ProductTour.js +37 -23
  584. package/lib/components/product-tour/ProductTour.mjs +9 -6
  585. package/lib/components/product-tour/index.js +37 -23
  586. package/lib/components/product-tour/index.mjs +9 -6
  587. package/lib/components/progress/Progress.js +40 -26
  588. package/lib/components/progress/Progress.mjs +19 -16
  589. package/lib/components/progress/Progress.native.js +1 -1
  590. package/lib/components/progress/Progress.native.mjs +14 -14
  591. package/lib/components/progress/index.js +57 -43
  592. package/lib/components/progress/index.mjs +25 -22
  593. package/lib/components/progress/index.native.js +1 -1
  594. package/lib/components/progress/index.native.mjs +18 -18
  595. package/lib/components/progress/item/ProgressItem.js +36 -22
  596. package/lib/components/progress/item/ProgressItem.mjs +18 -15
  597. package/lib/components/progress/item/index.js +36 -22
  598. package/lib/components/progress/item/index.mjs +19 -16
  599. package/lib/components/progress/radial/ProgressRadial.js +44 -30
  600. package/lib/components/progress/radial/ProgressRadial.mjs +10 -7
  601. package/lib/components/progress/radial/ProgressRadial.native.js +1 -1
  602. package/lib/components/progress/radial/ProgressRadial.native.mjs +14 -14
  603. package/lib/components/progress/radial/index.js +44 -30
  604. package/lib/components/progress/radial/index.mjs +11 -8
  605. package/lib/components/progress/radial/index.native.js +1 -1
  606. package/lib/components/progress/radial/index.native.mjs +14 -14
  607. package/lib/components/progress/radial/item/ProgressRadialtem.js +30 -3
  608. package/lib/components/progress/radial/item/ProgressRadialtem.mjs +8 -4
  609. package/lib/components/progress/radial/item/index.js +30 -3
  610. package/lib/components/progress/radial/item/index.mjs +8 -4
  611. package/lib/components/radio/Radio.js +33 -6
  612. package/lib/components/radio/Radio.mjs +7 -3
  613. package/lib/components/radio/Radio.native.js +1 -1
  614. package/lib/components/radio/Radio.native.mjs +14 -14
  615. package/lib/components/radio/index.js +58 -44
  616. package/lib/components/radio/index.mjs +24 -21
  617. package/lib/components/radio/index.native.js +83 -77
  618. package/lib/components/radio/index.native.mjs +26 -24
  619. package/lib/components/radio/list/RadioList.js +42 -28
  620. package/lib/components/radio/list/RadioList.mjs +19 -16
  621. package/lib/components/radio/list/RadioList.native.js +39 -25
  622. package/lib/components/radio/list/RadioList.native.mjs +11 -8
  623. package/lib/components/radio/list/index.js +42 -28
  624. package/lib/components/radio/list/index.mjs +19 -16
  625. package/lib/components/radio/list/index.native.js +39 -25
  626. package/lib/components/radio/list/index.native.mjs +11 -8
  627. package/lib/components/radio/tiles/RadioTiles.js +39 -25
  628. package/lib/components/radio/tiles/RadioTiles.mjs +18 -15
  629. package/lib/components/radio/tiles/index.js +39 -25
  630. package/lib/components/radio/tiles/index.mjs +18 -15
  631. package/lib/components/radio/tiles/tile/RadioTile.js +41 -27
  632. package/lib/components/radio/tiles/tile/RadioTile.mjs +19 -16
  633. package/lib/components/radio/tiles/tile/RadioTile.native.js +1 -1
  634. package/lib/components/radio/tiles/tile/RadioTile.native.mjs +15 -15
  635. package/lib/components/radio/tiles/tile/index.js +41 -27
  636. package/lib/components/radio/tiles/tile/index.mjs +19 -16
  637. package/lib/components/radio/tiles/tile/index.native.js +1 -1
  638. package/lib/components/radio/tiles/tile/index.native.mjs +15 -15
  639. package/lib/components/range/Range.js +51 -37
  640. package/lib/components/range/Range.mjs +18 -15
  641. package/lib/components/range/Range.native.js +1 -1
  642. package/lib/components/range/Range.native.mjs +14 -14
  643. package/lib/components/range/index.js +51 -37
  644. package/lib/components/range/index.mjs +18 -15
  645. package/lib/components/range/index.native.js +1 -1
  646. package/lib/components/range/index.native.mjs +14 -14
  647. package/lib/components/rows/Rows.js +31 -4
  648. package/lib/components/rows/Rows.mjs +8 -4
  649. package/lib/components/rows/index.js +34 -7
  650. package/lib/components/rows/index.mjs +10 -6
  651. package/lib/components/rows/row/Row.js +31 -4
  652. package/lib/components/rows/row/Row.mjs +8 -4
  653. package/lib/components/rows/row/index.js +31 -4
  654. package/lib/components/rows/row/index.mjs +9 -5
  655. package/lib/components/scroll-view/ScrollView.js +36 -22
  656. package/lib/components/scroll-view/ScrollView.mjs +18 -15
  657. package/lib/components/scroll-view/ScrollView.native.js +1 -1
  658. package/lib/components/scroll-view/ScrollView.native.mjs +12 -12
  659. package/lib/components/scroll-view/index.js +36 -22
  660. package/lib/components/scroll-view/index.mjs +18 -15
  661. package/lib/components/scroll-view/index.native.js +1 -1
  662. package/lib/components/scroll-view/index.native.mjs +12 -12
  663. package/lib/components/section/Section.js +36 -22
  664. package/lib/components/section/Section.mjs +18 -15
  665. package/lib/components/section/Section.native.js +1 -1
  666. package/lib/components/section/Section.native.mjs +12 -12
  667. package/lib/components/section/index.js +36 -22
  668. package/lib/components/section/index.mjs +18 -15
  669. package/lib/components/section/index.native.js +1 -1
  670. package/lib/components/section/index.native.mjs +12 -12
  671. package/lib/components/segment-control/SegmentControl.js +45 -31
  672. package/lib/components/segment-control/SegmentControl.mjs +20 -17
  673. package/lib/components/segment-control/SegmentControl.native.js +33 -14
  674. package/lib/components/segment-control/SegmentControl.native.mjs +22 -19
  675. package/lib/components/segment-control/index.js +45 -31
  676. package/lib/components/segment-control/index.mjs +20 -17
  677. package/lib/components/segment-control/index.native.js +39 -20
  678. package/lib/components/segment-control/index.native.mjs +22 -19
  679. package/lib/components/segment-control/item/SegmentControlItem.js +33 -6
  680. package/lib/components/segment-control/item/SegmentControlItem.mjs +8 -4
  681. package/lib/components/segment-control/item/index.js +33 -6
  682. package/lib/components/segment-control/item/index.mjs +9 -5
  683. package/lib/components/select/Select.js +131 -117
  684. package/lib/components/select/Select.mjs +24 -21
  685. package/lib/components/select/Select.native.js +1 -1
  686. package/lib/components/select/Select.native.mjs +21 -21
  687. package/lib/components/select/index.js +131 -117
  688. package/lib/components/select/index.mjs +24 -21
  689. package/lib/components/select/index.native.js +1 -1
  690. package/lib/components/select/index.native.mjs +21 -21
  691. package/lib/components/select/option/SelectOption.js +40 -26
  692. package/lib/components/select/option/SelectOption.mjs +9 -6
  693. package/lib/components/select/option/SelectOption.native.js +1 -1
  694. package/lib/components/select/option/SelectOption.native.mjs +14 -14
  695. package/lib/components/select/option/index.js +40 -26
  696. package/lib/components/select/option/index.mjs +10 -7
  697. package/lib/components/select/option/index.native.js +1 -1
  698. package/lib/components/select/option/index.native.mjs +15 -15
  699. package/lib/components/select/web/SelectDynamic.js +105 -91
  700. package/lib/components/select/web/SelectDynamic.mjs +21 -18
  701. package/lib/components/select/web/SelectNative.js +133 -119
  702. package/lib/components/select/web/SelectNative.mjs +24 -21
  703. package/lib/components/select/web/index.js +133 -119
  704. package/lib/components/select/web/index.mjs +24 -21
  705. package/lib/components/skeleton/Skeleton.d.mts +13 -0
  706. package/lib/components/skeleton/Skeleton.d.ts +13 -0
  707. package/lib/components/skeleton/Skeleton.native.d.mts +12 -0
  708. package/lib/components/skeleton/Skeleton.native.d.ts +12 -0
  709. package/lib/components/spacer/Spacer.js +31 -4
  710. package/lib/components/spacer/Spacer.mjs +7 -3
  711. package/lib/components/spacer/index.js +31 -4
  712. package/lib/components/spacer/index.mjs +7 -3
  713. package/lib/components/stepper/Stepper.js +37 -10
  714. package/lib/components/stepper/Stepper.mjs +9 -5
  715. package/lib/components/stepper/Stepper.native.js +1 -1
  716. package/lib/components/stepper/Stepper.native.mjs +14 -14
  717. package/lib/components/stepper/index.js +44 -30
  718. package/lib/components/stepper/index.mjs +12 -9
  719. package/lib/components/stepper/index.native.js +1 -1
  720. package/lib/components/stepper/index.native.mjs +14 -14
  721. package/lib/components/stepper/step/Step.js +35 -21
  722. package/lib/components/stepper/step/Step.mjs +9 -6
  723. package/lib/components/stepper/step/Step.native.js +1 -1
  724. package/lib/components/stepper/step/Step.native.mjs +12 -12
  725. package/lib/components/stepper/step/index.js +35 -21
  726. package/lib/components/stepper/step/index.mjs +10 -7
  727. package/lib/components/stepper/step/index.native.js +1 -1
  728. package/lib/components/stepper/step/index.native.mjs +12 -12
  729. package/lib/components/sticker/Sticker.js +36 -22
  730. package/lib/components/sticker/Sticker.mjs +18 -15
  731. package/lib/components/sticker/Sticker.native.js +1 -1
  732. package/lib/components/sticker/Sticker.native.mjs +14 -14
  733. package/lib/components/sticker/index.js +36 -22
  734. package/lib/components/sticker/index.mjs +18 -15
  735. package/lib/components/sticker/index.native.js +1 -1
  736. package/lib/components/sticker/index.native.mjs +14 -14
  737. package/lib/components/switch/Switch.js +42 -28
  738. package/lib/components/switch/Switch.mjs +18 -15
  739. package/lib/components/switch/Switch.native.js +1 -1
  740. package/lib/components/switch/Switch.native.mjs +12 -12
  741. package/lib/components/switch/index.js +42 -28
  742. package/lib/components/switch/index.mjs +18 -15
  743. package/lib/components/switch/index.native.js +1 -1
  744. package/lib/components/switch/index.native.mjs +12 -12
  745. package/lib/components/table/Table.js +31 -4
  746. package/lib/components/table/Table.mjs +7 -3
  747. package/lib/components/table/Table.native.js +1 -1
  748. package/lib/components/table/Table.native.mjs +12 -12
  749. package/lib/components/table/body/TableBody.js +32 -18
  750. package/lib/components/table/body/TableBody.mjs +7 -4
  751. package/lib/components/table/body/index.js +32 -18
  752. package/lib/components/table/body/index.mjs +8 -5
  753. package/lib/components/table/head/TableHead.js +32 -18
  754. package/lib/components/table/head/TableHead.mjs +7 -4
  755. package/lib/components/table/head/index.js +32 -18
  756. package/lib/components/table/head/index.mjs +8 -5
  757. package/lib/components/table/index.js +47 -33
  758. package/lib/components/table/index.mjs +20 -17
  759. package/lib/components/table/index.native.js +1 -1
  760. package/lib/components/table/index.native.mjs +18 -18
  761. package/lib/components/table/td/TableTd.js +31 -4
  762. package/lib/components/table/td/TableTd.mjs +7 -3
  763. package/lib/components/table/td/TableTd.native.js +1 -1
  764. package/lib/components/table/td/TableTd.native.mjs +12 -12
  765. package/lib/components/table/td/index.js +31 -4
  766. package/lib/components/table/td/index.mjs +8 -4
  767. package/lib/components/table/td/index.native.js +1 -1
  768. package/lib/components/table/td/index.native.mjs +12 -12
  769. package/lib/components/table/th/TableTh.js +31 -4
  770. package/lib/components/table/th/TableTh.mjs +7 -3
  771. package/lib/components/table/th/TableTh.native.js +1 -1
  772. package/lib/components/table/th/TableTh.native.mjs +14 -14
  773. package/lib/components/table/th/index.js +31 -4
  774. package/lib/components/table/th/index.mjs +8 -4
  775. package/lib/components/table/th/index.native.js +1 -1
  776. package/lib/components/table/th/index.native.mjs +14 -14
  777. package/lib/components/table/tr/TableTr.js +32 -18
  778. package/lib/components/table/tr/TableTr.mjs +7 -4
  779. package/lib/components/table/tr/TableTr.native.js +1 -1
  780. package/lib/components/table/tr/TableTr.native.mjs +14 -14
  781. package/lib/components/table/tr/index.js +32 -18
  782. package/lib/components/table/tr/index.mjs +8 -5
  783. package/lib/components/table/tr/index.native.js +1 -1
  784. package/lib/components/table/tr/index.native.mjs +14 -14
  785. package/lib/components/tabs/Tabs.js +35 -8
  786. package/lib/components/tabs/Tabs.mjs +7 -3
  787. package/lib/components/tabs/index.js +86 -72
  788. package/lib/components/tabs/index.mjs +15 -12
  789. package/lib/components/tabs/index.native.js +2 -6
  790. package/lib/components/tabs/index.native.mjs +19 -19
  791. package/lib/components/tabs/tab-list/TabList.js +72 -58
  792. package/lib/components/tabs/tab-list/TabList.mjs +11 -8
  793. package/lib/components/tabs/tab-list/TabList.native.js +2 -6
  794. package/lib/components/tabs/tab-list/TabList.native.mjs +15 -15
  795. package/lib/components/tabs/tab-list/index.js +72 -58
  796. package/lib/components/tabs/tab-list/index.mjs +11 -8
  797. package/lib/components/tabs/tab-list/index.native.js +2 -6
  798. package/lib/components/tabs/tab-list/index.native.mjs +15 -15
  799. package/lib/components/tabs/tab-list/tab/Tab.js +46 -32
  800. package/lib/components/tabs/tab-list/tab/Tab.mjs +10 -7
  801. package/lib/components/tabs/tab-list/tab/Tab.native.js +2 -6
  802. package/lib/components/tabs/tab-list/tab/Tab.native.mjs +4 -4
  803. package/lib/components/tabs/tab-list/tab/index.js +46 -32
  804. package/lib/components/tabs/tab-list/tab/index.mjs +10 -7
  805. package/lib/components/tabs/tab-list/tab/index.native.js +2 -6
  806. package/lib/components/tabs/tab-list/tab/index.native.mjs +4 -4
  807. package/lib/components/tabs/tab-panels/TabPanels.js +37 -10
  808. package/lib/components/tabs/tab-panels/TabPanels.mjs +9 -5
  809. package/lib/components/tabs/tab-panels/TabPanels.native.js +1 -1
  810. package/lib/components/tabs/tab-panels/TabPanels.native.mjs +12 -12
  811. package/lib/components/tabs/tab-panels/index.js +37 -10
  812. package/lib/components/tabs/tab-panels/index.mjs +9 -5
  813. package/lib/components/tabs/tab-panels/index.native.js +1 -1
  814. package/lib/components/tabs/tab-panels/index.native.mjs +12 -12
  815. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +32 -5
  816. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +7 -3
  817. package/lib/components/tabs/tab-panels/tab-panel/index.js +32 -5
  818. package/lib/components/tabs/tab-panels/tab-panel/index.mjs +8 -4
  819. package/lib/components/tag/Tag.js +35 -21
  820. package/lib/components/tag/Tag.mjs +9 -6
  821. package/lib/components/tag/Tag.native.js +1 -1
  822. package/lib/components/tag/Tag.native.mjs +3 -3
  823. package/lib/components/tag/index.js +39 -25
  824. package/lib/components/tag/index.mjs +20 -17
  825. package/lib/components/tag/index.native.js +1 -1
  826. package/lib/components/tag/index.native.mjs +3 -3
  827. package/lib/components/tag/list/TagList.js +36 -22
  828. package/lib/components/tag/list/TagList.mjs +18 -15
  829. package/lib/components/tag/list/index.js +36 -22
  830. package/lib/components/tag/list/index.mjs +19 -16
  831. package/lib/components/text/Text.js +31 -4
  832. package/lib/components/text/Text.mjs +7 -3
  833. package/lib/components/text/Text.native.js +1 -1
  834. package/lib/components/text/Text.native.mjs +2 -2
  835. package/lib/components/text/index.js +31 -4
  836. package/lib/components/text/index.mjs +7 -3
  837. package/lib/components/text/index.native.js +1 -1
  838. package/lib/components/text/index.native.mjs +2 -2
  839. package/lib/components/textarea/Textarea.js +42 -28
  840. package/lib/components/textarea/Textarea.mjs +19 -16
  841. package/lib/components/textarea/Textarea.native.js +1 -1
  842. package/lib/components/textarea/Textarea.native.mjs +14 -14
  843. package/lib/components/textarea/index.js +42 -28
  844. package/lib/components/textarea/index.mjs +19 -16
  845. package/lib/components/textarea/index.native.js +1 -1
  846. package/lib/components/textarea/index.native.mjs +14 -14
  847. package/lib/components/timeline/Timeline.js +31 -4
  848. package/lib/components/timeline/Timeline.mjs +8 -4
  849. package/lib/components/timeline/content/TimelineContent.js +46 -32
  850. package/lib/components/timeline/content/TimelineContent.mjs +11 -8
  851. package/lib/components/timeline/content/TimelineContent.native.js +1 -1
  852. package/lib/components/timeline/content/TimelineContent.native.mjs +18 -18
  853. package/lib/components/timeline/content/index.js +46 -32
  854. package/lib/components/timeline/content/index.mjs +12 -9
  855. package/lib/components/timeline/content/index.native.js +1 -1
  856. package/lib/components/timeline/content/index.native.mjs +18 -18
  857. package/lib/components/timeline/index.js +55 -41
  858. package/lib/components/timeline/index.mjs +18 -15
  859. package/lib/components/timeline/index.native.js +1 -1
  860. package/lib/components/timeline/index.native.mjs +20 -20
  861. package/lib/components/timeline/item/TimelineItem.js +31 -4
  862. package/lib/components/timeline/item/TimelineItem.mjs +8 -4
  863. package/lib/components/timeline/item/index.js +31 -4
  864. package/lib/components/timeline/item/index.mjs +9 -5
  865. package/lib/components/timeline/marker/TimelineMarker.js +35 -21
  866. package/lib/components/timeline/marker/TimelineMarker.mjs +9 -6
  867. package/lib/components/timeline/marker/TimelineMarker.native.js +1 -1
  868. package/lib/components/timeline/marker/TimelineMarker.native.mjs +13 -13
  869. package/lib/components/timeline/marker/index.js +35 -21
  870. package/lib/components/timeline/marker/index.mjs +10 -7
  871. package/lib/components/timeline/marker/index.native.js +1 -1
  872. package/lib/components/timeline/marker/index.native.mjs +14 -14
  873. package/lib/components/title/Title.js +31 -4
  874. package/lib/components/title/Title.mjs +7 -3
  875. package/lib/components/title/Title.native.js +1 -1
  876. package/lib/components/title/Title.native.mjs +13 -13
  877. package/lib/components/title/index.js +31 -4
  878. package/lib/components/title/index.mjs +7 -3
  879. package/lib/components/title/index.native.js +1 -1
  880. package/lib/components/title/index.native.mjs +13 -13
  881. package/lib/components/view/View.js +36 -22
  882. package/lib/components/view/View.mjs +18 -15
  883. package/lib/components/view/View.native.js +1 -1
  884. package/lib/components/view/View.native.mjs +12 -12
  885. package/lib/components/view/index.js +36 -22
  886. package/lib/components/view/index.mjs +18 -15
  887. package/lib/components/view/index.native.js +1 -1
  888. package/lib/components/view/index.native.mjs +12 -12
  889. package/lib/context/context/index.d.mts +10 -0
  890. package/lib/context/context/index.d.ts +10 -0
  891. package/lib/context/context/index.js +54 -0
  892. package/lib/context/context/index.mjs +10 -0
  893. package/lib/context/context/index.native.d.mts +2 -0
  894. package/lib/context/context/index.native.d.ts +2 -0
  895. package/lib/context/context/index.native.js +38 -0
  896. package/lib/context/context/index.native.mjs +10 -0
  897. package/lib/context/index.d.mts +5 -10
  898. package/lib/context/index.d.ts +5 -10
  899. package/lib/context/index.js +144 -1
  900. package/lib/context/index.mjs +20 -1
  901. package/lib/context/index.native.d.mts +5 -2
  902. package/lib/context/index.native.d.ts +5 -2
  903. package/lib/context/index.native.js +90 -1
  904. package/lib/context/index.native.mjs +25 -1
  905. package/lib/context/provider/index.js +31 -7
  906. package/lib/context/provider/index.mjs +5 -4
  907. package/lib/context/provider/index.native.mjs +3 -5
  908. package/lib/context/providerStates/index.js +1 -1
  909. package/lib/context/providerStates/index.mjs +1 -1
  910. package/lib/context/providerStyled/index.js +38 -14
  911. package/lib/context/providerStyled/index.mjs +6 -31
  912. package/lib/context/providerStyled/index.native.mjs +3 -5
  913. package/lib/context/test/provider.test.js +37 -13
  914. package/lib/context/test/provider.test.mjs +5 -4
  915. package/lib/helpers/hashClassesHelpers/index.js +28 -1
  916. package/lib/helpers/hashClassesHelpers/index.mjs +6 -2
  917. package/lib/helpers/index.js +28 -1
  918. package/lib/helpers/index.mjs +9 -5
  919. package/lib/helpers/index.native.js +28 -1
  920. package/lib/helpers/index.native.mjs +9 -5
  921. package/lib/index.js +792 -706
  922. package/lib/index.mjs +183 -171
  923. package/lib/index.native.d.mts +1 -2
  924. package/lib/index.native.d.ts +1 -2
  925. package/lib/index.native.js +640 -680
  926. package/lib/index.native.mjs +110 -114
  927. package/lib/objects/facets/Status/index.js +33 -19
  928. package/lib/objects/facets/Status/index.mjs +8 -5
  929. package/lib/objects/facets/Status/index.native.js +1 -1
  930. package/lib/objects/facets/Status/index.native.mjs +2 -2
  931. package/lib/objects/facets/index.js +18 -4
  932. package/lib/objects/facets/index.mjs +18 -15
  933. package/lib/objects/facets/index.native.js +1 -1
  934. package/lib/objects/facets/index.native.mjs +12 -12
  935. package/lib/objects/index.js +20 -6
  936. package/lib/objects/index.mjs +22 -19
  937. package/lib/objects/index.native.js +1 -1
  938. package/lib/objects/index.native.mjs +19 -19
  939. package/lib/version.d.mts +1 -1
  940. package/lib/version.d.ts +1 -1
  941. package/lib/version.js +1 -1
  942. package/lib/version.mjs +1 -1
  943. package/package.json +6 -1
  944. package/lib/chunk-2BQXWN3R.mjs +0 -44
  945. package/lib/chunk-KYCWE6NL.mjs +0 -10
  946. package/lib/{chunk-MCQZ43VV.mjs → chunk-M2TC4BZG.mjs} +3 -3
@@ -35,7 +35,7 @@ __export(DatePicker_exports, {
35
35
  });
36
36
  module.exports = __toCommonJS(DatePicker_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();
@@ -94,23 +121,10 @@ var has = classify("has");
94
121
  // components/calendar/Calendar.tsx
95
122
  var import_locales2 = require("@trilogy-ds/locales");
96
123
  var import_clsx8 = __toESM(require("clsx"));
97
- var import_react9 = __toESM(require("react"));
98
-
99
- // context/providerTheme/index.tsx
100
- var import_react = __toESM(require("react"));
101
- var defaultTheme = {
102
- icons: {},
103
- colors: {},
104
- fontFamily: {}
105
- };
106
- var defaultContextValue = {
107
- theme: defaultTheme,
108
- setTheme: () => void 0
109
- };
110
- var TrilogyThemeContext = import_react.default.createContext(defaultContextValue);
124
+ var import_react11 = __toESM(require("react"));
111
125
 
112
126
  // objects/facets/Color/index.tsx
113
- var import_react2 = require("react");
127
+ var import_react4 = require("react");
114
128
  var colors = {
115
129
  ["WHITE" /* BACKGROUND */]: ["#fff", "white", "main"],
116
130
  ["MAIN" /* MAIN */]: ["#3d5d7e", "main", "white"],
@@ -163,7 +177,7 @@ var getButtonVariantClassName = (trilogyColor) => {
163
177
  };
164
178
  var getColorStyle = (trilogyColor) => {
165
179
  if (typeof navigator !== "undefined" && navigator.userAgent === void 0) {
166
- const { theme } = (0, import_react2.useContext)(TrilogyThemeContext);
180
+ const { theme } = (0, import_react4.useContext)(TrilogyThemeContext);
167
181
  const colorsStyle = (theme == null ? void 0 : theme.colors) || colors;
168
182
  const colorArray = colorsStyle[trilogyColor] || colorsStyle.default;
169
183
  if (trilogyColor === "transparent") return "transparent";
@@ -210,8 +224,8 @@ var getJustifySelfClassName = (justifyContent) => {
210
224
 
211
225
  // components/icon/Icon.tsx
212
226
  var import_clsx = __toESM(require("clsx"));
213
- var React3 = __toESM(require("react"));
214
- var Icon = React3.forwardRef(
227
+ var React5 = __toESM(require("react"));
228
+ var Icon = React5.forwardRef(
215
229
  ({ className, id, size, name, circled, stretched, color, backgroundColor, onClick, skeleton, align, ...others }, ref) => {
216
230
  const { styled } = useTrilogyContext();
217
231
  const background = backgroundColor && has(getBackgroundClassName(backgroundColor)) || circled && has(getBackgroundClassName("MAIN" /* MAIN */)) || "";
@@ -230,18 +244,18 @@ var Icon = React3.forwardRef(
230
244
  className
231
245
  )
232
246
  );
233
- return /* @__PURE__ */ React3.createElement("span", { id, onClick: onClick && onClick, className: classes, ...others, ref }, /* @__PURE__ */ React3.createElement("i", { className: hashClass(styled, (0, import_clsx.default)(name)), "aria-hidden": "true" }));
247
+ 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" }));
234
248
  }
235
249
  );
236
250
  Icon.displayName = "Icon" /* Icon */;
237
251
  var Icon_default = Icon;
238
252
 
239
253
  // components/select/Select.tsx
240
- var React11 = __toESM(require("react"));
254
+ var React13 = __toESM(require("react"));
241
255
 
242
256
  // components/select/context/index.tsx
243
- var import_react3 = __toESM(require("react"));
244
- var SelectContext = import_react3.default.createContext({
257
+ var import_react5 = __toESM(require("react"));
258
+ var SelectContext = import_react5.default.createContext({
245
259
  selectedOptionValues: [],
246
260
  multiple: false,
247
261
  custom: false,
@@ -252,16 +266,16 @@ var SelectContext = import_react3.default.createContext({
252
266
 
253
267
  // components/select/web/SelectDynamic.tsx
254
268
  var import_clsx5 = __toESM(require("clsx"));
255
- var import_react8 = __toESM(require("react"));
269
+ var import_react10 = __toESM(require("react"));
256
270
  var import_react_dom = __toESM(require("react-dom"));
257
271
 
258
272
  // components/input/Input.tsx
259
273
  var import_locales = require("@trilogy-ds/locales");
260
274
  var import_clsx4 = __toESM(require("clsx"));
261
- var import_react7 = __toESM(require("react"));
275
+ var import_react9 = __toESM(require("react"));
262
276
 
263
277
  // components/text/Text.tsx
264
- var React5 = __toESM(require("react"));
278
+ var React7 = __toESM(require("react"));
265
279
  var import_clsx2 = __toESM(require("clsx"));
266
280
 
267
281
  // components/text/TextEnum.ts
@@ -272,7 +286,7 @@ var TextMarkup = /* @__PURE__ */ ((TextMarkup2) => {
272
286
  })(TextMarkup || {});
273
287
 
274
288
  // components/text/Text.tsx
275
- var Text = React5.forwardRef(({
289
+ var Text = React7.forwardRef(({
276
290
  level,
277
291
  markup,
278
292
  children,
@@ -320,7 +334,7 @@ var Text = React5.forwardRef(({
320
334
  if (stringMarkup in TextMarkup || Object.values(TextMarkup).includes(stringMarkup)) return true;
321
335
  };
322
336
  const Tag = markup && isCorrectMarkup2(markup) ? markup : "p";
323
- return /* @__PURE__ */ React5.createElement(
337
+ return /* @__PURE__ */ React7.createElement(
324
338
  Tag,
325
339
  {
326
340
  ref,
@@ -346,28 +360,28 @@ var STATUS_COLORS = {
346
360
  };
347
361
 
348
362
  // objects/Typography/TypographyBold/index.tsx
349
- var import_react4 = require("react");
363
+ var import_react6 = require("react");
350
364
 
351
365
  // components/input/gauge/InputGauge.tsx
352
366
  var import_clsx3 = __toESM(require("clsx"));
353
- var import_react6 = __toESM(require("react"));
367
+ var import_react8 = __toESM(require("react"));
354
368
 
355
369
  // components/input/gauge/hook/useGauge.tsx
356
- var import_react5 = __toESM(require("react"));
370
+ var import_react7 = __toESM(require("react"));
357
371
  var useGauge = ({ validationRules, inputValue, securityRules }) => {
358
372
  var _a, _b;
359
- const [points, setPoints] = import_react5.default.useState(0);
373
+ const [points, setPoints] = import_react7.default.useState(0);
360
374
  const initStateVerifies = { isVerify: false, color: "NEUTRAL" /* NEUTRAL */ };
361
- const [isLengthVerify, setIsLengthVerify] = import_react5.default.useState(initStateVerifies);
362
- const [isSpecialCharsVerify, setIsSpecialCharsVerify] = import_react5.default.useState(initStateVerifies);
363
- const [isNumberVerify, setIsNumberVerify] = import_react5.default.useState(initStateVerifies);
364
- const [isUppercaseVerify, setIsUppercaseVerify] = import_react5.default.useState(initStateVerifies);
365
- const [isLowerercaseVerify, setisLowerercaseVerify] = import_react5.default.useState(initStateVerifies);
366
- const nbAllVerifies = import_react5.default.useMemo(
375
+ const [isLengthVerify, setIsLengthVerify] = import_react7.default.useState(initStateVerifies);
376
+ const [isSpecialCharsVerify, setIsSpecialCharsVerify] = import_react7.default.useState(initStateVerifies);
377
+ const [isNumberVerify, setIsNumberVerify] = import_react7.default.useState(initStateVerifies);
378
+ const [isUppercaseVerify, setIsUppercaseVerify] = import_react7.default.useState(initStateVerifies);
379
+ const [isLowerercaseVerify, setisLowerercaseVerify] = import_react7.default.useState(initStateVerifies);
380
+ const nbAllVerifies = import_react7.default.useMemo(
367
381
  () => validationRules && Object.values(validationRules).filter((rule) => rule).length || securityRules && securityRules.length || 0,
368
382
  [validationRules, securityRules]
369
383
  );
370
- const rules = import_react5.default.useMemo(
384
+ const rules = import_react7.default.useMemo(
371
385
  () => securityRules && securityRules.map(({ label, patternValidator, dataAttribute }) => ({
372
386
  label,
373
387
  validate: !!(patternValidator == null ? void 0 : patternValidator.test(inputValue)),
@@ -375,7 +389,7 @@ var useGauge = ({ validationRules, inputValue, securityRules }) => {
375
389
  })),
376
390
  [inputValue, securityRules]
377
391
  );
378
- const calcPoints = import_react5.default.useMemo(() => {
392
+ const calcPoints = import_react7.default.useMemo(() => {
379
393
  if (validationRules) {
380
394
  return Number((points / nbAllVerifies * 100).toFixed(0));
381
395
  }
@@ -385,7 +399,7 @@ var useGauge = ({ validationRules, inputValue, securityRules }) => {
385
399
  }
386
400
  return 0;
387
401
  }, [points, nbAllVerifies, rules, validationRules, securityRules]);
388
- const widthGauge = import_react5.default.useMemo(() => {
402
+ const widthGauge = import_react7.default.useMemo(() => {
389
403
  if (calcPoints <= 50 && calcPoints > 0) return "50%";
390
404
  if (calcPoints <= 99 && calcPoints > 50) return "75%";
391
405
  if (calcPoints === 100) return "100%";
@@ -397,7 +411,7 @@ var useGauge = ({ validationRules, inputValue, securityRules }) => {
397
411
  if (calcPoints === 100) return getColorStyle("SUCCESS" /* SUCCESS */);
398
412
  return getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */);
399
413
  };
400
- const LengthvalidationRulesText = (0, import_react5.useMemo)(() => {
414
+ const LengthvalidationRulesText = (0, import_react7.useMemo)(() => {
401
415
  var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j;
402
416
  switch (true) {
403
417
  case (((_a2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a2.min) !== void 0 && ((_b2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b2.max) !== void 0):
@@ -410,7 +424,7 @@ var useGauge = ({ validationRules, inputValue, securityRules }) => {
410
424
  return "";
411
425
  }
412
426
  }, [(_a = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a.min, (_b = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b.max]);
413
- (0, import_react5.useEffect)(() => {
427
+ (0, import_react7.useEffect)(() => {
414
428
  var _a2, _b2;
415
429
  const min = ((_a2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a2.min) || 0;
416
430
  const max = ((_b2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b2.max) || "";
@@ -442,7 +456,7 @@ var useGauge = ({ validationRules, inputValue, securityRules }) => {
442
456
 
443
457
  // components/input/gauge/InputGauge.tsx
444
458
  var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
445
- const id = (0, import_react6.useId)();
459
+ const id = (0, import_react8.useId)();
446
460
  const {
447
461
  widthGauge,
448
462
  colorGauge,
@@ -454,14 +468,14 @@ var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
454
468
  isUppercaseVerify,
455
469
  rules
456
470
  } = useGauge({ validationRules, inputValue, securityRules });
457
- return /* @__PURE__ */ import_react6.default.createElement("div", { "data-testid": "security-gauge", className: hashClass(styled, (0, import_clsx3.default)("security-gauge-container")) }, /* @__PURE__ */ import_react6.default.createElement("div", { className: hashClass(styled, (0, import_clsx3.default)("security-gauge")) }, /* @__PURE__ */ import_react6.default.createElement(
471
+ return /* @__PURE__ */ import_react8.default.createElement("div", { "data-testid": "security-gauge", className: hashClass(styled, (0, import_clsx3.default)("security-gauge-container")) }, /* @__PURE__ */ import_react8.default.createElement("div", { className: hashClass(styled, (0, import_clsx3.default)("security-gauge")) }, /* @__PURE__ */ import_react8.default.createElement(
458
472
  "div",
459
473
  {
460
474
  "data-gauge": true,
461
475
  style: { width: widthGauge, backgroundColor: colorGauge() },
462
476
  className: hashClass(styled, (0, import_clsx3.default)("gauge"))
463
477
  }
464
- )), /* @__PURE__ */ import_react6.default.createElement("div", { className: hashClass(styled, (0, import_clsx3.default)("security-gauge-verifies")) }, validationRules && /* @__PURE__ */ import_react6.default.createElement(import_react6.default.Fragment, null, /* @__PURE__ */ import_react6.default.createElement(
478
+ )), /* @__PURE__ */ import_react8.default.createElement("div", { className: hashClass(styled, (0, import_clsx3.default)("security-gauge-verifies")) }, validationRules && /* @__PURE__ */ import_react8.default.createElement(import_react8.default.Fragment, null, /* @__PURE__ */ import_react8.default.createElement(
465
479
  DataVerify,
466
480
  {
467
481
  display: !!(validationRules == null ? void 0 : validationRules.length),
@@ -472,7 +486,7 @@ var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
472
486
  iconName: isLengthVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
473
487
  styled
474
488
  }
475
- ), /* @__PURE__ */ import_react6.default.createElement(
489
+ ), /* @__PURE__ */ import_react8.default.createElement(
476
490
  DataVerify,
477
491
  {
478
492
  display: !!(validationRules == null ? void 0 : validationRules.uppercase),
@@ -483,7 +497,7 @@ var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
483
497
  iconName: isUppercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
484
498
  styled
485
499
  }
486
- ), /* @__PURE__ */ import_react6.default.createElement(
500
+ ), /* @__PURE__ */ import_react8.default.createElement(
487
501
  DataVerify,
488
502
  {
489
503
  display: !!(validationRules == null ? void 0 : validationRules.specialChars),
@@ -494,7 +508,7 @@ var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
494
508
  iconName: isSpecialCharsVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
495
509
  styled
496
510
  }
497
- ), /* @__PURE__ */ import_react6.default.createElement(
511
+ ), /* @__PURE__ */ import_react8.default.createElement(
498
512
  DataVerify,
499
513
  {
500
514
  display: !!(validationRules == null ? void 0 : validationRules.lowercase),
@@ -505,7 +519,7 @@ var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
505
519
  iconName: isLowerercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
506
520
  styled
507
521
  }
508
- ), /* @__PURE__ */ import_react6.default.createElement(
522
+ ), /* @__PURE__ */ import_react8.default.createElement(
509
523
  DataVerify,
510
524
  {
511
525
  display: !!(validationRules == null ? void 0 : validationRules.number),
@@ -516,7 +530,7 @@ var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
516
530
  iconName: isNumberVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
517
531
  styled
518
532
  }
519
- )), securityRules && rules && rules.map((rule) => /* @__PURE__ */ import_react6.default.createElement(
533
+ )), securityRules && rules && rules.map((rule) => /* @__PURE__ */ import_react8.default.createElement(
520
534
  DataVerify,
521
535
  {
522
536
  key: `${id}_${rule.label}`,
@@ -539,18 +553,18 @@ var DataVerify = ({
539
553
  styled
540
554
  }) => {
541
555
  if (!display) return null;
542
- return /* @__PURE__ */ import_react6.default.createElement("div", { ...dataAttribute, className: hashClass(styled, (0, import_clsx3.default)("security", classes)) }, /* @__PURE__ */ import_react6.default.createElement(Icon_default, { color, name: iconName, size: "smaller" /* SMALLER */ }), /* @__PURE__ */ import_react6.default.createElement("span", null, type));
556
+ return /* @__PURE__ */ import_react8.default.createElement("div", { ...dataAttribute, className: hashClass(styled, (0, import_clsx3.default)("security", classes)) }, /* @__PURE__ */ import_react8.default.createElement(Icon_default, { color, name: iconName, size: "smaller" /* SMALLER */ }), /* @__PURE__ */ import_react8.default.createElement("span", null, type));
543
557
  };
544
558
  var InputGauge_default = InputGauge;
545
559
 
546
560
  // components/input/Input.tsx
547
- var Input = import_react7.default.forwardRef(
561
+ var Input = import_react9.default.forwardRef(
548
562
  ({
549
563
  forceControl,
550
564
  label,
551
565
  sample,
552
566
  className,
553
- id = import_react7.default.useId(),
567
+ id = import_react9.default.useId(),
554
568
  disabled,
555
569
  onChange,
556
570
  onKeyPress,
@@ -589,19 +603,19 @@ var Input = import_react7.default.forwardRef(
589
603
  ...others
590
604
  }, ref) => {
591
605
  const { styled } = useTrilogyContext();
592
- const idHelp = (0, import_react7.useId)();
593
- const idSample = (0, import_react7.useId)();
606
+ const idHelp = (0, import_react9.useId)();
607
+ const idSample = (0, import_react9.useId)();
594
608
  const inputIcon = /* @__PURE__ */ new Map();
595
609
  inputIcon.set("success" /* SUCCESS */, "tri-check-circle" /* CHECK_CIRCLE */);
596
610
  inputIcon.set("warning" /* WARNING */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
597
611
  inputIcon.set("error" /* ERROR */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
598
- const [_value, setValue] = (0, import_react7.useState)(defaultValue != null ? defaultValue : "");
599
- const [isFocused, setIsFocused] = (0, import_react7.useState)(focused != null ? focused : false);
600
- const [isDirty, setIsDirty] = (0, import_react7.useState)(false);
601
- const [isTouched, setIsTouched] = (0, import_react7.useState)(false);
602
- const [localStatus, setLocalStatus] = (0, import_react7.useState)(status || "default" /* DEFAULT */);
603
- const [inputType, setInputType] = (0, import_react7.useState)(type);
604
- const [isShowPwd, setIsShowPwd] = (0, import_react7.useState)(false);
612
+ const [_value, setValue] = (0, import_react9.useState)(defaultValue != null ? defaultValue : "");
613
+ const [isFocused, setIsFocused] = (0, import_react9.useState)(focused != null ? focused : false);
614
+ const [isDirty, setIsDirty] = (0, import_react9.useState)(false);
615
+ const [isTouched, setIsTouched] = (0, import_react9.useState)(false);
616
+ const [localStatus, setLocalStatus] = (0, import_react9.useState)(status || "default" /* DEFAULT */);
617
+ const [inputType, setInputType] = (0, import_react9.useState)(type);
618
+ const [isShowPwd, setIsShowPwd] = (0, import_react9.useState)(false);
605
619
  const helpClasses = (0, import_clsx4.default)("help", localStatus && is(localStatus));
606
620
  const loader = hashClass(styled, (0, import_clsx4.default)(is("searching")));
607
621
  const inputLabelClasses = hashClass(styled, "input-label");
@@ -620,7 +634,7 @@ var Input = import_react7.default.forwardRef(
620
634
  [has("icons-left")]: iconNameLeft || type === "search" /* SEARCH */
621
635
  })
622
636
  );
623
- const onPressKey = (0, import_react7.useCallback)((e) => {
637
+ const onPressKey = (0, import_react9.useCallback)((e) => {
624
638
  const target = e.target;
625
639
  return {
626
640
  inputName: target.name,
@@ -631,10 +645,10 @@ var Input = import_react7.default.forwardRef(
631
645
  preventDefault: () => e.preventDefault()
632
646
  };
633
647
  }, []);
634
- const IconWrapper = (0, import_react7.useCallback)(
648
+ const IconWrapper = (0, import_react9.useCallback)(
635
649
  ({ className: className2, name: name2, color, closeIconSearch, onPress, srOnly, showPassword }) => {
636
650
  const Markup = showPassword ? "button" : "div";
637
- return /* @__PURE__ */ import_react7.default.createElement(
651
+ return /* @__PURE__ */ import_react9.default.createElement(
638
652
  Markup,
639
653
  {
640
654
  ...showPassword && { "data-show-pwd": true, type: "button" },
@@ -645,8 +659,8 @@ var Input = import_react7.default.forwardRef(
645
659
  }
646
660
  }
647
661
  },
648
- /* @__PURE__ */ import_react7.default.createElement(Icon_default, { className: className2, name: name2, size: "small" /* SMALL */, color }),
649
- _value && _value.length > 0 && closeIconSearch && /* @__PURE__ */ import_react7.default.createElement(
662
+ /* @__PURE__ */ import_react9.default.createElement(Icon_default, { className: className2, name: name2, size: "small" /* SMALL */, color }),
663
+ _value && _value.length > 0 && closeIconSearch && /* @__PURE__ */ import_react9.default.createElement(
650
664
  Icon_default,
651
665
  {
652
666
  onClick: () => setValue(""),
@@ -655,34 +669,34 @@ var Input = import_react7.default.forwardRef(
655
669
  size: "small" /* SMALL */
656
670
  }
657
671
  ),
658
- showPassword && srOnly && /* @__PURE__ */ import_react7.default.createElement("span", { className: srOnlyClasses }, srOnly)
672
+ showPassword && srOnly && /* @__PURE__ */ import_react9.default.createElement("span", { className: srOnlyClasses }, srOnly)
659
673
  );
660
674
  },
661
675
  [_value, styled]
662
676
  );
663
677
  const validator = !customValidator && patternValidator ? (value2) => patternValidator.test(value2) ? "success" /* SUCCESS */ : "error" /* ERROR */ : customValidator;
664
- (0, import_react7.useEffect)(() => {
678
+ (0, import_react9.useEffect)(() => {
665
679
  var _a;
666
680
  setValue((_a = value != null ? value : defaultValue) != null ? _a : "");
667
681
  }, [value, defaultValue]);
668
- (0, import_react7.useEffect)(() => {
682
+ (0, import_react9.useEffect)(() => {
669
683
  setIsFocused(focused != null ? focused : false);
670
684
  }, [focused]);
671
- (0, import_react7.useEffect)(() => {
685
+ (0, import_react9.useEffect)(() => {
672
686
  if (isFocused) setIsDirty(true);
673
687
  else if (isDirty) setIsTouched(true);
674
688
  }, [isFocused, isDirty]);
675
- (0, import_react7.useEffect)(() => {
689
+ (0, import_react9.useEffect)(() => {
676
690
  if (!validator || !isTouched) return;
677
691
  setLocalStatus(validator(_value));
678
692
  }, [isFocused, isTouched]);
679
- (0, import_react7.useEffect)(() => {
693
+ (0, import_react9.useEffect)(() => {
680
694
  setLocalStatus(status || "default" /* DEFAULT */);
681
695
  }, [status]);
682
- (0, import_react7.useEffect)(() => {
696
+ (0, import_react9.useEffect)(() => {
683
697
  if (onStatusChange) onStatusChange(localStatus);
684
698
  }, [localStatus]);
685
- return /* @__PURE__ */ import_react7.default.createElement("div", { className: wrapperClasses, "data-has-gauge": securityGauge ? true : void 0 }, label && /* @__PURE__ */ import_react7.default.createElement("label", { className: inputLabelClasses, htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react7.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react7.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id: idSample }, sample), /* @__PURE__ */ import_react7.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react7.default.createElement(
699
+ return /* @__PURE__ */ import_react9.default.createElement("div", { className: wrapperClasses, "data-has-gauge": securityGauge ? true : void 0 }, label && /* @__PURE__ */ import_react9.default.createElement("label", { className: inputLabelClasses, htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react9.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react9.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id: idSample }, sample), /* @__PURE__ */ import_react9.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react9.default.createElement(
686
700
  "input",
687
701
  {
688
702
  "aria-describedby": `${idHelp} ${idSample}`,
@@ -747,7 +761,7 @@ var Input = import_react7.default.forwardRef(
747
761
  setIsFocused(false);
748
762
  }
749
763
  }
750
- ), hasIcon && !localStatus && !loading && iconNameLeft && /* @__PURE__ */ import_react7.default.createElement(IconWrapper, { name: iconNameLeft }), (iconNameLeft || type === "search" /* SEARCH */) && /* @__PURE__ */ import_react7.default.createElement(IconWrapper, { className: "icon-left", name: iconNameLeft || "tri-search" /* SEARCH */ }), iconNameRight && !loading && type !== "password" /* PASSWORD */ && /* @__PURE__ */ import_react7.default.createElement(IconWrapper, { className: "icon-right", name: iconNameRight }), !loading && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react7.default.createElement(
764
+ ), hasIcon && !localStatus && !loading && iconNameLeft && /* @__PURE__ */ import_react9.default.createElement(IconWrapper, { name: iconNameLeft }), (iconNameLeft || type === "search" /* SEARCH */) && /* @__PURE__ */ import_react9.default.createElement(IconWrapper, { className: "icon-left", name: iconNameLeft || "tri-search" /* SEARCH */ }), iconNameRight && !loading && type !== "password" /* PASSWORD */ && /* @__PURE__ */ import_react9.default.createElement(IconWrapper, { className: "icon-right", name: iconNameRight }), !loading && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react9.default.createElement(
751
765
  IconWrapper,
752
766
  {
753
767
  showPassword: true,
@@ -764,7 +778,7 @@ var Input = import_react7.default.forwardRef(
764
778
  }
765
779
  }
766
780
  }
767
- ), loading && /* @__PURE__ */ import_react7.default.createElement("span", { className: loader })), help && /* @__PURE__ */ import_react7.default.createElement(Text_default, { className: helpClasses, id: idHelp }, help), securityGauge && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react7.default.createElement(
781
+ ), loading && /* @__PURE__ */ import_react9.default.createElement("span", { className: loader })), help && /* @__PURE__ */ import_react9.default.createElement(Text_default, { className: helpClasses, id: idHelp }, help), securityGauge && type === "password" /* PASSWORD */ && /* @__PURE__ */ import_react9.default.createElement(
768
782
  InputGauge_default,
769
783
  {
770
784
  validationRules,
@@ -780,7 +794,7 @@ var Input_default = Input;
780
794
 
781
795
  // components/select/web/SelectDynamic.tsx
782
796
  var OPTION_SIZE = 48;
783
- var SelectDynamic = import_react8.default.forwardRef(
797
+ var SelectDynamic = import_react10.default.forwardRef(
784
798
  ({
785
799
  onChange,
786
800
  disabled,
@@ -803,11 +817,11 @@ var SelectDynamic = import_react8.default.forwardRef(
803
817
  ...others
804
818
  }, ref) => {
805
819
  const { styled } = useTrilogyContext();
806
- const { setIsVisibleOptions, isVisibleOptions, selectedOptionValues } = (0, import_react8.useContext)(SelectContext);
807
- const containerRef = (0, import_react8.useRef)(null);
808
- const [openUpward, setOpenUpward] = (0, import_react8.useState)(false);
809
- const optionsListSize = (0, import_react8.useRef)(0);
810
- const [dropdownStyles, setDropdownStyles] = (0, import_react8.useState)({});
820
+ const { setIsVisibleOptions, isVisibleOptions, selectedOptionValues } = (0, import_react10.useContext)(SelectContext);
821
+ const containerRef = (0, import_react10.useRef)(null);
822
+ const [openUpward, setOpenUpward] = (0, import_react10.useState)(false);
823
+ const optionsListSize = (0, import_react10.useRef)(0);
824
+ const [dropdownStyles, setDropdownStyles] = (0, import_react10.useState)({});
811
825
  const selectClasses = hashClass(styled, (0, import_clsx5.default)("select", className));
812
826
  const optionsClasses = hashClass(styled, (0, import_clsx5.default)("select-options", openUpward && "select-options-top"));
813
827
  const portalClasses = hashClass(styled, "select-trilogy_modal_open");
@@ -836,29 +850,29 @@ var SelectDynamic = import_react8.default.forwardRef(
836
850
  return prev;
837
851
  });
838
852
  };
839
- const options = (0, import_react8.useMemo)(() => {
853
+ const options = (0, import_react10.useMemo)(() => {
840
854
  var _a;
841
- return (_a = import_react8.default.Children.map(children, (child) => {
842
- if (!import_react8.default.isValidElement(child)) return false;
855
+ return (_a = import_react10.default.Children.map(children, (child) => {
856
+ if (!import_react10.default.isValidElement(child)) return false;
843
857
  return {
844
858
  label: child.props.children || child.props.label,
845
859
  value: child.props.value
846
860
  };
847
861
  })) == null ? void 0 : _a.filter((option) => option);
848
862
  }, []);
849
- const labelsSelected = (0, import_react8.useMemo)(() => {
863
+ const labelsSelected = (0, import_react10.useMemo)(() => {
850
864
  return selectedOptionValues.map((selectedOption) => {
851
865
  const elm = options == null ? void 0 : options.find((opt) => opt.value === selectedOption);
852
866
  return elm == null ? void 0 : elm.label;
853
867
  });
854
868
  }, [selectedOptionValues, options]);
855
- (0, import_react8.useEffect)(() => {
856
- const childrenCount = import_react8.default.Children.count(children);
869
+ (0, import_react10.useEffect)(() => {
870
+ const childrenCount = import_react10.default.Children.count(children);
857
871
  if (childrenCount > 0) {
858
872
  optionsListSize.current = childrenCount * OPTION_SIZE;
859
873
  }
860
874
  }, [children]);
861
- return /* @__PURE__ */ import_react8.default.createElement("div", { className: selectClasses, ref: containerRef, ...others }, /* @__PURE__ */ import_react8.default.createElement(
875
+ return /* @__PURE__ */ import_react10.default.createElement("div", { className: selectClasses, ref: containerRef, ...others }, /* @__PURE__ */ import_react10.default.createElement(
862
876
  Input_default,
863
877
  {
864
878
  sample,
@@ -885,7 +899,7 @@ var SelectDynamic = import_react8.default.forwardRef(
885
899
  },
886
900
  ...{ readOnly: true, id, role: "combobox" }
887
901
  }
888
- ), /* @__PURE__ */ import_react8.default.createElement(
902
+ ), /* @__PURE__ */ import_react10.default.createElement(
889
903
  "ul",
890
904
  {
891
905
  role: "listbox",
@@ -897,7 +911,7 @@ var SelectDynamic = import_react8.default.forwardRef(
897
911
  },
898
912
  children
899
913
  ), isVisibleOptions && import_react_dom.default.createPortal(
900
- /* @__PURE__ */ import_react8.default.createElement("div", { role: "presentation", className: portalClasses, onClick: onCloseOptions }),
914
+ /* @__PURE__ */ import_react10.default.createElement("div", { role: "presentation", className: portalClasses, onClick: onCloseOptions }),
901
915
  document.body
902
916
  ));
903
917
  }
@@ -907,8 +921,8 @@ var SelectDynamic_default = SelectDynamic;
907
921
 
908
922
  // components/select/web/SelectNative.tsx
909
923
  var import_clsx6 = __toESM(require("clsx"));
910
- var React10 = __toESM(require("react"));
911
- var SelectNative = React10.forwardRef(
924
+ var React12 = __toESM(require("react"));
925
+ var SelectNative = React12.forwardRef(
912
926
  ({
913
927
  onChange,
914
928
  disabled,
@@ -930,25 +944,25 @@ var SelectNative = React10.forwardRef(
930
944
  ...others
931
945
  }, ref) => {
932
946
  const { styled } = useTrilogyContext();
933
- const idHelp = React10.useId();
934
- const idSample = React10.useId();
935
- const [focused, setIsFocused] = React10.useState(false);
936
- const [selectedValues, setSelectedValues] = React10.useState(selected);
947
+ const idHelp = React12.useId();
948
+ const idSample = React12.useId();
949
+ const [focused, setIsFocused] = React12.useState(false);
950
+ const [selectedValues, setSelectedValues] = React12.useState(selected);
937
951
  const selectClasses = hashClass(styled, (0, import_clsx6.default)("select", className));
938
952
  const controlClass = hashClass(styled, (0, import_clsx6.default)("control", iconName && "has-icons-left"));
939
953
  const helpClasses = (0, import_clsx6.default)("help", status && is(status));
940
- const handleFocus = React10.useCallback((e) => {
954
+ const handleFocus = React12.useCallback((e) => {
941
955
  setIsFocused(true);
942
956
  onFocus && onFocus(e);
943
957
  }, []);
944
- const handleBlur = React10.useCallback((e) => {
958
+ const handleBlur = React12.useCallback((e) => {
945
959
  setIsFocused(false);
946
960
  onBlur && onBlur(e);
947
961
  }, []);
948
- React10.useEffect(() => {
962
+ React12.useEffect(() => {
949
963
  setSelectedValues(selected);
950
964
  }, [selected]);
951
- return /* @__PURE__ */ React10.createElement("div", { className: selectClasses }, /* @__PURE__ */ React10.createElement("div", { className: hashClass(styled, (0, import_clsx6.default)("field", focused && "focus")) }, label && /* @__PURE__ */ React10.createElement("label", { className: hashClass(styled, "input-label"), htmlFor: id }, label, " ", required && /* @__PURE__ */ React10.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ React10.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id: idSample }, sample), /* @__PURE__ */ React10.createElement("div", { className: controlClass }, /* @__PURE__ */ React10.createElement(
965
+ return /* @__PURE__ */ React12.createElement("div", { className: selectClasses }, /* @__PURE__ */ React12.createElement("div", { className: hashClass(styled, (0, import_clsx6.default)("field", focused && "focus")) }, label && /* @__PURE__ */ React12.createElement("label", { className: hashClass(styled, "input-label"), htmlFor: id }, label, " ", required && /* @__PURE__ */ React12.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ React12.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */, id: idSample }, sample), /* @__PURE__ */ React12.createElement("div", { className: controlClass }, /* @__PURE__ */ React12.createElement(
952
966
  "select",
953
967
  {
954
968
  ref,
@@ -978,30 +992,30 @@ var SelectNative = React10.forwardRef(
978
992
  role: "listbox",
979
993
  ...others
980
994
  },
981
- React10.Children.map(children, (child) => {
982
- if (!React10.isValidElement(child)) return null;
995
+ React12.Children.map(children, (child) => {
996
+ if (!React12.isValidElement(child)) return null;
983
997
  const props = {
984
998
  ...child.props,
985
999
  native: "true"
986
1000
  };
987
- return /* @__PURE__ */ React10.createElement(option_default, { ...props });
1001
+ return /* @__PURE__ */ React12.createElement(option_default, { ...props });
988
1002
  })
989
- ), iconName && /* @__PURE__ */ React10.createElement(Icon_default, { name: iconName, size: "small" })), help && /* @__PURE__ */ React10.createElement(Text_default, { className: helpClasses, id: idHelp }, help)));
1003
+ ), iconName && /* @__PURE__ */ React12.createElement(Icon_default, { name: iconName, size: "small" })), help && /* @__PURE__ */ React12.createElement(Text_default, { className: helpClasses, id: idHelp }, help)));
990
1004
  }
991
1005
  );
992
1006
  SelectNative.displayName = "Select" /* Select */;
993
1007
  var SelectNative_default = SelectNative;
994
1008
 
995
1009
  // components/select/Select.tsx
996
- var Select = React11.forwardRef(({ selected, ...props }, ref) => {
997
- const [isVisibleOptions, setIsVisibleOptions] = React11.useState(false);
998
- const [selectedOptionValues, setSelectedOptionValues] = React11.useState([]);
999
- React11.useEffect(() => {
1010
+ var Select = React13.forwardRef(({ selected, ...props }, ref) => {
1011
+ const [isVisibleOptions, setIsVisibleOptions] = React13.useState(false);
1012
+ const [selectedOptionValues, setSelectedOptionValues] = React13.useState([]);
1013
+ React13.useEffect(() => {
1000
1014
  const value = typeof selected === "string" || typeof selected === "number" ? [selected] : !selected || selected === null ? [] : selected;
1001
1015
  setSelectedOptionValues(value);
1002
1016
  }, [selected]);
1003
1017
  if (props.custom || props.multiple)
1004
- return /* @__PURE__ */ React11.createElement(
1018
+ return /* @__PURE__ */ React13.createElement(
1005
1019
  SelectContext.Provider,
1006
1020
  {
1007
1021
  value: {
@@ -1014,20 +1028,20 @@ var Select = React11.forwardRef(({ selected, ...props }, ref) => {
1014
1028
  onChange: props.onChange
1015
1029
  }
1016
1030
  },
1017
- /* @__PURE__ */ React11.createElement(SelectDynamic_default, { ref, selected, ...props })
1031
+ /* @__PURE__ */ React13.createElement(SelectDynamic_default, { ref, selected, ...props })
1018
1032
  );
1019
- return /* @__PURE__ */ React11.createElement(SelectNative_default, { ref, selected, ...props });
1033
+ return /* @__PURE__ */ React13.createElement(SelectNative_default, { ref, selected, ...props });
1020
1034
  });
1021
1035
  Select.displayName = "Select" /* Select */;
1022
1036
  var Select_default = Select;
1023
1037
 
1024
1038
  // components/select/option/SelectOption.tsx
1025
1039
  var import_clsx7 = __toESM(require("clsx"));
1026
- var React12 = __toESM(require("react"));
1027
- var SelectOption = React12.forwardRef(
1040
+ var React14 = __toESM(require("react"));
1041
+ var SelectOption = React14.forwardRef(
1028
1042
  ({ id, className, value = "", disabled, children, onClick, label, iconName, testId, ...others }, ref) => {
1029
1043
  const { styled } = useTrilogyContext();
1030
- const { custom, selectedOptionValues, setSelectedOptionValues, multiple, setIsVisibleOptions, onChange } = React12.useContext(SelectContext);
1044
+ const { custom, selectedOptionValues, setSelectedOptionValues, multiple, setIsVisibleOptions, onChange } = React14.useContext(SelectContext);
1031
1045
  const isChecked = selectedOptionValues.includes(value);
1032
1046
  const selectClasses = hashClass(styled, (0, import_clsx7.default)("option", isChecked && "focus", disabled && is("disabled"), className));
1033
1047
  const handleClickOption = () => {
@@ -1049,7 +1063,7 @@ var SelectOption = React12.forwardRef(
1049
1063
  if (!multiple) setIsVisibleOptions(false);
1050
1064
  };
1051
1065
  if (custom || multiple) {
1052
- return /* @__PURE__ */ React12.createElement(
1066
+ return /* @__PURE__ */ React14.createElement(
1053
1067
  "li",
1054
1068
  {
1055
1069
  ref,
@@ -1062,11 +1076,11 @@ var SelectOption = React12.forwardRef(
1062
1076
  onClick: !disabled ? handleClickOption : void 0,
1063
1077
  ...others
1064
1078
  },
1065
- iconName && /* @__PURE__ */ React12.createElement(Icon_default, { name: iconName }),
1079
+ iconName && /* @__PURE__ */ React14.createElement(Icon_default, { name: iconName }),
1066
1080
  label || children
1067
1081
  );
1068
1082
  }
1069
- return /* @__PURE__ */ React12.createElement(
1083
+ return /* @__PURE__ */ React14.createElement(
1070
1084
  "option",
1071
1085
  {
1072
1086
  ref,
@@ -1104,7 +1118,7 @@ var currentDate = /* @__PURE__ */ new Date();
1104
1118
  function checkIsRange(date) {
1105
1119
  return !(date instanceof Date);
1106
1120
  }
1107
- var Calendar = import_react9.default.forwardRef(
1121
+ var Calendar = import_react11.default.forwardRef(
1108
1122
  ({
1109
1123
  value = currentDate,
1110
1124
  minDate = new Date(currentDate.getFullYear() - 10, 0, 1),
@@ -1116,16 +1130,16 @@ var Calendar = import_react9.default.forwardRef(
1116
1130
  onMonthChange
1117
1131
  }, ref) => {
1118
1132
  const { styled } = useTrilogyContext();
1119
- const [visibleMonth, setVisibleMonth] = import_react9.default.useState(
1133
+ const [visibleMonth, setVisibleMonth] = import_react11.default.useState(
1120
1134
  value instanceof Date ? value : value[0] || currentDate
1121
1135
  );
1122
- const [activeDate, setActiveDate] = import_react9.default.useState(value);
1123
- const [dateEndHovered, setDateEndHovered] = import_react9.default.useState();
1124
- const refsDays = import_react9.default.useRef([]);
1125
- const refDayFocused = import_react9.default.useRef();
1126
- const refs = import_react9.default.useRef([]);
1127
- const weeksId = import_react9.default.useId();
1128
- const daysId = import_react9.default.useId();
1136
+ const [activeDate, setActiveDate] = import_react11.default.useState(value);
1137
+ const [dateEndHovered, setDateEndHovered] = import_react11.default.useState();
1138
+ const refsDays = import_react11.default.useRef([]);
1139
+ const refDayFocused = import_react11.default.useRef();
1140
+ const refs = import_react11.default.useRef([]);
1141
+ const weeksId = import_react11.default.useId();
1142
+ const daysId = import_react11.default.useId();
1129
1143
  const calendarClasses = hashClass(styled, (0, import_clsx8.default)("calendar"));
1130
1144
  const calendarheaderClasses = hashClass(styled, (0, import_clsx8.default)("calendar-header"));
1131
1145
  const headerDropdownClasses = hashClass(styled, (0, import_clsx8.default)("calendar-header-dropdown"));
@@ -1147,15 +1161,15 @@ var Calendar = import_react9.default.forwardRef(
1147
1161
  const rondedLeftClasses = hashClass(styled, (0, import_clsx8.default)("calendar-date-rounded-left"));
1148
1162
  const rondedRightClasses = hashClass(styled, (0, import_clsx8.default)("calendar-date-rounded-right"));
1149
1163
  const isRange = checkIsRange(activeDate);
1150
- const isNextDisabled = import_react9.default.useMemo(
1164
+ const isNextDisabled = import_react11.default.useMemo(
1151
1165
  () => disabled || (maxDate == null ? void 0 : maxDate.getMonth()) === (visibleMonth == null ? void 0 : visibleMonth.getMonth()) && (maxDate == null ? void 0 : maxDate.getFullYear()) === (visibleMonth == null ? void 0 : visibleMonth.getFullYear()),
1152
1166
  [maxDate, visibleMonth, disabled]
1153
1167
  );
1154
- const isPrevDisabled = import_react9.default.useMemo(
1168
+ const isPrevDisabled = import_react11.default.useMemo(
1155
1169
  () => disabled || (minDate == null ? void 0 : minDate.getMonth()) === (visibleMonth == null ? void 0 : visibleMonth.getMonth()) && (minDate == null ? void 0 : minDate.getFullYear()) === (visibleMonth == null ? void 0 : visibleMonth.getFullYear()),
1156
1170
  [minDate, visibleMonth, disabled]
1157
1171
  );
1158
- const getAllDaysInMonth = import_react9.default.useCallback((year, month) => {
1172
+ const getAllDaysInMonth = import_react11.default.useCallback((year, month) => {
1159
1173
  const date = new Date(year, month, 1);
1160
1174
  const days2 = [];
1161
1175
  const firstDayOfMonth = (date.getDay() + 6) % 7;
@@ -1166,7 +1180,7 @@ var Calendar = import_react9.default.forwardRef(
1166
1180
  for (let i = 0; i < days2.length; i += 7) allDays.push(days2.slice(i, i + 7));
1167
1181
  return allDays;
1168
1182
  }, []);
1169
- const yearsBetween = import_react9.default.useMemo(() => {
1183
+ const yearsBetween = import_react11.default.useMemo(() => {
1170
1184
  const minYear = minDate.getFullYear();
1171
1185
  const maxYear = maxDate.getFullYear();
1172
1186
  const currentYear = value instanceof Date && (value == null ? void 0 : value.getFullYear());
@@ -1183,7 +1197,7 @@ var Calendar = import_react9.default.forwardRef(
1183
1197
  }
1184
1198
  return years;
1185
1199
  }, [minDate, maxDate, value]);
1186
- const availableMonths = import_react9.default.useMemo(() => {
1200
+ const availableMonths = import_react11.default.useMemo(() => {
1187
1201
  const currentYear = visibleMonth.getFullYear();
1188
1202
  const minYear = minDate.getFullYear();
1189
1203
  const maxYear = maxDate.getFullYear();
@@ -1196,18 +1210,18 @@ var Calendar = import_react9.default.forwardRef(
1196
1210
  return true;
1197
1211
  });
1198
1212
  }, [minDate, maxDate, visibleMonth]);
1199
- const availableYear = import_react9.default.useMemo(() => {
1213
+ const availableYear = import_react11.default.useMemo(() => {
1200
1214
  const minYear = minDate.getFullYear();
1201
1215
  const maxYear = maxDate.getFullYear();
1202
1216
  return Array.from({ length: maxYear - minYear + 1 }, (_, i) => minYear + i);
1203
1217
  }, [minDate, maxDate, visibleMonth]);
1204
- const allDaysInMonth = import_react9.default.useMemo(() => {
1218
+ const allDaysInMonth = import_react11.default.useMemo(() => {
1205
1219
  refsDays.current = [];
1206
1220
  const activeYear = visibleMonth.getFullYear();
1207
1221
  const activeMonth = visibleMonth.getMonth();
1208
1222
  return getAllDaysInMonth(activeYear, activeMonth);
1209
1223
  }, [visibleMonth]);
1210
- const handleClickNextPrevMonth = import_react9.default.useCallback(
1224
+ const handleClickNextPrevMonth = import_react11.default.useCallback(
1211
1225
  (month) => {
1212
1226
  const nextMonth = new Date(visibleMonth.getFullYear(), visibleMonth.getMonth() + month, visibleMonth.getDate());
1213
1227
  setVisibleMonth(nextMonth);
@@ -1215,7 +1229,7 @@ var Calendar = import_react9.default.forwardRef(
1215
1229
  },
1216
1230
  [visibleMonth, onMonthChange]
1217
1231
  );
1218
- const handleMonthSelect = import_react9.default.useCallback(
1232
+ const handleMonthSelect = import_react11.default.useCallback(
1219
1233
  (selectedMonth) => {
1220
1234
  const newDate = new Date(visibleMonth.getFullYear(), selectedMonth, visibleMonth.getDate());
1221
1235
  setVisibleMonth(newDate);
@@ -1223,7 +1237,7 @@ var Calendar = import_react9.default.forwardRef(
1223
1237
  },
1224
1238
  [visibleMonth, onMonthChange, minDate, maxDate]
1225
1239
  );
1226
- const handleYearSelect = import_react9.default.useCallback(
1240
+ const handleYearSelect = import_react11.default.useCallback(
1227
1241
  (selectedYear) => {
1228
1242
  const newDate = new Date(selectedYear, visibleMonth.getMonth(), visibleMonth.getDate());
1229
1243
  if (newDate.getTime() < minDate.getTime() || newDate.getTime() > maxDate.getTime()) {
@@ -1241,7 +1255,7 @@ var Calendar = import_react9.default.forwardRef(
1241
1255
  },
1242
1256
  [visibleMonth, onMonthChange, minDate, maxDate]
1243
1257
  );
1244
- const navigateInDaysWithKeyboard = import_react9.default.useCallback(
1258
+ const navigateInDaysWithKeyboard = import_react11.default.useCallback(
1245
1259
  (currentIndex, nextIndex) => {
1246
1260
  var _a;
1247
1261
  const nextRef = refsDays.current[currentIndex + nextIndex];
@@ -1272,7 +1286,7 @@ var Calendar = import_react9.default.forwardRef(
1272
1286
  },
1273
1287
  [refsDays.current, refDayFocused.current, isNextDisabled, isPrevDisabled]
1274
1288
  );
1275
- const handlePressEnterInDays = import_react9.default.useCallback(
1289
+ const handlePressEnterInDays = import_react11.default.useCallback(
1276
1290
  (e) => {
1277
1291
  if (readOnly) return;
1278
1292
  const elm = e.target;
@@ -1291,7 +1305,7 @@ var Calendar = import_react9.default.forwardRef(
1291
1305
  },
1292
1306
  [refsDays.current, onChange, readOnly, activeDate, isRange]
1293
1307
  );
1294
- const onKeyDownDay = import_react9.default.useCallback(
1308
+ const onKeyDownDay = import_react11.default.useCallback(
1295
1309
  (e, index, isDisabled) => {
1296
1310
  switch (e.key) {
1297
1311
  case "ArrowRight":
@@ -1310,7 +1324,7 @@ var Calendar = import_react9.default.forwardRef(
1310
1324
  },
1311
1325
  [handlePressEnterInDays, navigateInDaysWithKeyboard]
1312
1326
  );
1313
- import_react9.default.useEffect(() => {
1327
+ import_react11.default.useEffect(() => {
1314
1328
  var _a, _b;
1315
1329
  if (refsDays.current) {
1316
1330
  const activeDateIndex = refsDays.current.findIndex((day) => day.tabIndex === 0);
@@ -1326,7 +1340,7 @@ var Calendar = import_react9.default.forwardRef(
1326
1340
  }
1327
1341
  }
1328
1342
  }, [refsDays.current, refDayFocused.current]);
1329
- import_react9.default.useEffect(() => {
1343
+ import_react11.default.useEffect(() => {
1330
1344
  const prevActiveDate = activeDate;
1331
1345
  setActiveDate(value);
1332
1346
  if (value instanceof Date) return setVisibleMonth(value);
@@ -1335,7 +1349,7 @@ var Calendar = import_react9.default.forwardRef(
1335
1349
  if (isNewRangeSelection) return setVisibleMonth(value[0]);
1336
1350
  }
1337
1351
  }, [value]);
1338
- return /* @__PURE__ */ import_react9.default.createElement(
1352
+ return /* @__PURE__ */ import_react11.default.createElement(
1339
1353
  "table",
1340
1354
  {
1341
1355
  "data-calendar-trilogy": "",
@@ -1346,7 +1360,7 @@ var Calendar = import_react9.default.forwardRef(
1346
1360
  isRange && activeDate.length === 1 && rangeInitClasses
1347
1361
  )
1348
1362
  },
1349
- /* @__PURE__ */ import_react9.default.createElement("thead", { className: calendarheaderClasses }, /* @__PURE__ */ import_react9.default.createElement("tr", null, /* @__PURE__ */ import_react9.default.createElement("th", { colSpan: 1, className: calendarPrevMonthClasses }, /* @__PURE__ */ import_react9.default.createElement(
1363
+ /* @__PURE__ */ import_react11.default.createElement("thead", { className: calendarheaderClasses }, /* @__PURE__ */ import_react11.default.createElement("tr", null, /* @__PURE__ */ import_react11.default.createElement("th", { colSpan: 1, className: calendarPrevMonthClasses }, /* @__PURE__ */ import_react11.default.createElement(
1350
1364
  "button",
1351
1365
  {
1352
1366
  "data-focusable": !isPrevDisabled,
@@ -1358,8 +1372,8 @@ var Calendar = import_react9.default.forwardRef(
1358
1372
  if (el && refs) refs.current[1] = el;
1359
1373
  }
1360
1374
  },
1361
- /* @__PURE__ */ import_react9.default.createElement(Icon_default, { name: "tri-arrow-left" })
1362
- )), /* @__PURE__ */ import_react9.default.createElement("th", { colSpan: 5, className: calendarActiveMonthClasses }, /* @__PURE__ */ import_react9.default.createElement("div", { className: headerDropdownClasses }, /* @__PURE__ */ import_react9.default.createElement(
1375
+ /* @__PURE__ */ import_react11.default.createElement(Icon_default, { name: "tri-arrow-left" })
1376
+ )), /* @__PURE__ */ import_react11.default.createElement("th", { colSpan: 5, className: calendarActiveMonthClasses }, /* @__PURE__ */ import_react11.default.createElement("div", { className: headerDropdownClasses }, /* @__PURE__ */ import_react11.default.createElement(
1363
1377
  Select_default,
1364
1378
  {
1365
1379
  "data-focusable": "true",
@@ -1369,8 +1383,8 @@ var Calendar = import_react9.default.forwardRef(
1369
1383
  if (el && refs) refs.current[2] = el;
1370
1384
  }
1371
1385
  },
1372
- months.map((monthName, monthIndex) => /* @__PURE__ */ import_react9.default.createElement(option_default, { key: monthIndex, value: String(monthIndex), disabled: !availableMonths[monthIndex] }, monthName))
1373
- ), /* @__PURE__ */ import_react9.default.createElement(
1386
+ months.map((monthName, monthIndex) => /* @__PURE__ */ import_react11.default.createElement(option_default, { key: monthIndex, value: String(monthIndex), disabled: !availableMonths[monthIndex] }, monthName))
1387
+ ), /* @__PURE__ */ import_react11.default.createElement(
1374
1388
  Select_default,
1375
1389
  {
1376
1390
  "data-focusable": "true",
@@ -1380,7 +1394,7 @@ var Calendar = import_react9.default.forwardRef(
1380
1394
  if (el && refs) refs.current[3] = el;
1381
1395
  }
1382
1396
  },
1383
- yearsBetween.map((year) => /* @__PURE__ */ import_react9.default.createElement(
1397
+ yearsBetween.map((year) => /* @__PURE__ */ import_react11.default.createElement(
1384
1398
  option_default,
1385
1399
  {
1386
1400
  key: year.value,
@@ -1389,7 +1403,7 @@ var Calendar = import_react9.default.forwardRef(
1389
1403
  },
1390
1404
  String(year.value)
1391
1405
  ))
1392
- ))), /* @__PURE__ */ import_react9.default.createElement("th", { colSpan: 1, className: calendarNextMonthClasses }, /* @__PURE__ */ import_react9.default.createElement(
1406
+ ))), /* @__PURE__ */ import_react11.default.createElement("th", { colSpan: 1, className: calendarNextMonthClasses }, /* @__PURE__ */ import_react11.default.createElement(
1393
1407
  "button",
1394
1408
  {
1395
1409
  "data-focusable": !isNextDisabled,
@@ -1401,12 +1415,12 @@ var Calendar = import_react9.default.forwardRef(
1401
1415
  if (el && refs) refs.current[4] = el;
1402
1416
  }
1403
1417
  },
1404
- /* @__PURE__ */ import_react9.default.createElement(Icon_default, { name: "tri-arrow-right" })
1405
- ))), /* @__PURE__ */ import_react9.default.createElement("tr", null, days.map((day, index) => {
1406
- return /* @__PURE__ */ import_react9.default.createElement("td", { className: calendarDayLabelClasses, key: index }, /* @__PURE__ */ import_react9.default.createElement(Text_default, null, day.slice(0, 1)));
1418
+ /* @__PURE__ */ import_react11.default.createElement(Icon_default, { name: "tri-arrow-right" })
1419
+ ))), /* @__PURE__ */ import_react11.default.createElement("tr", null, days.map((day, index) => {
1420
+ return /* @__PURE__ */ import_react11.default.createElement("td", { className: calendarDayLabelClasses, key: index }, /* @__PURE__ */ import_react11.default.createElement(Text_default, null, day.slice(0, 1)));
1407
1421
  }))),
1408
- /* @__PURE__ */ import_react9.default.createElement("tbody", null, allDaysInMonth.map((week, weekIndex) => {
1409
- return /* @__PURE__ */ import_react9.default.createElement(
1422
+ /* @__PURE__ */ import_react11.default.createElement("tbody", null, allDaysInMonth.map((week, weekIndex) => {
1423
+ return /* @__PURE__ */ import_react11.default.createElement(
1410
1424
  "tr",
1411
1425
  {
1412
1426
  key: `${weeksId}_${weekIndex}`,
@@ -1426,7 +1440,7 @@ var Calendar = import_react9.default.forwardRef(
1426
1440
  (date) => (date == null ? void 0 : date.getFullYear()) === (day == null ? void 0 : day.getFullYear()) && (date == null ? void 0 : date.getMonth()) === (day == null ? void 0 : day.getMonth()) && (date == null ? void 0 : date.getDate()) === (day == null ? void 0 : day.getDate())
1427
1441
  )) || false;
1428
1442
  const isInRange = isRange && activeDate[0] && dateEndHovered && day && day.getTime() >= activeDate[0].getTime() && day.getTime() < dateEndHovered.getTime() || isRange && activeDate[0] && activeDate[1] && day && day.getTime() >= activeDate[0].getTime() && day.getTime() < activeDate[1].getTime();
1429
- return /* @__PURE__ */ import_react9.default.createElement(
1443
+ return /* @__PURE__ */ import_react11.default.createElement(
1430
1444
  "td",
1431
1445
  {
1432
1446
  key: `${daysId}_${dayIndex}_${day == null ? void 0 : day.getTime()}`,
@@ -1441,7 +1455,7 @@ var Calendar = import_react9.default.forwardRef(
1441
1455
  dayIndex === 6 && rondedRightClasses
1442
1456
  )
1443
1457
  },
1444
- day && ind !== false && /* @__PURE__ */ import_react9.default.createElement(
1458
+ day && ind !== false && /* @__PURE__ */ import_react11.default.createElement(
1445
1459
  "button",
1446
1460
  {
1447
1461
  disabled: isDisabled,
@@ -1478,10 +1492,10 @@ Calendar.displayName = "Calendar" /* Calendar */;
1478
1492
  var Calendar_default = Calendar;
1479
1493
 
1480
1494
  // helpers/clickOutside/index.ts
1481
- var import_react10 = require("react");
1495
+ var import_react12 = require("react");
1482
1496
  var useClickOutside = (ref, callback) => {
1483
- const stableCallback = (0, import_react10.useCallback)(callback, [callback]);
1484
- (0, import_react10.useEffect)(() => {
1497
+ const stableCallback = (0, import_react12.useCallback)(callback, [callback]);
1498
+ (0, import_react12.useEffect)(() => {
1485
1499
  const handleClickOutside = (event) => {
1486
1500
  if (ref.current && !ref.current.contains(event.target)) {
1487
1501
  stableCallback();
@@ -1496,12 +1510,12 @@ var useClickOutside = (ref, callback) => {
1496
1510
 
1497
1511
  // components/datepicker/DatePicker.tsx
1498
1512
  var import_clsx15 = __toESM(require("clsx"));
1499
- var import_react14 = __toESM(require("react"));
1513
+ var import_react16 = __toESM(require("react"));
1500
1514
  var import_react_dom2 = __toESM(require("react-dom"));
1501
1515
 
1502
1516
  // components/button/Button.tsx
1503
1517
  var import_clsx9 = __toESM(require("clsx"));
1504
- var import_react11 = __toESM(require("react"));
1518
+ var import_react13 = __toESM(require("react"));
1505
1519
 
1506
1520
  // components/button/ButtonEnum.ts
1507
1521
  var ButtonMarkup = /* @__PURE__ */ ((ButtonMarkup2) => {
@@ -1512,7 +1526,7 @@ var ButtonMarkup = /* @__PURE__ */ ((ButtonMarkup2) => {
1512
1526
  })(ButtonMarkup || {});
1513
1527
 
1514
1528
  // components/button/Button.tsx
1515
- var Button = import_react11.default.forwardRef(
1529
+ var Button = import_react13.default.forwardRef(
1516
1530
  ({
1517
1531
  markup,
1518
1532
  loading,
@@ -1550,7 +1564,7 @@ var Button = import_react11.default.forwardRef(
1550
1564
  const classes = hashClass(styled, getClassNames(loading, variant, fullwidth, className));
1551
1565
  const Tag = markup && isCorrectMarkup2(markup) ? markup : "button";
1552
1566
  if (Tag === "button" && !href && !to) {
1553
- return /* @__PURE__ */ import_react11.default.createElement(
1567
+ return /* @__PURE__ */ import_react13.default.createElement(
1554
1568
  "button",
1555
1569
  {
1556
1570
  ref,
@@ -1566,12 +1580,12 @@ var Button = import_react11.default.forwardRef(
1566
1580
  type: type != null ? type : "button",
1567
1581
  ...others
1568
1582
  },
1569
- iconName && /* @__PURE__ */ import_react11.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
1583
+ iconName && /* @__PURE__ */ import_react13.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
1570
1584
  children
1571
1585
  );
1572
1586
  }
1573
1587
  if (Tag === "input") {
1574
- return /* @__PURE__ */ import_react11.default.createElement(
1588
+ return /* @__PURE__ */ import_react13.default.createElement(
1575
1589
  "input",
1576
1590
  {
1577
1591
  ref,
@@ -1592,9 +1606,9 @@ var Button = import_react11.default.forwardRef(
1592
1606
  }
1593
1607
  if (routerLink && to && !isDisabled) {
1594
1608
  const RouterLink = routerLink ? routerLink : "a";
1595
- return /* @__PURE__ */ import_react11.default.createElement(RouterLink, { ref, "aria-label": accessibilityLabel, to, className: classes, ...others }, iconName && /* @__PURE__ */ import_react11.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }), children);
1609
+ return /* @__PURE__ */ import_react13.default.createElement(RouterLink, { ref, "aria-label": accessibilityLabel, to, className: classes, ...others }, iconName && /* @__PURE__ */ import_react13.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }), children);
1596
1610
  }
1597
- return /* @__PURE__ */ import_react11.default.createElement(
1611
+ return /* @__PURE__ */ import_react13.default.createElement(
1598
1612
  "a",
1599
1613
  {
1600
1614
  ref,
@@ -1609,7 +1623,7 @@ var Button = import_react11.default.forwardRef(
1609
1623
  ...others,
1610
1624
  ...disabled && { "aria-disabled": true }
1611
1625
  },
1612
- iconName && /* @__PURE__ */ import_react11.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
1626
+ iconName && /* @__PURE__ */ import_react13.default.createElement(Icon_default, { className: !children ? "is-marginless" : "", name: iconName }),
1613
1627
  children
1614
1628
  );
1615
1629
  }
@@ -1618,11 +1632,11 @@ Button.displayName = "Button" /* Button */;
1618
1632
 
1619
1633
  // components/button/list/ButtonList.tsx
1620
1634
  var import_clsx10 = __toESM(require("clsx"));
1621
- var React15 = __toESM(require("react"));
1622
- var ButtonList = React15.forwardRef(
1635
+ var React17 = __toESM(require("react"));
1636
+ var ButtonList = React17.forwardRef(
1623
1637
  ({ className, id, align, direction, ...others }, ref) => {
1624
1638
  const { styled } = useTrilogyContext();
1625
- return /* @__PURE__ */ React15.createElement(
1639
+ return /* @__PURE__ */ React17.createElement(
1626
1640
  "div",
1627
1641
  {
1628
1642
  ref,
@@ -1645,7 +1659,7 @@ ButtonList.displayName = "ButtonList" /* ButtonList */;
1645
1659
 
1646
1660
  // components/title/Title.tsx
1647
1661
  var import_clsx11 = __toESM(require("clsx"));
1648
- var import_react12 = __toESM(require("react"));
1662
+ var import_react14 = __toESM(require("react"));
1649
1663
 
1650
1664
  // components/title/TitleEnum.ts
1651
1665
  var TitleMarkup = /* @__PURE__ */ ((TitleMarkup2) => {
@@ -1685,7 +1699,7 @@ var getTitleLevel = (level) => {
1685
1699
  var isCorrectMarkup = (stringMarkup) => {
1686
1700
  return stringMarkup in TitleMarkup || Object.values(TitleMarkup).includes(stringMarkup);
1687
1701
  };
1688
- var Title = import_react12.default.forwardRef(({
1702
+ var Title = import_react14.default.forwardRef(({
1689
1703
  level = 1 /* ONE */,
1690
1704
  markup,
1691
1705
  children,
@@ -1722,7 +1736,7 @@ var Title = import_react12.default.forwardRef(({
1722
1736
  if (overline) return overlineClasses;
1723
1737
  return classes;
1724
1738
  };
1725
- return /* @__PURE__ */ import_react12.default.createElement(Tag, { ref, id, "aria-label": accessibilityLabel, onClick, className: getClassname(), ...others }, children);
1739
+ return /* @__PURE__ */ import_react14.default.createElement(Tag, { ref, id, "aria-label": accessibilityLabel, onClick, className: getClassname(), ...others }, children);
1726
1740
  });
1727
1741
  Title.displayName = "Title" /* Title */;
1728
1742
  var Title_default = Title;
@@ -1730,8 +1744,8 @@ var Title_default = Title;
1730
1744
  // components/modal/Modal.tsx
1731
1745
  var import_locales3 = require("@trilogy-ds/locales");
1732
1746
  var import_clsx12 = __toESM(require("clsx"));
1733
- var import_react13 = __toESM(require("react"));
1734
- var Modal = import_react13.default.forwardRef(
1747
+ var import_react15 = __toESM(require("react"));
1748
+ var Modal = import_react15.default.forwardRef(
1735
1749
  ({
1736
1750
  children,
1737
1751
  className,
@@ -1747,15 +1761,15 @@ var Modal = import_react13.default.forwardRef(
1747
1761
  title,
1748
1762
  ...others
1749
1763
  }, ref) => {
1750
- const modalContentRef = (0, import_react13.useRef)(null);
1751
- const [display, setDisplay] = (0, import_react13.useState)(active || false);
1764
+ const modalContentRef = (0, import_react15.useRef)(null);
1765
+ const [display, setDisplay] = (0, import_react15.useState)(active || false);
1752
1766
  const { styled } = useTrilogyContext();
1753
- const refBtnModal = (0, import_react13.useRef)(null);
1754
- const refModal = (0, import_react13.useRef)(null);
1755
- const modalGeneratedId = (0, import_react13.useId)();
1756
- const focusableElementsRef = (0, import_react13.useRef)(null);
1757
- const currentFocusIndexRef = (0, import_react13.useRef)(0);
1758
- const handleClose = import_react13.default.useCallback(
1767
+ const refBtnModal = (0, import_react15.useRef)(null);
1768
+ const refModal = (0, import_react15.useRef)(null);
1769
+ const modalGeneratedId = (0, import_react15.useId)();
1770
+ const focusableElementsRef = (0, import_react15.useRef)(null);
1771
+ const currentFocusIndexRef = (0, import_react15.useRef)(0);
1772
+ const handleClose = import_react15.default.useCallback(
1759
1773
  (onCloseFunc, e) => {
1760
1774
  if (!unClosable) {
1761
1775
  setDisplay(false);
@@ -1769,7 +1783,7 @@ var Modal = import_react13.default.forwardRef(
1769
1783
  styled,
1770
1784
  (0, import_clsx12.default)("modal", display && is("active"), size && is(size), panel && is("panel"), className)
1771
1785
  );
1772
- const onKeyDown = (0, import_react13.useCallback)(
1786
+ const onKeyDown = (0, import_react15.useCallback)(
1773
1787
  (e) => {
1774
1788
  if (display && e.key === "Tab") {
1775
1789
  e.preventDefault();
@@ -1791,7 +1805,7 @@ var Modal = import_react13.default.forwardRef(
1791
1805
  },
1792
1806
  [display, focusableElementsRef, currentFocusIndexRef, refBtnModal, onClose]
1793
1807
  );
1794
- (0, import_react13.useEffect)(() => {
1808
+ (0, import_react15.useEffect)(() => {
1795
1809
  setDisplay((prev) => {
1796
1810
  if (prev) {
1797
1811
  refBtnModal.current && refBtnModal.current.focus();
@@ -1800,17 +1814,17 @@ var Modal = import_react13.default.forwardRef(
1800
1814
  return active || false;
1801
1815
  });
1802
1816
  }, [active, currentFocusIndexRef, refBtnModal]);
1803
- (0, import_react13.useEffect)(() => {
1817
+ (0, import_react15.useEffect)(() => {
1804
1818
  !hideCloseButton && display && focusableElementsRef.current && focusableElementsRef.current[0].focus();
1805
1819
  }, [hideCloseButton, display, focusableElementsRef]);
1806
- (0, import_react13.useEffect)(() => {
1820
+ (0, import_react15.useEffect)(() => {
1807
1821
  if (modalContentRef.current) {
1808
1822
  focusableElementsRef.current = modalContentRef.current.querySelectorAll(
1809
1823
  'button:not(:disabled), input:not(:disabled), a, select:not(:disabled), textarea:not(:disabled), details:not([aria-disabled="true"]) > summary'
1810
1824
  );
1811
1825
  }
1812
1826
  }, [modalContentRef, focusableElementsRef]);
1813
- return /* @__PURE__ */ import_react13.default.createElement("div", { onKeyDown, ref: refModal }, trigger && import_react13.default.cloneElement(trigger, { ref: refBtnModal, "aria-haspopup": "dialog" }), /* @__PURE__ */ import_react13.default.createElement(
1827
+ return /* @__PURE__ */ import_react15.default.createElement("div", { onKeyDown, ref: refModal }, trigger && import_react15.default.cloneElement(trigger, { ref: refBtnModal, "aria-haspopup": "dialog" }), /* @__PURE__ */ import_react15.default.createElement(
1814
1828
  "div",
1815
1829
  {
1816
1830
  ref,
@@ -1827,7 +1841,7 @@ var Modal = import_react13.default.forwardRef(
1827
1841
  },
1828
1842
  ...others
1829
1843
  },
1830
- /* @__PURE__ */ import_react13.default.createElement("div", { ref: modalContentRef, className: hashClass(styled, (0, import_clsx12.default)("modal-content")) }, /* @__PURE__ */ import_react13.default.createElement("div", { className: hashClass(styled, (0, import_clsx12.default)("modal-header")) }, !hideCloseButton && !unClosable && /* @__PURE__ */ import_react13.default.createElement(
1844
+ /* @__PURE__ */ import_react15.default.createElement("div", { ref: modalContentRef, className: hashClass(styled, (0, import_clsx12.default)("modal-content")) }, /* @__PURE__ */ import_react15.default.createElement("div", { className: hashClass(styled, (0, import_clsx12.default)("modal-header")) }, !hideCloseButton && !unClosable && /* @__PURE__ */ import_react15.default.createElement(
1831
1845
  "button",
1832
1846
  {
1833
1847
  onClick: (e) => {
@@ -1836,8 +1850,8 @@ var Modal = import_react13.default.forwardRef(
1836
1850
  className: hashClass(styled, (0, import_clsx12.default)("modal-close", is("large"))),
1837
1851
  type: "button" /* BUTTON */
1838
1852
  },
1839
- /* @__PURE__ */ import_react13.default.createElement("span", { className: hashClass(styled, (0, import_clsx12.default)("sr-only")) }, import_locales3.modalLocale.accessibilityLabelButtonClose)
1840
- ), /* @__PURE__ */ import_react13.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
1853
+ /* @__PURE__ */ import_react15.default.createElement("span", { className: hashClass(styled, (0, import_clsx12.default)("sr-only")) }, import_locales3.modalLocale.accessibilityLabelButtonClose)
1854
+ ), /* @__PURE__ */ import_react15.default.createElement(Title_default, { id: modalGeneratedId, level: 3 /* THREE */, markup: "h1" /* H1 */ }, title)), children && children)
1841
1855
  ));
1842
1856
  }
1843
1857
  );
@@ -1846,19 +1860,19 @@ var Modal_default = Modal;
1846
1860
 
1847
1861
  // components/modal/footer/ModalFooter.tsx
1848
1862
  var import_clsx13 = __toESM(require("clsx"));
1849
- var React18 = __toESM(require("react"));
1850
- var ModalFooter = React18.forwardRef(({ children, className, id }, ref) => {
1863
+ var React20 = __toESM(require("react"));
1864
+ var ModalFooter = React20.forwardRef(({ children, className, id }, ref) => {
1851
1865
  const { styled } = useTrilogyContext();
1852
- return /* @__PURE__ */ React18.createElement("div", { ref, "data-modal-footer": "", id, className: hashClass(styled, (0, import_clsx13.default)("modal-footer", className)) }, children);
1866
+ return /* @__PURE__ */ React20.createElement("div", { ref, "data-modal-footer": "", id, className: hashClass(styled, (0, import_clsx13.default)("modal-footer", className)) }, children);
1853
1867
  });
1854
1868
  ModalFooter.displayName = "ModalFooter" /* ModalFooter */;
1855
1869
 
1856
1870
  // components/modal/body/ModalBody.tsx
1857
1871
  var import_clsx14 = __toESM(require("clsx"));
1858
- var React19 = __toESM(require("react"));
1859
- var ModalBody = React19.forwardRef(({ children, className, id }, ref) => {
1872
+ var React21 = __toESM(require("react"));
1873
+ var ModalBody = React21.forwardRef(({ children, className, id }, ref) => {
1860
1874
  const { styled } = useTrilogyContext();
1861
- return /* @__PURE__ */ React19.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx14.default)("modal-body", className)) }, children);
1875
+ return /* @__PURE__ */ React21.createElement("div", { ref, id, className: hashClass(styled, (0, import_clsx14.default)("modal-body", className)) }, children);
1862
1876
  });
1863
1877
  ModalBody.displayName = "ModalBody" /* ModalBody */;
1864
1878
  var ModalBody_default = ModalBody;
@@ -1874,7 +1888,7 @@ var getFirstDayFocusable = () => {
1874
1888
  const firstOfMonth = calendar.querySelector(`[data-calendar-trilogy] tbody button:not(:disabled)`);
1875
1889
  return (_a = activeDate != null ? activeDate : today) != null ? _a : firstOfMonth;
1876
1890
  };
1877
- var DatePicker = (0, import_react14.forwardRef)(
1891
+ var DatePicker = (0, import_react16.forwardRef)(
1878
1892
  ({
1879
1893
  onChange,
1880
1894
  value,
@@ -1888,29 +1902,29 @@ var DatePicker = (0, import_react14.forwardRef)(
1888
1902
  status,
1889
1903
  disabled,
1890
1904
  disabledDates,
1891
- id = import_react14.default.useId(),
1905
+ id = import_react16.default.useId(),
1892
1906
  testId,
1893
1907
  name,
1894
1908
  ...others
1895
1909
  }, ref) => {
1896
1910
  const { styled } = useTrilogyContext();
1897
1911
  const { "data-cy": dataCy, ...otherProps } = others;
1898
- const [day, setDay] = (0, import_react14.useState)("jj");
1899
- const [month, setMonth] = (0, import_react14.useState)("mm");
1900
- const [year, setYear] = (0, import_react14.useState)("aaaa");
1901
- const [isOpenCalendar, setIsOpenCalendar] = (0, import_react14.useState)(false);
1902
- const [canContinueTyping, setCanContinueTyping] = (0, import_react14.useState)(false);
1903
- const [focused, setIsFocused] = (0, import_react14.useState)(false);
1904
- const [isMobile, setIsMobile] = (0, import_react14.useState)(false);
1905
- const [portalPosition, setPortalPosition] = (0, import_react14.useState)({ top: 0, left: 0, width: 0 });
1906
- const refsSegment = (0, import_react14.useRef)([]);
1907
- const refsFocusable = (0, import_react14.useRef)([]);
1908
- const refContainer = (0, import_react14.useRef)(null);
1909
- const refCalendar = (0, import_react14.useRef)(null);
1910
- const currentFocusIndexRef = (0, import_react14.useRef)(0);
1911
- const segmentFocused = (0, import_react14.useRef)(null);
1912
- const refIcon = (0, import_react14.useRef)(null);
1913
- const refInput = (0, import_react14.useRef)(null);
1912
+ const [day, setDay] = (0, import_react16.useState)("jj");
1913
+ const [month, setMonth] = (0, import_react16.useState)("mm");
1914
+ const [year, setYear] = (0, import_react16.useState)("aaaa");
1915
+ const [isOpenCalendar, setIsOpenCalendar] = (0, import_react16.useState)(false);
1916
+ const [canContinueTyping, setCanContinueTyping] = (0, import_react16.useState)(false);
1917
+ const [focused, setIsFocused] = (0, import_react16.useState)(false);
1918
+ const [isMobile, setIsMobile] = (0, import_react16.useState)(false);
1919
+ const [portalPosition, setPortalPosition] = (0, import_react16.useState)({ top: 0, left: 0, width: 0 });
1920
+ const refsSegment = (0, import_react16.useRef)([]);
1921
+ const refsFocusable = (0, import_react16.useRef)([]);
1922
+ const refContainer = (0, import_react16.useRef)(null);
1923
+ const refCalendar = (0, import_react16.useRef)(null);
1924
+ const currentFocusIndexRef = (0, import_react16.useRef)(0);
1925
+ const segmentFocused = (0, import_react16.useRef)(null);
1926
+ const refIcon = (0, import_react16.useRef)(null);
1927
+ const refInput = (0, import_react16.useRef)(null);
1914
1928
  const calendarContainerClasses = hashClass(styled, (0, import_clsx15.default)("date-picker-calendar"));
1915
1929
  const datePickerClasses = hashClass(styled, (0, import_clsx15.default)("field date-picker", className));
1916
1930
  const controlClasses = hashClass(styled, (0, import_clsx15.default)("control", has("icons-right")));
@@ -1919,7 +1933,7 @@ var DatePicker = (0, import_react14.forwardRef)(
1919
1933
  const helpClasses = (0, import_clsx15.default)("help", status && is(status));
1920
1934
  const inputLabelClasses = hashClass(styled, "input-label");
1921
1935
  const inputHidden = hashClass(styled, "input-hidden");
1922
- (0, import_react14.useImperativeHandle)(ref, () => refContainer.current);
1936
+ (0, import_react16.useImperativeHandle)(ref, () => refContainer.current);
1923
1937
  useClickOutside(refCalendar, () => {
1924
1938
  setTimeout(() => {
1925
1939
  setIsOpenCalendar(false);
@@ -1930,7 +1944,7 @@ var DatePicker = (0, import_react14.forwardRef)(
1930
1944
  setIsFocused(false);
1931
1945
  }, 0);
1932
1946
  });
1933
- const segments = (0, import_react14.useMemo)(
1947
+ const segments = (0, import_react16.useMemo)(
1934
1948
  () => ({
1935
1949
  day: {
1936
1950
  sensitiveValue: 3,
@@ -1962,14 +1976,14 @@ var DatePicker = (0, import_react14.forwardRef)(
1962
1976
  }),
1963
1977
  [day, month, year]
1964
1978
  );
1965
- const calendarValue = (0, import_react14.useMemo)(() => {
1979
+ const calendarValue = (0, import_react16.useMemo)(() => {
1966
1980
  if (parseInt(day) && parseInt(month) && parseInt(year)) {
1967
1981
  const newDate = /* @__PURE__ */ new Date(`${year}-${month}-${day}`);
1968
1982
  const isValidDate = checkIsValidDate(newDate, year, month, day);
1969
1983
  if (isValidDate) return newDate;
1970
1984
  }
1971
1985
  }, [day, month, year]);
1972
- const calculatePortalPosition = (0, import_react14.useCallback)(() => {
1986
+ const calculatePortalPosition = (0, import_react16.useCallback)(() => {
1973
1987
  if (!refInput.current) return;
1974
1988
  const rect = refInput.current.getBoundingClientRect();
1975
1989
  const { top, bottom, left, width } = rect;
@@ -1987,7 +2001,7 @@ var DatePicker = (0, import_react14.forwardRef)(
1987
2001
  width
1988
2002
  });
1989
2003
  }, []);
1990
- const handleKeyPress = (0, import_react14.useCallback)(
2004
+ const handleKeyPress = (0, import_react16.useCallback)(
1991
2005
  ({ event, type }) => {
1992
2006
  if (disabled) return;
1993
2007
  const key = event.data;
@@ -2032,7 +2046,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2032
2046
  const isValidDate = parseInt(day) && parseInt(month) && parseInt(year);
2033
2047
  return !isValidDate ? "" : `${year}-${month}-${day}`;
2034
2048
  };
2035
- const handleKeyDownDay = (0, import_react14.useCallback)(
2049
+ const handleKeyDownDay = (0, import_react16.useCallback)(
2036
2050
  (e, type) => {
2037
2051
  if (disabled) return;
2038
2052
  const { segmentSetter, label: label2, maxValue, initValue, segmentPosition, segment } = segments[type];
@@ -2094,7 +2108,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2094
2108
  calculatePortalPosition();
2095
2109
  setIsOpenCalendar(true);
2096
2110
  };
2097
- const handleChangeCalendar = import_react14.default.useCallback(
2111
+ const handleChangeCalendar = import_react16.default.useCallback(
2098
2112
  (e) => {
2099
2113
  const dateCalendar = e;
2100
2114
  const dateDay = dateCalendar.getDate();
@@ -2111,7 +2125,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2111
2125
  },
2112
2126
  [onChange]
2113
2127
  );
2114
- const onKeyDown = (0, import_react14.useCallback)(
2128
+ const onKeyDown = (0, import_react16.useCallback)(
2115
2129
  (e) => {
2116
2130
  var _a;
2117
2131
  if (disabled) return;
@@ -2133,8 +2147,8 @@ var DatePicker = (0, import_react14.forwardRef)(
2133
2147
  },
2134
2148
  [disabled, isOpenCalendar]
2135
2149
  );
2136
- const calendar = (0, import_react14.useMemo)(() => {
2137
- return /* @__PURE__ */ import_react14.default.createElement(
2150
+ const calendar = (0, import_react16.useMemo)(() => {
2151
+ return /* @__PURE__ */ import_react16.default.createElement(
2138
2152
  Calendar_default,
2139
2153
  {
2140
2154
  disabledDates,
@@ -2170,7 +2184,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2170
2184
  isOpenCalendar,
2171
2185
  refsFocusable
2172
2186
  ]);
2173
- (0, import_react14.useEffect)(() => {
2187
+ (0, import_react16.useEffect)(() => {
2174
2188
  if (!value) {
2175
2189
  setDay("jj");
2176
2190
  setMonth("mm");
@@ -2182,7 +2196,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2182
2196
  setYear(year2);
2183
2197
  }
2184
2198
  }, [value]);
2185
- (0, import_react14.useEffect)(() => {
2199
+ (0, import_react16.useEffect)(() => {
2186
2200
  if (isOpenCalendar && refCalendar.current) {
2187
2201
  const elms = refCalendar.current.querySelectorAll(`[data-focusable=true]`);
2188
2202
  const firstDayFocusable = getFirstDayFocusable();
@@ -2195,13 +2209,13 @@ var DatePicker = (0, import_react14.forwardRef)(
2195
2209
  }
2196
2210
  if (!isOpenCalendar && currentFocusIndexRef.current) currentFocusIndexRef.current = 0;
2197
2211
  }, [isOpenCalendar, refCalendar, currentFocusIndexRef]);
2198
- (0, import_react14.useEffect)(() => {
2212
+ (0, import_react16.useEffect)(() => {
2199
2213
  const handleResize = () => setIsMobile(window.innerWidth <= 768);
2200
2214
  handleResize();
2201
2215
  window.addEventListener("resize", handleResize);
2202
2216
  return () => window.removeEventListener("resize", handleResize);
2203
2217
  }, []);
2204
- (0, import_react14.useEffect)(() => {
2218
+ (0, import_react16.useEffect)(() => {
2205
2219
  if (!isOpenCalendar) return;
2206
2220
  const handleUpdate = () => calculatePortalPosition();
2207
2221
  window.addEventListener("scroll", handleUpdate, true);
@@ -2211,7 +2225,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2211
2225
  window.removeEventListener("resize", handleUpdate);
2212
2226
  };
2213
2227
  }, [isOpenCalendar, calculatePortalPosition]);
2214
- return /* @__PURE__ */ import_react14.default.createElement("div", { ref: refContainer, className: datePickerClasses, onKeyDown }, label && /* @__PURE__ */ import_react14.default.createElement("label", { className: inputLabelClasses, htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react14.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react14.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */ }, sample), /* @__PURE__ */ import_react14.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react14.default.createElement(
2228
+ return /* @__PURE__ */ import_react16.default.createElement("div", { ref: refContainer, className: datePickerClasses, onKeyDown }, label && /* @__PURE__ */ import_react16.default.createElement("label", { className: inputLabelClasses, htmlFor: id }, label, " ", required && /* @__PURE__ */ import_react16.default.createElement(Text_default, { markup: "span" /* SPAN */, typo: "has-text-error" /* TEXT_ERROR */ }, "*")), sample && /* @__PURE__ */ import_react16.default.createElement(Text_default, { className: "input-sample", level: 2 /* TWO */ }, sample), /* @__PURE__ */ import_react16.default.createElement("div", { className: controlClasses }, /* @__PURE__ */ import_react16.default.createElement(
2215
2229
  "div",
2216
2230
  {
2217
2231
  role: "group",
@@ -2229,7 +2243,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2229
2243
  },
2230
2244
  ...otherProps
2231
2245
  },
2232
- /* @__PURE__ */ import_react14.default.createElement(
2246
+ /* @__PURE__ */ import_react16.default.createElement(
2233
2247
  "span",
2234
2248
  {
2235
2249
  "aria-valuemin": 1,
@@ -2256,8 +2270,8 @@ var DatePicker = (0, import_react14.forwardRef)(
2256
2270
  },
2257
2271
  day
2258
2272
  ),
2259
- /* @__PURE__ */ import_react14.default.createElement("span", null, "/"),
2260
- /* @__PURE__ */ import_react14.default.createElement(
2273
+ /* @__PURE__ */ import_react16.default.createElement("span", null, "/"),
2274
+ /* @__PURE__ */ import_react16.default.createElement(
2261
2275
  "span",
2262
2276
  {
2263
2277
  "aria-valuemin": 1,
@@ -2284,8 +2298,8 @@ var DatePicker = (0, import_react14.forwardRef)(
2284
2298
  },
2285
2299
  month
2286
2300
  ),
2287
- /* @__PURE__ */ import_react14.default.createElement("span", null, "/"),
2288
- /* @__PURE__ */ import_react14.default.createElement(
2301
+ /* @__PURE__ */ import_react16.default.createElement("span", null, "/"),
2302
+ /* @__PURE__ */ import_react16.default.createElement(
2289
2303
  "span",
2290
2304
  {
2291
2305
  "aria-valuemin": 0,
@@ -2312,7 +2326,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2312
2326
  },
2313
2327
  year
2314
2328
  ),
2315
- /* @__PURE__ */ import_react14.default.createElement(
2329
+ /* @__PURE__ */ import_react16.default.createElement(
2316
2330
  "input",
2317
2331
  {
2318
2332
  disabled,
@@ -2332,7 +2346,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2332
2346
  }
2333
2347
  }
2334
2348
  )
2335
- ), /* @__PURE__ */ import_react14.default.createElement(
2349
+ ), /* @__PURE__ */ import_react16.default.createElement(
2336
2350
  "button",
2337
2351
  {
2338
2352
  type: "button",
@@ -2344,9 +2358,9 @@ var DatePicker = (0, import_react14.forwardRef)(
2344
2358
  setIsFocused(false);
2345
2359
  }
2346
2360
  },
2347
- /* @__PURE__ */ import_react14.default.createElement(Icon_default, { name: "tri-calendar", className: iconRightClasses })
2348
- )), help && /* @__PURE__ */ import_react14.default.createElement(Text_default, { className: helpClasses }, help), isOpenCalendar && !isMobile && import_react_dom2.default.createPortal(
2349
- /* @__PURE__ */ import_react14.default.createElement(
2361
+ /* @__PURE__ */ import_react16.default.createElement(Icon_default, { name: "tri-calendar", className: iconRightClasses })
2362
+ )), help && /* @__PURE__ */ import_react16.default.createElement(Text_default, { className: helpClasses }, help), isOpenCalendar && !isMobile && import_react_dom2.default.createPortal(
2363
+ /* @__PURE__ */ import_react16.default.createElement(
2350
2364
  "div",
2351
2365
  {
2352
2366
  className: calendarContainerClasses,
@@ -2361,7 +2375,7 @@ var DatePicker = (0, import_react14.forwardRef)(
2361
2375
  calendar
2362
2376
  ),
2363
2377
  document.body
2364
- ), isOpenCalendar && isMobile && /* @__PURE__ */ import_react14.default.createElement(Modal_default, { active: isOpenCalendar, hideCloseButton: true }, /* @__PURE__ */ import_react14.default.createElement(ModalBody_default, null, calendar)));
2378
+ ), isOpenCalendar && isMobile && /* @__PURE__ */ import_react16.default.createElement(Modal_default, { active: isOpenCalendar, hideCloseButton: true }, /* @__PURE__ */ import_react16.default.createElement(ModalBody_default, null, calendar)));
2365
2379
  }
2366
2380
  );
2367
2381
  DatePicker.displayName = "DatePicker" /* DatePicker */;