@razorpay/blade 12.37.0 → 12.39.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/lib/native/components/Accordion/AccordionItem.js +1 -1
- package/build/lib/native/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/native/components/Alert/Alert.js +2 -1
- package/build/lib/native/components/Alert/Alert.js.map +1 -1
- package/build/lib/native/components/Card/Card.js +1 -1
- package/build/lib/native/components/Card/Card.js.map +1 -1
- package/build/lib/native/components/Card/CardContext.js +2 -2
- package/build/lib/native/components/Card/CardContext.js.map +1 -1
- package/build/lib/native/components/Card/CardFooter.js +2 -1
- package/build/lib/native/components/Card/CardFooter.js.map +1 -1
- package/build/lib/native/components/Card/CardHeader.js +3 -3
- package/build/lib/native/components/Card/CardHeader.js.map +1 -1
- package/build/lib/native/components/Chip/Chip.js +1 -1
- package/build/lib/native/components/Chip/Chip.js.map +1 -1
- package/build/lib/native/components/Form/FormLabel.js +1 -1
- package/build/lib/native/components/Form/FormLabel.js.map +1 -1
- package/build/lib/native/components/Input/BaseInput/BaseInput.js +1 -1
- package/build/lib/native/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/native/components/Input/BaseInput/BaseInputVisuals.js +1 -1
- package/build/lib/native/components/Input/BaseInput/BaseInputVisuals.js.map +1 -1
- package/build/lib/native/components/Input/OTPInput/OTPInput.js +1 -1
- package/build/lib/native/components/Input/OTPInput/OTPInput.js.map +1 -1
- package/build/lib/native/components/Input/PasswordInput/PasswordInput.js +1 -1
- package/build/lib/native/components/Input/PasswordInput/PasswordInput.js.map +1 -1
- package/build/lib/native/components/Input/SearchInput/SearchInput.js +1 -1
- package/build/lib/native/components/Input/SearchInput/SearchInput.js.map +1 -1
- package/build/lib/native/components/Input/TextArea/TextArea.js +1 -1
- package/build/lib/native/components/Input/TextArea/TextArea.js.map +1 -1
- package/build/lib/native/components/Input/TextInput/TextInput.js +1 -1
- package/build/lib/native/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/native/components/List/ListItem.js +1 -1
- package/build/lib/native/components/List/ListItem.js.map +1 -1
- package/build/lib/native/components/QuickFilters/QuickFilter.js +1 -1
- package/build/lib/native/components/QuickFilters/QuickFilter.js.map +1 -1
- package/build/lib/native/utils/makeAnalyticsAttribute/makeAnalyticsConstants.js +4 -0
- package/build/lib/native/utils/makeAnalyticsAttribute/makeAnalyticsConstants.js.map +1 -0
- package/build/lib/web/development/components/Accordion/AccordionButton.web.js +5 -7
- package/build/lib/web/development/components/Accordion/AccordionButton.web.js.map +1 -1
- package/build/lib/web/development/components/Accordion/AccordionItem.js +7 -5
- package/build/lib/web/development/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/web/development/components/Alert/Alert.js +2 -0
- package/build/lib/web/development/components/Alert/Alert.js.map +1 -1
- package/build/lib/web/development/components/Avatar/AvatarButton.js +3 -0
- package/build/lib/web/development/components/Avatar/AvatarButton.js.map +1 -1
- package/build/lib/web/development/components/Card/Card.js +4 -1
- package/build/lib/web/development/components/Card/Card.js.map +1 -1
- package/build/lib/web/development/components/Card/CardContext.js +11 -6
- package/build/lib/web/development/components/Card/CardContext.js.map +1 -1
- package/build/lib/web/development/components/Card/CardFooter.js +3 -0
- package/build/lib/web/development/components/Card/CardFooter.js.map +1 -1
- package/build/lib/web/development/components/Card/CardHeader.js +38 -44
- package/build/lib/web/development/components/Card/CardHeader.js.map +1 -1
- package/build/lib/web/development/components/Chip/Chip.js +5 -5
- package/build/lib/web/development/components/Chip/Chip.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/BaseDatePicker.web.js +6 -2
- package/build/lib/web/development/components/DatePicker/BaseDatePicker.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/Calendar.web.js +4 -2
- package/build/lib/web/development/components/DatePicker/Calendar.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js +4 -0
- package/build/lib/web/development/components/DatePicker/CalendarFooter.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/DateInput.web.js +10 -4
- package/build/lib/web/development/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js +1 -0
- package/build/lib/web/development/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/QuickSelection/QuickSelectionItem.web.js +2 -1
- package/build/lib/web/development/components/DatePicker/QuickSelection/QuickSelectionItem.web.js.map +1 -1
- package/build/lib/web/development/components/FileUpload/FileUploadItem.js +3 -0
- package/build/lib/web/development/components/FileUpload/FileUploadItem.js.map +1 -1
- package/build/lib/web/development/components/Form/FormLabel.js +24 -4
- package/build/lib/web/development/components/Form/FormLabel.js.map +1 -1
- package/build/lib/web/development/components/Input/BaseInput/BaseInput.js +6 -2
- package/build/lib/web/development/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/web/development/components/Input/BaseInput/BaseInputVisuals.js +1 -1
- package/build/lib/web/development/components/Input/BaseInput/BaseInputVisuals.js.map +1 -1
- package/build/lib/web/development/components/Input/OTPInput/OTPInput.js +5 -1
- package/build/lib/web/development/components/Input/OTPInput/OTPInput.js.map +1 -1
- package/build/lib/web/development/components/Input/PasswordInput/PasswordInput.js +5 -1
- package/build/lib/web/development/components/Input/PasswordInput/PasswordInput.js.map +1 -1
- package/build/lib/web/development/components/Input/PhoneNumberInput/PhoneNumberInput.web.js +5 -1
- package/build/lib/web/development/components/Input/PhoneNumberInput/PhoneNumberInput.web.js.map +1 -1
- package/build/lib/web/development/components/Input/SearchInput/SearchInput.js +5 -1
- package/build/lib/web/development/components/Input/SearchInput/SearchInput.js.map +1 -1
- package/build/lib/web/development/components/Input/TextArea/TextArea.js +5 -1
- package/build/lib/web/development/components/Input/TextArea/TextArea.js.map +1 -1
- package/build/lib/web/development/components/Input/TextInput/TextInput.js +5 -1
- package/build/lib/web/development/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/development/components/List/ListItem.js +1 -1
- package/build/lib/web/development/components/List/ListItem.js.map +1 -1
- package/build/lib/web/development/components/Modal/Modal.web.js +6 -7
- package/build/lib/web/development/components/Modal/Modal.web.js.map +1 -1
- package/build/lib/web/development/components/Preview/Preview.web.js +8 -7
- package/build/lib/web/development/components/Preview/Preview.web.js.map +1 -1
- package/build/lib/web/development/components/QuickFilters/QuickFilter.js +9 -7
- package/build/lib/web/development/components/QuickFilters/QuickFilter.js.map +1 -1
- package/build/lib/web/development/components/SpotlightPopoverTour/TourFooter.web.js +12 -2
- package/build/lib/web/development/components/SpotlightPopoverTour/TourFooter.web.js.map +1 -1
- package/build/lib/web/development/components/Table/Table.web.js +6 -3
- package/build/lib/web/development/components/Table/Table.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableBody.web.js +5 -3
- package/build/lib/web/development/components/Table/TableBody.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableEditableCell.web.js +11 -8
- package/build/lib/web/development/components/Table/TableEditableCell.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableHeader.web.js +4 -2
- package/build/lib/web/development/components/Table/TableHeader.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TablePagination.web.js +12 -6
- package/build/lib/web/development/components/Table/TablePagination.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableToolbar.web.js +5 -8
- package/build/lib/web/development/components/Table/TableToolbar.web.js.map +1 -1
- package/build/lib/web/development/components/Toast/Toast.web.js +2 -0
- package/build/lib/web/development/components/Toast/Toast.web.js.map +1 -1
- package/build/lib/web/development/utils/makeAnalyticsAttribute/index.js +1 -0
- package/build/lib/web/development/utils/makeAnalyticsAttribute/index.js.map +1 -1
- package/build/lib/web/development/utils/makeAnalyticsAttribute/makeAnalyticsConstants.js +32 -0
- package/build/lib/web/development/utils/makeAnalyticsAttribute/makeAnalyticsConstants.js.map +1 -0
- package/build/lib/web/production/components/Accordion/AccordionButton.web.js +5 -7
- package/build/lib/web/production/components/Accordion/AccordionButton.web.js.map +1 -1
- package/build/lib/web/production/components/Accordion/AccordionItem.js +7 -5
- package/build/lib/web/production/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/web/production/components/Alert/Alert.js +2 -0
- package/build/lib/web/production/components/Alert/Alert.js.map +1 -1
- package/build/lib/web/production/components/Avatar/AvatarButton.js +3 -0
- package/build/lib/web/production/components/Avatar/AvatarButton.js.map +1 -1
- package/build/lib/web/production/components/Card/Card.js +4 -1
- package/build/lib/web/production/components/Card/Card.js.map +1 -1
- package/build/lib/web/production/components/Card/CardContext.js +11 -6
- package/build/lib/web/production/components/Card/CardContext.js.map +1 -1
- package/build/lib/web/production/components/Card/CardFooter.js +3 -0
- package/build/lib/web/production/components/Card/CardFooter.js.map +1 -1
- package/build/lib/web/production/components/Card/CardHeader.js +38 -44
- package/build/lib/web/production/components/Card/CardHeader.js.map +1 -1
- package/build/lib/web/production/components/Chip/Chip.js +5 -5
- package/build/lib/web/production/components/Chip/Chip.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/BaseDatePicker.web.js +6 -2
- package/build/lib/web/production/components/DatePicker/BaseDatePicker.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/Calendar.web.js +4 -2
- package/build/lib/web/production/components/DatePicker/Calendar.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js +4 -0
- package/build/lib/web/production/components/DatePicker/CalendarFooter.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/DateInput.web.js +10 -4
- package/build/lib/web/production/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js +1 -0
- package/build/lib/web/production/components/DatePicker/QuickSelection/PresetSideBar.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/QuickSelection/QuickSelectionItem.web.js +2 -1
- package/build/lib/web/production/components/DatePicker/QuickSelection/QuickSelectionItem.web.js.map +1 -1
- package/build/lib/web/production/components/FileUpload/FileUploadItem.js +3 -0
- package/build/lib/web/production/components/FileUpload/FileUploadItem.js.map +1 -1
- package/build/lib/web/production/components/Form/FormLabel.js +24 -4
- package/build/lib/web/production/components/Form/FormLabel.js.map +1 -1
- package/build/lib/web/production/components/Input/BaseInput/BaseInput.js +6 -2
- package/build/lib/web/production/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/web/production/components/Input/BaseInput/BaseInputVisuals.js +1 -1
- package/build/lib/web/production/components/Input/BaseInput/BaseInputVisuals.js.map +1 -1
- package/build/lib/web/production/components/Input/OTPInput/OTPInput.js +5 -1
- package/build/lib/web/production/components/Input/OTPInput/OTPInput.js.map +1 -1
- package/build/lib/web/production/components/Input/PasswordInput/PasswordInput.js +5 -1
- package/build/lib/web/production/components/Input/PasswordInput/PasswordInput.js.map +1 -1
- package/build/lib/web/production/components/Input/PhoneNumberInput/PhoneNumberInput.web.js +5 -1
- package/build/lib/web/production/components/Input/PhoneNumberInput/PhoneNumberInput.web.js.map +1 -1
- package/build/lib/web/production/components/Input/SearchInput/SearchInput.js +5 -1
- package/build/lib/web/production/components/Input/SearchInput/SearchInput.js.map +1 -1
- package/build/lib/web/production/components/Input/TextArea/TextArea.js +5 -1
- package/build/lib/web/production/components/Input/TextArea/TextArea.js.map +1 -1
- package/build/lib/web/production/components/Input/TextInput/TextInput.js +5 -1
- package/build/lib/web/production/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/production/components/List/ListItem.js +1 -1
- package/build/lib/web/production/components/List/ListItem.js.map +1 -1
- package/build/lib/web/production/components/Modal/Modal.web.js +6 -7
- package/build/lib/web/production/components/Modal/Modal.web.js.map +1 -1
- package/build/lib/web/production/components/Preview/Preview.web.js +8 -7
- package/build/lib/web/production/components/Preview/Preview.web.js.map +1 -1
- package/build/lib/web/production/components/QuickFilters/QuickFilter.js +9 -7
- package/build/lib/web/production/components/QuickFilters/QuickFilter.js.map +1 -1
- package/build/lib/web/production/components/SpotlightPopoverTour/TourFooter.web.js +12 -2
- package/build/lib/web/production/components/SpotlightPopoverTour/TourFooter.web.js.map +1 -1
- package/build/lib/web/production/components/Table/Table.web.js +6 -3
- package/build/lib/web/production/components/Table/Table.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableBody.web.js +5 -3
- package/build/lib/web/production/components/Table/TableBody.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableEditableCell.web.js +11 -8
- package/build/lib/web/production/components/Table/TableEditableCell.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableHeader.web.js +4 -2
- package/build/lib/web/production/components/Table/TableHeader.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TablePagination.web.js +12 -6
- package/build/lib/web/production/components/Table/TablePagination.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableToolbar.web.js +5 -8
- package/build/lib/web/production/components/Table/TableToolbar.web.js.map +1 -1
- package/build/lib/web/production/components/Toast/Toast.web.js +2 -0
- package/build/lib/web/production/components/Toast/Toast.web.js.map +1 -1
- package/build/lib/web/production/utils/makeAnalyticsAttribute/index.js +1 -0
- package/build/lib/web/production/utils/makeAnalyticsAttribute/index.js.map +1 -1
- package/build/lib/web/production/utils/makeAnalyticsAttribute/makeAnalyticsConstants.js +32 -0
- package/build/lib/web/production/utils/makeAnalyticsAttribute/makeAnalyticsConstants.js.map +1 -0
- package/build/types/components/index.d.ts +44 -11
- package/build/types/components/index.native.d.ts +40 -9
- package/package.json +1 -1
|
@@ -9815,6 +9815,12 @@ type CardProps = {
|
|
|
9815
9815
|
* Callback triggered when the card is hovered
|
|
9816
9816
|
*/
|
|
9817
9817
|
onHover?: () => void;
|
|
9818
|
+
/**
|
|
9819
|
+
* Sets the size of the card header title
|
|
9820
|
+
*
|
|
9821
|
+
* @default 'large'
|
|
9822
|
+
*/
|
|
9823
|
+
size?: 'large' | 'medium';
|
|
9818
9824
|
/**
|
|
9819
9825
|
* Callback triggered when the card is clicked
|
|
9820
9826
|
*/
|
|
@@ -9947,6 +9953,12 @@ declare const Card: React__default.ForwardRefExoticComponent<{
|
|
|
9947
9953
|
* Callback triggered when the card is hovered
|
|
9948
9954
|
*/
|
|
9949
9955
|
onHover?: (() => void) | undefined;
|
|
9956
|
+
/**
|
|
9957
|
+
* Sets the size of the card header title
|
|
9958
|
+
*
|
|
9959
|
+
* @default 'large'
|
|
9960
|
+
*/
|
|
9961
|
+
size?: "medium" | "large" | undefined;
|
|
9950
9962
|
/**
|
|
9951
9963
|
* Callback triggered when the card is clicked
|
|
9952
9964
|
*/
|
|
@@ -12465,7 +12477,7 @@ type CardHeaderLeadingProps = {
|
|
|
12465
12477
|
/**
|
|
12466
12478
|
* suffix element of Card
|
|
12467
12479
|
*
|
|
12468
|
-
*
|
|
12480
|
+
* it add marginLeft to `CardHeaderCounter`,`CardHeaderLink` components by default.
|
|
12469
12481
|
*/
|
|
12470
12482
|
suffix?: React__default.ReactNode;
|
|
12471
12483
|
} & DataAnalyticsAttribute;
|
|
@@ -12474,7 +12486,6 @@ type CardHeaderTrailingProps = {
|
|
|
12474
12486
|
/**
|
|
12475
12487
|
* Renders a visual ornament in card header trailing section
|
|
12476
12488
|
*
|
|
12477
|
-
* Accepts: `CardHeaderLink`, `CardHeaderText`, `CardHeaderIconButton`, `CardHeaderBadge`
|
|
12478
12489
|
*/
|
|
12479
12490
|
visual?: React__default.ReactNode;
|
|
12480
12491
|
};
|
|
@@ -15114,6 +15125,25 @@ type FormInputLabelProps = {
|
|
|
15114
15125
|
* Displays `(optional)` when `optional` is passed or `*` when `required` is passed
|
|
15115
15126
|
*/
|
|
15116
15127
|
necessityIndicator?: 'required' | 'optional' | 'none';
|
|
15128
|
+
/**
|
|
15129
|
+
* Suffix element to be shown for the input field
|
|
15130
|
+
*
|
|
15131
|
+
* @example
|
|
15132
|
+
* ```jsx
|
|
15133
|
+
* labelSuffix={
|
|
15134
|
+
* <Tooltip content="This is a tooltip" placement="right">
|
|
15135
|
+
* <TooltipInteractiveWrapper>
|
|
15136
|
+
* <InfoIcon size="small" color="surface.icon.gray.subtle" />
|
|
15137
|
+
* </TooltipInteractiveWrapper>
|
|
15138
|
+
* </Tooltip>
|
|
15139
|
+
* }
|
|
15140
|
+
* ```
|
|
15141
|
+
*/
|
|
15142
|
+
labelSuffix?: React__default.ReactNode;
|
|
15143
|
+
/**
|
|
15144
|
+
* Trailing element to be shown for the input field
|
|
15145
|
+
*/
|
|
15146
|
+
labelTrailing?: React__default.ReactNode;
|
|
15117
15147
|
};
|
|
15118
15148
|
|
|
15119
15149
|
type FormInputOnEvent = ({ name, value, rawValue, }: {
|
|
@@ -15496,7 +15526,7 @@ type TaggedInputProps = {
|
|
|
15496
15526
|
};
|
|
15497
15527
|
|
|
15498
15528
|
type Type = Exclude<BaseInputProps['type'], 'password'>;
|
|
15499
|
-
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' | 'onClick' | 'size' | 'leadingIcon' | 'trailingButton' | 'trailingIcon' | 'textAlign' | keyof DataAnalyticsAttribute> & {
|
|
15529
|
+
type TextInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | 'leadingIcon' | 'trailingButton' | 'trailingIcon' | 'textAlign' | keyof DataAnalyticsAttribute> & {
|
|
15500
15530
|
/**
|
|
15501
15531
|
* Decides whether to render a clear icon button
|
|
15502
15532
|
*/
|
|
@@ -15739,7 +15769,7 @@ type DatePickerCommonInputProps = {
|
|
|
15739
15769
|
labelPosition?: BaseInputProps['labelPosition'];
|
|
15740
15770
|
inputRef: React.Ref<any>;
|
|
15741
15771
|
referenceProps: any;
|
|
15742
|
-
} & Pick<TextInputProps, 'size' | 'isRequired' | 'necessityIndicator' | 'autoFocus' | 'isDisabled' | 'accessibilityLabel'> & FormInputValidationProps;
|
|
15772
|
+
} & Pick<TextInputProps, 'size' | 'isRequired' | 'necessityIndicator' | 'autoFocus' | 'isDisabled' | 'accessibilityLabel' | 'labelSuffix' | 'labelTrailing'> & FormInputValidationProps;
|
|
15743
15773
|
type FilterChipDatePickerProps = Omit<DatePickerProps<'single' | 'range'>, 'label'> & {
|
|
15744
15774
|
/**
|
|
15745
15775
|
* Sets the label for the input element.
|
|
@@ -18990,7 +19020,7 @@ type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
|
18990
19020
|
value?: string;
|
|
18991
19021
|
inputIndex: number;
|
|
18992
19022
|
}) => void;
|
|
18993
|
-
type OTPInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
19023
|
+
type OTPInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
18994
19024
|
/**
|
|
18995
19025
|
* Determines the number of input fields to show for the OTP
|
|
18996
19026
|
* @default 6
|
|
@@ -19080,7 +19110,7 @@ type PasswordInputExtraProps = {
|
|
|
19080
19110
|
*/
|
|
19081
19111
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
19082
19112
|
};
|
|
19083
|
-
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' | 'size' | keyof DataAnalyticsAttribute> & PasswordInputExtraProps & StyledPropsBlade;
|
|
19113
|
+
type PasswordInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'maxCharacters' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'isDisabled' | 'defaultValue' | 'placeholder' | 'isRequired' | 'value' | 'onChange' | 'onBlur' | 'onSubmit' | 'onFocus' | 'name' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & PasswordInputExtraProps & StyledPropsBlade;
|
|
19084
19114
|
type PasswordInputPropsWithA11yLabel = {
|
|
19085
19115
|
/**
|
|
19086
19116
|
* Label to be shown for the input field
|
|
@@ -19104,7 +19134,7 @@ type PasswordInputPropsWithLabel = {
|
|
|
19104
19134
|
type PasswordInputProps = (PasswordInputPropsWithA11yLabel | PasswordInputPropsWithLabel) & PasswordInputCommonProps;
|
|
19105
19135
|
declare const PasswordInput: React__default.ForwardRefExoticComponent<PasswordInputProps & React__default.RefAttributes<BladeElementRef>>;
|
|
19106
19136
|
|
|
19107
|
-
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' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
19137
|
+
type TextAreaCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'onSubmit' | 'value' | 'isDisabled' | 'isRequired' | 'maxCharacters' | 'autoFocus' | 'numberOfLines' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
19108
19138
|
/**
|
|
19109
19139
|
* Decides whether to render a clear icon button
|
|
19110
19140
|
*/
|
|
@@ -19142,7 +19172,7 @@ type TextAreaPropsWithLabel = {
|
|
|
19142
19172
|
type TextAreaProps = (TextAreaPropsWithA11yLabel | TextAreaPropsWithLabel) & TextAreaCommonProps;
|
|
19143
19173
|
declare const TextArea: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<BladeElementRef>>;
|
|
19144
19174
|
|
|
19145
|
-
type SearchInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'helpText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'autoFocus' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
19175
|
+
type SearchInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'helpText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'autoFocus' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
19146
19176
|
/**
|
|
19147
19177
|
* Event handler to handle the onClick event for clear button.
|
|
19148
19178
|
*/
|
|
@@ -19772,6 +19802,8 @@ declare const PhoneNumberInput: React__default.ForwardRefExoticComponent<Partial
|
|
|
19772
19802
|
errorText?: string | undefined;
|
|
19773
19803
|
successText?: string | undefined;
|
|
19774
19804
|
necessityIndicator?: "none" | "required" | "optional" | undefined;
|
|
19805
|
+
labelSuffix?: React__default.ReactNode;
|
|
19806
|
+
labelTrailing?: React__default.ReactNode;
|
|
19775
19807
|
helpText?: string | undefined;
|
|
19776
19808
|
isRequired?: boolean | undefined;
|
|
19777
19809
|
keyboardReturnKeyType?: "search" | "default" | "next" | "done" | "go" | "previous" | "send" | undefined;
|
|
@@ -19797,7 +19829,7 @@ declare const PhoneNumberInput: React__default.ForwardRefExoticComponent<Partial
|
|
|
19797
19829
|
onClearButtonClick?: (() => void) | undefined;
|
|
19798
19830
|
} & React__default.RefAttributes<BladeElementRef>>;
|
|
19799
19831
|
|
|
19800
|
-
type CommonProps = Pick<BaseInputProps, 'size' | 'label' | 'labelPosition' | 'name' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'defaultValue' | 'necessityIndicator' | 'isRequired' | 'isDisabled' | 'onFocus' | 'onBlur' | 'onClick' | 'leadingIcon' | 'trailingIcon' | 'accessibilityLabel' | 'autoFocus' | 'testID' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'placeholder' | keyof DataAnalyticsAttribute>;
|
|
19832
|
+
type CommonProps = Pick<BaseInputProps, 'size' | 'label' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'name' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'defaultValue' | 'necessityIndicator' | 'isRequired' | 'isDisabled' | 'onFocus' | 'onBlur' | 'onClick' | 'leadingIcon' | 'trailingIcon' | 'accessibilityLabel' | 'autoFocus' | 'testID' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'placeholder' | keyof DataAnalyticsAttribute>;
|
|
19801
19833
|
type PhoneNumberInputProps = StyledPropsBlade & CommonProps & {
|
|
19802
19834
|
/**
|
|
19803
19835
|
* Default value of the input, Used to set the default value of input field when it's uncontrolled
|
|
@@ -25735,6 +25767,7 @@ type TableCellProps = {
|
|
|
25735
25767
|
} & DataAnalyticsAttribute;
|
|
25736
25768
|
type TableEditableCellProps = Pick<BaseInputProps, 'validationState' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'leadingIcon' | 'trailingButton' | 'errorText' | 'successText'> & {
|
|
25737
25769
|
accessibilityLabel: NonNullable<BaseInputProps['accessibilityLabel']>;
|
|
25770
|
+
inputType?: Extract<BaseInputProps['type'], 'text' | 'number' | 'email' | 'tel' | 'url'>;
|
|
25738
25771
|
};
|
|
25739
25772
|
type TableEditableDropdownCellProps = Pick<DropdownProps, 'children' | 'isOpen' | 'onOpenChange' | 'selectionType' | 'zIndex'>;
|
|
25740
25773
|
type TableFooterProps = {
|
|
@@ -25893,10 +25926,10 @@ declare const TableFooterCell: ({ children, textAlign, ...rest }: TableFooterCel
|
|
|
25893
25926
|
declare const TablePagination: ({ currentPage: controlledCurrentPage, onPageChange, onPageSizeChange, defaultPageSize, showPageSizePicker, showPageNumberSelector, showLabel, label, totalItemCount, paginationType, ...rest }: TablePaginationProps) => React__default.ReactElement;
|
|
25894
25927
|
|
|
25895
25928
|
declare const TableToolbarActions: ({ children, ...rest }: TableToolbarActionsProps) => React__default.ReactElement;
|
|
25896
|
-
declare const TableToolbar: ({ children, title, selectedTitle: controlledSelectedTitle,
|
|
25929
|
+
declare const TableToolbar: ({ children, title, selectedTitle: controlledSelectedTitle, }: TableToolbarProps) => React__default.ReactElement;
|
|
25897
25930
|
|
|
25898
25931
|
declare const TableEditableDropdownCell: (dropdownProps: TableEditableDropdownCellProps) => React.ReactElement;
|
|
25899
|
-
declare const TableEditableCell: ({ validationState, accessibilityLabel, autoCapitalize, autoCompleteSuggestionType, autoFocus, defaultValue, isDisabled, isRequired, keyboardReturnKeyType, leadingIcon, maxCharacters, name, onBlur, onChange, onClick, onFocus, onSubmit, placeholder, prefix, suffix, value, testID, trailingButton, errorText, successText, }: TableEditableCellProps) => React.ReactElement;
|
|
25932
|
+
declare const TableEditableCell: ({ validationState, accessibilityLabel, autoCapitalize, autoCompleteSuggestionType, autoFocus, defaultValue, isDisabled, isRequired, keyboardReturnKeyType, leadingIcon, maxCharacters, name, onBlur, onChange, onClick, onFocus, onSubmit, placeholder, prefix, suffix, value, testID, trailingButton, errorText, successText, inputType, }: TableEditableCellProps) => React.ReactElement;
|
|
25900
25933
|
|
|
25901
25934
|
/**
|
|
25902
25935
|
* ### Tabs
|
|
@@ -6152,6 +6152,12 @@ type CardProps = {
|
|
|
6152
6152
|
* Callback triggered when the card is hovered
|
|
6153
6153
|
*/
|
|
6154
6154
|
onHover?: () => void;
|
|
6155
|
+
/**
|
|
6156
|
+
* Sets the size of the card header title
|
|
6157
|
+
*
|
|
6158
|
+
* @default 'large'
|
|
6159
|
+
*/
|
|
6160
|
+
size?: 'large' | 'medium';
|
|
6155
6161
|
/**
|
|
6156
6162
|
* Callback triggered when the card is clicked
|
|
6157
6163
|
*/
|
|
@@ -6284,6 +6290,12 @@ declare const Card: React__default.ForwardRefExoticComponent<{
|
|
|
6284
6290
|
* Callback triggered when the card is hovered
|
|
6285
6291
|
*/
|
|
6286
6292
|
onHover?: (() => void) | undefined;
|
|
6293
|
+
/**
|
|
6294
|
+
* Sets the size of the card header title
|
|
6295
|
+
*
|
|
6296
|
+
* @default 'large'
|
|
6297
|
+
*/
|
|
6298
|
+
size?: "medium" | "large" | undefined;
|
|
6287
6299
|
/**
|
|
6288
6300
|
* Callback triggered when the card is clicked
|
|
6289
6301
|
*/
|
|
@@ -7934,7 +7946,7 @@ type CardHeaderLeadingProps = {
|
|
|
7934
7946
|
/**
|
|
7935
7947
|
* suffix element of Card
|
|
7936
7948
|
*
|
|
7937
|
-
*
|
|
7949
|
+
* it add marginLeft to `CardHeaderCounter`,`CardHeaderLink` components by default.
|
|
7938
7950
|
*/
|
|
7939
7951
|
suffix?: React__default.ReactNode;
|
|
7940
7952
|
} & DataAnalyticsAttribute;
|
|
@@ -7943,7 +7955,6 @@ type CardHeaderTrailingProps = {
|
|
|
7943
7955
|
/**
|
|
7944
7956
|
* Renders a visual ornament in card header trailing section
|
|
7945
7957
|
*
|
|
7946
|
-
* Accepts: `CardHeaderLink`, `CardHeaderText`, `CardHeaderIconButton`, `CardHeaderBadge`
|
|
7947
7958
|
*/
|
|
7948
7959
|
visual?: React__default.ReactNode;
|
|
7949
7960
|
};
|
|
@@ -9870,6 +9881,25 @@ type FormInputLabelProps = {
|
|
|
9870
9881
|
* Displays `(optional)` when `optional` is passed or `*` when `required` is passed
|
|
9871
9882
|
*/
|
|
9872
9883
|
necessityIndicator?: 'required' | 'optional' | 'none';
|
|
9884
|
+
/**
|
|
9885
|
+
* Suffix element to be shown for the input field
|
|
9886
|
+
*
|
|
9887
|
+
* @example
|
|
9888
|
+
* ```jsx
|
|
9889
|
+
* labelSuffix={
|
|
9890
|
+
* <Tooltip content="This is a tooltip" placement="right">
|
|
9891
|
+
* <TooltipInteractiveWrapper>
|
|
9892
|
+
* <InfoIcon size="small" color="surface.icon.gray.subtle" />
|
|
9893
|
+
* </TooltipInteractiveWrapper>
|
|
9894
|
+
* </Tooltip>
|
|
9895
|
+
* }
|
|
9896
|
+
* ```
|
|
9897
|
+
*/
|
|
9898
|
+
labelSuffix?: React__default.ReactNode;
|
|
9899
|
+
/**
|
|
9900
|
+
* Trailing element to be shown for the input field
|
|
9901
|
+
*/
|
|
9902
|
+
labelTrailing?: React__default.ReactNode;
|
|
9873
9903
|
};
|
|
9874
9904
|
|
|
9875
9905
|
type FormInputOnEvent = ({ name, value, rawValue, }: {
|
|
@@ -10252,7 +10282,7 @@ type TaggedInputProps = {
|
|
|
10252
10282
|
};
|
|
10253
10283
|
|
|
10254
10284
|
type Type = Exclude<BaseInputProps['type'], 'password'>;
|
|
10255
|
-
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' | 'onClick' | 'size' | 'leadingIcon' | 'trailingButton' | 'trailingIcon' | 'textAlign' | keyof DataAnalyticsAttribute> & {
|
|
10285
|
+
type TextInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | 'leadingIcon' | 'trailingButton' | 'trailingIcon' | 'textAlign' | keyof DataAnalyticsAttribute> & {
|
|
10256
10286
|
/**
|
|
10257
10287
|
* Decides whether to render a clear icon button
|
|
10258
10288
|
*/
|
|
@@ -10495,7 +10525,7 @@ type DatePickerCommonInputProps = {
|
|
|
10495
10525
|
labelPosition?: BaseInputProps['labelPosition'];
|
|
10496
10526
|
inputRef: React.Ref<any>;
|
|
10497
10527
|
referenceProps: any;
|
|
10498
|
-
} & Pick<TextInputProps, 'size' | 'isRequired' | 'necessityIndicator' | 'autoFocus' | 'isDisabled' | 'accessibilityLabel'> & FormInputValidationProps;
|
|
10528
|
+
} & Pick<TextInputProps, 'size' | 'isRequired' | 'necessityIndicator' | 'autoFocus' | 'isDisabled' | 'accessibilityLabel' | 'labelSuffix' | 'labelTrailing'> & FormInputValidationProps;
|
|
10499
10529
|
|
|
10500
10530
|
declare const Dropdown: React__default.ForwardRefExoticComponent<{
|
|
10501
10531
|
isOpen?: boolean | undefined;
|
|
@@ -11846,7 +11876,7 @@ type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
|
11846
11876
|
value?: string;
|
|
11847
11877
|
inputIndex: number;
|
|
11848
11878
|
}) => void;
|
|
11849
|
-
type OTPInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
11879
|
+
type OTPInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
11850
11880
|
/**
|
|
11851
11881
|
* Determines the number of input fields to show for the OTP
|
|
11852
11882
|
* @default 6
|
|
@@ -11936,7 +11966,7 @@ type PasswordInputExtraProps = {
|
|
|
11936
11966
|
*/
|
|
11937
11967
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
11938
11968
|
};
|
|
11939
|
-
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' | 'size' | keyof DataAnalyticsAttribute> & PasswordInputExtraProps & StyledPropsBlade;
|
|
11969
|
+
type PasswordInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'maxCharacters' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'isDisabled' | 'defaultValue' | 'placeholder' | 'isRequired' | 'value' | 'onChange' | 'onBlur' | 'onSubmit' | 'onFocus' | 'name' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & PasswordInputExtraProps & StyledPropsBlade;
|
|
11940
11970
|
type PasswordInputPropsWithA11yLabel = {
|
|
11941
11971
|
/**
|
|
11942
11972
|
* Label to be shown for the input field
|
|
@@ -11960,7 +11990,7 @@ type PasswordInputPropsWithLabel = {
|
|
|
11960
11990
|
type PasswordInputProps = (PasswordInputPropsWithA11yLabel | PasswordInputPropsWithLabel) & PasswordInputCommonProps;
|
|
11961
11991
|
declare const PasswordInput: React__default.ForwardRefExoticComponent<PasswordInputProps & React__default.RefAttributes<BladeElementRef>>;
|
|
11962
11992
|
|
|
11963
|
-
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' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
11993
|
+
type TextAreaCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'onSubmit' | 'value' | 'isDisabled' | 'isRequired' | 'maxCharacters' | 'autoFocus' | 'numberOfLines' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
11964
11994
|
/**
|
|
11965
11995
|
* Decides whether to render a clear icon button
|
|
11966
11996
|
*/
|
|
@@ -11998,7 +12028,7 @@ type TextAreaPropsWithLabel = {
|
|
|
11998
12028
|
type TextAreaProps = (TextAreaPropsWithA11yLabel | TextAreaPropsWithLabel) & TextAreaCommonProps;
|
|
11999
12029
|
declare const TextArea: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<BladeElementRef>>;
|
|
12000
12030
|
|
|
12001
|
-
type SearchInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'helpText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'autoFocus' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
12031
|
+
type SearchInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'helpText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'autoFocus' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
12002
12032
|
/**
|
|
12003
12033
|
* Event handler to handle the onClick event for clear button.
|
|
12004
12034
|
*/
|
|
@@ -12041,7 +12071,7 @@ type SearchInputPropsWithLabel = {
|
|
|
12041
12071
|
type SearchInputProps = (SearchInputPropsWithA11yLabel | SearchInputPropsWithLabel) & SearchInputCommonProps;
|
|
12042
12072
|
declare const SearchInput: React__default.ForwardRefExoticComponent<SearchInputProps & React__default.RefAttributes<BladeElementRef>>;
|
|
12043
12073
|
|
|
12044
|
-
type CommonProps = Pick<BaseInputProps, 'size' | 'label' | 'labelPosition' | 'name' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'defaultValue' | 'necessityIndicator' | 'isRequired' | 'isDisabled' | 'onFocus' | 'onBlur' | 'onClick' | 'leadingIcon' | 'trailingIcon' | 'accessibilityLabel' | 'autoFocus' | 'testID' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'placeholder' | keyof DataAnalyticsAttribute>;
|
|
12074
|
+
type CommonProps = Pick<BaseInputProps, 'size' | 'label' | 'labelPosition' | 'labelSuffix' | 'labelTrailing' | 'name' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'defaultValue' | 'necessityIndicator' | 'isRequired' | 'isDisabled' | 'onFocus' | 'onBlur' | 'onClick' | 'leadingIcon' | 'trailingIcon' | 'accessibilityLabel' | 'autoFocus' | 'testID' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'placeholder' | keyof DataAnalyticsAttribute>;
|
|
12045
12075
|
type PhoneNumberInputProps = StyledPropsBlade & CommonProps & {
|
|
12046
12076
|
/**
|
|
12047
12077
|
* Default value of the input, Used to set the default value of input field when it's uncontrolled
|
|
@@ -15134,6 +15164,7 @@ type TableCellProps = {
|
|
|
15134
15164
|
} & DataAnalyticsAttribute;
|
|
15135
15165
|
type TableEditableCellProps = Pick<BaseInputProps, 'validationState' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'maxCharacters' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'leadingIcon' | 'trailingButton' | 'errorText' | 'successText'> & {
|
|
15136
15166
|
accessibilityLabel: NonNullable<BaseInputProps['accessibilityLabel']>;
|
|
15167
|
+
inputType?: Extract<BaseInputProps['type'], 'text' | 'number' | 'email' | 'tel' | 'url'>;
|
|
15137
15168
|
};
|
|
15138
15169
|
type TableEditableDropdownCellProps = Pick<DropdownProps, 'children' | 'isOpen' | 'onOpenChange' | 'selectionType' | 'zIndex'>;
|
|
15139
15170
|
type TableFooterProps = {
|