@hipay/hipay-material-ui 1.0.0-beta.19 → 1.0.0-beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (404) hide show
  1. package/HiCheckbox/HiCheckbox.js +1 -4
  2. package/HiChip/HiChip.js +4 -4
  3. package/HiChip/HiChipSwitch.js +4 -11
  4. package/HiColoredLabel/HiColoredLabel.js +3 -9
  5. package/HiDatePicker/HiDatePicker.js +30 -34
  6. package/HiDatePicker/HiDateRangePicker.js +33 -76
  7. package/HiDatePicker/HiDateRangeSelector.js +13 -33
  8. package/HiDatePicker/ListPicker.js +7 -32
  9. package/HiDatePicker/Overlays/CustomOverlayLayout.js +1 -3
  10. package/HiDatePicker/Overlays/MonthPickerOverlay.js +1 -5
  11. package/HiDatePicker/Overlays/Overlay.js +4 -22
  12. package/HiDatePicker/Overlays/YearPickerOverlay.js +1 -2
  13. package/HiDatePicker/stylesheet.js +0 -7
  14. package/HiForm/HiFormControl.js +31 -39
  15. package/HiForm/HiInput.js +19 -40
  16. package/HiForm/HiSearchField.js +2 -2
  17. package/HiForm/index.js +0 -18
  18. package/HiPins/HiPins.js +1 -0
  19. package/HiSelect/HiSelect.js +353 -400
  20. package/HiSelect/HiSelectField.js +6 -8
  21. package/HiSelect/HiSuggestSelect.js +47 -27
  22. package/HiSelect/HiSuggestSelectField.js +80 -88
  23. package/HiSelect/SelectInput.js +23 -34
  24. package/HiSelectableList/HiSelectableList.js +3 -9
  25. package/HiSelectableList/HiSelectableListItem.js +55 -96
  26. package/HiSwitch/HiSwitchState.js +1 -1
  27. package/HiSwitch/index.js +0 -6
  28. package/HiTable/BodyCellBuilder.js +100 -115
  29. package/HiTable/BodyCells/CellCountry.js +36 -11
  30. package/HiTable/BodyCells/CellIcon.js +20 -29
  31. package/HiTable/BodyCells/CellImage.js +22 -43
  32. package/HiTable/BodyCells/CellLayout.js +20 -49
  33. package/HiTable/BodyCells/CellNumeric.js +2 -7
  34. package/HiTable/BodyCells/CellSentinel.js +17 -26
  35. package/HiTable/BodyCells/CellStatus.js +3 -7
  36. package/HiTable/BodyCells/CellText.js +1 -2
  37. package/HiTable/BodyCells/CellThirdPartySecurity.js +22 -45
  38. package/HiTable/BodyRow.js +62 -106
  39. package/HiTable/ChildRow.js +9 -3
  40. package/HiTable/ColumnFilter.js +15 -28
  41. package/HiTable/HeaderCell.js +16 -20
  42. package/HiTable/HiTable.js +11 -75
  43. package/HiTable/HiTableBody.js +36 -80
  44. package/HiTable/HiTableContextMenu.js +3 -7
  45. package/HiTable/HiTableFooterScroll.js +1 -1
  46. package/HiTable/HiTableHead.js +7 -24
  47. package/HiTable/OrderColumns.js +2 -6
  48. package/HiTopBar/HiTopBar.js +117 -37
  49. package/es/HiCheckbox/HiCheckbox.js +1 -4
  50. package/es/HiChip/HiChip.js +4 -4
  51. package/es/HiChip/HiChipSwitch.js +4 -11
  52. package/es/HiColoredLabel/HiColoredLabel.js +4 -9
  53. package/es/HiDatePicker/HiDatePicker.js +25 -30
  54. package/es/HiDatePicker/HiDateRangePicker.js +32 -72
  55. package/es/HiDatePicker/HiDateRangeSelector.js +14 -34
  56. package/es/HiDatePicker/ListPicker.js +20 -39
  57. package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +1 -3
  58. package/es/HiDatePicker/Overlays/MonthPickerOverlay.js +1 -5
  59. package/es/HiDatePicker/Overlays/Overlay.js +4 -18
  60. package/es/HiDatePicker/Overlays/YearPickerOverlay.js +1 -2
  61. package/es/HiDatePicker/stylesheet.js +0 -7
  62. package/es/HiForm/HiFormControl.js +18 -32
  63. package/es/HiForm/HiInput.js +18 -35
  64. package/es/HiForm/HiSearchField.js +2 -2
  65. package/es/HiForm/index.js +1 -3
  66. package/es/HiPins/HiPins.js +1 -0
  67. package/es/HiSelect/HiSelect.js +324 -375
  68. package/es/HiSelect/HiSelectField.js +7 -9
  69. package/es/HiSelect/HiSuggestSelect.js +39 -26
  70. package/es/HiSelect/HiSuggestSelectField.js +69 -77
  71. package/es/HiSelect/SelectInput.js +23 -44
  72. package/es/HiSelectableList/HiSelectableList.js +4 -10
  73. package/es/HiSelectableList/HiSelectableListItem.js +55 -91
  74. package/es/HiSwitch/HiSwitchState.js +1 -1
  75. package/es/HiSwitch/index.js +0 -1
  76. package/es/HiTable/BodyCellBuilder.js +101 -111
  77. package/es/HiTable/BodyCells/CellCountry.js +35 -10
  78. package/es/HiTable/BodyCells/CellIcon.js +9 -18
  79. package/es/HiTable/BodyCells/CellImage.js +23 -42
  80. package/es/HiTable/BodyCells/CellLayout.js +23 -50
  81. package/es/HiTable/BodyCells/CellNumeric.js +2 -6
  82. package/es/HiTable/BodyCells/CellSentinel.js +9 -20
  83. package/es/HiTable/BodyCells/CellStatus.js +3 -7
  84. package/es/HiTable/BodyCells/CellText.js +1 -2
  85. package/es/HiTable/BodyCells/CellThirdPartySecurity.js +18 -42
  86. package/es/HiTable/BodyRow.js +61 -106
  87. package/es/HiTable/ChildRow.js +10 -3
  88. package/es/HiTable/ColumnFilter.js +9 -15
  89. package/es/HiTable/HeaderCell.js +16 -20
  90. package/es/HiTable/HiTable.js +12 -73
  91. package/es/HiTable/HiTableBody.js +32 -71
  92. package/es/HiTable/HiTableContextMenu.js +3 -7
  93. package/es/HiTable/HiTableFooterScroll.js +1 -1
  94. package/es/HiTable/HiTableHead.js +7 -19
  95. package/es/HiTable/OrderColumns.js +2 -6
  96. package/es/HiTopBar/HiTopBar.js +108 -40
  97. package/es/styles/createHiMuiTheme.js +0 -11
  98. package/es/utils/hiHelpers.js +5 -6
  99. package/index.es.js +1 -1
  100. package/index.js +1 -1
  101. package/package.json +44 -45
  102. package/styles/createHiMuiTheme.js +0 -11
  103. package/umd/hipay-material-ui.development.js +10243 -11324
  104. package/umd/hipay-material-ui.production.min.js +5 -5
  105. package/utils/hiHelpers.js +4 -6
  106. package/HI-CHANGELOG.md +0 -58
  107. package/HiAlertModal/HiAlertModal.js +0 -247
  108. package/HiAlertModal/index.js +0 -16
  109. package/HiBreadcrumb/HiBreadcrumb.js +0 -149
  110. package/HiBreadcrumb/HiStep.js +0 -159
  111. package/HiBreadcrumb/HiStepConnector.js +0 -207
  112. package/HiBreadcrumb/HiStepContent.js +0 -122
  113. package/HiBreadcrumb/HiStepIcon.js +0 -191
  114. package/HiBreadcrumb/HiStepLabel.js +0 -248
  115. package/HiBreadcrumb/HiStepper.js +0 -106
  116. package/HiBreadcrumb/index.js +0 -16
  117. package/HiDotsStepper/HiDot.js +0 -151
  118. package/HiDotsStepper/HiDotsStepper.js +0 -146
  119. package/HiDotsStepper/index.js +0 -16
  120. package/HiExpansionPanel/HiExpansionPanel.js +0 -231
  121. package/HiExpansionPanel/index.js +0 -16
  122. package/HiForm/HiAddressField.js +0 -204
  123. package/HiForm/HiSlider.js +0 -399
  124. package/HiPdfReader/HiPdfReader.js +0 -282
  125. package/HiPdfReader/index.js +0 -16
  126. package/HiTable/HiTableFooter.js +0 -131
  127. package/es/HiAlertModal/HiAlertModal.js +0 -189
  128. package/es/HiAlertModal/index.js +0 -1
  129. package/es/HiBreadcrumb/HiBreadcrumb.js +0 -81
  130. package/es/HiBreadcrumb/HiStep.js +0 -94
  131. package/es/HiBreadcrumb/HiStepConnector.js +0 -143
  132. package/es/HiBreadcrumb/HiStepContent.js +0 -63
  133. package/es/HiBreadcrumb/HiStepIcon.js +0 -149
  134. package/es/HiBreadcrumb/HiStepLabel.js +0 -197
  135. package/es/HiBreadcrumb/HiStepper.js +0 -46
  136. package/es/HiBreadcrumb/index.js +0 -1
  137. package/es/HiDotsStepper/HiDot.js +0 -92
  138. package/es/HiDotsStepper/HiDotsStepper.js +0 -83
  139. package/es/HiDotsStepper/index.js +0 -1
  140. package/es/HiExpansionPanel/HiExpansionPanel.js +0 -170
  141. package/es/HiExpansionPanel/index.js +0 -1
  142. package/es/HiForm/HiAddressField.js +0 -142
  143. package/es/HiForm/HiSlider.js +0 -309
  144. package/es/HiPdfReader/HiPdfReader.js +0 -198
  145. package/es/HiPdfReader/index.js +0 -1
  146. package/es/HiTable/HiTableFooter.js +0 -74
  147. package/hmu/images/countries/ad.svg +0 -151
  148. package/hmu/images/countries/ae.svg +0 -6
  149. package/hmu/images/countries/af.svg +0 -83
  150. package/hmu/images/countries/ag.svg +0 -15
  151. package/hmu/images/countries/ai.svg +0 -767
  152. package/hmu/images/countries/al.svg +0 -5
  153. package/hmu/images/countries/am.svg +0 -5
  154. package/hmu/images/countries/ao.svg +0 -13
  155. package/hmu/images/countries/aq.svg +0 -6
  156. package/hmu/images/countries/ar.svg +0 -32
  157. package/hmu/images/countries/as.svg +0 -33
  158. package/hmu/images/countries/at.svg +0 -6
  159. package/hmu/images/countries/au.svg +0 -9
  160. package/hmu/images/countries/aw.svg +0 -186
  161. package/hmu/images/countries/ax.svg +0 -18
  162. package/hmu/images/countries/az.svg +0 -8
  163. package/hmu/images/countries/ba.svg +0 -12
  164. package/hmu/images/countries/bb.svg +0 -6
  165. package/hmu/images/countries/bd.svg +0 -4
  166. package/hmu/images/countries/be.svg +0 -7
  167. package/hmu/images/countries/bf.svg +0 -7
  168. package/hmu/images/countries/bg.svg +0 -7
  169. package/hmu/images/countries/bh.svg +0 -11
  170. package/hmu/images/countries/bi.svg +0 -15
  171. package/hmu/images/countries/bj.svg +0 -14
  172. package/hmu/images/countries/bl.svg +0 -7
  173. package/hmu/images/countries/bm.svg +0 -99
  174. package/hmu/images/countries/bn.svg +0 -36
  175. package/hmu/images/countries/bo.svg +0 -686
  176. package/hmu/images/countries/bq.svg +0 -5
  177. package/hmu/images/countries/br.svg +0 -45
  178. package/hmu/images/countries/bs.svg +0 -13
  179. package/hmu/images/countries/bt.svg +0 -89
  180. package/hmu/images/countries/bv.svg +0 -13
  181. package/hmu/images/countries/bw.svg +0 -7
  182. package/hmu/images/countries/by.svg +0 -61
  183. package/hmu/images/countries/bz.svg +0 -146
  184. package/hmu/images/countries/ca.svg +0 -4
  185. package/hmu/images/countries/cc.svg +0 -19
  186. package/hmu/images/countries/cd.svg +0 -5
  187. package/hmu/images/countries/cf.svg +0 -15
  188. package/hmu/images/countries/cg.svg +0 -12
  189. package/hmu/images/countries/ch.svg +0 -9
  190. package/hmu/images/countries/ci.svg +0 -7
  191. package/hmu/images/countries/ck.svg +0 -9
  192. package/hmu/images/countries/cl.svg +0 -13
  193. package/hmu/images/countries/cm.svg +0 -15
  194. package/hmu/images/countries/cn.svg +0 -11
  195. package/hmu/images/countries/co.svg +0 -7
  196. package/hmu/images/countries/cr.svg +0 -7
  197. package/hmu/images/countries/cu.svg +0 -13
  198. package/hmu/images/countries/cv.svg +0 -13
  199. package/hmu/images/countries/cw.svg +0 -14
  200. package/hmu/images/countries/cx.svg +0 -15
  201. package/hmu/images/countries/cy.svg +0 -6
  202. package/hmu/images/countries/cz.svg +0 -12
  203. package/hmu/images/countries/de.svg +0 -5
  204. package/hmu/images/countries/dj.svg +0 -13
  205. package/hmu/images/countries/dk.svg +0 -5
  206. package/hmu/images/countries/dm.svg +0 -152
  207. package/hmu/images/countries/do.svg +0 -6745
  208. package/hmu/images/countries/dz.svg +0 -5
  209. package/hmu/images/countries/ec.svg +0 -141
  210. package/hmu/images/countries/ee.svg +0 -7
  211. package/hmu/images/countries/eg.svg +0 -38
  212. package/hmu/images/countries/eh.svg +0 -15
  213. package/hmu/images/countries/er.svg +0 -8
  214. package/hmu/images/countries/es-ct.svg +0 -4
  215. package/hmu/images/countries/es.svg +0 -581
  216. package/hmu/images/countries/et.svg +0 -14
  217. package/hmu/images/countries/eu.svg +0 -28
  218. package/hmu/images/countries/fi.svg +0 -5
  219. package/hmu/images/countries/fj.svg +0 -124
  220. package/hmu/images/countries/fk.svg +0 -90
  221. package/hmu/images/countries/fm.svg +0 -11
  222. package/hmu/images/countries/fo.svg +0 -12
  223. package/hmu/images/countries/fr.svg +0 -7
  224. package/hmu/images/countries/ga.svg +0 -7
  225. package/hmu/images/countries/gb-eng.svg +0 -5
  226. package/hmu/images/countries/gb-nir.svg +0 -137
  227. package/hmu/images/countries/gb-sct.svg +0 -4
  228. package/hmu/images/countries/gb-wls.svg +0 -9
  229. package/hmu/images/countries/gb.svg +0 -15
  230. package/hmu/images/countries/gd.svg +0 -27
  231. package/hmu/images/countries/ge.svg +0 -6
  232. package/hmu/images/countries/gf.svg +0 -5
  233. package/hmu/images/countries/gg.svg +0 -9
  234. package/hmu/images/countries/gh.svg +0 -6
  235. package/hmu/images/countries/gi.svg +0 -33
  236. package/hmu/images/countries/gl.svg +0 -4
  237. package/hmu/images/countries/gm.svg +0 -14
  238. package/hmu/images/countries/gn.svg +0 -7
  239. package/hmu/images/countries/gp.svg +0 -7
  240. package/hmu/images/countries/gq.svg +0 -23
  241. package/hmu/images/countries/gr.svg +0 -22
  242. package/hmu/images/countries/gs.svg +0 -205
  243. package/hmu/images/countries/gt.svg +0 -204
  244. package/hmu/images/countries/gu.svg +0 -39
  245. package/hmu/images/countries/gw.svg +0 -13
  246. package/hmu/images/countries/gy.svg +0 -9
  247. package/hmu/images/countries/hk.svg +0 -32
  248. package/hmu/images/countries/hm.svg +0 -9
  249. package/hmu/images/countries/hn.svg +0 -18
  250. package/hmu/images/countries/hr.svg +0 -59
  251. package/hmu/images/countries/ht.svg +0 -122
  252. package/hmu/images/countries/hu.svg +0 -7
  253. package/hmu/images/countries/id.svg +0 -6
  254. package/hmu/images/countries/ie.svg +0 -7
  255. package/hmu/images/countries/il.svg +0 -14
  256. package/hmu/images/countries/im.svg +0 -36
  257. package/hmu/images/countries/in.svg +0 -25
  258. package/hmu/images/countries/io.svg +0 -148
  259. package/hmu/images/countries/iq.svg +0 -10
  260. package/hmu/images/countries/ir.svg +0 -219
  261. package/hmu/images/countries/is.svg +0 -12
  262. package/hmu/images/countries/it.svg +0 -7
  263. package/hmu/images/countries/je.svg +0 -32
  264. package/hmu/images/countries/jm.svg +0 -8
  265. package/hmu/images/countries/jo.svg +0 -16
  266. package/hmu/images/countries/jp.svg +0 -11
  267. package/hmu/images/countries/ke.svg +0 -23
  268. package/hmu/images/countries/kg.svg +0 -15
  269. package/hmu/images/countries/kh.svg +0 -69
  270. package/hmu/images/countries/ki.svg +0 -36
  271. package/hmu/images/countries/km.svg +0 -16
  272. package/hmu/images/countries/kn.svg +0 -14
  273. package/hmu/images/countries/kp.svg +0 -15
  274. package/hmu/images/countries/kr.svg +0 -24
  275. package/hmu/images/countries/kw.svg +0 -13
  276. package/hmu/images/countries/ky.svg +0 -63
  277. package/hmu/images/countries/kz.svg +0 -23
  278. package/hmu/images/countries/la.svg +0 -12
  279. package/hmu/images/countries/lb.svg +0 -15
  280. package/hmu/images/countries/lc.svg +0 -8
  281. package/hmu/images/countries/li.svg +0 -43
  282. package/hmu/images/countries/lk.svg +0 -22
  283. package/hmu/images/countries/lr.svg +0 -14
  284. package/hmu/images/countries/ls.svg +0 -8
  285. package/hmu/images/countries/lt.svg +0 -7
  286. package/hmu/images/countries/lu.svg +0 -5
  287. package/hmu/images/countries/lv.svg +0 -6
  288. package/hmu/images/countries/ly.svg +0 -13
  289. package/hmu/images/countries/ma.svg +0 -4
  290. package/hmu/images/countries/mc.svg +0 -6
  291. package/hmu/images/countries/md.svg +0 -72
  292. package/hmu/images/countries/me.svg +0 -118
  293. package/hmu/images/countries/mf.svg +0 -7
  294. package/hmu/images/countries/mg.svg +0 -7
  295. package/hmu/images/countries/mh.svg +0 -7
  296. package/hmu/images/countries/mk.svg +0 -5
  297. package/hmu/images/countries/ml.svg +0 -7
  298. package/hmu/images/countries/mm.svg +0 -16
  299. package/hmu/images/countries/mn.svg +0 -13
  300. package/hmu/images/countries/mo.svg +0 -9
  301. package/hmu/images/countries/mp.svg +0 -86
  302. package/hmu/images/countries/mq.svg +0 -7
  303. package/hmu/images/countries/mr.svg +0 -6
  304. package/hmu/images/countries/ms.svg +0 -39
  305. package/hmu/images/countries/mt.svg +0 -49
  306. package/hmu/images/countries/mu.svg +0 -8
  307. package/hmu/images/countries/mv.svg +0 -6
  308. package/hmu/images/countries/mw.svg +0 -10
  309. package/hmu/images/countries/mx.svg +0 -385
  310. package/hmu/images/countries/my.svg +0 -15
  311. package/hmu/images/countries/mz.svg +0 -21
  312. package/hmu/images/countries/na.svg +0 -16
  313. package/hmu/images/countries/nc.svg +0 -7
  314. package/hmu/images/countries/ne.svg +0 -6
  315. package/hmu/images/countries/nf.svg +0 -9
  316. package/hmu/images/countries/ng.svg +0 -6
  317. package/hmu/images/countries/ni.svg +0 -131
  318. package/hmu/images/countries/nl.svg +0 -7
  319. package/hmu/images/countries/no.svg +0 -7
  320. package/hmu/images/countries/np.svg +0 -14
  321. package/hmu/images/countries/nr.svg +0 -12
  322. package/hmu/images/countries/nu.svg +0 -26
  323. package/hmu/images/countries/nz.svg +0 -41
  324. package/hmu/images/countries/om.svg +0 -116
  325. package/hmu/images/countries/pa.svg +0 -14
  326. package/hmu/images/countries/pe.svg +0 -279
  327. package/hmu/images/countries/pf.svg +0 -19
  328. package/hmu/images/countries/pg.svg +0 -9
  329. package/hmu/images/countries/ph.svg +0 -28
  330. package/hmu/images/countries/pk.svg +0 -15
  331. package/hmu/images/countries/pl.svg +0 -6
  332. package/hmu/images/countries/pm.svg +0 -7
  333. package/hmu/images/countries/pn.svg +0 -62
  334. package/hmu/images/countries/pr.svg +0 -13
  335. package/hmu/images/countries/ps.svg +0 -15
  336. package/hmu/images/countries/pt.svg +0 -57
  337. package/hmu/images/countries/pw.svg +0 -11
  338. package/hmu/images/countries/py.svg +0 -157
  339. package/hmu/images/countries/qa.svg +0 -4
  340. package/hmu/images/countries/re.svg +0 -7
  341. package/hmu/images/countries/ro.svg +0 -7
  342. package/hmu/images/countries/rs.svg +0 -292
  343. package/hmu/images/countries/ru.svg +0 -7
  344. package/hmu/images/countries/rw.svg +0 -13
  345. package/hmu/images/countries/sa.svg +0 -26
  346. package/hmu/images/countries/sb.svg +0 -13
  347. package/hmu/images/countries/sc.svg +0 -14
  348. package/hmu/images/countries/sd.svg +0 -13
  349. package/hmu/images/countries/se.svg +0 -16
  350. package/hmu/images/countries/sg.svg +0 -13
  351. package/hmu/images/countries/sh.svg +0 -74
  352. package/hmu/images/countries/si.svg +0 -18
  353. package/hmu/images/countries/sj.svg +0 -7
  354. package/hmu/images/countries/sk.svg +0 -9
  355. package/hmu/images/countries/sl.svg +0 -7
  356. package/hmu/images/countries/sm.svg +0 -91
  357. package/hmu/images/countries/sn.svg +0 -8
  358. package/hmu/images/countries/so.svg +0 -11
  359. package/hmu/images/countries/sr.svg +0 -6
  360. package/hmu/images/countries/ss.svg +0 -8
  361. package/hmu/images/countries/st.svg +0 -16
  362. package/hmu/images/countries/sv.svg +0 -618
  363. package/hmu/images/countries/sx.svg +0 -56
  364. package/hmu/images/countries/sy.svg +0 -6
  365. package/hmu/images/countries/sz.svg +0 -45
  366. package/hmu/images/countries/tc.svg +0 -67
  367. package/hmu/images/countries/td.svg +0 -7
  368. package/hmu/images/countries/tf.svg +0 -15
  369. package/hmu/images/countries/tg.svg +0 -14
  370. package/hmu/images/countries/th.svg +0 -7
  371. package/hmu/images/countries/tj.svg +0 -22
  372. package/hmu/images/countries/tk.svg +0 -5
  373. package/hmu/images/countries/tl.svg +0 -13
  374. package/hmu/images/countries/tm.svg +0 -213
  375. package/hmu/images/countries/tn.svg +0 -13
  376. package/hmu/images/countries/to.svg +0 -10
  377. package/hmu/images/countries/tr.svg +0 -8
  378. package/hmu/images/countries/tt.svg +0 -5
  379. package/hmu/images/countries/tv.svg +0 -27
  380. package/hmu/images/countries/tw.svg +0 -14
  381. package/hmu/images/countries/tz.svg +0 -13
  382. package/hmu/images/countries/ua.svg +0 -6
  383. package/hmu/images/countries/ug.svg +0 -30
  384. package/hmu/images/countries/um.svg +0 -23
  385. package/hmu/images/countries/un.svg +0 -16
  386. package/hmu/images/countries/us.svg +0 -12
  387. package/hmu/images/countries/uy.svg +0 -28
  388. package/hmu/images/countries/uz.svg +0 -30
  389. package/hmu/images/countries/va.svg +0 -483
  390. package/hmu/images/countries/vc.svg +0 -8
  391. package/hmu/images/countries/ve.svg +0 -26
  392. package/hmu/images/countries/vg.svg +0 -133
  393. package/hmu/images/countries/vi.svg +0 -31
  394. package/hmu/images/countries/vn.svg +0 -11
  395. package/hmu/images/countries/vu.svg +0 -18
  396. package/hmu/images/countries/wf.svg +0 -7
  397. package/hmu/images/countries/ws.svg +0 -7
  398. package/hmu/images/countries/ye.svg +0 -7
  399. package/hmu/images/countries/yt.svg +0 -7
  400. package/hmu/images/countries/za.svg +0 -17
  401. package/hmu/images/countries/zm.svg +0 -27
  402. package/hmu/images/countries/zw.svg +0 -21
  403. package/hmu/images/hipay-white-logo.svg +0 -42
  404. package/hmu/images/logo_visa_75wx45h.gif +0 -0
