@terreno/ui 57.2.0 → 57.4.0

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 (383) hide show
  1. package/.ai/guidelines/core.md +1 -1
  2. package/README.md +17 -8
  3. package/dist/ActionSheet.d.ts +3 -3
  4. package/dist/ActionSheet.js +2 -2
  5. package/dist/ActionSheet.js.map +1 -1
  6. package/dist/AnnouncementBanner.d.ts +12 -0
  7. package/dist/AnnouncementBanner.js +61 -0
  8. package/dist/AnnouncementBanner.js.map +1 -0
  9. package/dist/AnnouncementNavigator.d.ts +11 -0
  10. package/dist/AnnouncementNavigator.js +189 -0
  11. package/dist/AnnouncementNavigator.js.map +1 -0
  12. package/dist/AnnouncementScreen.d.ts +12 -0
  13. package/dist/AnnouncementScreen.js +28 -0
  14. package/dist/AnnouncementScreen.js.map +1 -0
  15. package/dist/AreaChart.d.ts +5 -0
  16. package/dist/AreaChart.js +69 -0
  17. package/dist/AreaChart.js.map +1 -0
  18. package/dist/BarChart.d.ts +5 -0
  19. package/dist/BarChart.js +89 -0
  20. package/dist/BarChart.js.map +1 -0
  21. package/dist/Box.d.ts +1 -1
  22. package/dist/Box.js +219 -177
  23. package/dist/Box.js.map +1 -1
  24. package/dist/Button.js +116 -35
  25. package/dist/Button.js.map +1 -1
  26. package/dist/Common.d.ts +215 -9
  27. package/dist/Common.js.map +1 -1
  28. package/dist/ConsentFormScreen.js +46 -12
  29. package/dist/ConsentFormScreen.js.map +1 -1
  30. package/dist/ConsentNavigator.d.ts +5 -1
  31. package/dist/ConsentNavigator.js.map +1 -1
  32. package/dist/DashboardGrid.d.ts +4 -0
  33. package/dist/DashboardGrid.js +38 -0
  34. package/dist/DashboardGrid.js.map +1 -0
  35. package/dist/DataTable.d.ts +2 -2
  36. package/dist/DataTable.js +278 -47
  37. package/dist/DataTable.js.map +1 -1
  38. package/dist/DataTableHeaderInfoMarkdown.d.ts +6 -0
  39. package/dist/DataTableHeaderInfoMarkdown.js +7 -0
  40. package/dist/DataTableHeaderInfoMarkdown.js.map +1 -0
  41. package/dist/DonutChart.d.ts +5 -0
  42. package/dist/DonutChart.js +84 -0
  43. package/dist/DonutChart.js.map +1 -0
  44. package/dist/EmojiSelector.d.ts +2 -46
  45. package/dist/EmojiSelector.js +46 -56
  46. package/dist/EmojiSelector.js.map +1 -1
  47. package/dist/Filter.js +12 -2
  48. package/dist/Filter.js.map +1 -1
  49. package/dist/GPTChat.d.ts +7 -1
  50. package/dist/GPTChat.js +28 -15
  51. package/dist/GPTChat.js.map +1 -1
  52. package/dist/Heading.d.ts +5 -2
  53. package/dist/Heading.js +6 -8
  54. package/dist/Heading.js.map +1 -1
  55. package/dist/Hyperlink.js.map +1 -1
  56. package/dist/Icon.d.ts +1 -2
  57. package/dist/Icon.js +4 -1
  58. package/dist/Icon.js.map +1 -1
  59. package/dist/LineChart.d.ts +5 -0
  60. package/dist/LineChart.js +68 -0
  61. package/dist/LineChart.js.map +1 -0
  62. package/dist/MarkdownEmbed.d.ts +6 -0
  63. package/dist/MarkdownEmbed.js +17 -0
  64. package/dist/MarkdownEmbed.js.map +1 -0
  65. package/dist/MarkdownView.d.ts +6 -3
  66. package/dist/MarkdownView.js +81 -44
  67. package/dist/MarkdownView.js.map +1 -1
  68. package/dist/MediaQuery.d.ts +5 -3
  69. package/dist/MediaQuery.js +9 -40
  70. package/dist/MediaQuery.js.map +1 -1
  71. package/dist/Modal.js +12 -10
  72. package/dist/Modal.js.map +1 -1
  73. package/dist/ModalSheet.d.ts +5 -1
  74. package/dist/ModalSheet.js +31 -13
  75. package/dist/ModalSheet.js.map +1 -1
  76. package/dist/MultiselectField.js +4 -9
  77. package/dist/MultiselectField.js.map +1 -1
  78. package/dist/NotificationBell.d.ts +16 -0
  79. package/dist/NotificationBell.js +15 -0
  80. package/dist/NotificationBell.js.map +1 -0
  81. package/dist/NotificationInbox.d.ts +21 -0
  82. package/dist/NotificationInbox.js +41 -0
  83. package/dist/NotificationInbox.js.map +1 -0
  84. package/dist/NotificationPreferences.d.ts +14 -0
  85. package/dist/NotificationPreferences.js +32 -0
  86. package/dist/NotificationPreferences.js.map +1 -0
  87. package/dist/OpenAPIContext.js +7 -6
  88. package/dist/OpenAPIContext.js.map +1 -1
  89. package/dist/Page.js +7 -1
  90. package/dist/Page.js.map +1 -1
  91. package/dist/PickerSelect.js +8 -1
  92. package/dist/PickerSelect.js.map +1 -1
  93. package/dist/Popover.d.ts +12 -0
  94. package/dist/Popover.js +37 -0
  95. package/dist/Popover.js.map +1 -0
  96. package/dist/PortalHost.js +10 -1
  97. package/dist/PortalHost.js.map +1 -1
  98. package/dist/ResponsiveBreakpoint.d.ts +65 -0
  99. package/dist/ResponsiveBreakpoint.js +111 -0
  100. package/dist/ResponsiveBreakpoint.js.map +1 -0
  101. package/dist/SplitPage.d.ts +2 -2
  102. package/dist/SplitPage.js +7 -12
  103. package/dist/SplitPage.js.map +1 -1
  104. package/dist/SplitPage.native.d.ts +2 -2
  105. package/dist/SplitPage.native.js +1 -6
  106. package/dist/SplitPage.native.js.map +1 -1
  107. package/dist/TapToEdit.js +12 -10
  108. package/dist/TapToEdit.js.map +1 -1
  109. package/dist/TerrenoFontProvider.d.ts +7 -0
  110. package/dist/TerrenoFontProvider.js +27 -0
  111. package/dist/TerrenoFontProvider.js.map +1 -0
  112. package/dist/TerrenoProvider.js +4 -2
  113. package/dist/TerrenoProvider.js.map +1 -1
  114. package/dist/Text.d.ts +5 -2
  115. package/dist/Text.js +6 -11
  116. package/dist/Text.js.map +1 -1
  117. package/dist/TextField.js +83 -6
  118. package/dist/TextField.js.map +1 -1
  119. package/dist/TextFieldNumberActionSheet.js +9 -2
  120. package/dist/TextFieldNumberActionSheet.js.map +1 -1
  121. package/dist/Theme.js +10 -8
  122. package/dist/Theme.js.map +1 -1
  123. package/dist/ToastNotifications.d.ts +4 -2
  124. package/dist/ToastNotifications.js.map +1 -1
  125. package/dist/Tooltip.d.ts +4 -3
  126. package/dist/Tooltip.js +14 -3
  127. package/dist/Tooltip.js.map +1 -1
  128. package/dist/Unifier.d.ts +26 -1
  129. package/dist/Unifier.js.map +1 -1
  130. package/dist/WebAddressAutocomplete.js +6 -1
  131. package/dist/WebAddressAutocomplete.js.map +1 -1
  132. package/dist/announcementBuildVersion.d.ts +6 -0
  133. package/dist/announcementBuildVersion.js +21 -0
  134. package/dist/announcementBuildVersion.js.map +1 -0
  135. package/dist/announcementFrequency.d.ts +42 -0
  136. package/dist/announcementFrequency.js +163 -0
  137. package/dist/announcementFrequency.js.map +1 -0
  138. package/dist/announcementPlatform.d.ts +2 -0
  139. package/dist/announcementPlatform.js +11 -0
  140. package/dist/announcementPlatform.js.map +1 -0
  141. package/dist/charts/ChartFrame.d.ts +12 -0
  142. package/dist/charts/ChartFrame.js +13 -0
  143. package/dist/charts/ChartFrame.js.map +1 -0
  144. package/dist/charts/bars.d.ts +18 -0
  145. package/dist/charts/bars.js +29 -0
  146. package/dist/charts/bars.js.map +1 -0
  147. package/dist/charts/layout.d.ts +47 -0
  148. package/dist/charts/layout.js +56 -0
  149. package/dist/charts/layout.js.map +1 -0
  150. package/dist/charts/paths.d.ts +31 -0
  151. package/dist/charts/paths.js +52 -0
  152. package/dist/charts/paths.js.map +1 -0
  153. package/dist/charts/scales.d.ts +6 -0
  154. package/dist/charts/scales.js +43 -0
  155. package/dist/charts/scales.js.map +1 -0
  156. package/dist/charts/theme.d.ts +9 -0
  157. package/dist/charts/theme.js +15 -0
  158. package/dist/charts/theme.js.map +1 -0
  159. package/dist/charts/types/chartTypes.d.ts +17 -0
  160. package/dist/charts/types/chartTypes.js +2 -0
  161. package/dist/charts/types/chartTypes.js.map +1 -0
  162. package/dist/dashboardGridLayout.d.ts +22 -0
  163. package/dist/dashboardGridLayout.js +33 -0
  164. package/dist/dashboardGridLayout.js.map +1 -0
  165. package/dist/dataTableFilters.d.ts +33 -0
  166. package/dist/dataTableFilters.js +221 -0
  167. package/dist/dataTableFilters.js.map +1 -0
  168. package/dist/dataTableListQuery.d.ts +42 -0
  169. package/dist/dataTableListQuery.js +161 -0
  170. package/dist/dataTableListQuery.js.map +1 -0
  171. package/dist/emojiCategories.d.ts +46 -0
  172. package/dist/emojiCategories.js +47 -0
  173. package/dist/emojiCategories.js.map +1 -0
  174. package/dist/index.d.ts +30 -13
  175. package/dist/index.js +12 -13
  176. package/dist/index.js.map +1 -1
  177. package/dist/lazyBoundaries/createLazyComponentExport.d.ts +6 -0
  178. package/dist/lazyBoundaries/createLazyComponentExport.js +35 -0
  179. package/dist/lazyBoundaries/createLazyComponentExport.js.map +1 -0
  180. package/dist/lazyBoundaries/heavyOptionalExports.d.ts +53 -0
  181. package/dist/lazyBoundaries/heavyOptionalExports.js +51 -0
  182. package/dist/lazyBoundaries/heavyOptionalExports.js.map +1 -0
  183. package/dist/login/LoginScreen.d.ts +1 -0
  184. package/dist/login/LoginScreen.js +4 -2
  185. package/dist/login/LoginScreen.js.map +1 -1
  186. package/dist/login/loginTypes.d.ts +2 -0
  187. package/dist/markdownEmbeds.d.ts +6 -0
  188. package/dist/markdownEmbeds.js +59 -0
  189. package/dist/markdownEmbeds.js.map +1 -0
  190. package/dist/testing/resolveTestId.js +2 -1
  191. package/dist/testing/resolveTestId.js.map +1 -1
  192. package/dist/testing/types.d.ts +3 -0
  193. package/dist/textFieldOscillationGuard.d.ts +25 -0
  194. package/dist/textFieldOscillationGuard.js +41 -0
  195. package/dist/textFieldOscillationGuard.js.map +1 -0
  196. package/dist/useAcknowledgeAnnouncement.d.ts +71 -0
  197. package/dist/useAcknowledgeAnnouncement.js +94 -0
  198. package/dist/useAcknowledgeAnnouncement.js.map +1 -0
  199. package/dist/useAnnouncements.d.ts +73 -0
  200. package/dist/useAnnouncements.js +66 -0
  201. package/dist/useAnnouncements.js.map +1 -0
  202. package/package.json +46 -18
  203. package/src/AIRequestExplorer.test.tsx +141 -0
  204. package/src/ActionSheet.tsx +9 -7
  205. package/src/AnnouncementBanner.test.tsx +267 -0
  206. package/src/AnnouncementBanner.tsx +128 -0
  207. package/src/AnnouncementNavigator.test.tsx +759 -0
  208. package/src/AnnouncementNavigator.tsx +287 -0
  209. package/src/AnnouncementScreen.test.tsx +97 -0
  210. package/src/AnnouncementScreen.tsx +70 -0
  211. package/src/AreaChart.test.tsx +68 -0
  212. package/src/AreaChart.tsx +194 -0
  213. package/src/AttachmentPreview.test.tsx +80 -0
  214. package/src/BarChart.test.tsx +96 -0
  215. package/src/BarChart.tsx +208 -0
  216. package/src/Box.test.tsx +97 -10
  217. package/src/Box.tsx +263 -200
  218. package/src/Button.test.tsx +273 -0
  219. package/src/Button.tsx +163 -50
  220. package/src/Common.ts +219 -25
  221. package/src/ConsentFormScreen.markdownGate.test.tsx +129 -0
  222. package/src/ConsentFormScreen.test.tsx +145 -8
  223. package/src/ConsentFormScreen.tsx +74 -25
  224. package/src/ConsentNavigator.test.tsx +55 -0
  225. package/src/ConsentNavigator.tsx +13 -5
  226. package/src/DashboardGrid.test.tsx +75 -0
  227. package/src/DashboardGrid.tsx +69 -0
  228. package/src/DataTable.test.tsx +296 -1
  229. package/src/DataTable.tsx +623 -160
  230. package/src/DataTableHeaderInfoMarkdown.test.tsx +21 -0
  231. package/src/DataTableHeaderInfoMarkdown.tsx +17 -0
  232. package/src/DataTableVirtualizationRegression.test.tsx +266 -0
  233. package/src/DateTimeField.test.tsx +54 -0
  234. package/src/DonutChart.test.tsx +121 -0
  235. package/src/DonutChart.tsx +160 -0
  236. package/src/EmojiSelector.test.tsx +84 -42
  237. package/src/EmojiSelector.tsx +60 -57
  238. package/src/Field.test.tsx +18 -0
  239. package/src/FilePickerButton.test.tsx +167 -0
  240. package/src/Filter.test.tsx +25 -0
  241. package/src/Filter.tsx +38 -7
  242. package/src/FilterAccordion.test.tsx +37 -0
  243. package/src/FilterBoolean.test.tsx +96 -0
  244. package/src/FilterSelectMenu.test.tsx +23 -0
  245. package/src/GPTChat.test.tsx +803 -0
  246. package/src/GPTChat.tsx +177 -87
  247. package/src/GPTMemoryModal.test.tsx +67 -0
  248. package/src/Heading.tsx +8 -14
  249. package/src/HeightActionSheet.test.tsx +6 -9
  250. package/src/Hyperlink.tsx +5 -18
  251. package/src/Icon.tsx +6 -2
  252. package/src/LineChart.test.tsx +166 -0
  253. package/src/LineChart.tsx +190 -0
  254. package/src/MarkdownEditor.test.tsx +134 -0
  255. package/src/MarkdownEditorField.test.tsx +124 -0
  256. package/src/MarkdownEmbed.test.tsx +34 -0
  257. package/src/MarkdownEmbed.tsx +43 -0
  258. package/src/MarkdownView.test.tsx +112 -11
  259. package/src/MarkdownView.tsx +197 -150
  260. package/src/MediaQuery.ts +30 -34
  261. package/src/Modal.test.tsx +107 -14
  262. package/src/Modal.tsx +20 -8
  263. package/src/ModalSheet.test.tsx +121 -9
  264. package/src/ModalSheet.tsx +46 -11
  265. package/src/MultiselectField.test.tsx +21 -0
  266. package/src/MultiselectField.tsx +11 -13
  267. package/src/NotificationBell.test.tsx +91 -0
  268. package/src/NotificationBell.tsx +77 -0
  269. package/src/NotificationInbox.test.tsx +130 -0
  270. package/src/NotificationInbox.tsx +144 -0
  271. package/src/NotificationPreferences.test.tsx +25 -0
  272. package/src/NotificationPreferences.tsx +75 -0
  273. package/src/OpenAPIContext.tsx +36 -29
  274. package/src/OpenAPIRenderRegression.test.tsx +200 -0
  275. package/src/P0RenderRegression.test.tsx +214 -0
  276. package/src/P1RenderRegression.test.tsx +141 -0
  277. package/src/P2ButtonRenderRegression.test.tsx +158 -0
  278. package/src/Page.test.tsx +13 -0
  279. package/src/Page.tsx +25 -5
  280. package/src/PickerSelect.test.tsx +38 -0
  281. package/src/PickerSelect.tsx +7 -0
  282. package/src/Popover.test.tsx +151 -0
  283. package/src/Popover.tsx +211 -0
  284. package/src/PortalHost.tsx +12 -6
  285. package/src/ResponsiveBreakpoint.test.tsx +184 -0
  286. package/src/ResponsiveBreakpoint.tsx +195 -0
  287. package/src/RootImportRegression.test.tsx +82 -0
  288. package/src/SplitPage.native.tsx +5 -9
  289. package/src/SplitPage.tsx +16 -19
  290. package/src/TapToEdit.test.tsx +45 -0
  291. package/src/TapToEdit.tsx +23 -18
  292. package/src/TerrenoFontProvider.test.tsx +38 -0
  293. package/src/TerrenoFontProvider.tsx +50 -0
  294. package/src/TerrenoProvider.tsx +6 -1
  295. package/src/Text.tsx +8 -21
  296. package/src/TextField.test.tsx +421 -0
  297. package/src/TextField.tsx +121 -4
  298. package/src/TextFieldNumberActionSheet.test.tsx +100 -0
  299. package/src/TextFieldNumberActionSheet.tsx +11 -2
  300. package/src/Theme.test.tsx +27 -0
  301. package/src/Theme.tsx +15 -10
  302. package/src/Toast.tsx +1 -1
  303. package/src/ToastNotifications.tsx +4 -4
  304. package/src/Tooltip.test.tsx +64 -0
  305. package/src/Tooltip.tsx +18 -4
  306. package/src/Unifier.ts +26 -3
  307. package/src/WebAddressAutocomplete.tsx +6 -2
  308. package/src/__snapshots__/ActionSheet.test.tsx.snap +0 -36
  309. package/src/__snapshots__/AddressField.test.tsx.snap +1 -0
  310. package/src/__snapshots__/AttachmentPreview.test.tsx.snap +225 -0
  311. package/src/__snapshots__/CustomSelectField.test.tsx.snap +7 -0
  312. package/src/__snapshots__/DataTable.test.tsx.snap +793 -250
  313. package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +0 -8
  314. package/src/__snapshots__/EmojiSelector.test.tsx.snap +35555 -30
  315. package/src/__snapshots__/Field.test.tsx.snap +29 -0
  316. package/src/__snapshots__/FilterSelectMenu.test.tsx.snap +1 -0
  317. package/src/__snapshots__/HeightActionSheet.test.tsx.snap +0 -8
  318. package/src/__snapshots__/HeightField.test.tsx.snap +0 -20
  319. package/src/__snapshots__/ModalSheet.test.tsx.snap +4 -1
  320. package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +0 -8
  321. package/src/__snapshots__/Page.test.tsx.snap +13 -1
  322. package/src/__snapshots__/PickerSelect.test.tsx.snap +7 -0
  323. package/src/__snapshots__/SelectField.test.tsx.snap +6 -0
  324. package/src/__snapshots__/TextArea.test.tsx.snap +5 -5
  325. package/src/__snapshots__/TextField.test.tsx.snap +5 -5
  326. package/src/__snapshots__/TimezonePicker.test.tsx.snap +6 -0
  327. package/src/announcementBuildVersion.test.ts +43 -0
  328. package/src/announcementBuildVersion.ts +21 -0
  329. package/src/announcementFrequency.test.ts +245 -0
  330. package/src/announcementFrequency.ts +246 -0
  331. package/src/announcementPlatform.test.ts +27 -0
  332. package/src/announcementPlatform.ts +13 -0
  333. package/src/benchmarks/importGraph.test.ts +71 -0
  334. package/src/benchmarks/importGraph.ts +136 -0
  335. package/src/benchmarks/importTiming.test.ts +42 -0
  336. package/src/benchmarks/importTiming.ts +86 -0
  337. package/src/bunSetup.ts +174 -32
  338. package/src/charts/ChartFrame.tsx +67 -0
  339. package/src/charts/bars.test.ts +56 -0
  340. package/src/charts/bars.ts +53 -0
  341. package/src/charts/layout.test.ts +80 -0
  342. package/src/charts/layout.ts +99 -0
  343. package/src/charts/paths.test.ts +79 -0
  344. package/src/charts/paths.ts +100 -0
  345. package/src/charts/scales.test.ts +59 -0
  346. package/src/charts/scales.ts +60 -0
  347. package/src/charts/theme.test.ts +22 -0
  348. package/src/charts/theme.ts +24 -0
  349. package/src/charts/types/chartTypes.ts +19 -0
  350. package/src/dashboardGridLayout.test.ts +90 -0
  351. package/src/dashboardGridLayout.ts +60 -0
  352. package/src/dataTableFilters.test.tsx +552 -0
  353. package/src/dataTableFilters.tsx +441 -0
  354. package/src/dataTableListQuery.test.ts +220 -0
  355. package/src/dataTableListQuery.ts +201 -0
  356. package/src/emojiCategories.test.ts +23 -0
  357. package/src/emojiCategories.ts +46 -0
  358. package/src/index.tsx +48 -14
  359. package/src/lazyBoundaries/createLazyComponentExport.test.tsx +104 -0
  360. package/src/lazyBoundaries/createLazyComponentExport.tsx +63 -0
  361. package/src/lazyBoundaries/heavyOptionalExports.test.tsx +33 -0
  362. package/src/lazyBoundaries/heavyOptionalExports.tsx +134 -0
  363. package/src/login/LoginScreen.test.tsx +9 -2
  364. package/src/login/LoginScreen.tsx +6 -2
  365. package/src/login/__snapshots__/LoginScreen.test.tsx.snap +22 -0
  366. package/src/login/loginTypes.ts +2 -0
  367. package/src/markdownEmbeds.test.ts +53 -0
  368. package/src/markdownEmbeds.ts +62 -0
  369. package/src/pdfHtmlTemplate.test.ts +119 -0
  370. package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +22 -0
  371. package/src/table/TableDate.test.tsx +35 -1
  372. package/src/table/__snapshots__/TableBadge.test.tsx.snap +1 -0
  373. package/src/testing/resolveTestId.test.ts +3 -0
  374. package/src/testing/resolveTestId.ts +1 -0
  375. package/src/testing/types.ts +3 -0
  376. package/src/textFieldOscillationGuard.test.ts +63 -0
  377. package/src/textFieldOscillationGuard.ts +89 -0
  378. package/src/types/react-native-markdown-display.d.ts +6 -0
  379. package/src/types/react-native-swiper-flatlist.d.ts +5 -5
  380. package/src/useAcknowledgeAnnouncement.test.ts +223 -0
  381. package/src/useAcknowledgeAnnouncement.ts +166 -0
  382. package/src/useAnnouncements.test.ts +226 -0
  383. package/src/useAnnouncements.ts +150 -0
