@razorpay/blade 11.20.0 → 11.21.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/lib/native/components/Accordion/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/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/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/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/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/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 +1455 -1227
- package/build/types/components/index.native.d.ts +245 -36
- package/build/types/tokens/index.d.ts +6 -0
- package/build/types/tokens/index.native.d.ts +6 -0
- package/package.json +1 -1
|
@@ -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;
|
|
@@ -9765,392 +9784,140 @@ type RadioGroupProps = {
|
|
|
9765
9784
|
} & TestID & StyledPropsBlade;
|
|
9766
9785
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, isRequired, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
9767
9786
|
|
|
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;
|
|
9787
|
+
type TooltipProps = {
|
|
9866
9788
|
/**
|
|
9867
|
-
*
|
|
9789
|
+
* Tooltip title
|
|
9868
9790
|
*/
|
|
9869
9791
|
title?: string;
|
|
9870
9792
|
/**
|
|
9871
|
-
*
|
|
9872
|
-
*
|
|
9873
|
-
* Can be any blade icon or asset.
|
|
9874
|
-
*/
|
|
9875
|
-
titleLeading?: React.ReactNode;
|
|
9876
|
-
/**
|
|
9877
|
-
* Placement of Popover
|
|
9878
|
-
* @default "top"
|
|
9793
|
+
* Tooltip content
|
|
9879
9794
|
*/
|
|
9880
|
-
|
|
9881
|
-
};
|
|
9882
|
-
type SpotlightPopoverTourSteps = Step[];
|
|
9883
|
-
type SpotlightPopoverTourProps = {
|
|
9795
|
+
content: string;
|
|
9884
9796
|
/**
|
|
9885
|
-
*
|
|
9797
|
+
* Placement of tooltip
|
|
9886
9798
|
*
|
|
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
|
|
9799
|
+
* @default "top"
|
|
9896
9800
|
*/
|
|
9801
|
+
placement?: Exclude<UseFloatingOptions['placement'], 'left-end' | 'left-start' | 'right-end' | 'right-start'>;
|
|
9802
|
+
children: React.ReactElement;
|
|
9897
9803
|
onOpenChange?: ({ isOpen }: {
|
|
9898
9804
|
isOpen: boolean;
|
|
9899
9805
|
}) => void;
|
|
9900
9806
|
/**
|
|
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
|
|
9807
|
+
* Sets the z-index of the modal
|
|
9808
|
+
* @default 1100
|
|
9910
9809
|
*/
|
|
9911
|
-
|
|
9912
|
-
children: React.ReactNode;
|
|
9913
|
-
};
|
|
9914
|
-
type SpotlightPopoverTourStepProps = {
|
|
9915
|
-
name: string;
|
|
9916
|
-
children: React.ReactNode;
|
|
9810
|
+
zIndex?: number;
|
|
9917
9811
|
};
|
|
9918
9812
|
|
|
9919
|
-
declare const
|
|
9813
|
+
declare const Tooltip: ({ title, content, children, placement, onOpenChange, zIndex, }: TooltipProps) => React__default.ReactElement;
|
|
9920
9814
|
|
|
9921
|
-
|
|
9922
|
-
|
|
9923
|
-
|
|
9924
|
-
|
|
9925
|
-
|
|
9926
|
-
|
|
9927
|
-
|
|
9815
|
+
declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Omit<Partial<PaddingProps & MarginProps & {
|
|
9816
|
+
width: SpacingValueType | {
|
|
9817
|
+
readonly base?: SpacingValueType | undefined;
|
|
9818
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9819
|
+
readonly s?: SpacingValueType | undefined;
|
|
9820
|
+
readonly m?: SpacingValueType | undefined;
|
|
9821
|
+
readonly l?: SpacingValueType | undefined;
|
|
9822
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9928
9823
|
};
|
|
9929
|
-
|
|
9930
|
-
|
|
9931
|
-
|
|
9932
|
-
|
|
9933
|
-
|
|
9934
|
-
|
|
9935
|
-
|
|
9936
|
-
|
|
9937
|
-
|
|
9938
|
-
|
|
9939
|
-
|
|
9940
|
-
|
|
9941
|
-
|
|
9942
|
-
|
|
9943
|
-
|
|
9944
|
-
|
|
9945
|
-
|
|
9946
|
-
|
|
9947
|
-
|
|
9948
|
-
|
|
9949
|
-
|
|
9950
|
-
|
|
9951
|
-
|
|
9952
|
-
|
|
9953
|
-
|
|
9954
|
-
|
|
9955
|
-
|
|
9956
|
-
|
|
9957
|
-
|
|
9958
|
-
|
|
9959
|
-
|
|
9960
|
-
|
|
9961
|
-
|
|
9962
|
-
|
|
9963
|
-
|
|
9964
|
-
|
|
9965
|
-
|
|
9966
|
-
|
|
9967
|
-
|
|
9968
|
-
|
|
9969
|
-
|
|
9970
|
-
|
|
9971
|
-
|
|
9972
|
-
|
|
9973
|
-
|
|
9974
|
-
|
|
9975
|
-
|
|
9976
|
-
|
|
9977
|
-
|
|
9978
|
-
|
|
9979
|
-
|
|
9980
|
-
|
|
9981
|
-
|
|
9982
|
-
|
|
9983
|
-
|
|
9984
|
-
|
|
9985
|
-
|
|
9986
|
-
|
|
9987
|
-
|
|
9988
|
-
|
|
9989
|
-
|
|
9990
|
-
|
|
9991
|
-
|
|
9992
|
-
|
|
9993
|
-
|
|
9994
|
-
|
|
9995
|
-
|
|
9996
|
-
|
|
9997
|
-
|
|
9998
|
-
|
|
9999
|
-
|
|
10000
|
-
|
|
10001
|
-
|
|
10002
|
-
|
|
10003
|
-
|
|
10004
|
-
|
|
10005
|
-
|
|
10006
|
-
|
|
10007
|
-
|
|
10008
|
-
|
|
10009
|
-
|
|
10010
|
-
|
|
10011
|
-
|
|
10012
|
-
|
|
10013
|
-
|
|
10014
|
-
|
|
10015
|
-
|
|
10016
|
-
|
|
10017
|
-
|
|
10018
|
-
|
|
10019
|
-
|
|
10020
|
-
|
|
10021
|
-
|
|
10022
|
-
|
|
10023
|
-
|
|
10024
|
-
|
|
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"> & {
|
|
9824
|
+
display?: csstype.Property.Display | {
|
|
9825
|
+
readonly base?: csstype.Property.Display | undefined;
|
|
9826
|
+
readonly xs?: csstype.Property.Display | undefined;
|
|
9827
|
+
readonly s?: csstype.Property.Display | undefined;
|
|
9828
|
+
readonly m?: csstype.Property.Display | undefined;
|
|
9829
|
+
readonly l?: csstype.Property.Display | undefined;
|
|
9830
|
+
readonly xl?: csstype.Property.Display | undefined;
|
|
9831
|
+
} | undefined;
|
|
9832
|
+
height: SpacingValueType | {
|
|
9833
|
+
readonly base?: SpacingValueType | undefined;
|
|
9834
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9835
|
+
readonly s?: SpacingValueType | undefined;
|
|
9836
|
+
readonly m?: SpacingValueType | undefined;
|
|
9837
|
+
readonly l?: SpacingValueType | undefined;
|
|
9838
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9839
|
+
};
|
|
9840
|
+
maxHeight: 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;
|
|
9847
|
+
};
|
|
9848
|
+
maxWidth: SpacingValueType | {
|
|
9849
|
+
readonly base?: SpacingValueType | undefined;
|
|
9850
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9851
|
+
readonly s?: SpacingValueType | undefined;
|
|
9852
|
+
readonly m?: SpacingValueType | undefined;
|
|
9853
|
+
readonly l?: SpacingValueType | undefined;
|
|
9854
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9855
|
+
};
|
|
9856
|
+
minHeight: SpacingValueType | {
|
|
9857
|
+
readonly base?: SpacingValueType | undefined;
|
|
9858
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9859
|
+
readonly s?: SpacingValueType | undefined;
|
|
9860
|
+
readonly m?: SpacingValueType | undefined;
|
|
9861
|
+
readonly l?: SpacingValueType | undefined;
|
|
9862
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9863
|
+
};
|
|
9864
|
+
minWidth: SpacingValueType | {
|
|
9865
|
+
readonly base?: SpacingValueType | undefined;
|
|
9866
|
+
readonly xs?: SpacingValueType | undefined;
|
|
9867
|
+
readonly s?: SpacingValueType | undefined;
|
|
9868
|
+
readonly m?: SpacingValueType | undefined;
|
|
9869
|
+
readonly l?: SpacingValueType | undefined;
|
|
9870
|
+
readonly xl?: SpacingValueType | undefined;
|
|
9871
|
+
};
|
|
9872
|
+
overflowX?: csstype.Property.OverflowX | {
|
|
9873
|
+
readonly base?: csstype.Property.OverflowX | undefined;
|
|
9874
|
+
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
9875
|
+
readonly s?: csstype.Property.OverflowX | undefined;
|
|
9876
|
+
readonly m?: csstype.Property.OverflowX | undefined;
|
|
9877
|
+
readonly l?: csstype.Property.OverflowX | undefined;
|
|
9878
|
+
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
9879
|
+
} | undefined;
|
|
9880
|
+
overflowY?: csstype.Property.OverflowY | {
|
|
9881
|
+
readonly base?: csstype.Property.OverflowY | undefined;
|
|
9882
|
+
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
9883
|
+
readonly s?: csstype.Property.OverflowY | undefined;
|
|
9884
|
+
readonly m?: csstype.Property.OverflowY | undefined;
|
|
9885
|
+
readonly l?: csstype.Property.OverflowY | undefined;
|
|
9886
|
+
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
9887
|
+
} | undefined;
|
|
9888
|
+
textAlign?: csstype.Property.TextAlign | {
|
|
9889
|
+
readonly base?: csstype.Property.TextAlign | undefined;
|
|
9890
|
+
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
9891
|
+
readonly s?: csstype.Property.TextAlign | undefined;
|
|
9892
|
+
readonly m?: csstype.Property.TextAlign | undefined;
|
|
9893
|
+
readonly l?: csstype.Property.TextAlign | undefined;
|
|
9894
|
+
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
9895
|
+
} | undefined;
|
|
9896
|
+
whiteSpace?: csstype.Property.WhiteSpace | {
|
|
9897
|
+
readonly base?: csstype.Property.WhiteSpace | undefined;
|
|
9898
|
+
readonly xs?: csstype.Property.WhiteSpace | undefined;
|
|
9899
|
+
readonly s?: csstype.Property.WhiteSpace | undefined;
|
|
9900
|
+
readonly m?: csstype.Property.WhiteSpace | undefined;
|
|
9901
|
+
readonly l?: csstype.Property.WhiteSpace | undefined;
|
|
9902
|
+
readonly xl?: csstype.Property.WhiteSpace | undefined;
|
|
9903
|
+
} | undefined;
|
|
9904
|
+
overflow?: csstype.Property.Overflow | {
|
|
9905
|
+
readonly base?: csstype.Property.Overflow | undefined;
|
|
9906
|
+
readonly xs?: csstype.Property.Overflow | undefined;
|
|
9907
|
+
readonly s?: csstype.Property.Overflow | undefined;
|
|
9908
|
+
readonly m?: csstype.Property.Overflow | undefined;
|
|
9909
|
+
readonly l?: csstype.Property.Overflow | undefined;
|
|
9910
|
+
readonly xl?: csstype.Property.Overflow | undefined;
|
|
9911
|
+
} | undefined;
|
|
9912
|
+
__brand__?: "platform-web" | {
|
|
9913
|
+
readonly base?: "platform-web" | undefined;
|
|
9914
|
+
readonly xs?: "platform-web" | undefined;
|
|
9915
|
+
readonly s?: "platform-web" | undefined;
|
|
9916
|
+
readonly m?: "platform-web" | undefined;
|
|
9917
|
+
readonly l?: "platform-web" | undefined;
|
|
9918
|
+
readonly xl?: "platform-web" | undefined;
|
|
9919
|
+
} | undefined;
|
|
9920
|
+
} & FlexboxProps & {
|
|
10154
9921
|
bottom: SpacingValueType | {
|
|
10155
9922
|
readonly base?: SpacingValueType | undefined;
|
|
10156
9923
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -10207,7 +9974,7 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10207
9974
|
readonly l?: "platform-web" | undefined;
|
|
10208
9975
|
readonly xl?: "platform-web" | undefined;
|
|
10209
9976
|
} | undefined;
|
|
10210
|
-
} &
|
|
9977
|
+
} & {
|
|
10211
9978
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
10212
9979
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
10213
9980
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -10336,112 +10103,20 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10336
10103
|
readonly l?: "platform-web" | undefined;
|
|
10337
10104
|
readonly xl?: "platform-web" | undefined;
|
|
10338
10105
|
} | 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<{
|
|
10106
|
+
} & {
|
|
10107
|
+
onMouseOver: React$1.MouseEventHandler<HTMLElement>;
|
|
10108
|
+
onMouseEnter: React$1.MouseEventHandler<HTMLElement>;
|
|
10109
|
+
onMouseLeave: React$1.MouseEventHandler<HTMLElement>;
|
|
10110
|
+
onScroll: React$1.UIEventHandler<HTMLElement>;
|
|
10111
|
+
} & {
|
|
10112
|
+
draggable: boolean;
|
|
10113
|
+
onDragStart: React$1.DragEventHandler<HTMLElement>;
|
|
10114
|
+
onDragEnter: React$1.DragEventHandler<HTMLElement>;
|
|
10115
|
+
onDragLeave: React$1.DragEventHandler<HTMLElement>;
|
|
10116
|
+
onDragOver: React$1.DragEventHandler<HTMLElement>;
|
|
10117
|
+
onDragEnd: React$1.DragEventHandler<HTMLElement>;
|
|
10118
|
+
onDrop: React$1.DragEventHandler<HTMLElement>;
|
|
10119
|
+
} & {
|
|
10445
10120
|
elevation?: ElevationLevels | {
|
|
10446
10121
|
readonly base?: ElevationLevels | undefined;
|
|
10447
10122
|
readonly xs?: ElevationLevels | undefined;
|
|
@@ -10706,508 +10381,724 @@ declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
|
10706
10381
|
readonly l?: "platform-web" | undefined;
|
|
10707
10382
|
readonly xl?: "platform-web" | undefined;
|
|
10708
10383
|
} | undefined;
|
|
10709
|
-
}
|
|
10384
|
+
} & MakeObjectResponsive<{
|
|
10385
|
+
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";
|
|
10386
|
+
}, "backgroundColor"> & {
|
|
10387
|
+
as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
|
|
10388
|
+
} & {
|
|
10389
|
+
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
10390
|
+
tabIndex?: number | undefined;
|
|
10391
|
+
id?: string | undefined;
|
|
10392
|
+
} & TestID>, "backgroundColor" | "as"> & Partial<{
|
|
10393
|
+
border?: csstype.Property.Border<string | number> | {
|
|
10394
|
+
readonly base?: csstype.Property.Border<string | number> | undefined;
|
|
10395
|
+
readonly xs?: csstype.Property.Border<string | number> | undefined;
|
|
10396
|
+
readonly s?: csstype.Property.Border<string | number> | undefined;
|
|
10397
|
+
readonly m?: csstype.Property.Border<string | number> | undefined;
|
|
10398
|
+
readonly l?: csstype.Property.Border<string | number> | undefined;
|
|
10399
|
+
readonly xl?: csstype.Property.Border<string | number> | undefined;
|
|
10400
|
+
} | undefined;
|
|
10401
|
+
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>) | {
|
|
10402
|
+
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;
|
|
10403
|
+
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;
|
|
10404
|
+
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;
|
|
10405
|
+
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;
|
|
10406
|
+
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;
|
|
10407
|
+
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;
|
|
10408
|
+
};
|
|
10409
|
+
cursor?: csstype.Property.Cursor | {
|
|
10410
|
+
readonly base?: csstype.Property.Cursor | undefined;
|
|
10411
|
+
readonly xs?: csstype.Property.Cursor | undefined;
|
|
10412
|
+
readonly s?: csstype.Property.Cursor | undefined;
|
|
10413
|
+
readonly m?: csstype.Property.Cursor | undefined;
|
|
10414
|
+
readonly l?: csstype.Property.Cursor | undefined;
|
|
10415
|
+
readonly xl?: csstype.Property.Cursor | undefined;
|
|
10416
|
+
} | undefined;
|
|
10417
|
+
lineHeight: SpacingValueType | {
|
|
10418
|
+
readonly base?: SpacingValueType | undefined;
|
|
10419
|
+
readonly xs?: SpacingValueType | undefined;
|
|
10420
|
+
readonly s?: SpacingValueType | undefined;
|
|
10421
|
+
readonly m?: SpacingValueType | undefined;
|
|
10422
|
+
readonly l?: SpacingValueType | undefined;
|
|
10423
|
+
readonly xl?: SpacingValueType | undefined;
|
|
10424
|
+
};
|
|
10425
|
+
opacity?: csstype.Property.Opacity | {
|
|
10426
|
+
readonly base?: csstype.Property.Opacity | undefined;
|
|
10427
|
+
readonly xs?: csstype.Property.Opacity | undefined;
|
|
10428
|
+
readonly s?: csstype.Property.Opacity | undefined;
|
|
10429
|
+
readonly m?: csstype.Property.Opacity | undefined;
|
|
10430
|
+
readonly l?: csstype.Property.Opacity | undefined;
|
|
10431
|
+
readonly xl?: csstype.Property.Opacity | undefined;
|
|
10432
|
+
} | undefined;
|
|
10433
|
+
pointerEvents?: csstype.Property.PointerEvents | {
|
|
10434
|
+
readonly base?: csstype.Property.PointerEvents | undefined;
|
|
10435
|
+
readonly xs?: csstype.Property.PointerEvents | undefined;
|
|
10436
|
+
readonly s?: csstype.Property.PointerEvents | undefined;
|
|
10437
|
+
readonly m?: csstype.Property.PointerEvents | undefined;
|
|
10438
|
+
readonly l?: csstype.Property.PointerEvents | undefined;
|
|
10439
|
+
readonly xl?: csstype.Property.PointerEvents | undefined;
|
|
10440
|
+
} | undefined;
|
|
10441
|
+
touchAction: csstype.Property.TouchAction | {
|
|
10442
|
+
readonly base?: csstype.Property.TouchAction | undefined;
|
|
10443
|
+
readonly xs?: csstype.Property.TouchAction | undefined;
|
|
10444
|
+
readonly s?: csstype.Property.TouchAction | undefined;
|
|
10445
|
+
readonly m?: csstype.Property.TouchAction | undefined;
|
|
10446
|
+
readonly l?: csstype.Property.TouchAction | undefined;
|
|
10447
|
+
readonly xl?: csstype.Property.TouchAction | undefined;
|
|
10448
|
+
} | undefined;
|
|
10449
|
+
userSelect: csstype.Property.UserSelect | {
|
|
10450
|
+
readonly base?: csstype.Property.UserSelect | undefined;
|
|
10451
|
+
readonly xs?: csstype.Property.UserSelect | undefined;
|
|
10452
|
+
readonly s?: csstype.Property.UserSelect | undefined;
|
|
10453
|
+
readonly m?: csstype.Property.UserSelect | undefined;
|
|
10454
|
+
readonly l?: csstype.Property.UserSelect | undefined;
|
|
10455
|
+
readonly xl?: csstype.Property.UserSelect | undefined;
|
|
10456
|
+
} | undefined;
|
|
10457
|
+
borderBottom?: csstype.Property.BorderBottom<string | number> | {
|
|
10458
|
+
readonly base?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10459
|
+
readonly xs?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10460
|
+
readonly s?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10461
|
+
readonly m?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10462
|
+
readonly l?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10463
|
+
readonly xl?: csstype.Property.BorderBottom<string | number> | undefined;
|
|
10464
|
+
} | undefined;
|
|
10465
|
+
borderLeft?: csstype.Property.BorderLeft<string | number> | {
|
|
10466
|
+
readonly base?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10467
|
+
readonly xs?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10468
|
+
readonly s?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10469
|
+
readonly m?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10470
|
+
readonly l?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10471
|
+
readonly xl?: csstype.Property.BorderLeft<string | number> | undefined;
|
|
10472
|
+
} | undefined;
|
|
10473
|
+
borderRight?: csstype.Property.BorderRight<string | number> | {
|
|
10474
|
+
readonly base?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10475
|
+
readonly xs?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10476
|
+
readonly s?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10477
|
+
readonly m?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10478
|
+
readonly l?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10479
|
+
readonly xl?: csstype.Property.BorderRight<string | number> | undefined;
|
|
10480
|
+
} | undefined;
|
|
10481
|
+
borderTop?: csstype.Property.BorderTop<string | number> | {
|
|
10482
|
+
readonly base?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10483
|
+
readonly xs?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10484
|
+
readonly s?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10485
|
+
readonly m?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10486
|
+
readonly l?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10487
|
+
readonly xl?: csstype.Property.BorderTop<string | number> | undefined;
|
|
10488
|
+
} | undefined;
|
|
10489
|
+
__brand__?: "platform-web" | {
|
|
10490
|
+
readonly base?: "platform-web" | undefined;
|
|
10491
|
+
readonly xs?: "platform-web" | undefined;
|
|
10492
|
+
readonly s?: "platform-web" | undefined;
|
|
10493
|
+
readonly m?: "platform-web" | undefined;
|
|
10494
|
+
readonly l?: "platform-web" | undefined;
|
|
10495
|
+
readonly xl?: "platform-web" | undefined;
|
|
10496
|
+
} | undefined;
|
|
10497
|
+
} & {
|
|
10498
|
+
className?: string | undefined;
|
|
10499
|
+
id?: string | undefined;
|
|
10500
|
+
tabIndex?: number | undefined;
|
|
10501
|
+
}> & BladeCommonEvents & {
|
|
10502
|
+
'data-blade-component'?: string | undefined;
|
|
10503
|
+
'data-testid'?: string | undefined;
|
|
10504
|
+
tabIndex: -1;
|
|
10505
|
+
}, "tabIndex" | "data-testid" | "data-blade-component">;
|
|
10710
10506
|
|
|
10711
|
-
type
|
|
10712
|
-
id: Identifier;
|
|
10713
|
-
};
|
|
10714
|
-
type TableData<Item> = {
|
|
10715
|
-
nodes: TableNode<Item>[];
|
|
10716
|
-
};
|
|
10717
|
-
type TableBackgroundColors = `surface.background.gray.${DotNotationToken<Theme['colors']['surface']['background']['gray']>}`;
|
|
10718
|
-
type TableHeaderProps = {
|
|
10507
|
+
type SideNavProps = {
|
|
10719
10508
|
/**
|
|
10720
|
-
*
|
|
10721
|
-
*
|
|
10722
|
-
*
|
|
10723
|
-
|
|
10724
|
-
|
|
10725
|
-
* </TableHeaderRow>
|
|
10726
|
-
* </TableHeader>
|
|
10727
|
-
**/
|
|
10728
|
-
children: React.ReactNode;
|
|
10729
|
-
};
|
|
10730
|
-
type TableHeaderRowProps = {
|
|
10509
|
+
* Children slot.
|
|
10510
|
+
*
|
|
10511
|
+
* Supports SideNavFooter, SideNavBody
|
|
10512
|
+
*/
|
|
10513
|
+
children: React__default.ReactNode;
|
|
10731
10514
|
/**
|
|
10732
|
-
*
|
|
10733
|
-
*
|
|
10734
|
-
*
|
|
10735
|
-
* <TableHeaderRow>
|
|
10736
|
-
* <TableHeaderCell>Header Cell 1</TableHeaderCell>
|
|
10737
|
-
* </TableHeaderRow>
|
|
10738
|
-
* </TableHeader>
|
|
10739
|
-
**/
|
|
10740
|
-
children: React.ReactNode;
|
|
10741
|
-
/**
|
|
10742
|
-
* The rowDensity prop determines the density of the table.
|
|
10743
|
-
* The rowDensity prop can be 'compact', 'normal', or'comfortable'.
|
|
10744
|
-
* The default value is `normal`.
|
|
10745
|
-
**/
|
|
10746
|
-
rowDensity?: TableProps<unknown>['rowDensity'];
|
|
10747
|
-
};
|
|
10748
|
-
type TableHeaderCellProps = {
|
|
10749
|
-
/**
|
|
10750
|
-
* The children of TableHeaderCell can be a string or a ReactNode.
|
|
10751
|
-
**/
|
|
10752
|
-
children: string | React.ReactNode;
|
|
10753
|
-
/**
|
|
10754
|
-
* The unique key of the column.
|
|
10755
|
-
* This is used to identify the column for sorting in sortFunctions prop of Table.
|
|
10756
|
-
* Sorting is enabled only for columns whose key is present in sortableColumns prop of Table.
|
|
10757
|
-
**/
|
|
10758
|
-
headerKey?: string;
|
|
10759
|
-
};
|
|
10760
|
-
type TableProps<Item> = {
|
|
10761
|
-
/**
|
|
10762
|
-
* The children of the Table component should be a function that returns TableHeader, TableBody and TableFooter components.
|
|
10763
|
-
* The function will be called with the tableData prop.
|
|
10515
|
+
* **Only applicable in mobile**
|
|
10516
|
+
*
|
|
10517
|
+
* State for opening / closing the SideNav in mobile
|
|
10764
10518
|
*/
|
|
10765
|
-
|
|
10519
|
+
isOpen?: DrawerProps['isOpen'];
|
|
10766
10520
|
/**
|
|
10767
|
-
*
|
|
10768
|
-
*
|
|
10769
|
-
*
|
|
10521
|
+
* **Only applicable in mobile**
|
|
10522
|
+
*
|
|
10523
|
+
* Callback when SideNav is closed
|
|
10770
10524
|
*/
|
|
10771
|
-
|
|
10772
|
-
/**
|
|
10773
|
-
* The selectionType prop determines the type of selection that is allowed on the table.
|
|
10774
|
-
* The selectionType prop can be 'none', 'single' or 'multiple'.
|
|
10775
|
-
* @default 'none'
|
|
10776
|
-
**/
|
|
10777
|
-
selectionType?: 'none' | 'single' | 'multiple';
|
|
10778
|
-
/**
|
|
10779
|
-
* The onSelectionChange prop is a function that is called when the selection changes.
|
|
10780
|
-
* The function is called with an object that has a values property that is an array of the selected rows.
|
|
10781
|
-
**/
|
|
10782
|
-
onSelectionChange?: ({ values }: {
|
|
10783
|
-
values: TableNode<Item>[];
|
|
10784
|
-
}) => void;
|
|
10785
|
-
/**
|
|
10786
|
-
* The isHeaderSticky prop determines whether the table header is sticky or not.
|
|
10787
|
-
* The default value is `false`.
|
|
10788
|
-
**/
|
|
10789
|
-
isHeaderSticky?: boolean;
|
|
10790
|
-
/**
|
|
10791
|
-
* The isFooterSticky prop determines whether the table footer is sticky or not.
|
|
10792
|
-
* The default value is `false`.
|
|
10793
|
-
**/
|
|
10794
|
-
isFooterSticky?: boolean;
|
|
10795
|
-
/**
|
|
10796
|
-
* The isFirstColumnSticky prop determines whether the first column is sticky or not.
|
|
10797
|
-
* The default value is `false`.
|
|
10798
|
-
**/
|
|
10799
|
-
isFirstColumnSticky?: boolean;
|
|
10525
|
+
onDismiss?: DrawerProps['onDismiss'];
|
|
10800
10526
|
/**
|
|
10801
|
-
*
|
|
10802
|
-
*
|
|
10803
|
-
*
|
|
10804
|
-
|
|
10805
|
-
|
|
10527
|
+
* Banner slot for usecases like adding Activation Panel
|
|
10528
|
+
*
|
|
10529
|
+
* **IMPORTANT** Avoid adding promotional items in this
|
|
10530
|
+
*/
|
|
10531
|
+
banner?: React__default.ReactElement;
|
|
10532
|
+
} & StyledPropsBlade & TestID;
|
|
10533
|
+
type SideNavLinkProps = {
|
|
10806
10534
|
/**
|
|
10807
|
-
*
|
|
10808
|
-
|
|
10809
|
-
|
|
10810
|
-
onSortChange?: ({ sortKey, isSortReversed, }: {
|
|
10811
|
-
sortKey: TableHeaderCellProps['headerKey'];
|
|
10812
|
-
isSortReversed: boolean;
|
|
10813
|
-
}) => void;
|
|
10535
|
+
* title of the Link
|
|
10536
|
+
*/
|
|
10537
|
+
title: string;
|
|
10814
10538
|
/**
|
|
10815
|
-
*
|
|
10816
|
-
*
|
|
10817
|
-
*
|
|
10818
|
-
|
|
10819
|
-
|
|
10820
|
-
sortFunctions?: Record<string, (array: TableNode<Item>[]) => TableNode<Item>[]>;
|
|
10539
|
+
* Slot after the title.
|
|
10540
|
+
*
|
|
10541
|
+
* Used for <Badge />, <Counter /> in most cases
|
|
10542
|
+
*/
|
|
10543
|
+
titleSuffix?: React__default.ReactElement;
|
|
10821
10544
|
/**
|
|
10822
|
-
*
|
|
10823
|
-
*
|
|
10824
|
-
|
|
10825
|
-
|
|
10545
|
+
* Trailing slot for item. Only visible on hover of the item
|
|
10546
|
+
*
|
|
10547
|
+
* Used for <Button />
|
|
10548
|
+
*/
|
|
10549
|
+
trailing?: React__default.ReactElement;
|
|
10826
10550
|
/**
|
|
10827
|
-
*
|
|
10828
|
-
|
|
10829
|
-
|
|
10830
|
-
pagination?: React.ReactElement;
|
|
10551
|
+
* href of the link
|
|
10552
|
+
*/
|
|
10553
|
+
href?: LinkProps['href'];
|
|
10831
10554
|
/**
|
|
10832
|
-
*
|
|
10833
|
-
|
|
10834
|
-
|
|
10555
|
+
* Anchor tag `target` attribute
|
|
10556
|
+
*/
|
|
10557
|
+
target?: LinkProps['target'];
|
|
10835
10558
|
/**
|
|
10836
|
-
*
|
|
10837
|
-
*
|
|
10838
|
-
|
|
10839
|
-
|
|
10559
|
+
* as prop to pass ReactRouter's Link component.
|
|
10560
|
+
*
|
|
10561
|
+
* ```jsx
|
|
10562
|
+
* import { Link } from 'react-router-dom';
|
|
10563
|
+
*
|
|
10564
|
+
* <SideNavLink as={Link} />
|
|
10565
|
+
* ```
|
|
10566
|
+
*/
|
|
10567
|
+
as: React__default.ComponentType<any>;
|
|
10840
10568
|
/**
|
|
10841
|
-
*
|
|
10842
|
-
*
|
|
10843
|
-
|
|
10844
|
-
|
|
10569
|
+
* Set Active state of SideNavLink.
|
|
10570
|
+
*
|
|
10571
|
+
* Checkout SideNav documentation for usage
|
|
10572
|
+
*/
|
|
10573
|
+
isActive?: boolean;
|
|
10845
10574
|
/**
|
|
10846
|
-
*
|
|
10847
|
-
|
|
10848
|
-
|
|
10849
|
-
isLoading?: boolean;
|
|
10575
|
+
* Leading icon for SideNavLink
|
|
10576
|
+
*/
|
|
10577
|
+
icon?: IconComponent;
|
|
10850
10578
|
/**
|
|
10851
|
-
*
|
|
10852
|
-
*
|
|
10853
|
-
|
|
10854
|
-
|
|
10855
|
-
|
|
10856
|
-
|
|
10857
|
-
|
|
10579
|
+
* Children slot to add Nested Menu
|
|
10580
|
+
*
|
|
10581
|
+
* ```jsx
|
|
10582
|
+
* <SideNavLink title="L2 Trigger" href="/l2-first-item">
|
|
10583
|
+
* <SideNavLevel>
|
|
10584
|
+
* <SideNavLink title="L2 Item" href="/l2-first-item" />
|
|
10585
|
+
* <SideNavLink title="L2 Item 2" href="/l2-second-item" />
|
|
10586
|
+
* </SideNavLevel>
|
|
10587
|
+
* </SideNavLink>
|
|
10588
|
+
* ```
|
|
10589
|
+
*/
|
|
10590
|
+
children?: React__default.ReactElement;
|
|
10858
10591
|
/**
|
|
10859
|
-
*
|
|
10860
|
-
*
|
|
10861
|
-
*
|
|
10862
|
-
*
|
|
10863
|
-
*
|
|
10864
|
-
*
|
|
10865
|
-
*
|
|
10866
|
-
|
|
10867
|
-
|
|
10592
|
+
* Tooltip object to add tooltip to SideNavLink
|
|
10593
|
+
*
|
|
10594
|
+
* ```jsx
|
|
10595
|
+
* <SideNavLink
|
|
10596
|
+
* tooltip={{
|
|
10597
|
+
* title: 'Tooltip Title',
|
|
10598
|
+
* content: 'Tooltip description'
|
|
10599
|
+
* }}
|
|
10600
|
+
* />
|
|
10601
|
+
* ```
|
|
10602
|
+
*/
|
|
10603
|
+
tooltip?: Pick<TooltipProps, 'title' | 'content' | 'onOpenChange'>;
|
|
10868
10604
|
};
|
|
10869
|
-
type
|
|
10870
|
-
|
|
10871
|
-
* The children of the TableRow component should be TableCell components.
|
|
10872
|
-
* @example
|
|
10873
|
-
* <TableRow>
|
|
10874
|
-
* <TableCell>...</TableCell>
|
|
10875
|
-
* </TableRow>
|
|
10876
|
-
**/
|
|
10877
|
-
children: React.ReactNode;
|
|
10878
|
-
/**
|
|
10879
|
-
* The item prop is used to pass the individual table item to the TableRow component.
|
|
10880
|
-
* @example
|
|
10881
|
-
* tableData.map((tableItem) => (
|
|
10882
|
-
* <TableRow item={item}>
|
|
10883
|
-
* <TableCell>...</TableCell>
|
|
10884
|
-
* </TableRow>
|
|
10885
|
-
* ));
|
|
10886
|
-
**/
|
|
10887
|
-
item: TableNode<Item>;
|
|
10605
|
+
type SideNavSectionProps = {
|
|
10606
|
+
title?: string;
|
|
10888
10607
|
/**
|
|
10889
|
-
*
|
|
10890
|
-
|
|
10891
|
-
|
|
10892
|
-
* <TableCell>...</TableCell>
|
|
10893
|
-
* </TableRow>
|
|
10894
|
-
**/
|
|
10895
|
-
isDisabled?: boolean;
|
|
10608
|
+
* Number of items after which the items are collapsed into `+x more`
|
|
10609
|
+
*/
|
|
10610
|
+
maxVisibleItems?: number;
|
|
10896
10611
|
/**
|
|
10897
|
-
*
|
|
10612
|
+
* Default value if the nav section is expanded or collapsed after maxVisibleItems
|
|
10613
|
+
*
|
|
10614
|
+
* @default false
|
|
10898
10615
|
*/
|
|
10899
|
-
|
|
10900
|
-
item: TableNode<Item>;
|
|
10901
|
-
}) => void;
|
|
10616
|
+
defaultIsExpanded?: boolean;
|
|
10902
10617
|
/**
|
|
10903
|
-
* Callback
|
|
10618
|
+
* Callback when `+x more is clicked`
|
|
10904
10619
|
*/
|
|
10905
|
-
|
|
10906
|
-
|
|
10620
|
+
onExpandChange?: ({ isExpanded }: {
|
|
10621
|
+
isExpanded: boolean;
|
|
10907
10622
|
}) => void;
|
|
10908
|
-
};
|
|
10909
|
-
type TableCellProps = {
|
|
10910
10623
|
/**
|
|
10911
|
-
*
|
|
10912
|
-
|
|
10913
|
-
|
|
10914
|
-
* <TableCell>
|
|
10915
|
-
* <Text>...</Text>
|
|
10916
|
-
* </TableCell>
|
|
10917
|
-
* <TableCell>
|
|
10918
|
-
* <Button>...</Button>
|
|
10919
|
-
* </TableCell>
|
|
10920
|
-
**/
|
|
10921
|
-
children: React.ReactNode;
|
|
10624
|
+
* Children slot for SideNavLink
|
|
10625
|
+
*/
|
|
10626
|
+
children: React__default.ReactElement[];
|
|
10922
10627
|
};
|
|
10923
|
-
type
|
|
10628
|
+
type SideNavFooterProps = {
|
|
10924
10629
|
/**
|
|
10925
|
-
*
|
|
10926
|
-
|
|
10927
|
-
|
|
10928
|
-
* <TableFooterRow>
|
|
10929
|
-
* <TableFooterCell>Footer Cell 1</TableFooterCell>
|
|
10930
|
-
* </TableFooterRow>
|
|
10931
|
-
* </TableFooter>
|
|
10932
|
-
**/
|
|
10933
|
-
children: React.ReactNode;
|
|
10630
|
+
* Children slot for SideNavLink, SideNavItem
|
|
10631
|
+
*/
|
|
10632
|
+
children: React__default.ReactElement[] | React__default.ReactElement;
|
|
10934
10633
|
};
|
|
10935
|
-
type
|
|
10634
|
+
type SideNavItemProps = {
|
|
10936
10635
|
/**
|
|
10937
|
-
*
|
|
10938
|
-
*
|
|
10939
|
-
*
|
|
10940
|
-
|
|
10941
|
-
|
|
10942
|
-
* </TableFooterRow>
|
|
10943
|
-
* </TableFooter>
|
|
10944
|
-
**/
|
|
10945
|
-
children: React.ReactNode;
|
|
10946
|
-
};
|
|
10947
|
-
type TableFooterCellProps = {
|
|
10636
|
+
* Leading slot for SideNavItem.
|
|
10637
|
+
*
|
|
10638
|
+
* Meant for Indicator, Icon, etc
|
|
10639
|
+
*/
|
|
10640
|
+
leading: React__default.ReactElement;
|
|
10948
10641
|
/**
|
|
10949
|
-
*
|
|
10950
|
-
|
|
10951
|
-
|
|
10952
|
-
|
|
10953
|
-
|
|
10642
|
+
* Trailing slot for SideNavItem.
|
|
10643
|
+
*
|
|
10644
|
+
* Meant for Button, Switch, etc
|
|
10645
|
+
*/
|
|
10646
|
+
trailing: React__default.ReactElement;
|
|
10954
10647
|
/**
|
|
10955
|
-
*
|
|
10956
|
-
|
|
10957
|
-
|
|
10958
|
-
**/
|
|
10959
|
-
defaultPageSize?: 10 | 25 | 50;
|
|
10648
|
+
* Title of SideNavItem
|
|
10649
|
+
*/
|
|
10650
|
+
title: string;
|
|
10960
10651
|
/**
|
|
10961
|
-
*
|
|
10962
|
-
|
|
10963
|
-
|
|
10652
|
+
* Render item of container. Use as="label" when using Switch or form input in trailing
|
|
10653
|
+
*
|
|
10654
|
+
* @default div
|
|
10655
|
+
*/
|
|
10656
|
+
as?: 'label' | 'div';
|
|
10964
10657
|
/**
|
|
10965
|
-
*
|
|
10658
|
+
* backgroundColor of the item
|
|
10659
|
+
*
|
|
10660
|
+
* @default undefined
|
|
10966
10661
|
*/
|
|
10967
|
-
|
|
10968
|
-
pageSize: number;
|
|
10969
|
-
}) => void;
|
|
10662
|
+
backgroundColor?: BaseBoxProps['backgroundColor'];
|
|
10970
10663
|
/**
|
|
10971
|
-
*
|
|
10972
|
-
*
|
|
10973
|
-
*
|
|
10974
|
-
|
|
10975
|
-
|
|
10976
|
-
|
|
10977
|
-
*
|
|
10978
|
-
*
|
|
10979
|
-
*
|
|
10980
|
-
|
|
10981
|
-
showPageNumberSelector?: boolean;
|
|
10982
|
-
/**
|
|
10983
|
-
* Content of the label to be shown in the pagination component
|
|
10984
|
-
* @default `Showing 1 to ${totalItems} Items`
|
|
10985
|
-
*/
|
|
10986
|
-
label?: string;
|
|
10987
|
-
/**
|
|
10988
|
-
* Whether to show the label. It will be always be hidden on mobile.
|
|
10989
|
-
* @default false
|
|
10990
|
-
*/
|
|
10991
|
-
showLabel?: boolean;
|
|
10992
|
-
};
|
|
10993
|
-
type TablePaginationType = 'client' | 'server';
|
|
10994
|
-
type TablePaginationServerProps = TablePaginationCommonProps & {
|
|
10995
|
-
/**
|
|
10996
|
-
* Whether the pagination is happening on client or server.
|
|
10997
|
-
* 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.
|
|
10998
|
-
* 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.
|
|
10999
|
-
* When paginationType is `server`, the `onPageChange` & `totalItemCount` props are required.
|
|
11000
|
-
* @default 'client'
|
|
11001
|
-
* */
|
|
11002
|
-
paginationType?: Extract<TablePaginationType, 'server'>;
|
|
11003
|
-
/**
|
|
11004
|
-
* 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.
|
|
11005
|
-
*/
|
|
11006
|
-
totalItemCount: number;
|
|
11007
|
-
/**
|
|
11008
|
-
* Callback function that is called when the page is changed
|
|
10664
|
+
* Tooltip object to add tooltip to SideNavItem
|
|
10665
|
+
*
|
|
10666
|
+
* ```jsx
|
|
10667
|
+
* <SideNavItem
|
|
10668
|
+
* tooltip={{
|
|
10669
|
+
* title: 'Tooltip Title',
|
|
10670
|
+
* content: 'Tooltip description'
|
|
10671
|
+
* }}
|
|
10672
|
+
* />
|
|
10673
|
+
* ```
|
|
11009
10674
|
*/
|
|
11010
|
-
|
|
11011
|
-
page: number;
|
|
11012
|
-
}) => void;
|
|
10675
|
+
tooltip?: SideNavLinkProps['tooltip'];
|
|
11013
10676
|
};
|
|
11014
|
-
type
|
|
11015
|
-
|
|
11016
|
-
* Whether the pagination is happening on client or server.
|
|
11017
|
-
* 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.
|
|
11018
|
-
* 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.
|
|
11019
|
-
* When paginationType is `server`, the `onPageChange` & `totalItemCount` props are required.
|
|
11020
|
-
* @default 'client'
|
|
11021
|
-
* */
|
|
11022
|
-
paginationType?: Extract<TablePaginationType, 'client'>;
|
|
11023
|
-
/**
|
|
11024
|
-
* 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.
|
|
11025
|
-
*/
|
|
11026
|
-
totalItemCount?: number;
|
|
11027
|
-
/**
|
|
11028
|
-
* Callback function that is called when the page is changed
|
|
11029
|
-
*/
|
|
11030
|
-
onPageChange?: ({ page }: {
|
|
11031
|
-
page: number;
|
|
11032
|
-
}) => void;
|
|
10677
|
+
type SideNavBodyProps = {
|
|
10678
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
11033
10679
|
};
|
|
11034
|
-
type
|
|
11035
|
-
|
|
11036
|
-
/**
|
|
11037
|
-
* The children of TableToolbar should be TableToolbarActions
|
|
11038
|
-
*/
|
|
11039
|
-
children?: React.ReactNode;
|
|
11040
|
-
/**
|
|
11041
|
-
* The title of the TableToolbar. If not provided, it will show the default title.
|
|
11042
|
-
* @default `Showing 1 to ${totalItems} Items`
|
|
11043
|
-
*/
|
|
11044
|
-
title?: string;
|
|
11045
|
-
/**
|
|
11046
|
-
* The title to show when items are selected. If not provided, it will show the default title.
|
|
11047
|
-
* @default `${selectedRows.length} 'Items'} Selected`
|
|
11048
|
-
*/
|
|
11049
|
-
selectedTitle?: string;
|
|
10680
|
+
type SideNavLevelProps = {
|
|
10681
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
11050
10682
|
};
|
|
11051
|
-
type TableToolbarActionsProps = {
|
|
11052
|
-
children?: React.ReactNode;
|
|
11053
|
-
} & StyledPropsBlade;
|
|
11054
10683
|
|
|
11055
|
-
|
|
10684
|
+
/**
|
|
10685
|
+
* ### SideNav component
|
|
10686
|
+
*
|
|
10687
|
+
* The side navigation is positioned along the left side of the screen that provides quick access to different sections or functionalities of the application.
|
|
10688
|
+
*
|
|
10689
|
+
* ---
|
|
10690
|
+
*
|
|
10691
|
+
* #### Usage
|
|
10692
|
+
*
|
|
10693
|
+
* 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)
|
|
10694
|
+
*
|
|
10695
|
+
*/
|
|
10696
|
+
declare const SideNav: ({ children, isOpen, onDismiss, banner, testID, ...styledProps }: SideNavProps) => React__default.ReactElement;
|
|
11056
10697
|
|
|
11057
|
-
declare const
|
|
11058
|
-
declare const TableHeaderCell: ({ children, headerKey }: TableHeaderCellProps) => React__default.ReactElement;
|
|
11059
|
-
declare const TableHeaderRow: ({ children, rowDensity }: TableHeaderRowProps) => React__default.ReactElement;
|
|
10698
|
+
declare const SideNavLink: ({ title, href, children, titleSuffix, trailing, isActive, icon, tooltip, as, target, }: SideNavLinkProps) => React__default.ReactElement;
|
|
11060
10699
|
|
|
11061
|
-
declare const
|
|
11062
|
-
declare const TableCell: ({ children }: TableCellProps) => React__default.ReactElement;
|
|
11063
|
-
declare const TableRow: <Item>({ children, item, isDisabled, onHover, onClick, }: TableRowProps<Item>) => React__default.ReactElement;
|
|
10700
|
+
declare const SideNavLevel: ({ children }: SideNavLevelProps) => React__default.ReactElement;
|
|
11064
10701
|
|
|
11065
|
-
declare const
|
|
11066
|
-
declare const TableFooterRow: ({ children }: TableFooterRowProps) => React__default.ReactElement;
|
|
11067
|
-
declare const TableFooterCell: ({ children }: TableFooterCellProps) => React__default.ReactElement;
|
|
10702
|
+
declare const SideNavSection: ({ children, title, defaultIsExpanded, maxVisibleItems, onExpandChange, }: SideNavSectionProps) => React__default.ReactElement;
|
|
11068
10703
|
|
|
11069
|
-
declare const
|
|
10704
|
+
declare const SideNavItem: ({ leading, trailing, title, backgroundColor, tooltip, as, }: SideNavItemProps) => React.ReactElement;
|
|
11070
10705
|
|
|
11071
|
-
declare const
|
|
11072
|
-
declare const TableToolbar: ({ children, title, selectedTitle: controlledSelectedTitle, }: TableToolbarProps) => React__default.ReactElement;
|
|
10706
|
+
declare const SideNavFooter: ({ children }: SideNavFooterProps) => React__default.ReactElement;
|
|
11073
10707
|
|
|
11074
|
-
|
|
11075
|
-
|
|
11076
|
-
|
|
11077
|
-
|
|
11078
|
-
|
|
10708
|
+
declare const SideNavBody: ({ children }: SideNavBodyProps) => React.ReactElement;
|
|
10709
|
+
|
|
10710
|
+
type SkeletonProps = StyledPropsBlade & Pick<BaseBoxProps, 'width' | 'maxWidth' | 'minWidth' | 'height' | 'maxHeight' | 'minHeight' | 'borderRadius'> & Partial<FlexboxProps> & {
|
|
10711
|
+
testID?: string;
|
|
10712
|
+
};
|
|
10713
|
+
|
|
10714
|
+
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;
|
|
10715
|
+
|
|
10716
|
+
type SkipNavLinkProps = {
|
|
10717
|
+
id?: string;
|
|
10718
|
+
children?: StringChildrenType;
|
|
11079
10719
|
/**
|
|
11080
|
-
*
|
|
10720
|
+
* **Internal**
|
|
10721
|
+
*
|
|
10722
|
+
* Adds background to link. Used internally in SideNav
|
|
11081
10723
|
*/
|
|
11082
|
-
|
|
10724
|
+
_hasBackground?: boolean;
|
|
10725
|
+
};
|
|
10726
|
+
declare const SkipNavLink: ({ id, children, _hasBackground, }: SkipNavLinkProps) => React__default.ReactElement;
|
|
10727
|
+
type SkipNavContentProps = {
|
|
10728
|
+
id?: string;
|
|
10729
|
+
} & TestID;
|
|
10730
|
+
declare const SkipNavContent: ({ id, testID, }: SkipNavContentProps) => React__default.ReactElement;
|
|
10731
|
+
|
|
10732
|
+
type BaseSpinnerProps = {
|
|
11083
10733
|
/**
|
|
11084
|
-
*
|
|
10734
|
+
* Sets the color of the spinner.
|
|
10735
|
+
*
|
|
10736
|
+
* @default 'default'
|
|
11085
10737
|
*/
|
|
11086
|
-
|
|
10738
|
+
color?: 'primary' | 'white' | FeedbackColors;
|
|
11087
10739
|
/**
|
|
11088
|
-
*
|
|
10740
|
+
* Sets the label of the spinner.
|
|
10741
|
+
*
|
|
10742
|
+
* @default 'right'
|
|
11089
10743
|
*/
|
|
11090
|
-
|
|
10744
|
+
label?: string;
|
|
11091
10745
|
/**
|
|
11092
|
-
*
|
|
10746
|
+
* Sets the label of the spinner.
|
|
11093
10747
|
*
|
|
11094
|
-
* @default 'horizontal' (always horizontal on react-native)
|
|
11095
10748
|
*/
|
|
11096
|
-
|
|
11097
|
-
web: 'horizontal' | 'vertical';
|
|
11098
|
-
native: 'horizontal';
|
|
11099
|
-
}>;
|
|
10749
|
+
labelPosition?: 'right' | 'bottom';
|
|
11100
10750
|
/**
|
|
11101
|
-
*
|
|
10751
|
+
* Sets the size of the spinner.
|
|
11102
10752
|
*
|
|
11103
10753
|
* @default 'medium'
|
|
11104
10754
|
*/
|
|
11105
|
-
size?: 'medium' | 'large';
|
|
10755
|
+
size?: 'medium' | 'large' | 'xlarge';
|
|
11106
10756
|
/**
|
|
11107
|
-
*
|
|
10757
|
+
* Sets the aria-label for web & accessibilityLabel react-native.
|
|
11108
10758
|
*
|
|
11109
|
-
* @default 'bordered'
|
|
11110
10759
|
*/
|
|
11111
|
-
|
|
10760
|
+
accessibilityLabel: string;
|
|
10761
|
+
} & TestID & StyledPropsBlade;
|
|
10762
|
+
|
|
10763
|
+
type SpinnerProps = BaseSpinnerProps & {
|
|
11112
10764
|
/**
|
|
11113
|
-
*
|
|
10765
|
+
* Sets the color of the spinner.
|
|
11114
10766
|
*
|
|
11115
|
-
* @default
|
|
10767
|
+
* @default 'default'
|
|
11116
10768
|
*/
|
|
11117
|
-
|
|
10769
|
+
color?: 'primary' | 'neutral' | 'white';
|
|
10770
|
+
};
|
|
10771
|
+
declare const Spinner: ({ label, labelPosition, accessibilityLabel, color, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
10772
|
+
|
|
10773
|
+
type SpotlightPopoverStepRenderProps = {
|
|
11118
10774
|
/**
|
|
11119
|
-
*
|
|
10775
|
+
* Go to a specific step
|
|
10776
|
+
*/
|
|
10777
|
+
goToStep: (step: number) => void;
|
|
10778
|
+
/**
|
|
10779
|
+
* Go to the next step
|
|
10780
|
+
*/
|
|
10781
|
+
goToNext: () => void;
|
|
10782
|
+
/**
|
|
10783
|
+
* Go to the previous step
|
|
10784
|
+
*/
|
|
10785
|
+
goToPrevious: () => void;
|
|
10786
|
+
/**
|
|
10787
|
+
* Stop the tour
|
|
11120
10788
|
*
|
|
11121
|
-
*
|
|
10789
|
+
* This will call the `onFinish` callback
|
|
11122
10790
|
*/
|
|
11123
|
-
|
|
11124
|
-
};
|
|
11125
|
-
type TabItemProps = {
|
|
10791
|
+
stopTour: () => void;
|
|
11126
10792
|
/**
|
|
11127
|
-
*
|
|
10793
|
+
* Current active step (zero based index)
|
|
11128
10794
|
*/
|
|
11129
|
-
|
|
10795
|
+
activeStep: number;
|
|
11130
10796
|
/**
|
|
11131
|
-
*
|
|
10797
|
+
* Total number of steps
|
|
11132
10798
|
*/
|
|
11133
|
-
|
|
10799
|
+
totalSteps: number;
|
|
10800
|
+
};
|
|
10801
|
+
type Step = {
|
|
11134
10802
|
/**
|
|
11135
|
-
*
|
|
11136
|
-
* Can be used to render an Icon.
|
|
10803
|
+
* Unique identifier for the tour step
|
|
11137
10804
|
*/
|
|
11138
|
-
|
|
10805
|
+
name: string;
|
|
11139
10806
|
/**
|
|
11140
|
-
*
|
|
11141
|
-
* Can be used to render a Badge/Counter component.
|
|
10807
|
+
* Content of the Popover
|
|
11142
10808
|
*/
|
|
11143
|
-
|
|
10809
|
+
content: (props: SpotlightPopoverStepRenderProps) => React.ReactElement;
|
|
11144
10810
|
/**
|
|
11145
|
-
*
|
|
10811
|
+
* Footer content
|
|
11146
10812
|
*/
|
|
10813
|
+
footer?: (props: SpotlightPopoverStepRenderProps) => React.ReactNode;
|
|
11147
10814
|
/**
|
|
11148
|
-
*
|
|
10815
|
+
* Popover title
|
|
11149
10816
|
*/
|
|
11150
|
-
|
|
10817
|
+
title?: string;
|
|
11151
10818
|
/**
|
|
11152
|
-
*
|
|
11153
|
-
* This can be used to create a tab item that redirects to another page or integrate with react-router.
|
|
10819
|
+
* Leading content placed before the title
|
|
11154
10820
|
*
|
|
11155
|
-
*
|
|
10821
|
+
* Can be any blade icon or asset.
|
|
11156
10822
|
*/
|
|
11157
|
-
|
|
10823
|
+
titleLeading?: React.ReactNode;
|
|
11158
10824
|
/**
|
|
11159
|
-
*
|
|
10825
|
+
* Placement of Popover
|
|
10826
|
+
* @default "top"
|
|
11160
10827
|
*/
|
|
11161
|
-
|
|
10828
|
+
placement?: UseFloatingOptions['placement'];
|
|
11162
10829
|
};
|
|
11163
|
-
type
|
|
10830
|
+
type SpotlightPopoverTourSteps = Step[];
|
|
10831
|
+
type SpotlightPopoverTourProps = {
|
|
11164
10832
|
/**
|
|
11165
|
-
*
|
|
10833
|
+
* Array of steps to be rendered
|
|
10834
|
+
*
|
|
10835
|
+
* The order of the steps will be the order in which they are rendered depending on the `activeStep` prop
|
|
11166
10836
|
*/
|
|
11167
|
-
|
|
10837
|
+
steps: SpotlightPopoverTourSteps;
|
|
11168
10838
|
/**
|
|
11169
|
-
*
|
|
10839
|
+
* Whether the tour is visible or not
|
|
11170
10840
|
*/
|
|
11171
|
-
|
|
11172
|
-
|
|
11173
|
-
|
|
11174
|
-
|
|
11175
|
-
|
|
11176
|
-
|
|
11177
|
-
|
|
11178
|
-
|
|
11179
|
-
|
|
11180
|
-
|
|
11181
|
-
|
|
11182
|
-
|
|
11183
|
-
|
|
10841
|
+
isOpen: boolean;
|
|
10842
|
+
/**
|
|
10843
|
+
* Callback when the tour is opened or closed
|
|
10844
|
+
*/
|
|
10845
|
+
onOpenChange?: ({ isOpen }: {
|
|
10846
|
+
isOpen: boolean;
|
|
10847
|
+
}) => void;
|
|
10848
|
+
/**
|
|
10849
|
+
* Callback which fires when the `stopTour` method is called from the `steps` array
|
|
10850
|
+
*/
|
|
10851
|
+
onFinish?: () => void;
|
|
10852
|
+
/**
|
|
10853
|
+
* Callback when the active step changes
|
|
10854
|
+
*/
|
|
10855
|
+
onStepChange?: (step: number) => void;
|
|
10856
|
+
/**
|
|
10857
|
+
* Active step to be rendered
|
|
10858
|
+
*/
|
|
10859
|
+
activeStep: number;
|
|
10860
|
+
children: React.ReactNode;
|
|
10861
|
+
};
|
|
10862
|
+
type SpotlightPopoverTourStepProps = {
|
|
10863
|
+
name: string;
|
|
10864
|
+
children: React.ReactNode;
|
|
10865
|
+
};
|
|
10866
|
+
|
|
10867
|
+
declare const SpotlightPopoverTour: ({ steps, activeStep, isOpen, onFinish, onOpenChange, onStepChange, children, }: SpotlightPopoverTourProps) => React__default.ReactElement;
|
|
10868
|
+
|
|
10869
|
+
type SpotlightPopoverFooterAction = {
|
|
10870
|
+
text?: string;
|
|
10871
|
+
} & Pick<ButtonProps, 'variant' | 'icon' | 'iconPosition' | 'isDisabled' | 'isLoading' | 'onClick'>;
|
|
10872
|
+
type SpotlightPopoverTourFooterProps = {
|
|
10873
|
+
actions: {
|
|
10874
|
+
primary?: SpotlightPopoverFooterAction;
|
|
10875
|
+
secondary?: SpotlightPopoverFooterAction;
|
|
10876
|
+
};
|
|
10877
|
+
};
|
|
10878
|
+
declare const SpotlightPopoverTourFooter: ({ activeStep, totalSteps, actions, }: SpotlightPopoverTourFooterProps & Pick<SpotlightPopoverStepRenderProps, 'activeStep' | 'totalSteps'>) => React.ReactElement;
|
|
10879
|
+
|
|
10880
|
+
declare const SpotlightPopoverTourStep: React__default.MemoExoticComponent<({ name, children, }: SpotlightPopoverTourStepProps) => React__default.ReactElement>;
|
|
10881
|
+
|
|
10882
|
+
type StepGroupProps = {
|
|
10883
|
+
/**
|
|
10884
|
+
* size of step group
|
|
10885
|
+
*
|
|
10886
|
+
* @default medium
|
|
10887
|
+
*/
|
|
10888
|
+
size?: 'medium' | 'large';
|
|
10889
|
+
/**
|
|
10890
|
+
* orientation of step group
|
|
10891
|
+
*
|
|
10892
|
+
* @default vertical
|
|
10893
|
+
*/
|
|
10894
|
+
orientation?: 'horizontal' | 'vertical';
|
|
10895
|
+
/**
|
|
10896
|
+
* children slot for StepItem components
|
|
10897
|
+
*/
|
|
10898
|
+
children: React__default.ReactElement | React__default.ReactElement[];
|
|
10899
|
+
/**
|
|
10900
|
+
* Width of StepGroup. By default it takes the width of its items.
|
|
10901
|
+
*/
|
|
10902
|
+
width?: BoxProps['width'];
|
|
10903
|
+
/**
|
|
10904
|
+
* minWidth prop of StepGroup
|
|
10905
|
+
*/
|
|
10906
|
+
minWidth?: BoxProps['minWidth'];
|
|
10907
|
+
/**
|
|
10908
|
+
* maxWidth prop of StepGroup
|
|
10909
|
+
*
|
|
10910
|
+
* @default 100%
|
|
10911
|
+
*/
|
|
10912
|
+
maxWidth?: BoxProps['maxWidth'];
|
|
10913
|
+
/**
|
|
10914
|
+
* @private
|
|
10915
|
+
*
|
|
10916
|
+
* DO NOT USE THIS PROP OR YOU WILL BE FIRED (joking. you won't be fired. But something bad will happen for sure)
|
|
10917
|
+
*
|
|
10918
|
+
* This is an internal prop to keep track of nestingLevel of StepGroup
|
|
10919
|
+
*/
|
|
10920
|
+
_nestingLevel?: number;
|
|
10921
|
+
} & StyledPropsBlade & TestID;
|
|
10922
|
+
type StepItemProps = {
|
|
10923
|
+
_index?: number;
|
|
10924
|
+
_nestingLevel?: StepGroupProps['_nestingLevel'];
|
|
10925
|
+
_totalIndex?: number;
|
|
10926
|
+
/**
|
|
10927
|
+
* title of StepItem
|
|
10928
|
+
*/
|
|
10929
|
+
title: string;
|
|
10930
|
+
/**
|
|
10931
|
+
* A string that renders in italic font. Made for adding timestamp values.
|
|
10932
|
+
*
|
|
10933
|
+
* ```jsx
|
|
10934
|
+
* timestamp="Thu, 11th Oct23 | 12:00pm"
|
|
10935
|
+
* ```
|
|
10936
|
+
*/
|
|
10937
|
+
timestamp?: string;
|
|
10938
|
+
/**
|
|
10939
|
+
* Description of StepItem
|
|
10940
|
+
*/
|
|
10941
|
+
description?: string;
|
|
10942
|
+
/**
|
|
10943
|
+
* Progress line of step. When its start only starting part is highlighted and rest is kept dotted
|
|
10944
|
+
*
|
|
10945
|
+
* @default full
|
|
10946
|
+
*/
|
|
10947
|
+
stepProgress?: 'start' | 'end' | 'full' | 'none';
|
|
10948
|
+
/**
|
|
10949
|
+
* marker JSX slot. It can be StepItemIndicator or StepItemIcon
|
|
10950
|
+
*
|
|
10951
|
+
* ```jsx
|
|
10952
|
+
* marker={<StepItemIndicator color="positive" />}
|
|
10953
|
+
* marker={<StepItemIcon icon={CheckIcon} color="positive" />}
|
|
10954
|
+
* ```
|
|
10955
|
+
*/
|
|
10956
|
+
marker?: React__default.ReactElement;
|
|
10957
|
+
/**
|
|
10958
|
+
* trailing slot for StepItem. Mostly meant for Badge
|
|
10959
|
+
*/
|
|
10960
|
+
trailing?: React__default.ReactElement;
|
|
10961
|
+
/**
|
|
10962
|
+
* Controlled state of selected item
|
|
10963
|
+
*/
|
|
10964
|
+
isSelected?: boolean;
|
|
10965
|
+
/**
|
|
10966
|
+
* Anchor tag's href value. Turns StepItem into interactive item and render it as `<a>` tag
|
|
10967
|
+
*/
|
|
10968
|
+
href?: LinkProps['href'];
|
|
10969
|
+
/**
|
|
10970
|
+
* Anchjor tag's taget value. Meant to be used alongside `href` prop
|
|
10971
|
+
*/
|
|
10972
|
+
target?: LinkProps['target'];
|
|
10973
|
+
/**
|
|
10974
|
+
* StepItem's click handler. Turns StepItem into interactive item and render it as button tag
|
|
10975
|
+
*/
|
|
10976
|
+
onClick?: (event: React__default.MouseEvent) => void;
|
|
10977
|
+
/**
|
|
10978
|
+
* Children slot for adding additional custom elements to item
|
|
10979
|
+
*/
|
|
10980
|
+
children?: React__default.ReactNode;
|
|
10981
|
+
};
|
|
10982
|
+
|
|
10983
|
+
/**
|
|
10984
|
+
* ## StepGroup
|
|
11184
10985
|
*
|
|
11185
|
-
*
|
|
11186
|
-
* <TabList>
|
|
11187
|
-
* <TabItem value="subscriptions">Subscription</TabItem>
|
|
11188
|
-
* <TabItem value="plans">Plans</TabItem>
|
|
11189
|
-
* <TabItem value="settings">Settings</TabItem>
|
|
11190
|
-
* </TabList>
|
|
10986
|
+
* Step Group visualises sequential processes with a consistent structure. It can be interactive, guiding users through steps, or function as a timeline for reference.
|
|
11191
10987
|
*
|
|
11192
|
-
*
|
|
11193
|
-
*
|
|
11194
|
-
*
|
|
11195
|
-
*
|
|
11196
|
-
*
|
|
11197
|
-
*
|
|
11198
|
-
*
|
|
11199
|
-
* <Text>Settings Panel</Text>
|
|
11200
|
-
* </TabPanel>
|
|
11201
|
-
* </Tabs>
|
|
10988
|
+
* ### Usage
|
|
10989
|
+
*
|
|
10990
|
+
* ```jsx
|
|
10991
|
+
* <StepGroup orientation="vertical" size="medium">
|
|
10992
|
+
* <StepItem title="Personal Details" />
|
|
10993
|
+
* <StepItem title="Business Details" />
|
|
10994
|
+
* </StepGroup>
|
|
11202
10995
|
* ```
|
|
10996
|
+
*
|
|
10997
|
+
* ---
|
|
10998
|
+
*
|
|
10999
|
+
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
11203
11000
|
*/
|
|
11204
|
-
declare const
|
|
11001
|
+
declare const StepGroup: ({ size, orientation, children, testID, _nestingLevel, width, minWidth, maxWidth, ...styledProps }: StepGroupProps) => React__default.ReactElement;
|
|
11205
11002
|
|
|
11206
|
-
|
|
11003
|
+
/**
|
|
11004
|
+
* ## StepItem
|
|
11005
|
+
*
|
|
11006
|
+
* Component meant to be used inside the StepGroup parent component
|
|
11007
|
+
*
|
|
11008
|
+
* ### Usage
|
|
11009
|
+
*
|
|
11010
|
+
* ```jsx
|
|
11011
|
+
* <StepGroup orientation="vertical" size="medium">
|
|
11012
|
+
* <StepItem
|
|
11013
|
+
* title="Personal Details"
|
|
11014
|
+
* timestamp="Thu 15th Oct'23 | 12:00pm"
|
|
11015
|
+
* description="Fill your personal details here"
|
|
11016
|
+
* marker={<StepItemIndicator color="negative" />}
|
|
11017
|
+
* />
|
|
11018
|
+
* </StepGroup>
|
|
11019
|
+
* ```
|
|
11020
|
+
*
|
|
11021
|
+
* ---
|
|
11022
|
+
*
|
|
11023
|
+
* Checkout {@link https://blade.razorpay.com/?path=/docs/components-stepgroup--docs StepGroup Documentation}
|
|
11024
|
+
*/
|
|
11025
|
+
declare const StepItem: ({ title, timestamp, description, stepProgress, marker, trailing, isSelected, href, target, onClick, children, _index, _totalIndex, _nestingLevel, }: StepItemProps) => React__default.ReactElement;
|
|
11207
11026
|
|
|
11208
|
-
declare const
|
|
11209
|
-
|
|
11210
|
-
}
|
|
11027
|
+
declare const StepItemIndicator: ({ color }: {
|
|
11028
|
+
color: IndicatorProps['color'];
|
|
11029
|
+
}) => React.ReactElement;
|
|
11030
|
+
type StepItemIconProps = {
|
|
11031
|
+
icon: IconComponent;
|
|
11032
|
+
color: IndicatorProps['color'];
|
|
11033
|
+
};
|
|
11034
|
+
declare const StepItemIcon: ({ icon: Icon, color }: StepItemIconProps) => React.ReactElement;
|
|
11035
|
+
|
|
11036
|
+
type OnChange = ({ isChecked, value, event, }: {
|
|
11037
|
+
isChecked: boolean;
|
|
11038
|
+
event?: React.ChangeEvent;
|
|
11039
|
+
value?: string;
|
|
11040
|
+
}) => void;
|
|
11041
|
+
type SwitchProps = {
|
|
11042
|
+
/**
|
|
11043
|
+
* If `true`, The switch will be checked. This also makes the switch controlled
|
|
11044
|
+
* Use `onChange` to update its value
|
|
11045
|
+
*
|
|
11046
|
+
* @default false
|
|
11047
|
+
*/
|
|
11048
|
+
isChecked?: boolean;
|
|
11049
|
+
/**
|
|
11050
|
+
* If `true`, the switch will be initially checked. This also makes the switch uncontrolled
|
|
11051
|
+
*
|
|
11052
|
+
* @default false
|
|
11053
|
+
*/
|
|
11054
|
+
defaultChecked?: boolean;
|
|
11055
|
+
/**
|
|
11056
|
+
* The callback invoked when the checked state of the `Switch` changes.
|
|
11057
|
+
*/
|
|
11058
|
+
onChange?: OnChange;
|
|
11059
|
+
/**
|
|
11060
|
+
* The name of the input field in a switch
|
|
11061
|
+
* (Useful for form submission).
|
|
11062
|
+
*/
|
|
11063
|
+
name?: string;
|
|
11064
|
+
/**
|
|
11065
|
+
* The value to be used in the switch input.
|
|
11066
|
+
* This is the value that will be returned on form submission.
|
|
11067
|
+
*/
|
|
11068
|
+
value?: string;
|
|
11069
|
+
/**
|
|
11070
|
+
* If `true`, the switch will be disabled
|
|
11071
|
+
*
|
|
11072
|
+
* @default false
|
|
11073
|
+
*/
|
|
11074
|
+
isDisabled?: boolean;
|
|
11075
|
+
/**
|
|
11076
|
+
* Size of the switch
|
|
11077
|
+
*
|
|
11078
|
+
* @default "medium"
|
|
11079
|
+
*/
|
|
11080
|
+
size?: 'small' | 'medium';
|
|
11081
|
+
/**
|
|
11082
|
+
* Provides accessible label for internal checkbox component that sets the aria-label prop for screen readers.
|
|
11083
|
+
*/
|
|
11084
|
+
accessibilityLabel: string;
|
|
11085
|
+
/**
|
|
11086
|
+
* The id of the input field in a switch, useful for associating a label element with the input via htmlFor prop
|
|
11087
|
+
*/
|
|
11088
|
+
id?: string;
|
|
11089
|
+
} & TestID & StyledPropsBlade;
|
|
11090
|
+
|
|
11091
|
+
declare const Switch: React__default.ForwardRefExoticComponent<{
|
|
11092
|
+
isChecked?: boolean | undefined;
|
|
11093
|
+
defaultChecked?: boolean | undefined;
|
|
11094
|
+
onChange?: OnChange | undefined;
|
|
11095
|
+
name?: string | undefined;
|
|
11096
|
+
value?: string | undefined;
|
|
11097
|
+
isDisabled?: boolean | undefined;
|
|
11098
|
+
size?: "small" | "medium" | undefined;
|
|
11099
|
+
accessibilityLabel: string;
|
|
11100
|
+
id?: string | undefined;
|
|
11101
|
+
} & TestID & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
11211
11102
|
bottom: SpacingValueType | {
|
|
11212
11103
|
readonly base?: SpacingValueType | undefined;
|
|
11213
11104
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -11763,218 +11654,508 @@ declare const TabList: ({ children, ...props }: {
|
|
|
11763
11654
|
readonly l?: "platform-web" | undefined;
|
|
11764
11655
|
readonly xl?: "platform-web" | undefined;
|
|
11765
11656
|
} | undefined;
|
|
11766
|
-
}, "visibility">, "__brand__">>
|
|
11657
|
+
}, "visibility">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
11658
|
+
|
|
11659
|
+
type TableNode<Item> = Item & {
|
|
11660
|
+
id: Identifier;
|
|
11661
|
+
};
|
|
11662
|
+
type TableData<Item> = {
|
|
11663
|
+
nodes: TableNode<Item>[];
|
|
11664
|
+
};
|
|
11665
|
+
type TableBackgroundColors = `surface.background.gray.${DotNotationToken<Theme['colors']['surface']['background']['gray']>}`;
|
|
11666
|
+
type TableHeaderProps = {
|
|
11667
|
+
/**
|
|
11668
|
+
* The children of TableHeader should be TableHeaderRow
|
|
11669
|
+
* @example
|
|
11670
|
+
* <TableHeader>
|
|
11671
|
+
* <TableHeaderRow>
|
|
11672
|
+
* <TableHeaderCell>Header Cell 1</TableHeaderCell>
|
|
11673
|
+
* </TableHeaderRow>
|
|
11674
|
+
* </TableHeader>
|
|
11675
|
+
**/
|
|
11676
|
+
children: React.ReactNode;
|
|
11677
|
+
};
|
|
11678
|
+
type TableHeaderRowProps = {
|
|
11679
|
+
/**
|
|
11680
|
+
* The children of TableHeaderRow should be TableHeaderCell
|
|
11681
|
+
* @example
|
|
11682
|
+
* <TableHeader>
|
|
11683
|
+
* <TableHeaderRow>
|
|
11684
|
+
* <TableHeaderCell>Header Cell 1</TableHeaderCell>
|
|
11685
|
+
* </TableHeaderRow>
|
|
11686
|
+
* </TableHeader>
|
|
11687
|
+
**/
|
|
11688
|
+
children: React.ReactNode;
|
|
11689
|
+
/**
|
|
11690
|
+
* The rowDensity prop determines the density of the table.
|
|
11691
|
+
* The rowDensity prop can be 'compact', 'normal', or'comfortable'.
|
|
11692
|
+
* The default value is `normal`.
|
|
11693
|
+
**/
|
|
11694
|
+
rowDensity?: TableProps<unknown>['rowDensity'];
|
|
11695
|
+
};
|
|
11696
|
+
type TableHeaderCellProps = {
|
|
11697
|
+
/**
|
|
11698
|
+
* The children of TableHeaderCell can be a string or a ReactNode.
|
|
11699
|
+
**/
|
|
11700
|
+
children: string | React.ReactNode;
|
|
11701
|
+
/**
|
|
11702
|
+
* The unique key of the column.
|
|
11703
|
+
* This is used to identify the column for sorting in sortFunctions prop of Table.
|
|
11704
|
+
* Sorting is enabled only for columns whose key is present in sortableColumns prop of Table.
|
|
11705
|
+
**/
|
|
11706
|
+
headerKey?: string;
|
|
11707
|
+
};
|
|
11708
|
+
type TableProps<Item> = {
|
|
11709
|
+
/**
|
|
11710
|
+
* The children of the Table component should be a function that returns TableHeader, TableBody and TableFooter components.
|
|
11711
|
+
* The function will be called with the tableData prop.
|
|
11712
|
+
*/
|
|
11713
|
+
children: (tableData: TableNode<Item>[]) => React.ReactElement;
|
|
11714
|
+
/**
|
|
11715
|
+
* The data prop is an object with a nodes property that is an array of objects.
|
|
11716
|
+
* Each object in the array is a row in the table.
|
|
11717
|
+
* The object should have an id property that is a unique identifier for the row.
|
|
11718
|
+
*/
|
|
11719
|
+
data: TableData<Item>;
|
|
11720
|
+
/**
|
|
11721
|
+
* The selectionType prop determines the type of selection that is allowed on the table.
|
|
11722
|
+
* The selectionType prop can be 'none', 'single' or 'multiple'.
|
|
11723
|
+
* @default 'none'
|
|
11724
|
+
**/
|
|
11725
|
+
selectionType?: 'none' | 'single' | 'multiple';
|
|
11726
|
+
/**
|
|
11727
|
+
* The onSelectionChange prop is a function that is called when the selection changes.
|
|
11728
|
+
* The function is called with an object that has a values property that is an array of the selected rows.
|
|
11729
|
+
**/
|
|
11730
|
+
onSelectionChange?: ({ values }: {
|
|
11731
|
+
values: TableNode<Item>[];
|
|
11732
|
+
}) => void;
|
|
11733
|
+
/**
|
|
11734
|
+
* The isHeaderSticky prop determines whether the table header is sticky or not.
|
|
11735
|
+
* The default value is `false`.
|
|
11736
|
+
**/
|
|
11737
|
+
isHeaderSticky?: boolean;
|
|
11738
|
+
/**
|
|
11739
|
+
* The isFooterSticky prop determines whether the table footer is sticky or not.
|
|
11740
|
+
* The default value is `false`.
|
|
11741
|
+
**/
|
|
11742
|
+
isFooterSticky?: boolean;
|
|
11743
|
+
/**
|
|
11744
|
+
* The isFirstColumnSticky prop determines whether the first column is sticky or not.
|
|
11745
|
+
* The default value is `false`.
|
|
11746
|
+
**/
|
|
11747
|
+
isFirstColumnSticky?: boolean;
|
|
11748
|
+
/**
|
|
11749
|
+
* The rowDensity prop determines the density of the table.
|
|
11750
|
+
* The rowDensity prop can be 'compact', 'normal', or'comfortable'.
|
|
11751
|
+
* The default value is `normal`.
|
|
11752
|
+
**/
|
|
11753
|
+
rowDensity?: 'compact' | 'normal' | 'comfortable';
|
|
11754
|
+
/**
|
|
11755
|
+
* The onSortChange prop is a function that is called when the sort changes.
|
|
11756
|
+
* 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.
|
|
11757
|
+
**/
|
|
11758
|
+
onSortChange?: ({ sortKey, isSortReversed, }: {
|
|
11759
|
+
sortKey: TableHeaderCellProps['headerKey'];
|
|
11760
|
+
isSortReversed: boolean;
|
|
11761
|
+
}) => void;
|
|
11762
|
+
/**
|
|
11763
|
+
* The sortFunctions prop is an object that has a key for each column that is sortable.
|
|
11764
|
+
* The value of each key is a function that is called when the column is sorted.
|
|
11765
|
+
* The function is called with an array of the rows in the table.
|
|
11766
|
+
* The function should return an array of the rows in the table.
|
|
11767
|
+
**/
|
|
11768
|
+
sortFunctions?: Record<string, (array: TableNode<Item>[]) => TableNode<Item>[]>;
|
|
11769
|
+
/**
|
|
11770
|
+
* The toolbar prop is a React element that is rendered above the table.
|
|
11771
|
+
* The toolbar prop should be a `TableToolbar` component.
|
|
11772
|
+
**/
|
|
11773
|
+
toolbar?: React.ReactElement;
|
|
11774
|
+
/**
|
|
11775
|
+
* The pagination prop is a React element that is rendered below the table.
|
|
11776
|
+
* The pagination prop should be a `TablePagination` component.
|
|
11777
|
+
**/
|
|
11778
|
+
pagination?: React.ReactElement;
|
|
11779
|
+
/**
|
|
11780
|
+
* The height prop is a responsive styled prop that determines the height of the table.
|
|
11781
|
+
**/
|
|
11782
|
+
height?: BoxProps['height'];
|
|
11783
|
+
/**
|
|
11784
|
+
* The showStripedRows prop determines whether the table should have striped rows or not.
|
|
11785
|
+
* The default value is `false`.
|
|
11786
|
+
**/
|
|
11787
|
+
showStripedRows?: boolean;
|
|
11788
|
+
/**
|
|
11789
|
+
* The gridTemplateColumns prop determines the grid-template-columns CSS property of the table.
|
|
11790
|
+
* The default value is `repeat(${columnCount},minmax(100px, 1fr))`.
|
|
11791
|
+
**/
|
|
11792
|
+
gridTemplateColumns?: string;
|
|
11793
|
+
/**
|
|
11794
|
+
* The isLoading prop determines whether the table is loading or not.
|
|
11795
|
+
* The default value is `false`.
|
|
11796
|
+
**/
|
|
11797
|
+
isLoading?: boolean;
|
|
11798
|
+
/**
|
|
11799
|
+
* The isRefreshing prop determines whether the table is refreshing or not.
|
|
11800
|
+
* The default value is `false`.
|
|
11801
|
+
**/
|
|
11802
|
+
isRefreshing?: boolean;
|
|
11803
|
+
} & StyledPropsBlade;
|
|
11804
|
+
type Identifier = string | number;
|
|
11805
|
+
type TableBodyProps = {
|
|
11806
|
+
/**
|
|
11807
|
+
* The children of the TableBody component should be TableRow components.
|
|
11808
|
+
* @example
|
|
11809
|
+
* <TableBody>
|
|
11810
|
+
* <TableRow>
|
|
11811
|
+
* <TableCell>...</TableCell>
|
|
11812
|
+
* </TableRow>
|
|
11813
|
+
* </TableBody>
|
|
11814
|
+
**/
|
|
11815
|
+
children: React.ReactNode;
|
|
11816
|
+
};
|
|
11817
|
+
type TableRowProps<Item> = {
|
|
11818
|
+
/**
|
|
11819
|
+
* The children of the TableRow component should be TableCell components.
|
|
11820
|
+
* @example
|
|
11821
|
+
* <TableRow>
|
|
11822
|
+
* <TableCell>...</TableCell>
|
|
11823
|
+
* </TableRow>
|
|
11824
|
+
**/
|
|
11825
|
+
children: React.ReactNode;
|
|
11826
|
+
/**
|
|
11827
|
+
* The item prop is used to pass the individual table item to the TableRow component.
|
|
11828
|
+
* @example
|
|
11829
|
+
* tableData.map((tableItem) => (
|
|
11830
|
+
* <TableRow item={item}>
|
|
11831
|
+
* <TableCell>...</TableCell>
|
|
11832
|
+
* </TableRow>
|
|
11833
|
+
* ));
|
|
11834
|
+
**/
|
|
11835
|
+
item: TableNode<Item>;
|
|
11836
|
+
/**
|
|
11837
|
+
* The isDisabled prop is used to disable the TableRow component.
|
|
11838
|
+
* @example
|
|
11839
|
+
* <TableRow isDisabled>
|
|
11840
|
+
* <TableCell>...</TableCell>
|
|
11841
|
+
* </TableRow>
|
|
11842
|
+
**/
|
|
11843
|
+
isDisabled?: boolean;
|
|
11844
|
+
/**
|
|
11845
|
+
* Callback triggered when the row is hovered. It is called with the current row item prop.
|
|
11846
|
+
*/
|
|
11847
|
+
onHover?: ({ item }: {
|
|
11848
|
+
item: TableNode<Item>;
|
|
11849
|
+
}) => void;
|
|
11850
|
+
/**
|
|
11851
|
+
* Callback triggered when the row is clicked. It is called with the current row item prop.
|
|
11852
|
+
*/
|
|
11853
|
+
onClick?: ({ item }: {
|
|
11854
|
+
item: TableNode<Item>;
|
|
11855
|
+
}) => void;
|
|
11856
|
+
};
|
|
11857
|
+
type TableCellProps = {
|
|
11858
|
+
/**
|
|
11859
|
+
* The children of the TableCell component should be a string or a ReactNode.
|
|
11860
|
+
* @example
|
|
11861
|
+
* <TableCell>{'Hello'}</TableCell>
|
|
11862
|
+
* <TableCell>
|
|
11863
|
+
* <Text>...</Text>
|
|
11864
|
+
* </TableCell>
|
|
11865
|
+
* <TableCell>
|
|
11866
|
+
* <Button>...</Button>
|
|
11867
|
+
* </TableCell>
|
|
11868
|
+
**/
|
|
11869
|
+
children: React.ReactNode;
|
|
11870
|
+
};
|
|
11871
|
+
type TableFooterProps = {
|
|
11872
|
+
/**
|
|
11873
|
+
* The children of TableFooter should be TableFooterRow
|
|
11874
|
+
* @example
|
|
11875
|
+
* <TableFooter>
|
|
11876
|
+
* <TableFooterRow>
|
|
11877
|
+
* <TableFooterCell>Footer Cell 1</TableFooterCell>
|
|
11878
|
+
* </TableFooterRow>
|
|
11879
|
+
* </TableFooter>
|
|
11880
|
+
**/
|
|
11881
|
+
children: React.ReactNode;
|
|
11882
|
+
};
|
|
11883
|
+
type TableFooterRowProps = {
|
|
11884
|
+
/**
|
|
11885
|
+
* The children of TableFooterRow should be TableFooterCell
|
|
11886
|
+
* @example
|
|
11887
|
+
* <TableFooter>
|
|
11888
|
+
* <TableFooterRow>
|
|
11889
|
+
* <TableFooterCell>Footer Cell 1</TableFooterCell>
|
|
11890
|
+
* </TableFooterRow>
|
|
11891
|
+
* </TableFooter>
|
|
11892
|
+
**/
|
|
11893
|
+
children: React.ReactNode;
|
|
11894
|
+
};
|
|
11895
|
+
type TableFooterCellProps = {
|
|
11896
|
+
/**
|
|
11897
|
+
* The children of TableHeaderCell can be a string or a ReactNode.
|
|
11898
|
+
**/
|
|
11899
|
+
children: string | React.ReactNode;
|
|
11900
|
+
};
|
|
11901
|
+
type TablePaginationCommonProps = {
|
|
11902
|
+
/**
|
|
11903
|
+
* The default page size.
|
|
11904
|
+
* Page size controls how rows are shown per page.
|
|
11905
|
+
* @default 10
|
|
11906
|
+
**/
|
|
11907
|
+
defaultPageSize?: 10 | 25 | 50;
|
|
11908
|
+
/**
|
|
11909
|
+
* The current page. Passing this prop will make the component controlled and will not update the page on its own.
|
|
11910
|
+
**/
|
|
11911
|
+
currentPage?: number;
|
|
11912
|
+
/**
|
|
11913
|
+
* Callback function that is called when the page size is changed
|
|
11914
|
+
*/
|
|
11915
|
+
onPageSizeChange?: ({ pageSize }: {
|
|
11916
|
+
pageSize: number;
|
|
11917
|
+
}) => void;
|
|
11918
|
+
/**
|
|
11919
|
+
* Whether to show the page size picker. It will be always be hidden on mobile.
|
|
11920
|
+
* Page size picker controls how rows are shown per page.
|
|
11921
|
+
* @default true
|
|
11922
|
+
*/
|
|
11923
|
+
showPageSizePicker?: boolean;
|
|
11924
|
+
/**
|
|
11925
|
+
* Whether to show the page number selector. It will be always be hidden on mobile.
|
|
11926
|
+
* Page number selectors is a group of buttons that allows the user to jump to a specific page.
|
|
11927
|
+
* @default false
|
|
11928
|
+
*/
|
|
11929
|
+
showPageNumberSelector?: boolean;
|
|
11930
|
+
/**
|
|
11931
|
+
* Content of the label to be shown in the pagination component
|
|
11932
|
+
* @default `Showing 1 to ${totalItems} Items`
|
|
11933
|
+
*/
|
|
11934
|
+
label?: string;
|
|
11935
|
+
/**
|
|
11936
|
+
* Whether to show the label. It will be always be hidden on mobile.
|
|
11937
|
+
* @default false
|
|
11938
|
+
*/
|
|
11939
|
+
showLabel?: boolean;
|
|
11940
|
+
};
|
|
11941
|
+
type TablePaginationType = 'client' | 'server';
|
|
11942
|
+
type TablePaginationServerProps = TablePaginationCommonProps & {
|
|
11943
|
+
/**
|
|
11944
|
+
* Whether the pagination is happening on client or server.
|
|
11945
|
+
* 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.
|
|
11946
|
+
* 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.
|
|
11947
|
+
* When paginationType is `server`, the `onPageChange` & `totalItemCount` props are required.
|
|
11948
|
+
* @default 'client'
|
|
11949
|
+
* */
|
|
11950
|
+
paginationType?: Extract<TablePaginationType, 'server'>;
|
|
11951
|
+
/**
|
|
11952
|
+
* 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.
|
|
11953
|
+
*/
|
|
11954
|
+
totalItemCount: number;
|
|
11955
|
+
/**
|
|
11956
|
+
* Callback function that is called when the page is changed
|
|
11957
|
+
*/
|
|
11958
|
+
onPageChange: ({ page }: {
|
|
11959
|
+
page: number;
|
|
11960
|
+
}) => void;
|
|
11961
|
+
};
|
|
11962
|
+
type TablePaginationClientProps = TablePaginationCommonProps & {
|
|
11963
|
+
/**
|
|
11964
|
+
* Whether the pagination is happening on client or server.
|
|
11965
|
+
* 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.
|
|
11966
|
+
* 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.
|
|
11967
|
+
* When paginationType is `server`, the `onPageChange` & `totalItemCount` props are required.
|
|
11968
|
+
* @default 'client'
|
|
11969
|
+
* */
|
|
11970
|
+
paginationType?: Extract<TablePaginationType, 'client'>;
|
|
11971
|
+
/**
|
|
11972
|
+
* 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.
|
|
11973
|
+
*/
|
|
11974
|
+
totalItemCount?: number;
|
|
11975
|
+
/**
|
|
11976
|
+
* Callback function that is called when the page is changed
|
|
11977
|
+
*/
|
|
11978
|
+
onPageChange?: ({ page }: {
|
|
11979
|
+
page: number;
|
|
11980
|
+
}) => void;
|
|
11981
|
+
};
|
|
11982
|
+
type TablePaginationProps = TablePaginationCommonProps & (TablePaginationServerProps | TablePaginationClientProps);
|
|
11983
|
+
type TableToolbarProps = {
|
|
11984
|
+
/**
|
|
11985
|
+
* The children of TableToolbar should be TableToolbarActions
|
|
11986
|
+
*/
|
|
11987
|
+
children?: React.ReactNode;
|
|
11988
|
+
/**
|
|
11989
|
+
* The title of the TableToolbar. If not provided, it will show the default title.
|
|
11990
|
+
* @default `Showing 1 to ${totalItems} Items`
|
|
11991
|
+
*/
|
|
11992
|
+
title?: string;
|
|
11993
|
+
/**
|
|
11994
|
+
* The title to show when items are selected. If not provided, it will show the default title.
|
|
11995
|
+
* @default `${selectedRows.length} 'Items'} Selected`
|
|
11996
|
+
*/
|
|
11997
|
+
selectedTitle?: string;
|
|
11998
|
+
};
|
|
11999
|
+
type TableToolbarActionsProps = {
|
|
12000
|
+
children?: React.ReactNode;
|
|
12001
|
+
} & StyledPropsBlade;
|
|
11767
12002
|
|
|
11768
|
-
declare const
|
|
12003
|
+
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
12004
|
|
|
11770
|
-
|
|
12005
|
+
declare const TableHeader: ({ children }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12006
|
+
declare const TableHeaderCell: ({ children, headerKey }: TableHeaderCellProps) => React__default.ReactElement;
|
|
12007
|
+
declare const TableHeaderRow: ({ children, rowDensity }: TableHeaderRowProps) => React__default.ReactElement;
|
|
12008
|
+
|
|
12009
|
+
declare const TableBody: ({ children }: TableBodyProps) => React__default.ReactElement;
|
|
12010
|
+
declare const TableCell: ({ children }: TableCellProps) => React__default.ReactElement;
|
|
12011
|
+
declare const TableRow: <Item>({ children, item, isDisabled, onHover, onClick, }: TableRowProps<Item>) => React__default.ReactElement;
|
|
12012
|
+
|
|
12013
|
+
declare const TableFooter: ({ children }: TableFooterProps) => React__default.ReactElement;
|
|
12014
|
+
declare const TableFooterRow: ({ children }: TableFooterRowProps) => React__default.ReactElement;
|
|
12015
|
+
declare const TableFooterCell: ({ children }: TableFooterCellProps) => React__default.ReactElement;
|
|
12016
|
+
|
|
12017
|
+
declare const TablePagination: ({ currentPage: controlledCurrentPage, onPageChange, onPageSizeChange, defaultPageSize, showPageSizePicker, showPageNumberSelector, showLabel, label, totalItemCount, paginationType, }: TablePaginationProps) => React__default.ReactElement;
|
|
12018
|
+
|
|
12019
|
+
declare const TableToolbarActions: ({ children, ...styledProps }: TableToolbarActionsProps) => React__default.ReactElement;
|
|
12020
|
+
declare const TableToolbar: ({ children, title, selectedTitle: controlledSelectedTitle, }: TableToolbarProps) => React__default.ReactElement;
|
|
12021
|
+
|
|
12022
|
+
type TabsProps = {
|
|
11771
12023
|
/**
|
|
11772
|
-
*
|
|
11773
|
-
*
|
|
11774
|
-
* @default medium
|
|
12024
|
+
* The content of the component, accepts `TabsList` and `TabsPanel` components.
|
|
11775
12025
|
*/
|
|
11776
|
-
|
|
12026
|
+
children: React__default.ReactNode;
|
|
11777
12027
|
/**
|
|
11778
|
-
*
|
|
12028
|
+
* The value of the tab panel same as the corresponding TabItem's value to match the selected TabItem.
|
|
11779
12029
|
*/
|
|
11780
|
-
|
|
12030
|
+
value?: string;
|
|
11781
12031
|
/**
|
|
11782
|
-
*
|
|
12032
|
+
* The default value of the selected tab, in case the Tabs component is uncontrolled.
|
|
11783
12033
|
*/
|
|
11784
|
-
|
|
12034
|
+
defaultValue?: string;
|
|
11785
12035
|
/**
|
|
11786
|
-
*
|
|
12036
|
+
* Callback fired when the value changes.
|
|
11787
12037
|
*/
|
|
11788
|
-
|
|
12038
|
+
onChange?: (value: string) => void;
|
|
11789
12039
|
/**
|
|
11790
|
-
*
|
|
12040
|
+
* The orientation of the tabs.
|
|
12041
|
+
*
|
|
12042
|
+
* @default 'horizontal' (always horizontal on react-native)
|
|
11791
12043
|
*/
|
|
11792
|
-
|
|
12044
|
+
orientation?: Platform.Select<{
|
|
12045
|
+
web: 'horizontal' | 'vertical';
|
|
12046
|
+
native: 'horizontal';
|
|
12047
|
+
}>;
|
|
11793
12048
|
/**
|
|
11794
|
-
*
|
|
11795
|
-
*
|
|
11796
|
-
* Should not be used by consumers.
|
|
11797
|
-
*
|
|
11798
|
-
* Used for adding virtual focus on tag.
|
|
12049
|
+
* The size of the tabs.
|
|
11799
12050
|
*
|
|
11800
|
-
* @
|
|
12051
|
+
* @default 'medium'
|
|
11801
12052
|
*/
|
|
11802
|
-
|
|
12053
|
+
size?: 'medium' | 'large';
|
|
11803
12054
|
/**
|
|
11804
|
-
*
|
|
12055
|
+
* The variant of the tabs.
|
|
11805
12056
|
*
|
|
11806
|
-
*
|
|
12057
|
+
* @default 'bordered'
|
|
12058
|
+
*/
|
|
12059
|
+
variant?: 'bordered' | 'borderless' | 'filled';
|
|
12060
|
+
/**
|
|
12061
|
+
* If `true`, the TabItems will grow to use all the available space.
|
|
11807
12062
|
*
|
|
11808
|
-
*
|
|
12063
|
+
* @default false
|
|
12064
|
+
*/
|
|
12065
|
+
isFullWidthTabItem?: boolean;
|
|
12066
|
+
/**
|
|
12067
|
+
* If `true`, the TabPanel will be rendered only when it becomes active.
|
|
11809
12068
|
*
|
|
11810
|
-
* @
|
|
12069
|
+
* @default false
|
|
11811
12070
|
*/
|
|
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 = {
|
|
12071
|
+
isLazy?: boolean;
|
|
12072
|
+
};
|
|
12073
|
+
type TabItemProps = {
|
|
11845
12074
|
/**
|
|
11846
|
-
*
|
|
12075
|
+
* The label of the tab item.
|
|
11847
12076
|
*/
|
|
11848
|
-
|
|
12077
|
+
children: React__default.ReactNode;
|
|
11849
12078
|
/**
|
|
11850
|
-
*
|
|
12079
|
+
* The value of the tab item.
|
|
11851
12080
|
*/
|
|
11852
|
-
|
|
12081
|
+
value: string;
|
|
11853
12082
|
/**
|
|
11854
|
-
*
|
|
12083
|
+
* Leading element of the tab item.
|
|
12084
|
+
* Can be used to render an Icon.
|
|
12085
|
+
*/
|
|
12086
|
+
leading?: IconComponent;
|
|
12087
|
+
/**
|
|
12088
|
+
* Trailing element of the tab item.
|
|
12089
|
+
* Can be used to render a Badge/Counter component.
|
|
12090
|
+
*/
|
|
12091
|
+
trailing?: React__default.ReactNode;
|
|
12092
|
+
/**
|
|
12093
|
+
* Internal prop used to pass size from Tabs to TabsItem.
|
|
12094
|
+
*/
|
|
12095
|
+
/**
|
|
12096
|
+
* If `true`, the tab item will be disabled.
|
|
12097
|
+
*/
|
|
12098
|
+
isDisabled?: boolean;
|
|
12099
|
+
/**
|
|
12100
|
+
* If set the tab item will be rendered as a link.
|
|
12101
|
+
* This can be used to create a tab item that redirects to another page or integrate with react-router.
|
|
11855
12102
|
*
|
|
11856
|
-
* @default
|
|
12103
|
+
* @default undefined
|
|
11857
12104
|
*/
|
|
11858
|
-
|
|
11859
|
-
|
|
11860
|
-
|
|
11861
|
-
|
|
11862
|
-
|
|
12105
|
+
href?: string;
|
|
12106
|
+
/**
|
|
12107
|
+
* Callback fired when the tab item is clicked.
|
|
12108
|
+
*/
|
|
12109
|
+
onClick?: (event: React__default.MouseEvent) => void;
|
|
12110
|
+
};
|
|
12111
|
+
type TabPanelProps = {
|
|
12112
|
+
/**
|
|
12113
|
+
* The value of the tab panel. This will be used to match the selected tab.
|
|
12114
|
+
*/
|
|
12115
|
+
value: string;
|
|
11863
12116
|
/**
|
|
11864
|
-
*
|
|
11865
|
-
* @default 1100
|
|
12117
|
+
* The content of the tab panel.
|
|
11866
12118
|
*/
|
|
11867
|
-
|
|
12119
|
+
children: React__default.ReactNode;
|
|
11868
12120
|
};
|
|
11869
12121
|
|
|
11870
|
-
|
|
12122
|
+
/**
|
|
12123
|
+
* ### Tabs
|
|
12124
|
+
*
|
|
12125
|
+
* Check out the [Tab Stories & Examples](https://blade.razorpay.com/?path=/docs/components-tabs--default)
|
|
12126
|
+
*
|
|
12127
|
+
* ----
|
|
12128
|
+
* ### Basic Usage
|
|
12129
|
+
*
|
|
12130
|
+
* ```jsx
|
|
12131
|
+
* import { Tabs, TabList, TabItem, TabPanel } from '@razorpay/blade/components';
|
|
12132
|
+
*
|
|
12133
|
+
* <Tabs variant="bordered" orientation="horizontal">
|
|
12134
|
+
* <TabList>
|
|
12135
|
+
* <TabItem value="subscriptions">Subscription</TabItem>
|
|
12136
|
+
* <TabItem value="plans">Plans</TabItem>
|
|
12137
|
+
* <TabItem value="settings">Settings</TabItem>
|
|
12138
|
+
* </TabList>
|
|
12139
|
+
*
|
|
12140
|
+
* <TabPanel value="subscriptions">
|
|
12141
|
+
* <Text>Subscriptions Panel</Text>
|
|
12142
|
+
* </TabPanel>
|
|
12143
|
+
* <TabPanel value="plans">
|
|
12144
|
+
* <Text>Plans Panel</Text>
|
|
12145
|
+
* </TabPanel>
|
|
12146
|
+
* <TabPanel value="settings">
|
|
12147
|
+
* <Text>Settings Panel</Text>
|
|
12148
|
+
* </TabPanel>
|
|
12149
|
+
* </Tabs>
|
|
12150
|
+
* ```
|
|
12151
|
+
*/
|
|
12152
|
+
declare const Tabs: ({ children, defaultValue, value, onChange, orientation, size, variant, isFullWidthTabItem, isLazy, }: TabsProps) => React__default.ReactElement;
|
|
11871
12153
|
|
|
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 & {
|
|
12154
|
+
declare const TabItem: ({ children, value, leading: Leading, trailing, isDisabled, href, onClick, }: TabItemProps) => React__default.ReactElement;
|
|
12155
|
+
|
|
12156
|
+
declare const TabList: ({ children, ...props }: {
|
|
12157
|
+
children: React__default.ReactNode;
|
|
12158
|
+
} & Partial<Omit<MarginProps & Pick<FlexboxProps, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & {
|
|
11978
12159
|
bottom: SpacingValueType | {
|
|
11979
12160
|
readonly base?: SpacingValueType | undefined;
|
|
11980
12161
|
readonly xs?: SpacingValueType | undefined;
|
|
@@ -12031,7 +12212,7 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12031
12212
|
readonly l?: "platform-web" | undefined;
|
|
12032
12213
|
readonly xl?: "platform-web" | undefined;
|
|
12033
12214
|
} | undefined;
|
|
12034
|
-
} & {
|
|
12215
|
+
} & Pick<{
|
|
12035
12216
|
gridAutoColumns?: csstype.Property.GridAutoColumns<string | number> | {
|
|
12036
12217
|
readonly base?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
12037
12218
|
readonly xs?: csstype.Property.GridAutoColumns<string | number> | undefined;
|
|
@@ -12128,29 +12309,134 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12128
12309
|
readonly l?: csstype.Property.GridArea | undefined;
|
|
12129
12310
|
readonly xl?: csstype.Property.GridArea | undefined;
|
|
12130
12311
|
} | 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;
|
|
12312
|
+
gridColumn?: csstype.Property.GridColumn | {
|
|
12313
|
+
readonly base?: csstype.Property.GridColumn | undefined;
|
|
12314
|
+
readonly xs?: csstype.Property.GridColumn | undefined;
|
|
12315
|
+
readonly s?: csstype.Property.GridColumn | undefined;
|
|
12316
|
+
readonly m?: csstype.Property.GridColumn | undefined;
|
|
12317
|
+
readonly l?: csstype.Property.GridColumn | undefined;
|
|
12318
|
+
readonly xl?: csstype.Property.GridColumn | undefined;
|
|
12319
|
+
} | undefined;
|
|
12320
|
+
gridRow?: csstype.Property.GridRow | {
|
|
12321
|
+
readonly base?: csstype.Property.GridRow | undefined;
|
|
12322
|
+
readonly xs?: csstype.Property.GridRow | undefined;
|
|
12323
|
+
readonly s?: csstype.Property.GridRow | undefined;
|
|
12324
|
+
readonly m?: csstype.Property.GridRow | undefined;
|
|
12325
|
+
readonly l?: csstype.Property.GridRow | undefined;
|
|
12326
|
+
readonly xl?: csstype.Property.GridRow | undefined;
|
|
12327
|
+
} | undefined;
|
|
12328
|
+
gridTemplate?: csstype.Property.GridTemplate | {
|
|
12329
|
+
readonly base?: csstype.Property.GridTemplate | undefined;
|
|
12330
|
+
readonly xs?: csstype.Property.GridTemplate | undefined;
|
|
12331
|
+
readonly s?: csstype.Property.GridTemplate | undefined;
|
|
12332
|
+
readonly m?: csstype.Property.GridTemplate | undefined;
|
|
12333
|
+
readonly l?: csstype.Property.GridTemplate | undefined;
|
|
12334
|
+
readonly xl?: csstype.Property.GridTemplate | undefined;
|
|
12335
|
+
} | undefined;
|
|
12336
|
+
__brand__?: "platform-web" | {
|
|
12337
|
+
readonly base?: "platform-web" | undefined;
|
|
12338
|
+
readonly xs?: "platform-web" | undefined;
|
|
12339
|
+
readonly s?: "platform-web" | undefined;
|
|
12340
|
+
readonly m?: "platform-web" | undefined;
|
|
12341
|
+
readonly l?: "platform-web" | undefined;
|
|
12342
|
+
readonly xl?: "platform-web" | undefined;
|
|
12343
|
+
} | undefined;
|
|
12344
|
+
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow"> & Pick<{
|
|
12345
|
+
width: SpacingValueType | {
|
|
12346
|
+
readonly base?: SpacingValueType | undefined;
|
|
12347
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12348
|
+
readonly s?: SpacingValueType | undefined;
|
|
12349
|
+
readonly m?: SpacingValueType | undefined;
|
|
12350
|
+
readonly l?: SpacingValueType | undefined;
|
|
12351
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12352
|
+
};
|
|
12353
|
+
display?: csstype.Property.Display | {
|
|
12354
|
+
readonly base?: csstype.Property.Display | undefined;
|
|
12355
|
+
readonly xs?: csstype.Property.Display | undefined;
|
|
12356
|
+
readonly s?: csstype.Property.Display | undefined;
|
|
12357
|
+
readonly m?: csstype.Property.Display | undefined;
|
|
12358
|
+
readonly l?: csstype.Property.Display | undefined;
|
|
12359
|
+
readonly xl?: csstype.Property.Display | undefined;
|
|
12360
|
+
} | undefined;
|
|
12361
|
+
height: SpacingValueType | {
|
|
12362
|
+
readonly base?: SpacingValueType | undefined;
|
|
12363
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12364
|
+
readonly s?: SpacingValueType | undefined;
|
|
12365
|
+
readonly m?: SpacingValueType | undefined;
|
|
12366
|
+
readonly l?: SpacingValueType | undefined;
|
|
12367
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12368
|
+
};
|
|
12369
|
+
maxHeight: 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
|
+
maxWidth: SpacingValueType | {
|
|
12378
|
+
readonly base?: SpacingValueType | undefined;
|
|
12379
|
+
readonly xs?: SpacingValueType | undefined;
|
|
12380
|
+
readonly s?: SpacingValueType | undefined;
|
|
12381
|
+
readonly m?: SpacingValueType | undefined;
|
|
12382
|
+
readonly l?: SpacingValueType | undefined;
|
|
12383
|
+
readonly xl?: SpacingValueType | undefined;
|
|
12384
|
+
};
|
|
12385
|
+
minHeight: 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
|
+
minWidth: 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
|
+
overflowX?: csstype.Property.OverflowX | {
|
|
12402
|
+
readonly base?: csstype.Property.OverflowX | undefined;
|
|
12403
|
+
readonly xs?: csstype.Property.OverflowX | undefined;
|
|
12404
|
+
readonly s?: csstype.Property.OverflowX | undefined;
|
|
12405
|
+
readonly m?: csstype.Property.OverflowX | undefined;
|
|
12406
|
+
readonly l?: csstype.Property.OverflowX | undefined;
|
|
12407
|
+
readonly xl?: csstype.Property.OverflowX | undefined;
|
|
12408
|
+
} | undefined;
|
|
12409
|
+
overflowY?: csstype.Property.OverflowY | {
|
|
12410
|
+
readonly base?: csstype.Property.OverflowY | undefined;
|
|
12411
|
+
readonly xs?: csstype.Property.OverflowY | undefined;
|
|
12412
|
+
readonly s?: csstype.Property.OverflowY | undefined;
|
|
12413
|
+
readonly m?: csstype.Property.OverflowY | undefined;
|
|
12414
|
+
readonly l?: csstype.Property.OverflowY | undefined;
|
|
12415
|
+
readonly xl?: csstype.Property.OverflowY | undefined;
|
|
12416
|
+
} | undefined;
|
|
12417
|
+
textAlign?: csstype.Property.TextAlign | {
|
|
12418
|
+
readonly base?: csstype.Property.TextAlign | undefined;
|
|
12419
|
+
readonly xs?: csstype.Property.TextAlign | undefined;
|
|
12420
|
+
readonly s?: csstype.Property.TextAlign | undefined;
|
|
12421
|
+
readonly m?: csstype.Property.TextAlign | undefined;
|
|
12422
|
+
readonly l?: csstype.Property.TextAlign | undefined;
|
|
12423
|
+
readonly xl?: csstype.Property.TextAlign | undefined;
|
|
12138
12424
|
} | 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.
|
|
12425
|
+
whiteSpace?: csstype.Property.WhiteSpace | {
|
|
12426
|
+
readonly base?: csstype.Property.WhiteSpace | undefined;
|
|
12427
|
+
readonly xs?: csstype.Property.WhiteSpace | undefined;
|
|
12428
|
+
readonly s?: csstype.Property.WhiteSpace | undefined;
|
|
12429
|
+
readonly m?: csstype.Property.WhiteSpace | undefined;
|
|
12430
|
+
readonly l?: csstype.Property.WhiteSpace | undefined;
|
|
12431
|
+
readonly xl?: csstype.Property.WhiteSpace | undefined;
|
|
12146
12432
|
} | 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.
|
|
12433
|
+
overflow?: csstype.Property.Overflow | {
|
|
12434
|
+
readonly base?: csstype.Property.Overflow | undefined;
|
|
12435
|
+
readonly xs?: csstype.Property.Overflow | undefined;
|
|
12436
|
+
readonly s?: csstype.Property.Overflow | undefined;
|
|
12437
|
+
readonly m?: csstype.Property.Overflow | undefined;
|
|
12438
|
+
readonly l?: csstype.Property.Overflow | undefined;
|
|
12439
|
+
readonly xl?: csstype.Property.Overflow | undefined;
|
|
12154
12440
|
} | undefined;
|
|
12155
12441
|
__brand__?: "platform-web" | {
|
|
12156
12442
|
readonly base?: "platform-web" | undefined;
|
|
@@ -12160,20 +12446,7 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12160
12446
|
readonly l?: "platform-web" | undefined;
|
|
12161
12447
|
readonly xl?: "platform-web" | undefined;
|
|
12162
12448
|
} | 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
|
-
} & {
|
|
12449
|
+
}, "display"> & Pick<{
|
|
12177
12450
|
elevation?: ElevationLevels | {
|
|
12178
12451
|
readonly base?: ElevationLevels | undefined;
|
|
12179
12452
|
readonly xs?: ElevationLevels | undefined;
|
|
@@ -12438,128 +12711,83 @@ declare const TooltipInteractiveWrapper: styled_components.StyledComponent<"div"
|
|
|
12438
12711
|
readonly l?: "platform-web" | undefined;
|
|
12439
12712
|
readonly xl?: "platform-web" | undefined;
|
|
12440
12713
|
} | 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">;
|
|
12714
|
+
}, "visibility">, "__brand__">>) => React__default.ReactElement;
|
|
12715
|
+
|
|
12716
|
+
declare const TabPanel: ({ children, value }: TabPanelProps) => React__default.ReactElement;
|
|
12717
|
+
|
|
12718
|
+
type TagProps = {
|
|
12719
|
+
/**
|
|
12720
|
+
* Decides the size of Tag
|
|
12721
|
+
*
|
|
12722
|
+
* @default medium
|
|
12723
|
+
*/
|
|
12724
|
+
size?: 'medium' | 'large';
|
|
12725
|
+
/**
|
|
12726
|
+
* Leading icon for your Tag
|
|
12727
|
+
*/
|
|
12728
|
+
icon?: IconComponent;
|
|
12729
|
+
/**
|
|
12730
|
+
* Callback when close icon on Tag is clicked
|
|
12731
|
+
*/
|
|
12732
|
+
onDismiss: () => void;
|
|
12733
|
+
/**
|
|
12734
|
+
* Text that renders inside Tag
|
|
12735
|
+
*/
|
|
12736
|
+
children: StringChildrenType;
|
|
12737
|
+
/**
|
|
12738
|
+
* Disable tag
|
|
12739
|
+
*/
|
|
12740
|
+
isDisabled?: boolean;
|
|
12741
|
+
/**
|
|
12742
|
+
* Private property for Blade.
|
|
12743
|
+
*
|
|
12744
|
+
* Should not be used by consumers.
|
|
12745
|
+
*
|
|
12746
|
+
* Used for adding virtual focus on tag.
|
|
12747
|
+
*
|
|
12748
|
+
* @private
|
|
12749
|
+
*/
|
|
12750
|
+
_isVirtuallyFocused?: boolean;
|
|
12751
|
+
/**
|
|
12752
|
+
* Private property for Blade.
|
|
12753
|
+
*
|
|
12754
|
+
* Should not be used by consumers.
|
|
12755
|
+
*
|
|
12756
|
+
* Is tag placed inside an input
|
|
12757
|
+
*
|
|
12758
|
+
* @private
|
|
12759
|
+
*/
|
|
12760
|
+
_isTagInsideInput?: boolean;
|
|
12761
|
+
} & StyledPropsBlade & TestID;
|
|
12762
|
+
|
|
12763
|
+
/**
|
|
12764
|
+
* ## Tags
|
|
12765
|
+
*
|
|
12766
|
+
* Tag component can be used to display selected items on UI.
|
|
12767
|
+
*
|
|
12768
|
+
* ### Usage
|
|
12769
|
+
*
|
|
12770
|
+
* ***Note:*** _Make sure to handle state when using Tag_
|
|
12771
|
+
*
|
|
12772
|
+
* ```jsx
|
|
12773
|
+
* const [showTag, setShowTag] = React.useState(true);
|
|
12774
|
+
*
|
|
12775
|
+
* // ...
|
|
12776
|
+
*
|
|
12777
|
+
* {showTag && (
|
|
12778
|
+
* <Tag
|
|
12779
|
+
* icon={CheckIcon}
|
|
12780
|
+
* onDismiss={() => setShowTag(false)}
|
|
12781
|
+
* >
|
|
12782
|
+
* Transactions
|
|
12783
|
+
* </Tag>
|
|
12784
|
+
* )}
|
|
12785
|
+
* ```
|
|
12786
|
+
*
|
|
12787
|
+
* Checkout [Tags Documentation](https://blade.razorpay.com/?path=/story/components-tag--default) for more info.
|
|
12788
|
+
*
|
|
12789
|
+
*/
|
|
12790
|
+
declare const Tag: ({ size, icon: Icon, onDismiss, children, isDisabled, testID, _isVirtuallyFocused, _isTagInsideInput, ...styledProps }: TagProps) => React__default.ReactElement | null;
|
|
12563
12791
|
|
|
12564
12792
|
declare const ToastContainer: () => React__default.ReactElement;
|
|
12565
12793
|
|
|
@@ -12642,4 +12870,4 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
|
|
|
12642
12870
|
*/
|
|
12643
12871
|
declare const screenReaderStyles: CSSObject;
|
|
12644
12872
|
|
|
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 };
|
|
12873
|
+
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 };
|