@kiva/kv-components 8.2.0 → 8.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.
Files changed (32) hide show
  1. package/dist/vue/KvActivityRow.vue.d.ts +11 -0
  2. package/dist/vue/KvAtbModal.vue.d.ts +1 -1
  3. package/dist/vue/KvButton.vue.d.ts +1 -1
  4. package/dist/vue/KvCardFrame.vue.d.ts +1 -1
  5. package/dist/vue/KvCartModal.vue.d.ts +1 -1
  6. package/dist/vue/KvCheckoutReceipt.vue.d.ts +1 -1
  7. package/dist/vue/KvClassicLoanCard.vue.d.ts +15 -4
  8. package/dist/vue/KvCommentsAdd.vue.d.ts +12 -1
  9. package/dist/vue/KvCommentsContainer.vue.d.ts +36 -3
  10. package/dist/vue/KvCommentsList.vue.d.ts +24 -2
  11. package/dist/vue/KvCommentsListItem.vue.d.ts +24 -2
  12. package/dist/vue/KvCommentsReplyButton.vue.d.ts +1 -1
  13. package/dist/vue/KvCompactLoanCard.vue.d.ts +2 -2
  14. package/dist/vue/KvDatePicker.vue.d.ts +1 -1
  15. package/dist/vue/KvImpactVerticalSelector.vue.d.ts +1 -1
  16. package/dist/vue/KvInlineActivityCard.vue.d.ts +11 -0
  17. package/dist/vue/KvInlineActivityFeed.vue.d.ts +11 -0
  18. package/dist/vue/KvLendAmountButton.vue.d.ts +1 -1
  19. package/dist/vue/KvLendCta.vue.d.ts +2 -2
  20. package/dist/vue/KvLoanActivities.vue.d.ts +13 -2
  21. package/dist/vue/KvSecondaryNav.vue.d.ts +1 -1
  22. package/dist/vue/KvThemeProvider.vue.d.ts +1 -1
  23. package/dist/vue/KvUserAvatar.css +1 -0
  24. package/dist/vue/KvUserAvatar.js +41 -44
  25. package/dist/vue/KvUserAvatar.vue.d.ts +11 -0
  26. package/dist/vue/KvUserAvatar2.js +33 -23
  27. package/dist/vue/KvVotingCard.vue.d.ts +1 -1
  28. package/dist/vue/KvVotingCardV2.vue.d.ts +1 -1
  29. package/dist/vue/KvWideLoanCard.vue.d.ts +2 -2
  30. package/dist/vue/KvWwwHeader/KvHeaderLinkBar.vue.d.ts +11 -0
  31. package/dist/vue/KvWwwHeader.vue.d.ts +12 -1
  32. package/package.json +2 -2
@@ -26,6 +26,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
26
26
  type: BooleanConstructor;
27
27
  default: boolean;
28
28
  };
29
+ theme: {
30
+ type: StringConstructor;
31
+ default: string;
32
+ validator(value: string): boolean;
33
+ };
29
34
  }>, {
30
35
  isAnonymousUser: import('vue').ComputedRef<boolean>;
31
36
  avatarClass: import('vue').ComputedRef<string>;
@@ -54,11 +59,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
54
59
  type: BooleanConstructor;
55
60
  default: boolean;
56
61
  };
62
+ theme: {
63
+ type: StringConstructor;
64
+ default: string;
65
+ validator(value: string): boolean;
66
+ };
57
67
  }>> & Readonly<{}>, {
58
68
  lenderName: string;
59
69
  lenderImageUrl: string;
60
70
  isSmall: boolean;
61
71
  showCssPlaceholder: boolean;
72
+ theme: string;
62
73
  }, {}, {
63
74
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
64
75
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -240,7 +240,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
240
240
  computedClass: import('vue').ComputedRef<string>;
241
241
  computedType: import('vue').ComputedRef<string>;
242
242
  isDisabled: import('vue').ComputedRef<boolean>;
243
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
243
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
244
244
  onClick: (event: any) => void;
245
245
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
246
246
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -28,7 +28,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
28
28
  computedClass: import('vue').ComputedRef<string>;
29
29
  computedType: import('vue').ComputedRef<string>;
30
30
  isDisabled: import('vue').ComputedRef<boolean>;
31
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
31
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
32
32
  onClick: (event: any) => void;
33
33
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
34
34
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -79,8 +79,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
79
79
  default: any;
80
80
  };
81
81
  }>> & Readonly<{}>, {
82
- tag: string;
83
82
  theme: Record<string, any>;
83
+ tag: string;
84
84
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
85
85
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
86
86
  export default _default;
@@ -96,7 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
96
  computedClass: import('vue').ComputedRef<string>;
97
97
  computedType: import('vue').ComputedRef<string>;
98
98
  isDisabled: import('vue').ComputedRef<boolean>;
99
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
99
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
100
100
  onClick: (event: any) => void;
101
101
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
102
102
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -83,7 +83,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
83
83
  computedClass: import('vue').ComputedRef<string>;
84
84
  computedType: import('vue').ComputedRef<string>;
85
85
  isDisabled: import('vue').ComputedRef<boolean>;
86
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
86
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
87
87
  onClick: (event: any) => void;
88
88
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
89
89
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -978,7 +978,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
978
978
  computedClass: import('vue').ComputedRef<string>;
979
979
  computedType: import('vue').ComputedRef<string>;
980
980
  isDisabled: import('vue').ComputedRef<boolean>;
981
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
981
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
982
982
  onClick: (event: any) => void;
983
983
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
984
984
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -1072,7 +1072,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1072
1072
  computedClass: import('vue').ComputedRef<string>;
1073
1073
  computedType: import('vue').ComputedRef<string>;
1074
1074
  isDisabled: import('vue').ComputedRef<boolean>;
1075
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
1075
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
1076
1076
  onClick: (event: any) => void;
1077
1077
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
1078
1078
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -1442,6 +1442,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1442
1442
  type: BooleanConstructor;
1443
1443
  default: boolean;
1444
1444
  };