@@ -760,44 +760,81 @@ exports[`DataTable renders correctly with basic data 1`] = `
760
760
  },
761
761
  ],
762
762
  "props": {
763
- "style": undefined,
764
- "testID": undefined,
763
+ "extraData": {
764
+ "alternateRowBackground": true,
765
+ "columns": [
766
+ {
767
+ "columnType": "text",
768
+ "title": "Name",
769
+ "width": 150,
770
+ },
771
+ {
772
+ "columnType": "text",
773
+ "title": "Age",
774
+ "width": 100,
775
+ },
776
+ {
777
+ "columnType": "boolean",
778
+ "title": "Active",
779
+ "width": 100,
780
+ },
781
+ ],
782
+ "customColumnComponentMap": undefined,
783
+ "defaultTextSize": "md",
784
+ "pinnedColumns": 0,
785
+ "pinnedLeftOffsets": [
786
+ 0,
787
+ 150,
788
+ 250,
789
+ ],
790
+ "rowHeight": 54,
791
+ },
792
+ "getItemLayout": [Function],
793
+ "initialNumToRender": 15,
794
+ "maxToRenderPerBatch": 10,
795
+ "nestedScrollEnabled": true,
796
+ "scrollEventThrottle": 16,
797
+ "showsVerticalScrollIndicator": true,
798
+ "windowSize": 5,
765
799
  },
766
- "type": "View",
800
+ "type": "FlatList",
767
801
  },
768
802
  ],
769
803
  "props": {
770
- "horizontal": true,
771
- "onScroll": [Function],
772
- "ref": {
773
- "current": null,
774
- },
775
- "scrollEventThrottle": 16,
776
- "showsHorizontalScrollIndicator": true,
777
804
  "style": {
778
- "flex": 1,
779
- "marginLeft": 0,
805
+ "width": 350,
780
806
  },
807
+ "testID": undefined,
781
808
  },
782
- "type": "ScrollView",
809
+ "type": "View",
783
810
  },
784
811
  ],
785
812
  "props": {
813
+ "horizontal": true,
814
+ "nestedScrollEnabled": true,
815
+ "onScroll": [Function],
816
+ "ref": {
817
+ "current": null,
818
+ },
819
+ "scrollEventThrottle": 16,
820
+ "showsHorizontalScrollIndicator": true,
786
821
  "style": {
787
- "flexDirection": "row",
788
- "position": "relative",
822
+ "flex": 1,
823
+ "marginLeft": 0,
789
824
  },
790
- "testID": undefined,
791
825
  },
792
- "type": "View",
826
+ "type": "ScrollView",
793
827
  },
794
828
  ],
795
829
  "props": {
796
830
  "style": {
797
831
  "flex": 1,
832
+ "flexDirection": "row",
833
+ "position": "relative",
798
834
  },
835
+ "testID": undefined,
799
836
  },
800
- "type": "ScrollView",
837
+ "type": "View",
801
838
  },
802
839
  ],
803
840
  "props": {
@@ -1595,44 +1632,81 @@ exports[`DataTable renders with alternate row background (default) 1`] = `
1595
1632
  },
