@kiva/kv-components 8.18.1 → 8.19.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.
- package/dist/vue/KvAtbModal.vue.d.ts +15 -0
- package/dist/vue/KvButton.js +12 -12
- package/dist/vue/KvButton.vue.d.ts +15 -0
- package/dist/vue/KvButton2.js +77 -53
- package/dist/vue/KvCartModal.vue.d.ts +15 -0
- package/dist/vue/KvCheckoutReceipt.vue.d.ts +15 -0
- package/dist/vue/KvClassicLoanCard.vue.d.ts +65 -1
- package/dist/vue/KvCommentsAdd.vue.d.ts +15 -0
- package/dist/vue/KvCommentsContainer.vue.d.ts +45 -0
- package/dist/vue/KvCommentsList.vue.d.ts +30 -0
- package/dist/vue/KvCommentsListItem.vue.d.ts +30 -0
- package/dist/vue/KvCommentsReplyButton.vue.d.ts +15 -0
- package/dist/vue/KvCompactLoanCard.vue.d.ts +35 -1
- package/dist/vue/KvIntroductionLoanCard.vue.d.ts +5 -1
- package/dist/vue/KvLendAmountButton.vue.d.ts +15 -0
- package/dist/vue/KvLendCta.vue.d.ts +30 -0
- package/dist/vue/KvLoanActivities.vue.d.ts +30 -0
- package/dist/vue/KvLoanTag.js +15 -15
- package/dist/vue/KvLoanTag.vue.d.ts +5 -1
- package/dist/vue/KvLoanTag2.js +14 -9
- package/dist/vue/KvPill.vue.d.ts +1 -1
- package/dist/vue/KvVotingCard.vue.d.ts +15 -0
- package/dist/vue/KvVotingCardV2.vue.d.ts +15 -0
- package/dist/vue/KvWideLoanCard.vue.d.ts +35 -1
- package/package.json +2 -2
|
@@ -626,15 +626,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
626
626
|
default: string;
|
|
627
627
|
validator(value: string): boolean;
|
|
628
628
|
};
|
|
629
|
+
size: {
|
|
630
|
+
type: StringConstructor;
|
|
631
|
+
default: string;
|
|
632
|
+
validator(value: string): boolean;
|
|
633
|
+
};
|
|
629
634
|
}>, {
|
|
630
635
|
buttonRef: import('vue').Ref<any, any>;
|
|
631
636
|
buttonInnerRef: import('vue').Ref<any, any>;
|
|
632
637
|
computedClass: import('vue').ComputedRef<string>;
|
|
633
638
|
computedType: import('vue').ComputedRef<string>;
|
|
639
|
+
heightClass: import('vue').ComputedRef<"tw-min-h-4" | "tw-min-h-6">;
|
|
634
640
|
isDisabled: import('vue').ComputedRef<boolean>;
|
|
635
641
|
loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
|
|
636
642
|
onClick: (event: any) => void;
|
|
643
|
+
paddingClass: import('vue').ComputedRef<"tw-py-0.5 tw-px-2" | "tw-py-1 tw-px-3">;
|
|
644
|
+
roundedClass: import('vue').ComputedRef<"tw-rounded-sm" | "tw-rounded">;
|
|
637
645
|
tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
|
|
646
|
+
textClass: import('vue').ComputedRef<"" | "tw-text-label">;
|
|
638
647
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
639
648
|
to: {
|
|
640
649
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -659,11 +668,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
659
668
|
default: string;
|
|
660
669
|
validator(value: string): boolean;
|
|
661
670
|
};
|
|
671
|
+
size: {
|
|
672
|
+
type: StringConstructor;
|
|
673
|
+
default: string;
|
|
674
|
+
validator(value: string): boolean;
|
|
675
|
+
};
|
|
662
676
|
}>> & Readonly<{
|
|
663
677
|
onClick?: (...args: any[]) => any;
|
|
664
678
|
}>, {
|
|
665
679
|
to: string | Record<string, any>;
|
|
666
680
|
type: string;
|
|
681
|
+
size: string;
|
|
667
682
|
href: string;
|
|
668
683
|
variant: string;
|
|
669
684
|
state: string;
|
|
@@ -720,15 +735,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
720
735
|
default: string;
|
|
721
736
|
validator(value: string): boolean;
|
|
722
737
|
};
|
|
738
|
+
size: {
|
|
739
|
+
type: StringConstructor;
|
|
740
|
+
default: string;
|
|
741
|
+
validator(value: string): boolean;
|
|
742
|
+
};
|
|
723
743
|
}>, {
|
|
724
744
|
buttonRef: import('vue').Ref<any, any>;
|
|
725
745
|
buttonInnerRef: import('vue').Ref<any, any>;
|
|
726
746
|
computedClass: import('vue').ComputedRef<string>;
|
|
727
747
|
computedType: import('vue').ComputedRef<string>;
|
|
748
|
+
heightClass: import('vue').ComputedRef<"tw-min-h-4" | "tw-min-h-6">;
|
|
728
749
|
isDisabled: import('vue').ComputedRef<boolean>;
|
|
729
750
|
loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
|
|
730
751
|
onClick: (event: any) => void;
|
|
752
|
+
paddingClass: import('vue').ComputedRef<"tw-py-0.5 tw-px-2" | "tw-py-1 tw-px-3">;
|
|
753
|
+
roundedClass: import('vue').ComputedRef<"tw-rounded-sm" | "tw-rounded">;
|
|
731
754
|
tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
|
|
755
|
+
textClass: import('vue').ComputedRef<"" | "tw-text-label">;
|
|
732
756
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
733
757
|
to: {
|
|
734
758
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -753,11 +777,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
753
777
|
default: string;
|
|
754
778
|
validator(value: string): boolean;
|
|
755
779
|
};
|
|
780
|
+
size: {
|
|
781
|
+
type: StringConstructor;
|
|
782
|
+
default: string;
|
|
783
|
+
validator(value: string): boolean;
|
|
784
|
+
};
|
|
756
785
|
}>> & Readonly<{
|
|
757
786
|
onClick?: (...args: any[]) => any;
|
|
758
787
|
}>, {
|
|
759
788
|
to: string | Record<string, any>;
|
|
760
789
|
type: string;
|
|
790
|
+
size: string;
|
|
761
791
|
href: string;
|
|
762
792
|
variant: string;
|
|
763
793
|
state: string;
|
package/dist/vue/KvLoanTag.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import u from "./KvLoanTag2.js";
|
|
2
|
-
import { KV_LOAN_TAG_FRAGMENT as
|
|
3
|
-
import { resolveComponent as c, openBlock as e, createElementBlock as a, normalizeClass as _, normalizeStyle as g, Fragment as o, createTextVNode as i, toDisplayString as r, createElementVNode as h, createVNode as
|
|
4
|
-
import
|
|
5
|
-
const
|
|
2
|
+
import { KV_LOAN_TAG_FRAGMENT as O } from "./KvLoanTag2.js";
|
|
3
|
+
import { resolveComponent as c, openBlock as e, createElementBlock as a, normalizeClass as _, normalizeStyle as g, Fragment as o, createTextVNode as i, toDisplayString as r, createElementVNode as h, createVNode as f, withCtx as k, renderList as w, createBlock as x, createCommentVNode as m } from "vue";
|
|
4
|
+
import y from "../_virtual/_plugin-vue_export-helper.js";
|
|
5
|
+
const p = ["id"];
|
|
6
6
|
function v(M, N, l, A, C, t) {
|
|
7
|
-
const
|
|
7
|
+
const d = c("kv-tooltip"), s = c("kv-countdown-timer");
|
|
8
8
|
return t.variation ? (e(), a("div", {
|
|
9
9
|
key: 0,
|
|
10
10
|
class: _(["tw-text-small tw-font-medium tw-pt-0.5", { "tw-line-clamp-1": !t.isMultipleMatch }]),
|
|
@@ -15,30 +15,30 @@ function v(M, N, l, A, C, t) {
|
|
|
15
15
|
h("span", {
|
|
16
16
|
id: `matching-orgs-${l.loan.id}`,
|
|
17
17
|
class: "tw-underline tw-decoration-dotted tw-cursor-pointer"
|
|
18
|
-
}, r(t.multiMatchingOrgs.length) + " organizations", 9,
|
|
19
|
-
|
|
18
|
+
}, r(t.multiMatchingOrgs.length) + " organizations", 9, p),
|
|
19
|
+
f(d, {
|
|
20
20
|
controller: `matching-orgs-${l.loan.id}`,
|
|
21
21
|
theme: "default"
|
|
22
22
|
}, {
|
|
23
|
-
default:
|
|
24
|
-
(e(!0), a(o, null,
|
|
23
|
+
default: k(() => [
|
|
24
|
+
(e(!0), a(o, null, w(t.multiMatchingOrgs, (n) => (e(), a("p", {
|
|
25
25
|
key: n.managedAccountId,
|
|
26
26
|
class: "tw-m-0"
|
|
27
|
-
}, r(n.ratio + 1) + "x matching by " + r(n
|
|
27
|
+
}, r(n.ratio + 1) + "x matching by " + r(t.orgDisplayName(n)), 1))), 128))
|
|
28
28
|
]),
|
|
29
29
|
_: 1
|
|
30
30
|
}, 8, ["controller"])
|
|
31
31
|
], 64)) : (e(), a(o, { key: 1 }, [
|
|
32
32
|
i(r(t.tagText) + " ", 1),
|
|
33
|
-
t.variation === "ending-soon" ? (e(),
|
|
33
|
+
t.variation === "ending-soon" ? (e(), x(s, {
|
|
34
34
|
key: 0,
|
|
35
35
|
deadline: t.deadline
|
|
36
|
-
}, null, 8, ["deadline"])) :
|
|
36
|
+
}, null, 8, ["deadline"])) : m("", !0)
|
|
37
37
|
], 64))
|
|
38
|
-
], 6)) :
|
|
38
|
+
], 6)) : m("", !0);
|
|
39
39
|
}
|
|
40
|
-
const B = /* @__PURE__ */
|
|
40
|
+
const B = /* @__PURE__ */ y(u, [["render", v]]);
|
|
41
41
|
export {
|
|
42
|
-
|
|
42
|
+
O as KV_LOAN_TAG_FRAGMENT,
|
|
43
43
|
B as default
|
|
44
44
|
};
|
|
@@ -23,7 +23,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
23
23
|
tagText(): string;
|
|
24
24
|
tagColor(): "#AF741C" | "#CE2626" | "#2B7C5F" | "#CE4A00";
|
|
25
25
|
matchRatio(): any;
|
|
26
|
-
}, {
|
|
26
|
+
}, {
|
|
27
|
+
orgDisplayName(org: {
|
|
28
|
+
displayName?: string | null;
|
|
29
|
+
}): string;
|
|
30
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
27
31
|
loan: {
|
|
28
32
|
type: ObjectConstructor;
|
|
29
33
|
required: true;
|
package/dist/vue/KvLoanTag2.js
CHANGED
|
@@ -2,13 +2,13 @@ import { parseISO as s, differenceInDays as r } from "date-fns";
|
|
|
2
2
|
import u from "graphql-tag";
|
|
3
3
|
import l from "numeral";
|
|
4
4
|
import d from "./KvCountdownTimer.js";
|
|
5
|
-
import
|
|
6
|
-
const
|
|
5
|
+
import m from "./KvTooltip.js";
|
|
6
|
+
const h = "N/A", a = {
|
|
7
7
|
almostFunded: "almost-funded",
|
|
8
8
|
endingSoon: "ending-soon",
|
|
9
9
|
matchedLoan: "matched-loan",
|
|
10
10
|
lseLoan: "lse-loan"
|
|
11
|
-
},
|
|
11
|
+
}, y = u`
|
|
12
12
|
fragment KvLoanTag on LoanBasic {
|
|
13
13
|
id
|
|
14
14
|
loanFundraisingInfo {
|
|
@@ -29,11 +29,11 @@ const m = "N/A", a = {
|
|
|
29
29
|
partnerName
|
|
30
30
|
}
|
|
31
31
|
}
|
|
32
|
-
`,
|
|
32
|
+
`, L = {
|
|
33
33
|
name: "KvLoanTag",
|
|
34
34
|
components: {
|
|
35
35
|
KvCountdownTimer: d,
|
|
36
|
-
KvTooltip:
|
|
36
|
+
KvTooltip: m
|
|
37
37
|
},
|
|
38
38
|
props: {
|
|
39
39
|
loan: {
|
|
@@ -56,7 +56,7 @@ const m = "N/A", a = {
|
|
|
56
56
|
},
|
|
57
57
|
isLseLoan() {
|
|
58
58
|
var t, n;
|
|
59
|
-
return ((n = (t = this.loan) == null ? void 0 : t.partnerName) == null ? void 0 : n.toUpperCase().includes(
|
|
59
|
+
return ((n = (t = this.loan) == null ? void 0 : t.partnerName) == null ? void 0 : n.toUpperCase().includes(h)) ?? !1;
|
|
60
60
|
},
|
|
61
61
|
amountLeft() {
|
|
62
62
|
var e, o;
|
|
@@ -88,7 +88,7 @@ const m = "N/A", a = {
|
|
|
88
88
|
case a.matchedLoan: {
|
|
89
89
|
if (this.enableMultiMatching && this.multiMatchingOrgs.length === 1) {
|
|
90
90
|
const n = this.multiMatchingOrgs[0];
|
|
91
|
-
return `${this.useExpandedStyles ? "🤝 " : ""}${n.ratio + 1}x matching by ${n
|
|
91
|
+
return `${this.useExpandedStyles ? "🤝 " : ""}${n.ratio + 1}x matching by ${this.orgDisplayName(n)}`;
|
|
92
92
|
}
|
|
93
93
|
return `${this.useExpandedStyles ? "🤝 " : ""}${this.matchRatio + 1}x matching by ${(t = this.loan) == null ? void 0 : t.matchingText}`;
|
|
94
94
|
}
|
|
@@ -112,9 +112,14 @@ const m = "N/A", a = {
|
|
|
112
112
|
var t;
|
|
113
113
|
return (t = this.loan) == null ? void 0 : t.matchRatio;
|
|
114
114
|
}
|
|
115
|
+
},
|
|
116
|
+
methods: {
|
|
117
|
+
orgDisplayName(t) {
|
|
118
|
+
return t.displayName && t.displayName !== "Anonymous" ? t.displayName : "a Kiva supporter";
|
|
119
|
+
}
|
|
115
120
|
}
|
|
116
121
|
};
|
|
117
122
|
export {
|
|
118
|
-
|
|
119
|
-
|
|
123
|
+
y as KV_LOAN_TAG_FRAGMENT,
|
|
124
|
+
L as default
|
|
120
125
|
};
|
package/dist/vue/KvPill.vue.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
17
17
|
default: string;
|
|
18
18
|
};
|
|
19
19
|
}>> & Readonly<{}>, {
|
|
20
|
-
bgClass: string;
|
|
21
20
|
roundedClass: string;
|
|
21
|
+
bgClass: string;
|
|
22
22
|
}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
23
23
|
export default _default;
|
|
@@ -163,15 +163,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
163
163
|
default: string;
|
|
164
164
|
validator(value: string): boolean;
|
|
165
165
|
};
|
|
166
|
+
size: {
|
|
167
|
+
type: StringConstructor;
|
|
168
|
+
default: string;
|
|
169
|
+
validator(value: string): boolean;
|
|
170
|
+
};
|
|
166
171
|
}>, {
|
|
167
172
|
buttonRef: import('vue').Ref<any, any>;
|
|
168
173
|
buttonInnerRef: import('vue').Ref<any, any>;
|
|
169
174
|
computedClass: import('vue').ComputedRef<string>;
|
|
170
175
|
computedType: import('vue').ComputedRef<string>;
|
|
176
|
+
heightClass: import('vue').ComputedRef<"tw-min-h-4" | "tw-min-h-6">;
|
|
171
177
|
isDisabled: import('vue').ComputedRef<boolean>;
|
|
172
178
|
loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
|
|
173
179
|
onClick: (event: any) => void;
|
|
180
|
+
paddingClass: import('vue').ComputedRef<"tw-py-0.5 tw-px-2" | "tw-py-1 tw-px-3">;
|
|
181
|
+
roundedClass: import('vue').ComputedRef<"tw-rounded-sm" | "tw-rounded">;
|
|
174
182
|
tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
|
|
183
|
+
textClass: import('vue').ComputedRef<"" | "tw-text-label">;
|
|
175
184
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
176
185
|
to: {
|
|
177
186
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -196,11 +205,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
196
205
|
default: string;
|
|
197
206
|
validator(value: string): boolean;
|
|
198
207
|
};
|
|
208
|
+
size: {
|
|
209
|
+
type: StringConstructor;
|
|
210
|
+
default: string;
|
|
211
|
+
validator(value: string): boolean;
|
|
212
|
+
};
|
|
199
213
|
}>> & Readonly<{
|
|
200
214
|
onClick?: (...args: any[]) => any;
|
|
201
215
|
}>, {
|
|
202
216
|
to: string | Record<string, any>;
|
|
203
217
|
type: string;
|
|
218
|
+
size: string;
|
|
204
219
|
href: string;
|
|
205
220
|
variant: string;
|
|
206
221
|
state: string;
|
|
@@ -90,15 +90,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
90
90
|
default: string;
|
|
91
91
|
validator(value: string): boolean;
|
|
92
92
|
};
|
|
93
|
+
size: {
|
|
94
|
+
type: StringConstructor;
|
|
95
|
+
default: string;
|
|
96
|
+
validator(value: string): boolean;
|
|
97
|
+
};
|
|
93
98
|
}>, {
|
|
94
99
|
buttonRef: import('vue').Ref<any, any>;
|
|
95
100
|
buttonInnerRef: import('vue').Ref<any, any>;
|
|
96
101
|
computedClass: import('vue').ComputedRef<string>;
|
|
97
102
|
computedType: import('vue').ComputedRef<string>;
|
|
103
|
+
heightClass: import('vue').ComputedRef<"tw-min-h-4" | "tw-min-h-6">;
|
|
98
104
|
isDisabled: import('vue').ComputedRef<boolean>;
|
|
99
105
|
loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
|
|
100
106
|
onClick: (event: any) => void;
|
|
107
|
+
paddingClass: import('vue').ComputedRef<"tw-py-0.5 tw-px-2" | "tw-py-1 tw-px-3">;
|
|
108
|
+
roundedClass: import('vue').ComputedRef<"tw-rounded-sm" | "tw-rounded">;
|
|
101
109
|
tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
|
|
110
|
+
textClass: import('vue').ComputedRef<"" | "tw-text-label">;
|
|
102
111
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
103
112
|
to: {
|
|
104
113
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -123,11 +132,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
123
132
|
default: string;
|
|
124
133
|
validator(value: string): boolean;
|
|
125
134
|
};
|
|
135
|
+
size: {
|
|
136
|
+
type: StringConstructor;
|
|
137
|
+
default: string;
|
|
138
|
+
validator(value: string): boolean;
|
|
139
|
+
};
|
|
126
140
|
}>> & Readonly<{
|
|
127
141
|
onClick?: (...args: any[]) => any;
|
|
128
142
|
}>, {
|
|
129
143
|
to: string | Record<string, any>;
|
|
130
144
|
type: string;
|
|
145
|
+
size: string;
|
|
131
146
|
href: string;
|
|
132
147
|
variant: string;
|
|
133
148
|
state: string;
|
|
@@ -895,15 +895,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
895
895
|
default: string;
|
|
896
896
|
validator(value: string): boolean;
|
|
897
897
|
};
|
|
898
|
+
size: {
|
|
899
|
+
type: StringConstructor;
|
|
900
|
+
default: string;
|
|
901
|
+
validator(value: string): boolean;
|
|
902
|
+
};
|
|
898
903
|
}>, {
|
|
899
904
|
buttonRef: import('vue').Ref<any, any>;
|
|
900
905
|
buttonInnerRef: import('vue').Ref<any, any>;
|
|
901
906
|
computedClass: import('vue').ComputedRef<string>;
|
|
902
907
|
computedType: import('vue').ComputedRef<string>;
|
|
908
|
+
heightClass: import('vue').ComputedRef<"tw-min-h-4" | "tw-min-h-6">;
|
|
903
909
|
isDisabled: import('vue').ComputedRef<boolean>;
|
|
904
910
|
loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
|
|
905
911
|
onClick: (event: any) => void;
|
|
912
|
+
paddingClass: import('vue').ComputedRef<"tw-py-0.5 tw-px-2" | "tw-py-1 tw-px-3">;
|
|
913
|
+
roundedClass: import('vue').ComputedRef<"tw-rounded-sm" | "tw-rounded">;
|
|
906
914
|
tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
|
|
915
|
+
textClass: import('vue').ComputedRef<"" | "tw-text-label">;
|
|
907
916
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
908
917
|
to: {
|
|
909
918
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -928,11 +937,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
928
937
|
default: string;
|
|
929
938
|
validator(value: string): boolean;
|
|
930
939
|
};
|
|
940
|
+
size: {
|
|
941
|
+
type: StringConstructor;
|
|
942
|
+
default: string;
|
|
943
|
+
validator(value: string): boolean;
|
|
944
|
+
};
|
|
931
945
|
}>> & Readonly<{
|
|
932
946
|
onClick?: (...args: any[]) => any;
|
|
933
947
|
}>, {
|
|
934
948
|
to: string | Record<string, any>;
|
|
935
949
|
type: string;
|
|
950
|
+
size: string;
|
|
936
951
|
href: string;
|
|
937
952
|
variant: string;
|
|
938
953
|
state: string;
|
|
@@ -989,15 +1004,24 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
989
1004
|
default: string;
|
|
990
1005
|
validator(value: string): boolean;
|
|
991
1006
|
};
|
|
1007
|
+
size: {
|
|
1008
|
+
type: StringConstructor;
|
|
1009
|
+
default: string;
|
|
1010
|
+
validator(value: string): boolean;
|
|
1011
|
+
};
|
|
992
1012
|
}>, {
|
|
993
1013
|
buttonRef: import('vue').Ref<any, any>;
|
|
994
1014
|
buttonInnerRef: import('vue').Ref<any, any>;
|
|
995
1015
|
computedClass: import('vue').ComputedRef<string>;
|
|
996
1016
|
computedType: import('vue').ComputedRef<string>;
|
|
1017
|
+
heightClass: import('vue').ComputedRef<"tw-min-h-4" | "tw-min-h-6">;
|
|
997
1018
|
isDisabled: import('vue').ComputedRef<boolean>;
|
|
998
1019
|
loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
|
|
999
1020
|
onClick: (event: any) => void;
|
|
1021
|
+
paddingClass: import('vue').ComputedRef<"tw-py-0.5 tw-px-2" | "tw-py-1 tw-px-3">;
|
|
1022
|
+
roundedClass: import('vue').ComputedRef<"tw-rounded-sm" | "tw-rounded">;
|
|
1000
1023
|
tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
|
|
1024
|
+
textClass: import('vue').ComputedRef<"" | "tw-text-label">;
|
|
1001
1025
|
}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1002
1026
|
to: {
|
|
1003
1027
|
type: (StringConstructor | ObjectConstructor)[];
|
|
@@ -1022,11 +1046,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1022
1046
|
default: string;
|
|
1023
1047
|
validator(value: string): boolean;
|
|
1024
1048
|
};
|
|
1049
|
+
size: {
|
|
1050
|
+
type: StringConstructor;
|
|
1051
|
+
default: string;
|
|
1052
|
+
validator(value: string): boolean;
|
|
1053
|
+
};
|
|
1025
1054
|
}>> & Readonly<{
|
|
1026
1055
|
onClick?: (...args: any[]) => any;
|
|
1027
1056
|
}>, {
|
|
1028
1057
|
to: string | Record<string, any>;
|
|
1029
1058
|
type: string;
|
|
1059
|
+
size: string;
|
|
1030
1060
|
href: string;
|
|
1031
1061
|
variant: string;
|
|
1032
1062
|
state: string;
|
|
@@ -1153,7 +1183,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
1153
1183
|
tagText(): string;
|
|
1154
1184
|
tagColor(): "#AF741C" | "#CE2626" | "#2B7C5F" | "#CE4A00";
|
|
1155
1185
|
matchRatio(): any;
|
|
1156
|
-
}, {
|
|
1186
|
+
}, {
|
|
1187
|
+
orgDisplayName(org: {
|
|
1188
|
+
displayName?: string | null;
|
|
1189
|
+
}): string;
|
|
1190
|
+
}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
1157
1191
|
loan: {
|
|
1158
1192
|
type: ObjectConstructor;
|
|
1159
1193
|
required: true;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kiva/kv-components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.19.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -128,5 +128,5 @@
|
|
|
128
128
|
"dependencies": {
|
|
129
129
|
"fuse.js": "^7.1.0"
|
|
130
130
|
},
|
|
131
|
-
"gitHead": "
|
|
131
|
+
"gitHead": "b14a197356c09ac528c18fb7aa1f7f9fdbc8517e"
|
|
132
132
|
}
|