ferns-ui 0.2.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 (521) hide show
  1. package/LICENSE +203 -0
  2. package/README.md +22 -0
  3. package/dist/ActionSheet.d.ts +490 -0
  4. package/dist/ActionSheet.js +647 -0
  5. package/dist/ActionSheet.js.map +1 -0
  6. package/dist/Banner.d.ts +27 -0
  7. package/dist/Banner.js +56 -0
  8. package/dist/Banner.js.map +1 -0
  9. package/dist/Banner.stories.d.ts +1 -0
  10. package/dist/Banner.stories.js +13 -0
  11. package/dist/Banner.stories.js.map +1 -0
  12. package/dist/BlurBox.d.ts +5 -0
  13. package/dist/BlurBox.js +28 -0
  14. package/dist/BlurBox.js.map +1 -0
  15. package/dist/BlurBox.native.d.ts +6 -0
  16. package/dist/BlurBox.native.js +30 -0
  17. package/dist/BlurBox.native.js.map +1 -0
  18. package/dist/Body.d.ts +6 -0
  19. package/dist/Body.js +21 -0
  20. package/dist/Body.js.map +1 -0
  21. package/dist/Box.d.ts +18 -0
  22. package/dist/Box.js +228 -0
  23. package/dist/Box.js.map +1 -0
  24. package/dist/Box.stories.d.ts +1 -0
  25. package/dist/Box.stories.js +45 -0
  26. package/dist/Box.stories.js.map +1 -0
  27. package/dist/Button.d.ts +20 -0
  28. package/dist/Button.js +103 -0
  29. package/dist/Button.js.map +1 -0
  30. package/dist/Button.stories.d.ts +1 -0
  31. package/dist/Button.stories.js +41 -0
  32. package/dist/Button.stories.js.map +1 -0
  33. package/dist/Card.d.ts +5 -0
  34. package/dist/Card.js +8 -0
  35. package/dist/Card.js.map +1 -0
  36. package/dist/Card.stories.d.ts +6 -0
  37. package/dist/Card.stories.js +18 -0
  38. package/dist/Card.stories.js.map +1 -0
  39. package/dist/CheckBox.d.ts +6 -0
  40. package/dist/CheckBox.js +27 -0
  41. package/dist/CheckBox.js.map +1 -0
  42. package/dist/CheckBox.stories.d.ts +1 -0
  43. package/dist/CheckBox.stories.js +28 -0
  44. package/dist/CheckBox.stories.js.map +1 -0
  45. package/dist/Common.d.ts +868 -0
  46. package/dist/Common.js +46 -0
  47. package/dist/Common.js.map +1 -0
  48. package/dist/DateTimeActionSheet.d.ts +15 -0
  49. package/dist/DateTimeActionSheet.js +28 -0
  50. package/dist/DateTimeActionSheet.js.map +1 -0
  51. package/dist/DecimalRangeActionSheet.d.ts +18 -0
  52. package/dist/DecimalRangeActionSheet.js +65 -0
  53. package/dist/DecimalRangeActionSheet.js.map +1 -0
  54. package/dist/ErrorBoundary.d.ts +19 -0
  55. package/dist/ErrorBoundary.js +31 -0
  56. package/dist/ErrorBoundary.js.map +1 -0
  57. package/dist/ErrorPage.d.ts +10 -0
  58. package/dist/ErrorPage.js +20 -0
  59. package/dist/ErrorPage.js.map +1 -0
  60. package/dist/Field.d.ts +15 -0
  61. package/dist/Field.js +136 -0
  62. package/dist/Field.js.map +1 -0
  63. package/dist/Field.stories.d.ts +6 -0
  64. package/dist/Field.stories.js +38 -0
  65. package/dist/Field.stories.js.map +1 -0
  66. package/dist/FieldWithLabels.d.ts +3 -0
  67. package/dist/FieldWithLabels.js +8 -0
  68. package/dist/FieldWithLabels.js.map +1 -0
  69. package/dist/FlatList.d.ts +2 -0
  70. package/dist/FlatList.js +3 -0
  71. package/dist/FlatList.js.map +1 -0
  72. package/dist/Form.d.ts +22 -0
  73. package/dist/Form.js +89 -0
  74. package/dist/Form.js.map +1 -0
  75. package/dist/Form.stories.d.ts +6 -0
  76. package/dist/Form.stories.js +36 -0
  77. package/dist/Form.stories.js.map +1 -0
  78. package/dist/HeaderButtons.d.ts +31 -0
  79. package/dist/HeaderButtons.js +53 -0
  80. package/dist/HeaderButtons.js.map +1 -0
  81. package/dist/HeaderButtons.stories.d.ts +6 -0
  82. package/dist/HeaderButtons.stories.js +6 -0
  83. package/dist/HeaderButtons.stories.js.map +1 -0
  84. package/dist/Heading.d.ts +11 -0
  85. package/dist/Heading.js +46 -0
  86. package/dist/Heading.js.map +1 -0
  87. package/dist/Heading.stories.d.ts +1 -0
  88. package/dist/Heading.stories.js +22 -0
  89. package/dist/Heading.stories.js.map +1 -0
  90. package/dist/HeightActionSheet.d.ts +16 -0
  91. package/dist/HeightActionSheet.js +58 -0
  92. package/dist/HeightActionSheet.js.map +1 -0
  93. package/dist/Icon.d.ts +9 -0
  94. package/dist/Icon.js +125 -0
  95. package/dist/Icon.js.map +1 -0
  96. package/dist/Icon.stories.d.ts +1 -0
  97. package/dist/Icon.stories.js +30 -0
  98. package/dist/Icon.stories.js.map +1 -0
  99. package/dist/IconButton.d.ts +5 -0
  100. package/dist/IconButton.js +41 -0
  101. package/dist/IconButton.js.map +1 -0
  102. package/dist/IconButton.stories.d.ts +1 -0
  103. package/dist/IconButton.stories.js +16 -0
  104. package/dist/IconButton.stories.js.map +1 -0
  105. package/dist/Image.d.ts +8 -0
  106. package/dist/Image.js +37 -0
  107. package/dist/Image.js.map +1 -0
  108. package/dist/ImageBackground.d.ts +9 -0
  109. package/dist/ImageBackground.js +8 -0
  110. package/dist/ImageBackground.js.map +1 -0
  111. package/dist/Layer.d.ts +9 -0
  112. package/dist/Layer.js +12 -0
  113. package/dist/Layer.js.map +1 -0
  114. package/dist/Link.d.ts +9 -0
  115. package/dist/Link.js +12 -0
  116. package/dist/Link.js.map +1 -0
  117. package/dist/Link.stories.d.ts +1 -0
  118. package/dist/Link.stories.js +18 -0
  119. package/dist/Link.stories.js.map +1 -0
  120. package/dist/Mask.d.ts +5 -0
  121. package/dist/Mask.js +22 -0
  122. package/dist/Mask.js.map +1 -0
  123. package/dist/Mask.stories.d.ts +1 -0
  124. package/dist/Mask.stories.js +28 -0
  125. package/dist/Mask.stories.js.map +1 -0
  126. package/dist/MediaQuery.d.ts +2 -0
  127. package/dist/MediaQuery.js +33 -0
  128. package/dist/MediaQuery.js.map +1 -0
  129. package/dist/Meta.d.ts +5 -0
  130. package/dist/Meta.js +7 -0
  131. package/dist/Meta.js.map +1 -0
  132. package/dist/ModalSheet.d.ts +7 -0
  133. package/dist/ModalSheet.js +42 -0
  134. package/dist/ModalSheet.js.map +1 -0
  135. package/dist/NumberPickerActionSheet.d.ts +16 -0
  136. package/dist/NumberPickerActionSheet.js +29 -0
  137. package/dist/NumberPickerActionSheet.js.map +1 -0
  138. package/dist/Page.d.ts +26 -0
  139. package/dist/Page.js +38 -0
  140. package/dist/Page.js.map +1 -0
  141. package/dist/Permissions.d.ts +2 -0
  142. package/dist/Permissions.js +35 -0
  143. package/dist/Permissions.js.map +1 -0
  144. package/dist/PickerSelect.d.ts +174 -0
  145. package/dist/PickerSelect.js +426 -0
  146. package/dist/PickerSelect.js.map +1 -0
  147. package/dist/Pill.d.ts +5 -0
  148. package/dist/Pill.js +10 -0
  149. package/dist/Pill.js.map +1 -0
  150. package/dist/Pill.stories.d.ts +1 -0
  151. package/dist/Pill.stories.js +38 -0
  152. package/dist/Pill.stories.js.map +1 -0
  153. package/dist/Pog.d.ts +15 -0
  154. package/dist/Pog.js +144 -0
  155. package/dist/Pog.js.map +1 -0
  156. package/dist/ProgressBar.d.ts +9 -0
  157. package/dist/ProgressBar.js +41 -0
  158. package/dist/ProgressBar.js.map +1 -0
  159. package/dist/ScrollView.d.ts +2 -0
  160. package/dist/ScrollView.js +3 -0
  161. package/dist/ScrollView.js.map +1 -0
  162. package/dist/SegmentedControl.d.ts +6 -0
  163. package/dist/SegmentedControl.js +18 -0
  164. package/dist/SegmentedControl.js.map +1 -0
  165. package/dist/SegmentedControl.stories.d.ts +1 -0
  166. package/dist/SegmentedControl.stories.js +31 -0
  167. package/dist/SegmentedControl.stories.js.map +1 -0
  168. package/dist/SelectList.d.ts +22 -0
  169. package/dist/SelectList.js +28 -0
  170. package/dist/SelectList.js.map +1 -0
  171. package/dist/SelectList.stories.d.ts +1 -0
  172. package/dist/SelectList.stories.js +26 -0
  173. package/dist/SelectList.stories.js.map +1 -0
  174. package/dist/Spinner.d.ts +21 -0
  175. package/dist/Spinner.js +58 -0
  176. package/dist/Spinner.js.map +1 -0
  177. package/dist/Spinner.stories.d.ts +1 -0
  178. package/dist/Spinner.stories.js +12 -0
  179. package/dist/Spinner.stories.js.map +1 -0
  180. package/dist/SplitPage.d.ts +31 -0
  181. package/dist/SplitPage.js +51 -0
  182. package/dist/SplitPage.js.map +1 -0
  183. package/dist/SplitPage.stories.d.ts +1 -0
  184. package/dist/SplitPage.stories.js +15 -0
  185. package/dist/SplitPage.stories.js.map +1 -0
  186. package/dist/StorybookContainer.d.ts +4 -0
  187. package/dist/StorybookContainer.js +8 -0
  188. package/dist/StorybookContainer.js.map +1 -0
  189. package/dist/Switch.d.ts +5 -0
  190. package/dist/Switch.js +10 -0
  191. package/dist/Switch.js.map +1 -0
  192. package/dist/Switch.stories.d.ts +1 -0
  193. package/dist/Switch.stories.js +34 -0
  194. package/dist/Switch.stories.js.map +1 -0
  195. package/dist/TapToEdit.d.ts +12 -0
  196. package/dist/TapToEdit.js +32 -0
  197. package/dist/TapToEdit.js.map +1 -0
  198. package/dist/Text.d.ts +11 -0
  199. package/dist/Text.js +85 -0
  200. package/dist/Text.js.map +1 -0
  201. package/dist/Text.stories.d.ts +1 -0
  202. package/dist/Text.stories.js +37 -0
  203. package/dist/Text.stories.js.map +1 -0
  204. package/dist/TextArea.d.ts +6 -0
  205. package/dist/TextArea.js +12 -0
  206. package/dist/TextArea.js.map +1 -0
  207. package/dist/TextArea.stories.d.ts +10 -0
  208. package/dist/TextArea.stories.js +24 -0
  209. package/dist/TextArea.stories.js.map +1 -0
  210. package/dist/TextField.d.ts +48 -0
  211. package/dist/TextField.js +207 -0
  212. package/dist/TextField.js.map +1 -0
  213. package/dist/TextField.stories.d.ts +6 -0
  214. package/dist/TextField.stories.js +18 -0
  215. package/dist/TextField.stories.js.map +1 -0
  216. package/dist/TextFieldNumberActionSheet.d.ts +15 -0
  217. package/dist/TextFieldNumberActionSheet.js +28 -0
  218. package/dist/TextFieldNumberActionSheet.js.map +1 -0
  219. package/dist/UnifiedScreens.d.ts +9 -0
  220. package/dist/UnifiedScreens.js +25 -0
  221. package/dist/UnifiedScreens.js.map +1 -0
  222. package/dist/Unifier.d.ts +40 -0
  223. package/dist/Unifier.js +203 -0
  224. package/dist/Unifier.js.map +1 -0
  225. package/dist/Utilities.d.ts +31 -0
  226. package/dist/Utilities.js +74 -0
  227. package/dist/Utilities.js.map +1 -0
  228. package/dist/WithLabel.d.ts +5 -0
  229. package/dist/WithLabel.js +27 -0
  230. package/dist/WithLabel.js.map +1 -0
  231. package/dist/dist/ActionSheet.d.ts +139 -0
  232. package/dist/dist/ActionSheet.js +637 -0
  233. package/dist/dist/ActionSheet.js.map +1 -0
  234. package/dist/dist/Banner.d.ts +12 -0
  235. package/dist/dist/Banner.js +49 -0
  236. package/dist/dist/Banner.js.map +1 -0
  237. package/dist/dist/Banner.stories.d.ts +1 -0
  238. package/dist/dist/Banner.stories.js +9 -0
  239. package/dist/dist/Banner.stories.js.map +1 -0
  240. package/dist/dist/BlurBox.d.ts +7 -0
  241. package/dist/dist/BlurBox.js +29 -0
  242. package/dist/dist/BlurBox.js.map +1 -0
  243. package/dist/dist/BlurBox.native.d.ts +9 -0
  244. package/dist/dist/BlurBox.native.js +32 -0
  245. package/dist/dist/BlurBox.native.js.map +1 -0
  246. package/dist/dist/Body.d.ts +12 -0
  247. package/dist/dist/Body.js +19 -0
  248. package/dist/dist/Body.js.map +1 -0
  249. package/dist/dist/Box.d.ts +205 -0
  250. package/dist/dist/Box.js +229 -0
  251. package/dist/dist/Box.js.map +1 -0
  252. package/dist/dist/Box.stories.d.ts +1 -0
  253. package/dist/dist/Box.stories.js +37 -0
  254. package/dist/dist/Box.stories.js.map +1 -0
  255. package/dist/dist/Button.d.ts +16 -0
  256. package/dist/dist/Button.js +98 -0
  257. package/dist/dist/Button.js.map +1 -0
  258. package/dist/dist/Button.stories.d.ts +13 -0
  259. package/dist/dist/Button.stories.js +26 -0
  260. package/dist/dist/Button.stories.js.map +1 -0
  261. package/dist/dist/Card.d.ts +6 -0
  262. package/dist/dist/Card.js +9 -0
  263. package/dist/dist/Card.js.map +1 -0
  264. package/dist/dist/Card.stories.d.ts +6 -0
  265. package/dist/dist/Card.stories.js +11 -0
  266. package/dist/dist/Card.stories.js.map +1 -0
  267. package/dist/dist/CheckBox.d.ts +8 -0
  268. package/dist/dist/CheckBox.js +23 -0
  269. package/dist/dist/CheckBox.js.map +1 -0
  270. package/dist/dist/CheckBox.stories.d.ts +1 -0
  271. package/dist/dist/CheckBox.stories.js +22 -0
  272. package/dist/dist/CheckBox.stories.js.map +1 -0
  273. package/dist/dist/Common.d.ts +5 -0
  274. package/dist/dist/Common.js +47 -0
  275. package/dist/dist/Common.js.map +1 -0
  276. package/dist/dist/DateTimeActionSheet.d.ts +5 -0
  277. package/dist/dist/DateTimeActionSheet.js +24 -0
  278. package/dist/dist/DateTimeActionSheet.js.map +1 -0
  279. package/dist/dist/DecimalRangeActionSheet.d.ts +9 -0
  280. package/dist/dist/DecimalRangeActionSheet.js +57 -0
  281. package/dist/dist/DecimalRangeActionSheet.js.map +1 -0
  282. package/dist/dist/ErrorBoundary.d.ts +12 -0
  283. package/dist/dist/ErrorBoundary.js +32 -0
  284. package/dist/dist/ErrorBoundary.js.map +1 -0
  285. package/dist/dist/ErrorPage.d.ts +7 -0
  286. package/dist/dist/ErrorPage.js +15 -0
  287. package/dist/dist/ErrorPage.js.map +1 -0
  288. package/dist/dist/Field.d.ts +17 -0
  289. package/dist/dist/Field.js +136 -0
  290. package/dist/dist/Field.js.map +1 -0
  291. package/dist/dist/Field.stories.d.ts +6 -0
  292. package/dist/dist/Field.stories.js +25 -0
  293. package/dist/dist/Field.stories.js.map +1 -0
  294. package/dist/dist/FieldWithLabels.d.ts +10 -0
  295. package/dist/dist/FieldWithLabels.js +7 -0
  296. package/dist/dist/FieldWithLabels.js.map +1 -0
  297. package/dist/dist/FlatList.d.ts +1 -0
  298. package/dist/dist/FlatList.js +4 -0
  299. package/dist/dist/FlatList.js.map +1 -0
  300. package/dist/dist/Form.d.ts +15 -0
  301. package/dist/dist/Form.js +56 -0
  302. package/dist/dist/Form.js.map +1 -0
  303. package/dist/dist/Form.stories.d.ts +6 -0
  304. package/dist/dist/Form.stories.js +27 -0
  305. package/dist/dist/Form.stories.js.map +1 -0
  306. package/dist/dist/HeaderButtons.d.ts +39 -0
  307. package/dist/dist/HeaderButtons.js +50 -0
  308. package/dist/dist/HeaderButtons.js.map +1 -0
  309. package/dist/dist/HeaderButtons.stories.d.ts +6 -0
  310. package/dist/dist/HeaderButtons.stories.js +7 -0
  311. package/dist/dist/HeaderButtons.stories.js.map +1 -0
  312. package/dist/dist/Heading.d.ts +32 -0
  313. package/dist/dist/Heading.js +47 -0
  314. package/dist/dist/Heading.js.map +1 -0
  315. package/dist/dist/Heading.stories.d.ts +1 -0
  316. package/dist/dist/Heading.stories.js +11 -0
  317. package/dist/dist/Heading.stories.js.map +1 -0
  318. package/dist/dist/HeightActionSheet.d.ts +9 -0
  319. package/dist/dist/HeightActionSheet.js +50 -0
  320. package/dist/dist/HeightActionSheet.js.map +1 -0
  321. package/dist/dist/Icon.d.ts +12 -0
  322. package/dist/dist/Icon.js +126 -0
  323. package/dist/dist/Icon.js.map +1 -0
  324. package/dist/dist/Icon.stories.d.ts +1 -0
  325. package/dist/dist/Icon.stories.js +11 -0
  326. package/dist/dist/Icon.stories.js.map +1 -0
  327. package/dist/dist/IconButton.d.ts +42 -0
  328. package/dist/dist/IconButton.js +41 -0
  329. package/dist/dist/IconButton.js.map +1 -0
  330. package/dist/dist/IconButton.stories.d.ts +1 -0
  331. package/dist/dist/IconButton.stories.js +8 -0
  332. package/dist/dist/IconButton.stories.js.map +1 -0
  333. package/dist/dist/Image.d.ts +9 -0
  334. package/dist/dist/Image.js +37 -0
  335. package/dist/dist/Image.js.map +1 -0
  336. package/dist/dist/ImageBackground.d.ts +6 -0
  337. package/dist/dist/ImageBackground.js +9 -0
  338. package/dist/dist/ImageBackground.js.map +1 -0
  339. package/dist/dist/Layer.d.ts +5 -0
  340. package/dist/dist/Layer.js +13 -0
  341. package/dist/dist/Layer.js.map +1 -0
  342. package/dist/dist/Link.d.ts +7 -0
  343. package/dist/dist/Link.js +13 -0
  344. package/dist/dist/Link.js.map +1 -0
  345. package/dist/dist/Link.stories.d.ts +1 -0
  346. package/dist/dist/Link.stories.js +8 -0
  347. package/dist/dist/Link.stories.js.map +1 -0
  348. package/dist/dist/Mask.d.ts +5 -0
  349. package/dist/dist/Mask.js +23 -0
  350. package/dist/dist/Mask.js.map +1 -0
  351. package/dist/dist/Mask.stories.d.ts +1 -0
  352. package/dist/dist/Mask.stories.js +13 -0
  353. package/dist/dist/Mask.stories.js.map +1 -0
  354. package/dist/dist/MediaQuery.d.ts +2 -0
  355. package/dist/dist/MediaQuery.js +34 -0
  356. package/dist/dist/MediaQuery.js.map +1 -0
  357. package/dist/dist/Meta.d.ts +6 -0
  358. package/dist/dist/Meta.js +8 -0
  359. package/dist/dist/Meta.js.map +1 -0
  360. package/dist/dist/ModalSheet.d.ts +3 -0
  361. package/dist/dist/ModalSheet.js +43 -0
  362. package/dist/dist/ModalSheet.js.map +1 -0
  363. package/dist/dist/NumberPickerActionSheet.d.ts +5 -0
  364. package/dist/dist/NumberPickerActionSheet.js +25 -0
  365. package/dist/dist/NumberPickerActionSheet.js.map +1 -0
  366. package/dist/dist/Page.d.ts +9 -0
  367. package/dist/dist/Page.js +26 -0
  368. package/dist/dist/Page.js.map +1 -0
  369. package/dist/dist/Permissions.d.ts +1 -0
  370. package/dist/dist/Permissions.js +36 -0
  371. package/dist/dist/Permissions.js.map +1 -0
  372. package/dist/dist/PickerSelect.d.ts +172 -0
  373. package/dist/dist/PickerSelect.js +403 -0
  374. package/dist/dist/PickerSelect.js.map +1 -0
  375. package/dist/dist/Pill.d.ts +7 -0
  376. package/dist/dist/Pill.js +10 -0
  377. package/dist/dist/Pill.js.map +1 -0
  378. package/dist/dist/Pill.stories.d.ts +1 -0
  379. package/dist/dist/Pill.stories.js +36 -0
  380. package/dist/dist/Pill.stories.js.map +1 -0
  381. package/dist/dist/Pog.d.ts +7 -0
  382. package/dist/dist/Pog.js +144 -0
  383. package/dist/dist/Pog.js.map +1 -0
  384. package/dist/dist/ProgressBar.d.ts +16 -0
  385. package/dist/dist/ProgressBar.js +40 -0
  386. package/dist/dist/ProgressBar.js.map +1 -0
  387. package/dist/dist/ScrollView.d.ts +1 -0
  388. package/dist/dist/ScrollView.js +4 -0
  389. package/dist/dist/ScrollView.js.map +1 -0
  390. package/dist/dist/SegmentedControl.d.ts +9 -0
  391. package/dist/dist/SegmentedControl.js +18 -0
  392. package/dist/dist/SegmentedControl.js.map +1 -0
  393. package/dist/dist/SegmentedControl.stories.d.ts +1 -0
  394. package/dist/dist/SegmentedControl.stories.js +32 -0
  395. package/dist/dist/SegmentedControl.stories.js.map +1 -0
  396. package/dist/dist/SelectList.d.ts +9 -0
  397. package/dist/dist/SelectList.js +29 -0
  398. package/dist/dist/SelectList.js.map +1 -0
  399. package/dist/dist/SelectList.stories.d.ts +1 -0
  400. package/dist/dist/SelectList.stories.js +24 -0
  401. package/dist/dist/SelectList.stories.js.map +1 -0
  402. package/dist/dist/Spinner.d.ts +44 -0
  403. package/dist/dist/Spinner.js +58 -0
  404. package/dist/dist/Spinner.js.map +1 -0
  405. package/dist/dist/Spinner.stories.d.ts +1 -0
  406. package/dist/dist/Spinner.stories.js +10 -0
  407. package/dist/dist/Spinner.stories.js.map +1 -0
  408. package/dist/dist/SplitPage.d.ts +7 -0
  409. package/dist/dist/SplitPage.js +20 -0
  410. package/dist/dist/SplitPage.js.map +1 -0
  411. package/dist/dist/SplitPage.stories.d.ts +1 -0
  412. package/dist/dist/SplitPage.stories.js +7 -0
  413. package/dist/dist/SplitPage.stories.js.map +1 -0
  414. package/dist/dist/StorybookContainer.d.ts +7 -0
  415. package/dist/dist/StorybookContainer.js +9 -0
  416. package/dist/dist/StorybookContainer.js.map +1 -0
  417. package/dist/dist/Switch.d.ts +6 -0
  418. package/dist/dist/Switch.js +10 -0
  419. package/dist/dist/Switch.js.map +1 -0
  420. package/dist/dist/Switch.stories.d.ts +1 -0
  421. package/dist/dist/Switch.stories.js +27 -0
  422. package/dist/dist/Switch.stories.js.map +1 -0
  423. package/dist/dist/TapToEdit.d.ts +9 -0
  424. package/dist/dist/TapToEdit.js +27 -0
  425. package/dist/dist/TapToEdit.js.map +1 -0
  426. package/dist/dist/Text.d.ts +36 -0
  427. package/dist/dist/Text.js +86 -0
  428. package/dist/dist/Text.js.map +1 -0
  429. package/dist/dist/Text.stories.d.ts +1 -0
  430. package/dist/dist/Text.stories.js +13 -0
  431. package/dist/dist/Text.stories.js.map +1 -0
  432. package/dist/dist/TextArea.d.ts +6 -0
  433. package/dist/dist/TextArea.js +13 -0
  434. package/dist/dist/TextArea.js.map +1 -0
  435. package/dist/dist/TextArea.stories.d.ts +12 -0
  436. package/dist/dist/TextArea.stories.js +21 -0
  437. package/dist/dist/TextArea.stories.js.map +1 -0
  438. package/dist/dist/TextField.d.ts +47 -0
  439. package/dist/dist/TextField.js +199 -0
  440. package/dist/dist/TextField.js.map +1 -0
  441. package/dist/dist/TextField.stories.d.ts +6 -0
  442. package/dist/dist/TextField.stories.js +15 -0
  443. package/dist/dist/TextField.stories.js.map +1 -0
  444. package/dist/dist/TextFieldNumberActionSheet.d.ts +5 -0
  445. package/dist/dist/TextFieldNumberActionSheet.js +24 -0
  446. package/dist/dist/TextFieldNumberActionSheet.js.map +1 -0
  447. package/dist/dist/UnifiedScreens.d.ts +2 -0
  448. package/dist/dist/UnifiedScreens.js +26 -0
  449. package/dist/dist/UnifiedScreens.js.map +1 -0
  450. package/dist/dist/Unifier.d.ts +131 -0
  451. package/dist/dist/Unifier.js +198 -0
  452. package/dist/dist/Unifier.js.map +1 -0
  453. package/dist/dist/Utilities.d.ts +51 -0
  454. package/dist/dist/Utilities.js +77 -0
  455. package/dist/dist/Utilities.js.map +1 -0
  456. package/dist/dist/WithLabel.d.ts +6 -0
  457. package/dist/dist/WithLabel.js +23 -0
  458. package/dist/dist/WithLabel.js.map +1 -0
  459. package/dist/dist/index.d.ts +43 -0
  460. package/dist/dist/index.js +49 -0
  461. package/dist/dist/index.js.map +1 -0
  462. package/dist/index.d.ts +1284 -0
  463. package/dist/index.js +49 -0
  464. package/dist/index.js.map +1 -0
  465. package/package.json +197 -0
  466. package/src/ActionSheet.tsx +1234 -0
  467. package/src/Banner.tsx +124 -0
  468. package/src/BlurBox.native.tsx +40 -0
  469. package/src/BlurBox.tsx +31 -0
  470. package/src/Body.tsx +32 -0
  471. package/src/Box.tsx +277 -0
  472. package/src/Button.tsx +139 -0
  473. package/src/Card.tsx +23 -0
  474. package/src/CheckBox.tsx +93 -0
  475. package/src/Common.ts +1376 -0
  476. package/src/DateTimeActionSheet.tsx +61 -0
  477. package/src/DecimalRangeActionSheet.tsx +113 -0
  478. package/src/ErrorBoundary.tsx +39 -0
  479. package/src/ErrorPage.tsx +44 -0
  480. package/src/Field.tsx +194 -0
  481. package/src/FieldWithLabels.tsx +36 -0
  482. package/src/FlatList.tsx +2 -0
  483. package/src/Form.tsx +182 -0
  484. package/src/HeaderButtons.tsx +107 -0
  485. package/src/Heading.tsx +53 -0
  486. package/src/HeightActionSheet.tsx +104 -0
  487. package/src/Icon.tsx +139 -0
  488. package/src/IconButton.tsx +52 -0
  489. package/src/Image.tsx +50 -0
  490. package/src/ImageBackground.tsx +13 -0
  491. package/src/Layer.tsx +17 -0
  492. package/src/Link.tsx +17 -0
  493. package/src/Mask.tsx +24 -0
  494. package/src/MediaQuery.ts +28 -0
  495. package/src/Meta.tsx +9 -0
  496. package/src/ModalSheet.tsx +58 -0
  497. package/src/NumberPickerActionSheet.tsx +66 -0
  498. package/src/Page.tsx +134 -0
  499. package/src/Permissions.ts +44 -0
  500. package/src/PickerSelect.tsx +673 -0
  501. package/src/Pill.tsx +24 -0
  502. package/src/Pog.tsx +211 -0
  503. package/src/ProgressBar.tsx +55 -0
  504. package/src/ScrollView.tsx +2 -0
  505. package/src/SegmentedControl.tsx +51 -0
  506. package/src/SelectList.tsx +48 -0
  507. package/src/Spinner.tsx +69 -0
  508. package/src/SplitPage.tsx +115 -0
  509. package/src/Switch.tsx +19 -0
  510. package/src/TapToEdit.tsx +48 -0
  511. package/src/Text.tsx +92 -0
  512. package/src/TextArea.tsx +15 -0
  513. package/src/TextField.tsx +291 -0
  514. package/src/TextFieldNumberActionSheet.tsx +61 -0
  515. package/src/UnifiedScreens.ts +24 -0
  516. package/src/Unifier.ts +268 -0
  517. package/src/Utilities.tsx +161 -0
  518. package/src/WithLabel.tsx +46 -0
  519. package/src/index.tsx +1332 -0
  520. package/src/polyfill.d.ts +11 -0
  521. package/tsconfig.json +29 -0
