@kiva/kv-components 3.83.0 → 3.83.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,17 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [3.83.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.83.0...@kiva/kv-components@3.83.1) (2024-06-07)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * event is firing twice ([#417](https://github.com/kiva/kv-ui-elements/issues/417)) ([3e30e40](https://github.com/kiva/kv-ui-elements/commit/3e30e4023c6d6af324fc99e805b0f10d36934c2e))
12
+
13
+
14
+
15
+
16
+
6
17
  # [3.83.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.82.1...@kiva/kv-components@3.83.0) (2024-06-07)
7
18
 
8
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.83.0",
3
+ "version": "3.83.1",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -75,5 +75,5 @@
75
75
  "optional": true
76
76
  }
77
77
  },
78
- "gitHead": "a248af9b1215451e5b121939976b5340cf3b00bd"
78
+ "gitHead": "fd9613c908f4eeaddb1a8395e864c5c0448c53af"
79
79
  }
package/utils/loanCard.js CHANGED
@@ -186,13 +186,6 @@ export function loanCardMethods(props, emit) {
186
186
  kvTrackFunction,
187
187
  } = toRefs(props);
188
188
 
189
- function showLoanDetails(event) {
190
- if (customLoanDetails.value) {
191
- event.preventDefault();
192
- emit('show-loan-details');
193
- }
194
- }
195
-
196
189
  function clickReadMore(target, event) {
197
190
  kvTrackFunction.value('Lending', 'click-Read more', target, loanId.value);
198
191
  if (customLoanDetails.value) {
@@ -202,7 +195,6 @@ export function loanCardMethods(props, emit) {
202
195
  }
203
196
 
204
197
  return {
205
- showLoanDetails,
206
198
  clickReadMore,
207
199
  };
208
200
  }
@@ -17,7 +17,6 @@
17
17
  <div
18
18
  v-else
19
19
  class="tw-relative"
20
- @click="showLoanDetails"
21
20
  >
22
21
  <component
23
22
  :is="tag"
@@ -455,7 +454,6 @@ export default {
455
454
 
456
455
  const {
457
456
  clickReadMore,
458
- showLoanDetails,
459
457
  } = loanCardMethods(props, emit);
460
458
 
461
459
  return {
@@ -480,7 +478,6 @@ export default {
480
478
  tag,
481
479
  unreservedAmount,
482
480
  clickReadMore,
483
- showLoanDetails,
484
481
  };
485
482
  },
486
483
  computed: {
@@ -27,7 +27,6 @@
27
27
  <div
28
28
  v-else
29
29
  class="tw-relative tw-w-full"
30
- @click="showLoanDetails"
31
30
  >
32
31
  <component
33
32
  :is="tag"
@@ -364,7 +363,6 @@ export default {
364
363
 
365
364
  const {
366
365
  clickReadMore,
367
- showLoanDetails,
368
366
  } = loanCardMethods(props, emit);
369
367
 
370
368
  return {
@@ -389,7 +387,6 @@ export default {
389
387
  tag,
390
388
  unreservedAmount,
391
389
  clickReadMore,
392
- showLoanDetails,
393
390
  };
394
391
  },
395
392
  computed: {