@telesign/boreal-web-components 0.1.0-alpha.2 → 0.1.0-alpha.3
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 +13 -16
- package/components-build/bds-banner.js +1 -1
- package/components-build/bds-button.js +1 -1
- package/components-build/bds-checkbox.d.ts +11 -0
- package/components-build/bds-checkbox.js +1 -0
- package/components-build/bds-dialog.d.ts +11 -0
- package/components-build/bds-dialog.js +1 -0
- package/components-build/bds-flag.d.ts +11 -0
- package/components-build/bds-flag.js +1 -0
- package/components-build/bds-popover.d.ts +11 -0
- package/components-build/bds-popover.js +1 -0
- package/components-build/bds-spinner.d.ts +11 -0
- package/components-build/bds-spinner.js +1 -0
- package/components-build/bds-text-field.d.ts +11 -0
- package/components-build/bds-text-field.js +1 -0
- package/components-build/bds-tooltip.d.ts +11 -0
- package/components-build/bds-tooltip.js +1 -0
- package/components-build/bds-typography.js +1 -1
- package/components-build/index.js +1 -1
- package/components-build/p-B6R9EVXK.js +1 -0
- package/components-build/p-BSpJ_e9f.js +1 -0
- package/components-build/p-BYEAJCas.js +1 -0
- package/components-build/p-BhTPNsBb.js +1 -0
- package/components-build/p-CYojP4vI.js +1 -0
- package/components-build/p-CaHOghy5.js +1 -0
- package/components-build/p-D5omSME4.js +1 -0
- package/components-build/p-DCXSEEVH.js +1 -0
- package/components-build/p-vfAIdwy0.js +1 -0
- package/custom-elements.json +2180 -30
- package/dist/boreal-web-components/boreal-web-components.css +1 -1
- package/dist/boreal-web-components/boreal-web-components.esm.js +1 -1
- package/dist/boreal-web-components/boreal-web-components.js +1 -1
- package/dist/boreal-web-components/constants/countries.ts +2675 -0
- package/dist/boreal-web-components/constants/flagUrl.ts +2 -0
- package/dist/boreal-web-components/constants/flags/4x3/ad.svg +150 -0
- package/dist/boreal-web-components/constants/flags/4x3/ae.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/af.svg +81 -0
- package/dist/boreal-web-components/constants/flags/4x3/ag.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/ai.svg +29 -0
- package/dist/boreal-web-components/constants/flags/4x3/al.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/am.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/ao.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/aq.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/ar.svg +32 -0
- package/dist/boreal-web-components/constants/flags/4x3/arab.svg +109 -0
- package/dist/boreal-web-components/constants/flags/4x3/as.svg +72 -0
- package/dist/boreal-web-components/constants/flags/4x3/asean.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/at.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/au.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/aw.svg +186 -0
- package/dist/boreal-web-components/constants/flags/4x3/ax.svg +18 -0
- package/dist/boreal-web-components/constants/flags/4x3/az.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/ba.svg +12 -0
- package/dist/boreal-web-components/constants/flags/4x3/bb.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/bd.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/be.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/bf.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/bg.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/bh.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/bi.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/bj.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/bl.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/bm.svg +97 -0
- package/dist/boreal-web-components/constants/flags/4x3/bn.svg +36 -0
- package/dist/boreal-web-components/constants/flags/4x3/bo.svg +673 -0
- package/dist/boreal-web-components/constants/flags/4x3/bq.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/br.svg +45 -0
- package/dist/boreal-web-components/constants/flags/4x3/bs.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/bt.svg +89 -0
- package/dist/boreal-web-components/constants/flags/4x3/bv.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/bw.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/by.svg +18 -0
- package/dist/boreal-web-components/constants/flags/4x3/bz.svg +145 -0
- package/dist/boreal-web-components/constants/flags/4x3/ca.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/cc.svg +19 -0
- package/dist/boreal-web-components/constants/flags/4x3/cd.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/cefta.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/cf.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/cg.svg +12 -0
- package/dist/boreal-web-components/constants/flags/4x3/ch.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/ci.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/ck.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/cl.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/cm.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/cn.svg +11 -0
- package/dist/boreal-web-components/constants/flags/4x3/co.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/cp.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/cr.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/cu.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/cv.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/cw.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/cx.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/cy.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/cz.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/de.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/dg.svg +130 -0
- package/dist/boreal-web-components/constants/flags/4x3/dj.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/dk.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/dm.svg +152 -0
- package/dist/boreal-web-components/constants/flags/4x3/do.svg +121 -0
- package/dist/boreal-web-components/constants/flags/4x3/dz.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/eac.svg +48 -0
- package/dist/boreal-web-components/constants/flags/4x3/ec.svg +138 -0
- package/dist/boreal-web-components/constants/flags/4x3/ee.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/eg.svg +38 -0
- package/dist/boreal-web-components/constants/flags/4x3/eh.svg +16 -0
- package/dist/boreal-web-components/constants/flags/4x3/er.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/es-ct.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/es-ga.svg +187 -0
- package/dist/boreal-web-components/constants/flags/4x3/es-pv.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/es.svg +544 -0
- package/dist/boreal-web-components/constants/flags/4x3/et.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/eu.svg +28 -0
- package/dist/boreal-web-components/constants/flags/4x3/fi.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/fj.svg +120 -0
- package/dist/boreal-web-components/constants/flags/4x3/fk.svg +90 -0
- package/dist/boreal-web-components/constants/flags/4x3/fm.svg +11 -0
- package/dist/boreal-web-components/constants/flags/4x3/fo.svg +12 -0
- package/dist/boreal-web-components/constants/flags/4x3/fr.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/ga.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/gb-eng.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/gb-nir.svg +132 -0
- package/dist/boreal-web-components/constants/flags/4x3/gb-sct.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/gb-wls.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/gb.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/gd.svg +27 -0
- package/dist/boreal-web-components/constants/flags/4x3/ge.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/gf.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/gg.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/gh.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/gi.svg +32 -0
- package/dist/boreal-web-components/constants/flags/4x3/gl.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/gm.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/gn.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/gp.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/gq.svg +23 -0
- package/dist/boreal-web-components/constants/flags/4x3/gr.svg +16 -0
- package/dist/boreal-web-components/constants/flags/4x3/gs.svg +133 -0
- package/dist/boreal-web-components/constants/flags/4x3/gt.svg +204 -0
- package/dist/boreal-web-components/constants/flags/4x3/gu.svg +19 -0
- package/dist/boreal-web-components/constants/flags/4x3/gw.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/gy.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/hk.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/hm.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/hn.svg +18 -0
- package/dist/boreal-web-components/constants/flags/4x3/hr.svg +58 -0
- package/dist/boreal-web-components/constants/flags/4x3/ht.svg +116 -0
- package/dist/boreal-web-components/constants/flags/4x3/hu.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/ic.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/id.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/ie.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/il.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/im.svg +36 -0
- package/dist/boreal-web-components/constants/flags/4x3/in.svg +25 -0
- package/dist/boreal-web-components/constants/flags/4x3/io.svg +130 -0
- package/dist/boreal-web-components/constants/flags/4x3/iq.svg +10 -0
- package/dist/boreal-web-components/constants/flags/4x3/ir.svg +219 -0
- package/dist/boreal-web-components/constants/flags/4x3/is.svg +12 -0
- package/dist/boreal-web-components/constants/flags/4x3/it.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/je.svg +62 -0
- package/dist/boreal-web-components/constants/flags/4x3/jm.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/jo.svg +16 -0
- package/dist/boreal-web-components/constants/flags/4x3/jp.svg +11 -0
- package/dist/boreal-web-components/constants/flags/4x3/ke.svg +23 -0
- package/dist/boreal-web-components/constants/flags/4x3/kg.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/kh.svg +61 -0
- package/dist/boreal-web-components/constants/flags/4x3/ki.svg +36 -0
- package/dist/boreal-web-components/constants/flags/4x3/km.svg +16 -0
- package/dist/boreal-web-components/constants/flags/4x3/kn.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/kp.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/kr.svg +24 -0
- package/dist/boreal-web-components/constants/flags/4x3/kw.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/ky.svg +103 -0
- package/dist/boreal-web-components/constants/flags/4x3/kz.svg +36 -0
- package/dist/boreal-web-components/constants/flags/4x3/la.svg +12 -0
- package/dist/boreal-web-components/constants/flags/4x3/lb.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/lc.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/li.svg +43 -0
- package/dist/boreal-web-components/constants/flags/4x3/lk.svg +22 -0
- package/dist/boreal-web-components/constants/flags/4x3/lr.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/ls.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/lt.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/lu.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/lv.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/ly.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/ma.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/mc.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/md.svg +70 -0
- package/dist/boreal-web-components/constants/flags/4x3/me.svg +116 -0
- package/dist/boreal-web-components/constants/flags/4x3/mf.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/mg.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/mh.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/mk.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/ml.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/mm.svg +12 -0
- package/dist/boreal-web-components/constants/flags/4x3/mn.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/mo.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/mp.svg +86 -0
- package/dist/boreal-web-components/constants/flags/4x3/mq.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/mr.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/ms.svg +29 -0
- package/dist/boreal-web-components/constants/flags/4x3/mt.svg +58 -0
- package/dist/boreal-web-components/constants/flags/4x3/mu.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/mv.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/mw.svg +10 -0
- package/dist/boreal-web-components/constants/flags/4x3/mx.svg +382 -0
- package/dist/boreal-web-components/constants/flags/4x3/my.svg +26 -0
- package/dist/boreal-web-components/constants/flags/4x3/mz.svg +21 -0
- package/dist/boreal-web-components/constants/flags/4x3/na.svg +16 -0
- package/dist/boreal-web-components/constants/flags/4x3/nc.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/ne.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/nf.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/ng.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/ni.svg +129 -0
- package/dist/boreal-web-components/constants/flags/4x3/nl.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/no.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/np.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/nr.svg +12 -0
- package/dist/boreal-web-components/constants/flags/4x3/nu.svg +10 -0
- package/dist/boreal-web-components/constants/flags/4x3/nz.svg +36 -0
- package/dist/boreal-web-components/constants/flags/4x3/om.svg +115 -0
- package/dist/boreal-web-components/constants/flags/4x3/pa.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/pc.svg +33 -0
- package/dist/boreal-web-components/constants/flags/4x3/pe.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/pf.svg +19 -0
- package/dist/boreal-web-components/constants/flags/4x3/pg.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/ph.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/pk.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/pl.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/pm.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/pn.svg +53 -0
- package/dist/boreal-web-components/constants/flags/4x3/pr.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/ps.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/pt.svg +57 -0
- package/dist/boreal-web-components/constants/flags/4x3/pw.svg +11 -0
- package/dist/boreal-web-components/constants/flags/4x3/py.svg +157 -0
- package/dist/boreal-web-components/constants/flags/4x3/qa.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/re.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/ro.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/rs.svg +292 -0
- package/dist/boreal-web-components/constants/flags/4x3/ru.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/rw.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/sa.svg +25 -0
- package/dist/boreal-web-components/constants/flags/4x3/sb.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/sc.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/sd.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/se.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/sg.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/sh-ac.svg +689 -0
- package/dist/boreal-web-components/constants/flags/4x3/sh-hl.svg +164 -0
- package/dist/boreal-web-components/constants/flags/4x3/sh-ta.svg +76 -0
- package/dist/boreal-web-components/constants/flags/4x3/sh.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/si.svg +18 -0
- package/dist/boreal-web-components/constants/flags/4x3/sj.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/sk.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/sl.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/sm.svg +75 -0
- package/dist/boreal-web-components/constants/flags/4x3/sn.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/so.svg +11 -0
- package/dist/boreal-web-components/constants/flags/4x3/sr.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/ss.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/st.svg +16 -0
- package/dist/boreal-web-components/constants/flags/4x3/sv.svg +593 -0
- package/dist/boreal-web-components/constants/flags/4x3/sx.svg +56 -0
- package/dist/boreal-web-components/constants/flags/4x3/sy.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/sz.svg +34 -0
- package/dist/boreal-web-components/constants/flags/4x3/tc.svg +50 -0
- package/dist/boreal-web-components/constants/flags/4x3/td.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/tf.svg +15 -0
- package/dist/boreal-web-components/constants/flags/4x3/tg.svg +14 -0
- package/dist/boreal-web-components/constants/flags/4x3/th.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/tj.svg +22 -0
- package/dist/boreal-web-components/constants/flags/4x3/tk.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/tl.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/tm.svg +204 -0
- package/dist/boreal-web-components/constants/flags/4x3/tn.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/to.svg +10 -0
- package/dist/boreal-web-components/constants/flags/4x3/tr.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/tt.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/tv.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/tw.svg +34 -0
- package/dist/boreal-web-components/constants/flags/4x3/tz.svg +13 -0
- package/dist/boreal-web-components/constants/flags/4x3/ua.svg +6 -0
- package/dist/boreal-web-components/constants/flags/4x3/ug.svg +30 -0
- package/dist/boreal-web-components/constants/flags/4x3/um.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/un.svg +16 -0
- package/dist/boreal-web-components/constants/flags/4x3/us.svg +9 -0
- package/dist/boreal-web-components/constants/flags/4x3/uy.svg +28 -0
- package/dist/boreal-web-components/constants/flags/4x3/uz.svg +30 -0
- package/dist/boreal-web-components/constants/flags/4x3/va.svg +190 -0
- package/dist/boreal-web-components/constants/flags/4x3/vc.svg +8 -0
- package/dist/boreal-web-components/constants/flags/4x3/ve.svg +26 -0
- package/dist/boreal-web-components/constants/flags/4x3/vg.svg +59 -0
- package/dist/boreal-web-components/constants/flags/4x3/vi.svg +28 -0
- package/dist/boreal-web-components/constants/flags/4x3/vn.svg +11 -0
- package/dist/boreal-web-components/constants/flags/4x3/vu.svg +21 -0
- package/dist/boreal-web-components/constants/flags/4x3/wf.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/ws.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/xk.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/xx.svg +4 -0
- package/dist/boreal-web-components/constants/flags/4x3/ye.svg +7 -0
- package/dist/boreal-web-components/constants/flags/4x3/yt.svg +5 -0
- package/dist/boreal-web-components/constants/flags/4x3/za.svg +17 -0
- package/dist/boreal-web-components/constants/flags/4x3/zm.svg +27 -0
- package/dist/boreal-web-components/constants/flags/4x3/zw.svg +21 -0
- package/dist/boreal-web-components/constants/global.ts +13 -0
- package/dist/boreal-web-components/constants/index.ts +3 -0
- package/dist/boreal-web-components/p-07a933df.entry.js +1 -0
- package/dist/boreal-web-components/p-1bb2b33f.entry.js +1 -0
- package/dist/boreal-web-components/p-1fccea3f.system.entry.js +1 -0
- package/dist/boreal-web-components/p-20af732b.system.entry.js +1 -0
- package/dist/boreal-web-components/p-22378341.system.entry.js +1 -0
- package/dist/boreal-web-components/p-39c26e58.entry.js +1 -0
- package/dist/boreal-web-components/p-5fa53a80.system.entry.js +1 -0
- package/dist/boreal-web-components/p-6210d025.entry.js +1 -0
- package/dist/boreal-web-components/p-6de2b44c.system.entry.js +1 -0
- package/dist/boreal-web-components/p-8c57e06a.entry.js +1 -0
- package/dist/boreal-web-components/p-91b9e94e.entry.js +1 -0
- package/dist/boreal-web-components/p-9e06910d.system.entry.js +1 -0
- package/dist/boreal-web-components/p-BHYhd1yq.system.js +1 -0
- package/dist/boreal-web-components/p-BIJhHSAt.system.js +1 -0
- package/dist/boreal-web-components/p-BKRyWlfr.js +1 -0
- package/dist/boreal-web-components/p-BhTPNsBb.js +1 -0
- package/dist/boreal-web-components/p-BkDQsB4R.system.js +1 -0
- package/dist/boreal-web-components/p-BuxZeJbu.system.js +1 -0
- package/dist/boreal-web-components/p-C8mRvnTA.js +1 -0
- package/dist/boreal-web-components/p-CaHOghy5.js +1 -0
- package/dist/boreal-web-components/p-CdKFZYxk.system.js +1 -0
- package/dist/boreal-web-components/p-D4EFsvs1.js +2 -0
- package/dist/boreal-web-components/p-DCXSEEVH.js +1 -0
- package/dist/boreal-web-components/p-DoDeP7KR.system.js +1 -0
- package/dist/boreal-web-components/p-Dtp4O0H2.system.js +1 -0
- package/dist/boreal-web-components/p-Dy7QKP9e.js +1 -0
- package/dist/boreal-web-components/p-GjKJvOVG.system.js +2 -0
- package/dist/boreal-web-components/p-ac64d4a5.system.entry.js +1 -0
- package/dist/boreal-web-components/p-b61fe06c.entry.js +1 -0
- package/dist/boreal-web-components/p-cdc87437.entry.js +1 -0
- package/dist/boreal-web-components/p-d8ec8557.system.entry.js +1 -0
- package/dist/boreal-web-components/p-ea889727.entry.js +1 -0
- package/dist/boreal-web-components/p-efe57901.system.entry.js +1 -0
- package/dist/boreal-web-components/p-fa327346.system.entry.js +1 -0
- package/dist/boreal-web-components/p-fc2cb919.entry.js +1 -0
- package/dist/boreal-web-components/p-sDZFaZMN.system.js +1 -0
- package/dist/boreal-web-components/p-vfAIdwy0.js +1 -0
- package/dist/cjs/anchored.mixin-CnIwkaUi.js +2056 -0
- package/dist/cjs/{attributes-D0WPida0.js → attributes-wIHueigW.js} +1 -0
- package/dist/cjs/bds-banner.cjs.entry.js +19 -39
- package/dist/cjs/bds-button.cjs.entry.js +17 -48
- package/dist/cjs/bds-checkbox.cjs.entry.js +146 -0
- package/dist/cjs/bds-dialog.cjs.entry.js +372 -0
- package/dist/cjs/bds-flag.cjs.entry.js +2952 -0
- package/dist/cjs/bds-popover.cjs.entry.js +271 -0
- package/dist/cjs/bds-spinner.cjs.entry.js +54 -0
- package/dist/cjs/bds-text-field.cjs.entry.js +373 -0
- package/dist/cjs/bds-tooltip.cjs.entry.js +152 -0
- package/dist/cjs/bds-typography.cjs.entry.js +5 -5
- package/dist/cjs/boreal-web-components.cjs.js +2 -2
- package/dist/cjs/enum-DLblRCkQ.js +21 -0
- package/dist/cjs/floating.mixin-Bje4320w.js +195 -0
- package/dist/cjs/{index-C9JKWXwa.js → index-BcSjvXJk.js} +44 -3
- package/dist/cjs/internals-X77qKxsK.js +115 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/{states-C03fKOhs.js → states-iIYiazaM.js} +5 -1
- package/dist/cjs/validateProps-BNOBk1Xs.js +20 -0
- package/dist/collection/collection-manifest.json +7 -0
- package/dist/collection/components/actions/bds-button/bds-button.css +42 -26
- package/dist/collection/components/actions/bds-button/bds-button.js +2 -3
- package/dist/collection/components/feedback/bds-banner/bds-banner.css +19 -0
- package/dist/collection/components/feedback/bds-banner/bds-banner.js +54 -55
- package/dist/collection/components/feedback/bds-spinner/bds-spinner.css +106 -0
- package/dist/collection/components/feedback/bds-spinner/bds-spinner.js +128 -0
- package/dist/collection/components/feedback/bds-spinner/types/ISpinner.js +1 -0
- package/dist/collection/components/feedback/bds-spinner/types/enum.js +5 -0
- package/dist/collection/components/feedback/bds-spinner/types/types.js +1 -0
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox.css +90 -0
- package/dist/collection/components/forms/bds-checkbox/bds-checkbox.js +366 -0
- package/dist/collection/components/forms/bds-checkbox/types/ICheckbox.js +1 -0
- package/dist/collection/components/forms/bds-flag/bds-flag.css +57 -0
- package/dist/collection/components/forms/bds-flag/bds-flag.js +454 -0
- package/dist/collection/components/forms/bds-flag/constants/countries.js +2673 -0
- package/dist/collection/components/forms/bds-flag/constants/countries.ts +2675 -0
- package/dist/collection/components/forms/bds-flag/constants/flagUrl.js +2 -0
- package/dist/collection/components/forms/bds-flag/constants/flagUrl.ts +2 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ad.svg +150 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ae.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/af.svg +81 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ag.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ai.svg +29 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/al.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/am.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ao.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/aq.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ar.svg +32 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/arab.svg +109 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/as.svg +72 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/asean.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/at.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/au.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/aw.svg +186 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ax.svg +18 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/az.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ba.svg +12 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bb.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bd.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/be.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bf.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bg.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bh.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bi.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bj.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bl.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bm.svg +97 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bn.svg +36 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bo.svg +673 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bq.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/br.svg +45 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bs.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bt.svg +89 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bv.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bw.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/by.svg +18 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/bz.svg +145 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ca.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cc.svg +19 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cd.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cefta.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cf.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cg.svg +12 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ch.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ci.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ck.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cl.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cm.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cn.svg +11 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/co.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cp.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cr.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cu.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cv.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cw.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cx.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cy.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/cz.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/de.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/dg.svg +130 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/dj.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/dk.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/dm.svg +152 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/do.svg +121 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/dz.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/eac.svg +48 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ec.svg +138 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ee.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/eg.svg +38 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/eh.svg +16 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/er.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/es-ct.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/es-ga.svg +187 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/es-pv.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/es.svg +544 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/et.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/eu.svg +28 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/fi.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/fj.svg +120 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/fk.svg +90 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/fm.svg +11 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/fo.svg +12 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/fr.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ga.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gb-eng.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gb-nir.svg +132 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gb-sct.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gb-wls.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gb.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gd.svg +27 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ge.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gf.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gg.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gh.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gi.svg +32 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gl.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gm.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gn.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gp.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gq.svg +23 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gr.svg +16 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gs.svg +133 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gt.svg +204 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gu.svg +19 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gw.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/gy.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/hk.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/hm.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/hn.svg +18 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/hr.svg +58 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ht.svg +116 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/hu.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ic.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/id.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ie.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/il.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/im.svg +36 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/in.svg +25 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/io.svg +130 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/iq.svg +10 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ir.svg +219 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/is.svg +12 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/it.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/je.svg +62 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/jm.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/jo.svg +16 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/jp.svg +11 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ke.svg +23 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/kg.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/kh.svg +61 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ki.svg +36 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/km.svg +16 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/kn.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/kp.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/kr.svg +24 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/kw.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ky.svg +103 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/kz.svg +36 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/la.svg +12 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/lb.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/lc.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/li.svg +43 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/lk.svg +22 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/lr.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ls.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/lt.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/lu.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/lv.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ly.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ma.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mc.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/md.svg +70 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/me.svg +116 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mf.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mg.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mh.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mk.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ml.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mm.svg +12 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mn.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mo.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mp.svg +86 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mq.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mr.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ms.svg +29 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mt.svg +58 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mu.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mv.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mw.svg +10 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mx.svg +382 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/my.svg +26 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/mz.svg +21 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/na.svg +16 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/nc.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ne.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/nf.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ng.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ni.svg +129 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/nl.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/no.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/np.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/nr.svg +12 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/nu.svg +10 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/nz.svg +36 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/om.svg +115 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pa.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pc.svg +33 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pe.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pf.svg +19 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pg.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ph.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pk.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pl.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pm.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pn.svg +53 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pr.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ps.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pt.svg +57 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/pw.svg +11 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/py.svg +157 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/qa.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/re.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ro.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/rs.svg +292 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ru.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/rw.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sa.svg +25 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sb.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sc.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sd.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/se.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sg.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sh-ac.svg +689 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sh-hl.svg +164 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sh-ta.svg +76 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sh.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/si.svg +18 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sj.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sk.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sl.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sm.svg +75 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sn.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/so.svg +11 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sr.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ss.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/st.svg +16 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sv.svg +593 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sx.svg +56 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sy.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/sz.svg +34 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tc.svg +50 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/td.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tf.svg +15 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tg.svg +14 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/th.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tj.svg +22 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tk.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tl.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tm.svg +204 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tn.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/to.svg +10 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tr.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tt.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tv.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tw.svg +34 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/tz.svg +13 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ua.svg +6 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ug.svg +30 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/um.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/un.svg +16 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/us.svg +9 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/uy.svg +28 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/uz.svg +30 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/va.svg +190 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/vc.svg +8 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ve.svg +26 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/vg.svg +59 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/vi.svg +28 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/vn.svg +11 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/vu.svg +21 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/wf.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ws.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/xk.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/xx.svg +4 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/ye.svg +7 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/yt.svg +5 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/za.svg +17 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/zm.svg +27 -0
- package/dist/collection/components/forms/bds-flag/constants/flags/4x3/zw.svg +21 -0
- package/dist/collection/components/forms/bds-flag/constants/global.js +11 -0
- package/dist/collection/components/forms/bds-flag/constants/global.ts +13 -0
- package/dist/collection/components/forms/bds-flag/constants/index.js +3 -0
- package/dist/collection/components/forms/bds-flag/constants/index.ts +3 -0
- package/dist/collection/components/forms/bds-flag/helpers/getNameFlag.js +53 -0
- package/dist/collection/components/forms/bds-flag/interfaces/ICountry.js +1 -0
- package/dist/collection/components/forms/bds-flag/interfaces/IFlag.js +1 -0
- package/dist/collection/components/forms/bds-flag/types/Flag.js +19 -0
- package/dist/collection/components/forms/bds-flag/types/Shape.js +10 -0
- package/dist/collection/components/forms/bds-flag/types/index.js +2 -0
- package/dist/collection/components/forms/bds-text-field/bds-text-field.css +178 -0
- package/dist/collection/components/forms/bds-text-field/bds-text-field.js +1098 -0
- package/dist/collection/components/forms/bds-text-field/types/ITextField.js +1 -0
- package/dist/collection/components/forms/bds-text-field/types/enum.js +14 -0
- package/dist/collection/components/forms/bds-text-field/types/index.js +3 -0
- package/dist/collection/components/forms/bds-text-field/types/types.js +1 -0
- package/dist/collection/components/overlays/bds-dialog/bds-dialog.css +105 -0
- package/dist/collection/components/overlays/bds-dialog/bds-dialog.js +667 -0
- package/dist/collection/components/overlays/bds-dialog/types/IDialog.js +1 -0
- package/dist/collection/components/overlays/bds-dialog/types/enum.js +26 -0
- package/dist/collection/components/overlays/bds-dialog/types/index.js +3 -0
- package/dist/collection/components/overlays/bds-dialog/types/types.js +1 -0
- package/dist/collection/components/overlays/bds-popover/bds-popover.css +116 -0
- package/dist/collection/components/overlays/bds-popover/bds-popover.js +457 -0
- package/dist/collection/components/overlays/bds-popover/types/IPopover.js +1 -0
- package/dist/collection/components/overlays/bds-popover/types/width.js +1 -0
- package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.css +86 -0
- package/dist/collection/components/overlays/bds-tooltip/bds-tooltip.js +270 -0
- package/dist/collection/components/overlays/bds-tooltip/types/ITooltip.js +1 -0
- package/dist/collection/components/titles-text/bds-typography/bds-typography.css +17 -0
- package/dist/collection/components/titles-text/bds-typography/bds-typography.js +1 -1
- package/dist/collection/mixins/anchored.mixin.js +31 -4
- package/dist/collection/mixins/backdrop.mixin.js +162 -0
- package/dist/collection/mixins/floating.mixin.js +10 -0
- package/dist/collection/mixins/form-associated.mixin.js +14 -80
- package/dist/collection/mixins/index.js +1 -0
- package/dist/collection/services/floating/index.js +3 -0
- package/dist/collection/services/floating/interfaces/Anchored.js +1 -0
- package/dist/collection/services/floating/interfaces/Backdrop.js +1 -0
- package/dist/collection/services/floating/interfaces/index.js +5 -0
- package/dist/collection/services/floating/types/index.js +1 -0
- package/dist/collection/services/index.js +2 -0
- package/dist/collection/services/logger/index.js +1 -0
- package/dist/collection/types/position.js +6 -0
- package/dist/collection/utils/__test__/backdrop-mock.js +19 -0
- package/dist/collection/utils/__test__/constants.js +2 -0
- package/dist/collection/utils/__test__/fixtures.js +6 -0
- package/dist/collection/utils/__test__/helpers.js +16 -0
- package/dist/collection/utils/__test__/index.js +6 -0
- package/dist/collection/utils/__test__/mocks/ElementInternals.js +64 -0
- package/dist/collection/utils/__test__/mocks/index.js +1 -0
- package/dist/collection/utils/__test__/popover-mock.js +19 -0
- package/dist/collection/utils/constants/common/Aria.js +10 -0
- package/dist/collection/utils/constants/common/Events.js +1 -0
- package/dist/collection/utils/constants/common/Icons.js +16 -0
- package/dist/collection/utils/constants/common/index.js +4 -0
- package/dist/collection/utils/constants/index.js +1 -0
- package/dist/collection/utils/form/internals.js +2 -2
- package/dist/collection/utils/helpers/common/BaseAttributes.js +7 -14
- package/dist/collection/utils/helpers/common/index.js +1 -0
- package/dist/collection/utils/helpers/index.js +2 -0
- package/dist/collection/utils/index.js +3 -0
- package/dist/esm/anchored.mixin-Y3MkGc2X.js +2054 -0
- package/dist/esm/{attributes-Ba6iHqJA.js → attributes-CaHOghy5.js} +1 -1
- package/dist/esm/bds-banner.entry.js +19 -39
- package/dist/esm/bds-button.entry.js +7 -38
- package/dist/esm/bds-checkbox.entry.js +144 -0
- package/dist/esm/bds-dialog.entry.js +370 -0
- package/dist/esm/bds-flag.entry.js +2950 -0
- package/dist/esm/bds-popover.entry.js +269 -0
- package/dist/esm/bds-spinner.entry.js +52 -0
- package/dist/esm/bds-text-field.entry.js +371 -0
- package/dist/esm/bds-tooltip.entry.js +150 -0
- package/dist/esm/bds-typography.entry.js +5 -5
- package/dist/esm/boreal-web-components.js +3 -3
- package/dist/esm/enum-C8mRvnTA.js +17 -0
- package/dist/esm/floating.mixin-DCXSEEVH.js +193 -0
- package/dist/esm/{index-DQvmq159.js → index-D4EFsvs1.js} +42 -4
- package/dist/esm/internals-Dy7QKP9e.js +111 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/{states-DQR-jjOl.js → states-BhTPNsBb.js} +5 -1
- package/dist/esm/validateProps-vfAIdwy0.js +18 -0
- package/dist/esm-es5/anchored.mixin-Y3MkGc2X.js +1 -0
- package/dist/esm-es5/{attributes-Ba6iHqJA.js → attributes-CaHOghy5.js} +1 -1
- package/dist/esm-es5/bds-banner.entry.js +1 -1
- package/dist/esm-es5/bds-button.entry.js +1 -1
- package/dist/esm-es5/bds-checkbox.entry.js +1 -0
- package/dist/esm-es5/bds-dialog.entry.js +1 -0
- package/dist/esm-es5/bds-flag.entry.js +1 -0
- package/dist/esm-es5/bds-popover.entry.js +1 -0
- package/dist/esm-es5/bds-spinner.entry.js +1 -0
- package/dist/esm-es5/bds-text-field.entry.js +1 -0
- package/dist/esm-es5/bds-tooltip.entry.js +1 -0
- package/dist/esm-es5/bds-typography.entry.js +1 -1
- package/dist/esm-es5/boreal-web-components.js +1 -1
- package/dist/esm-es5/enum-C8mRvnTA.js +1 -0
- package/dist/esm-es5/floating.mixin-DCXSEEVH.js +1 -0
- package/dist/esm-es5/index-D4EFsvs1.js +2 -0
- package/dist/esm-es5/internals-Dy7QKP9e.js +1 -0
- package/dist/esm-es5/loader.js +1 -1
- package/dist/esm-es5/states-BhTPNsBb.js +1 -0
- package/dist/esm-es5/validateProps-vfAIdwy0.js +1 -0
- package/dist/types/components/actions/bds-button/bds-button.d.ts +1 -1
- package/dist/types/components/feedback/bds-banner/bds-banner.d.ts +15 -15
- package/dist/types/components/feedback/bds-banner/types/IBanner.d.ts +3 -4
- package/dist/types/components/feedback/bds-spinner/bds-spinner.d.ts +32 -0
- package/dist/types/components/feedback/bds-spinner/types/ISpinner.d.ts +6 -0
- package/dist/types/components/feedback/bds-spinner/types/enum.d.ts +6 -0
- package/dist/types/components/feedback/bds-spinner/types/types.d.ts +3 -0
- package/dist/types/components/forms/bds-checkbox/bds-checkbox.d.ts +65 -0
- package/dist/types/components/forms/bds-checkbox/types/ICheckbox.d.ts +36 -0
- package/dist/types/components/forms/bds-flag/bds-flag.d.ts +135 -0
- package/dist/types/components/forms/bds-flag/constants/countries.d.ts +3 -0
- package/dist/types/components/forms/bds-flag/constants/flagUrl.d.ts +2 -0
- package/dist/types/components/forms/bds-flag/constants/global.d.ts +3 -0
- package/dist/types/components/forms/bds-flag/constants/index.d.ts +4 -0
- package/dist/types/components/forms/bds-flag/helpers/getNameFlag.d.ts +17 -0
- package/dist/types/components/forms/bds-flag/interfaces/ICountry.d.ts +16 -0
- package/dist/types/components/forms/bds-flag/interfaces/IFlag.d.ts +14 -0
- package/dist/types/components/forms/bds-flag/types/Flag.d.ts +22 -0
- package/dist/types/components/forms/bds-flag/types/Shape.d.ts +12 -0
- package/dist/types/components/forms/bds-flag/types/index.d.ts +3 -0
- package/dist/types/components/forms/bds-text-field/bds-text-field.d.ts +196 -0
- package/dist/types/components/forms/bds-text-field/types/ITextField.d.ts +31 -0
- package/dist/types/components/forms/bds-text-field/types/enum.d.ts +15 -0
- package/dist/types/components/forms/bds-text-field/types/index.d.ts +4 -0
- package/dist/types/components/forms/bds-text-field/types/types.d.ts +5 -0
- package/dist/types/components/overlays/bds-dialog/bds-dialog.d.ts +147 -0
- package/dist/types/components/overlays/bds-dialog/types/IDialog.d.ts +17 -0
- package/dist/types/components/overlays/bds-dialog/types/enum.d.ts +29 -0
- package/dist/types/components/overlays/bds-dialog/types/index.d.ts +4 -0
- package/dist/types/components/overlays/bds-dialog/types/types.d.ts +6 -0
- package/dist/types/components/overlays/bds-popover/bds-popover.d.ts +208 -0
- package/dist/types/components/overlays/bds-popover/types/IPopover.d.ts +11 -0
- package/dist/types/components/overlays/bds-popover/types/width.d.ts +2 -0
- package/dist/types/components/overlays/bds-tooltip/bds-tooltip.d.ts +142 -0
- package/dist/types/components/overlays/bds-tooltip/types/ITooltip.d.ts +11 -0
- package/dist/types/components.d.ts +1594 -45
- package/dist/types/mixins/anchored.mixin.d.ts +9 -4
- package/dist/types/mixins/backdrop.mixin.d.ts +103 -0
- package/dist/types/mixins/floating.mixin.d.ts +11 -3
- package/dist/types/mixins/form-associated.mixin.d.ts +20 -16
- package/dist/types/mixins/index.d.ts +1 -0
- package/dist/types/services/floating/index.d.ts +4 -0
- package/dist/types/services/floating/interfaces/Anchored.d.ts +7 -0
- package/dist/types/services/floating/interfaces/Backdrop.d.ts +5 -0
- package/dist/types/services/floating/interfaces/Floating.d.ts +2 -2
- package/dist/types/services/floating/interfaces/Props.d.ts +4 -3
- package/dist/types/services/floating/interfaces/index.d.ts +6 -0
- package/dist/types/services/floating/types/index.d.ts +2 -0
- package/dist/types/services/index.d.ts +3 -0
- package/dist/types/services/logger/index.d.ts +2 -0
- package/dist/types/types/form.d.ts +0 -1
- package/dist/types/types/position.d.ts +7 -0
- package/dist/types/utils/__test__/backdrop-mock.d.ts +5 -0
- package/dist/types/utils/__test__/constants.d.ts +2 -0
- package/dist/types/utils/__test__/fixtures.d.ts +6 -0
- package/dist/types/utils/__test__/helpers.d.ts +14 -0
- package/dist/types/utils/__test__/index.d.ts +7 -0
- package/dist/types/utils/__test__/mocks/ElementInternals.d.ts +46 -0
- package/dist/types/utils/__test__/mocks/index.d.ts +2 -0
- package/dist/types/utils/__test__/popover-mock.d.ts +2 -0
- package/dist/types/utils/constants/common/Aria.d.ts +14 -0
- package/dist/types/utils/constants/common/Icons.d.ts +14 -0
- package/dist/types/utils/constants/common/index.d.ts +5 -0
- package/dist/types/utils/constants/index.d.ts +2 -0
- package/dist/types/utils/helpers/common/BaseAttributes.d.ts +6 -13
- package/dist/types/utils/helpers/common/index.d.ts +2 -0
- package/dist/types/utils/helpers/index.d.ts +3 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +1 -1
- package/components-build/p-Ba6iHqJA.js +0 -1
- package/components-build/p-DQR-jjOl.js +0 -1
- package/dist/boreal-web-components/p-08bd6bed.system.entry.js +0 -1
- package/dist/boreal-web-components/p-1575fe61.system.entry.js +0 -1
- package/dist/boreal-web-components/p-657c12a3.system.entry.js +0 -1
- package/dist/boreal-web-components/p-66bb3c44.entry.js +0 -1
- package/dist/boreal-web-components/p-742f39ef.entry.js +0 -1
- package/dist/boreal-web-components/p-BG1kmb4c.system.js +0 -1
- package/dist/boreal-web-components/p-B_tL_RWF.system.js +0 -2
- package/dist/boreal-web-components/p-Ba6iHqJA.js +0 -1
- package/dist/boreal-web-components/p-DIvR9Mw7.system.js +0 -1
- package/dist/boreal-web-components/p-DKPZ4_C0.system.js +0 -1
- package/dist/boreal-web-components/p-DQR-jjOl.js +0 -1
- package/dist/boreal-web-components/p-DQvmq159.js +0 -2
- package/dist/boreal-web-components/p-e4a075ba.entry.js +0 -1
- package/dist/esm-es5/index-DQvmq159.js +0 -2
- package/dist/esm-es5/states-DQR-jjOl.js +0 -1
|
@@ -7,38 +7,57 @@
|
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IBanner } from "./components/feedback/bds-banner/types/IBanner";
|
|
9
9
|
import { IButton } from "./components/actions/bds-button/types/IButton";
|
|
10
|
+
import { CheckboxChangeDetail } from "./components/forms/bds-checkbox/types/ICheckbox";
|
|
11
|
+
import { IDialog } from "./components/overlays/bds-dialog/types";
|
|
12
|
+
import { IFlag } from "./components/forms/bds-flag/interfaces/IFlag";
|
|
13
|
+
import { IPopover } from "./components/overlays/bds-popover/types/IPopover";
|
|
14
|
+
import { ISpinner } from "./components/feedback/bds-spinner/types/ISpinner";
|
|
15
|
+
import { IFormValidator } from "./types/index";
|
|
16
|
+
import { TextFieldType, TextFieldValidationTiming, TextFieldVariant } from "./components/forms/bds-text-field/types";
|
|
17
|
+
import { Event } from "./stencil-public-runtime";
|
|
18
|
+
import { ITooltip } from "./components/overlays/bds-tooltip/types/ITooltip";
|
|
19
|
+
import { FloatingTooltipProp } from "./services/index";
|
|
10
20
|
import { ITypography } from "./components/titles-text/bds-typography/types/ITypography";
|
|
11
21
|
export { IBanner } from "./components/feedback/bds-banner/types/IBanner";
|
|
12
22
|
export { IButton } from "./components/actions/bds-button/types/IButton";
|
|
23
|
+
export { CheckboxChangeDetail } from "./components/forms/bds-checkbox/types/ICheckbox";
|
|
24
|
+
export { IDialog } from "./components/overlays/bds-dialog/types";
|
|
25
|
+
export { IFlag } from "./components/forms/bds-flag/interfaces/IFlag";
|
|
26
|
+
export { IPopover } from "./components/overlays/bds-popover/types/IPopover";
|
|
27
|
+
export { ISpinner } from "./components/feedback/bds-spinner/types/ISpinner";
|
|
28
|
+
export { IFormValidator } from "./types/index";
|
|
29
|
+
export { TextFieldType, TextFieldValidationTiming, TextFieldVariant } from "./components/forms/bds-text-field/types";
|
|
30
|
+
export { Event } from "./stencil-public-runtime";
|
|
31
|
+
export { ITooltip } from "./components/overlays/bds-tooltip/types/ITooltip";
|
|
32
|
+
export { FloatingTooltipProp } from "./services/index";
|
|
13
33
|
export { ITypography } from "./components/titles-text/bds-typography/types/ITypography";
|
|
14
34
|
export namespace Components {
|
|
15
35
|
/**
|
|
16
36
|
* Banner component used to display important messages with different status variants.
|
|
17
37
|
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
18
38
|
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
19
|
-
* @attr {boolean}
|
|
20
|
-
* @attr {string} idComponent - Unique identifier for the banner element.
|
|
21
|
-
* @property {string} idComponent - Unique identifier for the banner element.
|
|
39
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
22
40
|
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
23
|
-
* @property {boolean}
|
|
24
|
-
* @
|
|
25
|
-
* @
|
|
41
|
+
* @property {boolean} closable - Shows a close button that allows users to close the banner. Defaults to false.
|
|
42
|
+
* @property {boolean} closeButtonLabel - Aria label for the close button when visible.
|
|
43
|
+
* @fires bdsClose - Emitted when the banner is closed via the close button or `closeBanner` method.
|
|
44
|
+
* @method closeBanner - Programmatic method to close the banner and emit the `bdsClose` event.
|
|
26
45
|
*/
|
|
27
46
|
interface BdsBanner {
|
|
28
47
|
/**
|
|
29
|
-
*
|
|
48
|
+
* Shows a close button that allows users to close the banner.
|
|
49
|
+
* @default false
|
|
30
50
|
*/
|
|
31
|
-
"
|
|
51
|
+
"closable": boolean;
|
|
32
52
|
/**
|
|
33
|
-
*
|
|
34
|
-
* @default false
|
|
53
|
+
* Programmatic method to close the banner and emit the `bdsClose` event
|
|
35
54
|
*/
|
|
36
|
-
"
|
|
55
|
+
"closeBanner": () => Promise<void>;
|
|
37
56
|
/**
|
|
38
|
-
*
|
|
39
|
-
* @default
|
|
57
|
+
* The aria label for the close button.
|
|
58
|
+
* @default ""
|
|
40
59
|
*/
|
|
41
|
-
"
|
|
60
|
+
"closeButtonLabel": IBanner['closeButtonLabel'];
|
|
42
61
|
/**
|
|
43
62
|
* Visual style variant: 'info', 'success', 'warning', or 'danger'.
|
|
44
63
|
* @default "info"
|
|
@@ -124,6 +143,507 @@ export namespace Components {
|
|
|
124
143
|
*/
|
|
125
144
|
"variant": IButton['variant'];
|
|
126
145
|
}
|
|
146
|
+
/**
|
|
147
|
+
* Checkbox component for boolean selection with three visual states.
|
|
148
|
+
* @summary A checkbox form control with default, selected, and indeterminate states.
|
|
149
|
+
* @property {boolean} checked - Whether the checkbox is selected. Defaults to `false`.
|
|
150
|
+
* @property {boolean} indeterminate - Whether the checkbox shows an indeterminate ("mixed") visual state. Defaults to `false`.
|
|
151
|
+
* @property {boolean} error - Shows error styling on the checkbox. Defaults to `false`.
|
|
152
|
+
* @property {string} value - Value submitted with the form data when checked. Defaults to `"on"`.
|
|
153
|
+
* @property {string} label - Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
154
|
+
* @fires valueChange - Emitted when the checked state changes (for 2-way binding / v-model).
|
|
155
|
+
* @fires bdsChange - Emitted when the user toggles the checkbox. Payload: `{ checked: boolean, value: string }`.
|
|
156
|
+
*/
|
|
157
|
+
interface BdsCheckbox {
|
|
158
|
+
/**
|
|
159
|
+
* Whether the checkbox is selected.
|
|
160
|
+
* @default false
|
|
161
|
+
*/
|
|
162
|
+
"checked": boolean;
|
|
163
|
+
/**
|
|
164
|
+
* Disables the control.
|
|
165
|
+
* @default false
|
|
166
|
+
*/
|
|
167
|
+
"disabled": boolean;
|
|
168
|
+
/**
|
|
169
|
+
* Shows error styling on the checkbox.
|
|
170
|
+
* @default false
|
|
171
|
+
*/
|
|
172
|
+
"error": boolean;
|
|
173
|
+
/**
|
|
174
|
+
* Whether the checkbox shows an indeterminate ("mixed") visual state.
|
|
175
|
+
* @default false
|
|
176
|
+
*/
|
|
177
|
+
"indeterminate": boolean;
|
|
178
|
+
/**
|
|
179
|
+
* Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
180
|
+
* @default ''
|
|
181
|
+
*/
|
|
182
|
+
"label": string;
|
|
183
|
+
/**
|
|
184
|
+
* Name of the form control, submitted as a key in the form data.
|
|
185
|
+
*/
|
|
186
|
+
"name": string;
|
|
187
|
+
/**
|
|
188
|
+
* Marks the control as required for form submission.
|
|
189
|
+
* @default false
|
|
190
|
+
*/
|
|
191
|
+
"required": boolean;
|
|
192
|
+
/**
|
|
193
|
+
* Value submitted with the form data when checked.
|
|
194
|
+
* @default 'on'
|
|
195
|
+
*/
|
|
196
|
+
"value": string;
|
|
197
|
+
}
|
|
198
|
+
/**
|
|
199
|
+
* Modal dialog component for displaying content in an overlay.
|
|
200
|
+
* @summary Modal overlay for alerts, forms, and confirmations with customizable layout and behavior.
|
|
201
|
+
* @attr {boolean} active - Controls dialog visibility.
|
|
202
|
+
* @attr {boolean} prevent-close - Disables closing the dialog.
|
|
203
|
+
* @attr {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
204
|
+
* @attr {string} content-padding - Content padding: 'default' or 'none'.
|
|
205
|
+
* @attr {boolean} backdrop-close - Close on backdrop click.
|
|
206
|
+
* @attr {boolean} escape-close - Close on Escape key.
|
|
207
|
+
* @attr {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
208
|
+
* @attr {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
209
|
+
* @attr {string} title-dialog - Dialog title text.
|
|
210
|
+
* @attr {boolean} maximizable - Show maximize button.
|
|
211
|
+
* @attr {boolean} closable - Show close button.
|
|
212
|
+
* @attr {string} width - Custom width for the dialog.
|
|
213
|
+
* @attr {string} height - Custom height for the dialog.
|
|
214
|
+
* @property {boolean} active - Controls whether the dialog is open.
|
|
215
|
+
* @property {boolean} preventClose - Disables closing the dialog.
|
|
216
|
+
* @property {string} height - Custom height for the dialog.
|
|
217
|
+
* @property {string} width - Custom width for the dialog.
|
|
218
|
+
* @property {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
219
|
+
* @property {string} contentPadding - Content padding: 'default' or 'none'.
|
|
220
|
+
* @property {boolean} backdropClose - Close dialog when clicking the backdrop.
|
|
221
|
+
* @property {boolean} escapeClose - Close dialog when pressing Escape.
|
|
222
|
+
* @property {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
223
|
+
* @property {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
224
|
+
* @property {string} titleDialog - Title text displayed in the header.
|
|
225
|
+
* @property {boolean} maximizable - Show maximize button.
|
|
226
|
+
* @property {boolean} closable - Hide the close button in the header.
|
|
227
|
+
* @fires bdsOpen - Emitted when the dialog opens.
|
|
228
|
+
* @fires bdsClose - Emitted when the dialog closes.
|
|
229
|
+
* @fires bdsMaximize - Emitted when the maximize button is clicked.
|
|
230
|
+
* @cssprop --bds-dialog-width - Custom width for the dialog.
|
|
231
|
+
* @cssprop --bds-dialog-height - Custom height for the dialog.
|
|
232
|
+
*/
|
|
233
|
+
interface BdsDialog {
|
|
234
|
+
/**
|
|
235
|
+
* Controls whether the dialog is open.
|
|
236
|
+
* @default false
|
|
237
|
+
*/
|
|
238
|
+
"active": IDialog['active'];
|
|
239
|
+
/**
|
|
240
|
+
* Close dialog when clicking the backdrop.
|
|
241
|
+
* @default false
|
|
242
|
+
*/
|
|
243
|
+
"backdropClose": IDialog['backdropClose'];
|
|
244
|
+
/**
|
|
245
|
+
* Hide the close button in the header.
|
|
246
|
+
* @default false
|
|
247
|
+
*/
|
|
248
|
+
"closable": IDialog['closable'];
|
|
249
|
+
/**
|
|
250
|
+
* Closes the dialog programmatically. This method triggers the close functionality to hide the dialog.
|
|
251
|
+
*/
|
|
252
|
+
"close": () => Promise<void>;
|
|
253
|
+
/**
|
|
254
|
+
* Content padding: 'default' or 'none'.
|
|
255
|
+
* @default DIALOG_CONTENT_PADDING.DEFAULT
|
|
256
|
+
*/
|
|
257
|
+
"contentPadding": IDialog['contentPadding'];
|
|
258
|
+
/**
|
|
259
|
+
* Close dialog when pressing Escape.
|
|
260
|
+
* @default false
|
|
261
|
+
*/
|
|
262
|
+
"escapeClose": IDialog['escapeClose'];
|
|
263
|
+
/**
|
|
264
|
+
* Dialog custom height
|
|
265
|
+
* @default ''
|
|
266
|
+
*/
|
|
267
|
+
"height": IDialog['height'];
|
|
268
|
+
/**
|
|
269
|
+
* Layout type: 'default', 'headerless', or 'footerless'.
|
|
270
|
+
* @default DIALOG_LAYOUT.DEFAULT
|
|
271
|
+
*/
|
|
272
|
+
"layout": IDialog['layout'];
|
|
273
|
+
/**
|
|
274
|
+
* Show maximize button to toggle full-screen.
|
|
275
|
+
* @default false
|
|
276
|
+
*/
|
|
277
|
+
"maximizable": IDialog['maximizable'];
|
|
278
|
+
/**
|
|
279
|
+
* Opens the dialog programmatically. This method triggers the show functionality to display the dialog.
|
|
280
|
+
*/
|
|
281
|
+
"open": () => Promise<void>;
|
|
282
|
+
/**
|
|
283
|
+
* Controls whether the dialog is closable.
|
|
284
|
+
* @default false
|
|
285
|
+
*/
|
|
286
|
+
"preventClose": IDialog['preventClose'];
|
|
287
|
+
/**
|
|
288
|
+
* Dialog size: 'small', 'medium', 'large', or 'full'.
|
|
289
|
+
* @default DIALOG_SIZES.MEDIUM
|
|
290
|
+
*/
|
|
291
|
+
"size": IDialog['size'];
|
|
292
|
+
/**
|
|
293
|
+
* Title text displayed in the header.
|
|
294
|
+
* @default ''
|
|
295
|
+
*/
|
|
296
|
+
"titleDialog": IDialog['titleDialog'];
|
|
297
|
+
/**
|
|
298
|
+
* Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
299
|
+
* @default DIALOG_VARIANT.DEFAULT
|
|
300
|
+
*/
|
|
301
|
+
"variant": IDialog['variant'];
|
|
302
|
+
/**
|
|
303
|
+
* Dialog custom width
|
|
304
|
+
* @default ''
|
|
305
|
+
*/
|
|
306
|
+
"width": IDialog['width'];
|
|
307
|
+
}
|
|
308
|
+
/**
|
|
309
|
+
* Flag component used to display a country flag together with its corresponding label.
|
|
310
|
+
* @summary Renders a flag icon based on a country identifier and optionally displays
|
|
311
|
+
* the country name, short name, or call sign. Supports custom flag sources, different
|
|
312
|
+
* shapes, and flag alignment on either side of the label.
|
|
313
|
+
* @attr {boolean} label - When true, displays a textual label next to the flag.
|
|
314
|
+
* @attr {boolean} short-name - When true, displays the abbreviated country name (ISO2/ISO3) instead of the full name.
|
|
315
|
+
* @attr {boolean} call-sign - When true, displays the country calling code next to the label.
|
|
316
|
+
* @attr {string} country - Country value used to resolve the flag and label.
|
|
317
|
+
* @attr {AlignFlag} align-flag - Controls whether the flag is rendered on the left or right side.
|
|
318
|
+
* @attr {FlagIdentifier} identifier - Defines which country field is used to resolve the value.
|
|
319
|
+
* @attr {Shape} shape - Visual shape of the rendered flag.
|
|
320
|
+
* @attr {ICountry[]} custom-flags - Additional custom flag definitions that can override defaults.
|
|
321
|
+
* @property {boolean} label - Whether the country label should be displayed. Defaults to false.
|
|
322
|
+
* @property {boolean} shortName - Whether to display the abbreviated country name. Defaults to false.
|
|
323
|
+
* @property {boolean} callSign - Whether to display the country calling code. Defaults to false.
|
|
324
|
+
* @property {string} country - Country value used to find the matching flag entry. Defaults to ''.
|
|
325
|
+
* @property {AlignFlag} alignFlag - Position of the flag relative to the label. Defaults to `AlignFlag.LEFT`.
|
|
326
|
+
* @property {FlagIdentifier} identifier - Identifier used to resolve the country value. Defaults to `FlagIdentifier.CODE`.
|
|
327
|
+
* @property {Shape} shape - Shape variant used for the flag. Defaults to `Shape.RECTANGLE`.
|
|
328
|
+
* @property {ICountry[]} customFlags - List of custom flag definitions merged with the default catalog. Defaults to `[]`.
|
|
329
|
+
*/
|
|
330
|
+
interface BdsFlag {
|
|
331
|
+
/**
|
|
332
|
+
* Determines whether the flag is displayed on the left or right side of the label.
|
|
333
|
+
* @default AlignFlag.LEFT
|
|
334
|
+
*/
|
|
335
|
+
"alignFlag": IFlag['alignFlag'];
|
|
336
|
+
/**
|
|
337
|
+
* Whether the country calling code should be displayed next to the label.
|
|
338
|
+
* @default false
|
|
339
|
+
*/
|
|
340
|
+
"callSign": IFlag['callSign'];
|
|
341
|
+
/**
|
|
342
|
+
* Country value used to resolve the matching flag entry. The expected value depends on the configured `identifier`.
|
|
343
|
+
* @default ''
|
|
344
|
+
*/
|
|
345
|
+
"country": IFlag['country'];
|
|
346
|
+
/**
|
|
347
|
+
* Custom flag definitions merged with the default country catalog. Custom entries can override default asset sources when the same `iso2` is used.
|
|
348
|
+
* @default []
|
|
349
|
+
*/
|
|
350
|
+
"customFlags": IFlag['customFlags'];
|
|
351
|
+
/**
|
|
352
|
+
* Defines which field should be used to identify the country. For example, code, iso2, or iso3.
|
|
353
|
+
* @default FlagIdentifier.CODE
|
|
354
|
+
*/
|
|
355
|
+
"identifier": IFlag['identifier'];
|
|
356
|
+
/**
|
|
357
|
+
* Whether the country name label should be displayed next to the flag.
|
|
358
|
+
* @default false
|
|
359
|
+
*/
|
|
360
|
+
"label": IFlag['label'];
|
|
361
|
+
/**
|
|
362
|
+
* Visual shape used to render the flag.
|
|
363
|
+
* @default Shape.RECTANGLE
|
|
364
|
+
*/
|
|
365
|
+
"shape": IFlag['shape'];
|
|
366
|
+
/**
|
|
367
|
+
* Whether the abbreviated country name (ISO2/ISO3) should be displayed instead of the full name.
|
|
368
|
+
* @default false
|
|
369
|
+
*/
|
|
370
|
+
"shortName": IFlag['shortName'];
|
|
371
|
+
}
|
|
372
|
+
/**
|
|
373
|
+
* @attr {boolean} disabled - When true, prevents the popover from being shown.
|
|
374
|
+
* @attr {number | 'full' | 'auto'} width - Controls the width of the popover content.
|
|
375
|
+
* @attr {boolean} header - When true, displays the popover header.
|
|
376
|
+
* @attr {boolean} footer - When true, displays the popover footer.
|
|
377
|
+
* @attr {boolean} closable - When true, displays the close button in the header.
|
|
378
|
+
* @attr {IPopoverFloatingOptions} floatingOptions - Configuration object for floating behavior.
|
|
379
|
+
* @csspart popover-content - The main popover container element.
|
|
380
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
381
|
+
* @csspart popover-trigger - The trigger element for the popover.
|
|
382
|
+
* @cssprop data-placement - Reflects the resolved placement on the popover element.
|
|
383
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option.
|
|
384
|
+
*/
|
|
385
|
+
interface BdsPopover {
|
|
386
|
+
/**
|
|
387
|
+
* If true, displays a close button inside the header. Requires `header` to be true.
|
|
388
|
+
* @default false
|
|
389
|
+
*/
|
|
390
|
+
"closable"?: boolean;
|
|
391
|
+
/**
|
|
392
|
+
* If true, disables the popover.
|
|
393
|
+
* @default false
|
|
394
|
+
*/
|
|
395
|
+
"disabled"?: IPopover['disabled'];
|
|
396
|
+
/**
|
|
397
|
+
* Override default options for the floating mixin. This can be overridden by passing a different object to the `floatingOptions` prop.
|
|
398
|
+
* @default {}
|
|
399
|
+
*/
|
|
400
|
+
"floatingOptions": IPopover['floatingOptions'];
|
|
401
|
+
/**
|
|
402
|
+
* If true, displays the footer section with helper and button slots.
|
|
403
|
+
* @default false
|
|
404
|
+
*/
|
|
405
|
+
"footer"?: boolean;
|
|
406
|
+
/**
|
|
407
|
+
* If true, displays the header section with icon and title slots.
|
|
408
|
+
* @default false
|
|
409
|
+
*/
|
|
410
|
+
"header"?: boolean;
|
|
411
|
+
/**
|
|
412
|
+
* Width of the popover content. - number: width in pixels (e.g. 320 → "320px") - 'full': 100% of the trigger/parent width - 'auto': fits the content
|
|
413
|
+
* @default 320
|
|
414
|
+
*/
|
|
415
|
+
"width"?: IPopover['width'];
|
|
416
|
+
}
|
|
417
|
+
/**
|
|
418
|
+
* Spinner component used to indicate a loading or processing state.
|
|
419
|
+
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
420
|
+
* @attr {"small"|"medium"|"large"} size - Size of the spinner. Defaults to "small".
|
|
421
|
+
* @attr {string} label - Accessible label announced by screen readers. Defaults to "Loading".
|
|
422
|
+
* @property {"small"|"medium"|"large"} size - Controls the visual size of the spinner.
|
|
423
|
+
* @property {string} label - Text used as the accessible label for screen readers.
|
|
424
|
+
*/
|
|
425
|
+
interface BdsSpinner {
|
|
426
|
+
/**
|
|
427
|
+
* Accessible label announced by screen readers to describe the loading state.
|
|
428
|
+
* @default "Loading"
|
|
429
|
+
*/
|
|
430
|
+
"label": ISpinner['label'];
|
|
431
|
+
/**
|
|
432
|
+
* Controls the visual size of the spinner.
|
|
433
|
+
* @default "small"
|
|
434
|
+
*/
|
|
435
|
+
"size": ISpinner['size'];
|
|
436
|
+
}
|
|
437
|
+
/**
|
|
438
|
+
* Text field component for user input with validation and form integration.
|
|
439
|
+
* @summary Single-line text input with label, validation, password toggle, and clear action.
|
|
440
|
+
* @attr {string} name - The name submitted with the form.
|
|
441
|
+
* @attr {string} value - The current value of the input.
|
|
442
|
+
* @attr {boolean} disabled - Disables the input.
|
|
443
|
+
* @attr {boolean} required - Marks the input as required.
|
|
444
|
+
* @attr {boolean} error - Applies the error visual state.
|
|
445
|
+
* @attr {"text"|"password"} type - Input type.
|
|
446
|
+
* @attr {"outline"|"plain"} variant - Visual style of the container.
|
|
447
|
+
* @attr {boolean} readonly - Makes the input read-only. The value is still submitted with the form.
|
|
448
|
+
* @property {string} label - Label text rendered above the input.
|
|
449
|
+
* @property {string} sublabel - Sublabel rendered inside the input container, before the text area.
|
|
450
|
+
* @property {string} placeholder - Native placeholder forwarded to the inner `<input>`.
|
|
451
|
+
* @property {string} helperText - Assistive text shown below the input when there is no error.
|
|
452
|
+
* @property {string} errorMessage - Error message shown below the input when `error` is `true`. Replaces `helperText`.
|
|
453
|
+
* @property {string} info - Tooltip content attached to the label.
|
|
454
|
+
* @property {string} icon - Icon font class rendered beside the sublabel inside the container (e.g. `bds-icon-settings`).
|
|
455
|
+
* @property {boolean} clearable - Shows a clear button when the input has a value.
|
|
456
|
+
* @property {boolean} clearOnHover - Shows a clear button that is hidden at rest and revealed on hover.
|
|
457
|
+
* @property {boolean} readOnly - Makes the input readonly. The value is still submitted with the form.
|
|
458
|
+
* @property {string} autocomplete - Native `autocomplete` attribute forwarded to the inner `<input>`.
|
|
459
|
+
* @property {string} pattern - Native `pattern` attribute forwarded to the inner `<input>`.
|
|
460
|
+
* @property {number} minLength - Minimum character count. `0` means no minimum.
|
|
461
|
+
* @property {number} maxLength - Maximum character count. `0` means no maximum.
|
|
462
|
+
* @property {boolean} counter - Enables the character counter in the footer. Requires `charCount`.
|
|
463
|
+
* @property {number} charCount - Maximum character count shown in the footer counter (e.g. `120` → `"45/120"`). Requires `counter`.
|
|
464
|
+
* @property {IFormValidator[]} customValidators - Additional validators merged with the built-in ones.
|
|
465
|
+
* @property {"blur"|"input"|"submit"|"change"} validationTiming - When built-in validation runs.
|
|
466
|
+
* @property {string} pattern - Regex the value must match to pass `patternMismatch` validation. Also forwarded as the native `pattern` attribute to the inner `<input>`. Empty string disables pattern validation.
|
|
467
|
+
* @property {string} customWidth - Sets a custom width via the `--bds-text-field-width` CSS custom property.
|
|
468
|
+
* @fires valueChange - Emitted on every value change; used for framework 2-way binding.
|
|
469
|
+
* @fires bdsInput - Emitted on every keystroke with `{ value, event }`.
|
|
470
|
+
* @fires bdsChange - Emitted when focus leaves after the value changed, with `{ value, event }`.
|
|
471
|
+
* @fires bdsFocus - Emitted when the input gains focus, with `{ event }`.
|
|
472
|
+
* @fires bdsBlur - Emitted when the input loses focus, with `{ event }`.
|
|
473
|
+
* @fires bdsClear - Emitted when the user activates the clear button.
|
|
474
|
+
* @fires bdsValidationChange - Emitted after each validation run with `{ valid, validity, value, touched, dirty }`.
|
|
475
|
+
* @cssprop --bds-text-field-width - Sets a custom width for the component.
|
|
476
|
+
*/
|
|
477
|
+
interface BdsTextField {
|
|
478
|
+
/**
|
|
479
|
+
* Native `autocomplete` attribute forwarded to the inner `<input>`.
|
|
480
|
+
* @default 'off'
|
|
481
|
+
*/
|
|
482
|
+
"autocomplete": string;
|
|
483
|
+
/**
|
|
484
|
+
* Maximum character count shown in the footer counter (e.g. `120` → `"45/120"`). Requires `counter`.
|
|
485
|
+
* @default 0
|
|
486
|
+
*/
|
|
487
|
+
"charCount": number;
|
|
488
|
+
/**
|
|
489
|
+
* Returns `true` if the element's value passes all constraints; `false` otherwise. Also fires an `invalid` event if constraints are violated.
|
|
490
|
+
*/
|
|
491
|
+
"checkValidity": () => Promise<boolean>;
|
|
492
|
+
/**
|
|
493
|
+
* Shows a clear button that is hidden at rest and revealed when the user hovers over the field.
|
|
494
|
+
* @default false
|
|
495
|
+
*/
|
|
496
|
+
"clearOnHover": boolean;
|
|
497
|
+
/**
|
|
498
|
+
* Shows a clear button when the input has a value.
|
|
499
|
+
* @default false
|
|
500
|
+
*/
|
|
501
|
+
"clearable": boolean;
|
|
502
|
+
/**
|
|
503
|
+
* Enables the character counter in the footer. Requires `charCount` to be set.
|
|
504
|
+
* @default false
|
|
505
|
+
*/
|
|
506
|
+
"counter": boolean;
|
|
507
|
+
/**
|
|
508
|
+
* Additional validators merged with the built-in ones.
|
|
509
|
+
* @default []
|
|
510
|
+
*/
|
|
511
|
+
"customValidators": IFormValidator[];
|
|
512
|
+
/**
|
|
513
|
+
* Sets a custom width via the `--bds-text-field-width` CSS custom property.
|
|
514
|
+
* @default ''
|
|
515
|
+
*/
|
|
516
|
+
"customWidth": string;
|
|
517
|
+
/**
|
|
518
|
+
* Disables the input. Also toggled by `formDisabledCallback` via the mixin.
|
|
519
|
+
* @default false
|
|
520
|
+
*/
|
|
521
|
+
"disabled": boolean;
|
|
522
|
+
/**
|
|
523
|
+
* When `true`, applies the error visual state.
|
|
524
|
+
* @default false
|
|
525
|
+
*/
|
|
526
|
+
"error": boolean;
|
|
527
|
+
/**
|
|
528
|
+
* Message shown below the input when `error` is `true`. Replaces `helperText`.
|
|
529
|
+
* @default ''
|
|
530
|
+
*/
|
|
531
|
+
"errorMessage": string;
|
|
532
|
+
/**
|
|
533
|
+
* Helper text shown below the input when there is no error.
|
|
534
|
+
* @default ''
|
|
535
|
+
*/
|
|
536
|
+
"helperText": string;
|
|
537
|
+
/**
|
|
538
|
+
* Icon font class rendered beside the sublabel inside the container (e.g. `bds-icon-settings`).
|
|
539
|
+
* @default ''
|
|
540
|
+
*/
|
|
541
|
+
"icon": string;
|
|
542
|
+
/**
|
|
543
|
+
* Tooltip content attached to the label. Rendered via `bds-typography` `tooltipText` prop.
|
|
544
|
+
* @default ''
|
|
545
|
+
*/
|
|
546
|
+
"info": string;
|
|
547
|
+
/**
|
|
548
|
+
* Label text rendered above the input.
|
|
549
|
+
* @default ''
|
|
550
|
+
*/
|
|
551
|
+
"label": string;
|
|
552
|
+
/**
|
|
553
|
+
* Maximum character count. `0` means no maximum.
|
|
554
|
+
* @default 0
|
|
555
|
+
*/
|
|
556
|
+
"maxLength": number;
|
|
557
|
+
/**
|
|
558
|
+
* Minimum character count. `0` means no minimum.
|
|
559
|
+
* @default 0
|
|
560
|
+
*/
|
|
561
|
+
"minLength": number;
|
|
562
|
+
/**
|
|
563
|
+
* The name submitted with the form.
|
|
564
|
+
* @default ''
|
|
565
|
+
*/
|
|
566
|
+
"name": string;
|
|
567
|
+
/**
|
|
568
|
+
* Regex the value must match to pass `patternMismatch` validation. Also forwarded as the native `pattern` attribute to the inner `<input>`. Empty string disables pattern validation.
|
|
569
|
+
* @default ''
|
|
570
|
+
*/
|
|
571
|
+
"pattern": string;
|
|
572
|
+
/**
|
|
573
|
+
* Native `placeholder` attribute forwarded to the inner `<input>`.
|
|
574
|
+
* @default ''
|
|
575
|
+
*/
|
|
576
|
+
"placeholder": string;
|
|
577
|
+
/**
|
|
578
|
+
* Makes the input read-only. The value is still submitted with the form.
|
|
579
|
+
* @default false
|
|
580
|
+
*/
|
|
581
|
+
"readOnly": boolean;
|
|
582
|
+
/**
|
|
583
|
+
* Returns `true` if the element's value passes all constraints; `false` otherwise. Shows the browser's native validation UI when constraints are violated.
|
|
584
|
+
*/
|
|
585
|
+
"reportValidity": () => Promise<boolean>;
|
|
586
|
+
/**
|
|
587
|
+
* Marks the input as required for form validation.
|
|
588
|
+
* @default false
|
|
589
|
+
*/
|
|
590
|
+
"required": boolean;
|
|
591
|
+
/**
|
|
592
|
+
* Sublabel rendered inside the input container, before the text area.
|
|
593
|
+
* @default ''
|
|
594
|
+
*/
|
|
595
|
+
"sublabel": string;
|
|
596
|
+
/**
|
|
597
|
+
* The input type. Use `'password'` to enable the visibility toggle.
|
|
598
|
+
* @default TEXT_FIELD_TYPES.TEXT
|
|
599
|
+
*/
|
|
600
|
+
"type": TextFieldType;
|
|
601
|
+
/**
|
|
602
|
+
* Controls when built-in validation runs: `'blur'` | `'input'` | `'submit'` | `'change'`.
|
|
603
|
+
* @default TEXT_FIELD_VALIDATION_TIMING.BLUR
|
|
604
|
+
*/
|
|
605
|
+
"validationTiming": TextFieldValidationTiming;
|
|
606
|
+
/**
|
|
607
|
+
* The current value of the input.
|
|
608
|
+
* @default ''
|
|
609
|
+
*/
|
|
610
|
+
"value": string;
|
|
611
|
+
/**
|
|
612
|
+
* Visual style of the input container. `'outline'` shows a border; `'plain'` hides it at rest.
|
|
613
|
+
* @default TEXT_FIELD_VARIANTS.OUTLINE
|
|
614
|
+
*/
|
|
615
|
+
"variant": TextFieldVariant;
|
|
616
|
+
}
|
|
617
|
+
/**
|
|
618
|
+
* Tooltip component that displays a short label anchored to a trigger element on hover.
|
|
619
|
+
* @summary Displays a floating tooltip anchored to a trigger element on mouseenter/mouseleave,
|
|
620
|
+
* with configurable placement, optional arrow, and multiline support.
|
|
621
|
+
* @attr {boolean} disabled - When true, prevents the tooltip from being shown.
|
|
622
|
+
* @attr {boolean} multiline - When true, allows the tooltip content to wrap across multiple lines.
|
|
623
|
+
* @attr {Partial<FloatingTooltipProp>} floating-options - Configuration object for floating behavior.
|
|
624
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
625
|
+
* @csspart tooltip-content - The inner content wrapper inside the tooltip.
|
|
626
|
+
* @cssprop data-placement - Reflects the resolved placement on the tooltip container element.
|
|
627
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option on the tooltip container element.
|
|
628
|
+
* @cssprop data-multiline - Reflects the multiline prop on the tooltip container element.
|
|
629
|
+
*/
|
|
630
|
+
interface BdsTooltip {
|
|
631
|
+
/**
|
|
632
|
+
* If true, disables the tooltip.
|
|
633
|
+
* @default false
|
|
634
|
+
*/
|
|
635
|
+
"disabled"?: ITooltip['disabled'];
|
|
636
|
+
/**
|
|
637
|
+
* Override default options for the floating mixin. This can be overridden by passing a different object to the `floatingOptions` prop.
|
|
638
|
+
* @default {}
|
|
639
|
+
*/
|
|
640
|
+
"floatingOptions": Partial<FloatingTooltipProp>;
|
|
641
|
+
/**
|
|
642
|
+
* If true, allows multiline content in the tooltip.
|
|
643
|
+
* @default false
|
|
644
|
+
*/
|
|
645
|
+
"multiline"?: ITooltip['multiline'];
|
|
646
|
+
}
|
|
127
647
|
/**
|
|
128
648
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
129
649
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
@@ -257,21 +777,32 @@ export interface BdsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
|
257
777
|
detail: T;
|
|
258
778
|
target: HTMLBdsButtonElement;
|
|
259
779
|
}
|
|
780
|
+
export interface BdsCheckboxCustomEvent<T> extends CustomEvent<T> {
|
|
781
|
+
detail: T;
|
|
782
|
+
target: HTMLBdsCheckboxElement;
|
|
783
|
+
}
|
|
784
|
+
export interface BdsDialogCustomEvent<T> extends CustomEvent<T> {
|
|
785
|
+
detail: T;
|
|
786
|
+
target: HTMLBdsDialogElement;
|
|
787
|
+
}
|
|
788
|
+
export interface BdsTextFieldCustomEvent<T> extends CustomEvent<T> {
|
|
789
|
+
detail: T;
|
|
790
|
+
target: HTMLBdsTextFieldElement;
|
|
791
|
+
}
|
|
260
792
|
declare global {
|
|
261
793
|
interface HTMLBdsBannerElementEventMap {
|
|
262
|
-
"
|
|
794
|
+
"bdsClose": void;
|
|
263
795
|
}
|
|
264
796
|
/**
|
|
265
797
|
* Banner component used to display important messages with different status variants.
|
|
266
798
|
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
267
799
|
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
268
|
-
* @attr {boolean}
|
|
269
|
-
* @attr {string} idComponent - Unique identifier for the banner element.
|
|
270
|
-
* @property {string} idComponent - Unique identifier for the banner element.
|
|
800
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
271
801
|
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
272
|
-
* @property {boolean}
|
|
273
|
-
* @
|
|
274
|
-
* @
|
|
802
|
+
* @property {boolean} closable - Shows a close button that allows users to close the banner. Defaults to false.
|
|
803
|
+
* @property {boolean} closeButtonLabel - Aria label for the close button when visible.
|
|
804
|
+
* @fires bdsClose - Emitted when the banner is closed via the close button or `closeBanner` method.
|
|
805
|
+
* @method closeBanner - Programmatic method to close the banner and emit the `bdsClose` event.
|
|
275
806
|
*/
|
|
276
807
|
interface HTMLBdsBannerElement extends Components.BdsBanner, HTMLStencilElement {
|
|
277
808
|
addEventListener<K extends keyof HTMLBdsBannerElementEventMap>(type: K, listener: (this: HTMLBdsBannerElement, ev: BdsBannerCustomEvent<HTMLBdsBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
@@ -332,9 +863,241 @@ declare global {
|
|
|
332
863
|
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
333
864
|
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
334
865
|
}
|
|
335
|
-
var HTMLBdsButtonElement: {
|
|
336
|
-
prototype: HTMLBdsButtonElement;
|
|
337
|
-
new (): HTMLBdsButtonElement;
|
|
866
|
+
var HTMLBdsButtonElement: {
|
|
867
|
+
prototype: HTMLBdsButtonElement;
|
|
868
|
+
new (): HTMLBdsButtonElement;
|
|
869
|
+
};
|
|
870
|
+
interface HTMLBdsCheckboxElementEventMap {
|
|
871
|
+
"valueChange": boolean;
|
|
872
|
+
"bdsChange": CheckboxChangeDetail;
|
|
873
|
+
}
|
|
874
|
+
/**
|
|
875
|
+
* Checkbox component for boolean selection with three visual states.
|
|
876
|
+
* @summary A checkbox form control with default, selected, and indeterminate states.
|
|
877
|
+
* @property {boolean} checked - Whether the checkbox is selected. Defaults to `false`.
|
|
878
|
+
* @property {boolean} indeterminate - Whether the checkbox shows an indeterminate ("mixed") visual state. Defaults to `false`.
|
|
879
|
+
* @property {boolean} error - Shows error styling on the checkbox. Defaults to `false`.
|
|
880
|
+
* @property {string} value - Value submitted with the form data when checked. Defaults to `"on"`.
|
|
881
|
+
* @property {string} label - Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
882
|
+
* @fires valueChange - Emitted when the checked state changes (for 2-way binding / v-model).
|
|
883
|
+
* @fires bdsChange - Emitted when the user toggles the checkbox. Payload: `{ checked: boolean, value: string }`.
|
|
884
|
+
*/
|
|
885
|
+
interface HTMLBdsCheckboxElement extends Components.BdsCheckbox, HTMLStencilElement {
|
|
886
|
+
addEventListener<K extends keyof HTMLBdsCheckboxElementEventMap>(type: K, listener: (this: HTMLBdsCheckboxElement, ev: BdsCheckboxCustomEvent<HTMLBdsCheckboxElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
887
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
888
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
889
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
890
|
+
removeEventListener<K extends keyof HTMLBdsCheckboxElementEventMap>(type: K, listener: (this: HTMLBdsCheckboxElement, ev: BdsCheckboxCustomEvent<HTMLBdsCheckboxElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
891
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
892
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
893
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
894
|
+
}
|
|
895
|
+
var HTMLBdsCheckboxElement: {
|
|
896
|
+
prototype: HTMLBdsCheckboxElement;
|
|
897
|
+
new (): HTMLBdsCheckboxElement;
|
|
898
|
+
};
|
|
899
|
+
interface HTMLBdsDialogElementEventMap {
|
|
900
|
+
"bdsOpen": void;
|
|
901
|
+
"bdsClose": void;
|
|
902
|
+
"bdsMaximize": void;
|
|
903
|
+
}
|
|
904
|
+
/**
|
|
905
|
+
* Modal dialog component for displaying content in an overlay.
|
|
906
|
+
* @summary Modal overlay for alerts, forms, and confirmations with customizable layout and behavior.
|
|
907
|
+
* @attr {boolean} active - Controls dialog visibility.
|
|
908
|
+
* @attr {boolean} prevent-close - Disables closing the dialog.
|
|
909
|
+
* @attr {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
910
|
+
* @attr {string} content-padding - Content padding: 'default' or 'none'.
|
|
911
|
+
* @attr {boolean} backdrop-close - Close on backdrop click.
|
|
912
|
+
* @attr {boolean} escape-close - Close on Escape key.
|
|
913
|
+
* @attr {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
914
|
+
* @attr {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
915
|
+
* @attr {string} title-dialog - Dialog title text.
|
|
916
|
+
* @attr {boolean} maximizable - Show maximize button.
|
|
917
|
+
* @attr {boolean} closable - Show close button.
|
|
918
|
+
* @attr {string} width - Custom width for the dialog.
|
|
919
|
+
* @attr {string} height - Custom height for the dialog.
|
|
920
|
+
* @property {boolean} active - Controls whether the dialog is open.
|
|
921
|
+
* @property {boolean} preventClose - Disables closing the dialog.
|
|
922
|
+
* @property {string} height - Custom height for the dialog.
|
|
923
|
+
* @property {string} width - Custom width for the dialog.
|
|
924
|
+
* @property {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
925
|
+
* @property {string} contentPadding - Content padding: 'default' or 'none'.
|
|
926
|
+
* @property {boolean} backdropClose - Close dialog when clicking the backdrop.
|
|
927
|
+
* @property {boolean} escapeClose - Close dialog when pressing Escape.
|
|
928
|
+
* @property {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
929
|
+
* @property {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
930
|
+
* @property {string} titleDialog - Title text displayed in the header.
|
|
931
|
+
* @property {boolean} maximizable - Show maximize button.
|
|
932
|
+
* @property {boolean} closable - Hide the close button in the header.
|
|
933
|
+
* @fires bdsOpen - Emitted when the dialog opens.
|
|
934
|
+
* @fires bdsClose - Emitted when the dialog closes.
|
|
935
|
+
* @fires bdsMaximize - Emitted when the maximize button is clicked.
|
|
936
|
+
* @cssprop --bds-dialog-width - Custom width for the dialog.
|
|
937
|
+
* @cssprop --bds-dialog-height - Custom height for the dialog.
|
|
938
|
+
*/
|
|
939
|
+
interface HTMLBdsDialogElement extends Components.BdsDialog, HTMLStencilElement {
|
|
940
|
+
addEventListener<K extends keyof HTMLBdsDialogElementEventMap>(type: K, listener: (this: HTMLBdsDialogElement, ev: BdsDialogCustomEvent<HTMLBdsDialogElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
941
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
942
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
943
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
944
|
+
removeEventListener<K extends keyof HTMLBdsDialogElementEventMap>(type: K, listener: (this: HTMLBdsDialogElement, ev: BdsDialogCustomEvent<HTMLBdsDialogElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
945
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
946
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
947
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
948
|
+
}
|
|
949
|
+
var HTMLBdsDialogElement: {
|
|
950
|
+
prototype: HTMLBdsDialogElement;
|
|
951
|
+
new (): HTMLBdsDialogElement;
|
|
952
|
+
};
|
|
953
|
+
/**
|
|
954
|
+
* Flag component used to display a country flag together with its corresponding label.
|
|
955
|
+
* @summary Renders a flag icon based on a country identifier and optionally displays
|
|
956
|
+
* the country name, short name, or call sign. Supports custom flag sources, different
|
|
957
|
+
* shapes, and flag alignment on either side of the label.
|
|
958
|
+
* @attr {boolean} label - When true, displays a textual label next to the flag.
|
|
959
|
+
* @attr {boolean} short-name - When true, displays the abbreviated country name (ISO2/ISO3) instead of the full name.
|
|
960
|
+
* @attr {boolean} call-sign - When true, displays the country calling code next to the label.
|
|
961
|
+
* @attr {string} country - Country value used to resolve the flag and label.
|
|
962
|
+
* @attr {AlignFlag} align-flag - Controls whether the flag is rendered on the left or right side.
|
|
963
|
+
* @attr {FlagIdentifier} identifier - Defines which country field is used to resolve the value.
|
|
964
|
+
* @attr {Shape} shape - Visual shape of the rendered flag.
|
|
965
|
+
* @attr {ICountry[]} custom-flags - Additional custom flag definitions that can override defaults.
|
|
966
|
+
* @property {boolean} label - Whether the country label should be displayed. Defaults to false.
|
|
967
|
+
* @property {boolean} shortName - Whether to display the abbreviated country name. Defaults to false.
|
|
968
|
+
* @property {boolean} callSign - Whether to display the country calling code. Defaults to false.
|
|
969
|
+
* @property {string} country - Country value used to find the matching flag entry. Defaults to ''.
|
|
970
|
+
* @property {AlignFlag} alignFlag - Position of the flag relative to the label. Defaults to `AlignFlag.LEFT`.
|
|
971
|
+
* @property {FlagIdentifier} identifier - Identifier used to resolve the country value. Defaults to `FlagIdentifier.CODE`.
|
|
972
|
+
* @property {Shape} shape - Shape variant used for the flag. Defaults to `Shape.RECTANGLE`.
|
|
973
|
+
* @property {ICountry[]} customFlags - List of custom flag definitions merged with the default catalog. Defaults to `[]`.
|
|
974
|
+
*/
|
|
975
|
+
interface HTMLBdsFlagElement extends Components.BdsFlag, HTMLStencilElement {
|
|
976
|
+
}
|
|
977
|
+
var HTMLBdsFlagElement: {
|
|
978
|
+
prototype: HTMLBdsFlagElement;
|
|
979
|
+
new (): HTMLBdsFlagElement;
|
|
980
|
+
};
|
|
981
|
+
/**
|
|
982
|
+
* @attr {boolean} disabled - When true, prevents the popover from being shown.
|
|
983
|
+
* @attr {number | 'full' | 'auto'} width - Controls the width of the popover content.
|
|
984
|
+
* @attr {boolean} header - When true, displays the popover header.
|
|
985
|
+
* @attr {boolean} footer - When true, displays the popover footer.
|
|
986
|
+
* @attr {boolean} closable - When true, displays the close button in the header.
|
|
987
|
+
* @attr {IPopoverFloatingOptions} floatingOptions - Configuration object for floating behavior.
|
|
988
|
+
* @csspart popover-content - The main popover container element.
|
|
989
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
990
|
+
* @csspart popover-trigger - The trigger element for the popover.
|
|
991
|
+
* @cssprop data-placement - Reflects the resolved placement on the popover element.
|
|
992
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option.
|
|
993
|
+
*/
|
|
994
|
+
interface HTMLBdsPopoverElement extends Components.BdsPopover, HTMLStencilElement {
|
|
995
|
+
}
|
|
996
|
+
var HTMLBdsPopoverElement: {
|
|
997
|
+
prototype: HTMLBdsPopoverElement;
|
|
998
|
+
new (): HTMLBdsPopoverElement;
|
|
999
|
+
};
|
|
1000
|
+
/**
|
|
1001
|
+
* Spinner component used to indicate a loading or processing state.
|
|
1002
|
+
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
1003
|
+
* @attr {"small"|"medium"|"large"} size - Size of the spinner. Defaults to "small".
|
|
1004
|
+
* @attr {string} label - Accessible label announced by screen readers. Defaults to "Loading".
|
|
1005
|
+
* @property {"small"|"medium"|"large"} size - Controls the visual size of the spinner.
|
|
1006
|
+
* @property {string} label - Text used as the accessible label for screen readers.
|
|
1007
|
+
*/
|
|
1008
|
+
interface HTMLBdsSpinnerElement extends Components.BdsSpinner, HTMLStencilElement {
|
|
1009
|
+
}
|
|
1010
|
+
var HTMLBdsSpinnerElement: {
|
|
1011
|
+
prototype: HTMLBdsSpinnerElement;
|
|
1012
|
+
new (): HTMLBdsSpinnerElement;
|
|
1013
|
+
};
|
|
1014
|
+
interface HTMLBdsTextFieldElementEventMap {
|
|
1015
|
+
"valueChange": string;
|
|
1016
|
+
"bdsInput": { value: string; event: InputEvent };
|
|
1017
|
+
"bdsChange": { value: string; event: Event };
|
|
1018
|
+
"bdsFocus": { event: FocusEvent };
|
|
1019
|
+
"bdsBlur": { event: FocusEvent };
|
|
1020
|
+
"bdsClear": void;
|
|
1021
|
+
"bdsValidationChange": {
|
|
1022
|
+
valid: boolean;
|
|
1023
|
+
validity: ValidityState;
|
|
1024
|
+
value: string;
|
|
1025
|
+
touched: boolean;
|
|
1026
|
+
dirty: boolean;
|
|
1027
|
+
};
|
|
1028
|
+
}
|
|
1029
|
+
/**
|
|
1030
|
+
* Text field component for user input with validation and form integration.
|
|
1031
|
+
* @summary Single-line text input with label, validation, password toggle, and clear action.
|
|
1032
|
+
* @attr {string} name - The name submitted with the form.
|
|
1033
|
+
* @attr {string} value - The current value of the input.
|
|
1034
|
+
* @attr {boolean} disabled - Disables the input.
|
|
1035
|
+
* @attr {boolean} required - Marks the input as required.
|
|
1036
|
+
* @attr {boolean} error - Applies the error visual state.
|
|
1037
|
+
* @attr {"text"|"password"} type - Input type.
|
|
1038
|
+
* @attr {"outline"|"plain"} variant - Visual style of the container.
|
|
1039
|
+
* @attr {boolean} readonly - Makes the input read-only. The value is still submitted with the form.
|
|
1040
|
+
* @property {string} label - Label text rendered above the input.
|
|
1041
|
+
* @property {string} sublabel - Sublabel rendered inside the input container, before the text area.
|
|
1042
|
+
* @property {string} placeholder - Native placeholder forwarded to the inner `<input>`.
|
|
1043
|
+
* @property {string} helperText - Assistive text shown below the input when there is no error.
|
|
1044
|
+
* @property {string} errorMessage - Error message shown below the input when `error` is `true`. Replaces `helperText`.
|
|
1045
|
+
* @property {string} info - Tooltip content attached to the label.
|
|
1046
|
+
* @property {string} icon - Icon font class rendered beside the sublabel inside the container (e.g. `bds-icon-settings`).
|
|
1047
|
+
* @property {boolean} clearable - Shows a clear button when the input has a value.
|
|
1048
|
+
* @property {boolean} clearOnHover - Shows a clear button that is hidden at rest and revealed on hover.
|
|
1049
|
+
* @property {boolean} readOnly - Makes the input readonly. The value is still submitted with the form.
|
|
1050
|
+
* @property {string} autocomplete - Native `autocomplete` attribute forwarded to the inner `<input>`.
|
|
1051
|
+
* @property {string} pattern - Native `pattern` attribute forwarded to the inner `<input>`.
|
|
1052
|
+
* @property {number} minLength - Minimum character count. `0` means no minimum.
|
|
1053
|
+
* @property {number} maxLength - Maximum character count. `0` means no maximum.
|
|
1054
|
+
* @property {boolean} counter - Enables the character counter in the footer. Requires `charCount`.
|
|
1055
|
+
* @property {number} charCount - Maximum character count shown in the footer counter (e.g. `120` → `"45/120"`). Requires `counter`.
|
|
1056
|
+
* @property {IFormValidator[]} customValidators - Additional validators merged with the built-in ones.
|
|
1057
|
+
* @property {"blur"|"input"|"submit"|"change"} validationTiming - When built-in validation runs.
|
|
1058
|
+
* @property {string} pattern - Regex the value must match to pass `patternMismatch` validation. Also forwarded as the native `pattern` attribute to the inner `<input>`. Empty string disables pattern validation.
|
|
1059
|
+
* @property {string} customWidth - Sets a custom width via the `--bds-text-field-width` CSS custom property.
|
|
1060
|
+
* @fires valueChange - Emitted on every value change; used for framework 2-way binding.
|
|
1061
|
+
* @fires bdsInput - Emitted on every keystroke with `{ value, event }`.
|
|
1062
|
+
* @fires bdsChange - Emitted when focus leaves after the value changed, with `{ value, event }`.
|
|
1063
|
+
* @fires bdsFocus - Emitted when the input gains focus, with `{ event }`.
|
|
1064
|
+
* @fires bdsBlur - Emitted when the input loses focus, with `{ event }`.
|
|
1065
|
+
* @fires bdsClear - Emitted when the user activates the clear button.
|
|
1066
|
+
* @fires bdsValidationChange - Emitted after each validation run with `{ valid, validity, value, touched, dirty }`.
|
|
1067
|
+
* @cssprop --bds-text-field-width - Sets a custom width for the component.
|
|
1068
|
+
*/
|
|
1069
|
+
interface HTMLBdsTextFieldElement extends Components.BdsTextField, HTMLStencilElement {
|
|
1070
|
+
addEventListener<K extends keyof HTMLBdsTextFieldElementEventMap>(type: K, listener: (this: HTMLBdsTextFieldElement, ev: BdsTextFieldCustomEvent<HTMLBdsTextFieldElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1071
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1072
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
1073
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
1074
|
+
removeEventListener<K extends keyof HTMLBdsTextFieldElementEventMap>(type: K, listener: (this: HTMLBdsTextFieldElement, ev: BdsTextFieldCustomEvent<HTMLBdsTextFieldElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
1075
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1076
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
1077
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
1078
|
+
}
|
|
1079
|
+
var HTMLBdsTextFieldElement: {
|
|
1080
|
+
prototype: HTMLBdsTextFieldElement;
|
|
1081
|
+
new (): HTMLBdsTextFieldElement;
|
|
1082
|
+
};
|
|
1083
|
+
/**
|
|
1084
|
+
* Tooltip component that displays a short label anchored to a trigger element on hover.
|
|
1085
|
+
* @summary Displays a floating tooltip anchored to a trigger element on mouseenter/mouseleave,
|
|
1086
|
+
* with configurable placement, optional arrow, and multiline support.
|
|
1087
|
+
* @attr {boolean} disabled - When true, prevents the tooltip from being shown.
|
|
1088
|
+
* @attr {boolean} multiline - When true, allows the tooltip content to wrap across multiple lines.
|
|
1089
|
+
* @attr {Partial<FloatingTooltipProp>} floating-options - Configuration object for floating behavior.
|
|
1090
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
1091
|
+
* @csspart tooltip-content - The inner content wrapper inside the tooltip.
|
|
1092
|
+
* @cssprop data-placement - Reflects the resolved placement on the tooltip container element.
|
|
1093
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option on the tooltip container element.
|
|
1094
|
+
* @cssprop data-multiline - Reflects the multiline prop on the tooltip container element.
|
|
1095
|
+
*/
|
|
1096
|
+
interface HTMLBdsTooltipElement extends Components.BdsTooltip, HTMLStencilElement {
|
|
1097
|
+
}
|
|
1098
|
+
var HTMLBdsTooltipElement: {
|
|
1099
|
+
prototype: HTMLBdsTooltipElement;
|
|
1100
|
+
new (): HTMLBdsTooltipElement;
|
|
338
1101
|
};
|
|
339
1102
|
/**
|
|
340
1103
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
@@ -392,37 +1155,45 @@ declare global {
|
|
|
392
1155
|
interface HTMLElementTagNameMap {
|
|
393
1156
|
"bds-banner": HTMLBdsBannerElement;
|
|
394
1157
|
"bds-button": HTMLBdsButtonElement;
|
|
1158
|
+
"bds-checkbox": HTMLBdsCheckboxElement;
|
|
1159
|
+
"bds-dialog": HTMLBdsDialogElement;
|
|
1160
|
+
"bds-flag": HTMLBdsFlagElement;
|
|
1161
|
+
"bds-popover": HTMLBdsPopoverElement;
|
|
1162
|
+
"bds-spinner": HTMLBdsSpinnerElement;
|
|
1163
|
+
"bds-text-field": HTMLBdsTextFieldElement;
|
|
1164
|
+
"bds-tooltip": HTMLBdsTooltipElement;
|
|
395
1165
|
"bds-typography": HTMLBdsTypographyElement;
|
|
396
1166
|
}
|
|
397
1167
|
}
|
|
398
1168
|
declare namespace LocalJSX {
|
|
1169
|
+
type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
1170
|
+
|
|
399
1171
|
/**
|
|
400
1172
|
* Banner component used to display important messages with different status variants.
|
|
401
1173
|
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
402
1174
|
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
403
|
-
* @attr {boolean}
|
|
404
|
-
* @attr {string} idComponent - Unique identifier for the banner element.
|
|
405
|
-
* @property {string} idComponent - Unique identifier for the banner element.
|
|
1175
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
406
1176
|
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
407
|
-
* @property {boolean}
|
|
408
|
-
* @
|
|
409
|
-
* @
|
|
1177
|
+
* @property {boolean} closable - Shows a close button that allows users to close the banner. Defaults to false.
|
|
1178
|
+
* @property {boolean} closeButtonLabel - Aria label for the close button when visible.
|
|
1179
|
+
* @fires bdsClose - Emitted when the banner is closed via the close button or `closeBanner` method.
|
|
1180
|
+
* @method closeBanner - Programmatic method to close the banner and emit the `bdsClose` event.
|
|
410
1181
|
*/
|
|
411
1182
|
interface BdsBanner {
|
|
412
1183
|
/**
|
|
413
|
-
* Shows a close button that allows users to
|
|
1184
|
+
* Shows a close button that allows users to close the banner.
|
|
414
1185
|
* @default false
|
|
415
1186
|
*/
|
|
416
|
-
"
|
|
1187
|
+
"closable"?: boolean;
|
|
417
1188
|
/**
|
|
418
|
-
*
|
|
419
|
-
* @default
|
|
1189
|
+
* The aria label for the close button.
|
|
1190
|
+
* @default ""
|
|
420
1191
|
*/
|
|
421
|
-
"
|
|
1192
|
+
"closeButtonLabel"?: IBanner['closeButtonLabel'];
|
|
422
1193
|
/**
|
|
423
|
-
* Emitted when the banner is closed via the close button or
|
|
1194
|
+
* Emitted when the banner is closed via the close button or closeBanner method.
|
|
424
1195
|
*/
|
|
425
|
-
"
|
|
1196
|
+
"onBdsClose"?: (event: BdsBannerCustomEvent<void>) => void;
|
|
426
1197
|
/**
|
|
427
1198
|
* Visual style variant: 'info', 'success', 'warning', or 'danger'.
|
|
428
1199
|
* @default "info"
|
|
@@ -516,6 +1287,553 @@ declare namespace LocalJSX {
|
|
|
516
1287
|
*/
|
|
517
1288
|
"variant"?: IButton['variant'];
|
|
518
1289
|
}
|
|
1290
|
+
/**
|
|
1291
|
+
* Checkbox component for boolean selection with three visual states.
|
|
1292
|
+
* @summary A checkbox form control with default, selected, and indeterminate states.
|
|
1293
|
+
* @property {boolean} checked - Whether the checkbox is selected. Defaults to `false`.
|
|
1294
|
+
* @property {boolean} indeterminate - Whether the checkbox shows an indeterminate ("mixed") visual state. Defaults to `false`.
|
|
1295
|
+
* @property {boolean} error - Shows error styling on the checkbox. Defaults to `false`.
|
|
1296
|
+
* @property {string} value - Value submitted with the form data when checked. Defaults to `"on"`.
|
|
1297
|
+
* @property {string} label - Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
1298
|
+
* @fires valueChange - Emitted when the checked state changes (for 2-way binding / v-model).
|
|
1299
|
+
* @fires bdsChange - Emitted when the user toggles the checkbox. Payload: `{ checked: boolean, value: string }`.
|
|
1300
|
+
*/
|
|
1301
|
+
interface BdsCheckbox {
|
|
1302
|
+
/**
|
|
1303
|
+
* Whether the checkbox is selected.
|
|
1304
|
+
* @default false
|
|
1305
|
+
*/
|
|
1306
|
+
"checked"?: boolean;
|
|
1307
|
+
/**
|
|
1308
|
+
* Disables the control.
|
|
1309
|
+
* @default false
|
|
1310
|
+
*/
|
|
1311
|
+
"disabled"?: boolean;
|
|
1312
|
+
/**
|
|
1313
|
+
* Shows error styling on the checkbox.
|
|
1314
|
+
* @default false
|
|
1315
|
+
*/
|
|
1316
|
+
"error"?: boolean;
|
|
1317
|
+
/**
|
|
1318
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
1319
|
+
*/
|
|
1320
|
+
"form"?: string;
|
|
1321
|
+
/**
|
|
1322
|
+
* Whether the checkbox shows an indeterminate ("mixed") visual state.
|
|
1323
|
+
* @default false
|
|
1324
|
+
*/
|
|
1325
|
+
"indeterminate"?: boolean;
|
|
1326
|
+
/**
|
|
1327
|
+
* Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
1328
|
+
* @default ''
|
|
1329
|
+
*/
|
|
1330
|
+
"label"?: string;
|
|
1331
|
+
/**
|
|
1332
|
+
* Name of the form control, submitted as a key in the form data.
|
|
1333
|
+
*/
|
|
1334
|
+
"name": string;
|
|
1335
|
+
/**
|
|
1336
|
+
* Emitted when the user toggles the checkbox.
|
|
1337
|
+
*/
|
|
1338
|
+
"onBdsChange"?: (event: BdsCheckboxCustomEvent<CheckboxChangeDetail>) => void;
|
|
1339
|
+
/**
|
|
1340
|
+
* Emitted when the checked state changes (for 2-way binding / v-model).
|
|
1341
|
+
*/
|
|
1342
|
+
"onValueChange"?: (event: BdsCheckboxCustomEvent<boolean>) => void;
|
|
1343
|
+
/**
|
|
1344
|
+
* Marks the control as required for form submission.
|
|
1345
|
+
* @default false
|
|
1346
|
+
*/
|
|
1347
|
+
"required"?: boolean;
|
|
1348
|
+
/**
|
|
1349
|
+
* Value submitted with the form data when checked.
|
|
1350
|
+
* @default 'on'
|
|
1351
|
+
*/
|
|
1352
|
+
"value"?: string;
|
|
1353
|
+
}
|
|
1354
|
+
/**
|
|
1355
|
+
* Modal dialog component for displaying content in an overlay.
|
|
1356
|
+
* @summary Modal overlay for alerts, forms, and confirmations with customizable layout and behavior.
|
|
1357
|
+
* @attr {boolean} active - Controls dialog visibility.
|
|
1358
|
+
* @attr {boolean} prevent-close - Disables closing the dialog.
|
|
1359
|
+
* @attr {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
1360
|
+
* @attr {string} content-padding - Content padding: 'default' or 'none'.
|
|
1361
|
+
* @attr {boolean} backdrop-close - Close on backdrop click.
|
|
1362
|
+
* @attr {boolean} escape-close - Close on Escape key.
|
|
1363
|
+
* @attr {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
1364
|
+
* @attr {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
1365
|
+
* @attr {string} title-dialog - Dialog title text.
|
|
1366
|
+
* @attr {boolean} maximizable - Show maximize button.
|
|
1367
|
+
* @attr {boolean} closable - Show close button.
|
|
1368
|
+
* @attr {string} width - Custom width for the dialog.
|
|
1369
|
+
* @attr {string} height - Custom height for the dialog.
|
|
1370
|
+
* @property {boolean} active - Controls whether the dialog is open.
|
|
1371
|
+
* @property {boolean} preventClose - Disables closing the dialog.
|
|
1372
|
+
* @property {string} height - Custom height for the dialog.
|
|
1373
|
+
* @property {string} width - Custom width for the dialog.
|
|
1374
|
+
* @property {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
1375
|
+
* @property {string} contentPadding - Content padding: 'default' or 'none'.
|
|
1376
|
+
* @property {boolean} backdropClose - Close dialog when clicking the backdrop.
|
|
1377
|
+
* @property {boolean} escapeClose - Close dialog when pressing Escape.
|
|
1378
|
+
* @property {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
1379
|
+
* @property {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
1380
|
+
* @property {string} titleDialog - Title text displayed in the header.
|
|
1381
|
+
* @property {boolean} maximizable - Show maximize button.
|
|
1382
|
+
* @property {boolean} closable - Hide the close button in the header.
|
|
1383
|
+
* @fires bdsOpen - Emitted when the dialog opens.
|
|
1384
|
+
* @fires bdsClose - Emitted when the dialog closes.
|
|
1385
|
+
* @fires bdsMaximize - Emitted when the maximize button is clicked.
|
|
1386
|
+
* @cssprop --bds-dialog-width - Custom width for the dialog.
|
|
1387
|
+
* @cssprop --bds-dialog-height - Custom height for the dialog.
|
|
1388
|
+
*/
|
|
1389
|
+
interface BdsDialog {
|
|
1390
|
+
/**
|
|
1391
|
+
* Controls whether the dialog is open.
|
|
1392
|
+
* @default false
|
|
1393
|
+
*/
|
|
1394
|
+
"active"?: IDialog['active'];
|
|
1395
|
+
/**
|
|
1396
|
+
* Close dialog when clicking the backdrop.
|
|
1397
|
+
* @default false
|
|
1398
|
+
*/
|
|
1399
|
+
"backdropClose"?: IDialog['backdropClose'];
|
|
1400
|
+
/**
|
|
1401
|
+
* Hide the close button in the header.
|
|
1402
|
+
* @default false
|
|
1403
|
+
*/
|
|
1404
|
+
"closable"?: IDialog['closable'];
|
|
1405
|
+
/**
|
|
1406
|
+
* Content padding: 'default' or 'none'.
|
|
1407
|
+
* @default DIALOG_CONTENT_PADDING.DEFAULT
|
|
1408
|
+
*/
|
|
1409
|
+
"contentPadding"?: IDialog['contentPadding'];
|
|
1410
|
+
/**
|
|
1411
|
+
* Close dialog when pressing Escape.
|
|
1412
|
+
* @default false
|
|
1413
|
+
*/
|
|
1414
|
+
"escapeClose"?: IDialog['escapeClose'];
|
|
1415
|
+
/**
|
|
1416
|
+
* Dialog custom height
|
|
1417
|
+
* @default ''
|
|
1418
|
+
*/
|
|
1419
|
+
"height"?: IDialog['height'];
|
|
1420
|
+
/**
|
|
1421
|
+
* Layout type: 'default', 'headerless', or 'footerless'.
|
|
1422
|
+
* @default DIALOG_LAYOUT.DEFAULT
|
|
1423
|
+
*/
|
|
1424
|
+
"layout"?: IDialog['layout'];
|
|
1425
|
+
/**
|
|
1426
|
+
* Show maximize button to toggle full-screen.
|
|
1427
|
+
* @default false
|
|
1428
|
+
*/
|
|
1429
|
+
"maximizable"?: IDialog['maximizable'];
|
|
1430
|
+
/**
|
|
1431
|
+
* Emitted when the dialog closes.
|
|
1432
|
+
*/
|
|
1433
|
+
"onBdsClose"?: (event: BdsDialogCustomEvent<void>) => void;
|
|
1434
|
+
/**
|
|
1435
|
+
* Emitted when the dialog maximize button is clicked.
|
|
1436
|
+
*/
|
|
1437
|
+
"onBdsMaximize"?: (event: BdsDialogCustomEvent<void>) => void;
|
|
1438
|
+
/**
|
|
1439
|
+
* Emitted when the dialog opens.
|
|
1440
|
+
*/
|
|
1441
|
+
"onBdsOpen"?: (event: BdsDialogCustomEvent<void>) => void;
|
|
1442
|
+
/**
|
|
1443
|
+
* Controls whether the dialog is closable.
|
|
1444
|
+
* @default false
|
|
1445
|
+
*/
|
|
1446
|
+
"preventClose"?: IDialog['preventClose'];
|
|
1447
|
+
/**
|
|
1448
|
+
* Dialog size: 'small', 'medium', 'large', or 'full'.
|
|
1449
|
+
* @default DIALOG_SIZES.MEDIUM
|
|
1450
|
+
*/
|
|
1451
|
+
"size"?: IDialog['size'];
|
|
1452
|
+
/**
|
|
1453
|
+
* Title text displayed in the header.
|
|
1454
|
+
* @default ''
|
|
1455
|
+
*/
|
|
1456
|
+
"titleDialog"?: IDialog['titleDialog'];
|
|
1457
|
+
/**
|
|
1458
|
+
* Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
1459
|
+
* @default DIALOG_VARIANT.DEFAULT
|
|
1460
|
+
*/
|
|
1461
|
+
"variant"?: IDialog['variant'];
|
|
1462
|
+
/**
|
|
1463
|
+
* Dialog custom width
|
|
1464
|
+
* @default ''
|
|
1465
|
+
*/
|
|
1466
|
+
"width"?: IDialog['width'];
|
|
1467
|
+
}
|
|
1468
|
+
/**
|
|
1469
|
+
* Flag component used to display a country flag together with its corresponding label.
|
|
1470
|
+
* @summary Renders a flag icon based on a country identifier and optionally displays
|
|
1471
|
+
* the country name, short name, or call sign. Supports custom flag sources, different
|
|
1472
|
+
* shapes, and flag alignment on either side of the label.
|
|
1473
|
+
* @attr {boolean} label - When true, displays a textual label next to the flag.
|
|
1474
|
+
* @attr {boolean} short-name - When true, displays the abbreviated country name (ISO2/ISO3) instead of the full name.
|
|
1475
|
+
* @attr {boolean} call-sign - When true, displays the country calling code next to the label.
|
|
1476
|
+
* @attr {string} country - Country value used to resolve the flag and label.
|
|
1477
|
+
* @attr {AlignFlag} align-flag - Controls whether the flag is rendered on the left or right side.
|
|
1478
|
+
* @attr {FlagIdentifier} identifier - Defines which country field is used to resolve the value.
|
|
1479
|
+
* @attr {Shape} shape - Visual shape of the rendered flag.
|
|
1480
|
+
* @attr {ICountry[]} custom-flags - Additional custom flag definitions that can override defaults.
|
|
1481
|
+
* @property {boolean} label - Whether the country label should be displayed. Defaults to false.
|
|
1482
|
+
* @property {boolean} shortName - Whether to display the abbreviated country name. Defaults to false.
|
|
1483
|
+
* @property {boolean} callSign - Whether to display the country calling code. Defaults to false.
|
|
1484
|
+
* @property {string} country - Country value used to find the matching flag entry. Defaults to ''.
|
|
1485
|
+
* @property {AlignFlag} alignFlag - Position of the flag relative to the label. Defaults to `AlignFlag.LEFT`.
|
|
1486
|
+
* @property {FlagIdentifier} identifier - Identifier used to resolve the country value. Defaults to `FlagIdentifier.CODE`.
|
|
1487
|
+
* @property {Shape} shape - Shape variant used for the flag. Defaults to `Shape.RECTANGLE`.
|
|
1488
|
+
* @property {ICountry[]} customFlags - List of custom flag definitions merged with the default catalog. Defaults to `[]`.
|
|
1489
|
+
*/
|
|
1490
|
+
interface BdsFlag {
|
|
1491
|
+
/**
|
|
1492
|
+
* Determines whether the flag is displayed on the left or right side of the label.
|
|
1493
|
+
* @default AlignFlag.LEFT
|
|
1494
|
+
*/
|
|
1495
|
+
"alignFlag"?: IFlag['alignFlag'];
|
|
1496
|
+
/**
|
|
1497
|
+
* Whether the country calling code should be displayed next to the label.
|
|
1498
|
+
* @default false
|
|
1499
|
+
*/
|
|
1500
|
+
"callSign"?: IFlag['callSign'];
|
|
1501
|
+
/**
|
|
1502
|
+
* Country value used to resolve the matching flag entry. The expected value depends on the configured `identifier`.
|
|
1503
|
+
* @default ''
|
|
1504
|
+
*/
|
|
1505
|
+
"country"?: IFlag['country'];
|
|
1506
|
+
/**
|
|
1507
|
+
* Custom flag definitions merged with the default country catalog. Custom entries can override default asset sources when the same `iso2` is used.
|
|
1508
|
+
* @default []
|
|
1509
|
+
*/
|
|
1510
|
+
"customFlags"?: IFlag['customFlags'];
|
|
1511
|
+
/**
|
|
1512
|
+
* Defines which field should be used to identify the country. For example, code, iso2, or iso3.
|
|
1513
|
+
* @default FlagIdentifier.CODE
|
|
1514
|
+
*/
|
|
1515
|
+
"identifier"?: IFlag['identifier'];
|
|
1516
|
+
/**
|
|
1517
|
+
* Whether the country name label should be displayed next to the flag.
|
|
1518
|
+
* @default false
|
|
1519
|
+
*/
|
|
1520
|
+
"label"?: IFlag['label'];
|
|
1521
|
+
/**
|
|
1522
|
+
* Visual shape used to render the flag.
|
|
1523
|
+
* @default Shape.RECTANGLE
|
|
1524
|
+
*/
|
|
1525
|
+
"shape"?: IFlag['shape'];
|
|
1526
|
+
/**
|
|
1527
|
+
* Whether the abbreviated country name (ISO2/ISO3) should be displayed instead of the full name.
|
|
1528
|
+
* @default false
|
|
1529
|
+
*/
|
|
1530
|
+
"shortName"?: IFlag['shortName'];
|
|
1531
|
+
}
|
|
1532
|
+
/**
|
|
1533
|
+
* @attr {boolean} disabled - When true, prevents the popover from being shown.
|
|
1534
|
+
* @attr {number | 'full' | 'auto'} width - Controls the width of the popover content.
|
|
1535
|
+
* @attr {boolean} header - When true, displays the popover header.
|
|
1536
|
+
* @attr {boolean} footer - When true, displays the popover footer.
|
|
1537
|
+
* @attr {boolean} closable - When true, displays the close button in the header.
|
|
1538
|
+
* @attr {IPopoverFloatingOptions} floatingOptions - Configuration object for floating behavior.
|
|
1539
|
+
* @csspart popover-content - The main popover container element.
|
|
1540
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
1541
|
+
* @csspart popover-trigger - The trigger element for the popover.
|
|
1542
|
+
* @cssprop data-placement - Reflects the resolved placement on the popover element.
|
|
1543
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option.
|
|
1544
|
+
*/
|
|
1545
|
+
interface BdsPopover {
|
|
1546
|
+
/**
|
|
1547
|
+
* If true, displays a close button inside the header. Requires `header` to be true.
|
|
1548
|
+
* @default false
|
|
1549
|
+
*/
|
|
1550
|
+
"closable"?: boolean;
|
|
1551
|
+
/**
|
|
1552
|
+
* If true, disables the popover.
|
|
1553
|
+
* @default false
|
|
1554
|
+
*/
|
|
1555
|
+
"disabled"?: IPopover['disabled'];
|
|
1556
|
+
/**
|
|
1557
|
+
* Override default options for the floating mixin. This can be overridden by passing a different object to the `floatingOptions` prop.
|
|
1558
|
+
* @default {}
|
|
1559
|
+
*/
|
|
1560
|
+
"floatingOptions"?: IPopover['floatingOptions'];
|
|
1561
|
+
/**
|
|
1562
|
+
* If true, displays the footer section with helper and button slots.
|
|
1563
|
+
* @default false
|
|
1564
|
+
*/
|
|
1565
|
+
"footer"?: boolean;
|
|
1566
|
+
/**
|
|
1567
|
+
* If true, displays the header section with icon and title slots.
|
|
1568
|
+
* @default false
|
|
1569
|
+
*/
|
|
1570
|
+
"header"?: boolean;
|
|
1571
|
+
/**
|
|
1572
|
+
* Width of the popover content. - number: width in pixels (e.g. 320 → "320px") - 'full': 100% of the trigger/parent width - 'auto': fits the content
|
|
1573
|
+
* @default 320
|
|
1574
|
+
*/
|
|
1575
|
+
"width"?: IPopover['width'];
|
|
1576
|
+
}
|
|
1577
|
+
/**
|
|
1578
|
+
* Spinner component used to indicate a loading or processing state.
|
|
1579
|
+
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
1580
|
+
* @attr {"small"|"medium"|"large"} size - Size of the spinner. Defaults to "small".
|
|
1581
|
+
* @attr {string} label - Accessible label announced by screen readers. Defaults to "Loading".
|
|
1582
|
+
* @property {"small"|"medium"|"large"} size - Controls the visual size of the spinner.
|
|
1583
|
+
* @property {string} label - Text used as the accessible label for screen readers.
|
|
1584
|
+
*/
|
|
1585
|
+
interface BdsSpinner {
|
|
1586
|
+
/**
|
|
1587
|
+
* Accessible label announced by screen readers to describe the loading state.
|
|
1588
|
+
* @default "Loading"
|
|
1589
|
+
*/
|
|
1590
|
+
"label"?: ISpinner['label'];
|
|
1591
|
+
/**
|
|
1592
|
+
* Controls the visual size of the spinner.
|
|
1593
|
+
* @default "small"
|
|
1594
|
+
*/
|
|
1595
|
+
"size"?: ISpinner['size'];
|
|
1596
|
+
}
|
|
1597
|
+
/**
|
|
1598
|
+
* Text field component for user input with validation and form integration.
|
|
1599
|
+
* @summary Single-line text input with label, validation, password toggle, and clear action.
|
|
1600
|
+
* @attr {string} name - The name submitted with the form.
|
|
1601
|
+
* @attr {string} value - The current value of the input.
|
|
1602
|
+
* @attr {boolean} disabled - Disables the input.
|
|
1603
|
+
* @attr {boolean} required - Marks the input as required.
|
|
1604
|
+
* @attr {boolean} error - Applies the error visual state.
|
|
1605
|
+
* @attr {"text"|"password"} type - Input type.
|
|
1606
|
+
* @attr {"outline"|"plain"} variant - Visual style of the container.
|
|
1607
|
+
* @attr {boolean} readonly - Makes the input read-only. The value is still submitted with the form.
|
|
1608
|
+
* @property {string} label - Label text rendered above the input.
|
|
1609
|
+
* @property {string} sublabel - Sublabel rendered inside the input container, before the text area.
|
|
1610
|
+
* @property {string} placeholder - Native placeholder forwarded to the inner `<input>`.
|
|
1611
|
+
* @property {string} helperText - Assistive text shown below the input when there is no error.
|
|
1612
|
+
* @property {string} errorMessage - Error message shown below the input when `error` is `true`. Replaces `helperText`.
|
|
1613
|
+
* @property {string} info - Tooltip content attached to the label.
|
|
1614
|
+
* @property {string} icon - Icon font class rendered beside the sublabel inside the container (e.g. `bds-icon-settings`).
|
|
1615
|
+
* @property {boolean} clearable - Shows a clear button when the input has a value.
|
|
1616
|
+
* @property {boolean} clearOnHover - Shows a clear button that is hidden at rest and revealed on hover.
|
|
1617
|
+
* @property {boolean} readOnly - Makes the input readonly. The value is still submitted with the form.
|
|
1618
|
+
* @property {string} autocomplete - Native `autocomplete` attribute forwarded to the inner `<input>`.
|
|
1619
|
+
* @property {string} pattern - Native `pattern` attribute forwarded to the inner `<input>`.
|
|
1620
|
+
* @property {number} minLength - Minimum character count. `0` means no minimum.
|
|
1621
|
+
* @property {number} maxLength - Maximum character count. `0` means no maximum.
|
|
1622
|
+
* @property {boolean} counter - Enables the character counter in the footer. Requires `charCount`.
|
|
1623
|
+
* @property {number} charCount - Maximum character count shown in the footer counter (e.g. `120` → `"45/120"`). Requires `counter`.
|
|
1624
|
+
* @property {IFormValidator[]} customValidators - Additional validators merged with the built-in ones.
|
|
1625
|
+
* @property {"blur"|"input"|"submit"|"change"} validationTiming - When built-in validation runs.
|
|
1626
|
+
* @property {string} pattern - Regex the value must match to pass `patternMismatch` validation. Also forwarded as the native `pattern` attribute to the inner `<input>`. Empty string disables pattern validation.
|
|
1627
|
+
* @property {string} customWidth - Sets a custom width via the `--bds-text-field-width` CSS custom property.
|
|
1628
|
+
* @fires valueChange - Emitted on every value change; used for framework 2-way binding.
|
|
1629
|
+
* @fires bdsInput - Emitted on every keystroke with `{ value, event }`.
|
|
1630
|
+
* @fires bdsChange - Emitted when focus leaves after the value changed, with `{ value, event }`.
|
|
1631
|
+
* @fires bdsFocus - Emitted when the input gains focus, with `{ event }`.
|
|
1632
|
+
* @fires bdsBlur - Emitted when the input loses focus, with `{ event }`.
|
|
1633
|
+
* @fires bdsClear - Emitted when the user activates the clear button.
|
|
1634
|
+
* @fires bdsValidationChange - Emitted after each validation run with `{ valid, validity, value, touched, dirty }`.
|
|
1635
|
+
* @cssprop --bds-text-field-width - Sets a custom width for the component.
|
|
1636
|
+
*/
|
|
1637
|
+
interface BdsTextField {
|
|
1638
|
+
/**
|
|
1639
|
+
* Native `autocomplete` attribute forwarded to the inner `<input>`.
|
|
1640
|
+
* @default 'off'
|
|
1641
|
+
*/
|
|
1642
|
+
"autocomplete"?: string;
|
|
1643
|
+
/**
|
|
1644
|
+
* Maximum character count shown in the footer counter (e.g. `120` → `"45/120"`). Requires `counter`.
|
|
1645
|
+
* @default 0
|
|
1646
|
+
*/
|
|
1647
|
+
"charCount"?: number;
|
|
1648
|
+
/**
|
|
1649
|
+
* Shows a clear button that is hidden at rest and revealed when the user hovers over the field.
|
|
1650
|
+
* @default false
|
|
1651
|
+
*/
|
|
1652
|
+
"clearOnHover"?: boolean;
|
|
1653
|
+
/**
|
|
1654
|
+
* Shows a clear button when the input has a value.
|
|
1655
|
+
* @default false
|
|
1656
|
+
*/
|
|
1657
|
+
"clearable"?: boolean;
|
|
1658
|
+
/**
|
|
1659
|
+
* Enables the character counter in the footer. Requires `charCount` to be set.
|
|
1660
|
+
* @default false
|
|
1661
|
+
*/
|
|
1662
|
+
"counter"?: boolean;
|
|
1663
|
+
/**
|
|
1664
|
+
* Additional validators merged with the built-in ones.
|
|
1665
|
+
* @default []
|
|
1666
|
+
*/
|
|
1667
|
+
"customValidators"?: IFormValidator[];
|
|
1668
|
+
/**
|
|
1669
|
+
* Sets a custom width via the `--bds-text-field-width` CSS custom property.
|
|
1670
|
+
* @default ''
|
|
1671
|
+
*/
|
|
1672
|
+
"customWidth"?: string;
|
|
1673
|
+
/**
|
|
1674
|
+
* Disables the input. Also toggled by `formDisabledCallback` via the mixin.
|
|
1675
|
+
* @default false
|
|
1676
|
+
*/
|
|
1677
|
+
"disabled"?: boolean;
|
|
1678
|
+
/**
|
|
1679
|
+
* When `true`, applies the error visual state.
|
|
1680
|
+
* @default false
|
|
1681
|
+
*/
|
|
1682
|
+
"error"?: boolean;
|
|
1683
|
+
/**
|
|
1684
|
+
* Message shown below the input when `error` is `true`. Replaces `helperText`.
|
|
1685
|
+
* @default ''
|
|
1686
|
+
*/
|
|
1687
|
+
"errorMessage"?: string;
|
|
1688
|
+
/**
|
|
1689
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
1690
|
+
*/
|
|
1691
|
+
"form"?: string;
|
|
1692
|
+
/**
|
|
1693
|
+
* Helper text shown below the input when there is no error.
|
|
1694
|
+
* @default ''
|
|
1695
|
+
*/
|
|
1696
|
+
"helperText"?: string;
|
|
1697
|
+
/**
|
|
1698
|
+
* Icon font class rendered beside the sublabel inside the container (e.g. `bds-icon-settings`).
|
|
1699
|
+
* @default ''
|
|
1700
|
+
*/
|
|
1701
|
+
"icon"?: string;
|
|
1702
|
+
/**
|
|
1703
|
+
* Tooltip content attached to the label. Rendered via `bds-typography` `tooltipText` prop.
|
|
1704
|
+
* @default ''
|
|
1705
|
+
*/
|
|
1706
|
+
"info"?: string;
|
|
1707
|
+
/**
|
|
1708
|
+
* Label text rendered above the input.
|
|
1709
|
+
* @default ''
|
|
1710
|
+
*/
|
|
1711
|
+
"label"?: string;
|
|
1712
|
+
/**
|
|
1713
|
+
* Maximum character count. `0` means no maximum.
|
|
1714
|
+
* @default 0
|
|
1715
|
+
*/
|
|
1716
|
+
"maxLength"?: number;
|
|
1717
|
+
/**
|
|
1718
|
+
* Minimum character count. `0` means no minimum.
|
|
1719
|
+
* @default 0
|
|
1720
|
+
*/
|
|
1721
|
+
"minLength"?: number;
|
|
1722
|
+
/**
|
|
1723
|
+
* The name submitted with the form.
|
|
1724
|
+
* @default ''
|
|
1725
|
+
*/
|
|
1726
|
+
"name"?: string;
|
|
1727
|
+
/**
|
|
1728
|
+
* Emitted when the input loses focus.
|
|
1729
|
+
*/
|
|
1730
|
+
"onBdsBlur"?: (event: BdsTextFieldCustomEvent<{ event: FocusEvent }>) => void;
|
|
1731
|
+
/**
|
|
1732
|
+
* Emitted when the input loses focus after the value has changed.
|
|
1733
|
+
*/
|
|
1734
|
+
"onBdsChange"?: (event: BdsTextFieldCustomEvent<{ value: string; event: Event }>) => void;
|
|
1735
|
+
/**
|
|
1736
|
+
* Emitted when the user activates the clear button.
|
|
1737
|
+
*/
|
|
1738
|
+
"onBdsClear"?: (event: BdsTextFieldCustomEvent<void>) => void;
|
|
1739
|
+
/**
|
|
1740
|
+
* Emitted when the input gains focus.
|
|
1741
|
+
*/
|
|
1742
|
+
"onBdsFocus"?: (event: BdsTextFieldCustomEvent<{ event: FocusEvent }>) => void;
|
|
1743
|
+
/**
|
|
1744
|
+
* Emitted on every keystroke with the current value and the originating event.
|
|
1745
|
+
*/
|
|
1746
|
+
"onBdsInput"?: (event: BdsTextFieldCustomEvent<{ value: string; event: InputEvent }>) => void;
|
|
1747
|
+
/**
|
|
1748
|
+
* Emitted after each validation run with the full validity snapshot.
|
|
1749
|
+
*/
|
|
1750
|
+
"onBdsValidationChange"?: (event: BdsTextFieldCustomEvent<{
|
|
1751
|
+
valid: boolean;
|
|
1752
|
+
validity: ValidityState;
|
|
1753
|
+
value: string;
|
|
1754
|
+
touched: boolean;
|
|
1755
|
+
dirty: boolean;
|
|
1756
|
+
}>) => void;
|
|
1757
|
+
/**
|
|
1758
|
+
* Emitted whenever the value changes. Used by framework wrappers for 2-way binding.
|
|
1759
|
+
*/
|
|
1760
|
+
"onValueChange"?: (event: BdsTextFieldCustomEvent<string>) => void;
|
|
1761
|
+
/**
|
|
1762
|
+
* Regex the value must match to pass `patternMismatch` validation. Also forwarded as the native `pattern` attribute to the inner `<input>`. Empty string disables pattern validation.
|
|
1763
|
+
* @default ''
|
|
1764
|
+
*/
|
|
1765
|
+
"pattern"?: string;
|
|
1766
|
+
/**
|
|
1767
|
+
* Native `placeholder` attribute forwarded to the inner `<input>`.
|
|
1768
|
+
* @default ''
|
|
1769
|
+
*/
|
|
1770
|
+
"placeholder"?: string;
|
|
1771
|
+
/**
|
|
1772
|
+
* Makes the input read-only. The value is still submitted with the form.
|
|
1773
|
+
* @default false
|
|
1774
|
+
*/
|
|
1775
|
+
"readOnly"?: boolean;
|
|
1776
|
+
/**
|
|
1777
|
+
* Marks the input as required for form validation.
|
|
1778
|
+
* @default false
|
|
1779
|
+
*/
|
|
1780
|
+
"required"?: boolean;
|
|
1781
|
+
/**
|
|
1782
|
+
* Sublabel rendered inside the input container, before the text area.
|
|
1783
|
+
* @default ''
|
|
1784
|
+
*/
|
|
1785
|
+
"sublabel"?: string;
|
|
1786
|
+
/**
|
|
1787
|
+
* The input type. Use `'password'` to enable the visibility toggle.
|
|
1788
|
+
* @default TEXT_FIELD_TYPES.TEXT
|
|
1789
|
+
*/
|
|
1790
|
+
"type"?: TextFieldType;
|
|
1791
|
+
/**
|
|
1792
|
+
* Controls when built-in validation runs: `'blur'` | `'input'` | `'submit'` | `'change'`.
|
|
1793
|
+
* @default TEXT_FIELD_VALIDATION_TIMING.BLUR
|
|
1794
|
+
*/
|
|
1795
|
+
"validationTiming"?: TextFieldValidationTiming;
|
|
1796
|
+
/**
|
|
1797
|
+
* The current value of the input.
|
|
1798
|
+
* @default ''
|
|
1799
|
+
*/
|
|
1800
|
+
"value"?: string;
|
|
1801
|
+
/**
|
|
1802
|
+
* Visual style of the input container. `'outline'` shows a border; `'plain'` hides it at rest.
|
|
1803
|
+
* @default TEXT_FIELD_VARIANTS.OUTLINE
|
|
1804
|
+
*/
|
|
1805
|
+
"variant"?: TextFieldVariant;
|
|
1806
|
+
}
|
|
1807
|
+
/**
|
|
1808
|
+
* Tooltip component that displays a short label anchored to a trigger element on hover.
|
|
1809
|
+
* @summary Displays a floating tooltip anchored to a trigger element on mouseenter/mouseleave,
|
|
1810
|
+
* with configurable placement, optional arrow, and multiline support.
|
|
1811
|
+
* @attr {boolean} disabled - When true, prevents the tooltip from being shown.
|
|
1812
|
+
* @attr {boolean} multiline - When true, allows the tooltip content to wrap across multiple lines.
|
|
1813
|
+
* @attr {Partial<FloatingTooltipProp>} floating-options - Configuration object for floating behavior.
|
|
1814
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
1815
|
+
* @csspart tooltip-content - The inner content wrapper inside the tooltip.
|
|
1816
|
+
* @cssprop data-placement - Reflects the resolved placement on the tooltip container element.
|
|
1817
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option on the tooltip container element.
|
|
1818
|
+
* @cssprop data-multiline - Reflects the multiline prop on the tooltip container element.
|
|
1819
|
+
*/
|
|
1820
|
+
interface BdsTooltip {
|
|
1821
|
+
/**
|
|
1822
|
+
* If true, disables the tooltip.
|
|
1823
|
+
* @default false
|
|
1824
|
+
*/
|
|
1825
|
+
"disabled"?: ITooltip['disabled'];
|
|
1826
|
+
/**
|
|
1827
|
+
* Override default options for the floating mixin. This can be overridden by passing a different object to the `floatingOptions` prop.
|
|
1828
|
+
* @default {}
|
|
1829
|
+
*/
|
|
1830
|
+
"floatingOptions"?: Partial<FloatingTooltipProp>;
|
|
1831
|
+
/**
|
|
1832
|
+
* If true, allows multiline content in the tooltip.
|
|
1833
|
+
* @default false
|
|
1834
|
+
*/
|
|
1835
|
+
"multiline"?: ITooltip['multiline'];
|
|
1836
|
+
}
|
|
519
1837
|
/**
|
|
520
1838
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
521
1839
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
@@ -642,9 +1960,9 @@ declare namespace LocalJSX {
|
|
|
642
1960
|
}
|
|
643
1961
|
|
|
644
1962
|
interface BdsBannerAttributes {
|
|
645
|
-
"idComponent": string;
|
|
646
1963
|
"variant": IBanner['variant'];
|
|
647
|
-
"
|
|
1964
|
+
"closable": boolean;
|
|
1965
|
+
"closeButtonLabel": IBanner['closeButtonLabel'];
|
|
648
1966
|
}
|
|
649
1967
|
interface BdsButtonAttributes {
|
|
650
1968
|
"label": IButton['label'];
|
|
@@ -657,6 +1975,82 @@ declare namespace LocalJSX {
|
|
|
657
1975
|
"loading": IButton['loading'];
|
|
658
1976
|
"disclosure": IButton['disclosure'];
|
|
659
1977
|
}
|
|
1978
|
+
interface BdsCheckboxAttributes {
|
|
1979
|
+
"name": string;
|
|
1980
|
+
"disabled": boolean;
|
|
1981
|
+
"required": boolean;
|
|
1982
|
+
"checked": boolean;
|
|
1983
|
+
"indeterminate": boolean;
|
|
1984
|
+
"error": boolean;
|
|
1985
|
+
"value": string;
|
|
1986
|
+
"label": string;
|
|
1987
|
+
}
|
|
1988
|
+
interface BdsDialogAttributes {
|
|
1989
|
+
"active": IDialog['active'];
|
|
1990
|
+
"preventClose": IDialog['preventClose'];
|
|
1991
|
+
"height": IDialog['height'];
|
|
1992
|
+
"width": IDialog['width'];
|
|
1993
|
+
"layout": IDialog['layout'];
|
|
1994
|
+
"contentPadding": IDialog['contentPadding'];
|
|
1995
|
+
"backdropClose": IDialog['backdropClose'];
|
|
1996
|
+
"escapeClose": IDialog['escapeClose'];
|
|
1997
|
+
"size": IDialog['size'];
|
|
1998
|
+
"variant": IDialog['variant'];
|
|
1999
|
+
"titleDialog": IDialog['titleDialog'];
|
|
2000
|
+
"maximizable": IDialog['maximizable'];
|
|
2001
|
+
"closable": IDialog['closable'];
|
|
2002
|
+
}
|
|
2003
|
+
interface BdsFlagAttributes {
|
|
2004
|
+
"alignFlag": IFlag['alignFlag'];
|
|
2005
|
+
"callSign": IFlag['callSign'];
|
|
2006
|
+
"country": IFlag['country'];
|
|
2007
|
+
"identifier": IFlag['identifier'];
|
|
2008
|
+
"label": IFlag['label'];
|
|
2009
|
+
"shape": IFlag['shape'];
|
|
2010
|
+
"shortName": IFlag['shortName'];
|
|
2011
|
+
}
|
|
2012
|
+
interface BdsPopoverAttributes {
|
|
2013
|
+
"disabled": IPopover['disabled'];
|
|
2014
|
+
"width": string;
|
|
2015
|
+
"header": boolean;
|
|
2016
|
+
"footer": boolean;
|
|
2017
|
+
"closable": boolean;
|
|
2018
|
+
}
|
|
2019
|
+
interface BdsSpinnerAttributes {
|
|
2020
|
+
"size": ISpinner['size'];
|
|
2021
|
+
"label": ISpinner['label'];
|
|
2022
|
+
}
|
|
2023
|
+
interface BdsTextFieldAttributes {
|
|
2024
|
+
"name": string;
|
|
2025
|
+
"disabled": boolean;
|
|
2026
|
+
"required": boolean;
|
|
2027
|
+
"value": string;
|
|
2028
|
+
"error": boolean;
|
|
2029
|
+
"errorMessage": string;
|
|
2030
|
+
"validationTiming": TextFieldValidationTiming;
|
|
2031
|
+
"type": TextFieldType;
|
|
2032
|
+
"variant": TextFieldVariant;
|
|
2033
|
+
"placeholder": string;
|
|
2034
|
+
"readOnly": boolean;
|
|
2035
|
+
"autocomplete": string;
|
|
2036
|
+
"pattern": string;
|
|
2037
|
+
"minLength": number;
|
|
2038
|
+
"maxLength": number;
|
|
2039
|
+
"label": string;
|
|
2040
|
+
"sublabel": string;
|
|
2041
|
+
"icon": string;
|
|
2042
|
+
"helperText": string;
|
|
2043
|
+
"info": string;
|
|
2044
|
+
"clearable": boolean;
|
|
2045
|
+
"clearOnHover": boolean;
|
|
2046
|
+
"charCount": number;
|
|
2047
|
+
"counter": boolean;
|
|
2048
|
+
"customWidth": string;
|
|
2049
|
+
}
|
|
2050
|
+
interface BdsTooltipAttributes {
|
|
2051
|
+
"multiline": ITooltip['multiline'];
|
|
2052
|
+
"disabled": ITooltip['disabled'];
|
|
2053
|
+
}
|
|
660
2054
|
interface BdsTypographyAttributes {
|
|
661
2055
|
"variant": ITypography['variant'];
|
|
662
2056
|
"size": ITypography['size'];
|
|
@@ -678,6 +2072,13 @@ declare namespace LocalJSX {
|
|
|
678
2072
|
interface IntrinsicElements {
|
|
679
2073
|
"bds-banner": Omit<BdsBanner, keyof BdsBannerAttributes> & { [K in keyof BdsBanner & keyof BdsBannerAttributes]?: BdsBanner[K] } & { [K in keyof BdsBanner & keyof BdsBannerAttributes as `attr:${K}`]?: BdsBannerAttributes[K] } & { [K in keyof BdsBanner & keyof BdsBannerAttributes as `prop:${K}`]?: BdsBanner[K] };
|
|
680
2074
|
"bds-button": Omit<BdsButton, keyof BdsButtonAttributes> & { [K in keyof BdsButton & keyof BdsButtonAttributes]?: BdsButton[K] } & { [K in keyof BdsButton & keyof BdsButtonAttributes as `attr:${K}`]?: BdsButtonAttributes[K] } & { [K in keyof BdsButton & keyof BdsButtonAttributes as `prop:${K}`]?: BdsButton[K] };
|
|
2075
|
+
"bds-checkbox": Omit<BdsCheckbox, keyof BdsCheckboxAttributes> & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes]?: BdsCheckbox[K] } & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes as `attr:${K}`]?: BdsCheckboxAttributes[K] } & { [K in keyof BdsCheckbox & keyof BdsCheckboxAttributes as `prop:${K}`]?: BdsCheckbox[K] } & OneOf<"name", BdsCheckbox["name"], BdsCheckboxAttributes["name"]>;
|
|
2076
|
+
"bds-dialog": Omit<BdsDialog, keyof BdsDialogAttributes> & { [K in keyof BdsDialog & keyof BdsDialogAttributes]?: BdsDialog[K] } & { [K in keyof BdsDialog & keyof BdsDialogAttributes as `attr:${K}`]?: BdsDialogAttributes[K] } & { [K in keyof BdsDialog & keyof BdsDialogAttributes as `prop:${K}`]?: BdsDialog[K] };
|
|
2077
|
+
"bds-flag": Omit<BdsFlag, keyof BdsFlagAttributes> & { [K in keyof BdsFlag & keyof BdsFlagAttributes]?: BdsFlag[K] } & { [K in keyof BdsFlag & keyof BdsFlagAttributes as `attr:${K}`]?: BdsFlagAttributes[K] } & { [K in keyof BdsFlag & keyof BdsFlagAttributes as `prop:${K}`]?: BdsFlag[K] };
|
|
2078
|
+
"bds-popover": Omit<BdsPopover, keyof BdsPopoverAttributes> & { [K in keyof BdsPopover & keyof BdsPopoverAttributes]?: BdsPopover[K] } & { [K in keyof BdsPopover & keyof BdsPopoverAttributes as `attr:${K}`]?: BdsPopoverAttributes[K] } & { [K in keyof BdsPopover & keyof BdsPopoverAttributes as `prop:${K}`]?: BdsPopover[K] };
|
|
2079
|
+
"bds-spinner": Omit<BdsSpinner, keyof BdsSpinnerAttributes> & { [K in keyof BdsSpinner & keyof BdsSpinnerAttributes]?: BdsSpinner[K] } & { [K in keyof BdsSpinner & keyof BdsSpinnerAttributes as `attr:${K}`]?: BdsSpinnerAttributes[K] } & { [K in keyof BdsSpinner & keyof BdsSpinnerAttributes as `prop:${K}`]?: BdsSpinner[K] };
|
|
2080
|
+
"bds-text-field": Omit<BdsTextField, keyof BdsTextFieldAttributes> & { [K in keyof BdsTextField & keyof BdsTextFieldAttributes]?: BdsTextField[K] } & { [K in keyof BdsTextField & keyof BdsTextFieldAttributes as `attr:${K}`]?: BdsTextFieldAttributes[K] } & { [K in keyof BdsTextField & keyof BdsTextFieldAttributes as `prop:${K}`]?: BdsTextField[K] };
|
|
2081
|
+
"bds-tooltip": Omit<BdsTooltip, keyof BdsTooltipAttributes> & { [K in keyof BdsTooltip & keyof BdsTooltipAttributes]?: BdsTooltip[K] } & { [K in keyof BdsTooltip & keyof BdsTooltipAttributes as `attr:${K}`]?: BdsTooltipAttributes[K] } & { [K in keyof BdsTooltip & keyof BdsTooltipAttributes as `prop:${K}`]?: BdsTooltip[K] };
|
|
681
2082
|
"bds-typography": Omit<BdsTypography, keyof BdsTypographyAttributes> & { [K in keyof BdsTypography & keyof BdsTypographyAttributes]?: BdsTypography[K] } & { [K in keyof BdsTypography & keyof BdsTypographyAttributes as `attr:${K}`]?: BdsTypographyAttributes[K] } & { [K in keyof BdsTypography & keyof BdsTypographyAttributes as `prop:${K}`]?: BdsTypography[K] };
|
|
682
2083
|
}
|
|
683
2084
|
}
|
|
@@ -689,13 +2090,12 @@ declare module "@stencil/core" {
|
|
|
689
2090
|
* Banner component used to display important messages with different status variants.
|
|
690
2091
|
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
691
2092
|
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
692
|
-
* @attr {boolean}
|
|
693
|
-
* @attr {string} idComponent - Unique identifier for the banner element.
|
|
694
|
-
* @property {string} idComponent - Unique identifier for the banner element.
|
|
2093
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
695
2094
|
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
696
|
-
* @property {boolean}
|
|
697
|
-
* @
|
|
698
|
-
* @
|
|
2095
|
+
* @property {boolean} closable - Shows a close button that allows users to close the banner. Defaults to false.
|
|
2096
|
+
* @property {boolean} closeButtonLabel - Aria label for the close button when visible.
|
|
2097
|
+
* @fires bdsClose - Emitted when the banner is closed via the close button or `closeBanner` method.
|
|
2098
|
+
* @method closeBanner - Programmatic method to close the banner and emit the `bdsClose` event.
|
|
699
2099
|
*/
|
|
700
2100
|
"bds-banner": LocalJSX.IntrinsicElements["bds-banner"] & JSXBase.HTMLAttributes<HTMLBdsBannerElement>;
|
|
701
2101
|
/**
|
|
@@ -731,6 +2131,155 @@ declare module "@stencil/core" {
|
|
|
731
2131
|
* @default false - Default disclosure value
|
|
732
2132
|
*/
|
|
733
2133
|
"bds-button": LocalJSX.IntrinsicElements["bds-button"] & JSXBase.HTMLAttributes<HTMLBdsButtonElement>;
|
|
2134
|
+
/**
|
|
2135
|
+
* Checkbox component for boolean selection with three visual states.
|
|
2136
|
+
* @summary A checkbox form control with default, selected, and indeterminate states.
|
|
2137
|
+
* @property {boolean} checked - Whether the checkbox is selected. Defaults to `false`.
|
|
2138
|
+
* @property {boolean} indeterminate - Whether the checkbox shows an indeterminate ("mixed") visual state. Defaults to `false`.
|
|
2139
|
+
* @property {boolean} error - Shows error styling on the checkbox. Defaults to `false`.
|
|
2140
|
+
* @property {string} value - Value submitted with the form data when checked. Defaults to `"on"`.
|
|
2141
|
+
* @property {string} label - Label displayed next to the checkbox. If not provided, the default slot is used.
|
|
2142
|
+
* @fires valueChange - Emitted when the checked state changes (for 2-way binding / v-model).
|
|
2143
|
+
* @fires bdsChange - Emitted when the user toggles the checkbox. Payload: `{ checked: boolean, value: string }`.
|
|
2144
|
+
*/
|
|
2145
|
+
"bds-checkbox": LocalJSX.IntrinsicElements["bds-checkbox"] & JSXBase.HTMLAttributes<HTMLBdsCheckboxElement>;
|
|
2146
|
+
/**
|
|
2147
|
+
* Modal dialog component for displaying content in an overlay.
|
|
2148
|
+
* @summary Modal overlay for alerts, forms, and confirmations with customizable layout and behavior.
|
|
2149
|
+
* @attr {boolean} active - Controls dialog visibility.
|
|
2150
|
+
* @attr {boolean} prevent-close - Disables closing the dialog.
|
|
2151
|
+
* @attr {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
2152
|
+
* @attr {string} content-padding - Content padding: 'default' or 'none'.
|
|
2153
|
+
* @attr {boolean} backdrop-close - Close on backdrop click.
|
|
2154
|
+
* @attr {boolean} escape-close - Close on Escape key.
|
|
2155
|
+
* @attr {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
2156
|
+
* @attr {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
2157
|
+
* @attr {string} title-dialog - Dialog title text.
|
|
2158
|
+
* @attr {boolean} maximizable - Show maximize button.
|
|
2159
|
+
* @attr {boolean} closable - Show close button.
|
|
2160
|
+
* @attr {string} width - Custom width for the dialog.
|
|
2161
|
+
* @attr {string} height - Custom height for the dialog.
|
|
2162
|
+
* @property {boolean} active - Controls whether the dialog is open.
|
|
2163
|
+
* @property {boolean} preventClose - Disables closing the dialog.
|
|
2164
|
+
* @property {string} height - Custom height for the dialog.
|
|
2165
|
+
* @property {string} width - Custom width for the dialog.
|
|
2166
|
+
* @property {string} layout - Layout type: 'default', 'headerless', or 'footerless'.
|
|
2167
|
+
* @property {string} contentPadding - Content padding: 'default' or 'none'.
|
|
2168
|
+
* @property {boolean} backdropClose - Close dialog when clicking the backdrop.
|
|
2169
|
+
* @property {boolean} escapeClose - Close dialog when pressing Escape.
|
|
2170
|
+
* @property {string} size - Dialog size: 'sm', 'md', 'lg', or 'full'.
|
|
2171
|
+
* @property {string} variant - Visual variant: 'default', 'info', 'success', 'warning', or 'danger'.
|
|
2172
|
+
* @property {string} titleDialog - Title text displayed in the header.
|
|
2173
|
+
* @property {boolean} maximizable - Show maximize button.
|
|
2174
|
+
* @property {boolean} closable - Hide the close button in the header.
|
|
2175
|
+
* @fires bdsOpen - Emitted when the dialog opens.
|
|
2176
|
+
* @fires bdsClose - Emitted when the dialog closes.
|
|
2177
|
+
* @fires bdsMaximize - Emitted when the maximize button is clicked.
|
|
2178
|
+
* @cssprop --bds-dialog-width - Custom width for the dialog.
|
|
2179
|
+
* @cssprop --bds-dialog-height - Custom height for the dialog.
|
|
2180
|
+
*/
|
|
2181
|
+
"bds-dialog": LocalJSX.IntrinsicElements["bds-dialog"] & JSXBase.HTMLAttributes<HTMLBdsDialogElement>;
|
|
2182
|
+
/**
|
|
2183
|
+
* Flag component used to display a country flag together with its corresponding label.
|
|
2184
|
+
* @summary Renders a flag icon based on a country identifier and optionally displays
|
|
2185
|
+
* the country name, short name, or call sign. Supports custom flag sources, different
|
|
2186
|
+
* shapes, and flag alignment on either side of the label.
|
|
2187
|
+
* @attr {boolean} label - When true, displays a textual label next to the flag.
|
|
2188
|
+
* @attr {boolean} short-name - When true, displays the abbreviated country name (ISO2/ISO3) instead of the full name.
|
|
2189
|
+
* @attr {boolean} call-sign - When true, displays the country calling code next to the label.
|
|
2190
|
+
* @attr {string} country - Country value used to resolve the flag and label.
|
|
2191
|
+
* @attr {AlignFlag} align-flag - Controls whether the flag is rendered on the left or right side.
|
|
2192
|
+
* @attr {FlagIdentifier} identifier - Defines which country field is used to resolve the value.
|
|
2193
|
+
* @attr {Shape} shape - Visual shape of the rendered flag.
|
|
2194
|
+
* @attr {ICountry[]} custom-flags - Additional custom flag definitions that can override defaults.
|
|
2195
|
+
* @property {boolean} label - Whether the country label should be displayed. Defaults to false.
|
|
2196
|
+
* @property {boolean} shortName - Whether to display the abbreviated country name. Defaults to false.
|
|
2197
|
+
* @property {boolean} callSign - Whether to display the country calling code. Defaults to false.
|
|
2198
|
+
* @property {string} country - Country value used to find the matching flag entry. Defaults to ''.
|
|
2199
|
+
* @property {AlignFlag} alignFlag - Position of the flag relative to the label. Defaults to `AlignFlag.LEFT`.
|
|
2200
|
+
* @property {FlagIdentifier} identifier - Identifier used to resolve the country value. Defaults to `FlagIdentifier.CODE`.
|
|
2201
|
+
* @property {Shape} shape - Shape variant used for the flag. Defaults to `Shape.RECTANGLE`.
|
|
2202
|
+
* @property {ICountry[]} customFlags - List of custom flag definitions merged with the default catalog. Defaults to `[]`.
|
|
2203
|
+
*/
|
|
2204
|
+
"bds-flag": LocalJSX.IntrinsicElements["bds-flag"] & JSXBase.HTMLAttributes<HTMLBdsFlagElement>;
|
|
2205
|
+
/**
|
|
2206
|
+
* @attr {boolean} disabled - When true, prevents the popover from being shown.
|
|
2207
|
+
* @attr {number | 'full' | 'auto'} width - Controls the width of the popover content.
|
|
2208
|
+
* @attr {boolean} header - When true, displays the popover header.
|
|
2209
|
+
* @attr {boolean} footer - When true, displays the popover footer.
|
|
2210
|
+
* @attr {boolean} closable - When true, displays the close button in the header.
|
|
2211
|
+
* @attr {IPopoverFloatingOptions} floatingOptions - Configuration object for floating behavior.
|
|
2212
|
+
* @csspart popover-content - The main popover container element.
|
|
2213
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
2214
|
+
* @csspart popover-trigger - The trigger element for the popover.
|
|
2215
|
+
* @cssprop data-placement - Reflects the resolved placement on the popover element.
|
|
2216
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option.
|
|
2217
|
+
*/
|
|
2218
|
+
"bds-popover": LocalJSX.IntrinsicElements["bds-popover"] & JSXBase.HTMLAttributes<HTMLBdsPopoverElement>;
|
|
2219
|
+
/**
|
|
2220
|
+
* Spinner component used to indicate a loading or processing state.
|
|
2221
|
+
* @summary Displays an animated circular spinner to communicate that content is loading.
|
|
2222
|
+
* @attr {"small"|"medium"|"large"} size - Size of the spinner. Defaults to "small".
|
|
2223
|
+
* @attr {string} label - Accessible label announced by screen readers. Defaults to "Loading".
|
|
2224
|
+
* @property {"small"|"medium"|"large"} size - Controls the visual size of the spinner.
|
|
2225
|
+
* @property {string} label - Text used as the accessible label for screen readers.
|
|
2226
|
+
*/
|
|
2227
|
+
"bds-spinner": LocalJSX.IntrinsicElements["bds-spinner"] & JSXBase.HTMLAttributes<HTMLBdsSpinnerElement>;
|
|
2228
|
+
/**
|
|
2229
|
+
* Text field component for user input with validation and form integration.
|
|
2230
|
+
* @summary Single-line text input with label, validation, password toggle, and clear action.
|
|
2231
|
+
* @attr {string} name - The name submitted with the form.
|
|
2232
|
+
* @attr {string} value - The current value of the input.
|
|
2233
|
+
* @attr {boolean} disabled - Disables the input.
|
|
2234
|
+
* @attr {boolean} required - Marks the input as required.
|
|
2235
|
+
* @attr {boolean} error - Applies the error visual state.
|
|
2236
|
+
* @attr {"text"|"password"} type - Input type.
|
|
2237
|
+
* @attr {"outline"|"plain"} variant - Visual style of the container.
|
|
2238
|
+
* @attr {boolean} readonly - Makes the input read-only. The value is still submitted with the form.
|
|
2239
|
+
* @property {string} label - Label text rendered above the input.
|
|
2240
|
+
* @property {string} sublabel - Sublabel rendered inside the input container, before the text area.
|
|
2241
|
+
* @property {string} placeholder - Native placeholder forwarded to the inner `<input>`.
|
|
2242
|
+
* @property {string} helperText - Assistive text shown below the input when there is no error.
|
|
2243
|
+
* @property {string} errorMessage - Error message shown below the input when `error` is `true`. Replaces `helperText`.
|
|
2244
|
+
* @property {string} info - Tooltip content attached to the label.
|
|
2245
|
+
* @property {string} icon - Icon font class rendered beside the sublabel inside the container (e.g. `bds-icon-settings`).
|
|
2246
|
+
* @property {boolean} clearable - Shows a clear button when the input has a value.
|
|
2247
|
+
* @property {boolean} clearOnHover - Shows a clear button that is hidden at rest and revealed on hover.
|
|
2248
|
+
* @property {boolean} readOnly - Makes the input readonly. The value is still submitted with the form.
|
|
2249
|
+
* @property {string} autocomplete - Native `autocomplete` attribute forwarded to the inner `<input>`.
|
|
2250
|
+
* @property {string} pattern - Native `pattern` attribute forwarded to the inner `<input>`.
|
|
2251
|
+
* @property {number} minLength - Minimum character count. `0` means no minimum.
|
|
2252
|
+
* @property {number} maxLength - Maximum character count. `0` means no maximum.
|
|
2253
|
+
* @property {boolean} counter - Enables the character counter in the footer. Requires `charCount`.
|
|
2254
|
+
* @property {number} charCount - Maximum character count shown in the footer counter (e.g. `120` → `"45/120"`). Requires `counter`.
|
|
2255
|
+
* @property {IFormValidator[]} customValidators - Additional validators merged with the built-in ones.
|
|
2256
|
+
* @property {"blur"|"input"|"submit"|"change"} validationTiming - When built-in validation runs.
|
|
2257
|
+
* @property {string} pattern - Regex the value must match to pass `patternMismatch` validation. Also forwarded as the native `pattern` attribute to the inner `<input>`. Empty string disables pattern validation.
|
|
2258
|
+
* @property {string} customWidth - Sets a custom width via the `--bds-text-field-width` CSS custom property.
|
|
2259
|
+
* @fires valueChange - Emitted on every value change; used for framework 2-way binding.
|
|
2260
|
+
* @fires bdsInput - Emitted on every keystroke with `{ value, event }`.
|
|
2261
|
+
* @fires bdsChange - Emitted when focus leaves after the value changed, with `{ value, event }`.
|
|
2262
|
+
* @fires bdsFocus - Emitted when the input gains focus, with `{ event }`.
|
|
2263
|
+
* @fires bdsBlur - Emitted when the input loses focus, with `{ event }`.
|
|
2264
|
+
* @fires bdsClear - Emitted when the user activates the clear button.
|
|
2265
|
+
* @fires bdsValidationChange - Emitted after each validation run with `{ valid, validity, value, touched, dirty }`.
|
|
2266
|
+
* @cssprop --bds-text-field-width - Sets a custom width for the component.
|
|
2267
|
+
*/
|
|
2268
|
+
"bds-text-field": LocalJSX.IntrinsicElements["bds-text-field"] & JSXBase.HTMLAttributes<HTMLBdsTextFieldElement>;
|
|
2269
|
+
/**
|
|
2270
|
+
* Tooltip component that displays a short label anchored to a trigger element on hover.
|
|
2271
|
+
* @summary Displays a floating tooltip anchored to a trigger element on mouseenter/mouseleave,
|
|
2272
|
+
* with configurable placement, optional arrow, and multiline support.
|
|
2273
|
+
* @attr {boolean} disabled - When true, prevents the tooltip from being shown.
|
|
2274
|
+
* @attr {boolean} multiline - When true, allows the tooltip content to wrap across multiple lines.
|
|
2275
|
+
* @attr {Partial<FloatingTooltipProp>} floating-options - Configuration object for floating behavior.
|
|
2276
|
+
* @csspart arrow - The arrow element pointing toward the trigger.
|
|
2277
|
+
* @csspart tooltip-content - The inner content wrapper inside the tooltip.
|
|
2278
|
+
* @cssprop data-placement - Reflects the resolved placement on the tooltip container element.
|
|
2279
|
+
* @cssprop data-hidearrow - Reflects the hideArrow option on the tooltip container element.
|
|
2280
|
+
* @cssprop data-multiline - Reflects the multiline prop on the tooltip container element.
|
|
2281
|
+
*/
|
|
2282
|
+
"bds-tooltip": LocalJSX.IntrinsicElements["bds-tooltip"] & JSXBase.HTMLAttributes<HTMLBdsTooltipElement>;
|
|
734
2283
|
/**
|
|
735
2284
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
736
2285
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|