@pagopa/io-app-design-system 3.0.1 → 4.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.
Files changed (277) hide show
  1. package/lib/commonjs/components/alert/Alert.js +1 -2
  2. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  3. package/lib/commonjs/components/alert/AlertEdgeToEdge.js +2 -2
  4. package/lib/commonjs/components/alert/AlertEdgeToEdge.js.map +1 -1
  5. package/lib/commonjs/components/banner/Banner.js +1 -1
  6. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  7. package/lib/commonjs/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -2
  8. package/lib/commonjs/components/buttons/ButtonLink.js +1 -1
  9. package/lib/commonjs/components/buttons/ButtonLink.js.map +1 -1
  10. package/lib/commonjs/components/buttons/ButtonOutline.js +1 -1
  11. package/lib/commonjs/components/buttons/ButtonOutline.js.map +1 -1
  12. package/lib/commonjs/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -3
  13. package/lib/commonjs/components/featureInfo/FeatureInfo.js +3 -2
  14. package/lib/commonjs/components/featureInfo/FeatureInfo.js.map +1 -1
  15. package/lib/commonjs/components/index.js +11 -0
  16. package/lib/commonjs/components/index.js.map +1 -1
  17. package/lib/commonjs/components/layout/HeaderFirstLevel.js +1 -0
  18. package/lib/commonjs/components/layout/HeaderFirstLevel.js.map +1 -1
  19. package/lib/commonjs/components/listitems/ListItemCheckbox.js +1 -1
  20. package/lib/commonjs/components/listitems/ListItemCheckbox.js.map +1 -1
  21. package/lib/commonjs/components/listitems/ListItemInfo.js +1 -1
  22. package/lib/commonjs/components/listitems/ListItemInfo.js.map +1 -1
  23. package/lib/commonjs/components/listitems/ListItemInfoCopy.js +1 -1
  24. package/lib/commonjs/components/listitems/ListItemInfoCopy.js.map +1 -1
  25. package/lib/commonjs/components/listitems/ListItemNav.js +1 -1
  26. package/lib/commonjs/components/listitems/ListItemNav.js.map +1 -1
  27. package/lib/commonjs/components/listitems/ListItemNavAlert.js +1 -1
  28. package/lib/commonjs/components/listitems/ListItemNavAlert.js.map +1 -1
  29. package/lib/commonjs/components/listitems/ListItemRadio.js +1 -1
  30. package/lib/commonjs/components/listitems/ListItemRadio.js.map +1 -1
  31. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js +2 -2
  32. package/lib/commonjs/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  33. package/lib/commonjs/components/listitems/ListItemSwitch.js +1 -1
  34. package/lib/commonjs/components/listitems/ListItemSwitch.js.map +1 -1
  35. package/lib/commonjs/components/listitems/ListItemTransaction.js +2 -2
  36. package/lib/commonjs/components/listitems/ListItemTransaction.js.map +1 -1
  37. package/lib/commonjs/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +7 -7
  38. package/lib/commonjs/components/modules/ModuleAttachment.js +1 -1
  39. package/lib/commonjs/components/modules/ModuleAttachment.js.map +1 -1
  40. package/lib/commonjs/components/modules/ModuleCheckout.js +1 -1
  41. package/lib/commonjs/components/modules/ModuleCheckout.js.map +1 -1
  42. package/lib/commonjs/components/modules/ModuleCredential.js +1 -1
  43. package/lib/commonjs/components/modules/ModuleCredential.js.map +1 -1
  44. package/lib/commonjs/components/modules/ModuleNavigation.js +3 -2
  45. package/lib/commonjs/components/modules/ModuleNavigation.js.map +1 -1
  46. package/lib/commonjs/components/modules/ModulePaymentNotice.js +2 -2
  47. package/lib/commonjs/components/modules/ModulePaymentNotice.js.map +1 -1
  48. package/lib/commonjs/components/modules/ModuleSummary.js +1 -1
  49. package/lib/commonjs/components/modules/ModuleSummary.js.map +1 -1
  50. package/lib/commonjs/components/otpInput/BoxedInput.js +4 -6
  51. package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -1
  52. package/lib/commonjs/components/otpInput/OTPInput.js +5 -4
  53. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  54. package/lib/commonjs/components/tabs/TabItem.js +1 -1
  55. package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
  56. package/lib/commonjs/components/textInput/TextInputBase.js +2 -2
  57. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
  58. package/lib/commonjs/components/tooltip/Arrows.js +49 -0
  59. package/lib/commonjs/components/tooltip/Arrows.js.map +1 -0
  60. package/lib/commonjs/components/tooltip/Tooltip.js +174 -0
  61. package/lib/commonjs/components/tooltip/Tooltip.js.map +1 -0
  62. package/lib/commonjs/components/tooltip/index.js +17 -0
  63. package/lib/commonjs/components/tooltip/index.js.map +1 -0
  64. package/lib/commonjs/components/tooltip/styles.js +50 -0
  65. package/lib/commonjs/components/tooltip/styles.js.map +1 -0
  66. package/lib/commonjs/components/tooltip/utils/index.js +180 -0
  67. package/lib/commonjs/components/tooltip/utils/index.js.map +1 -0
  68. package/lib/commonjs/components/tooltip/utils/types.js +2 -0
  69. package/lib/commonjs/components/tooltip/utils/types.js.map +1 -0
  70. package/lib/commonjs/components/typography/{LabelSmall.js → BodySmall.js} +8 -10
  71. package/lib/commonjs/components/typography/BodySmall.js.map +1 -0
  72. package/lib/commonjs/components/typography/ButtonText.js +1 -3
  73. package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
  74. package/lib/commonjs/components/typography/H3.js +3 -6
  75. package/lib/commonjs/components/typography/H3.js.map +1 -1
  76. package/lib/commonjs/components/typography/H6.js +4 -5
  77. package/lib/commonjs/components/typography/H6.js.map +1 -1
  78. package/lib/commonjs/components/typography/__test__/__snapshots__/typography.test.tsx.snap +118 -161
  79. package/lib/commonjs/components/typography/__test__/typography.test.js +6 -18
  80. package/lib/commonjs/components/typography/__test__/typography.test.js.map +1 -1
  81. package/lib/commonjs/components/typography/index.js +28 -72
  82. package/lib/commonjs/components/typography/index.js.map +1 -1
  83. package/lib/module/components/alert/Alert.js +2 -3
  84. package/lib/module/components/alert/Alert.js.map +1 -1
  85. package/lib/module/components/alert/AlertEdgeToEdge.js +2 -2
  86. package/lib/module/components/alert/AlertEdgeToEdge.js.map +1 -1
  87. package/lib/module/components/banner/Banner.js +2 -2
  88. package/lib/module/components/banner/Banner.js.map +1 -1
  89. package/lib/module/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -2
  90. package/lib/module/components/buttons/ButtonLink.js +1 -1
  91. package/lib/module/components/buttons/ButtonLink.js.map +1 -1
  92. package/lib/module/components/buttons/ButtonOutline.js +1 -1
  93. package/lib/module/components/buttons/ButtonOutline.js.map +1 -1
  94. package/lib/module/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -3
  95. package/lib/module/components/featureInfo/FeatureInfo.js +4 -3
  96. package/lib/module/components/featureInfo/FeatureInfo.js.map +1 -1
  97. package/lib/module/components/index.js +1 -0
  98. package/lib/module/components/index.js.map +1 -1
  99. package/lib/module/components/layout/HeaderFirstLevel.js +1 -0
  100. package/lib/module/components/layout/HeaderFirstLevel.js.map +1 -1
  101. package/lib/module/components/listitems/ListItemCheckbox.js +2 -2
  102. package/lib/module/components/listitems/ListItemCheckbox.js.map +1 -1
  103. package/lib/module/components/listitems/ListItemInfo.js +2 -2
  104. package/lib/module/components/listitems/ListItemInfo.js.map +1 -1
  105. package/lib/module/components/listitems/ListItemInfoCopy.js +2 -2
  106. package/lib/module/components/listitems/ListItemInfoCopy.js.map +1 -1
  107. package/lib/module/components/listitems/ListItemNav.js +2 -2
  108. package/lib/module/components/listitems/ListItemNav.js.map +1 -1
  109. package/lib/module/components/listitems/ListItemNavAlert.js +2 -2
  110. package/lib/module/components/listitems/ListItemNavAlert.js.map +1 -1
  111. package/lib/module/components/listitems/ListItemRadio.js +2 -2
  112. package/lib/module/components/listitems/ListItemRadio.js.map +1 -1
  113. package/lib/module/components/listitems/ListItemRadioWithAmount.js +3 -3
  114. package/lib/module/components/listitems/ListItemRadioWithAmount.js.map +1 -1
  115. package/lib/module/components/listitems/ListItemSwitch.js +2 -2
  116. package/lib/module/components/listitems/ListItemSwitch.js.map +1 -1
  117. package/lib/module/components/listitems/ListItemTransaction.js +3 -3
  118. package/lib/module/components/listitems/ListItemTransaction.js.map +1 -1
  119. package/lib/module/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +7 -7
  120. package/lib/module/components/modules/ModuleAttachment.js +2 -2
  121. package/lib/module/components/modules/ModuleAttachment.js.map +1 -1
  122. package/lib/module/components/modules/ModuleCheckout.js +2 -2
  123. package/lib/module/components/modules/ModuleCheckout.js.map +1 -1
  124. package/lib/module/components/modules/ModuleCredential.js +2 -2
  125. package/lib/module/components/modules/ModuleCredential.js.map +1 -1
  126. package/lib/module/components/modules/ModuleNavigation.js +4 -3
  127. package/lib/module/components/modules/ModuleNavigation.js.map +1 -1
  128. package/lib/module/components/modules/ModulePaymentNotice.js +3 -3
  129. package/lib/module/components/modules/ModulePaymentNotice.js.map +1 -1
  130. package/lib/module/components/modules/ModuleSummary.js +2 -2
  131. package/lib/module/components/modules/ModuleSummary.js.map +1 -1
  132. package/lib/module/components/otpInput/BoxedInput.js +5 -7
  133. package/lib/module/components/otpInput/BoxedInput.js.map +1 -1
  134. package/lib/module/components/otpInput/OTPInput.js +5 -4
  135. package/lib/module/components/otpInput/OTPInput.js.map +1 -1
  136. package/lib/module/components/tabs/TabItem.js +2 -2
  137. package/lib/module/components/tabs/TabItem.js.map +1 -1
  138. package/lib/module/components/textInput/TextInputBase.js +3 -3
  139. package/lib/module/components/textInput/TextInputBase.js.map +1 -1
  140. package/lib/module/components/tooltip/Arrows.js +36 -0
  141. package/lib/module/components/tooltip/Arrows.js.map +1 -0
  142. package/lib/module/components/tooltip/Tooltip.js +165 -0
  143. package/lib/module/components/tooltip/Tooltip.js.map +1 -0
  144. package/lib/module/components/tooltip/index.js +2 -0
  145. package/lib/module/components/tooltip/index.js.map +1 -0
  146. package/lib/module/components/tooltip/styles.js +43 -0
  147. package/lib/module/components/tooltip/styles.js.map +1 -0
  148. package/lib/module/components/tooltip/utils/index.js +163 -0
  149. package/lib/module/components/tooltip/utils/index.js.map +1 -0
  150. package/lib/module/components/tooltip/utils/types.js +2 -0
  151. package/lib/module/components/tooltip/utils/types.js.map +1 -0
  152. package/lib/module/components/typography/{LabelSmall.js → BodySmall.js} +6 -8
  153. package/lib/module/components/typography/BodySmall.js.map +1 -0
  154. package/lib/module/components/typography/ButtonText.js +1 -3
  155. package/lib/module/components/typography/ButtonText.js.map +1 -1
  156. package/lib/module/components/typography/H3.js +3 -6
  157. package/lib/module/components/typography/H3.js.map +1 -1
  158. package/lib/module/components/typography/H6.js +4 -5
  159. package/lib/module/components/typography/H6.js.map +1 -1
  160. package/lib/module/components/typography/__test__/__snapshots__/typography.test.tsx.snap +118 -161
  161. package/lib/module/components/typography/__test__/typography.test.js +6 -18
  162. package/lib/module/components/typography/__test__/typography.test.js.map +1 -1
  163. package/lib/module/components/typography/index.js +6 -10
  164. package/lib/module/components/typography/index.js.map +1 -1
  165. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  166. package/lib/typescript/components/banner/Banner.d.ts +1 -1
  167. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  168. package/lib/typescript/components/featureInfo/FeatureInfo.d.ts.map +1 -1
  169. package/lib/typescript/components/index.d.ts +1 -0
  170. package/lib/typescript/components/index.d.ts.map +1 -1
  171. package/lib/typescript/components/layout/HeaderFirstLevel.d.ts.map +1 -1
  172. package/lib/typescript/components/listitems/ListItemSwitch.d.ts.map +1 -1
  173. package/lib/typescript/components/modules/ModuleNavigation.d.ts.map +1 -1
  174. package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -1
  175. package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
  176. package/lib/typescript/components/tooltip/Arrows.d.ts +14 -0
  177. package/lib/typescript/components/tooltip/Arrows.d.ts.map +1 -0
  178. package/lib/typescript/components/tooltip/Tooltip.d.ts +64 -0
  179. package/lib/typescript/components/tooltip/Tooltip.d.ts.map +1 -0
  180. package/lib/typescript/components/tooltip/index.d.ts +2 -0
  181. package/lib/typescript/components/tooltip/index.d.ts.map +1 -0
  182. package/lib/typescript/components/tooltip/styles.d.ts +41 -0
  183. package/lib/typescript/components/tooltip/styles.d.ts.map +1 -0
  184. package/lib/typescript/components/tooltip/utils/index.d.ts +89 -0
  185. package/lib/typescript/components/tooltip/utils/index.d.ts.map +1 -0
  186. package/lib/typescript/components/tooltip/utils/types.d.ts +10 -0
  187. package/lib/typescript/components/tooltip/utils/types.d.ts.map +1 -0
  188. package/lib/typescript/components/typography/Body.d.ts +1 -1
  189. package/lib/typescript/components/typography/Body.d.ts.map +1 -1
  190. package/lib/typescript/components/typography/BodySmall.d.ts +13 -0
  191. package/lib/typescript/components/typography/BodySmall.d.ts.map +1 -0
  192. package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
  193. package/lib/typescript/components/typography/H3.d.ts +2 -0
  194. package/lib/typescript/components/typography/H3.d.ts.map +1 -1
  195. package/lib/typescript/components/typography/H6.d.ts.map +1 -1
  196. package/lib/typescript/components/typography/LabelMini.d.ts +1 -1
  197. package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
  198. package/lib/typescript/components/typography/index.d.ts +6 -10
  199. package/lib/typescript/components/typography/index.d.ts.map +1 -1
  200. package/package.json +1 -1
  201. package/src/components/alert/Alert.tsx +3 -4
  202. package/src/components/alert/AlertEdgeToEdge.tsx +3 -3
  203. package/src/components/banner/Banner.tsx +7 -5
  204. package/src/components/banner/__test__/__snapshots__/banner.test.tsx.snap +2 -2
  205. package/src/components/buttons/ButtonLink.tsx +1 -1
  206. package/src/components/buttons/ButtonOutline.tsx +1 -1
  207. package/src/components/buttons/__test__/__snapshots__/button.test.tsx.snap +3 -3
  208. package/src/components/featureInfo/FeatureInfo.tsx +6 -6
  209. package/src/components/index.tsx +1 -0
  210. package/src/components/layout/HeaderFirstLevel.tsx +1 -0
  211. package/src/components/listitems/ListItemCheckbox.tsx +3 -3
  212. package/src/components/listitems/ListItemInfo.tsx +3 -3
  213. package/src/components/listitems/ListItemInfoCopy.tsx +3 -3
  214. package/src/components/listitems/ListItemNav.tsx +3 -3
  215. package/src/components/listitems/ListItemNavAlert.tsx +3 -3
  216. package/src/components/listitems/ListItemRadio.tsx +3 -3
  217. package/src/components/listitems/ListItemRadioWithAmount.tsx +5 -5
  218. package/src/components/listitems/ListItemSwitch.tsx +4 -4
  219. package/src/components/listitems/ListItemTransaction.tsx +5 -5
  220. package/src/components/listitems/__test__/__snapshots__/listitem.test.tsx.snap +7 -7
  221. package/src/components/modules/ModuleAttachment.tsx +3 -3
  222. package/src/components/modules/ModuleCheckout.tsx +3 -3
  223. package/src/components/modules/ModuleCredential.tsx +3 -3
  224. package/src/components/modules/ModuleNavigation.tsx +6 -4
  225. package/src/components/modules/ModulePaymentNotice.tsx +5 -5
  226. package/src/components/modules/ModuleSummary.tsx +3 -3
  227. package/src/components/otpInput/BoxedInput.tsx +6 -5
  228. package/src/components/otpInput/OTPInput.tsx +23 -8
  229. package/src/components/tabs/TabItem.tsx +3 -3
  230. package/src/components/textInput/TextInputBase.tsx +5 -5
  231. package/src/components/tooltip/Arrows.tsx +36 -0
  232. package/src/components/tooltip/Tooltip.tsx +313 -0
  233. package/src/components/tooltip/index.ts +1 -0
  234. package/src/components/tooltip/styles.ts +44 -0
  235. package/src/components/tooltip/utils/index.ts +179 -0
  236. package/src/components/tooltip/utils/types.ts +9 -0
  237. package/src/components/typography/Body.tsx +1 -1
  238. package/src/components/typography/{LabelSmall.tsx → BodySmall.tsx} +7 -14
  239. package/src/components/typography/ButtonText.tsx +2 -4
  240. package/src/components/typography/H3.tsx +11 -8
  241. package/src/components/typography/H6.tsx +5 -6
  242. package/src/components/typography/LabelMini.tsx +1 -1
  243. package/src/components/typography/__test__/__snapshots__/typography.test.tsx.snap +118 -161
  244. package/src/components/typography/__test__/typography.test.tsx +8 -24
  245. package/src/components/typography/index.tsx +6 -10
  246. package/lib/commonjs/components/typography/BaseTypography.js +0 -52
  247. package/lib/commonjs/components/typography/BaseTypography.js.map +0 -1
  248. package/lib/commonjs/components/typography/Chip.js +0 -41
  249. package/lib/commonjs/components/typography/Chip.js.map +0 -1
  250. package/lib/commonjs/components/typography/Factory.js +0 -62
  251. package/lib/commonjs/components/typography/Factory.js.map +0 -1
  252. package/lib/commonjs/components/typography/Label.js +0 -51
  253. package/lib/commonjs/components/typography/Label.js.map +0 -1
  254. package/lib/commonjs/components/typography/LabelSmall.js.map +0 -1
  255. package/lib/module/components/typography/BaseTypography.js +0 -44
  256. package/lib/module/components/typography/BaseTypography.js.map +0 -1
  257. package/lib/module/components/typography/Chip.js +0 -32
  258. package/lib/module/components/typography/Chip.js.map +0 -1
  259. package/lib/module/components/typography/Factory.js +0 -55
  260. package/lib/module/components/typography/Factory.js.map +0 -1
  261. package/lib/module/components/typography/Label.js +0 -42
  262. package/lib/module/components/typography/Label.js.map +0 -1
  263. package/lib/module/components/typography/LabelSmall.js.map +0 -1
  264. package/lib/typescript/components/typography/BaseTypography.d.ts +0 -29
  265. package/lib/typescript/components/typography/BaseTypography.d.ts.map +0 -1
  266. package/lib/typescript/components/typography/Chip.d.ts +0 -13
  267. package/lib/typescript/components/typography/Chip.d.ts.map +0 -1
  268. package/lib/typescript/components/typography/Factory.d.ts +0 -43
  269. package/lib/typescript/components/typography/Factory.d.ts.map +0 -1
  270. package/lib/typescript/components/typography/Label.d.ts +0 -13
  271. package/lib/typescript/components/typography/Label.d.ts.map +0 -1
  272. package/lib/typescript/components/typography/LabelSmall.d.ts +0 -13
  273. package/lib/typescript/components/typography/LabelSmall.d.ts.map +0 -1
  274. package/src/components/typography/BaseTypography.tsx +0 -71
  275. package/src/components/typography/Chip.tsx +0 -33
  276. package/src/components/typography/Factory.tsx +0 -98
  277. package/src/components/typography/Label.tsx +0 -62
