@latty-ds/icons 0.2.0 → 0.4.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/dist/index.d.ts.map +1 -1
- package/dist/index.js +6 -3
- package/package.json +2 -2
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACpE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC;AAGzC,OAAO,EAAE,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGxD,YAAY,EAAE,QAAQ,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AACpE,YAAY,EAAE,aAAa,EAAE,MAAM,SAAS,CAAC;AAI7C,OAAO,EAAE,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -2,7 +2,10 @@
|
|
|
2
2
|
export { Icon } from './components/icon';
|
|
3
3
|
// Registry
|
|
4
4
|
export { iconRegistry } from './registry/icon-registry';
|
|
5
|
-
// Full icon map —
|
|
6
|
-
//
|
|
7
|
-
// via @latty-ds/icons/<name> for per-icon tree-shaking.
|
|
5
|
+
// Full icon map — exported for custom tooling and type inference.
|
|
6
|
+
// Per-icon tree-shaking: import '@latty-ds/icons/<name>' instead of the main entry.
|
|
8
7
|
export { lattyIcons } from './icons';
|
|
8
|
+
// Auto-register all built-in icons when this package is imported.
|
|
9
|
+
import { iconRegistry } from './registry/icon-registry';
|
|
10
|
+
import { lattyIcons } from './icons';
|
|
11
|
+
iconRegistry.registerIcons(lattyIcons);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@latty-ds/icons",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.4.0",
|
|
4
4
|
"description": "Icon components for the Latty design system — pluggable icon registry with Iconoir as the default provider",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"repository": {
|
|
@@ -503,5 +503,5 @@
|
|
|
503
503
|
"dependencies": {
|
|
504
504
|
"lit": "^3.2.0"
|
|
505
505
|
},
|
|
506
|
-
"gitHead": "
|
|
506
|
+
"gitHead": "23c29d1f82814024fc93de8985523936112fe973"
|
|
507
507
|
}
|