@hipay/hipay-material-ui 2.3.0-rcstyleguide-beta5 → 2.3.1-rc1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (666) hide show
  1. package/HiAlertModal/HiAlertModal.js +10 -10
  2. package/HiAlertModal/index.js +1 -1
  3. package/HiAppBar/HiAppBar.js +8 -8
  4. package/HiAppBar/index.js +1 -1
  5. package/HiBadge/HiBadge.js +2 -2
  6. package/HiBadge/index.js +1 -1
  7. package/HiBreadcrumb/HiBreadcrumb.js +8 -8
  8. package/HiBreadcrumb/HiStep.js +9 -9
  9. package/HiBreadcrumb/HiStepConnector.js +10 -10
  10. package/HiBreadcrumb/HiStepContent.js +7 -7
  11. package/HiBreadcrumb/HiStepIcon.js +7 -7
  12. package/HiBreadcrumb/HiStepLabel.js +10 -10
  13. package/HiBreadcrumb/HiStepper.js +8 -8
  14. package/HiBreadcrumb/index.js +1 -1
  15. package/HiButton/HiButton.js +2 -2
  16. package/HiButton/index.js +1 -1
  17. package/HiCell/CellAddress.js +7 -7
  18. package/HiCell/CellDate.js +8 -8
  19. package/HiCell/CellIcon.js +7 -7
  20. package/HiCell/CellImage.js +7 -7
  21. package/HiCell/CellNumeric.js +7 -7
  22. package/HiCell/CellPinToAction.js +6 -6
  23. package/HiCell/CellRate.js +7 -7
  24. package/HiCell/CellSentinel.js +7 -7
  25. package/HiCell/CellSentinelScore.js +7 -7
  26. package/HiCell/CellText.js +9 -9
  27. package/HiCell/CellTextStyled.js +1 -1
  28. package/HiCell/index.js +1 -1
  29. package/HiCheckbox/HiCheckbox.js +11 -11
  30. package/HiCheckbox/index.js +1 -1
  31. package/HiChip/HiChip.js +3 -4
  32. package/HiChip/HiChipSwitch.js +10 -10
  33. package/HiChip/index.js +1 -1
  34. package/HiColoredLabel/HiColoredLabel.js +5 -5
  35. package/HiColoredLabel/index.js +1 -1
  36. package/HiDatePicker/Caption.js +2 -2
  37. package/HiDatePicker/HiDatePicker.js +12 -12
  38. package/HiDatePicker/HiDatePickerMobile.js +9 -9
  39. package/HiDatePicker/HiDateRangePicker.js +11 -11
  40. package/HiDatePicker/HiDateRangeSelector.js +33 -14
  41. package/HiDatePicker/ListPicker.js +8 -8
  42. package/HiDatePicker/NavBar.js +1 -1
  43. package/HiDatePicker/Overlays/CustomOverlayLayout.js +4 -4
  44. package/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -4
  45. package/HiDatePicker/Overlays/MonthPickerOverlay.js +10 -10
  46. package/HiDatePicker/Overlays/Overlay.js +4 -4
  47. package/HiDatePicker/Overlays/TimePickerOverlay.js +11 -11
  48. package/HiDatePicker/Overlays/YearPickerOverlay.js +10 -10
  49. package/HiDatePicker/Overlays/index.js +1 -1
  50. package/HiDatePicker/Weekday.js +1 -1
  51. package/HiDatePicker/index.js +1 -1
  52. package/HiDatePicker/stylesheet.js +2 -2
  53. package/HiDotsStepper/HiDot.js +9 -9
  54. package/HiDotsStepper/HiDotsStepper.js +8 -8
  55. package/HiDotsStepper/index.js +23 -0
  56. package/HiExpansionPanel/HiExpansionPanel.js +38 -14
  57. package/HiExpansionPanel/index.js +1 -1
  58. package/HiForm/HiAddressField.js +10 -10
  59. package/HiForm/HiEmailField.js +10 -10
  60. package/HiForm/HiFormControl.js +11 -11
  61. package/HiForm/HiFormLabel.js +10 -10
  62. package/HiForm/HiInput.js +9 -9
  63. package/HiForm/HiPasswordField.js +11 -11
  64. package/HiForm/HiSearchField.js +10 -10
  65. package/HiForm/HiSlider.js +9 -9
  66. package/HiForm/HiTextField.js +9 -9
  67. package/HiForm/HiUpload.js +10 -10
  68. package/HiForm/HiUploadField.js +9 -9
  69. package/HiForm/HiUploadInput.js +9 -9
  70. package/HiForm/index.js +1 -1
  71. package/HiIcon/HiIcon.js +5 -6
  72. package/HiIcon/index.js +1 -1
  73. package/HiIconButton/HiIconButton.js +4 -4
  74. package/HiIconButton/index.js +1 -1
  75. package/HiLoader/HiLoader.js +2 -2
  76. package/HiLoader/index.js +1 -1
  77. package/HiMap/HiMap.js +8 -8
  78. package/HiMap/HiMapExpand.js +9 -9
  79. package/HiMap/index.js +1 -1
  80. package/HiNotice/HiKPI.js +14 -13
  81. package/HiNotice/HiKPINotice.js +1 -1
  82. package/HiNotice/index.js +1 -1
  83. package/HiPaymentMeans/HiPaymentMeans.js +8 -8
  84. package/HiPaymentMeans/index.js +1 -1
  85. package/HiPdfReader/HiPdfReader.js +10 -10
  86. package/HiPdfReader/index.js +1 -1
  87. package/HiPin/HiPin.js +3 -3
  88. package/HiPin/index.js +1 -1
  89. package/HiRadio/HiRadio.js +1 -1
  90. package/HiRadio/index.js +1 -1
  91. package/HiSelect/HiDynamicSelect.js +12 -12
  92. package/HiSelect/HiDynamicSelectField.js +8 -8
  93. package/HiSelect/HiNestedSelect.js +12 -12
  94. package/HiSelect/HiNestedSelectContent.js +12 -12
  95. package/HiSelect/HiNestedSelectField.js +8 -8
  96. package/HiSelect/HiSelect.js +11 -11
  97. package/HiSelect/HiSelectContent.js +11 -11
  98. package/HiSelect/HiSelectField.js +8 -8
  99. package/HiSelect/HiSelectInput.js +9 -9
  100. package/HiSelect/HiSelectMobile.js +11 -11
  101. package/HiSelect/HiSuggestSelect.js +10 -10
  102. package/HiSelect/HiSuggestSelectField.js +8 -8
  103. package/HiSelect/index.js +2 -2
  104. package/HiSelectableList/HiSelectableList.js +11 -11
  105. package/HiSelectableList/HiSelectableListHierarchic.js +10 -10
  106. package/HiSelectableList/HiSelectableListItem.js +10 -10
  107. package/HiSelectableList/index.js +1 -1
  108. package/HiSwitch/HiSwitch.js +4 -4
  109. package/HiSwitch/HiSwitchState.js +2 -2
  110. package/HiSwitch/index.js +1 -1
  111. package/HiTable/HiCellBuilder.js +9 -9
  112. package/HiTable/HiTable.js +8 -8
  113. package/HiTable/HiTableBody.js +6 -6
  114. package/HiTable/HiTableHeader.js +9 -9
  115. package/HiTable/HiTableRow.js +11 -10
  116. package/HiTable/constants.js +2 -2
  117. package/HiTable/index.js +1 -1
  118. package/README.md +267 -37
  119. package/es/HiAlertModal/HiAlertModal.js +10 -10
  120. package/es/HiAlertModal/index.js +1 -1
  121. package/es/HiAppBar/HiAppBar.js +8 -8
  122. package/es/HiAppBar/index.js +1 -1
  123. package/es/HiBadge/HiBadge.js +2 -2
  124. package/es/HiBadge/index.js +1 -1
  125. package/es/HiBreadcrumb/HiBreadcrumb.js +8 -8
  126. package/es/HiBreadcrumb/HiStep.js +9 -9
  127. package/es/HiBreadcrumb/HiStepConnector.js +10 -10
  128. package/es/HiBreadcrumb/HiStepContent.js +7 -7
  129. package/es/HiBreadcrumb/HiStepIcon.js +7 -7
  130. package/es/HiBreadcrumb/HiStepLabel.js +10 -10
  131. package/es/HiBreadcrumb/HiStepper.js +8 -8
  132. package/es/HiBreadcrumb/index.js +1 -1
  133. package/es/HiButton/HiButton.js +2 -2
  134. package/es/HiButton/index.js +1 -1
  135. package/es/HiCell/CellAddress.js +7 -7
  136. package/es/HiCell/CellDate.js +8 -8
  137. package/es/HiCell/CellIcon.js +7 -7
  138. package/es/HiCell/CellImage.js +7 -7
  139. package/es/HiCell/CellNumeric.js +7 -7
  140. package/es/HiCell/CellPinToAction.js +6 -6
  141. package/es/HiCell/CellRate.js +7 -7
  142. package/es/HiCell/CellSentinel.js +7 -7
  143. package/es/HiCell/CellSentinelScore.js +7 -7
  144. package/es/HiCell/CellText.js +9 -9
  145. package/es/HiCell/CellTextStyled.js +1 -1
  146. package/es/HiCell/index.js +1 -1
  147. package/es/HiCheckbox/HiCheckbox.js +11 -11
  148. package/es/HiCheckbox/index.js +1 -1
  149. package/es/HiChip/HiChip.js +3 -4
  150. package/es/HiChip/HiChipSwitch.js +10 -10
  151. package/es/HiChip/index.js +1 -1
  152. package/es/HiColoredLabel/HiColoredLabel.js +5 -5
  153. package/es/HiColoredLabel/index.js +1 -1
  154. package/es/HiDatePicker/Caption.js +2 -2
  155. package/es/HiDatePicker/HiDatePicker.js +12 -12
  156. package/es/HiDatePicker/HiDatePickerMobile.js +9 -9
  157. package/es/HiDatePicker/HiDateRangePicker.js +11 -11
  158. package/es/HiDatePicker/HiDateRangeSelector.js +33 -14
  159. package/es/HiDatePicker/ListPicker.js +8 -8
  160. package/es/HiDatePicker/NavBar.js +1 -1
  161. package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +4 -4
  162. package/es/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +4 -4
  163. package/es/HiDatePicker/Overlays/MonthPickerOverlay.js +10 -10
  164. package/es/HiDatePicker/Overlays/Overlay.js +4 -4
  165. package/es/HiDatePicker/Overlays/TimePickerOverlay.js +11 -11
  166. package/es/HiDatePicker/Overlays/YearPickerOverlay.js +10 -10
  167. package/es/HiDatePicker/Overlays/index.js +1 -1
  168. package/es/HiDatePicker/Weekday.js +1 -1
  169. package/es/HiDatePicker/index.js +1 -1
  170. package/es/HiDatePicker/stylesheet.js +2 -2
  171. package/es/HiDotsStepper/HiDot.js +9 -9
  172. package/es/HiDotsStepper/HiDotsStepper.js +8 -8
  173. package/es/HiDotsStepper/index.js +23 -0
  174. package/es/HiExpansionPanel/HiExpansionPanel.js +38 -14
  175. package/es/HiExpansionPanel/index.js +1 -1
  176. package/es/HiForm/HiAddressField.js +10 -10
  177. package/es/HiForm/HiEmailField.js +10 -10
  178. package/es/HiForm/HiFormControl.js +11 -11
  179. package/es/HiForm/HiFormLabel.js +10 -10
  180. package/es/HiForm/HiInput.js +9 -9
  181. package/es/HiForm/HiPasswordField.js +11 -11
  182. package/es/HiForm/HiSearchField.js +10 -10
  183. package/es/HiForm/HiSlider.js +9 -9
  184. package/es/HiForm/HiTextField.js +9 -9
  185. package/es/HiForm/HiUpload.js +10 -10
  186. package/es/HiForm/HiUploadField.js +9 -9
  187. package/es/HiForm/HiUploadInput.js +9 -9
  188. package/es/HiForm/index.js +1 -1
  189. package/es/HiIcon/HiIcon.js +5 -6
  190. package/es/HiIcon/index.js +1 -1
  191. package/es/HiIconButton/HiIconButton.js +4 -4
  192. package/es/HiIconButton/index.js +1 -1
  193. package/es/HiLoader/HiLoader.js +2 -2
  194. package/es/HiLoader/index.js +1 -1
  195. package/es/HiMap/HiMap.js +8 -8
  196. package/es/HiMap/HiMapExpand.js +9 -9
  197. package/es/HiMap/index.js +1 -1
  198. package/es/HiNotice/HiKPI.js +14 -13
  199. package/es/HiNotice/HiKPINotice.js +1 -1
  200. package/es/HiNotice/index.js +1 -1
  201. package/es/HiPaymentMeans/HiPaymentMeans.js +8 -8
  202. package/es/HiPaymentMeans/index.js +1 -1
  203. package/es/HiPdfReader/HiPdfReader.js +10 -10
  204. package/es/HiPdfReader/index.js +1 -1
  205. package/es/HiPin/HiPin.js +3 -3
  206. package/es/HiPin/index.js +1 -1
  207. package/es/HiRadio/HiRadio.js +1 -1
  208. package/es/HiRadio/index.js +1 -1
  209. package/es/HiSelect/HiDynamicSelect.js +12 -12
  210. package/es/HiSelect/HiDynamicSelectField.js +8 -8
  211. package/es/HiSelect/HiNestedSelect.js +12 -12
  212. package/es/HiSelect/HiNestedSelectContent.js +12 -12
  213. package/es/HiSelect/HiNestedSelectField.js +8 -8
  214. package/es/HiSelect/HiSelect.js +11 -11
  215. package/es/HiSelect/HiSelectContent.js +11 -11
  216. package/es/HiSelect/HiSelectField.js +8 -8
  217. package/es/HiSelect/HiSelectInput.js +9 -9
  218. package/es/HiSelect/HiSelectMobile.js +11 -11
  219. package/es/HiSelect/HiSuggestSelect.js +10 -10
  220. package/es/HiSelect/HiSuggestSelectField.js +8 -8
  221. package/es/HiSelect/index.js +2 -2
  222. package/es/HiSelectableList/HiSelectableList.js +11 -11
  223. package/es/HiSelectableList/HiSelectableListHierarchic.js +10 -10
  224. package/es/HiSelectableList/HiSelectableListItem.js +10 -10
  225. package/es/HiSelectableList/index.js +1 -1
  226. package/es/HiSwitch/HiSwitch.js +4 -4
  227. package/es/HiSwitch/HiSwitchState.js +2 -2
  228. package/es/HiSwitch/index.js +1 -1
  229. package/es/HiTable/HiCellBuilder.js +9 -9
  230. package/es/HiTable/HiTable.js +8 -8
  231. package/es/HiTable/HiTableBody.js +6 -6
  232. package/es/HiTable/HiTableHeader.js +9 -9
  233. package/es/HiTable/HiTableRow.js +11 -10
  234. package/es/HiTable/constants.js +2 -2
  235. package/es/HiTable/index.js +1 -1
  236. package/es/hi-svg-icons/HiAccount.js +21 -9
  237. package/es/hi-svg-icons/HiActivity.js +21 -9
  238. package/es/hi-svg-icons/HiAll.js +21 -9
  239. package/es/hi-svg-icons/HiBilling.js +21 -9
  240. package/es/hi-svg-icons/HiBriefcaseRescue.js +22 -10
  241. package/es/hi-svg-icons/HiCatalog.js +22 -7
  242. package/es/hi-svg-icons/HiCustomer.js +22 -7
  243. package/es/hi-svg-icons/HiDownload.js +13 -5
  244. package/es/hi-svg-icons/HiFinance.js +22 -7
  245. package/es/hi-svg-icons/HiPermission.js +22 -7
  246. package/es/hi-svg-icons/HiRoute.js +22 -7
  247. package/es/hi-svg-icons/HiSettlement.js +22 -7
  248. package/es/hi-svg-icons/HiSizeLarge.js +5 -3
  249. package/es/hi-svg-icons/HiSizeMedium.js +3 -3
  250. package/es/hi-svg-icons/HiSizeSmall.js +3 -3
  251. package/es/hi-svg-icons/HiTransaction.js +22 -7
  252. package/es/hi-svg-icons/HiUser.js +22 -7
  253. package/es/hi-svg-icons/HiWidget.js +22 -7
  254. package/es/hi-svg-icons/index.js +1 -1
  255. package/es/hi-svg-icons/index.text.js +51 -0
  256. package/es/styleguide/Wrapper.js +7 -7
  257. package/es/styles/MuiThemeProvider.js +10 -10
  258. package/es/styles/colorManipulator.js +1 -1
  259. package/es/styles/createBreakpoints.js +3 -3
  260. package/es/styles/createGenerateClassName.js +1 -1
  261. package/es/styles/createMixins.js +3 -3
  262. package/es/styles/createMuiTheme.js +3 -3
  263. package/es/styles/createPalette.js +3 -3
  264. package/es/styles/createTypography.js +3 -3
  265. package/es/styles/getStylesCreator.js +3 -3
  266. package/es/styles/index.js +2 -18
  267. package/es/styles/jssPreset.js +1 -1
  268. package/es/styles/mergeClasses.js +2 -2
  269. package/es/styles/themeListener.js +2 -2
  270. package/es/styles/transitions.js +2 -2
  271. package/es/test-utils/createMount.js +3 -3
  272. package/es/test-utils/createRender.js +3 -3
  273. package/es/test-utils/createShallow.js +3 -3
  274. package/es/test-utils/index.js +1 -1
  275. package/es/test-utils/until.js +3 -3
  276. package/es/utils/exactProp.js +43 -0
  277. package/es/utils/helpers.js +3 -3
  278. package/es/withMobileDialog/index.js +1 -1
  279. package/es/withMobileDialog/withMobileDialog.js +3 -3
  280. package/hi-svg-icons/HiAccount.js +21 -9
  281. package/hi-svg-icons/HiActivity.js +21 -9
  282. package/hi-svg-icons/HiAll.js +21 -9
  283. package/hi-svg-icons/HiBilling.js +21 -9
  284. package/hi-svg-icons/HiBriefcaseRescue.js +22 -10
  285. package/hi-svg-icons/HiCatalog.js +22 -7
  286. package/hi-svg-icons/HiCustomer.js +22 -7
  287. package/hi-svg-icons/HiDownload.js +13 -5
  288. package/hi-svg-icons/HiFinance.js +22 -7
  289. package/hi-svg-icons/HiPermission.js +22 -7
  290. package/hi-svg-icons/HiRoute.js +22 -7
  291. package/hi-svg-icons/HiSettlement.js +22 -7
  292. package/hi-svg-icons/HiSizeLarge.js +5 -3
  293. package/hi-svg-icons/HiSizeMedium.js +3 -3
  294. package/hi-svg-icons/HiSizeSmall.js +3 -3
  295. package/hi-svg-icons/HiTransaction.js +22 -7
  296. package/hi-svg-icons/HiUser.js +22 -7
  297. package/hi-svg-icons/HiWidget.js +22 -7
  298. package/hi-svg-icons/index.js +1 -1
  299. package/hi-svg-icons/index.text.js +51 -0
  300. package/package.json +14 -4
  301. package/styleguide/Wrapper.js +7 -7
  302. package/styles/MuiThemeProvider.js +10 -10
  303. package/styles/colorManipulator.js +1 -1
  304. package/styles/createBreakpoints.js +3 -3
  305. package/styles/createGenerateClassName.js +1 -1
  306. package/styles/createMixins.js +3 -3
  307. package/styles/createMuiTheme.js +3 -3
  308. package/styles/createPalette.js +3 -3
  309. package/styles/createTypography.js +3 -3
  310. package/styles/getStylesCreator.js +3 -3
  311. package/styles/index.js +2 -18
  312. package/styles/jssPreset.js +1 -1
  313. package/styles/mergeClasses.js +2 -2
  314. package/styles/themeListener.js +2 -2
  315. package/styles/transitions.js +2 -2
  316. package/test-utils/createMount.js +3 -3
  317. package/test-utils/createRender.js +3 -3
  318. package/test-utils/createShallow.js +3 -3
  319. package/test-utils/index.js +1 -1
  320. package/test-utils/until.js +3 -3
  321. package/utils/exactProp.js +43 -0
  322. package/utils/helpers.js +3 -3
  323. package/withMobileDialog/index.js +1 -1
  324. package/withMobileDialog/withMobileDialog.js +3 -3
  325. package/es/old_components/HiAlertModal/HiAlertModal.js +0 -231
  326. package/es/old_components/HiAlertModal/index.js +0 -15
  327. package/es/old_components/HiAppBar/HiAppBar.js +0 -136
  328. package/es/old_components/HiAppBar/index.js +0 -15
  329. package/es/old_components/HiBadge/HiBadge.js +0 -103
  330. package/es/old_components/HiBadge/index.js +0 -15
  331. package/es/old_components/HiBreadcrumb/HiBreadcrumb.js +0 -105
  332. package/es/old_components/HiBreadcrumb/HiStep.js +0 -128
  333. package/es/old_components/HiBreadcrumb/HiStepConnector.js +0 -164
  334. package/es/old_components/HiBreadcrumb/HiStepContent.js +0 -97
  335. package/es/old_components/HiBreadcrumb/HiStepIcon.js +0 -154
  336. package/es/old_components/HiBreadcrumb/HiStepLabel.js +0 -173
  337. package/es/old_components/HiBreadcrumb/HiStepper.js +0 -81
  338. package/es/old_components/HiBreadcrumb/index.js +0 -15
  339. package/es/old_components/HiButton/HiButton.js +0 -92
  340. package/es/old_components/HiButton/index.js +0 -13
  341. package/es/old_components/HiCell/CellAddress.js +0 -98
  342. package/es/old_components/HiCell/CellDate.js +0 -110
  343. package/es/old_components/HiCell/CellIcon.js +0 -129
  344. package/es/old_components/HiCell/CellImage.js +0 -115
  345. package/es/old_components/HiCell/CellNumeric.js +0 -91
  346. package/es/old_components/HiCell/CellPinToAction.js +0 -73
  347. package/es/old_components/HiCell/CellRate.js +0 -150
  348. package/es/old_components/HiCell/CellSentinel.js +0 -91
  349. package/es/old_components/HiCell/CellSentinelScore.js +0 -94
  350. package/es/old_components/HiCell/CellText.js +0 -228
  351. package/es/old_components/HiCell/CellTextStyled.js +0 -92
  352. package/es/old_components/HiCell/index.js +0 -79
  353. package/es/old_components/HiCheckbox/HiCheckbox.js +0 -175
  354. package/es/old_components/HiCheckbox/index.js +0 -15
  355. package/es/old_components/HiChip/HiChip.js +0 -227
  356. package/es/old_components/HiChip/HiChipSwitch.js +0 -249
  357. package/es/old_components/HiChip/index.js +0 -23
  358. package/es/old_components/HiColoredLabel/HiColoredLabel.js +0 -179
  359. package/es/old_components/HiColoredLabel/index.js +0 -15
  360. package/es/old_components/HiDatePicker/Caption.js +0 -57
  361. package/es/old_components/HiDatePicker/HiDatePicker.js +0 -357
  362. package/es/old_components/HiDatePicker/HiDatePickerMobile.js +0 -106
  363. package/es/old_components/HiDatePicker/HiDateRangePicker.js +0 -641
  364. package/es/old_components/HiDatePicker/HiDateRangeSelector.js +0 -464
  365. package/es/old_components/HiDatePicker/ListPicker.js +0 -136
  366. package/es/old_components/HiDatePicker/NavBar.js +0 -106
  367. package/es/old_components/HiDatePicker/Overlays/CustomOverlayLayout.js +0 -111
  368. package/es/old_components/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +0 -103
  369. package/es/old_components/HiDatePicker/Overlays/MonthPickerOverlay.js +0 -89
  370. package/es/old_components/HiDatePicker/Overlays/Overlay.js +0 -77
  371. package/es/old_components/HiDatePicker/Overlays/TimePickerOverlay.js +0 -217
  372. package/es/old_components/HiDatePicker/Overlays/YearPickerOverlay.js +0 -110
  373. package/es/old_components/HiDatePicker/Overlays/index.js +0 -47
  374. package/es/old_components/HiDatePicker/Weekday.js +0 -25
  375. package/es/old_components/HiDatePicker/hiLocaleUtils.js +0 -144
  376. package/es/old_components/HiDatePicker/index.js +0 -15
  377. package/es/old_components/HiDatePicker/stylesheet.js +0 -266
  378. package/es/old_components/HiDotsStepper/HiDot.js +0 -102
  379. package/es/old_components/HiDotsStepper/HiDotsStepper.js +0 -111
  380. package/es/old_components/HiExpansionPanel/HiExpansionPanel.js +0 -194
  381. package/es/old_components/HiExpansionPanel/index.js +0 -13
  382. package/es/old_components/HiForm/HiAddressField.js +0 -153
  383. package/es/old_components/HiForm/HiEmailField.js +0 -81
  384. package/es/old_components/HiForm/HiFormControl.js +0 -306
  385. package/es/old_components/HiForm/HiFormLabel.js +0 -125
  386. package/es/old_components/HiForm/HiInput.js +0 -459
  387. package/es/old_components/HiForm/HiPasswordField.js +0 -113
  388. package/es/old_components/HiForm/HiSearchField.js +0 -157
  389. package/es/old_components/HiForm/HiSlider.js +0 -281
  390. package/es/old_components/HiForm/HiTextField.js +0 -170
  391. package/es/old_components/HiForm/HiUpload.js +0 -385
  392. package/es/old_components/HiForm/HiUploadField.js +0 -90
  393. package/es/old_components/HiForm/HiUploadInput.js +0 -390
  394. package/es/old_components/HiForm/index.js +0 -95
  395. package/es/old_components/HiIcon/HiIcon.js +0 -114
  396. package/es/old_components/HiIcon/index.js +0 -15
  397. package/es/old_components/HiIconButton/HiIconButton.js +0 -104
  398. package/es/old_components/HiIconButton/index.js +0 -15
  399. package/es/old_components/HiLoader/HiLoader.js +0 -49
  400. package/es/old_components/HiLoader/index.js +0 -15
  401. package/es/old_components/HiMap/HiMap.js +0 -317
  402. package/es/old_components/HiMap/HiMapExpand.js +0 -200
  403. package/es/old_components/HiMap/index.js +0 -23
  404. package/es/old_components/HiNotice/HiKPI.js +0 -186
  405. package/es/old_components/HiNotice/HiKPINotice.js +0 -69
  406. package/es/old_components/HiNotice/index.js +0 -23
  407. package/es/old_components/HiPaymentMeans/HiPaymentMeans.js +0 -576
  408. package/es/old_components/HiPaymentMeans/index.js +0 -15
  409. package/es/old_components/HiPdfReader/HiPdfReader.js +0 -245
  410. package/es/old_components/HiPdfReader/index.js +0 -15
  411. package/es/old_components/HiPin/HiPin.js +0 -104
  412. package/es/old_components/HiPin/index.js +0 -15
  413. package/es/old_components/HiRadio/HiRadio.js +0 -67
  414. package/es/old_components/HiRadio/index.js +0 -15
  415. package/es/old_components/HiSelect/HiDynamicSelect.js +0 -165
  416. package/es/old_components/HiSelect/HiDynamicSelectField.js +0 -98
  417. package/es/old_components/HiSelect/HiNestedSelect.js +0 -445
  418. package/es/old_components/HiSelect/HiNestedSelectContent.js +0 -350
  419. package/es/old_components/HiSelect/HiNestedSelectField.js +0 -98
  420. package/es/old_components/HiSelect/HiSelect.js +0 -808
  421. package/es/old_components/HiSelect/HiSelectContent.js +0 -404
  422. package/es/old_components/HiSelect/HiSelectField.js +0 -100
  423. package/es/old_components/HiSelect/HiSelectInput.js +0 -323
  424. package/es/old_components/HiSelect/HiSelectMobile.js +0 -167
  425. package/es/old_components/HiSelect/HiSuggestSelect.js +0 -313
  426. package/es/old_components/HiSelect/HiSuggestSelectField.js +0 -87
  427. package/es/old_components/HiSelect/index.js +0 -85
  428. package/es/old_components/HiSelectableList/HiSelectableList.js +0 -292
  429. package/es/old_components/HiSelectableList/HiSelectableListHierarchic.js +0 -173
  430. package/es/old_components/HiSelectableList/HiSelectableListItem.js +0 -427
  431. package/es/old_components/HiSelectableList/index.js +0 -31
  432. package/es/old_components/HiSwitch/HiSwitch.js +0 -201
  433. package/es/old_components/HiSwitch/HiSwitchState.js +0 -163
  434. package/es/old_components/HiSwitch/index.js +0 -23
  435. package/es/old_components/HiTable/HiCellBuilder.js +0 -231
  436. package/es/old_components/HiTable/HiTable.js +0 -101
  437. package/es/old_components/HiTable/HiTableBody.js +0 -62
  438. package/es/old_components/HiTable/HiTableHeader.js +0 -141
  439. package/es/old_components/HiTable/HiTableRow.js +0 -136
  440. package/es/old_components/HiTable/constants.js +0 -149
  441. package/es/old_components/HiTable/index.js +0 -15
  442. package/es/old_components/hi-svg-icons/HiAccount.js +0 -46
  443. package/es/old_components/hi-svg-icons/HiActivity.js +0 -44
  444. package/es/old_components/hi-svg-icons/HiAll.js +0 -51
  445. package/es/old_components/hi-svg-icons/HiBilling.js +0 -46
  446. package/es/old_components/hi-svg-icons/HiBriefcaseRescue.js +0 -27
  447. package/es/old_components/hi-svg-icons/HiCatalog.js +0 -43
  448. package/es/old_components/hi-svg-icons/HiCustomer.js +0 -43
  449. package/es/old_components/hi-svg-icons/HiDownload.js +0 -28
  450. package/es/old_components/hi-svg-icons/HiFinance.js +0 -43
  451. package/es/old_components/hi-svg-icons/HiPermission.js +0 -41
  452. package/es/old_components/hi-svg-icons/HiRoute.js +0 -43
  453. package/es/old_components/hi-svg-icons/HiSettlement.js +0 -43
  454. package/es/old_components/hi-svg-icons/HiSizeLarge.js +0 -36
  455. package/es/old_components/hi-svg-icons/HiSizeMedium.js +0 -36
  456. package/es/old_components/hi-svg-icons/HiSizeSmall.js +0 -36
  457. package/es/old_components/hi-svg-icons/HiTransaction.js +0 -43
  458. package/es/old_components/hi-svg-icons/HiUser.js +0 -43
  459. package/es/old_components/hi-svg-icons/HiWidget.js +0 -48
  460. package/es/old_components/hi-svg-icons/index.js +0 -151
  461. package/es/old_components/styles/MuiThemeProvider.js +0 -155
  462. package/es/old_components/styles/colorManipulator.js +0 -286
  463. package/es/old_components/styles/createBreakpoints.js +0 -81
  464. package/es/old_components/styles/createGenerateClassName.js +0 -86
  465. package/es/old_components/styles/createMixins.js +0 -36
  466. package/es/old_components/styles/createMuiTheme.js +0 -77
  467. package/es/old_components/styles/createPalette.js +0 -287
  468. package/es/old_components/styles/createStyles.js +0 -10
  469. package/es/old_components/styles/createTypography.js +0 -185
  470. package/es/old_components/styles/getStylesCreator.js +0 -54
  471. package/es/old_components/styles/getThemeProps.js +0 -20
  472. package/es/old_components/styles/index.js +0 -63
  473. package/es/old_components/styles/jssPreset.js +0 -31
  474. package/es/old_components/styles/mergeClasses.js +0 -41
  475. package/es/old_components/styles/shadows.js +0 -17
  476. package/es/old_components/styles/shape.js +0 -11
  477. package/es/old_components/styles/spacing.js +0 -14
  478. package/es/old_components/styles/themeListener.js +0 -40
  479. package/es/old_components/styles/transitions.js +0 -106
  480. package/es/old_components/styles/withStyles.js +0 -373
  481. package/es/old_components/styles/withTheme.js +0 -122
  482. package/es/old_components/styles/zIndex.js +0 -18
  483. package/es/old_components/test-utils/createMount.js +0 -44
  484. package/es/old_components/test-utils/createRender.js +0 -29
  485. package/es/old_components/test-utils/createShallow.js +0 -48
  486. package/es/old_components/test-utils/getClasses.js +0 -12
  487. package/es/old_components/test-utils/index.js +0 -47
  488. package/es/old_components/test-utils/until.js +0 -49
  489. package/es/old_components/test-utils/unwrap.js +0 -10
  490. package/es/old_components/transitions/utils.js +0 -23
  491. package/es/old_components/utils/helpers.js +0 -335
  492. package/es/old_components/withMobileDialog/index.js +0 -15
  493. package/es/old_components/withMobileDialog/withMobileDialog.js +0 -40
  494. package/es/styles/withStyles.js +0 -373
  495. package/es/styles/withTheme.js +0 -122
  496. package/old_components/HiAlertModal/HiAlertModal.js +0 -231
  497. package/old_components/HiAlertModal/index.js +0 -15
  498. package/old_components/HiAppBar/HiAppBar.js +0 -136
  499. package/old_components/HiAppBar/index.js +0 -15
  500. package/old_components/HiBadge/HiBadge.js +0 -103
  501. package/old_components/HiBadge/index.js +0 -15
  502. package/old_components/HiBreadcrumb/HiBreadcrumb.js +0 -105
  503. package/old_components/HiBreadcrumb/HiStep.js +0 -128
  504. package/old_components/HiBreadcrumb/HiStepConnector.js +0 -164
  505. package/old_components/HiBreadcrumb/HiStepContent.js +0 -97
  506. package/old_components/HiBreadcrumb/HiStepIcon.js +0 -154
  507. package/old_components/HiBreadcrumb/HiStepLabel.js +0 -173
  508. package/old_components/HiBreadcrumb/HiStepper.js +0 -81
  509. package/old_components/HiBreadcrumb/index.js +0 -15
  510. package/old_components/HiButton/HiButton.js +0 -92
  511. package/old_components/HiButton/index.js +0 -13
  512. package/old_components/HiCell/CellAddress.js +0 -98
  513. package/old_components/HiCell/CellDate.js +0 -110
  514. package/old_components/HiCell/CellIcon.js +0 -129
  515. package/old_components/HiCell/CellImage.js +0 -115
  516. package/old_components/HiCell/CellNumeric.js +0 -91
  517. package/old_components/HiCell/CellPinToAction.js +0 -73
  518. package/old_components/HiCell/CellRate.js +0 -150
  519. package/old_components/HiCell/CellSentinel.js +0 -91
  520. package/old_components/HiCell/CellSentinelScore.js +0 -94
  521. package/old_components/HiCell/CellText.js +0 -228
  522. package/old_components/HiCell/CellTextStyled.js +0 -92
  523. package/old_components/HiCell/index.js +0 -79
  524. package/old_components/HiCheckbox/HiCheckbox.js +0 -175
  525. package/old_components/HiCheckbox/index.js +0 -15
  526. package/old_components/HiChip/HiChip.js +0 -227
  527. package/old_components/HiChip/HiChipSwitch.js +0 -249
  528. package/old_components/HiChip/index.js +0 -23
  529. package/old_components/HiColoredLabel/HiColoredLabel.js +0 -179
  530. package/old_components/HiColoredLabel/index.js +0 -15
  531. package/old_components/HiDatePicker/Caption.js +0 -57
  532. package/old_components/HiDatePicker/HiDatePicker.js +0 -357
  533. package/old_components/HiDatePicker/HiDatePickerMobile.js +0 -106
  534. package/old_components/HiDatePicker/HiDateRangePicker.js +0 -641
  535. package/old_components/HiDatePicker/HiDateRangeSelector.js +0 -464
  536. package/old_components/HiDatePicker/ListPicker.js +0 -136
  537. package/old_components/HiDatePicker/NavBar.js +0 -106
  538. package/old_components/HiDatePicker/Overlays/CustomOverlayLayout.js +0 -111
  539. package/old_components/HiDatePicker/Overlays/CustomOverlayLayoutWithoutFooter.js +0 -103
  540. package/old_components/HiDatePicker/Overlays/MonthPickerOverlay.js +0 -89
  541. package/old_components/HiDatePicker/Overlays/Overlay.js +0 -77
  542. package/old_components/HiDatePicker/Overlays/TimePickerOverlay.js +0 -217
  543. package/old_components/HiDatePicker/Overlays/YearPickerOverlay.js +0 -110
  544. package/old_components/HiDatePicker/Overlays/index.js +0 -47
  545. package/old_components/HiDatePicker/Weekday.js +0 -25
  546. package/old_components/HiDatePicker/hiLocaleUtils.js +0 -144
  547. package/old_components/HiDatePicker/index.js +0 -15
  548. package/old_components/HiDatePicker/stylesheet.js +0 -266
  549. package/old_components/HiDotsStepper/HiDot.js +0 -102
  550. package/old_components/HiDotsStepper/HiDotsStepper.js +0 -111
  551. package/old_components/HiExpansionPanel/HiExpansionPanel.js +0 -194
  552. package/old_components/HiExpansionPanel/index.js +0 -13
  553. package/old_components/HiForm/HiAddressField.js +0 -153
  554. package/old_components/HiForm/HiEmailField.js +0 -81
  555. package/old_components/HiForm/HiFormControl.js +0 -306
  556. package/old_components/HiForm/HiFormLabel.js +0 -125
  557. package/old_components/HiForm/HiInput.js +0 -459
  558. package/old_components/HiForm/HiPasswordField.js +0 -113
  559. package/old_components/HiForm/HiSearchField.js +0 -157
  560. package/old_components/HiForm/HiSlider.js +0 -281
  561. package/old_components/HiForm/HiTextField.js +0 -170
  562. package/old_components/HiForm/HiUpload.js +0 -385
  563. package/old_components/HiForm/HiUploadField.js +0 -90
  564. package/old_components/HiForm/HiUploadInput.js +0 -390
  565. package/old_components/HiForm/index.js +0 -95
  566. package/old_components/HiIcon/HiIcon.js +0 -114
  567. package/old_components/HiIcon/index.js +0 -15
  568. package/old_components/HiIconButton/HiIconButton.js +0 -104
  569. package/old_components/HiIconButton/index.js +0 -15
  570. package/old_components/HiLoader/HiLoader.js +0 -49
  571. package/old_components/HiLoader/index.js +0 -15
  572. package/old_components/HiMap/HiMap.js +0 -317
  573. package/old_components/HiMap/HiMapExpand.js +0 -200
  574. package/old_components/HiMap/index.js +0 -23
  575. package/old_components/HiNotice/HiKPI.js +0 -186
  576. package/old_components/HiNotice/HiKPINotice.js +0 -69
  577. package/old_components/HiNotice/index.js +0 -23
  578. package/old_components/HiPaymentMeans/HiPaymentMeans.js +0 -576
  579. package/old_components/HiPaymentMeans/index.js +0 -15
  580. package/old_components/HiPdfReader/HiPdfReader.js +0 -245
  581. package/old_components/HiPdfReader/index.js +0 -15
  582. package/old_components/HiPin/HiPin.js +0 -104
  583. package/old_components/HiPin/index.js +0 -15
  584. package/old_components/HiRadio/HiRadio.js +0 -67
  585. package/old_components/HiRadio/index.js +0 -15
  586. package/old_components/HiSelect/HiDynamicSelect.js +0 -165
  587. package/old_components/HiSelect/HiDynamicSelectField.js +0 -98
  588. package/old_components/HiSelect/HiNestedSelect.js +0 -445
  589. package/old_components/HiSelect/HiNestedSelectContent.js +0 -350
  590. package/old_components/HiSelect/HiNestedSelectField.js +0 -98
  591. package/old_components/HiSelect/HiSelect.js +0 -808
  592. package/old_components/HiSelect/HiSelectContent.js +0 -404
  593. package/old_components/HiSelect/HiSelectField.js +0 -100
  594. package/old_components/HiSelect/HiSelectInput.js +0 -323
  595. package/old_components/HiSelect/HiSelectMobile.js +0 -167
  596. package/old_components/HiSelect/HiSuggestSelect.js +0 -313
  597. package/old_components/HiSelect/HiSuggestSelectField.js +0 -87
  598. package/old_components/HiSelect/index.js +0 -85
  599. package/old_components/HiSelectableList/HiSelectableList.js +0 -292
  600. package/old_components/HiSelectableList/HiSelectableListHierarchic.js +0 -173
  601. package/old_components/HiSelectableList/HiSelectableListItem.js +0 -427
  602. package/old_components/HiSelectableList/index.js +0 -31
  603. package/old_components/HiSwitch/HiSwitch.js +0 -201
  604. package/old_components/HiSwitch/HiSwitchState.js +0 -163
  605. package/old_components/HiSwitch/index.js +0 -23
  606. package/old_components/HiTable/HiCellBuilder.js +0 -231
  607. package/old_components/HiTable/HiTable.js +0 -101
  608. package/old_components/HiTable/HiTableBody.js +0 -62
  609. package/old_components/HiTable/HiTableHeader.js +0 -141
  610. package/old_components/HiTable/HiTableRow.js +0 -136
  611. package/old_components/HiTable/constants.js +0 -149
  612. package/old_components/HiTable/index.js +0 -15
  613. package/old_components/hi-svg-icons/HiAccount.js +0 -46
  614. package/old_components/hi-svg-icons/HiActivity.js +0 -44
  615. package/old_components/hi-svg-icons/HiAll.js +0 -51
  616. package/old_components/hi-svg-icons/HiBilling.js +0 -46
  617. package/old_components/hi-svg-icons/HiBriefcaseRescue.js +0 -27
  618. package/old_components/hi-svg-icons/HiCatalog.js +0 -43
  619. package/old_components/hi-svg-icons/HiCustomer.js +0 -43
  620. package/old_components/hi-svg-icons/HiDownload.js +0 -28
  621. package/old_components/hi-svg-icons/HiFinance.js +0 -43
  622. package/old_components/hi-svg-icons/HiPermission.js +0 -41
  623. package/old_components/hi-svg-icons/HiRoute.js +0 -43
  624. package/old_components/hi-svg-icons/HiSettlement.js +0 -43
  625. package/old_components/hi-svg-icons/HiSizeLarge.js +0 -36
  626. package/old_components/hi-svg-icons/HiSizeMedium.js +0 -36
  627. package/old_components/hi-svg-icons/HiSizeSmall.js +0 -36
  628. package/old_components/hi-svg-icons/HiTransaction.js +0 -43
  629. package/old_components/hi-svg-icons/HiUser.js +0 -43
  630. package/old_components/hi-svg-icons/HiWidget.js +0 -48
  631. package/old_components/hi-svg-icons/index.js +0 -151
  632. package/old_components/styles/MuiThemeProvider.js +0 -155
  633. package/old_components/styles/colorManipulator.js +0 -286
  634. package/old_components/styles/createBreakpoints.js +0 -81
  635. package/old_components/styles/createGenerateClassName.js +0 -86
  636. package/old_components/styles/createMixins.js +0 -36
  637. package/old_components/styles/createMuiTheme.js +0 -77
  638. package/old_components/styles/createPalette.js +0 -287
  639. package/old_components/styles/createStyles.js +0 -10
  640. package/old_components/styles/createTypography.js +0 -185
  641. package/old_components/styles/getStylesCreator.js +0 -54
  642. package/old_components/styles/getThemeProps.js +0 -20
  643. package/old_components/styles/index.js +0 -63
  644. package/old_components/styles/jssPreset.js +0 -31
  645. package/old_components/styles/mergeClasses.js +0 -41
  646. package/old_components/styles/shadows.js +0 -17
  647. package/old_components/styles/shape.js +0 -11
  648. package/old_components/styles/spacing.js +0 -14
  649. package/old_components/styles/themeListener.js +0 -40
  650. package/old_components/styles/transitions.js +0 -106
  651. package/old_components/styles/withStyles.js +0 -373
  652. package/old_components/styles/withTheme.js +0 -122
  653. package/old_components/styles/zIndex.js +0 -18
  654. package/old_components/test-utils/createMount.js +0 -44
  655. package/old_components/test-utils/createRender.js +0 -29
  656. package/old_components/test-utils/createShallow.js +0 -48
  657. package/old_components/test-utils/getClasses.js +0 -12
  658. package/old_components/test-utils/index.js +0 -47
  659. package/old_components/test-utils/until.js +0 -49
  660. package/old_components/test-utils/unwrap.js +0 -10
  661. package/old_components/transitions/utils.js +0 -23
  662. package/old_components/utils/helpers.js +0 -335
  663. package/old_components/withMobileDialog/index.js +0 -15
  664. package/old_components/withMobileDialog/withMobileDialog.js +0 -40
  665. package/styles/withStyles.js +0 -373
  666. package/styles/withTheme.js +0 -122
