@hipay/hipay-material-ui 2.3.0-rcstyleguide-beta3 → 2.3.0-rcstyleguide-beta4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (681) hide show
  1. package/es/old_components/HiAlertModal/HiAlertModal.js +231 -0
  2. package/es/old_components/HiAlertModal/index.js +15 -0
  3. package/es/old_components/HiAppBar/HiAppBar.js +136 -0
  4. package/es/old_components/HiAppBar/index.js +15 -0
  5. package/es/old_components/HiBadge/HiBadge.js +103 -0
  6. package/es/old_components/HiBadge/index.js +15 -0
  7. package/es/old_components/HiBreadcrumb/HiBreadcrumb.js +105 -0
  8. package/es/old_components/HiBreadcrumb/HiStep.js +128 -0
  9. package/es/old_components/HiBreadcrumb/HiStepConnector.js +164 -0
  10. package/es/old_components/HiBreadcrumb/HiStepContent.js +97 -0
  11. package/es/old_components/HiBreadcrumb/HiStepIcon.js +154 -0
  12. package/es/old_components/HiBreadcrumb/HiStepLabel.js +173 -0
  13. package/es/old_components/HiBreadcrumb/HiStepper.js +81 -0
  14. package/es/old_components/HiBreadcrumb/index.js +15 -0
  15. package/es/old_components/HiButton/HiButton.js +92 -0
  16. package/es/old_components/HiButton/index.js +13 -0
  17. package/es/old_components/HiCell/CellAddress.js +98 -0
  18. package/es/old_components/HiCell/CellDate.js +110 -0
  19. package/es/old_components/HiCell/CellIcon.js +129 -0
  20. package/es/old_components/HiCell/CellImage.js +115 -0
  21. package/es/old_components/HiCell/CellNumeric.js +91 -0
  22. package/es/old_components/HiCell/CellPinToAction.js +73 -0
  23. package/es/old_components/HiCell/CellRate.js +150 -0
  24. package/es/old_components/HiCell/CellSentinel.js +91 -0
  25. package/es/old_components/HiCell/CellSentinelScore.js +94 -0
  26. package/es/old_components/HiCell/CellText.js +228 -0
  27. package/es/old_components/HiCell/CellTextStyled.js +92 -0
  28. package/es/old_components/HiCell/index.js +79 -0
  29. package/es/old_components/HiCheckbox/HiCheckbox.js +175 -0
  30. package/es/old_components/HiCheckbox/index.js +15 -0
  31. package/es/old_components/HiChip/HiChip.js +227 -0
  32. package/es/old_components/HiChip/HiChipSwitch.js +249 -0
  33. package/es/old_components/HiChip/index.js +23 -0
  34. package/es/old_components/HiColoredLabel/HiColoredLabel.js +179 -0
  35. package/es/old_components/HiColoredLabel/index.js +15 -0
  36. package/es/old_components/HiDatePicker/Caption.js +57 -0
  37. package/es/old_components/HiDatePicker/HiDatePicker.js +357 -0
  38. package/es/old_components/HiDatePicker/HiDatePickerMobile.js +106 -0
  39. package/es/old_components/HiDatePicker/HiDateRangePicker.js +641 -0
  40. package/es/old_components/HiDatePicker/HiDateRangeSelector.js +464 -0
  41. package/es/old_components/HiDatePicker/ListPicker.js +136 -0
  42. package/es/old_components/HiDatePicker/NavBar.js +106 -0
  43. package/es/old_components/HiDatePicker/Overlays/CustomOverlayLayout.js +111 -0
  44. package/es/old_components/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +103 -0
  45. package/es/old_components/HiDatePicker/Overlays/MonthPickerOverlay.js +89 -0
  46. package/es/old_components/HiDatePicker/Overlays/Overlay.js +77 -0
  47. package/es/old_components/HiDatePicker/Overlays/TimePickerOverlay.js +217 -0
  48. package/es/old_components/HiDatePicker/Overlays/YearPickerOverlay.js +110 -0
  49. package/es/old_components/HiDatePicker/Overlays/index.js +47 -0
  50. package/es/old_components/HiDatePicker/Weekday.js +25 -0
  51. package/es/old_components/HiDatePicker/hiLocaleUtils.js +144 -0
  52. package/es/old_components/HiDatePicker/index.js +15 -0
  53. package/es/old_components/HiDatePicker/stylesheet.js +266 -0
  54. package/es/old_components/HiDotsStepper/HiDot.js +102 -0
  55. package/es/old_components/HiDotsStepper/HiDotsStepper.js +111 -0
  56. package/es/old_components/HiExpansionPanel/HiExpansionPanel.js +194 -0
  57. package/es/old_components/HiExpansionPanel/index.js +13 -0
  58. package/es/old_components/HiForm/HiAddressField.js +153 -0
  59. package/es/old_components/HiForm/HiEmailField.js +81 -0
  60. package/es/old_components/HiForm/HiFormControl.js +306 -0
  61. package/es/old_components/HiForm/HiFormLabel.js +125 -0
  62. package/es/old_components/HiForm/HiInput.js +459 -0
  63. package/es/old_components/HiForm/HiPasswordField.js +113 -0
  64. package/es/old_components/HiForm/HiSearchField.js +157 -0
  65. package/es/old_components/HiForm/HiSlider.js +281 -0
  66. package/es/old_components/HiForm/HiTextField.js +170 -0
  67. package/es/old_components/HiForm/HiUpload.js +385 -0
  68. package/es/old_components/HiForm/HiUploadField.js +90 -0
  69. package/es/old_components/HiForm/HiUploadInput.js +390 -0
  70. package/es/old_components/HiForm/index.js +95 -0
  71. package/es/old_components/HiIcon/HiIcon.js +114 -0
  72. package/es/old_components/HiIcon/index.js +15 -0
  73. package/es/old_components/HiIconButton/HiIconButton.js +104 -0
  74. package/es/old_components/HiIconButton/index.js +15 -0
  75. package/es/old_components/HiLoader/HiLoader.js +49 -0
  76. package/es/old_components/HiLoader/index.js +15 -0
  77. package/es/old_components/HiMap/HiMap.js +317 -0
  78. package/es/old_components/HiMap/HiMapExpand.js +200 -0
  79. package/es/old_components/HiMap/index.js +23 -0
  80. package/es/old_components/HiNotice/HiKPI.js +186 -0
  81. package/es/old_components/HiNotice/HiKPINotice.js +69 -0
  82. package/es/old_components/HiNotice/index.js +23 -0
  83. package/es/old_components/HiPaymentMeans/HiPaymentMeans.js +576 -0
  84. package/es/old_components/HiPaymentMeans/index.js +15 -0
  85. package/es/old_components/HiPdfReader/HiPdfReader.js +245 -0
  86. package/es/old_components/HiPdfReader/index.js +15 -0
  87. package/es/old_components/HiPin/HiPin.js +104 -0
  88. package/es/old_components/HiPin/index.js +15 -0
  89. package/es/old_components/HiRadio/HiRadio.js +67 -0
  90. package/es/old_components/HiRadio/index.js +15 -0
  91. package/es/old_components/HiSelect/HiDynamicSelect.js +165 -0
  92. package/es/old_components/HiSelect/HiDynamicSelectField.js +98 -0
  93. package/es/old_components/HiSelect/HiNestedSelect.js +445 -0
  94. package/es/old_components/HiSelect/HiNestedSelectContent.js +350 -0
  95. package/es/old_components/HiSelect/HiNestedSelectField.js +98 -0
  96. package/es/old_components/HiSelect/HiSelect.js +808 -0
  97. package/es/old_components/HiSelect/HiSelectContent.js +404 -0
  98. package/es/old_components/HiSelect/HiSelectField.js +100 -0
  99. package/es/old_components/HiSelect/HiSelectInput.js +323 -0
  100. package/es/old_components/HiSelect/HiSelectMobile.js +167 -0
  101. package/es/old_components/HiSelect/HiSuggestSelect.js +313 -0
  102. package/es/old_components/HiSelect/HiSuggestSelectField.js +87 -0
  103. package/es/old_components/HiSelect/index.js +85 -0
  104. package/es/old_components/HiSelectableList/HiSelectableList.js +292 -0
  105. package/es/old_components/HiSelectableList/HiSelectableListHierarchic.js +173 -0
  106. package/es/old_components/HiSelectableList/HiSelectableListItem.js +427 -0
  107. package/es/old_components/HiSelectableList/index.js +31 -0
  108. package/es/old_components/HiSwitch/HiSwitch.js +201 -0
  109. package/es/old_components/HiSwitch/HiSwitchState.js +163 -0
  110. package/es/old_components/HiSwitch/index.js +23 -0
  111. package/es/old_components/HiTable/HiCellBuilder.js +231 -0
  112. package/es/old_components/HiTable/HiTable.js +101 -0
  113. package/es/old_components/HiTable/HiTableBody.js +62 -0
  114. package/es/old_components/HiTable/HiTableHeader.js +141 -0
  115. package/es/old_components/HiTable/HiTableRow.js +136 -0
  116. package/es/old_components/HiTable/constants.js +149 -0
  117. package/es/old_components/HiTable/index.js +15 -0
  118. package/hi-svg-icons/HiAccount.js +46 -0
  119. package/hi-svg-icons/HiActivity.js +44 -0
  120. package/hi-svg-icons/HiAll.js +51 -0
  121. package/hi-svg-icons/HiBilling.js +46 -0
  122. package/hi-svg-icons/HiBriefcaseRescue.js +27 -0
  123. package/hi-svg-icons/HiCatalog.js +43 -0
  124. package/hi-svg-icons/HiCustomer.js +43 -0
  125. package/hi-svg-icons/HiDownload.js +28 -0
  126. package/hi-svg-icons/HiFinance.js +43 -0
  127. package/hi-svg-icons/HiPermission.js +41 -0
  128. package/hi-svg-icons/HiRoute.js +43 -0
  129. package/hi-svg-icons/HiSettlement.js +43 -0
  130. package/hi-svg-icons/HiSizeLarge.js +36 -0
  131. package/hi-svg-icons/HiSizeMedium.js +36 -0
  132. package/hi-svg-icons/HiSizeSmall.js +36 -0
  133. package/hi-svg-icons/HiTransaction.js +43 -0
  134. package/hi-svg-icons/HiUser.js +43 -0
  135. package/hi-svg-icons/HiWidget.js +48 -0
  136. package/hi-svg-icons/index.js +151 -0
  137. package/old_components/HiAlertModal/HiAlertModal.js +231 -0
  138. package/old_components/HiAlertModal/index.js +15 -0
  139. package/old_components/HiAppBar/HiAppBar.js +136 -0
  140. package/old_components/HiAppBar/index.js +15 -0
  141. package/old_components/HiBadge/HiBadge.js +103 -0
  142. package/old_components/HiBadge/index.js +15 -0
  143. package/old_components/HiBreadcrumb/HiBreadcrumb.js +105 -0
  144. package/old_components/HiBreadcrumb/HiStep.js +128 -0
  145. package/old_components/HiBreadcrumb/HiStepConnector.js +164 -0
  146. package/old_components/HiBreadcrumb/HiStepContent.js +97 -0
  147. package/old_components/HiBreadcrumb/HiStepIcon.js +154 -0
  148. package/old_components/HiBreadcrumb/HiStepLabel.js +173 -0
  149. package/old_components/HiBreadcrumb/HiStepper.js +81 -0
  150. package/old_components/HiBreadcrumb/index.js +15 -0
  151. package/old_components/HiButton/HiButton.js +92 -0
  152. package/old_components/HiButton/index.js +13 -0
  153. package/old_components/HiCell/CellAddress.js +98 -0
  154. package/old_components/HiCell/CellDate.js +110 -0
  155. package/old_components/HiCell/CellIcon.js +129 -0
  156. package/old_components/HiCell/CellImage.js +115 -0
  157. package/old_components/HiCell/CellNumeric.js +91 -0
  158. package/old_components/HiCell/CellPinToAction.js +73 -0
  159. package/old_components/HiCell/CellRate.js +150 -0
  160. package/old_components/HiCell/CellSentinel.js +91 -0
  161. package/old_components/HiCell/CellSentinelScore.js +94 -0
  162. package/old_components/HiCell/CellText.js +228 -0
  163. package/old_components/HiCell/CellTextStyled.js +92 -0
  164. package/old_components/HiCell/index.js +79 -0
  165. package/old_components/HiCheckbox/HiCheckbox.js +175 -0
  166. package/old_components/HiCheckbox/index.js +15 -0
  167. package/old_components/HiChip/HiChip.js +227 -0
  168. package/old_components/HiChip/HiChipSwitch.js +249 -0
  169. package/old_components/HiChip/index.js +23 -0
  170. package/old_components/HiColoredLabel/HiColoredLabel.js +179 -0
  171. package/old_components/HiColoredLabel/index.js +15 -0
  172. package/old_components/HiDatePicker/Caption.js +57 -0
  173. package/old_components/HiDatePicker/HiDatePicker.js +357 -0
  174. package/old_components/HiDatePicker/HiDatePickerMobile.js +106 -0
  175. package/old_components/HiDatePicker/HiDateRangePicker.js +641 -0
  176. package/old_components/HiDatePicker/HiDateRangeSelector.js +464 -0
  177. package/old_components/HiDatePicker/ListPicker.js +136 -0
  178. package/old_components/HiDatePicker/NavBar.js +106 -0
  179. package/old_components/HiDatePicker/Overlays/CustomOverlayLayout.js +111 -0
  180. package/old_components/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +103 -0
  181. package/old_components/HiDatePicker/Overlays/MonthPickerOverlay.js +89 -0
  182. package/old_components/HiDatePicker/Overlays/Overlay.js +77 -0
  183. package/old_components/HiDatePicker/Overlays/TimePickerOverlay.js +217 -0
  184. package/old_components/HiDatePicker/Overlays/YearPickerOverlay.js +110 -0
  185. package/old_components/HiDatePicker/Overlays/index.js +47 -0
  186. package/old_components/HiDatePicker/Weekday.js +25 -0
  187. package/old_components/HiDatePicker/hiLocaleUtils.js +144 -0
  188. package/old_components/HiDatePicker/index.js +15 -0
  189. package/old_components/HiDatePicker/stylesheet.js +266 -0
  190. package/old_components/HiDotsStepper/HiDot.js +102 -0
  191. package/old_components/HiDotsStepper/HiDotsStepper.js +111 -0
  192. package/old_components/HiExpansionPanel/HiExpansionPanel.js +194 -0
  193. package/old_components/HiExpansionPanel/index.js +13 -0
  194. package/old_components/HiForm/HiAddressField.js +153 -0
  195. package/old_components/HiForm/HiEmailField.js +81 -0
  196. package/old_components/HiForm/HiFormControl.js +306 -0
  197. package/old_components/HiForm/HiFormLabel.js +125 -0
  198. package/old_components/HiForm/HiInput.js +459 -0
  199. package/old_components/HiForm/HiPasswordField.js +113 -0
  200. package/old_components/HiForm/HiSearchField.js +157 -0
  201. package/old_components/HiForm/HiSlider.js +281 -0
  202. package/old_components/HiForm/HiTextField.js +170 -0
  203. package/old_components/HiForm/HiUpload.js +385 -0
  204. package/old_components/HiForm/HiUploadField.js +90 -0
  205. package/old_components/HiForm/HiUploadInput.js +390 -0
  206. package/old_components/HiForm/index.js +95 -0
  207. package/old_components/HiIcon/HiIcon.js +114 -0
  208. package/old_components/HiIcon/index.js +15 -0
  209. package/old_components/HiIconButton/HiIconButton.js +104 -0
  210. package/old_components/HiIconButton/index.js +15 -0
  211. package/old_components/HiLoader/HiLoader.js +49 -0
  212. package/old_components/HiLoader/index.js +15 -0
  213. package/old_components/HiMap/HiMap.js +317 -0
  214. package/old_components/HiMap/HiMapExpand.js +200 -0
  215. package/old_components/HiMap/index.js +23 -0
  216. package/old_components/HiNotice/HiKPI.js +186 -0
  217. package/old_components/HiNotice/HiKPINotice.js +69 -0
  218. package/old_components/HiNotice/index.js +23 -0
  219. package/old_components/HiPaymentMeans/HiPaymentMeans.js +576 -0
  220. package/old_components/HiPaymentMeans/index.js +15 -0
  221. package/old_components/HiPdfReader/HiPdfReader.js +245 -0
  222. package/old_components/HiPdfReader/index.js +15 -0
  223. package/old_components/HiPin/HiPin.js +104 -0
  224. package/old_components/HiPin/index.js +15 -0
  225. package/old_components/HiRadio/HiRadio.js +67 -0
  226. package/old_components/HiRadio/index.js +15 -0
  227. package/old_components/HiSelect/HiDynamicSelect.js +165 -0
  228. package/old_components/HiSelect/HiDynamicSelectField.js +98 -0
  229. package/old_components/HiSelect/HiNestedSelect.js +445 -0
  230. package/old_components/HiSelect/HiNestedSelectContent.js +350 -0
  231. package/old_components/HiSelect/HiNestedSelectField.js +98 -0
  232. package/old_components/HiSelect/HiSelect.js +808 -0
  233. package/old_components/HiSelect/HiSelectContent.js +404 -0
  234. package/old_components/HiSelect/HiSelectField.js +100 -0
  235. package/old_components/HiSelect/HiSelectInput.js +323 -0
  236. package/old_components/HiSelect/HiSelectMobile.js +167 -0
  237. package/old_components/HiSelect/HiSuggestSelect.js +313 -0
  238. package/old_components/HiSelect/HiSuggestSelectField.js +87 -0
  239. package/old_components/HiSelect/index.js +85 -0
  240. package/old_components/HiSelectableList/HiSelectableList.js +292 -0
  241. package/old_components/HiSelectableList/HiSelectableListHierarchic.js +173 -0
  242. package/old_components/HiSelectableList/HiSelectableListItem.js +427 -0
  243. package/old_components/HiSelectableList/index.js +31 -0
  244. package/old_components/HiSwitch/HiSwitch.js +201 -0
  245. package/old_components/HiSwitch/HiSwitchState.js +163 -0
  246. package/old_components/HiSwitch/index.js +23 -0
  247. package/old_components/HiTable/HiCellBuilder.js +231 -0
  248. package/old_components/HiTable/HiTable.js +101 -0
  249. package/old_components/HiTable/HiTableBody.js +62 -0
  250. package/old_components/HiTable/HiTableHeader.js +141 -0
  251. package/old_components/HiTable/HiTableRow.js +136 -0
  252. package/old_components/HiTable/constants.js +149 -0
  253. package/old_components/HiTable/index.js +15 -0
  254. package/old_components/hi-svg-icons/HiAccount.js +46 -0
  255. package/old_components/hi-svg-icons/HiActivity.js +44 -0
  256. package/old_components/hi-svg-icons/HiAll.js +51 -0
  257. package/old_components/hi-svg-icons/HiBilling.js +46 -0
  258. package/old_components/hi-svg-icons/HiBriefcaseRescue.js +27 -0
  259. package/old_components/hi-svg-icons/HiCatalog.js +43 -0
  260. package/old_components/hi-svg-icons/HiCustomer.js +43 -0
  261. package/old_components/hi-svg-icons/HiDownload.js +28 -0
  262. package/old_components/hi-svg-icons/HiFinance.js +43 -0
  263. package/old_components/hi-svg-icons/HiPermission.js +41 -0
  264. package/old_components/hi-svg-icons/HiRoute.js +43 -0
  265. package/old_components/hi-svg-icons/HiSettlement.js +43 -0
  266. package/old_components/hi-svg-icons/HiSizeLarge.js +36 -0
  267. package/old_components/hi-svg-icons/HiSizeMedium.js +36 -0
  268. package/old_components/hi-svg-icons/HiSizeSmall.js +36 -0
  269. package/old_components/hi-svg-icons/HiTransaction.js +43 -0
  270. package/old_components/hi-svg-icons/HiUser.js +43 -0
  271. package/old_components/hi-svg-icons/HiWidget.js +48 -0
  272. package/old_components/hi-svg-icons/index.js +151 -0
  273. package/old_components/styles/MuiThemeProvider.js +155 -0
  274. package/old_components/styles/colorManipulator.js +286 -0
  275. package/old_components/styles/createBreakpoints.js +81 -0
  276. package/old_components/styles/createGenerateClassName.js +86 -0
  277. package/old_components/styles/createMixins.js +36 -0
  278. package/old_components/styles/createMuiTheme.js +77 -0
  279. package/old_components/styles/createPalette.js +287 -0
  280. package/old_components/styles/createStyles.js +10 -0
  281. package/old_components/styles/createTypography.js +185 -0
  282. package/old_components/styles/getStylesCreator.js +54 -0
  283. package/old_components/styles/getThemeProps.js +20 -0
  284. package/old_components/styles/index.js +63 -0
  285. package/old_components/styles/jssPreset.js +31 -0
  286. package/old_components/styles/mergeClasses.js +41 -0
  287. package/old_components/styles/shadows.js +17 -0
  288. package/old_components/styles/shape.js +11 -0
  289. package/old_components/styles/spacing.js +14 -0
  290. package/old_components/styles/themeListener.js +40 -0
  291. package/old_components/styles/transitions.js +106 -0
  292. package/old_components/styles/withStyles.js +373 -0
  293. package/old_components/styles/withTheme.js +122 -0
  294. package/old_components/styles/zIndex.js +18 -0
  295. package/old_components/test-utils/createMount.js +44 -0
  296. package/old_components/test-utils/createRender.js +29 -0
  297. package/old_components/test-utils/createShallow.js +48 -0
  298. package/old_components/test-utils/getClasses.js +12 -0
  299. package/old_components/test-utils/index.js +47 -0
  300. package/old_components/test-utils/until.js +49 -0
  301. package/old_components/test-utils/unwrap.js +10 -0
  302. package/old_components/transitions/utils.js +23 -0
  303. package/old_components/utils/helpers.js +335 -0
  304. package/old_components/withMobileDialog/index.js +15 -0
  305. package/old_components/withMobileDialog/withMobileDialog.js +40 -0
  306. package/package.json +2 -3
  307. package/styles/MuiThemeProvider.js +155 -0
  308. package/styles/colorManipulator.js +286 -0
  309. package/styles/createBreakpoints.js +81 -0
  310. package/styles/createGenerateClassName.js +86 -0
  311. package/styles/createMixins.js +36 -0
  312. package/styles/createMuiTheme.js +77 -0
  313. package/styles/createPalette.js +287 -0
  314. package/styles/createStyles.js +10 -0
  315. package/styles/createTypography.js +185 -0
  316. package/styles/getStylesCreator.js +54 -0
  317. package/styles/getThemeProps.js +20 -0
  318. package/styles/index.js +63 -0
  319. package/styles/jssPreset.js +31 -0
  320. package/styles/mergeClasses.js +41 -0
  321. package/styles/shadows.js +17 -0
  322. package/styles/shape.js +11 -0
  323. package/styles/spacing.js +14 -0
  324. package/styles/themeListener.js +40 -0
  325. package/styles/transitions.js +106 -0
  326. package/styles/withStyles.js +373 -0
  327. package/styles/withTheme.js +122 -0
  328. package/styles/zIndex.js +18 -0
  329. package/test-utils/createMount.js +44 -0
  330. package/test-utils/createRender.js +29 -0
  331. package/test-utils/createShallow.js +48 -0
  332. package/test-utils/getClasses.js +12 -0
  333. package/test-utils/index.js +47 -0
  334. package/test-utils/until.js +49 -0
  335. package/test-utils/unwrap.js +10 -0
  336. package/transitions/utils.js +23 -0
  337. package/utils/helpers.js +335 -0
  338. package/withMobileDialog/index.js +15 -0
  339. package/withMobileDialog/withMobileDialog.js +40 -0
  340. package/App.js +0 -36
  341. package/index.es.js +0 -22
  342. package/index.js +0 -27
  343. package/serviceWorker.js +0 -118
  344. /package/{components/HiAlertModal → HiAlertModal}/HiAlertModal.js +0 -0
  345. /package/{components/HiAlertModal → HiAlertModal}/index.js +0 -0
  346. /package/{components/HiAppBar → HiAppBar}/HiAppBar.js +0 -0
  347. /package/{components/HiAppBar → HiAppBar}/index.js +0 -0
  348. /package/{components/HiBadge → HiBadge}/HiBadge.js +0 -0
  349. /package/{components/HiBadge → HiBadge}/index.js +0 -0
  350. /package/{components/HiBreadcrumb → HiBreadcrumb}/HiBreadcrumb.js +0 -0
  351. /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStep.js +0 -0
  352. /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepConnector.js +0 -0
  353. /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepContent.js +0 -0
  354. /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepIcon.js +0 -0
  355. /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepLabel.js +0 -0
  356. /package/{components/HiBreadcrumb → HiBreadcrumb}/HiStepper.js +0 -0
  357. /package/{components/HiBreadcrumb → HiBreadcrumb}/index.js +0 -0
  358. /package/{components/HiButton → HiButton}/HiButton.js +0 -0
  359. /package/{components/HiButton → HiButton}/index.js +0 -0
  360. /package/{components/HiCell → HiCell}/CellAddress.js +0 -0
  361. /package/{components/HiCell → HiCell}/CellDate.js +0 -0
  362. /package/{components/HiCell → HiCell}/CellIcon.js +0 -0
  363. /package/{components/HiCell → HiCell}/CellImage.js +0 -0
  364. /package/{components/HiCell → HiCell}/CellNumeric.js +0 -0
  365. /package/{components/HiCell → HiCell}/CellPinToAction.js +0 -0
  366. /package/{components/HiCell → HiCell}/CellRate.js +0 -0
  367. /package/{components/HiCell → HiCell}/CellSentinel.js +0 -0
  368. /package/{components/HiCell → HiCell}/CellSentinelScore.js +0 -0
  369. /package/{components/HiCell → HiCell}/CellText.js +0 -0
  370. /package/{components/HiCell → HiCell}/CellTextStyled.js +0 -0
  371. /package/{components/HiCell → HiCell}/index.js +0 -0
  372. /package/{components/HiCheckbox → HiCheckbox}/HiCheckbox.js +0 -0
  373. /package/{components/HiCheckbox → HiCheckbox}/index.js +0 -0
  374. /package/{components/HiChip → HiChip}/HiChip.js +0 -0
  375. /package/{components/HiChip → HiChip}/HiChipSwitch.js +0 -0
  376. /package/{components/HiChip → HiChip}/index.js +0 -0
  377. /package/{components/HiColoredLabel → HiColoredLabel}/HiColoredLabel.js +0 -0
  378. /package/{components/HiColoredLabel → HiColoredLabel}/index.js +0 -0
  379. /package/{components/HiDatePicker → HiDatePicker}/Caption.js +0 -0
  380. /package/{components/HiDatePicker → HiDatePicker}/HiDatePicker.js +0 -0
  381. /package/{components/HiDatePicker → HiDatePicker}/HiDatePickerMobile.js +0 -0
  382. /package/{components/HiDatePicker → HiDatePicker}/HiDateRangePicker.js +0 -0
  383. /package/{components/HiDatePicker → HiDatePicker}/HiDateRangeSelector.js +0 -0
  384. /package/{components/HiDatePicker → HiDatePicker}/ListPicker.js +0 -0
  385. /package/{components/HiDatePicker → HiDatePicker}/NavBar.js +0 -0
  386. /package/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayout.js +0 -0
  387. /package/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayoutWithoutFooter.js +0 -0
  388. /package/{components/HiDatePicker → HiDatePicker}/Overlays/MonthPickerOverlay.js +0 -0
  389. /package/{components/HiDatePicker → HiDatePicker}/Overlays/Overlay.js +0 -0
  390. /package/{components/HiDatePicker → HiDatePicker}/Overlays/TimePickerOverlay.js +0 -0
  391. /package/{components/HiDatePicker → HiDatePicker}/Overlays/YearPickerOverlay.js +0 -0
  392. /package/{components/HiDatePicker → HiDatePicker}/Overlays/index.js +0 -0
  393. /package/{components/HiDatePicker → HiDatePicker}/Weekday.js +0 -0
  394. /package/{components/HiDatePicker → HiDatePicker}/hiLocaleUtils.js +0 -0
  395. /package/{components/HiDatePicker → HiDatePicker}/index.js +0 -0
  396. /package/{components/HiDatePicker → HiDatePicker}/stylesheet.js +0 -0
  397. /package/{components/HiDotsStepper → HiDotsStepper}/HiDot.js +0 -0
  398. /package/{components/HiDotsStepper → HiDotsStepper}/HiDotsStepper.js +0 -0
  399. /package/{components/HiExpansionPanel → HiExpansionPanel}/HiExpansionPanel.js +0 -0
  400. /package/{components/HiExpansionPanel → HiExpansionPanel}/index.js +0 -0
  401. /package/{components/HiForm → HiForm}/HiAddressField.js +0 -0
  402. /package/{components/HiForm → HiForm}/HiEmailField.js +0 -0
  403. /package/{components/HiForm → HiForm}/HiFormControl.js +0 -0
  404. /package/{components/HiForm → HiForm}/HiFormLabel.js +0 -0
  405. /package/{components/HiForm → HiForm}/HiInput.js +0 -0
  406. /package/{components/HiForm → HiForm}/HiPasswordField.js +0 -0
  407. /package/{components/HiForm → HiForm}/HiSearchField.js +0 -0
  408. /package/{components/HiForm → HiForm}/HiSlider.js +0 -0
  409. /package/{components/HiForm → HiForm}/HiTextField.js +0 -0
  410. /package/{components/HiForm → HiForm}/HiUpload.js +0 -0
  411. /package/{components/HiForm → HiForm}/HiUploadField.js +0 -0
  412. /package/{components/HiForm → HiForm}/HiUploadInput.js +0 -0
  413. /package/{components/HiForm → HiForm}/index.js +0 -0
  414. /package/{components/HiIcon → HiIcon}/HiIcon.js +0 -0
  415. /package/{components/HiIcon → HiIcon}/index.js +0 -0
  416. /package/{components/HiIconButton → HiIconButton}/HiIconButton.js +0 -0
  417. /package/{components/HiIconButton → HiIconButton}/index.js +0 -0
  418. /package/{components/HiLoader → HiLoader}/HiLoader.js +0 -0
  419. /package/{components/HiLoader → HiLoader}/index.js +0 -0
  420. /package/{components/HiMap → HiMap}/HiMap.js +0 -0
  421. /package/{components/HiMap → HiMap}/HiMapExpand.js +0 -0
  422. /package/{components/HiMap → HiMap}/index.js +0 -0
  423. /package/{components/HiNotice → HiNotice}/HiKPI.js +0 -0
  424. /package/{components/HiNotice → HiNotice}/HiKPINotice.js +0 -0
  425. /package/{components/HiNotice → HiNotice}/index.js +0 -0
  426. /package/{components/HiPaymentMeans → HiPaymentMeans}/HiPaymentMeans.js +0 -0
  427. /package/{components/HiPaymentMeans → HiPaymentMeans}/index.js +0 -0
  428. /package/{components/HiPdfReader → HiPdfReader}/HiPdfReader.js +0 -0
  429. /package/{components/HiPdfReader → HiPdfReader}/index.js +0 -0
  430. /package/{components/HiPin → HiPin}/HiPin.js +0 -0
  431. /package/{components/HiPin → HiPin}/index.js +0 -0
  432. /package/{components/HiRadio → HiRadio}/HiRadio.js +0 -0
  433. /package/{components/HiRadio → HiRadio}/index.js +0 -0
  434. /package/{components/HiSelect → HiSelect}/HiDynamicSelect.js +0 -0
  435. /package/{components/HiSelect → HiSelect}/HiDynamicSelectField.js +0 -0
  436. /package/{components/HiSelect → HiSelect}/HiNestedSelect.js +0 -0
  437. /package/{components/HiSelect → HiSelect}/HiNestedSelectContent.js +0 -0
  438. /package/{components/HiSelect → HiSelect}/HiNestedSelectField.js +0 -0
  439. /package/{components/HiSelect → HiSelect}/HiSelect.js +0 -0
  440. /package/{components/HiSelect → HiSelect}/HiSelectContent.js +0 -0
  441. /package/{components/HiSelect → HiSelect}/HiSelectField.js +0 -0
  442. /package/{components/HiSelect → HiSelect}/HiSelectInput.js +0 -0
  443. /package/{components/HiSelect → HiSelect}/HiSelectMobile.js +0 -0
  444. /package/{components/HiSelect → HiSelect}/HiSuggestSelect.js +0 -0
  445. /package/{components/HiSelect → HiSelect}/HiSuggestSelectField.js +0 -0
  446. /package/{components/HiSelect → HiSelect}/index.js +0 -0
  447. /package/{components/HiSelectableList → HiSelectableList}/HiSelectableList.js +0 -0
  448. /package/{components/HiSelectableList → HiSelectableList}/HiSelectableListHierarchic.js +0 -0
  449. /package/{components/HiSelectableList → HiSelectableList}/HiSelectableListItem.js +0 -0
  450. /package/{components/HiSelectableList → HiSelectableList}/index.js +0 -0
  451. /package/{components/HiSwitch → HiSwitch}/HiSwitch.js +0 -0
  452. /package/{components/HiSwitch → HiSwitch}/HiSwitchState.js +0 -0
  453. /package/{components/HiSwitch → HiSwitch}/index.js +0 -0
  454. /package/{components/HiTable → HiTable}/HiCellBuilder.js +0 -0
  455. /package/{components/HiTable → HiTable}/HiTable.js +0 -0
  456. /package/{components/HiTable → HiTable}/HiTableBody.js +0 -0
  457. /package/{components/HiTable → HiTable}/HiTableHeader.js +0 -0
  458. /package/{components/HiTable → HiTable}/HiTableRow.js +0 -0
  459. /package/{components/HiTable → HiTable}/constants.js +0 -0
  460. /package/{components/HiTable → HiTable}/index.js +0 -0
  461. /package/es/{components/HiAlertModal → HiAlertModal}/HiAlertModal.js +0 -0
  462. /package/es/{components/HiAlertModal → HiAlertModal}/index.js +0 -0
  463. /package/es/{components/HiAppBar → HiAppBar}/HiAppBar.js +0 -0
  464. /package/es/{components/HiAppBar → HiAppBar}/index.js +0 -0
  465. /package/es/{components/HiBadge → HiBadge}/HiBadge.js +0 -0
  466. /package/es/{components/HiBadge → HiBadge}/index.js +0 -0
  467. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiBreadcrumb.js +0 -0
  468. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStep.js +0 -0
  469. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepConnector.js +0 -0
  470. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepContent.js +0 -0
  471. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepIcon.js +0 -0
  472. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepLabel.js +0 -0
  473. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/HiStepper.js +0 -0
  474. /package/es/{components/HiBreadcrumb → HiBreadcrumb}/index.js +0 -0
  475. /package/es/{components/HiButton → HiButton}/HiButton.js +0 -0
  476. /package/es/{components/HiButton → HiButton}/index.js +0 -0
  477. /package/es/{components/HiCell → HiCell}/CellAddress.js +0 -0
  478. /package/es/{components/HiCell → HiCell}/CellDate.js +0 -0
  479. /package/es/{components/HiCell → HiCell}/CellIcon.js +0 -0
  480. /package/es/{components/HiCell → HiCell}/CellImage.js +0 -0
  481. /package/es/{components/HiCell → HiCell}/CellNumeric.js +0 -0
  482. /package/es/{components/HiCell → HiCell}/CellPinToAction.js +0 -0
  483. /package/es/{components/HiCell → HiCell}/CellRate.js +0 -0
  484. /package/es/{components/HiCell → HiCell}/CellSentinel.js +0 -0
  485. /package/es/{components/HiCell → HiCell}/CellSentinelScore.js +0 -0
  486. /package/es/{components/HiCell → HiCell}/CellText.js +0 -0
  487. /package/es/{components/HiCell → HiCell}/CellTextStyled.js +0 -0
  488. /package/es/{components/HiCell → HiCell}/index.js +0 -0
  489. /package/es/{components/HiCheckbox → HiCheckbox}/HiCheckbox.js +0 -0
  490. /package/es/{components/HiCheckbox → HiCheckbox}/index.js +0 -0
  491. /package/es/{components/HiChip → HiChip}/HiChip.js +0 -0
  492. /package/es/{components/HiChip → HiChip}/HiChipSwitch.js +0 -0
  493. /package/es/{components/HiChip → HiChip}/index.js +0 -0
  494. /package/es/{components/HiColoredLabel → HiColoredLabel}/HiColoredLabel.js +0 -0
  495. /package/es/{components/HiColoredLabel → HiColoredLabel}/index.js +0 -0
  496. /package/es/{components/HiDatePicker → HiDatePicker}/Caption.js +0 -0
  497. /package/es/{components/HiDatePicker → HiDatePicker}/HiDatePicker.js +0 -0
  498. /package/es/{components/HiDatePicker → HiDatePicker}/HiDatePickerMobile.js +0 -0
  499. /package/es/{components/HiDatePicker → HiDatePicker}/HiDateRangePicker.js +0 -0
  500. /package/es/{components/HiDatePicker → HiDatePicker}/HiDateRangeSelector.js +0 -0
  501. /package/es/{components/HiDatePicker → HiDatePicker}/ListPicker.js +0 -0
  502. /package/es/{components/HiDatePicker → HiDatePicker}/NavBar.js +0 -0
  503. /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayout.js +0 -0
  504. /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/CustomOverlayLayoutWithoutFooter.js +0 -0
  505. /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/MonthPickerOverlay.js +0 -0
  506. /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/Overlay.js +0 -0
  507. /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/TimePickerOverlay.js +0 -0
  508. /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/YearPickerOverlay.js +0 -0
  509. /package/es/{components/HiDatePicker → HiDatePicker}/Overlays/index.js +0 -0
  510. /package/es/{components/HiDatePicker → HiDatePicker}/Weekday.js +0 -0
  511. /package/es/{components/HiDatePicker → HiDatePicker}/hiLocaleUtils.js +0 -0
  512. /package/es/{components/HiDatePicker → HiDatePicker}/index.js +0 -0
  513. /package/es/{components/HiDatePicker → HiDatePicker}/stylesheet.js +0 -0
  514. /package/es/{components/HiDotsStepper → HiDotsStepper}/HiDot.js +0 -0
  515. /package/es/{components/HiDotsStepper → HiDotsStepper}/HiDotsStepper.js +0 -0
  516. /package/es/{components/HiExpansionPanel → HiExpansionPanel}/HiExpansionPanel.js +0 -0
  517. /package/es/{components/HiExpansionPanel → HiExpansionPanel}/index.js +0 -0
  518. /package/es/{components/HiForm → HiForm}/HiAddressField.js +0 -0
  519. /package/es/{components/HiForm → HiForm}/HiEmailField.js +0 -0
  520. /package/es/{components/HiForm → HiForm}/HiFormControl.js +0 -0
  521. /package/es/{components/HiForm → HiForm}/HiFormLabel.js +0 -0
  522. /package/es/{components/HiForm → HiForm}/HiInput.js +0 -0
  523. /package/es/{components/HiForm → HiForm}/HiPasswordField.js +0 -0
  524. /package/es/{components/HiForm → HiForm}/HiSearchField.js +0 -0
  525. /package/es/{components/HiForm → HiForm}/HiSlider.js +0 -0
  526. /package/es/{components/HiForm → HiForm}/HiTextField.js +0 -0
  527. /package/es/{components/HiForm → HiForm}/HiUpload.js +0 -0
  528. /package/es/{components/HiForm → HiForm}/HiUploadField.js +0 -0
  529. /package/es/{components/HiForm → HiForm}/HiUploadInput.js +0 -0
  530. /package/es/{components/HiForm → HiForm}/index.js +0 -0
  531. /package/es/{components/HiIcon → HiIcon}/HiIcon.js +0 -0
  532. /package/es/{components/HiIcon → HiIcon}/index.js +0 -0
  533. /package/es/{components/HiIconButton → HiIconButton}/HiIconButton.js +0 -0
  534. /package/es/{components/HiIconButton → HiIconButton}/index.js +0 -0
  535. /package/es/{components/HiLoader → HiLoader}/HiLoader.js +0 -0
  536. /package/es/{components/HiLoader → HiLoader}/index.js +0 -0
  537. /package/es/{components/HiMap → HiMap}/HiMap.js +0 -0
  538. /package/es/{components/HiMap → HiMap}/HiMapExpand.js +0 -0
  539. /package/es/{components/HiMap → HiMap}/index.js +0 -0
  540. /package/es/{components/HiNotice → HiNotice}/HiKPI.js +0 -0
  541. /package/es/{components/HiNotice → HiNotice}/HiKPINotice.js +0 -0
  542. /package/es/{components/HiNotice → HiNotice}/index.js +0 -0
  543. /package/es/{components/HiPaymentMeans → HiPaymentMeans}/HiPaymentMeans.js +0 -0
  544. /package/es/{components/HiPaymentMeans → HiPaymentMeans}/index.js +0 -0
  545. /package/es/{components/HiPdfReader → HiPdfReader}/HiPdfReader.js +0 -0
  546. /package/es/{components/HiPdfReader → HiPdfReader}/index.js +0 -0
  547. /package/es/{components/HiPin → HiPin}/HiPin.js +0 -0
  548. /package/es/{components/HiPin → HiPin}/index.js +0 -0
  549. /package/es/{components/HiRadio → HiRadio}/HiRadio.js +0 -0
  550. /package/es/{components/HiRadio → HiRadio}/index.js +0 -0
  551. /package/es/{components/HiSelect → HiSelect}/HiDynamicSelect.js +0 -0
  552. /package/es/{components/HiSelect → HiSelect}/HiDynamicSelectField.js +0 -0
  553. /package/es/{components/HiSelect → HiSelect}/HiNestedSelect.js +0 -0
  554. /package/es/{components/HiSelect → HiSelect}/HiNestedSelectContent.js +0 -0
  555. /package/es/{components/HiSelect → HiSelect}/HiNestedSelectField.js +0 -0
  556. /package/es/{components/HiSelect → HiSelect}/HiSelect.js +0 -0
  557. /package/es/{components/HiSelect → HiSelect}/HiSelectContent.js +0 -0
  558. /package/es/{components/HiSelect → HiSelect}/HiSelectField.js +0 -0
  559. /package/es/{components/HiSelect → HiSelect}/HiSelectInput.js +0 -0
  560. /package/es/{components/HiSelect → HiSelect}/HiSelectMobile.js +0 -0
  561. /package/es/{components/HiSelect → HiSelect}/HiSuggestSelect.js +0 -0
  562. /package/es/{components/HiSelect → HiSelect}/HiSuggestSelectField.js +0 -0
  563. /package/es/{components/HiSelect → HiSelect}/index.js +0 -0
  564. /package/es/{components/HiSelectableList → HiSelectableList}/HiSelectableList.js +0 -0
  565. /package/es/{components/HiSelectableList → HiSelectableList}/HiSelectableListHierarchic.js +0 -0
  566. /package/es/{components/HiSelectableList → HiSelectableList}/HiSelectableListItem.js +0 -0
  567. /package/es/{components/HiSelectableList → HiSelectableList}/index.js +0 -0
  568. /package/es/{components/HiSwitch → HiSwitch}/HiSwitch.js +0 -0
  569. /package/es/{components/HiSwitch → HiSwitch}/HiSwitchState.js +0 -0
  570. /package/es/{components/HiSwitch → HiSwitch}/index.js +0 -0
  571. /package/es/{components/HiTable → HiTable}/HiCellBuilder.js +0 -0
  572. /package/es/{components/HiTable → HiTable}/HiTable.js +0 -0
  573. /package/es/{components/HiTable → HiTable}/HiTableBody.js +0 -0
  574. /package/es/{components/HiTable → HiTable}/HiTableHeader.js +0 -0
  575. /package/es/{components/HiTable → HiTable}/HiTableRow.js +0 -0
  576. /package/es/{components/HiTable → HiTable}/constants.js +0 -0
  577. /package/es/{components/HiTable → HiTable}/index.js +0 -0
  578. /package/{components → es}/hi-svg-icons/HiAccount.js +0 -0
  579. /package/{components → es}/hi-svg-icons/HiActivity.js +0 -0
  580. /package/{components → es}/hi-svg-icons/HiAll.js +0 -0
  581. /package/{components → es}/hi-svg-icons/HiBilling.js +0 -0
  582. /package/{components → es}/hi-svg-icons/HiBriefcaseRescue.js +0 -0
  583. /package/{components → es}/hi-svg-icons/HiCatalog.js +0 -0
  584. /package/{components → es}/hi-svg-icons/HiCustomer.js +0 -0
  585. /package/{components → es}/hi-svg-icons/HiDownload.js +0 -0
  586. /package/{components → es}/hi-svg-icons/HiFinance.js +0 -0
  587. /package/{components → es}/hi-svg-icons/HiPermission.js +0 -0
  588. /package/{components → es}/hi-svg-icons/HiRoute.js +0 -0
  589. /package/{components → es}/hi-svg-icons/HiSettlement.js +0 -0
  590. /package/{components → es}/hi-svg-icons/HiSizeLarge.js +0 -0
  591. /package/{components → es}/hi-svg-icons/HiSizeMedium.js +0 -0
  592. /package/{components → es}/hi-svg-icons/HiSizeSmall.js +0 -0
  593. /package/{components → es}/hi-svg-icons/HiTransaction.js +0 -0
  594. /package/{components → es}/hi-svg-icons/HiUser.js +0 -0
  595. /package/{components → es}/hi-svg-icons/HiWidget.js +0 -0
  596. /package/{components → es}/hi-svg-icons/index.js +0 -0
  597. /package/es/{components → old_components}/hi-svg-icons/HiAccount.js +0 -0
  598. /package/es/{components → old_components}/hi-svg-icons/HiActivity.js +0 -0
  599. /package/es/{components → old_components}/hi-svg-icons/HiAll.js +0 -0
  600. /package/es/{components → old_components}/hi-svg-icons/HiBilling.js +0 -0
  601. /package/es/{components → old_components}/hi-svg-icons/HiBriefcaseRescue.js +0 -0
  602. /package/es/{components → old_components}/hi-svg-icons/HiCatalog.js +0 -0
  603. /package/es/{components → old_components}/hi-svg-icons/HiCustomer.js +0 -0
  604. /package/es/{components → old_components}/hi-svg-icons/HiDownload.js +0 -0
  605. /package/es/{components → old_components}/hi-svg-icons/HiFinance.js +0 -0
  606. /package/es/{components → old_components}/hi-svg-icons/HiPermission.js +0 -0
  607. /package/es/{components → old_components}/hi-svg-icons/HiRoute.js +0 -0
  608. /package/es/{components → old_components}/hi-svg-icons/HiSettlement.js +0 -0
  609. /package/es/{components → old_components}/hi-svg-icons/HiSizeLarge.js +0 -0
  610. /package/es/{components → old_components}/hi-svg-icons/HiSizeMedium.js +0 -0
  611. /package/es/{components → old_components}/hi-svg-icons/HiSizeSmall.js +0 -0
  612. /package/es/{components → old_components}/hi-svg-icons/HiTransaction.js +0 -0
  613. /package/es/{components → old_components}/hi-svg-icons/HiUser.js +0 -0
  614. /package/es/{components → old_components}/hi-svg-icons/HiWidget.js +0 -0
  615. /package/es/{components → old_components}/hi-svg-icons/index.js +0 -0
  616. /package/{components → es/old_components}/styles/MuiThemeProvider.js +0 -0
  617. /package/{components → es/old_components}/styles/colorManipulator.js +0 -0
  618. /package/{components → es/old_components}/styles/createBreakpoints.js +0 -0
  619. /package/{components → es/old_components}/styles/createGenerateClassName.js +0 -0
  620. /package/{components → es/old_components}/styles/createMixins.js +0 -0
  621. /package/{components → es/old_components}/styles/createMuiTheme.js +0 -0
  622. /package/{components → es/old_components}/styles/createPalette.js +0 -0
  623. /package/{components → es/old_components}/styles/createStyles.js +0 -0
  624. /package/{components → es/old_components}/styles/createTypography.js +0 -0
  625. /package/{components → es/old_components}/styles/getStylesCreator.js +0 -0
  626. /package/{components → es/old_components}/styles/getThemeProps.js +0 -0
  627. /package/{components → es/old_components}/styles/index.js +0 -0
  628. /package/{components → es/old_components}/styles/jssPreset.js +0 -0
  629. /package/{components → es/old_components}/styles/mergeClasses.js +0 -0
  630. /package/{components → es/old_components}/styles/shadows.js +0 -0
  631. /package/{components → es/old_components}/styles/shape.js +0 -0
  632. /package/{components → es/old_components}/styles/spacing.js +0 -0
  633. /package/{components → es/old_components}/styles/themeListener.js +0 -0
  634. /package/{components → es/old_components}/styles/transitions.js +0 -0
  635. /package/{components → es/old_components}/styles/withStyles.js +0 -0
  636. /package/{components → es/old_components}/styles/withTheme.js +0 -0
  637. /package/{components → es/old_components}/styles/zIndex.js +0 -0
  638. /package/{components → es/old_components}/test-utils/createMount.js +0 -0
  639. /package/{components → es/old_components}/test-utils/createRender.js +0 -0
  640. /package/{components → es/old_components}/test-utils/createShallow.js +0 -0
  641. /package/{components → es/old_components}/test-utils/getClasses.js +0 -0
  642. /package/{components → es/old_components}/test-utils/index.js +0 -0
  643. /package/{components → es/old_components}/test-utils/until.js +0 -0
  644. /package/{components → es/old_components}/test-utils/unwrap.js +0 -0
  645. /package/{components → es/old_components}/transitions/utils.js +0 -0
  646. /package/{components → es/old_components}/utils/helpers.js +0 -0
  647. /package/{components → es/old_components}/withMobileDialog/index.js +0 -0
  648. /package/{components → es/old_components}/withMobileDialog/withMobileDialog.js +0 -0
  649. /package/es/{components/styles → styles}/MuiThemeProvider.js +0 -0
  650. /package/es/{components/styles → styles}/colorManipulator.js +0 -0
  651. /package/es/{components/styles → styles}/createBreakpoints.js +0 -0
  652. /package/es/{components/styles → styles}/createGenerateClassName.js +0 -0
  653. /package/es/{components/styles → styles}/createMixins.js +0 -0
  654. /package/es/{components/styles → styles}/createMuiTheme.js +0 -0
  655. /package/es/{components/styles → styles}/createPalette.js +0 -0
  656. /package/es/{components/styles → styles}/createStyles.js +0 -0
  657. /package/es/{components/styles → styles}/createTypography.js +0 -0
  658. /package/es/{components/styles → styles}/getStylesCreator.js +0 -0
  659. /package/es/{components/styles → styles}/getThemeProps.js +0 -0
  660. /package/es/{components/styles → styles}/index.js +0 -0
  661. /package/es/{components/styles → styles}/jssPreset.js +0 -0
  662. /package/es/{components/styles → styles}/mergeClasses.js +0 -0
  663. /package/es/{components/styles → styles}/shadows.js +0 -0
  664. /package/es/{components/styles → styles}/shape.js +0 -0
  665. /package/es/{components/styles → styles}/spacing.js +0 -0
  666. /package/es/{components/styles → styles}/themeListener.js +0 -0
  667. /package/es/{components/styles → styles}/transitions.js +0 -0
  668. /package/es/{components/styles → styles}/withStyles.js +0 -0
  669. /package/es/{components/styles → styles}/withTheme.js +0 -0
  670. /package/es/{components/styles → styles}/zIndex.js +0 -0
  671. /package/es/{components/test-utils → test-utils}/createMount.js +0 -0
  672. /package/es/{components/test-utils → test-utils}/createRender.js +0 -0
  673. /package/es/{components/test-utils → test-utils}/createShallow.js +0 -0
  674. /package/es/{components/test-utils → test-utils}/getClasses.js +0 -0
  675. /package/es/{components/test-utils → test-utils}/index.js +0 -0
  676. /package/es/{components/test-utils → test-utils}/until.js +0 -0
  677. /package/es/{components/test-utils → test-utils}/unwrap.js +0 -0
  678. /package/es/{components/transitions → transitions}/utils.js +0 -0
  679. /package/es/{components/utils → utils}/helpers.js +0 -0
  680. /package/es/{components/withMobileDialog → withMobileDialog}/index.js +0 -0
  681. /package/es/{components/withMobileDialog → withMobileDialog}/withMobileDialog.js +0 -0
