@kiva/kv-components 10.6.0 → 10.6.1

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 (223) hide show
  1. package/dist/index.js +20 -20
  2. package/dist/vue/KvAccordionItem.js +1 -1
  3. package/dist/vue/KvActivityRow.js +1 -1
  4. package/dist/vue/KvAtbModal.js +1 -1
  5. package/dist/vue/KvBorrowerImage.js +1 -1
  6. package/dist/vue/KvButton.js +1 -1
  7. package/dist/vue/KvCardFrame.js +1 -1
  8. package/dist/vue/KvCarousel.js +1 -1
  9. package/dist/vue/KvCartModal.js +1 -1
  10. package/dist/vue/KvCartPill.js +1 -1
  11. package/dist/vue/KvCheckbox.js +1 -1
  12. package/dist/vue/KvCheckoutReceipt.js +1 -1
  13. package/dist/vue/KvChip.js +1 -1
  14. package/dist/vue/KvClassicLoanCard.js +252 -295
  15. package/dist/vue/KvClassicLoanCard.script.js +298 -0
  16. package/dist/vue/KvCommentsAdd.js +2 -2
  17. package/dist/vue/KvCommentsContainer.js +2 -2
  18. package/dist/vue/KvCommentsHeartButton.js +1 -1
  19. package/dist/vue/KvCommentsList.js +1 -1
  20. package/dist/vue/KvCommentsListItem.js +2 -2
  21. package/dist/vue/KvCommentsReplyButton.js +1 -1
  22. package/dist/vue/KvCompactLoanCard.js +416 -380
  23. package/dist/vue/KvCompactLoanCard.script.js +382 -0
  24. package/dist/vue/KvContentfulImg.js +1 -1
  25. package/dist/vue/KvCountdownTimer.js +1 -1
  26. package/dist/vue/KvDatePicker.js +1 -1
  27. package/dist/vue/KvExpandable.js +1 -1
  28. package/dist/vue/KvExpandableQuestion.js +1 -1
  29. package/dist/vue/KvFlag.js +1 -1
  30. package/dist/vue/KvFormAssemblyForm.js +2 -95
  31. package/dist/vue/KvFormAssemblyForm.script.js +97 -0
  32. package/dist/vue/KvGrid.js +1 -1
  33. package/dist/vue/KvIconBag.js +1 -1
  34. package/dist/vue/KvIconButton.js +2 -116
  35. package/dist/vue/KvIconButton.script.js +118 -0
  36. package/dist/vue/KvImageUpload.js +1 -1
  37. package/dist/vue/KvImpactVerticalSelector.js +1 -1
  38. package/dist/vue/KvInlineActivityCard.js +1 -1
  39. package/dist/vue/KvInlineActivityFeed.js +1 -1
  40. package/dist/vue/KvIntroductionLoanCard.js +247 -220
  41. package/dist/vue/KvIntroductionLoanCard.script.js +223 -0
  42. package/dist/vue/KvLendAmountButton.js +1 -1
  43. package/dist/vue/KvLendCta.js +355 -389
  44. package/dist/vue/KvLendCta.script.js +391 -0
  45. package/dist/vue/KvLightbox.js +1 -1
  46. package/dist/vue/KvLineGraph.js +1 -1
  47. package/dist/vue/KvLoadingSpinner.js +1 -1
  48. package/dist/vue/KvLoanActivities.js +75 -149
  49. package/dist/vue/KvLoanActivities.script.js +151 -0
  50. package/dist/vue/KvLoanBookmark.js +22 -33
  51. package/dist/vue/KvLoanBookmark.script.js +35 -0
  52. package/dist/vue/KvLoanCallouts.js +1 -1
  53. package/dist/vue/KvLoanInfoCard.js +2 -2
  54. package/dist/vue/KvLoanProgressGroup.js +1 -1
  55. package/dist/vue/KvLoanTag.js +44 -123
  56. package/dist/vue/KvLoanTag.script.js +125 -0
  57. package/dist/vue/KvLoanUse.js +14 -111
  58. package/dist/vue/KvLoanUse.script.js +113 -0
  59. package/dist/vue/KvMap.js +1 -1
  60. package/dist/vue/KvMaterialIcon.js +1 -1
  61. package/dist/vue/KvPageContainer.js +1 -1
  62. package/dist/vue/KvPagination.js +1 -1
  63. package/dist/vue/KvPieChart.js +1 -1
  64. package/dist/vue/KvPieChartV2.js +1 -1
  65. package/dist/vue/KvPill.js +1 -1
  66. package/dist/vue/KvPopper.js +1 -1
  67. package/dist/vue/KvProgressBar.js +1 -1
  68. package/dist/vue/KvProgressCircle.js +1 -1
  69. package/dist/vue/KvPulsingDot.js +1 -1
  70. package/dist/vue/KvRadio.js +1 -1
  71. package/dist/vue/KvSecondaryNav.js +1 -1
  72. package/dist/vue/KvSelect.js +1 -1
  73. package/dist/vue/KvSideSheet.js +1 -1
  74. package/dist/vue/KvSimpleMap.js +1 -1
  75. package/dist/vue/KvStackedBarGraph.js +1 -1
  76. package/dist/vue/KvSwitch.js +1 -1
  77. package/dist/vue/KvTab.js +1 -1
  78. package/dist/vue/KvTabPanel.js +1 -1
  79. package/dist/vue/KvTabs.js +1 -1
  80. package/dist/vue/KvTextInput.js +1 -1
  81. package/dist/vue/KvTextLink.js +1 -1
  82. package/dist/vue/KvThemeProvider.js +1 -1
  83. package/dist/vue/KvToast.js +1 -1
  84. package/dist/vue/KvTooltip.js +1 -1
  85. package/dist/vue/KvTreeMapChart.js +1 -1
  86. package/dist/vue/KvUserAvatar.js +1 -1
  87. package/dist/vue/KvUtilityMenu.js +1 -1
  88. package/dist/vue/KvVerticalCarousel.js +1 -1
  89. package/dist/vue/KvVotingCard.js +1 -1
  90. package/dist/vue/KvVotingCardV2.js +1 -1
  91. package/dist/vue/KvWideLoanCard.js +206 -232
  92. package/dist/vue/KvWideLoanCard.script.js +235 -0
  93. package/dist/vue/KvWwwHeader/KvHeaderAboutMenu.js +1 -1
  94. package/dist/vue/KvWwwHeader/KvHeaderDropdownLink.js +1 -1
  95. package/dist/vue/KvWwwHeader/KvHeaderLinkBar.js +1 -1
  96. package/dist/vue/KvWwwHeader/KvHeaderLogo.js +1 -1
  97. package/dist/vue/KvWwwHeader/KvHeaderMobileMenu.js +1 -1
  98. package/dist/vue/KvWwwHeader/KvHeaderMyKivaMenu.js +1 -1
  99. package/dist/vue/KvWwwHeader/KvHeaderTakeActionMenu.js +1 -1
  100. package/dist/vue/KvWwwHeader/LendMenu/KvLendListMenu.js +1 -1
  101. package/dist/vue/KvWwwHeader/LendMenu/KvLendMegaMenu.js +1 -1
  102. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenu.js +1 -1
  103. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuCountryList.js +1 -1
  104. package/dist/vue/KvWwwHeader/LendMenu/KvLendMenuSearchList.js +1 -1
  105. package/dist/vue/KvWwwHeader.js +1 -1
  106. package/dist/vue/KvWwwHeaderBasic/AboutMenu.js +1 -1
  107. package/dist/vue/KvWwwHeaderBasic/HeaderMenuGroup.js +1 -1
  108. package/dist/vue/KvWwwHeaderBasic/KvWwwHeaderBasic.js +1 -1
  109. package/dist/vue/KvWwwHeaderBasic/LinkBar.js +1 -1
  110. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/CategoriesPanel.js +1 -1
  111. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MobileLendMenu.js +1 -1
  112. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/MyKivaPanel.js +1 -1
  113. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/RegionsPanel.js +1 -1
  114. package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/SearchPanel.js +1 -1
  115. package/dist/vue/KvWwwHeaderBasic/MobileMenu.js +1 -1
  116. package/dist/vue/KvWwwHeaderBasic/MyKivaMenu.js +1 -1
  117. package/dist/vue/KvWwwHeaderBasic/SearchBar.js +1 -1
  118. package/package.json +2 -2
  119. package/vite.config.ts +16 -13
  120. package/dist/vue/KvClassicLoanCard2.js +0 -255
  121. package/dist/vue/KvCompactLoanCard2.js +0 -418
  122. package/dist/vue/KvFormAssemblyForm2.js +0 -4
  123. package/dist/vue/KvIconButton2.js +0 -4
  124. package/dist/vue/KvIntroductionLoanCard2.js +0 -250
  125. package/dist/vue/KvLendCta2.js +0 -357
  126. package/dist/vue/KvLoanActivities2.js +0 -77
  127. package/dist/vue/KvLoanBookmark2.js +0 -24
  128. package/dist/vue/KvLoanTag2.js +0 -46
  129. package/dist/vue/KvLoanUse2.js +0 -16
  130. package/dist/vue/KvWideLoanCard2.js +0 -209
  131. /package/dist/vue/{KvAccordionItem2.js → KvAccordionItem.script.js} +0 -0
  132. /package/dist/vue/{KvActivityRow2.js → KvActivityRow.script.js} +0 -0
  133. /package/dist/vue/{KvAtbModal2.js → KvAtbModal.script.js} +0 -0
  134. /package/dist/vue/{KvBorrowerImage2.js → KvBorrowerImage.script.js} +0 -0
  135. /package/dist/vue/{KvButton2.js → KvButton.script.js} +0 -0
  136. /package/dist/vue/{KvCardFrame2.js → KvCardFrame.script.js} +0 -0
  137. /package/dist/vue/{KvCarousel2.js → KvCarousel.script.js} +0 -0
  138. /package/dist/vue/{KvCartModal2.js → KvCartModal.script.js} +0 -0
  139. /package/dist/vue/{KvCartPill2.js → KvCartPill.script.js} +0 -0
  140. /package/dist/vue/{KvCheckbox2.js → KvCheckbox.script.js} +0 -0
  141. /package/dist/vue/{KvCheckoutReceipt2.js → KvCheckoutReceipt.script.js} +0 -0
  142. /package/dist/vue/{KvChip2.js → KvChip.script.js} +0 -0
  143. /package/dist/vue/{KvCommentsAdd2.js → KvCommentsAdd.script.js} +0 -0
  144. /package/dist/vue/{KvCommentsContainer2.js → KvCommentsContainer.script.js} +0 -0
  145. /package/dist/vue/{KvCommentsHeartButton2.js → KvCommentsHeartButton.script.js} +0 -0
  146. /package/dist/vue/{KvCommentsList2.js → KvCommentsList.script.js} +0 -0
  147. /package/dist/vue/{KvCommentsListItem2.js → KvCommentsListItem.script.js} +0 -0
  148. /package/dist/vue/{KvCommentsReplyButton2.js → KvCommentsReplyButton.script.js} +0 -0
  149. /package/dist/vue/{KvContentfulImg2.js → KvContentfulImg.script.js} +0 -0
  150. /package/dist/vue/{KvCountdownTimer2.js → KvCountdownTimer.script.js} +0 -0
  151. /package/dist/vue/{KvDatePicker2.js → KvDatePicker.script.js} +0 -0
  152. /package/dist/vue/{KvExpandable2.js → KvExpandable.script.js} +0 -0
  153. /package/dist/vue/{KvExpandableQuestion2.js → KvExpandableQuestion.script.js} +0 -0
  154. /package/dist/vue/{KvFlag2.js → KvFlag.script.js} +0 -0
  155. /package/dist/vue/{KvGrid2.js → KvGrid.script.js} +0 -0
  156. /package/dist/vue/{KvIconBag2.js → KvIconBag.script.js} +0 -0
  157. /package/dist/vue/{KvImageUpload2.js → KvImageUpload.script.js} +0 -0
  158. /package/dist/vue/{KvImpactVerticalSelector2.js → KvImpactVerticalSelector.script.js} +0 -0
  159. /package/dist/vue/{KvInlineActivityCard2.js → KvInlineActivityCard.script.js} +0 -0
  160. /package/dist/vue/{KvInlineActivityFeed2.js → KvInlineActivityFeed.script.js} +0 -0
  161. /package/dist/vue/{KvLendAmountButton2.js → KvLendAmountButton.script.js} +0 -0
  162. /package/dist/vue/{KvLightbox2.js → KvLightbox.script.js} +0 -0
  163. /package/dist/vue/{KvLineGraph2.js → KvLineGraph.script.js} +0 -0
  164. /package/dist/vue/{KvLoadingSpinner2.js → KvLoadingSpinner.script.js} +0 -0
  165. /package/dist/vue/{KvLoanCallouts2.js → KvLoanCallouts.script.js} +0 -0
  166. /package/dist/vue/{KvLoanProgressGroup2.js → KvLoanProgressGroup.script.js} +0 -0
  167. /package/dist/vue/{KvMap2.js → KvMap.script.js} +0 -0
  168. /package/dist/vue/{KvMaterialIcon2.js → KvMaterialIcon.script.js} +0 -0
  169. /package/dist/vue/{KvPageContainer2.js → KvPageContainer.script.js} +0 -0
  170. /package/dist/vue/{KvPagination2.js → KvPagination.script.js} +0 -0
  171. /package/dist/vue/{KvPieChart2.js → KvPieChart.script.js} +0 -0
  172. /package/dist/vue/{KvPieChartV22.js → KvPieChartV2.script.js} +0 -0
  173. /package/dist/vue/{KvPill2.js → KvPill.script.js} +0 -0
  174. /package/dist/vue/{KvPopper2.js → KvPopper.script.js} +0 -0
  175. /package/dist/vue/{KvProgressBar2.js → KvProgressBar.script.js} +0 -0
  176. /package/dist/vue/{KvProgressCircle2.js → KvProgressCircle.script.js} +0 -0
  177. /package/dist/vue/{KvPulsingDot2.js → KvPulsingDot.script.js} +0 -0
  178. /package/dist/vue/{KvRadio2.js → KvRadio.script.js} +0 -0
  179. /package/dist/vue/{KvSecondaryNav2.js → KvSecondaryNav.script.js} +0 -0
  180. /package/dist/vue/{KvSelect2.js → KvSelect.script.js} +0 -0
  181. /package/dist/vue/{KvSideSheet2.js → KvSideSheet.script.js} +0 -0
  182. /package/dist/vue/{KvSimpleMap2.js → KvSimpleMap.script.js} +0 -0
  183. /package/dist/vue/{KvStackedBarGraph2.js → KvStackedBarGraph.script.js} +0 -0
  184. /package/dist/vue/{KvSwitch2.js → KvSwitch.script.js} +0 -0
  185. /package/dist/vue/{KvTab2.js → KvTab.script.js} +0 -0
  186. /package/dist/vue/{KvTabPanel2.js → KvTabPanel.script.js} +0 -0
  187. /package/dist/vue/{KvTabs2.js → KvTabs.script.js} +0 -0
  188. /package/dist/vue/{KvTextInput2.js → KvTextInput.script.js} +0 -0
  189. /package/dist/vue/{KvTextLink2.js → KvTextLink.script.js} +0 -0
  190. /package/dist/vue/{KvThemeProvider2.js → KvThemeProvider.script.js} +0 -0
  191. /package/dist/vue/{KvToast2.js → KvToast.script.js} +0 -0
  192. /package/dist/vue/{KvTooltip2.js → KvTooltip.script.js} +0 -0
  193. /package/dist/vue/{KvTreeMapChart2.js → KvTreeMapChart.script.js} +0 -0
  194. /package/dist/vue/{KvUserAvatar2.js → KvUserAvatar.script.js} +0 -0
  195. /package/dist/vue/{KvUtilityMenu2.js → KvUtilityMenu.script.js} +0 -0
  196. /package/dist/vue/{KvVerticalCarousel2.js → KvVerticalCarousel.script.js} +0 -0
  197. /package/dist/vue/{KvVotingCard2.js → KvVotingCard.script.js} +0 -0
  198. /package/dist/vue/{KvVotingCardV22.js → KvVotingCardV2.script.js} +0 -0
  199. /package/dist/vue/KvWwwHeader/{KvHeaderAboutMenu2.js → KvHeaderAboutMenu.script.js} +0 -0
  200. /package/dist/vue/KvWwwHeader/{KvHeaderDropdownLink2.js → KvHeaderDropdownLink.script.js} +0 -0
  201. /package/dist/vue/KvWwwHeader/{KvHeaderLinkBar2.js → KvHeaderLinkBar.script.js} +0 -0
  202. /package/dist/vue/KvWwwHeader/{KvHeaderLogo2.js → KvHeaderLogo.script.js} +0 -0
  203. /package/dist/vue/KvWwwHeader/{KvHeaderMobileMenu2.js → KvHeaderMobileMenu.script.js} +0 -0
  204. /package/dist/vue/KvWwwHeader/{KvHeaderMyKivaMenu2.js → KvHeaderMyKivaMenu.script.js} +0 -0
  205. /package/dist/vue/KvWwwHeader/{KvHeaderTakeActionMenu2.js → KvHeaderTakeActionMenu.script.js} +0 -0
  206. /package/dist/vue/KvWwwHeader/LendMenu/{KvLendListMenu2.js → KvLendListMenu.script.js} +0 -0
  207. /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMegaMenu2.js → KvLendMegaMenu.script.js} +0 -0
  208. /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenu2.js → KvLendMenu.script.js} +0 -0
  209. /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenuCountryList2.js → KvLendMenuCountryList.script.js} +0 -0
  210. /package/dist/vue/KvWwwHeader/LendMenu/{KvLendMenuSearchList2.js → KvLendMenuSearchList.script.js} +0 -0
  211. /package/dist/vue/{KvWwwHeader2.js → KvWwwHeader.script.js} +0 -0
  212. /package/dist/vue/KvWwwHeaderBasic/{AboutMenu2.js → AboutMenu.script.js} +0 -0
  213. /package/dist/vue/KvWwwHeaderBasic/{HeaderMenuGroup2.js → HeaderMenuGroup.script.js} +0 -0
  214. /package/dist/vue/KvWwwHeaderBasic/{KvWwwHeaderBasic2.js → KvWwwHeaderBasic.script.js} +0 -0
  215. /package/dist/vue/KvWwwHeaderBasic/{LinkBar2.js → LinkBar.script.js} +0 -0
  216. /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{CategoriesPanel2.js → CategoriesPanel.script.js} +0 -0
  217. /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{MobileLendMenu2.js → MobileLendMenu.script.js} +0 -0
  218. /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{MyKivaPanel2.js → MyKivaPanel.script.js} +0 -0
  219. /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{RegionsPanel2.js → RegionsPanel.script.js} +0 -0
  220. /package/dist/vue/KvWwwHeaderBasic/MobileLendMenu/{SearchPanel2.js → SearchPanel.script.js} +0 -0
  221. /package/dist/vue/KvWwwHeaderBasic/{MobileMenu2.js → MobileMenu.script.js} +0 -0
  222. /package/dist/vue/KvWwwHeaderBasic/{MyKivaMenu2.js → MyKivaMenu.script.js} +0 -0
  223. /package/dist/vue/KvWwwHeaderBasic/{SearchBar2.js → SearchBar.script.js} +0 -0