1596
1633
  ],
1597
1634
  "props": {
1598
- "style": undefined,
1599
- "testID": undefined,
1635
+ "extraData": {
1636
+ "alternateRowBackground": true,
1637
+ "columns": [
1638
+ {
1639
+ "columnType": "text",
1640
+ "title": "Name",
1641
+ "width": 150,
1642
+ },
1643
+ {
1644
+ "columnType": "text",
1645
+ "title": "Age",
1646
+ "width": 100,
1647
+ },
1648
+ {
1649
+ "columnType": "boolean",
1650
+ "title": "Active",
1651
+ "width": 100,
1652
+ },
1653
+ ],
1654
+ "customColumnComponentMap": undefined,
1655
+ "defaultTextSize": "md",
1656
+ "pinnedColumns": 0,
1657
+ "pinnedLeftOffsets": [
1658
+ 0,
1659
+ 150,
1660
+ 250,
1661
+ ],
1662
+ "rowHeight": 54,
1663
+ },
1664
+ "getItemLayout": [Function],
1665
+ "initialNumToRender": 15,
1666
+ "maxToRenderPerBatch": 10,
1667
+ "nestedScrollEnabled": true,
1668
+ "scrollEventThrottle": 16,
1669
+ "showsVerticalScrollIndicator": true,
1670
+ "windowSize": 5,
1600
1671
  },
