@luscious-garden/aster-icons 0.1.0-rc.2 → 0.1.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 +6 -8
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -11,8 +11,8 @@ The package contains no renderer, framework, DOM, filesystem, Import, or global
|
|
|
11
11
|
dependency.
|
|
12
12
|
The example below assumes `@luscious-garden/aster-svg` is installed independently by the consumer.
|
|
13
13
|
|
|
14
|
-
Install both
|
|
15
|
-
`pnpm add @luscious-garden/aster-icons@0.1.0
|
|
14
|
+
Install both packages for this example with
|
|
15
|
+
`pnpm add @luscious-garden/aster-icons@0.1.0 @luscious-garden/aster-svg@0.1.0`.
|
|
16
16
|
To use a definition without SVG rendering, install only `@luscious-garden/aster-icons`; it brings
|
|
17
17
|
its compatible Core dependency.
|
|
18
18
|
|
|
@@ -27,8 +27,7 @@ import { Svg } from "@luscious-garden/aster-svg";
|
|
|
27
27
|
const markup = Svg.render(ArrowLeft);
|
|
28
28
|
```
|
|
29
29
|
|
|
30
|
-
|
|
31
|
-
ordered list for iteration:
|
|
30
|
+
Collections expose icons by typed local alias and provide an ordered list for iteration:
|
|
32
31
|
|
|
33
32
|
```ts
|
|
34
33
|
import { AmellusCollection } from "@luscious-garden/aster-icons/collections/amellus";
|
|
@@ -41,14 +40,13 @@ Both views contain the same canonical icon objects. Importing Amellus evaluates
|
|
|
41
40
|
members even when only `.icons.camera` is read; import `@luscious-garden/aster-icons/camera` directly
|
|
42
41
|
when only that icon is needed.
|
|
43
42
|
|
|
44
|
-
The
|
|
45
|
-
|
|
46
|
-
describe the migration.
|
|
43
|
+
The [release notes](https://github.com/BlueLuscious/aster/blob/master/docs/en/packages/icons/releases.md)
|
|
44
|
+
describe migration from earlier candidates.
|
|
47
45
|
|
|
48
46
|
The package currently provides the accepted Amellus foundational collection. See the
|
|
49
47
|
[canonical package documentation](https://github.com/BlueLuscious/aster/blob/master/docs/en/packages/icons/index.md),
|
|
50
48
|
[authoring workflow](https://github.com/BlueLuscious/aster/blob/master/docs/en/packages/icons/workflow.md),
|
|
51
|
-
[
|
|
49
|
+
[release notes](https://github.com/BlueLuscious/aster/blob/master/docs/en/packages/icons/releases.md) and
|
|
52
50
|
[Amellus collection authority](https://github.com/BlueLuscious/aster/blob/master/docs/en/collections/amellus/index.md).
|
|
53
51
|
|
|
54
52
|
## Licence
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@luscious-garden/aster-icons",
|
|
3
|
-
"version": "0.1.0
|
|
3
|
+
"version": "0.1.0",
|
|
4
4
|
"description": "Canonical portable Aster icon and collection definitions.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"author": "BlueLuscious",
|
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
"dist"
|
|
44
44
|
],
|
|
45
45
|
"dependencies": {
|
|
46
|
-
"@luscious-garden/aster-core": "^0.1.0
|
|
46
|
+
"@luscious-garden/aster-core": "^0.1.0"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|
|
49
49
|
"build": "pnpm run generate:catalogue && pnpm run clean && tsc -p tsconfig.json",
|