@liner-fe/icon 0.0.44 → 0.0.45

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/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @liner-fe/icon
2
2
 
3
+ ## 0.0.45
4
+
5
+ ### Patch Changes
6
+
7
+ - b67b85b: icon version bump
8
+
3
9
  ## 0.0.44
4
10
 
5
11
  ### Patch Changes
package/lib/index.d.ts ADDED
@@ -0,0 +1,24 @@
1
+ import * as react from 'react';
2
+ import { BasicColorType } from '@liner-fe/design-token-primitive';
3
+
4
+ declare const IconMap: Record<string, React.ForwardRefExoticComponent<any>>;
5
+ declare const iconSizeMap: {
6
+ readonly xs: 16;
7
+ readonly s: 20;
8
+ readonly m: 24;
9
+ readonly l: 32;
10
+ readonly xl: 40;
11
+ };
12
+ type IconSizeKey = keyof typeof iconSizeMap;
13
+ interface IconProps {
14
+ fill?: boolean;
15
+ thick?: boolean;
16
+ className?: string;
17
+ name: keyof typeof IconMap;
18
+ size?: keyof typeof iconSizeMap;
19
+ type?: BasicColorType;
20
+ fillType?: BasicColorType;
21
+ }
22
+ declare const Icon: react.ForwardRefExoticComponent<IconProps & react.RefAttributes<SVGSVGElement>>;
23
+
24
+ export { Icon, type IconProps, type IconSizeKey };