1445
+ theme: {
1446
+ type: StringConstructor;
1447
+ default: string;
1448
+ validator(value: string): boolean;
1449
+ };
1445
1450
  }>, {
1446
1451
  isAnonymousUser: import('vue').ComputedRef<boolean>;
1447
1452
  avatarClass: import('vue').ComputedRef<string>;
@@ -1470,11 +1475,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1470
1475
  type: BooleanConstructor;
1471
1476
  default: boolean;
1472
1477
  };
1478
+ theme: {
1479
+ type: StringConstructor;
1480
+ default: string;
1481
+ validator(value: string): boolean;
1482
+ };
1473
1483
  }>> & Readonly<{}>, {
1474
1484
  lenderName: string;
1475
1485
  lenderImageUrl: string;
1476
1486
  isSmall: boolean;
1477
1487
  showCssPlaceholder: boolean;
1488
+ theme: string;
1478
1489
  }, {}, {
1479
1490
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
1480
1491
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1905,7 +1916,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1905
1916
  computedClass: import('vue').ComputedRef<string>;
1906
1917
  computedType: import('vue').ComputedRef<string>;
1907
1918
  isDisabled: import('vue').ComputedRef<boolean>;
1908
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
1919
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
1909
1920
  onClick: (event: any) => void;
1910
1921
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
1911
1922
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -1999,7 +2010,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1999
2010
  computedClass: import('vue').ComputedRef<string>;
2000
2011
  computedType: import('vue').ComputedRef<string>;
2001
2012
  isDisabled: import('vue').ComputedRef<boolean>;
2002
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
2013
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
2003
2014
  onClick: (event: any) => void;
2004
2015
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
2005
2016
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -72,7 +72,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
72
72
  computedClass: import('vue').ComputedRef<string>;
73
73
  computedType: import('vue').ComputedRef<string>;
74
74
  isDisabled: import('vue').ComputedRef<boolean>;
75
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
75
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
76
76
  onClick: (event: any) => void;
77
77
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
78
78
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -256,6 +256,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
256
256
  type: BooleanConstructor;
257
257
  default: boolean;
258
258
  };
259
+ theme: {
260
+ type: StringConstructor;
261
+ default: string;
262
+ validator(value: string): boolean;
263
+ };
259
264
  }>, {
260
265
  isAnonymousUser: import('vue').ComputedRef<boolean>;
261
266
  avatarClass: import('vue').ComputedRef<string>;
@@ -284,11 +289,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
284
289
  type: BooleanConstructor;
285
290
  default: boolean;
286
291
  };
292
+ theme: {
293
+ type: StringConstructor;
294
+ default: string;
295
+ validator(value: string): boolean;
296
+ };
287
297
  }>> & Readonly<{}>, {
288
298
  lenderName: string;
289
299
  lenderImageUrl: string;
290
300
  isSmall: boolean;
291
301
  showCssPlaceholder: boolean;
302
+ theme: string;
292
303
  }, {}, {
293
304
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
294
305
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -117,7 +117,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
117
117
  computedClass: import('vue').ComputedRef<string>;
118
118
  computedType: import('vue').ComputedRef<string>;
119
119
  isDisabled: import('vue').ComputedRef<boolean>;
120
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
120
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
121
121
  onClick: (event: any) => void;
122
122
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
123
123
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -301,6 +301,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
301
301
  type: BooleanConstructor;
302
302
  default: boolean;
303
303
  };
304
+ theme: {
305
+ type: StringConstructor;
306
+ default: string;
307
+ validator(value: string): boolean;
308
+ };
304
309
  }>, {
305
310
  isAnonymousUser: import('vue').ComputedRef<boolean>;
306
311
  avatarClass: import('vue').ComputedRef<string>;
@@ -329,11 +334,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
329
334
  type: BooleanConstructor;
330
335
  default: boolean;
331
336
  };
337
+ theme: {
338
+ type: StringConstructor;
339
+ default: string;
340
+ validator(value: string): boolean;
341
+ };
332
342
  }>> & Readonly<{}>, {
333
343
  lenderName: string;
334
344
  lenderImageUrl: string;
335
345
  isSmall: boolean;
336
346
  showCssPlaceholder: boolean;
347
+ theme: string;
337
348
  }, {}, {
338
349
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
339
350
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -485,7 +496,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
485
496
  computedClass: import('vue').ComputedRef<string>;
486
497
  computedType: import('vue').ComputedRef<string>;
487
498
  isDisabled: import('vue').ComputedRef<boolean>;
488
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
499
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
489
500
  onClick: (event: any) => void;
490
501
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
491
502
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -661,7 +672,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
661
672
  computedClass: import('vue').ComputedRef<string>;
662
673
  computedType: import('vue').ComputedRef<string>;
663
674
  isDisabled: import('vue').ComputedRef<boolean>;
664
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
675
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
665
676
  onClick: (event: any) => void;
666
677
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
667
678
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -845,6 +856,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
845
856
  type: BooleanConstructor;
846
857
  default: boolean;
847
858
  };
