@trilogy-ds/react 0.0.16-esm-cjs → 0.0.18-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 (1403) hide show
  1. package/lib/{chunk-CWOJMTBG.mjs → chunk-23RKW2TY.mjs} +1 -1
  2. package/lib/{chunk-PTHFF3G5.mjs → chunk-24R7IYOG.mjs} +5 -5
  3. package/lib/{chunk-TDYLTSUD.mjs → chunk-252FYXMD.mjs} +2 -2
  4. package/lib/{chunk-TBCW3ORO.mjs → chunk-27BK6EVC.mjs} +4 -4
  5. package/lib/{chunk-CNQXLWB6.mjs → chunk-2FPIT2VY.mjs} +3 -3
  6. package/lib/{chunk-GOX7ZBMG.mjs → chunk-2IGMY535.mjs} +15 -4
  7. package/lib/{chunk-LO433DOQ.mjs → chunk-2MIHKT5E.mjs} +1 -1
  8. package/lib/{chunk-YORBTFM6.mjs → chunk-2MP6W4C2.mjs} +4 -4
  9. package/lib/{chunk-J4TV7QTJ.mjs → chunk-2SIDIWLZ.mjs} +31 -14
  10. package/lib/chunk-2T6URXV2.mjs +88 -0
  11. package/lib/{chunk-5Z2RQ5MY.mjs → chunk-2ZXXN4R4.mjs} +1 -1
  12. package/lib/chunk-33VW4RVE.mjs +94 -0
  13. package/lib/{chunk-G5BYIVYU.mjs → chunk-3APJ5TJP.mjs} +2 -2
  14. package/lib/{chunk-KZ3GTDH6.mjs → chunk-3GLD7T7V.mjs} +1 -1
  15. package/lib/{chunk-WCYJXOFQ.mjs → chunk-3HY3E3O3.mjs} +16 -5
  16. package/lib/{chunk-UESRINZG.mjs → chunk-3I74MN5M.mjs} +4 -4
  17. package/lib/{chunk-J2RYZOPI.mjs → chunk-3LXODEBD.mjs} +1 -1
  18. package/lib/chunk-3OWVPQQ3.mjs +47 -0
  19. package/lib/{chunk-REWE5O46.mjs → chunk-432FETUO.mjs} +1 -1
  20. package/lib/{chunk-W6D7Y225.mjs → chunk-44BUDUHH.mjs} +4 -1
  21. package/lib/{chunk-BUHGINEV.mjs → chunk-44DOSDMV.mjs} +1 -1
  22. package/lib/chunk-4FJA5ASG.mjs +56 -0
  23. package/lib/chunk-4GKCUICZ.mjs +99 -0
  24. package/lib/{chunk-AKMN7UO5.mjs → chunk-573KW52P.mjs} +17 -5
  25. package/lib/{chunk-MLDIC7PA.mjs → chunk-5ALKJFH4.mjs} +1 -1
  26. package/lib/{chunk-O6QKUT7P.mjs → chunk-5DY6WPCA.mjs} +8 -8
  27. package/lib/{chunk-UC3MMEQZ.mjs → chunk-5GGDXVOY.mjs} +1 -1
  28. package/lib/{chunk-X3O5WJNB.mjs → chunk-5JFVDSGE.mjs} +1 -1
  29. package/lib/chunk-5NJMUSWY.mjs +40 -0
  30. package/lib/chunk-5UAX67EN.mjs +35 -0
  31. package/lib/chunk-65K3LXTO.mjs +23 -0
  32. package/lib/{chunk-VYZ76EPZ.mjs → chunk-67BVHO7H.mjs} +3 -3
  33. package/lib/chunk-6AFOGEEB.mjs +41 -0
  34. package/lib/{chunk-C2KSCUJR.mjs → chunk-6BMF3QD3.mjs} +1 -1
  35. package/lib/{chunk-JA5LYEG4.mjs → chunk-6CVNPSI3.mjs} +1 -1
  36. package/lib/{chunk-SLTXO73P.mjs → chunk-6GGZCKVV.mjs} +5 -3
  37. package/lib/chunk-6QE3IUXA.mjs +53 -0
  38. package/lib/{chunk-2CRZJ26O.mjs → chunk-6RNUF4LV.mjs} +1 -1
  39. package/lib/{chunk-UNUI5GCY.mjs → chunk-76P5II7A.mjs} +6 -6
  40. package/lib/{chunk-AT5DQ6XT.mjs → chunk-7E4J6YBL.mjs} +1 -1
  41. package/lib/{chunk-PBPNVWL2.mjs → chunk-7EU3FOC4.mjs} +1 -1
  42. package/lib/{chunk-RYVNJCJ2.mjs → chunk-7JMUQSV5.mjs} +1 -1
  43. package/lib/{chunk-FTZRR3K6.mjs → chunk-7LJJ6SKX.mjs} +7 -3
  44. package/lib/chunk-7NWVVRXM.mjs +63 -0
  45. package/lib/{chunk-4HVUQDPB.mjs → chunk-7TEPMZRL.mjs} +1 -1
  46. package/lib/{chunk-JOSZ4COK.mjs → chunk-7VSJ3RTI.mjs} +2 -0
  47. package/lib/{chunk-L6H74EAQ.mjs → chunk-7WYOWHKR.mjs} +1 -1
  48. package/lib/chunk-AASRNCVH.mjs +51 -0
  49. package/lib/{chunk-YGG7NOZ7.mjs → chunk-AEV6FHUQ.mjs} +1 -1
  50. package/lib/{chunk-SGAZRZIK.mjs → chunk-ALGX47MZ.mjs} +2 -2
  51. package/lib/{chunk-62D2ZNLD.mjs → chunk-AMGZXLNR.mjs} +1 -1
  52. package/lib/{chunk-JE2Y3RAL.mjs → chunk-ARA7YCBH.mjs} +1 -1
  53. package/lib/{chunk-MOXBCNH3.mjs → chunk-ASZC2OSU.mjs} +2 -2
  54. package/lib/chunk-B6D5UHOQ.mjs +67 -0
  55. package/lib/{chunk-KQV6UPEF.mjs → chunk-BBXAF6LS.mjs} +7 -3
  56. package/lib/{chunk-TBFT5WCF.mjs → chunk-BD73QGIH.mjs} +1 -1
  57. package/lib/{chunk-RZ4YLRVA.mjs → chunk-BIWBGSDJ.mjs} +1 -1
  58. package/lib/chunk-C3VH34J4.mjs +91 -0
  59. package/lib/chunk-C4ZXSLQP.mjs +12 -0
  60. package/lib/{chunk-7GB6GKGD.mjs → chunk-CCIRXOIR.mjs} +53 -29
  61. package/lib/chunk-CCMHIAAZ.mjs +35 -0
  62. package/lib/{chunk-HV6TXVFA.mjs → chunk-CD6DMMCL.mjs} +2 -0
  63. package/lib/{chunk-3PHJRZWE.mjs → chunk-CDK7APZM.mjs} +1 -1
  64. package/lib/{chunk-AS7NPVSN.mjs → chunk-CJTAJA4V.mjs} +2 -10
  65. package/lib/{chunk-S7W4ZL46.mjs → chunk-COHZA3Q6.mjs} +1 -1
  66. package/lib/{chunk-MN7IITZQ.mjs → chunk-CTW5LTU3.mjs} +3 -3
  67. package/lib/{chunk-GY2RSUAJ.mjs → chunk-CYSI752N.mjs} +2 -2
  68. package/lib/{chunk-R37XLGXJ.mjs → chunk-D5I42WSS.mjs} +1 -1
  69. package/lib/{chunk-RPE2LBZM.mjs → chunk-DFR5TVL7.mjs} +1 -1
  70. package/lib/{chunk-EOGM64YO.mjs → chunk-DOA3WDEF.mjs} +1 -1
  71. package/lib/chunk-DSY6DDC3.mjs +12 -0
  72. package/lib/{chunk-LALBHUEG.mjs → chunk-DWZ232Q2.mjs} +22 -7
  73. package/lib/{chunk-ORDBTUJK.mjs → chunk-DY3O7TP2.mjs} +1 -1
  74. package/lib/{chunk-GNSLOYT2.mjs → chunk-DYV23SEH.mjs} +4 -4
  75. package/lib/{chunk-VOIEK4BP.mjs → chunk-DZORJA3B.mjs} +31 -14
  76. package/lib/{chunk-VI2KFLCZ.mjs → chunk-E4YRRUI3.mjs} +2 -0
  77. package/lib/{chunk-XZF6TES3.mjs → chunk-E7H2KJ4A.mjs} +1 -1
  78. package/lib/chunk-EATIRXQK.mjs +11 -0
  79. package/lib/chunk-ED5NFRNM.mjs +49 -0
  80. package/lib/{chunk-CIMSFVNA.mjs → chunk-FAKVBDTE.mjs} +4 -3
  81. package/lib/{chunk-WG6PNVJM.mjs → chunk-FFF7QP5X.mjs} +1 -1
  82. package/lib/{chunk-Q4IQEMVA.mjs → chunk-FRZM4C7T.mjs} +2 -2
  83. package/lib/{chunk-TELJAUBZ.mjs → chunk-G2QCDZEE.mjs} +2 -2
  84. package/lib/chunk-GCIF33S4.mjs +22 -0
  85. package/lib/{chunk-OVD2WBG7.mjs → chunk-GGTSWVFO.mjs} +1 -1
  86. package/lib/{chunk-UUKIIB2D.mjs → chunk-GIEAPQ2H.mjs} +5 -5
  87. package/lib/{chunk-A4UUZNZZ.mjs → chunk-GIHKIRAH.mjs} +3 -3
  88. package/lib/{chunk-OF3FJXZL.mjs → chunk-HPM5H4HF.mjs} +2 -2
  89. package/lib/{chunk-GRGNRLCK.mjs → chunk-HSBIO24M.mjs} +40 -30
  90. package/lib/chunk-HVDDVQIJ.mjs +57 -0
  91. package/lib/{chunk-JA7KPIAW.mjs → chunk-I3KHCP2X.mjs} +2 -2
  92. package/lib/chunk-I4RR2QN7.mjs +122 -0
  93. package/lib/{chunk-YKDJ5C7W.mjs → chunk-I6QAEJTP.mjs} +1 -1
  94. package/lib/{chunk-636WODA2.mjs → chunk-IHTDJ5DD.mjs} +3 -3
  95. package/lib/chunk-IN37K4CZ.mjs +113 -0
  96. package/lib/{chunk-SRZY7O3J.mjs → chunk-IOXFCPJQ.mjs} +5 -5
  97. package/lib/{chunk-AMKZNB5D.mjs → chunk-IT2ZBSQG.mjs} +3 -3
  98. package/lib/chunk-JB7AXJFO.mjs +405 -0
  99. package/lib/chunk-JDLZGLZJ.mjs +87 -0
  100. package/lib/{chunk-YLNTACMP.mjs → chunk-JIGVLQZM.mjs} +1 -1
  101. package/lib/{chunk-YIOEE4WJ.mjs → chunk-JPWTOBGP.mjs} +3 -6
  102. package/lib/chunk-K5D3QU3U.mjs +137 -0
  103. package/lib/{chunk-4NONUZBG.mjs → chunk-K6DW4JHP.mjs} +1 -1
  104. package/lib/{chunk-Q6FQTPU4.mjs → chunk-KUVBW2U7.mjs} +3 -3
  105. package/lib/{chunk-AZVPP2GA.mjs → chunk-KY7T6Q73.mjs} +3 -3
  106. package/lib/{chunk-RZQA2M2N.mjs → chunk-KYCWE6NL.mjs} +1 -1
  107. package/lib/{chunk-FSTU72UW.mjs → chunk-LBSTQNK7.mjs} +2 -2
  108. package/lib/{chunk-JYONTZJI.mjs → chunk-LEXUEUIJ.mjs} +4 -4
  109. package/lib/chunk-LJF3YLMG.mjs +25 -0
  110. package/lib/{chunk-JZ3SSSRS.mjs → chunk-LOROW3UU.mjs} +3 -2
  111. package/lib/{chunk-IERXTGCG.mjs → chunk-LQ2EKGFZ.mjs} +4 -4
  112. package/lib/chunk-M3FKAS2D.mjs +85 -0
  113. package/lib/chunk-M5W5FRMF.mjs +63 -0
  114. package/lib/{chunk-K2VWHGPL.mjs → chunk-MAX3RSBG.mjs} +2 -0
  115. package/lib/{chunk-KNRXLZZP.mjs → chunk-MB55ARZ7.mjs} +1 -1
  116. package/lib/chunk-MDZE2AV3.mjs +115 -0
  117. package/lib/{chunk-LAVKSOBD.mjs → chunk-MFPPIGPF.mjs} +2 -1
  118. package/lib/{chunk-QXMTDX2V.mjs → chunk-MMFURLTB.mjs} +1 -1
  119. package/lib/chunk-MVQ252OA.mjs +85 -0
  120. package/lib/{chunk-ELTZ3E3O.mjs → chunk-MZHFYHCF.mjs} +3 -3
  121. package/lib/{chunk-PFH5M7W4.mjs → chunk-NE4WGXUM.mjs} +1 -1
  122. package/lib/{chunk-PHH6JAI6.mjs → chunk-NKO25SIM.mjs} +2 -2
  123. package/lib/chunk-NMYQHE6C.mjs +109 -0
  124. package/lib/chunk-NRNJCOJP.mjs +73 -0
  125. package/lib/chunk-NRTMJLXK.mjs +111 -0
  126. package/lib/chunk-NUSFBDBA.mjs +43 -0
  127. package/lib/{chunk-TH32WIIV.mjs → chunk-NWBGCS6B.mjs} +1 -1
  128. package/lib/chunk-O32SL32C.mjs +66 -0
  129. package/lib/{chunk-4K6XP3WN.mjs → chunk-O72JHAKF.mjs} +1 -1
  130. package/lib/{chunk-SWFBV5TR.mjs → chunk-OAENQH2X.mjs} +2 -1
  131. package/lib/chunk-OUYOYTXI.mjs +50 -0
  132. package/lib/chunk-P3RZGE6X.mjs +39 -0
  133. package/lib/chunk-P7P7S4GM.mjs +70 -0
  134. package/lib/chunk-PGXASAXX.mjs +1 -0
  135. package/lib/{chunk-2QI25H4L.mjs → chunk-POCUFCQC.mjs} +2 -2
  136. package/lib/chunk-Q3NP4BBO.mjs +105 -0
  137. package/lib/{chunk-574Q5HPU.mjs → chunk-Q665G2U7.mjs} +3 -3
  138. package/lib/chunk-QE4JSIR3.mjs +70 -0
  139. package/lib/chunk-QIEADZWY.mjs +54 -0
  140. package/lib/{chunk-RDBMQIDN.mjs → chunk-QLJ54D5Q.mjs} +1 -1
  141. package/lib/{chunk-Z6YBOKUS.mjs → chunk-QNDMUIJM.mjs} +12 -7
  142. package/lib/chunk-QNTBEAY4.mjs +69 -0
  143. package/lib/chunk-QOUQNN33.mjs +68 -0
  144. package/lib/{chunk-FIH3EYH2.mjs → chunk-QTEMHSK5.mjs} +2 -2
  145. package/lib/{chunk-SYNRLOS5.mjs → chunk-R6JMSH4N.mjs} +6 -6
  146. package/lib/chunk-RGX6ZWXV.mjs +1 -0
  147. package/lib/{chunk-ZZRR7QJL.mjs → chunk-RHBTSMCQ.mjs} +1 -8
  148. package/lib/{chunk-ACSGONQB.mjs → chunk-RVE7QNTO.mjs} +1 -1
  149. package/lib/{chunk-3XPLPYWH.mjs → chunk-RVU3IPAE.mjs} +1 -1
  150. package/lib/chunk-RXGITNPE.mjs +39 -0
  151. package/lib/{chunk-CYNSXZSV.mjs → chunk-RYABO2EX.mjs} +1 -0
  152. package/lib/{chunk-AOXXQP4V.mjs → chunk-SFIOTEMN.mjs} +4 -6
  153. package/lib/chunk-SFL4T7RS.mjs +84 -0
  154. package/lib/{chunk-6MSKYREQ.mjs → chunk-SOPUKVAK.mjs} +1 -1
  155. package/lib/{chunk-VB44SHZH.mjs → chunk-SQGVYXQT.mjs} +1 -1
  156. package/lib/{chunk-KBT6E5ZH.mjs → chunk-SX2VUWRF.mjs} +7 -6
  157. package/lib/{chunk-XQJMHLCD.mjs → chunk-T4AH7FLU.mjs} +2 -2
  158. package/lib/{chunk-74N7E566.mjs → chunk-T4VM27IJ.mjs} +1 -1
  159. package/lib/chunk-TBR32D5M.mjs +26 -0
  160. package/lib/{chunk-WZNAXR6Q.mjs → chunk-TCRJL43C.mjs} +4 -4
  161. package/lib/{chunk-UMAMF5YJ.mjs → chunk-TPXCSXWT.mjs} +6 -5
  162. package/lib/chunk-TYVII7EX.mjs +1 -0
  163. package/lib/{chunk-POM5H35R.mjs → chunk-UC3N6X6R.mjs} +2 -2
  164. package/lib/chunk-UMI3AJYV.mjs +1 -0
  165. package/lib/{chunk-H6FVJB5Z.mjs → chunk-UPP3GX33.mjs} +12 -6
  166. package/lib/{chunk-Q4EJ7LGQ.mjs → chunk-UTXKOHCM.mjs} +5 -6
  167. package/lib/{chunk-2A6R2TW7.mjs → chunk-V4BZDJSQ.mjs} +1 -1
  168. package/lib/chunk-VDIATO4X.mjs +51 -0
  169. package/lib/{chunk-NTS75UVH.mjs → chunk-VDLM4YQP.mjs} +2 -0
  170. package/lib/{chunk-XYFBDF32.mjs → chunk-VL2UCFFK.mjs} +4 -6
  171. package/lib/chunk-VZX5PGQL.mjs +28 -0
  172. package/lib/{chunk-BH5LIONT.mjs → chunk-WB5FKCPB.mjs} +9 -9
  173. package/lib/{chunk-J5UQDPUP.mjs → chunk-WKSI3EP4.mjs} +2 -2
  174. package/lib/chunk-WLYGSJUB.mjs +1 -0
  175. package/lib/{chunk-KWHZZUYO.mjs → chunk-WV5PBU2C.mjs} +3 -3
  176. package/lib/{chunk-2CYVOYRM.mjs → chunk-WVL5S3CD.mjs} +1 -1
  177. package/lib/{chunk-D7SER4BZ.mjs → chunk-X5HHW5EE.mjs} +4 -4
  178. package/lib/{chunk-SJ5DUOZ6.mjs → chunk-X67AAUB2.mjs} +1 -1
  179. package/lib/{chunk-WC3ULY5W.mjs → chunk-XXKEMYTB.mjs} +1 -1
  180. package/lib/{chunk-PRRXEPHP.mjs → chunk-XZCE64VV.mjs} +1 -1
  181. package/lib/{chunk-EFTZDOEV.mjs → chunk-Y4CLZAPU.mjs} +2 -2
  182. package/lib/chunk-Y6VHQF2J.mjs +548 -0
  183. package/lib/{chunk-R7ZJGYVD.mjs → chunk-Y7WPI233.mjs} +2 -2
  184. package/lib/chunk-Y7YLMIQH.mjs +1 -0
  185. package/lib/{chunk-VWBRZW2B.mjs → chunk-YF74SWNR.mjs} +2 -2
  186. package/lib/{chunk-MKOK7VNZ.mjs → chunk-YKUYXBXK.mjs} +1 -1
  187. package/lib/{chunk-TTMI7WFG.mjs → chunk-YR5WZRJD.mjs} +1 -1
  188. package/lib/{chunk-LQ7MOJFV.mjs → chunk-YSBY3XJC.mjs} +9 -9
  189. package/lib/{chunk-EQIF6RE5.mjs → chunk-ZEEM3OU3.mjs} +8 -8
  190. package/lib/{chunk-Y3K4LGOG.mjs → chunk-ZETHVOMR.mjs} +1 -1
  191. package/lib/chunk-ZJYFDULL.mjs +1 -0
  192. package/lib/chunk-ZNF2AXYR.mjs +58 -0
  193. package/lib/chunk-ZRWNSZC6.mjs +56 -0
  194. package/lib/{chunk-HQXEF7BU.mjs → chunk-ZSBVX26X.mjs} +8 -8
  195. package/lib/{chunk-AD63JH53.mjs → chunk-ZUSPKNMI.mjs} +1 -1
  196. package/lib/{chunk-P2RMWELW.mjs → chunk-ZUZ6IVLL.mjs} +1 -1
  197. package/lib/{chunk-LKS2SY52.mjs → chunk-ZWCLOA5C.mjs} +1 -1
  198. package/lib/{chunk-4K5SE35T.mjs → chunk-ZX64XZS4.mjs} +1 -1
  199. package/lib/components/accordion/Accordion.mjs +1 -1
  200. package/lib/components/accordion/Accordion.native.mjs +1 -1
  201. package/lib/components/accordion/AccordionProps.d.mts +1 -0
  202. package/lib/components/accordion/AccordionProps.d.ts +1 -0
  203. package/lib/components/accordion/index.d.mts +2 -2
  204. package/lib/components/accordion/index.d.ts +2 -2
  205. package/lib/components/accordion/index.js +16 -16
  206. package/lib/components/accordion/index.mjs +1 -1
  207. package/lib/components/accordion/index.native.js +8 -1
  208. package/lib/components/accordion/index.native.mjs +7 -7
  209. package/lib/components/accordion/item/AccordionItem.mjs +1 -1
  210. package/lib/components/accordion/item/AccordionItem.native.js +8 -1
  211. package/lib/components/accordion/item/AccordionItem.native.mjs +7 -7
  212. package/lib/components/accordion/item/AccordionItemProps.d.mts +1 -0
  213. package/lib/components/accordion/item/AccordionItemProps.d.ts +1 -0
  214. package/lib/components/accordion/item/body/AccordionBody.mjs +1 -1
  215. package/lib/components/accordion/item/body/AccordionBody.native.mjs +1 -1
  216. package/lib/components/accordion/item/body/AccordionBodyProps.d.mts +1 -0
  217. package/lib/components/accordion/item/body/AccordionBodyProps.d.ts +1 -0
  218. package/lib/components/accordion/item/body/index.mjs +1 -1
  219. package/lib/components/accordion/item/body/index.native.mjs +1 -1
  220. package/lib/components/accordion/item/header/AccordionHeader.mjs +1 -1
  221. package/lib/components/accordion/item/header/AccordionHeader.native.mjs +1 -1
  222. package/lib/components/accordion/item/header/AccordionHeaderProps.d.mts +1 -0
  223. package/lib/components/accordion/item/header/AccordionHeaderProps.d.ts +1 -0
  224. package/lib/components/accordion/item/header/index.mjs +1 -1
  225. package/lib/components/accordion/item/header/index.native.mjs +1 -1
  226. package/lib/components/accordion/item/index.mjs +1 -1
  227. package/lib/components/accordion/item/index.native.js +8 -1
  228. package/lib/components/accordion/item/index.native.mjs +7 -7
  229. package/lib/components/alert/Alert.js +40 -41
  230. package/lib/components/alert/Alert.mjs +15 -15
  231. package/lib/components/alert/Alert.native.js +354 -323
  232. package/lib/components/alert/Alert.native.mjs +20 -21
  233. package/lib/components/alert/AlertProps.d.mts +1 -0
  234. package/lib/components/alert/AlertProps.d.ts +1 -0
  235. package/lib/components/alert/AlertPropsDefaults.js +2 -0
  236. package/lib/components/alert/ToasterStatusPropsDefaults.js +2 -0
  237. package/lib/components/alert/context/ToastPropsDefaults.js +2 -0
  238. package/lib/components/alert/index.d.mts +1 -1
  239. package/lib/components/alert/index.d.ts +1 -1
  240. package/lib/components/alert/index.js +40 -41
  241. package/lib/components/alert/index.mjs +15 -15
  242. package/lib/components/alert/index.native.js +354 -323
  243. package/lib/components/alert/index.native.mjs +20 -21
  244. package/lib/components/autocomplete/AutoComplete.d.mts +1 -1
  245. package/lib/components/autocomplete/AutoComplete.d.ts +1 -1
  246. package/lib/components/autocomplete/AutoComplete.js +85 -51
  247. package/lib/components/autocomplete/AutoComplete.mjs +29 -29
  248. package/lib/components/autocomplete/AutoComplete.native.js +208 -164
  249. package/lib/components/autocomplete/AutoComplete.native.mjs +19 -20
  250. package/lib/components/autocomplete/AutoCompletePropsNativeDefaults.js +11 -0
  251. package/lib/components/autocomplete/AutoCompletePropsWebDefaults.js +11 -0
  252. package/lib/components/autocomplete/index.js +85 -53
  253. package/lib/components/autocomplete/index.mjs +31 -31
  254. package/lib/components/autocomplete/index.native.js +217 -180
  255. package/lib/components/autocomplete/index.native.mjs +26 -27
  256. package/lib/components/autocomplete/item/AutoCompleteIem.native.d.mts +1 -0
  257. package/lib/components/autocomplete/item/AutoCompleteIem.native.d.ts +1 -0
  258. package/lib/components/autocomplete/item/AutoCompleteIem.native.js +91 -95
  259. package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +6 -7
  260. package/lib/components/autocomplete/item/AutoCompleteItem.d.mts +1 -0
  261. package/lib/components/autocomplete/item/AutoCompleteItem.d.ts +1 -0
  262. package/lib/components/autocomplete/item/AutoCompleteItem.mjs +1 -1
  263. package/lib/components/autocomplete/item/AutoCompleteItemProps.d.mts +1 -0
  264. package/lib/components/autocomplete/item/AutoCompleteItemProps.d.ts +1 -0
  265. package/lib/components/autocomplete/item/index.mjs +2 -2
  266. package/lib/components/autocomplete/item/index.native.js +91 -95
  267. package/lib/components/autocomplete/item/index.native.mjs +6 -7
  268. package/lib/components/autocomplete/menu/AutoCompleteMenu.d.mts +2 -1
  269. package/lib/components/autocomplete/menu/AutoCompleteMenu.d.ts +2 -1
  270. package/lib/components/autocomplete/menu/AutoCompleteMenu.js +1 -8
  271. package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +2 -2
  272. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.mts +1 -0
  273. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.d.ts +1 -0
  274. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +111 -109
  275. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +15 -16
  276. package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.mts +1 -0
  277. package/lib/components/autocomplete/menu/AutoCompleteMenuProps.d.ts +1 -0
  278. package/lib/components/autocomplete/menu/index.js +1 -8
  279. package/lib/components/autocomplete/menu/index.mjs +3 -3
  280. package/lib/components/autocomplete/menu/index.native.js +111 -109
  281. package/lib/components/autocomplete/menu/index.native.mjs +15 -16
  282. package/lib/components/autolayout/AutoLayout/AutoLayout.native.js +2 -0
  283. package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +3 -3
  284. package/lib/components/autolayout/AutoLayout/index.native.js +2 -0
  285. package/lib/components/autolayout/AutoLayout/index.native.mjs +3 -3
  286. package/lib/components/autolayout/AutoLayoutWrapper/index.native.js +2 -0
  287. package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +4 -4
  288. package/lib/components/autolayout/SpacingMatrix/index.d.mts +1 -0
  289. package/lib/components/autolayout/SpacingMatrix/index.d.ts +1 -0
  290. package/lib/components/autolayout/SpacingMatrix/index.native.d.mts +1 -0
  291. package/lib/components/autolayout/SpacingMatrix/index.native.d.ts +1 -0
  292. package/lib/components/autolayout/helpers/AutoLayout.helpers.js +2 -0
  293. package/lib/components/autolayout/helpers/AutoLayout.helpers.mjs +1 -1
  294. package/lib/components/autolayout/helpers/AutoLayout.helpers.native.js +2 -0
  295. package/lib/components/autolayout/helpers/AutoLayout.helpers.native.mjs +2 -2
  296. package/lib/components/autolayout/index.native.js +2 -0
  297. package/lib/components/autolayout/index.native.mjs +4 -4
  298. package/lib/components/autolayout/interface.d.mts +1 -0
  299. package/lib/components/autolayout/interface.d.ts +1 -0
  300. package/lib/components/badge/Badge.js +1 -0
  301. package/lib/components/badge/Badge.mjs +11 -11
  302. package/lib/components/badge/Badge.native.js +16 -22
  303. package/lib/components/badge/Badge.native.mjs +14 -15
  304. package/lib/components/badge/BadgeProps.d.mts +1 -0
  305. package/lib/components/badge/BadgeProps.d.ts +1 -0
  306. package/lib/components/badge/index.d.mts +1 -0
  307. package/lib/components/badge/index.d.ts +1 -0
  308. package/lib/components/badge/index.js +12 -0
  309. package/lib/components/badge/index.mjs +17 -13
  310. package/lib/components/badge/index.native.js +16 -22
  311. package/lib/components/badge/index.native.mjs +14 -15
  312. package/lib/components/box/Box.js +1 -0
  313. package/lib/components/box/Box.mjs +5 -5
  314. package/lib/components/box/Box.native.js +1 -0
  315. package/lib/components/box/Box.native.mjs +3 -3
  316. package/lib/components/box/BoxProps.d.mts +1 -0
  317. package/lib/components/box/BoxProps.d.ts +1 -0
  318. package/lib/components/box/BoxPropsDefaults.js +4 -0
  319. package/lib/components/box/content/BoxContent.js +1 -0
  320. package/lib/components/box/content/BoxContent.mjs +6 -6
  321. package/lib/components/box/content/BoxContent.native.js +2 -9
  322. package/lib/components/box/content/BoxContent.native.mjs +3 -3
  323. package/lib/components/box/content/BoxContentProps.d.mts +1 -0
  324. package/lib/components/box/content/BoxContentProps.d.ts +1 -0
  325. package/lib/components/box/content/BoxContentPropsDefaults.js +2 -0
  326. package/lib/components/box/content/index.js +1 -0
  327. package/lib/components/box/content/index.mjs +7 -7
  328. package/lib/components/box/content/index.native.js +2 -9
  329. package/lib/components/box/content/index.native.mjs +3 -3
  330. package/lib/components/box/footer/BoxFooter.js +1 -0
  331. package/lib/components/box/footer/BoxFooter.mjs +6 -6
  332. package/lib/components/box/footer/BoxFooter.native.js +13 -19
  333. package/lib/components/box/footer/BoxFooter.native.mjs +13 -14
  334. package/lib/components/box/footer/BoxFooterProps.d.mts +1 -0
  335. package/lib/components/box/footer/BoxFooterProps.d.ts +1 -0
  336. package/lib/components/box/footer/BoxFooterPropsDefaults.js +2 -0
  337. package/lib/components/box/footer/index.js +1 -0
  338. package/lib/components/box/footer/index.mjs +7 -7
  339. package/lib/components/box/footer/index.native.js +13 -19
  340. package/lib/components/box/footer/index.native.mjs +13 -14
  341. package/lib/components/box/header/BoxHeader.js +3 -0
  342. package/lib/components/box/header/BoxHeader.mjs +7 -7
  343. package/lib/components/box/header/BoxHeader.native.js +1 -0
  344. package/lib/components/box/header/BoxHeader.native.mjs +3 -3
  345. package/lib/components/box/header/BoxHeaderProps.d.mts +1 -0
  346. package/lib/components/box/header/BoxHeaderProps.d.ts +1 -0
  347. package/lib/components/box/header/BoxHeaderPropsDefaults.js +2 -0
  348. package/lib/components/box/header/index.js +3 -0
  349. package/lib/components/box/header/index.mjs +8 -8
  350. package/lib/components/box/header/index.native.js +1 -0
  351. package/lib/components/box/header/index.native.mjs +3 -3
  352. package/lib/components/box/index.js +3 -0
  353. package/lib/components/box/index.mjs +19 -19
  354. package/lib/components/box/index.native.js +25 -39
  355. package/lib/components/box/index.native.mjs +20 -21
  356. package/lib/components/box/item/BoxItem.mjs +1 -1
  357. package/lib/components/box/item/BoxItem.native.mjs +1 -1
  358. package/lib/components/box/item/BoxItemProps.d.mts +1 -0
  359. package/lib/components/box/item/BoxItemProps.d.ts +1 -0
  360. package/lib/components/box/item/index.mjs +1 -1
  361. package/lib/components/box/item/index.native.mjs +1 -1
  362. package/lib/components/box/table-container/BoxTableContainer.mjs +1 -1
  363. package/lib/components/box/table-container/BoxTableContainer.native.mjs +1 -1
  364. package/lib/components/box/table-container/BoxTableContainerProps.d.mts +1 -0
  365. package/lib/components/box/table-container/BoxTableContainerProps.d.ts +1 -0
  366. package/lib/components/box/table-container/index.mjs +1 -1
  367. package/lib/components/box/table-container/index.native.mjs +1 -1
  368. package/lib/components/breadcrumb/Breadcrumb.mjs +1 -1
  369. package/lib/components/breadcrumb/Breadcrumb.native.js +8 -1
  370. package/lib/components/breadcrumb/Breadcrumb.native.mjs +7 -7
  371. package/lib/components/breadcrumb/BreadcrumbProps.d.mts +1 -0
  372. package/lib/components/breadcrumb/BreadcrumbProps.d.ts +1 -0
  373. package/lib/components/breadcrumb/index.js +1 -0
  374. package/lib/components/breadcrumb/index.mjs +11 -11
  375. package/lib/components/breadcrumb/index.native.js +69 -70
  376. package/lib/components/breadcrumb/index.native.mjs +11 -13
  377. package/lib/components/breadcrumb/item/BreadcrumbItem.js +1 -0
  378. package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +11 -11
  379. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +93 -100
  380. package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +6 -8
  381. package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.mts +1 -0
  382. package/lib/components/breadcrumb/item/BreadcrumbItemProps.d.ts +1 -0
  383. package/lib/components/breadcrumb/item/index.js +1 -0
  384. package/lib/components/breadcrumb/item/index.mjs +11 -11
  385. package/lib/components/breadcrumb/item/index.native.js +93 -100
  386. package/lib/components/breadcrumb/item/index.native.mjs +6 -8
  387. package/lib/components/button/Button.js +1 -0
  388. package/lib/components/button/Button.mjs +10 -10
  389. package/lib/components/button/Button.native.js +107 -108
  390. package/lib/components/button/Button.native.mjs +14 -16
  391. package/lib/components/button/ButtonProps.d.mts +1 -0
  392. package/lib/components/button/ButtonProps.d.ts +1 -0
  393. package/lib/components/button/ButtonPropsDefaults.js +2 -0
  394. package/lib/components/button/index.js +1 -0
  395. package/lib/components/button/index.mjs +10 -10
  396. package/lib/components/button/index.native.js +110 -111
  397. package/lib/components/button/index.native.mjs +14 -16
  398. package/lib/components/button/list/ButtonList.mjs +2 -2
  399. package/lib/components/button/list/ButtonList.native.mjs +1 -1
  400. package/lib/components/button/list/ButtonListProps.d.mts +1 -0
  401. package/lib/components/button/list/ButtonListProps.d.ts +1 -0
  402. package/lib/components/button/list/index.mjs +2 -2
  403. package/lib/components/button/list/index.native.mjs +1 -1
  404. package/lib/components/calendar/Calendar.d.mts +15 -0
  405. package/lib/components/calendar/Calendar.d.ts +15 -0
  406. package/lib/components/calendar/Calendar.js +1430 -0
  407. package/lib/components/calendar/Calendar.mjs +81 -0
  408. package/lib/components/calendar/Calendar.native.d.mts +3 -0
  409. package/lib/components/calendar/Calendar.native.d.ts +3 -0
  410. package/lib/components/calendar/Calendar.native.js +41 -0
  411. package/lib/components/calendar/Calendar.native.mjs +8 -0
  412. package/lib/components/calendar/CalendarProps.d.mts +11 -0
  413. package/lib/components/calendar/CalendarProps.d.ts +11 -0
  414. package/lib/components/calendar/CalendarProps.js +19 -0
  415. package/lib/components/calendar/CalendarProps.mjs +2 -0
  416. package/lib/components/calendar/CalendarPropsDefaults.js +63 -0
  417. package/lib/components/calendar/index.d.mts +3 -0
  418. package/lib/components/calendar/index.d.ts +3 -0
  419. package/lib/components/calendar/index.js +1434 -0
  420. package/lib/components/calendar/index.mjs +83 -0
  421. package/lib/components/calendar/index.native.d.mts +3 -0
  422. package/lib/components/calendar/index.native.d.ts +3 -0
  423. package/lib/components/calendar/index.native.js +47 -0
  424. package/lib/components/calendar/index.native.mjs +10 -0
  425. package/lib/components/card/Card.mjs +1 -1
  426. package/lib/components/card/Card.native.js +1 -0
  427. package/lib/components/card/Card.native.mjs +3 -3
  428. package/lib/components/card/CardProps.d.mts +1 -0
  429. package/lib/components/card/CardProps.d.ts +1 -0
  430. package/lib/components/card/content/CardContent.mjs +1 -1
  431. package/lib/components/card/content/CardContent.native.js +1 -0
  432. package/lib/components/card/content/CardContent.native.mjs +4 -4
  433. package/lib/components/card/content/CardContentProps.d.mts +1 -0
  434. package/lib/components/card/content/CardContentProps.d.ts +1 -0
  435. package/lib/components/card/content/index.mjs +1 -1
  436. package/lib/components/card/content/index.native.js +1 -0
  437. package/lib/components/card/content/index.native.mjs +4 -4
  438. package/lib/components/card/image/CardImage.mjs +1 -1
  439. package/lib/components/card/image/CardImage.native.js +1 -0
  440. package/lib/components/card/image/CardImage.native.mjs +4 -4
  441. package/lib/components/card/image/index.mjs +1 -1
  442. package/lib/components/card/image/index.native.js +1 -0
  443. package/lib/components/card/image/index.native.mjs +4 -4
  444. package/lib/components/card/index.mjs +2 -2
  445. package/lib/components/card/index.native.js +1 -0
  446. package/lib/components/card/index.native.mjs +7 -7
  447. package/lib/components/checkbox/Checkbox.mjs +1 -1
  448. package/lib/components/checkbox/Checkbox.native.js +72 -72
  449. package/lib/components/checkbox/Checkbox.native.mjs +10 -11
  450. package/lib/components/checkbox/index.js +160 -72
  451. package/lib/components/checkbox/index.mjs +28 -24
  452. package/lib/components/checkbox/index.native.js +206 -204
  453. package/lib/components/checkbox/index.native.mjs +25 -25
  454. package/lib/components/checkbox/list/CheckboxList.js +98 -20
  455. package/lib/components/checkbox/list/CheckboxList.mjs +22 -18
  456. package/lib/components/checkbox/list/CheckboxList.native.d.mts +1 -0
  457. package/lib/components/checkbox/list/CheckboxList.native.d.ts +1 -0
  458. package/lib/components/checkbox/list/CheckboxList.native.js +200 -4
  459. package/lib/components/checkbox/list/CheckboxList.native.mjs +18 -5
  460. package/lib/components/checkbox/list/CheckboxListProps/index.d.mts +1 -0
  461. package/lib/components/checkbox/list/CheckboxListProps/index.d.ts +1 -0
  462. package/lib/components/checkbox/list/CheckboxListProps/index.native.d.mts +2 -0
  463. package/lib/components/checkbox/list/CheckboxListProps/index.native.d.ts +2 -0
  464. package/lib/components/checkbox/list/CheckboxListProps.d.mts +27 -0
  465. package/lib/components/checkbox/list/CheckboxListProps.d.ts +27 -0
  466. package/lib/components/checkbox/list/CheckboxListProps.js +19 -0
  467. package/lib/components/checkbox/list/CheckboxListProps.mjs +1 -0
  468. package/lib/components/checkbox/list/CheckboxListPropsDefaults.js +17 -0
  469. package/lib/components/checkbox/list/CheckboxListWebPropsDefaults.js +68 -0
  470. package/lib/components/checkbox/list/index.js +98 -20
  471. package/lib/components/checkbox/list/index.mjs +22 -18
  472. package/lib/components/checkbox/list/index.native.js +200 -4
  473. package/lib/components/checkbox/list/index.native.mjs +18 -5
  474. package/lib/components/checkbox/tiles/CheckboxTiles.js +3 -1
  475. package/lib/components/checkbox/tiles/CheckboxTiles.mjs +3 -3
  476. package/lib/components/checkbox/tiles/CheckboxTiles.native.mjs +3 -3
  477. package/lib/components/checkbox/tiles/CheckboxTilesProps.d.mts +1 -0
  478. package/lib/components/checkbox/tiles/CheckboxTilesProps.d.ts +1 -0
  479. package/lib/components/checkbox/tiles/index.js +3 -1
  480. package/lib/components/checkbox/tiles/index.mjs +3 -3
  481. package/lib/components/checkbox/tiles/index.native.mjs +3 -3
  482. package/lib/components/checkbox/tiles/tile/CheckboxTile.js +26 -17
  483. package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +17 -17
  484. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.mts +1 -1
  485. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.d.ts +1 -1
  486. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +208 -220
  487. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +16 -17
  488. package/lib/components/checkbox/tiles/tile/{CheckboxTileProps.d.mts → CheckboxTileProps/index.d.mts} +5 -4
  489. package/lib/components/checkbox/tiles/tile/{CheckboxTileProps.d.ts → CheckboxTileProps/index.d.ts} +5 -4
  490. package/lib/components/checkbox/tiles/tile/{CheckboxTileProps.js → CheckboxTileProps/index.js} +1 -1
  491. package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.mjs +2 -0
  492. package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.d.mts +18 -0
  493. package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.d.ts +18 -0
  494. package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.js +19 -0
  495. package/lib/components/checkbox/tiles/tile/CheckboxTileProps/index.native.mjs +2 -0
  496. package/lib/components/checkbox/tiles/tile/index.js +26 -17
  497. package/lib/components/checkbox/tiles/tile/index.mjs +18 -18
  498. package/lib/components/checkbox/tiles/tile/index.native.d.mts +1 -1
  499. package/lib/components/checkbox/tiles/tile/index.native.d.ts +1 -1
  500. package/lib/components/checkbox/tiles/tile/index.native.js +208 -220
  501. package/lib/components/checkbox/tiles/tile/index.native.mjs +17 -18
  502. package/lib/components/chips/Chips.mjs +1 -1
  503. package/lib/components/chips/Chips.native.js +120 -118
  504. package/lib/components/chips/Chips.native.mjs +10 -11
  505. package/lib/components/chips/ChipsProps.d.mts +1 -0
  506. package/lib/components/chips/ChipsProps.d.ts +1 -0
  507. package/lib/components/chips/index.mjs +1 -1
  508. package/lib/components/chips/index.native.js +120 -118
  509. package/lib/components/chips/index.native.mjs +11 -12
  510. package/lib/components/chips/list/ChipsList.mjs +1 -1
  511. package/lib/components/chips/list/ChipsList.native.mjs +1 -1
  512. package/lib/components/chips/list/ChipsListProps.d.mts +1 -0
  513. package/lib/components/chips/list/ChipsListProps.d.ts +1 -0
  514. package/lib/components/chips/list/index.mjs +1 -1
  515. package/lib/components/chips/list/index.native.mjs +1 -1
  516. package/lib/components/columns/Columns.js +2 -0
  517. package/lib/components/columns/Columns.mjs +3 -3
  518. package/lib/components/columns/Columns.native.js +67 -64
  519. package/lib/components/columns/Columns.native.mjs +4 -4
  520. package/lib/components/columns/ColumnsProps.d.mts +1 -0
  521. package/lib/components/columns/ColumnsProps.d.ts +1 -0
  522. package/lib/components/columns/column/Column.js +2 -0
  523. package/lib/components/columns/column/Column.mjs +3 -3
  524. package/lib/components/columns/column/Column.native.d.mts +5 -2
  525. package/lib/components/columns/column/Column.native.d.ts +5 -2
  526. package/lib/components/columns/column/Column.native.js +56 -53
  527. package/lib/components/columns/column/Column.native.mjs +14 -15
  528. package/lib/components/columns/column/ColumnProps.d.mts +1 -0
  529. package/lib/components/columns/column/ColumnProps.d.ts +1 -0
  530. package/lib/components/columns/column/ColumnPropsDefaults.js +14 -14
  531. package/lib/components/columns/column/index.js +2 -0
  532. package/lib/components/columns/column/index.mjs +4 -4
  533. package/lib/components/columns/column/index.native.js +56 -53
  534. package/lib/components/columns/column/index.native.mjs +14 -15
  535. package/lib/components/columns/context/index.d.mts +3 -2
  536. package/lib/components/columns/context/index.d.ts +3 -2
  537. package/lib/components/columns/context/index.js +3 -2
  538. package/lib/components/columns/context/index.mjs +1 -1
  539. package/lib/components/columns/index.js +2 -0
  540. package/lib/components/columns/index.mjs +5 -5
  541. package/lib/components/columns/index.native.js +120 -115
  542. package/lib/components/columns/index.native.mjs +15 -16
  543. package/lib/components/container/Container.mjs +1 -1
  544. package/lib/components/container/Container.native.mjs +1 -1
  545. package/lib/components/container/ContainerProps.d.mts +1 -0
  546. package/lib/components/container/ContainerProps.d.ts +1 -0
  547. package/lib/components/container/index.mjs +1 -1
  548. package/lib/components/container/index.native.mjs +1 -1
  549. package/lib/components/countdown/Countdown.mjs +1 -1
  550. package/lib/components/countdown/Countdown.native.js +98 -102
  551. package/lib/components/countdown/Countdown.native.mjs +6 -7
  552. package/lib/components/countdown/index.mjs +2 -2
  553. package/lib/components/countdown/index.native.js +98 -102
  554. package/lib/components/countdown/index.native.mjs +7 -8
  555. package/lib/components/datepicker/DatePicker.d.mts +22 -0
  556. package/lib/components/datepicker/DatePicker.d.ts +22 -0
  557. package/lib/components/datepicker/DatePicker.js +2356 -0
  558. package/lib/components/datepicker/DatePicker.mjs +101 -0
  559. package/lib/components/datepicker/DatePicker.native.d.mts +3 -0
  560. package/lib/components/datepicker/DatePicker.native.d.ts +3 -0
  561. package/lib/components/datepicker/DatePicker.native.js +41 -0
  562. package/lib/components/datepicker/DatePicker.native.mjs +8 -0
  563. package/lib/components/datepicker/DatePickerEnum.d.mts +7 -0
  564. package/lib/components/datepicker/DatePickerEnum.d.ts +7 -0
  565. package/lib/components/datepicker/DatePickerEnum.js +37 -0
  566. package/lib/components/datepicker/DatePickerEnum.mjs +14 -0
  567. package/lib/components/datepicker/DatePickerProps.d.mts +37 -0
  568. package/lib/components/datepicker/DatePickerProps.d.ts +37 -0
  569. package/lib/components/datepicker/DatePickerProps.js +19 -0
  570. package/lib/components/datepicker/DatePickerProps.mjs +1 -0
  571. package/lib/components/datepicker/DatePickerPropsDefaults.js +117 -0
  572. package/lib/components/datepicker/HandleKeyPressDefaults.js +14 -0
  573. package/lib/components/datepicker/SegmentDefaults.js +33 -0
  574. package/lib/components/datepicker/SegmentsDefaults.js +14 -0
  575. package/lib/components/datepicker/index.d.mts +2 -0
  576. package/lib/components/datepicker/index.d.ts +2 -0
  577. package/lib/components/datepicker/index.js +2360 -0
  578. package/lib/components/datepicker/index.mjs +102 -0
  579. package/lib/components/datepicker/index.native.d.mts +2 -0
  580. package/lib/components/datepicker/index.native.d.ts +2 -0
  581. package/lib/components/datepicker/index.native.js +47 -0
  582. package/lib/components/datepicker/index.native.mjs +9 -0
  583. package/lib/components/divider/Divider.js +26 -18
  584. package/lib/components/divider/Divider.mjs +9 -9
  585. package/lib/components/divider/Divider.native.js +126 -126
  586. package/lib/components/divider/Divider.native.mjs +10 -11
  587. package/lib/components/divider/DividerProps/index.mjs +0 -1
  588. package/lib/components/divider/DividerProps.d.mts +15 -0
  589. package/lib/components/divider/DividerProps.d.ts +15 -0
  590. package/lib/components/divider/DividerProps.js +19 -0
  591. package/lib/components/divider/DividerProps.mjs +2 -0
  592. package/lib/components/{checkbox/tiles/tile/CheckboxTilePropsDefaults.js → divider/DividerPropsDefaults.js} +18 -26
  593. package/lib/components/divider/index.js +26 -18
  594. package/lib/components/divider/index.mjs +10 -10
  595. package/lib/components/divider/index.native.js +126 -126
  596. package/lib/components/divider/index.native.mjs +11 -12
  597. package/lib/components/enumsComponentsName.d.mts +3 -1
  598. package/lib/components/enumsComponentsName.d.ts +3 -1
  599. package/lib/components/enumsComponentsName.js +2 -0
  600. package/lib/components/enumsComponentsName.mjs +1 -1
  601. package/lib/components/fab/Fab.js +50 -51
  602. package/lib/components/fab/Fab.mjs +10 -10
  603. package/lib/components/fab/Fab.native.js +148 -129
  604. package/lib/components/fab/Fab.native.mjs +14 -15
  605. package/lib/components/fab/FabProps.d.mts +1 -0
  606. package/lib/components/fab/FabProps.d.ts +1 -0
  607. package/lib/components/fab/FabPropsDefaults.js +2 -0
  608. package/lib/components/fab/index.js +50 -51
  609. package/lib/components/fab/index.mjs +10 -10
  610. package/lib/components/fab/index.native.js +148 -129
  611. package/lib/components/fab/index.native.mjs +14 -15
  612. package/lib/components/flex-box/FlexBox.d.mts +3 -2
  613. package/lib/components/flex-box/FlexBox.d.ts +3 -2
  614. package/lib/components/flex-box/FlexBox.js +33 -15
  615. package/lib/components/flex-box/FlexBox.mjs +3 -3
  616. package/lib/components/flex-box/FlexBox.native.js +137 -130
  617. package/lib/components/flex-box/FlexBox.native.mjs +16 -17
  618. package/lib/components/flex-box/FlexBoxProps.d.mts +17 -11
  619. package/lib/components/flex-box/FlexBoxProps.d.ts +17 -11
  620. package/lib/components/flex-box/FlexBoxPropsDefaults.js +24 -1
  621. package/lib/components/flex-box/ResponsiveValueDefaults.js +37 -0
  622. package/lib/components/flex-box/flex-item/FlexItem.js +4 -2
  623. package/lib/components/flex-box/flex-item/FlexItem.mjs +3 -3
  624. package/lib/components/flex-box/flex-item/FlexItem.native.mjs +3 -3
  625. package/lib/components/flex-box/flex-item/FlexItemProps.d.mts +3 -2
  626. package/lib/components/flex-box/flex-item/FlexItemProps.d.ts +3 -2
  627. package/lib/components/flex-box/flex-item/FlexItemPropsDefaults.js +1 -1
  628. package/lib/components/flex-box/flex-item/FlexSizeDefaults.js +8 -8
  629. package/lib/components/flex-box/index.js +35 -17
  630. package/lib/components/flex-box/index.mjs +4 -4
  631. package/lib/components/flex-box/index.native.js +143 -136
  632. package/lib/components/flex-box/index.native.mjs +17 -18
  633. package/lib/components/hero/Hero.d.mts +1 -1
  634. package/lib/components/hero/Hero.d.ts +1 -1
  635. package/lib/components/hero/Hero.js +3 -2
  636. package/lib/components/hero/Hero.mjs +5 -5
  637. package/lib/components/hero/Hero.native.js +37 -51
  638. package/lib/components/hero/Hero.native.mjs +18 -19
  639. package/lib/components/hero/HeroProps.d.mts +1 -0
  640. package/lib/components/hero/HeroProps.d.ts +1 -0
  641. package/lib/components/hero/HeroPropsDefaults.js +2 -0
  642. package/lib/components/hero/index.js +3 -4
  643. package/lib/components/hero/index.mjs +6 -6
  644. package/lib/components/hero/index.native.js +37 -51
  645. package/lib/components/hero/index.native.mjs +19 -20
  646. package/lib/components/icon/Icon.js +1 -0
  647. package/lib/components/icon/Icon.mjs +6 -6
  648. package/lib/components/icon/Icon.native.js +8 -1
  649. package/lib/components/icon/Icon.native.mjs +4 -4
  650. package/lib/components/icon/IconNameEnum.d.mts +1 -0
  651. package/lib/components/icon/IconNameEnum.d.ts +1 -0
  652. package/lib/components/icon/IconNameEnum.js +1 -0
  653. package/lib/components/icon/IconNameEnum.mjs +1 -1
  654. package/lib/components/icon/{IconProps.d.mts → IconProps/index.d.mts} +4 -4
  655. package/lib/components/icon/{IconProps.d.ts → IconProps/index.d.ts} +4 -4
  656. package/lib/components/icon/{IconProps.js → IconProps/index.js} +1 -1
  657. package/lib/components/icon/IconProps/index.mjs +2 -0
  658. package/lib/components/icon/IconProps/index.native.d.mts +19 -0
  659. package/lib/components/icon/IconProps/index.native.d.ts +19 -0
  660. package/lib/components/icon/IconProps/index.native.js +19 -0
  661. package/lib/components/icon/IconProps/index.native.mjs +2 -0
  662. package/lib/components/icon/index.js +2 -0
  663. package/lib/components/icon/index.mjs +8 -8
  664. package/lib/components/icon/index.native.d.mts +1 -1
  665. package/lib/components/icon/index.native.d.ts +1 -1
  666. package/lib/components/icon/index.native.js +9 -1
  667. package/lib/components/icon/index.native.mjs +6 -6
  668. package/lib/components/image/Image.d.mts +2 -0
  669. package/lib/components/image/Image.d.ts +2 -0
  670. package/lib/components/image/Image.js +44 -33
  671. package/lib/components/image/Image.mjs +17 -17
  672. package/lib/components/image/Image.native.d.mts +2 -0
  673. package/lib/components/image/Image.native.d.ts +2 -0
  674. package/lib/components/image/Image.native.js +30 -23
  675. package/lib/components/image/Image.native.mjs +2 -2
  676. package/lib/components/image/ImageProps.d.mts +3 -1
  677. package/lib/components/image/ImageProps.d.ts +3 -1
  678. package/lib/components/image/ImagePropsDefaults.js +9 -0
  679. package/lib/components/image/index.js +44 -33
  680. package/lib/components/image/index.mjs +20 -20
  681. package/lib/components/image/index.native.js +30 -23
  682. package/lib/components/image/index.native.mjs +2 -2
  683. package/lib/components/index.d.mts +2 -0
  684. package/lib/components/index.d.ts +2 -0
  685. package/lib/components/index.js +3564 -2564
  686. package/lib/components/index.mjs +228 -212
  687. package/lib/components/index.native.d.mts +2 -0
  688. package/lib/components/index.native.d.ts +2 -0
  689. package/lib/components/index.native.js +2075 -1963
  690. package/lib/components/index.native.mjs +214 -209
  691. package/lib/components/input/ISecurityRulesDefaults.js +23 -0
  692. package/lib/components/input/Input.d.mts +5 -1
  693. package/lib/components/input/Input.d.ts +5 -1
  694. package/lib/components/input/Input.js +80 -41
  695. package/lib/components/input/Input.mjs +22 -22
  696. package/lib/components/input/Input.native.d.mts +3 -1
  697. package/lib/components/input/Input.native.d.ts +3 -1
  698. package/lib/components/input/Input.native.js +193 -149
  699. package/lib/components/input/Input.native.mjs +16 -17
  700. package/lib/components/input/InputProps.d.mts +10 -6
  701. package/lib/components/input/InputProps.d.ts +10 -6
  702. package/lib/components/input/InputPropsDefaults.js +11 -0
  703. package/lib/components/input/gauge/InputGauge.d.mts +5 -2
  704. package/lib/components/input/gauge/InputGauge.d.ts +5 -2
  705. package/lib/components/input/gauge/InputGauge.js +72 -42
  706. package/lib/components/input/gauge/InputGauge.mjs +17 -17
  707. package/lib/components/input/gauge/InputGauge.native.d.mts +4 -2
  708. package/lib/components/input/gauge/InputGauge.native.d.ts +4 -2
  709. package/lib/components/input/gauge/InputGauge.native.js +157 -114
  710. package/lib/components/input/gauge/InputGauge.native.mjs +15 -16
  711. package/lib/components/input/gauge/hook/useGauge.d.mts +11 -3
  712. package/lib/components/input/gauge/hook/useGauge.d.ts +11 -3
  713. package/lib/components/input/gauge/hook/useGauge.js +80 -62
  714. package/lib/components/input/gauge/hook/useGauge.mjs +16 -16
  715. package/lib/components/input/gauge/hook/useGauge.native.d.mts +11 -3
  716. package/lib/components/input/gauge/hook/useGauge.native.d.ts +11 -3
  717. package/lib/components/input/gauge/hook/useGauge.native.js +84 -73
  718. package/lib/components/input/gauge/hook/useGauge.native.mjs +13 -14
  719. package/lib/components/input/index.js +80 -41
  720. package/lib/components/input/index.mjs +23 -23
  721. package/lib/components/input/index.native.js +193 -149
  722. package/lib/components/input/index.native.mjs +16 -17
  723. package/lib/components/link/Link.d.mts +1 -0
  724. package/lib/components/link/Link.d.ts +1 -0
  725. package/lib/components/link/Link.js +1 -0
  726. package/lib/components/link/Link.mjs +9 -9
  727. package/lib/components/link/Link.native.js +8 -1
  728. package/lib/components/link/Link.native.mjs +7 -7
  729. package/lib/components/link/LinkDefaults.js +9 -0
  730. package/lib/components/link/LinkProps.d.mts +1 -0
  731. package/lib/components/link/LinkProps.d.ts +1 -0
  732. package/lib/components/link/LinkPropsDefaults.js +9 -0
  733. package/lib/components/link/LinkPropsNativeDefaults.js +9 -0
  734. package/lib/components/link/index.js +1 -0
  735. package/lib/components/link/index.mjs +10 -10
  736. package/lib/components/link/index.native.js +8 -1
  737. package/lib/components/link/index.native.mjs +7 -7
  738. package/lib/components/list/List.js +6 -8
  739. package/lib/components/list/List.mjs +2 -2
  740. package/lib/components/list/List.native.mjs +1 -1
  741. package/lib/components/list/index.js +27 -28
  742. package/lib/components/list/index.mjs +22 -22
  743. package/lib/components/list/index.native.js +74 -72
  744. package/lib/components/list/index.native.mjs +15 -16
  745. package/lib/components/list/item/ListItem.js +14 -14
  746. package/lib/components/list/item/ListItem.mjs +17 -17
  747. package/lib/components/list/item/ListItem.native.js +74 -72
  748. package/lib/components/list/item/ListItem.native.mjs +14 -15
  749. package/lib/components/list/item/ListItemPropsDefaults.js +2 -0
  750. package/lib/components/list/item/description/ListItemDescription.js +7 -6
  751. package/lib/components/list/item/description/ListItemDescription.mjs +3 -3
  752. package/lib/components/list/item/description/ListItemDescription.native.d.mts +1 -1
  753. package/lib/components/list/item/description/ListItemDescription.native.d.ts +1 -1
  754. package/lib/components/list/item/description/ListItemDescription.native.js +191 -181
  755. package/lib/components/list/item/description/ListItemDescription.native.mjs +15 -16
  756. package/lib/components/list/item/description/index.js +7 -6
  757. package/lib/components/list/item/description/index.mjs +3 -3
  758. package/lib/components/list/item/description/index.native.js +191 -181
  759. package/lib/components/list/item/description/index.native.mjs +15 -16
  760. package/lib/components/list/item/index.js +21 -20
  761. package/lib/components/list/item/index.mjs +21 -21
  762. package/lib/components/list/item/index.native.js +74 -72
  763. package/lib/components/list/item/index.native.mjs +15 -16
  764. package/lib/components/modal/Modal.js +41 -42
  765. package/lib/components/modal/Modal.mjs +13 -13
  766. package/lib/components/modal/Modal.native.js +223 -208
  767. package/lib/components/modal/Modal.native.mjs +18 -19
  768. package/lib/components/modal/body/ModalBody.mjs +2 -2
  769. package/lib/components/modal/body/ModalBody.native.js +17 -23
  770. package/lib/components/modal/body/ModalBody.native.mjs +13 -14
  771. package/lib/components/modal/body/ModalBodyProps.d.mts +1 -0
  772. package/lib/components/modal/body/ModalBodyProps.d.ts +1 -0
  773. package/lib/components/modal/body/index.native.js +17 -23
  774. package/lib/components/modal/body/index.native.mjs +13 -14
  775. package/lib/components/modal/footer/ModalFooter.js +4 -6
  776. package/lib/components/modal/footer/ModalFooter.mjs +3 -3
  777. package/lib/components/modal/footer/ModalFooter.native.js +108 -106
  778. package/lib/components/modal/footer/ModalFooter.native.mjs +15 -16
  779. package/lib/components/modal/footer/ModalFooterProps.d.mts +1 -0
  780. package/lib/components/modal/footer/ModalFooterProps.d.ts +1 -0
  781. package/lib/components/modal/footer/index.native.js +108 -106
  782. package/lib/components/modal/footer/index.native.mjs +15 -16
  783. package/lib/components/modal/index.js +45 -48
  784. package/lib/components/modal/index.mjs +14 -14
  785. package/lib/components/modal/index.native.js +239 -226
  786. package/lib/components/modal/index.native.mjs +22 -23
  787. package/lib/components/otp/Otp.mjs +5 -5
  788. package/lib/components/otp/Otp.native.js +160 -149
  789. package/lib/components/otp/Otp.native.mjs +16 -17
  790. package/lib/components/otp/index.mjs +6 -6
  791. package/lib/components/otp/index.native.js +160 -149
  792. package/lib/components/otp/index.native.mjs +16 -17
  793. package/lib/components/pagination/Pagination.js +83 -76
  794. package/lib/components/pagination/Pagination.mjs +9 -9
  795. package/lib/components/pagination/Pagination.native.js +176 -176
  796. package/lib/components/pagination/Pagination.native.mjs +10 -11
  797. package/lib/components/pagination/index.js +83 -76
  798. package/lib/components/pagination/index.mjs +11 -11
  799. package/lib/components/pagination/index.native.js +176 -176
  800. package/lib/components/pagination/index.native.mjs +11 -12
  801. package/lib/components/popover/Popover.d.mts +5 -3
  802. package/lib/components/popover/Popover.d.ts +5 -3
  803. package/lib/components/popover/Popover.mjs +1 -1
  804. package/lib/components/popover/Popover.native.js +83 -91
  805. package/lib/components/popover/Popover.native.mjs +13 -14
  806. package/lib/components/popover/index.mjs +1 -1
  807. package/lib/components/popover/index.native.js +83 -91
  808. package/lib/components/popover/index.native.mjs +13 -14
  809. package/lib/components/price/Price.js +1 -0
  810. package/lib/components/price/Price.mjs +20 -20
  811. package/lib/components/price/Price.native.js +18 -24
  812. package/lib/components/price/Price.native.mjs +13 -14
  813. package/lib/components/price/PriceProps.d.mts +1 -0
  814. package/lib/components/price/PriceProps.d.ts +1 -0
  815. package/lib/components/price/index.js +1 -0
  816. package/lib/components/price/index.mjs +23 -23
  817. package/lib/components/price/index.native.js +18 -24
  818. package/lib/components/price/index.native.mjs +14 -15
  819. package/lib/components/product-tour/ProductTour.js +24 -14
  820. package/lib/components/product-tour/ProductTour.mjs +10 -10
  821. package/lib/components/product-tour/ProductTour.native.mjs +1 -1
  822. package/lib/components/product-tour/ProductTourProps.d.mts +1 -0
  823. package/lib/components/product-tour/ProductTourProps.d.ts +1 -0
  824. package/lib/components/product-tour/index.js +24 -14
  825. package/lib/components/product-tour/index.mjs +10 -10
  826. package/lib/components/product-tour/index.native.mjs +1 -1
  827. package/lib/components/progress/Progress.js +31 -32
  828. package/lib/components/progress/Progress.mjs +20 -20
  829. package/lib/components/progress/Progress.native.js +190 -180
  830. package/lib/components/progress/Progress.native.mjs +15 -16
  831. package/lib/components/progress/ProgressProps/index.d.mts +1 -0
  832. package/lib/components/progress/ProgressProps/index.d.ts +1 -0
  833. package/lib/components/progress/ProgressProps/index.native.d.mts +1 -0
  834. package/lib/components/progress/ProgressProps/index.native.d.ts +1 -0
  835. package/lib/components/progress/index.js +70 -73
  836. package/lib/components/progress/index.mjs +27 -27
  837. package/lib/components/progress/index.native.js +290 -282
  838. package/lib/components/progress/index.native.mjs +16 -17
  839. package/lib/components/progress/item/ProgressItem.js +1 -0
  840. package/lib/components/progress/item/ProgressItem.mjs +17 -17
  841. package/lib/components/progress/item/ProgressItem.native.mjs +1 -1
  842. package/lib/components/progress/item/ProgressItemProps/index.d.mts +1 -0
  843. package/lib/components/progress/item/ProgressItemProps/index.d.ts +1 -0
  844. package/lib/components/progress/item/ProgressItemProps/index.native.d.mts +1 -0
  845. package/lib/components/progress/item/ProgressItemProps/index.native.d.ts +1 -0
  846. package/lib/components/progress/item/index.js +1 -0
  847. package/lib/components/progress/item/index.mjs +18 -18
  848. package/lib/components/progress/item/index.native.mjs +1 -1
  849. package/lib/components/progress/radial/ProgressRadial.js +40 -41
  850. package/lib/components/progress/radial/ProgressRadial.mjs +8 -8
  851. package/lib/components/progress/radial/ProgressRadial.native.js +202 -202
  852. package/lib/components/progress/radial/ProgressRadial.native.mjs +14 -15
  853. package/lib/components/progress/radial/ProgressRadialProps.d.mts +23 -0
  854. package/lib/components/progress/radial/ProgressRadialProps.d.ts +23 -0
  855. package/lib/components/progress/radial/ProgressRadialProps.js +19 -0
  856. package/lib/components/progress/radial/ProgressRadialProps.mjs +1 -0
  857. package/lib/components/progress/radial/ProgressRadialPropsDefaults.js +239 -0
  858. package/lib/components/progress/radial/index.js +40 -41
  859. package/lib/components/progress/radial/index.mjs +9 -9
  860. package/lib/components/progress/radial/index.native.js +202 -202
  861. package/lib/components/progress/radial/index.native.mjs +14 -15
  862. package/lib/components/progress/radial/item/ProgressRadialItemProps.d.mts +1 -0
  863. package/lib/components/progress/radial/item/ProgressRadialItemProps.d.ts +1 -0
  864. package/lib/components/progress/radial/item/ProgressRadialItemPropsDefaults.js +1 -0
  865. package/lib/components/progress/radial/item/ProgressRadialtem.d.mts +1 -0
  866. package/lib/components/progress/radial/item/ProgressRadialtem.d.ts +1 -0
  867. package/lib/components/progress/radial/item/ProgressRadialtem.mjs +1 -1
  868. package/lib/components/progress/radial/item/index.mjs +1 -1
  869. package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.mts +1 -1
  870. package/lib/components/progress/radial/react-native-circular-progress/AnimatedCircularProgress.d.ts +1 -1
  871. package/lib/components/radio/Radio.js +39 -29
  872. package/lib/components/radio/Radio.mjs +2 -2
  873. package/lib/components/radio/Radio.native.js +157 -150
  874. package/lib/components/radio/Radio.native.mjs +14 -15
  875. package/lib/components/radio/index.js +261 -167
  876. package/lib/components/radio/index.mjs +27 -23
  877. package/lib/components/radio/index.native.js +365 -224
  878. package/lib/components/radio/index.native.mjs +32 -23
  879. package/lib/components/radio/list/RadioList.js +98 -20
  880. package/lib/components/radio/list/RadioList.mjs +22 -18
  881. package/lib/components/radio/list/RadioList.native.d.mts +1 -0
  882. package/lib/components/radio/list/RadioList.native.d.ts +1 -0
  883. package/lib/components/radio/list/RadioList.native.js +143 -4
  884. package/lib/components/radio/list/RadioList.native.mjs +20 -5
  885. package/lib/components/radio/list/RadioListProps.d.mts +2 -0
  886. package/lib/components/radio/list/RadioListProps.d.ts +2 -0
  887. package/lib/components/radio/list/RadioListPropsDefaults.js +7 -0
  888. package/lib/components/radio/list/RadioListWebPropsDefaults.js +7 -0
  889. package/lib/components/radio/list/index.js +98 -20
  890. package/lib/components/radio/list/index.mjs +22 -18
  891. package/lib/components/radio/list/index.native.js +143 -4
  892. package/lib/components/radio/list/index.native.mjs +20 -5
  893. package/lib/components/radio/tiles/RadioTiles.js +51 -50
  894. package/lib/components/radio/tiles/RadioTiles.mjs +18 -18
  895. package/lib/components/radio/tiles/RadioTiles.native.js +12 -14
  896. package/lib/components/radio/tiles/RadioTiles.native.mjs +3 -3
  897. package/lib/components/radio/tiles/RadioTilesProps.d.mts +1 -0
  898. package/lib/components/radio/tiles/RadioTilesProps.d.ts +1 -0
  899. package/lib/components/radio/tiles/index.js +51 -50
  900. package/lib/components/radio/tiles/index.mjs +18 -18
  901. package/lib/components/radio/tiles/index.native.js +12 -14
  902. package/lib/components/radio/tiles/index.native.mjs +3 -3
  903. package/lib/components/radio/tiles/tile/RadioTile.js +70 -63
  904. package/lib/components/radio/tiles/tile/RadioTile.mjs +17 -17
  905. package/lib/components/radio/tiles/tile/RadioTile.native.js +77 -78
  906. package/lib/components/radio/tiles/tile/RadioTile.native.mjs +15 -17
  907. package/lib/components/radio/tiles/tile/RadioTileProps.d.mts +1 -0
  908. package/lib/components/radio/tiles/tile/RadioTileProps.d.ts +1 -0
  909. package/lib/components/radio/tiles/tile/RadioTilePropsDefaults.js +2 -0
  910. package/lib/components/radio/tiles/tile/index.js +70 -63
  911. package/lib/components/radio/tiles/tile/index.mjs +17 -17
  912. package/lib/components/radio/tiles/tile/index.native.js +77 -78
  913. package/lib/components/radio/tiles/tile/index.native.mjs +15 -17
  914. package/lib/components/range/Range.js +1 -0
  915. package/lib/components/range/Range.mjs +16 -16
  916. package/lib/components/range/Range.native.js +74 -72
  917. package/lib/components/range/Range.native.mjs +14 -15
  918. package/lib/components/range/index.js +1 -0
  919. package/lib/components/range/index.mjs +16 -16
  920. package/lib/components/range/index.native.js +74 -72
  921. package/lib/components/range/index.native.mjs +14 -15
  922. package/lib/components/rows/Rows.mjs +2 -2
  923. package/lib/components/rows/Rows.native.mjs +1 -1
  924. package/lib/components/rows/RowsProps.d.mts +1 -0
  925. package/lib/components/rows/RowsProps.d.ts +1 -0
  926. package/lib/components/rows/index.mjs +2 -2
  927. package/lib/components/rows/index.native.mjs +1 -1
  928. package/lib/components/rows/row/Row.mjs +2 -2
  929. package/lib/components/rows/row/Row.native.mjs +1 -1
  930. package/lib/components/rows/row/RowProps.d.mts +1 -0
  931. package/lib/components/rows/row/RowProps.d.ts +1 -0
  932. package/lib/components/rows/row/index.mjs +2 -2
  933. package/lib/components/rows/row/index.native.mjs +1 -1
  934. package/lib/components/scroll-view/ScrollView.d.mts +1 -1
  935. package/lib/components/scroll-view/ScrollView.d.ts +1 -1
  936. package/lib/components/scroll-view/ScrollView.js +12 -8
  937. package/lib/components/scroll-view/ScrollView.mjs +17 -17
  938. package/lib/components/scroll-view/ScrollView.native.js +21 -27
  939. package/lib/components/scroll-view/ScrollView.native.mjs +13 -14
  940. package/lib/components/scroll-view/ScrollViewProps.d.mts +1 -0
  941. package/lib/components/scroll-view/ScrollViewProps.d.ts +1 -0
  942. package/lib/components/scroll-view/ScrollViewPropsDefaults.js +2 -0
  943. package/lib/components/scroll-view/index.js +12 -8
  944. package/lib/components/scroll-view/index.mjs +18 -18
  945. package/lib/components/scroll-view/index.native.js +21 -27
  946. package/lib/components/scroll-view/index.native.mjs +13 -14
  947. package/lib/components/section/Section.js +26 -27
  948. package/lib/components/section/Section.mjs +17 -17
  949. package/lib/components/section/Section.native.js +30 -38
  950. package/lib/components/section/Section.native.mjs +13 -14
  951. package/lib/components/section/SectionPropsDefaults.js +2 -0
  952. package/lib/components/section/index.js +26 -27
  953. package/lib/components/section/index.mjs +17 -17
  954. package/lib/components/section/index.native.js +30 -38
  955. package/lib/components/section/index.native.mjs +13 -14
  956. package/lib/components/segment-control/SegmentControl.js +45 -46
  957. package/lib/components/segment-control/SegmentControl.mjs +18 -18
  958. package/lib/components/segment-control/SegmentControl.native.js +250 -242
  959. package/lib/components/segment-control/SegmentControl.native.mjs +16 -17
  960. package/lib/components/segment-control/SegmentControlProps.d.mts +1 -0
  961. package/lib/components/segment-control/SegmentControlProps.d.ts +1 -0
  962. package/lib/components/segment-control/index.js +45 -46
  963. package/lib/components/segment-control/index.mjs +21 -21
  964. package/lib/components/segment-control/index.native.js +298 -286
  965. package/lib/components/segment-control/index.native.mjs +18 -19
  966. package/lib/components/segment-control/item/SegmentControlItem.mjs +2 -2
  967. package/lib/components/segment-control/item/SegmentControlItem.native.js +48 -43
  968. package/lib/components/segment-control/item/SegmentControlItem.native.mjs +3 -3
  969. package/lib/components/segment-control/item/SegmentControlItemProps.d.mts +1 -0
  970. package/lib/components/segment-control/item/SegmentControlItemProps.d.ts +1 -0
  971. package/lib/components/segment-control/item/index.mjs +2 -2
  972. package/lib/components/segment-control/item/index.native.js +48 -43
  973. package/lib/components/segment-control/item/index.native.mjs +3 -3
  974. package/lib/components/select/PropsDefaults.js +2 -0
  975. package/lib/components/select/Select.js +80 -41
  976. package/lib/components/select/Select.mjs +29 -29
  977. package/lib/components/select/Select.native.js +478 -417
  978. package/lib/components/select/Select.native.mjs +28 -29
  979. package/lib/components/select/SelectNativePropsDefaults.js +2 -0
  980. package/lib/components/select/SelectProps.d.mts +1 -0
  981. package/lib/components/select/SelectProps.d.ts +1 -0
  982. package/lib/components/select/SelectPropsDefaults.js +2 -0
  983. package/lib/components/select/index.js +80 -41
  984. package/lib/components/select/index.mjs +29 -29
  985. package/lib/components/select/index.native.js +478 -417
  986. package/lib/components/select/index.native.mjs +29 -30
  987. package/lib/components/select/option/SelectOption.js +1 -0
  988. package/lib/components/select/option/SelectOption.mjs +9 -9
  989. package/lib/components/select/option/SelectOption.native.js +213 -202
  990. package/lib/components/select/option/SelectOption.native.mjs +17 -18
  991. package/lib/components/select/option/SelectOptionPropsDefaults.js +2 -0
  992. package/lib/components/select/option/index.js +1 -0
  993. package/lib/components/select/option/index.mjs +11 -11
  994. package/lib/components/select/option/index.native.js +213 -202
  995. package/lib/components/select/option/index.native.mjs +18 -19
  996. package/lib/components/select/web/SelectDynamic.d.mts +1 -1
  997. package/lib/components/select/web/SelectDynamic.d.ts +1 -1
  998. package/lib/components/select/web/SelectDynamic.js +80 -41
  999. package/lib/components/select/web/SelectDynamic.mjs +24 -24
  1000. package/lib/components/select/web/SelectNative.js +80 -41
  1001. package/lib/components/select/web/SelectNative.mjs +29 -29
  1002. package/lib/components/select/web/index.js +80 -41
  1003. package/lib/components/select/web/index.mjs +29 -29
  1004. package/lib/components/spacer/Spacer.mjs +1 -1
  1005. package/lib/components/spacer/Spacer.native.mjs +1 -1
  1006. package/lib/components/spacer/index.mjs +1 -1
  1007. package/lib/components/spacer/index.native.mjs +1 -1
  1008. package/lib/components/stepper/Stepper.mjs +2 -2
  1009. package/lib/components/stepper/Stepper.native.js +71 -69
  1010. package/lib/components/stepper/Stepper.native.mjs +14 -15
  1011. package/lib/components/stepper/StepperProps.d.mts +1 -0
  1012. package/lib/components/stepper/StepperProps.d.ts +1 -0
  1013. package/lib/components/stepper/index.js +17 -18
  1014. package/lib/components/stepper/index.mjs +13 -13
  1015. package/lib/components/stepper/index.native.js +109 -109
  1016. package/lib/components/stepper/index.native.mjs +15 -16
  1017. package/lib/components/stepper/step/Step.js +17 -18
  1018. package/lib/components/stepper/step/Step.mjs +9 -9
  1019. package/lib/components/stepper/step/Step.native.js +48 -56
  1020. package/lib/components/stepper/step/Step.native.mjs +13 -14
  1021. package/lib/components/stepper/step/StepPropsDefaults.js +2 -0
  1022. package/lib/components/stepper/step/index.js +17 -18
  1023. package/lib/components/stepper/step/index.mjs +11 -11
  1024. package/lib/components/stepper/step/index.native.js +48 -56
  1025. package/lib/components/stepper/step/index.native.mjs +13 -14
  1026. package/lib/components/sticker/Sticker.js +26 -17
  1027. package/lib/components/sticker/Sticker.mjs +16 -16
  1028. package/lib/components/sticker/Sticker.native.d.mts +1 -1
  1029. package/lib/components/sticker/Sticker.native.d.ts +1 -1
  1030. package/lib/components/sticker/Sticker.native.js +68 -66
  1031. package/lib/components/sticker/Sticker.native.mjs +14 -15
  1032. package/lib/components/sticker/index.js +26 -17
  1033. package/lib/components/sticker/index.mjs +16 -16
  1034. package/lib/components/sticker/index.native.js +68 -66
  1035. package/lib/components/sticker/index.native.mjs +14 -15
  1036. package/lib/components/switch/Switch.js +70 -74
  1037. package/lib/components/switch/Switch.mjs +16 -16
  1038. package/lib/components/switch/Switch.native.js +57 -57
  1039. package/lib/components/switch/Switch.native.mjs +13 -14
  1040. package/lib/components/switch/index.js +70 -74
  1041. package/lib/components/switch/index.mjs +16 -16
  1042. package/lib/components/switch/index.native.js +57 -57
  1043. package/lib/components/switch/index.native.mjs +13 -14
  1044. package/lib/components/table/Table.mjs +1 -1
  1045. package/lib/components/table/Table.native.js +13 -19
  1046. package/lib/components/table/Table.native.mjs +13 -14
  1047. package/lib/components/table/TableProps.d.mts +1 -0
  1048. package/lib/components/table/TableProps.d.ts +1 -0
  1049. package/lib/components/table/body/TableBody.js +1 -0
  1050. package/lib/components/table/body/TableBody.mjs +5 -5
  1051. package/lib/components/table/body/TableBody.native.mjs +1 -1
  1052. package/lib/components/table/body/TableBodyProps.d.mts +1 -0
  1053. package/lib/components/table/body/TableBodyProps.d.ts +1 -0
  1054. package/lib/components/table/body/TableBodyPropsDefaults.js +4 -0
  1055. package/lib/components/table/body/index.js +1 -0
  1056. package/lib/components/table/body/index.mjs +6 -6
  1057. package/lib/components/table/body/index.native.mjs +1 -1
  1058. package/lib/components/table/head/TableHead.js +1 -0
  1059. package/lib/components/table/head/TableHead.mjs +5 -5
  1060. package/lib/components/table/head/TableHead.native.mjs +1 -1
  1061. package/lib/components/table/head/TableHeadProps.d.mts +1 -0
  1062. package/lib/components/table/head/TableHeadProps.d.ts +1 -0
  1063. package/lib/components/table/head/TableHeadPropsDefaults.js +4 -0
  1064. package/lib/components/table/head/index.js +1 -0
  1065. package/lib/components/table/head/index.mjs +6 -6
  1066. package/lib/components/table/head/index.native.mjs +1 -1
  1067. package/lib/components/table/index.js +1 -0
  1068. package/lib/components/table/index.mjs +10 -10
  1069. package/lib/components/table/index.native.js +189 -168
  1070. package/lib/components/table/index.native.mjs +18 -19
  1071. package/lib/components/table/td/TableTd.mjs +1 -1
  1072. package/lib/components/table/td/TableTd.native.js +13 -19
  1073. package/lib/components/table/td/TableTd.native.mjs +13 -14
  1074. package/lib/components/table/td/TableTdProps.d.mts +1 -0
  1075. package/lib/components/table/td/TableTdProps.d.ts +1 -0
  1076. package/lib/components/table/td/index.mjs +1 -1
  1077. package/lib/components/table/td/index.native.js +13 -19
  1078. package/lib/components/table/td/index.native.mjs +13 -14
  1079. package/lib/components/table/th/TableTh.mjs +1 -1
  1080. package/lib/components/table/th/TableTh.native.js +186 -176
  1081. package/lib/components/table/th/TableTh.native.mjs +15 -16
  1082. package/lib/components/table/th/TableThProps.d.mts +1 -0
  1083. package/lib/components/table/th/TableThProps.d.ts +1 -0
  1084. package/lib/components/table/th/index.mjs +1 -1
  1085. package/lib/components/table/th/index.native.js +186 -176
  1086. package/lib/components/table/th/index.native.mjs +15 -16
  1087. package/lib/components/table/tr/TableTr.js +1 -0
  1088. package/lib/components/table/tr/TableTr.mjs +4 -4
  1089. package/lib/components/table/tr/TableTr.native.js +174 -153
  1090. package/lib/components/table/tr/TableTr.native.mjs +15 -16
  1091. package/lib/components/table/tr/TableTrProps.d.mts +1 -0
  1092. package/lib/components/table/tr/TableTrProps.d.ts +1 -0
  1093. package/lib/components/table/tr/TableTrPropsWebDefaults.js +2 -0
  1094. package/lib/components/table/tr/index.js +1 -0
  1095. package/lib/components/table/tr/index.mjs +5 -5
  1096. package/lib/components/table/tr/index.native.js +174 -153
  1097. package/lib/components/table/tr/index.native.mjs +15 -16
  1098. package/lib/components/tabs/Tabs.d.mts +1 -1
  1099. package/lib/components/tabs/Tabs.d.ts +1 -1
  1100. package/lib/components/tabs/Tabs.js +2 -1
  1101. package/lib/components/tabs/Tabs.mjs +3 -3
  1102. package/lib/components/tabs/Tabs.native.js +5 -3
  1103. package/lib/components/tabs/Tabs.native.mjs +3 -3
  1104. package/lib/components/tabs/TabsProps.d.mts +1 -0
  1105. package/lib/components/tabs/TabsProps.d.ts +1 -0
  1106. package/lib/components/tabs/context/index.d.mts +1 -0
  1107. package/lib/components/tabs/context/index.d.ts +1 -0
  1108. package/lib/components/tabs/context/index.js +2 -1
  1109. package/lib/components/tabs/context/index.mjs +1 -1
  1110. package/lib/components/tabs/index.js +13 -11
  1111. package/lib/components/tabs/index.mjs +18 -18
  1112. package/lib/components/tabs/index.native.js +135 -111
  1113. package/lib/components/tabs/index.native.mjs +19 -20
  1114. package/lib/components/tabs/tab-list/TabList.js +5 -1
  1115. package/lib/components/tabs/tab-list/TabList.mjs +13 -13
  1116. package/lib/components/tabs/tab-list/TabList.native.js +120 -97
  1117. package/lib/components/tabs/tab-list/TabList.native.mjs +16 -17
  1118. package/lib/components/tabs/tab-list/TabListProps.d.mts +1 -0
  1119. package/lib/components/tabs/tab-list/TabListProps.d.ts +1 -0
  1120. package/lib/components/tabs/tab-list/index.js +5 -1
  1121. package/lib/components/tabs/tab-list/index.mjs +13 -13
  1122. package/lib/components/tabs/tab-list/index.native.js +120 -97
  1123. package/lib/components/tabs/tab-list/index.native.mjs +16 -17
  1124. package/lib/components/tabs/tab-list/tab/Tab.js +3 -1
  1125. package/lib/components/tabs/tab-list/tab/Tab.mjs +11 -11
  1126. package/lib/components/tabs/tab-list/tab/Tab.native.js +91 -73
  1127. package/lib/components/tabs/tab-list/tab/Tab.native.mjs +11 -12
  1128. package/lib/components/tabs/tab-list/tab/TabProps.d.mts +1 -0
  1129. package/lib/components/tabs/tab-list/tab/TabProps.d.ts +1 -0
  1130. package/lib/components/tabs/tab-list/tab/TabPropsDefaults.js +2 -0
  1131. package/lib/components/tabs/tab-list/tab/index.js +3 -1
  1132. package/lib/components/tabs/tab-list/tab/index.mjs +11 -11
  1133. package/lib/components/tabs/tab-list/tab/index.native.js +91 -73
  1134. package/lib/components/tabs/tab-list/tab/index.native.mjs +11 -12
  1135. package/lib/components/tabs/tab-panels/TabPanels.js +10 -11
  1136. package/lib/components/tabs/tab-panels/TabPanels.mjs +5 -5
  1137. package/lib/components/tabs/tab-panels/TabPanels.native.js +18 -23
  1138. package/lib/components/tabs/tab-panels/TabPanels.native.mjs +15 -16
  1139. package/lib/components/tabs/tab-panels/TabPanelsProps.d.mts +1 -0
  1140. package/lib/components/tabs/tab-panels/TabPanelsProps.d.ts +1 -0
  1141. package/lib/components/tabs/tab-panels/index.js +10 -11
  1142. package/lib/components/tabs/tab-panels/index.mjs +5 -5
  1143. package/lib/components/tabs/tab-panels/index.native.js +18 -23
  1144. package/lib/components/tabs/tab-panels/index.native.mjs +15 -16
  1145. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.js +2 -1
  1146. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.mjs +3 -3
  1147. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.js +2 -1
  1148. package/lib/components/tabs/tab-panels/tab-panel/TabPanel.native.mjs +3 -3
  1149. package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.mts +1 -0
  1150. package/lib/components/tabs/tab-panels/tab-panel/TabPanelProps.d.ts +1 -0
  1151. package/lib/components/tabs/tab-panels/tab-panel/index.js +2 -1
  1152. package/lib/components/tabs/tab-panels/tab-panel/index.mjs +4 -4
  1153. package/lib/components/tabs/tab-panels/tab-panel/index.native.js +2 -1
  1154. package/lib/components/tabs/tab-panels/tab-panel/index.native.mjs +3 -3
  1155. package/lib/components/tag/Tag.js +2 -4
  1156. package/lib/components/tag/Tag.mjs +9 -9
  1157. package/lib/components/tag/Tag.native.js +34 -3
  1158. package/lib/components/tag/Tag.native.mjs +8 -8
  1159. package/lib/components/tag/TagPropsDefaults.js +1 -0
  1160. package/lib/components/tag/index.js +2 -4
  1161. package/lib/components/tag/index.mjs +22 -22
  1162. package/lib/components/tag/index.native.d.mts +1 -1
  1163. package/lib/components/tag/index.native.d.ts +1 -1
  1164. package/lib/components/tag/index.native.js +64 -197
  1165. package/lib/components/tag/index.native.mjs +13 -63
  1166. package/lib/components/tag/list/TagList.js +1 -0
  1167. package/lib/components/tag/list/TagList.mjs +16 -16
  1168. package/lib/components/tag/list/TagList.native.js +2 -1
  1169. package/lib/components/tag/list/TagList.native.mjs +2 -2
  1170. package/lib/components/tag/list/TagListProps.d.mts +1 -0
  1171. package/lib/components/tag/list/TagListProps.d.ts +1 -0
  1172. package/lib/components/tag/list/index.js +1 -0
  1173. package/lib/components/tag/list/index.mjs +16 -16
  1174. package/lib/components/tag/list/index.native.js +2 -1
  1175. package/lib/components/tag/list/index.native.mjs +4 -6
  1176. package/lib/components/text/Text.mjs +1 -1
  1177. package/lib/components/text/Text.native.js +89 -93
  1178. package/lib/components/text/Text.native.mjs +5 -6
  1179. package/lib/components/text/TextProps.d.mts +1 -0
  1180. package/lib/components/text/TextProps.d.ts +1 -0
  1181. package/lib/components/text/index.mjs +1 -1
  1182. package/lib/components/text/index.native.js +89 -93
  1183. package/lib/components/text/index.native.mjs +5 -6
  1184. package/lib/components/textarea/Textarea.js +1 -0
  1185. package/lib/components/textarea/Textarea.mjs +20 -20
  1186. package/lib/components/textarea/Textarea.native.js +77 -75
  1187. package/lib/components/textarea/Textarea.native.mjs +14 -15
  1188. package/lib/components/textarea/index.js +1 -0
  1189. package/lib/components/textarea/index.mjs +20 -20
  1190. package/lib/components/textarea/index.native.js +77 -75
  1191. package/lib/components/textarea/index.native.mjs +14 -15
  1192. package/lib/components/timeline/Timeline.mjs +2 -2
  1193. package/lib/components/timeline/Timeline.native.mjs +1 -1
  1194. package/lib/components/timeline/TimelineProps.d.mts +1 -0
  1195. package/lib/components/timeline/TimelineProps.d.ts +1 -0
  1196. package/lib/components/timeline/content/TimelineContent.js +1 -0
  1197. package/lib/components/timeline/content/TimelineContent.mjs +12 -12
  1198. package/lib/components/timeline/content/TimelineContent.native.js +82 -78
  1199. package/lib/components/timeline/content/TimelineContent.native.mjs +18 -19
  1200. package/lib/components/timeline/content/TimelineContentProps.d.mts +1 -0
  1201. package/lib/components/timeline/content/TimelineContentProps.d.ts +1 -0
  1202. package/lib/components/timeline/content/index.js +1 -0
  1203. package/lib/components/timeline/content/index.mjs +13 -13
  1204. package/lib/components/timeline/content/index.native.js +82 -78
  1205. package/lib/components/timeline/content/index.native.mjs +18 -19
  1206. package/lib/components/timeline/index.js +21 -18
  1207. package/lib/components/timeline/index.mjs +18 -18
  1208. package/lib/components/timeline/index.native.js +116 -114
  1209. package/lib/components/timeline/index.native.mjs +20 -21
  1210. package/lib/components/timeline/item/TimelineItem.js +8 -10
  1211. package/lib/components/timeline/item/TimelineItem.mjs +3 -3
  1212. package/lib/components/timeline/item/TimelineItem.native.mjs +1 -1
  1213. package/lib/components/timeline/item/TimelineItemProps.d.mts +1 -0
  1214. package/lib/components/timeline/item/TimelineItemProps.d.ts +1 -0
  1215. package/lib/components/timeline/item/index.js +8 -10
  1216. package/lib/components/timeline/item/index.mjs +4 -4
  1217. package/lib/components/timeline/item/index.native.mjs +1 -1
  1218. package/lib/components/timeline/marker/TimelineMarker.js +13 -8
  1219. package/lib/components/timeline/marker/TimelineMarker.mjs +9 -9
  1220. package/lib/components/timeline/marker/TimelineMarker.native.js +44 -52
  1221. package/lib/components/timeline/marker/TimelineMarker.native.mjs +13 -14
  1222. package/lib/components/timeline/marker/TimelineMarkerPropsDefaults.js +2 -0
  1223. package/lib/components/timeline/marker/TimelineMarkerWebPropsDefaults.js +2 -0
  1224. package/lib/components/timeline/marker/index.js +13 -8
  1225. package/lib/components/timeline/marker/index.mjs +11 -11
  1226. package/lib/components/timeline/marker/index.native.js +44 -52
  1227. package/lib/components/timeline/marker/index.native.mjs +14 -15
  1228. package/lib/components/title/Title.js +39 -41
  1229. package/lib/components/title/Title.mjs +2 -2
  1230. package/lib/components/title/Title.native.js +95 -91
  1231. package/lib/components/title/Title.native.mjs +13 -14
  1232. package/lib/components/title/TitleProps.d.mts +1 -0
  1233. package/lib/components/title/TitleProps.d.ts +1 -0
  1234. package/lib/components/title/index.js +39 -41
  1235. package/lib/components/title/index.mjs +3 -3
  1236. package/lib/components/title/index.native.js +95 -91
  1237. package/lib/components/title/index.native.mjs +14 -15
  1238. package/lib/components/view/View.js +92 -90
  1239. package/lib/components/view/View.mjs +17 -17
  1240. package/lib/components/view/View.native.js +86 -84
  1241. package/lib/components/view/View.native.mjs +13 -14
  1242. package/lib/components/view/ViewProps/index.d.mts +1 -0
  1243. package/lib/components/view/ViewProps/index.d.ts +1 -0
  1244. package/lib/components/view/ViewProps/index.native.d.mts +1 -0
  1245. package/lib/components/view/ViewProps/index.native.d.ts +1 -0
  1246. package/lib/components/view/index.js +92 -90
  1247. package/lib/components/view/index.mjs +20 -20
  1248. package/lib/components/view/index.native.js +86 -84
  1249. package/lib/components/view/index.native.mjs +13 -14
  1250. package/lib/context/provider/index.d.mts +6 -6
  1251. package/lib/context/provider/index.d.ts +6 -6
  1252. package/lib/context/provider/index.js +2 -2
  1253. package/lib/context/provider/index.mjs +3 -3
  1254. package/lib/context/providerStates/index.d.mts +1 -0
  1255. package/lib/context/providerStates/index.d.ts +1 -0
  1256. package/lib/context/providerStyled/index.js +1 -1
  1257. package/lib/context/providerStyled/index.mjs +1 -1
  1258. package/lib/context/providerTheme/index.d.mts +1 -1
  1259. package/lib/context/providerTheme/index.d.ts +1 -1
  1260. package/lib/context/providerTheme/index.native.js +1 -0
  1261. package/lib/context/providerTheme/index.native.mjs +1 -1
  1262. package/lib/context/test/provider.test.js +13 -48
  1263. package/lib/context/test/provider.test.mjs +14 -49
  1264. package/lib/events/OnChangeEvent/index.d.mts +1 -0
  1265. package/lib/events/OnChangeEvent/index.d.ts +1 -0
  1266. package/lib/events/OnClickEvent/index.d.mts +1 -0
  1267. package/lib/events/OnClickEvent/index.d.ts +1 -0
  1268. package/lib/helpers/clickOutside/index.d.mts +1 -0
  1269. package/lib/helpers/clickOutside/index.d.ts +1 -0
  1270. package/lib/helpers/clickOutside/index.js +45 -0
  1271. package/lib/helpers/clickOutside/index.mjs +8 -0
  1272. package/lib/helpers/index.mjs +3 -3
  1273. package/lib/helpers/index.native.mjs +3 -3
  1274. package/lib/index.js +3585 -2583
  1275. package/lib/index.mjs +248 -232
  1276. package/lib/index.native.js +2128 -1987
  1277. package/lib/index.native.mjs +224 -219
  1278. package/lib/objects/Typography/TypographyBold/index.d.mts +1 -1
  1279. package/lib/objects/Typography/TypographyBold/index.d.ts +1 -1
  1280. package/lib/objects/Typography/TypographyBold/index.native.d.mts +1 -1
  1281. package/lib/objects/Typography/TypographyBold/index.native.d.ts +1 -1
  1282. package/lib/objects/Typography/TypographyBold/index.native.js +1 -0
  1283. package/lib/objects/Typography/TypographyBold/index.native.mjs +2 -2
  1284. package/lib/objects/Typography/TypographyColor/index.js +1 -0
  1285. package/lib/objects/Typography/TypographyColor/index.mjs +2 -2
  1286. package/lib/objects/Typography/TypographyColor/index.native.js +1 -0
  1287. package/lib/objects/Typography/TypographyColor/index.native.mjs +2 -2
  1288. package/lib/objects/Typography/index.d.mts +4 -4
  1289. package/lib/objects/Typography/index.d.ts +4 -4
  1290. package/lib/objects/Typography/index.js +1 -0
  1291. package/lib/objects/Typography/index.mjs +8 -8
  1292. package/lib/objects/Typography/index.native.d.mts +1 -1
  1293. package/lib/objects/Typography/index.native.d.ts +1 -1
  1294. package/lib/objects/Typography/index.native.js +50 -62
  1295. package/lib/objects/Typography/index.native.mjs +7 -8
  1296. package/lib/objects/atoms/Background/index.js +1 -0
  1297. package/lib/objects/atoms/Background/index.mjs +2 -2
  1298. package/lib/objects/atoms/Background/index.native.js +1 -0
  1299. package/lib/objects/atoms/Background/index.native.mjs +2 -2
  1300. package/lib/objects/atoms/index.js +1 -0
  1301. package/lib/objects/atoms/index.mjs +3 -3
  1302. package/lib/objects/atoms/index.native.js +1 -0
  1303. package/lib/objects/atoms/index.native.mjs +2 -2
  1304. package/lib/objects/facets/Alignable/index.js +2 -0
  1305. package/lib/objects/facets/Alignable/index.mjs +1 -1
  1306. package/lib/objects/facets/ChildrenWithNoText/index.d.mts +1 -0
  1307. package/lib/objects/facets/ChildrenWithNoText/index.d.ts +1 -0
  1308. package/lib/objects/facets/Color/index.d.mts +2 -1
  1309. package/lib/objects/facets/Color/index.d.ts +2 -1
  1310. package/lib/objects/facets/Color/index.js +2 -0
  1311. package/lib/objects/facets/Color/index.mjs +1 -1
  1312. package/lib/objects/facets/Color/index.native.d.mts +2 -1
  1313. package/lib/objects/facets/Color/index.native.d.ts +2 -1
  1314. package/lib/objects/facets/Color/index.native.js +2 -0
  1315. package/lib/objects/facets/Color/index.native.mjs +1 -1
  1316. package/lib/objects/facets/Direction/index.d.mts +3 -1
  1317. package/lib/objects/facets/Direction/index.d.ts +3 -1
  1318. package/lib/objects/facets/Direction/index.js +2 -0
  1319. package/lib/objects/facets/Direction/index.mjs +1 -1
  1320. package/lib/objects/facets/Status/index.js +1 -0
  1321. package/lib/objects/facets/Status/index.mjs +9 -9
  1322. package/lib/objects/facets/Status/index.native.js +8 -1
  1323. package/lib/objects/facets/Status/index.native.mjs +7 -7
  1324. package/lib/objects/facets/Variant/index.js +1 -0
  1325. package/lib/objects/facets/Variant/index.mjs +2 -2
  1326. package/lib/objects/facets/Variant/index.native.js +1 -0
  1327. package/lib/objects/facets/Variant/index.native.mjs +2 -2
  1328. package/lib/objects/facets/index.d.mts +7 -7
  1329. package/lib/objects/facets/index.d.ts +7 -7
  1330. package/lib/objects/facets/index.js +133 -127
  1331. package/lib/objects/facets/index.mjs +12 -12
  1332. package/lib/objects/facets/index.native.js +13 -1
  1333. package/lib/objects/facets/index.native.mjs +10 -10
  1334. package/lib/objects/index.js +128 -122
  1335. package/lib/objects/index.mjs +22 -22
  1336. package/lib/objects/index.native.js +16 -17
  1337. package/lib/objects/index.native.mjs +17 -18
  1338. package/lib/version.d.mts +1 -1
  1339. package/lib/version.d.ts +1 -1
  1340. package/lib/version.js +1 -1
  1341. package/lib/version.json +1 -1
  1342. package/lib/version.mjs +1 -1
  1343. package/package.json +4 -4
  1344. package/lib/chunk-22ZF6KCV.mjs +0 -71
  1345. package/lib/chunk-2AL4D3MJ.mjs +0 -77
  1346. package/lib/chunk-4XLHP4FT.mjs +0 -30
  1347. package/lib/chunk-5GUDIPAN.mjs +0 -25
  1348. package/lib/chunk-5RU72DNI.mjs +0 -109
  1349. package/lib/chunk-6NWZNU3P.mjs +0 -31
  1350. package/lib/chunk-6QPU3LHF.mjs +0 -42
  1351. package/lib/chunk-7O3FYPFV.mjs +0 -42
  1352. package/lib/chunk-ABKYP5IV.mjs +0 -28
  1353. package/lib/chunk-AK2SCURT.mjs +0 -105
  1354. package/lib/chunk-CJHW2V6H.mjs +0 -150
  1355. package/lib/chunk-CWX2XNZI.mjs +0 -92
  1356. package/lib/chunk-DXSXX5ZX.mjs +0 -27
  1357. package/lib/chunk-FUE3HEEY.mjs +0 -115
  1358. package/lib/chunk-G2RSK6RU.mjs +0 -60
  1359. package/lib/chunk-GPYOBQ3V.mjs +0 -99
  1360. package/lib/chunk-GYARTTY2.mjs +0 -41
  1361. package/lib/chunk-HLTY5AJR.mjs +0 -43
  1362. package/lib/chunk-HPICKTAC.mjs +0 -62
  1363. package/lib/chunk-I54USHWW.mjs +0 -72
  1364. package/lib/chunk-JMC4JQWZ.mjs +0 -46
  1365. package/lib/chunk-K5BZA4Y4.mjs +0 -88
  1366. package/lib/chunk-KX2KTYWH.mjs +0 -38
  1367. package/lib/chunk-L3A2G234.mjs +0 -43
  1368. package/lib/chunk-LBCAAKRZ.mjs +0 -103
  1369. package/lib/chunk-MDNN7KMA.mjs +0 -52
  1370. package/lib/chunk-MK63OCEA.mjs +0 -91
  1371. package/lib/chunk-MRVKCNOC.mjs +0 -41
  1372. package/lib/chunk-O2QP75YD.mjs +0 -37
  1373. package/lib/chunk-PBCERB3A.mjs +0 -90
  1374. package/lib/chunk-QP3ACDAG.mjs +0 -58
  1375. package/lib/chunk-REG3H3QQ.mjs +0 -86
  1376. package/lib/chunk-RJ2IH6RX.mjs +0 -53
  1377. package/lib/chunk-RXN7VI6G.mjs +0 -55
  1378. package/lib/chunk-S2DOOAGV.mjs +0 -89
  1379. package/lib/chunk-SKSWO5HE.mjs +0 -54
  1380. package/lib/chunk-SPYC565D.mjs +0 -139
  1381. package/lib/chunk-T4P4VEOQ.mjs +0 -34
  1382. package/lib/chunk-TB5FNQJR.mjs +0 -87
  1383. package/lib/chunk-UV7KNMPY.mjs +0 -50
  1384. package/lib/chunk-UWF5SZJY.mjs +0 -59
  1385. package/lib/chunk-UXXUYCZ5.mjs +0 -65
  1386. package/lib/chunk-VAWKAIZG.mjs +0 -59
  1387. package/lib/chunk-VECADRWL.mjs +0 -75
  1388. package/lib/chunk-WM3KXXQX.mjs +0 -58
  1389. package/lib/chunk-XPCXYBYT.mjs +0 -29
  1390. package/lib/components/checkbox/tiles/tile/CheckboxTileProps.mjs +0 -2
  1391. package/lib/components/flex-box/DirectionDefaults.js +0 -32
  1392. package/lib/components/flex-box/FlexBoxSizeDefaults.js +0 -53
  1393. package/lib/components/icon/IconProps.mjs +0 -2
  1394. package/lib/components/icon/IconPropsDefaults.js +0 -187
  1395. package/lib/components/input/InputNativePropsDefaults.js +0 -662
  1396. package/lib/components/input/InputPropDefaults.js +0 -676
  1397. package/lib/{chunk-E6IYXJ2R.mjs → chunk-2K2TD7FH.mjs} +0 -0
  1398. package/lib/{chunk-GBY3HXT4.mjs → chunk-3QR4ZVH4.mjs} +0 -0
  1399. package/lib/{chunk-IK3CWSC6.mjs → chunk-4DZWJDF4.mjs} +0 -0
  1400. package/lib/{chunk-S3BT5JEK.mjs → chunk-56UCSXNY.mjs} +0 -0
  1401. package/lib/{chunk-WRDU327E.mjs → chunk-GVFOBKEF.mjs} +0 -0
  1402. package/lib/{chunk-YK5HPRX4.mjs → chunk-LGL3XQ7F.mjs} +0 -0
  1403. package/lib/{chunk-XP4NKGQY.mjs → chunk-WC7HZXMT.mjs} +3 -3