@@ -1,4 +1,4 @@
1
- import f from "./KvHeaderMobileMenu2.js";
1
+ import f from "./KvHeaderMobileMenu.script.js";
2
2
  import { resolveComponent as b, resolveDirective as N, openBlock as t, createElementBlock as l, withDirectives as i, createBlock as k, createCommentVNode as T, withCtx as p, createElementVNode as a, Fragment as A, renderList as C, withModifiers as s, toDisplayString as c, createTextVNode as n } from "vue";
3
3
  import "./KvHeaderMobileMenu.css";
4
4
  import g from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import d from "./KvHeaderMyKivaMenu2.js";
1
+ import d from "./KvHeaderMyKivaMenu.script.js";
2
2
  import { resolveComponent as m, resolveDirective as u, openBlock as t, createElementBlock as v, withDirectives as i, createBlock as l, withCtx as s, createTextVNode as a, createCommentVNode as n } from "vue";
3
3
  import k from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const p = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
@@ -1,4 +1,4 @@
1
- import s from "./KvHeaderTakeActionMenu2.js";
1
+ import s from "./KvHeaderTakeActionMenu.script.js";
2
2
  import { resolveComponent as p, resolveDirective as c, openBlock as o, createElementBlock as u, withDirectives as a, createBlock as r, withCtx as i, createElementVNode as t } from "vue";
