zard-cli 1.0.0-beta.106 → 1.0.0-beta.107
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/core/icons/icon-map.d.ts +16 -14
- package/core/icons/icon-map.d.ts.map +1 -1
- package/core/icons/icon-map.js +17 -15
- package/core/icons/icon-map.js.map +1 -1
- package/package.json +1 -1
package/core/icons/icon-map.d.ts
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The translation table between icon sets.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Each row is an icon by what it MEANS — `check`, `chevron-down` — and the
|
|
5
|
+
* value is the symbol each set exports for it. Only the `lucide` column exists
|
|
6
|
+
* today, the one set the library supports; supporting another one means filling
|
|
7
|
+
* in its column, and nothing else along the install path changes.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* This is the copy bundled with the CLI. It is published at
|
|
10
|
+
* `<registry>/icons.json`, and that is where the CLI reads it from at run time
|
|
11
|
+
* — the file here is what holds when the registry does not answer, and the
|
|
12
|
+
* floor the published table is generated from.
|
|
12
13
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* The list covers every icon the components and demos use today. A new icon in
|
|
15
|
+
* the code with no row here is an error: `icons.spec.ts` compares this table
|
|
16
|
+
* against what `libs/zard` actually imports.
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* The tokens come from the lucide name in kebab-case because that already is
|
|
19
|
+
* the icon's semantic name (`lucideChevronDown` → `chevron-down`) — the key
|
|
20
|
+
* belongs to the table, not to the set, and stays valid once lucide is no
|
|
21
|
+
* longer the only column.
|
|
20
22
|
*/
|
|
21
23
|
export declare const ICON_MAP: Record<string, Record<string, string>>;
|
|
22
24
|
//# sourceMappingURL=icon-map.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-map.d.ts","sourceRoot":"","sources":["../../../src/core/icons/icon-map.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"icon-map.d.ts","sourceRoot":"","sources":["../../../src/core/icons/icon-map.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,eAAO,MAAM,QAAQ,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CA0G3D,CAAC"}
|
package/core/icons/icon-map.js
CHANGED
|
@@ -1,22 +1,24 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* The translation table between icon sets.
|
|
3
3
|
*
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
4
|
+
* Each row is an icon by what it MEANS — `check`, `chevron-down` — and the
|
|
5
|
+
* value is the symbol each set exports for it. Only the `lucide` column exists
|
|
6
|
+
* today, the one set the library supports; supporting another one means filling
|
|
7
|
+
* in its column, and nothing else along the install path changes.
|
|
8
8
|
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
9
|
+
* This is the copy bundled with the CLI. It is published at
|
|
10
|
+
* `<registry>/icons.json`, and that is where the CLI reads it from at run time
|
|
11
|
+
* — the file here is what holds when the registry does not answer, and the
|
|
12
|
+
* floor the published table is generated from.
|
|
12
13
|
*
|
|
13
|
-
*
|
|
14
|
-
*
|
|
15
|
-
*
|
|
14
|
+
* The list covers every icon the components and demos use today. A new icon in
|
|
15
|
+
* the code with no row here is an error: `icons.spec.ts` compares this table
|
|
16
|
+
* against what `libs/zard` actually imports.
|
|
16
17
|
*
|
|
17
|
-
*
|
|
18
|
-
*
|
|
19
|
-
*
|
|
18
|
+
* The tokens come from the lucide name in kebab-case because that already is
|
|
19
|
+
* the icon's semantic name (`lucideChevronDown` → `chevron-down`) — the key
|
|
20
|
+
* belongs to the table, not to the set, and stays valid once lucide is no
|
|
21
|
+
* longer the only column.
|
|
20
22
|
*/
|
|
21
23
|
export const ICON_MAP = {
|
|
22
24
|
'alert-triangle': { lucide: 'lucideAlertTriangle' },
|
|
@@ -67,8 +69,8 @@ export const ICON_MAP = {
|
|
|
67
69
|
'file-text': { lucide: 'lucideFileText' },
|
|
68
70
|
folder: { lucide: 'lucideFolder' },
|
|
69
71
|
'folder-code': { lucide: 'lucideFolderCode' },
|
|
70
|
-
footprints: { lucide: 'lucideFootprints' },
|
|
71
72
|
'folder-plus': { lucide: 'lucideFolderPlus' },
|
|
73
|
+
footprints: { lucide: 'lucideFootprints' },
|
|
72
74
|
'git-branch': { lucide: 'lucideGitBranch' },
|
|
73
75
|
globe: { lucide: 'lucideGlobe' },
|
|
74
76
|
house: { lucide: 'lucideHouse' },
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icon-map.js","sourceRoot":"","sources":["../../../src/core/icons/icon-map.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"icon-map.js","sourceRoot":"","sources":["../../../src/core/icons/icon-map.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAA2C;IAC9D,gBAAgB,EAAE,EAAE,MAAM,EAAE,qBAAqB,EAAE;IACnD,YAAY,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE;IAC3C,OAAO,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE;IACpC,YAAY,EAAE,EAAE,MAAM,EAAE,iBAAiB,EAAE;IAC3C,aAAa,EAAE,EAAE,MAAM,EAAE,kBAAkB,EAAE;IAC7C,UAAU,EAAE,EAAE,MAAM,EAAE,eAAe,EAAE;IACvC,gBAAgB,EAAE,EAAE,MAAM,EAAE,oBAAoB,EAAE;IAClD,aAAa,EAAE,EAAE,MAAM,EAAE,kBAAkB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