@razorpay/blade 7.0.2 → 7.0.4
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 +234 -595
- package/build/components/index.native.d.ts +224 -288
- package/build/components/index.native.js +18 -16
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +173 -95
- 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,51 @@ 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
|
+
|
|
997
|
+
declare type ActionListContextProp = Pick<ActionListProps, 'surfaceLevel'>;
|
|
998
|
+
declare const useActionListContext: () => ActionListContextProp;
|
|
967
999
|
declare type ActionListProps = {
|
|
968
1000
|
children: React__default.ReactNode[];
|
|
969
1001
|
/**
|
|
970
1002
|
* Decides the backgroundColor of ActionList
|
|
971
1003
|
*/
|
|
972
1004
|
surfaceLevel?: 2 | 3;
|
|
973
|
-
} & TestID
|
|
1005
|
+
} & TestID;
|
|
974
1006
|
declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID }: ActionListProps) => JSX.Element>;
|
|
975
1007
|
|
|
976
1008
|
type Theme$1 = {
|
|
@@ -1007,12 +1039,16 @@ type Theme$1 = {
|
|
|
1007
1039
|
* ```
|
|
1008
1040
|
*
|
|
1009
1041
|
*/
|
|
1010
|
-
type
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
1015
|
-
|
|
1042
|
+
// When type is `never`, we just want to return `never` rather than { base: never, ...etc } since that prop is intended to be never used
|
|
1043
|
+
// Explaination of [T] extends [never] -> https://stackoverflow.com/questions/65492464/typescript-never-type-condition
|
|
1044
|
+
type MakeValueResponsive$1<T> = [T] extends [never]
|
|
1045
|
+
? never
|
|
1046
|
+
:
|
|
1047
|
+
| T
|
|
1048
|
+
| {
|
|
1049
|
+
// Using this instead of Record to maintain the jsdoc from breakpoints.ts
|
|
1050
|
+
[P in keyof Breakpoints]?: T;
|
|
1051
|
+
};
|
|
1016
1052
|
|
|
1017
1053
|
/**
|
|
1018
1054
|
* Turns all the values in object into responsive object.
|
|
@@ -1250,10 +1286,6 @@ type MarginProps$1 = MakeObjectResponsive$1<{
|
|
|
1250
1286
|
marginLeft: SpacingValueType$1;
|
|
1251
1287
|
}>;
|
|
1252
1288
|
|
|
1253
|
-
type MakeObjectWebOnly$1<T> = {
|
|
1254
|
-
[P in keyof T]: Platform.Select<{ web: T[P]; native: never }>;
|
|
1255
|
-
};
|
|
1256
|
-
|
|
1257
1289
|
type FlexboxProps$1 = MakeObjectResponsive$1<
|
|
1258
1290
|
{
|
|
1259
1291
|
/**
|
|
@@ -1277,9 +1309,13 @@ type FlexboxProps$1 = MakeObjectResponsive$1<
|
|
|
1277
1309
|
* @see https://caniuse.com/?search=column-gap
|
|
1278
1310
|
*/
|
|
1279
1311
|
columnGap: SpacingValueType$1;
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
|
|
1312
|
+
/**
|
|
1313
|
+
* The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
|
|
1314
|
+
*
|
|
1315
|
+
* @see https://developer.mozilla.org/docs/Web/CSS/flex
|
|
1316
|
+
*/
|
|
1317
|
+
flex: string | number;
|
|
1318
|
+
} & PickCSSByPlatform$1<
|
|
1283
1319
|
| 'flexWrap'
|
|
1284
1320
|
| 'flexDirection'
|
|
1285
1321
|
| 'flexGrow'
|
|
@@ -1302,46 +1338,46 @@ type PositionProps$1 = MakeObjectResponsive$1<
|
|
|
1302
1338
|
right: SpacingValueType$1;
|
|
1303
1339
|
bottom: SpacingValueType$1;
|
|
1304
1340
|
left: SpacingValueType$1;
|
|
1305
|
-
} &
|
|
1341
|
+
} & PickCSSByPlatform$1<'position' | 'zIndex'>
|
|
1306
1342
|
>;
|
|
1307
1343
|
|
|
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
|
-
>
|
|
1344
|
+
type GridProps$1 = MakeObjectResponsive$1<
|
|
1345
|
+
PickCSSByPlatform$1<
|
|
1346
|
+
| 'grid'
|
|
1347
|
+
| 'gridColumn'
|
|
1348
|
+
| 'gridRow'
|
|
1349
|
+
| 'gridRowStart'
|
|
1350
|
+
| 'gridRowEnd'
|
|
1351
|
+
| 'gridColumnStart'
|
|
1352
|
+
| 'gridColumnEnd'
|
|
1353
|
+
| 'gridArea'
|
|
1354
|
+
| 'gridAutoFlow'
|
|
1355
|
+
| 'gridAutoRows'
|
|
1356
|
+
| 'gridAutoColumns'
|
|
1357
|
+
| 'gridTemplate'
|
|
1358
|
+
| 'gridTemplateAreas'
|
|
1359
|
+
| 'gridTemplateColumns'
|
|
1360
|
+
| 'gridTemplateRows'
|
|
1328
1361
|
>
|
|
1329
1362
|
>;
|
|
1330
1363
|
|
|
1331
1364
|
type StyledPropsBlade = Partial<
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1365
|
+
Omit<
|
|
1366
|
+
MarginProps$1 &
|
|
1367
|
+
Pick<FlexboxProps$1, 'alignSelf' | 'justifySelf' | 'placeSelf' | 'order'> &
|
|
1368
|
+
PositionProps$1 &
|
|
1369
|
+
Pick<
|
|
1370
|
+
GridProps$1,
|
|
1371
|
+
| 'gridColumn'
|
|
1372
|
+
| 'gridRow'
|
|
1373
|
+
| 'gridRowStart'
|
|
1374
|
+
| 'gridRowEnd'
|
|
1375
|
+
| 'gridColumnStart'
|
|
1376
|
+
| 'gridColumnEnd'
|
|
1377
|
+
| 'gridArea'
|
|
1378
|
+
>,
|
|
1379
|
+
'__brand__'
|
|
1380
|
+
>
|
|
1345
1381
|
>;
|
|
1346
1382
|
|
|
1347
1383
|
type FeedbackIconColors$1 = `feedback.icon.${DotNotationColorStringToken<
|
|
@@ -1426,7 +1462,7 @@ declare type ActionListItemProps = {
|
|
|
1426
1462
|
* @private
|
|
1427
1463
|
*/
|
|
1428
1464
|
_index?: number;
|
|
1429
|
-
} & TestID
|
|
1465
|
+
} & TestID;
|
|
1430
1466
|
declare const ActionListSectionDivider: () => JSX.Element;
|
|
1431
1467
|
declare type ActionListSectionProps = {
|
|
1432
1468
|
title: string;
|
|
@@ -1439,7 +1475,7 @@ declare type ActionListSectionProps = {
|
|
|
1439
1475
|
* @private
|
|
1440
1476
|
*/
|
|
1441
1477
|
_hideDivider?: boolean;
|
|
1442
|
-
} & TestID
|
|
1478
|
+
} & TestID;
|
|
1443
1479
|
declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) => JSX.Element;
|
|
1444
1480
|
declare const ActionListItemIcon: ({ icon }: {
|
|
1445
1481
|
icon: IconComponent$1;
|
|
@@ -1457,7 +1493,7 @@ declare type ActionListHeaderProps = {
|
|
|
1457
1493
|
* Valid children - `ActionListHeaderIcon`
|
|
1458
1494
|
*/
|
|
1459
1495
|
leading?: React__default.ReactNode;
|
|
1460
|
-
} & TestID
|
|
1496
|
+
} & TestID;
|
|
1461
1497
|
declare const ActionListHeader: (props: ActionListHeaderProps) => JSX.Element;
|
|
1462
1498
|
declare const ActionListHeaderIcon: ({ icon }: {
|
|
1463
1499
|
icon: IconComponent$1;
|
|
@@ -1477,7 +1513,7 @@ declare type ActionListFooterProps = {
|
|
|
1477
1513
|
* Anything can be passed here but maybe don't? Should ideally have Button or Tick Icon Buttons.
|
|
1478
1514
|
*/
|
|
1479
1515
|
trailing?: React__default.ReactNode;
|
|
1480
|
-
} & TestID
|
|
1516
|
+
} & TestID;
|
|
1481
1517
|
declare const ActionListFooter: (props: ActionListFooterProps) => JSX.Element;
|
|
1482
1518
|
declare const ActionListFooterIcon: ({ icon }: {
|
|
1483
1519
|
icon: IconComponent$1;
|
|
@@ -1567,7 +1603,7 @@ declare type AlertProps = {
|
|
|
1567
1603
|
*/
|
|
1568
1604
|
secondary?: SecondaryAction;
|
|
1569
1605
|
};
|
|
1570
|
-
} & TestID
|
|
1606
|
+
} & TestID & StyledPropsBlade;
|
|
1571
1607
|
declare const Alert: ({ description, title, isDismissible, onDismiss, contrast, isFullWidth, intent, actions, testID, ...styledProps }: AlertProps) => ReactElement | null;
|
|
1572
1608
|
|
|
1573
1609
|
declare type BadgeProps = {
|
|
@@ -1606,7 +1642,7 @@ declare type BadgeProps = {
|
|
|
1606
1642
|
* @default 'regular'
|
|
1607
1643
|
*/
|
|
1608
1644
|
fontWeight?: 'regular' | 'bold';
|
|
1609
|
-
} & TestID
|
|
1645
|
+
} & TestID & StyledPropsBlade;
|
|
1610
1646
|
declare const Badge: ({ children, contrast, fontWeight, icon, size, variant, testID, ...styledProps }: BadgeProps) => ReactElement;
|
|
1611
1647
|
|
|
1612
1648
|
declare type BladeProviderProps = {
|
|
@@ -1664,7 +1700,7 @@ declare type Theme = {
|
|
|
1664
1700
|
* ```
|
|
1665
1701
|
*
|
|
1666
1702
|
*/
|
|
1667
|
-
declare type MakeValueResponsive<T> = T | {
|
|
1703
|
+
declare type MakeValueResponsive<T> = [T] extends [never] ? never : T | {
|
|
1668
1704
|
[P in keyof Breakpoints]?: T;
|
|
1669
1705
|
};
|
|
1670
1706
|
/**
|
|
@@ -2124,12 +2160,6 @@ declare type MarginProps = MakeObjectResponsive<{
|
|
|
2124
2160
|
marginLeft: SpacingValueType;
|
|
2125
2161
|
}>;
|
|
2126
2162
|
|
|
2127
|
-
declare type MakeObjectWebOnly<T> = {
|
|
2128
|
-
[P in keyof T]: Platform.Select<{
|
|
2129
|
-
web: T[P];
|
|
2130
|
-
native: never;
|
|
2131
|
-
}>;
|
|
2132
|
-
};
|
|
2133
2163
|
declare type LayoutProps = MakeObjectResponsive<{
|
|
2134
2164
|
height: SpacingValueType;
|
|
2135
2165
|
minHeight: SpacingValueType;
|
|
@@ -2137,29 +2167,7 @@ declare type LayoutProps = MakeObjectResponsive<{
|
|
|
2137
2167
|
width: SpacingValueType;
|
|
2138
2168
|
minWidth: SpacingValueType;
|
|
2139
2169
|
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
|
-
}>>;
|
|
2170
|
+
} & PickCSSByPlatform$1<'display' | 'overflow' | 'overflowX' | 'overflowY'>>;
|
|
2163
2171
|
declare type FlexboxProps = MakeObjectResponsive<{
|
|
2164
2172
|
/**
|
|
2165
2173
|
* This uses the native gap property which might not work on older browsers.
|
|
@@ -2182,14 +2190,20 @@ declare type FlexboxProps = MakeObjectResponsive<{
|
|
|
2182
2190
|
* @see https://caniuse.com/?search=column-gap
|
|
2183
2191
|
*/
|
|
2184
2192
|
columnGap: SpacingValueType;
|
|
2185
|
-
|
|
2193
|
+
/**
|
|
2194
|
+
* The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
|
|
2195
|
+
*
|
|
2196
|
+
* @see https://developer.mozilla.org/docs/Web/CSS/flex
|
|
2197
|
+
*/
|
|
2198
|
+
flex: string | number;
|
|
2199
|
+
} & PickCSSByPlatform$1<'flexWrap' | 'flexDirection' | 'flexGrow' | 'flexShrink' | 'flexBasis' | 'alignItems' | 'alignContent' | 'alignSelf' | 'justifyItems' | 'justifyContent' | 'justifySelf' | 'placeSelf' | 'order'>>;
|
|
2186
2200
|
declare type PositionProps = MakeObjectResponsive<{
|
|
2187
2201
|
top: SpacingValueType;
|
|
2188
2202
|
right: SpacingValueType;
|
|
2189
2203
|
bottom: SpacingValueType;
|
|
2190
2204
|
left: SpacingValueType;
|
|
2191
|
-
} &
|
|
2192
|
-
declare type GridProps =
|
|
2205
|
+
} & PickCSSByPlatform$1<'position' | 'zIndex'>>;
|
|
2206
|
+
declare type GridProps = MakeObjectResponsive<PickCSSByPlatform$1<'grid' | 'gridColumn' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'gridColumnStart' | 'gridColumnEnd' | 'gridArea' | 'gridAutoFlow' | 'gridAutoRows' | 'gridAutoColumns' | 'gridTemplate' | 'gridTemplateAreas' | 'gridTemplateColumns' | 'gridTemplateRows'>>;
|
|
2193
2207
|
declare type ColorObjects = 'feedback' | 'surface' | 'action';
|
|
2194
2208
|
declare type BackgroundColorString<T extends ColorObjects> = `${T}.background.${DotNotationColorStringToken<Theme$1['colors'][T]['background']>}`;
|
|
2195
2209
|
declare const validBoxAsValues: readonly ["div", "section", "footer", "header", "main", "aside", "nav", "span"];
|
|
@@ -2201,7 +2215,7 @@ declare type BoxVisualProps = MakeObjectResponsive<{
|
|
|
2201
2215
|
};
|
|
2202
2216
|
declare type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps & PositionProps & GridProps & BoxVisualProps & {
|
|
2203
2217
|
children?: React.ReactNode | React.ReactNode[];
|
|
2204
|
-
} & TestID
|
|
2218
|
+
} & TestID>;
|
|
2205
2219
|
|
|
2206
2220
|
/**
|
|
2207
2221
|
* ## Box
|
|
@@ -2275,11 +2289,11 @@ declare type CardProps = {
|
|
|
2275
2289
|
* - Figma: https://shorturl.at/fsvwK
|
|
2276
2290
|
*/
|
|
2277
2291
|
surfaceLevel?: 2 | 3;
|
|
2278
|
-
} & TestID
|
|
2292
|
+
} & TestID & StyledPropsBlade;
|
|
2279
2293
|
declare const Card: ({ children, surfaceLevel, testID, ...styledProps }: CardProps) => React__default.ReactElement;
|
|
2280
2294
|
declare type CardBodyProps = {
|
|
2281
2295
|
children: React__default.ReactNode;
|
|
2282
|
-
} & TestID
|
|
2296
|
+
} & TestID;
|
|
2283
2297
|
declare const CardBody: ({ children, testID }: CardBodyProps) => React__default.ReactElement;
|
|
2284
2298
|
|
|
2285
2299
|
declare type LinkCommonProps = {
|
|
@@ -2297,7 +2311,7 @@ declare type LinkCommonProps = {
|
|
|
2297
2311
|
* @default medium
|
|
2298
2312
|
*/
|
|
2299
2313
|
size?: 'small' | 'medium' | 'large';
|
|
2300
|
-
} & TestID
|
|
2314
|
+
} & TestID & StyledPropsBlade & Platform.Select<{
|
|
2301
2315
|
native: {
|
|
2302
2316
|
/**
|
|
2303
2317
|
* Defines how far your touch can start away from the link
|
|
@@ -2365,7 +2379,7 @@ declare type ButtonCommonProps = {
|
|
|
2365
2379
|
native: (event: GestureResponderEvent) => void;
|
|
2366
2380
|
web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
2367
2381
|
}>;
|
|
2368
|
-
} & TestID
|
|
2382
|
+
} & TestID & StyledPropsBlade;
|
|
2369
2383
|
declare type ButtonWithoutIconProps = ButtonCommonProps & {
|
|
2370
2384
|
icon?: undefined;
|
|
2371
2385
|
children: StringChildrenType;
|
|
@@ -2415,7 +2429,7 @@ type BaseTextProps$1 = {
|
|
|
2415
2429
|
*/
|
|
2416
2430
|
numberOfLines?: number;
|
|
2417
2431
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
2418
|
-
} & TestID
|
|
2432
|
+
} & TestID &
|
|
2419
2433
|
StyledPropsBlade;
|
|
2420
2434
|
|
|
2421
2435
|
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
|
|
@@ -2432,7 +2446,7 @@ type TextCommonProps$1 = {
|
|
|
2432
2446
|
*/
|
|
2433
2447
|
color?: BaseTextProps$1['color'];
|
|
2434
2448
|
textAlign?: BaseTextProps$1['textAlign'];
|
|
2435
|
-
} & TestID
|
|
2449
|
+
} & TestID &
|
|
2436
2450
|
StyledPropsBlade;
|
|
2437
2451
|
|
|
2438
2452
|
type TextVariant$1 = 'body' | 'caption';
|
|
@@ -2489,7 +2503,7 @@ type CounterProps$1 = {
|
|
|
2489
2503
|
* @default 'medium'
|
|
2490
2504
|
*/
|
|
2491
2505
|
size?: 'small' | 'medium' | 'large';
|
|
2492
|
-
} & TestID
|
|
2506
|
+
} & TestID &
|
|
2493
2507
|
StyledPropsBlade;
|
|
2494
2508
|
|
|
2495
2509
|
declare const CardHeaderIcon: ({ icon }: {
|
|
@@ -2507,7 +2521,7 @@ declare type CardHeaderIconButtonProps = Omit<ButtonProps, 'variant' | 'size' |
|
|
|
2507
2521
|
declare const CardHeaderIconButton: (props: CardHeaderIconButtonProps) => React__default.ReactElement;
|
|
2508
2522
|
declare type CardHeaderProps = {
|
|
2509
2523
|
children?: React__default.ReactNode;
|
|
2510
|
-
} & TestID
|
|
2524
|
+
} & TestID;
|
|
2511
2525
|
declare const CardHeader: ({ children, testID }: CardHeaderProps) => React__default.ReactElement;
|
|
2512
2526
|
declare type CardHeaderLeadingProps = {
|
|
2513
2527
|
title: string;
|
|
@@ -2541,7 +2555,7 @@ declare type CardFooterAction = Pick<ButtonProps, 'type' | 'accessibilityLabel'
|
|
|
2541
2555
|
};
|
|
2542
2556
|
declare type CardFooterProps = {
|
|
2543
2557
|
children?: React__default.ReactNode;
|
|
2544
|
-
} & TestID
|
|
2558
|
+
} & TestID;
|
|
2545
2559
|
declare const CardFooter: ({ children, testID }: CardFooterProps) => React__default.ReactElement;
|
|
2546
2560
|
declare type CardFooterLeadingProps = {
|
|
2547
2561
|
title?: string;
|
|
@@ -2613,7 +2627,7 @@ declare type CounterProps = {
|
|
|
2613
2627
|
* @default 'medium'
|
|
2614
2628
|
*/
|
|
2615
2629
|
size?: 'small' | 'medium' | 'large';
|
|
2616
|
-
} & TestID
|
|
2630
|
+
} & TestID & StyledPropsBlade;
|
|
2617
2631
|
declare const Counter: ({ value, max, intent, contrast, size, testID, ...styledProps }: CounterProps) => React.ReactElement;
|
|
2618
2632
|
|
|
2619
2633
|
declare type OnChange = ({ isChecked, event, value, }: {
|
|
@@ -2699,7 +2713,7 @@ declare type CheckboxProps = {
|
|
|
2699
2713
|
*
|
|
2700
2714
|
*/
|
|
2701
2715
|
tabIndex?: number;
|
|
2702
|
-
} & TestID
|
|
2716
|
+
} & TestID & StyledPropsBlade;
|
|
2703
2717
|
declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
2704
2718
|
/**
|
|
2705
2719
|
* If `true`, The checkbox will be checked. This also makes the checkbox controlled
|
|
@@ -2778,7 +2792,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2778
2792
|
*
|
|
2779
2793
|
*/
|
|
2780
2794
|
tabIndex?: number | undefined;
|
|
2781
|
-
} & TestID
|
|
2795
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
2782
2796
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
2783
2797
|
marginX: SpacingValueType;
|
|
2784
2798
|
marginY: SpacingValueType;
|
|
@@ -2790,28 +2804,17 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2790
2804
|
gap: SpacingValueType;
|
|
2791
2805
|
rowGap: SpacingValueType;
|
|
2792
2806
|
columnGap: SpacingValueType;
|
|
2793
|
-
|
|
2807
|
+
flex: string | number;
|
|
2808
|
+
} & PickIfExist$1<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
2809
|
+
__brand__?: "platform-native" | undefined;
|
|
2810
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
2794
2811
|
top: SpacingValueType;
|
|
2795
2812
|
right: SpacingValueType;
|
|
2796
2813
|
bottom: SpacingValueType;
|
|
2797
2814
|
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>>;
|
|
2815
|
+
} & PickIfExist$1<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
2816
|
+
__brand__?: "platform-native" | undefined;
|
|
2817
|
+
}> & 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
2818
|
|
|
2816
2819
|
declare type CheckboxGroupProps = {
|
|
2817
2820
|
/**
|
|
@@ -2886,7 +2889,7 @@ declare type CheckboxGroupProps = {
|
|
|
2886
2889
|
* @default "medium"
|
|
2887
2890
|
*/
|
|
2888
2891
|
size?: 'small' | 'medium';
|
|
2889
|
-
} & TestID
|
|
2892
|
+
} & TestID & StyledPropsBlade;
|
|
2890
2893
|
declare const CheckboxGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: CheckboxGroupProps) => React__default.ReactElement;
|
|
2891
2894
|
|
|
2892
2895
|
declare type DropdownProps = {
|
|
@@ -2897,7 +2900,7 @@ declare const Dropdown: ({ children, selectionType, ...styledProps }: DropdownPr
|
|
|
2897
2900
|
|
|
2898
2901
|
declare type DropdownOverlayProps = {
|
|
2899
2902
|
children: React__default.ReactNode;
|
|
2900
|
-
} & TestID
|
|
2903
|
+
} & TestID;
|
|
2901
2904
|
|
|
2902
2905
|
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
|
|
2903
2906
|
|
|
@@ -3459,6 +3462,36 @@ declare type IconProps = {
|
|
|
3459
3462
|
} & StyledPropsBlade;
|
|
3460
3463
|
declare type IconComponent = React.ComponentType<IconProps>;
|
|
3461
3464
|
|
|
3465
|
+
/**
|
|
3466
|
+
* Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
|
|
3467
|
+
*
|
|
3468
|
+
* 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.
|
|
3469
|
+
*
|
|
3470
|
+
* E.g. This will pick from ViewStyle prop if value exists else returns undefined.
|
|
3471
|
+
*
|
|
3472
|
+
* ```ts
|
|
3473
|
+
* // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
|
|
3474
|
+
* native: PickIfExist<ViewStyle, T>;
|
|
3475
|
+
* ```
|
|
3476
|
+
*/
|
|
3477
|
+
declare type PickIfExist<T, K extends keyof T> = {
|
|
3478
|
+
[P in K]: P extends keyof T ? T[P] : never;
|
|
3479
|
+
};
|
|
3480
|
+
/**
|
|
3481
|
+
* Picks the types based on the platform (web / native).
|
|
3482
|
+
*
|
|
3483
|
+
* E.g.
|
|
3484
|
+
* ```ts
|
|
3485
|
+
* type CSSObject = PickCSSByPlatform<'display'>
|
|
3486
|
+
* // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
|
|
3487
|
+
* // On Native --> This will be just `flex` and `none`
|
|
3488
|
+
* ```
|
|
3489
|
+
*/
|
|
3490
|
+
declare type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
|
|
3491
|
+
web: PickIfExist<CSSObject, T>;
|
|
3492
|
+
native: PickIfExist<ViewStyle, T>;
|
|
3493
|
+
}>;
|
|
3494
|
+
|
|
3462
3495
|
declare type FormInputLabelProps = {
|
|
3463
3496
|
/**
|
|
3464
3497
|
* Label to be shown for the input field
|
|
@@ -3710,7 +3743,7 @@ declare type BaseInputProps = FormInputLabelProps & FormInputValidationProps & {
|
|
|
3710
3743
|
* sets the autocapitalize behavior for the input
|
|
3711
3744
|
*/
|
|
3712
3745
|
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
3713
|
-
} & TestID
|
|
3746
|
+
} & TestID & Platform.Select<{
|
|
3714
3747
|
native: {
|
|
3715
3748
|
/**
|
|
3716
3749
|
* The callback function to be invoked when the value of the input field is submitted.
|
|
@@ -3746,6 +3779,14 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
|
|
|
3746
3779
|
/**
|
|
3747
3780
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3748
3781
|
*
|
|
3782
|
+
*
|
|
3783
|
+
* **Note on number type**
|
|
3784
|
+
*
|
|
3785
|
+
* `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
|
|
3786
|
+
* If you have a usecase where you only want to support number input, you can handle it on validations end.
|
|
3787
|
+
*
|
|
3788
|
+
* 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
|
|
3789
|
+
*
|
|
3749
3790
|
* @default text
|
|
3750
3791
|
*/
|
|
3751
3792
|
type?: Type;
|
|
@@ -3770,10 +3811,18 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3770
3811
|
/**
|
|
3771
3812
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3772
3813
|
*
|
|
3814
|
+
*
|
|
3815
|
+
* **Note on number type**
|
|
3816
|
+
*
|
|
3817
|
+
* `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
|
|
3818
|
+
* If you have a usecase where you only want to support number input, you can handle it on validations end.
|
|
3819
|
+
*
|
|
3820
|
+
* 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
|
|
3821
|
+
*
|
|
3773
3822
|
* @default text
|
|
3774
3823
|
*/
|
|
3775
3824
|
type?: Type;
|
|
3776
|
-
} & Partial<MakeObjectResponsive<{
|
|
3825
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3777
3826
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3778
3827
|
marginX: SpacingValueType;
|
|
3779
3828
|
marginY: SpacingValueType;
|
|
@@ -3785,28 +3834,19 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3785
3834
|
gap: SpacingValueType;
|
|
3786
3835
|
rowGap: SpacingValueType;
|
|
3787
3836
|
columnGap: SpacingValueType;
|
|
3788
|
-
|
|
3837
|
+
flex: string | number; /**
|
|
3838
|
+
* Decides whether to show a loading spinner for the input field.
|
|
3839
|
+
*/
|
|
3840
|
+
} & PickIfExist<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3841
|
+
__brand__?: "platform-native" | undefined;
|
|
3842
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3789
3843
|
top: SpacingValueType;
|
|
3790
3844
|
right: SpacingValueType;
|
|
3791
3845
|
bottom: SpacingValueType;
|
|
3792
3846
|
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>>;
|
|
3847
|
+
} & PickIfExist<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
3848
|
+
__brand__?: "platform-native" | undefined;
|
|
3849
|
+
}> & 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
3850
|
|
|
3811
3851
|
declare type PasswordInputExtraProps = {
|
|
3812
3852
|
/**
|
|
@@ -3839,7 +3879,7 @@ declare type PasswordInputExtraProps = {
|
|
|
3839
3879
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
3840
3880
|
};
|
|
3841
3881
|
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<{
|
|
3882
|
+
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
3883
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3844
3884
|
marginX: SpacingValueType;
|
|
3845
3885
|
marginY: SpacingValueType;
|
|
@@ -3851,28 +3891,17 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
3851
3891
|
gap: SpacingValueType;
|
|
3852
3892
|
rowGap: SpacingValueType;
|
|
3853
3893
|
columnGap: SpacingValueType;
|
|
3854
|
-
|
|
3894
|
+
flex: string | number;
|
|
3895
|
+
} & PickIfExist<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3896
|
+
__brand__?: "platform-native" | undefined;
|
|
3897
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3855
3898
|
top: SpacingValueType;
|
|
3856
3899
|
right: SpacingValueType;
|
|
3857
3900
|
bottom: SpacingValueType;
|
|
3858
3901
|
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>>;
|
|
3902
|
+
} & PickIfExist<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
3903
|
+
__brand__?: "platform-native" | undefined;
|
|
3904
|
+
}> & 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
3905
|
|
|
3877
3906
|
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
3907
|
/**
|
|
@@ -3893,7 +3922,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
3893
3922
|
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
3894
3923
|
*/
|
|
3895
3924
|
onClearButtonClick?: (() => void) | undefined;
|
|
3896
|
-
} & Partial<MakeObjectResponsive<{
|
|
3925
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3897
3926
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3898
3927
|
marginX: SpacingValueType;
|
|
3899
3928
|
marginY: SpacingValueType;
|
|
@@ -3905,28 +3934,17 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
3905
3934
|
gap: SpacingValueType;
|
|
3906
3935
|
rowGap: SpacingValueType;
|
|
3907
3936
|
columnGap: SpacingValueType;
|
|
3908
|
-
|
|
3937
|
+
flex: string | number;
|
|
3938
|
+
} & PickIfExist<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3939
|
+
__brand__?: "platform-native" | undefined;
|
|
3940
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3909
3941
|
top: SpacingValueType;
|
|
3910
3942
|
right: SpacingValueType;
|
|
3911
3943
|
bottom: SpacingValueType;
|
|
3912
3944
|
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>>;
|
|
3945
|
+
} & PickIfExist<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
3946
|
+
__brand__?: "platform-native" | undefined;
|
|
3947
|
+
}> & 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
3948
|
|
|
3931
3949
|
declare type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
3932
3950
|
name?: string;
|
|
@@ -4041,7 +4059,7 @@ declare type IndicatorCommonProps = {
|
|
|
4041
4059
|
* @default medium
|
|
4042
4060
|
*/
|
|
4043
4061
|
size?: 'small' | 'medium' | 'large';
|
|
4044
|
-
} & TestID
|
|
4062
|
+
} & TestID & StyledPropsBlade;
|
|
4045
4063
|
declare type IndicatorWithoutA11yLabel = {
|
|
4046
4064
|
/**
|
|
4047
4065
|
* A text label to show alongside the indicator dot
|
|
@@ -4081,7 +4099,7 @@ declare type ListItemProps = {
|
|
|
4081
4099
|
*
|
|
4082
4100
|
*/
|
|
4083
4101
|
_itemNumber?: undefined;
|
|
4084
|
-
} & TestID
|
|
4102
|
+
} & TestID;
|
|
4085
4103
|
declare const ListItem: ({ children, icon, _itemNumber, testID, }: ListItemProps) => React__default.ReactElement;
|
|
4086
4104
|
|
|
4087
4105
|
declare type ListCommonProps = {
|
|
@@ -4102,7 +4120,7 @@ declare type ListCommonProps = {
|
|
|
4102
4120
|
* @default 'medium'
|
|
4103
4121
|
*/
|
|
4104
4122
|
size?: 'small' | 'medium';
|
|
4105
|
-
} & TestID
|
|
4123
|
+
} & TestID & StyledPropsBlade;
|
|
4106
4124
|
declare type ListWithIconProps = ListCommonProps & {
|
|
4107
4125
|
variant?: 'unordered';
|
|
4108
4126
|
icon?: IconComponent;
|
|
@@ -4122,7 +4140,7 @@ declare type TitleProps = {
|
|
|
4122
4140
|
contrast?: ColorContrastTypes;
|
|
4123
4141
|
type?: TextTypes;
|
|
4124
4142
|
children: StringChildrenType;
|
|
4125
|
-
} & TestID
|
|
4143
|
+
} & TestID & StyledPropsBlade;
|
|
4126
4144
|
declare const Title: ({ size, type, contrast, children, testID, ...styledProps }: TitleProps) => ReactElement;
|
|
4127
4145
|
|
|
4128
4146
|
declare type HeadingVariant = 'regular' | 'subheading';
|
|
@@ -4131,7 +4149,7 @@ declare type HeadingCommonProps = {
|
|
|
4131
4149
|
type?: TextTypes;
|
|
4132
4150
|
contrast?: ColorContrastTypes;
|
|
4133
4151
|
children: StringChildrenType;
|
|
4134
|
-
} & TestID
|
|
4152
|
+
} & TestID & StyledPropsBlade;
|
|
4135
4153
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|
|
4136
4154
|
variant?: Exclude<HeadingVariant, 'subheading'>;
|
|
4137
4155
|
/**
|
|
@@ -4189,7 +4207,7 @@ declare type BaseTextProps = {
|
|
|
4189
4207
|
*/
|
|
4190
4208
|
numberOfLines?: number;
|
|
4191
4209
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
4192
|
-
} & TestID
|
|
4210
|
+
} & TestID & StyledPropsBlade;
|
|
4193
4211
|
|
|
4194
4212
|
declare type TextCommonProps = {
|
|
4195
4213
|
type?: TextTypes;
|
|
@@ -4202,7 +4220,7 @@ declare type TextCommonProps = {
|
|
|
4202
4220
|
*/
|
|
4203
4221
|
color?: BaseTextProps['color'];
|
|
4204
4222
|
textAlign?: BaseTextProps['textAlign'];
|
|
4205
|
-
} & TestID
|
|
4223
|
+
} & TestID & StyledPropsBlade;
|
|
4206
4224
|
declare type TextVariant = 'body' | 'caption';
|
|
4207
4225
|
declare type TextBodyVariant = TextCommonProps & {
|
|
4208
4226
|
variant?: Extract<TextVariant, 'body'>;
|
|
@@ -4242,7 +4260,7 @@ declare type CodeProps = {
|
|
|
4242
4260
|
*/
|
|
4243
4261
|
size?: 'small' | 'medium';
|
|
4244
4262
|
weight?: 'regular' | 'bold';
|
|
4245
|
-
} & TestID
|
|
4263
|
+
} & TestID & StyledPropsBlade;
|
|
4246
4264
|
/**
|
|
4247
4265
|
* Code component can be used for displaying token, variable names, or inlined code snippets.
|
|
4248
4266
|
*
|
|
@@ -4318,7 +4336,7 @@ declare type ProgressBarCommonProps = {
|
|
|
4318
4336
|
* @default 100
|
|
4319
4337
|
*/
|
|
4320
4338
|
max?: number;
|
|
4321
|
-
} & TestID
|
|
4339
|
+
} & TestID & StyledPropsBlade;
|
|
4322
4340
|
declare type ProgressBarVariant = 'progress' | 'meter';
|
|
4323
4341
|
declare type ProgressBarProgressProps = ProgressBarCommonProps & {
|
|
4324
4342
|
/**
|
|
@@ -4383,7 +4401,7 @@ declare type RadioProps = {
|
|
|
4383
4401
|
* @default "medium"
|
|
4384
4402
|
*/
|
|
4385
4403
|
size?: 'small' | 'medium';
|
|
4386
|
-
} & TestID
|
|
4404
|
+
} & TestID & StyledPropsBlade;
|
|
4387
4405
|
declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
4388
4406
|
/**
|
|
4389
4407
|
* Sets the label text of the Radio
|
|
@@ -4410,7 +4428,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4410
4428
|
* @default "medium"
|
|
4411
4429
|
*/
|
|
4412
4430
|
size?: "small" | "medium" | undefined;
|
|
4413
|
-
} & TestID
|
|
4431
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
4414
4432
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4415
4433
|
marginX: SpacingValueType;
|
|
4416
4434
|
marginY: SpacingValueType;
|
|
@@ -4422,28 +4440,17 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4422
4440
|
gap: SpacingValueType;
|
|
4423
4441
|
rowGap: SpacingValueType;
|
|
4424
4442
|
columnGap: SpacingValueType;
|
|
4425
|
-
|
|
4443
|
+
flex: string | number;
|
|
4444
|
+
} & PickIfExist$1<react_native.ViewStyle, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
4445
|
+
__brand__?: "platform-native" | undefined;
|
|
4446
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
4426
4447
|
top: SpacingValueType;
|
|
4427
4448
|
right: SpacingValueType;
|
|
4428
4449
|
bottom: SpacingValueType;
|
|
4429
4450
|
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>>;
|
|
4451
|
+
} & PickIfExist$1<react_native.ViewStyle, "position" | "zIndex"> & {
|
|
4452
|
+
__brand__?: "platform-native" | undefined;
|
|
4453
|
+
}> & 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
4454
|
|
|
4448
4455
|
declare type RadioGroupProps = {
|
|
4449
4456
|
/**
|
|
@@ -4518,7 +4525,7 @@ declare type RadioGroupProps = {
|
|
|
4518
4525
|
* @default "medium"
|
|
4519
4526
|
*/
|
|
4520
4527
|
size?: 'small' | 'medium';
|
|
4521
|
-
} & TestID
|
|
4528
|
+
} & TestID & StyledPropsBlade;
|
|
4522
4529
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
4523
4530
|
|
|
4524
4531
|
declare type BaseSpinnerProps = {
|
|
@@ -4551,7 +4558,7 @@ declare type BaseSpinnerProps = {
|
|
|
4551
4558
|
*
|
|
4552
4559
|
*/
|
|
4553
4560
|
accessibilityLabel: string;
|
|
4554
|
-
} & TestID
|
|
4561
|
+
} & TestID & StyledPropsBlade;
|
|
4555
4562
|
|
|
4556
4563
|
declare type SpinnerProps = Omit<BaseSpinnerProps, 'intent'>;
|
|
4557
4564
|
declare const Spinner: ({ label, labelPosition, accessibilityLabel, contrast, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
@@ -4565,7 +4572,7 @@ declare const SkipNavContent: (_props: SkipNavLinkProps) => never;
|
|
|
4565
4572
|
|
|
4566
4573
|
declare type VisuallyHiddenProps = {
|
|
4567
4574
|
children: React.ReactNode;
|
|
4568
|
-
} & TestID
|
|
4575
|
+
} & TestID;
|
|
4569
4576
|
|
|
4570
4577
|
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => JSX.Element;
|
|
4571
4578
|
|
|
@@ -4618,78 +4625,7 @@ declare type AmountProps = {
|
|
|
4618
4625
|
* @default 'INR'
|
|
4619
4626
|
* */
|
|
4620
4627
|
currency?: Currency;
|
|
4621
|
-
} & TestID
|
|
4628
|
+
} & TestID & StyledPropsBlade;
|
|
4622
4629
|
declare const Amount: ({ value, suffix, size, isAffixSubtle, intent, prefix, testID, currency, ...styledProps }: AmountProps) => ReactElement;
|
|
4623
4630
|
|
|
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 };
|
|
4631
|
+
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, useActionListContext, useTheme };
|