@hipay/hipay-material-ui 2.3.0-rc.PSYCHE-2530-4 → 2.3.0-rcstyleguide

Sign up to get free protection for your applications and to get access to all the features.
Files changed (357) hide show
  1. package/App.js +36 -0
  2. package/README.md +37 -267
  3. package/{HiAlertModal → components/HiAlertModal}/HiAlertModal.js +10 -10
  4. package/{es → components}/HiAlertModal/index.js +1 -1
  5. package/{HiAppBar → components/HiAppBar}/HiAppBar.js +8 -8
  6. package/{es → components}/HiAppBar/index.js +1 -1
  7. package/{HiBadge → components/HiBadge}/HiBadge.js +2 -2
  8. package/{HiBadge → components/HiBadge}/index.js +1 -1
  9. package/{es → components}/HiBreadcrumb/HiBreadcrumb.js +8 -8
  10. package/{HiBreadcrumb → components/HiBreadcrumb}/HiStep.js +9 -9
  11. package/{es → components}/HiBreadcrumb/HiStepConnector.js +10 -10
  12. package/{HiBreadcrumb → components/HiBreadcrumb}/HiStepContent.js +7 -7
  13. package/{HiBreadcrumb → components/HiBreadcrumb}/HiStepIcon.js +7 -7
  14. package/{es → components}/HiBreadcrumb/HiStepLabel.js +10 -10
  15. package/{es → components}/HiBreadcrumb/HiStepper.js +8 -8
  16. package/{es → components}/HiBreadcrumb/index.js +1 -1
  17. package/{es → components}/HiButton/HiButton.js +2 -2
  18. package/{HiButton → components/HiButton}/index.js +1 -1
  19. package/{es → components}/HiCell/CellAddress.js +7 -7
  20. package/{es → components}/HiCell/CellDate.js +8 -8
  21. package/{es → components}/HiCell/CellIcon.js +7 -7
  22. package/{es → components}/HiCell/CellImage.js +7 -7
  23. package/{HiCell → components/HiCell}/CellNumeric.js +7 -7
  24. package/{es → components}/HiCell/CellPinToAction.js +6 -6
  25. package/{es → components}/HiCell/CellRate.js +7 -7
  26. package/{es → components}/HiCell/CellSentinel.js +7 -7
  27. package/{es → components}/HiCell/CellSentinelScore.js +7 -7
  28. package/{es → components}/HiCell/CellText.js +9 -9
  29. package/{HiCell → components/HiCell}/CellTextStyled.js +1 -1
  30. package/{es → components}/HiCell/index.js +1 -1
  31. package/{HiCheckbox → components/HiCheckbox}/HiCheckbox.js +11 -11
  32. package/{es → components}/HiCheckbox/index.js +1 -1
  33. package/{HiChip → components/HiChip}/HiChip.js +3 -3
  34. package/{es → components}/HiChip/HiChipSwitch.js +10 -10
  35. package/{HiChip → components/HiChip}/index.js +1 -1
  36. package/{HiColoredLabel → components/HiColoredLabel}/HiColoredLabel.js +5 -5
  37. package/{HiColoredLabel → components/HiColoredLabel}/index.js +1 -1
  38. package/{HiDatePicker → components/HiDatePicker}/Caption.js +2 -2
  39. package/{es → components}/HiDatePicker/HiDatePicker.js +12 -12
  40. package/{es → components}/HiDatePicker/HiDatePickerMobile.js +9 -9
  41. package/{HiDatePicker → components/HiDatePicker}/HiDateRangePicker.js +11 -11
  42. package/{es → components}/HiDatePicker/HiDateRangeSelector.js +14 -34
  43. package/{HiDatePicker → components/HiDatePicker}/ListPicker.js +8 -8
  44. package/{es → components}/HiDatePicker/NavBar.js +1 -1
  45. package/{es → components}/HiDatePicker/Overlays/CustomOverlayLayout.js +4 -4
  46. package/{es → components}/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -4
  47. package/{HiDatePicker → components/HiDatePicker}/Overlays/MonthPickerOverlay.js +10 -10
  48. package/{HiDatePicker → components/HiDatePicker}/Overlays/Overlay.js +4 -4
  49. package/{HiDatePicker → components/HiDatePicker}/Overlays/TimePickerOverlay.js +11 -11
  50. package/{es → components}/HiDatePicker/Overlays/YearPickerOverlay.js +10 -10
  51. package/{es → components}/HiDatePicker/Overlays/index.js +1 -1
  52. package/{es → components}/HiDatePicker/Weekday.js +1 -1
  53. package/{es → components}/HiDatePicker/index.js +1 -1
  54. package/{HiDatePicker → components/HiDatePicker}/stylesheet.js +2 -2
  55. package/{es → components}/HiDotsStepper/HiDot.js +9 -9
  56. package/{es → components}/HiDotsStepper/HiDotsStepper.js +8 -8
  57. package/{es → components}/HiExpansionPanel/HiExpansionPanel.js +14 -38
  58. package/{es → components}/HiExpansionPanel/index.js +1 -1
  59. package/{HiForm → components/HiForm}/HiAddressField.js +10 -10
  60. package/{es → components}/HiForm/HiEmailField.js +10 -10
  61. package/{HiForm → components/HiForm}/HiFormControl.js +11 -11
  62. package/{es → components}/HiForm/HiFormLabel.js +10 -10
  63. package/{HiForm → components/HiForm}/HiInput.js +9 -9
  64. package/{HiForm → components/HiForm}/HiPasswordField.js +11 -11
  65. package/{HiForm → components/HiForm}/HiSearchField.js +10 -10
  66. package/{es → components}/HiForm/HiSlider.js +9 -9
  67. package/{HiForm → components/HiForm}/HiTextField.js +9 -9
  68. package/{es → components}/HiForm/HiUpload.js +10 -10
  69. package/{es → components}/HiForm/HiUploadField.js +9 -9
  70. package/{es → components}/HiForm/HiUploadInput.js +9 -9
  71. package/{HiForm → components/HiForm}/index.js +1 -1
  72. package/{HiIcon → components/HiIcon}/HiIcon.js +6 -5
  73. package/{es → components}/HiIcon/index.js +1 -1
  74. package/{es → components}/HiIconButton/HiIconButton.js +4 -4
  75. package/{HiIconButton → components/HiIconButton}/index.js +1 -1
  76. package/{HiLoader → components/HiLoader}/HiLoader.js +2 -2
  77. package/{es → components}/HiLoader/index.js +1 -1
  78. package/{es → components}/HiMap/HiMap.js +8 -8
  79. package/{HiMap → components/HiMap}/HiMapExpand.js +9 -9
  80. package/{es → components}/HiMap/index.js +1 -1
  81. package/{es → components}/HiNotice/HiKPI.js +13 -14
  82. package/{HiNotice → components/HiNotice}/HiKPINotice.js +1 -1
  83. package/{es → components}/HiNotice/index.js +1 -1
  84. package/{es → components}/HiPaymentMeans/HiPaymentMeans.js +8 -8
  85. package/{HiPaymentMeans → components/HiPaymentMeans}/index.js +1 -1
  86. package/{es → components}/HiPdfReader/HiPdfReader.js +10 -10
  87. package/{HiPdfReader → components/HiPdfReader}/index.js +1 -1
  88. package/{es → components}/HiPin/HiPin.js +3 -3
  89. package/{HiPin → components/HiPin}/index.js +1 -1
  90. package/{es → components}/HiRadio/HiRadio.js +1 -1
  91. package/{es → components}/HiRadio/index.js +1 -1
  92. package/{es → components}/HiSelect/HiDynamicSelect.js +12 -12
  93. package/{es → components}/HiSelect/HiDynamicSelectField.js +8 -8
  94. package/{HiSelect → components/HiSelect}/HiNestedSelect.js +12 -12
  95. package/{HiSelect → components/HiSelect}/HiNestedSelectContent.js +12 -12
  96. package/{es → components}/HiSelect/HiNestedSelectField.js +8 -8
  97. package/{HiSelect → components/HiSelect}/HiSelect.js +11 -11
  98. package/{HiSelect → components/HiSelect}/HiSelectContent.js +11 -11
  99. package/{HiSelect → components/HiSelect}/HiSelectField.js +8 -8
  100. package/{HiSelect → components/HiSelect}/HiSelectInput.js +9 -9
  101. package/{es → components}/HiSelect/HiSelectMobile.js +11 -11
  102. package/{es → components}/HiSelect/HiSuggestSelect.js +10 -10
  103. package/{HiSelect → components/HiSelect}/HiSuggestSelectField.js +8 -8
  104. package/{HiSelect → components/HiSelect}/index.js +2 -2
  105. package/{es → components}/HiSelectableList/HiSelectableList.js +11 -11
  106. package/{HiSelectableList → components/HiSelectableList}/HiSelectableListHierarchic.js +10 -10
  107. package/{es → components}/HiSelectableList/HiSelectableListItem.js +10 -10
  108. package/{es → components}/HiSelectableList/index.js +1 -1
  109. package/{HiSwitch → components/HiSwitch}/HiSwitch.js +4 -4
  110. package/{HiSwitch → components/HiSwitch}/HiSwitchState.js +2 -2
  111. package/{es → components}/HiSwitch/index.js +1 -1
  112. package/{es → components}/HiTable/HiCellBuilder.js +9 -9
  113. package/{HiTable → components/HiTable}/HiTable.js +8 -8
  114. package/{HiTable → components/HiTable}/HiTableBody.js +6 -6
  115. package/{es → components}/HiTable/HiTableHeader.js +9 -9
  116. package/{HiTable → components/HiTable}/HiTableRow.js +10 -11
  117. package/{es → components}/HiTable/constants.js +2 -2
  118. package/{HiTable → components/HiTable}/index.js +1 -1
  119. package/{es → components}/hi-svg-icons/HiAccount.js +9 -21
  120. package/{hi-svg-icons → components/hi-svg-icons}/HiActivity.js +9 -21
  121. package/{hi-svg-icons → components/hi-svg-icons}/HiAll.js +9 -21
  122. package/{hi-svg-icons → components/hi-svg-icons}/HiBilling.js +9 -21
  123. package/components/hi-svg-icons/HiBriefcaseRescue.js +27 -0
  124. package/{hi-svg-icons → components/hi-svg-icons}/HiCatalog.js +7 -22
  125. package/{hi-svg-icons → components/hi-svg-icons}/HiCustomer.js +7 -22
  126. package/components/hi-svg-icons/HiDownload.js +28 -0
  127. package/{hi-svg-icons → components/hi-svg-icons}/HiFinance.js +7 -22
  128. package/{es → components}/hi-svg-icons/HiPermission.js +7 -22
  129. package/{hi-svg-icons → components/hi-svg-icons}/HiRoute.js +7 -22
  130. package/{hi-svg-icons → components/hi-svg-icons}/HiSettlement.js +7 -22
  131. package/{hi-svg-icons → components/hi-svg-icons}/HiSizeLarge.js +3 -5
  132. package/{hi-svg-icons → components/hi-svg-icons}/HiSizeMedium.js +3 -3
  133. package/{hi-svg-icons → components/hi-svg-icons}/HiSizeSmall.js +3 -3
  134. package/{hi-svg-icons → components/hi-svg-icons}/HiTransaction.js +7 -22
  135. package/{hi-svg-icons → components/hi-svg-icons}/HiUser.js +7 -22
  136. package/{hi-svg-icons → components/hi-svg-icons}/HiWidget.js +7 -22
  137. package/{es → components}/hi-svg-icons/index.js +1 -1
  138. package/{es → components}/styles/MuiThemeProvider.js +10 -10
  139. package/{styles → components/styles}/colorManipulator.js +1 -1
  140. package/{styles → components/styles}/createBreakpoints.js +3 -3
  141. package/{styles → components/styles}/createGenerateClassName.js +1 -1
  142. package/{es → components}/styles/createMixins.js +3 -3
  143. package/{styles → components/styles}/createMuiTheme.js +3 -3
  144. package/{es → components}/styles/createPalette.js +3 -3
  145. package/{styles → components/styles}/createTypography.js +3 -3
  146. package/{es → components}/styles/getStylesCreator.js +3 -3
  147. package/{es → components}/styles/index.js +18 -2
  148. package/{es → components}/styles/jssPreset.js +1 -1
  149. package/{styles → components/styles}/mergeClasses.js +2 -2
  150. package/{styles → components/styles}/themeListener.js +2 -2
  151. package/{es → components}/styles/transitions.js +2 -2
  152. package/components/styles/withStyles.js +373 -0
  153. package/components/styles/withTheme.js +122 -0
  154. package/{test-utils → components/test-utils}/createMount.js +3 -3
  155. package/{es → components}/test-utils/createRender.js +3 -3
  156. package/{test-utils → components/test-utils}/createShallow.js +3 -3
  157. package/{test-utils → components/test-utils}/index.js +1 -1
  158. package/{test-utils → components/test-utils}/until.js +3 -3
  159. package/{utils → components/utils}/helpers.js +3 -3
  160. package/{es → components}/withMobileDialog/index.js +1 -1
  161. package/{withMobileDialog → components/withMobileDialog}/withMobileDialog.js +3 -3
  162. package/es/App.js +36 -0
  163. package/es/{HiAlertModal → components/HiAlertModal}/HiAlertModal.js +10 -10
  164. package/{HiAlertModal → es/components/HiAlertModal}/index.js +1 -1
  165. package/es/{HiAppBar → components/HiAppBar}/HiAppBar.js +8 -8
  166. package/{HiAppBar → es/components/HiAppBar}/index.js +1 -1
  167. package/es/{HiBadge → components/HiBadge}/HiBadge.js +2 -2
  168. package/es/{HiBadge → components/HiBadge}/index.js +1 -1
  169. package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiBreadcrumb.js +8 -8
  170. package/es/{HiBreadcrumb → components/HiBreadcrumb}/HiStep.js +9 -9
  171. package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiStepConnector.js +10 -10
  172. package/es/{HiBreadcrumb → components/HiBreadcrumb}/HiStepContent.js +7 -7
  173. package/es/{HiBreadcrumb → components/HiBreadcrumb}/HiStepIcon.js +7 -7
  174. package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiStepLabel.js +10 -10
  175. package/{HiBreadcrumb → es/components/HiBreadcrumb}/HiStepper.js +8 -8
  176. package/{HiBreadcrumb → es/components/HiBreadcrumb}/index.js +1 -1
  177. package/{HiButton → es/components/HiButton}/HiButton.js +2 -2
  178. package/es/{HiButton → components/HiButton}/index.js +1 -1
  179. package/{HiCell → es/components/HiCell}/CellAddress.js +7 -7
  180. package/{HiCell → es/components/HiCell}/CellDate.js +8 -8
  181. package/{HiCell → es/components/HiCell}/CellIcon.js +7 -7
  182. package/{HiCell → es/components/HiCell}/CellImage.js +7 -7
  183. package/es/{HiCell → components/HiCell}/CellNumeric.js +7 -7
  184. package/{HiCell → es/components/HiCell}/CellPinToAction.js +6 -6
  185. package/{HiCell → es/components/HiCell}/CellRate.js +7 -7
  186. package/{HiCell → es/components/HiCell}/CellSentinel.js +7 -7
  187. package/{HiCell → es/components/HiCell}/CellSentinelScore.js +7 -7
  188. package/{HiCell → es/components/HiCell}/CellText.js +9 -9
  189. package/es/{HiCell → components/HiCell}/CellTextStyled.js +1 -1
  190. package/{HiCell → es/components/HiCell}/index.js +1 -1
  191. package/es/{HiCheckbox → components/HiCheckbox}/HiCheckbox.js +11 -11
  192. package/{HiCheckbox → es/components/HiCheckbox}/index.js +1 -1
  193. package/es/{HiChip → components/HiChip}/HiChip.js +3 -3
  194. package/{HiChip → es/components/HiChip}/HiChipSwitch.js +10 -10
  195. package/es/{HiChip → components/HiChip}/index.js +1 -1
  196. package/es/{HiColoredLabel → components/HiColoredLabel}/HiColoredLabel.js +5 -5
  197. package/es/{HiColoredLabel → components/HiColoredLabel}/index.js +1 -1
  198. package/es/{HiDatePicker → components/HiDatePicker}/Caption.js +2 -2
  199. package/{HiDatePicker → es/components/HiDatePicker}/HiDatePicker.js +12 -12
  200. package/{HiDatePicker → es/components/HiDatePicker}/HiDatePickerMobile.js +9 -9
  201. package/es/{HiDatePicker → components/HiDatePicker}/HiDateRangePicker.js +11 -11
  202. package/{HiDatePicker → es/components/HiDatePicker}/HiDateRangeSelector.js +14 -34
  203. package/es/{HiDatePicker → components/HiDatePicker}/ListPicker.js +8 -8
  204. package/{HiDatePicker → es/components/HiDatePicker}/NavBar.js +1 -1
  205. package/{HiDatePicker → es/components/HiDatePicker}/Overlays/CustomOverlayLayout.js +4 -4
  206. package/{HiDatePicker → es/components/HiDatePicker}/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -4
  207. package/es/{HiDatePicker → components/HiDatePicker}/Overlays/MonthPickerOverlay.js +10 -10
  208. package/es/{HiDatePicker → components/HiDatePicker}/Overlays/Overlay.js +4 -4
  209. package/es/{HiDatePicker → components/HiDatePicker}/Overlays/TimePickerOverlay.js +11 -11
  210. package/{HiDatePicker → es/components/HiDatePicker}/Overlays/YearPickerOverlay.js +10 -10
  211. package/{HiDatePicker → es/components/HiDatePicker}/Overlays/index.js +1 -1
  212. package/{HiDatePicker → es/components/HiDatePicker}/Weekday.js +1 -1
  213. package/{HiDatePicker → es/components/HiDatePicker}/index.js +1 -1
  214. package/es/{HiDatePicker → components/HiDatePicker}/stylesheet.js +2 -2
  215. package/{HiDotsStepper → es/components/HiDotsStepper}/HiDot.js +9 -9
  216. package/{HiDotsStepper → es/components/HiDotsStepper}/HiDotsStepper.js +8 -8
  217. package/{HiExpansionPanel → es/components/HiExpansionPanel}/HiExpansionPanel.js +14 -38
  218. package/{HiExpansionPanel → es/components/HiExpansionPanel}/index.js +1 -1
  219. package/es/{HiForm → components/HiForm}/HiAddressField.js +10 -10
  220. package/{HiForm → es/components/HiForm}/HiEmailField.js +10 -10
  221. package/es/{HiForm → components/HiForm}/HiFormControl.js +11 -11
  222. package/{HiForm → es/components/HiForm}/HiFormLabel.js +10 -10
  223. package/es/{HiForm → components/HiForm}/HiInput.js +9 -9
  224. package/es/{HiForm → components/HiForm}/HiPasswordField.js +11 -11
  225. package/es/{HiForm → components/HiForm}/HiSearchField.js +10 -10
  226. package/{HiForm → es/components/HiForm}/HiSlider.js +9 -9
  227. package/es/{HiForm → components/HiForm}/HiTextField.js +9 -9
  228. package/{HiForm → es/components/HiForm}/HiUpload.js +10 -10
  229. package/{HiForm → es/components/HiForm}/HiUploadField.js +9 -9
  230. package/{HiForm → es/components/HiForm}/HiUploadInput.js +9 -9
  231. package/es/{HiForm → components/HiForm}/index.js +1 -1
  232. package/es/{HiIcon → components/HiIcon}/HiIcon.js +6 -5
  233. package/{HiIcon → es/components/HiIcon}/index.js +1 -1
  234. package/{HiIconButton → es/components/HiIconButton}/HiIconButton.js +4 -4
  235. package/es/{HiIconButton → components/HiIconButton}/index.js +1 -1
  236. package/es/{HiLoader → components/HiLoader}/HiLoader.js +2 -2
  237. package/{HiLoader → es/components/HiLoader}/index.js +1 -1
  238. package/{HiMap → es/components/HiMap}/HiMap.js +8 -8
  239. package/es/{HiMap → components/HiMap}/HiMapExpand.js +9 -9
  240. package/{HiMap → es/components/HiMap}/index.js +1 -1
  241. package/{HiNotice → es/components/HiNotice}/HiKPI.js +13 -14
  242. package/es/{HiNotice → components/HiNotice}/HiKPINotice.js +1 -1
  243. package/{HiNotice → es/components/HiNotice}/index.js +1 -1
  244. package/{HiPaymentMeans → es/components/HiPaymentMeans}/HiPaymentMeans.js +8 -8
  245. package/es/{HiPaymentMeans → components/HiPaymentMeans}/index.js +1 -1
  246. package/{HiPdfReader → es/components/HiPdfReader}/HiPdfReader.js +10 -10
  247. package/es/{HiPdfReader → components/HiPdfReader}/index.js +1 -1
  248. package/{HiPin → es/components/HiPin}/HiPin.js +3 -3
  249. package/es/{HiPin → components/HiPin}/index.js +1 -1
  250. package/{HiRadio → es/components/HiRadio}/HiRadio.js +1 -1
  251. package/{HiRadio → es/components/HiRadio}/index.js +1 -1
  252. package/{HiSelect → es/components/HiSelect}/HiDynamicSelect.js +12 -12
  253. package/{HiSelect → es/components/HiSelect}/HiDynamicSelectField.js +8 -8
  254. package/es/{HiSelect → components/HiSelect}/HiNestedSelect.js +12 -12
  255. package/es/{HiSelect → components/HiSelect}/HiNestedSelectContent.js +12 -12
  256. package/{HiSelect → es/components/HiSelect}/HiNestedSelectField.js +8 -8
  257. package/es/{HiSelect → components/HiSelect}/HiSelect.js +11 -11
  258. package/es/{HiSelect → components/HiSelect}/HiSelectContent.js +11 -11
  259. package/es/{HiSelect → components/HiSelect}/HiSelectField.js +8 -8
  260. package/es/{HiSelect → components/HiSelect}/HiSelectInput.js +9 -9
  261. package/{HiSelect → es/components/HiSelect}/HiSelectMobile.js +11 -11
  262. package/{HiSelect → es/components/HiSelect}/HiSuggestSelect.js +10 -10
  263. package/es/{HiSelect → components/HiSelect}/HiSuggestSelectField.js +8 -8
  264. package/es/{HiSelect → components/HiSelect}/index.js +2 -2
  265. package/{HiSelectableList → es/components/HiSelectableList}/HiSelectableList.js +11 -11
  266. package/es/{HiSelectableList → components/HiSelectableList}/HiSelectableListHierarchic.js +10 -10
  267. package/{HiSelectableList → es/components/HiSelectableList}/HiSelectableListItem.js +10 -10
  268. package/{HiSelectableList → es/components/HiSelectableList}/index.js +1 -1
  269. package/es/{HiSwitch → components/HiSwitch}/HiSwitch.js +4 -4
  270. package/es/{HiSwitch → components/HiSwitch}/HiSwitchState.js +2 -2
  271. package/{HiSwitch → es/components/HiSwitch}/index.js +1 -1
  272. package/{HiTable → es/components/HiTable}/HiCellBuilder.js +9 -9
  273. package/es/{HiTable → components/HiTable}/HiTable.js +8 -8
  274. package/es/{HiTable → components/HiTable}/HiTableBody.js +6 -6
  275. package/{HiTable → es/components/HiTable}/HiTableHeader.js +9 -9
  276. package/es/{HiTable → components/HiTable}/HiTableRow.js +10 -11
  277. package/{HiTable → es/components/HiTable}/constants.js +2 -2
  278. package/es/{HiTable → components/HiTable}/index.js +1 -1
  279. package/{hi-svg-icons → es/components/hi-svg-icons}/HiAccount.js +9 -21
  280. package/es/{hi-svg-icons → components/hi-svg-icons}/HiActivity.js +9 -21
  281. package/es/{hi-svg-icons → components/hi-svg-icons}/HiAll.js +9 -21
  282. package/es/{hi-svg-icons → components/hi-svg-icons}/HiBilling.js +9 -21
  283. package/es/components/hi-svg-icons/HiBriefcaseRescue.js +27 -0
  284. package/es/{hi-svg-icons → components/hi-svg-icons}/HiCatalog.js +7 -22
  285. package/es/{hi-svg-icons → components/hi-svg-icons}/HiCustomer.js +7 -22
  286. package/es/components/hi-svg-icons/HiDownload.js +28 -0
  287. package/es/{hi-svg-icons → components/hi-svg-icons}/HiFinance.js +7 -22
  288. package/{hi-svg-icons → es/components/hi-svg-icons}/HiPermission.js +7 -22
  289. package/es/{hi-svg-icons → components/hi-svg-icons}/HiRoute.js +7 -22
  290. package/es/{hi-svg-icons → components/hi-svg-icons}/HiSettlement.js +7 -22
  291. package/es/{hi-svg-icons → components/hi-svg-icons}/HiSizeLarge.js +3 -5
  292. package/es/{hi-svg-icons → components/hi-svg-icons}/HiSizeMedium.js +3 -3
  293. package/es/{hi-svg-icons → components/hi-svg-icons}/HiSizeSmall.js +3 -3
  294. package/es/{hi-svg-icons → components/hi-svg-icons}/HiTransaction.js +7 -22
  295. package/es/{hi-svg-icons → components/hi-svg-icons}/HiUser.js +7 -22
  296. package/es/{hi-svg-icons → components/hi-svg-icons}/HiWidget.js +7 -22
  297. package/{hi-svg-icons → es/components/hi-svg-icons}/index.js +1 -1
  298. package/{styles → es/components/styles}/MuiThemeProvider.js +10 -10
  299. package/es/{styles → components/styles}/colorManipulator.js +1 -1
  300. package/es/{styles → components/styles}/createBreakpoints.js +3 -3
  301. package/es/{styles → components/styles}/createGenerateClassName.js +1 -1
  302. package/{styles → es/components/styles}/createMixins.js +3 -3
  303. package/es/{styles → components/styles}/createMuiTheme.js +3 -3
  304. package/{styles → es/components/styles}/createPalette.js +3 -3
  305. package/es/{styles → components/styles}/createTypography.js +3 -3
  306. package/{styles → es/components/styles}/getStylesCreator.js +3 -3
  307. package/{styles → es/components/styles}/index.js +18 -2
  308. package/{styles → es/components/styles}/jssPreset.js +1 -1
  309. package/es/{styles → components/styles}/mergeClasses.js +2 -2
  310. package/es/{styles → components/styles}/themeListener.js +2 -2
  311. package/{styles → es/components/styles}/transitions.js +2 -2
  312. package/es/components/styles/withStyles.js +373 -0
  313. package/es/components/styles/withTheme.js +122 -0
  314. package/es/{test-utils → components/test-utils}/createMount.js +3 -3
  315. package/{test-utils → es/components/test-utils}/createRender.js +3 -3
  316. package/es/{test-utils → components/test-utils}/createShallow.js +3 -3
  317. package/es/{test-utils → components/test-utils}/index.js +1 -1
  318. package/es/{test-utils → components/test-utils}/until.js +3 -3
  319. package/es/{utils → components/utils}/helpers.js +3 -3
  320. package/{withMobileDialog → es/components/withMobileDialog}/index.js +1 -1
  321. package/es/{withMobileDialog → components/withMobileDialog}/withMobileDialog.js +3 -3
  322. package/es/index.js +22 -0
  323. package/es/serviceWorker.js +118 -0
  324. package/es/styleguide/Wrapper.js +7 -7
  325. package/index.es.js +22 -0
  326. package/index.js +32 -0
  327. package/package.json +14 -6
  328. package/serviceWorker.js +118 -0
  329. package/styleguide/Wrapper.js +7 -7
  330. package/HiDotsStepper/index.js +0 -23
  331. package/es/HiDotsStepper/index.js +0 -23
  332. package/es/hi-svg-icons/HiBriefcaseRescue.js +0 -39
  333. package/es/hi-svg-icons/HiDownload.js +0 -36
  334. package/es/hi-svg-icons/index.text.js +0 -51
  335. package/hi-svg-icons/HiBriefcaseRescue.js +0 -39
  336. package/hi-svg-icons/HiDownload.js +0 -36
  337. package/hi-svg-icons/index.text.js +0 -51
  338. /package/{HiDatePicker → components/HiDatePicker}/hiLocaleUtils.js +0 -0
  339. /package/{es → components}/styles/createStyles.js +0 -0
  340. /package/{es → components}/styles/getThemeProps.js +0 -0
  341. /package/{es → components}/styles/shadows.js +0 -0
  342. /package/{es → components}/styles/shape.js +0 -0
  343. /package/{es → components}/styles/spacing.js +0 -0
  344. /package/{es → components}/styles/zIndex.js +0 -0
  345. /package/{es → components}/test-utils/getClasses.js +0 -0
  346. /package/{es → components}/test-utils/unwrap.js +0 -0
  347. /package/{es → components}/transitions/utils.js +0 -0
  348. /package/es/{HiDatePicker → components/HiDatePicker}/hiLocaleUtils.js +0 -0
  349. /package/{styles → es/components/styles}/createStyles.js +0 -0
  350. /package/{styles → es/components/styles}/getThemeProps.js +0 -0
  351. /package/{styles → es/components/styles}/shadows.js +0 -0
  352. /package/{styles → es/components/styles}/shape.js +0 -0
  353. /package/{styles → es/components/styles}/spacing.js +0 -0
  354. /package/{styles → es/components/styles}/zIndex.js +0 -0
  355. /package/{test-utils → es/components/test-utils}/getClasses.js +0 -0
  356. /package/{test-utils → es/components/test-utils}/unwrap.js +0 -0
  357. /package/{transitions → es/components/transitions}/utils.js +0 -0
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.register = register;
7
+ exports.unregister = unregister;
8
+ // This optional code is used to register a service worker.
9
+ // register() is not called by default.
10
+ // This lets the app load faster on subsequent visits in production, and gives
11
+ // it offline capabilities. However, it also means that developers (and users)
12
+ // will only see deployed updates on subsequent visits to a page, after all the
13
+ // existing tabs open on the page have been closed, since previously cached
14
+ // resources are updated in the background.
15
+ // To learn more about the benefits of this model and instructions on how to
16
+ // opt-in, read https://bit.ly/CRA-PWA
17
+ var isLocalhost = Boolean(window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address.
18
+ window.location.hostname === '[::1]' || // 127.0.0.1/8 is considered localhost for IPv4.
19
+ window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));
20
+
21
+ function register(config) {
22
+ if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
23
+ // The URL constructor is available in all browsers that support SW.
24
+ var publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
25
+
26
+ if (publicUrl.origin !== window.location.origin) {
27
+ // Our service worker won't work if PUBLIC_URL is on a different origin
28
+ // from what our page is served on. This might happen if a CDN is used to
29
+ // serve assets; see https://github.com/facebook/create-react-app/issues/2374
30
+ return;
31
+ }
32
+
33
+ window.addEventListener('load', function () {
34
+ var swUrl = "".concat(process.env.PUBLIC_URL, "/service-worker.js");
35
+
36
+ if (isLocalhost) {
37
+ // This is running on localhost. Let's check if a service worker still exists or not.
38
+ checkValidServiceWorker(swUrl, config); // Add some additional logging to localhost, pointing developers to the
39
+ // service worker/PWA documentation.
40
+
41
+ navigator.serviceWorker.ready.then(function () {
42
+ console.log('This web app is being served cache-first by a service ' + 'worker. To learn more, visit https://bit.ly/CRA-PWA');
43
+ });
44
+ } else {
45
+ // Is not localhost. Just register service worker
46
+ registerValidSW(swUrl, config);
47
+ }
48
+ });
49
+ }
50
+ }
51
+
52
+ function registerValidSW(swUrl, config) {
53
+ navigator.serviceWorker.register(swUrl).then(function (registration) {
54
+ registration.onupdatefound = function () {
55
+ var installingWorker = registration.installing;
56
+
57
+ if (installingWorker == null) {
58
+ return;
59
+ }
60
+
61
+ installingWorker.onstatechange = function () {
62
+ if (installingWorker.state === 'installed') {
63
+ if (navigator.serviceWorker.controller) {
64
+ // At this point, the updated precached content has been fetched,
65
+ // but the previous service worker will still serve the older
66
+ // content until all client tabs are closed.
67
+ console.log('New content is available and will be used when all ' + 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'); // Execute callback
68
+
69
+ if (config && config.onUpdate) {
70
+ config.onUpdate(registration);
71
+ }
72
+ } else {
73
+ // At this point, everything has been precached.
74
+ // It's the perfect time to display a
75
+ // "Content is cached for offline use." message.
76
+ console.log('Content is cached for offline use.'); // Execute callback
77
+
78
+ if (config && config.onSuccess) {
79
+ config.onSuccess(registration);
80
+ }
81
+ }
82
+ }
83
+ };
84
+ };
85
+ }).catch(function (error) {
86
+ console.error('Error during service worker registration:', error);
87
+ });
88
+ }
89
+
90
+ function checkValidServiceWorker(swUrl, config) {
91
+ // Check if the service worker can be found. If it can't reload the page.
92
+ fetch(swUrl).then(function (response) {
93
+ // Ensure service worker exists, and that we really are getting a JS file.
94
+ var contentType = response.headers.get('content-type');
95
+
96
+ if (response.status === 404 || contentType != null && contentType.indexOf('javascript') === -1) {
97
+ // No service worker found. Probably a different app. Reload the page.
98
+ navigator.serviceWorker.ready.then(function (registration) {
99
+ registration.unregister().then(function () {
100
+ window.location.reload();
101
+ });
102
+ });
103
+ } else {
104
+ // Service worker found. Proceed as normal.
105
+ registerValidSW(swUrl, config);
106
+ }
107
+ }).catch(function () {
108
+ console.log('No internet connection found. App is running in offline mode.');
109
+ });
110
+ }
111
+
112
+ function unregister() {
113
+ if ('serviceWorker' in navigator) {
114
+ navigator.serviceWorker.ready.then(function (registration) {
115
+ registration.unregister();
116
+ });
117
+ }
118
+ }
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
3
+ var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
4
4
 
5
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
5
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
6
6
 
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
10
  exports.default = void 0;
11
11
 
12
- var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
12
+ var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
13
13
 
14
- var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
14
+ var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
15
15
 
16
- var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
16
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
17
17
 
18
- var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
18
+ var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
19
19
 
20
- var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
20
+ var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
21
21
 
22
22
  var _react = _interopRequireWildcard(require("react"));
23
23
 
package/index.es.js ADDED
@@ -0,0 +1,22 @@
1
+ "use strict";
2
+
3
+ var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
4
+
5
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
6
+
7
+ var _react = _interopRequireDefault(require("react"));
8
+
9
+ var _reactDom = _interopRequireDefault(require("react-dom"));
10
+
11
+ require("./index.css");
12
+
13
+ var _App = _interopRequireDefault(require("./App"));
14
+
15
+ var serviceWorker = _interopRequireWildcard(require("./serviceWorker"));
16
+
17
+ _reactDom.default.render(_react.default.createElement(_App.default, null), document.getElementById('root')); // If you want your app to work offline and load faster, you can change
18
+ // unregister() to register() below. Note this comes with some pitfalls.
19
+ // Learn more about service workers: https://bit.ly/CRA-PWA
20
+
21
+
22
+ serviceWorker.unregister();
package/index.js ADDED
@@ -0,0 +1,32 @@
1
+ /** @license Material-UI v2.3.0-rcstyleguide
2
+ *
3
+ * This source code is licensed under the MIT license found in the
4
+ * LICENSE file in the root directory of this source tree.
5
+ */
6
+ /** @license Material-UI v0.1.0
7
+ *
8
+ * This source code is licensed under the MIT license found in the
9
+ * LICENSE file in the root directory of this source tree.
10
+ */
11
+ "use strict";
12
+
13
+ var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
14
+
15
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
16
+
17
+ var _react = _interopRequireDefault(require("react"));
18
+
19
+ var _reactDom = _interopRequireDefault(require("react-dom"));
20
+
21
+ require("./index.css");
22
+
23
+ var _App = _interopRequireDefault(require("./App"));
24
+
25
+ var serviceWorker = _interopRequireWildcard(require("./serviceWorker"));
26
+
27
+ _reactDom.default.render(_react.default.createElement(_App.default, null), document.getElementById('root')); // If you want your app to work offline and load faster, you can change
28
+ // unregister() to register() below. Note this comes with some pitfalls.
29
+ // Learn more about service workers: https://bit.ly/CRA-PWA
30
+
31
+
32
+ serviceWorker.unregister();
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hipay/hipay-material-ui",
3
3
  "private": false,
4
- "version": "2.3.0-rc.PSYCHE-2530-4",
4
+ "version": "2.3.0-rcstyleguide",
5
5
  "description": "React components that implement Google's Material Design.",
6
6
  "repository": {
7
7
  "type": "git",
@@ -12,11 +12,14 @@
12
12
  "url": "https://gitlab.hipay.org/backend/hipay-material-ui/issues"
13
13
  },
14
14
  "homepage": "http://materialui.hipay.dev.local/",
15
- "dependencies": {
15
+ "peerDependencies": {
16
16
  "react": "16.9.0",
17
- "react-dom": "16.9.0",
18
- "@material-ui/core": "4.4.3",
19
- "@material-ui/icons": "4.4.3",
17
+ "react-dom": "16.9.0"
18
+ },
19
+ "dependencies": {
20
+ "@material-ui/core": "4.5.1",
21
+ "@material-ui/icons": "4.5.1",
22
+ "@material-ui/styles": "4.5.0",
20
23
  "classnames": "2.2.6",
21
24
  "cross-env": "^6.0.3",
22
25
  "keycode": "2.2.0",
@@ -32,10 +35,14 @@
32
35
  "react-lazyload": "2.6.2",
33
36
  "react-leaflet": "2.5.0",
34
37
  "react-pdf": "4.1.0",
38
+ "react-scripts": "3.0.1",
35
39
  "react-spinners": "0.6.1",
36
40
  "recompose": "0.30.0",
37
41
  "validator": "10.7.1"
38
42
  },
43
+ "eslintConfig": {
44
+ "extends": "react-app"
45
+ },
39
46
  "browserslist": {
40
47
  "production": [
41
48
  ">0.2%",
@@ -53,5 +60,6 @@
53
60
  "node": ">=6.0.0"
54
61
  },
55
62
  "main": "./index.js",
56
- "module": "./esm/index.js"
63
+ "module": "./esm/index.js",
64
+ "typings": "./index.d.ts"
57
65
  }
@@ -0,0 +1,118 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: true
5
+ });
6
+ exports.register = register;
7
+ exports.unregister = unregister;
8
+ // This optional code is used to register a service worker.
9
+ // register() is not called by default.
10
+ // This lets the app load faster on subsequent visits in production, and gives
11
+ // it offline capabilities. However, it also means that developers (and users)
12
+ // will only see deployed updates on subsequent visits to a page, after all the
13
+ // existing tabs open on the page have been closed, since previously cached
14
+ // resources are updated in the background.
15
+ // To learn more about the benefits of this model and instructions on how to
16
+ // opt-in, read https://bit.ly/CRA-PWA
17
+ var isLocalhost = Boolean(window.location.hostname === 'localhost' || // [::1] is the IPv6 localhost address.
18
+ window.location.hostname === '[::1]' || // 127.0.0.1/8 is considered localhost for IPv4.
19
+ window.location.hostname.match(/^127(?:\.(?:25[0-5]|2[0-4][0-9]|[01]?[0-9][0-9]?)){3}$/));
20
+
21
+ function register(config) {
22
+ if (process.env.NODE_ENV === 'production' && 'serviceWorker' in navigator) {
23
+ // The URL constructor is available in all browsers that support SW.
24
+ var publicUrl = new URL(process.env.PUBLIC_URL, window.location.href);
25
+
26
+ if (publicUrl.origin !== window.location.origin) {
27
+ // Our service worker won't work if PUBLIC_URL is on a different origin
28
+ // from what our page is served on. This might happen if a CDN is used to
29
+ // serve assets; see https://github.com/facebook/create-react-app/issues/2374
30
+ return;
31
+ }
32
+
33
+ window.addEventListener('load', function () {
34
+ var swUrl = "".concat(process.env.PUBLIC_URL, "/service-worker.js");
35
+
36
+ if (isLocalhost) {
37
+ // This is running on localhost. Let's check if a service worker still exists or not.
38
+ checkValidServiceWorker(swUrl, config); // Add some additional logging to localhost, pointing developers to the
39
+ // service worker/PWA documentation.
40
+
41
+ navigator.serviceWorker.ready.then(function () {
42
+ console.log('This web app is being served cache-first by a service ' + 'worker. To learn more, visit https://bit.ly/CRA-PWA');
43
+ });
44
+ } else {
45
+ // Is not localhost. Just register service worker
46
+ registerValidSW(swUrl, config);
47
+ }
48
+ });
49
+ }
50
+ }
51
+
52
+ function registerValidSW(swUrl, config) {
53
+ navigator.serviceWorker.register(swUrl).then(function (registration) {
54
+ registration.onupdatefound = function () {
55
+ var installingWorker = registration.installing;
56
+
57
+ if (installingWorker == null) {
58
+ return;
59
+ }
60
+
61
+ installingWorker.onstatechange = function () {
62
+ if (installingWorker.state === 'installed') {
63
+ if (navigator.serviceWorker.controller) {
64
+ // At this point, the updated precached content has been fetched,
65
+ // but the previous service worker will still serve the older
66
+ // content until all client tabs are closed.
67
+ console.log('New content is available and will be used when all ' + 'tabs for this page are closed. See https://bit.ly/CRA-PWA.'); // Execute callback
68
+
69
+ if (config && config.onUpdate) {
70
+ config.onUpdate(registration);
71
+ }
72
+ } else {
73
+ // At this point, everything has been precached.
74
+ // It's the perfect time to display a
75
+ // "Content is cached for offline use." message.
76
+ console.log('Content is cached for offline use.'); // Execute callback
77
+
78
+ if (config && config.onSuccess) {
79
+ config.onSuccess(registration);
80
+ }
81
+ }
82
+ }
83
+ };
84
+ };
85
+ }).catch(function (error) {
86
+ console.error('Error during service worker registration:', error);
87
+ });
88
+ }
89
+
90
+ function checkValidServiceWorker(swUrl, config) {
91
+ // Check if the service worker can be found. If it can't reload the page.
92
+ fetch(swUrl).then(function (response) {
93
+ // Ensure service worker exists, and that we really are getting a JS file.
94
+ var contentType = response.headers.get('content-type');
95
+
96
+ if (response.status === 404 || contentType != null && contentType.indexOf('javascript') === -1) {
97
+ // No service worker found. Probably a different app. Reload the page.
98
+ navigator.serviceWorker.ready.then(function (registration) {
99
+ registration.unregister().then(function () {
100
+ window.location.reload();
101
+ });
102
+ });
103
+ } else {
104
+ // Service worker found. Proceed as normal.
105
+ registerValidSW(swUrl, config);
106
+ }
107
+ }).catch(function () {
108
+ console.log('No internet connection found. App is running in offline mode.');
109
+ });
110
+ }
111
+
112
+ function unregister() {
113
+ if ('serviceWorker' in navigator) {
114
+ navigator.serviceWorker.ready.then(function (registration) {
115
+ registration.unregister();
116
+ });
117
+ }
118
+ }
@@ -1,23 +1,23 @@
1
1
  "use strict";