@@ -11,16 +11,15 @@ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "functio
11
11
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
12
12
  function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
13
13
  const defaultColor = "textHeading-default";
14
- const h6FontSize = 18;
14
+ const h6FontSize = 16;
15
15
  exports.h6FontSize = h6FontSize;
16
16
  const h6LineHeight = 24;
17
17
  exports.h6LineHeight = h6LineHeight;
18
18
  const fontName = "Titillio";
19
- const fontWeight = "Semibold";
20
19
 
21
20
  // TODO: Remove this when legacy look is deprecated https://pagopa.atlassian.net/browse/IOPLT-153
21
+ const legacyFontSize = 18;
22
22
  const legacyFontName = "TitilliumSansPro";
23
- const legacyFontWeight = "Semibold";
24
23
 
25
24
  /**
26
25
  * `H6` typographic style
@@ -38,9 +37,9 @@ const H6 = /*#__PURE__*/(0, _react.forwardRef)(({
38
37
  dynamicTypeRamp: "headline",
39
38
  // iOS only
40
39
  font: isExperimental ? fontName : legacyFontName,
41
- size: h6FontSize,
40
+ size: isExperimental ? h6FontSize : legacyFontSize,
42
41
  lineHeight: h6LineHeight,
43
- weight: isExperimental ? fontWeight : legacyFontWeight,
42
+ weight: "Semibold",
44
43
  color: customColor ?? theme[defaultColor]
45
44
  };
46
45
  return /*#__PURE__*/_react.default.createElement(_IOText.IOText, _extends({
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireWildcard","require","_core","_IOText","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","defaultColor","h6FontSize","exports","h6LineHeight","fontName","fontWeight","legacyFontName","legacyFontWeight","H6","forwardRef","color","customColor","props","ref","theme","useIOTheme","isExperimental","useIOExperimentalDesign","H6Props","dynamicTypeRamp","font","size","lineHeight","weight","createElement","IOText","children"],"sourceRoot":"../../../../src","sources":["components/typography/H6.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AAAsE,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAL,wBAAAS,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WAAAC,qBAAA,GAAAC,MAAA,CAAAC,cAAA,IAAAD,MAAA,CAAAE,wBAAA,WAAAC,GAAA,IAAAX,GAAA,QAAAW,GAAA,kBAAAH,MAAA,CAAAI,SAAA,CAAAC,cAAA,CAAAC,IAAA,CAAAd,GAAA,EAAAW,GAAA,SAAAI,IAAA,GAAAR,qBAAA,GAAAC,MAAA,CAAAE,wBAAA,CAAAV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MC,KAAK,GAAG,IAAAC,gBAAU,EAAC,CAAC;EAC1B,MAAM;IAAEC;EAAe,CAAC,GAAG,IAAAC,6BAAuB,EAAC,CAAC;EAEpD,MAAMC,OAAoB,GAAG;IAC3B,GAAGN,KAAK;IACRO,eAAe,EAAE,UAAU;IAAE;IAC7BC,IAAI,EAAEJ,cAAc,GAAGZ,QAAQ,GAAGE,cAAc;IAChDe,IAAI,EAAEpB,UAAU;IAChBqB,UAAU,EAAEnB,YAAY;IACxBoB,MAAM,EAAEP,cAAc,GAAGX,UAAU,GAAGE,gBAAgB;IACtDG,KAAK,EAAEC,WAAW,IAAIG,KAAK,CAACd,YAAY;EAC1C,CAAC;EAED,oBACEpC,MAAA,CAAAY,OAAA,CAAAgD,aAAA,CAACxD,OAAA,CAAAyD,MAAM,EAAAlC,QAAA;IAACsB,GAAG,EAAEA;EAAI,GAAKK,OAAO,GAC1BN,KAAK,CAACc,QACD,CAAC;AAEb,CACF,CAAC;AAACxB,OAAA,CAAAM,EAAA,GAAAA,EAAA"}
1
+ {"version":3,"names":["_react","_interopRequireWildcard","require","_core","_IOText","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","_extends","assign","bind","target","i","arguments","length","source","apply","defaultColor","h6FontSize","exports","h6LineHeight","fontName","legacyFontSize","legacyFontName","H6","forwardRef","color","customColor","props","ref","theme","useIOTheme","isExperimental","useIOExperimentalDesign","H6Props","dynamicTypeRamp","font","size","lineHeight","weight","createElement","IOText","children"],"sourceRoot":"../../../../src","sources":["components/typography/H6.tsx"],"mappings":";;;;;;AAAA,IAAAA,MAAA,GAAAC,uBAAA,CAAAC,OAAA;AAEA,IAAAC,KAAA,GAAAD,OAAA;AAEA,IAAAE,OAAA,GAAAF,OAAA;AAAsE,SAAAG,yBAAAC,WAAA,eAAAC,OAAA,kCA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C1BN,KAAK,CAACc,QACD,CAAC;AAEb,CACF,CAAC;AAACvB,OAAA,CAAAK,EAAA,GAAAA,EAAA"}
@@ -48,6 +48,121 @@ exports[`Test Typography Components BodyMonospace Snapshot 1`] = `
48
48
  </Text>
49
49
  `;
50
50
 
51
+ exports[`Test Typography Components BodySmall Snapshot 1`] = `
52
+ <Text
53
+ allowFontScaling={false}
54
+ dynamicTypeRamp="footnote"
55
+ maxFontSizeMultiplier={1.25}
56
+ style={
57
+ [
58
+ {},
59
+ {
60
+ "color": "#555C70",
61
+ "fontFamily": "Titillium Sans Pro",
62
+ "fontSize": 14,
63
+ "fontStyle": "normal",
64
+ "fontWeight": "400",
65
+ "lineHeight": 21,
66
+ },
67
+ ]
68
+ }
69
+ >
70
+ Text
71
+ </Text>
72
+ `;
73
+
74
+ exports[`Test Typography Components BodySmall Snapshot 2`] = `
75
+ <Text
76
+ allowFontScaling={false}
77
+ dynamicTypeRamp="footnote"
78
+ maxFontSizeMultiplier={1.25}
79
+ style={
80
+ [
81
+ {},
82
+ {
83
+ "color": "#0073E6",
84
+ "fontFamily": "Titillium Sans Pro",
85
+ "fontSize": 14,
86
+ "fontStyle": "normal",
87
+ "fontWeight": "400",
88
+ "lineHeight": 21,
89
+ },
90
+ ]
91
+ }
92
+ >
93
+ Text
94
+ </Text>
95
+ `;
96
+
97
+ exports[`Test Typography Components BodySmall Snapshot 3`] = `
98
+ <Text
99
+ allowFontScaling={false}
100
+ dynamicTypeRamp="footnote"
101
+ maxFontSizeMultiplier={1.25}
102
+ style={
103
+ [
104
+ {},
105
+ {
106
+ "color": "#475A6D",
107
+ "fontFamily": "Titillium Sans Pro",
108
+ "fontSize": 14,
109
+ "fontStyle": "normal",
110
+ "fontWeight": "400",
111
+ "lineHeight": 21,
112
+ },
113
+ ]
114
+ }
115
+ >
116
+ Text
117
+ </Text>
118
+ `;
119
+
120
+ exports[`Test Typography Components BodySmall Snapshot 4`] = `
121
+ <Text
122
+ allowFontScaling={false}
123
+ dynamicTypeRamp="footnote"
124
+ maxFontSizeMultiplier={1.25}
125
+ style={
126
+ [
127
+ {},
128
+ {
129
+ "color": "#C02927",
130
+ "fontFamily": "Titillium Sans Pro",
131
+ "fontSize": 14,
132
+ "fontStyle": "normal",
133
+ "fontWeight": "400",
134
+ "lineHeight": 21,
135
+ },
136
+ ]
137
+ }
138
+ >
139
+ Text
140
+ </Text>
141
+ `;
142
+
143
+ exports[`Test Typography Components BodySmall Snapshot 5`] = `
144
+ <Text
145
+ allowFontScaling={false}
146
+ dynamicTypeRamp="footnote"
147
+ maxFontSizeMultiplier={1.25}
148
+ style={
149
+ [
150
+ {},
151
+ {
152
+ "color": "#FFFFFF",
153
+ "fontFamily": "Titillium Sans Pro",
154
+ "fontSize": 14,
155
+ "fontStyle": "normal",
156
+ "fontWeight": "400",
157
+ "lineHeight": 21,
158
+ },
159
+ ]
160
+ }
161
+ >
162
+ Text
163
+ </Text>
164
+ `;
165
+
51
166
  exports[`Test Typography Components CTA Snapshot 1`] = `
52
167
  <Text
53
168
  allowFontScaling={false}
@@ -60,7 +175,7 @@ exports[`Test Typography Components CTA Snapshot 1`] = `
60
175
  "fontFamily": "Titillium Sans Pro",
61
176
  "fontSize": 16,
62
177
  "fontStyle": "normal",
63
- "fontWeight": "700",
178
+ "fontWeight": "600",
64
179
  "lineHeight": 20,
65
180
  },
66
181
  ]
@@ -450,169 +565,11 @@ exports[`Test Typography Components H6 Snapshot 1`] = `
450
565
  </Text>
451
566
  `;
452
567
 
453
- exports[`Test Typography Components Label Snapshot 1`] = `
454
- <Text
455
- allowFontScaling={false}
456
- maxFontSizeMultiplier={1.25}
457
- style={
458
- [
459
- {},
460
- {
461
- "color": "#555C70",
462
- "fontFamily": "Titillium Sans Pro",
463
- "fontSize": 16,
464
- "fontStyle": "normal",
465
- "fontWeight": "600",
466
- "lineHeight": 24,
467
- },
468
- ]
469
- }
470
- >
471
- Text
472
- </Text>
473
- `;
474
-
475
- exports[`Test Typography Components Label Snapshot 2`] = `
476
- <Text
477
- allowFontScaling={false}
478
- maxFontSizeMultiplier={1.25}
479
- style={
480
- [
481
- {},
482
- {
483
- "color": "#0E0F13",
484
- "fontFamily": "Titillium Sans Pro",
485
- "fontSize": 16,
486
- "fontStyle": "normal",
487
- "fontWeight": "600",
488
- "lineHeight": 24,
489
- },
490
- ]
491
- }
492
- >
493
- Text
494
- </Text>
495
- `;
496
-
497
- exports[`Test Typography Components LabelSmall Snapshot 1`] = `
498
- <Text
499
- allowFontScaling={false}
500
- dynamicTypeRamp="footnote"
501
- maxFontSizeMultiplier={1.25}
502
- style={
503
- [
504
- {},
505
- {
506
- "color": "#555C70",
507
- "fontFamily": "Titillium Sans Pro",
508
- "fontSize": 14,
509
- "fontStyle": "normal",
510
- "fontWeight": "600",
511
- "lineHeight": 21,
512
- },
513
- ]
514
- }
515
- >
516
- Text
517
- </Text>
518
- `;
519
-
520
- exports[`Test Typography Components LabelSmall Snapshot 2`] = `
521
- <Text
522
- allowFontScaling={false}
523
- dynamicTypeRamp="footnote"
524
- maxFontSizeMultiplier={1.25}
525
- style={
526
- [
527
- {},
528
- {
529
- "color": "#0073E6",
530
- "fontFamily": "Titillium Sans Pro",
531
- "fontSize": 14,
532
- "fontStyle": "normal",
533
- "fontWeight": "600",
534
- "lineHeight": 21,
535
- },
536
- ]
537
- }
538
- >
539
- Text
540
- </Text>
541
- `;
542
-
543
- exports[`Test Typography Components LabelSmall Snapshot 3`] = `
544
- <Text
545
- allowFontScaling={false}
546
- dynamicTypeRamp="footnote"
547
- maxFontSizeMultiplier={1.25}
548
- style={
549
- [
550
- {},
551
- {
552
- "color": "#475A6D",
553
- "fontFamily": "Titillium Sans Pro",
554
- "fontSize": 14,
555
- "fontStyle": "normal",
556
- "fontWeight": "600",
557
- "lineHeight": 21,
558
- },
559
- ]
560
- }
561
- >
562
- Text
563
- </Text>
564
- `;
565
-
566
- exports[`Test Typography Components LabelSmall Snapshot 4`] = `
567
- <Text
568
- allowFontScaling={false}
569
- dynamicTypeRamp="footnote"
570
- maxFontSizeMultiplier={1.25}
571
- style={
572
- [
573
- {},
574
- {
575
- "color": "#C02927",
576
- "fontFamily": "Titillium Sans Pro",
577
- "fontSize": 14,
578
- "fontStyle": "normal",
579
- "fontWeight": "600",
580
- "lineHeight": 21,
581
- },
582
- ]
583
- }
584
- >
585
- Text
586
- </Text>
587
- `;
588
-
589
- exports[`Test Typography Components LabelSmall Snapshot 5`] = `
590
- <Text
591
- allowFontScaling={false}
592
- dynamicTypeRamp="footnote"
593
- maxFontSizeMultiplier={1.25}
594
- style={
595
- [
596
- {},
597
- {
598
- "color": "#FFFFFF",
599
- "fontFamily": "Titillium Sans Pro",
600
- "fontSize": 14,
601
- "fontStyle": "normal",
602
- "fontWeight": "600",
603
- "lineHeight": 21,
604
- },
605
- ]
606
- }
607
- >
608
- Text
609
- </Text>
610
- `;
611
-
612
568
  exports[`Test Typography Components Link Snapshot 1`] = `
613
569
  <Text
614
570
  accessibilityRole="link"
615
571
  allowFontScaling={false}
572
+ dynamicTypeRamp="body"
616
573
  maxFontSizeMultiplier={1.25}
617
574
  onPress={[Function]}
618
575
  style={
@@ -625,7 +582,7 @@ exports[`Test Typography Components Link Snapshot 1`] = `
625
582
  "fontFamily": "Titillium Sans Pro",
626
583
  "fontSize": 16,
627
584
  "fontStyle": "normal",
628
- "fontWeight": "600",
585
+ "fontWeight": "400",
629
586
  "lineHeight": 24,
630
587
  },
631
588
  ]
@@ -1,8 +1,8 @@
1
1
  "use strict";
2
2
 
3
3
  var _react = _interopRequireDefault(require("react"));
4
- var TestRenderer = _interopRequireWildcard(require("react-test-renderer"));
5
4
  var _reactNative = require("react-native");
5
+ var TestRenderer = _interopRequireWildcard(require("react-test-renderer"));
6
6
  var _Body = require("../Body");
7
7
  var _BodyMonospace = require("../BodyMonospace");
8
8
  var _ButtonText = require("../ButtonText");
@@ -12,8 +12,7 @@ var _H3 = require("../H3");
12
12
  var _H4 = require("../H4");
13
13
  var _H5 = require("../H5");
14
14
  var _H6 = require("../H6");
15
- var _Label = require("../Label");
16
- var _LabelSmall = require("../LabelSmall");
15
+ var _BodySmall = require("../BodySmall");
17
16
  var _common = require("../common");
18
17
  function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
19
18
  function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
@@ -95,30 +94,19 @@ describe("Test Typography Components", () => {
95
94
  const cta = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_ButtonText.ButtonText, null, "Text")).toJSON();
96
95
  expect(cta).toMatchSnapshot();
97
96
  });