3
3
  import d from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const v = { class: "tw--mt-0.5 tw-pb-0.5 tw-flex tw-flex-col tw-items-start tw-font-medium tw-px-2.5" };
@@ -1,4 +1,4 @@
1
- import C from "./KvLendListMenu2.js";
1
+ import C from "./KvLendListMenu.script.js";
2
2
  import { resolveComponent as _, resolveDirective as R, openBlock as t, createElementBlock as n, withDirectives as r, createElementVNode as l, createTextVNode as d, createVNode as c, createCommentVNode as p, withCtx as s, Fragment as k, renderList as v, toDisplayString as g, createBlock as m } from "vue";
3
3
  import "./KvLendListMenu.css";
4
4
  import A from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import x from "./KvLendMegaMenu2.js";
1
+ import x from "./KvLendMegaMenu.script.js";
2
2
  import { resolveComponent as m, resolveDirective as b, openBlock as n, createElementBlock as s, createElementVNode as t, normalizeStyle as S, withDirectives as r, createTextVNode as c, createVNode as d, createCommentVNode as u, withCtx as L, Fragment as w, renderList as k, toDisplayString as h, normalizeClass as C } from "vue";
3
3
  import "./KvLendMegaMenu.css";
4
4
  import N from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import m from "./KvLendMenu2.js";
