nieyuge %!s(int64=3) %!d(string=hai) anos
pai
achega
9a378d729a

+ 4 - 1
.gitignore

@@ -1,7 +1,10 @@
 .DS_Store
 node_modules
-/dist
+/docs
+/public
 docs/.vuepress/dist/
+src/
+src/main.js
 
 
 # local env files

+ 37 - 25
docs/.vuepress/components/lv-icon.vue

@@ -1,5 +1,5 @@
 <template>
-    <i class="iconfont" :class="[type ? 'icon-' + type : '']" :style="styleObject"></i>
+    <i class="iconfonts" :class="[type ? 'icon-' + type : '']" :style="styleObject"></i>
 </template>
 
 <script function>
@@ -49,41 +49,53 @@ export default {
 
 <style lang="less" scope>
 @font-face {
-    font-family: "iconfont"; /* Project id 2760070 */
-    src: url('../public/font/iconfont.woff2?t=1629537928872') format('woff2'),
-         url('../public/font/iconfont.woff?t=1629537928872') format('woff'),
-         url('../public/font/iconfont.ttf?t=1629537928872') format('truetype');
+  font-family: "iconfonts"; /* Project id 2760070 */
+  src: url('../public/font/iconfont.woff2?t=1629948296055') format('woff2'),
+       url('../public/font/iconfont.woff?t=1629948296055') format('woff'),
+       url('../public/font/iconfont.ttf?t=1629948296055') format('truetype');
 }
-.iconfont {
-    font-family: "iconfont" !important;
-    font-size: 16px;
-    font-style: normal;
-    -webkit-font-smoothing: antialiased;
-    -moz-osx-font-smoothing: grayscale;
-}
-.icon-add:before {
-    content: "\e600";
-}
-.icon-addRound:before {
-    content: "\e608";
+
+.iconfonts {
+  font-family: "iconfonts" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
 }
-.icon-wechat:before {
-    content: "\e609";
+
+.icon-arrow:before {
+  content: "\e613";
 }
-.icon-friend:before {
-    content: "\e60b";
+
+.icon-message:before {
+  content: "\e612";
 }
+
 .icon-share:before {
   content: "\e610";
 }
+
 .icon-thumbs:before {
   content: "\e611";
 }
-.icon-arrow:before {
-  content: "\e613";
+
+.icon-add:before {
+  content: "\e600";
 }
-.icon-message:before {
-  content: "\e612";
+
+.icon-addRound:before {
+  content: "\e608";
+}
+
+.icon-weChat:before {
+  content: "\e609";
 }
 
+.icon-friend:before {
+  content: "\e60b";
+}
+
+.icon-friend1:before {
+  content: "\e60c";
+}
 </style>

BIN=BIN
docs/.vuepress/public/font/iconfont.ttf


BIN=BIN
docs/.vuepress/public/font/iconfont.woff


BIN=BIN
docs/.vuepress/public/font/iconfont.woff2


+ 1 - 1
docs/components/README.md

@@ -78,7 +78,7 @@
     <div class="unicode">&amp;#xe600;</div>
 </div>
 <div class="icon">
-    <lv-icon type="wechat" :fontSize="fontSize" :color="fontColor"></lv-icon>
+    <lv-icon type="weChat" :fontSize="fontSize" :color="fontColor"></lv-icon>
     <div class="unicode">&amp;#xe609;</div>
 </div>
 <div class="icon">

+ 6 - 6
package.json

@@ -1,7 +1,7 @@
 {
-  "name": "lv-ui",
-  "version": "0.1.0",
-  "private": true,
+  "name": "lv-ui-components",
+  "version": "0.1.4",
+  "private": false,
   "main": "./dist/lv.umd.min.js",
   "scripts": {
     "dev": "vue-cli-service serve",
@@ -17,7 +17,9 @@
   },
   "dependencies": {
     "core-js": "^3.6.5",
-    "vue": "^2.6.11"
+    "vue": "^2.6.11",
+    "less": "^3.0.4",
+    "less-loader": "^5.0.0"
   },
   "devDependencies": {
     "@vue/cli-plugin-babel": "~4.5.0",
@@ -28,8 +30,6 @@
     "eslint-plugin-vue": "^6.2.2",
     "gulp": "^4.0.2",
     "gulp-replace": "^1.1.3",
-    "less": "^3.0.4",
-    "less-loader": "^5.0.0",
     "vue-template-compiler": "^2.6.11",
     "vuepress": "^1.8.2"
   },

BIN=BIN
src/assets/font/iconfont.ttf


BIN=BIN
src/assets/font/iconfont.woff


BIN=BIN
src/assets/font/iconfont.woff2


+ 37 - 25
src/components/lib/lv-icon.vue

@@ -1,5 +1,5 @@
 <template>
-    <i class="iconfont" :class="[type ? 'icon-' + type : '']" :style="styleObject"></i>
+    <i class="iconfonts" :class="[type ? 'icon-' + type : '']" :style="styleObject"></i>
 </template>
 
 <script function>
@@ -49,41 +49,53 @@ export default {
 
 <style lang="less" scope>
 @font-face {
-    font-family: "iconfont"; /* Project id 2760070 */
-    src: url('../../assets/font/iconfont.woff2?t=1629537928872') format('woff2'),
-         url('../../assets/font/iconfont.woff?t=1629537928872') format('woff'),
-         url('../../assets/font/iconfont.ttf?t=1629537928872') format('truetype');
+  font-family: "iconfonts"; /* Project id 2760070 */
+  src: url('../../assets/font/iconfont.woff2?t=1629948296055') format('woff2'),
+       url('../../assets/font/iconfont.woff?t=1629948296055') format('woff'),
+       url('../../assets/font/iconfont.ttf?t=1629948296055') format('truetype');
 }
-.iconfont {
-    font-family: "iconfont" !important;
-    font-size: 16px;
-    font-style: normal;
-    -webkit-font-smoothing: antialiased;
-    -moz-osx-font-smoothing: grayscale;
-}
-.icon-add:before {
-    content: "\e600";
-}
-.icon-addRound:before {
-    content: "\e608";
+
+.iconfonts {
+  font-family: "iconfonts" !important;
+  font-size: 16px;
+  font-style: normal;
+  -webkit-font-smoothing: antialiased;
+  -moz-osx-font-smoothing: grayscale;
 }
-.icon-wechat:before {
-    content: "\e609";
+
+.icon-arrow:before {
+  content: "\e613";
 }
-.icon-friend:before {
-    content: "\e60b";
+
+.icon-message:before {
+  content: "\e612";
 }
+
 .icon-share:before {
   content: "\e610";
 }
+
 .icon-thumbs:before {
   content: "\e611";
 }
-.icon-arrow:before {
-  content: "\e613";
+
+.icon-add:before {
+  content: "\e600";
 }
-.icon-message:before {
-  content: "\e612";
+
+.icon-addRound:before {
+  content: "\e608";
+}
+
+.icon-weChat:before {
+  content: "\e609";
 }
 
+.icon-friend:before {
+  content: "\e60b";
+}
+
+.icon-friend1:before {
+  content: "\e60c";
+}
 </style>