@razorpay/blade 11.6.3 → 11.8.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.
Files changed (118) hide show
  1. package/build/lib/native/components/Accordion/Accordion.js +2 -2
  2. package/build/lib/native/components/Accordion/Accordion.js.map +1 -1
  3. package/build/lib/native/components/Accordion/AccordionButton.native.js +2 -2
  4. package/build/lib/native/components/Accordion/AccordionButton.native.js.map +1 -1
  5. package/build/lib/native/components/Accordion/AccordionContext.js +2 -2
  6. package/build/lib/native/components/Accordion/AccordionContext.js.map +1 -1
  7. package/build/lib/native/components/Accordion/AccordionItem.js +11 -14
  8. package/build/lib/native/components/Accordion/AccordionItem.js.map +1 -1
  9. package/build/lib/native/components/Accordion/AccordionItemBody.js +24 -0
  10. package/build/lib/native/components/Accordion/AccordionItemBody.js.map +1 -0
  11. package/build/lib/native/components/Accordion/AccordionItemHeader.js +24 -0
  12. package/build/lib/native/components/Accordion/AccordionItemHeader.js.map +1 -0
  13. package/build/lib/native/components/Accordion/commonStyles.js +1 -1
  14. package/build/lib/native/components/Accordion/commonStyles.js.map +1 -1
  15. package/build/lib/native/components/Accordion/componentIds.js +4 -0
  16. package/build/lib/native/components/Accordion/componentIds.js.map +1 -0
  17. package/build/lib/native/components/ActionList/ActionListBox.native.js +1 -4
  18. package/build/lib/native/components/ActionList/ActionListBox.native.js.map +1 -1
  19. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js +1 -1
  20. package/build/lib/native/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  21. package/build/lib/native/components/Button/BaseButton/AnimatedButtonContent.native.js +16 -0
  22. package/build/lib/native/components/Button/BaseButton/AnimatedButtonContent.native.js.map +1 -0
  23. package/build/lib/native/components/Button/BaseButton/BaseButton.js +7 -5
  24. package/build/lib/native/components/Button/BaseButton/BaseButton.js.map +1 -1
  25. package/build/lib/native/components/Button/BaseButton/StyledBaseButton.native.js +1 -1
  26. package/build/lib/native/components/Button/BaseButton/StyledBaseButton.native.js.map +1 -1
  27. package/build/lib/native/components/ButtonGroup/ButtonGroup.native.js +7 -0
  28. package/build/lib/native/components/ButtonGroup/ButtonGroup.native.js.map +1 -0
  29. package/build/lib/native/components/ButtonGroup/ButtonGroupContext.js +6 -0
  30. package/build/lib/native/components/ButtonGroup/ButtonGroupContext.js.map +1 -0
  31. package/build/lib/native/components/Collapsible/CollapsibleBodyContent.native.js.map +1 -1
  32. package/build/lib/native/components/index.js +3 -0
  33. package/build/lib/native/components/index.js.map +1 -1
  34. package/build/lib/native/utils/metaAttribute/metaConstants.js +1 -1
  35. package/build/lib/native/utils/metaAttribute/metaConstants.js.map +1 -1
  36. package/build/lib/web/development/components/Accordion/Accordion.js +57 -6
  37. package/build/lib/web/development/components/Accordion/Accordion.js.map +1 -1
  38. package/build/lib/web/development/components/Accordion/AccordionButton.web.js +21 -25
  39. package/build/lib/web/development/components/Accordion/AccordionButton.web.js.map +1 -1
  40. package/build/lib/web/development/components/Accordion/AccordionContext.js +16 -1
  41. package/build/lib/web/development/components/Accordion/AccordionContext.js.map +1 -1
  42. package/build/lib/web/development/components/Accordion/AccordionItem.js +66 -66
  43. package/build/lib/web/development/components/Accordion/AccordionItem.js.map +1 -1
  44. package/build/lib/web/development/components/Accordion/AccordionItemBody.js +84 -0
  45. package/build/lib/web/development/components/Accordion/AccordionItemBody.js.map +1 -0
  46. package/build/lib/web/development/components/Accordion/AccordionItemHeader.js +71 -0
  47. package/build/lib/web/development/components/Accordion/AccordionItemHeader.js.map +1 -0
  48. package/build/lib/web/development/components/Accordion/StyledAccordionButton.web.js +3 -2
  49. package/build/lib/web/development/components/Accordion/StyledAccordionButton.web.js.map +1 -1
  50. package/build/lib/web/development/components/Accordion/commonStyles.js +8 -6
  51. package/build/lib/web/development/components/Accordion/commonStyles.js.map +1 -1
  52. package/build/lib/web/development/components/Accordion/componentIds.js +8 -0
  53. package/build/lib/web/development/components/Accordion/componentIds.js.map +1 -0
  54. package/build/lib/web/development/components/Accordion/index.js +2 -0
  55. package/build/lib/web/development/components/Accordion/index.js.map +1 -1
  56. package/build/lib/web/development/components/BaseHeaderFooter/BaseHeader.js +131 -68
  57. package/build/lib/web/development/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  58. package/build/lib/web/development/components/Button/BaseButton/AnimatedButtonContent.web.js +18 -0
  59. package/build/lib/web/development/components/Button/BaseButton/AnimatedButtonContent.web.js.map +1 -0
  60. package/build/lib/web/development/components/Button/BaseButton/BaseButton.js +116 -66
  61. package/build/lib/web/development/components/Button/BaseButton/BaseButton.js.map +1 -1
  62. package/build/lib/web/development/components/ButtonGroup/ButtonGroup.web.js +158 -0
  63. package/build/lib/web/development/components/ButtonGroup/ButtonGroup.web.js.map +1 -0
  64. package/build/lib/web/development/components/ButtonGroup/ButtonGroupContext.js +11 -0
  65. package/build/lib/web/development/components/ButtonGroup/ButtonGroupContext.js.map +1 -0
  66. package/build/lib/web/development/components/ButtonGroup/StyledButtonGroup.js +47 -0
  67. package/build/lib/web/development/components/ButtonGroup/StyledButtonGroup.js.map +1 -0
  68. package/build/lib/web/development/components/ButtonGroup/index.js +2 -0
  69. package/build/lib/web/development/components/ButtonGroup/index.js.map +1 -0
  70. package/build/lib/web/development/components/Collapsible/CollapsibleBodyContent.web.js +3 -1
  71. package/build/lib/web/development/components/Collapsible/CollapsibleBodyContent.web.js.map +1 -1
  72. package/build/lib/web/development/components/index.js +4 -0
  73. package/build/lib/web/development/components/index.js.map +1 -1
  74. package/build/lib/web/development/utils/metaAttribute/metaConstants.js +3 -0
  75. package/build/lib/web/development/utils/metaAttribute/metaConstants.js.map +1 -1
  76. package/build/lib/web/production/components/Accordion/Accordion.js +57 -6
  77. package/build/lib/web/production/components/Accordion/Accordion.js.map +1 -1
  78. package/build/lib/web/production/components/Accordion/AccordionButton.web.js +21 -25
  79. package/build/lib/web/production/components/Accordion/AccordionButton.web.js.map +1 -1
  80. package/build/lib/web/production/components/Accordion/AccordionContext.js +16 -1
  81. package/build/lib/web/production/components/Accordion/AccordionContext.js.map +1 -1
  82. package/build/lib/web/production/components/Accordion/AccordionItem.js +66 -66
  83. package/build/lib/web/production/components/Accordion/AccordionItem.js.map +1 -1
  84. package/build/lib/web/production/components/Accordion/AccordionItemBody.js +84 -0
  85. package/build/lib/web/production/components/Accordion/AccordionItemBody.js.map +1 -0
  86. package/build/lib/web/production/components/Accordion/AccordionItemHeader.js +71 -0
  87. package/build/lib/web/production/components/Accordion/AccordionItemHeader.js.map +1 -0
  88. package/build/lib/web/production/components/Accordion/StyledAccordionButton.web.js +3 -2
  89. package/build/lib/web/production/components/Accordion/StyledAccordionButton.web.js.map +1 -1
  90. package/build/lib/web/production/components/Accordion/commonStyles.js +8 -6
  91. package/build/lib/web/production/components/Accordion/commonStyles.js.map +1 -1
  92. package/build/lib/web/production/components/Accordion/componentIds.js +8 -0
  93. package/build/lib/web/production/components/Accordion/componentIds.js.map +1 -0
  94. package/build/lib/web/production/components/Accordion/index.js +2 -0
  95. package/build/lib/web/production/components/Accordion/index.js.map +1 -1
  96. package/build/lib/web/production/components/BaseHeaderFooter/BaseHeader.js +131 -68
  97. package/build/lib/web/production/components/BaseHeaderFooter/BaseHeader.js.map +1 -1
  98. package/build/lib/web/production/components/Button/BaseButton/AnimatedButtonContent.web.js +18 -0
  99. package/build/lib/web/production/components/Button/BaseButton/AnimatedButtonContent.web.js.map +1 -0
  100. package/build/lib/web/production/components/Button/BaseButton/BaseButton.js +116 -66
  101. package/build/lib/web/production/components/Button/BaseButton/BaseButton.js.map +1 -1
  102. package/build/lib/web/production/components/ButtonGroup/ButtonGroup.web.js +158 -0
  103. package/build/lib/web/production/components/ButtonGroup/ButtonGroup.web.js.map +1 -0
  104. package/build/lib/web/production/components/ButtonGroup/ButtonGroupContext.js +11 -0
  105. package/build/lib/web/production/components/ButtonGroup/ButtonGroupContext.js.map +1 -0
  106. package/build/lib/web/production/components/ButtonGroup/StyledButtonGroup.js +47 -0
  107. package/build/lib/web/production/components/ButtonGroup/StyledButtonGroup.js.map +1 -0
  108. package/build/lib/web/production/components/ButtonGroup/index.js +2 -0
  109. package/build/lib/web/production/components/ButtonGroup/index.js.map +1 -0
  110. package/build/lib/web/production/components/Collapsible/CollapsibleBodyContent.web.js +3 -1
  111. package/build/lib/web/production/components/Collapsible/CollapsibleBodyContent.web.js.map +1 -1
  112. package/build/lib/web/production/components/index.js +4 -0
  113. package/build/lib/web/production/components/index.js.map +1 -1
  114. package/build/lib/web/production/utils/metaAttribute/metaConstants.js +3 -0
  115. package/build/lib/web/production/utils/metaAttribute/metaConstants.js.map +1 -1
  116. package/build/types/components/index.d.ts +1120 -965
  117. package/build/types/components/index.native.d.ts +1091 -962
  118. package/package.json +2 -2
@@ -3,8 +3,8 @@ import * as React$1 from 'react';
3
3
  import React__default, { ReactNode, ReactElement, ReactChild, SyntheticEvent, KeyboardEvent } from 'react';
4
4
  import { View, ViewStyle, ImageSourcePropType, AccessibilityRole, GestureResponderEvent, PressableProps } from 'react-native';
5
5
  import { CSSObject } from 'styled-components';
6
- import { CurrencyCodeType } from '@razorpay/i18nify-js/currency';
7
6
  import { ReactDOMAttributes } from '@use-gesture/react/dist/declarations/src/types';
7
+ import { CurrencyCodeType } from '@razorpay/i18nify-js/currency';
8
8
  import * as react_native_types from 'react-native/types';
9
9
  import { Placement, UseFloatingOptions } from '@floating-ui/react';
10
10
  import { Toast } from 'react-hot-toast';
@@ -1348,35 +1348,6 @@ type BoxRefType = Platform.Select<{
1348
1348
  native: View;
1349
1349
  }>;
1350
1350
 
1351
- type AccordionProps = {
1352
- /**
1353
- * Makes the passed item index expanded by default (uncontrolled)
1354
- */
1355
- defaultExpandedIndex?: number;
1356
- /**
1357
- * Expands the passed index (controlled), `-1` implies no expanded items
1358
- */
1359
- expandedIndex?: number;
1360
- /**
1361
- * Callback for change in any item's expanded state,
1362
- * `-1` implies no expanded items
1363
- */
1364
- onExpandChange?: ({ expandedIndex }: {
1365
- expandedIndex: number;
1366
- }) => void;
1367
- /**
1368
- * Adds numeric index at the beginning of items
1369
- *
1370
- * @default false
1371
- */
1372
- showNumberPrefix?: boolean;
1373
- /**
1374
- * Accepts `AccordionItem` child nodes
1375
- */
1376
- children: ReactElement | ReactElement[];
1377
- } & TestID & StyledPropsBlade;
1378
- declare const Accordion: ({ defaultExpandedIndex, expandedIndex, onExpandChange, showNumberPrefix, children, testID, ...styledProps }: AccordionProps) => ReactElement;
1379
-
1380
1351
  declare const ArrowDownIcon: IconComponent;
1381
1352
 
1382
1353
  declare const ArrowLeftIcon: IconComponent;
@@ -1935,924 +1906,88 @@ type IconProps = {
1935
1906
  } & StyledPropsBlade;
