@vincentgraul/react-components 1.0.38 → 1.0.39
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/build/breadcrumb/breadcrumb.d.ts +7 -0
- package/build/breadcrumb/breadcrumb.d.ts.map +1 -0
- package/build/breadcrumb/breadcrumb.js +12 -0
- package/build/breadcrumb/breadcrumb.types.d.ts +12 -0
- package/build/breadcrumb/breadcrumb.types.d.ts.map +1 -0
- package/build/breadcrumb/breadcrumb.types.js +1 -0
- package/build/breadcrumb/icons/arrow.d.ts +4 -0
- package/build/breadcrumb/icons/arrow.d.ts.map +1 -0
- package/build/breadcrumb/icons/arrow.js +14 -0
- package/build/breadcrumb/icons/index.d.ts +2 -0
- package/build/breadcrumb/icons/index.d.ts.map +1 -0
- package/build/breadcrumb/icons/index.js +1 -0
- package/build/breadcrumb/index.d.ts +4 -0
- package/build/breadcrumb/index.d.ts.map +1 -0
- package/build/breadcrumb/index.js +3 -0
- package/build/breadcrumb/use-breadcrumb.d.ts +3 -0
- package/build/breadcrumb/use-breadcrumb.d.ts.map +1 -0
- package/build/breadcrumb/use-breadcrumb.js +23 -0
- package/build/country-selector/country-selector.d.ts +10 -0
- package/build/country-selector/country-selector.d.ts.map +1 -0
- package/build/country-selector/{CountrySelector.js → country-selector.js} +9 -14
- package/build/country-selector/country-selector.types.d.ts +6 -0
- package/build/country-selector/country-selector.types.d.ts.map +1 -0
- package/build/country-selector/country-selector.types.js +1 -0
- package/build/country-selector/icons/Ad.d.ts.map +1 -1
- package/build/country-selector/icons/Ae.d.ts.map +1 -1
- package/build/country-selector/icons/Af.d.ts.map +1 -1
- package/build/country-selector/icons/Ag.d.ts.map +1 -1
- package/build/country-selector/icons/Ai.d.ts.map +1 -1
- package/build/country-selector/icons/Al.d.ts.map +1 -1
- package/build/country-selector/icons/Am.d.ts.map +1 -1
- package/build/country-selector/icons/Ao.d.ts.map +1 -1
- package/build/country-selector/icons/Ar.d.ts.map +1 -1
- package/build/country-selector/icons/As.d.ts.map +1 -1
- package/build/country-selector/icons/At.d.ts.map +1 -1
- package/build/country-selector/icons/Au.d.ts.map +1 -1
- package/build/country-selector/icons/Aw.d.ts.map +1 -1
- package/build/country-selector/icons/Az.d.ts.map +1 -1
- package/build/country-selector/icons/Ba.d.ts.map +1 -1
- package/build/country-selector/icons/Bb.d.ts.map +1 -1
- package/build/country-selector/icons/Bd.d.ts.map +1 -1
- package/build/country-selector/icons/Be.d.ts.map +1 -1
- package/build/country-selector/icons/Bf.d.ts.map +1 -1
- package/build/country-selector/icons/Bg.d.ts.map +1 -1
- package/build/country-selector/icons/Bh.d.ts.map +1 -1
- package/build/country-selector/icons/Bi.d.ts.map +1 -1
- package/build/country-selector/icons/Bj.d.ts.map +1 -1
- package/build/country-selector/icons/Bm.d.ts.map +1 -1
- package/build/country-selector/icons/Bo.d.ts.map +1 -1
- package/build/country-selector/icons/Br.d.ts.map +1 -1
- package/build/country-selector/icons/Bs.d.ts.map +1 -1
- package/build/country-selector/icons/Bt.d.ts.map +1 -1
- package/build/country-selector/icons/Bw.d.ts.map +1 -1
- package/build/country-selector/icons/By.d.ts.map +1 -1
- package/build/country-selector/icons/Bz.d.ts.map +1 -1
- package/build/country-selector/icons/Ca.d.ts.map +1 -1
- package/build/country-selector/icons/Cd.d.ts.map +1 -1
- package/build/country-selector/icons/Cf.d.ts.map +1 -1
- package/build/country-selector/icons/Cg.d.ts.map +1 -1
- package/build/country-selector/icons/Ch.d.ts.map +1 -1
- package/build/country-selector/icons/Ci.d.ts.map +1 -1
- package/build/country-selector/icons/Ck.d.ts.map +1 -1
- package/build/country-selector/icons/Cl.d.ts.map +1 -1
- package/build/country-selector/icons/Cm.d.ts.map +1 -1
- package/build/country-selector/icons/Cn.d.ts.map +1 -1
- package/build/country-selector/icons/Co.d.ts.map +1 -1
- package/build/country-selector/icons/Cr.d.ts.map +1 -1
- package/build/country-selector/icons/Cu.d.ts.map +1 -1
- package/build/country-selector/icons/Cv.d.ts.map +1 -1
- package/build/country-selector/icons/Cw.d.ts.map +1 -1
- package/build/country-selector/icons/Cy.d.ts.map +1 -1
- package/build/country-selector/icons/Cz.d.ts.map +1 -1
- package/build/country-selector/icons/De.d.ts.map +1 -1
- package/build/country-selector/icons/Dj.d.ts.map +1 -1
- package/build/country-selector/icons/Dk.d.ts.map +1 -1
- package/build/country-selector/icons/Dm.d.ts.map +1 -1
- package/build/country-selector/icons/Do.d.ts.map +1 -1
- package/build/country-selector/icons/Dz.d.ts.map +1 -1
- package/build/country-selector/icons/Ec.d.ts.map +1 -1
- package/build/country-selector/icons/Ee.d.ts.map +1 -1
- package/build/country-selector/icons/Eg.d.ts.map +1 -1
- package/build/country-selector/icons/Er.d.ts.map +1 -1
- package/build/country-selector/icons/Es.d.ts.map +1 -1
- package/build/country-selector/icons/Et.d.ts.map +1 -1
- package/build/country-selector/icons/Fi.d.ts.map +1 -1
- package/build/country-selector/icons/Fj.d.ts.map +1 -1
- package/build/country-selector/icons/Fk.d.ts.map +1 -1
- package/build/country-selector/icons/Fm.d.ts.map +1 -1
- package/build/country-selector/icons/Fo.d.ts.map +1 -1
- package/build/country-selector/icons/Fr.d.ts.map +1 -1
- package/build/country-selector/icons/Ga.d.ts.map +1 -1
- package/build/country-selector/icons/Gb.d.ts.map +1 -1
- package/build/country-selector/icons/Gd.d.ts.map +1 -1
- package/build/country-selector/icons/Ge.d.ts.map +1 -1
- package/build/country-selector/icons/Gg.d.ts.map +1 -1
- package/build/country-selector/icons/Gh.d.ts.map +1 -1
- package/build/country-selector/icons/Gi.d.ts.map +1 -1
- package/build/country-selector/icons/Gl.d.ts.map +1 -1
- package/build/country-selector/icons/Gm.d.ts.map +1 -1
- package/build/country-selector/icons/Gn.d.ts.map +1 -1
- package/build/country-selector/icons/Gq.d.ts.map +1 -1
- package/build/country-selector/icons/Gr.d.ts.map +1 -1
- package/build/country-selector/icons/Gt.d.ts.map +1 -1
- package/build/country-selector/icons/Gu.d.ts.map +1 -1
- package/build/country-selector/icons/Gw.d.ts.map +1 -1
- package/build/country-selector/icons/Hk.d.ts.map +1 -1
- package/build/country-selector/icons/Hn.d.ts.map +1 -1
- package/build/country-selector/icons/Hr.d.ts.map +1 -1
- package/build/country-selector/icons/Ht.d.ts.map +1 -1
- package/build/country-selector/icons/Hu.d.ts.map +1 -1
- package/build/country-selector/icons/Id.d.ts.map +1 -1
- package/build/country-selector/icons/Ie.d.ts.map +1 -1
- package/build/country-selector/icons/Il.d.ts.map +1 -1
- package/build/country-selector/icons/Im.d.ts.map +1 -1
- package/build/country-selector/icons/In.d.ts.map +1 -1
- package/build/country-selector/icons/Io.d.ts.map +1 -1
- package/build/country-selector/icons/Iq.d.ts.map +1 -1
- package/build/country-selector/icons/Ir.d.ts.map +1 -1
- package/build/country-selector/icons/Is.d.ts.map +1 -1
- package/build/country-selector/icons/It.d.ts.map +1 -1
- package/build/country-selector/icons/Je.d.ts.map +1 -1
- package/build/country-selector/icons/Jm.d.ts.map +1 -1
- package/build/country-selector/icons/Jo.d.ts.map +1 -1
- package/build/country-selector/icons/Jp.d.ts.map +1 -1
- package/build/country-selector/icons/Ke.d.ts.map +1 -1
- package/build/country-selector/icons/Kg.d.ts.map +1 -1
- package/build/country-selector/icons/Kh.d.ts.map +1 -1
- package/build/country-selector/icons/Ki.d.ts.map +1 -1
- package/build/country-selector/icons/Km.d.ts.map +1 -1
- package/build/country-selector/icons/Kn.d.ts.map +1 -1
- package/build/country-selector/icons/Kp.d.ts.map +1 -1
- package/build/country-selector/icons/Kr.d.ts.map +1 -1
- package/build/country-selector/icons/Kw.d.ts.map +1 -1
- package/build/country-selector/icons/Ky.d.ts.map +1 -1
- package/build/country-selector/icons/Kz.d.ts.map +1 -1
- package/build/country-selector/icons/La.d.ts.map +1 -1
- package/build/country-selector/icons/Lb.d.ts.map +1 -1
- package/build/country-selector/icons/Li.d.ts.map +1 -1
- package/build/country-selector/icons/Lk.d.ts.map +1 -1
- package/build/country-selector/icons/Lr.d.ts.map +1 -1
- package/build/country-selector/icons/Ls.d.ts.map +1 -1
- package/build/country-selector/icons/Lt.d.ts.map +1 -1
- package/build/country-selector/icons/Lu.d.ts.map +1 -1
- package/build/country-selector/icons/Lv.d.ts.map +1 -1
- package/build/country-selector/icons/Ly.d.ts.map +1 -1
- package/build/country-selector/icons/Ma.d.ts.map +1 -1
- package/build/country-selector/icons/Mc.d.ts.map +1 -1
- package/build/country-selector/icons/Md.d.ts.map +1 -1
- package/build/country-selector/icons/Me.d.ts.map +1 -1
- package/build/country-selector/icons/Mg.d.ts.map +1 -1
- package/build/country-selector/icons/Mh.d.ts.map +1 -1
- package/build/country-selector/icons/Mk.d.ts.map +1 -1
- package/build/country-selector/icons/Ml.d.ts.map +1 -1
- package/build/country-selector/icons/Mm.d.ts.map +1 -1
- package/build/country-selector/icons/Mn.d.ts.map +1 -1
- package/build/country-selector/icons/Mo.d.ts.map +1 -1
- package/build/country-selector/icons/Mp.d.ts.map +1 -1
- package/build/country-selector/icons/Mq.d.ts.map +1 -1
- package/build/country-selector/icons/Mr.d.ts.map +1 -1
- package/build/country-selector/icons/Ms.d.ts.map +1 -1
- package/build/country-selector/icons/Mt.d.ts.map +1 -1
- package/build/country-selector/icons/Mu.d.ts.map +1 -1
- package/build/country-selector/icons/Mv.d.ts.map +1 -1
- package/build/country-selector/icons/Mw.d.ts.map +1 -1
- package/build/country-selector/icons/Mx.d.ts.map +1 -1
- package/build/country-selector/icons/My.d.ts.map +1 -1
- package/build/country-selector/icons/Mz.d.ts.map +1 -1
- package/build/country-selector/icons/Na.d.ts.map +1 -1
- package/build/country-selector/icons/Nato.d.ts.map +1 -1
- package/build/country-selector/icons/Ne.d.ts.map +1 -1
- package/build/country-selector/icons/Nf.d.ts.map +1 -1
- package/build/country-selector/icons/Ng.d.ts.map +1 -1
- package/build/country-selector/icons/Ni.d.ts.map +1 -1
- package/build/country-selector/icons/Nl.d.ts.map +1 -1
- package/build/country-selector/icons/No.d.ts.map +1 -1
- package/build/country-selector/icons/Np.d.ts.map +1 -1
- package/build/country-selector/icons/Nr.d.ts.map +1 -1
- package/build/country-selector/icons/Nu.d.ts.map +1 -1
- package/build/country-selector/icons/Nz.d.ts.map +1 -1
- package/build/country-selector/icons/Om.d.ts.map +1 -1
- package/build/country-selector/icons/Pa.d.ts.map +1 -1
- package/build/country-selector/icons/Pe.d.ts.map +1 -1
- package/build/country-selector/icons/Pf.d.ts.map +1 -1
- package/build/country-selector/icons/Pg.d.ts.map +1 -1
- package/build/country-selector/icons/Ph.d.ts.map +1 -1
- package/build/country-selector/icons/Pk.d.ts.map +1 -1
- package/build/country-selector/icons/Pl.d.ts.map +1 -1
- package/build/country-selector/icons/Pn.d.ts.map +1 -1
- package/build/country-selector/icons/Pr.d.ts.map +1 -1
- package/build/country-selector/icons/Ps.d.ts.map +1 -1
- package/build/country-selector/icons/Pt.d.ts.map +1 -1
- package/build/country-selector/icons/Pw.d.ts.map +1 -1
- package/build/country-selector/icons/Py.d.ts.map +1 -1
- package/build/country-selector/icons/Qa.d.ts.map +1 -1
- package/build/country-selector/icons/Ro.d.ts.map +1 -1
- package/build/country-selector/icons/Rs.d.ts.map +1 -1
- package/build/country-selector/icons/Ru.d.ts.map +1 -1
- package/build/country-selector/icons/Rw.d.ts.map +1 -1
- package/build/country-selector/icons/Sa.d.ts.map +1 -1
- package/build/country-selector/icons/Sb.d.ts.map +1 -1
- package/build/country-selector/icons/Sc.d.ts.map +1 -1
- package/build/country-selector/icons/Sd.d.ts.map +1 -1
- package/build/country-selector/icons/Se.d.ts.map +1 -1
- package/build/country-selector/icons/Sg.d.ts.map +1 -1
- package/build/country-selector/icons/Si.d.ts.map +1 -1
- package/build/country-selector/icons/Sk.d.ts.map +1 -1
- package/build/country-selector/icons/Sl.d.ts.map +1 -1
- package/build/country-selector/icons/Sm.d.ts.map +1 -1
- package/build/country-selector/icons/Sn.d.ts.map +1 -1
- package/build/country-selector/icons/So.d.ts.map +1 -1
- package/build/country-selector/icons/Sq.d.ts.map +1 -1
- package/build/country-selector/icons/Sr.d.ts.map +1 -1
- package/build/country-selector/icons/Ss.d.ts.map +1 -1
- package/build/country-selector/icons/St.d.ts.map +1 -1
- package/build/country-selector/icons/Sv.d.ts.map +1 -1
- package/build/country-selector/icons/Sx.d.ts.map +1 -1
- package/build/country-selector/icons/Sy.d.ts.map +1 -1
- package/build/country-selector/icons/Sz.d.ts.map +1 -1
- package/build/country-selector/icons/Tc.d.ts.map +1 -1
- package/build/country-selector/icons/Td.d.ts.map +1 -1
- package/build/country-selector/icons/Tg.d.ts.map +1 -1
- package/build/country-selector/icons/Th.d.ts.map +1 -1
- package/build/country-selector/icons/Tibet.d.ts.map +1 -1
- package/build/country-selector/icons/Tj.d.ts.map +1 -1
- package/build/country-selector/icons/Tk.d.ts.map +1 -1
- package/build/country-selector/icons/Tm.d.ts.map +1 -1
- package/build/country-selector/icons/Tn.d.ts.map +1 -1
- package/build/country-selector/icons/To.d.ts.map +1 -1
- package/build/country-selector/icons/Tr.d.ts.map +1 -1
- package/build/country-selector/icons/Tt.d.ts.map +1 -1
- package/build/country-selector/icons/Tv.d.ts.map +1 -1
- package/build/country-selector/icons/Tw.d.ts.map +1 -1
- package/build/country-selector/icons/Tz.d.ts.map +1 -1
- package/build/country-selector/icons/Ua.d.ts.map +1 -1
- package/build/country-selector/icons/Ug.d.ts.map +1 -1
- package/build/country-selector/icons/Us.d.ts.map +1 -1
- package/build/country-selector/icons/Uy.d.ts.map +1 -1
- package/build/country-selector/icons/Uz.d.ts.map +1 -1
- package/build/country-selector/icons/Ve.d.ts.map +1 -1
- package/build/country-selector/icons/Vi.d.ts.map +1 -1
- package/build/country-selector/icons/Vn.d.ts.map +1 -1
- package/build/country-selector/icons/Vu.d.ts.map +1 -1
- package/build/country-selector/icons/Ws.d.ts.map +1 -1
- package/build/country-selector/icons/Ye.d.ts.map +1 -1
- package/build/country-selector/icons/Za.d.ts.map +1 -1
- package/build/country-selector/icons/Zm.d.ts.map +1 -1
- package/build/country-selector/icons/Zw.d.ts.map +1 -1
- package/build/country-selector/index.d.ts +3 -0
- package/build/country-selector/index.d.ts.map +1 -0
- package/build/country-selector/index.js +2 -0
- package/build/index.d.ts +18 -0
- package/build/index.d.ts.map +1 -0
- package/build/index.js +17 -0
- package/build/input/index.d.ts +3 -0
- package/build/input/index.d.ts.map +1 -0
- package/build/input/index.js +2 -0
- package/build/input/input.d.ts +12 -0
- package/build/input/input.d.ts.map +1 -0
- package/build/input/input.js +24 -0
- package/build/input/input.types.d.ts +9 -0
- package/build/input/input.types.d.ts.map +1 -0
- package/build/input/input.types.js +1 -0
- package/build/loader/image-loader/image-loader.d.ts +7 -0
- package/build/loader/image-loader/image-loader.d.ts.map +1 -0
- package/build/loader/image-loader/image-loader.js +3 -0
- package/build/loader/image-loader/index.d.ts +2 -0
- package/build/loader/image-loader/index.d.ts.map +1 -0
- package/build/loader/image-loader/index.js +1 -0
- package/build/loader/index.d.ts +2 -0
- package/build/loader/index.d.ts.map +1 -0
- package/build/loader/index.js +1 -0
- package/build/loader/loader.d.ts +11 -0
- package/build/loader/loader.d.ts.map +1 -0
- package/build/loader/loader.js +7 -0
- package/build/match-device/index.d.ts +3 -0
- package/build/match-device/index.d.ts.map +1 -0
- package/build/match-device/index.js +2 -0
- package/build/match-device/use-match-device.d.ts +3 -0
- package/build/match-device/use-match-device.d.ts.map +1 -0
- package/build/match-device/{useMatchDevice.js → use-match-device.js} +2 -2
- package/build/match-device/use-match-device.types.d.ts +7 -0
- package/build/match-device/use-match-device.types.d.ts.map +1 -0
- package/build/match-device/use-match-device.types.js +1 -0
- package/build/match-resolution/index.d.ts +3 -0
- package/build/match-resolution/index.d.ts.map +1 -0
- package/build/match-resolution/index.js +2 -0
- package/build/match-resolution/use-match-resolution.d.ts +4 -0
- package/build/match-resolution/use-match-resolution.d.ts.map +1 -0
- package/build/match-resolution/{useMatchResolution.js → use-match-resolution.js} +3 -3
- package/build/match-resolution/{useMatchResolution.d.ts → use-match-resolution.types.d.ts} +7 -9
- package/build/match-resolution/use-match-resolution.types.d.ts.map +1 -0
- package/build/match-resolution/use-match-resolution.types.js +1 -0
- package/build/modal/index.d.ts +2 -0
- package/build/modal/index.d.ts.map +1 -0
- package/build/modal/index.js +1 -0
- package/build/modal/modal.d.ts +8 -0
- package/build/modal/modal.d.ts.map +1 -0
- package/build/modal/modal.js +14 -0
- package/build/mount-react-hook/index.d.ts +3 -0
- package/build/mount-react-hook/index.d.ts.map +1 -0
- package/build/mount-react-hook/index.js +2 -0
- package/build/mount-react-hook/mount-react-hook.d.ts +4 -0
- package/build/mount-react-hook/mount-react-hook.d.ts.map +1 -0
- package/build/mount-react-hook/{mountReactHook.js → mount-react-hook.js} +2 -2
- package/build/mount-react-hook/mount-react-hook.types.d.ts +6 -0
- package/build/mount-react-hook/mount-react-hook.types.d.ts.map +1 -0
- package/build/mount-react-hook/mount-react-hook.types.js +1 -0
- package/build/numbered-pagination/index.d.ts +2 -0
- package/build/numbered-pagination/index.d.ts.map +1 -0
- package/build/numbered-pagination/index.js +1 -0
- package/build/numbered-pagination/numbered-pagination.d.ts +15 -0
- package/build/numbered-pagination/numbered-pagination.d.ts.map +1 -0
- package/build/numbered-pagination/numbered-pagination.js +17 -0
- package/build/numbered-pagination/numbered-pagination.types.d.ts +11 -0
- package/build/numbered-pagination/numbered-pagination.types.d.ts.map +1 -0
- package/build/numbered-pagination/numbered-pagination.types.js +1 -0
- package/build/outside-alerter/index.d.ts +3 -0
- package/build/outside-alerter/index.d.ts.map +1 -0
- package/build/outside-alerter/index.js +2 -0
- package/build/outside-alerter/use-outside-alerter.d.ts +4 -0
- package/build/outside-alerter/use-outside-alerter.d.ts.map +1 -0
- package/build/outside-alerter/{useOutsideAlerter.js → use-outside-alerter.js} +2 -2
- package/build/outside-alerter/use-outside-alerter.types.d.ts +5 -0
- package/build/outside-alerter/use-outside-alerter.types.d.ts.map +1 -0
- package/build/outside-alerter/use-outside-alerter.types.js +1 -0
- package/build/pagination/index.d.ts +3 -0
- package/build/pagination/index.d.ts.map +1 -0
- package/build/pagination/index.js +2 -0
- package/build/pagination/pagination.d.ts +14 -0
- package/build/pagination/pagination.d.ts.map +1 -0
- package/build/pagination/pagination.js +17 -0
- package/build/pagination/pagination.types.d.ts +11 -0
- package/build/pagination/pagination.types.d.ts.map +1 -0
- package/build/pagination/pagination.types.js +1 -0
- package/build/pagination/use-pagination.d.ts +11 -0
- package/build/pagination/use-pagination.d.ts.map +1 -0
- package/build/pagination/{usePagination.js → use-pagination.js} +2 -2
- package/build/pagination/use-pagination.types.d.ts +12 -0
- package/build/pagination/use-pagination.types.d.ts.map +1 -0
- package/build/pagination/use-pagination.types.js +1 -0
- package/build/scroll-to/index.d.ts +3 -0
- package/build/scroll-to/index.d.ts.map +1 -0
- package/build/scroll-to/index.js +2 -0
- package/build/scroll-to/use-scroll-to.d.ts +4 -0
- package/build/scroll-to/use-scroll-to.d.ts.map +1 -0
- package/build/scroll-to/{useScrollTo.js → use-scroll-to.js} +2 -2
- package/build/scroll-to/use-scroll-to.types.d.ts +4 -0
- package/build/scroll-to/use-scroll-to.types.d.ts.map +1 -0
- package/build/scroll-to/use-scroll-to.types.js +1 -0
- package/build/select/icons/ArrowBottom.d.ts.map +1 -1
- package/build/select/index.d.ts +3 -0
- package/build/select/index.d.ts.map +1 -0
- package/build/select/index.js +2 -0
- package/build/select/select.d.ts +9 -0
- package/build/select/select.d.ts.map +1 -0
- package/build/select/select.js +42 -0
- package/build/select/select.types.d.ts +8 -0
- package/build/select/select.types.d.ts.map +1 -0
- package/build/select/select.types.js +1 -0
- package/build/table/index.d.ts +3 -0
- package/build/table/index.d.ts.map +1 -0
- package/build/table/index.js +2 -0
- package/build/table/table.d.ts +20 -0
- package/build/table/table.d.ts.map +1 -0
- package/build/table/table.js +18 -0
- package/build/table/table.types.d.ts +6 -0
- package/build/table/table.types.d.ts.map +1 -0
- package/build/table/table.types.js +1 -0
- package/build/use-breadcrumb/index.d.ts +3 -0
- package/build/use-breadcrumb/index.d.ts.map +1 -0
- package/build/use-breadcrumb/index.js +2 -0
- package/build/use-breadcrumb/use-breadcrumb.d.ts +3 -0
- package/build/use-breadcrumb/use-breadcrumb.d.ts.map +1 -0
- package/build/use-breadcrumb/use-breadcrumb.js +23 -0
- package/build/use-breadcrumb/use-breadcrumb.types.d.ts +12 -0
- package/build/use-breadcrumb/use-breadcrumb.types.d.ts.map +1 -0
- package/build/use-breadcrumb/use-breadcrumb.types.js +1 -0
- package/build/use-match-device/index.d.ts +3 -0
- package/build/use-match-device/index.d.ts.map +1 -0
- package/build/use-match-device/index.js +2 -0
- package/build/use-match-device/use-match-device.d.ts +3 -0
- package/build/use-match-device/use-match-device.d.ts.map +1 -0
- package/build/use-match-device/use-match-device.js +25 -0
- package/build/use-match-device/use-match-device.types.d.ts +7 -0
- package/build/use-match-device/use-match-device.types.d.ts.map +1 -0
- package/build/use-match-device/use-match-device.types.js +1 -0
- package/build/use-match-resolution/index.d.ts +3 -0
- package/build/use-match-resolution/index.d.ts.map +1 -0
- package/build/use-match-resolution/index.js +2 -0
- package/build/use-match-resolution/use-match-resolution.d.ts +4 -0
- package/build/use-match-resolution/use-match-resolution.d.ts.map +1 -0
- package/build/use-match-resolution/use-match-resolution.js +49 -0
- package/build/use-match-resolution/use-match-resolution.types.d.ts +36 -0
- package/build/use-match-resolution/use-match-resolution.types.d.ts.map +1 -0
- package/build/use-match-resolution/use-match-resolution.types.js +1 -0
- package/build/use-outside-alerter/index.d.ts +3 -0
- package/build/use-outside-alerter/index.d.ts.map +1 -0
- package/build/use-outside-alerter/index.js +2 -0
- package/build/use-outside-alerter/use-outside-alerter.d.ts +4 -0
- package/build/use-outside-alerter/use-outside-alerter.d.ts.map +1 -0
- package/build/use-outside-alerter/use-outside-alerter.js +22 -0
- package/build/use-outside-alerter/use-outside-alerter.types.d.ts +5 -0
- package/build/use-outside-alerter/use-outside-alerter.types.d.ts.map +1 -0
- package/build/use-outside-alerter/use-outside-alerter.types.js +1 -0
- package/build/use-pagination/index.d.ts +3 -0
- package/build/use-pagination/index.d.ts.map +1 -0
- package/build/use-pagination/index.js +2 -0
- package/build/use-pagination/use-pagination.d.ts +11 -0
- package/build/use-pagination/use-pagination.d.ts.map +1 -0
- package/build/use-pagination/use-pagination.js +49 -0
- package/build/use-pagination/use-pagination.types.d.ts +12 -0
- package/build/use-pagination/use-pagination.types.d.ts.map +1 -0
- package/build/use-pagination/use-pagination.types.js +1 -0
- package/build/use-scroll-to/index.d.ts +3 -0
- package/build/use-scroll-to/index.d.ts.map +1 -0
- package/build/use-scroll-to/index.js +2 -0
- package/build/use-scroll-to/use-scroll-to.d.ts +4 -0
- package/build/use-scroll-to/use-scroll-to.d.ts.map +1 -0
- package/build/use-scroll-to/use-scroll-to.js +12 -0
- package/build/use-scroll-to/use-scroll-to.types.d.ts +4 -0
- package/build/use-scroll-to/use-scroll-to.types.d.ts.map +1 -0
- package/build/use-scroll-to/use-scroll-to.types.js +1 -0
- package/build/use-visible/index.d.ts +2 -0
- package/build/use-visible/index.d.ts.map +1 -0
- package/build/use-visible/index.js +1 -0
- package/build/use-visible/use-visible.d.ts +3 -0
- package/build/use-visible/use-visible.d.ts.map +1 -0
- package/build/{visible/useVisible.js → use-visible/use-visible.js} +2 -2
- package/build/visible/index.d.ts +2 -0
- package/build/visible/index.d.ts.map +1 -0
- package/build/visible/index.js +1 -0
- package/build/visible/use-visible.d.ts +3 -0
- package/build/visible/use-visible.d.ts.map +1 -0
- package/build/visible/use-visible.js +19 -0
- package/build/wizard/index.d.ts +3 -0
- package/build/wizard/index.d.ts.map +1 -0
- package/build/wizard/index.js +2 -0
- package/build/wizard/wizard.d.ts +11 -0
- package/build/wizard/wizard.d.ts.map +1 -0
- package/build/wizard/wizard.js +27 -0
- package/build/wizard/wizard.types.d.ts +8 -0
- package/build/wizard/wizard.types.d.ts.map +1 -0
- package/build/wizard/wizard.types.js +1 -0
- package/package.json +34 -122
- package/build/country-selector/CountrySelector.d.ts +0 -15
- package/build/country-selector/CountrySelector.d.ts.map +0 -1
- package/build/loader/Loader.d.ts +0 -8
- package/build/loader/Loader.d.ts.map +0 -1
- package/build/loader/Loader.js +0 -24
- package/build/loader/image-loader/ImageLoader.d.ts +0 -8
- package/build/loader/image-loader/ImageLoader.d.ts.map +0 -1
- package/build/loader/image-loader/ImageLoader.js +0 -24
- package/build/match-device/useMatchDevice.d.ts +0 -8
- package/build/match-device/useMatchDevice.d.ts.map +0 -1
- package/build/match-resolution/useMatchResolution.d.ts.map +0 -1
- package/build/modal/Modal.d.ts +0 -9
- package/build/modal/Modal.d.ts.map +0 -1
- package/build/modal/Modal.js +0 -36
- package/build/mount-react-hook/mountReactHook.d.ts +0 -8
- package/build/mount-react-hook/mountReactHook.d.ts.map +0 -1
- package/build/numbered-pagination/NumberedPagination.d.ts +0 -13
- package/build/numbered-pagination/NumberedPagination.d.ts.map +0 -1
- package/build/numbered-pagination/NumberedPagination.js +0 -25
- package/build/outside-alerter/useOutsideAlerter.d.ts +0 -8
- package/build/outside-alerter/useOutsideAlerter.d.ts.map +0 -1
- package/build/pagination/usePagination.d.ts +0 -20
- package/build/pagination/usePagination.d.ts.map +0 -1
- package/build/scroll-to/useScrollTo.d.ts +0 -6
- package/build/scroll-to/useScrollTo.d.ts.map +0 -1
- package/build/select/Select.d.ts +0 -289
- package/build/select/Select.d.ts.map +0 -1
- package/build/select/Select.js +0 -92
- package/build/table/Table.d.ts +0 -852
- package/build/table/Table.d.ts.map +0 -1
- package/build/table/Table.js +0 -44
- package/build/visible/useVisible.d.ts +0 -3
- package/build/visible/useVisible.d.ts.map +0 -1
package/build/select/Select.d.ts
DELETED
|
@@ -1,289 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from "react";
|
|
2
|
-
interface Option {
|
|
3
|
-
id: number;
|
|
4
|
-
label: string | ReactNode;
|
|
5
|
-
value: string;
|
|
6
|
-
}
|
|
7
|
-
export type OptionWithoutId = Omit<Option, "id">;
|
|
8
|
-
interface Props {
|
|
9
|
-
options: OptionWithoutId[];
|
|
10
|
-
selectedValue?: string;
|
|
11
|
-
onChange?: (option: Option) => void;
|
|
12
|
-
className?: string;
|
|
13
|
-
}
|
|
14
|
-
export default function Select(props: Props): import("react/jsx-runtime").JSX.Element;
|
|
15
|
-
declare const Option: import("styled-components").IStyledComponent<"web", {
|
|
16
|
-
ref?: React.LegacyRef<HTMLLIElement>;
|
|
17
|
-
key?: React.Key;
|
|
18
|
-
value?: string | number | readonly string[];
|
|
19
|
-
defaultChecked?: boolean;
|
|
20
|
-
defaultValue?: string | number | readonly string[];
|
|
21
|
-
suppressContentEditableWarning?: boolean;
|
|
22
|
-
suppressHydrationWarning?: boolean;
|
|
23
|
-
accessKey?: string;
|
|
24
|
-
autoFocus?: boolean;
|
|
25
|
-
className?: string;
|
|
26
|
-
contentEditable?: "inherit" | (boolean | "true" | "false");
|
|
27
|
-
contextMenu?: string;
|
|
28
|
-
dir?: string;
|
|
29
|
-
draggable?: boolean | "true" | "false";
|
|
30
|
-
hidden?: boolean;
|
|
31
|
-
id?: string;
|
|
32
|
-
lang?: string;
|
|
33
|
-
nonce?: string;
|
|
34
|
-
placeholder?: string;
|
|
35
|
-
slot?: string;
|
|
36
|
-
spellCheck?: boolean | "true" | "false";
|
|
37
|
-
style?: React.CSSProperties;
|
|
38
|
-
tabIndex?: number;
|
|
39
|
-
title?: string;
|
|
40
|
-
translate?: "no" | "yes";
|
|
41
|
-
radioGroup?: string;
|
|
42
|
-
role?: React.AriaRole;
|
|
43
|
-
about?: string;
|
|
44
|
-
content?: string;
|
|
45
|
-
datatype?: string;
|
|
46
|
-
inlist?: any;
|
|
47
|
-
prefix?: string;
|
|
48
|
-
property?: string;
|
|
49
|
-
rel?: string;
|
|
50
|
-
resource?: string;
|
|
51
|
-
rev?: string;
|
|
52
|
-
typeof?: string;
|
|
53
|
-
vocab?: string;
|
|
54
|
-
autoCapitalize?: string;
|
|
55
|
-
autoCorrect?: string;
|
|
56
|
-
autoSave?: string;
|
|
57
|
-
color?: string;
|
|
58
|
-
itemProp?: string;
|
|
59
|
-
itemScope?: boolean;
|
|
60
|
-
itemType?: string;
|
|
61
|
-
itemID?: string;
|
|
62
|
-
itemRef?: string;
|
|
63
|
-
results?: number;
|
|
64
|
-
security?: string;
|
|
65
|
-
unselectable?: "off" | "on";
|
|
66
|
-
inputMode?: "search" | "text" | "none" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
67
|
-
is?: string;
|
|
68
|
-
"aria-activedescendant"?: string;
|
|
69
|
-
"aria-atomic"?: boolean | "true" | "false";
|
|
70
|
-
"aria-autocomplete"?: "list" | "none" | "inline" | "both";
|
|
71
|
-
"aria-braillelabel"?: string;
|
|
72
|
-
"aria-brailleroledescription"?: string;
|
|
73
|
-
"aria-busy"?: boolean | "true" | "false";
|
|
74
|
-
"aria-checked"?: boolean | "true" | "false" | "mixed";
|
|
75
|
-
"aria-colcount"?: number;
|
|
76
|
-
"aria-colindex"?: number;
|
|
77
|
-
"aria-colindextext"?: string;
|
|
78
|
-
"aria-colspan"?: number;
|
|
79
|
-
"aria-controls"?: string;
|
|
80
|
-
"aria-current"?: boolean | "time" | "step" | "true" | "false" | "page" | "location" | "date";
|
|
81
|
-
"aria-describedby"?: string;
|
|
82
|
-
"aria-description"?: string;
|
|
83
|
-
"aria-details"?: string;
|
|
84
|
-
"aria-disabled"?: boolean | "true" | "false";
|
|
85
|
-
"aria-dropeffect"?: "link" | "copy" | "none" | "execute" | "move" | "popup";
|
|
86
|
-
"aria-errormessage"?: string;
|
|
87
|
-
"aria-expanded"?: boolean | "true" | "false";
|
|
88
|
-
"aria-flowto"?: string;
|
|
89
|
-
"aria-grabbed"?: boolean | "true" | "false";
|
|
90
|
-
"aria-haspopup"?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "true" | "false";
|
|
91
|
-
"aria-hidden"?: boolean | "true" | "false";
|
|
92
|
-
"aria-invalid"?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
93
|
-
"aria-keyshortcuts"?: string;
|
|
94
|
-
"aria-label"?: string;
|
|
95
|
-
"aria-labelledby"?: string;
|
|
96
|
-
"aria-level"?: number;
|
|
97
|
-
"aria-live"?: "off" | "assertive" | "polite";
|
|
98
|
-
"aria-modal"?: boolean | "true" | "false";
|
|
99
|
-
"aria-multiline"?: boolean | "true" | "false";
|
|
100
|
-
"aria-multiselectable"?: boolean | "true" | "false";
|
|
101
|
-
"aria-orientation"?: "horizontal" | "vertical";
|
|
102
|
-
"aria-owns"?: string;
|
|
103
|
-
"aria-placeholder"?: string;
|
|
104
|
-
"aria-posinset"?: number;
|
|
105
|
-
"aria-pressed"?: boolean | "true" | "false" | "mixed";
|
|
106
|
-
"aria-readonly"?: boolean | "true" | "false";
|
|
107
|
-
"aria-relevant"?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
108
|
-
"aria-required"?: boolean | "true" | "false";
|
|
109
|
-
"aria-roledescription"?: string;
|
|
110
|
-
"aria-rowcount"?: number;
|
|
111
|
-
"aria-rowindex"?: number;
|
|
112
|
-
"aria-rowindextext"?: string;
|
|
113
|
-
"aria-rowspan"?: number;
|
|
114
|
-
"aria-selected"?: boolean | "true" | "false";
|
|
115
|
-
"aria-setsize"?: number;
|
|
116
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other";
|
|
117
|
-
"aria-valuemax"?: number;
|
|
118
|
-
"aria-valuemin"?: number;
|
|
119
|
-
"aria-valuenow"?: number;
|
|
120
|
-
"aria-valuetext"?: string;
|
|
121
|
-
children?: React.ReactNode;
|
|
122
|
-
dangerouslySetInnerHTML?: {
|
|
123
|
-
__html: string | TrustedHTML;
|
|
124
|
-
};
|
|
125
|
-
onCopy?: React.ClipboardEventHandler<HTMLLIElement>;
|
|
126
|
-
onCopyCapture?: React.ClipboardEventHandler<HTMLLIElement>;
|
|
127
|
-
onCut?: React.ClipboardEventHandler<HTMLLIElement>;
|
|
128
|
-
onCutCapture?: React.ClipboardEventHandler<HTMLLIElement>;
|
|
129
|
-
onPaste?: React.ClipboardEventHandler<HTMLLIElement>;
|
|
130
|
-
onPasteCapture?: React.ClipboardEventHandler<HTMLLIElement>;
|
|
131
|
-
onCompositionEnd?: React.CompositionEventHandler<HTMLLIElement>;
|
|
132
|
-
onCompositionEndCapture?: React.CompositionEventHandler<HTMLLIElement>;
|
|
133
|
-
onCompositionStart?: React.CompositionEventHandler<HTMLLIElement>;
|
|
134
|
-
onCompositionStartCapture?: React.CompositionEventHandler<HTMLLIElement>;
|
|
135
|
-
onCompositionUpdate?: React.CompositionEventHandler<HTMLLIElement>;
|
|
136
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLLIElement>;
|
|
137
|
-
onFocus?: React.FocusEventHandler<HTMLLIElement>;
|
|
138
|
-
onFocusCapture?: React.FocusEventHandler<HTMLLIElement>;
|
|
139
|
-
onBlur?: React.FocusEventHandler<HTMLLIElement>;
|
|
140
|
-
onBlurCapture?: React.FocusEventHandler<HTMLLIElement>;
|
|
141
|
-
onChange?: React.FormEventHandler<HTMLLIElement>;
|
|
142
|
-
onChangeCapture?: React.FormEventHandler<HTMLLIElement>;
|
|
143
|
-
onBeforeInput?: React.FormEventHandler<HTMLLIElement>;
|
|
144
|
-
onBeforeInputCapture?: React.FormEventHandler<HTMLLIElement>;
|
|
145
|
-
onInput?: React.FormEventHandler<HTMLLIElement>;
|
|
146
|
-
onInputCapture?: React.FormEventHandler<HTMLLIElement>;
|
|
147
|
-
onReset?: React.FormEventHandler<HTMLLIElement>;
|
|
148
|
-
onResetCapture?: React.FormEventHandler<HTMLLIElement>;
|
|
149
|
-
onSubmit?: React.FormEventHandler<HTMLLIElement>;
|
|
150
|
-
onSubmitCapture?: React.FormEventHandler<HTMLLIElement>;
|
|
151
|
-
onInvalid?: React.FormEventHandler<HTMLLIElement>;
|
|
152
|
-
onInvalidCapture?: React.FormEventHandler<HTMLLIElement>;
|
|
153
|
-
onLoad?: React.ReactEventHandler<HTMLLIElement>;
|
|
154
|
-
onLoadCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
155
|
-
onError?: React.ReactEventHandler<HTMLLIElement>;
|
|
156
|
-
onErrorCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
157
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLLIElement>;
|
|
158
|
-
onKeyDownCapture?: React.KeyboardEventHandler<HTMLLIElement>;
|
|
159
|
-
onKeyPress?: React.KeyboardEventHandler<HTMLLIElement>;
|
|
160
|
-
onKeyPressCapture?: React.KeyboardEventHandler<HTMLLIElement>;
|
|
161
|
-
onKeyUp?: React.KeyboardEventHandler<HTMLLIElement>;
|
|
162
|
-
onKeyUpCapture?: React.KeyboardEventHandler<HTMLLIElement>;
|
|
163
|
-
onAbort?: React.ReactEventHandler<HTMLLIElement>;
|
|
164
|
-
onAbortCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
165
|
-
onCanPlay?: React.ReactEventHandler<HTMLLIElement>;
|
|
166
|
-
onCanPlayCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
167
|
-
onCanPlayThrough?: React.ReactEventHandler<HTMLLIElement>;
|
|
168
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
169
|
-
onDurationChange?: React.ReactEventHandler<HTMLLIElement>;
|
|
170
|
-
onDurationChangeCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
171
|
-
onEmptied?: React.ReactEventHandler<HTMLLIElement>;
|
|
172
|
-
onEmptiedCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
173
|
-
onEncrypted?: React.ReactEventHandler<HTMLLIElement>;
|
|
174
|
-
onEncryptedCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
175
|
-
onEnded?: React.ReactEventHandler<HTMLLIElement>;
|
|
176
|
-
onEndedCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
177
|
-
onLoadedData?: React.ReactEventHandler<HTMLLIElement>;
|
|
178
|
-
onLoadedDataCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
179
|
-
onLoadedMetadata?: React.ReactEventHandler<HTMLLIElement>;
|
|
180
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
181
|
-
onLoadStart?: React.ReactEventHandler<HTMLLIElement>;
|
|
182
|
-
onLoadStartCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
183
|
-
onPause?: React.ReactEventHandler<HTMLLIElement>;
|
|
184
|
-
onPauseCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
185
|
-
onPlay?: React.ReactEventHandler<HTMLLIElement>;
|
|
186
|
-
onPlayCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
187
|
-
onPlaying?: React.ReactEventHandler<HTMLLIElement>;
|
|
188
|
-
onPlayingCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
189
|
-
onProgress?: React.ReactEventHandler<HTMLLIElement>;
|
|
190
|
-
onProgressCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
191
|
-
onRateChange?: React.ReactEventHandler<HTMLLIElement>;
|
|
192
|
-
onRateChangeCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
193
|
-
onResize?: React.ReactEventHandler<HTMLLIElement>;
|
|
194
|
-
onResizeCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
195
|
-
onSeeked?: React.ReactEventHandler<HTMLLIElement>;
|
|
196
|
-
onSeekedCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
197
|
-
onSeeking?: React.ReactEventHandler<HTMLLIElement>;
|
|
198
|
-
onSeekingCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
199
|
-
onStalled?: React.ReactEventHandler<HTMLLIElement>;
|
|
200
|
-
onStalledCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
201
|
-
onSuspend?: React.ReactEventHandler<HTMLLIElement>;
|
|
202
|
-
onSuspendCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
203
|
-
onTimeUpdate?: React.ReactEventHandler<HTMLLIElement>;
|
|
204
|
-
onTimeUpdateCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
205
|
-
onVolumeChange?: React.ReactEventHandler<HTMLLIElement>;
|
|
206
|
-
onVolumeChangeCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
207
|
-
onWaiting?: React.ReactEventHandler<HTMLLIElement>;
|
|
208
|
-
onWaitingCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
209
|
-
onAuxClick?: React.MouseEventHandler<HTMLLIElement>;
|
|
210
|
-
onAuxClickCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
211
|
-
onClick?: React.MouseEventHandler<HTMLLIElement>;
|
|
212
|
-
onClickCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
213
|
-
onContextMenu?: React.MouseEventHandler<HTMLLIElement>;
|
|
214
|
-
onContextMenuCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
215
|
-
onDoubleClick?: React.MouseEventHandler<HTMLLIElement>;
|
|
216
|
-
onDoubleClickCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
217
|
-
onDrag?: React.DragEventHandler<HTMLLIElement>;
|
|
218
|
-
onDragCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
219
|
-
onDragEnd?: React.DragEventHandler<HTMLLIElement>;
|
|
220
|
-
onDragEndCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
221
|
-
onDragEnter?: React.DragEventHandler<HTMLLIElement>;
|
|
222
|
-
onDragEnterCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
223
|
-
onDragExit?: React.DragEventHandler<HTMLLIElement>;
|
|
224
|
-
onDragExitCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
225
|
-
onDragLeave?: React.DragEventHandler<HTMLLIElement>;
|
|
226
|
-
onDragLeaveCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
227
|
-
onDragOver?: React.DragEventHandler<HTMLLIElement>;
|
|
228
|
-
onDragOverCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
229
|
-
onDragStart?: React.DragEventHandler<HTMLLIElement>;
|
|
230
|
-
onDragStartCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
231
|
-
onDrop?: React.DragEventHandler<HTMLLIElement>;
|
|
232
|
-
onDropCapture?: React.DragEventHandler<HTMLLIElement>;
|
|
233
|
-
onMouseDown?: React.MouseEventHandler<HTMLLIElement>;
|
|
234
|
-
onMouseDownCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
235
|
-
onMouseEnter?: React.MouseEventHandler<HTMLLIElement>;
|
|
236
|
-
onMouseLeave?: React.MouseEventHandler<HTMLLIElement>;
|
|
237
|
-
onMouseMove?: React.MouseEventHandler<HTMLLIElement>;
|
|
238
|
-
onMouseMoveCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
239
|
-
onMouseOut?: React.MouseEventHandler<HTMLLIElement>;
|
|
240
|
-
onMouseOutCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
241
|
-
onMouseOver?: React.MouseEventHandler<HTMLLIElement>;
|
|
242
|
-
onMouseOverCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
243
|
-
onMouseUp?: React.MouseEventHandler<HTMLLIElement>;
|
|
244
|
-
onMouseUpCapture?: React.MouseEventHandler<HTMLLIElement>;
|
|
245
|
-
onSelect?: React.ReactEventHandler<HTMLLIElement>;
|
|
246
|
-
onSelectCapture?: React.ReactEventHandler<HTMLLIElement>;
|
|
247
|
-
onTouchCancel?: React.TouchEventHandler<HTMLLIElement>;
|
|
248
|
-
onTouchCancelCapture?: React.TouchEventHandler<HTMLLIElement>;
|
|
249
|
-
onTouchEnd?: React.TouchEventHandler<HTMLLIElement>;
|
|
250
|
-
onTouchEndCapture?: React.TouchEventHandler<HTMLLIElement>;
|
|
251
|
-
onTouchMove?: React.TouchEventHandler<HTMLLIElement>;
|
|
252
|
-
onTouchMoveCapture?: React.TouchEventHandler<HTMLLIElement>;
|
|
253
|
-
onTouchStart?: React.TouchEventHandler<HTMLLIElement>;
|
|
254
|
-
onTouchStartCapture?: React.TouchEventHandler<HTMLLIElement>;
|
|
255
|
-
onPointerDown?: React.PointerEventHandler<HTMLLIElement>;
|
|
256
|
-
onPointerDownCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
257
|
-
onPointerMove?: React.PointerEventHandler<HTMLLIElement>;
|
|
258
|
-
onPointerMoveCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
259
|
-
onPointerUp?: React.PointerEventHandler<HTMLLIElement>;
|
|
260
|
-
onPointerUpCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
261
|
-
onPointerCancel?: React.PointerEventHandler<HTMLLIElement>;
|
|
262
|
-
onPointerCancelCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
263
|
-
onPointerEnter?: React.PointerEventHandler<HTMLLIElement>;
|
|
264
|
-
onPointerEnterCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
265
|
-
onPointerLeave?: React.PointerEventHandler<HTMLLIElement>;
|
|
266
|
-
onPointerLeaveCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
267
|
-
onPointerOver?: React.PointerEventHandler<HTMLLIElement>;
|
|
268
|
-
onPointerOverCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
269
|
-
onPointerOut?: React.PointerEventHandler<HTMLLIElement>;
|
|
270
|
-
onPointerOutCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
271
|
-
onGotPointerCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
272
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
273
|
-
onLostPointerCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
274
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLLIElement>;
|
|
275
|
-
onScroll?: React.UIEventHandler<HTMLLIElement>;
|
|
276
|
-
onScrollCapture?: React.UIEventHandler<HTMLLIElement>;
|
|
277
|
-
onWheel?: React.WheelEventHandler<HTMLLIElement>;
|
|
278
|
-
onWheelCapture?: React.WheelEventHandler<HTMLLIElement>;
|
|
279
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLLIElement>;
|
|
280
|
-
onAnimationStartCapture?: React.AnimationEventHandler<HTMLLIElement>;
|
|
281
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLLIElement>;
|
|
282
|
-
onAnimationEndCapture?: React.AnimationEventHandler<HTMLLIElement>;
|
|
283
|
-
onAnimationIteration?: React.AnimationEventHandler<HTMLLIElement>;
|
|
284
|
-
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLLIElement>;
|
|
285
|
-
onTransitionEnd?: React.TransitionEventHandler<HTMLLIElement>;
|
|
286
|
-
onTransitionEndCapture?: React.TransitionEventHandler<HTMLLIElement>;
|
|
287
|
-
}>;
|
|
288
|
-
export {};
|
|
289
|
-
//# sourceMappingURL=Select.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Select.d.ts","sourceRoot":"","sources":["../../src/select/Select.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,EAAE,SAAS,EAA+B,MAAM,OAAO,CAAC;AAKtE,UAAU,MAAM;IACd,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,KAAK,EAAE,MAAM,CAAC;CACf;AAED,MAAM,MAAM,eAAe,GAAG,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,CAAC;AAEjD,UAAU,KAAK;IACb,OAAO,EAAE,eAAe,EAAE,CAAC;IAC3B,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,QAAQ,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,MAAM,CAAC,OAAO,UAAU,MAAM,CAAC,KAAK,EAAE,KAAK,2CA4E1C;AAoCD,QAAA,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAmBX,CAAC"}
|
package/build/select/Select.js
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
-
import { useEffect, useRef, useState } from "react";
|
|
3
|
-
import styled from "styled-components";
|
|
4
|
-
import { ArrowBottom } from "./icons";
|
|
5
|
-
import useOutsideAlerter from "../outside-alerter/useOutsideAlerter";
|
|
6
|
-
export default function Select(props) {
|
|
7
|
-
const { selectedValue, className, onChange } = props;
|
|
8
|
-
const [options, setOptions] = useState(null);
|
|
9
|
-
const [isListVisible, setListVisibility] = useState(false);
|
|
10
|
-
const [selectedOption, setSelectedOption] = useState(null);
|
|
11
|
-
const ref = useRef(null);
|
|
12
|
-
const { hasClickedOutside, onReset: onResetOutsideAlerter } = useOutsideAlerter(ref);
|
|
13
|
-
const handleSelectedOptionClick = () => {
|
|
14
|
-
onResetOutsideAlerter();
|
|
15
|
-
setListVisibility(!isListVisible);
|
|
16
|
-
};
|
|
17
|
-
const handleOptionClick = (option) => {
|
|
18
|
-
setSelectedOption(option);
|
|
19
|
-
setListVisibility(false);
|
|
20
|
-
if (onChange) {
|
|
21
|
-
onChange(option);
|
|
22
|
-
}
|
|
23
|
-
};
|
|
24
|
-
useEffect(() => {
|
|
25
|
-
setOptions(props.options.map((option, index) => (Object.assign(Object.assign({}, option), { id: index }))));
|
|
26
|
-
}, [props.options]);
|
|
27
|
-
useEffect(() => {
|
|
28
|
-
if (options && !selectedOption) {
|
|
29
|
-
setSelectedOption(selectedValue ? options.find((option) => option.value === selectedValue) : options[0]);
|
|
30
|
-
}
|
|
31
|
-
}, [options]);
|
|
32
|
-
useEffect(() => {
|
|
33
|
-
if (hasClickedOutside) {
|
|
34
|
-
setListVisibility(false);
|
|
35
|
-
}
|
|
36
|
-
}, [hasClickedOutside]);
|
|
37
|
-
if (!options || !selectedOption) {
|
|
38
|
-
return null;
|
|
39
|
-
}
|
|
40
|
-
return (_jsxs(Container, { className: `select ${className}`, ref: ref, children: [_jsxs(SelectedOptionContainer, { className: "select-selected-option", onClick: handleSelectedOptionClick, children: [_jsx(SelectedOptionText, { className: "select-selected-option-text", children: selectedOption.label }), _jsx(SelectedOptionArrow, { className: "select-arrow" })] }), isListVisible && (_jsx(OptionsList, { className: "select-options", children: options
|
|
41
|
-
.filter((option) => option.id !== selectedOption.id)
|
|
42
|
-
.map((option) => (_jsx(Option, { className: "select-option", onClick: () => handleOptionClick(option), children: option.label }, option.id))) }))] }));
|
|
43
|
-
}
|
|
44
|
-
const Container = styled.div `
|
|
45
|
-
width: fit-content;
|
|
46
|
-
`;
|
|
47
|
-
const SelectedOptionContainer = styled.div `
|
|
48
|
-
display: flex;
|
|
49
|
-
align-items: center;
|
|
50
|
-
cursor: pointer;
|
|
51
|
-
user-select: none;
|
|
52
|
-
padding: 10px;
|
|
53
|
-
background-color: white;
|
|
54
|
-
border-radius: 5px;
|
|
55
|
-
`;
|
|
56
|
-
const SelectedOptionText = styled.span `
|
|
57
|
-
padding-right: 10px;
|
|
58
|
-
border-right: 1px solid black;
|
|
59
|
-
`;
|
|
60
|
-
const SelectedOptionArrow = styled(ArrowBottom) `
|
|
61
|
-
width: 15px;
|
|
62
|
-
margin-left: 10px;
|
|
63
|
-
`;
|
|
64
|
-
const OptionsList = styled.ul `
|
|
65
|
-
width: 100%;
|
|
66
|
-
list-style: none;
|
|
67
|
-
padding: 0;
|
|
68
|
-
margin: 10px 0 0 0;
|
|
69
|
-
user-select: none;
|
|
70
|
-
background-color: white;
|
|
71
|
-
border-radius: 5px;
|
|
72
|
-
`;
|
|
73
|
-
const Option = styled.li `
|
|
74
|
-
padding: 10px;
|
|
75
|
-
cursor: pointer;
|
|
76
|
-
|
|
77
|
-
&:hover {
|
|
78
|
-
background-color: #ecf0f1;
|
|
79
|
-
|
|
80
|
-
&:first-child {
|
|
81
|
-
border-radius: 5px 5px 0 0;
|
|
82
|
-
}
|
|
83
|
-
|
|
84
|
-
&:last-child {
|
|
85
|
-
border-radius: 0 0 5px 5px;
|
|
86
|
-
}
|
|
87
|
-
|
|
88
|
-
&:only-child {
|
|
89
|
-
border-radius: 5px;
|
|
90
|
-
}
|
|
91
|
-
}
|
|
92
|
-
`;
|