2
2
 
3
- var _interopRequireWildcard = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
3
+ var _interopRequireWildcard = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireWildcard");
4
4
 
5
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
5
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
6
6
 
7
7
  Object.defineProperty(exports, "__esModule", {
8
8
  value: true
9
9
  });
10
10
  exports.default = void 0;
11
11
 
12
- var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
12
+ var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
13
13
 
14
- var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
14
+ var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
15
15
 
16
- var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
16
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
17
17
 
18
- var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
18
+ var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
19
19
 
20
- var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
20
+ var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
21
21
 
22
22
  var _react = _interopRequireWildcard(require("react"));
23
23
 
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- Object.defineProperty(exports, "HiDot", {
9
- enumerable: true,
10
- get: function get() {
11
- return _HiDot.default;
12
- }
13
- });
14
- Object.defineProperty(exports, "HiDotsStepper", {
15
- enumerable: true,
16
- get: function get() {
17
- return _HiDotsStepper.default;
18
- }
19
- });
20
-
21
- var _HiDot = _interopRequireDefault(require("./HiDot"));
22
-
23
- var _HiDotsStepper = _interopRequireDefault(require("./HiDotsStepper"));
@@ -1,23 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- Object.defineProperty(exports, "HiDot", {
9
- enumerable: true,
10
- get: function get() {
11
- return _HiDot.default;
12
- }
13
- });
14
- Object.defineProperty(exports, "HiDotsStepper", {
15
- enumerable: true,
16
- get: function get() {
17
- return _HiDotsStepper.default;
18
- }
19
- });
20
-
21
- var _HiDot = _interopRequireDefault(require("./HiDot"));
22
-
23
- var _HiDotsStepper = _interopRequireDefault(require("./HiDotsStepper"));
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
11
-
12
- var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
13
-
14
- var _react = _interopRequireDefault(require("react"));
15
-
16
- var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
17
-
18
- var _index = require("@material-ui/core/styles/index");
19
-
20
- var HiBriefcaseRescue = function HiBriefcaseRescue(props) {
21
- return _react.default.createElement(_Icon.default, {
22
- style: (0, _objectSpread2.default)({}, props.style, {
23
- fontSize: props.size || 24
24
- })
25
- }, _react.default.createElement("svg", (0, _extends2.default)({
26
- viewBox: "0 0 540 486"
27
- }, props), _react.default.createElement("path", {
28
- // eslint-disable-next-line max-len
29
- d: "M486 108H378V27a27 27 0 0 0-27-27H189a27 27 0 0 0-27 27v81H54a54.06 54.06 0 0 0-54 54v270a54.06 54.06 0 0 0 54 54h432a54.06 54.06 0 0 0 54-54V162a54.06 54.06 0 0 0-54-54zM216 54h108v54H216zm162 270h-81v81h-54v-81h-81v-54h81v-81h54v81h81z",
30
- fill: props.color || props.theme.palette.neutral.main
31
- })));
32
- };
33
-
34
- var _default = (0, _index.withStyles)({}, {
35
- hiComponent: true,
36
- withTheme: true
37
- })(HiBriefcaseRescue);
38
-
39
- exports.default = _default;
@@ -1,36 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
11
-
12
- var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
13
-
14
- var _objectWithoutProperties2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties"));
15
-
16
- var _react = _interopRequireDefault(require("react"));
17
-
18
- var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
19
-
20
- var HiDownload = function HiDownload(props) {
21
- var color = props.color,
22
- other = (0, _objectWithoutProperties2.default)(props, ["color"]);
23
- return _react.default.createElement(_Icon.default, {
24
- style: (0, _objectSpread2.default)({}, props.style, {
25
- fontSize: props.size || 24
26
- })
27
- }, _react.default.createElement("svg", (0, _extends2.default)({
28
- viewBox: "0 0 500 500"
29
- }, other), _react.default.createElement("path", {
30
- fill: color,
31
- d: "M250 0C111.94 0 0 111.94 0 250s111.92 250 250 250 250-111.92 250-250S388.06 0 250 0zm-44.18 210.14V114.8h88.37v95.34h58.68L250 321.14l-102.87-111zM352.87 385.2H147.13v-32h205.74z"
32
- })));
33
- };
34
-
35
- var _default = HiDownload;
36
- exports.default = _default;
@@ -1,51 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
-
5
- var _fs = _interopRequireDefault(require("fs"));
6
-
7
- var _path = _interopRequireDefault(require("path"));
8
-
9
- var _react = _interopRequireDefault(require("react"));
10
-
11
- var _chai = require("chai");
12
-
13
- var _testUtils = require("../test-utils");
14
-
15
- describe('hi-svg-icons', function () {
16
- var shallow;
17
- before(function () {
18
- shallow = (0, _testUtils.createShallow)();
19
- });
20
- it('should be able to render all of them', function (done) {
21
- // This test can only be run on the node env
22
- if (!_fs.default.readdir) {
23
- done();
24
- return;
25
- }
26
-
27
- _fs.default.readdir(__dirname, function (err, files) {
28
- files.forEach(function (file) {
29
- // Ignore no js files and tests
30
- if (file.indexOf('.js') === -1 || file.indexOf('text.js') > -1) {
31
- return;
32
- } // eslint-disable-next-line global-require, import/no-dynamic-require
33
-
34
-
35
- var fileLoaded = require(_path.default.join(__dirname, file));
36
-
37
- if (!fileLoaded.default) {
38
- return;
39
- }
40
-
41
- var Icon = fileLoaded.default;
42
- var wrapper = shallow(_react.default.createElement(Icon, {
43
- className: "foo"
44
- }));
45
-
46
- _chai.assert.strictEqual(wrapper.hasClass('foo'), true);
47
- });
48
- done();
49
- });
50
- });
51
- });
@@ -1,39 +0,0 @@
1
- "use strict";
2
-
3
- var _interopRequireDefault = require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/interopRequireDefault");
4
-
5
- Object.defineProperty(exports, "__esModule", {
6
- value: true
7
- });
8
- exports.default = void 0;
9
-
10
- var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
11
-
12
- var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hipay-material-ui/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
13
-
14
- var _react = _interopRequireDefault(require("react"));
15
-
16
- var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
17
-
18
- var _index = require("@material-ui/core/styles/index");
19
-
20
- var HiBriefcaseRescue = function HiBriefcaseRescue(props) {
21
- return _react.default.createElement(_Icon.default, {
22
- style: (0, _objectSpread2.default)({}, props.style, {
23
- fontSize: props.size || 24
24
- })
25
- }, _react.default.createElement("svg", (0, _extends2.default)({
26
- viewBox: "0 0 540 486"
27
- }, props), _react.default.createElement("path", {
28
- // eslint-disable-next-line max-len
29
- d: "M486 108H378V27a27 27 0 0 0-27-27H189a27 27 0 0 0-27 27v81H54a54.06 54.06 0 0 0-54 54v270a54.06 54.06 0 0 0 54 54h432a54.06 54.06 0 0 0 54-54V162a54.06 54.06 0 0 0-54-54zM216 54h108v54H216zm162 270h-81v81h-54v-81h-81v-54h81v-81h54v81h81z",
30
- fill: props.color || props.theme.palette.neutral.main
31
- })));
32
- };
33
-
34
- var _default = (0, _index.withStyles)({}, {
35
- hiComponent: true,
36
- withTheme: true
37
- })(HiBriefcaseRescue);
38
-
39
- exports.default = _default;