@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.
Files changed (212) hide show
  1. package/lib/commonjs/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
  2. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
  3. package/lib/commonjs/components/buttons/ButtonLink.js +3 -5
  4. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  5. package/lib/commonjs/components/buttons/ButtonOutline.js +6 -6
  6. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  7. package/lib/commonjs/components/buttons/ButtonSolid.js +6 -6
  8. package/lib/commonjs/components/buttons/ButtonSolid.js.map +1 -1
  9. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -0
  10. package/lib/commonjs/components/icons/Icon.js +6 -0
  11. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  12. package/lib/commonjs/components/icons/svg/IconDocPaymentCode.js +31 -0
  13. package/lib/commonjs/components/icons/svg/IconDocPaymentCode.js.map +1 -0
  14. package/lib/commonjs/components/icons/svg/IconEntityCode.js +31 -0
  15. package/lib/commonjs/components/icons/svg/IconEntityCode.js.map +1 -0
  16. package/lib/commonjs/components/icons/svg/IconNotes.js +31 -0
  17. package/lib/commonjs/components/icons/svg/IconNotes.js.map +1 -0
  18. package/lib/commonjs/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
  19. package/lib/commonjs/components/icons/svg/originals/IconEntityCode.svg +3 -0
  20. package/lib/commonjs/components/icons/svg/originals/IconNotes.svg +3 -0
  21. package/lib/commonjs/components/index.js +11 -0
  22. package/lib/commonjs/components/index.js.map +1 -1
  23. package/lib/commonjs/components/layout/Dismissable.js +60 -0
  24. package/lib/commonjs/components/layout/Dismissable.js.map +1 -0
  25. package/lib/commonjs/components/layout/HeaderFirstLevel.js +14 -5
  26. package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
  27. package/lib/commonjs/components/layout/HeaderSecondLevel.js +10 -7
  28. package/lib/commonjs/components/layout/HeaderSecondLevel.js.map +1 -1
  29. package/lib/commonjs/components/layout/common.js +6 -0
  30. package/lib/commonjs/components/layout/common.js.map +1 -0
  31. package/lib/commonjs/components/layout/index.js +11 -0
  32. package/lib/commonjs/components/layout/index.js.map +1 -1
  33. package/lib/commonjs/components/listitems/ListItemTransaction.js +5 -4
  34. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  35. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
  36. package/lib/commonjs/components/logos/LogoPaymentCard.js +50 -0
  37. package/lib/commonjs/components/logos/LogoPaymentCard.js.map +1 -0
  38. package/lib/commonjs/components/logos/LogoPaymentExt.js +1 -1
  39. package/lib/commonjs/components/logos/LogoPaymentExt.js.map +1 -1
  40. package/lib/commonjs/components/logos/README.md +2 -1
  41. package/lib/commonjs/components/logos/index.js +20 -1
  42. package/lib/commonjs/components/logos/index.js.map +1 -1
  43. package/lib/commonjs/components/logos/svg/LogoPaymentCardBancomatPay.js +33 -0
  44. package/lib/commonjs/components/logos/svg/LogoPaymentCardBancomatPay.js.map +1 -0
  45. package/lib/commonjs/components/logos/svg/LogoPaymentCardPayPal.js +42 -0
  46. package/lib/commonjs/components/logos/svg/LogoPaymentCardPayPal.js.map +1 -0
  47. package/lib/commonjs/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
  48. package/lib/commonjs/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
  49. package/lib/commonjs/components/toast/ToastNotification.js +73 -0
  50. package/lib/commonjs/components/toast/ToastNotification.js.map +1 -0
  51. package/lib/commonjs/components/toast/ToastProvider.js +135 -0
  52. package/lib/commonjs/components/toast/ToastProvider.js.map +1 -0
  53. package/lib/commonjs/components/toast/context.js +14 -0
  54. package/lib/commonjs/components/toast/context.js.map +1 -0
  55. package/lib/commonjs/components/toast/index.js +39 -0
  56. package/lib/commonjs/components/toast/index.js.map +1 -0
  57. package/lib/commonjs/components/toast/types.js +6 -0
  58. package/lib/commonjs/components/toast/types.js.map +1 -0
  59. package/lib/commonjs/components/toast/useIOToast.js +94 -0
  60. package/lib/commonjs/components/toast/useIOToast.js.map +1 -0
  61. package/lib/commonjs/components/typography/BaseTypography.js +3 -1
  62. package/lib/commonjs/components/typography/BaseTypography.js.map +1 -1
  63. package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
  64. package/lib/module/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
  65. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
  66. package/lib/module/components/buttons/ButtonLink.js +3 -5
  67. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  68. package/lib/module/components/buttons/ButtonOutline.js +6 -6
  69. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  70. package/lib/module/components/buttons/ButtonSolid.js +6 -6
  71. package/lib/module/components/buttons/ButtonSolid.js.map +1 -1
  72. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -0
  73. package/lib/module/components/icons/Icon.js +6 -0
  74. package/lib/module/components/icons/Icon.js.map +1 -1
  75. package/lib/module/components/icons/svg/IconDocPaymentCode.js +23 -0
  76. package/lib/module/components/icons/svg/IconDocPaymentCode.js.map +1 -0
  77. package/lib/module/components/icons/svg/IconEntityCode.js +23 -0
  78. package/lib/module/components/icons/svg/IconEntityCode.js.map +1 -0
  79. package/lib/module/components/icons/svg/IconNotes.js +23 -0
  80. package/lib/module/components/icons/svg/IconNotes.js.map +1 -0
  81. package/lib/module/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
  82. package/lib/module/components/icons/svg/originals/IconEntityCode.svg +3 -0
  83. package/lib/module/components/icons/svg/originals/IconNotes.svg +3 -0
  84. package/lib/module/components/index.js +1 -0
  85. package/lib/module/components/index.js.map +1 -1
  86. package/lib/module/components/layout/Dismissable.js +51 -0
  87. package/lib/module/components/layout/Dismissable.js.map +1 -0
  88. package/lib/module/components/layout/HeaderFirstLevel.js +14 -5
  89. package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
  90. package/lib/module/components/layout/HeaderSecondLevel.js +10 -7
  91. package/lib/module/components/layout/HeaderSecondLevel.js.map +1 -1
  92. package/lib/module/components/layout/common.js +2 -0
  93. package/lib/module/components/layout/common.js.map +1 -0
  94. package/lib/module/components/layout/index.js +1 -0
  95. package/lib/module/components/layout/index.js.map +1 -1
  96. package/lib/module/components/listitems/ListItemTransaction.js +5 -4
  97. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  98. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
  99. package/lib/module/components/logos/LogoPaymentCard.js +43 -0
  100. package/lib/module/components/logos/LogoPaymentCard.js.map +1 -0
  101. package/lib/module/components/logos/LogoPaymentExt.js +1 -1
  102. package/lib/module/components/logos/LogoPaymentExt.js.map +1 -1
  103. package/lib/module/components/logos/README.md +2 -1
  104. package/lib/module/components/logos/index.js +2 -0
  105. package/lib/module/components/logos/index.js.map +1 -1
  106. package/lib/module/components/logos/svg/LogoPaymentCardBancomatPay.js +25 -0
  107. package/lib/module/components/logos/svg/LogoPaymentCardBancomatPay.js.map +1 -0
  108. package/lib/module/components/logos/svg/LogoPaymentCardPayPal.js +34 -0
  109. package/lib/module/components/logos/svg/LogoPaymentCardPayPal.js.map +1 -0
  110. package/lib/module/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
  111. package/lib/module/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
  112. package/lib/module/components/toast/ToastNotification.js +66 -0
  113. package/lib/module/components/toast/ToastNotification.js.map +1 -0
  114. package/lib/module/components/toast/ToastProvider.js +123 -0
  115. package/lib/module/components/toast/ToastProvider.js.map +1 -0
  116. package/lib/module/components/toast/context.js +7 -0
  117. package/lib/module/components/toast/context.js.map +1 -0
  118. package/lib/module/components/toast/index.js +4 -0
  119. package/lib/module/components/toast/index.js.map +1 -0
  120. package/lib/module/components/toast/types.js +2 -0
  121. package/lib/module/components/toast/types.js.map +1 -0
  122. package/lib/module/components/toast/useIOToast.js +84 -0
  123. package/lib/module/components/toast/useIOToast.js.map +1 -0
  124. package/lib/module/components/typography/BaseTypography.js +3 -1
  125. package/lib/module/components/typography/BaseTypography.js.map +1 -1
  126. package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +31 -0
  127. package/lib/typescript/components/buttons/ButtonLink.d.ts.map +1 -1
  128. package/lib/typescript/components/buttons/ButtonOutline.d.ts.map +1 -1
  129. package/lib/typescript/components/buttons/ButtonSolid.d.ts.map +1 -1
  130. package/lib/typescript/components/icons/Icon.d.ts +3 -0
  131. package/lib/typescript/components/icons/Icon.d.ts.map +1 -1
  132. package/lib/typescript/components/icons/svg/IconDocPaymentCode.d.ts +5 -0
  133. package/lib/typescript/components/icons/svg/IconDocPaymentCode.d.ts.map +1 -0
  134. package/lib/typescript/components/icons/svg/IconEntityCode.d.ts +5 -0
  135. package/lib/typescript/components/icons/svg/IconEntityCode.d.ts.map +1 -0
  136. package/lib/typescript/components/icons/svg/IconNotes.d.ts +5 -0
  137. package/lib/typescript/components/icons/svg/IconNotes.d.ts.map +1 -0
  138. package/lib/typescript/components/index.d.ts +1 -0
  139. package/lib/typescript/components/index.d.ts.map +1 -1
  140. package/lib/typescript/components/layout/Dismissable.d.ts +18 -0
  141. package/lib/typescript/components/layout/Dismissable.d.ts.map +1 -0
  142. package/lib/typescript/components/layout/HeaderFirstLevel.d.ts +28 -5
  143. package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
  144. package/lib/typescript/components/layout/HeaderSecondLevel.d.ts +8 -3
  145. package/lib/typescript/components/layout/HeaderSecondLevel.d.ts.map +1 -1
  146. package/lib/typescript/components/layout/common.d.ts +4 -0
  147. package/lib/typescript/components/layout/common.d.ts.map +1 -0
  148. package/lib/typescript/components/layout/index.d.ts +1 -0
  149. package/lib/typescript/components/layout/index.d.ts.map +1 -1
  150. package/lib/typescript/components/listitems/ListItemTransaction.d.ts +8 -6
  151. package/lib/typescript/components/listitems/ListItemTransaction.d.ts.map +1 -1
  152. package/lib/typescript/components/logos/LogoPaymentCard.d.ts +19 -0
  153. package/lib/typescript/components/logos/LogoPaymentCard.d.ts.map +1 -0
  154. package/lib/typescript/components/logos/index.d.ts +2 -0
  155. package/lib/typescript/components/logos/index.d.ts.map +1 -1
  156. package/lib/typescript/components/logos/svg/LogoPaymentCardBancomatPay.d.ts +5 -0
  157. package/lib/typescript/components/logos/svg/LogoPaymentCardBancomatPay.d.ts.map +1 -0
  158. package/lib/typescript/components/logos/svg/LogoPaymentCardPayPal.d.ts +5 -0
  159. package/lib/typescript/components/logos/svg/LogoPaymentCardPayPal.d.ts.map +1 -0
  160. package/lib/typescript/components/radio/RadioGroup.d.ts +2 -2
  161. package/lib/typescript/components/radio/RadioGroup.d.ts.map +1 -1
  162. package/lib/typescript/components/toast/ToastNotification.d.ts +6 -0
  163. package/lib/typescript/components/toast/ToastNotification.d.ts.map +1 -0
  164. package/lib/typescript/components/toast/ToastProvider.d.ts +22 -0
  165. package/lib/typescript/components/toast/ToastProvider.d.ts.map +1 -0
  166. package/lib/typescript/components/toast/context.d.ts +9 -0
  167. package/lib/typescript/components/toast/context.d.ts.map +1 -0
  168. package/lib/typescript/components/toast/index.d.ts +4 -0
  169. package/lib/typescript/components/toast/index.d.ts.map +1 -0
  170. package/lib/typescript/components/toast/types.d.ts +11 -0
  171. package/lib/typescript/components/toast/types.d.ts.map +1 -0
  172. package/lib/typescript/components/toast/useIOToast.d.ts +23 -0
  173. package/lib/typescript/components/toast/useIOToast.d.ts.map +1 -0
  174. package/package.json +3 -1
  175. package/src/components/Advice/__test__/__snapshots__/advice.test.tsx.snap +1 -0
  176. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +3 -0
  177. package/src/components/buttons/ButtonLink.tsx +2 -4
  178. package/src/components/buttons/ButtonOutline.tsx +3 -4
  179. package/src/components/buttons/ButtonSolid.tsx +3 -4
  180. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +9 -0
  181. package/src/components/icons/Icon.tsx +6 -0
  182. package/src/components/icons/svg/IconDocPaymentCode.tsx +16 -0
  183. package/src/components/icons/svg/IconEntityCode.tsx +16 -0
  184. package/src/components/icons/svg/IconNotes.tsx +16 -0
  185. package/src/components/icons/svg/originals/IconDocPaymentCode.svg +3 -0
  186. package/src/components/icons/svg/originals/IconEntityCode.svg +3 -0
  187. package/src/components/icons/svg/originals/IconNotes.svg +3 -0
  188. package/src/components/index.tsx +1 -0
  189. package/src/components/layout/Dismissable.tsx +76 -0
  190. package/src/components/layout/HeaderFirstLevel.tsx +42 -13
  191. package/src/components/layout/HeaderSecondLevel.tsx +22 -18
  192. package/src/components/layout/common.ts +7 -0
  193. package/src/components/layout/index.tsx +1 -0
  194. package/src/components/listitems/ListItemTransaction.tsx +25 -10
  195. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +2 -0
  196. package/src/components/logos/LogoPaymentCard.tsx +62 -0
  197. package/src/components/logos/LogoPaymentExt.tsx +1 -1
  198. package/src/components/logos/README.md +2 -1
  199. package/src/components/logos/index.tsx +2 -0
  200. package/src/components/logos/svg/LogoPaymentCardBancomatPay.tsx +28 -0
  201. package/src/components/logos/svg/LogoPaymentCardPayPal.tsx +38 -0
  202. package/src/components/logos/svg/originals/LogoPaymentCardBancomatPay.svg +18 -0
  203. package/src/components/logos/svg/originals/LogoPaymentCardPayPal.svg +30 -0
  204. package/src/components/radio/RadioGroup.tsx +2 -2
  205. package/src/components/toast/ToastNotification.tsx +76 -0
  206. package/src/components/toast/ToastProvider.tsx +153 -0
  207. package/src/components/toast/context.ts +14 -0
  208. package/src/components/toast/index.ts +3 -0
  209. package/src/components/toast/types.ts +13 -0
  210. package/src/components/toast/useIOToast.ts +88 -0
  211. package/src/components/typography/BaseTypography.tsx +1 -1
  212. 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
+ };
@@ -54,7 +54,7 @@ export const BaseTypography: React.FC<OwnProps> = props => {
54
54
  : [props.fontStyle, fontStyle];
55
55
 
56
56
  return (
57
- <Text {...props} style={style}>
57
+ <Text allowFontScaling={false} {...props} style={style}>
58
58
  {props.children}
59
59
  </Text>
60
60
  );
@@ -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"