1601
- "type": "View",
1672
+ "type": "FlatList",
1602
1673
  },
1603
1674
  ],
1604
1675
  "props": {
1605
- "horizontal": true,
1606
- "onScroll": [Function],
1607
- "ref": {
1608
- "current": null,
1609
- },
1610
- "scrollEventThrottle": 16,
1611
- "showsHorizontalScrollIndicator": true,
1612
1676
  "style": {
1613
- "flex": 1,
1614
- "marginLeft": 0,
1677
+ "width": 350,
1615
1678
  },
1679
+ "testID": undefined,
1616
1680
  },
1617
- "type": "ScrollView",
1681
+ "type": "View",
1618
1682
  },
1619
1683
  ],
1620
1684
  "props": {
1685
+ "horizontal": true,
1686
+ "nestedScrollEnabled": true,
1687
+ "onScroll": [Function],
1688
+ "ref": {
1689
+ "current": null,
1690
+ },
1691
+ "scrollEventThrottle": 16,
1692
+ "showsHorizontalScrollIndicator": true,
1621
1693
  "style": {
1622
- "flexDirection": "row",
1623
- "position": "relative",
1694
+ "flex": 1,
1695
+ "marginLeft": 0,
1624
1696
  },
1625
- "testID": undefined,
1626
1697
  },
1627
- "type": "View",
1698
+ "type": "ScrollView",
1628
1699
  },
1629
1700
  ],
1630
1701
  "props": {
1631
1702
  "style": {
1632
1703
  "flex": 1,
1704
+ "flexDirection": "row",
1705
+ "position": "relative",
1633
1706
  },
1707
+ "testID": undefined,
1634
1708
  },
1635
- "type": "ScrollView",
1709
+ "type": "View",
1636
1710
  },
1637
1711
  ],
1638
1712
  "props": {
@@ -2430,44 +2504,81 @@ exports[`DataTable renders without alternate row background 1`] = `
2430
2504
  },
2431
2505
  ],
2432
2506
  "props": {
2433
- "style": undefined,
2434
- "testID": undefined,
2507
+ "extraData": {
2508
+ "alternateRowBackground": false,
2509
+ "columns": [
2510
+ {
2511
+ "columnType": "text",
2512
+ "title": "Name",
2513
+ "width": 150,
2514
+ },
2515
+ {
2516
+ "columnType": "text",
2517
+ "title": "Age",
2518
+ "width": 100,
2519
+ },
2520
+ {
2521
+ "columnType": "boolean",
2522
+ "title": "Active",
2523
+ "width": 100,
2524
+ },
2525
+ ],
2526
+ "customColumnComponentMap": undefined,
2527
+ "defaultTextSize": "md",
2528
+ "pinnedColumns": 0,
2529
+ "pinnedLeftOffsets": [
2530
+ 0,
2531
+ 150,
2532
+ 250,
2533
+ ],
2534
+ "rowHeight": 54,
2535
+ },
2536
+ "getItemLayout": [Function],
2537
+ "initialNumToRender": 15,
2538
+ "maxToRenderPerBatch": 10,
2539
+ "nestedScrollEnabled": true,
2540
+ "scrollEventThrottle": 16,
2541
+ "showsVerticalScrollIndicator": true,
2542
+ "windowSize": 5,
2435
2543
  },
2436
- "type": "View",
2544
+ "type": "FlatList",
2437
2545
  },
2438
2546
  ],
2439
2547
  "props": {
2440
- "horizontal": true,
2441
- "onScroll": [Function],
2442
- "ref": {
2443
- "current": null,
2444
- },
2445
- "scrollEventThrottle": 16,
2446
- "showsHorizontalScrollIndicator": true,
2447
2548
  "style": {
2448
- "flex": 1,
2449
- "marginLeft": 0,
2549
+ "width": 350,
2450
2550
  },
2551
+ "testID": undefined,
2451
2552
  },
2452
- "type": "ScrollView",
2553
+ "type": "View",
2453
2554
  },
2454
2555
  ],
2455
2556
  "props": {
2557
+ "horizontal": true,
2558
+ "nestedScrollEnabled": true,
2559
+ "onScroll": [Function],
2560
+ "ref": {
2561
+ "current": null,
2562
+ },
2563
+ "scrollEventThrottle": 16,
2564
+ "showsHorizontalScrollIndicator": true,
2456
2565
  "style": {
2457
- "flexDirection": "row",
2458
- "position": "relative",
2566
+ "flex": 1,
2567
+ "marginLeft": 0,
2459
2568
  },
2460
- "testID": undefined,
2461
2569
  },
2462
- "type": "View",
2570
+ "type": "ScrollView",
2463
2571
  },
2464
2572
  ],
2465
2573
  "props": {
2466
2574
  "style": {
2467
2575
  "flex": 1,
2576
+ "flexDirection": "row",
2577
+ "position": "relative",
2468
2578
  },
2579
+ "testID": undefined,
2469
2580
  },
2470
- "type": "ScrollView",
2581
+ "type": "View",
2471
2582
  },
2472
2583
  ],
2473
2584
  "props": {
@@ -2986,16 +3097,61 @@ exports[`DataTable renders with pinned columns 1`] = `
2986
3097
  },
2987
3098
  ],
