@liquid-js/lyr-icons 0.0.0-stage → 22.0.0-alpha.0

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/LICENSE.txt ADDED
@@ -0,0 +1,31 @@
1
+ The MIT License (MIT)
2
+
3
+ Copyright (c) 2017 Akveo.
4
+ Copyright (c) 2026 Liquid-JS and contributors.
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE.
23
+
24
+
25
+ ---
26
+
27
+ The icons from Eva Icons (svg/eva, and the markup generated from it) are:
28
+
29
+ Copyright (c) 2018 Akveo.
30
+
31
+ and are used under the same MIT License terms as above.
package/README.md CHANGED
@@ -1,3 +1,42 @@
1
- # Temporary Holding Version
1
+ # Lyra icons
2
2
 
3
- This version is a temporary placeholder for this package. An operational version to replace this has been submitted for review and is awaiting a staged release.
3
+ [![GitHub license](https://img.shields.io/github/license/Liquid-JS/lyra.svg)](https://github.com/Liquid-JS/lyra/blob/master/LICENSE.txt)
4
+ [![npm](https://img.shields.io/npm/dm/@liquid-js/lyr-icons.svg)](https://www.npmjs.com/package/@liquid-js/lyr-icons)
5
+ [![scope](https://img.shields.io/npm/v/@liquid-js/lyr-icons.svg)](https://www.npmjs.com/package/@liquid-js/lyr-icons)
6
+
7
+ Lyra's icon pack for `nb-icon`: SVG icons, most in a fill and an outline style.
8
+
9
+ ## Quick links
10
+
11
+ - [Icon browser](https://liquid-js.github.io/lyra/icons/browse-icons/)
12
+ - [Register icon packs](https://liquid-js.github.io/lyra/icons/register-icon-packs/)
13
+ - [Icon component](https://liquid-js.github.io/lyra/components/more/icon/overview/)
14
+
15
+ ### Installing
16
+
17
+ ```sh
18
+ npm install --save @liquid-js/lyr-icons
19
+ ```
20
+
21
+ ### Provide the icons
22
+
23
+ ```ts
24
+ import { provideNbTheme } from '@liquid-js/lyr-core'
25
+ import { provideNbIcons } from '@liquid-js/lyr-icons'
26
+
27
+ bootstrapApplication(AppComponent, {
28
+ providers: [
29
+ provideNbTheme(),
30
+ provideNbIcons()
31
+ ]
32
+ })
33
+ ```
34
+
35
+ `provideNbIcons()` adds every icon to the bundle. To add only the icons the app uses, see
36
+ [Register icon packs](https://liquid-js.github.io/lyra/icons/register-icon-packs/).
37
+
38
+ ### Include it in HTML template
39
+
40
+ ```html
41
+ <nb-icon icon="star-outline" />
42
+ ```