@@ -2,24 +2,23 @@ import _extends from 'babel-runtime/helpers/extends';
2
2
  import React from 'react';
3
3
  import PropTypes from 'prop-types';
4
4
  import { TableBody, TableRow } from 'material-ui/Table';
5
- import classNames from 'classnames';
6
- import { withStyles } from '../styles';
5
+ import { withStyles, withTheme } from '../styles';
7
6
  import BodyRow from './BodyRow';
8
7
  import ChildRow from './ChildRow';
9
8
  import HiStickyRow from './HiStickyRow';
10
9
  import * as cst from './constants';
10
+ import { SORTED_COLUMN_ERROR_MESSAGE } from './HiTableHead';
11
+ import isRequiredIf from 'react-proptype-conditional-require';
11
12
 
12
13
  export const styles = theme => ({
13
14
  tbody: {
14
15
  position: 'relative',
15
- width: '100%',
16
+ display: 'block' /* seperates the tbody from the header */
17
+ , width: '100%',
16
18
  overflowX: 'hidden',
17
19
  overflowY: 'auto',
18
20
  zIndex: 11
19
21
  },
20
- tbodyFixedWidth: {
21
- display: 'block' /* seperates the tbody from the header */
22
- },
23
22
  tbodyRows: {
24
23
  backgroundColor: theme.palette.background3
25
24
  },
@@ -150,16 +149,14 @@ class HiTableBody extends React.Component {
150
149
  /**
151
150
  * Définit les id des lignes dont les détails sont affichés ou null
152
151
  * (ajoute une ligne pour chaque détails)
153
- * vérifie aussi le type du détail
154
152
  *
155
153
  * @param rowId
156
- * @param type
157
154
  */
158
- toggleOpenedDetailsRowId(rowId, type) {
155
+ toggleOpenedDetailsRowId(rowId) {
159
156
  this.setState(prevState => ({
160
- openedDetailsRowIdList: prevState.openedDetailsRowIdList.find(item => item.id === rowId && item.type === type) ? prevState.openedDetailsRowIdList.filter(item => {
161
- return item.id !== rowId || item.type !== type;
162
- }) : [...prevState.openedDetailsRowIdList, { id: rowId, type: type }]
157
+ openedDetailsRowIdList: prevState.openedDetailsRowIdList.includes(rowId) ? prevState.openedDetailsRowIdList.filter(id => {
158
+ return id !== rowId;
159
+ }) : [...prevState.openedDetailsRowIdList, rowId]
163
160
  }));
164
161
  this.props.addNewRowRefs();
165
162
  }
@@ -194,11 +191,7 @@ class HiTableBody extends React.Component {
194
191
  numberLocale,
195
192
  groupByIds,
196
193
  sortedColumnId,
197
- lookupColumns,
198
- loading,
199
- fixedColumnWidth,
200
- disableContextMenu,
201
- detailRowsOptions
194
+ lookupColumns
202
195
  } = this.props;
203
196
 
204
197
  const { openedParentRowId, openedDetailsRowIdList } = this.state;
@@ -269,6 +262,9 @@ class HiTableBody extends React.Component {
269
262
  // has children
270
263
  const hasChildren = row.hasOwnProperty('children') && row.children.length > 0;
271
264
 
265
+ // has detail rows
266
+ const hasDetailRows = row.hasOwnProperty('detailRows') && row.detailRows.length > 0;
267
+
272
268
  const BodyRowProps = _extends({
273
269
  columns,
274
270
  dateLocale,
@@ -280,9 +276,9 @@ class HiTableBody extends React.Component {
280
276
  }, hasChildren && {
281
277
  openedAsParent: openedParentRowId === row.rowId,
282
278
  onClick: this.setOpenedParentRowId // if row has children, onClick display the children
279
+ }, hasDetailRows && {
280
+ onOpenRowDetails: this.toggleOpenedDetailsRowId
283
281
  }, {
284
- onOpenRowDetails: this.toggleOpenedDetailsRowId,
285
- detailRowsOptions,
286
282
  orderedColumns
287
283
  }, selectable && {
288
284
  selectable,
@@ -292,9 +288,7 @@ class HiTableBody extends React.Component {
292
288
  row,
293
289
  sticky,
294
290
  tabId,
295
- view,
296
- fixedColumnWidth,
297
- disableContextMenu
291
+ view
298
292
  });
299
293
 
300
294
  if (hasChildren && openedParentRowId === row.rowId) {
@@ -305,6 +299,7 @@ class HiTableBody extends React.Component {
305
299
  parentIndicatorColumn: row.parentIndicatorColumn,
306
300
  parentLabel: row.parentLabel,
307
301
  parentLabelIcon: row.parentLabelIcon,
302
+ parentDetailRows: row.detailRows,
308
303
  children: row.children,
309
304
  onClose: this.setOpenedParentRowId
310
305
  }, BodyRowProps)));
@@ -313,43 +308,29 @@ class HiTableBody extends React.Component {
313
308
  }
314
309
 
315
310
  // add opened detail rows
316
- if (row.details && row.details.length > 0) {
317
- row.details.forEach(detail => {
318
- if (detail.rows.length > 0 && openedDetailsRowIdList.find(item => item.id === row.rowId && item.type === detail.type)) {
319
- detail.rows.forEach(detailRow => {
320
- const detailRowProps = {
321
- row: detailRow,
322
- columns,
323
- orderedColumns,
324
- view,
325
- dense,
326
- sticky,
327
- isDetail: true,
328
- fixedColumnWidth,
329
- disableContextMenu
330
- };
311
+ if (hasDetailRows && openedDetailsRowIdList.includes(row.rowId)) {
312
+ row.detailRows.forEach(detailRow => {
313
+ const detailRowProps = {
314
+ row: detailRow,
315
+ columns,
316
+ orderedColumns,
317
+ view,
318
+ dense,
319
+ sticky,
320
+ isDetail: true
321
+ };
331
322
 
332
- tableRows.push(React.createElement(BodyRow, _extends({ key: `${row.rowId}-${detailRow.rowId}` }, detailRowProps)));
333
- });
334
- }
323
+ tableRows.push(React.createElement(BodyRow, _extends({ key: `${row.rowId}-${detailRow.rowId}` }, detailRowProps)));
335
324
  });
336
325
  }
337
326
  });
338
327
 
339
- const tBodyClasses = classNames(classes.tbody, {
340
- [classes.tbodyFixedWidth]: fixedColumnWidth
341
- });
342
-
343
328
  return React.createElement(
344
329
  TableBody,
345
330
  {
346
331
  id: `${tabId}-body`,
347
- className: tBodyClasses,
348
- style: _extends({
349
- height
350
- }, loading && {
351
- opacity: 0.6
352
- }),
332
+ className: classes.tbody,
333
+ style: { height },
353
334
  onScroll: onScroll
354
335
  },
355
336
  tableRows.map(tableRow => {
@@ -368,10 +349,7 @@ HiTableBody.defaultProps = {
368
349
  dense: false,
369
350
  height: 450,
370
351
  sticky: true,
371
- view: 'l',
372
- loading: false,
373
- disableContextMenu: true,
374
- detailRowsOptions: {}
352
+ view: 'l'
375
353
  };
376
354
  HiTableBody.propTypes = process.env.NODE_ENV !== "production" ? {
377
355
  /**
@@ -399,27 +377,10 @@ HiTableBody.propTypes = process.env.NODE_ENV !== "production" ? {
399
377
  * Densité d'affichage (joue sur la hauteur des lignes)
400
378
  */
401
379
  dense: PropTypes.bool,
402
- /**
403
- * Options utilisées pour décrire le comportement de lignes de détails
404
- */
405
- detailRowsOptions: PropTypes.object,
406
- /**
407
- * Active/désactive le menu contextuel au clic droit sur les cellules du tableau
408
- */
409
- disableContextMenu: PropTypes.bool.isRequired,
410
- /**
411
- * Fixe la taille des colonnes selon le type de vue
412
- * Sinon les colonnes s'adaptent à l'espace disponible
413
- */
414
- fixedColumnWidth: PropTypes.bool,
415
380
  /**
416
381
  * Hauteur du tableau (px)
417
382
  */
418
383
  height: PropTypes.number,
419
- /**
420
- * État du tableau en cours de chargement des données
421
- */
422
- loading: PropTypes.bool,
423
384
  /**
424
385
  * Identifiant de la ou des colonnes sur la/lesquelles il y a une 'lookup' search
425
386
  */
@@ -39,8 +39,7 @@ class HiTableContextMenu extends React.Component {
39
39
  super(props);
40
40
 
41
41
  this.state = {
42
- value: '',
43
- label: ''
42
+ value: ''
44
43
  };
45
44
 
46
45
  this.handleContextMenuOpen = this.handleContextMenuOpen.bind(this);
@@ -51,10 +50,7 @@ class HiTableContextMenu extends React.Component {
51
50
  }
52
51
 
53
52
  handleContextMenuOpen(event) {
54
- this.setState({
55
- value: event.detail.data.value,
56
- label: event.detail.data.label
57
- });
53
+ this.setState({ value: event.detail.data.label });
58
54
  }
59
55
 
60
56
  handleClickCopy(event, data) {
@@ -104,7 +100,7 @@ class HiTableContextMenu extends React.Component {
104
100
  React.createElement(
105
101
  'span',
106
102
  { className: classes.title },
107
- menuItem.title.replace('%s', this.state.label)
103
+ menuItem.title.replace('%s', this.state.value)
108
104
  )
109
105
  );
110
106
  })
@@ -84,7 +84,7 @@ class HiTableFooterScroll extends React.Component {
84
84
  ) : React.createElement(
85
85
  HiButton,
86
86
  {
87
- variant: 'raised',
87
+ raised: true,
88
88
  color: 'primary',
89
89
  className: classes.loadMoreButton,
90
90
  onClick: () => this.handleRequestNextDatas(true)
@@ -3,7 +3,6 @@ import React from 'react';
3
3
  import { findDOMNode } from 'react-dom';
4
4
  import PropTypes from 'prop-types';
5
5
  import isRequiredIf from 'react-proptype-conditional-require';
6
- import classNames from 'classnames';
7
6
 
8
7
  import { TableHead, TableRow, TableCell } from 'material-ui/Table';
9
8
  import PlusCircleIcon from 'mdi-material-ui/PlusCircle';
@@ -19,13 +18,11 @@ import { MANDATORY_COLUMN_ERROR_MESSAGE } from './HiTable';
19
18
  export const styles = theme => ({
20
19
  thead: {
21
20
  position: 'relative',
22
- width: '100%',
21
+ display: 'block' /*seperates the header from the body allowing it to be positioned*/
22
+ , width: '100%',
23
23
  overflow: 'visible',
24
24
  zIndex: 12
25
25
  },
26
- theadFixedWidth: {
27
- display: 'block' /*seperates the header from the body allowing it to be positioned*/
28
- },
29
26
  theadRow: {
30
27
  backgroundColor: theme.palette.background3,
31
28
  zIndex: 12
@@ -151,16 +148,13 @@ class HiTableHead extends React.Component {
151
148
  sticky,
152
149
  translations,
153
150
  view,
154
- lookupColumns,
155
- fixedColumnWidth
151
+ lookupColumns
156
152
  } = this.props;
157
153
 
158
154
  const { hovered, openedOrderColumns, orderColumnsAnchorEl } = this.state;
159
155
 
160
156
  let headerProps = _extends({
161
- className: classNames(classes.thead, {
162
- [classes.theadFixedWidth]: fixedColumnWidth
163
- })
157
+ className: classes.thead
164
158
  }, orderable && { onMouseEnter: this.handleEvent, onMouseLeave: this.handleEvent });
165
159
 
166
160
  let unfixedColumnIsSet = false,
@@ -207,8 +201,8 @@ class HiTableHead extends React.Component {
207
201
  return React.createElement(HeaderCell, {
208
202
  key: 'header-' + column.colId,
209
203
  colId: column.colId,
210
- type: column['formType'] || column['type'] // define select items
211
- , title: column['label'],
204
+ type: column['type'],
205
+ title: column['label'],
212
206
  smallTitle: column['reducedLabel'],
213
207
  selectable: firstColumn && selectable,
214
208
  selected: selectedIdList.length > 0 ? selectedIdList.length === dataSource.length ? true : 'mixed' : false,
@@ -227,8 +221,7 @@ class HiTableHead extends React.Component {
227
221
  fixedWidth: fixed,
228
222
  align: column['align'],
229
223
  sticky: firstColumn && sticky,
230
- lookedUp: lookupColumns.includes(column.colId),
231
- fixedColumnWidth: fixedColumnWidth
224
+ lookedUp: lookupColumns.includes(column.colId)
232
225
  });
233
226
  }
234
227
  }),
@@ -336,11 +329,6 @@ HiTableHead.propTypes = process.env.NODE_ENV !== "production" ? {
336
329
  * Active le filtre sur les colonnes filtrables
337
330
  */
338
331
  filterable: PropTypes.bool,
339
- /**
340
- * Fixe la taille des colonnes selon le type de vue
341
- * Sinon les colonnes s'adaptent à l'espace disponible
342
- */
343
- fixedColumnWidth: PropTypes.bool,
344
332
  /**
345
333
  * Identifiant de la ou des colonnes sur la/lesquelles il y a une 'lookup' search
346
334
  */
@@ -63,8 +63,7 @@ export const styles = theme => ({
63
63
  controlLabelRoot: {
64
64
  marginLeft: 6,
65
65
  marginBottom: 8,
66
- fontSize: 15,
67
- width: 160
66
+ fontSize: 15
68
67
  },
69
68
  switchLabelRoot: {
70
69
  marginLeft: 15,
@@ -73,10 +72,7 @@ export const styles = theme => ({
73
72
  columnLabel: {
74
73
  position: 'relative',
75
74
  top: 5,
76
- left: 5,
77
- overflow: 'hidden',
78
- textOverflow: 'ellipsis',
79
- whiteSpace: 'nowrap'
75
+ left: 5
80
76
  },
81
77
  label: {
82
78
  fontWeight: 'inherit'
@@ -5,13 +5,14 @@ import AppBar from 'material-ui/AppBar';
5
5
  import Toolbar from 'material-ui/Toolbar';
6
6
  import IconButton from 'material-ui/IconButton';
7
7
  import Collapse from 'material-ui/transitions/Collapse';
8
- import { ChevronDoubleUp, ChevronDoubleDown, Menu as MenuIcon, ArrowLeft, DotsVertical } from 'mdi-material-ui';
8
+ import { ChevronDoubleUp, ChevronDoubleDown, Menu as MenuIcon, ArrowLeft, DotsVertical, MenuDown } from 'mdi-material-ui';
9
9
  import classNames from 'classnames';
10
10
  import Menu, { MenuItem } from 'material-ui/Menu';
11
11
  import withStyles from '../styles/withStyles';
12
12
  import HiIconBuilder from '../utils/HiIconBuilder';
13
13
  import HiBadge from '../HiBadge';
14
14
  import HiButton from '../HiButton';
15
+ import HiInput from '../HiForm/HiInput';
15
16
  import HiColoredLabel from '../HiColoredLabel';
16
17
  import { getContrastedTextColor, fade } from '../styles/colorManipulator';
17
18
 
@@ -56,9 +57,7 @@ export const styles = theme => ({
56
57
  marginRight: 1.5 * theme.spacing.unit,
57
58
  borderLeft: 'solid 1px',
58
59
  borderColor: fade('#000', 0.12),
59
- display: 'inline-block',
60
- minWidth: 144,
61
- maxWidth: 288
60
+ display: 'inline-block'
62
61
  },
63
62
  accountSelectorButtonLabel: {
64
63
  textOverflow: 'ellipsis',
@@ -77,9 +76,6 @@ export const styles = theme => ({
77
76
  color: theme.palette.text.secondary,
78
77
  minWidth: 32
79
78
  },
80
- betaWithoutAccountSelector: {
81
- marginLeft: 1.5 * theme.spacing.unit
82
- },
83
79
  searchInput: {
84
80
  backgroundColor: `${theme.palette.background1} !important`
85
81
  },
@@ -99,9 +95,6 @@ export const styles = theme => ({
99
95
  textTransform: 'capitalize',
100
96
  fontWeight: theme.typography.fontWeightRegular,
101
97
  minWidth: 50
102
- },
103
- collapseOverflow: {
104
- overflow: 'inherit'
105
98
  }
106
99
  });
107
100
 
@@ -124,14 +117,18 @@ class HiTopBar extends React.Component {
124
117
 
125
118
  this.state = {
126
119
  collapsed: false,
120
+ searchFocus: false,
127
121
  menuAnchor: null
128
122
  };
129
123
 
130
- this.handleCollapse = this.handleCollapse.bind(this);
124
+ this.toggleCollapse = this.toggleCollapse.bind(this);
125
+ this.handleFocus = this.handleFocus.bind(this);
126
+ this.handleBlur = this.handleBlur.bind(this);
131
127
  this.handleClickMenu = this.handleClickMenu.bind(this);
132
128
  this.handleOpenMenu = this.handleOpenMenu.bind(this);
133
129
  this.handleCloseMenu = this.handleCloseMenu.bind(this);
134
130
  this.handleMenuItemClick = this.handleMenuItemClick.bind(this);
131
+ this.handleClickInputButton = this.handleClickInputButton.bind(this);
135
132
  }
136
133
 
137
134
  handleOpenMenu(event) {
@@ -147,12 +144,41 @@ class HiTopBar extends React.Component {
147
144
  callback();
148
145
  }
149
146
 
150
- handleCollapse() {
147
+ toggleCollapse() {
151
148
  this.setState({ collapsed: !this.state.collapsed });
152
149
  }
153
150
 
151
+ handleFocus() {
152
+ this.setState({ searchFocus: true });
153
+
154
+ if (this.props.onSearchFocus) {
155
+ this.props.onSearchFocus();
156
+ }
157
+ }
158
+
159
+ handleClickInputButton(event) {
160
+ this.setState({ searchFocus: true });
161
+
162
+ if (this.props.onClickInputButton) {
163
+ this.props.onClickInputButton();
164
+ }
165
+ // Stop propagation to cancel input focus
166
+ event.stopPropagation();
167
+ }
168
+
169
+ handleBlur(event) {
170
+ if (!this.overlay.contains(event.relatedTarget)) {
171
+ this.setState({ searchFocus: false });
172
+ }
173
+
174
+ if (this.props.onSearchBlur) {
175
+ this.props.onSearchBlur();
176
+ }
177
+ }
178
+
154
179
  handleClickMenu() {
155
180
  this.props.onClickReturn();
181
+ this.setState({ searchFocus: false });
156
182
  }
157
183
 
158
184
  render() {
@@ -167,12 +193,47 @@ class HiTopBar extends React.Component {
167
193
  translations,
168
194
  onClickMenu,
169
195
  accountSelectorContent,
170
- refButtons,
171
196
  searchInput,
172
- searchFocus
197
+ searchValue
173
198
  } = this.props;
174
199
 
175
- const colorPrimaryClass = searchFocus ? classes.colorPrimaryFocus : classes.colorPrimary;
200
+ const colorPrimaryClass = this.state.searchFocus ? classes.colorPrimaryFocus : classes.colorPrimary;
201
+
202
+ const inputClass = classNames({
203
+ [classes.searchInput]: !this.state.searchFocus,
204
+ [classes.searchInputFocused]: this.state.searchFocus
205
+ });
206
+
207
+ const endAdornment = React.createElement(
208
+ HiButton,
209
+ {
210
+ className: classes.endAdornmentButton,
211
+ onClick: this.handleClickInputButton
212
+ },
213
+ React.createElement(
214
+ Hidden,
215
+ { smDown: true },
216
+ React.createElement(
217
+ 'span',
218
+ null,
219
+ translations.all_types
220
+ )
221
+ ),
222
+ React.createElement(MenuDown, { style: { color: fade('#000', 0.54) } })
223
+ );
224
+
225
+ const input = searchInput || React.createElement(HiInput, {
226
+ name: 'top-bar-search',
227
+ placeholder: translations.search,
228
+ value: searchValue,
229
+ onChange: this.props.onSearchChange,
230
+ startAdornment: 'magnify',
231
+ endAdornment: endAdornment,
232
+ classes: { root: inputClass },
233
+ onFocus: this.handleFocus,
234
+ onBlur: this.handleBlur,
235
+ onReset: this.props.onSearchReset
236
+ });
176
237
 
177
238
  const notificationButton = notificationValue > 0 ? React.createElement(
178
239
  HiButton,
@@ -204,19 +265,14 @@ class HiTopBar extends React.Component {
204
265
  null,
205
266
  React.createElement(
206
267
  Collapse,
207
- {
208
- 'in': !this.state.collapsed,
209
- className: classNames({
210
- [classes.collapseOverflow]: !hideable
211
- })
212
- },
268
+ { 'in': !this.state.collapsed },
213
269
  React.createElement(
214
270
  Toolbar,
215
271
  { className: classes.toolbar },
216
272
  React.createElement(
217
273
  'div',
218
- { ref: refButtons },
219
- searchFocus ? React.createElement(
274
+ { ref: div => this.overlay = div },
275
+ this.state.searchFocus ? React.createElement(
220
276
  HiButton,
221
277
  {
222
278
  className: classes.leftButton,
@@ -247,7 +303,7 @@ class HiTopBar extends React.Component {
247
303
  React.createElement(
248
304
  'div',
249
305
  { className: classes.flex },
250
- searchInput
306
+ input
251
307
  ),
252
308
  notificationButton,
253
309
  hasAccountSelector && React.createElement(
@@ -263,9 +319,6 @@ class HiTopBar extends React.Component {
263
319
  accountSelectorContent
264
320
  ),
265
321
  beta && React.createElement(HiColoredLabel, {
266
- className: classNames({
267
- [classes.betaWithoutAccountSelector]: !hasAccountSelector
268
- }),
269
322
  label: 'BETA',
270
323
  beta: true,
271
324
  color: theme.palette.neutral.dark
@@ -273,7 +326,7 @@ class HiTopBar extends React.Component {
273
326
  (hideable || hasSettings) && React.createElement(
274
327
  IconButton,
275
328
  { color: 'inherit', className: classes.iconButton },
276
- hideable && React.createElement(ChevronDoubleUp, { onClick: this.handleCollapse }),
329
+ hideable && React.createElement(ChevronDoubleUp, { onClick: this.toggleCollapse }),
277
330
  hasSettings && React.createElement(HiIconBuilder, {
278
331
  onClick: this.props.onClickSettings,
279
332
  icon: 'fa-gear',
@@ -285,7 +338,7 @@ class HiTopBar extends React.Component {
285
338
  hideable && this.state.collapsed && React.createElement(
286
339
  IconButton,
287
340
  {
288
- onClick: this.handleCollapse,
341
+ onClick: this.toggleCollapse,
289
342
  color: 'inherit',
290
343
  className: classes.showTopBarButton
291
344
  },
@@ -301,8 +354,8 @@ class HiTopBar extends React.Component {
301
354
  { className: classes.toolbar },
302
355
  React.createElement(
303
356
  'div',
304
- { ref: refButtons },
305
- searchFocus ? React.createElement(
357
+ { ref: div => this.overlay = div },
358
+ this.state.searchFocus ? React.createElement(
306
359
  IconButton,
307
360
  { className: classes.leftButtonMobile, color: 'inherit' },
308
361
  _ref4
@@ -373,7 +426,6 @@ HiTopBar.defaultProps = {
373
426
  hideable: false,
374
427
  hasSettings: false,
375
428
  hasAccountSelector: false,
376
- searchFocus: false,
377
429
  translations: {
378
430
  back: 'Back',
379
431
  menu: 'Menu',
@@ -414,6 +466,10 @@ HiTopBar.propTypes = process.env.NODE_ENV !== "production" ? {
414
466
  * Fonction de callback au click sur l'accountSelector'
415
467
  */
416
468
  onClickAccountSelector: PropTypes.func,
469
+ /**
470
+ * Fonction de callback au click sur le menu
471
+ */
472
+ onClickInputButton: PropTypes.func.isRequired,
417
473
  /**
418
474
  * Fonction de callback au click sur le menu
419
475
  */
@@ -431,22 +487,34 @@ HiTopBar.propTypes = process.env.NODE_ENV !== "production" ? {
431
487
  */
432
488
  onClickSettings: PropTypes.func,
433
489
  /**
434
- * Positionement de la topBar. The behavior of the different options is described
435
- * [here](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).
490
+ * Fonction de callback au blur du champs de recharge (si searchInput vide)
436
491
  */
437
- position: PropTypes.oneOf(['fixed', 'absolute', 'sticky', 'static']),
492
+ onSearchBlur: PropTypes.func,
493
+ /**
494
+ * Fonction de callback au changement du champs input (si searchInput vide)
495
+ */
496
+ onSearchChange: PropTypes.func,
497
+ /**
498
+ * Fonction de callback au focus sur le champs de recherche (si searchInput vide)
499
+ */
500
+ onSearchFocus: PropTypes.func,
438
501
  /**
439
- * Passe une ref callback à la div contenant les boutons "menu" et "back"
502
+ * Fonction de callback au reset du champs de recherche (si searchInput vide)
440
503
  */
441
- refButtons: PropTypes.func,
504
+ onSearchReset: PropTypes.func,
442
505
  /**
443
- * Etat de focus.
506
+ * Positionement de la topBar. The behavior of the different options is described
507
+ * [here](https://developer.mozilla.org/en-US/docs/Learn/CSS/CSS_layout/Positioning).
444
508
  */
445
- searchFocus: PropTypes.bool.isRequired,
509
+ position: PropTypes.oneOf(['fixed', 'absolute', 'sticky', 'static']),
446
510
  /**
447
511
  * Input de recherche
448
512
  */
449
- searchInput: PropTypes.node.isRequired,
513
+ searchInput: PropTypes.node,
514
+ /**
515
+ * Valeur du champs de recherche (si searchInput vide)
516
+ */
517
+ searchValue: PropTypes.node,
450
518
  /**
451
519
  * @ignore
452
520
  */
@@ -89,9 +89,6 @@ const light = {
89
89
  appBar: '#fff',
90
90
  paper: '#fff',
91
91
  default: grey[50]
92
- },
93
- dot: {
94
- neutral: '#707070'
95
92
  }
96
93
  };
97
94
 
@@ -159,9 +156,6 @@ const dark = {
159
156
  appBar: '#fff',
160
157
  paper: '#fff',
161
158
  default: grey[50]
162
- },
163
- dot: {
164
- neutral: '#707070'
165
159
  }
166
160
  };
167
161
 
@@ -244,10 +238,6 @@ const typography = {
244
238
  body4: {
245
239
  fontSize: 12,
246
240
  fontFamily
247
- },
248
- body5: {
249
- fontSize: 11,
250
- fontFamily
251
241
  }
252
242
  };
253
243
 
@@ -281,7 +271,6 @@ function createHiMuiTheme(options = {}) {
281
271
  inputDisabled: shades[type].inputDisabled,
282
272
  tableLine: shades[type].tableLine,
283
273
  background: shades[type].background,
284
- dot: shades[type].dot,
285
274
  status: statusPalette,
286
275
  primary: blue,
287
276
  secondary: yellow