@kiva/kv-components 5.1.0 → 5.1.2
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/dist/utils/carousels.js +3 -3
- package/dist/vue/KvCartModal.js +1 -1
- package/dist/vue/KvIntroductionLoanCard.css +1 -1
- package/dist/vue/KvIntroductionLoanCard.js +13 -12
- package/dist/vue/KvLightbox.js +1 -1
- package/dist/vue/KvPopper.js +1 -1
- package/package.json +2 -2
- /package/dist/node_modules/aria-hidden/dist/es2015/{index.js → index.mjs} +0 -0
- /package/dist/node_modules/embla-carousel/esm/{embla-carousel.esm.js → embla-carousel.esm.mjs} +0 -0
- /package/dist/node_modules/embla-carousel-autoplay/esm/{embla-carousel-autoplay.esm.js → embla-carousel-autoplay.esm.mjs} +0 -0
- /package/dist/node_modules/embla-carousel-fade/esm/{embla-carousel-fade.esm.js → embla-carousel-fade.esm.mjs} +0 -0
- /package/dist/node_modules/popper.js/dist/esm/{popper.js → popper.mjs} +0 -0
package/dist/utils/carousels.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toRefs as F, ref as a, computed as r, onMounted as H, nextTick as w, onUnmounted as K } from "vue";
|
|
2
|
-
import M from "../node_modules/embla-carousel/esm/embla-carousel.esm.
|
|
3
|
-
import R from "../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.
|
|
4
|
-
import q from "../node_modules/embla-carousel-fade/esm/embla-carousel-fade.esm.
|
|
2
|
+
import M from "../node_modules/embla-carousel/esm/embla-carousel.esm.mjs";
|
|
3
|
+
import R from "../node_modules/embla-carousel-autoplay/esm/embla-carousel-autoplay.esm.mjs";
|
|
4
|
+
import q from "../node_modules/embla-carousel-fade/esm/embla-carousel-fade.esm.mjs";
|
|
5
5
|
import { throttle as B } from "./throttle.js";
|
|
6
6
|
function X(O, { emit: v, slots: V }, k) {
|
|
7
7
|
var S;
|
package/dist/vue/KvCartModal.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toRefs as P, ref as b, computed as d, watch as j, onMounted as K, onBeforeUnmount as R, resolveComponent as C, openBlock as x, createBlock as V, Transition as L, withCtx as g, withDirectives as F, createElementVNode as o, withModifiers as y, renderSlot as O, createVNode as w, createElementBlock as A, createCommentVNode as D, toDisplayString as f, createTextVNode as I, vShow as H, nextTick as U } from "vue";
|
|
2
2
|
import { mdiClose as q, mdiCheckCircle as z } from "@mdi/js";
|
|
3
3
|
import { useFocusTrap as G } from "@vueuse/integrations/useFocusTrap";
|
|
4
|
-
import { hideOthers as J } from "../node_modules/aria-hidden/dist/es2015/index.
|
|
4
|
+
import { hideOthers as J } from "../node_modules/aria-hidden/dist/es2015/index.mjs";
|
|
5
5
|
import { unlockScroll as Q, lockScroll as W } from "../utils/scrollLock.js";
|
|
6
6
|
import { unlockPrintSingleEl as X, lockPrintSingleEl as Y } from "../utils/printing.js";
|
|
7
7
|
import Z from "./KvButton.js";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
.loan-callouts[data-v-
|
|
1
|
+
.loan-callouts[data-v-a9f870f5] span{background-color:transparent!important;--tw-text-opacity: 1;color:rgba(var(--text-action),var(--tw-text-opacity, 1))}.loan-card-use[data-v-a9f870f5]:hover,.loan-card-use[data-v-a9f870f5]:focus{--tw-text-opacity: 1;color:rgba(var(--text-primary),var(--tw-text-opacity, 1))}.loan-card-active-hover:hover .loan-card-use[data-v-a9f870f5],.loan-card-active-hover:hover .loan-card-name[data-v-a9f870f5]{text-decoration-line:underline}.loan-card-progress[data-v-a9f870f5],.loan-card-progress[data-v-a9f870f5]:hover,.loan-card-progress[data-v-a9f870f5]:focus{text-decoration-line:none}.loan-card-name[data-v-a9f870f5]{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:1;cursor:pointer;overflow:hidden;text-overflow:ellipsis;padding-left:1.5rem;padding-right:1.5rem;padding-top:.5rem}.loan-bookmark[data-v-a9f870f5] button{border-top-left-radius:0!important;border-top-right-radius:0!important}
|
|
@@ -89,9 +89,9 @@ const $ = {
|
|
|
89
89
|
distributionModel: g,
|
|
90
90
|
formattedLocation: y,
|
|
91
91
|
fundraisingPercent: k,
|
|
92
|
-
hasProgressData:
|
|
93
|
-
imageHash:
|
|
94
|
-
isLoading:
|
|
92
|
+
hasProgressData: v,
|
|
93
|
+
imageHash: _,
|
|
94
|
+
isLoading: b,
|
|
95
95
|
loanAmount: p,
|
|
96
96
|
loanBorrowerCount: r,
|
|
97
97
|
loanCallouts: x,
|
|
@@ -114,9 +114,9 @@ const $ = {
|
|
|
114
114
|
distributionModel: g,
|
|
115
115
|
formattedLocation: y,
|
|
116
116
|
fundraisingPercent: k,
|
|
117
|
-
hasProgressData:
|
|
118
|
-
imageHash:
|
|
119
|
-
isLoading:
|
|
117
|
+
hasProgressData: v,
|
|
118
|
+
imageHash: _,
|
|
119
|
+
isLoading: b,
|
|
120
120
|
loanAmount: p,
|
|
121
121
|
loanBorrowerCount: r,
|
|
122
122
|
loanCallouts: x,
|
|
@@ -182,7 +182,7 @@ const $ = {
|
|
|
182
182
|
style: { "font-weight": "bold", "font-size": "13px", "border-radius": "8px" }
|
|
183
183
|
};
|
|
184
184
|
function ue(n, o, i, e, C, w) {
|
|
185
|
-
const l = m("kv-loading-placeholder"), g = m("kv-borrower-image"), y = m("kv-flag"), k = m("kv-loan-bookmark"),
|
|
185
|
+
const l = m("kv-loading-placeholder"), g = m("kv-borrower-image"), y = m("kv-flag"), k = m("kv-loan-bookmark"), v = m("kv-loan-callouts"), _ = m("kv-loan-use"), b = m("kv-loan-progress-group"), p = m("kv-loan-tag");
|
|
186
186
|
return t(), d("div", {
|
|
187
187
|
class: L(["tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-2", { "tw-pointer-events-none": e.isLoading }]),
|
|
188
188
|
"data-testid": "loan-card",
|
|
@@ -219,9 +219,10 @@ function ue(n, o, i, e, C, w) {
|
|
|
219
219
|
s(y, {
|
|
220
220
|
class: "tw-ml-0.5 tw-mr-1",
|
|
221
221
|
country: e.countryCode,
|
|
222
|
+
name: e.countryName,
|
|
222
223
|
"width-override": "16px",
|
|
223
224
|
"hide-border": ""
|
|
224
|
-
}, null, 8, ["country"])
|
|
225
|
+
}, null, 8, ["country", "name"])
|
|
225
226
|
]),
|
|
226
227
|
_: 1
|
|
227
228
|
})),
|
|
@@ -285,7 +286,7 @@ function ue(n, o, i, e, C, w) {
|
|
|
285
286
|
onClick: o[3] || (o[3] = (r) => e.clickReadMore("Tag", r))
|
|
286
287
|
}, {
|
|
287
288
|
default: h(() => [
|
|
288
|
-
s(
|
|
289
|
+
s(v, {
|
|
289
290
|
callouts: e.loanCallouts,
|
|
290
291
|
"add-bg-color": !1,
|
|
291
292
|
class: "loan-callouts"
|
|
@@ -312,7 +313,7 @@ function ue(n, o, i, e, C, w) {
|
|
|
312
313
|
s(l)
|
|
313
314
|
]))), 128))
|
|
314
315
|
])) : (t(), d("div", ie, [
|
|
315
|
-
s(
|
|
316
|
+
s(_, {
|
|
316
317
|
use: e.loanUse,
|
|
317
318
|
"loan-amount": e.loanAmount,
|
|
318
319
|
status: e.loanStatus,
|
|
@@ -356,7 +357,7 @@ function ue(n, o, i, e, C, w) {
|
|
|
356
357
|
onClick: o[5] || (o[5] = (r) => e.clickReadMore("Progress", r))
|
|
357
358
|
}, {
|
|
358
359
|
default: h(() => [
|
|
359
|
-
s(
|
|
360
|
+
s(b, {
|
|
360
361
|
id: "loanProgress",
|
|
361
362
|
"money-left": `${e.unreservedAmount}`,
|
|
362
363
|
"amount-goal": `${e.loanAmount}`,
|
|
@@ -381,7 +382,7 @@ function ue(n, o, i, e, C, w) {
|
|
|
381
382
|
])
|
|
382
383
|
], 6);
|
|
383
384
|
}
|
|
384
|
-
const Me = /* @__PURE__ */ Z($, [["render", ue], ["__scopeId", "data-v-
|
|
385
|
+
const Me = /* @__PURE__ */ Z($, [["render", ue], ["__scopeId", "data-v-a9f870f5"]]);
|
|
385
386
|
export {
|
|
386
387
|
Me as default
|
|
387
388
|
};
|
package/dist/vue/KvLightbox.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { toRefs as L, ref as u, nextTick as y, computed as E, watch as K, onMounted as M, onBeforeUnmount as N, resolveComponent as P, openBlock as b, createBlock as R, Transition as V, withCtx as j, withDirectives as q, createElementVNode as o, withModifiers as g, normalizeClass as p, renderSlot as k, toDisplayString as z, createElementBlock as C, createVNode as D, createCommentVNode as S, vShow as I } from "vue";
|
|
2
2
|
import { mdiClose as O } from "@mdi/js";
|
|
3
3
|
import { useFocusTrap as T } from "@vueuse/integrations/useFocusTrap";
|
|
4
|
-
import { hideOthers as U } from "../node_modules/aria-hidden/dist/es2015/index.
|
|
4
|
+
import { hideOthers as U } from "../node_modules/aria-hidden/dist/es2015/index.mjs";
|
|
5
5
|
import { unlockScroll as A, lockScroll as G } from "../utils/scrollLock.js";
|
|
6
6
|
import { unlockPrintSingleEl as H, lockPrintSingleEl as J } from "../utils/printing.js";
|
|
7
7
|
import Q from "./KvMaterialIcon.js";
|
package/dist/vue/KvPopper.js
CHANGED
|
@@ -66,7 +66,7 @@ const y = {
|
|
|
66
66
|
this.popper && this.popper.scheduleUpdate();
|
|
67
67
|
},
|
|
68
68
|
initPopper() {
|
|
69
|
-
return this.popper ? Promise.resolve() : this.popperPromise ? this.popperPromise : (this.popperPromise = import("../node_modules/popper.js/dist/esm/popper.
|
|
69
|
+
return this.popper ? Promise.resolve() : this.popperPromise ? this.popperPromise : (this.popperPromise = import("../node_modules/popper.js/dist/esm/popper.mjs").then(({ default: e }) => {
|
|
70
70
|
this.popper = new e(this.reference, this.$el, {
|
|
71
71
|
placement: this.popperPlacement,
|
|
72
72
|
modifiers: {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.2",
|
|
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": "
|
|
109
|
+
"gitHead": "b08364ebed2c45a23b2e59eb30f93284e4c78b2b"
|
|
110
110
|
}
|
|
File without changes
|
/package/dist/node_modules/embla-carousel/esm/{embla-carousel.esm.js → embla-carousel.esm.mjs}
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|