@razorpay/blade 10.8.1 → 10.9.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 +246 -50
- package/build/components/index.development.web.js +8223 -7218
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +203 -50
- package/build/components/index.native.js +76 -54
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +8421 -7416
- 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 +1 -1
|
@@ -712,6 +712,10 @@ declare type BladeElementRef = Platform.Select<{
|
|
|
712
712
|
web: HTMLElement;
|
|
713
713
|
native: View;
|
|
714
714
|
}>;
|
|
715
|
+
declare type ContainerElementType = Platform.Select<{
|
|
716
|
+
web: HTMLDivElement;
|
|
717
|
+
native: View;
|
|
718
|
+
}>;
|
|
715
719
|
|
|
716
720
|
declare type ActionListContextProp = Pick<ActionListProps, 'surfaceLevel'>;
|
|
717
721
|
declare const useActionListContext: () => ActionListContextProp;
|
|
@@ -1242,7 +1246,7 @@ declare type LayoutProps = MakeObjectResponsive<{
|
|
|
1242
1246
|
width: SpacingValueType;
|
|
1243
1247
|
minWidth: SpacingValueType;
|
|
1244
1248
|
maxWidth: SpacingValueType;
|
|
1245
|
-
} & PickCSSByPlatform<'display' | 'overflow' | 'overflowX' | 'overflowY' | 'textAlign'>>;
|
|
1249
|
+
} & PickCSSByPlatform<'display' | 'overflow' | 'overflowX' | 'overflowY' | 'textAlign' | 'whiteSpace'>>;
|
|
1246
1250
|
declare type FlexboxProps = MakeObjectResponsive<{
|
|
1247
1251
|
/**
|
|
1248
1252
|
* This uses the native gap property which might not work on older browsers.
|
|
@@ -2199,6 +2203,7 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2199
2203
|
overflowX: never;
|
|
2200
2204
|
overflowY: never;
|
|
2201
2205
|
textAlign: never;
|
|
2206
|
+
whiteSpace: never;
|
|
2202
2207
|
overflow?: "hidden" | "scroll" | "visible" | {
|
|
2203
2208
|
readonly base?: "hidden" | "scroll" | "visible" | undefined;
|
|
2204
2209
|
readonly xs?: "hidden" | "scroll" | "visible" | undefined;
|
|
@@ -2462,6 +2467,41 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
2462
2467
|
} & MakeObjectResponsive<{
|
|
2463
2468
|
backgroundColor: "brand.primary.300" | "brand.primary.400" | "brand.primary.500" | "brand.primary.600" | "brand.primary.700" | "brand.primary.800" | "brand.secondary.500" | "brand.gray.200.lowContrast" | "brand.gray.200.highContrast" | "brand.gray.300.lowContrast" | "brand.gray.300.highContrast" | "brand.gray.400.lowContrast" | "brand.gray.400.highContrast" | "brand.gray.500.lowContrast" | "brand.gray.500.highContrast" | "brand.gray.600.lowContrast" | "brand.gray.600.highContrast" | "brand.gray.700.lowContrast" | "brand.gray.700.highContrast" | "brand.gray.a50.lowContrast" | "brand.gray.a50.highContrast" | "brand.gray.a100.lowContrast" | "brand.gray.a100.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "transparent";
|
|
2464
2469
|
}, "backgroundColor"> & {
|
|
2470
|
+
/**
|
|
2471
|
+
* ## Box
|
|
2472
|
+
*
|
|
2473
|
+
* Box is the basic Layout component.
|
|
2474
|
+
*
|
|
2475
|
+
*
|
|
2476
|
+
* Box components supports most spacing CSS properties like `display`, `padding*`, `flex*`, `height`, `width`, etc.
|
|
2477
|
+
*
|
|
2478
|
+
* Check out {@linkcode BoxProps BoxPropsType} for complete list of props and [Layout RFC](https://github.com/razorpay/blade/blob/master/rfcs/2023-01-06-layout.md) for more details on API decision.
|
|
2479
|
+
*
|
|
2480
|
+
* ----
|
|
2481
|
+
*
|
|
2482
|
+
* ### Usage
|
|
2483
|
+
*
|
|
2484
|
+
* ```jsx
|
|
2485
|
+
* <Box display="flex">
|
|
2486
|
+
* ```
|
|
2487
|
+
|
|
2488
|
+
* #### Responsive Props
|
|
2489
|
+
*
|
|
2490
|
+
* ```jsx
|
|
2491
|
+
* <Box padding={{ base: 'spacing.3', m: 'spacing.10' }} />
|
|
2492
|
+
* ```
|
|
2493
|
+
*
|
|
2494
|
+
* #### Margin and Padding Shorthands
|
|
2495
|
+
*
|
|
2496
|
+
* ```jsx
|
|
2497
|
+
* <Box padding={["spacing.3", "spacing.10"]} />
|
|
2498
|
+
* ```
|
|
2499
|
+
*
|
|
2500
|
+
* ---
|
|
2501
|
+
*
|
|
2502
|
+
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-box Box Documentation}
|
|
2503
|
+
*
|
|
2504
|
+
*/
|
|
2465
2505
|
as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
|
|
2466
2506
|
} & {
|
|
2467
2507
|
children?: React__default.ReactNode | React__default.ReactNode[];
|
|
@@ -3370,7 +3410,6 @@ declare type IconButtonProps = {
|
|
|
3370
3410
|
* Icon component to be rendered, eg. `CloseIcon`
|
|
3371
3411
|
*/
|
|
3372
3412
|
icon: IconComponent;
|
|
3373
|
-
onClick: () => void;
|
|
3374
3413
|
/**
|
|
3375
3414
|
* Icon size
|
|
3376
3415
|
*
|
|
@@ -3391,13 +3430,23 @@ declare type IconButtonProps = {
|
|
|
3391
3430
|
* Disabled state for IconButton
|
|
3392
3431
|
*/
|
|
3393
3432
|
isDisabled?: boolean;
|
|
3394
|
-
|
|
3433
|
+
/**
|
|
3434
|
+
* Sets tabindex property on button element
|
|
3435
|
+
*/
|
|
3436
|
+
_tabIndex?: number;
|
|
3437
|
+
} & BladeCommonEvents & Platform.Select<{
|
|
3438
|
+
web: {
|
|
3439
|
+
onClick: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
3440
|
+
};
|
|
3441
|
+
native: {
|
|
3442
|
+
onClick: (event: GestureResponderEvent) => void;
|
|
3443
|
+
};
|
|
3444
|
+
}>;
|
|
3395
3445
|
declare const IconButton: React__default.ForwardRefExoticComponent<{
|
|
3396
3446
|
/**
|
|
3397
3447
|
* Icon component to be rendered, eg. `CloseIcon`
|
|
3398
3448
|
*/
|
|
3399
3449
|
icon: IconComponent;
|
|
3400
|
-
onClick: () => void;
|
|
3401
3450
|
/**
|
|
3402
3451
|
* Icon size
|
|
3403
3452
|
*
|
|
@@ -3418,7 +3467,15 @@ declare const IconButton: React__default.ForwardRefExoticComponent<{
|
|
|
3418
3467
|
* Disabled state for IconButton
|
|
3419
3468
|
*/
|
|
3420
3469
|
isDisabled?: boolean | undefined;
|
|
3421
|
-
|
|
3470
|
+
/**
|
|
3471
|
+
* Sets tabindex property on button element
|
|
3472
|
+
*/
|
|
3473
|
+
_tabIndex?: number | undefined;
|
|
3474
|
+
} & BladeCommonEvents & {
|
|
3475
|
+
onClick: (event: GestureResponderEvent) => void;
|
|
3476
|
+
} & {
|
|
3477
|
+
__brand__?: "platform-native" | undefined;
|
|
3478
|
+
} & React__default.RefAttributes<BladeElementRef>>;
|
|
3422
3479
|
|
|
3423
3480
|
declare type OnChange$1 = ({ isChecked, event, value, }: {
|
|
3424
3481
|
isChecked: boolean;
|
|
@@ -3723,6 +3780,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
3723
3780
|
overflowX: never;
|
|
3724
3781
|
overflowY: never;
|
|
3725
3782
|
textAlign: never;
|
|
3783
|
+
whiteSpace: never;
|
|
3726
3784
|
overflow?: "hidden" | "scroll" | "visible" | {
|
|
3727
3785
|
readonly base?: "hidden" | "scroll" | "visible" | undefined;
|
|
3728
3786
|
readonly xs?: "hidden" | "scroll" | "visible" | undefined;
|
|
@@ -4159,6 +4217,7 @@ declare const Chip: React__default.ForwardRefExoticComponent<{
|
|
|
4159
4217
|
overflowX: never;
|
|
4160
4218
|
overflowY: never;
|
|
4161
4219
|
textAlign: never;
|
|
4220
|
+
whiteSpace: never;
|
|
4162
4221
|
overflow?: "hidden" | "scroll" | "visible" | {
|
|
4163
4222
|
readonly base?: "hidden" | "scroll" | "visible" | undefined;
|
|
4164
4223
|
readonly xs?: "hidden" | "scroll" | "visible" | undefined;
|
|
@@ -4285,6 +4344,10 @@ declare type BaseHeaderProps = {
|
|
|
4285
4344
|
onBackButtonClick?: () => void;
|
|
4286
4345
|
closeButtonRef?: React__default.MutableRefObject<any>;
|
|
4287
4346
|
metaComponentName?: string;
|
|
4347
|
+
/**
|
|
4348
|
+
* inner child of BottomSheetHeader. Meant to be used for AutoComplete only
|
|
4349
|
+
*/
|
|
4350
|
+
children?: React__default.ReactElement;
|
|
4288
4351
|
} & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'> & TestID;
|
|
4289
4352
|
|
|
4290
4353
|
declare type BaseFooterProps = {
|
|
@@ -4412,6 +4475,10 @@ declare type BaseInputCommonProps = FormInputLabelProps & FormInputValidationPro
|
|
|
4412
4475
|
* Ignores the blur event animation (Used in Select to ignore blur animation when item in option is clicked)
|
|
4413
4476
|
*/
|
|
4414
4477
|
shouldIgnoreBlurAnimation?: boolean;
|
|
4478
|
+
/**
|
|
4479
|
+
* sets boolean that ignores the blur animations on baseinput
|
|
4480
|
+
*/
|
|
4481
|
+
setShouldIgnoreBlurAnimation?: (shouldIgnoreBlurAnimation: boolean) => void;
|
|
4415
4482
|
/**
|
|
4416
4483
|
* Used to turn the input field to controlled so user can control the value
|
|
4417
4484
|
*/
|
|
@@ -4529,11 +4596,45 @@ declare type BaseInputCommonProps = FormInputLabelProps & FormInputValidationPro
|
|
|
4529
4596
|
* true if popup is in expanded state
|
|
4530
4597
|
*/
|
|
4531
4598
|
isPopupExpanded?: boolean;
|
|
4532
|
-
setInputWrapperRef?: (node:
|
|
4599
|
+
setInputWrapperRef?: (node: ContainerElementType) => void;
|
|
4533
4600
|
/**
|
|
4534
4601
|
* sets the autocapitalize behavior for the input
|
|
4535
4602
|
*/
|
|
4536
4603
|
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
4604
|
+
/**
|
|
4605
|
+
* constraints the height of input to given number rows
|
|
4606
|
+
*
|
|
4607
|
+
* When set to expandable, input takes 1 row in the begining and expands to take 3 when active
|
|
4608
|
+
*
|
|
4609
|
+
* @default 'single'
|
|
4610
|
+
*/
|
|
4611
|
+
maxTagRows?: 'single' | 'multiple' | 'expandable';
|
|
4612
|
+
/**
|
|
4613
|
+
* A slot for adding tags to input
|
|
4614
|
+
*/
|
|
4615
|
+
tags?: React__default.ReactElement[] | null;
|
|
4616
|
+
/**
|
|
4617
|
+
* Disables stripping of tags and shows all tags
|
|
4618
|
+
*/
|
|
4619
|
+
showAllTags?: boolean;
|
|
4620
|
+
/**
|
|
4621
|
+
* State variable of active tag index
|
|
4622
|
+
*/
|
|
4623
|
+
activeTagIndex?: number;
|
|
4624
|
+
/**
|
|
4625
|
+
* Is this input SelectInput or AutoComplete
|
|
4626
|
+
*/
|
|
4627
|
+
isDropdownTrigger?: boolean;
|
|
4628
|
+
/**
|
|
4629
|
+
* Is the label expected to be rendered inside input?
|
|
4630
|
+
* Used in AutoComplete and Select when label can't exist outside
|
|
4631
|
+
*
|
|
4632
|
+
*/
|
|
4633
|
+
isLabelInsideInput?: boolean;
|
|
4634
|
+
/**
|
|
4635
|
+
* State setter for active tag index
|
|
4636
|
+
*/
|
|
4637
|
+
setActiveTagIndex?: (activeTagIndex: number) => void;
|
|
4537
4638
|
} & TestID & Platform.Select<{
|
|
4538
4639
|
native: {
|
|
4539
4640
|
/**
|
|
@@ -4814,44 +4915,6 @@ declare type OTPInputProps = (OTPInputPropsWithA11yLabel | OTPInputPropsWithLabe
|
|
|
4814
4915
|
*/
|
|
4815
4916
|
declare const OTPInput: ({ autoFocus, errorText, helpText, isDisabled, keyboardReturnKeyType, keyboardType, label, accessibilityLabel, labelPosition, name, onChange, onFocus, onBlur, onOTPFilled, otpLength, placeholder, successText, validationState, value, isMasked, autoCompleteSuggestionType, testID, ...styledProps }: OTPInputProps) => React__default.ReactElement;
|
|
4816
4917
|
|
|
4817
|
-
declare type SelectInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'autoFocus' | 'onClick' | 'onFocus' | 'onBlur' | 'placeholder' | 'testID'> & {
|
|
4818
|
-
icon?: IconComponent;
|
|
4819
|
-
/**
|
|
4820
|
-
* Controlled value of the Select. Use it in combination of `onChange`.
|
|
4821
|
-
*
|
|
4822
|
-
* Check out [Controlled Dropdown Documentation](https://blade.razorpay.com/?path=/story/components-dropdown-with-select--controlled-dropdown&globals=measureEnabled:false) for example.
|
|
4823
|
-
*/
|
|
4824
|
-
value?: string | string[];
|
|
4825
|
-
/**
|
|
4826
|
-
* Used to set the default value of SelectInput when it's uncontrolled. Use `value` instead for controlled SelectInput
|
|
4827
|
-
*/
|
|
4828
|
-
defaultValue?: string | string[];
|
|
4829
|
-
onChange?: ({ name, values }: {
|
|
4830
|
-
name?: string;
|
|
4831
|
-
values: string[];
|
|
4832
|
-
}) => void;
|
|
4833
|
-
};
|
|
4834
|
-
declare type SelectInputPropsWithA11yLabel = {
|
|
4835
|
-
/**
|
|
4836
|
-
* Label to be shown for the input field
|
|
4837
|
-
*/
|
|
4838
|
-
label?: undefined;
|
|
4839
|
-
/**
|
|
4840
|
-
* Accessibility label for the input
|
|
4841
|
-
*/
|
|
4842
|
-
accessibilityLabel: string;
|
|
4843
|
-
};
|
|
4844
|
-
declare type SelectInputPropsWithLabel = {
|
|
4845
|
-
/**
|
|
4846
|
-
* Label to be shown for the input field
|
|
4847
|
-
*/
|
|
4848
|
-
label: string;
|
|
4849
|
-
/**
|
|
4850
|
-
* Accessibility label for the input
|
|
4851
|
-
*/
|
|
4852
|
-
accessibilityLabel?: string;
|
|
4853
|
-
};
|
|
4854
|
-
declare type SelectInputProps = (SelectInputPropsWithA11yLabel | SelectInputPropsWithLabel) & SelectInputCommonProps;
|
|
4855
4918
|
/**
|
|
4856
4919
|
* ### SelectInput
|
|
4857
4920
|
*
|
|
@@ -4879,7 +4942,85 @@ declare type SelectInputProps = (SelectInputPropsWithA11yLabel | SelectInputProp
|
|
|
4879
4942
|
*
|
|
4880
4943
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-select--with-single-select SelectInput Documentation}.
|
|
4881
4944
|
*/
|
|
4882
|
-
declare const SelectInput: React__default.ForwardRefExoticComponent<
|
|
4945
|
+
declare const SelectInput: React__default.ForwardRefExoticComponent<(({
|
|
4946
|
+
label?: undefined;
|
|
4947
|
+
accessibilityLabel: string;
|
|
4948
|
+
} | {
|
|
4949
|
+
label: string;
|
|
4950
|
+
accessibilityLabel?: string | undefined;
|
|
4951
|
+
}) & Pick<BaseInputProps, "placeholder" | "name" | "label" | "testID" | "prefix" | "accessibilityLabel" | "onBlur" | "onFocus" | "onClick" | "autoFocus" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
4952
|
+
icon?: IconComponent | undefined;
|
|
4953
|
+
value?: string | string[] | undefined;
|
|
4954
|
+
defaultValue?: string | string[] | undefined;
|
|
4955
|
+
onChange?: (({ name, values }: {
|
|
4956
|
+
name?: string | undefined;
|
|
4957
|
+
values: string[];
|
|
4958
|
+
}) => void) | undefined;
|
|
4959
|
+
maxRows?: "multiple" | "single" | "expandable" | undefined;
|
|
4960
|
+
labelPosition?: "left" | "top" | "inside-input" | undefined;
|
|
4961
|
+
}) & React__default.RefAttributes<BladeElementRef>>;
|
|
4962
|
+
|
|
4963
|
+
/**
|
|
4964
|
+
* ### AutoComplete
|
|
4965
|
+
*
|
|
4966
|
+
* Extension on top of SelectInput which allows you type and filter between ActionList items
|
|
4967
|
+
*
|
|
4968
|
+
* To be used in combination of `Dropdown` and `ActionList` component
|
|
4969
|
+
*
|
|
4970
|
+
* ---
|
|
4971
|
+
*
|
|
4972
|
+
* #### Usage in Desktop
|
|
4973
|
+
*
|
|
4974
|
+
* ```diff
|
|
4975
|
+
* <Dropdown>
|
|
4976
|
+
* + <AutoComplete label="Select Fruits" />
|
|
4977
|
+
* <DropdownOverlay>
|
|
4978
|
+
* <ActionList>
|
|
4979
|
+
* <ActionListItem title="Mango" value="mango" />
|
|
4980
|
+
* <ActionListItem title="Apple" value="apple" />
|
|
4981
|
+
* </ActionList>
|
|
4982
|
+
* </DropdownOverlay>
|
|
4983
|
+
* </Dropdown>
|
|
4984
|
+
* ```
|
|
4985
|
+
*
|
|
4986
|
+
* #### Usage in Mobile
|
|
4987
|
+
*
|
|
4988
|
+
* ```diff
|
|
4989
|
+
* <Dropdown>
|
|
4990
|
+
* + <SelectInput label="Select Fruits" />
|
|
4991
|
+
* <BottomSheet>
|
|
4992
|
+
* <BottomSheetHeader>
|
|
4993
|
+
* + <AutoComplete label="Select Fruits" />
|
|
4994
|
+
* </BottomSheetHeader>
|
|
4995
|
+
* <BottomSheetBody>
|
|
4996
|
+
* <ActionList>
|
|
4997
|
+
* <ActionListItem title="Mango" value="mango" />
|
|
4998
|
+
* <ActionListItem title="Apple" value="apple" />
|
|
4999
|
+
* </ActionList>
|
|
5000
|
+
* </BottomSheetBody>
|
|
5001
|
+
* </BottomSheet>
|
|
5002
|
+
* </Dropdown>
|
|
5003
|
+
* ```
|
|
5004
|
+
*
|
|
5005
|
+
* ---
|
|
5006
|
+
*
|
|
5007
|
+
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-autocomplete--with-single-select AutoComplete Documentation}.
|
|
5008
|
+
*/
|
|
5009
|
+
declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "label" | "testID" | "prefix" | "accessibilityLabel" | "onBlur" | "onFocus" | "onClick" | "autoFocus" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
5010
|
+
icon?: IconComponent | undefined;
|
|
5011
|
+
value?: string | string[] | undefined;
|
|
5012
|
+
defaultValue?: string | string[] | undefined;
|
|
5013
|
+
onChange?: (({ name, values }: {
|
|
5014
|
+
name?: string | undefined;
|
|
5015
|
+
values: string[];
|
|
5016
|
+
}) => void) | undefined;
|
|
5017
|
+
maxRows?: "multiple" | "single" | "expandable" | undefined;
|
|
5018
|
+
labelPosition?: "left" | "top" | "inside-input" | undefined;
|
|
5019
|
+
} & {
|
|
5020
|
+
onInputValueChange?: FormInputOnEvent | undefined;
|
|
5021
|
+
inputValue?: string | undefined;
|
|
5022
|
+
filteredValues?: string[] | undefined;
|
|
5023
|
+
} & React__default.RefAttributes<BladeElementRef>>;
|
|
4883
5024
|
|
|
4884
5025
|
declare type IndicatorCommonProps = {
|
|
4885
5026
|
/**
|
|
@@ -5304,6 +5445,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
5304
5445
|
overflowX: never;
|
|
5305
5446
|
overflowY: never;
|
|
5306
5447
|
textAlign: never;
|
|
5448
|
+
whiteSpace: never;
|
|
5307
5449
|
overflow?: "hidden" | "scroll" | "visible" | {
|
|
5308
5450
|
readonly base?: "hidden" | "scroll" | "visible" | undefined;
|
|
5309
5451
|
readonly xs?: "hidden" | "scroll" | "visible" | undefined;
|
|
@@ -5651,6 +5793,7 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
5651
5793
|
overflowX: never;
|
|
5652
5794
|
overflowY: never;
|
|
5653
5795
|
textAlign: never;
|
|
5796
|
+
whiteSpace: never;
|
|
5654
5797
|
overflow?: "hidden" | "scroll" | "visible" | {
|
|
5655
5798
|
readonly base?: "hidden" | "scroll" | "visible" | undefined;
|
|
5656
5799
|
readonly xs?: "hidden" | "scroll" | "visible" | undefined;
|
|
@@ -5700,10 +5843,20 @@ declare type TagProps = {
|
|
|
5700
5843
|
* Used for adding virtual focus on tag.
|
|
5701
5844
|
*
|
|
5702
5845
|
* @private
|
|
5846
|
+
*/
|
|
5847
|
+
_isVirtuallyFocused?: boolean;
|
|
5848
|
+
/**
|
|
5849
|
+
* Private property for Blade.
|
|
5850
|
+
*
|
|
5851
|
+
* Should not be used by consumers.
|
|
5852
|
+
*
|
|
5853
|
+
* Is tag placed inside an input
|
|
5703
5854
|
*
|
|
5855
|
+
* @private
|
|
5704
5856
|
*/
|
|
5705
|
-
|
|
5857
|
+
_isTagInsideInput?: boolean;
|
|
5706
5858
|
} & StyledPropsBlade & TestID;
|
|
5859
|
+
|
|
5707
5860
|
/**
|
|
5708
5861
|
* ## Tags
|
|
5709
5862
|
*
|
|
@@ -5731,7 +5884,7 @@ declare type TagProps = {
|
|
|
5731
5884
|
* Checkout [Tags Documentation](https://blade.razorpay.com/?path=/story/components-tag--default) for more info.
|
|
5732
5885
|
*
|
|
5733
5886
|
*/
|
|
5734
|
-
declare const Tag: ({ size, icon, onDismiss, children, isDisabled, testID,
|
|
5887
|
+
declare const Tag: ({ size, icon, onDismiss, children, isDisabled, testID, _isVirtuallyFocused, _isTagInsideInput, ...styledProps }: TagProps) => React__default.ReactElement | null;
|
|
5735
5888
|
|
|
5736
5889
|
declare type SkeletonProps = StyledPropsBlade & Pick<BaseBoxProps, 'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'borderRadius'> & Partial<FlexboxProps> & {
|
|
5737
5890
|
contrast?: 'low' | 'high';
|
|
@@ -6218,7 +6371,7 @@ declare type BottomSheetProps = {
|
|
|
6218
6371
|
*/
|
|
6219
6372
|
zIndex?: number;
|
|
6220
6373
|
};
|
|
6221
|
-
declare type BottomSheetHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'showBackButton' | 'onBackButtonClick'> & {
|
|
6374
|
+
declare type BottomSheetHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'showBackButton' | 'onBackButtonClick' | 'children'> & {
|
|
6222
6375
|
/**
|
|
6223
6376
|
* Trailing element to be rendered in the Header
|
|
6224
6377
|
*
|
|
@@ -6245,7 +6398,7 @@ declare type BottomSheetBodyProps = {
|
|
|
6245
6398
|
padding?: Extract<SpacingValueType, 'spacing.0' | 'spacing.5'>;
|
|
6246
6399
|
};
|
|
6247
6400
|
|
|
6248
|
-
declare const BottomSheetHeader: ({ title, subtitle, leading, trailing, titleSuffix, showBackButton, onBackButtonClick, }: BottomSheetHeaderProps) => React__default.ReactElement;
|
|
6401
|
+
declare const BottomSheetHeader: ({ title, subtitle, leading, trailing, titleSuffix, showBackButton, onBackButtonClick, children, }: BottomSheetHeaderProps) => React__default.ReactElement;
|
|
6249
6402
|
|
|
6250
6403
|
declare const BottomSheetBody: ({ children, padding, }: BottomSheetBodyProps) => React__default.ReactElement;
|
|
6251
6404
|
|
|
@@ -6386,4 +6539,4 @@ declare const Tooltip: ({ content, children, placement, onOpenChange, zIndex, }:
|
|
|
6386
6539
|
|
|
6387
6540
|
declare const TooltipInteractiveWrapper: React__default.ForwardRefExoticComponent<PressableProps & React__default.RefAttributes<View>>;
|
|
6388
6541
|
|
|
6389
|
-
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput,
|
|
6542
|
+
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AutoComplete, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabletIcon, Tag, TagIcon, TagProps, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, Title, TitleProps, ToggleLeftIcon, ToggleRightIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useActionListContext, useTheme };
|