@telesign/boreal-web-components 0.1.0-alpha.1 → 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.d.ts +11 -0
- package/components-build/bds-button.js +1 -0
- 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 +2532 -32
- 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-69d89caa.entry.js → p-07a933df.entry.js} +1 -1
- 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-RPVEtBdj.js → attributes-wIHueigW.js} +1 -9
- package/dist/cjs/bds-banner.cjs.entry.js +20 -39
- package/dist/cjs/bds-button.cjs.entry.js +154 -0
- 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 +11 -10
- 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-Cdb66Tqj.js → index-BcSjvXJk.js} +85 -7
- package/dist/cjs/internals-X77qKxsK.js +115 -0
- package/dist/cjs/loader.cjs.js +2 -2
- package/dist/cjs/states-iIYiazaM.js +16 -0
- package/dist/cjs/validateProps-BNOBk1Xs.js +20 -0
- package/dist/collection/collection-manifest.json +8 -0
- package/dist/collection/components/actions/bds-button/bds-button.css +495 -0
- package/dist/collection/components/actions/bds-button/bds-button.js +458 -0
- package/dist/collection/components/actions/bds-button/types/IButton.js +1 -0
- package/dist/collection/components/actions/bds-button/types/enum.js +15 -0
- package/dist/collection/components/actions/bds-button/types/types.js +1 -0
- 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 +5 -5
- package/dist/collection/components/titles-text/bds-typography/utils/bds-typography-utils.js +5 -5
- 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/coreColors.js +6 -0
- package/dist/collection/types/position.js +6 -0
- package/dist/collection/types/states.js +1 -1
- 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/helpers/validateProps.js +16 -0
- package/dist/collection/utils/index.js +3 -0
- package/dist/esm/anchored.mixin-Y3MkGc2X.js +2054 -0
- package/dist/esm/{attributes-B9wshZ_4.js → attributes-CaHOghy5.js} +1 -8
- package/dist/esm/bds-banner.entry.js +19 -38
- package/dist/esm/bds-button.entry.js +152 -0
- 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 +11 -10
- 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-DgFiTd6X.js → index-D4EFsvs1.js} +83 -8
- package/dist/esm/internals-Dy7QKP9e.js +111 -0
- package/dist/esm/loader.js +3 -3
- package/dist/esm/states-BhTPNsBb.js +13 -0
- package/dist/esm/validateProps-vfAIdwy0.js +18 -0
- package/dist/esm-es5/anchored.mixin-Y3MkGc2X.js +1 -0
- package/{components-build/p-B9wshZ_4.js → dist/esm-es5/attributes-CaHOghy5.js} +1 -1
- package/dist/esm-es5/bds-banner.entry.js +1 -1
- package/dist/esm-es5/bds-button.entry.js +1 -0
- 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 +90 -0
- package/dist/types/components/actions/bds-button/types/IButton.d.ts +14 -0
- package/dist/types/components/actions/bds-button/types/enum.d.ts +16 -0
- package/dist/types/components/actions/bds-button/types/types.d.ts +5 -0
- 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/titles-text/bds-typography/types/ITypography.d.ts +2 -2
- package/dist/types/components/titles-text/bds-typography/utils/bds-typography-utils.d.ts +2 -2
- package/dist/types/components.d.ts +2048 -232
- 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/coreColors.d.ts +8 -0
- package/dist/types/types/form.d.ts +0 -1
- package/dist/types/types/position.d.ts +7 -0
- package/dist/types/types/states.d.ts +2 -2
- 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/helpers/validateProps.d.ts +11 -0
- package/dist/types/utils/index.d.ts +3 -0
- package/package.json +4 -3
- package/dist/boreal-web-components/p-B9wshZ_4.js +0 -1
- package/dist/boreal-web-components/p-BQdH0ijK.system.js +0 -2
- package/dist/boreal-web-components/p-CMd-Mv-5.system.js +0 -1
- package/dist/boreal-web-components/p-CaVEtaG3.system.js +0 -1
- package/dist/boreal-web-components/p-DgFiTd6X.js +0 -2
- package/dist/boreal-web-components/p-c3c558d2.system.entry.js +0 -1
- package/dist/boreal-web-components/p-d596406b.entry.js +0 -1
- package/dist/boreal-web-components/p-e37e7dba.system.entry.js +0 -1
- package/dist/esm-es5/attributes-B9wshZ_4.js +0 -1
- package/dist/esm-es5/index-DgFiTd6X.js +0 -2
|
@@ -6,293 +6,1833 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
8
|
import { IBanner } from "./components/feedback/bds-banner/types/IBanner";
|
|
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";
|
|
9
20
|
import { ITypography } from "./components/titles-text/bds-typography/types/ITypography";
|
|
10
21
|
export { IBanner } from "./components/feedback/bds-banner/types/IBanner";
|
|
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";
|
|
11
33
|
export { ITypography } from "./components/titles-text/bds-typography/types/ITypography";
|
|
12
34
|
export namespace Components {
|
|
13
35
|
/**
|
|
14
36
|
* Banner component used to display important messages with different status variants.
|
|
15
37
|
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
16
38
|
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
17
|
-
* @attr {boolean}
|
|
18
|
-
* @attr {string} idComponent - Unique identifier for the banner element.
|
|
19
|
-
* @property {string} idComponent - Unique identifier for the banner element.
|
|
39
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
20
40
|
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
21
|
-
* @property {boolean}
|
|
22
|
-
* @
|
|
23
|
-
* @
|
|
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.
|
|
24
45
|
*/
|
|
25
46
|
interface BdsBanner {
|
|
26
47
|
/**
|
|
27
|
-
*
|
|
48
|
+
* Shows a close button that allows users to close the banner.
|
|
49
|
+
* @default false
|
|
50
|
+
*/
|
|
51
|
+
"closable": boolean;
|
|
52
|
+
/**
|
|
53
|
+
* Programmatic method to close the banner and emit the `bdsClose` event
|
|
54
|
+
*/
|
|
55
|
+
"closeBanner": () => Promise<void>;
|
|
56
|
+
/**
|
|
57
|
+
* The aria label for the close button.
|
|
58
|
+
* @default ""
|
|
59
|
+
*/
|
|
60
|
+
"closeButtonLabel": IBanner['closeButtonLabel'];
|
|
61
|
+
/**
|
|
62
|
+
* Visual style variant: 'info', 'success', 'warning', or 'danger'.
|
|
63
|
+
* @default "info"
|
|
64
|
+
*/
|
|
65
|
+
"variant": IBanner['variant'];
|
|
66
|
+
}
|
|
67
|
+
/**
|
|
68
|
+
* Button component for user interactions, form submissions, supporting various styles, sizes, and states.
|
|
69
|
+
* @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
|
|
70
|
+
* @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
71
|
+
* @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
72
|
+
* @attr {string} name - The name attribute for the button, useful for form submissions.
|
|
73
|
+
* @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
74
|
+
* @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
75
|
+
* @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
76
|
+
* @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
77
|
+
* @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
78
|
+
* @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
79
|
+
* @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
80
|
+
* @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
81
|
+
* @property {string} name - The name attribute for the button, useful for form submissions.
|
|
82
|
+
* @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
83
|
+
* @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
84
|
+
* @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
85
|
+
* @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
86
|
+
* @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
87
|
+
* @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
88
|
+
* @default 'button' - Default type value
|
|
89
|
+
* @default 'default' - Default color value
|
|
90
|
+
* @default 'default' - Default variant value
|
|
91
|
+
* @default 'medium' - Default size value
|
|
92
|
+
* @default 'default' - Default status value
|
|
93
|
+
* @default false - Default disabled value
|
|
94
|
+
* @default '' - Default label value
|
|
95
|
+
* @default '' - Default name value
|
|
96
|
+
* @default false - Default loading value
|
|
97
|
+
* @default false - Default disclosure value
|
|
98
|
+
*/
|
|
99
|
+
interface BdsButton {
|
|
100
|
+
/**
|
|
101
|
+
* color is a string attribute. The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
102
|
+
* @default CORE_COLORS.DEFAULT
|
|
103
|
+
*/
|
|
104
|
+
"color": IButton['color'];
|
|
105
|
+
/**
|
|
106
|
+
* disabled is a boolean attribute. Disables the button when true, preventing user interaction and applying disabled styles.
|
|
107
|
+
* @default false
|
|
108
|
+
*/
|
|
109
|
+
"disabled": IButton['disabled'];
|
|
110
|
+
/**
|
|
111
|
+
* disclosure is a boolean attribute. Used to show a chevron down at the of the content
|
|
112
|
+
* @default false
|
|
113
|
+
*/
|
|
114
|
+
"disclosure": IButton['disclosure'];
|
|
115
|
+
/**
|
|
116
|
+
* The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
117
|
+
* @default ''
|
|
118
|
+
*/
|
|
119
|
+
"label": IButton['label'];
|
|
120
|
+
/**
|
|
121
|
+
* loading is a boolean attribute. Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
122
|
+
* @default false
|
|
123
|
+
*/
|
|
124
|
+
"loading": IButton['loading'];
|
|
125
|
+
/**
|
|
126
|
+
* name is a string attribute. The name attribute for the button, useful for form submissions.
|
|
127
|
+
* @default ''
|
|
128
|
+
*/
|
|
129
|
+
"name": IButton['name'];
|
|
130
|
+
/**
|
|
131
|
+
* size is a string attribute. The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
132
|
+
* @default BUTTON_SIZES.MEDIUM
|
|
133
|
+
*/
|
|
134
|
+
"size": IButton['size'];
|
|
135
|
+
/**
|
|
136
|
+
* type is a string attribute. The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
137
|
+
* @default BUTTON_TYPES.BUTTON
|
|
138
|
+
*/
|
|
139
|
+
"type": IButton['type'];
|
|
140
|
+
/**
|
|
141
|
+
* variant is a string attribute. The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
142
|
+
* @default BUTTON_VARIANTS.DEFAULT
|
|
143
|
+
*/
|
|
144
|
+
"variant": IButton['variant'];
|
|
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
|
+
}
|
|
647
|
+
/**
|
|
648
|
+
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
649
|
+
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
650
|
+
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
651
|
+
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
652
|
+
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
653
|
+
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
654
|
+
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
655
|
+
* @attr {boolean} is-required - Shows a required indicator when used with `label` variant.
|
|
656
|
+
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
657
|
+
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
658
|
+
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
659
|
+
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
660
|
+
* @attr {boolean} is-downloadable - Makes the `link` download a file.
|
|
661
|
+
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
662
|
+
* @attr {string} html-for - The for attribute when rendered as a label
|
|
663
|
+
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
664
|
+
* @attr {string} custom-class - Additional custom CSS class
|
|
665
|
+
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
666
|
+
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
667
|
+
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
668
|
+
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
669
|
+
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
670
|
+
* @property {boolean} isRequired - Shows a required indicator when used with `label` variant.
|
|
671
|
+
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
672
|
+
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
673
|
+
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
674
|
+
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
675
|
+
* @property {boolean} isDownloadable - Makes the `link` download a file.
|
|
676
|
+
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
677
|
+
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
678
|
+
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
679
|
+
* @property {string} customClass - Additional custom CSS class
|
|
680
|
+
* @default 'display' - Default variant value
|
|
681
|
+
* @default 'p' - Default element value
|
|
682
|
+
* @default 'start' - Default align value
|
|
683
|
+
* @default 'md' - Default size value
|
|
684
|
+
* @default 'default' - Default state value
|
|
685
|
+
* @default false - Default isRequired state
|
|
686
|
+
* @default false - Default ellipsis state
|
|
687
|
+
* @default 1 - Default maxLines value
|
|
688
|
+
* @default '' - Default href value
|
|
689
|
+
* @default '' - Default target value
|
|
690
|
+
* @default false - Default isDownloadable state
|
|
691
|
+
* @default 'download' - Default filename value
|
|
692
|
+
* @default '' - Default tooltipText value
|
|
693
|
+
*/
|
|
694
|
+
interface BdsTypography {
|
|
695
|
+
/**
|
|
696
|
+
* Text alignment.
|
|
697
|
+
* @default ALIGNMENT.START
|
|
698
|
+
*/
|
|
699
|
+
"align": ITypography['align'];
|
|
700
|
+
/**
|
|
701
|
+
* Additional custom CSS class.
|
|
702
|
+
* @default ''
|
|
703
|
+
*/
|
|
704
|
+
"customClass": string;
|
|
705
|
+
/**
|
|
706
|
+
* HTML tag used for rendering.
|
|
707
|
+
* @default TAG_ELEMENT.P
|
|
708
|
+
*/
|
|
709
|
+
"element": ITypography['element'];
|
|
710
|
+
/**
|
|
711
|
+
* Enables text ellipsis.
|
|
712
|
+
* @default false
|
|
713
|
+
*/
|
|
714
|
+
"ellipsis": ITypography['ellipsis'];
|
|
715
|
+
/**
|
|
716
|
+
* Suggested download filename.
|
|
717
|
+
* @default FILENAME
|
|
718
|
+
*/
|
|
719
|
+
"filename": ITypography['filename'];
|
|
720
|
+
/**
|
|
721
|
+
* Link href when rendered as anchor.
|
|
722
|
+
* @default null
|
|
723
|
+
*/
|
|
724
|
+
"href": ITypography['href'];
|
|
725
|
+
/**
|
|
726
|
+
* For attribute when rendered as a label.
|
|
727
|
+
* @default undefined
|
|
728
|
+
*/
|
|
729
|
+
"htmlFor": ITypography['htmlFor'];
|
|
730
|
+
/**
|
|
731
|
+
* Enables download behavior for anchor.
|
|
732
|
+
* @default false
|
|
733
|
+
*/
|
|
734
|
+
"isDownloadable": ITypography['isDownloadable'];
|
|
735
|
+
/**
|
|
736
|
+
* Marks the field as required.
|
|
737
|
+
* @default false
|
|
738
|
+
*/
|
|
739
|
+
"isRequired": ITypography['isRequired'];
|
|
740
|
+
/**
|
|
741
|
+
* Max lines when ellipsis is enabled.
|
|
742
|
+
* @default 1
|
|
743
|
+
*/
|
|
744
|
+
"maxLines": ITypography['maxLines'];
|
|
745
|
+
/**
|
|
746
|
+
* Typography size token.
|
|
747
|
+
* @default SIZES.M
|
|
748
|
+
*/
|
|
749
|
+
"size": ITypography['size'];
|
|
750
|
+
/**
|
|
751
|
+
* Visual state (if supported by variant).
|
|
752
|
+
* @default COMPONENT_STATES.DEFAULT
|
|
753
|
+
*/
|
|
754
|
+
"state": ITypography['state'];
|
|
755
|
+
/**
|
|
756
|
+
* Anchor target.
|
|
757
|
+
* @default null
|
|
758
|
+
*/
|
|
759
|
+
"target": ITypography['target'];
|
|
760
|
+
/**
|
|
761
|
+
* Tooltip text (variant must support it).
|
|
762
|
+
* @default ''
|
|
763
|
+
*/
|
|
764
|
+
"tooltipText": ITypography['tooltipText'];
|
|
765
|
+
/**
|
|
766
|
+
* Typography visual variant.
|
|
767
|
+
* @default VARIANT_TYPOGRAPHY.DISPLAY
|
|
768
|
+
*/
|
|
769
|
+
"variant": ITypography['variant'];
|
|
770
|
+
}
|
|
771
|
+
}
|
|
772
|
+
export interface BdsBannerCustomEvent<T> extends CustomEvent<T> {
|
|
773
|
+
detail: T;
|
|
774
|
+
target: HTMLBdsBannerElement;
|
|
775
|
+
}
|
|
776
|
+
export interface BdsButtonCustomEvent<T> extends CustomEvent<T> {
|
|
777
|
+
detail: T;
|
|
778
|
+
target: HTMLBdsButtonElement;
|
|
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
|
+
}
|
|
792
|
+
declare global {
|
|
793
|
+
interface HTMLBdsBannerElementEventMap {
|
|
794
|
+
"bdsClose": void;
|
|
795
|
+
}
|
|
796
|
+
/**
|
|
797
|
+
* Banner component used to display important messages with different status variants.
|
|
798
|
+
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
799
|
+
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
800
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
801
|
+
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
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.
|
|
806
|
+
*/
|
|
807
|
+
interface HTMLBdsBannerElement extends Components.BdsBanner, HTMLStencilElement {
|
|
808
|
+
addEventListener<K extends keyof HTMLBdsBannerElementEventMap>(type: K, listener: (this: HTMLBdsBannerElement, ev: BdsBannerCustomEvent<HTMLBdsBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
809
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
810
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
811
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
812
|
+
removeEventListener<K extends keyof HTMLBdsBannerElementEventMap>(type: K, listener: (this: HTMLBdsBannerElement, ev: BdsBannerCustomEvent<HTMLBdsBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
813
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
814
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
815
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
816
|
+
}
|
|
817
|
+
var HTMLBdsBannerElement: {
|
|
818
|
+
prototype: HTMLBdsBannerElement;
|
|
819
|
+
new (): HTMLBdsBannerElement;
|
|
820
|
+
};
|
|
821
|
+
interface HTMLBdsButtonElementEventMap {
|
|
822
|
+
"bdsClick": UIEvent;
|
|
823
|
+
}
|
|
824
|
+
/**
|
|
825
|
+
* Button component for user interactions, form submissions, supporting various styles, sizes, and states.
|
|
826
|
+
* @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
|
|
827
|
+
* @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
828
|
+
* @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
829
|
+
* @attr {string} name - The name attribute for the button, useful for form submissions.
|
|
830
|
+
* @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
831
|
+
* @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
832
|
+
* @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
833
|
+
* @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
834
|
+
* @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
835
|
+
* @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
836
|
+
* @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
837
|
+
* @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
838
|
+
* @property {string} name - The name attribute for the button, useful for form submissions.
|
|
839
|
+
* @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
840
|
+
* @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
841
|
+
* @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
842
|
+
* @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
843
|
+
* @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
844
|
+
* @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
845
|
+
* @default 'button' - Default type value
|
|
846
|
+
* @default 'default' - Default color value
|
|
847
|
+
* @default 'default' - Default variant value
|
|
848
|
+
* @default 'medium' - Default size value
|
|
849
|
+
* @default 'default' - Default status value
|
|
850
|
+
* @default false - Default disabled value
|
|
851
|
+
* @default '' - Default label value
|
|
852
|
+
* @default '' - Default name value
|
|
853
|
+
* @default false - Default loading value
|
|
854
|
+
* @default false - Default disclosure value
|
|
855
|
+
*/
|
|
856
|
+
interface HTMLBdsButtonElement extends Components.BdsButton, HTMLStencilElement {
|
|
857
|
+
addEventListener<K extends keyof HTMLBdsButtonElementEventMap>(type: K, listener: (this: HTMLBdsButtonElement, ev: BdsButtonCustomEvent<HTMLBdsButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
858
|
+
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
859
|
+
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
860
|
+
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
861
|
+
removeEventListener<K extends keyof HTMLBdsButtonElementEventMap>(type: K, listener: (this: HTMLBdsButtonElement, ev: BdsButtonCustomEvent<HTMLBdsButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
862
|
+
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
863
|
+
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
864
|
+
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
865
|
+
}
|
|
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;
|
|
1101
|
+
};
|
|
1102
|
+
/**
|
|
1103
|
+
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
1104
|
+
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
1105
|
+
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
1106
|
+
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
1107
|
+
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
1108
|
+
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
1109
|
+
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
1110
|
+
* @attr {boolean} is-required - Shows a required indicator when used with `label` variant.
|
|
1111
|
+
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
1112
|
+
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
1113
|
+
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
1114
|
+
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
1115
|
+
* @attr {boolean} is-downloadable - Makes the `link` download a file.
|
|
1116
|
+
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
1117
|
+
* @attr {string} html-for - The for attribute when rendered as a label
|
|
1118
|
+
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
1119
|
+
* @attr {string} custom-class - Additional custom CSS class
|
|
1120
|
+
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
1121
|
+
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
1122
|
+
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
1123
|
+
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
1124
|
+
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
1125
|
+
* @property {boolean} isRequired - Shows a required indicator when used with `label` variant.
|
|
1126
|
+
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
1127
|
+
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
1128
|
+
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
1129
|
+
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
1130
|
+
* @property {boolean} isDownloadable - Makes the `link` download a file.
|
|
1131
|
+
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
1132
|
+
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
1133
|
+
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
1134
|
+
* @property {string} customClass - Additional custom CSS class
|
|
1135
|
+
* @default 'display' - Default variant value
|
|
1136
|
+
* @default 'p' - Default element value
|
|
1137
|
+
* @default 'start' - Default align value
|
|
1138
|
+
* @default 'md' - Default size value
|
|
1139
|
+
* @default 'default' - Default state value
|
|
1140
|
+
* @default false - Default isRequired state
|
|
1141
|
+
* @default false - Default ellipsis state
|
|
1142
|
+
* @default 1 - Default maxLines value
|
|
1143
|
+
* @default '' - Default href value
|
|
1144
|
+
* @default '' - Default target value
|
|
1145
|
+
* @default false - Default isDownloadable state
|
|
1146
|
+
* @default 'download' - Default filename value
|
|
1147
|
+
* @default '' - Default tooltipText value
|
|
1148
|
+
*/
|
|
1149
|
+
interface HTMLBdsTypographyElement extends Components.BdsTypography, HTMLStencilElement {
|
|
1150
|
+
}
|
|
1151
|
+
var HTMLBdsTypographyElement: {
|
|
1152
|
+
prototype: HTMLBdsTypographyElement;
|
|
1153
|
+
new (): HTMLBdsTypographyElement;
|
|
1154
|
+
};
|
|
1155
|
+
interface HTMLElementTagNameMap {
|
|
1156
|
+
"bds-banner": HTMLBdsBannerElement;
|
|
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;
|
|
1165
|
+
"bds-typography": HTMLBdsTypographyElement;
|
|
1166
|
+
}
|
|
1167
|
+
}
|
|
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
|
+
|
|
1171
|
+
/**
|
|
1172
|
+
* Banner component used to display important messages with different status variants.
|
|
1173
|
+
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
1174
|
+
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
1175
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
1176
|
+
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
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.
|
|
1181
|
+
*/
|
|
1182
|
+
interface BdsBanner {
|
|
1183
|
+
/**
|
|
1184
|
+
* Shows a close button that allows users to close the banner.
|
|
1185
|
+
* @default false
|
|
1186
|
+
*/
|
|
1187
|
+
"closable"?: boolean;
|
|
1188
|
+
/**
|
|
1189
|
+
* The aria label for the close button.
|
|
1190
|
+
* @default ""
|
|
1191
|
+
*/
|
|
1192
|
+
"closeButtonLabel"?: IBanner['closeButtonLabel'];
|
|
1193
|
+
/**
|
|
1194
|
+
* Emitted when the banner is closed via the close button or closeBanner method.
|
|
1195
|
+
*/
|
|
1196
|
+
"onBdsClose"?: (event: BdsBannerCustomEvent<void>) => void;
|
|
1197
|
+
/**
|
|
1198
|
+
* Visual style variant: 'info', 'success', 'warning', or 'danger'.
|
|
1199
|
+
* @default "info"
|
|
1200
|
+
*/
|
|
1201
|
+
"variant"?: IBanner['variant'];
|
|
1202
|
+
}
|
|
1203
|
+
/**
|
|
1204
|
+
* Button component for user interactions, form submissions, supporting various styles, sizes, and states.
|
|
1205
|
+
* @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
|
|
1206
|
+
* @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
1207
|
+
* @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
1208
|
+
* @attr {string} name - The name attribute for the button, useful for form submissions.
|
|
1209
|
+
* @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
1210
|
+
* @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
1211
|
+
* @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
1212
|
+
* @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
1213
|
+
* @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
1214
|
+
* @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
1215
|
+
* @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
1216
|
+
* @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
1217
|
+
* @property {string} name - The name attribute for the button, useful for form submissions.
|
|
1218
|
+
* @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
1219
|
+
* @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
1220
|
+
* @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
1221
|
+
* @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
1222
|
+
* @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
1223
|
+
* @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
1224
|
+
* @default 'button' - Default type value
|
|
1225
|
+
* @default 'default' - Default color value
|
|
1226
|
+
* @default 'default' - Default variant value
|
|
1227
|
+
* @default 'medium' - Default size value
|
|
1228
|
+
* @default 'default' - Default status value
|
|
1229
|
+
* @default false - Default disabled value
|
|
1230
|
+
* @default '' - Default label value
|
|
1231
|
+
* @default '' - Default name value
|
|
1232
|
+
* @default false - Default loading value
|
|
1233
|
+
* @default false - Default disclosure value
|
|
1234
|
+
*/
|
|
1235
|
+
interface BdsButton {
|
|
1236
|
+
/**
|
|
1237
|
+
* color is a string attribute. The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
1238
|
+
* @default CORE_COLORS.DEFAULT
|
|
1239
|
+
*/
|
|
1240
|
+
"color"?: IButton['color'];
|
|
1241
|
+
/**
|
|
1242
|
+
* disabled is a boolean attribute. Disables the button when true, preventing user interaction and applying disabled styles.
|
|
1243
|
+
* @default false
|
|
1244
|
+
*/
|
|
1245
|
+
"disabled"?: IButton['disabled'];
|
|
1246
|
+
/**
|
|
1247
|
+
* disclosure is a boolean attribute. Used to show a chevron down at the of the content
|
|
1248
|
+
* @default false
|
|
1249
|
+
*/
|
|
1250
|
+
"disclosure"?: IButton['disclosure'];
|
|
1251
|
+
/**
|
|
1252
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
1253
|
+
*/
|
|
1254
|
+
"form"?: string;
|
|
1255
|
+
/**
|
|
1256
|
+
* The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
1257
|
+
* @default ''
|
|
1258
|
+
*/
|
|
1259
|
+
"label"?: IButton['label'];
|
|
1260
|
+
/**
|
|
1261
|
+
* loading is a boolean attribute. Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
1262
|
+
* @default false
|
|
1263
|
+
*/
|
|
1264
|
+
"loading"?: IButton['loading'];
|
|
1265
|
+
/**
|
|
1266
|
+
* name is a string attribute. The name attribute for the button, useful for form submissions.
|
|
1267
|
+
* @default ''
|
|
1268
|
+
*/
|
|
1269
|
+
"name"?: IButton['name'];
|
|
1270
|
+
/**
|
|
1271
|
+
* emit event to click
|
|
1272
|
+
*/
|
|
1273
|
+
"onBdsClick"?: (event: BdsButtonCustomEvent<UIEvent>) => void;
|
|
1274
|
+
/**
|
|
1275
|
+
* size is a string attribute. The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
1276
|
+
* @default BUTTON_SIZES.MEDIUM
|
|
1277
|
+
*/
|
|
1278
|
+
"size"?: IButton['size'];
|
|
1279
|
+
/**
|
|
1280
|
+
* type is a string attribute. The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
1281
|
+
* @default BUTTON_TYPES.BUTTON
|
|
1282
|
+
*/
|
|
1283
|
+
"type"?: IButton['type'];
|
|
1284
|
+
/**
|
|
1285
|
+
* variant is a string attribute. The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
1286
|
+
* @default BUTTON_VARIANTS.DEFAULT
|
|
1287
|
+
*/
|
|
1288
|
+
"variant"?: IButton['variant'];
|
|
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
|
|
28
1651
|
*/
|
|
29
|
-
"
|
|
1652
|
+
"clearOnHover"?: boolean;
|
|
1653
|
+
/**
|
|
1654
|
+
* Shows a clear button when the input has a value.
|
|
1655
|
+
* @default false
|
|
1656
|
+
*/
|
|
1657
|
+
"clearable"?: boolean;
|
|
30
1658
|
/**
|
|
31
|
-
*
|
|
1659
|
+
* Enables the character counter in the footer. Requires `charCount` to be set.
|
|
32
1660
|
* @default false
|
|
33
1661
|
*/
|
|
34
|
-
"
|
|
1662
|
+
"counter"?: boolean;
|
|
1663
|
+
/**
|
|
1664
|
+
* Additional validators merged with the built-in ones.
|
|
1665
|
+
* @default []
|
|
1666
|
+
*/
|
|
1667
|
+
"customValidators"?: IFormValidator[];
|
|
35
1668
|
/**
|
|
36
|
-
*
|
|
1669
|
+
* Sets a custom width via the `--bds-text-field-width` CSS custom property.
|
|
37
1670
|
* @default ''
|
|
38
1671
|
*/
|
|
39
|
-
"
|
|
1672
|
+
"customWidth"?: string;
|
|
40
1673
|
/**
|
|
41
|
-
*
|
|
42
|
-
* @default
|
|
1674
|
+
* Disables the input. Also toggled by `formDisabledCallback` via the mixin.
|
|
1675
|
+
* @default false
|
|
43
1676
|
*/
|
|
44
|
-
"
|
|
45
|
-
}
|
|
46
|
-
/**
|
|
47
|
-
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
48
|
-
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
49
|
-
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
50
|
-
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
51
|
-
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
52
|
-
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
53
|
-
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
54
|
-
* @attr {boolean} is-required - Shows a required indicator when used with `label` variant.
|
|
55
|
-
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
56
|
-
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
57
|
-
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
58
|
-
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
59
|
-
* @attr {boolean} is-downloadable - Makes the `link` download a file.
|
|
60
|
-
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
61
|
-
* @attr {string} html-for - The for attribute when rendered as a label
|
|
62
|
-
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
63
|
-
* @attr {string} custom-class - Additional custom CSS class
|
|
64
|
-
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
65
|
-
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
66
|
-
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
67
|
-
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
68
|
-
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
69
|
-
* @property {boolean} isRequired - Shows a required indicator when used with `label` variant.
|
|
70
|
-
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
71
|
-
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
72
|
-
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
73
|
-
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
74
|
-
* @property {boolean} isDownloadable - Makes the `link` download a file.
|
|
75
|
-
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
76
|
-
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
77
|
-
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
78
|
-
* @property {string} customClass - Additional custom CSS class
|
|
79
|
-
* @default 'display' - Default variant value
|
|
80
|
-
* @default 'p' - Default element value
|
|
81
|
-
* @default 'start' - Default align value
|
|
82
|
-
* @default 'md' - Default size value
|
|
83
|
-
* @default 'default' - Default state value
|
|
84
|
-
* @default false - Default isRequired state
|
|
85
|
-
* @default false - Default ellipsis state
|
|
86
|
-
* @default 1 - Default maxLines value
|
|
87
|
-
* @default '' - Default href value
|
|
88
|
-
* @default '' - Default target value
|
|
89
|
-
* @default false - Default isDownloadable state
|
|
90
|
-
* @default 'download' - Default filename value
|
|
91
|
-
* @default '' - Default tooltipText value
|
|
92
|
-
*/
|
|
93
|
-
interface BdsTypography {
|
|
1677
|
+
"disabled"?: boolean;
|
|
94
1678
|
/**
|
|
95
|
-
*
|
|
96
|
-
* @default
|
|
1679
|
+
* When `true`, applies the error visual state.
|
|
1680
|
+
* @default false
|
|
97
1681
|
*/
|
|
98
|
-
"
|
|
1682
|
+
"error"?: boolean;
|
|
99
1683
|
/**
|
|
100
|
-
*
|
|
1684
|
+
* Message shown below the input when `error` is `true`. Replaces `helperText`.
|
|
101
1685
|
* @default ''
|
|
102
1686
|
*/
|
|
103
|
-
"
|
|
1687
|
+
"errorMessage"?: string;
|
|
104
1688
|
/**
|
|
105
|
-
*
|
|
106
|
-
* @default TAG_ELEMENT.P
|
|
1689
|
+
* The `id` of a `<form>` element to associate this element with.
|
|
107
1690
|
*/
|
|
108
|
-
"
|
|
1691
|
+
"form"?: string;
|
|
109
1692
|
/**
|
|
110
|
-
*
|
|
111
|
-
* @default
|
|
1693
|
+
* Helper text shown below the input when there is no error.
|
|
1694
|
+
* @default ''
|
|
112
1695
|
*/
|
|
113
|
-
"
|
|
1696
|
+
"helperText"?: string;
|
|
114
1697
|
/**
|
|
115
|
-
*
|
|
116
|
-
* @default
|
|
1698
|
+
* Icon font class rendered beside the sublabel inside the container (e.g. `bds-icon-settings`).
|
|
1699
|
+
* @default ''
|
|
117
1700
|
*/
|
|
118
|
-
"
|
|
1701
|
+
"icon"?: string;
|
|
119
1702
|
/**
|
|
120
|
-
*
|
|
121
|
-
* @default
|
|
1703
|
+
* Tooltip content attached to the label. Rendered via `bds-typography` `tooltipText` prop.
|
|
1704
|
+
* @default ''
|
|
122
1705
|
*/
|
|
123
|
-
"
|
|
1706
|
+
"info"?: string;
|
|
124
1707
|
/**
|
|
125
|
-
*
|
|
126
|
-
* @default
|
|
1708
|
+
* Label text rendered above the input.
|
|
1709
|
+
* @default ''
|
|
127
1710
|
*/
|
|
128
|
-
"
|
|
1711
|
+
"label"?: string;
|
|
129
1712
|
/**
|
|
130
|
-
*
|
|
131
|
-
* @default
|
|
1713
|
+
* Maximum character count. `0` means no maximum.
|
|
1714
|
+
* @default 0
|
|
132
1715
|
*/
|
|
133
|
-
"
|
|
1716
|
+
"maxLength"?: number;
|
|
134
1717
|
/**
|
|
135
|
-
*
|
|
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.
|
|
136
1773
|
* @default false
|
|
137
1774
|
*/
|
|
138
|
-
"
|
|
1775
|
+
"readOnly"?: boolean;
|
|
139
1776
|
/**
|
|
140
|
-
*
|
|
141
|
-
* @default
|
|
1777
|
+
* Marks the input as required for form validation.
|
|
1778
|
+
* @default false
|
|
142
1779
|
*/
|
|
143
|
-
"
|
|
1780
|
+
"required"?: boolean;
|
|
144
1781
|
/**
|
|
145
|
-
*
|
|
146
|
-
* @default
|
|
1782
|
+
* Sublabel rendered inside the input container, before the text area.
|
|
1783
|
+
* @default ''
|
|
147
1784
|
*/
|
|
148
|
-
"
|
|
1785
|
+
"sublabel"?: string;
|
|
149
1786
|
/**
|
|
150
|
-
*
|
|
151
|
-
* @default
|
|
1787
|
+
* The input type. Use `'password'` to enable the visibility toggle.
|
|
1788
|
+
* @default TEXT_FIELD_TYPES.TEXT
|
|
152
1789
|
*/
|
|
153
|
-
"
|
|
1790
|
+
"type"?: TextFieldType;
|
|
154
1791
|
/**
|
|
155
|
-
*
|
|
156
|
-
* @default
|
|
1792
|
+
* Controls when built-in validation runs: `'blur'` | `'input'` | `'submit'` | `'change'`.
|
|
1793
|
+
* @default TEXT_FIELD_VALIDATION_TIMING.BLUR
|
|
157
1794
|
*/
|
|
158
|
-
"
|
|
1795
|
+
"validationTiming"?: TextFieldValidationTiming;
|
|
159
1796
|
/**
|
|
160
|
-
*
|
|
1797
|
+
* The current value of the input.
|
|
161
1798
|
* @default ''
|
|
162
1799
|
*/
|
|
163
|
-
"
|
|
1800
|
+
"value"?: string;
|
|
164
1801
|
/**
|
|
165
|
-
*
|
|
166
|
-
* @default
|
|
1802
|
+
* Visual style of the input container. `'outline'` shows a border; `'plain'` hides it at rest.
|
|
1803
|
+
* @default TEXT_FIELD_VARIANTS.OUTLINE
|
|
167
1804
|
*/
|
|
168
|
-
"variant"
|
|
169
|
-
}
|
|
170
|
-
}
|
|
171
|
-
export interface BdsBannerCustomEvent<T> extends CustomEvent<T> {
|
|
172
|
-
detail: T;
|
|
173
|
-
target: HTMLBdsBannerElement;
|
|
174
|
-
}
|
|
175
|
-
declare global {
|
|
176
|
-
interface HTMLBdsBannerElementEventMap {
|
|
177
|
-
"close": void;
|
|
178
|
-
}
|
|
179
|
-
/**
|
|
180
|
-
* Banner component used to display important messages with different status variants.
|
|
181
|
-
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
182
|
-
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
183
|
-
* @attr {boolean} enable-close - When true, renders a close button that triggers the close event.
|
|
184
|
-
* @attr {string} idComponent - Unique identifier for the banner element.
|
|
185
|
-
* @property {string} idComponent - Unique identifier for the banner element.
|
|
186
|
-
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
187
|
-
* @property {boolean} enableClose - Shows a close button that allows users to dismiss the banner. Defaults to false.
|
|
188
|
-
* @fires close - Emitted when the banner is closed via the close button or `closeBanner` method.
|
|
189
|
-
* @method closeBanner - Programmatic method to close the banner and emit the `close` event.
|
|
190
|
-
*/
|
|
191
|
-
interface HTMLBdsBannerElement extends Components.BdsBanner, HTMLStencilElement {
|
|
192
|
-
addEventListener<K extends keyof HTMLBdsBannerElementEventMap>(type: K, listener: (this: HTMLBdsBannerElement, ev: BdsBannerCustomEvent<HTMLBdsBannerElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
193
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
194
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
195
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
196
|
-
removeEventListener<K extends keyof HTMLBdsBannerElementEventMap>(type: K, listener: (this: HTMLBdsBannerElement, ev: BdsBannerCustomEvent<HTMLBdsBannerElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
197
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
198
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
199
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
200
|
-
}
|
|
201
|
-
var HTMLBdsBannerElement: {
|
|
202
|
-
prototype: HTMLBdsBannerElement;
|
|
203
|
-
new (): HTMLBdsBannerElement;
|
|
204
|
-
};
|
|
205
|
-
/**
|
|
206
|
-
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
207
|
-
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|
|
208
|
-
* @attr {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
209
|
-
* @attr {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
210
|
-
* @attr {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
211
|
-
* @attr {string} align - The text alignment. Options: start, center, end, inherit
|
|
212
|
-
* @attr {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
213
|
-
* @attr {boolean} is-required - Shows a required indicator when used with `label` variant.
|
|
214
|
-
* @attr {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
215
|
-
* @attr {number} max-lines - Maximum number of lines to show before truncating with ellipsis.
|
|
216
|
-
* @attr {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
217
|
-
* @attr {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
218
|
-
* @attr {boolean} is-downloadable - Makes the `link` download a file.
|
|
219
|
-
* @attr {string} filename - Suggested filename when downloading a file from the `link`.
|
|
220
|
-
* @attr {string} html-for - The for attribute when rendered as a label
|
|
221
|
-
* @attr {string} tooltip-text - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
222
|
-
* @attr {string} custom-class - Additional custom CSS class
|
|
223
|
-
* @property {string} variant - The variant of the typography for styling the text. Options: label, display, heading, subheading, helper, link, code, caption
|
|
224
|
-
* @property {string} element - Defines the HTML element. For `heading` variant, the text size adjusts to the HTML heading level (`h1` through `h6`).
|
|
225
|
-
* @property {string} state - The state of the typography. Only available for the `helper` and `label` variants. Options: default, error, disabled, hover, active, focus, visited
|
|
226
|
-
* @property {string} align - The text alignment. Options: start, center, end, inherit
|
|
227
|
-
* @property {string} size - The size of the typography. For `display` variant all options are available (`xl`, `lg`, `md`, `sm`), while for `link` variant only `md` and `sm` are available.
|
|
228
|
-
* @property {boolean} isRequired - Shows a required indicator when used with `label` variant.
|
|
229
|
-
* @property {boolean} ellipsis - Truncates text with an ellipsis when it overflows.
|
|
230
|
-
* @property {number} maxLines - Maximum number of lines to show before truncating with ellipsis.
|
|
231
|
-
* @property {string} href - URL when the typography is an `a` element and a `link` variant.
|
|
232
|
-
* @property {string} target - Specifies where to open the link. Options: _self, _blank, _top, _parent
|
|
233
|
-
* @property {boolean} isDownloadable - Makes the `link` download a file.
|
|
234
|
-
* @property {string} filename - Suggested filename when downloading a file from the `link`.
|
|
235
|
-
* @property {string} htmlFor - The for attribute when rendered as a label
|
|
236
|
-
* @property {string} tooltipText - Text to display inside the tooltip when hovering the info icon. Only applicable for `heading`, `subheading`, and `label` variants.
|
|
237
|
-
* @property {string} customClass - Additional custom CSS class
|
|
238
|
-
* @default 'display' - Default variant value
|
|
239
|
-
* @default 'p' - Default element value
|
|
240
|
-
* @default 'start' - Default align value
|
|
241
|
-
* @default 'md' - Default size value
|
|
242
|
-
* @default 'default' - Default state value
|
|
243
|
-
* @default false - Default isRequired state
|
|
244
|
-
* @default false - Default ellipsis state
|
|
245
|
-
* @default 1 - Default maxLines value
|
|
246
|
-
* @default '' - Default href value
|
|
247
|
-
* @default '' - Default target value
|
|
248
|
-
* @default false - Default isDownloadable state
|
|
249
|
-
* @default 'download' - Default filename value
|
|
250
|
-
* @default '' - Default tooltipText value
|
|
251
|
-
*/
|
|
252
|
-
interface HTMLBdsTypographyElement extends Components.BdsTypography, HTMLStencilElement {
|
|
253
|
-
}
|
|
254
|
-
var HTMLBdsTypographyElement: {
|
|
255
|
-
prototype: HTMLBdsTypographyElement;
|
|
256
|
-
new (): HTMLBdsTypographyElement;
|
|
257
|
-
};
|
|
258
|
-
interface HTMLElementTagNameMap {
|
|
259
|
-
"bds-banner": HTMLBdsBannerElement;
|
|
260
|
-
"bds-typography": HTMLBdsTypographyElement;
|
|
1805
|
+
"variant"?: TextFieldVariant;
|
|
261
1806
|
}
|
|
262
|
-
}
|
|
263
|
-
declare namespace LocalJSX {
|
|
264
1807
|
/**
|
|
265
|
-
*
|
|
266
|
-
* @summary Displays a
|
|
267
|
-
*
|
|
268
|
-
* @attr {boolean}
|
|
269
|
-
* @attr {
|
|
270
|
-
* @
|
|
271
|
-
* @
|
|
272
|
-
* @
|
|
273
|
-
* @
|
|
274
|
-
* @
|
|
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.
|
|
275
1819
|
*/
|
|
276
|
-
interface
|
|
1820
|
+
interface BdsTooltip {
|
|
277
1821
|
/**
|
|
278
|
-
*
|
|
1822
|
+
* If true, disables the tooltip.
|
|
279
1823
|
* @default false
|
|
280
1824
|
*/
|
|
281
|
-
"
|
|
282
|
-
/**
|
|
283
|
-
* Unique identifier for the banner element.
|
|
284
|
-
* @default ''
|
|
285
|
-
*/
|
|
286
|
-
"idComponent"?: string;
|
|
1825
|
+
"disabled"?: ITooltip['disabled'];
|
|
287
1826
|
/**
|
|
288
|
-
*
|
|
1827
|
+
* Override default options for the floating mixin. This can be overridden by passing a different object to the `floatingOptions` prop.
|
|
1828
|
+
* @default {}
|
|
289
1829
|
*/
|
|
290
|
-
"
|
|
1830
|
+
"floatingOptions"?: Partial<FloatingTooltipProp>;
|
|
291
1831
|
/**
|
|
292
|
-
*
|
|
293
|
-
* @default
|
|
1832
|
+
* If true, allows multiline content in the tooltip.
|
|
1833
|
+
* @default false
|
|
294
1834
|
*/
|
|
295
|
-
"
|
|
1835
|
+
"multiline"?: ITooltip['multiline'];
|
|
296
1836
|
}
|
|
297
1837
|
/**
|
|
298
1838
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
@@ -399,7 +1939,7 @@ declare namespace LocalJSX {
|
|
|
399
1939
|
"size"?: ITypography['size'];
|
|
400
1940
|
/**
|
|
401
1941
|
* Visual state (if supported by variant).
|
|
402
|
-
* @default
|
|
1942
|
+
* @default COMPONENT_STATES.DEFAULT
|
|
403
1943
|
*/
|
|
404
1944
|
"state"?: ITypography['state'];
|
|
405
1945
|
/**
|
|
@@ -420,9 +1960,96 @@ declare namespace LocalJSX {
|
|
|
420
1960
|
}
|
|
421
1961
|
|
|
422
1962
|
interface BdsBannerAttributes {
|
|
423
|
-
"idComponent": string;
|
|
424
1963
|
"variant": IBanner['variant'];
|
|
425
|
-
"
|
|
1964
|
+
"closable": boolean;
|
|
1965
|
+
"closeButtonLabel": IBanner['closeButtonLabel'];
|
|
1966
|
+
}
|
|
1967
|
+
interface BdsButtonAttributes {
|
|
1968
|
+
"label": IButton['label'];
|
|
1969
|
+
"disabled": IButton['disabled'];
|
|
1970
|
+
"name": IButton['name'];
|
|
1971
|
+
"type": IButton['type'];
|
|
1972
|
+
"color": IButton['color'];
|
|
1973
|
+
"variant": IButton['variant'];
|
|
1974
|
+
"size": IButton['size'];
|
|
1975
|
+
"loading": IButton['loading'];
|
|
1976
|
+
"disclosure": IButton['disclosure'];
|
|
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'];
|
|
426
2053
|
}
|
|
427
2054
|
interface BdsTypographyAttributes {
|
|
428
2055
|
"variant": ITypography['variant'];
|
|
@@ -444,6 +2071,14 @@ declare namespace LocalJSX {
|
|
|
444
2071
|
|
|
445
2072
|
interface IntrinsicElements {
|
|
446
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] };
|
|
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] };
|
|
447
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] };
|
|
448
2083
|
}
|
|
449
2084
|
}
|
|
@@ -455,15 +2090,196 @@ declare module "@stencil/core" {
|
|
|
455
2090
|
* Banner component used to display important messages with different status variants.
|
|
456
2091
|
* @summary Displays a dismissible banner with an icon, title, body content, and optional actions.
|
|
457
2092
|
* @attr {"info"|"success"|"warning"|"danger"} variant - Status variant of the banner, affects color and icon. Defaults to "info".
|
|
458
|
-
* @attr {boolean}
|
|
459
|
-
* @attr {string} idComponent - Unique identifier for the banner element.
|
|
460
|
-
* @property {string} idComponent - Unique identifier for the banner element.
|
|
2093
|
+
* @attr {boolean} closable - When true, renders a close button that triggers the close event.
|
|
461
2094
|
* @property {"info"|"success"|"warning"|"danger"} variant - Visual style variant: 'info', 'success', 'warning', or 'danger'. Defaults to "info".
|
|
462
|
-
* @property {boolean}
|
|
463
|
-
* @
|
|
464
|
-
* @
|
|
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.
|
|
465
2099
|
*/
|
|
466
2100
|
"bds-banner": LocalJSX.IntrinsicElements["bds-banner"] & JSXBase.HTMLAttributes<HTMLBdsBannerElement>;
|
|
2101
|
+
/**
|
|
2102
|
+
* Button component for user interactions, form submissions, supporting various styles, sizes, and states.
|
|
2103
|
+
* @summary A versatile button component that can be customized with different colors, sizes, variants and states to fit various use cases in the application.
|
|
2104
|
+
* @attr {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
2105
|
+
* @attr {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
2106
|
+
* @attr {string} name - The name attribute for the button, useful for form submissions.
|
|
2107
|
+
* @attr {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
2108
|
+
* @attr {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
2109
|
+
* @attr {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
2110
|
+
* @attr {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
2111
|
+
* @attr {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
2112
|
+
* @attr {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
2113
|
+
* @property {string} label - The accessible name for the button, used for screen readers. It should be provided by the user for accessibility purposes.
|
|
2114
|
+
* @property {boolean} disabled - Disables the button when true, preventing user interaction and applying disabled styles.
|
|
2115
|
+
* @property {string} name - The name attribute for the button, useful for form submissions.
|
|
2116
|
+
* @property {string} type - The type of the button, which can be 'button', 'submit', or 'reset'. Default is 'button'.
|
|
2117
|
+
* @property {string} color - The color theme of the button, which can be 'default', 'primary', 'success', or 'error'. Default is 'default'.
|
|
2118
|
+
* @property {string} variant - The visual style of the button, which can be 'default', 'outline', or 'plain'. Default is 'default'.
|
|
2119
|
+
* @property {string} size - The size of the button, which can be 'small', 'medium', or 'large'. Default is 'medium'.
|
|
2120
|
+
* @property {boolean} loading - Indicates whether the button is in a loading state, which can be used to show a loading spinner and disable the button. Default is false.
|
|
2121
|
+
* @property {boolean} disclosure - Indicates if the button should show a chevron down at the end of the content.
|
|
2122
|
+
* @default 'button' - Default type value
|
|
2123
|
+
* @default 'default' - Default color value
|
|
2124
|
+
* @default 'default' - Default variant value
|
|
2125
|
+
* @default 'medium' - Default size value
|
|
2126
|
+
* @default 'default' - Default status value
|
|
2127
|
+
* @default false - Default disabled value
|
|
2128
|
+
* @default '' - Default label value
|
|
2129
|
+
* @default '' - Default name value
|
|
2130
|
+
* @default false - Default loading value
|
|
2131
|
+
* @default false - Default disclosure value
|
|
2132
|
+
*/
|
|
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>;
|
|
467
2283
|
/**
|
|
468
2284
|
* Typography component for displaying text with various styles, sizes, and interactive features.
|
|
469
2285
|
* @summary A comprehensive typography component that supports multiple text variants, sizes, alignments, states, and link functionality.
|