vue-pancake-icons 2.3.4 → 2.3.5

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 1 ";
10
+ return " Hello world 2 ";
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 1 ";
16
+ return " Icon test 2 ";
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 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});
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 2 "}const p=n(t,[["render",f]]),u={name:"icon-test"};function l(o,c,e,s,r,_){return" Icon test 2 "}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,13 +1,9 @@
1
1
  {
2
2
  "name": "vue-pancake-icons",
3
3
  "private": false,
4
- "version": "2.3.4",
4
+ "version": "2.3.5",
5
5
  "files": [
6
- "dist/*",
7
- "src/*",
8
- "public/*",
9
- "*.json",
10
- "*.js"
6
+ "dist"
11
7
  ],
12
8
  "main": "./dist/vue-pancake-icons.umd.js",
13
9
  "module": "./dist/vue-pancake-icons.es.js",
@@ -24,6 +20,7 @@
24
20
  "preview": "vite preview"
25
21
  },
26
22
  "dependencies": {
23
+ "express": "^4.18.2",
27
24
  "path": "^0.12.7",
28
25
  "vue": "^3.2.41"
29
26
  },
package/public/vite.svg DELETED
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="31.88" height="32" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 257"><defs><linearGradient id="IconifyId1813088fe1fbc01fb466" x1="-.828%" x2="57.636%" y1="7.652%" y2="78.411%"><stop offset="0%" stop-color="#41D1FF"></stop><stop offset="100%" stop-color="#BD34FE"></stop></linearGradient><linearGradient id="IconifyId1813088fe1fbc01fb467" x1="43.376%" x2="50.316%" y1="2.242%" y2="89.03%"><stop offset="0%" stop-color="#FFEA83"></stop><stop offset="8.333%" stop-color="#FFDD35"></stop><stop offset="100%" stop-color="#FFA800"></stop></linearGradient></defs><path fill="url(#IconifyId1813088fe1fbc01fb466)" d="M255.153 37.938L134.897 252.976c-2.483 4.44-8.862 4.466-11.382.048L.875 37.958c-2.746-4.814 1.371-10.646 6.827-9.67l120.385 21.517a6.537 6.537 0 0 0 2.322-.004l117.867-21.483c5.438-.991 9.574 4.796 6.877 9.62Z"></path><path fill="url(#IconifyId1813088fe1fbc01fb467)" d="M185.432.063L96.44 17.501a3.268 3.268 0 0 0-2.634 3.014l-5.474 92.456a3.268 3.268 0 0 0 3.997 3.378l24.777-5.718c2.318-.535 4.413 1.507 3.936 3.838l-7.361 36.047c-.495 2.426 1.782 4.5 4.151 3.78l15.304-4.649c2.372-.72 4.652 1.36 4.15 3.788l-11.698 56.621c-.732 3.542 3.979 5.473 5.943 2.437l1.313-2.028l72.516-144.72c1.215-2.423-.88-5.186-3.54-4.672l-25.505 4.922c-2.396.462-4.435-1.77-3.759-4.114l16.646-57.705c.677-2.35-1.37-4.583-3.769-4.113Z"></path></svg>
package/src/App.vue DELETED
@@ -1,12 +0,0 @@
1
- <script>
2
- const requireComponents = require.context('../assets/icons/', false, /.svg$/)
3
-
4
- console.log(requireComponents, "requireComponents")
5
-
6
- </script>
7
-
8
- <template>
9
- <div>
10
- dddddd
11
- </div>
12
- </template>
@@ -1,3 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1,3 +0,0 @@
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>
@@ -1 +0,0 @@
1
- <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" aria-hidden="true" role="img" class="iconify iconify--logos" width="37.07" height="36" preserveAspectRatio="xMidYMid meet" viewBox="0 0 256 198"><path fill="#41B883" d="M204.8 0H256L128 220.8L0 0h97.92L128 51.2L157.44 0h47.36Z"></path><path fill="#41B883" d="m0 0l128 220.8L256 0h-51.2L128 132.48L50.56 0H0Z"></path><path fill="#35495E" d="M50.56 0L128 133.12L204.8 0h-47.36L128 51.2L97.92 0H50.56Z"></path></svg>
@@ -1,9 +0,0 @@
1
- <script >
2
- export default {
3
- name: "hello-world",
4
- }
5
- </script>
6
-
7
- <template>
8
- Hello world 1
9
- </template>
@@ -1,9 +0,0 @@
1
- <script>
2
- export default {
3
- name: "icon-test"
4
- }
5
- </script>
6
-
7
- <template>
8
- Icon test 1
9
- </template>
@@ -1,7 +0,0 @@
1
- import HelloWorld from "./HelloWorld.vue"
2
- import IconTest from "./IconTest.vue"
3
-
4
- export {
5
- IconTest,
6
- HelloWorld,
7
- }
package/src/install.js DELETED
@@ -1,16 +0,0 @@
1
- import * as components from "./components"
2
-
3
- const VuePancakeIcons = {
4
- install(Vue) {
5
- for (let props in components) {
6
- const component = components[props]
7
- Vue.component(component.name + "-pcon", component)
8
- }
9
- }
10
- }
11
-
12
- if (typeof window !== 'undefined' && window.Vue) {
13
- window.Vue.use(VuePancakeIcons);
14
- }
15
-
16
- export default VuePancakeIcons
package/src/main.js DELETED
@@ -1,5 +0,0 @@
1
- import { createApp } from 'vue'
2
- import './style.css'
3
- import App from './App.vue'
4
-
5
- createApp(App).mount('#app')
package/src/style.css DELETED
@@ -1,90 +0,0 @@
1
- :root {
2
- font-family: Inter, Avenir, Helvetica, Arial, sans-serif;
3
- font-size: 16px;
4
- line-height: 24px;
5
- font-weight: 400;
6
-
7
- color-scheme: light dark;
8
- color: rgba(255, 255, 255, 0.87);
9
- background-color: #242424;
10
-
11
- font-synthesis: none;
12
- text-rendering: optimizeLegibility;
13
- -webkit-font-smoothing: antialiased;
14
- -moz-osx-font-smoothing: grayscale;
15
- -webkit-text-size-adjust: 100%;
16
- }
17
-
18
- a {
19
- font-weight: 500;
20
- color: #646cff;
21
- text-decoration: inherit;
22
- }
23
- a:hover {
24
- color: #535bf2;
25
- }
26
-
27
- a {
28
- font-weight: 500;
29
- color: #646cff;
30
- text-decoration: inherit;
31
- }
32
- a:hover {
33
- color: #535bf2;
34
- }
35
-
36
- body {
37
- margin: 0;
38
- display: flex;
39
- place-items: center;
40
- min-width: 320px;
41
- min-height: 100vh;
42
- }
43
-
44
- h1 {
45
- font-size: 3.2em;
46
- line-height: 1.1;
47
- }
48
-
49
- button {
50
- border-radius: 8px;
51
- border: 1px solid transparent;
52
- padding: 0.6em 1.2em;
53
- font-size: 1em;
54
- font-weight: 500;
55
- font-family: inherit;
56
- background-color: #1a1a1a;
57
- cursor: pointer;
58
- transition: border-color 0.25s;
59
- }
60
- button:hover {
61
- border-color: #646cff;
62
- }
63
- button:focus,
64
- button:focus-visible {
65
- outline: 4px auto -webkit-focus-ring-color;
66
- }
67
-
68
- .card {
69
- padding: 2em;
70
- }
71
-
72
- #app {
73
- max-width: 1280px;
74
- margin: 0 auto;
75
- padding: 2rem;
76
- text-align: center;
77
- }
78
-
79
- @media (prefers-color-scheme: light) {
80
- :root {
81
- color: #213547;
82
- background-color: #ffffff;
83
- }
84
- a:hover {
85
- color: #747bff;
86
- }
87
- button {
88
- background-color: #f9f9f9;
89
- }
90
- }
package/vite.config.js DELETED
@@ -1,24 +0,0 @@
1
- import { defineConfig } from 'vite'
2
- import vue from '@vitejs/plugin-vue'
3
- import path from 'path'
4
- // https://vitejs.dev/config/
5
- export default defineConfig({
6
- build: {
7
- lib: {
8
- entry: path.resolve(__dirname, 'src/install.js'),
9
- name: 'VuePancakeIcons',
10
- fileName: (format) => `vue-pancake-icons.${format}.js`,
11
- },
12
- rollupOptions: {
13
- external: ['vue'],
14
- output: {
15
- // Provide global variables to use in the UMD build
16
- // Add external deps here
17
- globals: {
18
- vue: 'Vue',
19
- },
20
- },
21
- },
22
- },
23
- plugins: [vue()],
24
- })