2988
3099
  "props": {
2989
- "style": {
2990
- "left": 0,
2991
- "position": "absolute",
2992
- "top": 0,
2993
- "zIndex": 10,
3100
+ "extraData": {
3101
+ "alternateRowBackground": true,
3102
+ "columns": [
3103
+ {
3104
+ "columnType": "text",
3105
+ "title": "Name",
3106
+ "width": 150,
3107
+ },
3108
+ {
3109
+ "columnType": "text",
3110
+ "title": "Age",
3111
+ "width": 100,
3112
+ },
3113
+ {
3114
+ "columnType": "boolean",
3115
+ "title": "Active",
3116
+ "width": 100,
3117
+ },
3118
+ ],
3119
+ "customColumnComponentMap": undefined,
3120
+ "defaultTextSize": "md",
3121
+ "pinnedColumns": 1,
3122
+ "pinnedLeftOffsets": [
3123
+ 0,
3124
+ 150,
3125
+ 250,
3126
+ ],
3127
+ "rowHeight": 54,
2994
3128
  },
2995
- "testID": undefined,
3129
+ "getItemLayout": [Function],
3130
+ "initialNumToRender": 15,
3131
+ "maxToRenderPerBatch": 10,
3132
+ "scrollEventThrottle": 16,
3133
+ "showsVerticalScrollIndicator": false,
3134
+ "windowSize": 5,
2996
3135
  },
2997
- "type": "View",
3136
+ "type": "FlatList",
3137
+ },
3138
+ ],
3139
+ "props": {
3140
+ "style": {
3141
+ "bottom": 0,
3142
+ "left": 0,
3143
+ "position": "absolute",
3144
+ "top": 0,
3145
+ "width": 150,
3146
+ "zIndex": 10,
2998
3147
  },
3148
+ "testID": undefined,
3149
+ },
3150
+ "type": "View",
3151
+ },
3152
+ {
3153
+ "$$typeof": Symbol(react.test.json),
3154
+ "children": [
2999
3155
  {
3000
3156
  "$$typeof": Symbol(react.test.json),
3001
3157
  "children": [
@@ -3352,44 +3508,81 @@ exports[`DataTable renders with pinned columns 1`] = `
3352
3508
  },
3353
3509
  ],
3354
3510
  "props": {
3355
- "style": undefined,
3356
- "testID": undefined,
3511
+ "extraData": {
3512
+ "alternateRowBackground": true,
3513
+ "columns": [
3514
+ {
3515
+ "columnType": "text",
3516
+ "title": "Name",
3517
+ "width": 150,
3518
+ },
3519
+ {
3520
+ "columnType": "text",
3521
+ "title": "Age",
3522
+ "width": 100,
3523
+ },
3524
+ {
3525
+ "columnType": "boolean",
3526
+ "title": "Active",
3527
+ "width": 100,
3528
+ },
3529
+ ],
3530
+ "customColumnComponentMap": undefined,
3531
+ "defaultTextSize": "md",
3532
+ "pinnedColumns": 1,
3533
+ "pinnedLeftOffsets": [
3534
+ 0,
3535
+ 150,
3536
+ 250,
3537
+ ],
3538
+ "rowHeight": 54,
3539
+ },
3540
+ "getItemLayout": [Function],
3541
+ "initialNumToRender": 15,
3542
+ "maxToRenderPerBatch": 10,
3543
+ "nestedScrollEnabled": true,
3544
+ "scrollEventThrottle": 16,
3545
+ "showsVerticalScrollIndicator": true,
3546
+ "windowSize": 5,
3357
3547
  },
3358
- "type": "View",
3548
+ "type": "FlatList",
3359
3549
  },
3360
3550
  ],
3361
3551
  "props": {
3362
- "horizontal": true,
3363
- "onScroll": [Function],
3364
- "ref": {
3365
- "current": null,
3366
- },
3367
- "scrollEventThrottle": 16,
3368
- "showsHorizontalScrollIndicator": true,
3369
3552
  "style": {
3370
- "flex": 1,
3371
- "marginLeft": 150,
3553
+ "width": 200,
3372
3554
  },
3555
+ "testID": undefined,
3373
3556
  },
3374
- "type": "ScrollView",
3557
+ "type": "View",
3375
3558
  },
3376
3559
  ],
3377
3560
  "props": {
3561
+ "horizontal": true,
3562
+ "nestedScrollEnabled": true,
3563
+ "onScroll": [Function],
3564
+ "ref": {
3565
+ "current": null,
3566
+ },
3567
+ "scrollEventThrottle": 16,
3568
+ "showsHorizontalScrollIndicator": true,
3378
3569
  "style": {
3379
- "flexDirection": "row",
3380
- "position": "relative",
3570
+ "flex": 1,
3571
+ "marginLeft": 150,
3381
3572
  },
3382
- "testID": undefined,
3383
3573
  },
3384
- "type": "View",
3574
+ "type": "ScrollView",
3385
3575
  },
3386
3576
  ],
3387
3577
  "props": {
3388
3578
  "style": {
3389
3579
  "flex": 1,
3580
+ "flexDirection": "row",
3581
+ "position": "relative",
3390
3582
  },
3583
+ "testID": undefined,
3391
3584
  },
3392
- "type": "ScrollView",
3585
+ "type": "View",
3393
3586
  },
3394
3587
  ],
3395
3588
  "props": {
@@ -4187,44 +4380,81 @@ exports[`DataTable renders with custom row height 1`] = `
4187
4380
  },
4188
4381
  ],
4189
4382
  "props": {
4190
- "style": undefined,
4191
- "testID": undefined,
4383
+ "extraData": {
4384
+ "alternateRowBackground": true,
4385
+ "columns": [
4386
+ {
4387
+ "columnType": "text",
4388
+ "title": "Name",
4389
+ "width": 150,
4390
+ },
4391
+ {
4392
+ "columnType": "text",
4393
+ "title": "Age",
4394
+ "width": 100,
4395
+ },
4396
+ {
4397
+ "columnType": "boolean",
4398
+ "title": "Active",
4399
+ "width": 100,
4400
+ },
4401
+ ],
4402
+ "customColumnComponentMap": undefined,
4403
+ "defaultTextSize": "md",
4404
+ "pinnedColumns": 0,
4405
+ "pinnedLeftOffsets": [
4406
+ 0,
4407
+ 150,
4408
+ 250,
4409
+ ],
4410
+ "rowHeight": 80,
4411
+ },
4412
+ "getItemLayout": [Function],
4413
+ "initialNumToRender": 15,
4414
+ "maxToRenderPerBatch": 10,
4415
+ "nestedScrollEnabled": true,
4416
+ "scrollEventThrottle": 16,
4417
+ "showsVerticalScrollIndicator": true,
4418
+ "windowSize": 5,
4192
4419
  },
4193
- "type": "View",
4420
+ "type": "FlatList",
4194
4421
  },
4195
4422
  ],
4196
4423
  "props": {
4197
- "horizontal": true,
4198
- "onScroll": [Function],
4199
- "ref": {
4200
- "current": null,
4201
- },
4202
- "scrollEventThrottle": 16,
4203
- "showsHorizontalScrollIndicator": true,
4204
4424
  "style": {
4205
- "flex": 1,
4206
- "marginLeft": 0,
4425
+ "width": 350,
4207
4426
  },
4427
+ "testID": undefined,
4208
4428
  },
4209
- "type": "ScrollView",
4429
+ "type": "View",
4210
4430
  },
4211
4431
  ],
4212
4432
  "props": {
4433
+ "horizontal": true,
4434
+ "nestedScrollEnabled": true,
4435
+ "onScroll": [Function],
4436
+ "ref": {
4437
+ "current": null,
4438
+ },
4439
+ "scrollEventThrottle": 16,
4440
+ "showsHorizontalScrollIndicator": true,
4213
4441
  "style": {
4214
- "flexDirection": "row",
4215
- "position": "relative",
4442
+ "flex": 1,
4443
+ "marginLeft": 0,
4216
4444
  },
4217
- "testID": undefined,
4218
4445
  },
4219
- "type": "View",
4446
+ "type": "ScrollView",
4220
4447
  },
4221
4448
  ],
4222
4449
  "props": {
4223
4450
  "style": {
4224
4451
  "flex": 1,
4452
+ "flexDirection": "row",
4453
+ "position": "relative",
4225
4454
  },
4455
+ "testID": undefined,
4226
4456
  },
4227
- "type": "ScrollView",
4457
+ "type": "View",
4228
4458
  },
4229
4459
  ],