859
+ theme: {
860
+ type: StringConstructor;
861
+ default: string;
862
+ validator(value: string): boolean;
863
+ };
848
864
  }>, {
849
865
  isAnonymousUser: import('vue').ComputedRef<boolean>;
850
866
  avatarClass: import('vue').ComputedRef<string>;
@@ -873,11 +889,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
873
889
  type: BooleanConstructor;
874
890
  default: boolean;
875
891
  };
892
+ theme: {
893
+ type: StringConstructor;
894
+ default: string;
895
+ validator(value: string): boolean;
896
+ };
876
897
  }>> & Readonly<{}>, {
877
898
  lenderName: string;
878
899
  lenderImageUrl: string;
879
900
  isSmall: boolean;
880
901
  showCssPlaceholder: boolean;
902
+ theme: string;
881
903
  }, {}, {
882
904
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
883
905
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -899,6 +921,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
899
921
  type: BooleanConstructor;
900
922
  default: boolean;
901
923
  };
924
+ theme: {
925
+ type: StringConstructor;
926
+ default: string;
927
+ validator(value: string): boolean;
928
+ };
902
929
  }>, {
903
930
  isAnonymousUser: import('vue').ComputedRef<boolean>;
904
931
  avatarClass: import('vue').ComputedRef<string>;
@@ -927,11 +954,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
927
954
  type: BooleanConstructor;
928
955
  default: boolean;
929
956
  };
957
+ theme: {
958
+ type: StringConstructor;
959
+ default: string;
960
+ validator(value: string): boolean;
961
+ };
930
962
  }>> & Readonly<{}>, {
931
963
  lenderName: string;
932
964
  lenderImageUrl: string;
933
965
  isSmall: boolean;
934
966
  showCssPlaceholder: boolean;
967
+ theme: string;
935
968
  }, {}, {
936
969
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
937
970
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -151,7 +151,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
151
151
  computedClass: import('vue').ComputedRef<string>;
152
152
  computedType: import('vue').ComputedRef<string>;
153
153
  isDisabled: import('vue').ComputedRef<boolean>;
154
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
154
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
155
155
  onClick: (event: any) => void;
156
156
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
157
157
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -327,7 +327,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
327
327
  computedClass: import('vue').ComputedRef<string>;
328
328
  computedType: import('vue').ComputedRef<string>;
329
329
  isDisabled: import('vue').ComputedRef<boolean>;
330
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
330
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
331
331
  onClick: (event: any) => void;
332
332
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
333
333
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -511,6 +511,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
511
511
  type: BooleanConstructor;
512
512
  default: boolean;
513
513
  };
514
+ theme: {
515
+ type: StringConstructor;
516
+ default: string;
517
+ validator(value: string): boolean;
518
+ };
514
519
  }>, {
515
520
  isAnonymousUser: import('vue').ComputedRef<boolean>;
516
521
  avatarClass: import('vue').ComputedRef<string>;
@@ -539,11 +544,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
539
544
  type: BooleanConstructor;
540
545
  default: boolean;
541
546
  };
547
+ theme: {
548
+ type: StringConstructor;
549
+ default: string;
550
+ validator(value: string): boolean;
551
+ };
542
552
  }>> & Readonly<{}>, {
543
553
  lenderName: string;
544
554
  lenderImageUrl: string;
545
555
  isSmall: boolean;
546
556
  showCssPlaceholder: boolean;
557
+ theme: string;
547
558
  }, {}, {
548
559
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
549
560
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -565,6 +576,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
565
576
  type: BooleanConstructor;
566
577
  default: boolean;
567
578
  };
579
+ theme: {
580
+ type: StringConstructor;
581
+ default: string;
582
+ validator(value: string): boolean;
583
+ };
568
584
  }>, {
569
585
  isAnonymousUser: import('vue').ComputedRef<boolean>;
570
586
  avatarClass: import('vue').ComputedRef<string>;
@@ -593,11 +609,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
593
609
  type: BooleanConstructor;
594
610
  default: boolean;
595
611
  };
612
+ theme: {
613
+ type: StringConstructor;
614
+ default: string;
615
+ validator(value: string): boolean;
616
+ };
596
617
  }>> & Readonly<{}>, {
597
618
  lenderName: string;
598
619
  lenderImageUrl: string;
599
620
  isSmall: boolean;
600
621
  showCssPlaceholder: boolean;
622
+ theme: string;
601
623
  }, {}, {
602
624
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
603
625
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -104,7 +104,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
104
104
  computedClass: import('vue').ComputedRef<string>;
105
105
  computedType: import('vue').ComputedRef<string>;
106
106
  isDisabled: import('vue').ComputedRef<boolean>;
107
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
107
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
108
108
  onClick: (event: any) => void;
109
109
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
110
110
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -280,7 +280,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
280
280
  computedClass: import('vue').ComputedRef<string>;
281
281
  computedType: import('vue').ComputedRef<string>;
282
282
  isDisabled: import('vue').ComputedRef<boolean>;
283
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
283
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
284
284
  onClick: (event: any) => void;
285
285
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
286
286
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -464,6 +464,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
464
464
  type: BooleanConstructor;
465
465
  default: boolean;
466
466
  };
