@pagopa/io-app-design-system 7.0.2 → 7.1.1

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 (189) hide show
  1. package/lib/commonjs/components/alert/Alert.js +6 -5
  2. package/lib/commonjs/components/alert/Alert.js.map +1 -1
  3. package/lib/commonjs/components/banner/Banner.js +7 -6
  4. package/lib/commonjs/components/banner/Banner.js.map +1 -1
  5. package/lib/commonjs/components/buttons/IOButton/IOButton.js +10 -8
  6. package/lib/commonjs/components/buttons/IOButton/IOButton.js.map +1 -1
  7. package/lib/commonjs/components/layout/ContentWrapper.js +5 -4
  8. package/lib/commonjs/components/layout/ContentWrapper.js.map +1 -1
  9. package/lib/commonjs/components/otpInput/OTPInput.js +6 -4
  10. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  11. package/lib/commonjs/components/searchInput/SearchInput.js +8 -6
  12. package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
  13. package/lib/commonjs/components/tabs/TabItem.js +6 -4
  14. package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
  15. package/lib/commonjs/components/textInput/TextInputBase.js +8 -4
  16. package/lib/commonjs/components/textInput/TextInputBase.js.map +1 -1
  17. package/lib/commonjs/components/textInput/TextInputValidation.js +5 -3
  18. package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
  19. package/lib/commonjs/components/typography/Body.js +8 -5
  20. package/lib/commonjs/components/typography/Body.js.map +1 -1
  21. package/lib/commonjs/components/typography/BodyMonospace.js +4 -5
  22. package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
  23. package/lib/commonjs/components/typography/BodySmall.js +8 -5
  24. package/lib/commonjs/components/typography/BodySmall.js.map +1 -1
  25. package/lib/commonjs/components/typography/ButtonText.js +4 -5
  26. package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
  27. package/lib/commonjs/components/typography/Caption.js +4 -5
  28. package/lib/commonjs/components/typography/Caption.js.map +1 -1
  29. package/lib/commonjs/components/typography/H1.js +4 -5
  30. package/lib/commonjs/components/typography/H1.js.map +1 -1
  31. package/lib/commonjs/components/typography/H2.js +4 -5
  32. package/lib/commonjs/components/typography/H2.js.map +1 -1
  33. package/lib/commonjs/components/typography/H3.js +4 -5
  34. package/lib/commonjs/components/typography/H3.js.map +1 -1
  35. package/lib/commonjs/components/typography/H4.js +4 -5
  36. package/lib/commonjs/components/typography/H4.js.map +1 -1
  37. package/lib/commonjs/components/typography/H5.js +4 -5
  38. package/lib/commonjs/components/typography/H5.js.map +1 -1
  39. package/lib/commonjs/components/typography/H6.js +4 -5
  40. package/lib/commonjs/components/typography/H6.js.map +1 -1
  41. package/lib/commonjs/components/typography/Hero.js +4 -5
  42. package/lib/commonjs/components/typography/Hero.js.map +1 -1
  43. package/lib/commonjs/components/typography/IOText.js +16 -14
  44. package/lib/commonjs/components/typography/IOText.js.map +1 -1
  45. package/lib/commonjs/components/typography/LabelMini.js +8 -5
  46. package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
  47. package/lib/commonjs/components/typography/markdown/MdH1.js +4 -5
  48. package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
  49. package/lib/commonjs/components/typography/markdown/MdH2.js +4 -5
  50. package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
  51. package/lib/commonjs/components/typography/markdown/MdH3.js +4 -5
  52. package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
  53. package/lib/commonjs/context/IOThemeContextProvider.js +3 -4
  54. package/lib/commonjs/context/IOThemeContextProvider.js.map +1 -1
  55. package/lib/module/components/alert/Alert.js +5 -5
  56. package/lib/module/components/alert/Alert.js.map +1 -1
  57. package/lib/module/components/banner/Banner.js +6 -6
  58. package/lib/module/components/banner/Banner.js.map +1 -1
  59. package/lib/module/components/buttons/IOButton/IOButton.js +10 -9
  60. package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -1
  61. package/lib/module/components/layout/ContentWrapper.js +4 -4
  62. package/lib/module/components/layout/ContentWrapper.js.map +1 -1
  63. package/lib/module/components/otpInput/OTPInput.js +6 -5
  64. package/lib/module/components/otpInput/OTPInput.js.map +1 -1
  65. package/lib/module/components/searchInput/SearchInput.js +8 -7
  66. package/lib/module/components/searchInput/SearchInput.js.map +1 -1
  67. package/lib/module/components/tabs/TabItem.js +6 -5
  68. package/lib/module/components/tabs/TabItem.js.map +1 -1
  69. package/lib/module/components/textInput/TextInputBase.js +8 -4
  70. package/lib/module/components/textInput/TextInputBase.js.map +1 -1
  71. package/lib/module/components/textInput/TextInputValidation.js +5 -4
  72. package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
  73. package/lib/module/components/typography/Body.js +7 -5
  74. package/lib/module/components/typography/Body.js.map +1 -1
  75. package/lib/module/components/typography/BodyMonospace.js +3 -5
  76. package/lib/module/components/typography/BodyMonospace.js.map +1 -1
  77. package/lib/module/components/typography/BodySmall.js +7 -5
  78. package/lib/module/components/typography/BodySmall.js.map +1 -1
  79. package/lib/module/components/typography/ButtonText.js +3 -5
  80. package/lib/module/components/typography/ButtonText.js.map +1 -1
  81. package/lib/module/components/typography/Caption.js +3 -5
  82. package/lib/module/components/typography/Caption.js.map +1 -1
  83. package/lib/module/components/typography/H1.js +3 -5
  84. package/lib/module/components/typography/H1.js.map +1 -1
  85. package/lib/module/components/typography/H2.js +3 -5
  86. package/lib/module/components/typography/H2.js.map +1 -1
  87. package/lib/module/components/typography/H3.js +3 -5
  88. package/lib/module/components/typography/H3.js.map +1 -1
  89. package/lib/module/components/typography/H4.js +3 -5
  90. package/lib/module/components/typography/H4.js.map +1 -1
  91. package/lib/module/components/typography/H5.js +3 -5
  92. package/lib/module/components/typography/H5.js.map +1 -1
  93. package/lib/module/components/typography/H6.js +3 -5
  94. package/lib/module/components/typography/H6.js.map +1 -1
  95. package/lib/module/components/typography/Hero.js +3 -5
  96. package/lib/module/components/typography/Hero.js.map +1 -1
  97. package/lib/module/components/typography/IOText.js +16 -15
  98. package/lib/module/components/typography/IOText.js.map +1 -1
  99. package/lib/module/components/typography/LabelMini.js +7 -5
  100. package/lib/module/components/typography/LabelMini.js.map +1 -1
  101. package/lib/module/components/typography/markdown/MdH1.js +3 -5
  102. package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
  103. package/lib/module/components/typography/markdown/MdH2.js +3 -5
  104. package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
  105. package/lib/module/components/typography/markdown/MdH3.js +3 -5
  106. package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
  107. package/lib/module/context/IOThemeContextProvider.js +3 -4
  108. package/lib/module/context/IOThemeContextProvider.js.map +1 -1
  109. package/lib/typescript/components/alert/Alert.d.ts +3 -1
  110. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  111. package/lib/typescript/components/banner/Banner.d.ts +3 -1
  112. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  113. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts +3 -2
  114. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts.map +1 -1
  115. package/lib/typescript/components/layout/ContentWrapper.d.ts +10 -6
  116. package/lib/typescript/components/layout/ContentWrapper.d.ts.map +1 -1
  117. package/lib/typescript/components/otpInput/OTPInput.d.ts +3 -1
  118. package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
  119. package/lib/typescript/components/searchInput/SearchInput.d.ts +3 -1
  120. package/lib/typescript/components/searchInput/SearchInput.d.ts.map +1 -1
  121. package/lib/typescript/components/tabs/TabItem.d.ts +3 -11
  122. package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
  123. package/lib/typescript/components/textInput/TextInputBase.d.ts +2 -1
  124. package/lib/typescript/components/textInput/TextInputBase.d.ts.map +1 -1
  125. package/lib/typescript/components/textInput/TextInputValidation.d.ts +13 -24
  126. package/lib/typescript/components/textInput/TextInputValidation.d.ts.map +1 -1
  127. package/lib/typescript/components/typography/Body.d.ts +4 -2
  128. package/lib/typescript/components/typography/Body.d.ts.map +1 -1
  129. package/lib/typescript/components/typography/BodyMonospace.d.ts +2 -8
  130. package/lib/typescript/components/typography/BodyMonospace.d.ts.map +1 -1
  131. package/lib/typescript/components/typography/BodySmall.d.ts +4 -2
  132. package/lib/typescript/components/typography/BodySmall.d.ts.map +1 -1
  133. package/lib/typescript/components/typography/ButtonText.d.ts +2 -8
  134. package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
  135. package/lib/typescript/components/typography/Caption.d.ts +2 -8
  136. package/lib/typescript/components/typography/Caption.d.ts.map +1 -1
  137. package/lib/typescript/components/typography/H1.d.ts +2 -8
  138. package/lib/typescript/components/typography/H1.d.ts.map +1 -1
  139. package/lib/typescript/components/typography/H2.d.ts +6 -10
  140. package/lib/typescript/components/typography/H2.d.ts.map +1 -1
  141. package/lib/typescript/components/typography/H3.d.ts +2 -8
  142. package/lib/typescript/components/typography/H3.d.ts.map +1 -1
  143. package/lib/typescript/components/typography/H4.d.ts +2 -8
  144. package/lib/typescript/components/typography/H4.d.ts.map +1 -1
  145. package/lib/typescript/components/typography/H5.d.ts +2 -8
  146. package/lib/typescript/components/typography/H5.d.ts.map +1 -1
  147. package/lib/typescript/components/typography/H6.d.ts +2 -8
  148. package/lib/typescript/components/typography/H6.d.ts.map +1 -1
  149. package/lib/typescript/components/typography/Hero.d.ts +2 -8
  150. package/lib/typescript/components/typography/Hero.d.ts.map +1 -1
  151. package/lib/typescript/components/typography/IOText.d.ts +5 -5
  152. package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
  153. package/lib/typescript/components/typography/LabelMini.d.ts +4 -2
  154. package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
  155. package/lib/typescript/components/typography/markdown/MdH1.d.ts +2 -8
  156. package/lib/typescript/components/typography/markdown/MdH1.d.ts.map +1 -1
  157. package/lib/typescript/components/typography/markdown/MdH2.d.ts +2 -8
  158. package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
  159. package/lib/typescript/components/typography/markdown/MdH3.d.ts +2 -8
  160. package/lib/typescript/components/typography/markdown/MdH3.d.ts.map +1 -1
  161. package/lib/typescript/context/IOThemeContextProvider.d.ts.map +1 -1
  162. package/package.json +6 -7
  163. package/src/components/alert/Alert.tsx +108 -112
  164. package/src/components/banner/Banner.tsx +121 -125
  165. package/src/components/buttons/IOButton/IOButton.tsx +204 -216
  166. package/src/components/layout/ContentWrapper.tsx +21 -24
  167. package/src/components/otpInput/OTPInput.tsx +156 -167
  168. package/src/components/searchInput/SearchInput.tsx +208 -217
  169. package/src/components/tabs/TabItem.tsx +143 -146
  170. package/src/components/textInput/TextInputBase.tsx +13 -4
  171. package/src/components/textInput/TextInputValidation.tsx +122 -122
  172. package/src/components/typography/Body.tsx +51 -52
  173. package/src/components/typography/BodyMonospace.tsx +19 -24
  174. package/src/components/typography/BodySmall.tsx +51 -52
  175. package/src/components/typography/ButtonText.tsx +14 -20
  176. package/src/components/typography/Caption.tsx +18 -23
  177. package/src/components/typography/H1.tsx +12 -20
  178. package/src/components/typography/H2.tsx +16 -23
  179. package/src/components/typography/H3.tsx +12 -20
  180. package/src/components/typography/H4.tsx +12 -20
  181. package/src/components/typography/H5.tsx +16 -24
  182. package/src/components/typography/H6.tsx +13 -21
  183. package/src/components/typography/Hero.tsx +14 -19
  184. package/src/components/typography/IOText.tsx +54 -59
  185. package/src/components/typography/LabelMini.tsx +45 -49
  186. package/src/components/typography/markdown/MdH1.tsx +14 -19
  187. package/src/components/typography/markdown/MdH2.tsx +14 -19
  188. package/src/components/typography/markdown/MdH3.tsx +14 -19
  189. package/src/context/IOThemeContextProvider.tsx +4 -12
