@razorpay/blade 11.20.0 → 11.21.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.
- package/build/lib/native/components/Accordion/AccordionItem.js +1 -1
- package/build/lib/native/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/native/components/Collapsible/Collapsible.js +1 -1
- package/build/lib/native/components/Collapsible/Collapsible.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleBody.js +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleBody.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleBodyContent.native.js +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleBodyContent.native.js.map +1 -1
- package/build/lib/native/components/Collapsible/CollapsibleLink.js +8 -1
- package/build/lib/native/components/Collapsible/CollapsibleLink.js.map +1 -1
- package/build/lib/native/components/Collapsible/commonStyles.js +1 -1
- package/build/lib/native/components/Collapsible/commonStyles.js.map +1 -1
- package/build/lib/native/components/Input/BaseInput/BaseInput.js +1 -1
- package/build/lib/native/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/native/components/ProgressBar/CircularProgressBar.native.js +1 -1
- package/build/lib/native/components/ProgressBar/CircularProgressBar.native.js.map +1 -1
- package/build/lib/native/components/SideNav/SideNav.native.js +17 -0
- package/build/lib/native/components/SideNav/SideNav.native.js.map +1 -0
- package/build/lib/native/components/SideNav/SideNavBody.native.js +17 -0
- package/build/lib/native/components/SideNav/SideNavBody.native.js.map +1 -0
- package/build/lib/native/components/SideNav/SideNavFooter.native.js +17 -0
- package/build/lib/native/components/SideNav/SideNavFooter.native.js.map +1 -0
- package/build/lib/native/components/SideNav/SideNavItems/SideNavItem.native.js +17 -0
- package/build/lib/native/components/SideNav/SideNavItems/SideNavItem.native.js.map +1 -0
- package/build/lib/native/components/SideNav/SideNavItems/SideNavLink.native.js +17 -0
- package/build/lib/native/components/SideNav/SideNavItems/SideNavLink.native.js.map +1 -0
- package/build/lib/native/components/SideNav/SideNavLevel.native.js +17 -0
- package/build/lib/native/components/SideNav/SideNavLevel.native.js.map +1 -0
- package/build/lib/native/components/SideNav/SideNavSection.native.js +17 -0
- package/build/lib/native/components/SideNav/SideNavSection.native.js.map +1 -0
- package/build/lib/native/components/Typography/BaseText/getBaseTextStyles.js +1 -1
- package/build/lib/native/components/Typography/BaseText/getBaseTextStyles.js.map +1 -1
- package/build/lib/native/components/index.js +7 -0
- package/build/lib/native/components/index.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/metaAttribute/metaConstants.js +1 -1
- package/build/lib/native/utils/metaAttribute/metaConstants.js.map +1 -1
- package/build/lib/web/development/components/Accordion/AccordionItem.js +1 -0
- package/build/lib/web/development/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/Collapsible.js +4 -2
- package/build/lib/web/development/components/Collapsible/Collapsible.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/CollapsibleBody.js +4 -1
- package/build/lib/web/development/components/Collapsible/CollapsibleBody.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/CollapsibleBodyContent.web.js +4 -2
- package/build/lib/web/development/components/Collapsible/CollapsibleBodyContent.web.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/CollapsibleLink.js +16 -4
- package/build/lib/web/development/components/Collapsible/CollapsibleLink.js.map +1 -1
- package/build/lib/web/development/components/Collapsible/commonStyles.js +5 -1
- package/build/lib/web/development/components/Collapsible/commonStyles.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/CalendarHeader.web.js +1 -1
- package/build/lib/web/development/components/DatePicker/DateInput.web.js +33 -6
- package/build/lib/web/development/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/development/components/DatePicker/DatePicker.web.js +2 -2
- package/build/lib/web/development/components/DatePicker/DatePicker.web.js.map +1 -1
- package/build/lib/web/development/components/Drawer/Drawer.web.js +25 -10
- package/build/lib/web/development/components/Drawer/Drawer.web.js.map +1 -1
- package/build/lib/web/development/components/Drawer/DrawerContext.js +3 -1
- package/build/lib/web/development/components/Drawer/DrawerContext.js.map +1 -1
- package/build/lib/web/development/components/Drawer/DrawerSubcomponents.web.js +26 -4
- package/build/lib/web/development/components/Drawer/DrawerSubcomponents.web.js.map +1 -1
- package/build/lib/web/development/components/Drawer/StackProvider.js +21 -12
- package/build/lib/web/development/components/Drawer/StackProvider.js.map +1 -1
- package/build/lib/web/development/components/Drawer/index.js +1 -1
- package/build/lib/web/development/components/FileUpload/FileUpload.web.js +3 -0
- package/build/lib/web/development/components/FileUpload/FileUpload.web.js.map +1 -1
- package/build/lib/web/development/components/Input/BaseInput/BaseInput.js +1 -1
- package/build/lib/web/development/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/web/development/components/SideNav/SideNav.web.js +360 -0
- package/build/lib/web/development/components/SideNav/SideNav.web.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavBody.web.js +17 -0
- package/build/lib/web/development/components/SideNav/SideNavBody.web.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavContext.js +23 -0
- package/build/lib/web/development/components/SideNav/SideNavContext.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavFooter.web.js +55 -0
- package/build/lib/web/development/components/SideNav/SideNavFooter.web.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavItem.web.js +66 -0
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavItem.web.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavLink.web.js +348 -0
- package/build/lib/web/development/components/SideNav/SideNavItems/SideNavLink.web.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavItems/TooltipifyNavItem.js +22 -0
- package/build/lib/web/development/components/SideNav/SideNavItems/TooltipifyNavItem.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavLevel.web.js +65 -0
- package/build/lib/web/development/components/SideNav/SideNavLevel.web.js.map +1 -0
- package/build/lib/web/development/components/SideNav/SideNavSection.web.js +141 -0
- package/build/lib/web/development/components/SideNav/SideNavSection.web.js.map +1 -0
- package/build/lib/web/development/components/SideNav/index.js +8 -0
- package/build/lib/web/development/components/SideNav/index.js.map +1 -0
- package/build/lib/web/development/components/SideNav/tokens.js +33 -0
- package/build/lib/web/development/components/SideNav/tokens.js.map +1 -0
- package/build/lib/web/development/components/SkipNav/SkipNav.web.js +11 -3
- package/build/lib/web/development/components/SkipNav/SkipNav.web.js.map +1 -1
- package/build/lib/web/development/components/Typography/BaseText/getBaseTextStyles.js +1 -1
- package/build/lib/web/development/components/Typography/BaseText/getBaseTextStyles.js.map +1 -1
- package/build/lib/web/development/components/index.js +9 -1
- package/build/lib/web/development/components/index.js.map +1 -1
- package/build/lib/web/development/tokens/global/size.js +6 -0
- package/build/lib/web/development/tokens/global/size.js.map +1 -1
- package/build/lib/web/development/utils/metaAttribute/metaConstants.js +1 -0
- package/build/lib/web/development/utils/metaAttribute/metaConstants.js.map +1 -1
- package/build/lib/web/production/components/Accordion/AccordionItem.js +1 -0
- package/build/lib/web/production/components/Accordion/AccordionItem.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/Collapsible.js +4 -2
- package/build/lib/web/production/components/Collapsible/Collapsible.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/CollapsibleBody.js +4 -1
- package/build/lib/web/production/components/Collapsible/CollapsibleBody.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/CollapsibleBodyContent.web.js +4 -2
- package/build/lib/web/production/components/Collapsible/CollapsibleBodyContent.web.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/CollapsibleLink.js +16 -4
- package/build/lib/web/production/components/Collapsible/CollapsibleLink.js.map +1 -1
- package/build/lib/web/production/components/Collapsible/commonStyles.js +5 -1
- package/build/lib/web/production/components/Collapsible/commonStyles.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/CalendarHeader.web.js +1 -1
- package/build/lib/web/production/components/DatePicker/DateInput.web.js +33 -6
- package/build/lib/web/production/components/DatePicker/DateInput.web.js.map +1 -1
- package/build/lib/web/production/components/DatePicker/DatePicker.web.js +2 -2
- package/build/lib/web/production/components/DatePicker/DatePicker.web.js.map +1 -1
- package/build/lib/web/production/components/Drawer/Drawer.web.js +25 -10
- package/build/lib/web/production/components/Drawer/Drawer.web.js.map +1 -1
- package/build/lib/web/production/components/Drawer/DrawerContext.js +3 -1
- package/build/lib/web/production/components/Drawer/DrawerContext.js.map +1 -1
- package/build/lib/web/production/components/Drawer/DrawerSubcomponents.web.js +26 -4
- package/build/lib/web/production/components/Drawer/DrawerSubcomponents.web.js.map +1 -1
- package/build/lib/web/production/components/Drawer/StackProvider.js +21 -12
- package/build/lib/web/production/components/Drawer/StackProvider.js.map +1 -1
- package/build/lib/web/production/components/Drawer/index.js +1 -1
- package/build/lib/web/production/components/FileUpload/FileUpload.web.js +3 -0
- package/build/lib/web/production/components/FileUpload/FileUpload.web.js.map +1 -1
- package/build/lib/web/production/components/Input/BaseInput/BaseInput.js +1 -1
- package/build/lib/web/production/components/Input/BaseInput/BaseInput.js.map +1 -1
- package/build/lib/web/production/components/SideNav/SideNav.web.js +360 -0
- package/build/lib/web/production/components/SideNav/SideNav.web.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavBody.web.js +17 -0
- package/build/lib/web/production/components/SideNav/SideNavBody.web.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavContext.js +23 -0
- package/build/lib/web/production/components/SideNav/SideNavContext.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavFooter.web.js +55 -0
- package/build/lib/web/production/components/SideNav/SideNavFooter.web.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavItem.web.js +66 -0
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavItem.web.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavLink.web.js +348 -0
- package/build/lib/web/production/components/SideNav/SideNavItems/SideNavLink.web.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavItems/TooltipifyNavItem.js +22 -0
- package/build/lib/web/production/components/SideNav/SideNavItems/TooltipifyNavItem.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavLevel.web.js +65 -0
- package/build/lib/web/production/components/SideNav/SideNavLevel.web.js.map +1 -0
- package/build/lib/web/production/components/SideNav/SideNavSection.web.js +141 -0
- package/build/lib/web/production/components/SideNav/SideNavSection.web.js.map +1 -0
- package/build/lib/web/production/components/SideNav/index.js +8 -0
- package/build/lib/web/production/components/SideNav/index.js.map +1 -0
- package/build/lib/web/production/components/SideNav/tokens.js +33 -0
- package/build/lib/web/production/components/SideNav/tokens.js.map +1 -0
- package/build/lib/web/production/components/SkipNav/SkipNav.web.js +11 -3
- package/build/lib/web/production/components/SkipNav/SkipNav.web.js.map +1 -1
- package/build/lib/web/production/components/Typography/BaseText/getBaseTextStyles.js +1 -1
- package/build/lib/web/production/components/Typography/BaseText/getBaseTextStyles.js.map +1 -1
- package/build/lib/web/production/components/index.js +9 -1
- package/build/lib/web/production/components/index.js.map +1 -1
- package/build/lib/web/production/tokens/global/size.js +6 -0
- package/build/lib/web/production/tokens/global/size.js.map +1 -1
- package/build/lib/web/production/utils/metaAttribute/metaConstants.js +1 -0
- package/build/lib/web/production/utils/metaAttribute/metaConstants.js.map +1 -1
- package/build/types/components/index.d.ts +1496 -1244
- package/build/types/components/index.native.d.ts +258 -37
- package/build/types/tokens/index.d.ts +6 -0
- package/build/types/tokens/index.native.d.ts +6 -0
- package/package.json +3 -2
|
@@ -3075,7 +3075,7 @@ type TextColors = `interactive.text.${InteractiveText}` | `surface.text.${Surfac
|
|
|
3075
3075
|
type As = 'code' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'abbr' | 'q' | 'cite' | 'figcaption' | 'div' | 'label';
|
|
3076
3076
|
type BaseTextProps = {
|
|
3077
3077
|
id?: string;
|
|
3078
|
-
color?: TextColors;
|
|
3078
|
+
color?: TextColors | 'currentColor';
|
|
3079
3079
|
fontFamily?: keyof Theme['typography']['fonts']['family'];
|
|
3080
3080
|
fontSize?: keyof Theme['typography']['fonts']['size'];
|
|
3081
3081
|
fontWeight?: keyof Theme['typography']['fonts']['weight'];
|
|
@@ -5338,15 +5338,19 @@ type CollapsibleProps = {
|
|
|
5338
5338
|
onExpandChange?: ({ isExpanded }: {
|
|
5339
5339
|
isExpanded: boolean;
|
|
5340
5340
|
}) => void;
|
|
5341
|
+
/**
|
|
5342
|
+
* **Internal**: disables trigger validations. Used for AccordionButton and SideNavLink internally
|
|
5343
|
+
*/
|
|
5344
|
+
_dangerouslyDisableValidations?: boolean;
|
|
5341
5345
|
/**
|
|
5342
5346
|
* **Internal**: used to override responsive width restrictions
|
|
5343
5347
|
*/
|
|
5344
5348
|
_shouldApplyWidthRestrictions?: boolean;
|
|
5345
5349
|
} & TestID & StyledPropsBlade;
|
|
5346
|
-
declare const Collapsible: ({ children, direction, defaultIsExpanded, isExpanded, onExpandChange, testID, _shouldApplyWidthRestrictions, ...styledProps }: CollapsibleProps) => ReactElement;
|
|
5350
|
+
declare const Collapsible: ({ children, direction, defaultIsExpanded, isExpanded, onExpandChange, testID, _shouldApplyWidthRestrictions, _dangerouslyDisableValidations, ...styledProps }: CollapsibleProps) => ReactElement;
|
|
5347
5351
|
|
|
5348
|
-
type CollapsibleLinkProps = Pick<LinkProps, 'size' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'children'
|
|
5349
|
-
declare const CollapsibleLink: ({ children, size, isDisabled, testID, accessibilityLabel, }: CollapsibleLinkProps) => ReactElement;
|
|
5352
|
+
type CollapsibleLinkProps = Pick<LinkProps, 'color' | 'size' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'children'> & StyledPropsBlade;
|
|
5353
|
+
declare const CollapsibleLink: ({ children, size, color, isDisabled, testID, accessibilityLabel, ...styledProps }: CollapsibleLinkProps) => ReactElement;
|
|
5350
5354
|
|
|
5351
5355
|
type CollapsibleButtonProps = Pick<ButtonProps, 'variant' | 'size' | 'iconPosition' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'icon' | 'children'>;
|
|
5352
5356
|
declare const CollapsibleButton: React$1.ForwardRefExoticComponent<CollapsibleButtonProps & React$1.RefAttributes<BladeElementRef>>;
|
|
@@ -5354,8 +5358,15 @@ declare const CollapsibleButton: React$1.ForwardRefExoticComponent<CollapsibleBu
|
|
|
5354
5358
|
type CollapsibleBodyProps = {
|
|
5355
5359
|
children: ReactNode;
|
|
5356
5360
|
width?: BaseBoxProps['width'];
|
|
5361
|
+
/**
|
|
5362
|
+
* Internal
|
|
5363
|
+
*
|
|
5364
|
+
* Set to false to remove margin of CollapsibleBody
|
|
5365
|
+
*/
|
|
5366
|
+
_hasMargin?: boolean;
|
|
5357
5367
|
} & TestID;
|
|
5358
|
-
|
|
5368
|
+
|
|
5369
|
+
declare const CollapsibleBody: ({ children, testID, width, _hasMargin, }: CollapsibleBodyProps) => ReactElement;
|
|
5359
5370
|
|
|
5360
5371
|
type DividerProps = {
|
|
5361
5372
|
/**
|
|
@@ -5430,6 +5441,13 @@ type DrawerProps = {
|
|
|
5430
5441
|
* Ref to the element that should receive focus when opening the drawer.
|
|
5431
5442
|
*/
|
|
5432
5443
|
initialFocusRef?: React.MutableRefObject<any>;
|
|
5444
|
+
/**
|
|
5445
|
+
* If `true`, the DrawerBody will be rendered only when it becomes active.
|
|
5446
|
+
* Set to `false` to keep DrawerBody in DOM
|
|
5447
|
+
*
|
|
5448
|
+
* @default true
|
|
5449
|
+
*/
|
|
5450
|
+
isLazy?: boolean;
|
|
5433
5451
|
} & TestID;
|
|
5434
5452
|
type DrawerHeaderProps = {
|
|
5435
5453
|
/**
|
|
@@ -6004,7 +6022,7 @@ type CalendarProps<SelectionType extends DateSelectionType> = Pick<DatePickerPro
|
|
|
6004
6022
|
type: Level;
|
|
6005
6023
|
}) => void;
|
|
6006
6024
|
};
|
|
6007
|
-
type DatePickerProps<Type extends DateSelectionType> = Omit<CalendarProps<Type>, MantineInternalProps> & Omit<DatePickerCommonInputProps, 'inputRef' | 'referenceProps' | 'labelPosition' | 'name'> & {
|
|
6025
|
+
type DatePickerProps<Type extends DateSelectionType> = Omit<CalendarProps<Type>, MantineInternalProps> & Omit<DatePickerCommonInputProps, 'inputRef' | 'referenceProps' | 'labelPosition' | 'name' | 'successText' | 'errorText' | 'helpText'> & {
|
|
6008
6026
|
/**
|
|
6009
6027
|
* Sets the label for the input element.
|
|
6010
6028
|
*/
|
|
@@ -6022,6 +6040,18 @@ type DatePickerProps<Type extends DateSelectionType> = Omit<CalendarProps<Type>,
|
|
|
6022
6040
|
start: string;
|
|
6023
6041
|
end?: string;
|
|
6024
6042
|
};
|
|
6043
|
+
helpText?: Type extends 'single' ? string : {
|
|
6044
|
+
start: string;
|
|
6045
|
+
end?: string;
|
|
6046
|
+
};
|
|
6047
|
+
errorText?: Type extends 'single' ? string : {
|
|
6048
|
+
start: string;
|
|
6049
|
+
end?: string;
|
|
6050
|
+
};
|
|
6051
|
+
successText?: Type extends 'single' ? string : {
|
|
6052
|
+
start: string;
|
|
6053
|
+
end?: string;
|
|
6054
|
+
};
|
|
6025
6055
|
labelPosition?: BaseInputProps['labelPosition'];
|
|
6026
6056
|
};
|
|
6027
6057
|
type DatePickerCommonInputProps = {
|
|
@@ -7503,6 +7533,227 @@ type RadioGroupProps = {
|
|
|
7503
7533
|
} & TestID & StyledPropsBlade;
|
|
7504
7534
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
7505
7535
|
|
|
7536
|
+
type TooltipProps = {
|
|
7537
|
+
/**
|
|
7538
|
+
* Tooltip title
|
|
7539
|
+
*/
|
|
7540
|
+
title?: string;
|
|
7541
|
+
/**
|
|
7542
|
+
* Tooltip content
|
|
7543
|
+
*/
|
|
7544
|
+
content: string;
|
|
7545
|
+
/**
|
|
7546
|
+
* Placement of tooltip
|
|
7547
|
+
*
|
|
7548
|
+
* @default "top"
|
|
7549
|
+
*/
|
|
7550
|
+
placement?: Exclude<UseFloatingOptions['placement'], 'left-end' | 'left-start' | 'right-end' | 'right-start'>;
|
|
7551
|
+
children: React.ReactElement;
|
|
7552
|
+
onOpenChange?: ({ isOpen }: {
|
|
7553
|
+
isOpen: boolean;
|
|
7554
|
+
}) => void;
|
|
7555
|
+
/**
|
|
7556
|
+
* Sets the z-index of the modal
|
|
7557
|
+
* @default 1100
|
|
7558
|
+
*/
|
|
7559
|
+
zIndex?: number;
|
|
7560
|
+
};
|
|
7561
|
+
|
|
7562
|
+
declare const Tooltip: ({ title, content, children, placement, onOpenChange, zIndex, }: TooltipProps) => React__default.ReactElement;
|
|
7563
|
+
|
|
7564
|
+
declare const TooltipInteractiveWrapper: React__default.ForwardRefExoticComponent<PressableProps & React__default.RefAttributes<View>>;
|
|
7565
|
+
|
|
7566
|
+
type SideNavProps = {
|
|
7567
|
+
/**
|
|
7568
|
+
* Children slot.
|
|
7569
|
+
*
|
|
7570
|
+
* Supports SideNavFooter, SideNavBody
|
|
7571
|
+
*/
|
|
7572
|
+
children: React__default.ReactNode;
|
|
7573
|
+
/**
|
|
7574
|
+
* **Only applicable in mobile**
|
|
7575
|
+
*
|
|
7576
|
+
* State for opening / closing the SideNav in mobile
|
|
7577
|
+
*/
|
|
7578
|
+
isOpen?: DrawerProps['isOpen'];
|
|
7579
|
+
/**
|
|
7580
|
+
* **Only applicable in mobile**
|
|
7581
|
+
*
|
|
7582
|
+
* Callback when SideNav is closed
|
|
7583
|
+
*/
|
|
7584
|
+
onDismiss?: DrawerProps['onDismiss'];
|
|
7585
|
+
/**
|
|
7586
|
+
* Banner slot for usecases like adding Activation Panel
|
|
7587
|
+
*
|
|
7588
|
+
* **IMPORTANT** Avoid adding promotional items in this
|
|
7589
|
+
*/
|
|
7590
|
+
banner?: React__default.ReactElement;
|
|
7591
|
+
} & StyledPropsBlade & TestID;
|
|
7592
|
+
type SideNavLinkProps = {
|
|
7593
|
+
/**
|
|
7594
|
+
* title of the Link
|
|
7595
|
+
*/
|
|
7596
|
+
title: string;
|
|
7597
|
+
/**
|
|
7598
|
+
* Slot after the title.
|
|
7599
|
+
*
|
|
7600
|
+
* Used for <Badge />, <Counter /> in most cases
|
|
7601
|
+
*/
|
|
7602
|
+
titleSuffix?: React__default.ReactElement;
|
|
7603
|
+
/**
|
|
7604
|
+
* Trailing slot for item. Only visible on hover of the item
|
|
7605
|
+
*
|
|
7606
|
+
* Used for <Button />
|
|
7607
|
+
*/
|
|
7608
|
+
trailing?: React__default.ReactElement;
|
|
7609
|
+
/**
|
|
7610
|
+
* href of the link
|
|
7611
|
+
*/
|
|
7612
|
+
href?: LinkProps['href'];
|
|
7613
|
+
/**
|
|
7614
|
+
* Anchor tag `target` attribute
|
|
7615
|
+
*/
|
|
7616
|
+
target?: LinkProps['target'];
|
|
7617
|
+
/**
|
|
7618
|
+
* as prop to pass ReactRouter's Link component.
|
|
7619
|
+
*
|
|
7620
|
+
* ```jsx
|
|
7621
|
+
* import { Link } from 'react-router-dom';
|
|
7622
|
+
*
|
|
7623
|
+
* <SideNavLink as={Link} />
|
|
7624
|
+
* ```
|
|
7625
|
+
*/
|
|
7626
|
+
as: React__default.ComponentType<any>;
|
|
7627
|
+
/**
|
|
7628
|
+
* Set Active state of SideNavLink.
|
|
7629
|
+
*
|
|
7630
|
+
* Checkout SideNav documentation for usage
|
|
7631
|
+
*/
|
|
7632
|
+
isActive?: boolean;
|
|
7633
|
+
/**
|
|
7634
|
+
* Leading icon for SideNavLink
|
|
7635
|
+
*/
|
|
7636
|
+
icon?: IconComponent;
|
|
7637
|
+
/**
|
|
7638
|
+
* Children slot to add Nested Menu
|
|
7639
|
+
*
|
|
7640
|
+
* ```jsx
|
|
7641
|
+
* <SideNavLink title="L2 Trigger" href="/l2-first-item">
|
|
7642
|
+
* <SideNavLevel>
|
|
7643
|
+
* <SideNavLink title="L2 Item" href="/l2-first-item" />
|
|
7644
|
+
* <SideNavLink title="L2 Item 2" href="/l2-second-item" />
|
|
7645
|
+
* </SideNavLevel>
|
|
7646
|
+
* </SideNavLink>
|
|
7647
|
+
* ```
|
|
7648
|
+
*/
|
|
7649
|
+
children?: React__default.ReactElement;
|
|
7650
|
+
/**
|
|
7651
|
+
* Tooltip object to add tooltip to SideNavLink
|
|
7652
|
+
*
|
|
7653
|
+
* ```jsx
|
|
7654
|
+
* <SideNavLink
|
|
7655
|
+
* tooltip={{
|
|
7656
|
+
* title: 'Tooltip Title',
|
|
7657
|
+
* content: 'Tooltip description'
|
|
7658
|
+
* }}
|
|
7659
|
+
* />
|
|
7660
|
+
* ```
|
|
7661
|
+
*/
|
|
7662
|
+
tooltip?: Pick<TooltipProps, 'title' | 'content' | 'onOpenChange'>;
|
|
7663
|
+
};
|
|
7664
|
+
type SideNavSectionProps = {
|
|
7665
|
+
title?: string;
|
|
7666
|
+
/**
|
|
7667
|
+
* Number of items after which the items are collapsed into `+x more`
|
|
7668
|
+
*/
|
|
7669
|
+
maxVisibleItems?: number;
|
|
7670
|
+
/**
|
|
7671
|
+
* Default value if the nav section is expanded or collapsed after maxVisibleItems
|
|
7672
|
+
*
|
|
7673
|
+
* @default false
|
|
7674
|
+
*/
|
|
7675
|
+
defaultIsExpanded?: boolean;
|
|
7676
|
+
/**
|
|
7677
|
+
* Callback when `+x more is clicked`
|
|
7678
|
+
*/
|
|
7679
|
+
onExpandChange?: ({ isExpanded }: {
|
|
7680
|
+
isExpanded: boolean;
|
|
7681
|
+
}) => void;
|
|
7682
|
+
/**
|
|
7683
|
+
* Children slot for SideNavLink
|
|
7684
|
+
*/
|
|
7685
|
+
children: React__default.ReactElement[];
|
|
7686
|
+
};
|
|
7687
|
+
type SideNavFooterProps = {
|
|
7688
|
+
/**
|
|
7689
|
+
* Children slot for SideNavLink, SideNavItem
|
|
7690
|
+
*/
|
|
7691
|
+
children: React__default.ReactElement[] | React__default.ReactElement;
|
|
7692
|
+
};
|
|
7693
|
+
type SideNavItemProps = {
|
|
7694
|
+
/**
|
|
7695
|
+
* Leading slot for SideNavItem.
|
|
7696
|
+
*
|
|
7697
|
+
* Meant for Indicator, Icon, etc
|
|
7698
|
+
*/
|
|
7699
|
+
leading: React__default.ReactElement;
|
|
7700
|
+
/**
|
|
7701
|
+
* Trailing slot for SideNavItem.
|
|
7702
|
+
*
|
|
7703
|
+
* Meant for Button, Switch, etc
|
|
7704
|
+
*/
|
|
7705
|
+
trailing: React__default.ReactElement;
|
|
7706
|
+
/**
|
|
7707
|
+
* Title of SideNavItem
|
|
7708
|
+
*/
|
|
7709
|
+
title: string;
|
|
7710
|
+
/**
|
|
7711
|
+
* Render item of container. Use as="label" when using Switch or form input in trailing
|
|
7712
|
+
*
|
|
7713
|
+
* @default div
|
|
7714
|
+
*/
|
|
7715
|
+
as?: 'label' | 'div';
|
|
7716
|
+
/**
|
|
7717
|
+
* backgroundColor of the item
|
|
7718
|
+
*
|
|
7719
|
+
* @default undefined
|
|
7720
|
+
*/
|
|
7721
|
+
backgroundColor?: BaseBoxProps['backgroundColor'];
|
|
7722
|
+
/**
|
|
7723
|
+
* Tooltip object to add tooltip to SideNavItem
|
|
7724
|
+
*
|
|
7725
|
+
* ```jsx
|
|
7726
|
+
* <SideNavItem
|
|
7727
|
+
* tooltip={{
|
|
7728
|
+
* title: 'Tooltip Title',
|
|
7729
|
+
* content: 'Tooltip description'
|
|
7730
|
+
* }}
|
|
7731
|
+
* />
|
|
7732
|
+
* ```
|
|
7733
|
+
*/
|
|
7734
|
+
tooltip?: SideNavLinkProps['tooltip'];
|
|
7735
|
+
};
|
|
7736
|
+
type SideNavBodyProps = {
|
|
7737
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
7738
|
+
};
|
|
7739
|
+
type SideNavLevelProps = {
|
|
7740
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
7741
|
+
};
|
|
7742
|
+
|
|
7743
|
+
declare const SideNav: (_props: SideNavProps) => React.ReactElement;
|
|
7744
|
+
|
|
7745
|
+
declare const SideNavLink: (_props: SideNavLinkProps) => React.ReactElement;
|
|
7746
|
+
|
|
7747
|
+
declare const SideNavLevel: (_props: SideNavLevelProps) => React.ReactElement;
|
|
7748
|
+
|
|
7749
|
+
declare const SideNavSection: (_props: SideNavSectionProps) => React.ReactElement;
|
|
7750
|
+
|
|
7751
|
+
declare const SideNavItem: (_props: SideNavItemProps) => React.ReactElement;
|
|
7752
|
+
|
|
7753
|
+
declare const SideNavFooter: (_props: SideNavFooterProps) => React.ReactElement;
|
|
7754
|
+
|
|
7755
|
+
declare const SideNavBody: (_props: SideNavBodyProps) => React.ReactElement;
|
|
7756
|
+
|
|
7506
7757
|
type SkeletonProps = StyledPropsBlade & Pick<BaseBoxProps, 'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'borderRadius'> & Partial<FlexboxProps> & {
|
|
7507
7758
|
testID?: string;
|
|
7508
7759
|
};
|
|
@@ -8725,36 +8976,6 @@ type TagProps = {
|
|
|
8725
8976
|
*/
|
|
8726
8977
|
declare const Tag: ({ size, icon: Icon, onDismiss, children, isDisabled, testID, _isVirtuallyFocused, _isTagInsideInput, ...styledProps }: TagProps) => React__default.ReactElement | null;
|
|
8727
8978
|
|
|
8728
|
-
type TooltipProps = {
|
|
8729
|
-
/**
|
|
8730
|
-
* Tooltip title
|
|
8731
|
-
*/
|
|
8732
|
-
title?: string;
|
|
8733
|
-
/**
|
|
8734
|
-
* Tooltip content
|
|
8735
|
-
*/
|
|
8736
|
-
content: string;
|
|
8737
|
-
/**
|
|
8738
|
-
* Placement of tooltip
|
|
8739
|
-
*
|
|
8740
|
-
* @default "top"
|
|
8741
|
-
*/
|
|
8742
|
-
placement?: Exclude<UseFloatingOptions['placement'], 'left-end' | 'left-start' | 'right-end' | 'right-start'>;
|
|
8743
|
-
children: React.ReactElement;
|
|
8744
|
-
onOpenChange?: ({ isOpen }: {
|
|
8745
|
-
isOpen: boolean;
|
|
8746
|
-
}) => void;
|
|
8747
|
-
/**
|
|
8748
|
-
* Sets the z-index of the modal
|
|
8749
|
-
* @default 1100
|
|
8750
|
-
*/
|
|
8751
|
-
zIndex?: number;
|
|
8752
|
-
};
|
|
8753
|
-
|
|
8754
|
-
declare const Tooltip: ({ title, content, children, placement, onOpenChange, zIndex, }: TooltipProps) => React__default.ReactElement;
|
|
8755
|
-
|
|
8756
|
-
declare const TooltipInteractiveWrapper: React__default.ForwardRefExoticComponent<PressableProps & React__default.RefAttributes<View>>;
|
|
8757
|
-
|
|
8758
8979
|
declare const ToastContainer: () => React.ReactElement;
|
|
8759
8980
|
|
|
8760
8981
|
type ToastProps = {
|
|
@@ -8836,4 +9057,4 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
|
|
|
8836
9057
|
*/
|
|
8837
9058
|
declare const screenReaderStyles: CSSObject;
|
|
8838
9059
|
|
|
8839
|
-
export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AddressBookIcon, AffordabilityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AttachmentIcon, AutoComplete, AutoCompleteProps, AutomateAccountingIcon, AutomatePayrollIcon, Avatar, AvatarGroup, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BugIcon, BuildingIcon, BulkPayoutsIcon, BusinessBankingIcon, BusinessSpendManagementIcon, Button, ButtonGroup, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CashIcon, CastIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, ClosedCaptioningIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodeSnippetIcon, CodepenIcon, CoinIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompanyRegistrationIcon, CompassIcon, ComponentIds, ConfettiIcon, ContactlessPaymentIcon, CookieIcon, CopyIcon, CopyrightIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CreditsAndLoansIcon, CropIcon, CrosshairIcon, CurrentAccountIcon, CustomersIcon, CutIcon, DashboardIcon, DatePicker, DatePickerProps, DeleteIcon, DigitalLendingIcon, DisbursePaymentsIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DotIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EcommerceIcon, EditComposeIcon, EditIcon, EditInlineIcon, EducationIcon, EscrowAccountIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, ForexManagementIcon, FreelanceIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphoneIcon, HeadphonesIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, Identifier, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InstantSettlementIcon, InternationalPaymentsIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LoansForBusinessesIcon, LockIcon, LogInIcon, LogOutIcon, MagicCheckoutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MobileAppIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, OptimizerIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonIcon, PaymentButtonsIcon, PaymentGatewayIcon, PaymentLinkIcon, PaymentLinksIcon, PaymentPagesIcon, PayoutLinkIcon, PayrollAddonsIcon, PayrollForCaIcon, PayrollForStartupOrSmeIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneNumberInput, PhoneNumberInputProps, PhoneOffIcon, PhoneOutgoingIcon, PictureInPictureIcon, PieChartIcon, PinIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PosIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RazorpayxPayrollIcon, RefreshIcon, RepeatIcon, ReportsIcon, ResizerIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RouteIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaasIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchInput, SearchInputProps, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SolutionsIcon, SourceToPayIcon, SparklesIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StepGroup, StepGroupProps, StepItem, StepItemIcon, StepItemIndicator, StepItemProps, StopCircleIcon, StorefrontIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps$1 as TablePaginationProps, TablePaginationType, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, TaxPaymentsIcon, TestIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, TokenHqIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, Tour, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UpiAutopayIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VendorPaymentsIcon, VideoIcon, VideoOffIcon, ViewLiveDemoIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WalletIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getHeadingProps, getTextProps, screenReaderStyles, useTheme, useToast };
|
|
9060
|
+
export { AcceptPaymentsIcon, Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AddressBookIcon, AffordabilityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, AttachmentIcon, AutoComplete, AutoCompleteProps, AutomateAccountingIcon, AutomatePayrollIcon, Avatar, AvatarGroup, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BugIcon, BuildingIcon, BulkPayoutsIcon, BusinessBankingIcon, BusinessSpendManagementIcon, Button, ButtonGroup, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CashIcon, CastIcon, CheckCircle2Icon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, ClosedCaptioningIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodeSnippetIcon, CodepenIcon, CoinIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompanyRegistrationIcon, CompassIcon, ComponentIds, ConfettiIcon, ContactlessPaymentIcon, CookieIcon, CopyIcon, CopyrightIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CreditsAndLoansIcon, CropIcon, CrosshairIcon, CurrentAccountIcon, CustomersIcon, CutIcon, DashboardIcon, DatePicker, DatePickerProps, DeleteIcon, DigitalLendingIcon, DisbursePaymentsIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DotIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EcommerceIcon, EditComposeIcon, EditIcon, EditInlineIcon, EducationIcon, EscrowAccountIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FigmaIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, ForexManagementIcon, FreelanceIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphoneIcon, HeadphonesIcon, HeadsetIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, Identifier, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InstantSettlementIcon, InternationalPaymentsIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LoansForBusinessesIcon, LockIcon, LogInIcon, LogOutIcon, MagicCheckoutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MobileAppIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, OptimizerIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonIcon, PaymentButtonsIcon, PaymentGatewayIcon, PaymentLinkIcon, PaymentLinksIcon, PaymentPagesIcon, PayoutLinkIcon, PayrollAddonsIcon, PayrollForCaIcon, PayrollForStartupOrSmeIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneNumberInput, PhoneNumberInputProps, PhoneOffIcon, PhoneOutgoingIcon, PictureInPictureIcon, PieChartIcon, PinIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PosIcon, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RazorpayxPayrollIcon, RefreshIcon, RepeatIcon, ReportsIcon, ResizerIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RouteIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaasIcon, SaveIcon, ScissorsIcon, SearchIcon, SearchInput, SearchInputProps, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingBagIcon, ShoppingCartIcon, ShuffleIcon, SideNav, SideNavBody, SideNavFooter, SideNavFooterProps, SideNavItem, SideNavItemProps, SideNavLevel, SideNavLink, SideNavLinkProps, SideNavProps, SideNavSection, SideNavSectionProps, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SolutionsIcon, SourceToPayIcon, SparklesIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StepGroup, StepGroupProps, StepItem, StepItemIcon, StepItemIndicator, StepItemProps, StopCircleIcon, StorefrontIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps$1 as TablePaginationProps, TablePaginationType, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, TaxPaymentsIcon, TestIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, TicketIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, TokenHqIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, Tour, TrademarkIcon, TrademarkRegisteredIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UpiAutopayIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VendorPaymentsIcon, VideoIcon, VideoOffIcon, ViewLiveDemoIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WalletIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getHeadingProps, getTextProps, screenReaderStyles, useTheme, useToast };
|
|
@@ -776,6 +776,8 @@ declare const size: {
|
|
|
776
776
|
readonly 44: 44;
|
|
777
777
|
/** 48 px */
|
|
778
778
|
readonly 48: 48;
|
|
779
|
+
/** 52 px */
|
|
780
|
+
readonly 52: 52;
|
|
779
781
|
/** 56 px */
|
|
780
782
|
readonly 56: 56;
|
|
781
783
|
/** 60 px */
|
|
@@ -798,6 +800,10 @@ declare const size: {
|
|
|
798
800
|
readonly 200: 200;
|
|
799
801
|
/** 240 px */
|
|
800
802
|
readonly 240: 240;
|
|
803
|
+
/** 256 px */
|
|
804
|
+
readonly 256: 256;
|
|
805
|
+
/** 264 px */
|
|
806
|
+
readonly 264: 264;
|
|
801
807
|
/** 300 px */
|
|
802
808
|
readonly 300: 300;
|
|
803
809
|
/** 314 px */
|
|
@@ -776,6 +776,8 @@ declare const size: {
|
|
|
776
776
|
readonly 44: 44;
|
|
777
777
|
/** 48 px */
|
|
778
778
|
readonly 48: 48;
|
|
779
|
+
/** 52 px */
|
|
780
|
+
readonly 52: 52;
|
|
779
781
|
/** 56 px */
|
|
780
782
|
readonly 56: 56;
|
|
781
783
|
/** 60 px */
|
|
@@ -798,6 +800,10 @@ declare const size: {
|
|
|
798
800
|
readonly 200: 200;
|
|
799
801
|
/** 240 px */
|
|
800
802
|
readonly 240: 240;
|
|
803
|
+
/** 256 px */
|
|
804
|
+
readonly 256: 256;
|
|
805
|
+
/** 264 px */
|
|
806
|
+
readonly 264: 264;
|
|
801
807
|
/** 300 px */
|
|
802
808
|
readonly 300: 300;
|
|
803
809
|
/** 314 px */
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@razorpay/blade",
|
|
3
3
|
"description": "The Design System that powers Razorpay",
|
|
4
|
-
"version": "11.
|
|
4
|
+
"version": "11.21.1",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"engines": {
|
|
7
7
|
"node": ">=18.12.1"
|
|
@@ -300,7 +300,8 @@
|
|
|
300
300
|
"react-hot-toast": "2.4.1",
|
|
301
301
|
"@gorhom/bottom-sheet": "^4.4.6",
|
|
302
302
|
"@gorhom/portal": "^1.0.14",
|
|
303
|
-
"@razorpay/i18nify-js": "^1.9.3"
|
|
303
|
+
"@razorpay/i18nify-js": "^1.9.3",
|
|
304
|
+
"@razorpay/i18nify-react": "^4.0.8"
|
|
304
305
|
},
|
|
305
306
|
"peerDependenciesMeta": {
|
|
306
307
|
"react-native": {
|