@razorpay/blade 7.0.1 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/build/components/index.d.ts +241 -596
- package/build/components/index.native.d.ts +231 -289
- package/build/components/index.native.js +4 -4
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +10 -6
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/build/tokens/index.native.js +1 -1
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.web.js +1 -1
- package/build/tokens/index.web.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,11 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
/// <reference types="styled-components-react-native" />
|
|
3
|
-
/// <reference types="~src/@types/globals" />
|
|
4
2
|
import * as React$1 from 'react';
|
|
5
3
|
import React__default, { ReactChild, ReactElement, ReactNode, SyntheticEvent, KeyboardEvent } from 'react';
|
|
6
|
-
import * as
|
|
4
|
+
import * as react_native from 'react-native';
|
|
5
|
+
import { AccessibilityRole, ViewStyle, ImageSourcePropType, View, GestureResponderEvent } from 'react-native';
|
|
7
6
|
import { CSSObject } from 'styled-components';
|
|
8
|
-
import { AccessibilityRole, ImageSourcePropType, View, GestureResponderEvent } from 'react-native';
|
|
9
7
|
|
|
10
8
|
type BorderRadius = Readonly<{
|
|
11
9
|
/** none: 0(px/rem/pt) */
|
|
@@ -960,17 +958,49 @@ type StringChildrenType = React__default.ReactText | React__default.ReactText[];
|
|
|
960
958
|
*/
|
|
961
959
|
type StringWithAutocomplete = string & Record<never, never>;
|
|
962
960
|
|
|
963
|
-
type TestID
|
|
961
|
+
type TestID = {
|
|
964
962
|
testID?: string;
|
|
965
963
|
};
|
|
966
964
|
|
|
965
|
+
/**
|
|
966
|
+
* Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
|
|
967
|
+
*
|
|
968
|
+
* You might have to ts-ignore the non-existing type error while using this. This is done so that you can get jsdoc from actual type.
|
|
969
|
+
*
|
|
970
|
+
* E.g. This will pick from ViewStyle prop if value exists else returns undefined.
|
|
971
|
+
*
|
|
972
|
+
* ```ts
|
|
973
|
+
* // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
|
|
974
|
+
* native: PickIfExist<ViewStyle, T>;
|
|
975
|
+
* ```
|
|
976
|
+
*/
|
|
977
|
+
type PickIfExist$1<T, K extends keyof T> = {
|
|
978
|
+
[P in K]: P extends keyof T ? T[P] : never;
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
/**
|
|
982
|
+
* Picks the types based on the platform (web / native).
|
|
983
|
+
*
|
|
984
|
+
* E.g.
|
|
985
|
+
* ```ts
|
|
986
|
+
* type CSSObject = PickCSSByPlatform<'display'>
|
|
987
|
+
* // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
|
|
988
|
+
* // On Native --> This will be just `flex` and `none`
|
|
989
|
+
* ```
|
|
990
|
+
*/
|
|
991
|
+
type PickCSSByPlatform$1<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
|
|
992
|
+
web: PickIfExist$1<CSSObject, T>;
|
|
993
|
+
// @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
|
|
994
|
+
native: PickIfExist$1<ViewStyle, T>;
|
|
995
|
+
}>;
|
|
996
|
+
|
|
967
997
|
declare type ActionListProps = {
|
|
968
998
|
children: React__default.ReactNode[];
|
|
969
999
|
/**
|
|
970
1000
|
* Decides the backgroundColor of ActionList
|
|
971
1001
|
*/
|
|
972
1002
|
surfaceLevel?: 2 | 3;
|
|
973
|
-
} & TestID
|
|
1003
|
+
} & TestID;
|
|
974
1004
|
declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID }: ActionListProps) => JSX.Element>;
|
|
975
1005
|
|
|
976
1006
|
type Theme$1 = {
|
|
@@ -1007,12 +1037,16 @@ type Theme$1 = {
|
|
|
1007
1037
|
* ```
|
|
1008
1038
|
*
|
|
1009
1039
|
*/
|
|
1010
|
-
type
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1040
|
+
// When type is `never`, we just want to return `never` rather than { base: never, ...etc } since that prop is intended to be never used
|
|
1041
|
+
// Explaination of [T] extends [never] -> https://stackoverflow.com/questions/65492464/typescript-never-type-condition
|
|
1042
|
+
type MakeValueResponsive$1<T> = [T] extends [never]
|
|
1043
|
+
? never
|
|
1044
|
+
:
|
|
1045
|
+
| T
|
|
1046
|
+
| {
|
|
1047
|
+
// Using this instead of Record to maintain the jsdoc from breakpoints.ts
|
|
1048
|
+
[P in keyof Breakpoints]?: T;
|
|
1049
|
+
};
|
|
1016
1050
|
|
|
1017
1051
|
/**
|
|
1018
1052
|
* Turns all the values in object into responsive object.
|
|
@@ -1250,10 +1284,6 @@ type MarginProps$1 = MakeObjectResponsive$1<{
|
|
|
1250
1284
|
marginLeft: SpacingValueType$1;
|
|
1251
1285
|
}>;
|
|
1252
1286
|
|
|
1253
|
-
type MakeObjectWebOnly$1<T> = {
|
|
1254
|
-
[P in keyof T]: Platform.Select<{ web: T[P]; native: never }>;
|
|
1255
|
-
};
|
|
1256
|
-
|
|
1257
1287
|
type FlexboxProps$1 = MakeObjectResponsive$1<
|
|
1258
1288
|
{
|
|
1259
1289
|
/**
|
|
@@ -1277,9 +1307,13 @@ type FlexboxProps$1 = MakeObjectResponsive$1<
|
|
|
1277
1307
|
* @see https://caniuse.com/?search=column-gap
|
|
1278
1308
|
*/
|
|
1279
1309
|
columnGap: SpacingValueType$1;
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1310
|
+
/**
|
|
1311
|
+
* The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
|
|
1312
|
+
*
|
|
1313
|
+
* @see https://developer.mozilla.org/docs/Web/CSS/flex
|
|
1314
|
+
*/
|
|
1315
|
+
flex: string | number;
|
|
1316
|
+
} & PickCSSByPlatform$1<
|
|
1283
1317
|
| 'flexWrap'
|
|
1284
1318
|
| 'flexDirection'
|
|
1285
1319
|
| 'flexGrow'
|
|
@@ -1302,46 +1336,46 @@ type PositionProps$1 = MakeObjectResponsive$1<
|
|
|
1302
1336
|
right: SpacingValueType$1;
|
|
1303
1337
|
bottom: SpacingValueType$1;
|
|
1304
1338
|
left: SpacingValueType$1;
|
|
1305
|
-
} &
|
|
1339
|
+
} & PickCSSByPlatform$1<'position' | 'zIndex'>
|
|
1306
1340
|
>;
|
|
1307
1341
|
|
|
1308
|
-
type GridProps$1 =
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
| 'gridTemplateColumns'
|
|
1326
|
-
| 'gridTemplateRows'
|
|
1327
|
-
>
|
|
1342
|
+
type GridProps$1 = MakeObjectResponsive$1<
|
|
1343
|
+
PickCSSByPlatform$1<
|
|
1344
|
+
| 'grid'
|
|
1345
|
+
| 'gridColumn'
|
|
1346
|
+
| 'gridRow'
|
|
1347
|
+
| 'gridRowStart'
|
|
1348
|
+
| 'gridRowEnd'
|
|
1349
|
+
| 'gridColumnStart'
|
|
1350
|
+
| 'gridColumnEnd'
|
|
1351
|
+
| 'gridArea'
|
|
1352
|
+
| 'gridAutoFlow'
|
|
1353
|
+
| 'gridAutoRows'
|
|
1354
|
+
| 'gridAutoColumns'
|
|
1355
|
+
| 'gridTemplate'
|
|
1356
|
+
| 'gridTemplateAreas'
|
|
1357
|
+
| 'gridTemplateColumns'
|
|
1358
|
+
| 'gridTemplateRows'
|
|
1328
1359
|
>
|
|
1329
1360
|
>;
|
|
1330
1361
|
|
|
1331
1362
|
type StyledPropsBlade = Partial<
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1363
|
+
Omit<
|
|
1364
|
+
MarginProps$1 &
|
|
1365
|
+
Pick<FlexboxProps$1, 'alignSelf' | 'justifySelf' | 'placeSelf' | 'order'> &
|
|
1366
|
+
PositionProps$1 &
|
|
1367
|
+
Pick<
|
|
1368
|
+
GridProps$1,
|
|
1369
|
+
| 'gridColumn'
|
|
1370
|
+
| 'gridRow'
|
|
1371
|
+
| 'gridRowStart'
|
|
1372
|
+
| 'gridRowEnd'
|
|
1373
|
+
| 'gridColumnStart'
|
|
1374
|
+
| 'gridColumnEnd'
|
|
1375
|
+
| 'gridArea'
|
|
1376
|
+
>,
|
|
1377
|
+
'__brand__'
|
|
1378
|
+
>
|
|
1345
1379
|
>;
|
|
1346
1380
|
|
|
1347
1381
|
type FeedbackIconColors$1 = `feedback.icon.${DotNotationColorStringToken<
|
|
@@ -1426,7 +1460,7 @@ declare type ActionListItemProps = {
|
|
|
1426
1460
|
* @private
|
|
1427
1461
|
*/
|
|
1428
1462
|
_index?: number;
|
|
1429
|
-
} & TestID
|
|
1463
|
+
} & TestID;
|
|
1430
1464
|
declare const ActionListSectionDivider: () => JSX.Element;
|
|
1431
1465
|
declare type ActionListSectionProps = {
|
|
1432
1466
|
title: string;
|
|
@@ -1439,7 +1473,7 @@ declare type ActionListSectionProps = {
|
|
|
1439
1473
|
* @private
|
|
1440
1474
|
*/
|
|
1441
1475
|
_hideDivider?: boolean;
|
|
1442
|
-
} & TestID
|
|
1476
|
+
} & TestID;
|
|
1443
1477
|
declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) => JSX.Element;
|
|
1444
1478
|
declare const ActionListItemIcon: ({ icon }: {
|
|
1445
1479
|
icon: IconComponent$1;
|
|
@@ -1457,7 +1491,7 @@ declare type ActionListHeaderProps = {
|
|
|
1457
1491
|
* Valid children - `ActionListHeaderIcon`
|
|
1458
1492
|
*/
|
|
1459
1493
|
leading?: React__default.ReactNode;
|
|
1460
|
-
} & TestID
|
|
1494
|
+
} & TestID;
|
|
1461
1495
|
declare const ActionListHeader: (props: ActionListHeaderProps) => JSX.Element;
|
|
1462
1496
|
declare const ActionListHeaderIcon: ({ icon }: {
|
|
1463
1497
|
icon: IconComponent$1;
|
|
@@ -1477,7 +1511,7 @@ declare type ActionListFooterProps = {
|
|
|
1477
1511
|
* Anything can be passed here but maybe don't? Should ideally have Button or Tick Icon Buttons.
|
|
1478
1512
|
*/
|
|
1479
1513
|
trailing?: React__default.ReactNode;
|
|
1480
|
-
} & TestID
|
|
1514
|
+
} & TestID;
|
|
1481
1515
|
declare const ActionListFooter: (props: ActionListFooterProps) => JSX.Element;
|
|
1482
1516
|
declare const ActionListFooterIcon: ({ icon }: {
|
|
1483
1517
|
icon: IconComponent$1;
|
|
@@ -1567,7 +1601,7 @@ declare type AlertProps = {
|
|
|
1567
1601
|
*/
|
|
1568
1602
|
secondary?: SecondaryAction;
|
|
1569
1603
|
};
|
|
1570
|
-
} & TestID
|
|
1604
|
+
} & TestID & StyledPropsBlade;
|
|
1571
1605
|
declare const Alert: ({ description, title, isDismissible, onDismiss, contrast, isFullWidth, intent, actions, testID, ...styledProps }: AlertProps) => ReactElement | null;
|
|
1572
1606
|
|
|
1573
1607
|
declare type BadgeProps = {
|
|
@@ -1606,7 +1640,7 @@ declare type BadgeProps = {
|
|
|
1606
1640
|
* @default 'regular'
|
|
1607
1641
|
*/
|
|
1608
1642
|
fontWeight?: 'regular' | 'bold';
|
|
1609
|
-
} & TestID
|
|
1643
|
+
} & TestID & StyledPropsBlade;
|
|
1610
1644
|
declare const Badge: ({ children, contrast, fontWeight, icon, size, variant, testID, ...styledProps }: BadgeProps) => ReactElement;
|
|
1611
1645
|
|
|
1612
1646
|
declare type BladeProviderProps = {
|
|
@@ -1664,7 +1698,7 @@ declare type Theme = {
|
|
|
1664
1698
|
* ```
|
|
1665
1699
|
*
|
|
1666
1700
|
*/
|
|
1667
|
-
declare type MakeValueResponsive<T> = T | {
|
|
1701
|
+
declare type MakeValueResponsive<T> = [T] extends [never] ? never : T | {
|
|
1668
1702
|
[P in keyof Breakpoints]?: T;
|
|
1669
1703
|
};
|
|
1670
1704
|
/**
|
|
@@ -2124,12 +2158,6 @@ declare type MarginProps = MakeObjectResponsive<{
|
|
|
2124
2158
|
marginLeft: SpacingValueType;
|
|
2125
2159
|
}>;
|
|
2126
2160
|
|
|
2127
|
-
declare type MakeObjectWebOnly<T> = {
|
|
2128
|
-
[P in keyof T]: Platform.Select<{
|
|
2129
|
-
web: T[P];
|
|
2130
|
-
native: never;
|
|
2131
|
-
}>;
|
|
2132
|
-
};
|
|
2133
2161
|
declare type LayoutProps = MakeObjectResponsive<{
|
|
2134
2162
|
height: SpacingValueType;
|
|
2135
2163
|
minHeight: SpacingValueType;
|
|
@@ -2137,29 +2165,7 @@ declare type LayoutProps = MakeObjectResponsive<{
|
|
|
2137
2165
|
width: SpacingValueType;
|
|
2138
2166
|
minWidth: SpacingValueType;
|
|
2139
2167
|
maxWidth: SpacingValueType;
|
|
2140
|
-
} &
|
|
2141
|
-
web: {
|
|
2142
|
-
/**
|
|
2143
|
-
*
|
|
2144
|
-
* On Web, The **`display`** CSS property sets whether an element is treated as a block or inline element and the layout used for its children, such as flow layout, grid or flex.
|
|
2145
|
-
*
|
|
2146
|
-
* @see https://developer.mozilla.org/docs/Web/CSS/display
|
|
2147
|
-
*/
|
|
2148
|
-
display: CSSObject['display'];
|
|
2149
|
-
};
|
|
2150
|
-
native: {
|
|
2151
|
-
/**
|
|
2152
|
-
*
|
|
2153
|
-
*
|
|
2154
|
-
* On React Native, **`display`** property sets whether an element can be `flex` or `none`
|
|
2155
|
-
*
|
|
2156
|
-
* @see https://reactnative.dev/docs/layout-props.html#display
|
|
2157
|
-
*
|
|
2158
|
-
* @default 'flex'
|
|
2159
|
-
*/
|
|
2160
|
-
display: 'none' | 'flex';
|
|
2161
|
-
};
|
|
2162
|
-
}>>;
|
|
2168
|
+
} & PickCSSByPlatform$1<'display' | 'overflow' | 'overflowX' | 'overflowY'>>;
|
|
2163
2169
|
declare type FlexboxProps = MakeObjectResponsive<{
|
|
2164
2170
|
/**
|
|
2165
2171
|
* This uses the native gap property which might not work on older browsers.
|
|
@@ -2182,14 +2188,20 @@ declare type FlexboxProps = MakeObjectResponsive<{
|
|
|
2182
2188
|
* @see https://caniuse.com/?search=column-gap
|
|
2183
2189
|
*/
|
|
2184
2190
|
columnGap: SpacingValueType;
|
|
2185
|
-
|
|
2191
|
+
/**
|
|
2192
|
+
* The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
|
|
2193
|
+
*
|
|
2194
|
+
* @see https://developer.mozilla.org/docs/Web/CSS/flex
|
|
2195
|
+
*/
|
|
2196
|
+
flex: string | number;
|
|
2197
|
+
} & PickCSSByPlatform$1<'flexWrap' | 'flexDirection' | 'flexGrow' | 'flexShrink' | 'flexBasis' | 'alignItems' | 'alignContent' | 'alignSelf' | 'justifyItems' | 'justifyContent' | 'justifySelf' | 'placeSelf' | 'order'>>;
|
|
2186
2198
|
declare type PositionProps = MakeObjectResponsive<{
|
|
2187
2199
|
top: SpacingValueType;
|
|
2188
2200
|
right: SpacingValueType;
|
|
2189
2201
|
bottom: SpacingValueType;
|
|
2190
2202
|
left: SpacingValueType;
|
|
2191
|
-
} &
|
|
2192
|
-
declare type GridProps =
|
|
2203
|
+
} & PickCSSByPlatform$1<'position' | 'zIndex'>>;
|
|
2204
|
+
declare type GridProps = MakeObjectResponsive<PickCSSByPlatform$1<'grid' | 'gridColumn' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'gridColumnStart' | 'gridColumnEnd' | 'gridArea' | 'gridAutoFlow' | 'gridAutoRows' | 'gridAutoColumns' | 'gridTemplate' | 'gridTemplateAreas' | 'gridTemplateColumns' | 'gridTemplateRows'>>;
|
|
2193
2205
|
declare type ColorObjects = 'feedback' | 'surface' | 'action';
|
|
2194
2206
|
declare type BackgroundColorString<T extends ColorObjects> = `${T}.background.${DotNotationColorStringToken<Theme$1['colors'][T]['background']>}`;
|
|
2195
2207
|
declare const validBoxAsValues: readonly ["div", "section", "footer", "header", "main", "aside", "nav", "span"];
|
|
@@ -2201,7 +2213,7 @@ declare type BoxVisualProps = MakeObjectResponsive<{
|
|
|
2201
2213
|
};
|
|
2202
2214
|
declare type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps & PositionProps & GridProps & BoxVisualProps & {
|
|
2203
2215
|
children?: React.ReactNode | React.ReactNode[];
|
|
2204
|
-
} & TestID
|
|
2216
|
+
} & TestID>;
|
|
2205
2217
|
|
|
2206
2218
|
/**
|
|
2207
2219
|
* ## Box
|
|
@@ -2275,11 +2287,11 @@ declare type CardProps = {
|
|
|
2275
2287
|
* - Figma: https://shorturl.at/fsvwK
|
|
2276
2288
|
*/
|
|
2277
2289
|
surfaceLevel?: 2 | 3;
|
|
2278
|
-
} & TestID
|
|
2290
|
+
} & TestID & StyledPropsBlade;
|
|
2279
2291
|
declare const Card: ({ children, surfaceLevel, testID, ...styledProps }: CardProps) => React__default.ReactElement;
|
|
2280
2292
|
declare type CardBodyProps = {
|
|
2281
2293
|
children: React__default.ReactNode;
|
|
2282
|
-
} & TestID
|
|
2294
|
+
} & TestID;
|
|
2283
2295
|
declare const CardBody: ({ children, testID }: CardBodyProps) => React__default.ReactElement;
|
|
2284
2296
|
|
|
2285
2297
|
declare type LinkCommonProps = {
|
|
@@ -2297,7 +2309,7 @@ declare type LinkCommonProps = {
|
|
|
2297
2309
|
* @default medium
|
|
2298
2310
|
*/
|
|
2299
2311
|
size?: 'small' | 'medium' | 'large';
|
|
2300
|
-
} & TestID
|
|
2312
|
+
} & TestID & StyledPropsBlade & Platform.Select<{
|
|
2301
2313
|
native: {
|
|
2302
2314
|
/**
|
|
2303
2315
|
* Defines how far your touch can start away from the link
|
|
@@ -2308,12 +2320,20 @@ declare type LinkCommonProps = {
|
|
|
2308
2320
|
bottom?: number;
|
|
2309
2321
|
left?: number;
|
|
2310
2322
|
} | number;
|
|
2323
|
+
/**
|
|
2324
|
+
* This is a web only prop and has no effect on react-native.
|
|
2325
|
+
*/
|
|
2326
|
+
htmlTitle?: undefined;
|
|
2311
2327
|
};
|
|
2312
2328
|
web: {
|
|
2313
2329
|
/**
|
|
2314
2330
|
* This is a react-native only prop and has no effect on web.
|
|
2315
2331
|
*/
|
|
2316
2332
|
hitSlop?: undefined;
|
|
2333
|
+
/**
|
|
2334
|
+
* The title of the link which is displayed as a tooltip.
|
|
2335
|
+
*/
|
|
2336
|
+
htmlTitle?: string;
|
|
2317
2337
|
};
|
|
2318
2338
|
}>;
|
|
2319
2339
|
declare type LinkWithoutIconProps = LinkCommonProps & {
|
|
@@ -2340,7 +2360,7 @@ declare type LinkButtonVariantProps = LinkPropsWithOrWithoutIcon & {
|
|
|
2340
2360
|
rel?: undefined;
|
|
2341
2361
|
};
|
|
2342
2362
|
declare type LinkProps = LinkAnchorVariantProps | LinkButtonVariantProps;
|
|
2343
|
-
declare const Link: ({ children, icon, iconPosition, isDisabled, onClick, variant, href, target, rel, accessibilityLabel, size, testID, hitSlop, ...styledProps }: LinkProps) => ReactElement;
|
|
2363
|
+
declare const Link: ({ children, icon, iconPosition, isDisabled, onClick, variant, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: LinkProps) => ReactElement;
|
|
2344
2364
|
|
|
2345
2365
|
type BladeElementRef = Pick<HTMLElement, 'focus' | 'scrollIntoView'> | Pick<View, 'focus'>;
|
|
2346
2366
|
|
|
@@ -2357,7 +2377,7 @@ declare type ButtonCommonProps = {
|
|
|
2357
2377
|
native: (event: GestureResponderEvent) => void;
|
|
2358
2378
|
web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
2359
2379
|
}>;
|
|
2360
|
-
} & TestID
|
|
2380
|
+
} & TestID & StyledPropsBlade;
|
|
2361
2381
|
declare type ButtonWithoutIconProps = ButtonCommonProps & {
|
|
2362
2382
|
icon?: undefined;
|
|
2363
2383
|
children: StringChildrenType;
|
|
@@ -2407,7 +2427,7 @@ type BaseTextProps$1 = {
|
|
|
2407
2427
|
*/
|
|
2408
2428
|
numberOfLines?: number;
|
|
2409
2429
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
2410
|
-
} & TestID
|
|
2430
|
+
} & TestID &
|
|
2411
2431
|
StyledPropsBlade;
|
|
2412
2432
|
|
|
2413
2433
|
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
|
|
@@ -2424,7 +2444,7 @@ type TextCommonProps$1 = {
|
|
|
2424
2444
|
*/
|
|
2425
2445
|
color?: BaseTextProps$1['color'];
|
|
2426
2446
|
textAlign?: BaseTextProps$1['textAlign'];
|
|
2427
|
-
} & TestID
|
|
2447
|
+
} & TestID &
|
|
2428
2448
|
StyledPropsBlade;
|
|
2429
2449
|
|
|
2430
2450
|
type TextVariant$1 = 'body' | 'caption';
|
|
@@ -2481,7 +2501,7 @@ type CounterProps$1 = {
|
|
|
2481
2501
|
* @default 'medium'
|
|
2482
2502
|
*/
|
|
2483
2503
|
size?: 'small' | 'medium' | 'large';
|
|
2484
|
-
} & TestID
|
|
2504
|
+
} & TestID &
|
|
2485
2505
|
StyledPropsBlade;
|
|
2486
2506
|
|
|
2487
2507
|
declare const CardHeaderIcon: ({ icon }: {
|
|
@@ -2499,7 +2519,7 @@ declare type CardHeaderIconButtonProps = Omit<ButtonProps, 'variant' | 'size' |
|
|
|
2499
2519
|
declare const CardHeaderIconButton: (props: CardHeaderIconButtonProps) => React__default.ReactElement;
|
|
2500
2520
|
declare type CardHeaderProps = {
|
|
2501
2521
|
children?: React__default.ReactNode;
|
|
2502
|
-
} & TestID
|
|
2522
|
+
} & TestID;
|
|
2503
2523
|
declare const CardHeader: ({ children, testID }: CardHeaderProps) => React__default.ReactElement;
|
|
2504
2524
|
declare type CardHeaderLeadingProps = {
|
|
2505
2525
|
title: string;
|
|
@@ -2533,7 +2553,7 @@ declare type CardFooterAction = Pick<ButtonProps, 'type' | 'accessibilityLabel'
|
|
|
2533
2553
|
};
|
|
2534
2554
|
declare type CardFooterProps = {
|
|
2535
2555
|
children?: React__default.ReactNode;
|
|
2536
|
-
} & TestID
|
|
2556
|
+
} & TestID;
|
|
2537
2557
|
declare const CardFooter: ({ children, testID }: CardFooterProps) => React__default.ReactElement;
|
|
2538
2558
|
declare type CardFooterLeadingProps = {
|
|
2539
2559
|
title?: string;
|
|
@@ -2605,7 +2625,7 @@ declare type CounterProps = {
|
|
|
2605
2625
|
* @default 'medium'
|
|
2606
2626
|
*/
|
|
2607
2627
|
size?: 'small' | 'medium' | 'large';
|
|
2608
|
-
} & TestID
|
|
2628
|
+
} & TestID & StyledPropsBlade;
|
|
2609
2629
|
declare const Counter: ({ value, max, intent, contrast, size, testID, ...styledProps }: CounterProps) => React.ReactElement;
|
|
2610
2630
|
|
|
2611
2631
|
declare type OnChange = ({ isChecked, event, value, }: {
|
|
@@ -2691,7 +2711,7 @@ declare type CheckboxProps = {
|
|
|
2691
2711
|
*
|
|
2692
2712
|
*/
|
|
2693
2713
|
tabIndex?: number;
|
|
2694
|
-
} & TestID
|
|
2714
|
+
} & TestID & StyledPropsBlade;
|
|
2695
2715
|
declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
2696
2716
|
/**
|
|
2697
2717
|
* If `true`, The checkbox will be checked. This also makes the checkbox controlled
|
|
@@ -2770,7 +2790,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2770
2790
|
*
|
|
2771
2791
|
*/
|
|
2772
2792
|
tabIndex?: number | undefined;
|
|
2773
|
-
} & TestID
|
|
2793
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
2774
2794
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
2775
2795
|
marginX: SpacingValueType;
|
|
2776
2796
|
marginY: SpacingValueType;
|
|
@@ -2782,28 +2802,17 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2782
2802
|
gap: SpacingValueType;
|
|
2783
2803
|
rowGap: SpacingValueType;
|
|
2784
2804
|
columnGap: SpacingValueType;
|
|
2785
|
-
|
|
2805
|
+
flex: string | number;
|
|
2806
|
+
} & PickIfExist$1<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
2807
|
+
__brand__?: "platform-native" | undefined;
|
|
2808
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
2786
2809
|
top: SpacingValueType;
|
|
2787
2810
|
right: SpacingValueType;
|
|
2788
2811
|
bottom: SpacingValueType;
|
|
2789
2812
|
left: SpacingValueType;
|
|
2790
|
-
} &
|
|
2791
|
-
|
|
2792
|
-
|
|
2793
|
-
gridAutoFlow?: undefined;
|
|
2794
|
-
gridAutoRows?: undefined;
|
|
2795
|
-
gridColumnEnd?: undefined;
|
|
2796
|
-
gridColumnStart?: undefined;
|
|
2797
|
-
gridRowEnd?: undefined;
|
|
2798
|
-
gridRowStart?: undefined;
|
|
2799
|
-
gridTemplateAreas?: undefined;
|
|
2800
|
-
gridTemplateColumns?: undefined;
|
|
2801
|
-
gridTemplateRows?: undefined;
|
|
2802
|
-
gridArea?: undefined;
|
|
2803
|
-
gridColumn?: undefined;
|
|
2804
|
-
gridRow?: undefined;
|
|
2805
|
-
gridTemplate?: undefined;
|
|
2806
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
2813
|
+
} & PickIfExist$1<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
2814
|
+
__brand__?: "platform-native" | undefined;
|
|
2815
|
+
}> & Pick<MakeObjectResponsive<PickCSSByPlatform$1<"grid" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate">>, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
2807
2816
|
|
|
2808
2817
|
declare type CheckboxGroupProps = {
|
|
2809
2818
|
/**
|
|
@@ -2878,7 +2887,7 @@ declare type CheckboxGroupProps = {
|
|
|
2878
2887
|
* @default "medium"
|
|
2879
2888
|
*/
|
|
2880
2889
|
size?: 'small' | 'medium';
|
|
2881
|
-
} & TestID
|
|
2890
|
+
} & TestID & StyledPropsBlade;
|
|
2882
2891
|
declare const CheckboxGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: CheckboxGroupProps) => React__default.ReactElement;
|
|
2883
2892
|
|
|
2884
2893
|
declare type DropdownProps = {
|
|
@@ -2889,7 +2898,7 @@ declare const Dropdown: ({ children, selectionType, ...styledProps }: DropdownPr
|
|
|
2889
2898
|
|
|
2890
2899
|
declare type DropdownOverlayProps = {
|
|
2891
2900
|
children: React__default.ReactNode;
|
|
2892
|
-
} & TestID
|
|
2901
|
+
} & TestID;
|
|
2893
2902
|
|
|
2894
2903
|
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
|
|
2895
2904
|
|
|
@@ -3451,6 +3460,36 @@ declare type IconProps = {
|
|
|
3451
3460
|
} & StyledPropsBlade;
|
|
3452
3461
|
declare type IconComponent = React.ComponentType<IconProps>;
|
|
3453
3462
|
|
|
3463
|
+
/**
|
|
3464
|
+
* Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
|
|
3465
|
+
*
|
|
3466
|
+
* You might have to ts-ignore the non-existing type error while using this. This is done so that you can get jsdoc from actual type.
|
|
3467
|
+
*
|
|
3468
|
+
* E.g. This will pick from ViewStyle prop if value exists else returns undefined.
|
|
3469
|
+
*
|
|
3470
|
+
* ```ts
|
|
3471
|
+
* // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
|
|
3472
|
+
* native: PickIfExist<ViewStyle, T>;
|
|
3473
|
+
* ```
|
|
3474
|
+
*/
|
|
3475
|
+
declare type PickIfExist<T, K extends keyof T> = {
|
|
3476
|
+
[P in K]: P extends keyof T ? T[P] : never;
|
|
3477
|
+
};
|
|
3478
|
+
/**
|
|
3479
|
+
* Picks the types based on the platform (web / native).
|
|
3480
|
+
*
|
|
3481
|
+
* E.g.
|
|
3482
|
+
* ```ts
|
|
3483
|
+
* type CSSObject = PickCSSByPlatform<'display'>
|
|
3484
|
+
* // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
|
|
3485
|
+
* // On Native --> This will be just `flex` and `none`
|
|
3486
|
+
* ```
|
|
3487
|
+
*/
|
|
3488
|
+
declare type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
|
|
3489
|
+
web: PickIfExist<CSSObject, T>;
|
|
3490
|
+
native: PickIfExist<ViewStyle, T>;
|
|
3491
|
+
}>;
|
|
3492
|
+
|
|
3454
3493
|
declare type FormInputLabelProps = {
|
|
3455
3494
|
/**
|
|
3456
3495
|
* Label to be shown for the input field
|
|
@@ -3702,7 +3741,7 @@ declare type BaseInputProps = FormInputLabelProps & FormInputValidationProps & {
|
|
|
3702
3741
|
* sets the autocapitalize behavior for the input
|
|
3703
3742
|
*/
|
|
3704
3743
|
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
3705
|
-
} & TestID
|
|
3744
|
+
} & TestID & Platform.Select<{
|
|
3706
3745
|
native: {
|
|
3707
3746
|
/**
|
|
3708
3747
|
* The callback function to be invoked when the value of the input field is submitted.
|
|
@@ -3738,6 +3777,14 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
|
|
|
3738
3777
|
/**
|
|
3739
3778
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3740
3779
|
*
|
|
3780
|
+
*
|
|
3781
|
+
* **Note on number type**
|
|
3782
|
+
*
|
|
3783
|
+
* `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
|
|
3784
|
+
* If you have a usecase where you only want to support number input, you can handle it on validations end.
|
|
3785
|
+
*
|
|
3786
|
+
* Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning
|
|
3787
|
+
*
|
|
3741
3788
|
* @default text
|
|
3742
3789
|
*/
|
|
3743
3790
|
type?: Type;
|
|
@@ -3762,10 +3809,18 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3762
3809
|
/**
|
|
3763
3810
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3764
3811
|
*
|
|
3812
|
+
*
|
|
3813
|
+
* **Note on number type**
|
|
3814
|
+
*
|
|
3815
|
+
* `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
|
|
3816
|
+
* If you have a usecase where you only want to support number input, you can handle it on validations end.
|
|
3817
|
+
*
|
|
3818
|
+
* Check out [Why the GOV.UK Design System team changed the input type for numbers](https://technology.blog.gov.uk/2020/02/24/why-the-gov-uk-design-system-team-changed-the-input-type-for-numbers/) for reasoning
|
|
3819
|
+
*
|
|
3765
3820
|
* @default text
|
|
3766
3821
|
*/
|
|
3767
3822
|
type?: Type;
|
|
3768
|
-
} & Partial<MakeObjectResponsive<{
|
|
3823
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3769
3824
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3770
3825
|
marginX: SpacingValueType;
|
|
3771
3826
|
marginY: SpacingValueType;
|
|
@@ -3777,28 +3832,19 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3777
3832
|
gap: SpacingValueType;
|
|
3778
3833
|
rowGap: SpacingValueType;
|
|
3779
3834
|
columnGap: SpacingValueType;
|
|
3780
|
-
|
|
3835
|
+
flex: string | number; /**
|
|
3836
|
+
* Decides whether to show a loading spinner for the input field.
|
|
3837
|
+
*/
|
|
3838
|
+
} & PickIfExist<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3839
|
+
__brand__?: "platform-native" | undefined;
|
|
3840
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3781
3841
|
top: SpacingValueType;
|
|
3782
3842
|
right: SpacingValueType;
|
|
3783
3843
|
bottom: SpacingValueType;
|
|
3784
3844
|
left: SpacingValueType;
|
|
3785
|
-
} &
|
|
3786
|
-
|
|
3787
|
-
|
|
3788
|
-
gridAutoFlow?: undefined;
|
|
3789
|
-
gridAutoRows?: undefined;
|
|
3790
|
-
gridColumnEnd?: undefined;
|
|
3791
|
-
gridColumnStart?: undefined;
|
|
3792
|
-
gridRowEnd?: undefined;
|
|
3793
|
-
gridRowStart?: undefined;
|
|
3794
|
-
gridTemplateAreas?: undefined;
|
|
3795
|
-
gridTemplateColumns?: undefined;
|
|
3796
|
-
gridTemplateRows?: undefined;
|
|
3797
|
-
gridArea?: undefined;
|
|
3798
|
-
gridColumn?: undefined;
|
|
3799
|
-
gridRow?: undefined;
|
|
3800
|
-
gridTemplate?: undefined;
|
|
3801
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3845
|
+
} & PickIfExist<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
3846
|
+
__brand__?: "platform-native" | undefined;
|
|
3847
|
+
}> & Pick<MakeObjectResponsive<PickCSSByPlatform<"grid" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate">>, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3802
3848
|
|
|
3803
3849
|
declare type PasswordInputExtraProps = {
|
|
3804
3850
|
/**
|
|
@@ -3831,7 +3877,7 @@ declare type PasswordInputExtraProps = {
|
|
|
3831
3877
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
3832
3878
|
};
|
|
3833
3879
|
declare type PasswordInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'maxCharacters' | 'validationState' | 'errorText' | 'successText' | 'helpText' | 'isDisabled' | 'defaultValue' | 'placeholder' | 'isRequired' | 'value' | 'onChange' | 'onBlur' | 'onSubmit' | 'onFocus' | 'name' | 'autoFocus' | 'keyboardReturnKeyType' | 'autoCompleteSuggestionType' | 'testID'> & PasswordInputExtraProps & StyledPropsBlade;
|
|
3834
|
-
declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "testID" | "placeholder" | "name" | "label" | "value" | "onBlur" | "onFocus" | "defaultValue" | "onChange" | "onSubmit" | "isDisabled" | "autoFocus" | "labelPosition" | "helpText" | "errorText" | "successText" | "validationState" | "isRequired" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<MakeObjectResponsive<{
|
|
3880
|
+
declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "testID" | "placeholder" | "name" | "label" | "value" | "onBlur" | "onFocus" | "defaultValue" | "onChange" | "onSubmit" | "isDisabled" | "autoFocus" | "labelPosition" | "helpText" | "errorText" | "successText" | "validationState" | "isRequired" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<Omit<MakeObjectResponsive<{
|
|
3835
3881
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3836
3882
|
marginX: SpacingValueType;
|
|
3837
3883
|
marginY: SpacingValueType;
|
|
@@ -3843,28 +3889,17 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
3843
3889
|
gap: SpacingValueType;
|
|
3844
3890
|
rowGap: SpacingValueType;
|
|
3845
3891
|
columnGap: SpacingValueType;
|
|
3846
|
-
|
|
3892
|
+
flex: string | number;
|
|
3893
|
+
} & PickIfExist<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3894
|
+
__brand__?: "platform-native" | undefined;
|
|
3895
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3847
3896
|
top: SpacingValueType;
|
|
3848
3897
|
right: SpacingValueType;
|
|
3849
3898
|
bottom: SpacingValueType;
|
|
3850
3899
|
left: SpacingValueType;
|
|
3851
|
-
} &
|
|
3852
|
-
|
|
3853
|
-
|
|
3854
|
-
gridAutoFlow?: undefined;
|
|
3855
|
-
gridAutoRows?: undefined;
|
|
3856
|
-
gridColumnEnd?: undefined;
|
|
3857
|
-
gridColumnStart?: undefined;
|
|
3858
|
-
gridRowEnd?: undefined;
|
|
3859
|
-
gridRowStart?: undefined;
|
|
3860
|
-
gridTemplateAreas?: undefined;
|
|
3861
|
-
gridTemplateColumns?: undefined;
|
|
3862
|
-
gridTemplateRows?: undefined;
|
|
3863
|
-
gridArea?: undefined;
|
|
3864
|
-
gridColumn?: undefined;
|
|
3865
|
-
gridRow?: undefined;
|
|
3866
|
-
gridTemplate?: undefined;
|
|
3867
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3900
|
+
} & PickIfExist<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
3901
|
+
__brand__?: "platform-native" | undefined;
|
|
3902
|
+
}> & Pick<MakeObjectResponsive<PickCSSByPlatform<"grid" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate">>, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3868
3903
|
|
|
3869
3904
|
declare type TextAreaProps = Pick<BaseInputProps, 'label' | 'labelPosition' | 'necessityIndicator' | 'validationState' | 'helpText' | 'errorText' | 'successText' | 'placeholder' | 'defaultValue' | 'name' | 'onChange' | 'onFocus' | 'onBlur' | 'onSubmit' | 'value' | 'isDisabled' | 'isRequired' | 'maxCharacters' | 'autoFocus' | 'numberOfLines' | 'testID'> & {
|
|
3870
3905
|
/**
|
|
@@ -3885,7 +3920,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
3885
3920
|
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
3886
3921
|
*/
|
|
3887
3922
|
onClearButtonClick?: (() => void) | undefined;
|
|
3888
|
-
} & Partial<MakeObjectResponsive<{
|
|
3923
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3889
3924
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3890
3925
|
marginX: SpacingValueType;
|
|
3891
3926
|
marginY: SpacingValueType;
|
|
@@ -3897,28 +3932,17 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
3897
3932
|
gap: SpacingValueType;
|
|
3898
3933
|
rowGap: SpacingValueType;
|
|
3899
3934
|
columnGap: SpacingValueType;
|
|
3900
|
-
|
|
3935
|
+
flex: string | number;
|
|
3936
|
+
} & PickIfExist<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3937
|
+
__brand__?: "platform-native" | undefined;
|
|
3938
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3901
3939
|
top: SpacingValueType;
|
|
3902
3940
|
right: SpacingValueType;
|
|
3903
3941
|
bottom: SpacingValueType;
|
|
3904
3942
|
left: SpacingValueType;
|
|
3905
|
-
} &
|
|
3906
|
-
|
|
3907
|
-
|
|
3908
|
-
gridAutoFlow?: undefined;
|
|
3909
|
-
gridAutoRows?: undefined;
|
|
3910
|
-
gridColumnEnd?: undefined;
|
|
3911
|
-
gridColumnStart?: undefined;
|
|
3912
|
-
gridRowEnd?: undefined;
|
|
3913
|
-
gridRowStart?: undefined;
|
|
3914
|
-
gridTemplateAreas?: undefined;
|
|
3915
|
-
gridTemplateColumns?: undefined;
|
|
3916
|
-
gridTemplateRows?: undefined;
|
|
3917
|
-
gridArea?: undefined;
|
|
3918
|
-
gridColumn?: undefined;
|
|
3919
|
-
gridRow?: undefined;
|
|
3920
|
-
gridTemplate?: undefined;
|
|
3921
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3943
|
+
} & PickIfExist<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
3944
|
+
__brand__?: "platform-native" | undefined;
|
|
3945
|
+
}> & Pick<MakeObjectResponsive<PickCSSByPlatform<"grid" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate">>, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3922
3946
|
|
|
3923
3947
|
declare type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
3924
3948
|
name?: string;
|
|
@@ -4033,7 +4057,7 @@ declare type IndicatorCommonProps = {
|
|
|
4033
4057
|
* @default medium
|
|
4034
4058
|
*/
|
|
4035
4059
|
size?: 'small' | 'medium' | 'large';
|
|
4036
|
-
} & TestID
|
|
4060
|
+
} & TestID & StyledPropsBlade;
|
|
4037
4061
|
declare type IndicatorWithoutA11yLabel = {
|
|
4038
4062
|
/**
|
|
4039
4063
|
* A text label to show alongside the indicator dot
|
|
@@ -4073,7 +4097,7 @@ declare type ListItemProps = {
|
|
|
4073
4097
|
*
|
|
4074
4098
|
*/
|
|
4075
4099
|
_itemNumber?: undefined;
|
|
4076
|
-
} & TestID
|
|
4100
|
+
} & TestID;
|
|
4077
4101
|
declare const ListItem: ({ children, icon, _itemNumber, testID, }: ListItemProps) => React__default.ReactElement;
|
|
4078
4102
|
|
|
4079
4103
|
declare type ListCommonProps = {
|
|
@@ -4094,7 +4118,7 @@ declare type ListCommonProps = {
|
|
|
4094
4118
|
* @default 'medium'
|
|
4095
4119
|
*/
|
|
4096
4120
|
size?: 'small' | 'medium';
|
|
4097
|
-
} & TestID
|
|
4121
|
+
} & TestID & StyledPropsBlade;
|
|
4098
4122
|
declare type ListWithIconProps = ListCommonProps & {
|
|
4099
4123
|
variant?: 'unordered';
|
|
4100
4124
|
icon?: IconComponent;
|
|
@@ -4114,7 +4138,7 @@ declare type TitleProps = {
|
|
|
4114
4138
|
contrast?: ColorContrastTypes;
|
|
4115
4139
|
type?: TextTypes;
|
|
4116
4140
|
children: StringChildrenType;
|
|
4117
|
-
} & TestID
|
|
4141
|
+
} & TestID & StyledPropsBlade;
|
|
4118
4142
|
declare const Title: ({ size, type, contrast, children, testID, ...styledProps }: TitleProps) => ReactElement;
|
|
4119
4143
|
|
|
4120
4144
|
declare type HeadingVariant = 'regular' | 'subheading';
|
|
@@ -4123,7 +4147,7 @@ declare type HeadingCommonProps = {
|
|
|
4123
4147
|
type?: TextTypes;
|
|
4124
4148
|
contrast?: ColorContrastTypes;
|
|
4125
4149
|
children: StringChildrenType;
|
|
4126
|
-
} & TestID
|
|
4150
|
+
} & TestID & StyledPropsBlade;
|
|
4127
4151
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|
|
4128
4152
|
variant?: Exclude<HeadingVariant, 'subheading'>;
|
|
4129
4153
|
/**
|
|
@@ -4181,7 +4205,7 @@ declare type BaseTextProps = {
|
|
|
4181
4205
|
*/
|
|
4182
4206
|
numberOfLines?: number;
|
|
4183
4207
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
4184
|
-
} & TestID
|
|
4208
|
+
} & TestID & StyledPropsBlade;
|
|
4185
4209
|
|
|
4186
4210
|
declare type TextCommonProps = {
|
|
4187
4211
|
type?: TextTypes;
|
|
@@ -4194,7 +4218,7 @@ declare type TextCommonProps = {
|
|
|
4194
4218
|
*/
|
|
4195
4219
|
color?: BaseTextProps['color'];
|
|
4196
4220
|
textAlign?: BaseTextProps['textAlign'];
|
|
4197
|
-
} & TestID
|
|
4221
|
+
} & TestID & StyledPropsBlade;
|
|
4198
4222
|
declare type TextVariant = 'body' | 'caption';
|
|
4199
4223
|
declare type TextBodyVariant = TextCommonProps & {
|
|
4200
4224
|
variant?: Extract<TextVariant, 'body'>;
|
|
@@ -4234,7 +4258,7 @@ declare type CodeProps = {
|
|
|
4234
4258
|
*/
|
|
4235
4259
|
size?: 'small' | 'medium';
|
|
4236
4260
|
weight?: 'regular' | 'bold';
|
|
4237
|
-
} & TestID
|
|
4261
|
+
} & TestID & StyledPropsBlade;
|
|
4238
4262
|
/**
|
|
4239
4263
|
* Code component can be used for displaying token, variable names, or inlined code snippets.
|
|
4240
4264
|
*
|
|
@@ -4310,7 +4334,7 @@ declare type ProgressBarCommonProps = {
|
|
|
4310
4334
|
* @default 100
|
|
4311
4335
|
*/
|
|
4312
4336
|
max?: number;
|
|
4313
|
-
} & TestID
|
|
4337
|
+
} & TestID & StyledPropsBlade;
|
|
4314
4338
|
declare type ProgressBarVariant = 'progress' | 'meter';
|
|
4315
4339
|
declare type ProgressBarProgressProps = ProgressBarCommonProps & {
|
|
4316
4340
|
/**
|
|
@@ -4375,7 +4399,7 @@ declare type RadioProps = {
|
|
|
4375
4399
|
* @default "medium"
|
|
4376
4400
|
*/
|
|
4377
4401
|
size?: 'small' | 'medium';
|
|
4378
|
-
} & TestID
|
|
4402
|
+
} & TestID & StyledPropsBlade;
|
|
4379
4403
|
declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
4380
4404
|
/**
|
|
4381
4405
|
* Sets the label text of the Radio
|
|
@@ -4402,7 +4426,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4402
4426
|
* @default "medium"
|
|
4403
4427
|
*/
|
|
4404
4428
|
size?: "small" | "medium" | undefined;
|
|
4405
|
-
} & TestID
|
|
4429
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
4406
4430
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4407
4431
|
marginX: SpacingValueType;
|
|
4408
4432
|
marginY: SpacingValueType;
|
|
@@ -4414,28 +4438,17 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4414
4438
|
gap: SpacingValueType;
|
|
4415
4439
|
rowGap: SpacingValueType;
|
|
4416
4440
|
columnGap: SpacingValueType;
|
|
4417
|
-
|
|
4441
|
+
flex: string | number;
|
|
4442
|
+
} & PickIfExist$1<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
4443
|
+
__brand__?: "platform-native" | undefined;
|
|
4444
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
4418
4445
|
top: SpacingValueType;
|
|
4419
4446
|
right: SpacingValueType;
|
|
4420
4447
|
bottom: SpacingValueType;
|
|
4421
4448
|
left: SpacingValueType;
|
|
4422
|
-
} &
|
|
4423
|
-
|
|
4424
|
-
|
|
4425
|
-
gridAutoFlow?: undefined;
|
|
4426
|
-
gridAutoRows?: undefined;
|
|
4427
|
-
gridColumnEnd?: undefined;
|
|
4428
|
-
gridColumnStart?: undefined;
|
|
4429
|
-
gridRowEnd?: undefined;
|
|
4430
|
-
gridRowStart?: undefined;
|
|
4431
|
-
gridTemplateAreas?: undefined;
|
|
4432
|
-
gridTemplateColumns?: undefined;
|
|
4433
|
-
gridTemplateRows?: undefined;
|
|
4434
|
-
gridArea?: undefined;
|
|
4435
|
-
gridColumn?: undefined;
|
|
4436
|
-
gridRow?: undefined;
|
|
4437
|
-
gridTemplate?: undefined;
|
|
4438
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
4449
|
+
} & PickIfExist$1<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
4450
|
+
__brand__?: "platform-native" | undefined;
|
|
4451
|
+
}> & Pick<MakeObjectResponsive<PickCSSByPlatform$1<"grid" | "gridAutoColumns" | "gridAutoFlow" | "gridAutoRows" | "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridTemplateAreas" | "gridTemplateColumns" | "gridTemplateRows" | "gridArea" | "gridColumn" | "gridRow" | "gridTemplate">>, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">, "__brand__">> & React__default.RefAttributes<BladeElementRef>>;
|
|
4439
4452
|
|
|
4440
4453
|
declare type RadioGroupProps = {
|
|
4441
4454
|
/**
|
|
@@ -4510,7 +4523,7 @@ declare type RadioGroupProps = {
|
|
|
4510
4523
|
* @default "medium"
|
|
4511
4524
|
*/
|
|
4512
4525
|
size?: 'small' | 'medium';
|
|
4513
|
-
} & TestID
|
|
4526
|
+
} & TestID & StyledPropsBlade;
|
|
4514
4527
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
4515
4528
|
|
|
4516
4529
|
declare type BaseSpinnerProps = {
|
|
@@ -4543,7 +4556,7 @@ declare type BaseSpinnerProps = {
|
|
|
4543
4556
|
*
|
|
4544
4557
|
*/
|
|
4545
4558
|
accessibilityLabel: string;
|
|
4546
|
-
} & TestID
|
|
4559
|
+
} & TestID & StyledPropsBlade;
|
|
4547
4560
|
|
|
4548
4561
|
declare type SpinnerProps = Omit<BaseSpinnerProps, 'intent'>;
|
|
4549
4562
|
declare const Spinner: ({ label, labelPosition, accessibilityLabel, contrast, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
@@ -4557,7 +4570,7 @@ declare const SkipNavContent: (_props: SkipNavLinkProps) => never;
|
|
|
4557
4570
|
|
|
4558
4571
|
declare type VisuallyHiddenProps = {
|
|
4559
4572
|
children: React.ReactNode;
|
|
4560
|
-
} & TestID
|
|
4573
|
+
} & TestID;
|
|
4561
4574
|
|
|
4562
4575
|
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => JSX.Element;
|
|
4563
4576
|
|
|
@@ -4610,78 +4623,7 @@ declare type AmountProps = {
|
|
|
4610
4623
|
* @default 'INR'
|
|
4611
4624
|
* */
|
|
4612
4625
|
currency?: Currency;
|
|
4613
|
-
} & TestID
|
|
4626
|
+
} & TestID & StyledPropsBlade;
|
|
4614
4627
|
declare const Amount: ({ value, suffix, size, isAffixSubtle, intent, prefix, testID, currency, ...styledProps }: AmountProps) => ReactElement;
|
|
4615
4628
|
|
|
4616
|
-
|
|
4617
|
-
testID?: string;
|
|
4618
|
-
};
|
|
4619
|
-
|
|
4620
|
-
declare const BaseBox: styled_components.StyledComponent<typeof View, styled_components.DefaultTheme, Omit<Partial<MakeObjectResponsive<{
|
|
4621
|
-
padding: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4622
|
-
paddingX: SpacingValueType;
|
|
4623
|
-
paddingY: SpacingValueType;
|
|
4624
|
-
paddingTop: SpacingValueType;
|
|
4625
|
-
paddingRight: SpacingValueType;
|
|
4626
|
-
paddingBottom: SpacingValueType;
|
|
4627
|
-
paddingLeft: SpacingValueType;
|
|
4628
|
-
}> & MakeObjectResponsive<{
|
|
4629
|
-
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4630
|
-
marginX: SpacingValueType;
|
|
4631
|
-
marginY: SpacingValueType;
|
|
4632
|
-
marginTop: SpacingValueType;
|
|
4633
|
-
marginRight: SpacingValueType;
|
|
4634
|
-
marginBottom: SpacingValueType;
|
|
4635
|
-
marginLeft: SpacingValueType;
|
|
4636
|
-
}> & MakeObjectResponsive<{
|
|
4637
|
-
height: SpacingValueType;
|
|
4638
|
-
minHeight: SpacingValueType;
|
|
4639
|
-
maxHeight: SpacingValueType;
|
|
4640
|
-
width: SpacingValueType;
|
|
4641
|
-
minWidth: SpacingValueType;
|
|
4642
|
-
maxWidth: SpacingValueType;
|
|
4643
|
-
} & Pick<styled_components.CSSObject, "overflow" | "overflowX" | "overflowY"> & {
|
|
4644
|
-
display: "none" | "flex";
|
|
4645
|
-
} & {
|
|
4646
|
-
__brand__?: "platform-native" | undefined;
|
|
4647
|
-
}> & MakeObjectResponsive<{
|
|
4648
|
-
gap: SpacingValueType;
|
|
4649
|
-
rowGap: SpacingValueType;
|
|
4650
|
-
columnGap: SpacingValueType;
|
|
4651
|
-
} & Pick<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "flex" | "placeSelf">> & MakeObjectResponsive<{
|
|
4652
|
-
top: SpacingValueType;
|
|
4653
|
-
right: SpacingValueType;
|
|
4654
|
-
bottom: SpacingValueType;
|
|
4655
|
-
left: SpacingValueType;
|
|
4656
|
-
} & Pick<styled_components.CSSObject, "position" | "zIndex">> & {
|
|
4657
|
-
grid?: undefined;
|
|
4658
|
-
gridAutoColumns?: undefined;
|
|
4659
|
-
gridAutoFlow?: undefined;
|
|
4660
|
-
gridAutoRows?: undefined;
|
|
4661
|
-
gridColumnEnd?: undefined;
|
|
4662
|
-
gridColumnStart?: undefined;
|
|
4663
|
-
gridRowEnd?: undefined;
|
|
4664
|
-
gridRowStart?: undefined;
|
|
4665
|
-
gridTemplateAreas?: undefined;
|
|
4666
|
-
gridTemplateColumns?: undefined;
|
|
4667
|
-
gridTemplateRows?: undefined;
|
|
4668
|
-
gridArea?: undefined;
|
|
4669
|
-
gridColumn?: undefined;
|
|
4670
|
-
gridRow?: undefined;
|
|
4671
|
-
gridTemplate?: undefined;
|
|
4672
|
-
} & MakeObjectResponsive<{
|
|
4673
|
-
backgroundColor: "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast";
|
|
4674
|
-
}> & {
|
|
4675
|
-
as: "header" | "main" | "aside" | "div" | "footer" | "nav" | "section" | "span";
|
|
4676
|
-
} & {
|
|
4677
|
-
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
4678
|
-
} & TestID>, "backgroundColor" | "as"> & Partial<MakeObjectResponsive<{
|
|
4679
|
-
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
4680
|
-
backgroundColor: (string & Record<never, never>) | "feedback.background.neutral.lowContrast" | "feedback.background.neutral.highContrast" | "feedback.background.information.lowContrast" | "feedback.background.information.highContrast" | "feedback.background.negative.lowContrast" | "feedback.background.negative.highContrast" | "feedback.background.notice.lowContrast" | "feedback.background.notice.highContrast" | "feedback.background.positive.lowContrast" | "feedback.background.positive.highContrast" | "surface.background.level1.lowContrast" | "surface.background.level1.highContrast" | "surface.background.level2.lowContrast" | "surface.background.level2.highContrast" | "surface.background.level3.lowContrast" | "surface.background.level3.highContrast" | "action.background.primary.disabled" | "action.background.primary.default" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.disabled" | "action.background.secondary.default" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.disabled" | "action.background.tertiary.default" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active";
|
|
4681
|
-
lineHeight: SpacingValueType;
|
|
4682
|
-
} & Pick<styled_components.CSSObject, "border" | "transform" | "borderBottom" | "borderLeft" | "borderRight" | "borderTop">> & {
|
|
4683
|
-
className?: string | undefined;
|
|
4684
|
-
id?: string | undefined;
|
|
4685
|
-
}>, never>;
|
|
4686
|
-
|
|
4687
|
-
export { ActionList, ActionListFooter, ActionListFooterIcon, ActionListFooterProps, ActionListHeader, ActionListHeaderIcon, ActionListHeaderProps, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionDivider, 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, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, Box, BoxIcon, BoxProps, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, BaseBox as InternalDontUsePleaseWillBeRemovedSoonBaseBox, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, 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, 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, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, TabletIcon, TagIcon, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, Title, TitleProps, ToggleLeftIcon, ToggleRightIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useTheme };
|
|
4629
|
+
export { ActionList, ActionListFooter, ActionListFooterIcon, ActionListFooterProps, ActionListHeader, ActionListHeaderIcon, ActionListHeaderProps, ActionListItem, ActionListItemAsset, ActionListItemAssetProps, ActionListItemIcon, ActionListItemProps, ActionListItemText, ActionListProps, ActionListSection, ActionListSectionDivider, 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, AwardIcon, Badge, BadgeProps, BankIcon, BarChartAltIcon, BarChartIcon, BatteryChargingIcon, BatteryIcon, BellIcon, BellOffIcon, BillIcon, BladeProvider, BladeProviderProps, BluetoothIcon, BoldIcon, BookIcon, BookmarkIcon, Box, BoxIcon, BoxProps, BriefcaseIcon, BulkPayoutsIcon, Button, ButtonProps, CalendarIcon, CameraIcon, CameraOffIcon, Card, CardBody, CardFooter, CardFooterAction, CardFooterLeading, CardFooterTrailing, CardHeader, CardHeaderBadge, CardHeaderCounter, CardHeaderIcon, CardHeaderIconButton, CardHeaderLeading, CardHeaderLink, CardHeaderText, CardHeaderTrailing, CardProps, CastIcon, CheckCircleIcon, CheckIcon, CheckSquareIcon, Checkbox, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsDownIcon, ChevronsLeftIcon, ChevronsRightIcon, ChevronsUpIcon, ChromeIcon, CircleIcon, ClipboardIcon, ClockIcon, CloseIcon, CloudDrizzleIcon, CloudIcon, CloudLightningIcon, CloudOffIcon, CloudRainIcon, CloudSnowIcon, Code, CodeProps, CodepenIcon, CoinsIcon, CommandIcon, CompassIcon, ComponentIds, CopyIcon, CornerDownLeftIcon, CornerDownRightIcon, CornerLeftDownIcon, CornerLeftUpIcon, CornerRightDownIcon, CornerRightUpIcon, CornerUpLeftIcon, CornerUpRightIcon, Counter, CounterProps, CpuIcon, CreditCardIcon, CropIcon, CrosshairIcon, CustomersIcon, CutIcon, DashboardIcon, DeleteIcon, DiscIcon, DollarIcon, DollarsIcon, DownloadCloudIcon, DownloadIcon, Dropdown, DropdownOverlay, DropdownOverlayProps, DropdownProps, DropletIcon, EditComposeIcon, EditIcon, EditInlineIcon, ExportIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FacebookIcon, FastForwardIcon, FeatherIcon, FileIcon, FileMinusIcon, FilePlusIcon, FileTextIcon, FilmIcon, FilterIcon, FlagIcon, FolderIcon, FullScreenEnterIcon, FullScreenExitIcon, GithubIcon, GitlabIcon, GlobeIcon, GridIcon, HashIcon, Heading, HeadingProps, HeadphonesIcon, HeartIcon, HelpCircleIcon, HistoryIcon, HomeIcon, IconButton, IconButtonProps, IconComponent, IconProps, IconSize, ImageIcon, InboxIcon, Indicator, IndicatorProps, InfoIcon, InstagramIcon, InvoicesIcon, ItalicIcon, LayersIcon, LayoutIcon, LifeBuoyIcon, Link, LinkIcon, LinkProps, List, ListIcon, ListItem, ListItemCode, ListItemCodeProps, ListItemLink, ListItemLinkProps, ListItemProps, ListProps, LoaderIcon, LockIcon, LogInIcon, LogOutIcon, MailIcon, MailOpenIcon, MapIcon, MapPinIcon, MaximizeIcon, MenuDotsIcon, MenuIcon, MessageCircleIcon, MessageSquareIcon, MicIcon, MicOffIcon, MinimizeIcon, MinusCircleIcon, MinusIcon, MinusSquareIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MoreVerticalIcon, MoveIcon, MusicIcon, MyAccountIcon, NavigationIcon, OTPInput, 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, 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, SkipBackIcon, SkipForwardIcon, SkipNavContent, SkipNavLink, SlackIcon, SlashIcon, SlidersIcon, SmartCollectIcon, SmartphoneIcon, SpeakerIcon, Spinner, SpinnerProps, SquareIcon, StampIcon, StarIcon, StopCircleIcon, SubscriptionsIcon, SunIcon, SunriseIcon, SunsetIcon, TabletIcon, TagIcon, TargetIcon, Text, TextArea, TextAreaProps, TextInput, TextInputProps, TextProps, TextVariant, Theme, ThermometerIcon, ThumbsDownIcon, ThumbsUpIcon, Title, TitleProps, ToggleLeftIcon, ToggleRightIcon, TransactionsIcon, TrashIcon, TrendingDownIcon, TrendingUpIcon, TriangleIcon, TvIcon, TwitterIcon, TypeIcon, UmbrellaIcon, UnderlineIcon, UnlockIcon, UploadCloudIcon, UploadIcon, UserCheckIcon, UserIcon, UserMinusIcon, UserPlusIcon, UserXIcon, UsersIcon, VideoIcon, VideoOffIcon, VisuallyHidden, VisuallyHiddenProps, VoicemailIcon, VolumeHighIcon, VolumeIcon, VolumeLowIcon, VolumeMuteIcon, WatchIcon, WifiIcon, WifiOffIcon, WindIcon, XCircleIcon, XSquareIcon, ZapIcon, ZoomInIcon, ZoomOutIcon, announce, clearAnnouncer, destroyAnnouncer, getTextProps, screenReaderStyles, useTheme };
|