mirror of
https://github.com/atisawd/boxicons.git
synced 2024-11-13 19:04:52 +01:00
1.5.5
This commit is contained in:
parent
fce186ff0e
commit
99ec375d08
8 changed files with 7 additions and 7 deletions
|
@ -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.
|
||||
|
||||
|
||||
_Announcing Boxicons v1.5.4!_
|
||||
_Announcing Boxicons v1.5.5!_
|
||||
|
||||
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:
|
||||
|
||||
```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:
|
||||
|
|
2
dist/boxicons.js
vendored
2
dist/boxicons.js
vendored
File diff suppressed because one or more lines are too long
|
@ -75,6 +75,6 @@
|
|||
</head>
|
||||
<body>
|
||||
<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>
|
||||
</html>
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "boxicons",
|
||||
"version": "1.5.4",
|
||||
"version": "1.5.5",
|
||||
"private": true,
|
||||
"description": "High Quality web friendly icons",
|
||||
"scripts": {
|
||||
|
|
|
@ -81,7 +81,7 @@ export class BoxIconElement extends HTMLElement {
|
|||
static get cdnUrl() {
|
||||
// BUILD.DATA.VERSION is injected by webpack during a build.
|
||||
// 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
|
||||
|
|
2
static/dist/bundle.js
vendored
2
static/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
BIN
static/dist/bundle.js.gz
vendored
BIN
static/dist/bundle.js.gz
vendored
Binary file not shown.
Loading…
Reference in a new issue