vue-pancake-icons 2.3.3 → 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.
- package/dist/vue-pancake-icons.es.js +2 -2
- package/dist/vue-pancake-icons.umd.js +1 -1
- package/package.json +3 -6
- package/public/vite.svg +0 -1
- package/src/App.vue +0 -33
- package/src/assets/vue.svg +0 -1
- package/src/components/HelloWorld.vue +0 -9
- package/src/components/IconTest.vue +0 -9
- package/src/components/index.js +0 -7
- package/src/install.js +0 -16
- package/src/main.js +0 -5
- package/src/style.css +0 -90
- package/vite.config.js +0 -32
@@ -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 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 ";
|
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 "}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 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
|
+
"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,33 +0,0 @@
|
|
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'
|
5
|
-
</script>
|
6
|
-
|
7
|
-
<template>
|
8
|
-
<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>
|
15
|
-
</div>
|
16
|
-
<HelloWorld msg="Vite + Vue" />
|
17
|
-
</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>
|
package/src/assets/vue.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="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>
|
package/src/components/index.js
DELETED
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
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,32 +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
|
-
template: {
|
25
|
-
compilerOptions: {
|
26
|
-
isCustomElement: (tag) => {
|
27
|
-
return true
|
28
|
-
}
|
29
|
-
}
|
30
|
-
}
|
31
|
-
})],
|
32
|
-
})
|