@razorpay/blade 10.19.1 → 10.20.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.
@@ -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
  /**
@@ -4874,11 +4876,12 @@ declare type DropdownOverlayProps = {
4874
4876
  * @default 1001
4875
4877
  */
4876
4878
  zIndex?: number;
4879
+ width?: BoxProps['width'];
4877
4880
  } & TestID;
4878
4881
 
4879
4882
  declare const Dropdown: ({ children, isOpen, onOpenChange, selectionType, onDismiss, testID, ...styledProps }: DropdownProps) => React__default.ReactElement;
4880
4883
 
4881
- declare const DropdownOverlay: ({ children, testID, zIndex, }: DropdownOverlayProps) => React__default.ReactElement | null;
4884
+ declare const DropdownOverlay: ({ children, testID, zIndex, width, }: DropdownOverlayProps) => React__default.ReactElement | null;
4882
4885
 
4883
4886
  declare type DropdownButtonProps = ButtonProps & {
4884
4887
  onBlur?: BaseButtonProps['onBlur'];