@app-studio/components 0.11.7 → 0.11.9

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 (747) hide show
  1. package/dist/files/media/BlockEditor.mdx +42 -20
  2. package/dist/index.d.ts +470 -416
  3. package/dist/native/components/Accordion/Accordion/Accordion.props.d.ts +1 -1
  4. package/dist/native/components/Accordion/Accordion/Accordion.state.js +1 -1
  5. package/dist/native/components/Accordion/Accordion/Accordion.view.d.ts +1 -1
  6. package/dist/native/components/Accordion/Accordion/Accordion.view.js +1 -1
  7. package/dist/native/components/Accordion/Accordion/Accordion.view.native.d.ts +1 -1
  8. package/dist/native/components/Accordion/Accordion/Accordion.view.native.js +1 -1
  9. package/dist/native/components/Accordion/Accordion.js +1 -1
  10. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.props.d.ts +1 -1
  11. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.state.js +1 -1
  12. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.type.d.ts +1 -1
  13. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.d.ts +1 -1
  14. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.js +1 -1
  15. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.d.ts +1 -1
  16. package/dist/native/components/ActionSheet/ActionSheet/ActionSheet.view.native.js +1 -1
  17. package/dist/native/components/ActionSheet/ActionSheet.d.ts +1 -1
  18. package/dist/native/components/ActionSheet/ActionSheet.js +1 -1
  19. package/dist/native/components/Alert/Alert/Alert.props.d.ts +1 -1
  20. package/dist/native/components/Alert/Alert/Alert.state.d.ts +1 -1
  21. package/dist/native/components/Alert/Alert/Alert.state.js +1 -1
  22. package/dist/native/components/Alert/Alert/Alert.view.d.ts +1 -1
  23. package/dist/native/components/Alert/Alert/Alert.view.js +1 -1
  24. package/dist/native/components/Alert/Alert/Alert.view.native.d.ts +1 -1
  25. package/dist/native/components/Alert/Alert/Alert.view.native.js +1 -1
  26. package/dist/native/components/Alert/Alert.d.ts +1 -1
  27. package/dist/native/components/Alert/Alert.js +1 -1
  28. package/dist/native/components/AppRoot/AppRoot.d.ts +1 -1
  29. package/dist/native/components/AppRoot/AppRoot.js +1 -1
  30. package/dist/native/components/AppRoot/AppRoot.native.d.ts +1 -1
  31. package/dist/native/components/AppRoot/AppRoot.native.js +1 -1
  32. package/dist/native/components/AppRoot/AppRoot.types.d.ts +1 -1
  33. package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.view.d.ts +1 -1
  34. package/dist/native/components/AspectRatio/AspectRatio/AspectRatio.view.js +1 -1
  35. package/dist/native/components/AspectRatio/AspectRatio.d.ts +1 -1
  36. package/dist/native/components/AspectRatio/AspectRatio.js +1 -1
  37. package/dist/native/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.d.ts +1 -1
  38. package/dist/native/components/AttachmentGroup/AttachmentGroup/AttachmentGroup.js +1 -1
  39. package/dist/native/components/AudioInput/AudioInput/AudioInput.state.js +1 -1
  40. package/dist/native/components/AudioInput/AudioInput/AudioInput.view.d.ts +1 -1
  41. package/dist/native/components/AudioInput/AudioInput/AudioInput.view.js +1 -1
  42. package/dist/native/components/AudioInput/AudioInput.d.ts +1 -1
  43. package/dist/native/components/AudioInput/AudioInput.js +1 -1
  44. package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.d.ts +1 -1
  45. package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.js +1 -1
  46. package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.view.d.ts +1 -1
  47. package/dist/native/components/AudioInput/AudioWaveform/AudioWaveform.view.js +1 -1
  48. package/dist/native/components/AudioInput/useAudioRecording.js +1 -1
  49. package/dist/native/components/AudioInput/useAudioRecording.native.js +1 -1
  50. package/dist/native/components/Avatar/Avatar/Avatar.props.d.ts +1 -1
  51. package/dist/native/components/Avatar/Avatar/Avatar.state.d.ts +1 -1
  52. package/dist/native/components/Avatar/Avatar/Avatar.state.js +1 -1
  53. package/dist/native/components/Avatar/Avatar/Avatar.view.d.ts +1 -1
  54. package/dist/native/components/Avatar/Avatar/Avatar.view.js +1 -1
  55. package/dist/native/components/Avatar/Avatar.d.ts +1 -1
  56. package/dist/native/components/Avatar/Avatar.js +1 -1
  57. package/dist/native/components/Background/Background/Background.props.d.ts +1 -1
  58. package/dist/native/components/Background/Background/Background.view.d.ts +1 -1
  59. package/dist/native/components/Background/Background/Background.view.js +1 -1
  60. package/dist/native/components/Background/Background/Background.view.native.d.ts +1 -1
  61. package/dist/native/components/Background/Background/Background.view.native.js +1 -1
  62. package/dist/native/components/Background/Background.d.ts +1 -1
  63. package/dist/native/components/Background/Background.js +1 -1
  64. package/dist/native/components/Badge/Badge/Badge.view.d.ts +1 -1
  65. package/dist/native/components/Badge/Badge/Badge.view.js +1 -1
  66. package/dist/native/components/Badge/Badge.d.ts +1 -1
  67. package/dist/native/components/Badge/Badge.js +1 -1
  68. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.d.ts +10 -7
  69. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.js +104 -15
  70. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.content.js.map +1 -1
  71. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.d.ts +4 -2
  72. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js +59 -13
  73. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.controls.js.map +1 -1
  74. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.d.ts +2 -1
  75. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.js +69 -46
  76. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.dom.js.map +1 -1
  77. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.d.ts +1 -1
  78. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.js +106 -7
  79. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.keyboard.js.map +1 -1
  80. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.d.ts +15 -3
  81. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js +113 -18
  82. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.model.js.map +1 -1
  83. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.navigation.d.ts +6 -0
  84. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.navigation.js +198 -0
  85. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.navigation.js.map +1 -0
  86. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.d.ts +32 -1
  87. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.js +13 -0
  88. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.props.js.map +1 -1
  89. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.d.ts +1 -1
  90. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.js +64 -13
  91. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.selection.js.map +1 -1
  92. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.d.ts +46 -11
  93. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js +273 -9
  94. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.state.js.map +1 -1
  95. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.transactions.d.ts +8 -0
  96. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.transactions.js +177 -0
  97. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.transactions.js.map +1 -0
  98. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.d.ts +6 -0
  99. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.js +17 -0
  100. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.js.map +1 -0
  101. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.native.d.ts +6 -0
  102. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.native.js +8 -0
  103. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.upload.native.js.map +1 -0
  104. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.d.ts +1 -1
  105. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.js +64 -63
  106. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.js.map +1 -1
  107. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.d.ts +1 -1
  108. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.js +40 -7
  109. package/dist/native/components/BlockEditor/BlockEditor/BlockEditor.view.native.js.map +1 -1
  110. package/dist/native/components/BlockEditor/BlockEditor.d.ts +1 -1
  111. package/dist/native/components/BlockEditor/BlockEditor.js +1 -1
  112. package/dist/native/components/Button/Button/Button.props.d.ts +1 -1
  113. package/dist/native/components/Button/Button/Button.state.d.ts +1 -1
  114. package/dist/native/components/Button/Button/Button.state.js +1 -1
  115. package/dist/native/components/Button/Button/Button.view.d.ts +1 -1
  116. package/dist/native/components/Button/Button/Button.view.js +1 -1
  117. package/dist/native/components/Button/Button/Button.view.native.d.ts +1 -1
  118. package/dist/native/components/Button/Button/Button.view.native.js +1 -1
  119. package/dist/native/components/Button/Button.d.ts +1 -1
  120. package/dist/native/components/Button/Button.js +1 -1
  121. package/dist/native/components/Card/Card/Card.context.d.ts +1 -1
  122. package/dist/native/components/Card/Card/Card.context.js +1 -1
  123. package/dist/native/components/Card/Card/Card.state.d.ts +1 -1
  124. package/dist/native/components/Card/Card/Card.state.js +1 -1
  125. package/dist/native/components/Card/Card/Card.view.d.ts +1 -1
  126. package/dist/native/components/Card/Card/Card.view.js +1 -1
  127. package/dist/native/components/Card/Card.js +1 -1
  128. package/dist/native/components/Carousel/Carousel/Carousel.context.d.ts +1 -1
  129. package/dist/native/components/Carousel/Carousel/Carousel.context.js +1 -1
  130. package/dist/native/components/Carousel/Carousel/Carousel.state.js +1 -1
  131. package/dist/native/components/Carousel/Carousel/Carousel.view.d.ts +1 -1
  132. package/dist/native/components/Carousel/Carousel/Carousel.view.js +1 -1
  133. package/dist/native/components/Carousel/Carousel/Carousel.view.native.d.ts +1 -1
  134. package/dist/native/components/Carousel/Carousel/Carousel.view.native.js +1 -1
  135. package/dist/native/components/Carousel/Carousel.js +1 -1
  136. package/dist/native/components/Chart/Chart/BarChart.d.ts +1 -1
  137. package/dist/native/components/Chart/Chart/BarChart.js +1 -1
  138. package/dist/native/components/Chart/Chart/BarChart.native.d.ts +1 -1
  139. package/dist/native/components/Chart/Chart/BarChart.native.js +1 -1
  140. package/dist/native/components/Chart/Chart/Chart.state.d.ts +2 -2
  141. package/dist/native/components/Chart/Chart/Chart.state.js +1 -1
  142. package/dist/native/components/Chart/Chart/Chart.view.d.ts +1 -1
  143. package/dist/native/components/Chart/Chart/Chart.view.js +1 -1
  144. package/dist/native/components/Chart/Chart/ChartTooltip.d.ts +1 -1
  145. package/dist/native/components/Chart/Chart/ChartTooltip.js +1 -1
  146. package/dist/native/components/Chart/Chart/LineChart.d.ts +1 -1
  147. package/dist/native/components/Chart/Chart/LineChart.js +1 -1
  148. package/dist/native/components/Chart/Chart/LineChart.native.d.ts +1 -1
  149. package/dist/native/components/Chart/Chart/LineChart.native.js +1 -1
  150. package/dist/native/components/Chart/Chart/PieChart.d.ts +1 -1
  151. package/dist/native/components/Chart/Chart/PieChart.js +1 -1
  152. package/dist/native/components/Chart/Chart/PieChart.native.d.ts +1 -1
  153. package/dist/native/components/Chart/Chart/PieChart.native.js +1 -1
  154. package/dist/native/components/Chart/Chart.d.ts +1 -1
  155. package/dist/native/components/Chart/Chart.js +1 -1
  156. package/dist/native/components/ChatInput/AttachmentGroup.d.ts +1 -1
  157. package/dist/native/components/ChatInput/AttachmentGroup.js +1 -1
  158. package/dist/native/components/ChatInput/AudioRecorder.d.ts +1 -1
  159. package/dist/native/components/ChatInput/AudioRecorder.js +1 -1
  160. package/dist/native/components/ChatInput/ChatInput/ChatInput.state.d.ts +7 -7
  161. package/dist/native/components/ChatInput/ChatInput/ChatInput.state.js +1 -1
  162. package/dist/native/components/ChatInput/ChatInput/ChatInput.view.d.ts +1 -1
  163. package/dist/native/components/ChatInput/ChatInput/ChatInput.view.js +1 -1
  164. package/dist/native/components/ChatInput/ChatInput.d.ts +1 -1
  165. package/dist/native/components/ChatInput/ChatInput.js +1 -1
  166. package/dist/native/components/ChatInput/ChatUploader.d.ts +1 -1
  167. package/dist/native/components/ChatInput/ChatUploader.js +1 -1
  168. package/dist/native/components/ChatInput/EditableInput.d.ts +1 -1
  169. package/dist/native/components/ChatInput/EditableInput.js +1 -1
  170. package/dist/native/components/ChatInput/EditableInput.native.d.ts +1 -1
  171. package/dist/native/components/ChatInput/EditableInput.native.js +1 -1
  172. package/dist/native/components/ChatInput/GuideTip.d.ts +1 -1
  173. package/dist/native/components/ChatInput/GuideTip.js +1 -1
  174. package/dist/native/components/ChatInput/MessageInput.d.ts +1 -1
  175. package/dist/native/components/ChatInput/MessageInput.js +1 -1
  176. package/dist/native/components/ChatInput/MessageInput.native.d.ts +1 -1
  177. package/dist/native/components/ChatInput/MessageInput.native.js +1 -1
  178. package/dist/native/components/ChatInput/PromptExamples.d.ts +1 -1
  179. package/dist/native/components/ChatInput/PromptExamples.js +1 -1
  180. package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.state.d.ts +2 -2
  181. package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.state.js +1 -1
  182. package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.style.d.ts +1 -1
  183. package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.d.ts +1 -1
  184. package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.js +1 -1
  185. package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.native.d.ts +1 -1
  186. package/dist/native/components/ChatWidget/ChatWidget/ChatWidget.view.native.js +1 -1
  187. package/dist/native/components/ChatWidget/ChatWidget.d.ts +1 -1
  188. package/dist/native/components/ChatWidget/ChatWidget.js +1 -1
  189. package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.d.ts +1 -1
  190. package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.js +1 -1
  191. package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.native.d.ts +1 -1
  192. package/dist/native/components/ChatWidget/Widget/ChatWidgetWidget.native.js +1 -1
  193. package/dist/native/components/ChatWidget/Widget/useContextSelector.d.ts +1 -1
  194. package/dist/native/components/ChatWidget/Widget/useContextSelector.js +1 -1
  195. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.state.d.ts +2 -2
  196. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.state.js +1 -1
  197. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.d.ts +1 -1
  198. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.js +1 -1
  199. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.d.ts +1 -1
  200. package/dist/native/components/ColorPicker/ColorPicker/ColorPicker.view.native.js +1 -1
  201. package/dist/native/components/ColorPicker/ColorPicker.d.ts +1 -1
  202. package/dist/native/components/ColorPicker/ColorPicker.js +1 -1
  203. package/dist/native/components/Command/Command/Command.props.d.ts +1 -1
  204. package/dist/native/components/Command/Command/Command.state.d.ts +3 -3
  205. package/dist/native/components/Command/Command/Command.state.js +1 -1
  206. package/dist/native/components/Command/Command/Command.type.d.ts +1 -1
  207. package/dist/native/components/Command/Command/Command.view.d.ts +1 -1
  208. package/dist/native/components/Command/Command/Command.view.js +1 -1
  209. package/dist/native/components/Command/Command/Command.view.native.d.ts +1 -1
  210. package/dist/native/components/Command/Command/Command.view.native.js +1 -1
  211. package/dist/native/components/Command/Command/CommandOverlay.d.ts +1 -1
  212. package/dist/native/components/Command/Command/CommandOverlay.js +1 -1
  213. package/dist/native/components/Command/Command/CommandOverlay.native.d.ts +1 -1
  214. package/dist/native/components/Command/Command/CommandOverlay.native.js +1 -1
  215. package/dist/native/components/Command/Command/CommandTextInput.d.ts +1 -1
  216. package/dist/native/components/Command/Command/CommandTextInput.js +1 -1
  217. package/dist/native/components/Command/Command/CommandTextInput.native.d.ts +1 -1
  218. package/dist/native/components/Command/Command/CommandTextInput.native.js +1 -1
  219. package/dist/native/components/Command/Command.js +1 -1
  220. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.props.d.ts +1 -1
  221. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.state.d.ts +1 -1
  222. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.state.js +1 -1
  223. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.type.d.ts +1 -1
  224. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.d.ts +1 -1
  225. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.js +1 -1
  226. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.native.d.ts +1 -1
  227. package/dist/native/components/ContextMenu/ContextMenu/ContextMenu.view.native.js +1 -1
  228. package/dist/native/components/ContextMenu/ContextMenu.js +1 -1
  229. package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.state.d.ts +1 -1
  230. package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.state.js +1 -1
  231. package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.view.d.ts +1 -1
  232. package/dist/native/components/CookieConsent/CookieConsent/CookieConsent.view.js +1 -1
  233. package/dist/native/components/CookieConsent/CookieConsent.d.ts +1 -1
  234. package/dist/native/components/CookieConsent/CookieConsent.js +1 -1
  235. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.d.ts +1 -1
  236. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.js +1 -1
  237. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.native.d.ts +1 -1
  238. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.state.native.js +1 -1
  239. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.d.ts +1 -1
  240. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.js +1 -1
  241. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.native.d.ts +1 -1
  242. package/dist/native/components/DragAndDrop/DragAndDrop/DragAndDrop.view.native.js +1 -1
  243. package/dist/native/components/DragAndDrop/DragAndDrop.d.ts +1 -1
  244. package/dist/native/components/DragAndDrop/DragAndDrop.js +1 -1
  245. package/dist/native/components/Drawer/Drawer/Drawer.layout.d.ts +1 -1
  246. package/dist/native/components/Drawer/Drawer/Drawer.layout.js +1 -1
  247. package/dist/native/components/Drawer/Drawer/Drawer.props.d.ts +1 -1
  248. package/dist/native/components/Drawer/Drawer/Drawer.view.d.ts +1 -1
  249. package/dist/native/components/Drawer/Drawer/Drawer.view.js +1 -1
  250. package/dist/native/components/Drawer/Drawer/Drawer.view.native.d.ts +1 -1
  251. package/dist/native/components/Drawer/Drawer/Drawer.view.native.js +1 -1
  252. package/dist/native/components/Drawer/Drawer.js +1 -1
  253. package/dist/native/components/DropZone/DropZone/DropZone.state.js +1 -1
  254. package/dist/native/components/DropZone/DropZone/DropZone.view.d.ts +1 -1
  255. package/dist/native/components/DropZone/DropZone/DropZone.view.js +1 -1
  256. package/dist/native/components/DropZone/DropZone/DropZone.view.native.d.ts +1 -1
  257. package/dist/native/components/DropZone/DropZone/DropZone.view.native.js +1 -1
  258. package/dist/native/components/DropZone/DropZone.d.ts +1 -1
  259. package/dist/native/components/DropZone/DropZone.js +1 -1
  260. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.props.d.ts +1 -1
  261. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.state.d.ts +2 -2
  262. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.state.js +1 -1
  263. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.type.d.ts +1 -1
  264. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.d.ts +1 -1
  265. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.js +1 -1
  266. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.native.d.ts +1 -1
  267. package/dist/native/components/DropdownMenu/DropdownMenu/DropdownMenu.view.native.js +1 -1
  268. package/dist/native/components/DropdownMenu/DropdownMenu.js +1 -1
  269. package/dist/native/components/EditComponent/EditComponent.d.ts +1 -1
  270. package/dist/native/components/EditComponent/EditComponent.js +1 -1
  271. package/dist/native/components/EditComponent/EditPanel.d.ts +1 -1
  272. package/dist/native/components/EditComponent/EditPanel.js +1 -1
  273. package/dist/native/components/EditComponent/EditToolbar.d.ts +1 -1
  274. package/dist/native/components/EditComponent/EditToolbar.js +1 -1
  275. package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.d.ts +4 -4
  276. package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.state.js +1 -1
  277. package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.d.ts +1 -1
  278. package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.js +1 -1
  279. package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.native.d.ts +1 -1
  280. package/dist/native/components/EmojiPicker/EmojiPicker/EmojiPicker.view.native.js +1 -1
  281. package/dist/native/components/EmojiPicker/EmojiPicker.d.ts +1 -1
  282. package/dist/native/components/EmojiPicker/EmojiPicker.js +1 -1
  283. package/dist/native/components/File/File.d.ts +1 -1
  284. package/dist/native/components/File/File.js +1 -1
  285. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.props.d.ts +1 -1
  286. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.d.ts +1 -1
  287. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.state.js +1 -1
  288. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.d.ts +1 -1
  289. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.js +1 -1
  290. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.d.ts +1 -1
  291. package/dist/native/components/Form/Checkbox/Checkbox/Checkbox.view.native.js +1 -1
  292. package/dist/native/components/Form/Checkbox/Checkbox.d.ts +1 -1
  293. package/dist/native/components/Form/Checkbox/Checkbox.js +1 -1
  294. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.props.d.ts +1 -1
  295. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.state.d.ts +4 -4
  296. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.state.js +1 -1
  297. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.d.ts +1 -1
  298. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.js +1 -1
  299. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.d.ts +1 -1
  300. package/dist/native/components/Form/ColorInput/ColorInput/ColorInput.view.native.js +1 -1
  301. package/dist/native/components/Form/ColorInput/ColorInput.d.ts +1 -1
  302. package/dist/native/components/Form/ColorInput/ColorInput.js +1 -1
  303. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.context.d.ts +1 -1
  304. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.context.js +1 -1
  305. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.props.d.ts +1 -1
  306. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.provider.d.ts +1 -1
  307. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.provider.js +1 -1
  308. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.state.js +1 -1
  309. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.d.ts +1 -1
  310. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.js +1 -1
  311. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.native.d.ts +1 -1
  312. package/dist/native/components/Form/ComboBox/ComboBox/ComboBox.view.native.js +1 -1
  313. package/dist/native/components/Form/ComboBox/ComboBox.d.ts +1 -1
  314. package/dist/native/components/Form/ComboBox/ComboBox.js +1 -1
  315. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.state.d.ts +1 -1
  316. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.state.js +1 -1
  317. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.d.ts +1 -1
  318. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.js +1 -1
  319. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.native.d.ts +1 -1
  320. package/dist/native/components/Form/CountryPicker/CountryPicker/CountryPicker.view.native.js +1 -1
  321. package/dist/native/components/Form/CountryPicker/CountryPicker.d.ts +1 -1
  322. package/dist/native/components/Form/CountryPicker/CountryPicker.js +1 -1
  323. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.d.ts +1 -1
  324. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.state.js +1 -1
  325. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.d.ts +1 -1
  326. package/dist/native/components/Form/DatePicker/DatePicker/DatePicker.view.js +1 -1
  327. package/dist/native/components/Form/DatePicker/DatePicker.d.ts +1 -1
  328. package/dist/native/components/Form/DatePicker/DatePicker.js +1 -1
  329. package/dist/native/components/Form/Label/Label/Label.view.d.ts +1 -1
  330. package/dist/native/components/Form/Label/Label/Label.view.js +1 -1
  331. package/dist/native/components/Form/Label/Label/Label.view.native.d.ts +1 -1
  332. package/dist/native/components/Form/Label/Label/Label.view.native.js +1 -1
  333. package/dist/native/components/Form/Label/Label.d.ts +1 -1
  334. package/dist/native/components/Form/Label/Label.js +1 -1
  335. package/dist/native/components/Form/Password/Password/Password.props.d.ts +1 -1
  336. package/dist/native/components/Form/Password/Password/Password.state.d.ts +1 -1
  337. package/dist/native/components/Form/Password/Password/Password.state.js +1 -1
  338. package/dist/native/components/Form/Password/Password/Password.type.d.ts +1 -1
  339. package/dist/native/components/Form/Password/Password.d.ts +1 -1
  340. package/dist/native/components/Form/Password/Password.js +1 -1
  341. package/dist/native/components/Form/Password/example/Default.d.ts +1 -1
  342. package/dist/native/components/Form/Password/example/Default.js +1 -1
  343. package/dist/native/components/Form/Password/example/DisabledInput.d.ts +1 -1
  344. package/dist/native/components/Form/Password/example/DisabledInput.js +1 -1
  345. package/dist/native/components/Form/Password/example/ErrorInput.d.ts +1 -1
  346. package/dist/native/components/Form/Password/example/ErrorInput.js +2 -2
  347. package/dist/native/components/Form/Password/example/HelperText.d.ts +1 -1
  348. package/dist/native/components/Form/Password/example/HelperText.js +1 -1
  349. package/dist/native/components/Form/Radio/Radio/Radio.props.d.ts +1 -1
  350. package/dist/native/components/Form/Radio/Radio/Radio.state.d.ts +1 -1
  351. package/dist/native/components/Form/Radio/Radio/Radio.state.js +1 -1
  352. package/dist/native/components/Form/Radio/Radio/Radio.view.d.ts +1 -1
  353. package/dist/native/components/Form/Radio/Radio/Radio.view.js +1 -1
  354. package/dist/native/components/Form/Radio/Radio/Radio.view.native.d.ts +1 -1
  355. package/dist/native/components/Form/Radio/Radio/Radio.view.native.js +1 -1
  356. package/dist/native/components/Form/Radio/Radio.d.ts +1 -1
  357. package/dist/native/components/Form/Radio/Radio.js +1 -1
  358. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.props.d.ts +1 -1
  359. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.state.js +1 -1
  360. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.d.ts +1 -1
  361. package/dist/native/components/Form/Radio/RadioGroup/RadioGroup.view.js +1 -1
  362. package/dist/native/components/Form/Radio/RadioGroup.d.ts +1 -1
  363. package/dist/native/components/Form/Radio/RadioGroup.js +1 -1
  364. package/dist/native/components/Form/Select/Select/Select.state.d.ts +1 -1
  365. package/dist/native/components/Form/Select/Select/Select.state.js +1 -1
  366. package/dist/native/components/Form/Select/Select/Select.view.d.ts +1 -1
  367. package/dist/native/components/Form/Select/Select/Select.view.js +1 -1
  368. package/dist/native/components/Form/Select/Select/Select.view.native.d.ts +1 -1
  369. package/dist/native/components/Form/Select/Select/Select.view.native.js +1 -1
  370. package/dist/native/components/Form/Select/Select.d.ts +1 -1
  371. package/dist/native/components/Form/Select/Select.js +1 -1
  372. package/dist/native/components/Form/Selector/Selector/Selector.state.d.ts +1 -1
  373. package/dist/native/components/Form/Selector/Selector/Selector.state.js +1 -1
  374. package/dist/native/components/Form/Selector/Selector/Selector.view.d.ts +1 -1
  375. package/dist/native/components/Form/Selector/Selector/Selector.view.js +1 -1
  376. package/dist/native/components/Form/Selector/Selector/Selector.view.native.d.ts +1 -1
  377. package/dist/native/components/Form/Selector/Selector/Selector.view.native.js +1 -1
  378. package/dist/native/components/Form/Selector/Selector.d.ts +1 -1
  379. package/dist/native/components/Form/Selector/Selector.js +1 -1
  380. package/dist/native/components/Form/Switch/Switch/Switch.state.d.ts +1 -1
  381. package/dist/native/components/Form/Switch/Switch/Switch.state.js +1 -1
  382. package/dist/native/components/Form/Switch/Switch/Switch.view.d.ts +1 -1
  383. package/dist/native/components/Form/Switch/Switch/Switch.view.js +1 -1
  384. package/dist/native/components/Form/Switch/Switch/Switch.view.native.d.ts +1 -1
  385. package/dist/native/components/Form/Switch/Switch/Switch.view.native.js +1 -1
  386. package/dist/native/components/Form/Switch/Switch.d.ts +1 -1
  387. package/dist/native/components/Form/Switch/Switch.js +1 -1
  388. package/dist/native/components/Form/TagInput/TagInput/TagInput.props.d.ts +1 -1
  389. package/dist/native/components/Form/TagInput/TagInput/TagInput.state.d.ts +4 -4
  390. package/dist/native/components/Form/TagInput/TagInput/TagInput.state.js +1 -1
  391. package/dist/native/components/Form/TagInput/TagInput/TagInput.view.d.ts +1 -1
  392. package/dist/native/components/Form/TagInput/TagInput/TagInput.view.js +1 -1
  393. package/dist/native/components/Form/TagInput/TagInput.d.ts +1 -1
  394. package/dist/native/components/Form/TagInput/TagInput.js +1 -1
  395. package/dist/native/components/Form/TextArea/TextArea/TextArea.state.d.ts +4 -4
  396. package/dist/native/components/Form/TextArea/TextArea/TextArea.state.js +1 -1
  397. package/dist/native/components/Form/TextArea/TextArea/TextArea.view.d.ts +1 -1
  398. package/dist/native/components/Form/TextArea/TextArea/TextArea.view.js +1 -1
  399. package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.d.ts +1 -1
  400. package/dist/native/components/Form/TextArea/TextArea/TextArea.view.native.js +1 -1
  401. package/dist/native/components/Form/TextArea/TextArea.d.ts +1 -1
  402. package/dist/native/components/Form/TextArea/TextArea.js +1 -1
  403. package/dist/native/components/Form/TextField/TextField/TextField.props.d.ts +1 -1
  404. package/dist/native/components/Form/TextField/TextField/TextField.state.d.ts +4 -4
  405. package/dist/native/components/Form/TextField/TextField/TextField.state.js +1 -1
  406. package/dist/native/components/Form/TextField/TextField/TextField.view.d.ts +1 -1
  407. package/dist/native/components/Form/TextField/TextField/TextField.view.js +1 -1
  408. package/dist/native/components/Form/TextField/TextField/TextField.view.native.d.ts +1 -1
  409. package/dist/native/components/Form/TextField/TextField/TextField.view.native.js +1 -1
  410. package/dist/native/components/Form/TextField/TextField.d.ts +1 -1
  411. package/dist/native/components/Form/TextField/TextField.js +1 -1
  412. package/dist/native/components/Formik/AttachmentPreview.d.ts +1 -1
  413. package/dist/native/components/Formik/AttachmentPreview.js +1 -1
  414. package/dist/native/components/Formik/Formik.ChatInput.d.ts +1 -1
  415. package/dist/native/components/Formik/Formik.ChatInput.js +1 -1
  416. package/dist/native/components/Formik/Formik.Checkbox.d.ts +1 -1
  417. package/dist/native/components/Formik/Formik.Checkbox.js +1 -1
  418. package/dist/native/components/Formik/Formik.ColorInput.d.ts +1 -1
  419. package/dist/native/components/Formik/Formik.ColorInput.js +1 -1
  420. package/dist/native/components/Formik/Formik.ComboBox.d.ts +1 -1
  421. package/dist/native/components/Formik/Formik.ComboBox.js +1 -1
  422. package/dist/native/components/Formik/Formik.CountryPicker.d.ts +1 -1
  423. package/dist/native/components/Formik/Formik.CountryPicker.js +1 -1
  424. package/dist/native/components/Formik/Formik.DatePicker.d.ts +1 -1
  425. package/dist/native/components/Formik/Formik.DatePicker.js +1 -1
  426. package/dist/native/components/Formik/Formik.EmojiPicker.d.ts +1 -1
  427. package/dist/native/components/Formik/Formik.EmojiPicker.js +1 -1
  428. package/dist/native/components/Formik/Formik.Form.d.ts +1 -1
  429. package/dist/native/components/Formik/Formik.Form.js +1 -1
  430. package/dist/native/components/Formik/Formik.IconPicker.d.ts +1 -1
  431. package/dist/native/components/Formik/Formik.IconPicker.js +1 -1
  432. package/dist/native/components/Formik/Formik.OTPInput.d.ts +1 -1
  433. package/dist/native/components/Formik/Formik.OTPInput.js +1 -1
  434. package/dist/native/components/Formik/Formik.Password.d.ts +1 -1
  435. package/dist/native/components/Formik/Formik.Password.js +1 -1
  436. package/dist/native/components/Formik/Formik.Radio.d.ts +1 -1
  437. package/dist/native/components/Formik/Formik.Radio.js +1 -1
  438. package/dist/native/components/Formik/Formik.Select.d.ts +1 -1
  439. package/dist/native/components/Formik/Formik.Select.js +1 -1
  440. package/dist/native/components/Formik/Formik.Selector.d.ts +1 -1
  441. package/dist/native/components/Formik/Formik.Selector.js +1 -1
  442. package/dist/native/components/Formik/Formik.Slider.d.ts +1 -1
  443. package/dist/native/components/Formik/Formik.Slider.js +1 -1
  444. package/dist/native/components/Formik/Formik.Switch.d.ts +1 -1
  445. package/dist/native/components/Formik/Formik.Switch.js +1 -1
  446. package/dist/native/components/Formik/Formik.TagInput.d.ts +1 -1
  447. package/dist/native/components/Formik/Formik.TagInput.js +1 -1
  448. package/dist/native/components/Formik/Formik.TextArea.d.ts +1 -1
  449. package/dist/native/components/Formik/Formik.TextArea.js +1 -1
  450. package/dist/native/components/Formik/Formik.TextField.d.ts +1 -1
  451. package/dist/native/components/Formik/Formik.TextField.js +1 -1
  452. package/dist/native/components/Formik/Formik.Toggle.d.ts +1 -1
  453. package/dist/native/components/Formik/Formik.Toggle.js +1 -1
  454. package/dist/native/components/Formik/Formik.ToggleGroup.d.ts +1 -1
  455. package/dist/native/components/Formik/Formik.ToggleGroup.js +1 -1
  456. package/dist/native/components/Formik/Formik.Uploader.d.ts +1 -1
  457. package/dist/native/components/Formik/Formik.Uploader.js +1 -1
  458. package/dist/native/components/Gradient/Gradient/Gradient.view.d.ts +1 -1
  459. package/dist/native/components/Gradient/Gradient/Gradient.view.js +1 -1
  460. package/dist/native/components/Gradient/Gradient/Gradient.view.native.d.ts +1 -1
  461. package/dist/native/components/Gradient/Gradient/Gradient.view.native.js +1 -1
  462. package/dist/native/components/Gradient/Gradient.d.ts +1 -1
  463. package/dist/native/components/Gradient/Gradient.js +1 -1
  464. package/dist/native/components/HoverCard/HoverCard/HoverCard.props.d.ts +1 -1
  465. package/dist/native/components/HoverCard/HoverCard/HoverCard.state.d.ts +2 -2
  466. package/dist/native/components/HoverCard/HoverCard/HoverCard.state.js +1 -1
  467. package/dist/native/components/HoverCard/HoverCard/HoverCard.style.d.ts +1 -1
  468. package/dist/native/components/HoverCard/HoverCard/HoverCard.view.d.ts +1 -1
  469. package/dist/native/components/HoverCard/HoverCard/HoverCard.view.js +1 -1
  470. package/dist/native/components/HoverCard/HoverCard/HoverCard.view.native.d.ts +1 -1
  471. package/dist/native/components/HoverCard/HoverCard/HoverCard.view.native.js +1 -1
  472. package/dist/native/components/HoverCard/HoverCard.js +1 -1
  473. package/dist/native/components/Icon/Icon.d.ts +1 -1
  474. package/dist/native/components/Icon/Icon.js +1 -1
  475. package/dist/native/components/Icon/Icon.native.d.ts +1 -1
  476. package/dist/native/components/Icon/Icon.native.js +1 -1
  477. package/dist/native/components/IconPicker/IconPicker/IconPicker.state.d.ts +2 -2
  478. package/dist/native/components/IconPicker/IconPicker/IconPicker.state.js +1 -1
  479. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.d.ts +1 -1
  480. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.js +1 -1
  481. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.d.ts +1 -1
  482. package/dist/native/components/IconPicker/IconPicker/IconPicker.view.native.js +1 -1
  483. package/dist/native/components/IconPicker/IconPicker.d.ts +1 -1
  484. package/dist/native/components/IconPicker/IconPicker.js +1 -1
  485. package/dist/native/components/Input/FieldContainer/FieldContainer/FieldContainer.props.d.ts +1 -1
  486. package/dist/native/components/Input/FieldContainer/FieldContainer.d.ts +1 -1
  487. package/dist/native/components/Input/FieldContainer/FieldContainer.js +1 -1
  488. package/dist/native/components/Input/FieldContent/FieldContent/FieldContent.props.d.ts +1 -1
  489. package/dist/native/components/Input/FieldContent/FieldContent.d.ts +1 -1
  490. package/dist/native/components/Input/FieldContent/FieldContent.js +1 -1
  491. package/dist/native/components/Input/FieldIcons/FieldIcons.d.ts +1 -1
  492. package/dist/native/components/Input/FieldIcons/FieldIcons.js +1 -1
  493. package/dist/native/components/Input/FieldLabel/FieldLabel/FieldLabel.props.d.ts +1 -1
  494. package/dist/native/components/Input/FieldLabel/FieldLabel.d.ts +1 -1
  495. package/dist/native/components/Input/FieldLabel/FieldLabel.js +1 -1
  496. package/dist/native/components/Input/FieldLayout/FieldLayout/FieldLayout.props.d.ts +1 -1
  497. package/dist/native/components/Input/FieldLayout/FieldLayout.d.ts +1 -1
  498. package/dist/native/components/Input/FieldLayout/FieldLayout.js +1 -1
  499. package/dist/native/components/Input/FieldWrapper/FieldWrapper.d.ts +1 -1
  500. package/dist/native/components/Input/FieldWrapper/FieldWrapper.js +1 -1
  501. package/dist/native/components/Input/HelperText/HelperText.d.ts +1 -1
  502. package/dist/native/components/Input/HelperText/HelperText.js +1 -1
  503. package/dist/native/components/Input/HelperText/HelperText.props.d.ts +1 -1
  504. package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.d.ts +1 -1
  505. package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.js +1 -1
  506. package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.native.d.ts +1 -1
  507. package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.native.js +1 -1
  508. package/dist/native/components/KeyboardAvoidingView/KeyboardAvoidingView.types.d.ts +1 -1
  509. package/dist/native/components/Link/Link/Link.props.d.ts +1 -1
  510. package/dist/native/components/Link/Link/Link.state.d.ts +1 -1
  511. package/dist/native/components/Link/Link/Link.state.js +1 -1
  512. package/dist/native/components/Link/Link/Link.view.d.ts +1 -1
  513. package/dist/native/components/Link/Link/Link.view.js +1 -1
  514. package/dist/native/components/Link/Link/Link.view.native.d.ts +1 -1
  515. package/dist/native/components/Link/Link/Link.view.native.js +1 -1
  516. package/dist/native/components/Link/Link.d.ts +1 -1
  517. package/dist/native/components/Link/Link.js +1 -1
  518. package/dist/native/components/Loader/Loader/Loader.props.d.ts +1 -1
  519. package/dist/native/components/Loader/Loader/Loader.view.d.ts +1 -1
  520. package/dist/native/components/Loader/Loader/Loader.view.js +1 -1
  521. package/dist/native/components/Loader/Loader/Loader.view.native.d.ts +1 -1
  522. package/dist/native/components/Loader/Loader/Loader.view.native.js +1 -1
  523. package/dist/native/components/Loader/Loader.d.ts +1 -1
  524. package/dist/native/components/Loader/Loader.js +1 -1
  525. package/dist/native/components/Markdown/Markdown/Markdown.content.d.ts +2 -2
  526. package/dist/native/components/Markdown/Markdown/Markdown.content.js +26 -7
  527. package/dist/native/components/Markdown/Markdown/Markdown.content.js.map +1 -1
  528. package/dist/native/components/Markdown/Markdown/Markdown.motion.d.ts +1 -0
  529. package/dist/native/components/Markdown/Markdown/Markdown.motion.js +16 -0
  530. package/dist/native/components/Markdown/Markdown/Markdown.motion.js.map +1 -0
  531. package/dist/native/components/Markdown/Markdown/Markdown.motion.native.d.ts +1 -0
  532. package/dist/native/components/Markdown/Markdown/Markdown.motion.native.js +21 -0
  533. package/dist/native/components/Markdown/Markdown/Markdown.motion.native.js.map +1 -0
  534. package/dist/native/components/Markdown/Markdown/Markdown.props.d.ts +19 -1
  535. package/dist/native/components/Markdown/Markdown/Markdown.view.native.d.ts +1 -1
  536. package/dist/native/components/Markdown/Markdown/Markdown.view.native.js +1 -1
  537. package/dist/native/components/Markdown/Markdown/useMarkdownTyping.d.ts +6 -0
  538. package/dist/native/components/Markdown/Markdown/useMarkdownTyping.js +81 -0
  539. package/dist/native/components/Markdown/Markdown/useMarkdownTyping.js.map +1 -0
  540. package/dist/native/components/Markdown/Markdown.d.ts +1 -1
  541. package/dist/native/components/Markdown/Markdown.js +1 -1
  542. package/dist/native/components/MediaPreview.d.ts +1 -1
  543. package/dist/native/components/MediaPreview.js +1 -1
  544. package/dist/native/components/Menubar/Menubar/Menubar.props.d.ts +1 -1
  545. package/dist/native/components/Menubar/Menubar/Menubar.state.d.ts +2 -2
  546. package/dist/native/components/Menubar/Menubar/Menubar.state.js +1 -1
  547. package/dist/native/components/Menubar/Menubar/Menubar.type.d.ts +1 -1
  548. package/dist/native/components/Menubar/Menubar/Menubar.view.d.ts +1 -1
  549. package/dist/native/components/Menubar/Menubar/Menubar.view.js +1 -1
  550. package/dist/native/components/Menubar/Menubar/Menubar.view.native.d.ts +1 -1
  551. package/dist/native/components/Menubar/Menubar/Menubar.view.native.js +1 -1
  552. package/dist/native/components/Menubar/Menubar.js +1 -1
  553. package/dist/native/components/Message/Message/Message.layout.d.ts +1 -1
  554. package/dist/native/components/Message/Message/Message.layout.js +1 -1
  555. package/dist/native/components/Message/Message/Message.layout.native.d.ts +1 -1
  556. package/dist/native/components/Message/Message/Message.layout.native.js +1 -1
  557. package/dist/native/components/Message/Message/Message.view.d.ts +1 -1
  558. package/dist/native/components/Message/Message/Message.view.js +1 -1
  559. package/dist/native/components/Modal/Modal/Modal.layout.d.ts +1 -1
  560. package/dist/native/components/Modal/Modal/Modal.layout.js +1 -1
  561. package/dist/native/components/Modal/Modal/Modal.props.d.ts +1 -1
  562. package/dist/native/components/Modal/Modal/Modal.view.d.ts +1 -1
  563. package/dist/native/components/Modal/Modal/Modal.view.js +1 -1
  564. package/dist/native/components/Modal/Modal/Modal.view.native.d.ts +1 -1
  565. package/dist/native/components/Modal/Modal/Modal.view.native.js +1 -1
  566. package/dist/native/components/Modal/Modal.js +1 -1
  567. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.props.d.ts +1 -1
  568. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.state.d.ts +2 -2
  569. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.state.js +1 -1
  570. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.type.d.ts +1 -1
  571. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.d.ts +1 -1
  572. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.js +1 -1
  573. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.native.d.ts +1 -1
  574. package/dist/native/components/NavigationMenu/NavigationMenu/NavigationMenu.view.native.js +1 -1
  575. package/dist/native/components/NavigationMenu/NavigationMenu.js +1 -1
  576. package/dist/native/components/OTPInput/OTPInput/OTPInput.state.d.ts +7 -7
  577. package/dist/native/components/OTPInput/OTPInput/OTPInput.state.js +1 -1
  578. package/dist/native/components/OTPInput/OTPInput/OTPInput.view.d.ts +1 -1
  579. package/dist/native/components/OTPInput/OTPInput/OTPInput.view.js +1 -1
  580. package/dist/native/components/OTPInput/OTPInput/OTPInput.view.native.d.ts +1 -1
  581. package/dist/native/components/OTPInput/OTPInput/OTPInput.view.native.js +1 -1
  582. package/dist/native/components/OTPInput/OTPInput.d.ts +1 -1
  583. package/dist/native/components/OTPInput/OTPInput.js +1 -1
  584. package/dist/native/components/PageLayout/PageLayout.d.ts +1 -1
  585. package/dist/native/components/PageLayout/PageLayout.js +1 -1
  586. package/dist/native/components/PageLayout/PageLayout.types.d.ts +1 -1
  587. package/dist/native/components/Pagination/Pagination/Pagination.state.js +1 -1
  588. package/dist/native/components/Pagination/Pagination/Pagination.view.d.ts +1 -1
  589. package/dist/native/components/Pagination/Pagination/Pagination.view.js +1 -1
  590. package/dist/native/components/Pagination/Pagination/Pagination.view.native.d.ts +1 -1
  591. package/dist/native/components/Pagination/Pagination/Pagination.view.native.js +1 -1
  592. package/dist/native/components/Pagination/Pagination.d.ts +1 -1
  593. package/dist/native/components/Pagination/Pagination.js +1 -1
  594. package/dist/native/components/Portal/Portal.d.ts +1 -1
  595. package/dist/native/components/Portal/Portal.js +1 -1
  596. package/dist/native/components/Portal/Portal.native.d.ts +1 -1
  597. package/dist/native/components/Portal/Portal.native.js +1 -1
  598. package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.d.ts +1 -1
  599. package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.js +1 -1
  600. package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.native.d.ts +1 -1
  601. package/dist/native/components/ProgressBar/ProgressBar/ProgressBar.view.native.js +1 -1
  602. package/dist/native/components/ProgressBar/ProgressBar.d.ts +1 -1
  603. package/dist/native/components/ProgressBar/ProgressBar.js +1 -1
  604. package/dist/native/components/Resizable/Resizable/Resizable.props.d.ts +1 -1
  605. package/dist/native/components/Resizable/Resizable/Resizable.state.d.ts +2 -2
  606. package/dist/native/components/Resizable/Resizable/Resizable.state.js +1 -1
  607. package/dist/native/components/Resizable/Resizable/Resizable.view.d.ts +1 -1
  608. package/dist/native/components/Resizable/Resizable/Resizable.view.js +1 -1
  609. package/dist/native/components/Resizable/Resizable/Resizable.view.native.d.ts +1 -1
  610. package/dist/native/components/Resizable/Resizable/Resizable.view.native.js +1 -1
  611. package/dist/native/components/Resizable/Resizable.js +1 -1
  612. package/dist/native/components/Router/Router.d.ts +1 -1
  613. package/dist/native/components/Router/Router.js +1 -1
  614. package/dist/native/components/Router/Router.match.d.ts +1 -1
  615. package/dist/native/components/Router/Router.match.js +1 -1
  616. package/dist/native/components/Router/Router.native.d.ts +1 -1
  617. package/dist/native/components/Router/Router.native.js +1 -1
  618. package/dist/native/components/Router/Router.types.d.ts +1 -1
  619. package/dist/native/components/Separator/Separator/Separator.view.d.ts +1 -1
  620. package/dist/native/components/Separator/Separator/Separator.view.js +1 -1
  621. package/dist/native/components/Separator/Separator/Separator.view.native.d.ts +1 -1
  622. package/dist/native/components/Separator/Separator/Separator.view.native.js +1 -1
  623. package/dist/native/components/Separator/Separator.d.ts +1 -1
  624. package/dist/native/components/Separator/Separator.js +1 -1
  625. package/dist/native/components/ShareButton/ShareButton/ShareButton.props.d.ts +1 -1
  626. package/dist/native/components/ShareButton/ShareButton/ShareButton.state.js +1 -1
  627. package/dist/native/components/ShareButton/ShareButton/ShareButton.state.native.js +1 -1
  628. package/dist/native/components/ShareButton/ShareButton/ShareButton.view.d.ts +1 -1
  629. package/dist/native/components/ShareButton/ShareButton/ShareButton.view.js +1 -1
  630. package/dist/native/components/ShareButton/ShareButton.d.ts +1 -1
  631. package/dist/native/components/ShareButton/ShareButton.js +1 -1
  632. package/dist/native/components/Sidebar/Sidebar/Sidebar.props.d.ts +1 -1
  633. package/dist/native/components/Sidebar/Sidebar/Sidebar.state.js +1 -1
  634. package/dist/native/components/Sidebar/Sidebar/Sidebar.view.d.ts +1 -1
  635. package/dist/native/components/Sidebar/Sidebar/Sidebar.view.js +1 -1
  636. package/dist/native/components/Sidebar/Sidebar/Sidebar.view.native.d.ts +1 -1
  637. package/dist/native/components/Sidebar/Sidebar/Sidebar.view.native.js +1 -1
  638. package/dist/native/components/Sidebar/Sidebar.js +1 -1
  639. package/dist/native/components/Slider/Slider/Slider.state.d.ts +1 -1
  640. package/dist/native/components/Slider/Slider/Slider.state.js +1 -1
  641. package/dist/native/components/Slider/Slider/Slider.view.d.ts +1 -1
  642. package/dist/native/components/Slider/Slider/Slider.view.js +1 -1
  643. package/dist/native/components/Slider/Slider/Slider.view.native.d.ts +1 -1
  644. package/dist/native/components/Slider/Slider/Slider.view.native.js +1 -1
  645. package/dist/native/components/Slider/Slider.d.ts +1 -1
  646. package/dist/native/components/Slider/Slider.js +1 -1
  647. package/dist/native/components/SplashScreen/SplashScreen.d.ts +1 -1
  648. package/dist/native/components/SplashScreen/SplashScreen.js +1 -1
  649. package/dist/native/components/SplashScreen/SplashScreen.types.d.ts +1 -1
  650. package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.view.d.ts +1 -1
  651. package/dist/native/components/StatusIndicator/StatusIndicator/StatusIndicator.view.js +1 -1
  652. package/dist/native/components/StatusIndicator/StatusIndicator.d.ts +1 -1
  653. package/dist/native/components/StatusIndicator/StatusIndicator.js +1 -1
  654. package/dist/native/components/Table/Table/Table.context.d.ts +1 -1
  655. package/dist/native/components/Table/Table/Table.context.js +1 -1
  656. package/dist/native/components/Table/Table/Table.props.d.ts +1 -1
  657. package/dist/native/components/Table/Table/Table.state.d.ts +1 -1
  658. package/dist/native/components/Table/Table/Table.state.js +1 -1
  659. package/dist/native/components/Table/Table/Table.view.d.ts +1 -1
  660. package/dist/native/components/Table/Table/Table.view.js +1 -1
  661. package/dist/native/components/Table/Table/TableScroll.d.ts +1 -1
  662. package/dist/native/components/Table/Table/TableScroll.js +1 -1
  663. package/dist/native/components/Table/Table/TableScroll.native.d.ts +1 -1
  664. package/dist/native/components/Table/Table/TableScroll.native.js +1 -1
  665. package/dist/native/components/Table/Table.d.ts +1 -1
  666. package/dist/native/components/Table/Table.js +1 -1
  667. package/dist/native/components/Tabs/Tabs/TabHeader.d.ts +1 -1
  668. package/dist/native/components/Tabs/Tabs/TabHeader.js +1 -1
  669. package/dist/native/components/Tabs/Tabs/Tabs.props.d.ts +1 -1
  670. package/dist/native/components/Tabs/Tabs/Tabs.state.js +1 -1
  671. package/dist/native/components/Tabs/Tabs/Tabs.type.d.ts +1 -1
  672. package/dist/native/components/Tabs/Tabs/Tabs.view.d.ts +1 -1
  673. package/dist/native/components/Tabs/Tabs/Tabs.view.js +1 -1
  674. package/dist/native/components/Tabs/Tabs/Tabs.view.native.d.ts +1 -1
  675. package/dist/native/components/Tabs/Tabs/Tabs.view.native.js +1 -1
  676. package/dist/native/components/Tabs/Tabs.d.ts +1 -1
  677. package/dist/native/components/Tabs/Tabs.js +1 -1
  678. package/dist/native/components/TextArea/TextArea.d.ts +1 -1
  679. package/dist/native/components/TextArea/TextArea.js +1 -1
  680. package/dist/native/components/TextArea/TextArea.native.d.ts +1 -1
  681. package/dist/native/components/TextArea/TextArea.native.js +1 -1
  682. package/dist/native/components/Title/Title/SlideEffect.d.ts +1 -1
  683. package/dist/native/components/Title/Title/SlideEffect.js +1 -1
  684. package/dist/native/components/Title/Title/SlideEffect.native.d.ts +1 -1
  685. package/dist/native/components/Title/Title/SlideEffect.native.js +1 -1
  686. package/dist/native/components/Title/Title/Title.state.d.ts +1 -1
  687. package/dist/native/components/Title/Title/Title.state.js +1 -1
  688. package/dist/native/components/Title/Title/Title.view.d.ts +1 -1
  689. package/dist/native/components/Title/Title/Title.view.js +1 -1
  690. package/dist/native/components/Title/Title/Title.view.native.d.ts +1 -1
  691. package/dist/native/components/Title/Title/Title.view.native.js +1 -1
  692. package/dist/native/components/Title/Title/TypewriterEffect.d.ts +1 -1
  693. package/dist/native/components/Title/Title/TypewriterEffect.js +1 -1
  694. package/dist/native/components/Title/Title/TypewriterEffect.native.d.ts +1 -1
  695. package/dist/native/components/Title/Title/TypewriterEffect.native.js +1 -1
  696. package/dist/native/components/Title/Title.d.ts +1 -1
  697. package/dist/native/components/Title/Title.js +1 -1
  698. package/dist/native/components/Toast/Toast/Toast.view.d.ts +1 -1
  699. package/dist/native/components/Toast/Toast/Toast.view.js +1 -1
  700. package/dist/native/components/Toast/Toast/Toast.view.native.d.ts +1 -1
  701. package/dist/native/components/Toast/Toast/Toast.view.native.js +1 -1
  702. package/dist/native/components/Toast/Toast.d.ts +1 -1
  703. package/dist/native/components/Toast/Toast.js +1 -1
  704. package/dist/native/components/Toggle/Toggle/Toggle.state.d.ts +2 -2
  705. package/dist/native/components/Toggle/Toggle/Toggle.state.js +1 -1
  706. package/dist/native/components/Toggle/Toggle/Toggle.view.d.ts +1 -1
  707. package/dist/native/components/Toggle/Toggle/Toggle.view.js +1 -1
  708. package/dist/native/components/Toggle/Toggle/Toggle.view.native.d.ts +1 -1
  709. package/dist/native/components/Toggle/Toggle/Toggle.view.native.js +1 -1
  710. package/dist/native/components/Toggle/Toggle.d.ts +1 -1
  711. package/dist/native/components/Toggle/Toggle.js +1 -1
  712. package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.state.d.ts +1 -1
  713. package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.state.js +1 -1
  714. package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.view.d.ts +1 -1
  715. package/dist/native/components/ToggleGroup/ToggleGroup/ToggleGroup.view.js +1 -1
  716. package/dist/native/components/ToggleGroup/ToggleGroup.d.ts +1 -1
  717. package/dist/native/components/ToggleGroup/ToggleGroup.js +1 -1
  718. package/dist/native/components/Tooltip/Tooltip/Tooltip.props.d.ts +1 -1
  719. package/dist/native/components/Tooltip/Tooltip/Tooltip.state.d.ts +2 -2
  720. package/dist/native/components/Tooltip/Tooltip/Tooltip.state.js +1 -1
  721. package/dist/native/components/Tooltip/Tooltip/Tooltip.view.d.ts +1 -1
  722. package/dist/native/components/Tooltip/Tooltip/Tooltip.view.js +1 -1
  723. package/dist/native/components/Tooltip/Tooltip/Tooltip.view.native.d.ts +1 -1
  724. package/dist/native/components/Tooltip/Tooltip/Tooltip.view.native.js +1 -1
  725. package/dist/native/components/Tooltip/Tooltip.js +1 -1
  726. package/dist/native/components/Uploader/Uploader/Uploader.state.d.ts +1 -1
  727. package/dist/native/components/Uploader/Uploader/Uploader.state.js +1 -1
  728. package/dist/native/components/Uploader/Uploader/Uploader.view.d.ts +1 -1
  729. package/dist/native/components/Uploader/Uploader/Uploader.view.js +1 -1
  730. package/dist/native/components/Uploader/Uploader.d.ts +1 -1
  731. package/dist/native/components/Uploader/Uploader.js +1 -1
  732. package/dist/native/components/index.d.ts +1 -0
  733. package/dist/native/components/index.js +1 -0
  734. package/dist/native/components/index.js.map +1 -1
  735. package/dist/native/design-system/DesignSystemProvider.d.ts +1 -1
  736. package/dist/native/design-system/DesignSystemProvider.js +1 -1
  737. package/dist/native/pages/designSystem.page.d.ts +1 -1
  738. package/dist/native/pages/designSystem.page.js +1 -1
  739. package/dist/web.cjs.js +56 -32
  740. package/dist/web.cjs.js.map +1 -1
  741. package/dist/web.esm.js +9250 -8133
  742. package/dist/web.esm.js.map +1 -1
  743. package/dist/web.umd.js +55 -31
  744. package/dist/web.umd.js.map +1 -1
  745. package/docs/components/BlockEditor.mdx +74 -21
  746. package/docs/components/Markdown.mdx +77 -16
  747. package/package.json +1 -1
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Markdown.motion.js","sourceRoot":"","sources":["../../../../../src/components/Markdown/Markdown/Markdown.motion.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAE5C,MAAM,UAAU,wBAAwB;IACtC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CACpC,GAAG,EAAE,CACH,OAAO,MAAM,KAAK,WAAW;QAC7B,CAAC,CAAC,MAAM,CAAC,UAAU,EAAE,CAAC,kCAAkC,CAAC,CAAC,OAAO,CACpE,CAAC;IACF,SAAS,CAAC,GAAG,EAAE;QACb,MAAM,KAAK,GAAG,MAAM,CAAC,UAAU,EAAE,CAAC,kCAAkC,CAAC,CAAC;QACtE,IAAI,CAAC,KAAK;YAAE,OAAO;QACnB,MAAM,MAAM,GAAG,GAAG,EAAE,CAAC,UAAU,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC;QAC/C,MAAM,EAAE,CAAC;QACT,KAAK,CAAC,gBAAgB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;QAC3C,OAAO,GAAG,EAAE,CAAC,KAAK,CAAC,mBAAmB,EAAE,CAAC,QAAQ,EAAE,MAAM,CAAC,CAAC;IAC7D,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -0,0 +1 @@
1
+ export declare function useMarkdownReducedMotion(): boolean;
@@ -0,0 +1,21 @@
1
+ import { useEffect, useState } from 'react';
2
+ import { AccessibilityInfo } from 'react-native';
3
+ export function useMarkdownReducedMotion() {
4
+ const [reduced, setReduced] = useState(false);
5
+ useEffect(() => {
6
+ let active = true;
7
+ void AccessibilityInfo.isReduceMotionEnabled()
8
+ .then((value) => {
9
+ if (active)
10
+ setReduced(value);
11
+ })
12
+ .catch(() => { });
13
+ const subscription = AccessibilityInfo.addEventListener('reduceMotionChanged', setReduced);
14
+ return () => {
15
+ active = false;
16
+ subscription.remove();
17
+ };
18
+ }, []);
19
+ return reduced;
20
+ }
21
+ //# sourceMappingURL=Markdown.motion.native.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"Markdown.motion.native.js","sourceRoot":"","sources":["../../../../../src/components/Markdown/Markdown/Markdown.motion.native.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,QAAQ,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAC;AAEjD,MAAM,UAAU,wBAAwB;IACtC,MAAM,CAAC,OAAO,EAAE,UAAU,CAAC,GAAG,QAAQ,CAAC,KAAK,CAAC,CAAC;IAC9C,SAAS,CAAC,GAAG,EAAE;QACb,IAAI,MAAM,GAAG,IAAI,CAAC;QAClB,KAAK,iBAAiB,CAAC,qBAAqB,EAAE;aAC3C,IAAI,CAAC,CAAC,KAAK,EAAE,EAAE;YACd,IAAI,MAAM;gBAAE,UAAU,CAAC,KAAK,CAAC,CAAC;QAChC,CAAC,CAAC;aACD,KAAK,CAAC,GAAG,EAAE,GAAE,CAAC,CAAC,CAAC;QACnB,MAAM,YAAY,GAAG,iBAAiB,CAAC,gBAAgB,CACrD,qBAAqB,EACrB,UAAU,CACX,CAAC;QACF,OAAO,GAAG,EAAE;YACV,MAAM,GAAG,KAAK,CAAC;YACf,YAAY,CAAC,MAAM,EAAE,CAAC;QACxB,CAAC,CAAC;IACJ,CAAC,EAAE,EAAE,CAAC,CAAC;IACP,OAAO,OAAO,CAAC;AACjB,CAAC"}
@@ -1,9 +1,27 @@
1
1
  import { ViewProps } from 'app-studio';
