react95-native-rabbl 0.1.1 → 0.1.3

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 (953) hide show
  1. package/README.md +11 -0
  2. package/dist/commonjs/assets/fonts/src/ms-sans-serif/MS Sans Serif.ttf +0 -0
  3. package/dist/commonjs/assets/fonts/src/ms-sans-serif/license.txt +4 -0
  4. package/dist/commonjs/assets/fonts/src/ms-sans-serif/readme.txt +26 -0
  5. package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/MS Sans Serif Bold.ttf +0 -0
  6. package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/license.txt +4 -0
  7. package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/readme.txt +26 -0
  8. package/dist/commonjs/components/AppBar/AppBar.js +40 -0
  9. package/dist/commonjs/components/AppBar/AppBar.js.map +1 -0
  10. package/dist/commonjs/components/AppBar/AppBar.spec.js +154 -0
  11. package/dist/commonjs/components/AppBar/AppBar.spec.js.map +1 -0
  12. package/dist/commonjs/components/AppBar/AppBarBackAction.js +30 -0
  13. package/dist/commonjs/components/AppBar/AppBarBackAction.js.map +1 -0
  14. package/dist/commonjs/components/AppBar/AppBarContent.js +66 -0
  15. package/dist/commonjs/components/AppBar/AppBarContent.js.map +1 -0
  16. package/dist/commonjs/components/AppBar/index.js +14 -0
  17. package/dist/commonjs/components/AppBar/index.js.map +1 -0
  18. package/dist/commonjs/components/Button/Button.js +170 -0
  19. package/dist/commonjs/components/Button/Button.js.map +1 -0
  20. package/dist/commonjs/components/Button/Button.spec.js +70 -0
  21. package/dist/commonjs/components/Button/Button.spec.js.map +1 -0
  22. package/dist/commonjs/components/Button/index.js +14 -0
  23. package/dist/commonjs/components/Button/index.js.map +1 -0
  24. package/dist/commonjs/components/Card/Card.js +69 -0
  25. package/dist/commonjs/components/Card/Card.js.map +1 -0
  26. package/dist/commonjs/components/Card/Card.spec.js +63 -0
  27. package/dist/commonjs/components/Card/Card.spec.js.map +1 -0
  28. package/dist/commonjs/components/Card/CardContent.js +28 -0
  29. package/dist/commonjs/components/Card/CardContent.js.map +1 -0
  30. package/dist/commonjs/components/Card/index.js +14 -0
  31. package/dist/commonjs/components/Card/index.js.map +1 -0
  32. package/dist/commonjs/components/Checkbox/Checkbox.js +19 -0
  33. package/dist/commonjs/components/Checkbox/Checkbox.js.map +1 -0
  34. package/dist/commonjs/components/Checkbox/index.js +14 -0
  35. package/dist/commonjs/components/Checkbox/index.js.map +1 -0
  36. package/dist/commonjs/components/ColorButton/ColorButton.js +67 -0
  37. package/dist/commonjs/components/ColorButton/ColorButton.js.map +1 -0
  38. package/dist/commonjs/components/ColorButton/index.js +14 -0
  39. package/dist/commonjs/components/ColorButton/index.js.map +1 -0
  40. package/dist/commonjs/components/ColorPicker/ColorPicker.js +85 -0
  41. package/dist/commonjs/components/ColorPicker/ColorPicker.js.map +1 -0
  42. package/dist/commonjs/components/ColorPicker/index.js +14 -0
  43. package/dist/commonjs/components/ColorPicker/index.js.map +1 -0
  44. package/dist/commonjs/components/Desktop/Desktop.js +149 -0
  45. package/dist/commonjs/components/Desktop/Desktop.js.map +1 -0
  46. package/dist/commonjs/components/Desktop/Desktop.spec.js +43 -0
  47. package/dist/commonjs/components/Desktop/Desktop.spec.js.map +1 -0
  48. package/dist/commonjs/components/Desktop/index.js +14 -0
  49. package/dist/commonjs/components/Desktop/index.js.map +1 -0
  50. package/dist/commonjs/components/Divider/Divider.js +46 -0
  51. package/dist/commonjs/components/Divider/Divider.js.map +1 -0
  52. package/dist/commonjs/components/Divider/Divider.spec.js +74 -0
  53. package/dist/commonjs/components/Divider/Divider.spec.js.map +1 -0
  54. package/dist/commonjs/components/Divider/index.js +14 -0
  55. package/dist/commonjs/components/Divider/index.js.map +1 -0
  56. package/dist/commonjs/components/FAB/FAB.js +210 -0
  57. package/dist/commonjs/components/FAB/FAB.js.map +1 -0
  58. package/dist/commonjs/components/FAB/FABGroup.js +255 -0
  59. package/dist/commonjs/components/FAB/FABGroup.js.map +1 -0
  60. package/dist/commonjs/components/FAB/index.js +14 -0
  61. package/dist/commonjs/components/FAB/index.js.map +1 -0
  62. package/dist/commonjs/components/Fieldset/Fieldset.js +85 -0
  63. package/dist/commonjs/components/Fieldset/Fieldset.js.map +1 -0
  64. package/dist/commonjs/components/Fieldset/Fieldset.spec.js +60 -0
  65. package/dist/commonjs/components/Fieldset/Fieldset.spec.js.map +1 -0
  66. package/dist/commonjs/components/Fieldset/index.js +14 -0
  67. package/dist/commonjs/components/Fieldset/index.js.map +1 -0
  68. package/dist/commonjs/components/Hourglass/Hourglass.js +40 -0
  69. package/dist/commonjs/components/Hourglass/Hourglass.js.map +1 -0
  70. package/dist/commonjs/components/Hourglass/Hourglass.spec.js +35 -0
  71. package/dist/commonjs/components/Hourglass/Hourglass.spec.js.map +1 -0
  72. package/dist/commonjs/components/Hourglass/base64hourglass.js +9 -0
  73. package/dist/commonjs/components/Hourglass/base64hourglass.js.map +1 -0
  74. package/dist/commonjs/components/Hourglass/index.js +14 -0
  75. package/dist/commonjs/components/Hourglass/index.js.map +1 -0
  76. package/dist/commonjs/components/Icons/ArrowIcon.js +59 -0
  77. package/dist/commonjs/components/Icons/ArrowIcon.js.map +1 -0
  78. package/dist/commonjs/components/Icons/CheckmarkIcon.js +43 -0
  79. package/dist/commonjs/components/Icons/CheckmarkIcon.js.map +1 -0
  80. package/dist/commonjs/components/Icons/ChevronIcon.js +65 -0
  81. package/dist/commonjs/components/Icons/ChevronIcon.js.map +1 -0
  82. package/dist/commonjs/components/Icons/CloseIcon.js +47 -0
  83. package/dist/commonjs/components/Icons/CloseIcon.js.map +1 -0
  84. package/dist/commonjs/components/Icons/index.js +35 -0
  85. package/dist/commonjs/components/Icons/index.js.map +1 -0
  86. package/dist/commonjs/components/Label/Label.js +58 -0
  87. package/dist/commonjs/components/Label/Label.js.map +1 -0
  88. package/dist/commonjs/components/Label/index.js +14 -0
  89. package/dist/commonjs/components/Label/index.js.map +1 -0
  90. package/dist/commonjs/components/List/List.js +35 -0
  91. package/dist/commonjs/components/List/List.js.map +1 -0
  92. package/dist/commonjs/components/List/ListAccordion.js +135 -0
  93. package/dist/commonjs/components/List/ListAccordion.js.map +1 -0
  94. package/dist/commonjs/components/List/ListItem.js +67 -0
  95. package/dist/commonjs/components/List/ListItem.js.map +1 -0
  96. package/dist/commonjs/components/List/ListSection.js +41 -0
  97. package/dist/commonjs/components/List/ListSection.js.map +1 -0
  98. package/dist/commonjs/components/List/index.js +10 -0
  99. package/dist/commonjs/components/List/index.js.map +1 -0
  100. package/dist/commonjs/components/Menu/Menu.js +86 -0
  101. package/dist/commonjs/components/Menu/Menu.js.map +1 -0
  102. package/dist/commonjs/components/Menu/MenuItem.js +79 -0
  103. package/dist/commonjs/components/Menu/MenuItem.js.map +1 -0
  104. package/dist/commonjs/components/Menu/index.js +14 -0
  105. package/dist/commonjs/components/Menu/index.js.map +1 -0
  106. package/dist/commonjs/components/NumberInput/NumberInput.js +123 -0
  107. package/dist/commonjs/components/NumberInput/NumberInput.js.map +1 -0
  108. package/dist/commonjs/components/NumberInput/NumberInput.spec.js +130 -0
  109. package/dist/commonjs/components/NumberInput/NumberInput.spec.js.map +1 -0
  110. package/dist/commonjs/components/NumberInput/index.js +14 -0
  111. package/dist/commonjs/components/NumberInput/index.js.map +1 -0
  112. package/dist/commonjs/components/Panel/Panel.js +60 -0
  113. package/dist/commonjs/components/Panel/Panel.js.map +1 -0
  114. package/dist/commonjs/components/Panel/Panel.spec.js +35 -0
  115. package/dist/commonjs/components/Panel/Panel.spec.js.map +1 -0
  116. package/dist/commonjs/components/Panel/index.js +14 -0
  117. package/dist/commonjs/components/Panel/index.js.map +1 -0
  118. package/dist/commonjs/components/Portal/Portal.js +49 -0
  119. package/dist/commonjs/components/Portal/Portal.js.map +1 -0
  120. package/dist/commonjs/components/Portal/PortalConsumer.js +39 -0
  121. package/dist/commonjs/components/Portal/PortalConsumer.js.map +1 -0
  122. package/dist/commonjs/components/Portal/PortalHost.js +141 -0
  123. package/dist/commonjs/components/Portal/PortalHost.js.map +1 -0
  124. package/dist/commonjs/components/Portal/PortalManager.js +57 -0
  125. package/dist/commonjs/components/Portal/PortalManager.js.map +1 -0
  126. package/dist/commonjs/components/Portal/index.js +14 -0
  127. package/dist/commonjs/components/Portal/index.js.map +1 -0
  128. package/dist/commonjs/components/Progress/Progress.js +94 -0
  129. package/dist/commonjs/components/Progress/Progress.js.map +1 -0
  130. package/dist/commonjs/components/Progress/index.js +14 -0
  131. package/dist/commonjs/components/Progress/index.js.map +1 -0
  132. package/dist/commonjs/components/Radio/Radio.js +19 -0
  133. package/dist/commonjs/components/Radio/Radio.js.map +1 -0
  134. package/dist/commonjs/components/Radio/index.js +14 -0
  135. package/dist/commonjs/components/Radio/index.js.map +1 -0
  136. package/dist/commonjs/components/ScrollPanel/ScrollPanel.js +78 -0
  137. package/dist/commonjs/components/ScrollPanel/ScrollPanel.js.map +1 -0
  138. package/dist/commonjs/components/ScrollPanel/index.js +14 -0
  139. package/dist/commonjs/components/ScrollPanel/index.js.map +1 -0
  140. package/dist/commonjs/components/ScrollView/ScrollView.js +211 -0
  141. package/dist/commonjs/components/ScrollView/ScrollView.js.map +1 -0
  142. package/dist/commonjs/components/ScrollView/index.js +14 -0
  143. package/dist/commonjs/components/ScrollView/index.js.map +1 -0
  144. package/dist/commonjs/components/Select/Select.js +180 -0
  145. package/dist/commonjs/components/Select/Select.js.map +1 -0
  146. package/dist/commonjs/components/Select/SelectBase.js +80 -0
  147. package/dist/commonjs/components/Select/SelectBase.js.map +1 -0
  148. package/dist/commonjs/components/Select/SelectBox.js +60 -0
  149. package/dist/commonjs/components/Select/SelectBox.js.map +1 -0
  150. package/dist/commonjs/components/Select/index.js +21 -0
  151. package/dist/commonjs/components/Select/index.js.map +1 -0
  152. package/dist/commonjs/components/Slider/Slider.js +243 -0
  153. package/dist/commonjs/components/Slider/Slider.js.map +1 -0
  154. package/dist/commonjs/components/Slider/index.js +14 -0
  155. package/dist/commonjs/components/Slider/index.js.map +1 -0
  156. package/dist/commonjs/components/Snackbar/Snackbar.js +192 -0
  157. package/dist/commonjs/components/Snackbar/Snackbar.js.map +1 -0
  158. package/dist/commonjs/components/Snackbar/SnackbarContent.js +28 -0
  159. package/dist/commonjs/components/Snackbar/SnackbarContent.js.map +1 -0
  160. package/dist/commonjs/components/Snackbar/index.js +14 -0
  161. package/dist/commonjs/components/Snackbar/index.js.map +1 -0
  162. package/dist/commonjs/components/SwitchBase/SwitchBase.js +154 -0
  163. package/dist/commonjs/components/SwitchBase/SwitchBase.js.map +1 -0
  164. package/dist/commonjs/components/SwitchBase/index.js +17 -0
  165. package/dist/commonjs/components/SwitchBase/index.js.map +1 -0
  166. package/dist/commonjs/components/Tabs/Tabs.js +162 -0
  167. package/dist/commonjs/components/Tabs/Tabs.js.map +1 -0
  168. package/dist/commonjs/components/Tabs/index.js +14 -0
  169. package/dist/commonjs/components/Tabs/index.js.map +1 -0
  170. package/dist/commonjs/components/TextInput/TextInput.js +66 -0
  171. package/dist/commonjs/components/TextInput/TextInput.js.map +1 -0
  172. package/dist/commonjs/components/TextInput/index.js +14 -0
  173. package/dist/commonjs/components/TextInput/index.js.map +1 -0
  174. package/dist/commonjs/components/Toolbar/Toolbar.js +90 -0
  175. package/dist/commonjs/components/Toolbar/Toolbar.js.map +1 -0
  176. package/dist/commonjs/components/Toolbar/index.js +14 -0
  177. package/dist/commonjs/components/Toolbar/index.js.map +1 -0
  178. package/dist/commonjs/components/Typography/Anchor.js +31 -0
  179. package/dist/commonjs/components/Typography/Anchor.js.map +1 -0
  180. package/dist/commonjs/components/Typography/Text.js +40 -0
  181. package/dist/commonjs/components/Typography/Text.js.map +1 -0
  182. package/dist/commonjs/components/Typography/Text.spec.js +37 -0
  183. package/dist/commonjs/components/Typography/Text.spec.js.map +1 -0
  184. package/dist/commonjs/components/Typography/Title.js +64 -0
  185. package/dist/commonjs/components/Typography/Title.js.map +1 -0
  186. package/dist/commonjs/components/Typography/index.js +28 -0
  187. package/dist/commonjs/components/Typography/index.js.map +1 -0
  188. package/dist/commonjs/components/Window/Window.js +107 -0
  189. package/dist/commonjs/components/Window/Window.js.map +1 -0
  190. package/dist/commonjs/components/Window/index.js +14 -0
  191. package/dist/commonjs/components/Window/index.js.map +1 -0
  192. package/dist/commonjs/core/Provider.js +59 -0
  193. package/dist/commonjs/core/Provider.js.map +1 -0
  194. package/dist/commonjs/core/theming.js +18 -0
  195. package/dist/commonjs/core/theming.js.map +1 -0
  196. package/dist/commonjs/hooks/useAsyncReference.js +19 -0
  197. package/dist/commonjs/hooks/useAsyncReference.js.map +1 -0
  198. package/dist/commonjs/hooks/useControlledOrUncontrolled.js +24 -0
  199. package/dist/commonjs/hooks/useControlledOrUncontrolled.js.map +1 -0
  200. package/dist/commonjs/index.js +328 -0
  201. package/dist/commonjs/index.js.map +1 -0
  202. package/dist/commonjs/package.json +1 -0
  203. package/dist/commonjs/styles/shadow.js +40 -0
  204. package/dist/commonjs/styles/shadow.js.map +1 -0
  205. package/dist/commonjs/styles/styleElements.js +81 -0
  206. package/dist/commonjs/styles/styleElements.js.map +1 -0
  207. package/dist/commonjs/styles/styles.js +134 -0
  208. package/dist/commonjs/styles/styles.js.map +1 -0
  209. package/dist/commonjs/styles/themes/aiee.js +42 -0
  210. package/dist/commonjs/styles/themes/aiee.js.map +1 -0
  211. package/dist/commonjs/styles/themes/ash.js +42 -0
  212. package/dist/commonjs/styles/themes/ash.js.map +1 -0
  213. package/dist/commonjs/styles/themes/azureOrange.js +39 -0
  214. package/dist/commonjs/styles/themes/azureOrange.js.map +1 -0
  215. package/dist/commonjs/styles/themes/bee.js +39 -0
  216. package/dist/commonjs/styles/themes/bee.js.map +1 -0
  217. package/dist/commonjs/styles/themes/blackAndWhite.js +39 -0
  218. package/dist/commonjs/styles/themes/blackAndWhite.js.map +1 -0
  219. package/dist/commonjs/styles/themes/blue.js +42 -0
  220. package/dist/commonjs/styles/themes/blue.js.map +1 -0
  221. package/dist/commonjs/styles/themes/brick.js +39 -0
  222. package/dist/commonjs/styles/themes/brick.js.map +1 -0
  223. package/dist/commonjs/styles/themes/candy.js +39 -0
  224. package/dist/commonjs/styles/themes/candy.js.map +1 -0
  225. package/dist/commonjs/styles/themes/cherry.js +42 -0
  226. package/dist/commonjs/styles/themes/cherry.js.map +1 -0
  227. package/dist/commonjs/styles/themes/coldGray.js +40 -0
  228. package/dist/commonjs/styles/themes/coldGray.js.map +1 -0
  229. package/dist/commonjs/styles/themes/counterStrike.js +39 -0
  230. package/dist/commonjs/styles/themes/counterStrike.js.map +1 -0
  231. package/dist/commonjs/styles/themes/darkTeal.js +42 -0
  232. package/dist/commonjs/styles/themes/darkTeal.js.map +1 -0
  233. package/dist/commonjs/styles/themes/eggplant.js +39 -0
  234. package/dist/commonjs/styles/themes/eggplant.js.map +1 -0
  235. package/dist/commonjs/styles/themes/fxDev.js +42 -0
  236. package/dist/commonjs/styles/themes/fxDev.js.map +1 -0
  237. package/dist/commonjs/styles/themes/highContrast.js +39 -0
  238. package/dist/commonjs/styles/themes/highContrast.js.map +1 -0
  239. package/dist/commonjs/styles/themes/hotChocolate.js +42 -0
  240. package/dist/commonjs/styles/themes/hotChocolate.js.map +1 -0
  241. package/dist/commonjs/styles/themes/index.js +110 -0
  242. package/dist/commonjs/styles/themes/index.js.map +1 -0
  243. package/dist/commonjs/styles/themes/lilac.js +39 -0
  244. package/dist/commonjs/styles/themes/lilac.js.map +1 -0
  245. package/dist/commonjs/styles/themes/lilacRoseDark.js +40 -0
  246. package/dist/commonjs/styles/themes/lilacRoseDark.js.map +1 -0
  247. package/dist/commonjs/styles/themes/maple.js +39 -0
  248. package/dist/commonjs/styles/themes/maple.js.map +1 -0
  249. package/dist/commonjs/styles/themes/marine.js +39 -0
  250. package/dist/commonjs/styles/themes/marine.js.map +1 -0
  251. package/dist/commonjs/styles/themes/matrix.js +39 -0
  252. package/dist/commonjs/styles/themes/matrix.js.map +1 -0
  253. package/dist/commonjs/styles/themes/millenium.js +39 -0
  254. package/dist/commonjs/styles/themes/millenium.js.map +1 -0
  255. package/dist/commonjs/styles/themes/modernDark.js +39 -0
  256. package/dist/commonjs/styles/themes/modernDark.js.map +1 -0
  257. package/dist/commonjs/styles/themes/molecule.js +39 -0
  258. package/dist/commonjs/styles/themes/molecule.js.map +1 -0
  259. package/dist/commonjs/styles/themes/monochrome.js +2 -0
  260. package/dist/commonjs/styles/themes/monochrome.js.map +1 -0
  261. package/dist/commonjs/styles/themes/ninjaTurtles.js +39 -0
  262. package/dist/commonjs/styles/themes/ninjaTurtles.js.map +1 -0
  263. package/dist/commonjs/styles/themes/olive.js +39 -0
  264. package/dist/commonjs/styles/themes/olive.js.map +1 -0
  265. package/dist/commonjs/styles/themes/original.js +39 -0
  266. package/dist/commonjs/styles/themes/original.js.map +1 -0
  267. package/dist/commonjs/styles/themes/pamelaAnderson.js +39 -0
  268. package/dist/commonjs/styles/themes/pamelaAnderson.js.map +1 -0
  269. package/dist/commonjs/styles/themes/plum.js +39 -0
  270. package/dist/commonjs/styles/themes/plum.js.map +1 -0
  271. package/dist/commonjs/styles/themes/polarized.js +42 -0
  272. package/dist/commonjs/styles/themes/polarized.js.map +1 -0
  273. package/dist/commonjs/styles/themes/powerShell.js +42 -0
  274. package/dist/commonjs/styles/themes/powerShell.js.map +1 -0
  275. package/dist/commonjs/styles/themes/rainyDay.js +39 -0
  276. package/dist/commonjs/styles/themes/rainyDay.js.map +1 -0
  277. package/dist/commonjs/styles/themes/raspberry.js +42 -0
  278. package/dist/commonjs/styles/themes/raspberry.js.map +1 -0
  279. package/dist/commonjs/styles/themes/redWine.js +42 -0
  280. package/dist/commonjs/styles/themes/redWine.js.map +1 -0
  281. package/dist/commonjs/styles/themes/rose.js +39 -0
  282. package/dist/commonjs/styles/themes/rose.js.map +1 -0
  283. package/dist/commonjs/styles/themes/seawater.js +42 -0
  284. package/dist/commonjs/styles/themes/seawater.js.map +1 -0
  285. package/dist/commonjs/styles/themes/slate.js +39 -0
  286. package/dist/commonjs/styles/themes/slate.js.map +1 -0
  287. package/dist/commonjs/styles/themes/solarizedDark.js +42 -0
  288. package/dist/commonjs/styles/themes/solarizedDark.js.map +1 -0
  289. package/dist/commonjs/styles/themes/solarizedLight.js +42 -0
  290. package/dist/commonjs/styles/themes/solarizedLight.js.map +1 -0
  291. package/dist/commonjs/styles/themes/spruce.js +39 -0
  292. package/dist/commonjs/styles/themes/spruce.js.map +1 -0
  293. package/dist/commonjs/styles/themes/stormClouds.js +42 -0
  294. package/dist/commonjs/styles/themes/stormClouds.js.map +1 -0
  295. package/dist/commonjs/styles/themes/theSixtiesUSA.js +39 -0
  296. package/dist/commonjs/styles/themes/theSixtiesUSA.js.map +1 -0
  297. package/dist/commonjs/styles/themes/tokyoDark.js +39 -0
  298. package/dist/commonjs/styles/themes/tokyoDark.js.map +1 -0
  299. package/dist/commonjs/styles/themes/tooSexy.js +39 -0
  300. package/dist/commonjs/styles/themes/tooSexy.js.map +1 -0
  301. package/dist/commonjs/styles/themes/travel.js +39 -0
  302. package/dist/commonjs/styles/themes/travel.js.map +1 -0
  303. package/dist/commonjs/styles/themes/vaporTeal.js +39 -0
  304. package/dist/commonjs/styles/themes/vaporTeal.js.map +1 -0
  305. package/dist/commonjs/styles/themes/vermillion.js +39 -0
  306. package/dist/commonjs/styles/themes/vermillion.js.map +1 -0
  307. package/dist/commonjs/styles/themes/violetDark.js +39 -0
  308. package/dist/commonjs/styles/themes/violetDark.js.map +1 -0
  309. package/dist/commonjs/styles/themes/water.js +39 -0
  310. package/dist/commonjs/styles/themes/water.js.map +1 -0
  311. package/dist/commonjs/styles/themes/wmii.js +42 -0
  312. package/dist/commonjs/styles/themes/wmii.js.map +1 -0
  313. package/dist/commonjs/types.js +6 -0
  314. package/dist/commonjs/types.js.map +1 -0
  315. package/dist/commonjs/utils/index.js +54 -0
  316. package/dist/commonjs/utils/index.js.map +1 -0
  317. package/dist/module/assets/fonts/src/ms-sans-serif/MS Sans Serif.ttf +0 -0
  318. package/dist/module/assets/fonts/src/ms-sans-serif/license.txt +4 -0
  319. package/dist/module/assets/fonts/src/ms-sans-serif/readme.txt +26 -0
  320. package/dist/module/assets/fonts/src/ms-sans-serif-bold/MS Sans Serif Bold.ttf +0 -0
  321. package/dist/module/assets/fonts/src/ms-sans-serif-bold/license.txt +4 -0
  322. package/dist/module/assets/fonts/src/ms-sans-serif-bold/readme.txt +26 -0
  323. package/dist/module/components/AppBar/AppBar.js +35 -0
  324. package/dist/module/components/AppBar/AppBar.js.map +1 -0
  325. package/dist/module/components/AppBar/AppBar.spec.js +153 -0
  326. package/dist/module/components/AppBar/AppBar.spec.js.map +1 -0
  327. package/dist/module/components/AppBar/AppBarBackAction.js +25 -0
  328. package/dist/module/components/AppBar/AppBarBackAction.js.map +1 -0
  329. package/dist/module/components/AppBar/AppBarContent.js +60 -0
  330. package/dist/module/components/AppBar/AppBarContent.js.map +1 -0
  331. package/dist/module/components/AppBar/index.js +4 -0
  332. package/dist/module/components/AppBar/index.js.map +1 -0
  333. package/dist/module/components/Button/Button.js +170 -0
  334. package/dist/module/components/Button/Button.js.map +1 -0
  335. package/dist/module/components/Button/Button.spec.js +69 -0
  336. package/dist/module/components/Button/Button.spec.js.map +1 -0
  337. package/dist/module/components/Button/index.js +4 -0
  338. package/dist/module/components/Button/index.js.map +1 -0
  339. package/dist/module/components/Card/Card.js +64 -0
  340. package/dist/module/components/Card/Card.js.map +1 -0
  341. package/dist/module/components/Card/Card.spec.js +62 -0
  342. package/dist/module/components/Card/Card.spec.js.map +1 -0
  343. package/dist/module/components/Card/CardContent.js +23 -0
  344. package/dist/module/components/Card/CardContent.js.map +1 -0
  345. package/dist/module/components/Card/index.js +4 -0
  346. package/dist/module/components/Card/index.js.map +1 -0
  347. package/dist/module/components/Checkbox/Checkbox.js +14 -0
  348. package/dist/module/components/Checkbox/Checkbox.js.map +1 -0
  349. package/dist/module/components/Checkbox/index.js +4 -0
  350. package/dist/module/components/Checkbox/index.js.map +1 -0
  351. package/dist/module/components/ColorButton/ColorButton.js +62 -0
  352. package/dist/module/components/ColorButton/ColorButton.js.map +1 -0
  353. package/dist/module/components/ColorButton/index.js +4 -0
  354. package/dist/module/components/ColorButton/index.js.map +1 -0
  355. package/dist/module/components/ColorPicker/ColorPicker.js +80 -0
  356. package/dist/module/components/ColorPicker/ColorPicker.js.map +1 -0
  357. package/dist/module/components/ColorPicker/index.js +4 -0
  358. package/dist/module/components/ColorPicker/index.js.map +1 -0
  359. package/dist/module/components/Desktop/Desktop.js +144 -0
  360. package/dist/module/components/Desktop/Desktop.js.map +1 -0
  361. package/dist/module/components/Desktop/Desktop.spec.js +42 -0
  362. package/dist/module/components/Desktop/Desktop.spec.js.map +1 -0
  363. package/dist/module/components/Desktop/index.js +4 -0
  364. package/dist/module/components/Desktop/index.js.map +1 -0
  365. package/dist/module/components/Divider/Divider.js +41 -0
  366. package/dist/module/components/Divider/Divider.js.map +1 -0
  367. package/dist/module/components/Divider/Divider.spec.js +73 -0
  368. package/dist/module/components/Divider/Divider.spec.js.map +1 -0
  369. package/dist/module/components/Divider/index.js +4 -0
  370. package/dist/module/components/Divider/index.js.map +1 -0
  371. package/dist/module/components/FAB/FAB.js +205 -0
  372. package/dist/module/components/FAB/FAB.js.map +1 -0
  373. package/dist/module/components/FAB/FABGroup.js +250 -0
  374. package/dist/module/components/FAB/FABGroup.js.map +1 -0
  375. package/dist/module/components/FAB/index.js +4 -0
  376. package/dist/module/components/FAB/index.js.map +1 -0
  377. package/dist/module/components/Fieldset/Fieldset.js +79 -0
  378. package/dist/module/components/Fieldset/Fieldset.js.map +1 -0
  379. package/dist/module/components/Fieldset/Fieldset.spec.js +59 -0
  380. package/dist/module/components/Fieldset/Fieldset.spec.js.map +1 -0
  381. package/dist/module/components/Fieldset/index.js +4 -0
  382. package/dist/module/components/Fieldset/index.js.map +1 -0
  383. package/dist/module/components/Hourglass/Hourglass.js +35 -0
  384. package/dist/module/components/Hourglass/Hourglass.js.map +1 -0
  385. package/dist/module/components/Hourglass/Hourglass.spec.js +34 -0
  386. package/dist/module/components/Hourglass/Hourglass.spec.js.map +1 -0
  387. package/dist/module/components/Hourglass/base64hourglass.js +5 -0
  388. package/dist/module/components/Hourglass/base64hourglass.js.map +1 -0
  389. package/dist/module/components/Hourglass/index.js +4 -0
  390. package/dist/module/components/Hourglass/index.js.map +1 -0
  391. package/dist/module/components/Icons/ArrowIcon.js +54 -0
  392. package/dist/module/components/Icons/ArrowIcon.js.map +1 -0
  393. package/dist/module/components/Icons/CheckmarkIcon.js +38 -0
  394. package/dist/module/components/Icons/CheckmarkIcon.js.map +1 -0
  395. package/dist/module/components/Icons/ChevronIcon.js +60 -0
  396. package/dist/module/components/Icons/ChevronIcon.js.map +1 -0
  397. package/dist/module/components/Icons/CloseIcon.js +42 -0
  398. package/dist/module/components/Icons/CloseIcon.js.map +1 -0
  399. package/dist/module/components/Icons/index.js +7 -0
  400. package/dist/module/components/Icons/index.js.map +1 -0
  401. package/dist/module/components/Label/Label.js +53 -0
  402. package/dist/module/components/Label/Label.js.map +1 -0
  403. package/dist/module/components/Label/index.js +4 -0
  404. package/dist/module/components/Label/index.js.map +1 -0
  405. package/dist/module/components/List/List.js +6 -0
  406. package/dist/module/components/List/List.js.map +1 -0
  407. package/dist/module/components/List/ListAccordion.js +131 -0
  408. package/dist/module/components/List/ListAccordion.js.map +1 -0
  409. package/dist/module/components/List/ListItem.js +62 -0
  410. package/dist/module/components/List/ListItem.js.map +1 -0
  411. package/dist/module/components/List/ListSection.js +36 -0
  412. package/dist/module/components/List/ListSection.js.map +1 -0
  413. package/dist/module/components/List/index.js +5 -0
  414. package/dist/module/components/List/index.js.map +1 -0
  415. package/dist/module/components/Menu/Menu.js +81 -0
  416. package/dist/module/components/Menu/Menu.js.map +1 -0
  417. package/dist/module/components/Menu/MenuItem.js +73 -0
  418. package/dist/module/components/Menu/MenuItem.js.map +1 -0
  419. package/dist/module/components/Menu/index.js +4 -0
  420. package/dist/module/components/Menu/index.js.map +1 -0
  421. package/dist/module/components/NumberInput/NumberInput.js +118 -0
  422. package/dist/module/components/NumberInput/NumberInput.js.map +1 -0
  423. package/dist/module/components/NumberInput/NumberInput.spec.js +129 -0
  424. package/dist/module/components/NumberInput/NumberInput.spec.js.map +1 -0
  425. package/dist/module/components/NumberInput/index.js +4 -0
  426. package/dist/module/components/NumberInput/index.js.map +1 -0
  427. package/dist/module/components/Panel/Panel.js +55 -0
  428. package/dist/module/components/Panel/Panel.js.map +1 -0
  429. package/dist/module/components/Panel/Panel.spec.js +34 -0
  430. package/dist/module/components/Panel/Panel.spec.js.map +1 -0
  431. package/dist/module/components/Panel/index.js +4 -0
  432. package/dist/module/components/Panel/index.js.map +1 -0
  433. package/dist/module/components/Portal/Portal.js +43 -0
  434. package/dist/module/components/Portal/Portal.js.map +1 -0
  435. package/dist/module/components/Portal/PortalConsumer.js +32 -0
  436. package/dist/module/components/Portal/PortalConsumer.js.map +1 -0
  437. package/dist/module/components/Portal/PortalHost.js +133 -0
  438. package/dist/module/components/Portal/PortalHost.js.map +1 -0
  439. package/dist/module/components/Portal/PortalManager.js +50 -0
  440. package/dist/module/components/Portal/PortalManager.js.map +1 -0
  441. package/dist/module/components/Portal/index.js +4 -0
  442. package/dist/module/components/Portal/index.js.map +1 -0
  443. package/dist/module/components/Progress/Progress.js +89 -0
  444. package/dist/module/components/Progress/Progress.js.map +1 -0
  445. package/dist/module/components/Progress/index.js +4 -0
  446. package/dist/module/components/Progress/index.js.map +1 -0
  447. package/dist/module/components/Radio/Radio.js +14 -0
  448. package/dist/module/components/Radio/Radio.js.map +1 -0
  449. package/dist/module/components/Radio/index.js +4 -0
  450. package/dist/module/components/Radio/index.js.map +1 -0
  451. package/dist/module/components/ScrollPanel/ScrollPanel.js +73 -0
  452. package/dist/module/components/ScrollPanel/ScrollPanel.js.map +1 -0
  453. package/dist/module/components/ScrollPanel/index.js +4 -0
  454. package/dist/module/components/ScrollPanel/index.js.map +1 -0
  455. package/dist/module/components/ScrollView/ScrollView.js +205 -0
  456. package/dist/module/components/ScrollView/ScrollView.js.map +1 -0
  457. package/dist/module/components/ScrollView/index.js +4 -0
  458. package/dist/module/components/ScrollView/index.js.map +1 -0
  459. package/dist/module/components/Select/Select.js +174 -0
  460. package/dist/module/components/Select/Select.js.map +1 -0
  461. package/dist/module/components/Select/SelectBase.js +74 -0
  462. package/dist/module/components/Select/SelectBase.js.map +1 -0
  463. package/dist/module/components/Select/SelectBox.js +55 -0
  464. package/dist/module/components/Select/SelectBox.js.map +1 -0
  465. package/dist/module/components/Select/index.js +5 -0
  466. package/dist/module/components/Select/index.js.map +1 -0
  467. package/dist/module/components/Slider/Slider.js +237 -0
  468. package/dist/module/components/Slider/Slider.js.map +1 -0
  469. package/dist/module/components/Slider/index.js +4 -0
  470. package/dist/module/components/Slider/index.js.map +1 -0
  471. package/dist/module/components/Snackbar/Snackbar.js +187 -0
  472. package/dist/module/components/Snackbar/Snackbar.js.map +1 -0
  473. package/dist/module/components/Snackbar/SnackbarContent.js +23 -0
  474. package/dist/module/components/Snackbar/SnackbarContent.js.map +1 -0
  475. package/dist/module/components/Snackbar/index.js +4 -0
  476. package/dist/module/components/Snackbar/index.js.map +1 -0
  477. package/dist/module/components/SwitchBase/SwitchBase.js +150 -0
  478. package/dist/module/components/SwitchBase/SwitchBase.js.map +1 -0
  479. package/dist/module/components/SwitchBase/index.js +4 -0
  480. package/dist/module/components/SwitchBase/index.js.map +1 -0
  481. package/dist/module/components/Tabs/Tabs.js +157 -0
  482. package/dist/module/components/Tabs/Tabs.js.map +1 -0
  483. package/dist/module/components/Tabs/index.js +4 -0
  484. package/dist/module/components/Tabs/index.js.map +1 -0
  485. package/dist/module/components/TextInput/TextInput.js +61 -0
  486. package/dist/module/components/TextInput/TextInput.js.map +1 -0
  487. package/dist/module/components/TextInput/index.js +4 -0
  488. package/dist/module/components/TextInput/index.js.map +1 -0
  489. package/dist/module/components/Toolbar/Toolbar.js +85 -0
  490. package/dist/module/components/Toolbar/Toolbar.js.map +1 -0
  491. package/dist/module/components/Toolbar/index.js +4 -0
  492. package/dist/module/components/Toolbar/index.js.map +1 -0
  493. package/dist/module/components/Typography/Anchor.js +26 -0
  494. package/dist/module/components/Typography/Anchor.js.map +1 -0
  495. package/dist/module/components/Typography/Text.js +35 -0
  496. package/dist/module/components/Typography/Text.js.map +1 -0
  497. package/dist/module/components/Typography/Text.spec.js +36 -0
  498. package/dist/module/components/Typography/Text.spec.js.map +1 -0
  499. package/dist/module/components/Typography/Title.js +59 -0
  500. package/dist/module/components/Typography/Title.js.map +1 -0
  501. package/dist/module/components/Typography/index.js +6 -0
  502. package/dist/module/components/Typography/index.js.map +1 -0
  503. package/dist/module/components/Window/Window.js +102 -0
  504. package/dist/module/components/Window/Window.js.map +1 -0
  505. package/dist/module/components/Window/index.js +4 -0
  506. package/dist/module/components/Window/index.js.map +1 -0
  507. package/dist/module/core/Provider.js +51 -0
  508. package/dist/module/core/Provider.js.map +1 -0
  509. package/dist/module/core/theming.js +10 -0
  510. package/dist/module/core/theming.js.map +1 -0
  511. package/dist/module/hooks/useAsyncReference.js +15 -0
  512. package/dist/module/hooks/useAsyncReference.js.map +1 -0
  513. package/dist/module/hooks/useControlledOrUncontrolled.js +19 -0
  514. package/dist/module/hooks/useControlledOrUncontrolled.js.map +1 -0
  515. package/dist/module/index.js +38 -0
  516. package/dist/module/index.js.map +1 -0
  517. package/dist/module/styles/shadow.js +36 -0
  518. package/dist/module/styles/shadow.js.map +1 -0
  519. package/dist/module/styles/styleElements.js +76 -0
  520. package/dist/module/styles/styleElements.js.map +1 -0
  521. package/dist/module/styles/styles.js +126 -0
  522. package/dist/module/styles/styles.js.map +1 -0
  523. package/dist/module/styles/themes/aiee.js +39 -0
  524. package/dist/module/styles/themes/aiee.js.map +1 -0
  525. package/dist/module/styles/themes/ash.js +38 -0
  526. package/dist/module/styles/themes/ash.js.map +1 -0
  527. package/dist/module/styles/themes/azureOrange.js +35 -0
  528. package/dist/module/styles/themes/azureOrange.js.map +1 -0
  529. package/dist/module/styles/themes/bee.js +35 -0
  530. package/dist/module/styles/themes/bee.js.map +1 -0
  531. package/dist/module/styles/themes/blackAndWhite.js +35 -0
  532. package/dist/module/styles/themes/blackAndWhite.js.map +1 -0
  533. package/dist/module/styles/themes/blue.js +39 -0
  534. package/dist/module/styles/themes/blue.js.map +1 -0
  535. package/dist/module/styles/themes/brick.js +35 -0
  536. package/dist/module/styles/themes/brick.js.map +1 -0
  537. package/dist/module/styles/themes/candy.js +35 -0
  538. package/dist/module/styles/themes/candy.js.map +1 -0
  539. package/dist/module/styles/themes/cherry.js +39 -0
  540. package/dist/module/styles/themes/cherry.js.map +1 -0
  541. package/dist/module/styles/themes/coldGray.js +36 -0
  542. package/dist/module/styles/themes/coldGray.js.map +1 -0
  543. package/dist/module/styles/themes/counterStrike.js +35 -0
  544. package/dist/module/styles/themes/counterStrike.js.map +1 -0
  545. package/dist/module/styles/themes/darkTeal.js +39 -0
  546. package/dist/module/styles/themes/darkTeal.js.map +1 -0
  547. package/dist/module/styles/themes/eggplant.js +35 -0
  548. package/dist/module/styles/themes/eggplant.js.map +1 -0
  549. package/dist/module/styles/themes/fxDev.js +39 -0
  550. package/dist/module/styles/themes/fxDev.js.map +1 -0
  551. package/dist/module/styles/themes/highContrast.js +35 -0
  552. package/dist/module/styles/themes/highContrast.js.map +1 -0
  553. package/dist/module/styles/themes/hotChocolate.js +39 -0
  554. package/dist/module/styles/themes/hotChocolate.js.map +1 -0
  555. package/dist/module/styles/themes/index.js +105 -0
  556. package/dist/module/styles/themes/index.js.map +1 -0
  557. package/dist/module/styles/themes/lilac.js +35 -0
  558. package/dist/module/styles/themes/lilac.js.map +1 -0
  559. package/dist/module/styles/themes/lilacRoseDark.js +36 -0
  560. package/dist/module/styles/themes/lilacRoseDark.js.map +1 -0
  561. package/dist/module/styles/themes/maple.js +35 -0
  562. package/dist/module/styles/themes/maple.js.map +1 -0
  563. package/dist/module/styles/themes/marine.js +35 -0
  564. package/dist/module/styles/themes/marine.js.map +1 -0
  565. package/dist/module/styles/themes/matrix.js +35 -0
  566. package/dist/module/styles/themes/matrix.js.map +1 -0
  567. package/dist/module/styles/themes/millenium.js +35 -0
  568. package/dist/module/styles/themes/millenium.js.map +1 -0
  569. package/dist/module/styles/themes/modernDark.js +35 -0
  570. package/dist/module/styles/themes/modernDark.js.map +1 -0
  571. package/dist/module/styles/themes/molecule.js +35 -0
  572. package/dist/module/styles/themes/molecule.js.map +1 -0
  573. package/dist/module/styles/themes/monochrome.js +2 -0
  574. package/dist/module/styles/themes/monochrome.js.map +1 -0
  575. package/dist/module/styles/themes/ninjaTurtles.js +35 -0
  576. package/dist/module/styles/themes/ninjaTurtles.js.map +1 -0
  577. package/dist/module/styles/themes/olive.js +35 -0
  578. package/dist/module/styles/themes/olive.js.map +1 -0
  579. package/dist/module/styles/themes/original.js +35 -0
  580. package/dist/module/styles/themes/original.js.map +1 -0
  581. package/dist/module/styles/themes/pamelaAnderson.js +35 -0
  582. package/dist/module/styles/themes/pamelaAnderson.js.map +1 -0
  583. package/dist/module/styles/themes/plum.js +35 -0
  584. package/dist/module/styles/themes/plum.js.map +1 -0
  585. package/dist/module/styles/themes/polarized.js +39 -0
  586. package/dist/module/styles/themes/polarized.js.map +1 -0
  587. package/dist/module/styles/themes/powerShell.js +39 -0
  588. package/dist/module/styles/themes/powerShell.js.map +1 -0
  589. package/dist/module/styles/themes/rainyDay.js +35 -0
  590. package/dist/module/styles/themes/rainyDay.js.map +1 -0
  591. package/dist/module/styles/themes/raspberry.js +39 -0
  592. package/dist/module/styles/themes/raspberry.js.map +1 -0
  593. package/dist/module/styles/themes/redWine.js +39 -0
  594. package/dist/module/styles/themes/redWine.js.map +1 -0
  595. package/dist/module/styles/themes/rose.js +35 -0
  596. package/dist/module/styles/themes/rose.js.map +1 -0
  597. package/dist/module/styles/themes/seawater.js +39 -0
  598. package/dist/module/styles/themes/seawater.js.map +1 -0
  599. package/dist/module/styles/themes/slate.js +35 -0
  600. package/dist/module/styles/themes/slate.js.map +1 -0
  601. package/dist/module/styles/themes/solarizedDark.js +39 -0
  602. package/dist/module/styles/themes/solarizedDark.js.map +1 -0
  603. package/dist/module/styles/themes/solarizedLight.js +39 -0
  604. package/dist/module/styles/themes/solarizedLight.js.map +1 -0
  605. package/dist/module/styles/themes/spruce.js +35 -0
  606. package/dist/module/styles/themes/spruce.js.map +1 -0
  607. package/dist/module/styles/themes/stormClouds.js +39 -0
  608. package/dist/module/styles/themes/stormClouds.js.map +1 -0
  609. package/dist/module/styles/themes/theSixtiesUSA.js +35 -0
  610. package/dist/module/styles/themes/theSixtiesUSA.js.map +1 -0
  611. package/dist/module/styles/themes/tokyoDark.js +35 -0
  612. package/dist/module/styles/themes/tokyoDark.js.map +1 -0
  613. package/dist/module/styles/themes/tooSexy.js +35 -0
  614. package/dist/module/styles/themes/tooSexy.js.map +1 -0
  615. package/dist/module/styles/themes/travel.js +35 -0
  616. package/dist/module/styles/themes/travel.js.map +1 -0
  617. package/dist/module/styles/themes/vaporTeal.js +35 -0
  618. package/dist/module/styles/themes/vaporTeal.js.map +1 -0
  619. package/dist/module/styles/themes/vermillion.js +35 -0
  620. package/dist/module/styles/themes/vermillion.js.map +1 -0
  621. package/dist/module/styles/themes/violetDark.js +35 -0
  622. package/dist/module/styles/themes/violetDark.js.map +1 -0
  623. package/dist/module/styles/themes/water.js +35 -0
  624. package/dist/module/styles/themes/water.js.map +1 -0
  625. package/dist/module/styles/themes/wmii.js +39 -0
  626. package/dist/module/styles/themes/wmii.js.map +1 -0
  627. package/dist/module/types.js +4 -0
  628. package/dist/module/types.js.map +1 -0
  629. package/dist/module/utils/index.js +47 -0
  630. package/dist/module/utils/index.js.map +1 -0
  631. package/dist/typescript/jest.setup.d.ts +2 -0
  632. package/dist/typescript/jest.setup.d.ts.map +1 -0
  633. package/dist/typescript/src/components/AppBar/AppBar.d.ts +152 -0
  634. package/dist/typescript/src/components/AppBar/AppBar.d.ts.map +1 -0
  635. package/dist/typescript/src/components/AppBar/AppBar.spec.d.ts +2 -0
  636. package/dist/typescript/src/components/AppBar/AppBar.spec.d.ts.map +1 -0
  637. package/dist/typescript/src/components/AppBar/AppBarBackAction.d.ts +7 -0
  638. package/dist/typescript/src/components/AppBar/AppBarBackAction.d.ts.map +1 -0
  639. package/dist/typescript/src/components/AppBar/AppBarContent.d.ts +21 -0
  640. package/dist/typescript/src/components/AppBar/AppBarContent.d.ts.map +1 -0
  641. package/dist/typescript/src/components/AppBar/index.d.ts +2 -0
  642. package/dist/typescript/src/components/AppBar/index.d.ts.map +1 -0
  643. package/dist/typescript/src/components/Button/Button.d.ts +24 -0
  644. package/dist/typescript/src/components/Button/Button.d.ts.map +1 -0
  645. package/dist/typescript/src/components/Button/Button.spec.d.ts +2 -0
  646. package/dist/typescript/src/components/Button/Button.spec.d.ts.map +1 -0
  647. package/dist/typescript/src/components/Button/index.d.ts +2 -0
  648. package/dist/typescript/src/components/Button/index.d.ts.map +1 -0
  649. package/dist/typescript/src/components/Card/Card.d.ts +20 -0
  650. package/dist/typescript/src/components/Card/Card.d.ts.map +1 -0
  651. package/dist/typescript/src/components/Card/Card.spec.d.ts +2 -0
  652. package/dist/typescript/src/components/Card/Card.spec.d.ts.map +1 -0
  653. package/dist/typescript/src/components/Card/CardContent.d.ts +9 -0
  654. package/dist/typescript/src/components/Card/CardContent.d.ts.map +1 -0
  655. package/dist/typescript/src/components/Card/index.d.ts +2 -0
  656. package/dist/typescript/src/components/Card/index.d.ts.map +1 -0
  657. package/dist/typescript/src/components/Checkbox/Checkbox.d.ts +7 -0
  658. package/dist/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  659. package/dist/typescript/src/components/Checkbox/index.d.ts +2 -0
  660. package/dist/typescript/src/components/Checkbox/index.d.ts.map +1 -0
  661. package/dist/typescript/src/components/ColorButton/ColorButton.d.ts +12 -0
  662. package/dist/typescript/src/components/ColorButton/ColorButton.d.ts.map +1 -0
  663. package/dist/typescript/src/components/ColorButton/index.d.ts +2 -0
  664. package/dist/typescript/src/components/ColorButton/index.d.ts.map +1 -0
  665. package/dist/typescript/src/components/ColorPicker/ColorPicker.d.ts +17 -0
  666. package/dist/typescript/src/components/ColorPicker/ColorPicker.d.ts.map +1 -0
  667. package/dist/typescript/src/components/ColorPicker/index.d.ts +2 -0
  668. package/dist/typescript/src/components/ColorPicker/index.d.ts.map +1 -0
  669. package/dist/typescript/src/components/Desktop/Desktop.d.ts +14 -0
  670. package/dist/typescript/src/components/Desktop/Desktop.d.ts.map +1 -0
  671. package/dist/typescript/src/components/Desktop/Desktop.spec.d.ts +2 -0
  672. package/dist/typescript/src/components/Desktop/Desktop.spec.d.ts.map +1 -0
  673. package/dist/typescript/src/components/Desktop/index.d.ts +2 -0
  674. package/dist/typescript/src/components/Desktop/index.d.ts.map +1 -0
  675. package/dist/typescript/src/components/Divider/Divider.d.ts +15 -0
  676. package/dist/typescript/src/components/Divider/Divider.d.ts.map +1 -0
  677. package/dist/typescript/src/components/Divider/Divider.spec.d.ts +2 -0
  678. package/dist/typescript/src/components/Divider/Divider.spec.d.ts.map +1 -0
  679. package/dist/typescript/src/components/Divider/index.d.ts +2 -0
  680. package/dist/typescript/src/components/Divider/index.d.ts.map +1 -0
  681. package/dist/typescript/src/components/FAB/FAB.d.ts +68 -0
  682. package/dist/typescript/src/components/FAB/FAB.d.ts.map +1 -0
  683. package/dist/typescript/src/components/FAB/FABGroup.d.ts +132 -0
  684. package/dist/typescript/src/components/FAB/FABGroup.d.ts.map +1 -0
  685. package/dist/typescript/src/components/FAB/index.d.ts +2 -0
  686. package/dist/typescript/src/components/FAB/index.d.ts.map +1 -0
  687. package/dist/typescript/src/components/Fieldset/Fieldset.d.ts +18 -0
  688. package/dist/typescript/src/components/Fieldset/Fieldset.d.ts.map +1 -0
  689. package/dist/typescript/src/components/Fieldset/Fieldset.spec.d.ts +2 -0
  690. package/dist/typescript/src/components/Fieldset/Fieldset.spec.d.ts.map +1 -0
  691. package/dist/typescript/src/components/Fieldset/index.d.ts +2 -0
  692. package/dist/typescript/src/components/Fieldset/index.d.ts.map +1 -0
  693. package/dist/typescript/src/components/Hourglass/Hourglass.d.ts +10 -0
  694. package/dist/typescript/src/components/Hourglass/Hourglass.d.ts.map +1 -0
  695. package/dist/typescript/src/components/Hourglass/Hourglass.spec.d.ts +2 -0
  696. package/dist/typescript/src/components/Hourglass/Hourglass.spec.d.ts.map +1 -0
  697. package/dist/typescript/src/components/Hourglass/base64hourglass.d.ts +3 -0
  698. package/dist/typescript/src/components/Hourglass/base64hourglass.d.ts.map +1 -0
  699. package/dist/typescript/src/components/Hourglass/index.d.ts +2 -0
  700. package/dist/typescript/src/components/Hourglass/index.d.ts.map +1 -0
  701. package/dist/typescript/src/components/Icons/ArrowIcon.d.ts +17 -0
  702. package/dist/typescript/src/components/Icons/ArrowIcon.d.ts.map +1 -0
  703. package/dist/typescript/src/components/Icons/CheckmarkIcon.d.ts +13 -0
  704. package/dist/typescript/src/components/Icons/CheckmarkIcon.d.ts.map +1 -0
  705. package/dist/typescript/src/components/Icons/ChevronIcon.d.ts +16 -0
  706. package/dist/typescript/src/components/Icons/ChevronIcon.d.ts.map +1 -0
  707. package/dist/typescript/src/components/Icons/CloseIcon.d.ts +14 -0
  708. package/dist/typescript/src/components/Icons/CloseIcon.d.ts.map +1 -0
  709. package/dist/typescript/src/components/Icons/index.d.ts +5 -0
  710. package/dist/typescript/src/components/Icons/index.d.ts.map +1 -0
  711. package/dist/typescript/src/components/Label/Label.d.ts +18 -0
  712. package/dist/typescript/src/components/Label/Label.d.ts.map +1 -0
  713. package/dist/typescript/src/components/Label/index.d.ts +2 -0
  714. package/dist/typescript/src/components/Label/index.d.ts.map +1 -0
  715. package/dist/typescript/src/components/List/List.d.ts +4 -0
  716. package/dist/typescript/src/components/List/List.d.ts.map +1 -0
  717. package/dist/typescript/src/components/List/ListAccordion.d.ts +27 -0
  718. package/dist/typescript/src/components/List/ListAccordion.d.ts.map +1 -0
  719. package/dist/typescript/src/components/List/ListItem.d.ts +17 -0
  720. package/dist/typescript/src/components/List/ListItem.d.ts.map +1 -0
  721. package/dist/typescript/src/components/List/ListSection.d.ts +15 -0
  722. package/dist/typescript/src/components/List/ListSection.d.ts.map +1 -0
  723. package/dist/typescript/src/components/List/index.d.ts +3 -0
  724. package/dist/typescript/src/components/List/index.d.ts.map +1 -0
  725. package/dist/typescript/src/components/Menu/Menu.d.ts +47 -0
  726. package/dist/typescript/src/components/Menu/Menu.d.ts.map +1 -0
  727. package/dist/typescript/src/components/Menu/MenuItem.d.ts +18 -0
  728. package/dist/typescript/src/components/Menu/MenuItem.d.ts.map +1 -0
  729. package/dist/typescript/src/components/Menu/index.d.ts +2 -0
  730. package/dist/typescript/src/components/Menu/index.d.ts.map +1 -0
  731. package/dist/typescript/src/components/NumberInput/NumberInput.d.ts +21 -0
  732. package/dist/typescript/src/components/NumberInput/NumberInput.d.ts.map +1 -0
  733. package/dist/typescript/src/components/NumberInput/NumberInput.spec.d.ts +2 -0
  734. package/dist/typescript/src/components/NumberInput/NumberInput.spec.d.ts.map +1 -0
  735. package/dist/typescript/src/components/NumberInput/index.d.ts +2 -0
  736. package/dist/typescript/src/components/NumberInput/index.d.ts.map +1 -0
  737. package/dist/typescript/src/components/Panel/Panel.d.ts +19 -0
  738. package/dist/typescript/src/components/Panel/Panel.d.ts.map +1 -0
  739. package/dist/typescript/src/components/Panel/Panel.spec.d.ts +2 -0
  740. package/dist/typescript/src/components/Panel/Panel.spec.d.ts.map +1 -0
  741. package/dist/typescript/src/components/Panel/index.d.ts +2 -0
  742. package/dist/typescript/src/components/Panel/index.d.ts.map +1 -0
  743. package/dist/typescript/src/components/Portal/Portal.d.ts +21 -0
  744. package/dist/typescript/src/components/Portal/Portal.d.ts.map +1 -0
  745. package/dist/typescript/src/components/Portal/PortalConsumer.d.ts +16 -0
  746. package/dist/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
  747. package/dist/typescript/src/components/Portal/PortalHost.d.ts +46 -0
  748. package/dist/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
  749. package/dist/typescript/src/components/Portal/PortalManager.d.ts +19 -0
  750. package/dist/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
  751. package/dist/typescript/src/components/Portal/index.d.ts +2 -0
  752. package/dist/typescript/src/components/Portal/index.d.ts.map +1 -0
  753. package/dist/typescript/src/components/Progress/Progress.d.ts +15 -0
  754. package/dist/typescript/src/components/Progress/Progress.d.ts.map +1 -0
  755. package/dist/typescript/src/components/Progress/index.d.ts +2 -0
  756. package/dist/typescript/src/components/Progress/index.d.ts.map +1 -0
  757. package/dist/typescript/src/components/Radio/Radio.d.ts +10 -0
  758. package/dist/typescript/src/components/Radio/Radio.d.ts.map +1 -0
  759. package/dist/typescript/src/components/Radio/index.d.ts +2 -0
  760. package/dist/typescript/src/components/Radio/index.d.ts.map +1 -0
  761. package/dist/typescript/src/components/ScrollPanel/ScrollPanel.d.ts +13 -0
  762. package/dist/typescript/src/components/ScrollPanel/ScrollPanel.d.ts.map +1 -0
  763. package/dist/typescript/src/components/ScrollPanel/index.d.ts +2 -0
  764. package/dist/typescript/src/components/ScrollPanel/index.d.ts.map +1 -0
  765. package/dist/typescript/src/components/ScrollView/ScrollView.d.ts +17 -0
  766. package/dist/typescript/src/components/ScrollView/ScrollView.d.ts.map +1 -0
  767. package/dist/typescript/src/components/ScrollView/index.d.ts +2 -0
  768. package/dist/typescript/src/components/ScrollView/index.d.ts.map +1 -0
  769. package/dist/typescript/src/components/Select/Select.d.ts +18 -0
  770. package/dist/typescript/src/components/Select/Select.d.ts.map +1 -0
  771. package/dist/typescript/src/components/Select/SelectBase.d.ts +15 -0
  772. package/dist/typescript/src/components/Select/SelectBase.d.ts.map +1 -0
  773. package/dist/typescript/src/components/Select/SelectBox.d.ts +16 -0
  774. package/dist/typescript/src/components/Select/SelectBox.d.ts.map +1 -0
  775. package/dist/typescript/src/components/Select/index.d.ts +3 -0
  776. package/dist/typescript/src/components/Select/index.d.ts.map +1 -0
  777. package/dist/typescript/src/components/Slider/Slider.d.ts +24 -0
  778. package/dist/typescript/src/components/Slider/Slider.d.ts.map +1 -0
  779. package/dist/typescript/src/components/Slider/index.d.ts +2 -0
  780. package/dist/typescript/src/components/Slider/index.d.ts.map +1 -0
  781. package/dist/typescript/src/components/Snackbar/Snackbar.d.ts +51 -0
  782. package/dist/typescript/src/components/Snackbar/Snackbar.d.ts.map +1 -0
  783. package/dist/typescript/src/components/Snackbar/SnackbarContent.d.ts +9 -0
  784. package/dist/typescript/src/components/Snackbar/SnackbarContent.d.ts.map +1 -0
  785. package/dist/typescript/src/components/Snackbar/index.d.ts +2 -0
  786. package/dist/typescript/src/components/Snackbar/index.d.ts.map +1 -0
  787. package/dist/typescript/src/components/SwitchBase/SwitchBase.d.ts +21 -0
  788. package/dist/typescript/src/components/SwitchBase/SwitchBase.d.ts.map +1 -0
  789. package/dist/typescript/src/components/SwitchBase/index.d.ts +2 -0
  790. package/dist/typescript/src/components/SwitchBase/index.d.ts.map +1 -0
  791. package/dist/typescript/src/components/Tabs/Tabs.d.ts +38 -0
  792. package/dist/typescript/src/components/Tabs/Tabs.d.ts.map +1 -0
  793. package/dist/typescript/src/components/Tabs/index.d.ts +2 -0
  794. package/dist/typescript/src/components/Tabs/index.d.ts.map +1 -0
  795. package/dist/typescript/src/components/TextInput/TextInput.d.ts +16 -0
  796. package/dist/typescript/src/components/TextInput/TextInput.d.ts.map +1 -0
  797. package/dist/typescript/src/components/TextInput/index.d.ts +2 -0
  798. package/dist/typescript/src/components/TextInput/index.d.ts.map +1 -0
  799. package/dist/typescript/src/components/Toolbar/Toolbar.d.ts +10 -0
  800. package/dist/typescript/src/components/Toolbar/Toolbar.d.ts.map +1 -0
  801. package/dist/typescript/src/components/Toolbar/index.d.ts +2 -0
  802. package/dist/typescript/src/components/Toolbar/index.d.ts.map +1 -0
  803. package/dist/typescript/src/components/Typography/Anchor.d.ts +12 -0
  804. package/dist/typescript/src/components/Typography/Anchor.d.ts.map +1 -0
  805. package/dist/typescript/src/components/Typography/Text.d.ts +16 -0
  806. package/dist/typescript/src/components/Typography/Text.d.ts.map +1 -0
  807. package/dist/typescript/src/components/Typography/Text.spec.d.ts +2 -0
  808. package/dist/typescript/src/components/Typography/Text.spec.d.ts.map +1 -0
  809. package/dist/typescript/src/components/Typography/Title.d.ts +12 -0
  810. package/dist/typescript/src/components/Typography/Title.d.ts.map +1 -0
  811. package/dist/typescript/src/components/Typography/index.d.ts +4 -0
  812. package/dist/typescript/src/components/Typography/index.d.ts.map +1 -0
  813. package/dist/typescript/src/components/Window/Window.d.ts +18 -0
  814. package/dist/typescript/src/components/Window/Window.d.ts.map +1 -0
  815. package/dist/typescript/src/components/Window/index.d.ts +2 -0
  816. package/dist/typescript/src/components/Window/index.d.ts.map +1 -0
  817. package/dist/typescript/src/core/Provider.d.ts +9 -0
  818. package/dist/typescript/src/core/Provider.d.ts.map +1 -0
  819. package/dist/typescript/src/core/theming.d.ts +10 -0
  820. package/dist/typescript/src/core/theming.d.ts.map +1 -0
  821. package/dist/typescript/src/hooks/useAsyncReference.d.ts +8 -0
  822. package/dist/typescript/src/hooks/useAsyncReference.d.ts.map +1 -0
  823. package/dist/typescript/src/hooks/useControlledOrUncontrolled.d.ts +8 -0
  824. package/dist/typescript/src/hooks/useControlledOrUncontrolled.d.ts.map +1 -0
  825. package/dist/typescript/src/index.d.ts +36 -0
  826. package/dist/typescript/src/index.d.ts.map +1 -0
  827. package/dist/typescript/src/styles/shadow.d.ts +15 -0
  828. package/dist/typescript/src/styles/shadow.d.ts.map +1 -0
  829. package/dist/typescript/src/styles/styleElements.d.ts +17 -0
  830. package/dist/typescript/src/styles/styleElements.d.ts.map +1 -0
  831. package/dist/typescript/src/styles/styles.d.ts +117 -0
  832. package/dist/typescript/src/styles/styles.d.ts.map +1 -0
  833. package/dist/typescript/src/styles/themes/aiee.d.ts +34 -0
  834. package/dist/typescript/src/styles/themes/aiee.d.ts.map +1 -0
  835. package/dist/typescript/src/styles/themes/ash.d.ts +34 -0
  836. package/dist/typescript/src/styles/themes/ash.d.ts.map +1 -0
  837. package/dist/typescript/src/styles/themes/azureOrange.d.ts +34 -0
  838. package/dist/typescript/src/styles/themes/azureOrange.d.ts.map +1 -0
  839. package/dist/typescript/src/styles/themes/bee.d.ts +34 -0
  840. package/dist/typescript/src/styles/themes/bee.d.ts.map +1 -0
  841. package/dist/typescript/src/styles/themes/blackAndWhite.d.ts +34 -0
  842. package/dist/typescript/src/styles/themes/blackAndWhite.d.ts.map +1 -0
  843. package/dist/typescript/src/styles/themes/blue.d.ts +34 -0
  844. package/dist/typescript/src/styles/themes/blue.d.ts.map +1 -0
  845. package/dist/typescript/src/styles/themes/brick.d.ts +34 -0
  846. package/dist/typescript/src/styles/themes/brick.d.ts.map +1 -0
  847. package/dist/typescript/src/styles/themes/candy.d.ts +34 -0
  848. package/dist/typescript/src/styles/themes/candy.d.ts.map +1 -0
  849. package/dist/typescript/src/styles/themes/cherry.d.ts +34 -0
  850. package/dist/typescript/src/styles/themes/cherry.d.ts.map +1 -0
  851. package/dist/typescript/src/styles/themes/coldGray.d.ts +35 -0
  852. package/dist/typescript/src/styles/themes/coldGray.d.ts.map +1 -0
  853. package/dist/typescript/src/styles/themes/counterStrike.d.ts +34 -0
  854. package/dist/typescript/src/styles/themes/counterStrike.d.ts.map +1 -0
  855. package/dist/typescript/src/styles/themes/darkTeal.d.ts +34 -0
  856. package/dist/typescript/src/styles/themes/darkTeal.d.ts.map +1 -0
  857. package/dist/typescript/src/styles/themes/eggplant.d.ts +34 -0
  858. package/dist/typescript/src/styles/themes/eggplant.d.ts.map +1 -0
  859. package/dist/typescript/src/styles/themes/fxDev.d.ts +34 -0
  860. package/dist/typescript/src/styles/themes/fxDev.d.ts.map +1 -0
  861. package/dist/typescript/src/styles/themes/highContrast.d.ts +34 -0
  862. package/dist/typescript/src/styles/themes/highContrast.d.ts.map +1 -0
  863. package/dist/typescript/src/styles/themes/hotChocolate.d.ts +34 -0
  864. package/dist/typescript/src/styles/themes/hotChocolate.d.ts.map +1 -0
  865. package/dist/typescript/src/styles/themes/index.d.ts +1606 -0
  866. package/dist/typescript/src/styles/themes/index.d.ts.map +1 -0
  867. package/dist/typescript/src/styles/themes/lilac.d.ts +34 -0
  868. package/dist/typescript/src/styles/themes/lilac.d.ts.map +1 -0
  869. package/dist/typescript/src/styles/themes/lilacRoseDark.d.ts +35 -0
  870. package/dist/typescript/src/styles/themes/lilacRoseDark.d.ts.map +1 -0
  871. package/dist/typescript/src/styles/themes/maple.d.ts +34 -0
  872. package/dist/typescript/src/styles/themes/maple.d.ts.map +1 -0
  873. package/dist/typescript/src/styles/themes/marine.d.ts +34 -0
  874. package/dist/typescript/src/styles/themes/marine.d.ts.map +1 -0
  875. package/dist/typescript/src/styles/themes/matrix.d.ts +34 -0
  876. package/dist/typescript/src/styles/themes/matrix.d.ts.map +1 -0
  877. package/dist/typescript/src/styles/themes/millenium.d.ts +34 -0
  878. package/dist/typescript/src/styles/themes/millenium.d.ts.map +1 -0
  879. package/dist/typescript/src/styles/themes/modernDark.d.ts +34 -0
  880. package/dist/typescript/src/styles/themes/modernDark.d.ts.map +1 -0
  881. package/dist/typescript/src/styles/themes/molecule.d.ts +34 -0
  882. package/dist/typescript/src/styles/themes/molecule.d.ts.map +1 -0
  883. package/dist/typescript/src/styles/themes/monochrome.d.ts +1 -0
  884. package/dist/typescript/src/styles/themes/monochrome.d.ts.map +1 -0
  885. package/dist/typescript/src/styles/themes/ninjaTurtles.d.ts +34 -0
  886. package/dist/typescript/src/styles/themes/ninjaTurtles.d.ts.map +1 -0
  887. package/dist/typescript/src/styles/themes/olive.d.ts +34 -0
  888. package/dist/typescript/src/styles/themes/olive.d.ts.map +1 -0
  889. package/dist/typescript/src/styles/themes/original.d.ts +34 -0
  890. package/dist/typescript/src/styles/themes/original.d.ts.map +1 -0
  891. package/dist/typescript/src/styles/themes/pamelaAnderson.d.ts +34 -0
  892. package/dist/typescript/src/styles/themes/pamelaAnderson.d.ts.map +1 -0
  893. package/dist/typescript/src/styles/themes/plum.d.ts +34 -0
  894. package/dist/typescript/src/styles/themes/plum.d.ts.map +1 -0
  895. package/dist/typescript/src/styles/themes/polarized.d.ts +34 -0
  896. package/dist/typescript/src/styles/themes/polarized.d.ts.map +1 -0
  897. package/dist/typescript/src/styles/themes/powerShell.d.ts +34 -0
  898. package/dist/typescript/src/styles/themes/powerShell.d.ts.map +1 -0
  899. package/dist/typescript/src/styles/themes/rainyDay.d.ts +34 -0
  900. package/dist/typescript/src/styles/themes/rainyDay.d.ts.map +1 -0
  901. package/dist/typescript/src/styles/themes/raspberry.d.ts +34 -0
  902. package/dist/typescript/src/styles/themes/raspberry.d.ts.map +1 -0
  903. package/dist/typescript/src/styles/themes/redWine.d.ts +34 -0
  904. package/dist/typescript/src/styles/themes/redWine.d.ts.map +1 -0
  905. package/dist/typescript/src/styles/themes/rose.d.ts +34 -0
  906. package/dist/typescript/src/styles/themes/rose.d.ts.map +1 -0
  907. package/dist/typescript/src/styles/themes/seawater.d.ts +34 -0
  908. package/dist/typescript/src/styles/themes/seawater.d.ts.map +1 -0
  909. package/dist/typescript/src/styles/themes/slate.d.ts +34 -0
  910. package/dist/typescript/src/styles/themes/slate.d.ts.map +1 -0
  911. package/dist/typescript/src/styles/themes/solarizedDark.d.ts +34 -0
  912. package/dist/typescript/src/styles/themes/solarizedDark.d.ts.map +1 -0
  913. package/dist/typescript/src/styles/themes/solarizedLight.d.ts +34 -0
  914. package/dist/typescript/src/styles/themes/solarizedLight.d.ts.map +1 -0
  915. package/dist/typescript/src/styles/themes/spruce.d.ts +34 -0
  916. package/dist/typescript/src/styles/themes/spruce.d.ts.map +1 -0
  917. package/dist/typescript/src/styles/themes/stormClouds.d.ts +34 -0
  918. package/dist/typescript/src/styles/themes/stormClouds.d.ts.map +1 -0
  919. package/dist/typescript/src/styles/themes/theSixtiesUSA.d.ts +34 -0
  920. package/dist/typescript/src/styles/themes/theSixtiesUSA.d.ts.map +1 -0
  921. package/dist/typescript/src/styles/themes/tokyoDark.d.ts +34 -0
  922. package/dist/typescript/src/styles/themes/tokyoDark.d.ts.map +1 -0
  923. package/dist/typescript/src/styles/themes/tooSexy.d.ts +34 -0
  924. package/dist/typescript/src/styles/themes/tooSexy.d.ts.map +1 -0
  925. package/dist/typescript/src/styles/themes/travel.d.ts +34 -0
  926. package/dist/typescript/src/styles/themes/travel.d.ts.map +1 -0
  927. package/dist/typescript/src/styles/themes/vaporTeal.d.ts +34 -0
  928. package/dist/typescript/src/styles/themes/vaporTeal.d.ts.map +1 -0
  929. package/dist/typescript/src/styles/themes/vermillion.d.ts +34 -0
  930. package/dist/typescript/src/styles/themes/vermillion.d.ts.map +1 -0
  931. package/dist/typescript/src/styles/themes/violetDark.d.ts +34 -0
  932. package/dist/typescript/src/styles/themes/violetDark.d.ts.map +1 -0
  933. package/dist/typescript/src/styles/themes/water.d.ts +34 -0
  934. package/dist/typescript/src/styles/themes/water.d.ts.map +1 -0
  935. package/dist/typescript/src/styles/themes/wmii.d.ts +34 -0
  936. package/dist/typescript/src/styles/themes/wmii.d.ts.map +1 -0
  937. package/dist/typescript/src/types.d.ts +42 -0
  938. package/dist/typescript/src/types.d.ts.map +1 -0
  939. package/dist/typescript/src/utils/index.d.ts +7 -0
  940. package/dist/typescript/src/utils/index.d.ts.map +1 -0
  941. package/package.json +18 -65
  942. package/src/components/AppBar/AppBarContent.tsx +1 -1
  943. package/src/components/Button/Button.tsx +0 -2
  944. package/src/components/Divider/Divider.tsx +1 -0
  945. package/src/components/FAB/FAB.tsx +0 -2
  946. package/src/components/FAB/FABGroup.tsx +0 -6
  947. package/src/components/Hourglass/Hourglass.tsx +1 -0
  948. package/src/components/NumberInput/NumberInput.tsx +1 -0
  949. package/src/components/Select/SelectBase.tsx +1 -1
  950. package/src/components/SwitchBase/SwitchBase.tsx +2 -4
  951. package/src/components/Tabs/Tabs.tsx +1 -2
  952. package/src/hooks/useControlledOrUncontrolled.ts +1 -0
  953. package/src/styles/styleElements.tsx +1 -0