@@ -0,0 +1,1434 @@
1
+ "use client";
2
+ "use strict";
3
+ var __create = Object.create;
4
+ var __defProp = Object.defineProperty;
5
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
+ var __getOwnPropNames = Object.getOwnPropertyNames;
7
+ var __getProtoOf = Object.getPrototypeOf;
8
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
9
+ var __export = (target, all) => {
10
+ for (var name in all)
11
+ __defProp(target, name, { get: all[name], enumerable: true });
12
+ };
13
+ var __copyProps = (to, from, except, desc) => {
14
+ if (from && typeof from === "object" || typeof from === "function") {
15
+ for (let key of __getOwnPropNames(from))
16
+ if (!__hasOwnProp.call(to, key) && key !== except)
17
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
18
+ }
19
+ return to;
20
+ };
21
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(
22
+ // If the importer is in node compatibility mode or this is not an ESM
23
+ // file that has been converted to a CommonJS file using a Babel-
24
+ // compatible transform (i.e. "__esModule" has not been set), then set
25
+ // "default" to the CommonJS "module.exports" for node compatibility.
26
+ isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target,
27
+ mod
28
+ ));
29
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
30
+
31
+ // components/calendar/index.ts
32
+ var calendar_exports = {};
33
+ __export(calendar_exports, {
34
+ Calendar: () => Calendar_default
35
+ });
36
+ module.exports = __toCommonJS(calendar_exports);
37
+
38
+ // context/index.tsx
39
+ var React = __toESM(require("react"));
40
+ var TrilogyContext = React.createContext({
41
+ styled: false,
42
+ setStyled: () => void 0
43
+ });
44
+ var useTrilogyContext = () => {
45
+ const context = React.useContext(TrilogyContext);
46
+ if (context === void 0) {
47
+ throw new Error("useTrilogyContext must be used within a TrilogyProvider");
48
+ }
49
+ return context;
50
+ };
51
+
52
+ // helpers/hashClassesHelpers/index.tsx
53
+ var hashClass = (addHash = false, classes) => {
54
+ const { hash, styled } = useTrilogyContext();
55
+ if (classes.trim().length < 1) return "";
56
+ if (styled) {
57
+ return classes.split(" ").map((classe) => classe = `${classe}_${hash}`).join(" ");
58
+ }
59
+ return classes;
60
+ };
61
+
62
+ // helpers/device/index.ts
63
+ var Device = /* @__PURE__ */ ((Device2) => {
64
+ Device2["Browser"] = "browser";
65
+ Device2["Server"] = "server";
66
+ Device2["Native"] = "native";
67
+ return Device2;
68
+ })(Device || {});
69
+ var { Browser, Server, Native } = Device;
70
+ var canUseDOM = !!(typeof window !== "undefined" && window.document && window.document.createElement);
71
+ var canUseNative = typeof navigator != "undefined" && navigator.product == "ReactNative";
72
+ var device = canUseNative ? Native : canUseDOM ? Browser : Server;
73
+ var SSRObjectDefined = {
74
+ isBrowser: device === Browser,
75
+ isServer: device === Server,
76
+ isNative: device === Native,
77
+ device,
78
+ canUseWorkers: typeof Worker !== "undefined",
79
+ canUseEventListeners: device === Browser && !!window.addEventListener,
80
+ canUseViewport: device === Browser && !!window.screen
81
+ };
82
+ var assign = (...args) => Object.assign({}, ...args);
83
+ var values = (obj) => Object.values(obj);
84
+ var toArrayObject = () => assign((values(SSRObjectDefined), SSRObjectDefined));
85
+ var SSRObject = toArrayObject();
86
+
87
+ // services/classify/index.ts
88
+ function classify(prefix) {
89
+ return (classname) => classname !== "" ? `${prefix}-${classname.toLowerCase()}` : "";
90
+ }
91
+ var is = classify("is");
92
+ var has = classify("has");
93
+
94
+ // components/calendar/Calendar.tsx
95
+ var import_locales2 = require("@trilogy-ds/locales");
96
+ 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);
111
+
112
+ // objects/facets/Color/index.tsx
113
+ var import_react2 = require("react");
114
+ var colors = {
115
+ ["WHITE" /* BACKGROUND */]: ["#fff", "white", "main"],
116
+ ["MAIN" /* MAIN */]: ["#3d5d7e", "main", "white"],
117
+ ["MAIN_FADE" /* MAIN_FADE */]: ["#BBC6CD", "main-fade", "white"],
118
+ ["ACCENT" /* ACCENT */]: ["#da641b", "accent", "white"],
119
+ ["ACCENT_FADE" /* ACCENT_FADE */]: ["#faebe3", "accent-fade", "white"],
120
+ ["FONT" /* FONT */]: ["#3d5d7e", "main", "white"],
121
+ ["FONT_PLACEHOLDER" /* FONT_PLACEHOLDER */]: ["#687a87", "font-placeholder", "white"],
122
+ ["SUCCESS" /* SUCCESS */]: ["#007B52", "success", "white"],
123
+ ["SUCCESS_FADE" /* SUCCESS_FADE */]: ["#cae8ca", "success-fade", "white"],
124
+ ["INFO" /* INFO */]: ["#1A688A", "info", "white"],
125
+ ["INFO_FADE" /* INFO_FADE */]: ["#c8dbec", "info-fade", "white"],
126
+ ["WARNING" /* WARNING */]: ["#FFBB33", "warning", "white"],
127
+ ["WARNING_FADE" /* WARNING_FADE */]: ["#ecdbc6", "warning-fade", "white"],
128
+ ["ERROR" /* ERROR */]: ["#D42D02", "error", "white"],
129
+ ["ERROR_FADE" /* ERROR_FADE */]: ["#eecccc", "error-fade", "white"],
130
+ ["DISABLED" /* DISABLED */]: ["#646464", "disabled", "white"],
131
+ ["DISABLED_FADE" /* DISABLED_FADE */]: ["#D1D1D1", "disabled-fade", "white"],
132
+ ["NEUTRAL" /* NEUTRAL */]: ["#707070", "grey", "white"],
133
+ ["NEUTRAL_FADE" /* NEUTRAL_FADE */]: ["#F4F4F4", "grey-fade", "white"],
134
+ ["STROKE" /* STROKE */]: ["#BBC1CE", "stroke", "white"]
135
+ };
136
+ var getColorClassName = (trilogyColor) => {
137
+ const color = colors[trilogyColor];
138
+ return color[1];
139
+ };
140
+ var getColorStyle = (trilogyColor) => {
141
+ if (typeof navigator !== "undefined" && navigator.userAgent === void 0) {
142
+ const { theme } = (0, import_react2.useContext)(TrilogyThemeContext);
143
+ const colorsStyle = (theme == null ? void 0 : theme.colors) || colors;
144
+ const colorArray = colorsStyle[trilogyColor] || colorsStyle.default;
145
+ if (trilogyColor === "transparent") return "transparent";
146
+ if (!trilogyColor || !colors[trilogyColor]) {
147
+ return colorsStyle.default;
148
+ }
149
+ return colorArray[0];
150
+ } else {
151
+ if (trilogyColor === "transparent") return "transparent";
152
+ return colors[trilogyColor][0] || colors["MAIN" /* MAIN */][0];
153
+ }
154
+ };
155
+
156
+ // objects/atoms/Background/index.ts
157
+ var getBackgroundClassName = (backgroundType) => {
158
+ return `background-${getColorClassName(backgroundType)}`;
159
+ };
160
+
161
+ // objects/facets/Justifiable/index.ts
162
+ var getJustifySelfClassName = (justifyContent) => {
163
+ switch (justifyContent) {
164
+ case "ALIGNED_CENTER":
165
+ return "justified-self-center";
166
+ case "ALIGNED_START":
167
+ return "justified-self-start";
168
+ case "ALIGNED_END":
169
+ return "justified-selfend";
170
+ default:
171
+ return "justified-selfstart";
172
+ }
173
+ };
174
+
175
+ // components/icon/Icon.tsx
176
+ var import_clsx = __toESM(require("clsx"));
177
+ var React3 = __toESM(require("react"));
178
+ var Icon = React3.forwardRef(
179
+ ({ className, id, size, name, circled, stretched, color, backgroundColor, onClick, skeleton, align, ...others }, ref) => {
180
+ const { styled } = useTrilogyContext();
181
+ const background = backgroundColor && has(getBackgroundClassName(backgroundColor)) || circled && has(getBackgroundClassName("MAIN" /* MAIN */)) || "";
182
+ const classes = hashClass(
183
+ styled,
184
+ (0, import_clsx.default)(
185
+ "icon",
186
+ stretched && is("stretched"),
187
+ size && is(size),
188
+ circled && is("circled"),
189
+ circled && !color && has("text-white"),
190
+ color && is(`${getColorClassName(color)}`),
191
+ skeleton && is("loading"),
192
+ align && (0, import_clsx.default)(is("flex"), is(getJustifySelfClassName(align))),
193
+ background,
194
+ className
195
+ )
196
+ );
197
+ 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" }));
198
+ }
199
+ );
200
+ Icon.displayName = "Icon" /* Icon */;
201
+ var Icon_default = Icon;
202
+
203
+ // components/select/Select.tsx
204
+ var React11 = __toESM(require("react"));
205
+
206
+ // components/select/context/index.tsx
207
+ var import_react3 = __toESM(require("react"));
208
+ var SelectContext = import_react3.default.createContext({
209
+ selectedOptionValues: [],
210
+ multiple: false,
211
+ custom: false,
212
+ isVisibleOptions: false,
213
+ setIsVisibleOptions: () => false,
214
+ setSelectedOptionValues: () => []
215
+ });
216
+
217
+ // components/select/web/SelectDynamic.tsx
218
+ var import_clsx5 = __toESM(require("clsx"));
219
+ var import_react8 = __toESM(require("react"));
220
+ var import_react_dom = __toESM(require("react-dom"));
221
+
222
+ // components/input/Input.tsx
223
+ var import_locales = require("@trilogy-ds/locales");
224
+ var import_clsx4 = __toESM(require("clsx"));
225
+ var import_react7 = __toESM(require("react"));
226
+
227
+ // components/text/Text.tsx
228
+ var React5 = __toESM(require("react"));
229
+ var import_clsx2 = __toESM(require("clsx"));
230
+
231
+ // components/text/TextEnum.ts
232
+ var TextMarkup = /* @__PURE__ */ ((TextMarkup2) => {
233
+ TextMarkup2["P"] = "p";
234
+ TextMarkup2["SPAN"] = "span";
235
+ return TextMarkup2;
236
+ })(TextMarkup || {});
237
+
238
+ // components/text/Text.tsx
239
+ var Text = React5.forwardRef(({
240
+ level,
241
+ markup,
242
+ children,
243
+ className,
244
+ id,
245
+ typo,
246
+ inverted,
247
+ skeleton,
248
+ accessibilityLabel,
249
+ marginless,
250
+ numberOfLines,
251
+ ...others
252
+ }, ref) => {
253
+ const { styled } = useTrilogyContext();
254
+ const levelText = () => {
255
+ if (level) {
256
+ switch (level) {
257
+ case 1 /* ONE */:
258
+ return is("level-1");
259
+ case 2 /* TWO */:
260
+ return is("level-2");
261
+ case 3 /* THREE */:
262
+ return is("level-3");
263
+ case 4 /* FOUR */:
264
+ return is("level-4");
265
+ default:
266
+ return is(`level-${level}`);
267
+ }
268
+ }
269
+ };
270
+ const classes = hashClass(
271
+ styled,
272
+ (0, import_clsx2.default)(
273
+ "text",
274
+ level && levelText(),
275
+ inverted && is("inverted"),
276
+ typo,
277
+ skeleton && is("loading"),
278
+ marginless && is("marginless"),
279
+ numberOfLines && is("text-ellipsis"),
280
+ className
281
+ )
282
+ );
283
+ const isCorrectMarkup = (stringMarkup) => {
284
+ if (stringMarkup in TextMarkup || Object.values(TextMarkup).includes(stringMarkup)) return true;
285
+ };
286
+ const Tag = markup && isCorrectMarkup(markup) ? markup : "p";
287
+ return /* @__PURE__ */ React5.createElement(
288
+ Tag,
289
+ {
290
+ ref,
291
+ id,
292
+ style: numberOfLines ? { WebkitLineClamp: numberOfLines } : {},
293
+ "aria-label": accessibilityLabel,
294
+ className: classes,
295
+ ...others
296
+ },
297
+ children
298
+ );
299
+ });
300
+ Text.displayName = "Text" /* Text */;
301
+ var Text_default = Text;
302
+
303
+ // objects/facets/Status/index.ts
304
+ var STATUS_COLORS = {
305
+ SUCCESS: { color: "SUCCESS" /* SUCCESS */, backgroundColor: "SUCCESS_FADE" /* SUCCESS_FADE */ },
306
+ INFO: { color: "INFO" /* INFO */, backgroundColor: "INFO_FADE" /* INFO_FADE */ },
307
+ WARNING: { color: "WARNING" /* WARNING */, backgroundColor: "WARNING_FADE" /* WARNING_FADE */ },
308
+ ERROR: { color: "ERROR" /* ERROR */, backgroundColor: "ERROR_FADE" /* ERROR_FADE */ },
309
+ DEFAULT: { color: "MAIN" /* MAIN */, backgroundColor: "MAIN_FADE" /* MAIN_FADE */ }
310
+ };
311
+
312
+ // objects/Typography/TypographyBold/index.tsx
313
+ var import_react4 = require("react");
314
+
315
+ // components/input/gauge/InputGauge.tsx
316
+ var import_clsx3 = __toESM(require("clsx"));
317
+ var import_react6 = __toESM(require("react"));
318
+
319
+ // components/input/gauge/hook/useGauge.tsx
320
+ var import_react5 = __toESM(require("react"));
321
+ var useGauge = ({ validationRules, inputValue, securityRules }) => {
322
+ var _a, _b;
323
+ const [points, setPoints] = import_react5.default.useState(0);
324
+ const initStateVerifies = { isVerify: false, color: "NEUTRAL" /* NEUTRAL */ };
325
+ const [isLengthVerify, setIsLengthVerify] = import_react5.default.useState(initStateVerifies);
326
+ const [isSpecialCharsVerify, setIsSpecialCharsVerify] = import_react5.default.useState(initStateVerifies);
327
+ const [isNumberVerify, setIsNumberVerify] = import_react5.default.useState(initStateVerifies);
328
+ const [isUppercaseVerify, setIsUppercaseVerify] = import_react5.default.useState(initStateVerifies);
329
+ const [isLowerercaseVerify, setisLowerercaseVerify] = import_react5.default.useState(initStateVerifies);
330
+ const nbAllVerifies = import_react5.default.useMemo(
331
+ () => validationRules && Object.values(validationRules).filter((rule) => rule).length || securityRules && securityRules.length || 0,
332
+ [validationRules, securityRules]
333
+ );
334
+ const rules = import_react5.default.useMemo(
335
+ () => securityRules && securityRules.map(({ label, patternValidator, dataAttribute }) => ({
336
+ label,
337
+ validate: !!(patternValidator == null ? void 0 : patternValidator.test(inputValue)),
338
+ dataAttribute
339
+ })),
340
+ [inputValue, securityRules]
341
+ );
342
+ const calcPoints = import_react5.default.useMemo(() => {
343
+ if (validationRules) {
344
+ return Number((points / nbAllVerifies * 100).toFixed(0));
345
+ }
346
+ if (securityRules) {
347
+ const pts = (rules == null ? void 0 : rules.filter((rule) => rule.validate).length) || 0;
348
+ return Number((pts / nbAllVerifies * 100).toFixed(0));
349
+ }
350
+ return 0;
351
+ }, [points, nbAllVerifies, rules, validationRules, securityRules]);
352
+ const widthGauge = import_react5.default.useMemo(() => {
353
+ if (calcPoints <= 50 && calcPoints > 0) return "50%";
354
+ if (calcPoints <= 99 && calcPoints > 50) return "75%";
355
+ if (calcPoints === 100) return "100%";
356
+ return "0%";
357
+ }, [calcPoints, nbAllVerifies]);
358
+ const colorGauge = () => {
359
+ if (calcPoints <= 50 && calcPoints > 0) return getColorStyle("ERROR" /* ERROR */);
360
+ if (calcPoints <= 99 && calcPoints > 50) return getColorStyle("WARNING" /* WARNING */);
361
+ if (calcPoints === 100) return getColorStyle("SUCCESS" /* SUCCESS */);
362
+ return getColorStyle("NEUTRAL_FADE" /* NEUTRAL_FADE */);
363
+ };
364
+ const LengthvalidationRulesText = (0, import_react5.useMemo)(() => {
365
+ var _a2, _b2, _c, _d, _e, _f, _g, _h, _i, _j;
366
+ switch (true) {
367
+ 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):
368
+ return `Entre ${(_g = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _g.min} et ${(_h = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _h.max} caract\xE8res`;
369
+ case (((_c = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _c.min) && !((_d = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _d.max)):
370
+ return `Minimum ${(_i = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _i.min} caract\xE8res`;
371
+ case (((_e = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _e.max) && !((_f = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _f.min)):
372
+ return `Maximum ${(_j = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _j.max} caract\xE8res`;
373
+ default:
374
+ return "";
375
+ }
376
+ }, [(_a = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a.min, (_b = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b.max]);
377
+ (0, import_react5.useEffect)(() => {
378
+ var _a2, _b2;
379
+ const min = ((_a2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _a2.min) || 0;
380
+ const max = ((_b2 = validationRules == null ? void 0 : validationRules.length) == null ? void 0 : _b2.max) || "";
381
+ const regex = new RegExp(`^.{${min},${max}}$`);
382
+ const validations = [];
383
+ (validationRules == null ? void 0 : validationRules.specialChars) && validations.push({ test: /[^\w]/.test(inputValue), setState: setIsSpecialCharsVerify });
384
+ (validationRules == null ? void 0 : validationRules.number) && validations.push({ test: /[0-9]/.test(inputValue), setState: setIsNumberVerify });
385
+ (validationRules == null ? void 0 : validationRules.uppercase) && validations.push({ test: /[A-Z]/.test(inputValue), setState: setIsUppercaseVerify });
386
+ (validationRules == null ? void 0 : validationRules.lowercase) && validations.push({ test: /[a-z]/.test(inputValue), setState: setisLowerercaseVerify });
387
+ (validationRules == null ? void 0 : validationRules.length) && validations.push({ test: regex.test(inputValue), setState: setIsLengthVerify });
388
+ validations.forEach(({ test, setState }) => {
389
+ if (test) return setState({ isVerify: true, color: "SUCCESS" /* SUCCESS */ });
390
+ return setState(initStateVerifies);
391
+ });
392
+ setPoints(validations.filter((item) => item.test).length);
393
+ }, [inputValue, validationRules]);
394
+ return {
395
+ LengthvalidationRulesText,
396
+ colorGauge,
397
+ widthGauge,
398
+ isLengthVerify,
399
+ isLowerercaseVerify,
400
+ isNumberVerify,
401
+ isSpecialCharsVerify,
402
+ isUppercaseVerify,
403
+ rules
404
+ };
405
+ };
406
+
407
+ // components/input/gauge/InputGauge.tsx
408
+ var InputGauge = ({ validationRules, styled, inputValue, securityRules }) => {
409
+ const id = (0, import_react6.useId)();
410
+ const {
411
+ widthGauge,
412
+ colorGauge,
413
+ LengthvalidationRulesText,
414
+ isLengthVerify,
415
+ isLowerercaseVerify,
416
+ isNumberVerify,
417
+ isSpecialCharsVerify,
418
+ isUppercaseVerify,
419
+ rules
420
+ } = useGauge({ validationRules, inputValue, securityRules });
421
+ 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(
422
+ "div",
423
+ {
424
+ "data-gauge": true,
425
+ style: { width: widthGauge, backgroundColor: colorGauge() },
426
+ className: hashClass(styled, (0, import_clsx3.default)("gauge"))
427
+ }
428
+ )), /* @__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(
429
+ DataVerify,
430
+ {
431
+ display: !!(validationRules == null ? void 0 : validationRules.length),
432
+ dataAttribute: { "data-security-length": true },
433
+ type: LengthvalidationRulesText,
434
+ classes: "security-length",
435
+ color: isLengthVerify.color,
436
+ iconName: isLengthVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
437
+ styled
438
+ }
439
+ ), /* @__PURE__ */ import_react6.default.createElement(
440
+ DataVerify,
441
+ {
442
+ display: !!(validationRules == null ? void 0 : validationRules.uppercase),
443
+ dataAttribute: { "data-security-uppercase": true },
444
+ classes: "security-uppercase",
445
+ type: "Majuscule",
446
+ color: isUppercaseVerify.color,
447
+ iconName: isUppercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
448
+ styled
449
+ }
450
+ ), /* @__PURE__ */ import_react6.default.createElement(
451
+ DataVerify,
452
+ {
453
+ display: !!(validationRules == null ? void 0 : validationRules.specialChars),
454
+ dataAttribute: { "data-security-special-chars": true },
455
+ classes: "security-special-chars",
456
+ type: "Caract\xE8res sp\xE9ciaux",
457
+ color: isSpecialCharsVerify.color,
458
+ iconName: isSpecialCharsVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
459
+ styled
460
+ }
461
+ ), /* @__PURE__ */ import_react6.default.createElement(
462
+ DataVerify,
463
+ {
464
+ display: !!(validationRules == null ? void 0 : validationRules.lowercase),
465
+ dataAttribute: { "data-security-lowercase": true },
466
+ classes: "security-lowercase",
467
+ type: "Minuscule",
468
+ color: isLowerercaseVerify.color,
469
+ iconName: isLowerercaseVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
470
+ styled
471
+ }
472
+ ), /* @__PURE__ */ import_react6.default.createElement(
473
+ DataVerify,
474
+ {
475
+ display: !!(validationRules == null ? void 0 : validationRules.number),
476
+ dataAttribute: { "data-security-number": true },
477
+ classes: "security-number",
478
+ type: "Chiffre",
479
+ color: isNumberVerify.color,
480
+ iconName: isNumberVerify.isVerify ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
481
+ styled
482
+ }
483
+ )), securityRules && rules && rules.map((rule) => /* @__PURE__ */ import_react6.default.createElement(
484
+ DataVerify,
485
+ {
486
+ key: `${id}_${rule.label}`,
487
+ display: true,
488
+ type: rule.label,
489
+ color: rule.validate ? "SUCCESS" /* SUCCESS */ : "NEUTRAL" /* NEUTRAL */,
490
+ iconName: rule.validate ? "tri-check-circle" /* CHECK_CIRCLE */ : "tri-times" /* TIMES */,
491
+ styled,
492
+ dataAttribute: rule.dataAttribute
493
+ }
494
+ ))));
495
+ };
496
+ var DataVerify = ({
497
+ dataAttribute,
498
+ type,
499
+ display,
500
+ color,
501
+ iconName,
502
+ classes,
503
+ styled
504
+ }) => {
505
+ if (!display) return null;
506
+ 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));
507
+ };
508
+ var InputGauge_default = InputGauge;
509
+
510
+ // components/input/Input.tsx
511
+ var Input = import_react7.default.forwardRef(
512
+ ({
513
+ forceControl,
514
+ label,
515
+ sample,
516
+ className,
517
+ id = import_react7.default.useId(),
518
+ disabled,
519
+ onChange,
520
+ onKeyPress,
521
+ onKeyUp,
522
+ onIconClick,
523
+ onClick,
524
+ onFocus,
525
+ onBlur,
526
+ patternValidator,
527
+ onMouseEnter,
528
+ onMouseLeave,
529
+ name,
530
+ placeholder,
531
+ type = "text" /* TEXT */,
532
+ defaultValue,
533
+ value,
534
+ loading,
535
+ focused,
536
+ status,
537
+ help,
538
+ onStatusChange,
539
+ customValidator,
540
+ onSubmit,
541
+ minLength,
542
+ maxLength,
543
+ accessibilityLabel,
544
+ autoCompleteType,
545
+ iconNameLeft,
546
+ iconNameRight,
547
+ securityGauge,
548
+ validationRules,
549
+ securityRules,
550
+ required,
551
+ readOnly,
552
+ autoCapitalize,
553
+ ...others
554
+ }, ref) => {
555
+ const { styled } = useTrilogyContext();
556
+ const idHelp = (0, import_react7.useId)();
557
+ const idSample = (0, import_react7.useId)();
558
+ const inputIcon = /* @__PURE__ */ new Map();
559
+ inputIcon.set("success" /* SUCCESS */, "tri-check-circle" /* CHECK_CIRCLE */);
560
+ inputIcon.set("warning" /* WARNING */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
561
+ inputIcon.set("error" /* ERROR */, "tri-exclamation-circle" /* EXCLAMATION_CIRCLE */);
562
+ const [_value, setValue] = (0, import_react7.useState)(defaultValue != null ? defaultValue : "");
563
+ const [isFocused, setIsFocused] = (0, import_react7.useState)(focused != null ? focused : false);
564
+ const [isDirty, setIsDirty] = (0, import_react7.useState)(false);
565
+ const [isTouched, setIsTouched] = (0, import_react7.useState)(false);
566
+ const [localStatus, setLocalStatus] = (0, import_react7.useState)(status || "default" /* DEFAULT */);
567
+ const [inputType, setInputType] = (0, import_react7.useState)(type);
568
+ const [isShowPwd, setIsShowPwd] = (0, import_react7.useState)(false);
569
+ const helpClasses = (0, import_clsx4.default)("help", localStatus && is(localStatus));
570
+ const loader = hashClass(styled, (0, import_clsx4.default)(is("searching")));
571
+ const inputLabelClasses = hashClass(styled, "input-label");
572
+ const iconTimesClasses = hashClass(styled, (0, import_clsx4.default)(is("justified-self")));
573
+ const srOnlyClasses = hashClass(styled, (0, import_clsx4.default)("sr-only"));
574
+ const classes = hashClass(styled, (0, import_clsx4.default)("input", localStatus && is(localStatus)));
575
+ const wrapperClasses = hashClass(
576
+ styled,
577
+ (0, import_clsx4.default)("field", className, type === "password" /* PASSWORD */ && securityGauge && has("gauge"))
578
+ );
579
+ const hasIcon = iconNameLeft || iconNameRight;
580
+ const controlClasses = hashClass(
581
+ styled,
582
+ (0, import_clsx4.default)("control", {
583
+ [has("icons-right")]: hasIcon != null ? hasIcon : iconNameRight || type === "password" /* PASSWORD */,
584
+ [has("icons-left")]: iconNameLeft || type === "search" /* SEARCH */
585
+ })
586
+ );
587
+ const onPressKey = (0, import_react7.useCallback)((e) => {
588
+ const target = e.target;
589
+ return {
590
+ inputName: target.name,
591
+ inputValue: target.value,
592
+ inputKeyCode: e.keyCode,
593
+ target,
594
+ event: e,
595
+ preventDefault: () => e.preventDefault()
596
+ };
597
+ }, []);
598
+ const IconWrapper = (0, import_react7.useCallback)(
599
+ ({ className: className2, name: name2, color, closeIconSearch, onPress, srOnly, showPassword }) => {
600
+ const Markup = showPassword ? "button" : "div";
601
+ return /* @__PURE__ */ import_react7.default.createElement(
602
+ Markup,
603
+ {
604
+ ...showPassword && { "data-show-pwd": true, type: "button" },
605
+ onClick: (e) => {
606
+ onPress && onPress();
607
+ if (onIconClick) {
608
+ onIconClick({ inputName: name2 != null ? name2 : "", inputValue: _value, target: e.target });
609
+ }
610
+ }
611
+ },
612
+ /* @__PURE__ */ import_react7.default.createElement(Icon_default, { className: className2, name: name2, size: "small" /* SMALL */, color }),
613
+ _value && _value.length > 0 && closeIconSearch && /* @__PURE__ */ import_react7.default.createElement(
614
+ Icon_default,
615
+ {
616
+ onClick: () => setValue(""),
617
+ className: iconTimesClasses,
618
+ name: "tri-times" /* TIMES_CIRCLE */,
619
+ size: "small" /* SMALL */
620
+ }
621
+ ),
622
+ showPassword && srOnly && /* @__PURE__ */ import_react7.default.createElement("span", { className: srOnlyClasses }, srOnly)
623
+ );
624
+ },
625
+ [_value, styled]
626
+ );
627
+ const validator = !customValidator && patternValidator ? (value2) => patternValidator.test(value2) ? "success" /* SUCCESS */ : "error" /* ERROR */ : customValidator;
628
+ (0, import_react7.useEffect)(() => {
629
+ var _a;
630
+ setValue((_a = value != null ? value : defaultValue) != null ? _a : "");
631
+ }, [value, defaultValue]);
632
+ (0, import_react7.useEffect)(() => {
633
+ setIsFocused(focused != null ? focused : false);
634
+ }, [focused]);
635
+ (0, import_react7.useEffect)(() => {
636
+ if (isFocused) setIsDirty(true);
637
+ else if (isDirty) setIsTouched(true);
638
+ }, [isFocused, isDirty]);
639
+ (0, import_react7.useEffect)(() => {
640
+ if (!validator || !isTouched) return;
641
+ setLocalStatus(validator(_value));
642
+ }, [isFocused, isTouched]);
643
+ (0, import_react7.useEffect)(() => {
644
+ setLocalStatus(status || "default" /* DEFAULT */);
645
+ }, [status]);
646
+ (0, import_react7.useEffect)(() => {
647
+ if (onStatusChange) onStatusChange(localStatus);
648
+ }, [localStatus]);
649
+ 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(
650
+ "input",
651
+ {
652
+ "aria-describedby": `${idHelp} ${idSample}`,
653
+ id,
654
+ required,
655
+ readOnly,
656
+ ...others,
657
+ "aria-label": !label ? accessibilityLabel : void 0,
658
+ type: inputType,
659
+ className: classes,
660
+ value,
661
+ defaultValue,
662
+ name,
663
+ onSubmit,
664
+ autoCapitalize: type === "password" /* PASSWORD */ ? "off" : autoCapitalize || void 0,
665
+ ref,
666
+ disabled,
667
+ minLength,
668
+ maxLength,
669
+ autoComplete: autoCompleteType,
670
+ onKeyUp: (e) => onKeyUp && onKeyUp(onPressKey(e)),
671
+ onKeyPress: (e) => onKeyPress && onKeyPress(onPressKey(e)),
672
+ onMouseEnter: (e) => onMouseEnter == null ? void 0 : onMouseEnter(e),
673
+ onMouseLeave: (e) => onMouseLeave == null ? void 0 : onMouseLeave(e),
674
+ placeholder,
675
+ onClick: (e) => {
676
+ const target = e.target;
677
+ if (onClick) {
678
+ onClick({
679
+ inputName: target.name,
680
+ inputValue: target.value,
681
+ target
682
+ });
683
+ }
684
+ },
685
+ onChange: (e) => {
686
+ if (inputType !== "date" /* DATE */ && inputType !== "datetime-local" /* DATETIME_LOCAL */ && inputType !== "number" /* NUMBER */ && inputType !== "email" /* EMAIL */) {
687
+ const caret = e.target.selectionStart;
688
+ const element = e.target;
689
+ window.requestAnimationFrame(() => {
690
+ element.selectionStart = caret;
691
+ element.selectionEnd = caret;
692
+ });
693
+ }
694
+ if (!forceControl) setValue(e.target.value);
695
+ if (onChange) {
696
+ onChange({
697
+ inputName: e.target.name,
698
+ inputValue: e.target.value,
699
+ inputSelectionStart: e.target.selectionStart,
700
+ target: e.target,
701
+ event: e
702
+ });
703
+ }
704
+ },
705
+ onFocus: (e) => {
706
+ onFocus == null ? void 0 : onFocus(e);
707
+ setIsFocused(true);
708
+ },
709
+ onBlur: (e) => {
710
+ onBlur == null ? void 0 : onBlur(e);
711
+ setIsFocused(false);
712
+ }
713
+ }
714
+ ), 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(
715
+ IconWrapper,
716
+ {
717
+ showPassword: true,
718
+ srOnly: !isShowPwd ? import_locales.inputLocale.showPassword : import_locales.inputLocale.hidePassword,
719
+ className: "icon-right",
720
+ name: isShowPwd ? "tri-eye-slash" /* EYE_SLASH */ : "tri-eye" /* EYE */,
721
+ onPress: () => {
722
+ if (inputType === "password" /* PASSWORD */) {
723
+ setInputType("text" /* TEXT */);
724
+ setIsShowPwd(true);
725
+ } else {
726
+ setInputType("password" /* PASSWORD */);
727
+ setIsShowPwd(false);
728
+ }
729
+ }
730
+ }
731
+ ), 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(
732
+ InputGauge_default,
733
+ {
734
+ validationRules,
735
+ securityRules,
736
+ styled,
737
+ inputValue: _value
738
+ }
739
+ ));
740
+ }
741
+ );
742
+ Input.displayName = "Input" /* Input */;
743
+ var Input_default = Input;
744
+
745
+ // components/select/web/SelectDynamic.tsx
746
+ var OPTION_SIZE = 48;
747
+ var SelectDynamic = import_react8.default.forwardRef(
748
+ ({
749
+ onChange,
750
+ disabled,
751
+ onFocus,
752
+ onBlur,
753
+ children,
754
+ selected,
755
+ name,
756
+ id,
757
+ label,
758
+ iconName,
759
+ multiple,
760
+ className,
761
+ status,
762
+ placeholder,
763
+ required,
764
+ custom,
765
+ help,
766
+ sample,
767
+ ...others
768
+ }, ref) => {
769
+ const { styled } = useTrilogyContext();
770
+ const { setIsVisibleOptions, isVisibleOptions, selectedOptionValues } = (0, import_react8.useContext)(SelectContext);
771
+ const containerRef = (0, import_react8.useRef)(null);
772
+ const [openUpward, setOpenUpward] = (0, import_react8.useState)(false);
773
+ const optionsListSize = (0, import_react8.useRef)(0);
774
+ const [dropdownStyles, setDropdownStyles] = (0, import_react8.useState)({});
775
+ const selectClasses = hashClass(styled, (0, import_clsx5.default)("select", className));
776
+ const optionsClasses = hashClass(styled, (0, import_clsx5.default)("select-options", openUpward && "select-options-top"));
777
+ const portalClasses = hashClass(styled, "select-trilogy_modal_open");
778
+ const onClickInput = () => {
779
+ if (containerRef.current && optionsListSize.current) {
780
+ const { top, bottom } = containerRef.current.getBoundingClientRect();
781
+ const windowHeight = window.innerHeight;
782
+ const spaceBelow = windowHeight - bottom;
783
+ const padding = 10;
784
+ const maxHeightBelow = spaceBelow - padding;
785
+ const maxHeightAbove = top - padding;
786
+ const openUpward2 = maxHeightBelow < optionsListSize.current && maxHeightAbove > maxHeightBelow;
787
+ setOpenUpward(openUpward2);
788
+ setDropdownStyles({
789
+ maxHeight: openUpward2 ? `${maxHeightAbove}px` : `${maxHeightBelow}px`,
790
+ overflowY: "auto"
791
+ });
792
+ }
793
+ setIsVisibleOptions((prev) => !prev);
794
+ };
795
+ const onCloseOptions = () => setIsVisibleOptions(false);
796
+ const onKeyPressInput = (keyCode) => {
797
+ setIsVisibleOptions((prev) => {
798
+ if (keyCode === 27) return false;
799
+ if (keyCode === 13) return !prev;
800
+ return prev;
801
+ });
802
+ };
803
+ const options = (0, import_react8.useMemo)(() => {
804
+ var _a;
805
+ return (_a = import_react8.default.Children.map(children, (child) => {
806
+ if (!import_react8.default.isValidElement(child)) return false;
807
+ return {
808
+ label: child.props.children || child.props.label,
809
+ value: child.props.value
810
+ };
811
+ })) == null ? void 0 : _a.filter((option) => option);
812
+ }, []);
813
+ const labelsSelected = (0, import_react8.useMemo)(() => {
814
+ return selectedOptionValues.map((selectedOption) => {
815
+ const elm = options == null ? void 0 : options.find((opt) => opt.value === selectedOption);
816
+ return elm == null ? void 0 : elm.label;
817
+ });
818
+ }, [selectedOptionValues, options]);
819
+ (0, import_react8.useEffect)(() => {
820
+ const childrenCount = import_react8.default.Children.count(children);
821
+ if (childrenCount > 0) {
822
+ optionsListSize.current = childrenCount * OPTION_SIZE;
823
+ }
824
+ }, [children]);
825
+ return /* @__PURE__ */ import_react8.default.createElement("div", { className: selectClasses, ref: containerRef, ...others }, /* @__PURE__ */ import_react8.default.createElement(
826
+ Input_default,
827
+ {
828
+ sample,
829
+ help,
830
+ required,
831
+ status,
832
+ ref,
833
+ value: labelsSelected == null ? void 0 : labelsSelected.join(", "),
834
+ name,
835
+ disabled,
836
+ label,
837
+ placeholder,
838
+ onFocus,
839
+ iconNameLeft: iconName,
840
+ onBlur,
841
+ onClick: onClickInput,
842
+ className: isVisibleOptions ? "focus" : void 0,
843
+ onKeyPress: (e) => {
844
+ e.preventDefault();
845
+ },
846
+ onKeyUp: (e) => {
847
+ e.preventDefault();
848
+ onKeyPressInput(e.inputKeyCode);
849
+ },
850
+ ...{ readOnly: true, id, role: "combobox" }
851
+ }
852
+ ), /* @__PURE__ */ import_react8.default.createElement(
853
+ "ul",
854
+ {
855
+ role: "listbox",
856
+ className: optionsClasses,
857
+ style: {
858
+ display: isVisibleOptions ? "block" : "none",
859
+ ...dropdownStyles
860
+ }
861
+ },
862
+ children
863
+ ), isVisibleOptions && import_react_dom.default.createPortal(
864
+ /* @__PURE__ */ import_react8.default.createElement("div", { role: "presentation", className: portalClasses, onClick: onCloseOptions }),
865
+ document.body
866
+ ));
867
+ }
868
+ );
869
+ SelectDynamic.displayName = "Select" /* Select */;
870
+ var SelectDynamic_default = SelectDynamic;
871
+
872
+ // components/select/web/SelectNative.tsx
873
+ var import_clsx6 = __toESM(require("clsx"));
874
+ var React10 = __toESM(require("react"));
875
+ var SelectNative = React10.forwardRef(
876
+ ({
877
+ onChange,
878
+ disabled,
879
+ onFocus,
880
+ onBlur,
881
+ children,
882
+ selected,
883
+ name,
884
+ id,
885
+ testId,
886
+ label,
887
+ iconName,
888
+ className,
889
+ accessibilityLabel,
890
+ status,
891
+ required,
892
+ sample,
893
+ help,
894
+ ...others
895
+ }, ref) => {
896
+ const { styled } = useTrilogyContext();
897
+ const idHelp = React10.useId();
898
+ const idSample = React10.useId();
899
+ const [focused, setIsFocused] = React10.useState(false);
900
+ const [selectedValues, setSelectedValues] = React10.useState(selected);
901
+ const selectClasses = hashClass(styled, (0, import_clsx6.default)("select", className));
902
+ const controlClass = hashClass(styled, (0, import_clsx6.default)("control", iconName && "has-icons-left"));
903
+ const helpClasses = (0, import_clsx6.default)("help", status && is(status));
904
+ const handleFocus = React10.useCallback((e) => {
905
+ setIsFocused(true);
906
+ onFocus && onFocus(e);
907
+ }, []);
908
+ const handleBlur = React10.useCallback((e) => {
909
+ setIsFocused(false);
910
+ onBlur && onBlur(e);
911
+ }, []);
912
+ React10.useEffect(() => {
913
+ setSelectedValues(selected);
914
+ }, [selected]);
915
+ 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(
916
+ "select",
917
+ {
918
+ ref,
919
+ className: hashClass(styled, (0, import_clsx6.default)(!label && "no-label", status && is(status))),
920
+ value: selectedValues,
921
+ "aria-label": accessibilityLabel,
922
+ "data-testid": testId,
923
+ onChange: (e) => {
924
+ const selectedV = Array.from(e.target.selectedOptions).map((select) => select.value);
925
+ setSelectedValues(selectedV);
926
+ if (onChange) {
927
+ onChange({
928
+ selectValue: e.target.value,
929
+ selectName: e.target.name,
930
+ selectId: e.target.id,
931
+ name: e.target.name,
932
+ selectedOptions: selectedV,
933
+ target: e.target
934
+ });
935
+ }
936
+ },
937
+ onFocus: handleFocus,
938
+ onBlur: handleBlur,
939
+ id: id ? String(id) : void 0,
940
+ name,
941
+ disabled,
942
+ role: "listbox",
943
+ ...others
944
+ },
945
+ React10.Children.map(children, (child) => {
946
+ if (!React10.isValidElement(child)) return null;
947
+ const props = {
948
+ ...child.props,
949
+ native: "true"
950
+ };
951
+ return /* @__PURE__ */ React10.createElement(option_default, { ...props });
952
+ })
953
+ ), iconName && /* @__PURE__ */ React10.createElement(Icon_default, { name: iconName, size: "small" })), help && /* @__PURE__ */ React10.createElement(Text_default, { className: helpClasses, id: idHelp }, help)));
954
+ }
955
+ );
956
+ SelectNative.displayName = "Select" /* Select */;
957
+ var SelectNative_default = SelectNative;
958
+
959
+ // components/select/Select.tsx
960
+ var Select = React11.forwardRef(({ selected, ...props }, ref) => {
961
+ const [isVisibleOptions, setIsVisibleOptions] = React11.useState(false);
962
+ const [selectedOptionValues, setSelectedOptionValues] = React11.useState([]);
963
+ React11.useEffect(() => {
964
+ const value = typeof selected === "string" || typeof selected === "number" ? [selected] : !selected || selected === null ? [] : selected;
965
+ setSelectedOptionValues(value);
966
+ }, [selected]);
967
+ if (props.custom || props.multiple)
968
+ return /* @__PURE__ */ React11.createElement(
969
+ SelectContext.Provider,
970
+ {
971
+ value: {
972
+ custom: props.custom || false,
973
+ multiple: props.multiple || false,
974
+ selectedOptionValues,
975
+ isVisibleOptions,
976
+ setSelectedOptionValues,
977
+ setIsVisibleOptions,
978
+ onChange: props.onChange
979
+ }
980
+ },
981
+ /* @__PURE__ */ React11.createElement(SelectDynamic_default, { ref, selected, ...props })
982
+ );
983
+ return /* @__PURE__ */ React11.createElement(SelectNative_default, { ref, selected, ...props });
984
+ });
985
+ Select.displayName = "Select" /* Select */;
986
+ var Select_default = Select;
987
+
988
+ // components/select/option/SelectOption.tsx
989
+ var import_clsx7 = __toESM(require("clsx"));
990
+ var React12 = __toESM(require("react"));
991
+ var SelectOption = React12.forwardRef(
992
+ ({ id, className, value = "", disabled, children, onClick, label, iconName, testId, ...others }, ref) => {
993
+ const { styled } = useTrilogyContext();
994
+ const { custom, selectedOptionValues, setSelectedOptionValues, multiple, setIsVisibleOptions, onChange } = React12.useContext(SelectContext);
995
+ const isChecked = selectedOptionValues.includes(value);
996
+ const selectClasses = hashClass(styled, (0, import_clsx7.default)("option", isChecked && "focus", disabled && is("disabled"), className));
997
+ const handleClickOption = () => {
998
+ setSelectedOptionValues((prev) => {
999
+ const isInclude = prev.includes(value);
1000
+ const newOptionsSelected = !multiple && isInclude ? [] : !multiple && !isInclude ? [value] : isInclude ? prev.filter((opt) => opt !== value) : [...prev, value];
1001
+ if (onChange) {
1002
+ onChange({
1003
+ selectValue: isInclude ? void 0 : value,
1004
+ selectName: isInclude ? void 0 : children || label,
1005
+ selectId: isInclude ? void 0 : id,
1006
+ name: isInclude ? void 0 : children || label,
1007
+ selectedOptions: newOptionsSelected,
1008
+ target: void 0
1009
+ });
1010
+ }
1011
+ return newOptionsSelected;
1012
+ });
1013
+ if (!multiple) setIsVisibleOptions(false);
1014
+ };
1015
+ if (custom || multiple) {
1016
+ return /* @__PURE__ */ React12.createElement(
1017
+ "li",
1018
+ {
1019
+ ref,
1020
+ id,
1021
+ className: selectClasses,
1022
+ "data-selected": isChecked,
1023
+ role: "option",
1024
+ "aria-selected": isChecked,
1025
+ "data-value": value,
1026
+ onClick: !disabled ? handleClickOption : void 0,
1027
+ ...others
1028
+ },
1029
+ iconName && /* @__PURE__ */ React12.createElement(Icon_default, { name: iconName }),
1030
+ label || children
1031
+ );
1032
+ }
1033
+ return /* @__PURE__ */ React12.createElement(
1034
+ "option",
1035
+ {
1036
+ ref,
1037
+ role: "option",
1038
+ id,
1039
+ value,
1040
+ disabled,
1041
+ "aria-label": label,
1042
+ "data-testid": testId,
1043
+ onClick,
1044
+ ...others
1045
+ },
1046
+ children || label
1047
+ );
1048
+ }
1049
+ );
1050
+ SelectOption.displayName = "SelectOption" /* SelectOption */;
1051
+ var SelectOption_default = SelectOption;
1052
+
1053
+ // components/select/option/index.ts
1054
+ var option_default = SelectOption_default;
1055
+
1056
+ // components/calendar/Calendar.tsx
1057
+ var days = [...import_locales2.calendarLocale.days];
1058
+ var months = [...import_locales2.calendarLocale.months];
1059
+ var currentDate = /* @__PURE__ */ new Date();
1060
+ function checkIsRange(date) {
1061
+ return !(date instanceof Date);
1062
+ }
1063
+ var Calendar = import_react9.default.forwardRef(
1064
+ ({
1065
+ value = currentDate,
1066
+ minDate = new Date(currentDate.getFullYear() - 10, 0, 1),
1067
+ maxDate = new Date(currentDate.getFullYear() + 10, 12, 0),
1068
+ disabled,
1069
+ readOnly,
1070
+ disabledDates,
1071
+ onChange,
1072
+ onMonthChange
1073
+ }, ref) => {
1074
+ const { styled } = useTrilogyContext();
1075
+ const [visibleMonth, setVisibleMonth] = import_react9.default.useState(
1076
+ value instanceof Date ? value : value[0] || currentDate
1077
+ );
1078
+ const [activeDate, setActiveDate] = import_react9.default.useState(value);
1079
+ const [dateEndHovered, setDateEndHovered] = import_react9.default.useState();
1080
+ const refsDays = import_react9.default.useRef([]);
1081
+ const refDayFocused = import_react9.default.useRef();
1082
+ const refs = import_react9.default.useRef([]);
1083
+ const weeksId = import_react9.default.useId();
1084
+ const daysId = import_react9.default.useId();
1085
+ const calendarClasses = hashClass(styled, (0, import_clsx8.default)("calendar"));
1086
+ const calendarheaderClasses = hashClass(styled, (0, import_clsx8.default)("calendar-header"));
1087
+ const headerDropdownClasses = hashClass(styled, (0, import_clsx8.default)("calendar-header-dropdown"));
1088
+ const calendarActiveMonthClasses = hashClass(styled, (0, import_clsx8.default)("calendar-active-month"));
1089
+ const calendarDayLabelClasses = hashClass(styled, (0, import_clsx8.default)("calendar-week-day-label"));
1090
+ const calendarWeekDayClasses = hashClass(styled, (0, import_clsx8.default)("calendar-week-day"));
1091
+ const calendarActiveDateClasses = hashClass(styled, (0, import_clsx8.default)("calendar-active-date"));
1092
+ const calendarNextMonthClasses = hashClass(styled, (0, import_clsx8.default)("calendar-next-month"));
1093
+ const calendarPrevMonthClasses = hashClass(styled, (0, import_clsx8.default)("calendar-prev-month"));
1094
+ const calendarWeekDayDisabledClasses = hashClass(styled, (0, import_clsx8.default)("calendar-week-day-disabled"));
1095
+ const isDisabledClass = hashClass(styled, (0, import_clsx8.default)(is("disabled")));
1096
+ const isActiveClasses = hashClass(styled, (0, import_clsx8.default)(is("active")));
1097
+ const calendarWeekClasses = hashClass(styled, (0, import_clsx8.default)("calendar-week"));
1098
+ const dateStartClasses = hashClass(styled, (0, import_clsx8.default)("calendar-date-start"));
1099
+ const dateEndClasses = hashClass(styled, (0, import_clsx8.default)("calendar-date-end"));
1100
+ const rangeClasses = hashClass(styled, (0, import_clsx8.default)("calendar-range"));
1101
+ const dateInRangeClasses = hashClass(styled, (0, import_clsx8.default)("calendar-date-in-range"));
1102
+ const rangeInitClasses = hashClass(styled, (0, import_clsx8.default)("calendar-range-init"));
1103
+ const rondedLeftClasses = hashClass(styled, (0, import_clsx8.default)("calendar-date-rounded-left"));
1104
+ const rondedRightClasses = hashClass(styled, (0, import_clsx8.default)("calendar-date-rounded-right"));
1105
+ const isRange = checkIsRange(activeDate);
1106
+ const isNextDisabled = import_react9.default.useMemo(
1107
+ () => 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()),
1108
+ [maxDate, visibleMonth, disabled]
1109
+ );
1110
+ const isPrevDisabled = import_react9.default.useMemo(
1111
+ () => 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()),
1112
+ [minDate, visibleMonth, disabled]
1113
+ );
1114
+ const getAllDaysInMonth = import_react9.default.useCallback((year, month) => {
1115
+ const date = new Date(year, month, 1);
1116
+ const days2 = [];
1117
+ const firstDayOfMonth = date.getDay();
1118
+ const lastDayOfMonth = new Date(year, month + 1, 0).getDate();
1119
+ const allDays = [];
1120
+ for (let i = 0; i < firstDayOfMonth; i++) days2.push(null);
1121
+ for (let day = 1; day <= lastDayOfMonth; day++) days2.push(new Date(year, month, day));
1122
+ for (let i = 0; i < days2.length; i += 7) allDays.push(days2.slice(i, i + 7));
1123
+ return allDays;
1124
+ }, []);
1125
+ const yearsBetween = import_react9.default.useMemo(() => {
1126
+ const minYear = minDate.getFullYear();
1127
+ const maxYear = maxDate.getFullYear();
1128
+ const currentYear = value instanceof Date && (value == null ? void 0 : value.getFullYear());
1129
+ const isCurrentYearInclude = currentYear && currentYear >= minYear && currentYear <= maxYear;
1130
+ let years = Array.from({ length: maxYear - minYear + 1 }, (_, i) => {
1131
+ const year = minYear + i;
1132
+ return {
1133
+ value: year,
1134
+ disabled: false
1135
+ };
1136
+ });
1137
+ if (currentYear && !isCurrentYearInclude) {
1138
+ years = [{ value: currentYear, disabled: true }, ...years];
1139
+ }
1140
+ return years;
1141
+ }, [minDate, maxDate, value]);
1142
+ const availableMonths = import_react9.default.useMemo(() => {
1143
+ const currentYear = visibleMonth.getFullYear();
1144
+ const minYear = minDate.getFullYear();
1145
+ const maxYear = maxDate.getFullYear();
1146
+ const minMonth = minDate.getMonth();
1147
+ const maxMonth = maxDate.getMonth();
1148
+ return Array.from({ length: 12 }, (_, monthIndex) => {
1149
+ if (currentYear < minYear || currentYear > maxYear) return false;
1150
+ if (currentYear === minYear && monthIndex < minMonth) return false;
1151
+ if (currentYear === maxYear && monthIndex > maxMonth) return false;
1152
+ return true;
1153
+ });
1154
+ }, [minDate, maxDate, visibleMonth]);
1155
+ const availableYear = import_react9.default.useMemo(() => {
1156
+ const minYear = minDate.getFullYear();
1157
+ const maxYear = maxDate.getFullYear();
1158
+ return Array.from({ length: maxYear - minYear + 1 }, (_, i) => minYear + i);
1159
+ }, [minDate, maxDate, visibleMonth]);
1160
+ const allDaysInMonth = import_react9.default.useMemo(() => {
1161
+ refsDays.current = [];
1162
+ const activeYear = visibleMonth.getFullYear();
1163
+ const activeMonth = visibleMonth.getMonth();
1164
+ return getAllDaysInMonth(activeYear, activeMonth);
1165
+ }, [visibleMonth]);
1166
+ const handleClickNextPrevMonth = import_react9.default.useCallback(
1167
+ (month) => {
1168
+ const nextMonth = new Date(visibleMonth.getFullYear(), visibleMonth.getMonth() + month, visibleMonth.getDate());
1169
+ setVisibleMonth(nextMonth);
1170
+ onMonthChange && onMonthChange(nextMonth);
1171
+ },
1172
+ [visibleMonth, onMonthChange]
1173
+ );
1174
+ const handleMonthSelect = import_react9.default.useCallback(
1175
+ (selectedMonth) => {
1176
+ const newDate = new Date(visibleMonth.getFullYear(), selectedMonth, visibleMonth.getDate());
1177
+ setVisibleMonth(newDate);
1178
+ onMonthChange && onMonthChange(newDate);
1179
+ },
1180
+ [visibleMonth, onMonthChange, minDate, maxDate]
1181
+ );
1182
+ const handleYearSelect = import_react9.default.useCallback(
1183
+ (selectedYear) => {
1184
+ const newDate = new Date(selectedYear, visibleMonth.getMonth(), visibleMonth.getDate());
1185
+ if (newDate.getTime() < minDate.getTime() || newDate.getTime() > maxDate.getTime()) {
1186
+ if (newDate.getTime() < minDate.getTime()) {
1187
+ setVisibleMonth(new Date(selectedYear, minDate.getMonth(), visibleMonth.getDate()));
1188
+ onMonthChange && onMonthChange(new Date(selectedYear, minDate.getMonth(), visibleMonth.getDate()));
1189
+ } else {
1190
+ setVisibleMonth(new Date(selectedYear, maxDate.getMonth(), visibleMonth.getDate()));
1191
+ onMonthChange && onMonthChange(new Date(selectedYear, maxDate.getMonth(), visibleMonth.getDate()));
1192
+ }
1193
+ return;
1194
+ }
1195
+ setVisibleMonth(newDate);
1196
+ onMonthChange && onMonthChange(newDate);
1197
+ },
1198
+ [visibleMonth, onMonthChange, minDate, maxDate]
1199
+ );
1200
+ const navigateInDaysWithKeyboard = import_react9.default.useCallback(
1201
+ (currentIndex, nextIndex) => {
1202
+ var _a;
1203
+ const nextRef = refsDays.current[currentIndex + nextIndex];
1204
+ if (nextRef) {
1205
+ refDayFocused.current = nextRef;
1206
+ return nextRef.focus();
1207
+ }
1208
+ const mustNextMonth = [1, 7].includes(nextIndex);
1209
+ const mustPrevMonth = [-1, -7].includes(nextIndex);
1210
+ setVisibleMonth((prev) => {
1211
+ const currentYear = prev.getFullYear();
1212
+ const currentMonth = prev.getMonth();
1213
+ if (mustNextMonth && !isNextDisabled) return new Date(currentYear, currentMonth + 1);
1214
+ if (mustPrevMonth && !isPrevDisabled) return new Date(currentYear, currentMonth - 1);
1215
+ return prev;
1216
+ });
1217
+ if (mustNextMonth && isNextDisabled) return;
1218
+ if (mustPrevMonth && isPrevDisabled) return;
1219
+ const prevDayFocused = new Date(Number((_a = refDayFocused.current) == null ? void 0 : _a.dataset.timestamp));
1220
+ setTimeout(() => {
1221
+ const year = prevDayFocused.getFullYear();
1222
+ const month = prevDayFocused.getMonth();
1223
+ const day = prevDayFocused.getDate() + nextIndex;
1224
+ const nextDayFocused = new Date(year, month, day);
1225
+ refsDays.current[nextDayFocused.getDate() - 1].focus();
1226
+ refDayFocused.current = refsDays.current[nextDayFocused.getDate() - 1];
1227
+ }, 10);
1228
+ },
1229
+ [refsDays.current, refDayFocused.current, isNextDisabled, isPrevDisabled]
1230
+ );
1231
+ const handlePressEnterInDays = import_react9.default.useCallback(
1232
+ (e) => {
1233
+ if (readOnly) return;
1234
+ const elm = e.target;
1235
+ if (!elm) return;
1236
+ refsDays.current.forEach((day) => day.tabIndex = -1);
1237
+ elm.tabIndex = 0;
1238
+ const newDate = new Date(Number(elm.dataset.timestamp));
1239
+ let newActiveDate = [newDate];
1240
+ if (!isRange) newActiveDate = newDate;
1241
+ if (isRange && activeDate.length === 1 && newDate.getTime() > activeDate[0].getTime()) {
1242
+ newActiveDate = [...activeDate, newDate];
1243
+ }
1244
+ setActiveDate(newActiveDate);
1245
+ setDateEndHovered(void 0);
1246
+ onChange && onChange(newActiveDate);
1247
+ },
1248
+ [refsDays.current, onChange, readOnly, activeDate, isRange]
1249
+ );
1250
+ const onKeyDownDay = import_react9.default.useCallback(
1251
+ (e, index, isDisabled) => {
1252
+ switch (e.key) {
1253
+ case "ArrowRight":
1254
+ return navigateInDaysWithKeyboard(index, 1);
1255
+ case "ArrowLeft":
1256
+ return navigateInDaysWithKeyboard(index, -1);
1257
+ case "ArrowUp":
1258
+ return navigateInDaysWithKeyboard(index, -7);
1259
+ case "ArrowDown":
1260
+ return navigateInDaysWithKeyboard(index, 7);
1261
+ case "Enter":
1262
+ return !isDisabled && handlePressEnterInDays(e);
1263
+ default:
1264
+ return;
1265
+ }
1266
+ },
1267
+ [handlePressEnterInDays, navigateInDaysWithKeyboard]
1268
+ );
1269
+ import_react9.default.useEffect(() => {
1270
+ var _a, _b;
1271
+ if (refsDays.current) {
1272
+ const activeDateIndex = refsDays.current.findIndex((day) => day.tabIndex === 0);
1273
+ if (activeDateIndex === -1 && ((_a = refsDays == null ? void 0 : refsDays.current[0]) == null ? void 0 : _a.tabIndex)) {
1274
+ const firstActiveDate = refsDays.current.findIndex((day) => !day.disabled);
1275
+ if (firstActiveDate !== -1) {
1276
+ refsDays.current[firstActiveDate].tabIndex = 0;
1277
+ refDayFocused.current = refsDays.current[firstActiveDate];
1278
+ }
1279
+ }
1280
+ if (activeDateIndex !== -1 && ((_b = refsDays == null ? void 0 : refsDays.current[0]) == null ? void 0 : _b.tabIndex)) {
1281
+ refDayFocused.current = refsDays.current[activeDateIndex];
1282
+ }
1283
+ }
1284
+ }, [refsDays.current, refDayFocused.current]);
1285
+ import_react9.default.useEffect(() => {
1286
+ setActiveDate(value);
1287
+ if (value instanceof Date) return setVisibleMonth(value);
1288
+ if (!(value instanceof Date) && value[0]) return setVisibleMonth(value[0]);
1289
+ }, [value]);
1290
+ return /* @__PURE__ */ import_react9.default.createElement(
1291
+ "table",
1292
+ {
1293
+ "data-calendar-trilogy": "",
1294
+ ref,
1295
+ className: (0, import_clsx8.default)(
1296
+ calendarClasses,
1297
+ isRange && rangeClasses,
1298
+ isRange && activeDate.length === 1 && rangeInitClasses
1299
+ )
1300
+ },
1301
+ /* @__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(
1302
+ "button",
1303
+ {
1304
+ "data-focusable": !isPrevDisabled,
1305
+ onClick: () => handleClickNextPrevMonth(-1),
1306
+ "aria-label": "Previous month",
1307
+ type: "button",
1308
+ disabled: isPrevDisabled,
1309
+ ref: (el) => {
1310
+ if (el && refs) refs.current[1] = el;
1311
+ }
1312
+ },
1313
+ /* @__PURE__ */ import_react9.default.createElement(Icon_default, { name: "tri-arrow-left" })
1314
+ )), /* @__PURE__ */ import_react9.default.createElement("th", { colSpan: 5, className: calendarActiveMonthClasses }, /* @__PURE__ */ import_react9.default.createElement("div", { className: headerDropdownClasses }, /* @__PURE__ */ import_react9.default.createElement(
1315
+ Select_default,
1316
+ {
1317
+ "data-focusable": "true",
1318
+ selected: String(visibleMonth.getMonth()),
1319
+ onChange: (value2) => handleMonthSelect(Number(value2.selectValue)),
1320
+ ref: (el) => {
1321
+ if (el && refs) refs.current[2] = el;
1322
+ }
1323
+ },
1324
+ months.map((monthName, monthIndex) => /* @__PURE__ */ import_react9.default.createElement(option_default, { key: monthIndex, value: String(monthIndex), disabled: !availableMonths[monthIndex] }, monthName))
1325
+ ), /* @__PURE__ */ import_react9.default.createElement(
1326
+ Select_default,
1327
+ {
1328
+ "data-focusable": "true",
1329
+ selected: String(visibleMonth.getFullYear()),
1330
+ onChange: (value2) => handleYearSelect(Number(value2.selectValue)),
1331
+ ref: (el) => {
1332
+ if (el && refs) refs.current[3] = el;
1333
+ }
1334
+ },
1335
+ yearsBetween.map((year) => /* @__PURE__ */ import_react9.default.createElement(
1336
+ option_default,
1337
+ {
1338
+ key: year.value,
1339
+ value: String(year.value),
1340
+ disabled: !availableYear.includes(year.value)
1341
+ },
1342
+ String(year.value)
1343
+ ))
1344
+ ))), /* @__PURE__ */ import_react9.default.createElement("th", { colSpan: 1, className: calendarNextMonthClasses }, /* @__PURE__ */ import_react9.default.createElement(
1345
+ "button",
1346
+ {
1347
+ "data-focusable": !isNextDisabled,
1348
+ onClick: () => handleClickNextPrevMonth(1),
1349
+ "aria-label": "Next month",
1350
+ type: "button",
1351
+ disabled: isNextDisabled,
1352
+ ref: (el) => {
1353
+ if (el && refs) refs.current[4] = el;
1354
+ }
1355
+ },
1356
+ /* @__PURE__ */ import_react9.default.createElement(Icon_default, { name: "tri-arrow-right" })
1357
+ ))), /* @__PURE__ */ import_react9.default.createElement("tr", null, days.map((day, index) => {
1358
+ return /* @__PURE__ */ import_react9.default.createElement("td", { className: calendarDayLabelClasses, key: index }, /* @__PURE__ */ import_react9.default.createElement(Text_default, null, day.slice(0, 1)));
1359
+ }))),
1360
+ /* @__PURE__ */ import_react9.default.createElement("tbody", null, allDaysInMonth.map((week, weekIndex) => {
1361
+ return /* @__PURE__ */ import_react9.default.createElement(
1362
+ "tr",
1363
+ {
1364
+ key: `${weeksId}_${weekIndex}`,
1365
+ className: calendarWeekClasses,
1366
+ onMouseLeave: () => setDateEndHovered(void 0)
1367
+ },
1368
+ week.map((day, dayIndex) => {
1369
+ const ind = day !== null && day.getDate() - 1;
1370
+ const isDateStart = isRange && activeDate[0] && (day == null ? void 0 : day.getTime()) === activeDate[0].getTime();
1371
+ const isDateEnd = isRange && activeDate[1] && (day == null ? void 0 : day.getTime()) === activeDate[1].getTime();
1372
+ const today = /* @__PURE__ */ new Date();
1373
+ const isToday = (day == null ? void 0 : day.getFullYear()) === today.getFullYear() && (day == null ? void 0 : day.getMonth()) === today.getMonth() && (day == null ? void 0 : day.getDate()) === today.getDate();
1374
+ const isActive = !isRange ? (day == null ? void 0 : day.getFullYear()) === activeDate.getFullYear() && (day == null ? void 0 : day.getMonth()) === activeDate.getMonth() && (day == null ? void 0 : day.getDate()) === activeDate.getDate() : activeDate == null ? void 0 : activeDate.some(
1375
+ (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())
1376
+ );
1377
+ const isDisabled = disabled || day && day.getTime() > (maxDate == null ? void 0 : maxDate.getTime()) || day && day.getTime() < (minDate == null ? void 0 : minDate.getTime()) || day && (disabledDates == null ? void 0 : disabledDates.some(
1378
+ (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())
1379
+ )) || false;
1380
+ 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();
1381
+ return /* @__PURE__ */ import_react9.default.createElement(
1382
+ "td",
1383
+ {
1384
+ key: `${daysId}_${dayIndex}_${day == null ? void 0 : day.getTime()}`,
1385
+ className: (0, import_clsx8.default)(
1386
+ calendarWeekDayClasses,
1387
+ isActive && calendarActiveDateClasses,
1388
+ isDisabled && calendarWeekDayDisabledClasses,
1389
+ isDateStart && dateStartClasses,
1390
+ isDateEnd && dateEndClasses,
1391
+ isInRange && dateInRangeClasses,
1392
+ dayIndex === 0 && rondedLeftClasses,
1393
+ dayIndex === 6 && rondedRightClasses
1394
+ )
1395
+ },
1396
+ day && ind !== false && /* @__PURE__ */ import_react9.default.createElement(
1397
+ "button",
1398
+ {
1399
+ disabled: isDisabled,
1400
+ type: "button",
1401
+ onKeyDown: (e) => onKeyDownDay(e, ind, isDisabled),
1402
+ tabIndex: isActive ? 0 : -1,
1403
+ "aria-selected": isActive ? "true" : "false",
1404
+ "data-timestamp": day == null ? void 0 : day.getTime(),
1405
+ ref: (el) => {
1406
+ if (el) refsDays.current[ind] = el;
1407
+ },
1408
+ onMouseUp: (e) => !isDisabled && handlePressEnterInDays(e),
1409
+ className: (0, import_clsx8.default)(isDisabled && isDisabledClass, isActive && isActiveClasses),
1410
+ onMouseOver: () => {
1411
+ if (!isRange) return;
1412
+ if (activeDate[0] !== void 0 && activeDate.length === 1) setDateEndHovered(day);
1413
+ },
1414
+ onClick: () => {
1415
+ refDayFocused.current = refsDays.current[ind];
1416
+ },
1417
+ ...isToday && { "data-today": "true" },
1418
+ ...isActive && { "data-active-date": "true" }
1419
+ },
1420
+ day.getDate()
1421
+ )
1422
+ );
1423
+ })
1424
+ );
1425
+ }))
1426
+ );
1427
+ }
1428
+ );
1429
+ Calendar.displayName = "Calendar" /* Calendar */;
1430
+ var Calendar_default = Calendar;
1431
+ // Annotate the CommonJS export names for ESM import in node:
1432
+ 0 && (module.exports = {
1433
+ Calendar
1434
+ });