@2hoch1/pixel-icon-library-react 1.1.0-rc.3 → 1.1.0-rc.4

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.cts CHANGED
@@ -461,7 +461,7 @@ type PixelIconProps = SVGProps<SVGSVGElement> & {
461
461
  title?: string;
462
462
  fallback?: ReactNode;
463
463
  };
464
- declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | null;
464
+ declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
465
465
 
466
466
  interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
467
467
  name: IconName;
@@ -473,7 +473,7 @@ interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
473
473
  * DynamicPixelIcon - Lazy-loads icons at runtime for better code-splitting.
474
474
  * Falls back to `fallback` or null if the icon cannot be resolved.
475
475
  */
476
- declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | null;
476
+ declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
477
477
 
478
478
  /**
479
479
  * Minimal SVG element names supported by the icon set.
package/dist/index.d.ts CHANGED
@@ -461,7 +461,7 @@ type PixelIconProps = SVGProps<SVGSVGElement> & {
461
461
  title?: string;
462
462
  fallback?: ReactNode;
463
463
  };
464
- declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | null;
464
+ declare function PixelIcon({ name, variant, size, title, fallback, ...rest }: PixelIconProps): string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
465
465
 
466
466
  interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
467
467
  name: IconName;
@@ -473,7 +473,7 @@ interface DynamicPixelIconProps extends Omit<SVGProps<SVGSVGElement>, 'ref'> {
473
473
  * DynamicPixelIcon - Lazy-loads icons at runtime for better code-splitting.
474
474
  * Falls back to `fallback` or null if the icon cannot be resolved.
475
475
  */
476
- declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | react_jsx_runtime.JSX.Element | Iterable<ReactNode> | null;
476
+ declare const DynamicPixelIcon: ({ name, variant, size, fallback, ...props }: DynamicPixelIconProps) => string | number | boolean | Iterable<ReactNode> | react_jsx_runtime.JSX.Element | null;
477
477
 
478
478
  /**
479
479
  * Minimal SVG element names supported by the icon set.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@2hoch1/pixel-icon-library-react",
3
- "version": "1.1.0-rc.3",
3
+ "version": "1.1.0-rc.4",
4
4
  "description": "React wrapper components for the HackerNoon Pixel Icon Library.",
5
5
  "license": "MIT",
6
6
  "type": "module",