@kiva/kv-components 3.90.0 → 3.90.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,25 @@
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.90.2](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.90.1...@kiva/kv-components@3.90.2) (2024-08-05)
7
+
8
+
9
+ ### Bug Fixes
10
+
11
+ * relative node_modules path broke when imported into another app ([3bb1c5d](https://github.com/kiva/kv-ui-elements/commit/3bb1c5d5db0701c41691bcd588421e6b4dd0ea19))
12
+
13
+
14
+
15
+
16
+
17
+ ## [3.90.1](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.90.0...@kiva/kv-components@3.90.1) (2024-08-02)
18
+
19
+ **Note:** Version bump only for package @kiva/kv-components
20
+
21
+
22
+
23
+
24
+
6
25
  # [3.90.0](https://github.com/kiva/kv-ui-elements/compare/@kiva/kv-components@3.89.1...@kiva/kv-components@3.90.0) (2024-07-26)
7
26
 
8
27
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.90.0",
3
+ "version": "3.90.2",
4
4
  "type": "module",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -82,5 +82,5 @@
82
82
  "optional": true
83
83
  }
84
84
  },
85
- "gitHead": "b1468cd0b28b722c0088ad4941c604d12cd60735"
85
+ "gitHead": "f5aee85ee4d01acdf40f6a155e891b0200fbef43"
86
86
  }
@@ -1,3 +1,5 @@
1
+ const path = require('path');
2
+
1
3
  const config = {
2
4
  stories: [
3
5
  '../stories/Styleguide.stories.js', // show the base styleguide first
@@ -62,6 +64,10 @@ const config = {
62
64
  }
63
65
  ]
64
66
  });
67
+ config.resolve.alias = {
68
+ ...config.resolve.alias,
69
+ '~/node_modules': path.resolve(__dirname, '../../../../node_modules/'),
70
+ };
65
71
  return config;
66
72
  },
67
73
 
@@ -2,6 +2,7 @@
2
2
  <div
3
3
  class="tw-flex tw-flex-col tw-bg-white tw-rounded tw-w-full tw-pb-1"
4
4
  :class="{ 'tw-p-1': !largeCard, 'tw-pointer-events-none' : isLoading }"
5
+ data-testid="loan-card"
5
6
  style="box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);"
6
7
  :style="{ minWidth: '230px', maxWidth: cardWidth }"
7
8
  >
package/vue/KvFlag.vue CHANGED
@@ -71,7 +71,7 @@ export default {
71
71
  },
72
72
  },
73
73
  async setup() {
74
- const countryList = await import('../../../node_modules/flag-icons/country.json');
74
+ const countryList = await import('~/node_modules/flag-icons/country.json');
75
75
 
76
76
  return {
77
77
  countryList,
@@ -104,7 +104,7 @@ export default {
104
104
  </script>
105
105
 
106
106
  <style lang="postcss" scoped>
107
- @import "../../../node_modules/flag-icons/css/flag-icons.min.css";
107
+ @import "~/node_modules/flag-icons/css/flag-icons.min.css";
108
108
 
109
109
  .kv-flag__wrapper {
110
110
  line-height: 0;
@@ -2,6 +2,7 @@
2
2
  <div
3
3
  class="card-container"
4
4
  :class="{ 'tw-pointer-events-none' : isLoading }"
5
+ data-testid="loan-card"
5
6
  style="box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);"
6
7
  :style="{ minWidth: '230px', maxWidth: '20.5rem' }"
7
8
  >
@@ -13,6 +13,7 @@
13
13
  tw-items-center
14
14
  "
15
15
  :class="{'tw-pointer-events-none' : isLoading }"
16
+ data-testid="loan-card"
16
17
  style="box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);"
17
18
  >
18
19
  <div