@razorpay/blade 10.6.0 → 10.7.0

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.
@@ -1936,7 +1936,7 @@ type IconProps$1 = {
1936
1936
  /**
1937
1937
  * Color token (not to be confused with actual hsla value)
1938
1938
  */
1939
- color:
1939
+ color?:
1940
1940
  | ActionIconColors$1
1941
1941
  | SurfaceActionIconColors$1
1942
1942
  | FeedbackIconColors$1
@@ -1944,7 +1944,7 @@ type IconProps$1 = {
1944
1944
  | TextIconColors$1
1945
1945
  | BadgeIconColors$1
1946
1946
  | 'currentColor'; // currentColor is useful for letting the SVG inherit color property from its container
1947
- size: IconSize$1;
1947
+ size?: IconSize$1;
1948
1948
  } & StyledPropsBlade$1;
1949
1949
  type IconComponent$1 = React.ComponentType<IconProps$1>;
1950
1950
 
@@ -5590,8 +5590,8 @@ declare type IconProps = {
5590
5590
  /**
5591
5591
  * Color token (not to be confused with actual hsla value)
5592
5592
  */
5593
- color: ActionIconColors | SurfaceActionIconColors | FeedbackIconColors | FeedbackActionIconColors | TextIconColors | BadgeIconColors | 'currentColor';
5594
- size: IconSize;
5593
+ color?: ActionIconColors | SurfaceActionIconColors | FeedbackIconColors | FeedbackActionIconColors | TextIconColors | BadgeIconColors | 'currentColor';
5594
+ size?: IconSize;
5595
5595
  } & StyledPropsBlade$1;
5596
5596
  declare type IconComponent = React.ComponentType<IconProps>;
5597
5597
 
@@ -6016,8 +6016,10 @@ var iconSize$1 = {
6016
6016
  '2xlarge': size[32]
6017
6017
  };
6018
6018
  function useIconProps(_ref) {
6019
- var size = _ref.size,
6020
- color = _ref.color;
6019
+ var _ref$size = _ref.size,
6020
+ size = _ref$size === void 0 ? 'medium' : _ref$size,
6021
+ _ref$color = _ref.color,
6022
+ color = _ref$color === void 0 ? 'surface.text.normal.lowContrast' : _ref$color;
6021
6023
  var _useTheme = useTheme(),
6022
6024
  theme = _useTheme.theme;
6023
6025
  var height = makeSize(iconSize$1[size]);