98
- it("LabelSmall Snapshot", () => {
99
- const labelSmallDefault = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_LabelSmall.LabelSmall, null, "Text")).toJSON();
97
+ it("BodySmall Snapshot", () => {
98
+ const labelSmallDefault = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_BodySmall.BodySmall, null, "Text")).toJSON();
100
99
  expect(labelSmallDefault).toMatchSnapshot();
101
100
  const allowedColors = ["blue", "bluegrey", "red", "white"];
102
101
  allowedColors.map(color => {
103
- const labelSmall = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_LabelSmall.LabelSmall, {
102
+ const labelSmall = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_BodySmall.BodySmall, {
104
103
  color: color
105
104
  }, "Text")).toJSON();
106
105
  expect(labelSmall).toMatchSnapshot();
107
106
  });
108
107
  });
109
- it("Label Snapshot", () => {
110
- const labelDefault = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_Label.Label, null, "Text")).toJSON();
111
- expect(labelDefault).toMatchSnapshot();
112
- const allowedColors = ["black"];
113
- allowedColors.map(color => {
114
- const label = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_Label.Label, {
115
- color: color
116
- }, "Text")).toJSON();
117
- expect(label).toMatchSnapshot();
118
- });
119
- });
120
108
  it("Link Snapshot", () => {
121
- const link = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_Label.Label, {
109
+ const link = TestRenderer.create( /*#__PURE__*/_react.default.createElement(_Body.Body, {
122
110
  asLink: true,
123
111
  onPress: () => _reactNative.Alert.alert("Pressed")
124
112
  }, "Text")).toJSON();
@@ -1 +1 @@
1
- {"version":3,"names":["_react","_interopRequireDefault","require","TestRenderer","_interopRequireWildcard","_reactNative","_Body","_BodyMonospace","_ButtonText","_H","_H2","_H3","_H4","_H5","_H6","_Label","_LabelSmall","_common","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","describe","it","h1Default","create","createElement","H1","toJSON","expect","toMatchSnapshot","h1White","color","h2Default","H2","h3Default","H3","h3bluegreyLight","h3white","h3whiteBold","h3defaultBold","h4Default","H4","h4Dblue","h4white","h5Default","H5","h5Defaultbluegrey","h5Defaultblue","h5Defaultwhite","h6Default","H6","bodyDefault","Body","cta","ButtonText","labelSmallDefault","LabelSmall","allowedColors","map","labelSmall","labelDefault","Label","label","link","asLink","onPress","Alert","alert","monospace","BodyMonospace","noValues","calculateWeightColor","toBe","weight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BAAwB,EAAE,MAAM;EACvCC,EAAE,CAAC,qCAAqC,EAAE,MAAM;IAC9C,MAAMgD,QAAQ,GAAG,IAAAC,4BAAoB,EACnC,MAAM,EACN,KACF,CAAC;IACD3C,MAAM,CAAC0C,QAAQ,CAACvC,KAAK,CAAC,CAACyC,IAAI,CAAC,KAAK,CAAC;IAClC5C,MAAM,CAAC0C,QAAQ,CAACG,MAAM,CAAC,CAACD,IAAI,CAAC,MAAM,CAAC;IAEpC,MAAME,cAAc,GAAG,IAAAH,4BAAoB,EACzC,MAAM,EACN,KAAK,EACL,SACF,CAAC;IACD3C,MAAM,CAAC8C,cAAc,CAAC3C,KAAK,CAAC,CAACyC,IAAI,CAAC,KAAK,CAAC;IACxC5C,MAAM,CAAC8C,cAAc,CAACD,MAAM,CAAC,CAACD,IAAI,CAAC,SAAS,CAAC;IAE7C,MAAMG,iBAAiB,GAAG,IAAAJ,4BAAoB,EAC5C,MAAM,EACN,KAAK,EACL,SAAS,EACT,UACF,CAAC;IACD3C,MAAM,CAAC+C,iBAAiB,CAAC5C,KAAK,CAAC,CAACyC,IAAI,CAAC,UAAU,CAAC;IAChD5C,MAAM,CAAC+C,iBAAiB,CAACF,MAAM,CAAC,CAACD,IAAI,CAAC,SAAS,CAAC;EAClD,CAAC,CAAC;AACJ,CAAC,CAAC"}
1
+ {"version":3,"names":["_react","_interopRequireDefault","require","_reactNative","TestRenderer","_interopRequireWildcard","_Body","_BodyMonospace","_ButtonText","_H","_H2","_H3","_H4","_H5","_H6","_BodySmall","_common","_getRequireWildcardCache","nodeInterop","WeakMap","cacheBabelInterop","cacheNodeInterop","obj","__esModule","default","cache","has","get","newObj","hasPropertyDescriptor","Object","defineProperty","getOwnPropertyDescriptor","key","prototype","hasOwnProperty","call","desc","set","describe","it","h1Default","create","createElement","H1","toJSON","expect","toMatchSnapshot","h1White","color","h2Default","H2","h3Default","H3","h3bluegreyLight","h3white","h3whiteBold","h3defaultBold","h4Default","H4","h4Dblue","h4white","h5Default","H5","h5Defaultbluegrey","h5Defaultblue","h5Defaultwhite","h6Default","H6","bodyDefault","Body","cta","ButtonText","labelSmallDefault","BodySmall","allowedColors","map","labelSmall","link","asLink","onPress","Alert","alert","monospace","BodyMonospace","noValues","calculateWeightColor","toBe","weight","weightProvided","allValuesProvided"],"sourceRoot":"../../../../../src","sources":["components/typography/__test__/typography.test.tsx"],"mappings":";;AAAA,IAAAA,MAAA,GAAAC,sBAAA,CAAAC,OAAA;AACA,IAAAC,YAAA,GAAAD,OAAA;AACA,IAAAE,YAAA,GAAAC,uBAAA,CAAAH,OAAA;AAGA,IAAAI,KAAA,GAAAJ,OAAA;AACA,IAAAK,cAAA,GAAAL,OAAA;AACA,IAAAM,WAAA,GAAAN,OAAA;AACA,IAAAO,EAAA,GAAAP,OAAA;AACA,IAAAQ,GAAA,GAAAR,OAAA;AACA,IAAAS,GAAA,GAAAT,OAAA;AACA,IAAAU,GAAA,GAAAV,OAAA;AACA,IAAAW,GAAA,GAAAX,OAAA;AACA,IAAAY,GAAA,GAAAZ,OAAA;AACA,IAAAa,UAAA,GAAAb,OAAA;AACA,IAAAc,OAAA,GAAAd,OAAA;AAAiD,SAAAe,yBAAAC,WAAA,eAAAC,OAAA,kCAAAC,iBAAA,OAAAD,OAAA,QAAAE,gBAAA,OAAAF,OAAA,YAAAF,wBAAA,YAAAA,CAAAC,WAAA,WAAAA,WAAA,GAAAG,gBAAA,GAAAD,iBAAA,KAAAF,WAAA;AAAA,SAAAb,wBAAAiB,GAAA,EAAAJ,WAAA,SAAAA,WAAA,IAAAI,GAAA,IAAAA,GAAA,CAAAC,UAAA,WAAAD,GAAA,QAAAA,GAAA,oBAAAA,GAAA,wBAAAA,GAAA,4BAAAE,OAAA,EAAAF,GAAA,UAAAG,KAAA,GAAAR,wBAAA,CAAAC,WAAA,OAAAO,KAAA,IAAAA,KAAA,CAAAC,GAAA,CAAAJ,GAAA,YAAAG,KAAA,CAAAE,GAAA,CAAAL,GAAA,SAAAM,MAAA,WA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AC;IAE7C,MAAMG,iBAAiB,GAAG,IAAAJ,4BAAoB,EAC5C,MAAM,EACN,KAAK,EACL,SAAS,EACT,UACF,CAAC;IACDxC,MAAM,CAAC4C,iBAAiB,CAACzC,KAAK,CAAC,CAACsC,IAAI,CAAC,UAAU,CAAC;IAChDzC,MAAM,CAAC4C,iBAAiB,CAACF,MAAM,CAAC,CAACD,IAAI,CAAC,SAAS,CAAC;EAClD,CAAC,CAAC;AACJ,CAAC,CAAC"}
@@ -3,47 +3,47 @@
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: true
5
5
  });
6
- var _BaseTypography = require("./BaseTypography");
7
- Object.keys(_BaseTypography).forEach(function (key) {
6
+ var _Body = require("./Body");
7
+ Object.keys(_Body).forEach(function (key) {
8
8
  if (key === "default" || key === "__esModule") return;
9
- if (key in exports && exports[key] === _BaseTypography[key]) return;
9
+ if (key in exports && exports[key] === _Body[key]) return;
10
10
  Object.defineProperty(exports, key, {
11
11
  enumerable: true,
12
12
  get: function () {
13
- return _BaseTypography[key];
13
+ return _Body[key];
14
14
  }
15
15
  });
16
16
  });
17
- var _IOText = require("./IOText");
18
- Object.keys(_IOText).forEach(function (key) {
17
+ var _BodyMonospace = require("./BodyMonospace");
18
+ Object.keys(_BodyMonospace).forEach(function (key) {
19
19
  if (key === "default" || key === "__esModule") return;
20
- if (key in exports && exports[key] === _IOText[key]) return;
20
+ if (key in exports && exports[key] === _BodyMonospace[key]) return;
21
21
  Object.defineProperty(exports, key, {
22
22
  enumerable: true,
23
23
  get: function () {
24
- return _IOText[key];
24
+ return _BodyMonospace[key];
25
25
  }
26
26
  });
27
27
  });
28
- var _Body = require("./Body");
29
- Object.keys(_Body).forEach(function (key) {
28
+ var _BodySmall = require("./BodySmall");
29
+ Object.keys(_BodySmall).forEach(function (key) {
30
30
  if (key === "default" || key === "__esModule") return;
31
- if (key in exports && exports[key] === _Body[key]) return;
31
+ if (key in exports && exports[key] === _BodySmall[key]) return;
32
32
  Object.defineProperty(exports, key, {
33
33
  enumerable: true,
34
34
  get: function () {
35
- return _Body[key];
35
+ return _BodySmall[key];
36
36
  }
37
37
  });
38
38
  });
39
- var _ComposedBodyFromArray = require("./ComposedBodyFromArray");
40
- Object.keys(_ComposedBodyFromArray).forEach(function (key) {
39
+ var _ButtonText = require("./ButtonText");
40
+ Object.keys(_ButtonText).forEach(function (key) {
41
41
  if (key === "default" || key === "__esModule") return;
42
- if (key in exports && exports[key] === _ComposedBodyFromArray[key]) return;
42
+ if (key in exports && exports[key] === _ButtonText[key]) return;
43
43
  Object.defineProperty(exports, key, {
44
44
  enumerable: true,
45
45
  get: function () {
46
- return _ComposedBodyFromArray[key];
46
+ return _ButtonText[key];
47
47
  }
48
48
  });
49
49
  });
@@ -58,36 +58,25 @@ Object.keys(_Caption).forEach(function (key) {
58
58
  }
59
59
  });
60
60
  });
61
- var _Chip = require("./Chip");
62
- Object.keys(_Chip).forEach(function (key) {
63
- if (key === "default" || key === "__esModule") return;
64
- if (key in exports && exports[key] === _Chip[key]) return;
65
- Object.defineProperty(exports, key, {
66
- enumerable: true,
67
- get: function () {
68
- return _Chip[key];
69
- }
70
- });
71
- });
72
- var _ButtonText = require("./ButtonText");
73
- Object.keys(_ButtonText).forEach(function (key) {
61
+ var _common = require("./common");
62
+ Object.keys(_common).forEach(function (key) {
74
63
  if (key === "default" || key === "__esModule") return;
75
- if (key in exports && exports[key] === _ButtonText[key]) return;
64
+ if (key in exports && exports[key] === _common[key]) return;
76
65
  Object.defineProperty(exports, key, {
77
66
  enumerable: true,
78
67
  get: function () {
79
- return _ButtonText[key];
68
+ return _common[key];
80
69
  }
81
70
  });
82
71
  });
83
- var _Factory = require("./Factory");
84
- Object.keys(_Factory).forEach(function (key) {
72
+ var _ComposedBodyFromArray = require("./ComposedBodyFromArray");
73
+ Object.keys(_ComposedBodyFromArray).forEach(function (key) {
85
74
  if (key === "default" || key === "__esModule") return;
86
- if (key in exports && exports[key] === _Factory[key]) return;
75
+ if (key in exports && exports[key] === _ComposedBodyFromArray[key]) return;
87
76
  Object.defineProperty(exports, key, {
88
77
  enumerable: true,
89
78
  get: function () {
90
- return _Factory[key];
79
+ return _ComposedBodyFromArray[key];
91
80
  }
92
81
  });
93
82
  });
@@ -168,25 +157,14 @@ Object.keys(_Hero).forEach(function (key) {
168
157
  }
169
158
  });
170
159
  });
171
- var _Label = require("./Label");
172
- Object.keys(_Label).forEach(function (key) {
173
- if (key === "default" || key === "__esModule") return;
174
- if (key in exports && exports[key] === _Label[key]) return;
175
- Object.defineProperty(exports, key, {
176
- enumerable: true,
177
- get: function () {
178
- return _Label[key];
179
- }
180
- });
181
- });
182
- var _LabelSmall = require("./LabelSmall");
183
- Object.keys(_LabelSmall).forEach(function (key) {
160
+ var _IOText = require("./IOText");
161
+ Object.keys(_IOText).forEach(function (key) {
184
162
  if (key === "default" || key === "__esModule") return;
185
- if (key in exports && exports[key] === _LabelSmall[key]) return;
163
+ if (key in exports && exports[key] === _IOText[key]) return;
186
164
  Object.defineProperty(exports, key, {
187
165
  enumerable: true,
188
166
  get: function () {
189
- return _LabelSmall[key];
167
+ return _IOText[key];
190
168
  }
191
169
  });
192
170
  });
@@ -201,28 +179,6 @@ Object.keys(_LabelMini).forEach(function (key) {
201
179
  }
202
180
  });
203
181
  });
204
- var _BodyMonospace = require("./BodyMonospace");
205
- Object.keys(_BodyMonospace).forEach(function (key) {
206
- if (key === "default" || key === "__esModule") return;
207
- if (key in exports && exports[key] === _BodyMonospace[key]) return;
208
- Object.defineProperty(exports, key, {
209
- enumerable: true,
210
- get: function () {
211
- return _BodyMonospace[key];
212
- }
213
- });
214
- });
215
- var _common = require("./common");
216
- Object.keys(_common).forEach(function (key) {
217
- if (key === "default" || key === "__esModule") return;
218
- if (key in exports && exports[key] === _common[key]) return;
219
- Object.defineProperty(exports, key, {
220
- enumerable: true,
221
- get: function () {
222
- return _common[key];
223
- }
224
- });
225
- });
226
182
  var _MdH = require("./markdown/MdH1");
227
183
  Object.keys(_MdH).forEach(function (key) {
228
184
  if (key === "default" || key === "__esModule") return;