1
+ import m from "./KvLendMenu.script.js";
2
2
  import { resolveComponent as i, openBlock as t, createBlock as r, withCtx as h, createCommentVNode as v, createVNode as l, normalizeClass as _ } from "vue";
3
3
  import f from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  function k(s, o, n, e, w, C) {
@@ -1,4 +1,4 @@
1
- import n from "./KvLendMenuCountryList2.js";
1
+ import n from "./KvLendMenuCountryList.script.js";
2
2
  import { resolveDirective as c, openBlock as e, createElementBlock as o, Fragment as a, renderList as l, withDirectives as _, createTextVNode as d, toDisplayString as r } from "vue";
3
3
  import "./KvLendMenuCountryList.css";
4
4
  import p from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import a from "./KvLendMenuSearchList2.js";
1
+ import a from "./KvLendMenuSearchList.script.js";
2
2
  import { openBlock as e, createElementBlock as r, Fragment as l, renderList as c, createElementVNode as o, toDisplayString as i } from "vue";
3
3
  import f from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const d = { class: "tw-font-book" }, m = ["href"];
@@ -1,4 +1,4 @@
1
- import h from "./KvWwwHeader2.js";
1
+ import h from "./KvWwwHeader.script.js";
2
2
  import { resolveComponent as l, resolveDirective as f, openBlock as r, createBlock as u, withCtx as i, createElementVNode as d, normalizeStyle as m, createVNode as t, Transition as v, withDirectives as s, vShow as c, createElementBlock as y, normalizeClass as H, resolveDynamicComponent as M, withModifiers as C } from "vue";
3
3
  import "./KvWwwHeader.css";
4
4
  import D from "../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import c from "./AboutMenu2.js";
1
+ import c from "./AboutMenu.script.js";
2
2
  import { resolveComponent as l, openBlock as t, createElementBlock as r, normalizeClass as i, Fragment as m, renderList as s, createBlock as f, withCtx as _, createTextVNode as p, toDisplayString as d } from "vue";
3
3
  import "./AboutMenu.css";
4
4
  import u from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import d from "./HeaderMenuGroup2.js";
1
+ import d from "./HeaderMenuGroup.script.js";
2
2
  import { openBlock as s, createElementBlock as i, renderSlot as t, createElementVNode as l, normalizeClass as u, createCommentVNode as a } from "vue";
3
3
  import "./HeaderMenuGroup.css";
4
4
  import m from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import u from "./KvWwwHeaderBasic2.js";
1
+ import u from "./KvWwwHeaderBasic.script.js";
2
2
  import { resolveComponent as o, openBlock as g, createBlock as c, withCtx as r, createElementVNode as b, normalizeStyle as k, createVNode as l, Transition as v, withDirectives as f, vShow as w } from "vue";
3
3
  import "./KvWwwHeaderBasic.css";
4
4
  import h from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import S from "./LinkBar2.js";
1
+ import S from "./LinkBar.script.js";
2
2
  import { resolveComponent as r, openBlock as o, createElementBlock as s, normalizeStyle as v, normalizeClass as I, createVNode as i, withCtx as d, createElementVNode as l, mergeProps as g, Transition as U, toDisplayString as w, createCommentVNode as m, Fragment as _, renderList as G, createTextVNode as b, withDirectives as O, vShow as E, createBlock as f } from "vue";
3
3
  import "./LinkBar.css";
4
4
  import N from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import k from "./CategoriesPanel2.js";
1
+ import k from "./CategoriesPanel.script.js";
2
2
  import { resolveComponent as p, resolveDirective as v, openBlock as e, createElementBlock as t, Fragment as a, renderList as c, createElementVNode as r, createVNode as f, withDirectives as s, createTextVNode as i, toDisplayString as h } from "vue";
3
3
  import "./CategoriesPanel.css";
4
4
  import u from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import h from "./MobileLendMenu2.js";
1
+ import h from "./MobileLendMenu.script.js";
2
2
  import { resolveComponent as a, resolveDirective as T, openBlock as i, createElementBlock as L, createVNode as o, withCtx as t, createBlock as s, createCommentVNode as _, withDirectives as c, createTextVNode as g } from "vue";
3
3
  import "./MobileLendMenu.css";
4
4
  import N from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import k from "./MyKivaPanel2.js";
1
+ import k from "./MyKivaPanel.script.js";
2
2
  import { resolveComponent as a, resolveDirective as h, openBlock as t, createElementBlock as o, createElementVNode as n, withDirectives as i, createTextVNode as l, createVNode as c, withCtx as d } from "vue";
3
3
  import "./MyKivaPanel.css";
4
4
  import u from "../../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import u from "./RegionsPanel2.js";
1
+ import u from "./RegionsPanel.script.js";
2
2
  import { resolveComponent as n, resolveDirective as k, openBlock as t, createElementBlock as o, Fragment as l, renderList as d, createVNode as r, withCtx as c, withDirectives as v, createBlock as h, createElementVNode as f, toDisplayString as y } from "vue";
3
3
  import g from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  const x = { class: "tw-text-upper" };
@@ -1,4 +1,4 @@
1
- import n from "./SearchPanel2.js";
1
+ import n from "./SearchPanel.script.js";
2
2
  import { resolveComponent as t, openBlock as i, createBlock as c } from "vue";
3
3
  import m from "../../../_virtual/_plugin-vue_export-helper.js";
4
4
  function p(r, e, o, u, l, d) {
@@ -1,4 +1,4 @@
1
- import k from "./MobileMenu2.js";
1
+ import k from "./MobileMenu.script.js";
2
2
  import { resolveComponent as l, openBlock as r, createElementBlock as a, createVNode as s, withCtx as c, createElementVNode as e, toDisplayString as m, createCommentVNode as f } from "vue";
3
3
  import "./MobileMenu.css";
4
4
  import b from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import u from "./MyKivaMenu2.js";
1
+ import u from "./MyKivaMenu.script.js";
2
2
  import { resolveComponent as C, openBlock as f, createElementBlock as d, createVNode as r, withCtx as e, createTextVNode as i, Fragment as s, createCommentVNode as m } from "vue";
3
3
  import "./MyKivaMenu.css";
4
4
  import y from "../../_virtual/_plugin-vue_export-helper.js";
@@ -1,4 +1,4 @@
1
- import b from "./SearchBar2.js";
1
+ import b from "./SearchBar.script.js";
2
2
  import { resolveComponent as f, openBlock as r, createElementBlock as n, withModifiers as l, createElementVNode as o, createVNode as v, withKeys as s, withDirectives as y, normalizeClass as w, Fragment as c, renderList as m, toDisplayString as _, vShow as S } from "vue";
3
3
  import x from "../../_virtual/_plugin-vue_export-helper.js";
4
4
  const g = ["for"], k = ["data-testid"], B = { class: "tw-text-base tw-py-0.5" }, M = ["data-testid", "onClick"], I = ["innerHTML"];
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "10.6.0",
3
+ "version": "10.6.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -116,5 +116,5 @@
116
116
  "dependencies": {
117
117
  "fuse.js": "^7.1.0"
118
118
  },
119
- "gitHead": "0bef6074eb8552e9e6b54d962b9dbb7af66241f4"
119
+ "gitHead": "a55163da474c53d2958af25e6b68684b3f1922db"
120
120
  }
package/vite.config.ts CHANGED
@@ -21,19 +21,22 @@ export default defineConfig({
21
21
  lib: {
22
22
  entry: 'src/index.ts',
23
23
  formats: ['es'],
24
- fileName: (format, entryName) => {
25
- // Since we have declared type: module in package.json, we use .js for ES modules and .cjs for CommonJS modules
26
- const suffix = format === 'es' ? '.js' : '.cjs';
27
- // Rename node_modules directory from bundled dependencies to avoid module resolution issues
28
- if (entryName.startsWith('node_modules')) {
29
- return `${entryName.replace('node_modules/', 'vendor/')}${suffix}`;
30
- }
31
- // Remove .vue extension from entryName for SFCs
32
- if (entryName.slice(-4) === '.vue') {
33
- return `${entryName.slice(0, -4)}${suffix}`;
34
- }
35
- // Return default entryName
36
- return `${entryName}${suffix}`;
24
+ },
25
+ rollupOptions: {
26
+ output: {
27
+ // An SFC and its `?vue&type=script` half share the chunk name `KvX.vue`; unless they're named apart,
28
+ // Rollup suffixes one with `2` by module order and `vue/KvX.js` can end up renderless.
29
+ entryFileNames: ({ name, facadeModuleId }) => {
30
+ // Rename node_modules directory from bundled dependencies to avoid module resolution issues
31
+ if (name.startsWith('node_modules')) {
32
+ return `${name.replace('node_modules/', 'vendor/')}.js`;
33
+ }
34
+ if (name.endsWith('.vue')) {
35
+ const isScriptBlock = facadeModuleId?.includes('?vue&type=script');
36
+ return `${name.slice(0, -4)}${isScriptBlock ? '.script' : ''}.js`;
37
+ }
38
+ return `${name}.js`;
39
+ },
37
40
  },
38
41
  },
39
42
  },
@@ -1,255 +0,0 @@
1
- import N from "./KvClassicLoanCard.js";
2
- import { KV_CLASSIC_LOAN_CARD_FRAGMENT as ae, KV_CLASSIC_LOAN_CARD_USER_FRAGMET as oe } from "./KvClassicLoanCard.js";
3
- import { resolveComponent as i, openBlock as a, createElementBlock as s, normalizeStyle as T, normalizeClass as r, createElementVNode as d, createBlock as n, resolveDynamicComponent as v, withCtx as g, createVNode as w, toDisplayString as b, createTextVNode as V, createCommentVNode as c, Fragment as R, renderList as S } from "vue";
4
- import "./KvClassicLoanCard.css";
5
- import F from "../_virtual/_plugin-vue_export-helper.js";
6
- const I = { class: "tw-grow" }, E = { class: "loan-card-active-hover" }, K = {
7
- key: 1,
8
- class: "tw-relative"
9
- }, z = { key: 0 }, W = {
10
- class: "tw-absolute tw-bottom-1 tw-left-1 tw-text-primary tw-bg-white tw-rounded tw-p-1 tw-mb-0 tw-text-label tw-flex tw-items-center tw-h-3",
11
- style: { padding: "2px 6px", "text-transform": "capitalize", "max-width": "calc(100% - 1rem)" }
12
- }, U = ["id"], j = { class: "tw-mb-1.5 tw-pt-1" }, G = { key: 1 }, H = {
13
- key: 0,
14
- class: "tw-w-full tw-pt-1 tw-pr-1"
15
- }, O = {
16
- key: 0,
17
- class: "tw-text-center tw-w-full tw-mt-1 tw-font-medium"
18
- }, q = {
19
- key: 1,
20
- class: "tw-pt-1.5"
21
- };
22
- function J(u, o, e, t, Q, m) {
23
- const k = i("kv-loading-placeholder"), h = i("kv-borrower-image"), f = i("kv-material-icon"), _ = i("kv-tooltip"), y = i("kv-loan-team-pick"), x = i("kv-loan-bookmark"), C = i("kv-loan-tag"), L = i("kv-loan-use"), A = i("kv-loan-callouts"), M = i("kv-loan-progress-group"), P = i("kv-lend-cta"), B = i("KvLoanActivities");
24
- return a(), s("div", {
25
- class: r(["tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1", { "tw-p-1": !e.largeCard, "tw-pointer-events-none": t.isLoading }]),
26
- "data-testid": "loan-card",
27
- style: T([{ "box-shadow": "0 4px 12px rgba(0, 0, 0, 0.08)" }, { minWidth: "230px", maxWidth: m.cardWidth }])
28
- }, [
29
- d("div", I, [
30
- d("div", E, [
31
- t.isLoading ? (a(), n(k, {
32
- key: 0,
33
- class: r(["tw-mb-1 tw-w-full", { "tw-rounded-t tw-rounded-b-none": e.largeCard, "!tw-rounded-sm": !e.largeCard }]),
34
- style: { height: "15rem" }
35
- }, null, 8, ["class"])) : (a(), s("div", K, [
36
- (a(), n(v(t.tag), {
37
- to: t.readMorePath,
38
- href: t.readMorePath,
39
- class: "tw-flex",
40
- "aria-label": "Borrower image",
41
- onClick: o[0] || (o[0] = (l) => t.clickReadMore("Photo", l))
42
- }, {
43
- default: g(() => [
44
- w(h, {
45
- class: r(["tw-relative tw-w-full tw-bg-black tw-bg-clip-content", { "tw-rounded-t": e.largeCard, "tw-rounded-sm": !e.largeCard }]),
46
- alt: `Photo of ${t.borrowerName}`,
47
- "aspect-ratio": m.imageAspectRatio,
48
- "default-image": { width: m.imageDefaultWidth },
49
- hash: t.imageHash,
50
- images: m.imageSizes,
51
- "photo-path": e.photoPath
52
- }, null, 8, ["class", "alt", "aspect-ratio", "default-image", "hash", "images", "photo-path"]),
53
- t.countryName ? (a(), s("div", z, [
54
- d("p", W, [
55
- w(f, {
56
- class: "tw-h-2 tw-w-2 tw-flex-shrink-0",
57
- icon: t.mdiMapMarker
58
- }, null, 8, ["icon"]),
59
- d("span", {
60
- id: `loan-location-${e.loanId}`,
61
- ref: "locationRef",
62
- class: "tw-truncate tw-min-w-0",
63
- style: { "margin-top": "0.125rem" }
64
- }, b(t.formattedLocation), 9, U),
65
- t.isLocationTruncated ? (a(), n(_, {
66
- key: 0,
67
- controller: `loan-location-${e.loanId}`,
68
- "max-width": "250px"
69
- }, {
70
- default: g(() => [
71
- V(b(t.formattedLocation), 1)
72
- ]),
73
- _: 1
74
- }, 8, ["controller"])) : c("", !0)
75
- ])
76
- ])) : c("", !0)
77
- ]),
78
- _: 1
79
- }, 8, ["to", "href"])),
80
- e.isTeamPick ? (a(), n(y, {
81
- key: 0,
82
- class: r(["tw-absolute", { "tw-right-6": !e.isVisitor, "tw-right-0": e.isVisitor }]),
83
- style: { top: "-6px" },
84
- "data-testid": "loan-card-teampick"
85
- }, null, 8, ["class"])) : c("", !0),
86
- e.isVisitor ? c("", !0) : (a(), n(x, {
87
- key: 1,
88
- "loan-id": e.loanId,
89
- "is-bookmarked": e.isBookmarked,
90
- class: "tw-absolute tw-right-1",
91
- style: { top: "-6px" },
92
- "data-testid": "loan-card-bookmark",
93
- onToggleBookmark: o[1] || (o[1] = (l) => u.$emit("toggle-bookmark"))
94
- }, null, 8, ["loan-id", "is-bookmarked"]))
95
- ])),
96
- (a(), n(v(t.tag), {
97
- to: t.readMorePath,
98
- href: t.readMorePath,
99
- class: r(["tw-flex tw-no-underline hover:tw-no-underline focus:tw-no-underline", { "tw-px-1": e.largeCard }]),
100
- "aria-label": "Loan tag",
101
- onClick: o[2] || (o[2] = (l) => t.clickReadMore("Tag", l))
102
- }, {
103
- default: g(() => [
104
- e.showTags && !t.isLoading ? (a(), n(C, {
105
- key: 0,
106
- loan: e.loan,
107
- "enable-multi-matching": e.enableMultiMatching
108
- }, null, 8, ["loan", "enable-multi-matching"])) : c("", !0)
109
- ]),
110
- _: 1
111
- }, 8, ["to", "href", "class"])),
112
- (a(), n(v(t.tag), {
113
- to: t.readMorePath,
114
- href: t.readMorePath,
115
- class: "loan-card-use tw-no-underline tw-text-primary",
116
- "aria-label": "Loan use",
117
- onClick: o[3] || (o[3] = (l) => t.clickReadMore("Use", l))
118
- }, {
119
- default: g(() => [
120
- d("div", j, [
121
- t.isLoading ? (a(), s("div", {
122
- key: 0,
123
- class: r(["tw-w-full", { "tw-px-1": e.largeCard }]),
124
- style: { height: "5.5rem" }
125
- }, [
126
- (a(!0), s(R, null, S([...Array(4)], (l, D) => (a(), s("div", {
127
- key: D,
128
- class: "tw-h-2 tw-mb-1"
129
- }, [
130
- w(k)
131
- ]))), 128))
132
- ], 2)) : (a(), s("div", G, [
133
- w(L, {
134
- use: t.loanUse,
135
- "loan-amount": t.loanAmount,
136
- status: t.loanStatus,
137
- "borrower-count": t.loanBorrowerCount,
138
- name: t.borrowerName,
139
- "distribution-model": t.distributionModel,
140
- class: r({ "tw-px-1": e.largeCard })
141
- }, null, 8, ["use", "loan-amount", "status", "borrower-count", "name", "distribution-model", "class"])
142
- ]))
143
- ])
144
- ]),
145
- _: 1
146
- }, 8, ["to", "href"]))
147
- ]),
148
- t.isLoading || typeof t.loanCallouts > "u" ? (a(), n(k, {
149
- key: 0,
150
- class: r(["tw-mt-1.5 tw-mb-1", { "tw-mx-1": e.largeCard }]),
151
- style: { width: "60%", height: "1.75rem", "border-radius": "500rem" }
152
- }, null, 8, ["class"])) : (a(), n(A, {
153
- key: 1,
154
- callouts: t.loanCallouts,
155
- class: r(["tw-mt-1.5", { "tw-px-1": e.largeCard }]),
156
- onClick: o[4] || (o[4] = (l) => u.$emit("jump-filter-page", l))
157
- }, null, 8, ["callouts", "class"]))
158
- ]),
159
- d("div", {
160
- class: r(["tw-flex tw-justify-between tw-mt-2", { "tw-px-1": e.largeCard }])
161
- }, [
162
- t.hasProgressData ? c("", !0) : (a(), s("div", H, [
163
- w(k, {
164
- class: "tw-mb-0.5",
165
- style: { width: "70%", height: "1.3rem" }
166
- }),
167
- w(k, {
168
- class: "tw-rounded",
169
- style: { width: "70%", height: "0.5rem" }
170
- })
171
- ])),
172
- d("div", null, [
173
- t.sharesAvailable ? (a(), n(v(t.tag), {
174
- key: 0,
175
- to: t.readMorePath,
176
- href: t.readMorePath,
177
- class: "loan-card-progress tw-no-underline tw-mt-1",
178
- "aria-label": "Loan progress",
179
- onClick: o[5] || (o[5] = (l) => t.clickReadMore("Progress", l))
180
- }, {
181
- default: g(() => [
182
- w(M, {
183
- id: "loanProgress",
184
- "money-left": t.unreservedAmount,
185
- "progress-percent": t.fundraisingPercent,
186
- class: "tw-text-black"
187
- }, null, 8, ["money-left", "progress-percent"])
188
- ]),
189
- _: 1
190
- }, 8, ["to", "href"])) : c("", !0)
191
- ]),
192
- t.allDataLoaded ? (a(), n(P, {
193
- key: 2,
194
- loan: e.loan,
195
- "unreserved-amount": t.unreservedAmount,
196
- "basket-items": e.basketItems,
197
- "is-loading": t.isLoading,
198
- "is-adding": e.isAdding,
199
- "enable-five-dollars-notes": e.enableFiveDollarsNotes,
200
- "five-dollars-selected": e.fiveDollarsSelected,
201
- "kv-track-function": e.kvTrackFunction,
202
- "show-view-loan": e.showViewLoan,
203
- "custom-loan-details": e.customLoanDetails,
204
- "external-links": e.externalLinks,
205
- route: e.route,
206
- "user-balance": e.userBalance,
207
- "get-cookie": e.getCookie,
208
- "set-cookie": e.setCookie,
209
- "is-visitor": e.isVisitor,
210
- "primary-button-text": e.primaryButtonText,
211
- "secondary-button-text": e.secondaryButtonText,
212
- "secondary-button-handler": e.secondaryButtonHandler,
213
- class: r(["tw-mt-auto", { "tw-w-full": !t.sharesAvailable }]),
214
- onAddToBasket: o[6] || (o[6] = (l) => u.$emit("add-to-basket", l)),
215
- onShowLoanDetails: o[7] || (o[7] = (l) => t.clickReadMore("ViewLoan", l)),
216
- onRemoveFromBasket: o[8] || (o[8] = (l) => u.$emit("remove-from-basket", l))
217
- }, null, 8, ["loan", "unreserved-amount", "basket-items", "is-loading", "is-adding", "enable-five-dollars-notes", "five-dollars-selected", "kv-track-function", "show-view-loan", "custom-loan-details", "external-links", "route", "user-balance", "get-cookie", "set-cookie", "is-visitor", "primary-button-text", "secondary-button-text", "secondary-button-handler", "class"])) : (a(), n(k, {
218
- key: 1,
219
- class: "tw-rounded tw-self-start",
220
- style: { width: "9rem", height: "3rem" }
221
- }))
222
- ], 2),
223
- e.showContributors && m.lendersNumber && m.amountLent ? (a(), s("div", O, [
224
- d("p", null, b(m.lendersNumber) + " people contributed " + b(m.amountLent), 1)
225
- ])) : c("", !0),
226
- e.combinedActivities.length > 0 ? (a(), s("div", q, [
227
- o[10] || (o[10] = d("hr", { class: "tw-border-tertiary tw-mb-1 tw-w-5/6 tw-mx-auto" }, null, -1)),
228
- w(B, {
229
- loan: e.loan,
230
- "combined-activities": e.combinedActivities,
231
- "kv-track-function": e.kvTrackFunction,
232
- "basket-items": e.basketItems,
233
- "is-adding": e.isAdding,
234
- "enable-five-dollars-notes": e.enableFiveDollarsNotes,
235
- "five-dollars-selected": e.fiveDollarsSelected,
236
- "show-view-loan": e.showViewLoan,
237
- "custom-loan-details": e.customLoanDetails,
238
- "external-links": e.externalLinks,
239
- route: e.route,
240
- "user-balance": e.userBalance,
241
- "get-cookie": e.getCookie,
242
- "set-cookie": e.setCookie,
243
- "error-msg": e.errorMsg,
244
- "is-visitor": e.isVisitor,
245
- onAddToBasket: o[9] || (o[9] = (l) => u.$emit("add-to-basket", l))
246
- }, null, 8, ["loan", "combined-activities", "kv-track-function", "basket-items", "is-adding", "enable-five-dollars-notes", "five-dollars-selected", "show-view-loan", "custom-loan-details", "external-links", "route", "user-balance", "get-cookie", "set-cookie", "error-msg", "is-visitor"])
247
- ])) : c("", !0)
248
- ], 6);
249
- }
250
- const $ = /* @__PURE__ */ F(N, [["render", J], ["__scopeId", "data-v-44561e04"]]);
251
- export {
252
- ae as KV_CLASSIC_LOAN_CARD_FRAGMENT,
253
- oe as KV_CLASSIC_LOAN_CARD_USER_FRAGMET,
254
- $ as default
255
- };