1936
1907
  type IconComponent = React.ComponentType<IconProps>;
1937
1908
 
1938
- type AccordionItemProps = {
1939
- /**
1940
- * Title text content
1941
- */
1942
- title: string;
1943
- /**
1944
- * Body text content
1945
- */
1946
- description?: string;
1947
- /**
1948
- * Renders a Blade icon as title prefix (requires `showNumberPrefix={false}`)
1949
- */
1950
- icon?: IconComponent;
1951
- /**
1952
- * Slot, renders any custom content
1953
- */
1954
- children?: ReactNode;
1955
- /**
1956
- * **Internal:** used for determining numbering, you don't need to pass this,
1957
- * instead pass `showNumberPrefix` to root `Accordion`
1958
- */
1959
- _index?: number;
1960
- } & TestID;
1961
- declare const AccordionItem: ({ title, description, icon, children, _index, testID, }: AccordionItemProps) => ReactElement;
1962
-
1963
- type ActionListProps = {
1964
- children: React__default.ReactNode[];
1965
- } & TestID;
1966
- /**
1967
- * ### ActionList
1968
- *
1969
- * List of multiple actionable items. Can be used as menu items inside `Dropdown`,
1970
- * `BottomSheet` and as selectable items when combined with `SelectInput`
1971
- *
1972
- * #### Usage
1973
- *
1974
- * ```jsx
1975
- * <Dropdown>
1976
- * <SelectInput label="Select Action" />
1977
- * <DropdownOverlay>
1978
- * <DropdownHeader title="Header Title" />
1979
- * <ActionList>
1980
- * <ActionListItem
1981
- * title="Home"
1982
- * value="home"
1983
- * leading={<ActionListItemIcon icon={HomeIcon} />}
1984
- * />
1985
- * <ActionListItem
1986
- * title="Pricing"
1987
- * value="pricing"
1988
- * leading={<ActionListItemAsset src="https://flagcdn.com/w20/in.png" alt="India Flag" />}
1989
- * />
1990
- * </ActionList>
1991
- * <DropdownFooter><Button>Apply</Button></DropdownFooter>
1992
- * </DropdownOverlay>
1993
- * </Dropdown>
1994
- * ```
1995
- *
1996
- */
1997
- declare const ActionList: React__default.MemoExoticComponent<({ children, testID }: ActionListProps) => React__default.ReactElement>;
1998
-
1999
- type BadgeProps = {
2000
- /**
2001
- * Sets the label for the badge.
2002
- *
2003
- */
2004
- children: StringChildrenType;
2005
- /**
2006
- * Sets the color of the badge.
2007
- *
2008
- * @default 'neutral'
2009
- */
2010
- color?: FeedbackColors | 'primary';
1909
+ type AccordionVariantType = 'filled' | 'transparent';
1910
+ type AccordionProps = {
2011
1911
  /**
2012
- * Sets the contrast of the badge.
2013
- *
2014
- * @default 'subtle'
1912
+ * Makes the passed item index expanded by default (uncontrolled)
2015
1913
  */
2016
- emphasis?: SubtleOrIntense;
1914
+ defaultExpandedIndex?: number;
2017
1915
  /**
2018
- * Sets the size of the badge.
2019
- *
2020
- * @default 'medium'
1916
+ * Expands the passed index (controlled), `-1` implies no expanded items
2021
1917
  */
2022
- size?: 'small' | 'medium' | 'large';
1918
+ expandedIndex?: number;
2023
1919
  /**
2024
- * Icon to be displayed in the badge.
2025
- * Accepts a component of type `IconComponent` from Blade.
2026
- *
1920
+ * Callback for change in any item's expanded state,
1921
+ * `-1` implies no expanded items
2027
1922
  */
2028
- icon?: IconComponent;
2029
- } & TestID & StyledPropsBlade;
2030
- declare const Badge: ({ children, emphasis, icon: Icon, size, color, testID, ...styledProps }: BadgeProps) => ReactElement;
2031
-
2032
- type ActionListItemProps = {
2033
- title: string;
2034
- description?: string;
2035
- onClick?: (clickProps: {
2036
- name: string;
2037
- value?: boolean;
1923
+ onExpandChange?: ({ expandedIndex }: {
1924
+ expandedIndex: number;
2038
1925
  }) => void;
2039
1926
  /**
2040
- * value that you get from `onChange` event on SelectInput or in form submissions.
2041
- */
2042
- value: string;
2043
- /**
2044
- * Link to open when item is clicked.
2045
- */
2046
- href?: string;
2047
- /**
2048
- * HTML target of the link
2049
- */
2050
- target?: string;
2051
- /**
2052
- * Item that goes on left-side of item.
2053
- *
2054
- * Valid elements - `<ActionListItemIcon />`, `<ActionListItemAsset />`
2055
- *
2056
- * Will be overriden in multiselect
2057
- */
2058
- leading?: React__default.ReactNode;
2059
- /**
2060
- * Item that goes on right-side of item.
2061
- *
2062
- * Valid elements - `<ActionListItemText />`, `<ActionListItemIcon />`
2063
- */
2064
- trailing?: React__default.ReactNode;
2065
- /**
2066
- * Item that goes immediately next to the title.
2067
- *
2068
- * Valid elements - `<ActionListItemBadge />`, `<ActionListItemBadgeGroup />`
2069
- *
2070
- */
2071
- titleSuffix?: React__default.ReactElement;
2072
- isDisabled?: boolean;
2073
- intent?: Extract<FeedbackColors, 'negative'>;
2074
- /**
2075
- * Can be used in combination of `onClick` to highlight item as selected in Button Triggers.
1927
+ * Adds numeric index at the beginning of items
2076
1928
  *
2077
- * When trigger is SelectInput, Use `value` prop on SelectInput instead to make dropdown controlled.
1929
+ * @default false
2078
1930
  */
2079
- isSelected?: boolean;
1931
+ showNumberPrefix?: boolean;
2080
1932
  /**
2081
- * Internally passed from ActionList. No need to pass it explicitly
1933
+ * Visual variant of AccordionItem
2082
1934
  *
2083
- * @private
1935
+ * @default transparent
2084
1936
  */
2085
- _index?: number;
2086
- } & TestID;
2087
- type ActionListSectionProps = {
2088
- title: string;
2089
- children: React__default.ReactNode[] | React__default.ReactNode;
1937
+ variant?: AccordionVariantType;
2090
1938
  /**
2091
- * Internally used to hide the divider on final item in React Native.
2092
- *
2093
- * Should not be used by consumers (also won't work on web)
1939
+ * Size of the Accordion
2094
1940
  *
2095
- * @private
1941
+ * @default large
2096
1942
  */
2097
- _hideDivider?: boolean;
1943
+ size?: 'large' | 'medium';
2098
1944
  /**
2099
- * Internally used to hide / show section in AutoComplete
2100
- *
2101
- * @private
1945
+ * Accepts `AccordionItem` child nodes
2102
1946
  */
2103
- _sectionChildValues?: string[];
2104
- } & TestID;
2105
- declare const ActionListSection: ({ title, children, testID, _hideDivider, _sectionChildValues, }: ActionListSectionProps) => React__default.ReactElement;
2106
- declare const ActionListItemIcon: ({ icon }: {
2107
- icon: IconComponent;
2108
- }) => React__default.ReactElement;
2109
- declare const ActionListItemBadgeGroup: ({ children, }: {
2110
- children: React__default.ReactElement[] | React__default.ReactElement;
2111
- }) => React__default.ReactElement;
2112
- declare const ActionListItemBadge: (props: BadgeProps) => React__default.ReactElement;
2113
- declare const ActionListItemText: ({ children, }: {
2114
- children: StringChildrenType;
2115
- }) => React__default.ReactElement;
2116
- declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) => React__default.ReactElement>;
1947
+ children: React__default.ReactElement | React__default.ReactElement[];
1948
+ } & TestID & StyledPropsBlade;
2117
1949
 
2118
- type ActionListItemAssetProps = {
2119
- /**
2120
- * Source of the image.
2121
- *
2122
- * Can either be a string URI or `require('/local/image')` in React Native
2123
- */
2124
- src: string | ImageSourcePropType;
2125
- /**
2126
- * Alt tag for the image
2127
- */
2128
- alt: string;
2129
- };
2130
- declare const ActionListItemAsset: (props: ActionListItemAssetProps) => React.ReactElement;
1950
+ /**
1951
+ * # Accordion
1952
+ *
1953
+ * An accordion is used to allow users to toggle between different content sections in a compact vertical stack.
1954
+ *
1955
+ * ## Usage
1956
+ *
1957
+ * ```jsx
1958
+ * <Accordion>
1959
+ * <AccordionItem>
1960
+ * <AccordionItemHeader title="Title" />
1961
+ * <AccordionItemBody>
1962
+ * <Text color="surface.text.gray.subtle">
1963
+ * Hello this is accordion body content
1964
+ * </Text>
1965
+ * </AccordionItemBody>
1966
+ * </AccordionItem>
1967
+ * <AccordionItem>
1968
+ * <AccordionItemHeader title="Title" />
1969
+ * <AccordionItemBody>
1970
+ * <Text color="surface.text.gray.subtle">
1971
+ * Hello this is accordion body content
1972
+ * </Text>
1973
+ * </AccordionItemBody>
1974
+ * </AccordionItem>
1975
+ * </Accordion>
1976
+ * ```
1977
+ *
1978
+ * Checkout https://blade.razorpay.com/?path=/docs/components-accordion--docs
1979
+ *
1980
+ */
1981
+ declare const Accordion: ({ defaultExpandedIndex, expandedIndex, onExpandChange, showNumberPrefix, children, variant, size, testID, ...styledProps }: AccordionProps) => ReactElement;
2131
1982
 
2132
- type PrimaryAction = {
2133
- text: string;
2134
- onClick: () => void;
2135
- };
2136
- type SecondaryActionButton = {
2137
- text: string;
2138
- onClick: () => void;
2139
- };
2140
- type SecondaryActionLinkButton = {
2141
- text: string;
2142
- href: string;
2143
- onClick?: () => void;
2144
- target?: string;
2145
- /**
2146
- * When `target` is set to `_blank` this is automatically set to `noopener noreferrer`
2147
- */
2148
- rel?: string;
2149
- };
2150
- type SecondaryAction = SecondaryActionButton | SecondaryActionLinkButton;
2151
- type AlertProps = {
2152
- /**
2153
- * Body content, pass text or JSX. Avoid passing components except `Link` to customize the content.
2154
- */
2155
- description: ReactChild;
2156
- /**
2157
- * A brief heading
2158
- */
2159
- title?: string;
2160
- /**
2161
- * Shows a dismiss button
2162
- *
2163
- * @default true
2164
- */
2165
- isDismissible?: boolean;
2166
- /**
2167
- * A callback when the dismiss button is clicked
2168
- */
2169
- onDismiss?: () => void;
2170
- /**
2171
- * Can be set to `high` for a more prominent look. Not to be confused with a11y emphasis.
2172
- *
2173
- * @default subtle
2174
- */
2175
- emphasis?: SubtleOrIntense;
2176
- /**
2177
- * Makes the Alert span the entire container width, instead of the default max width of `584px`.
2178
- * This also makes the alert borderless, useful for creating full bleed layouts.
2179
- *
2180
- * @default false
2181
- */
2182
- isFullWidth?: boolean;
2183
- /**
2184
- * Sets the color tone
2185
- */
2186
- color?: FeedbackColors;
2187
- /**
2188
- * Renders a primary action button and a secondary action link button
2189
- */
2190
- actions?: {
2191
- /**
2192
- * Renders a button (should **always** be present if `secondary` action is being used)
2193
- */
2194
- primary?: PrimaryAction;
2195
- /**
2196
- * Renders a Link button
2197
- */
2198
- secondary?: SecondaryAction;
2199
- };
2200
- } & TestID & StyledPropsBlade;
2201
- declare const Alert: ({ description, title, isDismissible, onDismiss, emphasis, isFullWidth, color, actions, testID, ...styledProps }: AlertProps) => ReactElement | null;
2202
-
2203
- type AriaRoles = Exclude<AccessibilityRole, 'header' | 'adjustable' | 'image' | 'none' | 'summary'> | 'alert' | 'alertdialog' | 'application' | 'article' | 'banner' | 'button' | 'cell' | 'checkbox' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'dialog' | 'directory' | 'document' | 'feed' | 'figure' | 'form' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'meter' | 'navigation' | 'none' | 'note' | 'option' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem';
2204
- type AccessibilityProps = AriaAttributes;
2205
- type AriaAttributes = {
2206
- role: AriaRoles;
2207
- /**
2208
- * Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
2209
- */
2210
- activeDescendant?: string;
2211
- /**
2212
- * Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
2213
- */
2214
- atomic?: boolean;
2215
- /**
2216
- * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
2217
- */
2218
- autoComplete?: 'none' | 'inline' | 'list' | 'both';
2219
- /**
2220
- * Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
2221
- */
2222
- busy?: boolean;
2223
- /**
2224
- * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
2225
- * @see aria-pressed @see aria-selected.
2226
- */
2227
- checked?: boolean | 'mixed';
2228
- /**
2229
- * Defines the total number of columns in a table, grid, or treegrid.
2230
- * @see aria-colindex.
2231
- */
2232
- colCount?: number;
2233
- /**
2234
- * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
2235
- * @see aria-colcount @see aria-colspan.
2236
- */
2237
- colIndex?: number;
2238
- /**
2239
- * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
2240
- * @see aria-colindex @see aria-rowspan.
2241
- */
2242
- colSpan?: number;
2243
- /**
2244
- * Identifies the element (or elements) whose contents or presence are controlled by the current element.
2245
- * @see aria-owns.
2246
- */
2247
- controls?: string;
2248
- /**
2249
- * Indicates the element that represents the current item within a container or set of related elements.
2250
- */
2251
- current?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
2252
- /**
2253
- * Identifies the element (or elements) that describes the object.
2254
- * @see aria-labelledby
2255
- */
2256
- describedBy?: string;
2257
- /**
2258
- * Identifies the element that provides a detailed, extended description for the object.
2259
- * @see aria-describedby.
2260
- */
2261
- details?: string;
2262
- /**
2263
- * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
2264
- * @see aria-hidden @see aria-readonly.
2265
- */
2266
- disabled?: boolean;
2267
- /**
2268
- * Indicates what functions can be performed when a dragged object is released on the drop target.
2269
- * @deprecated in ARIA 1.1
2270
- */
2271
- dropEffect?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
2272
- /**
2273
- * Identifies the element that provides an error message for the object.
2274
- * @see aria-invalid @see aria-describedby.
2275
- */
2276
- errorMessage?: string;
2277
- /**
2278
- * Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
2279
- */
2280
- expanded?: boolean;
2281
- /**
2282
- * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
2283
- * allows assistive technology to override the general default of reading in document source order.
2284
- */
2285
- flowTo?: string;
2286
- /**
2287
- * Indicates an element's "grabbed" state in a drag-and-drop operation.
2288
- * @deprecated in ARIA 1.1
2289
- */
2290
- grabbed?: boolean;
2291
- /**
2292
- * Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
2293
- */
2294
- hasPopup?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
2295
- /**
2296
- * Indicates whether the element is exposed to an accessibility API.
2297
- * @see aria-disabled.
2298
- */
2299
- hidden?: boolean;
2300
- /**
2301
- * Indicates the entered value does not conform to the format expected by the application.
2302
- * @see aria-errormessage.
2303
- */
2304
- invalid?: boolean | 'grammar' | 'spelling';
2305
- /**
2306
- * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
2307
- */
2308
- keyShortcuts?: string;
2309
- /**
2310
- * Defines a string value that labels the current element.
2311
- * @see aria-labelledby.
2312
- */
2313
- label?: string;
2314
- /**
2315
- * Identifies the element (or elements) that labels the current element.
2316
- * @see aria-describedby.
2317
- */
2318
- labelledBy?: string;
2319
- /**
2320
- * Defines the hierarchical level of an element within a structure.
2321
- */
2322
- level?: number;
2323
- /**
2324
- * Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
2325
- */
2326
- liveRegion?: 'off' | 'assertive' | 'polite';
2327
- /**
2328
- * Indicates whether an element is modal when displayed.
2329
- */
2330
- modal?: boolean;
2331
- /**
2332
- * Indicates whether a text box accepts multiple lines of input or only a single line.
2333
- */
2334
- multiline?: boolean;
2335
- /**
2336
- * Indicates that the user may select more than one item from the current selectable descendants.
2337
- */
2338
- multiSelectable?: boolean;
2339
- /**
2340
- * Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
2341
- */
2342
- orientation?: 'horizontal' | 'vertical';
2343
- /**
2344
- * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
2345
- * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
2346
- * @see aria-controls.
2347
- */
2348
- owns?: string;
2349
- /**
2350
- * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
2351
- * A hint could be a sample value or a brief description of the expected format.
2352
- */
2353
- placeholder?: string;
2354
- /**
2355
- * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
2356
- * @see aria-setsize.
2357
- */
2358
- posInSet?: number;
2359
- /**
2360
- * Indicates the current "pressed" state of toggle buttons.
2361
- * @see aria-checked @see aria-selected.
2362
- */
2363
- pressed?: boolean | 'mixed';
2364
- /**
2365
- * Indicates that the element is not editable, but is otherwise operable.
2366
- * @see aria-disabled.
2367
- */
2368
- readOnly?: boolean;
2369
- /**
2370
- * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
2371
- * @see aria-atomic.
2372
- */
2373
- relevant?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals';
2374
- /**
2375
- * Indicates that user input is required on the element before a form may be submitted.
2376
- */
2377
- required?: boolean;
2378
- /**
2379
- * Defines a human-readable, author-localized description for the role of an element.
2380
- */
2381
- roleDescription?: string;
2382
- /**
2383
- * Defines the total number of rows in a table, grid, or treegrid.
2384
- * @see aria-rowindex.
2385
- */
2386
- rowCount?: number;
2387
- /**
2388
- * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
2389
- * @see aria-rowcount @see aria-rowspan.
2390
- */
2391
- rowIndex?: number;
2392
- /**
2393
- * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
2394
- * @see aria-rowindex @see aria-colspan.
2395
- */
2396
- rowSpan?: number;
2397
- /**
2398
- * Indicates the current "selected" state of various widgets.
2399
- * @see aria-checked @see aria-pressed.
2400
- */
2401
- selected?: boolean;
2402
- /**
2403
- * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
2404
- * @see aria-posinset.
2405
- */
2406
- setSize?: number;
2407
- /**
2408
- * Indicates if items in a table or grid are sorted in ascending or descending order.
2409
- */
2410
- sort?: 'none' | 'ascending' | 'descending' | 'other';
2411
- /**
2412
- * Defines the maximum allowed value for a range widget.
2413
- */
2414
- valueMax?: number;
2415
- /**
2416
- * Defines the minimum allowed value for a range widget.
2417
- */
2418
- valueMin?: number;
2419
- /**
2420
- * Defines the current value for a range widget.
2421
- * @see aria-valuetext.
2422
- */
2423
- valueNow?: number;
2424
- /**
2425
- * Defines the human readable text alternative of aria-valuenow for a range widget.
2426
- */
2427
- valueText?: string;
2428
- };
2429
-
2430
- type InteractiveText = DotNotationToken<Theme['colors']['interactive']['text']>;
2431
- type SurfaceText = DotNotationToken<Theme['colors']['surface']['text']>;
2432
- type FeedbackText = DotNotationToken<Theme['colors']['feedback']['text']>;
2433
- type TextColors = `interactive.text.${InteractiveText}` | `surface.text.${SurfaceText}` | `feedback.text.${FeedbackText}`;
2434
- type As = 'code' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'abbr' | 'q' | 'cite' | 'figcaption' | 'div' | 'label';
2435
- type BaseTextProps = {
2436
- id?: string;
2437
- color?: TextColors;
2438
- fontFamily?: keyof Theme['typography']['fonts']['family'];
2439
- fontSize?: keyof Theme['typography']['fonts']['size'];
2440
- fontWeight?: keyof Theme['typography']['fonts']['weight'];
2441
- fontStyle?: 'italic' | 'normal';
2442
- textDecorationLine?: 'line-through' | 'none' | 'underline';
2443
- lineHeight?: keyof Theme['typography']['lineHeights'];
2444
- letterSpacing?: keyof Theme['typography']['letterSpacings'];
2445
- wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word';
2446
- opacity?: number;
2447
- /**
2448
- * Web only
2449
- */
2450
- as?: As;
2451
- textAlign?: 'center' | 'justify' | 'left' | 'right';
2452
- truncateAfterLines?: number;
2453
- className?: string;
2454
- style?: React.CSSProperties;
2455
- children: React.ReactNode;
2456
- accessibilityProps?: Partial<AccessibilityProps>;
2457
- /**
2458
- * React Native only
2459
- */
2460
- numberOfLines?: number;
2461
- componentName?: 'base-text' | 'text' | 'title' | 'heading' | 'code' | 'display';
2462
- } & TestID & StyledPropsBlade;
2463
- type BaseTextSizes = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
2464
-
2465
- type AmountSizes = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
2466
- type AmountDisplayProps = {
2467
- type?: 'display';
2468
- size?: Extract<AmountSizes, 'small' | 'medium' | 'large' | 'xlarge'>;
2469
- weight?: Extract<BaseTextProps['fontWeight'], 'regular' | 'medium' | 'semibold'>;
2470
- };
2471
- type AmountHeadingProps = {
2472
- type?: 'heading';
2473
- size?: Extract<AmountSizes, 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge'>;
2474
- weight?: Extract<BaseTextProps['fontWeight'], 'regular' | 'semibold'>;
2475
- };
2476
- type AmountBodyProps = {
2477
- type?: 'body';
2478
- size?: Extract<AmountSizes, 'xsmall' | 'small' | 'medium' | 'large'>;
2479
- weight?: Extract<BaseTextProps['fontWeight'], 'regular' | 'medium' | 'semibold'>;
2480
- };
2481
- type AmountTypeProps = AmountDisplayProps | AmountHeadingProps | AmountBodyProps;
2482
-
2483
- type AmountCommonProps = {
2484
- /**
2485
- * The value to be rendered within the component.
2486
- *
2487
- */
2488
- value: number;
2489
- /**
2490
- * Sets the color of the amount.
2491
- *
2492
- * @default undefined
2493
- */
2494
- color?: BaseTextProps['color'];
2495
- /**
2496
- * Indicates what the suffix of amount should be
2497
- *
2498
- * @default 'decimals'
2499
- */
2500
- suffix?: 'decimals' | 'none' | 'humanize';
2501
- /**
2502
- * Makes the currency indicator(currency symbol/code) and decimal digits small and faded
2503
- *
2504
- * @default true
2505
- */
2506
- isAffixSubtle?: true | false;
2507
- /**
2508
- * Determines the visual representation of the currency, choose between displaying the currency symbol or code.
2509
- *
2510
- * Note: Currency symbol and code is determined by the locale set in user's browser or set via @razorpay/i18nify-react library.
2511
- *
2512
- * @default 'currency-symbol'
2513
- */
2514
- currencyIndicator?: 'currency-symbol' | 'currency-code';
2515
- /**
2516
- * The currency of the amount. Note that this component
2517
- * only displays the provided value in the specified currency, it does not perform any currency conversion.
2518
- *
2519
- * @default 'INR'
2520
- * */
2521
- currency?: CurrencyCodeType;
2522
- /**
2523
- * If true, the amount text will have a line through it.
2524
- *
2525
- * @default false
2526
- */
2527
- isStrikethrough?: boolean;
2528
- } & TestID & StyledPropsBlade;
2529
- type AmountProps = AmountTypeProps & AmountCommonProps;
2530
- declare const Amount: ({ value, suffix, type, size, weight, isAffixSubtle, isStrikethrough, color, currencyIndicator, currency, testID, ...styledProps }: AmountProps) => ReactElement;
2531
-
2532
- type SnapPoints = [number, number, number];
2533
-
2534
- type BaseHeaderProps = {
2535
- title?: string;
2536
- subtitle?: string;
2537
- /**
2538
- * Leading part of the header placed at the left most side of the header
2539
- */
2540
- leading?: React__default.ReactNode;
2541
- /**
2542
- * Trailing part of the header placed at the right most side of the header
2543
- */
2544
- trailing?: React__default.ReactNode;
2545
- /**
2546
- * Placed adjacent to the title text
2547
- */
2548
- titleSuffix?: React__default.ReactNode;
2549
- /**
2550
- * @default true
2551
- */
2552
- showDivider?: boolean;
2553
- /**
2554
- * @default false
2555
- */
2556
- showBackButton?: boolean;
2557
- /**
2558
- * @default true
2559
- */
2560
- showCloseButton?: boolean;
2561
- onCloseButtonClick?: () => void;
2562
- onBackButtonClick?: () => void;
2563
- closeButtonRef?: React__default.MutableRefObject<any>;
2564
- backButtonRef?: React__default.MutableRefObject<any>;
2565
- metaComponentName?: string;
2566
- /**
2567
- * inner child of BottomSheetHeader. Meant to be used for AutoComplete only
2568
- */
2569
- children?: React__default.ReactElement;
2570
- } & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'> & TestID;
2571
-
2572
- type BaseFooterProps = {
2573
- children: React__default.ReactNode;
2574
- metaComponentName?: string;
2575
- showDivider?: boolean;
2576
- } & TestID;
2577
-
2578
- type BottomSheetProps = {
2579
- /**
2580
- * Accepts BottomSheetHeader, BottomSheetFooter, BottomSheetBody
2581
- */
2582
- children: React.ReactNode;
2583
- /**
2584
- * SnapPoints in which the bottom sheeet will rest on.
2585
- * Accepts numbers between 0 & 1 which maps to the total view height of the screen, 0.5 means 50% of screen height.
2586
- *
2587
- * @default [0.35, 0.5, 0.85]
2588
- */
2589
- snapPoints?: SnapPoints;
2590
- /**
2591
- * Called when the bottom sheet is closed, either by user state, hitting `esc` or tapping backdrop
2592
- */
2593
- onDismiss?: () => void;
2594
- /**
2595
- * Toggles bottom sheet state
2596
- *
2597
- * @default false
2598
- */
2599
- isOpen?: boolean;
2600
- /**
2601
- * Ref element you want to get keyboard focus when opening the sheet
2602
- * By default the initial focus will go to the close button
2603
- */
2604
- initialFocusRef?: React.MutableRefObject<any>;
2605
- /**
2606
- * Sets the z-index of the bottom sheet
2607
- * Note: when using stacked bottom sheet make sure all the bottom sheets have the same zIndex
2608
- * @default 100
2609
- */
2610
- zIndex?: number;
2611
- };
2612
- type BottomSheetHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'showBackButton' | 'onBackButtonClick' | 'children'> & {
2613
- /**
2614
- * Trailing element to be rendered in the Header
2615
- *
2616
- * Accepts one of `Badge`, `Text`, `Button`, `Link`
2617
- */
2618
- trailing?: BaseHeaderProps['trailing'];
2619
- /**
2620
- * Renders an adornment besides the title
2621
- *
2622
- * Accepts `Counter`
2623
- */
2624
- titleSuffix?: BaseHeaderProps['titleSuffix'];
2625
- };
2626
- type BottomSheetFooterProps = Pick<BaseFooterProps, 'children'>;
2627
- type BottomSheetBodyProps = {
2628
- children: React.ReactNode;
2629
- /**
2630
- * Sets the padding equally on all sides. Only few `spacing` tokens are allowed deliberately
2631
- * @default `spacing.5`
2632
- *
2633
- * **Links:**
2634
- * - Docs: https://blade.razorpay.com/?path=/docs/tokens-spacing--page
2635
- */
2636
- padding?: Extract<SpacingValueType, 'spacing.0' | 'spacing.5'>;
2637
- };
2638
-
2639
- declare const BottomSheetHeader: ({ title, subtitle, leading, trailing, titleSuffix, showBackButton, onBackButtonClick, children, }: BottomSheetHeaderProps) => React__default.ReactElement;
2640
-
2641
- declare const BottomSheetBody: ({ children, padding, }: BottomSheetBodyProps) => React__default.ReactElement;
2642
-
2643
- declare const BottomSheetFooter: ({ children }: BottomSheetFooterProps) => React__default.ReactElement;
2644
-
2645
- declare const BottomSheet: ({ children, snapPoints, isOpen, onDismiss, initialFocusRef, zIndex, }: BottomSheetProps) => React__default.ReactElement;
2646
-
2647
- type BaseLinkCommonProps = {
2648
- color?: 'primary' | 'white' | 'positive' | 'negative' | 'notice' | 'information' | 'neutral';
2649
- icon?: IconComponent;
2650
- iconPosition?: 'left' | 'right';
2651
- onClick?: (event: SyntheticEvent) => void;
2652
- onBlur?: Platform.Select<{
2653
- native: (event: GestureResponderEvent) => void;
2654
- web: (event: React__default.FocusEvent<HTMLButtonElement>) => void;
2655
- }>;
2656
- onMouseLeave?: Platform.Select<{
2657
- native: (event: GestureResponderEvent) => void;
2658
- web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
2659
- }>;
2660
- onKeyDown?: Platform.Select<{
2661
- native: (event: GestureResponderEvent) => void;
2662
- web: (event: React__default.KeyboardEvent<HTMLButtonElement>) => void;
2663
- }>;
2664
- accessibilityProps?: Partial<AccessibilityProps>;
2665
- /**
2666
- * Sets the size of the link
2667
- *
2668
- * @default medium
2669
- */
2670
- size?: Extract<BaseTextSizes, 'xsmall' | 'small' | 'medium' | 'large'>;
2671
- /**
2672
- * Defines how far your touch can start away from the link. This is a react-native only prop and has no effect on web.
2673
- */
2674
- hitSlop?: {
2675
- top?: number;
2676
- right?: number;
2677
- bottom?: number;
2678
- left?: number;
2679
- } | number;
2680
- /**
2681
- * The title of the link which is displayed as a tooltip. This is a web only prop and has no effect on react-native.
2682
- */
2683
- htmlTitle?: string;
2684
- opacity?: number;
2685
- } & TestID & StyledPropsBlade & Omit<BladeCommonEvents, 'onBlur' | 'onMouseLeave'>;
2686
- type BaseLinkWithoutIconProps = BaseLinkCommonProps & {
2687
- icon?: undefined;
2688
- children: StringChildrenType;
2689
- };
2690
- type BaseLinkWithIconProps = BaseLinkCommonProps & {
2691
- icon: IconComponent;
2692
- children?: StringChildrenType;
2693
- };
2694
- type BaseLinkPropsWithOrWithoutIcon = BaseLinkWithIconProps | BaseLinkWithoutIconProps;
2695
- type BaseLinkAnchorVariantProps = BaseLinkPropsWithOrWithoutIcon & {
2696
- variant?: 'anchor';
2697
- href?: string;
2698
- target?: string;
2699
- rel?: string;
2700
- isDisabled?: undefined;
2701
- };
2702
- type BaseLinkButtonVariantProps = BaseLinkPropsWithOrWithoutIcon & {
2703
- variant?: 'button';
2704
- isDisabled?: boolean;
2705
- href?: undefined;
2706
- target?: undefined;
2707
- rel?: undefined;
2708
- };
2709
- type BaseLinkProps = BaseLinkAnchorVariantProps | BaseLinkButtonVariantProps;
2710
-
2711
- type LinkCommonProps = {
2712
- variant?: 'anchor' | 'button';
2713
- icon?: IconComponent;
2714
- color?: 'primary' | 'white' | 'neutral';
2715
- iconPosition?: 'left' | 'right';
2716
- isDisabled?: boolean;
2717
- onClick?: (event: SyntheticEvent) => void;
2718
- href?: string;
2719
- target?: string;
2720
- accessibilityLabel?: string;
2721
- /**
2722
- * It is exposed for internal usage with tooltip.
2723
- *
2724
- * @private
2725
- */
2726
- 'aria-describedby'?: string;
2727
- /**
2728
- * Sets the size of the link
2729
- *
2730
- * @default medium
2731
- */
2732
- size?: BaseLinkProps['size'];
2733
- } & TestID & StyledPropsBlade & BladeCommonEvents & Platform.Select<{
2734
- native: {
2735
- /**
2736
- * Defines how far your touch can start away from the link
2737
- */
2738
- hitSlop?: {
2739
- top?: number;
2740
- right?: number;
2741
- bottom?: number;
2742
- left?: number;
2743
- } | number;
2744
- /**
2745
- * This is a web only prop and has no effect on react-native.
2746
- */
2747
- htmlTitle?: undefined;
2748
- };
2749
- web: {
2750
- /**
2751
- * This is a react-native only prop and has no effect on web.
2752
- */
2753
- hitSlop?: undefined;
2754
- /**
2755
- * The title of the link which is displayed as a tooltip.
2756
- */
2757
- htmlTitle?: string;
2758
- };
2759
- }>;
2760
- type LinkWithoutIconProps = LinkCommonProps & {
2761
- icon?: undefined;
2762
- children: StringChildrenType;
2763
- };
2764
- type LinkWithIconProps = LinkCommonProps & {
2765
- icon: IconComponent;
2766
- children?: StringChildrenType;
2767
- };
2768
- type LinkPropsWithOrWithoutIcon = LinkWithIconProps | LinkWithoutIconProps;
2769
- type LinkAnchorVariantProps = LinkPropsWithOrWithoutIcon & {
2770
- variant?: 'anchor';
2771
- href?: string;
2772
- target?: string;
2773
- rel?: string;
2774
- isDisabled?: undefined;
2775
- };
2776
- type LinkButtonVariantProps = LinkPropsWithOrWithoutIcon & {
2777
- variant?: 'button';
2778
- isDisabled?: boolean;
2779
- href?: undefined;
2780
- target?: undefined;
2781
- rel?: undefined;
2782
- };
2783
- type LinkProps = LinkAnchorVariantProps | LinkButtonVariantProps;
2784
- declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<BladeElementRef>>;
2785
-
2786
- type BreadcrumbProps = StyledPropsBlade & {
2787
- /**
2788
- * Size of the Breadcrumb
2789
- *
2790
- * @default medium
2791
- */
2792
- size?: 'small' | 'medium' | 'large';
2793
- /**
2794
- * Color of the Breadcrumb
2795
- *
2796
- * @default neutral
2797
- */
2798
- color?: 'neutral' | 'primary' | 'white';
2799
- /**
2800
- * Content of the Breadcrumb, accepts BreadcrumbItem
2801
- */
2802
- children: React.ReactNode;
2803
- /**
2804
- * Whether to show the last separator
2805
- */
2806
- showLastSeparator?: boolean;
2807
- /**
2808
- * aria-label for breadcrumb
2809
- */
2810
- accessibilityLabel?: string;
2811
- };
2812
- type BreadcrumbItemProps = {
2813
- /**
2814
- * Href of the BreadcrumbItem
2815
- */
2816
- href: string;
2817
- /**
2818
- * Function to be called on click of the BreadcrumbItem,
2819
- *
2820
- * This can be used to integrate with routing libraries like `react-router-dom`
2821
- */
2822
- onClick?: LinkProps['onClick'];
2823
- /**
2824
- * Whether the BreadcrumbItem is the current page,
2825
- * Sets the aria-current attribute to `page`
2826
- *
2827
- * @default false
2828
- */
2829
- isCurrentPage?: boolean;
2830
- /**
2831
- * Content of the BreadcrumbItem
2832
- */
2833
- children?: StringChildrenType;
2834
- /**
2835
- * Icon to be shown before the BreadcrumbItem
2836
- */
2837
- icon?: IconComponent;
2838
- /**
2839
- * Accessibility label for the BreadcrumbItem, can be used in icon only variant
2840
- */
2841
- accessibilityLabel?: string;
2842
- };
2843
-
2844
- declare const Breadcrumb: (_: BreadcrumbProps) => React.ReactElement;
2845
-
2846
- declare const BreadcrumbItem: (_: BreadcrumbItemProps) => React.ReactElement;
2847
-
2848
- declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps & MarginProps & {
2849
- width: SpacingValueType | {
2850
- readonly base?: SpacingValueType | undefined;
2851
- readonly xs?: SpacingValueType | undefined;
2852
- readonly s?: SpacingValueType | undefined;
2853
- readonly m?: SpacingValueType | undefined;
2854
- readonly l?: SpacingValueType | undefined;
2855
- readonly xl?: SpacingValueType | undefined;
1983
+ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps & MarginProps & {
1984
+ width: SpacingValueType | {
1985
+ readonly base?: SpacingValueType | undefined;
1986
+ readonly xs?: SpacingValueType | undefined;
1987
+ readonly s?: SpacingValueType | undefined;
1988
+ readonly m?: SpacingValueType | undefined;
1989
+ readonly l?: SpacingValueType | undefined;
1990
+ readonly xl?: SpacingValueType | undefined;
2856
1991
  };
2857
1992
  display?: "none" | "flex" | {
2858
1993
  readonly base?: "none" | "flex" | undefined;
@@ -3161,39 +2296,992 @@ declare const Box: React__default.ForwardRefExoticComponent<Partial<PaddingProps
3161
2296
  readonly l?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
3162
2297
  readonly xl?: "surface.border.gray.subtle" | "surface.border.gray.normal" | "surface.border.gray.muted" | "surface.border.primary.normal" | "surface.border.primary.muted" | undefined;
3163
2298
  };
3164
- borderRadius: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | {
3165
- readonly base?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
3166
- readonly xs?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
3167
- readonly s?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
3168
- readonly m?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
3169
- readonly l?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
3170
- readonly xl?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
2299
+ borderRadius: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | {
2300
+ readonly base?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
2301
+ readonly xs?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
2302
+ readonly s?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
2303
+ readonly m?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
2304
+ readonly l?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
2305
+ readonly xl?: "none" | "xsmall" | "small" | "medium" | "large" | "xlarge" | "2xlarge" | "max" | "round" | undefined;
2306
+ };
2307
+ borderWidth: "none" | "thinner" | "thin" | "thick" | "thicker" | {
2308
+ readonly base?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
2309
+ readonly xs?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
2310
+ readonly s?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
2311
+ readonly m?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
2312
+ readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
2313
+ readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
2314
+ };
2315
+ __brand__?: "platform-native" | {
2316
+ readonly base?: "platform-native" | undefined;
2317
+ readonly xs?: "platform-native" | undefined;
2318
+ readonly s?: "platform-native" | undefined;
2319
+ readonly m?: "platform-native" | undefined;
2320
+ readonly l?: "platform-native" | undefined;
2321
+ readonly xl?: "platform-native" | undefined;
2322
+ } | undefined;
2323
+ } & MakeObjectResponsive<{
2324
+ 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";
2325
+ }, "backgroundColor"> & {
2326
+ as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
2327
+ } & {
2328
+ children?: React__default.ReactNode | React__default.ReactNode[];
2329
+ tabIndex?: number | undefined;
2330
+ id?: string | undefined;
2331
+ } & TestID> & React__default.RefAttributes<BoxRefType>>;
2332
+
2333
+ type BaseHeaderProps = {
2334
+ title?: string;
2335
+ subtitle?: string;
2336
+ /**
2337
+ * Leading part of the header placed at the left most side of the header
2338
+ */
2339
+ leading?: React__default.ReactNode;
2340
+ /**
2341
+ * Trailing part of the header placed at the right most side of the header
2342
+ */
2343
+ trailing?: React__default.ReactNode;
2344
+ /**
2345
+ * Placed adjacent to the title text
2346
+ */
2347
+ titleSuffix?: React__default.ReactNode;
2348
+ /**
2349
+ * @default true
2350
+ */
2351
+ showDivider?: boolean;
2352
+ /**
2353
+ * @default false
2354
+ */
2355
+ showBackButton?: boolean;
2356
+ /**
2357
+ * Slot for rendering any trailing interaction element into BaseHeader.
2358
+ *
2359
+ * E.g. Used in accordion to render CollapsibleChevronIcon
2360
+ */
2361
+ trailingInteractionElement?: React__default.ReactNode;
2362
+ /**
2363
+ * Decides size of the Header
2364
+ */
2365
+ size?: 'large' | 'medium';
2366
+ /**
2367
+ * @default true
2368
+ */
2369
+ showCloseButton?: boolean;
2370
+ /**
2371
+ * Disabled state of BaseHeader
2372
+ *
2373
+ * @default false
2374
+ */
2375
+ isDisabled?: boolean;
2376
+ paddingX?: BoxProps['paddingX'];
2377
+ marginY?: BoxProps['marginY'];
2378
+ onCloseButtonClick?: () => void;
2379
+ onBackButtonClick?: () => void;
2380
+ closeButtonRef?: React__default.MutableRefObject<any>;
2381
+ backButtonRef?: React__default.MutableRefObject<any>;
2382
+ metaComponentName?: string;
2383
+ /**
2384
+ * inner child of BottomSheetHeader. Meant to be used for AutoComplete only
2385
+ */
2386
+ children?: React__default.ReactElement | React__default.ReactElement[];
2387
+ } & Pick<ReactDOMAttributes, 'onClickCapture' | 'onKeyDown' | 'onKeyUp' | 'onLostPointerCapture' | 'onPointerCancel' | 'onPointerDown' | 'onPointerMove' | 'onPointerUp'> & TestID;
2388
+
2389
+ declare const AccordionItemHeader: ({ title, subtitle, leading, children, trailing, titleSuffix, }: Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'children' | 'trailing' | 'titleSuffix'>) => React.ReactElement;
2390
+
2391
+ declare const AccordionItemBody: ({ children, _description, }: {
2392
+ children?: React.ReactNode | StringChildrenType;
2393
+ _description?: string | undefined;
2394
+ }) => React.ReactElement;
2395
+
2396
+ type AccordionItemProps = {
2397
+ /**
2398
+ * Title text content
2399
+ *
2400
+ * @deprecated Use AccordionItemHeader and AccordionItemBody
2401
+ *
2402
+ * Checkout https://blade.razorpay.com/?path=/docs/components-accordion--docs for new API
2403
+ */
2404
+ title?: string;
2405
+ /**
2406
+ * Body text content
2407
+ *
2408
+ * @deprecated Use AccordionItemHeader and AccordionItemBody
2409
+ *
2410
+ * Checkout https://blade.razorpay.com/?path=/docs/components-accordion--docs for new API
2411
+ */
2412
+ description?: string;
2413
+ /**
2414
+ * Renders a Blade icon as title prefix (requires `showNumberPrefix={false}`)
2415
+ *
2416
+ * @deprecated Use `leading={<StarIcon size="large" />}` on AccordionItemHeader instead
2417
+ *
2418
+ * Checkout https://blade.razorpay.com/?path=/docs/components-accordion--docs for new API
2419
+ */
2420
+ icon?: IconComponent;
2421
+ /**
2422
+ * Slot, renders any custom content
2423
+ */
2424
+ children?: ReactNode | ReactNode[];
2425
+ /**
2426
+ * Disabled state of the item
2427
+ *
2428
+ * @default false
2429
+ */
2430
+ isDisabled?: boolean;
2431
+ /**
2432
+ * **Internal:** used for determining numbering, you don't need to pass this,
2433
+ * instead pass `showNumberPrefix` to root `Accordion`
2434
+ */
2435
+ _index?: number;
2436
+ } & TestID;
2437
+ declare const AccordionItem: ({ title, description, icon, children, isDisabled, _index, testID, }: AccordionItemProps) => ReactElement;
2438
+
2439
+ type ActionListProps = {
2440
+ children: React__default.ReactNode[];
2441
+ } & TestID;
2442
+ /**
2443
+ * ### ActionList
2444
+ *
2445
+ * List of multiple actionable items. Can be used as menu items inside `Dropdown`,
2446
+ * `BottomSheet` and as selectable items when combined with `SelectInput`
2447
+ *
2448
+ * #### Usage
2449
+ *
2450
+ * ```jsx
2451
+ * <Dropdown>
2452
+ * <SelectInput label="Select Action" />
2453
+ * <DropdownOverlay>
2454
+ * <DropdownHeader title="Header Title" />
2455
+ * <ActionList>
2456
+ * <ActionListItem
2457
+ * title="Home"
2458
+ * value="home"
2459
+ * leading={<ActionListItemIcon icon={HomeIcon} />}
2460
+ * />
2461
+ * <ActionListItem
2462
+ * title="Pricing"
2463
+ * value="pricing"
2464
+ * leading={<ActionListItemAsset src="https://flagcdn.com/w20/in.png" alt="India Flag" />}
2465
+ * />
2466
+ * </ActionList>
2467
+ * <DropdownFooter><Button>Apply</Button></DropdownFooter>
2468
+ * </DropdownOverlay>
2469
+ * </Dropdown>
2470
+ * ```
2471
+ *
2472
+ */
2473
+ declare const ActionList: React__default.MemoExoticComponent<({ children, testID }: ActionListProps) => React__default.ReactElement>;
2474
+
2475
+ type BadgeProps = {
2476
+ /**
2477
+ * Sets the label for the badge.
2478
+ *
2479
+ */
2480
+ children: StringChildrenType;
2481
+ /**
2482
+ * Sets the color of the badge.
2483
+ *
2484
+ * @default 'neutral'
2485
+ */
2486
+ color?: FeedbackColors | 'primary';
2487
+ /**
2488
+ * Sets the contrast of the badge.
2489
+ *
2490
+ * @default 'subtle'
2491
+ */
2492
+ emphasis?: SubtleOrIntense;
2493
+ /**
2494
+ * Sets the size of the badge.
2495
+ *
2496
+ * @default 'medium'
2497
+ */
2498
+ size?: 'small' | 'medium' | 'large';
2499
+ /**
2500
+ * Icon to be displayed in the badge.
2501
+ * Accepts a component of type `IconComponent` from Blade.
2502
+ *
2503
+ */
2504
+ icon?: IconComponent;
2505
+ } & TestID & StyledPropsBlade;
2506
+ declare const Badge: ({ children, emphasis, icon: Icon, size, color, testID, ...styledProps }: BadgeProps) => ReactElement;
2507
+
2508
+ type ActionListItemProps = {
2509
+ title: string;
2510
+ description?: string;
2511
+ onClick?: (clickProps: {
2512
+ name: string;
2513
+ value?: boolean;
2514
+ }) => void;
2515
+ /**
2516
+ * value that you get from `onChange` event on SelectInput or in form submissions.
2517
+ */
2518
+ value: string;
2519
+ /**
2520
+ * Link to open when item is clicked.
2521
+ */
2522
+ href?: string;
2523
+ /**
2524
+ * HTML target of the link
2525
+ */
2526
+ target?: string;
2527
+ /**
2528
+ * Item that goes on left-side of item.
2529
+ *
2530
+ * Valid elements - `<ActionListItemIcon />`, `<ActionListItemAsset />`
2531
+ *
2532
+ * Will be overriden in multiselect
2533
+ */
2534
+ leading?: React__default.ReactNode;
2535
+ /**
2536
+ * Item that goes on right-side of item.
2537
+ *
2538
+ * Valid elements - `<ActionListItemText />`, `<ActionListItemIcon />`
2539
+ */
2540
+ trailing?: React__default.ReactNode;
2541
+ /**
2542
+ * Item that goes immediately next to the title.
2543
+ *
2544
+ * Valid elements - `<ActionListItemBadge />`, `<ActionListItemBadgeGroup />`
2545
+ *
2546
+ */
2547
+ titleSuffix?: React__default.ReactElement;
2548
+ isDisabled?: boolean;
2549
+ intent?: Extract<FeedbackColors, 'negative'>;
2550
+ /**
2551
+ * Can be used in combination of `onClick` to highlight item as selected in Button Triggers.
2552
+ *
2553
+ * When trigger is SelectInput, Use `value` prop on SelectInput instead to make dropdown controlled.
2554
+ */
2555
+ isSelected?: boolean;
2556
+ /**
2557
+ * Internally passed from ActionList. No need to pass it explicitly
2558
+ *
2559
+ * @private
2560
+ */
2561
+ _index?: number;
2562
+ } & TestID;
2563
+ type ActionListSectionProps = {
2564
+ title: string;
2565
+ children: React__default.ReactNode[] | React__default.ReactNode;
2566
+ /**
2567
+ * Internally used to hide the divider on final item in React Native.
2568
+ *
2569
+ * Should not be used by consumers (also won't work on web)
2570
+ *
2571
+ * @private
2572
+ */
2573
+ _hideDivider?: boolean;
2574
+ /**
2575
+ * Internally used to hide / show section in AutoComplete
2576
+ *
2577
+ * @private
2578
+ */
2579
+ _sectionChildValues?: string[];
2580
+ } & TestID;
2581
+ declare const ActionListSection: ({ title, children, testID, _hideDivider, _sectionChildValues, }: ActionListSectionProps) => React__default.ReactElement;
2582
+ declare const ActionListItemIcon: ({ icon }: {
2583
+ icon: IconComponent;
2584
+ }) => React__default.ReactElement;
2585
+ declare const ActionListItemBadgeGroup: ({ children, }: {
2586
+ children: React__default.ReactElement[] | React__default.ReactElement;
2587
+ }) => React__default.ReactElement;
2588
+ declare const ActionListItemBadge: (props: BadgeProps) => React__default.ReactElement;
2589
+ declare const ActionListItemText: ({ children, }: {
2590
+ children: StringChildrenType;
2591
+ }) => React__default.ReactElement;
2592
+ declare const ActionListItem: React__default.MemoExoticComponent<(props: ActionListItemProps) => React__default.ReactElement>;
2593
+
2594
+ type ActionListItemAssetProps = {
2595
+ /**
2596
+ * Source of the image.
2597
+ *
2598
+ * Can either be a string URI or `require('/local/image')` in React Native
2599
+ */
2600
+ src: string | ImageSourcePropType;
2601
+ /**
2602
+ * Alt tag for the image
2603
+ */
2604
+ alt: string;
2605
+ };
2606
+ declare const ActionListItemAsset: (props: ActionListItemAssetProps) => React.ReactElement;
2607
+
2608
+ type PrimaryAction = {
2609
+ text: string;
2610
+ onClick: () => void;
2611
+ };
2612
+ type SecondaryActionButton = {
2613
+ text: string;
2614
+ onClick: () => void;
2615
+ };
2616
+ type SecondaryActionLinkButton = {
2617
+ text: string;
2618
+ href: string;
2619
+ onClick?: () => void;
2620
+ target?: string;
2621
+ /**
2622
+ * When `target` is set to `_blank` this is automatically set to `noopener noreferrer`
2623
+ */
2624
+ rel?: string;
2625
+ };
2626
+ type SecondaryAction = SecondaryActionButton | SecondaryActionLinkButton;
2627
+ type AlertProps = {
2628
+ /**
2629
+ * Body content, pass text or JSX. Avoid passing components except `Link` to customize the content.
2630
+ */
2631
+ description: ReactChild;
2632
+ /**
2633
+ * A brief heading
2634
+ */
2635
+ title?: string;
2636
+ /**
2637
+ * Shows a dismiss button
2638
+ *
2639
+ * @default true
2640
+ */
2641
+ isDismissible?: boolean;
2642
+ /**
2643
+ * A callback when the dismiss button is clicked
2644
+ */
2645
+ onDismiss?: () => void;
2646
+ /**
2647
+ * Can be set to `high` for a more prominent look. Not to be confused with a11y emphasis.
2648
+ *
2649
+ * @default subtle
2650
+ */
2651
+ emphasis?: SubtleOrIntense;
2652
+ /**
2653
+ * Makes the Alert span the entire container width, instead of the default max width of `584px`.
2654
+ * This also makes the alert borderless, useful for creating full bleed layouts.
2655
+ *
2656
+ * @default false
2657
+ */
2658
+ isFullWidth?: boolean;
2659
+ /**
2660
+ * Sets the color tone
2661
+ */
2662
+ color?: FeedbackColors;
2663
+ /**
2664
+ * Renders a primary action button and a secondary action link button
2665
+ */
2666
+ actions?: {
2667
+ /**
2668
+ * Renders a button (should **always** be present if `secondary` action is being used)
2669
+ */
2670
+ primary?: PrimaryAction;
2671
+ /**
2672
+ * Renders a Link button
2673
+ */
2674
+ secondary?: SecondaryAction;
2675
+ };
2676
+ } & TestID & StyledPropsBlade;
2677
+ declare const Alert: ({ description, title, isDismissible, onDismiss, emphasis, isFullWidth, color, actions, testID, ...styledProps }: AlertProps) => ReactElement | null;
2678
+
2679
+ type AriaRoles = Exclude<AccessibilityRole, 'header' | 'adjustable' | 'image' | 'none' | 'summary'> | 'alert' | 'alertdialog' | 'application' | 'article' | 'banner' | 'button' | 'cell' | 'checkbox' | 'columnheader' | 'combobox' | 'complementary' | 'contentinfo' | 'definition' | 'dialog' | 'directory' | 'document' | 'feed' | 'figure' | 'form' | 'grid' | 'gridcell' | 'group' | 'heading' | 'img' | 'link' | 'list' | 'listbox' | 'listitem' | 'log' | 'main' | 'marquee' | 'math' | 'menu' | 'menubar' | 'menuitem' | 'menuitemcheckbox' | 'menuitemradio' | 'meter' | 'navigation' | 'none' | 'note' | 'option' | 'presentation' | 'progressbar' | 'radio' | 'radiogroup' | 'region' | 'row' | 'rowgroup' | 'rowheader' | 'scrollbar' | 'search' | 'searchbox' | 'separator' | 'slider' | 'spinbutton' | 'status' | 'switch' | 'tab' | 'table' | 'tablist' | 'tabpanel' | 'term' | 'textbox' | 'timer' | 'toolbar' | 'tooltip' | 'tree' | 'treegrid' | 'treeitem';
2680
+ type AccessibilityProps = AriaAttributes;
2681
+ type AriaAttributes = {
2682
+ role: AriaRoles;
2683
+ /**
2684
+ * Identifies the currently active element when DOM focus is on a composite widget, textbox, group, or application.
2685
+ */
2686
+ activeDescendant?: string;
2687
+ /**
2688
+ * Indicates whether assistive technologies will present all, or only parts of, the changed region based on the change notifications defined by the aria-relevant attribute.
2689
+ */
2690
+ atomic?: boolean;
2691
+ /**
2692
+ * Indicates whether inputting text could trigger display of one or more predictions of the user's intended value for an input and specifies how predictions would be presented if they are made.
2693
+ */
2694
+ autoComplete?: 'none' | 'inline' | 'list' | 'both';
2695
+ /**
2696
+ * Indicates an element is being modified and that assistive technologies MAY want to wait until the modifications are complete before exposing them to the user.
2697
+ */
2698
+ busy?: boolean;
2699
+ /**
2700
+ * Indicates the current "checked" state of checkboxes, radio buttons, and other widgets.
2701
+ * @see aria-pressed @see aria-selected.
2702
+ */
2703
+ checked?: boolean | 'mixed';
2704
+ /**
2705
+ * Defines the total number of columns in a table, grid, or treegrid.
2706
+ * @see aria-colindex.
2707
+ */
2708
+ colCount?: number;
2709
+ /**
2710
+ * Defines an element's column index or position with respect to the total number of columns within a table, grid, or treegrid.
2711
+ * @see aria-colcount @see aria-colspan.
2712
+ */
2713
+ colIndex?: number;
2714
+ /**
2715
+ * Defines the number of columns spanned by a cell or gridcell within a table, grid, or treegrid.
2716
+ * @see aria-colindex @see aria-rowspan.
2717
+ */
2718
+ colSpan?: number;
2719
+ /**
2720
+ * Identifies the element (or elements) whose contents or presence are controlled by the current element.
2721
+ * @see aria-owns.
2722
+ */
2723
+ controls?: string;
2724
+ /**
2725
+ * Indicates the element that represents the current item within a container or set of related elements.
2726
+ */
2727
+ current?: boolean | 'page' | 'step' | 'location' | 'date' | 'time';
2728
+ /**
2729
+ * Identifies the element (or elements) that describes the object.
2730
+ * @see aria-labelledby
2731
+ */
2732
+ describedBy?: string;
2733
+ /**
2734
+ * Identifies the element that provides a detailed, extended description for the object.
2735
+ * @see aria-describedby.
2736
+ */
2737
+ details?: string;
2738
+ /**
2739
+ * Indicates that the element is perceivable but disabled, so it is not editable or otherwise operable.
2740
+ * @see aria-hidden @see aria-readonly.
2741
+ */
2742
+ disabled?: boolean;
2743
+ /**
2744
+ * Indicates what functions can be performed when a dragged object is released on the drop target.
2745
+ * @deprecated in ARIA 1.1
2746
+ */
2747
+ dropEffect?: 'none' | 'copy' | 'execute' | 'link' | 'move' | 'popup';
2748
+ /**
2749
+ * Identifies the element that provides an error message for the object.
2750
+ * @see aria-invalid @see aria-describedby.
2751
+ */
2752
+ errorMessage?: string;
2753
+ /**
2754
+ * Indicates whether the element, or another grouping element it controls, is currently expanded or collapsed.
2755
+ */
2756
+ expanded?: boolean;
2757
+ /**
2758
+ * Identifies the next element (or elements) in an alternate reading order of content which, at the user's discretion,
2759
+ * allows assistive technology to override the general default of reading in document source order.
2760
+ */
2761
+ flowTo?: string;
2762
+ /**
2763
+ * Indicates an element's "grabbed" state in a drag-and-drop operation.
2764
+ * @deprecated in ARIA 1.1
2765
+ */
2766
+ grabbed?: boolean;
2767
+ /**
2768
+ * Indicates the availability and type of interactive popup element, such as menu or dialog, that can be triggered by an element.
2769
+ */
2770
+ hasPopup?: boolean | 'menu' | 'listbox' | 'tree' | 'grid' | 'dialog';
2771
+ /**
2772
+ * Indicates whether the element is exposed to an accessibility API.
2773
+ * @see aria-disabled.
2774
+ */
2775
+ hidden?: boolean;
2776
+ /**
2777
+ * Indicates the entered value does not conform to the format expected by the application.
2778
+ * @see aria-errormessage.
2779
+ */
2780
+ invalid?: boolean | 'grammar' | 'spelling';
2781
+ /**
2782
+ * Indicates keyboard shortcuts that an author has implemented to activate or give focus to an element.
2783
+ */
2784
+ keyShortcuts?: string;
2785
+ /**
2786
+ * Defines a string value that labels the current element.
2787
+ * @see aria-labelledby.
2788
+ */
2789
+ label?: string;
2790
+ /**
2791
+ * Identifies the element (or elements) that labels the current element.
2792
+ * @see aria-describedby.
2793
+ */
2794
+ labelledBy?: string;
2795
+ /**
2796
+ * Defines the hierarchical level of an element within a structure.
2797
+ */
2798
+ level?: number;
2799
+ /**
2800
+ * Indicates that an element will be updated, and describes the types of updates the user agents, assistive technologies, and user can expect from the live region.
2801
+ */
2802
+ liveRegion?: 'off' | 'assertive' | 'polite';
2803
+ /**
2804
+ * Indicates whether an element is modal when displayed.
2805
+ */
2806
+ modal?: boolean;
2807
+ /**
2808
+ * Indicates whether a text box accepts multiple lines of input or only a single line.
2809
+ */
2810
+ multiline?: boolean;
2811
+ /**
2812
+ * Indicates that the user may select more than one item from the current selectable descendants.
2813
+ */
2814
+ multiSelectable?: boolean;
2815
+ /**
2816
+ * Indicates whether the element's orientation is horizontal, vertical, or unknown/ambiguous.
2817
+ */
2818
+ orientation?: 'horizontal' | 'vertical';
2819
+ /**
2820
+ * Identifies an element (or elements) in order to define a visual, functional, or contextual parent/child relationship
2821
+ * between DOM elements where the DOM hierarchy cannot be used to represent the relationship.
2822
+ * @see aria-controls.
2823
+ */
2824
+ owns?: string;
2825
+ /**
2826
+ * Defines a short hint (a word or short phrase) intended to aid the user with data entry when the control has no value.
2827
+ * A hint could be a sample value or a brief description of the expected format.
2828
+ */
2829
+ placeholder?: string;
2830
+ /**
2831
+ * Defines an element's number or position in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
2832
+ * @see aria-setsize.
2833
+ */
2834
+ posInSet?: number;
2835
+ /**
2836
+ * Indicates the current "pressed" state of toggle buttons.
2837
+ * @see aria-checked @see aria-selected.
2838
+ */
2839
+ pressed?: boolean | 'mixed';
2840
+ /**
2841
+ * Indicates that the element is not editable, but is otherwise operable.
2842
+ * @see aria-disabled.
2843
+ */
2844
+ readOnly?: boolean;
2845
+ /**
2846
+ * Indicates what notifications the user agent will trigger when the accessibility tree within a live region is modified.
2847
+ * @see aria-atomic.
2848
+ */
2849
+ relevant?: 'additions' | 'additions removals' | 'additions text' | 'all' | 'removals' | 'removals additions' | 'removals text' | 'text' | 'text additions' | 'text removals';
2850
+ /**
2851
+ * Indicates that user input is required on the element before a form may be submitted.
2852
+ */
2853
+ required?: boolean;
2854
+ /**
2855
+ * Defines a human-readable, author-localized description for the role of an element.
2856
+ */
2857
+ roleDescription?: string;
2858
+ /**
2859
+ * Defines the total number of rows in a table, grid, or treegrid.
2860
+ * @see aria-rowindex.
2861
+ */
2862
+ rowCount?: number;
2863
+ /**
2864
+ * Defines an element's row index or position with respect to the total number of rows within a table, grid, or treegrid.
2865
+ * @see aria-rowcount @see aria-rowspan.
2866
+ */
2867
+ rowIndex?: number;
2868
+ /**
2869
+ * Defines the number of rows spanned by a cell or gridcell within a table, grid, or treegrid.
2870
+ * @see aria-rowindex @see aria-colspan.
2871
+ */
2872
+ rowSpan?: number;
2873
+ /**
2874
+ * Indicates the current "selected" state of various widgets.
2875
+ * @see aria-checked @see aria-pressed.
2876
+ */
2877
+ selected?: boolean;
2878
+ /**
2879
+ * Defines the number of items in the current set of listitems or treeitems. Not required if all elements in the set are present in the DOM.
2880
+ * @see aria-posinset.
2881
+ */
2882
+ setSize?: number;
2883
+ /**
2884
+ * Indicates if items in a table or grid are sorted in ascending or descending order.
2885
+ */
2886
+ sort?: 'none' | 'ascending' | 'descending' | 'other';
2887
+ /**
2888
+ * Defines the maximum allowed value for a range widget.
2889
+ */
2890
+ valueMax?: number;
2891
+ /**
2892
+ * Defines the minimum allowed value for a range widget.
2893
+ */
2894
+ valueMin?: number;
2895
+ /**
2896
+ * Defines the current value for a range widget.
2897
+ * @see aria-valuetext.
2898
+ */
2899
+ valueNow?: number;
2900
+ /**
2901
+ * Defines the human readable text alternative of aria-valuenow for a range widget.
2902
+ */
2903
+ valueText?: string;
2904
+ };
2905
+
2906
+ type InteractiveText = DotNotationToken<Theme['colors']['interactive']['text']>;
2907
+ type SurfaceText = DotNotationToken<Theme['colors']['surface']['text']>;
2908
+ type FeedbackText = DotNotationToken<Theme['colors']['feedback']['text']>;
2909
+ type TextColors = `interactive.text.${InteractiveText}` | `surface.text.${SurfaceText}` | `feedback.text.${FeedbackText}`;
2910
+ type As = 'code' | 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6' | 'p' | 'span' | 'abbr' | 'q' | 'cite' | 'figcaption' | 'div' | 'label';
2911
+ type BaseTextProps = {
2912
+ id?: string;
2913
+ color?: TextColors;
2914
+ fontFamily?: keyof Theme['typography']['fonts']['family'];
2915
+ fontSize?: keyof Theme['typography']['fonts']['size'];
2916
+ fontWeight?: keyof Theme['typography']['fonts']['weight'];
2917
+ fontStyle?: 'italic' | 'normal';
2918
+ textDecorationLine?: 'line-through' | 'none' | 'underline';
2919
+ lineHeight?: keyof Theme['typography']['lineHeights'];
2920
+ letterSpacing?: keyof Theme['typography']['letterSpacings'];
2921
+ wordBreak?: 'normal' | 'break-all' | 'keep-all' | 'break-word';
2922
+ opacity?: number;
2923
+ /**
2924
+ * Web only
2925
+ */
2926
+ as?: As;
2927
+ textAlign?: 'center' | 'justify' | 'left' | 'right';
2928
+ truncateAfterLines?: number;
2929
+ className?: string;
2930
+ style?: React.CSSProperties;
2931
+ children: React.ReactNode;
2932
+ accessibilityProps?: Partial<AccessibilityProps>;
2933
+ /**
2934
+ * React Native only
2935
+ */
2936
+ numberOfLines?: number;
2937
+ componentName?: 'base-text' | 'text' | 'title' | 'heading' | 'code' | 'display';
2938
+ } & TestID & StyledPropsBlade;
2939
+ type BaseTextSizes = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
2940
+
2941
+ type AmountSizes = 'xsmall' | 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge';
2942
+ type AmountDisplayProps = {
2943
+ type?: 'display';
2944
+ size?: Extract<AmountSizes, 'small' | 'medium' | 'large' | 'xlarge'>;
2945
+ weight?: Extract<BaseTextProps['fontWeight'], 'regular' | 'medium' | 'semibold'>;
2946
+ };
2947
+ type AmountHeadingProps = {
2948
+ type?: 'heading';
2949
+ size?: Extract<AmountSizes, 'small' | 'medium' | 'large' | 'xlarge' | '2xlarge'>;
2950
+ weight?: Extract<BaseTextProps['fontWeight'], 'regular' | 'semibold'>;
2951
+ };
2952
+ type AmountBodyProps = {
2953
+ type?: 'body';
2954
+ size?: Extract<AmountSizes, 'xsmall' | 'small' | 'medium' | 'large'>;
2955
+ weight?: Extract<BaseTextProps['fontWeight'], 'regular' | 'medium' | 'semibold'>;
2956
+ };
2957
+ type AmountTypeProps = AmountDisplayProps | AmountHeadingProps | AmountBodyProps;
2958
+
2959
+ type AmountCommonProps = {
2960
+ /**
2961
+ * The value to be rendered within the component.
2962
+ *
2963
+ */
2964
+ value: number;
2965
+ /**
2966
+ * Sets the color of the amount.
2967
+ *
2968
+ * @default undefined
2969
+ */
2970
+ color?: BaseTextProps['color'];
2971
+ /**
2972
+ * Indicates what the suffix of amount should be
2973
+ *
2974
+ * @default 'decimals'
2975
+ */
2976
+ suffix?: 'decimals' | 'none' | 'humanize';
2977
+ /**
2978
+ * Makes the currency indicator(currency symbol/code) and decimal digits small and faded
2979
+ *
2980
+ * @default true
2981
+ */
2982
+ isAffixSubtle?: true | false;
2983
+ /**
2984
+ * Determines the visual representation of the currency, choose between displaying the currency symbol or code.
2985
+ *
2986
+ * Note: Currency symbol and code is determined by the locale set in user's browser or set via @razorpay/i18nify-react library.
2987
+ *
2988
+ * @default 'currency-symbol'
2989
+ */
2990
+ currencyIndicator?: 'currency-symbol' | 'currency-code';
2991
+ /**
2992
+ * The currency of the amount. Note that this component
2993
+ * only displays the provided value in the specified currency, it does not perform any currency conversion.
2994
+ *
2995
+ * @default 'INR'
2996
+ * */
2997
+ currency?: CurrencyCodeType;
2998
+ /**
2999
+ * If true, the amount text will have a line through it.
3000
+ *
3001
+ * @default false
3002
+ */
3003
+ isStrikethrough?: boolean;
3004
+ } & TestID & StyledPropsBlade;
3005
+ type AmountProps = AmountTypeProps & AmountCommonProps;
3006
+ declare const Amount: ({ value, suffix, type, size, weight, isAffixSubtle, isStrikethrough, color, currencyIndicator, currency, testID, ...styledProps }: AmountProps) => ReactElement;
3007
+
3008
+ type SnapPoints = [number, number, number];
3009
+
3010
+ type BaseFooterProps = {
3011
+ children: React__default.ReactNode;
3012
+ metaComponentName?: string;
3013
+ showDivider?: boolean;
3014
+ } & TestID;
3015
+
3016
+ type BottomSheetProps = {
3017
+ /**
3018
+ * Accepts BottomSheetHeader, BottomSheetFooter, BottomSheetBody
3019
+ */
3020
+ children: React.ReactNode;
3021
+ /**
3022
+ * SnapPoints in which the bottom sheeet will rest on.
3023
+ * Accepts numbers between 0 & 1 which maps to the total view height of the screen, 0.5 means 50% of screen height.
3024
+ *
3025
+ * @default [0.35, 0.5, 0.85]
3026
+ */
3027
+ snapPoints?: SnapPoints;
3028
+ /**
3029
+ * Called when the bottom sheet is closed, either by user state, hitting `esc` or tapping backdrop
3030
+ */
3031
+ onDismiss?: () => void;
3032
+ /**
3033
+ * Toggles bottom sheet state
3034
+ *
3035
+ * @default false
3036
+ */
3037
+ isOpen?: boolean;
3038
+ /**
3039
+ * Ref element you want to get keyboard focus when opening the sheet
3040
+ * By default the initial focus will go to the close button
3041
+ */
3042
+ initialFocusRef?: React.MutableRefObject<any>;
3043
+ /**
3044
+ * Sets the z-index of the bottom sheet
3045
+ * Note: when using stacked bottom sheet make sure all the bottom sheets have the same zIndex
3046
+ * @default 100
3047
+ */
3048
+ zIndex?: number;
3049
+ };
3050
+ type BottomSheetHeaderProps = Pick<BaseHeaderProps, 'title' | 'subtitle' | 'leading' | 'showBackButton' | 'onBackButtonClick' | 'children'> & {
3051
+ /**
3052
+ * Trailing element to be rendered in the Header
3053
+ *
3054
+ * Accepts one of `Badge`, `Text`, `Button`, `Link`
3055
+ */
3056
+ trailing?: BaseHeaderProps['trailing'];
3057
+ /**
3058
+ * Renders an adornment besides the title
3059
+ *
3060
+ * Accepts `Counter`
3061
+ */
3062
+ titleSuffix?: BaseHeaderProps['titleSuffix'];
3063
+ };
3064
+ type BottomSheetFooterProps = Pick<BaseFooterProps, 'children'>;
3065
+ type BottomSheetBodyProps = {
3066
+ children: React.ReactNode;
3067
+ /**
3068
+ * Sets the padding equally on all sides. Only few `spacing` tokens are allowed deliberately
3069
+ * @default `spacing.5`
3070
+ *
3071
+ * **Links:**
3072
+ * - Docs: https://blade.razorpay.com/?path=/docs/tokens-spacing--page
3073
+ */
3074
+ padding?: Extract<SpacingValueType, 'spacing.0' | 'spacing.5'>;
3075
+ };
3076
+
3077
+ declare const BottomSheetHeader: ({ title, subtitle, leading, trailing, titleSuffix, showBackButton, onBackButtonClick, children, }: BottomSheetHeaderProps) => React__default.ReactElement;
3078
+
3079
+ declare const BottomSheetBody: ({ children, padding, }: BottomSheetBodyProps) => React__default.ReactElement;
3080
+
3081
+ declare const BottomSheetFooter: ({ children }: BottomSheetFooterProps) => React__default.ReactElement;
3082
+
3083
+ declare const BottomSheet: ({ children, snapPoints, isOpen, onDismiss, initialFocusRef, zIndex, }: BottomSheetProps) => React__default.ReactElement;
3084
+
3085
+ type BaseLinkCommonProps = {
3086
+ color?: 'primary' | 'white' | 'positive' | 'negative' | 'notice' | 'information' | 'neutral';
3087
+ icon?: IconComponent;
3088
+ iconPosition?: 'left' | 'right';
3089
+ onClick?: (event: SyntheticEvent) => void;
3090
+ onBlur?: Platform.Select<{
3091
+ native: (event: GestureResponderEvent) => void;
3092
+ web: (event: React__default.FocusEvent<HTMLButtonElement>) => void;
3093
+ }>;
3094
+ onMouseLeave?: Platform.Select<{
3095
+ native: (event: GestureResponderEvent) => void;
3096
+ web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
3097
+ }>;
3098
+ onKeyDown?: Platform.Select<{
3099
+ native: (event: GestureResponderEvent) => void;
3100
+ web: (event: React__default.KeyboardEvent<HTMLButtonElement>) => void;
3101
+ }>;
3102
+ accessibilityProps?: Partial<AccessibilityProps>;
3103
+ /**
3104
+ * Sets the size of the link
3105
+ *
3106
+ * @default medium
3107
+ */
3108
+ size?: Extract<BaseTextSizes, 'xsmall' | 'small' | 'medium' | 'large'>;
3109
+ /**
3110
+ * Defines how far your touch can start away from the link. This is a react-native only prop and has no effect on web.
3111
+ */
3112
+ hitSlop?: {
3113
+ top?: number;
3114
+ right?: number;
3115
+ bottom?: number;
3116
+ left?: number;
3117
+ } | number;
3118
+ /**
3119
+ * The title of the link which is displayed as a tooltip. This is a web only prop and has no effect on react-native.
3120
+ */
3121
+ htmlTitle?: string;
3122
+ opacity?: number;
3123
+ } & TestID & StyledPropsBlade & Omit<BladeCommonEvents, 'onBlur' | 'onMouseLeave'>;
3124
+ type BaseLinkWithoutIconProps = BaseLinkCommonProps & {
3125
+ icon?: undefined;
3126
+ children: StringChildrenType;
3127
+ };
3128
+ type BaseLinkWithIconProps = BaseLinkCommonProps & {
3129
+ icon: IconComponent;
3130
+ children?: StringChildrenType;
3131
+ };
3132
+ type BaseLinkPropsWithOrWithoutIcon = BaseLinkWithIconProps | BaseLinkWithoutIconProps;
3133
+ type BaseLinkAnchorVariantProps = BaseLinkPropsWithOrWithoutIcon & {
3134
+ variant?: 'anchor';
3135
+ href?: string;
3136
+ target?: string;
3137
+ rel?: string;
3138
+ isDisabled?: undefined;
3139
+ };
3140
+ type BaseLinkButtonVariantProps = BaseLinkPropsWithOrWithoutIcon & {
3141
+ variant?: 'button';
3142
+ isDisabled?: boolean;
3143
+ href?: undefined;
3144
+ target?: undefined;
3145
+ rel?: undefined;
3146
+ };
3147
+ type BaseLinkProps = BaseLinkAnchorVariantProps | BaseLinkButtonVariantProps;
3148
+
3149
+ type LinkCommonProps = {
3150
+ variant?: 'anchor' | 'button';
3151
+ icon?: IconComponent;
3152
+ color?: 'primary' | 'white' | 'neutral';
3153
+ iconPosition?: 'left' | 'right';
3154
+ isDisabled?: boolean;
3155
+ onClick?: (event: SyntheticEvent) => void;
3156
+ href?: string;
3157
+ target?: string;
3158
+ accessibilityLabel?: string;
3159
+ /**
3160
+ * It is exposed for internal usage with tooltip.
3161
+ *
3162
+ * @private
3163
+ */
3164
+ 'aria-describedby'?: string;
3165
+ /**
3166
+ * Sets the size of the link
3167
+ *
3168
+ * @default medium
3169
+ */
3170
+ size?: BaseLinkProps['size'];
3171
+ } & TestID & StyledPropsBlade & BladeCommonEvents & Platform.Select<{
3172
+ native: {
3173
+ /**
3174
+ * Defines how far your touch can start away from the link
3175
+ */
3176
+ hitSlop?: {
3177
+ top?: number;
3178
+ right?: number;
3179
+ bottom?: number;
3180
+ left?: number;
3181
+ } | number;
3182
+ /**
3183
+ * This is a web only prop and has no effect on react-native.
3184
+ */
3185
+ htmlTitle?: undefined;
3171
3186
  };
3172
- borderWidth: "none" | "thinner" | "thin" | "thick" | "thicker" | {
3173
- readonly base?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
3174
- readonly xs?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
3175
- readonly s?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
3176
- readonly m?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
3177
- readonly l?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
3178
- readonly xl?: "none" | "thinner" | "thin" | "thick" | "thicker" | undefined;
3187
+ web: {
3188
+ /**
3189
+ * This is a react-native only prop and has no effect on web.
3190
+ */
3191
+ hitSlop?: undefined;
3192
+ /**
3193
+ * The title of the link which is displayed as a tooltip.
3194
+ */
3195
+ htmlTitle?: string;
3179
3196
  };
3180
- __brand__?: "platform-native" | {
3181
- readonly base?: "platform-native" | undefined;
3182
- readonly xs?: "platform-native" | undefined;
3183
- readonly s?: "platform-native" | undefined;
3184
- readonly m?: "platform-native" | undefined;
3185
- readonly l?: "platform-native" | undefined;
3186
- readonly xl?: "platform-native" | undefined;
3187
- } | undefined;
3188
- } & MakeObjectResponsive<{
3189
- 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";
3190
- }, "backgroundColor"> & {
3191
- as: "aside" | "div" | "footer" | "header" | "label" | "main" | "nav" | "section" | "span";
3192
- } & {
3193
- children?: React__default.ReactNode | React__default.ReactNode[];
3194
- tabIndex?: number | undefined;
3195
- id?: string | undefined;
3196
- } & TestID> & React__default.RefAttributes<BoxRefType>>;
3197
+ }>;
3198
+ type LinkWithoutIconProps = LinkCommonProps & {
3199
+ icon?: undefined;
3200
+ children: StringChildrenType;
3201
+ };
3202
+ type LinkWithIconProps = LinkCommonProps & {
3203
+ icon: IconComponent;
3204
+ children?: StringChildrenType;
3205
+ };
3206
+ type LinkPropsWithOrWithoutIcon = LinkWithIconProps | LinkWithoutIconProps;
3207
+ type LinkAnchorVariantProps = LinkPropsWithOrWithoutIcon & {
3208
+ variant?: 'anchor';
3209
+ href?: string;
3210
+ target?: string;
3211
+ rel?: string;
3212
+ isDisabled?: undefined;
3213
+ };
3214
+ type LinkButtonVariantProps = LinkPropsWithOrWithoutIcon & {
3215
+ variant?: 'button';
3216
+ isDisabled?: boolean;
3217
+ href?: undefined;
3218
+ target?: undefined;
3219
+ rel?: undefined;
3220
+ };
3221
+ type LinkProps = LinkAnchorVariantProps | LinkButtonVariantProps;
3222
+ declare const Link: React__default.ForwardRefExoticComponent<LinkProps & React__default.RefAttributes<BladeElementRef>>;
3223
+
3224
+ type BreadcrumbProps = StyledPropsBlade & {
3225
+ /**
3226
+ * Size of the Breadcrumb
3227
+ *
3228
+ * @default medium
3229
+ */
3230
+ size?: 'small' | 'medium' | 'large';
3231
+ /**
3232
+ * Color of the Breadcrumb
3233
+ *
3234
+ * @default neutral
3235
+ */
3236
+ color?: 'neutral' | 'primary' | 'white';
3237
+ /**
3238
+ * Content of the Breadcrumb, accepts BreadcrumbItem
3239
+ */
3240
+ children: React.ReactNode;
3241
+ /**
3242
+ * Whether to show the last separator
3243
+ */
3244
+ showLastSeparator?: boolean;
3245
+ /**
3246
+ * aria-label for breadcrumb
3247
+ */
3248
+ accessibilityLabel?: string;
3249
+ };
3250
+ type BreadcrumbItemProps = {
3251
+ /**
3252
+ * Href of the BreadcrumbItem
3253
+ */
3254
+ href: string;
3255
+ /**
3256
+ * Function to be called on click of the BreadcrumbItem,
3257
+ *
3258
+ * This can be used to integrate with routing libraries like `react-router-dom`
3259
+ */
3260
+ onClick?: LinkProps['onClick'];
3261
+ /**
3262
+ * Whether the BreadcrumbItem is the current page,
3263
+ * Sets the aria-current attribute to `page`
3264
+ *
3265
+ * @default false
3266
+ */
3267
+ isCurrentPage?: boolean;
3268
+ /**
3269
+ * Content of the BreadcrumbItem
3270
+ */
3271
+ children?: StringChildrenType;
3272
+ /**
3273
+ * Icon to be shown before the BreadcrumbItem
3274
+ */
3275
+ icon?: IconComponent;
3276
+ /**
3277
+ * Accessibility label for the BreadcrumbItem, can be used in icon only variant
3278
+ */
3279
+ accessibilityLabel?: string;
3280
+ };
3281
+
3282
+ declare const Breadcrumb: (_: BreadcrumbProps) => React.ReactElement;
3283
+
3284
+ declare const BreadcrumbItem: (_: BreadcrumbItemProps) => React.ReactElement;
3197
3285
 
3198
3286
  type BaseButtonCommonProps = {
3199
3287
  href?: BaseLinkProps['href'];
@@ -3347,6 +3435,47 @@ declare const IconButton: React__default.ForwardRefExoticComponent<{
3347
3435
  __brand__?: "platform-native" | undefined;
3348
3436
  } & React__default.RefAttributes<BladeElementRef>>;
3349
3437
 
3438
+ type ButtonGroupProps = {
3439
+ /**
3440
+ * Accepts multiple Button components as children
3441
+ */
3442
+ children: React.ReactNode;
3443
+ /**
3444
+ * Specifies the visual style variant of the ButtonGroup.
3445
+ *
3446
+ * @default 'primary'
3447
+ */
3448
+ variant?: ButtonProps['variant'];
3449
+ /**
3450
+ * Specifies the size of the ButtonGroup.
3451
+ *
3452
+ * @default 'medium'
3453
+ */
3454
+ size?: ButtonProps['size'];
3455
+ /**
3456
+ * Specifies the color of the ButtonGroup.
3457
+ *
3458
+ * @default 'primary'
3459
+ */
3460
+ color?: ButtonProps['color'];
3461
+ /**
3462
+ * Specifies whether the ButtonGroup should take up the full width of its container.
3463
+ */
3464
+ isFullWidth?: boolean;
3465
+ /**
3466
+ * Disables or enables the ButtonGroup component
3467
+ *
3468
+ * @default false
3469
+ */
3470
+ isDisabled?: boolean;
3471
+ /**
3472
+ * Test ID for automation
3473
+ */
3474
+ testID?: string;
3475
+ };
3476
+
3477
+ declare const ButtonGroup: (_props: ButtonGroupProps) => React.ReactElement;
3478
+
3350
3479
  type CardSpacingValueType = Extract<SpacingValueType, 'spacing.0' | 'spacing.3' | 'spacing.4' | 'spacing.5' | 'spacing.7'>;
3351
3480
 
3352
3481
  declare const ComponentIds: {
@@ -5261,7 +5390,7 @@ declare const SelectInput: React__default.ForwardRefExoticComponent<(({
5261
5390
  } | {
5262
5391
  label: string;
5263
5392
  accessibilityLabel?: string | undefined;
5264
- }) & Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "accessibilityLabel" | "onBlur" | "onFocus" | "placeholder" | "onClick" | "autoFocus" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
5393
+ }) & Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "placeholder" | "accessibilityLabel" | "onBlur" | "onFocus" | "onClick" | "autoFocus" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
5265
5394
  icon?: IconComponent | undefined;
5266
5395
  value?: string | string[] | undefined;
5267
5396
  defaultValue?: string | string[] | undefined;
@@ -5320,7 +5449,7 @@ declare const SelectInput: React__default.ForwardRefExoticComponent<(({
5320
5449
  *
5321
5450
  * Checkout {@link https://blade.razorpay.com/?path=/docs/components-dropdown-with-autocomplete--with-single-select AutoComplete Documentation}.
5322
5451
  */
5323
- declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "accessibilityLabel" | "onBlur" | "onFocus" | "placeholder" | "onClick" | "autoFocus" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
5452
+ declare const AutoComplete: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | "label" | "testID" | "prefix" | "placeholder" | "accessibilityLabel" | "onBlur" | "onFocus" | "onClick" | "autoFocus" | "isDisabled" | "isRequired" | "validationState" | "necessityIndicator" | "helpText" | "errorText" | "successText" | "suffix"> & {
5324
5453
  icon?: IconComponent | undefined;
5325
5454
  value?: string | string[] | undefined;
5326
5455
  defaultValue?: string | string[] | undefined;
@@ -7232,4 +7361,4 @@ declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => Rea
7232
7361
  */
7233
7362
  declare const screenReaderStyles: CSSObject;
7234
7363
 
7235
- export { Accordion, AccordionItem, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AutoComplete, AutoCompleteProps, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, Identifier, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps$1 as TablePaginationProps, TablePaginationType, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, Tour, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useTheme, useToast };
7364
+ export { Accordion, AccordionItem, AccordionItemBody, AccordionItemHeader, AccordionItemProps, AccordionProps, ActionList, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemBadge, ActionListItemBadgeGroup, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionProps, ActivityIcon, AirplayIcon, Alert, AlertCircleIcon, AlertTriangleIcon as AlertOctagonIcon, AlertOnlyIcon, AlertProps, AlertTriangleIcon$1 as AlertTriangleIcon, AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, Amount, AmountProps, AnchorIcon, AnnouncementIcon, ApertureIcon, AppStoreIcon, ArrowDownIcon, ArrowDownLeftIcon, ArrowDownRightIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpIcon, ArrowUpLeftIcon, ArrowUpRightIcon, AtSignIcon, Attachment as AttachmentIcon, AutoComplete, AutoCompleteProps, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeCommonEvents, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, BottomSheet, BottomSheetBody, BottomSheetBodyProps, BottomSheetFooter, BottomSheetFooterProps, BottomSheetHeader, BottomSheetHeaderProps, BottomSheetProps, Box, BoxIcon, BoxProps, BoxRefType, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonGroup, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderAmount, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, Carousel, CarouselItem, CarouselProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, Chip, ChipGroup, ChipGroupProps, ChipProps, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, Collapsible, CollapsibleBody, CollapsibleBodyProps, CollapsibleButton, CollapsibleButtonProps, CollapsibleLink, CollapsibleLinkProps, CollapsibleProps, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, Display, DisplayProps, Divider, DividerProps, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Drawer, DrawerBody, DrawerHeader, DrawerHeaderProps, DrawerProps, Dropdown, DropdownButton, DropdownFooter, DropdownHeader, DropdownLink, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FileUpload, FileZipIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconColors, IconComponent, IconProps, IconSize, Identifier, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkButtonVariantProps, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListItemText, ListItemTextProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, Modal, ModalBody, ModalBodyProps, ModalFooter, ModalFooterProps, ModalHeader, ModalHeaderProps, ModalProps, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, OTPInputCommonProps, OTPInputProps, OctagonIcon, OffersIcon, PackageIcon, PaperclipIcon, PasswordInput, PasswordInputProps, PauseCircleIcon, PauseIcon, PaymentButtonsIcon, PaymentLinksIcon, PaymentPagesIcon, PercentIcon, PhoneCallIcon, PhoneForwardedIcon, PhoneIcon, PhoneIncomingIcon, PhoneMissedIcon, PhoneOffIcon, PhoneOutgoingIcon, PieChartIcon, PlayCircleIcon, PlayIcon, PlusCircleIcon, PlusIcon, PlusSquareIcon, PocketIcon, Popover, PopoverInteractiveWrapper, PopoverProps, PopoverTriggerProps, PowerIcon, PrinterIcon, ProgressBar, ProgressBarProps, ProgressBarVariant, QRCodeIcon, Radio, RadioGroup, RadioGroupProps, RadioIcon, RadioProps, RazorpayIcon, RazorpayXIcon, RefreshIcon, RepeatIcon, ReportsIcon, RewindIcon, RotateClockWiseIcon, RotateCounterClockWiseIcon, RoutesIcon, RupeeIcon, RupeesIcon, SaveIcon, ScissorsIcon, SearchIcon, SelectInput, SelectInputProps, SendIcon, ServerIcon, SettingsIcon, SettlementsIcon, ShareIcon, ShieldIcon, ShoppingCartIcon, ShuffleIcon, SidebarIcon, Skeleton, SkeletonProps, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SpotlightPopoverStepRenderProps, SpotlightPopoverTourFooter, SpotlightPopoverTourProps, SpotlightPopoverTourStep, SpotlightPopoverTourSteps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, Switch, SwitchProps, TabItem, TabItemProps, TabList, TabPanel, TabPanelProps, Table, TableBackgroundColors, TableBody, TableBodyProps, TableCell, TableCellProps, TableData, TableFooter, TableFooterCell, TableFooterCellProps, TableFooterProps, TableFooterRow, TableFooterRowProps, TableHeader, TableHeaderCell, TableHeaderCellProps, TableHeaderProps, TableHeaderRow, TableHeaderRowProps, TableNode, TablePagination, TablePaginationCommonProps, TablePaginationProps$1 as TablePaginationProps, TablePaginationType, TableProps, TableRow, TableRowProps, TableToolbar, TableToolbarActions, TableToolbarActionsProps, TableToolbarProps, TabletIcon, Tabs, TabsProps, Tag, TagIcon, TagProps, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, ToastContainer, ToastProps, ToggleLeftIcon, ToggleRightIcon, Tooltip, TooltipInteractiveWrapper, TooltipProps, Tour, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UseToastReturn, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useTheme, useToast };