4230
4460
  "props": {
@@ -5022,44 +5252,81 @@ exports[`DataTable renders with custom header height 1`] = `
5022
5252
  },
5023
5253
  ],
5024
5254
  "props": {
5025
- "style": undefined,
5026
- "testID": undefined,
5255
+ "extraData": {
5256
+ "alternateRowBackground": true,
5257
+ "columns": [
5258
+ {
5259
+ "columnType": "text",
5260
+ "title": "Name",
5261
+ "width": 150,
5262
+ },
5263
+ {
5264
+ "columnType": "text",
5265
+ "title": "Age",
5266
+ "width": 100,
5267
+ },
5268
+ {
5269
+ "columnType": "boolean",
5270
+ "title": "Active",
5271
+ "width": 100,
5272
+ },
5273
+ ],
5274
+ "customColumnComponentMap": undefined,
5275
+ "defaultTextSize": "md",
5276
+ "pinnedColumns": 0,
5277
+ "pinnedLeftOffsets": [
5278
+ 0,
5279
+ 150,
5280
+ 250,
5281
+ ],
5282
+ "rowHeight": 54,
5283
+ },
5284
+ "getItemLayout": [Function],
5285
+ "initialNumToRender": 15,
5286
+ "maxToRenderPerBatch": 10,
5287
+ "nestedScrollEnabled": true,
5288
+ "scrollEventThrottle": 16,
5289
+ "showsVerticalScrollIndicator": true,
5290
+ "windowSize": 5,
5027
5291
  },
5028
- "type": "View",
5292
+ "type": "FlatList",
5029
5293
  },
5030
5294
  ],
5031
5295
  "props": {
5032
- "horizontal": true,
5033
- "onScroll": [Function],
5034
- "ref": {
5035
- "current": null,
5036
- },
5037
- "scrollEventThrottle": 16,
5038
- "showsHorizontalScrollIndicator": true,
5039
5296
  "style": {
5040
- "flex": 1,
5041
- "marginLeft": 0,
5297
+ "width": 350,
5042
5298
  },
5299
+ "testID": undefined,
5043
5300
  },
5044
- "type": "ScrollView",
5301
+ "type": "View",
5045
5302
  },
5046
5303
  ],
5047
5304
  "props": {
5305
+ "horizontal": true,
5306
+ "nestedScrollEnabled": true,
5307
+ "onScroll": [Function],
5308
+ "ref": {
5309
+ "current": null,
5310
+ },
5311
+ "scrollEventThrottle": 16,
5312
+ "showsHorizontalScrollIndicator": true,
5048
5313
  "style": {
5049
- "flexDirection": "row",
5050
- "position": "relative",
5314
+ "flex": 1,
5315
+ "marginLeft": 0,
5051
5316
  },
5052
- "testID": undefined,
5053
5317
  },
5054
- "type": "View",
5318
+ "type": "ScrollView",
5055
5319
  },
5056
5320
  ],
5057
5321
  "props": {
5058
5322
  "style": {
5059
5323
  "flex": 1,
5324
+ "flexDirection": "row",
5325
+ "position": "relative",
5060
5326
  },
5327
+ "testID": undefined,
5061
5328
  },
5062
- "type": "ScrollView",
5329
+ "type": "View",
5063
5330
  },
5064
5331
  ],
5065
5332
  "props": {
@@ -5857,44 +6124,81 @@ exports[`DataTable renders with pagination 1`] = `
5857
6124
  },
5858
6125
  ],
5859
6126
  "props": {
5860
- "style": undefined,
5861
- "testID": undefined,
6127
+ "extraData": {
6128
+ "alternateRowBackground": true,
6129
+ "columns": [
6130
+ {
6131
+ "columnType": "text",
6132
+ "title": "Name",
6133
+ "width": 150,
6134
+ },
6135
+ {
6136
+ "columnType": "text",
6137
+ "title": "Age",
6138
+ "width": 100,
6139
+ },
6140
+ {
6141
+ "columnType": "boolean",
6142
+ "title": "Active",
6143
+ "width": 100,
6144
+ },
6145
+ ],
6146
+ "customColumnComponentMap": undefined,
6147
+ "defaultTextSize": "md",
6148
+ "pinnedColumns": 0,
6149
+ "pinnedLeftOffsets": [
6150
+ 0,
6151
+ 150,
6152
+ 250,
6153
+ ],
6154
+ "rowHeight": 54,
6155
+ },
6156
+ "getItemLayout": [Function],
6157
+ "initialNumToRender": 15,
6158
+ "maxToRenderPerBatch": 10,
6159
+ "nestedScrollEnabled": true,
6160
+ "scrollEventThrottle": 16,
6161
+ "showsVerticalScrollIndicator": true,
6162
+ "windowSize": 5,
5862
6163
  },
5863
- "type": "View",
6164
+ "type": "FlatList",
5864
6165
  },
5865
6166
  ],
5866
6167
  "props": {
5867
- "horizontal": true,
5868
- "onScroll": [Function],
5869
- "ref": {
5870
- "current": null,
5871
- },
5872
- "scrollEventThrottle": 16,
5873
- "showsHorizontalScrollIndicator": true,
5874
6168
  "style": {
5875
- "flex": 1,
5876
- "marginLeft": 0,
6169
+ "width": 350,
5877
6170
  },
6171
+ "testID": undefined,
5878
6172
  },
5879
- "type": "ScrollView",
6173
+ "type": "View",
5880
6174
  },
5881
6175
  ],
5882
6176
  "props": {
6177
+ "horizontal": true,
6178
+ "nestedScrollEnabled": true,
6179
+ "onScroll": [Function],
6180
+ "ref": {
6181
+ "current": null,
6182
+ },
6183
+ "scrollEventThrottle": 16,
6184
+ "showsHorizontalScrollIndicator": true,
5883
6185
  "style": {
5884
- "flexDirection": "row",
5885
- "position": "relative",
6186
+ "flex": 1,
6187
+ "marginLeft": 0,
5886
6188
  },
5887
- "testID": undefined,
5888
6189
  },
5889
- "type": "View",
6190
+ "type": "ScrollView",
5890
6191
  },
5891
6192
  ],
5892
6193
  "props": {
5893
6194
  "style": {
5894
6195
  "flex": 1,
6196
+ "flexDirection": "row",
6197
+ "position": "relative",
5895
6198
  },
6199
+ "testID": undefined,
5896
6200
  },
5897
- "type": "ScrollView",
6201
+ "type": "View",
5898
6202
  },
5899
6203
  ],
5900
6204
  "props": {
@@ -6581,44 +6885,77 @@ exports[`DataTable renders sortable columns 1`] = `
6581
6885
  },
6582
6886
  ],
6583
6887
  "props": {
6584
- "style": undefined,
6585
- "testID": undefined,
6888
+ "extraData": {
6889
+ "alternateRowBackground": true,
6890
+ "columns": [
6891
+ {
6892
+ "columnType": "text",
6893
+ "sortable": true,
6894
+ "title": "Name",
6895
+ "width": 150,
6896
+ },
6897
+ {
6898
+ "columnType": "text",
6899
+ "sortable": true,
6900
+ "title": "Age",
6901
+ "width": 100,
6902
+ },
6903
+ ],
6904
+ "customColumnComponentMap": undefined,
6905
+ "defaultTextSize": "md",
6906
+ "pinnedColumns": 0,
6907
+ "pinnedLeftOffsets": [
6908
+ 0,
6909
+ 150,
6910
+ ],
6911
+ "rowHeight": 54,
6912
+ },
6913
+ "getItemLayout": [Function],
6914
+ "initialNumToRender": 15,
6915
+ "maxToRenderPerBatch": 10,
6916
+ "nestedScrollEnabled": true,
6917
+ "scrollEventThrottle": 16,
6918
+ "showsVerticalScrollIndicator": true,
6919
+ "windowSize": 5,
6586
6920
  },
6587
- "type": "View",
6921
+ "type": "FlatList",
6588
6922
  },
6589
6923
  ],
6590
6924
  "props": {
6591
- "horizontal": true,
6592
- "onScroll": [Function],
6593
- "ref": {
6594
- "current": null,
6595
- },
6596
- "scrollEventThrottle": 16,
6597
- "showsHorizontalScrollIndicator": true,
6598
6925
  "style": {
6599
- "flex": 1,
6600
- "marginLeft": 0,
6926
+ "width": 250,
6601
6927
  },
6928
+ "testID": undefined,
6602
6929
  },
6603
- "type": "ScrollView",
6930
+ "type": "View",
6604
6931
  },
6605
6932
  ],
6606
6933
  "props": {
6934
+ "horizontal": true,
6935
+ "nestedScrollEnabled": true,
6936
+ "onScroll": [Function],
6937
+ "ref": {
6938
+ "current": null,
6939
+ },
6940
+ "scrollEventThrottle": 16,
6941
+ "showsHorizontalScrollIndicator": true,
6607
6942
  "style": {
6608
- "flexDirection": "row",
6609
- "position": "relative",
6943
+ "flex": 1,
6944
+ "marginLeft": 0,
6610
6945
  },
6611
- "testID": undefined,
6612
6946
  },
6613
- "type": "View",
6947
+ "type": "ScrollView",
6614
6948
  },
6615
6949
  ],
6616
6950
  "props": {
6617
6951
  "style": {
6618
6952
  "flex": 1,
6953
+ "flexDirection": "row",
6954
+ "position": "relative",
6619
6955
  },
6956
+ "testID": undefined,
6620
6957
  },
6621
- "type": "ScrollView",
6958
+ "type": "View",
6622
6959
  },
6623
6960
  ],
6624
6961
  "props": {
@@ -6873,44 +7210,70 @@ exports[`DataTable renders with sort indicator 1`] = `
6873
7210
  },
6874
7211
  ],