@@ -1,15 +1,9 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const buttonTextFontSize: IOFontSize;
5
4
  export declare const buttonTextLineHeight = 20;
6
5
  /**
7
6
  * `ButtonText` typographic style
8
7
  */
9
- export declare const ButtonText: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & import("react").RefAttributes<View>>;
8
+ export declare const ButtonText: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
15
9
  //# sourceMappingURL=ButtonText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"ButtonText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/ButtonText.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,kBAAkB,EAAE,UAAe,CAAC;AACjD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAMvC;;GAEG;AACH,eAAO,MAAM,UAAU;;;;;wCAkBtB,CAAC"}
1
+ {"version":3,"file":"ButtonText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/ButtonText.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,kBAAkB,EAAE,UAAe,CAAC;AACjD,eAAO,MAAM,oBAAoB,KAAK,CAAC;AAMvC;;GAEG;AACH,eAAO,MAAM,UAAU,GAAI,kCAGxB,qBAAqB,4CAYvB,CAAC"}
@@ -1,14 +1,8 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const captionFontSize: IOFontSize;
5
4
  /**
6
5
  * `Caption` typographic style
7
6
  */
8
- export declare const Caption: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
9
- textStyle?: import("./IOText").IOTextStyle;
10
- style?: import("./IOText").IOTextStyle;
11
- } & {
12
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
13
- } & import("react").RefAttributes<View>>;
7
+ export declare const Caption: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
14
8
  //# sourceMappingURL=Caption.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Caption.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Caption.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,eAAe,EAAE,UAAe,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,OAAO;;;;;wCAsBnB,CAAC"}
