@trilogy-ds/react 0.0.20-esm-cjs → 0.0.23-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 (556) hide show
  1. package/lib/{chunk-7ZANYDV4.mjs → chunk-2BQXWN3R.mjs} +1 -1
  2. package/lib/{chunk-WV5PBU2C.mjs → chunk-2DMJIJTD.mjs} +17 -5
  3. package/lib/{chunk-MDZE2AV3.mjs → chunk-2EF72O53.mjs} +15 -8
  4. package/lib/{chunk-G2QCDZEE.mjs → chunk-33VIHGIE.mjs} +1 -1
  5. package/lib/{chunk-JB7AXJFO.mjs → chunk-3CUMNA5T.mjs} +16 -4
  6. package/lib/{chunk-27BK6EVC.mjs → chunk-3QN2JTJH.mjs} +3 -3
  7. package/lib/{chunk-IT2ZBSQG.mjs → chunk-3TFMB2ZU.mjs} +16 -7
  8. package/lib/{chunk-POCUFCQC.mjs → chunk-4J6WJU6H.mjs} +1 -1
  9. package/lib/chunk-4LBDW7MG.mjs +320 -0
  10. package/lib/{chunk-UPP3GX33.mjs → chunk-5NCBENYK.mjs} +16 -6
  11. package/lib/{chunk-B6D5UHOQ.mjs → chunk-6WPEEBMC.mjs} +1 -1
  12. package/lib/{chunk-ZRWNSZC6.mjs → chunk-6YU73H5M.mjs} +1 -1
  13. package/lib/chunk-7DJ5V2J7.mjs +90 -0
  14. package/lib/chunk-7HQWD2HW.mjs +635 -0
  15. package/lib/{chunk-ZSBVX26X.mjs → chunk-7LIZKR65.mjs} +1 -1
  16. package/lib/{chunk-T4AH7FLU.mjs → chunk-AVYI3IRF.mjs} +1 -1
  17. package/lib/{chunk-IOXFCPJQ.mjs → chunk-BNFC4BW2.mjs} +1 -1
  18. package/lib/{chunk-U2STNP4N.mjs → chunk-CKEC5R4P.mjs} +1 -1
  19. package/lib/{chunk-Q3NP4BBO.mjs → chunk-CU2FQJB3.mjs} +2 -2
  20. package/lib/{chunk-TCRJL43C.mjs → chunk-DB4LE4EW.mjs} +2 -2
  21. package/lib/{chunk-5ALKJFH4.mjs → chunk-DJQD6XHB.mjs} +1 -1
  22. package/lib/{chunk-LQ2EKGFZ.mjs → chunk-DOYDNMGO.mjs} +1 -1
  23. package/lib/{chunk-UC3N6X6R.mjs → chunk-DTG6ZDOA.mjs} +1 -1
  24. package/lib/{chunk-XZCE64VV.mjs → chunk-EFI4OPOL.mjs} +1 -1
  25. package/lib/{chunk-2MP6W4C2.mjs → chunk-EIBKS56D.mjs} +4 -4
  26. package/lib/{chunk-432FETUO.mjs → chunk-EKMGL7ZZ.mjs} +1 -1
  27. package/lib/{chunk-3I74MN5M.mjs → chunk-FADGUVGS.mjs} +2 -2
  28. package/lib/{chunk-M5W5FRMF.mjs → chunk-FKLCZFMR.mjs} +2 -2
  29. package/lib/{chunk-IHTDJ5DD.mjs → chunk-GQOES35K.mjs} +2 -2
  30. package/lib/{chunk-ZEEM3OU3.mjs → chunk-HS7PWFF3.mjs} +3 -3
  31. package/lib/{chunk-X5HHW5EE.mjs → chunk-HZAMMVDY.mjs} +3 -3
  32. package/lib/{chunk-LJ4LZ3UC.mjs → chunk-ILTCTVY7.mjs} +1 -1
  33. package/lib/{chunk-HPM5H4HF.mjs → chunk-INMX4E34.mjs} +1 -1
  34. package/lib/{chunk-ACDIJOLY.mjs → chunk-IZYESQPA.mjs} +12 -5
  35. package/lib/{chunk-I3LRGLUL.mjs → chunk-J2YGXNIH.mjs} +3 -3
  36. package/lib/{chunk-67BVHO7H.mjs → chunk-JDIKK2K5.mjs} +2 -2
  37. package/lib/chunk-JJA6BOVR.mjs +12 -0
  38. package/lib/{chunk-BIWBGSDJ.mjs → chunk-KPIWEUFQ.mjs} +1 -1
  39. package/lib/{chunk-NKO25SIM.mjs → chunk-KRZWEBDP.mjs} +2 -2
  40. package/lib/chunk-LHDHBH5T.mjs +1 -0
  41. package/lib/{chunk-SFL4T7RS.mjs → chunk-MIEXUCOH.mjs} +1 -1
  42. package/lib/{chunk-Y4CLZAPU.mjs → chunk-MR7AJAP2.mjs} +2 -2
  43. package/lib/{chunk-VSYM7BJ4.mjs → chunk-MV3N2D6T.mjs} +1 -1
  44. package/lib/{chunk-CCIRXOIR.mjs → chunk-NHN7GU32.mjs} +2 -2
  45. package/lib/{chunk-RVRMMLZJ.mjs → chunk-NPCDCOTL.mjs} +2 -2
  46. package/lib/{chunk-I4RR2QN7.mjs → chunk-OQ6PNNED.mjs} +2 -2
  47. package/lib/{chunk-QNDMUIJM.mjs → chunk-PZ2SAVMT.mjs} +2 -2
  48. package/lib/{chunk-573KW52P.mjs → chunk-PZP5ZUI3.mjs} +1 -1
  49. package/lib/chunk-RA7237YI.mjs +84 -0
  50. package/lib/{chunk-YSBY3XJC.mjs → chunk-RAQQH2DI.mjs} +1 -1
  51. package/lib/{chunk-K5D3QU3U.mjs → chunk-RGEGLOEG.mjs} +2 -2
  52. package/lib/{chunk-Y6VHQF2J.mjs → chunk-SOW7WGY7.mjs} +1 -1
  53. package/lib/{chunk-QIEADZWY.mjs → chunk-T27AVHAC.mjs} +1 -1
  54. package/lib/{chunk-UTXKOHCM.mjs → chunk-T2NWMSDU.mjs} +3 -3
  55. package/lib/{chunk-KUVBW2U7.mjs → chunk-THX2YDD5.mjs} +1 -1
  56. package/lib/{chunk-VL2UCFFK.mjs → chunk-TXKGISWW.mjs} +2 -2
  57. package/lib/{chunk-NE4WGXUM.mjs → chunk-TZFHL54Q.mjs} +1 -1
  58. package/lib/{chunk-QTEMHSK5.mjs → chunk-UIJLFZYF.mjs} +1 -1
  59. package/lib/{chunk-5NJMUSWY.mjs → chunk-UMCBNLSL.mjs} +1 -1
  60. package/lib/{chunk-DWZ232Q2.mjs → chunk-UQSQUPSK.mjs} +2 -2
  61. package/lib/chunk-UZO5VCH2.mjs +1 -0
  62. package/lib/{chunk-TPXCSXWT.mjs → chunk-VXYPRBJB.mjs} +3 -3
  63. package/lib/{chunk-5DY6WPCA.mjs → chunk-WWBPXBJT.mjs} +2 -2
  64. package/lib/{chunk-7TEPMZRL.mjs → chunk-XRN2HE4L.mjs} +1 -1
  65. package/lib/{chunk-23RKW2TY.mjs → chunk-Z44CCSOP.mjs} +1 -1
  66. package/lib/{chunk-JDLZGLZJ.mjs → chunk-Z7AZ74DI.mjs} +2 -2
  67. package/lib/components/accordion/index.mjs +3 -3
  68. package/lib/components/accordion/index.native.js +54 -37
  69. package/lib/components/accordion/index.native.mjs +9 -6
  70. package/lib/components/accordion/item/AccordionItem.native.js +48 -31
  71. package/lib/components/accordion/item/AccordionItem.native.mjs +6 -3
  72. package/lib/components/accordion/item/index.native.js +48 -31
  73. package/lib/components/accordion/item/index.native.mjs +6 -3
  74. package/lib/components/alert/Alert.mjs +2 -2
  75. package/lib/components/alert/Alert.native.js +138 -115
  76. package/lib/components/alert/Alert.native.mjs +19 -16
  77. package/lib/components/alert/index.mjs +2 -2
  78. package/lib/components/alert/index.native.js +138 -115
  79. package/lib/components/alert/index.native.mjs +19 -16
  80. package/lib/components/autocomplete/AutoComplete.mjs +15 -15
  81. package/lib/components/autocomplete/AutoComplete.native.js +158 -142
  82. package/lib/components/autocomplete/AutoComplete.native.mjs +21 -18
  83. package/lib/components/autocomplete/index.mjs +17 -17
  84. package/lib/components/autocomplete/index.native.js +166 -150
  85. package/lib/components/autocomplete/index.native.mjs +26 -23
  86. package/lib/components/autocomplete/item/AutoCompleteIem.native.js +67 -87
  87. package/lib/components/autocomplete/item/AutoCompleteIem.native.mjs +7 -5
  88. package/lib/components/autocomplete/item/AutoCompleteItem.mjs +1 -1
  89. package/lib/components/autocomplete/item/index.mjs +2 -2
  90. package/lib/components/autocomplete/item/index.native.js +67 -87
  91. package/lib/components/autocomplete/item/index.native.mjs +7 -5
  92. package/lib/components/autocomplete/menu/AutoCompleteMenu.mjs +1 -1
  93. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.js +118 -102
  94. package/lib/components/autocomplete/menu/AutoCompleteMenu.native.mjs +18 -15
  95. package/lib/components/autocomplete/menu/index.mjs +1 -1
  96. package/lib/components/autocomplete/menu/index.native.js +118 -102
  97. package/lib/components/autocomplete/menu/index.native.mjs +18 -15
  98. package/lib/components/autolayout/AutoLayout/AutoLayout.native.mjs +2 -2
  99. package/lib/components/autolayout/AutoLayout/index.native.mjs +2 -2
  100. package/lib/components/autolayout/AutoLayoutWrapper/index.native.mjs +3 -3
  101. package/lib/components/autolayout/index.mjs +3 -3
  102. package/lib/components/autolayout/index.native.mjs +3 -3
  103. package/lib/components/badge/Badge.mjs +1 -1
  104. package/lib/components/badge/Badge.native.js +37 -20
  105. package/lib/components/badge/Badge.native.mjs +16 -13
  106. package/lib/components/badge/index.mjs +1 -1
  107. package/lib/components/badge/index.native.js +37 -20
  108. package/lib/components/badge/index.native.mjs +16 -13
  109. package/lib/components/box/Box.native.js +34 -16
  110. package/lib/components/box/Box.native.mjs +5 -2
  111. package/lib/components/box/content/BoxContent.mjs +1 -1
  112. package/lib/components/box/content/index.mjs +1 -1
  113. package/lib/components/box/footer/BoxFooter.mjs +1 -1
  114. package/lib/components/box/footer/BoxFooter.native.js +34 -17
  115. package/lib/components/box/footer/BoxFooter.native.mjs +15 -12
  116. package/lib/components/box/footer/index.mjs +1 -1
  117. package/lib/components/box/footer/index.native.js +34 -17
  118. package/lib/components/box/footer/index.native.mjs +15 -12
  119. package/lib/components/box/header/BoxHeader.mjs +1 -1
  120. package/lib/components/box/header/BoxHeader.native.mjs +2 -2
  121. package/lib/components/box/header/index.mjs +1 -1
  122. package/lib/components/box/header/index.native.mjs +2 -2
  123. package/lib/components/box/index.mjs +9 -9
  124. package/lib/components/box/index.native.js +75 -49
  125. package/lib/components/box/index.native.mjs +22 -19
  126. package/lib/components/breadcrumb/Breadcrumb.native.js +34 -17
  127. package/lib/components/breadcrumb/Breadcrumb.native.mjs +6 -3
  128. package/lib/components/breadcrumb/index.mjs +1 -1
  129. package/lib/components/breadcrumb/index.native.js +94 -78
  130. package/lib/components/breadcrumb/index.native.mjs +9 -6
  131. package/lib/components/breadcrumb/item/BreadcrumbItem.mjs +1 -1
  132. package/lib/components/breadcrumb/item/BreadcrumbItem.native.js +71 -91
  133. package/lib/components/breadcrumb/item/BreadcrumbItem.native.mjs +7 -5
  134. package/lib/components/breadcrumb/item/index.mjs +1 -1
  135. package/lib/components/breadcrumb/item/index.native.js +71 -91
  136. package/lib/components/breadcrumb/item/index.native.mjs +7 -5
  137. package/lib/components/button/Button.mjs +1 -1
  138. package/lib/components/button/Button.native.js +50 -33
  139. package/lib/components/button/Button.native.mjs +16 -13
  140. package/lib/components/button/index.mjs +1 -1
  141. package/lib/components/button/index.native.js +53 -36
  142. package/lib/components/button/index.native.mjs +16 -13
  143. package/lib/components/button/list/ButtonList.mjs +1 -1
  144. package/lib/components/button/list/index.mjs +1 -1
  145. package/lib/components/calendar/Calendar.js +15 -3
  146. package/lib/components/calendar/Calendar.mjs +15 -15
  147. package/lib/components/calendar/Calendar.native.d.mts +15 -2
  148. package/lib/components/calendar/Calendar.native.d.ts +15 -2
  149. package/lib/components/calendar/Calendar.native.js +945 -3
  150. package/lib/components/calendar/Calendar.native.mjs +23 -1
  151. package/lib/components/calendar/index.js +15 -3
  152. package/lib/components/calendar/index.mjs +15 -15
  153. package/lib/components/calendar/index.native.js +943 -3
  154. package/lib/components/calendar/index.native.mjs +23 -1
  155. package/lib/components/card/Card.native.js +33 -43
  156. package/lib/components/card/Card.native.mjs +5 -3
  157. package/lib/components/card/content/CardContent.native.js +39 -49
  158. package/lib/components/card/content/CardContent.native.mjs +6 -4
  159. package/lib/components/card/content/index.native.js +39 -49
  160. package/lib/components/card/content/index.native.mjs +6 -4
  161. package/lib/components/card/image/CardImage.native.js +44 -54
  162. package/lib/components/card/image/CardImage.native.mjs +6 -4
  163. package/lib/components/card/image/index.native.js +44 -54
  164. package/lib/components/card/image/index.native.mjs +6 -4
  165. package/lib/components/card/index.mjs +1 -1
  166. package/lib/components/card/index.native.js +50 -60
  167. package/lib/components/card/index.native.mjs +7 -5
  168. package/lib/components/checkbox/Checkbox.native.js +92 -76
  169. package/lib/components/checkbox/Checkbox.native.mjs +8 -5
  170. package/lib/components/checkbox/index.mjs +15 -15
  171. package/lib/components/checkbox/index.native.js +139 -123
  172. package/lib/components/checkbox/index.native.mjs +25 -22
  173. package/lib/components/checkbox/list/CheckboxList.mjs +12 -12
  174. package/lib/components/checkbox/list/CheckboxList.native.js +71 -91
  175. package/lib/components/checkbox/list/CheckboxList.native.mjs +10 -8
  176. package/lib/components/checkbox/list/index.mjs +12 -12
  177. package/lib/components/checkbox/list/index.native.js +71 -91
  178. package/lib/components/checkbox/list/index.native.mjs +10 -8
  179. package/lib/components/checkbox/tiles/tile/CheckboxTile.mjs +12 -12
  180. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.js +107 -91
  181. package/lib/components/checkbox/tiles/tile/CheckboxTile.native.mjs +18 -15
  182. package/lib/components/checkbox/tiles/tile/index.mjs +12 -12
  183. package/lib/components/checkbox/tiles/tile/index.native.js +107 -91
  184. package/lib/components/checkbox/tiles/tile/index.native.mjs +18 -15
  185. package/lib/components/chips/Chips.native.js +125 -109
  186. package/lib/components/chips/Chips.native.mjs +8 -5
  187. package/lib/components/chips/index.native.js +125 -109
  188. package/lib/components/chips/index.native.mjs +8 -5
  189. package/lib/components/columns/column/Column.native.js +40 -23
  190. package/lib/components/columns/column/Column.native.mjs +15 -12
  191. package/lib/components/columns/column/index.native.js +40 -23
  192. package/lib/components/columns/column/index.native.mjs +15 -12
  193. package/lib/components/columns/index.native.js +40 -23
  194. package/lib/components/columns/index.native.mjs +15 -12
  195. package/lib/components/countdown/Countdown.native.js +74 -94
  196. package/lib/components/countdown/Countdown.native.mjs +7 -5
  197. package/lib/components/countdown/index.native.js +74 -94
  198. package/lib/components/countdown/index.native.mjs +7 -5
  199. package/lib/components/datepicker/DatePicker.js +15 -3
  200. package/lib/components/datepicker/DatePicker.mjs +17 -17
  201. package/lib/components/datepicker/DatePicker.native.d.mts +18 -2
  202. package/lib/components/datepicker/DatePicker.native.d.ts +18 -2
  203. package/lib/components/datepicker/DatePicker.native.js +1248 -3
  204. package/lib/components/datepicker/DatePicker.native.mjs +26 -1
  205. package/lib/components/datepicker/index.js +15 -3
  206. package/lib/components/datepicker/index.mjs +17 -17
  207. package/lib/components/datepicker/index.native.js +1247 -4
  208. package/lib/components/datepicker/index.native.mjs +26 -1
  209. package/lib/components/divider/Divider.mjs +1 -1
  210. package/lib/components/divider/Divider.native.js +98 -82
  211. package/lib/components/divider/Divider.native.mjs +8 -5
  212. package/lib/components/divider/index.mjs +1 -1
  213. package/lib/components/divider/index.native.js +98 -82
  214. package/lib/components/divider/index.native.mjs +8 -5
  215. package/lib/components/fab/Fab.mjs +1 -1
  216. package/lib/components/fab/Fab.native.js +92 -76
  217. package/lib/components/fab/Fab.native.mjs +17 -14
  218. package/lib/components/fab/index.mjs +1 -1
  219. package/lib/components/fab/index.native.js +92 -76
  220. package/lib/components/fab/index.native.mjs +17 -14
  221. package/lib/components/flex-box/FlexBox.native.js +53 -36
  222. package/lib/components/flex-box/FlexBox.native.mjs +15 -12
  223. package/lib/components/flex-box/index.native.js +59 -42
  224. package/lib/components/flex-box/index.native.mjs +15 -12
  225. package/lib/components/hero/Hero.native.js +87 -61
  226. package/lib/components/hero/Hero.native.mjs +20 -17
  227. package/lib/components/hero/index.native.js +87 -61
  228. package/lib/components/hero/index.native.mjs +20 -17
  229. package/lib/components/icon/Icon.mjs +1 -1
  230. package/lib/components/icon/Icon.native.js +30 -13
  231. package/lib/components/icon/Icon.native.mjs +5 -2
  232. package/lib/components/icon/index.mjs +1 -1
  233. package/lib/components/icon/index.native.js +30 -13
  234. package/lib/components/icon/index.native.mjs +5 -2
  235. package/lib/components/image/Image.mjs +12 -12
  236. package/lib/components/image/index.mjs +12 -12
  237. package/lib/components/index.d.mts +1 -0
  238. package/lib/components/index.d.ts +1 -0
  239. package/lib/components/index.js +144 -123
  240. package/lib/components/index.mjs +85 -79
  241. package/lib/components/index.native.js +1926 -968
  242. package/lib/components/index.native.mjs +120 -117
  243. package/lib/components/input/Input.mjs +12 -12
  244. package/lib/components/input/Input.native.js +143 -127
  245. package/lib/components/input/Input.native.mjs +18 -15
  246. package/lib/components/input/gauge/InputGauge.mjs +12 -12
  247. package/lib/components/input/gauge/InputGauge.native.js +108 -92
  248. package/lib/components/input/gauge/InputGauge.native.mjs +17 -14
  249. package/lib/components/input/gauge/hook/useGauge.mjs +12 -12
  250. package/lib/components/input/gauge/hook/useGauge.native.js +44 -27
  251. package/lib/components/input/gauge/hook/useGauge.native.mjs +15 -12
  252. package/lib/components/input/index.mjs +12 -12
  253. package/lib/components/input/index.native.js +143 -127
  254. package/lib/components/input/index.native.mjs +18 -15
  255. package/lib/components/link/Link.mjs +1 -1
  256. package/lib/components/link/Link.native.js +37 -20
  257. package/lib/components/link/Link.native.mjs +6 -3
  258. package/lib/components/link/index.mjs +1 -1
  259. package/lib/components/link/index.native.js +37 -20
  260. package/lib/components/link/index.native.mjs +6 -3
  261. package/lib/components/list/index.mjs +12 -12
  262. package/lib/components/list/index.native.js +95 -79
  263. package/lib/components/list/index.native.mjs +18 -15
  264. package/lib/components/list/item/ListItem.mjs +12 -12
  265. package/lib/components/list/item/ListItem.native.js +97 -81
  266. package/lib/components/list/item/ListItem.native.mjs +17 -14
  267. package/lib/components/list/item/description/ListItemDescription.mjs +1 -1
  268. package/lib/components/list/item/description/ListItemDescription.native.js +125 -109
  269. package/lib/components/list/item/description/ListItemDescription.native.mjs +17 -14
  270. package/lib/components/list/item/description/index.mjs +1 -1
  271. package/lib/components/list/item/description/index.native.js +125 -109
  272. package/lib/components/list/item/description/index.native.mjs +17 -14
  273. package/lib/components/list/item/index.mjs +12 -12
  274. package/lib/components/list/item/index.native.js +97 -81
  275. package/lib/components/list/item/index.native.mjs +18 -15
  276. package/lib/components/modal/Modal.mjs +2 -2
  277. package/lib/components/modal/Modal.native.js +81 -57
  278. package/lib/components/modal/Modal.native.mjs +18 -15
  279. package/lib/components/modal/body/ModalBody.mjs +1 -1
  280. package/lib/components/modal/body/ModalBody.native.js +38 -21
  281. package/lib/components/modal/body/ModalBody.native.mjs +15 -12
  282. package/lib/components/modal/body/index.native.js +38 -21
  283. package/lib/components/modal/body/index.native.mjs +15 -12
  284. package/lib/components/modal/footer/ModalFooter.mjs +1 -1
  285. package/lib/components/modal/footer/ModalFooter.native.js +82 -58
  286. package/lib/components/modal/footer/ModalFooter.native.mjs +18 -15
  287. package/lib/components/modal/footer/index.native.js +82 -58
  288. package/lib/components/modal/footer/index.native.mjs +18 -15
  289. package/lib/components/modal/index.mjs +2 -2
  290. package/lib/components/modal/index.native.js +91 -67
  291. package/lib/components/modal/index.native.mjs +22 -19
  292. package/lib/components/otp/Otp.mjs +1 -1
  293. package/lib/components/otp/Otp.native.js +112 -89
  294. package/lib/components/otp/Otp.native.mjs +19 -16
  295. package/lib/components/otp/index.mjs +1 -1
  296. package/lib/components/otp/index.native.js +112 -89
  297. package/lib/components/otp/index.native.mjs +19 -16
  298. package/lib/components/pagination/Pagination.mjs +1 -1
  299. package/lib/components/pagination/Pagination.native.js +100 -84
  300. package/lib/components/pagination/Pagination.native.mjs +8 -5
  301. package/lib/components/pagination/index.mjs +1 -1
  302. package/lib/components/pagination/index.native.js +100 -84
  303. package/lib/components/pagination/index.native.mjs +8 -5
  304. package/lib/components/popover/Popover.native.js +38 -21
  305. package/lib/components/popover/Popover.native.mjs +15 -12
  306. package/lib/components/popover/index.native.js +38 -21
  307. package/lib/components/popover/index.native.mjs +15 -12
  308. package/lib/components/price/Price.mjs +12 -12
  309. package/lib/components/price/Price.native.js +39 -22
  310. package/lib/components/price/Price.native.mjs +16 -13
  311. package/lib/components/price/index.mjs +12 -12
  312. package/lib/components/price/index.native.js +39 -22
  313. package/lib/components/price/index.native.mjs +16 -13
  314. package/lib/components/product-tour/ProductTour.mjs +1 -1
  315. package/lib/components/product-tour/index.mjs +1 -1
  316. package/lib/components/progress/Progress.mjs +12 -12
  317. package/lib/components/progress/Progress.native.js +128 -112
  318. package/lib/components/progress/Progress.native.mjs +17 -14
  319. package/lib/components/progress/index.mjs +17 -17
  320. package/lib/components/progress/index.native.js +158 -135
  321. package/lib/components/progress/index.native.mjs +21 -18
  322. package/lib/components/progress/item/ProgressItem.mjs +12 -12
  323. package/lib/components/progress/item/index.mjs +12 -12
  324. package/lib/components/progress/radial/ProgressRadial.mjs +2 -2
  325. package/lib/components/progress/radial/ProgressRadial.native.js +137 -114
  326. package/lib/components/progress/radial/ProgressRadial.native.mjs +17 -14
  327. package/lib/components/progress/radial/index.mjs +2 -2
  328. package/lib/components/progress/radial/index.native.js +137 -114
  329. package/lib/components/progress/radial/index.native.mjs +17 -14
  330. package/lib/components/progress/radial/item/ProgressRadialtem.mjs +1 -1
  331. package/lib/components/progress/radial/item/index.mjs +1 -1
  332. package/lib/components/radio/Radio.native.js +116 -100
  333. package/lib/components/radio/Radio.native.mjs +17 -14
  334. package/lib/components/radio/index.mjs +13 -13
  335. package/lib/components/radio/index.native.js +131 -115
  336. package/lib/components/radio/index.native.mjs +23 -20
  337. package/lib/components/radio/list/RadioList.mjs +12 -12
  338. package/lib/components/radio/list/RadioList.native.mjs +5 -5
  339. package/lib/components/radio/list/index.mjs +12 -12
  340. package/lib/components/radio/list/index.native.mjs +5 -5
  341. package/lib/components/radio/tiles/RadioTiles.mjs +12 -12
  342. package/lib/components/radio/tiles/index.mjs +12 -12
  343. package/lib/components/radio/tiles/tile/RadioTile.mjs +12 -12
  344. package/lib/components/radio/tiles/tile/RadioTile.native.js +101 -85
  345. package/lib/components/radio/tiles/tile/RadioTile.native.mjs +18 -15
  346. package/lib/components/radio/tiles/tile/index.mjs +12 -12
  347. package/lib/components/radio/tiles/tile/index.native.js +101 -85
  348. package/lib/components/radio/tiles/tile/index.native.mjs +18 -15
  349. package/lib/components/range/Range.mjs +12 -12
  350. package/lib/components/range/Range.native.js +95 -79
  351. package/lib/components/range/Range.native.mjs +17 -14
  352. package/lib/components/range/index.mjs +12 -12
  353. package/lib/components/range/index.native.js +95 -79
  354. package/lib/components/range/index.native.mjs +17 -14
  355. package/lib/components/rows/Rows.mjs +1 -1
  356. package/lib/components/rows/index.mjs +1 -1
  357. package/lib/components/rows/row/Row.mjs +1 -1
  358. package/lib/components/rows/row/index.mjs +1 -1
  359. package/lib/components/scroll-view/ScrollView.mjs +12 -12
  360. package/lib/components/scroll-view/ScrollView.native.js +42 -25
  361. package/lib/components/scroll-view/ScrollView.native.mjs +15 -12
  362. package/lib/components/scroll-view/index.mjs +12 -12
  363. package/lib/components/scroll-view/index.native.js +42 -25
  364. package/lib/components/scroll-view/index.native.mjs +15 -12
  365. package/lib/components/section/Section.mjs +12 -12
  366. package/lib/components/section/Section.native.js +36 -19
  367. package/lib/components/section/Section.native.mjs +15 -12
  368. package/lib/components/section/index.mjs +12 -12
  369. package/lib/components/section/index.native.js +36 -19
  370. package/lib/components/section/index.native.mjs +15 -12
  371. package/lib/components/segment-control/SegmentControl.mjs +12 -12
  372. package/lib/components/segment-control/SegmentControl.native.js +136 -120
  373. package/lib/components/segment-control/SegmentControl.native.mjs +18 -15
  374. package/lib/components/segment-control/index.mjs +12 -12
  375. package/lib/components/segment-control/index.native.js +142 -126
  376. package/lib/components/segment-control/index.native.mjs +18 -15
  377. package/lib/components/segment-control/item/SegmentControlItem.mjs +1 -1
  378. package/lib/components/segment-control/item/index.mjs +1 -1
  379. package/lib/components/select/Select.mjs +14 -14
  380. package/lib/components/select/Select.native.js +228 -205
  381. package/lib/components/select/Select.native.mjs +26 -23
  382. package/lib/components/select/index.mjs +14 -14
  383. package/lib/components/select/index.native.js +228 -205
  384. package/lib/components/select/index.native.mjs +26 -23
  385. package/lib/components/select/option/SelectOption.mjs +1 -1
  386. package/lib/components/select/option/SelectOption.native.js +102 -86
  387. package/lib/components/select/option/SelectOption.native.mjs +17 -14
  388. package/lib/components/select/option/index.mjs +1 -1
  389. package/lib/components/select/option/index.native.js +102 -86
  390. package/lib/components/select/option/index.native.mjs +18 -15
  391. package/lib/components/select/web/SelectDynamic.mjs +12 -12
  392. package/lib/components/select/web/SelectNative.mjs +14 -14
  393. package/lib/components/select/web/index.mjs +15 -15
  394. package/lib/components/skeleton/Skeleton.d.mts +4 -0
  395. package/lib/components/skeleton/Skeleton.d.ts +4 -0
  396. package/lib/components/skeleton/Skeleton.js +41 -0
  397. package/lib/components/skeleton/Skeleton.mjs +8 -0
  398. package/lib/components/skeleton/Skeleton.native.d.mts +4 -0
  399. package/lib/components/skeleton/Skeleton.native.d.ts +4 -0
  400. package/lib/components/skeleton/Skeleton.native.js +119 -0
  401. package/lib/components/skeleton/Skeleton.native.mjs +8 -0
  402. package/lib/components/skeleton/SkeletonProps.d.mts +13 -0
  403. package/lib/components/skeleton/SkeletonProps.d.ts +13 -0
  404. package/lib/components/skeleton/SkeletonProps.js +19 -0
  405. package/lib/components/skeleton/SkeletonProps.mjs +2 -0
  406. package/lib/components/skeleton/SkeletonPropsDefaults.js +80 -0
  407. package/lib/components/skeleton/index.d.mts +3 -0
  408. package/lib/components/skeleton/index.d.ts +3 -0
  409. package/lib/components/skeleton/index.js +47 -0
  410. package/lib/components/skeleton/index.mjs +10 -0
  411. package/lib/components/skeleton/index.native.d.mts +3 -0
  412. package/lib/components/skeleton/index.native.d.ts +3 -0
  413. package/lib/components/skeleton/index.native.js +125 -0
  414. package/lib/components/skeleton/index.native.mjs +9 -0
  415. package/lib/components/stepper/Stepper.mjs +1 -1
  416. package/lib/components/stepper/Stepper.native.js +92 -76
  417. package/lib/components/stepper/Stepper.native.mjs +17 -14
  418. package/lib/components/stepper/index.mjs +1 -1
  419. package/lib/components/stepper/index.native.js +97 -81
  420. package/lib/components/stepper/index.native.mjs +17 -14
  421. package/lib/components/stepper/step/Step.mjs +1 -1
  422. package/lib/components/stepper/step/Step.native.js +36 -19
  423. package/lib/components/stepper/step/Step.native.mjs +15 -12
  424. package/lib/components/stepper/step/index.mjs +1 -1
  425. package/lib/components/stepper/step/index.native.js +36 -19
  426. package/lib/components/stepper/step/index.native.mjs +15 -12
  427. package/lib/components/sticker/Sticker.mjs +12 -12
  428. package/lib/components/sticker/Sticker.native.js +89 -73
  429. package/lib/components/sticker/Sticker.native.mjs +17 -14
  430. package/lib/components/sticker/index.mjs +12 -12
  431. package/lib/components/sticker/index.native.js +89 -73
  432. package/lib/components/sticker/index.native.mjs +17 -14
  433. package/lib/components/switch/Switch.mjs +12 -12
  434. package/lib/components/switch/Switch.native.js +37 -20
  435. package/lib/components/switch/Switch.native.mjs +15 -12
  436. package/lib/components/switch/index.mjs +12 -12
  437. package/lib/components/switch/index.native.js +37 -20
  438. package/lib/components/switch/index.native.mjs +15 -12
  439. package/lib/components/table/Table.native.js +34 -17
  440. package/lib/components/table/Table.native.mjs +15 -12
  441. package/lib/components/table/index.mjs +8 -8
  442. package/lib/components/table/index.native.js +116 -100
  443. package/lib/components/table/index.native.mjs +22 -19
  444. package/lib/components/table/td/TableTd.native.js +34 -17
  445. package/lib/components/table/td/TableTd.native.mjs +15 -12
  446. package/lib/components/table/td/index.native.js +34 -17
  447. package/lib/components/table/td/index.native.mjs +15 -12
  448. package/lib/components/table/th/TableTh.native.js +124 -108
  449. package/lib/components/table/th/TableTh.native.mjs +17 -14
  450. package/lib/components/table/th/index.native.js +124 -108
  451. package/lib/components/table/th/index.native.mjs +17 -14
  452. package/lib/components/table/tr/TableTr.native.js +101 -85
  453. package/lib/components/table/tr/TableTr.native.mjs +17 -14
  454. package/lib/components/table/tr/index.native.js +101 -85
  455. package/lib/components/table/tr/index.native.mjs +17 -14
  456. package/lib/components/tabs/index.mjs +8 -8
  457. package/lib/components/tabs/index.native.js +128 -112
  458. package/lib/components/tabs/index.native.mjs +23 -20
  459. package/lib/components/tabs/tab-list/TabList.mjs +1 -1
  460. package/lib/components/tabs/tab-list/TabList.native.js +118 -102
  461. package/lib/components/tabs/tab-list/TabList.native.mjs +18 -15
  462. package/lib/components/tabs/tab-list/index.mjs +1 -1
  463. package/lib/components/tabs/tab-list/index.native.js +118 -102
  464. package/lib/components/tabs/tab-list/index.native.mjs +18 -15
  465. package/lib/components/tabs/tab-list/tab/Tab.mjs +1 -1
  466. package/lib/components/tabs/tab-list/tab/Tab.native.js +96 -80
  467. package/lib/components/tabs/tab-list/tab/Tab.native.mjs +8 -5
  468. package/lib/components/tabs/tab-list/tab/index.mjs +1 -1
  469. package/lib/components/tabs/tab-list/tab/index.native.js +96 -80
  470. package/lib/components/tabs/tab-list/tab/index.native.mjs +8 -5
  471. package/lib/components/tabs/tab-panels/TabPanels.native.js +37 -20
  472. package/lib/components/tabs/tab-panels/TabPanels.native.mjs +15 -12
  473. package/lib/components/tabs/tab-panels/index.native.js +37 -20
  474. package/lib/components/tabs/tab-panels/index.native.mjs +15 -12
  475. package/lib/components/tag/Tag.mjs +1 -1
  476. package/lib/components/tag/Tag.native.js +34 -17
  477. package/lib/components/tag/Tag.native.mjs +6 -3
  478. package/lib/components/tag/index.mjs +12 -12
  479. package/lib/components/tag/index.native.js +37 -20
  480. package/lib/components/tag/index.native.mjs +6 -3
  481. package/lib/components/tag/list/TagList.mjs +12 -12
  482. package/lib/components/tag/list/index.mjs +12 -12
  483. package/lib/components/text/Text.native.js +63 -83
  484. package/lib/components/text/Text.native.mjs +6 -4
  485. package/lib/components/text/index.native.js +61 -83
  486. package/lib/components/text/index.native.mjs +6 -4
  487. package/lib/components/textarea/Textarea.mjs +12 -12
  488. package/lib/components/textarea/Textarea.native.js +98 -82
  489. package/lib/components/textarea/Textarea.native.mjs +17 -14
  490. package/lib/components/textarea/index.mjs +12 -12
  491. package/lib/components/textarea/index.native.js +98 -82
  492. package/lib/components/textarea/index.native.mjs +17 -14
  493. package/lib/components/timeline/Timeline.mjs +1 -1
  494. package/lib/components/timeline/content/TimelineContent.mjs +1 -1
  495. package/lib/components/timeline/content/TimelineContent.native.js +108 -92
  496. package/lib/components/timeline/content/TimelineContent.native.mjs +21 -18
  497. package/lib/components/timeline/content/index.mjs +1 -1
  498. package/lib/components/timeline/content/index.native.js +108 -92
  499. package/lib/components/timeline/content/index.native.mjs +21 -18
  500. package/lib/components/timeline/index.mjs +6 -6
  501. package/lib/components/timeline/index.native.js +114 -98
  502. package/lib/components/timeline/index.native.mjs +23 -20
  503. package/lib/components/timeline/item/TimelineItem.mjs +1 -1
  504. package/lib/components/timeline/item/index.mjs +1 -1
  505. package/lib/components/timeline/marker/TimelineMarker.mjs +1 -1
  506. package/lib/components/timeline/marker/TimelineMarker.native.js +51 -34
  507. package/lib/components/timeline/marker/TimelineMarker.native.mjs +16 -13
  508. package/lib/components/timeline/marker/index.mjs +1 -1
  509. package/lib/components/timeline/marker/index.native.js +51 -34
  510. package/lib/components/timeline/marker/index.native.mjs +17 -14
  511. package/lib/components/title/Title.native.js +75 -51
  512. package/lib/components/title/Title.native.mjs +16 -13
  513. package/lib/components/title/index.mjs +1 -1
  514. package/lib/components/title/index.native.js +75 -51
  515. package/lib/components/title/index.native.mjs +17 -14
  516. package/lib/components/view/View.mjs +12 -12
  517. package/lib/components/view/View.native.js +38 -21
  518. package/lib/components/view/View.native.mjs +15 -12
  519. package/lib/components/view/index.mjs +12 -12
  520. package/lib/components/view/index.native.js +38 -21
  521. package/lib/components/view/index.native.mjs +15 -12
  522. package/lib/context/provider/index.js +1 -1
  523. package/lib/context/provider/index.mjs +2 -2
  524. package/lib/context/test/provider.test.js +1 -1
  525. package/lib/context/test/provider.test.mjs +2 -2
  526. package/lib/helpers/index.mjs +3 -3
  527. package/lib/helpers/index.native.mjs +3 -3
  528. package/lib/index.js +150 -129
  529. package/lib/index.mjs +94 -88
  530. package/lib/index.native.js +1932 -974
  531. package/lib/index.native.mjs +129 -126
  532. package/lib/objects/Typography/index.mjs +3 -3
  533. package/lib/objects/Typography/index.native.mjs +3 -3
  534. package/lib/objects/facets/Status/index.mjs +1 -1
  535. package/lib/objects/facets/Status/index.native.js +30 -13
  536. package/lib/objects/facets/Status/index.native.mjs +5 -2
  537. package/lib/objects/facets/index.mjs +13 -13
  538. package/lib/objects/facets/index.native.js +30 -13
  539. package/lib/objects/facets/index.native.mjs +17 -14
  540. package/lib/objects/index.mjs +17 -17
  541. package/lib/objects/index.native.js +32 -15
  542. package/lib/objects/index.native.mjs +20 -17
  543. package/lib/version.d.mts +1 -1
  544. package/lib/version.d.ts +1 -1
  545. package/lib/version.js +1 -1
  546. package/lib/version.mjs +1 -1
  547. package/package.json +1 -2
  548. package/lib/chunk-C4ZXSLQP.mjs +0 -12
  549. package/lib/chunk-DSY6DDC3.mjs +0 -12
  550. package/lib/chunk-MVQ252OA.mjs +0 -85
  551. package/lib/{chunk-LEXUEUIJ.mjs → chunk-3VDWD5KA.mjs} +3 -3
  552. package/lib/{chunk-R6JMSH4N.mjs → chunk-HHARJB6A.mjs} +3 -3
  553. package/lib/{chunk-MZHFYHCF.mjs → chunk-JFTUDUYA.mjs} +3 -3
  554. package/lib/{chunk-PGXASAXX.mjs → chunk-JP5IH4HL.mjs} +0 -0
  555. package/lib/{chunk-M2TC4BZG.mjs → chunk-MCQZ43VV.mjs} +3 -3
  556. package/lib/{chunk-GIEAPQ2H.mjs → chunk-WMZ3FFFO.mjs} +3 -3