6875
7212
  "props": {
6876
- "style": undefined,
6877
- "testID": undefined,
7213
+ "extraData": {
7214
+ "alternateRowBackground": true,
7215
+ "columns": [
7216
+ {
7217
+ "columnType": "text",
7218
+ "sortable": true,
7219
+ "title": "Name",
7220
+ "width": 150,
7221
+ },
7222
+ ],
7223
+ "customColumnComponentMap": undefined,
7224
+ "defaultTextSize": "md",
7225
+ "pinnedColumns": 0,
7226
+ "pinnedLeftOffsets": [
7227
+ 0,
7228
+ ],
7229
+ "rowHeight": 54,
7230
+ },
7231
+ "getItemLayout": [Function],
7232
+ "initialNumToRender": 15,
7233
+ "maxToRenderPerBatch": 10,
7234
+ "nestedScrollEnabled": true,
7235
+ "scrollEventThrottle": 16,
7236
+ "showsVerticalScrollIndicator": true,
7237
+ "windowSize": 5,
6878
7238
  },
6879
- "type": "View",
7239
+ "type": "FlatList",
6880
7240
  },
6881
7241
  ],
6882
7242
  "props": {
6883
- "horizontal": true,
6884
- "onScroll": [Function],
6885
- "ref": {
6886
- "current": null,
6887
- },
6888
- "scrollEventThrottle": 16,
6889
- "showsHorizontalScrollIndicator": true,
6890
7243
  "style": {
6891
- "flex": 1,
6892
- "marginLeft": 0,
7244
+ "width": 150,
6893
7245
  },
7246
+ "testID": undefined,
6894
7247
  },
6895
- "type": "ScrollView",
7248
+ "type": "View",
6896
7249
  },
6897
7250
  ],
6898
7251
  "props": {
7252
+ "horizontal": true,
7253
+ "nestedScrollEnabled": true,
7254
+ "onScroll": [Function],
7255
+ "ref": {
7256
+ "current": null,
7257
+ },
7258
+ "scrollEventThrottle": 16,
7259
+ "showsHorizontalScrollIndicator": true,
6899
7260
  "style": {
6900
- "flexDirection": "row",
6901
- "position": "relative",
7261
+ "flex": 1,
7262
+ "marginLeft": 0,
6902
7263
  },
6903
- "testID": undefined,
6904
7264
  },
6905
- "type": "View",
7265
+ "type": "ScrollView",
6906
7266
  },
6907
7267
  ],
6908
7268
  "props": {
6909
7269
  "style": {
6910
7270
  "flex": 1,
7271
+ "flexDirection": "row",
7272
+ "position": "relative",
6911
7273
  },
7274
+ "testID": undefined,
6912
7275
  },
6913
- "type": "ScrollView",
7276
+ "type": "View",
6914
7277
  },
6915
7278
  ],
6916
7279
  "props": {
@@ -7708,44 +8071,81 @@ exports[`DataTable renders with different text sizes 1`] = `
7708
8071
  },
7709
8072
  ],
7710
8073
  "props": {
7711
- "style": undefined,
7712
- "testID": undefined,
8074
+ "extraData": {
8075
+ "alternateRowBackground": true,
8076
+ "columns": [
8077
+ {
8078
+ "columnType": "text",
8079
+ "title": "Name",
8080
+ "width": 150,
8081
+ },
8082
+ {
8083
+ "columnType": "text",
8084
+ "title": "Age",
8085
+ "width": 100,
8086
+ },
8087
+ {
8088
+ "columnType": "boolean",
8089
+ "title": "Active",
8090
+ "width": 100,
8091
+ },
8092
+ ],
8093
+ "customColumnComponentMap": undefined,
8094
+ "defaultTextSize": "sm",
8095
+ "pinnedColumns": 0,
8096
+ "pinnedLeftOffsets": [
8097
+ 0,
8098
+ 150,
8099
+ 250,
8100
+ ],
8101
+ "rowHeight": 54,
8102
+ },
8103
+ "getItemLayout": [Function],
8104
+ "initialNumToRender": 15,
8105
+ "maxToRenderPerBatch": 10,
8106
+ "nestedScrollEnabled": true,
8107
+ "scrollEventThrottle": 16,
8108
+ "showsVerticalScrollIndicator": true,
8109
+ "windowSize": 5,
7713
8110
  },
7714
- "type": "View",
8111
+ "type": "FlatList",
7715
8112
  },
7716
8113
  ],
7717
8114
  "props": {
7718
- "horizontal": true,
7719
- "onScroll": [Function],
7720
- "ref": {
7721
- "current": null,
7722
- },
7723
- "scrollEventThrottle": 16,
7724
- "showsHorizontalScrollIndicator": true,
7725
8115
  "style": {
7726
- "flex": 1,
7727
- "marginLeft": 0,
8116
+ "width": 350,
7728
8117
  },
8118
+ "testID": undefined,
7729
8119
  },
7730
- "type": "ScrollView",
8120
+ "type": "View",
7731
8121
  },
7732
8122
  ],
7733
8123
  "props": {
8124
+ "horizontal": true,
8125
+ "nestedScrollEnabled": true,
8126
+ "onScroll": [Function],
8127
+ "ref": {
8128
+ "current": null,
8129
+ },
8130
+ "scrollEventThrottle": 16,
8131
+ "showsHorizontalScrollIndicator": true,
7734
8132
  "style": {
7735
- "flexDirection": "row",
7736
- "position": "relative",
8133
+ "flex": 1,
8134
+ "marginLeft": 0,
7737
8135
  },
7738
- "testID": undefined,
7739
8136
  },
7740
- "type": "View",
8137
+ "type": "ScrollView",
7741
8138
  },
7742
8139
  ],
7743
8140
  "props": {
7744
8141
  "style": {
7745
8142
  "flex": 1,
8143
+ "flexDirection": "row",
8144
+ "position": "relative",
7746
8145
  },
8146
+ "testID": undefined,
7747
8147
  },
7748
- "type": "ScrollView",
8148
+ "type": "View",
7749
8149
  },
7750
8150
  ],
7751
8151
  "props": {
@@ -8130,18 +8530,62 @@ exports[`DataTable renders with more content component 1`] = `
8130
8530
  },
8131
8531
  ],
8132
8532
  "props": {
8133
- "style": {
8134
- "backgroundColor": "#FFFFFF",
8135
- "left": 0,
8136
- "position": "absolute",
8137
- "top": 0,
8138
- "width": 48,
8139
- "zIndex": 1,
8533
+ "extraData": {
8534
+ "alternateRowBackground": true,
8535
+ "columns": [
8536
+ {
8537
+ "columnType": "text",
8538
+ "title": "Name",
8539
+ "width": 150,
8540
+ },
8541
+ {
8542
+ "columnType": "text",
8543
+ "title": "Age",
8544
+ "width": 100,
8545
+ },
8546
+ {
8547
+ "columnType": "boolean",
8548
+ "title": "Active",
8549
+ "width": 100,
8550
+ },
8551
+ ],
8552
+ "customColumnComponentMap": undefined,
8553
+ "defaultTextSize": "md",
8554
+ "pinnedColumns": 0,
8555
+ "pinnedLeftOffsets": [
8556
+ 0,
8557
+ 150,
8558
+ 250,
8559
+ ],
8560
+ "rowHeight": 54,
8140
8561
  },
8141
- "testID": undefined,
8562
+ "getItemLayout": [Function],
8563
+ "initialNumToRender": 15,
8564
+ "maxToRenderPerBatch": 10,
8565
+ "scrollEventThrottle": 16,
8566
+ "showsVerticalScrollIndicator": false,
8567
+ "windowSize": 5,
8142
8568
  },
8143
- "type": "View",
8569
+ "type": "FlatList",
8144
8570
  },
