@razorpay/blade 10.11.0 → 10.12.1

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.
@@ -3713,7 +3713,7 @@ declare type CheckboxProps = {
3713
3713
  /**
3714
3714
  * Sets the label of the checkbox
3715
3715
  */
3716
- children: React__default.ReactNode;
3716
+ children?: React__default.ReactNode;
3717
3717
  /**
3718
3718
  * Help text for the checkbox
3719
3719
  */
@@ -3792,7 +3792,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
3792
3792
  /**
3793
3793
  * Sets the label of the checkbox
3794
3794
  */
3795
- children: React__default.ReactNode;
3795
+ children?: React__default.ReactNode;
3796
3796
  /**
3797
3797
  * Help text for the checkbox
3798
3798
  */
@@ -4185,7 +4185,7 @@ declare type CheckboxGroupProps = {
4185
4185
  /**
4186
4186
  * Renders the label of the checkbox group
4187
4187
  */
4188
- label: string;
4188
+ label?: string;
4189
4189
  /**
4190
4190
  * Sets the position of the label
4191
4191
  *
@@ -5409,21 +5409,7 @@ declare type OTPInputPropsWithLabel = {
5409
5409
  accessibilityLabel?: string;
5410
5410
  };
5411
5411
  declare type OTPInputProps = (OTPInputPropsWithA11yLabel | OTPInputPropsWithLabel) & OTPInputCommonProps;
5412
- /**
5413
- * OTPInput component can be used for accepting OTPs sent to users for authentication/verification purposes.
5414
- *
5415
- * ## Usage
5416
- *
5417
- * ```tsx
5418
- * <OTPInput
5419
- * label="Enter OTP"
5420
- * name="otpInput"
5421
- * onChange={({ name, value }): void => console.log({ name, value })}
5422
- * onOTPFilled={({ name, value }): void => console.log({ name, value })}
5423
- * />
5424
- * ```
5425
- */
5426
- declare const OTPInput: ({ autoFocus, errorText, helpText, isDisabled, keyboardReturnKeyType, keyboardType, label, accessibilityLabel, labelPosition, name, onChange, onFocus, onBlur, onOTPFilled, otpLength, placeholder, successText, validationState, value, isMasked, autoCompleteSuggestionType, testID, ...styledProps }: OTPInputProps) => React__default.ReactElement;
5412
+ declare const OTPInput: React__default.ForwardRefExoticComponent<OTPInputProps & React__default.RefAttributes<HTMLInputElement[]>>;
5427
5413
 
5428
5414
  /**
5429
5415
  * ### SelectInput
@@ -5857,7 +5843,7 @@ declare type RadioProps = {
5857
5843
  /**
5858
5844
  * Sets the label text of the Radio
5859
5845
  */
5860
- children: StringChildrenType;
5846
+ children?: StringChildrenType;
5861
5847
  /**
5862
5848
  * Help text for the Radio
5863
5849
  */
@@ -5884,7 +5870,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
5884
5870
  /**
5885
5871
  * Sets the label text of the Radio
5886
5872
  */
5887
- children: StringChildrenType;
5873
+ children?: StringChildrenType | undefined;
5888
5874
  /**
5889
5875
  * Help text for the Radio
5890
5876
  */
@@ -6242,7 +6228,7 @@ declare type RadioGroupProps = {
6242
6228
  /**
6243
6229
  * Renders the label of the radio group
6244
6230
  */
6245
- label: string;
6231
+ label?: string;
6246
6232
  /**
6247
6233
  * Sets the position of the label
6248
6234
  *
@@ -8131,4 +8117,4 @@ declare const PopoverInteractiveWrapper: React__default.ForwardRefExoticComponen
8131
8117
  onKeyDown?: ((event: React__default.KeyboardEvent<HTMLButtonElement>) => void) | undefined;
8132
8118
  } & Omit<BaseBoxProps, "as"> & React__default.RefAttributes<HTMLButtonElement>>;
8133
8119
 
8134
- export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AutoComplete, AutoCompleteProps, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabletIcon, Tag, TagIcon, TagProps, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, Title, TitleProps, ToggleLeftIcon, ToggleRightIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useActionListContext, useTheme };
8120
+ export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AutoComplete, AutoCompleteProps, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabletIcon, Tag, TagIcon, TagProps, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, Title, TitleProps, ToggleLeftIcon, ToggleRightIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useActionListContext, useTheme };
@@ -1,6 +1,6 @@
1
1
  import _defineProperty$1 from '@babel/runtime/helpers/defineProperty';
2
2
  import * as React from 'react';
3
- import React__default, { useMemo, useCallback, useState, useEffect, useRef, useContext, createContext, Fragment as Fragment$1, Children, cloneElement, forwardRef } from 'react';
3
+ import React__default, { useMemo, useCallback, useState, useEffect, useRef, useContext, createContext, Fragment as Fragment$1, useImperativeHandle, Children, cloneElement, forwardRef } from 'react';
4
4
  import _slicedToArray from '@babel/runtime/helpers/slicedToArray';
5
5
  import styled, { ThemeProvider, css, keyframes } from 'styled-components';
6
6
  import _objectWithoutProperties$1 from '@babel/runtime/helpers/objectWithoutProperties';
@@ -2929,8 +2929,12 @@ var getElevationValue = function getElevationValue(elevation, theme, breakpoint)
2929
2929
  };
2930
2930
  var getAllProps = function getAllProps(props, breakpoint) {
2931
2931
  var _props$paddingTop, _props$paddingBottom, _props$paddingRight, _props$paddingLeft, _props$marginBottom, _props$marginTop, _props$marginRight, _props$marginLeft;
2932
- var hasBorder = props.borderBottom || props.borderTop || props.borderLeft || props.borderRight || props.borderBottomColor || props.borderTopColor || props.borderLeftColor || props.borderRightColor || props.borderBottomWidth || props.borderTopWidth || props.borderLeftWidth || props.borderRightWidth || props.borderWidth || props.borderColor;
2933
- return _objectSpread$6h({
2932
+ var hasBorder = props.borderWidth || props.borderColor;
2933
+ var hasBorderRight = props.borderRight || props.borderRightColor || props.borderRightWidth;
2934
+ var hasBorderLeft = props.borderLeft || props.borderLeftColor || props.borderLeftWidth;
2935
+ var hasBorderTop = props.borderTop || props.borderTopColor || props.borderTopWidth;
2936
+ var hasBorderBottom = props.borderBottom || props.borderBottomColor || props.borderBottomWidth;
2937
+ return _objectSpread$6h(_objectSpread$6h({
2934
2938
  display: getResponsiveValue(props.display, breakpoint),
2935
2939
  overflow: getResponsiveValue(props.overflow, breakpoint),
2936
2940
  overflowX: getResponsiveValue(props.overflowX, breakpoint),
@@ -3021,7 +3025,13 @@ var getAllProps = function getAllProps(props, breakpoint) {
3021
3025
  borderTopRightRadius: getBorderRadiusValue(props.borderTopRightRadius, props.theme, breakpoint),
3022
3026
  borderBottomRightRadius: getBorderRadiusValue(props.borderBottomRightRadius, props.theme, breakpoint),
3023
3027
  borderBottomLeftRadius: getBorderRadiusValue(props.borderBottomLeftRadius, props.theme, breakpoint),
3024
- borderStyle: hasBorder ? 'solid' : undefined,
3028
+ borderStyle: hasBorder ? 'solid' : undefined
3029
+ }, !hasBorder && {
3030
+ borderTopStyle: hasBorderTop ? 'solid' : undefined,
3031
+ borderBottomStyle: hasBorderBottom ? 'solid' : undefined,
3032
+ borderLeftStyle: hasBorderLeft ? 'solid' : undefined,
3033
+ borderRightStyle: hasBorderRight ? 'solid' : undefined
3034
+ }), {}, {
3025
3035
  touchAction: getResponsiveValue(props.touchAction, breakpoint),
3026
3036
  userSelect: getResponsiveValue(props.userSelect, breakpoint),
3027
3037
  pointerEvents: getResponsiveValue(props.pointerEvents),
@@ -15414,18 +15424,18 @@ var _Checkbox = function _Checkbox(_ref, ref) {
15414
15424
  isIndeterminate: isIndeterminate,
15415
15425
  isDisabled: _isDisabled,
15416
15426
  isNegative: _hasError
15417
- }), /*#__PURE__*/jsx(SelectorTitle, {
15427
+ }), children ? /*#__PURE__*/jsx(SelectorTitle, {
15418
15428
  size: _size,
15419
15429
  isDisabled: _isDisabled,
15420
15430
  children: children
15421
- })]
15422
- }), /*#__PURE__*/jsx(BaseBox, {
15431
+ }) : null]
15432
+ }), showSupportingText ? /*#__PURE__*/jsx(BaseBox, {
15423
15433
  marginLeft: isSmall ? 'spacing.6' : 'spacing.7',
15424
- children: showSupportingText && /*#__PURE__*/jsx(SelectorSupportText, {
15434
+ children: /*#__PURE__*/jsx(SelectorSupportText, {
15425
15435
  id: ids === null || ids === void 0 ? void 0 : ids.helpTextId,
15426
15436
  children: helpText
15427
15437
  })
15428
- })]
15438
+ }) : null]
15429
15439
  })
