@razorpay/blade 7.0.1 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +18 -0
- package/build/components/index.d.ts +241 -596
- package/build/components/index.native.d.ts +231 -289
- package/build/components/index.native.js +4 -4
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +10 -6
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/build/tokens/index.native.js +1 -1
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.web.js +1 -1
- package/build/tokens/index.web.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,10 +1,9 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import * as React$1 from 'react';
|
|
3
3
|
import React__default, { ReactChild, ReactElement, ReactNode, SyntheticEvent, KeyboardEvent } from 'react';
|
|
4
|
+
import { AccessibilityRole, ViewStyle, View, GestureResponderEvent } from 'react-native';
|
|
4
5
|
import * as styled_components from 'styled-components';
|
|
5
6
|
import { CSSObject } from 'styled-components';
|
|
6
|
-
import { AccessibilityRole, View, GestureResponderEvent } from 'react-native';
|
|
7
|
-
import * as csstype from 'csstype';
|
|
8
7
|
|
|
9
8
|
type BorderRadius = Readonly<{
|
|
10
9
|
/** none: 0(px/rem/pt) */
|
|
@@ -778,31 +777,31 @@ type AriaAttributes = {
|
|
|
778
777
|
* Brands a type making them act as nominal
|
|
779
778
|
* @see https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d
|
|
780
779
|
*/
|
|
781
|
-
type Brand
|
|
780
|
+
type Brand<Type, Name extends string> = Type & { __brand__?: Name };
|
|
782
781
|
|
|
783
|
-
type NativeOrWebBrand
|
|
782
|
+
type NativeOrWebBrand = Brand<any, 'native' | 'web'>;
|
|
784
783
|
|
|
785
784
|
/* eslint-disable @typescript-eslint/no-namespace */
|
|
786
785
|
|
|
787
786
|
|
|
788
|
-
declare namespace Platform
|
|
787
|
+
declare namespace Platform {
|
|
789
788
|
export type Name = 'web';
|
|
790
789
|
/**
|
|
791
790
|
* Right now, the module resolution is set to resolve `.web` files,
|
|
792
791
|
*
|
|
793
792
|
* Thus Platform.Select<> type will return the `web` type
|
|
794
793
|
*/
|
|
795
|
-
export type Select<Options extends { web: unknown; native: unknown }> = Brand
|
|
794
|
+
export type Select<Options extends { web: unknown; native: unknown }> = Brand<
|
|
796
795
|
Options[Name],
|
|
797
796
|
'platform-web'
|
|
798
797
|
>;
|
|
799
798
|
|
|
800
|
-
export type CastNative<T extends NativeOrWebBrand
|
|
799
|
+
export type CastNative<T extends NativeOrWebBrand | undefined> = Extract<
|
|
801
800
|
T,
|
|
802
801
|
{ __brand__?: 'platform-native' | 'platform-all' }
|
|
803
802
|
>;
|
|
804
803
|
|
|
805
|
-
export type CastWeb<T extends NativeOrWebBrand
|
|
804
|
+
export type CastWeb<T extends NativeOrWebBrand | undefined> = Extract<
|
|
806
805
|
T,
|
|
807
806
|
{ __brand__?: 'platform-web' | 'platform-all' }
|
|
808
807
|
>;
|
|
@@ -841,7 +840,7 @@ type Delay = {
|
|
|
841
840
|
};
|
|
842
841
|
|
|
843
842
|
type EasingFunctionFactory = { factory: () => (value: number) => number }; // similar to EasingFunctionFactory of `react-native-reanimated`
|
|
844
|
-
type EasingType<Value extends string> = Platform
|
|
843
|
+
type EasingType<Value extends string> = Platform.Select<{
|
|
845
844
|
web: Value;
|
|
846
845
|
native: EasingFunctionFactory;
|
|
847
846
|
}>;
|
|
@@ -959,17 +958,49 @@ type StringChildrenType = React__default.ReactText | React__default.ReactText[];
|
|
|
959
958
|
*/
|
|
960
959
|
type StringWithAutocomplete = string & Record<never, never>;
|
|
961
960
|
|
|
962
|
-
type TestID
|
|
961
|
+
type TestID = {
|
|
963
962
|
testID?: string;
|
|
964
963
|
};
|
|
965
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
|
+
|
|
966
997
|
declare type ActionListProps = {
|
|
967
998
|
children: React__default.ReactNode[];
|
|
968
999
|
/**
|
|
969
1000
|
* Decides the backgroundColor of ActionList
|
|
970
1001
|
*/
|
|
971
1002
|
surfaceLevel?: 2 | 3;
|
|
972
|
-
} & TestID
|
|
1003
|
+
} & TestID;
|
|
973
1004
|
declare const ActionList: React__default.MemoExoticComponent<({ children, surfaceLevel, testID }: ActionListProps) => JSX.Element>;
|
|
974
1005
|
|
|
975
1006
|
type Theme$1 = {
|
|
@@ -1006,12 +1037,16 @@ type Theme$1 = {
|
|
|
1006
1037
|
* ```
|
|
1007
1038
|
*
|
|
1008
1039
|
*/
|
|
1009
|
-
type
|
|
1010
|
-
|
|
1011
|
-
|
|
1012
|
-
|
|
1013
|
-
|
|
1014
|
-
|
|
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
|
+
};
|
|
1015
1050
|
|
|
1016
1051
|
/**
|
|
1017
1052
|
* Turns all the values in object into responsive object.
|
|
@@ -1033,7 +1068,7 @@ type MakeValueResponsive$1<T> =
|
|
|
1033
1068
|
type MakeObjectResponsive$1<T> = { [P in keyof T]: MakeValueResponsive$1<T[P]> };
|
|
1034
1069
|
|
|
1035
1070
|
type ArrayOfMaxLength4$1<T> = readonly [T?, T?, T?, T?];
|
|
1036
|
-
type SpaceUnits$1 = Platform
|
|
1071
|
+
type SpaceUnits$1 = Platform.Select<{
|
|
1037
1072
|
web: 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
|
|
1038
1073
|
native: 'px' | '%';
|
|
1039
1074
|
}>;
|
|
@@ -1249,10 +1284,6 @@ type MarginProps$1 = MakeObjectResponsive$1<{
|
|
|
1249
1284
|
marginLeft: SpacingValueType$1;
|
|
1250
1285
|
}>;
|
|
1251
1286
|
|
|
1252
|
-
type MakeObjectWebOnly$1<T> = {
|
|
1253
|
-
[P in keyof T]: Platform$1.Select<{ web: T[P]; native: never }>;
|
|
1254
|
-
};
|
|
1255
|
-
|
|
1256
1287
|
type FlexboxProps$1 = MakeObjectResponsive$1<
|
|
1257
1288
|
{
|
|
1258
1289
|
/**
|
|
@@ -1276,9 +1307,13 @@ type FlexboxProps$1 = MakeObjectResponsive$1<
|
|
|
1276
1307
|
* @see https://caniuse.com/?search=column-gap
|
|
1277
1308
|
*/
|
|
1278
1309
|
columnGap: SpacingValueType$1;
|
|
1279
|
-
|
|
1280
|
-
|
|
1281
|
-
|
|
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<
|
|
1282
1317
|
| 'flexWrap'
|
|
1283
1318
|
| 'flexDirection'
|
|
1284
1319
|
| 'flexGrow'
|
|
@@ -1301,46 +1336,46 @@ type PositionProps$1 = MakeObjectResponsive$1<
|
|
|
1301
1336
|
right: SpacingValueType$1;
|
|
1302
1337
|
bottom: SpacingValueType$1;
|
|
1303
1338
|
left: SpacingValueType$1;
|
|
1304
|
-
} &
|
|
1339
|
+
} & PickCSSByPlatform$1<'position' | 'zIndex'>
|
|
1305
1340
|
>;
|
|
1306
1341
|
|
|
1307
|
-
type GridProps$1 =
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
| 'gridTemplateColumns'
|
|
1325
|
-
| 'gridTemplateRows'
|
|
1326
|
-
>
|
|
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'
|
|
1327
1359
|
>
|
|
1328
1360
|
>;
|
|
1329
1361
|
|
|
1330
1362
|
type StyledPropsBlade = Partial<
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
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
|
+
>
|
|
1344
1379
|
>;
|
|
1345
1380
|
|
|
1346
1381
|
type FeedbackIconColors$1 = `feedback.icon.${DotNotationColorStringToken<
|
|
@@ -1425,7 +1460,7 @@ declare type ActionListItemProps = {
|
|
|
1425
1460
|
* @private
|
|
1426
1461
|
*/
|
|
1427
1462
|
_index?: number;
|
|
1428
|
-
} & TestID
|
|
1463
|
+
} & TestID;
|
|
1429
1464
|
declare const ActionListSectionDivider: () => JSX.Element;
|
|
1430
1465
|
declare type ActionListSectionProps = {
|
|
1431
1466
|
title: string;
|
|
@@ -1438,7 +1473,7 @@ declare type ActionListSectionProps = {
|
|
|
1438
1473
|
* @private
|
|
1439
1474
|
*/
|
|
1440
1475
|
_hideDivider?: boolean;
|
|
1441
|
-
} & TestID
|
|
1476
|
+
} & TestID;
|
|
1442
1477
|
declare const ActionListSection: ({ title, children, testID, _hideDivider, }: ActionListSectionProps) => JSX.Element;
|
|
1443
1478
|
declare const ActionListItemIcon: ({ icon }: {
|
|
1444
1479
|
icon: IconComponent$1;
|
|
@@ -1456,7 +1491,7 @@ declare type ActionListHeaderProps = {
|
|
|
1456
1491
|
* Valid children - `ActionListHeaderIcon`
|
|
1457
1492
|
*/
|
|
1458
1493
|
leading?: React__default.ReactNode;
|
|
1459
|
-
} & TestID
|
|
1494
|
+
} & TestID;
|
|
1460
1495
|
declare const ActionListHeader: (props: ActionListHeaderProps) => JSX.Element;
|
|
1461
1496
|
declare const ActionListHeaderIcon: ({ icon }: {
|
|
1462
1497
|
icon: IconComponent$1;
|
|
@@ -1476,7 +1511,7 @@ declare type ActionListFooterProps = {
|
|
|
1476
1511
|
* Anything can be passed here but maybe don't? Should ideally have Button or Tick Icon Buttons.
|
|
1477
1512
|
*/
|
|
1478
1513
|
trailing?: React__default.ReactNode;
|
|
1479
|
-
} & TestID
|
|
1514
|
+
} & TestID;
|
|
1480
1515
|
declare const ActionListFooter: (props: ActionListFooterProps) => JSX.Element;
|
|
1481
1516
|
declare const ActionListFooterIcon: ({ icon }: {
|
|
1482
1517
|
icon: IconComponent$1;
|
|
@@ -1564,7 +1599,7 @@ declare type AlertProps = {
|
|
|
1564
1599
|
*/
|
|
1565
1600
|
secondary?: SecondaryAction;
|
|
1566
1601
|
};
|
|
1567
|
-
} & TestID
|
|
1602
|
+
} & TestID & StyledPropsBlade;
|
|
1568
1603
|
declare const Alert: ({ description, title, isDismissible, onDismiss, contrast, isFullWidth, intent, actions, testID, ...styledProps }: AlertProps) => ReactElement | null;
|
|
1569
1604
|
|
|
1570
1605
|
declare type BadgeProps = {
|
|
@@ -1603,7 +1638,7 @@ declare type BadgeProps = {
|
|
|
1603
1638
|
* @default 'regular'
|
|
1604
1639
|
*/
|
|
1605
1640
|
fontWeight?: 'regular' | 'bold';
|
|
1606
|
-
} & TestID
|
|
1641
|
+
} & TestID & StyledPropsBlade;
|
|
1607
1642
|
declare const Badge: ({ children, contrast, fontWeight, icon, size, variant, testID, ...styledProps }: BadgeProps) => ReactElement;
|
|
1608
1643
|
|
|
1609
1644
|
declare type BladeProviderProps = {
|
|
@@ -1661,7 +1696,7 @@ declare type Theme = {
|
|
|
1661
1696
|
* ```
|
|
1662
1697
|
*
|
|
1663
1698
|
*/
|
|
1664
|
-
declare type MakeValueResponsive<T> = T | {
|
|
1699
|
+
declare type MakeValueResponsive<T> = [T] extends [never] ? never : T | {
|
|
1665
1700
|
[P in keyof Breakpoints]?: T;
|
|
1666
1701
|
};
|
|
1667
1702
|
/**
|
|
@@ -1686,7 +1721,7 @@ declare type MakeObjectResponsive<T> = {
|
|
|
1686
1721
|
};
|
|
1687
1722
|
|
|
1688
1723
|
declare type ArrayOfMaxLength4<T> = readonly [T?, T?, T?, T?];
|
|
1689
|
-
declare type SpaceUnits = Platform
|
|
1724
|
+
declare type SpaceUnits = Platform.Select<{
|
|
1690
1725
|
web: 'px' | '%' | 'fr' | 'rem' | 'em' | 'vh' | 'vw';
|
|
1691
1726
|
native: 'px' | '%';
|
|
1692
1727
|
}>;
|
|
@@ -2121,12 +2156,6 @@ declare type MarginProps = MakeObjectResponsive<{
|
|
|
2121
2156
|
marginLeft: SpacingValueType;
|
|
2122
2157
|
}>;
|
|
2123
2158
|
|
|
2124
|
-
declare type MakeObjectWebOnly<T> = {
|
|
2125
|
-
[P in keyof T]: Platform$1.Select<{
|
|
2126
|
-
web: T[P];
|
|
2127
|
-
native: never;
|
|
2128
|
-
}>;
|
|
2129
|
-
};
|
|
2130
2159
|
declare type LayoutProps = MakeObjectResponsive<{
|
|
2131
2160
|
height: SpacingValueType;
|
|
2132
2161
|
minHeight: SpacingValueType;
|
|
@@ -2134,29 +2163,7 @@ declare type LayoutProps = MakeObjectResponsive<{
|
|
|
2134
2163
|
width: SpacingValueType;
|
|
2135
2164
|
minWidth: SpacingValueType;
|
|
2136
2165
|
maxWidth: SpacingValueType;
|
|
2137
|
-
} &
|
|
2138
|
-
web: {
|
|
2139
|
-
/**
|
|
2140
|
-
*
|
|
2141
|
-
* 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.
|
|
2142
|
-
*
|
|
2143
|
-
* @see https://developer.mozilla.org/docs/Web/CSS/display
|
|
2144
|
-
*/
|
|
2145
|
-
display: CSSObject['display'];
|
|
2146
|
-
};
|
|
2147
|
-
native: {
|
|
2148
|
-
/**
|
|
2149
|
-
*
|
|
2150
|
-
*
|
|
2151
|
-
* On React Native, **`display`** property sets whether an element can be `flex` or `none`
|
|
2152
|
-
*
|
|
2153
|
-
* @see https://reactnative.dev/docs/layout-props.html#display
|
|
2154
|
-
*
|
|
2155
|
-
* @default 'flex'
|
|
2156
|
-
*/
|
|
2157
|
-
display: 'none' | 'flex';
|
|
2158
|
-
};
|
|
2159
|
-
}>>;
|
|
2166
|
+
} & PickCSSByPlatform$1<'display' | 'overflow' | 'overflowX' | 'overflowY'>>;
|
|
2160
2167
|
declare type FlexboxProps = MakeObjectResponsive<{
|
|
2161
2168
|
/**
|
|
2162
2169
|
* This uses the native gap property which might not work on older browsers.
|
|
@@ -2179,14 +2186,20 @@ declare type FlexboxProps = MakeObjectResponsive<{
|
|
|
2179
2186
|
* @see https://caniuse.com/?search=column-gap
|
|
2180
2187
|
*/
|
|
2181
2188
|
columnGap: SpacingValueType;
|
|
2182
|
-
|
|
2189
|
+
/**
|
|
2190
|
+
* The **`flex`** CSS shorthand property sets how a flex _item_ will grow or shrink to fit the space available in its flex container.
|
|
2191
|
+
*
|
|
2192
|
+
* @see https://developer.mozilla.org/docs/Web/CSS/flex
|
|
2193
|
+
*/
|
|
2194
|
+
flex: string | number;
|
|
2195
|
+
} & PickCSSByPlatform$1<'flexWrap' | 'flexDirection' | 'flexGrow' | 'flexShrink' | 'flexBasis' | 'alignItems' | 'alignContent' | 'alignSelf' | 'justifyItems' | 'justifyContent' | 'justifySelf' | 'placeSelf' | 'order'>>;
|
|
2183
2196
|
declare type PositionProps = MakeObjectResponsive<{
|
|
2184
2197
|
top: SpacingValueType;
|
|
2185
2198
|
right: SpacingValueType;
|
|
2186
2199
|
bottom: SpacingValueType;
|
|
2187
2200
|
left: SpacingValueType;
|
|
2188
|
-
} &
|
|
2189
|
-
declare type GridProps =
|
|
2201
|
+
} & PickCSSByPlatform$1<'position' | 'zIndex'>>;
|
|
2202
|
+
declare type GridProps = MakeObjectResponsive<PickCSSByPlatform$1<'grid' | 'gridColumn' | 'gridRow' | 'gridRowStart' | 'gridRowEnd' | 'gridColumnStart' | 'gridColumnEnd' | 'gridArea' | 'gridAutoFlow' | 'gridAutoRows' | 'gridAutoColumns' | 'gridTemplate' | 'gridTemplateAreas' | 'gridTemplateColumns' | 'gridTemplateRows'>>;
|
|
2190
2203
|
declare type ColorObjects = 'feedback' | 'surface' | 'action';
|
|
2191
2204
|
declare type BackgroundColorString<T extends ColorObjects> = `${T}.background.${DotNotationColorStringToken<Theme$1['colors'][T]['background']>}`;
|
|
2192
2205
|
declare const validBoxAsValues: readonly ["div", "section", "footer", "header", "main", "aside", "nav", "span"];
|
|
@@ -2198,7 +2211,7 @@ declare type BoxVisualProps = MakeObjectResponsive<{
|
|
|
2198
2211
|
};
|
|
2199
2212
|
declare type BoxProps = Partial<PaddingProps & MarginProps & LayoutProps & FlexboxProps & PositionProps & GridProps & BoxVisualProps & {
|
|
2200
2213
|
children?: React.ReactNode | React.ReactNode[];
|
|
2201
|
-
} & TestID
|
|
2214
|
+
} & TestID>;
|
|
2202
2215
|
|
|
2203
2216
|
/**
|
|
2204
2217
|
* ## Box
|
|
@@ -2272,11 +2285,11 @@ declare type CardProps = {
|
|
|
2272
2285
|
* - Figma: https://shorturl.at/fsvwK
|
|
2273
2286
|
*/
|
|
2274
2287
|
surfaceLevel?: 2 | 3;
|
|
2275
|
-
} & TestID
|
|
2288
|
+
} & TestID & StyledPropsBlade;
|
|
2276
2289
|
declare const Card: ({ children, surfaceLevel, testID, ...styledProps }: CardProps) => React__default.ReactElement;
|
|
2277
2290
|
declare type CardBodyProps = {
|
|
2278
2291
|
children: React__default.ReactNode;
|
|
2279
|
-
} & TestID
|
|
2292
|
+
} & TestID;
|
|
2280
2293
|
declare const CardBody: ({ children, testID }: CardBodyProps) => React__default.ReactElement;
|
|
2281
2294
|
|
|
2282
2295
|
declare type LinkCommonProps = {
|
|
@@ -2294,7 +2307,7 @@ declare type LinkCommonProps = {
|
|
|
2294
2307
|
* @default medium
|
|
2295
2308
|
*/
|
|
2296
2309
|
size?: 'small' | 'medium' | 'large';
|
|
2297
|
-
} & TestID
|
|
2310
|
+
} & TestID & StyledPropsBlade & Platform.Select<{
|
|
2298
2311
|
native: {
|
|
2299
2312
|
/**
|
|
2300
2313
|
* Defines how far your touch can start away from the link
|
|
@@ -2305,12 +2318,20 @@ declare type LinkCommonProps = {
|
|
|
2305
2318
|
bottom?: number;
|
|
2306
2319
|
left?: number;
|
|
2307
2320
|
} | number;
|
|
2321
|
+
/**
|
|
2322
|
+
* This is a web only prop and has no effect on react-native.
|
|
2323
|
+
*/
|
|
2324
|
+
htmlTitle?: undefined;
|
|
2308
2325
|
};
|
|
2309
2326
|
web: {
|
|
2310
2327
|
/**
|
|
2311
2328
|
* This is a react-native only prop and has no effect on web.
|
|
2312
2329
|
*/
|
|
2313
2330
|
hitSlop?: undefined;
|
|
2331
|
+
/**
|
|
2332
|
+
* The title of the link which is displayed as a tooltip.
|
|
2333
|
+
*/
|
|
2334
|
+
htmlTitle?: string;
|
|
2314
2335
|
};
|
|
2315
2336
|
}>;
|
|
2316
2337
|
declare type LinkWithoutIconProps = LinkCommonProps & {
|
|
@@ -2337,7 +2358,7 @@ declare type LinkButtonVariantProps = LinkPropsWithOrWithoutIcon & {
|
|
|
2337
2358
|
rel?: undefined;
|
|
2338
2359
|
};
|
|
2339
2360
|
declare type LinkProps = LinkAnchorVariantProps | LinkButtonVariantProps;
|
|
2340
|
-
declare const Link: ({ children, icon, iconPosition, isDisabled, onClick, variant, href, target, rel, accessibilityLabel, size, testID, hitSlop, ...styledProps }: LinkProps) => ReactElement;
|
|
2361
|
+
declare const Link: ({ children, icon, iconPosition, isDisabled, onClick, variant, href, target, rel, accessibilityLabel, size, testID, hitSlop, htmlTitle, ...styledProps }: LinkProps) => ReactElement;
|
|
2341
2362
|
|
|
2342
2363
|
type BladeElementRef = Pick<HTMLElement, 'focus' | 'scrollIntoView'> | Pick<View, 'focus'>;
|
|
2343
2364
|
|
|
@@ -2350,11 +2371,11 @@ declare type ButtonCommonProps = {
|
|
|
2350
2371
|
isLoading?: boolean;
|
|
2351
2372
|
accessibilityLabel?: string;
|
|
2352
2373
|
type?: 'button' | 'reset' | 'submit';
|
|
2353
|
-
onClick?: Platform
|
|
2374
|
+
onClick?: Platform.Select<{
|
|
2354
2375
|
native: (event: GestureResponderEvent) => void;
|
|
2355
2376
|
web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
2356
2377
|
}>;
|
|
2357
|
-
} & TestID
|
|
2378
|
+
} & TestID & StyledPropsBlade;
|
|
2358
2379
|
declare type ButtonWithoutIconProps = ButtonCommonProps & {
|
|
2359
2380
|
icon?: undefined;
|
|
2360
2381
|
children: StringChildrenType;
|
|
@@ -2404,7 +2425,7 @@ type BaseTextProps$1 = {
|
|
|
2404
2425
|
*/
|
|
2405
2426
|
numberOfLines?: number;
|
|
2406
2427
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
2407
|
-
} & TestID
|
|
2428
|
+
} & TestID &
|
|
2408
2429
|
StyledPropsBlade;
|
|
2409
2430
|
|
|
2410
2431
|
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
|
|
@@ -2421,7 +2442,7 @@ type TextCommonProps$1 = {
|
|
|
2421
2442
|
*/
|
|
2422
2443
|
color?: BaseTextProps$1['color'];
|
|
2423
2444
|
textAlign?: BaseTextProps$1['textAlign'];
|
|
2424
|
-
} & TestID
|
|
2445
|
+
} & TestID &
|
|
2425
2446
|
StyledPropsBlade;
|
|
2426
2447
|
|
|
2427
2448
|
type TextVariant$1 = 'body' | 'caption';
|
|
@@ -2478,7 +2499,7 @@ type CounterProps$1 = {
|
|
|
2478
2499
|
* @default 'medium'
|
|
2479
2500
|
*/
|
|
2480
2501
|
size?: 'small' | 'medium' | 'large';
|
|
2481
|
-
} & TestID
|
|
2502
|
+
} & TestID &
|
|
2482
2503
|
StyledPropsBlade;
|
|
2483
2504
|
|
|
2484
2505
|
declare const CardHeaderIcon: ({ icon }: {
|
|
@@ -2496,7 +2517,7 @@ declare type CardHeaderIconButtonProps = Omit<ButtonProps, 'variant' | 'size' |
|
|
|
2496
2517
|
declare const CardHeaderIconButton: (props: CardHeaderIconButtonProps) => React__default.ReactElement;
|
|
2497
2518
|
declare type CardHeaderProps = {
|
|
2498
2519
|
children?: React__default.ReactNode;
|
|
2499
|
-
} & TestID
|
|
2520
|
+
} & TestID;
|
|
2500
2521
|
declare const CardHeader: ({ children, testID }: CardHeaderProps) => React__default.ReactElement;
|
|
2501
2522
|
declare type CardHeaderLeadingProps = {
|
|
2502
2523
|
title: string;
|
|
@@ -2530,7 +2551,7 @@ declare type CardFooterAction = Pick<ButtonProps, 'type' | 'accessibilityLabel'
|
|
|
2530
2551
|
};
|
|
2531
2552
|
declare type CardFooterProps = {
|
|
2532
2553
|
children?: React__default.ReactNode;
|
|
2533
|
-
} & TestID
|
|
2554
|
+
} & TestID;
|
|
2534
2555
|
declare const CardFooter: ({ children, testID }: CardFooterProps) => React__default.ReactElement;
|
|
2535
2556
|
declare type CardFooterLeadingProps = {
|
|
2536
2557
|
title?: string;
|
|
@@ -2602,37 +2623,9 @@ declare type CounterProps = {
|
|
|
2602
2623
|
* @default 'medium'
|
|
2603
2624
|
*/
|
|
2604
2625
|
size?: 'small' | 'medium' | 'large';
|
|
2605
|
-
} & TestID
|
|
2626
|
+
} & TestID & StyledPropsBlade;
|
|
2606
2627
|
declare const Counter: ({ value, max, intent, contrast, size, testID, ...styledProps }: CounterProps) => React.ReactElement;
|
|
2607
2628
|
|
|
2608
|
-
/**
|
|
2609
|
-
* Brands a type making them act as nominal
|
|
2610
|
-
* @see https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d
|
|
2611
|
-
*/
|
|
2612
|
-
declare type Brand<Type, Name extends string> = Type & {
|
|
2613
|
-
__brand__?: Name;
|
|
2614
|
-
};
|
|
2615
|
-
declare type NativeOrWebBrand = Brand<any, 'native' | 'web'>;
|
|
2616
|
-
|
|
2617
|
-
declare namespace Platform {
|
|
2618
|
-
type Name = 'web';
|
|
2619
|
-
/**
|
|
2620
|
-
* Right now, the module resolution is set to resolve `.web` files,
|
|
2621
|
-
*
|
|
2622
|
-
* Thus Platform.Select<> type will return the `web` type
|
|
2623
|
-
*/
|
|
2624
|
-
type Select<Options extends {
|
|
2625
|
-
web: unknown;
|
|
2626
|
-
native: unknown;
|
|
2627
|
-
}> = Brand<Options[Name], 'platform-web'>;
|
|
2628
|
-
type CastNative<T extends NativeOrWebBrand | undefined> = Extract<T, {
|
|
2629
|
-
__brand__?: 'platform-native' | 'platform-all';
|
|
2630
|
-
}>;
|
|
2631
|
-
type CastWeb<T extends NativeOrWebBrand | undefined> = Extract<T, {
|
|
2632
|
-
__brand__?: 'platform-web' | 'platform-all';
|
|
2633
|
-
}>;
|
|
2634
|
-
}
|
|
2635
|
-
|
|
2636
2629
|
declare type OnChange = ({ isChecked, event, value, }: {
|
|
2637
2630
|
isChecked: boolean;
|
|
2638
2631
|
event?: React__default.ChangeEvent;
|
|
@@ -2716,7 +2709,7 @@ declare type CheckboxProps = {
|
|
|
2716
2709
|
*
|
|
2717
2710
|
*/
|
|
2718
2711
|
tabIndex?: number;
|
|
2719
|
-
} & TestID
|
|
2712
|
+
} & TestID & StyledPropsBlade;
|
|
2720
2713
|
declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
2721
2714
|
/**
|
|
2722
2715
|
* If `true`, The checkbox will be checked. This also makes the checkbox controlled
|
|
@@ -2795,7 +2788,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2795
2788
|
*
|
|
2796
2789
|
*/
|
|
2797
2790
|
tabIndex?: number | undefined;
|
|
2798
|
-
} & TestID
|
|
2791
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
2799
2792
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
2800
2793
|
marginX: SpacingValueType;
|
|
2801
2794
|
marginY: SpacingValueType;
|
|
@@ -2807,73 +2800,17 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2807
2800
|
gap: SpacingValueType;
|
|
2808
2801
|
rowGap: SpacingValueType;
|
|
2809
2802
|
columnGap: SpacingValueType;
|
|
2810
|
-
|
|
2803
|
+
flex: string | number;
|
|
2804
|
+
} & PickIfExist$1<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
2805
|
+
__brand__?: "platform-web" | undefined;
|
|
2806
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
2811
2807
|
top: SpacingValueType;
|
|
2812
2808
|
right: SpacingValueType;
|
|
2813
2809
|
bottom: SpacingValueType;
|
|
2814
2810
|
left: SpacingValueType;
|
|
2815
|
-
} &
|
|
2816
|
-
|
|
2817
|
-
|
|
2818
|
-
native: never;
|
|
2819
|
-
}> | undefined;
|
|
2820
|
-
gridAutoColumns?: Platform.Select<{
|
|
2821
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
2822
|
-
native: never;
|
|
2823
|
-
}> | undefined;
|
|
2824
|
-
gridAutoFlow?: Platform.Select<{
|
|
2825
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
2826
|
-
native: never;
|
|
2827
|
-
}> | undefined;
|
|
2828
|
-
gridAutoRows?: Platform.Select<{
|
|
2829
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
2830
|
-
native: never;
|
|
2831
|
-
}> | undefined;
|
|
2832
|
-
gridColumnEnd?: Platform.Select<{
|
|
2833
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
2834
|
-
native: never;
|
|
2835
|
-
}> | undefined;
|
|
2836
|
-
gridColumnStart?: Platform.Select<{
|
|
2837
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
2838
|
-
native: never;
|
|
2839
|
-
}> | undefined;
|
|
2840
|
-
gridRowEnd?: Platform.Select<{
|
|
2841
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
2842
|
-
native: never;
|
|
2843
|
-
}> | undefined;
|
|
2844
|
-
gridRowStart?: Platform.Select<{
|
|
2845
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
2846
|
-
native: never;
|
|
2847
|
-
}> | undefined;
|
|
2848
|
-
gridTemplateAreas?: Platform.Select<{
|
|
2849
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
2850
|
-
native: never;
|
|
2851
|
-
}> | undefined;
|
|
2852
|
-
gridTemplateColumns?: Platform.Select<{
|
|
2853
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
2854
|
-
native: never;
|
|
2855
|
-
}> | undefined;
|
|
2856
|
-
gridTemplateRows?: Platform.Select<{
|
|
2857
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
2858
|
-
native: never;
|
|
2859
|
-
}> | undefined;
|
|
2860
|
-
gridArea?: Platform.Select<{
|
|
2861
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
2862
|
-
native: never;
|
|
2863
|
-
}> | undefined;
|
|
2864
|
-
gridColumn?: Platform.Select<{
|
|
2865
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
2866
|
-
native: never;
|
|
2867
|
-
}> | undefined;
|
|
2868
|
-
gridRow?: Platform.Select<{
|
|
2869
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
2870
|
-
native: never;
|
|
2871
|
-
}> | undefined;
|
|
2872
|
-
gridTemplate?: Platform.Select<{
|
|
2873
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
2874
|
-
native: never;
|
|
2875
|
-
}> | undefined;
|
|
2876
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
2811
|
+
} & PickIfExist$1<styled_components.CSSObject, "position" | "zIndex"> & {
|
|
2812
|
+
__brand__?: "platform-web" | undefined;
|
|
2813
|
+
}> & 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>>;
|
|
2877
2814
|
|
|
2878
2815
|
declare type CheckboxGroupProps = {
|
|
2879
2816
|
/**
|
|
@@ -2948,7 +2885,7 @@ declare type CheckboxGroupProps = {
|
|
|
2948
2885
|
* @default "medium"
|
|
2949
2886
|
*/
|
|
2950
2887
|
size?: 'small' | 'medium';
|
|
2951
|
-
} & TestID
|
|
2888
|
+
} & TestID & StyledPropsBlade;
|
|
2952
2889
|
declare const CheckboxGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: CheckboxGroupProps) => React__default.ReactElement;
|
|
2953
2890
|
|
|
2954
2891
|
declare type DropdownProps = {
|
|
@@ -2959,7 +2896,7 @@ declare const Dropdown: ({ children, selectionType, ...styledProps }: DropdownPr
|
|
|
2959
2896
|
|
|
2960
2897
|
declare type DropdownOverlayProps = {
|
|
2961
2898
|
children: React__default.ReactNode;
|
|
2962
|
-
} & TestID
|
|
2899
|
+
} & TestID;
|
|
2963
2900
|
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
|
|
2964
2901
|
|
|
2965
2902
|
declare const ArrowDownIcon: IconComponent;
|
|
@@ -3520,6 +3457,36 @@ declare type IconProps = {
|
|
|
3520
3457
|
} & StyledPropsBlade;
|
|
3521
3458
|
declare type IconComponent = React.ComponentType<IconProps>;
|
|
3522
3459
|
|
|
3460
|
+
/**
|
|
3461
|
+
* Similar to `Pick` except this returns `never` when value doesn't exist (native `Pick` returns `unknown`).
|
|
3462
|
+
*
|
|
3463
|
+
* 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.
|
|
3464
|
+
*
|
|
3465
|
+
* E.g. This will pick from ViewStyle prop if value exists else returns undefined.
|
|
3466
|
+
*
|
|
3467
|
+
* ```ts
|
|
3468
|
+
* // @ts-expect-error: T passed here may not neccessarily exist. We return `never` type when it doesn't
|
|
3469
|
+
* native: PickIfExist<ViewStyle, T>;
|
|
3470
|
+
* ```
|
|
3471
|
+
*/
|
|
3472
|
+
declare type PickIfExist<T, K extends keyof T> = {
|
|
3473
|
+
[P in K]: P extends keyof T ? T[P] : never;
|
|
3474
|
+
};
|
|
3475
|
+
/**
|
|
3476
|
+
* Picks the types based on the platform (web / native).
|
|
3477
|
+
*
|
|
3478
|
+
* E.g.
|
|
3479
|
+
* ```ts
|
|
3480
|
+
* type CSSObject = PickCSSByPlatform<'display'>
|
|
3481
|
+
* // On Web --> This will be all possible web display properties like `block`, `flex`, `inline`, and more.
|
|
3482
|
+
* // On Native --> This will be just `flex` and `none`
|
|
3483
|
+
* ```
|
|
3484
|
+
*/
|
|
3485
|
+
declare type PickCSSByPlatform<T extends keyof React__default.CSSProperties | keyof ViewStyle> = Platform.Select<{
|
|
3486
|
+
web: PickIfExist<CSSObject, T>;
|
|
3487
|
+
native: PickIfExist<ViewStyle, T>;
|
|
3488
|
+
}>;
|
|
3489
|
+
|
|
3523
3490
|
declare type FormInputLabelProps = {
|
|
3524
3491
|
/**
|
|
3525
3492
|
* Label to be shown for the input field
|
|
@@ -3771,7 +3738,7 @@ declare type BaseInputProps = FormInputLabelProps & FormInputValidationProps & {
|
|
|
3771
3738
|
* sets the autocapitalize behavior for the input
|
|
3772
3739
|
*/
|
|
3773
3740
|
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
3774
|
-
} & TestID
|
|
3741
|
+
} & TestID & Platform.Select<{
|
|
3775
3742
|
native: {
|
|
3776
3743
|
/**
|
|
3777
3744
|
* The callback function to be invoked when the value of the input field is submitted.
|
|
@@ -3807,6 +3774,14 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
|
|
|
3807
3774
|
/**
|
|
3808
3775
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3809
3776
|
*
|
|
3777
|
+
*
|
|
3778
|
+
* **Note on number type**
|
|
3779
|
+
*
|
|
3780
|
+
* `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
|
|
3781
|
+
* If you have a usecase where you only want to support number input, you can handle it on validations end.
|
|
3782
|
+
*
|
|
3783
|
+
* 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
|
|
3784
|
+
*
|
|
3810
3785
|
* @default text
|
|
3811
3786
|
*/
|
|
3812
3787
|
type?: Type;
|
|
@@ -3831,10 +3806,18 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3831
3806
|
/**
|
|
3832
3807
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3833
3808
|
*
|
|
3809
|
+
*
|
|
3810
|
+
* **Note on number type**
|
|
3811
|
+
*
|
|
3812
|
+
* `type="number"` internally uses `inputMode="numeric"` instead of HTML's `type="number"` which also allows text characters.
|
|
3813
|
+
* If you have a usecase where you only want to support number input, you can handle it on validations end.
|
|
3814
|
+
*
|
|
3815
|
+
* 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
|
|
3816
|
+
*
|
|
3834
3817
|
* @default text
|
|
3835
3818
|
*/
|
|
3836
3819
|
type?: Type;
|
|
3837
|
-
} & Partial<MakeObjectResponsive<{
|
|
3820
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3838
3821
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3839
3822
|
marginX: SpacingValueType;
|
|
3840
3823
|
marginY: SpacingValueType;
|
|
@@ -3846,73 +3829,19 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3846
3829
|
gap: SpacingValueType;
|
|
3847
3830
|
rowGap: SpacingValueType;
|
|
3848
3831
|
columnGap: SpacingValueType;
|
|
3849
|
-
|
|
3832
|
+
flex: string | number; /**
|
|
3833
|
+
* Decides whether to show a loading spinner for the input field.
|
|
3834
|
+
*/
|
|
3835
|
+
} & PickIfExist<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3836
|
+
__brand__?: "platform-web" | undefined;
|
|
3837
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3850
3838
|
top: SpacingValueType;
|
|
3851
3839
|
right: SpacingValueType;
|
|
3852
3840
|
bottom: SpacingValueType;
|
|
3853
3841
|
left: SpacingValueType;
|
|
3854
|
-
} &
|
|
3855
|
-
|
|
3856
|
-
|
|
3857
|
-
native: never;
|
|
3858
|
-
}> | undefined;
|
|
3859
|
-
gridAutoColumns?: Platform.Select<{
|
|
3860
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
3861
|
-
native: never;
|
|
3862
|
-
}> | undefined;
|
|
3863
|
-
gridAutoFlow?: Platform.Select<{
|
|
3864
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
3865
|
-
native: never;
|
|
3866
|
-
}> | undefined;
|
|
3867
|
-
gridAutoRows?: Platform.Select<{
|
|
3868
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
3869
|
-
native: never;
|
|
3870
|
-
}> | undefined;
|
|
3871
|
-
gridColumnEnd?: Platform.Select<{
|
|
3872
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
3873
|
-
native: never;
|
|
3874
|
-
}> | undefined;
|
|
3875
|
-
gridColumnStart?: Platform.Select<{
|
|
3876
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
3877
|
-
native: never;
|
|
3878
|
-
}> | undefined;
|
|
3879
|
-
gridRowEnd?: Platform.Select<{
|
|
3880
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
3881
|
-
native: never;
|
|
3882
|
-
}> | undefined;
|
|
3883
|
-
gridRowStart?: Platform.Select<{
|
|
3884
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
3885
|
-
native: never;
|
|
3886
|
-
}> | undefined;
|
|
3887
|
-
gridTemplateAreas?: Platform.Select<{
|
|
3888
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
3889
|
-
native: never;
|
|
3890
|
-
}> | undefined;
|
|
3891
|
-
gridTemplateColumns?: Platform.Select<{
|
|
3892
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
3893
|
-
native: never;
|
|
3894
|
-
}> | undefined;
|
|
3895
|
-
gridTemplateRows?: Platform.Select<{
|
|
3896
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
3897
|
-
native: never;
|
|
3898
|
-
}> | undefined;
|
|
3899
|
-
gridArea?: Platform.Select<{
|
|
3900
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
3901
|
-
native: never;
|
|
3902
|
-
}> | undefined;
|
|
3903
|
-
gridColumn?: Platform.Select<{
|
|
3904
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
3905
|
-
native: never;
|
|
3906
|
-
}> | undefined;
|
|
3907
|
-
gridRow?: Platform.Select<{
|
|
3908
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
3909
|
-
native: never;
|
|
3910
|
-
}> | undefined;
|
|
3911
|
-
gridTemplate?: Platform.Select<{
|
|
3912
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
3913
|
-
native: never;
|
|
3914
|
-
}> | undefined;
|
|
3915
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3842
|
+
} & PickIfExist<styled_components.CSSObject, "position" | "zIndex"> & {
|
|
3843
|
+
__brand__?: "platform-web" | undefined;
|
|
3844
|
+
}> & 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>>;
|
|
3916
3845
|
|
|
3917
3846
|
declare type PasswordInputExtraProps = {
|
|
3918
3847
|
/**
|
|
@@ -3945,7 +3874,7 @@ declare type PasswordInputExtraProps = {
|
|
|
3945
3874
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
3946
3875
|
};
|
|
3947
3876
|
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;
|
|
3948
|
-
declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | "testID" | "placeholder" | "label" | "value" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "autoFocus" | "defaultValue" | "isDisabled" | "labelPosition" | "helpText" | "errorText" | "successText" | "validationState" | "isRequired" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<MakeObjectResponsive<{
|
|
3877
|
+
declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseInputProps, "name" | "testID" | "placeholder" | "label" | "value" | "onFocus" | "onBlur" | "onChange" | "onSubmit" | "autoFocus" | "defaultValue" | "isDisabled" | "labelPosition" | "helpText" | "errorText" | "successText" | "validationState" | "isRequired" | "maxCharacters" | "keyboardReturnKeyType" | "autoCompleteSuggestionType"> & PasswordInputExtraProps & Partial<Omit<MakeObjectResponsive<{
|
|
3949
3878
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3950
3879
|
marginX: SpacingValueType;
|
|
3951
3880
|
marginY: SpacingValueType;
|
|
@@ -3957,73 +3886,17 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
3957
3886
|
gap: SpacingValueType;
|
|
3958
3887
|
rowGap: SpacingValueType;
|
|
3959
3888
|
columnGap: SpacingValueType;
|
|
3960
|
-
|
|
3889
|
+
flex: string | number;
|
|
3890
|
+
} & PickIfExist<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3891
|
+
__brand__?: "platform-web" | undefined;
|
|
3892
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
3961
3893
|
top: SpacingValueType;
|
|
3962
3894
|
right: SpacingValueType;
|
|
3963
3895
|
bottom: SpacingValueType;
|
|
3964
3896
|
left: SpacingValueType;
|
|
3965
|
-
} &
|
|
3966
|
-
|
|
3967
|
-
|
|
3968
|
-
native: never;
|
|
3969
|
-
}> | undefined;
|
|
3970
|
-
gridAutoColumns?: Platform.Select<{
|
|
3971
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
3972
|
-
native: never;
|
|
3973
|
-
}> | undefined;
|
|
3974
|
-
gridAutoFlow?: Platform.Select<{
|
|
3975
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
3976
|
-
native: never;
|
|
3977
|
-
}> | undefined;
|
|
3978
|
-
gridAutoRows?: Platform.Select<{
|
|
3979
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
3980
|
-
native: never;
|
|
3981
|
-
}> | undefined;
|
|
3982
|
-
gridColumnEnd?: Platform.Select<{
|
|
3983
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
3984
|
-
native: never;
|
|
3985
|
-
}> | undefined;
|
|
3986
|
-
gridColumnStart?: Platform.Select<{
|
|
3987
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
3988
|
-
native: never;
|
|
3989
|
-
}> | undefined;
|
|
3990
|
-
gridRowEnd?: Platform.Select<{
|
|
3991
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
3992
|
-
native: never;
|
|
3993
|
-
}> | undefined;
|
|
3994
|
-
gridRowStart?: Platform.Select<{
|
|
3995
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
3996
|
-
native: never;
|
|
3997
|
-
}> | undefined;
|
|
3998
|
-
gridTemplateAreas?: Platform.Select<{
|
|
3999
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4000
|
-
native: never;
|
|
4001
|
-
}> | undefined;
|
|
4002
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4003
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4004
|
-
native: never;
|
|
4005
|
-
}> | undefined;
|
|
4006
|
-
gridTemplateRows?: Platform.Select<{
|
|
4007
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4008
|
-
native: never;
|
|
4009
|
-
}> | undefined;
|
|
4010
|
-
gridArea?: Platform.Select<{
|
|
4011
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4012
|
-
native: never;
|
|
4013
|
-
}> | undefined;
|
|
4014
|
-
gridColumn?: Platform.Select<{
|
|
4015
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4016
|
-
native: never;
|
|
4017
|
-
}> | undefined;
|
|
4018
|
-
gridRow?: Platform.Select<{
|
|
4019
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4020
|
-
native: never;
|
|
4021
|
-
}> | undefined;
|
|
4022
|
-
gridTemplate?: Platform.Select<{
|
|
4023
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4024
|
-
native: never;
|
|
4025
|
-
}> | undefined;
|
|
4026
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3897
|
+
} & PickIfExist<styled_components.CSSObject, "position" | "zIndex"> & {
|
|
3898
|
+
__brand__?: "platform-web" | undefined;
|
|
3899
|
+
}> & 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>>;
|
|
4027
3900
|
|
|
4028
3901
|
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'> & {
|
|
4029
3902
|
/**
|
|
@@ -4044,7 +3917,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
4044
3917
|
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
4045
3918
|
*/
|
|
4046
3919
|
onClearButtonClick?: (() => void) | undefined;
|
|
4047
|
-
} & Partial<MakeObjectResponsive<{
|
|
3920
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
4048
3921
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4049
3922
|
marginX: SpacingValueType;
|
|
4050
3923
|
marginY: SpacingValueType;
|
|
@@ -4056,73 +3929,17 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
4056
3929
|
gap: SpacingValueType;
|
|
4057
3930
|
rowGap: SpacingValueType;
|
|
4058
3931
|
columnGap: SpacingValueType;
|
|
4059
|
-
|
|
3932
|
+
flex: string | number;
|
|
3933
|
+
} & PickIfExist<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
3934
|
+
__brand__?: "platform-web" | undefined;
|
|
3935
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
4060
3936
|
top: SpacingValueType;
|
|
4061
3937
|
right: SpacingValueType;
|
|
4062
3938
|
bottom: SpacingValueType;
|
|
4063
3939
|
left: SpacingValueType;
|
|
4064
|
-
} &
|
|
4065
|
-
|
|
4066
|
-
|
|
4067
|
-
native: never;
|
|
4068
|
-
}> | undefined;
|
|
4069
|
-
gridAutoColumns?: Platform.Select<{
|
|
4070
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
4071
|
-
native: never;
|
|
4072
|
-
}> | undefined;
|
|
4073
|
-
gridAutoFlow?: Platform.Select<{
|
|
4074
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
4075
|
-
native: never;
|
|
4076
|
-
}> | undefined;
|
|
4077
|
-
gridAutoRows?: Platform.Select<{
|
|
4078
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
4079
|
-
native: never;
|
|
4080
|
-
}> | undefined;
|
|
4081
|
-
gridColumnEnd?: Platform.Select<{
|
|
4082
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
4083
|
-
native: never;
|
|
4084
|
-
}> | undefined;
|
|
4085
|
-
gridColumnStart?: Platform.Select<{
|
|
4086
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
4087
|
-
native: never;
|
|
4088
|
-
}> | undefined;
|
|
4089
|
-
gridRowEnd?: Platform.Select<{
|
|
4090
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
4091
|
-
native: never;
|
|
4092
|
-
}> | undefined;
|
|
4093
|
-
gridRowStart?: Platform.Select<{
|
|
4094
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
4095
|
-
native: never;
|
|
4096
|
-
}> | undefined;
|
|
4097
|
-
gridTemplateAreas?: Platform.Select<{
|
|
4098
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4099
|
-
native: never;
|
|
4100
|
-
}> | undefined;
|
|
4101
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4102
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4103
|
-
native: never;
|
|
4104
|
-
}> | undefined;
|
|
4105
|
-
gridTemplateRows?: Platform.Select<{
|
|
4106
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4107
|
-
native: never;
|
|
4108
|
-
}> | undefined;
|
|
4109
|
-
gridArea?: Platform.Select<{
|
|
4110
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4111
|
-
native: never;
|
|
4112
|
-
}> | undefined;
|
|
4113
|
-
gridColumn?: Platform.Select<{
|
|
4114
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4115
|
-
native: never;
|
|
4116
|
-
}> | undefined;
|
|
4117
|
-
gridRow?: Platform.Select<{
|
|
4118
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4119
|
-
native: never;
|
|
4120
|
-
}> | undefined;
|
|
4121
|
-
gridTemplate?: Platform.Select<{
|
|
4122
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4123
|
-
native: never;
|
|
4124
|
-
}> | undefined;
|
|
4125
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
3940
|
+
} & PickIfExist<styled_components.CSSObject, "position" | "zIndex"> & {
|
|
3941
|
+
__brand__?: "platform-web" | undefined;
|
|
3942
|
+
}> & 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>>;
|
|
4126
3943
|
|
|
4127
3944
|
declare type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
4128
3945
|
name?: string;
|
|
@@ -4237,7 +4054,7 @@ declare type IndicatorCommonProps = {
|
|
|
4237
4054
|
* @default medium
|
|
4238
4055
|
*/
|
|
4239
4056
|
size?: 'small' | 'medium' | 'large';
|
|
4240
|
-
} & TestID
|
|
4057
|
+
} & TestID & StyledPropsBlade;
|
|
4241
4058
|
declare type IndicatorWithoutA11yLabel = {
|
|
4242
4059
|
/**
|
|
4243
4060
|
* A text label to show alongside the indicator dot
|
|
@@ -4277,7 +4094,7 @@ declare type ListItemProps = {
|
|
|
4277
4094
|
*
|
|
4278
4095
|
*/
|
|
4279
4096
|
_itemNumber?: undefined;
|
|
4280
|
-
} & TestID
|
|
4097
|
+
} & TestID;
|
|
4281
4098
|
declare const ListItem: ({ children, icon, _itemNumber, testID, }: ListItemProps) => React__default.ReactElement;
|
|
4282
4099
|
|
|
4283
4100
|
declare type ListCommonProps = {
|
|
@@ -4298,7 +4115,7 @@ declare type ListCommonProps = {
|
|
|
4298
4115
|
* @default 'medium'
|
|
4299
4116
|
*/
|
|
4300
4117
|
size?: 'small' | 'medium';
|
|
4301
|
-
} & TestID
|
|
4118
|
+
} & TestID & StyledPropsBlade;
|
|
4302
4119
|
declare type ListWithIconProps = ListCommonProps & {
|
|
4303
4120
|
variant?: 'unordered';
|
|
4304
4121
|
icon?: IconComponent;
|
|
@@ -4318,7 +4135,7 @@ declare type TitleProps = {
|
|
|
4318
4135
|
contrast?: ColorContrastTypes;
|
|
4319
4136
|
type?: TextTypes;
|
|
4320
4137
|
children: StringChildrenType;
|
|
4321
|
-
} & TestID
|
|
4138
|
+
} & TestID & StyledPropsBlade;
|
|
4322
4139
|
declare const Title: ({ size, type, contrast, children, testID, ...styledProps }: TitleProps) => ReactElement;
|
|
4323
4140
|
|
|
4324
4141
|
declare type HeadingVariant = 'regular' | 'subheading';
|
|
@@ -4327,7 +4144,7 @@ declare type HeadingCommonProps = {
|
|
|
4327
4144
|
type?: TextTypes;
|
|
4328
4145
|
contrast?: ColorContrastTypes;
|
|
4329
4146
|
children: StringChildrenType;
|
|
4330
|
-
} & TestID
|
|
4147
|
+
} & TestID & StyledPropsBlade;
|
|
4331
4148
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|
|
4332
4149
|
variant?: Exclude<HeadingVariant, 'subheading'>;
|
|
4333
4150
|
/**
|
|
@@ -4385,7 +4202,7 @@ declare type BaseTextProps = {
|
|
|
4385
4202
|
*/
|
|
4386
4203
|
numberOfLines?: number;
|
|
4387
4204
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
4388
|
-
} & TestID
|
|
4205
|
+
} & TestID & StyledPropsBlade;
|
|
4389
4206
|
|
|
4390
4207
|
declare type TextCommonProps = {
|
|
4391
4208
|
type?: TextTypes;
|
|
@@ -4398,7 +4215,7 @@ declare type TextCommonProps = {
|
|
|
4398
4215
|
*/
|
|
4399
4216
|
color?: BaseTextProps['color'];
|
|
4400
4217
|
textAlign?: BaseTextProps['textAlign'];
|
|
4401
|
-
} & TestID
|
|
4218
|
+
} & TestID & StyledPropsBlade;
|
|
4402
4219
|
declare type TextVariant = 'body' | 'caption';
|
|
4403
4220
|
declare type TextBodyVariant = TextCommonProps & {
|
|
4404
4221
|
variant?: Extract<TextVariant, 'body'>;
|
|
@@ -4438,7 +4255,7 @@ declare type CodeProps = {
|
|
|
4438
4255
|
*/
|
|
4439
4256
|
size?: 'small' | 'medium';
|
|
4440
4257
|
weight?: 'regular' | 'bold';
|
|
4441
|
-
} & TestID
|
|
4258
|
+
} & TestID & StyledPropsBlade;
|
|
4442
4259
|
/**
|
|
4443
4260
|
* Code component can be used for displaying token, variable names, or inlined code snippets.
|
|
4444
4261
|
*
|
|
@@ -4523,7 +4340,7 @@ declare type ProgressBarCommonProps = {
|
|
|
4523
4340
|
* @default 100
|
|
4524
4341
|
*/
|
|
4525
4342
|
max?: number;
|
|
4526
|
-
} & TestID
|
|
4343
|
+
} & TestID & StyledPropsBlade;
|
|
4527
4344
|
declare type ProgressBarVariant = 'progress' | 'meter';
|
|
4528
4345
|
declare type ProgressBarProgressProps = ProgressBarCommonProps & {
|
|
4529
4346
|
/**
|
|
@@ -4588,7 +4405,7 @@ declare type RadioProps = {
|
|
|
4588
4405
|
* @default "medium"
|
|
4589
4406
|
*/
|
|
4590
4407
|
size?: 'small' | 'medium';
|
|
4591
|
-
} & TestID
|
|
4408
|
+
} & TestID & StyledPropsBlade;
|
|
4592
4409
|
declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
4593
4410
|
/**
|
|
4594
4411
|
* Sets the label text of the Radio
|
|
@@ -4615,7 +4432,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4615
4432
|
* @default "medium"
|
|
4616
4433
|
*/
|
|
4617
4434
|
size?: "small" | "medium" | undefined;
|
|
4618
|
-
} & TestID
|
|
4435
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
4619
4436
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4620
4437
|
marginX: SpacingValueType;
|
|
4621
4438
|
marginY: SpacingValueType;
|
|
@@ -4627,73 +4444,17 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4627
4444
|
gap: SpacingValueType;
|
|
4628
4445
|
rowGap: SpacingValueType;
|
|
4629
4446
|
columnGap: SpacingValueType;
|
|
4630
|
-
|
|
4447
|
+
flex: string | number;
|
|
4448
|
+
} & PickIfExist$1<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "placeSelf"> & {
|
|
4449
|
+
__brand__?: "platform-web" | undefined;
|
|
4450
|
+
}>, "alignSelf" | "justifySelf" | "order" | "placeSelf"> & MakeObjectResponsive<{
|
|
4631
4451
|
top: SpacingValueType;
|
|
4632
4452
|
right: SpacingValueType;
|
|
4633
4453
|
bottom: SpacingValueType;
|
|
4634
4454
|
left: SpacingValueType;
|
|
4635
|
-
} &
|
|
4636
|
-
|
|
4637
|
-
|
|
4638
|
-
native: never;
|
|
4639
|
-
}> | undefined;
|
|
4640
|
-
gridAutoColumns?: Platform.Select<{
|
|
4641
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
4642
|
-
native: never;
|
|
4643
|
-
}> | undefined;
|
|
4644
|
-
gridAutoFlow?: Platform.Select<{
|
|
4645
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
4646
|
-
native: never;
|
|
4647
|
-
}> | undefined;
|
|
4648
|
-
gridAutoRows?: Platform.Select<{
|
|
4649
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
4650
|
-
native: never;
|
|
4651
|
-
}> | undefined;
|
|
4652
|
-
gridColumnEnd?: Platform.Select<{
|
|
4653
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
4654
|
-
native: never;
|
|
4655
|
-
}> | undefined;
|
|
4656
|
-
gridColumnStart?: Platform.Select<{
|
|
4657
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
4658
|
-
native: never;
|
|
4659
|
-
}> | undefined;
|
|
4660
|
-
gridRowEnd?: Platform.Select<{
|
|
4661
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
4662
|
-
native: never;
|
|
4663
|
-
}> | undefined;
|
|
4664
|
-
gridRowStart?: Platform.Select<{
|
|
4665
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
4666
|
-
native: never;
|
|
4667
|
-
}> | undefined;
|
|
4668
|
-
gridTemplateAreas?: Platform.Select<{
|
|
4669
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4670
|
-
native: never;
|
|
4671
|
-
}> | undefined;
|
|
4672
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4673
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4674
|
-
native: never;
|
|
4675
|
-
}> | undefined;
|
|
4676
|
-
gridTemplateRows?: Platform.Select<{
|
|
4677
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4678
|
-
native: never;
|
|
4679
|
-
}> | undefined;
|
|
4680
|
-
gridArea?: Platform.Select<{
|
|
4681
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4682
|
-
native: never;
|
|
4683
|
-
}> | undefined;
|
|
4684
|
-
gridColumn?: Platform.Select<{
|
|
4685
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4686
|
-
native: never;
|
|
4687
|
-
}> | undefined;
|
|
4688
|
-
gridRow?: Platform.Select<{
|
|
4689
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4690
|
-
native: never;
|
|
4691
|
-
}> | undefined;
|
|
4692
|
-
gridTemplate?: Platform.Select<{
|
|
4693
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4694
|
-
native: never;
|
|
4695
|
-
}> | undefined;
|
|
4696
|
-
}, "gridColumnEnd" | "gridColumnStart" | "gridRowEnd" | "gridRowStart" | "gridArea" | "gridColumn" | "gridRow">> & React__default.RefAttributes<BladeElementRef>>;
|
|
4455
|
+
} & PickIfExist$1<styled_components.CSSObject, "position" | "zIndex"> & {
|
|
4456
|
+
__brand__?: "platform-web" | undefined;
|
|
4457
|
+
}> & 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>>;
|
|
4697
4458
|
|
|
4698
4459
|
declare type RadioGroupProps = {
|
|
4699
4460
|
/**
|
|
@@ -4768,7 +4529,7 @@ declare type RadioGroupProps = {
|
|
|
4768
4529
|
* @default "medium"
|
|
4769
4530
|
*/
|
|
4770
4531
|
size?: 'small' | 'medium';
|
|
4771
|
-
} & TestID
|
|
4532
|
+
} & TestID & StyledPropsBlade;
|
|
4772
4533
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
4773
4534
|
|
|
4774
4535
|
declare type BaseSpinnerProps = {
|
|
@@ -4801,7 +4562,7 @@ declare type BaseSpinnerProps = {
|
|
|
4801
4562
|
*
|
|
4802
4563
|
*/
|
|
4803
4564
|
accessibilityLabel: string;
|
|
4804
|
-
} & TestID
|
|
4565
|
+
} & TestID & StyledPropsBlade;
|
|
4805
4566
|
|
|
4806
4567
|
declare type SpinnerProps = Omit<BaseSpinnerProps, 'intent'>;
|
|
4807
4568
|
declare const Spinner: ({ label, labelPosition, accessibilityLabel, contrast, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
@@ -4813,12 +4574,12 @@ declare type SkipNavLinkProps = {
|
|
|
4813
4574
|
declare const SkipNavLink: ({ id, children, }: SkipNavLinkProps) => JSX.Element;
|
|
4814
4575
|
declare type SkipNavContentProps = {
|
|
4815
4576
|
id?: string;
|
|
4816
|
-
} & TestID
|
|
4577
|
+
} & TestID;
|
|
4817
4578
|
declare const SkipNavContent: ({ id, testID, }: SkipNavContentProps) => JSX.Element;
|
|
4818
4579
|
|
|
4819
4580
|
declare type VisuallyHiddenProps = {
|
|
4820
4581
|
children: React.ReactNode;
|
|
4821
|
-
} & TestID
|
|
4582
|
+
} & TestID;
|
|
4822
4583
|
|
|
4823
4584
|
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => JSX.Element;
|
|
4824
4585
|
|
|
@@ -4871,123 +4632,7 @@ declare type AmountProps = {
|
|
|
4871
4632
|
* @default 'INR'
|
|
4872
4633
|
* */
|
|
4873
4634
|
currency?: Currency;
|
|
4874
|
-
} & TestID
|
|
4635
|
+
} & TestID & StyledPropsBlade;
|
|
4875
4636
|
declare const Amount: ({ value, suffix, size, isAffixSubtle, intent, prefix, testID, currency, ...styledProps }: AmountProps) => ReactElement;
|
|
4876
4637
|
|
|
4877
|
-
|
|
4878
|
-
testID?: string;
|
|
4879
|
-
};
|
|
4880
|
-
|
|
4881
|
-
declare const BaseBox: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Omit<Partial<MakeObjectResponsive<{
|
|
4882
|
-
padding: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4883
|
-
paddingX: SpacingValueType;
|
|
4884
|
-
paddingY: SpacingValueType;
|
|
4885
|
-
paddingTop: SpacingValueType;
|
|
4886
|
-
paddingRight: SpacingValueType;
|
|
4887
|
-
paddingBottom: SpacingValueType;
|
|
4888
|
-
paddingLeft: SpacingValueType;
|
|
4889
|
-
}> & MakeObjectResponsive<{
|
|
4890
|
-
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4891
|
-
marginX: SpacingValueType;
|
|
4892
|
-
marginY: SpacingValueType;
|
|
4893
|
-
marginTop: SpacingValueType;
|
|
4894
|
-
marginRight: SpacingValueType;
|
|
4895
|
-
marginBottom: SpacingValueType;
|
|
4896
|
-
marginLeft: SpacingValueType;
|
|
4897
|
-
}> & MakeObjectResponsive<{
|
|
4898
|
-
height: SpacingValueType;
|
|
4899
|
-
minHeight: SpacingValueType;
|
|
4900
|
-
maxHeight: SpacingValueType;
|
|
4901
|
-
width: SpacingValueType;
|
|
4902
|
-
minWidth: SpacingValueType;
|
|
4903
|
-
maxWidth: SpacingValueType;
|
|
4904
|
-
} & Pick<styled_components.CSSObject, "overflow" | "overflowX" | "overflowY"> & {
|
|
4905
|
-
display: csstype.Property.Display | undefined;
|
|
4906
|
-
} & {
|
|
4907
|
-
__brand__?: "platform-web" | undefined;
|
|
4908
|
-
}> & MakeObjectResponsive<{
|
|
4909
|
-
gap: SpacingValueType;
|
|
4910
|
-
rowGap: SpacingValueType;
|
|
4911
|
-
columnGap: SpacingValueType;
|
|
4912
|
-
} & Pick<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "flex" | "placeSelf">> & MakeObjectResponsive<{
|
|
4913
|
-
top: SpacingValueType;
|
|
4914
|
-
right: SpacingValueType;
|
|
4915
|
-
bottom: SpacingValueType;
|
|
4916
|
-
left: SpacingValueType;
|
|
4917
|
-
} & Pick<styled_components.CSSObject, "position" | "zIndex">> & {
|
|
4918
|
-
grid?: Platform.Select<{
|
|
4919
|
-
web: MakeValueResponsive<csstype.Property.Grid | undefined>;
|
|
4920
|
-
native: never;
|
|
4921
|
-
}> | undefined;
|
|
4922
|
-
gridAutoColumns?: Platform.Select<{
|
|
4923
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
4924
|
-
native: never;
|
|
4925
|
-
}> | undefined;
|
|
4926
|
-
gridAutoFlow?: Platform.Select<{
|
|
4927
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
4928
|
-
native: never;
|
|
4929
|
-
}> | undefined;
|
|
4930
|
-
gridAutoRows?: Platform.Select<{
|
|
4931
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
4932
|
-
native: never;
|
|
4933
|
-
}> | undefined;
|
|
4934
|
-
gridColumnEnd?: Platform.Select<{
|
|
4935
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
4936
|
-
native: never;
|
|
4937
|
-
}> | undefined;
|
|
4938
|
-
gridColumnStart?: Platform.Select<{
|
|
4939
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
4940
|
-
native: never;
|
|
4941
|
-
}> | undefined;
|
|
4942
|
-
gridRowEnd?: Platform.Select<{
|
|
4943
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
4944
|
-
native: never;
|
|
4945
|
-
}> | undefined;
|
|
4946
|
-
gridRowStart?: Platform.Select<{
|
|
4947
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
4948
|
-
native: never;
|
|
4949
|
-
}> | undefined;
|
|
4950
|
-
gridTemplateAreas?: Platform.Select<{
|
|
4951
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4952
|
-
native: never;
|
|
4953
|
-
}> | undefined;
|
|
4954
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4955
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4956
|
-
native: never;
|
|
4957
|
-
}> | undefined;
|
|
4958
|
-
gridTemplateRows?: Platform.Select<{
|
|
4959
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4960
|
-
native: never;
|
|
4961
|
-
}> | undefined;
|
|
4962
|
-
gridArea?: Platform.Select<{
|
|
4963
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4964
|
-
native: never;
|
|
4965
|
-
}> | undefined;
|
|
4966
|
-
gridColumn?: Platform.Select<{
|
|
4967
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4968
|
-
native: never;
|
|
4969
|
-
}> | undefined;
|
|
4970
|
-
gridRow?: Platform.Select<{
|
|
4971
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4972
|
-
native: never;
|
|
4973
|
-
}> | undefined;
|
|
4974
|
-
gridTemplate?: Platform.Select<{
|
|
4975
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4976
|
-
native: never;
|
|
4977
|
-
}> | undefined;
|
|
4978
|
-
} & MakeObjectResponsive<{
|
|
4979
|
-
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";
|
|
4980
|
-
}> & {
|
|
4981
|
-
as: "header" | "main" | "aside" | "div" | "footer" | "nav" | "section" | "span";
|
|
4982
|
-
} & {
|
|
4983
|
-
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
4984
|
-
} & TestID>, "backgroundColor" | "as"> & Partial<MakeObjectResponsive<{
|
|
4985
|
-
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
4986
|
-
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.default" | "action.background.primary.disabled" | "action.background.primary.hover" | "action.background.primary.focus" | "action.background.primary.active" | "action.background.secondary.default" | "action.background.secondary.disabled" | "action.background.secondary.hover" | "action.background.secondary.focus" | "action.background.secondary.active" | "action.background.tertiary.default" | "action.background.tertiary.disabled" | "action.background.tertiary.hover" | "action.background.tertiary.focus" | "action.background.tertiary.active";
|
|
4987
|
-
lineHeight: SpacingValueType;
|
|
4988
|
-
} & Pick<styled_components.CSSObject, "border" | "transform" | "borderBottom" | "borderLeft" | "borderRight" | "borderTop">> & {
|
|
4989
|
-
className?: string | undefined;
|
|
4990
|
-
id?: string | undefined;
|
|
4991
|
-
}>, never>;
|
|
4992
|
-
|
|
4993
|
-
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 };
|
|
4638
|
+
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 };
|