@impulse-ui-native/icon 1.0.9 → 2.0.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.
Files changed (44) hide show
  1. package/dist/chunk-2BUPSB7O.js +0 -0
  2. package/dist/chunk-2LYPKVWR.js +37831 -0
  3. package/dist/chunk-4N6ARYHU.js +13728 -0
  4. package/dist/chunk-76BZFF6O.js +13728 -0
  5. package/dist/chunk-CA2FKFQ7.js +0 -0
  6. package/dist/chunk-EGAY4TWI.js +13786 -0
  7. package/dist/chunk-QS76ROZM.js +24746 -0
  8. package/dist/chunk-SDG7GNFG.js +13754 -0
  9. package/dist/chunk-VOUZ5APA.js +0 -0
  10. package/dist/{index.esm.js → chunk-XSHADX6Q.js} +7 -6
  11. package/dist/chunk-ZNOFCSYJ.js +14012 -0
  12. package/dist/components/index.d.mts +8 -0
  13. package/dist/components/index.js +6 -0
  14. package/dist/icons/bold/index.d.mts +3028 -0
  15. package/dist/icons/bold/index.js +3028 -0
  16. package/dist/icons/duotone/index.d.mts +3028 -0
  17. package/dist/icons/duotone/index.js +3028 -0
  18. package/dist/icons/fill/index.d.mts +3028 -0
  19. package/dist/icons/fill/index.js +3028 -0
  20. package/dist/icons/index.d.mts +11 -0
  21. package/dist/icons/index.js +21185 -0
  22. package/dist/icons/light/index.d.mts +3028 -0
  23. package/dist/icons/light/index.js +3028 -0
  24. package/dist/icons/regular/index.d.mts +3028 -0
  25. package/dist/icons/regular/index.js +3028 -0
  26. package/dist/icons/thin/index.d.mts +3028 -0
  27. package/dist/icons/thin/index.js +3028 -0
  28. package/dist/icons/wrappers/index.d.mts +3030 -0
  29. package/dist/icons/wrappers/index.js +3034 -0
  30. package/dist/index.d.mts +12 -16
  31. package/dist/index.js +21191 -0
  32. package/dist/{index.d.ts → types/icon.types.d.mts} +8 -6
  33. package/dist/types/icon.types.js +1 -0
  34. package/dist/types/index.d.mts +4 -0
  35. package/dist/types/index.js +2 -0
  36. package/package.json +26 -21
  37. package/dist/index.cjs.js +0 -49
  38. package/dist/index.cjs.js.map +0 -1
  39. package/dist/index.esm.js.map +0 -1
  40. package/src/components/icon.tsx +0 -25
  41. package/src/components/index.ts +0 -1
  42. package/src/index.ts +0 -2
  43. package/src/types/icon.types.ts +0 -12
  44. package/src/types/index.ts +0 -1
File without changes
@@ -1,5 +1,6 @@
1
1
  // src/components/icon.tsx
2
2
  import { memo, useMemo } from "react";
3
+ import { jsx } from "react/jsx-runtime";
3
4
  var Icon = memo(function Icon2({
4
5
  size = "medium",
5
6
  icon,
@@ -8,15 +9,15 @@ var Icon = memo(function Icon2({
8
9
  const Icon3 = icon;
9
10
  const iconSize = useMemo(
10
11
  () => ({
11
- small: 14,
12
- medium: 16,
13
- large: 16
12
+ small: 18,
13
+ medium: 24,
14
+ large: 30
14
15
  })[size],
15
16
  [size]
16
- ) ?? 16;
17
- return /* @__PURE__ */ React.createElement(Icon3, { ...props, width: iconSize, height: iconSize, fill: props.color });
17
+ );
18
+ return /* @__PURE__ */ jsx(Icon3, { ...props, width: iconSize, height: iconSize, fill: props.color });
18
19
  });
20
+
19
21
  export {
20
22
  Icon
21
23
  };
22
- //# sourceMappingURL=index.esm.js.map