This commit is contained in:
atisawd 2018-07-07 19:50:52 +05:30
parent fce186ff0e
commit 99ec375d08
8 changed files with 7 additions and 7 deletions

View file

@ -8,7 +8,7 @@ _High Quality web friendly icons_
'Boxicons' is a carefully designed open source iconset with 700+ icons. It's crafted to look enrich your website/app experience. 'Boxicons' is a carefully designed open source iconset with 700+ icons. It's crafted to look enrich your website/app experience.
_Announcing Boxicons v1.5.4!_ _Announcing Boxicons v1.5.5!_
Load the icons as web component , load only the icons you need . Load the icons as web component , load only the icons you need .
@ -62,7 +62,7 @@ Instead of installing you may use the remote version
Boxicons includes a Custom Element that makes using icons easy and efficient. To use it, add the `box-icon-element.js` file to the page: Boxicons includes a Custom Element that makes using icons easy and efficient. To use it, add the `box-icon-element.js` file to the page:
```html ```html
<script src="https://unpkg.com/boxicons@latest/dist/box-icon-element.js"></script> <script src="https://unpkg.com/boxicons@latest/dist/boxicons.js"></script>
``` ```
To use an icon, add the `<box-icon>` element to the location where the icon should be displayed: To use an icon, add the `<box-icon>` element to the location where the icon should be displayed:

2
dist/boxicons.js vendored

File diff suppressed because one or more lines are too long

View file

@ -75,6 +75,6 @@
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
<script src="static/dist/bundle.js?v=5" async></script> <script src="static/dist/bundle.js?v=6" async></script>
</body> </body>
</html> </html>

View file

@ -1,6 +1,6 @@
{ {
"name": "boxicons", "name": "boxicons",
"version": "1.5.4", "version": "1.5.5",
"private": true, "private": true,
"description": "High Quality web friendly icons", "description": "High Quality web friendly icons",
"scripts": { "scripts": {

View file

@ -81,7 +81,7 @@ export class BoxIconElement extends HTMLElement {
static get cdnUrl() { static get cdnUrl() {
// BUILD.DATA.VERSION is injected by webpack during a build. // BUILD.DATA.VERSION is injected by webpack during a build.
// Value is same as package.json#version property. // Value is same as package.json#version property.
return `//unpkg.com/boxicons@latest/svg`; return `//unpkg.com/boxicons@${BUILD.DATA.VERSION}/svg`;
} }
/** /**
* The html tag name to be use * The html tag name to be use

File diff suppressed because one or more lines are too long

Binary file not shown.