@@ -0,0 +1,390 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/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 = exports.styles = void 0;
9
+
10
+ var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
11
+
12
+ var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
13
+
14
+ var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
15
+
16
+ var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
17
+
18
+ var _assertThisInitialized2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/assertThisInitialized"));
19
+
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
+
22
+ var _defineProperty2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/defineProperty"));
23
+
24
+ var _objectSpread2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectSpread2"));
25
+
26
+ var _react = _interopRequireDefault(require("react"));
27
+
28
+ var _classnames = _interopRequireDefault(require("classnames"));
29
+
30
+ var _styles = require("@material-ui/core/styles");
31
+
32
+ var _HiIconButton = _interopRequireDefault(require("../HiIconButton"));
33
+
34
+ var _RemoveRedEye = _interopRequireDefault(require("@material-ui/icons/RemoveRedEye"));
35
+
36
+ var _Delete = _interopRequireDefault(require("@material-ui/icons/Delete"));
37
+
38
+ var styles = function styles(theme) {
39
+ return {
40
+ root: (0, _objectSpread2.default)({
41
+ position: 'relative'
42
+ }, theme.typography.body1, {
43
+ borderBottom: "1px solid ".concat(theme.palette.input.bottomLine),
44
+ paddingLeft: 8,
45
+ backgroundColor: theme.palette.background2,
46
+ height: 40,
47
+ display: 'inline-flex',
48
+ justifyContent: 'flex-start',
49
+ cursor: 'pointer',
50
+ '&$focused, &$dragOver': {
51
+ backgroundColor: theme.palette.background1
52
+ },
53
+ width: '100%',
54
+ // Ajout d'1px pour ne pas avoir de décalage en mode error avec le border top
55
+ '&:not($error)': {
56
+ marginTop: 1
57
+ }
58
+ }),
59
+ underline: {
60
+ '&:before': {
61
+ left: 0,
62
+ bottom: 0,
63
+ // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
64
+ content: '""',
65
+ height: 1,
66
+ position: 'absolute',
67
+ right: 0,
68
+ transition: theme.transitions.create('background-color', {
69
+ duration: theme.transitions.duration.shorter,
70
+ easing: theme.transitions.easing.ease
71
+ }),
72
+ pointerEvents: 'none' // Transparent to the hover style.
73
+
74
+ },
75
+ '&:hover:not($disabled):before': {
76
+ backgroundColor: theme.palette.input.bottomLine,
77
+ height: 2
78
+ },
79
+ '&$disabled:before': {
80
+ background: 'transparent',
81
+ backgroundImage: "linear-gradient(to right, ".concat(theme.palette.input.bottomLine, " 33%, transparent 0%)"),
82
+ backgroundPosition: 'left top',
83
+ backgroundRepeat: 'repeat-x',
84
+ backgroundSize: '5px 1px'
85
+ }
86
+ },
87
+ inkbar: {
88
+ '&:not($disabled)': {
89
+ '&:not($error):after': {
90
+ backgroundColor: theme.palette.primary.main,
91
+ left: 0,
92
+ bottom: 0,
93
+ // Doing the other way around crash on IE11 "''" https://github.com/cssinjs/jss/issues/242
94
+ content: '""',
95
+ height: 1,
96
+ position: 'absolute',
97
+ right: 0,
98
+ transform: 'scaleX(0)',
99
+ transition: theme.transitions.create('transform', {
100
+ duration: theme.transitions.duration.shorter,
101
+ easing: theme.transitions.easing.easeOut
102
+ }),
103
+ pointerEvents: 'none' // Transparent to the hover style.
104
+
105
+ },
106
+ '&:hover:after': {
107
+ transform: 'scaleX(1)'
108
+ },
109
+ '&$dragOver:after': {
110
+ transform: 'scaleX(1)'
111
+ },
112
+ '&$focused:after': {
113
+ transform: 'scaleX(1)'
114
+ },
115
+ '&$error': {
116
+ borderBottom: "1px solid ".concat(theme.palette.negative.main)
117
+ }
118
+ }
119
+ },
120
+ disabled: {
121
+ color: "".concat(theme.palette.action.disabled),
122
+ '&:before': {
123
+ display: 'none'
124
+ },
125
+ cursor: 'default'
126
+ },
127
+ focused: {
128
+ backgroundColor: theme.palette.background3
129
+ },
130
+ error: {},
131
+ label: (0, _objectSpread2.default)({}, theme.typography.body1, {
132
+ fontWeight: theme.typography.fontWeightRegular,
133
+ caretColor: theme.palette.primary.main,
134
+ alignItems: 'center',
135
+ whiteSpace: 'nowrap',
136
+ overflow: 'hidden',
137
+ textOverflow: 'ellipsis',
138
+ padding: "".concat(theme.spacing(2) - 2, "px 0 ").concat(theme.spacing(2) - 1, "px"),
139
+ height: 39,
140
+ display: 'inline-flex',
141
+ width: '100%',
142
+ cursor: 'pointer',
143
+ '&$empty': {
144
+ opacity: 0.42
145
+ }
146
+ }),
147
+ empty: {},
148
+ dragOver: {},
149
+ droppable: {},
150
+ endAdornment: {
151
+ display: 'flex',
152
+ alignItems: 'center'
153
+ },
154
+ icon: {
155
+ display: 'inline-flex',
156
+ alignItems: 'center',
157
+ right: 0,
158
+ padding: '8px',
159
+ color: "".concat(theme.palette.text.icon),
160
+ fontSize: 10,
161
+ transition: theme.transitions.create(['opacity', 'transform'], {
162
+ duration: theme.transitions.duration.shorter
163
+ }),
164
+ '&:hover': {
165
+ color: 'inherit',
166
+ background: 'none'
167
+ }
168
+ }
169
+ };
170
+ };
171
+
172
+ exports.styles = styles;
173
+
174
+ var _ref = _react.default.createElement(_RemoveRedEye.default, null);
175
+
176
+ var _ref2 = _react.default.createElement(_Delete.default, null);
177
+
178
+ var HiUploadInput =
179
+ /*#__PURE__*/
180
+ function (_React$Component) {
181
+ (0, _inherits2.default)(HiUploadInput, _React$Component);
182
+
183
+ function HiUploadInput(props) {
184
+ var _this;
185
+
186
+ (0, _classCallCheck2.default)(this, HiUploadInput);
187
+ _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(HiUploadInput).call(this, props));
188
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleDrop", function (event) {
189
+ if (event.target === _this.uploadFieldRef) {
190
+ event.preventDefault();
191
+ event.stopPropagation();
192
+
193
+ if (_this.state.droppable) {
194
+ var param = _this.handleFile(event.dataTransfer.files);
195
+
196
+ _this.setState({
197
+ dragOver: false
198
+ });
199
+
200
+ _this.props.onChange(param, _this.props.index);
201
+ } else {
202
+ _this.setState({
203
+ errorMessage: _this.props.translations.errorDropMultiple,
204
+ dragOver: false
205
+ });
206
+ }
207
+ }
208
+ });
209
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleDragEnter", function (event) {
210
+ event.preventDefault();
211
+ event.stopPropagation();
212
+
213
+ if (event.target === _this.uploadFieldRef) {
214
+ if (event.dataTransfer.items.length !== 1) {
215
+ event.dataTransfer.dropEffect = 'none';
216
+
217
+ _this.props.onChange({
218
+ errorMessage: _this.props.translations.errorDragEnter,
219
+ value: null
220
+ }, _this.props.index);
221
+
222
+ _this.setState({
223
+ dragOver: true
224
+ });
225
+ } else {
226
+ _this.setState({
227
+ droppable: true,
228
+ dragOver: true
229
+ });
230
+ }
231
+ }
232
+ });
233
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleDragLeave", function (event) {
234
+ event.preventDefault();
235
+ event.stopPropagation();
236
+
237
+ if (event.target === _this.uploadFieldRef && event.relatedTarget.parentElement !== _this.uploadFieldRef) {
238
+ _this.props.onChange({
239
+ errorMessage: '',
240
+ value: null
241
+ }, _this.props.index);
242
+
243
+ _this.setState({
244
+ droppable: false,
245
+ dragOver: false
246
+ });
247
+ }
248
+ });
249
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleChange", function (event) {
250
+ var param = _this.handleFile(event.target.files);
251
+
252
+ _this.props.onChange(param, _this.props.index);
253
+ });
254
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleDeleteFile", function () {
255
+ _this.props.onDeleteFile(_this.props.index);
256
+ });
257
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleEmptyField", function (event) {
258
+ event.target.value = '';
259
+ });
260
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleSeeFile", function () {
261
+ _this.props.onSeeFile(_this.props.value);
262
+ });
263
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFile", function (files) {
264
+ var error = false;
265
+ var errorMessage = '';
266
+ var file = null;
267
+
268
+ if (files.length === 1) {
269
+ file = files[0];
270
+ errorMessage = '';
271
+
272
+ if (file.size > _this.props.maxSize) {
273
+ errorMessage += _this.props.translations.errorSize.replace('maxSize', _this.props.maxSize / 1000000);
274
+ error = true;
275
+ }
276
+
277
+ if (_this.props.acceptedTypes.length !== 0 && _this.props.acceptedTypes.indexOf(file.type) === -1) {
278
+ errorMessage += _this.props.translations.errorType;
279
+ error = true;
280
+ }
281
+ } else {
282
+ errorMessage = _this.props.translations.errorDropMultiple;
283
+ }
284
+
285
+ return {
286
+ errorMessage: errorMessage,
287
+ error: error,
288
+ value: file
289
+ };
290
+ });
291
+ (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "uploadFieldRef", void 0);
292
+ _this.state = {
293
+ errorMessage: '',
294
+ dragOver: false,
295
+ droppable: false
296
+ };
297
+ return _this;
298
+ } // When component mounts, we add eventListeners to handle the file drag and drop
299
+
300
+
301
+ (0, _createClass2.default)(HiUploadInput, [{
302
+ key: "componentDidMount",
303
+ value: function componentDidMount() {
304
+ this.uploadFieldRef.addEventListener('dragenter', this.handleDragEnter, false);
305
+ this.uploadFieldRef.addEventListener('dragleave', this.handleDragLeave, false);
306
+ this.uploadFieldRef.addEventListener('dragover', function (event) {
307
+ event.preventDefault();
308
+ }, false);
309
+ this.uploadFieldRef.addEventListener('drop', this.handleDrop, false);
310
+ }
311
+ }, {
312
+ key: "componentWillUnmount",
313
+ value: function componentWillUnmount() {
314
+ this.uploadFieldRef.removeEventListener('dragenter', this.handleDragEnter, false);
315
+ this.uploadFieldRef.removeEventListener('dragleave', this.handleDragLeave, false);
316
+ this.uploadFieldRef.removeEventListener('dragover', function (event) {
317
+ event.preventDefault();
318
+ }, false);
319
+ this.uploadFieldRef.removeEventListener('drop', this.handleDrop, false);
320
+ } // Action when files are dropped on the field
321
+
322
+ }, {
323
+ key: "render",
324
+ value: function render() {
325
+ var _classNames,
326
+ _this2 = this;
327
+
328
+ var _this$props = this.props,
329
+ placeholder = _this$props.placeholder,
330
+ classes = _this$props.classes,
331
+ disabled = _this$props.disabled,
332
+ focused = _this$props.focused,
333
+ value = _this$props.value,
334
+ error = _this$props.error;
335
+ var _this$state = this.state,
336
+ dragOver = _this$state.dragOver,
337
+ errorMessage = _this$state.errorMessage,
338
+ droppable = _this$state.droppable; // On utilise classNames pour variabiliser les styles et merger les classes appliquées
339
+
340
+ var rootClass = (0, _classnames.default)(classes.root, classes.inkbar, classes.underline, (_classNames = {}, (0, _defineProperty2.default)(_classNames, classes.disabled, disabled), (0, _defineProperty2.default)(_classNames, classes.focused, focused), (0, _defineProperty2.default)(_classNames, classes.error, error && !focused), (0, _defineProperty2.default)(_classNames, classes.dragOver, dragOver), (0, _defineProperty2.default)(_classNames, classes.droppable, droppable), _classNames));
341
+
342
+ var eyeButton = _react.default.createElement(_HiIconButton.default, {
343
+ className: classes.icon,
344
+ onClick: this.handleSeeFile
345
+ }, _ref);
346
+
347
+ return _react.default.createElement("div", {
348
+ className: rootClass
349
+ }, _react.default.createElement("label", {
350
+ className: (0, _classnames.default)(classes.label, (0, _defineProperty2.default)({}, classes.empty, value === null)),
351
+ ref: function ref(label) {
352
+ _this2.uploadFieldRef = label;
353
+ }
354
+ }, value ? value.name : error && errorMessage || placeholder, _react.default.createElement("input", {
355
+ type: 'file',
356
+ onClick: this.handleEmptyField,
357
+ hidden: true,
358
+ onChange: this.handleChange
359
+ })), value === null || _react.default.createElement("div", {
360
+ className: classes.endAdornment
361
+ }, this.props.seeFile && eyeButton, _react.default.createElement(_HiIconButton.default, {
362
+ className: classes.icon,
363
+ onClick: this.handleDeleteFile
364
+ }, _ref2)));
365
+ }
366
+ }]);
367
+ return HiUploadInput;
368
+ }(_react.default.Component);
369
+
370
+ (0, _defineProperty2.default)(HiUploadInput, "defaultProps", {
371
+ placeholder: 'Choose a file',
372
+ disabled: false,
373
+ focused: false,
374
+ acceptedTypes: [],
375
+ maxSize: 10000000,
376
+ value: null,
377
+ translations: {
378
+ errorSize: "Votre fichier est trop lourd. Nous acceptons jusqu'à maxSizeMo",
379
+ errorDropMultiple: 'Veuillez insérer un et un seul fichier',
380
+ errorType: "Ce type de fichier n'est pas accepté",
381
+ errorDragEnter: 'Contenu non correct'
382
+ }
383
+ });
384
+
385
+ var _default = (0, _styles.withStyles)(styles, {
386
+ hiComponent: true,
387
+ name: 'HmuiHiUploadInput'
388
+ })(HiUploadInput);
389
+
390
+ exports.default = _default;
@@ -0,0 +1,95 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/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, "HiAddressField", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _HiAddressField.default;
12
+ }
13
+ });
14
+ Object.defineProperty(exports, "HiEmailField", {
15
+ enumerable: true,
16
+ get: function get() {
17
+ return _HiEmailField.default;
18
+ }
19
+ });
20
+ Object.defineProperty(exports, "HiFormControl", {
21
+ enumerable: true,
22
+ get: function get() {
23
+ return _HiFormControl.default;
24
+ }
25
+ });
26
+ Object.defineProperty(exports, "HiFormLabel", {
27
+ enumerable: true,
28
+ get: function get() {
29
+ return _HiFormLabel.default;
30
+ }
31
+ });
32
+ Object.defineProperty(exports, "HiInput", {
33
+ enumerable: true,
34
+ get: function get() {
35
+ return _HiInput.default;
36
+ }
37
+ });
38
+ Object.defineProperty(exports, "HiPasswordField", {
39
+ enumerable: true,
40
+ get: function get() {
41
+ return _HiPasswordField.default;
42
+ }
43
+ });
44
+ Object.defineProperty(exports, "HiSearchField", {
45
+ enumerable: true,
46
+ get: function get() {
47
+ return _HiSearchField.default;
48
+ }
49
+ });
50
+ Object.defineProperty(exports, "HiSlider", {
51
+ enumerable: true,
52
+ get: function get() {
53
+ return _HiSlider.default;
54
+ }
55
+ });
56
+ Object.defineProperty(exports, "HiTextField", {
57
+ enumerable: true,
58
+ get: function get() {
59
+ return _HiTextField.default;
60
+ }
61
+ });
62
+ Object.defineProperty(exports, "HiUpload", {
63
+ enumerable: true,
64
+ get: function get() {
65
+ return _HiUpload.default;
66
+ }
67
+ });
68
+ Object.defineProperty(exports, "HiUploadField", {
69
+ enumerable: true,
70
+ get: function get() {
71
+ return _HiUploadField.default;
72
+ }
73
+ });
74
+
75
+ var _HiAddressField = _interopRequireDefault(require("./HiAddressField"));
76
+
77
+ var _HiEmailField = _interopRequireDefault(require("./HiEmailField"));
78
+
79
+ var _HiFormControl = _interopRequireDefault(require("./HiFormControl"));
80
+
81
+ var _HiFormLabel = _interopRequireDefault(require("./HiFormLabel"));
82
+
83
+ var _HiInput = _interopRequireDefault(require("./HiInput"));
84
+
85
+ var _HiPasswordField = _interopRequireDefault(require("./HiPasswordField"));
86
+
87
+ var _HiSearchField = _interopRequireDefault(require("./HiSearchField"));
88
+
89
+ var _HiSlider = _interopRequireDefault(require("./HiSlider"));
90
+
91
+ var _HiTextField = _interopRequireDefault(require("./HiTextField"));
92
+
93
+ var _HiUpload = _interopRequireDefault(require("./HiUpload"));
94
+
95
+ var _HiUploadField = _interopRequireDefault(require("./HiUploadField"));
@@ -0,0 +1,114 @@
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
+ Object.defineProperty(exports, "__esModule", {
8
+ value: true
9
+ });
10
+ exports.default = exports.useStyles = void 0;
11
+
12
+ var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
13
+
14
+ var _objectWithoutProperties2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties"));
15
+
16
+ var _react = _interopRequireDefault(require("react"));
17
+
18
+ var _classnames = _interopRequireDefault(require("classnames"));
19
+
20
+ var _Icon = _interopRequireDefault(require("@material-ui/core/Icon"));
21
+
22
+ var _styles = require("@material-ui/core/styles");
23
+
24
+ var _helpers = require("../utils/helpers");
25
+
26
+ var hiSvgIcons = _interopRequireWildcard(require("../hi-svg-icons"));
27
+
28
+ var mdi = _interopRequireWildcard(require("mdi-material-ui"));
29
+
30
+ var useStyles = (0, _styles.makeStyles)(function (theme) {
31
+ return {
32
+ /* Styles applied to the root element. */
33
+ root: {
34
+ color: function color(props) {
35
+ if (theme.palette[props.color]) {
36
+ return theme.palette[props.color].main;
37
+ }
38
+
39
+ return theme.palette.primary.main;
40
+ }
41
+ },
42
+ faIcon: {
43
+ fontSize: 20
44
+ }
45
+ };
46
+ });
47
+ exports.useStyles = useStyles;
48
+
49
+ function HiIcon(props) {
50
+ var children = props.children,
51
+ className = props.className,
52
+ icon = props.icon,
53
+ size = props.size,
54
+ _color = props.color,
55
+ other = (0, _objectWithoutProperties2.default)(props, ["children", "className", "icon", "size", "color"]);
56
+ var classes = useStyles(props);
57
+ var iconName = icon !== null ? icon : children;
58
+ var theme = (0, _styles.useTheme)();
59
+ var color = ['primary', 'secondary', 'neutral', 'positive', 'middle', 'negative'].includes(_color) ? theme.palette[_color].main : _color; // Line Awesome icons
60
+
61
+ if (iconName && iconName.indexOf('fa-') === 0) {
62
+ return _react.default.createElement("i", (0, _extends2.default)({
63
+ className: (0, _classnames.default)('fa', iconName, className, classes.root),
64
+ style: {
65
+ fontSize: size
66
+ }
67
+ }, other));
68
+ } // Specific HiPay icons
69
+
70
+
71
+ if (iconName && iconName.indexOf('hi_') === 0) {
72
+ var IconName = hiSvgIcons[(0, _helpers.capitalize)((0, _helpers.camelize)(iconName))];
73
+ return _react.default.createElement(IconName, (0, _extends2.default)({
74
+ className: (0, _classnames.default)(classes.root, className),
75
+ color: color,
76
+ width: size,
77
+ height: size
78
+ }, other));
79
+ }
80
+
81
+ color = ['primary', 'secondary', 'negative'].includes(_color) ? _color : 'inherit';
82
+
83
+ if (color === 'negative') {
84
+ color = 'error';
85
+ } // MDI - Material Design Icons - https://materialdesignicons.com
86
+
87
+
88
+ if (iconName && iconName.indexOf('mdi_') === 0) {
89
+ var _IconName = mdi[(0, _helpers.capitalize)((0, _helpers.camelize)(iconName.slice(4)))];
90
+ return _react.default.createElement(_IconName, (0, _extends2.default)({
91
+ color: color,
92
+ style: {
93
+ fontSize: size
94
+ }
95
+ }, other));
96
+ } // @material-ui/icons
97
+
98
+
99
+ return _react.default.createElement(_Icon.default, (0, _extends2.default)({
100
+ className: (0, _classnames.default)(classes.root, className),
101
+ color: color,
102
+ style: {
103
+ fontSize: size
104
+ }
105
+ }, other), iconName);
106
+ }
107
+
108
+ HiIcon.defaultProps = {
109
+ color: 'neutral',
110
+ icon: null,
111
+ size: 20
112
+ };
113
+ var _default = HiIcon;
114
+ exports.default = _default;
@@ -0,0 +1,15 @@
1
+ "use strict";
2
+
3
+ var _interopRequireDefault = require("/home/mfazio/dev/projects/hmui-styleguide/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, "default", {
9
+ enumerable: true,
10
+ get: function get() {
11
+ return _HiIcon.default;
12
+ }
13
+ });
14
+
15
+ var _HiIcon = _interopRequireDefault(require("./HiIcon"));