@razorpay/blade 9.2.0 → 9.4.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 +267 -974
- package/build/components/index.native.d.ts +201 -530
- package/build/components/index.native.js +322 -318
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +1916 -1771
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +4 -4
- package/build/css/bankingThemeDarkMobile.css +4 -4
- package/build/css/bankingThemeLightDesktop.css +4 -4
- package/build/css/bankingThemeLightMobile.css +4 -4
- package/build/css/paymentThemeDarkDesktop.css +4 -4
- package/build/css/paymentThemeDarkMobile.css +4 -4
- package/build/css/paymentThemeLightDesktop.css +4 -4
- package/build/css/paymentThemeLightMobile.css +4 -4
- package/build/tokens/index.native.js +2 -2
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.web.js +12 -12
- package/build/tokens/index.web.js.map +1 -1
- package/package.json +1 -1
|
@@ -3688,7 +3688,7 @@ declare type IconButtonProps = {
|
|
|
3688
3688
|
*
|
|
3689
3689
|
* @default 'medium'
|
|
3690
3690
|
*/
|
|
3691
|
-
size?: 'medium' | 'large';
|
|
3691
|
+
size?: 'small' | 'medium' | 'large';
|
|
3692
3692
|
/**
|
|
3693
3693
|
* Icon contrast
|
|
3694
3694
|
*
|
|
@@ -3699,6 +3699,10 @@ declare type IconButtonProps = {
|
|
|
3699
3699
|
* Sets aria-label to help users know what the action does, eg 'Dismiss alert'
|
|
3700
3700
|
*/
|
|
3701
3701
|
accessibilityLabel: string;
|
|
3702
|
+
/**
|
|
3703
|
+
* Disabled state for IconButton
|
|
3704
|
+
*/
|
|
3705
|
+
isDisabled?: boolean;
|
|
3702
3706
|
} & BladeCommonEvents$1;
|
|
3703
3707
|
declare const IconButton: React__default.ForwardRefExoticComponent<{
|
|
3704
3708
|
/**
|
|
@@ -3711,7 +3715,7 @@ declare const IconButton: React__default.ForwardRefExoticComponent<{
|
|
|
3711
3715
|
*
|
|
3712
3716
|
* @default 'medium'
|
|
3713
3717
|
*/
|
|
3714
|
-
size?: "medium" | "large" | undefined;
|
|
3718
|
+
size?: "small" | "medium" | "large" | undefined;
|
|
3715
3719
|
/**
|
|
3716
3720
|
* Icon contrast
|
|
3717
3721
|
*
|
|
@@ -3722,6 +3726,10 @@ declare const IconButton: React__default.ForwardRefExoticComponent<{
|
|
|
3722
3726
|
* Sets aria-label to help users know what the action does, eg 'Dismiss alert'
|
|
3723
3727
|
*/
|
|
3724
3728
|
accessibilityLabel: string;
|
|
3729
|
+
/**
|
|
3730
|
+
* Disabled state for IconButton
|
|
3731
|
+
*/
|
|
3732
|
+
isDisabled?: boolean | undefined;
|
|
3725
3733
|
} & BladeCommonEvents$1 & React__default.RefAttributes<BladeElementRef>>;
|
|
3726
3734
|
|
|
3727
3735
|
declare type OnChange$1 = ({ isChecked, event, value, }: {
|
|
@@ -4927,7 +4935,7 @@ declare type FormInputLabelProps = {
|
|
|
4927
4935
|
/**
|
|
4928
4936
|
* Label to be shown for the input field
|
|
4929
4937
|
*/
|
|
4930
|
-
label
|
|
4938
|
+
label?: string;
|
|
4931
4939
|
/**
|
|
4932
4940
|
* Desktop only prop. Default value on mobile will be `top`
|
|
4933
4941
|
*/
|
|
@@ -4985,7 +4993,7 @@ type FormInputOnKeyDownEvent = {
|
|
|
4985
4993
|
|
|
4986
4994
|
declare type CommonAutoCompleteSuggestionTypes = 'none' | 'name' | 'email' | 'username' | 'password' | 'newPassword' | 'oneTimeCode' | 'telephone' | 'postalCode' | 'countryName' | 'creditCardNumber' | 'creditCardCSC' | 'creditCardExpiry' | 'creditCardExpiryMonth' | 'creditCardExpiryYear';
|
|
4987
4995
|
declare type WebAutoCompleteSuggestionType = CommonAutoCompleteSuggestionTypes | 'on';
|
|
4988
|
-
declare type
|
|
4996
|
+
declare type BaseInputCommonProps = FormInputLabelProps & FormInputValidationProps & {
|
|
4989
4997
|
/**
|
|
4990
4998
|
* Determines if it needs to be rendered as input, textarea or button
|
|
4991
4999
|
*/
|
|
@@ -5201,9 +5209,30 @@ declare type BaseInputProps = FormInputLabelProps & FormInputValidationProps & {
|
|
|
5201
5209
|
autoCompleteSuggestionType?: WebAutoCompleteSuggestionType;
|
|
5202
5210
|
};
|
|
5203
5211
|
}> & StyledPropsBlade$1;
|
|
5212
|
+
declare type BaseInputPropsWithA11yLabel = {
|
|
5213
|
+
/**
|
|
5214
|
+
* Label to be shown for the input field
|
|
5215
|
+
*/
|
|
5216
|
+
label?: undefined;
|
|
5217
|
+
/**
|
|
5218
|
+
* Accessibility label for the input
|
|
5219
|
+
*/
|
|
5220
|
+
accessibilityLabel: string;
|
|
5221
|
+
};
|
|
5222
|
+
declare type BaseInputPropsWithLabel = {
|
|
5223
|
+
/**
|
|
5224
|
+
* Label to be shown for the input field
|
|
5225
|
+
*/
|
|
5226
|
+
label: string;
|
|
5227
|
+
/**
|
|
5228
|
+
* Accessibility label for the input
|
|
5229
|
+
*/
|
|
5230
|
+
accessibilityLabel?: string;
|
|
5231
|
+
};
|
|
5232
|
+
declare type BaseInputProps = (BaseInputPropsWithA11yLabel | BaseInputPropsWithLabel) & BaseInputCommonProps;
|
|
5204
5233
|
|
|
5205
5234
|
declare type Type = Exclude<BaseInputProps['type'], 'password'>;
|
|
5206
|
-
declare type
|
|
5235
|
+
declare type TextInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID'> & {
|
|
5207
5236
|
/**
|
|
5208
5237
|
* Decides whether to render a clear icon button
|
|
5209
5238
|
*/
|
|
@@ -5235,984 +5264,179 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
|
|
|
5235
5264
|
*/
|
|
5236
5265
|
type?: Type;
|
|
5237
5266
|
} & StyledPropsBlade$1;
|
|
5238
|
-
declare
|
|
5267
|
+
declare type TextInputPropsWithA11yLabel = {
|
|
5268
|
+
/**
|
|
5269
|
+
* Label to be shown for the input field
|
|
5270
|
+
*/
|
|
5271
|
+
label?: undefined;
|
|
5272
|
+
/**
|
|
5273
|
+
* Accessibility label for the input
|
|
5274
|
+
*/
|
|
5275
|
+
accessibilityLabel: string;
|
|
5276
|
+
};
|
|
5277
|
+
declare type TextInputPropsWithLabel = {
|
|
5278
|
+
/**
|
|
5279
|
+
* Label to be shown for the input field
|
|
5280
|
+
*/
|
|
5281
|
+
label: string;
|
|
5282
|
+
/**
|
|
5283
|
+
* Accessibility label for the input
|
|
5284
|
+
*/
|
|
5285
|
+
accessibilityLabel?: string;
|
|
5286
|
+
};
|
|
5287
|
+
declare type TextInputProps = (TextInputPropsWithA11yLabel | TextInputPropsWithLabel) & TextInputCommonProps;
|
|
5288
|
+
declare const TextInput: React__default.ForwardRefExoticComponent<TextInputProps & React__default.RefAttributes<BladeElementRef>>;
|
|
5289
|
+
|
|
5290
|
+
declare type PasswordInputExtraProps = {
|
|
5291
|
+
/**
|
|
5292
|
+
* Shows a reveal button to toggle password visibility
|
|
5293
|
+
*
|
|
5294
|
+
* @default true
|
|
5295
|
+
*/
|
|
5296
|
+
showRevealButton?: boolean;
|
|
5297
|
+
/**
|
|
5298
|
+
* Displays asterisk (`*`) when `isRequired` is enabled
|
|
5299
|
+
*
|
|
5300
|
+
* @default none
|
|
5301
|
+
*/
|
|
5302
|
+
necessityIndicator?: Exclude<BaseInputProps['necessityIndicator'], 'optional'>;
|
|
5303
|
+
/**
|
|
5304
|
+
* Determines what autoComplete suggestion type to show. Defaults to using platform heuristics.
|
|
5305
|
+
*
|
|
5306
|
+
* It's not recommended to turn this off in favor of safe password practices.
|
|
5307
|
+
* Providing `password` or `newPassword` is more informative to the platform for browser autofill or password managers.
|
|
5308
|
+
*
|
|
5309
|
+
* **Note**: Using `newPassword` on iOS has some [known issue](https://github.com/facebook/react-native/issues/21911) on React Native
|
|
5310
|
+
*
|
|
5311
|
+
* Internally it'll render platform specific attributes:
|
|
5312
|
+
*
|
|
5313
|
+
* - web: `autocomplete`
|
|
5314
|
+
* - iOS: `textContentType`
|
|
5315
|
+
* - android: `autoComplete`
|
|
5316
|
+
*
|
|
5317
|
+
*/
|
|
5318
|
+
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
5319
|
+
};
|
|
5320
|
+
declare type PasswordInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'maxCharacters' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'isDisabled' | 'defaultValue' | 'placeholder' | 'isRequired' | 'value' | 'onChange' | 'onBlur' | 'onSubmit' | 'onFocus' | 'name' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'testID'> & PasswordInputExtraProps & StyledPropsBlade$1;
|
|
5321
|
+
declare type PasswordInputPropsWithA11yLabel = {
|
|
5322
|
+
/**
|
|
5323
|
+
* Label to be shown for the input field
|
|
5324
|
+
*/
|
|
5325
|
+
label?: undefined;
|
|
5326
|
+
/**
|
|
5327
|
+
* Accessibility label for the input
|
|
5328
|
+
*/
|
|
5329
|
+
accessibilityLabel: string;
|
|
5330
|
+
};
|
|
5331
|
+
declare type PasswordInputPropsWithLabel = {
|
|
5332
|
+
/**
|
|
5333
|
+
* Label to be shown for the input field
|
|
5334
|
+
*/
|
|
5335
|
+
label: string;
|
|
5336
|
+
/**
|
|
5337
|
+
* Accessibility label for the input
|
|
5338
|
+
*/
|
|
5339
|
+
accessibilityLabel?: string;
|
|
5340
|
+
};
|
|
5341
|
+
declare type PasswordInputProps = (PasswordInputPropsWithA11yLabel | PasswordInputPropsWithLabel) & PasswordInputCommonProps;
|
|
5342
|
+
declare const PasswordInput: React__default.ForwardRefExoticComponent<PasswordInputProps & React__default.RefAttributes<BladeElementRef>>;
|
|
5343
|
+
|
|
5344
|
+
declare type TextAreaCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'onSubmit' | 'value' | 'isDisabled' | 'isRequired' | 'maxCharacters' | 'autoFocus' | 'numberOfLines' | 'testID'> & {
|
|
5239
5345
|
/**
|
|
5240
5346
|
* Decides whether to render a clear icon button
|
|
5241
5347
|
*/
|
|
5242
|
-
showClearButton?: boolean
|
|
5348
|
+
showClearButton?: boolean;
|
|
5243
5349
|
/**
|
|
5244
5350
|
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
5245
5351
|
*/
|
|
5246
|
-
onClearButtonClick?: (
|
|
5352
|
+
onClearButtonClick?: () => void;
|
|
5353
|
+
} & StyledPropsBlade$1;
|
|
5354
|
+
declare type TextAreaPropsWithA11yLabel = {
|
|
5247
5355
|
/**
|
|
5248
|
-
*
|
|
5356
|
+
* Label to be shown for the input field
|
|
5249
5357
|
*/
|
|
5250
|
-
|
|
5358
|
+
label?: undefined;
|
|
5251
5359
|
/**
|
|
5252
|
-
*
|
|
5360
|
+
* Accessibility label for the input
|
|
5253
5361
|
*/
|
|
5254
|
-
|
|
5362
|
+
accessibilityLabel: string;
|
|
5363
|
+
};
|
|
5364
|
+
declare type TextAreaPropsWithLabel = {
|
|
5255
5365
|
/**
|
|
5256
|
-
*
|
|
5366
|
+
* Label to be shown for the input field
|
|
5367
|
+
*/
|
|
5368
|
+
label: string;
|
|
5369
|
+
/**
|
|
5370
|
+
* Accessibility label for the input
|
|
5371
|
+
*/
|
|
5372
|
+
accessibilityLabel?: string;
|
|
5373
|
+
};
|
|
5374
|
+
declare type TextAreaProps = (TextAreaPropsWithA11yLabel | TextAreaPropsWithLabel) & TextAreaCommonProps;
|
|
5375
|
+
declare const TextArea: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<BladeElementRef>>;
|
|
5376
|
+
|
|
5377
|
+
declare type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
5378
|
+
name?: string;
|
|
5379
|
+
value?: string;
|
|
5380
|
+
inputIndex: number;
|
|
5381
|
+
}) => void;
|
|
5382
|
+
declare type OTPInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID'> & {
|
|
5383
|
+
/**
|
|
5384
|
+
* Determines the number of input fields to show for the OTP
|
|
5385
|
+
* @default 6
|
|
5386
|
+
*/
|
|
5387
|
+
otpLength?: 4 | 6;
|
|
5388
|
+
/**
|
|
5389
|
+
* The callback function to be invoked when all the values of the OTPInput are filled
|
|
5390
|
+
*/
|
|
5391
|
+
onOTPFilled?: FormInputOnEvent;
|
|
5392
|
+
/**
|
|
5393
|
+
* Masks input characters in all the fields
|
|
5394
|
+
*/
|
|
5395
|
+
isMasked?: boolean;
|
|
5396
|
+
/**
|
|
5397
|
+
* Determines what autoComplete suggestion type to show. Defaults to `oneTimeCode`.
|
|
5257
5398
|
*
|
|
5399
|
+
* It's not recommended to turn this off in favor of otp input practices.
|
|
5258
5400
|
*
|
|
5259
|
-
* **Note on number type**
|
|
5260
5401
|
*
|
|
5261
|
-
*
|
|
5262
|
-
* If you have a usecase where you only want to support number input, you can handle it on validations end.
|
|
5402
|
+
* Internally it'll render platform specific attributes:
|
|
5263
5403
|
*
|
|
5264
|
-
*
|
|
5404
|
+
* - web: `autocomplete`
|
|
5405
|
+
* - iOS: `textContentType`
|
|
5406
|
+
* - android: `autoComplete`
|
|
5265
5407
|
*
|
|
5266
|
-
* @default text
|
|
5267
5408
|
*/
|
|
5268
|
-
|
|
5269
|
-
} & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
5270
|
-
bottom: SpacingValueType | {
|
|
5271
|
-
readonly base?: SpacingValueType | undefined;
|
|
5272
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5273
|
-
readonly s?: SpacingValueType | undefined;
|
|
5274
|
-
readonly m?: SpacingValueType | undefined;
|
|
5275
|
-
readonly l?: SpacingValueType | undefined;
|
|
5276
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5277
|
-
};
|
|
5278
|
-
left: SpacingValueType | {
|
|
5279
|
-
readonly base?: SpacingValueType | undefined;
|
|
5280
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5281
|
-
readonly s?: SpacingValueType | undefined;
|
|
5282
|
-
readonly m?: SpacingValueType | undefined;
|
|
5283
|
-
readonly l?: SpacingValueType | undefined;
|
|
5284
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5285
|
-
};
|
|
5286
|
-
position?: csstype.Property.Position | {
|
|
5287
|
-
readonly base?: csstype.Property.Position | undefined;
|
|
5288
|
-
readonly xs?: csstype.Property.Position | undefined;
|
|
5289
|
-
readonly s?: csstype.Property.Position | undefined;
|
|
5290
|
-
readonly m?: csstype.Property.Position | undefined;
|
|
5291
|
-
readonly l?: csstype.Property.Position | undefined;
|
|
5292
|
-
readonly xl?: csstype.Property.Position | undefined;
|
|
5293
|
-
} | undefined;
|
|
5294
|
-
right: SpacingValueType | {
|
|
5295
|
-
readonly base?: SpacingValueType | undefined;
|
|
5296
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5297
|
-
readonly s?: SpacingValueType | undefined;
|
|
5298
|
-
readonly m?: SpacingValueType | undefined;
|
|
5299
|
-
readonly l?: SpacingValueType | undefined;
|
|
5300
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5301
|
-
};
|
|
5302
|
-
top: SpacingValueType | {
|
|
5303
|
-
readonly base?: SpacingValueType | undefined;
|
|
5304
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5305
|
-
readonly s?: SpacingValueType | undefined;
|
|
5306
|
-
readonly m?: SpacingValueType | undefined;
|
|
5307
|
-
readonly l?: SpacingValueType | undefined;
|
|
5308
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5309
|
-
};
|
|
5310
|
-
zIndex?: csstype.Property.ZIndex | {
|
|
5311
|
-
readonly base?: csstype.Property.ZIndex | undefined;
|
|
5312
|
-
readonly xs?: csstype.Property.ZIndex | undefined;
|
|
5313
|
-
readonly s?: csstype.Property.ZIndex | undefined;
|
|
5314
|
-
readonly m?: csstype.Property.ZIndex | undefined;
|
|
5315
|
-
readonly l?: csstype.Property.ZIndex | undefined;
|
|
5316
|
-
readonly xl?: csstype.Property.ZIndex | undefined;
|
|
5317
|
-
} | undefined;
|
|
5318
|
-
__brand__?: "platform-web" | {
|
|
5319
|
-
readonly base?: "platform-web" | undefined;
|
|
5320
|
-
readonly xs?: "platform-web" | undefined;
|
|
5321
|
-
readonly s?: "platform-web" | undefined;
|
|
5322
|
-
readonly m?: "platform-web" | undefined;
|
|
5323
|
-
readonly l?: "platform-web" | undefined;
|
|
5324
|
-
readonly xl?: "platform-web" | undefined;
|
|
5325
|
-
} | undefined;
|
|
5326
|
-
} & Pick<{
|
|
5327
|
-
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
5328
|
-
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5329
|
-
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5330
|
-
readonly s?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5331
|
-
readonly m?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5332
|
-
readonly l?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5333
|
-
readonly xl?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5334
|
-
} | undefined;
|
|
5335
|
-
gridAutoFlow?: csstype.Property.GridAutoFlow | {
|
|
5336
|
-
readonly base?: csstype.Property.GridAutoFlow | undefined;
|
|
5337
|
-
readonly xs?: csstype.Property.GridAutoFlow | undefined;
|
|
5338
|
-
readonly s?: csstype.Property.GridAutoFlow | undefined;
|
|
5339
|
-
readonly m?: csstype.Property.GridAutoFlow | undefined;
|
|
5340
|
-
readonly l?: csstype.Property.GridAutoFlow | undefined;
|
|
5341
|
-
readonly xl?: csstype.Property.GridAutoFlow | undefined;
|
|
5342
|
-
} | undefined;
|
|
5343
|
-
gridAutoRows?: csstype.Property.GridAutoRows<string | number> | {
|
|
5344
|
-
readonly base?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5345
|
-
readonly xs?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5346
|
-
readonly s?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5347
|
-
readonly m?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5348
|
-
readonly l?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5349
|
-
readonly xl?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5350
|
-
} | undefined;
|
|
5351
|
-
gridColumnEnd?: csstype.Property.GridColumnEnd | {
|
|
5352
|
-
readonly base?: csstype.Property.GridColumnEnd | undefined;
|
|
5353
|
-
readonly xs?: csstype.Property.GridColumnEnd | undefined;
|
|
5354
|
-
readonly s?: csstype.Property.GridColumnEnd | undefined;
|
|
5355
|
-
readonly m?: csstype.Property.GridColumnEnd | undefined;
|
|
5356
|
-
readonly l?: csstype.Property.GridColumnEnd | undefined;
|
|
5357
|
-
readonly xl?: csstype.Property.GridColumnEnd | undefined;
|
|
5358
|
-
} | undefined;
|
|
5359
|
-
gridColumnStart?: csstype.Property.GridColumnStart | {
|
|
5360
|
-
readonly base?: csstype.Property.GridColumnStart | undefined;
|
|
5361
|
-
readonly xs?: csstype.Property.GridColumnStart | undefined;
|
|
5362
|
-
readonly s?: csstype.Property.GridColumnStart | undefined;
|
|
5363
|
-
readonly m?: csstype.Property.GridColumnStart | undefined;
|
|
5364
|
-
readonly l?: csstype.Property.GridColumnStart | undefined;
|
|
5365
|
-
readonly xl?: csstype.Property.GridColumnStart | undefined;
|
|
5366
|
-
} | undefined;
|
|
5367
|
-
gridRowEnd?: csstype.Property.GridRowEnd | {
|
|
5368
|
-
readonly base?: csstype.Property.GridRowEnd | undefined;
|
|
5369
|
-
readonly xs?: csstype.Property.GridRowEnd | undefined;
|
|
5370
|
-
readonly s?: csstype.Property.GridRowEnd | undefined;
|
|
5371
|
-
readonly m?: csstype.Property.GridRowEnd | undefined;
|
|
5372
|
-
readonly l?: csstype.Property.GridRowEnd | undefined;
|
|
5373
|
-
readonly xl?: csstype.Property.GridRowEnd | undefined;
|
|
5374
|
-
} | undefined;
|
|
5375
|
-
gridRowStart?: csstype.Property.GridRowStart | {
|
|
5376
|
-
readonly base?: csstype.Property.GridRowStart | undefined;
|
|
5377
|
-
readonly xs?: csstype.Property.GridRowStart | undefined;
|
|
5378
|
-
readonly s?: csstype.Property.GridRowStart | undefined;
|
|
5379
|
-
readonly m?: csstype.Property.GridRowStart | undefined;
|
|
5380
|
-
readonly l?: csstype.Property.GridRowStart | undefined;
|
|
5381
|
-
readonly xl?: csstype.Property.GridRowStart | undefined;
|
|
5382
|
-
} | undefined;
|
|
5383
|
-
gridTemplateAreas?: csstype.Property.GridTemplateAreas | {
|
|
5384
|
-
readonly base?: csstype.Property.GridTemplateAreas | undefined;
|
|
5385
|
-
readonly xs?: csstype.Property.GridTemplateAreas | undefined;
|
|
5386
|
-
readonly s?: csstype.Property.GridTemplateAreas | undefined;
|
|
5387
|
-
readonly m?: csstype.Property.GridTemplateAreas | undefined;
|
|
5388
|
-
readonly l?: csstype.Property.GridTemplateAreas | undefined;
|
|
5389
|
-
readonly xl?: csstype.Property.GridTemplateAreas | undefined;
|
|
5390
|
-
} | undefined;
|
|
5391
|
-
gridTemplateColumns?: csstype.Property.GridTemplateColumns<string | number> | {
|
|
5392
|
-
readonly base?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5393
|
-
readonly xs?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5394
|
-
readonly s?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5395
|
-
readonly m?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5396
|
-
readonly l?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5397
|
-
readonly xl?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5398
|
-
} | undefined;
|
|
5399
|
-
gridTemplateRows?: csstype.Property.GridTemplateRows<string | number> | {
|
|
5400
|
-
readonly base?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5401
|
-
readonly xs?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5402
|
-
readonly s?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5403
|
-
readonly m?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5404
|
-
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5405
|
-
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5406
|
-
} | undefined;
|
|
5407
|
-
grid?: csstype.Property.Grid | {
|
|
5408
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
5409
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
5410
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
5411
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
5412
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
5413
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
5414
|
-
} | undefined;
|
|
5415
|
-
gridArea?: csstype.Property.GridArea | {
|
|
5416
|
-
readonly base?: csstype.Property.GridArea | undefined;
|
|
5417
|
-
readonly xs?: csstype.Property.GridArea | undefined;
|
|
5418
|
-
readonly s?: csstype.Property.GridArea | undefined;
|
|
5419
|
-
readonly m?: csstype.Property.GridArea | undefined;
|
|
5420
|
-
readonly l?: csstype.Property.GridArea | undefined;
|
|
5421
|
-
readonly xl?: csstype.Property.GridArea | undefined;
|
|
5422
|
-
} | undefined;
|
|
5423
|
-
gridColumn?: csstype.Property.GridColumn | {
|
|
5424
|
-
readonly base?: csstype.Property.GridColumn | undefined;
|
|
5425
|
-
readonly xs?: csstype.Property.GridColumn | undefined;
|
|
5426
|
-
readonly s?: csstype.Property.GridColumn | undefined;
|
|
5427
|
-
readonly m?: csstype.Property.GridColumn | undefined;
|
|
5428
|
-
readonly l?: csstype.Property.GridColumn | undefined;
|
|
5429
|
-
readonly xl?: csstype.Property.GridColumn | undefined;
|
|
5430
|
-
} | undefined;
|
|
5431
|
-
gridRow?: csstype.Property.GridRow | {
|
|
5432
|
-
readonly base?: csstype.Property.GridRow | undefined;
|
|
5433
|
-
readonly xs?: csstype.Property.GridRow | undefined;
|
|
5434
|
-
readonly s?: csstype.Property.GridRow | undefined;
|
|
5435
|
-
readonly m?: csstype.Property.GridRow | undefined;
|
|
5436
|
-
readonly l?: csstype.Property.GridRow | undefined;
|
|
5437
|
-
readonly xl?: csstype.Property.GridRow | undefined;
|
|
5438
|
-
} | undefined;
|
|
5439
|
-
gridTemplate?: csstype.Property.GridTemplate | {
|
|
5440
|
-
readonly base?: csstype.Property.GridTemplate | undefined;
|
|
5441
|
-
readonly xs?: csstype.Property.GridTemplate | undefined;
|
|
5442
|
-
readonly s?: csstype.Property.GridTemplate | undefined;
|
|
5443
|
-
readonly m?: csstype.Property.GridTemplate | undefined;
|
|
5444
|
-
readonly l?: csstype.Property.GridTemplate | undefined;
|
|
5445
|
-
readonly xl?: csstype.Property.GridTemplate | undefined;
|
|
5446
|
-
} | undefined;
|
|
5447
|
-
__brand__?: "platform-web" | {
|
|
5448
|
-
readonly base?: "platform-web" | undefined;
|
|
5449
|
-
readonly xs?: "platform-web" | undefined;
|
|
5450
|
-
readonly s?: "platform-web" | undefined;
|
|
5451
|
-
readonly m?: "platform-web" | undefined;
|
|
5452
|
-
readonly l?: "platform-web" | undefined;
|
|
5453
|
-
readonly xl?: "platform-web" | undefined;
|
|
5454
|
-
} | undefined;
|
|
5455
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow"> & Pick<{
|
|
5456
|
-
width: SpacingValueType | {
|
|
5457
|
-
readonly base?: SpacingValueType | undefined;
|
|
5458
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5459
|
-
readonly s?: SpacingValueType | undefined;
|
|
5460
|
-
readonly m?: SpacingValueType | undefined;
|
|
5461
|
-
readonly l?: SpacingValueType | undefined;
|
|
5462
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5463
|
-
};
|
|
5464
|
-
display?: csstype.Property.Display | {
|
|
5465
|
-
readonly base?: csstype.Property.Display | undefined;
|
|
5466
|
-
readonly xs?: csstype.Property.Display | undefined;
|
|
5467
|
-
readonly s?: csstype.Property.Display | undefined;
|
|
5468
|
-
readonly m?: csstype.Property.Display | undefined;
|
|
5469
|
-
readonly l?: csstype.Property.Display | undefined;
|
|
5470
|
-
readonly xl?: csstype.Property.Display | undefined;
|
|
5471
|
-
} | undefined;
|
|
5472
|
-
height: SpacingValueType | {
|
|
5473
|
-
readonly base?: SpacingValueType | undefined;
|
|
5474
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5475
|
-
readonly s?: SpacingValueType | undefined;
|
|
5476
|
-
readonly m?: SpacingValueType | undefined;
|
|
5477
|
-
readonly l?: SpacingValueType | undefined;
|
|
5478
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5479
|
-
};
|
|
5480
|
-
maxHeight: SpacingValueType | {
|
|
5481
|
-
readonly base?: SpacingValueType | undefined;
|
|
5482
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5483
|
-
readonly s?: SpacingValueType | undefined;
|
|
5484
|
-
readonly m?: SpacingValueType | undefined;
|
|
5485
|
-
readonly l?: SpacingValueType | undefined;
|
|
5486
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5487
|
-
};
|
|
5488
|
-
maxWidth: SpacingValueType | {
|
|
5489
|
-
readonly base?: SpacingValueType | undefined;
|
|
5490
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5491
|
-
readonly s?: SpacingValueType | undefined;
|
|
5492
|
-
readonly m?: SpacingValueType | undefined;
|
|
5493
|
-
readonly l?: SpacingValueType | undefined;
|
|
5494
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5495
|
-
};
|
|
5496
|
-
minHeight: SpacingValueType | {
|
|
5497
|
-
readonly base?: SpacingValueType | undefined;
|
|
5498
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5499
|
-
readonly s?: SpacingValueType | undefined;
|
|
5500
|
-
readonly m?: SpacingValueType | undefined;
|
|
5501
|
-
readonly l?: SpacingValueType | undefined;
|
|
5502
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5503
|
-
};
|
|
5504
|
-
minWidth: SpacingValueType | {
|
|
5505
|
-
readonly base?: SpacingValueType | undefined;
|
|
5506
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5507
|
-
readonly s?: SpacingValueType | undefined;
|
|
5508
|
-
readonly m?: SpacingValueType | undefined;
|
|
5509
|
-
readonly l?: SpacingValueType | undefined;
|
|
5510
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5511
|
-
};
|
|
5512
|
-
overflowX?: csstype.Property.OverflowX | {
|
|
5513
|
-
readonly base?: csstype.Property.OverflowX | undefined;
|
|
5514
|
-
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
5515
|
-
readonly s?: csstype.Property.OverflowX | undefined;
|
|
5516
|
-
readonly m?: csstype.Property.OverflowX | undefined;
|
|
5517
|
-
readonly l?: csstype.Property.OverflowX | undefined;
|
|
5518
|
-
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
5519
|
-
} | undefined;
|
|
5520
|
-
overflowY?: csstype.Property.OverflowY | {
|
|
5521
|
-
readonly base?: csstype.Property.OverflowY | undefined;
|
|
5522
|
-
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
5523
|
-
readonly s?: csstype.Property.OverflowY | undefined;
|
|
5524
|
-
readonly m?: csstype.Property.OverflowY | undefined;
|
|
5525
|
-
readonly l?: csstype.Property.OverflowY | undefined;
|
|
5526
|
-
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
5527
|
-
} | undefined;
|
|
5528
|
-
textAlign?: csstype.Property.TextAlign | {
|
|
5529
|
-
readonly base?: csstype.Property.TextAlign | undefined;
|
|
5530
|
-
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
5531
|
-
readonly s?: csstype.Property.TextAlign | undefined;
|
|
5532
|
-
readonly m?: csstype.Property.TextAlign | undefined;
|
|
5533
|
-
readonly l?: csstype.Property.TextAlign | undefined;
|
|
5534
|
-
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
5535
|
-
} | undefined;
|
|
5536
|
-
overflow?: csstype.Property.Overflow | {
|
|
5537
|
-
readonly base?: csstype.Property.Overflow | undefined;
|
|
5538
|
-
readonly xs?: csstype.Property.Overflow | undefined;
|
|
5539
|
-
readonly s?: csstype.Property.Overflow | undefined;
|
|
5540
|
-
readonly m?: csstype.Property.Overflow | undefined;
|
|
5541
|
-
readonly l?: csstype.Property.Overflow | undefined;
|
|
5542
|
-
readonly xl?: csstype.Property.Overflow | undefined;
|
|
5543
|
-
} | undefined;
|
|
5544
|
-
__brand__?: "platform-web" | {
|
|
5545
|
-
readonly base?: "platform-web" | undefined;
|
|
5546
|
-
readonly xs?: "platform-web" | undefined;
|
|
5547
|
-
readonly s?: "platform-web" | undefined;
|
|
5548
|
-
readonly m?: "platform-web" | undefined;
|
|
5549
|
-
readonly l?: "platform-web" | undefined;
|
|
5550
|
-
readonly xl?: "platform-web" | undefined;
|
|
5551
|
-
} | undefined;
|
|
5552
|
-
}, "display">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
5553
|
-
|
|
5554
|
-
declare type PasswordInputExtraProps = {
|
|
5555
|
-
/**
|
|
5556
|
-
* Shows a reveal button to toggle password visibility
|
|
5557
|
-
*
|
|
5558
|
-
* @default true
|
|
5559
|
-
*/
|
|
5560
|
-
showRevealButton?: boolean;
|
|
5561
|
-
/**
|
|
5562
|
-
* Displays asterisk (`*`) when `isRequired` is enabled
|
|
5563
|
-
*
|
|
5564
|
-
* @default none
|
|
5565
|
-
*/
|
|
5566
|
-
necessityIndicator?: Exclude<BaseInputProps['necessityIndicator'], 'optional'>;
|
|
5567
|
-
/**
|
|
5568
|
-
* Determines what autoComplete suggestion type to show. Defaults to using platform heuristics.
|
|
5569
|
-
*
|
|
5570
|
-
* It's not recommended to turn this off in favor of safe password practices.
|
|
5571
|
-
* Providing `password` or `newPassword` is more informative to the platform for browser autofill or password managers.
|
|
5572
|
-
*
|
|
5573
|
-
* **Note**: Using `newPassword` on iOS has some [known issue](https://github.com/facebook/react-native/issues/21911) on React Native
|
|
5574
|
-
*
|
|
5575
|
-
* Internally it'll render platform specific attributes:
|
|
5576
|
-
*
|
|
5577
|
-
* - web: `autocomplete`
|
|
5578
|
-
* - iOS: `textContentType`
|
|
5579
|
-
* - android: `autoComplete`
|
|
5580
|
-
*
|
|
5581
|
-
*/
|
|
5582
|
-
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
5583
|
-
};
|
|
5584
|
-
declare type PasswordInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'maxCharacters' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'isDisabled' | 'defaultValue' | 'placeholder' | 'isRequired' | 'value' | 'onChange' | 'onBlur' | 'onSubmit' | 'onFocus' | 'name' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'testID'> & PasswordInputExtraProps & StyledPropsBlade$1;
|
|
5585
|
-
declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "value" | "label" | "onBlur" | "onFocus" | "defaultValue" | "onChange" | "onSubmit" | "autoFocus" | "isDisabled" | "labelPosition" | "isRequired" | "validationState" | "helpText" | "errorText" | "successText" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
5586
|
-
bottom: SpacingValueType | {
|
|
5587
|
-
readonly base?: SpacingValueType | undefined;
|
|
5588
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5589
|
-
readonly s?: SpacingValueType | undefined;
|
|
5590
|
-
readonly m?: SpacingValueType | undefined;
|
|
5591
|
-
readonly l?: SpacingValueType | undefined;
|
|
5592
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5593
|
-
};
|
|
5594
|
-
left: SpacingValueType | {
|
|
5595
|
-
readonly base?: SpacingValueType | undefined;
|
|
5596
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5597
|
-
readonly s?: SpacingValueType | undefined;
|
|
5598
|
-
readonly m?: SpacingValueType | undefined;
|
|
5599
|
-
readonly l?: SpacingValueType | undefined;
|
|
5600
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5601
|
-
};
|
|
5602
|
-
position?: csstype.Property.Position | {
|
|
5603
|
-
readonly base?: csstype.Property.Position | undefined;
|
|
5604
|
-
readonly xs?: csstype.Property.Position | undefined;
|
|
5605
|
-
readonly s?: csstype.Property.Position | undefined;
|
|
5606
|
-
readonly m?: csstype.Property.Position | undefined;
|
|
5607
|
-
readonly l?: csstype.Property.Position | undefined;
|
|
5608
|
-
readonly xl?: csstype.Property.Position | undefined;
|
|
5609
|
-
} | undefined;
|
|
5610
|
-
right: SpacingValueType | {
|
|
5611
|
-
readonly base?: SpacingValueType | undefined;
|
|
5612
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5613
|
-
readonly s?: SpacingValueType | undefined;
|
|
5614
|
-
readonly m?: SpacingValueType | undefined;
|
|
5615
|
-
readonly l?: SpacingValueType | undefined;
|
|
5616
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5617
|
-
};
|
|
5618
|
-
top: SpacingValueType | {
|
|
5619
|
-
readonly base?: SpacingValueType | undefined;
|
|
5620
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5621
|
-
readonly s?: SpacingValueType | undefined;
|
|
5622
|
-
readonly m?: SpacingValueType | undefined;
|
|
5623
|
-
readonly l?: SpacingValueType | undefined;
|
|
5624
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5625
|
-
};
|
|
5626
|
-
zIndex?: csstype.Property.ZIndex | {
|
|
5627
|
-
readonly base?: csstype.Property.ZIndex | undefined;
|
|
5628
|
-
readonly xs?: csstype.Property.ZIndex | undefined;
|
|
5629
|
-
readonly s?: csstype.Property.ZIndex | undefined;
|
|
5630
|
-
readonly m?: csstype.Property.ZIndex | undefined;
|
|
5631
|
-
readonly l?: csstype.Property.ZIndex | undefined;
|
|
5632
|
-
readonly xl?: csstype.Property.ZIndex | undefined;
|
|
5633
|
-
} | undefined;
|
|
5634
|
-
__brand__?: "platform-web" | {
|
|
5635
|
-
readonly base?: "platform-web" | undefined;
|
|
5636
|
-
readonly xs?: "platform-web" | undefined;
|
|
5637
|
-
readonly s?: "platform-web" | undefined;
|
|
5638
|
-
readonly m?: "platform-web" | undefined;
|
|
5639
|
-
readonly l?: "platform-web" | undefined;
|
|
5640
|
-
readonly xl?: "platform-web" | undefined;
|
|
5641
|
-
} | undefined;
|
|
5642
|
-
} & Pick<{
|
|
5643
|
-
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
5644
|
-
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5645
|
-
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5646
|
-
readonly s?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5647
|
-
readonly m?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5648
|
-
readonly l?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5649
|
-
readonly xl?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5650
|
-
} | undefined;
|
|
5651
|
-
gridAutoFlow?: csstype.Property.GridAutoFlow | {
|
|
5652
|
-
readonly base?: csstype.Property.GridAutoFlow | undefined;
|
|
5653
|
-
readonly xs?: csstype.Property.GridAutoFlow | undefined;
|
|
5654
|
-
readonly s?: csstype.Property.GridAutoFlow | undefined;
|
|
5655
|
-
readonly m?: csstype.Property.GridAutoFlow | undefined;
|
|
5656
|
-
readonly l?: csstype.Property.GridAutoFlow | undefined;
|
|
5657
|
-
readonly xl?: csstype.Property.GridAutoFlow | undefined;
|
|
5658
|
-
} | undefined;
|
|
5659
|
-
gridAutoRows?: csstype.Property.GridAutoRows<string | number> | {
|
|
5660
|
-
readonly base?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5661
|
-
readonly xs?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5662
|
-
readonly s?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5663
|
-
readonly m?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5664
|
-
readonly l?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5665
|
-
readonly xl?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5666
|
-
} | undefined;
|
|
5667
|
-
gridColumnEnd?: csstype.Property.GridColumnEnd | {
|
|
5668
|
-
readonly base?: csstype.Property.GridColumnEnd | undefined;
|
|
5669
|
-
readonly xs?: csstype.Property.GridColumnEnd | undefined;
|
|
5670
|
-
readonly s?: csstype.Property.GridColumnEnd | undefined;
|
|
5671
|
-
readonly m?: csstype.Property.GridColumnEnd | undefined;
|
|
5672
|
-
readonly l?: csstype.Property.GridColumnEnd | undefined;
|
|
5673
|
-
readonly xl?: csstype.Property.GridColumnEnd | undefined;
|
|
5674
|
-
} | undefined;
|
|
5675
|
-
gridColumnStart?: csstype.Property.GridColumnStart | {
|
|
5676
|
-
readonly base?: csstype.Property.GridColumnStart | undefined;
|
|
5677
|
-
readonly xs?: csstype.Property.GridColumnStart | undefined;
|
|
5678
|
-
readonly s?: csstype.Property.GridColumnStart | undefined;
|
|
5679
|
-
readonly m?: csstype.Property.GridColumnStart | undefined;
|
|
5680
|
-
readonly l?: csstype.Property.GridColumnStart | undefined;
|
|
5681
|
-
readonly xl?: csstype.Property.GridColumnStart | undefined;
|
|
5682
|
-
} | undefined;
|
|
5683
|
-
gridRowEnd?: csstype.Property.GridRowEnd | {
|
|
5684
|
-
readonly base?: csstype.Property.GridRowEnd | undefined;
|
|
5685
|
-
readonly xs?: csstype.Property.GridRowEnd | undefined;
|
|
5686
|
-
readonly s?: csstype.Property.GridRowEnd | undefined;
|
|
5687
|
-
readonly m?: csstype.Property.GridRowEnd | undefined;
|
|
5688
|
-
readonly l?: csstype.Property.GridRowEnd | undefined;
|
|
5689
|
-
readonly xl?: csstype.Property.GridRowEnd | undefined;
|
|
5690
|
-
} | undefined;
|
|
5691
|
-
gridRowStart?: csstype.Property.GridRowStart | {
|
|
5692
|
-
readonly base?: csstype.Property.GridRowStart | undefined;
|
|
5693
|
-
readonly xs?: csstype.Property.GridRowStart | undefined;
|
|
5694
|
-
readonly s?: csstype.Property.GridRowStart | undefined;
|
|
5695
|
-
readonly m?: csstype.Property.GridRowStart | undefined;
|
|
5696
|
-
readonly l?: csstype.Property.GridRowStart | undefined;
|
|
5697
|
-
readonly xl?: csstype.Property.GridRowStart | undefined;
|
|
5698
|
-
} | undefined;
|
|
5699
|
-
gridTemplateAreas?: csstype.Property.GridTemplateAreas | {
|
|
5700
|
-
readonly base?: csstype.Property.GridTemplateAreas | undefined;
|
|
5701
|
-
readonly xs?: csstype.Property.GridTemplateAreas | undefined;
|
|
5702
|
-
readonly s?: csstype.Property.GridTemplateAreas | undefined;
|
|
5703
|
-
readonly m?: csstype.Property.GridTemplateAreas | undefined;
|
|
5704
|
-
readonly l?: csstype.Property.GridTemplateAreas | undefined;
|
|
5705
|
-
readonly xl?: csstype.Property.GridTemplateAreas | undefined;
|
|
5706
|
-
} | undefined;
|
|
5707
|
-
gridTemplateColumns?: csstype.Property.GridTemplateColumns<string | number> | {
|
|
5708
|
-
readonly base?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5709
|
-
readonly xs?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5710
|
-
readonly s?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5711
|
-
readonly m?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5712
|
-
readonly l?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5713
|
-
readonly xl?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
5714
|
-
} | undefined;
|
|
5715
|
-
gridTemplateRows?: csstype.Property.GridTemplateRows<string | number> | {
|
|
5716
|
-
readonly base?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5717
|
-
readonly xs?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5718
|
-
readonly s?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5719
|
-
readonly m?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5720
|
-
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5721
|
-
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
5722
|
-
} | undefined;
|
|
5723
|
-
grid?: csstype.Property.Grid | {
|
|
5724
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
5725
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
5726
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
5727
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
5728
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
5729
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
5730
|
-
} | undefined;
|
|
5731
|
-
gridArea?: csstype.Property.GridArea | {
|
|
5732
|
-
readonly base?: csstype.Property.GridArea | undefined;
|
|
5733
|
-
readonly xs?: csstype.Property.GridArea | undefined;
|
|
5734
|
-
readonly s?: csstype.Property.GridArea | undefined;
|
|
5735
|
-
readonly m?: csstype.Property.GridArea | undefined;
|
|
5736
|
-
readonly l?: csstype.Property.GridArea | undefined;
|
|
5737
|
-
readonly xl?: csstype.Property.GridArea | undefined;
|
|
5738
|
-
} | undefined;
|
|
5739
|
-
gridColumn?: csstype.Property.GridColumn | {
|
|
5740
|
-
readonly base?: csstype.Property.GridColumn | undefined;
|
|
5741
|
-
readonly xs?: csstype.Property.GridColumn | undefined;
|
|
5742
|
-
readonly s?: csstype.Property.GridColumn | undefined;
|
|
5743
|
-
readonly m?: csstype.Property.GridColumn | undefined;
|
|
5744
|
-
readonly l?: csstype.Property.GridColumn | undefined;
|
|
5745
|
-
readonly xl?: csstype.Property.GridColumn | undefined;
|
|
5746
|
-
} | undefined;
|
|
5747
|
-
gridRow?: csstype.Property.GridRow | {
|
|
5748
|
-
readonly base?: csstype.Property.GridRow | undefined;
|
|
5749
|
-
readonly xs?: csstype.Property.GridRow | undefined;
|
|
5750
|
-
readonly s?: csstype.Property.GridRow | undefined;
|
|
5751
|
-
readonly m?: csstype.Property.GridRow | undefined;
|
|
5752
|
-
readonly l?: csstype.Property.GridRow | undefined;
|
|
5753
|
-
readonly xl?: csstype.Property.GridRow | undefined;
|
|
5754
|
-
} | undefined;
|
|
5755
|
-
gridTemplate?: csstype.Property.GridTemplate | {
|
|
5756
|
-
readonly base?: csstype.Property.GridTemplate | undefined;
|
|
5757
|
-
readonly xs?: csstype.Property.GridTemplate | undefined;
|
|
5758
|
-
readonly s?: csstype.Property.GridTemplate | undefined;
|
|
5759
|
-
readonly m?: csstype.Property.GridTemplate | undefined;
|
|
5760
|
-
readonly l?: csstype.Property.GridTemplate | undefined;
|
|
5761
|
-
readonly xl?: csstype.Property.GridTemplate | undefined;
|
|
5762
|
-
} | undefined;
|
|
5763
|
-
__brand__?: "platform-web" | {
|
|
5764
|
-
readonly base?: "platform-web" | undefined;
|
|
5765
|
-
readonly xs?: "platform-web" | undefined;
|
|
5766
|
-
readonly s?: "platform-web" | undefined;
|
|
5767
|
-
readonly m?: "platform-web" | undefined;
|
|
5768
|
-
readonly l?: "platform-web" | undefined;
|
|
5769
|
-
readonly xl?: "platform-web" | undefined;
|
|
5770
|
-
} | undefined;
|
|
5771
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow"> & Pick<{
|
|
5772
|
-
width: SpacingValueType | {
|
|
5773
|
-
readonly base?: SpacingValueType | undefined;
|
|
5774
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5775
|
-
readonly s?: SpacingValueType | undefined;
|
|
5776
|
-
readonly m?: SpacingValueType | undefined;
|
|
5777
|
-
readonly l?: SpacingValueType | undefined;
|
|
5778
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5779
|
-
};
|
|
5780
|
-
display?: csstype.Property.Display | {
|
|
5781
|
-
readonly base?: csstype.Property.Display | undefined;
|
|
5782
|
-
readonly xs?: csstype.Property.Display | undefined;
|
|
5783
|
-
readonly s?: csstype.Property.Display | undefined;
|
|
5784
|
-
readonly m?: csstype.Property.Display | undefined;
|
|
5785
|
-
readonly l?: csstype.Property.Display | undefined;
|
|
5786
|
-
readonly xl?: csstype.Property.Display | undefined;
|
|
5787
|
-
} | undefined;
|
|
5788
|
-
height: SpacingValueType | {
|
|
5789
|
-
readonly base?: SpacingValueType | undefined;
|
|
5790
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5791
|
-
readonly s?: SpacingValueType | undefined;
|
|
5792
|
-
readonly m?: SpacingValueType | undefined;
|
|
5793
|
-
readonly l?: SpacingValueType | undefined;
|
|
5794
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5795
|
-
};
|
|
5796
|
-
maxHeight: SpacingValueType | {
|
|
5797
|
-
readonly base?: SpacingValueType | undefined;
|
|
5798
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5799
|
-
readonly s?: SpacingValueType | undefined;
|
|
5800
|
-
readonly m?: SpacingValueType | undefined;
|
|
5801
|
-
readonly l?: SpacingValueType | undefined;
|
|
5802
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5803
|
-
};
|
|
5804
|
-
maxWidth: SpacingValueType | {
|
|
5805
|
-
readonly base?: SpacingValueType | undefined;
|
|
5806
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5807
|
-
readonly s?: SpacingValueType | undefined;
|
|
5808
|
-
readonly m?: SpacingValueType | undefined;
|
|
5809
|
-
readonly l?: SpacingValueType | undefined;
|
|
5810
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5811
|
-
};
|
|
5812
|
-
minHeight: SpacingValueType | {
|
|
5813
|
-
readonly base?: SpacingValueType | undefined;
|
|
5814
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5815
|
-
readonly s?: SpacingValueType | undefined;
|
|
5816
|
-
readonly m?: SpacingValueType | undefined;
|
|
5817
|
-
readonly l?: SpacingValueType | undefined;
|
|
5818
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5819
|
-
};
|
|
5820
|
-
minWidth: SpacingValueType | {
|
|
5821
|
-
readonly base?: SpacingValueType | undefined;
|
|
5822
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5823
|
-
readonly s?: SpacingValueType | undefined;
|
|
5824
|
-
readonly m?: SpacingValueType | undefined;
|
|
5825
|
-
readonly l?: SpacingValueType | undefined;
|
|
5826
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5827
|
-
};
|
|
5828
|
-
overflowX?: csstype.Property.OverflowX | {
|
|
5829
|
-
readonly base?: csstype.Property.OverflowX | undefined;
|
|
5830
|
-
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
5831
|
-
readonly s?: csstype.Property.OverflowX | undefined;
|
|
5832
|
-
readonly m?: csstype.Property.OverflowX | undefined;
|
|
5833
|
-
readonly l?: csstype.Property.OverflowX | undefined;
|
|
5834
|
-
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
5835
|
-
} | undefined;
|
|
5836
|
-
overflowY?: csstype.Property.OverflowY | {
|
|
5837
|
-
readonly base?: csstype.Property.OverflowY | undefined;
|
|
5838
|
-
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
5839
|
-
readonly s?: csstype.Property.OverflowY | undefined;
|
|
5840
|
-
readonly m?: csstype.Property.OverflowY | undefined;
|
|
5841
|
-
readonly l?: csstype.Property.OverflowY | undefined;
|
|
5842
|
-
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
5843
|
-
} | undefined;
|
|
5844
|
-
textAlign?: csstype.Property.TextAlign | {
|
|
5845
|
-
readonly base?: csstype.Property.TextAlign | undefined;
|
|
5846
|
-
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
5847
|
-
readonly s?: csstype.Property.TextAlign | undefined;
|
|
5848
|
-
readonly m?: csstype.Property.TextAlign | undefined;
|
|
5849
|
-
readonly l?: csstype.Property.TextAlign | undefined;
|
|
5850
|
-
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
5851
|
-
} | undefined;
|
|
5852
|
-
overflow?: csstype.Property.Overflow | {
|
|
5853
|
-
readonly base?: csstype.Property.Overflow | undefined;
|
|
5854
|
-
readonly xs?: csstype.Property.Overflow | undefined;
|
|
5855
|
-
readonly s?: csstype.Property.Overflow | undefined;
|
|
5856
|
-
readonly m?: csstype.Property.Overflow | undefined;
|
|
5857
|
-
readonly l?: csstype.Property.Overflow | undefined;
|
|
5858
|
-
readonly xl?: csstype.Property.Overflow | undefined;
|
|
5859
|
-
} | undefined;
|
|
5860
|
-
__brand__?: "platform-web" | {
|
|
5861
|
-
readonly base?: "platform-web" | undefined;
|
|
5862
|
-
readonly xs?: "platform-web" | undefined;
|
|
5863
|
-
readonly s?: "platform-web" | undefined;
|
|
5864
|
-
readonly m?: "platform-web" | undefined;
|
|
5865
|
-
readonly l?: "platform-web" | undefined;
|
|
5866
|
-
readonly xl?: "platform-web" | undefined;
|
|
5867
|
-
} | undefined;
|
|
5868
|
-
}, "display">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
5869
|
-
|
|
5870
|
-
declare type TextAreaProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'onSubmit' | 'value' | 'isDisabled' | 'isRequired' | 'maxCharacters' | 'autoFocus' | 'numberOfLines' | 'testID'> & {
|
|
5871
|
-
/**
|
|
5872
|
-
* Decides whether to render a clear icon button
|
|
5873
|
-
*/
|
|
5874
|
-
showClearButton?: boolean;
|
|
5875
|
-
/**
|
|
5876
|
-
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
5877
|
-
*/
|
|
5878
|
-
onClearButtonClick?: () => void;
|
|
5879
|
-
} & StyledPropsBlade$1;
|
|
5880
|
-
declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "placeholder" | "name" | "testID" | "value" | "label" | "onBlur" | "onFocus" | "defaultValue" | "onChange" | "onSubmit" | "autoFocus" | "numberOfLines" | "isDisabled" | "labelPosition" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "maxCharacters"> & {
|
|
5881
|
-
/**
|
|
5882
|
-
* Decides whether to render a clear icon button
|
|
5883
|
-
*/
|
|
5884
|
-
showClearButton?: boolean | undefined;
|
|
5885
|
-
/**
|
|
5886
|
-
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
5887
|
-
*/
|
|
5888
|
-
onClearButtonClick?: (() => void) | undefined;
|
|
5889
|
-
} & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
5890
|
-
bottom: SpacingValueType | {
|
|
5891
|
-
readonly base?: SpacingValueType | undefined;
|
|
5892
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5893
|
-
readonly s?: SpacingValueType | undefined;
|
|
5894
|
-
readonly m?: SpacingValueType | undefined;
|
|
5895
|
-
readonly l?: SpacingValueType | undefined;
|
|
5896
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5897
|
-
};
|
|
5898
|
-
left: SpacingValueType | {
|
|
5899
|
-
readonly base?: SpacingValueType | undefined;
|
|
5900
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5901
|
-
readonly s?: SpacingValueType | undefined;
|
|
5902
|
-
readonly m?: SpacingValueType | undefined;
|
|
5903
|
-
readonly l?: SpacingValueType | undefined;
|
|
5904
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5905
|
-
};
|
|
5906
|
-
position?: csstype.Property.Position | {
|
|
5907
|
-
readonly base?: csstype.Property.Position | undefined;
|
|
5908
|
-
readonly xs?: csstype.Property.Position | undefined;
|
|
5909
|
-
readonly s?: csstype.Property.Position | undefined;
|
|
5910
|
-
readonly m?: csstype.Property.Position | undefined;
|
|
5911
|
-
readonly l?: csstype.Property.Position | undefined;
|
|
5912
|
-
readonly xl?: csstype.Property.Position | undefined;
|
|
5913
|
-
} | undefined;
|
|
5914
|
-
right: SpacingValueType | {
|
|
5915
|
-
readonly base?: SpacingValueType | undefined;
|
|
5916
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5917
|
-
readonly s?: SpacingValueType | undefined;
|
|
5918
|
-
readonly m?: SpacingValueType | undefined;
|
|
5919
|
-
readonly l?: SpacingValueType | undefined;
|
|
5920
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5921
|
-
};
|
|
5922
|
-
top: SpacingValueType | {
|
|
5923
|
-
readonly base?: SpacingValueType | undefined;
|
|
5924
|
-
readonly xs?: SpacingValueType | undefined;
|
|
5925
|
-
readonly s?: SpacingValueType | undefined;
|
|
5926
|
-
readonly m?: SpacingValueType | undefined;
|
|
5927
|
-
readonly l?: SpacingValueType | undefined;
|
|
5928
|
-
readonly xl?: SpacingValueType | undefined;
|
|
5929
|
-
};
|
|
5930
|
-
zIndex?: csstype.Property.ZIndex | {
|
|
5931
|
-
readonly base?: csstype.Property.ZIndex | undefined;
|
|
5932
|
-
readonly xs?: csstype.Property.ZIndex | undefined;
|
|
5933
|
-
readonly s?: csstype.Property.ZIndex | undefined;
|
|
5934
|
-
readonly m?: csstype.Property.ZIndex | undefined;
|
|
5935
|
-
readonly l?: csstype.Property.ZIndex | undefined;
|
|
5936
|
-
readonly xl?: csstype.Property.ZIndex | undefined;
|
|
5937
|
-
} | undefined;
|
|
5938
|
-
__brand__?: "platform-web" | {
|
|
5939
|
-
readonly base?: "platform-web" | undefined;
|
|
5940
|
-
readonly xs?: "platform-web" | undefined;
|
|
5941
|
-
readonly s?: "platform-web" | undefined;
|
|
5942
|
-
readonly m?: "platform-web" | undefined;
|
|
5943
|
-
readonly l?: "platform-web" | undefined;
|
|
5944
|
-
readonly xl?: "platform-web" | undefined;
|
|
5945
|
-
} | undefined;
|
|
5946
|
-
} & Pick<{
|
|
5947
|
-
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
5948
|
-
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5949
|
-
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5950
|
-
readonly s?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5951
|
-
readonly m?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5952
|
-
readonly l?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5953
|
-
readonly xl?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
5954
|
-
} | undefined;
|
|
5955
|
-
gridAutoFlow?: csstype.Property.GridAutoFlow | {
|
|
5956
|
-
readonly base?: csstype.Property.GridAutoFlow | undefined;
|
|
5957
|
-
readonly xs?: csstype.Property.GridAutoFlow | undefined;
|
|
5958
|
-
readonly s?: csstype.Property.GridAutoFlow | undefined;
|
|
5959
|
-
readonly m?: csstype.Property.GridAutoFlow | undefined;
|
|
5960
|
-
readonly l?: csstype.Property.GridAutoFlow | undefined;
|
|
5961
|
-
readonly xl?: csstype.Property.GridAutoFlow | undefined;
|
|
5962
|
-
} | undefined;
|
|
5963
|
-
gridAutoRows?: csstype.Property.GridAutoRows<string | number> | {
|
|
5964
|
-
readonly base?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5965
|
-
readonly xs?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5966
|
-
readonly s?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5967
|
-
readonly m?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5968
|
-
readonly l?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5969
|
-
readonly xl?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
5970
|
-
} | undefined;
|
|
5971
|
-
gridColumnEnd?: csstype.Property.GridColumnEnd | {
|
|
5972
|
-
readonly base?: csstype.Property.GridColumnEnd | undefined;
|
|
5973
|
-
readonly xs?: csstype.Property.GridColumnEnd | undefined;
|
|
5974
|
-
readonly s?: csstype.Property.GridColumnEnd | undefined;
|
|
5975
|
-
readonly m?: csstype.Property.GridColumnEnd | undefined;
|
|
5976
|
-
readonly l?: csstype.Property.GridColumnEnd | undefined;
|
|
5977
|
-
readonly xl?: csstype.Property.GridColumnEnd | undefined;
|
|
5978
|
-
} | undefined;
|
|
5979
|
-
gridColumnStart?: csstype.Property.GridColumnStart | {
|
|
5980
|
-
readonly base?: csstype.Property.GridColumnStart | undefined;
|
|
5981
|
-
readonly xs?: csstype.Property.GridColumnStart | undefined;
|
|
5982
|
-
readonly s?: csstype.Property.GridColumnStart | undefined;
|
|
5983
|
-
readonly m?: csstype.Property.GridColumnStart | undefined;
|
|
5984
|
-
readonly l?: csstype.Property.GridColumnStart | undefined;
|
|
5985
|
-
readonly xl?: csstype.Property.GridColumnStart | undefined;
|
|
5986
|
-
} | undefined;
|
|
5987
|
-
gridRowEnd?: csstype.Property.GridRowEnd | {
|
|
5988
|
-
readonly base?: csstype.Property.GridRowEnd | undefined;
|
|
5989
|
-
readonly xs?: csstype.Property.GridRowEnd | undefined;
|
|
5990
|
-
readonly s?: csstype.Property.GridRowEnd | undefined;
|
|
5991
|
-
readonly m?: csstype.Property.GridRowEnd | undefined;
|
|
5992
|
-
readonly l?: csstype.Property.GridRowEnd | undefined;
|
|
5993
|
-
readonly xl?: csstype.Property.GridRowEnd | undefined;
|
|
5994
|
-
} | undefined;
|
|
5995
|
-
gridRowStart?: csstype.Property.GridRowStart | {
|
|
5996
|
-
readonly base?: csstype.Property.GridRowStart | undefined;
|
|
5997
|
-
readonly xs?: csstype.Property.GridRowStart | undefined;
|
|
5998
|
-
readonly s?: csstype.Property.GridRowStart | undefined;
|
|
5999
|
-
readonly m?: csstype.Property.GridRowStart | undefined;
|
|
6000
|
-
readonly l?: csstype.Property.GridRowStart | undefined;
|
|
6001
|
-
readonly xl?: csstype.Property.GridRowStart | undefined;
|
|
6002
|
-
} | undefined;
|
|
6003
|
-
gridTemplateAreas?: csstype.Property.GridTemplateAreas | {
|
|
6004
|
-
readonly base?: csstype.Property.GridTemplateAreas | undefined;
|
|
6005
|
-
readonly xs?: csstype.Property.GridTemplateAreas | undefined;
|
|
6006
|
-
readonly s?: csstype.Property.GridTemplateAreas | undefined;
|
|
6007
|
-
readonly m?: csstype.Property.GridTemplateAreas | undefined;
|
|
6008
|
-
readonly l?: csstype.Property.GridTemplateAreas | undefined;
|
|
6009
|
-
readonly xl?: csstype.Property.GridTemplateAreas | undefined;
|
|
6010
|
-
} | undefined;
|
|
6011
|
-
gridTemplateColumns?: csstype.Property.GridTemplateColumns<string | number> | {
|
|
6012
|
-
readonly base?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
6013
|
-
readonly xs?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
6014
|
-
readonly s?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
6015
|
-
readonly m?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
6016
|
-
readonly l?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
6017
|
-
readonly xl?: csstype.Property.GridTemplateColumns<string | number> | undefined;
|
|
6018
|
-
} | undefined;
|
|
6019
|
-
gridTemplateRows?: csstype.Property.GridTemplateRows<string | number> | {
|
|
6020
|
-
readonly base?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6021
|
-
readonly xs?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6022
|
-
readonly s?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6023
|
-
readonly m?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6024
|
-
readonly l?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6025
|
-
readonly xl?: csstype.Property.GridTemplateRows<string | number> | undefined;
|
|
6026
|
-
} | undefined;
|
|
6027
|
-
grid?: csstype.Property.Grid | {
|
|
6028
|
-
readonly base?: csstype.Property.Grid | undefined;
|
|
6029
|
-
readonly xs?: csstype.Property.Grid | undefined;
|
|
6030
|
-
readonly s?: csstype.Property.Grid | undefined;
|
|
6031
|
-
readonly m?: csstype.Property.Grid | undefined;
|
|
6032
|
-
readonly l?: csstype.Property.Grid | undefined;
|
|
6033
|
-
readonly xl?: csstype.Property.Grid | undefined;
|
|
6034
|
-
} | undefined;
|
|
6035
|
-
gridArea?: csstype.Property.GridArea | {
|
|
6036
|
-
readonly base?: csstype.Property.GridArea | undefined;
|
|
6037
|
-
readonly xs?: csstype.Property.GridArea | undefined;
|
|
6038
|
-
readonly s?: csstype.Property.GridArea | undefined;
|
|
6039
|
-
readonly m?: csstype.Property.GridArea | undefined;
|
|
6040
|
-
readonly l?: csstype.Property.GridArea | undefined;
|
|
6041
|
-
readonly xl?: csstype.Property.GridArea | undefined;
|
|
6042
|
-
} | undefined;
|
|
6043
|
-
gridColumn?: csstype.Property.GridColumn | {
|
|
6044
|
-
readonly base?: csstype.Property.GridColumn | undefined;
|
|
6045
|
-
readonly xs?: csstype.Property.GridColumn | undefined;
|
|
6046
|
-
readonly s?: csstype.Property.GridColumn | undefined;
|
|
6047
|
-
readonly m?: csstype.Property.GridColumn | undefined;
|
|
6048
|
-
readonly l?: csstype.Property.GridColumn | undefined;
|
|
6049
|
-
readonly xl?: csstype.Property.GridColumn | undefined;
|
|
6050
|
-
} | undefined;
|
|
6051
|
-
gridRow?: csstype.Property.GridRow | {
|
|
6052
|
-
readonly base?: csstype.Property.GridRow | undefined;
|
|
6053
|
-
readonly xs?: csstype.Property.GridRow | undefined;
|
|
6054
|
-
readonly s?: csstype.Property.GridRow | undefined;
|
|
6055
|
-
readonly m?: csstype.Property.GridRow | undefined;
|
|
6056
|
-
readonly l?: csstype.Property.GridRow | undefined;
|
|
6057
|
-
readonly xl?: csstype.Property.GridRow | undefined;
|
|
6058
|
-
} | undefined;
|
|
6059
|
-
gridTemplate?: csstype.Property.GridTemplate | {
|
|
6060
|
-
readonly base?: csstype.Property.GridTemplate | undefined;
|
|
6061
|
-
readonly xs?: csstype.Property.GridTemplate | undefined;
|
|
6062
|
-
readonly s?: csstype.Property.GridTemplate | undefined;
|
|
6063
|
-
readonly m?: csstype.Property.GridTemplate | undefined;
|
|
6064
|
-
readonly l?: csstype.Property.GridTemplate | undefined;
|
|
6065
|
-
readonly xl?: csstype.Property.GridTemplate | undefined;
|
|
6066
|
-
} | undefined;
|
|
6067
|
-
__brand__?: "platform-web" | {
|
|
6068
|
-
readonly base?: "platform-web" | undefined;
|
|
6069
|
-
readonly xs?: "platform-web" | undefined;
|
|
6070
|
-
readonly s?: "platform-web" | undefined;
|
|
6071
|
-
readonly m?: "platform-web" | undefined;
|
|
6072
|
-
readonly l?: "platform-web" | undefined;
|
|
6073
|
-
readonly xl?: "platform-web" | undefined;
|
|
6074
|
-
} | undefined;
|
|
6075
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow"> & Pick<{
|
|
6076
|
-
width: SpacingValueType | {
|
|
6077
|
-
readonly base?: SpacingValueType | undefined;
|
|
6078
|
-
readonly xs?: SpacingValueType | undefined;
|
|
6079
|
-
readonly s?: SpacingValueType | undefined;
|
|
6080
|
-
readonly m?: SpacingValueType | undefined;
|
|
6081
|
-
readonly l?: SpacingValueType | undefined;
|
|
6082
|
-
readonly xl?: SpacingValueType | undefined;
|
|
6083
|
-
};
|
|
6084
|
-
display?: csstype.Property.Display | {
|
|
6085
|
-
readonly base?: csstype.Property.Display | undefined;
|
|
6086
|
-
readonly xs?: csstype.Property.Display | undefined;
|
|
6087
|
-
readonly s?: csstype.Property.Display | undefined;
|
|
6088
|
-
readonly m?: csstype.Property.Display | undefined;
|
|
6089
|
-
readonly l?: csstype.Property.Display | undefined;
|
|
6090
|
-
readonly xl?: csstype.Property.Display | undefined;
|
|
6091
|
-
} | undefined;
|
|
6092
|
-
height: SpacingValueType | {
|
|
6093
|
-
readonly base?: SpacingValueType | undefined;
|
|
6094
|
-
readonly xs?: SpacingValueType | undefined;
|
|
6095
|
-
readonly s?: SpacingValueType | undefined;
|
|
6096
|
-
readonly m?: SpacingValueType | undefined;
|
|
6097
|
-
readonly l?: SpacingValueType | undefined;
|
|
6098
|
-
readonly xl?: SpacingValueType | undefined;
|
|
6099
|
-
};
|
|
6100
|
-
maxHeight: SpacingValueType | {
|
|
6101
|
-
readonly base?: SpacingValueType | undefined;
|
|
6102
|
-
readonly xs?: SpacingValueType | undefined;
|
|
6103
|
-
readonly s?: SpacingValueType | undefined;
|
|
6104
|
-
readonly m?: SpacingValueType | undefined;
|
|
6105
|
-
readonly l?: SpacingValueType | undefined;
|
|
6106
|
-
readonly xl?: SpacingValueType | undefined;
|
|
6107
|
-
};
|
|
6108
|
-
maxWidth: SpacingValueType | {
|
|
6109
|
-
readonly base?: SpacingValueType | undefined;
|
|
6110
|
-
readonly xs?: SpacingValueType | undefined;
|
|
6111
|
-
readonly s?: SpacingValueType | undefined;
|
|
6112
|
-
readonly m?: SpacingValueType | undefined;
|
|
6113
|
-
readonly l?: SpacingValueType | undefined;
|
|
6114
|
-
readonly xl?: SpacingValueType | undefined;
|
|
6115
|
-
};
|
|
6116
|
-
minHeight: SpacingValueType | {
|
|
6117
|
-
readonly base?: SpacingValueType | undefined;
|
|
6118
|
-
readonly xs?: SpacingValueType | undefined;
|
|
6119
|
-
readonly s?: SpacingValueType | undefined;
|
|
6120
|
-
readonly m?: SpacingValueType | undefined;
|
|
6121
|
-
readonly l?: SpacingValueType | undefined;
|
|
6122
|
-
readonly xl?: SpacingValueType | undefined;
|
|
6123
|
-
};
|
|
6124
|
-
minWidth: SpacingValueType | {
|
|
6125
|
-
readonly base?: SpacingValueType | undefined;
|
|
6126
|
-
readonly xs?: SpacingValueType | undefined;
|
|
6127
|
-
readonly s?: SpacingValueType | undefined;
|
|
6128
|
-
readonly m?: SpacingValueType | undefined;
|
|
6129
|
-
readonly l?: SpacingValueType | undefined;
|
|
6130
|
-
readonly xl?: SpacingValueType | undefined;
|
|
6131
|
-
};
|
|
6132
|
-
overflowX?: csstype.Property.OverflowX | {
|
|
6133
|
-
readonly base?: csstype.Property.OverflowX | undefined;
|
|
6134
|
-
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
6135
|
-
readonly s?: csstype.Property.OverflowX | undefined;
|
|
6136
|
-
readonly m?: csstype.Property.OverflowX | undefined;
|
|
6137
|
-
readonly l?: csstype.Property.OverflowX | undefined;
|
|
6138
|
-
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
6139
|
-
} | undefined;
|
|
6140
|
-
overflowY?: csstype.Property.OverflowY | {
|
|
6141
|
-
readonly base?: csstype.Property.OverflowY | undefined;
|
|
6142
|
-
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
6143
|
-
readonly s?: csstype.Property.OverflowY | undefined;
|
|
6144
|
-
readonly m?: csstype.Property.OverflowY | undefined;
|
|
6145
|
-
readonly l?: csstype.Property.OverflowY | undefined;
|
|
6146
|
-
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
6147
|
-
} | undefined;
|
|
6148
|
-
textAlign?: csstype.Property.TextAlign | {
|
|
6149
|
-
readonly base?: csstype.Property.TextAlign | undefined;
|
|
6150
|
-
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
6151
|
-
readonly s?: csstype.Property.TextAlign | undefined;
|
|
6152
|
-
readonly m?: csstype.Property.TextAlign | undefined;
|
|
6153
|
-
readonly l?: csstype.Property.TextAlign | undefined;
|
|
6154
|
-
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
6155
|
-
} | undefined;
|
|
6156
|
-
overflow?: csstype.Property.Overflow | {
|
|
6157
|
-
readonly base?: csstype.Property.Overflow | undefined;
|
|
6158
|
-
readonly xs?: csstype.Property.Overflow | undefined;
|
|
6159
|
-
readonly s?: csstype.Property.Overflow | undefined;
|
|
6160
|
-
readonly m?: csstype.Property.Overflow | undefined;
|
|
6161
|
-
readonly l?: csstype.Property.Overflow | undefined;
|
|
6162
|
-
readonly xl?: csstype.Property.Overflow | undefined;
|
|
6163
|
-
} | undefined;
|
|
6164
|
-
__brand__?: "platform-web" | {
|
|
6165
|
-
readonly base?: "platform-web" | undefined;
|
|
6166
|
-
readonly xs?: "platform-web" | undefined;
|
|
6167
|
-
readonly s?: "platform-web" | undefined;
|
|
6168
|
-
readonly m?: "platform-web" | undefined;
|
|
6169
|
-
readonly l?: "platform-web" | undefined;
|
|
6170
|
-
readonly xl?: "platform-web" | undefined;
|
|
6171
|
-
} | undefined;
|
|
6172
|
-
}, "display">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
6173
|
-
|
|
6174
|
-
declare type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
6175
|
-
name?: string;
|
|
6176
|
-
value?: string;
|
|
6177
|
-
inputIndex: number;
|
|
6178
|
-
}) => void;
|
|
6179
|
-
declare type OTPInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID'> & {
|
|
5409
|
+
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'oneTimeCode'>;
|
|
6180
5410
|
/**
|
|
6181
|
-
*
|
|
6182
|
-
* @default 6
|
|
5411
|
+
* The callback function to be invoked when one of the input fields gets focus
|
|
6183
5412
|
*/
|
|
6184
|
-
|
|
5413
|
+
onFocus?: FormInputOnEventWithIndex;
|
|
6185
5414
|
/**
|
|
6186
|
-
* The callback function to be invoked when
|
|
5415
|
+
* The callback function to be invoked when one of the input fields is blurred
|
|
6187
5416
|
*/
|
|
6188
|
-
|
|
5417
|
+
onBlur?: FormInputOnEventWithIndex;
|
|
5418
|
+
} & StyledPropsBlade$1;
|
|
5419
|
+
declare type OTPInputPropsWithA11yLabel = {
|
|
6189
5420
|
/**
|
|
6190
|
-
*
|
|
5421
|
+
* Label to be shown for the input field
|
|
6191
5422
|
*/
|
|
6192
|
-
|
|
5423
|
+
label?: undefined;
|
|
6193
5424
|
/**
|
|
6194
|
-
*
|
|
6195
|
-
*
|
|
6196
|
-
* It's not recommended to turn this off in favor of otp input practices.
|
|
6197
|
-
*
|
|
6198
|
-
*
|
|
6199
|
-
* Internally it'll render platform specific attributes:
|
|
6200
|
-
*
|
|
6201
|
-
* - web: `autocomplete`
|
|
6202
|
-
* - iOS: `textContentType`
|
|
6203
|
-
* - android: `autoComplete`
|
|
6204
|
-
*
|
|
5425
|
+
* Accessibility label for the input
|
|
6205
5426
|
*/
|
|
6206
|
-
|
|
5427
|
+
accessibilityLabel: string;
|
|
5428
|
+
};
|
|
5429
|
+
declare type OTPInputPropsWithLabel = {
|
|
6207
5430
|
/**
|
|
6208
|
-
*
|
|
5431
|
+
* Label to be shown for the input field
|
|
6209
5432
|
*/
|
|
6210
|
-
|
|
5433
|
+
label: string;
|
|
6211
5434
|
/**
|
|
6212
|
-
*
|
|
5435
|
+
* Accessibility label for the input
|
|
6213
5436
|
*/
|
|
6214
|
-
|
|
6215
|
-
}
|
|
5437
|
+
accessibilityLabel?: string;
|
|
5438
|
+
};
|
|
5439
|
+
declare type OTPInputProps = (OTPInputPropsWithA11yLabel | OTPInputPropsWithLabel) & OTPInputCommonProps;
|
|
6216
5440
|
/**
|
|
6217
5441
|
* OTPInput component can be used for accepting OTPs sent to users for authentication/verification purposes.
|
|
6218
5442
|
*
|
|
@@ -6227,9 +5451,9 @@ declare type OTPInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'v
|
|
|
6227
5451
|
* />
|
|
6228
5452
|
* ```
|
|
6229
5453
|
*/
|
|
6230
|
-
declare const OTPInput: ({ autoFocus, errorText, helpText, isDisabled, keyboardReturnKeyType, keyboardType, label, labelPosition, name, onChange, onFocus, onBlur, onOTPFilled, otpLength, placeholder, successText, validationState, value, isMasked, autoCompleteSuggestionType, testID, ...styledProps }: OTPInputProps) => React__default.ReactElement;
|
|
5454
|
+
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;
|
|
6231
5455
|
|
|
6232
|
-
declare type
|
|
5456
|
+
declare type SelectInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'autoFocus' | 'onClick' | 'onFocus' | 'onBlur' | 'placeholder' | 'testID'> & {
|
|
6233
5457
|
icon?: IconComponent$1;
|
|
6234
5458
|
/**
|
|
6235
5459
|
* Controlled value of the Select. Use it in combination of `onChange`.
|
|
@@ -6246,6 +5470,27 @@ declare type SelectInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' |
|
|
|
6246
5470
|
values: string[];
|
|
6247
5471
|
}) => void;
|
|
6248
5472
|
};
|
|
5473
|
+
declare type SelectInputPropsWithA11yLabel = {
|
|
5474
|
+
/**
|
|
5475
|
+
* Label to be shown for the input field
|
|
5476
|
+
*/
|
|
5477
|
+
label?: undefined;
|
|
5478
|
+
/**
|
|
5479
|
+
* Accessibility label for the input
|
|
5480
|
+
*/
|
|
5481
|
+
accessibilityLabel: string;
|
|
5482
|
+
};
|
|
5483
|
+
declare type SelectInputPropsWithLabel = {
|
|
5484
|
+
/**
|
|
5485
|
+
* Label to be shown for the input field
|
|
5486
|
+
*/
|
|
5487
|
+
label: string;
|
|
5488
|
+
/**
|
|
5489
|
+
* Accessibility label for the input
|
|
5490
|
+
*/
|
|
5491
|
+
accessibilityLabel?: string;
|
|
5492
|
+
};
|
|
5493
|
+
declare type SelectInputProps = (SelectInputPropsWithA11yLabel | SelectInputPropsWithLabel) & SelectInputCommonProps;
|
|
6249
5494
|
/**
|
|
6250
5495
|
* ### SelectInput
|
|
6251
5496
|
*
|
|
@@ -6273,23 +5518,7 @@ declare type SelectInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' |
|
|
|
6273
5518
|
*
|
|
6274
5519
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-select--with-single-select SelectInput Documentation}.
|
|
6275
5520
|
*/
|
|
6276
|
-
declare const SelectInput: React__default.ForwardRefExoticComponent<
|
|
6277
|
-
icon?: IconComponent$1 | undefined;
|
|
6278
|
-
/**
|
|
6279
|
-
* Controlled value of the Select. Use it in combination of `onChange`.
|
|
6280
|
-
*
|
|
6281
|
-
* Check out [Controlled Dropdown Documentation](https://blade.razorpay.com/?path=/story/components-dropdown-with-select--controlled-dropdown&globals=measureEnabled:false) for example.
|
|
6282
|
-
*/
|
|
6283
|
-
value?: string | string[] | undefined;
|
|
6284
|
-
/**
|
|
6285
|
-
* Used to set the default value of SelectInput when it's uncontrolled. Use `value` instead for controlled SelectInput
|
|
6286
|
-
*/
|
|
6287
|
-
defaultValue?: string | string[] | undefined;
|
|
6288
|
-
onChange?: (({ name, values }: {
|
|
6289
|
-
name?: string | undefined;
|
|
6290
|
-
values: string[];
|
|
6291
|
-
}) => void) | undefined;
|
|
6292
|
-
} & React__default.RefAttributes<BladeElementRef>>;
|
|
5521
|
+
declare const SelectInput: React__default.ForwardRefExoticComponent<SelectInputProps & React__default.RefAttributes<BladeElementRef>>;
|
|
6293
5522
|
|
|
6294
5523
|
declare type IndicatorCommonProps = {
|
|
6295
5524
|
/**
|
|
@@ -7552,6 +6781,70 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
7552
6781
|
} | undefined;
|
|
7553
6782
|
}, "display">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
7554
6783
|
|
|
6784
|
+
declare type TagProps = {
|
|
6785
|
+
/**
|
|
6786
|
+
* Decides the size of Tag
|
|
6787
|
+
*
|
|
6788
|
+
* @default medium
|
|
6789
|
+
*/
|
|
6790
|
+
size?: 'medium' | 'large';
|
|
6791
|
+
/**
|
|
6792
|
+
* Leading icon for your Tag
|
|
6793
|
+
*/
|
|
6794
|
+
icon?: IconComponent$1;
|
|
6795
|
+
/**
|
|
6796
|
+
* Callback when close icon on Tag is clicked
|
|
6797
|
+
*/
|
|
6798
|
+
onDismiss: () => void;
|
|
6799
|
+
/**
|
|
6800
|
+
* Text that renders inside Tag
|
|
6801
|
+
*/
|
|
6802
|
+
children: StringChildrenType;
|
|
6803
|
+
/**
|
|
6804
|
+
* Disable tag
|
|
6805
|
+
*/
|
|
6806
|
+
isDisabled?: boolean;
|
|
6807
|
+
/**
|
|
6808
|
+
* Private property for Blade.
|
|
6809
|
+
*
|
|
6810
|
+
* Should not be used by consumers.
|
|
6811
|
+
*
|
|
6812
|
+
* Used for adding virtual focus on tag.
|
|
6813
|
+
*
|
|
6814
|
+
* @private
|
|
6815
|
+
*
|
|
6816
|
+
*/
|
|
6817
|
+
_isTagFocussed?: boolean;
|
|
6818
|
+
} & StyledPropsBlade$1 & TestID$1;
|
|
6819
|
+
/**
|
|
6820
|
+
* ## Tags
|
|
6821
|
+
*
|
|
6822
|
+
* Tag component can be used to display selected items on UI.
|
|
6823
|
+
*
|
|
6824
|
+
* ### Usage
|
|
6825
|
+
*
|
|
6826
|
+
* ***Note:*** _Make sure to handle state when using Tag_
|
|
6827
|
+
*
|
|
6828
|
+
* ```jsx
|
|
6829
|
+
* const [showTag, setShowTag] = React.useState(true);
|
|
6830
|
+
*
|
|
6831
|
+
* // ...
|
|
6832
|
+
*
|
|
6833
|
+
* {showTag && (
|
|
6834
|
+
* <Tag
|
|
6835
|
+
* icon={CheckIcon}
|
|
6836
|
+
* onDismiss={() => setShowTag(false)}
|
|
6837
|
+
* >
|
|
6838
|
+
* Transactions
|
|
6839
|
+
* </Tag>
|
|
6840
|
+
* )}
|
|
6841
|
+
* ```
|
|
6842
|
+
*
|
|
6843
|
+
* Checkout [Tags Documentation](https://blade.razorpay.com/?path=/story/components-tag--default) for more info.
|
|
6844
|
+
*
|
|
6845
|
+
*/
|
|
6846
|
+
declare const Tag: ({ size, icon, onDismiss, children, isDisabled, testID, _isTagFocussed, ...styledProps }: TagProps) => React__default.ReactElement | null;
|
|
6847
|
+
|
|
7555
6848
|
declare type BladeCommonEvents = {
|
|
7556
6849
|
onBlur?: Platform.Select<{
|
|
7557
6850
|
native: undefined | ((event: any) => void);
|
|
@@ -8424,4 +7717,4 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8424
7717
|
tabIndex: -1;
|
|
8425
7718
|
}, "tabIndex">;
|
|
8426
7719
|
|
|
8427
|
-
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionDivider, 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, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, 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, 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,
|
|
7720
|
+
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionDivider, 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, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, 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, 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, SelectInputProps, 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 };
|