1
+ {"version":3,"file":"Caption.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Caption.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,eAAe,EAAE,UAAe,CAAC;AAE9C;;GAEG;AACH,eAAO,MAAM,OAAO,GAAI,kCAGrB,qBAAqB,4CAgBvB,CAAC"}
@@ -1,15 +1,9 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const h1FontSize: IOFontSize;
5
4
  export declare const h1LineHeight = 42;
6
5
  /**
7
6
  * `H1` typographic style
8
7
  */
9
- export declare const H1: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & import("react").RefAttributes<View>>;
8
+ export declare const H1: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
15
9
  //# sourceMappingURL=H1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H1.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H1.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;wCAmBd,CAAC"}
1
+ {"version":3,"file":"H1.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H1.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,kCAAkC,qBAAqB,4CAazE,CAAC"}
@@ -1,17 +1,13 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize, IOFontWeight } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
3
+ type H2StyleProps = TypographicStyleProps & {
4
+ weight?: Extract<IOFontWeight, "Semibold" | "Bold">;
5
+ };
4
6
  export declare const h2FontSize: IOFontSize;
5
7
  export declare const h2LineHeight = 34;
6
8
  /**
7
9
  * `H2` typographic style
8
10
  */
9
- export declare const H2: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & {
15
- weight?: Extract<IOFontWeight, "Semibold" | "Bold">;
16
- } & import("react").RefAttributes<View>>;
11
+ export declare const H2: ({ weight: customWeight, color: customColor, ...props }: H2StyleProps) => import("react/jsx-runtime").JSX.Element;
12
+ export {};
17
13
  //# sourceMappingURL=H2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H2.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAMtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;;aATJ,OAAO,CAAC,YAAY,EAAE,UAAU,GAAG,MAAM,CAAC;wCA+BpD,CAAC"}
