@razorpay/blade 10.17.4 → 10.18.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 +110 -1
- package/build/components/index.development.web.js +2699 -1992
- package/build/components/index.development.web.js.map +1 -1
- package/build/components/index.native.d.ts +101 -1
- package/build/components/index.native.js +8 -2
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.production.web.js +2691 -1992
- package/build/components/index.production.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/package.json +1 -1
|
@@ -8678,4 +8678,113 @@ declare const PopoverInteractiveWrapper: React__default.ForwardRefExoticComponen
|
|
|
8678
8678
|
onKeyDown?: ((event: React__default.KeyboardEvent<HTMLButtonElement>) => void) | undefined;
|
|
8679
8679
|
} & Omit<BaseBoxProps, "as"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
8680
8680
|
|
|
8681
|
-
|
|
8681
|
+
declare type SpotlightPopoverStepRenderProps = {
|
|
8682
|
+
/**
|
|
8683
|
+
* Go to a specific step
|
|
8684
|
+
*/
|
|
8685
|
+
goToStep: (step: number) => void;
|
|
8686
|
+
/**
|
|
8687
|
+
* Go to the next step
|
|
8688
|
+
*/
|
|
8689
|
+
goToNext: () => void;
|
|
8690
|
+
/**
|
|
8691
|
+
* Go to the previous step
|
|
8692
|
+
*/
|
|
8693
|
+
goToPrevious: () => void;
|
|
8694
|
+
/**
|
|
8695
|
+
* Stop the tour
|
|
8696
|
+
*
|
|
8697
|
+
* This will call the `onFinish` callback
|
|
8698
|
+
*/
|
|
8699
|
+
stopTour: () => void;
|
|
8700
|
+
/**
|
|
8701
|
+
* Current active step (zero based index)
|
|
8702
|
+
*/
|
|
8703
|
+
activeStep: number;
|
|
8704
|
+
/**
|
|
8705
|
+
* Total number of steps
|
|
8706
|
+
*/
|
|
8707
|
+
totalSteps: number;
|
|
8708
|
+
};
|
|
8709
|
+
declare type Step = {
|
|
8710
|
+
/**
|
|
8711
|
+
* Unique identifier for the tour step
|
|
8712
|
+
*/
|
|
8713
|
+
name: string;
|
|
8714
|
+
/**
|
|
8715
|
+
* Content of the Popover
|
|
8716
|
+
*/
|
|
8717
|
+
content: (props: SpotlightPopoverStepRenderProps) => React.ReactElement;
|
|
8718
|
+
/**
|
|
8719
|
+
* Footer content
|
|
8720
|
+
*/
|
|
8721
|
+
footer?: (props: SpotlightPopoverStepRenderProps) => React.ReactNode;
|
|
8722
|
+
/**
|
|
8723
|
+
* Popover title
|
|
8724
|
+
*/
|
|
8725
|
+
title?: string;
|
|
8726
|
+
/**
|
|
8727
|
+
* Leading content placed before the title
|
|
8728
|
+
*
|
|
8729
|
+
* Can be any blade icon or asset.
|
|
8730
|
+
*/
|
|
8731
|
+
titleLeading?: React.ReactNode;
|
|
8732
|
+
/**
|
|
8733
|
+
* Placement of Popover
|
|
8734
|
+
* @default "top"
|
|
8735
|
+
*/
|
|
8736
|
+
placement?: UseFloatingOptions['placement'];
|
|
8737
|
+
};
|
|
8738
|
+
declare type SpotlightPopoverTourSteps = Step[];
|
|
8739
|
+
declare type SpotlightPopoverTourProps = {
|
|
8740
|
+
/**
|
|
8741
|
+
* Array of steps to be rendered
|
|
8742
|
+
*
|
|
8743
|
+
* The order of the steps will be the order in which they are rendered depending on the `activeStep` prop
|
|
8744
|
+
*/
|
|
8745
|
+
steps: SpotlightPopoverTourSteps;
|
|
8746
|
+
/**
|
|
8747
|
+
* Whether the tour is visible or not
|
|
8748
|
+
*/
|
|
8749
|
+
isOpen: boolean;
|
|
8750
|
+
/**
|
|
8751
|
+
* Callback when the tour is opened or closed
|
|
8752
|
+
*/
|
|
8753
|
+
onOpenChange?: ({ isOpen }: {
|
|
8754
|
+
isOpen: boolean;
|
|
8755
|
+
}) => void;
|
|
8756
|
+
/**
|
|
8757
|
+
* Callback which fires when the `stopTour` method is called from the `steps` array
|
|
8758
|
+
*/
|
|
8759
|
+
onFinish?: () => void;
|
|
8760
|
+
/**
|
|
8761
|
+
* Callback when the active step changes
|
|
8762
|
+
*/
|
|
8763
|
+
onStepChange?: (step: number) => void;
|
|
8764
|
+
/**
|
|
8765
|
+
* Active step to be rendered
|
|
8766
|
+
*/
|
|
8767
|
+
activeStep: number;
|
|
8768
|
+
children: React.ReactNode;
|
|
8769
|
+
};
|
|
8770
|
+
declare type SpotlightPopoverTourStepProps = {
|
|
8771
|
+
name: string;
|
|
8772
|
+
children: React.ReactNode;
|
|
8773
|
+
};
|
|
8774
|
+
|
|
8775
|
+
declare const SpotlightPopoverTour: ({ steps, activeStep, isOpen, onFinish, onOpenChange, onStepChange, children, }: SpotlightPopoverTourProps) => React__default.ReactElement;
|
|
8776
|
+
|
|
8777
|
+
declare type SpotlightPopoverFooterAction = {
|
|
8778
|
+
text?: string;
|
|
8779
|
+
} & Pick<ButtonProps, 'variant' | 'icon' | 'iconPosition' | 'isDisabled' | 'isLoading' | 'onClick'>;
|
|
8780
|
+
declare type SpotlightPopoverTourFooterProps = {
|
|
8781
|
+
actions: {
|
|
8782
|
+
primary?: SpotlightPopoverFooterAction;
|
|
8783
|
+
secondary?: SpotlightPopoverFooterAction;
|
|
8784
|
+
};
|
|
8785
|
+
};
|
|
8786
|
+
declare const SpotlightPopoverTourFooter: ({ activeStep, totalSteps, actions, }: SpotlightPopoverTourFooterProps & Pick<SpotlightPopoverStepRenderProps, 'activeStep' | 'totalSteps'>) => React.ReactElement;
|
|
8787
|
+
|
|
8788
|
+
declare const SpotlightPopoverTourStep: React__default.MemoExoticComponent<({ name, children, }: SpotlightPopoverTourStepProps) => React__default.ReactElement>;
|
|
8789
|
+
|
|
8790
|
+
export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AutoComplete, AutoCompleteProps, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileZipIcon, 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, 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, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, 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, SpotlightPopoverStepRenderProps, SpotlightPopoverTour, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabPanel, TabPanelProps, TabletIcon, Tabs, TabsProps, 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 };
|