15430
15440
  }), /*#__PURE__*/jsx(FormHint, {
15431
15441
  errorText: errorText,
@@ -15620,14 +15630,14 @@ var CheckboxGroup = function CheckboxGroup(_ref) {
15620
15630
  labelledBy: ids.labelId,
15621
15631
  componentName: "checkbox-group",
15622
15632
  testID: testID,
15623
- children: [/*#__PURE__*/jsx(FormLabel, {
15633
+ children: [label ? /*#__PURE__*/jsx(FormLabel, {
15624
15634
  as: "span",
15625
15635
  necessityIndicator: necessityIndicator,
15626
15636
  position: labelPosition,
15627
15637
  id: ids.labelId,
15628
15638
  accessibilityText: accessibilityText,
15629
15639
  children: label
15630
- }), /*#__PURE__*/jsxs(BaseBox, {
15640
+ }) : null, /*#__PURE__*/jsxs(BaseBox, {
15631
15641
  children: [/*#__PURE__*/jsx(BaseBox, {
15632
15642
  display: "flex",
15633
15643
  flexDirection: "column",
@@ -17838,11 +17848,12 @@ var Card = function Card(_ref) {
17838
17848
  return /*#__PURE__*/jsx(CardProvider, {
17839
17849
  children: /*#__PURE__*/jsx(CardRoot, _objectSpread$1h(_objectSpread$1h(_objectSpread$1h({
17840
17850
  as: as,
17851
+ display: 'block',
17852
+ borderRadius: "medium",
17841
17853
  onMouseEnter: onHover,
17842
17854
  shouldScaleOnHover: shouldScaleOnHover,
17843
17855
  isSelected: isSelected,
17844
- isFocused: isFocused,
17845
- borderRadius: "medium"
17856
+ isFocused: isFocused
17846
17857
  // on react native we need to pass onClick to root, because we don't need the LinkOverlay in RN
17847
17858
  ,
17848
17859
  onClick: isReactNative$4() ? onClick : undefined,
@@ -23059,7 +23070,7 @@ var otpToArray = function otpToArray(code) {
23059
23070
  * />
23060
23071
  * ```
23061
23072
  */
23062
- var OTPInput = function OTPInput(_ref) {
23073
+ var _OTPInput = function _OTPInput(_ref, incomingRef) {
23063
23074
  var autoFocus = _ref.autoFocus,
23064
23075
  errorText = _ref.errorText,
23065
23076
  helpText = _ref.helpText,
@@ -23101,6 +23112,11 @@ var OTPInput = function OTPInput(_ref) {
23101
23112
  helpTextId = _useFormId.helpTextId,
23102
23113
  errorTextId = _useFormId.errorTextId,
23103
23114
  successTextId = _useFormId.successTextId;
23115
+ useImperativeHandle(incomingRef, function () {
23116
+ return inputRefs.map(function (ref) {
23117
+ return ref.current;
23118
+ });
23119
+ }, [inputRefs]);
23104
23120
  useEffect(function () {
23105
23121
  // Effect for calling `onOTPFilled` callback
23106
23122
  if (inputValue && inputValue.length >= otpLength) {
@@ -23363,6 +23379,7 @@ var OTPInput = function OTPInput(_ref) {
23363
23379
  })]
23364
23380
  }));
23365
23381
  };
23382
+ var OTPInput = /*#__PURE__*/React__default.forwardRef(_OTPInput);
23366
23383
 
23367
23384
  var InputChevronIcon = function InputChevronIcon(props) {
23368
23385
  return /*#__PURE__*/jsxs(BaseBox, {
@@ -25869,14 +25886,14 @@ var _Radio = function _Radio(_ref, ref) {
25869
25886
  isChecked: state.isChecked,
25870
25887
  isDisabled: _isDisabled,
25871
25888
  isNegative: hasError
25872
- }), /*#__PURE__*/jsx(SelectorTitle, {
25889
+ }), children ? /*#__PURE__*/jsx(SelectorTitle, {
25873
25890
  size: _size,
25874
25891
  isDisabled: _isDisabled,
25875
25892
  children: children
25876
- })]
25877
- }), /*#__PURE__*/jsx(BaseBox, {
25893
+ }) : null]
25894
+ }), showHelpText && /*#__PURE__*/jsx(BaseBox, {
25878
25895
  marginLeft: isSmall ? 'spacing.6' : 'spacing.7',
25879
- children: showHelpText && /*#__PURE__*/jsx(SelectorSupportText, {
25896
+ children: /*#__PURE__*/jsx(SelectorSupportText, {
25880
25897
  id: ids === null || ids === void 0 ? void 0 : ids.helpTextId,
25881
25898
  children: helpText
25882
25899
  })
@@ -26030,14 +26047,14 @@ var RadioGroup = function RadioGroup(_ref) {
26030
26047
  accessibilityRole: "radiogroup",
26031
26048
  componentName: "radio-group",
26032
26049
  testID: testID,
26033
- children: [/*#__PURE__*/jsx(FormLabel, {
26050
+ children: [label ? /*#__PURE__*/jsx(FormLabel, {
26034
26051
  as: "span",
26035
26052
  necessityIndicator: necessityIndicator,
26036
26053
  position: labelPosition,
26037
26054
  id: ids.labelId,
26038
26055
  accessibilityText: accessibilityText && ",".concat(accessibilityText),
26039
26056
  children: label
26040
- }), /*#__PURE__*/jsxs(BaseBox, {
26057
+ }) : null, /*#__PURE__*/jsxs(BaseBox, {
26041
26058
  children: [/*#__PURE__*/jsx(BaseBox, {
26042
26059
  display: "flex",
26043
26060
  flexDirection: "column",