firebird-icon-lib 1.0.5 → 1.0.7

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/Icon.d.ts CHANGED
@@ -1,12 +1,23 @@
1
1
  import React from 'react';
2
- import { type IconName } from './iconMap';
3
- export type { IconName };
4
- export interface IconProps extends Omit<React.SVGProps<SVGSVGElement>, 'width' | 'height' | 'color'> {
2
+ import type { IconName } from './iconMap';
3
+ export interface IconProps {
5
4
  name: IconName;
6
- size?: number | string;
7
- color?: string;
8
5
  className?: string;
6
+ iconClassName?: string;
7
+ showLabel?: boolean;
8
+ style?: React.CSSProperties;
9
+ color?: string;
10
+ size?: number;
9
11
  }
10
- declare const _default: React.NamedExoticComponent<IconProps>;
11
- export default _default;
12
+ /**
13
+ * Icon component - Renders icons using icon font (span-based)
14
+ *
15
+ * @example
16
+ * ```tsx
17
+ * <Icon name="spam_management" />
18
+ * <Icon name="add" showLabel={true} />
19
+ * ```
20
+ */
21
+ export declare const Icon: React.FC<IconProps>;
22
+ export default Icon;
12
23
  //# sourceMappingURL=Icon.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAMN,MAAM,OAAO,CAAC;AACf,OAAO,EAAW,KAAK,QAAQ,EAAE,MAAM,WAAW,CAAC;AAGnD,YAAY,EAAE,QAAQ,EAAE,CAAC;AAEzB,MAAM,WAAW,SAAU,SAAQ,IAAI,CACrC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,EAC7B,OAAO,GAAG,QAAQ,GAAG,OAAO,CAC7B;IACC,IAAI,EAAE,QAAQ,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACvB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;;AA4LD,wBAA+C"}
1
+ {"version":3,"file":"Icon.d.ts","sourceRoot":"","sources":["../src/Icon.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAE1B,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAC;AAE1C,MAAM,WAAW,SAAS;IACxB,IAAI,EAAE,QAAQ,CAAC;IACf,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED;;;;;;;;GAQG;AACH,eAAO,MAAM,IAAI,EAAE,KAAK,CAAC,EAAE,CAAC,SAAS,CA4CpC,CAAC;AAEF,eAAe,IAAI,CAAC"}