@@ -0,0 +1,1284 @@
1
+ export * from "./Common";
2
+ export * from "./Banner";
3
+ export * from "./BlurBox";
4
+ export * from "./Body";
5
+ export * from "./Box";
6
+ export * from "./Button";
7
+ export * from "./Card";
8
+ export * from "./CheckBox";
9
+ export * from "./DateTimeActionSheet";
10
+ export * from "./ErrorBoundary";
11
+ export * from "./ErrorPage";
12
+ export * from "./FlatList";
13
+ export * from "./Field";
14
+ export * from "./Form";
15
+ export * from "./HeaderButtons";
16
+ export * from "./Heading";
17
+ export * from "./Icon";
18
+ export * from "./ActionSheet";
19
+ export * from "./IconButton";
20
+ export * from "./Image";
21
+ export * from "./ImageBackground";
22
+ export * from "./Link";
23
+ export * from "./Mask";
24
+ export * from "./Meta";
25
+ export * from "./Page";
26
+ export * from "./Pill";
27
+ export * from "./ScrollView";
28
+ export * from "./SegmentedControl";
29
+ export * from "./SelectList";
30
+ export * from "./SplitPage";
31
+ export * from "./Spinner";
32
+ export * from "./Switch";
33
+ export * from "./TapToEdit";
34
+ export * from "./Text";
35
+ export * from "./TextArea";
36
+ export * from "./TextField";
37
+ export * from "./UnifiedScreens";
38
+ export * from "./Unifier";
39
+ export * from "./WithLabel";
40
+ export * from "./DecimalRangeActionSheet";
41
+ export * from "./HeightActionSheet";
42
+ export * from "./NumberPickerActionSheet";
43
+ export * from "./ModalSheet";
44
+ export * from "./ProgressBar";
45
+ declare type ImageRequireSource = number;
46
+ interface Insets {
47
+ top?: number;
48
+ left?: number;
49
+ bottom?: number;
50
+ right?: number;
51
+ }
52
+ export interface LayoutComponent<P = {}> {
53
+ /**
54
+ * Component reference id, Auto generated if empty
55
+ */
56
+ id?: string;
57
+ /**
58
+ * Name of your component
59
+ */
60
+ name: string | number;
61
+ /**
62
+ * Styling options
63
+ */
64
+ options?: Options;
65
+ /**
66
+ * Properties to pass down to the component
67
+ */
68
+ passProps?: P;
69
+ }
70
+ export interface LayoutStackChildren {
71
+ /**
72
+ * Set component
73
+ */
74
+ component?: LayoutComponent;
75
+ /**
76
+ * Set the external component
77
+ */
78
+ externalComponent?: ExternalComponent;
79
+ }
80
+ export interface LayoutStack {
81
+ /**
82
+ * Set ID of the stack so you can use Navigation.mergeOptions to
83
+ * update options
84
+ */
85
+ id?: string;
86
+ /**
87
+ * Set children screens
88
+ */
89
+ children?: LayoutStackChildren[];
90
+ /**
91
+ * Set options
92
+ */
93
+ options?: Options;
94
+ }
95
+ export interface LayoutTabsChildren {
96
+ /**
97
+ * Set stack
98
+ */
99
+ stack?: LayoutStack;
100
+ /**
101
+ * Set component
102
+ */
103
+ component?: LayoutComponent;
104
+ /**
105
+ * Set the external component
106
+ */
107
+ externalComponent?: ExternalComponent;
108
+ }
109
+ export interface LayoutBottomTabs {
110
+ /**
111
+ * Set ID of the stack so you can use Navigation.mergeOptions to
112
+ * update options
113
+ */
114
+ id?: string;
115
+ /**
116
+ * Set the children screens
117
+ */
118
+ children?: LayoutTabsChildren[];
119
+ /**
120
+ * Set the bottom tabs options
121
+ */
122
+ options?: Options;
123
+ }
124
+ export interface LayoutSideMenu {
125
+ /**
126
+ * Set ID of the stack so you can use Navigation.mergeOptions to
127
+ * update options
128
+ */
129
+ id?: string;
130
+ /**
131
+ * Set the left side bar
132
+ */
133
+ left?: LayoutStackChildren;
134
+ /**
135
+ * Set the center view
136
+ */
137
+ center: Layout;
138
+ /**
139
+ * Set the right side bar
140
+ */
141
+ right?: LayoutStackChildren;
142
+ /**
143
+ * Set the bottom tabs options
144
+ */
145
+ options?: Options;
146
+ }
147
+ export interface LayoutSplitView {
148
+ /**
149
+ * Set ID of the stack so you can use Navigation.mergeOptions to
150
+ * update options
151
+ */
152
+ id?: string;
153
+ /**
154
+ * Set master layout (the smaller screen, sidebar)
155
+ */
156
+ master?: Layout;
157
+ /**
158
+ * Set detail layout (the larger screen, flexes)
159
+ */
160
+ detail?: Layout;
161
+ /**
162
+ * Configure split view
163
+ */
164
+ options?: Options;
165
+ }
166
+ export interface LayoutTopTabs {
167
+ /**
168
+ * Set the layout's id so Navigation.mergeOptions can be used to update options
169
+ */
170
+ id?: string;
171
+ /**
172
+ * Set the children screens
173
+ */
174
+ children?: LayoutTabsChildren[];
175
+ /**
176
+ * Configure top tabs
177
+ */
178
+ options?: Options;
179
+ }
180
+ export interface LayoutRoot {
181
+ /**
182
+ * Set the root
183
+ */
184
+ root: Layout;
185
+ modals?: any;
186
+ overlays?: any;
187
+ }
188
+ export interface ExternalComponent {
189
+ /**
190
+ * Set the screen's id so Navigation.mergeOptions can be used to update options
191
+ */
192
+ id?: string;
193
+ /**
194
+ * Name of your component
195
+ */
196
+ name: string | number;
197
+ /**
198
+ * Configure component options
199
+ */
200
+ options?: Options;
201
+ /**
202
+ * Properties to pass down to the component
203
+ */
204
+ passProps?: object;
205
+ }
206
+ export interface Layout<P = {}> {
207
+ /**
208
+ * Set the component
209
+ */
210
+ component?: LayoutComponent<P>;
211
+ /**
212
+ * Set the stack
213
+ */
214
+ stack?: LayoutStack;
215
+ /**
216
+ * Set the bottom tabs
217
+ */
218
+ bottomTabs?: LayoutBottomTabs;
219
+ /**
220
+ * Set the side menu
221
+ */
222
+ sideMenu?: LayoutSideMenu;
223
+ /**
224
+ * Set the split view
225
+ */
226
+ splitView?: LayoutSplitView;
227
+ /**
228
+ * Set the top tabs
229
+ */
230
+ topTabs?: LayoutTopTabs;
231
+ /**
232
+ * Set the external component
233
+ */
234
+ externalComponent?: ExternalComponent;
235
+ }
236
+ declare type Color = string;
237
+ declare type FontFamily = string;
238
+ declare type FontWeight = "regular" | "bold" | "thin" | "ultraLight" | "light" | "medium" | "semibold" | "heavy" | "black";
239
+ declare type LayoutOrientation = "portrait" | "landscape";
240
+ declare type AndroidDensityNumber = number;
241
+ declare type SystemItemIcon = "done" | "cancel" | "edit" | "save" | "add" | "flexibleSpace" | "fixedSpace" | "compose" | "reply" | "action" | "organize" | "bookmarks" | "search" | "refresh" | "stop" | "camera" | "trash" | "play" | "pause" | "rewind" | "fastForward" | "undo" | "redo";
242
+ declare type Interpolation = "linear" | "accelerateDecelerate" | "decelerate" | "accelerate" | "decelerateAccelerate";
243
+ export interface OptionsSplitView {
244
+ /**
245
+ * Master view display mode
246
+ * @default 'auto'
247
+ */
248
+ displayMode?: "auto" | "visible" | "hidden" | "overlay";
249
+ /**
250
+ * Master view side. Leading is left. Trailing is right.
251
+ * @default 'leading'
252
+ */
253
+ primaryEdge?: "leading" | "trailing";
254
+ /**
255
+ * Set the minimum width of master view
256
+ */
257
+ minWidth?: number;
258
+ /**
259
+ * Set the maximum width of master view
260
+ */
261
+ maxWidth?: number;
262
+ }
263
+ export interface OptionsStatusBar {
264
+ /**
265
+ * Set the status bar visibility
266
+ * @default true
267
+ */
268
+ visible?: boolean;
269
+ /**
270
+ * Set the text color of the status bar
271
+ * @default 'light'
272
+ */
273
+ style?: "light" | "dark";
274
+ /**
275
+ * Set the background color of the status bar
276
+ * #### (Android specific)
277
+ */
278
+ backgroundColor?: Color;
279
+ /**
280
+ * Draw screen behind the status bar
281
+ * #### (Android specific)
282
+ */
283
+ drawBehind?: boolean;
284
+ }
285
+ export interface OptionsLayout {
286
+ fitSystemWindows?: boolean;
287
+ /**
288
+ * Set the screen background color
289
+ */
290
+ backgroundColor?: Color;
291
+ /**
292
+ * Set background color only for components, helps reduce overdraw if background color is set in default options.
293
+ * #### (Android specific)
294
+ */
295
+ componentBackgroundColor?: Color;
296
+ /**
297
+ * Set the allowed orientations
298
+ */
299
+ orientation?: LayoutOrientation[];
300
+ /**
301
+ * Layout top margin
302
+ * #### (Android specific)
303
+ */
304
+ topMargin?: number;
305
+ /**
306
+ * Set language direction.
307
+ * only works with DefaultOptions
308
+ */
309
+ direction?: "rtl" | "ltr";
310
+ }
311
+ export declare enum OptionsModalPresentationStyle {
312
+ formSheet = "formSheet",
313
+ pageSheet = "pageSheet",
314
+ overFullScreen = "overFullScreen",
315
+ overCurrentContext = "overCurrentContext",
316
+ currentContext = "currentContext",
317
+ popover = "popover",
318
+ fullScreen = "fullScreen",
319
+ none = "none"
320
+ }
321
+ export declare enum OptionsModalTransitionStyle {
322
+ coverVertical = "coverVertical",
323
+ crossDissolve = "crossDissolve",
324
+ flipHorizontal = "flipHorizontal",
325
+ partialCurl = "partialCurl"
326
+ }
327
+ export interface OptionsTopBarLargeTitle {
328
+ /**
329
+ * Enable large titles
330
+ */
331
+ visible?: boolean;
332
+ /**
333
+ * Set the font size of large title's text
334
+ */
335
+ fontSize?: number;
336
+ /**
337
+ * Set the color of large title's text
338
+ */
339
+ color?: Color;
340
+ /**
341
+ * Set the font family of large title's text
342
+ */
343
+ fontFamily?: FontFamily;
344
+ /**
345
+ * Set the font weight, ignore fontFamily and use the iOS system fonts instead
346
+ * #### (iOS specific)
347
+ */
348
+ fontWeight?: FontWeight;
349
+ }
350
+ export interface OptionsTopBarTitle {
351
+ /**
352
+ * Text to display in the title area
353
+ */
354
+ text?: string;
355
+ /**
356
+ * Font size
357
+ */
358
+ fontSize?: number;
359
+ /**
360
+ * Text color
361
+ */
362
+ color?: Color;
363
+ /**
364
+ * Title font family
365
+ *
366
+ * Make sure that the font is available
367
+ */
368
+ fontFamily?: FontFamily;
369
+ /**
370
+ * Set the font weight, ignore fontFamily and use the iOS system fonts instead
371
+ * #### (iOS specific)
372
+ */
373
+ fontWeight?: FontWeight;
374
+ /**
375
+ * Custom component as the title view
376
+ */
377
+ component?: {
378
+ /**
379
+ * Component reference id, Auto generated if empty
380
+ */
381
+ id?: string;
382
+ /**
383
+ * Name of your component
384
+ */
385
+ name: string;
386
+ /**
387
+ * Set component alignment
388
+ */
389
+ alignment?: "center" | "fill";
390
+ /**
391
+ * Properties to pass down to the component
392
+ */
393
+ passProps?: object;
394
+ };
395
+ /**
396
+ * Top Bar title height in densitiy pixels
397
+ * #### (Android specific)
398
+ */
399
+ height?: number;
400
+ /**
401
+ * Title alignment
402
+ * #### (Android specific)
403
+ */
404
+ alignment?: "center" | "fill";
405
+ }
406
+ export interface OptionsTopBarSubtitle {
407
+ /**
408
+ * Set subtitle text
409
+ */
410
+ text?: string;
411
+ /**
412
+ * Set subtitle font size
413
+ */
414
+ fontSize?: number;
415
+ /**
416
+ * Set subtitle color
417
+ */
418
+ color?: Color;
419
+ /**
420
+ * Set subtitle font family
421
+ */
422
+ fontFamily?: FontFamily;
423
+ /**
424
+ * Set the font weight, ignore fontFamily and use the iOS system fonts instead
425
+ * #### (iOS specific)
426
+ */
427
+ fontWeight?: FontWeight;
428
+ /**
429
+ * Set subtitle alignment
430
+ */
431
+ alignment?: "center";
432
+ }
433
+ export interface OptionsTopBarBackButton {
434
+ /**
435
+ * Image to show as the back button
436
+ */
437
+ icon?: ImageRequireSource;
438
+ /**
439
+ * Weither the back button is visible or not
440
+ * @default true
441
+ */
442
+ visible?: boolean;
443
+ /**
444
+ * Set the back button title
445
+ * #### (iOS specific)
446
+ */
447
+ title?: string;
448
+ /**
449
+ * Show title or just the icon
450
+ * #### (iOS specific)
451
+ */
452
+ showTitle?: boolean;
453
+ /**
454
+ * Back button icon and text color
455
+ */
456
+ color?: Color;
457
+ /**
458
+ * Set subtitle font size
459
+ */
460
+ fontSize?: number;
461
+ /**
462
+ * Set subtitle font family
463
+ */
464
+ fontFamily?: FontFamily;
465
+ /**
466
+ * Set testID for reference in E2E tests
467
+ */
468
+ testID?: string;
469
+ }
470
+ export interface OptionsTopBarBackground {
471
+ /**
472
+ * Background color of the top bar
473
+ */
474
+ color?: Color;
475
+ /**
476
+ * Clip the top bar background to bounds if set to true.
477
+ * #### (iOS specific)
478
+ */
479
+ clipToBounds?: boolean;
480
+ /**
481
+ * Set a custom component for the Top Bar background
482
+ */
483
+ component?: {
484
+ name?: string;
485
+ /**
486
+ * Properties to pass down to the component
487
+ */
488
+ passProps?: object;
489
+ };
490
+ /**
491
+ * Allows the NavBar to be translucent (blurred)
492
+ * #### (iOS specific)
493
+ */
494
+ translucent?: boolean;
495
+ /**
496
+ * Enable background blur
497
+ * #### (iOS specific)
498
+ */
499
+ blur?: boolean;
500
+ }
501
+ export interface OptionsTopBarButton {
502
+ /**
503
+ * Button id for reference press event
504
+ */
505
+ id: string;
506
+ /**
507
+ * Set the button icon
508
+ */
509
+ icon?: ImageRequireSource;
510
+ /**
511
+ * Set the button icon insets
512
+ */
513
+ iconInsets?: IconInsets;
514
+ /**
515
+ * Set the button as a custom component
516
+ */
517
+ component?: {
518
+ /**
519
+ * Component reference id, Auto generated if empty
520
+ */
521
+ id?: string;
522
+ /**
523
+ * Name of your component
524
+ */
525
+ name: string;
526
+ /**
527
+ * Properties to pass down to the component
528
+ */
529
+ passProps?: object;
530
+ /**
531
+ * (Android only) component width
532
+ */
533
+ width?: number;
534
+ /**
535
+ * (Android only) component height
536
+ */
537
+ height?: number;
538
+ };
539
+ /**
540
+ * (iOS only) Set the button as an iOS system icon
541
+ */
542
+ systemItem?: SystemItemIcon;
543
+ /**
544
+ * Set the button text
545
+ */
546
+ text?: string;
547
+ /**
548
+ * Overrides the text that's read by the screen reader when the user interacts with the element
549
+ */
550
+ accessibilityLabel?: string;
551
+ /**
552
+ * Set the button font family
553
+ */
554
+ fontFamily?: string;
555
+ /**
556
+ * Set the font weight, ignore fontFamily and use the iOS system fonts instead
557
+ * #### (iOS specific)
558
+ */
559
+ fontWeight?: FontWeight;
560
+ /**
561
+ * Set the button enabled or disabled
562
+ * @default true
563
+ */
564
+ enabled?: boolean;
565
+ /**
566
+ * Disable icon tinting
567
+ */
568
+ disableIconTint?: boolean;
569
+ /**
570
+ * Set text color
571
+ */
572
+ color?: Color;
573
+ /**
574
+ * Set text color in disabled state
575
+ */
576
+ disabledColor?: Color;
577
+ /**
578
+ * Set testID for reference in E2E tests
579
+ */
580
+ testID?: string;
581
+ /**
582
+ * (Android only) Set showAsAction value
583
+ * @see {@link https://developer.android.com/guide/topics/resources/menu-resource|Android developer guide: Menu resource}
584
+ */
585
+ showAsAction?: "ifRoom" | "withText" | "always" | "never";
586
+ }
587
+ export interface OptionsTopBar {
588
+ /**
589
+ * Show or hide the top bar
590
+ */
591
+ visible?: boolean;
592
+ /**
593
+ * Controls whether TopBar visibility changes should be animated
594
+ */
595
+ animate?: boolean;
596
+ /**
597
+ * Top bar will hide and show based on users scroll direction
598
+ */
599
+ hideOnScroll?: boolean;
600
+ /**
601
+ * Change button colors in the top bar
602
+ */
603
+ leftButtonColor?: Color;
604
+ rightButtonColor?: Color;
605
+ leftButtonDisabledColor?: Color;
606
+ rightButtonDisabledColor?: Color;
607
+ /**
608
+ * Draw behind the navbar
609
+ */
610
+ drawBehind?: boolean;
611
+ /**
612
+ * Can be used to reference the top bar in E2E tests
613
+ */
614
+ testID?: string;
615
+ /**
616
+ * Title configuration
617
+ */
618
+ title?: OptionsTopBarTitle;
619
+ /**
620
+ * Subtitle configuration
621
+ */
622
+ subtitle?: OptionsTopBarSubtitle;
623
+ /**
624
+ * Back button configuration
625
+ */
626
+ backButton?: OptionsTopBarBackButton;
627
+ /**
628
+ * List of buttons to the left
629
+ */
630
+ leftButtons?: OptionsTopBarButton[];
631
+ /**
632
+ * List of buttons to the right
633
+ */
634
+ rightButtons?: OptionsTopBarButton[];
635
+ /**
636
+ * Background configuration
637
+ */
638
+ background?: OptionsTopBarBackground;
639
+ /**
640
+ * Control the NavBar blur style
641
+ * #### (iOS specific)
642
+ * @requires translucent: true
643
+ * @default 'default'
644
+ */
645
+ barStyle?: "default" | "black";
646
+ /**
647
+ * Disable the border on bottom of the navbar
648
+ * #### (iOS specific)
649
+ * @default false
650
+ */
651
+ noBorder?: boolean;
652
+ /**
653
+ * Show a UISearchBar in the Top Bar
654
+ * #### (iOS 11+ specific)
655
+ */
656
+ searchBar?: boolean;
657
+ /**
658
+ * Hides the UISearchBar when scrolling
659
+ * #### (iOS 11+ specific)
660
+ */
661
+ searchBarHiddenWhenScrolling?: boolean;
662
+ /**
663
+ * The placeholder value in the UISearchBar
664
+ * #### (iOS 11+ specific)
665
+ */
666
+ searchBarPlaceholder?: string;
667
+ /**
668
+ * Controls Hiding NavBar on focus UISearchBar
669
+ * #### (iOS 11+ specific)
670
+ */
671
+ hideNavBarOnFocusSearchBar?: boolean;
672
+ /**
673
+ * Control the Large Title configuration
674
+ * #### (iOS 11+ specific)
675
+ */
676
+ largeTitle?: OptionsTopBarLargeTitle;
677
+ /**
678
+ * Set the height of the navbar in dp
679
+ * #### (Android specific)
680
+ */
681
+ height?: AndroidDensityNumber;
682
+ /**
683
+ * Change the navbar border color
684
+ * #### (Android specific)
685
+ */
686
+ borderColor?: Color;
687
+ /**
688
+ * Set the border height of the navbar in dp
689
+ * #### (Android specific)
690
+ */
691
+ borderHeight?: AndroidDensityNumber;
692
+ /**
693
+ * Set the elevation of the navbar in dp
694
+ * #### (Android specific)
695
+ */
696
+ elevation?: AndroidDensityNumber;
697
+ /**
698
+ * Layout top margin
699
+ * #### (Android specific)
700
+ */
701
+ topMargin?: number;
702
+ }
703
+ export interface SharedElementTransition {
704
+ fromId: string;
705
+ toId: string;
706
+ duration?: number;
707
+ interpolation: Interpolation;
708
+ }
709
+ export interface ElementTransition {
710
+ id: string;
711
+ alpha?: AppearingElementAnimation | DisappearingElementAnimation;
712
+ translationX?: AppearingElementAnimation | DisappearingElementAnimation;
713
+ translationY?: AppearingElementAnimation | DisappearingElementAnimation;
714
+ scaleX?: AppearingElementAnimation | DisappearingElementAnimation;
715
+ scaleY?: AppearingElementAnimation | DisappearingElementAnimation;
716
+ rotationX?: AppearingElementAnimation | DisappearingElementAnimation;
717
+ rotationY?: AppearingElementAnimation | DisappearingElementAnimation;
718
+ x?: AppearingElementAnimation | DisappearingElementAnimation;
719
+ y?: AppearingElementAnimation | DisappearingElementAnimation;
720
+ }
721
+ export interface AppearingElementAnimation extends ElementAnimation {
722
+ from: number;
723
+ }
724
+ export interface DisappearingElementAnimation extends ElementAnimation {
725
+ to: number;
726
+ }
727
+ export interface ElementAnimation {
728
+ duration: number;
729
+ startDelay?: number;
730
+ interpolation: Interpolation;
731
+ }
732
+ export interface OptionsFab {
733
+ id: string;
734
+ backgroundColor?: Color;
735
+ clickColor?: Color;
736
+ rippleColor?: Color;
737
+ visible?: boolean;
738
+ icon?: ImageRequireSource;
739
+ iconColor?: Color;
740
+ alignHorizontally?: "left" | "right";
741
+ alignVertically?: "top" | "bottom";
742
+ hideOnScroll?: boolean;
743
+ size?: number;
744
+ actions?: OptionsFab[];
745
+ }
746
+ export interface OptionsBottomTabs {
747
+ /**
748
+ * Show or hide the bottom tabs
749
+ */
750
+ visible?: boolean;
751
+ /**
752
+ * Enable animations when toggling visibility
753
+ */
754
+ animate?: boolean;
755
+ /**
756
+ * Use large icons when possible, even when three tabs without titles are displayed
757
+ * #### (android specific)
758
+ * @default false
759
+ */
760
+ preferLargeIcons?: boolean;
761
+ /**
762
+ * Switch to another screen within the bottom tabs via index (starting from 0)
763
+ */
764
+ currentTabIndex?: number;
765
+ /**
766
+ * Switch to another screen within the bottom tabs via screen name
767
+ */
768
+ currentTabId?: string;
769
+ /**
770
+ * Set a testID to reference the bottom tabs
771
+ */
772
+ testID?: string;
773
+ /**
774
+ * Draw screen component under the tab bar
775
+ */
776
+ drawBehind?: boolean;
777
+ /**
778
+ * Set a background color for the bottom tabs
779
+ */
780
+ backgroundColor?: Color;
781
+ /**
782
+ * Set when tabs are attached to hierarchy consequently when the
783
+ * RootView's constructor is called.
784
+ */
785
+ tabsAttachMode?: "together" | "afterInitialTab" | "onSwitchToTab";
786
+ /**
787
+ * Control the Bottom Tabs blur style
788
+ * #### (iOS specific)
789
+ * @requires translucent: true
790
+ * @default 'default'
791
+ */
792
+ barStyle?: "default" | "black";
793
+ /**
794
+ * Allows the Bottom Tabs to be translucent (blurred)
795
+ * #### (iOS specific)
796
+ */
797
+ translucent?: boolean;
798
+ /**
799
+ * Hide the top line of the Tab Bar
800
+ * #### (iOS specific)
801
+ */
802
+ hideShadow?: boolean;
803
+ /**
804
+ * Control the text display mode below the tab icon
805
+ * #### (Android specific)
806
+ */
807
+ titleDisplayMode?: "alwaysShow" | "showWhenActive" | "alwaysHide" | "showWhenActiveForce";
808
+ /**
809
+ * Set the elevation of the Bottom Tabs in dp
810
+ * #### (Android specific)
811
+ */
812
+ elevation?: AndroidDensityNumber;
813
+ }
814
+ export interface DotIndicatorOptions {
815
+ color?: Color;
816
+ size?: number;
817
+ visible?: boolean;
818
+ }
819
+ export declare type ImageResource = string;
820
+ export interface OptionsBottomTab {
821
+ dotIndicator?: DotIndicatorOptions;
822
+ /**
823
+ * Set the text to display below the icon
824
+ */
825
+ text?: string;
826
+ /**
827
+ * Set the text in a badge that is overlayed over the component
828
+ */
829
+ badge?: string;
830
+ /**
831
+ * Set the background color of the badge that is overlayed over the component
832
+ */
833
+ badgeColor?: string;
834
+ /**
835
+ * Set a testID to reference the tab in E2E tests
836
+ */
837
+ testID?: string;
838
+ /**
839
+ * Set the tab icon
840
+ */
841
+ icon?: ImageRequireSource | ImageResource;
842
+ /**
843
+ * Set the icon tint
844
+ */
845
+ iconColor?: Color;
846
+ /**
847
+ * Set the text color
848
+ */
849
+ textColor?: Color;
850
+ /**
851
+ * Set the selected icon tint
852
+ */
853
+ selectedIconColor?: Color;
854
+ /**
855
+ * Set the selected text color
856
+ */
857
+ selectedTextColor?: Color;
858
+ /**
859
+ * Set the text font family
860
+ */
861
+ fontFamily?: FontFamily;
862
+ /**
863
+ * Set the font weight, ignore fontFamily and use the iOS system fonts instead
864
+ * #### (iOS specific)
865
+ */
866
+ fontWeight?: FontWeight;
867
+ /**
868
+ * Set the text font size
869
+ */
870
+ fontSize?: number;
871
+ /**
872
+ * Set the insets of the icon
873
+ * #### (iOS specific)
874
+ */
875
+ iconInsets?: Insets;
876
+ /**
877
+ * Set selected icon image
878
+ * #### (iOS specific)
879
+ */
880
+ selectedIcon?: ImageRequireSource;
881
+ /**
882
+ * Set true if you want to disable the icon tinting
883
+ * #### (iOS specific)
884
+ */
885
+ disableIconTint?: boolean;
886
+ /**
887
+ * Set true if you want to disable the text tinting
888
+ * #### (iOS specific)
889
+ */
890
+ disableSelectedIconTint?: boolean;
891
+ /**
892
+ * Set the font size for selected tabs
893
+ * #### (Android specific)
894
+ */
895
+ selectedFontSize?: number;
896
+ /**
897
+ * If it's set to false, pressing a tab won't select the tab
898
+ * instead it will emit a bottomTabPressedEvent
899
+ */
900
+ selectTabOnPress?: boolean;
901
+ }
902
+ export interface SideMenuSide {
903
+ /**
904
+ * Show or hide the side menu
905
+ */
906
+ visible?: boolean;
907
+ /**
908
+ * Enable or disable the side menu
909
+ */
910
+ enabled?: boolean;
911
+ /**
912
+ * Set the width of the side menu
913
+ */
914
+ width?: number;
915
+ /**
916
+ * Set the height of the side menu
917
+ */
918
+ height?: number;
919
+ /**
920
+ * Stretch sideMenu contents when opened past the width
921
+ * #### (iOS specific)
922
+ * @default true
923
+ */
924
+ shouldStretchDrawer?: boolean;
925
+ }
926
+ export interface OptionsSideMenu {
927
+ /**
928
+ * Configure the left side menu
929
+ */
930
+ left?: SideMenuSide;
931
+ /**
932
+ * Configure the right side menu
933
+ */
934
+ right?: SideMenuSide;
935
+ /**
936
+ * Configure how a user is allowed to open a drawer using gestures
937
+ * #### (iOS specific)
938
+ * @default 'entireScreen'
939
+ */
940
+ openGestureMode?: "entireScreen" | "bezel";
941
+ }
942
+ export interface OverlayOptions {
943
+ /**
944
+ * Capture touches outside of the Component View
945
+ */
946
+ interceptTouchOutside?: boolean;
947
+ /**
948
+ * Control wether this Overlay should handle Keyboard events.
949
+ * Set this to true if your Overlay contains a TextInput.
950
+ */
951
+ handleKeyboardEvents?: boolean;
952
+ }
953
+ export interface ModalOptions {
954
+ /**
955
+ * Control wether this modal should be dismiss using swipe gesture when the modalPresentationStyle = 'pageSheet'
956
+ * #### (iOS specific)
957
+ */
958
+ swipeToDismiss?: boolean;
959
+ }
960
+ export interface OptionsPreviewAction {
961
+ /**
962
+ * Reference ID to get callbacks from
963
+ */
964
+ id: string;
965
+ /**
966
+ * Action text
967
+ */
968
+ title: string;
969
+ /**
970
+ * Action style
971
+ */
972
+ style?: "default" | "selected" | "destructive";
973
+ /**
974
+ * Subactions that will be shown when this action is pressed.
975
+ */
976
+ actions?: OptionsPreviewAction[];
977
+ }
978
+ export interface OptionsPreview {
979
+ /**
980
+ * Pass a react node tag to mark a SourceRect for a specific
981
+ * peek and pop preview element.
982
+ */
983
+ reactTag?: number;
984
+ /**
985
+ * You can set this property specify the width of the preview.
986
+ * If the width is greater than the device width, it will be zoomed in.
987
+ */
988
+ width?: number;
989
+ /**
990
+ * Height of the preview
991
+ */
992
+ height?: 100;
993
+ /**
994
+ * You can control if the users gesture will result in pushing
995
+ * the preview screen into the stack.
996
+ */
997
+ commit?: boolean;
998
+ /**
999
+ * List of actions that will appear underneath the preview window.
1000
+ * They can be nested for sub actions.
1001
+ */
1002
+ actions?: OptionsPreviewAction[];
1003
+ }
1004
+ export interface OptionsAnimationPropertyConfig {
1005
+ /**
1006
+ * Animate from this value, ex. 0
1007
+ */
1008
+ from?: number;
1009
+ /**
1010
+ * Animate to this value, ex. 1
1011
+ */
1012
+ to?: number;
1013
+ /**
1014
+ * Animation duration
1015
+ * @default 300
1016
+ */
1017
+ duration?: number;
1018
+ /**
1019
+ * Animation delay
1020
+ * @default 0
1021
+ */
1022
+ startDelay?: number;
1023
+ /**
1024
+ * Animation interplation
1025
+ */
1026
+ interpolation?: "accelerate" | "decelerate";
1027
+ }
1028
+ /**
1029
+ * Used to animate the actual content added to the hierarchy.
1030
+ * Content can be a React component (component) or any other layout (Stack, BottomTabs etc)
1031
+ */
1032
+ export interface ScreenAnimationOptions {
1033
+ /**
1034
+ * Animate the element over x value
1035
+ */
1036
+ x?: OptionsAnimationPropertyConfig;
1037
+ /**
1038
+ * Animate the element over y value
1039
+ */
1040
+ y?: OptionsAnimationPropertyConfig;
1041
+ /**
1042
+ * Animate the element over translateX
1043
+ */
1044
+ translationX?: OptionsAnimationPropertyConfig;
1045
+ /**
1046
+ * Animate the element over translateY
1047
+ */
1048
+ translationY?: OptionsAnimationPropertyConfig;
1049
+ /**
1050
+ * Animate the element over opacity
1051
+ */
1052
+ alpha?: OptionsAnimationPropertyConfig;
1053
+ /**
1054
+ * Animate the element over scaleX
1055
+ */
1056
+ scaleX?: OptionsAnimationPropertyConfig;
1057
+ /**
1058
+ * Animate the element over scaleY
1059
+ */
1060
+ scaleY?: OptionsAnimationPropertyConfig;
1061
+ /**
1062
+ * Animate the element over rotationX
1063
+ */
1064
+ rotationX?: OptionsAnimationPropertyConfig;
1065
+ /**
1066
+ * Animate the element over rotationY
1067
+ */
1068
+ rotationY?: OptionsAnimationPropertyConfig;
1069
+ /**
1070
+ * Animate the element over rotation
1071
+ */
1072
+ rotation?: OptionsAnimationPropertyConfig;
1073
+ /**
1074
+ * Wait for the root view to render before start animation
1075
+ */
1076
+ waitForRender?: boolean;
1077
+ /**
1078
+ * Enable or disable the animation
1079
+ * @default true
1080
+ */
1081
+ enabled?: boolean;
1082
+ }
1083
+ export interface IconInsets {
1084
+ /**
1085
+ * Configure top inset
1086
+ */
1087
+ top?: number;
1088
+ /**
1089
+ * Configure left inset
1090
+ */
1091
+ left?: number;
1092
+ /**
1093
+ * Configure bottom inset
1094
+ */
1095
+ bottom?: number;
1096
+ /**
1097
+ * Configure right inset
1098
+ */
1099
+ right?: number;
1100
+ }
1101
+ export interface ViewAnimationOptions extends ScreenAnimationOptions {
1102
+ /**
1103
+ * ID of the Top Bar we want to animate
1104
+ */
1105
+ id?: string;
1106
+ }
1107
+ /**
1108
+ * Used for describing stack commands animations.
1109
+ */
1110
+ export interface StackAnimationOptions {
1111
+ /**
1112
+ * Wait for the View to render before start animation
1113
+ */
1114
+ waitForRender?: boolean;
1115
+ /**
1116
+ * Enable or disable the animation
1117
+ * @default true
1118
+ */
1119
+ enabled?: boolean;
1120
+ /**
1121
+ * Configure animations for the top bar
1122
+ */
1123
+ topBar?: ViewAnimationOptions;
1124
+ /**
1125
+ * Configure animations for the bottom tabs
1126
+ */
1127
+ bottomTabs?: ViewAnimationOptions;
1128
+ /**
1129
+ * Configure animations for the content (Screen)
1130
+ */
1131
+ content?: ViewAnimationOptions;
1132
+ /**
1133
+ * Animations to be applied on elements which are shared between the appearing and disappearing screens
1134
+ */
1135
+ sharedElementTransitions?: SharedElementTransition[];
1136
+ /**
1137
+ * Animations to be applied on views in the appearing or disappearing screens
1138
+ */
1139
+ elementTransitions?: ElementTransition[];
1140
+ }
1141
+ /**
1142
+ * Used for configuring command animations
1143
+ */
1144
+ export interface AnimationOptions {
1145
+ /**
1146
+ * Configure the setStackRoot animation
1147
+ */
1148
+ setStackRoot?: ViewAnimationOptions;
1149
+ /**
1150
+ * Configure the setRoot animation
1151
+ */
1152
+ setRoot?: ViewAnimationOptions;
1153
+ /**
1154
+ * Configure what animates when a screen is pushed
1155
+ */
1156
+ push?: StackAnimationOptions;
1157
+ /**
1158
+ * Configure what animates when a screen is popped
1159
+ */
1160
+ pop?: StackAnimationOptions;
1161
+ /**
1162
+ * Configure what animates when modal is shown
1163
+ */
1164
+ showModal?: ViewAnimationOptions;
1165
+ /**
1166
+ * Configure what animates when modal is dismissed
1167
+ */
1168
+ dismissModal?: ViewAnimationOptions;
1169
+ }
1170
+ /**
1171
+ * Configure Android's NavigationBar
1172
+ */
1173
+ export interface NavigationBarOptions {
1174
+ backgroundColor?: Color;
1175
+ visible?: boolean;
1176
+ }
1177
+ export interface Options {
1178
+ /**
1179
+ * Configure the status bar
1180
+ */
1181
+ statusBar?: OptionsStatusBar;
1182
+ /**
1183
+ * Configure the layout
1184
+ */
1185
+ layout?: OptionsLayout;
1186
+ /**
1187
+ * Configure the presentation style of the modal
1188
+ */
1189
+ modalPresentationStyle?: OptionsModalPresentationStyle;
1190
+ /**
1191
+ * Configure the transition style of the modal
1192
+ *
1193
+ * #### (Android specific)
1194
+ */
1195
+ modalTransitionStyle?: OptionsModalTransitionStyle;
1196
+ /**
1197
+ * Configure the top bar
1198
+ */
1199
+ topBar?: OptionsTopBar;
1200
+ fab?: OptionsFab;
1201
+ /**
1202
+ * Configure the bottom tabs
1203
+ */
1204
+ bottomTabs?: OptionsBottomTabs;
1205
+ /**
1206
+ * Configure the bottom tab associated to the screen
1207
+ */
1208
+ bottomTab?: OptionsBottomTab;
1209
+ /**
1210
+ * Configure the side menu
1211
+ */
1212
+ sideMenu?: OptionsSideMenu;
1213
+ /**
1214
+ * Configure the splitView controller
1215
+ */
1216
+ splitView?: OptionsSplitView;
1217
+ /**
1218
+ * Configure the overlay
1219
+ */
1220
+ overlay?: OverlayOptions;
1221
+ /**
1222
+ * Configure the modal
1223
+ */
1224
+ modal?: ModalOptions;
1225
+ /**
1226
+ * Animation used for navigation commands that modify the layout
1227
+ * hierarchy can be controlled in options.
1228
+ *
1229
+ * Animations can be modified per command and it's also possible
1230
+ * to change the default animation for each command.
1231
+ *
1232
+ * Example:
1233
+ ```js
1234
+ setRoot: {
1235
+ y: {
1236
+ from: 1000,
1237
+ to: 0,
1238
+ duration: 500,
1239
+ interpolation: 'accelerate',
1240
+ },
1241
+ alpha: {
1242
+ from: 0,
1243
+ to: 1,
1244
+ duration: 400,
1245
+ startDelay: 100,
1246
+ interpolation: 'accelerate'
1247
+ }
1248
+ }
1249
+ ```
1250
+ */
1251
+ animations?: AnimationOptions;
1252
+ /**
1253
+ * Configure Android's NavigationBar
1254
+ */
1255
+ navigationBar?: NavigationBarOptions;
1256
+ /**
1257
+ * Preview configuration for Peek and Pop
1258
+ * #### (iOS specific)
1259
+ */
1260
+ preview?: OptionsPreview;
1261
+ /**
1262
+ * Enable or disable swipe back to pop gesture
1263
+ * #### (iOS specific)
1264
+ * @default true
1265
+ */
1266
+ popGesture?: boolean;
1267
+ /**
1268
+ * Background image for the screen
1269
+ * #### (iOS specific)
1270
+ */
1271
+ backgroundImage?: ImageRequireSource;
1272
+ /**
1273
+ * Background image for the Navigation View
1274
+ * #### (iOS specific)
1275
+ */
1276
+ rootBackgroundImage?: ImageRequireSource;
1277
+ /**
1278
+ * Enable or disable automatically blurring focused input, dismissing keyboard on unmount
1279
+ * #### (Android specific)
1280
+ * @default false
1281
+ */
1282
+ blurOnUnmount?: boolean;
1283
+ }
1284
+ export {};