@@ -0,0 +1,26 @@
1
+ The font file in this archive was created using Fontstruct the free, online
2
+ font-building tool.
3
+ This font was created by “lou”.
4
+ This font has a homepage where this archive and other versions may be found:
5
+ https://fontstruct.com/fontstructions/show/1384746
6
+
7
+ Try Fontstruct at http://fontstruct.com
8
+ It’s easy and it’s fun.
9
+
10
+ NOTE FOR FLASH USERS: Fontstruct fonts (fontstructions) are optimized for Flash.
11
+ If the font in this archive is a pixel font, it is best displayed at a font-size
12
+ of 11.
13
+
14
+ Fontstruct is sponsored by FontShop.
15
+ Visit them at https://fontshop.com
16
+ FontShop is the original independent font retailer. We’ve been around since
17
+ the dawn of digital type. Whether you need the right font or need to create the
18
+ right font from scratch, let our 26 years of experience work for you.
19
+
20
+ Fontstruct is copyright ©2017 Rob Meek
21
+
22
+ LEGAL NOTICE:
23
+ In using this font you must comply with the licensing terms described in the
24
+ file “license.txt” included with this archive.
25
+ If you redistribute the font file in this archive, it must be accompanied by all
26
+ the other files from this archive, including this one.
@@ -0,0 +1,4 @@
1
+ The FontStruction “MS Sans Serif Bold”
2
+ (https://fontstruct.com/fontstructions/show/1384862) by “lou” is licensed
3
+ under a Creative Commons Attribution Share Alike license
4
+ (http://creativecommons.org/licenses/by-sa/3.0/).
@@ -0,0 +1,26 @@
1
+ The font file in this archive was created using Fontstruct the free, online
2
+ font-building tool.
3
+ This font was created by “lou”.
4
+ This font has a homepage where this archive and other versions may be found:
5
+ https://fontstruct.com/fontstructions/show/1384862
6
+
7
+ Try Fontstruct at http://fontstruct.com
8
+ It’s easy and it’s fun.
9
+
10
+ NOTE FOR FLASH USERS: Fontstruct fonts (fontstructions) are optimized for Flash.
11
+ If the font in this archive is a pixel font, it is best displayed at a font-size
12
+ of 11.
13
+
14
+ Fontstruct is sponsored by FontShop.
15
+ Visit them at https://fontshop.com
16
+ FontShop is the original independent font retailer. We’ve been around since
17
+ the dawn of digital type. Whether you need the right font or need to create the
18
+ right font from scratch, let our 26 years of experience work for you.
19
+
20
+ Fontstruct is copyright ©2017 Rob Meek
21
+
22
+ LEGAL NOTICE:
23
+ In using this font you must comply with the licensing terms described in the
24
+ file “license.txt” included with this archive.
25
+ If you redistribute the font file in this archive, it must be accompanied by all
26
+ the other files from this archive, including this one.
@@ -0,0 +1,35 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet } from 'react-native';
5
+ import { withTheme } from '../../core/theming';
6
+ import AppBarContent from './AppBarContent';
7
+ import AppBarBackAction from './AppBarBackAction';
8
+ import Panel from '../Panel';
9
+ import { jsx as _jsx } from "react/jsx-runtime";
10
+ const AppBar = ({
11
+ children,
12
+ style = {},
13
+ ...rest
14
+ }) => {
15
+ return /*#__PURE__*/_jsx(Panel, {
16
+ style: [styles.wrapper, style],
17
+ variant: "raised",
18
+ elevation: 2,
19
+ ...rest,
20
+ children: children
21
+ });
22
+ };
23
+ const styles = StyleSheet.create({
24
+ wrapper: {
25
+ position: 'relative',
26
+ height: 56,
27
+ flexDirection: 'row',
28
+ alignItems: 'center',
29
+ paddingHorizontal: 8
30
+ }
31
+ });
32
+ AppBar.Content = AppBarContent;
33
+ AppBar.BackAction = AppBarBackAction;
34
+ export default withTheme(AppBar);
35
+ //# sourceMappingURL=AppBar.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","withTheme","AppBarContent","AppBarBackAction","Panel","jsx","_jsx","AppBar","children","style","rest","styles","wrapper","variant","elevation","create","position","height","flexDirection","alignItems","paddingHorizontal","Content","BackAction"],"sourceRoot":"../../../../src","sources":["components/AppBar/AppBar.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAoBC,UAAU,QAAyB,cAAc;AAGrE,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,OAAOC,aAAa,MAAM,iBAAiB;AAC3C,OAAOC,gBAAgB,MAAM,oBAAoB;AACjD,OAAOC,KAAK,MAAM,UAAU;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAQ7B,MAAMC,MAAM,GAAGA,CAAC;EAAEC,QAAQ;EAAEC,KAAK,GAAG,CAAC,CAAC;EAAE,GAAGC;AAAY,CAAC,KAAK;EAC3D,oBACEJ,IAAA,CAACF,KAAK;IACJK,KAAK,EAAE,CAACE,MAAM,CAACC,OAAO,EAAEH,KAAK,CAAE;IAC/BI,OAAO,EAAC,QAAQ;IAChBC,SAAS,EAAE,CAAE;IAAA,GACTJ,IAAI;IAAAF,QAAA,EAEPA;EAAQ,CACJ,CAAC;AAEZ,CAAC;AAED,MAAMG,MAAM,GAAGX,UAAU,CAACe,MAAM,CAAC;EAC/BH,OAAO,EAAE;IACPI,QAAQ,EAAE,UAAU;IACpBC,MAAM,EAAE,EAAE;IACVC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,iBAAiB,EAAE;EACrB;AACF,CAAC,CAAC;AAEFb,MAAM,CAACc,OAAO,GAAGnB,aAAa;AAC9BK,MAAM,CAACe,UAAU,GAAGnB,gBAAgB;AAEpC,eAAeF,SAAS,CAACM,MAAM,CAAC","ignoreList":[]}
@@ -0,0 +1,153 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { render, fireEvent } from '@testing-library/react-native';
5
+ import { testId } from '../Panel/Panel';
6
+ import { AppBar, Text } from '../..';
7
+ import { jsx as _jsx } from "react/jsx-runtime";
8
+ describe('<AppBar />', () => {
9
+ it('should render children', () => {
10
+ const {
11
+ getByTestId
12
+ } = render(/*#__PURE__*/_jsx(AppBar, {
13
+ children: /*#__PURE__*/_jsx(Text, {
14
+ children: "This is an AppBar"
15
+ })
16
+ }));
17
+ expect(getByTestId(testId)).toHaveTextContent('This is an AppBar');
18
+ });
19
+ it('should render custom styles', () => {
20
+ const style = {
21
+ marginTop: 42
22
+ };
23
+ const {
24
+ getByTestId
25
+ } = render(/*#__PURE__*/_jsx(AppBar, {
26
+ style: style,
27
+ children: /*#__PURE__*/_jsx(Text, {
28
+ children: "This is an AppBar"
29
+ })
30
+ }));
31
+ expect(getByTestId(testId)).toHaveStyle(style);
32
+ });
33
+ });
34
+ describe('<AppBar.Content />', () => {
35
+ it('should render custom styles', () => {
36
+ const style = {
37
+ marginTop: 42
38
+ };
39
+ const {
40
+ getByTestId
41
+ } = render(/*#__PURE__*/_jsx(AppBar, {
42
+ children: /*#__PURE__*/_jsx(AppBar.Content, {
43
+ title: "Title",
44
+ style: style,
45
+ testID: "content"
46
+ })
47
+ }));
48
+ expect(getByTestId('content')).toHaveStyle(style);
49
+ });
50
+ describe('title', () => {
51
+ it('should render title', () => {
52
+ const {
53
+ getByText
54
+ } = render(/*#__PURE__*/_jsx(AppBar, {
55
+ children: /*#__PURE__*/_jsx(AppBar.Content, {
56
+ title: "Title"
57
+ })
58
+ }));
59
+ expect(getByText('Title')).toBeTruthy();
60
+ });
61
+ it('should pass styles to title', () => {
62
+ const style = {
63
+ color: 'red'
64
+ };
65
+ const {
66
+ getByText
67
+ } = render(/*#__PURE__*/_jsx(AppBar, {
68
+ children: /*#__PURE__*/_jsx(AppBar.Content, {
69
+ title: "Title",
70
+ titleStyle: style
71
+ })
72
+ }));
73
+ expect(getByText('Title')).toHaveStyle(style);
74
+ });
75
+ });
76
+ describe('subtitle', () => {
77
+ it('should render subtitle', () => {
78
+ const {
79
+ getByText
80
+ } = render(/*#__PURE__*/_jsx(AppBar, {
81
+ children: /*#__PURE__*/_jsx(AppBar.Content, {
82
+ title: "Title",
83
+ subtitle: "Subtitle"
84
+ })
85
+ }));
86
+ expect(getByText('Subtitle')).toBeTruthy();
87
+ });
88
+ it('should pass styles to subtitle', () => {
89
+ const style = {
90
+ color: 'red'
91
+ };
92
+ const {
93
+ getByText
94
+ } = render(/*#__PURE__*/_jsx(AppBar, {
95
+ children: /*#__PURE__*/_jsx(AppBar.Content, {
96
+ title: "Title",
97
+ subtitle: "Subtitle",
98
+ subtitleStyle: style
99
+ })
100
+ }));
101
+ expect(getByText('Subtitle')).toHaveStyle(style);
102
+ });
103
+ });
104
+ describe('prop: onPress', () => {
105
+ it('should handle onPress', () => {
106
+ const onPress = jest.fn();
107
+ const {
108
+ getByTestId
109
+ } = render(/*#__PURE__*/_jsx(AppBar, {
110
+ children: /*#__PURE__*/_jsx(AppBar.Content, {
111
+ testID: "content",
112
+ onPress: onPress,
113
+ title: "Title",
114
+ subtitle: "Subtitle"
115
+ })
116
+ }));
117
+ fireEvent(getByTestId('content'), 'press');
118
+ expect(onPress).toHaveBeenCalled();
119
+ });
120
+ });
121
+ });
122
+ describe('<AppBar.BackAction />', () => {
123
+ it('should render custom styles', () => {
124
+ const style = {
125
+ marginTop: 42
126
+ };
127
+ const {
128
+ getByTestId
129
+ } = render(/*#__PURE__*/_jsx(AppBar, {
130
+ children: /*#__PURE__*/_jsx(AppBar.BackAction, {
131
+ testID: "backAction",
132
+ style: style
133
+ })
134
+ }));
135
+ expect(getByTestId('backAction')).toHaveStyle(style);
136
+ });
137
+ describe('prop: onPress', () => {
138
+ it('should handle onPress', () => {
139
+ const onPress = jest.fn();
140
+ const {
141
+ getByTestId
142
+ } = render(/*#__PURE__*/_jsx(AppBar, {
143
+ children: /*#__PURE__*/_jsx(AppBar.BackAction, {
144
+ testID: "backAction",
145
+ onPress: onPress
146
+ })
147
+ }));
148
+ fireEvent(getByTestId('backAction'), 'press');
149
+ expect(onPress).toHaveBeenCalled();
150
+ });
151
+ });
152
+ });
153
+ //# sourceMappingURL=AppBar.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","render","fireEvent","testId","AppBar","Text","jsx","_jsx","describe","it","getByTestId","children","expect","toHaveTextContent","style","marginTop","toHaveStyle","Content","title","testID","getByText","toBeTruthy","color","titleStyle","subtitle","subtitleStyle","onPress","jest","fn","toHaveBeenCalled","BackAction"],"sourceRoot":"../../../../src","sources":["components/AppBar/AppBar.spec.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,EAAEC,SAAS,QAAQ,+BAA+B;AACjE,SAASC,MAAM,QAAQ,gBAAgB;AACvC,SAASC,MAAM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MAAM,EAAC,YAAY;QAACL,KAAK,EAAEA;MAAM,CAAE;IAAC,CACjD,CACV,CAAC;IAEDF,MAAM,CAACF,WAAW,CAAC,YAAY,CAAC,CAAC,CAACM,WAAW,CAACF,KAAK,CAAC;EACtD,CAAC,CAAC;EAEFN,QAAQ,CAAC,eAAe,EAAE,MAAM;IAC9BC,EAAE,CAAC,uBAAuB,EAAE,MAAM;MAChC,MAAMiB,OAAO,GAAGC,IAAI,CAACC,EAAE,CAAC,CAAC;MAEzB,MAAM;QAAElB;MAAY,CAAC,GAAGT,MAAM,cAC5BM,IAAA,CAACH,MAAM;QAAAO,QAAA,eACLJ,IAAA,CAACH,MAAM,CAAC0B,UAAU;UAACX,MAAM,EAAC,YAAY;UAACO,OAAO,EAAEA;QAAQ,CAAE;MAAC,CACrD,CACV,CAAC;MAEDxB,SAAS,CAACQ,WAAW,CAAC,YAAY,CAAC,EAAE,OAAO,CAAC;MAC7CE,MAAM,CAACc,OAAO,CAAC,CAACG,gBAAgB,CAAC,CAAC;IACpC,CAAC,CAAC;EACJ,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,25 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { Button, ChevronIcon } from '../..';
5
+ import { jsx as _jsx } from "react/jsx-runtime";
6
+ const AppBarBackAction = ({
7
+ disabled,
8
+ ...rest
9
+ }) => {
10
+ return /*#__PURE__*/_jsx(Button, {
11
+ disabled: disabled,
12
+ square: true,
13
+ variant: "menu",
14
+ ...rest,
15
+ children: /*#__PURE__*/_jsx(ChevronIcon, {
16
+ disabled: disabled,
17
+ direction: "left",
18
+ style: {
19
+ marginLeft: -2
20
+ }
21
+ })
22
+ });
23
+ };
24
+ export default AppBarBackAction;
25
+ //# sourceMappingURL=AppBarBackAction.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","Button","ChevronIcon","jsx","_jsx","AppBarBackAction","disabled","rest","square","variant","children","direction","style","marginLeft"],"sourceRoot":"../../../../src","sources":["components/AppBar/AppBarBackAction.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AAGzB,SAASC,MAAM,EAAEC,WAAW,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAI5C,MAAMC,gBAAgB,GAAGA,CAAC;EAAEC,QAAQ;EAAE,GAAGC;AAAY,CAAC,KAAK;EACzD,oBACEH,IAAA,CAACH,MAAM;IAACK,QAAQ,EAAEA,QAAS;IAACE,MAAM;IAACC,OAAO,EAAC,MAAM;IAAA,GAAKF,IAAI;IAAAG,QAAA,eACxDN,IAAA,CAACF,WAAW;MACVI,QAAQ,EAAEA,QAAS;MACnBK,SAAS,EAAC,MAAM;MAChBC,KAAK,EAAE;QAAEC,UAAU,EAAE,CAAC;MAAE;IAAE,CAC3B;EAAC,CACI,CAAC;AAEb,CAAC;AAED,eAAeR,gBAAgB","ignoreList":[]}
@@ -0,0 +1,60 @@
1
+ "use strict";
2
+
3
+ /* eslint-disable react/jsx-props-no-spreading */
4
+ import * as React from 'react';
5
+ import { StyleSheet, TouchableWithoutFeedback, View } from 'react-native';
6
+ import { withTheme } from '../../core/theming';
7
+ import { Text } from '../..';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ const AppbarContent = ({
10
+ // titleRef,
11
+ onPress,
12
+ style,
13
+ subtitle,
14
+ subtitleStyle,
15
+ theme,
16
+ title,
17
+ titleStyle,
18
+ ...rest
19
+ }) => {
20
+ return /*#__PURE__*/_jsx(View, {
21
+ style: [styles.container, style],
22
+ ...rest,
23
+ children: /*#__PURE__*/_jsx(TouchableWithoutFeedback, {
24
+ onPress: onPress,
25
+ disabled: !onPress,
26
+ children: /*#__PURE__*/_jsxs(View, {
27
+ children: [/*#__PURE__*/_jsx(Text, {
28
+ theme: theme
29
+ // ref={titleRef}
30
+ ,
31
+ style: [styles.title, titleStyle],
32
+ accessibilityRole: "header",
33
+ children: title
34
+ }), subtitle ? /*#__PURE__*/_jsx(Text, {
35
+ theme: theme,
36
+ secondary: true,
37
+ style: [styles.subtitle, subtitleStyle],
38
+ children: subtitle
39
+ }) : null]
40
+ })
41
+ })
42
+ });
43
+ };
44
+
45
+ // TODO: attach displayName to every component?
46
+ AppbarContent.displayName = 'Appbar.Content';
47
+ const styles = StyleSheet.create({
48
+ container: {
49
+ flex: 1,
50
+ paddingHorizontal: 12
51
+ },
52
+ title: {
53
+ fontSize: 16
54
+ },
55
+ subtitle: {
56
+ fontSize: 12
57
+ }
58
+ });
59
+ export default withTheme(AppbarContent);
60
+ //# sourceMappingURL=AppBarContent.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","TouchableWithoutFeedback","View","withTheme","Text","jsx","_jsx","jsxs","_jsxs","AppbarContent","onPress","style","subtitle","subtitleStyle","theme","title","titleStyle","rest","styles","container","children","disabled","accessibilityRole","secondary","displayName","create","flex","paddingHorizontal","fontSize"],"sourceRoot":"../../../../src","sources":["components/AppBar/AppBarContent.tsx"],"mappings":";;AAAA;AACA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAEEC,UAAU,EAEVC,wBAAwB,EACxBC,IAAI,QAEC,cAAc;AAGrB,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,SAASC,IAAI,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAe7B,MAAMC,aAAa,GAAGA,CAAC;EACrB;EACAC,OAAO;EACPC,KAAK;EACLC,QAAQ;EACRC,aAAa;EACbC,KAAK;EACLC,KAAK;EACLC,UAAU;EACV,GAAGC;AACE,CAAC,KAAK;EACX,oBACEX,IAAA,CAACJ,IAAI;IAACS,KAAK,EAAE,CAACO,MAAM,CAACC,SAAS,EAAER,KAAK,CAAE;IAAA,GAAKM,IAAI;IAAAG,QAAA,eAC9Cd,IAAA,CAACL,wBAAwB;MAACS,OAAO,EAAEA,OAAQ;MAACW,QAAQ,EAAE,CAACX,OAAQ;MAAAU,QAAA,eAC7DZ,KAAA,CAACN,IAAI;QAAAkB,QAAA,gBACHd,IAAA,CAACF,IAAI;UACHU,KAAK,EAAEA;UACP;UAAA;UACAH,KAAK,EAAE,CAACO,MAAM,CAACH,KAAK,EAAEC,UAAU,CAAE;UAClCM,iBAAiB,EAAC,QAAQ;UAAAF,QAAA,EAEzBL;QAAK,CACF,CAAC,EACNH,QAAQ,gBACPN,IAAA,CAACF,IAAI;UACHU,KAAK,EAAEA,KAAM;UACbS,SAAS;UACTZ,KAAK,EAAE,CAACO,MAAM,CAACN,QAAQ,EAAEC,aAAa,CAAE;UAAAO,QAAA,EAEvCR;QAAQ,CACL,CAAC,GACL,IAAI;MAAA,CACJ;IAAC,CACiB;EAAC,CACvB,CAAC;AAEX,CAAC;;AAED;AACAH,aAAa,CAACe,WAAW,GAAG,gBAAgB;AAE5C,MAAMN,MAAM,GAAGlB,UAAU,CAACyB,MAAM,CAAC;EAC/BN,SAAS,EAAE;IACTO,IAAI,EAAE,CAAC;IACPC,iBAAiB,EAAE;EACrB,CAAC;EACDZ,KAAK,EAAE;IACLa,QAAQ,EAAE;EACZ,CAAC;EACDhB,QAAQ,EAAE;IACRgB,QAAQ,EAAE;EACZ;AACF,CAAC,CAAC;AAEF,eAAezB,SAAS,CAACM,aAAa,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { default } from './AppBar';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/AppBar/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,UAAU","ignoreList":[]}
@@ -0,0 +1,170 @@
1
+ "use strict";
2
+
3
+ import React, { useState } from 'react';
4
+ import { StyleSheet,
5
+ // TODO: use Pressable instead of TouchableHighlight?
6
+ TouchableHighlight, View, ImageBackground } from 'react-native';
7
+ import { withTheme } from '../../core/theming';
8
+ import { blockSizes, buildBorderStyles } from '../../styles/styles';
9
+ import { Text } from '../..';
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ export const testId = 'button';
12
+ const Button = ({
13
+ accessible,
14
+ accessibilityLabel,
15
+ active = false,
16
+ children,
17
+ disabled = false,
18
+ onPress,
19
+ onLongPress,
20
+ primary = false,
21
+ size = 'md',
22
+ square = false,
23
+ style = {},
24
+ variant = 'default',
25
+ theme,
26
+ ...rest
27
+ }) => {
28
+ const [isPressed, setIsPressed] = useState(false);
29
+ const getWidth = () => {
30
+ return square ? blockSizes[size] : 'auto';
31
+ };
32
+ const isFlat = variant === 'flat';
33
+ const getBackgroundColor = () => {
34
+ if (isFlat) {
35
+ return disabled ? theme.flatLight : 'transparent';
36
+ }
37
+ return theme.material;
38
+ };
39
+ return /*#__PURE__*/_jsxs(View, {
40
+ style: [styles.wrapper, {
41
+ height: blockSizes[size],
42
+ width: getWidth()
43
+ }, style],
44
+ testID: testId,
45
+ ...rest,
46
+ children: [/*#__PURE__*/_jsx(Borders, {
47
+ theme: theme,
48
+ isPressed: isPressed,
49
+ variant: variant,
50
+ primary: primary,
51
+ active: active,
52
+ style: {
53
+ backgroundColor: getBackgroundColor()
54
+ }
55
+ }), /*#__PURE__*/_jsx(TouchableHighlight, {
56
+ style: [styles.content, {
57
+ paddingHorizontal: square ? 0 : 10
58
+ }, {
59
+ marginTop: active || isPressed ? 2 : 0
60
+ }],
61
+ onPress: onPress,
62
+ onLongPress: onLongPress,
63
+ disabled: disabled
64
+ // TODO: use onHideUnderlay or onPressIn?
65
+ ,
66
+ onHideUnderlay: () => setIsPressed(false),
67
+ onShowUnderlay: () => setIsPressed(true),
68
+ underlayColor: "none",
69
+ accessibilityLabel: accessibilityLabel,
70
+ accessibilityRole: "button",
71
+ accessibilityState: {
72
+ disabled
73
+ },
74
+ accessible: accessible,
75
+ children: /*#__PURE__*/_jsx(View, {
76
+ pointerEvents: "none",
77
+ children: typeof children === 'string' ? /*#__PURE__*/_jsx(Text, {
78
+ disabled: !isFlat && disabled,
79
+ secondary: isFlat && disabled,
80
+ children: children
81
+ }) : children
82
+ })
83
+ })]
84
+ });
85
+ };
86
+ const styles = StyleSheet.create({
87
+ wrapper: {
88
+ position: 'relative'
89
+ },
90
+ content: {
91
+ flex: 1,
92
+ justifyContent: 'center',
93
+ alignItems: 'center'
94
+ }
95
+ });
96
+ export default withTheme(Button);
97
+
98
+ // Borders acts like a pseudo element that
99
+ // will be positioned absolutely in it's parent element
100
+
101
+ // TODO: pass theme as an argument instead of using context ?
102
+ const Borders = ({
103
+ isPressed = false,
104
+ variant = 'default',
105
+ primary = false,
106
+ active = false,
107
+ style = {},
108
+ theme
109
+ }) => {
110
+ let wrapper = [];
111
+ let outer;
112
+ let inner;
113
+ let focus;
114
+ const borders = buildBorderStyles(theme);
115
+ if (variant === 'default') {
116
+ wrapper = primary ? [borders.outline] : [];
117
+ outer = [borders.defaultOuter];
118
+ inner = [borders.defaultInner];
119
+ focus = isPressed ? [borders.focusOutline] : [];
120
+ } else if (variant === 'raised') {
121
+ wrapper = primary ? [borders.outline] : [];
122
+ outer = [borders.outsideOuter];
123
+ inner = [borders.outsideInner];
124
+ focus = isPressed ? [borders.focusOutline] : [];
125
+ } else if (variant === 'menu' && (active || isPressed)) {
126
+ wrapper = [borders.well];
127
+ } else if (variant === 'flat') {
128
+ wrapper = primary ? [borders.outline] : [];
129
+ outer = [borders.flat];
130
+ inner = isPressed ? [borders.focusOutline] : [];
131
+ }
132
+ return /*#__PURE__*/_jsx(View, {
133
+ style: [borderStyles.position, active || isPressed ? borderStyles.invert : {}, ...wrapper, style],
134
+ children: Array.isArray(outer) && /*#__PURE__*/_jsx(View, {
135
+ style: [borderStyles.position, ...outer],
136
+ children: Array.isArray(inner) && inner.length > 0 && /*#__PURE__*/_jsxs(View, {
137
+ style: [borderStyles.position, ...inner],
138
+ children: [Array.isArray(focus) && !active && /*#__PURE__*/_jsx(View, {
139
+ style: [borderStyles.position, {
140
+ margin: primary ? 0 : 2
141
+ }, ...focus]
142
+ }), active && /*#__PURE__*/_jsx(ImageBackground, {
143
+ style: [borderStyles.position],
144
+ imageStyle: {
145
+ resizeMode: 'repeat'
146
+ },
147
+ source: {
148
+ // TODO: create util function for generating checkered background
149
+ uri: 'data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAgAAAAICAYAAADED76LAAAAIUlEQVQoU2P8////fwYkwMjIyIjCp4MCZPtAbAwraa8AAEGrH/nfAIhgAAAAAElFTkSuQmCC'
150
+ }
151
+ })]
152
+ })
153
+ })
154
+ });
155
+ };
156
+ const borderStyles = StyleSheet.create({
157
+ position: {
158
+ position: 'absolute',
159
+ top: 0,
160
+ bottom: 0,
161
+ left: 0,
162
+ right: 0
163
+ },
164
+ invert: {
165
+ transform: [{
166
+ rotate: '180deg'
167
+ }]
168
+ }
169
+ });
170
+ //# sourceMappingURL=Button.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","StyleSheet","TouchableHighlight","View","ImageBackground","withTheme","blockSizes","buildBorderStyles","Text","jsx","_jsx","jsxs","_jsxs","testId","Button","accessible","accessibilityLabel","active","children","disabled","onPress","onLongPress","primary","size","square","style","variant","theme","rest","isPressed","setIsPressed","getWidth","isFlat","getBackgroundColor","flatLight","material","styles","wrapper","height","width","testID","Borders","backgroundColor","content","paddingHorizontal","marginTop","onHideUnderlay","onShowUnderlay","underlayColor","accessibilityRole","accessibilityState","pointerEvents","secondary","create","position","flex","justifyContent","alignItems","outer","inner","focus","borders","outline","defaultOuter","defaultInner","focusOutline","outsideOuter","outsideInner","well","flat","borderStyles","invert","Array","isArray","length","margin","imageStyle","resizeMode","source","uri","top","bottom","left","right","transform","rotate"],"sourceRoot":"../../../../src","sources":["components/Button/Button.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,UAAU;AACV;AACAC,kBAAkB,EAClBC,IAAI,EACJC,eAAe,QAGV,cAAc;AAErB,SAASC,SAAS,QAAQ,oBAA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AAE,CACH,CACF;MAAA,CACG;IACP,CACG;EACP,CACG,CAAC;AAEX,CAAC;AAED,MAAMT,YAAY,GAAGrE,UAAU,CAACoD,MAAM,CAAC;EACrCC,QAAQ,EAAE;IACRA,QAAQ,EAAE,UAAU;IACpB0B,GAAG,EAAE,CAAC;IACNC,MAAM,EAAE,CAAC;IACTC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE;EACT,CAAC;EAEDZ,MAAM,EAAE;IACNa,SAAS,EAAE,CAAC;MAAEC,MAAM,EAAE;IAAS,CAAC;EAClC;AACF,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,69 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { render, fireEvent } from '@testing-library/react-native';
5
+ import { blockSizes } from '../../styles/styles';
6
+ import { testId } from './Button';
7
+ import { Button, Text } from '../..';
8
+ import { jsx as _jsx } from "react/jsx-runtime";
9
+ const noop = () => {};
10
+ describe('<Button />', () => {
11
+ it('should render children', () => {
12
+ const {
13
+ getByText
14
+ } = render(/*#__PURE__*/_jsx(Button, {
15
+ onPress: noop,
16
+ children: /*#__PURE__*/_jsx(Text, {
17
+ children: "Potato"
18
+ })
19
+ }));
20
+ expect(getByText('Potato')).toBeTruthy();
21
+ });
22
+ it('should fire press', () => {
23
+ const onButtonPress = jest.fn();
24
+ const {
25
+ getByRole
26
+ } = render(/*#__PURE__*/_jsx(Button, {
27
+ onPress: onButtonPress,
28
+ children: /*#__PURE__*/_jsx(Text, {
29
+ children: "Ok"
30
+ })
31
+ }));
32
+ fireEvent(getByRole('button'), 'press');
33
+ expect(onButtonPress).toHaveBeenCalled();
34
+ });
35
+ it('should handle square sizes', () => {
36
+ const sizes = ['sm', 'md', 'lg'];
37
+ sizes.forEach(size => {
38
+ const {
39
+ getByTestId
40
+ } = render(/*#__PURE__*/_jsx(Button, {
41
+ onPress: noop,
42
+ size: size,
43
+ square: true,
44
+ children: /*#__PURE__*/_jsx(Text, {
45
+ children: "Ok"
46
+ })
47
+ }));
48
+ expect(getByTestId(testId)).toHaveStyle({
49
+ width: blockSizes[size]
50
+ });
51
+ });
52
+ });
53
+ it('should render custom styles', () => {
54
+ const style = {
55
+ backgroundColor: 'papayawhip'
56
+ };
57
+ const {
58
+ getByTestId
59
+ } = render(/*#__PURE__*/_jsx(Button, {
60
+ onPress: noop,
61
+ style: style,
62
+ children: /*#__PURE__*/_jsx(Text, {
63
+ children: "Ok"
64
+ })
65
+ }));
66
+ expect(getByTestId(testId)).toHaveStyle(style);
67
+ });
68
+ });
69
+ //# sourceMappingURL=Button.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","render","fireEvent","blockSizes","testId","Button","Text","jsx","_jsx","noop","describe","it","getByText","onPress","children","expect","toBeTruthy","onButtonPress","jest","fn","getByRole","toHaveBeenCalled","sizes","forEach","size","getByTestId","square","toHaveStyle","width","style","backgroundColor"],"sourceRoot":"../../../../src","sources":["components/Button/Button.spec.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,EAAEC,SAAS,QAAQ,+BAA+B;AAEjE,SAASC,UAAU,QAAQ,qBAAqB;AAChD,SAASC,MAAM,QAAQ,UAAU;AACjC,SAASC,MAAM,EAAEC,IAAI,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAErC,MAAMC,IAAI,GAAGA,CAAA,KAAM,CAAC,CAAC;AAErBC,QAAQ,CAAC,YAAY,EAAE,MAAM;EAC3BC,EAAE,CAAC,wBAAwB,EAAE,MAAM;IACjC,MAAM;MAAEC;IAAU,CAAC,GAAGX,MAAM,cAC1BO,IAAA,CAACH,MAAM;MAACQ,OAAO,EAAEJ,IAAK;MAAAK,QAAA,eACpBN,IAAA,CAACF,IAAI;QAAAQ,QAAA,EAAC;MAAM,CAAM;IAAC,CACb,CACV,CAAC;IAEDC,MAAM,CAACH,SAAS,CAAC,QAAQ,CAAC,CAAC,CAACI,UAAU,CAAC,CAAC;EAC1C,CAAC,CA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AA,CAACF,IAAI;QAAAQ,QAAA,EAAC;MAAE,CAAM;IAAC,CACT,CACV,CAAC;IAEDC,MAAM,CAACU,WAAW,CAACrB,MAAM,CAAC,CAAC,CAACuB,WAAW,CAACE,KAAK,CAAC;EAChD,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { default } from './Button';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Button/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,UAAU","ignoreList":[]}