jao-icons 1.4.4 → 1.5.1

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,4 @@ 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 };
@@ -1,7 +1,5 @@
1
1
  'use strict';
2
2
 
3
- Object.defineProperty(exports, '__esModule', { value: true });
4
-
5
3
  const jsonToSvg = (jsonArray, opts = {
6
4
  pixelSize: 10,
7
5
  pixelPadding: 2
@@ -16407,5 +16405,4 @@ const Icon = (source, size) => {
16407
16405
  };
16408
16406
 
16409
16407
  exports.Icon = Icon;
16410
- exports.default = Icon;
16411
16408
  exports.iconsMap = iconsMap;
@@ -16402,4 +16402,4 @@ const Icon = (source, size) => {
16402
16402
  });
16403
16403
  };
16404
16404
 
16405
- export { Icon, Icon as default, iconsMap };
16405
+ export { Icon, 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.1",
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,4 @@ 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 };