1
+ {"version":3,"file":"H2.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H2.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC7D,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,KAAK,YAAY,GAAG,qBAAqB,GAAG;IAC1C,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,UAAU,GAAG,MAAM,CAAC,CAAC;CACrD,CAAC;AAEF,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,wDAIhB,YAAY,4CAad,CAAC"}
@@ -1,15 +1,9 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const h3FontSize: IOFontSize;
5
4
  export declare const h3LineHeight = 33;
6
5
  /**
7
6
  * `H3` typographic style
8
7
  */
9
- export declare const H3: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & import("react").RefAttributes<View>>;
8
+ export declare const H3: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
15
9
  //# sourceMappingURL=H3.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H3.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAGtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;wCAmBd,CAAC"}
1
+ {"version":3,"file":"H3.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H3.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAGtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,kCAAkC,qBAAqB,4CAazE,CAAC"}
@@ -1,15 +1,9 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const h4FontSize: IOFontSize;
5
4
  export declare const h4LineHeight = 24;
6
5
  /**
7
6
  * `H4` typographic style
8
7
  */
9
- export declare const H4: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & import("react").RefAttributes<View>>;
8
+ export declare const H4: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
15
9
  //# sourceMappingURL=H4.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H4.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;wCAmBd,CAAC"}
1
+ {"version":3,"file":"H4.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H4.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,kCAAkC,qBAAqB,4CAazE,CAAC"}
@@ -1,15 +1,9 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const h5FontSize: IOFontSize;
5
4
  export declare const h5LineHeight = 16;
