@kiva/kv-components 5.2.1 → 5.3.0

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.
@@ -0,0 +1,59 @@
1
+ import { writeFileSync } from 'node:fs';
2
+ import {
3
+ basename,
4
+ dirname,
5
+ relative,
6
+ resolve,
7
+ } from 'node:path';
8
+
9
+ let viteConfig;
10
+
11
+ export default function libCss() {
12
+ return {
13
+ name: 'lib-css',
14
+ apply: 'build',
15
+ enforce: 'post',
16
+
17
+ // Get Vite config when it's resolved to use later
18
+ configResolved(config) {
19
+ viteConfig = config;
20
+ },
21
+
22
+ // Write css import statements to files with imported css after bundle is created
23
+ writeBundle(option, bundle) {
24
+ // Only run for es format in library mode
25
+ if (!viteConfig.build?.lib || option.format !== 'es') {
26
+ return;
27
+ }
28
+
29
+ const { root } = viteConfig;
30
+ const { outDir } = viteConfig.build;
31
+ const cssReplaceRegex = /\/\* empty css \s*\*\//;
32
+ const files = Object.keys(bundle);
33
+
34
+ // Find files with imported css
35
+ const filesWithImportedCss = files.filter((file) => bundle[file].viteMetadata?.importedCss?.size > 0);
36
+
37
+ // Replace empty css comment with css import statement in each file
38
+ filesWithImportedCss.forEach((file) => {
39
+ if (bundle[file].viteMetadata.importedCss.size > 1) {
40
+ console.warn(`Multiple css file imports not supported yet, skipping ${file}`);
41
+ return;
42
+ }
43
+
44
+ // Get css import path relative to current file
45
+ const [cssPath] = bundle[file].viteMetadata.importedCss;
46
+ const cssImportPath = relative(dirname(file), cssPath);
47
+
48
+ // Add prefix for current directory to css import path if necessary
49
+ const prefix = cssImportPath === basename(cssPath) ? './' : '';
50
+
51
+ // Replace empty css comment with css import statement
52
+ const fileContent = bundle[file].code.replace(cssReplaceRegex, `import "${prefix}${cssImportPath}";`);
53
+
54
+ // Write updated file content
55
+ writeFileSync(resolve(root, outDir, file), fileContent);
56
+ });
57
+ },
58
+ };
59
+ }
@@ -2,7 +2,7 @@ import { mdiArrowLeft as L, mdiArrowRight as B, mdiChevronLeft as U, mdiChevronR
2
2
  import { carouselUtil as E } from "../utils/carousels.js";
3
3
  import K from "./KvMaterialIcon.js";
4
4
  import { resolveComponent as M, openBlock as n, createElementBlock as a, normalizeClass as w, createElementVNode as i, Fragment as f, renderList as b, normalizeStyle as N, renderSlot as O, createVNode as c, toDisplayString as y, createCommentVNode as g } from "vue";
5
- /* empty css */
5
+ import "./KvCarousel.css";
6
6
  import R from "../_virtual/_plugin-vue_export-helper.js";
7
7
  const W = {
8
8
  components: {
@@ -7,7 +7,7 @@ import { unlockPrintSingleEl as X, lockPrintSingleEl as Y } from "../utils/print
7
7
  import Z from "./KvButton.js";
8
8
  import $ from "./KvMaterialIcon.js";
9
9
  import tt from "./KvBorrowerImage.js";
10
- /* empty css */
10
+ import "./KvCartModal.css";
11
11
  import et from "../_virtual/_plugin-vue_export-helper.js";
12
12
  const ot = {
13
13
  components: {
@@ -12,7 +12,7 @@ import O from "./KvLoadingPlaceholder.js";
12
12
  import G from "./KvLoanTeamPick.js";
13
13
  import J from "./KvLoanActivities.js";
14
14
  import { resolveComponent as r, openBlock as o, createElementBlock as u, normalizeClass as s, normalizeStyle as Q, createElementVNode as c, createBlock as i, resolveDynamicComponent as k, withCtx as g, createVNode as w, createTextVNode as X, toDisplayString as M, createCommentVNode as f, Fragment as Y, renderList as Z } from "vue";
15
- /* empty css */
15
+ import "./KvClassicLoanCard.css";
16
16
  import p from "../_virtual/_plugin-vue_export-helper.js";
17
17
  const $ = {
18
18
  name: "KvClassicLoanCard",
@@ -2,7 +2,7 @@ import { ref as u, computed as C, resolveComponent as s, openBlock as x, createE
2
2
  import k from "./KvButton.js";
3
3
  import N from "./KvTextInput.js";
4
4
  import V from "./KvUserAvatar.js";
5
- /* empty css */
5
+ import "./KvCommentsAdd.css";
6
6
  import E from "../_virtual/_plugin-vue_export-helper.js";
7
7
  const h = "add-comment-value", f = "add-comment", m = "hide-input", I = {
8
8
  name: "KvCommentsAdd",
@@ -1,7 +1,7 @@
1
1
  import { toRefs as c, computed as s, resolveComponent as r, openBlock as m, createElementBlock as f, createVNode as p, normalizeClass as u } from "vue";
2
2
  import { mdiHeart as d, mdiHeartOutline as k } from "@mdi/js";
3
3
  import v from "./KvMaterialIcon.js";
4
- /* empty css */
4
+ import "./KvCommentsHeartButton.css";
5
5
  import _ from "../_virtual/_plugin-vue_export-helper.js";
6
6
  const w = {
7
7
  name: "KvCommentsHeartButton",
@@ -1,6 +1,6 @@
1
1
  import C from "./KvButton.js";
2
2
  import { resolveComponent as r, openBlock as l, createBlock as p, withCtx as s, createElementVNode as o } from "vue";
3
- /* empty css */
3
+ import "./KvCommentsReplyButton.css";
4
4
  import i from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const m = {
6
6
  name: "KvCommentsReplyButton",
@@ -539,7 +539,7 @@ import * as pl from "./flags/4x3/za.svg.js";
539
539
  import * as vl from "./flags/4x3/zm.svg.js";
540
540
  import * as xl from "./flags/4x3/zw.svg.js";
541
541
  import { openBlock as r, createElementBlock as o, normalizeClass as f, normalizeStyle as t, createElementVNode as l, toDisplayString as i, createCommentVNode as p } from "vue";
542
- /* empty css */
542
+ import "./KvFlag.css";
543
543
  import $l from "../_virtual/_plugin-vue_export-helper.js";
544
544
  const el = /* @__PURE__ */ Object.assign({ "./flags/1x1/ad.svg": v, "./flags/1x1/ae.svg": x, "./flags/1x1/af.svg": $, "./flags/1x1/ag.svg": e, "./flags/1x1/ai.svg": c, "./flags/1x1/al.svg": n, "./flags/1x1/am.svg": b, "./flags/1x1/ao.svg": d, "./flags/1x1/aq.svg": h, "./flags/1x1/ar.svg": u, "./flags/1x1/arab.svg": k, "./flags/1x1/as.svg": w, "./flags/1x1/at.svg": y, "./flags/1x1/au.svg": z, "./flags/1x1/aw.svg": j, "./flags/1x1/ax.svg": q, "./flags/1x1/az.svg": _, "./flags/1x1/ba.svg": S, "./flags/1x1/bb.svg": W, "./flags/1x1/bd.svg": B, "./flags/1x1/be.svg": C, "./flags/1x1/bf.svg": N, "./flags/1x1/bg.svg": E, "./flags/1x1/bh.svg": O, "./flags/1x1/bi.svg": F, "./flags/1x1/bj.svg": I, "./flags/1x1/bl.svg": R, "./flags/1x1/bm.svg": U, "./flags/1x1/bn.svg": A, "./flags/1x1/bo.svg": G, "./flags/1x1/bq.svg": H, "./flags/1x1/br.svg": K, "./flags/1x1/bs.svg": L, "./flags/1x1/bt.svg": P, "./flags/1x1/bv.svg": T, "./flags/1x1/bw.svg": V, "./flags/1x1/by.svg": D, "./flags/1x1/bz.svg": J, "./flags/1x1/ca.svg": M, "./flags/1x1/cc.svg": Q, "./flags/1x1/cd.svg": X, "./flags/1x1/cefta.svg": Y, "./flags/1x1/cf.svg": Z, "./flags/1x1/cg.svg": ss, "./flags/1x1/ch.svg": as, "./flags/1x1/ci.svg": ms, "./flags/1x1/ck.svg": gs, "./flags/1x1/cl.svg": rs, "./flags/1x1/cm.svg": os, "./flags/1x1/cn.svg": fs, "./flags/1x1/co.svg": ts, "./flags/1x1/cp.svg": ls, "./flags/1x1/cr.svg": is, "./flags/1x1/cu.svg": ps, "./flags/1x1/cv.svg": vs, "./flags/1x1/cw.svg": xs, "./flags/1x1/cx.svg": $s, "./flags/1x1/cy.svg": es, "./flags/1x1/cz.svg": cs, "./flags/1x1/de.svg": ns, "./flags/1x1/dg.svg": bs, "./flags/1x1/dj.svg": ds, "./flags/1x1/dk.svg": hs, "./flags/1x1/dm.svg": us, "./flags/1x1/do.svg": ks, "./flags/1x1/dz.svg": ws, "./flags/1x1/eac.svg": ys, "./flags/1x1/ec.svg": zs, "./flags/1x1/ee.svg": js, "./flags/1x1/eg.svg": qs, "./flags/1x1/eh.svg": _s, "./flags/1x1/er.svg": Ss, "./flags/1x1/es-ct.svg": Ws, "./flags/1x1/es-ga.svg": Bs, "./flags/1x1/es-pv.svg": Cs, "./flags/1x1/es.svg": Ns, "./flags/1x1/et.svg": Es, "./flags/1x1/eu.svg": Os, "./flags/1x1/fi.svg": Fs, "./flags/1x1/fj.svg": Is, "./flags/1x1/fk.svg": Rs, "./flags/1x1/fm.svg": Us, "./flags/1x1/fo.svg": As, "./flags/1x1/fr.svg": Gs, "./flags/1x1/ga.svg": Hs, "./flags/1x1/gb-eng.svg": Ks, "./flags/1x1/gb-nir.svg": Ls, "./flags/1x1/gb-sct.svg": Ps, "./flags/1x1/gb-wls.svg": Ts, "./flags/1x1/gb.svg": Vs, "./flags/1x1/gd.svg": Ds, "./flags/1x1/ge.svg": Js, "./flags/1x1/gf.svg": Ms, "./flags/1x1/gg.svg": Qs, "./flags/1x1/gh.svg": Xs, "./flags/1x1/gi.svg": Ys, "./flags/1x1/gl.svg": Zs, "./flags/1x1/gm.svg": sa, "./flags/1x1/gn.svg": aa, "./flags/1x1/gp.svg": ma, "./flags/1x1/gq.svg": ga, "./flags/1x1/gr.svg": ra, "./flags/1x1/gs.svg": oa, "./flags/1x1/gt.svg": fa, "./flags/1x1/gu.svg": ta, "./flags/1x1/gw.svg": la, "./flags/1x1/gy.svg": ia, "./flags/1x1/hk.svg": pa, "./flags/1x1/hm.svg": va, "./flags/1x1/hn.svg": xa, "./flags/1x1/hr.svg": $a, "./flags/1x1/ht.svg": ea, "./flags/1x1/hu.svg": ca, "./flags/1x1/ic.svg": na, "./flags/1x1/id.svg": ba, "./flags/1x1/ie.svg": da, "./flags/1x1/il.svg": ha, "./flags/1x1/im.svg": ua, "./flags/1x1/in.svg": ka, "./flags/1x1/io.svg": wa, "./flags/1x1/iq.svg": ya, "./flags/1x1/ir.svg": za, "./flags/1x1/is.svg": ja, "./flags/1x1/it.svg": qa, "./flags/1x1/je.svg": _a, "./flags/1x1/jm.svg": Sa, "./flags/1x1/jo.svg": Wa, "./flags/1x1/jp.svg": Ba, "./flags/1x1/ke.svg": Ca, "./flags/1x1/kg.svg": Na, "./flags/1x1/kh.svg": Ea, "./flags/1x1/ki.svg": Oa, "./flags/1x1/km.svg": Fa, "./flags/1x1/kn.svg": Ia, "./flags/1x1/kp.svg": Ra, "./flags/1x1/kr.svg": Ua, "./flags/1x1/kw.svg": Aa, "./flags/1x1/ky.svg": Ga, "./flags/1x1/kz.svg": Ha, "./flags/1x1/la.svg": Ka, "./flags/1x1/lb.svg": La, "./flags/1x1/lc.svg": Pa, "./flags/1x1/li.svg": Ta, "./flags/1x1/lk.svg": Va, "./flags/1x1/lr.svg": Da, "./flags/1x1/ls.svg": Ja, "./flags/1x1/lt.svg": Ma, "./flags/1x1/lu.svg": Qa, "./flags/1x1/lv.svg": Xa, "./flags/1x1/ly.svg": Ya, "./flags/1x1/ma.svg": Za, "./flags/1x1/mc.svg": sm, "./flags/1x1/md.svg": am, "./flags/1x1/me.svg": mm, "./flags/1x1/mf.svg": gm, "./flags/1x1/mg.svg": rm, "./flags/1x1/mh.svg": om, "./flags/1x1/mk.svg": fm, "./flags/1x1/ml.svg": tm, "./flags/1x1/mm.svg": lm, "./flags/1x1/mn.svg": im, "./flags/1x1/mo.svg": pm, "./flags/1x1/mp.svg": vm, "./flags/1x1/mq.svg": xm, "./flags/1x1/mr.svg": $m, "./flags/1x1/ms.svg": em, "./flags/1x1/mt.svg": cm, "./flags/1x1/mu.svg": nm, "./flags/1x1/mv.svg": bm, "./flags/1x1/mw.svg": dm, "./flags/1x1/mx.svg": hm, "./flags/1x1/my.svg": um, "./flags/1x1/mz.svg": km, "./flags/1x1/na.svg": wm, "./flags/1x1/nc.svg": ym, "./flags/1x1/ne.svg": zm, "./flags/1x1/nf.svg": jm, "./flags/1x1/ng.svg": qm, "./flags/1x1/ni.svg": _m, "./flags/1x1/nl.svg": Sm, "./flags/1x1/no.svg": Wm, "./flags/1x1/np.svg": Bm, "./flags/1x1/nr.svg": Cm, "./flags/1x1/nu.svg": Nm, "./flags/1x1/nz.svg": Em, "./flags/1x1/om.svg": Om, "./flags/1x1/pa.svg": Fm, "./flags/1x1/pc.svg": Im, "./flags/1x1/pe.svg": Rm, "./flags/1x1/pf.svg": Um, "./flags/1x1/pg.svg": Am, "./flags/1x1/ph.svg": Gm, "./flags/1x1/pk.svg": Hm, "./flags/1x1/pl.svg": Km, "./flags/1x1/pm.svg": Lm, "./flags/1x1/pn.svg": Pm, "./flags/1x1/pr.svg": Tm, "./flags/1x1/ps.svg": Vm, "./flags/1x1/pt.svg": Dm, "./flags/1x1/pw.svg": Jm, "./flags/1x1/py.svg": Mm, "./flags/1x1/qa.svg": Qm, "./flags/1x1/re.svg": Xm, "./flags/1x1/ro.svg": Ym, "./flags/1x1/rs.svg": Zm, "./flags/1x1/ru.svg": sg, "./flags/1x1/rw.svg": ag, "./flags/1x1/sa.svg": mg, "./flags/1x1/sb.svg": gg, "./flags/1x1/sc.svg": rg, "./flags/1x1/sd.svg": og, "./flags/1x1/se.svg": fg, "./flags/1x1/sg.svg": tg, "./flags/1x1/sh-ac.svg": lg, "./flags/1x1/sh-hl.svg": ig, "./flags/1x1/sh-ta.svg": pg, "./flags/1x1/sh.svg": vg, "./flags/1x1/si.svg": xg, "./flags/1x1/sj.svg": $g, "./flags/1x1/sk.svg": eg, "./flags/1x1/sl.svg": cg, "./flags/1x1/sm.svg": ng, "./flags/1x1/sn.svg": bg, "./flags/1x1/so.svg": dg, "./flags/1x1/sr.svg": hg, "./flags/1x1/ss.svg": ug, "./flags/1x1/st.svg": kg, "./flags/1x1/sv.svg": wg, "./flags/1x1/sx.svg": yg, "./flags/1x1/sy.svg": zg, "./flags/1x1/sz.svg": jg, "./flags/1x1/tc.svg": qg, "./flags/1x1/td.svg": _g, "./flags/1x1/tf.svg": Sg, "./flags/1x1/tg.svg": Wg, "./flags/1x1/th.svg": Bg, "./flags/1x1/tj.svg": Cg, "./flags/1x1/tk.svg": Ng, "./flags/1x1/tl.svg": Eg, "./flags/1x1/tm.svg": Og, "./flags/1x1/tn.svg": Fg, "./flags/1x1/to.svg": Ig, "./flags/1x1/tr.svg": Rg, "./flags/1x1/tt.svg": Ug, "./flags/1x1/tv.svg": Ag, "./flags/1x1/tw.svg": Gg, "./flags/1x1/tz.svg": Hg, "./flags/1x1/ua.svg": Kg, "./flags/1x1/ug.svg": Lg, "./flags/1x1/um.svg": Pg, "./flags/1x1/un.svg": Tg, "./flags/1x1/us.svg": Vg, "./flags/1x1/uy.svg": Dg, "./flags/1x1/uz.svg": Jg, "./flags/1x1/va.svg": Mg, "./flags/1x1/vc.svg": Qg, "./flags/1x1/ve.svg": Xg, "./flags/1x1/vg.svg": Yg, "./flags/1x1/vi.svg": Zg, "./flags/1x1/vn.svg": sr, "./flags/1x1/vu.svg": ar, "./flags/1x1/wf.svg": mr, "./flags/1x1/ws.svg": gr, "./flags/1x1/xk.svg": rr, "./flags/1x1/xx.svg": or, "./flags/1x1/ye.svg": fr, "./flags/1x1/yt.svg": tr, "./flags/1x1/za.svg": lr, "./flags/1x1/zm.svg": ir, "./flags/1x1/zw.svg": pr, "./flags/4x3/ad.svg": vr, "./flags/4x3/ae.svg": xr, "./flags/4x3/af.svg": $r, "./flags/4x3/ag.svg": er, "./flags/4x3/ai.svg": cr, "./flags/4x3/al.svg": nr, "./flags/4x3/am.svg": br, "./flags/4x3/ao.svg": dr, "./flags/4x3/aq.svg": hr, "./flags/4x3/ar.svg": ur, "./flags/4x3/arab.svg": kr, "./flags/4x3/as.svg": wr, "./flags/4x3/at.svg": yr, "./flags/4x3/au.svg": zr, "./flags/4x3/aw.svg": jr, "./flags/4x3/ax.svg": qr, "./flags/4x3/az.svg": _r, "./flags/4x3/ba.svg": Sr, "./flags/4x3/bb.svg": Wr, "./flags/4x3/bd.svg": Br, "./flags/4x3/be.svg": Cr, "./flags/4x3/bf.svg": Nr, "./flags/4x3/bg.svg": Er, "./flags/4x3/bh.svg": Or, "./flags/4x3/bi.svg": Fr, "./flags/4x3/bj.svg": Ir, "./flags/4x3/bl.svg": Rr, "./flags/4x3/bm.svg": Ur, "./flags/4x3/bn.svg": Ar, "./flags/4x3/bo.svg": Gr, "./flags/4x3/bq.svg": Hr, "./flags/4x3/br.svg": Kr, "./flags/4x3/bs.svg": Lr, "./flags/4x3/bt.svg": Pr, "./flags/4x3/bv.svg": Tr, "./flags/4x3/bw.svg": Vr, "./flags/4x3/by.svg": Dr, "./flags/4x3/bz.svg": Jr, "./flags/4x3/ca.svg": Mr, "./flags/4x3/cc.svg": Qr, "./flags/4x3/cd.svg": Xr, "./flags/4x3/cefta.svg": Yr, "./flags/4x3/cf.svg": Zr, "./flags/4x3/cg.svg": so, "./flags/4x3/ch.svg": ao, "./flags/4x3/ci.svg": mo, "./flags/4x3/ck.svg": go, "./flags/4x3/cl.svg": ro, "./flags/4x3/cm.svg": oo, "./flags/4x3/cn.svg": fo, "./flags/4x3/co.svg": to, "./flags/4x3/cp.svg": lo, "./flags/4x3/cr.svg": io, "./flags/4x3/cu.svg": po, "./flags/4x3/cv.svg": vo, "./flags/4x3/cw.svg": xo, "./flags/4x3/cx.svg": $o, "./flags/4x3/cy.svg": eo, "./flags/4x3/cz.svg": co, "./flags/4x3/de.svg": no, "./flags/4x3/dg.svg": bo, "./flags/4x3/dj.svg": ho, "./flags/4x3/dk.svg": uo, "./flags/4x3/dm.svg": ko, "./flags/4x3/do.svg": wo, "./flags/4x3/dz.svg": yo, "./flags/4x3/eac.svg": zo, "./flags/4x3/ec.svg": jo, "./flags/4x3/ee.svg": qo, "./flags/4x3/eg.svg": _o, "./flags/4x3/eh.svg": So, "./flags/4x3/er.svg": Wo, "./flags/4x3/es-ct.svg": Bo, "./flags/4x3/es-ga.svg": Co, "./flags/4x3/es-pv.svg": No, "./flags/4x3/es.svg": Eo, "./flags/4x3/et.svg": Oo, "./flags/4x3/eu.svg": Fo, "./flags/4x3/fi.svg": Io, "./flags/4x3/fj.svg": Ro, "./flags/4x3/fk.svg": Uo, "./flags/4x3/fm.svg": Ao, "./flags/4x3/fo.svg": Go, "./flags/4x3/fr.svg": Ho, "./flags/4x3/ga.svg": Ko, "./flags/4x3/gb-eng.svg": Lo, "./flags/4x3/gb-nir.svg": Po, "./flags/4x3/gb-sct.svg": To, "./flags/4x3/gb-wls.svg": Vo, "./flags/4x3/gb.svg": Do, "./flags/4x3/gd.svg": Jo, "./flags/4x3/ge.svg": Mo, "./flags/4x3/gf.svg": Qo, "./flags/4x3/gg.svg": Xo, "./flags/4x3/gh.svg": Yo, "./flags/4x3/gi.svg": Zo, "./flags/4x3/gl.svg": sf, "./flags/4x3/gm.svg": af, "./flags/4x3/gn.svg": mf, "./flags/4x3/gp.svg": gf, "./flags/4x3/gq.svg": rf, "./flags/4x3/gr.svg": of, "./flags/4x3/gs.svg": ff, "./flags/4x3/gt.svg": tf, "./flags/4x3/gu.svg": lf, "./flags/4x3/gw.svg": pf, "./flags/4x3/gy.svg": vf, "./flags/4x3/hk.svg": xf, "./flags/4x3/hm.svg": $f, "./flags/4x3/hn.svg": ef, "./flags/4x3/hr.svg": cf, "./flags/4x3/ht.svg": nf, "./flags/4x3/hu.svg": bf, "./flags/4x3/ic.svg": df, "./flags/4x3/id.svg": hf, "./flags/4x3/ie.svg": uf, "./flags/4x3/il.svg": kf, "./flags/4x3/im.svg": wf, "./flags/4x3/in.svg": yf, "./flags/4x3/io.svg": zf, "./flags/4x3/iq.svg": jf, "./flags/4x3/ir.svg": qf, "./flags/4x3/is.svg": _f, "./flags/4x3/it.svg": Sf, "./flags/4x3/je.svg": Wf, "./flags/4x3/jm.svg": Bf, "./flags/4x3/jo.svg": Cf, "./flags/4x3/jp.svg": Nf, "./flags/4x3/ke.svg": Ef, "./flags/4x3/kg.svg": Of, "./flags/4x3/kh.svg": Ff, "./flags/4x3/ki.svg": If, "./flags/4x3/km.svg": Rf, "./flags/4x3/kn.svg": Uf, "./flags/4x3/kp.svg": Af, "./flags/4x3/kr.svg": Gf, "./flags/4x3/kw.svg": Hf, "./flags/4x3/ky.svg": Kf, "./flags/4x3/kz.svg": Lf, "./flags/4x3/la.svg": Pf, "./flags/4x3/lb.svg": Tf, "./flags/4x3/lc.svg": Vf, "./flags/4x3/li.svg": Df, "./flags/4x3/lk.svg": Jf, "./flags/4x3/lr.svg": Mf, "./flags/4x3/ls.svg": Qf, "./flags/4x3/lt.svg": Xf, "./flags/4x3/lu.svg": Yf, "./flags/4x3/lv.svg": Zf, "./flags/4x3/ly.svg": s1, "./flags/4x3/ma.svg": a1, "./flags/4x3/mc.svg": m1, "./flags/4x3/md.svg": g1, "./flags/4x3/me.svg": r1, "./flags/4x3/mf.svg": o1, "./flags/4x3/mg.svg": f1, "./flags/4x3/mh.svg": t1, "./flags/4x3/mk.svg": l1, "./flags/4x3/ml.svg": i1, "./flags/4x3/mm.svg": p1, "./flags/4x3/mn.svg": v1, "./flags/4x3/mo.svg": x1, "./flags/4x3/mp.svg": $1, "./flags/4x3/mq.svg": e1, "./flags/4x3/mr.svg": c1, "./flags/4x3/ms.svg": n1, "./flags/4x3/mt.svg": b1, "./flags/4x3/mu.svg": d1, "./flags/4x3/mv.svg": h1, "./flags/4x3/mw.svg": u1, "./flags/4x3/mx.svg": k1, "./flags/4x3/my.svg": w1, "./flags/4x3/mz.svg": y1, "./flags/4x3/na.svg": z1, "./flags/4x3/nc.svg": j1, "./flags/4x3/ne.svg": q1, "./flags/4x3/nf.svg": _1, "./flags/4x3/ng.svg": S1, "./flags/4x3/ni.svg": W1, "./flags/4x3/nl.svg": B1, "./flags/4x3/no.svg": C1, "./flags/4x3/np.svg": N1, "./flags/4x3/nr.svg": E1, "./flags/4x3/nu.svg": O1, "./flags/4x3/nz.svg": F1, "./flags/4x3/om.svg": I1, "./flags/4x3/pa.svg": R1, "./flags/4x3/pc.svg": U1, "./flags/4x3/pe.svg": A1, "./flags/4x3/pf.svg": G1, "./flags/4x3/pg.svg": H1, "./flags/4x3/ph.svg": K1, "./flags/4x3/pk.svg": L1, "./flags/4x3/pl.svg": P1, "./flags/4x3/pm.svg": T1, "./flags/4x3/pn.svg": V1, "./flags/4x3/pr.svg": D1, "./flags/4x3/ps.svg": J1, "./flags/4x3/pt.svg": M1, "./flags/4x3/pw.svg": Q1, "./flags/4x3/py.svg": X1, "./flags/4x3/qa.svg": Y1, "./flags/4x3/re.svg": Z1, "./flags/4x3/ro.svg": st, "./flags/4x3/rs.svg": at, "./flags/4x3/ru.svg": mt, "./flags/4x3/rw.svg": gt, "./flags/4x3/sa.svg": rt, "./flags/4x3/sb.svg": ot, "./flags/4x3/sc.svg": ft, "./flags/4x3/sd.svg": tt, "./flags/4x3/se.svg": lt, "./flags/4x3/sg.svg": it, "./flags/4x3/sh-ac.svg": pt, "./flags/4x3/sh-hl.svg": vt, "./flags/4x3/sh-ta.svg": xt, "./flags/4x3/sh.svg": $t, "./flags/4x3/si.svg": et, "./flags/4x3/sj.svg": ct, "./flags/4x3/sk.svg": nt, "./flags/4x3/sl.svg": bt, "./flags/4x3/sm.svg": dt, "./flags/4x3/sn.svg": ht, "./flags/4x3/so.svg": ut, "./flags/4x3/sr.svg": kt, "./flags/4x3/ss.svg": wt, "./flags/4x3/st.svg": yt, "./flags/4x3/sv.svg": zt, "./flags/4x3/sx.svg": jt, "./flags/4x3/sy.svg": qt, "./flags/4x3/sz.svg": _t, "./flags/4x3/tc.svg": St, "./flags/4x3/td.svg": Wt, "./flags/4x3/tf.svg": Bt, "./flags/4x3/tg.svg": Ct, "./flags/4x3/th.svg": Nt, "./flags/4x3/tj.svg": Et, "./flags/4x3/tk.svg": Ot, "./flags/4x3/tl.svg": Ft, "./flags/4x3/tm.svg": It, "./flags/4x3/tn.svg": Rt, "./flags/4x3/to.svg": Ut, "./flags/4x3/tr.svg": At, "./flags/4x3/tt.svg": Gt, "./flags/4x3/tv.svg": Ht, "./flags/4x3/tw.svg": Kt, "./flags/4x3/tz.svg": Lt, "./flags/4x3/ua.svg": Pt, "./flags/4x3/ug.svg": Tt, "./flags/4x3/um.svg": Vt, "./flags/4x3/un.svg": Dt, "./flags/4x3/us.svg": Jt, "./flags/4x3/uy.svg": Mt, "./flags/4x3/uz.svg": Qt, "./flags/4x3/va.svg": Xt, "./flags/4x3/vc.svg": Yt, "./flags/4x3/ve.svg": Zt, "./flags/4x3/vg.svg": sl, "./flags/4x3/vi.svg": al, "./flags/4x3/vn.svg": ml, "./flags/4x3/vu.svg": gl, "./flags/4x3/wf.svg": rl, "./flags/4x3/ws.svg": ol, "./flags/4x3/xk.svg": fl, "./flags/4x3/xx.svg": tl, "./flags/4x3/ye.svg": ll, "./flags/4x3/yt.svg": il, "./flags/4x3/za.svg": pl, "./flags/4x3/zm.svg": vl, "./flags/4x3/zw.svg": xl }), cl = (a, g) => el[`./flags/${g}/${a.toLowerCase()}.svg`].default, nl = {
545
545
  name: "KvFlag",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as o, createElementBlock as s, createElementVNode as t, renderSlot as c } from "vue";
2
- /* empty css */
2
+ import "./KvImpactDashboardHeader.css";
3
3
  import l from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const d = {}, a = { class: "tw-bg-primary" }, h = {
5
5
  class: "header__full tw-h-9 tw-grid xl:tw-gap-x-4 tw-items-center tw-mx-auto tw-px-2.5 md:tw-px-4 lg:tw-px-8",
@@ -1,6 +1,6 @@
1
1
  import { toRefs as c, computed as l, resolveComponent as m, openBlock as p, createElementBlock as i, createVNode as _, createElementVNode as d, toDisplayString as v, createTextVNode as u } from "vue";
2
2
  import w from "./KvUserAvatar.js";
3
- /* empty css */
3
+ import "./KvInlineActivityCard.css";
4
4
  import f from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const g = {
6
6
  name: "KvInlineActivityCard",
@@ -1,6 +1,6 @@
1
1
  import c from "./KvInlineActivityCard.js";
2
2
  import { resolveComponent as a, openBlock as t, createElementBlock as e, Fragment as l, renderList as s, createBlock as p } from "vue";
3
- /* empty css */
3
+ import "./KvInlineActivityFeed.css";
4
4
  import v from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const d = {
6
6
  name: "KvInlineActivityFeed",
@@ -10,7 +10,7 @@ import E from "./KvMaterialIcon.js";
10
10
  import H from "./KvLoadingPlaceholder.js";
11
11
  import O from "./KvFlag.js";
12
12
  import { resolveComponent as m, openBlock as t, createElementBlock as d, normalizeClass as L, normalizeStyle as G, createElementVNode as c, createBlock as a, resolveDynamicComponent as f, withCtx as h, createVNode as s, Suspense as J, createTextVNode as Q, toDisplayString as P, createCommentVNode as u, Fragment as X, renderList as Y } from "vue";
13
- /* empty css */
13
+ import "./KvIntroductionLoanCard.css";
14
14
  import Z from "../_virtual/_plugin-vue_export-helper.js";
15
15
  const $ = {
16
16
  name: "KvIntroductionLoanCard",
@@ -5,7 +5,7 @@ import _ from "./KvSelect.js";
5
5
  import D from "./KvButton.js";
6
6
  import P from "./KvMaterialIcon.js";
7
7
  import { resolveComponent as w, openBlock as i, createElementBlock as a, createBlock as l, normalizeClass as d, withCtx as r, createTextVNode as c, toDisplayString as m, createElementVNode as y, createVNode as S, withModifiers as A, Fragment as v, renderList as p, createCommentVNode as u } from "vue";
8
- /* empty css */
8
+ import "./KvLendCta.css";
9
9
  import F from "../_virtual/_plugin-vue_export-helper.js";
10
10
  const I = {
11
11
  name: "KvLendCta",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as t } from "vue";
2
- /* empty css */
2
+ import "./KvLoadingPlaceholder.css";
3
3
  import o from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const r = {}, c = { class: "loading-placeholder tw-w-full tw-h-full tw-relative tw-overflow-hidden tw-bg-tertiary tw-rounded-sm" };
5
5
  function l(d, n) {
@@ -4,7 +4,7 @@ import { format as B } from "date-fns";
4
4
  import N from "./KvActivityRow.js";
5
5
  import j from "./KvLightbox.js";
6
6
  import D from "./KvLendCta.js";
7
- /* empty css */
7
+ import "./KvLoanActivities.css";
8
8
  import T from "../_virtual/_plugin-vue_export-helper.js";
9
9
  const O = {
10
10
  name: "KvLoanActivities",
@@ -1,5 +1,5 @@
1
1
  import { openBlock as e, createElementBlock as l, createElementVNode as r, Fragment as s, renderList as a, toDisplayString as n } from "vue";
2
- /* empty css */
2
+ import "./KvLoanCallouts.css";
3
3
  import i from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const c = {
5
5
  name: "KvLoanCallouts",
@@ -1,7 +1,7 @@
1
1
  import a from "numeral";
2
2
  import c from "./KvProgressBar.js";
3
3
  import { resolveComponent as i, openBlock as n, createElementBlock as l, createElementVNode as s, normalizeClass as u, toDisplayString as m, createCommentVNode as d, createVNode as p } from "vue";
4
- /* empty css */
4
+ import "./KvLoanProgressGroup.css";
5
5
  import g from "../_virtual/_plugin-vue_export-helper.js";
6
6
  const _ = {
7
7
  name: "KvLoanProgressGroup",
package/dist/vue/KvMap.js CHANGED
@@ -1,7 +1,7 @@
1
1
  import n from "@kiva/kv-tokens";
2
2
  import { generateMapMarkers as l, animationCoordinator as h, getCountryColor as r } from "../utils/mapUtils.js";
3
3
  import { openBlock as c, createElementBlock as m, normalizeStyle as d, createElementVNode as p } from "vue";
4
- /* empty css */
4
+ import "./KvMap.css";
5
5
  import u from "../_virtual/_plugin-vue_export-helper.js";
6
6
  const f = {
7
7
  name: "KvMap",
@@ -2,7 +2,7 @@ import K from "numeral";
2
2
  import { toRefs as L, ref as g, computed as h, resolveComponent as R, openBlock as i, createElementBlock as r, createElementVNode as l, createVNode as W, Fragment as V, renderList as X, normalizeStyle as Y, toDisplayString as m, createCommentVNode as F, createTextVNode as D, toRaw as T } from "vue";
3
3
  import q from "../utils/Alea.js";
4
4
  import G from "./KvLoadingPlaceholder.js";
5
- /* empty css */
5
+ import "./KvPieChart.css";
6
6
  import H from "../_virtual/_plugin-vue_export-helper.js";
7
7
  function b(p, n, a, e) {
8
8
  return [
@@ -1,5 +1,5 @@
1
- import { toRefs as T, ref as u, watch as L, resolveComponent as B, openBlock as p, createElementBlock as g, normalizeClass as c, withModifiers as E, createElementVNode as d, normalizeStyle as _, createVNode as k, createCommentVNode as S, renderSlot as z } from "vue";
2
- import { mdiClose as F, mdiLaunch as N } from "@mdi/js";
1
+ import { toRefs as T, ref as v, watch as E, resolveComponent as B, openBlock as g, createElementBlock as S, normalizeClass as c, withModifiers as _, createElementVNode as d, normalizeStyle as z, createVNode as b, createCommentVNode as C, renderSlot as F } from "vue";
2
+ import { mdiClose as K, mdiLaunch as N } from "@mdi/js";
3
3
  import V from "./KvMaterialIcon.js";
4
4
  import j from "../_virtual/_plugin-vue_export-helper.js";
5
5
  const G = {
@@ -46,75 +46,79 @@ const G = {
46
46
  emits: [
47
47
  "side-sheet-closed"
48
48
  ],
49
- setup(w, { emit: e }) {
49
+ setup(w, { emit: o }) {
50
50
  const {
51
- visible: n,
51
+ visible: a,
52
52
  kvTrackFunction: t,
53
53
  trackEventCategory: f,
54
54
  animationSourceElement: r
55
- } = T(w), l = u(!1), i = u({}), a = u({}), v = () => {
56
- const s = "tw-overflow-hidden";
57
- l.value ? document.body.classList.add(s) : document.body.classList.remove(s);
58
- }, b = () => {
59
- l.value = !1, v(), t.value(f.value, "click", "side-sheet-closed"), r.value && (a.value = {
55
+ } = T(w), n = v(!1), i = v({}), s = v({});
56
+ let u = null;
57
+ const m = () => {
58
+ const l = "tw-overflow-hidden";
59
+ n.value ? document.body.classList.add(l) : document.body.classList.remove(l);
60
+ }, y = () => {
61
+ n.value = !1, m(), t.value(f.value, "click", "side-sheet-closed"), r.value && (s.value = {
60
62
  ...i.value,
61
63
  transition: "all 0.5s ease-in-out"
62
64
  }), setTimeout(() => {
63
- e("side-sheet-closed");
64
- }, "700");
65
- }, C = () => {
66
- e("go-to-link");
65
+ o("side-sheet-closed");
66
+ }, "700"), document.removeEventListener("keyup", u);
67
+ }, x = () => {
68
+ o("go-to-link");
67
69
  };
68
- return L(n, () => {
69
- var s;
70
- if (n.value) {
71
- setTimeout(() => {
72
- l.value = !0, v();
70
+ return u = (l) => {
71
+ l && l.key === "Escape" && y();
72
+ }, E(a, () => {
73
+ var l;
74
+ if (a.value) {
75
+ document.addEventListener("keyup", u), setTimeout(() => {
76
+ n.value = !0, m();
73
77
  }, 100);
74
- const o = (s = r.value) == null ? void 0 : s.getBoundingClientRect(), m = (o == null ? void 0 : o.top) ?? 0, x = (o == null ? void 0 : o.left) ?? 0, y = (o == null ? void 0 : o.width) ?? 0, h = (o == null ? void 0 : o.height) ?? 0;
75
- m || x || y || h ? (i.value = {
78
+ const e = (l = r.value) == null ? void 0 : l.getBoundingClientRect(), h = (e == null ? void 0 : e.top) ?? 0, L = (e == null ? void 0 : e.left) ?? 0, p = (e == null ? void 0 : e.width) ?? 0, k = (e == null ? void 0 : e.height) ?? 0;
79
+ h || L || p || k ? (i.value = {
76
80
  position: "fixed",
77
- top: `${m}px`,
78
- width: `${y}px`,
79
- height: `${h}px`
80
- }, a.value = {
81
+ top: `${h}px`,
82
+ width: `${p}px`,
83
+ height: `${k}px`
84
+ }, s.value = {
81
85
  ...i.value,
82
86
  transition: "none"
83
87
  }, setTimeout(() => {
84
- a.value = {
88
+ s.value = {
85
89
  top: "0",
86
90
  width: "100vw",
87
91
  height: "100%",
88
92
  transition: "all 0.5s ease-in-out"
89
93
  };
90
- }, 10)) : a.value = {};
94
+ }, 10)) : s.value = {};
91
95
  }
92
96
  }), {
93
- mdiClose: F,
97
+ mdiClose: K,
94
98
  mdiLaunch: N,
95
- open: l,
96
- closeSideSheet: b,
97
- goToLink: C,
98
- modalStyles: a
99
+ open: n,
100
+ closeSideSheet: y,
101
+ goToLink: x,
102
+ modalStyles: s
99
103
  };
100
104
  }
101
105
  };
102
- function K(w, e, n, t, f, r) {
103
- const l = B("kv-material-icon");
104
- return n.visible ? (p(), g("div", {
106
+ function M(w, o, a, t, f, r) {
107
+ const n = B("kv-material-icon");
108
+ return a.visible ? (g(), S("div", {
105
109
  key: 0,
106
110
  class: c(["tw-block lg:tw-mt-0 tw-fixed tw-inset-0 tw-bg-black tw-transition-all md:tw-duration-150 tw-z-modal", {
107
111
  "tw-bg-opacity-0 tw-delay-300": !t.open,
108
112
  "tw-bg-opacity-low": t.open
109
113
  }]),
110
- onClick: e[2] || (e[2] = E((...i) => t.closeSideSheet && t.closeSideSheet(...i), ["self"]))
114
+ onClick: o[2] || (o[2] = _((...i) => t.closeSideSheet && t.closeSideSheet(...i), ["self"]))
111
115
  }, [
112
116
  d("div", {
113
117
  class: c(["tw-fixed tw-right-0 tw-transition-all tw-duration-300 tw-bg-white tw-overflow-y-auto tw-p-2", {
114
118
  "tw-w-0 tw-delay-200 tw-opacity-0": !t.open,
115
119
  "lg:tw-w-1/2 tw-w-full tw-opacity-full": t.open
116
120
  }]),
117
- style: _(t.modalStyles)
121
+ style: z(t.modalStyles)
118
122
  }, [
119
123
  d("div", {
120
124
  class: c(["tw-flex tw-justify-between tw-transition-opacity tw-duration-500 tw-delay-200", {
@@ -124,23 +128,23 @@ function K(w, e, n, t, f, r) {
124
128
  }, [
125
129
  d("button", {
126
130
  class: "hover:tw-text-action-highlight",
127
- onClick: e[0] || (e[0] = (...i) => t.closeSideSheet && t.closeSideSheet(...i))
131
+ onClick: o[0] || (o[0] = (...i) => t.closeSideSheet && t.closeSideSheet(...i))
128
132
  }, [
129
- k(l, {
133
+ b(n, {
130
134
  class: "tw-w-3 tw-h-3",
131
135
  icon: t.mdiClose
132
136
  }, null, 8, ["icon"])
133
137
  ]),
134
- n.showGoToLink ? (p(), g("button", {
138
+ a.showGoToLink ? (g(), S("button", {
135
139
  key: 0,
136
140
  class: "hover:tw-text-action-highlight",
137
- onClick: e[1] || (e[1] = (...i) => t.goToLink && t.goToLink(...i))
141
+ onClick: o[1] || (o[1] = (...i) => t.goToLink && t.goToLink(...i))
138
142
  }, [
139
- k(l, {
143
+ b(n, {
140
144
  class: "tw-w-3 tw-h-3",
141
145
  icon: t.mdiLaunch
142
146
  }, null, 8, ["icon"])
143
- ])) : S("", !0)
147
+ ])) : C("", !0)
144
148
  ], 2),
145
149
  d("div", {
146
150
  class: c(["tw-p-4 tw-overflow-y-auto tw-transition-opacity tw-duration-500 tw-delay-200 tw-overscroll-y-contain", {
@@ -148,12 +152,12 @@ function K(w, e, n, t, f, r) {
148
152
  "tw-opacity-full": t.open
149
153
  }])
150
154
  }, [
151
- z(w.$slots, "default")
155
+ F(w.$slots, "default")
152
156
  ], 2)
153
157
  ], 6)
154
- ], 2)) : S("", !0);
158
+ ], 2)) : C("", !0);
155
159
  }
156
- const q = /* @__PURE__ */ j(G, [["render", K]]);
160
+ const q = /* @__PURE__ */ j(G, [["render", M]]);
157
161
  export {
158
162
  q as default
159
163
  };
@@ -1,5 +1,5 @@
1
1
  import { openBlock as r, createElementBlock as o, normalizeStyle as l, renderSlot as n } from "vue";
2
- /* empty css */
2
+ import "./KvThemeProvider.css";
3
3
  import c from "../_virtual/_plugin-vue_export-helper.js";
4
4
  const a = {
5
5
  props: {
@@ -2,7 +2,7 @@ import { toRefs as u, ref as v, computed as w, resolveComponent as p, openBlock
2
2
  import { darkTheme as l, mintTheme as a } from "@kiva/kv-tokens";
3
3
  import x from "./KvPopper.js";
4
4
  import T from "./KvThemeProvider.js";
5
- /* empty css */
5
+ import "./KvTooltip.css";
6
6
  import b from "../_virtual/_plugin-vue_export-helper.js";
7
7
  const M = {
8
8
  name: "KvTooltip",
@@ -5,7 +5,7 @@ import { throttle as C } from "../utils/throttle.js";
5
5
  import b from "./KvTooltip.js";
6
6
  import M from "./KvLoadingPlaceholder.js";
7
7
  import { resolveComponent as m, openBlock as n, createElementBlock as c, Fragment as E, renderList as S, normalizeStyle as p, createBlock as w, createCommentVNode as h, normalizeClass as T, createElementVNode as v, toDisplayString as a, withCtx as g, createTextVNode as f } from "vue";
8
- /* empty css */
8
+ import "./KvTreeMapChart.css";
9
9
  import W from "../_virtual/_plugin-vue_export-helper.js";
10
10
  const { breakpoints: y } = k, P = {
11
11
  name: "TreeMapFigure",
@@ -3,7 +3,7 @@ import { computed as _, resolveComponent as a, openBlock as o, createElementBloc
3
3
  import x from "./KvProgressBar.js";
4
4
  import k from "./KvButton.js";
5
5
  import y from "./KvMaterialIcon.js";
6
- /* empty css */
6
+ import "./KvVotingCard.css";
7
7
  import b from "../_virtual/_plugin-vue_export-helper.js";
8
8
  const C = {
9
9
  name: "KvVotingCard",
@@ -2,7 +2,7 @@ import { ref as x, toRefs as h, computed as u, resolveComponent as d, openBlock
2
2
  import V from "./KvProgressBar.js";
3
3
  import C from "./KvButton.js";
4
4
  import B from "./KvLightbox.js";
5
- /* empty css */
5
+ import "./KvVotingCardV2.css";
6
6
  import L from "../_virtual/_plugin-vue_export-helper.js";
7
7
  const K = {
8
8
  name: "KvVotingCard",
@@ -9,7 +9,7 @@ import U from "./KvLoanTag.js";
9
9
  import j from "./KvMaterialIcon.js";
10
10
  import q from "./KvLoadingPlaceholder.js";
11
11
  import { resolveComponent as r, openBlock as o, createElementBlock as s, normalizeClass as p, createElementVNode as m, createBlock as n, resolveDynamicComponent as f, withCtx as g, createVNode as d, createTextVNode as E, toDisplayString as M, createCommentVNode as u, Fragment as O, renderList as G } from "vue";
12
- /* empty css */
12
+ import "./KvWideLoanCard.css";
13
13
  import J from "../_virtual/_plugin-vue_export-helper.js";
14
14
  const Q = {
15
15
  name: "KvWideLoanCard",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "5.2.1",
3
+ "version": "5.3.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -106,5 +106,5 @@
106
106
  "embla-carousel-fade",
107
107
  "popper.js"
108
108
  ],
109
- "gitHead": "cb46abaa769fce50b203b2b0c6788e3adc117400"
109
+ "gitHead": "0ae6ed1e95e7c01158eb795403c22fa2dba68c51"
110
110
  }