@gataca/design-system 4.0.1 → 4.2.0
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/dist/assets/{fonts~tMhwBATi.css → fonts~dmfyEwwg.css} +2 -1
- package/dist/assets/fonts~dmfyEwwg.css.map +1 -0
- package/dist/components/index.native.d.ts +3 -0
- package/dist/components/index.web.d.ts +3 -0
- package/dist/components/native/Buttons/SegmentedButton/SegmentedButton.types.native.d.ts +8 -1
- package/dist/components/native/Chips/Chip/Chip.config.native.d.ts +2 -0
- package/dist/components/native/Chips/Chip/Chip.types.native.d.ts +1 -0
- package/dist/components/native/Credentials/Credential/credential_styles.native.d.ts +2 -0
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_config.d.ts +0 -1
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_styles.native.d.ts +9 -122
- package/dist/components/native/Credentials/DiplomaCredential/diplomaCredential_types.native.d.ts +2 -7
- package/dist/components/native/Credentials/LegalAgeCredential/components/HexagonBadgeRing.d.ts +1 -1
- package/dist/components/native/Credentials/LegalAgeCredential/components/OuterBadgeHexagon.d.ts +14 -0
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_config.d.ts +0 -2
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_styles.native.d.ts +20 -350
- package/dist/components/native/Credentials/LegalAgeCredential/legalAgeCredential_types.native.d.ts +1 -0
- package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential_styles.native.d.ts +18 -58
- package/dist/components/native/Credentials/PersonalIdCredential/personalIdCredential_types.native.d.ts +1 -1
- package/dist/components/native/Icons/icons/withSelectedState/credentialView.d.ts +9 -0
- package/dist/components/native/Icons/icons/withSelectedState/stack.d.ts +9 -0
- package/dist/components/native/Icons/index.native.d.ts +2 -0
- package/dist/components/native/TextField/TextField/textField_config.d.ts +1 -1
- package/dist/components/web/Buttons/SegmentedButton/SegmentedButton.types.web.d.ts +8 -1
- package/dist/components/web/Chips/Chip/Chip.config.web.d.ts +2 -0
- package/dist/components/web/Chips/Chip/Chip.types.web.d.ts +1 -0
- package/dist/components/web/Credentials/DiplomaCredential/components/CircularText.d.ts +56 -0
- package/dist/components/web/Credentials/DiplomaCredential/components/Ribbon.d.ts +1 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential.web.d.ts +3 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential_config.d.ts +28 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential_styles.web.d.ts +4 -0
- package/dist/components/web/Credentials/DiplomaCredential/diplomaCredential_types.web.d.ts +15 -0
- package/dist/components/web/Credentials/DiplomaCredential/index.web.d.ts +2 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/DynamicBadgeBanner.d.ts +9 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/HexagonBadgeRing.d.ts +17 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/HexagonText.d.ts +46 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/InnerBadgeHexagon.d.ts +14 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/OuterBadgeHexagon.d.ts +14 -0
- package/dist/components/web/Credentials/LegalAgeCredential/components/Ribbon.d.ts +3 -0
- package/dist/components/web/Credentials/LegalAgeCredential/index.web.d.ts +2 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential.web.d.ts +3 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential_config.d.ts +24 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential_styles.web.d.ts +4 -0
- package/dist/components/web/Credentials/LegalAgeCredential/legalAgeCredential_types.web.d.ts +15 -0
- package/dist/components/web/Credentials/PersonalIdCredential/index.web.d.ts +2 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential.web.d.ts +3 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential_config.d.ts +17 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential_styles.web.d.ts +4 -0
- package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential_types.web.d.ts +19 -0
- package/dist/components/web/Icons/icons/withSelectedState/credentialView.d.ts +9 -0
- package/dist/components/web/Icons/icons/withSelectedState/stack.d.ts +9 -0
- package/dist/components/web/Icons/index.web.d.ts +2 -0
- package/dist/components/web/Illustrations/illustrations_types.d.ts +6 -0
- package/dist/components/web/Indicator/NumberBadges/numberBadges_types.web.d.ts +3 -3
- package/dist/components/web/Menus/MenuItem/MenuItem_types.web.d.ts +2 -2
- package/dist/components/web/TextField/TextField/textField_config.d.ts +1 -1
- package/dist/index.native.js +1 -1
- package/dist/index.native.js.map +1 -1
- package/dist/index.web.js +1 -1
- package/dist/index.web.js.map +1 -1
- package/dist/styles/Colors.d.ts +3 -1
- package/dist/utils/theming/themeProvider.d.ts +1 -1
- package/package.json +1 -1
- package/dist/assets/fonts~tMhwBATi.css.map +0 -1
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface CircularTextProps {
|
|
3
|
+
/**
|
|
4
|
+
* The text to display in circular form
|
|
5
|
+
* @example "CERTIFICATE"
|
|
6
|
+
*/
|
|
7
|
+
text: string;
|
|
8
|
+
/**
|
|
9
|
+
* Radius of the circle (distance from center to text)
|
|
10
|
+
* @default 30
|
|
11
|
+
*/
|
|
12
|
+
radius?: number;
|
|
13
|
+
/**
|
|
14
|
+
* Font size for the text
|
|
15
|
+
* @default 8
|
|
16
|
+
*/
|
|
17
|
+
fontSize?: number;
|
|
18
|
+
/**
|
|
19
|
+
* Font family for the text
|
|
20
|
+
* @default 'Poppins-Bold'
|
|
21
|
+
*/
|
|
22
|
+
fontFamily?: string;
|
|
23
|
+
/**
|
|
24
|
+
* Text color
|
|
25
|
+
* @default '#8C5E19'
|
|
26
|
+
*/
|
|
27
|
+
color?: string;
|
|
28
|
+
/**
|
|
29
|
+
* Container style
|
|
30
|
+
*/
|
|
31
|
+
style?: React.CSSProperties;
|
|
32
|
+
/**
|
|
33
|
+
* Starting rotation angle in degrees
|
|
34
|
+
* @default 0
|
|
35
|
+
*/
|
|
36
|
+
startAngle?: number;
|
|
37
|
+
}
|
|
38
|
+
/**
|
|
39
|
+
* CircularText Component
|
|
40
|
+
*
|
|
41
|
+
* Displays text arranged in a circular pattern.
|
|
42
|
+
* Each letter is individually positioned and rotated around a center point.
|
|
43
|
+
*
|
|
44
|
+
* @component
|
|
45
|
+
* @example
|
|
46
|
+
* ```tsx
|
|
47
|
+
* <CircularText
|
|
48
|
+
* text="CERTIFICATE"
|
|
49
|
+
* radius={30}
|
|
50
|
+
* fontSize={8}
|
|
51
|
+
* color="#8C5E19"
|
|
52
|
+
* />
|
|
53
|
+
* ```
|
|
54
|
+
*/
|
|
55
|
+
declare const CircularText: React.FC<CircularTextProps>;
|
|
56
|
+
export default CircularText;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function Ribbon(): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { DiplomaCredentialColors, DiplomaCredentialSize } from './diplomaCredential_types.web';
|
|
3
|
+
type DiplomaTheme = {
|
|
4
|
+
gradientColors: string[];
|
|
5
|
+
gradientStart: {
|
|
6
|
+
x: number;
|
|
7
|
+
y: number;
|
|
8
|
+
};
|
|
9
|
+
gradientEnd: {
|
|
10
|
+
x: number;
|
|
11
|
+
y: number;
|
|
12
|
+
};
|
|
13
|
+
labelColor: string;
|
|
14
|
+
primaryTextColor: string;
|
|
15
|
+
generalContainerStyle: any;
|
|
16
|
+
innerContainerStyle: any;
|
|
17
|
+
mainDataStyle: any;
|
|
18
|
+
frameStrokeStyle: any;
|
|
19
|
+
badgeDiplomaStyle: any;
|
|
20
|
+
};
|
|
21
|
+
type CreateDiplomaThemeArgs = {
|
|
22
|
+
colors: ColorsType;
|
|
23
|
+
generalStyles: Record<string, any>;
|
|
24
|
+
color?: DiplomaCredentialColors;
|
|
25
|
+
size?: DiplomaCredentialSize;
|
|
26
|
+
};
|
|
27
|
+
export declare const createDiplomaTheme: ({ colors, generalStyles, color, size, }: CreateDiplomaThemeArgs) => DiplomaTheme;
|
|
28
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HeadingCredentialProps } from '../../Headings/HeadingCredential/HeadingCredential_types.web';
|
|
2
|
+
export type DiplomaCredentialColors = 'white' | 'black';
|
|
3
|
+
export type DiplomaCredentialSize = 'default' | 'small';
|
|
4
|
+
export interface DiplomaCredentialProps {
|
|
5
|
+
headingCredential1: HeadingCredentialProps;
|
|
6
|
+
headingCredential2: HeadingCredentialProps;
|
|
7
|
+
headingCredential3: HeadingCredentialProps;
|
|
8
|
+
color?: DiplomaCredentialColors;
|
|
9
|
+
size?: DiplomaCredentialSize;
|
|
10
|
+
certificateText?: string;
|
|
11
|
+
containerStyle?: any;
|
|
12
|
+
hasBadge?: boolean;
|
|
13
|
+
isFavorite?: boolean;
|
|
14
|
+
onStarPress?: () => void;
|
|
15
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
text: string;
|
|
3
|
+
backgroundColor: string;
|
|
4
|
+
height?: number;
|
|
5
|
+
paddingLeft?: number;
|
|
6
|
+
paddingRight?: number;
|
|
7
|
+
};
|
|
8
|
+
export declare function DynamicBadgeBanner({ text, backgroundColor, height, paddingLeft, paddingRight, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
type Props = {
|
|
3
|
+
size: number;
|
|
4
|
+
text: string;
|
|
5
|
+
gradientColors: string[];
|
|
6
|
+
borderColor?: string;
|
|
7
|
+
textStartAngle?: number;
|
|
8
|
+
fontSize?: number;
|
|
9
|
+
style?: React.CSSProperties;
|
|
10
|
+
children?: any;
|
|
11
|
+
};
|
|
12
|
+
/**
|
|
13
|
+
* Hexagonal outer ring with circular/around-the-edge text,
|
|
14
|
+
* all contained within the same `size` square.
|
|
15
|
+
*/
|
|
16
|
+
export default function HexagonBadgeRing({ size, text, gradientColors, borderColor, fontSize, style, children, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
17
|
+
export {};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
interface HexagonTextProps {
|
|
3
|
+
text: string;
|
|
4
|
+
/**
|
|
5
|
+
* Circumradius: distance from the center to each hexagon vertex
|
|
6
|
+
* @default 30
|
|
7
|
+
*/
|
|
8
|
+
radius?: number;
|
|
9
|
+
/**
|
|
10
|
+
* Font size for the text
|
|
11
|
+
* @default 8
|
|
12
|
+
*/
|
|
13
|
+
fontSize?: number;
|
|
14
|
+
/**
|
|
15
|
+
* Font family for the text
|
|
16
|
+
* @default 'Poppins-Bold'
|
|
17
|
+
*/
|
|
18
|
+
fontFamily?: string;
|
|
19
|
+
/**
|
|
20
|
+
* Text color
|
|
21
|
+
* @default Colors.neutral1000
|
|
22
|
+
*/
|
|
23
|
+
color?: string;
|
|
24
|
+
/**
|
|
25
|
+
* Container style
|
|
26
|
+
*/
|
|
27
|
+
style?: React.CSSProperties;
|
|
28
|
+
/**
|
|
29
|
+
* Full hexagon rotation in degrees.
|
|
30
|
+
* @default 0
|
|
31
|
+
*/
|
|
32
|
+
startAngle?: number;
|
|
33
|
+
/**
|
|
34
|
+
* Text offset along the perimeter (0..1).
|
|
35
|
+
* 0 = starts at the first edge; 0.5 = half a turn.
|
|
36
|
+
* @default 0
|
|
37
|
+
*/
|
|
38
|
+
startOffset?: number;
|
|
39
|
+
/**
|
|
40
|
+
* If true, tries to keep letters readable by avoiding rotations > 90°.
|
|
41
|
+
* @default false
|
|
42
|
+
*/
|
|
43
|
+
keepUpright?: boolean;
|
|
44
|
+
}
|
|
45
|
+
declare const HexagonText: React.FC<HexagonTextProps>;
|
|
46
|
+
export default HexagonText;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function InnerBadgeHexagon({ size, cornerRadius, colors, strokeColor, strokeWidth, style, shadow1Blur, shadow2Blur, }: {
|
|
2
|
+
size: number;
|
|
3
|
+
cornerRadius?: number;
|
|
4
|
+
colors: string[];
|
|
5
|
+
strokeColor?: string;
|
|
6
|
+
strokeWidth?: number;
|
|
7
|
+
style?: any;
|
|
8
|
+
shadowEnabled?: boolean;
|
|
9
|
+
shadowColor?: string;
|
|
10
|
+
shadow1Opacity?: number;
|
|
11
|
+
shadow1Blur?: number;
|
|
12
|
+
shadow2Opacity?: number;
|
|
13
|
+
shadow2Blur?: number;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
export declare function OuterBadgeHexagon({ size, cornerRadius, colors, strokeColor, strokeWidth, style, shadow1Blur, shadow2Blur, }: {
|
|
2
|
+
size: number;
|
|
3
|
+
cornerRadius?: number;
|
|
4
|
+
colors: string[];
|
|
5
|
+
strokeColor?: string;
|
|
6
|
+
strokeWidth?: number;
|
|
7
|
+
style?: any;
|
|
8
|
+
shadowEnabled?: boolean;
|
|
9
|
+
shadowColor?: string;
|
|
10
|
+
shadow1Opacity?: number;
|
|
11
|
+
shadow1Blur?: number;
|
|
12
|
+
shadow2Opacity?: number;
|
|
13
|
+
shadow2Blur?: number;
|
|
14
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { LegalageCredentialProps, LegalageCredentialSize } from './legalAgeCredential_types.web';
|
|
3
|
+
type Age = NonNullable<LegalageCredentialProps['age']>;
|
|
4
|
+
type AgeTheme = {
|
|
5
|
+
bgImage: any;
|
|
6
|
+
headerBgColors: string;
|
|
7
|
+
badgeBorderColors: string[];
|
|
8
|
+
badgeInnerBorderColors: string[];
|
|
9
|
+
badgeRadialGradientColors: string[];
|
|
10
|
+
badgeInnerBorderColor: string;
|
|
11
|
+
badgeOuterBorderColor: string;
|
|
12
|
+
glowColor: string;
|
|
13
|
+
ribbonColors: string[];
|
|
14
|
+
labelColor: string;
|
|
15
|
+
valueColor: string;
|
|
16
|
+
};
|
|
17
|
+
export declare const createAgeTheme: (colors: ColorsType) => Record<Age, AgeTheme>;
|
|
18
|
+
type MainDataSizeTheme = {
|
|
19
|
+
mainDataStyle: any;
|
|
20
|
+
dataPadding: any;
|
|
21
|
+
};
|
|
22
|
+
export declare const createMainDataSizeTheme: (generalStyles: Record<string, any>) => Record<LegalageCredentialSize, MainDataSizeTheme>;
|
|
23
|
+
export declare const resolveMainDataSizeTheme: (generalStyles: Record<string, any>, size?: LegalageCredentialSize) => MainDataSizeTheme;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { HeadingCredentialProps } from '../../Headings/HeadingCredential/HeadingCredential_types.web';
|
|
2
|
+
export type LegalageCredentialAge = '16' | '18' | '21' | '65';
|
|
3
|
+
export type LegalageCredentialSize = 'default' | 'small';
|
|
4
|
+
export interface LegalageCredentialProps {
|
|
5
|
+
age?: LegalageCredentialAge;
|
|
6
|
+
size?: LegalageCredentialSize;
|
|
7
|
+
titleText: string;
|
|
8
|
+
headingCredential1: HeadingCredentialProps;
|
|
9
|
+
headingCredential2: HeadingCredentialProps;
|
|
10
|
+
onStarPress?: () => void;
|
|
11
|
+
isFavorite?: boolean;
|
|
12
|
+
certificateText?: string;
|
|
13
|
+
hasBadge?: boolean;
|
|
14
|
+
containerStyle?: any;
|
|
15
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { ColorsType } from '../../../../styles/Colors';
|
|
2
|
+
import { PersonalIdCredentialsColors, PersonalIdCredentialsSize } from './personalIdCredential_types.web';
|
|
3
|
+
type ColorTheme = {
|
|
4
|
+
idNumberColor: string;
|
|
5
|
+
gradientcolors: string[];
|
|
6
|
+
headerBgColor: string;
|
|
7
|
+
};
|
|
8
|
+
export declare const createColorTheme: (colors: ColorsType) => Record<PersonalIdCredentialsColors, ColorTheme>;
|
|
9
|
+
type SizeTheme = {
|
|
10
|
+
generalContainerStyle: any;
|
|
11
|
+
mainDataStyle: any;
|
|
12
|
+
photoPositionStyle: any;
|
|
13
|
+
dataPadding: any;
|
|
14
|
+
};
|
|
15
|
+
export declare const createPersonalIdSizeTheme: (generalStyles: Record<string, any>) => Record<PersonalIdCredentialsSize, SizeTheme>;
|
|
16
|
+
export declare const resolvePersonalIdSizeTheme: (generalStyles: Record<string, any>, size?: PersonalIdCredentialsSize) => SizeTheme;
|
|
17
|
+
export {};
|
package/dist/components/web/Credentials/PersonalIdCredential/personalIdCredential_types.web.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { HeadingCredentialProps } from '../../Headings/HeadingCredential/HeadingCredential_types.web';
|
|
2
|
+
export type PersonalIdCredentialsColors = 'grey' | 'blue';
|
|
3
|
+
export type PersonalIdCredentialsSize = 'default' | 'small';
|
|
4
|
+
export interface PersonalIdCredentialProps {
|
|
5
|
+
headingCredential1: HeadingCredentialProps;
|
|
6
|
+
headingCredential2: HeadingCredentialProps;
|
|
7
|
+
headingCredential3: HeadingCredentialProps;
|
|
8
|
+
headingCredential4?: HeadingCredentialProps;
|
|
9
|
+
headingCredential5: HeadingCredentialProps;
|
|
10
|
+
headingCredential6: HeadingCredentialProps;
|
|
11
|
+
photo?: {
|
|
12
|
+
uri: string;
|
|
13
|
+
};
|
|
14
|
+
color?: PersonalIdCredentialsColors;
|
|
15
|
+
isFavorite?: boolean;
|
|
16
|
+
size?: PersonalIdCredentialsSize;
|
|
17
|
+
containerStyle?: React.CSSProperties;
|
|
18
|
+
onStarPress?: () => void;
|
|
19
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconSize, IconStyle } from '../../icon_types';
|
|
2
|
+
type CredentialViewIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
style: IconStyle;
|
|
7
|
+
};
|
|
8
|
+
declare const CredentialViewIcon: (props: CredentialViewIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default CredentialViewIcon;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { IconSize, IconStyle } from '../../icon_types';
|
|
2
|
+
type StackIconProps = {
|
|
3
|
+
id?: string;
|
|
4
|
+
size: IconSize;
|
|
5
|
+
color?: string;
|
|
6
|
+
style: IconStyle;
|
|
7
|
+
};
|
|
8
|
+
declare const StackIcon: (props: StackIconProps) => import("react/jsx-runtime").JSX.Element;
|
|
9
|
+
export default StackIcon;
|
|
@@ -11,6 +11,7 @@ export { default as KeyIcon } from './icons/withSelectedState/key';
|
|
|
11
11
|
export { default as ConnectIcon } from './icons/withSelectedState/connect';
|
|
12
12
|
export { default as ServicesLinkedV4Icon } from './icons/withSelectedState/servicesLinkedV4';
|
|
13
13
|
export { default as CircleWarningIcon } from './icons/withSelectedState/circleWarning';
|
|
14
|
+
export { default as CredentialViewIcon } from './icons/withSelectedState/credentialView';
|
|
14
15
|
export { default as FeaturesIcon } from './icons/withSelectedState/features';
|
|
15
16
|
export { default as UsersV2Icon } from './icons/withSelectedState/users';
|
|
16
17
|
export { default as AwardIcon } from './icons/withSelectedState/award';
|
|
@@ -27,6 +28,7 @@ export { default as PaymentMethodIcon } from './icons/withSelectedState/paymentM
|
|
|
27
28
|
export { default as StarIcon } from './icons/withSelectedState/star';
|
|
28
29
|
export { default as SubscriptionsIcon } from './icons/withSelectedState/subscriptions';
|
|
29
30
|
export { default as StampIcon } from './icons/withSelectedState/stamp';
|
|
31
|
+
export { default as StackIcon } from './icons/withSelectedState/stack';
|
|
30
32
|
export { default as SettingsIcon } from './icons/withSelectedState/settings';
|
|
31
33
|
export { default as ServicesLinkedV2Icon } from './icons/withSelectedState/servicesLinkedV2';
|
|
32
34
|
export { default as ShieldCheckIcon } from './icons/withSelectedState/shieldCheck';
|
|
@@ -34,6 +34,12 @@ export declare const IllustrationsMap: {
|
|
|
34
34
|
credentialPrimary: any;
|
|
35
35
|
credentialSecondary: any;
|
|
36
36
|
credentialTertiary: any;
|
|
37
|
+
medalStar: any;
|
|
38
|
+
medalCheck: any;
|
|
39
|
+
legalAgeBgPurple: any;
|
|
40
|
+
legalAgeBgGreen: any;
|
|
41
|
+
legalAgeBgBlack: any;
|
|
42
|
+
legalAgeBgGrey: any;
|
|
37
43
|
};
|
|
38
44
|
export declare const stateIllustrations: string[];
|
|
39
45
|
export declare const credentialIllustrations: string[];
|
|
@@ -13,8 +13,8 @@ export declare enum numberBadgesBgColorByState {
|
|
|
13
13
|
'hover' = "neutral600"
|
|
14
14
|
}
|
|
15
15
|
export declare enum numberBadgesTextColorByState {
|
|
16
|
-
'enable' = "
|
|
17
|
-
'active' = "
|
|
16
|
+
'enable' = "fundationWhite",
|
|
17
|
+
'active' = "fundationWhite",
|
|
18
18
|
'disable' = "neutral600",
|
|
19
|
-
'hover' = "
|
|
19
|
+
'hover' = "fundationWhite"
|
|
20
20
|
}
|
|
@@ -51,8 +51,8 @@ export declare enum stateLeadingIconColors {
|
|
|
51
51
|
'hover' = "neutral1000"
|
|
52
52
|
}
|
|
53
53
|
export declare enum backgroundColorByState {
|
|
54
|
-
'enable' = "
|
|
54
|
+
'enable' = "fundationWhite",
|
|
55
55
|
'active' = "primary100",
|
|
56
|
-
'disable' = "
|
|
56
|
+
'disable' = "fundationWhite",
|
|
57
57
|
'hover' = "neutral200"
|
|
58
58
|
}
|
|
@@ -13,5 +13,5 @@ export declare const inputBorder: {
|
|
|
13
13
|
error: string;
|
|
14
14
|
};
|
|
15
15
|
export declare const inputColor: (state: TextFieldState, value?: string) => "neutral600" | "neutral1000";
|
|
16
|
-
export declare const inputBackgroundColor: (state: TextFieldState) => "
|
|
16
|
+
export declare const inputBackgroundColor: (state: TextFieldState) => "fundationWhite" | "neutral300";
|
|
17
17
|
export declare const helperTextColor: (state: TextFieldState) => "neutral600" | "success300" | "alert300";
|