6
5
  /**
7
6
  * `H5` typographic style
8
7
  */
9
- export declare const H5: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & import("react").RefAttributes<View>>;
8
+ export declare const H5: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
15
9
  //# sourceMappingURL=H5.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H5.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H5.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;wCAuBd,CAAC"}
1
+ {"version":3,"file":"H5.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H5.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAE/B;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,kCAAkC,qBAAqB,4CAiBzE,CAAC"}
@@ -1,15 +1,9 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const h6FontSize: IOFontSize;
5
4
  export declare const h6LineHeight = 24;
6
5
  /**
7
6
  * `H6` typographic style
8
7
  */
9
- export declare const H6: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & import("react").RefAttributes<View>>;
8
+ export declare const H6: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
15
9
  //# sourceMappingURL=H6.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"H6.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H6.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAK/B;;GAEG;AACH,eAAO,MAAM,EAAE;;;;;wCAoBd,CAAC"}
1
+ {"version":3,"file":"H6.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/H6.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,UAAU,EAAE,UAAe,CAAC;AACzC,eAAO,MAAM,YAAY,KAAK,CAAC;AAK/B;;GAEG;AACH,eAAO,MAAM,EAAE,GAAI,kCAAkC,qBAAqB,4CAczE,CAAC"}
@@ -1,15 +1,9 @@
1
- import { View } from "react-native";
2
1
  import { IOFontSize } from "../../utils/fonts";
3
- import { IOTextProps } from "./IOText";
2
+ import { TypographicStyleProps } from "./IOText";
4
3
  export declare const heroFontSize: IOFontSize;
5
4
  export declare const heroLineHeight = 48;
6
5
  /**
7
6
  * `Hero` typographic style
8
7
  */
