@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.
- package/HiCheckbox/HiCheckbox.js +1 -4
- package/HiChip/HiChip.js +4 -4
- package/HiChip/HiChipSwitch.js +4 -11
- package/HiColoredLabel/HiColoredLabel.js +3 -9
- package/HiDatePicker/HiDatePicker.js +30 -34
- package/HiDatePicker/HiDateRangePicker.js +33 -76
- package/HiDatePicker/HiDateRangeSelector.js +13 -33
- package/HiDatePicker/ListPicker.js +7 -32
- package/HiDatePicker/Overlays/CustomOverlayLayout.js +1 -3
- package/HiDatePicker/Overlays/MonthPickerOverlay.js +1 -5
- package/HiDatePicker/Overlays/Overlay.js +4 -22
- package/HiDatePicker/Overlays/YearPickerOverlay.js +1 -2
- package/HiDatePicker/stylesheet.js +0 -7
- package/HiForm/HiFormControl.js +31 -39
- package/HiForm/HiInput.js +19 -40
- package/HiForm/HiSearchField.js +2 -2
- package/HiForm/index.js +0 -18
- package/HiPins/HiPins.js +1 -0
- package/HiSelect/HiSelect.js +353 -400
- package/HiSelect/HiSelectField.js +6 -8
- package/HiSelect/HiSuggestSelect.js +47 -27
- package/HiSelect/HiSuggestSelectField.js +80 -88
- package/HiSelect/SelectInput.js +23 -34
- package/HiSelectableList/HiSelectableList.js +3 -9
- package/HiSelectableList/HiSelectableListItem.js +55 -96
- package/HiSwitch/HiSwitchState.js +1 -1
- package/HiSwitch/index.js +0 -6
- package/HiTable/BodyCellBuilder.js +100 -115
- package/HiTable/BodyCells/CellCountry.js +36 -11
- package/HiTable/BodyCells/CellIcon.js +20 -29
- package/HiTable/BodyCells/CellImage.js +22 -43
- package/HiTable/BodyCells/CellLayout.js +20 -49
- package/HiTable/BodyCells/CellNumeric.js +2 -7
- package/HiTable/BodyCells/CellSentinel.js +17 -26
- package/HiTable/BodyCells/CellStatus.js +3 -7
- package/HiTable/BodyCells/CellText.js +1 -2
- package/HiTable/BodyCells/CellThirdPartySecurity.js +22 -45
- package/HiTable/BodyRow.js +62 -106
- package/HiTable/ChildRow.js +9 -3
- package/HiTable/ColumnFilter.js +15 -28
- package/HiTable/HeaderCell.js +16 -20
- package/HiTable/HiTable.js +11 -75
- package/HiTable/HiTableBody.js +36 -80
- package/HiTable/HiTableContextMenu.js +3 -7
- package/HiTable/HiTableFooterScroll.js +1 -1
- package/HiTable/HiTableHead.js +7 -24
- package/HiTable/OrderColumns.js +2 -6
- package/HiTopBar/HiTopBar.js +117 -37
- package/es/HiCheckbox/HiCheckbox.js +1 -4
- package/es/HiChip/HiChip.js +4 -4
- package/es/HiChip/HiChipSwitch.js +4 -11
- package/es/HiColoredLabel/HiColoredLabel.js +4 -9
- package/es/HiDatePicker/HiDatePicker.js +25 -30
- package/es/HiDatePicker/HiDateRangePicker.js +32 -72
- package/es/HiDatePicker/HiDateRangeSelector.js +14 -34
- package/es/HiDatePicker/ListPicker.js +20 -39
- package/es/HiDatePicker/Overlays/CustomOverlayLayout.js +1 -3
- package/es/HiDatePicker/Overlays/MonthPickerOverlay.js +1 -5
- package/es/HiDatePicker/Overlays/Overlay.js +4 -18
- package/es/HiDatePicker/Overlays/YearPickerOverlay.js +1 -2
- package/es/HiDatePicker/stylesheet.js +0 -7
- package/es/HiForm/HiFormControl.js +18 -32
- package/es/HiForm/HiInput.js +18 -35
- package/es/HiForm/HiSearchField.js +2 -2
- package/es/HiForm/index.js +1 -3
- package/es/HiPins/HiPins.js +1 -0
- package/es/HiSelect/HiSelect.js +324 -375
- package/es/HiSelect/HiSelectField.js +7 -9
- package/es/HiSelect/HiSuggestSelect.js +39 -26
- package/es/HiSelect/HiSuggestSelectField.js +69 -77
- package/es/HiSelect/SelectInput.js +23 -44
- package/es/HiSelectableList/HiSelectableList.js +4 -10
- package/es/HiSelectableList/HiSelectableListItem.js +55 -91
- package/es/HiSwitch/HiSwitchState.js +1 -1
- package/es/HiSwitch/index.js +0 -1
- package/es/HiTable/BodyCellBuilder.js +101 -111
- package/es/HiTable/BodyCells/CellCountry.js +35 -10
- package/es/HiTable/BodyCells/CellIcon.js +9 -18
- package/es/HiTable/BodyCells/CellImage.js +23 -42
- package/es/HiTable/BodyCells/CellLayout.js +23 -50
- package/es/HiTable/BodyCells/CellNumeric.js +2 -6
- package/es/HiTable/BodyCells/CellSentinel.js +9 -20
- package/es/HiTable/BodyCells/CellStatus.js +3 -7
- package/es/HiTable/BodyCells/CellText.js +1 -2
- package/es/HiTable/BodyCells/CellThirdPartySecurity.js +18 -42
- package/es/HiTable/BodyRow.js +61 -106
- package/es/HiTable/ChildRow.js +10 -3
- package/es/HiTable/ColumnFilter.js +9 -15
- package/es/HiTable/HeaderCell.js +16 -20
- package/es/HiTable/HiTable.js +12 -73
- package/es/HiTable/HiTableBody.js +32 -71
- package/es/HiTable/HiTableContextMenu.js +3 -7
- package/es/HiTable/HiTableFooterScroll.js +1 -1
- package/es/HiTable/HiTableHead.js +7 -19
- package/es/HiTable/OrderColumns.js +2 -6
- package/es/HiTopBar/HiTopBar.js +108 -40
- package/es/styles/createHiMuiTheme.js +0 -11
- package/es/utils/hiHelpers.js +5 -6
- package/index.es.js +1 -1
- package/index.js +1 -1
- package/package.json +44 -45
- package/styles/createHiMuiTheme.js +0 -11
- package/umd/hipay-material-ui.development.js +10243 -11324
- package/umd/hipay-material-ui.production.min.js +5 -5
- package/utils/hiHelpers.js +4 -6
- package/HI-CHANGELOG.md +0 -58
- package/HiAlertModal/HiAlertModal.js +0 -247
- package/HiAlertModal/index.js +0 -16
- package/HiBreadcrumb/HiBreadcrumb.js +0 -149
- package/HiBreadcrumb/HiStep.js +0 -159
- package/HiBreadcrumb/HiStepConnector.js +0 -207
- package/HiBreadcrumb/HiStepContent.js +0 -122
- package/HiBreadcrumb/HiStepIcon.js +0 -191
- package/HiBreadcrumb/HiStepLabel.js +0 -248
- package/HiBreadcrumb/HiStepper.js +0 -106
- package/HiBreadcrumb/index.js +0 -16
- package/HiDotsStepper/HiDot.js +0 -151
- package/HiDotsStepper/HiDotsStepper.js +0 -146
- package/HiDotsStepper/index.js +0 -16
- package/HiExpansionPanel/HiExpansionPanel.js +0 -231
- package/HiExpansionPanel/index.js +0 -16
- package/HiForm/HiAddressField.js +0 -204
- package/HiForm/HiSlider.js +0 -399
- package/HiPdfReader/HiPdfReader.js +0 -282
- package/HiPdfReader/index.js +0 -16
- package/HiTable/HiTableFooter.js +0 -131
- package/es/HiAlertModal/HiAlertModal.js +0 -189
- package/es/HiAlertModal/index.js +0 -1
- package/es/HiBreadcrumb/HiBreadcrumb.js +0 -81
- package/es/HiBreadcrumb/HiStep.js +0 -94
- package/es/HiBreadcrumb/HiStepConnector.js +0 -143
- package/es/HiBreadcrumb/HiStepContent.js +0 -63
- package/es/HiBreadcrumb/HiStepIcon.js +0 -149
- package/es/HiBreadcrumb/HiStepLabel.js +0 -197
- package/es/HiBreadcrumb/HiStepper.js +0 -46
- package/es/HiBreadcrumb/index.js +0 -1
- package/es/HiDotsStepper/HiDot.js +0 -92
- package/es/HiDotsStepper/HiDotsStepper.js +0 -83
- package/es/HiDotsStepper/index.js +0 -1
- package/es/HiExpansionPanel/HiExpansionPanel.js +0 -170
- package/es/HiExpansionPanel/index.js +0 -1
- package/es/HiForm/HiAddressField.js +0 -142
- package/es/HiForm/HiSlider.js +0 -309
- package/es/HiPdfReader/HiPdfReader.js +0 -198
- package/es/HiPdfReader/index.js +0 -1
- package/es/HiTable/HiTableFooter.js +0 -74
- package/hmu/images/countries/ad.svg +0 -151
- package/hmu/images/countries/ae.svg +0 -6
- package/hmu/images/countries/af.svg +0 -83
- package/hmu/images/countries/ag.svg +0 -15
- package/hmu/images/countries/ai.svg +0 -767
- package/hmu/images/countries/al.svg +0 -5
- package/hmu/images/countries/am.svg +0 -5
- package/hmu/images/countries/ao.svg +0 -13
- package/hmu/images/countries/aq.svg +0 -6
- package/hmu/images/countries/ar.svg +0 -32
- package/hmu/images/countries/as.svg +0 -33
- package/hmu/images/countries/at.svg +0 -6
- package/hmu/images/countries/au.svg +0 -9
- package/hmu/images/countries/aw.svg +0 -186
- package/hmu/images/countries/ax.svg +0 -18
- package/hmu/images/countries/az.svg +0 -8
- package/hmu/images/countries/ba.svg +0 -12
- package/hmu/images/countries/bb.svg +0 -6
- package/hmu/images/countries/bd.svg +0 -4
- package/hmu/images/countries/be.svg +0 -7
- package/hmu/images/countries/bf.svg +0 -7
- package/hmu/images/countries/bg.svg +0 -7
- package/hmu/images/countries/bh.svg +0 -11
- package/hmu/images/countries/bi.svg +0 -15
- package/hmu/images/countries/bj.svg +0 -14
- package/hmu/images/countries/bl.svg +0 -7
- package/hmu/images/countries/bm.svg +0 -99
- package/hmu/images/countries/bn.svg +0 -36
- package/hmu/images/countries/bo.svg +0 -686
- package/hmu/images/countries/bq.svg +0 -5
- package/hmu/images/countries/br.svg +0 -45
- package/hmu/images/countries/bs.svg +0 -13
- package/hmu/images/countries/bt.svg +0 -89
- package/hmu/images/countries/bv.svg +0 -13
- package/hmu/images/countries/bw.svg +0 -7
- package/hmu/images/countries/by.svg +0 -61
- package/hmu/images/countries/bz.svg +0 -146
- package/hmu/images/countries/ca.svg +0 -4
- package/hmu/images/countries/cc.svg +0 -19
- package/hmu/images/countries/cd.svg +0 -5
- package/hmu/images/countries/cf.svg +0 -15
- package/hmu/images/countries/cg.svg +0 -12
- package/hmu/images/countries/ch.svg +0 -9
- package/hmu/images/countries/ci.svg +0 -7
- package/hmu/images/countries/ck.svg +0 -9
- package/hmu/images/countries/cl.svg +0 -13
- package/hmu/images/countries/cm.svg +0 -15
- package/hmu/images/countries/cn.svg +0 -11
- package/hmu/images/countries/co.svg +0 -7
- package/hmu/images/countries/cr.svg +0 -7
- package/hmu/images/countries/cu.svg +0 -13
- package/hmu/images/countries/cv.svg +0 -13
- package/hmu/images/countries/cw.svg +0 -14
- package/hmu/images/countries/cx.svg +0 -15
- package/hmu/images/countries/cy.svg +0 -6
- package/hmu/images/countries/cz.svg +0 -12
- package/hmu/images/countries/de.svg +0 -5
- package/hmu/images/countries/dj.svg +0 -13
- package/hmu/images/countries/dk.svg +0 -5
- package/hmu/images/countries/dm.svg +0 -152
- package/hmu/images/countries/do.svg +0 -6745
- package/hmu/images/countries/dz.svg +0 -5
- package/hmu/images/countries/ec.svg +0 -141
- package/hmu/images/countries/ee.svg +0 -7
- package/hmu/images/countries/eg.svg +0 -38
- package/hmu/images/countries/eh.svg +0 -15
- package/hmu/images/countries/er.svg +0 -8
- package/hmu/images/countries/es-ct.svg +0 -4
- package/hmu/images/countries/es.svg +0 -581
- package/hmu/images/countries/et.svg +0 -14
- package/hmu/images/countries/eu.svg +0 -28
- package/hmu/images/countries/fi.svg +0 -5
- package/hmu/images/countries/fj.svg +0 -124
- package/hmu/images/countries/fk.svg +0 -90
- package/hmu/images/countries/fm.svg +0 -11
- package/hmu/images/countries/fo.svg +0 -12
- package/hmu/images/countries/fr.svg +0 -7
- package/hmu/images/countries/ga.svg +0 -7
- package/hmu/images/countries/gb-eng.svg +0 -5
- package/hmu/images/countries/gb-nir.svg +0 -137
- package/hmu/images/countries/gb-sct.svg +0 -4
- package/hmu/images/countries/gb-wls.svg +0 -9
- package/hmu/images/countries/gb.svg +0 -15
- package/hmu/images/countries/gd.svg +0 -27
- package/hmu/images/countries/ge.svg +0 -6
- package/hmu/images/countries/gf.svg +0 -5
- package/hmu/images/countries/gg.svg +0 -9
- package/hmu/images/countries/gh.svg +0 -6
- package/hmu/images/countries/gi.svg +0 -33
- package/hmu/images/countries/gl.svg +0 -4
- package/hmu/images/countries/gm.svg +0 -14
- package/hmu/images/countries/gn.svg +0 -7
- package/hmu/images/countries/gp.svg +0 -7
- package/hmu/images/countries/gq.svg +0 -23
- package/hmu/images/countries/gr.svg +0 -22
- package/hmu/images/countries/gs.svg +0 -205
- package/hmu/images/countries/gt.svg +0 -204
- package/hmu/images/countries/gu.svg +0 -39
- package/hmu/images/countries/gw.svg +0 -13
- package/hmu/images/countries/gy.svg +0 -9
- package/hmu/images/countries/hk.svg +0 -32
- package/hmu/images/countries/hm.svg +0 -9
- package/hmu/images/countries/hn.svg +0 -18
- package/hmu/images/countries/hr.svg +0 -59
- package/hmu/images/countries/ht.svg +0 -122
- package/hmu/images/countries/hu.svg +0 -7
- package/hmu/images/countries/id.svg +0 -6
- package/hmu/images/countries/ie.svg +0 -7
- package/hmu/images/countries/il.svg +0 -14
- package/hmu/images/countries/im.svg +0 -36
- package/hmu/images/countries/in.svg +0 -25
- package/hmu/images/countries/io.svg +0 -148
- package/hmu/images/countries/iq.svg +0 -10
- package/hmu/images/countries/ir.svg +0 -219
- package/hmu/images/countries/is.svg +0 -12
- package/hmu/images/countries/it.svg +0 -7
- package/hmu/images/countries/je.svg +0 -32
- package/hmu/images/countries/jm.svg +0 -8
- package/hmu/images/countries/jo.svg +0 -16
- package/hmu/images/countries/jp.svg +0 -11
- package/hmu/images/countries/ke.svg +0 -23
- package/hmu/images/countries/kg.svg +0 -15
- package/hmu/images/countries/kh.svg +0 -69
- package/hmu/images/countries/ki.svg +0 -36
- package/hmu/images/countries/km.svg +0 -16
- package/hmu/images/countries/kn.svg +0 -14
- package/hmu/images/countries/kp.svg +0 -15
- package/hmu/images/countries/kr.svg +0 -24
- package/hmu/images/countries/kw.svg +0 -13
- package/hmu/images/countries/ky.svg +0 -63
- package/hmu/images/countries/kz.svg +0 -23
- package/hmu/images/countries/la.svg +0 -12
- package/hmu/images/countries/lb.svg +0 -15
- package/hmu/images/countries/lc.svg +0 -8
- package/hmu/images/countries/li.svg +0 -43
- package/hmu/images/countries/lk.svg +0 -22
- package/hmu/images/countries/lr.svg +0 -14
- package/hmu/images/countries/ls.svg +0 -8
- package/hmu/images/countries/lt.svg +0 -7
- package/hmu/images/countries/lu.svg +0 -5
- package/hmu/images/countries/lv.svg +0 -6
- package/hmu/images/countries/ly.svg +0 -13
- package/hmu/images/countries/ma.svg +0 -4
- package/hmu/images/countries/mc.svg +0 -6
- package/hmu/images/countries/md.svg +0 -72
- package/hmu/images/countries/me.svg +0 -118
- package/hmu/images/countries/mf.svg +0 -7
- package/hmu/images/countries/mg.svg +0 -7
- package/hmu/images/countries/mh.svg +0 -7
- package/hmu/images/countries/mk.svg +0 -5
- package/hmu/images/countries/ml.svg +0 -7
- package/hmu/images/countries/mm.svg +0 -16
- package/hmu/images/countries/mn.svg +0 -13
- package/hmu/images/countries/mo.svg +0 -9
- package/hmu/images/countries/mp.svg +0 -86
- package/hmu/images/countries/mq.svg +0 -7
- package/hmu/images/countries/mr.svg +0 -6
- package/hmu/images/countries/ms.svg +0 -39
- package/hmu/images/countries/mt.svg +0 -49
- package/hmu/images/countries/mu.svg +0 -8
- package/hmu/images/countries/mv.svg +0 -6
- package/hmu/images/countries/mw.svg +0 -10
- package/hmu/images/countries/mx.svg +0 -385
- package/hmu/images/countries/my.svg +0 -15
- package/hmu/images/countries/mz.svg +0 -21
- package/hmu/images/countries/na.svg +0 -16
- package/hmu/images/countries/nc.svg +0 -7
- package/hmu/images/countries/ne.svg +0 -6
- package/hmu/images/countries/nf.svg +0 -9
- package/hmu/images/countries/ng.svg +0 -6
- package/hmu/images/countries/ni.svg +0 -131
- package/hmu/images/countries/nl.svg +0 -7
- package/hmu/images/countries/no.svg +0 -7
- package/hmu/images/countries/np.svg +0 -14
- package/hmu/images/countries/nr.svg +0 -12
- package/hmu/images/countries/nu.svg +0 -26
- package/hmu/images/countries/nz.svg +0 -41
- package/hmu/images/countries/om.svg +0 -116
- package/hmu/images/countries/pa.svg +0 -14
- package/hmu/images/countries/pe.svg +0 -279
- package/hmu/images/countries/pf.svg +0 -19
- package/hmu/images/countries/pg.svg +0 -9
- package/hmu/images/countries/ph.svg +0 -28
- package/hmu/images/countries/pk.svg +0 -15
- package/hmu/images/countries/pl.svg +0 -6
- package/hmu/images/countries/pm.svg +0 -7
- package/hmu/images/countries/pn.svg +0 -62
- package/hmu/images/countries/pr.svg +0 -13
- package/hmu/images/countries/ps.svg +0 -15
- package/hmu/images/countries/pt.svg +0 -57
- package/hmu/images/countries/pw.svg +0 -11
- package/hmu/images/countries/py.svg +0 -157
- package/hmu/images/countries/qa.svg +0 -4
- package/hmu/images/countries/re.svg +0 -7
- package/hmu/images/countries/ro.svg +0 -7
- package/hmu/images/countries/rs.svg +0 -292
- package/hmu/images/countries/ru.svg +0 -7
- package/hmu/images/countries/rw.svg +0 -13
- package/hmu/images/countries/sa.svg +0 -26
- package/hmu/images/countries/sb.svg +0 -13
- package/hmu/images/countries/sc.svg +0 -14
- package/hmu/images/countries/sd.svg +0 -13
- package/hmu/images/countries/se.svg +0 -16
- package/hmu/images/countries/sg.svg +0 -13
- package/hmu/images/countries/sh.svg +0 -74
- package/hmu/images/countries/si.svg +0 -18
- package/hmu/images/countries/sj.svg +0 -7
- package/hmu/images/countries/sk.svg +0 -9
- package/hmu/images/countries/sl.svg +0 -7
- package/hmu/images/countries/sm.svg +0 -91
- package/hmu/images/countries/sn.svg +0 -8
- package/hmu/images/countries/so.svg +0 -11
- package/hmu/images/countries/sr.svg +0 -6
- package/hmu/images/countries/ss.svg +0 -8
- package/hmu/images/countries/st.svg +0 -16
- package/hmu/images/countries/sv.svg +0 -618
- package/hmu/images/countries/sx.svg +0 -56
- package/hmu/images/countries/sy.svg +0 -6
- package/hmu/images/countries/sz.svg +0 -45
- package/hmu/images/countries/tc.svg +0 -67
- package/hmu/images/countries/td.svg +0 -7
- package/hmu/images/countries/tf.svg +0 -15
- package/hmu/images/countries/tg.svg +0 -14
- package/hmu/images/countries/th.svg +0 -7
- package/hmu/images/countries/tj.svg +0 -22
- package/hmu/images/countries/tk.svg +0 -5
- package/hmu/images/countries/tl.svg +0 -13
- package/hmu/images/countries/tm.svg +0 -213
- package/hmu/images/countries/tn.svg +0 -13
- package/hmu/images/countries/to.svg +0 -10
- package/hmu/images/countries/tr.svg +0 -8
- package/hmu/images/countries/tt.svg +0 -5
- package/hmu/images/countries/tv.svg +0 -27
- package/hmu/images/countries/tw.svg +0 -14
- package/hmu/images/countries/tz.svg +0 -13
- package/hmu/images/countries/ua.svg +0 -6
- package/hmu/images/countries/ug.svg +0 -30
- package/hmu/images/countries/um.svg +0 -23
- package/hmu/images/countries/un.svg +0 -16
- package/hmu/images/countries/us.svg +0 -12
- package/hmu/images/countries/uy.svg +0 -28
- package/hmu/images/countries/uz.svg +0 -30
- package/hmu/images/countries/va.svg +0 -483
- package/hmu/images/countries/vc.svg +0 -8
- package/hmu/images/countries/ve.svg +0 -26
- package/hmu/images/countries/vg.svg +0 -133
- package/hmu/images/countries/vi.svg +0 -31
- package/hmu/images/countries/vn.svg +0 -11
- package/hmu/images/countries/vu.svg +0 -18
- package/hmu/images/countries/wf.svg +0 -7
- package/hmu/images/countries/ws.svg +0 -7
- package/hmu/images/countries/ye.svg +0 -7
- package/hmu/images/countries/yt.svg +0 -7
- package/hmu/images/countries/za.svg +0 -17
- package/hmu/images/countries/zm.svg +0 -27
- package/hmu/images/countries/zw.svg +0 -21
- package/hmu/images/hipay-white-logo.svg +0 -42
- package/hmu/images/logo_visa_75wx45h.gif +0 -0
@@ -5,10 +5,6 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.styles = undefined;
|
7
7
|
|
8
|
-
var _defineProperty2 = require('babel-runtime/helpers/defineProperty');
|
9
|
-
|
10
|
-
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
|
11
|
-
|
12
8
|
var _getPrototypeOf = require('babel-runtime/core-js/object/get-prototype-of');
|
13
9
|
|
14
10
|
var _getPrototypeOf2 = _interopRequireDefault(_getPrototypeOf);
|
@@ -37,10 +33,6 @@ var _propTypes = require('prop-types');
|
|
37
33
|
|
38
34
|
var _propTypes2 = _interopRequireDefault(_propTypes);
|
39
35
|
|
40
|
-
var _classnames = require('classnames');
|
41
|
-
|
42
|
-
var _classnames2 = _interopRequireDefault(_classnames);
|
43
|
-
|
44
36
|
var _reactCustomScrollbars = require('react-custom-scrollbars');
|
45
37
|
|
46
38
|
var _Menu = require('material-ui/Menu');
|
@@ -51,8 +43,6 @@ var _withStyles2 = _interopRequireDefault(_withStyles);
|
|
51
43
|
|
52
44
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
53
45
|
|
54
|
-
// weak
|
55
|
-
|
56
46
|
var styles = exports.styles = function styles(theme) {
|
57
47
|
return {
|
58
48
|
itemRoot: {
|
@@ -66,12 +56,9 @@ var styles = exports.styles = function styles(theme) {
|
|
66
56
|
},
|
67
57
|
itemCentered: {
|
68
58
|
margin: 'auto'
|
69
|
-
},
|
70
|
-
currentDateItem: {
|
71
|
-
color: theme.palette.business.primary.normal + ' !important'
|
72
59
|
}
|
73
60
|
};
|
74
|
-
};
|
61
|
+
}; // weak
|
75
62
|
|
76
63
|
var ListPicker = function (_React$PureComponent) {
|
77
64
|
(0, _inherits3.default)(ListPicker, _React$PureComponent);
|
@@ -84,9 +71,7 @@ var ListPicker = function (_React$PureComponent) {
|
|
84
71
|
(0, _createClass3.default)(ListPicker, [{
|
85
72
|
key: 'componentDidMount',
|
86
73
|
value: function componentDidMount() {
|
87
|
-
if (this.
|
88
|
-
this.scrollbars.scrollTop((this.position - 2) * 40);
|
89
|
-
} else if (this.props.initAtMiddleScroll && this.scrollbars) {
|
74
|
+
if (this.props.initAtMiddleScroll && this.scrollbars) {
|
90
75
|
this.scrollbars.scrollTop((this.scrollbars.getScrollHeight() - this.scrollbars.getClientHeight()) / 2 + 20);
|
91
76
|
}
|
92
77
|
}
|
@@ -99,12 +84,8 @@ var ListPicker = function (_React$PureComponent) {
|
|
99
84
|
classes = _props.classes,
|
100
85
|
itemList = _props.itemList,
|
101
86
|
onItemClick = _props.onItemClick,
|
102
|
-
selectedItem = _props.selectedItem
|
103
|
-
type = _props.type;
|
104
|
-
|
87
|
+
selectedItem = _props.selectedItem;
|
105
88
|
|
106
|
-
this.position = itemList.indexOf(selectedItem);
|
107
|
-
var now = new Date();
|
108
89
|
|
109
90
|
return _react2.default.createElement(
|
110
91
|
_reactCustomScrollbars.Scrollbars,
|
@@ -117,9 +98,7 @@ var ListPicker = function (_React$PureComponent) {
|
|
117
98
|
_react2.default.createElement(
|
118
99
|
_Menu.MenuList,
|
119
100
|
null,
|
120
|
-
itemList.map(function (item
|
121
|
-
var labelClass = (0, _classnames2.default)(classes.itemCentered, (0, _defineProperty3.default)({}, classes.currentDateItem, type === 'year' && now.getFullYear() === item || type === 'month' && now.getMonth() === index));
|
122
|
-
|
101
|
+
itemList.map(function (item) {
|
123
102
|
return _react2.default.createElement(
|
124
103
|
_Menu.MenuItem,
|
125
104
|
{
|
@@ -135,7 +114,7 @@ var ListPicker = function (_React$PureComponent) {
|
|
135
114
|
},
|
136
115
|
_react2.default.createElement(
|
137
116
|
'span',
|
138
|
-
{ className:
|
117
|
+
{ className: classes.itemCentered },
|
139
118
|
item
|
140
119
|
)
|
141
120
|
);
|
@@ -148,7 +127,7 @@ var ListPicker = function (_React$PureComponent) {
|
|
148
127
|
}(_react2.default.PureComponent);
|
149
128
|
|
150
129
|
ListPicker.defaultProps = {
|
151
|
-
initAtMiddleScroll:
|
130
|
+
initAtMiddleScroll: false
|
152
131
|
};
|
153
132
|
ListPicker.propTypes = process.env.NODE_ENV !== "production" ? {
|
154
133
|
/**
|
@@ -170,10 +149,6 @@ ListPicker.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
170
149
|
/**
|
171
150
|
* Item sélectionné
|
172
151
|
*/
|
173
|
-
selectedItem: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string])
|
174
|
-
/**
|
175
|
-
* Type des données dans la liste
|
176
|
-
*/
|
177
|
-
type: _propTypes2.default.oneOf(['year', 'month'])
|
152
|
+
selectedItem: _propTypes2.default.oneOfType([_propTypes2.default.number, _propTypes2.default.string])
|
178
153
|
} : {};
|
179
154
|
exports.default = (0, _withStyles2.default)(styles, { name: 'HmuiListPicker' })(ListPicker);
|
@@ -98,11 +98,9 @@ var CustomOverlayLayout = function CustomOverlayLayout(_ref) {
|
|
98
98
|
|
99
99
|
var paperClass = (0, _classnames2.default)(classes.paper, (_classNames = {}, (0, _defineProperty3.default)(_classNames, classes.left, side === 'from'), (0, _defineProperty3.default)(_classNames, classes.right, side === 'to'), _classNames));
|
100
100
|
|
101
|
-
var paperProps = (0, _extends3.default)({}, props);
|
102
|
-
|
103
101
|
return _react2.default.createElement(
|
104
102
|
_Paper2.default,
|
105
|
-
{ className: paperClass
|
103
|
+
{ className: paperClass },
|
106
104
|
_react2.default.createElement(
|
107
105
|
'div',
|
108
106
|
{ className: classes.overlay },
|
@@ -89,17 +89,13 @@ var MonthPickerOverlay = function (_React$Component) {
|
|
89
89
|
props = (0, _objectWithoutProperties3.default)(_props, ['value', 'translations']);
|
90
90
|
|
91
91
|
|
92
|
-
var now = new Date();
|
93
|
-
var currentMonth = props.localeUtils ? props.localeUtils.getMonths()[now.getMonth()] : props.children.props.localeUtils.getMonths()[now.getMonth()];
|
94
|
-
|
95
92
|
return _react2.default.createElement(
|
96
93
|
_CustomOverlayLayout2.default,
|
97
94
|
(0, _extends3.default)({ headerElement: translations.month }, props),
|
98
95
|
_react2.default.createElement(_ListPicker2.default, {
|
99
96
|
itemList: this.months,
|
100
97
|
onItemClick: this.handleMonthClick,
|
101
|
-
selectedItem:
|
102
|
-
type: 'month'
|
98
|
+
selectedItem: value ? value.getMonth() : null
|
103
99
|
})
|
104
100
|
);
|
105
101
|
}
|
@@ -5,18 +5,10 @@ Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
});
|
6
6
|
exports.styles = undefined;
|
7
7
|
|
8
|
-
var _extends2 = require('babel-runtime/helpers/extends');
|
9
|
-
|
10
|
-
var _extends3 = _interopRequireDefault(_extends2);
|
11
|
-
|
12
8
|
var _defineProperty2 = require('babel-runtime/helpers/defineProperty');
|
13
9
|
|
14
10
|
var _defineProperty3 = _interopRequireDefault(_defineProperty2);
|
15
11
|
|
16
|
-
var _objectWithoutProperties2 = require('babel-runtime/helpers/objectWithoutProperties');
|
17
|
-
|
18
|
-
var _objectWithoutProperties3 = _interopRequireDefault(_objectWithoutProperties2);
|
19
|
-
|
20
12
|
var _react = require('react');
|
21
13
|
|
22
14
|
var _react2 = _interopRequireDefault(_react);
|
@@ -42,15 +34,10 @@ function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { de
|
|
42
34
|
var styles = exports.styles = function styles() {
|
43
35
|
return {
|
44
36
|
paper: {
|
37
|
+
position: 'absolute',
|
45
38
|
width: '100%',
|
46
39
|
zIndex: 10
|
47
40
|
},
|
48
|
-
absolute: {
|
49
|
-
position: 'absolute'
|
50
|
-
},
|
51
|
-
relative: {
|
52
|
-
position: 'relative'
|
53
|
-
},
|
54
41
|
left: {
|
55
42
|
width: '200%',
|
56
43
|
left: 0
|
@@ -70,18 +57,13 @@ var Overlay = function Overlay(_ref) {
|
|
70
57
|
|
71
58
|
var classes = _ref.classes,
|
72
59
|
children = _ref.children,
|
73
|
-
side = _ref.side
|
74
|
-
staticPosition = _ref.staticPosition,
|
75
|
-
props = (0, _objectWithoutProperties3.default)(_ref, ['classes', 'children', 'side', 'staticPosition']);
|
76
|
-
|
77
|
-
|
78
|
-
var paperClass = (0, _classnames2.default)(classes.paper, (_classNames = {}, (0, _defineProperty3.default)(_classNames, classes.left, side === 'from'), (0, _defineProperty3.default)(_classNames, classes.right, side === 'to'), (0, _defineProperty3.default)(_classNames, classes.absolute, staticPosition !== true), (0, _defineProperty3.default)(_classNames, classes.relative, staticPosition === true), _classNames));
|
60
|
+
side = _ref.side;
|
79
61
|
|
80
|
-
var
|
62
|
+
var paperClass = (0, _classnames2.default)(classes.paper, (_classNames = {}, (0, _defineProperty3.default)(_classNames, classes.left, side === 'from'), (0, _defineProperty3.default)(_classNames, classes.right, side === 'to'), _classNames));
|
81
63
|
|
82
64
|
return _react2.default.createElement(
|
83
65
|
_Paper2.default,
|
84
|
-
{
|
66
|
+
{ className: paperClass },
|
85
67
|
_react2.default.createElement(
|
86
68
|
'div',
|
87
69
|
{ className: classes.overlay },
|
@@ -116,8 +116,7 @@ var YearPickerOverlay = function (_React$Component) {
|
|
116
116
|
_react2.default.createElement(_ListPicker2.default, {
|
117
117
|
itemList: this.years,
|
118
118
|
onItemClick: this.handleYearClick,
|
119
|
-
selectedItem: value ? value.getFullYear() : null
|
120
|
-
type: 'year'
|
119
|
+
selectedItem: value ? value.getFullYear() : null
|
121
120
|
})
|
122
121
|
);
|
123
122
|
}
|
@@ -31,13 +31,6 @@ exports.default = function (theme) {
|
|
31
31
|
width: 'calc(50% - 4px)',
|
32
32
|
marginLeft: 4
|
33
33
|
},
|
34
|
-
absolute: {
|
35
|
-
position: 'absolute'
|
36
|
-
},
|
37
|
-
dayPickerMargin: {
|
38
|
-
top: -337,
|
39
|
-
width: 'calc(100% - 4px)'
|
40
|
-
},
|
41
34
|
// The container element
|
42
35
|
container: {
|
43
36
|
width: '100%',
|
package/HiForm/HiFormControl.js
CHANGED
@@ -61,12 +61,8 @@ var _HiFormLabel = require('./HiFormLabel');
|
|
61
61
|
|
62
62
|
var _HiFormLabel2 = _interopRequireDefault(_HiFormLabel);
|
63
63
|
|
64
|
-
var _hiHelpers = require('../utils/hiHelpers');
|
65
|
-
|
66
64
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
67
65
|
|
68
|
-
// @inheritedComponent FormControl
|
69
|
-
|
70
66
|
var styles = exports.styles = function styles(theme) {
|
71
67
|
return {
|
72
68
|
helperTextClassName: {
|
@@ -120,7 +116,7 @@ var styles = exports.styles = function styles(theme) {
|
|
120
116
|
color: theme.palette.business.primary.normal
|
121
117
|
},
|
122
118
|
helperDiv: (0, _extends3.default)({}, theme.typography.h5, {
|
123
|
-
width: '100%',
|
119
|
+
width: 'calc(100% - 16px)',
|
124
120
|
backgroundColor: '#ffffff',
|
125
121
|
color: theme.palette.neutral.dark,
|
126
122
|
padding: '16px 8px',
|
@@ -128,8 +124,7 @@ var styles = exports.styles = function styles(theme) {
|
|
128
124
|
position: 'relative',
|
129
125
|
marginBottom: 5,
|
130
126
|
fontWeight: theme.typography.fontWeightRegular,
|
131
|
-
boxShadow: '0px 1px 7px rgba(0, 0, 0, 0.16)'
|
132
|
-
lineHeight: 1.5
|
127
|
+
boxShadow: '0px 1px 7px rgba(0, 0, 0, 0.16)'
|
133
128
|
}),
|
134
129
|
helperDivArrowDown: {
|
135
130
|
borderTopColor: '#ffffff'
|
@@ -140,6 +135,7 @@ var styles = exports.styles = function styles(theme) {
|
|
140
135
|
/**
|
141
136
|
* Champs input pour formulaire
|
142
137
|
*/
|
138
|
+
// @inheritedComponent FormControl
|
143
139
|
|
144
140
|
var HiFormControl = function (_React$PureComponent) {
|
145
141
|
(0, _inherits3.default)(HiFormControl, _React$PureComponent);
|
@@ -149,21 +145,6 @@ var HiFormControl = function (_React$PureComponent) {
|
|
149
145
|
|
150
146
|
var _this = (0, _possibleConstructorReturn3.default)(this, (HiFormControl.__proto__ || (0, _getPrototypeOf2.default)(HiFormControl)).call(this, props));
|
151
147
|
|
152
|
-
_this.handleFocus = function (value) {
|
153
|
-
return function () {
|
154
|
-
_this.setState({ focused: value });
|
155
|
-
if (value === false && _this.state.hovered) {
|
156
|
-
_this.setState({ hovered: false });
|
157
|
-
}
|
158
|
-
};
|
159
|
-
};
|
160
|
-
|
161
|
-
_this.handleHover = function (value) {
|
162
|
-
return function () {
|
163
|
-
_this.setState({ hovered: value });
|
164
|
-
};
|
165
|
-
};
|
166
|
-
|
167
148
|
_this.state = {
|
168
149
|
helperOpen: false,
|
169
150
|
focused: false,
|
@@ -178,17 +159,26 @@ var HiFormControl = function (_React$PureComponent) {
|
|
178
159
|
|
179
160
|
(0, _createClass3.default)(HiFormControl, [{
|
180
161
|
key: 'handleHelperClick',
|
181
|
-
value: function handleHelperClick(
|
162
|
+
value: function handleHelperClick() {
|
182
163
|
this.setState(function (prevState) {
|
183
164
|
return { helperOpen: !prevState.helperOpen };
|
184
165
|
});
|
185
|
-
|
186
|
-
|
187
|
-
|
166
|
+
}
|
167
|
+
}, {
|
168
|
+
key: 'handleFocus',
|
169
|
+
value: function handleFocus(value) {
|
170
|
+
this.setState({ focused: value });
|
171
|
+
}
|
172
|
+
}, {
|
173
|
+
key: 'handleHover',
|
174
|
+
value: function handleHover(value) {
|
175
|
+
this.setState({ hovered: value });
|
188
176
|
}
|
189
177
|
}, {
|
190
178
|
key: 'render',
|
191
179
|
value: function render() {
|
180
|
+
var _this2 = this;
|
181
|
+
|
192
182
|
var _props = this.props,
|
193
183
|
children = _props.children,
|
194
184
|
classes = _props.classes,
|
@@ -233,17 +223,11 @@ var HiFormControl = function (_React$PureComponent) {
|
|
233
223
|
),
|
234
224
|
!disabled && helperIcon && helperText && !error && helperOpen && _react2.default.createElement(
|
235
225
|
'div',
|
236
|
-
{
|
237
|
-
className: classes.helperDiv
|
238
|
-
},
|
226
|
+
{ className: classes.helperDiv },
|
239
227
|
_react2.default.createElement('div', {
|
240
228
|
className: (0, _classnames2.default)(classes.arrowDown, classes.helperDivArrowDown)
|
241
|
-
|
242
229
|
}),
|
243
|
-
|
244
|
-
dangerouslySetInnerHTML: {
|
245
|
-
__html: (0, _hiHelpers.escapeHTML)(helperText)
|
246
|
-
} })
|
230
|
+
helperText
|
247
231
|
),
|
248
232
|
label && _react2.default.createElement(
|
249
233
|
_HiFormLabel2.default,
|
@@ -252,7 +236,7 @@ var HiFormControl = function (_React$PureComponent) {
|
|
252
236
|
label: label,
|
253
237
|
required: required,
|
254
238
|
disabled: disabled,
|
255
|
-
focused:
|
239
|
+
focused: focused || hovered
|
256
240
|
}, InputLabelProps),
|
257
241
|
!disabled && error && _react2.default.createElement(_mdiMaterialUi.Alert, {
|
258
242
|
className: classes.errorIcon,
|
@@ -266,10 +250,18 @@ var HiFormControl = function (_React$PureComponent) {
|
|
266
250
|
_react2.default.createElement(
|
267
251
|
'div',
|
268
252
|
{
|
269
|
-
onMouseEnter:
|
270
|
-
|
271
|
-
|
272
|
-
|
253
|
+
onMouseEnter: function onMouseEnter() {
|
254
|
+
return _this2.handleHover(true);
|
255
|
+
},
|
256
|
+
onMouseLeave: function onMouseLeave() {
|
257
|
+
return _this2.handleHover(false);
|
258
|
+
},
|
259
|
+
onFocus: function onFocus() {
|
260
|
+
return _this2.handleFocus(true);
|
261
|
+
},
|
262
|
+
onBlur: function onBlur() {
|
263
|
+
return _this2.handleFocus(false);
|
264
|
+
}
|
273
265
|
},
|
274
266
|
children
|
275
267
|
),
|
package/HiForm/HiInput.js
CHANGED
@@ -70,7 +70,7 @@ var styles = exports.styles = function styles(theme) {
|
|
70
70
|
}, theme.typography.body1, {
|
71
71
|
borderBottom: '1px solid ' + theme.palette.input.bottomLine,
|
72
72
|
paddingLeft: 8,
|
73
|
-
backgroundColor:
|
73
|
+
backgroundColor: '#f5f5f5',
|
74
74
|
'&$focused': {
|
75
75
|
backgroundColor: '#ffffff'
|
76
76
|
},
|
@@ -107,7 +107,7 @@ var styles = exports.styles = function styles(theme) {
|
|
107
107
|
focused: {},
|
108
108
|
error: {
|
109
109
|
border: '1px solid ' + theme.palette.negative.normal,
|
110
|
-
paddingLeft:
|
110
|
+
paddingLeft: 0,
|
111
111
|
borderRadius: 2
|
112
112
|
},
|
113
113
|
startAdornment: {
|
@@ -124,7 +124,7 @@ var styles = exports.styles = function styles(theme) {
|
|
124
124
|
rightIcon: {
|
125
125
|
margin: '0 8px',
|
126
126
|
width: 18,
|
127
|
-
height:
|
127
|
+
height: 40,
|
128
128
|
color: theme.palette.neutral.normal
|
129
129
|
},
|
130
130
|
rightIconFocus: {
|
@@ -147,10 +147,10 @@ var styles = exports.styles = function styles(theme) {
|
|
147
147
|
padding: 0
|
148
148
|
}),
|
149
149
|
inputText: {
|
150
|
-
height:
|
150
|
+
height: 40
|
151
151
|
},
|
152
152
|
inputTextarea: {
|
153
|
-
minHeight:
|
153
|
+
minHeight: 40,
|
154
154
|
paddingTop: 8
|
155
155
|
},
|
156
156
|
iconPointer: {
|
@@ -158,7 +158,7 @@ var styles = exports.styles = function styles(theme) {
|
|
158
158
|
cursor: 'pointer'
|
159
159
|
},
|
160
160
|
eraseButton: {
|
161
|
-
height:
|
161
|
+
height: 40,
|
162
162
|
width: 40,
|
163
163
|
display: 'inline-block'
|
164
164
|
},
|
@@ -207,11 +207,8 @@ var HiInput = function (_React$PureComponent) {
|
|
207
207
|
}, {
|
208
208
|
key: 'handleChange',
|
209
209
|
value: function handleChange(event) {
|
210
|
-
var authorizedChar = '1234567890TOto<>';
|
211
210
|
if (this.props.onChange) {
|
212
|
-
|
213
|
-
this.props.onChange(event);
|
214
|
-
}
|
211
|
+
this.props.onChange(event);
|
215
212
|
}
|
216
213
|
}
|
217
214
|
}, {
|
@@ -238,29 +235,20 @@ var HiInput = function (_React$PureComponent) {
|
|
238
235
|
}, {
|
239
236
|
key: 'handleFocus',
|
240
237
|
value: function handleFocus(event) {
|
241
|
-
if (this.
|
242
|
-
|
243
|
-
}
|
244
|
-
|
245
|
-
|
246
|
-
}
|
247
|
-
if (this.props.onFocus) {
|
248
|
-
this.props.onFocus(event);
|
249
|
-
}
|
250
|
-
this.inputElement.focus();
|
238
|
+
if (!this.state.focused) {
|
239
|
+
this.setState({ focused: true });
|
240
|
+
}
|
241
|
+
if (this.props.onFocus) {
|
242
|
+
this.props.onFocus(event);
|
251
243
|
}
|
252
244
|
}
|
253
245
|
}, {
|
254
246
|
key: 'handleDivClick',
|
255
|
-
value: function handleDivClick(
|
256
|
-
if (this.
|
257
|
-
|
258
|
-
} else {
|
259
|
-
if (!this.state.focused) {
|
260
|
-
this.setState({ focused: true });
|
261
|
-
}
|
262
|
-
this.inputElement.focus();
|
247
|
+
value: function handleDivClick() {
|
248
|
+
if (!this.state.focused) {
|
249
|
+
this.setState({ focused: true });
|
263
250
|
}
|
251
|
+
this.inputElement.focus();
|
264
252
|
}
|
265
253
|
}, {
|
266
254
|
key: 'handleMouseEnter',
|
@@ -287,9 +275,7 @@ var HiInput = function (_React$PureComponent) {
|
|
287
275
|
}, {
|
288
276
|
key: 'render',
|
289
277
|
value: function render() {
|
290
|
-
var _classNames,
|
291
|
-
_this2 = this,
|
292
|
-
_classNames4;
|
278
|
+
var _classNames, _classNames4;
|
293
279
|
|
294
280
|
var _props = this.props,
|
295
281
|
value = _props.value,
|
@@ -380,9 +366,7 @@ var HiInput = function (_React$PureComponent) {
|
|
380
366
|
startAdornment: leftIcon,
|
381
367
|
endAdornment: _react2.default.createElement(
|
382
368
|
'div',
|
383
|
-
{ className: classes.endAdornment,
|
384
|
-
return _this2.endAdornmentNode = el;
|
385
|
-
} },
|
369
|
+
{ className: classes.endAdornment },
|
386
370
|
eraseIcon,
|
387
371
|
endAdornment
|
388
372
|
),
|
@@ -405,8 +389,7 @@ HiInput.defaultProps = {
|
|
405
389
|
endAdornment: '',
|
406
390
|
type: 'text',
|
407
391
|
multiline: false,
|
408
|
-
error: false
|
409
|
-
onlyNumbers: false
|
392
|
+
error: false
|
410
393
|
};
|
411
394
|
HiInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
412
395
|
/**
|
@@ -480,10 +463,6 @@ HiInput.propTypes = process.env.NODE_ENV !== "production" ? {
|
|
480
463
|
* Fonction de callback appelée lorsqu'on clic sur l'icône de gauche
|
481
464
|
*/
|
482
465
|
onLeftIconClick: _propTypes2.default.func,
|
483
|
-
/**
|
484
|
-
* Pour les input de type number (permet de bloquer la saisie des caractères non autorisés)
|
485
|
-
*/
|
486
|
-
onlyNumbers: _propTypes2.default.bool,
|
487
466
|
/**
|
488
467
|
* Fonction de callback appelée lorsqu'on survole le champs
|
489
468
|
*/
|
package/HiForm/HiSearchField.js
CHANGED
@@ -124,7 +124,7 @@ var HiSearchField = function (_React$Component) {
|
|
124
124
|
|
125
125
|
this.props.callbackFilteredList(filteredList);
|
126
126
|
} else {
|
127
|
-
this.props.onSearch(
|
127
|
+
this.props.onSearch(searchedValue);
|
128
128
|
}
|
129
129
|
}
|
130
130
|
}, {
|
@@ -137,7 +137,7 @@ var HiSearchField = function (_React$Component) {
|
|
137
137
|
if (typeof this.props.onSearch === 'undefined') {
|
138
138
|
this.props.callbackFilteredList(this.props.itemList);
|
139
139
|
} else {
|
140
|
-
this.props.onSearch(
|
140
|
+
this.props.onSearch('');
|
141
141
|
}
|
142
142
|
}
|
143
143
|
}, {
|
package/HiForm/index.js
CHANGED
@@ -67,22 +67,4 @@ Object.defineProperty(exports, 'HiSearchField', {
|
|
67
67
|
}
|
68
68
|
});
|
69
69
|
|
70
|
-
var _HiSlider = require('./HiSlider');
|
71
|
-
|
72
|
-
Object.defineProperty(exports, 'HiSlider', {
|
73
|
-
enumerable: true,
|
74
|
-
get: function get() {
|
75
|
-
return _interopRequireDefault(_HiSlider).default;
|
76
|
-
}
|
77
|
-
});
|
78
|
-
|
79
|
-
var _HiAddressField = require('./HiAddressField');
|
80
|
-
|
81
|
-
Object.defineProperty(exports, 'HiAddressField', {
|
82
|
-
enumerable: true,
|
83
|
-
get: function get() {
|
84
|
-
return _interopRequireDefault(_HiAddressField).default;
|
85
|
-
}
|
86
|
-
});
|
87
|
-
|
88
70
|
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/HiPins/HiPins.js
CHANGED
@@ -42,6 +42,7 @@ var styles = exports.styles = function styles(theme) {
|
|
42
42
|
textAlign: 'center',
|
43
43
|
borderRadius: '45px',
|
44
44
|
verticalAlign: 'middle',
|
45
|
+
margin: 0.5 * theme.spacing.unit,
|
45
46
|
fontSize: 11,
|
46
47
|
fontWeight: theme.typography.fontWeightMedium,
|
47
48
|
fontFamily: theme.typography.fontFamily
|