@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
|
@@ -3291,7 +3291,7 @@ type TextColors = `interactive.text.${InteractiveText}` | `surface.text.${Surfac
|
|
|
3291
3291
|
type As = 'code' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'abbr' | 'q' | 'cite' | 'figcaption' | 'div' | 'label';
|
|
3292
3292
|
type BaseTextProps = {
|
|
3293
3293
|
id?: string;
|
|
3294
|
-
color?: TextColors;
|
|
3294
|
+
color?: TextColors | 'currentColor';
|
|
3295
3295
|
fontFamily?: keyof Theme['typography']['fonts']['family'];
|
|
3296
3296
|
fontSize?: keyof Theme['typography']['fonts']['size'];
|
|
3297
3297
|
fontWeight?: keyof Theme['typography']['fonts']['weight'];
|
|
@@ -6064,15 +6064,19 @@ type CollapsibleProps = {
|
|
|
6064
6064
|
onExpandChange?: ({ isExpanded }: {
|
|
6065
6065
|
isExpanded: boolean;
|
|
6066
6066
|
}) => void;
|
|
6067
|
+
/**
|
|
6068
|
+
* **Internal**: disables trigger validations. Used for AccordionButton and SideNavLink internally
|
|
6069
|
+
*/
|
|
6070
|
+
_dangerouslyDisableValidations?: boolean;
|
|
6067
6071
|
/**
|
|
6068
6072
|
* **Internal**: used to override responsive width restrictions
|
|
6069
6073
|
*/
|
|
6070
6074
|
_shouldApplyWidthRestrictions?: boolean;
|
|
6071
6075
|
} & TestID & StyledPropsBlade;
|
|
6072
|
-
declare const Collapsible: ({ children, direction, defaultIsExpanded, isExpanded, onExpandChange, testID, _shouldApplyWidthRestrictions, ...styledProps }: CollapsibleProps) => ReactElement;
|
|
6076
|
+
declare const Collapsible: ({ children, direction, defaultIsExpanded, isExpanded, onExpandChange, testID, _shouldApplyWidthRestrictions, _dangerouslyDisableValidations, ...styledProps }: CollapsibleProps) => ReactElement;
|
|
6073
6077
|
|
|
6074
|
-
type CollapsibleLinkProps = Pick<LinkProps, 'size' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'children'
|
|
6075
|
-
declare const CollapsibleLink: ({ children, size, isDisabled, testID, accessibilityLabel, }: CollapsibleLinkProps) => ReactElement;
|
|
6078
|
+
type CollapsibleLinkProps = Pick<LinkProps, 'color' | 'size' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'children'> & StyledPropsBlade;
|
|
6079
|
+
declare const CollapsibleLink: ({ children, size, color, isDisabled, testID, accessibilityLabel, ...styledProps }: CollapsibleLinkProps) => ReactElement;
|
|
6076
6080
|
|
|
6077
6081
|
type CollapsibleButtonProps = Pick<ButtonProps, 'variant' | 'size' | 'iconPosition' | 'isDisabled' | 'testID' | 'accessibilityLabel' | 'icon' | 'children'>;
|
|
6078
6082
|
declare const CollapsibleButton: React$1.ForwardRefExoticComponent<CollapsibleButtonProps & React$1.RefAttributes<BladeElementRef>>;
|
|
@@ -6080,8 +6084,15 @@ declare const CollapsibleButton: React$1.ForwardRefExoticComponent<CollapsibleBu
|
|
|
6080
6084
|
type CollapsibleBodyProps = {
|
|
6081
6085
|
children: ReactNode;
|
|
6082
6086
|
width?: BaseBoxProps['width'];
|
|
6087
|
+
/**
|
|
6088
|
+
* Internal
|
|
6089
|
+
*
|
|
6090
|
+
* Set to false to remove margin of CollapsibleBody
|
|
6091
|
+
*/
|
|
6092
|
+
_hasMargin?: boolean;
|
|
6083
6093
|
} & TestID;
|
|
6084
|
-
|
|
6094
|
+
|
|
6095
|
+
declare const CollapsibleBody: ({ children, testID, width, _hasMargin, }: CollapsibleBodyProps) => ReactElement;
|
|
6085
6096
|
|
|
6086
6097
|
type DividerProps = {
|
|
6087
6098
|
/**
|
|
@@ -6156,6 +6167,13 @@ type DrawerProps = {
|
|
|
6156
6167
|
* Ref to the element that should receive focus when opening the drawer.
|
|
6157
6168
|
*/
|
|
6158
6169
|
initialFocusRef?: React.MutableRefObject<any>;
|
|
6170
|
+
/**
|
|
6171
|
+
* If `true`, the DrawerBody will be rendered only when it becomes active.
|
|
6172
|
+
* Set to `false` to keep DrawerBody in DOM
|
|
6173
|
+
*
|
|
6174
|
+
* @default true
|
|
6175
|
+
*/
|
|
6176
|
+
isLazy?: boolean;
|
|
6159
6177
|
} & TestID;
|
|
6160
6178
|
type DrawerHeaderProps = {
|
|
6161
6179
|
/**
|
|
@@ -6223,7 +6241,7 @@ type DrawerHeaderProps = {
|
|
|
6223
6241
|
*
|
|
6224
6242
|
*
|
|
6225
6243
|
*/
|
|
6226
|
-
declare const Drawer: ({ isOpen, onDismiss, zIndex, children, accessibilityLabel, showOverlay, initialFocusRef, testID, }: DrawerProps) => React__default.ReactElement;
|
|
6244
|
+
declare const Drawer: ({ isOpen, onDismiss, zIndex, children, accessibilityLabel, showOverlay, initialFocusRef, isLazy, testID, }: DrawerProps) => React__default.ReactElement;
|
|
6227
6245
|
|
|
6228
6246
|
/**
|
|
6229
6247
|
* #### Usage
|
|
@@ -6240,6 +6258,7 @@ declare const Drawer: ({ isOpen, onDismiss, zIndex, children, accessibilityLabel
|
|
|
6240
6258
|
*
|
|
6241
6259
|
*/
|
|
6242
6260
|
declare const DrawerHeader: ({ title, subtitle, leading, trailing, titleSuffix, }: DrawerHeaderProps) => React__default.ReactElement;
|
|
6261
|
+
declare const drawerPadding = "spacing.6";
|
|
6243
6262
|
declare const DrawerBody: ({ children }: {
|
|
6244
6263
|
children: React__default.ReactNode;
|
|
6245
6264
|
}) => React__default.ReactElement;
|
|
@@ -6779,7 +6798,7 @@ type CalendarProps<SelectionType extends DateSelectionType> = Pick<DatePickerPro
|
|
|
6779
6798
|
type: Level;
|
|
6780
6799
|
}) => void;
|
|
6781
6800
|
};
|
|
6782
|
-
type DatePickerProps<Type extends DateSelectionType> = Omit<CalendarProps<Type>, MantineInternalProps> & Omit<DatePickerCommonInputProps, 'inputRef' | 'referenceProps' | 'labelPosition' | 'name'> & {
|
|
6801
|
+
type DatePickerProps<Type extends DateSelectionType> = Omit<CalendarProps<Type>, MantineInternalProps> & Omit<DatePickerCommonInputProps, 'inputRef' | 'referenceProps' | 'labelPosition' | 'name' | 'successText' | 'errorText' | 'helpText'> & {
|
|
6783
6802
|
/**
|
|
6784
6803
|
* Sets the label for the input element.
|
|
6785
6804
|
*/
|
|
@@ -6797,6 +6816,18 @@ type DatePickerProps<Type extends DateSelectionType> = Omit<CalendarProps<Type>,
|
|
|
6797
6816
|
start: string;
|
|
6798
6817
|
end?: string;
|
|
6799
6818
|
};
|
|
6819
|
+
helpText?: Type extends 'single' ? string : {
|
|
6820
|
+
start: string;
|
|
6821
|
+
end?: string;
|
|
6822
|
+
};
|
|
6823
|
+
errorText?: Type extends 'single' ? string : {
|
|
6824
|
+
start: string;
|
|
6825
|
+
end?: string;
|
|
6826
|
+
};
|
|
6827
|
+
successText?: Type extends 'single' ? string : {
|
|
6828
|
+
start: string;
|
|
6829
|
+
end?: string;
|
|
6830
|
+
};
|
|
6800
6831
|
labelPosition?: BaseInputProps['labelPosition'];
|
|
6801
6832
|
};
|
|
6802
6833
|
type DatePickerCommonInputProps = {
|
|
@@ -6809,7 +6840,7 @@ declare const DatePicker: <Type extends DateSelectionType = "single">({ selectio
|
|
|
6809
6840
|
labelPosition?: "left" | "top" | undefined;
|
|
6810
6841
|
inputRef: React__default.Ref<any>;
|
|
6811
6842
|
referenceProps: any;
|
|
6812
|
-
} & Pick<TextInputProps, "size" | "autoFocus" | "isDisabled" | "accessibilityLabel" | "isRequired" | "necessityIndicator"> & FormInputValidationProps, "name" | "labelPosition" | "inputRef" | "referenceProps"> & {
|
|
6843
|
+
} & Pick<TextInputProps, "size" | "autoFocus" | "isDisabled" | "accessibilityLabel" | "isRequired" | "necessityIndicator"> & FormInputValidationProps, "name" | "labelPosition" | "helpText" | "errorText" | "successText" | "inputRef" | "referenceProps"> & {
|
|
6813
6844
|
label?: (Type extends "single" ? string : {
|
|
6814
6845
|
start: string;
|
|
6815
6846
|
end?: string | undefined;
|
|
@@ -6818,6 +6849,18 @@ declare const DatePicker: <Type extends DateSelectionType = "single">({ selectio
|
|
|
6818
6849
|
start: string;
|
|
6819
6850
|
end?: string | undefined;
|
|
6820
6851
|
}) | undefined;
|
|
6852
|
+
helpText?: (Type extends "single" ? string : {
|
|
6853
|
+
start: string;
|
|
6854
|
+
end?: string | undefined;
|
|
6855
|
+
}) | undefined;
|
|
6856
|
+
errorText?: (Type extends "single" ? string : {
|
|
6857
|
+
start: string;
|
|
6858
|
+
end?: string | undefined;
|
|
6859
|
+
}) | undefined;
|
|
6860
|
+
successText?: (Type extends "single" ? string : {
|
|
6861
|
+
start: string;
|
|
6862
|
+
end?: string | undefined;
|
|
6863
|
+
}) | undefined;
|
|
6821
6864
|
labelPosition?: "left" | "top" | undefined;
|
|
6822
6865
|
} & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
6823
6866
|
bottom: SpacingValueType | {
|
|
@@ -9765,393 +9808,52 @@ type RadioGroupProps = {
|
|
|
9765
9808
|
} & TestID & StyledPropsBlade;
|
|
9766
9809
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
9767
9810
|
|
|
9768
|
-
type
|
|
9769
|
-
testID?: string;
|
|
9770
|
-
};
|
|
9771
|
-
|
|
9772
|
-
declare const Skeleton: ({ width, maxWidth, minWidth, height, maxHeight, minHeight, borderRadius, flexWrap, flexDirection, flexGrow, flexShrink, flexBasis, alignItems, alignContent, alignSelf, justifyItems, justifyContent, justifySelf, placeSelf, placeItems, order, testID, ...props }: SkeletonProps) => React.ReactElement;
|
|
9773
|
-
|
|
9774
|
-
type SkipNavLinkProps = {
|
|
9775
|
-
id?: string;
|
|
9776
|
-
children?: StringChildrenType;
|
|
9777
|
-
};
|
|
9778
|
-
declare const SkipNavLink: ({ id, children, }: SkipNavLinkProps) => React__default.ReactElement;
|
|
9779
|
-
type SkipNavContentProps = {
|
|
9780
|
-
id?: string;
|
|
9781
|
-
} & TestID;
|
|
9782
|
-
declare const SkipNavContent: ({ id, testID, }: SkipNavContentProps) => React__default.ReactElement;
|
|
9783
|
-
|
|
9784
|
-
type BaseSpinnerProps = {
|
|
9785
|
-
/**
|
|
9786
|
-
* Sets the color of the spinner.
|
|
9787
|
-
*
|
|
9788
|
-
* @default 'default'
|
|
9789
|
-
*/
|
|
9790
|
-
color?: 'primary' | 'white' | FeedbackColors;
|
|
9791
|
-
/**
|
|
9792
|
-
* Sets the label of the spinner.
|
|
9793
|
-
*
|
|
9794
|
-
* @default 'right'
|
|
9795
|
-
*/
|
|
9796
|
-
label?: string;
|
|
9797
|
-
/**
|
|
9798
|
-
* Sets the label of the spinner.
|
|
9799
|
-
*
|
|
9800
|
-
*/
|
|
9801
|
-
labelPosition?: 'right' | 'bottom';
|
|
9802
|
-
/**
|
|
9803
|
-
* Sets the size of the spinner.
|
|
9804
|
-
*
|
|
9805
|
-
* @default 'medium'
|
|
9806
|
-
*/
|
|
9807
|
-
size?: 'medium' | 'large' | 'xlarge';
|
|
9808
|
-
/**
|
|
9809
|
-
* Sets the aria-label for web & accessibilityLabel react-native.
|
|
9810
|
-
*
|
|
9811
|
-
*/
|
|
9812
|
-
accessibilityLabel: string;
|
|
9813
|
-
} & TestID & StyledPropsBlade;
|
|
9814
|
-
|
|
9815
|
-
type SpinnerProps = BaseSpinnerProps & {
|
|
9816
|
-
/**
|
|
9817
|
-
* Sets the color of the spinner.
|
|
9818
|
-
*
|
|
9819
|
-
* @default 'default'
|
|
9820
|
-
*/
|
|
9821
|
-
color?: 'primary' | 'neutral' | 'white';
|
|
9822
|
-
};
|
|
9823
|
-
declare const Spinner: ({ label, labelPosition, accessibilityLabel, color, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
9824
|
-
|
|
9825
|
-
type SpotlightPopoverStepRenderProps = {
|
|
9826
|
-
/**
|
|
9827
|
-
* Go to a specific step
|
|
9828
|
-
*/
|
|
9829
|
-
goToStep: (step: number) => void;
|
|
9830
|
-
/**
|
|
9831
|
-
* Go to the next step
|
|
9832
|
-
*/
|
|
9833
|
-
goToNext: () => void;
|
|
9834
|
-
/**
|
|
9835
|
-
* Go to the previous step
|
|
9836
|
-
*/
|
|
9837
|
-
goToPrevious: () => void;
|
|
9838
|
-
/**
|
|
9839
|
-
* Stop the tour
|
|
9840
|
-
*
|
|
9841
|
-
* This will call the `onFinish` callback
|
|
9842
|
-
*/
|
|
9843
|
-
stopTour: () => void;
|
|
9844
|
-
/**
|
|
9845
|
-
* Current active step (zero based index)
|
|
9846
|
-
*/
|
|
9847
|
-
activeStep: number;
|
|
9848
|
-
/**
|
|
9849
|
-
* Total number of steps
|
|
9850
|
-
*/
|
|
9851
|
-
totalSteps: number;
|
|
9852
|
-
};
|
|
9853
|
-
type Step = {
|
|
9854
|
-
/**
|
|
9855
|
-
* Unique identifier for the tour step
|
|
9856
|
-
*/
|
|
9857
|
-
name: string;
|
|
9858
|
-
/**
|
|
9859
|
-
* Content of the Popover
|
|
9860
|
-
*/
|
|
9861
|
-
content: (props: SpotlightPopoverStepRenderProps) => React.ReactElement;
|
|
9862
|
-
/**
|
|
9863
|
-
* Footer content
|
|
9864
|
-
*/
|
|
9865
|
-
footer?: (props: SpotlightPopoverStepRenderProps) => React.ReactNode;
|
|
9811
|
+
type TooltipProps = {
|
|
9866
9812
|
/**
|
|
9867
|
-
*
|
|
9813
|
+
* Tooltip title
|
|
9868
9814
|
*/
|
|
9869
9815
|
title?: string;
|
|
9870
9816
|
/**
|
|
9871
|
-
*
|
|
9872
|
-
*
|
|
9873
|
-
* Can be any blade icon or asset.
|
|
9874
|
-
*/
|
|
9875
|
-
titleLeading?: React.ReactNode;
|
|
9876
|
-
/**
|
|
9877
|
-
* Placement of Popover
|
|
9878
|
-
* @default "top"
|
|
9817
|
+
* Tooltip content
|
|
9879
9818
|
*/
|
|
9880
|
-
|
|
9881
|
-
};
|
|
9882
|
-
type SpotlightPopoverTourSteps = Step[];
|
|
9883
|
-
type SpotlightPopoverTourProps = {
|
|
9819
|
+
content: string;
|
|
9884
9820
|
/**
|
|
9885
|
-
*
|
|
9821
|
+
* Placement of tooltip
|
|
9886
9822
|
*
|
|
9887
|
-
*
|
|
9888
|
-
*/
|
|
9889
|
-
steps: SpotlightPopoverTourSteps;
|
|
9890
|
-
/**
|
|
9891
|
-
* Whether the tour is visible or not
|
|
9892
|
-
*/
|
|
9893
|
-
isOpen: boolean;
|
|
9894
|
-
/**
|
|
9895
|
-
* Callback when the tour is opened or closed
|
|
9823
|
+
* @default "top"
|
|
9896
9824
|
*/
|
|
9825
|
+
placement?: Exclude<UseFloatingOptions['placement'], 'left-end' | 'left-start' | 'right-end' | 'right-start'>;
|
|
9826
|
+
children: React.ReactElement;
|
|
9897
9827
|
onOpenChange?: ({ isOpen }: {
|
|
9898
9828
|
isOpen: boolean;
|
|
9899
9829
|
}) => void;
|
|
9900
9830
|
/**
|
|
9901
|
-
*
|
|
9902
|
-
|
|
9903
|
-
onFinish?: () => void;
|
|
9904
|
-
/**
|
|
9905
|
-
* Callback when the active step changes
|
|
9906
|
-
*/
|
|
9907
|
-
onStepChange?: (step: number) => void;
|
|
9908
|
-
/**
|
|
9909
|
-
* Active step to be rendered
|
|
9831
|
+
* Sets the z-index of the modal
|
|
9832
|
+
* @default 1100
|
|
9910
9833
|
*/
|
|
9911
|
-
|
|
9912
|
-
children: React.ReactNode;
|
|
9913
|
-
};
|
|
9914
|
-
type SpotlightPopoverTourStepProps = {
|
|
9915
|
-
name: string;
|
|
9916
|
-
children: React.ReactNode;
|
|
9834
|
+
zIndex?: number;
|
|
9917
9835
|
};
|
|
9918
9836
|
|
|
9919
|
-
declare const
|
|
9837
|
+
declare const Tooltip: ({ title, content, children, placement, onOpenChange, zIndex, }: TooltipProps) => React__default.ReactElement;
|
|
9920
9838
|
|
|
9921
|
-
|
|
9922
|
-
|
|
9923
|
-
|
|
9924
|
-
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9839
|
+
declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Omit<Partial<PaddingProps & MarginProps & {
|
|
9840
|
+
width: SpacingValueType | {
|
|
9841
|
+
readonly base?: SpacingValueType | undefined;
|
|
9842
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9843
|
+
readonly s?: SpacingValueType | undefined;
|
|
9844
|
+
readonly m?: SpacingValueType | undefined;
|
|
9845
|
+
readonly l?: SpacingValueType | undefined;
|
|
9846
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9928
9847
|
};
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
* @default medium
|
|
9939
|
-
*/
|
|
9940
|
-
size?: 'medium' | 'large';
|
|
9941
|
-
/**
|
|
9942
|
-
* orientation of step group
|
|
9943
|
-
*
|
|
9944
|
-
* @default vertical
|
|
9945
|
-
*/
|
|
9946
|
-
orientation?: 'horizontal' | 'vertical';
|
|
9947
|
-
/**
|
|
9948
|
-
* children slot for StepItem components
|
|
9949
|
-
*/
|
|
9950
|
-
children: React__default.ReactElement | React__default.ReactElement[];
|
|
9951
|
-
/**
|
|
9952
|
-
* Width of StepGroup. By default it takes the width of its items.
|
|
9953
|
-
*/
|
|
9954
|
-
width?: BoxProps['width'];
|
|
9955
|
-
/**
|
|
9956
|
-
* minWidth prop of StepGroup
|
|
9957
|
-
*/
|
|
9958
|
-
minWidth?: BoxProps['minWidth'];
|
|
9959
|
-
/**
|
|
9960
|
-
* maxWidth prop of StepGroup
|
|
9961
|
-
*
|
|
9962
|
-
* @default 100%
|
|
9963
|
-
*/
|
|
9964
|
-
maxWidth?: BoxProps['maxWidth'];
|
|
9965
|
-
/**
|
|
9966
|
-
* @private
|
|
9967
|
-
*
|
|
9968
|
-
* DO NOT USE THIS PROP OR YOU WILL BE FIRED (joking. you won't be fired. But something bad will happen for sure)
|
|
9969
|
-
*
|
|
9970
|
-
* This is an internal prop to keep track of nestingLevel of StepGroup
|
|
9971
|
-
*/
|
|
9972
|
-
_nestingLevel?: number;
|
|
9973
|
-
} & StyledPropsBlade & TestID;
|
|
9974
|
-
type StepItemProps = {
|
|
9975
|
-
_index?: number;
|
|
9976
|
-
_nestingLevel?: StepGroupProps['_nestingLevel'];
|
|
9977
|
-
_totalIndex?: number;
|
|
9978
|
-
/**
|
|
9979
|
-
* title of StepItem
|
|
9980
|
-
*/
|
|
9981
|
-
title: string;
|
|
9982
|
-
/**
|
|
9983
|
-
* A string that renders in italic font. Made for adding timestamp values.
|
|
9984
|
-
*
|
|
9985
|
-
* ```jsx
|
|
9986
|
-
* timestamp="Thu, 11th Oct23 | 12:00pm"
|
|
9987
|
-
* ```
|
|
9988
|
-
*/
|
|
9989
|
-
timestamp?: string;
|
|
9990
|
-
/**
|
|
9991
|
-
* Description of StepItem
|
|
9992
|
-
*/
|
|
9993
|
-
description?: string;
|
|
9994
|
-
/**
|
|
9995
|
-
* Progress line of step. When its start only starting part is highlighted and rest is kept dotted
|
|
9996
|
-
*
|
|
9997
|
-
* @default full
|
|
9998
|
-
*/
|
|
9999
|
-
stepProgress?: 'start' | 'end' | 'full' | 'none';
|
|
10000
|
-
/**
|
|
10001
|
-
* marker JSX slot. It can be StepItemIndicator or StepItemIcon
|
|
10002
|
-
*
|
|
10003
|
-
* ```jsx
|
|
10004
|
-
* marker={<StepItemIndicator color="positive" />}
|
|
10005
|
-
* marker={<StepItemIcon icon={CheckIcon} color="positive" />}
|
|
10006
|
-
* ```
|
|
10007
|
-
*/
|
|
10008
|
-
marker?: React__default.ReactElement;
|
|
10009
|
-
/**
|
|
10010
|
-
* trailing slot for StepItem. Mostly meant for Badge
|
|
10011
|
-
*/
|
|
10012
|
-
trailing?: React__default.ReactElement;
|
|
10013
|
-
/**
|
|
10014
|
-
* Controlled state of selected item
|
|
10015
|
-
*/
|
|
10016
|
-
isSelected?: boolean;
|
|
10017
|
-
/**
|
|
10018
|
-
* Anchor tag's href value. Turns StepItem into interactive item and render it as `<a>` tag
|
|
10019
|
-
*/
|
|
10020
|
-
href?: LinkProps['href'];
|
|
10021
|
-
/**
|
|
10022
|
-
* Anchjor tag's taget value. Meant to be used alongside `href` prop
|
|
10023
|
-
*/
|
|
10024
|
-
target?: LinkProps['target'];
|
|
10025
|
-
/**
|
|
10026
|
-
* StepItem's click handler. Turns StepItem into interactive item and render it as button tag
|
|
10027
|
-
*/
|
|
10028
|
-
onClick?: (event: React__default.MouseEvent) => void;
|
|
10029
|
-
/**
|
|
10030
|
-
* Children slot for adding additional custom elements to item
|
|
10031
|
-
*/
|
|
10032
|
-
children?: React__default.ReactNode;
|
|
10033
|
-
};
|
|
10034
|
-
|
|
10035
|
-
/**
|
|
10036
|
-
* ## StepGroup
|
|
10037
|
-
*
|
|
10038
|
-
* Step Group visualises sequential processes with a consistent structure. It can be interactive, guiding users through steps, or function as a timeline for reference.
|
|
10039
|
-
*
|
|
10040
|
-
* ### Usage
|
|
10041
|
-
*
|
|
10042
|
-
* ```jsx
|
|
10043
|
-
* <StepGroup orientation="vertical" size="medium">
|
|
10044
|
-
* <StepItem title="Personal Details" />
|
|
10045
|
-
* <StepItem title="Business Details" />
|
|
10046
|
-
* </StepGroup>
|
|
10047
|
-
* ```
|
|
10048
|
-
*
|
|
10049
|
-
* ---
|
|
10050
|
-
*
|
|
10051
|
-
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
10052
|
-
*/
|
|
10053
|
-
declare const StepGroup: ({ size, orientation, children, testID, _nestingLevel, width, minWidth, maxWidth, ...styledProps }: StepGroupProps) => React__default.ReactElement;
|
|
10054
|
-
|
|
10055
|
-
/**
|
|
10056
|
-
* ## StepItem
|
|
10057
|
-
*
|
|
10058
|
-
* Component meant to be used inside the StepGroup parent component
|
|
10059
|
-
*
|
|
10060
|
-
* ### Usage
|
|
10061
|
-
*
|
|
10062
|
-
* ```jsx
|
|
10063
|
-
* <StepGroup orientation="vertical" size="medium">
|
|
10064
|
-
* <StepItem
|
|
10065
|
-
* title="Personal Details"
|
|
10066
|
-
* timestamp="Thu 15th Oct'23 | 12:00pm"
|
|
10067
|
-
* description="Fill your personal details here"
|
|
10068
|
-
* marker={<StepItemIndicator color="negative" />}
|
|
10069
|
-
* />
|
|
10070
|
-
* </StepGroup>
|
|
10071
|
-
* ```
|
|
10072
|
-
*
|
|
10073
|
-
* ---
|
|
10074
|
-
*
|
|
10075
|
-
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
10076
|
-
*/
|
|
10077
|
-
declare const StepItem: ({ title, timestamp, description, stepProgress, marker, trailing, isSelected, href, target, onClick, children, _index, _totalIndex, _nestingLevel, }: StepItemProps) => React__default.ReactElement;
|
|
10078
|
-
|
|
10079
|
-
declare const StepItemIndicator: ({ color }: {
|
|
10080
|
-
color: IndicatorProps['color'];
|
|
10081
|
-
}) => React.ReactElement;
|
|
10082
|
-
type StepItemIconProps = {
|
|
10083
|
-
icon: IconComponent;
|
|
10084
|
-
color: IndicatorProps['color'];
|
|
10085
|
-
};
|
|
10086
|
-
declare const StepItemIcon: ({ icon: Icon, color }: StepItemIconProps) => React.ReactElement;
|
|
10087
|
-
|
|
10088
|
-
type OnChange = ({ isChecked, value, event, }: {
|
|
10089
|
-
isChecked: boolean;
|
|
10090
|
-
event?: React.ChangeEvent;
|
|
10091
|
-
value?: string;
|
|
10092
|
-
}) => void;
|
|
10093
|
-
type SwitchProps = {
|
|
10094
|
-
/**
|
|
10095
|
-
* If `true`, The switch will be checked. This also makes the switch controlled
|
|
10096
|
-
* Use `onChange` to update its value
|
|
10097
|
-
*
|
|
10098
|
-
* @default false
|
|
10099
|
-
*/
|
|
10100
|
-
isChecked?: boolean;
|
|
10101
|
-
/**
|
|
10102
|
-
* If `true`, the switch will be initially checked. This also makes the switch uncontrolled
|
|
10103
|
-
*
|
|
10104
|
-
* @default false
|
|
10105
|
-
*/
|
|
10106
|
-
defaultChecked?: boolean;
|
|
10107
|
-
/**
|
|
10108
|
-
* The callback invoked when the checked state of the `Switch` changes.
|
|
10109
|
-
*/
|
|
10110
|
-
onChange?: OnChange;
|
|
10111
|
-
/**
|
|
10112
|
-
* The name of the input field in a switch
|
|
10113
|
-
* (Useful for form submission).
|
|
10114
|
-
*/
|
|
10115
|
-
name?: string;
|
|
10116
|
-
/**
|
|
10117
|
-
* The value to be used in the switch input.
|
|
10118
|
-
* This is the value that will be returned on form submission.
|
|
10119
|
-
*/
|
|
10120
|
-
value?: string;
|
|
10121
|
-
/**
|
|
10122
|
-
* If `true`, the switch will be disabled
|
|
10123
|
-
*
|
|
10124
|
-
* @default false
|
|
10125
|
-
*/
|
|
10126
|
-
isDisabled?: boolean;
|
|
10127
|
-
/**
|
|
10128
|
-
* Size of the switch
|
|
10129
|
-
*
|
|
10130
|
-
* @default "medium"
|
|
10131
|
-
*/
|
|
10132
|
-
size?: 'small' | 'medium';
|
|
10133
|
-
/**
|
|
10134
|
-
* Provides accessible label for internal checkbox component that sets the aria-label prop for screen readers.
|
|
10135
|
-
*/
|
|
10136
|
-
accessibilityLabel: string;
|
|
10137
|
-
/**
|
|
10138
|
-
* The id of the input field in a switch, useful for associating a label element with the input via htmlFor prop
|
|
10139
|
-
*/
|
|
10140
|
-
id?: string;
|
|
10141
|
-
} & TestID & StyledPropsBlade;
|
|
10142
|
-
|
|
10143
|
-
declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
10144
|
-
isChecked?: boolean | undefined;
|
|
10145
|
-
defaultChecked?: boolean | undefined;
|
|
10146
|
-
onChange?: OnChange | undefined;
|
|
10147
|
-
name?: string | undefined;
|
|
10148
|
-
value?: string | undefined;
|
|
10149
|
-
isDisabled?: boolean | undefined;
|
|
10150
|
-
size?: "small" | "medium" | undefined;
|
|
10151
|
-
accessibilityLabel: string;
|
|
10152
|
-
id?: string | undefined;
|
|
10153
|
-
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
10154
|
-
bottom: SpacingValueType | {
|
|
9848
|
+
display?: csstype.Property.Display | {
|
|
9849
|
+
readonly base?: csstype.Property.Display | undefined;
|
|
9850
|
+
readonly xs?: csstype.Property.Display | undefined;
|
|
9851
|
+
readonly s?: csstype.Property.Display | undefined;
|
|
9852
|
+
readonly m?: csstype.Property.Display | undefined;
|
|
9853
|
+
readonly l?: csstype.Property.Display | undefined;
|
|
9854
|
+
readonly xl?: csstype.Property.Display | undefined;
|
|
9855
|
+
} | undefined;
|
|
9856
|
+
height: SpacingValueType | {
|
|
10155
9857
|
readonly base?: SpacingValueType | undefined;
|
|
10156
9858
|
readonly xs?: SpacingValueType | undefined;
|
|
10157
9859
|
readonly s?: SpacingValueType | undefined;
|
|
@@ -10159,7 +9861,7 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10159
9861
|
readonly l?: SpacingValueType | undefined;
|
|
10160
9862
|
readonly xl?: SpacingValueType | undefined;
|
|
10161
9863
|
};
|
|
10162
|
-
|
|
9864
|
+
maxHeight: SpacingValueType | {
|
|
10163
9865
|
readonly base?: SpacingValueType | undefined;
|
|
10164
9866
|
readonly xs?: SpacingValueType | undefined;
|
|
10165
9867
|
readonly s?: SpacingValueType | undefined;
|
|
@@ -10167,15 +9869,7 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10167
9869
|
readonly l?: SpacingValueType | undefined;
|
|
10168
9870
|
readonly xl?: SpacingValueType | undefined;
|
|
10169
9871
|
};
|
|
10170
|
-
|
|
10171
|
-
readonly base?: csstype.Property.Position | undefined;
|
|
10172
|
-
readonly xs?: csstype.Property.Position | undefined;
|
|
10173
|
-
readonly s?: csstype.Property.Position | undefined;
|
|
10174
|
-
readonly m?: csstype.Property.Position | undefined;
|
|
10175
|
-
readonly l?: csstype.Property.Position | undefined;
|
|
10176
|
-
readonly xl?: csstype.Property.Position | undefined;
|
|
10177
|
-
} | undefined;
|
|
10178
|
-
right: SpacingValueType | {
|
|
9872
|
+
maxWidth: SpacingValueType | {
|
|
10179
9873
|
readonly base?: SpacingValueType | undefined;
|
|
10180
9874
|
readonly xs?: SpacingValueType | undefined;
|
|
10181
9875
|
readonly s?: SpacingValueType | undefined;
|
|
@@ -10183,7 +9877,7 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10183
9877
|
readonly l?: SpacingValueType | undefined;
|
|
10184
9878
|
readonly xl?: SpacingValueType | undefined;
|
|
10185
9879
|
};
|
|
10186
|
-
|
|
9880
|
+
minHeight: SpacingValueType | {
|
|
10187
9881
|
readonly base?: SpacingValueType | undefined;
|
|
10188
9882
|
readonly xs?: SpacingValueType | undefined;
|
|
10189
9883
|
readonly s?: SpacingValueType | undefined;
|
|
@@ -10191,13 +9885,53 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10191
9885
|
readonly l?: SpacingValueType | undefined;
|
|
10192
9886
|
readonly xl?: SpacingValueType | undefined;
|
|
10193
9887
|
};
|
|
10194
|
-
|
|
10195
|
-
readonly base?:
|
|
10196
|
-
readonly xs?:
|
|
10197
|
-
readonly s?:
|
|
10198
|
-
readonly m?:
|
|
10199
|
-
readonly l?:
|
|
10200
|
-
readonly xl?:
|
|
9888
|
+
minWidth: SpacingValueType | {
|
|
9889
|
+
readonly base?: SpacingValueType | undefined;
|
|
9890
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9891
|
+
readonly s?: SpacingValueType | undefined;
|
|
9892
|
+
readonly m?: SpacingValueType | undefined;
|
|
9893
|
+
readonly l?: SpacingValueType | undefined;
|
|
9894
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9895
|
+
};
|
|
9896
|
+
overflowX?: csstype.Property.OverflowX | {
|
|
9897
|
+
readonly base?: csstype.Property.OverflowX | undefined;
|
|
9898
|
+
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
9899
|
+
readonly s?: csstype.Property.OverflowX | undefined;
|
|
9900
|
+
readonly m?: csstype.Property.OverflowX | undefined;
|
|
9901
|
+
readonly l?: csstype.Property.OverflowX | undefined;
|
|
9902
|
+
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
9903
|
+
} | undefined;
|
|
9904
|
+
overflowY?: csstype.Property.OverflowY | {
|
|
9905
|
+
readonly base?: csstype.Property.OverflowY | undefined;
|
|
9906
|
+
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
9907
|
+
readonly s?: csstype.Property.OverflowY | undefined;
|
|
9908
|
+
readonly m?: csstype.Property.OverflowY | undefined;
|
|
9909
|
+
readonly l?: csstype.Property.OverflowY | undefined;
|
|
9910
|
+
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
9911
|
+
} | undefined;
|
|
9912
|
+
textAlign?: csstype.Property.TextAlign | {
|
|
9913
|
+
readonly base?: csstype.Property.TextAlign | undefined;
|
|
9914
|
+
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
9915
|
+
readonly s?: csstype.Property.TextAlign | undefined;
|
|
9916
|
+
readonly m?: csstype.Property.TextAlign | undefined;
|
|
9917
|
+
readonly l?: csstype.Property.TextAlign | undefined;
|
|
9918
|
+
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
9919
|
+
} | undefined;
|
|
9920
|
+
whiteSpace?: csstype.Property.WhiteSpace | {
|
|
9921
|
+
readonly base?: csstype.Property.WhiteSpace | undefined;
|
|
9922
|
+
readonly xs?: csstype.Property.WhiteSpace | undefined;
|
|
9923
|
+
readonly s?: csstype.Property.WhiteSpace | undefined;
|
|
9924
|
+
readonly m?: csstype.Property.WhiteSpace | undefined;
|
|
9925
|
+
readonly l?: csstype.Property.WhiteSpace | undefined;
|
|
9926
|
+
readonly xl?: csstype.Property.WhiteSpace | undefined;
|
|
9927
|
+
} | undefined;
|
|
9928
|
+
overflow?: csstype.Property.Overflow | {
|
|
9929
|
+
readonly base?: csstype.Property.Overflow | undefined;
|
|
9930
|
+
readonly xs?: csstype.Property.Overflow | undefined;
|
|
9931
|
+
readonly s?: csstype.Property.Overflow | undefined;
|
|
9932
|
+
readonly m?: csstype.Property.Overflow | undefined;
|
|
9933
|
+
readonly l?: csstype.Property.Overflow | undefined;
|
|
9934
|
+
readonly xl?: csstype.Property.Overflow | undefined;
|
|
10201
9935
|
} | undefined;
|
|
10202
9936
|
__brand__?: "platform-web" | {
|
|
10203
9937
|
readonly base?: "platform-web" | undefined;
|
|
@@ -10207,23 +9941,80 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10207
9941
|
readonly l?: "platform-web" | undefined;
|
|
10208
9942
|
readonly xl?: "platform-web" | undefined;
|
|
10209
9943
|
} | undefined;
|
|
10210
|
-
} &
|
|
10211
|
-
|
|
10212
|
-
readonly base?:
|
|
10213
|
-
readonly xs?:
|
|
10214
|
-
readonly s?:
|
|
10215
|
-
readonly m?:
|
|
10216
|
-
readonly l?:
|
|
10217
|
-
readonly xl?:
|
|
10218
|
-
}
|
|
10219
|
-
|
|
10220
|
-
readonly base?:
|
|
10221
|
-
readonly xs?:
|
|
10222
|
-
readonly s?:
|
|
10223
|
-
readonly m?:
|
|
10224
|
-
readonly l?:
|
|
10225
|
-
readonly xl?:
|
|
10226
|
-
}
|
|
9944
|
+
} & FlexboxProps & {
|
|
9945
|
+
bottom: SpacingValueType | {
|
|
9946
|
+
readonly base?: SpacingValueType | undefined;
|
|
9947
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9948
|
+
readonly s?: SpacingValueType | undefined;
|
|
9949
|
+
readonly m?: SpacingValueType | undefined;
|
|
9950
|
+
readonly l?: SpacingValueType | undefined;
|
|
9951
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9952
|
+
};
|
|
9953
|
+
left: SpacingValueType | {
|
|
9954
|
+
readonly base?: SpacingValueType | undefined;
|
|
9955
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9956
|
+
readonly s?: SpacingValueType | undefined;
|
|
9957
|
+
readonly m?: SpacingValueType | undefined;
|
|
9958
|
+
readonly l?: SpacingValueType | undefined;
|
|
9959
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9960
|
+
};
|
|
9961
|
+
position?: csstype.Property.Position | {
|
|
9962
|
+
readonly base?: csstype.Property.Position | undefined;
|
|
9963
|
+
readonly xs?: csstype.Property.Position | undefined;
|
|
9964
|
+
readonly s?: csstype.Property.Position | undefined;
|
|
9965
|
+
readonly m?: csstype.Property.Position | undefined;
|
|
9966
|
+
readonly l?: csstype.Property.Position | undefined;
|
|
9967
|
+
readonly xl?: csstype.Property.Position | undefined;
|
|
9968
|
+
} | undefined;
|
|
9969
|
+
right: SpacingValueType | {
|
|
9970
|
+
readonly base?: SpacingValueType | undefined;
|
|
9971
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9972
|
+
readonly s?: SpacingValueType | undefined;
|
|
9973
|
+
readonly m?: SpacingValueType | undefined;
|
|
9974
|
+
readonly l?: SpacingValueType | undefined;
|
|
9975
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9976
|
+
};
|
|
9977
|
+
top: SpacingValueType | {
|
|
9978
|
+
readonly base?: SpacingValueType | undefined;
|
|
9979
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9980
|
+
readonly s?: SpacingValueType | undefined;
|
|
9981
|
+
readonly m?: SpacingValueType | undefined;
|
|
9982
|
+
readonly l?: SpacingValueType | undefined;
|
|
9983
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9984
|
+
};
|
|
9985
|
+
zIndex?: csstype.Property.ZIndex | {
|
|
9986
|
+
readonly base?: csstype.Property.ZIndex | undefined;
|
|
9987
|
+
readonly xs?: csstype.Property.ZIndex | undefined;
|
|
9988
|
+
readonly s?: csstype.Property.ZIndex | undefined;
|
|
9989
|
+
readonly m?: csstype.Property.ZIndex | undefined;
|
|
9990
|
+
readonly l?: csstype.Property.ZIndex | undefined;
|
|
9991
|
+
readonly xl?: csstype.Property.ZIndex | undefined;
|
|
9992
|
+
} | undefined;
|
|
9993
|
+
__brand__?: "platform-web" | {
|
|
9994
|
+
readonly base?: "platform-web" | undefined;
|
|
9995
|
+
readonly xs?: "platform-web" | undefined;
|
|
9996
|
+
readonly s?: "platform-web" | undefined;
|
|
9997
|
+
readonly m?: "platform-web" | undefined;
|
|
9998
|
+
readonly l?: "platform-web" | undefined;
|
|
9999
|
+
readonly xl?: "platform-web" | undefined;
|
|
10000
|
+
} | undefined;
|
|
10001
|
+
} & {
|
|
10002
|
+
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
10003
|
+
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
10004
|
+
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
10005
|
+
readonly s?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
10006
|
+
readonly m?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
10007
|
+
readonly l?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
10008
|
+
readonly xl?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
10009
|
+
} | undefined;
|
|
10010
|
+
gridAutoFlow?: csstype.Property.GridAutoFlow | {
|
|
10011
|
+
readonly base?: csstype.Property.GridAutoFlow | undefined;
|
|
10012
|
+
readonly xs?: csstype.Property.GridAutoFlow | undefined;
|
|
10013
|
+
readonly s?: csstype.Property.GridAutoFlow | undefined;
|
|
10014
|
+
readonly m?: csstype.Property.GridAutoFlow | undefined;
|
|
10015
|
+
readonly l?: csstype.Property.GridAutoFlow | undefined;
|
|
10016
|
+
readonly xl?: csstype.Property.GridAutoFlow | undefined;
|
|
10017
|
+
} | undefined;
|
|
10227
10018
|
gridAutoRows?: csstype.Property.GridAutoRows<string | number> | {
|
|
10228
10019
|
readonly base?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
10229
10020
|
readonly xs?: csstype.Property.GridAutoRows<string | number> | undefined;
|
|
@@ -10336,112 +10127,20 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10336
10127
|
readonly l?: "platform-web" | undefined;
|
|
10337
10128
|
readonly xl?: "platform-web" | undefined;
|
|
10338
10129
|
} | undefined;
|
|
10339
|
-
}
|
|
10340
|
-
|
|
10341
|
-
|
|
10342
|
-
|
|
10343
|
-
|
|
10344
|
-
|
|
10345
|
-
|
|
10346
|
-
|
|
10347
|
-
|
|
10348
|
-
|
|
10349
|
-
|
|
10350
|
-
|
|
10351
|
-
|
|
10352
|
-
|
|
10353
|
-
readonly l?: csstype.Property.Display | undefined;
|
|
10354
|
-
readonly xl?: csstype.Property.Display | undefined;
|
|
10355
|
-
} | undefined;
|
|
10356
|
-
height: SpacingValueType | {
|
|
10357
|
-
readonly base?: SpacingValueType | undefined;
|
|
10358
|
-
readonly xs?: SpacingValueType | undefined;
|
|
10359
|
-
readonly s?: SpacingValueType | undefined;
|
|
10360
|
-
readonly m?: SpacingValueType | undefined;
|
|
10361
|
-
readonly l?: SpacingValueType | undefined;
|
|
10362
|
-
readonly xl?: SpacingValueType | undefined;
|
|
10363
|
-
};
|
|
10364
|
-
maxHeight: SpacingValueType | {
|
|
10365
|
-
readonly base?: SpacingValueType | undefined;
|
|
10366
|
-
readonly xs?: SpacingValueType | undefined;
|
|
10367
|
-
readonly s?: SpacingValueType | undefined;
|
|
10368
|
-
readonly m?: SpacingValueType | undefined;
|
|
10369
|
-
readonly l?: SpacingValueType | undefined;
|
|
10370
|
-
readonly xl?: SpacingValueType | undefined;
|
|
10371
|
-
};
|
|
10372
|
-
maxWidth: SpacingValueType | {
|
|
10373
|
-
readonly base?: SpacingValueType | undefined;
|
|
10374
|
-
readonly xs?: SpacingValueType | undefined;
|
|
10375
|
-
readonly s?: SpacingValueType | undefined;
|
|
10376
|
-
readonly m?: SpacingValueType | undefined;
|
|
10377
|
-
readonly l?: SpacingValueType | undefined;
|
|
10378
|
-
readonly xl?: SpacingValueType | undefined;
|
|
10379
|
-
};
|
|
10380
|
-
minHeight: SpacingValueType | {
|
|
10381
|
-
readonly base?: SpacingValueType | undefined;
|
|
10382
|
-
readonly xs?: SpacingValueType | undefined;
|
|
10383
|
-
readonly s?: SpacingValueType | undefined;
|
|
10384
|
-
readonly m?: SpacingValueType | undefined;
|
|
10385
|
-
readonly l?: SpacingValueType | undefined;
|
|
10386
|
-
readonly xl?: SpacingValueType | undefined;
|
|
10387
|
-
};
|
|
10388
|
-
minWidth: SpacingValueType | {
|
|
10389
|
-
readonly base?: SpacingValueType | undefined;
|
|
10390
|
-
readonly xs?: SpacingValueType | undefined;
|
|
10391
|
-
readonly s?: SpacingValueType | undefined;
|
|
10392
|
-
readonly m?: SpacingValueType | undefined;
|
|
10393
|
-
readonly l?: SpacingValueType | undefined;
|
|
10394
|
-
readonly xl?: SpacingValueType | undefined;
|
|
10395
|
-
};
|
|
10396
|
-
overflowX?: csstype.Property.OverflowX | {
|
|
10397
|
-
readonly base?: csstype.Property.OverflowX | undefined;
|
|
10398
|
-
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
10399
|
-
readonly s?: csstype.Property.OverflowX | undefined;
|
|
10400
|
-
readonly m?: csstype.Property.OverflowX | undefined;
|
|
10401
|
-
readonly l?: csstype.Property.OverflowX | undefined;
|
|
10402
|
-
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
10403
|
-
} | undefined;
|
|
10404
|
-
overflowY?: csstype.Property.OverflowY | {
|
|
10405
|
-
readonly base?: csstype.Property.OverflowY | undefined;
|
|
10406
|
-
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
10407
|
-
readonly s?: csstype.Property.OverflowY | undefined;
|
|
10408
|
-
readonly m?: csstype.Property.OverflowY | undefined;
|
|
10409
|
-
readonly l?: csstype.Property.OverflowY | undefined;
|
|
10410
|
-
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
10411
|
-
} | undefined;
|
|
10412
|
-
textAlign?: csstype.Property.TextAlign | {
|
|
10413
|
-
readonly base?: csstype.Property.TextAlign | undefined;
|
|
10414
|
-
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
10415
|
-
readonly s?: csstype.Property.TextAlign | undefined;
|
|
10416
|
-
readonly m?: csstype.Property.TextAlign | undefined;
|
|
10417
|
-
readonly l?: csstype.Property.TextAlign | undefined;
|
|
10418
|
-
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
10419
|
-
} | undefined;
|
|
10420
|
-
whiteSpace?: csstype.Property.WhiteSpace | {
|
|
10421
|
-
readonly base?: csstype.Property.WhiteSpace | undefined;
|
|
10422
|
-
readonly xs?: csstype.Property.WhiteSpace | undefined;
|
|
10423
|
-
readonly s?: csstype.Property.WhiteSpace | undefined;
|
|
10424
|
-
readonly m?: csstype.Property.WhiteSpace | undefined;
|
|
10425
|
-
readonly l?: csstype.Property.WhiteSpace | undefined;
|
|
10426
|
-
readonly xl?: csstype.Property.WhiteSpace | undefined;
|
|
10427
|
-
} | undefined;
|
|
10428
|
-
overflow?: csstype.Property.Overflow | {
|
|
10429
|
-
readonly base?: csstype.Property.Overflow | undefined;
|
|
10430
|
-
readonly xs?: csstype.Property.Overflow | undefined;
|
|
10431
|
-
readonly s?: csstype.Property.Overflow | undefined;
|
|
10432
|
-
readonly m?: csstype.Property.Overflow | undefined;
|
|
10433
|
-
readonly l?: csstype.Property.Overflow | undefined;
|
|
10434
|
-
readonly xl?: csstype.Property.Overflow | undefined;
|
|
10435
|
-
} | undefined;
|
|
10436
|
-
__brand__?: "platform-web" | {
|
|
10437
|
-
readonly base?: "platform-web" | undefined;
|
|
10438
|
-
readonly xs?: "platform-web" | undefined;
|
|
10439
|
-
readonly s?: "platform-web" | undefined;
|
|
10440
|
-
readonly m?: "platform-web" | undefined;
|
|
10441
|
-
readonly l?: "platform-web" | undefined;
|
|
10442
|
-
readonly xl?: "platform-web" | undefined;
|
|
10443
|
-
} | undefined;
|
|
10444
|
-
}, "display"> & Pick<{
|
|
10130
|
+
} & {
|
|
10131
|
+
onMouseOver: React$1.MouseEventHandler<HTMLElement>;
|
|
10132
|
+
onMouseEnter: React$1.MouseEventHandler<HTMLElement>;
|
|
10133
|
+
onMouseLeave: React$1.MouseEventHandler<HTMLElement>;
|
|
10134
|
+
onScroll: React$1.UIEventHandler<HTMLElement>;
|
|
10135
|
+
} & {
|
|
10136
|
+
draggable: boolean;
|
|
10137
|
+
onDragStart: React$1.DragEventHandler<HTMLElement>;
|
|
10138
|
+
onDragEnter: React$1.DragEventHandler<HTMLElement>;
|
|
10139
|
+
onDragLeave: React$1.DragEventHandler<HTMLElement>;
|
|
10140
|
+
onDragOver: React$1.DragEventHandler<HTMLElement>;
|
|
10141
|
+
onDragEnd: React$1.DragEventHandler<HTMLElement>;
|
|
10142
|
+
onDrop: React$1.DragEventHandler<HTMLElement>;
|
|
10143
|
+
} & {
|
|
10445
10144
|
elevation?: ElevationLevels | {
|
|
10446
10145
|
readonly base?: ElevationLevels | undefined;
|
|
10447
10146
|
readonly xs?: ElevationLevels | undefined;
|
|
@@ -10706,508 +10405,724 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10706
10405
|
readonly l?: "platform-web" | undefined;
|
|
10707
10406
|
readonly xl?: "platform-web" | undefined;
|
|
10708
10407
|
} | undefined;
|
|
10709
|
-
}
|
|
10710
|
-
|
|
10711
|
-
|
|
10712
|
-
|
|
10713
|
-
}
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10718
|
-
|
|
10719
|
-
|
|
10720
|
-
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
|
|
10726
|
-
|
|
10727
|
-
|
|
10728
|
-
|
|
10729
|
-
|
|
10730
|
-
|
|
10731
|
-
|
|
10732
|
-
|
|
10733
|
-
|
|
10734
|
-
|
|
10735
|
-
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10739
|
-
|
|
10740
|
-
|
|
10741
|
-
|
|
10742
|
-
|
|
10743
|
-
|
|
10744
|
-
|
|
10745
|
-
|
|
10746
|
-
|
|
10747
|
-
|
|
10748
|
-
|
|
10749
|
-
|
|
10750
|
-
|
|
10751
|
-
|
|
10752
|
-
|
|
10753
|
-
|
|
10754
|
-
|
|
10755
|
-
|
|
10756
|
-
|
|
10757
|
-
|
|
10758
|
-
|
|
10759
|
-
|
|
10760
|
-
|
|
10761
|
-
|
|
10762
|
-
|
|
10763
|
-
|
|
10764
|
-
|
|
10765
|
-
|
|
10766
|
-
|
|
10767
|
-
|
|
10768
|
-
|
|
10769
|
-
|
|
10770
|
-
|
|
10771
|
-
|
|
10408
|
+
} & MakeObjectResponsive<{
|
|
10409
|
+
backgroundColor: "transparent" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense";
|
|
10410
|
+
}, "backgroundColor"> & {
|
|
10411
|
+
as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
|
|
10412
|
+
} & {
|
|
10413
|
+
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
10414
|
+
tabIndex?: number | undefined;
|
|
10415
|
+
id?: string | undefined;
|
|
10416
|
+
} & TestID>, "backgroundColor" | "as"> & Partial<{
|
|
10417
|
+
border?: csstype.Property.Border<string | number> | {
|
|
10418
|
+
readonly base?: csstype.Property.Border<string | number> | undefined;
|
|
10419
|
+
readonly xs?: csstype.Property.Border<string | number> | undefined;
|
|
10420
|
+
readonly s?: csstype.Property.Border<string | number> | undefined;
|
|
10421
|
+
readonly m?: csstype.Property.Border<string | number> | undefined;
|
|
10422
|
+
readonly l?: csstype.Property.Border<string | number> | undefined;
|
|
10423
|
+
readonly xl?: csstype.Property.Border<string | number> | undefined;
|
|
10424
|
+
} | undefined;
|
|
10425
|
+
backgroundColor: "transparent" | "feedback.background.neutral.subtle" | "feedback.background.neutral.intense" | "feedback.background.information.subtle" | "feedback.background.information.intense" | "feedback.background.negative.subtle" | "feedback.background.negative.intense" | "feedback.background.notice.subtle" | "feedback.background.notice.intense" | "feedback.background.positive.subtle" | "feedback.background.positive.intense" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense" | "interactive.background.neutral.fadedHighlighted" | "interactive.background.neutral.disabled" | "interactive.background.neutral.default" | "interactive.background.neutral.highlighted" | "interactive.background.neutral.faded" | "interactive.background.information.fadedHighlighted" | "interactive.background.information.disabled" | "interactive.background.information.default" | "interactive.background.information.highlighted" | "interactive.background.information.faded" | "interactive.background.negative.fadedHighlighted" | "interactive.background.negative.disabled" | "interactive.background.negative.default" | "interactive.background.negative.highlighted" | "interactive.background.negative.faded" | "interactive.background.notice.fadedHighlighted" | "interactive.background.notice.disabled" | "interactive.background.notice.default" | "interactive.background.notice.highlighted" | "interactive.background.notice.faded" | "interactive.background.positive.fadedHighlighted" | "interactive.background.positive.disabled" | "interactive.background.positive.default" | "interactive.background.positive.highlighted" | "interactive.background.positive.faded" | "interactive.background.staticBlack.fadedHighlighted" | "interactive.background.staticBlack.disabled" | "interactive.background.staticBlack.default" | "interactive.background.staticBlack.highlighted" | "interactive.background.staticBlack.faded" | "interactive.background.staticWhite.fadedHighlighted" | "interactive.background.staticWhite.disabled" | "interactive.background.staticWhite.default" | "interactive.background.staticWhite.highlighted" | "interactive.background.staticWhite.faded" | "interactive.background.gray.fadedHighlighted" | "interactive.background.gray.disabled" | "interactive.background.gray.default" | "interactive.background.gray.highlighted" | "interactive.background.gray.faded" | "interactive.background.primary.fadedHighlighted" | "interactive.background.primary.disabled" | "interactive.background.primary.default" | "interactive.background.primary.highlighted" | "interactive.background.primary.faded" | "overlay.background.subtle" | "overlay.background.moderate" | "popup.background.subtle" | "popup.background.intense" | (string & Record<never, never>) | {
|
|
10426
|
+
readonly base?: "transparent" | "feedback.background.neutral.subtle" | "feedback.background.neutral.intense" | "feedback.background.information.subtle" | "feedback.background.information.intense" | "feedback.background.negative.subtle" | "feedback.background.negative.intense" | "feedback.background.notice.subtle" | "feedback.background.notice.intense" | "feedback.background.positive.subtle" | "feedback.background.positive.intense" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense" | "interactive.background.neutral.fadedHighlighted" | "interactive.background.neutral.disabled" | "interactive.background.neutral.default" | "interactive.background.neutral.highlighted" | "interactive.background.neutral.faded" | "interactive.background.information.fadedHighlighted" | "interactive.background.information.disabled" | "interactive.background.information.default" | "interactive.background.information.highlighted" | "interactive.background.information.faded" | "interactive.background.negative.fadedHighlighted" | "interactive.background.negative.disabled" | "interactive.background.negative.default" | "interactive.background.negative.highlighted" | "interactive.background.negative.faded" | "interactive.background.notice.fadedHighlighted" | "interactive.background.notice.disabled" | "interactive.background.notice.default" | "interactive.background.notice.highlighted" | "interactive.background.notice.faded" | "interactive.background.positive.fadedHighlighted" | "interactive.background.positive.disabled" | "interactive.background.positive.default" | "interactive.background.positive.highlighted" | "interactive.background.positive.faded" | "interactive.background.staticBlack.fadedHighlighted" | "interactive.background.staticBlack.disabled" | "interactive.background.staticBlack.default" | "interactive.background.staticBlack.highlighted" | "interactive.background.staticBlack.faded" | "interactive.background.staticWhite.fadedHighlighted" | "interactive.background.staticWhite.disabled" | "interactive.background.staticWhite.default" | "interactive.background.staticWhite.highlighted" | "interactive.background.staticWhite.faded" | "interactive.background.gray.fadedHighlighted" | "interactive.background.gray.disabled" | "interactive.background.gray.default" | "interactive.background.gray.highlighted" | "interactive.background.gray.faded" | "interactive.background.primary.fadedHighlighted" | "interactive.background.primary.disabled" | "interactive.background.primary.default" | "interactive.background.primary.highlighted" | "interactive.background.primary.faded" | "overlay.background.subtle" | "overlay.background.moderate" | "popup.background.subtle" | "popup.background.intense" | (string & Record<never, never>) | undefined;
|
|
10427
|
+
readonly xs?: "transparent" | "feedback.background.neutral.subtle" | "feedback.background.neutral.intense" | "feedback.background.information.subtle" | "feedback.background.information.intense" | "feedback.background.negative.subtle" | "feedback.background.negative.intense" | "feedback.background.notice.subtle" | "feedback.background.notice.intense" | "feedback.background.positive.subtle" | "feedback.background.positive.intense" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense" | "interactive.background.neutral.fadedHighlighted" | "interactive.background.neutral.disabled" | "interactive.background.neutral.default" | "interactive.background.neutral.highlighted" | "interactive.background.neutral.faded" | "interactive.background.information.fadedHighlighted" | "interactive.background.information.disabled" | "interactive.background.information.default" | "interactive.background.information.highlighted" | "interactive.background.information.faded" | "interactive.background.negative.fadedHighlighted" | "interactive.background.negative.disabled" | "interactive.background.negative.default" | "interactive.background.negative.highlighted" | "interactive.background.negative.faded" | "interactive.background.notice.fadedHighlighted" | "interactive.background.notice.disabled" | "interactive.background.notice.default" | "interactive.background.notice.highlighted" | "interactive.background.notice.faded" | "interactive.background.positive.fadedHighlighted" | "interactive.background.positive.disabled" | "interactive.background.positive.default" | "interactive.background.positive.highlighted" | "interactive.background.positive.faded" | "interactive.background.staticBlack.fadedHighlighted" | "interactive.background.staticBlack.disabled" | "interactive.background.staticBlack.default" | "interactive.background.staticBlack.highlighted" | "interactive.background.staticBlack.faded" | "interactive.background.staticWhite.fadedHighlighted" | "interactive.background.staticWhite.disabled" | "interactive.background.staticWhite.default" | "interactive.background.staticWhite.highlighted" | "interactive.background.staticWhite.faded" | "interactive.background.gray.fadedHighlighted" | "interactive.background.gray.disabled" | "interactive.background.gray.default" | "interactive.background.gray.highlighted" | "interactive.background.gray.faded" | "interactive.background.primary.fadedHighlighted" | "interactive.background.primary.disabled" | "interactive.background.primary.default" | "interactive.background.primary.highlighted" | "interactive.background.primary.faded" | "overlay.background.subtle" | "overlay.background.moderate" | "popup.background.subtle" | "popup.background.intense" | (string & Record<never, never>) | undefined;
|
|
10428
|
+
readonly s?: "transparent" | "feedback.background.neutral.subtle" | "feedback.background.neutral.intense" | "feedback.background.information.subtle" | "feedback.background.information.intense" | "feedback.background.negative.subtle" | "feedback.background.negative.intense" | "feedback.background.notice.subtle" | "feedback.background.notice.intense" | "feedback.background.positive.subtle" | "feedback.background.positive.intense" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense" | "interactive.background.neutral.fadedHighlighted" | "interactive.background.neutral.disabled" | "interactive.background.neutral.default" | "interactive.background.neutral.highlighted" | "interactive.background.neutral.faded" | "interactive.background.information.fadedHighlighted" | "interactive.background.information.disabled" | "interactive.background.information.default" | "interactive.background.information.highlighted" | "interactive.background.information.faded" | "interactive.background.negative.fadedHighlighted" | "interactive.background.negative.disabled" | "interactive.background.negative.default" | "interactive.background.negative.highlighted" | "interactive.background.negative.faded" | "interactive.background.notice.fadedHighlighted" | "interactive.background.notice.disabled" | "interactive.background.notice.default" | "interactive.background.notice.highlighted" | "interactive.background.notice.faded" | "interactive.background.positive.fadedHighlighted" | "interactive.background.positive.disabled" | "interactive.background.positive.default" | "interactive.background.positive.highlighted" | "interactive.background.positive.faded" | "interactive.background.staticBlack.fadedHighlighted" | "interactive.background.staticBlack.disabled" | "interactive.background.staticBlack.default" | "interactive.background.staticBlack.highlighted" | "interactive.background.staticBlack.faded" | "interactive.background.staticWhite.fadedHighlighted" | "interactive.background.staticWhite.disabled" | "interactive.background.staticWhite.default" | "interactive.background.staticWhite.highlighted" | "interactive.background.staticWhite.faded" | "interactive.background.gray.fadedHighlighted" | "interactive.background.gray.disabled" | "interactive.background.gray.default" | "interactive.background.gray.highlighted" | "interactive.background.gray.faded" | "interactive.background.primary.fadedHighlighted" | "interactive.background.primary.disabled" | "interactive.background.primary.default" | "interactive.background.primary.highlighted" | "interactive.background.primary.faded" | "overlay.background.subtle" | "overlay.background.moderate" | "popup.background.subtle" | "popup.background.intense" | (string & Record<never, never>) | undefined;
|
|
10429
|
+
readonly m?: "transparent" | "feedback.background.neutral.subtle" | "feedback.background.neutral.intense" | "feedback.background.information.subtle" | "feedback.background.information.intense" | "feedback.background.negative.subtle" | "feedback.background.negative.intense" | "feedback.background.notice.subtle" | "feedback.background.notice.intense" | "feedback.background.positive.subtle" | "feedback.background.positive.intense" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense" | "interactive.background.neutral.fadedHighlighted" | "interactive.background.neutral.disabled" | "interactive.background.neutral.default" | "interactive.background.neutral.highlighted" | "interactive.background.neutral.faded" | "interactive.background.information.fadedHighlighted" | "interactive.background.information.disabled" | "interactive.background.information.default" | "interactive.background.information.highlighted" | "interactive.background.information.faded" | "interactive.background.negative.fadedHighlighted" | "interactive.background.negative.disabled" | "interactive.background.negative.default" | "interactive.background.negative.highlighted" | "interactive.background.negative.faded" | "interactive.background.notice.fadedHighlighted" | "interactive.background.notice.disabled" | "interactive.background.notice.default" | "interactive.background.notice.highlighted" | "interactive.background.notice.faded" | "interactive.background.positive.fadedHighlighted" | "interactive.background.positive.disabled" | "interactive.background.positive.default" | "interactive.background.positive.highlighted" | "interactive.background.positive.faded" | "interactive.background.staticBlack.fadedHighlighted" | "interactive.background.staticBlack.disabled" | "interactive.background.staticBlack.default" | "interactive.background.staticBlack.highlighted" | "interactive.background.staticBlack.faded" | "interactive.background.staticWhite.fadedHighlighted" | "interactive.background.staticWhite.disabled" | "interactive.background.staticWhite.default" | "interactive.background.staticWhite.highlighted" | "interactive.background.staticWhite.faded" | "interactive.background.gray.fadedHighlighted" | "interactive.background.gray.disabled" | "interactive.background.gray.default" | "interactive.background.gray.highlighted" | "interactive.background.gray.faded" | "interactive.background.primary.fadedHighlighted" | "interactive.background.primary.disabled" | "interactive.background.primary.default" | "interactive.background.primary.highlighted" | "interactive.background.primary.faded" | "overlay.background.subtle" | "overlay.background.moderate" | "popup.background.subtle" | "popup.background.intense" | (string & Record<never, never>) | undefined;
|
|
10430
|
+
readonly l?: "transparent" | "feedback.background.neutral.subtle" | "feedback.background.neutral.intense" | "feedback.background.information.subtle" | "feedback.background.information.intense" | "feedback.background.negative.subtle" | "feedback.background.negative.intense" | "feedback.background.notice.subtle" | "feedback.background.notice.intense" | "feedback.background.positive.subtle" | "feedback.background.positive.intense" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense" | "interactive.background.neutral.fadedHighlighted" | "interactive.background.neutral.disabled" | "interactive.background.neutral.default" | "interactive.background.neutral.highlighted" | "interactive.background.neutral.faded" | "interactive.background.information.fadedHighlighted" | "interactive.background.information.disabled" | "interactive.background.information.default" | "interactive.background.information.highlighted" | "interactive.background.information.faded" | "interactive.background.negative.fadedHighlighted" | "interactive.background.negative.disabled" | "interactive.background.negative.default" | "interactive.background.negative.highlighted" | "interactive.background.negative.faded" | "interactive.background.notice.fadedHighlighted" | "interactive.background.notice.disabled" | "interactive.background.notice.default" | "interactive.background.notice.highlighted" | "interactive.background.notice.faded" | "interactive.background.positive.fadedHighlighted" | "interactive.background.positive.disabled" | "interactive.background.positive.default" | "interactive.background.positive.highlighted" | "interactive.background.positive.faded" | "interactive.background.staticBlack.fadedHighlighted" | "interactive.background.staticBlack.disabled" | "interactive.background.staticBlack.default" | "interactive.background.staticBlack.highlighted" | "interactive.background.staticBlack.faded" | "interactive.background.staticWhite.fadedHighlighted" | "interactive.background.staticWhite.disabled" | "interactive.background.staticWhite.default" | "interactive.background.staticWhite.highlighted" | "interactive.background.staticWhite.faded" | "interactive.background.gray.fadedHighlighted" | "interactive.background.gray.disabled" | "interactive.background.gray.default" | "interactive.background.gray.highlighted" | "interactive.background.gray.faded" | "interactive.background.primary.fadedHighlighted" | "interactive.background.primary.disabled" | "interactive.background.primary.default" | "interactive.background.primary.highlighted" | "interactive.background.primary.faded" | "overlay.background.subtle" | "overlay.background.moderate" | "popup.background.subtle" | "popup.background.intense" | (string & Record<never, never>) | undefined;
|
|
10431
|
+
readonly xl?: "transparent" | "feedback.background.neutral.subtle" | "feedback.background.neutral.intense" | "feedback.background.information.subtle" | "feedback.background.information.intense" | "feedback.background.negative.subtle" | "feedback.background.negative.intense" | "feedback.background.notice.subtle" | "feedback.background.notice.intense" | "feedback.background.positive.subtle" | "feedback.background.positive.intense" | "surface.background.gray.subtle" | "surface.background.gray.moderate" | "surface.background.gray.intense" | "surface.background.primary.subtle" | "surface.background.primary.intense" | "surface.background.sea.subtle" | "surface.background.sea.intense" | "surface.background.cloud.subtle" | "surface.background.cloud.intense" | "interactive.background.neutral.fadedHighlighted" | "interactive.background.neutral.disabled" | "interactive.background.neutral.default" | "interactive.background.neutral.highlighted" | "interactive.background.neutral.faded" | "interactive.background.information.fadedHighlighted" | "interactive.background.information.disabled" | "interactive.background.information.default" | "interactive.background.information.highlighted" | "interactive.background.information.faded" | "interactive.background.negative.fadedHighlighted" | "interactive.background.negative.disabled" | "interactive.background.negative.default" | "interactive.background.negative.highlighted" | "interactive.background.negative.faded" | "interactive.background.notice.fadedHighlighted" | "interactive.background.notice.disabled" | "interactive.background.notice.default" | "interactive.background.notice.highlighted" | "interactive.background.notice.faded" | "interactive.background.positive.fadedHighlighted" | "interactive.background.positive.disabled" | "interactive.background.positive.default" | "interactive.background.positive.highlighted" | "interactive.background.positive.faded" | "interactive.background.staticBlack.fadedHighlighted" | "interactive.background.staticBlack.disabled" | "interactive.background.staticBlack.default" | "interactive.background.staticBlack.highlighted" | "interactive.background.staticBlack.faded" | "interactive.background.staticWhite.fadedHighlighted" | "interactive.background.staticWhite.disabled" | "interactive.background.staticWhite.default" | "interactive.background.staticWhite.highlighted" | "interactive.background.staticWhite.faded" | "interactive.background.gray.fadedHighlighted" | "interactive.background.gray.disabled" | "interactive.background.gray.default" | "interactive.background.gray.highlighted" | "interactive.background.gray.faded" | "interactive.background.primary.fadedHighlighted" | "interactive.background.primary.disabled" | "interactive.background.primary.default" | "interactive.background.primary.highlighted" | "interactive.background.primary.faded" | "overlay.background.subtle" | "overlay.background.moderate" | "popup.background.subtle" | "popup.background.intense" | (string & Record<never, never>) | undefined;
|
|
10432
|
+
};
|
|
10433
|
+
cursor?: csstype.Property.Cursor | {
|
|
10434
|
+
readonly base?: csstype.Property.Cursor | undefined;
|
|
10435
|
+
readonly xs?: csstype.Property.Cursor | undefined;
|
|
10436
|
+
readonly s?: csstype.Property.Cursor | undefined;
|
|
10437
|
+
readonly m?: csstype.Property.Cursor | undefined;
|
|
10438
|
+
readonly l?: csstype.Property.Cursor | undefined;
|
|
10439
|
+
readonly xl?: csstype.Property.Cursor | undefined;
|
|
10440
|
+
} | undefined;
|
|
10441
|
+
lineHeight: SpacingValueType | {
|
|
10442
|
+
readonly base?: SpacingValueType | undefined;
|
|
10443
|
+
readonly xs?: SpacingValueType | undefined;
|
|
10444
|
+
readonly s?: SpacingValueType | undefined;
|
|
10445
|
+
readonly m?: SpacingValueType | undefined;
|
|
10446
|
+
readonly l?: SpacingValueType | undefined;
|
|
10447
|
+
readonly xl?: SpacingValueType | undefined;
|
|
10448
|
+
};
|
|
10449
|
+
opacity?: csstype.Property.Opacity | {
|
|
10450
|
+
readonly base?: csstype.Property.Opacity | undefined;
|
|
10451
|
+
readonly xs?: csstype.Property.Opacity | undefined;
|
|
10452
|
+
readonly s?: csstype.Property.Opacity | undefined;
|
|
10453
|
+
readonly m?: csstype.Property.Opacity | undefined;
|
|
10454
|
+
readonly l?: csstype.Property.Opacity | undefined;
|
|
10455
|
+
readonly xl?: csstype.Property.Opacity | undefined;
|
|
10456
|
+
} | undefined;
|
|
10457
|
+
pointerEvents?: csstype.Property.PointerEvents | {
|
|
10458
|
+
readonly base?: csstype.Property.PointerEvents | undefined;
|
|
10459
|
+
readonly xs?: csstype.Property.PointerEvents | undefined;
|
|
10460
|
+
readonly s?: csstype.Property.PointerEvents | undefined;
|
|
10461
|
+
readonly m?: csstype.Property.PointerEvents | undefined;
|
|
10462
|
+
readonly l?: csstype.Property.PointerEvents | undefined;
|
|
10463
|
+
readonly xl?: csstype.Property.PointerEvents | undefined;
|
|
10464
|
+
} | undefined;
|
|
10465
|
+
touchAction: csstype.Property.TouchAction | {
|
|
10466
|
+
readonly base?: csstype.Property.TouchAction | undefined;
|
|
10467
|
+
readonly xs?: csstype.Property.TouchAction | undefined;
|
|
10468
|
+
readonly s?: csstype.Property.TouchAction | undefined;
|
|
10469
|
+
readonly m?: csstype.Property.TouchAction | undefined;
|
|
10470
|
+
readonly l?: csstype.Property.TouchAction | undefined;
|
|
10471
|
+
readonly xl?: csstype.Property.TouchAction | undefined;
|
|
10472
|
+
} | undefined;
|
|
10473
|
+
userSelect: csstype.Property.UserSelect | {
|
|
10474
|
+
readonly base?: csstype.Property.UserSelect | undefined;
|
|
10475
|
+
readonly xs?: csstype.Property.UserSelect | undefined;
|
|
10476
|
+
readonly s?: csstype.Property.UserSelect | undefined;
|
|
10477
|
+
readonly m?: csstype.Property.UserSelect | undefined;
|
|
10478
|
+
readonly l?: csstype.Property.UserSelect | undefined;
|
|
10479
|
+
readonly xl?: csstype.Property.UserSelect | undefined;
|
|
10480
|
+
} | undefined;
|
|
10481
|
+
borderBottom?: csstype.Property.BorderBottom<string | number> | {
|
|
10482
|
+
readonly base?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10483
|
+
readonly xs?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10484
|
+
readonly s?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10485
|
+
readonly m?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10486
|
+
readonly l?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10487
|
+
readonly xl?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10488
|
+
} | undefined;
|
|
10489
|
+
borderLeft?: csstype.Property.BorderLeft<string | number> | {
|
|
10490
|
+
readonly base?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10491
|
+
readonly xs?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10492
|
+
readonly s?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10493
|
+
readonly m?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10494
|
+
readonly l?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10495
|
+
readonly xl?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10496
|
+
} | undefined;
|
|
10497
|
+
borderRight?: csstype.Property.BorderRight<string | number> | {
|
|
10498
|
+
readonly base?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10499
|
+
readonly xs?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10500
|
+
readonly s?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10501
|
+
readonly m?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10502
|
+
readonly l?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10503
|
+
readonly xl?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10504
|
+
} | undefined;
|
|
10505
|
+
borderTop?: csstype.Property.BorderTop<string | number> | {
|
|
10506
|
+
readonly base?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10507
|
+
readonly xs?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10508
|
+
readonly s?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10509
|
+
readonly m?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10510
|
+
readonly l?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10511
|
+
readonly xl?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10512
|
+
} | undefined;
|
|
10513
|
+
__brand__?: "platform-web" | {
|
|
10514
|
+
readonly base?: "platform-web" | undefined;
|
|
10515
|
+
readonly xs?: "platform-web" | undefined;
|
|
10516
|
+
readonly s?: "platform-web" | undefined;
|
|
10517
|
+
readonly m?: "platform-web" | undefined;
|
|
10518
|
+
readonly l?: "platform-web" | undefined;
|
|
10519
|
+
readonly xl?: "platform-web" | undefined;
|
|
10520
|
+
} | undefined;
|
|
10521
|
+
} & {
|
|
10522
|
+
className?: string | undefined;
|
|
10523
|
+
id?: string | undefined;
|
|
10524
|
+
tabIndex?: number | undefined;
|
|
10525
|
+
}> & BladeCommonEvents & {
|
|
10526
|
+
'data-blade-component'?: string | undefined;
|
|
10527
|
+
'data-testid'?: string | undefined;
|
|
10528
|
+
tabIndex: -1;
|
|
10529
|
+
}, "tabIndex" | "data-testid" | "data-blade-component">;
|
|
10530
|
+
|
|
10531
|
+
type SideNavProps = {
|
|
10772
10532
|
/**
|
|
10773
|
-
*
|
|
10774
|
-
*
|
|
10775
|
-
*
|
|
10776
|
-
|
|
10777
|
-
|
|
10533
|
+
* Children slot.
|
|
10534
|
+
*
|
|
10535
|
+
* Supports SideNavFooter, SideNavBody
|
|
10536
|
+
*/
|
|
10537
|
+
children: React__default.ReactNode;
|
|
10778
10538
|
/**
|
|
10779
|
-
*
|
|
10780
|
-
*
|
|
10781
|
-
|
|
10782
|
-
|
|
10783
|
-
|
|
10784
|
-
}) => void;
|
|
10539
|
+
* **Only applicable in mobile**
|
|
10540
|
+
*
|
|
10541
|
+
* State for opening / closing the SideNav in mobile
|
|
10542
|
+
*/
|
|
10543
|
+
isOpen?: DrawerProps['isOpen'];
|
|
10785
10544
|
/**
|
|
10786
|
-
*
|
|
10787
|
-
*
|
|
10788
|
-
|
|
10789
|
-
|
|
10545
|
+
* **Only applicable in mobile**
|
|
10546
|
+
*
|
|
10547
|
+
* Callback when SideNav is closed
|
|
10548
|
+
*/
|
|
10549
|
+
onDismiss?: DrawerProps['onDismiss'];
|
|
10790
10550
|
/**
|
|
10791
|
-
*
|
|
10792
|
-
*
|
|
10793
|
-
|
|
10794
|
-
|
|
10551
|
+
* Banner slot for usecases like adding Activation Panel
|
|
10552
|
+
*
|
|
10553
|
+
* **IMPORTANT** Avoid adding promotional items in this
|
|
10554
|
+
*/
|
|
10555
|
+
banner?: React__default.ReactElement;
|
|
10556
|
+
} & StyledPropsBlade & TestID;
|
|
10557
|
+
type SideNavLinkProps = {
|
|
10795
10558
|
/**
|
|
10796
|
-
*
|
|
10797
|
-
|
|
10798
|
-
|
|
10799
|
-
isFirstColumnSticky?: boolean;
|
|
10559
|
+
* title of the Link
|
|
10560
|
+
*/
|
|
10561
|
+
title: string;
|
|
10800
10562
|
/**
|
|
10801
|
-
*
|
|
10802
|
-
*
|
|
10803
|
-
*
|
|
10804
|
-
|
|
10805
|
-
|
|
10563
|
+
* Slot after the title.
|
|
10564
|
+
*
|
|
10565
|
+
* Used for <Badge />, <Counter /> in most cases
|
|
10566
|
+
*/
|
|
10567
|
+
titleSuffix?: React__default.ReactElement;
|
|
10806
10568
|
/**
|
|
10807
|
-
*
|
|
10808
|
-
*
|
|
10809
|
-
|
|
10810
|
-
|
|
10811
|
-
|
|
10812
|
-
isSortReversed: boolean;
|
|
10813
|
-
}) => void;
|
|
10569
|
+
* Trailing slot for item. Only visible on hover of the item
|
|
10570
|
+
*
|
|
10571
|
+
* Used for <Button />
|
|
10572
|
+
*/
|
|
10573
|
+
trailing?: React__default.ReactElement;
|
|
10814
10574
|
/**
|
|
10815
|
-
*
|
|
10816
|
-
|
|
10817
|
-
|
|
10818
|
-
* The function should return an array of the rows in the table.
|
|
10819
|
-
**/
|
|
10820
|
-
sortFunctions?: Record<string, (array: TableNode<Item>[]) => TableNode<Item>[]>;
|
|
10575
|
+
* href of the link
|
|
10576
|
+
*/
|
|
10577
|
+
href?: LinkProps['href'];
|
|
10821
10578
|
/**
|
|
10822
|
-
*
|
|
10823
|
-
|
|
10824
|
-
|
|
10825
|
-
toolbar?: React.ReactElement;
|
|
10579
|
+
* Anchor tag `target` attribute
|
|
10580
|
+
*/
|
|
10581
|
+
target?: LinkProps['target'];
|
|
10826
10582
|
/**
|
|
10827
|
-
*
|
|
10828
|
-
*
|
|
10829
|
-
|
|
10830
|
-
|
|
10583
|
+
* as prop to pass ReactRouter's Link component.
|
|
10584
|
+
*
|
|
10585
|
+
* ```jsx
|
|
10586
|
+
* import { Link } from 'react-router-dom';
|
|
10587
|
+
*
|
|
10588
|
+
* <SideNavLink as={Link} />
|
|
10589
|
+
* ```
|
|
10590
|
+
*/
|
|
10591
|
+
as: React__default.ComponentType<any>;
|
|
10831
10592
|
/**
|
|
10832
|
-
*
|
|
10833
|
-
|
|
10834
|
-
|
|
10593
|
+
* Set Active state of SideNavLink.
|
|
10594
|
+
*
|
|
10595
|
+
* Checkout SideNav documentation for usage
|
|
10596
|
+
*/
|
|
10597
|
+
isActive?: boolean;
|
|
10835
10598
|
/**
|
|
10836
|
-
*
|
|
10837
|
-
|
|
10838
|
-
|
|
10839
|
-
showStripedRows?: boolean;
|
|
10599
|
+
* Leading icon for SideNavLink
|
|
10600
|
+
*/
|
|
10601
|
+
icon?: IconComponent;
|
|
10840
10602
|
/**
|
|
10841
|
-
*
|
|
10842
|
-
*
|
|
10843
|
-
|
|
10844
|
-
|
|
10603
|
+
* Children slot to add Nested Menu
|
|
10604
|
+
*
|
|
10605
|
+
* ```jsx
|
|
10606
|
+
* <SideNavLink title="L2 Trigger" href="/l2-first-item">
|
|
10607
|
+
* <SideNavLevel>
|
|
10608
|
+
* <SideNavLink title="L2 Item" href="/l2-first-item" />
|
|
10609
|
+
* <SideNavLink title="L2 Item 2" href="/l2-second-item" />
|
|
10610
|
+
* </SideNavLevel>
|
|
10611
|
+
* </SideNavLink>
|
|
10612
|
+
* ```
|
|
10613
|
+
*/
|
|
10614
|
+
children?: React__default.ReactElement;
|
|
10845
10615
|
/**
|
|
10846
|
-
*
|
|
10847
|
-
*
|
|
10848
|
-
|
|
10849
|
-
|
|
10616
|
+
* Tooltip object to add tooltip to SideNavLink
|
|
10617
|
+
*
|
|
10618
|
+
* ```jsx
|
|
10619
|
+
* <SideNavLink
|
|
10620
|
+
* tooltip={{
|
|
10621
|
+
* title: 'Tooltip Title',
|
|
10622
|
+
* content: 'Tooltip description'
|
|
10623
|
+
* }}
|
|
10624
|
+
* />
|
|
10625
|
+
* ```
|
|
10626
|
+
*/
|
|
10627
|
+
tooltip?: Pick<TooltipProps, 'title' | 'content' | 'onOpenChange'>;
|
|
10628
|
+
};
|
|
10629
|
+
type SideNavSectionProps = {
|
|
10630
|
+
title?: string;
|
|
10850
10631
|
/**
|
|
10851
|
-
*
|
|
10852
|
-
|
|
10853
|
-
|
|
10854
|
-
isRefreshing?: boolean;
|
|
10855
|
-
} & StyledPropsBlade;
|
|
10856
|
-
type Identifier = string | number;
|
|
10857
|
-
type TableBodyProps = {
|
|
10632
|
+
* Number of items after which the items are collapsed into `+x more`
|
|
10633
|
+
*/
|
|
10634
|
+
maxVisibleItems?: number;
|
|
10858
10635
|
/**
|
|
10859
|
-
*
|
|
10860
|
-
*
|
|
10861
|
-
*
|
|
10862
|
-
|
|
10863
|
-
|
|
10864
|
-
|
|
10865
|
-
*
|
|
10866
|
-
|
|
10867
|
-
|
|
10636
|
+
* Default value if the nav section is expanded or collapsed after maxVisibleItems
|
|
10637
|
+
*
|
|
10638
|
+
* @default false
|
|
10639
|
+
*/
|
|
10640
|
+
defaultIsExpanded?: boolean;
|
|
10641
|
+
/**
|
|
10642
|
+
* Callback when `+x more is clicked`
|
|
10643
|
+
*/
|
|
10644
|
+
onExpandChange?: ({ isExpanded }: {
|
|
10645
|
+
isExpanded: boolean;
|
|
10646
|
+
}) => void;
|
|
10647
|
+
/**
|
|
10648
|
+
* Children slot for SideNavLink
|
|
10649
|
+
*/
|
|
10650
|
+
children: React__default.ReactElement[];
|
|
10868
10651
|
};
|
|
10869
|
-
type
|
|
10652
|
+
type SideNavFooterProps = {
|
|
10653
|
+
/**
|
|
10654
|
+
* Children slot for SideNavLink, SideNavItem
|
|
10655
|
+
*/
|
|
10656
|
+
children: React__default.ReactElement[] | React__default.ReactElement;
|
|
10657
|
+
};
|
|
10658
|
+
type SideNavItemProps = {
|
|
10659
|
+
/**
|
|
10660
|
+
* Leading slot for SideNavItem.
|
|
10661
|
+
*
|
|
10662
|
+
* Meant for Indicator, Icon, etc
|
|
10663
|
+
*/
|
|
10664
|
+
leading: React__default.ReactElement;
|
|
10665
|
+
/**
|
|
10666
|
+
* Trailing slot for SideNavItem.
|
|
10667
|
+
*
|
|
10668
|
+
* Meant for Button, Switch, etc
|
|
10669
|
+
*/
|
|
10670
|
+
trailing: React__default.ReactElement;
|
|
10671
|
+
/**
|
|
10672
|
+
* Title of SideNavItem
|
|
10673
|
+
*/
|
|
10674
|
+
title: string;
|
|
10675
|
+
/**
|
|
10676
|
+
* Render item of container. Use as="label" when using Switch or form input in trailing
|
|
10677
|
+
*
|
|
10678
|
+
* @default div
|
|
10679
|
+
*/
|
|
10680
|
+
as?: 'label' | 'div';
|
|
10681
|
+
/**
|
|
10682
|
+
* backgroundColor of the item
|
|
10683
|
+
*
|
|
10684
|
+
* @default undefined
|
|
10685
|
+
*/
|
|
10686
|
+
backgroundColor?: BaseBoxProps['backgroundColor'];
|
|
10687
|
+
/**
|
|
10688
|
+
* Tooltip object to add tooltip to SideNavItem
|
|
10689
|
+
*
|
|
10690
|
+
* ```jsx
|
|
10691
|
+
* <SideNavItem
|
|
10692
|
+
* tooltip={{
|
|
10693
|
+
* title: 'Tooltip Title',
|
|
10694
|
+
* content: 'Tooltip description'
|
|
10695
|
+
* }}
|
|
10696
|
+
* />
|
|
10697
|
+
* ```
|
|
10698
|
+
*/
|
|
10699
|
+
tooltip?: SideNavLinkProps['tooltip'];
|
|
10700
|
+
};
|
|
10701
|
+
type SideNavBodyProps = {
|
|
10702
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
10703
|
+
};
|
|
10704
|
+
type SideNavLevelProps = {
|
|
10705
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
10706
|
+
};
|
|
10707
|
+
|
|
10708
|
+
/**
|
|
10709
|
+
* ### SideNav component
|
|
10710
|
+
*
|
|
10711
|
+
* The side navigation is positioned along the left side of the screen that provides quick access to different sections or functionalities of the application.
|
|
10712
|
+
*
|
|
10713
|
+
* ---
|
|
10714
|
+
*
|
|
10715
|
+
* #### Usage
|
|
10716
|
+
*
|
|
10717
|
+
* 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)
|
|
10718
|
+
*
|
|
10719
|
+
*/
|
|
10720
|
+
declare const SideNav: ({ children, isOpen, onDismiss, banner, testID, ...styledProps }: SideNavProps) => React__default.ReactElement;
|
|
10721
|
+
|
|
10722
|
+
declare const SideNavLink: ({ title, href, children, titleSuffix, trailing, isActive, icon, tooltip, as, target, }: SideNavLinkProps) => React__default.ReactElement;
|
|
10723
|
+
|
|
10724
|
+
declare const SideNavLevel: ({ children }: SideNavLevelProps) => React__default.ReactElement;
|
|
10725
|
+
|
|
10726
|
+
declare const SideNavSection: ({ children, title, defaultIsExpanded, maxVisibleItems, onExpandChange, }: SideNavSectionProps) => React__default.ReactElement;
|
|
10727
|
+
|
|
10728
|
+
declare const SideNavItem: ({ leading, trailing, title, backgroundColor, tooltip, as, }: SideNavItemProps) => React.ReactElement;
|
|
10729
|
+
|
|
10730
|
+
declare const SideNavFooter: ({ children }: SideNavFooterProps) => React__default.ReactElement;
|
|
10731
|
+
|
|
10732
|
+
declare const SideNavBody: ({ children }: SideNavBodyProps) => React.ReactElement;
|
|
10733
|
+
|
|
10734
|
+
type SkeletonProps = StyledPropsBlade & Pick<BaseBoxProps, 'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'borderRadius'> & Partial<FlexboxProps> & {
|
|
10735
|
+
testID?: string;
|
|
10736
|
+
};
|
|
10737
|
+
|
|
10738
|
+
declare const Skeleton: ({ width, maxWidth, minWidth, height, maxHeight, minHeight, borderRadius, flexWrap, flexDirection, flexGrow, flexShrink, flexBasis, alignItems, alignContent, alignSelf, justifyItems, justifyContent, justifySelf, placeSelf, placeItems, order, testID, ...props }: SkeletonProps) => React.ReactElement;
|
|
10739
|
+
|
|
10740
|
+
type SkipNavLinkProps = {
|
|
10741
|
+
id?: string;
|
|
10742
|
+
children?: StringChildrenType;
|
|
10870
10743
|
/**
|
|
10871
|
-
*
|
|
10872
|
-
*
|
|
10873
|
-
*
|
|
10874
|
-
|
|
10875
|
-
|
|
10876
|
-
|
|
10877
|
-
|
|
10744
|
+
* **Internal**
|
|
10745
|
+
*
|
|
10746
|
+
* Adds background to link. Used internally in SideNav
|
|
10747
|
+
*/
|
|
10748
|
+
_hasBackground?: boolean;
|
|
10749
|
+
};
|
|
10750
|
+
declare const SkipNavLink: ({ id, children, _hasBackground, }: SkipNavLinkProps) => React__default.ReactElement;
|
|
10751
|
+
type SkipNavContentProps = {
|
|
10752
|
+
id?: string;
|
|
10753
|
+
} & TestID;
|
|
10754
|
+
declare const SkipNavContent: ({ id, testID, }: SkipNavContentProps) => React__default.ReactElement;
|
|
10755
|
+
|
|
10756
|
+
type BaseSpinnerProps = {
|
|
10878
10757
|
/**
|
|
10879
|
-
*
|
|
10880
|
-
*
|
|
10881
|
-
*
|
|
10882
|
-
|
|
10883
|
-
|
|
10884
|
-
* </TableRow>
|
|
10885
|
-
* ));
|
|
10886
|
-
**/
|
|
10887
|
-
item: TableNode<Item>;
|
|
10758
|
+
* Sets the color of the spinner.
|
|
10759
|
+
*
|
|
10760
|
+
* @default 'default'
|
|
10761
|
+
*/
|
|
10762
|
+
color?: 'primary' | 'white' | FeedbackColors;
|
|
10888
10763
|
/**
|
|
10889
|
-
*
|
|
10890
|
-
*
|
|
10891
|
-
*
|
|
10892
|
-
|
|
10893
|
-
|
|
10894
|
-
**/
|
|
10895
|
-
isDisabled?: boolean;
|
|
10764
|
+
* Sets the label of the spinner.
|
|
10765
|
+
*
|
|
10766
|
+
* @default 'right'
|
|
10767
|
+
*/
|
|
10768
|
+
label?: string;
|
|
10896
10769
|
/**
|
|
10897
|
-
*
|
|
10770
|
+
* Sets the label of the spinner.
|
|
10771
|
+
*
|
|
10898
10772
|
*/
|
|
10899
|
-
|
|
10900
|
-
item: TableNode<Item>;
|
|
10901
|
-
}) => void;
|
|
10773
|
+
labelPosition?: 'right' | 'bottom';
|
|
10902
10774
|
/**
|
|
10903
|
-
*
|
|
10775
|
+
* Sets the size of the spinner.
|
|
10776
|
+
*
|
|
10777
|
+
* @default 'medium'
|
|
10904
10778
|
*/
|
|
10905
|
-
|
|
10906
|
-
item: TableNode<Item>;
|
|
10907
|
-
}) => void;
|
|
10908
|
-
};
|
|
10909
|
-
type TableCellProps = {
|
|
10779
|
+
size?: 'medium' | 'large' | 'xlarge';
|
|
10910
10780
|
/**
|
|
10911
|
-
*
|
|
10912
|
-
*
|
|
10913
|
-
|
|
10914
|
-
|
|
10915
|
-
|
|
10916
|
-
|
|
10917
|
-
|
|
10918
|
-
* <Button>...</Button>
|
|
10919
|
-
* </TableCell>
|
|
10920
|
-
**/
|
|
10921
|
-
children: React.ReactNode;
|
|
10922
|
-
};
|
|
10923
|
-
type TableFooterProps = {
|
|
10781
|
+
* Sets the aria-label for web & accessibilityLabel react-native.
|
|
10782
|
+
*
|
|
10783
|
+
*/
|
|
10784
|
+
accessibilityLabel: string;
|
|
10785
|
+
} & TestID & StyledPropsBlade;
|
|
10786
|
+
|
|
10787
|
+
type SpinnerProps = BaseSpinnerProps & {
|
|
10924
10788
|
/**
|
|
10925
|
-
*
|
|
10926
|
-
*
|
|
10927
|
-
*
|
|
10928
|
-
|
|
10929
|
-
|
|
10930
|
-
* </TableFooterRow>
|
|
10931
|
-
* </TableFooter>
|
|
10932
|
-
**/
|
|
10933
|
-
children: React.ReactNode;
|
|
10789
|
+
* Sets the color of the spinner.
|
|
10790
|
+
*
|
|
10791
|
+
* @default 'default'
|
|
10792
|
+
*/
|
|
10793
|
+
color?: 'primary' | 'neutral' | 'white';
|
|
10934
10794
|
};
|
|
10935
|
-
|
|
10795
|
+
declare const Spinner: ({ label, labelPosition, accessibilityLabel, color, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
10796
|
+
|
|
10797
|
+
type SpotlightPopoverStepRenderProps = {
|
|
10936
10798
|
/**
|
|
10937
|
-
*
|
|
10938
|
-
|
|
10939
|
-
|
|
10940
|
-
* <TableFooterRow>
|
|
10941
|
-
* <TableFooterCell>Footer Cell 1</TableFooterCell>
|
|
10942
|
-
* </TableFooterRow>
|
|
10943
|
-
* </TableFooter>
|
|
10944
|
-
**/
|
|
10945
|
-
children: React.ReactNode;
|
|
10946
|
-
};
|
|
10947
|
-
type TableFooterCellProps = {
|
|
10799
|
+
* Go to a specific step
|
|
10800
|
+
*/
|
|
10801
|
+
goToStep: (step: number) => void;
|
|
10948
10802
|
/**
|
|
10949
|
-
*
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
};
|
|
10953
|
-
type TablePaginationCommonProps = {
|
|
10803
|
+
* Go to the next step
|
|
10804
|
+
*/
|
|
10805
|
+
goToNext: () => void;
|
|
10954
10806
|
/**
|
|
10955
|
-
*
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
**/
|
|
10959
|
-
defaultPageSize?: 10 | 25 | 50;
|
|
10807
|
+
* Go to the previous step
|
|
10808
|
+
*/
|
|
10809
|
+
goToPrevious: () => void;
|
|
10960
10810
|
/**
|
|
10961
|
-
*
|
|
10962
|
-
|
|
10963
|
-
|
|
10811
|
+
* Stop the tour
|
|
10812
|
+
*
|
|
10813
|
+
* This will call the `onFinish` callback
|
|
10814
|
+
*/
|
|
10815
|
+
stopTour: () => void;
|
|
10964
10816
|
/**
|
|
10965
|
-
*
|
|
10817
|
+
* Current active step (zero based index)
|
|
10966
10818
|
*/
|
|
10967
|
-
|
|
10968
|
-
pageSize: number;
|
|
10969
|
-
}) => void;
|
|
10819
|
+
activeStep: number;
|
|
10970
10820
|
/**
|
|
10971
|
-
*
|
|
10972
|
-
* Page size picker controls how rows are shown per page.
|
|
10973
|
-
* @default true
|
|
10821
|
+
* Total number of steps
|
|
10974
10822
|
*/
|
|
10975
|
-
|
|
10823
|
+
totalSteps: number;
|
|
10824
|
+
};
|
|
10825
|
+
type Step = {
|
|
10976
10826
|
/**
|
|
10977
|
-
*
|
|
10978
|
-
* Page number selectors is a group of buttons that allows the user to jump to a specific page.
|
|
10979
|
-
* @default false
|
|
10827
|
+
* Unique identifier for the tour step
|
|
10980
10828
|
*/
|
|
10981
|
-
|
|
10829
|
+
name: string;
|
|
10982
10830
|
/**
|
|
10983
|
-
* Content of the
|
|
10984
|
-
* @default `Showing 1 to ${totalItems} Items`
|
|
10831
|
+
* Content of the Popover
|
|
10985
10832
|
*/
|
|
10986
|
-
|
|
10833
|
+
content: (props: SpotlightPopoverStepRenderProps) => React.ReactElement;
|
|
10987
10834
|
/**
|
|
10988
|
-
*
|
|
10989
|
-
* @default false
|
|
10835
|
+
* Footer content
|
|
10990
10836
|
*/
|
|
10991
|
-
|
|
10992
|
-
};
|
|
10993
|
-
type TablePaginationType = 'client' | 'server';
|
|
10994
|
-
type TablePaginationServerProps = TablePaginationCommonProps & {
|
|
10837
|
+
footer?: (props: SpotlightPopoverStepRenderProps) => React.ReactNode;
|
|
10995
10838
|
/**
|
|
10996
|
-
*
|
|
10997
|
-
|
|
10998
|
-
|
|
10999
|
-
* When paginationType is `server`, the `onPageChange` & `totalItemCount` props are required.
|
|
11000
|
-
* @default 'client'
|
|
11001
|
-
* */
|
|
11002
|
-
paginationType?: Extract<TablePaginationType, 'server'>;
|
|
10839
|
+
* Popover title
|
|
10840
|
+
*/
|
|
10841
|
+
title?: string;
|
|
11003
10842
|
/**
|
|
11004
|
-
*
|
|
10843
|
+
* Leading content placed before the title
|
|
10844
|
+
*
|
|
10845
|
+
* Can be any blade icon or asset.
|
|
11005
10846
|
*/
|
|
11006
|
-
|
|
10847
|
+
titleLeading?: React.ReactNode;
|
|
11007
10848
|
/**
|
|
11008
|
-
*
|
|
10849
|
+
* Placement of Popover
|
|
10850
|
+
* @default "top"
|
|
11009
10851
|
*/
|
|
11010
|
-
|
|
11011
|
-
page: number;
|
|
11012
|
-
}) => void;
|
|
10852
|
+
placement?: UseFloatingOptions['placement'];
|
|
11013
10853
|
};
|
|
11014
|
-
type
|
|
10854
|
+
type SpotlightPopoverTourSteps = Step[];
|
|
10855
|
+
type SpotlightPopoverTourProps = {
|
|
11015
10856
|
/**
|
|
11016
|
-
*
|
|
11017
|
-
*
|
|
11018
|
-
*
|
|
11019
|
-
|
|
11020
|
-
|
|
11021
|
-
* */
|
|
11022
|
-
paginationType?: Extract<TablePaginationType, 'client'>;
|
|
10857
|
+
* Array of steps to be rendered
|
|
10858
|
+
*
|
|
10859
|
+
* The order of the steps will be the order in which they are rendered depending on the `activeStep` prop
|
|
10860
|
+
*/
|
|
10861
|
+
steps: SpotlightPopoverTourSteps;
|
|
11023
10862
|
/**
|
|
11024
|
-
*
|
|
10863
|
+
* Whether the tour is visible or not
|
|
11025
10864
|
*/
|
|
11026
|
-
|
|
10865
|
+
isOpen: boolean;
|
|
11027
10866
|
/**
|
|
11028
|
-
* Callback
|
|
10867
|
+
* Callback when the tour is opened or closed
|
|
11029
10868
|
*/
|
|
11030
|
-
|
|
11031
|
-
|
|
10869
|
+
onOpenChange?: ({ isOpen }: {
|
|
10870
|
+
isOpen: boolean;
|
|
11032
10871
|
}) => void;
|
|
11033
|
-
};
|
|
11034
|
-
type TablePaginationProps = TablePaginationCommonProps & (TablePaginationServerProps | TablePaginationClientProps);
|
|
11035
|
-
type TableToolbarProps = {
|
|
11036
10872
|
/**
|
|
11037
|
-
*
|
|
10873
|
+
* Callback which fires when the `stopTour` method is called from the `steps` array
|
|
11038
10874
|
*/
|
|
11039
|
-
|
|
10875
|
+
onFinish?: () => void;
|
|
11040
10876
|
/**
|
|
11041
|
-
*
|
|
11042
|
-
* @default `Showing 1 to ${totalItems} Items`
|
|
10877
|
+
* Callback when the active step changes
|
|
11043
10878
|
*/
|
|
11044
|
-
|
|
10879
|
+
onStepChange?: (step: number) => void;
|
|
11045
10880
|
/**
|
|
11046
|
-
*
|
|
11047
|
-
* @default `${selectedRows.length} 'Items'} Selected`
|
|
10881
|
+
* Active step to be rendered
|
|
11048
10882
|
*/
|
|
11049
|
-
|
|
10883
|
+
activeStep: number;
|
|
10884
|
+
children: React.ReactNode;
|
|
10885
|
+
};
|
|
10886
|
+
type SpotlightPopoverTourStepProps = {
|
|
10887
|
+
name: string;
|
|
10888
|
+
children: React.ReactNode;
|
|
11050
10889
|
};
|
|
11051
|
-
type TableToolbarActionsProps = {
|
|
11052
|
-
children?: React.ReactNode;
|
|
11053
|
-
} & StyledPropsBlade;
|
|
11054
|
-
|
|
11055
|
-
declare const Table: <Item>({ children, data, selectionType, onSelectionChange, isHeaderSticky, isFooterSticky, isFirstColumnSticky, rowDensity, onSortChange, sortFunctions, toolbar, pagination, height, showStripedRows, gridTemplateColumns, isLoading, isRefreshing, ...styledProps }: TableProps<Item>) => React__default.ReactElement;
|
|
11056
|
-
|
|
11057
|
-
declare const TableHeader: ({ children }: TableHeaderRowProps) => React__default.ReactElement;
|
|
11058
|
-
declare const TableHeaderCell: ({ children, headerKey }: TableHeaderCellProps) => React__default.ReactElement;
|
|
11059
|
-
declare const TableHeaderRow: ({ children, rowDensity }: TableHeaderRowProps) => React__default.ReactElement;
|
|
11060
|
-
|
|
11061
|
-
declare const TableBody: ({ children }: TableBodyProps) => React__default.ReactElement;
|
|
11062
|
-
declare const TableCell: ({ children }: TableCellProps) => React__default.ReactElement;
|
|
11063
|
-
declare const TableRow: <Item>({ children, item, isDisabled, onHover, onClick, }: TableRowProps<Item>) => React__default.ReactElement;
|
|
11064
|
-
|
|
11065
|
-
declare const TableFooter: ({ children }: TableFooterProps) => React__default.ReactElement;
|
|
11066
|
-
declare const TableFooterRow: ({ children }: TableFooterRowProps) => React__default.ReactElement;
|
|
11067
|
-
declare const TableFooterCell: ({ children }: TableFooterCellProps) => React__default.ReactElement;
|
|
11068
10890
|
|
|
11069
|
-
declare const
|
|
10891
|
+
declare const SpotlightPopoverTour: ({ steps, activeStep, isOpen, onFinish, onOpenChange, onStepChange, children, }: SpotlightPopoverTourProps) => React__default.ReactElement;
|
|
11070
10892
|
|
|
11071
|
-
|
|
11072
|
-
|
|
10893
|
+
type SpotlightPopoverFooterAction = {
|
|
10894
|
+
text?: string;
|
|
10895
|
+
} & Pick<ButtonProps, 'variant' | 'icon' | 'iconPosition' | 'isDisabled' | 'isLoading' | 'onClick'>;
|
|
10896
|
+
type SpotlightPopoverTourFooterProps = {
|
|
10897
|
+
actions: {
|
|
10898
|
+
primary?: SpotlightPopoverFooterAction;
|
|
10899
|
+
secondary?: SpotlightPopoverFooterAction;
|
|
10900
|
+
};
|
|
10901
|
+
};
|
|
10902
|
+
declare const SpotlightPopoverTourFooter: ({ activeStep, totalSteps, actions, }: SpotlightPopoverTourFooterProps & Pick<SpotlightPopoverStepRenderProps, 'activeStep' | 'totalSteps'>) => React.ReactElement;
|
|
11073
10903
|
|
|
11074
|
-
|
|
10904
|
+
declare const SpotlightPopoverTourStep: React__default.MemoExoticComponent<({ name, children, }: SpotlightPopoverTourStepProps) => React__default.ReactElement>;
|
|
10905
|
+
|
|
10906
|
+
type StepGroupProps = {
|
|
11075
10907
|
/**
|
|
11076
|
-
*
|
|
10908
|
+
* size of step group
|
|
10909
|
+
*
|
|
10910
|
+
* @default medium
|
|
11077
10911
|
*/
|
|
11078
|
-
|
|
10912
|
+
size?: 'medium' | 'large';
|
|
11079
10913
|
/**
|
|
11080
|
-
*
|
|
10914
|
+
* orientation of step group
|
|
10915
|
+
*
|
|
10916
|
+
* @default vertical
|
|
11081
10917
|
*/
|
|
11082
|
-
|
|
10918
|
+
orientation?: 'horizontal' | 'vertical';
|
|
11083
10919
|
/**
|
|
11084
|
-
*
|
|
10920
|
+
* children slot for StepItem components
|
|
11085
10921
|
*/
|
|
11086
|
-
|
|
10922
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
11087
10923
|
/**
|
|
11088
|
-
*
|
|
10924
|
+
* Width of StepGroup. By default it takes the width of its items.
|
|
11089
10925
|
*/
|
|
11090
|
-
|
|
10926
|
+
width?: BoxProps['width'];
|
|
11091
10927
|
/**
|
|
11092
|
-
*
|
|
11093
|
-
*
|
|
11094
|
-
* @default 'horizontal' (always horizontal on react-native)
|
|
10928
|
+
* minWidth prop of StepGroup
|
|
11095
10929
|
*/
|
|
11096
|
-
|
|
11097
|
-
web: 'horizontal' | 'vertical';
|
|
11098
|
-
native: 'horizontal';
|
|
11099
|
-
}>;
|
|
10930
|
+
minWidth?: BoxProps['minWidth'];
|
|
11100
10931
|
/**
|
|
11101
|
-
*
|
|
10932
|
+
* maxWidth prop of StepGroup
|
|
11102
10933
|
*
|
|
11103
|
-
* @default
|
|
10934
|
+
* @default 100%
|
|
11104
10935
|
*/
|
|
11105
|
-
|
|
10936
|
+
maxWidth?: BoxProps['maxWidth'];
|
|
11106
10937
|
/**
|
|
11107
|
-
*
|
|
10938
|
+
* @private
|
|
11108
10939
|
*
|
|
11109
|
-
*
|
|
10940
|
+
* DO NOT USE THIS PROP OR YOU WILL BE FIRED (joking. you won't be fired. But something bad will happen for sure)
|
|
10941
|
+
*
|
|
10942
|
+
* This is an internal prop to keep track of nestingLevel of StepGroup
|
|
11110
10943
|
*/
|
|
11111
|
-
|
|
10944
|
+
_nestingLevel?: number;
|
|
10945
|
+
} & StyledPropsBlade & TestID;
|
|
10946
|
+
type StepItemProps = {
|
|
10947
|
+
_index?: number;
|
|
10948
|
+
_nestingLevel?: StepGroupProps['_nestingLevel'];
|
|
10949
|
+
_totalIndex?: number;
|
|
11112
10950
|
/**
|
|
11113
|
-
*
|
|
11114
|
-
*
|
|
11115
|
-
* @default false
|
|
10951
|
+
* title of StepItem
|
|
11116
10952
|
*/
|
|
11117
|
-
|
|
10953
|
+
title: string;
|
|
11118
10954
|
/**
|
|
11119
|
-
*
|
|
10955
|
+
* A string that renders in italic font. Made for adding timestamp values.
|
|
11120
10956
|
*
|
|
11121
|
-
*
|
|
10957
|
+
* ```jsx
|
|
10958
|
+
* timestamp="Thu, 11th Oct23 | 12:00pm"
|
|
10959
|
+
* ```
|
|
11122
10960
|
*/
|
|
11123
|
-
|
|
11124
|
-
};
|
|
11125
|
-
type TabItemProps = {
|
|
10961
|
+
timestamp?: string;
|
|
11126
10962
|
/**
|
|
11127
|
-
*
|
|
10963
|
+
* Description of StepItem
|
|
11128
10964
|
*/
|
|
11129
|
-
|
|
10965
|
+
description?: string;
|
|
11130
10966
|
/**
|
|
11131
|
-
*
|
|
10967
|
+
* Progress line of step. When its start only starting part is highlighted and rest is kept dotted
|
|
10968
|
+
*
|
|
10969
|
+
* @default full
|
|
11132
10970
|
*/
|
|
11133
|
-
|
|
10971
|
+
stepProgress?: 'start' | 'end' | 'full' | 'none';
|
|
11134
10972
|
/**
|
|
11135
|
-
*
|
|
11136
|
-
*
|
|
10973
|
+
* marker JSX slot. It can be StepItemIndicator or StepItemIcon
|
|
10974
|
+
*
|
|
10975
|
+
* ```jsx
|
|
10976
|
+
* marker={<StepItemIndicator color="positive" />}
|
|
10977
|
+
* marker={<StepItemIcon icon={CheckIcon} color="positive" />}
|
|
10978
|
+
* ```
|
|
11137
10979
|
*/
|
|
11138
|
-
|
|
10980
|
+
marker?: React__default.ReactElement;
|
|
11139
10981
|
/**
|
|
11140
|
-
*
|
|
11141
|
-
* Can be used to render a Badge/Counter component.
|
|
10982
|
+
* trailing slot for StepItem. Mostly meant for Badge
|
|
11142
10983
|
*/
|
|
11143
|
-
trailing?: React__default.
|
|
10984
|
+
trailing?: React__default.ReactElement;
|
|
11144
10985
|
/**
|
|
11145
|
-
*
|
|
10986
|
+
* Controlled state of selected item
|
|
11146
10987
|
*/
|
|
10988
|
+
isSelected?: boolean;
|
|
11147
10989
|
/**
|
|
11148
|
-
*
|
|
10990
|
+
* Anchor tag's href value. Turns StepItem into interactive item and render it as `<a>` tag
|
|
11149
10991
|
*/
|
|
11150
|
-
|
|
10992
|
+
href?: LinkProps['href'];
|
|
11151
10993
|
/**
|
|
11152
|
-
*
|
|
11153
|
-
* This can be used to create a tab item that redirects to another page or integrate with react-router.
|
|
11154
|
-
*
|
|
11155
|
-
* @default undefined
|
|
10994
|
+
* Anchjor tag's taget value. Meant to be used alongside `href` prop
|
|
11156
10995
|
*/
|
|
11157
|
-
|
|
10996
|
+
target?: LinkProps['target'];
|
|
11158
10997
|
/**
|
|
11159
|
-
*
|
|
10998
|
+
* StepItem's click handler. Turns StepItem into interactive item and render it as button tag
|
|
11160
10999
|
*/
|
|
11161
11000
|
onClick?: (event: React__default.MouseEvent) => void;
|
|
11162
|
-
};
|
|
11163
|
-
type TabPanelProps = {
|
|
11164
|
-
/**
|
|
11165
|
-
* The value of the tab panel. This will be used to match the selected tab.
|
|
11166
|
-
*/
|
|
11167
|
-
value: string;
|
|
11168
11001
|
/**
|
|
11169
|
-
*
|
|
11002
|
+
* Children slot for adding additional custom elements to item
|
|
11170
11003
|
*/
|
|
11171
|
-
children
|
|
11004
|
+
children?: React__default.ReactNode;
|
|
11172
11005
|
};
|
|
11173
11006
|
|
|
11174
11007
|
/**
|
|
11175
|
-
*
|
|
11008
|
+
* ## StepGroup
|
|
11176
11009
|
*
|
|
11177
|
-
*
|
|
11010
|
+
* Step Group visualises sequential processes with a consistent structure. It can be interactive, guiding users through steps, or function as a timeline for reference.
|
|
11178
11011
|
*
|
|
11179
|
-
*
|
|
11180
|
-
* ### Basic Usage
|
|
11012
|
+
* ### Usage
|
|
11181
11013
|
*
|
|
11182
11014
|
* ```jsx
|
|
11183
|
-
*
|
|
11015
|
+
* <StepGroup orientation="vertical" size="medium">
|
|
11016
|
+
* <StepItem title="Personal Details" />
|
|
11017
|
+
* <StepItem title="Business Details" />
|
|
11018
|
+
* </StepGroup>
|
|
11019
|
+
* ```
|
|
11184
11020
|
*
|
|
11185
|
-
*
|
|
11186
|
-
* <TabList>
|
|
11187
|
-
* <TabItem value="subscriptions">Subscription</TabItem>
|
|
11188
|
-
* <TabItem value="plans">Plans</TabItem>
|
|
11189
|
-
* <TabItem value="settings">Settings</TabItem>
|
|
11190
|
-
* </TabList>
|
|
11021
|
+
* ---
|
|
11191
11022
|
*
|
|
11192
|
-
*
|
|
11193
|
-
|
|
11194
|
-
|
|
11195
|
-
|
|
11196
|
-
|
|
11197
|
-
*
|
|
11198
|
-
*
|
|
11199
|
-
*
|
|
11200
|
-
*
|
|
11201
|
-
*
|
|
11023
|
+
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
11024
|
+
*/
|
|
11025
|
+
declare const StepGroup: ({ size, orientation, children, testID, _nestingLevel, width, minWidth, maxWidth, ...styledProps }: StepGroupProps) => React__default.ReactElement;
|
|
11026
|
+
|
|
11027
|
+
/**
|
|
11028
|
+
* ## StepItem
|
|
11029
|
+
*
|
|
11030
|
+
* Component meant to be used inside the StepGroup parent component
|
|
11031
|
+
*
|
|
11032
|
+
* ### Usage
|
|
11033
|
+
*
|
|
11034
|
+
* ```jsx
|
|
11035
|
+
* <StepGroup orientation="vertical" size="medium">
|
|
11036
|
+
* <StepItem
|
|
11037
|
+
* title="Personal Details"
|
|
11038
|
+
* timestamp="Thu 15th Oct'23 | 12:00pm"
|
|
11039
|
+
* description="Fill your personal details here"
|
|
11040
|
+
* marker={<StepItemIndicator color="negative" />}
|
|
11041
|
+
* />
|
|
11042
|
+
* </StepGroup>
|
|
11202
11043
|
* ```
|
|
11044
|
+
*
|
|
11045
|
+
* ---
|
|
11046
|
+
*
|
|
11047
|
+
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
11203
11048
|
*/
|
|
11204
|
-
declare const
|
|
11049
|
+
declare const StepItem: ({ title, timestamp, description, stepProgress, marker, trailing, isSelected, href, target, onClick, children, _index, _totalIndex, _nestingLevel, }: StepItemProps) => React__default.ReactElement;
|
|
11205
11050
|
|
|
11206
|
-
declare const
|
|
11051
|
+
declare const StepItemIndicator: ({ color }: {
|
|
11052
|
+
color: IndicatorProps['color'];
|
|
11053
|
+
}) => React.ReactElement;
|
|
11054
|
+
type StepItemIconProps = {
|
|
11055
|
+
icon: IconComponent;
|
|
11056
|
+
color: IndicatorProps['color'];
|
|
11057
|
+
};
|
|
11058
|
+
declare const StepItemIcon: ({ icon: Icon, color }: StepItemIconProps) => React.ReactElement;
|
|
11207
11059
|
|
|
11208
|
-
|
|
11209
|
-
|
|
11210
|
-
|
|
11060
|
+
type OnChange = ({ isChecked, value, event, }: {
|
|
11061
|
+
isChecked: boolean;
|
|
11062
|
+
event?: React.ChangeEvent;
|
|
11063
|
+
value?: string;
|
|
11064
|
+
}) => void;
|
|
11065
|
+
type SwitchProps = {
|
|
11066
|
+
/**
|
|
11067
|
+
* If `true`, The switch will be checked. This also makes the switch controlled
|
|
11068
|
+
* Use `onChange` to update its value
|
|
11069
|
+
*
|
|
11070
|
+
* @default false
|
|
11071
|
+
*/
|
|
11072
|
+
isChecked?: boolean;
|
|
11073
|
+
/**
|
|
11074
|
+
* If `true`, the switch will be initially checked. This also makes the switch uncontrolled
|
|
11075
|
+
*
|
|
11076
|
+
* @default false
|
|
11077
|
+
*/
|
|
11078
|
+
defaultChecked?: boolean;
|
|
11079
|
+
/**
|
|
11080
|
+
* The callback invoked when the checked state of the `Switch` changes.
|
|
11081
|
+
*/
|
|
11082
|
+
onChange?: OnChange;
|
|
11083
|
+
/**
|
|
11084
|
+
* The name of the input field in a switch
|
|
11085
|
+
* (Useful for form submission).
|
|
11086
|
+
*/
|
|
11087
|
+
name?: string;
|
|
11088
|
+
/**
|
|
11089
|
+
* The value to be used in the switch input.
|
|
11090
|
+
* This is the value that will be returned on form submission.
|
|
11091
|
+
*/
|
|
11092
|
+
value?: string;
|
|
11093
|
+
/**
|
|
11094
|
+
* If `true`, the switch will be disabled
|
|
11095
|
+
*
|
|
11096
|
+
* @default false
|
|
11097
|
+
*/
|
|
11098
|
+
isDisabled?: boolean;
|
|
11099
|
+
/**
|
|
11100
|
+
* Size of the switch
|
|
11101
|
+
*
|
|
11102
|
+
* @default "medium"
|
|
11103
|
+
*/
|
|
11104
|
+
size?: 'small' | 'medium';
|
|
11105
|
+
/**
|
|
11106
|
+
* Provides accessible label for internal checkbox component that sets the aria-label prop for screen readers.
|
|
11107
|
+
*/
|
|
11108
|
+
accessibilityLabel: string;
|
|
11109
|
+
/**
|
|
11110
|
+
* The id of the input field in a switch, useful for associating a label element with the input via htmlFor prop
|
|
11111
|
+
*/
|
|
11112
|
+
id?: string;
|
|
11113
|
+
} & TestID & StyledPropsBlade;
|
|
11114
|
+
|
|
11115
|
+
declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
11116
|
+
isChecked?: boolean | undefined;
|
|
11117
|
+
defaultChecked?: boolean | undefined;
|
|
11118
|
+
onChange?: OnChange | undefined;
|
|
11119
|
+
name?: string | undefined;
|
|
11120
|
+
value?: string | undefined;
|
|
11121
|
+
isDisabled?: boolean | undefined;
|
|
11122
|
+
size?: "small" | "medium" | undefined;
|
|
11123
|
+
accessibilityLabel: string;
|
|
11124
|
+
id?: string | undefined;
|
|
11125
|
+
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
11211
11126
|
bottom: SpacingValueType | {
|
|
11212
11127
|
readonly base?: SpacingValueType | undefined;
|
|
11213
11128
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -11763,218 +11678,508 @@ declare const TabList: ({ children, ...props }: {
|
|
|
11763
11678
|
readonly l?: "platform-web" | undefined;
|
|
11764
11679
|
readonly xl?: "platform-web" | undefined;
|
|
11765
11680
|
} | undefined;
|
|
11766
|
-
}, "visibility">, "__brand__">>
|
|
11681
|
+
}, "visibility">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
11682
|
+
|
|
11683
|
+
type TableNode<Item> = Item & {
|
|
11684
|
+
id: Identifier;
|
|
11685
|
+
};
|
|
11686
|
+
type TableData<Item> = {
|
|
11687
|
+
nodes: TableNode<Item>[];
|
|
11688
|
+
};
|
|
11689
|
+
type TableBackgroundColors = `surface.background.gray.${DotNotationToken<Theme['colors']['surface']['background']['gray']>}`;
|
|
11690
|
+
type TableHeaderProps = {
|
|
11691
|
+
/**
|
|
11692
|
+
* The children of TableHeader should be TableHeaderRow
|
|
11693
|
+
* @example
|
|
11694
|
+
* <TableHeader>
|
|
11695
|
+
* <TableHeaderRow>
|
|
11696
|
+
* <TableHeaderCell>Header Cell 1</TableHeaderCell>
|
|
11697
|
+
* </TableHeaderRow>
|
|
11698
|
+
* </TableHeader>
|
|
11699
|
+
**/
|
|
11700
|
+
children: React.ReactNode;
|
|
11701
|
+
};
|
|
11702
|
+
type TableHeaderRowProps = {
|
|
11703
|
+
/**
|
|
11704
|
+
* The children of TableHeaderRow should be TableHeaderCell
|
|
11705
|
+
* @example
|
|
11706
|
+
* <TableHeader>
|
|
11707
|
+
* <TableHeaderRow>
|
|
11708
|
+
* <TableHeaderCell>Header Cell 1</TableHeaderCell>
|
|
11709
|
+
* </TableHeaderRow>
|
|
11710
|
+
* </TableHeader>
|
|
11711
|
+
**/
|
|
11712
|
+
children: React.ReactNode;
|
|
11713
|
+
/**
|
|
11714
|
+
* The rowDensity prop determines the density of the table.
|
|
11715
|
+
* The rowDensity prop can be 'compact', 'normal', or'comfortable'.
|
|
11716
|
+
* The default value is `normal`.
|
|
11717
|
+
**/
|
|
11718
|
+
rowDensity?: TableProps<unknown>['rowDensity'];
|
|
11719
|
+
};
|
|
11720
|
+
type TableHeaderCellProps = {
|
|
11721
|
+
/**
|
|
11722
|
+
* The children of TableHeaderCell can be a string or a ReactNode.
|
|
11723
|
+
**/
|
|
11724
|
+
children: string | React.ReactNode;
|
|
11725
|
+
/**
|
|
11726
|
+
* The unique key of the column.
|
|
11727
|
+
* This is used to identify the column for sorting in sortFunctions prop of Table.
|
|
11728
|
+
* Sorting is enabled only for columns whose key is present in sortableColumns prop of Table.
|
|
11729
|
+
**/
|
|
11730
|
+
headerKey?: string;
|
|
11731
|
+
};
|
|
11732
|
+
type TableProps<Item> = {
|
|
11733
|
+
/**
|
|
11734
|
+
* The children of the Table component should be a function that returns TableHeader, TableBody and TableFooter components.
|
|
11735
|
+
* The function will be called with the tableData prop.
|
|
11736
|
+
*/
|
|
11737
|
+
children: (tableData: TableNode<Item>[]) => React.ReactElement;
|
|
11738
|
+
/**
|
|
11739
|
+
* The data prop is an object with a nodes property that is an array of objects.
|
|
11740
|
+
* Each object in the array is a row in the table.
|
|
11741
|
+
* The object should have an id property that is a unique identifier for the row.
|
|
11742
|
+
*/
|
|
11743
|
+
data: TableData<Item>;
|
|
11744
|
+
/**
|
|
11745
|
+
* The selectionType prop determines the type of selection that is allowed on the table.
|
|
11746
|
+
* The selectionType prop can be 'none', 'single' or 'multiple'.
|
|
11747
|
+
* @default 'none'
|
|
11748
|
+
**/
|
|
11749
|
+
selectionType?: 'none' | 'single' | 'multiple';
|
|
11750
|
+
/**
|
|
11751
|
+
* The onSelectionChange prop is a function that is called when the selection changes.
|
|
11752
|
+
* The function is called with an object that has a values property that is an array of the selected rows.
|
|
11753
|
+
**/
|
|
11754
|
+
onSelectionChange?: ({ values }: {
|
|
11755
|
+
values: TableNode<Item>[];
|
|
11756
|
+
}) => void;
|
|
11757
|
+
/**
|
|
11758
|
+
* The isHeaderSticky prop determines whether the table header is sticky or not.
|
|
11759
|
+
* The default value is `false`.
|
|
11760
|
+
**/
|
|
11761
|
+
isHeaderSticky?: boolean;
|
|
11762
|
+
/**
|
|
11763
|
+
* The isFooterSticky prop determines whether the table footer is sticky or not.
|
|
11764
|
+
* The default value is `false`.
|
|
11765
|
+
**/
|
|
11766
|
+
isFooterSticky?: boolean;
|
|
11767
|
+
/**
|
|
11768
|
+
* The isFirstColumnSticky prop determines whether the first column is sticky or not.
|
|
11769
|
+
* The default value is `false`.
|
|
11770
|
+
**/
|
|
11771
|
+
isFirstColumnSticky?: boolean;
|
|
11772
|
+
/**
|
|
11773
|
+
* The rowDensity prop determines the density of the table.
|
|
11774
|
+
* The rowDensity prop can be 'compact', 'normal', or'comfortable'.
|
|
11775
|
+
* The default value is `normal`.
|
|
11776
|
+
**/
|
|
11777
|
+
rowDensity?: 'compact' | 'normal' | 'comfortable';
|
|
11778
|
+
/**
|
|
11779
|
+
* The onSortChange prop is a function that is called when the sort changes.
|
|
11780
|
+
* The function is called with an object that has a sortKey property that is the key of the column that is sorted and a isSortReversed property that is a boolean that determines whether the sort is reversed or not.
|
|
11781
|
+
**/
|
|
11782
|
+
onSortChange?: ({ sortKey, isSortReversed, }: {
|
|
11783
|
+
sortKey: TableHeaderCellProps['headerKey'];
|
|
11784
|
+
isSortReversed: boolean;
|
|
11785
|
+
}) => void;
|
|
11786
|
+
/**
|
|
11787
|
+
* The sortFunctions prop is an object that has a key for each column that is sortable.
|
|
11788
|
+
* The value of each key is a function that is called when the column is sorted.
|
|
11789
|
+
* The function is called with an array of the rows in the table.
|
|
11790
|
+
* The function should return an array of the rows in the table.
|
|
11791
|
+
**/
|
|
11792
|
+
sortFunctions?: Record<string, (array: TableNode<Item>[]) => TableNode<Item>[]>;
|
|
11793
|
+
/**
|
|
11794
|
+
* The toolbar prop is a React element that is rendered above the table.
|
|
11795
|
+
* The toolbar prop should be a `TableToolbar` component.
|
|
11796
|
+
**/
|
|
11797
|
+
toolbar?: React.ReactElement;
|
|
11798
|
+
/**
|
|
11799
|
+
* The pagination prop is a React element that is rendered below the table.
|
|
11800
|
+
* The pagination prop should be a `TablePagination` component.
|
|
11801
|
+
**/
|
|
11802
|
+
pagination?: React.ReactElement;
|
|
11803
|
+
/**
|
|
11804
|
+
* The height prop is a responsive styled prop that determines the height of the table.
|
|
11805
|
+
**/
|
|
11806
|
+
height?: BoxProps['height'];
|
|
11807
|
+
/**
|
|
11808
|
+
* The showStripedRows prop determines whether the table should have striped rows or not.
|
|
11809
|
+
* The default value is `false`.
|
|
11810
|
+
**/
|
|
11811
|
+
showStripedRows?: boolean;
|
|
11812
|
+
/**
|
|
11813
|
+
* The gridTemplateColumns prop determines the grid-template-columns CSS property of the table.
|
|
11814
|
+
* The default value is `repeat(${columnCount},minmax(100px, 1fr))`.
|
|
11815
|
+
**/
|
|
11816
|
+
gridTemplateColumns?: string;
|
|
11817
|
+
/**
|
|
11818
|
+
* The isLoading prop determines whether the table is loading or not.
|
|
11819
|
+
* The default value is `false`.
|
|
11820
|
+
**/
|
|
11821
|
+
isLoading?: boolean;
|
|
11822
|
+
/**
|
|
11823
|
+
* The isRefreshing prop determines whether the table is refreshing or not.
|
|
11824
|
+
* The default value is `false`.
|
|
11825
|
+
**/
|
|
11826
|
+
isRefreshing?: boolean;
|
|
11827
|
+
} & StyledPropsBlade;
|
|
11828
|
+
type Identifier = string | number;
|
|
11829
|
+
type TableBodyProps = {
|
|
11830
|
+
/**
|
|
11831
|
+
* The children of the TableBody component should be TableRow components.
|
|
11832
|
+
* @example
|
|
11833
|
+
* <TableBody>
|
|
11834
|
+
* <TableRow>
|
|
11835
|
+
* <TableCell>...</TableCell>
|
|
11836
|
+
* </TableRow>
|
|
11837
|
+
* </TableBody>
|
|
11838
|
+
**/
|
|
11839
|
+
children: React.ReactNode;
|
|
11840
|
+
};
|
|
11841
|
+
type TableRowProps<Item> = {
|
|
11842
|
+
/**
|
|
11843
|
+
* The children of the TableRow component should be TableCell components.
|
|
11844
|
+
* @example
|
|
11845
|
+
* <TableRow>
|
|
11846
|
+
* <TableCell>...</TableCell>
|
|
11847
|
+
* </TableRow>
|
|
11848
|
+
**/
|
|
11849
|
+
children: React.ReactNode;
|
|
11850
|
+
/**
|
|
11851
|
+
* The item prop is used to pass the individual table item to the TableRow component.
|
|
11852
|
+
* @example
|
|
11853
|
+
* tableData.map((tableItem) => (
|
|
11854
|
+
* <TableRow item={item}>
|
|
11855
|
+
* <TableCell>...</TableCell>
|
|
11856
|
+
* </TableRow>
|
|
11857
|
+
* ));
|
|
11858
|
+
**/
|
|
11859
|
+
item: TableNode<Item>;
|
|
11860
|
+
/**
|
|
11861
|
+
* The isDisabled prop is used to disable the TableRow component.
|
|
11862
|
+
* @example
|
|
11863
|
+
* <TableRow isDisabled>
|
|
11864
|
+
* <TableCell>...</TableCell>
|
|
11865
|
+
* </TableRow>
|
|
11866
|
+
**/
|
|
11867
|
+
isDisabled?: boolean;
|
|
11868
|
+
/**
|
|
11869
|
+
* Callback triggered when the row is hovered. It is called with the current row item prop.
|
|
11870
|
+
*/
|
|
11871
|
+
onHover?: ({ item }: {
|
|
11872
|
+
item: TableNode<Item>;
|
|
11873
|
+
}) => void;
|
|
11874
|
+
/**
|
|
11875
|
+
* Callback triggered when the row is clicked. It is called with the current row item prop.
|
|
11876
|
+
*/
|
|
11877
|
+
onClick?: ({ item }: {
|
|
11878
|
+
item: TableNode<Item>;
|
|
11879
|
+
}) => void;
|
|
11880
|
+
};
|
|
11881
|
+
type TableCellProps = {
|
|
11882
|
+
/**
|
|
11883
|
+
* The children of the TableCell component should be a string or a ReactNode.
|
|
11884
|
+
* @example
|
|
11885
|
+
* <TableCell>{'Hello'}</TableCell>
|
|
11886
|
+
* <TableCell>
|
|
11887
|
+
* <Text>...</Text>
|
|
11888
|
+
* </TableCell>
|
|
11889
|
+
* <TableCell>
|
|
11890
|
+
* <Button>...</Button>
|
|
11891
|
+
* </TableCell>
|
|
11892
|
+
**/
|
|
11893
|
+
children: React.ReactNode;
|
|
11894
|
+
};
|
|
11895
|
+
type TableFooterProps = {
|
|
11896
|
+
/**
|
|
11897
|
+
* The children of TableFooter should be TableFooterRow
|
|
11898
|
+
* @example
|
|
11899
|
+
* <TableFooter>
|
|
11900
|
+
* <TableFooterRow>
|
|
11901
|
+
* <TableFooterCell>Footer Cell 1</TableFooterCell>
|
|
11902
|
+
* </TableFooterRow>
|
|
11903
|
+
* </TableFooter>
|
|
11904
|
+
**/
|
|
11905
|
+
children: React.ReactNode;
|
|
11906
|
+
};
|
|
11907
|
+
type TableFooterRowProps = {
|
|
11908
|
+
/**
|
|
11909
|
+
* The children of TableFooterRow should be TableFooterCell
|
|
11910
|
+
* @example
|
|
11911
|
+
* <TableFooter>
|
|
11912
|
+
* <TableFooterRow>
|
|
11913
|
+
* <TableFooterCell>Footer Cell 1</TableFooterCell>
|
|
11914
|
+
* </TableFooterRow>
|
|
11915
|
+
* </TableFooter>
|
|
11916
|
+
**/
|
|
11917
|
+
children: React.ReactNode;
|
|
11918
|
+
};
|
|
11919
|
+
type TableFooterCellProps = {
|
|
11920
|
+
/**
|
|
11921
|
+
* The children of TableHeaderCell can be a string or a ReactNode.
|
|
11922
|
+
**/
|
|
11923
|
+
children: string | React.ReactNode;
|
|
11924
|
+
};
|
|
11925
|
+
type TablePaginationCommonProps = {
|
|
11926
|
+
/**
|
|
11927
|
+
* The default page size.
|
|
11928
|
+
* Page size controls how rows are shown per page.
|
|
11929
|
+
* @default 10
|
|
11930
|
+
**/
|
|
11931
|
+
defaultPageSize?: 10 | 25 | 50;
|
|
11932
|
+
/**
|
|
11933
|
+
* The current page. Passing this prop will make the component controlled and will not update the page on its own.
|
|
11934
|
+
**/
|
|
11935
|
+
currentPage?: number;
|
|
11936
|
+
/**
|
|
11937
|
+
* Callback function that is called when the page size is changed
|
|
11938
|
+
*/
|
|
11939
|
+
onPageSizeChange?: ({ pageSize }: {
|
|
11940
|
+
pageSize: number;
|
|
11941
|
+
}) => void;
|
|
11942
|
+
/**
|
|
11943
|
+
* Whether to show the page size picker. It will be always be hidden on mobile.
|
|
11944
|
+
* Page size picker controls how rows are shown per page.
|
|
11945
|
+
* @default true
|
|
11946
|
+
*/
|
|
11947
|
+
showPageSizePicker?: boolean;
|
|
11948
|
+
/**
|
|
11949
|
+
* Whether to show the page number selector. It will be always be hidden on mobile.
|
|
11950
|
+
* Page number selectors is a group of buttons that allows the user to jump to a specific page.
|
|
11951
|
+
* @default false
|
|
11952
|
+
*/
|
|
11953
|
+
showPageNumberSelector?: boolean;
|
|
11954
|
+
/**
|
|
11955
|
+
* Content of the label to be shown in the pagination component
|
|
11956
|
+
* @default `Showing 1 to ${totalItems} Items`
|
|
11957
|
+
*/
|
|
11958
|
+
label?: string;
|
|
11959
|
+
/**
|
|
11960
|
+
* Whether to show the label. It will be always be hidden on mobile.
|
|
11961
|
+
* @default false
|
|
11962
|
+
*/
|
|
11963
|
+
showLabel?: boolean;
|
|
11964
|
+
};
|
|
11965
|
+
type TablePaginationType = 'client' | 'server';
|
|
11966
|
+
type TablePaginationServerProps = TablePaginationCommonProps & {
|
|
11967
|
+
/**
|
|
11968
|
+
* Whether the pagination is happening on client or server.
|
|
11969
|
+
* If the pagination is happening on `client`, the Table component will **divide the data into pages** and show the pages based on the page size.
|
|
11970
|
+
* If the pagination is happening on `server`, the Table component will **not divide the data into pages and will show all the data**. You will have to fetch data for each page as the page changes and pass it to the Table component.
|
|
11971
|
+
* When paginationType is `server`, the `onPageChange` & `totalItemCount` props are required.
|
|
11972
|
+
* @default 'client'
|
|
11973
|
+
* */
|
|
11974
|
+
paginationType?: Extract<TablePaginationType, 'server'>;
|
|
11975
|
+
/**
|
|
11976
|
+
* The total number of possible items in the table. This is used to calculate the total number of pages when pagination is happening on server and not all the data is fetched at once.
|
|
11977
|
+
*/
|
|
11978
|
+
totalItemCount: number;
|
|
11979
|
+
/**
|
|
11980
|
+
* Callback function that is called when the page is changed
|
|
11981
|
+
*/
|
|
11982
|
+
onPageChange: ({ page }: {
|
|
11983
|
+
page: number;
|
|
11984
|
+
}) => void;
|
|
11985
|
+
};
|
|
11986
|
+
type TablePaginationClientProps = TablePaginationCommonProps & {
|
|
11987
|
+
/**
|
|
11988
|
+
* Whether the pagination is happening on client or server.
|
|
11989
|
+
* If the pagination is happening on `client`, the Table component will **divide the data into pages** and show the pages based on the page size.
|
|
11990
|
+
* If the pagination is happening on `server`, the Table component will **not divide the data into pages and will show all the data**. You will have to fetch data for each page as the page changes and pass it to the Table component.
|
|
11991
|
+
* When paginationType is `server`, the `onPageChange` & `totalItemCount` props are required.
|
|
11992
|
+
* @default 'client'
|
|
11993
|
+
* */
|
|
11994
|
+
paginationType?: Extract<TablePaginationType, 'client'>;
|
|
11995
|
+
/**
|
|
11996
|
+
* The total number of possible items in the table. This is used to calculate the total number of pages when pagination is happening on server and not all the data is fetched at once.
|
|
11997
|
+
*/
|
|
11998
|
+
totalItemCount?: number;
|
|
11999
|
+
/**
|
|
12000
|
+
* Callback function that is called when the page is changed
|
|
12001
|
+
*/
|
|
12002
|
+
onPageChange?: ({ page }: {
|
|
12003
|
+
page: number;
|
|
12004
|
+
}) => void;
|
|
12005
|
+
};
|
|
12006
|
+
type TablePaginationProps = TablePaginationCommonProps & (TablePaginationServerProps | TablePaginationClientProps);
|
|
12007
|
+
type TableToolbarProps = {
|
|
12008
|
+
/**
|
|
12009
|
+
* The children of TableToolbar should be TableToolbarActions
|
|
12010
|
+
*/
|
|
12011
|
+
children?: React.ReactNode;
|
|
12012
|
+
/**
|
|
12013
|
+
* The title of the TableToolbar. If not provided, it will show the default title.
|
|
12014
|
+
* @default `Showing 1 to ${totalItems} Items`
|
|
12015
|
+
*/
|
|
12016
|
+
title?: string;
|
|
12017
|
+
/**
|
|
12018
|
+
* The title to show when items are selected. If not provided, it will show the default title.
|
|
12019
|
+
* @default `${selectedRows.length} 'Items'} Selected`
|
|
12020
|
+
*/
|
|
12021
|
+
selectedTitle?: string;
|
|
12022
|
+
};
|
|
12023
|
+
type TableToolbarActionsProps = {
|
|
12024
|
+
children?: React.ReactNode;
|
|
12025
|
+
} & StyledPropsBlade;
|
|
11767
12026
|
|
|
11768
|
-
declare const
|
|
12027
|
+
declare const Table: <Item>({ children, data, selectionType, onSelectionChange, isHeaderSticky, isFooterSticky, isFirstColumnSticky, rowDensity, onSortChange, sortFunctions, toolbar, pagination, height, showStripedRows, gridTemplateColumns, isLoading, isRefreshing, ...styledProps }: TableProps<Item>) => React__default.ReactElement;
|
|
11769
12028
|
|
|
11770
|
-
|
|
12029
|
+
declare const TableHeader: ({ children }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12030
|
+
declare const TableHeaderCell: ({ children, headerKey }: TableHeaderCellProps) => React__default.ReactElement;
|
|
12031
|
+
declare const TableHeaderRow: ({ children, rowDensity }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12032
|
+
|
|
12033
|
+
declare const TableBody: ({ children }: TableBodyProps) => React__default.ReactElement;
|
|
12034
|
+
declare const TableCell: ({ children }: TableCellProps) => React__default.ReactElement;
|
|
12035
|
+
declare const TableRow: <Item>({ children, item, isDisabled, onHover, onClick, }: TableRowProps<Item>) => React__default.ReactElement;
|
|
12036
|
+
|
|
12037
|
+
declare const TableFooter: ({ children }: TableFooterProps) => React__default.ReactElement;
|
|
12038
|
+
declare const TableFooterRow: ({ children }: TableFooterRowProps) => React__default.ReactElement;
|
|
12039
|
+
declare const TableFooterCell: ({ children }: TableFooterCellProps) => React__default.ReactElement;
|
|
12040
|
+
|
|
12041
|
+
declare const TablePagination: ({ currentPage: controlledCurrentPage, onPageChange, onPageSizeChange, defaultPageSize, showPageSizePicker, showPageNumberSelector, showLabel, label, totalItemCount, paginationType, }: TablePaginationProps) => React__default.ReactElement;
|
|
12042
|
+
|
|
12043
|
+
declare const TableToolbarActions: ({ children, ...styledProps }: TableToolbarActionsProps) => React__default.ReactElement;
|
|
12044
|
+
declare const TableToolbar: ({ children, title, selectedTitle: controlledSelectedTitle, }: TableToolbarProps) => React__default.ReactElement;
|
|
12045
|
+
|
|
12046
|
+
type TabsProps = {
|
|
11771
12047
|
/**
|
|
11772
|
-
*
|
|
11773
|
-
*
|
|
11774
|
-
* @default medium
|
|
12048
|
+
* The content of the component, accepts `TabsList` and `TabsPanel` components.
|
|
11775
12049
|
*/
|
|
11776
|
-
|
|
12050
|
+
children: React__default.ReactNode;
|
|
11777
12051
|
/**
|
|
11778
|
-
*
|
|
12052
|
+
* The value of the tab panel same as the corresponding TabItem's value to match the selected TabItem.
|
|
11779
12053
|
*/
|
|
11780
|
-
|
|
12054
|
+
value?: string;
|
|
11781
12055
|
/**
|
|
11782
|
-
*
|
|
12056
|
+
* The default value of the selected tab, in case the Tabs component is uncontrolled.
|
|
11783
12057
|
*/
|
|
11784
|
-
|
|
12058
|
+
defaultValue?: string;
|
|
11785
12059
|
/**
|
|
11786
|
-
*
|
|
12060
|
+
* Callback fired when the value changes.
|
|
11787
12061
|
*/
|
|
11788
|
-
|
|
12062
|
+
onChange?: (value: string) => void;
|
|
11789
12063
|
/**
|
|
11790
|
-
*
|
|
12064
|
+
* The orientation of the tabs.
|
|
12065
|
+
*
|
|
12066
|
+
* @default 'horizontal' (always horizontal on react-native)
|
|
11791
12067
|
*/
|
|
11792
|
-
|
|
12068
|
+
orientation?: Platform.Select<{
|
|
12069
|
+
web: 'horizontal' | 'vertical';
|
|
12070
|
+
native: 'horizontal';
|
|
12071
|
+
}>;
|
|
11793
12072
|
/**
|
|
11794
|
-
*
|
|
11795
|
-
*
|
|
11796
|
-
* Should not be used by consumers.
|
|
11797
|
-
*
|
|
11798
|
-
* Used for adding virtual focus on tag.
|
|
12073
|
+
* The size of the tabs.
|
|
11799
12074
|
*
|
|
11800
|
-
* @
|
|
12075
|
+
* @default 'medium'
|
|
11801
12076
|
*/
|
|
11802
|
-
|
|
12077
|
+
size?: 'medium' | 'large';
|
|
11803
12078
|
/**
|
|
11804
|
-
*
|
|
12079
|
+
* The variant of the tabs.
|
|
11805
12080
|
*
|
|
11806
|
-
*
|
|
12081
|
+
* @default 'bordered'
|
|
12082
|
+
*/
|
|
12083
|
+
variant?: 'bordered' | 'borderless' | 'filled';
|
|
12084
|
+
/**
|
|
12085
|
+
* If `true`, the TabItems will grow to use all the available space.
|
|
11807
12086
|
*
|
|
11808
|
-
*
|
|
12087
|
+
* @default false
|
|
12088
|
+
*/
|
|
12089
|
+
isFullWidthTabItem?: boolean;
|
|
12090
|
+
/**
|
|
12091
|
+
* If `true`, the TabPanel will be rendered only when it becomes active.
|
|
11809
12092
|
*
|
|
11810
|
-
* @
|
|
12093
|
+
* @default false
|
|
11811
12094
|
*/
|
|
11812
|
-
|
|
11813
|
-
}
|
|
11814
|
-
|
|
11815
|
-
/**
|
|
11816
|
-
* ## Tags
|
|
11817
|
-
*
|
|
11818
|
-
* Tag component can be used to display selected items on UI.
|
|
11819
|
-
*
|
|
11820
|
-
* ### Usage
|
|
11821
|
-
*
|
|
11822
|
-
* ***Note:*** _Make sure to handle state when using Tag_
|
|
11823
|
-
*
|
|
11824
|
-
* ```jsx
|
|
11825
|
-
* const [showTag, setShowTag] = React.useState(true);
|
|
11826
|
-
*
|
|
11827
|
-
* // ...
|
|
11828
|
-
*
|
|
11829
|
-
* {showTag && (
|
|
11830
|
-
* <Tag
|
|
11831
|
-
* icon={CheckIcon}
|
|
11832
|
-
* onDismiss={() => setShowTag(false)}
|
|
11833
|
-
* >
|
|
11834
|
-
* Transactions
|
|
11835
|
-
* </Tag>
|
|
11836
|
-
* )}
|
|
11837
|
-
* ```
|
|
11838
|
-
*
|
|
11839
|
-
* Checkout [Tags Documentation](https://blade.razorpay.com/?path=/story/components-tag--default) for more info.
|
|
11840
|
-
*
|
|
11841
|
-
*/
|
|
11842
|
-
declare const Tag: ({ size, icon: Icon, onDismiss, children, isDisabled, testID, _isVirtuallyFocused, _isTagInsideInput, ...styledProps }: TagProps) => React__default.ReactElement | null;
|
|
11843
|
-
|
|
11844
|
-
type TooltipProps = {
|
|
12095
|
+
isLazy?: boolean;
|
|
12096
|
+
};
|
|
12097
|
+
type TabItemProps = {
|
|
11845
12098
|
/**
|
|
11846
|
-
*
|
|
12099
|
+
* The label of the tab item.
|
|
11847
12100
|
*/
|
|
11848
|
-
|
|
12101
|
+
children: React__default.ReactNode;
|
|
11849
12102
|
/**
|
|
11850
|
-
*
|
|
12103
|
+
* The value of the tab item.
|
|
11851
12104
|
*/
|
|
11852
|
-
|
|
12105
|
+
value: string;
|
|
11853
12106
|
/**
|
|
11854
|
-
*
|
|
12107
|
+
* Leading element of the tab item.
|
|
12108
|
+
* Can be used to render an Icon.
|
|
12109
|
+
*/
|
|
12110
|
+
leading?: IconComponent;
|
|
12111
|
+
/**
|
|
12112
|
+
* Trailing element of the tab item.
|
|
12113
|
+
* Can be used to render a Badge/Counter component.
|
|
12114
|
+
*/
|
|
12115
|
+
trailing?: React__default.ReactNode;
|
|
12116
|
+
/**
|
|
12117
|
+
* Internal prop used to pass size from Tabs to TabsItem.
|
|
12118
|
+
*/
|
|
12119
|
+
/**
|
|
12120
|
+
* If `true`, the tab item will be disabled.
|
|
12121
|
+
*/
|
|
12122
|
+
isDisabled?: boolean;
|
|
12123
|
+
/**
|
|
12124
|
+
* If set the tab item will be rendered as a link.
|
|
12125
|
+
* This can be used to create a tab item that redirects to another page or integrate with react-router.
|
|
11855
12126
|
*
|
|
11856
|
-
* @default
|
|
12127
|
+
* @default undefined
|
|
11857
12128
|
*/
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
12129
|
+
href?: string;
|
|
12130
|
+
/**
|
|
12131
|
+
* Callback fired when the tab item is clicked.
|
|
12132
|
+
*/
|
|
12133
|
+
onClick?: (event: React__default.MouseEvent) => void;
|
|
12134
|
+
};
|
|
12135
|
+
type TabPanelProps = {
|
|
12136
|
+
/**
|
|
12137
|
+
* The value of the tab panel. This will be used to match the selected tab.
|
|
12138
|
+
*/
|
|
12139
|
+
value: string;
|
|
11863
12140
|
/**
|
|
11864
|
-
*
|
|
11865
|
-
* @default 1100
|
|
12141
|
+
* The content of the tab panel.
|
|
11866
12142
|
*/
|
|
11867
|
-
|
|
12143
|
+
children: React__default.ReactNode;
|
|
11868
12144
|
};
|
|
11869
12145
|
|
|
11870
|
-
|
|
12146
|
+
/**
|
|
12147
|
+
* ### Tabs
|
|
12148
|
+
*
|
|
12149
|
+
* Check out the [Tab Stories & Examples](https://blade.razorpay.com/?path=/docs/components-tabs--default)
|
|
12150
|
+
*
|
|
12151
|
+
* ----
|
|
12152
|
+
* ### Basic Usage
|
|
12153
|
+
*
|
|
12154
|
+
* ```jsx
|
|
12155
|
+
* import { Tabs, TabList, TabItem, TabPanel } from '@razorpay/blade/components';
|
|
12156
|
+
*
|
|
12157
|
+
* <Tabs variant="bordered" orientation="horizontal">
|
|
12158
|
+
* <TabList>
|
|
12159
|
+
* <TabItem value="subscriptions">Subscription</TabItem>
|
|
12160
|
+
* <TabItem value="plans">Plans</TabItem>
|
|
12161
|
+
* <TabItem value="settings">Settings</TabItem>
|
|
12162
|
+
* </TabList>
|
|
12163
|
+
*
|
|
12164
|
+
* <TabPanel value="subscriptions">
|
|
12165
|
+
* <Text>Subscriptions Panel</Text>
|
|
12166
|
+
* </TabPanel>
|
|
12167
|
+
* <TabPanel value="plans">
|
|
12168
|
+
* <Text>Plans Panel</Text>
|
|
12169
|
+
* </TabPanel>
|
|
12170
|
+
* <TabPanel value="settings">
|
|
12171
|
+
* <Text>Settings Panel</Text>
|
|
12172
|
+
* </TabPanel>
|
|
12173
|
+
* </Tabs>
|
|
12174
|
+
* ```
|
|
12175
|
+
*/
|
|
12176
|
+
declare const Tabs: ({ children, defaultValue, value, onChange, orientation, size, variant, isFullWidthTabItem, isLazy, }: TabsProps) => React__default.ReactElement;
|
|
11871
12177
|
|
|
11872
|
-
declare const
|
|
11873
|
-
|
|
11874
|
-
|
|
11875
|
-
|
|
11876
|
-
|
|
11877
|
-
readonly m?: SpacingValueType | undefined;
|
|
11878
|
-
readonly l?: SpacingValueType | undefined;
|
|
11879
|
-
readonly xl?: SpacingValueType | undefined;
|
|
11880
|
-
};
|
|
11881
|
-
display?: csstype.Property.Display | {
|
|
11882
|
-
readonly base?: csstype.Property.Display | undefined;
|
|
11883
|
-
readonly xs?: csstype.Property.Display | undefined;
|
|
11884
|
-
readonly s?: csstype.Property.Display | undefined;
|
|
11885
|
-
readonly m?: csstype.Property.Display | undefined;
|
|
11886
|
-
readonly l?: csstype.Property.Display | undefined;
|
|
11887
|
-
readonly xl?: csstype.Property.Display | undefined;
|
|
11888
|
-
} | undefined;
|
|
11889
|
-
height: SpacingValueType | {
|
|
11890
|
-
readonly base?: SpacingValueType | undefined;
|
|
11891
|
-
readonly xs?: SpacingValueType | undefined;
|
|
11892
|
-
readonly s?: SpacingValueType | undefined;
|
|
11893
|
-
readonly m?: SpacingValueType | undefined;
|
|
11894
|
-
readonly l?: SpacingValueType | undefined;
|
|
11895
|
-
readonly xl?: SpacingValueType | undefined;
|
|
11896
|
-
};
|
|
11897
|
-
maxHeight: SpacingValueType | {
|
|
11898
|
-
readonly base?: SpacingValueType | undefined;
|
|
11899
|
-
readonly xs?: SpacingValueType | undefined;
|
|
11900
|
-
readonly s?: SpacingValueType | undefined;
|
|
11901
|
-
readonly m?: SpacingValueType | undefined;
|
|
11902
|
-
readonly l?: SpacingValueType | undefined;
|
|
11903
|
-
readonly xl?: SpacingValueType | undefined;
|
|
11904
|
-
};
|
|
11905
|
-
maxWidth: SpacingValueType | {
|
|
11906
|
-
readonly base?: SpacingValueType | undefined;
|
|
11907
|
-
readonly xs?: SpacingValueType | undefined;
|
|
11908
|
-
readonly s?: SpacingValueType | undefined;
|
|
11909
|
-
readonly m?: SpacingValueType | undefined;
|
|
11910
|
-
readonly l?: SpacingValueType | undefined;
|
|
11911
|
-
readonly xl?: SpacingValueType | undefined;
|
|
11912
|
-
};
|
|
11913
|
-
minHeight: SpacingValueType | {
|
|
11914
|
-
readonly base?: SpacingValueType | undefined;
|
|
11915
|
-
readonly xs?: SpacingValueType | undefined;
|
|
11916
|
-
readonly s?: SpacingValueType | undefined;
|
|
11917
|
-
readonly m?: SpacingValueType | undefined;
|
|
11918
|
-
readonly l?: SpacingValueType | undefined;
|
|
11919
|
-
readonly xl?: SpacingValueType | undefined;
|
|
11920
|
-
};
|
|
11921
|
-
minWidth: SpacingValueType | {
|
|
11922
|
-
readonly base?: SpacingValueType | undefined;
|
|
11923
|
-
readonly xs?: SpacingValueType | undefined;
|
|
11924
|
-
readonly s?: SpacingValueType | undefined;
|
|
11925
|
-
readonly m?: SpacingValueType | undefined;
|
|
11926
|
-
readonly l?: SpacingValueType | undefined;
|
|
11927
|
-
readonly xl?: SpacingValueType | undefined;
|
|
11928
|
-
};
|
|
11929
|
-
overflowX?: csstype.Property.OverflowX | {
|
|
11930
|
-
readonly base?: csstype.Property.OverflowX | undefined;
|
|
11931
|
-
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
11932
|
-
readonly s?: csstype.Property.OverflowX | undefined;
|
|
11933
|
-
readonly m?: csstype.Property.OverflowX | undefined;
|
|
11934
|
-
readonly l?: csstype.Property.OverflowX | undefined;
|
|
11935
|
-
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
11936
|
-
} | undefined;
|
|
11937
|
-
overflowY?: csstype.Property.OverflowY | {
|
|
11938
|
-
readonly base?: csstype.Property.OverflowY | undefined;
|
|
11939
|
-
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
11940
|
-
readonly s?: csstype.Property.OverflowY | undefined;
|
|
11941
|
-
readonly m?: csstype.Property.OverflowY | undefined;
|
|
11942
|
-
readonly l?: csstype.Property.OverflowY | undefined;
|
|
11943
|
-
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
11944
|
-
} | undefined;
|
|
11945
|
-
textAlign?: csstype.Property.TextAlign | {
|
|
11946
|
-
readonly base?: csstype.Property.TextAlign | undefined;
|
|
11947
|
-
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
11948
|
-
readonly s?: csstype.Property.TextAlign | undefined;
|
|
11949
|
-
readonly m?: csstype.Property.TextAlign | undefined;
|
|
11950
|
-
readonly l?: csstype.Property.TextAlign | undefined;
|
|
11951
|
-
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
11952
|
-
} | undefined;
|
|
11953
|
-
whiteSpace?: csstype.Property.WhiteSpace | {
|
|
11954
|
-
readonly base?: csstype.Property.WhiteSpace | undefined;
|
|
11955
|
-
readonly xs?: csstype.Property.WhiteSpace | undefined;
|
|
11956
|
-
readonly s?: csstype.Property.WhiteSpace | undefined;
|
|
11957
|
-
readonly m?: csstype.Property.WhiteSpace | undefined;
|
|
11958
|
-
readonly l?: csstype.Property.WhiteSpace | undefined;
|
|
11959
|
-
readonly xl?: csstype.Property.WhiteSpace | undefined;
|
|
11960
|
-
} | undefined;
|
|
11961
|
-
overflow?: csstype.Property.Overflow | {
|
|
11962
|
-
readonly base?: csstype.Property.Overflow | undefined;
|
|
11963
|
-
readonly xs?: csstype.Property.Overflow | undefined;
|
|
11964
|
-
readonly s?: csstype.Property.Overflow | undefined;
|
|
11965
|
-
readonly m?: csstype.Property.Overflow | undefined;
|
|
11966
|
-
readonly l?: csstype.Property.Overflow | undefined;
|
|
11967
|
-
readonly xl?: csstype.Property.Overflow | undefined;
|
|
11968
|
-
} | undefined;
|
|
11969
|
-
__brand__?: "platform-web" | {
|
|
11970
|
-
readonly base?: "platform-web" | undefined;
|
|
11971
|
-
readonly xs?: "platform-web" | undefined;
|
|
11972
|
-
readonly s?: "platform-web" | undefined;
|
|
11973
|
-
readonly m?: "platform-web" | undefined;
|
|
11974
|
-
readonly l?: "platform-web" | undefined;
|
|
11975
|
-
readonly xl?: "platform-web" | undefined;
|
|
11976
|
-
} | undefined;
|
|
11977
|
-
} & FlexboxProps & {
|
|
12178
|
+
declare const TabItem: ({ children, value, leading: Leading, trailing, isDisabled, href, onClick, }: TabItemProps) => React__default.ReactElement;
|
|
12179
|
+
|
|
12180
|
+
declare const TabList: ({ children, ...props }: {
|
|
12181
|
+
children: React__default.ReactNode;
|
|
12182
|
+
} & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
11978
12183
|
bottom: SpacingValueType | {
|
|
11979
12184
|
readonly base?: SpacingValueType | undefined;
|
|
11980
12185
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -12031,7 +12236,7 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12031
12236
|
readonly l?: "platform-web" | undefined;
|
|
12032
12237
|
readonly xl?: "platform-web" | undefined;
|
|
12033
12238
|
} | undefined;
|
|
12034
|
-
} & {
|
|
12239
|
+
} & Pick<{
|
|
12035
12240
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
12036
12241
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
12037
12242
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -12128,29 +12333,134 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12128
12333
|
readonly l?: csstype.Property.GridArea | undefined;
|
|
12129
12334
|
readonly xl?: csstype.Property.GridArea | undefined;
|
|
12130
12335
|
} | undefined;
|
|
12131
|
-
gridColumn?: csstype.Property.GridColumn | {
|
|
12132
|
-
readonly base?: csstype.Property.GridColumn | undefined;
|
|
12133
|
-
readonly xs?: csstype.Property.GridColumn | undefined;
|
|
12134
|
-
readonly s?: csstype.Property.GridColumn | undefined;
|
|
12135
|
-
readonly m?: csstype.Property.GridColumn | undefined;
|
|
12136
|
-
readonly l?: csstype.Property.GridColumn | undefined;
|
|
12137
|
-
readonly xl?: csstype.Property.GridColumn | undefined;
|
|
12336
|
+
gridColumn?: csstype.Property.GridColumn | {
|
|
12337
|
+
readonly base?: csstype.Property.GridColumn | undefined;
|
|
12338
|
+
readonly xs?: csstype.Property.GridColumn | undefined;
|
|
12339
|
+
readonly s?: csstype.Property.GridColumn | undefined;
|
|
12340
|
+
readonly m?: csstype.Property.GridColumn | undefined;
|
|
12341
|
+
readonly l?: csstype.Property.GridColumn | undefined;
|
|
12342
|
+
readonly xl?: csstype.Property.GridColumn | undefined;
|
|
12343
|
+
} | undefined;
|
|
12344
|
+
gridRow?: csstype.Property.GridRow | {
|
|
12345
|
+
readonly base?: csstype.Property.GridRow | undefined;
|
|
12346
|
+
readonly xs?: csstype.Property.GridRow | undefined;
|
|
12347
|
+
readonly s?: csstype.Property.GridRow | undefined;
|
|
12348
|
+
readonly m?: csstype.Property.GridRow | undefined;
|
|
12349
|
+
readonly l?: csstype.Property.GridRow | undefined;
|
|
12350
|
+
readonly xl?: csstype.Property.GridRow | undefined;
|
|
12351
|
+
} | undefined;
|
|
12352
|
+
gridTemplate?: csstype.Property.GridTemplate | {
|
|
12353
|
+
readonly base?: csstype.Property.GridTemplate | undefined;
|
|
12354
|
+
readonly xs?: csstype.Property.GridTemplate | undefined;
|
|
12355
|
+
readonly s?: csstype.Property.GridTemplate | undefined;
|
|
12356
|
+
readonly m?: csstype.Property.GridTemplate | undefined;
|
|
12357
|
+
readonly l?: csstype.Property.GridTemplate | undefined;
|
|
12358
|
+
readonly xl?: csstype.Property.GridTemplate | undefined;
|
|
12359
|
+
} | undefined;
|
|
12360
|
+
__brand__?: "platform-web" | {
|
|
12361
|
+
readonly base?: "platform-web" | undefined;
|
|
12362
|
+
readonly xs?: "platform-web" | undefined;
|
|
12363
|
+
readonly s?: "platform-web" | undefined;
|
|
12364
|
+
readonly m?: "platform-web" | undefined;
|
|
12365
|
+
readonly l?: "platform-web" | undefined;
|
|
12366
|
+
readonly xl?: "platform-web" | undefined;
|
|
12367
|
+
} | undefined;
|
|
12368
|
+
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow"> & Pick<{
|
|
12369
|
+
width: SpacingValueType | {
|
|
12370
|
+
readonly base?: SpacingValueType | undefined;
|
|
12371
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12372
|
+
readonly s?: SpacingValueType | undefined;
|
|
12373
|
+
readonly m?: SpacingValueType | undefined;
|
|
12374
|
+
readonly l?: SpacingValueType | undefined;
|
|
12375
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12376
|
+
};
|
|
12377
|
+
display?: csstype.Property.Display | {
|
|
12378
|
+
readonly base?: csstype.Property.Display | undefined;
|
|
12379
|
+
readonly xs?: csstype.Property.Display | undefined;
|
|
12380
|
+
readonly s?: csstype.Property.Display | undefined;
|
|
12381
|
+
readonly m?: csstype.Property.Display | undefined;
|
|
12382
|
+
readonly l?: csstype.Property.Display | undefined;
|
|
12383
|
+
readonly xl?: csstype.Property.Display | undefined;
|
|
12384
|
+
} | undefined;
|
|
12385
|
+
height: SpacingValueType | {
|
|
12386
|
+
readonly base?: SpacingValueType | undefined;
|
|
12387
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12388
|
+
readonly s?: SpacingValueType | undefined;
|
|
12389
|
+
readonly m?: SpacingValueType | undefined;
|
|
12390
|
+
readonly l?: SpacingValueType | undefined;
|
|
12391
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12392
|
+
};
|
|
12393
|
+
maxHeight: SpacingValueType | {
|
|
12394
|
+
readonly base?: SpacingValueType | undefined;
|
|
12395
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12396
|
+
readonly s?: SpacingValueType | undefined;
|
|
12397
|
+
readonly m?: SpacingValueType | undefined;
|
|
12398
|
+
readonly l?: SpacingValueType | undefined;
|
|
12399
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12400
|
+
};
|
|
12401
|
+
maxWidth: SpacingValueType | {
|
|
12402
|
+
readonly base?: SpacingValueType | undefined;
|
|
12403
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12404
|
+
readonly s?: SpacingValueType | undefined;
|
|
12405
|
+
readonly m?: SpacingValueType | undefined;
|
|
12406
|
+
readonly l?: SpacingValueType | undefined;
|
|
12407
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12408
|
+
};
|
|
12409
|
+
minHeight: SpacingValueType | {
|
|
12410
|
+
readonly base?: SpacingValueType | undefined;
|
|
12411
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12412
|
+
readonly s?: SpacingValueType | undefined;
|
|
12413
|
+
readonly m?: SpacingValueType | undefined;
|
|
12414
|
+
readonly l?: SpacingValueType | undefined;
|
|
12415
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12416
|
+
};
|
|
12417
|
+
minWidth: SpacingValueType | {
|
|
12418
|
+
readonly base?: SpacingValueType | undefined;
|
|
12419
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12420
|
+
readonly s?: SpacingValueType | undefined;
|
|
12421
|
+
readonly m?: SpacingValueType | undefined;
|
|
12422
|
+
readonly l?: SpacingValueType | undefined;
|
|
12423
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12424
|
+
};
|
|
12425
|
+
overflowX?: csstype.Property.OverflowX | {
|
|
12426
|
+
readonly base?: csstype.Property.OverflowX | undefined;
|
|
12427
|
+
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
12428
|
+
readonly s?: csstype.Property.OverflowX | undefined;
|
|
12429
|
+
readonly m?: csstype.Property.OverflowX | undefined;
|
|
12430
|
+
readonly l?: csstype.Property.OverflowX | undefined;
|
|
12431
|
+
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
12432
|
+
} | undefined;
|
|
12433
|
+
overflowY?: csstype.Property.OverflowY | {
|
|
12434
|
+
readonly base?: csstype.Property.OverflowY | undefined;
|
|
12435
|
+
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
12436
|
+
readonly s?: csstype.Property.OverflowY | undefined;
|
|
12437
|
+
readonly m?: csstype.Property.OverflowY | undefined;
|
|
12438
|
+
readonly l?: csstype.Property.OverflowY | undefined;
|
|
12439
|
+
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
12440
|
+
} | undefined;
|
|
12441
|
+
textAlign?: csstype.Property.TextAlign | {
|
|
12442
|
+
readonly base?: csstype.Property.TextAlign | undefined;
|
|
12443
|
+
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
12444
|
+
readonly s?: csstype.Property.TextAlign | undefined;
|
|
12445
|
+
readonly m?: csstype.Property.TextAlign | undefined;
|
|
12446
|
+
readonly l?: csstype.Property.TextAlign | undefined;
|
|
12447
|
+
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
12138
12448
|
} | undefined;
|
|
12139
|
-
|
|
12140
|
-
readonly base?: csstype.Property.
|
|
12141
|
-
readonly xs?: csstype.Property.
|
|
12142
|
-
readonly s?: csstype.Property.
|
|
12143
|
-
readonly m?: csstype.Property.
|
|
12144
|
-
readonly l?: csstype.Property.
|
|
12145
|
-
readonly xl?: csstype.Property.
|
|
12449
|
+
whiteSpace?: csstype.Property.WhiteSpace | {
|
|
12450
|
+
readonly base?: csstype.Property.WhiteSpace | undefined;
|
|
12451
|
+
readonly xs?: csstype.Property.WhiteSpace | undefined;
|
|
12452
|
+
readonly s?: csstype.Property.WhiteSpace | undefined;
|
|
12453
|
+
readonly m?: csstype.Property.WhiteSpace | undefined;
|
|
12454
|
+
readonly l?: csstype.Property.WhiteSpace | undefined;
|
|
12455
|
+
readonly xl?: csstype.Property.WhiteSpace | undefined;
|
|
12146
12456
|
} | undefined;
|
|
12147
|
-
|
|
12148
|
-
readonly base?: csstype.Property.
|
|
12149
|
-
readonly xs?: csstype.Property.
|
|
12150
|
-
readonly s?: csstype.Property.
|
|
12151
|
-
readonly m?: csstype.Property.
|
|
12152
|
-
readonly l?: csstype.Property.
|
|
12153
|
-
readonly xl?: csstype.Property.
|
|
12457
|
+
overflow?: csstype.Property.Overflow | {
|
|
12458
|
+
readonly base?: csstype.Property.Overflow | undefined;
|
|
12459
|
+
readonly xs?: csstype.Property.Overflow | undefined;
|
|
12460
|
+
readonly s?: csstype.Property.Overflow | undefined;
|
|
12461
|
+
readonly m?: csstype.Property.Overflow | undefined;
|
|
12462
|
+
readonly l?: csstype.Property.Overflow | undefined;
|
|
12463
|
+
readonly xl?: csstype.Property.Overflow | undefined;
|
|
12154
12464
|
} | undefined;
|
|
12155
12465
|
__brand__?: "platform-web" | {
|
|
12156
12466
|
readonly base?: "platform-web" | undefined;
|
|
@@ -12160,20 +12470,7 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12160
12470
|
readonly l?: "platform-web" | undefined;
|
|
12161
12471
|
readonly xl?: "platform-web" | undefined;
|
|
12162
12472
|
} | undefined;
|
|
12163
|
-
} & {
|
|
12164
|
-
onMouseOver: React$1.MouseEventHandler<HTMLElement>;
|
|
12165
|
-
onMouseEnter: React$1.MouseEventHandler<HTMLElement>;
|
|
12166
|
-
onMouseLeave: React$1.MouseEventHandler<HTMLElement>;
|
|
12167
|
-
onScroll: React$1.UIEventHandler<HTMLElement>;
|
|
12168
|
-
} & {
|
|
12169
|
-
draggable: boolean;
|
|
12170
|
-
onDragStart: React$1.DragEventHandler<HTMLElement>;
|
|
12171
|
-
onDragEnter: React$1.DragEventHandler<HTMLElement>;
|
|
12172
|
-
onDragLeave: React$1.DragEventHandler<HTMLElement>;
|
|
12173
|
-
onDragOver: React$1.DragEventHandler<HTMLElement>;
|
|
12174
|
-
onDragEnd: React$1.DragEventHandler<HTMLElement>;
|
|
12175
|
-
onDrop: React$1.DragEventHandler<HTMLElement>;
|
|
12176
|
-
} & {
|
|
12473
|
+
}, "display"> & Pick<{
|
|
12177
12474
|
elevation?: ElevationLevels | {
|
|
12178
12475
|
readonly base?: ElevationLevels | undefined;
|
|
12179
12476
|
readonly xs?: ElevationLevels | undefined;
|
|
@@ -12438,128 +12735,83 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12438
12735
|
readonly l?: "platform-web" | undefined;
|
|
12439
12736
|
readonly xl?: "platform-web" | undefined;
|
|
12440
12737
|
} | undefined;
|
|
12441
|
-
}
|
|
12442
|
-
|
|
12443
|
-
|
|
12444
|
-
|
|
12445
|
-
|
|
12446
|
-
|
|
12447
|
-
|
|
12448
|
-
|
|
12449
|
-
|
|
12450
|
-
|
|
12451
|
-
|
|
12452
|
-
|
|
12453
|
-
|
|
12454
|
-
|
|
12455
|
-
|
|
12456
|
-
|
|
12457
|
-
|
|
12458
|
-
|
|
12459
|
-
|
|
12460
|
-
|
|
12461
|
-
|
|
12462
|
-
|
|
12463
|
-
|
|
12464
|
-
|
|
12465
|
-
|
|
12466
|
-
|
|
12467
|
-
|
|
12468
|
-
|
|
12469
|
-
|
|
12470
|
-
|
|
12471
|
-
|
|
12472
|
-
|
|
12473
|
-
|
|
12474
|
-
|
|
12475
|
-
|
|
12476
|
-
|
|
12477
|
-
|
|
12478
|
-
|
|
12479
|
-
|
|
12480
|
-
|
|
12481
|
-
|
|
12482
|
-
|
|
12483
|
-
|
|
12484
|
-
|
|
12485
|
-
|
|
12486
|
-
|
|
12487
|
-
|
|
12488
|
-
|
|
12489
|
-
|
|
12490
|
-
|
|
12491
|
-
|
|
12492
|
-
|
|
12493
|
-
|
|
12494
|
-
|
|
12495
|
-
|
|
12496
|
-
|
|
12497
|
-
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
|
|
12502
|
-
|
|
12503
|
-
|
|
12504
|
-
|
|
12505
|
-
|
|
12506
|
-
|
|
12507
|
-
|
|
12508
|
-
|
|
12509
|
-
|
|
12510
|
-
|
|
12511
|
-
|
|
12512
|
-
|
|
12513
|
-
|
|
12514
|
-
|
|
12515
|
-
|
|
12516
|
-
|
|
12517
|
-
|
|
12518
|
-
readonly m?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
12519
|
-
readonly l?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
12520
|
-
readonly xl?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
12521
|
-
} | undefined;
|
|
12522
|
-
borderLeft?: csstype.Property.BorderLeft<string | number> | {
|
|
12523
|
-
readonly base?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
12524
|
-
readonly xs?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
12525
|
-
readonly s?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
12526
|
-
readonly m?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
12527
|
-
readonly l?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
12528
|
-
readonly xl?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
12529
|
-
} | undefined;
|
|
12530
|
-
borderRight?: csstype.Property.BorderRight<string | number> | {
|
|
12531
|
-
readonly base?: csstype.Property.BorderRight<string | number> | undefined;
|
|
12532
|
-
readonly xs?: csstype.Property.BorderRight<string | number> | undefined;
|
|
12533
|
-
readonly s?: csstype.Property.BorderRight<string | number> | undefined;
|
|
12534
|
-
readonly m?: csstype.Property.BorderRight<string | number> | undefined;
|
|
12535
|
-
readonly l?: csstype.Property.BorderRight<string | number> | undefined;
|
|
12536
|
-
readonly xl?: csstype.Property.BorderRight<string | number> | undefined;
|
|
12537
|
-
} | undefined;
|
|
12538
|
-
borderTop?: csstype.Property.BorderTop<string | number> | {
|
|
12539
|
-
readonly base?: csstype.Property.BorderTop<string | number> | undefined;
|
|
12540
|
-
readonly xs?: csstype.Property.BorderTop<string | number> | undefined;
|
|
12541
|
-
readonly s?: csstype.Property.BorderTop<string | number> | undefined;
|
|
12542
|
-
readonly m?: csstype.Property.BorderTop<string | number> | undefined;
|
|
12543
|
-
readonly l?: csstype.Property.BorderTop<string | number> | undefined;
|
|
12544
|
-
readonly xl?: csstype.Property.BorderTop<string | number> | undefined;
|
|
12545
|
-
} | undefined;
|
|
12546
|
-
__brand__?: "platform-web" | {
|
|
12547
|
-
readonly base?: "platform-web" | undefined;
|
|
12548
|
-
readonly xs?: "platform-web" | undefined;
|
|
12549
|
-
readonly s?: "platform-web" | undefined;
|
|
12550
|
-
readonly m?: "platform-web" | undefined;
|
|
12551
|
-
readonly l?: "platform-web" | undefined;
|
|
12552
|
-
readonly xl?: "platform-web" | undefined;
|
|
12553
|
-
} | undefined;
|
|
12554
|
-
} & {
|
|
12555
|
-
className?: string | undefined;
|
|
12556
|
-
id?: string | undefined;
|
|
12557
|
-
tabIndex?: number | undefined;
|
|
12558
|
-
}> & BladeCommonEvents & {
|
|
12559
|
-
'data-blade-component'?: string | undefined;
|
|
12560
|
-
'data-testid'?: string | undefined;
|
|
12561
|
-
tabIndex: -1;
|
|
12562
|
-
}, "tabIndex" | "data-testid" | "data-blade-component">;
|
|
12738
|
+
}, "visibility">, "__brand__">>) => React__default.ReactElement;
|
|
12739
|
+
|
|
12740
|
+
declare const TabPanel: ({ children, value }: TabPanelProps) => React__default.ReactElement;
|
|
12741
|
+
|
|
12742
|
+
type TagProps = {
|
|
12743
|
+
/**
|
|
12744
|
+
* Decides the size of Tag
|
|
12745
|
+
*
|
|
12746
|
+
* @default medium
|
|
12747
|
+
*/
|
|
12748
|
+
size?: 'medium' | 'large';
|
|
12749
|
+
/**
|
|
12750
|
+
* Leading icon for your Tag
|
|
12751
|
+
*/
|
|
12752
|
+
icon?: IconComponent;
|
|
12753
|
+
/**
|
|
12754
|
+
* Callback when close icon on Tag is clicked
|
|
12755
|
+
*/
|
|
12756
|
+
onDismiss: () => void;
|
|
12757
|
+
/**
|
|
12758
|
+
* Text that renders inside Tag
|
|
12759
|
+
*/
|
|
12760
|
+
children: StringChildrenType;
|
|
12761
|
+
/**
|
|
12762
|
+
* Disable tag
|
|
12763
|
+
*/
|
|
12764
|
+
isDisabled?: boolean;
|
|
12765
|
+
/**
|
|
12766
|
+
* Private property for Blade.
|
|
12767
|
+
*
|
|
12768
|
+
* Should not be used by consumers.
|
|
12769
|
+
*
|
|
12770
|
+
* Used for adding virtual focus on tag.
|
|
12771
|
+
*
|
|
12772
|
+
* @private
|
|
12773
|
+
*/
|
|
12774
|
+
_isVirtuallyFocused?: boolean;
|
|
12775
|
+
/**
|
|
12776
|
+
* Private property for Blade.
|
|
12777
|
+
*
|
|
12778
|
+
* Should not be used by consumers.
|
|
12779
|
+
*
|
|
12780
|
+
* Is tag placed inside an input
|
|
12781
|
+
*
|
|
12782
|
+
* @private
|
|
12783
|
+
*/
|
|
12784
|
+
_isTagInsideInput?: boolean;
|
|
12785
|
+
} & StyledPropsBlade & TestID;
|
|
12786
|
+
|
|
12787
|
+
/**
|
|
12788
|
+
* ## Tags
|
|
12789
|
+
*
|
|
12790
|
+
* Tag component can be used to display selected items on UI.
|
|
12791
|
+
*
|
|
12792
|
+
* ### Usage
|
|
12793
|
+
*
|
|
12794
|
+
* ***Note:*** _Make sure to handle state when using Tag_
|
|
12795
|
+
*
|
|
12796
|
+
* ```jsx
|
|
12797
|
+
* const [showTag, setShowTag] = React.useState(true);
|
|
12798
|
+
*
|
|
12799
|
+
* // ...
|
|
12800
|
+
*
|
|
12801
|
+
* {showTag && (
|
|
12802
|
+
* <Tag
|
|
12803
|
+
* icon={CheckIcon}
|
|
12804
|
+
* onDismiss={() => setShowTag(false)}
|
|
12805
|
+
* >
|
|
12806
|
+
* Transactions
|
|
12807
|
+
* </Tag>
|
|
12808
|
+
* )}
|
|
12809
|
+
* ```
|
|
12810
|
+
*
|
|
12811
|
+
* Checkout [Tags Documentation](https://blade.razorpay.com/?path=/story/components-tag--default) for more info.
|
|
12812
|
+
*
|
|
12813
|
+
*/
|
|
12814
|
+
declare const Tag: ({ size, icon: Icon, onDismiss, children, isDisabled, testID, _isVirtuallyFocused, _isTagInsideInput, ...styledProps }: TagProps) => React__default.ReactElement | null;
|
|
12563
12815
|
|
|
12564
12816
|
declare const ToastContainer: () => React__default.ReactElement;
|
|
12565
12817
|
|
|
@@ -12642,4 +12894,4 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
|
|
|
12642
12894
|
*/
|
|
12643
12895
|
declare const screenReaderStyles: CSSObject;
|
|
12644
12896
|
|
|
12645
|
-
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, AvatarGroupProps, AvatarProps, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeFile, BladeFileList, 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, ButtonGroupProps, 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, FileUploadProps, 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, SpotlightPopoverTour, 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, 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, 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 };
|
|
12897
|
+
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, AvatarGroupProps, AvatarProps, AwardIcon, Badge, BadgeProps, BankAccountVerificationIcon, BankIcon, BarChartAltIcon, BarChartIcon, BarCodeIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BfsiIcon, BillIcon, BladeCommonEvents, BladeFile, BladeFileList, 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, ButtonGroupProps, 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, FileUploadProps, 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, SpotlightPopoverTour, 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, 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, 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, drawerPadding, getHeadingProps, getTextProps, screenReaderStyles, useTheme, useToast };
|