opus-react 0.2.5 → 0.2.8
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 +202 -23
- package/dist/flags/1x1/ad.svg +148 -0
- package/dist/flags/1x1/ae.svg +6 -0
- package/dist/flags/1x1/af.svg +81 -0
- package/dist/flags/1x1/ag.svg +14 -0
- package/dist/flags/1x1/ai.svg +29 -0
- package/dist/flags/1x1/al.svg +5 -0
- package/dist/flags/1x1/am.svg +5 -0
- package/dist/flags/1x1/ao.svg +13 -0
- package/dist/flags/1x1/aq.svg +5 -0
- package/dist/flags/1x1/ar.svg +32 -0
- package/dist/flags/1x1/arab.svg +109 -0
- package/dist/flags/1x1/as.svg +73 -0
- package/dist/flags/1x1/asean.svg +13 -0
- package/dist/flags/1x1/at.svg +4 -0
- package/dist/flags/1x1/au.svg +8 -0
- package/dist/flags/1x1/aw.svg +186 -0
- package/dist/flags/1x1/ax.svg +18 -0
- package/dist/flags/1x1/az.svg +8 -0
- package/dist/flags/1x1/ba.svg +12 -0
- package/dist/flags/1x1/bb.svg +6 -0
- package/dist/flags/1x1/bd.svg +4 -0
- package/dist/flags/1x1/be.svg +7 -0
- package/dist/flags/1x1/bf.svg +7 -0
- package/dist/flags/1x1/bg.svg +5 -0
- package/dist/flags/1x1/bh.svg +4 -0
- package/dist/flags/1x1/bi.svg +15 -0
- package/dist/flags/1x1/bj.svg +14 -0
- package/dist/flags/1x1/bl.svg +7 -0
- package/dist/flags/1x1/bm.svg +97 -0
- package/dist/flags/1x1/bn.svg +36 -0
- package/dist/flags/1x1/bo.svg +674 -0
- package/dist/flags/1x1/bq.svg +5 -0
- package/dist/flags/1x1/br.svg +45 -0
- package/dist/flags/1x1/bs.svg +13 -0
- package/dist/flags/1x1/bt.svg +89 -0
- package/dist/flags/1x1/bv.svg +13 -0
- package/dist/flags/1x1/bw.svg +7 -0
- package/dist/flags/1x1/by.svg +18 -0
- package/dist/flags/1x1/bz.svg +145 -0
- package/dist/flags/1x1/ca.svg +4 -0
- package/dist/flags/1x1/cc.svg +19 -0
- package/dist/flags/1x1/cd.svg +12 -0
- package/dist/flags/1x1/cefta.svg +13 -0
- package/dist/flags/1x1/cf.svg +15 -0
- package/dist/flags/1x1/cg.svg +12 -0
- package/dist/flags/1x1/ch.svg +9 -0
- package/dist/flags/1x1/ci.svg +7 -0
- package/dist/flags/1x1/ck.svg +9 -0
- package/dist/flags/1x1/cl.svg +13 -0
- package/dist/flags/1x1/cm.svg +15 -0
- package/dist/flags/1x1/cn.svg +11 -0
- package/dist/flags/1x1/co.svg +7 -0
- package/dist/flags/1x1/cp.svg +7 -0
- package/dist/flags/1x1/cr.svg +7 -0
- package/dist/flags/1x1/cu.svg +13 -0
- package/dist/flags/1x1/cv.svg +13 -0
- package/dist/flags/1x1/cw.svg +14 -0
- package/dist/flags/1x1/cx.svg +15 -0
- package/dist/flags/1x1/cy.svg +6 -0
- package/dist/flags/1x1/cz.svg +5 -0
- package/dist/flags/1x1/de.svg +5 -0
- package/dist/flags/1x1/dg.svg +130 -0
- package/dist/flags/1x1/dj.svg +13 -0
- package/dist/flags/1x1/dk.svg +5 -0
- package/dist/flags/1x1/dm.svg +152 -0
- package/dist/flags/1x1/do.svg +122 -0
- package/dist/flags/1x1/dz.svg +5 -0
- package/dist/flags/1x1/eac.svg +48 -0
- package/dist/flags/1x1/ec.svg +138 -0
- package/dist/flags/1x1/ee.svg +5 -0
- package/dist/flags/1x1/eg.svg +38 -0
- package/dist/flags/1x1/eh.svg +11 -0
- package/dist/flags/1x1/er.svg +13 -0
- package/dist/flags/1x1/es-ct.svg +4 -0
- package/dist/flags/1x1/es-ga.svg +187 -0
- package/dist/flags/1x1/es-pv.svg +5 -0
- package/dist/flags/1x1/es.svg +547 -0
- package/dist/flags/1x1/et.svg +14 -0
- package/dist/flags/1x1/eu.svg +28 -0
- package/dist/flags/1x1/fi.svg +5 -0
- package/dist/flags/1x1/fj.svg +123 -0
- package/dist/flags/1x1/fk.svg +89 -0
- package/dist/flags/1x1/fm.svg +11 -0
- package/dist/flags/1x1/fo.svg +12 -0
- package/dist/flags/1x1/fr.svg +5 -0
- package/dist/flags/1x1/ga.svg +7 -0
- package/dist/flags/1x1/gb-eng.svg +5 -0
- package/dist/flags/1x1/gb-nir.svg +131 -0
- package/dist/flags/1x1/gb-sct.svg +4 -0
- package/dist/flags/1x1/gb-wls.svg +9 -0
- package/dist/flags/1x1/gb.svg +7 -0
- package/dist/flags/1x1/gd.svg +27 -0
- package/dist/flags/1x1/ge.svg +6 -0
- package/dist/flags/1x1/gf.svg +5 -0
- package/dist/flags/1x1/gg.svg +9 -0
- package/dist/flags/1x1/gh.svg +6 -0
- package/dist/flags/1x1/gi.svg +32 -0
- package/dist/flags/1x1/gl.svg +4 -0
- package/dist/flags/1x1/gm.svg +9 -0
- package/dist/flags/1x1/gn.svg +7 -0
- package/dist/flags/1x1/gp.svg +5 -0
- package/dist/flags/1x1/gq.svg +23 -0
- package/dist/flags/1x1/gr.svg +16 -0
- package/dist/flags/1x1/gs.svg +132 -0
- package/dist/flags/1x1/gt.svg +204 -0
- package/dist/flags/1x1/gu.svg +19 -0
- package/dist/flags/1x1/gw.svg +15 -0
- package/dist/flags/1x1/gy.svg +9 -0
- package/dist/flags/1x1/hk.svg +8 -0
- package/dist/flags/1x1/hm.svg +8 -0
- package/dist/flags/1x1/hn.svg +18 -0
- package/dist/flags/1x1/hr.svg +56 -0
- package/dist/flags/1x1/ht.svg +116 -0
- package/dist/flags/1x1/hu.svg +7 -0
- package/dist/flags/1x1/ic.svg +7 -0
- package/dist/flags/1x1/id.svg +4 -0
- package/dist/flags/1x1/ie.svg +7 -0
- package/dist/flags/1x1/il.svg +14 -0
- package/dist/flags/1x1/im.svg +36 -0
- package/dist/flags/1x1/in.svg +25 -0
- package/dist/flags/1x1/io.svg +130 -0
- package/dist/flags/1x1/iq.svg +10 -0
- package/dist/flags/1x1/ir.svg +219 -0
- package/dist/flags/1x1/is.svg +12 -0
- package/dist/flags/1x1/it.svg +7 -0
- package/dist/flags/1x1/je.svg +62 -0
- package/dist/flags/1x1/jm.svg +8 -0
- package/dist/flags/1x1/jo.svg +16 -0
- package/dist/flags/1x1/jp.svg +11 -0
- package/dist/flags/1x1/ke.svg +23 -0
- package/dist/flags/1x1/kg.svg +4 -0
- package/dist/flags/1x1/kh.svg +61 -0
- package/dist/flags/1x1/ki.svg +36 -0
- package/dist/flags/1x1/km.svg +16 -0
- package/dist/flags/1x1/kn.svg +14 -0
- package/dist/flags/1x1/kp.svg +15 -0
- package/dist/flags/1x1/kr.svg +17 -0
- package/dist/flags/1x1/kw.svg +13 -0
- package/dist/flags/1x1/ky.svg +103 -0
- package/dist/flags/1x1/kz.svg +36 -0
- package/dist/flags/1x1/la.svg +12 -0
- package/dist/flags/1x1/lb.svg +15 -0
- package/dist/flags/1x1/lc.svg +8 -0
- package/dist/flags/1x1/li.svg +43 -0
- package/dist/flags/1x1/lk.svg +22 -0
- package/dist/flags/1x1/lr.svg +14 -0
- package/dist/flags/1x1/ls.svg +8 -0
- package/dist/flags/1x1/lt.svg +7 -0
- package/dist/flags/1x1/lu.svg +5 -0
- package/dist/flags/1x1/lv.svg +6 -0
- package/dist/flags/1x1/ly.svg +13 -0
- package/dist/flags/1x1/ma.svg +4 -0
- package/dist/flags/1x1/mc.svg +6 -0
- package/dist/flags/1x1/md.svg +71 -0
- package/dist/flags/1x1/me.svg +118 -0
- package/dist/flags/1x1/mf.svg +5 -0
- package/dist/flags/1x1/mg.svg +7 -0
- package/dist/flags/1x1/mh.svg +8 -0
- package/dist/flags/1x1/mk.svg +5 -0
- package/dist/flags/1x1/ml.svg +7 -0
- package/dist/flags/1x1/mm.svg +10 -0
- package/dist/flags/1x1/mn.svg +14 -0
- package/dist/flags/1x1/mo.svg +9 -0
- package/dist/flags/1x1/mp.svg +86 -0
- package/dist/flags/1x1/mq.svg +5 -0
- package/dist/flags/1x1/mr.svg +6 -0
- package/dist/flags/1x1/ms.svg +25 -0
- package/dist/flags/1x1/mt.svg +56 -0
- package/dist/flags/1x1/mu.svg +8 -0
- package/dist/flags/1x1/mv.svg +6 -0
- package/dist/flags/1x1/mw.svg +15 -0
- package/dist/flags/1x1/mx.svg +377 -0
- package/dist/flags/1x1/my.svg +18 -0
- package/dist/flags/1x1/mz.svg +21 -0
- package/dist/flags/1x1/na.svg +16 -0
- package/dist/flags/1x1/nc.svg +12 -0
- package/dist/flags/1x1/ne.svg +6 -0
- package/dist/flags/1x1/nf.svg +11 -0
- package/dist/flags/1x1/ng.svg +6 -0
- package/dist/flags/1x1/ni.svg +129 -0
- package/dist/flags/1x1/nl.svg +5 -0
- package/dist/flags/1x1/no.svg +7 -0
- package/dist/flags/1x1/np.svg +18 -0
- package/dist/flags/1x1/nr.svg +12 -0
- package/dist/flags/1x1/nu.svg +10 -0
- package/dist/flags/1x1/nz.svg +36 -0
- package/dist/flags/1x1/om.svg +115 -0
- package/dist/flags/1x1/pa.svg +13 -0
- package/dist/flags/1x1/pc.svg +33 -0
- package/dist/flags/1x1/pe.svg +4 -0
- package/dist/flags/1x1/pf.svg +18 -0
- package/dist/flags/1x1/pg.svg +16 -0
- package/dist/flags/1x1/ph.svg +6 -0
- package/dist/flags/1x1/pk.svg +15 -0
- package/dist/flags/1x1/pl.svg +6 -0
- package/dist/flags/1x1/pm.svg +5 -0
- package/dist/flags/1x1/pn.svg +53 -0
- package/dist/flags/1x1/pr.svg +13 -0
- package/dist/flags/1x1/ps.svg +6 -0
- package/dist/flags/1x1/pt.svg +57 -0
- package/dist/flags/1x1/pw.svg +11 -0
- package/dist/flags/1x1/py.svg +156 -0
- package/dist/flags/1x1/qa.svg +4 -0
- package/dist/flags/1x1/re.svg +7 -0
- package/dist/flags/1x1/ro.svg +7 -0
- package/dist/flags/1x1/rs.svg +296 -0
- package/dist/flags/1x1/ru.svg +5 -0
- package/dist/flags/1x1/rw.svg +13 -0
- package/dist/flags/1x1/sa.svg +25 -0
- package/dist/flags/1x1/sb.svg +13 -0
- package/dist/flags/1x1/sc.svg +7 -0
- package/dist/flags/1x1/sd.svg +13 -0
- package/dist/flags/1x1/se.svg +4 -0
- package/dist/flags/1x1/sg.svg +13 -0
- package/dist/flags/1x1/sh-ac.svg +690 -0
- package/dist/flags/1x1/sh-hl.svg +164 -0
- package/dist/flags/1x1/sh-ta.svg +76 -0
- package/dist/flags/1x1/sh.svg +7 -0
- package/dist/flags/1x1/si.svg +18 -0
- package/dist/flags/1x1/sj.svg +7 -0
- package/dist/flags/1x1/sk.svg +9 -0
- package/dist/flags/1x1/sl.svg +12 -0
- package/dist/flags/1x1/sm.svg +73 -0
- package/dist/flags/1x1/sn.svg +8 -0
- package/dist/flags/1x1/so.svg +11 -0
- package/dist/flags/1x1/sr.svg +6 -0
- package/dist/flags/1x1/ss.svg +8 -0
- package/dist/flags/1x1/st.svg +16 -0
- package/dist/flags/1x1/sv.svg +593 -0
- package/dist/flags/1x1/sx.svg +56 -0
- package/dist/flags/1x1/sy.svg +6 -0
- package/dist/flags/1x1/sz.svg +34 -0
- package/dist/flags/1x1/tc.svg +50 -0
- package/dist/flags/1x1/td.svg +7 -0
- package/dist/flags/1x1/tf.svg +15 -0
- package/dist/flags/1x1/tg.svg +14 -0
- package/dist/flags/1x1/th.svg +7 -0
- package/dist/flags/1x1/tj.svg +26 -0
- package/dist/flags/1x1/tk.svg +5 -0
- package/dist/flags/1x1/tl.svg +13 -0
- package/dist/flags/1x1/tm.svg +205 -0
- package/dist/flags/1x1/tn.svg +4 -0
- package/dist/flags/1x1/to.svg +10 -0
- package/dist/flags/1x1/tr.svg +8 -0
- package/dist/flags/1x1/tt.svg +7 -0
- package/dist/flags/1x1/tv.svg +9 -0
- package/dist/flags/1x1/tw.svg +32 -0
- package/dist/flags/1x1/tz.svg +15 -0
- package/dist/flags/1x1/ua.svg +6 -0
- package/dist/flags/1x1/ug.svg +30 -0
- package/dist/flags/1x1/um.svg +9 -0
- package/dist/flags/1x1/un.svg +16 -0
- package/dist/flags/1x1/us.svg +9 -0
- package/dist/flags/1x1/uy.svg +28 -0
- package/dist/flags/1x1/uz.svg +30 -0
- package/dist/flags/1x1/va.svg +190 -0
- package/dist/flags/1x1/vc.svg +8 -0
- package/dist/flags/1x1/ve.svg +26 -0
- package/dist/flags/1x1/vg.svg +59 -0
- package/dist/flags/1x1/vi.svg +28 -0
- package/dist/flags/1x1/vn.svg +11 -0
- package/dist/flags/1x1/vu.svg +21 -0
- package/dist/flags/1x1/wf.svg +5 -0
- package/dist/flags/1x1/ws.svg +7 -0
- package/dist/flags/1x1/xk.svg +5 -0
- package/dist/flags/1x1/xx.svg +4 -0
- package/dist/flags/1x1/ye.svg +7 -0
- package/dist/flags/1x1/yt.svg +5 -0
- package/dist/flags/1x1/za.svg +17 -0
- package/dist/flags/1x1/zm.svg +27 -0
- package/dist/flags/1x1/zw.svg +21 -0
- package/dist/flags/4x3/ad.svg +150 -0
- package/dist/flags/4x3/ae.svg +6 -0
- package/dist/flags/4x3/af.svg +81 -0
- package/dist/flags/4x3/ag.svg +14 -0
- package/dist/flags/4x3/ai.svg +29 -0
- package/dist/flags/4x3/al.svg +5 -0
- package/dist/flags/4x3/am.svg +5 -0
- package/dist/flags/4x3/ao.svg +13 -0
- package/dist/flags/4x3/aq.svg +5 -0
- package/dist/flags/4x3/ar.svg +32 -0
- package/dist/flags/4x3/arab.svg +109 -0
- package/dist/flags/4x3/as.svg +72 -0
- package/dist/flags/4x3/asean.svg +13 -0
- package/dist/flags/4x3/at.svg +4 -0
- package/dist/flags/4x3/au.svg +8 -0
- package/dist/flags/4x3/aw.svg +186 -0
- package/dist/flags/4x3/ax.svg +18 -0
- package/dist/flags/4x3/az.svg +8 -0
- package/dist/flags/4x3/ba.svg +12 -0
- package/dist/flags/4x3/bb.svg +6 -0
- package/dist/flags/4x3/bd.svg +4 -0
- package/dist/flags/4x3/be.svg +7 -0
- package/dist/flags/4x3/bf.svg +7 -0
- package/dist/flags/4x3/bg.svg +5 -0
- package/dist/flags/4x3/bh.svg +4 -0
- package/dist/flags/4x3/bi.svg +15 -0
- package/dist/flags/4x3/bj.svg +14 -0
- package/dist/flags/4x3/bl.svg +5 -0
- package/dist/flags/4x3/bm.svg +97 -0
- package/dist/flags/4x3/bn.svg +36 -0
- package/dist/flags/4x3/bo.svg +673 -0
- package/dist/flags/4x3/bq.svg +5 -0
- package/dist/flags/4x3/br.svg +45 -0
- package/dist/flags/4x3/bs.svg +13 -0
- package/dist/flags/4x3/bt.svg +89 -0
- package/dist/flags/4x3/bv.svg +13 -0
- package/dist/flags/4x3/bw.svg +7 -0
- package/dist/flags/4x3/by.svg +18 -0
- package/dist/flags/4x3/bz.svg +145 -0
- package/dist/flags/4x3/ca.svg +4 -0
- package/dist/flags/4x3/cc.svg +19 -0
- package/dist/flags/4x3/cd.svg +5 -0
- package/dist/flags/4x3/cefta.svg +13 -0
- package/dist/flags/4x3/cf.svg +15 -0
- package/dist/flags/4x3/cg.svg +12 -0
- package/dist/flags/4x3/ch.svg +9 -0
- package/dist/flags/4x3/ci.svg +7 -0
- package/dist/flags/4x3/ck.svg +9 -0
- package/dist/flags/4x3/cl.svg +13 -0
- package/dist/flags/4x3/cm.svg +15 -0
- package/dist/flags/4x3/cn.svg +11 -0
- package/dist/flags/4x3/co.svg +7 -0
- package/dist/flags/4x3/cp.svg +7 -0
- package/dist/flags/4x3/cr.svg +7 -0
- package/dist/flags/4x3/cu.svg +13 -0
- package/dist/flags/4x3/cv.svg +13 -0
- package/dist/flags/4x3/cw.svg +14 -0
- package/dist/flags/4x3/cx.svg +15 -0
- package/dist/flags/4x3/cy.svg +6 -0
- package/dist/flags/4x3/cz.svg +5 -0
- package/dist/flags/4x3/de.svg +5 -0
- package/dist/flags/4x3/dg.svg +130 -0
- package/dist/flags/4x3/dj.svg +13 -0
- package/dist/flags/4x3/dk.svg +5 -0
- package/dist/flags/4x3/dm.svg +152 -0
- package/dist/flags/4x3/do.svg +121 -0
- package/dist/flags/4x3/dz.svg +5 -0
- package/dist/flags/4x3/eac.svg +48 -0
- package/dist/flags/4x3/ec.svg +138 -0
- package/dist/flags/4x3/ee.svg +5 -0
- package/dist/flags/4x3/eg.svg +38 -0
- package/dist/flags/4x3/eh.svg +16 -0
- package/dist/flags/4x3/er.svg +8 -0
- package/dist/flags/4x3/es-ct.svg +4 -0
- package/dist/flags/4x3/es-ga.svg +187 -0
- package/dist/flags/4x3/es-pv.svg +5 -0
- package/dist/flags/4x3/es.svg +544 -0
- package/dist/flags/4x3/et.svg +14 -0
- package/dist/flags/4x3/eu.svg +28 -0
- package/dist/flags/4x3/fi.svg +5 -0
- package/dist/flags/4x3/fj.svg +120 -0
- package/dist/flags/4x3/fk.svg +90 -0
- package/dist/flags/4x3/fm.svg +11 -0
- package/dist/flags/4x3/fo.svg +12 -0
- package/dist/flags/4x3/fr.svg +5 -0
- package/dist/flags/4x3/ga.svg +7 -0
- package/dist/flags/4x3/gb-eng.svg +5 -0
- package/dist/flags/4x3/gb-nir.svg +132 -0
- package/dist/flags/4x3/gb-sct.svg +4 -0
- package/dist/flags/4x3/gb-wls.svg +9 -0
- package/dist/flags/4x3/gb.svg +7 -0
- package/dist/flags/4x3/gd.svg +27 -0
- package/dist/flags/4x3/ge.svg +6 -0
- package/dist/flags/4x3/gf.svg +5 -0
- package/dist/flags/4x3/gg.svg +9 -0
- package/dist/flags/4x3/gh.svg +6 -0
- package/dist/flags/4x3/gi.svg +32 -0
- package/dist/flags/4x3/gl.svg +4 -0
- package/dist/flags/4x3/gm.svg +14 -0
- package/dist/flags/4x3/gn.svg +7 -0
- package/dist/flags/4x3/gp.svg +5 -0
- package/dist/flags/4x3/gq.svg +23 -0
- package/dist/flags/4x3/gr.svg +16 -0
- package/dist/flags/4x3/gs.svg +133 -0
- package/dist/flags/4x3/gt.svg +204 -0
- package/dist/flags/4x3/gu.svg +19 -0
- package/dist/flags/4x3/gw.svg +13 -0
- package/dist/flags/4x3/gy.svg +9 -0
- package/dist/flags/4x3/hk.svg +8 -0
- package/dist/flags/4x3/hm.svg +8 -0
- package/dist/flags/4x3/hn.svg +18 -0
- package/dist/flags/4x3/hr.svg +58 -0
- package/dist/flags/4x3/ht.svg +116 -0
- package/dist/flags/4x3/hu.svg +7 -0
- package/dist/flags/4x3/ic.svg +7 -0
- package/dist/flags/4x3/id.svg +4 -0
- package/dist/flags/4x3/ie.svg +7 -0
- package/dist/flags/4x3/il.svg +14 -0
- package/dist/flags/4x3/im.svg +36 -0
- package/dist/flags/4x3/in.svg +25 -0
- package/dist/flags/4x3/io.svg +130 -0
- package/dist/flags/4x3/iq.svg +10 -0
- package/dist/flags/4x3/ir.svg +219 -0
- package/dist/flags/4x3/is.svg +12 -0
- package/dist/flags/4x3/it.svg +7 -0
- package/dist/flags/4x3/je.svg +62 -0
- package/dist/flags/4x3/jm.svg +8 -0
- package/dist/flags/4x3/jo.svg +16 -0
- package/dist/flags/4x3/jp.svg +11 -0
- package/dist/flags/4x3/ke.svg +23 -0
- package/dist/flags/4x3/kg.svg +4 -0
- package/dist/flags/4x3/kh.svg +61 -0
- package/dist/flags/4x3/ki.svg +36 -0
- package/dist/flags/4x3/km.svg +16 -0
- package/dist/flags/4x3/kn.svg +14 -0
- package/dist/flags/4x3/kp.svg +15 -0
- package/dist/flags/4x3/kr.svg +24 -0
- package/dist/flags/4x3/kw.svg +13 -0
- package/dist/flags/4x3/ky.svg +103 -0
- package/dist/flags/4x3/kz.svg +36 -0
- package/dist/flags/4x3/la.svg +12 -0
- package/dist/flags/4x3/lb.svg +15 -0
- package/dist/flags/4x3/lc.svg +8 -0
- package/dist/flags/4x3/li.svg +43 -0
- package/dist/flags/4x3/lk.svg +22 -0
- package/dist/flags/4x3/lr.svg +14 -0
- package/dist/flags/4x3/ls.svg +8 -0
- package/dist/flags/4x3/lt.svg +7 -0
- package/dist/flags/4x3/lu.svg +5 -0
- package/dist/flags/4x3/lv.svg +6 -0
- package/dist/flags/4x3/ly.svg +13 -0
- package/dist/flags/4x3/ma.svg +4 -0
- package/dist/flags/4x3/mc.svg +6 -0
- package/dist/flags/4x3/md.svg +70 -0
- package/dist/flags/4x3/me.svg +116 -0
- package/dist/flags/4x3/mf.svg +5 -0
- package/dist/flags/4x3/mg.svg +7 -0
- package/dist/flags/4x3/mh.svg +7 -0
- package/dist/flags/4x3/mk.svg +5 -0
- package/dist/flags/4x3/ml.svg +7 -0
- package/dist/flags/4x3/mm.svg +12 -0
- package/dist/flags/4x3/mn.svg +14 -0
- package/dist/flags/4x3/mo.svg +9 -0
- package/dist/flags/4x3/mp.svg +86 -0
- package/dist/flags/4x3/mq.svg +5 -0
- package/dist/flags/4x3/mr.svg +6 -0
- package/dist/flags/4x3/ms.svg +29 -0
- package/dist/flags/4x3/mt.svg +58 -0
- package/dist/flags/4x3/mu.svg +8 -0
- package/dist/flags/4x3/mv.svg +6 -0
- package/dist/flags/4x3/mw.svg +10 -0
- package/dist/flags/4x3/mx.svg +382 -0
- package/dist/flags/4x3/my.svg +26 -0
- package/dist/flags/4x3/mz.svg +21 -0
- package/dist/flags/4x3/na.svg +16 -0
- package/dist/flags/4x3/nc.svg +13 -0
- package/dist/flags/4x3/ne.svg +6 -0
- package/dist/flags/4x3/nf.svg +9 -0
- package/dist/flags/4x3/ng.svg +6 -0
- package/dist/flags/4x3/ni.svg +129 -0
- package/dist/flags/4x3/nl.svg +5 -0
- package/dist/flags/4x3/no.svg +7 -0
- package/dist/flags/4x3/np.svg +13 -0
- package/dist/flags/4x3/nr.svg +12 -0
- package/dist/flags/4x3/nu.svg +10 -0
- package/dist/flags/4x3/nz.svg +36 -0
- package/dist/flags/4x3/om.svg +115 -0
- package/dist/flags/4x3/pa.svg +14 -0
- package/dist/flags/4x3/pc.svg +33 -0
- package/dist/flags/4x3/pe.svg +4 -0
- package/dist/flags/4x3/pf.svg +19 -0
- package/dist/flags/4x3/pg.svg +9 -0
- package/dist/flags/4x3/ph.svg +6 -0
- package/dist/flags/4x3/pk.svg +15 -0
- package/dist/flags/4x3/pl.svg +6 -0
- package/dist/flags/4x3/pm.svg +5 -0
- package/dist/flags/4x3/pn.svg +53 -0
- package/dist/flags/4x3/pr.svg +13 -0
- package/dist/flags/4x3/ps.svg +6 -0
- package/dist/flags/4x3/pt.svg +57 -0
- package/dist/flags/4x3/pw.svg +11 -0
- package/dist/flags/4x3/py.svg +157 -0
- package/dist/flags/4x3/qa.svg +4 -0
- package/dist/flags/4x3/re.svg +5 -0
- package/dist/flags/4x3/ro.svg +7 -0
- package/dist/flags/4x3/rs.svg +292 -0
- package/dist/flags/4x3/ru.svg +5 -0
- package/dist/flags/4x3/rw.svg +13 -0
- package/dist/flags/4x3/sa.svg +25 -0
- package/dist/flags/4x3/sb.svg +13 -0
- package/dist/flags/4x3/sc.svg +7 -0
- package/dist/flags/4x3/sd.svg +13 -0
- package/dist/flags/4x3/se.svg +4 -0
- package/dist/flags/4x3/sg.svg +13 -0
- package/dist/flags/4x3/sh-ac.svg +689 -0
- package/dist/flags/4x3/sh-hl.svg +164 -0
- package/dist/flags/4x3/sh-ta.svg +76 -0
- package/dist/flags/4x3/sh.svg +7 -0
- package/dist/flags/4x3/si.svg +18 -0
- package/dist/flags/4x3/sj.svg +7 -0
- package/dist/flags/4x3/sk.svg +9 -0
- package/dist/flags/4x3/sl.svg +7 -0
- package/dist/flags/4x3/sm.svg +75 -0
- package/dist/flags/4x3/sn.svg +8 -0
- package/dist/flags/4x3/so.svg +11 -0
- package/dist/flags/4x3/sr.svg +6 -0
- package/dist/flags/4x3/ss.svg +8 -0
- package/dist/flags/4x3/st.svg +16 -0
- package/dist/flags/4x3/sv.svg +593 -0
- package/dist/flags/4x3/sx.svg +56 -0
- package/dist/flags/4x3/sy.svg +6 -0
- package/dist/flags/4x3/sz.svg +34 -0
- package/dist/flags/4x3/tc.svg +50 -0
- package/dist/flags/4x3/td.svg +7 -0
- package/dist/flags/4x3/tf.svg +15 -0
- package/dist/flags/4x3/tg.svg +14 -0
- package/dist/flags/4x3/th.svg +7 -0
- package/dist/flags/4x3/tj.svg +22 -0
- package/dist/flags/4x3/tk.svg +5 -0
- package/dist/flags/4x3/tl.svg +13 -0
- package/dist/flags/4x3/tm.svg +204 -0
- package/dist/flags/4x3/tn.svg +4 -0
- package/dist/flags/4x3/to.svg +10 -0
- package/dist/flags/4x3/tr.svg +8 -0
- package/dist/flags/4x3/tt.svg +5 -0
- package/dist/flags/4x3/tv.svg +9 -0
- package/dist/flags/4x3/tw.svg +34 -0
- package/dist/flags/4x3/tz.svg +13 -0
- package/dist/flags/4x3/ua.svg +6 -0
- package/dist/flags/4x3/ug.svg +30 -0
- package/dist/flags/4x3/um.svg +9 -0
- package/dist/flags/4x3/un.svg +16 -0
- package/dist/flags/4x3/us.svg +9 -0
- package/dist/flags/4x3/uy.svg +28 -0
- package/dist/flags/4x3/uz.svg +30 -0
- package/dist/flags/4x3/va.svg +190 -0
- package/dist/flags/4x3/vc.svg +8 -0
- package/dist/flags/4x3/ve.svg +26 -0
- package/dist/flags/4x3/vg.svg +59 -0
- package/dist/flags/4x3/vi.svg +28 -0
- package/dist/flags/4x3/vn.svg +11 -0
- package/dist/flags/4x3/vu.svg +21 -0
- package/dist/flags/4x3/wf.svg +5 -0
- package/dist/flags/4x3/ws.svg +7 -0
- package/dist/flags/4x3/xk.svg +5 -0
- package/dist/flags/4x3/xx.svg +4 -0
- package/dist/flags/4x3/ye.svg +7 -0
- package/dist/flags/4x3/yt.svg +5 -0
- package/dist/flags/4x3/za.svg +17 -0
- package/dist/flags/4x3/zm.svg +27 -0
- package/dist/flags/4x3/zw.svg +21 -0
- package/dist/flags.css +1 -0
- package/dist/index.cjs +2429 -1061
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +637 -0
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +205 -2
- package/dist/index.d.ts +205 -2
- package/dist/index.js +2336 -983
- package/dist/index.js.map +1 -1
- package/package.json +4 -2
package/dist/index.d.cts
CHANGED
|
@@ -307,6 +307,191 @@ type ThemeToggleFieldProps = {
|
|
|
307
307
|
};
|
|
308
308
|
declare function ThemeToggleField({ className, id, label, labelPosition, labelVisuallyHidden, mode, value, onChange, }: ThemeToggleFieldProps): react.JSX.Element;
|
|
309
309
|
|
|
310
|
+
type FilterSelectGroup = {
|
|
311
|
+
label: string;
|
|
312
|
+
options: string[];
|
|
313
|
+
};
|
|
314
|
+
type FilterSelectFieldProps = {
|
|
315
|
+
error?: string;
|
|
316
|
+
groups: FilterSelectGroup[];
|
|
317
|
+
help?: string;
|
|
318
|
+
id: string;
|
|
319
|
+
label: string;
|
|
320
|
+
labelPosition?: LabelPosition;
|
|
321
|
+
mode?: FieldMode;
|
|
322
|
+
placeholder?: string;
|
|
323
|
+
required?: boolean;
|
|
324
|
+
searchPlaceholder?: string;
|
|
325
|
+
value: string[];
|
|
326
|
+
onChange: (value: string[]) => void;
|
|
327
|
+
};
|
|
328
|
+
declare function FilterSelectField({ error, groups, help, id, label, labelPosition, mode, placeholder, required, searchPlaceholder, value, onChange, }: FilterSelectFieldProps): react.JSX.Element;
|
|
329
|
+
|
|
330
|
+
type MultiSelectFieldProps = {
|
|
331
|
+
error?: string;
|
|
332
|
+
help?: string;
|
|
333
|
+
id: string;
|
|
334
|
+
label: string;
|
|
335
|
+
labelPosition?: LabelPosition;
|
|
336
|
+
mode?: FieldMode;
|
|
337
|
+
options: string[];
|
|
338
|
+
placeholder?: string;
|
|
339
|
+
required?: boolean;
|
|
340
|
+
value: string[];
|
|
341
|
+
onChange: (value: string[]) => void;
|
|
342
|
+
};
|
|
343
|
+
declare function MultiSelectField({ error, help, id, label, labelPosition, mode, options, placeholder, required, value, onChange, }: MultiSelectFieldProps): react.JSX.Element;
|
|
344
|
+
|
|
345
|
+
type TransferListFieldProps = {
|
|
346
|
+
available: string[];
|
|
347
|
+
error?: string;
|
|
348
|
+
help?: string;
|
|
349
|
+
id: string;
|
|
350
|
+
label: string;
|
|
351
|
+
labelPosition?: LabelPosition;
|
|
352
|
+
mode?: FieldMode;
|
|
353
|
+
required?: boolean;
|
|
354
|
+
selected: string[];
|
|
355
|
+
onChange: (selected: string[]) => void;
|
|
356
|
+
};
|
|
357
|
+
declare function TransferListField({ available, error, help, id, label, labelPosition, mode, required, selected, onChange, }: TransferListFieldProps): react.JSX.Element;
|
|
358
|
+
|
|
359
|
+
type PasswordRequirement = {
|
|
360
|
+
id: string;
|
|
361
|
+
label: string;
|
|
362
|
+
test: (value: string) => boolean;
|
|
363
|
+
};
|
|
364
|
+
type PasswordStrengthFieldProps = {
|
|
365
|
+
error?: string;
|
|
366
|
+
help?: string;
|
|
367
|
+
id: string;
|
|
368
|
+
label: string;
|
|
369
|
+
labelPosition?: LabelPosition;
|
|
370
|
+
mode?: FieldMode;
|
|
371
|
+
placeholder?: string;
|
|
372
|
+
required?: boolean;
|
|
373
|
+
requirements?: PasswordRequirement[];
|
|
374
|
+
showRequirements?: boolean;
|
|
375
|
+
value: string;
|
|
376
|
+
onChange: (value: string) => void;
|
|
377
|
+
};
|
|
378
|
+
declare function PasswordStrengthField({ error, help, id, label, labelPosition, mode, placeholder, required, requirements, showRequirements, value, onChange, }: PasswordStrengthFieldProps): react.JSX.Element;
|
|
379
|
+
|
|
380
|
+
type RatingVariant = "stars" | "hearts" | "numeric";
|
|
381
|
+
type RatingFieldProps = {
|
|
382
|
+
error?: string;
|
|
383
|
+
help?: string;
|
|
384
|
+
id: string;
|
|
385
|
+
label: string;
|
|
386
|
+
labelPosition?: LabelPosition;
|
|
387
|
+
max?: number;
|
|
388
|
+
mode?: FieldMode;
|
|
389
|
+
required?: boolean;
|
|
390
|
+
value: number;
|
|
391
|
+
variant?: RatingVariant;
|
|
392
|
+
onChange: (value: number) => void;
|
|
393
|
+
};
|
|
394
|
+
declare function RatingField({ error, help, id, label, labelPosition, max, mode, required, value, variant, onChange, }: RatingFieldProps): react.JSX.Element;
|
|
395
|
+
|
|
396
|
+
type SegmentedControlFieldProps = {
|
|
397
|
+
error?: string;
|
|
398
|
+
help?: string;
|
|
399
|
+
id: string;
|
|
400
|
+
label: string;
|
|
401
|
+
labelPosition?: LabelPosition;
|
|
402
|
+
mode?: FieldMode;
|
|
403
|
+
options: string[];
|
|
404
|
+
required?: boolean;
|
|
405
|
+
value: string;
|
|
406
|
+
onChange: (value: string) => void;
|
|
407
|
+
};
|
|
408
|
+
declare function SegmentedControlField({ error, help, id, label, labelPosition, mode, options, required, value, onChange, }: SegmentedControlFieldProps): react.JSX.Element;
|
|
409
|
+
|
|
410
|
+
type SliderRangeFieldProps = {
|
|
411
|
+
error?: string;
|
|
412
|
+
help?: string;
|
|
413
|
+
id: string;
|
|
414
|
+
label: string;
|
|
415
|
+
labelPosition?: LabelPosition;
|
|
416
|
+
max?: number;
|
|
417
|
+
min?: number;
|
|
418
|
+
mode?: FieldMode;
|
|
419
|
+
required?: boolean;
|
|
420
|
+
step?: number;
|
|
421
|
+
value: [number, number];
|
|
422
|
+
onChange: (value: [number, number]) => void;
|
|
423
|
+
};
|
|
424
|
+
declare function SliderRangeField({ error, help, id, label, labelPosition, max, min, mode, required, step, value, onChange, }: SliderRangeFieldProps): react.JSX.Element;
|
|
425
|
+
|
|
426
|
+
type PhoneCountry = {
|
|
427
|
+
code: string;
|
|
428
|
+
dialCode: string;
|
|
429
|
+
label: string;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Converts an ISO 3166-1 alpha-2 country code into its flag emoji using
|
|
433
|
+
* regional indicator symbols, so no image assets are required.
|
|
434
|
+
*/
|
|
435
|
+
declare function countryCodeToFlag(code: string): string;
|
|
436
|
+
declare const countries: PhoneCountry[];
|
|
437
|
+
|
|
438
|
+
type PhoneNumberFieldProps = {
|
|
439
|
+
countries?: PhoneCountry[];
|
|
440
|
+
countryCode: string;
|
|
441
|
+
error?: string;
|
|
442
|
+
help?: string;
|
|
443
|
+
id: string;
|
|
444
|
+
label: string;
|
|
445
|
+
labelPosition?: LabelPosition;
|
|
446
|
+
mode?: FieldMode;
|
|
447
|
+
placeholder?: string;
|
|
448
|
+
required?: boolean;
|
|
449
|
+
value: string;
|
|
450
|
+
onChange: (value: string) => void;
|
|
451
|
+
onCountryCodeChange: (countryCode: string) => void;
|
|
452
|
+
};
|
|
453
|
+
declare function PhoneNumberField({ countries, countryCode, error, help, id, label, labelPosition, mode, placeholder, required, value, onChange, onCountryCodeChange, }: PhoneNumberFieldProps): react.JSX.Element;
|
|
454
|
+
|
|
455
|
+
type TreeSelectNode = {
|
|
456
|
+
children?: TreeSelectNode[];
|
|
457
|
+
label: string;
|
|
458
|
+
value: string;
|
|
459
|
+
};
|
|
460
|
+
type TreeSelectFieldProps = {
|
|
461
|
+
error?: string;
|
|
462
|
+
help?: string;
|
|
463
|
+
id: string;
|
|
464
|
+
label: string;
|
|
465
|
+
labelPosition?: LabelPosition;
|
|
466
|
+
mode?: FieldMode;
|
|
467
|
+
nodes: TreeSelectNode[];
|
|
468
|
+
placeholder?: string;
|
|
469
|
+
required?: boolean;
|
|
470
|
+
value: string | null;
|
|
471
|
+
onChange: (value: string | null) => void;
|
|
472
|
+
};
|
|
473
|
+
declare function TreeSelectField({ error, help, id, label, labelPosition, mode, nodes, placeholder, required, value, onChange, }: TreeSelectFieldProps): react.JSX.Element;
|
|
474
|
+
|
|
475
|
+
type CascaderOption = {
|
|
476
|
+
children?: CascaderOption[];
|
|
477
|
+
label: string;
|
|
478
|
+
value: string;
|
|
479
|
+
};
|
|
480
|
+
type CascaderFieldProps = {
|
|
481
|
+
error?: string;
|
|
482
|
+
help?: string;
|
|
483
|
+
id: string;
|
|
484
|
+
label: string;
|
|
485
|
+
labelPosition?: LabelPosition;
|
|
486
|
+
mode?: FieldMode;
|
|
487
|
+
options: CascaderOption[];
|
|
488
|
+
placeholder?: string;
|
|
489
|
+
required?: boolean;
|
|
490
|
+
value: string[];
|
|
491
|
+
onChange: (value: string[]) => void;
|
|
492
|
+
};
|
|
493
|
+
declare function CascaderField({ error, help, id, label, labelPosition, mode, options, placeholder, required, value, onChange, }: CascaderFieldProps): react.JSX.Element;
|
|
494
|
+
|
|
310
495
|
type TooltipProps = {
|
|
311
496
|
content: string;
|
|
312
497
|
label?: string;
|
|
@@ -461,8 +646,15 @@ declare function useOpusTheme(): Theme;
|
|
|
461
646
|
type OpusThemeProviderProps = {
|
|
462
647
|
children: ReactNode;
|
|
463
648
|
theme: Theme;
|
|
649
|
+
/**
|
|
650
|
+
* When true (the default), the provider sets `data-theme` on the document
|
|
651
|
+
* root element so themed CSS variables also apply to portalled content
|
|
652
|
+
* (modals, drawers, toasts, dropdowns) that renders outside the React tree.
|
|
653
|
+
* Set to false if you want to manage the `data-theme` attribute yourself.
|
|
654
|
+
*/
|
|
655
|
+
applyToDocument?: boolean;
|
|
464
656
|
};
|
|
465
|
-
declare function OpusThemeProvider({ children, theme }: OpusThemeProviderProps): react.JSX.Element;
|
|
657
|
+
declare function OpusThemeProvider({ children, theme, applyToDocument, }: OpusThemeProviderProps): react.JSX.Element;
|
|
466
658
|
|
|
467
659
|
type CommandPaletteItem = {
|
|
468
660
|
description?: string;
|
|
@@ -1126,4 +1318,15 @@ type IconPickerProps = {
|
|
|
1126
1318
|
};
|
|
1127
1319
|
declare function IconPicker({ id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
|
|
1128
1320
|
|
|
1129
|
-
|
|
1321
|
+
declare const cartesianSpecializedVariants: ChartVariant[];
|
|
1322
|
+
|
|
1323
|
+
declare const worldMapRegionIds: string[];
|
|
1324
|
+
|
|
1325
|
+
type SankeyLinkDef = {
|
|
1326
|
+
source: string;
|
|
1327
|
+
target: string;
|
|
1328
|
+
value: number;
|
|
1329
|
+
};
|
|
1330
|
+
declare const demoSankeyLinks: SankeyLinkDef[];
|
|
1331
|
+
|
|
1332
|
+
export { type AccentColor, AccentColorPicker, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, Button, type ButtonVariant, Card, Carousel, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, type ChoiceOption, type ChoiceShape, ColorField, CommandPalette, type CommandPaletteItem, ContextMenuProvider, ContextMenuTarget, DEFAULT_TOAST_DURATION_MS, DataGrid, type DataGridColumn, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, Dialog, type DialogActionSet, type DialogResult, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, EmptyState, type EmptyStateIcon, type FieldMode, FieldShell, FileField, FilterSelectField, type FilterSelectGroup, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, HiddenField, IconPicker, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type LabelPosition, Lightbox, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MultiSelectField, NumberField, OpusThemeProvider, Panel, type PasswordRequirement, PasswordStrengthField, type PhoneCountry, PhoneNumberField, Popover, type PopoverPlacement, ProgressBar, ProgressRing, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, SidebarNav, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Sparkline, Speedometer, StatCard, type StatCardTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsVariant, TextAreaField, TextField, type Theme, ThemeToggleField, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, TransferListField, TreeSelectField, type TreeSelectNode, TrendBadge, type TrendBadgeDirection, accentColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, countries as phoneCountries, useAccentPreference, useContextMenu, useFieldShellAria, useOpusTheme, useToast, useTopNavigation, worldMapRegionIds };
|
package/dist/index.d.ts
CHANGED
|
@@ -307,6 +307,191 @@ type ThemeToggleFieldProps = {
|
|
|
307
307
|
};
|
|
308
308
|
declare function ThemeToggleField({ className, id, label, labelPosition, labelVisuallyHidden, mode, value, onChange, }: ThemeToggleFieldProps): react.JSX.Element;
|
|
309
309
|
|
|
310
|
+
type FilterSelectGroup = {
|
|
311
|
+
label: string;
|
|
312
|
+
options: string[];
|
|
313
|
+
};
|
|
314
|
+
type FilterSelectFieldProps = {
|
|
315
|
+
error?: string;
|
|
316
|
+
groups: FilterSelectGroup[];
|
|
317
|
+
help?: string;
|
|
318
|
+
id: string;
|
|
319
|
+
label: string;
|
|
320
|
+
labelPosition?: LabelPosition;
|
|
321
|
+
mode?: FieldMode;
|
|
322
|
+
placeholder?: string;
|
|
323
|
+
required?: boolean;
|
|
324
|
+
searchPlaceholder?: string;
|
|
325
|
+
value: string[];
|
|
326
|
+
onChange: (value: string[]) => void;
|
|
327
|
+
};
|
|
328
|
+
declare function FilterSelectField({ error, groups, help, id, label, labelPosition, mode, placeholder, required, searchPlaceholder, value, onChange, }: FilterSelectFieldProps): react.JSX.Element;
|
|
329
|
+
|
|
330
|
+
type MultiSelectFieldProps = {
|
|
331
|
+
error?: string;
|
|
332
|
+
help?: string;
|
|
333
|
+
id: string;
|
|
334
|
+
label: string;
|
|
335
|
+
labelPosition?: LabelPosition;
|
|
336
|
+
mode?: FieldMode;
|
|
337
|
+
options: string[];
|
|
338
|
+
placeholder?: string;
|
|
339
|
+
required?: boolean;
|
|
340
|
+
value: string[];
|
|
341
|
+
onChange: (value: string[]) => void;
|
|
342
|
+
};
|
|
343
|
+
declare function MultiSelectField({ error, help, id, label, labelPosition, mode, options, placeholder, required, value, onChange, }: MultiSelectFieldProps): react.JSX.Element;
|
|
344
|
+
|
|
345
|
+
type TransferListFieldProps = {
|
|
346
|
+
available: string[];
|
|
347
|
+
error?: string;
|
|
348
|
+
help?: string;
|
|
349
|
+
id: string;
|
|
350
|
+
label: string;
|
|
351
|
+
labelPosition?: LabelPosition;
|
|
352
|
+
mode?: FieldMode;
|
|
353
|
+
required?: boolean;
|
|
354
|
+
selected: string[];
|
|
355
|
+
onChange: (selected: string[]) => void;
|
|
356
|
+
};
|
|
357
|
+
declare function TransferListField({ available, error, help, id, label, labelPosition, mode, required, selected, onChange, }: TransferListFieldProps): react.JSX.Element;
|
|
358
|
+
|
|
359
|
+
type PasswordRequirement = {
|
|
360
|
+
id: string;
|
|
361
|
+
label: string;
|
|
362
|
+
test: (value: string) => boolean;
|
|
363
|
+
};
|
|
364
|
+
type PasswordStrengthFieldProps = {
|
|
365
|
+
error?: string;
|
|
366
|
+
help?: string;
|
|
367
|
+
id: string;
|
|
368
|
+
label: string;
|
|
369
|
+
labelPosition?: LabelPosition;
|
|
370
|
+
mode?: FieldMode;
|
|
371
|
+
placeholder?: string;
|
|
372
|
+
required?: boolean;
|
|
373
|
+
requirements?: PasswordRequirement[];
|
|
374
|
+
showRequirements?: boolean;
|
|
375
|
+
value: string;
|
|
376
|
+
onChange: (value: string) => void;
|
|
377
|
+
};
|
|
378
|
+
declare function PasswordStrengthField({ error, help, id, label, labelPosition, mode, placeholder, required, requirements, showRequirements, value, onChange, }: PasswordStrengthFieldProps): react.JSX.Element;
|
|
379
|
+
|
|
380
|
+
type RatingVariant = "stars" | "hearts" | "numeric";
|
|
381
|
+
type RatingFieldProps = {
|
|
382
|
+
error?: string;
|
|
383
|
+
help?: string;
|
|
384
|
+
id: string;
|
|
385
|
+
label: string;
|
|
386
|
+
labelPosition?: LabelPosition;
|
|
387
|
+
max?: number;
|
|
388
|
+
mode?: FieldMode;
|
|
389
|
+
required?: boolean;
|
|
390
|
+
value: number;
|
|
391
|
+
variant?: RatingVariant;
|
|
392
|
+
onChange: (value: number) => void;
|
|
393
|
+
};
|
|
394
|
+
declare function RatingField({ error, help, id, label, labelPosition, max, mode, required, value, variant, onChange, }: RatingFieldProps): react.JSX.Element;
|
|
395
|
+
|
|
396
|
+
type SegmentedControlFieldProps = {
|
|
397
|
+
error?: string;
|
|
398
|
+
help?: string;
|
|
399
|
+
id: string;
|
|
400
|
+
label: string;
|
|
401
|
+
labelPosition?: LabelPosition;
|
|
402
|
+
mode?: FieldMode;
|
|
403
|
+
options: string[];
|
|
404
|
+
required?: boolean;
|
|
405
|
+
value: string;
|
|
406
|
+
onChange: (value: string) => void;
|
|
407
|
+
};
|
|
408
|
+
declare function SegmentedControlField({ error, help, id, label, labelPosition, mode, options, required, value, onChange, }: SegmentedControlFieldProps): react.JSX.Element;
|
|
409
|
+
|
|
410
|
+
type SliderRangeFieldProps = {
|
|
411
|
+
error?: string;
|
|
412
|
+
help?: string;
|
|
413
|
+
id: string;
|
|
414
|
+
label: string;
|
|
415
|
+
labelPosition?: LabelPosition;
|
|
416
|
+
max?: number;
|
|
417
|
+
min?: number;
|
|
418
|
+
mode?: FieldMode;
|
|
419
|
+
required?: boolean;
|
|
420
|
+
step?: number;
|
|
421
|
+
value: [number, number];
|
|
422
|
+
onChange: (value: [number, number]) => void;
|
|
423
|
+
};
|
|
424
|
+
declare function SliderRangeField({ error, help, id, label, labelPosition, max, min, mode, required, step, value, onChange, }: SliderRangeFieldProps): react.JSX.Element;
|
|
425
|
+
|
|
426
|
+
type PhoneCountry = {
|
|
427
|
+
code: string;
|
|
428
|
+
dialCode: string;
|
|
429
|
+
label: string;
|
|
430
|
+
};
|
|
431
|
+
/**
|
|
432
|
+
* Converts an ISO 3166-1 alpha-2 country code into its flag emoji using
|
|
433
|
+
* regional indicator symbols, so no image assets are required.
|
|
434
|
+
*/
|
|
435
|
+
declare function countryCodeToFlag(code: string): string;
|
|
436
|
+
declare const countries: PhoneCountry[];
|
|
437
|
+
|
|
438
|
+
type PhoneNumberFieldProps = {
|
|
439
|
+
countries?: PhoneCountry[];
|
|
440
|
+
countryCode: string;
|
|
441
|
+
error?: string;
|
|
442
|
+
help?: string;
|
|
443
|
+
id: string;
|
|
444
|
+
label: string;
|
|
445
|
+
labelPosition?: LabelPosition;
|
|
446
|
+
mode?: FieldMode;
|
|
447
|
+
placeholder?: string;
|
|
448
|
+
required?: boolean;
|
|
449
|
+
value: string;
|
|
450
|
+
onChange: (value: string) => void;
|
|
451
|
+
onCountryCodeChange: (countryCode: string) => void;
|
|
452
|
+
};
|
|
453
|
+
declare function PhoneNumberField({ countries, countryCode, error, help, id, label, labelPosition, mode, placeholder, required, value, onChange, onCountryCodeChange, }: PhoneNumberFieldProps): react.JSX.Element;
|
|
454
|
+
|
|
455
|
+
type TreeSelectNode = {
|
|
456
|
+
children?: TreeSelectNode[];
|
|
457
|
+
label: string;
|
|
458
|
+
value: string;
|
|
459
|
+
};
|
|
460
|
+
type TreeSelectFieldProps = {
|
|
461
|
+
error?: string;
|
|
462
|
+
help?: string;
|
|
463
|
+
id: string;
|
|
464
|
+
label: string;
|
|
465
|
+
labelPosition?: LabelPosition;
|
|
466
|
+
mode?: FieldMode;
|
|
467
|
+
nodes: TreeSelectNode[];
|
|
468
|
+
placeholder?: string;
|
|
469
|
+
required?: boolean;
|
|
470
|
+
value: string | null;
|
|
471
|
+
onChange: (value: string | null) => void;
|
|
472
|
+
};
|
|
473
|
+
declare function TreeSelectField({ error, help, id, label, labelPosition, mode, nodes, placeholder, required, value, onChange, }: TreeSelectFieldProps): react.JSX.Element;
|
|
474
|
+
|
|
475
|
+
type CascaderOption = {
|
|
476
|
+
children?: CascaderOption[];
|
|
477
|
+
label: string;
|
|
478
|
+
value: string;
|
|
479
|
+
};
|
|
480
|
+
type CascaderFieldProps = {
|
|
481
|
+
error?: string;
|
|
482
|
+
help?: string;
|
|
483
|
+
id: string;
|
|
484
|
+
label: string;
|
|
485
|
+
labelPosition?: LabelPosition;
|
|
486
|
+
mode?: FieldMode;
|
|
487
|
+
options: CascaderOption[];
|
|
488
|
+
placeholder?: string;
|
|
489
|
+
required?: boolean;
|
|
490
|
+
value: string[];
|
|
491
|
+
onChange: (value: string[]) => void;
|
|
492
|
+
};
|
|
493
|
+
declare function CascaderField({ error, help, id, label, labelPosition, mode, options, placeholder, required, value, onChange, }: CascaderFieldProps): react.JSX.Element;
|
|
494
|
+
|
|
310
495
|
type TooltipProps = {
|
|
311
496
|
content: string;
|
|
312
497
|
label?: string;
|
|
@@ -461,8 +646,15 @@ declare function useOpusTheme(): Theme;
|
|
|
461
646
|
type OpusThemeProviderProps = {
|
|
462
647
|
children: ReactNode;
|
|
463
648
|
theme: Theme;
|
|
649
|
+
/**
|
|
650
|
+
* When true (the default), the provider sets `data-theme` on the document
|
|
651
|
+
* root element so themed CSS variables also apply to portalled content
|
|
652
|
+
* (modals, drawers, toasts, dropdowns) that renders outside the React tree.
|
|
653
|
+
* Set to false if you want to manage the `data-theme` attribute yourself.
|
|
654
|
+
*/
|
|
655
|
+
applyToDocument?: boolean;
|
|
464
656
|
};
|
|
465
|
-
declare function OpusThemeProvider({ children, theme }: OpusThemeProviderProps): react.JSX.Element;
|
|
657
|
+
declare function OpusThemeProvider({ children, theme, applyToDocument, }: OpusThemeProviderProps): react.JSX.Element;
|
|
466
658
|
|
|
467
659
|
type CommandPaletteItem = {
|
|
468
660
|
description?: string;
|
|
@@ -1126,4 +1318,15 @@ type IconPickerProps = {
|
|
|
1126
1318
|
};
|
|
1127
1319
|
declare function IconPicker({ id, label, labelPosition, mode, onChange, searchPlaceholder, value, }: IconPickerProps): react.JSX.Element;
|
|
1128
1320
|
|
|
1129
|
-
|
|
1321
|
+
declare const cartesianSpecializedVariants: ChartVariant[];
|
|
1322
|
+
|
|
1323
|
+
declare const worldMapRegionIds: string[];
|
|
1324
|
+
|
|
1325
|
+
type SankeyLinkDef = {
|
|
1326
|
+
source: string;
|
|
1327
|
+
target: string;
|
|
1328
|
+
value: number;
|
|
1329
|
+
};
|
|
1330
|
+
declare const demoSankeyLinks: SankeyLinkDef[];
|
|
1331
|
+
|
|
1332
|
+
export { type AccentColor, AccentColorPicker, Accordion, AccordionGroup, type AccordionGroupType, Alert, type AlertStatus, Button, type ButtonVariant, Card, Carousel, CascaderField, type CascaderOption, CatalogIcon, Chart, type ChartDatum, type ChartPalette, type ChartSeries, type ChartVariant, CheckboxField, ChipInput, ChipInputField, type ChipInputPreset, type ChipInputVariant, type ChoiceOption, type ChoiceShape, ColorField, CommandPalette, type CommandPaletteItem, ContextMenuProvider, ContextMenuTarget, DEFAULT_TOAST_DURATION_MS, DataGrid, type DataGridColumn, type DataGridRow, type DataGridRowHeaderColumn, DateField, type DateInputType, Dialog, type DialogActionSet, type DialogResult, Drawer, DrawerDefaultActions, type DrawerSide, DropdownMenu, DropdownMenuItem, type DropdownMenuItemData, type DropdownMenuPlacement, EmptyState, type EmptyStateIcon, type FieldMode, FieldShell, FileField, FilterSelectField, type FilterSelectGroup, type GalleryImage, Gauge, type GaugeFooterItem, type GaugeTrend, type GaugeVariant, HiddenField, IconPicker, ImageGallery, ImageThumbnail, type ImageThumbnailSize, type LabelPosition, Lightbox, MegaMenu, type MegaMenuConfig, type MegaMenuFeatured, type MegaMenuItem, type MegaMenuSection, MetricTile, Modal, ModalDefaultActions, type ModalSize, type ModelAsset, ModelGallery, ModelLightbox, ModelThumbnail, type ModelThumbnailSize, ModelViewer, MultiSelectField, NumberField, OpusThemeProvider, Panel, type PasswordRequirement, PasswordStrengthField, type PhoneCountry, PhoneNumberField, Popover, type PopoverPlacement, ProgressBar, ProgressRing, Radio, RadioGroup, RangeField, RatingField, type RatingVariant, Section, type SectionAlign, type SectionColumns, type SectionGap, type SectionJustify, type SectionLayoutPreset, type SectionSidebar, type SectionSidebarRatio, type SectionSpan, type SectionStackBelow, type SectionTemplate, type SectionWidth, SegmentedControlField, SelectField, ShowMore, type ShowToastOptions, Sidebar, SidebarGroup, SidebarHeader, SidebarLayout, SidebarLink, SidebarNav, type SidebarSide, Skeleton, type SkeletonAnimation, type SkeletonVariant, SliderRangeField, Sparkline, Speedometer, StatCard, type StatCardTrend, StatusIndicator, type StatusIndicatorState, type SurfaceDensity, type SurfaceTone, SwitchField, type TabItem, Table, type TableColumn, type TableDensity, type TableRow, Tabs, type TabsOrientation, type TabsVariant, TextAreaField, TextField, type Theme, ThemeToggleField, Toast, type ToastHorizontalPosition, ToastProvider, type ToastVerticalPosition, type ToastViewportPosition, Tooltip, TopNavigation, type TopNavigationBarMenu, type TopNavigationDropdownMenu, type TopNavigationMegaMenu, TopNavigationMenu, type TopNavigationMenuConfig, type TopNavigationSelectItem, TransferListField, TreeSelectField, type TreeSelectNode, TrendBadge, type TrendBadgeDirection, accentColors, cartesianSpecializedVariants, countryCodeToFlag, createAccentStyle, defaultMegaMenuFeatured, defaultMegaMenuMenus, defaultMegaMenuSections, defaultTopNavigationBarMenus, defaultTopNavigationMegaMenus, defaultTopNavigationMenus, demoSankeyLinks, fieldInputAriaProps, countries as phoneCountries, useAccentPreference, useContextMenu, useFieldShellAria, useOpusTheme, useToast, useTopNavigation, worldMapRegionIds };
|