467
+ theme: {
468
+ type: StringConstructor;
469
+ default: string;
470
+ validator(value: string): boolean;
471
+ };
467
472
  }>, {
468
473
  isAnonymousUser: import('vue').ComputedRef<boolean>;
469
474
  avatarClass: import('vue').ComputedRef<string>;
@@ -492,11 +497,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
492
497
  type: BooleanConstructor;
493
498
  default: boolean;
494
499
  };
500
+ theme: {
501
+ type: StringConstructor;
502
+ default: string;
503
+ validator(value: string): boolean;
504
+ };
495
505
  }>> & Readonly<{}>, {
496
506
  lenderName: string;
497
507
  lenderImageUrl: string;
498
508
  isSmall: boolean;
499
509
  showCssPlaceholder: boolean;
510
+ theme: string;
500
511
  }, {}, {
501
512
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
502
513
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -518,6 +529,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
518
529
  type: BooleanConstructor;
519
530
  default: boolean;
520
531
  };
532
+ theme: {
533
+ type: StringConstructor;
534
+ default: string;
535
+ validator(value: string): boolean;
536
+ };
521
537
  }>, {
522
538
  isAnonymousUser: import('vue').ComputedRef<boolean>;
523
539
  avatarClass: import('vue').ComputedRef<string>;
@@ -546,11 +562,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
546
562
  type: BooleanConstructor;
547
563
  default: boolean;
548
564
  };
565
+ theme: {
566
+ type: StringConstructor;
567
+ default: string;
568
+ validator(value: string): boolean;
569
+ };
549
570
  }>> & Readonly<{}>, {
550
571
  lenderName: string;
551
572
  lenderImageUrl: string;
552
573
  isSmall: boolean;
553
574
  showCssPlaceholder: boolean;
575
+ theme: string;
554
576
  }, {}, {
555
577
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
556
578
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -31,7 +31,7 @@ declare const _default: import('vue').DefineComponent<{}, {}, {}, {}, {}, import
31
31
  computedClass: import('vue').ComputedRef<string>;
32
32
  computedType: import('vue').ComputedRef<string>;
33
33
  isDisabled: import('vue').ComputedRef<boolean>;
34
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
34
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
35
35
  onClick: (event: any) => void;
36
36
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
37
37
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -903,7 +903,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
903
903
  computedClass: import('vue').ComputedRef<string>;
904
904
  computedType: import('vue').ComputedRef<string>;
905
905
  isDisabled: import('vue').ComputedRef<boolean>;
906
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
906
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
907
907
  onClick: (event: any) => void;
908
908
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
909
909
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -997,7 +997,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
997
997
  computedClass: import('vue').ComputedRef<string>;
998
998
  computedType: import('vue').ComputedRef<string>;
999
999
  isDisabled: import('vue').ComputedRef<boolean>;
1000
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
1000
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
1001
1001
  onClick: (event: any) => void;
1002
1002
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
1003
1003
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -51,8 +51,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
51
51
  default: any;
52
52
  };
53
53
  }>> & Readonly<{}>, {
54
- tag: string;
55
54
  theme: Record<string, any>;
55
+ tag: string;
56
56
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
57
57
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
58
58
  export default _default;
@@ -171,8 +171,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
171
171
  default: any;
172
172
  };
173
173
  }>> & Readonly<{}>, {
174
- tag: string;
175
174
  theme: Record<string, any>;
175
+ tag: string;
176
176
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
177
177
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
178
178
  KvContentfulImg: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
@@ -31,6 +31,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
31
31
  type: BooleanConstructor;
32
32
  default: boolean;
33
33
  };
34
+ theme: {
35
+ type: StringConstructor;
36
+ default: string;
37
+ validator(value: string): boolean;
38
+ };
34
39
  }>, {
35
40
  isAnonymousUser: import('vue').ComputedRef<boolean>;
36
41
  avatarClass: import('vue').ComputedRef<string>;
@@ -59,11 +64,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
59
64
  type: BooleanConstructor;
60
65
  default: boolean;
61
66
  };
67
+ theme: {
68
+ type: StringConstructor;
69
+ default: string;
70
+ validator(value: string): boolean;
71
+ };
62
72
  }>> & Readonly<{}>, {
63
73
  lenderName: string;
64
74
  lenderImageUrl: string;
65
75
  isSmall: boolean;
66
76
  showCssPlaceholder: boolean;
77
+ theme: string;
67
78
  }, {}, {
68
79
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
69
80
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -44,6 +44,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
44
44
  type: BooleanConstructor;
45
45
  default: boolean;
46
46
  };
47
+ theme: {
48
+ type: StringConstructor;
49
+ default: string;
50
+ validator(value: string): boolean;
51
+ };
47
52
  }>, {
48
53
  isAnonymousUser: import('vue').ComputedRef<boolean>;
49
54
  avatarClass: import('vue').ComputedRef<string>;
@@ -72,11 +77,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
72
77
  type: BooleanConstructor;
73
78
  default: boolean;
74
79
  };
