@kiva/kv-components 8.11.2 → 8.11.4

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.
@@ -1,5 +1,5 @@
1
1
  import C from "./KvLendListMenu2.js";
2
- import { resolveComponent as _, resolveDirective as A, openBlock as t, createElementBlock as n, withDirectives as d, createElementVNode as l, createTextVNode as r, createVNode as c, createCommentVNode as h, withCtx as s, createBlock as m, Fragment as k, renderList as v, toDisplayString as g } from "vue";
2
+ import { resolveComponent as _, resolveDirective as A, openBlock as t, createElementBlock as n, withDirectives as r, createElementVNode as l, createTextVNode as d, createVNode as c, createCommentVNode as p, withCtx as s, createBlock as m, Fragment as k, renderList as v, toDisplayString as g } from "vue";
3
3
  import "./KvLendListMenu.css";
4
4
  import R from "../../../_virtual/_plugin-vue_export-helper.js";
5
5
  const M = { class: "tw-pb-2" }, S = {
@@ -14,16 +14,16 @@ const M = { class: "tw-pb-2" }, S = {
14
14
  }, E = {
15
15
  href: "/categories",
16
16
  class: "lend-link"
17
- }, G = { class: "tw-flex" }, U = { class: "tw-text-h4" }, P = { class: "tw-font-medium" }, j = ["href"], q = {
17
+ }, G = { class: "tw-flex" }, U = { class: "tw-text-upper" }, P = { class: "tw-font-medium" }, j = ["href"], q = {
18
18
  key: 1,
19
19
  class: "tw-block tw-py-1 tw-text-tertiary"
20
20
  }, z = { key: 0 }, H = { key: 1 }, J = ["href"];
21
21
  function O(Q, e, i, u, W, X) {
22
- const L = _("kv-material-icon"), f = _("kv-tab"), p = _("kv-loading-placeholder"), y = _("kv-tab-panel"), w = _("kv-accordion-item"), N = _("kv-lend-menu-country-list"), T = _("kv-lend-menu-search-list"), x = _("kv-tabs"), a = A("kv-track-event");
22
+ const L = _("kv-material-icon"), f = _("kv-tab"), h = _("kv-loading-placeholder"), y = _("kv-tab-panel"), w = _("kv-accordion-item"), N = _("kv-lend-menu-country-list"), T = _("kv-lend-menu-search-list"), x = _("kv-tabs"), a = A("kv-track-event");
23
23
  return t(), n("div", M, [
24
- i.showMGUpsellLink ? d((t(), n("a", S, [
24
+ i.showMGUpsellLink ? r((t(), n("a", S, [
25
25
  l("span", I, [
26
- e[0] || (e[0] = r(" Lend monthly ")),
26
+ e[0] || (e[0] = d(" Lend monthly ")),
27
27
  c(L, {
28
28
  icon: u.mdiArrowRight,
29
29
  class: "tw-w-3 tw-h-3"
@@ -31,36 +31,36 @@ function O(Q, e, i, u, W, X) {
31
31
  ])
32
32
  ])), [
33
33
  [a, ["TopNav", "click-Lend-Menu-Monthly-Good", "Lend-monthly"]]
34
- ]) : h("", !0),
34
+ ]) : p("", !0),
35
35
  c(x, { ref: "navLendCategories" }, {
36
36
  tabNav: s(() => [
37
- d((t(), m(f, { "for-panel": "nav-lend-categories" }, {
37
+ r((t(), m(f, { "for-panel": "nav-lend-categories" }, {
38
38
  default: s(() => e[1] || (e[1] = [
39
- r(" Categories ")
39
+ d(" Categories ")
40
40
  ])),
41
41
  _: 1
42
42
  })), [
43
43
  [a, ["TopNav", "click-Lend-Tab-Categories"]]
44
44
  ]),
45
- d((t(), m(f, { "for-panel": "nav-lend-regions" }, {
45
+ r((t(), m(f, { "for-panel": "nav-lend-regions" }, {
46
46
  default: s(() => e[2] || (e[2] = [
47
- r(" Regions ")
47
+ d(" Regions ")
48
48
  ])),
49
49
  _: 1
50
50
  })), [
51
51
  [a, ["TopNav", "click-Lend-Tab-Regions"]]
52
52
  ]),
53
- i.userId ? d((t(), m(f, {
53
+ i.userId ? r((t(), m(f, {
54
54
  key: 0,
55
55
  "for-panel": "nav-my-kiva"
56
56
  }, {
57
57
  default: s(() => e[3] || (e[3] = [
58
- r(" My Kiva ")
58
+ d(" My Kiva ")
59
59
  ])),
60
60
  _: 1
61
61
  })), [
62
62
  [a, ["TopNav", "click-Lend-Tab-My-Kiva"]]
63
- ]) : h("", !0)
63
+ ]) : p("", !0)
64
64
  ]),
65
65
  tabPanels: s(() => [
66
66
  c(y, { id: "nav-lend-categories" }, {
@@ -71,38 +71,38 @@ function O(Q, e, i, u, W, X) {
71
71
  style: { width: "11rem" },
72
72
  class: "tw-py-1 tw-flex"
73
73
  }, [
74
- c(p, {
74
+ c(h, {
75
75
  class: "tw-inline-block tw-align-middle",
76
76
  style: { height: "1rem" }
77
77
  }),
78
78
  e[4] || (e[4] = l("span", { class: "tw-inline-block" }, " ", -1))
79
79
  ])), 64)) : (t(!0), n(k, { key: 1 }, v(i.categories, (o, b) => (t(), n("li", { key: b }, [
80
- d((t(), n("a", {
80
+ r((t(), n("a", {
81
81
  href: o.url,
82
82
  class: "lend-link"
83
83
  }, [
84
- r(g(o.name), 1)
84
+ d(g(o.name), 1)
85
85
  ], 8, B)), [
86
86
  [a, ["TopNav", "click-Lend-Category", o.name, b + 1]]
87
87
  ])
88
88
  ]))), 128)),
89
89
  l("li", D, [
90
- d((t(), n("a", F, e[5] || (e[5] = [
91
- r(" Recommended by lenders ")
90
+ r((t(), n("a", F, e[5] || (e[5] = [
91
+ d(" Recommended by lenders ")
92
92
  ]))), [
93
93
  [a, ["TopNav", "click-Lend-Recommended-by-lenders"]]
94
94
  ])
95
95
  ]),
96
96
  l("li", null, [
97
- d((t(), n("a", K, e[6] || (e[6] = [
98
- r(" All loans ")
97
+ r((t(), n("a", K, e[6] || (e[6] = [
98
+ d(" All loans ")
99
99
  ]))), [
100
100
  [a, ["TopNav", "click-Lend-All_Loans"]]
101
101
  ])
102
102
  ]),
103
103
  l("li", null, [
104
- d((t(), n("a", E, e[7] || (e[7] = [
105
- r(" All categories ")
104
+ r((t(), n("a", E, e[7] || (e[7] = [
105
+ d(" All categories ")
106
106
  ]))), [
107
107
  [a, ["TopNav", "click-Lend-All_Categories"]]
108
108
  ])
@@ -120,15 +120,15 @@ function O(Q, e, i, u, W, X) {
120
120
  }, {
121
121
  header: s(() => [
122
122
  l("div", G, [
123
- c(p, {
123
+ c(h, {
124
124
  class: "tw-inline-block tw-align-middle",
125
125
  style: { height: "1rem" }
126
126
  }),
127
- e[8] || (e[8] = l("span", { class: "tw-inline-block tw-text-h4" }, " ", -1))
127
+ e[8] || (e[8] = l("span", { class: "tw-inline-block tw-text-upper" }, " ", -1))
128
128
  ])
129
129
  ]),
130
130
  _: 2
131
- }, 1032, ["id"])), 64)) : (t(!0), n(k, { key: 1 }, v(i.regions, (o) => d((t(), m(w, {
131
+ }, 1032, ["id"])), 64)) : (t(!0), n(k, { key: 1 }, v(i.regions, (o) => r((t(), m(w, {
132
132
  id: `lend-menu-${u.paramCase(o.name)}-panel`,
133
133
  key: o.name,
134
134
  ref_for: !0,
@@ -156,12 +156,12 @@ function O(Q, e, i, u, W, X) {
156
156
  default: s(() => [
157
157
  l("ul", P, [
158
158
  l("li", null, [
159
- i.favorites > 0 ? d((t(), n("a", {
159
+ i.favorites > 0 ? r((t(), n("a", {
160
160
  key: 0,
161
161
  href: `/lend?lenderFavorite=${i.userId}`,
162
162
  class: "lend-link"
163
163
  }, e[9] || (e[9] = [
164
- r(" Saved loans ")
164
+ d(" Saved loans ")
165
165
  ]), 8, j)), [
166
166
  [a, ["TopNav", "click-Lend-Favorites"]]
167
167
  ]) : (t(), n("span", q, "Saved loans"))
@@ -183,11 +183,11 @@ function O(Q, e, i, u, W, X) {
183
183
  l("span", { class: "tw-block tw-py-1 tw-text-tertiary" }, "Saved searches", -1)
184
184
  ]))),
185
185
  l("li", null, [
186
- d((t(), n("a", {
186
+ r((t(), n("a", {
187
187
  href: i.countriesNotLentToUrl,
188
188
  class: "lend-link"
189
189
  }, e[12] || (e[12] = [
190
- r(" Countries I haven't lent to ")
190
+ d(" Countries I haven't lent to ")
191
191
  ]), 8, J)), [
192
192
  [a, ["TopNav", "click-Lend-Countries_Not_Lent"]]
193
193
  ])
@@ -195,13 +195,13 @@ function O(Q, e, i, u, W, X) {
195
195
  ])
196
196
  ]),
197
197
  _: 1
198
- })) : h("", !0)
198
+ })) : p("", !0)
199
199
  ]),
200
200
  _: 1
201
201
  }, 512)
202
202
  ]);
203
203
  }
204
- const te = /* @__PURE__ */ R(C, [["render", O], ["__scopeId", "data-v-7256cd7a"]]);
204
+ const te = /* @__PURE__ */ R(C, [["render", O], ["__scopeId", "data-v-e4a254c4"]]);
205
205
  export {
206
206
  te as default
207
207
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "8.11.2",
3
+ "version": "8.11.4",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -34,7 +34,7 @@
34
34
  "@babel/preset-env": "^7.24.8",
35
35
  "@babel/preset-react": "^7.24.7",
36
36
  "@babel/preset-typescript": "^7.24.7",
37
- "@kiva/kv-tokens": "^4.0.1",
37
+ "@kiva/kv-tokens": "^4.0.3",
38
38
  "@kiva/vite-plugin-vue-lib-css": "^2.0.0",
39
39
  "@laynezh/vite-plugin-lib-assets": "^0.6.1",
40
40
  "@mdi/js": "^7.4.47",
@@ -125,5 +125,5 @@
125
125
  "embla-carousel-fade",
126
126
  "popper.js"
127
127
  ],
128
- "gitHead": "dee021e4ee9fb8478e56e83090ce557b1ee3ba41"
128
+ "gitHead": "04dbaedd46280b6839fcc0e161c31bae7eaff704"
129
129
  }