vue-pancake-icons 2.3.3 → 2.3.4

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.
@@ -7,13 +7,13 @@ const s = (o, n) => {
7
7
  name: "hello-world"
8
8
  };
9
9
  function _(o, n, e, t, c, a) {
10
- return " Hello world ";
10
+ return " Hello world 1 ";
11
11
  }
12
12
  const l = /* @__PURE__ */ s(p, [["render", _]]), d = {
13
13
  name: "icon-test"
14
14
  };
15
15
  function i(o, n, e, t, c, a) {
16
- return " Icon test ";
16
+ return " Icon test 1 ";
17
17
  }
18
18
  const u = /* @__PURE__ */ s(d, [["render", i]]), r = /* @__PURE__ */ Object.freeze(/* @__PURE__ */ Object.defineProperty({
19
19
  __proto__: null,
@@ -1 +1 @@
1
- (function(n,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis<"u"?globalThis:n||self,n.VuePancakeIcons=t())})(this,function(){"use strict";const n=(o,c)=>{const e=o.__vccOpts||o;for(const[s,r]of c)e[s]=r;return e},t={name:"hello-world"};function f(o,c,e,s,r,_){return" Hello world "}const p=n(t,[["render",f]]),u={name:"icon-test"};function l(o,c,e,s,r,_){return" Icon test "}const i=Object.freeze(Object.defineProperty({__proto__:null,IconTest:n(u,[["render",l]]),HelloWorld:p},Symbol.toStringTag,{value:"Module"})),d={install(o){for(let c in i){const e=i[c];o.component(e.name+"-pcon",e)}}};return typeof window<"u"&&window.Vue&&window.Vue.use(d),d});
1
+ (function(n,t){typeof exports=="object"&&typeof module<"u"?module.exports=t():typeof define=="function"&&define.amd?define(t):(n=typeof globalThis<"u"?globalThis:n||self,n.VuePancakeIcons=t())})(this,function(){"use strict";const n=(o,c)=>{const e=o.__vccOpts||o;for(const[s,r]of c)e[s]=r;return e},t={name:"hello-world"};function f(o,c,e,s,r,_){return" Hello world 1 "}const p=n(t,[["render",f]]),u={name:"icon-test"};function l(o,c,e,s,r,_){return" Icon test 1 "}const i=Object.freeze(Object.defineProperty({__proto__:null,IconTest:n(u,[["render",l]]),HelloWorld:p},Symbol.toStringTag,{value:"Module"})),d={install(o){for(let c in i){const e=i[c];o.component(e.name+"-pcon",e)}}};return typeof window<"u"&&window.Vue&&window.Vue.use(d),d});
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "vue-pancake-icons",
3
3
  "private": false,
4
- "version": "2.3.3",
4
+ "version": "2.3.4",
5
5
  "files": [
6
6
  "dist/*",
7
7
  "src/*",
package/src/App.vue CHANGED
@@ -1,33 +1,12 @@
1
- <script setup>
2
- // This starter template is using Vue 3 <script setup> SFCs
3
- // Check out https://vuejs.org/api/sfc-script-setup.html#script-setup
4
- import HelloWorld from './components/HelloWorld.vue'
1
+ <script>
2
+ const requireComponents = require.context('../assets/icons/', false, /.svg$/)
3
+
4
+ console.log(requireComponents, "requireComponents")
5
+
5
6
  </script>
6
7
 
7
8
  <template>
8
9
  <div>
9
- <a href="https://vitejs.dev" target="_blank">
10
- <img src="/vite.svg" class="logo" alt="Vite logo" />
11
- </a>
12
- <a href="https://vuejs.org/" target="_blank">
13
- <img src="./assets/vue.svg" class="logo vue" alt="Vue logo" />
14
- </a>
10
+ dddddd
15
11
  </div>
16
- <HelloWorld msg="Vite + Vue" />
17
12
  </template>
18
-
19
- <style scoped>
20
- .logo {
21
- height: 6em;
22
- padding: 1.5em;
23
- will-change: filter;
24
- }
25
-
26
- .logo:hover {
27
- filter: drop-shadow(0 0 2em #646cffaa);
28
- }
29
-
30
- .logo.vue:hover {
31
- filter: drop-shadow(0 0 2em #42b883aa);
32
- }
33
- </style>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 3.75V20.25M12 20.25L5.25 13.5M12 20.25L18.75 13.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18 6L6 18M6 18H15.75M6 18V8.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 6L18 18M18 18H8.25M18 18V8.25" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20.25 12H3.75M3.75 12L10.5 5.25M3.75 12L10.5 18.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M3.75 12H20.25M20.25 12L13.5 5.25M20.25 12L13.5 18.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M12 20.25V3.75M12 3.75L5.25 10.5M12 3.75L18.75 10.5" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M18 18L6 6M6 6H15.75M6 6V15.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -0,0 +1,3 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M6 18L18 6M18 6H8.25M18 6V15.75" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round"/>
3
+ </svg>
@@ -5,5 +5,5 @@ export default {
5
5
  </script>
6
6
 
7
7
  <template>
8
- Hello world
8
+ Hello world 1
9
9
  </template>
@@ -5,5 +5,5 @@ export default {
5
5
  </script>
6
6
 
7
7
  <template>
8
- Icon test
8
+ Icon test 1
9
9
  </template>
package/vite.config.js CHANGED
@@ -20,13 +20,5 @@ export default defineConfig({
20
20
  },
21
21
  },
22
22
  },
23
- plugins: [vue({
24
- template: {
25
- compilerOptions: {
26
- isCustomElement: (tag) => {
27
- return true
28
- }
29
- }
30
- }
31
- })],
23
+ plugins: [vue()],
32
24
  })