@flyanra/vue-core 1.3.0 → 1.3.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.
@@ -1,4 +1,4 @@
1
1
  import FlyIconV2 from './FlyIconV2.vue';
2
2
  export default FlyIconV2;
3
3
  export { FlyIconV2 };
4
- export type { T_FlyIconV2Props } from './FlyIconV2.types.ts';
4
+ export type { T_FlyIconV2Props } from './FlyIconV2.types';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@flyanra/vue-core",
3
- "version": "1.3.0",
3
+ "version": "1.3.2",
4
4
  "private": false,
5
5
  "description": "Source-distributed Vue component library for Vite and Nuxt consumers.",
6
6
  "sideEffects": false,
@@ -75,6 +75,7 @@
75
75
  "dev": "vite",
76
76
  "format": "prettier . --write",
77
77
  "format:check": "prettier . --check",
78
+ "preinstall": "npx only-allow npm",
78
79
  "lint": "eslint .",
79
80
  "lint:fix": "eslint . --fix",
80
81
  "pack": "npm pack",
@@ -153,6 +154,6 @@
153
154
  },
154
155
  "volta": {
155
156
  "node": "24.12.0",
156
- "yarn": "1.22.22"
157
+ "npm": "11.6.2"
157
158
  }
158
159
  }
@@ -7,7 +7,7 @@
7
7
  }"
8
8
  >
9
9
  <slot name="trigger">
10
- <FlyIcon class="tw-cursor-pointer" :icon="mdiInformationSlabBoxOutline" />
10
+ <FlyIconV2 class="tw-cursor-pointer" :icon="IconMdiInformationSlabBoxOutline" />
11
11
  </slot>
12
12
  <template #content>
13
13
  <!-- eslint-disable-next-line vue/no-v-html -->
@@ -19,10 +19,11 @@
19
19
  </template>
20
20
 
21
21
  <script setup lang="ts">
22
- import { mdiInformationSlabBoxOutline } from '@mdi/js'
22
+ import IconMdiInformationSlabBoxOutline from '~icons/mdi/information-slab-box-outline'
23
+
23
24
  import DOMPurify from 'dompurify'
24
25
 
25
- import FlyIcon from '../../general/fly-icon/FlyIcon.vue'
26
+ import FlyIconV2 from '../../general/fly-icon-v2/FlyIconV2.vue'
26
27
 
27
28
  import FlyTooltip from './FlyTooltip.vue'
28
29
 
@@ -3,4 +3,4 @@ import FlyIconV2 from './FlyIconV2.vue'
3
3
  export default FlyIconV2
4
4
  export { FlyIconV2 }
5
5
 
6
- export type { T_FlyIconV2Props } from './FlyIconV2.types.ts'
6
+ export type { T_FlyIconV2Props } from './FlyIconV2.types'