@vsn-ux/ngx-gaia 0.14.5 → 0.15.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/README.md +1 -1
- package/docs/icon.md +6 -6
- package/fesm2022/vsn-ux-ngx-gaia.mjs +158 -134
- package/fesm2022/vsn-ux-ngx-gaia.mjs.map +1 -1
- package/package.json +2 -2
- package/types/vsn-ux-ngx-gaia.d.ts +58 -58
package/README.md
CHANGED
|
@@ -26,7 +26,7 @@ ng add @vsn-ux/ngx-gaia
|
|
|
26
26
|
1. Install this package:
|
|
27
27
|
|
|
28
28
|
```sh
|
|
29
|
-
npm i @vsn-ux/ngx-gaia @vsn-ux/gaia-styles lucide
|
|
29
|
+
npm i @vsn-ux/ngx-gaia @vsn-ux/gaia-styles @lucide/angular
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
2. Import the required styles inside your global (e.g. `style.css`) file:
|
package/docs/icon.md
CHANGED
|
@@ -18,25 +18,25 @@ Icon component for displaying Lucide icons.
|
|
|
18
18
|
Basic usage
|
|
19
19
|
|
|
20
20
|
```html
|
|
21
|
-
<ga-icon [icon]="icons.
|
|
21
|
+
<ga-icon [icon]="icons.LucidePackageOpen" />
|
|
22
22
|
```
|
|
23
23
|
|
|
24
24
|
Custom size
|
|
25
25
|
|
|
26
26
|
```html
|
|
27
|
-
<ga-icon [icon]="icons.
|
|
28
|
-
<ga-icon [icon]="icons.
|
|
27
|
+
<ga-icon [icon]="icons.LucidePackageOpen" size="16" />
|
|
28
|
+
<ga-icon [icon]="icons.LucidePackageOpen" size="32" />
|
|
29
29
|
```
|
|
30
30
|
|
|
31
31
|
Custom color
|
|
32
32
|
|
|
33
33
|
```html
|
|
34
|
-
<ga-icon [icon]="icons.
|
|
34
|
+
<ga-icon [icon]="icons.LucideTriangleAlert" color="var(--ga-color-error)" />
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
Custom stroke width
|
|
38
38
|
|
|
39
39
|
```html
|
|
40
|
-
<ga-icon [icon]="icons.
|
|
41
|
-
<ga-icon [icon]="icons.
|
|
40
|
+
<ga-icon [icon]="icons.LucidePackageOpen" [strokeWidth]="1" />
|
|
41
|
+
<ga-icon [icon]="icons.LucidePackageOpen" [strokeWidth]="3" />
|
|
42
42
|
```
|