@razorpay/blade 11.37.0 → 11.38.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/Accordion.js +2 -1
- package/build/lib/native/components/Accordion/Accordion.js.map +1 -1
- package/build/lib/native/components/Accordion/AccordionItem.js +3 -1
- package/build/lib/native/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/native/components/Accordion/AccordionItemBody.js +3 -2
- package/build/lib/native/components/Accordion/AccordionItemBody.js.map +1 -1
- package/build/lib/native/components/Accordion/AccordionItemHeader.js +3 -2
- package/build/lib/native/components/Accordion/AccordionItemHeader.js.map +1 -1
- package/build/lib/native/components/ActionList/ActionList.js +3 -1
- package/build/lib/native/components/ActionList/ActionList.js.map +1 -1
- package/build/lib/native/components/ActionList/ActionListItem.js +3 -2
- package/build/lib/native/components/ActionList/ActionListItem.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/Amount/Amount.js +2 -1
- package/build/lib/native/components/Amount/Amount.js.map +1 -1
- package/build/lib/native/components/Badge/Badge.js +2 -1
- package/build/lib/native/components/Badge/Badge.js.map +1 -1
- package/build/lib/native/components/BaseHeaderFooter/BaseFooter.js +3 -1
- package/build/lib/native/components/BaseHeaderFooter/BaseFooter.js.map +1 -1
- package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js +3 -2
- package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
- package/build/lib/native/components/Box/BaseBox/types/propsTypes.js.map +1 -1
- package/build/lib/native/components/Box/Box.js +2 -1
- package/build/lib/native/components/Box/Box.js.map +1 -1
- package/build/lib/native/components/Button/BaseButton/BaseButton.js +2 -1
- package/build/lib/native/components/Button/BaseButton/BaseButton.js.map +1 -1
- package/build/lib/native/components/Button/Button/Button.js +2 -1
- package/build/lib/native/components/Button/Button/Button.js.map +1 -1
- package/build/lib/native/components/Button/IconButton/IconButton.js +3 -1
- package/build/lib/native/components/Button/IconButton/IconButton.js.map +1 -1
- package/build/lib/native/components/Card/Card.js +2 -1
- package/build/lib/native/components/Card/Card.js.map +1 -1
- package/build/lib/native/components/Card/CardFooter.js +3 -2
- package/build/lib/native/components/Card/CardFooter.js.map +1 -1
- package/build/lib/native/components/Card/CardHeader.js +3 -2
- package/build/lib/native/components/Card/CardHeader.js.map +1 -1
- package/build/lib/native/components/Checkbox/Checkbox.js +3 -2
- package/build/lib/native/components/Checkbox/Checkbox.js.map +1 -1
- package/build/lib/native/components/Checkbox/CheckboxGroup/CheckboxGroup.js +2 -1
- package/build/lib/native/components/Checkbox/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/build/lib/native/components/Chip/Chip.js +2 -1
- package/build/lib/native/components/Chip/Chip.js.map +1 -1
- package/build/lib/native/components/Chip/ChipGroup.js +2 -1
- package/build/lib/native/components/Chip/ChipGroup.js.map +1 -1
- package/build/lib/native/components/Collapsible/Collapsible.js +2 -1
- package/build/lib/native/components/Collapsible/Collapsible.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleBody.js +3 -1
- package/build/lib/native/components/Collapsible/CollapsibleBody.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleButton.js +3 -1
- package/build/lib/native/components/Collapsible/CollapsibleButton.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleLink.js +2 -1
- package/build/lib/native/components/Collapsible/CollapsibleLink.js.map +1 -1
- package/build/lib/native/components/Counter/Counter.js +2 -1
- package/build/lib/native/components/Counter/Counter.js.map +1 -1
- package/build/lib/native/components/Dropdown/Dropdown.js +2 -1
- package/build/lib/native/components/Dropdown/Dropdown.js.map +1 -1
- package/build/lib/native/components/Dropdown/DropdownButton.js +1 -1
- package/build/lib/native/components/Dropdown/DropdownButton.js.map +1 -1
- package/build/lib/native/components/Dropdown/DropdownHeaderFooter.js +3 -1
- package/build/lib/native/components/Dropdown/DropdownHeaderFooter.js.map +1 -1
- package/build/lib/native/components/Dropdown/DropdownLink.js +2 -1
- package/build/lib/native/components/Dropdown/DropdownLink.js.map +1 -1
- package/build/lib/native/components/Form/Selector/SelectorGroupField.js +3 -1
- package/build/lib/native/components/Form/Selector/SelectorGroupField.js.map +1 -1
- package/build/lib/native/components/Indicator/Indicator.js +2 -1
- package/build/lib/native/components/Indicator/Indicator.js.map +1 -1
- package/build/lib/native/components/Input/BaseInput/BaseInput.js +2 -1
- package/build/lib/native/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/native/components/Input/DropdownInputTriggers/BaseDropdownInputTrigger.js +2 -1
- package/build/lib/native/components/Input/DropdownInputTriggers/BaseDropdownInputTrigger.js.map +1 -1
- package/build/lib/native/components/Input/DropdownInputTriggers/SelectInput.js +2 -1
- package/build/lib/native/components/Input/DropdownInputTriggers/SelectInput.js.map +1 -1
- package/build/lib/native/components/Input/OTPInput/OTPInput.js +2 -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/Link/BaseLink/BaseLink.js +2 -1
- package/build/lib/native/components/Link/BaseLink/BaseLink.js.map +1 -1
- package/build/lib/native/components/Link/Link/Link.js +2 -1
- package/build/lib/native/components/Link/Link/Link.js.map +1 -1
- package/build/lib/native/components/ProgressBar/ProgressBar.js +2 -1
- package/build/lib/native/components/ProgressBar/ProgressBar.js.map +1 -1
- package/build/lib/native/components/Radio/Radio.js +2 -1
- package/build/lib/native/components/Radio/Radio.js.map +1 -1
- package/build/lib/native/components/Radio/RadioGroup/RadioGroup.js +2 -1
- package/build/lib/native/components/Radio/RadioGroup/RadioGroup.js.map +1 -1
- package/build/lib/native/components/StepGroup/tokens.js +1 -1
- package/build/lib/native/components/StepGroup/tokens.js.map +1 -1
- package/build/lib/native/components/Switch/Switch.js +2 -1
- package/build/lib/native/components/Switch/Switch.js.map +1 -1
- package/build/lib/native/components/Tag/Tag.js +2 -1
- package/build/lib/native/components/Tag/Tag.js.map +1 -1
- package/build/lib/native/tokens/global/size.js +1 -1
- package/build/lib/native/tokens/global/size.js.map +1 -1
- package/build/lib/native/utils/makeAnalyticsAttribute/makeAnalyticsAttribute.js +7 -0
- package/build/lib/native/utils/makeAnalyticsAttribute/makeAnalyticsAttribute.js.map +1 -0
- package/build/lib/web/development/components/Accordion/Accordion.js +5 -3
- package/build/lib/web/development/components/Accordion/Accordion.js.map +1 -1
- package/build/lib/web/development/components/Accordion/AccordionButton.web.js +8 -3
- package/build/lib/web/development/components/Accordion/AccordionButton.web.js.map +1 -1
- package/build/lib/web/development/components/Accordion/AccordionItem.js +8 -3
- package/build/lib/web/development/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/web/development/components/Accordion/AccordionItemBody.js +8 -3
- package/build/lib/web/development/components/Accordion/AccordionItemBody.js.map +1 -1
- package/build/lib/web/development/components/Accordion/AccordionItemHeader.js +10 -4
- package/build/lib/web/development/components/Accordion/AccordionItemHeader.js.map +1 -1
- package/build/lib/web/development/components/ActionList/ActionList.js +9 -4
- package/build/lib/web/development/components/ActionList/ActionList.js.map +1 -1
- package/build/lib/web/development/components/ActionList/ActionListBox.web.js +8 -3
- package/build/lib/web/development/components/ActionList/ActionListBox.web.js.map +1 -1
- package/build/lib/web/development/components/ActionList/ActionListItem.js +10 -5
- package/build/lib/web/development/components/ActionList/ActionListItem.js.map +1 -1
- package/build/lib/web/development/components/Alert/Alert.js +5 -3
- package/build/lib/web/development/components/Alert/Alert.js.map +1 -1
- package/build/lib/web/development/components/Amount/Amount.js +5 -8
- package/build/lib/web/development/components/Amount/Amount.js.map +1 -1
- package/build/lib/web/development/components/Avatar/Avatar.web.js +5 -3
- package/build/lib/web/development/components/Avatar/Avatar.web.js.map +1 -1
- package/build/lib/web/development/components/Avatar/AvatarGroup.web.js +5 -3
- package/build/lib/web/development/components/Avatar/AvatarGroup.web.js.map +1 -1
- package/build/lib/web/development/components/Badge/Badge.js +5 -3
- package/build/lib/web/development/components/Badge/Badge.js.map +1 -1
- package/build/lib/web/development/components/BaseHeaderFooter/BaseFooter.js +8 -3
- package/build/lib/web/development/components/BaseHeaderFooter/BaseFooter.js.map +1 -1
- package/build/lib/web/development/components/BaseHeaderFooter/BaseHeader.js +8 -3
- package/build/lib/web/development/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
- package/build/lib/web/development/components/BottomNav/BottomNav.web.js +12 -8
- package/build/lib/web/development/components/BottomNav/BottomNav.web.js.map +1 -1
- package/build/lib/web/development/components/BottomSheet/BottomSheet.web.js +9 -3
- package/build/lib/web/development/components/BottomSheet/BottomSheet.web.js.map +1 -1
- package/build/lib/web/development/components/BottomSheet/BottomSheetBody.web.js +8 -3
- package/build/lib/web/development/components/BottomSheet/BottomSheetBody.web.js.map +1 -1
- package/build/lib/web/development/components/BottomSheet/BottomSheetFooter.web.js +8 -3
- package/build/lib/web/development/components/BottomSheet/BottomSheetFooter.web.js.map +1 -1
- package/build/lib/web/development/components/BottomSheet/BottomSheetHeader.web.js +8 -3
- package/build/lib/web/development/components/BottomSheet/BottomSheetHeader.web.js.map +1 -1
- package/build/lib/web/development/components/Box/BaseBox/BaseBox.web.js +4 -2
- package/build/lib/web/development/components/Box/BaseBox/BaseBox.web.js.map +1 -1
- package/build/lib/web/development/components/Box/BaseBox/types/propsTypes.js.map +1 -1
- package/build/lib/web/development/components/Box/Box.js +4 -2
- package/build/lib/web/development/components/Box/Box.js.map +1 -1
- package/build/lib/web/development/components/Breadcrumb/Breadcrumb.web.js +6 -4
- package/build/lib/web/development/components/Breadcrumb/Breadcrumb.web.js.map +1 -1
- package/build/lib/web/development/components/Breadcrumb/BreadcrumbItem.web.js +13 -4
- package/build/lib/web/development/components/Breadcrumb/BreadcrumbItem.web.js.map +1 -1
- package/build/lib/web/development/components/Button/BaseButton/BaseButton.js +4 -2
- package/build/lib/web/development/components/Button/BaseButton/BaseButton.js.map +1 -1
- package/build/lib/web/development/components/Button/Button/Button.js +4 -2
- package/build/lib/web/development/components/Button/Button/Button.js.map +1 -1
- package/build/lib/web/development/components/Button/IconButton/IconButton.js +11 -5
- package/build/lib/web/development/components/Button/IconButton/IconButton.js.map +1 -1
- package/build/lib/web/development/components/Button/IconButton/StyledIconButton.web.js +8 -3
- package/build/lib/web/development/components/Button/IconButton/StyledIconButton.web.js.map +1 -1
- package/build/lib/web/development/components/ButtonGroup/ButtonGroup.web.js +5 -3
- package/build/lib/web/development/components/ButtonGroup/ButtonGroup.web.js.map +1 -1
- package/build/lib/web/development/components/Card/Card.js +11 -7
- package/build/lib/web/development/components/Card/Card.js.map +1 -1
- package/build/lib/web/development/components/Card/CardFooter.js +22 -11
- package/build/lib/web/development/components/Card/CardFooter.js.map +1 -1
- package/build/lib/web/development/components/Card/CardHeader.js +13 -6
- package/build/lib/web/development/components/Card/CardHeader.js.map +1 -1
- package/build/lib/web/development/components/Carousel/Carousel.web.js +5 -3
- package/build/lib/web/development/components/Carousel/Carousel.web.js.map +1 -1
- package/build/lib/web/development/components/Carousel/CarouselItem.web.js +9 -3
- package/build/lib/web/development/components/Carousel/CarouselItem.web.js.map +1 -1
- package/build/lib/web/development/components/Checkbox/Checkbox.js +6 -4
- package/build/lib/web/development/components/Checkbox/Checkbox.js.map +1 -1
- package/build/lib/web/development/components/Checkbox/CheckboxGroup/CheckboxGroup.js +8 -5
- package/build/lib/web/development/components/Checkbox/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/build/lib/web/development/components/Chip/Chip.js +5 -3
- package/build/lib/web/development/components/Chip/Chip.js.map +1 -1
- package/build/lib/web/development/components/Chip/ChipGroup.js +8 -5
- package/build/lib/web/development/components/Chip/ChipGroup.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/Collapsible.js +5 -3
- package/build/lib/web/development/components/Collapsible/Collapsible.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/CollapsibleBody.js +8 -3
- package/build/lib/web/development/components/Collapsible/CollapsibleBody.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/CollapsibleButton.js +13 -4
- package/build/lib/web/development/components/Collapsible/CollapsibleButton.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/CollapsibleLink.js +5 -3
- package/build/lib/web/development/components/Collapsible/CollapsibleLink.js.map +1 -1
- package/build/lib/web/development/components/Counter/Counter.js +5 -3
- package/build/lib/web/development/components/Counter/Counter.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/DateInput.web.js +11 -7
- package/build/lib/web/development/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/DatePicker.web.js +4 -2
- package/build/lib/web/development/components/DatePicker/DatePicker.web.js.map +1 -1
- package/build/lib/web/development/components/Drawer/Drawer.web.js +8 -3
- package/build/lib/web/development/components/Drawer/Drawer.web.js.map +1 -1
- package/build/lib/web/development/components/Drawer/DrawerSubcomponents.web.js +11 -3
- package/build/lib/web/development/components/Drawer/DrawerSubcomponents.web.js.map +1 -1
- package/build/lib/web/development/components/Dropdown/Dropdown.js +5 -3
- package/build/lib/web/development/components/Dropdown/Dropdown.js.map +1 -1
- package/build/lib/web/development/components/Dropdown/DropdownButton.js +2 -2
- package/build/lib/web/development/components/Dropdown/DropdownButton.js.map +1 -1
- package/build/lib/web/development/components/Dropdown/DropdownHeaderFooter.js +8 -3
- package/build/lib/web/development/components/Dropdown/DropdownHeaderFooter.js.map +1 -1
- package/build/lib/web/development/components/Dropdown/DropdownLink.js +5 -3
- package/build/lib/web/development/components/Dropdown/DropdownLink.js.map +1 -1
- package/build/lib/web/development/components/FileUpload/FileUpload.web.js +6 -4
- package/build/lib/web/development/components/FileUpload/FileUpload.web.js.map +1 -1
- package/build/lib/web/development/components/Form/Selector/SelectorGroupField.js +8 -3
- package/build/lib/web/development/components/Form/Selector/SelectorGroupField.js.map +1 -1
- package/build/lib/web/development/components/Form/Selector/SelectorInput.web.js +8 -3
- package/build/lib/web/development/components/Form/Selector/SelectorInput.web.js.map +1 -1
- package/build/lib/web/development/components/Indicator/Indicator.js +5 -3
- package/build/lib/web/development/components/Indicator/Indicator.js.map +1 -1
- package/build/lib/web/development/components/Input/BaseInput/BaseInput.js +6 -4
- package/build/lib/web/development/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/web/development/components/Input/DropdownInputTriggers/BaseDropdownInputTrigger.js +5 -2
- package/build/lib/web/development/components/Input/DropdownInputTriggers/BaseDropdownInputTrigger.js.map +1 -1
- package/build/lib/web/development/components/Input/DropdownInputTriggers/SelectInput.js +5 -3
- package/build/lib/web/development/components/Input/DropdownInputTriggers/SelectInput.js.map +1 -1
- package/build/lib/web/development/components/Input/OTPInput/OTPInput.js +6 -4
- package/build/lib/web/development/components/Input/OTPInput/OTPInput.js.map +1 -1
- package/build/lib/web/development/components/Input/PasswordInput/PasswordInput.js +2 -2
- package/build/lib/web/development/components/Input/PasswordInput/PasswordInput.js.map +1 -1
- package/build/lib/web/development/components/Input/PhoneNumberInput/PhoneNumberInput.web.js +2 -2
- package/build/lib/web/development/components/Input/PhoneNumberInput/PhoneNumberInput.web.js.map +1 -1
- package/build/lib/web/development/components/Input/SearchInput/SearchInput.js +2 -2
- package/build/lib/web/development/components/Input/SearchInput/SearchInput.js.map +1 -1
- package/build/lib/web/development/components/Input/TextArea/TextArea.js +2 -2
- package/build/lib/web/development/components/Input/TextArea/TextArea.js.map +1 -1
- package/build/lib/web/development/components/Input/TextInput/TextInput.js +2 -2
- package/build/lib/web/development/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/development/components/Link/BaseLink/BaseLink.js +5 -3
- package/build/lib/web/development/components/Link/BaseLink/BaseLink.js.map +1 -1
- package/build/lib/web/development/components/Link/Link/Link.js +4 -2
- package/build/lib/web/development/components/Link/Link/Link.js.map +1 -1
- package/build/lib/web/development/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js +18 -8
- package/build/lib/web/development/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js.map +1 -1
- package/build/lib/web/development/components/Modal/Modal.web.js +10 -4
- package/build/lib/web/development/components/Modal/Modal.web.js.map +1 -1
- package/build/lib/web/development/components/Modal/ModalBody.web.js +9 -3
- package/build/lib/web/development/components/Modal/ModalBody.web.js.map +1 -1
- package/build/lib/web/development/components/Modal/ModalFooter.web.js +7 -2
- package/build/lib/web/development/components/Modal/ModalFooter.web.js.map +1 -1
- package/build/lib/web/development/components/Modal/ModalHeader.web.js +14 -6
- package/build/lib/web/development/components/Modal/ModalHeader.web.js.map +1 -1
- package/build/lib/web/development/components/Popover/Popover.web.js +8 -3
- package/build/lib/web/development/components/Popover/Popover.web.js.map +1 -1
- package/build/lib/web/development/components/Popover/PopoverInteractiveWrapper.web.js.map +1 -1
- package/build/lib/web/development/components/ProgressBar/ProgressBar.js +5 -3
- package/build/lib/web/development/components/ProgressBar/ProgressBar.js.map +1 -1
- package/build/lib/web/development/components/Radio/Radio.js +6 -4
- package/build/lib/web/development/components/Radio/Radio.js.map +1 -1
- package/build/lib/web/development/components/Radio/RadioGroup/RadioGroup.js +8 -5
- package/build/lib/web/development/components/Radio/RadioGroup/RadioGroup.js.map +1 -1
- package/build/lib/web/development/components/SideNav/SideNav.web.js +5 -3
- package/build/lib/web/development/components/SideNav/SideNav.web.js.map +1 -1
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavItem.web.js +13 -4
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavItem.web.js.map +1 -1
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavLink.web.js +10 -4
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavLink.web.js.map +1 -1
- package/build/lib/web/development/components/SideNav/SideNavSection.web.js +10 -4
- package/build/lib/web/development/components/SideNav/SideNavSection.web.js.map +1 -1
- package/build/lib/web/development/components/StepGroup/StepGroup.web.js +5 -3
- package/build/lib/web/development/components/StepGroup/StepGroup.web.js.map +1 -1
- package/build/lib/web/development/components/StepGroup/StepItem.web.js +13 -7
- package/build/lib/web/development/components/StepGroup/StepItem.web.js.map +1 -1
- package/build/lib/web/development/components/StepGroup/StepLine.web.js +79 -42
- package/build/lib/web/development/components/StepGroup/StepLine.web.js.map +1 -1
- package/build/lib/web/development/components/StepGroup/tokens.js +6 -6
- package/build/lib/web/development/components/StepGroup/tokens.js.map +1 -1
- package/build/lib/web/development/components/Switch/Switch.js +5 -3
- package/build/lib/web/development/components/Switch/Switch.js.map +1 -1
- package/build/lib/web/development/components/Table/Table.web.js +9 -7
- package/build/lib/web/development/components/Table/Table.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableBody.web.js +18 -9
- package/build/lib/web/development/components/Table/TableBody.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableFooter.web.js +18 -9
- package/build/lib/web/development/components/Table/TableFooter.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableHeader.web.js +18 -9
- package/build/lib/web/development/components/Table/TableHeader.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TablePagination.web.js +10 -4
- package/build/lib/web/development/components/Table/TablePagination.web.js.map +1 -1
- package/build/lib/web/development/components/Table/TableToolbar.web.js +13 -8
- package/build/lib/web/development/components/Table/TableToolbar.web.js.map +1 -1
- package/build/lib/web/development/components/Tabs/TabItem.web.js +9 -5
- package/build/lib/web/development/components/Tabs/TabItem.web.js.map +1 -1
- package/build/lib/web/development/components/Tabs/TabList.web.js +5 -3
- package/build/lib/web/development/components/Tabs/TabList.web.js.map +1 -1
- package/build/lib/web/development/components/Tabs/TabPanel.web.js +10 -5
- package/build/lib/web/development/components/Tabs/TabPanel.web.js.map +1 -1
- package/build/lib/web/development/components/Tabs/Tabs.web.js +8 -3
- package/build/lib/web/development/components/Tabs/Tabs.web.js.map +1 -1
- package/build/lib/web/development/components/Tag/Tag.js +6 -4
- package/build/lib/web/development/components/Tag/Tag.js.map +1 -1
- package/build/lib/web/development/components/Toast/ToastContainer.web.js +8 -3
- package/build/lib/web/development/components/Toast/ToastContainer.web.js.map +1 -1
- package/build/lib/web/development/components/Tooltip/Tooltip.web.js +8 -3
- package/build/lib/web/development/components/Tooltip/Tooltip.web.js.map +1 -1
- package/build/lib/web/development/components/TopNav/TabNav/TabNav.web.js +6 -3
- package/build/lib/web/development/components/TopNav/TabNav/TabNav.web.js.map +1 -1
- package/build/lib/web/development/components/TopNav/TopNav.web.js +8 -5
- package/build/lib/web/development/components/TopNav/TopNav.web.js.map +1 -1
- package/build/lib/web/development/tokens/global/size.js +3 -1
- package/build/lib/web/development/tokens/global/size.js.map +1 -1
- package/build/lib/web/development/utils/makeAnalyticsAttribute/index.js +2 -0
- package/build/lib/web/development/utils/makeAnalyticsAttribute/index.js.map +1 -0
- package/build/lib/web/development/utils/makeAnalyticsAttribute/makeAnalyticsAttribute.js +20 -0
- package/build/lib/web/development/utils/makeAnalyticsAttribute/makeAnalyticsAttribute.js.map +1 -0
- package/build/lib/web/production/components/Accordion/Accordion.js +5 -3
- package/build/lib/web/production/components/Accordion/Accordion.js.map +1 -1
- package/build/lib/web/production/components/Accordion/AccordionButton.web.js +8 -3
- package/build/lib/web/production/components/Accordion/AccordionButton.web.js.map +1 -1
- package/build/lib/web/production/components/Accordion/AccordionItem.js +8 -3
- package/build/lib/web/production/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/web/production/components/Accordion/AccordionItemBody.js +8 -3
- package/build/lib/web/production/components/Accordion/AccordionItemBody.js.map +1 -1
- package/build/lib/web/production/components/Accordion/AccordionItemHeader.js +10 -4
- package/build/lib/web/production/components/Accordion/AccordionItemHeader.js.map +1 -1
- package/build/lib/web/production/components/ActionList/ActionList.js +9 -4
- package/build/lib/web/production/components/ActionList/ActionList.js.map +1 -1
- package/build/lib/web/production/components/ActionList/ActionListBox.web.js +8 -3
- package/build/lib/web/production/components/ActionList/ActionListBox.web.js.map +1 -1
- package/build/lib/web/production/components/ActionList/ActionListItem.js +10 -5
- package/build/lib/web/production/components/ActionList/ActionListItem.js.map +1 -1
- package/build/lib/web/production/components/Alert/Alert.js +5 -3
- package/build/lib/web/production/components/Alert/Alert.js.map +1 -1
- package/build/lib/web/production/components/Amount/Amount.js +5 -8
- package/build/lib/web/production/components/Amount/Amount.js.map +1 -1
- package/build/lib/web/production/components/Avatar/Avatar.web.js +5 -3
- package/build/lib/web/production/components/Avatar/Avatar.web.js.map +1 -1
- package/build/lib/web/production/components/Avatar/AvatarGroup.web.js +5 -3
- package/build/lib/web/production/components/Avatar/AvatarGroup.web.js.map +1 -1
- package/build/lib/web/production/components/Badge/Badge.js +5 -3
- package/build/lib/web/production/components/Badge/Badge.js.map +1 -1
- package/build/lib/web/production/components/BaseHeaderFooter/BaseFooter.js +8 -3
- package/build/lib/web/production/components/BaseHeaderFooter/BaseFooter.js.map +1 -1
- package/build/lib/web/production/components/BaseHeaderFooter/BaseHeader.js +8 -3
- package/build/lib/web/production/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
- package/build/lib/web/production/components/BottomNav/BottomNav.web.js +12 -8
- package/build/lib/web/production/components/BottomNav/BottomNav.web.js.map +1 -1
- package/build/lib/web/production/components/BottomSheet/BottomSheet.web.js +9 -3
- package/build/lib/web/production/components/BottomSheet/BottomSheet.web.js.map +1 -1
- package/build/lib/web/production/components/BottomSheet/BottomSheetBody.web.js +8 -3
- package/build/lib/web/production/components/BottomSheet/BottomSheetBody.web.js.map +1 -1
- package/build/lib/web/production/components/BottomSheet/BottomSheetFooter.web.js +8 -3
- package/build/lib/web/production/components/BottomSheet/BottomSheetFooter.web.js.map +1 -1
- package/build/lib/web/production/components/BottomSheet/BottomSheetHeader.web.js +8 -3
- package/build/lib/web/production/components/BottomSheet/BottomSheetHeader.web.js.map +1 -1
- package/build/lib/web/production/components/Box/BaseBox/BaseBox.web.js +4 -2
- package/build/lib/web/production/components/Box/BaseBox/BaseBox.web.js.map +1 -1
- package/build/lib/web/production/components/Box/BaseBox/types/propsTypes.js.map +1 -1
- package/build/lib/web/production/components/Box/Box.js +4 -2
- package/build/lib/web/production/components/Box/Box.js.map +1 -1
- package/build/lib/web/production/components/Breadcrumb/Breadcrumb.web.js +6 -4
- package/build/lib/web/production/components/Breadcrumb/Breadcrumb.web.js.map +1 -1
- package/build/lib/web/production/components/Breadcrumb/BreadcrumbItem.web.js +13 -4
- package/build/lib/web/production/components/Breadcrumb/BreadcrumbItem.web.js.map +1 -1
- package/build/lib/web/production/components/Button/BaseButton/BaseButton.js +4 -2
- package/build/lib/web/production/components/Button/BaseButton/BaseButton.js.map +1 -1
- package/build/lib/web/production/components/Button/Button/Button.js +4 -2
- package/build/lib/web/production/components/Button/Button/Button.js.map +1 -1
- package/build/lib/web/production/components/Button/IconButton/IconButton.js +11 -5
- package/build/lib/web/production/components/Button/IconButton/IconButton.js.map +1 -1
- package/build/lib/web/production/components/Button/IconButton/StyledIconButton.web.js +8 -3
- package/build/lib/web/production/components/Button/IconButton/StyledIconButton.web.js.map +1 -1
- package/build/lib/web/production/components/ButtonGroup/ButtonGroup.web.js +5 -3
- package/build/lib/web/production/components/ButtonGroup/ButtonGroup.web.js.map +1 -1
- package/build/lib/web/production/components/Card/Card.js +11 -7
- package/build/lib/web/production/components/Card/Card.js.map +1 -1
- package/build/lib/web/production/components/Card/CardFooter.js +22 -11
- package/build/lib/web/production/components/Card/CardFooter.js.map +1 -1
- package/build/lib/web/production/components/Card/CardHeader.js +13 -6
- package/build/lib/web/production/components/Card/CardHeader.js.map +1 -1
- package/build/lib/web/production/components/Carousel/Carousel.web.js +5 -3
- package/build/lib/web/production/components/Carousel/Carousel.web.js.map +1 -1
- package/build/lib/web/production/components/Carousel/CarouselItem.web.js +9 -3
- package/build/lib/web/production/components/Carousel/CarouselItem.web.js.map +1 -1
- package/build/lib/web/production/components/Checkbox/Checkbox.js +6 -4
- package/build/lib/web/production/components/Checkbox/Checkbox.js.map +1 -1
- package/build/lib/web/production/components/Checkbox/CheckboxGroup/CheckboxGroup.js +8 -5
- package/build/lib/web/production/components/Checkbox/CheckboxGroup/CheckboxGroup.js.map +1 -1
- package/build/lib/web/production/components/Chip/Chip.js +5 -3
- package/build/lib/web/production/components/Chip/Chip.js.map +1 -1
- package/build/lib/web/production/components/Chip/ChipGroup.js +8 -5
- package/build/lib/web/production/components/Chip/ChipGroup.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/Collapsible.js +5 -3
- package/build/lib/web/production/components/Collapsible/Collapsible.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/CollapsibleBody.js +8 -3
- package/build/lib/web/production/components/Collapsible/CollapsibleBody.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/CollapsibleButton.js +13 -4
- package/build/lib/web/production/components/Collapsible/CollapsibleButton.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/CollapsibleLink.js +5 -3
- package/build/lib/web/production/components/Collapsible/CollapsibleLink.js.map +1 -1
- package/build/lib/web/production/components/Counter/Counter.js +5 -3
- package/build/lib/web/production/components/Counter/Counter.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/DateInput.web.js +11 -7
- package/build/lib/web/production/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/DatePicker.web.js +4 -2
- package/build/lib/web/production/components/DatePicker/DatePicker.web.js.map +1 -1
- package/build/lib/web/production/components/Drawer/Drawer.web.js +8 -3
- package/build/lib/web/production/components/Drawer/Drawer.web.js.map +1 -1
- package/build/lib/web/production/components/Drawer/DrawerSubcomponents.web.js +11 -3
- package/build/lib/web/production/components/Drawer/DrawerSubcomponents.web.js.map +1 -1
- package/build/lib/web/production/components/Dropdown/Dropdown.js +5 -3
- package/build/lib/web/production/components/Dropdown/Dropdown.js.map +1 -1
- package/build/lib/web/production/components/Dropdown/DropdownButton.js +2 -2
- package/build/lib/web/production/components/Dropdown/DropdownButton.js.map +1 -1
- package/build/lib/web/production/components/Dropdown/DropdownHeaderFooter.js +8 -3
- package/build/lib/web/production/components/Dropdown/DropdownHeaderFooter.js.map +1 -1
- package/build/lib/web/production/components/Dropdown/DropdownLink.js +5 -3
- package/build/lib/web/production/components/Dropdown/DropdownLink.js.map +1 -1
- package/build/lib/web/production/components/FileUpload/FileUpload.web.js +6 -4
- package/build/lib/web/production/components/FileUpload/FileUpload.web.js.map +1 -1
- package/build/lib/web/production/components/Form/Selector/SelectorGroupField.js +8 -3
- package/build/lib/web/production/components/Form/Selector/SelectorGroupField.js.map +1 -1
- package/build/lib/web/production/components/Form/Selector/SelectorInput.web.js +8 -3
- package/build/lib/web/production/components/Form/Selector/SelectorInput.web.js.map +1 -1
- package/build/lib/web/production/components/Indicator/Indicator.js +5 -3
- package/build/lib/web/production/components/Indicator/Indicator.js.map +1 -1
- package/build/lib/web/production/components/Input/BaseInput/BaseInput.js +6 -4
- package/build/lib/web/production/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/web/production/components/Input/DropdownInputTriggers/BaseDropdownInputTrigger.js +5 -2
- package/build/lib/web/production/components/Input/DropdownInputTriggers/BaseDropdownInputTrigger.js.map +1 -1
- package/build/lib/web/production/components/Input/DropdownInputTriggers/SelectInput.js +5 -3
- package/build/lib/web/production/components/Input/DropdownInputTriggers/SelectInput.js.map +1 -1
- package/build/lib/web/production/components/Input/OTPInput/OTPInput.js +6 -4
- package/build/lib/web/production/components/Input/OTPInput/OTPInput.js.map +1 -1
- package/build/lib/web/production/components/Input/PasswordInput/PasswordInput.js +2 -2
- package/build/lib/web/production/components/Input/PasswordInput/PasswordInput.js.map +1 -1
- package/build/lib/web/production/components/Input/PhoneNumberInput/PhoneNumberInput.web.js +2 -2
- package/build/lib/web/production/components/Input/PhoneNumberInput/PhoneNumberInput.web.js.map +1 -1
- package/build/lib/web/production/components/Input/SearchInput/SearchInput.js +2 -2
- package/build/lib/web/production/components/Input/SearchInput/SearchInput.js.map +1 -1
- package/build/lib/web/production/components/Input/TextArea/TextArea.js +2 -2
- package/build/lib/web/production/components/Input/TextArea/TextArea.js.map +1 -1
- package/build/lib/web/production/components/Input/TextInput/TextInput.js +2 -2
- package/build/lib/web/production/components/Input/TextInput/TextInput.js.map +1 -1
- package/build/lib/web/production/components/Link/BaseLink/BaseLink.js +5 -3
- package/build/lib/web/production/components/Link/BaseLink/BaseLink.js.map +1 -1
- package/build/lib/web/production/components/Link/Link/Link.js +4 -2
- package/build/lib/web/production/components/Link/Link/Link.js.map +1 -1
- package/build/lib/web/production/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js +18 -8
- package/build/lib/web/production/components/Menu/VisualSubComponents/MenuHeaderFooter.web.js.map +1 -1
- package/build/lib/web/production/components/Modal/Modal.web.js +10 -4
- package/build/lib/web/production/components/Modal/Modal.web.js.map +1 -1
- package/build/lib/web/production/components/Modal/ModalBody.web.js +9 -3
- package/build/lib/web/production/components/Modal/ModalBody.web.js.map +1 -1
- package/build/lib/web/production/components/Modal/ModalFooter.web.js +7 -2
- package/build/lib/web/production/components/Modal/ModalFooter.web.js.map +1 -1
- package/build/lib/web/production/components/Modal/ModalHeader.web.js +14 -6
- package/build/lib/web/production/components/Modal/ModalHeader.web.js.map +1 -1
- package/build/lib/web/production/components/Popover/Popover.web.js +8 -3
- package/build/lib/web/production/components/Popover/Popover.web.js.map +1 -1
- package/build/lib/web/production/components/Popover/PopoverInteractiveWrapper.web.js.map +1 -1
- package/build/lib/web/production/components/ProgressBar/ProgressBar.js +5 -3
- package/build/lib/web/production/components/ProgressBar/ProgressBar.js.map +1 -1
- package/build/lib/web/production/components/Radio/Radio.js +6 -4
- package/build/lib/web/production/components/Radio/Radio.js.map +1 -1
- package/build/lib/web/production/components/Radio/RadioGroup/RadioGroup.js +8 -5
- package/build/lib/web/production/components/Radio/RadioGroup/RadioGroup.js.map +1 -1
- package/build/lib/web/production/components/SideNav/SideNav.web.js +5 -3
- package/build/lib/web/production/components/SideNav/SideNav.web.js.map +1 -1
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavItem.web.js +13 -4
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavItem.web.js.map +1 -1
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavLink.web.js +10 -4
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavLink.web.js.map +1 -1
- package/build/lib/web/production/components/SideNav/SideNavSection.web.js +10 -4
- package/build/lib/web/production/components/SideNav/SideNavSection.web.js.map +1 -1
- package/build/lib/web/production/components/StepGroup/StepGroup.web.js +5 -3
- package/build/lib/web/production/components/StepGroup/StepGroup.web.js.map +1 -1
- package/build/lib/web/production/components/StepGroup/StepItem.web.js +13 -7
- package/build/lib/web/production/components/StepGroup/StepItem.web.js.map +1 -1
- package/build/lib/web/production/components/StepGroup/StepLine.web.js +79 -42
- package/build/lib/web/production/components/StepGroup/StepLine.web.js.map +1 -1
- package/build/lib/web/production/components/StepGroup/tokens.js +6 -6
- package/build/lib/web/production/components/StepGroup/tokens.js.map +1 -1
- package/build/lib/web/production/components/Switch/Switch.js +5 -3
- package/build/lib/web/production/components/Switch/Switch.js.map +1 -1
- package/build/lib/web/production/components/Table/Table.web.js +9 -7
- package/build/lib/web/production/components/Table/Table.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableBody.web.js +18 -9
- package/build/lib/web/production/components/Table/TableBody.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableFooter.web.js +18 -9
- package/build/lib/web/production/components/Table/TableFooter.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableHeader.web.js +18 -9
- package/build/lib/web/production/components/Table/TableHeader.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TablePagination.web.js +10 -4
- package/build/lib/web/production/components/Table/TablePagination.web.js.map +1 -1
- package/build/lib/web/production/components/Table/TableToolbar.web.js +13 -8
- package/build/lib/web/production/components/Table/TableToolbar.web.js.map +1 -1
- package/build/lib/web/production/components/Tabs/TabItem.web.js +9 -5
- package/build/lib/web/production/components/Tabs/TabItem.web.js.map +1 -1
- package/build/lib/web/production/components/Tabs/TabList.web.js +5 -3
- package/build/lib/web/production/components/Tabs/TabList.web.js.map +1 -1
- package/build/lib/web/production/components/Tabs/TabPanel.web.js +10 -5
- package/build/lib/web/production/components/Tabs/TabPanel.web.js.map +1 -1
- package/build/lib/web/production/components/Tabs/Tabs.web.js +8 -3
- package/build/lib/web/production/components/Tabs/Tabs.web.js.map +1 -1
- package/build/lib/web/production/components/Tag/Tag.js +6 -4
- package/build/lib/web/production/components/Tag/Tag.js.map +1 -1
- package/build/lib/web/production/components/Toast/ToastContainer.web.js +8 -3
- package/build/lib/web/production/components/Toast/ToastContainer.web.js.map +1 -1
- package/build/lib/web/production/components/Tooltip/Tooltip.web.js +8 -3
- package/build/lib/web/production/components/Tooltip/Tooltip.web.js.map +1 -1
- package/build/lib/web/production/components/TopNav/TabNav/TabNav.web.js +6 -3
- package/build/lib/web/production/components/TopNav/TabNav/TabNav.web.js.map +1 -1
- package/build/lib/web/production/components/TopNav/TopNav.web.js +8 -5
- package/build/lib/web/production/components/TopNav/TopNav.web.js.map +1 -1
- package/build/lib/web/production/tokens/global/size.js +3 -1
- package/build/lib/web/production/tokens/global/size.js.map +1 -1
- package/build/lib/web/production/utils/makeAnalyticsAttribute/index.js +2 -0
- package/build/lib/web/production/utils/makeAnalyticsAttribute/index.js.map +1 -0
- package/build/lib/web/production/utils/makeAnalyticsAttribute/makeAnalyticsAttribute.js +20 -0
- package/build/lib/web/production/utils/makeAnalyticsAttribute/makeAnalyticsAttribute.js.map +1 -0
- package/build/types/components/index.d.ts +221 -189
- package/build/types/components/index.native.d.ts +145 -131
- package/build/types/tokens/index.d.ts +3 -1
- package/build/types/tokens/index.native.d.ts +3 -1
- package/package.json +1 -1
|
@@ -681,6 +681,16 @@ type ContainerElementType = Platform.Select<{
|
|
|
681
681
|
web: HTMLDivElement;
|
|
682
682
|
native: View;
|
|
683
683
|
}>;
|
|
684
|
+
/**
|
|
685
|
+
* This type is used to add data-analytics attributes to components.
|
|
686
|
+
* This is used to track user interactions on the components.
|
|
687
|
+
* The key is always `data-analytics-` followed by the attribute name.
|
|
688
|
+
* eg: `data-analytics-action="click"`
|
|
689
|
+
* eg: `data-analytics-section="header"`
|
|
690
|
+
*/
|
|
691
|
+
interface DataAnalyticsAttribute {
|
|
692
|
+
[key: DataAnalyticsKey]: string;
|
|
693
|
+
}
|
|
684
694
|
|
|
685
695
|
/**
|
|
686
696
|
* Returns the value or the responsive object with that value
|
|
@@ -1349,8 +1359,8 @@ type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps
|
|
|
1349
1359
|
children?: React.ReactNode | React.ReactNode[];
|
|
1350
1360
|
tabIndex?: number;
|
|
1351
1361
|
id?: string;
|
|
1352
|
-
} & TestID>;
|
|
1353
|
-
type BaseBoxProps = Omit<BoxProps, keyof BoxVisualProps> & Partial<BaseBoxVisualProps & {
|
|
1362
|
+
} & TestID & DataAnalyticsAttribute>;
|
|
1363
|
+
type BaseBoxProps = Omit<BoxProps, keyof BoxVisualProps> & Partial<DataAnalyticsAttribute & BaseBoxVisualProps & {
|
|
1354
1364
|
className?: string;
|
|
1355
1365
|
id?: string;
|
|
1356
1366
|
tabIndex?: number;
|
|
@@ -1937,7 +1947,7 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
|
|
|
1937
1947
|
children?: React__default.ReactNode | React__default.ReactNode[];
|
|
1938
1948
|
tabIndex?: number | undefined;
|
|
1939
1949
|
id?: string | undefined;
|
|
1940
|
-
} & TestID> & React__default.RefAttributes<BoxRefType>>;
|
|
1950
|
+
} & TestID & DataAnalyticsAttribute> & React__default.RefAttributes<BoxRefType>>;
|
|
1941
1951
|
|
|
1942
1952
|
type InteractiveText$1 = DotNotationToken<Theme['colors']['interactive']['icon']>;
|
|
1943
1953
|
type FeedbackText$1 = DotNotationToken<Theme['colors']['feedback']['icon']>;
|
|
@@ -2756,7 +2766,7 @@ type AccordionProps = {
|
|
|
2756
2766
|
* Checkout https://blade.razorpay.com/?path=/docs/components-accordion--docs
|
|
2757
2767
|
*
|
|
2758
2768
|
*/
|
|
2759
|
-
declare const Accordion: ({ defaultExpandedIndex, expandedIndex, onExpandChange, showNumberPrefix, children, variant, size, maxWidth, testID, ...
|
|
2769
|
+
declare const Accordion: ({ defaultExpandedIndex, expandedIndex, onExpandChange, showNumberPrefix, children, variant, size, maxWidth, testID, ...rest }: AccordionProps) => ReactElement;
|
|
2760
2770
|
|
|
2761
2771
|
type BaseHeaderProps = {
|
|
2762
2772
|
title?: string;
|
|
@@ -2814,14 +2824,14 @@ type BaseHeaderProps = {
|
|
|
2814
2824
|
* inner child of BottomSheetHeader. Meant to be used for AutoComplete only
|
|
2815
2825
|
*/
|
|
2816
2826
|
children?: React__default.ReactElement | React__default.ReactElement[];
|
|
2817
|
-
} & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'> & TestID;
|
|
2827
|
+
} & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'> & TestID & DataAnalyticsAttribute;
|
|
2818
2828
|
|
|
2819
|
-
declare const AccordionItemHeader: ({ title, subtitle, leading, children, trailing, titleSuffix, }: Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'children' | 'trailing' | 'titleSuffix'>) => React.ReactElement;
|
|
2829
|
+
declare const AccordionItemHeader: ({ title, subtitle, leading, children, trailing, titleSuffix, ...rest }: Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'children' | 'trailing' | 'titleSuffix'> & DataAnalyticsAttribute) => React.ReactElement;
|
|
2820
2830
|
|
|
2821
|
-
declare const AccordionItemBody: ({ children, _description, }: {
|
|
2831
|
+
declare const AccordionItemBody: ({ children, _description, ...rest }: {
|
|
2822
2832
|
children?: React.ReactNode | StringChildrenType;
|
|
2823
2833
|
_description?: string | undefined;
|
|
2824
|
-
}) => React.ReactElement;
|
|
2834
|
+
} & DataAnalyticsAttribute) => React.ReactElement;
|
|
2825
2835
|
|
|
2826
2836
|
type AccordionItemProps = {
|
|
2827
2837
|
/**
|
|
@@ -2863,12 +2873,12 @@ type AccordionItemProps = {
|
|
|
2863
2873
|
* instead pass `showNumberPrefix` to root `Accordion`
|
|
2864
2874
|
*/
|
|
2865
2875
|
_index?: number;
|
|
2866
|
-
} & TestID;
|
|
2867
|
-
declare const AccordionItem: ({ title, description, icon, children, isDisabled, _index, testID, }: AccordionItemProps) => ReactElement;
|
|
2876
|
+
} & TestID & DataAnalyticsAttribute;
|
|
2877
|
+
declare const AccordionItem: ({ title, description, icon, children, isDisabled, _index, testID, ...rest }: AccordionItemProps) => ReactElement;
|
|
2868
2878
|
|
|
2869
2879
|
type ActionListProps = {
|
|
2870
2880
|
children: React__default.ReactNode[];
|
|
2871
|
-
} & TestID;
|
|
2881
|
+
} & TestID & DataAnalyticsAttribute;
|
|
2872
2882
|
/**
|
|
2873
2883
|
* ### ActionList
|
|
2874
2884
|
*
|
|
@@ -2900,7 +2910,7 @@ type ActionListProps = {
|
|
|
2900
2910
|
* ```
|
|
2901
2911
|
*
|
|
2902
2912
|
*/
|
|
2903
|
-
declare const ActionList: React__default.MemoExoticComponent<({ children, testID }: ActionListProps) => React__default.ReactElement>;
|
|
2913
|
+
declare const ActionList: React__default.MemoExoticComponent<({ children, testID, ...rest }: ActionListProps) => React__default.ReactElement>;
|
|
2904
2914
|
|
|
2905
2915
|
type BadgeProps = {
|
|
2906
2916
|
/**
|
|
@@ -2932,8 +2942,8 @@ type BadgeProps = {
|
|
|
2932
2942
|
*
|
|
2933
2943
|
*/
|
|
2934
2944
|
icon?: IconComponent;
|
|
2935
|
-
} & TestID & StyledPropsBlade;
|
|
2936
|
-
declare const Badge: ({ children, emphasis, icon: Icon, size, color, testID, ...
|
|
2945
|
+
} & TestID & StyledPropsBlade & DataAnalyticsAttribute;
|
|
2946
|
+
declare const Badge: ({ children, emphasis, icon: Icon, size, color, testID, ...props }: BadgeProps) => ReactElement;
|
|
2937
2947
|
|
|
2938
2948
|
type AriaRoles = Exclude<AccessibilityRole, 'header' | 'adjustable' | 'image' | 'none' | 'summary'> | 'alert' | 'alertdialog' | 'application' | 'article' | 'banner' | 'button' | 'cell' | 'checkbox' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'dialog' | 'directory' | 'document' | 'feed' | 'figure' | 'form' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'meter' | 'navigation' | 'none' | 'note' | 'option' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem';
|
|
2939
2949
|
type AccessibilityProps = AriaAttributes;
|
|
@@ -3194,7 +3204,7 @@ type BaseTextProps = {
|
|
|
3194
3204
|
*/
|
|
3195
3205
|
numberOfLines?: number;
|
|
3196
3206
|
componentName?: 'base-text' | 'text' | 'title' | 'heading' | 'code' | 'display';
|
|
3197
|
-
} & TestID & StyledPropsBlade;
|
|
3207
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
3198
3208
|
type BaseTextSizes = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
|
|
3199
3209
|
|
|
3200
3210
|
type BaseLinkCommonProps = {
|
|
@@ -3288,11 +3298,11 @@ type BaseButtonCommonProps = {
|
|
|
3288
3298
|
type BaseButtonWithoutIconProps = BaseButtonCommonProps & {
|
|
3289
3299
|
icon?: undefined;
|
|
3290
3300
|
children: StringChildrenType;
|
|
3291
|
-
};
|
|
3301
|
+
} & DataAnalyticsAttribute;
|
|
3292
3302
|
type BaseButtonWithIconProps = BaseButtonCommonProps & {
|
|
3293
3303
|
icon: IconComponent;
|
|
3294
3304
|
children?: StringChildrenType;
|
|
3295
|
-
};
|
|
3305
|
+
} & DataAnalyticsAttribute;
|
|
3296
3306
|
type BaseButtonProps = BaseButtonWithIconProps | BaseButtonWithoutIconProps;
|
|
3297
3307
|
|
|
3298
3308
|
type ButtonCommonProps = {
|
|
@@ -3356,7 +3366,7 @@ type ButtonCommonProps = {
|
|
|
3356
3366
|
native: (event: GestureResponderEvent) => void;
|
|
3357
3367
|
web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
3358
3368
|
}>;
|
|
3359
|
-
} & TestID & StyledPropsBlade & BladeCommonEvents;
|
|
3369
|
+
} & TestID & StyledPropsBlade & DataAnalyticsAttribute & BladeCommonEvents;
|
|
3360
3370
|
type ButtonWithoutIconProps = ButtonCommonProps & {
|
|
3361
3371
|
icon?: undefined;
|
|
3362
3372
|
children: StringChildrenType;
|
|
@@ -3406,7 +3416,7 @@ type AvatarGroupProps = {
|
|
|
3406
3416
|
*/
|
|
3407
3417
|
maxCount?: number;
|
|
3408
3418
|
testID?: string;
|
|
3409
|
-
};
|
|
3419
|
+
} & DataAnalyticsAttribute;
|
|
3410
3420
|
type AvatarCommonProps = {
|
|
3411
3421
|
/**
|
|
3412
3422
|
* The size of the avatar.
|
|
@@ -3468,7 +3478,7 @@ type AvatarCommonProps = {
|
|
|
3468
3478
|
topAddon?: React__default.ReactElement;
|
|
3469
3479
|
testID?: string;
|
|
3470
3480
|
} & BladeCommonEvents & StyledPropsBlade;
|
|
3471
|
-
type AvatarProps = AvatarCommonProps & AvatarImgProps;
|
|
3481
|
+
type AvatarProps = AvatarCommonProps & AvatarImgProps & DataAnalyticsAttribute;
|
|
3472
3482
|
|
|
3473
3483
|
type ActionListItemProps = {
|
|
3474
3484
|
title: string;
|
|
@@ -3528,7 +3538,7 @@ type ActionListItemProps = {
|
|
|
3528
3538
|
* @private
|
|
3529
3539
|
*/
|
|
3530
3540
|
_index?: number;
|
|
3531
|
-
} & TestID;
|
|
3541
|
+
} & TestID & DataAnalyticsAttribute;
|
|
3532
3542
|
type ActionListSectionProps = {
|
|
3533
3543
|
title: string;
|
|
3534
3544
|
children: React__default.ReactNode[] | React__default.ReactNode;
|
|
@@ -3546,8 +3556,8 @@ type ActionListSectionProps = {
|
|
|
3546
3556
|
* @private
|
|
3547
3557
|
*/
|
|
3548
3558
|
_sectionChildValues?: string[];
|
|
3549
|
-
} & TestID;
|
|
3550
|
-
declare const ActionListSection: ({ title, children, testID, _hideDivider, _sectionChildValues, }: ActionListSectionProps) => React__default.ReactElement;
|
|
3559
|
+
} & TestID & DataAnalyticsAttribute;
|
|
3560
|
+
declare const ActionListSection: ({ title, children, testID, _hideDivider, _sectionChildValues, ...rest }: ActionListSectionProps) => React__default.ReactElement;
|
|
3551
3561
|
declare const ActionListItemIcon: ({ icon }: {
|
|
3552
3562
|
icon: IconComponent;
|
|
3553
3563
|
}) => React__default.ReactElement;
|
|
@@ -3645,8 +3655,8 @@ type AlertProps = {
|
|
|
3645
3655
|
*/
|
|
3646
3656
|
secondary?: SecondaryAction;
|
|
3647
3657
|
};
|
|
3648
|
-
} & TestID & StyledPropsBlade;
|
|
3649
|
-
declare const Alert: ({ description, title, isDismissible, onDismiss, emphasis, isFullWidth, color, actions, testID, icon, ...
|
|
3658
|
+
} & TestID & StyledPropsBlade & DataAnalyticsAttribute;
|
|
3659
|
+
declare const Alert: ({ description, title, isDismissible, onDismiss, emphasis, isFullWidth, color, actions, testID, icon, ...rest }: AlertProps) => ReactElement | null;
|
|
3650
3660
|
|
|
3651
3661
|
type AmountSizes = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
|
|
3652
3662
|
type AmountDisplayProps = {
|
|
@@ -3711,9 +3721,9 @@ type AmountCommonProps = {
|
|
|
3711
3721
|
* @default false
|
|
3712
3722
|
*/
|
|
3713
3723
|
isStrikethrough?: boolean;
|
|
3714
|
-
} & TestID & StyledPropsBlade;
|
|
3724
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
3715
3725
|
type AmountProps = AmountTypeProps & AmountCommonProps;
|
|
3716
|
-
declare const Amount: ({ value, suffix, type, size, weight, isAffixSubtle, isStrikethrough, color, currencyIndicator, currency, testID, ...
|
|
3726
|
+
declare const Amount: ({ value, suffix, type, size, weight, isAffixSubtle, isStrikethrough, color, currencyIndicator, currency, testID, ...rest }: AmountProps) => ReactElement;
|
|
3717
3727
|
|
|
3718
3728
|
/**
|
|
3719
3729
|
* ### Avatar Component
|
|
@@ -4309,7 +4319,7 @@ declare const Avatar: React__default.ForwardRefExoticComponent<{
|
|
|
4309
4319
|
srcSet?: string | undefined;
|
|
4310
4320
|
crossOrigin?: "" | "anonymous" | "use-credentials" | undefined;
|
|
4311
4321
|
referrerPolicy?: React__default.HTMLAttributeReferrerPolicy | undefined;
|
|
4312
|
-
} & React__default.RefAttributes<BladeElementRef>>;
|
|
4322
|
+
} & DataAnalyticsAttribute & React__default.RefAttributes<BladeElementRef>>;
|
|
4313
4323
|
|
|
4314
4324
|
/**
|
|
4315
4325
|
* ### AvatarGroup Component
|
|
@@ -4339,7 +4349,7 @@ declare const Avatar: React__default.ForwardRefExoticComponent<{
|
|
|
4339
4349
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-avatar-avatargroup AvatarGroup Documentation}
|
|
4340
4350
|
*
|
|
4341
4351
|
*/
|
|
4342
|
-
declare const AvatarGroup: ({ children, size, maxCount, testID, ...
|
|
4352
|
+
declare const AvatarGroup: ({ children, size, maxCount, testID, ...rest }: AvatarGroupProps) => React__default.ReactElement;
|
|
4343
4353
|
|
|
4344
4354
|
declare const TrustedBadgeIcon: IconComponent;
|
|
4345
4355
|
|
|
@@ -4350,7 +4360,7 @@ type BaseFooterProps = {
|
|
|
4350
4360
|
metaComponentName?: string;
|
|
4351
4361
|
showDivider?: boolean;
|
|
4352
4362
|
padding?: BoxProps['padding'];
|
|
4353
|
-
} & TestID;
|
|
4363
|
+
} & TestID & DataAnalyticsAttribute;
|
|
4354
4364
|
|
|
4355
4365
|
type BottomSheetProps = {
|
|
4356
4366
|
/**
|
|
@@ -4385,7 +4395,7 @@ type BottomSheetProps = {
|
|
|
4385
4395
|
* @default 100
|
|
4386
4396
|
*/
|
|
4387
4397
|
zIndex?: number;
|
|
4388
|
-
};
|
|
4398
|
+
} & DataAnalyticsAttribute;
|
|
4389
4399
|
type BottomSheetHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'showBackButton' | 'onBackButtonClick' | 'children'> & {
|
|
4390
4400
|
/**
|
|
4391
4401
|
* Trailing element to be rendered in the Header
|
|
@@ -4399,8 +4409,8 @@ type BottomSheetHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'lead
|
|
|
4399
4409
|
* Accepts `Counter`
|
|
4400
4410
|
*/
|
|
4401
4411
|
titleSuffix?: BaseHeaderProps['titleSuffix'];
|
|
4402
|
-
};
|
|
4403
|
-
type BottomSheetFooterProps = Pick<BaseFooterProps, 'children'
|
|
4412
|
+
} & DataAnalyticsAttribute;
|
|
4413
|
+
type BottomSheetFooterProps = Pick<BaseFooterProps, 'children'> & DataAnalyticsAttribute;
|
|
4404
4414
|
type BottomSheetBodyProps = {
|
|
4405
4415
|
children: React.ReactNode;
|
|
4406
4416
|
/**
|
|
@@ -4412,15 +4422,15 @@ type BottomSheetBodyProps = {
|
|
|
4412
4422
|
*/
|
|
4413
4423
|
padding?: Extract<SpacingValueType, 'spacing.0' | 'spacing.5'>;
|
|
4414
4424
|
overflow?: BaseBoxProps['overflow'];
|
|
4415
|
-
};
|
|
4425
|
+
} & DataAnalyticsAttribute;
|
|
4416
4426
|
|
|
4417
|
-
declare const BottomSheetHeader: ({ title, subtitle, leading, titleSuffix, trailing, showBackButton, onBackButtonClick, children, }: BottomSheetHeaderProps) => React__default.ReactElement;
|
|
4427
|
+
declare const BottomSheetHeader: ({ title, subtitle, leading, titleSuffix, trailing, showBackButton, onBackButtonClick, children, ...dataAnalyticsProps }: BottomSheetHeaderProps) => React__default.ReactElement;
|
|
4418
4428
|
|
|
4419
|
-
declare const BottomSheetFooter: ({ children }: BaseFooterProps) => React__default.ReactElement;
|
|
4429
|
+
declare const BottomSheetFooter: ({ children, ...dataAnalyticsProps }: BaseFooterProps) => React__default.ReactElement;
|
|
4420
4430
|
|
|
4421
|
-
declare const BottomSheetBody: ({ children, padding, overflow, }: BottomSheetBodyProps) => React__default.ReactElement;
|
|
4431
|
+
declare const BottomSheetBody: ({ children, padding, overflow, ...dataAnalyticsProps }: BottomSheetBodyProps) => React__default.ReactElement;
|
|
4422
4432
|
|
|
4423
|
-
declare const BottomSheet: ({ isOpen, onDismiss, children, initialFocusRef, snapPoints, zIndex, }: BottomSheetProps) => React__default.ReactElement;
|
|
4433
|
+
declare const BottomSheet: ({ isOpen, onDismiss, children, initialFocusRef, snapPoints, zIndex, ...dataAnalyticsProps }: BottomSheetProps) => React__default.ReactElement;
|
|
4424
4434
|
|
|
4425
4435
|
type LinkCommonProps = {
|
|
4426
4436
|
variant?: 'anchor' | 'button';
|
|
@@ -4486,14 +4496,14 @@ type LinkAnchorVariantProps = LinkPropsWithOrWithoutIcon & {
|
|
|
4486
4496
|
target?: string;
|
|
4487
4497
|
rel?: string;
|
|
4488
4498
|
isDisabled?: undefined;
|
|
4489
|
-
};
|
|
4499
|
+
} & DataAnalyticsAttribute;
|
|
4490
4500
|
type LinkButtonVariantProps = LinkPropsWithOrWithoutIcon & {
|
|
4491
4501
|
variant?: 'button';
|
|
4492
4502
|
isDisabled?: boolean;
|
|
4493
4503
|
href?: undefined;
|
|
4494
4504
|
target?: undefined;
|
|
4495
4505
|
rel?: undefined;
|
|
4496
|
-
};
|
|
4506
|
+
} & DataAnalyticsAttribute;
|
|
4497
4507
|
type LinkProps = LinkAnchorVariantProps | LinkButtonVariantProps;
|
|
4498
4508
|
declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<BladeElementRef>>;
|
|
4499
4509
|
|
|
@@ -4508,7 +4518,7 @@ type BottomNavProps = {
|
|
|
4508
4518
|
* @default 100
|
|
4509
4519
|
*/
|
|
4510
4520
|
zIndex?: number;
|
|
4511
|
-
} & StyledPropsBlade & TestID;
|
|
4521
|
+
} & StyledPropsBlade & TestID & DataAnalyticsAttribute;
|
|
4512
4522
|
type BottomNavItemProps = {
|
|
4513
4523
|
/**
|
|
4514
4524
|
* Title text of the BottomNavItem
|
|
@@ -4557,7 +4567,7 @@ type BottomNavItemProps = {
|
|
|
4557
4567
|
web: React__default.MouseEventHandler;
|
|
4558
4568
|
native: undefined;
|
|
4559
4569
|
}>;
|
|
4560
|
-
} & TestID;
|
|
4570
|
+
} & TestID & DataAnalyticsAttribute;
|
|
4561
4571
|
|
|
4562
4572
|
/**
|
|
4563
4573
|
* ### BottomNav component
|
|
@@ -4599,8 +4609,8 @@ type BottomNavItemProps = {
|
|
|
4599
4609
|
* Checkout {@link https://blade.razorpay.com/??path=/docs/components-bottomnav--doc BottomNav Documentation}
|
|
4600
4610
|
|
|
4601
4611
|
*/
|
|
4602
|
-
declare const BottomNav: ({ children, zIndex, testID, ...
|
|
4603
|
-
declare const BottomNavItem: ({ title, href, rel, target, as, isActive, onClick, icon: Icon, testID, }: BottomNavItemProps) => React__default.ReactElement;
|
|
4612
|
+
declare const BottomNav: ({ children, zIndex, testID, ...rest }: BottomNavProps) => React__default.ReactElement;
|
|
4613
|
+
declare const BottomNavItem: ({ title, href, rel, target, as, isActive, onClick, icon: Icon, testID, ...rest }: BottomNavItemProps) => React__default.ReactElement;
|
|
4604
4614
|
|
|
4605
4615
|
type BreadcrumbProps = StyledPropsBlade & {
|
|
4606
4616
|
/**
|
|
@@ -4627,7 +4637,7 @@ type BreadcrumbProps = StyledPropsBlade & {
|
|
|
4627
4637
|
* aria-label for breadcrumb
|
|
4628
4638
|
*/
|
|
4629
4639
|
accessibilityLabel?: string;
|
|
4630
|
-
};
|
|
4640
|
+
} & DataAnalyticsAttribute;
|
|
4631
4641
|
type BreadcrumbItemProps = {
|
|
4632
4642
|
/**
|
|
4633
4643
|
* Href of the BreadcrumbItem
|
|
@@ -4658,11 +4668,11 @@ type BreadcrumbItemProps = {
|
|
|
4658
4668
|
* Accessibility label for the BreadcrumbItem, can be used in icon only variant
|
|
4659
4669
|
*/
|
|
4660
4670
|
accessibilityLabel?: string;
|
|
4661
|
-
};
|
|
4671
|
+
} & DataAnalyticsAttribute;
|
|
4662
4672
|
|
|
4663
|
-
declare const Breadcrumb: ({ size, color, showLastSeparator, accessibilityLabel, children, ...
|
|
4673
|
+
declare const Breadcrumb: ({ size, color, showLastSeparator, accessibilityLabel, children, ...rest }: BreadcrumbProps) => React__default.ReactElement;
|
|
4664
4674
|
|
|
4665
|
-
declare const BreadcrumbItem: ({ children, href, icon: Icon, isCurrentPage, onClick, accessibilityLabel, }: BreadcrumbItemProps) => React__default.ReactElement;
|
|
4675
|
+
declare const BreadcrumbItem: ({ children, href, icon: Icon, isCurrentPage, onClick, accessibilityLabel, ...rest }: BreadcrumbItemProps) => React__default.ReactElement;
|
|
4666
4676
|
|
|
4667
4677
|
type IconButtonProps = {
|
|
4668
4678
|
/**
|
|
@@ -4693,7 +4703,7 @@ type IconButtonProps = {
|
|
|
4693
4703
|
* Sets tabindex property on button element
|
|
4694
4704
|
*/
|
|
4695
4705
|
_tabIndex?: number;
|
|
4696
|
-
} & BladeCommonEvents & Platform.Select<{
|
|
4706
|
+
} & DataAnalyticsAttribute & BladeCommonEvents & Platform.Select<{
|
|
4697
4707
|
web: {
|
|
4698
4708
|
onClick: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
4699
4709
|
/**
|
|
@@ -4737,7 +4747,7 @@ declare const IconButton: React__default.ForwardRefExoticComponent<{
|
|
|
4737
4747
|
* Sets tabindex property on button element
|
|
4738
4748
|
*/
|
|
4739
4749
|
_tabIndex?: number | undefined;
|
|
4740
|
-
} & BladeCommonEvents & {
|
|
4750
|
+
} & DataAnalyticsAttribute & BladeCommonEvents & {
|
|
4741
4751
|
onClick: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
4742
4752
|
/**
|
|
4743
4753
|
* This changes the hover interaction to highlight icon more
|
|
@@ -4786,7 +4796,7 @@ type ButtonGroupProps = {
|
|
|
4786
4796
|
* Test ID for automation
|
|
4787
4797
|
*/
|
|
4788
4798
|
testID?: string;
|
|
4789
|
-
};
|
|
4799
|
+
} & DataAnalyticsAttribute;
|
|
4790
4800
|
|
|
4791
4801
|
/**
|
|
4792
4802
|
* ### ButtonGroup Component
|
|
@@ -4814,7 +4824,7 @@ type ButtonGroupProps = {
|
|
|
4814
4824
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-buttongroup FileUpload Documentation}
|
|
4815
4825
|
*
|
|
4816
4826
|
*/
|
|
4817
|
-
declare const ButtonGroup: ({ children, isDisabled, size, color, variant, isFullWidth, testID, ...
|
|
4827
|
+
declare const ButtonGroup: ({ children, isDisabled, size, color, variant, isFullWidth, testID, ...rest }: ButtonGroupProps) => React__default.ReactElement;
|
|
4818
4828
|
|
|
4819
4829
|
type CardSpacingValueType = Extract<SpacingValueType, 'spacing.0' | 'spacing.3' | 'spacing.4' | 'spacing.5' | 'spacing.7'>;
|
|
4820
4830
|
|
|
@@ -4942,13 +4952,13 @@ type CardProps = {
|
|
|
4942
4952
|
* @default undefined
|
|
4943
4953
|
*/
|
|
4944
4954
|
as?: 'label';
|
|
4945
|
-
} & TestID & StyledPropsBlade;
|
|
4946
|
-
declare const Card: ({ children, backgroundColor, borderRadius, elevation, testID, padding, width, height, minHeight, minWidth, onClick, isSelected, accessibilityLabel, shouldScaleOnHover, onHover, href, target, rel, as, ...
|
|
4955
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
4956
|
+
declare const Card: ({ children, backgroundColor, borderRadius, elevation, testID, padding, width, height, minHeight, minWidth, onClick, isSelected, accessibilityLabel, shouldScaleOnHover, onHover, href, target, rel, as, ...rest }: CardProps) => React__default.ReactElement;
|
|
4947
4957
|
type CardBodyProps = {
|
|
4948
4958
|
children: React__default.ReactNode;
|
|
4949
4959
|
height?: BoxProps['height'];
|
|
4950
|
-
} & TestID;
|
|
4951
|
-
declare const CardBody: ({ height, children, testID }: CardBodyProps) => React__default.ReactElement;
|
|
4960
|
+
} & TestID & DataAnalyticsAttribute;
|
|
4961
|
+
declare const CardBody: ({ height, children, testID, ...rest }: CardBodyProps) => React__default.ReactElement;
|
|
4952
4962
|
|
|
4953
4963
|
type CounterProps = {
|
|
4954
4964
|
/**
|
|
@@ -4978,8 +4988,8 @@ type CounterProps = {
|
|
|
4978
4988
|
* @default 'medium'
|
|
4979
4989
|
*/
|
|
4980
4990
|
size?: 'small' | 'medium' | 'large';
|
|
4981
|
-
} & TestID & StyledPropsBlade;
|
|
4982
|
-
declare const Counter: ({ value, max, color, emphasis, size, testID, ...
|
|
4991
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
4992
|
+
declare const Counter: ({ value, max, color, emphasis, size, testID, ...rest }: CounterProps) => React.ReactElement;
|
|
4983
4993
|
|
|
4984
4994
|
declare const validAsValues$2: readonly ["span", "h1", "h2", "h3", "h4", "h5", "h6"];
|
|
4985
4995
|
type HeadingProps = {
|
|
@@ -5155,8 +5165,8 @@ type CardHeaderProps = {
|
|
|
5155
5165
|
* @default true
|
|
5156
5166
|
*/
|
|
5157
5167
|
showDivider?: boolean;
|
|
5158
|
-
} & TestID;
|
|
5159
|
-
declare const CardHeader: ({ children, testID, marginBottom, paddingBottom, showDivider, }: CardHeaderProps) => React__default.ReactElement;
|
|
5168
|
+
} & TestID & DataAnalyticsAttribute;
|
|
5169
|
+
declare const CardHeader: ({ children, testID, marginBottom, paddingBottom, showDivider, ...rest }: CardHeaderProps) => React__default.ReactElement;
|
|
5160
5170
|
type CardHeaderLeadingProps = {
|
|
5161
5171
|
title: string;
|
|
5162
5172
|
subtitle?: string;
|
|
@@ -5172,8 +5182,8 @@ type CardHeaderLeadingProps = {
|
|
|
5172
5182
|
* Accepts: `CardHeaderCounter` component
|
|
5173
5183
|
*/
|
|
5174
5184
|
suffix?: React__default.ReactNode;
|
|
5175
|
-
};
|
|
5176
|
-
declare const CardHeaderLeading: ({ title, subtitle, prefix, suffix, }: CardHeaderLeadingProps) => React__default.ReactElement;
|
|
5185
|
+
} & DataAnalyticsAttribute;
|
|
5186
|
+
declare const CardHeaderLeading: ({ title, subtitle, prefix, suffix, ...rest }: CardHeaderLeadingProps) => React__default.ReactElement;
|
|
5177
5187
|
type CardHeaderTrailingProps = {
|
|
5178
5188
|
/**
|
|
5179
5189
|
* Renders a visual ornament in card header trailing section
|
|
@@ -5201,20 +5211,20 @@ type CardFooterProps = {
|
|
|
5201
5211
|
* @default true
|
|
5202
5212
|
*/
|
|
5203
5213
|
showDivider?: boolean;
|
|
5204
|
-
} & TestID;
|
|
5205
|
-
declare const CardFooter: ({ children, testID, marginTop, paddingTop, showDivider, }: CardFooterProps) => React__default.ReactElement;
|
|
5214
|
+
} & TestID & DataAnalyticsAttribute;
|
|
5215
|
+
declare const CardFooter: ({ children, testID, marginTop, paddingTop, showDivider, ...props }: CardFooterProps) => React__default.ReactElement;
|
|
5206
5216
|
type CardFooterLeadingProps = {
|
|
5207
5217
|
title?: string;
|
|
5208
5218
|
subtitle?: string;
|
|
5209
|
-
};
|
|
5210
|
-
declare const CardFooterLeading: ({ title, subtitle }: CardFooterLeadingProps) => React__default.ReactElement;
|
|
5219
|
+
} & DataAnalyticsAttribute;
|
|
5220
|
+
declare const CardFooterLeading: ({ title, subtitle, ...rest }: CardFooterLeadingProps) => React__default.ReactElement;
|
|
5211
5221
|
type CardFooterTrailingProps = {
|
|
5212
5222
|
actions?: {
|
|
5213
5223
|
primary?: CardFooterAction;
|
|
5214
5224
|
secondary?: CardFooterAction;
|
|
5215
5225
|
};
|
|
5216
|
-
};
|
|
5217
|
-
declare const CardFooterTrailing: ({ actions }: CardFooterTrailingProps) => React__default.ReactElement;
|
|
5226
|
+
} & DataAnalyticsAttribute;
|
|
5227
|
+
declare const CardFooterTrailing: ({ actions, ...rest }: CardFooterTrailingProps) => React__default.ReactElement;
|
|
5218
5228
|
|
|
5219
5229
|
type InteractiveTokens = DotNotationToken<Theme['colors']['interactive']['background']>;
|
|
5220
5230
|
type FeedbackTokens = DotNotationToken<Theme['colors']['feedback']['background']>;
|
|
@@ -5319,9 +5329,9 @@ type CarouselProps = {
|
|
|
5319
5329
|
* Sets the height of the carousel
|
|
5320
5330
|
*/
|
|
5321
5331
|
height?: BoxProps['height'];
|
|
5322
|
-
} & StyledPropsBlade;
|
|
5332
|
+
} & StyledPropsBlade & DataAnalyticsAttribute;
|
|
5323
5333
|
|
|
5324
|
-
declare const Carousel: ({ autoPlay, visibleItems, showIndicators, navigationButtonPosition, children, shouldAddStartEndSpacing, carouselItemWidth, scrollOverlayColor, accessibilityLabel, onChange, indicatorVariant, navigationButtonVariant, carouselItemAlignment, height, defaultActiveSlide, activeSlide: activeSlideProp, ...
|
|
5334
|
+
declare const Carousel: ({ autoPlay, visibleItems, showIndicators, navigationButtonPosition, children, shouldAddStartEndSpacing, carouselItemWidth, scrollOverlayColor, accessibilityLabel, onChange, indicatorVariant, navigationButtonVariant, carouselItemAlignment, height, defaultActiveSlide, activeSlide: activeSlideProp, ...rest }: CarouselProps) => React__default.ReactElement;
|
|
5325
5335
|
|
|
5326
5336
|
type CarouselItemProps = {
|
|
5327
5337
|
id?: string;
|
|
@@ -5329,8 +5339,8 @@ type CarouselItemProps = {
|
|
|
5329
5339
|
children: React__default.ReactNode;
|
|
5330
5340
|
shouldHaveStartSpacing?: boolean;
|
|
5331
5341
|
shouldHaveEndSpacing?: boolean;
|
|
5332
|
-
};
|
|
5333
|
-
declare const CarouselItem: ({ children, shouldHaveStartSpacing, shouldHaveEndSpacing, id, index, }: CarouselItemProps) => React__default.ReactElement;
|
|
5342
|
+
} & DataAnalyticsAttribute;
|
|
5343
|
+
declare const CarouselItem: ({ children, shouldHaveStartSpacing, shouldHaveEndSpacing, id, index, ...rest }: CarouselItemProps) => React__default.ReactElement;
|
|
5334
5344
|
|
|
5335
5345
|
type OnChange$1 = ({ isChecked, event, value, }: {
|
|
5336
5346
|
isChecked: boolean;
|
|
@@ -5415,7 +5425,7 @@ type CheckboxProps = {
|
|
|
5415
5425
|
*
|
|
5416
5426
|
*/
|
|
5417
5427
|
tabIndex?: number;
|
|
5418
|
-
} & TestID & StyledPropsBlade;
|
|
5428
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
5419
5429
|
declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
5420
5430
|
/**
|
|
5421
5431
|
* If `true`, The checkbox will be checked. This also makes the checkbox controlled
|
|
@@ -5494,7 +5504,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
5494
5504
|
*
|
|
5495
5505
|
*/
|
|
5496
5506
|
tabIndex?: number | undefined;
|
|
5497
|
-
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
5507
|
+
} & TestID & DataAnalyticsAttribute & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
5498
5508
|
bottom: SpacingValueType | {
|
|
5499
5509
|
readonly base?: SpacingValueType | undefined;
|
|
5500
5510
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -6130,8 +6140,8 @@ type CheckboxGroupProps = {
|
|
|
6130
6140
|
* @default "medium"
|
|
6131
6141
|
*/
|
|
6132
6142
|
size?: 'small' | 'medium' | 'large';
|
|
6133
|
-
} & TestID & StyledPropsBlade;
|
|
6134
|
-
declare const CheckboxGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...
|
|
6143
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
6144
|
+
declare const CheckboxGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...rest }: CheckboxGroupProps) => React__default.ReactElement;
|
|
6135
6145
|
|
|
6136
6146
|
type ChipProps = {
|
|
6137
6147
|
/**
|
|
@@ -6161,7 +6171,7 @@ type ChipProps = {
|
|
|
6161
6171
|
* Use `onChange` to update its value
|
|
6162
6172
|
*/
|
|
6163
6173
|
value?: string;
|
|
6164
|
-
} & TestID & StyledPropsBlade;
|
|
6174
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
6165
6175
|
type ChipGroupCommonProps = {
|
|
6166
6176
|
/**
|
|
6167
6177
|
* Sets the position of the label
|
|
@@ -6250,7 +6260,7 @@ type ChipGroupCommonProps = {
|
|
|
6250
6260
|
* @default "primary"
|
|
6251
6261
|
*/
|
|
6252
6262
|
color?: 'primary' | 'positive' | 'negative';
|
|
6253
|
-
} & TestID & StyledPropsBlade;
|
|
6263
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
6254
6264
|
type ChipGroupPropsWithA11yLabel = {
|
|
6255
6265
|
/**
|
|
6256
6266
|
* Label to be shown for the input field
|
|
@@ -6279,7 +6289,7 @@ declare const Chip: React__default.ForwardRefExoticComponent<{
|
|
|
6279
6289
|
color?: "negative" | "positive" | "primary" | undefined;
|
|
6280
6290
|
isDisabled?: boolean | undefined;
|
|
6281
6291
|
value?: string | undefined;
|
|
6282
|
-
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
6292
|
+
} & TestID & DataAnalyticsAttribute & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
6283
6293
|
bottom: SpacingValueType | {
|
|
6284
6294
|
readonly base?: SpacingValueType | undefined;
|
|
6285
6295
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -6837,7 +6847,7 @@ declare const Chip: React__default.ForwardRefExoticComponent<{
|
|
|
6837
6847
|
} | undefined;
|
|
6838
6848
|
}, "visibility">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
6839
6849
|
|
|
6840
|
-
declare const ChipGroup: ({ accessibilityLabel, label, labelPosition, necessityIndicator, validationState, errorText, helpText, isRequired, children, isDisabled, name, defaultValue, onChange, value, size, color, testID, selectionType, ...
|
|
6850
|
+
declare const ChipGroup: ({ accessibilityLabel, label, labelPosition, necessityIndicator, validationState, errorText, helpText, isRequired, children, isDisabled, name, defaultValue, onChange, value, size, color, testID, selectionType, ...rest }: ChipGroupProps) => React__default.ReactElement;
|
|
6841
6851
|
|
|
6842
6852
|
type CollapsibleProps = {
|
|
6843
6853
|
/**
|
|
@@ -6878,14 +6888,14 @@ type CollapsibleProps = {
|
|
|
6878
6888
|
* **Internal**: used to override responsive width restrictions
|
|
6879
6889
|
*/
|
|
6880
6890
|
_shouldApplyWidthRestrictions?: boolean;
|
|
6881
|
-
} & TestID & StyledPropsBlade;
|
|
6882
|
-
declare const Collapsible: ({ children, direction, defaultIsExpanded, isExpanded, onExpandChange, testID, _shouldApplyWidthRestrictions, _dangerouslyDisableValidations, ...
|
|
6891
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
6892
|
+
declare const Collapsible: ({ children, direction, defaultIsExpanded, isExpanded, onExpandChange, testID, _shouldApplyWidthRestrictions, _dangerouslyDisableValidations, ...rest }: CollapsibleProps) => ReactElement;
|
|
6883
6893
|
|
|
6884
|
-
type CollapsibleLinkProps = Pick<LinkProps, 'color' | 'size' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'children'> & StyledPropsBlade;
|
|
6885
|
-
declare const CollapsibleLink: ({ children, size, color, isDisabled, testID, accessibilityLabel, ...
|
|
6894
|
+
type CollapsibleLinkProps = Pick<LinkProps, 'color' | 'size' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'children'> & DataAnalyticsAttribute & StyledPropsBlade;
|
|
6895
|
+
declare const CollapsibleLink: ({ children, size, color, isDisabled, testID, accessibilityLabel, ...rest }: CollapsibleLinkProps) => ReactElement;
|
|
6886
6896
|
|
|
6887
|
-
type CollapsibleButtonProps = Pick<ButtonProps, 'variant' | 'size' | 'iconPosition' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'icon' | 'children'
|
|
6888
|
-
declare const CollapsibleButton: React$1.ForwardRefExoticComponent<
|
|
6897
|
+
type CollapsibleButtonProps = Pick<ButtonProps, 'variant' | 'size' | 'iconPosition' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'icon' | 'children'> & DataAnalyticsAttribute;
|
|
6898
|
+
declare const CollapsibleButton: React$1.ForwardRefExoticComponent<Pick<ButtonProps, "icon" | "children" | "testID" | "size" | "variant" | "isDisabled" | "accessibilityLabel" | "iconPosition"> & DataAnalyticsAttribute & React$1.RefAttributes<BladeElementRef>>;
|
|
6889
6899
|
|
|
6890
6900
|
type CollapsibleBodyProps = {
|
|
6891
6901
|
children: ReactNode;
|
|
@@ -6896,9 +6906,9 @@ type CollapsibleBodyProps = {
|
|
|
6896
6906
|
* Set to false to remove margin of CollapsibleBody
|
|
6897
6907
|
*/
|
|
6898
6908
|
_hasMargin?: boolean;
|
|
6899
|
-
} & TestID;
|
|
6909
|
+
} & DataAnalyticsAttribute & TestID;
|
|
6900
6910
|
|
|
6901
|
-
declare const CollapsibleBody: ({ children, testID, width, _hasMargin, }: CollapsibleBodyProps) => ReactElement;
|
|
6911
|
+
declare const CollapsibleBody: ({ children, testID, width, _hasMargin, ...rest }: CollapsibleBodyProps) => ReactElement;
|
|
6902
6912
|
|
|
6903
6913
|
type DividerProps = {
|
|
6904
6914
|
/**
|
|
@@ -6980,7 +6990,7 @@ type DrawerProps = {
|
|
|
6980
6990
|
* @default true
|
|
6981
6991
|
*/
|
|
6982
6992
|
isLazy?: boolean;
|
|
6983
|
-
} & TestID;
|
|
6993
|
+
} & DataAnalyticsAttribute & TestID;
|
|
6984
6994
|
type DrawerHeaderProps = {
|
|
6985
6995
|
/**
|
|
6986
6996
|
* Title of the Drawer
|
|
@@ -7008,7 +7018,7 @@ type DrawerHeaderProps = {
|
|
|
7008
7018
|
* Link, Button[]
|
|
7009
7019
|
*/
|
|
7010
7020
|
trailing?: React.ReactNode;
|
|
7011
|
-
};
|
|
7021
|
+
} & DataAnalyticsAttribute;
|
|
7012
7022
|
|
|
7013
7023
|
/**
|
|
7014
7024
|
* ### Drawer Component
|
|
@@ -7047,7 +7057,7 @@ type DrawerHeaderProps = {
|
|
|
7047
7057
|
*
|
|
7048
7058
|
*
|
|
7049
7059
|
*/
|
|
7050
|
-
declare const Drawer: ({ isOpen, onDismiss, zIndex, children, accessibilityLabel, showOverlay, initialFocusRef, isLazy, testID, }: DrawerProps) => React__default.ReactElement;
|
|
7060
|
+
declare const Drawer: ({ isOpen, onDismiss, zIndex, children, accessibilityLabel, showOverlay, initialFocusRef, isLazy, testID, ...rest }: DrawerProps) => React__default.ReactElement;
|
|
7051
7061
|
|
|
7052
7062
|
/**
|
|
7053
7063
|
* #### Usage
|
|
@@ -7063,7 +7073,7 @@ declare const Drawer: ({ isOpen, onDismiss, zIndex, children, accessibilityLabel
|
|
|
7063
7073
|
* ```
|
|
7064
7074
|
*
|
|
7065
7075
|
*/
|
|
7066
|
-
declare const DrawerHeader: ({ title, subtitle, leading, trailing, titleSuffix, }: DrawerHeaderProps) => React__default.ReactElement;
|
|
7076
|
+
declare const DrawerHeader: ({ title, subtitle, leading, trailing, titleSuffix, ...rest }: DrawerHeaderProps) => React__default.ReactElement;
|
|
7067
7077
|
declare const drawerPadding = "spacing.6";
|
|
7068
7078
|
declare const DrawerBody: ({ children }: {
|
|
7069
7079
|
children: React__default.ReactNode;
|
|
@@ -7124,7 +7134,7 @@ type FormInputValidationProps = {
|
|
|
7124
7134
|
|
|
7125
7135
|
type CommonAutoCompleteSuggestionTypes = 'none' | 'name' | 'email' | 'username' | 'password' | 'newPassword' | 'oneTimeCode' | 'telephone' | 'postalCode' | 'countryName' | 'creditCardNumber' | 'creditCardCSC' | 'creditCardExpiry' | 'creditCardExpiryMonth' | 'creditCardExpiryYear';
|
|
7126
7136
|
type WebAutoCompleteSuggestionType = CommonAutoCompleteSuggestionTypes | 'on';
|
|
7127
|
-
type BaseInputCommonProps = FormInputLabelProps & FormInputValidationProps & {
|
|
7137
|
+
type BaseInputCommonProps = FormInputLabelProps & DataAnalyticsAttribute & FormInputValidationProps & {
|
|
7128
7138
|
/**
|
|
7129
7139
|
* Determines if it needs to be rendered as input, textarea or button
|
|
7130
7140
|
*/
|
|
@@ -7448,7 +7458,7 @@ type TaggedInputProps = {
|
|
|
7448
7458
|
};
|
|
7449
7459
|
|
|
7450
7460
|
type Type = Exclude<BaseInputProps['type'], 'password'>;
|
|
7451
|
-
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'> & {
|
|
7461
|
+
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> & {
|
|
7452
7462
|
/**
|
|
7453
7463
|
* Decides whether to render a clear icon button
|
|
7454
7464
|
*/
|
|
@@ -8242,7 +8252,7 @@ declare const DatePicker: <Type extends DateSelectionType = "single">({ selectio
|
|
|
8242
8252
|
readonly l?: "platform-web" | undefined;
|
|
8243
8253
|
readonly xl?: "platform-web" | undefined;
|
|
8244
8254
|
} | undefined;
|
|
8245
|
-
}, "visibility">, "__brand__">>) => React__default.ReactElement;
|
|
8255
|
+
}, "visibility">, "__brand__">> & DataAnalyticsAttribute) => React__default.ReactElement;
|
|
8246
8256
|
|
|
8247
8257
|
type DropdownProps = {
|
|
8248
8258
|
/**
|
|
@@ -8263,7 +8273,7 @@ type DropdownProps = {
|
|
|
8263
8273
|
* width prop for outer relative container of Dropdown. Use width prop on DropdownOverlay to change width of menu
|
|
8264
8274
|
*/
|
|
8265
8275
|
_width?: BoxProps['width'];
|
|
8266
|
-
} & TestID & StyledPropsBlade;
|
|
8276
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
8267
8277
|
type DropdownOverlayProps = {
|
|
8268
8278
|
children: React__default.ReactElement[] | React__default.ReactElement;
|
|
8269
8279
|
/**
|
|
@@ -8305,7 +8315,7 @@ type DropdownOverlayProps = {
|
|
|
8305
8315
|
defaultPlacement?: Placement;
|
|
8306
8316
|
} & TestID;
|
|
8307
8317
|
|
|
8308
|
-
declare const Dropdown: ({ children, isOpen: isOpenControlled, onOpenChange, selectionType, testID, _width, ...
|
|
8318
|
+
declare const Dropdown: ({ children, isOpen: isOpenControlled, onOpenChange, selectionType, testID, _width, ...rest }: DropdownProps) => React__default.ReactElement;
|
|
8309
8319
|
|
|
8310
8320
|
declare const DropdownOverlay: ({ children, testID, zIndex, width, minWidth, maxWidth, referenceRef, defaultPlacement, }: DropdownOverlayProps) => React__default.ReactElement | null;
|
|
8311
8321
|
|
|
@@ -8313,16 +8323,16 @@ type DropdownButtonProps = ButtonProps & {
|
|
|
8313
8323
|
onBlur?: BaseButtonProps['onBlur'];
|
|
8314
8324
|
onKeyDown?: BaseButtonProps['onKeyDown'];
|
|
8315
8325
|
};
|
|
8316
|
-
declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...
|
|
8326
|
+
declare const DropdownButton: ({ children, icon, iconPosition, isDisabled, isFullWidth, isLoading, onClick, onBlur, onKeyDown, size, type, variant, accessibilityLabel, testID, ...rest }: DropdownButtonProps) => React__default.ReactElement;
|
|
8317
8327
|
|
|
8318
8328
|
type DropdownLinkProps = LinkButtonVariantProps & {
|
|
8319
8329
|
onBlur?: BaseLinkProps['onBlur'];
|
|
8320
8330
|
onKeyDown?: BaseLinkProps['onKeyDown'];
|
|
8321
8331
|
};
|
|
8322
|
-
declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...
|
|
8332
|
+
declare const DropdownLink: ({ children, icon, iconPosition, onClick, onBlur, onKeyDown, isDisabled, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...props }: DropdownLinkProps) => React__default.ReactElement;
|
|
8323
8333
|
|
|
8324
|
-
type DropdownHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID'>;
|
|
8325
|
-
declare const DropdownHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, }: DropdownHeaderProps) => React__default.ReactElement;
|
|
8334
|
+
type DropdownHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID' | keyof DataAnalyticsAttribute>;
|
|
8335
|
+
declare const DropdownHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, ...rest }: DropdownHeaderProps) => React__default.ReactElement;
|
|
8326
8336
|
type DropdownFooter = Pick<BaseFooterProps, 'children' | 'testID'>;
|
|
8327
8337
|
declare const DropdownFooter: ({ children, testID }: DropdownFooter) => React__default.ReactElement;
|
|
8328
8338
|
|
|
@@ -8556,8 +8566,8 @@ type IndicatorProps = {
|
|
|
8556
8566
|
* a11y label for screen readers
|
|
8557
8567
|
*/
|
|
8558
8568
|
accessibilityLabel?: string;
|
|
8559
|
-
} & TestID & StyledPropsBlade;
|
|
8560
|
-
declare const Indicator: ({ accessibilityLabel, children, size, color, emphasis, testID, ...
|
|
8569
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
8570
|
+
declare const Indicator: ({ accessibilityLabel, children, size, color, emphasis, testID, ...rest }: IndicatorProps) => ReactElement;
|
|
8561
8571
|
|
|
8562
8572
|
/**
|
|
8563
8573
|
* ### SelectInput
|
|
@@ -8592,7 +8602,7 @@ declare const SelectInput: React__default.ForwardRefExoticComponent<(({
|
|
|
8592
8602
|
} | {
|
|
8593
8603
|
label: string;
|
|
8594
8604
|
accessibilityLabel?: string | undefined;
|
|
8595
|
-
}) & Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "size" | "onBlur" | "onFocus" | "autoFocus" | "placeholder" | "onClick" | "isDisabled" | "accessibilityLabel" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
8605
|
+
}) & Pick<BaseInputProps, "name" | `data-analytics-${string}` | "label" | "testID" | "prefix" | "size" | "onBlur" | "onFocus" | "autoFocus" | "placeholder" | "onClick" | "isDisabled" | "accessibilityLabel" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
8596
8606
|
icon?: IconComponent | undefined;
|
|
8597
8607
|
value?: string | string[] | undefined;
|
|
8598
8608
|
defaultValue?: string | string[] | undefined;
|
|
@@ -8651,7 +8661,7 @@ declare const SelectInput: React__default.ForwardRefExoticComponent<(({
|
|
|
8651
8661
|
*
|
|
8652
8662
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-autocomplete--with-single-select AutoComplete Documentation}.
|
|
8653
8663
|
*/
|
|
8654
|
-
declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "size" | "onBlur" | "onFocus" | "autoFocus" | "placeholder" | "onClick" | "isDisabled" | "accessibilityLabel" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
8664
|
+
declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | `data-analytics-${string}` | "label" | "testID" | "prefix" | "size" | "onBlur" | "onFocus" | "autoFocus" | "placeholder" | "onClick" | "isDisabled" | "accessibilityLabel" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
|
|
8655
8665
|
icon?: IconComponent | undefined;
|
|
8656
8666
|
value?: string | string[] | undefined;
|
|
8657
8667
|
defaultValue?: string | string[] | undefined;
|
|
@@ -8668,7 +8678,7 @@ declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseIn
|
|
|
8668
8678
|
filteredValues?: string[] | undefined;
|
|
8669
8679
|
} & React__default.RefAttributes<BladeElementRef>>;
|
|
8670
8680
|
|
|
8671
|
-
type DropdownInputTriggersCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'autoFocus' | 'onClick' | 'onFocus' | 'onBlur' | 'placeholder' | 'testID' | 'size'> & {
|
|
8681
|
+
type DropdownInputTriggersCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'isDisabled' | 'isRequired' | 'prefix' | 'suffix' | 'autoFocus' | 'onClick' | 'onFocus' | 'onBlur' | 'placeholder' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
8672
8682
|
icon?: IconComponent;
|
|
8673
8683
|
/**
|
|
8674
8684
|
* Controlled value of the Select. Use it in combination of `onChange`.
|
|
@@ -8755,7 +8765,7 @@ type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
|
8755
8765
|
value?: string;
|
|
8756
8766
|
inputIndex: number;
|
|
8757
8767
|
}) => void;
|
|
8758
|
-
type OTPInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID' | 'size'> & {
|
|
8768
|
+
type OTPInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'name' | 'onChange' | 'value' | 'isDisabled' | 'autoFocus' | 'keyboardReturnKeyType' | 'keyboardType' | 'placeholder' | 'testID' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
8759
8769
|
/**
|
|
8760
8770
|
* Determines the number of input fields to show for the OTP
|
|
8761
8771
|
* @default 6
|
|
@@ -8845,7 +8855,7 @@ type PasswordInputExtraProps = {
|
|
|
8845
8855
|
*/
|
|
8846
8856
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
8847
8857
|
};
|
|
8848
|
-
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'> & PasswordInputExtraProps & StyledPropsBlade;
|
|
8858
|
+
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;
|
|
8849
8859
|
type PasswordInputPropsWithA11yLabel = {
|
|
8850
8860
|
/**
|
|
8851
8861
|
* Label to be shown for the input field
|
|
@@ -8869,7 +8879,7 @@ type PasswordInputPropsWithLabel = {
|
|
|
8869
8879
|
type PasswordInputProps = (PasswordInputPropsWithA11yLabel | PasswordInputPropsWithLabel) & PasswordInputCommonProps;
|
|
8870
8880
|
declare const PasswordInput: React__default.ForwardRefExoticComponent<PasswordInputProps & React__default.RefAttributes<BladeElementRef>>;
|
|
8871
8881
|
|
|
8872
|
-
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'> & {
|
|
8882
|
+
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> & {
|
|
8873
8883
|
/**
|
|
8874
8884
|
* Decides whether to render a clear icon button
|
|
8875
8885
|
*/
|
|
@@ -8902,7 +8912,7 @@ type TextAreaPropsWithLabel = {
|
|
|
8902
8912
|
type TextAreaProps = (TextAreaPropsWithA11yLabel | TextAreaPropsWithLabel) & TextAreaCommonProps;
|
|
8903
8913
|
declare const TextArea: React__default.ForwardRefExoticComponent<TextAreaProps & React__default.RefAttributes<BladeElementRef>>;
|
|
8904
8914
|
|
|
8905
|
-
type SearchInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'helpText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'autoFocus' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size'> & {
|
|
8915
|
+
type SearchInputCommonProps = Pick<BaseInputProps, 'label' | 'accessibilityLabel' | 'labelPosition' | 'helpText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'value' | 'isDisabled' | 'autoFocus' | 'onSubmit' | 'autoCapitalize' | 'testID' | 'onClick' | 'size' | keyof DataAnalyticsAttribute> & {
|
|
8906
8916
|
/**
|
|
8907
8917
|
* Event handler to handle the onClick event for clear button.
|
|
8908
8918
|
*/
|
|
@@ -9508,6 +9518,7 @@ declare const PhoneNumberInput: React__default.ForwardRefExoticComponent<Partial
|
|
|
9508
9518
|
readonly xl?: "platform-web" | undefined;
|
|
9509
9519
|
} | undefined;
|
|
9510
9520
|
}, "visibility">, "__brand__">> & {
|
|
9521
|
+
[x: `data-analytics-${string}`]: string;
|
|
9511
9522
|
name?: string | undefined;
|
|
9512
9523
|
label?: string | undefined;
|
|
9513
9524
|
testID?: string | undefined;
|
|
@@ -9552,7 +9563,7 @@ declare const PhoneNumberInput: React__default.ForwardRefExoticComponent<Partial
|
|
|
9552
9563
|
onClearButtonClick?: (() => void) | undefined;
|
|
9553
9564
|
} & React__default.RefAttributes<BladeElementRef>>;
|
|
9554
9565
|
|
|
9555
|
-
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'>;
|
|
9566
|
+
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>;
|
|
9556
9567
|
type PhoneNumberInputProps = StyledPropsBlade & CommonProps & {
|
|
9557
9568
|
/**
|
|
9558
9569
|
* Default value of the input, Used to set the default value of input field when it's uncontrolled
|
|
@@ -9714,10 +9725,10 @@ declare function clearAnnouncer(assertiveness: Assertiveness): void;
|
|
|
9714
9725
|
*/
|
|
9715
9726
|
declare function destroyAnnouncer(): void;
|
|
9716
9727
|
|
|
9717
|
-
type ModalHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix'>;
|
|
9718
|
-
declare const ModalHeader: ({ leading, subtitle, title, titleSuffix, trailing, }: ModalHeaderProps) => React.ReactElement;
|
|
9728
|
+
type ModalHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | keyof DataAnalyticsAttribute>;
|
|
9729
|
+
declare const ModalHeader: ({ leading, subtitle, title, titleSuffix, trailing, ...rest }: ModalHeaderProps) => React.ReactElement;
|
|
9719
9730
|
|
|
9720
|
-
type ModalFooterProps = Pick<BaseFooterProps, 'children'>;
|
|
9731
|
+
type ModalFooterProps = Pick<BaseFooterProps, 'children' | keyof DataAnalyticsAttribute>;
|
|
9721
9732
|
declare const ModalFooter: (props: ModalFooterProps) => React__default.ReactElement;
|
|
9722
9733
|
|
|
9723
9734
|
type ModalBodyProps = {
|
|
@@ -9730,8 +9741,8 @@ type ModalBodyProps = {
|
|
|
9730
9741
|
* - Docs: https://blade.razorpay.com/?path=/docs/tokens-spacing--docs
|
|
9731
9742
|
*/
|
|
9732
9743
|
padding?: Extract<SpacingValueType, 'spacing.0' | 'spacing.6'>;
|
|
9733
|
-
};
|
|
9734
|
-
declare const ModalBody: ({ children, padding }: ModalBodyProps) => React__default.ReactElement;
|
|
9744
|
+
} & DataAnalyticsAttribute;
|
|
9745
|
+
declare const ModalBody: ({ children, padding, ...rest }: ModalBodyProps) => React__default.ReactElement;
|
|
9735
9746
|
|
|
9736
9747
|
type ModalProps = {
|
|
9737
9748
|
/**
|
|
@@ -9766,9 +9777,9 @@ type ModalProps = {
|
|
|
9766
9777
|
* @default 1000
|
|
9767
9778
|
*/
|
|
9768
9779
|
zIndex?: number;
|
|
9769
|
-
};
|
|
9780
|
+
} & DataAnalyticsAttribute;
|
|
9770
9781
|
|
|
9771
|
-
declare const Modal: ({ isOpen, children, onDismiss, initialFocusRef, size, accessibilityLabel, zIndex, }: ModalProps) => React__default.ReactElement;
|
|
9782
|
+
declare const Modal: ({ isOpen, children, onDismiss, initialFocusRef, size, accessibilityLabel, zIndex, ...rest }: ModalProps) => React__default.ReactElement;
|
|
9772
9783
|
|
|
9773
9784
|
type BaseMenuItemProps = {
|
|
9774
9785
|
as?: React.ComponentType<any> | 'a' | 'button';
|
|
@@ -9795,7 +9806,7 @@ type BaseMenuItemProps = {
|
|
|
9795
9806
|
web: React.MouseEventHandler;
|
|
9796
9807
|
native: undefined | ((event: any) => void);
|
|
9797
9808
|
}>;
|
|
9798
|
-
} & BladeCommonEvents;
|
|
9809
|
+
} & BladeCommonEvents & DataAnalyticsAttribute;
|
|
9799
9810
|
|
|
9800
9811
|
type MenuProps = {
|
|
9801
9812
|
/**
|
|
@@ -9880,7 +9891,7 @@ type MenuItemProps = {
|
|
|
9880
9891
|
_hasFocusInside?: boolean;
|
|
9881
9892
|
_isMenuTrigger?: boolean;
|
|
9882
9893
|
_isSubmenuOpen?: boolean;
|
|
9883
|
-
};
|
|
9894
|
+
} & DataAnalyticsAttribute;
|
|
9884
9895
|
type MenuOverlayProps = {
|
|
9885
9896
|
/**
|
|
9886
9897
|
* JSX Slot for MenuItem or anything else
|
|
@@ -9908,13 +9919,30 @@ type MenuOverlayProps = {
|
|
|
9908
9919
|
* @private Internal Prop. Do not override or you'll be fired
|
|
9909
9920
|
*/
|
|
9910
9921
|
_transitionStyle?: React__default.CSSProperties;
|
|
9911
|
-
} & TestID;
|
|
9912
|
-
type MenuFooterProps = Pick<BaseFooterProps, 'children' | 'testID'>;
|
|
9913
|
-
type MenuHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID'>;
|
|
9922
|
+
} & TestID & DataAnalyticsAttribute;
|
|
9923
|
+
type MenuFooterProps = Pick<BaseFooterProps, 'children' | 'testID' | keyof DataAnalyticsAttribute>;
|
|
9924
|
+
type MenuHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'trailing' | 'titleSuffix' | 'testID' | keyof DataAnalyticsAttribute>;
|
|
9914
9925
|
|
|
9915
9926
|
declare const Menu: (props: MenuProps) => React$1.ReactElement;
|
|
9916
9927
|
|
|
9917
|
-
declare const MenuItem: React__default.ForwardRefExoticComponent<
|
|
9928
|
+
declare const MenuItem: React__default.ForwardRefExoticComponent<{
|
|
9929
|
+
title?: string | undefined;
|
|
9930
|
+
description?: string | undefined;
|
|
9931
|
+
children?: React__default.ReactNode;
|
|
9932
|
+
as?: React__default.ComponentType<any> | "a" | "button" | undefined;
|
|
9933
|
+
onClick?: ((event: React__default.MouseEvent<Element, MouseEvent>) => void) | undefined;
|
|
9934
|
+
onFocus?: ((event: React__default.FocusEvent<Element, Element>) => void) | undefined;
|
|
9935
|
+
href?: string | undefined;
|
|
9936
|
+
target?: string | undefined;
|
|
9937
|
+
leading?: React__default.ReactNode;
|
|
9938
|
+
trailing?: React__default.ReactNode;
|
|
9939
|
+
titleSuffix?: React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | undefined;
|
|
9940
|
+
isDisabled?: boolean | undefined;
|
|
9941
|
+
color?: "negative" | undefined;
|
|
9942
|
+
_hasFocusInside?: boolean | undefined;
|
|
9943
|
+
_isMenuTrigger?: boolean | undefined;
|
|
9944
|
+
_isSubmenuOpen?: boolean | undefined;
|
|
9945
|
+
} & DataAnalyticsAttribute & React__default.RefAttributes<HTMLButtonElement>>;
|
|
9918
9946
|
|
|
9919
9947
|
declare const MenuOverlay: React__default.ForwardRefExoticComponent<{
|
|
9920
9948
|
children: React__default.ReactNode | React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>> | React__default.ReactElement<any, string | React__default.JSXElementConstructor<any>>[];
|
|
@@ -9951,12 +9979,12 @@ declare const MenuOverlay: React__default.ForwardRefExoticComponent<{
|
|
|
9951
9979
|
readonly xl?: SpacingValueType | undefined;
|
|
9952
9980
|
} | undefined;
|
|
9953
9981
|
_transitionStyle?: React__default.CSSProperties | undefined;
|
|
9954
|
-
} & TestID & React__default.RefAttributes<BladeElementRef>>;
|
|
9982
|
+
} & TestID & DataAnalyticsAttribute & React__default.RefAttributes<BladeElementRef>>;
|
|
9955
9983
|
|
|
9956
9984
|
declare const MenuDivider: (styledProps: StyledPropsBlade) => React.ReactElement;
|
|
9957
9985
|
|
|
9958
|
-
declare const MenuHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, }: MenuHeaderProps) => React__default.ReactElement;
|
|
9959
|
-
declare const MenuFooter: ({ children, testID }: MenuFooterProps) => React__default.ReactElement;
|
|
9986
|
+
declare const MenuHeader: ({ title, subtitle, leading, titleSuffix, trailing, testID, ...rest }: MenuHeaderProps) => React__default.ReactElement;
|
|
9987
|
+
declare const MenuFooter: ({ children, testID, ...rest }: MenuFooterProps) => React__default.ReactElement;
|
|
9960
9988
|
|
|
9961
9989
|
type PopoverProps = {
|
|
9962
9990
|
/**
|
|
@@ -10013,7 +10041,7 @@ type PopoverProps = {
|
|
|
10013
10041
|
* @default PopoverCloseButton
|
|
10014
10042
|
*/
|
|
10015
10043
|
initialFocusRef?: React__default.RefObject<any>;
|
|
10016
|
-
};
|
|
10044
|
+
} & DataAnalyticsAttribute;
|
|
10017
10045
|
/**
|
|
10018
10046
|
* PopoverTriggerProps
|
|
10019
10047
|
*
|
|
@@ -10046,7 +10074,7 @@ type PopoverTriggerProps = {
|
|
|
10046
10074
|
}>;
|
|
10047
10075
|
};
|
|
10048
10076
|
|
|
10049
|
-
declare const Popover: ({ content, title, titleLeading, footer, children, placement, onOpenChange, zIndex, isOpen, defaultIsOpen, initialFocusRef, }: PopoverProps) => React__default.ReactElement;
|
|
10077
|
+
declare const Popover: ({ content, title, titleLeading, footer, children, placement, onOpenChange, zIndex, isOpen, defaultIsOpen, initialFocusRef, ...rest }: PopoverProps) => React__default.ReactElement;
|
|
10050
10078
|
|
|
10051
10079
|
type PopoverInteractiveWrapper = {
|
|
10052
10080
|
/**
|
|
@@ -10059,7 +10087,7 @@ type PopoverInteractiveWrapper = {
|
|
|
10059
10087
|
children?: React__default.ReactNode;
|
|
10060
10088
|
onClick?: (event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void;
|
|
10061
10089
|
onKeyDown?: (event: React__default.KeyboardEvent<HTMLButtonElement>) => void;
|
|
10062
|
-
} & Omit<BaseBoxProps, 'as'
|
|
10090
|
+
} & Omit<BaseBoxProps, 'as'> & DataAnalyticsAttribute;
|
|
10063
10091
|
declare const PopoverInteractiveWrapper: React__default.ForwardRefExoticComponent<{
|
|
10064
10092
|
/**
|
|
10065
10093
|
* A label for screen readers to announce when the popover is opened.
|
|
@@ -10071,7 +10099,7 @@ declare const PopoverInteractiveWrapper: React__default.ForwardRefExoticComponen
|
|
|
10071
10099
|
children?: React__default.ReactNode;
|
|
10072
10100
|
onClick?: ((event: React__default.MouseEvent<HTMLButtonElement, MouseEvent>) => void) | undefined;
|
|
10073
10101
|
onKeyDown?: ((event: React__default.KeyboardEvent<HTMLButtonElement>) => void) | undefined;
|
|
10074
|
-
} & Omit<BaseBoxProps, "as"> & React__default.RefAttributes<HTMLButtonElement>>;
|
|
10102
|
+
} & Omit<BaseBoxProps, "as"> & DataAnalyticsAttribute & React__default.RefAttributes<HTMLButtonElement>>;
|
|
10075
10103
|
|
|
10076
10104
|
type ProgressBarCommonProps = {
|
|
10077
10105
|
/**
|
|
@@ -10112,7 +10140,7 @@ type ProgressBarCommonProps = {
|
|
|
10112
10140
|
* @default 100
|
|
10113
10141
|
*/
|
|
10114
10142
|
max?: number;
|
|
10115
|
-
} & TestID & StyledPropsBlade;
|
|
10143
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
10116
10144
|
type ProgressBarVariant = 'progress' | 'meter' | 'linear' | 'circular';
|
|
10117
10145
|
type ProgressBarProgressProps = ProgressBarCommonProps & {
|
|
10118
10146
|
/**
|
|
@@ -10149,7 +10177,7 @@ type ProgressBarMeterProps = ProgressBarCommonProps & {
|
|
|
10149
10177
|
showPercentage?: undefined;
|
|
10150
10178
|
};
|
|
10151
10179
|
type ProgressBarProps = ProgressBarProgressProps | ProgressBarMeterProps;
|
|
10152
|
-
declare const ProgressBar: ({ accessibilityLabel, color, type, isIndeterminate, label, showPercentage, size, value, variant, min, max, testID, ...
|
|
10180
|
+
declare const ProgressBar: ({ accessibilityLabel, color, type, isIndeterminate, label, showPercentage, size, value, variant, min, max, testID, ...rest }: ProgressBarProps) => ReactElement;
|
|
10153
10181
|
|
|
10154
10182
|
type RadioProps = {
|
|
10155
10183
|
/**
|
|
@@ -10177,7 +10205,7 @@ type RadioProps = {
|
|
|
10177
10205
|
* @default "medium"
|
|
10178
10206
|
*/
|
|
10179
10207
|
size?: 'small' | 'medium' | 'large';
|
|
10180
|
-
} & TestID & StyledPropsBlade;
|
|
10208
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
10181
10209
|
declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
10182
10210
|
/**
|
|
10183
10211
|
* Sets the label text of the Radio
|
|
@@ -10204,7 +10232,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
10204
10232
|
* @default "medium"
|
|
10205
10233
|
*/
|
|
10206
10234
|
size?: "small" | "medium" | "large" | undefined;
|
|
10207
|
-
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
10235
|
+
} & TestID & DataAnalyticsAttribute & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
10208
10236
|
bottom: SpacingValueType | {
|
|
10209
10237
|
readonly base?: SpacingValueType | undefined;
|
|
10210
10238
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -10840,8 +10868,8 @@ type RadioGroupProps = {
|
|
|
10840
10868
|
* @default "medium"
|
|
10841
10869
|
*/
|
|
10842
10870
|
size?: 'small' | 'medium' | 'large';
|
|
10843
|
-
} & TestID & StyledPropsBlade;
|
|
10844
|
-
declare const RadioGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...
|
|
10871
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
10872
|
+
declare const RadioGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...rest }: RadioGroupProps) => React__default.ReactElement;
|
|
10845
10873
|
|
|
10846
10874
|
type TooltipProps = {
|
|
10847
10875
|
/**
|
|
@@ -10867,9 +10895,9 @@ type TooltipProps = {
|
|
|
10867
10895
|
* @default 1100
|
|
10868
10896
|
*/
|
|
10869
10897
|
zIndex?: number;
|
|
10870
|
-
};
|
|
10898
|
+
} & DataAnalyticsAttribute;
|
|
10871
10899
|
|
|
10872
|
-
declare const Tooltip: ({ title, content, children, placement, onOpenChange, zIndex, }: TooltipProps) => React__default.ReactElement;
|
|
10900
|
+
declare const Tooltip: ({ title, content, children, placement, onOpenChange, zIndex, ...rest }: TooltipProps) => React__default.ReactElement;
|
|
10873
10901
|
|
|
10874
10902
|
declare const TooltipInteractiveWrapper: React__default.ForwardRefExoticComponent<Omit<BaseBoxProps, "as"> & React__default.RefAttributes<HTMLDivElement>>;
|
|
10875
10903
|
|
|
@@ -10970,7 +10998,7 @@ type SideNavLinkProps = {
|
|
|
10970
10998
|
* ```
|
|
10971
10999
|
*/
|
|
10972
11000
|
tooltip?: Pick<TooltipProps, 'title' | 'content' | 'onOpenChange'>;
|
|
10973
|
-
};
|
|
11001
|
+
} & DataAnalyticsAttribute;
|
|
10974
11002
|
type SideNavSectionProps = {
|
|
10975
11003
|
title?: string;
|
|
10976
11004
|
/**
|
|
@@ -10993,7 +11021,7 @@ type SideNavSectionProps = {
|
|
|
10993
11021
|
* Children slot for SideNavLink
|
|
10994
11022
|
*/
|
|
10995
11023
|
children: React__default.ReactElement[];
|
|
10996
|
-
};
|
|
11024
|
+
} & DataAnalyticsAttribute;
|
|
10997
11025
|
type SideNavFooterProps = {
|
|
10998
11026
|
/**
|
|
10999
11027
|
* Children slot for SideNavLink, SideNavItem
|
|
@@ -11042,7 +11070,7 @@ type SideNavItemProps = {
|
|
|
11042
11070
|
* ```
|
|
11043
11071
|
*/
|
|
11044
11072
|
tooltip?: SideNavLinkProps['tooltip'];
|
|
11045
|
-
};
|
|
11073
|
+
} & DataAnalyticsAttribute;
|
|
11046
11074
|
type SideNavBodyProps = {
|
|
11047
11075
|
children: React__default.ReactElement | React__default.ReactElement[];
|
|
11048
11076
|
};
|
|
@@ -11062,15 +11090,15 @@ type SideNavLevelProps = {
|
|
|
11062
11090
|
* SideNav requires handling active state with React Router, Checkout Usage with React Router v6 at - [SideNav Documentation](https://blade.razorpay.com/?path=/docs/components-sidenav--docs)
|
|
11063
11091
|
*
|
|
11064
11092
|
*/
|
|
11065
|
-
declare const SideNav: ({ children, isOpen, onDismiss, banner, testID, ...
|
|
11093
|
+
declare const SideNav: ({ children, isOpen, onDismiss, banner, testID, ...rest }: SideNavProps) => React__default.ReactElement;
|
|
11066
11094
|
|
|
11067
|
-
declare const SideNavLink: ({ title, href, children, titleSuffix, trailing, isActive, icon, tooltip, as, target, }: SideNavLinkProps) => React__default.ReactElement;
|
|
11095
|
+
declare const SideNavLink: ({ title, href, children, titleSuffix, trailing, isActive, icon, tooltip, as, target, ...rest }: SideNavLinkProps) => React__default.ReactElement;
|
|
11068
11096
|
|
|
11069
11097
|
declare const SideNavLevel: ({ children }: SideNavLevelProps) => React__default.ReactElement;
|
|
11070
11098
|
|
|
11071
|
-
declare const SideNavSection: ({ children, title, defaultIsExpanded, maxVisibleItems, onExpandChange, }: SideNavSectionProps) => React__default.ReactElement;
|
|
11099
|
+
declare const SideNavSection: ({ children, title, defaultIsExpanded, maxVisibleItems, onExpandChange, ...rest }: SideNavSectionProps) => React__default.ReactElement;
|
|
11072
11100
|
|
|
11073
|
-
declare const SideNavItem: ({ leading, trailing, title, backgroundColor, tooltip, as, }: SideNavItemProps) => React.ReactElement;
|
|
11101
|
+
declare const SideNavItem: ({ leading, trailing, title, backgroundColor, tooltip, as, ...rest }: SideNavItemProps) => React.ReactElement;
|
|
11074
11102
|
|
|
11075
11103
|
declare const SideNavFooter: ({ children }: SideNavFooterProps) => React__default.ReactElement;
|
|
11076
11104
|
|
|
@@ -11290,7 +11318,7 @@ type StepGroupProps = {
|
|
|
11290
11318
|
* This is an internal prop to keep track of nestingLevel of StepGroup
|
|
11291
11319
|
*/
|
|
11292
11320
|
_nestingLevel?: number;
|
|
11293
|
-
} & StyledPropsBlade & TestID;
|
|
11321
|
+
} & StyledPropsBlade & DataAnalyticsAttribute & TestID;
|
|
11294
11322
|
type StepItemProps = {
|
|
11295
11323
|
_index?: number;
|
|
11296
11324
|
_nestingLevel?: StepGroupProps['_nestingLevel'];
|
|
@@ -11299,6 +11327,10 @@ type StepItemProps = {
|
|
|
11299
11327
|
* title of StepItem
|
|
11300
11328
|
*/
|
|
11301
11329
|
title: string;
|
|
11330
|
+
/**
|
|
11331
|
+
* color of StepItem title
|
|
11332
|
+
*/
|
|
11333
|
+
titleColor?: `feedback.text.${FeedbackColors}.intense` | `surface.text.primary.normal`;
|
|
11302
11334
|
/**
|
|
11303
11335
|
* A string that renders in italic font. Made for adding timestamp values.
|
|
11304
11336
|
*
|
|
@@ -11354,7 +11386,7 @@ type StepItemProps = {
|
|
|
11354
11386
|
* Children slot for adding additional custom elements to item
|
|
11355
11387
|
*/
|
|
11356
11388
|
children?: React__default.ReactNode;
|
|
11357
|
-
};
|
|
11389
|
+
} & DataAnalyticsAttribute;
|
|
11358
11390
|
|
|
11359
11391
|
/**
|
|
11360
11392
|
* ## StepGroup
|
|
@@ -11374,7 +11406,7 @@ type StepItemProps = {
|
|
|
11374
11406
|
*
|
|
11375
11407
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
11376
11408
|
*/
|
|
11377
|
-
declare const StepGroup: ({ size, orientation, children, testID, _nestingLevel, width, minWidth, maxWidth, ...
|
|
11409
|
+
declare const StepGroup: ({ size, orientation, children, testID, _nestingLevel, width, minWidth, maxWidth, ...rest }: StepGroupProps) => React__default.ReactElement;
|
|
11378
11410
|
|
|
11379
11411
|
/**
|
|
11380
11412
|
* ## StepItem
|
|
@@ -11398,7 +11430,7 @@ declare const StepGroup: ({ size, orientation, children, testID, _nestingLevel,
|
|
|
11398
11430
|
*
|
|
11399
11431
|
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
11400
11432
|
*/
|
|
11401
|
-
declare const StepItem: ({ title, timestamp, description, stepProgress, marker, trailing, isSelected, isDisabled, href, target, onClick, children, _index, _totalIndex, _nestingLevel, }: StepItemProps) => React__default.ReactElement;
|
|
11433
|
+
declare const StepItem: ({ title, titleColor, timestamp, description, stepProgress, marker, trailing, isSelected, isDisabled, href, target, onClick, children, _index, _totalIndex, _nestingLevel, ...rest }: StepItemProps) => React__default.ReactElement;
|
|
11402
11434
|
|
|
11403
11435
|
declare const StepItemIndicator: ({ color }: {
|
|
11404
11436
|
color: IndicatorProps['color'];
|
|
@@ -11462,7 +11494,7 @@ type SwitchProps = {
|
|
|
11462
11494
|
* The id of the input field in a switch, useful for associating a label element with the input via htmlFor prop
|
|
11463
11495
|
*/
|
|
11464
11496
|
id?: string;
|
|
11465
|
-
} & TestID & StyledPropsBlade;
|
|
11497
|
+
} & TestID & DataAnalyticsAttribute & StyledPropsBlade;
|
|
11466
11498
|
|
|
11467
11499
|
declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
11468
11500
|
isChecked?: boolean | undefined;
|
|
@@ -11474,7 +11506,7 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
11474
11506
|
size?: "small" | "medium" | undefined;
|
|
11475
11507
|
accessibilityLabel: string;
|
|
11476
11508
|
id?: string | undefined;
|
|
11477
|
-
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
11509
|
+
} & TestID & DataAnalyticsAttribute & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
11478
11510
|
bottom: SpacingValueType | {
|
|
11479
11511
|
readonly base?: SpacingValueType | undefined;
|
|
11480
11512
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -12067,7 +12099,7 @@ type TableHeaderRowProps = {
|
|
|
12067
12099
|
* The default value is `normal`.
|
|
12068
12100
|
**/
|
|
12069
12101
|
rowDensity?: TableProps<unknown>['rowDensity'];
|
|
12070
|
-
};
|
|
12102
|
+
} & DataAnalyticsAttribute;
|
|
12071
12103
|
type TableHeaderCellProps = {
|
|
12072
12104
|
/**
|
|
12073
12105
|
* The children of TableHeaderCell can be a string or a ReactNode.
|
|
@@ -12080,7 +12112,7 @@ type TableHeaderCellProps = {
|
|
|
12080
12112
|
**/
|
|
12081
12113
|
headerKey?: string;
|
|
12082
12114
|
_hasPadding?: boolean;
|
|
12083
|
-
};
|
|
12115
|
+
} & DataAnalyticsAttribute;
|
|
12084
12116
|
type TableProps<Item> = {
|
|
12085
12117
|
/**
|
|
12086
12118
|
* The children of the Table component should be a function that returns TableHeader, TableBody and TableFooter components.
|
|
@@ -12202,7 +12234,7 @@ type TableProps<Item> = {
|
|
|
12202
12234
|
* An array of default selected row ids. This will be used to set the initial selected rows.
|
|
12203
12235
|
*/
|
|
12204
12236
|
defaultSelectedIds?: Identifier[];
|
|
12205
|
-
} & StyledPropsBlade;
|
|
12237
|
+
} & DataAnalyticsAttribute & StyledPropsBlade;
|
|
12206
12238
|
type Identifier = string | number;
|
|
12207
12239
|
type TableBodyProps = {
|
|
12208
12240
|
/**
|
|
@@ -12215,7 +12247,7 @@ type TableBodyProps = {
|
|
|
12215
12247
|
* </TableBody>
|
|
12216
12248
|
**/
|
|
12217
12249
|
children: React__default.ReactNode;
|
|
12218
|
-
};
|
|
12250
|
+
} & DataAnalyticsAttribute;
|
|
12219
12251
|
type TableRowProps<Item> = {
|
|
12220
12252
|
/**
|
|
12221
12253
|
* The children of the TableRow component should be TableCell components.
|
|
@@ -12256,7 +12288,7 @@ type TableRowProps<Item> = {
|
|
|
12256
12288
|
item: TableNode<Item>;
|
|
12257
12289
|
}) => void;
|
|
12258
12290
|
hoverActions?: React__default.ReactElement;
|
|
12259
|
-
} & TestID;
|
|
12291
|
+
} & TestID & DataAnalyticsAttribute;
|
|
12260
12292
|
type TableCellProps = {
|
|
12261
12293
|
/**
|
|
12262
12294
|
* The children of the TableCell component should be a string or a ReactNode.
|
|
@@ -12276,7 +12308,7 @@ type TableCellProps = {
|
|
|
12276
12308
|
* @private
|
|
12277
12309
|
*/
|
|
12278
12310
|
_hasPadding?: boolean;
|
|
12279
|
-
};
|
|
12311
|
+
} & DataAnalyticsAttribute;
|
|
12280
12312
|
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'> & {
|
|
12281
12313
|
accessibilityLabel: NonNullable<BaseInputProps['accessibilityLabel']>;
|
|
12282
12314
|
};
|
|
@@ -12292,7 +12324,7 @@ type TableFooterProps = {
|
|
|
12292
12324
|
* </TableFooter>
|
|
12293
12325
|
**/
|
|
12294
12326
|
children: React__default.ReactNode;
|
|
12295
|
-
};
|
|
12327
|
+
} & DataAnalyticsAttribute;
|
|
12296
12328
|
type TableFooterRowProps = {
|
|
12297
12329
|
/**
|
|
12298
12330
|
* The children of TableFooterRow should be TableFooterCell
|
|
@@ -12304,13 +12336,13 @@ type TableFooterRowProps = {
|
|
|
12304
12336
|
* </TableFooter>
|
|
12305
12337
|
**/
|
|
12306
12338
|
children: React__default.ReactNode;
|
|
12307
|
-
};
|
|
12339
|
+
} & DataAnalyticsAttribute;
|
|
12308
12340
|
type TableFooterCellProps = {
|
|
12309
12341
|
/**
|
|
12310
12342
|
* The children of TableHeaderCell can be a string or a ReactNode.
|
|
12311
12343
|
**/
|
|
12312
12344
|
children: string | React__default.ReactNode;
|
|
12313
|
-
};
|
|
12345
|
+
} & DataAnalyticsAttribute;
|
|
12314
12346
|
type TablePaginationCommonProps = {
|
|
12315
12347
|
/**
|
|
12316
12348
|
* The default page size.
|
|
@@ -12350,7 +12382,7 @@ type TablePaginationCommonProps = {
|
|
|
12350
12382
|
* @default false
|
|
12351
12383
|
*/
|
|
12352
12384
|
showLabel?: boolean;
|
|
12353
|
-
};
|
|
12385
|
+
} & DataAnalyticsAttribute;
|
|
12354
12386
|
type TablePaginationType = 'client' | 'server';
|
|
12355
12387
|
type TablePaginationServerProps = TablePaginationCommonProps & {
|
|
12356
12388
|
/**
|
|
@@ -12408,29 +12440,29 @@ type TableToolbarProps = {
|
|
|
12408
12440
|
* @default `${selectedRows.length} 'Items'} Selected`
|
|
12409
12441
|
*/
|
|
12410
12442
|
selectedTitle?: string;
|
|
12411
|
-
};
|
|
12443
|
+
} & DataAnalyticsAttribute;
|
|
12412
12444
|
type TableToolbarActionsProps = {
|
|
12413
12445
|
children?: React__default.ReactNode;
|
|
12414
|
-
} & StyledPropsBlade;
|
|
12446
|
+
} & StyledPropsBlade & DataAnalyticsAttribute;
|
|
12415
12447
|
|
|
12416
|
-
declare const Table: <Item>({ children, data, multiSelectTrigger, selectionType, onSelectionChange, isHeaderSticky, isFooterSticky, isFirstColumnSticky, rowDensity, onSortChange, sortFunctions, toolbar, pagination, height, showStripedRows, gridTemplateColumns, isLoading, isRefreshing, showBorderedCells, defaultSelectedIds, ...
|
|
12448
|
+
declare const Table: <Item>({ children, data, multiSelectTrigger, selectionType, onSelectionChange, isHeaderSticky, isFooterSticky, isFirstColumnSticky, rowDensity, onSortChange, sortFunctions, toolbar, pagination, height, showStripedRows, gridTemplateColumns, isLoading, isRefreshing, showBorderedCells, defaultSelectedIds, ...rest }: TableProps<Item>) => React__default.ReactElement;
|
|
12417
12449
|
|
|
12418
|
-
declare const TableHeader: ({ children }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12419
|
-
declare const TableHeaderCell: ({ children, headerKey, _hasPadding, }: TableHeaderCellProps) => React__default.ReactElement;
|
|
12420
|
-
declare const TableHeaderRow: ({ children, rowDensity }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12450
|
+
declare const TableHeader: ({ children, ...rest }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12451
|
+
declare const TableHeaderCell: ({ children, headerKey, _hasPadding, ...rest }: TableHeaderCellProps) => React__default.ReactElement;
|
|
12452
|
+
declare const TableHeaderRow: ({ children, rowDensity, ...rest }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12421
12453
|
|
|
12422
|
-
declare const TableBody: ({ children }: TableBodyProps) => React__default.ReactElement;
|
|
12423
|
-
declare const TableCell: ({ children, _hasPadding }: TableCellProps) => React__default.ReactElement;
|
|
12424
|
-
declare const TableRow: <Item>({ children, item, isDisabled, onHover, onClick, hoverActions, testID, }: TableRowProps<Item>) => React__default.ReactElement;
|
|
12454
|
+
declare const TableBody: ({ children, ...rest }: TableBodyProps) => React__default.ReactElement;
|
|
12455
|
+
declare const TableCell: ({ children, _hasPadding, ...rest }: TableCellProps) => React__default.ReactElement;
|
|
12456
|
+
declare const TableRow: <Item>({ children, item, isDisabled, onHover, onClick, hoverActions, testID, ...rest }: TableRowProps<Item>) => React__default.ReactElement;
|
|
12425
12457
|
|
|
12426
|
-
declare const TableFooter: ({ children }: TableFooterProps) => React__default.ReactElement;
|
|
12427
|
-
declare const TableFooterRow: ({ children }: TableFooterRowProps) => React__default.ReactElement;
|
|
12428
|
-
declare const TableFooterCell: ({ children }: TableFooterCellProps) => React__default.ReactElement;
|
|
12458
|
+
declare const TableFooter: ({ children, ...rest }: TableFooterProps) => React__default.ReactElement;
|
|
12459
|
+
declare const TableFooterRow: ({ children, ...rest }: TableFooterRowProps) => React__default.ReactElement;
|
|
12460
|
+
declare const TableFooterCell: ({ children, ...rest }: TableFooterCellProps) => React__default.ReactElement;
|
|
12429
12461
|
|
|
12430
|
-
declare const TablePagination: ({ currentPage: controlledCurrentPage, onPageChange, onPageSizeChange, defaultPageSize, showPageSizePicker, showPageNumberSelector, showLabel, label, totalItemCount, paginationType, }: TablePaginationProps) => React__default.ReactElement;
|
|
12462
|
+
declare const TablePagination: ({ currentPage: controlledCurrentPage, onPageChange, onPageSizeChange, defaultPageSize, showPageSizePicker, showPageNumberSelector, showLabel, label, totalItemCount, paginationType, ...rest }: TablePaginationProps) => React__default.ReactElement;
|
|
12431
12463
|
|
|
12432
|
-
declare const TableToolbarActions: ({ children, ...
|
|
12433
|
-
declare const TableToolbar: ({ children, title, selectedTitle: controlledSelectedTitle, }: TableToolbarProps) => React__default.ReactElement;
|
|
12464
|
+
declare const TableToolbarActions: ({ children, ...rest }: TableToolbarActionsProps) => React__default.ReactElement;
|
|
12465
|
+
declare const TableToolbar: ({ children, title, selectedTitle: controlledSelectedTitle, ...rest }: TableToolbarProps) => React__default.ReactElement;
|
|
12434
12466
|
|
|
12435
12467
|
declare const TableEditableDropdownCell: (dropdownProps: TableEditableDropdownCellProps) => React.ReactElement;
|
|
12436
12468
|
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;
|
|
@@ -12485,7 +12517,7 @@ type TabsProps = {
|
|
|
12485
12517
|
* @default false
|
|
12486
12518
|
*/
|
|
12487
12519
|
isLazy?: boolean;
|
|
12488
|
-
};
|
|
12520
|
+
} & DataAnalyticsAttribute;
|
|
12489
12521
|
type TabItemProps = {
|
|
12490
12522
|
/**
|
|
12491
12523
|
* The label of the tab item.
|
|
@@ -12533,7 +12565,7 @@ type TabPanelProps = {
|
|
|
12533
12565
|
* The content of the tab panel.
|
|
12534
12566
|
*/
|
|
12535
12567
|
children: React__default.ReactNode;
|
|
12536
|
-
};
|
|
12568
|
+
} & DataAnalyticsAttribute;
|
|
12537
12569
|
|
|
12538
12570
|
/**
|
|
12539
12571
|
* ### Tabs
|
|
@@ -12565,11 +12597,11 @@ type TabPanelProps = {
|
|
|
12565
12597
|
* </Tabs>
|
|
12566
12598
|
* ```
|
|
12567
12599
|
*/
|
|
12568
|
-
declare const Tabs: ({ children, defaultValue, value, onChange, orientation, size, variant, isFullWidthTabItem, isLazy, }: TabsProps) => React__default.ReactElement;
|
|
12600
|
+
declare const Tabs: ({ children, defaultValue, value, onChange, orientation, size, variant, isFullWidthTabItem, isLazy, ...rest }: TabsProps) => React__default.ReactElement;
|
|
12569
12601
|
|
|
12570
|
-
declare const TabItem: ({ children, value, leading: Leading, trailing, isDisabled, href, onClick, }: TabItemProps) => React__default.ReactElement;
|
|
12602
|
+
declare const TabItem: ({ children, value, leading: Leading, trailing, isDisabled, href, onClick, ...rest }: TabItemProps) => React__default.ReactElement;
|
|
12571
12603
|
|
|
12572
|
-
declare const TabList: ({ children, ...
|
|
12604
|
+
declare const TabList: ({ children, ...rest }: {
|
|
12573
12605
|
children: React__default.ReactNode;
|
|
12574
12606
|
} & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
12575
12607
|
bottom: SpacingValueType | {
|
|
@@ -13127,9 +13159,9 @@ declare const TabList: ({ children, ...props }: {
|
|
|
13127
13159
|
readonly l?: "platform-web" | undefined;
|
|
13128
13160
|
readonly xl?: "platform-web" | undefined;
|
|
13129
13161
|
} | undefined;
|
|
13130
|
-
}, "visibility">, "__brand__">>) => React__default.ReactElement;
|
|
13162
|
+
}, "visibility">, "__brand__">> & DataAnalyticsAttribute) => React__default.ReactElement;
|
|
13131
13163
|
|
|
13132
|
-
declare const TabPanel: ({ children, value }: TabPanelProps) => React__default.ReactElement;
|
|
13164
|
+
declare const TabPanel: ({ children, value, ...rest }: TabPanelProps) => React__default.ReactElement;
|
|
13133
13165
|
|
|
13134
13166
|
type TagProps = {
|
|
13135
13167
|
/**
|
|
@@ -13174,7 +13206,7 @@ type TagProps = {
|
|
|
13174
13206
|
* @private
|
|
13175
13207
|
*/
|
|
13176
13208
|
_isTagInsideInput?: boolean;
|
|
13177
|
-
} & StyledPropsBlade & TestID;
|
|
13209
|
+
} & StyledPropsBlade & DataAnalyticsAttribute & TestID;
|
|
13178
13210
|
|
|
13179
13211
|
/**
|
|
13180
13212
|
* ## Tags
|
|
@@ -13203,7 +13235,7 @@ type TagProps = {
|
|
|
13203
13235
|
* Checkout [Tags Documentation](https://blade.razorpay.com/?path=/story/components-tag--default) for more info.
|
|
13204
13236
|
*
|
|
13205
13237
|
*/
|
|
13206
|
-
declare const Tag: ({ size, icon: Icon, onDismiss, children, isDisabled, testID, _isVirtuallyFocused, _isTagInsideInput, ...
|
|
13238
|
+
declare const Tag: ({ size, icon: Icon, onDismiss, children, isDisabled, testID, _isVirtuallyFocused, _isTagInsideInput, ...rest }: TagProps) => React__default.ReactElement | null;
|
|
13207
13239
|
|
|
13208
13240
|
declare const ToastContainer: () => React__default.ReactElement;
|
|
13209
13241
|
|
|
@@ -13362,7 +13394,7 @@ type TabNavProps = {
|
|
|
13362
13394
|
}) => React.ReactElement;
|
|
13363
13395
|
};
|
|
13364
13396
|
|
|
13365
|
-
declare const TabNavItems: ({ children, ...
|
|
13397
|
+
declare const TabNavItems: ({ children, ...rest }: BoxProps) => React__default.ReactElement;
|
|
13366
13398
|
declare const TabNav: ({ children, items, ...styledProps }: TabNavProps & StyledPropsBlade) => React__default.ReactElement;
|
|
13367
13399
|
|
|
13368
13400
|
declare const TabNavItem: React__default.ForwardRefExoticComponent<{
|
|
@@ -13399,8 +13431,8 @@ declare const TabNavItem: React__default.ForwardRefExoticComponent<{
|
|
|
13399
13431
|
|
|
13400
13432
|
type TopNavProps = {
|
|
13401
13433
|
children: React__default.ReactNode;
|
|
13402
|
-
} & Pick<BoxProps, 'padding' | 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight' | 'paddingX' | 'paddingY' | 'backgroundColor' | 'position' | 'top' | 'bottom' | 'left' | 'right' | 'width' | 'zIndex'> & StyledPropsBlade;
|
|
13403
|
-
declare const TopNav: ({ children, ...
|
|
13434
|
+
} & Pick<BoxProps, 'padding' | 'paddingTop' | 'paddingBottom' | 'paddingLeft' | 'paddingRight' | 'paddingX' | 'paddingY' | 'backgroundColor' | 'position' | 'top' | 'bottom' | 'left' | 'right' | 'width' | 'zIndex' | keyof DataAnalyticsAttribute> & TestID & StyledPropsBlade;
|
|
13435
|
+
declare const TopNav: ({ children, ...rest }: TopNavProps) => React__default.ReactElement;
|
|
13404
13436
|
declare const TopNavBrand: ({ children }: {
|
|
13405
13437
|
children: React__default.ReactNode;
|
|
13406
13438
|
}) => React__default.ReactElement;
|