@razorpay/blade 10.19.0 → 10.20.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 +3 -1
- package/build/components/index.development.web.js +235 -220
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +3 -1
- package/build/components/index.native.js +3 -3
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +235 -220
- package/build/components/index.production.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 +2 -2
|
@@ -3134,6 +3134,7 @@ declare type BaseTextProps = {
|
|
|
3134
3134
|
fontStyle?: 'italic' | 'normal';
|
|
3135
3135
|
textDecorationLine?: 'line-through' | 'none' | 'underline';
|
|
3136
3136
|
lineHeight?: keyof Theme['typography']['lineHeights'];
|
|
3137
|
+
wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word';
|
|
3137
3138
|
/**
|
|
3138
3139
|
* Web only
|
|
3139
3140
|
*/
|
|
@@ -3493,6 +3494,7 @@ declare type TextCommonProps = {
|
|
|
3493
3494
|
color?: BaseTextProps['color'];
|
|
3494
3495
|
textAlign?: BaseTextProps['textAlign'];
|
|
3495
3496
|
textDecorationLine?: BaseTextProps['textDecorationLine'];
|
|
3497
|
+
wordBreak?: BaseTextProps['wordBreak'];
|
|
3496
3498
|
} & TestID & StyledPropsBlade;
|
|
3497
3499
|
declare type TextVariant = 'body' | 'caption';
|
|
3498
3500
|
declare type TextBodyVariant = TextCommonProps & {
|
|
@@ -3519,7 +3521,7 @@ declare const getTextProps: <T extends {
|
|
|
3519
3521
|
}>({ variant, type, weight, size, color, contrast, testID, textAlign, textDecorationLine, }: GetTextProps<T>) => GetTextPropsReturn;
|
|
3520
3522
|
declare const Text: <T extends {
|
|
3521
3523
|
variant: TextVariant;
|
|
3522
|
-
}>({ as, variant, weight, size, type, contrast, truncateAfterLines, children, color, testID, textAlign, textDecorationLine, ...styledProps }: TextProps<T>) => ReactElement;
|
|
3524
|
+
}>({ as, variant, weight, size, type, contrast, truncateAfterLines, children, color, testID, textAlign, textDecorationLine, wordBreak, ...styledProps }: TextProps<T>) => ReactElement;
|
|
3523
3525
|
|
|
3524
3526
|
declare type CodeCommonProps = {
|
|
3525
3527
|
/**
|