@razorpay/blade 8.14.0 → 8.15.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 +52 -86
- package/build/components/index.native.d.ts +49 -78
- package/build/components/index.native.js +36 -40
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +1490 -1613
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/package.json +1 -1
|
@@ -1933,40 +1933,6 @@ declare const ActionListItemText: ({ children, }: {
|
|
|
1933
1933
|
}) => React__default.ReactElement;
|
|
1934
1934
|
declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) => JSX.Element>;
|
|
1935
1935
|
|
|
1936
|
-
declare type ActionListHeaderProps = {
|
|
1937
|
-
title: string;
|
|
1938
|
-
/**
|
|
1939
|
-
* Asset to be added on left side of Header.
|
|
1940
|
-
*
|
|
1941
|
-
* Valid children - `ActionListHeaderIcon`
|
|
1942
|
-
*/
|
|
1943
|
-
leading?: React__default.ReactNode;
|
|
1944
|
-
} & TestID$1;
|
|
1945
|
-
declare const ActionListHeader: (props: ActionListHeaderProps) => JSX.Element;
|
|
1946
|
-
declare const ActionListHeaderIcon: ({ icon }: {
|
|
1947
|
-
icon: IconComponent$1;
|
|
1948
|
-
}) => React__default.ReactElement;
|
|
1949
|
-
|
|
1950
|
-
declare type ActionListFooterProps = {
|
|
1951
|
-
title?: string;
|
|
1952
|
-
/**
|
|
1953
|
-
* Asset to be added on left side of Footer.
|
|
1954
|
-
*
|
|
1955
|
-
* Valid children - `ActionListFooterIcon`
|
|
1956
|
-
*/
|
|
1957
|
-
leading?: React__default.ReactNode;
|
|
1958
|
-
/**
|
|
1959
|
-
* Elements to be added on right side of Footer.
|
|
1960
|
-
*
|
|
1961
|
-
* Anything can be passed here but maybe don't? Should ideally have Button or Tick Icon Buttons.
|
|
1962
|
-
*/
|
|
1963
|
-
trailing?: React__default.ReactNode;
|
|
1964
|
-
} & TestID$1;
|
|
1965
|
-
declare const ActionListFooter: (props: ActionListFooterProps) => JSX.Element;
|
|
1966
|
-
declare const ActionListFooterIcon: ({ icon }: {
|
|
1967
|
-
icon: IconComponent$1;
|
|
1968
|
-
}) => React__default.ReactElement;
|
|
1969
|
-
|
|
1970
1936
|
declare type ActionListItemAssetProps = {
|
|
1971
1937
|
/**
|
|
1972
1938
|
* Source of the image.
|
|
@@ -4455,13 +4421,14 @@ declare const Divider: ({ orientation, dividerStyle, variant, thickness, contras
|
|
|
4455
4421
|
declare type DropdownProps = {
|
|
4456
4422
|
selectionType?: 'single' | 'multiple';
|
|
4457
4423
|
onDismiss?: () => void;
|
|
4458
|
-
children:
|
|
4424
|
+
children: React.ReactNode[];
|
|
4459
4425
|
} & StyledPropsBlade;
|
|
4460
|
-
declare const Dropdown: ({ children, selectionType, onDismiss, ...styledProps }: DropdownProps) => JSX.Element;
|
|
4461
|
-
|
|
4462
4426
|
declare type DropdownOverlayProps = {
|
|
4463
|
-
children:
|
|
4427
|
+
children: React.ReactElement[] | React.ReactElement;
|
|
4464
4428
|
} & TestID$1;
|
|
4429
|
+
|
|
4430
|
+
declare const Dropdown: ({ children, selectionType, onDismiss, ...styledProps }: DropdownProps) => JSX.Element;
|
|
4431
|
+
|
|
4465
4432
|
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
|
|
4466
4433
|
|
|
4467
4434
|
declare type DropdownButtonProps = ButtonProps & {
|
|
@@ -4476,6 +4443,50 @@ declare type DropdownLinkProps = LinkButtonVariantProps & {
|
|
|
4476
4443
|
};
|
|
4477
4444
|
declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) => JSX.Element;
|
|
4478
4445
|
|
|
4446
|
+
declare type BaseHeaderProps = {
|
|
4447
|
+
title?: string;
|
|
4448
|
+
subtitle?: string;
|
|
4449
|
+
/**
|
|
4450
|
+
* Leading part of the header placed at the left most side of the header
|
|
4451
|
+
*/
|
|
4452
|
+
leading?: React__default.ReactNode;
|
|
4453
|
+
/**
|
|
4454
|
+
* Trailing part of the header placed at the right most side of the header
|
|
4455
|
+
*/
|
|
4456
|
+
trailing?: React__default.ReactNode;
|
|
4457
|
+
/**
|
|
4458
|
+
* Placed adjacent to the title text
|
|
4459
|
+
*/
|
|
4460
|
+
titleSuffix?: React__default.ReactNode;
|
|
4461
|
+
/**
|
|
4462
|
+
* @default true
|
|
4463
|
+
*/
|
|
4464
|
+
showDivider?: boolean;
|
|
4465
|
+
/**
|
|
4466
|
+
* @default false
|
|
4467
|
+
*/
|
|
4468
|
+
showBackButton?: boolean;
|
|
4469
|
+
/**
|
|
4470
|
+
* @default true
|
|
4471
|
+
*/
|
|
4472
|
+
showCloseButton?: boolean;
|
|
4473
|
+
onCloseButtonClick?: () => void;
|
|
4474
|
+
onBackButtonClick?: () => void;
|
|
4475
|
+
closeButtonRef?: React__default.MutableRefObject<any>;
|
|
4476
|
+
metaComponentName?: string;
|
|
4477
|
+
} & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'> & TestID$1;
|
|
4478
|
+
|
|
4479
|
+
declare type BaseFooterProps = {
|
|
4480
|
+
children: React__default.ReactNode;
|
|
4481
|
+
metaComponentName?: string;
|
|
4482
|
+
showDivider?: boolean;
|
|
4483
|
+
} & TestID$1;
|
|
4484
|
+
|
|
4485
|
+
declare type DropdownHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID'>;
|
|
4486
|
+
declare const DropdownHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, }: DropdownHeaderProps) => React__default.ReactElement;
|
|
4487
|
+
declare type DropdownFooter = Pick<BaseFooterProps, 'children' | 'testID'>;
|
|
4488
|
+
declare const DropdownFooter: ({ children, testID }: DropdownFooter) => React__default.ReactElement;
|
|
4489
|
+
|
|
4479
4490
|
declare const ArrowDownIcon: IconComponent;
|
|
4480
4491
|
|
|
4481
4492
|
declare const ArrowLeftIcon: IconComponent;
|
|
@@ -6860,49 +6871,10 @@ declare function clearAnnouncer(assertiveness: Assertiveness): void;
|
|
|
6860
6871
|
*/
|
|
6861
6872
|
declare function destroyAnnouncer(): void;
|
|
6862
6873
|
|
|
6863
|
-
declare type BaseHeaderProps = {
|
|
6864
|
-
title?: string;
|
|
6865
|
-
subtitle?: string;
|
|
6866
|
-
/**
|
|
6867
|
-
* Leading part of the header placed at the left most side of the header
|
|
6868
|
-
*/
|
|
6869
|
-
leading?: React__default.ReactNode;
|
|
6870
|
-
/**
|
|
6871
|
-
* Trailing part of the header placed at the right most side of the header
|
|
6872
|
-
*/
|
|
6873
|
-
trailing?: React__default.ReactNode;
|
|
6874
|
-
/**
|
|
6875
|
-
* Placed adjacent to the title text
|
|
6876
|
-
*/
|
|
6877
|
-
titleSuffix?: React__default.ReactNode;
|
|
6878
|
-
/**
|
|
6879
|
-
* @default true
|
|
6880
|
-
*/
|
|
6881
|
-
showDivider?: boolean;
|
|
6882
|
-
/**
|
|
6883
|
-
* @default false
|
|
6884
|
-
*/
|
|
6885
|
-
showBackButton?: boolean;
|
|
6886
|
-
/**
|
|
6887
|
-
* @default true
|
|
6888
|
-
*/
|
|
6889
|
-
showCloseButton?: boolean;
|
|
6890
|
-
onCloseButtonClick?: () => void;
|
|
6891
|
-
onBackButtonClick?: () => void;
|
|
6892
|
-
closeButtonRef: React__default.MutableRefObject<any>;
|
|
6893
|
-
metaComponentName?: string;
|
|
6894
|
-
} & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'>;
|
|
6895
|
-
|
|
6896
6874
|
declare type ModalHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix'>;
|
|
6897
6875
|
declare const ModalHeader: ({ leading, subtitle, title, titleSuffix, trailing, }: ModalHeaderProps) => React.ReactElement;
|
|
6898
6876
|
|
|
6899
|
-
declare type
|
|
6900
|
-
children: React__default.ReactNode;
|
|
6901
|
-
metaComponentName?: string;
|
|
6902
|
-
showDivider?: boolean;
|
|
6903
|
-
};
|
|
6904
|
-
|
|
6905
|
-
declare type ModalFooterProps = Pick<BaseFooterProps$1, 'children'>;
|
|
6877
|
+
declare type ModalFooterProps = Pick<BaseFooterProps, 'children'>;
|
|
6906
6878
|
declare const ModalFooter: (props: ModalFooterProps) => React__default.ReactElement;
|
|
6907
6879
|
|
|
6908
6880
|
declare type ModalBodyProps = {
|
|
@@ -7693,7 +7665,7 @@ declare type BottomSheetHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle'
|
|
|
7693
7665
|
*/
|
|
7694
7666
|
titleSuffix?: BaseHeaderProps['titleSuffix'];
|
|
7695
7667
|
};
|
|
7696
|
-
declare type BottomSheetFooterProps = Pick<BaseFooterProps
|
|
7668
|
+
declare type BottomSheetFooterProps = Pick<BaseFooterProps, 'children'>;
|
|
7697
7669
|
declare type BottomSheetBodyProps = {
|
|
7698
7670
|
children: React.ReactNode;
|
|
7699
7671
|
/**
|
|
@@ -7708,12 +7680,6 @@ declare type BottomSheetBodyProps = {
|
|
|
7708
7680
|
|
|
7709
7681
|
declare const BottomSheetHeader: ({ title, subtitle, leading, titleSuffix, trailing, showBackButton, onBackButtonClick, }: BottomSheetHeaderProps) => React__default.ReactElement;
|
|
7710
7682
|
|
|
7711
|
-
type BaseFooterProps = {
|
|
7712
|
-
children: React__default.ReactNode;
|
|
7713
|
-
metaComponentName?: string;
|
|
7714
|
-
showDivider?: boolean;
|
|
7715
|
-
};
|
|
7716
|
-
|
|
7717
7683
|
declare const BottomSheetFooter: ({ children }: BaseFooterProps) => React__default.ReactElement;
|
|
7718
7684
|
|
|
7719
7685
|
declare const BottomSheetBody: ({ children, padding, }: BottomSheetBodyProps) => React__default.ReactElement;
|
|
@@ -8591,4 +8557,4 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
8591
8557
|
tabIndex: -1;
|
|
8592
8558
|
}, "tabIndex">;
|
|
8593
8559
|
|
|
8594
|
-
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList,
|
|
8560
|
+
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, 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, OTPInputProps, 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, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabletIcon, TagIcon, 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 };
|
|
@@ -1932,40 +1932,6 @@ declare const ActionListItemText: ({ children, }: {
|
|
|
1932
1932
|
}) => React__default.ReactElement;
|
|
1933
1933
|
declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) => JSX.Element>;
|
|
1934
1934
|
|
|
1935
|
-
declare type ActionListHeaderProps = {
|
|
1936
|
-
title: string;
|
|
1937
|
-
/**
|
|
1938
|
-
* Asset to be added on left side of Header.
|
|
1939
|
-
*
|
|
1940
|
-
* Valid children - `ActionListHeaderIcon`
|
|
1941
|
-
*/
|
|
1942
|
-
leading?: React__default.ReactNode;
|
|
1943
|
-
} & TestID;
|
|
1944
|
-
declare const ActionListHeader: (props: ActionListHeaderProps) => JSX.Element;
|
|
1945
|
-
declare const ActionListHeaderIcon: ({ icon }: {
|
|
1946
|
-
icon: IconComponent$1;
|
|
1947
|
-
}) => React__default.ReactElement;
|
|
1948
|
-
|
|
1949
|
-
declare type ActionListFooterProps = {
|
|
1950
|
-
title?: string;
|
|
1951
|
-
/**
|
|
1952
|
-
* Asset to be added on left side of Footer.
|
|
1953
|
-
*
|
|
1954
|
-
* Valid children - `ActionListFooterIcon`
|
|
1955
|
-
*/
|
|
1956
|
-
leading?: React__default.ReactNode;
|
|
1957
|
-
/**
|
|
1958
|
-
* Elements to be added on right side of Footer.
|
|
1959
|
-
*
|
|
1960
|
-
* Anything can be passed here but maybe don't? Should ideally have Button or Tick Icon Buttons.
|
|
1961
|
-
*/
|
|
1962
|
-
trailing?: React__default.ReactNode;
|
|
1963
|
-
} & TestID;
|
|
1964
|
-
declare const ActionListFooter: (props: ActionListFooterProps) => JSX.Element;
|
|
1965
|
-
declare const ActionListFooterIcon: ({ icon }: {
|
|
1966
|
-
icon: IconComponent$1;
|
|
1967
|
-
}) => React__default.ReactElement;
|
|
1968
|
-
|
|
1969
1935
|
declare type ActionListItemAssetProps = {
|
|
1970
1936
|
/**
|
|
1971
1937
|
* Source of the image.
|
|
@@ -4134,14 +4100,14 @@ declare const Divider: ({ orientation, dividerStyle, variant, thickness, contras
|
|
|
4134
4100
|
declare type DropdownProps = {
|
|
4135
4101
|
selectionType?: 'single' | 'multiple';
|
|
4136
4102
|
onDismiss?: () => void;
|
|
4137
|
-
children:
|
|
4103
|
+
children: React.ReactNode[];
|
|
4138
4104
|
} & StyledPropsBlade;
|
|
4139
|
-
declare const Dropdown: ({ children, selectionType, onDismiss, ...styledProps }: DropdownProps) => JSX.Element;
|
|
4140
|
-
|
|
4141
4105
|
declare type DropdownOverlayProps = {
|
|
4142
|
-
children:
|
|
4106
|
+
children: React.ReactElement[] | React.ReactElement;
|
|
4143
4107
|
} & TestID;
|
|
4144
4108
|
|
|
4109
|
+
declare const Dropdown: ({ children, selectionType, onDismiss, ...styledProps }: DropdownProps) => JSX.Element;
|
|
4110
|
+
|
|
4145
4111
|
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
|
|
4146
4112
|
|
|
4147
4113
|
declare type DropdownButtonProps = ButtonProps & {
|
|
@@ -4156,6 +4122,50 @@ declare type DropdownLinkProps = LinkButtonVariantProps & {
|
|
|
4156
4122
|
};
|
|
4157
4123
|
declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: DropdownLinkProps) => JSX.Element;
|
|
4158
4124
|
|
|
4125
|
+
declare type BaseHeaderProps = {
|
|
4126
|
+
title?: string;
|
|
4127
|
+
subtitle?: string;
|
|
4128
|
+
/**
|
|
4129
|
+
* Leading part of the header placed at the left most side of the header
|
|
4130
|
+
*/
|
|
4131
|
+
leading?: React__default.ReactNode;
|
|
4132
|
+
/**
|
|
4133
|
+
* Trailing part of the header placed at the right most side of the header
|
|
4134
|
+
*/
|
|
4135
|
+
trailing?: React__default.ReactNode;
|
|
4136
|
+
/**
|
|
4137
|
+
* Placed adjacent to the title text
|
|
4138
|
+
*/
|
|
4139
|
+
titleSuffix?: React__default.ReactNode;
|
|
4140
|
+
/**
|
|
4141
|
+
* @default true
|
|
4142
|
+
*/
|
|
4143
|
+
showDivider?: boolean;
|
|
4144
|
+
/**
|
|
4145
|
+
* @default false
|
|
4146
|
+
*/
|
|
4147
|
+
showBackButton?: boolean;
|
|
4148
|
+
/**
|
|
4149
|
+
* @default true
|
|
4150
|
+
*/
|
|
4151
|
+
showCloseButton?: boolean;
|
|
4152
|
+
onCloseButtonClick?: () => void;
|
|
4153
|
+
onBackButtonClick?: () => void;
|
|
4154
|
+
closeButtonRef?: React__default.MutableRefObject<any>;
|
|
4155
|
+
metaComponentName?: string;
|
|
4156
|
+
} & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'> & TestID;
|
|
4157
|
+
|
|
4158
|
+
declare type BaseFooterProps = {
|
|
4159
|
+
children: React__default.ReactNode;
|
|
4160
|
+
metaComponentName?: string;
|
|
4161
|
+
showDivider?: boolean;
|
|
4162
|
+
} & TestID;
|
|
4163
|
+
|
|
4164
|
+
declare type DropdownHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID'>;
|
|
4165
|
+
declare const DropdownHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, }: DropdownHeaderProps) => React__default.ReactElement;
|
|
4166
|
+
declare type DropdownFooter = Pick<BaseFooterProps, 'children' | 'testID'>;
|
|
4167
|
+
declare const DropdownFooter: ({ children, testID }: DropdownFooter) => React__default.ReactElement;
|
|
4168
|
+
|
|
4159
4169
|
declare const ArrowDownIcon: IconComponent;
|
|
4160
4170
|
|
|
4161
4171
|
declare const ArrowLeftIcon: IconComponent;
|
|
@@ -6132,48 +6142,9 @@ declare function announce(message: string, _assertiveness?: Assertiveness): void
|
|
|
6132
6142
|
declare function clearAnnouncer(_assertiveness: Assertiveness): void;
|
|
6133
6143
|
declare function destroyAnnouncer(): void;
|
|
6134
6144
|
|
|
6135
|
-
declare type BaseHeaderProps = {
|
|
6136
|
-
title?: string;
|
|
6137
|
-
subtitle?: string;
|
|
6138
|
-
/**
|
|
6139
|
-
* Leading part of the header placed at the left most side of the header
|
|
6140
|
-
*/
|
|
6141
|
-
leading?: React__default.ReactNode;
|
|
6142
|
-
/**
|
|
6143
|
-
* Trailing part of the header placed at the right most side of the header
|
|
6144
|
-
*/
|
|
6145
|
-
trailing?: React__default.ReactNode;
|
|
6146
|
-
/**
|
|
6147
|
-
* Placed adjacent to the title text
|
|
6148
|
-
*/
|
|
6149
|
-
titleSuffix?: React__default.ReactNode;
|
|
6150
|
-
/**
|
|
6151
|
-
* @default true
|
|
6152
|
-
*/
|
|
6153
|
-
showDivider?: boolean;
|
|
6154
|
-
/**
|
|
6155
|
-
* @default false
|
|
6156
|
-
*/
|
|
6157
|
-
showBackButton?: boolean;
|
|
6158
|
-
/**
|
|
6159
|
-
* @default true
|
|
6160
|
-
*/
|
|
6161
|
-
showCloseButton?: boolean;
|
|
6162
|
-
onCloseButtonClick?: () => void;
|
|
6163
|
-
onBackButtonClick?: () => void;
|
|
6164
|
-
closeButtonRef: React__default.MutableRefObject<any>;
|
|
6165
|
-
metaComponentName?: string;
|
|
6166
|
-
} & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'>;
|
|
6167
|
-
|
|
6168
6145
|
declare type ModalHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix'>;
|
|
6169
6146
|
declare const ModalHeader: () => React__default.ReactElement;
|
|
6170
6147
|
|
|
6171
|
-
declare type BaseFooterProps = {
|
|
6172
|
-
children: React__default.ReactNode;
|
|
6173
|
-
metaComponentName?: string;
|
|
6174
|
-
showDivider?: boolean;
|
|
6175
|
-
};
|
|
6176
|
-
|
|
6177
6148
|
declare type ModalFooterProps = Pick<BaseFooterProps, 'children'>;
|
|
6178
6149
|
declare const ModalFooter: () => React__default.ReactElement;
|
|
6179
6150
|
|
|
@@ -6977,4 +6948,4 @@ declare type BladeCommonEvents = {
|
|
|
6977
6948
|
}>;
|
|
6978
6949
|
};
|
|
6979
6950
|
|
|
6980
|
-
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList,
|
|
6951
|
+
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, 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, OTPInputProps, 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, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabletIcon, TagIcon, 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 };
|