jao-icons 1.4.4 → 1.5.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 CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jaoIconJSON, jaoIconSize, jaoIconSource } from "jao-icons";
2
- export declare const iconsMap: {
2
+ declare const iconsMap: {
3
3
  small: {
4
4
  [key: string]: jaoIconJSON;
5
5
  };
@@ -11,5 +11,19 @@ export declare const iconsMap: {
11
11
  };
12
12
  };
13
13
  declare const Icon: (source: jaoIconSource, size?: jaoIconSize) => SVGElement | undefined;
14
- export { Icon };
15
- export default Icon;
14
+ export { Icon, iconsMap };
15
+ declare const _default: {
16
+ Icon: (source: jaoIconSource, size?: jaoIconSize) => SVGElement | undefined;
17
+ iconsMap: {
18
+ small: {
19
+ [key: string]: jaoIconJSON;
20
+ };
21
+ medium: {
22
+ [key: string]: jaoIconJSON;
23
+ };
24
+ large: {
25
+ [key: string]: jaoIconJSON;
26
+ };
27
+ };
28
+ };
29
+ export default _default;
@@ -16405,7 +16405,8 @@ const Icon = (source, size) => {
16405
16405
  pixelPadding: 2
16406
16406
  });
16407
16407
  };
16408
+ var index = { Icon, iconsMap };
16408
16409
 
16409
16410
  exports.Icon = Icon;
16410
- exports.default = Icon;
16411
+ exports.default = index;
16411
16412
  exports.iconsMap = iconsMap;
@@ -16401,5 +16401,6 @@ const Icon = (source, size) => {
16401
16401
  pixelPadding: 2
16402
16402
  });
16403
16403
  };
16404
+ var index = { Icon, iconsMap };
16404
16405
 
16405
- export { Icon, Icon as default, iconsMap };
16406
+ export { Icon, index as default, iconsMap };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jao-icons",
3
- "version": "1.4.4",
3
+ "version": "1.5.0",
4
4
  "description": "Icon set - Jeffrey Arts Online ",
5
5
  "type": "module",
6
6
  "main": "dist/jao-icons.cjs.js",
package/src/index.ts CHANGED
@@ -211,7 +211,7 @@ import largeUserOutline from "../icons/large/user-outline.json"
211
211
  import largeWrench from "../icons/large/wrench.json"
212
212
  import largeGlobe from "../icons/large/globe.json"
213
213
 
214
- export const iconsMap = {
214
+ const iconsMap = {
215
215
  small: {
216
216
  "chevron": smallChevron,
217
217
  "chevron-fat": smallChevronFat,
@@ -493,6 +493,5 @@ const Icon = (source: jaoIconSource, size?: jaoIconSize) : SVGElement | undefine
493
493
 
494
494
  }
495
495
 
496
-
497
- export { Icon }
498
- export default Icon
496
+ export { Icon, iconsMap };
497
+ export default { Icon, iconsMap };