@pagopa/io-app-design-system 1.11.2 → 1.12.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 -0
- package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
- package/lib/commonjs/components/buttons/ButtonLink.js +3 -5
- package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonOutline.js +6 -6
- package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/commonjs/components/buttons/ButtonSolid.js +6 -6
- package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -0
- package/lib/commonjs/components/icons/Icon.js +6 -0
- package/lib/commonjs/components/icons/Icon.js.map +1 -1
- package/lib/commonjs/components/icons/svg/IconDocPaymentCode.js +31 -0
- package/lib/commonjs/components/icons/svg/IconDocPaymentCode.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconEntityCode.js +31 -0
- package/lib/commonjs/components/icons/svg/IconEntityCode.js.map +1 -0
- package/lib/commonjs/components/icons/svg/IconNotes.js +31 -0
- package/lib/commonjs/components/icons/svg/IconNotes.js.map +1 -0
- package/lib/commonjs/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
- package/lib/commonjs/components/icons/svg/originals/IconEntityCode.svg +3 -0
- package/lib/commonjs/components/icons/svg/originals/IconNotes.svg +3 -0
- package/lib/commonjs/components/index.js +11 -0
- package/lib/commonjs/components/index.js.map +1 -1
- package/lib/commonjs/components/layout/Dismissable.js +60 -0
- package/lib/commonjs/components/layout/Dismissable.js.map +1 -0
- package/lib/commonjs/components/layout/HeaderFirstLevel.js +14 -5
- package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/commonjs/components/layout/HeaderSecondLevel.js +10 -7
- package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/commonjs/components/layout/common.js +6 -0
- package/lib/commonjs/components/layout/common.js.map +1 -0
- package/lib/commonjs/components/layout/index.js +11 -0
- package/lib/commonjs/components/layout/index.js.map +1 -1
- package/lib/commonjs/components/listitems/ListItemTransaction.js +5 -4
- package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
- package/lib/commonjs/components/logos/LogoPaymentCard.js +50 -0
- package/lib/commonjs/components/logos/LogoPaymentCard.js.map +1 -0
- package/lib/commonjs/components/logos/LogoPaymentExt.js +1 -1
- package/lib/commonjs/components/logos/LogoPaymentExt.js.map +1 -1
- package/lib/commonjs/components/logos/README.md +2 -1
- package/lib/commonjs/components/logos/index.js +20 -1
- package/lib/commonjs/components/logos/index.js.map +1 -1
- package/lib/commonjs/components/logos/svg/LogoPaymentCardBancomatPay.js +33 -0
- package/lib/commonjs/components/logos/svg/LogoPaymentCardBancomatPay.js.map +1 -0
- package/lib/commonjs/components/logos/svg/LogoPaymentCardPayPal.js +42 -0
- package/lib/commonjs/components/logos/svg/LogoPaymentCardPayPal.js.map +1 -0
- package/lib/commonjs/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
- package/lib/commonjs/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
- package/lib/commonjs/components/toast/ToastNotification.js +73 -0
- package/lib/commonjs/components/toast/ToastNotification.js.map +1 -0
- package/lib/commonjs/components/toast/ToastProvider.js +135 -0
- package/lib/commonjs/components/toast/ToastProvider.js.map +1 -0
- package/lib/commonjs/components/toast/context.js +14 -0
- package/lib/commonjs/components/toast/context.js.map +1 -0
- package/lib/commonjs/components/toast/index.js +39 -0
- package/lib/commonjs/components/toast/index.js.map +1 -0
- package/lib/commonjs/components/toast/types.js +6 -0
- package/lib/commonjs/components/toast/types.js.map +1 -0
- package/lib/commonjs/components/toast/useIOToast.js +94 -0
- package/lib/commonjs/components/toast/useIOToast.js.map +1 -0
- package/lib/commonjs/components/typography/BaseTypography.js +3 -1
- package/lib/commonjs/components/typography/BaseTypography.js.map +1 -1
- package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
- package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
- package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
- package/lib/module/components/buttons/ButtonLink.js +3 -5
- package/lib/module/components/buttons/ButtonLink.js.map +1 -1
- package/lib/module/components/buttons/ButtonOutline.js +6 -6
- package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
- package/lib/module/components/buttons/ButtonSolid.js +6 -6
- package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
- package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -0
- package/lib/module/components/icons/Icon.js +6 -0
- package/lib/module/components/icons/Icon.js.map +1 -1
- package/lib/module/components/icons/svg/IconDocPaymentCode.js +23 -0
- package/lib/module/components/icons/svg/IconDocPaymentCode.js.map +1 -0
- package/lib/module/components/icons/svg/IconEntityCode.js +23 -0
- package/lib/module/components/icons/svg/IconEntityCode.js.map +1 -0
- package/lib/module/components/icons/svg/IconNotes.js +23 -0
- package/lib/module/components/icons/svg/IconNotes.js.map +1 -0
- package/lib/module/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
- package/lib/module/components/icons/svg/originals/IconEntityCode.svg +3 -0
- package/lib/module/components/icons/svg/originals/IconNotes.svg +3 -0
- package/lib/module/components/index.js +1 -0
- package/lib/module/components/index.js.map +1 -1
- package/lib/module/components/layout/Dismissable.js +51 -0
- package/lib/module/components/layout/Dismissable.js.map +1 -0
- package/lib/module/components/layout/HeaderFirstLevel.js +14 -5
- package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
- package/lib/module/components/layout/HeaderSecondLevel.js +10 -7
- package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
- package/lib/module/components/layout/common.js +2 -0
- package/lib/module/components/layout/common.js.map +1 -0
- package/lib/module/components/layout/index.js +1 -0
- package/lib/module/components/layout/index.js.map +1 -1
- package/lib/module/components/listitems/ListItemTransaction.js +5 -4
- package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
- package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
- package/lib/module/components/logos/LogoPaymentCard.js +43 -0
- package/lib/module/components/logos/LogoPaymentCard.js.map +1 -0
- package/lib/module/components/logos/LogoPaymentExt.js +1 -1
- package/lib/module/components/logos/LogoPaymentExt.js.map +1 -1
- package/lib/module/components/logos/README.md +2 -1
- package/lib/module/components/logos/index.js +2 -0
- package/lib/module/components/logos/index.js.map +1 -1
- package/lib/module/components/logos/svg/LogoPaymentCardBancomatPay.js +25 -0
- package/lib/module/components/logos/svg/LogoPaymentCardBancomatPay.js.map +1 -0
- package/lib/module/components/logos/svg/LogoPaymentCardPayPal.js +34 -0
- package/lib/module/components/logos/svg/LogoPaymentCardPayPal.js.map +1 -0
- package/lib/module/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
- package/lib/module/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
- package/lib/module/components/toast/ToastNotification.js +66 -0
- package/lib/module/components/toast/ToastNotification.js.map +1 -0
- package/lib/module/components/toast/ToastProvider.js +123 -0
- package/lib/module/components/toast/ToastProvider.js.map +1 -0
- package/lib/module/components/toast/context.js +7 -0
- package/lib/module/components/toast/context.js.map +1 -0
- package/lib/module/components/toast/index.js +4 -0
- package/lib/module/components/toast/index.js.map +1 -0
- package/lib/module/components/toast/types.js +2 -0
- package/lib/module/components/toast/types.js.map +1 -0
- package/lib/module/components/toast/useIOToast.js +84 -0
- package/lib/module/components/toast/useIOToast.js.map +1 -0
- package/lib/module/components/typography/BaseTypography.js +3 -1
- package/lib/module/components/typography/BaseTypography.js.map +1 -1
- package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
- package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
- package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
- package/lib/typescript/components/icons/Icon.d.ts +3 -0
- package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
- package/lib/typescript/components/icons/svg/IconDocPaymentCode.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconDocPaymentCode.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconEntityCode.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconEntityCode.d.ts.map +1 -0
- package/lib/typescript/components/icons/svg/IconNotes.d.ts +5 -0
- package/lib/typescript/components/icons/svg/IconNotes.d.ts.map +1 -0
- package/lib/typescript/components/index.d.ts +1 -0
- package/lib/typescript/components/index.d.ts.map +1 -1
- package/lib/typescript/components/layout/Dismissable.d.ts +18 -0
- package/lib/typescript/components/layout/Dismissable.d.ts.map +1 -0
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts +28 -5
- package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts +8 -3
- package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
- package/lib/typescript/components/layout/common.d.ts +4 -0
- package/lib/typescript/components/layout/common.d.ts.map +1 -0
- package/lib/typescript/components/layout/index.d.ts +1 -0
- package/lib/typescript/components/layout/index.d.ts.map +1 -1
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts +8 -6
- package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
- package/lib/typescript/components/logos/LogoPaymentCard.d.ts +19 -0
- package/lib/typescript/components/logos/LogoPaymentCard.d.ts.map +1 -0
- package/lib/typescript/components/logos/index.d.ts +2 -0
- package/lib/typescript/components/logos/index.d.ts.map +1 -1
- package/lib/typescript/components/logos/svg/LogoPaymentCardBancomatPay.d.ts +5 -0
- package/lib/typescript/components/logos/svg/LogoPaymentCardBancomatPay.d.ts.map +1 -0
- package/lib/typescript/components/logos/svg/LogoPaymentCardPayPal.d.ts +5 -0
- package/lib/typescript/components/logos/svg/LogoPaymentCardPayPal.d.ts.map +1 -0
- package/lib/typescript/components/radio/RadioGroup.d.ts +2 -2
- package/lib/typescript/components/radio/RadioGroup.d.ts.map +1 -1
- package/lib/typescript/components/toast/ToastNotification.d.ts +6 -0
- package/lib/typescript/components/toast/ToastNotification.d.ts.map +1 -0
- package/lib/typescript/components/toast/ToastProvider.d.ts +22 -0
- package/lib/typescript/components/toast/ToastProvider.d.ts.map +1 -0
- package/lib/typescript/components/toast/context.d.ts +9 -0
- package/lib/typescript/components/toast/context.d.ts.map +1 -0
- package/lib/typescript/components/toast/index.d.ts +4 -0
- package/lib/typescript/components/toast/index.d.ts.map +1 -0
- package/lib/typescript/components/toast/types.d.ts +11 -0
- package/lib/typescript/components/toast/types.d.ts.map +1 -0
- package/lib/typescript/components/toast/useIOToast.d.ts +23 -0
- package/lib/typescript/components/toast/useIOToast.d.ts.map +1 -0
- package/package.json +3 -1
- package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
- package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
- package/src/components/buttons/ButtonLink.tsx +2 -4
- package/src/components/buttons/ButtonOutline.tsx +3 -4
- package/src/components/buttons/ButtonSolid.tsx +3 -4
- package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -0
- package/src/components/icons/Icon.tsx +6 -0
- package/src/components/icons/svg/IconDocPaymentCode.tsx +16 -0
- package/src/components/icons/svg/IconEntityCode.tsx +16 -0
- package/src/components/icons/svg/IconNotes.tsx +16 -0
- package/src/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
- package/src/components/icons/svg/originals/IconEntityCode.svg +3 -0
- package/src/components/icons/svg/originals/IconNotes.svg +3 -0
- package/src/components/index.tsx +1 -0
- package/src/components/layout/Dismissable.tsx +76 -0
- package/src/components/layout/HeaderFirstLevel.tsx +42 -13
- package/src/components/layout/HeaderSecondLevel.tsx +22 -18
- package/src/components/layout/common.ts +7 -0
- package/src/components/layout/index.tsx +1 -0
- package/src/components/listitems/ListItemTransaction.tsx +25 -10
- package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
- package/src/components/logos/LogoPaymentCard.tsx +62 -0
- package/src/components/logos/LogoPaymentExt.tsx +1 -1
- package/src/components/logos/README.md +2 -1
- package/src/components/logos/index.tsx +2 -0
- package/src/components/logos/svg/LogoPaymentCardBancomatPay.tsx +28 -0
- package/src/components/logos/svg/LogoPaymentCardPayPal.tsx +38 -0
- package/src/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
- package/src/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
- package/src/components/radio/RadioGroup.tsx +2 -2
- package/src/components/toast/ToastNotification.tsx +76 -0
- package/src/components/toast/ToastProvider.tsx +153 -0
- package/src/components/toast/context.ts +14 -0
- package/src/components/toast/index.ts +3 -0
- package/src/components/toast/types.ts +13 -0
- package/src/components/toast/useIOToast.ts +88 -0
- package/src/components/typography/BaseTypography.tsx +1 -1
- package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
|
@@ -0,0 +1,88 @@
|
|
|
1
|
+
import React, { MutableRefObject } from "react";
|
|
2
|
+
import { ToastOptions } from "./types";
|
|
3
|
+
import { ToastContext } from "./context";
|
|
4
|
+
|
|
5
|
+
export const useIOToast = () => {
|
|
6
|
+
const { addToast, removeToast, removeAllToasts } =
|
|
7
|
+
React.useContext(ToastContext);
|
|
8
|
+
|
|
9
|
+
const show = React.useCallback(
|
|
10
|
+
(message: string, options?: ToastOptions) => {
|
|
11
|
+
addToast({ message, ...options });
|
|
12
|
+
},
|
|
13
|
+
[addToast]
|
|
14
|
+
);
|
|
15
|
+
|
|
16
|
+
const error = React.useCallback(
|
|
17
|
+
(message: string) => {
|
|
18
|
+
show(message, {
|
|
19
|
+
variant: "error",
|
|
20
|
+
icon: "errorFilled",
|
|
21
|
+
hapticFeedback: "notificationError"
|
|
22
|
+
});
|
|
23
|
+
},
|
|
24
|
+
[show]
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
const info = React.useCallback(
|
|
28
|
+
(message: string) => {
|
|
29
|
+
show(message, {
|
|
30
|
+
variant: "info",
|
|
31
|
+
icon: "infoFilled",
|
|
32
|
+
hapticFeedback: "impactMedium"
|
|
33
|
+
});
|
|
34
|
+
},
|
|
35
|
+
[show]
|
|
36
|
+
);
|
|
37
|
+
|
|
38
|
+
const success = React.useCallback(
|
|
39
|
+
(message: string) => {
|
|
40
|
+
show(message, {
|
|
41
|
+
variant: "success",
|
|
42
|
+
icon: "success",
|
|
43
|
+
hapticFeedback: "notificationSuccess"
|
|
44
|
+
});
|
|
45
|
+
},
|
|
46
|
+
[show]
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
const warning = React.useCallback(
|
|
50
|
+
(message: string) => {
|
|
51
|
+
show(message, {
|
|
52
|
+
variant: "warning",
|
|
53
|
+
icon: "warningFilled",
|
|
54
|
+
hapticFeedback: "notificationWarning"
|
|
55
|
+
});
|
|
56
|
+
},
|
|
57
|
+
[show]
|
|
58
|
+
);
|
|
59
|
+
|
|
60
|
+
return React.useMemo(
|
|
61
|
+
() => ({
|
|
62
|
+
show,
|
|
63
|
+
error,
|
|
64
|
+
info,
|
|
65
|
+
success,
|
|
66
|
+
warning,
|
|
67
|
+
hide: removeToast,
|
|
68
|
+
hideAll: removeAllToasts
|
|
69
|
+
}),
|
|
70
|
+
[show, error, info, success, warning, removeToast, removeAllToasts]
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export type IOToast = ReturnType<typeof useIOToast>;
|
|
75
|
+
|
|
76
|
+
export const IOToastRef =
|
|
77
|
+
React.createRef<IOToast>() as MutableRefObject<IOToast>;
|
|
78
|
+
|
|
79
|
+
export const IOToast: IOToast = {
|
|
80
|
+
show: (message: string, options?: ToastOptions) =>
|
|
81
|
+
IOToastRef.current?.show(message, options),
|
|
82
|
+
error: (message: string) => IOToastRef.current?.error(message),
|
|
83
|
+
warning: (message: string) => IOToastRef.current?.warning(message),
|
|
84
|
+
success: (message: string) => IOToastRef.current?.success(message),
|
|
85
|
+
info: (message: string) => IOToastRef.current?.info(message),
|
|
86
|
+
hideAll: () => IOToastRef.current?.hideAll(),
|
|
87
|
+
hide: (id: number) => IOToastRef.current?.hide(id)
|
|
88
|
+
};
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Test Typography Components Body Snapshot 1`] = `
|
|
4
4
|
<Text
|
|
5
|
+
allowFontScaling={false}
|
|
5
6
|
color="bluegrey"
|
|
6
7
|
defaultColor="bluegrey"
|
|
7
8
|
defaultWeight="Regular"
|
|
@@ -34,6 +35,7 @@ exports[`Test Typography Components Body Snapshot 1`] = `
|
|
|
34
35
|
|
|
35
36
|
exports[`Test Typography Components BodyMonospace Snapshot 1`] = `
|
|
36
37
|
<Text
|
|
38
|
+
allowFontScaling={false}
|
|
37
39
|
color="bluegrey"
|
|
38
40
|
defaultColor="bluegrey"
|
|
39
41
|
defaultWeight="Medium"
|
|
@@ -66,6 +68,7 @@ exports[`Test Typography Components BodyMonospace Snapshot 1`] = `
|
|
|
66
68
|
|
|
67
69
|
exports[`Test Typography Components CTA Snapshot 1`] = `
|
|
68
70
|
<Text
|
|
71
|
+
allowFontScaling={false}
|
|
69
72
|
color="white"
|
|
70
73
|
defaultColor="white"
|
|
71
74
|
defaultWeight="Bold"
|
|
@@ -96,6 +99,7 @@ exports[`Test Typography Components CTA Snapshot 1`] = `
|
|
|
96
99
|
|
|
97
100
|
exports[`Test Typography Components H1 Snapshot 1`] = `
|
|
98
101
|
<Text
|
|
102
|
+
allowFontScaling={false}
|
|
99
103
|
color="black"
|
|
100
104
|
defaultColor="black"
|
|
101
105
|
defaultWeight="Bold"
|
|
@@ -128,6 +132,7 @@ exports[`Test Typography Components H1 Snapshot 1`] = `
|
|
|
128
132
|
|
|
129
133
|
exports[`Test Typography Components H1 Snapshot 2`] = `
|
|
130
134
|
<Text
|
|
135
|
+
allowFontScaling={false}
|
|
131
136
|
color="white"
|
|
132
137
|
defaultColor="black"
|
|
133
138
|
defaultWeight="Bold"
|
|
@@ -160,6 +165,7 @@ exports[`Test Typography Components H1 Snapshot 2`] = `
|
|
|
160
165
|
|
|
161
166
|
exports[`Test Typography Components H2 Snapshot 1`] = `
|
|
162
167
|
<Text
|
|
168
|
+
allowFontScaling={false}
|
|
163
169
|
color="black"
|
|
164
170
|
defaultColor="black"
|
|
165
171
|
defaultWeight="Bold"
|
|
@@ -192,6 +198,7 @@ exports[`Test Typography Components H2 Snapshot 1`] = `
|
|
|
192
198
|
|
|
193
199
|
exports[`Test Typography Components H3 Snapshot 1`] = `
|
|
194
200
|
<Text
|
|
201
|
+
allowFontScaling={false}
|
|
195
202
|
color="bluegreyDark"
|
|
196
203
|
defaultColor="bluegreyDark"
|
|
197
204
|
defaultWeight="Bold"
|
|
@@ -224,6 +231,7 @@ exports[`Test Typography Components H3 Snapshot 1`] = `
|
|
|
224
231
|
|
|
225
232
|
exports[`Test Typography Components H3 Snapshot 2`] = `
|
|
226
233
|
<Text
|
|
234
|
+
allowFontScaling={false}
|
|
227
235
|
color="bluegreyLight"
|
|
228
236
|
defaultColor="bluegreyDark"
|
|
229
237
|
defaultWeight="Bold"
|
|
@@ -256,6 +264,7 @@ exports[`Test Typography Components H3 Snapshot 2`] = `
|
|
|
256
264
|
|
|
257
265
|
exports[`Test Typography Components H3 Snapshot 3`] = `
|
|
258
266
|
<Text
|
|
267
|
+
allowFontScaling={false}
|
|
259
268
|
color="white"
|
|
260
269
|
defaultColor="bluegreyDark"
|
|
261
270
|
defaultWeight="Bold"
|
|
@@ -288,6 +297,7 @@ exports[`Test Typography Components H3 Snapshot 3`] = `
|
|
|
288
297
|
|
|
289
298
|
exports[`Test Typography Components H3 Snapshot 4`] = `
|
|
290
299
|
<Text
|
|
300
|
+
allowFontScaling={false}
|
|
291
301
|
color="white"
|
|
292
302
|
defaultColor="bluegreyDark"
|
|
293
303
|
defaultWeight="Bold"
|
|
@@ -320,6 +330,7 @@ exports[`Test Typography Components H3 Snapshot 4`] = `
|
|
|
320
330
|
|
|
321
331
|
exports[`Test Typography Components H3 Snapshot 5`] = `
|
|
322
332
|
<Text
|
|
333
|
+
allowFontScaling={false}
|
|
323
334
|
color="bluegreyDark"
|
|
324
335
|
defaultColor="bluegreyDark"
|
|
325
336
|
defaultWeight="Bold"
|
|
@@ -352,6 +363,7 @@ exports[`Test Typography Components H3 Snapshot 5`] = `
|
|
|
352
363
|
|
|
353
364
|
exports[`Test Typography Components H4 Snapshot 1`] = `
|
|
354
365
|
<Text
|
|
366
|
+
allowFontScaling={false}
|
|
355
367
|
color="bluegreyDark"
|
|
356
368
|
defaultColor="bluegreyDark"
|
|
357
369
|
defaultWeight="SemiBold"
|
|
@@ -384,6 +396,7 @@ exports[`Test Typography Components H4 Snapshot 1`] = `
|
|
|
384
396
|
|
|
385
397
|
exports[`Test Typography Components H4 Snapshot 2`] = `
|
|
386
398
|
<Text
|
|
399
|
+
allowFontScaling={false}
|
|
387
400
|
color="blue"
|
|
388
401
|
defaultColor="bluegreyDark"
|
|
389
402
|
defaultWeight="SemiBold"
|
|
@@ -416,6 +429,7 @@ exports[`Test Typography Components H4 Snapshot 2`] = `
|
|
|
416
429
|
|
|
417
430
|
exports[`Test Typography Components H4 Snapshot 3`] = `
|
|
418
431
|
<Text
|
|
432
|
+
allowFontScaling={false}
|
|
419
433
|
color="white"
|
|
420
434
|
defaultColor="bluegreyDark"
|
|
421
435
|
defaultWeight="SemiBold"
|
|
@@ -448,6 +462,7 @@ exports[`Test Typography Components H4 Snapshot 3`] = `
|
|
|
448
462
|
|
|
449
463
|
exports[`Test Typography Components H4 Snapshot 4`] = `
|
|
450
464
|
<Text
|
|
465
|
+
allowFontScaling={false}
|
|
451
466
|
color="bluegreyDark"
|
|
452
467
|
defaultColor="bluegreyDark"
|
|
453
468
|
defaultWeight="SemiBold"
|
|
@@ -480,6 +495,7 @@ exports[`Test Typography Components H4 Snapshot 4`] = `
|
|
|
480
495
|
|
|
481
496
|
exports[`Test Typography Components H4 Snapshot 5`] = `
|
|
482
497
|
<Text
|
|
498
|
+
allowFontScaling={false}
|
|
483
499
|
color="bluegrey"
|
|
484
500
|
defaultColor="bluegreyDark"
|
|
485
501
|
defaultWeight="SemiBold"
|
|
@@ -512,6 +528,7 @@ exports[`Test Typography Components H4 Snapshot 5`] = `
|
|
|
512
528
|
|
|
513
529
|
exports[`Test Typography Components H4 Snapshot 6`] = `
|
|
514
530
|
<Text
|
|
531
|
+
allowFontScaling={false}
|
|
515
532
|
color="bluegreyLight"
|
|
516
533
|
defaultColor="bluegreyDark"
|
|
517
534
|
defaultWeight="SemiBold"
|
|
@@ -544,6 +561,7 @@ exports[`Test Typography Components H4 Snapshot 6`] = `
|
|
|
544
561
|
|
|
545
562
|
exports[`Test Typography Components H4 Snapshot 7`] = `
|
|
546
563
|
<Text
|
|
564
|
+
allowFontScaling={false}
|
|
547
565
|
color="white"
|
|
548
566
|
defaultColor="bluegreyDark"
|
|
549
567
|
defaultWeight="SemiBold"
|
|
@@ -576,6 +594,7 @@ exports[`Test Typography Components H4 Snapshot 7`] = `
|
|
|
576
594
|
|
|
577
595
|
exports[`Test Typography Components H5 Snapshot 1`] = `
|
|
578
596
|
<Text
|
|
597
|
+
allowFontScaling={false}
|
|
579
598
|
color="black"
|
|
580
599
|
defaultColor="black"
|
|
581
600
|
defaultWeight="SemiBold"
|
|
@@ -612,6 +631,7 @@ exports[`Test Typography Components H5 Snapshot 1`] = `
|
|
|
612
631
|
|
|
613
632
|
exports[`Test Typography Components H5 Snapshot 2`] = `
|
|
614
633
|
<Text
|
|
634
|
+
allowFontScaling={false}
|
|
615
635
|
color="bluegrey"
|
|
616
636
|
defaultColor="black"
|
|
617
637
|
defaultWeight="SemiBold"
|
|
@@ -648,6 +668,7 @@ exports[`Test Typography Components H5 Snapshot 2`] = `
|
|
|
648
668
|
|
|
649
669
|
exports[`Test Typography Components H5 Snapshot 3`] = `
|
|
650
670
|
<Text
|
|
671
|
+
allowFontScaling={false}
|
|
651
672
|
color="blue"
|
|
652
673
|
defaultColor="black"
|
|
653
674
|
defaultWeight="SemiBold"
|
|
@@ -684,6 +705,7 @@ exports[`Test Typography Components H5 Snapshot 3`] = `
|
|
|
684
705
|
|
|
685
706
|
exports[`Test Typography Components H5 Snapshot 4`] = `
|
|
686
707
|
<Text
|
|
708
|
+
allowFontScaling={false}
|
|
687
709
|
color="white"
|
|
688
710
|
defaultColor="black"
|
|
689
711
|
defaultWeight="SemiBold"
|
|
@@ -720,6 +742,7 @@ exports[`Test Typography Components H5 Snapshot 4`] = `
|
|
|
720
742
|
|
|
721
743
|
exports[`Test Typography Components H6 Snapshot 1`] = `
|
|
722
744
|
<Text
|
|
745
|
+
allowFontScaling={false}
|
|
723
746
|
color="black"
|
|
724
747
|
defaultColor="black"
|
|
725
748
|
defaultWeight="SemiBold"
|
|
@@ -752,6 +775,7 @@ exports[`Test Typography Components H6 Snapshot 1`] = `
|
|
|
752
775
|
|
|
753
776
|
exports[`Test Typography Components Label Snapshot 1`] = `
|
|
754
777
|
<Text
|
|
778
|
+
allowFontScaling={false}
|
|
755
779
|
color="black"
|
|
756
780
|
defaultColor="black"
|
|
757
781
|
defaultWeight="Bold"
|
|
@@ -784,6 +808,7 @@ exports[`Test Typography Components Label Snapshot 1`] = `
|
|
|
784
808
|
|
|
785
809
|
exports[`Test Typography Components Label Snapshot 2`] = `
|
|
786
810
|
<Text
|
|
811
|
+
allowFontScaling={false}
|
|
787
812
|
color="black"
|
|
788
813
|
defaultColor="black"
|
|
789
814
|
defaultWeight="Bold"
|
|
@@ -816,6 +841,7 @@ exports[`Test Typography Components Label Snapshot 2`] = `
|
|
|
816
841
|
|
|
817
842
|
exports[`Test Typography Components LabelSmall Snapshot 1`] = `
|
|
818
843
|
<Text
|
|
844
|
+
allowFontScaling={false}
|
|
819
845
|
color="blue"
|
|
820
846
|
defaultColor="blue"
|
|
821
847
|
defaultWeight="Bold"
|
|
@@ -846,6 +872,7 @@ exports[`Test Typography Components LabelSmall Snapshot 1`] = `
|
|
|
846
872
|
|
|
847
873
|
exports[`Test Typography Components LabelSmall Snapshot 2`] = `
|
|
848
874
|
<Text
|
|
875
|
+
allowFontScaling={false}
|
|
849
876
|
color="blue"
|
|
850
877
|
defaultColor="blue"
|
|
851
878
|
defaultWeight="Bold"
|
|
@@ -876,6 +903,7 @@ exports[`Test Typography Components LabelSmall Snapshot 2`] = `
|
|
|
876
903
|
|
|
877
904
|
exports[`Test Typography Components LabelSmall Snapshot 3`] = `
|
|
878
905
|
<Text
|
|
906
|
+
allowFontScaling={false}
|
|
879
907
|
color="bluegrey"
|
|
880
908
|
defaultColor="blue"
|
|
881
909
|
defaultWeight="Bold"
|
|
@@ -906,6 +934,7 @@ exports[`Test Typography Components LabelSmall Snapshot 3`] = `
|
|
|
906
934
|
|
|
907
935
|
exports[`Test Typography Components LabelSmall Snapshot 4`] = `
|
|
908
936
|
<Text
|
|
937
|
+
allowFontScaling={false}
|
|
909
938
|
color="red"
|
|
910
939
|
defaultColor="blue"
|
|
911
940
|
defaultWeight="Bold"
|
|
@@ -936,6 +965,7 @@ exports[`Test Typography Components LabelSmall Snapshot 4`] = `
|
|
|
936
965
|
|
|
937
966
|
exports[`Test Typography Components LabelSmall Snapshot 5`] = `
|
|
938
967
|
<Text
|
|
968
|
+
allowFontScaling={false}
|
|
939
969
|
color="white"
|
|
940
970
|
defaultColor="blue"
|
|
941
971
|
defaultWeight="Bold"
|
|
@@ -966,6 +996,7 @@ exports[`Test Typography Components LabelSmall Snapshot 5`] = `
|
|
|
966
996
|
|
|
967
997
|
exports[`Test Typography Components Link Snapshot 1`] = `
|
|
968
998
|
<Text
|
|
999
|
+
allowFontScaling={false}
|
|
969
1000
|
color="blue"
|
|
970
1001
|
defaultColor="blue"
|
|
971
1002
|
defaultWeight="SemiBold"
|