9
- export declare const Hero: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
10
- textStyle?: import("./IOText").IOTextStyle;
11
- style?: import("./IOText").IOTextStyle;
12
- } & {
13
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
14
- } & import("react").RefAttributes<View>>;
8
+ export declare const Hero: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
15
9
  //# sourceMappingURL=Hero.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Hero.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Hero.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,YAAY,EAAE,UAAe,CAAC;AAC3C,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;wCAkBhB,CAAC"}
1
+ {"version":3,"file":"Hero.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Hero.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE,eAAO,MAAM,YAAY,EAAE,UAAe,CAAC;AAC3C,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,kCAGlB,qBAAqB,4CAYvB,CAAC"}
@@ -1,5 +1,5 @@
1
- import { ComponentProps } from "react";
2
- import { AccessibilityRole, GestureResponderEvent, Text, TextStyle, View } from "react-native";
1
+ import { ComponentPropsWithRef } from "react";
2
+ import { AccessibilityRole, GestureResponderEvent, Text, TextStyle } from "react-native";
3
3
  import { IOColors } from "../../core";
4
4
  import { IOFontFamily, IOFontWeight } from "../../utils/fonts";
5
5
  /**
@@ -28,7 +28,7 @@ type IOTextBaseProps = {
28
28
  textStyle?: IOTextStyle;
29
29
  style?: IOTextStyle;
30
30
  };
31
- type IOTextExcludedProps = Omit<ComponentProps<typeof Text>, "style">;
31
+ type IOTextExcludedProps = Omit<ComponentPropsWithRef<typeof Text>, "style">;
32
32
  export type IOTextProps = IOTextBaseProps & IOTextExcludedProps;
33
33
  /**
34
34
  * Extend `TypographicStyleProps` with extra props for styles that
@@ -52,7 +52,7 @@ export type TypographicStyleAsLinkProps = {
52
52
  * @param props
53
53
  * @constructor
54
54
  */
55
- export declare const IOText: import("react").ForwardRefExoticComponent<IOTextBaseProps & IOTextExcludedProps & import("react").RefAttributes<View>>;
56
- export declare const AnimatedIOText: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<IOTextBaseProps & IOTextExcludedProps & import("react").RefAttributes<View>>, import("react").ForwardRefExoticComponent<IOTextBaseProps & IOTextExcludedProps & import("react").RefAttributes<View>>>;
55
+ export declare const IOText: ({ color, size, font, lineHeight, weight, fontStyle, textStyle, style, children, allowFontScaling, maxFontSizeMultiplier, ref, ...props }: IOTextProps) => import("react/jsx-runtime").JSX.Element;
56
+ export declare const AnimatedIOText: import("react-native-reanimated/lib/typescript/createAnimatedComponent").AnimatedComponentType<Readonly<IOTextBaseProps & IOTextExcludedProps>, ({ color, size, font, lineHeight, weight, fontStyle, textStyle, style, children, allowFontScaling, maxFontSizeMultiplier, ref, ...props }: IOTextProps) => import("react/jsx-runtime").JSX.Element>;
57
57
  export {};
58
58
  //# sourceMappingURL=IOText.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"IOText.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/IOText.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../../utils/fonts";
3
4
  import { TypographicStyleAsLinkProps, TypographicStyleProps } from "./IOText";
