@channel.io/bezier-react 2.2.0 → 2.2.1

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.
@@ -1,4 +1,4 @@
1
- import type React from 'react';
1
+ import { type BezierIcon } from '@channel.io/bezier-icons';
2
2
  import { type BezierComponentProps, type ColorProps, type MarginProps, type SizeProps } from "../../types/props";
3
3
  export type IconSize = 'xl' | 'l' | 'm' | 's' | 'xs' | 'xxs' | 'xxxs';
4
4
  interface IconOwnProps {
@@ -13,7 +13,7 @@ interface IconOwnProps {
13
13
  * <Icon source={HeartFilledIcon} {...} />
14
14
  * ```
15
15
  */
16
- source: React.ElementType<React.SVGProps<SVGSVGElement>>;
16
+ source: BezierIcon;
17
17
  }
18
18
  export interface IconProps extends Omit<BezierComponentProps<'svg'>, keyof ColorProps>, MarginProps, SizeProps<IconSize>, ColorProps, IconOwnProps {
19
19
  }
@@ -1 +1 @@
1
- {"version":3,"file":"Icon.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,0BAAyB;AAE1B,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAA;AAErE,UAAU,YAAY;IACpB;;;;;;;;;;OAUG;IACH,MAAM,EAAE,KAAK,CAAC,WAAW,CAAC,KAAK,CAAC,QAAQ,CAAC,aAAa,CAAC,CAAC,CAAA;CACzD;AAED,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,EAAE,MAAM,UAAU,CAAC,EACzD,WAAW,EACX,SAAS,CAAC,QAAQ,CAAC,EACnB,UAAU,EACV,YAAY;CAAG"}
1
+ {"version":3,"file":"Icon.types.d.ts","sourceRoot":"","sources":["../../../../src/components/Icon/Icon.types.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,0BAA0B,CAAA;AAE1D,OAAO,EACL,KAAK,oBAAoB,EACzB,KAAK,UAAU,EACf,KAAK,WAAW,EAChB,KAAK,SAAS,EACf,0BAAyB;AAE1B,MAAM,MAAM,QAAQ,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,IAAI,GAAG,KAAK,GAAG,MAAM,CAAA;AAErE,UAAU,YAAY;IACpB;;;;;;;;;;OAUG;IACH,MAAM,EAAE,UAAU,CAAA;CACnB;AAED,MAAM,WAAW,SACf,SAAQ,IAAI,CAAC,oBAAoB,CAAC,KAAK,CAAC,EAAE,MAAM,UAAU,CAAC,EACzD,WAAW,EACX,SAAS,CAAC,QAAQ,CAAC,EACnB,UAAU,EACV,YAAY;CAAG"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@channel.io/bezier-react",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "React components library that implements Bezier design system.",
5
5
  "repository": {
6
6
  "type": "git",
@@ -1,4 +1,4 @@
1
- import type React from 'react'
1
+ import { type BezierIcon } from '@channel.io/bezier-icons'
2
2
 
3
3
  import {
4
4
  type BezierComponentProps,
@@ -21,7 +21,7 @@ interface IconOwnProps {
21
21
  * <Icon source={HeartFilledIcon} {...} />
22
22
  * ```
23
23
  */
24
- source: React.ElementType<React.SVGProps<SVGSVGElement>>
24
+ source: BezierIcon
25
25
  }
26
26
 
27
27
  export interface IconProps