@tabler/core 1.5.1 → 1.6.1
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 +10 -1
- package/dist/css/tabler-flags.css +9 -1
- package/dist/css/tabler-flags.css.map +1 -1
- package/dist/css/tabler-flags.min.css +2 -2
- package/dist/css/tabler-flags.min.css.map +1 -1
- package/dist/css/tabler-flags.rtl.css +9 -1
- package/dist/css/tabler-flags.rtl.css.map +1 -1
- package/dist/css/tabler-flags.rtl.min.css +2 -2
- package/dist/css/tabler-flags.rtl.min.css.map +1 -1
- package/dist/css/tabler-marketing.css +78 -38
- package/dist/css/tabler-marketing.css.map +1 -1
- package/dist/css/tabler-marketing.min.css +2 -2
- package/dist/css/tabler-marketing.min.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.css +78 -38
- package/dist/css/tabler-marketing.rtl.css.map +1 -1
- package/dist/css/tabler-marketing.rtl.min.css +2 -2
- package/dist/css/tabler-marketing.rtl.min.css.map +1 -1
- package/dist/css/tabler-payments.css +5 -1
- package/dist/css/tabler-payments.css.map +1 -1
- package/dist/css/tabler-payments.min.css +1 -1
- package/dist/css/tabler-payments.min.css.map +1 -1
- package/dist/css/tabler-payments.rtl.css +5 -1
- package/dist/css/tabler-payments.rtl.css.map +1 -1
- package/dist/css/tabler-payments.rtl.min.css +1 -1
- package/dist/css/tabler-payments.rtl.min.css.map +1 -1
- package/dist/css/tabler-props.css +207 -241
- package/dist/css/tabler-props.css.map +1 -1
- package/dist/css/tabler-props.min.css +2 -2
- package/dist/css/tabler-props.min.css.map +1 -1
- package/dist/css/tabler-props.rtl.css +207 -241
- package/dist/css/tabler-props.rtl.css.map +1 -1
- package/dist/css/tabler-props.rtl.min.css +2 -2
- package/dist/css/tabler-props.rtl.min.css.map +1 -1
- package/dist/css/tabler-socials.css +5 -1
- package/dist/css/tabler-socials.css.map +1 -1
- package/dist/css/tabler-socials.min.css +1 -1
- package/dist/css/tabler-socials.min.css.map +1 -1
- package/dist/css/tabler-socials.rtl.css +5 -1
- package/dist/css/tabler-socials.rtl.css.map +1 -1
- package/dist/css/tabler-socials.rtl.min.css +1 -1
- package/dist/css/tabler-socials.rtl.min.css.map +1 -1
- package/dist/css/tabler-themes.css +144 -94
- package/dist/css/tabler-themes.css.map +1 -1
- package/dist/css/tabler-themes.min.css +2 -2
- package/dist/css/tabler-themes.min.css.map +1 -1
- package/dist/css/tabler-themes.rtl.css +144 -94
- package/dist/css/tabler-themes.rtl.css.map +1 -1
- package/dist/css/tabler-themes.rtl.min.css +2 -2
- package/dist/css/tabler-themes.rtl.min.css.map +1 -1
- package/dist/css/tabler-vendors.css +203 -83
- package/dist/css/tabler-vendors.css.map +1 -1
- package/dist/css/tabler-vendors.min.css +2 -2
- package/dist/css/tabler-vendors.min.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.css +203 -83
- package/dist/css/tabler-vendors.rtl.css.map +1 -1
- package/dist/css/tabler-vendors.rtl.min.css +2 -2
- package/dist/css/tabler-vendors.rtl.min.css.map +1 -1
- package/dist/css/tabler.css +4370 -5113
- package/dist/css/tabler.css.map +1 -1
- package/dist/css/tabler.min.css +2 -2
- package/dist/css/tabler.min.css.map +1 -1
- package/dist/css/tabler.rtl.css +4925 -5671
- package/dist/css/tabler.rtl.css.map +1 -1
- package/dist/css/tabler.rtl.min.css +2 -2
- package/dist/css/tabler.rtl.min.css.map +1 -1
- package/dist/img/flags/ad.svg +1 -1
- package/dist/img/flags/ae.svg +1 -1
- package/dist/img/flags/af.svg +1 -1
- package/dist/img/flags/afrun.svg +1 -1
- package/dist/img/flags/ag.svg +1 -1
- package/dist/img/flags/ai.svg +1 -1
- package/dist/img/flags/al.svg +1 -1
- package/dist/img/flags/am.svg +1 -1
- package/dist/img/flags/ao.svg +1 -1
- package/dist/img/flags/aq.svg +1 -1
- package/dist/img/flags/ar.svg +1 -1
- package/dist/img/flags/as.svg +1 -1
- package/dist/img/flags/at.svg +1 -1
- package/dist/img/flags/au.svg +1 -1
- package/dist/img/flags/aw.svg +1 -1
- package/dist/img/flags/ax.svg +1 -1
- package/dist/img/flags/az.svg +1 -1
- package/dist/img/flags/ba.svg +1 -1
- package/dist/img/flags/bb.svg +1 -1
- package/dist/img/flags/bd.svg +1 -1
- package/dist/img/flags/be.svg +1 -1
- package/dist/img/flags/bf.svg +1 -1
- package/dist/img/flags/bg.svg +1 -1
- package/dist/img/flags/bh.svg +1 -1
- package/dist/img/flags/bi.svg +1 -1
- package/dist/img/flags/bj.svg +1 -1
- package/dist/img/flags/bl.svg +1 -1
- package/dist/img/flags/bm.svg +1 -1
- package/dist/img/flags/bn.svg +1 -1
- package/dist/img/flags/bo.svg +1 -1
- package/dist/img/flags/bq-bo.svg +1 -1
- package/dist/img/flags/bq-sa.svg +1 -1
- package/dist/img/flags/bq-se.svg +1 -1
- package/dist/img/flags/br.svg +1 -1
- package/dist/img/flags/bs.svg +1 -1
- package/dist/img/flags/bt.svg +1 -1
- package/dist/img/flags/bv.svg +1 -1
- package/dist/img/flags/bw.svg +1 -1
- package/dist/img/flags/by.svg +1 -1
- package/dist/img/flags/bz.svg +1 -1
- package/dist/img/flags/ca.svg +1 -1
- package/dist/img/flags/cc.svg +1 -1
- package/dist/img/flags/cd.svg +1 -1
- package/dist/img/flags/cf.svg +1 -1
- package/dist/img/flags/cg.svg +1 -1
- package/dist/img/flags/ch.svg +1 -1
- package/dist/img/flags/ci.svg +1 -1
- package/dist/img/flags/ck.svg +1 -1
- package/dist/img/flags/cl.svg +1 -1
- package/dist/img/flags/cm.svg +1 -1
- package/dist/img/flags/cn.svg +1 -1
- package/dist/img/flags/co.svg +1 -1
- package/dist/img/flags/cr.svg +1 -1
- package/dist/img/flags/cu.svg +1 -1
- package/dist/img/flags/cv.svg +1 -1
- package/dist/img/flags/cw.svg +1 -1
- package/dist/img/flags/cx.svg +1 -1
- package/dist/img/flags/cy.svg +1 -1
- package/dist/img/flags/cz.svg +1 -1
- package/dist/img/flags/de.svg +1 -1
- package/dist/img/flags/dj.svg +1 -1
- package/dist/img/flags/dk.svg +1 -1
- package/dist/img/flags/dm.svg +1 -1
- package/dist/img/flags/do.svg +1 -1
- package/dist/img/flags/dz.svg +1 -1
- package/dist/img/flags/ec.svg +1 -1
- package/dist/img/flags/ee.svg +1 -1
- package/dist/img/flags/eg.svg +1 -1
- package/dist/img/flags/eh.svg +1 -1
- package/dist/img/flags/er.svg +1 -1
- package/dist/img/flags/es.svg +1 -1
- package/dist/img/flags/et.svg +1 -1
- package/dist/img/flags/eu.svg +1 -1
- package/dist/img/flags/fi.svg +1 -1
- package/dist/img/flags/fj.svg +1 -1
- package/dist/img/flags/fk.svg +1 -1
- package/dist/img/flags/fm.svg +1 -1
- package/dist/img/flags/fo.svg +1 -1
- package/dist/img/flags/fr.svg +1 -1
- package/dist/img/flags/ga.svg +1 -1
- package/dist/img/flags/gb-eng.svg +1 -1
- package/dist/img/flags/gb-nir.svg +1 -1
- package/dist/img/flags/gb-sct.svg +1 -1
- package/dist/img/flags/gb-wls.svg +1 -1
- package/dist/img/flags/gb.svg +1 -1
- package/dist/img/flags/gd.svg +1 -1
- package/dist/img/flags/ge.svg +1 -1
- package/dist/img/flags/gf.svg +1 -1
- package/dist/img/flags/gg.svg +1 -1
- package/dist/img/flags/gh.svg +1 -1
- package/dist/img/flags/gi.svg +1 -1
- package/dist/img/flags/gl.svg +1 -1
- package/dist/img/flags/gm.svg +1 -1
- package/dist/img/flags/gn.svg +1 -1
- package/dist/img/flags/gp.svg +1 -1
- package/dist/img/flags/gq.svg +1 -1
- package/dist/img/flags/gr.svg +1 -1
- package/dist/img/flags/gs.svg +1 -1
- package/dist/img/flags/gt.svg +1 -1
- package/dist/img/flags/gu.svg +1 -1
- package/dist/img/flags/gw.svg +1 -1
- package/dist/img/flags/gy.svg +1 -1
- package/dist/img/flags/hk.svg +1 -1
- package/dist/img/flags/hm.svg +1 -1
- package/dist/img/flags/hn.svg +1 -1
- package/dist/img/flags/hr.svg +1 -1
- package/dist/img/flags/ht.svg +1 -1
- package/dist/img/flags/hu.svg +1 -1
- package/dist/img/flags/id.svg +1 -1
- package/dist/img/flags/ie.svg +1 -1
- package/dist/img/flags/il.svg +1 -1
- package/dist/img/flags/im.svg +1 -1
- package/dist/img/flags/in.svg +1 -1
- package/dist/img/flags/io.svg +1 -1
- package/dist/img/flags/iq.svg +1 -1
- package/dist/img/flags/ir.svg +1 -1
- package/dist/img/flags/is.svg +1 -1
- package/dist/img/flags/it.svg +1 -1
- package/dist/img/flags/je.svg +1 -1
- package/dist/img/flags/jm.svg +1 -1
- package/dist/img/flags/jo.svg +1 -1
- package/dist/img/flags/jp.svg +1 -1
- package/dist/img/flags/ke.svg +1 -1
- package/dist/img/flags/kg.svg +1 -1
- package/dist/img/flags/kh.svg +1 -1
- package/dist/img/flags/ki.svg +1 -1
- package/dist/img/flags/km.svg +1 -1
- package/dist/img/flags/kn-sk.svg +1 -1
- package/dist/img/flags/kn.svg +1 -1
- package/dist/img/flags/kp.svg +1 -1
- package/dist/img/flags/kr.svg +1 -1
- package/dist/img/flags/kw.svg +1 -1
- package/dist/img/flags/ky.svg +1 -1
- package/dist/img/flags/kz.svg +1 -1
- package/dist/img/flags/la.svg +1 -1
- package/dist/img/flags/lb.svg +1 -1
- package/dist/img/flags/lc.svg +1 -1
- package/dist/img/flags/li.svg +1 -1
- package/dist/img/flags/lk.svg +1 -1
- package/dist/img/flags/lr.svg +1 -1
- package/dist/img/flags/ls.svg +1 -1
- package/dist/img/flags/lt.svg +1 -1
- package/dist/img/flags/lu.svg +1 -1
- package/dist/img/flags/lv.svg +1 -1
- package/dist/img/flags/ly.svg +1 -1
- package/dist/img/flags/ma.svg +1 -1
- package/dist/img/flags/mc.svg +1 -1
- package/dist/img/flags/md.svg +1 -1
- package/dist/img/flags/me.svg +1 -1
- package/dist/img/flags/mf.svg +1 -1
- package/dist/img/flags/mg.svg +1 -1
- package/dist/img/flags/mh.svg +1 -1
- package/dist/img/flags/mk.svg +1 -1
- package/dist/img/flags/ml.svg +1 -1
- package/dist/img/flags/mm.svg +1 -1
- package/dist/img/flags/mn.svg +1 -1
- package/dist/img/flags/mo.svg +1 -1
- package/dist/img/flags/mp.svg +1 -1
- package/dist/img/flags/mq.svg +1 -1
- package/dist/img/flags/mr.svg +1 -1
- package/dist/img/flags/ms.svg +1 -1
- package/dist/img/flags/mt.svg +1 -1
- package/dist/img/flags/mu.svg +1 -1
- package/dist/img/flags/mv.svg +1 -1
- package/dist/img/flags/mw.svg +1 -1
- package/dist/img/flags/mx.svg +1 -1
- package/dist/img/flags/my.svg +1 -1
- package/dist/img/flags/mz.svg +1 -1
- package/dist/img/flags/na.svg +1 -1
- package/dist/img/flags/nc.svg +1 -1
- package/dist/img/flags/ne.svg +1 -1
- package/dist/img/flags/nf.svg +1 -1
- package/dist/img/flags/ng.svg +1 -1
- package/dist/img/flags/ni.svg +1 -1
- package/dist/img/flags/nl.svg +1 -1
- package/dist/img/flags/no.svg +1 -1
- package/dist/img/flags/np.svg +1 -1
- package/dist/img/flags/nr.svg +1 -1
- package/dist/img/flags/nu.svg +1 -1
- package/dist/img/flags/nz.svg +1 -1
- package/dist/img/flags/om.svg +1 -1
- package/dist/img/flags/pa.svg +1 -1
- package/dist/img/flags/pe.svg +1 -1
- package/dist/img/flags/pf.svg +1 -1
- package/dist/img/flags/pg.svg +1 -1
- package/dist/img/flags/ph.svg +1 -1
- package/dist/img/flags/pk.svg +1 -1
- package/dist/img/flags/pl.svg +1 -1
- package/dist/img/flags/pm.svg +1 -1
- package/dist/img/flags/pn.svg +1 -1
- package/dist/img/flags/pr.svg +1 -1
- package/dist/img/flags/ps.svg +1 -1
- package/dist/img/flags/pt.svg +1 -1
- package/dist/img/flags/pw.svg +1 -1
- package/dist/img/flags/py.svg +1 -1
- package/dist/img/flags/qa.svg +1 -1
- package/dist/img/flags/rainbow.svg +1 -1
- package/dist/img/flags/re.svg +1 -1
- package/dist/img/flags/ro.svg +1 -1
- package/dist/img/flags/rs.svg +1 -1
- package/dist/img/flags/ru.svg +1 -1
- package/dist/img/flags/rw.svg +1 -1
- package/dist/img/flags/sa.svg +1 -1
- package/dist/img/flags/sb.svg +1 -1
- package/dist/img/flags/sc.svg +1 -1
- package/dist/img/flags/sd.svg +1 -1
- package/dist/img/flags/se.svg +1 -1
- package/dist/img/flags/sg.svg +1 -1
- package/dist/img/flags/sh.svg +1 -1
- package/dist/img/flags/si.svg +1 -1
- package/dist/img/flags/sj.svg +1 -1
- package/dist/img/flags/sk.svg +1 -1
- package/dist/img/flags/sl.svg +1 -1
- package/dist/img/flags/sm.svg +1 -1
- package/dist/img/flags/sn.svg +1 -1
- package/dist/img/flags/so.svg +1 -1
- package/dist/img/flags/sr.svg +1 -1
- package/dist/img/flags/ss.svg +1 -1
- package/dist/img/flags/st.svg +1 -1
- package/dist/img/flags/sv.svg +1 -1
- package/dist/img/flags/sx.svg +1 -1
- package/dist/img/flags/sy.svg +1 -1
- package/dist/img/flags/sz.svg +1 -1
- package/dist/img/flags/tc.svg +1 -1
- package/dist/img/flags/td.svg +1 -1
- package/dist/img/flags/tf.svg +1 -1
- package/dist/img/flags/tg.svg +1 -1
- package/dist/img/flags/th.svg +1 -1
- package/dist/img/flags/tj.svg +1 -1
- package/dist/img/flags/tk.svg +1 -1
- package/dist/img/flags/tl.svg +1 -1
- package/dist/img/flags/tm.svg +1 -1
- package/dist/img/flags/tn.svg +1 -1
- package/dist/img/flags/to.svg +1 -1
- package/dist/img/flags/tr.svg +1 -1
- package/dist/img/flags/tt.svg +1 -1
- package/dist/img/flags/tv.svg +1 -1
- package/dist/img/flags/tw.svg +1 -1
- package/dist/img/flags/tz.svg +1 -1
- package/dist/img/flags/ua.svg +1 -1
- package/dist/img/flags/ug.svg +1 -1
- package/dist/img/flags/um.svg +1 -1
- package/dist/img/flags/unasur.svg +1 -1
- package/dist/img/flags/us.svg +1 -1
- package/dist/img/flags/uy.svg +1 -1
- package/dist/img/flags/uz.svg +1 -1
- package/dist/img/flags/va.svg +1 -1
- package/dist/img/flags/vc.svg +1 -1
- package/dist/img/flags/ve.svg +1 -1
- package/dist/img/flags/vg.svg +1 -1
- package/dist/img/flags/vi.svg +1 -1
- package/dist/img/flags/vn.svg +1 -1
- package/dist/img/flags/vu.svg +1 -1
- package/dist/img/flags/wf.svg +1 -1
- package/dist/img/flags/ws.svg +1 -1
- package/dist/img/flags/ye.svg +1 -1
- package/dist/img/flags/yt.svg +1 -1
- package/dist/img/flags/za.svg +1 -1
- package/dist/img/flags/zm.svg +1 -1
- package/dist/img/flags/zw.svg +1 -1
- package/dist/img/payments/2c2p-dark.svg +1 -5
- package/dist/img/payments/2c2p.svg +1 -5
- package/dist/img/payments/2checkout-dark.svg +1 -4
- package/dist/img/payments/2checkout.svg +1 -4
- package/dist/img/payments/ach-transfer-dark.svg +1 -14
- package/dist/img/payments/ach-transfer.svg +1 -14
- package/dist/img/payments/adyen-dark.svg +1 -8
- package/dist/img/payments/adyen.svg +1 -8
- package/dist/img/payments/affirm-dark.svg +1 -9
- package/dist/img/payments/affirm.svg +1 -9
- package/dist/img/payments/afterpay-dark.svg +1 -13
- package/dist/img/payments/afterpay.svg +1 -13
- package/dist/img/payments/airtm-dark.svg +1 -4
- package/dist/img/payments/airtm.svg +1 -4
- package/dist/img/payments/airwallex-dark.svg +1 -11
- package/dist/img/payments/airwallex.svg +1 -11
- package/dist/img/payments/alipay-dark.svg +1 -12
- package/dist/img/payments/alipay-plus-dark.svg +1 -9
- package/dist/img/payments/alipay-plus.svg +1 -9
- package/dist/img/payments/alipay.svg +1 -12
- package/dist/img/payments/allegro-pay-dark.svg +1 -5
- package/dist/img/payments/allegro-pay.svg +1 -5
- package/dist/img/payments/amazon-dark.svg +1 -6
- package/dist/img/payments/amazon-pay-dark.svg +1 -7
- package/dist/img/payments/amazon-pay.svg +1 -7
- package/dist/img/payments/amazon.svg +1 -6
- package/dist/img/payments/americanexpress-dark.svg +1 -4
- package/dist/img/payments/americanexpress.svg +1 -4
- package/dist/img/payments/ant-group-dark.svg +1 -6
- package/dist/img/payments/ant-group.svg +1 -23
- package/dist/img/payments/applepay-dark.svg +1 -8
- package/dist/img/payments/applepay.svg +1 -8
- package/dist/img/payments/authorize-dark.svg +1 -17
- package/dist/img/payments/authorize.svg +1 -17
- package/dist/img/payments/autopay-dark.svg +1 -11
- package/dist/img/payments/autopay.svg +1 -11
- package/dist/img/payments/bancontact-dark.svg +1 -9
- package/dist/img/payments/bancontact.svg +1 -9
- package/dist/img/payments/bank-of-america-dark.svg +1 -10
- package/dist/img/payments/bank-of-america.svg +1 -10
- package/dist/img/payments/barclays-dark.svg +1 -11
- package/dist/img/payments/barclays.svg +1 -11
- package/dist/img/payments/bbva-dark.svg +1 -4
- package/dist/img/payments/bbva.svg +1 -4
- package/dist/img/payments/binance-dark.svg +1 -4
- package/dist/img/payments/binance-usd-dark.svg +1 -11
- package/dist/img/payments/binance-usd.svg +1 -11
- package/dist/img/payments/binance.svg +1 -4
- package/dist/img/payments/bitcoin-dark.svg +1 -13
- package/dist/img/payments/bitcoin.svg +1 -12
- package/dist/img/payments/bitpay-dark.svg +1 -4
- package/dist/img/payments/bitpay.svg +1 -4
- package/dist/img/payments/bkash-dark.svg +1 -16
- package/dist/img/payments/bkash.svg +1 -16
- package/dist/img/payments/blik-dark.svg +1 -5
- package/dist/img/payments/blik.svg +1 -12
- package/dist/img/payments/bnb-chain-dark.svg +1 -14
- package/dist/img/payments/bnb-chain.svg +1 -14
- package/dist/img/payments/bnp-paribas-dark.svg +1 -80
- package/dist/img/payments/bnp-paribas.svg +1 -80
- package/dist/img/payments/braintree-dark.svg +1 -6
- package/dist/img/payments/braintree.svg +1 -6
- package/dist/img/payments/brex-dark.svg +1 -4
- package/dist/img/payments/brex.svg +1 -4
- package/dist/img/payments/capital-one-dark.svg +1 -6
- package/dist/img/payments/capital-one.svg +1 -6
- package/dist/img/payments/cash-app-dark.svg +1 -8
- package/dist/img/payments/cash-app.svg +1 -8
- package/dist/img/payments/chase-dark.svg +1 -12
- package/dist/img/payments/chase.svg +1 -12
- package/dist/img/payments/checkout-com-dark.svg +1 -4
- package/dist/img/payments/checkout-com.svg +1 -4
- package/dist/img/payments/chime-dark.svg +1 -9
- package/dist/img/payments/chime.svg +1 -9
- package/dist/img/payments/china-construction-bank-dark.svg +1 -36
- package/dist/img/payments/china-construction-bank.svg +1 -36
- package/dist/img/payments/cirrus-dark.svg +1 -8
- package/dist/img/payments/cirrus.svg +1 -8
- package/dist/img/payments/citi-dark.svg +1 -8
- package/dist/img/payments/citi.svg +1 -8
- package/dist/img/payments/coinbase-dark.svg +1 -4
- package/dist/img/payments/coinbase.svg +1 -5
- package/dist/img/payments/coinkite-dark.svg +1 -6
- package/dist/img/payments/coinkite.svg +1 -6
- package/dist/img/payments/crypto-com-dark.svg +1 -8
- package/dist/img/payments/crypto-com.svg +1 -8
- package/dist/img/payments/deutsche-bank-dark.svg +1 -16
- package/dist/img/payments/deutsche-bank.svg +1 -16
- package/dist/img/payments/dinersclub-dark.svg +1 -7
- package/dist/img/payments/dinersclub.svg +1 -7
- package/dist/img/payments/directdebit-dark.svg +1 -4
- package/dist/img/payments/directdebit.svg +1 -4
- package/dist/img/payments/discover-dark.svg +1 -8
- package/dist/img/payments/discover.svg +1 -6
- package/dist/img/payments/dwolla-dark.svg +1 -5
- package/dist/img/payments/dwolla.svg +1 -5
- package/dist/img/payments/easypaisa-dark.svg +1 -14
- package/dist/img/payments/easypaisa.svg +1 -14
- package/dist/img/payments/ebay-dark.svg +1 -7
- package/dist/img/payments/ebay.svg +1 -7
- package/dist/img/payments/elo-dark.svg +1 -11
- package/dist/img/payments/elo.svg +1 -11
- package/dist/img/payments/epayco-dark.svg +1 -5
- package/dist/img/payments/epayco.svg +1 -5
- package/dist/img/payments/esewa-dark.svg +1 -11
- package/dist/img/payments/esewa.svg +1 -12
- package/dist/img/payments/ethereum-dark.svg +1 -13
- package/dist/img/payments/ethereum.svg +1 -18
- package/dist/img/payments/eway-dark.svg +1 -6
- package/dist/img/payments/eway.svg +1 -6
- package/dist/img/payments/fifth-third-bank-dark.svg +1 -7
- package/dist/img/payments/fifth-third-bank.svg +1 -7
- package/dist/img/payments/fiserv-dark.svg +1 -11
- package/dist/img/payments/fiserv.svg +1 -11
- package/dist/img/payments/flutterwave-dark.svg +1 -18
- package/dist/img/payments/flutterwave.svg +1 -18
- package/dist/img/payments/fonepay-dark.svg +1 -10
- package/dist/img/payments/fonepay.svg +1 -10
- package/dist/img/payments/gcash-dark.svg +1 -7
- package/dist/img/payments/gcash.svg +1 -7
- package/dist/img/payments/giropay-dark.svg +1 -13
- package/dist/img/payments/giropay.svg +1 -25
- package/dist/img/payments/goldman-sachs-dark.svg +1 -4
- package/dist/img/payments/goldman-sachs.svg +1 -4
- package/dist/img/payments/google-pay-dark.svg +1 -10
- package/dist/img/payments/google-pay.svg +1 -10
- package/dist/img/payments/googlewallet-dark.svg +1 -7
- package/dist/img/payments/googlewallet.svg +1 -7
- package/dist/img/payments/grabpay-dark.svg +1 -4
- package/dist/img/payments/grabpay.svg +1 -4
- package/dist/img/payments/hsbc-dark.svg +1 -12
- package/dist/img/payments/hsbc.svg +1 -12
- package/dist/img/payments/hubspot-dark.svg +1 -5
- package/dist/img/payments/hubspot.svg +1 -5
- package/dist/img/payments/huntington-bank-dark.svg +1 -5
- package/dist/img/payments/huntington-bank.svg +1 -5
- package/dist/img/payments/icbc-dark.svg +1 -8
- package/dist/img/payments/icbc.svg +1 -8
- package/dist/img/payments/ideal-dark.svg +1 -8
- package/dist/img/payments/ideal.svg +1 -7
- package/dist/img/payments/imepay-dark.svg +1 -11
- package/dist/img/payments/imepay.svg +1 -11
- package/dist/img/payments/imoje-dark.svg +1 -7
- package/dist/img/payments/imoje.svg +1 -8
- package/dist/img/payments/ing-dark.svg +1 -145
- package/dist/img/payments/ing.svg +1 -145
- package/dist/img/payments/ingenico-dark.svg +1 -4
- package/dist/img/payments/ingenico.svg +1 -4
- package/dist/img/payments/interac-dark.svg +1 -16
- package/dist/img/payments/interac.svg +1 -16
- package/dist/img/payments/jazzcash-dark.svg +1 -13
- package/dist/img/payments/jazzcash.svg +1 -13
- package/dist/img/payments/jcb-dark.svg +1 -8
- package/dist/img/payments/jcb.svg +1 -41
- package/dist/img/payments/khalti-dark.svg +1 -14
- package/dist/img/payments/khalti.svg +1 -14
- package/dist/img/payments/klarna-dark.svg +1 -11
- package/dist/img/payments/klarna.svg +1 -11
- package/dist/img/payments/kraken-dark.svg +1 -5
- package/dist/img/payments/kraken.svg +1 -5
- package/dist/img/payments/linepay-dark.svg +1 -10
- package/dist/img/payments/linepay.svg +1 -11
- package/dist/img/payments/litecoin-dark.svg +1 -14
- package/dist/img/payments/litecoin.svg +1 -14
- package/dist/img/payments/mada-dark.svg +1 -11
- package/dist/img/payments/mada.svg +1 -11
- package/dist/img/payments/maestro-dark.svg +1 -6
- package/dist/img/payments/maestro.svg +1 -6
- package/dist/img/payments/mastercard-dark.svg +1 -6
- package/dist/img/payments/mastercard.svg +1 -6
- package/dist/img/payments/mercado-pago-dark.svg +1 -9
- package/dist/img/payments/mercado-pago.svg +1 -9
- package/dist/img/payments/mercury-dark.svg +1 -4
- package/dist/img/payments/mercury.svg +1 -4
- package/dist/img/payments/meta-pay-dark.svg +1 -6
- package/dist/img/payments/meta-pay.svg +1 -16
- package/dist/img/payments/metamask-dark.svg +1 -40
- package/dist/img/payments/metamask.svg +1 -40
- package/dist/img/payments/mir-dark.svg +1 -4
- package/dist/img/payments/mir.svg +1 -11
- package/dist/img/payments/mitsubishi-ufj-dark.svg +1 -5
- package/dist/img/payments/mitsubishi-ufj.svg +1 -5
- package/dist/img/payments/mobilepay-dark.svg +1 -6
- package/dist/img/payments/mobilepay.svg +1 -6
- package/dist/img/payments/mollie-dark.svg +1 -4
- package/dist/img/payments/mollie.svg +1 -4
- package/dist/img/payments/monero-dark.svg +1 -5
- package/dist/img/payments/monero.svg +1 -5
- package/dist/img/payments/moneygram-dark.svg +1 -12
- package/dist/img/payments/moneygram.svg +1 -12
- package/dist/img/payments/mpesa-dark.svg +1 -5
- package/dist/img/payments/mpesa.svg +1 -5
- package/dist/img/payments/ncr-dark.svg +1 -9
- package/dist/img/payments/ncr.svg +1 -9
- package/dist/img/payments/neteller-dark.svg +1 -4
- package/dist/img/payments/neteller.svg +1 -4
- package/dist/img/payments/northone-dark.svg +1 -5
- package/dist/img/payments/northone.svg +1 -5
- package/dist/img/payments/nu-dark.svg +1 -5
- package/dist/img/payments/nu.svg +1 -5
- package/dist/img/payments/nuvei-dark.svg +1 -9
- package/dist/img/payments/nuvei.svg +1 -9
- package/dist/img/payments/opensea-dark.svg +1 -11
- package/dist/img/payments/opensea.svg +1 -11
- package/dist/img/payments/oxxo-dark.svg +1 -8
- package/dist/img/payments/oxxo.svg +1 -8
- package/dist/img/payments/paybox-dark.svg +1 -4
- package/dist/img/payments/paybox.svg +1 -4
- package/dist/img/payments/payconiq-dark.svg +1 -4
- package/dist/img/payments/payconiq.svg +1 -4
- package/dist/img/payments/payka-dark.svg +1 -18
- package/dist/img/payments/payka.svg +1 -12
- package/dist/img/payments/payline-dark.svg +1 -12
- package/dist/img/payments/payline.svg +1 -12
- package/dist/img/payments/paynow-dark.svg +1 -15
- package/dist/img/payments/paynow.svg +1 -15
- package/dist/img/payments/payone-dark.svg +1 -7
- package/dist/img/payments/payone.svg +1 -7
- package/dist/img/payments/payoneer-dark.svg +1 -4
- package/dist/img/payments/payoneer.svg +1 -4
- package/dist/img/payments/paypal-dark.svg +1 -8
- package/dist/img/payments/paypal.svg +1 -8
- package/dist/img/payments/paypay-dark.svg +1 -6
- package/dist/img/payments/paypay.svg +1 -6
- package/dist/img/payments/paypo-dark.svg +1 -11
- package/dist/img/payments/paypo.svg +1 -11
- package/dist/img/payments/paysafe-dark.svg +1 -6
- package/dist/img/payments/paysafe.svg +1 -6
- package/dist/img/payments/paysafecard-dark.svg +1 -4
- package/dist/img/payments/paysafecard.svg +1 -4
- package/dist/img/payments/paystack-dark.svg +1 -5
- package/dist/img/payments/paystack.svg +1 -5
- package/dist/img/payments/paytm-dark.svg +1 -8
- package/dist/img/payments/paytm.svg +1 -8
- package/dist/img/payments/payu-dark.svg +1 -4
- package/dist/img/payments/payu.svg +1 -4
- package/dist/img/payments/phonepe-dark.svg +1 -6
- package/dist/img/payments/phonepe.svg +1 -6
- package/dist/img/payments/pix-dark.svg +1 -6
- package/dist/img/payments/pix.svg +1 -6
- package/dist/img/payments/pnc-bank-dark.svg +1 -8
- package/dist/img/payments/pnc-bank.svg +1 -8
- package/dist/img/payments/poli-dark.svg +1 -8
- package/dist/img/payments/poli.svg +1 -8
- package/dist/img/payments/przelewy24-dark.svg +1 -18
- package/dist/img/payments/przelewy24.svg +1 -8
- package/dist/img/payments/rapyd-dark.svg +1 -8
- package/dist/img/payments/rapyd.svg +1 -8
- package/dist/img/payments/razorpay-dark.svg +1 -5
- package/dist/img/payments/razorpay.svg +1 -5
- package/dist/img/payments/revolut-pay-dark.svg +1 -8
- package/dist/img/payments/revolut-pay.svg +1 -8
- package/dist/img/payments/ripple-dark.svg +1 -5
- package/dist/img/payments/ripple.svg +1 -5
- package/dist/img/payments/rupay-dark.svg +1 -10
- package/dist/img/payments/rupay.svg +1 -10
- package/dist/img/payments/samsung-pay-dark.svg +1 -13
- package/dist/img/payments/samsung-pay.svg +1 -13
- package/dist/img/payments/santander-dark.svg +1 -4
- package/dist/img/payments/santander.svg +1 -4
- package/dist/img/payments/sepa-dark.svg +1 -5
- package/dist/img/payments/sepa.svg +1 -5
- package/dist/img/payments/shop-pay-dark.svg +1 -4
- package/dist/img/payments/shop-pay.svg +1 -4
- package/dist/img/payments/shopify-dark.svg +1 -6
- package/dist/img/payments/shopify.svg +1 -7
- package/dist/img/payments/skrill-dark.svg +1 -10
- package/dist/img/payments/skrill.svg +1 -10
- package/dist/img/payments/skycash-dark.svg +1 -10
- package/dist/img/payments/skycash.svg +1 -10
- package/dist/img/payments/sofort-dark.svg +1 -6
- package/dist/img/payments/sofort.svg +1 -6
- package/dist/img/payments/solana-dark.svg +1 -20
- package/dist/img/payments/solana.svg +1 -20
- package/dist/img/payments/spingo-dark.svg +1 -11
- package/dist/img/payments/spingo.svg +1 -11
- package/dist/img/payments/square-dark.svg +1 -4
- package/dist/img/payments/square.svg +1 -4
- package/dist/img/payments/stax-dark.svg +1 -5
- package/dist/img/payments/stax.svg +1 -5
- package/dist/img/payments/stcpay-dark.svg +1 -7
- package/dist/img/payments/stcpay.svg +1 -7
- package/dist/img/payments/stripe-dark.svg +1 -4
- package/dist/img/payments/stripe.svg +1 -4
- package/dist/img/payments/sumitomo-mitsui-dark.svg +1 -5
- package/dist/img/payments/sumitomo-mitsui.svg +1 -5
- package/dist/img/payments/swift-dark.svg +1 -4
- package/dist/img/payments/swift.svg +1 -4
- package/dist/img/payments/swish-dark.svg +1 -32
- package/dist/img/payments/swish.svg +1 -32
- package/dist/img/payments/synchrony-dark.svg +1 -5
- package/dist/img/payments/synchrony.svg +1 -5
- package/dist/img/payments/tether-dark.svg +1 -11
- package/dist/img/payments/tether.svg +1 -11
- package/dist/img/payments/tpay-dark.svg +1 -10
- package/dist/img/payments/tpay.svg +1 -4
- package/dist/img/payments/troy-dark.svg +1 -7
- package/dist/img/payments/troy.svg +1 -7
- package/dist/img/payments/true-usd-dark.svg +1 -5
- package/dist/img/payments/true-usd.svg +1 -7
- package/dist/img/payments/trustly-dark.svg +1 -11
- package/dist/img/payments/trustly.svg +1 -11
- package/dist/img/payments/twint-dark.svg +1 -29
- package/dist/img/payments/twint.svg +1 -29
- package/dist/img/payments/ubs-dark.svg +1 -5
- package/dist/img/payments/ubs.svg +1 -5
- package/dist/img/payments/unionpay-dark.svg +1 -6
- package/dist/img/payments/unionpay.svg +1 -7
- package/dist/img/payments/upi-dark.svg +1 -8
- package/dist/img/payments/upi.svg +1 -8
- package/dist/img/payments/us-bank-dark.svg +1 -13
- package/dist/img/payments/us-bank.svg +1 -13
- package/dist/img/payments/usdc-dark.svg +1 -4
- package/dist/img/payments/usdc.svg +1 -4
- package/dist/img/payments/venmo-dark.svg +1 -4
- package/dist/img/payments/venmo.svg +1 -4
- package/dist/img/payments/verifone-dark.svg +1 -5
- package/dist/img/payments/verifone.svg +1 -5
- package/dist/img/payments/vipps-dark.svg +1 -8
- package/dist/img/payments/vipps.svg +1 -8
- package/dist/img/payments/visa-dark.svg +1 -4
- package/dist/img/payments/visa.svg +1 -4
- package/dist/img/payments/we-chat-pay-dark.svg +1 -4
- package/dist/img/payments/we-chat-pay.svg +1 -4
- package/dist/img/payments/webmoney-dark.svg +1 -5
- package/dist/img/payments/webmoney.svg +1 -5
- package/dist/img/payments/wells-fargo-dark.svg +1 -4
- package/dist/img/payments/wells-fargo.svg +1 -4
- package/dist/img/payments/westernunion-dark.svg +1 -18
- package/dist/img/payments/westernunion.svg +1 -18
- package/dist/img/payments/wire-transfer-dark.svg +1 -32
- package/dist/img/payments/wire-transfer.svg +1 -32
- package/dist/img/payments/wise-dark.svg +1 -4
- package/dist/img/payments/wise.svg +1 -4
- package/dist/img/payments/worldpay-dark.svg +1 -4
- package/dist/img/payments/worldpay.svg +1 -5
- package/dist/img/payments/zelle-dark.svg +1 -9
- package/dist/img/payments/zelle.svg +1 -8
- package/dist/img/social/apple-gray.svg +1 -3
- package/dist/img/social/apple.svg +1 -3
- package/dist/img/social/discord-gray.svg +1 -3
- package/dist/img/social/discord.svg +1 -3
- package/dist/img/social/dribbble-gray.svg +1 -3
- package/dist/img/social/dribbble.svg +1 -4
- package/dist/img/social/facebook-gray.svg +1 -3
- package/dist/img/social/facebook.svg +1 -4
- package/dist/img/social/figma-gray.svg +1 -3
- package/dist/img/social/figma.svg +1 -7
- package/dist/img/social/github-gray.svg +1 -10
- package/dist/img/social/github.svg +1 -10
- package/dist/img/social/google-gray.svg +1 -3
- package/dist/img/social/google.svg +1 -6
- package/dist/img/social/instagram-gray.svg +1 -5
- package/dist/img/social/instagram.svg +1 -18
- package/dist/img/social/linkedin-gray.svg +1 -3
- package/dist/img/social/linkedin.svg +1 -3
- package/dist/img/social/medium-gray.svg +1 -5
- package/dist/img/social/medium.svg +1 -5
- package/dist/img/social/meta-gray.svg +1 -5
- package/dist/img/social/meta.svg +1 -17
- package/dist/img/social/metamask-gray.svg +1 -12
- package/dist/img/social/metamask.svg +1 -14
- package/dist/img/social/pinterest-gray.svg +1 -3
- package/dist/img/social/pinterest.svg +1 -4
- package/dist/img/social/reddit-gray.svg +1 -6
- package/dist/img/social/reddit.svg +1 -11
- package/dist/img/social/signal-gray.svg +1 -10
- package/dist/img/social/signal.svg +1 -10
- package/dist/img/social/skype-gray.svg +1 -3
- package/dist/img/social/skype.svg +1 -3
- package/dist/img/social/snapchat-gray.svg +1 -10
- package/dist/img/social/snapchat.svg +1 -11
- package/dist/img/social/spotify-gray.svg +1 -3
- package/dist/img/social/spotify.svg +1 -3
- package/dist/img/social/telegram-gray.svg +1 -3
- package/dist/img/social/telegram.svg +1 -10
- package/dist/img/social/tiktok-gray.svg +1 -3
- package/dist/img/social/tiktok.svg +1 -5
- package/dist/img/social/tumblr-gray.svg +1 -3
- package/dist/img/social/tumblr.svg +1 -3
- package/dist/img/social/twitch-gray.svg +1 -5
- package/dist/img/social/twitch.svg +1 -6
- package/dist/img/social/vk-gray.svg +1 -3
- package/dist/img/social/vk.svg +1 -4
- package/dist/img/social/x-gray.svg +1 -3
- package/dist/img/social/x.svg +1 -3
- package/dist/img/social/youtube-gray.svg +1 -3
- package/dist/img/social/youtube.svg +1 -11
- package/dist/js/tabler-theme.esm.js +26 -9
- package/dist/js/tabler-theme.esm.js.map +1 -1
- package/dist/js/tabler-theme.esm.min.js +2 -2
- package/dist/js/tabler-theme.esm.min.js.map +1 -1
- package/dist/js/tabler-theme.js +26 -9
- package/dist/js/tabler-theme.js.map +1 -1
- package/dist/js/tabler-theme.min.js +2 -2
- package/dist/js/tabler-theme.min.js.map +1 -1
- package/dist/js/tabler.esm.js +6683 -4069
- package/dist/js/tabler.esm.js.map +1 -1
- package/dist/js/tabler.esm.min.js +2 -2
- package/dist/js/tabler.esm.min.js.map +1 -1
- package/dist/js/tabler.js +6694 -4069
- package/dist/js/tabler.js.map +1 -1
- package/dist/js/tabler.min.js +2 -2
- package/dist/js/tabler.min.js.map +1 -1
- package/dist/libs/vanilla-calendar-pro/LICENSE +21 -0
- package/dist/libs/vanilla-calendar-pro/index.js +2 -0
- package/dist/types/src/autosize.d.ts +32 -1
- package/dist/types/src/bootstrap/alert.d.ts +2 -0
- package/dist/types/src/bootstrap/button.d.ts +3 -0
- package/dist/types/src/bootstrap/carousel.d.ts +16 -3
- package/dist/types/src/bootstrap/collapse.d.ts +13 -3
- package/dist/types/src/bootstrap/dom/event-handler.d.ts +7 -4
- package/dist/types/src/bootstrap/dropdown.d.ts +30 -7
- package/dist/types/src/bootstrap/modal.d.ts +12 -8
- package/dist/types/src/bootstrap/offcanvas.d.ts +12 -8
- package/dist/types/src/bootstrap/popover.d.ts +13 -9
- package/dist/types/src/bootstrap/scrollspy.d.ts +17 -3
- package/dist/types/src/bootstrap/tab.d.ts +2 -0
- package/dist/types/src/bootstrap/toast.d.ts +12 -3
- package/dist/types/src/bootstrap/tooltip.d.ts +57 -19
- package/dist/types/src/bootstrap/types.d.ts +25 -1
- package/dist/types/src/bootstrap/util/backdrop.d.ts +2 -2
- package/dist/types/src/bootstrap/util/component-functions.d.ts +22 -2
- package/dist/types/src/bootstrap/util/focustrap.d.ts +2 -2
- package/dist/types/src/bootstrap/util/index.d.ts +5 -1
- package/dist/types/src/bootstrap/util/swipe.d.ts +2 -2
- package/dist/types/src/bootstrap/util/template-factory.d.ts +2 -2
- package/dist/types/src/clipboard.d.ts +48 -0
- package/dist/types/src/confetti.d.ts +60 -0
- package/dist/types/src/countup.d.ts +66 -1
- package/dist/types/src/datepicker.d.ts +120 -0
- package/dist/types/src/deprecated.d.ts +11 -0
- package/dist/types/src/input-mask.d.ts +43 -1
- package/dist/types/src/otp-input.d.ts +75 -0
- package/dist/types/src/sortable.d.ts +41 -1
- package/dist/types/src/sparkline.d.ts +67 -0
- package/dist/types/src/strength.d.ts +53 -0
- package/dist/types/src/switch-icon.d.ts +32 -1
- package/dist/types/src/theme-config.d.ts +3 -1
- package/dist/types/tabler.d.ts +18 -1
- package/js/src/autosize.ts +141 -7
- package/js/src/bootstrap/alert.ts +20 -0
- package/js/src/bootstrap/base-component.ts +13 -3
- package/js/src/bootstrap/button.ts +16 -0
- package/js/src/bootstrap/carousel.ts +42 -7
- package/js/src/bootstrap/collapse.ts +38 -6
- package/js/src/bootstrap/dom/event-handler.ts +50 -16
- package/js/src/bootstrap/dom/manipulator.ts +1 -1
- package/js/src/bootstrap/dropdown.ts +64 -23
- package/js/src/bootstrap/modal.ts +39 -14
- package/js/src/bootstrap/offcanvas.ts +36 -11
- package/js/src/bootstrap/popover.ts +35 -9
- package/js/src/bootstrap/scrollspy.ts +38 -7
- package/js/src/bootstrap/tab.ts +20 -1
- package/js/src/bootstrap/toast.ts +31 -5
- package/js/src/bootstrap/tooltip.ts +109 -53
- package/js/src/bootstrap/types.ts +30 -1
- package/js/src/bootstrap/util/backdrop.ts +1 -1
- package/js/src/bootstrap/util/component-functions.ts +74 -5
- package/js/src/bootstrap/util/focustrap.ts +2 -2
- package/js/src/bootstrap/util/index.ts +59 -2
- package/js/src/bootstrap/util/swipe.ts +3 -3
- package/js/src/bootstrap/util/template-factory.ts +2 -2
- package/js/src/clipboard.ts +221 -0
- package/js/src/confetti.ts +474 -0
- package/js/src/countup.ts +353 -29
- package/js/src/datepicker.ts +791 -0
- package/js/src/deprecated.ts +28 -0
- package/js/src/dropdown.ts +12 -5
- package/js/src/global.d.ts +14 -13
- package/js/src/input-mask.ts +128 -8
- package/js/src/otp-input.ts +519 -0
- package/js/src/popover.ts +13 -7
- package/js/src/sidebar.ts +14 -6
- package/js/src/sortable.ts +120 -15
- package/js/src/sparkline.ts +618 -0
- package/js/src/strength.ts +290 -0
- package/js/src/switch-icon.ts +180 -9
- package/js/src/tab.ts +17 -7
- package/js/src/theme-config.ts +3 -1
- package/js/src/toast.ts +19 -11
- package/js/src/tooltip.ts +16 -7
- package/js/tabler-theme.ts +30 -8
- package/js/tabler.ts +21 -2
- package/libs.json +45 -109
- package/package.json +40 -29
- package/scss/_config.scss +1 -0
- package/scss/_core.scss +6 -0
- package/scss/_deprecated-props.scss +40 -0
- package/scss/_deprecated.scss +153 -0
- package/scss/_extends.scss +6 -1
- package/scss/_maps.scss +10 -11
- package/scss/_mixins.scss +1 -0
- package/scss/_props.scss +40 -6
- package/scss/_settings.scss +3 -1
- package/scss/_utilities-marketing.scss +1 -2
- package/scss/_utilities.scss +62 -24
- package/scss/_variables-dark.scss +31 -42
- package/scss/_variables-deprecated.scss +60 -0
- package/scss/_variables.scss +252 -189
- package/scss/bootstrap/_buttons.scss +6 -33
- package/scss/bootstrap/_carousel.scss +6 -7
- package/scss/bootstrap/_list-group.scss +28 -14
- package/scss/bootstrap/_nav.scss +2 -2
- package/scss/bootstrap/_navbar.scss +6 -7
- package/scss/bootstrap/_offcanvas.scss +2 -0
- package/scss/bootstrap/_pagination.scss +7 -3
- package/scss/bootstrap/_reboot.scss +3 -3
- package/scss/bootstrap/_root.scss +10 -33
- package/scss/bootstrap/_tables.scss +7 -2
- package/scss/bootstrap/forms/_floating-labels.scss +1 -1
- package/scss/bootstrap/forms/_form-check.scss +54 -42
- package/scss/bootstrap/forms/_form-control.scss +4 -8
- package/scss/bootstrap/forms/_form-range.scss +4 -2
- package/scss/bootstrap/forms/_form-select.scss +4 -7
- package/scss/helpers/_index.scss +11 -4
- package/scss/layout/_accessibility.scss +2 -1
- package/scss/layout/_core.scss +0 -8
- package/scss/layout/_navbar.scss +130 -46
- package/scss/layout/_page.scss +15 -2
- package/scss/layout/_root.scss +4 -3
- package/scss/marketing/_hero.scss +0 -11
- package/scss/mixins/_deprecated.scss +110 -0
- package/scss/mixins/_functions.scss +67 -113
- package/scss/mixins/_mixins.scss +41 -8
- package/scss/mixins/bootstrap/_caret.scss +7 -6
- package/scss/mixins/bootstrap/_color-mode.scss +6 -0
- package/scss/mixins/bootstrap/_forms.scss +10 -11
- package/scss/mixins/bootstrap/_gradients.scss +1 -1
- package/scss/mixins/bootstrap/_table-variants.scss +4 -5
- package/scss/tabler-props.scss +5 -0
- package/scss/tabler-themes.scss +67 -66
- package/scss/tabler-vendors.scss +3 -1
- package/scss/tabler.scss +2 -0
- package/scss/ui/_accordion.scss +24 -31
- package/scss/ui/_alerts.scss +29 -8
- package/scss/ui/_avatars.scss +3 -1
- package/scss/ui/_badges.scss +2 -0
- package/scss/ui/_breadcrumbs.scss +2 -0
- package/scss/ui/_buttons.scss +83 -58
- package/scss/ui/_calendars.scss +4 -5
- package/scss/ui/_cards.scss +46 -29
- package/scss/ui/_carousel.scss +1 -1
- package/scss/ui/_chat.scss +2 -0
- package/scss/ui/_close.scss +5 -2
- package/scss/ui/_datagrid.scss +2 -0
- package/scss/ui/_datepicker.scss +425 -0
- package/scss/ui/_dropdowns.scss +5 -1
- package/scss/ui/_empty.scss +2 -0
- package/scss/ui/_forms.scss +33 -47
- package/scss/ui/_icons.scss +2 -0
- package/scss/ui/_legend.scss +145 -2
- package/scss/ui/_lists.scss +3 -3
- package/scss/ui/_markdown.scss +1 -0
- package/scss/ui/_modals.scss +20 -1
- package/scss/ui/_nav.scss +3 -3
- package/scss/ui/_offcanvas.scss +47 -0
- package/scss/ui/_patterns.scss +39 -18
- package/scss/ui/_progress.scss +5 -2
- package/scss/ui/_ribbons.scss +6 -2
- package/scss/ui/_segmented.scss +1 -1
- package/scss/ui/_signal.scss +57 -0
- package/scss/ui/_sortable.scss +73 -0
- package/scss/ui/_sparkline.scss +73 -0
- package/scss/ui/_stars.scss +2 -0
- package/scss/ui/_status.scss +2 -2
- package/scss/ui/_steps.scss +2 -0
- package/scss/ui/_switch-icon.scss +67 -11
- package/scss/ui/_tables.scss +3 -3
- package/scss/ui/_tags.scss +2 -0
- package/scss/ui/_timeline.scss +2 -0
- package/scss/ui/_tracking.scss +2 -0
- package/scss/ui/_type.scss +12 -4
- package/scss/ui/forms/_form-check.scss +10 -2
- package/scss/ui/forms/_form-colorinput.scss +4 -3
- package/scss/ui/forms/_form-custom.scss +0 -13
- package/scss/ui/forms/_form-imagecheck.scss +4 -3
- package/scss/ui/forms/_form-otp.scss +171 -0
- package/scss/ui/forms/_form-selectgroup.scss +7 -7
- package/scss/ui/forms/_strength.scss +63 -0
- package/scss/ui/forms/_validation.scss +5 -0
- package/scss/utils/_background.scss +2 -2
- package/scss/utils/_colors.scss +17 -14
- package/scss/vendor/_apexcharts.scss +10 -1
- package/scss/vendor/_coloris.scss +10 -3
- package/scss/vendor/_fslightbox.scss +2 -2
- package/scss/vendor/_jsvectormap.scss +1 -1
- package/scss/vendor/_nouislider.scss +2 -1
- package/scss/vendor/_tom-select.scss +84 -7
- package/dist/types/src/tabler.d.ts +0 -3
- package/js/src/tabler.ts +0 -17
- package/js/tests/helpers/fixture.ts +0 -33
- package/js/tests/unit/alert.spec.ts +0 -176
- package/js/tests/unit/base-component.spec.ts +0 -166
- package/js/tests/unit/button.spec.ts +0 -167
- package/js/tests/unit/carousel.spec.ts +0 -546
- package/js/tests/unit/collapse.spec.ts +0 -791
- package/js/tests/unit/dom/data.spec.ts +0 -180
- package/js/tests/unit/dom/event-handler.spec.ts +0 -460
- package/js/tests/unit/dom/manipulator.spec.ts +0 -201
- package/js/tests/unit/dom/selector-engine.spec.ts +0 -300
- package/js/tests/unit/dropdown.spec.ts +0 -1095
- package/js/tests/unit/modal.spec.ts +0 -629
- package/js/tests/unit/offcanvas.spec.ts +0 -434
- package/js/tests/unit/popover.spec.ts +0 -253
- package/js/tests/unit/scrollspy.spec.ts +0 -634
- package/js/tests/unit/sidebar.spec.ts +0 -118
- package/js/tests/unit/tab.spec.ts +0 -775
- package/js/tests/unit/tabler-theme.spec.ts +0 -100
- package/js/tests/unit/toast.spec.ts +0 -514
- package/js/tests/unit/tooltip.spec.ts +0 -679
- package/js/tests/unit/util/backdrop.spec.ts +0 -213
- package/js/tests/unit/util/component-functions.spec.ts +0 -88
- package/js/tests/unit/util/config.spec.ts +0 -150
- package/js/tests/unit/util/focustrap.spec.ts +0 -232
- package/js/tests/unit/util/index.spec.ts +0 -478
- package/js/tests/unit/util/sanitizer.spec.ts +0 -118
- package/js/tests/unit/util/scrollbar.spec.ts +0 -202
- package/js/tests/unit/util/swipe.spec.ts +0 -319
- package/js/tests/unit/util/template-factory.spec.ts +0 -233
- package/scss/tests/_add-subtract.test.scss +0 -48
- package/scss/tests/_border-radius.test.scss +0 -23
- package/scss/tests/_box-shadow.test.scss +0 -71
- package/scss/tests/_breakpoints.test.scss +0 -50
- package/scss/tests/_cards.test.scss +0 -31
- package/scss/tests/_caret.test.scss +0 -115
- package/scss/tests/_color-contrast.test.scss +0 -24
- package/scss/tests/_color-mode.test.scss +0 -28
- package/scss/tests/_color.test.scss +0 -44
- package/scss/tests/_colors-misc.test.scss +0 -80
- package/scss/tests/_css-var.test.scss +0 -37
- package/scss/tests/_divide.test.scss +0 -45
- package/scss/tests/_escape-svg.test.scss +0 -18
- package/scss/tests/_generate-utility.test.scss +0 -245
- package/scss/tests/_grid.test.scss +0 -153
- package/scss/tests/_maps.test.scss +0 -76
- package/scss/tests/_media-breakpoint.test.scss +0 -202
- package/scss/tests/_mixins-bootstrap.test.scss +0 -55
- package/scss/tests/_mixins.test.scss +0 -208
- package/scss/tests/_rfs.test.scss +0 -30
- package/scss/tests/_str-replace.test.scss +0 -34
- package/scss/tests/_transition.test.scss +0 -43
|
@@ -5,8 +5,21 @@
|
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
7
7
|
import BaseComponent from './base-component';
|
|
8
|
-
import type {
|
|
8
|
+
import type { JQueryCollectionLike } from './types';
|
|
9
|
+
type ComponentConfig = {
|
|
10
|
+
offset: number | null;
|
|
11
|
+
rootMargin: string;
|
|
12
|
+
smoothScroll: boolean;
|
|
13
|
+
target: HTMLElement | null;
|
|
14
|
+
threshold: number[];
|
|
15
|
+
};
|
|
16
|
+
type ComponentConfigInput = Partial<Omit<ComponentConfig, 'target' | 'threshold'>> & {
|
|
17
|
+
target?: HTMLElement | string | null;
|
|
18
|
+
threshold?: number[] | string;
|
|
19
|
+
} & Record<string, unknown>;
|
|
9
20
|
declare class ScrollSpy extends BaseComponent {
|
|
21
|
+
_element: HTMLElement;
|
|
22
|
+
_config: ComponentConfig;
|
|
10
23
|
_targetLinks: Map<string, HTMLElement>;
|
|
11
24
|
_observableSections: Map<string, HTMLElement>;
|
|
12
25
|
_rootElement: HTMLElement | null;
|
|
@@ -16,9 +29,9 @@ declare class ScrollSpy extends BaseComponent {
|
|
|
16
29
|
visibleEntryTop: number;
|
|
17
30
|
parentScrollTop: number;
|
|
18
31
|
};
|
|
19
|
-
constructor(element: HTMLElement | string, config?:
|
|
32
|
+
constructor(element: HTMLElement | string, config?: ComponentConfigInput);
|
|
20
33
|
static get Default(): ComponentConfig;
|
|
21
|
-
static get DefaultType():
|
|
34
|
+
static get DefaultType(): Record<keyof ComponentConfig, string>;
|
|
22
35
|
static get NAME(): string;
|
|
23
36
|
refresh(): void;
|
|
24
37
|
dispose(): void;
|
|
@@ -30,5 +43,6 @@ declare class ScrollSpy extends BaseComponent {
|
|
|
30
43
|
_process(target: HTMLElement): void;
|
|
31
44
|
_activateParents(target: HTMLElement): void;
|
|
32
45
|
_clearActiveClass(parent: HTMLElement): void;
|
|
46
|
+
static jQueryInterface(this: JQueryCollectionLike, config?: unknown): unknown;
|
|
33
47
|
}
|
|
34
48
|
export default ScrollSpy;
|
|
@@ -5,6 +5,7 @@
|
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
7
7
|
import BaseComponent from './base-component';
|
|
8
|
+
import type { JQueryCollectionLike } from './types';
|
|
8
9
|
declare class Tab extends BaseComponent {
|
|
9
10
|
_parent: HTMLElement | null;
|
|
10
11
|
constructor(element: HTMLElement | string);
|
|
@@ -23,5 +24,6 @@ declare class Tab extends BaseComponent {
|
|
|
23
24
|
_elemIsActive(elem: HTMLElement): boolean;
|
|
24
25
|
_getInnerElement(elem: HTMLElement): HTMLElement | null;
|
|
25
26
|
_getOuterElement(elem: HTMLElement): HTMLElement;
|
|
27
|
+
static jQueryInterface(this: JQueryCollectionLike, config?: unknown): unknown;
|
|
26
28
|
}
|
|
27
29
|
export default Tab;
|
|
@@ -5,14 +5,22 @@
|
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
7
7
|
import BaseComponent from './base-component';
|
|
8
|
-
import type {
|
|
8
|
+
import type { ElementSelector, JQueryCollectionLike } from './types';
|
|
9
|
+
type ComponentConfig = {
|
|
10
|
+
animation: boolean;
|
|
11
|
+
autohide: boolean;
|
|
12
|
+
delay: number;
|
|
13
|
+
};
|
|
14
|
+
type ComponentConfigInput = Partial<ComponentConfig> & Record<string, unknown>;
|
|
9
15
|
declare class Toast extends BaseComponent {
|
|
16
|
+
_element: HTMLElement;
|
|
17
|
+
_config: ComponentConfig;
|
|
10
18
|
_timeout: ReturnType<typeof setTimeout> | null;
|
|
11
19
|
_hasMouseInteraction: boolean;
|
|
12
20
|
_hasKeyboardInteraction: boolean;
|
|
13
|
-
constructor(element: ElementSelector, config?:
|
|
21
|
+
constructor(element: ElementSelector, config?: ComponentConfigInput);
|
|
14
22
|
static get Default(): ComponentConfig;
|
|
15
|
-
static get DefaultType():
|
|
23
|
+
static get DefaultType(): Record<keyof ComponentConfig, string>;
|
|
16
24
|
static get NAME(): string;
|
|
17
25
|
show(): void;
|
|
18
26
|
hide(): void;
|
|
@@ -22,5 +30,6 @@ declare class Toast extends BaseComponent {
|
|
|
22
30
|
_onInteraction(event: Event, isInteracting: boolean): void;
|
|
23
31
|
_setListeners(): void;
|
|
24
32
|
_clearTimeout(): void;
|
|
33
|
+
static jQueryInterface(this: JQueryCollectionLike, config?: unknown): unknown;
|
|
25
34
|
}
|
|
26
35
|
export default Toast;
|
|
@@ -7,28 +7,61 @@
|
|
|
7
7
|
import * as Popper from '@popperjs/core';
|
|
8
8
|
import BaseComponent from './base-component';
|
|
9
9
|
import TemplateFactory from './util/template-factory';
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
10
|
+
import type { AllowList, JQueryCollectionLike, SanitizeFn } from './types';
|
|
11
|
+
type PopperOffsetData = {
|
|
12
|
+
placement: Popper.Placement;
|
|
13
|
+
reference: Popper.Rect;
|
|
14
|
+
popper: Popper.Rect;
|
|
15
|
+
};
|
|
16
|
+
type PopperOffsetFunction = (popperData: PopperOffsetData) => number[];
|
|
17
|
+
type PopperConfigFunction = (defaultConfig: Partial<Popper.Options>) => Partial<Popper.Options>;
|
|
18
|
+
export type TooltipDelay = number | {
|
|
19
|
+
show: number;
|
|
20
|
+
hide: number;
|
|
21
|
+
};
|
|
22
|
+
export type TooltipContent = string | HTMLElement | null | ((this: HTMLElement, element: HTMLElement) => string | HTMLElement | null);
|
|
23
|
+
export type TooltipContentMap = Record<string, TooltipContent>;
|
|
24
|
+
export type TooltipPlacement = string | ((this: Tooltip, tip: HTMLElement, element: HTMLElement) => string);
|
|
25
|
+
export type TooltipConfig = {
|
|
26
|
+
allowList: AllowList;
|
|
27
|
+
animation: boolean;
|
|
28
|
+
boundary: Popper.Boundary;
|
|
29
|
+
container: HTMLElement | string | false;
|
|
30
|
+
customClass: string | ((this: HTMLElement, element: HTMLElement) => string);
|
|
31
|
+
delay: TooltipDelay;
|
|
32
|
+
fallbackPlacements: string[];
|
|
33
|
+
html: boolean;
|
|
34
|
+
offset: number[] | string | ((popperData: PopperOffsetData, element: HTMLElement) => number[]);
|
|
35
|
+
placement: TooltipPlacement;
|
|
36
|
+
popperConfig: Partial<Popper.Options> | PopperConfigFunction | null;
|
|
37
|
+
sanitize: boolean;
|
|
38
|
+
sanitizeFn: SanitizeFn | null;
|
|
39
|
+
selector: string | false;
|
|
40
|
+
template: string;
|
|
41
|
+
title: TooltipContent;
|
|
42
|
+
trigger: string;
|
|
43
|
+
};
|
|
44
|
+
type ComponentConfig = TooltipConfig;
|
|
45
|
+
export type TooltipConfigInput = Partial<TooltipConfig> & Record<string, unknown>;
|
|
46
|
+
type ComponentConfigInput = TooltipConfigInput;
|
|
16
47
|
/**
|
|
17
48
|
* Class definition
|
|
18
49
|
*/
|
|
19
50
|
declare class Tooltip extends BaseComponent {
|
|
51
|
+
_element: HTMLElement;
|
|
52
|
+
_config: ComponentConfig;
|
|
20
53
|
_isEnabled: boolean;
|
|
21
54
|
_timeout: ReturnType<typeof setTimeout> | number;
|
|
22
55
|
_isHovered: boolean | null;
|
|
23
56
|
_activeTrigger: Record<string, boolean>;
|
|
24
57
|
_popper: Popper.Instance | null;
|
|
25
58
|
_templateFactory: TemplateFactory | null;
|
|
26
|
-
_newContent:
|
|
59
|
+
_newContent: TooltipContentMap | null;
|
|
27
60
|
tip: HTMLElement | null;
|
|
28
|
-
_hideModalHandler: (
|
|
29
|
-
constructor(element: HTMLElement | string, config?:
|
|
61
|
+
_hideModalHandler: () => void;
|
|
62
|
+
constructor(element: HTMLElement | string, config?: ComponentConfigInput);
|
|
30
63
|
static get Default(): ComponentConfig;
|
|
31
|
-
static get DefaultType():
|
|
64
|
+
static get DefaultType(): Record<keyof ComponentConfig, string>;
|
|
32
65
|
static get NAME(): string;
|
|
33
66
|
enable(): void;
|
|
34
67
|
disable(): void;
|
|
@@ -40,29 +73,34 @@ declare class Tooltip extends BaseComponent {
|
|
|
40
73
|
update(): void;
|
|
41
74
|
_isWithContent(): boolean;
|
|
42
75
|
_getTipElement(): HTMLElement | null;
|
|
43
|
-
_createTipElement(content:
|
|
44
|
-
setContent(content:
|
|
45
|
-
_getTemplateFactory(content:
|
|
46
|
-
_getContentForTemplate():
|
|
47
|
-
_getTitle(): string;
|
|
76
|
+
_createTipElement(content: TooltipContentMap): HTMLElement | null;
|
|
77
|
+
setContent(content: TooltipContentMap): void;
|
|
78
|
+
_getTemplateFactory(content: TooltipContentMap): TemplateFactory;
|
|
79
|
+
_getContentForTemplate(): TooltipContentMap;
|
|
80
|
+
_getTitle(): string | HTMLElement;
|
|
48
81
|
_initializeOnDelegatedTarget(event: Event & {
|
|
49
82
|
delegateTarget?: HTMLElement;
|
|
50
83
|
}): Tooltip;
|
|
51
84
|
_isAnimated(): boolean;
|
|
52
85
|
_isShown(): boolean;
|
|
53
86
|
_createPopper(tip: HTMLElement): Popper.Instance;
|
|
54
|
-
_getOffset(): number[] |
|
|
55
|
-
_resolvePossibleFunction(arg:
|
|
87
|
+
_getOffset(): number[] | PopperOffsetFunction;
|
|
88
|
+
_resolvePossibleFunction<T>(arg: T | ((this: HTMLElement, element: HTMLElement) => T)): T;
|
|
56
89
|
_getPopperConfig(attachment: string): Partial<Popper.Options>;
|
|
57
90
|
_setListeners(): void;
|
|
58
91
|
_fixTitle(): void;
|
|
59
92
|
_enter(): void;
|
|
60
93
|
_leave(): void;
|
|
94
|
+
_getDelay(): {
|
|
95
|
+
show: number;
|
|
96
|
+
hide: number;
|
|
97
|
+
};
|
|
61
98
|
_setTimeout(handler: () => void, timeout: number): void;
|
|
62
99
|
_isWithActiveTrigger(): boolean;
|
|
63
|
-
_getConfig(config
|
|
100
|
+
_getConfig(config?: ComponentConfigInput): ComponentConfig;
|
|
64
101
|
_configAfterMerge(config: ComponentConfig): ComponentConfig;
|
|
65
|
-
_getDelegateConfig():
|
|
102
|
+
_getDelegateConfig(): ComponentConfigInput;
|
|
66
103
|
_disposePopper(): void;
|
|
104
|
+
static jQueryInterface(this: JQueryCollectionLike, config?: unknown): unknown;
|
|
67
105
|
}
|
|
68
106
|
export default Tooltip;
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
7
|
-
export type ComponentConfig = Record<string,
|
|
7
|
+
export type ComponentConfig = Record<string, unknown>;
|
|
8
8
|
export type ComponentConfigType = Record<string, string>;
|
|
9
9
|
export type ElementSelector = string | HTMLElement;
|
|
10
10
|
export interface ConfigStatic {
|
|
@@ -18,3 +18,27 @@ export interface BaseComponentStatic extends ConfigStatic {
|
|
|
18
18
|
}
|
|
19
19
|
export type AllowList = Record<string, (string | RegExp)[]>;
|
|
20
20
|
export type SanitizeFn = (unsafeHtml: string) => string;
|
|
21
|
+
export interface JQueryEventLike {
|
|
22
|
+
isPropagationStopped(): boolean;
|
|
23
|
+
isImmediatePropagationStopped(): boolean;
|
|
24
|
+
isDefaultPrevented(): boolean;
|
|
25
|
+
preventDefault(): void;
|
|
26
|
+
}
|
|
27
|
+
export interface JQueryCollectionLike {
|
|
28
|
+
trigger(event: JQueryEventLike): unknown;
|
|
29
|
+
each(callback: (this: HTMLElement, index: number) => void): unknown;
|
|
30
|
+
}
|
|
31
|
+
export interface JQueryPluginFunction {
|
|
32
|
+
(this: JQueryCollectionLike, config?: unknown, ...args: unknown[]): unknown;
|
|
33
|
+
Constructor?: unknown;
|
|
34
|
+
noConflict?: () => JQueryPluginFunction;
|
|
35
|
+
}
|
|
36
|
+
export interface JQueryStaticLike {
|
|
37
|
+
fn: Record<string, JQueryPluginFunction>;
|
|
38
|
+
(selector: EventTarget): JQueryCollectionLike;
|
|
39
|
+
Event(name: string, args?: Record<string, unknown>): JQueryEventLike;
|
|
40
|
+
}
|
|
41
|
+
export interface JQueryPluginStatic {
|
|
42
|
+
NAME: string;
|
|
43
|
+
jQueryInterface: JQueryPluginFunction;
|
|
44
|
+
}
|
|
@@ -6,13 +6,13 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import Config from './config';
|
|
8
8
|
import type { ComponentConfig, ComponentConfigType } from '../types';
|
|
9
|
-
|
|
9
|
+
type BackdropConfig = {
|
|
10
10
|
className: string;
|
|
11
11
|
clickCallback: (() => void) | null;
|
|
12
12
|
isAnimated: boolean;
|
|
13
13
|
isVisible: boolean;
|
|
14
14
|
rootElement: HTMLElement | string;
|
|
15
|
-
}
|
|
15
|
+
};
|
|
16
16
|
declare class Backdrop extends Config {
|
|
17
17
|
_config: BackdropConfig & ComponentConfig;
|
|
18
18
|
_isAppended: boolean;
|
|
@@ -4,10 +4,30 @@
|
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
7
|
+
type ComponentInstance = unknown;
|
|
8
|
+
interface PluginComponent {
|
|
9
|
+
NAME: string;
|
|
10
|
+
getOrCreateInstance(element: HTMLElement | string | null): ComponentInstance;
|
|
11
|
+
}
|
|
12
|
+
interface EventActionData {
|
|
13
|
+
targets: HTMLElement[];
|
|
14
|
+
event: Event;
|
|
15
|
+
}
|
|
16
|
+
interface PluginEventActionData extends EventActionData {
|
|
17
|
+
instances: ComponentInstance[];
|
|
18
|
+
}
|
|
7
19
|
interface DismissibleComponent {
|
|
8
20
|
EVENT_KEY: string;
|
|
9
21
|
NAME: string;
|
|
10
|
-
getOrCreateInstance(element: HTMLElement | string | null):
|
|
22
|
+
getOrCreateInstance(element: HTMLElement | string | null): ComponentInstance;
|
|
11
23
|
}
|
|
12
24
|
declare const enableDismissTrigger: (component: DismissibleComponent, method?: string) => void;
|
|
13
|
-
|
|
25
|
+
declare const eventAction: (onEvent: string, stringSelector: string, callback: (data: EventActionData) => void) => void;
|
|
26
|
+
declare const eventActionOnPlugin: (Plugin: PluginComponent, onEvent: string, stringSelector: string, method: string, callback?: ((data: PluginEventActionData) => void) | null) => void;
|
|
27
|
+
/**
|
|
28
|
+
* Creates the component for every element that matches on page load. One
|
|
29
|
+
* element with a broken config must not stop the rest of the bundle, so the
|
|
30
|
+
* error is logged and the loop goes on.
|
|
31
|
+
*/
|
|
32
|
+
declare const initAll: (selector: string, Plugin: PluginComponent, filter?: ((element: HTMLElement) => boolean) | null) => void;
|
|
33
|
+
export { enableDismissTrigger, eventAction, eventActionOnPlugin, initAll };
|
|
@@ -6,10 +6,10 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import Config from './config';
|
|
8
8
|
import type { ComponentConfig, ComponentConfigType } from '../types';
|
|
9
|
-
|
|
9
|
+
type FocusTrapConfig = {
|
|
10
10
|
autofocus: boolean;
|
|
11
11
|
trapElement: HTMLElement | null;
|
|
12
|
-
}
|
|
12
|
+
};
|
|
13
13
|
declare class FocusTrap extends Config {
|
|
14
14
|
_config: FocusTrapConfig & ComponentConfig;
|
|
15
15
|
_isActive: boolean;
|
|
@@ -4,6 +4,7 @@
|
|
|
4
4
|
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
5
5
|
* --------------------------------------------------------------------------
|
|
6
6
|
*/
|
|
7
|
+
import type { JQueryPluginStatic, JQueryStaticLike } from '../types';
|
|
7
8
|
declare const parseSelector: (selector: string) => string;
|
|
8
9
|
declare const toType: (object: unknown) => string;
|
|
9
10
|
declare const getUID: (prefix: string) => string;
|
|
@@ -22,7 +23,10 @@ declare const noop: () => void;
|
|
|
22
23
|
*/
|
|
23
24
|
declare const reflow: (element: HTMLElement) => void;
|
|
24
25
|
declare const isRTL: () => boolean;
|
|
26
|
+
declare const getjQuery: () => JQueryStaticLike | null;
|
|
27
|
+
declare const onDOMContentLoaded: (callback: () => void) => void;
|
|
28
|
+
declare const defineJQueryPlugin: (plugin: JQueryPluginStatic) => void;
|
|
25
29
|
declare const execute: (possibleCallback: unknown, args?: unknown[], defaultValue?: unknown) => unknown;
|
|
26
30
|
declare const executeAfterTransition: (callback: () => void, transitionElement: HTMLElement, waitForTransition?: boolean) => void;
|
|
27
31
|
declare const getNextActiveElement: <T>(list: T[], activeElement: T, shouldGetNext: boolean, isCycleAllowed: boolean) => T;
|
|
28
|
-
export { execute, executeAfterTransition, findShadowRoot, getElement, getNextActiveElement, getTransitionDurationFromElement, getUID, isDisabled, isElement, isRTL, isVisible, noop, parseSelector, reflow, triggerTransitionEnd, toType };
|
|
32
|
+
export { defineJQueryPlugin, execute, executeAfterTransition, findShadowRoot, getElement, getjQuery, getNextActiveElement, getTransitionDurationFromElement, getUID, isDisabled, isElement, isRTL, isVisible, noop, onDOMContentLoaded, parseSelector, reflow, triggerTransitionEnd, toType };
|
|
@@ -6,11 +6,11 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import Config from './config';
|
|
8
8
|
import type { ComponentConfig, ComponentConfigType } from '../types';
|
|
9
|
-
|
|
9
|
+
type SwipeConfig = {
|
|
10
10
|
endCallback: (() => void) | null;
|
|
11
11
|
leftCallback: (() => void) | null;
|
|
12
12
|
rightCallback: (() => void) | null;
|
|
13
|
-
}
|
|
13
|
+
};
|
|
14
14
|
declare class Swipe extends Config {
|
|
15
15
|
_config: SwipeConfig & ComponentConfig;
|
|
16
16
|
_element: HTMLElement;
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
*/
|
|
7
7
|
import Config from './config';
|
|
8
8
|
import type { AllowList, ComponentConfig, ComponentConfigType, SanitizeFn } from '../types';
|
|
9
|
-
|
|
9
|
+
type TemplateFactoryConfig = {
|
|
10
10
|
allowList: AllowList;
|
|
11
11
|
content: Record<string, unknown>;
|
|
12
12
|
extraClass: string | (() => string);
|
|
@@ -14,7 +14,7 @@ interface TemplateFactoryConfig {
|
|
|
14
14
|
sanitize: boolean;
|
|
15
15
|
sanitizeFn: SanitizeFn | null;
|
|
16
16
|
template: string;
|
|
17
|
-
}
|
|
17
|
+
};
|
|
18
18
|
declare class TemplateFactory extends Config {
|
|
19
19
|
_config: TemplateFactoryConfig & ComponentConfig;
|
|
20
20
|
constructor(config?: ComponentConfig);
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* --------------------------------------------------------------------------
|
|
3
|
+
* Tabler clipboard.ts
|
|
4
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/dev/LICENSE)
|
|
5
|
+
* --------------------------------------------------------------------------
|
|
6
|
+
*/
|
|
7
|
+
import BaseComponent from './bootstrap/base-component';
|
|
8
|
+
import type { ElementSelector } from './bootstrap/types';
|
|
9
|
+
type ComponentConfig = {
|
|
10
|
+
/** selector of the element to read the text from */
|
|
11
|
+
target: string | null;
|
|
12
|
+
/** literal text to copy; wins over `target` */
|
|
13
|
+
text: string | null;
|
|
14
|
+
/** how long the copied state lasts, in milliseconds */
|
|
15
|
+
delay: number;
|
|
16
|
+
};
|
|
17
|
+
type ComponentConfigInput = Partial<ComponentConfig> & Record<string, unknown>;
|
|
18
|
+
/**
|
|
19
|
+
* Class definition
|
|
20
|
+
*
|
|
21
|
+
* Copies text to the clipboard when the trigger is clicked, then shows the
|
|
22
|
+
* copied state for a moment. Every word lives in the markup: the trigger holds
|
|
23
|
+
* a `clipboard-label` and a `clipboard-feedback`, and the component only swaps
|
|
24
|
+
* which of them is hidden.
|
|
25
|
+
*
|
|
26
|
+
* The browser gives `navigator.clipboard` to secure contexts only, so on plain
|
|
27
|
+
* http a copy fails and `error.bs.clipboard` fires.
|
|
28
|
+
*/
|
|
29
|
+
declare class Clipboard extends BaseComponent {
|
|
30
|
+
_element: HTMLElement;
|
|
31
|
+
_config: ComponentConfig;
|
|
32
|
+
_labels: Element[];
|
|
33
|
+
_feedbacks: Element[];
|
|
34
|
+
_timeout: number;
|
|
35
|
+
constructor(element: ElementSelector, config?: ComponentConfigInput);
|
|
36
|
+
static get Default(): ComponentConfig;
|
|
37
|
+
static get DefaultType(): Record<keyof ComponentConfig, string>;
|
|
38
|
+
static get NAME(): string;
|
|
39
|
+
get text(): string;
|
|
40
|
+
copy(): Promise<void>;
|
|
41
|
+
/** Ends the copied state, for a `delay` of 0 or an early reset. */
|
|
42
|
+
reset(): void;
|
|
43
|
+
dispose(): void;
|
|
44
|
+
_mergeConfigObj(config?: Record<string, unknown>, element?: HTMLElement): Record<string, unknown>;
|
|
45
|
+
_showCopied(): void;
|
|
46
|
+
_toggleCopied(copied: boolean): void;
|
|
47
|
+
}
|
|
48
|
+
export default Clipboard;
|
|
@@ -0,0 +1,60 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* --------------------------------------------------------------------------
|
|
3
|
+
* Tabler confetti.ts
|
|
4
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/dev/LICENSE)
|
|
5
|
+
* --------------------------------------------------------------------------
|
|
6
|
+
*/
|
|
7
|
+
import BaseComponent from './bootstrap/base-component';
|
|
8
|
+
import type { ComponentConfig as BaseConfig, ElementSelector } from './bootstrap/types';
|
|
9
|
+
type ComponentConfig = {
|
|
10
|
+
/** how many pieces one burst pours out */
|
|
11
|
+
count: number;
|
|
12
|
+
/** ms during which pieces keep pouring; the first frames get the most */
|
|
13
|
+
duration: number;
|
|
14
|
+
/** how fast the pour thins out; higher means a sharper splash at the start */
|
|
15
|
+
decay: number;
|
|
16
|
+
/** share of the viewport height at the bottom where pieces fade out */
|
|
17
|
+
fade: number;
|
|
18
|
+
/** multiplier for the fall speed */
|
|
19
|
+
speed: number;
|
|
20
|
+
/** piece colours; `null` reads the Tabler palette from CSS custom properties */
|
|
21
|
+
colors: string[] | null;
|
|
22
|
+
};
|
|
23
|
+
type ComponentConfigInput = Partial<Omit<ComponentConfig, 'colors'>> & {
|
|
24
|
+
colors?: string[] | string | null;
|
|
25
|
+
};
|
|
26
|
+
type Emitter = {
|
|
27
|
+
element: HTMLElement;
|
|
28
|
+
config: ComponentConfig;
|
|
29
|
+
colors: string[];
|
|
30
|
+
startedAt: number;
|
|
31
|
+
emitted: number;
|
|
32
|
+
/** `stop()` was called: nothing new is poured, what is in the air still falls */
|
|
33
|
+
stopped: boolean;
|
|
34
|
+
/** every piece has landed and `end` was fired */
|
|
35
|
+
done: boolean;
|
|
36
|
+
/** the instance was disposed: the pieces still land, but `end` is not fired */
|
|
37
|
+
detached: boolean;
|
|
38
|
+
};
|
|
39
|
+
/**
|
|
40
|
+
* Class definition
|
|
41
|
+
*
|
|
42
|
+
* Pours a short shower of confetti over the page, like a bucket emptied from
|
|
43
|
+
* the top edge: dense at first, then thinning out. Nothing is drawn when the
|
|
44
|
+
* user prefers reduced motion, but the events still fire.
|
|
45
|
+
*/
|
|
46
|
+
declare class Confetti extends BaseComponent {
|
|
47
|
+
_element: HTMLElement;
|
|
48
|
+
_config: ComponentConfig;
|
|
49
|
+
_emitter: Emitter | null;
|
|
50
|
+
constructor(element: ElementSelector, config?: ComponentConfigInput);
|
|
51
|
+
static get Default(): ComponentConfig;
|
|
52
|
+
static get DefaultType(): Record<keyof ComponentConfig, string>;
|
|
53
|
+
static get NAME(): string;
|
|
54
|
+
burst(): void;
|
|
55
|
+
stop(): void;
|
|
56
|
+
dispose(): void;
|
|
57
|
+
_configAfterMerge(config: BaseConfig): BaseConfig;
|
|
58
|
+
_colors(): string[];
|
|
59
|
+
}
|
|
60
|
+
export default Confetti;
|
|
@@ -1 +1,66 @@
|
|
|
1
|
-
|
|
1
|
+
/**
|
|
2
|
+
* --------------------------------------------------------------------------
|
|
3
|
+
* Tabler countup.ts
|
|
4
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/dev/LICENSE)
|
|
5
|
+
* --------------------------------------------------------------------------
|
|
6
|
+
*/
|
|
7
|
+
import BaseComponent from './bootstrap/base-component';
|
|
8
|
+
import type { ElementSelector } from './bootstrap/types';
|
|
9
|
+
type CountUpFormat = 'number' | 'time';
|
|
10
|
+
type ComponentConfig = {
|
|
11
|
+
/** start when the element scrolls into view; off starts at once */
|
|
12
|
+
autoAnimate: boolean;
|
|
13
|
+
startVal: number;
|
|
14
|
+
/** seconds */
|
|
15
|
+
duration: number;
|
|
16
|
+
decimalPlaces: number;
|
|
17
|
+
useEasing: boolean;
|
|
18
|
+
useGrouping: boolean;
|
|
19
|
+
separator: string;
|
|
20
|
+
decimal: string;
|
|
21
|
+
prefix: string;
|
|
22
|
+
suffix: string;
|
|
23
|
+
/** `number`, or `time` for a value in minutes shown as h:mm */
|
|
24
|
+
format: CountUpFormat;
|
|
25
|
+
/** custom rendering of the number, from a JavaScript config only */
|
|
26
|
+
formatter: ((value: number) => string) | null;
|
|
27
|
+
};
|
|
28
|
+
type ComponentConfigInput = Partial<ComponentConfig> & Record<string, unknown>;
|
|
29
|
+
/**
|
|
30
|
+
* Class definition
|
|
31
|
+
*
|
|
32
|
+
* Animates the number written inside the element from `startVal` to it,
|
|
33
|
+
* formatted with grouping, decimals, a prefix and a suffix. Options come from
|
|
34
|
+
* the `data-countup` attribute as JSON, or from the config object.
|
|
35
|
+
*/
|
|
36
|
+
declare class CountUp extends BaseComponent {
|
|
37
|
+
_element: HTMLElement;
|
|
38
|
+
_config: ComponentConfig;
|
|
39
|
+
_endVal: number;
|
|
40
|
+
_value: number;
|
|
41
|
+
_frame: number;
|
|
42
|
+
_observer: IntersectionObserver | null;
|
|
43
|
+
_from: number;
|
|
44
|
+
_elapsed: number;
|
|
45
|
+
_running: boolean;
|
|
46
|
+
_paused: boolean;
|
|
47
|
+
_started: boolean;
|
|
48
|
+
constructor(element: ElementSelector, config?: ComponentConfigInput);
|
|
49
|
+
static get Default(): ComponentConfig;
|
|
50
|
+
static get DefaultType(): Record<keyof ComponentConfig, string>;
|
|
51
|
+
static get NAME(): string;
|
|
52
|
+
start(): void;
|
|
53
|
+
reset(): void;
|
|
54
|
+
update(value: number | string): void;
|
|
55
|
+
pauseResume(): void;
|
|
56
|
+
dispose(): void;
|
|
57
|
+
_mergeConfigObj(config?: Record<string, unknown>, element?: HTMLElement): Record<string, unknown>;
|
|
58
|
+
_observerCallback(entries: IntersectionObserverEntry[]): void;
|
|
59
|
+
_animate(from: number, to: number): void;
|
|
60
|
+
_run(): void;
|
|
61
|
+
_finish(value: number): void;
|
|
62
|
+
_stop(): void;
|
|
63
|
+
_print(value: number): void;
|
|
64
|
+
_format(value: number): string;
|
|
65
|
+
}
|
|
66
|
+
export default CountUp;
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* --------------------------------------------------------------------------
|
|
3
|
+
* Tabler datepicker.ts
|
|
4
|
+
* Licensed under MIT (https://github.com/tabler/tabler/blob/dev/LICENSE)
|
|
5
|
+
* --------------------------------------------------------------------------
|
|
6
|
+
*/
|
|
7
|
+
import BaseComponent from './bootstrap/base-component';
|
|
8
|
+
import type { ElementSelector } from './bootstrap/types';
|
|
9
|
+
type DateAny = Date | number | `${number}-${string}-${string}` | 'today';
|
|
10
|
+
type DatesArr = Array<Date | number | string>;
|
|
11
|
+
type DateMode = 'single' | 'multiple' | 'multiple-ranged';
|
|
12
|
+
type MonthsCount = 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12;
|
|
13
|
+
type PositionToInput = 'auto' | 'left' | 'center' | 'right' | ['bottom' | 'top', 'left' | 'center' | 'right'];
|
|
14
|
+
type WeekDayID = 0 | 1 | 2 | 3 | 4 | 5 | 6;
|
|
15
|
+
/**
|
|
16
|
+
* The part of a Vanilla Calendar Pro instance the `calendar` getter promises.
|
|
17
|
+
* Cast it to `Calendar` from `vanilla-calendar-pro` for the full type.
|
|
18
|
+
*/
|
|
19
|
+
interface CalendarInstance {
|
|
20
|
+
context: Record<string, any>;
|
|
21
|
+
init(): unknown;
|
|
22
|
+
update(resetOptions?: object): unknown;
|
|
23
|
+
set(options: object, resetOptions?: object): unknown;
|
|
24
|
+
show(): unknown;
|
|
25
|
+
hide(): unknown;
|
|
26
|
+
destroy(): unknown;
|
|
27
|
+
}
|
|
28
|
+
type ComponentConfig = {
|
|
29
|
+
/** 'light', 'dark' or 'auto' for the popup only; null inherits from the nearest `[data-bs-theme]` */
|
|
30
|
+
datepickerTheme: string | null;
|
|
31
|
+
dateMin: DateAny | null;
|
|
32
|
+
dateMax: DateAny | null;
|
|
33
|
+
/** `Intl.DateTimeFormat` options, or a function(date, locale) returning the text shown in the field */
|
|
34
|
+
dateFormat: Intl.DateTimeFormatOptions | ((date: Date, locale: string | undefined) => string) | null;
|
|
35
|
+
/** element that shows the formatted date; a button uses itself or its `[data-bs-datepicker-display]` child */
|
|
36
|
+
displayElement: string | HTMLElement | boolean | null;
|
|
37
|
+
displayMonthsCount: MonthsCount;
|
|
38
|
+
/** 0 = Sunday, 1 = Monday */
|
|
39
|
+
firstWeekday: WeekDayID;
|
|
40
|
+
/** render the calendar in place instead of a popup */
|
|
41
|
+
inline: boolean;
|
|
42
|
+
locale: string;
|
|
43
|
+
/** element the popup is aligned with; defaults to the `.input-icon` / `.input-group` wrapper or the element */
|
|
44
|
+
positionElement: string | HTMLElement | null;
|
|
45
|
+
/** preselected dates as `YYYY-MM-DD` */
|
|
46
|
+
selectedDates: string[];
|
|
47
|
+
selectionMode: DateMode;
|
|
48
|
+
placement: PositionToInput;
|
|
49
|
+
/** pass-through for any Vanilla Calendar Pro option */
|
|
50
|
+
vcpOptions: object;
|
|
51
|
+
};
|
|
52
|
+
type ComponentConfigInput = Partial<ComponentConfig> & Record<string, unknown>;
|
|
53
|
+
type ChangeEventArgs = {
|
|
54
|
+
dates: string[];
|
|
55
|
+
event: MouseEvent;
|
|
56
|
+
};
|
|
57
|
+
/**
|
|
58
|
+
* Class definition
|
|
59
|
+
*
|
|
60
|
+
* Wraps Vanilla Calendar Pro (https://vanilla-calendar.pro), loaded separately
|
|
61
|
+
* as `window.VanillaCalendarPro`. Without the plugin the component is inert.
|
|
62
|
+
* Same options, methods and events as Bootstrap 6's Datepicker, so markup
|
|
63
|
+
* written for one works with the other.
|
|
64
|
+
*/
|
|
65
|
+
declare class Datepicker extends BaseComponent {
|
|
66
|
+
_element: HTMLElement & {
|
|
67
|
+
value: string;
|
|
68
|
+
};
|
|
69
|
+
_config: ComponentConfig;
|
|
70
|
+
_isShown: boolean;
|
|
71
|
+
_isShowing: boolean;
|
|
72
|
+
_isHiding: boolean;
|
|
73
|
+
_isSilent: boolean;
|
|
74
|
+
_skipPluginShow: boolean;
|
|
75
|
+
_resolveShown: (() => void) | null;
|
|
76
|
+
_hideTimeout: number;
|
|
77
|
+
_isInput: boolean;
|
|
78
|
+
_isInline: boolean;
|
|
79
|
+
_boundInput: HTMLInputElement | null;
|
|
80
|
+
_positionElement: HTMLElement | null;
|
|
81
|
+
_displayElement: HTMLElement | false | null;
|
|
82
|
+
_themeObserver: MutationObserver | null;
|
|
83
|
+
_onFocusIn: ((event: Event) => void) | null;
|
|
84
|
+
_onResize: () => void;
|
|
85
|
+
_selectedDates: string[];
|
|
86
|
+
constructor(element: ElementSelector, config?: ComponentConfigInput);
|
|
87
|
+
static get Default(): ComponentConfig;
|
|
88
|
+
static get DefaultType(): Record<keyof ComponentConfig, string>;
|
|
89
|
+
static get NAME(): string;
|
|
90
|
+
/** The Vanilla Calendar Pro instance, for options the component does not expose. */
|
|
91
|
+
get calendar(): CalendarInstance | null;
|
|
92
|
+
toggle(): Promise<void>;
|
|
93
|
+
show(): Promise<void>;
|
|
94
|
+
hide(): Promise<void>;
|
|
95
|
+
dispose(): void;
|
|
96
|
+
getSelectedDates(): string[];
|
|
97
|
+
setSelectedDates(dates: DatesArr): void;
|
|
98
|
+
_initCalendar(): void;
|
|
99
|
+
_updateDisplayWithSelectedDates(): void;
|
|
100
|
+
_writeSelection(selectedDates: string[]): void;
|
|
101
|
+
_resolvePositionElement(): HTMLElement;
|
|
102
|
+
_resolveDisplayElement(): HTMLElement | false | null;
|
|
103
|
+
_alignToPositionElement(): void;
|
|
104
|
+
_getThemeAncestor(): Element | null;
|
|
105
|
+
_getEffectiveTheme(): string | null;
|
|
106
|
+
_syncThemeAttribute(element: HTMLElement | undefined): void;
|
|
107
|
+
_setupThemeObserver(): void;
|
|
108
|
+
_setupDismissOnFocus(): void;
|
|
109
|
+
_silently(callback: () => void): void;
|
|
110
|
+
_handlePluginShow(): void;
|
|
111
|
+
_handlePluginHide(): void;
|
|
112
|
+
_maybeHideAfterSelection(selectedDates: string[]): void;
|
|
113
|
+
_parseDate(dateStr: string): Date;
|
|
114
|
+
_formatDate(dateStr: string): string;
|
|
115
|
+
_formatDateForInput(dates: string[]): string;
|
|
116
|
+
_parseInputValue(): void;
|
|
117
|
+
_toIsoDate(value: DateAny | string): string;
|
|
118
|
+
}
|
|
119
|
+
export default Datepicker;
|
|
120
|
+
export type { ComponentConfig as DatepickerConfig, ChangeEventArgs as DatepickerChangeEventArgs };
|