react95-native-rabbl 0.1.1 → 0.1.2

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 (951) hide show
  1. package/dist/commonjs/assets/fonts/src/ms-sans-serif/MS Sans Serif.ttf +0 -0
  2. package/dist/commonjs/assets/fonts/src/ms-sans-serif/license.txt +4 -0
  3. package/dist/commonjs/assets/fonts/src/ms-sans-serif/readme.txt +26 -0
  4. package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/MS Sans Serif Bold.ttf +0 -0
  5. package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/license.txt +4 -0
  6. package/dist/commonjs/assets/fonts/src/ms-sans-serif-bold/readme.txt +26 -0
  7. package/dist/commonjs/components/AppBar/AppBar.js +40 -0
  8. package/dist/commonjs/components/AppBar/AppBar.js.map +1 -0
  9. package/dist/commonjs/components/AppBar/AppBar.spec.js +154 -0
  10. package/dist/commonjs/components/AppBar/AppBar.spec.js.map +1 -0
  11. package/dist/commonjs/components/AppBar/AppBarBackAction.js +30 -0
  12. package/dist/commonjs/components/AppBar/AppBarBackAction.js.map +1 -0
  13. package/dist/commonjs/components/AppBar/AppBarContent.js +66 -0
  14. package/dist/commonjs/components/AppBar/AppBarContent.js.map +1 -0
  15. package/dist/commonjs/components/AppBar/index.js +14 -0
  16. package/dist/commonjs/components/AppBar/index.js.map +1 -0
  17. package/dist/commonjs/components/Button/Button.js +170 -0
  18. package/dist/commonjs/components/Button/Button.js.map +1 -0
  19. package/dist/commonjs/components/Button/Button.spec.js +70 -0
  20. package/dist/commonjs/components/Button/Button.spec.js.map +1 -0
  21. package/dist/commonjs/components/Button/index.js +14 -0
  22. package/dist/commonjs/components/Button/index.js.map +1 -0
  23. package/dist/commonjs/components/Card/Card.js +69 -0
  24. package/dist/commonjs/components/Card/Card.js.map +1 -0
  25. package/dist/commonjs/components/Card/Card.spec.js +63 -0
  26. package/dist/commonjs/components/Card/Card.spec.js.map +1 -0
  27. package/dist/commonjs/components/Card/CardContent.js +28 -0
  28. package/dist/commonjs/components/Card/CardContent.js.map +1 -0
  29. package/dist/commonjs/components/Card/index.js +14 -0
  30. package/dist/commonjs/components/Card/index.js.map +1 -0
  31. package/dist/commonjs/components/Checkbox/Checkbox.js +19 -0
  32. package/dist/commonjs/components/Checkbox/Checkbox.js.map +1 -0
  33. package/dist/commonjs/components/Checkbox/index.js +14 -0
  34. package/dist/commonjs/components/Checkbox/index.js.map +1 -0
  35. package/dist/commonjs/components/ColorButton/ColorButton.js +67 -0
  36. package/dist/commonjs/components/ColorButton/ColorButton.js.map +1 -0
  37. package/dist/commonjs/components/ColorButton/index.js +14 -0
  38. package/dist/commonjs/components/ColorButton/index.js.map +1 -0
  39. package/dist/commonjs/components/ColorPicker/ColorPicker.js +85 -0
  40. package/dist/commonjs/components/ColorPicker/ColorPicker.js.map +1 -0
  41. package/dist/commonjs/components/ColorPicker/index.js +14 -0
  42. package/dist/commonjs/components/ColorPicker/index.js.map +1 -0
  43. package/dist/commonjs/components/Desktop/Desktop.js +149 -0
  44. package/dist/commonjs/components/Desktop/Desktop.js.map +1 -0
  45. package/dist/commonjs/components/Desktop/Desktop.spec.js +43 -0
  46. package/dist/commonjs/components/Desktop/Desktop.spec.js.map +1 -0
  47. package/dist/commonjs/components/Desktop/index.js +14 -0
  48. package/dist/commonjs/components/Desktop/index.js.map +1 -0
  49. package/dist/commonjs/components/Divider/Divider.js +46 -0
  50. package/dist/commonjs/components/Divider/Divider.js.map +1 -0
  51. package/dist/commonjs/components/Divider/Divider.spec.js +74 -0
  52. package/dist/commonjs/components/Divider/Divider.spec.js.map +1 -0
  53. package/dist/commonjs/components/Divider/index.js +14 -0
  54. package/dist/commonjs/components/Divider/index.js.map +1 -0
  55. package/dist/commonjs/components/FAB/FAB.js +210 -0
  56. package/dist/commonjs/components/FAB/FAB.js.map +1 -0
  57. package/dist/commonjs/components/FAB/FABGroup.js +255 -0
  58. package/dist/commonjs/components/FAB/FABGroup.js.map +1 -0
  59. package/dist/commonjs/components/FAB/index.js +14 -0
  60. package/dist/commonjs/components/FAB/index.js.map +1 -0
  61. package/dist/commonjs/components/Fieldset/Fieldset.js +85 -0
  62. package/dist/commonjs/components/Fieldset/Fieldset.js.map +1 -0
  63. package/dist/commonjs/components/Fieldset/Fieldset.spec.js +60 -0
  64. package/dist/commonjs/components/Fieldset/Fieldset.spec.js.map +1 -0
  65. package/dist/commonjs/components/Fieldset/index.js +14 -0
  66. package/dist/commonjs/components/Fieldset/index.js.map +1 -0
  67. package/dist/commonjs/components/Hourglass/Hourglass.js +40 -0
  68. package/dist/commonjs/components/Hourglass/Hourglass.js.map +1 -0
  69. package/dist/commonjs/components/Hourglass/Hourglass.spec.js +35 -0
  70. package/dist/commonjs/components/Hourglass/Hourglass.spec.js.map +1 -0
  71. package/dist/commonjs/components/Hourglass/base64hourglass.js +9 -0
  72. package/dist/commonjs/components/Hourglass/base64hourglass.js.map +1 -0
  73. package/dist/commonjs/components/Hourglass/index.js +14 -0
  74. package/dist/commonjs/components/Hourglass/index.js.map +1 -0
  75. package/dist/commonjs/components/Icons/ArrowIcon.js +59 -0
  76. package/dist/commonjs/components/Icons/ArrowIcon.js.map +1 -0
  77. package/dist/commonjs/components/Icons/CheckmarkIcon.js +43 -0
  78. package/dist/commonjs/components/Icons/CheckmarkIcon.js.map +1 -0
  79. package/dist/commonjs/components/Icons/ChevronIcon.js +65 -0
  80. package/dist/commonjs/components/Icons/ChevronIcon.js.map +1 -0
  81. package/dist/commonjs/components/Icons/CloseIcon.js +47 -0
  82. package/dist/commonjs/components/Icons/CloseIcon.js.map +1 -0
  83. package/dist/commonjs/components/Icons/index.js +35 -0
  84. package/dist/commonjs/components/Icons/index.js.map +1 -0
  85. package/dist/commonjs/components/Label/Label.js +58 -0
  86. package/dist/commonjs/components/Label/Label.js.map +1 -0
  87. package/dist/commonjs/components/Label/index.js +14 -0
  88. package/dist/commonjs/components/Label/index.js.map +1 -0
  89. package/dist/commonjs/components/List/List.js +35 -0
  90. package/dist/commonjs/components/List/List.js.map +1 -0
  91. package/dist/commonjs/components/List/ListAccordion.js +135 -0
  92. package/dist/commonjs/components/List/ListAccordion.js.map +1 -0
  93. package/dist/commonjs/components/List/ListItem.js +67 -0
  94. package/dist/commonjs/components/List/ListItem.js.map +1 -0
  95. package/dist/commonjs/components/List/ListSection.js +41 -0
  96. package/dist/commonjs/components/List/ListSection.js.map +1 -0
  97. package/dist/commonjs/components/List/index.js +10 -0
  98. package/dist/commonjs/components/List/index.js.map +1 -0
  99. package/dist/commonjs/components/Menu/Menu.js +86 -0
  100. package/dist/commonjs/components/Menu/Menu.js.map +1 -0
  101. package/dist/commonjs/components/Menu/MenuItem.js +79 -0
  102. package/dist/commonjs/components/Menu/MenuItem.js.map +1 -0
  103. package/dist/commonjs/components/Menu/index.js +14 -0
  104. package/dist/commonjs/components/Menu/index.js.map +1 -0
  105. package/dist/commonjs/components/NumberInput/NumberInput.js +123 -0
  106. package/dist/commonjs/components/NumberInput/NumberInput.js.map +1 -0
  107. package/dist/commonjs/components/NumberInput/NumberInput.spec.js +130 -0
  108. package/dist/commonjs/components/NumberInput/NumberInput.spec.js.map +1 -0
  109. package/dist/commonjs/components/NumberInput/index.js +14 -0
  110. package/dist/commonjs/components/NumberInput/index.js.map +1 -0
  111. package/dist/commonjs/components/Panel/Panel.js +60 -0
  112. package/dist/commonjs/components/Panel/Panel.js.map +1 -0
  113. package/dist/commonjs/components/Panel/Panel.spec.js +35 -0
  114. package/dist/commonjs/components/Panel/Panel.spec.js.map +1 -0
  115. package/dist/commonjs/components/Panel/index.js +14 -0
  116. package/dist/commonjs/components/Panel/index.js.map +1 -0
  117. package/dist/commonjs/components/Portal/Portal.js +49 -0
  118. package/dist/commonjs/components/Portal/Portal.js.map +1 -0
  119. package/dist/commonjs/components/Portal/PortalConsumer.js +39 -0
  120. package/dist/commonjs/components/Portal/PortalConsumer.js.map +1 -0
  121. package/dist/commonjs/components/Portal/PortalHost.js +141 -0
  122. package/dist/commonjs/components/Portal/PortalHost.js.map +1 -0
  123. package/dist/commonjs/components/Portal/PortalManager.js +57 -0
  124. package/dist/commonjs/components/Portal/PortalManager.js.map +1 -0
  125. package/dist/commonjs/components/Portal/index.js +14 -0
  126. package/dist/commonjs/components/Portal/index.js.map +1 -0
  127. package/dist/commonjs/components/Progress/Progress.js +94 -0
  128. package/dist/commonjs/components/Progress/Progress.js.map +1 -0
  129. package/dist/commonjs/components/Progress/index.js +14 -0
  130. package/dist/commonjs/components/Progress/index.js.map +1 -0
  131. package/dist/commonjs/components/Radio/Radio.js +19 -0
  132. package/dist/commonjs/components/Radio/Radio.js.map +1 -0
  133. package/dist/commonjs/components/Radio/index.js +14 -0
  134. package/dist/commonjs/components/Radio/index.js.map +1 -0
  135. package/dist/commonjs/components/ScrollPanel/ScrollPanel.js +78 -0
  136. package/dist/commonjs/components/ScrollPanel/ScrollPanel.js.map +1 -0
  137. package/dist/commonjs/components/ScrollPanel/index.js +14 -0
  138. package/dist/commonjs/components/ScrollPanel/index.js.map +1 -0
  139. package/dist/commonjs/components/ScrollView/ScrollView.js +211 -0
  140. package/dist/commonjs/components/ScrollView/ScrollView.js.map +1 -0
  141. package/dist/commonjs/components/ScrollView/index.js +14 -0
  142. package/dist/commonjs/components/ScrollView/index.js.map +1 -0
  143. package/dist/commonjs/components/Select/Select.js +180 -0
  144. package/dist/commonjs/components/Select/Select.js.map +1 -0
  145. package/dist/commonjs/components/Select/SelectBase.js +80 -0
  146. package/dist/commonjs/components/Select/SelectBase.js.map +1 -0
  147. package/dist/commonjs/components/Select/SelectBox.js +60 -0
  148. package/dist/commonjs/components/Select/SelectBox.js.map +1 -0
  149. package/dist/commonjs/components/Select/index.js +21 -0
  150. package/dist/commonjs/components/Select/index.js.map +1 -0
  151. package/dist/commonjs/components/Slider/Slider.js +243 -0
  152. package/dist/commonjs/components/Slider/Slider.js.map +1 -0
  153. package/dist/commonjs/components/Slider/index.js +14 -0
  154. package/dist/commonjs/components/Slider/index.js.map +1 -0
  155. package/dist/commonjs/components/Snackbar/Snackbar.js +192 -0
  156. package/dist/commonjs/components/Snackbar/Snackbar.js.map +1 -0
  157. package/dist/commonjs/components/Snackbar/SnackbarContent.js +28 -0
  158. package/dist/commonjs/components/Snackbar/SnackbarContent.js.map +1 -0
  159. package/dist/commonjs/components/Snackbar/index.js +14 -0
  160. package/dist/commonjs/components/Snackbar/index.js.map +1 -0
  161. package/dist/commonjs/components/SwitchBase/SwitchBase.js +154 -0
  162. package/dist/commonjs/components/SwitchBase/SwitchBase.js.map +1 -0
  163. package/dist/commonjs/components/SwitchBase/index.js +17 -0
  164. package/dist/commonjs/components/SwitchBase/index.js.map +1 -0
  165. package/dist/commonjs/components/Tabs/Tabs.js +162 -0
  166. package/dist/commonjs/components/Tabs/Tabs.js.map +1 -0
  167. package/dist/commonjs/components/Tabs/index.js +14 -0
  168. package/dist/commonjs/components/Tabs/index.js.map +1 -0
  169. package/dist/commonjs/components/TextInput/TextInput.js +66 -0
  170. package/dist/commonjs/components/TextInput/TextInput.js.map +1 -0
  171. package/dist/commonjs/components/TextInput/index.js +14 -0
  172. package/dist/commonjs/components/TextInput/index.js.map +1 -0
  173. package/dist/commonjs/components/Toolbar/Toolbar.js +90 -0
  174. package/dist/commonjs/components/Toolbar/Toolbar.js.map +1 -0
  175. package/dist/commonjs/components/Toolbar/index.js +14 -0
  176. package/dist/commonjs/components/Toolbar/index.js.map +1 -0
  177. package/dist/commonjs/components/Typography/Anchor.js +31 -0
  178. package/dist/commonjs/components/Typography/Anchor.js.map +1 -0
  179. package/dist/commonjs/components/Typography/Text.js +40 -0
  180. package/dist/commonjs/components/Typography/Text.js.map +1 -0
  181. package/dist/commonjs/components/Typography/Text.spec.js +37 -0
  182. package/dist/commonjs/components/Typography/Text.spec.js.map +1 -0
  183. package/dist/commonjs/components/Typography/Title.js +64 -0
  184. package/dist/commonjs/components/Typography/Title.js.map +1 -0
  185. package/dist/commonjs/components/Typography/index.js +28 -0
  186. package/dist/commonjs/components/Typography/index.js.map +1 -0
  187. package/dist/commonjs/components/Window/Window.js +107 -0
  188. package/dist/commonjs/components/Window/Window.js.map +1 -0
  189. package/dist/commonjs/components/Window/index.js +14 -0
  190. package/dist/commonjs/components/Window/index.js.map +1 -0
  191. package/dist/commonjs/core/Provider.js +59 -0
  192. package/dist/commonjs/core/Provider.js.map +1 -0
  193. package/dist/commonjs/core/theming.js +18 -0
  194. package/dist/commonjs/core/theming.js.map +1 -0
  195. package/dist/commonjs/hooks/useAsyncReference.js +19 -0
  196. package/dist/commonjs/hooks/useAsyncReference.js.map +1 -0
  197. package/dist/commonjs/hooks/useControlledOrUncontrolled.js +24 -0
  198. package/dist/commonjs/hooks/useControlledOrUncontrolled.js.map +1 -0
  199. package/dist/commonjs/index.js +328 -0
  200. package/dist/commonjs/index.js.map +1 -0
  201. package/dist/commonjs/package.json +1 -0
  202. package/dist/commonjs/styles/shadow.js +40 -0
  203. package/dist/commonjs/styles/shadow.js.map +1 -0
  204. package/dist/commonjs/styles/styleElements.js +80 -0
  205. package/dist/commonjs/styles/styleElements.js.map +1 -0
  206. package/dist/commonjs/styles/styles.js +134 -0
  207. package/dist/commonjs/styles/styles.js.map +1 -0
  208. package/dist/commonjs/styles/themes/aiee.js +42 -0
  209. package/dist/commonjs/styles/themes/aiee.js.map +1 -0
  210. package/dist/commonjs/styles/themes/ash.js +42 -0
  211. package/dist/commonjs/styles/themes/ash.js.map +1 -0
  212. package/dist/commonjs/styles/themes/azureOrange.js +39 -0
  213. package/dist/commonjs/styles/themes/azureOrange.js.map +1 -0
  214. package/dist/commonjs/styles/themes/bee.js +39 -0
  215. package/dist/commonjs/styles/themes/bee.js.map +1 -0
  216. package/dist/commonjs/styles/themes/blackAndWhite.js +39 -0
  217. package/dist/commonjs/styles/themes/blackAndWhite.js.map +1 -0
  218. package/dist/commonjs/styles/themes/blue.js +42 -0
  219. package/dist/commonjs/styles/themes/blue.js.map +1 -0
  220. package/dist/commonjs/styles/themes/brick.js +39 -0
  221. package/dist/commonjs/styles/themes/brick.js.map +1 -0
  222. package/dist/commonjs/styles/themes/candy.js +39 -0
  223. package/dist/commonjs/styles/themes/candy.js.map +1 -0
  224. package/dist/commonjs/styles/themes/cherry.js +42 -0
  225. package/dist/commonjs/styles/themes/cherry.js.map +1 -0
  226. package/dist/commonjs/styles/themes/coldGray.js +40 -0
  227. package/dist/commonjs/styles/themes/coldGray.js.map +1 -0
  228. package/dist/commonjs/styles/themes/counterStrike.js +39 -0
  229. package/dist/commonjs/styles/themes/counterStrike.js.map +1 -0
  230. package/dist/commonjs/styles/themes/darkTeal.js +42 -0
  231. package/dist/commonjs/styles/themes/darkTeal.js.map +1 -0
  232. package/dist/commonjs/styles/themes/eggplant.js +39 -0
  233. package/dist/commonjs/styles/themes/eggplant.js.map +1 -0
  234. package/dist/commonjs/styles/themes/fxDev.js +42 -0
  235. package/dist/commonjs/styles/themes/fxDev.js.map +1 -0
  236. package/dist/commonjs/styles/themes/highContrast.js +39 -0
  237. package/dist/commonjs/styles/themes/highContrast.js.map +1 -0
  238. package/dist/commonjs/styles/themes/hotChocolate.js +42 -0
  239. package/dist/commonjs/styles/themes/hotChocolate.js.map +1 -0
  240. package/dist/commonjs/styles/themes/index.js +110 -0
  241. package/dist/commonjs/styles/themes/index.js.map +1 -0
  242. package/dist/commonjs/styles/themes/lilac.js +39 -0
  243. package/dist/commonjs/styles/themes/lilac.js.map +1 -0
  244. package/dist/commonjs/styles/themes/lilacRoseDark.js +40 -0
  245. package/dist/commonjs/styles/themes/lilacRoseDark.js.map +1 -0
  246. package/dist/commonjs/styles/themes/maple.js +39 -0
  247. package/dist/commonjs/styles/themes/maple.js.map +1 -0
  248. package/dist/commonjs/styles/themes/marine.js +39 -0
  249. package/dist/commonjs/styles/themes/marine.js.map +1 -0
  250. package/dist/commonjs/styles/themes/matrix.js +39 -0
  251. package/dist/commonjs/styles/themes/matrix.js.map +1 -0
  252. package/dist/commonjs/styles/themes/millenium.js +39 -0
  253. package/dist/commonjs/styles/themes/millenium.js.map +1 -0
  254. package/dist/commonjs/styles/themes/modernDark.js +39 -0
  255. package/dist/commonjs/styles/themes/modernDark.js.map +1 -0
  256. package/dist/commonjs/styles/themes/molecule.js +39 -0
  257. package/dist/commonjs/styles/themes/molecule.js.map +1 -0
  258. package/dist/commonjs/styles/themes/monochrome.js +2 -0
  259. package/dist/commonjs/styles/themes/monochrome.js.map +1 -0
  260. package/dist/commonjs/styles/themes/ninjaTurtles.js +39 -0
  261. package/dist/commonjs/styles/themes/ninjaTurtles.js.map +1 -0
  262. package/dist/commonjs/styles/themes/olive.js +39 -0
  263. package/dist/commonjs/styles/themes/olive.js.map +1 -0
  264. package/dist/commonjs/styles/themes/original.js +39 -0
  265. package/dist/commonjs/styles/themes/original.js.map +1 -0
  266. package/dist/commonjs/styles/themes/pamelaAnderson.js +39 -0
  267. package/dist/commonjs/styles/themes/pamelaAnderson.js.map +1 -0
  268. package/dist/commonjs/styles/themes/plum.js +39 -0
  269. package/dist/commonjs/styles/themes/plum.js.map +1 -0
  270. package/dist/commonjs/styles/themes/polarized.js +42 -0
  271. package/dist/commonjs/styles/themes/polarized.js.map +1 -0
  272. package/dist/commonjs/styles/themes/powerShell.js +42 -0
  273. package/dist/commonjs/styles/themes/powerShell.js.map +1 -0
  274. package/dist/commonjs/styles/themes/rainyDay.js +39 -0
  275. package/dist/commonjs/styles/themes/rainyDay.js.map +1 -0
  276. package/dist/commonjs/styles/themes/raspberry.js +42 -0
  277. package/dist/commonjs/styles/themes/raspberry.js.map +1 -0
  278. package/dist/commonjs/styles/themes/redWine.js +42 -0
  279. package/dist/commonjs/styles/themes/redWine.js.map +1 -0
  280. package/dist/commonjs/styles/themes/rose.js +39 -0
  281. package/dist/commonjs/styles/themes/rose.js.map +1 -0
  282. package/dist/commonjs/styles/themes/seawater.js +42 -0
  283. package/dist/commonjs/styles/themes/seawater.js.map +1 -0
  284. package/dist/commonjs/styles/themes/slate.js +39 -0
  285. package/dist/commonjs/styles/themes/slate.js.map +1 -0
  286. package/dist/commonjs/styles/themes/solarizedDark.js +42 -0
  287. package/dist/commonjs/styles/themes/solarizedDark.js.map +1 -0
  288. package/dist/commonjs/styles/themes/solarizedLight.js +42 -0
  289. package/dist/commonjs/styles/themes/solarizedLight.js.map +1 -0
  290. package/dist/commonjs/styles/themes/spruce.js +39 -0
  291. package/dist/commonjs/styles/themes/spruce.js.map +1 -0
  292. package/dist/commonjs/styles/themes/stormClouds.js +42 -0
  293. package/dist/commonjs/styles/themes/stormClouds.js.map +1 -0
  294. package/dist/commonjs/styles/themes/theSixtiesUSA.js +39 -0
  295. package/dist/commonjs/styles/themes/theSixtiesUSA.js.map +1 -0
  296. package/dist/commonjs/styles/themes/tokyoDark.js +39 -0
  297. package/dist/commonjs/styles/themes/tokyoDark.js.map +1 -0
  298. package/dist/commonjs/styles/themes/tooSexy.js +39 -0
  299. package/dist/commonjs/styles/themes/tooSexy.js.map +1 -0
  300. package/dist/commonjs/styles/themes/travel.js +39 -0
  301. package/dist/commonjs/styles/themes/travel.js.map +1 -0
  302. package/dist/commonjs/styles/themes/vaporTeal.js +39 -0
  303. package/dist/commonjs/styles/themes/vaporTeal.js.map +1 -0
  304. package/dist/commonjs/styles/themes/vermillion.js +39 -0
  305. package/dist/commonjs/styles/themes/vermillion.js.map +1 -0
  306. package/dist/commonjs/styles/themes/violetDark.js +39 -0
  307. package/dist/commonjs/styles/themes/violetDark.js.map +1 -0
  308. package/dist/commonjs/styles/themes/water.js +39 -0
  309. package/dist/commonjs/styles/themes/water.js.map +1 -0
  310. package/dist/commonjs/styles/themes/wmii.js +42 -0
  311. package/dist/commonjs/styles/themes/wmii.js.map +1 -0
  312. package/dist/commonjs/types.js +6 -0
  313. package/dist/commonjs/types.js.map +1 -0
  314. package/dist/commonjs/utils/index.js +54 -0
  315. package/dist/commonjs/utils/index.js.map +1 -0
  316. package/dist/module/assets/fonts/src/ms-sans-serif/MS Sans Serif.ttf +0 -0
  317. package/dist/module/assets/fonts/src/ms-sans-serif/license.txt +4 -0
  318. package/dist/module/assets/fonts/src/ms-sans-serif/readme.txt +26 -0
  319. package/dist/module/assets/fonts/src/ms-sans-serif-bold/MS Sans Serif Bold.ttf +0 -0
  320. package/dist/module/assets/fonts/src/ms-sans-serif-bold/license.txt +4 -0
  321. package/dist/module/assets/fonts/src/ms-sans-serif-bold/readme.txt +26 -0
  322. package/dist/module/components/AppBar/AppBar.js +35 -0
  323. package/dist/module/components/AppBar/AppBar.js.map +1 -0
  324. package/dist/module/components/AppBar/AppBar.spec.js +153 -0
  325. package/dist/module/components/AppBar/AppBar.spec.js.map +1 -0
  326. package/dist/module/components/AppBar/AppBarBackAction.js +25 -0
  327. package/dist/module/components/AppBar/AppBarBackAction.js.map +1 -0
  328. package/dist/module/components/AppBar/AppBarContent.js +60 -0
  329. package/dist/module/components/AppBar/AppBarContent.js.map +1 -0
  330. package/dist/module/components/AppBar/index.js +4 -0
  331. package/dist/module/components/AppBar/index.js.map +1 -0
  332. package/dist/module/components/Button/Button.js +170 -0
  333. package/dist/module/components/Button/Button.js.map +1 -0
  334. package/dist/module/components/Button/Button.spec.js +69 -0
  335. package/dist/module/components/Button/Button.spec.js.map +1 -0
  336. package/dist/module/components/Button/index.js +4 -0
  337. package/dist/module/components/Button/index.js.map +1 -0
  338. package/dist/module/components/Card/Card.js +64 -0
  339. package/dist/module/components/Card/Card.js.map +1 -0
  340. package/dist/module/components/Card/Card.spec.js +62 -0
  341. package/dist/module/components/Card/Card.spec.js.map +1 -0
  342. package/dist/module/components/Card/CardContent.js +23 -0
  343. package/dist/module/components/Card/CardContent.js.map +1 -0
  344. package/dist/module/components/Card/index.js +4 -0
  345. package/dist/module/components/Card/index.js.map +1 -0
  346. package/dist/module/components/Checkbox/Checkbox.js +14 -0
  347. package/dist/module/components/Checkbox/Checkbox.js.map +1 -0
  348. package/dist/module/components/Checkbox/index.js +4 -0
  349. package/dist/module/components/Checkbox/index.js.map +1 -0
  350. package/dist/module/components/ColorButton/ColorButton.js +62 -0
  351. package/dist/module/components/ColorButton/ColorButton.js.map +1 -0
  352. package/dist/module/components/ColorButton/index.js +4 -0
  353. package/dist/module/components/ColorButton/index.js.map +1 -0
  354. package/dist/module/components/ColorPicker/ColorPicker.js +80 -0
  355. package/dist/module/components/ColorPicker/ColorPicker.js.map +1 -0
  356. package/dist/module/components/ColorPicker/index.js +4 -0
  357. package/dist/module/components/ColorPicker/index.js.map +1 -0
  358. package/dist/module/components/Desktop/Desktop.js +144 -0
  359. package/dist/module/components/Desktop/Desktop.js.map +1 -0
  360. package/dist/module/components/Desktop/Desktop.spec.js +42 -0
  361. package/dist/module/components/Desktop/Desktop.spec.js.map +1 -0
  362. package/dist/module/components/Desktop/index.js +4 -0
  363. package/dist/module/components/Desktop/index.js.map +1 -0
  364. package/dist/module/components/Divider/Divider.js +41 -0
  365. package/dist/module/components/Divider/Divider.js.map +1 -0
  366. package/dist/module/components/Divider/Divider.spec.js +73 -0
  367. package/dist/module/components/Divider/Divider.spec.js.map +1 -0
  368. package/dist/module/components/Divider/index.js +4 -0
  369. package/dist/module/components/Divider/index.js.map +1 -0
  370. package/dist/module/components/FAB/FAB.js +205 -0
  371. package/dist/module/components/FAB/FAB.js.map +1 -0
  372. package/dist/module/components/FAB/FABGroup.js +250 -0
  373. package/dist/module/components/FAB/FABGroup.js.map +1 -0
  374. package/dist/module/components/FAB/index.js +4 -0
  375. package/dist/module/components/FAB/index.js.map +1 -0
  376. package/dist/module/components/Fieldset/Fieldset.js +79 -0
  377. package/dist/module/components/Fieldset/Fieldset.js.map +1 -0
  378. package/dist/module/components/Fieldset/Fieldset.spec.js +59 -0
  379. package/dist/module/components/Fieldset/Fieldset.spec.js.map +1 -0
  380. package/dist/module/components/Fieldset/index.js +4 -0
  381. package/dist/module/components/Fieldset/index.js.map +1 -0
  382. package/dist/module/components/Hourglass/Hourglass.js +35 -0
  383. package/dist/module/components/Hourglass/Hourglass.js.map +1 -0
  384. package/dist/module/components/Hourglass/Hourglass.spec.js +34 -0
  385. package/dist/module/components/Hourglass/Hourglass.spec.js.map +1 -0
  386. package/dist/module/components/Hourglass/base64hourglass.js +5 -0
  387. package/dist/module/components/Hourglass/base64hourglass.js.map +1 -0
  388. package/dist/module/components/Hourglass/index.js +4 -0
  389. package/dist/module/components/Hourglass/index.js.map +1 -0
  390. package/dist/module/components/Icons/ArrowIcon.js +54 -0
  391. package/dist/module/components/Icons/ArrowIcon.js.map +1 -0
  392. package/dist/module/components/Icons/CheckmarkIcon.js +38 -0
  393. package/dist/module/components/Icons/CheckmarkIcon.js.map +1 -0
  394. package/dist/module/components/Icons/ChevronIcon.js +60 -0
  395. package/dist/module/components/Icons/ChevronIcon.js.map +1 -0
  396. package/dist/module/components/Icons/CloseIcon.js +42 -0
  397. package/dist/module/components/Icons/CloseIcon.js.map +1 -0
  398. package/dist/module/components/Icons/index.js +7 -0
  399. package/dist/module/components/Icons/index.js.map +1 -0
  400. package/dist/module/components/Label/Label.js +53 -0
  401. package/dist/module/components/Label/Label.js.map +1 -0
  402. package/dist/module/components/Label/index.js +4 -0
  403. package/dist/module/components/Label/index.js.map +1 -0
  404. package/dist/module/components/List/List.js +6 -0
  405. package/dist/module/components/List/List.js.map +1 -0
  406. package/dist/module/components/List/ListAccordion.js +131 -0
  407. package/dist/module/components/List/ListAccordion.js.map +1 -0
  408. package/dist/module/components/List/ListItem.js +62 -0
  409. package/dist/module/components/List/ListItem.js.map +1 -0
  410. package/dist/module/components/List/ListSection.js +36 -0
  411. package/dist/module/components/List/ListSection.js.map +1 -0
  412. package/dist/module/components/List/index.js +5 -0
  413. package/dist/module/components/List/index.js.map +1 -0
  414. package/dist/module/components/Menu/Menu.js +81 -0
  415. package/dist/module/components/Menu/Menu.js.map +1 -0
  416. package/dist/module/components/Menu/MenuItem.js +73 -0
  417. package/dist/module/components/Menu/MenuItem.js.map +1 -0
  418. package/dist/module/components/Menu/index.js +4 -0
  419. package/dist/module/components/Menu/index.js.map +1 -0
  420. package/dist/module/components/NumberInput/NumberInput.js +118 -0
  421. package/dist/module/components/NumberInput/NumberInput.js.map +1 -0
  422. package/dist/module/components/NumberInput/NumberInput.spec.js +129 -0
  423. package/dist/module/components/NumberInput/NumberInput.spec.js.map +1 -0
  424. package/dist/module/components/NumberInput/index.js +4 -0
  425. package/dist/module/components/NumberInput/index.js.map +1 -0
  426. package/dist/module/components/Panel/Panel.js +55 -0
  427. package/dist/module/components/Panel/Panel.js.map +1 -0
  428. package/dist/module/components/Panel/Panel.spec.js +34 -0
  429. package/dist/module/components/Panel/Panel.spec.js.map +1 -0
  430. package/dist/module/components/Panel/index.js +4 -0
  431. package/dist/module/components/Panel/index.js.map +1 -0
  432. package/dist/module/components/Portal/Portal.js +43 -0
  433. package/dist/module/components/Portal/Portal.js.map +1 -0
  434. package/dist/module/components/Portal/PortalConsumer.js +32 -0
  435. package/dist/module/components/Portal/PortalConsumer.js.map +1 -0
  436. package/dist/module/components/Portal/PortalHost.js +133 -0
  437. package/dist/module/components/Portal/PortalHost.js.map +1 -0
  438. package/dist/module/components/Portal/PortalManager.js +50 -0
  439. package/dist/module/components/Portal/PortalManager.js.map +1 -0
  440. package/dist/module/components/Portal/index.js +4 -0
  441. package/dist/module/components/Portal/index.js.map +1 -0
  442. package/dist/module/components/Progress/Progress.js +89 -0
  443. package/dist/module/components/Progress/Progress.js.map +1 -0
  444. package/dist/module/components/Progress/index.js +4 -0
  445. package/dist/module/components/Progress/index.js.map +1 -0
  446. package/dist/module/components/Radio/Radio.js +14 -0
  447. package/dist/module/components/Radio/Radio.js.map +1 -0
  448. package/dist/module/components/Radio/index.js +4 -0
  449. package/dist/module/components/Radio/index.js.map +1 -0
  450. package/dist/module/components/ScrollPanel/ScrollPanel.js +73 -0
  451. package/dist/module/components/ScrollPanel/ScrollPanel.js.map +1 -0
  452. package/dist/module/components/ScrollPanel/index.js +4 -0
  453. package/dist/module/components/ScrollPanel/index.js.map +1 -0
  454. package/dist/module/components/ScrollView/ScrollView.js +205 -0
  455. package/dist/module/components/ScrollView/ScrollView.js.map +1 -0
  456. package/dist/module/components/ScrollView/index.js +4 -0
  457. package/dist/module/components/ScrollView/index.js.map +1 -0
  458. package/dist/module/components/Select/Select.js +174 -0
  459. package/dist/module/components/Select/Select.js.map +1 -0
  460. package/dist/module/components/Select/SelectBase.js +74 -0
  461. package/dist/module/components/Select/SelectBase.js.map +1 -0
  462. package/dist/module/components/Select/SelectBox.js +55 -0
  463. package/dist/module/components/Select/SelectBox.js.map +1 -0
  464. package/dist/module/components/Select/index.js +5 -0
  465. package/dist/module/components/Select/index.js.map +1 -0
  466. package/dist/module/components/Slider/Slider.js +237 -0
  467. package/dist/module/components/Slider/Slider.js.map +1 -0
  468. package/dist/module/components/Slider/index.js +4 -0
  469. package/dist/module/components/Slider/index.js.map +1 -0
  470. package/dist/module/components/Snackbar/Snackbar.js +187 -0
  471. package/dist/module/components/Snackbar/Snackbar.js.map +1 -0
  472. package/dist/module/components/Snackbar/SnackbarContent.js +23 -0
  473. package/dist/module/components/Snackbar/SnackbarContent.js.map +1 -0
  474. package/dist/module/components/Snackbar/index.js +4 -0
  475. package/dist/module/components/Snackbar/index.js.map +1 -0
  476. package/dist/module/components/SwitchBase/SwitchBase.js +150 -0
  477. package/dist/module/components/SwitchBase/SwitchBase.js.map +1 -0
  478. package/dist/module/components/SwitchBase/index.js +4 -0
  479. package/dist/module/components/SwitchBase/index.js.map +1 -0
  480. package/dist/module/components/Tabs/Tabs.js +157 -0
  481. package/dist/module/components/Tabs/Tabs.js.map +1 -0
  482. package/dist/module/components/Tabs/index.js +4 -0
  483. package/dist/module/components/Tabs/index.js.map +1 -0
  484. package/dist/module/components/TextInput/TextInput.js +61 -0
  485. package/dist/module/components/TextInput/TextInput.js.map +1 -0
  486. package/dist/module/components/TextInput/index.js +4 -0
  487. package/dist/module/components/TextInput/index.js.map +1 -0
  488. package/dist/module/components/Toolbar/Toolbar.js +85 -0
  489. package/dist/module/components/Toolbar/Toolbar.js.map +1 -0
  490. package/dist/module/components/Toolbar/index.js +4 -0
  491. package/dist/module/components/Toolbar/index.js.map +1 -0
  492. package/dist/module/components/Typography/Anchor.js +26 -0
  493. package/dist/module/components/Typography/Anchor.js.map +1 -0
  494. package/dist/module/components/Typography/Text.js +35 -0
  495. package/dist/module/components/Typography/Text.js.map +1 -0
  496. package/dist/module/components/Typography/Text.spec.js +36 -0
  497. package/dist/module/components/Typography/Text.spec.js.map +1 -0
  498. package/dist/module/components/Typography/Title.js +59 -0
  499. package/dist/module/components/Typography/Title.js.map +1 -0
  500. package/dist/module/components/Typography/index.js +6 -0
  501. package/dist/module/components/Typography/index.js.map +1 -0
  502. package/dist/module/components/Window/Window.js +102 -0
  503. package/dist/module/components/Window/Window.js.map +1 -0
  504. package/dist/module/components/Window/index.js +4 -0
  505. package/dist/module/components/Window/index.js.map +1 -0
  506. package/dist/module/core/Provider.js +51 -0
  507. package/dist/module/core/Provider.js.map +1 -0
  508. package/dist/module/core/theming.js +10 -0
  509. package/dist/module/core/theming.js.map +1 -0
  510. package/dist/module/hooks/useAsyncReference.js +15 -0
  511. package/dist/module/hooks/useAsyncReference.js.map +1 -0
  512. package/dist/module/hooks/useControlledOrUncontrolled.js +19 -0
  513. package/dist/module/hooks/useControlledOrUncontrolled.js.map +1 -0
  514. package/dist/module/index.js +38 -0
  515. package/dist/module/index.js.map +1 -0
  516. package/dist/module/styles/shadow.js +36 -0
  517. package/dist/module/styles/shadow.js.map +1 -0
  518. package/dist/module/styles/styleElements.js +75 -0
  519. package/dist/module/styles/styleElements.js.map +1 -0
  520. package/dist/module/styles/styles.js +126 -0
  521. package/dist/module/styles/styles.js.map +1 -0
  522. package/dist/module/styles/themes/aiee.js +39 -0
  523. package/dist/module/styles/themes/aiee.js.map +1 -0
  524. package/dist/module/styles/themes/ash.js +38 -0
  525. package/dist/module/styles/themes/ash.js.map +1 -0
  526. package/dist/module/styles/themes/azureOrange.js +35 -0
  527. package/dist/module/styles/themes/azureOrange.js.map +1 -0
  528. package/dist/module/styles/themes/bee.js +35 -0
  529. package/dist/module/styles/themes/bee.js.map +1 -0
  530. package/dist/module/styles/themes/blackAndWhite.js +35 -0
  531. package/dist/module/styles/themes/blackAndWhite.js.map +1 -0
  532. package/dist/module/styles/themes/blue.js +39 -0
  533. package/dist/module/styles/themes/blue.js.map +1 -0
  534. package/dist/module/styles/themes/brick.js +35 -0
  535. package/dist/module/styles/themes/brick.js.map +1 -0
  536. package/dist/module/styles/themes/candy.js +35 -0
  537. package/dist/module/styles/themes/candy.js.map +1 -0
  538. package/dist/module/styles/themes/cherry.js +39 -0
  539. package/dist/module/styles/themes/cherry.js.map +1 -0
  540. package/dist/module/styles/themes/coldGray.js +36 -0
  541. package/dist/module/styles/themes/coldGray.js.map +1 -0
  542. package/dist/module/styles/themes/counterStrike.js +35 -0
  543. package/dist/module/styles/themes/counterStrike.js.map +1 -0
  544. package/dist/module/styles/themes/darkTeal.js +39 -0
  545. package/dist/module/styles/themes/darkTeal.js.map +1 -0
  546. package/dist/module/styles/themes/eggplant.js +35 -0
  547. package/dist/module/styles/themes/eggplant.js.map +1 -0
  548. package/dist/module/styles/themes/fxDev.js +39 -0
  549. package/dist/module/styles/themes/fxDev.js.map +1 -0
  550. package/dist/module/styles/themes/highContrast.js +35 -0
  551. package/dist/module/styles/themes/highContrast.js.map +1 -0
  552. package/dist/module/styles/themes/hotChocolate.js +39 -0
  553. package/dist/module/styles/themes/hotChocolate.js.map +1 -0
  554. package/dist/module/styles/themes/index.js +105 -0
  555. package/dist/module/styles/themes/index.js.map +1 -0
  556. package/dist/module/styles/themes/lilac.js +35 -0
  557. package/dist/module/styles/themes/lilac.js.map +1 -0
  558. package/dist/module/styles/themes/lilacRoseDark.js +36 -0
  559. package/dist/module/styles/themes/lilacRoseDark.js.map +1 -0
  560. package/dist/module/styles/themes/maple.js +35 -0
  561. package/dist/module/styles/themes/maple.js.map +1 -0
  562. package/dist/module/styles/themes/marine.js +35 -0
  563. package/dist/module/styles/themes/marine.js.map +1 -0
  564. package/dist/module/styles/themes/matrix.js +35 -0
  565. package/dist/module/styles/themes/matrix.js.map +1 -0
  566. package/dist/module/styles/themes/millenium.js +35 -0
  567. package/dist/module/styles/themes/millenium.js.map +1 -0
  568. package/dist/module/styles/themes/modernDark.js +35 -0
  569. package/dist/module/styles/themes/modernDark.js.map +1 -0
  570. package/dist/module/styles/themes/molecule.js +35 -0
  571. package/dist/module/styles/themes/molecule.js.map +1 -0
  572. package/dist/module/styles/themes/monochrome.js +2 -0
  573. package/dist/module/styles/themes/monochrome.js.map +1 -0
  574. package/dist/module/styles/themes/ninjaTurtles.js +35 -0
  575. package/dist/module/styles/themes/ninjaTurtles.js.map +1 -0
  576. package/dist/module/styles/themes/olive.js +35 -0
  577. package/dist/module/styles/themes/olive.js.map +1 -0
  578. package/dist/module/styles/themes/original.js +35 -0
  579. package/dist/module/styles/themes/original.js.map +1 -0
  580. package/dist/module/styles/themes/pamelaAnderson.js +35 -0
  581. package/dist/module/styles/themes/pamelaAnderson.js.map +1 -0
  582. package/dist/module/styles/themes/plum.js +35 -0
  583. package/dist/module/styles/themes/plum.js.map +1 -0
  584. package/dist/module/styles/themes/polarized.js +39 -0
  585. package/dist/module/styles/themes/polarized.js.map +1 -0
  586. package/dist/module/styles/themes/powerShell.js +39 -0
  587. package/dist/module/styles/themes/powerShell.js.map +1 -0
  588. package/dist/module/styles/themes/rainyDay.js +35 -0
  589. package/dist/module/styles/themes/rainyDay.js.map +1 -0
  590. package/dist/module/styles/themes/raspberry.js +39 -0
  591. package/dist/module/styles/themes/raspberry.js.map +1 -0
  592. package/dist/module/styles/themes/redWine.js +39 -0
  593. package/dist/module/styles/themes/redWine.js.map +1 -0
  594. package/dist/module/styles/themes/rose.js +35 -0
  595. package/dist/module/styles/themes/rose.js.map +1 -0
  596. package/dist/module/styles/themes/seawater.js +39 -0
  597. package/dist/module/styles/themes/seawater.js.map +1 -0
  598. package/dist/module/styles/themes/slate.js +35 -0
  599. package/dist/module/styles/themes/slate.js.map +1 -0
  600. package/dist/module/styles/themes/solarizedDark.js +39 -0
  601. package/dist/module/styles/themes/solarizedDark.js.map +1 -0
  602. package/dist/module/styles/themes/solarizedLight.js +39 -0
  603. package/dist/module/styles/themes/solarizedLight.js.map +1 -0
  604. package/dist/module/styles/themes/spruce.js +35 -0
  605. package/dist/module/styles/themes/spruce.js.map +1 -0
  606. package/dist/module/styles/themes/stormClouds.js +39 -0
  607. package/dist/module/styles/themes/stormClouds.js.map +1 -0
  608. package/dist/module/styles/themes/theSixtiesUSA.js +35 -0
  609. package/dist/module/styles/themes/theSixtiesUSA.js.map +1 -0
  610. package/dist/module/styles/themes/tokyoDark.js +35 -0
  611. package/dist/module/styles/themes/tokyoDark.js.map +1 -0
  612. package/dist/module/styles/themes/tooSexy.js +35 -0
  613. package/dist/module/styles/themes/tooSexy.js.map +1 -0
  614. package/dist/module/styles/themes/travel.js +35 -0
  615. package/dist/module/styles/themes/travel.js.map +1 -0
  616. package/dist/module/styles/themes/vaporTeal.js +35 -0
  617. package/dist/module/styles/themes/vaporTeal.js.map +1 -0
  618. package/dist/module/styles/themes/vermillion.js +35 -0
  619. package/dist/module/styles/themes/vermillion.js.map +1 -0
  620. package/dist/module/styles/themes/violetDark.js +35 -0
  621. package/dist/module/styles/themes/violetDark.js.map +1 -0
  622. package/dist/module/styles/themes/water.js +35 -0
  623. package/dist/module/styles/themes/water.js.map +1 -0
  624. package/dist/module/styles/themes/wmii.js +39 -0
  625. package/dist/module/styles/themes/wmii.js.map +1 -0
  626. package/dist/module/types.js +4 -0
  627. package/dist/module/types.js.map +1 -0
  628. package/dist/module/utils/index.js +47 -0
  629. package/dist/module/utils/index.js.map +1 -0
  630. package/dist/typescript/jest.setup.d.ts +2 -0
  631. package/dist/typescript/jest.setup.d.ts.map +1 -0
  632. package/dist/typescript/src/components/AppBar/AppBar.d.ts +152 -0
  633. package/dist/typescript/src/components/AppBar/AppBar.d.ts.map +1 -0
  634. package/dist/typescript/src/components/AppBar/AppBar.spec.d.ts +2 -0
  635. package/dist/typescript/src/components/AppBar/AppBar.spec.d.ts.map +1 -0
  636. package/dist/typescript/src/components/AppBar/AppBarBackAction.d.ts +7 -0
  637. package/dist/typescript/src/components/AppBar/AppBarBackAction.d.ts.map +1 -0
  638. package/dist/typescript/src/components/AppBar/AppBarContent.d.ts +21 -0
  639. package/dist/typescript/src/components/AppBar/AppBarContent.d.ts.map +1 -0
  640. package/dist/typescript/src/components/AppBar/index.d.ts +2 -0
  641. package/dist/typescript/src/components/AppBar/index.d.ts.map +1 -0
  642. package/dist/typescript/src/components/Button/Button.d.ts +24 -0
  643. package/dist/typescript/src/components/Button/Button.d.ts.map +1 -0
  644. package/dist/typescript/src/components/Button/Button.spec.d.ts +2 -0
  645. package/dist/typescript/src/components/Button/Button.spec.d.ts.map +1 -0
  646. package/dist/typescript/src/components/Button/index.d.ts +2 -0
  647. package/dist/typescript/src/components/Button/index.d.ts.map +1 -0
  648. package/dist/typescript/src/components/Card/Card.d.ts +20 -0
  649. package/dist/typescript/src/components/Card/Card.d.ts.map +1 -0
  650. package/dist/typescript/src/components/Card/Card.spec.d.ts +2 -0
  651. package/dist/typescript/src/components/Card/Card.spec.d.ts.map +1 -0
  652. package/dist/typescript/src/components/Card/CardContent.d.ts +9 -0
  653. package/dist/typescript/src/components/Card/CardContent.d.ts.map +1 -0
  654. package/dist/typescript/src/components/Card/index.d.ts +2 -0
  655. package/dist/typescript/src/components/Card/index.d.ts.map +1 -0
  656. package/dist/typescript/src/components/Checkbox/Checkbox.d.ts +7 -0
  657. package/dist/typescript/src/components/Checkbox/Checkbox.d.ts.map +1 -0
  658. package/dist/typescript/src/components/Checkbox/index.d.ts +2 -0
  659. package/dist/typescript/src/components/Checkbox/index.d.ts.map +1 -0
  660. package/dist/typescript/src/components/ColorButton/ColorButton.d.ts +12 -0
  661. package/dist/typescript/src/components/ColorButton/ColorButton.d.ts.map +1 -0
  662. package/dist/typescript/src/components/ColorButton/index.d.ts +2 -0
  663. package/dist/typescript/src/components/ColorButton/index.d.ts.map +1 -0
  664. package/dist/typescript/src/components/ColorPicker/ColorPicker.d.ts +17 -0
  665. package/dist/typescript/src/components/ColorPicker/ColorPicker.d.ts.map +1 -0
  666. package/dist/typescript/src/components/ColorPicker/index.d.ts +2 -0
  667. package/dist/typescript/src/components/ColorPicker/index.d.ts.map +1 -0
  668. package/dist/typescript/src/components/Desktop/Desktop.d.ts +14 -0
  669. package/dist/typescript/src/components/Desktop/Desktop.d.ts.map +1 -0
  670. package/dist/typescript/src/components/Desktop/Desktop.spec.d.ts +2 -0
  671. package/dist/typescript/src/components/Desktop/Desktop.spec.d.ts.map +1 -0
  672. package/dist/typescript/src/components/Desktop/index.d.ts +2 -0
  673. package/dist/typescript/src/components/Desktop/index.d.ts.map +1 -0
  674. package/dist/typescript/src/components/Divider/Divider.d.ts +15 -0
  675. package/dist/typescript/src/components/Divider/Divider.d.ts.map +1 -0
  676. package/dist/typescript/src/components/Divider/Divider.spec.d.ts +2 -0
  677. package/dist/typescript/src/components/Divider/Divider.spec.d.ts.map +1 -0
  678. package/dist/typescript/src/components/Divider/index.d.ts +2 -0
  679. package/dist/typescript/src/components/Divider/index.d.ts.map +1 -0
  680. package/dist/typescript/src/components/FAB/FAB.d.ts +68 -0
  681. package/dist/typescript/src/components/FAB/FAB.d.ts.map +1 -0
  682. package/dist/typescript/src/components/FAB/FABGroup.d.ts +132 -0
  683. package/dist/typescript/src/components/FAB/FABGroup.d.ts.map +1 -0
  684. package/dist/typescript/src/components/FAB/index.d.ts +2 -0
  685. package/dist/typescript/src/components/FAB/index.d.ts.map +1 -0
  686. package/dist/typescript/src/components/Fieldset/Fieldset.d.ts +18 -0
  687. package/dist/typescript/src/components/Fieldset/Fieldset.d.ts.map +1 -0
  688. package/dist/typescript/src/components/Fieldset/Fieldset.spec.d.ts +2 -0
  689. package/dist/typescript/src/components/Fieldset/Fieldset.spec.d.ts.map +1 -0
  690. package/dist/typescript/src/components/Fieldset/index.d.ts +2 -0
  691. package/dist/typescript/src/components/Fieldset/index.d.ts.map +1 -0
  692. package/dist/typescript/src/components/Hourglass/Hourglass.d.ts +10 -0
  693. package/dist/typescript/src/components/Hourglass/Hourglass.d.ts.map +1 -0
  694. package/dist/typescript/src/components/Hourglass/Hourglass.spec.d.ts +2 -0
  695. package/dist/typescript/src/components/Hourglass/Hourglass.spec.d.ts.map +1 -0
  696. package/dist/typescript/src/components/Hourglass/base64hourglass.d.ts +3 -0
  697. package/dist/typescript/src/components/Hourglass/base64hourglass.d.ts.map +1 -0
  698. package/dist/typescript/src/components/Hourglass/index.d.ts +2 -0
  699. package/dist/typescript/src/components/Hourglass/index.d.ts.map +1 -0
  700. package/dist/typescript/src/components/Icons/ArrowIcon.d.ts +17 -0
  701. package/dist/typescript/src/components/Icons/ArrowIcon.d.ts.map +1 -0
  702. package/dist/typescript/src/components/Icons/CheckmarkIcon.d.ts +13 -0
  703. package/dist/typescript/src/components/Icons/CheckmarkIcon.d.ts.map +1 -0
  704. package/dist/typescript/src/components/Icons/ChevronIcon.d.ts +16 -0
  705. package/dist/typescript/src/components/Icons/ChevronIcon.d.ts.map +1 -0
  706. package/dist/typescript/src/components/Icons/CloseIcon.d.ts +14 -0
  707. package/dist/typescript/src/components/Icons/CloseIcon.d.ts.map +1 -0
  708. package/dist/typescript/src/components/Icons/index.d.ts +5 -0
  709. package/dist/typescript/src/components/Icons/index.d.ts.map +1 -0
  710. package/dist/typescript/src/components/Label/Label.d.ts +18 -0
  711. package/dist/typescript/src/components/Label/Label.d.ts.map +1 -0
  712. package/dist/typescript/src/components/Label/index.d.ts +2 -0
  713. package/dist/typescript/src/components/Label/index.d.ts.map +1 -0
  714. package/dist/typescript/src/components/List/List.d.ts +4 -0
  715. package/dist/typescript/src/components/List/List.d.ts.map +1 -0
  716. package/dist/typescript/src/components/List/ListAccordion.d.ts +27 -0
  717. package/dist/typescript/src/components/List/ListAccordion.d.ts.map +1 -0
  718. package/dist/typescript/src/components/List/ListItem.d.ts +17 -0
  719. package/dist/typescript/src/components/List/ListItem.d.ts.map +1 -0
  720. package/dist/typescript/src/components/List/ListSection.d.ts +15 -0
  721. package/dist/typescript/src/components/List/ListSection.d.ts.map +1 -0
  722. package/dist/typescript/src/components/List/index.d.ts +3 -0
  723. package/dist/typescript/src/components/List/index.d.ts.map +1 -0
  724. package/dist/typescript/src/components/Menu/Menu.d.ts +47 -0
  725. package/dist/typescript/src/components/Menu/Menu.d.ts.map +1 -0
  726. package/dist/typescript/src/components/Menu/MenuItem.d.ts +18 -0
  727. package/dist/typescript/src/components/Menu/MenuItem.d.ts.map +1 -0
  728. package/dist/typescript/src/components/Menu/index.d.ts +2 -0
  729. package/dist/typescript/src/components/Menu/index.d.ts.map +1 -0
  730. package/dist/typescript/src/components/NumberInput/NumberInput.d.ts +21 -0
  731. package/dist/typescript/src/components/NumberInput/NumberInput.d.ts.map +1 -0
  732. package/dist/typescript/src/components/NumberInput/NumberInput.spec.d.ts +2 -0
  733. package/dist/typescript/src/components/NumberInput/NumberInput.spec.d.ts.map +1 -0
  734. package/dist/typescript/src/components/NumberInput/index.d.ts +2 -0
  735. package/dist/typescript/src/components/NumberInput/index.d.ts.map +1 -0
  736. package/dist/typescript/src/components/Panel/Panel.d.ts +19 -0
  737. package/dist/typescript/src/components/Panel/Panel.d.ts.map +1 -0
  738. package/dist/typescript/src/components/Panel/Panel.spec.d.ts +2 -0
  739. package/dist/typescript/src/components/Panel/Panel.spec.d.ts.map +1 -0
  740. package/dist/typescript/src/components/Panel/index.d.ts +2 -0
  741. package/dist/typescript/src/components/Panel/index.d.ts.map +1 -0
  742. package/dist/typescript/src/components/Portal/Portal.d.ts +21 -0
  743. package/dist/typescript/src/components/Portal/Portal.d.ts.map +1 -0
  744. package/dist/typescript/src/components/Portal/PortalConsumer.d.ts +16 -0
  745. package/dist/typescript/src/components/Portal/PortalConsumer.d.ts.map +1 -0
  746. package/dist/typescript/src/components/Portal/PortalHost.d.ts +46 -0
  747. package/dist/typescript/src/components/Portal/PortalHost.d.ts.map +1 -0
  748. package/dist/typescript/src/components/Portal/PortalManager.d.ts +19 -0
  749. package/dist/typescript/src/components/Portal/PortalManager.d.ts.map +1 -0
  750. package/dist/typescript/src/components/Portal/index.d.ts +2 -0
  751. package/dist/typescript/src/components/Portal/index.d.ts.map +1 -0
  752. package/dist/typescript/src/components/Progress/Progress.d.ts +15 -0
  753. package/dist/typescript/src/components/Progress/Progress.d.ts.map +1 -0
  754. package/dist/typescript/src/components/Progress/index.d.ts +2 -0
  755. package/dist/typescript/src/components/Progress/index.d.ts.map +1 -0
  756. package/dist/typescript/src/components/Radio/Radio.d.ts +10 -0
  757. package/dist/typescript/src/components/Radio/Radio.d.ts.map +1 -0
  758. package/dist/typescript/src/components/Radio/index.d.ts +2 -0
  759. package/dist/typescript/src/components/Radio/index.d.ts.map +1 -0
  760. package/dist/typescript/src/components/ScrollPanel/ScrollPanel.d.ts +13 -0
  761. package/dist/typescript/src/components/ScrollPanel/ScrollPanel.d.ts.map +1 -0
  762. package/dist/typescript/src/components/ScrollPanel/index.d.ts +2 -0
  763. package/dist/typescript/src/components/ScrollPanel/index.d.ts.map +1 -0
  764. package/dist/typescript/src/components/ScrollView/ScrollView.d.ts +17 -0
  765. package/dist/typescript/src/components/ScrollView/ScrollView.d.ts.map +1 -0
  766. package/dist/typescript/src/components/ScrollView/index.d.ts +2 -0
  767. package/dist/typescript/src/components/ScrollView/index.d.ts.map +1 -0
  768. package/dist/typescript/src/components/Select/Select.d.ts +18 -0
  769. package/dist/typescript/src/components/Select/Select.d.ts.map +1 -0
  770. package/dist/typescript/src/components/Select/SelectBase.d.ts +15 -0
  771. package/dist/typescript/src/components/Select/SelectBase.d.ts.map +1 -0
  772. package/dist/typescript/src/components/Select/SelectBox.d.ts +16 -0
  773. package/dist/typescript/src/components/Select/SelectBox.d.ts.map +1 -0
  774. package/dist/typescript/src/components/Select/index.d.ts +3 -0
  775. package/dist/typescript/src/components/Select/index.d.ts.map +1 -0
  776. package/dist/typescript/src/components/Slider/Slider.d.ts +24 -0
  777. package/dist/typescript/src/components/Slider/Slider.d.ts.map +1 -0
  778. package/dist/typescript/src/components/Slider/index.d.ts +2 -0
  779. package/dist/typescript/src/components/Slider/index.d.ts.map +1 -0
  780. package/dist/typescript/src/components/Snackbar/Snackbar.d.ts +51 -0
  781. package/dist/typescript/src/components/Snackbar/Snackbar.d.ts.map +1 -0
  782. package/dist/typescript/src/components/Snackbar/SnackbarContent.d.ts +9 -0
  783. package/dist/typescript/src/components/Snackbar/SnackbarContent.d.ts.map +1 -0
  784. package/dist/typescript/src/components/Snackbar/index.d.ts +2 -0
  785. package/dist/typescript/src/components/Snackbar/index.d.ts.map +1 -0
  786. package/dist/typescript/src/components/SwitchBase/SwitchBase.d.ts +21 -0
  787. package/dist/typescript/src/components/SwitchBase/SwitchBase.d.ts.map +1 -0
  788. package/dist/typescript/src/components/SwitchBase/index.d.ts +2 -0
  789. package/dist/typescript/src/components/SwitchBase/index.d.ts.map +1 -0
  790. package/dist/typescript/src/components/Tabs/Tabs.d.ts +38 -0
  791. package/dist/typescript/src/components/Tabs/Tabs.d.ts.map +1 -0
  792. package/dist/typescript/src/components/Tabs/index.d.ts +2 -0
  793. package/dist/typescript/src/components/Tabs/index.d.ts.map +1 -0
  794. package/dist/typescript/src/components/TextInput/TextInput.d.ts +16 -0
  795. package/dist/typescript/src/components/TextInput/TextInput.d.ts.map +1 -0
  796. package/dist/typescript/src/components/TextInput/index.d.ts +2 -0
  797. package/dist/typescript/src/components/TextInput/index.d.ts.map +1 -0
  798. package/dist/typescript/src/components/Toolbar/Toolbar.d.ts +10 -0
  799. package/dist/typescript/src/components/Toolbar/Toolbar.d.ts.map +1 -0
  800. package/dist/typescript/src/components/Toolbar/index.d.ts +2 -0
  801. package/dist/typescript/src/components/Toolbar/index.d.ts.map +1 -0
  802. package/dist/typescript/src/components/Typography/Anchor.d.ts +12 -0
  803. package/dist/typescript/src/components/Typography/Anchor.d.ts.map +1 -0
  804. package/dist/typescript/src/components/Typography/Text.d.ts +16 -0
  805. package/dist/typescript/src/components/Typography/Text.d.ts.map +1 -0
  806. package/dist/typescript/src/components/Typography/Text.spec.d.ts +2 -0
  807. package/dist/typescript/src/components/Typography/Text.spec.d.ts.map +1 -0
  808. package/dist/typescript/src/components/Typography/Title.d.ts +12 -0
  809. package/dist/typescript/src/components/Typography/Title.d.ts.map +1 -0
  810. package/dist/typescript/src/components/Typography/index.d.ts +4 -0
  811. package/dist/typescript/src/components/Typography/index.d.ts.map +1 -0
  812. package/dist/typescript/src/components/Window/Window.d.ts +18 -0
  813. package/dist/typescript/src/components/Window/Window.d.ts.map +1 -0
  814. package/dist/typescript/src/components/Window/index.d.ts +2 -0
  815. package/dist/typescript/src/components/Window/index.d.ts.map +1 -0
  816. package/dist/typescript/src/core/Provider.d.ts +9 -0
  817. package/dist/typescript/src/core/Provider.d.ts.map +1 -0
  818. package/dist/typescript/src/core/theming.d.ts +10 -0
  819. package/dist/typescript/src/core/theming.d.ts.map +1 -0
  820. package/dist/typescript/src/hooks/useAsyncReference.d.ts +8 -0
  821. package/dist/typescript/src/hooks/useAsyncReference.d.ts.map +1 -0
  822. package/dist/typescript/src/hooks/useControlledOrUncontrolled.d.ts +8 -0
  823. package/dist/typescript/src/hooks/useControlledOrUncontrolled.d.ts.map +1 -0
  824. package/dist/typescript/src/index.d.ts +36 -0
  825. package/dist/typescript/src/index.d.ts.map +1 -0
  826. package/dist/typescript/src/styles/shadow.d.ts +15 -0
  827. package/dist/typescript/src/styles/shadow.d.ts.map +1 -0
  828. package/dist/typescript/src/styles/styleElements.d.ts +17 -0
  829. package/dist/typescript/src/styles/styleElements.d.ts.map +1 -0
  830. package/dist/typescript/src/styles/styles.d.ts +117 -0
  831. package/dist/typescript/src/styles/styles.d.ts.map +1 -0
  832. package/dist/typescript/src/styles/themes/aiee.d.ts +34 -0
  833. package/dist/typescript/src/styles/themes/aiee.d.ts.map +1 -0
  834. package/dist/typescript/src/styles/themes/ash.d.ts +34 -0
  835. package/dist/typescript/src/styles/themes/ash.d.ts.map +1 -0
  836. package/dist/typescript/src/styles/themes/azureOrange.d.ts +34 -0
  837. package/dist/typescript/src/styles/themes/azureOrange.d.ts.map +1 -0
  838. package/dist/typescript/src/styles/themes/bee.d.ts +34 -0
  839. package/dist/typescript/src/styles/themes/bee.d.ts.map +1 -0
  840. package/dist/typescript/src/styles/themes/blackAndWhite.d.ts +34 -0
  841. package/dist/typescript/src/styles/themes/blackAndWhite.d.ts.map +1 -0
  842. package/dist/typescript/src/styles/themes/blue.d.ts +34 -0
  843. package/dist/typescript/src/styles/themes/blue.d.ts.map +1 -0
  844. package/dist/typescript/src/styles/themes/brick.d.ts +34 -0
  845. package/dist/typescript/src/styles/themes/brick.d.ts.map +1 -0
  846. package/dist/typescript/src/styles/themes/candy.d.ts +34 -0
  847. package/dist/typescript/src/styles/themes/candy.d.ts.map +1 -0
  848. package/dist/typescript/src/styles/themes/cherry.d.ts +34 -0
  849. package/dist/typescript/src/styles/themes/cherry.d.ts.map +1 -0
  850. package/dist/typescript/src/styles/themes/coldGray.d.ts +35 -0
  851. package/dist/typescript/src/styles/themes/coldGray.d.ts.map +1 -0
  852. package/dist/typescript/src/styles/themes/counterStrike.d.ts +34 -0
  853. package/dist/typescript/src/styles/themes/counterStrike.d.ts.map +1 -0
  854. package/dist/typescript/src/styles/themes/darkTeal.d.ts +34 -0
  855. package/dist/typescript/src/styles/themes/darkTeal.d.ts.map +1 -0
  856. package/dist/typescript/src/styles/themes/eggplant.d.ts +34 -0
  857. package/dist/typescript/src/styles/themes/eggplant.d.ts.map +1 -0
  858. package/dist/typescript/src/styles/themes/fxDev.d.ts +34 -0
  859. package/dist/typescript/src/styles/themes/fxDev.d.ts.map +1 -0
  860. package/dist/typescript/src/styles/themes/highContrast.d.ts +34 -0
  861. package/dist/typescript/src/styles/themes/highContrast.d.ts.map +1 -0
  862. package/dist/typescript/src/styles/themes/hotChocolate.d.ts +34 -0
  863. package/dist/typescript/src/styles/themes/hotChocolate.d.ts.map +1 -0
  864. package/dist/typescript/src/styles/themes/index.d.ts +1606 -0
  865. package/dist/typescript/src/styles/themes/index.d.ts.map +1 -0
  866. package/dist/typescript/src/styles/themes/lilac.d.ts +34 -0
  867. package/dist/typescript/src/styles/themes/lilac.d.ts.map +1 -0
  868. package/dist/typescript/src/styles/themes/lilacRoseDark.d.ts +35 -0
  869. package/dist/typescript/src/styles/themes/lilacRoseDark.d.ts.map +1 -0
  870. package/dist/typescript/src/styles/themes/maple.d.ts +34 -0
  871. package/dist/typescript/src/styles/themes/maple.d.ts.map +1 -0
  872. package/dist/typescript/src/styles/themes/marine.d.ts +34 -0
  873. package/dist/typescript/src/styles/themes/marine.d.ts.map +1 -0
  874. package/dist/typescript/src/styles/themes/matrix.d.ts +34 -0
  875. package/dist/typescript/src/styles/themes/matrix.d.ts.map +1 -0
  876. package/dist/typescript/src/styles/themes/millenium.d.ts +34 -0
  877. package/dist/typescript/src/styles/themes/millenium.d.ts.map +1 -0
  878. package/dist/typescript/src/styles/themes/modernDark.d.ts +34 -0
  879. package/dist/typescript/src/styles/themes/modernDark.d.ts.map +1 -0
  880. package/dist/typescript/src/styles/themes/molecule.d.ts +34 -0
  881. package/dist/typescript/src/styles/themes/molecule.d.ts.map +1 -0
  882. package/dist/typescript/src/styles/themes/monochrome.d.ts +1 -0
  883. package/dist/typescript/src/styles/themes/monochrome.d.ts.map +1 -0
  884. package/dist/typescript/src/styles/themes/ninjaTurtles.d.ts +34 -0
  885. package/dist/typescript/src/styles/themes/ninjaTurtles.d.ts.map +1 -0
  886. package/dist/typescript/src/styles/themes/olive.d.ts +34 -0
  887. package/dist/typescript/src/styles/themes/olive.d.ts.map +1 -0
  888. package/dist/typescript/src/styles/themes/original.d.ts +34 -0
  889. package/dist/typescript/src/styles/themes/original.d.ts.map +1 -0
  890. package/dist/typescript/src/styles/themes/pamelaAnderson.d.ts +34 -0
  891. package/dist/typescript/src/styles/themes/pamelaAnderson.d.ts.map +1 -0
  892. package/dist/typescript/src/styles/themes/plum.d.ts +34 -0
  893. package/dist/typescript/src/styles/themes/plum.d.ts.map +1 -0
  894. package/dist/typescript/src/styles/themes/polarized.d.ts +34 -0
  895. package/dist/typescript/src/styles/themes/polarized.d.ts.map +1 -0
  896. package/dist/typescript/src/styles/themes/powerShell.d.ts +34 -0
  897. package/dist/typescript/src/styles/themes/powerShell.d.ts.map +1 -0
  898. package/dist/typescript/src/styles/themes/rainyDay.d.ts +34 -0
  899. package/dist/typescript/src/styles/themes/rainyDay.d.ts.map +1 -0
  900. package/dist/typescript/src/styles/themes/raspberry.d.ts +34 -0
  901. package/dist/typescript/src/styles/themes/raspberry.d.ts.map +1 -0
  902. package/dist/typescript/src/styles/themes/redWine.d.ts +34 -0
  903. package/dist/typescript/src/styles/themes/redWine.d.ts.map +1 -0
  904. package/dist/typescript/src/styles/themes/rose.d.ts +34 -0
  905. package/dist/typescript/src/styles/themes/rose.d.ts.map +1 -0
  906. package/dist/typescript/src/styles/themes/seawater.d.ts +34 -0
  907. package/dist/typescript/src/styles/themes/seawater.d.ts.map +1 -0
  908. package/dist/typescript/src/styles/themes/slate.d.ts +34 -0
  909. package/dist/typescript/src/styles/themes/slate.d.ts.map +1 -0
  910. package/dist/typescript/src/styles/themes/solarizedDark.d.ts +34 -0
  911. package/dist/typescript/src/styles/themes/solarizedDark.d.ts.map +1 -0
  912. package/dist/typescript/src/styles/themes/solarizedLight.d.ts +34 -0
  913. package/dist/typescript/src/styles/themes/solarizedLight.d.ts.map +1 -0
  914. package/dist/typescript/src/styles/themes/spruce.d.ts +34 -0
  915. package/dist/typescript/src/styles/themes/spruce.d.ts.map +1 -0
  916. package/dist/typescript/src/styles/themes/stormClouds.d.ts +34 -0
  917. package/dist/typescript/src/styles/themes/stormClouds.d.ts.map +1 -0
  918. package/dist/typescript/src/styles/themes/theSixtiesUSA.d.ts +34 -0
  919. package/dist/typescript/src/styles/themes/theSixtiesUSA.d.ts.map +1 -0
  920. package/dist/typescript/src/styles/themes/tokyoDark.d.ts +34 -0
  921. package/dist/typescript/src/styles/themes/tokyoDark.d.ts.map +1 -0
  922. package/dist/typescript/src/styles/themes/tooSexy.d.ts +34 -0
  923. package/dist/typescript/src/styles/themes/tooSexy.d.ts.map +1 -0
  924. package/dist/typescript/src/styles/themes/travel.d.ts +34 -0
  925. package/dist/typescript/src/styles/themes/travel.d.ts.map +1 -0
  926. package/dist/typescript/src/styles/themes/vaporTeal.d.ts +34 -0
  927. package/dist/typescript/src/styles/themes/vaporTeal.d.ts.map +1 -0
  928. package/dist/typescript/src/styles/themes/vermillion.d.ts +34 -0
  929. package/dist/typescript/src/styles/themes/vermillion.d.ts.map +1 -0
  930. package/dist/typescript/src/styles/themes/violetDark.d.ts +34 -0
  931. package/dist/typescript/src/styles/themes/violetDark.d.ts.map +1 -0
  932. package/dist/typescript/src/styles/themes/water.d.ts +34 -0
  933. package/dist/typescript/src/styles/themes/water.d.ts.map +1 -0
  934. package/dist/typescript/src/styles/themes/wmii.d.ts +34 -0
  935. package/dist/typescript/src/styles/themes/wmii.d.ts.map +1 -0
  936. package/dist/typescript/src/types.d.ts +42 -0
  937. package/dist/typescript/src/types.d.ts.map +1 -0
  938. package/dist/typescript/src/utils/index.d.ts +7 -0
  939. package/dist/typescript/src/utils/index.d.ts.map +1 -0
  940. package/package.json +18 -65
  941. package/src/components/AppBar/AppBarContent.tsx +1 -1
  942. package/src/components/Button/Button.tsx +0 -2
  943. package/src/components/Divider/Divider.tsx +1 -0
  944. package/src/components/FAB/FAB.tsx +0 -2
  945. package/src/components/FAB/FABGroup.tsx +0 -6
  946. package/src/components/Hourglass/Hourglass.tsx +1 -0
  947. package/src/components/NumberInput/NumberInput.tsx +1 -0
  948. package/src/components/Select/SelectBase.tsx +1 -1
  949. package/src/components/SwitchBase/SwitchBase.tsx +2 -4
  950. package/src/components/Tabs/Tabs.tsx +1 -2
  951. package/src/hooks/useControlledOrUncontrolled.ts +1 -0