@@ -0,0 +1,41 @@
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/skeleton/Skeleton.tsx
32
+ var Skeleton_exports = {};
33
+ __export(Skeleton_exports, {
34
+ default: () => Skeleton_default
35
+ });
36
+ module.exports = __toCommonJS(Skeleton_exports);
37
+ var import_react = __toESM(require("react"));
38
+ var Skeleton = () => {
39
+ return /* @__PURE__ */ import_react.default.createElement("div", null);
40
+ };
41
+ var Skeleton_default = Skeleton;
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import {
3
+ Skeleton_default
4
+ } from "../../chunk-JJA6BOVR.mjs";
5
+ import "../../chunk-QIPGVLHJ.mjs";
6
+ export {
7
+ Skeleton_default as default
8
+ };
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SkeletonProps } from './SkeletonProps';
3
+ declare const Skeleton: React.FC<SkeletonProps>;
4
+ export default Skeleton;
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SkeletonProps } from './SkeletonProps';
3
+ declare const Skeleton: React.FC<SkeletonProps>;
4
+ export default Skeleton;
@@ -0,0 +1,119 @@
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/skeleton/Skeleton.native.tsx
32
+ var Skeleton_native_exports = {};
33
+ __export(Skeleton_native_exports, {
34
+ default: () => Skeleton_native_default
35
+ });
36
+ module.exports = __toCommonJS(Skeleton_native_exports);
37
+ var import_react = __toESM(require("react"));
38
+ var import_react_native = require("react-native");
39
+ var Skeleton = ({
40
+ style,
41
+ width = "100%",
42
+ height = 20,
43
+ backgroundColor = "#E1E9EE",
44
+ shimmerColor = "#F7F8F8",
45
+ duration = 1200,
46
+ borderRadius = 4,
47
+ children,
48
+ testID
49
+ }) => {
50
+ const shimmerValue = (0, import_react.useRef)(new import_react_native.Animated.Value(0)).current;
51
+ const [containerWidth, setContainerWidth] = import_react.default.useState(200);
52
+ (0, import_react.useEffect)(() => {
53
+ const shimmerAnimation = import_react_native.Animated.loop(
54
+ import_react_native.Animated.timing(shimmerValue, {
55
+ toValue: 1,
56
+ duration,
57
+ useNativeDriver: true
58
+ }),
59
+ { iterations: -1 }
60
+ );
61
+ shimmerAnimation.start();
62
+ return () => shimmerAnimation.stop();
63
+ }, [shimmerValue, duration]);
64
+ const translateX = shimmerValue.interpolate({
65
+ inputRange: [0, 1],
66
+ outputRange: [-containerWidth, containerWidth]
67
+ });
68
+ const opacity = shimmerValue.interpolate({
69
+ inputRange: [0, 0.5, 1],
70
+ outputRange: [0.3, 0.8, 0.3]
71
+ });
72
+ const containerStyle = {
73
+ width: children ? void 0 : width,
74
+ height: children ? void 0 : height,
75
+ backgroundColor,
76
+ borderRadius,
77
+ overflow: "hidden",
78
+ alignSelf: children ? "flex-start" : void 0,
79
+ ...style
80
+ };
81
+ const handleLayout = (event) => {
82
+ const { width: layoutWidth } = event.nativeEvent.layout;
83
+ setContainerWidth(layoutWidth);
84
+ };
85
+ if (children) {
86
+ return /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react.default.createElement(
87
+ import_react_native.Animated.View,
88
+ {
89
+ style: [
90
+ {
91
+ position: "absolute",
92
+ top: 0,
93
+ left: 0,
94
+ width: containerWidth * 0.7,
95
+ height: "100%",
96
+ backgroundColor: shimmerColor,
97
+ opacity,
98
+ transform: [{ translateX }]
99
+ }
100
+ ]
101
+ }
102
+ ));
103
+ }
104
+ return /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react.default.createElement(
105
+ import_react_native.Animated.View,
106
+ {
107
+ style: [
108
+ {
109
+ width: containerWidth * 0.7,
110
+ height: "100%",
111
+ backgroundColor: shimmerColor,
112
+ opacity,
113
+ transform: [{ translateX }]
114
+ }
115
+ ]
116
+ }
117
+ ));
118
+ };
119
+ var Skeleton_native_default = Skeleton;
@@ -0,0 +1,8 @@
1
+ "use client";
2
+ import {
3
+ Skeleton_native_default
4
+ } from "../../chunk-7DJ5V2J7.mjs";
5
+ import "../../chunk-QIPGVLHJ.mjs";
6
+ export {
7
+ Skeleton_native_default as default
8
+ };
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ViewStyle, DimensionValue } from 'react-native';
3
+ export interface SkeletonProps {
4
+ style?: ViewStyle;
5
+ width?: DimensionValue;
6
+ height?: DimensionValue;
7
+ backgroundColor?: string;
8
+ shimmerColor?: string;
9
+ duration?: number;
10
+ borderRadius?: number;
11
+ children?: React.ReactNode;
12
+ testID?: string;
13
+ }
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import { ViewStyle, DimensionValue } from 'react-native';
3
+ export interface SkeletonProps {
4
+ style?: ViewStyle;
5
+ width?: DimensionValue;
6
+ height?: DimensionValue;
7
+ backgroundColor?: string;
8
+ shimmerColor?: string;
9
+ duration?: number;
10
+ borderRadius?: number;
11
+ children?: React.ReactNode;
12
+ testID?: string;
13
+ }
@@ -0,0 +1,19 @@
1
+ "use client";
2
+ "use strict";
3
+ var __defProp = Object.defineProperty;
4
+ var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
5
+ var __getOwnPropNames = Object.getOwnPropertyNames;
6
+ var __hasOwnProp = Object.prototype.hasOwnProperty;
7
+ var __copyProps = (to, from, except, desc) => {
8
+ if (from && typeof from === "object" || typeof from === "function") {
9
+ for (let key of __getOwnPropNames(from))
10
+ if (!__hasOwnProp.call(to, key) && key !== except)
11
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
12
+ }
13
+ return to;
14
+ };
15
+ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
16
+
17
+ // components/skeleton/SkeletonProps.ts
18
+ var SkeletonProps_exports = {};
19
+ module.exports = __toCommonJS(SkeletonProps_exports);
@@ -0,0 +1,2 @@
1
+ "use client";
2
+ import "../../chunk-LHDHBH5T.mjs";
@@ -0,0 +1,80 @@
1
+ export default {
2
+ "style": {
3
+ "type": "string",
4
+ "values": [
5
+ "undefined",
6
+ "ViewStyle"
7
+ ]
8
+ },
9
+ "width": {
10
+ "type": "string",
11
+ "values": [
12
+ "undefined",
13
+ "null",
14
+ "number",
15
+ "auto",
16
+ "`${number}%`",
17
+ "AnimatedNode"
18
+ ]
19
+ },
20
+ "height": {
21
+ "type": "string",
22
+ "values": [
23
+ "undefined",
24
+ "null",
25
+ "number",
26
+ "auto",
27
+ "`${number}%`",
28
+ "AnimatedNode"
29
+ ]
30
+ },
31
+ "backgroundColor": {
32
+ "type": "string",
33
+ "values": [
34
+ "undefined",
35
+ "string"
36
+ ]
37
+ },
38
+ "shimmerColor": {
39
+ "type": "string",
40
+ "values": [
41
+ "undefined",
42
+ "string"
43
+ ]
44
+ },
45
+ "duration": {
46
+ "type": "string",
47
+ "values": [
48
+ "undefined",
49
+ "number"
50
+ ]
51
+ },
52
+ "borderRadius": {
53
+ "type": "string",
54
+ "values": [
55
+ "undefined",
56
+ "number"
57
+ ]
58
+ },
59
+ "children": {
60
+ "type": "react",
61
+ "values": [
62
+ "undefined",
63
+ "null",
64
+ "string",
65
+ "number",
66
+ "false",
67
+ "true",
68
+ "JSXElementConstructor<any>>",
69
+ "ReactNode>",
70
+ "ReactPortal"
71
+ ]
72
+ },
73
+ "testID": {
74
+ "type": "string",
75
+ "values": [
76
+ "undefined",
77
+ "string"
78
+ ]
79
+ }
80
+ };
@@ -0,0 +1,3 @@
1
+ import Skeleton from './Skeleton';
2
+ export * from './SkeletonProps';
3
+ export { Skeleton };
@@ -0,0 +1,3 @@
1
+ import Skeleton from './Skeleton';
2
+ export * from './SkeletonProps';
3
+ export { Skeleton };
@@ -0,0 +1,47 @@
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/skeleton/index.ts
32
+ var skeleton_exports = {};
33
+ __export(skeleton_exports, {
34
+ Skeleton: () => Skeleton_default
35
+ });
36
+ module.exports = __toCommonJS(skeleton_exports);
37
+
38
+ // components/skeleton/Skeleton.tsx
39
+ var import_react = __toESM(require("react"));
40
+ var Skeleton = () => {
41
+ return /* @__PURE__ */ import_react.default.createElement("div", null);
42
+ };
43
+ var Skeleton_default = Skeleton;
44
+ // Annotate the CommonJS export names for ESM import in node:
45
+ 0 && (module.exports = {
46
+ Skeleton
47
+ });
@@ -0,0 +1,10 @@
1
+ "use client";
2
+ import "../../chunk-UZO5VCH2.mjs";
3
+ import {
4
+ Skeleton_default
5
+ } from "../../chunk-JJA6BOVR.mjs";
6
+ import "../../chunk-LHDHBH5T.mjs";
7
+ import "../../chunk-QIPGVLHJ.mjs";
8
+ export {
9
+ Skeleton_default as Skeleton
10
+ };
@@ -0,0 +1,3 @@
1
+ import Skeleton from './Skeleton.native';
2
+ export * from './SkeletonProps';
3
+ export { Skeleton };
@@ -0,0 +1,3 @@
1
+ import Skeleton from './Skeleton.native';
2
+ export * from './SkeletonProps';
3
+ export { Skeleton };
@@ -0,0 +1,125 @@
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/skeleton/index.native.ts
32
+ var index_native_exports = {};
33
+ __export(index_native_exports, {
34
+ Skeleton: () => Skeleton_native_default
35
+ });
36
+ module.exports = __toCommonJS(index_native_exports);
37
+
38
+ // components/skeleton/Skeleton.native.tsx
39
+ var import_react = __toESM(require("react"));
40
+ var import_react_native = require("react-native");
41
+ var Skeleton = ({
42
+ style,
43
+ width = "100%",
44
+ height = 20,
45
+ backgroundColor = "#E1E9EE",
46
+ shimmerColor = "#F7F8F8",
47
+ duration = 1200,
48
+ borderRadius = 4,
49
+ children,
50
+ testID
51
+ }) => {
52
+ const shimmerValue = (0, import_react.useRef)(new import_react_native.Animated.Value(0)).current;
53
+ const [containerWidth, setContainerWidth] = import_react.default.useState(200);
54
+ (0, import_react.useEffect)(() => {
55
+ const shimmerAnimation = import_react_native.Animated.loop(
56
+ import_react_native.Animated.timing(shimmerValue, {
57
+ toValue: 1,
58
+ duration,
59
+ useNativeDriver: true
60
+ }),
61
+ { iterations: -1 }
62
+ );
63
+ shimmerAnimation.start();
64
+ return () => shimmerAnimation.stop();
65
+ }, [shimmerValue, duration]);
66
+ const translateX = shimmerValue.interpolate({
67
+ inputRange: [0, 1],
68
+ outputRange: [-containerWidth, containerWidth]
69
+ });
70
+ const opacity = shimmerValue.interpolate({
71
+ inputRange: [0, 0.5, 1],
72
+ outputRange: [0.3, 0.8, 0.3]
73
+ });
74
+ const containerStyle = {
75
+ width: children ? void 0 : width,
76
+ height: children ? void 0 : height,
77
+ backgroundColor,
78
+ borderRadius,
79
+ overflow: "hidden",
80
+ alignSelf: children ? "flex-start" : void 0,
81
+ ...style
82
+ };
83
+ const handleLayout = (event) => {
84
+ const { width: layoutWidth } = event.nativeEvent.layout;
85
+ setContainerWidth(layoutWidth);
86
+ };
87
+ if (children) {
88
+ return /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { style: { opacity: 0 } }, children), /* @__PURE__ */ import_react.default.createElement(
89
+ import_react_native.Animated.View,
90
+ {
91
+ style: [
92
+ {
93
+ position: "absolute",
94
+ top: 0,
95
+ left: 0,
96
+ width: containerWidth * 0.7,
97
+ height: "100%",
98
+ backgroundColor: shimmerColor,
99
+ opacity,
100
+ transform: [{ translateX }]
101
+ }
102
+ ]
103
+ }
104
+ ));
105
+ }
106
+ return /* @__PURE__ */ import_react.default.createElement(import_react_native.View, { style: containerStyle, testID, onLayout: handleLayout }, /* @__PURE__ */ import_react.default.createElement(
107
+ import_react_native.Animated.View,
108
+ {
109
+ style: [
110
+ {
111
+ width: containerWidth * 0.7,
112
+ height: "100%",
113
+ backgroundColor: shimmerColor,
114
+ opacity,
115
+ transform: [{ translateX }]
116
+ }
117
+ ]
118
+ }
119
+ ));
120
+ };
121
+ var Skeleton_native_default = Skeleton;
122
+ // Annotate the CommonJS export names for ESM import in node:
123
+ 0 && (module.exports = {
124
+ Skeleton
125
+ });
@@ -0,0 +1,9 @@
1
+ "use client";
2
+ import {
3
+ Skeleton_native_default
4
+ } from "../../chunk-7DJ5V2J7.mjs";
5
+ import "../../chunk-LHDHBH5T.mjs";
6
+ import "../../chunk-QIPGVLHJ.mjs";
7
+ export {
8
+ Skeleton_native_default as Skeleton
9
+ };
@@ -8,8 +8,8 @@ import "../../chunk-P6NVOAAH.mjs";
8
8
  import "../../chunk-SWVRRUW7.mjs";
9
9
  import "../../chunk-Y7CEUBIZ.mjs";
10
10
  import "../../chunk-HU3FAWMX.mjs";
11
- import "../../chunk-OGATDHMZ.mjs";
12
11
  import "../../chunk-ODKCJMCG.mjs";
12
+ import "../../chunk-OGATDHMZ.mjs";
13
13
  import "../../chunk-UFMRE754.mjs";
14
14
  import "../../chunk-ZB4OWTDD.mjs";
15
15
  import "../../chunk-4ZJQXF2V.mjs";