@editora/react-icons 0.1.6 → 0.1.8

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/types.d.ts CHANGED
@@ -1,9 +1,10 @@
1
1
  import type React from 'react';
2
- import type { IconVariant } from '@editora/icons';
2
+ import type { IconVariant, IconWeight } from '@editora/icons';
3
3
  export type IconFlip = 'horizontal' | 'vertical' | 'both';
4
4
  export type IconBaseProps = Omit<React.SVGProps<SVGSVGElement>, 'color'> & {
5
5
  name: string;
6
6
  variant?: IconVariant;
7
+ iconWeight?: IconWeight;
7
8
  size?: number | string;
8
9
  color?: string;
9
10
  secondaryColor?: string;
@@ -22,4 +23,5 @@ export type IconProps = Partial<Omit<IconBaseProps, 'name'>> & Pick<IconBaseProp
22
23
  export type NamedIconProps = Omit<IconProps, 'name'>;
23
24
  export type IconContextValue = Omit<NamedIconProps, 'children' | 'dangerouslySetInnerHTML'>;
24
25
  export type IconComponent = React.ForwardRefExoticComponent<NamedIconProps & React.RefAttributes<SVGSVGElement>>;
26
+ export type { IconWeight };
25
27
  //# sourceMappingURL=types.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@editora/react-icons",
3
- "version": "0.1.6",
3
+ "version": "0.1.8",
4
4
  "description": "React icon component library for SaaS dashboards and enterprise products, with provider-driven theming and design-system consistency.",
5
5
  "homepage": "https://editora-ecosystem.netlify.app/docs/react-icons",
6
6
  "bugs": {