@razorpay/blade 7.0.2 → 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 +12 -0
- package/build/components/index.d.ts +232 -595
- package/build/components/index.native.d.ts +222 -288
- package/build/components/index.native.js +2 -2
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +3 -3
- 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
|
|
@@ -2365,7 +2377,7 @@ declare type ButtonCommonProps = {
|
|
|
2365
2377
|
native: (event: GestureResponderEvent) => void;
|
|
2366
2378
|
web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
2367
2379
|
}>;
|
|
2368
|
-
} & TestID
|
|
2380
|
+
} & TestID & StyledPropsBlade;
|
|
2369
2381
|
declare type ButtonWithoutIconProps = ButtonCommonProps & {
|
|
2370
2382
|
icon?: undefined;
|
|
2371
2383
|
children: StringChildrenType;
|
|
@@ -2415,7 +2427,7 @@ type BaseTextProps$1 = {
|
|
|
2415
2427
|
*/
|
|
2416
2428
|
numberOfLines?: number;
|
|
2417
2429
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
2418
|
-
} & TestID
|
|
2430
|
+
} & TestID &
|
|
2419
2431
|
StyledPropsBlade;
|
|
2420
2432
|
|
|
2421
2433
|
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
|
|
@@ -2432,7 +2444,7 @@ type TextCommonProps$1 = {
|
|
|
2432
2444
|
*/
|
|
2433
2445
|
color?: BaseTextProps$1['color'];
|
|
2434
2446
|
textAlign?: BaseTextProps$1['textAlign'];
|
|
2435
|
-
} & TestID
|
|
2447
|
+
} & TestID &
|
|
2436
2448
|
StyledPropsBlade;
|
|
2437
2449
|
|
|
2438
2450
|
type TextVariant$1 = 'body' | 'caption';
|
|
@@ -2489,7 +2501,7 @@ type CounterProps$1 = {
|
|
|
2489
2501
|
* @default 'medium'
|
|
2490
2502
|
*/
|
|
2491
2503
|
size?: 'small' | 'medium' | 'large';
|
|
2492
|
-
} & TestID
|
|
2504
|
+
} & TestID &
|
|
2493
2505
|
StyledPropsBlade;
|
|
2494
2506
|
|
|
2495
2507
|
declare const CardHeaderIcon: ({ icon }: {
|
|
@@ -2507,7 +2519,7 @@ declare type CardHeaderIconButtonProps = Omit<ButtonProps, 'variant' | 'size' |
|
|
|
2507
2519
|
declare const CardHeaderIconButton: (props: CardHeaderIconButtonProps) => React__default.ReactElement;
|
|
2508
2520
|
declare type CardHeaderProps = {
|
|
2509
2521
|
children?: React__default.ReactNode;
|
|
2510
|
-
} & TestID
|
|
2522
|
+
} & TestID;
|
|
2511
2523
|
declare const CardHeader: ({ children, testID }: CardHeaderProps) => React__default.ReactElement;
|
|
2512
2524
|
declare type CardHeaderLeadingProps = {
|
|
2513
2525
|
title: string;
|
|
@@ -2541,7 +2553,7 @@ declare type CardFooterAction = Pick<ButtonProps, 'type' | 'accessibilityLabel'
|
|
|
2541
2553
|
};
|
|
2542
2554
|
declare type CardFooterProps = {
|
|
2543
2555
|
children?: React__default.ReactNode;
|
|
2544
|
-
} & TestID
|
|
2556
|
+
} & TestID;
|
|
2545
2557
|
declare const CardFooter: ({ children, testID }: CardFooterProps) => React__default.ReactElement;
|
|
2546
2558
|
declare type CardFooterLeadingProps = {
|
|
2547
2559
|
title?: string;
|
|
@@ -2613,7 +2625,7 @@ declare type CounterProps = {
|
|
|
2613
2625
|
* @default 'medium'
|
|
2614
2626
|
*/
|
|
2615
2627
|
size?: 'small' | 'medium' | 'large';
|
|
2616
|
-
} & TestID
|
|
2628
|
+
} & TestID & StyledPropsBlade;
|
|
2617
2629
|
declare const Counter: ({ value, max, intent, contrast, size, testID, ...styledProps }: CounterProps) => React.ReactElement;
|
|
2618
2630
|
|
|
2619
2631
|
declare type OnChange = ({ isChecked, event, value, }: {
|
|
@@ -2699,7 +2711,7 @@ declare type CheckboxProps = {
|
|
|
2699
2711
|
*
|
|
2700
2712
|
*/
|
|
2701
2713
|
tabIndex?: number;
|
|
2702
|
-
} & TestID
|
|
2714
|
+
} & TestID & StyledPropsBlade;
|
|
2703
2715
|
declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
2704
2716
|
/**
|
|
2705
2717
|
* If `true`, The checkbox will be checked. This also makes the checkbox controlled
|
|
@@ -2778,7 +2790,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2778
2790
|
*
|
|
2779
2791
|
*/
|
|
2780
2792
|
tabIndex?: number | undefined;
|
|
2781
|
-
} & TestID
|
|
2793
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
2782
2794
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
2783
2795
|
marginX: SpacingValueType;
|
|
2784
2796
|
marginY: SpacingValueType;
|
|
@@ -2790,28 +2802,17 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2790
2802
|
gap: SpacingValueType;
|
|
2791
2803
|
rowGap: SpacingValueType;
|
|
2792
2804
|
columnGap: SpacingValueType;
|
|
2793
|
-
|
|
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<{
|
|
2794
2809
|
top: SpacingValueType;
|
|
2795
2810
|
right: SpacingValueType;
|
|
2796
2811
|
bottom: SpacingValueType;
|
|
2797
2812
|
left: SpacingValueType;
|
|
2798
|
-
} &
|
|
2799
|
-
|
|
2800
|
-
|
|
2801
|
-
gridAutoFlow?: undefined;
|
|
2802
|
-
gridAutoRows?: undefined;
|
|
2803
|
-
gridColumnEnd?: undefined;
|
|
2804
|
-
gridColumnStart?: undefined;
|
|
2805
|
-
gridRowEnd?: undefined;
|
|
2806
|
-
gridRowStart?: undefined;
|
|
2807
|
-
gridTemplateAreas?: undefined;
|
|
2808
|
-
gridTemplateColumns?: undefined;
|
|
2809
|
-
gridTemplateRows?: undefined;
|
|
2810
|
-
gridArea?: undefined;
|
|
2811
|
-
gridColumn?: undefined;
|
|
2812
|
-
gridRow?: undefined;
|
|
2813
|
-
gridTemplate?: undefined;
|
|
2814
|
-
}, "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>>;
|
|
2815
2816
|
|
|
2816
2817
|
declare type CheckboxGroupProps = {
|
|
2817
2818
|
/**
|
|
@@ -2886,7 +2887,7 @@ declare type CheckboxGroupProps = {
|
|
|
2886
2887
|
* @default "medium"
|
|
2887
2888
|
*/
|
|
2888
2889
|
size?: 'small' | 'medium';
|
|
2889
|
-
} & TestID
|
|
2890
|
+
} & TestID & StyledPropsBlade;
|
|
2890
2891
|
declare const CheckboxGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: CheckboxGroupProps) => React__default.ReactElement;
|
|
2891
2892
|
|
|
2892
2893
|
declare type DropdownProps = {
|
|
@@ -2897,7 +2898,7 @@ declare const Dropdown: ({ children, selectionType, ...styledProps }: DropdownPr
|
|
|
2897
2898
|
|
|
2898
2899
|
declare type DropdownOverlayProps = {
|
|
2899
2900
|
children: React__default.ReactNode;
|
|
2900
|
-
} & TestID
|
|
2901
|
+
} & TestID;
|
|
2901
2902
|
|
|
2902
2903
|
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
|
|
2903
2904
|
|
|
@@ -3459,6 +3460,36 @@ declare type IconProps = {
|
|
|
3459
3460
|
} & StyledPropsBlade;
|
|
3460
3461
|
declare type IconComponent = React.ComponentType<IconProps>;
|
|
3461
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
|
+
|
|
3462
3493
|
declare type FormInputLabelProps = {
|
|
3463
3494
|
/**
|
|
3464
3495
|
* Label to be shown for the input field
|
|
@@ -3710,7 +3741,7 @@ declare type BaseInputProps = FormInputLabelProps & FormInputValidationProps & {
|
|
|
3710
3741
|
* sets the autocapitalize behavior for the input
|
|
3711
3742
|
*/
|
|
3712
3743
|
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
3713
|
-
} & TestID
|
|
3744
|
+
} & TestID & Platform.Select<{
|
|
3714
3745
|
native: {
|
|
3715
3746
|
/**
|
|
3716
3747
|
* The callback function to be invoked when the value of the input field is submitted.
|
|
@@ -3746,6 +3777,14 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
|
|
|
3746
3777
|
/**
|
|
3747
3778
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3748
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
|
+
*
|
|
3749
3788
|
* @default text
|
|
3750
3789
|
*/
|
|
3751
3790
|
type?: Type;
|
|
@@ -3770,10 +3809,18 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3770
3809
|
/**
|
|
3771
3810
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3772
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
|
+
*
|
|
3773
3820
|
* @default text
|
|
3774
3821
|
*/
|
|
3775
3822
|
type?: Type;
|
|
3776
|
-
} & Partial<MakeObjectResponsive<{
|
|
3823
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3777
3824
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3778
3825
|
marginX: SpacingValueType;
|
|
3779
3826
|
marginY: SpacingValueType;
|
|
@@ -3785,28 +3832,19 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3785
3832
|
gap: SpacingValueType;
|
|
3786
3833
|
rowGap: SpacingValueType;
|
|
3787
3834
|
columnGap: SpacingValueType;
|
|
3788
|
-
|
|
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<{
|
|
3789
3841
|
top: SpacingValueType;
|
|
3790
3842
|
right: SpacingValueType;
|
|
3791
3843
|
bottom: SpacingValueType;
|
|
3792
3844
|
left: SpacingValueType;
|
|
3793
|
-
} &
|
|
3794
|
-
|
|
3795
|
-
|
|
3796
|
-
gridAutoFlow?: undefined;
|
|
3797
|
-
gridAutoRows?: undefined;
|
|
3798
|
-
gridColumnEnd?: undefined;
|
|
3799
|
-
gridColumnStart?: undefined;
|
|
3800
|
-
gridRowEnd?: undefined;
|
|
3801
|
-
gridRowStart?: undefined;
|
|
3802
|
-
gridTemplateAreas?: undefined;
|
|
3803
|
-
gridTemplateColumns?: undefined;
|
|
3804
|
-
gridTemplateRows?: undefined;
|
|
3805
|
-
gridArea?: undefined;
|
|
3806
|
-
gridColumn?: undefined;
|
|
3807
|
-
gridRow?: undefined;
|
|
3808
|
-
gridTemplate?: undefined;
|
|
3809
|
-
}, "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>>;
|
|
3810
3848
|
|
|
3811
3849
|
declare type PasswordInputExtraProps = {
|
|
3812
3850
|
/**
|
|
@@ -3839,7 +3877,7 @@ declare type PasswordInputExtraProps = {
|
|
|
3839
3877
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
3840
3878
|
};
|
|
3841
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;
|
|
3842
|
-
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<{
|
|
3843
3881
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3844
3882
|
marginX: SpacingValueType;
|
|
3845
3883
|
marginY: SpacingValueType;
|
|
@@ -3851,28 +3889,17 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
3851
3889
|
gap: SpacingValueType;
|
|
3852
3890
|
rowGap: SpacingValueType;
|
|
3853
3891
|
columnGap: SpacingValueType;
|
|
3854
|
-
|
|
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<{
|
|
3855
3896
|
top: SpacingValueType;
|
|
3856
3897
|
right: SpacingValueType;
|
|
3857
3898
|
bottom: SpacingValueType;
|
|
3858
3899
|
left: SpacingValueType;
|
|
3859
|
-
} &
|
|
3860
|
-
|
|
3861
|
-
|
|
3862
|
-
gridAutoFlow?: undefined;
|
|
3863
|
-
gridAutoRows?: undefined;
|
|
3864
|
-
gridColumnEnd?: undefined;
|
|
3865
|
-
gridColumnStart?: undefined;
|
|
3866
|
-
gridRowEnd?: undefined;
|
|
3867
|
-
gridRowStart?: undefined;
|
|
3868
|
-
gridTemplateAreas?: undefined;
|
|
3869
|
-
gridTemplateColumns?: undefined;
|
|
3870
|
-
gridTemplateRows?: undefined;
|
|
3871
|
-
gridArea?: undefined;
|
|
3872
|
-
gridColumn?: undefined;
|
|
3873
|
-
gridRow?: undefined;
|
|
3874
|
-
gridTemplate?: undefined;
|
|
3875
|
-
}, "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>>;
|
|
3876
3903
|
|
|
3877
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'> & {
|
|
3878
3905
|
/**
|
|
@@ -3893,7 +3920,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
3893
3920
|
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
3894
3921
|
*/
|
|
3895
3922
|
onClearButtonClick?: (() => void) | undefined;
|
|
3896
|
-
} & Partial<MakeObjectResponsive<{
|
|
3923
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3897
3924
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3898
3925
|
marginX: SpacingValueType;
|
|
3899
3926
|
marginY: SpacingValueType;
|
|
@@ -3905,28 +3932,17 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
3905
3932
|
gap: SpacingValueType;
|
|
3906
3933
|
rowGap: SpacingValueType;
|
|
3907
3934
|
columnGap: SpacingValueType;
|
|
3908
|
-
|
|
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<{
|
|
3909
3939
|
top: SpacingValueType;
|
|
3910
3940
|
right: SpacingValueType;
|
|
3911
3941
|
bottom: SpacingValueType;
|
|
3912
3942
|
left: SpacingValueType;
|
|
3913
|
-
} &
|
|
3914
|
-
|
|
3915
|
-
|
|
3916
|
-
gridAutoFlow?: undefined;
|
|
3917
|
-
gridAutoRows?: undefined;
|
|
3918
|
-
gridColumnEnd?: undefined;
|
|
3919
|
-
gridColumnStart?: undefined;
|
|
3920
|
-
gridRowEnd?: undefined;
|
|
3921
|
-
gridRowStart?: undefined;
|
|
3922
|
-
gridTemplateAreas?: undefined;
|
|
3923
|
-
gridTemplateColumns?: undefined;
|
|
3924
|
-
gridTemplateRows?: undefined;
|
|
3925
|
-
gridArea?: undefined;
|
|
3926
|
-
gridColumn?: undefined;
|
|
3927
|
-
gridRow?: undefined;
|
|
3928
|
-
gridTemplate?: undefined;
|
|
3929
|
-
}, "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>>;
|
|
3930
3946
|
|
|
3931
3947
|
declare type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
3932
3948
|
name?: string;
|
|
@@ -4041,7 +4057,7 @@ declare type IndicatorCommonProps = {
|
|
|
4041
4057
|
* @default medium
|
|
4042
4058
|
*/
|
|
4043
4059
|
size?: 'small' | 'medium' | 'large';
|
|
4044
|
-
} & TestID
|
|
4060
|
+
} & TestID & StyledPropsBlade;
|
|
4045
4061
|
declare type IndicatorWithoutA11yLabel = {
|
|
4046
4062
|
/**
|
|
4047
4063
|
* A text label to show alongside the indicator dot
|
|
@@ -4081,7 +4097,7 @@ declare type ListItemProps = {
|
|
|
4081
4097
|
*
|
|
4082
4098
|
*/
|
|
4083
4099
|
_itemNumber?: undefined;
|
|
4084
|
-
} & TestID
|
|
4100
|
+
} & TestID;
|
|
4085
4101
|
declare const ListItem: ({ children, icon, _itemNumber, testID, }: ListItemProps) => React__default.ReactElement;
|
|
4086
4102
|
|
|
4087
4103
|
declare type ListCommonProps = {
|
|
@@ -4102,7 +4118,7 @@ declare type ListCommonProps = {
|
|
|
4102
4118
|
* @default 'medium'
|
|
4103
4119
|
*/
|
|
4104
4120
|
size?: 'small' | 'medium';
|
|
4105
|
-
} & TestID
|
|
4121
|
+
} & TestID & StyledPropsBlade;
|
|
4106
4122
|
declare type ListWithIconProps = ListCommonProps & {
|
|
4107
4123
|
variant?: 'unordered';
|
|
4108
4124
|
icon?: IconComponent;
|
|
@@ -4122,7 +4138,7 @@ declare type TitleProps = {
|
|
|
4122
4138
|
contrast?: ColorContrastTypes;
|
|
4123
4139
|
type?: TextTypes;
|
|
4124
4140
|
children: StringChildrenType;
|
|
4125
|
-
} & TestID
|
|
4141
|
+
} & TestID & StyledPropsBlade;
|
|
4126
4142
|
declare const Title: ({ size, type, contrast, children, testID, ...styledProps }: TitleProps) => ReactElement;
|
|
4127
4143
|
|
|
4128
4144
|
declare type HeadingVariant = 'regular' | 'subheading';
|
|
@@ -4131,7 +4147,7 @@ declare type HeadingCommonProps = {
|
|
|
4131
4147
|
type?: TextTypes;
|
|
4132
4148
|
contrast?: ColorContrastTypes;
|
|
4133
4149
|
children: StringChildrenType;
|
|
4134
|
-
} & TestID
|
|
4150
|
+
} & TestID & StyledPropsBlade;
|
|
4135
4151
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|
|
4136
4152
|
variant?: Exclude<HeadingVariant, 'subheading'>;
|
|
4137
4153
|
/**
|
|
@@ -4189,7 +4205,7 @@ declare type BaseTextProps = {
|
|
|
4189
4205
|
*/
|
|
4190
4206
|
numberOfLines?: number;
|
|
4191
4207
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
4192
|
-
} & TestID
|
|
4208
|
+
} & TestID & StyledPropsBlade;
|
|
4193
4209
|
|
|
4194
4210
|
declare type TextCommonProps = {
|
|
4195
4211
|
type?: TextTypes;
|
|
@@ -4202,7 +4218,7 @@ declare type TextCommonProps = {
|
|
|
4202
4218
|
*/
|
|
4203
4219
|
color?: BaseTextProps['color'];
|
|
4204
4220
|
textAlign?: BaseTextProps['textAlign'];
|
|
4205
|
-
} & TestID
|
|
4221
|
+
} & TestID & StyledPropsBlade;
|
|
4206
4222
|
declare type TextVariant = 'body' | 'caption';
|
|
4207
4223
|
declare type TextBodyVariant = TextCommonProps & {
|
|
4208
4224
|
variant?: Extract<TextVariant, 'body'>;
|
|
@@ -4242,7 +4258,7 @@ declare type CodeProps = {
|
|
|
4242
4258
|
*/
|
|
4243
4259
|
size?: 'small' | 'medium';
|
|
4244
4260
|
weight?: 'regular' | 'bold';
|
|
4245
|
-
} & TestID
|
|
4261
|
+
} & TestID & StyledPropsBlade;
|
|
4246
4262
|
/**
|
|
4247
4263
|
* Code component can be used for displaying token, variable names, or inlined code snippets.
|
|
4248
4264
|
*
|
|
@@ -4318,7 +4334,7 @@ declare type ProgressBarCommonProps = {
|
|
|
4318
4334
|
* @default 100
|
|
4319
4335
|
*/
|
|
4320
4336
|
max?: number;
|
|
4321
|
-
} & TestID
|
|
4337
|
+
} & TestID & StyledPropsBlade;
|
|
4322
4338
|
declare type ProgressBarVariant = 'progress' | 'meter';
|
|
4323
4339
|
declare type ProgressBarProgressProps = ProgressBarCommonProps & {
|
|
4324
4340
|
/**
|
|
@@ -4383,7 +4399,7 @@ declare type RadioProps = {
|
|
|
4383
4399
|
* @default "medium"
|
|
4384
4400
|
*/
|
|
4385
4401
|
size?: 'small' | 'medium';
|
|
4386
|
-
} & TestID
|
|
4402
|
+
} & TestID & StyledPropsBlade;
|
|
4387
4403
|
declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
4388
4404
|
/**
|
|
4389
4405
|
* Sets the label text of the Radio
|
|
@@ -4410,7 +4426,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4410
4426
|
* @default "medium"
|
|
4411
4427
|
*/
|
|
4412
4428
|
size?: "small" | "medium" | undefined;
|
|
4413
|
-
} & TestID
|
|
4429
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
4414
4430
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4415
4431
|
marginX: SpacingValueType;
|
|
4416
4432
|
marginY: SpacingValueType;
|
|
@@ -4422,28 +4438,17 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4422
4438
|
gap: SpacingValueType;
|
|
4423
4439
|
rowGap: SpacingValueType;
|
|
4424
4440
|
columnGap: SpacingValueType;
|
|
4425
|
-
|
|
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<{
|
|
4426
4445
|
top: SpacingValueType;
|
|
4427
4446
|
right: SpacingValueType;
|
|
4428
4447
|
bottom: SpacingValueType;
|
|
4429
4448
|
left: SpacingValueType;
|
|
4430
|
-
} &
|
|
4431
|
-
|
|
4432
|
-
|
|
4433
|
-
gridAutoFlow?: undefined;
|
|
4434
|
-
gridAutoRows?: undefined;
|
|
4435
|
-
gridColumnEnd?: undefined;
|
|
4436
|
-
gridColumnStart?: undefined;
|
|
4437
|
-
gridRowEnd?: undefined;
|
|
4438
|
-
gridRowStart?: undefined;
|
|
4439
|
-
gridTemplateAreas?: undefined;
|
|
4440
|
-
gridTemplateColumns?: undefined;
|
|
4441
|
-
gridTemplateRows?: undefined;
|
|
4442
|
-
gridArea?: undefined;
|
|
4443
|
-
gridColumn?: undefined;
|
|
4444
|
-
gridRow?: undefined;
|
|
4445
|
-
gridTemplate?: undefined;
|
|
4446
|
-
}, "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>>;
|
|
4447
4452
|
|
|
4448
4453
|
declare type RadioGroupProps = {
|
|
4449
4454
|
/**
|
|
@@ -4518,7 +4523,7 @@ declare type RadioGroupProps = {
|
|
|
4518
4523
|
* @default "medium"
|
|
4519
4524
|
*/
|
|
4520
4525
|
size?: 'small' | 'medium';
|
|
4521
|
-
} & TestID
|
|
4526
|
+
} & TestID & StyledPropsBlade;
|
|
4522
4527
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
4523
4528
|
|
|
4524
4529
|
declare type BaseSpinnerProps = {
|
|
@@ -4551,7 +4556,7 @@ declare type BaseSpinnerProps = {
|
|
|
4551
4556
|
*
|
|
4552
4557
|
*/
|
|
4553
4558
|
accessibilityLabel: string;
|
|
4554
|
-
} & TestID
|
|
4559
|
+
} & TestID & StyledPropsBlade;
|
|
4555
4560
|
|
|
4556
4561
|
declare type SpinnerProps = Omit<BaseSpinnerProps, 'intent'>;
|
|
4557
4562
|
declare const Spinner: ({ label, labelPosition, accessibilityLabel, contrast, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
@@ -4565,7 +4570,7 @@ declare const SkipNavContent: (_props: SkipNavLinkProps) => never;
|
|
|
4565
4570
|
|
|
4566
4571
|
declare type VisuallyHiddenProps = {
|
|
4567
4572
|
children: React.ReactNode;
|
|
4568
|
-
} & TestID
|
|
4573
|
+
} & TestID;
|
|
4569
4574
|
|
|
4570
4575
|
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => JSX.Element;
|
|
4571
4576
|
|
|
@@ -4618,78 +4623,7 @@ declare type AmountProps = {
|
|
|
4618
4623
|
* @default 'INR'
|
|
4619
4624
|
* */
|
|
4620
4625
|
currency?: Currency;
|
|
4621
|
-
} & TestID
|
|
4626
|
+
} & TestID & StyledPropsBlade;
|
|
4622
4627
|
declare const Amount: ({ value, suffix, size, isAffixSubtle, intent, prefix, testID, currency, ...styledProps }: AmountProps) => ReactElement;
|
|
4623
4628
|
|
|
4624
|
-
|
|
4625
|
-
testID?: string;
|
|
4626
|
-
};
|
|
4627
|
-
|
|
4628
|
-
declare const BaseBox: styled_components.StyledComponent<typeof View, styled_components.DefaultTheme, Omit<Partial<MakeObjectResponsive<{
|
|
4629
|
-
padding: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4630
|
-
paddingX: SpacingValueType;
|
|
4631
|
-
paddingY: SpacingValueType;
|
|
4632
|
-
paddingTop: SpacingValueType;
|
|
4633
|
-
paddingRight: SpacingValueType;
|
|
4634
|
-
paddingBottom: SpacingValueType;
|
|
4635
|
-
paddingLeft: SpacingValueType;
|
|
4636
|
-
}> & MakeObjectResponsive<{
|
|
4637
|
-
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4638
|
-
marginX: SpacingValueType;
|
|
4639
|
-
marginY: SpacingValueType;
|
|
4640
|
-
marginTop: SpacingValueType;
|
|
4641
|
-
marginRight: SpacingValueType;
|
|
4642
|
-
marginBottom: SpacingValueType;
|
|
4643
|
-
marginLeft: SpacingValueType;
|
|
4644
|
-
}> & MakeObjectResponsive<{
|
|
4645
|
-
height: SpacingValueType;
|
|
4646
|
-
minHeight: SpacingValueType;
|
|
4647
|
-
maxHeight: SpacingValueType;
|
|
4648
|
-
width: SpacingValueType;
|
|
4649
|
-
minWidth: SpacingValueType;
|
|
4650
|
-
maxWidth: SpacingValueType;
|
|
4651
|
-
} & Pick<styled_components.CSSObject, "overflow" | "overflowX" | "overflowY"> & {
|
|
4652
|
-
display: "none" | "flex";
|
|
4653
|
-
} & {
|
|
4654
|
-
__brand__?: "platform-native" | undefined;
|
|
4655
|
-
}> & MakeObjectResponsive<{
|
|
4656
|
-
gap: SpacingValueType;
|
|
4657
|
-
rowGap: SpacingValueType;
|
|
4658
|
-
columnGap: SpacingValueType;
|
|
4659
|
-
} & Pick<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "flex" | "placeSelf">> & MakeObjectResponsive<{
|
|
4660
|
-
top: SpacingValueType;
|
|
4661
|
-
right: SpacingValueType;
|
|
4662
|
-
bottom: SpacingValueType;
|
|
4663
|
-
left: SpacingValueType;
|
|
4664
|
-
} & Pick<styled_components.CSSObject, "position" | "zIndex">> & {
|
|
4665
|
-
grid?: undefined;
|
|
4666
|
-
gridAutoColumns?: undefined;
|
|
4667
|
-
gridAutoFlow?: undefined;
|
|
4668
|
-
gridAutoRows?: undefined;
|
|
4669
|
-
gridColumnEnd?: undefined;
|
|
4670
|
-
gridColumnStart?: undefined;
|
|
4671
|
-
gridRowEnd?: undefined;
|
|
4672
|
-
gridRowStart?: undefined;
|
|
4673
|
-
gridTemplateAreas?: undefined;
|
|
4674
|
-
gridTemplateColumns?: undefined;
|
|
4675
|
-
gridTemplateRows?: undefined;
|
|
4676
|
-
gridArea?: undefined;
|
|
4677
|
-
gridColumn?: undefined;
|
|
4678
|
-
gridRow?: undefined;
|
|
4679
|
-
gridTemplate?: undefined;
|
|
4680
|
-
} & MakeObjectResponsive<{
|
|
4681
|
-
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";
|
|
4682
|
-
}> & {
|
|
4683
|
-
as: "header" | "main" | "aside" | "div" | "footer" | "nav" | "section" | "span";
|
|
4684
|
-
} & {
|
|
4685
|
-
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
4686
|
-
} & TestID>, "backgroundColor" | "as"> & Partial<MakeObjectResponsive<{
|
|
4687
|
-
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
4688
|
-
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";
|
|
4689
|
-
lineHeight: SpacingValueType;
|
|
4690
|
-
} & Pick<styled_components.CSSObject, "border" | "transform" | "borderBottom" | "borderLeft" | "borderRight" | "borderTop">> & {
|
|
4691
|
-
className?: string | undefined;
|
|
4692
|
-
id?: string | undefined;
|
|
4693
|
-
}>, never>;
|
|
4694
|
-
|
|
4695
|
-
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 };
|