4
- type LabelMiniProps = TypographicStyleProps & {
5
+ type LabelMiniProps = Omit<TypographicStyleProps, "ref"> & {
6
+ ref?: Ref<View>;
5
7
  weight?: Extract<IOFontWeight, "Regular" | "Semibold">;
6
8
  } & TypographicStyleAsLinkProps;
7
9
  /**
8
10
  * `LabelMini` typographic style
9
11
  */
10
- export declare const LabelMini: import("react").ForwardRefExoticComponent<LabelMiniProps & import("react").RefAttributes<View>>;
12
+ export declare const LabelMini: ({ ref, weight: customWeight, color: customColor, asLink, accessibilityRole, textStyle: customTextStyle, onPress, ...props }: LabelMiniProps) => import("react/jsx-runtime").JSX.Element;
11
13
  export {};
12
14
  //# sourceMappingURL=LabelMini.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"LabelMini.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/LabelMini.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAGL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAElB,KAAK,cAAc,GAAG,qBAAqB,GAAG;IAC5C,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;CACxD,GAAG,2BAA2B,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,SAAS,iGAoDrB,CAAC"}
1
+ {"version":3,"file":"LabelMini.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/LabelMini.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,EAAE,MAAM,OAAO,CAAC;AAC5B,OAAO,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AAE/C,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,OAAO,EAGL,2BAA2B,EAC3B,qBAAqB,EACtB,MAAM,UAAU,CAAC;AAElB,KAAK,cAAc,GAAG,IAAI,CAAC,qBAAqB,EAAE,KAAK,CAAC,GAAG;IACzD,GAAG,CAAC,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;IAChB,MAAM,CAAC,EAAE,OAAO,CAAC,YAAY,EAAE,SAAS,GAAG,UAAU,CAAC,CAAC;CACxD,GAAG,2BAA2B,CAAC;AAEhC;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,6HASvB,cAAc,4CAsChB,CAAC"}
@@ -1,12 +1,6 @@
1
- import { View } from "react-native";
2
- import { IOTextProps } from "../IOText";
1
+ import { TypographicStyleProps } from "../IOText";
3
2
  /**
4
3
  * `MdH1` typographic style
5
4
  */
6
- export declare const MdH1: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
7
- textStyle?: import("../IOText").IOTextStyle;
8
- style?: import("../IOText").IOTextStyle;
9
- } & {
10
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
11
- } & import("react").RefAttributes<View>>;
5
+ export declare const MdH1: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
12
6
  //# sourceMappingURL=MdH1.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MdH1.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH1.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAU,WAAW,EAAyB,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;wCAkBhB,CAAC"}
1
+ {"version":3,"file":"MdH1.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH1.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,kCAGlB,qBAAqB,4CAYvB,CAAC"}
@@ -1,12 +1,6 @@
1
- import { View } from "react-native";
2
- import { IOTextProps } from "../IOText";
1
+ import { TypographicStyleProps } from "../IOText";
3
2
  /**
4
3
  * `MdH2` typographic style
5
4
  */
6
- export declare const MdH2: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
7
- textStyle?: import("../IOText").IOTextStyle;
8
- style?: import("../IOText").IOTextStyle;
9
- } & {
10
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
11
- } & import("react").RefAttributes<View>>;
5
+ export declare const MdH2: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
12
6
  //# sourceMappingURL=MdH2.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MdH2.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH2.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAU,WAAW,EAAyB,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;wCAkBhB,CAAC"}
1
+ {"version":3,"file":"MdH2.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH2.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,kCAGlB,qBAAqB,4CAYvB,CAAC"}
@@ -1,12 +1,6 @@
1
- import { View } from "react-native";
2
- import { IOTextProps } from "../IOText";
1
+ import { TypographicStyleProps } from "../IOText";
3
2
  /**
4
3
  * `MdH3` typographic style
5
4
  */
