@pagopa/io-app-design-system 2.0.2 → 2.1.0-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/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
- package/lib/commonjs/components/badge/Badge.js +2 -2
- package/lib/commonjs/components/badge/Badge.js.map +1 -1
- package/lib/commonjs/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/commonjs/components/buttons/ButtonLink.js +2 -2
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +2 -2
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +2 -2
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +3 -3
- package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +7 -4
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
- package/lib/commonjs/components/modules/ModuleAttachment.js +2 -1
- package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleCredential.js +2 -1
- package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleIDP.js +2 -2
- package/lib/commonjs/components/modules/ModuleIDP.js.map +1 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js +2 -1
- package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/commonjs/components/modules/ModulePaymentNotice.js +3 -2
- package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js +1 -1
- package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
- package/lib/commonjs/components/tag/Tag.js +2 -2
- package/lib/commonjs/components/tag/Tag.js.map +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js +1 -1
- package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
- package/lib/commonjs/components/typography/Body.js +10 -3
- package/lib/commonjs/components/typography/Body.js.map +1 -1
- package/lib/commonjs/components/typography/ButtonText.js +2 -2
- package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
- package/lib/commonjs/components/typography/Caption.js +1 -1
- package/lib/commonjs/components/typography/Caption.js.map +1 -1
- package/lib/commonjs/components/typography/Chip.js +1 -1
- package/lib/commonjs/components/typography/Chip.js.map +1 -1
- package/lib/commonjs/components/typography/H1.js +4 -6
- package/lib/commonjs/components/typography/H1.js.map +1 -1
- package/lib/commonjs/components/typography/H2.js +2 -2
- package/lib/commonjs/components/typography/H2.js.map +1 -1
- package/lib/commonjs/components/typography/H3.js +2 -2
- package/lib/commonjs/components/typography/H3.js.map +1 -1
- package/lib/commonjs/components/typography/H4.js +2 -2
- package/lib/commonjs/components/typography/H4.js.map +1 -1
- package/lib/commonjs/components/typography/H5.js +9 -2
- package/lib/commonjs/components/typography/H5.js.map +1 -1
- package/lib/commonjs/components/typography/H6.js +4 -6
- package/lib/commonjs/components/typography/H6.js.map +1 -1
- package/lib/commonjs/components/typography/Hero.js +2 -2
- package/lib/commonjs/components/typography/Hero.js.map +1 -1
- package/lib/commonjs/components/typography/Label.js +10 -2
- package/lib/commonjs/components/typography/Label.js.map +1 -1
- package/lib/commonjs/components/typography/LabelMini.js +10 -2
- package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
- package/lib/commonjs/components/typography/LabelSmall.js +10 -2
- package/lib/commonjs/components/typography/LabelSmall.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +6 -6
- package/lib/commonjs/components/typography/index.js +0 -11
- package/lib/commonjs/components/typography/index.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH1.js +2 -2
- package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH2.js +3 -5
- package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/commonjs/components/typography/markdown/MdH3.js +2 -2
- package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/commonjs/core/IOColors.js +3 -1
- package/lib/commonjs/core/IOColors.js.map +1 -1
- package/lib/commonjs/utils/fonts.js +10 -8
- package/lib/commonjs/utils/fonts.js.map +1 -1
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
- package/lib/module/components/badge/Badge.js +2 -2
- package/lib/module/components/badge/Badge.js.map +1 -1
- package/lib/module/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/lib/module/components/buttons/ButtonLink.js +2 -2
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +2 -2
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
- package/lib/module/components/layout/HeaderSecondLevel.js +2 -2
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/listitems/ListItemRadioWithAmount.js +3 -3
- package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +8 -5
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
- package/lib/module/components/modules/ModuleAttachment.js +3 -2
- package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
- package/lib/module/components/modules/ModuleCredential.js +3 -2
- package/lib/module/components/modules/ModuleCredential.js.map +1 -1
- package/lib/module/components/modules/ModuleIDP.js +2 -2
- package/lib/module/components/modules/ModuleIDP.js.map +1 -1
- package/lib/module/components/modules/ModuleNavigation.js +3 -2
- package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
- package/lib/module/components/modules/ModulePaymentNotice.js +4 -3
- package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
- package/lib/module/components/searchInput/SearchInput.js +1 -1
- package/lib/module/components/searchInput/SearchInput.js.map +1 -1
- package/lib/module/components/tag/Tag.js +2 -2
- package/lib/module/components/tag/Tag.js.map +1 -1
- package/lib/module/components/textInput/TextInputBase.js +1 -1
- package/lib/module/components/textInput/TextInputBase.js.map +1 -1
- package/lib/module/components/typography/Body.js +10 -3
- package/lib/module/components/typography/Body.js.map +1 -1
- package/lib/module/components/typography/ButtonText.js +2 -2
- package/lib/module/components/typography/ButtonText.js.map +1 -1
- package/lib/module/components/typography/Caption.js +1 -1
- package/lib/module/components/typography/Caption.js.map +1 -1
- package/lib/module/components/typography/Chip.js +1 -1
- package/lib/module/components/typography/Chip.js.map +1 -1
- package/lib/module/components/typography/H1.js +4 -6
- package/lib/module/components/typography/H1.js.map +1 -1
- package/lib/module/components/typography/H2.js +2 -2
- package/lib/module/components/typography/H2.js.map +1 -1
- package/lib/module/components/typography/H3.js +2 -2
- package/lib/module/components/typography/H3.js.map +1 -1
- package/lib/module/components/typography/H4.js +2 -2
- package/lib/module/components/typography/H4.js.map +1 -1
- package/lib/module/components/typography/H5.js +10 -3
- package/lib/module/components/typography/H5.js.map +1 -1
- package/lib/module/components/typography/H6.js +4 -6
- package/lib/module/components/typography/H6.js.map +1 -1
- package/lib/module/components/typography/Hero.js +2 -2
- package/lib/module/components/typography/Hero.js.map +1 -1
- package/lib/module/components/typography/Label.js +11 -3
- package/lib/module/components/typography/Label.js.map +1 -1
- package/lib/module/components/typography/LabelMini.js +11 -3
- package/lib/module/components/typography/LabelMini.js.map +1 -1
- package/lib/module/components/typography/LabelSmall.js +11 -3
- package/lib/module/components/typography/LabelSmall.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +6 -6
- package/lib/module/components/typography/index.js +0 -1
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH1.js +2 -2
- package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH2.js +3 -5
- package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
- package/lib/module/components/typography/markdown/MdH3.js +2 -2
- package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
- package/lib/module/core/IOColors.js +3 -1
- package/lib/module/core/IOColors.js.map +1 -1
- package/lib/module/utils/fonts.js +10 -8
- package/lib/module/utils/fonts.js.map +1 -1
- package/lib/typescript/components/listitems/ListItemRadioWithAmount.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleAttachment.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleCredential.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModuleNavigation.d.ts.map +1 -1
- package/lib/typescript/components/modules/ModulePaymentNotice.d.ts.map +1 -1
- package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
- package/lib/typescript/components/typography/Body.d.ts.map +1 -1
- package/lib/typescript/components/typography/H1.d.ts.map +1 -1
- package/lib/typescript/components/typography/H5.d.ts.map +1 -1
- package/lib/typescript/components/typography/H6.d.ts.map +1 -1
- package/lib/typescript/components/typography/Label.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
- package/lib/typescript/components/typography/LabelSmall.d.ts.map +1 -1
- package/lib/typescript/components/typography/index.d.ts +0 -1
- package/lib/typescript/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
- package/lib/typescript/core/IOColors.d.ts +1 -1
- package/lib/typescript/core/IOColors.d.ts.map +1 -1
- package/lib/typescript/utils/fonts.d.ts +8 -8
- package/lib/typescript/utils/fonts.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -1
- package/src/components/badge/Badge.tsx +2 -2
- package/src/components/badge/__test__/__snapshots__/badge.test.tsx.snap +2 -2
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +6 -6
- package/src/components/buttons/ButtonLink.tsx +2 -2
- package/src/components/buttons/ButtonOutline.tsx +2 -2
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +6 -6
- package/src/components/layout/HeaderSecondLevel.tsx +2 -2
- package/src/components/listitems/ListItemRadioWithAmount.tsx +7 -4
- package/src/components/listitems/ListItemTransaction.tsx +9 -5
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +37 -37
- package/src/components/modules/ModuleAttachment.tsx +4 -3
- package/src/components/modules/ModuleCredential.tsx +4 -3
- package/src/components/modules/ModuleIDP.tsx +2 -2
- package/src/components/modules/ModuleNavigation.tsx +4 -3
- package/src/components/modules/ModulePaymentNotice.tsx +4 -3
- package/src/components/searchInput/SearchInput.tsx +1 -1
- package/src/components/tag/Tag.tsx +2 -2
- package/src/components/textInput/TextInputBase.tsx +1 -6
- package/src/components/typography/Body.tsx +15 -4
- package/src/components/typography/ButtonText.tsx +2 -2
- package/src/components/typography/Caption.tsx +1 -1
- package/src/components/typography/Chip.tsx +1 -1
- package/src/components/typography/H1.tsx +4 -6
- package/src/components/typography/H2.tsx +2 -2
- package/src/components/typography/H3.tsx +2 -2
- package/src/components/typography/H4.tsx +2 -2
- package/src/components/typography/H5.tsx +11 -4
- package/src/components/typography/H6.tsx +4 -6
- package/src/components/typography/Hero.tsx +2 -2
- package/src/components/typography/Label.tsx +15 -4
- package/src/components/typography/LabelMini.tsx +15 -4
- package/src/components/typography/LabelSmall.tsx +15 -4
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +6 -6
- package/src/components/typography/index.tsx +0 -1
- package/src/components/typography/markdown/MdH1.tsx +2 -2
- package/src/components/typography/markdown/MdH2.tsx +3 -5
- package/src/components/typography/markdown/MdH3.tsx +2 -2
- package/src/core/IOColors.ts +3 -0
- package/src/utils/fonts.ts +20 -10
- package/lib/commonjs/components/typography/LabelSmallAlt.js +0 -48
- package/lib/commonjs/components/typography/LabelSmallAlt.js.map +0 -1
- package/lib/module/components/typography/LabelSmallAlt.js +0 -39
- package/lib/module/components/typography/LabelSmallAlt.js.map +0 -1
- package/lib/typescript/components/typography/LabelSmallAlt.d.ts +0 -13
- package/lib/typescript/components/typography/LabelSmallAlt.d.ts.map +0 -1
- package/src/components/typography/LabelSmallAlt.tsx +0 -41
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MdH2.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAU,WAAW,EAAyB,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;
|
|
1
|
+
{"version":3,"file":"MdH2.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH2.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAmC,MAAM,OAAO,CAAC;AACxD,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAU,WAAW,EAAyB,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;8BAoBhB,CAAC"}
|
|
@@ -180,7 +180,7 @@ export declare const IOColorsExtra: {
|
|
|
180
180
|
"blue-50": string;
|
|
181
181
|
};
|
|
182
182
|
export type IOColorsExtra = keyof typeof IOColorsExtra;
|
|
183
|
-
declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "icon-default", "icon-decorative", "divider-header", "divider-default", "divider-bottomBar", "errorIcon", "errorText", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
|
|
183
|
+
declare const themeKeys: readonly ["appBackground-primary", "appBackground-secondary", "appBackground-tertiary", "appBackground-accent", "interactiveElem-default", "interactiveElem-pressed", "listItem-pressed", "textHeading-default", "textHeading-secondary", "textHeading-tertiary", "textBody-default", "textBody-secondary", "textBody-tertiary", "cardBorder-default", "icon-default", "icon-decorative", "divider-header", "divider-default", "divider-bottomBar", "errorIcon", "errorText", "successText", "pictogram-hands", "pictogram-tint-main", "pictogram-tint-secondary", "pictogram-tint-tertiary"];
|
|
184
184
|
export type IOTheme = {
|
|
185
185
|
[K in (typeof themeKeys)[number]]: IOColors;
|
|
186
186
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"IOColors.d.ts","sourceRoot":"","sources":["../../../src/core/IOColors.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AAC5C,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,OAAO,KAAK,cAAc,MAAM,8BAA8B,CAAC;AAyB/D,eAAO,MAAM,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA2EnB,CAAC;AAEH,MAAM,MAAM,QAAQ,GAAG,MAAM,OAAO,QAAQ,CAAC;AAE7C,eAAO,MAAM,gBAAgB;;;;;;;;;;;;;;;;CAgB3B,CAAC;AAEH,MAAM,MAAM,gBAAgB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAE7D,eAAO,MAAM,sBAAsB,eACrB,gBAAgB,KAC3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AKhC,CAAC;AAEF,eAAO,MAAM,WAAW,EAAE,OA+BzB,CAAC;AAEF,eAAO,MAAM,0BAA0B;;;;;;;;;;;;;;;;;CAiBrC,CAAC;AAEH,MAAM,MAAM,0BAA0B,GACpC,MAAM,OAAO,0BAA0B,CAAC;AAE1C,eAAO,MAAM,yBAAyB,EAAE,MAAM,CAC5C,WAAW,CAAC,0BAA0B,CAAC,EACvC,cAAc,CAkBf,CAAC;AAEF,MAAM,MAAM,yBAAyB,GAAG,MAAM,OAAO,yBAAyB,CAAC;AAM/E;;;;GAIG;AAEH,eAAO,MAAM,SAAS,YAAa,UAAU,YAAW,MAAM,WAQ7D,CAAC"}
|
|
@@ -8,16 +8,16 @@ import { TextStyle } from "react-native";
|
|
|
8
8
|
* Choose the font name based on the platform
|
|
9
9
|
*/
|
|
10
10
|
declare const fonts: {
|
|
11
|
-
TitilliumSansPro: string;
|
|
12
|
-
|
|
13
|
-
DMMono: string;
|
|
11
|
+
readonly TitilliumSansPro: string;
|
|
12
|
+
readonly Titillio: string;
|
|
13
|
+
readonly DMMono: string;
|
|
14
14
|
};
|
|
15
15
|
export type IOFontFamily = keyof typeof fonts;
|
|
16
|
-
declare const allFontSizes: (16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 |
|
|
16
|
+
declare const allFontSizes: (26 | 16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 | 31 | 35)[];
|
|
17
17
|
export type IOFontSize = (typeof allFontSizes)[number];
|
|
18
|
-
declare const weights: readonly ["Light", "Regular", "Medium", "Semibold", "Bold"];
|
|
18
|
+
declare const weights: readonly ["Thin", "Light", "Regular", "Medium", "Semibold", "Bold", "Black"];
|
|
19
19
|
export type IOFontWeight = (typeof weights)[number];
|
|
20
|
-
declare const weightValues: readonly ["300", "400", "500", "600", "700"];
|
|
20
|
+
declare const weightValues: readonly ["200", "300", "400", "500", "600", "700", "900"];
|
|
21
21
|
export type IOFontWeightNumeric = (typeof weightValues)[number];
|
|
22
22
|
/**
|
|
23
23
|
* Mapping between the nominal description of the weight (also the postfix used on Android) and the numeric value
|
|
@@ -38,7 +38,7 @@ type FontStyleObject = {
|
|
|
38
38
|
* @param weight
|
|
39
39
|
* @param isItalic
|
|
40
40
|
*/
|
|
41
|
-
export declare const makeFontFamilyName: (font: IOFontFamily, weight?: IOFontWeight, fontStyle?: TextStyle["fontStyle"]) =>
|
|
41
|
+
export declare const makeFontFamilyName: (font: IOFontFamily, weight?: IOFontWeight, fontStyle?: TextStyle["fontStyle"]) => string;
|
|
42
42
|
/**
|
|
43
43
|
* Return a {@link FontStyleObject} with the fields filled based on the platform (iOS or Android).
|
|
44
44
|
* @param size
|
|
@@ -46,6 +46,6 @@ export declare const makeFontFamilyName: (font: IOFontFamily, weight?: IOFontWei
|
|
|
46
46
|
* @param weight
|
|
47
47
|
* @param fontStyle
|
|
48
48
|
*/
|
|
49
|
-
export declare const makeFontStyleObject: (size: 16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 |
|
|
49
|
+
export declare const makeFontStyleObject: (size: 26 | 16 | 12 | 20 | 32 | 14 | 18 | 28 | 22 | 31 | 35 | undefined, font: "TitilliumSansPro" | "Titillio" | "DMMono" | undefined, lineHeight: TextStyle["lineHeight"], weight?: IOFontWeight, fontStyle?: TextStyle["fontStyle"], boldEnabled?: boolean) => FontStyleObject;
|
|
50
50
|
export {};
|
|
51
51
|
//# sourceMappingURL=fonts.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../src/utils/fonts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAY,SAAS,EAAE,MAAM,cAAc,CAAC;AAEnD;;GAEG;AACH,QAAA,MAAM,KAAK;;;;
|
|
1
|
+
{"version":3,"file":"fonts.d.ts","sourceRoot":"","sources":["../../../src/utils/fonts.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AAEH,OAAO,EAAY,SAAS,EAAE,MAAM,cAAc,CAAC;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OText
|
|
167
|
-
font={isExperimental ? "
|
|
168
|
-
weight={
|
|
167
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
168
|
+
weight={"Semibold"}
|
|
169
169
|
size={12}
|
|
170
170
|
lineHeight={16}
|
|
171
171
|
color={foreground}
|
|
@@ -30,10 +30,10 @@ exports[`Test Badge Components - Experimental Enabled Badge Snapshot 1`] = `
|
|
|
30
30
|
{},
|
|
31
31
|
{
|
|
32
32
|
"color": "#555C70",
|
|
33
|
-
"fontFamily": "
|
|
33
|
+
"fontFamily": "Titillio",
|
|
34
34
|
"fontSize": 12,
|
|
35
35
|
"fontStyle": "normal",
|
|
36
|
-
"fontWeight": "
|
|
36
|
+
"fontWeight": "600",
|
|
37
37
|
"lineHeight": 16,
|
|
38
38
|
},
|
|
39
39
|
{
|
|
@@ -80,10 +80,10 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
80
80
|
{},
|
|
81
81
|
{
|
|
82
82
|
"color": "#031344",
|
|
83
|
-
"fontFamily": "
|
|
83
|
+
"fontFamily": "Titillio",
|
|
84
84
|
"fontSize": 16,
|
|
85
85
|
"fontStyle": "normal",
|
|
86
|
-
"fontWeight": "
|
|
86
|
+
"fontWeight": "600",
|
|
87
87
|
"lineHeight": 24,
|
|
88
88
|
},
|
|
89
89
|
]
|
|
@@ -192,10 +192,10 @@ exports[`Test Banner Components - Experimental Enabled Banner Snapshot 1`] = `
|
|
|
192
192
|
{},
|
|
193
193
|
{
|
|
194
194
|
"color": "#0E0F13",
|
|
195
|
-
"fontFamily": "
|
|
195
|
+
"fontFamily": "Titillio",
|
|
196
196
|
"fontSize": 16,
|
|
197
197
|
"fontStyle": "normal",
|
|
198
|
-
"fontWeight": "
|
|
198
|
+
"fontWeight": "600",
|
|
199
199
|
"lineHeight": undefined,
|
|
200
200
|
},
|
|
201
201
|
{
|
|
@@ -430,10 +430,10 @@ exports[`Test Banner Components Banner Snapshot 1`] = `
|
|
|
430
430
|
{
|
|
431
431
|
"color": "#031344",
|
|
432
432
|
"fontFamily": "Titillium Sans Pro",
|
|
433
|
-
"fontSize":
|
|
433
|
+
"fontSize": 16,
|
|
434
434
|
"fontStyle": "normal",
|
|
435
435
|
"fontWeight": "600",
|
|
436
|
-
"lineHeight":
|
|
436
|
+
"lineHeight": 24,
|
|
437
437
|
},
|
|
438
438
|
]
|
|
439
439
|
}
|
|
@@ -237,8 +237,8 @@ export const ButtonLink = React.forwardRef<View, ButtonLinkProps>(
|
|
|
237
237
|
accessible={false}
|
|
238
238
|
accessibilityElementsHidden
|
|
239
239
|
importantForAccessibility="no-hide-descendants"
|
|
240
|
-
font={isExperimental ? "
|
|
241
|
-
weight={isExperimental ? "
|
|
240
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
241
|
+
weight={isExperimental ? "Semibold" : "Bold"}
|
|
242
242
|
size={buttonTextFontSize}
|
|
243
243
|
style={
|
|
244
244
|
disabled
|
|
@@ -374,8 +374,8 @@ export const ButtonOutline = React.forwardRef<View, ButtonOutline>(
|
|
|
374
374
|
</>
|
|
375
375
|
)}
|
|
376
376
|
<AnimatedIOText
|
|
377
|
-
font={isExperimental ? "
|
|
378
|
-
weight={isExperimental ? "
|
|
377
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
378
|
+
weight={isExperimental ? "Semibold" : "Bold"}
|
|
379
379
|
size={buttonTextFontSize}
|
|
380
380
|
accessible={false}
|
|
381
381
|
accessibilityElementsHidden
|
|
@@ -83,10 +83,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonLink Snapshot 1`]
|
|
|
83
83
|
{},
|
|
84
84
|
{
|
|
85
85
|
"color": "#0E0F13",
|
|
86
|
-
"fontFamily": "
|
|
86
|
+
"fontFamily": "Titillio",
|
|
87
87
|
"fontSize": 16,
|
|
88
88
|
"fontStyle": "normal",
|
|
89
|
-
"fontWeight": "
|
|
89
|
+
"fontWeight": "600",
|
|
90
90
|
"lineHeight": undefined,
|
|
91
91
|
},
|
|
92
92
|
{
|
|
@@ -190,10 +190,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonOutline Snapshot 1
|
|
|
190
190
|
{},
|
|
191
191
|
{
|
|
192
192
|
"color": "#0E0F13",
|
|
193
|
-
"fontFamily": "
|
|
193
|
+
"fontFamily": "Titillio",
|
|
194
194
|
"fontSize": 16,
|
|
195
195
|
"fontStyle": "normal",
|
|
196
|
-
"fontWeight": "
|
|
196
|
+
"fontWeight": "600",
|
|
197
197
|
"lineHeight": undefined,
|
|
198
198
|
},
|
|
199
199
|
[
|
|
@@ -311,10 +311,10 @@ exports[`Test Buttons Components - Experimental Enabled ButtonSolid Snapshot 1`]
|
|
|
311
311
|
{},
|
|
312
312
|
{
|
|
313
313
|
"color": "#FFFFFF",
|
|
314
|
-
"fontFamily": "
|
|
314
|
+
"fontFamily": "Titillio",
|
|
315
315
|
"fontSize": 16,
|
|
316
316
|
"fontStyle": "normal",
|
|
317
|
-
"fontWeight": "
|
|
317
|
+
"fontWeight": "600",
|
|
318
318
|
"lineHeight": 20,
|
|
319
319
|
},
|
|
320
320
|
{
|
|
@@ -303,8 +303,8 @@ export const HeaderSecondLevel = ({
|
|
|
303
303
|
size={14}
|
|
304
304
|
numberOfLines={1}
|
|
305
305
|
accessible={false}
|
|
306
|
-
font={isExperimental ? "
|
|
307
|
-
weight={
|
|
306
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
307
|
+
weight={"Semibold"}
|
|
308
308
|
style={[
|
|
309
309
|
{ color: titleColor, textAlign: "center" },
|
|
310
310
|
titleAnimatedStyle
|
|
@@ -5,8 +5,7 @@ import { IOColors, useIOTheme } from "../../core";
|
|
|
5
5
|
import { Icon } from "../icons";
|
|
6
6
|
import { AnimatedRadio } from "../radio/AnimatedRadio";
|
|
7
7
|
import { HSpacer, VSpacer } from "../spacer";
|
|
8
|
-
import { H6,
|
|
9
|
-
import { LabelSmall } from "../typography/LabelSmall";
|
|
8
|
+
import { H6, LabelSmall } from "../typography";
|
|
10
9
|
import { PressableListItemBase } from "./PressableListItemsBase";
|
|
11
10
|
|
|
12
11
|
export type ListItemRadioWithAmountProps = {
|
|
@@ -56,9 +55,13 @@ export const ListItemRadioWithAmount = ({
|
|
|
56
55
|
}}
|
|
57
56
|
>
|
|
58
57
|
<View style={{ flexShrink: 1 }}>
|
|
59
|
-
<
|
|
58
|
+
<LabelSmall
|
|
59
|
+
weight="Semibold"
|
|
60
|
+
numberOfLines={1}
|
|
61
|
+
color={theme["textBody-default"]}
|
|
62
|
+
>
|
|
60
63
|
{label}
|
|
61
|
-
</
|
|
64
|
+
</LabelSmall>
|
|
62
65
|
{isSuggested && (
|
|
63
66
|
<>
|
|
64
67
|
<VSpacer size={4} />
|
|
@@ -24,7 +24,7 @@ import { LogoPaymentWithFallback } from "../common/LogoPaymentWithFallback";
|
|
|
24
24
|
import { IOIconSizeScale, Icon } from "../icons";
|
|
25
25
|
import { IOLogoPaymentType } from "../logos";
|
|
26
26
|
import { VSpacer } from "../spacer";
|
|
27
|
-
import { H6, LabelSmall
|
|
27
|
+
import { H6, LabelSmall } from "../typography";
|
|
28
28
|
import {
|
|
29
29
|
PressableBaseProps,
|
|
30
30
|
PressableListItemBase
|
|
@@ -142,6 +142,9 @@ export const ListItemTransaction = ({
|
|
|
142
142
|
? theme["interactiveElem-default"]
|
|
143
143
|
: "blue";
|
|
144
144
|
|
|
145
|
+
const amountColor: IOColors = theme["textBody-default"];
|
|
146
|
+
const successColor: IOColors = theme.successText;
|
|
147
|
+
|
|
145
148
|
const ListItemTransactionContent = () => {
|
|
146
149
|
const TransactionAmountOrBadgeComponent = () => {
|
|
147
150
|
switch (transactionStatus) {
|
|
@@ -149,7 +152,7 @@ export const ListItemTransaction = ({
|
|
|
149
152
|
return (
|
|
150
153
|
<H6
|
|
151
154
|
accessibilityLabel={getAccessibleAmountText(transactionAmount)}
|
|
152
|
-
color={hasChevronRight ? interactiveColor :
|
|
155
|
+
color={hasChevronRight ? interactiveColor : amountColor}
|
|
153
156
|
numberOfLines={numberOfLines}
|
|
154
157
|
>
|
|
155
158
|
{transactionAmount || ""}
|
|
@@ -159,7 +162,7 @@ export const ListItemTransaction = ({
|
|
|
159
162
|
return (
|
|
160
163
|
<H6
|
|
161
164
|
accessibilityLabel={getAccessibleAmountText(transactionAmount)}
|
|
162
|
-
color={hasChevronRight ? interactiveColor :
|
|
165
|
+
color={hasChevronRight ? interactiveColor : successColor}
|
|
163
166
|
numberOfLines={numberOfLines}
|
|
164
167
|
>
|
|
165
168
|
{transactionAmount || ""}
|
|
@@ -189,12 +192,13 @@ export const ListItemTransaction = ({
|
|
|
189
192
|
</View>
|
|
190
193
|
)}
|
|
191
194
|
<View style={IOStyles.flex}>
|
|
192
|
-
<
|
|
195
|
+
<LabelSmall
|
|
193
196
|
numberOfLines={numberOfLines}
|
|
194
197
|
color={theme["textBody-default"]}
|
|
198
|
+
weight="Semibold"
|
|
195
199
|
>
|
|
196
200
|
{title}
|
|
197
|
-
</
|
|
201
|
+
</LabelSmall>
|
|
198
202
|
<LabelSmall weight="Regular" color={theme["textBody-tertiary"]}>
|
|
199
203
|
{subtitle}
|
|
200
204
|
</LabelSmall>
|
|
@@ -84,10 +84,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemAction Snapsh
|
|
|
84
84
|
{},
|
|
85
85
|
{
|
|
86
86
|
"color": "#0B3EE3",
|
|
87
|
-
"fontFamily": "
|
|
87
|
+
"fontFamily": "Titillio",
|
|
88
88
|
"fontSize": 16,
|
|
89
89
|
"fontStyle": "normal",
|
|
90
|
-
"fontWeight": "
|
|
90
|
+
"fontWeight": "600",
|
|
91
91
|
"lineHeight": 20,
|
|
92
92
|
},
|
|
93
93
|
]
|
|
@@ -176,10 +176,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemIDP Snapshot
|
|
|
176
176
|
},
|
|
177
177
|
{
|
|
178
178
|
"color": "#555C70",
|
|
179
|
-
"fontFamily": "
|
|
179
|
+
"fontFamily": "Titillio",
|
|
180
180
|
"fontSize": 12,
|
|
181
181
|
"fontStyle": "normal",
|
|
182
|
-
"fontWeight": "
|
|
182
|
+
"fontWeight": "600",
|
|
183
183
|
"lineHeight": 16,
|
|
184
184
|
},
|
|
185
185
|
]
|
|
@@ -245,7 +245,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfo Snapshot
|
|
|
245
245
|
{},
|
|
246
246
|
{
|
|
247
247
|
"color": "#555C70",
|
|
248
|
-
"fontFamily": "
|
|
248
|
+
"fontFamily": "Titillio",
|
|
249
249
|
"fontSize": 14,
|
|
250
250
|
"fontStyle": "normal",
|
|
251
251
|
"fontWeight": "400",
|
|
@@ -266,10 +266,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfo Snapshot
|
|
|
266
266
|
{},
|
|
267
267
|
{
|
|
268
268
|
"color": "#0E0F13",
|
|
269
|
-
"fontFamily": "
|
|
269
|
+
"fontFamily": "Titillio",
|
|
270
270
|
"fontSize": 16,
|
|
271
271
|
"fontStyle": "normal",
|
|
272
|
-
"fontWeight": "
|
|
272
|
+
"fontWeight": "600",
|
|
273
273
|
"lineHeight": 24,
|
|
274
274
|
},
|
|
275
275
|
]
|
|
@@ -367,7 +367,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfoCopy Snap
|
|
|
367
367
|
{},
|
|
368
368
|
{
|
|
369
369
|
"color": "#555C70",
|
|
370
|
-
"fontFamily": "
|
|
370
|
+
"fontFamily": "Titillio",
|
|
371
371
|
"fontSize": 14,
|
|
372
372
|
"fontStyle": "normal",
|
|
373
373
|
"fontWeight": "400",
|
|
@@ -388,10 +388,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemInfoCopy Snap
|
|
|
388
388
|
{},
|
|
389
389
|
{
|
|
390
390
|
"color": "#0B3EE3",
|
|
391
|
-
"fontFamily": "
|
|
391
|
+
"fontFamily": "Titillio",
|
|
392
392
|
"fontSize": 16,
|
|
393
393
|
"fontStyle": "normal",
|
|
394
|
-
"fontWeight": "
|
|
394
|
+
"fontWeight": "600",
|
|
395
395
|
"lineHeight": 24,
|
|
396
396
|
},
|
|
397
397
|
]
|
|
@@ -555,10 +555,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemNav Snapshot
|
|
|
555
555
|
{},
|
|
556
556
|
{
|
|
557
557
|
"color": "#0E0F13",
|
|
558
|
-
"fontFamily": "
|
|
558
|
+
"fontFamily": "Titillio",
|
|
559
559
|
"fontSize": 16,
|
|
560
560
|
"fontStyle": "normal",
|
|
561
|
-
"fontWeight": "
|
|
561
|
+
"fontWeight": "600",
|
|
562
562
|
"lineHeight": 24,
|
|
563
563
|
},
|
|
564
564
|
]
|
|
@@ -784,10 +784,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemNavAlert Snap
|
|
|
784
784
|
{},
|
|
785
785
|
{
|
|
786
786
|
"color": "#0E0F13",
|
|
787
|
-
"fontFamily": "
|
|
787
|
+
"fontFamily": "Titillio",
|
|
788
788
|
"fontSize": 16,
|
|
789
789
|
"fontStyle": "normal",
|
|
790
|
-
"fontWeight": "
|
|
790
|
+
"fontWeight": "600",
|
|
791
791
|
"lineHeight": 24,
|
|
792
792
|
},
|
|
793
793
|
]
|
|
@@ -952,10 +952,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
952
952
|
{},
|
|
953
953
|
{
|
|
954
954
|
"color": "#0E0F13",
|
|
955
|
-
"fontFamily": "
|
|
955
|
+
"fontFamily": "Titillio",
|
|
956
956
|
"fontSize": 14,
|
|
957
957
|
"fontStyle": "normal",
|
|
958
|
-
"fontWeight": "
|
|
958
|
+
"fontWeight": "600",
|
|
959
959
|
"lineHeight": 21,
|
|
960
960
|
},
|
|
961
961
|
]
|
|
@@ -1051,7 +1051,7 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1051
1051
|
{},
|
|
1052
1052
|
{
|
|
1053
1053
|
"color": "#5517E3",
|
|
1054
|
-
"fontFamily": "
|
|
1054
|
+
"fontFamily": "Titillio",
|
|
1055
1055
|
"fontSize": 14,
|
|
1056
1056
|
"fontStyle": "normal",
|
|
1057
1057
|
"fontWeight": "400",
|
|
@@ -1090,10 +1090,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1090
1090
|
{},
|
|
1091
1091
|
{
|
|
1092
1092
|
"color": "#0B3EE3",
|
|
1093
|
-
"fontFamily": "
|
|
1093
|
+
"fontFamily": "Titillio",
|
|
1094
1094
|
"fontSize": 16,
|
|
1095
1095
|
"fontStyle": "normal",
|
|
1096
|
-
"fontWeight": "
|
|
1096
|
+
"fontWeight": "600",
|
|
1097
1097
|
"lineHeight": 24,
|
|
1098
1098
|
},
|
|
1099
1099
|
]
|
|
@@ -1340,10 +1340,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1340
1340
|
{},
|
|
1341
1341
|
{
|
|
1342
1342
|
"color": "#0E0F13",
|
|
1343
|
-
"fontFamily": "
|
|
1343
|
+
"fontFamily": "Titillio",
|
|
1344
1344
|
"fontSize": 14,
|
|
1345
1345
|
"fontStyle": "normal",
|
|
1346
|
-
"fontWeight": "
|
|
1346
|
+
"fontWeight": "600",
|
|
1347
1347
|
"lineHeight": 21,
|
|
1348
1348
|
},
|
|
1349
1349
|
]
|
|
@@ -1378,10 +1378,10 @@ exports[`Test List Item Components - Experimental Enabled ListItemRadioWithAmou
|
|
|
1378
1378
|
{},
|
|
1379
1379
|
{
|
|
1380
1380
|
"color": "#0B3EE3",
|
|
1381
|
-
"fontFamily": "
|
|
1381
|
+
"fontFamily": "Titillio",
|
|
1382
1382
|
"fontSize": 16,
|
|
1383
1383
|
"fontStyle": "normal",
|
|
1384
|
-
"fontWeight": "
|
|
1384
|
+
"fontWeight": "600",
|
|
1385
1385
|
"lineHeight": 24,
|
|
1386
1386
|
},
|
|
1387
1387
|
]
|
|
@@ -1964,10 +1964,10 @@ exports[`Test List Item Components ListItemInfo Snapshot 1`] = `
|
|
|
1964
1964
|
{
|
|
1965
1965
|
"color": "#0E0F13",
|
|
1966
1966
|
"fontFamily": "Titillium Sans Pro",
|
|
1967
|
-
"fontSize":
|
|
1967
|
+
"fontSize": 16,
|
|
1968
1968
|
"fontStyle": "normal",
|
|
1969
1969
|
"fontWeight": "600",
|
|
1970
|
-
"lineHeight":
|
|
1970
|
+
"lineHeight": 24,
|
|
1971
1971
|
},
|
|
1972
1972
|
]
|
|
1973
1973
|
}
|
|
@@ -2086,10 +2086,10 @@ exports[`Test List Item Components ListItemInfoCopy Snapshot 1`] = `
|
|
|
2086
2086
|
{
|
|
2087
2087
|
"color": "#0073E6",
|
|
2088
2088
|
"fontFamily": "Titillium Sans Pro",
|
|
2089
|
-
"fontSize":
|
|
2089
|
+
"fontSize": 16,
|
|
2090
2090
|
"fontStyle": "normal",
|
|
2091
2091
|
"fontWeight": "600",
|
|
2092
|
-
"lineHeight":
|
|
2092
|
+
"lineHeight": 24,
|
|
2093
2093
|
},
|
|
2094
2094
|
]
|
|
2095
2095
|
}
|
|
@@ -2253,10 +2253,10 @@ exports[`Test List Item Components ListItemNav Snapshot 1`] = `
|
|
|
2253
2253
|
{
|
|
2254
2254
|
"color": "#0E0F13",
|
|
2255
2255
|
"fontFamily": "Titillium Sans Pro",
|
|
2256
|
-
"fontSize":
|
|
2256
|
+
"fontSize": 16,
|
|
2257
2257
|
"fontStyle": "normal",
|
|
2258
2258
|
"fontWeight": "600",
|
|
2259
|
-
"lineHeight":
|
|
2259
|
+
"lineHeight": 24,
|
|
2260
2260
|
},
|
|
2261
2261
|
]
|
|
2262
2262
|
}
|
|
@@ -2482,10 +2482,10 @@ exports[`Test List Item Components ListItemNavAlert Snapshot 1`] = `
|
|
|
2482
2482
|
{
|
|
2483
2483
|
"color": "#0E0F13",
|
|
2484
2484
|
"fontFamily": "Titillium Sans Pro",
|
|
2485
|
-
"fontSize":
|
|
2485
|
+
"fontSize": 16,
|
|
2486
2486
|
"fontStyle": "normal",
|
|
2487
2487
|
"fontWeight": "600",
|
|
2488
|
-
"lineHeight":
|
|
2488
|
+
"lineHeight": 24,
|
|
2489
2489
|
},
|
|
2490
2490
|
]
|
|
2491
2491
|
}
|
|
@@ -2650,7 +2650,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 1`] = `
|
|
|
2650
2650
|
{
|
|
2651
2651
|
"color": "#0E0F13",
|
|
2652
2652
|
"fontFamily": "Titillium Sans Pro",
|
|
2653
|
-
"fontSize":
|
|
2653
|
+
"fontSize": 14,
|
|
2654
2654
|
"fontStyle": "normal",
|
|
2655
2655
|
"fontWeight": "600",
|
|
2656
2656
|
"lineHeight": 21,
|
|
@@ -2788,10 +2788,10 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 1`] = `
|
|
|
2788
2788
|
{
|
|
2789
2789
|
"color": "#0B3EE3",
|
|
2790
2790
|
"fontFamily": "Titillium Sans Pro",
|
|
2791
|
-
"fontSize":
|
|
2791
|
+
"fontSize": 16,
|
|
2792
2792
|
"fontStyle": "normal",
|
|
2793
2793
|
"fontWeight": "600",
|
|
2794
|
-
"lineHeight":
|
|
2794
|
+
"lineHeight": 24,
|
|
2795
2795
|
},
|
|
2796
2796
|
]
|
|
2797
2797
|
}
|
|
@@ -3038,7 +3038,7 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 2`] = `
|
|
|
3038
3038
|
{
|
|
3039
3039
|
"color": "#0E0F13",
|
|
3040
3040
|
"fontFamily": "Titillium Sans Pro",
|
|
3041
|
-
"fontSize":
|
|
3041
|
+
"fontSize": 14,
|
|
3042
3042
|
"fontStyle": "normal",
|
|
3043
3043
|
"fontWeight": "600",
|
|
3044
3044
|
"lineHeight": 21,
|
|
@@ -3076,10 +3076,10 @@ exports[`Test List Item Components ListItemRadioWithAmount Snapshot 2`] = `
|
|
|
3076
3076
|
{
|
|
3077
3077
|
"color": "#0B3EE3",
|
|
3078
3078
|
"fontFamily": "Titillium Sans Pro",
|
|
3079
|
-
"fontSize":
|
|
3079
|
+
"fontSize": 16,
|
|
3080
3080
|
"fontStyle": "normal",
|
|
3081
3081
|
"fontWeight": "600",
|
|
3082
|
-
"lineHeight":
|
|
3082
|
+
"lineHeight": 24,
|
|
3083
3083
|
},
|
|
3084
3084
|
]
|
|
3085
3085
|
}
|
|
@@ -7,7 +7,7 @@ import { Badge } from "../badge";
|
|
|
7
7
|
import { Icon } from "../icons";
|
|
8
8
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
9
9
|
import { HStack, VStack } from "../stack";
|
|
10
|
-
import {
|
|
10
|
+
import { LabelSmall } from "../typography";
|
|
11
11
|
import { ModuleStatic } from "./ModuleStatic";
|
|
12
12
|
import { PressableModuleBase } from "./PressableModuleBase";
|
|
13
13
|
|
|
@@ -66,12 +66,13 @@ const ModuleAttachmentContent = ({
|
|
|
66
66
|
space={4}
|
|
67
67
|
style={{ alignItems: "flex-start", flexShrink: 1, flexGrow: 1 }}
|
|
68
68
|
>
|
|
69
|
-
<
|
|
69
|
+
<LabelSmall
|
|
70
|
+
weight="Semibold"
|
|
70
71
|
numberOfLines={2}
|
|
71
72
|
color={theme["interactiveElem-default"]}
|
|
72
73
|
>
|
|
73
74
|
{title}
|
|
74
|
-
</
|
|
75
|
+
</LabelSmall>
|
|
75
76
|
<Badge text={format.toUpperCase()} variant="default" />
|
|
76
77
|
</VStack>
|
|
77
78
|
<IconOrActivityIndicatorComponent />
|
|
@@ -20,7 +20,7 @@ import { Badge } from "../badge";
|
|
|
20
20
|
import { IOIcons, Icon } from "../icons";
|
|
21
21
|
import { LoadingSpinner } from "../loadingSpinner";
|
|
22
22
|
import { HStack } from "../stack/Stack";
|
|
23
|
-
import {
|
|
23
|
+
import { LabelSmall } from "../typography";
|
|
24
24
|
import { ModuleStatic } from "./ModuleStatic";
|
|
25
25
|
import {
|
|
26
26
|
PressableModuleBase,
|
|
@@ -89,14 +89,15 @@ const ModuleCredential = (props: WithTestID<ModuleCredentialProps>) => {
|
|
|
89
89
|
{/* Graphical assets */}
|
|
90
90
|
{iconComponent ?? imageComponent}
|
|
91
91
|
|
|
92
|
-
<
|
|
92
|
+
<LabelSmall
|
|
93
93
|
color={theme["interactiveElem-default"]}
|
|
94
|
+
weight="Semibold"
|
|
94
95
|
numberOfLines={2}
|
|
95
96
|
lineBreakMode="middle"
|
|
96
97
|
style={{ flexShrink: 1 }}
|
|
97
98
|
>
|
|
98
99
|
{label}
|
|
99
|
-
</
|
|
100
|
+
</LabelSmall>
|
|
100
101
|
</HStack>
|
|
101
102
|
<View style={IOStyles.row}>
|
|
102
103
|
{badge ? (
|
|
@@ -59,8 +59,8 @@ export const ModuleIDP = ({
|
|
|
59
59
|
withLooseSpacing={withLooseSpacing}
|
|
60
60
|
>
|
|
61
61
|
<IOText
|
|
62
|
-
font={isExperimental ? "
|
|
63
|
-
weight={
|
|
62
|
+
font={isExperimental ? "Titillio" : "TitilliumSansPro"}
|
|
63
|
+
weight={"Semibold"}
|
|
64
64
|
size={12}
|
|
65
65
|
lineHeight={16}
|
|
66
66
|
color={theme["textBody-tertiary"]}
|