2
- export interface MarkdownProps extends Omit<ViewProps, 'value' | 'children'> {
2
+ import type { ReactNode } from 'react';
3
+ export interface MarkdownTypingOptions {
4
+ typing?: boolean | {
5
+ charsPerTick?: number;
6
+ intervalMs?: number;
7
+ };
8
+ /** Keep the cursor active while waiting for more content; completion waits for false. */
9
+ isStreaming?: boolean;
10
+ onTypingComplete?: () => void;
11
+ }
12
+ export interface MarkdownProps extends Omit<ViewProps, 'value' | 'children'>, MarkdownTypingOptions {
3
13
  value: string;
4
14
  label?: string;
5
15
  /** Override link navigation, for example to use the application's native router. */
6
16
  onLinkPress?: (url: string) => void;
17
+ /** Return undefined to keep the safe default, or replace a link with application content. */
18
+ renderLink?: (url: string, children: ReactNode) => ReactNode | undefined;
19
+ /** Disable external image loading while retaining readable alternative text. */
20
+ allowImages?: boolean;
21
+ /** Disable video loading and navigation while retaining its caption. */
22
+ allowVideos?: boolean;
23
+ /** Optional application player, especially on native. Called only for safe, allowed URLs. */
24
+ renderVideo?: (url: string, caption: string) => ReactNode | undefined;
7
25
  labels?: {
8
26
  sourceFallback?: string;
9
27
  };
@@ -1,3 +1,3 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { MarkdownProps } from './Markdown.props';
3
3
  export declare function MarkdownView(props: MarkdownProps): React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { Linking, Platform } from 'react-native';
3
3
  import { MarkdownContent } from './Markdown.content';
4
4
  export function MarkdownView(props) {
@@ -0,0 +1,6 @@
1
+ import { MarkdownTypingOptions } from './Markdown.props';
2
+ export type MarkdownTypingResult = {
3
+ displayedText: string;
4
+ isTyping: boolean;
5
+ };
6
+ export declare function useMarkdownTyping(value: string, { typing, isStreaming, onTypingComplete, }?: MarkdownTypingOptions): MarkdownTypingResult;
@@ -0,0 +1,81 @@
1
+ import { useEffect, useMemo, useRef, useState } from 'react';
2
+ import { useMarkdownReducedMotion } from './Markdown.motion';
3
+ const segmenter = typeof Intl.Segmenter === 'function'
4
+ ? new Intl.Segmenter(undefined, { granularity: 'grapheme' })
5
+ : undefined;
6
+ export function useMarkdownTyping(value, { typing = false, isStreaming = false, onTypingComplete, } = {}) {
7
+ const reducedMotion = useMarkdownReducedMotion();
8
+ // Engines without grapheme segmentation show the full text instead of splitting a composed character.
9
+ const enabled = !!typing && !reducedMotion && !!segmenter;
10
+ const config = typeof typing === 'object' ? typing : undefined;
11
+ const step = Math.max(1, Math.floor(Number.isFinite(config?.charsPerTick) ? config.charsPerTick : 3));
12
+ const interval = Math.max(1, Number.isFinite(config?.intervalMs) ? config.intervalMs : 16);
13
+ const [frame, setFrame] = useState(() => ({
14
+ value,
15
+ length: enabled ? 0 : value.length,
16
+ }));
17
+ const previous = useRef(value);
18
+ const completed = useRef(null);
19
+ const callback = useRef(onTypingComplete);
20
+ callback.current = onTypingComplete;
21
+ const ends = useMemo(() => [
22
+ 0,
23
+ ...Array.from(segmenter?.segment(value) ?? [], (part) => part.index + part.segment.length),
24
+ ], [value]);
25
+ // The final streamed grapheme may still receive a combining mark or another emoji joiner.
26
+ const targetIndex = Math.max(0, ends.length - (isStreaming ? 2 : 1));
27
+ const targetLength = ends[targetIndex];
28
+ const limit = value.startsWith(frame.value)
29
+ ? Math.min(frame.length, targetLength)
30
+ : 0;
31
+ let index = 0;
32
+ while (index + 1 < ends.length && ends[index + 1] <= limit)
33
+ index++;
34
+ const length = enabled ? ends[index] : value.length;
35
+ const displayedText = value.slice(0, length);
36
+ const latest = useRef({ value, ends, index, targetIndex });
37
+ latest.current = { value, ends, index, targetIndex };
38
+ const advancing = enabled && length < targetLength;
39
+ useEffect(() => {
40
+ if (!value.startsWith(previous.current))
41
+ completed.current = null;
42
+ previous.current = value;
43
+ }, [value]);
44
+ useEffect(() => {
45
+ if (isStreaming)
46
+ completed.current = null;
47
+ }, [isStreaming]);
48
+ useEffect(() => {
49
+ if (!enabled)
50
+ setFrame((current) => current.value === value && current.length === value.length
51
+ ? current
52
+ : { value, length: value.length });
53
+ }, [enabled, value]);
54
+ useEffect(() => {
55
+ if (!advancing)
56
+ return;
57
+ const timer = setInterval(() => {
58
+ const current = latest.current;
59
+ setFrame({
60
+ value: current.value,
61
+ length: current.ends[Math.min(current.index + step, current.targetIndex)],
62
+ });
63
+ }, interval);
64
+ return () => clearInterval(timer);
65
+ }, [advancing, step, interval]);
66
+ useEffect(() => {
67
+ if (typing &&
68
+ value &&
69
+ !isStreaming &&
70
+ length === value.length &&
71
+ completed.current !== value) {
72
+ completed.current = value;
73
+ callback.current?.();
74
+ }
75
+ }, [value, typing, isStreaming, length]);
76
+ return {
77
+ displayedText,
78
+ isTyping: enabled && (length < value.length || isStreaming),
79
+ };
80
+ }
81
+ //# sourceMappingURL=useMarkdownTyping.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useMarkdownTyping.js","sourceRoot":"","sources":["../../../../../src/components/Markdown/Markdown/useMarkdownTyping.ts"],"names":[],"mappings":"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"}
@@ -1,3 +1,3 @@
1
- import React from '../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { MarkdownProps } from './Markdown/Markdown.props';
3
3
  export declare const Markdown: React.FC<MarkdownProps>;
@@ -1,4 +1,4 @@
1
- import React from '../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { MarkdownView } from './Markdown/Markdown.view';
3
3
  export const Markdown = (props) => (<MarkdownView {...props}/>);
4
4
  //# sourceMappingURL=Markdown.js.map
@@ -1,4 +1,4 @@
1
- import React from '../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  export interface MediaPreviewProps {
3
3
  url: string;
4
4
  type: string;
@@ -1,4 +1,4 @@
1
- import React from '../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { View, Image } from 'app-studio';
3
3
  import { FileIcon } from './Icon/Icon';
4
4
  /**
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { MenubarItem, MenubarStyles, Orientation, Size, Variant } from './Menubar.type';
4
4
  export interface MenubarProps {
@@ -1,8 +1,8 @@
1
1
  export declare const useMenubarState: (defaultActiveMenuId?: string | null, defaultOpenMenuId?: string | null) => {
2
2
  activeMenuId: string | null;
3
- setActiveMenuId: import("../../../../../node_modules/@types/react").Dispatch<import("../../../../../node_modules/@types/react").SetStateAction<string | null>>;
3
+ setActiveMenuId: import("react").Dispatch<import("react").SetStateAction<string | null>>;
4
4
  openMenuId: string | null;
5
- setOpenMenuId: import("../../../../../node_modules/@types/react").Dispatch<import("../../../../../node_modules/@types/react").SetStateAction<string | null>>;
5
+ setOpenMenuId: import("react").Dispatch<import("react").SetStateAction<string | null>>;
6
6
  isMenuOpen: (menuId: string) => boolean;
7
7
  toggleMenu: (menuId: string) => void;
8
8
  };
@@ -1,4 +1,4 @@
1
- import { useState, useEffect } from '../../../../../node_modules/@types/react';
1
+ import { useState, useEffect } from 'react';
2
2
  // This file defines the `useMenubarState` custom hook, which encapsulates the entire state management and interaction logic for the Menubar component. It manages the active menu item and the currently open sub-menu, while also handling global events like outside clicks and escape key presses to close menus, providing a centralized and reusable state solution.
3
3
  export const useMenubarState = (defaultActiveMenuId = null, defaultOpenMenuId = null) => {
4
4
  const [activeMenuId, setActiveMenuId] = useState(defaultActiveMenuId);
@@ -1,5 +1,5 @@
1
1
  import { ViewProps } from 'app-studio';
2
- import React from '../../../../../node_modules/@types/react';
2
+ import React from 'react';
3
3
  export type Size = 'sm' | 'md' | 'lg';
4
4
  export type Variant = 'default' | 'filled' | 'outline';
5
5
  export type Orientation = 'horizontal' | 'vertical';
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { MenubarContextType, MenubarItem as MenubarItemType, Orientation, Size, Variant } from './Menubar.type';
4
4
  import { MenubarRootProps, MenubarMenuProps, MenubarTriggerProps, MenubarContentProps, MenubarItemProps, MenubarSeparatorProps } from './Menubar.props';
@@ -1,4 +1,4 @@
1
- import React, { createContext, useContext, useRef, useState, useEffect, } from '../../../../../node_modules/@types/react';
1
+ import React, { createContext, useContext, useRef, useState, useEffect, } from 'react';
2
2
  import { View } from 'app-studio';
3
3
  import { Horizontal } from 'app-studio';
4
4
  import { Vertical } from 'app-studio';
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { MenubarContextType, MenubarItem as MenubarItemType, Orientation, Size, Variant } from './Menubar.type';
4
4
  import { MenubarRootProps, MenubarMenuProps, MenubarTriggerProps, MenubarContentProps, MenubarItemProps, MenubarSeparatorProps } from './Menubar.props';
@@ -1,4 +1,4 @@
1
- import React, { createContext, useContext } from '../../../../../node_modules/@types/react';
1
+ import React, { createContext, useContext } from 'react';
2
2
  import { View, Horizontal, Vertical, Text } from 'app-studio';
3
3
  import { ActionSheet } from '../../ActionSheet/ActionSheet';
4
4
  import { MenubarSizes, MenubarVariants, MenubarOrientations, MenubarItemStates, } from './Menubar.style';
@@ -1,4 +1,4 @@
1
- import React, { useRef } from '../../../../node_modules/@types/react';
1
+ import React, { useRef } from 'react';
2
2
  import { useMenubarState } from './Menubar/Menubar.state';
3
3
  import { MenubarProvider, MenubarRoot, MenubarMenu, MenubarTrigger, MenubarContent, MenubarItem, MenubarSeparator, MenubarView, } from './Menubar/Menubar.view';
4
4
  // This file defines the main Menubar component, which orchestrates the menubar's state management (active/open menus) using `useMenubarState`, provides this state and essential props via `MenubarProvider`, and renders the actual UI structure through `MenubarView`. It also attaches various sub-components (Root, Menu, Trigger, etc.) to the main Menubar object for easy composition and usage, facilitating a compound component pattern.
@@ -1,3 +1,3 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { MessageLayoutProps } from './Message.props';
3
3
  export declare const MessageLayout: ({ container, theme, position, }: MessageLayoutProps) => React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { hideMessage, useMessageStore } from './Message.store';
3
3
  import { View } from 'app-studio';
4
4
  import { MessageView } from './Message.view';
@@ -1,3 +1,3 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { MessageLayoutProps } from './Message.props';
3
3
  export declare const MessageLayout: ({ container, theme, position, }: MessageLayoutProps) => React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { Dimensions } from 'react-native';
3
3
  import { hideMessage, useMessageStore } from './Message.store';
4
4
  import { View } from 'app-studio';
@@ -1,3 +1,3 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { MessageProps } from './Message.props';
3
3
  export declare const MessageView: ({ variant, hide, title, subtitle, theme, action, actionText, showIcon, isClosable, timeout, views, }: MessageProps) => React.JSX.Element;
@@ -1,4 +1,4 @@
1
- import React, { useEffect } from '../../../../../node_modules/@types/react';
1
+ import React, { useEffect } from 'react';
2
2
  import { Vertical } from 'app-studio';
3
3
  import { Horizontal } from 'app-studio';
4
4
  import { View } from 'app-studio';
@@ -1,3 +1,3 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ModalLayoutProps } from './Modal.props';
3
3
  export declare const ModalLayout: ({ modals: availableModals, onShow, onHide, }: ModalLayoutProps) => React.JSX.Element | null;
@@ -1,4 +1,4 @@
1
- import React, { Fragment, useEffect } from '../../../../../node_modules/@types/react';
1
+ import React, { Fragment, useEffect } from 'react';
2
2
  import { hideModal, useModalStore } from './Modal.store';
3
3
  import { ModalOverlay } from './Modal.view';
4
4
  // Defines the `ModalLayout` functional component, which is responsible for orchestrating and rendering multiple active modals based on their state.
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { Elevation } from '../../../utils/elevation';
3
3
  import { Shadow, ViewProps } from 'app-studio';
4
4
  import { CloseButtonPosition, Position, Shape, Size } from './Modal.type';
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { BodyProps, ContainerProps, FooterProps, HeaderProps } from '../Modal/Modal.props';
4
4
  import { Position } from './Modal.type';
@@ -1,4 +1,4 @@
1
- import React, { useCallback } from '../../../../../node_modules/@types/react';
1
+ import React, { useCallback } from 'react';
2
2
  import { View, Horizontal, Vertical, Center } from 'app-studio';
3
3
  import { CloseIcon } from '../../Icon/Icon';
4
4
  import { hideModal } from './Modal.store';
@@ -6,7 +6,7 @@
6
6
  * Same public API as the web variant: ModalOverlay / ModalContainer /
7
7
  * ModalHeader / ModalBody / ModalFooter.
8
8
  */
9
- import React from '../../../../../node_modules/@types/react';
9
+ import React from 'react';
10
10
  import { ViewProps } from 'app-studio';
11
11
  import { BodyProps, ContainerProps, FooterProps, HeaderProps } from '../Modal/Modal.props';
12
12
  import { Position } from './Modal.type';
@@ -6,7 +6,7 @@
6
6
  * Same public API as the web variant: ModalOverlay / ModalContainer /
7
7
  * ModalHeader / ModalBody / ModalFooter.
8
8
  */
9
- import React, { useCallback } from '../../../../../node_modules/@types/react';
9
+ import React, { useCallback } from 'react';
10
10
  import { Modal as RNModal } from 'react-native';
11
11
  import { View, Horizontal, Vertical, Center } from 'app-studio';
12
12
  import { CloseIcon } from '../../Icon/Icon';
@@ -1,4 +1,4 @@
1
- import React from '../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ModalBody, ModalContainer, ModalFooter, ModalHeader, ModalOverlay, } from './Modal/Modal.view';
3
3
  import { ModalLayout } from './Modal/Modal.layout';
4
4
  // This file defines the main Modal component, which acts as a compound component. It groups and exports various sub-components (Overlay, Container, Header, Body, Footer, and Layout) as static properties, providing a flexible and structured way to compose modal dialogs.
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { LinkProps } from '../../Link/Link/Link.props';
4
4
  import { NavigationItem, NavigationMenuStyles, Orientation, Size, Variant } from './NavigationMenu.type';
@@ -1,8 +1,8 @@
1
1
  export declare const useNavigationMenuState: (defaultActiveItemId?: string | null, defaultExpandedItemIds?: string[]) => {
2
2
  activeItemId: string | null;
3
- setActiveItemId: import("../../../../../node_modules/@types/react").Dispatch<import("../../../../../node_modules/@types/react").SetStateAction<string | null>>;
3
+ setActiveItemId: import("react").Dispatch<import("react").SetStateAction<string | null>>;
4
4
  expandedItemIds: string[];
5
5
  toggleExpandedItem: (itemId: string) => void;
6
6
  isItemExpanded: (itemId: string) => boolean;
7
- triggerRefs: import("../../../../../node_modules/@types/react").RefObject<Record<string, HTMLDivElement>>;
7
+ triggerRefs: import("react").RefObject<Record<string, HTMLDivElement>>;
8
8
  };
@@ -1,4 +1,4 @@
1
- import { useState, useRef } from '../../../../../node_modules/@types/react';
1
+ import { useState, useRef } from 'react';
2
2
  // This file defines a custom React hook, `useNavigationMenuState`, which encapsulates and manages the entire local state and logic for the Navigation Menu component, including active item tracking, expanded sub-menus, and element references.
3
3
  export const useNavigationMenuState = (defaultActiveItemId = null, defaultExpandedItemIds = []) => {
4
4
  const [activeItemId, setActiveItemId] = useState(defaultActiveItemId);
@@ -1,5 +1,5 @@
1
1
  import { ViewProps } from 'app-studio';
2
- import React from '../../../../../node_modules/@types/react';
2
+ import React from 'react';
3
3
  export type Orientation = 'horizontal' | 'vertical';
4
4
  export type Size = 'sm' | 'md' | 'lg';
5
5
  export type Variant = 'default' | 'filled' | 'outline';
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { NavigationMenuContextType, NavigationItem, Orientation, Size, Variant } from './NavigationMenu.type';
4
4
  import { NavigationMenuItemProps, NavigationMenuListProps, NavigationMenuTriggerProps, NavigationMenuContentProps } from './NavigationMenu.props';
@@ -1,4 +1,4 @@
1
- import React, { createContext, useContext, useRef, useState, useEffect, } from '../../../../../node_modules/@types/react';
1
+ import React, { createContext, useContext, useRef, useState, useEffect, } from 'react';
2
2
  import { View, Horizontal, Vertical } from 'app-studio';
3
3
  import { NavigationMenuSizes, NavigationMenuVariants, NavigationMenuOrientations, NavigationMenuItemStates, } from './NavigationMenu.style';
4
4
  import { ChevronIcon } from '../../Icon/Icon';
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  import { NavigationMenuContextType, NavigationItem, Orientation, Size, Variant } from './NavigationMenu.type';
4
4
  import { NavigationMenuItemProps, NavigationMenuListProps, NavigationMenuTriggerProps, NavigationMenuContentProps } from './NavigationMenu.props';
@@ -1,4 +1,4 @@
1
- import React, { createContext, useContext } from '../../../../../node_modules/@types/react';
1
+ import React, { createContext, useContext } from 'react';
2
2
  import { View, Horizontal, Vertical, Text } from 'app-studio';
3
3
  import { NavigationMenuSizes, NavigationMenuVariants, NavigationMenuOrientations, NavigationMenuItemStates, } from './NavigationMenu.style';
4
4
  const NavigationMenuContext = createContext({
@@ -1,4 +1,4 @@
1
- import React from '../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { useNavigationMenuState } from './NavigationMenu/NavigationMenu.state';
3
3
  import { NavigationMenuProvider, NavigationMenuList, NavigationMenuItem, NavigationMenuTrigger, NavigationMenuContent, NavigationMenuView, NavigationMenuLink, } from './NavigationMenu/NavigationMenu.view';
4
4
  import { useMergedDesignSystemComponentProps } from '../../design-system';
@@ -1,18 +1,18 @@
1
- import { ClipboardEvent, KeyboardEvent } from '../../../../../node_modules/@types/react';
1
+ import { ClipboardEvent, KeyboardEvent } from 'react';
2
2
  import { OTPInputProps } from './OTPInput.props';
3
3
  export declare const useOTPInputState: ({ value: controlledValue, defaultValue, length, onChange, onChangeText, onComplete, onKeyDown, onKeyPress, onBlur, onFocus, isReadOnly, isDisabled, pattern, stepValues, pasteTransformer, }: OTPInputProps) => {
4
4
  value: string;
5
5
  setValue: (newValue: string) => void;
6
6
  isFocused: boolean;
7
- setIsFocused: import("../../../../../node_modules/@types/react").Dispatch<import("../../../../../node_modules/@types/react").SetStateAction<boolean>>;
7
+ setIsFocused: import("react").Dispatch<import("react").SetStateAction<boolean>>;
8
8
  isHovered: boolean;
9
- setIsHovered: import("../../../../../node_modules/@types/react").Dispatch<import("../../../../../node_modules/@types/react").SetStateAction<boolean>>;
10
- inputRef: import("../../../../../node_modules/@types/react").RefObject<HTMLInputElement | null>;
11
- containerRef: import("../../../../../node_modules/@types/react").RefObject<HTMLDivElement | null>;
9
+ setIsHovered: import("react").Dispatch<import("react").SetStateAction<boolean>>;
10
+ inputRef: import("react").RefObject<HTMLInputElement | null>;
11
+ containerRef: import("react").RefObject<HTMLDivElement | null>;
12
12
  mirrorSelectionStart: number | null;
13
13
  mirrorSelectionEnd: number | null;
14
- setMirrorSelectionStart: import("../../../../../node_modules/@types/react").Dispatch<import("../../../../../node_modules/@types/react").SetStateAction<number | null>>;
15
- setMirrorSelectionEnd: import("../../../../../node_modules/@types/react").Dispatch<import("../../../../../node_modules/@types/react").SetStateAction<number | null>>;
14
+ setMirrorSelectionStart: import("react").Dispatch<import("react").SetStateAction<number | null>>;
15
+ setMirrorSelectionEnd: import("react").Dispatch<import("react").SetStateAction<number | null>>;
16
16
  setInputRef: (ref: HTMLInputElement | null) => void;
17
17
  handleChange: (e: any) => void;
18
18
  handleFocus: () => void;
@@ -1,4 +1,4 @@
1
- import { useState, useRef, useEffect, useCallback, } from '../../../../../node_modules/@types/react';
1
+ import { useState, useRef, useEffect, useCallback, } from 'react';
2
2
  import { syncTimeouts } from './sync-timeouts';
3
3
  // This file defines the `useOTPInputState` custom React hook, which centralizes all state management, refs, and event handlers for the OTPInput component. It encompasses logic for controlled/uncontrolled value handling, input focus and blur, selection management, paste operations, and validation.
4
4
  export const useOTPInputState = ({ value: controlledValue, defaultValue = '', length = 6, onChange, onChangeText, onComplete, onKeyDown, onKeyPress, onBlur, onFocus, isReadOnly, isDisabled, pattern, stepValues, pasteTransformer, }) => {
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { OTPInputViewProps } from './OTPInput.props';
3
3
  export declare const OTPInputContext: React.Context<{
4
4
  slots: Array<{
@@ -1,4 +1,4 @@
1
- import React, { useEffect, createContext } from '../../../../../node_modules/@types/react';
1
+ import React, { useEffect, createContext } from 'react';
2
2
  import { Input, useTheme } from 'app-studio';
3
3
  import { FieldContainer } from '../../Input/FieldContainer/FieldContainer';
4
4
  import { FieldContent } from '../../Input/FieldContent/FieldContent';
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { OTPInputViewProps } from './OTPInput.props';
3
3
  export declare const OTPInputContext: React.Context<{
4
4
  slots: Array<{
@@ -1,4 +1,4 @@
1
- import React, { createContext, useEffect } from '../../../../../node_modules/@types/react';
1
+ import React, { createContext, useEffect } from 'react';
2
2
  import { Input, Horizontal, View, Text } from 'app-studio';
3
3
  import { FieldContainer } from '../../Input/FieldContainer/FieldContainer';
4
4
  import { FieldLabel } from '../../Input/FieldLabel/FieldLabel';
@@ -1,3 +1,3 @@
1
- import React from '../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { OTPInputProps } from './OTPInput/OTPInput.props';
3
3
  export declare const OTPInput: React.FC<OTPInputProps>;
@@ -1,4 +1,4 @@
1
- import React from '../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { useOTPInputState } from './OTPInput/OTPInput.state';
3
3
  import OTPInputView from './OTPInput/OTPInput.view';
4
4
  const normalizeDisplayValue = (value) => {
@@ -11,6 +11,6 @@
11
11
  * above the keyboard. Safe-area insets come from app-studio's `SafeArea`
12
12
  * instead of `react-native-static-safe-area-insets`.
13
13
  */
14
- import React from '../../../../node_modules/@types/react';
14
+ import React from 'react';
15
15
  import { PageLayoutProps } from './PageLayout.types';
16
16
  export declare const PageLayout: React.FC<PageLayoutProps>;
@@ -11,7 +11,7 @@
11
11
  * above the keyboard. Safe-area insets come from app-studio's `SafeArea`
12
12
  * instead of `react-native-static-safe-area-insets`.
13
13
  */
14
- import React from '../../../../node_modules/@types/react';
14
+ import React from 'react';
15
15
  import { View, SafeArea, Scroll, Center, isBrowser } from 'app-studio';
16
16
  import { Loader } from '../Loader/Loader';
17
17
  import { KeyboardAvoidingView } from '../KeyboardAvoidingView/KeyboardAvoidingView';
@@ -1,4 +1,4 @@
1
- import React from '../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { ViewProps } from 'app-studio';
3
3
  export interface PageLayoutViews {
4
4
  container?: ViewProps;
@@ -1,4 +1,4 @@
1
- import { useState, useEffect } from '../../../../../node_modules/@types/react';
1
+ import { useState, useEffect } from 'react';
2
2
  // This custom React hook, `usePaginationState`, manages and calculates the array of visible page numbers for a pagination component, dynamically handling ellipses based on the current page, total pages, and the maximum number of buttons to display.
3
3
  export const usePaginationState = (currentPage, totalPages, maxPageButtons) => {
4
4
  const [visiblePageNumbers, setVisiblePageNumbers] = useState([]);
@@ -1,3 +1,3 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { PaginationProps } from './Pagination.props';
3
3
  export declare const PaginationView: React.FC<PaginationProps>;
@@ -1,4 +1,4 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { View } from 'app-studio';
3
3
  import { Horizontal } from 'app-studio';
4
4
  import { Text } from 'app-studio';
@@ -1,3 +1,3 @@
1
- import React from '../../../../../node_modules/@types/react';
1
+ import React from 'react';
2
2
  import { PaginationProps } from './Pagination.props';
3
3
  export declare const PaginationView: React.FC<PaginationProps>;