@@ -0,0 +1,62 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { View, StyleSheet, TouchableOpacity } from 'react-native';
5
+ import { withTheme } from '../../core/theming';
6
+ import { blockSizes } from '../../styles/styles';
7
+ import { Text } from '../..';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ const ListItem = ({
10
+ left,
11
+ onPress,
12
+ right,
13
+ style,
14
+ theme,
15
+ title,
16
+ titleStyle,
17
+ ...rest
18
+ }) => {
19
+ return /*#__PURE__*/_jsx(View, {
20
+ style: style,
21
+ ...rest,
22
+ children: /*#__PURE__*/_jsx(TouchableOpacity, {
23
+ onPress: onPress,
24
+ accessibilityRole: "button",
25
+ children: /*#__PURE__*/_jsxs(View, {
26
+ style: [styles.content],
27
+ children: [left && /*#__PURE__*/_jsx(View, {
28
+ style: [styles.left],
29
+ children: left
30
+ }), title && /*#__PURE__*/_jsx(Text, {
31
+ style: [styles.title, {
32
+ color: theme.progress
33
+ }, titleStyle],
34
+ children: title
35
+ }), right && /*#__PURE__*/_jsx(View, {
36
+ style: [styles.right],
37
+ children: right
38
+ })]
39
+ })
40
+ })
41
+ });
42
+ };
43
+ const styles = StyleSheet.create({
44
+ content: {
45
+ display: 'flex',
46
+ flexDirection: 'row',
47
+ alignItems: 'center',
48
+ minHeight: blockSizes.md,
49
+ paddingVertical: 4
50
+ },
51
+ title: {
52
+ fontSize: 16
53
+ },
54
+ left: {
55
+ marginRight: 8
56
+ },
57
+ right: {
58
+ marginLeft: 8
59
+ }
60
+ });
61
+ export default withTheme(ListItem);
62
+ //# sourceMappingURL=ListItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","StyleSheet","TouchableOpacity","withTheme","blockSizes","Text","jsx","_jsx","jsxs","_jsxs","ListItem","left","onPress","right","style","theme","title","titleStyle","rest","children","accessibilityRole","styles","content","color","progress","create","display","flexDirection","alignItems","minHeight","md","paddingVertical","fontSize","marginRight","marginLeft"],"sourceRoot":"../../../../src","sources":["components/List/ListItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,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AAM;IACfC,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE,QAAQ;IACpBC,SAAS,EAAEzB,UAAU,CAAC0B,EAAE;IACxBC,eAAe,EAAE;EACnB,CAAC;EACDf,KAAK,EAAE;IACLgB,QAAQ,EAAE;EACZ,CAAC;EACDrB,IAAI,EAAE;IACJsB,WAAW,EAAE;EACf,CAAC;EACDpB,KAAK,EAAE;IACLqB,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAe/B,SAAS,CAACO,QAAQ,CAAC","ignoreList":[]}
@@ -0,0 +1,36 @@
1
+ "use strict";
2
+
3
+ import * as React from 'react';
4
+ import { View, StyleSheet } from 'react-native';
5
+ import { withTheme } from '../../core/theming';
6
+ import { Text } from '../..';
7
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
8
+ const ListSection = ({
9
+ children,
10
+ style,
11
+ theme,
12
+ title,
13
+ titleStyle,
14
+ ...rest
15
+ }) => /*#__PURE__*/_jsxs(View, {
16
+ ...rest,
17
+ style: [styles.container, style],
18
+ children: [title && /*#__PURE__*/_jsx(Text, {
19
+ theme: theme,
20
+ bold: true,
21
+ secondary: true,
22
+ style: [styles.title, titleStyle],
23
+ children: title
24
+ }), children]
25
+ });
26
+ const styles = StyleSheet.create({
27
+ container: {
28
+ padding: 8
29
+ },
30
+ title: {
31
+ fontSize: 13,
32
+ marginVertical: 8
33
+ }
34
+ });
35
+ export default withTheme(ListSection);
36
+ //# sourceMappingURL=ListSection.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","StyleSheet","withTheme","Text","jsx","_jsx","jsxs","_jsxs","ListSection","children","style","theme","title","titleStyle","rest","styles","container","bold","secondary","create","padding","fontSize","marginVertical"],"sourceRoot":"../../../../src","sources":["components/List/ListSection.tsx"],"mappings":";;AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,IAAI,EAEJC,UAAU,QAGL,cAAc;AAGrB,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,SAASC,IAAI,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAU7B,MAAMC,WAAW,GAAGA,CAAC;EACnBC,QAAQ;EACRC,KAAK;EACLC,KAAK;EACLC,KAAK;EACLC,UAAU;EACV,GAAGC;AACE,CAAC,kBACNP,KAAA,CAACP,IAAI;EAAA,GAAKc,IAAI;EAAEJ,KAAK,EAAE,CAACK,MAAM,CAACC,SAAS,EAAEN,KAAK,CAAE;EAAAD,QAAA,GAC9CG,KAAK,iBACJP,IAAA,CAACF,IAAI;IAACQ,KAAK,EAAEA,KAAM;IAACM,IAAI;IAACC,SAAS;IAACR,KAAK,EAAE,CAACK,MAAM,CAACH,KAAK,EAAEC,UAAU,CAAE;IAAAJ,QAAA,EAClEG;EAAK,CACF,CACP,EACAH,QAAQ;AAAA,CACL,CACP;AAED,MAAMM,MAAM,GAAGd,UAAU,CAACkB,MAAM,CAAC;EAC/BH,SAAS,EAAE;IACTI,OAAO,EAAE;EACX,CAAC;EACDR,KAAK,EAAE;IACLS,QAAQ,EAAE,EAAE;IACZC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC;AAEF,eAAepB,SAAS,CAACM,WAAW,CAAC","ignoreList":[]}
@@ -0,0 +1,5 @@
1
+ "use strict";
2
+
3
+ import * as List from './List';
4
+ export default List;
5
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["List"],"sourceRoot":"../../../../src","sources":["components/List/index.ts"],"mappings":";;AAAA,OAAO,KAAKA,IAAI,MAAM,QAAQ;AAE9B,eAAeA,IAAI","ignoreList":[]}
@@ -0,0 +1,81 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet, View } from 'react-native';
5
+ import { withTheme } from '../../core/theming';
6
+ import { Panel } from '../..';
7
+ import MenuItem from './MenuItem';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ const Menu = ({
10
+ anchor,
11
+ children,
12
+ open = false,
13
+ orientation = 'vertical',
14
+ style = {},
15
+ theme,
16
+ horizontalAlignment: horizontalAlign = 'left',
17
+ verticalAlignment: verticalAlign = 'below',
18
+ ...rest
19
+ }) => {
20
+ const [menuSize, setMenuSize] = React.useState({
21
+ width: 0,
22
+ height: 0
23
+ });
24
+ const handleMenuLayout = e => {
25
+ const {
26
+ width,
27
+ height
28
+ } = e.nativeEvent.layout;
29
+ setMenuSize({
30
+ width,
31
+ height
32
+ });
33
+ };
34
+ const menuPosition = {};
35
+ if (verticalAlign === 'below') {
36
+ menuPosition.top = '100%';
37
+ } else {
38
+ menuPosition.top = -menuSize.height;
39
+ }
40
+ if (horizontalAlign === 'left') {
41
+ menuPosition.left = 0;
42
+ } else {
43
+ menuPosition.right = menuSize.width;
44
+ }
45
+ return /*#__PURE__*/_jsxs(View, {
46
+ style: styles.wrapper,
47
+ children: [anchor, open && /*#__PURE__*/_jsx(View, {
48
+ style: [styles.menuWrapper, menuPosition],
49
+ children: /*#__PURE__*/_jsx(Panel, {
50
+ ...rest,
51
+ theme: theme,
52
+ variant: "raised",
53
+ elevation: 2,
54
+ onLayout: handleMenuLayout,
55
+ style: [styles.menu, {
56
+ display: 'flex',
57
+ flexDirection: orientation === 'vertical' ? 'column' : 'row'
58
+ }, style],
59
+ children: children
60
+ })
61
+ })]
62
+ });
63
+ };
64
+ const styles = StyleSheet.create({
65
+ wrapper: {
66
+ position: 'relative'
67
+ },
68
+ menuWrapper: {
69
+ position: 'absolute'
70
+ },
71
+ menu: {
72
+ width: 'auto',
73
+ position: 'absolute',
74
+ height: 'auto',
75
+ flexGrow: 0,
76
+ padding: 6
77
+ }
78
+ });
79
+ Menu.Item = MenuItem;
80
+ export default withTheme(Menu);
81
+ //# sourceMappingURL=Menu.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","View","withTheme","Panel","MenuItem","jsx","_jsx","jsxs","_jsxs","Menu","anchor","children","open","orientation","style","theme","horizontalAlignment","horizontalAlign","verticalAlignment","verticalAlign","rest","menuSize","setMenuSize","useState","width","height","handleMenuLayout","e","nativeEvent","layout","menuPosition","top","left","right","styles","wrapper","menuWrapper","variant","elevation","onLayout","menu","display","flexDirection","create","position","flexGrow","padding","Item"],"sourceRoot":"../../../../src","sources":["components/Menu/Menu.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAoBC,UAAU,EAAaC,IAAI,QAAQ,cAAc;AAIrE,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,SAASC,KAAK,QAAQ,OAAO;AAE7B,OAAOC,QAAQ,MAAM,YAAY;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAalC,MAAMC,IAAI,GAAGA,CAAC;EACZC,MAAM;EACNC,QAAQ;EACRC,IAAI,GAAG,KAAK;EACZC,WAAW,GAAG,UAAU;EACxBC,KAAK,GAAG,CAAC,CAAC;EACVC,KAAK;EACLC,mBAAmB,EAAEC,eAAe,GAAG,MAAM;EAC7CC,iBAAiB,EAAEC,aAAa,GAAG,OAAO;EAC1C,GAAGC;AACE,CAAC,KAAK;EACX,MAAM,CAACC,QAAQ,EAAEC,WAAW,CAAC,GAAGvB,KAAK,CAACwB,QAAQ,CAAC;IAAEC,KAAK,EAAE,CAAC;IAAEC,MAAM,EAAE;EAAE,CAAC,CAAC;EAEvE,MAAMC,gBAAgB,GAAIC,CAAoB,IAAK;IACjD,MAAM;MAAEH,KAAK;MAAEC;IAAO,CAAC,GAAGE,CAAC,CAACC,WAAW,CAACC,MAAM;IAC9CP,WAAW,CAAC;MAAEE,KAAK;MAAEC;IAAO,CAAC,CAAC;EAChC,CAAC;EAED,MAAMK,YAAkC,GAAG,CAAC,CAAC;EAC7C,IAAIX,aAAa,KAAK,OAAO,EAAE;IAC7BW,YAAY,CAACC,GAAG,GAAG,MAAM;EAC3B,CAAC,MAAM;IACLD,YAAY,CAACC,GAAG,GAAG,CAACV,QA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
+ import React, { useState } from 'react';
4
+ import { StyleSheet, View, TouchableHighlight } from 'react-native';
5
+ import { withTheme } from '../../core/theming';
6
+ import { blockSizes, builtTextStyles } from '../../styles/styles';
7
+ import { Text } from '../..';
8
+
9
+ // TODO: add icon prop
10
+ import { jsx as _jsx } from "react/jsx-runtime";
11
+ export const Item = ({
12
+ disabled,
13
+ onPress,
14
+ primary = false,
15
+ size = 'md',
16
+ style,
17
+ theme,
18
+ title,
19
+ ...rest
20
+ }) => {
21
+ const [isPressed, setIsPressed] = useState(false);
22
+ const textStyles = builtTextStyles(theme);
23
+ return /*#__PURE__*/_jsx(View, {
24
+ ...rest,
25
+ style: [styles.item, {
26
+ height: blockSizes[size]
27
+ }, {
28
+ backgroundColor: isPressed ? theme.hoverBackground : theme.material
29
+ }, style],
30
+ children: /*#__PURE__*/_jsx(TouchableHighlight, {
31
+ style: [styles.button],
32
+ onPress: onPress,
33
+ disabled: disabled,
34
+ onHideUnderlay: () => setIsPressed(false),
35
+ onShowUnderlay: () => setIsPressed(true),
36
+ underlayColor: "none"
37
+ // TODO: which accessibilityRole put in here?
38
+ ,
39
+ accessibilityRole: "menuitem",
40
+ accessibilityState: {
41
+ disabled
42
+ },
43
+ children: /*#__PURE__*/_jsx(View, {
44
+ pointerEvents: "none",
45
+ style: [styles.content],
46
+ children: /*#__PURE__*/_jsx(Text, {
47
+ theme: theme,
48
+ bold: primary,
49
+ style: [disabled ? textStyles.disabled : textStyles.default, !disabled && {
50
+ color: isPressed ? theme.materialTextInvert : theme.materialText
51
+ }],
52
+ children: title
53
+ })
54
+ })
55
+ })
56
+ });
57
+ };
58
+ const styles = StyleSheet.create({
59
+ item: {
60
+ position: 'relative'
61
+ },
62
+ button: {
63
+ flex: 1,
64
+ justifyContent: 'center',
65
+ alignItems: 'center',
66
+ paddingHorizontal: 8
67
+ },
68
+ content: {
69
+ alignSelf: 'flex-start'
70
+ }
71
+ });
72
+ export default withTheme(Item);
73
+ //# sourceMappingURL=MenuItem.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","useState","StyleSheet","View","TouchableHighlight","withTheme","blockSizes","builtTextStyles","Text","jsx","_jsx","Item","disabled","onPress","primary","size","style","theme","title","rest","isPressed","setIsPressed","textStyles","styles","item","height","backgroundColor","hoverBackground","material","children","button","onHideUnderlay","onShowUnderlay","underlayColor","accessibilityRole","accessibilityState","pointerEvents","content","bold","default","color","materialTextInvert","materialText","create","position","flex","justifyContent","alignItems","paddingHorizontal","alignSelf"],"sourceRoot":"../../../../src","sources":["components/Menu/MenuItem.tsx"],"mappings":";;AAAA,OAAOA,KAAK,IAAIC,QAAQ,QAAQ,OAAO;AACvC,SACEC,UAAU,EACVC,IAAI,EACJC,kBAAkB,QAGb,cAAc;AAGrB,SAASC,SAAS,QAAQ,oBAAoB;AAC9C,SAASC,UAAU,EAAEC,eAAe,QAAQ,qBAAqB;AAEjE,SAASC,IAAI,QAAQ,OAAO;;AAE5B;AAAA,SAAAC,GAAA,IAAAC,IAAA;AAYA,OAAO,MAAMC,IAAI,GAAGA,CAAC;EACnBC,QAAQ;EACRC,OAAO;EACPC,OAAO,GAAG,KAAK;EACfC,IAAI,GAAG,IAAI;EACXC,KAAK;EACLC,KAAK;EACLC,KAAK;EACL,GAAGC;AACE,CAAC,KAAK;EACX,MAAM,CAACC,SAAS,EAAEC,YAAY,CAAC,GAAGpB,QAAQ,CAAC,KAAK,CAAC;EAEjD,MAAMqB,UAAU,GAAGf,eAAe,CAACU,KAAK,CAAC;EACzC,oBACEP,IAAA,CAACP,IAAI;IAAA,GACCgB,IAAI;IACRH,KAAK,EAAE,CACLO,MAAM,CAACC,IAAI,EACX;MAAEC,MAAM,EAAEnB,UAAU,CAACS,IAAI;IAAE,CAAC,EAC5B;MACEW,eAAe,EAAEN,SAAS,GAAGH,KAAK,CAACU,eAAe,GAAGV,KAAK,CAACW;IAC7D,CAAC,EACDZ,KAAK,CACL;IAAAa,QAAA,eAEFnB,IAAA,CAACN,kBAAkB;MACjBY,K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.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/Menu/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,QAAQ","ignoreList":[]}
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { View, StyleSheet } from 'react-native';
5
+ import useControlledOrUncontrolled from '../../hooks/useControlledOrUncontrolled';
6
+ import { withTheme } from '../../core/theming';
7
+ import { blockSizes } from '../../styles/styles';
8
+ import { clamp } from '../../utils';
9
+ import { TextInput, Button, ArrowIcon } from '../..';
10
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
11
+ // TODO: allow to center input text horizontally
12
+ // TODO: how are uncontrolled inputs handled in RN?
13
+ const NumberInput = ({
14
+ defaultValue,
15
+ disabled,
16
+ inputWidth,
17
+ max = null,
18
+ min = null,
19
+ onChange,
20
+ step = 1,
21
+ style = {},
22
+ theme,
23
+ value,
24
+ variant = 'default',
25
+ ...rest
26
+ }) => {
27
+ const [valueDerived, setValueState] = useControlledOrUncontrolled({
28
+ value,
29
+ defaultValue
30
+ });
31
+ const handleClick = val => {
32
+ const stateValue = parseFloat(valueDerived);
33
+ const newValue = clamp(+parseFloat((stateValue + val).toString()).toFixed(2), min, max).toString();
34
+ setValueState(parseFloat(newValue));
35
+ if (onChange) {
36
+ onChange(parseFloat(newValue));
37
+ }
38
+ };
39
+ const valueDerivedNumber = parseFloat(valueDerived);
40
+ const isDecrementDisabled = disabled || valueDerivedNumber === min;
41
+ const isIncrementDisabled = disabled || valueDerivedNumber === max;
42
+ const isFlat = variant === 'flat';
43
+ return /*#__PURE__*/_jsxs(View, {
44
+ style: [styles.wrapper, style],
45
+ accessibilityState: {
46
+ disabled
47
+ }
48
+ // TODO: are these accessibility traits correct?
49
+ ,
50
+ accessibilityRole: "adjustable",
51
+ accessibilityValue: {
52
+ min: min === null ? undefined : min,
53
+ max: max === null ? undefined : max,
54
+ now: valueDerived
55
+ },
56
+ children: [/*#__PURE__*/_jsx(Button, {
57
+ theme: theme,
58
+ disabled: isDecrementDisabled,
59
+ onPress: () => handleClick(-step),
60
+ variant: isFlat ? 'flat' : 'raised',
61
+ style: styles.button,
62
+ testID: "decrement",
63
+ children: /*#__PURE__*/_jsx(ArrowIcon, {
64
+ theme: theme,
65
+ segments: 4,
66
+ disabled: isDecrementDisabled,
67
+ direction: "left"
68
+ })
69
+ }), /*#__PURE__*/_jsx(TextInput, {
70
+ theme: theme,
71
+ variant: variant,
72
+ disabled: disabled,
73
+ value: valueDerived.toString()
74
+ //@ts-ignore
75
+ ,
76
+ style: [styles.input, {
77
+ width: inputWidth || 'auto'
78
+ }],
79
+ editable: false
80
+ // eslint-disable-next-line react/jsx-props-no-spreading
81
+ ,
82
+ testID: "input",
83
+ ...rest
84
+ }), /*#__PURE__*/_jsx(Button, {
85
+ theme: theme,
86
+ disabled: isIncrementDisabled,
87
+ onPress: () => handleClick(step),
88
+ variant: isFlat ? 'flat' : 'raised',
89
+ style: styles.button,
90
+ testID: "increment",
91
+ children: /*#__PURE__*/_jsx(ArrowIcon, {
92
+ theme: theme,
93
+ segments: 4,
94
+ disabled: isIncrementDisabled,
95
+ direction: "right"
96
+ })
97
+ })]
98
+ });
99
+ };
100
+ const styles = StyleSheet.create({
101
+ wrapper: {
102
+ display: 'flex',
103
+ flexDirection: 'row',
104
+ justifyContent: 'center'
105
+ },
106
+ input: {
107
+ marginHorizontal: 2,
108
+ minWidth: blockSizes.md + 2
109
+ },
110
+ button: {
111
+ width: blockSizes.md
112
+ },
113
+ buttonText: {
114
+ fontSize: 24
115
+ }
116
+ });
117
+ export default withTheme(NumberInput);
118
+ //# sourceMappingURL=NumberInput.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","View","StyleSheet","useControlledOrUncontrolled","withTheme","blockSizes","clamp","TextInput","Button","ArrowIcon","jsx","_jsx","jsxs","_jsxs","NumberInput","defaultValue","disabled","inputWidth","max","min","onChange","step","style","theme","value","variant","rest","valueDerived","setValueState","handleClick","val","stateValue","parseFloat","newValue","toString","toFixed","valueDerivedNumber","isDecrementDisabled","isIncrementDisabled","isFlat","styles","wrapper","accessibilityState","accessibilityRole","accessibilityValue","undefined","now","children","onPress","button","testID","segments","direction","input","width","editable","create","display","flexDirection","justifyContent","marginHorizontal","minWidth","md","buttonText","fontSize"],"sourceRoot":"../../../../src","sources":["components/NumberInput/NumberInput.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,IAAI,EAAaC,UAAU,QAAmB,cAAc;AACrE,OAAOC,2BAA2B,MAAM,yCAAyC;AAGjF,SAASC,SAAS,QAAQ,oBAAoB;AAE9C,SAASC,UAAU,QAAQ,qBAAqB;AAChD,SAASC,KAAK,QAAQ,aAAa;AAEnC,SAASC,SAAS,EAAEC,MAAM,EAAEC,SAAS,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAgBrD;AACA;AACA,MAAMC,WAAW,GAAGA,CAAC;EACnBC,YAAY;EACZC,QAAQ;EACRC,UAAU;EACVC,GAAG,GAAG,IAAI;EACVC,GAAG,GAAG,IAAI;EACVC,QAAQ;EACRC,IAAI,GAAG,CAAC;EACRC,KAAK,GAAG,CAAC,CAAC;EACVC,KAAK;EACLC,KAAK;EACLC,OAAO,GAAG,SAAS;EACnB,GAAGC;AACE,CAAC,KAAK;EACX,MAAM,CAACC,YAAY,EAAEC,aAAa,CAAC,GAAGzB,2BAA2B,CAAC;IAChEqB,KAAK;IACLT;EACF,CAAC,CAAC;EAEF,MAAMc,WAAW,GAAIC,GAAW,IAAK;IACnC,MAAMC,UAAU,GAAGC,UAAU,CAACL,YAAY,CAAC;IAC3C,MAAMM,QAAQ,GAAG3B,KAAK,CACpB,CAAC0B,UAAU,CAAC,CAACD,UAAU,GAAGD,GAAG,EAAEI,QAAQ,CAAC,CAAC,CAAC,CAACC,OAAO,CAAC,CAAC,CAAC,EACrDhB,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e5D,SAAS,CAACU,WAAW,CAAC","ignoreList":[]}
@@ -0,0 +1,129 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { render, fireEvent } from '@testing-library/react-native';
5
+ import { NumberInput } from '../..';
6
+ import { jsx as _jsx } from "react/jsx-runtime";
7
+ describe('<NumberInput />', () => {
8
+ it('should call onChange on increment press', () => {
9
+ const handleChange = jest.fn();
10
+ const {
11
+ getByTestId
12
+ } = render(/*#__PURE__*/_jsx(NumberInput, {
13
+ onChange: handleChange,
14
+ defaultValue: 2
15
+ }));
16
+ const spinButton = getByTestId('increment');
17
+ fireEvent(spinButton, 'press');
18
+ expect(handleChange).toHaveBeenCalledTimes(1);
19
+ expect(handleChange).toHaveBeenCalledWith(3);
20
+ });
21
+ it('should call onChange on decrement press', () => {
22
+ const handleChange = jest.fn();
23
+ const {
24
+ getByTestId
25
+ } = render(/*#__PURE__*/_jsx(NumberInput, {
26
+ onChange: handleChange,
27
+ defaultValue: 2
28
+ }));
29
+ const spinButton = getByTestId('decrement');
30
+ fireEvent(spinButton, 'press');
31
+ expect(handleChange).toHaveBeenCalledTimes(1);
32
+ expect(handleChange).toHaveBeenCalledWith(1);
33
+ });
34
+ it('should reach max value', () => {
35
+ const {
36
+ getByTestId
37
+ } = render(/*#__PURE__*/_jsx(NumberInput, {
38
+ defaultValue: 90,
39
+ min: 0,
40
+ max: 100,
41
+ step: 10
42
+ }));
43
+ const input = getByTestId('input');
44
+ const incrementButton = getByTestId('increment');
45
+ fireEvent(incrementButton, 'press');
46
+ expect(input.props.value).toBe('100');
47
+ });
48
+ it('should reach min value', () => {
49
+ const {
50
+ getByTestId
51
+ } = render(/*#__PURE__*/_jsx(NumberInput, {
52
+ defaultValue: 10,
53
+ min: 0,
54
+ max: 100,
55
+ step: 10
56
+ }));
57
+ const input = getByTestId('input');
58
+ const decrementButton = getByTestId('decrement');
59
+ fireEvent(decrementButton, 'press');
60
+ expect(input.props.value).toBe('0');
61
+ });
62
+ describe('prop: step', () => {
63
+ it('should be 1 by default', () => {
64
+ const {
65
+ getByTestId
66
+ } = render(/*#__PURE__*/_jsx(NumberInput, {
67
+ defaultValue: 0
68
+ }));
69
+ const input = getByTestId('input');
70
+ const incrementButton = getByTestId('increment');
71
+ fireEvent(incrementButton, 'press');
72
+ expect(input.props.value).toBe('1');
73
+ });
74
+ it('should change value by specified step', () => {
75
+ const {
76
+ getByTestId
77
+ } = render(/*#__PURE__*/_jsx(NumberInput, {
78
+ defaultValue: 10,
79
+ step: 3
80
+ }));
81
+ const input = getByTestId('input');
82
+ const decrementButton = getByTestId('decrement');
83
+ fireEvent(decrementButton, 'press');
84
+ expect(input.props.value).toBe('7');
85
+ });
86
+ it('should handle decimal step', () => {
87
+ const {
88
+ getByTestId
89
+ } = render(/*#__PURE__*/_jsx(NumberInput, {
90
+ defaultValue: 10,
91
+ step: 0.3
92
+ }));
93
+ const input = getByTestId('input');
94
+ const decrementButton = getByTestId('decrement');
95
+ fireEvent(decrementButton, 'press');
96
+ expect(input.props.value).toBe('9.7');
97
+ });
98
+ });
99
+ describe('prop: disabled', () => {
100
+ // it('should render disabled', () => {
101
+ // const { getByTestId } = render(
102
+ // <NumberInput defaultValue={10} disabled />,
103
+ // );
104
+ // const input = getByTestId('input');
105
+ // const incrementButton = getByTestId('increment');
106
+ // const decrementButton = getByTestId('decrement');
107
+ // expect(input.props.editable).toBe(false);
108
+ // expect(incrementButton.props.disabled).toBe(true);
109
+ // expect(decrementButton.props.disabled).toBe(true);
110
+ // });
111
+ // it('should not react to button clicks', () => {
112
+ // const { getByTestId } = render(
113
+ // <NumberInput defaultValue={10} disabled />,
114
+ // );
115
+ // const input = getByTestId('input');
116
+ // const incrementButton = getByTestId('increment');
117
+ // const decrementButton = getByTestId('decrement');
118
+ // fireEvent(incrementButton, 'press');
119
+ // expect(input.props.value).toBe('10');
120
+ // fireEvent(decrementButton, 'press');
121
+ // expect(input.props.value).toBe('10');
122
+ // });
123
+ });
124
+ describe('prop: width', () => {
125
+ it('should render component of specified width', () => {});
126
+ it('should handle %', () => {});
127
+ });
128
+ });
129
+ //# sourceMappingURL=NumberInput.spec.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","render","fireEvent","NumberInput","jsx","_jsx","describe","it","handleChange","jest","fn","getByTestId","onChange","defaultValue","spinButton","expect","toHaveBeenCalledTimes","toHaveBeenCalledWith","min","max","step","input","incrementButton","props","value","toBe","decrementButton"],"sourceRoot":"../../../../src","sources":["components/NumberInput/NumberInput.spec.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAASC,MAAM,EAAEC,SAAS,QAAQ,+BAA+B;AACjE,SAASC,WAAW,QAAQ,OAAO;AAAC,SAAAC,GAAA,IAAAC,IAAA;AAEpCC,QAAQ,CAAC,iBAAiB,EAAE,MAAM;EAChCC,EAAE,CAAC,yCAAyC,EAAE,MAAM;IAClD,MAAMC,YAAY,GAAGC,IAAI,CAACC,EAAE,CAAC,CAAC;IAE9B,MAAM;MAAEC;IAAY,CAAC,GAAGV,MAAM,cAC5BI,IAAA,CAACF,WAAW;MAACS,QAAQ,EAAEJ,YAAa;MAACK,YAAY,EAAE;IAAE,CAAE,CACzD,CAAC;IACD,MAAMC,UAAU,GAAGH,WAAW,CAAC,WAAW,CAAC;IAC3CT,SAAS,CAACY,UAAU,EAAE,OAAO,CAAC;IAC9BC,MAAM,CAACP,YAAY,CAAC,CAACQ,qBAAqB,CAAC,CAAC,CAAC;IAC7CD,MAAM,CAACP,YAAY,CAAC,CAACS,oBAAoB,CAAC,CAAC,CAAC;EAC9C,CAAC,CAAC;EAEFV,EAAE,CAAC,yCAAyC,EAAE,MAAM;IAClD,MAAMC,YAAY,GAAGC,IAAI,CAACC,EAAE,CAAC,CAAC;IAE9B,MAAM;MAAEC;IAAY,CAAC,GAAGV,MAAM,cAC5BI,IAAA,CAACF,WAAW;MAACS,QAAQ,EAAEJ,YAAa;MAACK,YAAY,EAAE;IAAE,CAAE,CACzD,CAAC;IACD,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K,CAAC;IACvC,CAAC,CAAC;EACJ,CAAC,CAAC;EAEFnB,QAAQ,CAAC,gBAAgB,EAAE,MAAM;IAC/B;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;IACA;EAAA,CACD,CAAC;EAEFA,QAAQ,CAAC,aAAa,EAAE,MAAM;IAC5BC,EAAE,CAAC,4CAA4C,EAAE,MAAM,CAAC,CAAC,CAAC;IAE1DA,EAAE,CAAC,iBAAiB,EAAE,MAAM,CAAC,CAAC,CAAC;EACjC,CAAC,CAAC;AACJ,CAAC,CAAC","ignoreList":[]}
@@ -0,0 +1,4 @@
1
+ "use strict";
2
+
3
+ export { default } from './NumberInput';
4
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["default"],"sourceRoot":"../../../../src","sources":["components/NumberInput/index.ts"],"mappings":";;AAAA,SAASA,OAAO,QAAQ,eAAe","ignoreList":[]}
@@ -0,0 +1,55 @@
1
+ "use strict";
2
+
3
+ import React from 'react';
4
+ import { StyleSheet, Animated } from 'react-native';
5
+ import { withTheme } from '../../core/theming';
6
+ import { Border } from '../../styles/styleElements';
7
+ import shadow from '../../styles/shadow';
8
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
9
+ export const testId = 'panel';
10
+
11
+ // TODO: common interface with styleElements/Border ?
12
+
13
+ const Panel = ({
14
+ background = 'material',
15
+ children,
16
+ elevation = 0,
17
+ invert = false,
18
+ radius = 0,
19
+ style = {},
20
+ theme,
21
+ variant = 'default',
22
+ ...rest
23
+ }) => {
24
+ const getBackgroundColor = () => {
25
+ return theme[background];
26
+ };
27
+ return (
28
+ /*#__PURE__*/
29
+ // TODO: fix this TS error
30
+ // eslint-disable-next-line @typescript-eslint/ban-ts-comment
31
+ // @ts-ignore
32
+ _jsxs(Animated.View, {
33
+ ...rest,
34
+ style: [styles.container, {
35
+ padding: variant === 'well' ? 2 : 4,
36
+ backgroundColor: getBackgroundColor(),
37
+ borderRadius: radius
38
+ }, shadow(elevation), style],
39
+ testID: testId,
40
+ children: [variant !== 'clear' && /*#__PURE__*/_jsx(Border, {
41
+ theme: theme,
42
+ variant: variant,
43
+ radius: radius,
44
+ invert: invert
45
+ }), children]
46
+ })
47
+ );
48
+ };
49
+ const styles = StyleSheet.create({
50
+ container: {
51
+ position: 'relative'
52
+ }
53
+ });
54
+ export default withTheme(Panel);
55
+ //# sourceMappingURL=Panel.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"names":["React","StyleSheet","Animated","withTheme","Border","shadow","jsx","_jsx","jsxs","_jsxs","testId","Panel","background","children","elevation","invert","radius","style","theme","variant","rest","getBackgroundColor","View","styles","container","padding","backgroundColor","borderRadius","testID","create","position"],"sourceRoot":"../../../../src","sources":["components/Panel/Panel.tsx"],"mappings":";;AAAA,OAAOA,KAAK,MAAM,OAAO;AACzB,SAAoBC,UAAU,EAAEC,QAAQ,QAAyB,cAAc;AAE/E,SAASC,SAAS,QAAQ,oBAAoB;AAC9C,SAASC,MAAM,QAAQ,4BAA4B;AACnD,OAAOC,MAAM,MAAM,qBAAqB;AAAC,SAAAC,GAAA,IAAAC,IAAA,EAAAC,IAAA,IAAAC,KAAA;AAGzC,OAAO,MAAMC,MAAM,GAAG,OAAO;;AAE7B;;AAYA,MAAMC,KAAK,GAAGA,CAAC;EACbC,UAAU,GAAG,UAAU;EACvBC,QAAQ;EACRC,SAAS,GAAG,CAAC;EACbC,MAAM,GAAG,KAAK;EACdC,MAAM,GAAG,CAAC;EACVC,KAAK,GAAG,CAAC,CAAC;EACVC,KAAK;EACLC,OAAO,GAAG,SAAS;EACnB,GAAGC;AACE,CAAC,KAAK;EACX,MAAMC,kBAAkB,GAAGA,CAAA,KAAM;IAC/B,OAAOH,KAAK,CAACN,UAAU,CAAC;EAC1B,CAAC;EAED;IAAA;IACE;IACA;IACA;IACAH,KAAA,CAACP,QAAQ,CAACoB,IAAI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