80
+ theme: {
81
+ type: StringConstructor;
82
+ default: string;
83
+ validator(value: string): boolean;
84
+ };
75
85
  }>> & Readonly<{}>, {
76
86
  lenderName: string;
77
87
  lenderImageUrl: string;
78
88
  isSmall: boolean;
79
89
  showCssPlaceholder: boolean;
90
+ theme: string;
80
91
  }, {}, {
81
92
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
82
93
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -73,7 +73,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
73
73
  computedClass: import('vue').ComputedRef<string>;
74
74
  computedType: import('vue').ComputedRef<string>;
75
75
  isDisabled: import('vue').ComputedRef<boolean>;
76
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
76
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
77
77
  onClick: (event: any) => void;
78
78
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
79
79
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -352,7 +352,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
352
352
  computedClass: import('vue').ComputedRef<string>;
353
353
  computedType: import('vue').ComputedRef<string>;
354
354
  isDisabled: import('vue').ComputedRef<boolean>;
355
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
355
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
356
356
  onClick: (event: any) => void;
357
357
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
358
358
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -446,7 +446,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
446
446
  computedClass: import('vue').ComputedRef<string>;
447
447
  computedType: import('vue').ComputedRef<string>;
448
448
  isDisabled: import('vue').ComputedRef<boolean>;
449
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
449
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
450
450
  onClick: (event: any) => void;
451
451
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
452
452
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -158,6 +158,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
158
158
  type: BooleanConstructor;
159
159
  default: boolean;
160
160
  };
161
+ theme: {
162
+ type: StringConstructor;
163
+ default: string;
164
+ validator(value: string): boolean;
165
+ };
161
166
  }>, {
162
167
  isAnonymousUser: import('vue').ComputedRef<boolean>;
163
168
  avatarClass: import('vue').ComputedRef<string>;
@@ -186,11 +191,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
186
191
  type: BooleanConstructor;
187
192
  default: boolean;
188
193
  };
194
+ theme: {
195
+ type: StringConstructor;
196
+ default: string;
197
+ validator(value: string): boolean;
198
+ };
189
199
  }>> & Readonly<{}>, {
190
200
  lenderName: string;
191
201
  lenderImageUrl: string;
192
202
  isSmall: boolean;
193
203
  showCssPlaceholder: boolean;
204
+ theme: string;
194
205
  }, {}, {
195
206
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
196
207
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -621,7 +632,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
621
632
  computedClass: import('vue').ComputedRef<string>;
622
633
  computedType: import('vue').ComputedRef<string>;
623
634
  isDisabled: import('vue').ComputedRef<boolean>;
624
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
635
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
625
636
  onClick: (event: any) => void;
626
637
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
627
638
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -715,7 +726,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
715
726
  computedClass: import('vue').ComputedRef<string>;
716
727
  computedType: import('vue').ComputedRef<string>;
717
728
  isDisabled: import('vue').ComputedRef<boolean>;
718
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
729
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
719
730
  onClick: (event: any) => void;
720
731
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
721
732
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -96,8 +96,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
96
  default: any;
97
97
  };
