@razorpay/blade 8.10.3 → 8.11.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.
- package/build/components/index.d.ts +7 -4
- package/build/components/index.native.d.ts +7 -4
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +5 -62
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/package.json +1 -1
|
@@ -1094,8 +1094,11 @@ type SpacingValueType$1 =
|
|
|
1094
1094
|
| 'auto'
|
|
1095
1095
|
| `min(${string})`
|
|
1096
1096
|
| `max(${string})`
|
|
1097
|
+
| 'none'
|
|
1098
|
+
| 'initial'
|
|
1099
|
+
| 'fit-content'
|
|
1097
1100
|
| 'max-content'
|
|
1098
|
-
| '
|
|
1101
|
+
| 'min-content';
|
|
1099
1102
|
|
|
1100
1103
|
type MarginProps$1 = MakeObjectResponsive$1<{
|
|
1101
1104
|
/**
|
|
@@ -1772,7 +1775,7 @@ declare type MakeObjectResponsive<T, K extends keyof T = Extract<keyof T, string
|
|
|
1772
1775
|
|
|
1773
1776
|
declare type ArrayOfMaxLength4<T> = readonly [T?, T?, T?, T?];
|
|
1774
1777
|
declare type SpaceUnits = 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
|
|
1775
|
-
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | 'auto' | `min(${string})` | `max(${string})` | 'max-content' | '
|
|
1778
|
+
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | 'auto' | `min(${string})` | `max(${string})` | 'none' | 'initial' | 'fit-content' | 'max-content' | 'min-content';
|
|
1776
1779
|
/**
|
|
1777
1780
|
* @IMPORTANT
|
|
1778
1781
|
*
|
|
@@ -6093,7 +6096,7 @@ declare type TitleProps = {
|
|
|
6093
6096
|
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
6094
6097
|
contrast?: ColorContrastTypes;
|
|
6095
6098
|
type?: TextTypes;
|
|
6096
|
-
children:
|
|
6099
|
+
children: React.ReactNode;
|
|
6097
6100
|
textAlign?: BaseTextProps['textAlign'];
|
|
6098
6101
|
} & TestID$1 & StyledPropsBlade;
|
|
6099
6102
|
declare const Title: ({ as, size, type, contrast, color, children, testID, textAlign, ...styledProps }: TitleProps) => ReactElement;
|
|
@@ -6111,7 +6114,7 @@ declare type HeadingCommonProps = {
|
|
|
6111
6114
|
color?: BaseTextProps['color'];
|
|
6112
6115
|
type?: TextTypes;
|
|
6113
6116
|
contrast?: ColorContrastTypes;
|
|
6114
|
-
children:
|
|
6117
|
+
children: React.ReactNode;
|
|
6115
6118
|
textAlign?: BaseTextProps['textAlign'];
|
|
6116
6119
|
} & TestID$1 & StyledPropsBlade;
|
|
6117
6120
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|
|
@@ -1093,8 +1093,11 @@ type SpacingValueType$1 =
|
|
|
1093
1093
|
| 'auto'
|
|
1094
1094
|
| `min(${string})`
|
|
1095
1095
|
| `max(${string})`
|
|
1096
|
+
| 'none'
|
|
1097
|
+
| 'initial'
|
|
1098
|
+
| 'fit-content'
|
|
1096
1099
|
| 'max-content'
|
|
1097
|
-
| '
|
|
1100
|
+
| 'min-content';
|
|
1098
1101
|
|
|
1099
1102
|
type MarginProps$1 = MakeObjectResponsive$1<{
|
|
1100
1103
|
/**
|
|
@@ -1773,7 +1776,7 @@ declare type MakeObjectResponsive<T, K extends keyof T = Extract<keyof T, string
|
|
|
1773
1776
|
|
|
1774
1777
|
declare type ArrayOfMaxLength4<T> = readonly [T?, T?, T?, T?];
|
|
1775
1778
|
declare type SpaceUnits = 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
|
|
1776
|
-
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | 'auto' | `min(${string})` | `max(${string})` | 'max-content' | '
|
|
1779
|
+
declare type SpacingValueType = DotNotationSpacingStringToken | `${string}${SpaceUnits}` | `calc(${string})` | 'auto' | `min(${string})` | `max(${string})` | 'none' | 'initial' | 'fit-content' | 'max-content' | 'min-content';
|
|
1777
1780
|
/**
|
|
1778
1781
|
* @IMPORTANT
|
|
1779
1782
|
*
|
|
@@ -5409,7 +5412,7 @@ declare type TitleProps = {
|
|
|
5409
5412
|
size?: 'small' | 'medium' | 'large' | 'xlarge';
|
|
5410
5413
|
contrast?: ColorContrastTypes;
|
|
5411
5414
|
type?: TextTypes;
|
|
5412
|
-
children:
|
|
5415
|
+
children: React.ReactNode;
|
|
5413
5416
|
textAlign?: BaseTextProps['textAlign'];
|
|
5414
5417
|
} & TestID & StyledPropsBlade;
|
|
5415
5418
|
declare const Title: ({ as, size, type, contrast, color, children, testID, textAlign, ...styledProps }: TitleProps) => ReactElement;
|
|
@@ -5427,7 +5430,7 @@ declare type HeadingCommonProps = {
|
|
|
5427
5430
|
color?: BaseTextProps['color'];
|
|
5428
5431
|
type?: TextTypes;
|
|
5429
5432
|
contrast?: ColorContrastTypes;
|
|
5430
|
-
children:
|
|
5433
|
+
children: React.ReactNode;
|
|
5431
5434
|
textAlign?: BaseTextProps['textAlign'];
|
|
5432
5435
|
} & TestID & StyledPropsBlade;
|
|
5433
5436
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|