6
- export declare const MdH3: import("react").ForwardRefExoticComponent<Omit<IOTextProps, "style" | "lineHeight" | "fontStyle" | "size" | "color" | "font" | "weight"> & {
7
- textStyle?: import("../IOText").IOTextStyle;
8
- style?: import("../IOText").IOTextStyle;
9
- } & {
10
- color?: "white" | "grey-50" | "grey-100" | "grey-200" | "grey-300" | "grey-450" | "grey-650" | "grey-700" | "grey-850" | "grey-900" | "black" | "blueIO-850" | "blueIO-600" | "blueIO-500" | "blueIO-400" | "blueIO-300" | "blueIO-200" | "blueIO-150" | "blueIO-100" | "blueIO-50" | "hanPurple-850" | "hanPurple-500" | "hanPurple-250" | "hanPurple-100" | "hanPurple-50" | "turquoise-850" | "turquoise-500" | "turquoise-450" | "turquoise-300" | "turquoise-150" | "turquoise-100" | "turquoise-50" | "error-850" | "error-600" | "error-500" | "error-400" | "error-100" | "warning-850" | "warning-700" | "warning-500" | "warning-400" | "warning-100" | "success-850" | "success-700" | "success-500" | "success-400" | "success-100" | "info-850" | "info-700" | "info-500" | "info-400" | "info-100" | "blueItalia-850" | "blueItalia-600" | "blueItalia-500" | "blueItalia-300" | "blueItalia-100" | "blueItalia-50" | undefined;
11
- } & import("react").RefAttributes<View>>;
5
+ export declare const MdH3: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
12
6
  //# sourceMappingURL=MdH3.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"MdH3.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH3.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAEpC,OAAO,EAAU,WAAW,EAAyB,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI;;;;;wCAkBhB,CAAC"}
1
+ {"version":3,"file":"MdH3.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/markdown/MdH3.tsx"],"names":[],"mappings":"AACA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,WAAW,CAAC;AAEvE;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,kCAGlB,qBAAqB,4CAYvB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"IOThemeContextProvider.d.ts","sourceRoot":"","sources":["../../../src/context/IOThemeContextProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,OAAO,EAEP,iBAAiB,EAIlB,MAAM,OAAO,CAAC;AACf,OAAO,EAAc,eAAe,EAAE,MAAM,cAAc,CAAC;AAC3D,OAAO,EAAE,OAAO,EAA6B,MAAM,kBAA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GpC,iBAAiB,CAAC,2BAA2B,CAAC,4CAoBhD,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pagopa/io-app-design-system",
3
- "version": "7.0.2",
3
+ "version": "7.1.1",
4
4
  "description": "The library defining the core components of the design system of @pagopa/io-app",
5
5
  "main": "lib/commonjs/index",
6
6
  "module": "lib/module/index",
@@ -63,14 +63,13 @@
63
63
  "@react-native-community/eslint-config": "^3.0.2",
64
64
  "@react-native/babel-preset": "^0.82.1",
65
65
  "@release-it/conventional-changelog": "^5.0.0",
66
- "@stylistic/eslint-plugin": "^2.12.1",
67
66
  "@svgr/core": "^8.1.0",
68
67
  "@svgr/plugin-jsx": "^8.1.0",
69
68
  "@svgr/plugin-svgo": "^8.1.0",
70
69
  "@testing-library/react-native": "^13.2.0",
71
70
  "@types/jest": "^29.5.14",
72
71
  "@types/markdown-it": "^14.1.2",
73
- "@types/react": "^19.2.0",
72
+ "@types/react": "^19.1.0",
74
73
  "@types/react-test-renderer": "19.1.0",
75
74
  "babel-jest": "^29.7.0",
76
75
  "babel-plugin-module-resolver": "^5.0.2",
@@ -87,16 +86,16 @@
87
86
  "jest": "^29.6.3",
88
87
  "pod-install": "^0.1.0",
89
88
  "prettier": "^2.0.5",
90
- "react": "19.2.0",
91
- "react-native": "0.83.4",
89
+ "react": "19.1.0",
90
+ "react-native": "0.81.5",
92
91
  "react-native-builder-bob": "^0.38.0",
93
- "react-test-renderer": "19.2.0",
92
+ "react-test-renderer": "19.1.0",
94
93
  "release-it": "^15.0.0",
95
94
  "svgo": "^3.0.2",
96
95
  "typescript": "^5.8.3"
97
96
  },
98
97
  "peerDependencies": {
99
- "react": "*",
98
+ "react": "^19.0.0",
100
99
  "react-native": "*",
101
100
  "react-native-easing-gradient": "*",
102
101
  "react-native-gesture-handler": "*",