98
98
  }>> & Readonly<{}>, {
99
- tag: string;
100
99
  theme: Record<string, any>;
100
+ tag: string;
101
101
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
102
102
  KvMaterialIcon: import('vue').DefineComponent<import('vue').ExtractPropTypes<{
103
103
  icon: {
@@ -17,7 +17,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
17
17
  default: any;
18
18
  };
19
19
  }>> & Readonly<{}>, {
20
- tag: string;
21
20
  theme: Record<string, any>;
21
+ tag: string;
22
22
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
23
23
  export default _default;
@@ -0,0 +1 @@
1
+ .kiva-k__normal[data-v-a36f82cb]{height:60%}.kiva-k__small[data-v-a36f82cb]{height:70%}.kiva-k__white[data-v-a36f82cb]{fill:#fff}.kiva-k__green-light[data-v-a36f82cb]{fill:#78c79f}
@@ -1,71 +1,68 @@
1
- import d from "./KvUserAvatar2.js";
2
- import { resolveComponent as m, openBlock as t, createElementBlock as r, normalizeClass as c, createElementVNode as l, createCommentVNode as n, withDirectives as w, createVNode as f, vShow as v, normalizeStyle as a, toDisplayString as h } from "vue";
3
- import g from "../_virtual/_plugin-vue_export-helper.js";
4
- const u = {
5
- key: 0,
6
- class: "tw-h-3/4",
7
- viewBox: "0 0 25 37",
8
- fill: "none",
9
- xmlns: "http://www.w3.org/2000/svg"
10
- }, y = ["src"], _ = ["viewBox"], x = {
1
+ import m from "./KvUserAvatar2.js";
2
+ import { resolveComponent as c, openBlock as t, createElementBlock as n, normalizeClass as s, createElementVNode as a, createCommentVNode as r, withDirectives as w, createVNode as v, vShow as f, normalizeStyle as i, toDisplayString as g } from "vue";
3
+ import "./KvUserAvatar.css";
4
+ import h from "../_virtual/_plugin-vue_export-helper.js";
5
+ const _ = ["src"], u = ["viewBox"], y = {
11
6
  x: "50%",
12
7
  y: "55%",
13
8
  "dominant-baseline": "middle",
14
9
  "text-anchor": "middle"
15
10
  };
16
- function C(k, o, s, e, H, A) {
17
- const i = m("kv-loading-placeholder");
18
- return t(), r("div", {
11
+ function k(x, o, l, e, C, A) {
12
+ const d = c("kv-loading-placeholder");
13
+ return t(), n("div", {
19
14
  ref: "userAvatar",
20
- class: c(["data-hj-suppress tw-flex tw-items-center tw-justify-center tw-rounded-full tw-overflow-hidden", {
21
- "tw-bg-brand": e.isAnonymousUser,
15
+ class: s(["data-hj-suppress tw-flex tw-items-center tw-justify-center tw-rounded-full tw-overflow-hidden", {
16
+ "tw-bg-brand": e.isAnonymousUser && l.theme === "default",
17
+ "tw-bg-brand-100": e.isAnonymousUser && l.theme === "ecoGreenLight",
22
18
  [e.avatarClass]: !e.isAnonymousUser
23
19
  }])
24
20
  }, [
25
- e.isAnonymousUser ? (t(), r("svg", u, o[1] || (o[1] = [
26
- l("path", {
27
- d: "M8.22861 0.875H0.857178V36.3125H8.22861V0.875Z",
28
- fill: "white"
29
- }, null, -1),
30
- l("path", {
31
- d: "M10.1143 23.2751C21.9428 23.2751 24.6857 13.2126 24.6857 11.4626H23.6571C11.8286 11.4626 9.08569 21.5251 9.08569 23.2751H10.1143Z",
32
- fill: "white"
33
- }, null, -1),
34
- l("path", {
35
- d: "M9.08569 24.2376C9.08569 26.0751 11.1428 36.3126 23.8285 36.3126H24.8571C24.8571 34.4751 22.8 24.2376 10.1143 24.2376H9.08569Z",
36
- fill: "white"
37
- }, null, -1)
38
- ]))) : n("", !0),
39
- w(f(i, null, null, 512), [
40
- [v, !e.isAnonymousUser && e.userHasImage && e.isImageLoading]
21
+ e.isAnonymousUser ? (t(), n("svg", {
22
+ key: 0,
23
+ class: s({
24
+ "kiva-k__green-light": l.theme === "ecoGreenLight",
25
+ "kiva-k__white": l.theme === "default",
26
+ "kiva-k__small": l.isSmall,
27
+ "kiva-k__normal": !l.isSmall
28
+ }),
29
+ viewBox: "0 0 25 37",
30
+ xmlns: "http://www.w3.org/2000/svg"
31
+ }, o[1] || (o[1] = [
32
+ a("path", { d: "M8.22861 0.875H0.857178V36.3125H8.22861V0.875Z" }, null, -1),
33
+ a("path", { d: "M10.1143 23.2751C21.9428 23.2751 24.6857 13.2126 24.6857 11.4626H23.6571C11.8286 11.4626 9.08569 21.5251 9.08569 23.2751H10.1143Z" }, null, -1),
34
+ a("path", { d: "M9.08569 24.2376C9.08569 26.0751 11.1428 36.3126 23.8285 36.3126H24.8571C24.8571 34.4751 22.8 24.2376 10.1143 24.2376H9.08569Z" }, null, -1)
35
+ ]), 2)) : r("", !0),
36
+ w(v(d, null, null, 512), [
37
+ [f, !e.isAnonymousUser && e.userHasImage && e.isImageLoading]
41
38
  ]),
42
- !e.isAnonymousUser && e.userHasImage ? (t(), r("div", {
39
+ !e.isAnonymousUser && e.userHasImage ? (t(), n("div", {
43
40
  key: 1,
44
41
  class: "tw-w-full tw-h-full",
45
- style: a(s.showCssPlaceholder ? { display: "var(--user-avatar-display, block)" } : {
42
+ style: i(l.showCssPlaceholder ? { display: "var(--user-avatar-display, block)" } : {
46
43
  display: e.isImageLoading ? "none" : "block"
47
44
  })
48
45
  }, [
49
- l("img", {
46
+ a("img", {
50
47
  ref: "imageRef",
51
- src: s.lenderImageUrl,
48
+ src: l.lenderImageUrl,
52
49
  alt: "Image of lender",
53
50
  class: "tw-w-full",
54
- style: a(s.showCssPlaceholder ? { content: "var(--user-avatar)" } : {}),
55
- onLoad: o[0] || (o[0] = (I) => e.onImgLoad())
56
- }, null, 44, y)
57
- ], 4)) : n("", !0),
58
- !e.isAnonymousUser && !e.userHasImage ? (t(), r("svg", {
51
+ style: i(l.showCssPlaceholder ? { content: "var(--user-avatar)" } : {}),
52
+ onLoad: o[0] || (o[0] = (H) => e.onImgLoad())
53
+ }, null, 44, _)
54
+ ], 4)) : r("", !0),
55
+ !e.isAnonymousUser && !e.userHasImage ? (t(), n("svg", {
59
56
  key: 2,
60
57
  class: "tw-w-full tw-h-full",
61
58
  fill: "currentColor",
62
59
  viewBox: e.letterViewBox
63
60
  }, [
64
- l("text", x, h(e.lenderNameFirstLetter), 1)
65
- ], 8, _)) : n("", !0)
61
+ a("text", y, g(e.lenderNameFirstLetter), 1)
62
+ ], 8, u)) : r("", !0)
66
63
  ], 2);
67
64
  }
68
- const b = /* @__PURE__ */ g(d, [["render", C]]);
65
+ const B = /* @__PURE__ */ h(m, [["render", k], ["__scopeId", "data-v-a36f82cb"]]);
69
66
  export {
70
- b as default
67
+ B as default
71
68
  };
@@ -16,6 +16,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
16
16
  type: BooleanConstructor;
17
17
  default: boolean;
18
18
  };
19
+ theme: {
20
+ type: StringConstructor;
21
+ default: string;
22
+ validator(value: string): boolean;
23
+ };
19
24
  }>, {
20
25
  isAnonymousUser: import('vue').ComputedRef<boolean>;
21
26
  avatarClass: import('vue').ComputedRef<string>;
@@ -44,11 +49,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
44
49
  type: BooleanConstructor;
45
50
  default: boolean;
46
51
  };
52
+ theme: {
53
+ type: StringConstructor;
54
+ default: string;
55
+ validator(value: string): boolean;
56
+ };
47
57
  }>> & Readonly<{}>, {
48
58
  lenderName: string;
49
59
  lenderImageUrl: string;
50
60
  isSmall: boolean;
51
61
  showCssPlaceholder: boolean;
62
+ theme: string;
52
63
  }, {}, {
53
64
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
54
65
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -1,10 +1,10 @@
1
- import { toRefs as I, ref as r, computed as s, onMounted as U } from "vue";
2
- import { randomizedUserAvatarClass as B, isLegacyPlaceholderAvatar as f } from "../utils/imageUtils.js";
3
- import F from "./KvLoadingPlaceholder.js";
1
+ import { toRefs as I, ref as l, computed as r, onMounted as U } from "vue";
2
+ import { randomizedUserAvatarClass as x, isLegacyPlaceholderAvatar as d } from "../utils/imageUtils.js";
3
+ import B from "./KvLoadingPlaceholder.js";
4
4
  const z = {
5
5
  name: "KvUserAvatar",
6
6
  components: {
7
- KvLoadingPlaceholder: F
7
+ KvLoadingPlaceholder: B
8
8
  },
9
9
  props: {
10
10
  /**
@@ -34,28 +34,38 @@ const z = {
34
34
  showCssPlaceholder: {
35
35
  type: Boolean,
36
36
  default: !1
37
+ },
38
+ theme: {
39
+ type: String,
40
+ default: "default",
41
+ validator(s) {
42
+ return [
43
+ "default",
44
+ "ecoGreenLight"
45
+ ].indexOf(s) !== -1;
46
+ }
37
47
  }
38
48
  },
39
- setup(p) {
49
+ setup(s) {
40
50
  const {
41
51
  lenderName: t,
42
52
  lenderImageUrl: n,
43
53
  isSmall: o,
44
- showCssPlaceholder: l
45
- } = I(p), u = r(!0), c = r(null), d = r(null), v = s(() => !l.value && t.value === "" && n.value === "" || t.value === "Anonymous"), g = s(() => {
54
+ showCssPlaceholder: u
55
+ } = I(s), c = l(!0), i = l(null), p = l(null), v = r(() => !u.value && t.value === "" && n.value === "" || t.value === "Anonymous"), g = r(() => {
46
56
  const e = o != null && o.value ? "tw-font-sans tw-font-normal" : "tw-font-serif";
47
- return `${B(t.value)} ${e}`;
48
- }), w = s(() => o != null && o.value ? "0 0 27 27" : "0 0 27.5 27.5"), y = s(() => {
57
+ return `${x(t.value)} ${e}`;
58
+ }), w = r(() => o != null && o.value ? "0 0 27 27" : "0 0 27.5 27.5"), h = r(() => {
49
59
  var a;
50
- if (l.value)
60
+ if (u.value)
51
61
  return !0;
52
62
  const e = ((a = n == null ? void 0 : n.value) == null ? void 0 : a.split("/").pop()) ?? "";
53
- return e && !f(e);
54
- }), h = s(() => {
63
+ return e && !d(e);
64
+ }), y = r(() => {
55
65
  var e;
56
66
  return (e = t == null ? void 0 : t.value) == null ? void 0 : e.substring(0, 1).toUpperCase();
57
- }), i = () => {
58
- u.value = !1;
67
+ }), f = () => {
68
+ c.value = !1;
59
69
  }, A = (e, a = 1e4) => new Promise((C, L) => {
60
70
  const P = Date.now() + a, m = () => {
61
71
  !e || e.complete ? C(e) : Date.now() > P ? L(new Error(`Timeout: ${e.src}`)) : setTimeout(m, 50);
@@ -63,23 +73,23 @@ const z = {
63
73
  m();
64
74
  });
65
75
  return U(async () => {
66
- const e = c.value;
76
+ const e = i.value;
67
77
  try {
68
- await A(e), i();
78
+ await A(e), f();
69
79
  } catch (a) {
70
80
  console.log(a.message);
71
81
  }
72
82
  }), {
73
83
  isAnonymousUser: v,
74
84
  avatarClass: g,
75
- userHasImage: y,
76
- lenderNameFirstLetter: h,
85
+ userHasImage: h,
86
+ lenderNameFirstLetter: y,
77
87
  letterViewBox: w,
78
- isLegacyPlaceholderAvatar: f,
79
- isImageLoading: u,
80
- onImgLoad: i,
81
- imageRef: c,
82
- userAvatar: d
88
+ isLegacyPlaceholderAvatar: d,
89
+ isImageLoading: c,
90
+ onImgLoad: f,
91
+ imageRef: i,
92
+ userAvatar: p
83
93
  };
84
94
  }
85
95
  };
@@ -169,7 +169,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
169
169
  computedClass: import('vue').ComputedRef<string>;
170
170
  computedType: import('vue').ComputedRef<string>;
171
171
  isDisabled: import('vue').ComputedRef<boolean>;
172
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
172
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
173
173
  onClick: (event: any) => void;
174
174
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
175
175
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -96,7 +96,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
96
96
  computedClass: import('vue').ComputedRef<string>;
97
97
  computedType: import('vue').ComputedRef<string>;
98
98
  isDisabled: import('vue').ComputedRef<boolean>;
99
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
99
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
100
100
  onClick: (event: any) => void;
101
101
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
102
102
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -892,7 +892,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
892
892
  computedClass: import('vue').ComputedRef<string>;
893
893
  computedType: import('vue').ComputedRef<string>;
894
894
  isDisabled: import('vue').ComputedRef<boolean>;
895
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
895
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
896
896
  onClick: (event: any) => void;
897
897
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
898
898
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -986,7 +986,7 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
986
986
  computedClass: import('vue').ComputedRef<string>;
987
987
  computedType: import('vue').ComputedRef<string>;
988
988
  isDisabled: import('vue').ComputedRef<boolean>;
989
- loadingColor: import('vue').ComputedRef<"white" | "brand" | "black">;
989
+ loadingColor: import('vue').ComputedRef<"brand" | "white" | "black">;
990
990
  onClick: (event: any) => void;
991
991
  tag: import('vue').ComputedRef<"button" | "router-link" | "a">;
992
992
  }, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, "click"[], "click", import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
@@ -1030,6 +1030,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1030
1030
  type: BooleanConstructor;
1031
1031
  default: boolean;
1032
1032
  };
1033
+ theme: {
1034
+ type: StringConstructor;
1035
+ default: string;
1036
+ validator(value: string): boolean;
1037
+ };
1033
1038
  }>, {
1034
1039
  isAnonymousUser: import('vue').ComputedRef<boolean>;
1035
1040
  avatarClass: import('vue').ComputedRef<string>;
@@ -1058,11 +1063,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
1058
1063
  type: BooleanConstructor;
1059
1064
  default: boolean;
1060
1065
  };
1066
+ theme: {
1067
+ type: StringConstructor;
1068
+ default: string;
1069
+ validator(value: string): boolean;
1070
+ };
1061
1071
  }>> & Readonly<{}>, {
1062
1072
  lenderName: string;
1063
1073
  lenderImageUrl: string;
1064
1074
  isSmall: boolean;
1065
1075
  showCssPlaceholder: boolean;
1076
+ theme: string;
1066
1077
  }, {}, {
1067
1078
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
1068
1079
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -4362,6 +4362,11 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4362
4362
  type: BooleanConstructor;
4363
4363
  default: boolean;
4364
4364
  };
4365
+ theme: {
4366
+ type: StringConstructor;
4367
+ default: string;
4368
+ validator(value: string): boolean;
4369
+ };
4365
4370
  }>, {
4366
4371
  isAnonymousUser: import('vue').ComputedRef<boolean>;
4367
4372
  avatarClass: import('vue').ComputedRef<string>;
@@ -4390,11 +4395,17 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4390
4395
  type: BooleanConstructor;
4391
4396
  default: boolean;
4392
4397
  };
4398
+ theme: {
4399
+ type: StringConstructor;
4400
+ default: string;
4401
+ validator(value: string): boolean;
4402
+ };
4393
4403
  }>> & Readonly<{}>, {
4394
4404
  lenderName: string;
4395
4405
  lenderImageUrl: string;
4396
4406
  isSmall: boolean;
4397
4407
  showCssPlaceholder: boolean;
4408
+ theme: string;
4398
4409
  }, {}, {
4399
4410
  KvLoadingPlaceholder: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, HTMLDivElement>;
4400
4411
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
@@ -4422,8 +4433,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
4422
4433
  default: any;
4423
4434
  };
4424
4435
  }>> & Readonly<{}>, {
4425
- tag: string;
4426
4436
  theme: Record<string, any>;
4437
+ tag: string;
4427
4438
  }, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4428
4439
  KvPageContainer: import('vue').DefineComponent<{}, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<{}> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
4429
4440
  }, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "8.2.0",
3
+ "version": "8.3.0",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -125,5 +125,5 @@
125
125
  "embla-carousel-fade",
126
126
  "popper.js"
127
127
  ],
128
- "gitHead": "9368a78f6e3cf82333c6dd52c3c0d9c52c304963"
128
+ "gitHead": "59231e457a4057d240dacbf1caa563f8e14625fa"
129
129
  }