@kiva/kv-components 3.90.1 → 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,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.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
+
6
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)
7
18
 
8
19
  **Note:** Version bump only for package @kiva/kv-components
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kiva/kv-components",
3
- "version": "3.90.1",
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": "c5006de020c6abc90d88722d181843b28ad07f91"
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
 
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;