8571
+ ],
8572
+ "props": {
8573
+ "style": {
8574
+ "backgroundColor": "#FFFFFF",
8575
+ "bottom": 0,
8576
+ "left": 0,
8577
+ "position": "absolute",
8578
+ "top": 0,
8579
+ "width": 48,
8580
+ "zIndex": 1,
8581
+ },
8582
+ "testID": undefined,
8583
+ },
8584
+ "type": "View",
8585
+ },
8586
+ {
8587
+ "$$typeof": Symbol(react.test.json),
8588
+ "children": [
8145
8589
  {
8146
8590
  "$$typeof": Symbol(react.test.json),
8147
8591
  "children": [
@@ -8687,44 +9131,81 @@ exports[`DataTable renders with more content component 1`] = `
8687
9131
  },
8688
9132
  ],
8689
9133
  "props": {
8690
- "style": undefined,
8691
- "testID": undefined,
9134
+ "extraData": {
9135
+ "alternateRowBackground": true,
9136
+ "columns": [
9137
+ {
9138
+ "columnType": "text",
9139
+ "title": "Name",
9140
+ "width": 150,
9141
+ },
9142
+ {
9143
+ "columnType": "text",
9144
+ "title": "Age",
9145
+ "width": 100,
9146
+ },
9147
+ {
9148
+ "columnType": "boolean",
9149
+ "title": "Active",
9150
+ "width": 100,
9151
+ },
9152
+ ],
9153
+ "customColumnComponentMap": undefined,
9154
+ "defaultTextSize": "md",
9155
+ "pinnedColumns": 0,
9156
+ "pinnedLeftOffsets": [
9157
+ 0,
9158
+ 150,
9159
+ 250,
9160
+ ],
9161
+ "rowHeight": 54,
9162
+ },
9163
+ "getItemLayout": [Function],
9164
+ "initialNumToRender": 15,
9165
+ "maxToRenderPerBatch": 10,
9166
+ "nestedScrollEnabled": true,
9167
+ "scrollEventThrottle": 16,
9168
+ "showsVerticalScrollIndicator": true,
9169
+ "windowSize": 5,
8692
9170
  },
8693
- "type": "View",
9171
+ "type": "FlatList",
8694
9172
  },
8695
9173
  ],
8696
9174
  "props": {
8697
- "horizontal": true,
8698
- "onScroll": [Function],
8699
- "ref": {
8700
- "current": null,
8701
- },
8702
- "scrollEventThrottle": 16,
8703
- "showsHorizontalScrollIndicator": true,
8704
9175
  "style": {
8705
- "flex": 1,
8706
- "marginLeft": 48,
9176
+ "width": 350,
8707
9177
  },
9178
+ "testID": undefined,
8708
9179
  },
8709
- "type": "ScrollView",
9180
+ "type": "View",
8710
9181
  },
8711
9182
  ],
8712
9183
  "props": {
9184
+ "horizontal": true,
9185
+ "nestedScrollEnabled": true,
9186
+ "onScroll": [Function],
9187
+ "ref": {
9188
+ "current": null,
9189
+ },
9190
+ "scrollEventThrottle": 16,
9191
+ "showsHorizontalScrollIndicator": true,
8713
9192
  "style": {
8714
- "flexDirection": "row",
8715
- "position": "relative",
9193
+ "flex": 1,
9194
+ "marginLeft": 48,
8716
9195
  },
8717
- "testID": undefined,
8718
9196
  },
8719
- "type": "View",
9197
+ "type": "ScrollView",
8720
9198
  },
8721
9199
  ],
8722
9200
  "props": {
8723
9201
  "style": {
8724
9202
  "flex": 1,
9203
+ "flexDirection": "row",
9204
+ "position": "relative",
8725
9205
  },
9206
+ "testID": undefined,
8726
9207
  },
8727
- "type": "ScrollView",
9208
+ "type": "View",
8728
9209
  },
8729
9210
  ],
8730
9211
  "props": {
@@ -8979,44 +9460,69 @@ exports[`DataTable renders boolean cells correctly 1`] = `
8979
9460
  },
8980
9461
  ],
8981
9462
  "props": {
8982
- "style": undefined,
8983
- "testID": undefined,
9463
+ "extraData": {
9464
+ "alternateRowBackground": true,
9465
+ "columns": [
9466
+ {
9467
+ "columnType": "boolean",
9468
+ "title": "Status",
9469
+ "width": 100,
9470
+ },
9471
+ ],
9472
+ "customColumnComponentMap": undefined,
9473
+ "defaultTextSize": "md",
9474
+ "pinnedColumns": 0,
9475
+ "pinnedLeftOffsets": [
9476
+ 0,
9477
+ ],
9478
+ "rowHeight": 54,
9479
+ },
9480
+ "getItemLayout": [Function],
9481
+ "initialNumToRender": 15,
9482
+ "maxToRenderPerBatch": 10,
9483
+ "nestedScrollEnabled": true,
9484
+ "scrollEventThrottle": 16,
9485
+ "showsVerticalScrollIndicator": true,
9486
+ "windowSize": 5,
8984
9487
  },
8985
- "type": "View",
9488
+ "type": "FlatList",
8986
9489
  },
8987
9490
  ],
8988
9491
  "props": {
8989
- "horizontal": true,
8990
- "onScroll": [Function],
8991
- "ref": {
8992
- "current": null,
8993
- },
8994
- "scrollEventThrottle": 16,
8995
- "showsHorizontalScrollIndicator": true,
8996
9492
  "style": {
8997
- "flex": 1,
8998
- "marginLeft": 0,
9493
+ "width": 100,
8999
9494
  },
9495
+ "testID": undefined,
9000
9496
  },
9001
- "type": "ScrollView",
9497
+ "type": "View",
9002
9498
  },
9003
9499
  ],
9004
9500
  "props": {
9501
+ "horizontal": true,
9502
+ "nestedScrollEnabled": true,
9503
+ "onScroll": [Function],
9504
+ "ref": {
9505
+ "current": null,
9506
+ },
9507
+ "scrollEventThrottle": 16,
9508
+ "showsHorizontalScrollIndicator": true,
9005
9509
  "style": {
9006
- "flexDirection": "row",
9007
- "position": "relative",
9510
+ "flex": 1,
9511
+ "marginLeft": 0,
9008
9512
  },
9009
- "testID": undefined,
9010
9513
  },
9011
- "type": "View",
9514
+ "type": "ScrollView",
9012
9515
  },
9013
9516
  ],
9014
9517
  "props": {
9015
9518
  "style": {
9016
9519
  "flex": 1,
9520
+ "flexDirection": "row",
9521
+ "position": "relative",
9017
9522
  },
9523
+ "testID": undefined,
9018
9524
  },
9019
- "type": "ScrollView",
9525
+ "type": "View",
9020
9526
  },
9021
9527
  ],
9022
9528
  "props": {
@@ -9276,44 +9782,81 @@ exports[`DataTable renders empty data 1`] = `
9276
9782
  "$$typeof": Symbol(react.test.json),
9277
9783
  "children": null,
9278
9784
  "props": {
9279
- "style": undefined,
9280
- "testID": undefined,
9785
+ "extraData": {
9786
+ "alternateRowBackground": true,
9787
+ "columns": [
9788
+ {
9789
+ "columnType": "text",
9790
+ "title": "Name",
9791
+ "width": 150,
9792
+ },
9793
+ {
9794
+ "columnType": "text",
9795
+ "title": "Age",
9796
+ "width": 100,
9797
+ },
9798
+ {
9799
+ "columnType": "boolean",
9800
+ "title": "Active",
9801
+ "width": 100,
9802
+ },
9803
+ ],
9804
+ "customColumnComponentMap": undefined,
9805
+ "defaultTextSize": "md",
9806
+ "pinnedColumns": 0,
9807
+ "pinnedLeftOffsets": [
9808
+ 0,
9809
+ 150,
9810
+ 250,
9811
+ ],
9812
+ "rowHeight": 54,
9813
+ },
9814
+ "getItemLayout": [Function],
9815
+ "initialNumToRender": 15,
9816
+ "maxToRenderPerBatch": 10,
9817
+ "nestedScrollEnabled": true,
9818
+ "scrollEventThrottle": 16,
9819
+ "showsVerticalScrollIndicator": true,
9820
+ "windowSize": 5,
9281
9821
  },
9282
- "type": "View",
9822
+ "type": "FlatList",
9283
9823
  },
9284
9824
  ],
9285
9825
  "props": {
9286
- "horizontal": true,
9287
- "onScroll": [Function],
9288
- "ref": {
9289
- "current": null,
9290
- },
9291
- "scrollEventThrottle": 16,
9292
- "showsHorizontalScrollIndicator": true,
9293
9826
  "style": {
9294
- "flex": 1,
9295
- "marginLeft": 0,
9827
+ "width": 350,
9296
9828
  },
9829
+ "testID": undefined,
9297
9830
  },
9298
- "type": "ScrollView",
9831
+ "type": "View",
9299
9832
  },
9300
9833
  ],
9301
9834
  "props": {
9835
+ "horizontal": true,
9836
+ "nestedScrollEnabled": true,
9837
+ "onScroll": [Function],
9838
+ "ref": {
9839
+ "current": null,
9840
+ },
9841
+ "scrollEventThrottle": 16,
9842
+ "showsHorizontalScrollIndicator": true,
9302
9843
  "style": {
9303
- "flexDirection": "row",
9304
- "position": "relative",
9844
+ "flex": 1,
9845
+ "marginLeft": 0,
9305
9846
  },
9306
- "testID": undefined,
9307
9847
  },
9308
- "type": "View",
9848
+ "type": "ScrollView",
9309
9849
  },
9310
9850
  ],
9311
9851
  "props": {
9312
9852
  "style": {
9313
9853
  "flex": 1,
9854
+ "flexDirection": "row",
9855
+ "position": "relative",
9314
9856
  },
9857
+ "testID": undefined,
9315
9858
  },
9316
- "type": "ScrollView",
9859
+ "type": "View",
9317
9860
  },
9318
9861
  ],
9319
9862
  "props": {