@@ -1,313 +0,0 @@
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 _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
11
-
12
- var _objectWithoutProperties2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties"));
13
-
14
- var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
15
-
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
-
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
-
20
- var _assertThisInitialized2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/assertThisInitialized"));
21
-
22
- var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
23
-
24
- var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
25
-
26
- var _defineProperty2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/defineProperty"));
27
-
28
- var _react = _interopRequireDefault(require("react"));
29
-
30
- var _Grow = _interopRequireDefault(require("@material-ui/core/Grow"));
31
-
32
- var _Paper = _interopRequireDefault(require("@material-ui/core/Paper"));
33
-
34
- var _classnames = _interopRequireDefault(require("classnames"));
35
-
36
- var _HiSelectableList = _interopRequireDefault(require("../HiSelectableList"));
37
-
38
- var _HiInput = _interopRequireDefault(require("../HiForm/HiInput"));
39
-
40
- var _styles = require("@material-ui/core/styles");
41
-
42
- var _Popper = _interopRequireDefault(require("@material-ui/core/Popper"));
43
-
44
- var _helpers = require("../utils/helpers");
45
-
46
- var _keycode = _interopRequireDefault(require("keycode"));
47
-
48
- // @inheritedComponent HiInput
49
- var styles = function styles(theme) {
50
- return {
51
- root: {
52
- backgroundColor: theme.palette.background2,
53
- maxWidth: 500,
54
- minWidth: 200,
55
- width: '100%'
56
- },
57
- popper: {
58
- width: '100% !important',
59
- transform: 'none !important',
60
- zIndex: '9 !important',
61
- top: '100% !important',
62
- textOverflow: 'ellipsis'
63
- },
64
- paper: {
65
- borderRadius: '0px 2px',
66
- maxHeight: 440,
67
- transition: 'none'
68
- },
69
- alignRight: {
70
- right: 0
71
- }
72
- };
73
- };
74
-
75
- exports.styles = styles;
76
-
77
- var HiSuggestSelect =
78
- /*#__PURE__*/
79
- function (_React$PureComponent) {
80
- (0, _inherits2.default)(HiSuggestSelect, _React$PureComponent);
81
- (0, _createClass2.default)(HiSuggestSelect, null, [{
82
- key: "getDerivedStateFromProps",
83
- value: function getDerivedStateFromProps(props, state) {
84
- if (JSON.stringify(props.options) !== JSON.stringify(state.options)) {
85
- return {
86
- options: props.options,
87
- suggestionFocusIndex: -1
88
- };
89
- }
90
-
91
- return null;
92
- }
93
- }]);
94
-
95
- function HiSuggestSelect(props) {
96
- var _this;
97
-
98
- (0, _classCallCheck2.default)(this, HiSuggestSelect);
99
- _this = (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(HiSuggestSelect).call(this, props));
100
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "getInputElement", function (el) {
101
- _this.textInput = el;
102
-
103
- if (_this.props.inputRef) {
104
- _this.props.inputRef(_this.textInput);
105
- }
106
- });
107
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleSelect", function (event, value) {
108
- document.body.style.overflow = 'auto';
109
-
110
- _this.props.onSelect(event, value);
111
-
112
- var textInput = _this.textInput;
113
-
114
- if (textInput) {
115
- setTimeout(function () {
116
- textInput.focus();
117
- textInput.scrollLeft = textInput.scrollWidth;
118
- }, 1);
119
- }
120
- });
121
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleKeyDown", function (event) {
122
- var nextItem;
123
- var key = (0, _keycode.default)(event);
124
-
125
- if (key === 'down') {
126
- event.preventDefault();
127
- nextItem = (0, _helpers.getNextItemSelectable)(document.activeElement, 'down');
128
- } else if (key === 'up') {
129
- event.preventDefault();
130
- nextItem = (0, _helpers.getNextItemSelectable)(document.activeElement, 'up');
131
- } else if (key === 'tab') {
132
- document.body.style.overflow = 'auto';
133
- } else if (key === 'escape' || 'enter') {
134
- event.preventDefault();
135
-
136
- var item = _this.props.options.find(function (elem) {
137
- return String(elem.id) === event.target.id;
138
- });
139
-
140
- _this.handleSelect(null, item);
141
- }
142
-
143
- if (nextItem) {
144
- nextItem.focus();
145
- }
146
- });
147
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleKeyDownSearch", function (event) {
148
- if (event.key === 'ArrowDown') {
149
- event.preventDefault();
150
-
151
- if (_this.state.suggestionFocusIndex < _this.props.options.length - 1) {
152
- _this.setState(function (prevState) {
153
- return {
154
- suggestionFocusIndex: prevState.suggestionFocusIndex + 1
155
- };
156
- });
157
- }
158
- } else if (event.key === 'ArrowUp') {
159
- event.preventDefault();
160
-
161
- if (_this.state.suggestionFocusIndex >= 0) {
162
- _this.setState(function (prevState) {
163
- return {
164
- suggestionFocusIndex: prevState.suggestionFocusIndex - 1
165
- };
166
- });
167
- }
168
- } else if (event.key === 'Enter' && _this.state.suggestionFocusIndex >= 0) {
169
- event.preventDefault(); // Suggestion focused
170
-
171
- _this.handleSelect(event, _this.state.options[_this.state.suggestionFocusIndex]);
172
- } else if (event.key === 'Escape') {
173
- _this.setState({
174
- options: [],
175
- suggestionFocusIndex: -1
176
- });
177
- }
178
- });
179
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleFocus", function (event) {
180
- _this.setState({
181
- focused: true
182
- });
183
-
184
- if (_this.props.onFocusInput) {
185
- _this.props.onFocusInput(event);
186
- }
187
- });
188
- (0, _defineProperty2.default)((0, _assertThisInitialized2.default)(_this), "handleBlur", function (event) {
189
- // Si on click sur un élément de HiInput, on garde le focus
190
- // Par exemple sur l'icone reset
191
- if (!event.relatedTarget || !_this.overlay || !_this.overlay.contains(event.relatedTarget)) {
192
- _this.setState({
193
- options: [],
194
- focused: false,
195
- suggestionFocusIndex: -1
196
- });
197
-
198
- if (_this.props.onBlurInput) {
199
- _this.props.onBlurInput(event);
200
- }
201
- }
202
- });
203
- _this.state = {
204
- focused: false,
205
- options: props.options,
206
- suggestionFocusIndex: -1
207
- };
208
- return _this;
209
- }
210
-
211
- (0, _createClass2.default)(HiSuggestSelect, [{
212
- key: "render",
213
- value: function render() {
214
- var _this2 = this;
215
-
216
- var _this$props = this.props,
217
- classes = _this$props.classes,
218
- id = _this$props.id,
219
- loading = _this$props.loading,
220
- showMinLength = _this$props.showMinLength,
221
- showNoResults = _this$props.showNoResults,
222
- onSearch = _this$props.onSearch,
223
- translations = _this$props.translations,
224
- align = _this$props.align,
225
- inputClasses = _this$props.inputClasses,
226
- otherProps = (0, _objectWithoutProperties2.default)(_this$props, ["classes", "id", "loading", "showMinLength", "showNoResults", "onSearch", "translations", "align", "inputClasses"]);
227
- var _this$state = this.state,
228
- focused = _this$state.focused,
229
- options = _this$state.options,
230
- suggestionFocusIndex = _this$state.suggestionFocusIndex;
231
- var optionsShown = options; // If loading
232
-
233
- if (loading) {
234
- optionsShown = [{
235
- id: '_loading',
236
- type: 'loader',
237
- disabled: true,
238
- centered: true,
239
- checkbox: false,
240
- label: 'loading'
241
- }];
242
- } else if (options.length === 0 && (showNoResults || showMinLength)) {
243
- // If no result match
244
- optionsShown = [{
245
- id: '_no_result',
246
- type: 'text',
247
- disabled: true,
248
- centered: true,
249
- checkbox: false,
250
- label: showNoResults ? translations.no_result_match : translations.min_length
251
- }];
252
- }
253
-
254
- var open = !!optionsShown.length && focused;
255
- return _react.default.createElement("div", {
256
- className: classes.root,
257
- ref: function ref(el) {
258
- _this2.overlay = el;
259
- }
260
- }, _react.default.createElement(_HiInput.default, (0, _extends2.default)({}, otherProps, {
261
- inputId: id,
262
- focused: focused,
263
- inputRef: this.getInputElement,
264
- onChange: onSearch,
265
- onKeyDown: this.handleKeyDownSearch,
266
- onBlur: this.handleBlur,
267
- onFocus: this.handleFocus,
268
- classes: inputClasses
269
- })), open && _react.default.createElement(_Popper.default, {
270
- disablePortal: true,
271
- anchorEl: this.textInput,
272
- placement: "bottom-start",
273
- className: (0, _classnames.default)(classes.popper, (0, _defineProperty2.default)({}, classes.alignRight, align === 'right')),
274
- open: true
275
- }, _react.default.createElement(_Grow.default, {
276
- in: open,
277
- id: "menu-list",
278
- style: {
279
- transformOrigin: '0 0 0'
280
- }
281
- }, _react.default.createElement(_Paper.default, {
282
- className: classes.paper
283
- }, _react.default.createElement(_HiSelectableList.default, {
284
- itemList: optionsShown,
285
- selectedIdList: [],
286
- hideCheckbox: true,
287
- onSelect: this.handleSelect,
288
- translations: translations,
289
- onKeyDown: this.handleKeyDown,
290
- suggestionFocusIndex: suggestionFocusIndex
291
- })))));
292
- }
293
- }]);
294
- return HiSuggestSelect;
295
- }(_react.default.PureComponent);
296
-
297
- (0, _defineProperty2.default)(HiSuggestSelect, "defaultProps", {
298
- align: 'left',
299
- showMinLength: false,
300
- showNoResults: false,
301
- translations: {
302
- no_result_match: 'Aucun résultat correspondant',
303
- min_length: 'Veuillez saisir 3 caractères minimum'
304
- },
305
- options: []
306
- });
307
-
308
- var _default = (0, _styles.withStyles)(styles, {
309
- hiComponent: true,
310
- name: 'HmuiHiSuggestSelect'
311
- })(HiSuggestSelect);
312
-
313
- exports.default = _default;
@@ -1,87 +0,0 @@
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 = void 0;
9
-
10
- var _extends2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/extends"));
11
-
12
- var _objectWithoutProperties2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/objectWithoutProperties"));
13
-
14
- var _classCallCheck2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/classCallCheck"));
15
-
16
- var _createClass2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/createClass"));
17
-
18
- var _possibleConstructorReturn2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/possibleConstructorReturn"));
19
-
20
- var _getPrototypeOf2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/getPrototypeOf"));
21
-
22
- var _inherits2 = _interopRequireDefault(require("/home/mfazio/dev/projects/hmui-styleguide/node_modules/babel-preset-react-app/node_modules/@babel/runtime/helpers/esm/inherits"));
23
-
24
- var _react = _interopRequireDefault(require("react"));
25
-
26
- var _HiFormControl = _interopRequireDefault(require("../HiForm/HiFormControl"));
27
-
28
- var _HiSuggestSelect = _interopRequireDefault(require("./HiSuggestSelect"));
29
-
30
- // @inheritedComponent HiSuggestSelect
31
-
32
- /**
33
- * Champs input autosuggest pour formulaire avec label
34
- */
35
- var HiSuggestSelectField =
36
- /*#__PURE__*/
37
- function (_React$PureComponent) {
38
- (0, _inherits2.default)(HiSuggestSelectField, _React$PureComponent);
39
-
40
- function HiSuggestSelectField() {
41
- (0, _classCallCheck2.default)(this, HiSuggestSelectField);
42
- return (0, _possibleConstructorReturn2.default)(this, (0, _getPrototypeOf2.default)(HiSuggestSelectField).apply(this, arguments));
43
- }
44
-
45
- (0, _createClass2.default)(HiSuggestSelectField, [{
46
- key: "render",
47
- value: function render() {
48
- var _this$props = this.props,
49
- label = _this$props.label,
50
- required = _this$props.required,
51
- disabled = _this$props.disabled,
52
- error = _this$props.error,
53
- errorText = _this$props.errorText,
54
- helperText = _this$props.helperText,
55
- helperIcon = _this$props.helperIcon,
56
- id = _this$props.id,
57
- className = _this$props.className,
58
- others = (0, _objectWithoutProperties2.default)(_this$props, ["label", "required", "disabled", "error", "errorText", "helperText", "helperIcon", "id", "className"]);
59
- return _react.default.createElement(_HiFormControl.default, {
60
- id: id,
61
- label: label,
62
- required: required,
63
- disabled: disabled,
64
- error: error,
65
- errorText: errorText,
66
- helperText: helperText,
67
- helperIcon: helperIcon,
68
- className: className
69
- }, _react.default.createElement(_HiSuggestSelect.default, (0, _extends2.default)({
70
- id: id,
71
- translations: {
72
- all: 'Tous les pays',
73
- no_result_match: 'Aucun résultat correspondant',
74
- search: 'Recherche',
75
- n_items_selected: '%s pays sélectionnés',
76
- one_item_selected: '%s pays sélectionné'
77
- },
78
- disabled: disabled,
79
- error: error
80
- }, others)));
81
- }
82
- }]);
83
- return HiSuggestSelectField;
84
- }(_react.default.PureComponent);
85
-
86
- var _default = HiSuggestSelectField;
87
- exports.default = _default;
@@ -1,85 +0,0 @@
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
- Object.defineProperty(exports, "default", {
11
- enumerable: true,
12
- get: function get() {
13
- return _HiSelect.default;
14
- }
15
- });
16
- Object.defineProperty(exports, "HiNestedSelect", {
17
- enumerable: true,
18
- get: function get() {
19
- return _HiNestedSelect.default;
20
- }
21
- });
22
- Object.defineProperty(exports, "HiSelectField", {
23
- enumerable: true,
24
- get: function get() {
25
- return _HiSelectField.default;
26
- }
27
- });
28
- Object.defineProperty(exports, "HiSelectInput", {
29
- enumerable: true,
30
- get: function get() {
31
- return _HiSelectInput.default;
32
- }
33
- });
34
- Object.defineProperty(exports, "HiSelectContent", {
35
- enumerable: true,
36
- get: function get() {
37
- return _HiSelectContent.default;
38
- }
39
- });
40
- Object.defineProperty(exports, "HiNestedSelectContent", {
41
- enumerable: true,
42
- get: function get() {
43
- return _HiNestedSelectContent.default;
44
- }
45
- });
46
- Object.defineProperty(exports, "findFinalItemRecursively", {
47
- enumerable: true,
48
- get: function get() {
49
- return _HiNestedSelectContent.findFinalItemRecursively;
50
- }
51
- });
52
- Object.defineProperty(exports, "getRecursiveFinalItemIdList", {
53
- enumerable: true,
54
- get: function get() {
55
- return _HiNestedSelectContent.getRecursiveFinalItemIdList;
56
- }
57
- });
58
- Object.defineProperty(exports, "HiSuggestSelect", {
59
- enumerable: true,
60
- get: function get() {
61
- return _HiSuggestSelect.default;
62
- }
63
- });
64
- Object.defineProperty(exports, "HiSuggestSelectField", {
65
- enumerable: true,
66
- get: function get() {
67
- return _HiSuggestSelectField.default;
68
- }
69
- });
70
-
71
- var _HiSelect = _interopRequireDefault(require("./HiSelect"));
72
-
73
- var _HiNestedSelect = _interopRequireDefault(require("./HiNestedSelect"));
74
-
75
- var _HiSelectField = _interopRequireDefault(require("./HiSelectField"));
76
-
77
- var _HiSelectInput = _interopRequireDefault(require("./HiSelectInput"));
78
-
79
- var _HiSelectContent = _interopRequireDefault(require("./HiSelectContent"));
80
-
81
- var _HiNestedSelectContent = _interopRequireWildcard(require("./HiNestedSelectContent"));
82
-
83
- var _HiSuggestSelect = _interopRequireDefault(require("./HiSuggestSelect"));
84
-
85
- var _HiSuggestSelectField = _interopRequireDefault(require("./HiSuggestSelectField"));