@razorpay/blade 7.0.2 → 7.0.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/build/components/index.d.ts +232 -595
- package/build/components/index.native.d.ts +222 -288
- package/build/components/index.native.js +2 -2
- package/build/components/index.native.js.map +1 -1
- package/build/components/index.web.js +3 -3
- package/build/components/index.web.js.map +1 -1
- package/build/css/bankingThemeDarkDesktop.css +1 -1
- package/build/css/bankingThemeDarkMobile.css +1 -1
- package/build/css/bankingThemeLightDesktop.css +1 -1
- package/build/css/bankingThemeLightMobile.css +1 -1
- package/build/css/paymentThemeDarkDesktop.css +1 -1
- package/build/css/paymentThemeDarkMobile.css +1 -1
- package/build/css/paymentThemeLightDesktop.css +1 -1
- package/build/css/paymentThemeLightMobile.css +1 -1
- package/build/tokens/index.native.js +1 -1
- package/build/tokens/index.native.js.map +1 -1
- package/build/tokens/index.web.js +1 -1
- package/build/tokens/index.web.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,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
|
|
@@ -2358,11 +2371,11 @@ declare type ButtonCommonProps = {
|
|
|
2358
2371
|
isLoading?: boolean;
|
|
2359
2372
|
accessibilityLabel?: string;
|
|
2360
2373
|
type?: 'button' | 'reset' | 'submit';
|
|
2361
|
-
onClick?: Platform
|
|
2374
|
+
onClick?: Platform.Select<{
|
|
2362
2375
|
native: (event: GestureResponderEvent) => void;
|
|
2363
2376
|
web: (event: React__default.MouseEvent<HTMLButtonElement>) => void;
|
|
2364
2377
|
}>;
|
|
2365
|
-
} & TestID
|
|
2378
|
+
} & TestID & StyledPropsBlade;
|
|
2366
2379
|
declare type ButtonWithoutIconProps = ButtonCommonProps & {
|
|
2367
2380
|
icon?: undefined;
|
|
2368
2381
|
children: StringChildrenType;
|
|
@@ -2412,7 +2425,7 @@ type BaseTextProps$1 = {
|
|
|
2412
2425
|
*/
|
|
2413
2426
|
numberOfLines?: number;
|
|
2414
2427
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
2415
|
-
} & TestID
|
|
2428
|
+
} & TestID &
|
|
2416
2429
|
StyledPropsBlade;
|
|
2417
2430
|
|
|
2418
2431
|
/* eslint-disable @typescript-eslint/no-unnecessary-type-assertion */
|
|
@@ -2429,7 +2442,7 @@ type TextCommonProps$1 = {
|
|
|
2429
2442
|
*/
|
|
2430
2443
|
color?: BaseTextProps$1['color'];
|
|
2431
2444
|
textAlign?: BaseTextProps$1['textAlign'];
|
|
2432
|
-
} & TestID
|
|
2445
|
+
} & TestID &
|
|
2433
2446
|
StyledPropsBlade;
|
|
2434
2447
|
|
|
2435
2448
|
type TextVariant$1 = 'body' | 'caption';
|
|
@@ -2486,7 +2499,7 @@ type CounterProps$1 = {
|
|
|
2486
2499
|
* @default 'medium'
|
|
2487
2500
|
*/
|
|
2488
2501
|
size?: 'small' | 'medium' | 'large';
|
|
2489
|
-
} & TestID
|
|
2502
|
+
} & TestID &
|
|
2490
2503
|
StyledPropsBlade;
|
|
2491
2504
|
|
|
2492
2505
|
declare const CardHeaderIcon: ({ icon }: {
|
|
@@ -2504,7 +2517,7 @@ declare type CardHeaderIconButtonProps = Omit<ButtonProps, 'variant' | 'size' |
|
|
|
2504
2517
|
declare const CardHeaderIconButton: (props: CardHeaderIconButtonProps) => React__default.ReactElement;
|
|
2505
2518
|
declare type CardHeaderProps = {
|
|
2506
2519
|
children?: React__default.ReactNode;
|
|
2507
|
-
} & TestID
|
|
2520
|
+
} & TestID;
|
|
2508
2521
|
declare const CardHeader: ({ children, testID }: CardHeaderProps) => React__default.ReactElement;
|
|
2509
2522
|
declare type CardHeaderLeadingProps = {
|
|
2510
2523
|
title: string;
|
|
@@ -2538,7 +2551,7 @@ declare type CardFooterAction = Pick<ButtonProps, 'type' | 'accessibilityLabel'
|
|
|
2538
2551
|
};
|
|
2539
2552
|
declare type CardFooterProps = {
|
|
2540
2553
|
children?: React__default.ReactNode;
|
|
2541
|
-
} & TestID
|
|
2554
|
+
} & TestID;
|
|
2542
2555
|
declare const CardFooter: ({ children, testID }: CardFooterProps) => React__default.ReactElement;
|
|
2543
2556
|
declare type CardFooterLeadingProps = {
|
|
2544
2557
|
title?: string;
|
|
@@ -2610,37 +2623,9 @@ declare type CounterProps = {
|
|
|
2610
2623
|
* @default 'medium'
|
|
2611
2624
|
*/
|
|
2612
2625
|
size?: 'small' | 'medium' | 'large';
|
|
2613
|
-
} & TestID
|
|
2626
|
+
} & TestID & StyledPropsBlade;
|
|
2614
2627
|
declare const Counter: ({ value, max, intent, contrast, size, testID, ...styledProps }: CounterProps) => React.ReactElement;
|
|
2615
2628
|
|
|
2616
|
-
/**
|
|
2617
|
-
* Brands a type making them act as nominal
|
|
2618
|
-
* @see https://medium.com/@KevinBGreene/surviving-the-typescript-ecosystem-branding-and-type-tagging-6cf6e516523d
|
|
2619
|
-
*/
|
|
2620
|
-
declare type Brand<Type, Name extends string> = Type & {
|
|
2621
|
-
__brand__?: Name;
|
|
2622
|
-
};
|
|
2623
|
-
declare type NativeOrWebBrand = Brand<any, 'native' | 'web'>;
|
|
2624
|
-
|
|
2625
|
-
declare namespace Platform {
|
|
2626
|
-
type Name = 'web';
|
|
2627
|
-
/**
|
|
2628
|
-
* Right now, the module resolution is set to resolve `.web` files,
|
|
2629
|
-
*
|
|
2630
|
-
* Thus Platform.Select<> type will return the `web` type
|
|
2631
|
-
*/
|
|
2632
|
-
type Select<Options extends {
|
|
2633
|
-
web: unknown;
|
|
2634
|
-
native: unknown;
|
|
2635
|
-
}> = Brand<Options[Name], 'platform-web'>;
|
|
2636
|
-
type CastNative<T extends NativeOrWebBrand | undefined> = Extract<T, {
|
|
2637
|
-
__brand__?: 'platform-native' | 'platform-all';
|
|
2638
|
-
}>;
|
|
2639
|
-
type CastWeb<T extends NativeOrWebBrand | undefined> = Extract<T, {
|
|
2640
|
-
__brand__?: 'platform-web' | 'platform-all';
|
|
2641
|
-
}>;
|
|
2642
|
-
}
|
|
2643
|
-
|
|
2644
2629
|
declare type OnChange = ({ isChecked, event, value, }: {
|
|
2645
2630
|
isChecked: boolean;
|
|
2646
2631
|
event?: React__default.ChangeEvent;
|
|
@@ -2724,7 +2709,7 @@ declare type CheckboxProps = {
|
|
|
2724
2709
|
*
|
|
2725
2710
|
*/
|
|
2726
2711
|
tabIndex?: number;
|
|
2727
|
-
} & TestID
|
|
2712
|
+
} & TestID & StyledPropsBlade;
|
|
2728
2713
|
declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
2729
2714
|
/**
|
|
2730
2715
|
* If `true`, The checkbox will be checked. This also makes the checkbox controlled
|
|
@@ -2803,7 +2788,7 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2803
2788
|
*
|
|
2804
2789
|
*/
|
|
2805
2790
|
tabIndex?: number | undefined;
|
|
2806
|
-
} & TestID
|
|
2791
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
2807
2792
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
2808
2793
|
marginX: SpacingValueType;
|
|
2809
2794
|
marginY: SpacingValueType;
|
|
@@ -2815,73 +2800,17 @@ declare const Checkbox: React__default.ForwardRefExoticComponent<{
|
|
|
2815
2800
|
gap: SpacingValueType;
|
|
2816
2801
|
rowGap: SpacingValueType;
|
|
2817
2802
|
columnGap: SpacingValueType;
|
|
2818
|
-
|
|
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<{
|
|
2819
2807
|
top: SpacingValueType;
|
|
2820
2808
|
right: SpacingValueType;
|
|
2821
2809
|
bottom: SpacingValueType;
|
|
2822
2810
|
left: SpacingValueType;
|
|
2823
|
-
} &
|
|
2824
|
-
|
|
2825
|
-
|
|
2826
|
-
native: never;
|
|
2827
|
-
}> | undefined;
|
|
2828
|
-
gridAutoColumns?: Platform.Select<{
|
|
2829
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
2830
|
-
native: never;
|
|
2831
|
-
}> | undefined;
|
|
2832
|
-
gridAutoFlow?: Platform.Select<{
|
|
2833
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
2834
|
-
native: never;
|
|
2835
|
-
}> | undefined;
|
|
2836
|
-
gridAutoRows?: Platform.Select<{
|
|
2837
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
2838
|
-
native: never;
|
|
2839
|
-
}> | undefined;
|
|
2840
|
-
gridColumnEnd?: Platform.Select<{
|
|
2841
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
2842
|
-
native: never;
|
|
2843
|
-
}> | undefined;
|
|
2844
|
-
gridColumnStart?: Platform.Select<{
|
|
2845
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
2846
|
-
native: never;
|
|
2847
|
-
}> | undefined;
|
|
2848
|
-
gridRowEnd?: Platform.Select<{
|
|
2849
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
2850
|
-
native: never;
|
|
2851
|
-
}> | undefined;
|
|
2852
|
-
gridRowStart?: Platform.Select<{
|
|
2853
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
2854
|
-
native: never;
|
|
2855
|
-
}> | undefined;
|
|
2856
|
-
gridTemplateAreas?: Platform.Select<{
|
|
2857
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
2858
|
-
native: never;
|
|
2859
|
-
}> | undefined;
|
|
2860
|
-
gridTemplateColumns?: Platform.Select<{
|
|
2861
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
2862
|
-
native: never;
|
|
2863
|
-
}> | undefined;
|
|
2864
|
-
gridTemplateRows?: Platform.Select<{
|
|
2865
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
2866
|
-
native: never;
|
|
2867
|
-
}> | undefined;
|
|
2868
|
-
gridArea?: Platform.Select<{
|
|
2869
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
2870
|
-
native: never;
|
|
2871
|
-
}> | undefined;
|
|
2872
|
-
gridColumn?: Platform.Select<{
|
|
2873
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
2874
|
-
native: never;
|
|
2875
|
-
}> | undefined;
|
|
2876
|
-
gridRow?: Platform.Select<{
|
|
2877
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
2878
|
-
native: never;
|
|
2879
|
-
}> | undefined;
|
|
2880
|
-
gridTemplate?: Platform.Select<{
|
|
2881
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
2882
|
-
native: never;
|
|
2883
|
-
}> | undefined;
|
|
2884
|
-
}, "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>>;
|
|
2885
2814
|
|
|
2886
2815
|
declare type CheckboxGroupProps = {
|
|
2887
2816
|
/**
|
|
@@ -2956,7 +2885,7 @@ declare type CheckboxGroupProps = {
|
|
|
2956
2885
|
* @default "medium"
|
|
2957
2886
|
*/
|
|
2958
2887
|
size?: 'small' | 'medium';
|
|
2959
|
-
} & TestID
|
|
2888
|
+
} & TestID & StyledPropsBlade;
|
|
2960
2889
|
declare const CheckboxGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: CheckboxGroupProps) => React__default.ReactElement;
|
|
2961
2890
|
|
|
2962
2891
|
declare type DropdownProps = {
|
|
@@ -2967,7 +2896,7 @@ declare const Dropdown: ({ children, selectionType, ...styledProps }: DropdownPr
|
|
|
2967
2896
|
|
|
2968
2897
|
declare type DropdownOverlayProps = {
|
|
2969
2898
|
children: React__default.ReactNode;
|
|
2970
|
-
} & TestID
|
|
2899
|
+
} & TestID;
|
|
2971
2900
|
declare const DropdownOverlay: ({ children, testID }: DropdownOverlayProps) => JSX.Element;
|
|
2972
2901
|
|
|
2973
2902
|
declare const ArrowDownIcon: IconComponent;
|
|
@@ -3528,6 +3457,36 @@ declare type IconProps = {
|
|
|
3528
3457
|
} & StyledPropsBlade;
|
|
3529
3458
|
declare type IconComponent = React.ComponentType<IconProps>;
|
|
3530
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
|
+
|
|
3531
3490
|
declare type FormInputLabelProps = {
|
|
3532
3491
|
/**
|
|
3533
3492
|
* Label to be shown for the input field
|
|
@@ -3779,7 +3738,7 @@ declare type BaseInputProps = FormInputLabelProps & FormInputValidationProps & {
|
|
|
3779
3738
|
* sets the autocapitalize behavior for the input
|
|
3780
3739
|
*/
|
|
3781
3740
|
autoCapitalize?: 'none' | 'sentences' | 'words' | 'characters';
|
|
3782
|
-
} & TestID
|
|
3741
|
+
} & TestID & Platform.Select<{
|
|
3783
3742
|
native: {
|
|
3784
3743
|
/**
|
|
3785
3744
|
* The callback function to be invoked when the value of the input field is submitted.
|
|
@@ -3815,6 +3774,14 @@ declare type TextInputProps = Pick<BaseInputProps, 'label' | 'labelPosition' | '
|
|
|
3815
3774
|
/**
|
|
3816
3775
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3817
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
|
+
*
|
|
3818
3785
|
* @default text
|
|
3819
3786
|
*/
|
|
3820
3787
|
type?: Type;
|
|
@@ -3839,10 +3806,18 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3839
3806
|
/**
|
|
3840
3807
|
* Type of Input Field to be rendered. Use `PasswordInput` for type `password`
|
|
3841
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
|
+
*
|
|
3842
3817
|
* @default text
|
|
3843
3818
|
*/
|
|
3844
3819
|
type?: Type;
|
|
3845
|
-
} & Partial<MakeObjectResponsive<{
|
|
3820
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
3846
3821
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3847
3822
|
marginX: SpacingValueType;
|
|
3848
3823
|
marginY: SpacingValueType;
|
|
@@ -3854,73 +3829,19 @@ declare const TextInput: React__default.ForwardRefExoticComponent<Pick<BaseInput
|
|
|
3854
3829
|
gap: SpacingValueType;
|
|
3855
3830
|
rowGap: SpacingValueType;
|
|
3856
3831
|
columnGap: SpacingValueType;
|
|
3857
|
-
|
|
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<{
|
|
3858
3838
|
top: SpacingValueType;
|
|
3859
3839
|
right: SpacingValueType;
|
|
3860
3840
|
bottom: SpacingValueType;
|
|
3861
3841
|
left: SpacingValueType;
|
|
3862
|
-
} &
|
|
3863
|
-
|
|
3864
|
-
|
|
3865
|
-
native: never;
|
|
3866
|
-
}> | undefined;
|
|
3867
|
-
gridAutoColumns?: Platform.Select<{
|
|
3868
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
3869
|
-
native: never;
|
|
3870
|
-
}> | undefined;
|
|
3871
|
-
gridAutoFlow?: Platform.Select<{
|
|
3872
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
3873
|
-
native: never;
|
|
3874
|
-
}> | undefined;
|
|
3875
|
-
gridAutoRows?: Platform.Select<{
|
|
3876
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
3877
|
-
native: never;
|
|
3878
|
-
}> | undefined;
|
|
3879
|
-
gridColumnEnd?: Platform.Select<{
|
|
3880
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
3881
|
-
native: never;
|
|
3882
|
-
}> | undefined;
|
|
3883
|
-
gridColumnStart?: Platform.Select<{
|
|
3884
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
3885
|
-
native: never;
|
|
3886
|
-
}> | undefined;
|
|
3887
|
-
gridRowEnd?: Platform.Select<{
|
|
3888
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
3889
|
-
native: never;
|
|
3890
|
-
}> | undefined;
|
|
3891
|
-
gridRowStart?: Platform.Select<{
|
|
3892
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
3893
|
-
native: never;
|
|
3894
|
-
}> | undefined;
|
|
3895
|
-
gridTemplateAreas?: Platform.Select<{
|
|
3896
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
3897
|
-
native: never;
|
|
3898
|
-
}> | undefined;
|
|
3899
|
-
gridTemplateColumns?: Platform.Select<{
|
|
3900
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
3901
|
-
native: never;
|
|
3902
|
-
}> | undefined;
|
|
3903
|
-
gridTemplateRows?: Platform.Select<{
|
|
3904
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
3905
|
-
native: never;
|
|
3906
|
-
}> | undefined;
|
|
3907
|
-
gridArea?: Platform.Select<{
|
|
3908
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
3909
|
-
native: never;
|
|
3910
|
-
}> | undefined;
|
|
3911
|
-
gridColumn?: Platform.Select<{
|
|
3912
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
3913
|
-
native: never;
|
|
3914
|
-
}> | undefined;
|
|
3915
|
-
gridRow?: Platform.Select<{
|
|
3916
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
3917
|
-
native: never;
|
|
3918
|
-
}> | undefined;
|
|
3919
|
-
gridTemplate?: Platform.Select<{
|
|
3920
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
3921
|
-
native: never;
|
|
3922
|
-
}> | undefined;
|
|
3923
|
-
}, "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>>;
|
|
3924
3845
|
|
|
3925
3846
|
declare type PasswordInputExtraProps = {
|
|
3926
3847
|
/**
|
|
@@ -3953,7 +3874,7 @@ declare type PasswordInputExtraProps = {
|
|
|
3953
3874
|
autoCompleteSuggestionType?: Extract<BaseInputProps['autoCompleteSuggestionType'], 'none' | 'password' | 'newPassword'>;
|
|
3954
3875
|
};
|
|
3955
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;
|
|
3956
|
-
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<{
|
|
3957
3878
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
3958
3879
|
marginX: SpacingValueType;
|
|
3959
3880
|
marginY: SpacingValueType;
|
|
@@ -3965,73 +3886,17 @@ declare const PasswordInput: React__default.ForwardRefExoticComponent<Pick<BaseI
|
|
|
3965
3886
|
gap: SpacingValueType;
|
|
3966
3887
|
rowGap: SpacingValueType;
|
|
3967
3888
|
columnGap: SpacingValueType;
|
|
3968
|
-
|
|
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<{
|
|
3969
3893
|
top: SpacingValueType;
|
|
3970
3894
|
right: SpacingValueType;
|
|
3971
3895
|
bottom: SpacingValueType;
|
|
3972
3896
|
left: SpacingValueType;
|
|
3973
|
-
} &
|
|
3974
|
-
|
|
3975
|
-
|
|
3976
|
-
native: never;
|
|
3977
|
-
}> | undefined;
|
|
3978
|
-
gridAutoColumns?: Platform.Select<{
|
|
3979
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
3980
|
-
native: never;
|
|
3981
|
-
}> | undefined;
|
|
3982
|
-
gridAutoFlow?: Platform.Select<{
|
|
3983
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
3984
|
-
native: never;
|
|
3985
|
-
}> | undefined;
|
|
3986
|
-
gridAutoRows?: Platform.Select<{
|
|
3987
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
3988
|
-
native: never;
|
|
3989
|
-
}> | undefined;
|
|
3990
|
-
gridColumnEnd?: Platform.Select<{
|
|
3991
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
3992
|
-
native: never;
|
|
3993
|
-
}> | undefined;
|
|
3994
|
-
gridColumnStart?: Platform.Select<{
|
|
3995
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
3996
|
-
native: never;
|
|
3997
|
-
}> | undefined;
|
|
3998
|
-
gridRowEnd?: Platform.Select<{
|
|
3999
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
4000
|
-
native: never;
|
|
4001
|
-
}> | undefined;
|
|
4002
|
-
gridRowStart?: Platform.Select<{
|
|
4003
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
4004
|
-
native: never;
|
|
4005
|
-
}> | undefined;
|
|
4006
|
-
gridTemplateAreas?: Platform.Select<{
|
|
4007
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4008
|
-
native: never;
|
|
4009
|
-
}> | undefined;
|
|
4010
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4011
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4012
|
-
native: never;
|
|
4013
|
-
}> | undefined;
|
|
4014
|
-
gridTemplateRows?: Platform.Select<{
|
|
4015
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4016
|
-
native: never;
|
|
4017
|
-
}> | undefined;
|
|
4018
|
-
gridArea?: Platform.Select<{
|
|
4019
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4020
|
-
native: never;
|
|
4021
|
-
}> | undefined;
|
|
4022
|
-
gridColumn?: Platform.Select<{
|
|
4023
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4024
|
-
native: never;
|
|
4025
|
-
}> | undefined;
|
|
4026
|
-
gridRow?: Platform.Select<{
|
|
4027
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4028
|
-
native: never;
|
|
4029
|
-
}> | undefined;
|
|
4030
|
-
gridTemplate?: Platform.Select<{
|
|
4031
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4032
|
-
native: never;
|
|
4033
|
-
}> | undefined;
|
|
4034
|
-
}, "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>>;
|
|
4035
3900
|
|
|
4036
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'> & {
|
|
4037
3902
|
/**
|
|
@@ -4052,7 +3917,7 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
4052
3917
|
* Event handler to handle the onClick event for clear button. Used when `showClearButton` is `true`
|
|
4053
3918
|
*/
|
|
4054
3919
|
onClearButtonClick?: (() => void) | undefined;
|
|
4055
|
-
} & Partial<MakeObjectResponsive<{
|
|
3920
|
+
} & Partial<Omit<MakeObjectResponsive<{
|
|
4056
3921
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4057
3922
|
marginX: SpacingValueType;
|
|
4058
3923
|
marginY: SpacingValueType;
|
|
@@ -4064,73 +3929,17 @@ declare const TextArea: React__default.ForwardRefExoticComponent<Pick<BaseInputP
|
|
|
4064
3929
|
gap: SpacingValueType;
|
|
4065
3930
|
rowGap: SpacingValueType;
|
|
4066
3931
|
columnGap: SpacingValueType;
|
|
4067
|
-
|
|
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<{
|
|
4068
3936
|
top: SpacingValueType;
|
|
4069
3937
|
right: SpacingValueType;
|
|
4070
3938
|
bottom: SpacingValueType;
|
|
4071
3939
|
left: SpacingValueType;
|
|
4072
|
-
} &
|
|
4073
|
-
|
|
4074
|
-
|
|
4075
|
-
native: never;
|
|
4076
|
-
}> | undefined;
|
|
4077
|
-
gridAutoColumns?: Platform.Select<{
|
|
4078
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
4079
|
-
native: never;
|
|
4080
|
-
}> | undefined;
|
|
4081
|
-
gridAutoFlow?: Platform.Select<{
|
|
4082
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
4083
|
-
native: never;
|
|
4084
|
-
}> | undefined;
|
|
4085
|
-
gridAutoRows?: Platform.Select<{
|
|
4086
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
4087
|
-
native: never;
|
|
4088
|
-
}> | undefined;
|
|
4089
|
-
gridColumnEnd?: Platform.Select<{
|
|
4090
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
4091
|
-
native: never;
|
|
4092
|
-
}> | undefined;
|
|
4093
|
-
gridColumnStart?: Platform.Select<{
|
|
4094
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
4095
|
-
native: never;
|
|
4096
|
-
}> | undefined;
|
|
4097
|
-
gridRowEnd?: Platform.Select<{
|
|
4098
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
4099
|
-
native: never;
|
|
4100
|
-
}> | undefined;
|
|
4101
|
-
gridRowStart?: Platform.Select<{
|
|
4102
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
4103
|
-
native: never;
|
|
4104
|
-
}> | undefined;
|
|
4105
|
-
gridTemplateAreas?: Platform.Select<{
|
|
4106
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4107
|
-
native: never;
|
|
4108
|
-
}> | undefined;
|
|
4109
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4110
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4111
|
-
native: never;
|
|
4112
|
-
}> | undefined;
|
|
4113
|
-
gridTemplateRows?: Platform.Select<{
|
|
4114
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4115
|
-
native: never;
|
|
4116
|
-
}> | undefined;
|
|
4117
|
-
gridArea?: Platform.Select<{
|
|
4118
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4119
|
-
native: never;
|
|
4120
|
-
}> | undefined;
|
|
4121
|
-
gridColumn?: Platform.Select<{
|
|
4122
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4123
|
-
native: never;
|
|
4124
|
-
}> | undefined;
|
|
4125
|
-
gridRow?: Platform.Select<{
|
|
4126
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4127
|
-
native: never;
|
|
4128
|
-
}> | undefined;
|
|
4129
|
-
gridTemplate?: Platform.Select<{
|
|
4130
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4131
|
-
native: never;
|
|
4132
|
-
}> | undefined;
|
|
4133
|
-
}, "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>>;
|
|
4134
3943
|
|
|
4135
3944
|
declare type FormInputOnEventWithIndex = ({ name, value, inputIndex, }: {
|
|
4136
3945
|
name?: string;
|
|
@@ -4245,7 +4054,7 @@ declare type IndicatorCommonProps = {
|
|
|
4245
4054
|
* @default medium
|
|
4246
4055
|
*/
|
|
4247
4056
|
size?: 'small' | 'medium' | 'large';
|
|
4248
|
-
} & TestID
|
|
4057
|
+
} & TestID & StyledPropsBlade;
|
|
4249
4058
|
declare type IndicatorWithoutA11yLabel = {
|
|
4250
4059
|
/**
|
|
4251
4060
|
* A text label to show alongside the indicator dot
|
|
@@ -4285,7 +4094,7 @@ declare type ListItemProps = {
|
|
|
4285
4094
|
*
|
|
4286
4095
|
*/
|
|
4287
4096
|
_itemNumber?: undefined;
|
|
4288
|
-
} & TestID
|
|
4097
|
+
} & TestID;
|
|
4289
4098
|
declare const ListItem: ({ children, icon, _itemNumber, testID, }: ListItemProps) => React__default.ReactElement;
|
|
4290
4099
|
|
|
4291
4100
|
declare type ListCommonProps = {
|
|
@@ -4306,7 +4115,7 @@ declare type ListCommonProps = {
|
|
|
4306
4115
|
* @default 'medium'
|
|
4307
4116
|
*/
|
|
4308
4117
|
size?: 'small' | 'medium';
|
|
4309
|
-
} & TestID
|
|
4118
|
+
} & TestID & StyledPropsBlade;
|
|
4310
4119
|
declare type ListWithIconProps = ListCommonProps & {
|
|
4311
4120
|
variant?: 'unordered';
|
|
4312
4121
|
icon?: IconComponent;
|
|
@@ -4326,7 +4135,7 @@ declare type TitleProps = {
|
|
|
4326
4135
|
contrast?: ColorContrastTypes;
|
|
4327
4136
|
type?: TextTypes;
|
|
4328
4137
|
children: StringChildrenType;
|
|
4329
|
-
} & TestID
|
|
4138
|
+
} & TestID & StyledPropsBlade;
|
|
4330
4139
|
declare const Title: ({ size, type, contrast, children, testID, ...styledProps }: TitleProps) => ReactElement;
|
|
4331
4140
|
|
|
4332
4141
|
declare type HeadingVariant = 'regular' | 'subheading';
|
|
@@ -4335,7 +4144,7 @@ declare type HeadingCommonProps = {
|
|
|
4335
4144
|
type?: TextTypes;
|
|
4336
4145
|
contrast?: ColorContrastTypes;
|
|
4337
4146
|
children: StringChildrenType;
|
|
4338
|
-
} & TestID
|
|
4147
|
+
} & TestID & StyledPropsBlade;
|
|
4339
4148
|
declare type HeadingNormalVariant = HeadingCommonProps & {
|
|
4340
4149
|
variant?: Exclude<HeadingVariant, 'subheading'>;
|
|
4341
4150
|
/**
|
|
@@ -4393,7 +4202,7 @@ declare type BaseTextProps = {
|
|
|
4393
4202
|
*/
|
|
4394
4203
|
numberOfLines?: number;
|
|
4395
4204
|
componentName?: 'text' | 'title' | 'heading' | 'code';
|
|
4396
|
-
} & TestID
|
|
4205
|
+
} & TestID & StyledPropsBlade;
|
|
4397
4206
|
|
|
4398
4207
|
declare type TextCommonProps = {
|
|
4399
4208
|
type?: TextTypes;
|
|
@@ -4406,7 +4215,7 @@ declare type TextCommonProps = {
|
|
|
4406
4215
|
*/
|
|
4407
4216
|
color?: BaseTextProps['color'];
|
|
4408
4217
|
textAlign?: BaseTextProps['textAlign'];
|
|
4409
|
-
} & TestID
|
|
4218
|
+
} & TestID & StyledPropsBlade;
|
|
4410
4219
|
declare type TextVariant = 'body' | 'caption';
|
|
4411
4220
|
declare type TextBodyVariant = TextCommonProps & {
|
|
4412
4221
|
variant?: Extract<TextVariant, 'body'>;
|
|
@@ -4446,7 +4255,7 @@ declare type CodeProps = {
|
|
|
4446
4255
|
*/
|
|
4447
4256
|
size?: 'small' | 'medium';
|
|
4448
4257
|
weight?: 'regular' | 'bold';
|
|
4449
|
-
} & TestID
|
|
4258
|
+
} & TestID & StyledPropsBlade;
|
|
4450
4259
|
/**
|
|
4451
4260
|
* Code component can be used for displaying token, variable names, or inlined code snippets.
|
|
4452
4261
|
*
|
|
@@ -4531,7 +4340,7 @@ declare type ProgressBarCommonProps = {
|
|
|
4531
4340
|
* @default 100
|
|
4532
4341
|
*/
|
|
4533
4342
|
max?: number;
|
|
4534
|
-
} & TestID
|
|
4343
|
+
} & TestID & StyledPropsBlade;
|
|
4535
4344
|
declare type ProgressBarVariant = 'progress' | 'meter';
|
|
4536
4345
|
declare type ProgressBarProgressProps = ProgressBarCommonProps & {
|
|
4537
4346
|
/**
|
|
@@ -4596,7 +4405,7 @@ declare type RadioProps = {
|
|
|
4596
4405
|
* @default "medium"
|
|
4597
4406
|
*/
|
|
4598
4407
|
size?: 'small' | 'medium';
|
|
4599
|
-
} & TestID
|
|
4408
|
+
} & TestID & StyledPropsBlade;
|
|
4600
4409
|
declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
4601
4410
|
/**
|
|
4602
4411
|
* Sets the label text of the Radio
|
|
@@ -4623,7 +4432,7 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4623
4432
|
* @default "medium"
|
|
4624
4433
|
*/
|
|
4625
4434
|
size?: "small" | "medium" | undefined;
|
|
4626
|
-
} & TestID
|
|
4435
|
+
} & TestID & Partial<Omit<MakeObjectResponsive<{
|
|
4627
4436
|
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4628
4437
|
marginX: SpacingValueType;
|
|
4629
4438
|
marginY: SpacingValueType;
|
|
@@ -4635,73 +4444,17 @@ declare const Radio: React__default.ForwardRefExoticComponent<{
|
|
|
4635
4444
|
gap: SpacingValueType;
|
|
4636
4445
|
rowGap: SpacingValueType;
|
|
4637
4446
|
columnGap: SpacingValueType;
|
|
4638
|
-
|
|
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<{
|
|
4639
4451
|
top: SpacingValueType;
|
|
4640
4452
|
right: SpacingValueType;
|
|
4641
4453
|
bottom: SpacingValueType;
|
|
4642
4454
|
left: SpacingValueType;
|
|
4643
|
-
} &
|
|
4644
|
-
|
|
4645
|
-
|
|
4646
|
-
native: never;
|
|
4647
|
-
}> | undefined;
|
|
4648
|
-
gridAutoColumns?: Platform.Select<{
|
|
4649
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
4650
|
-
native: never;
|
|
4651
|
-
}> | undefined;
|
|
4652
|
-
gridAutoFlow?: Platform.Select<{
|
|
4653
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
4654
|
-
native: never;
|
|
4655
|
-
}> | undefined;
|
|
4656
|
-
gridAutoRows?: Platform.Select<{
|
|
4657
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
4658
|
-
native: never;
|
|
4659
|
-
}> | undefined;
|
|
4660
|
-
gridColumnEnd?: Platform.Select<{
|
|
4661
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
4662
|
-
native: never;
|
|
4663
|
-
}> | undefined;
|
|
4664
|
-
gridColumnStart?: Platform.Select<{
|
|
4665
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
4666
|
-
native: never;
|
|
4667
|
-
}> | undefined;
|
|
4668
|
-
gridRowEnd?: Platform.Select<{
|
|
4669
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
4670
|
-
native: never;
|
|
4671
|
-
}> | undefined;
|
|
4672
|
-
gridRowStart?: Platform.Select<{
|
|
4673
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
4674
|
-
native: never;
|
|
4675
|
-
}> | undefined;
|
|
4676
|
-
gridTemplateAreas?: Platform.Select<{
|
|
4677
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4678
|
-
native: never;
|
|
4679
|
-
}> | undefined;
|
|
4680
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4681
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4682
|
-
native: never;
|
|
4683
|
-
}> | undefined;
|
|
4684
|
-
gridTemplateRows?: Platform.Select<{
|
|
4685
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4686
|
-
native: never;
|
|
4687
|
-
}> | undefined;
|
|
4688
|
-
gridArea?: Platform.Select<{
|
|
4689
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4690
|
-
native: never;
|
|
4691
|
-
}> | undefined;
|
|
4692
|
-
gridColumn?: Platform.Select<{
|
|
4693
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4694
|
-
native: never;
|
|
4695
|
-
}> | undefined;
|
|
4696
|
-
gridRow?: Platform.Select<{
|
|
4697
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4698
|
-
native: never;
|
|
4699
|
-
}> | undefined;
|
|
4700
|
-
gridTemplate?: Platform.Select<{
|
|
4701
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4702
|
-
native: never;
|
|
4703
|
-
}> | undefined;
|
|
4704
|
-
}, "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>>;
|
|
4705
4458
|
|
|
4706
4459
|
declare type RadioGroupProps = {
|
|
4707
4460
|
/**
|
|
@@ -4776,7 +4529,7 @@ declare type RadioGroupProps = {
|
|
|
4776
4529
|
* @default "medium"
|
|
4777
4530
|
*/
|
|
4778
4531
|
size?: 'small' | 'medium';
|
|
4779
|
-
} & TestID
|
|
4532
|
+
} & TestID & StyledPropsBlade;
|
|
4780
4533
|
declare const RadioGroup: ({ children, label, helpText, isDisabled, necessityIndicator, labelPosition, validationState, errorText, name, defaultValue, onChange, value, size, testID, ...styledProps }: RadioGroupProps) => React__default.ReactElement;
|
|
4781
4534
|
|
|
4782
4535
|
declare type BaseSpinnerProps = {
|
|
@@ -4809,7 +4562,7 @@ declare type BaseSpinnerProps = {
|
|
|
4809
4562
|
*
|
|
4810
4563
|
*/
|
|
4811
4564
|
accessibilityLabel: string;
|
|
4812
|
-
} & TestID
|
|
4565
|
+
} & TestID & StyledPropsBlade;
|
|
4813
4566
|
|
|
4814
4567
|
declare type SpinnerProps = Omit<BaseSpinnerProps, 'intent'>;
|
|
4815
4568
|
declare const Spinner: ({ label, labelPosition, accessibilityLabel, contrast, size, testID, ...styledProps }: SpinnerProps) => React.ReactElement;
|
|
@@ -4821,12 +4574,12 @@ declare type SkipNavLinkProps = {
|
|
|
4821
4574
|
declare const SkipNavLink: ({ id, children, }: SkipNavLinkProps) => JSX.Element;
|
|
4822
4575
|
declare type SkipNavContentProps = {
|
|
4823
4576
|
id?: string;
|
|
4824
|
-
} & TestID
|
|
4577
|
+
} & TestID;
|
|
4825
4578
|
declare const SkipNavContent: ({ id, testID, }: SkipNavContentProps) => JSX.Element;
|
|
4826
4579
|
|
|
4827
4580
|
declare type VisuallyHiddenProps = {
|
|
4828
4581
|
children: React.ReactNode;
|
|
4829
|
-
} & TestID
|
|
4582
|
+
} & TestID;
|
|
4830
4583
|
|
|
4831
4584
|
declare const VisuallyHidden: ({ children, testID }: VisuallyHiddenProps) => JSX.Element;
|
|
4832
4585
|
|
|
@@ -4879,123 +4632,7 @@ declare type AmountProps = {
|
|
|
4879
4632
|
* @default 'INR'
|
|
4880
4633
|
* */
|
|
4881
4634
|
currency?: Currency;
|
|
4882
|
-
} & TestID
|
|
4635
|
+
} & TestID & StyledPropsBlade;
|
|
4883
4636
|
declare const Amount: ({ value, suffix, size, isAffixSubtle, intent, prefix, testID, currency, ...styledProps }: AmountProps) => ReactElement;
|
|
4884
4637
|
|
|
4885
|
-
|
|
4886
|
-
testID?: string;
|
|
4887
|
-
};
|
|
4888
|
-
|
|
4889
|
-
declare const BaseBox: styled_components.StyledComponent<"div", styled_components.DefaultTheme, Omit<Partial<MakeObjectResponsive<{
|
|
4890
|
-
padding: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4891
|
-
paddingX: SpacingValueType;
|
|
4892
|
-
paddingY: SpacingValueType;
|
|
4893
|
-
paddingTop: SpacingValueType;
|
|
4894
|
-
paddingRight: SpacingValueType;
|
|
4895
|
-
paddingBottom: SpacingValueType;
|
|
4896
|
-
paddingLeft: SpacingValueType;
|
|
4897
|
-
}> & MakeObjectResponsive<{
|
|
4898
|
-
margin: SpacingValueType | ArrayOfMaxLength4<SpacingValueType>;
|
|
4899
|
-
marginX: SpacingValueType;
|
|
4900
|
-
marginY: SpacingValueType;
|
|
4901
|
-
marginTop: SpacingValueType;
|
|
4902
|
-
marginRight: SpacingValueType;
|
|
4903
|
-
marginBottom: SpacingValueType;
|
|
4904
|
-
marginLeft: SpacingValueType;
|
|
4905
|
-
}> & MakeObjectResponsive<{
|
|
4906
|
-
height: SpacingValueType;
|
|
4907
|
-
minHeight: SpacingValueType;
|
|
4908
|
-
maxHeight: SpacingValueType;
|
|
4909
|
-
width: SpacingValueType;
|
|
4910
|
-
minWidth: SpacingValueType;
|
|
4911
|
-
maxWidth: SpacingValueType;
|
|
4912
|
-
} & Pick<styled_components.CSSObject, "overflow" | "overflowX" | "overflowY"> & {
|
|
4913
|
-
display: csstype.Property.Display | undefined;
|
|
4914
|
-
} & {
|
|
4915
|
-
__brand__?: "platform-web" | undefined;
|
|
4916
|
-
}> & MakeObjectResponsive<{
|
|
4917
|
-
gap: SpacingValueType;
|
|
4918
|
-
rowGap: SpacingValueType;
|
|
4919
|
-
columnGap: SpacingValueType;
|
|
4920
|
-
} & Pick<styled_components.CSSObject, "alignContent" | "alignItems" | "alignSelf" | "flexBasis" | "flexDirection" | "flexGrow" | "flexShrink" | "flexWrap" | "justifyContent" | "justifyItems" | "justifySelf" | "order" | "flex" | "placeSelf">> & MakeObjectResponsive<{
|
|
4921
|
-
top: SpacingValueType;
|
|
4922
|
-
right: SpacingValueType;
|
|
4923
|
-
bottom: SpacingValueType;
|
|
4924
|
-
left: SpacingValueType;
|
|
4925
|
-
} & Pick<styled_components.CSSObject, "position" | "zIndex">> & {
|
|
4926
|
-
grid?: Platform.Select<{
|
|
4927
|
-
web: MakeValueResponsive<csstype.Property.Grid | undefined>;
|
|
4928
|
-
native: never;
|
|
4929
|
-
}> | undefined;
|
|
4930
|
-
gridAutoColumns?: Platform.Select<{
|
|
4931
|
-
web: MakeValueResponsive<csstype.Property.GridAutoColumns<string | number> | undefined>;
|
|
4932
|
-
native: never;
|
|
4933
|
-
}> | undefined;
|
|
4934
|
-
gridAutoFlow?: Platform.Select<{
|
|
4935
|
-
web: MakeValueResponsive<csstype.Property.GridAutoFlow | undefined>;
|
|
4936
|
-
native: never;
|
|
4937
|
-
}> | undefined;
|
|
4938
|
-
gridAutoRows?: Platform.Select<{
|
|
4939
|
-
web: MakeValueResponsive<csstype.Property.GridAutoRows<string | number> | undefined>;
|
|
4940
|
-
native: never;
|
|
4941
|
-
}> | undefined;
|
|
4942
|
-
gridColumnEnd?: Platform.Select<{
|
|
4943
|
-
web: MakeValueResponsive<csstype.Property.GridColumnEnd | undefined>;
|
|
4944
|
-
native: never;
|
|
4945
|
-
}> | undefined;
|
|
4946
|
-
gridColumnStart?: Platform.Select<{
|
|
4947
|
-
web: MakeValueResponsive<csstype.Property.GridColumnStart | undefined>;
|
|
4948
|
-
native: never;
|
|
4949
|
-
}> | undefined;
|
|
4950
|
-
gridRowEnd?: Platform.Select<{
|
|
4951
|
-
web: MakeValueResponsive<csstype.Property.GridRowEnd | undefined>;
|
|
4952
|
-
native: never;
|
|
4953
|
-
}> | undefined;
|
|
4954
|
-
gridRowStart?: Platform.Select<{
|
|
4955
|
-
web: MakeValueResponsive<csstype.Property.GridRowStart | undefined>;
|
|
4956
|
-
native: never;
|
|
4957
|
-
}> | undefined;
|
|
4958
|
-
gridTemplateAreas?: Platform.Select<{
|
|
4959
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateAreas | undefined>;
|
|
4960
|
-
native: never;
|
|
4961
|
-
}> | undefined;
|
|
4962
|
-
gridTemplateColumns?: Platform.Select<{
|
|
4963
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateColumns<string | number> | undefined>;
|
|
4964
|
-
native: never;
|
|
4965
|
-
}> | undefined;
|
|
4966
|
-
gridTemplateRows?: Platform.Select<{
|
|
4967
|
-
web: MakeValueResponsive<csstype.Property.GridTemplateRows<string | number> | undefined>;
|
|
4968
|
-
native: never;
|
|
4969
|
-
}> | undefined;
|
|
4970
|
-
gridArea?: Platform.Select<{
|
|
4971
|
-
web: MakeValueResponsive<csstype.Property.GridArea | undefined>;
|
|
4972
|
-
native: never;
|
|
4973
|
-
}> | undefined;
|
|
4974
|
-
gridColumn?: Platform.Select<{
|
|
4975
|
-
web: MakeValueResponsive<csstype.Property.GridColumn | undefined>;
|
|
4976
|
-
native: never;
|
|
4977
|
-
}> | undefined;
|
|
4978
|
-
gridRow?: Platform.Select<{
|
|
4979
|
-
web: MakeValueResponsive<csstype.Property.GridRow | undefined>;
|
|
4980
|
-
native: never;
|
|
4981
|
-
}> | undefined;
|
|
4982
|
-
gridTemplate?: Platform.Select<{
|
|
4983
|
-
web: MakeValueResponsive<csstype.Property.GridTemplate | undefined>;
|
|
4984
|
-
native: never;
|
|
4985
|
-
}> | undefined;
|
|
4986
|
-
} & MakeObjectResponsive<{
|
|
4987
|
-
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";
|
|
4988
|
-
}> & {
|
|
4989
|
-
as: "header" | "main" | "aside" | "div" | "footer" | "nav" | "section" | "span";
|
|
4990
|
-
} & {
|
|
4991
|
-
children?: React$1.ReactNode | React$1.ReactNode[];
|
|
4992
|
-
} & TestID>, "backgroundColor" | "as"> & Partial<MakeObjectResponsive<{
|
|
4993
|
-
borderRadius: "none" | "small" | "medium" | "large" | "max" | "round";
|
|
4994
|
-
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";
|
|
4995
|
-
lineHeight: SpacingValueType;
|
|
4996
|
-
} & Pick<styled_components.CSSObject, "border" | "transform" | "borderBottom" | "borderLeft" | "borderRight" | "borderTop">> & {
|
|
4997
|
-
className?: string | undefined;
|
|
4998
|
-
id?: string | undefined;
|
|
4999
|
-
}>, never>;
|
|
5000
|
-
|
|
5001
|
-
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 };
|