@pagopa/io-app-design-system 7.0.1 → 7.1.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 (214) 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/icons/Icon.js +2 -2
  8. package/lib/commonjs/components/icons/Icon.js.map +1 -1
  9. package/lib/commonjs/components/icons/svg/IconStop.js +25 -0
  10. package/lib/commonjs/components/icons/svg/IconStop.js.map +1 -0
  11. package/lib/commonjs/components/icons/svg/originals/IconStop.svg +10 -0
  12. package/lib/commonjs/components/layout/ContentWrapper.js +5 -4
  13. package/lib/commonjs/components/layout/ContentWrapper.js.map +1 -1
  14. package/lib/commonjs/components/otpInput/BoxedInput.js +12 -8
  15. package/lib/commonjs/components/otpInput/BoxedInput.js.map +1 -1
  16. package/lib/commonjs/components/otpInput/OTPInput.js +6 -4
  17. package/lib/commonjs/components/otpInput/OTPInput.js.map +1 -1
  18. package/lib/commonjs/components/searchInput/SearchInput.js +8 -6
  19. package/lib/commonjs/components/searchInput/SearchInput.js.map +1 -1
  20. package/lib/commonjs/components/tabs/TabItem.js +6 -4
  21. package/lib/commonjs/components/tabs/TabItem.js.map +1 -1
  22. package/lib/commonjs/components/textInput/TextInputValidation.js +5 -3
  23. package/lib/commonjs/components/textInput/TextInputValidation.js.map +1 -1
  24. package/lib/commonjs/components/typography/Body.js +8 -5
  25. package/lib/commonjs/components/typography/Body.js.map +1 -1
  26. package/lib/commonjs/components/typography/BodyMonospace.js +4 -5
  27. package/lib/commonjs/components/typography/BodyMonospace.js.map +1 -1
  28. package/lib/commonjs/components/typography/BodySmall.js +8 -5
  29. package/lib/commonjs/components/typography/BodySmall.js.map +1 -1
  30. package/lib/commonjs/components/typography/ButtonText.js +4 -5
  31. package/lib/commonjs/components/typography/ButtonText.js.map +1 -1
  32. package/lib/commonjs/components/typography/Caption.js +4 -5
  33. package/lib/commonjs/components/typography/Caption.js.map +1 -1
  34. package/lib/commonjs/components/typography/H1.js +4 -5
  35. package/lib/commonjs/components/typography/H1.js.map +1 -1
  36. package/lib/commonjs/components/typography/H2.js +4 -5
  37. package/lib/commonjs/components/typography/H2.js.map +1 -1
  38. package/lib/commonjs/components/typography/H3.js +4 -5
  39. package/lib/commonjs/components/typography/H3.js.map +1 -1
  40. package/lib/commonjs/components/typography/H4.js +4 -5
  41. package/lib/commonjs/components/typography/H4.js.map +1 -1
  42. package/lib/commonjs/components/typography/H5.js +4 -5
  43. package/lib/commonjs/components/typography/H5.js.map +1 -1
  44. package/lib/commonjs/components/typography/H6.js +4 -5
  45. package/lib/commonjs/components/typography/H6.js.map +1 -1
  46. package/lib/commonjs/components/typography/Hero.js +4 -5
  47. package/lib/commonjs/components/typography/Hero.js.map +1 -1
  48. package/lib/commonjs/components/typography/IOText.js +16 -14
  49. package/lib/commonjs/components/typography/IOText.js.map +1 -1
  50. package/lib/commonjs/components/typography/LabelMini.js +8 -5
  51. package/lib/commonjs/components/typography/LabelMini.js.map +1 -1
  52. package/lib/commonjs/components/typography/markdown/MdH1.js +4 -5
  53. package/lib/commonjs/components/typography/markdown/MdH1.js.map +1 -1
  54. package/lib/commonjs/components/typography/markdown/MdH2.js +4 -5
  55. package/lib/commonjs/components/typography/markdown/MdH2.js.map +1 -1
  56. package/lib/commonjs/components/typography/markdown/MdH3.js +4 -5
  57. package/lib/commonjs/components/typography/markdown/MdH3.js.map +1 -1
  58. package/lib/commonjs/context/IOThemeContextProvider.js +3 -4
  59. package/lib/commonjs/context/IOThemeContextProvider.js.map +1 -1
  60. package/lib/module/components/alert/Alert.js +5 -5
  61. package/lib/module/components/alert/Alert.js.map +1 -1
  62. package/lib/module/components/banner/Banner.js +6 -6
  63. package/lib/module/components/banner/Banner.js.map +1 -1
  64. package/lib/module/components/buttons/IOButton/IOButton.js +10 -9
  65. package/lib/module/components/buttons/IOButton/IOButton.js.map +1 -1
  66. package/lib/module/components/icons/Icon.js +2 -2
  67. package/lib/module/components/icons/Icon.js.map +1 -1
  68. package/lib/module/components/icons/svg/IconStop.js +21 -0
  69. package/lib/module/components/icons/svg/IconStop.js.map +1 -0
  70. package/lib/module/components/icons/svg/originals/IconStop.svg +10 -0
  71. package/lib/module/components/layout/ContentWrapper.js +4 -4
  72. package/lib/module/components/layout/ContentWrapper.js.map +1 -1
  73. package/lib/module/components/otpInput/BoxedInput.js +12 -8
  74. package/lib/module/components/otpInput/BoxedInput.js.map +1 -1
  75. package/lib/module/components/otpInput/OTPInput.js +6 -5
  76. package/lib/module/components/otpInput/OTPInput.js.map +1 -1
  77. package/lib/module/components/searchInput/SearchInput.js +8 -7
  78. package/lib/module/components/searchInput/SearchInput.js.map +1 -1
  79. package/lib/module/components/tabs/TabItem.js +6 -5
  80. package/lib/module/components/tabs/TabItem.js.map +1 -1
  81. package/lib/module/components/textInput/TextInputValidation.js +5 -4
  82. package/lib/module/components/textInput/TextInputValidation.js.map +1 -1
  83. package/lib/module/components/typography/Body.js +7 -5
  84. package/lib/module/components/typography/Body.js.map +1 -1
  85. package/lib/module/components/typography/BodyMonospace.js +3 -5
  86. package/lib/module/components/typography/BodyMonospace.js.map +1 -1
  87. package/lib/module/components/typography/BodySmall.js +7 -5
  88. package/lib/module/components/typography/BodySmall.js.map +1 -1
  89. package/lib/module/components/typography/ButtonText.js +3 -5
  90. package/lib/module/components/typography/ButtonText.js.map +1 -1
  91. package/lib/module/components/typography/Caption.js +3 -5
  92. package/lib/module/components/typography/Caption.js.map +1 -1
  93. package/lib/module/components/typography/H1.js +3 -5
  94. package/lib/module/components/typography/H1.js.map +1 -1
  95. package/lib/module/components/typography/H2.js +3 -5
  96. package/lib/module/components/typography/H2.js.map +1 -1
  97. package/lib/module/components/typography/H3.js +3 -5
  98. package/lib/module/components/typography/H3.js.map +1 -1
  99. package/lib/module/components/typography/H4.js +3 -5
  100. package/lib/module/components/typography/H4.js.map +1 -1
  101. package/lib/module/components/typography/H5.js +3 -5
  102. package/lib/module/components/typography/H5.js.map +1 -1
  103. package/lib/module/components/typography/H6.js +3 -5
  104. package/lib/module/components/typography/H6.js.map +1 -1
  105. package/lib/module/components/typography/Hero.js +3 -5
  106. package/lib/module/components/typography/Hero.js.map +1 -1
  107. package/lib/module/components/typography/IOText.js +16 -15
  108. package/lib/module/components/typography/IOText.js.map +1 -1
  109. package/lib/module/components/typography/LabelMini.js +7 -5
  110. package/lib/module/components/typography/LabelMini.js.map +1 -1
  111. package/lib/module/components/typography/markdown/MdH1.js +3 -5
  112. package/lib/module/components/typography/markdown/MdH1.js.map +1 -1
  113. package/lib/module/components/typography/markdown/MdH2.js +3 -5
  114. package/lib/module/components/typography/markdown/MdH2.js.map +1 -1
  115. package/lib/module/components/typography/markdown/MdH3.js +3 -5
  116. package/lib/module/components/typography/markdown/MdH3.js.map +1 -1
  117. package/lib/module/context/IOThemeContextProvider.js +3 -4
  118. package/lib/module/context/IOThemeContextProvider.js.map +1 -1
  119. package/lib/typescript/components/alert/Alert.d.ts +3 -1
  120. package/lib/typescript/components/alert/Alert.d.ts.map +1 -1
  121. package/lib/typescript/components/banner/Banner.d.ts +3 -1
  122. package/lib/typescript/components/banner/Banner.d.ts.map +1 -1
  123. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts +3 -2
  124. package/lib/typescript/components/buttons/IOButton/IOButton.d.ts.map +1 -1
  125. package/lib/typescript/components/icons/Icon.d.ts +1 -1
  126. package/lib/typescript/components/icons/svg/IconStop.d.ts +4 -0
  127. package/lib/typescript/components/icons/svg/IconStop.d.ts.map +1 -0
  128. package/lib/typescript/components/layout/ContentWrapper.d.ts +10 -6
  129. package/lib/typescript/components/layout/ContentWrapper.d.ts.map +1 -1
  130. package/lib/typescript/components/otpInput/BoxedInput.d.ts.map +1 -1
  131. package/lib/typescript/components/otpInput/OTPInput.d.ts +3 -1
  132. package/lib/typescript/components/otpInput/OTPInput.d.ts.map +1 -1
  133. package/lib/typescript/components/searchInput/SearchInput.d.ts +3 -1
  134. package/lib/typescript/components/searchInput/SearchInput.d.ts.map +1 -1
  135. package/lib/typescript/components/tabs/TabItem.d.ts +3 -11
  136. package/lib/typescript/components/tabs/TabItem.d.ts.map +1 -1
  137. package/lib/typescript/components/textInput/TextInputValidation.d.ts +7 -24
  138. package/lib/typescript/components/textInput/TextInputValidation.d.ts.map +1 -1
  139. package/lib/typescript/components/typography/Body.d.ts +4 -2
  140. package/lib/typescript/components/typography/Body.d.ts.map +1 -1
  141. package/lib/typescript/components/typography/BodyMonospace.d.ts +2 -8
  142. package/lib/typescript/components/typography/BodyMonospace.d.ts.map +1 -1
  143. package/lib/typescript/components/typography/BodySmall.d.ts +4 -2
  144. package/lib/typescript/components/typography/BodySmall.d.ts.map +1 -1
  145. package/lib/typescript/components/typography/ButtonText.d.ts +2 -8
  146. package/lib/typescript/components/typography/ButtonText.d.ts.map +1 -1
  147. package/lib/typescript/components/typography/Caption.d.ts +2 -8
  148. package/lib/typescript/components/typography/Caption.d.ts.map +1 -1
  149. package/lib/typescript/components/typography/H1.d.ts +2 -8
  150. package/lib/typescript/components/typography/H1.d.ts.map +1 -1
  151. package/lib/typescript/components/typography/H2.d.ts +6 -10
  152. package/lib/typescript/components/typography/H2.d.ts.map +1 -1
  153. package/lib/typescript/components/typography/H3.d.ts +2 -8
  154. package/lib/typescript/components/typography/H3.d.ts.map +1 -1
  155. package/lib/typescript/components/typography/H4.d.ts +2 -8
  156. package/lib/typescript/components/typography/H4.d.ts.map +1 -1
  157. package/lib/typescript/components/typography/H5.d.ts +2 -8
  158. package/lib/typescript/components/typography/H5.d.ts.map +1 -1
  159. package/lib/typescript/components/typography/H6.d.ts +2 -8
  160. package/lib/typescript/components/typography/H6.d.ts.map +1 -1
  161. package/lib/typescript/components/typography/Hero.d.ts +2 -8
  162. package/lib/typescript/components/typography/Hero.d.ts.map +1 -1
  163. package/lib/typescript/components/typography/IOText.d.ts +5 -5
  164. package/lib/typescript/components/typography/IOText.d.ts.map +1 -1
  165. package/lib/typescript/components/typography/LabelMini.d.ts +4 -2
  166. package/lib/typescript/components/typography/LabelMini.d.ts.map +1 -1
  167. package/lib/typescript/components/typography/markdown/MdH1.d.ts +2 -8
  168. package/lib/typescript/components/typography/markdown/MdH1.d.ts.map +1 -1
  169. package/lib/typescript/components/typography/markdown/MdH2.d.ts +2 -8
  170. package/lib/typescript/components/typography/markdown/MdH2.d.ts.map +1 -1
  171. package/lib/typescript/components/typography/markdown/MdH3.d.ts +2 -8
  172. package/lib/typescript/components/typography/markdown/MdH3.d.ts.map +1 -1
  173. package/lib/typescript/context/IOThemeContextProvider.d.ts.map +1 -1
  174. package/package.json +6 -7
  175. package/src/components/alert/Alert.tsx +108 -112
  176. package/src/components/banner/Banner.tsx +121 -125
  177. package/src/components/buttons/IOButton/IOButton.tsx +204 -216
  178. package/src/components/icons/Icon.tsx +2 -2
  179. package/src/components/icons/svg/IconStop.tsx +13 -0
  180. package/src/components/icons/svg/originals/IconStop.svg +10 -0
  181. package/src/components/layout/ContentWrapper.tsx +21 -24
  182. package/src/components/otpInput/BoxedInput.tsx +15 -11
  183. package/src/components/otpInput/OTPInput.tsx +156 -167
  184. package/src/components/searchInput/SearchInput.tsx +208 -217
  185. package/src/components/tabs/TabItem.tsx +143 -146
  186. package/src/components/textInput/TextInputValidation.tsx +116 -122
  187. package/src/components/typography/Body.tsx +51 -52
  188. package/src/components/typography/BodyMonospace.tsx +19 -24
  189. package/src/components/typography/BodySmall.tsx +51 -52
  190. package/src/components/typography/ButtonText.tsx +14 -20
  191. package/src/components/typography/Caption.tsx +18 -23
  192. package/src/components/typography/H1.tsx +12 -20
  193. package/src/components/typography/H2.tsx +16 -23
  194. package/src/components/typography/H3.tsx +12 -20
  195. package/src/components/typography/H4.tsx +12 -20
  196. package/src/components/typography/H5.tsx +16 -24
  197. package/src/components/typography/H6.tsx +13 -21
  198. package/src/components/typography/Hero.tsx +14 -19
  199. package/src/components/typography/IOText.tsx +54 -59
  200. package/src/components/typography/LabelMini.tsx +45 -49
  201. package/src/components/typography/markdown/MdH1.tsx +14 -19
  202. package/src/components/typography/markdown/MdH2.tsx +14 -19
  203. package/src/components/typography/markdown/MdH3.tsx +14 -19
  204. package/src/context/IOThemeContextProvider.tsx +4 -12
  205. package/lib/commonjs/components/icons/svg/IconPause.js +0 -28
  206. package/lib/commonjs/components/icons/svg/IconPause.js.map +0 -1
  207. package/lib/commonjs/components/icons/svg/originals/IconPause.svg +0 -4
  208. package/lib/module/components/icons/svg/IconPause.js +0 -24
  209. package/lib/module/components/icons/svg/IconPause.js.map +0 -1
  210. package/lib/module/components/icons/svg/originals/IconPause.svg +0 -4
  211. package/lib/typescript/components/icons/svg/IconPause.d.ts +0 -4
  212. package/lib/typescript/components/icons/svg/IconPause.d.ts.map +0 -1
  213. package/src/components/icons/svg/IconPause.tsx +0 -17
  214. package/src/components/icons/svg/originals/IconPause.svg +0 -4
@@ -1,3 +1,4 @@
1
+ import { Ref } from "react";
1
2
  import { GestureResponderEvent, TextInputProps } from "react-native";
2
3
  import { WithTestID } from "src/utils/types";
3
4
  type SearchInputPressableProps = {
@@ -17,6 +18,7 @@ type SearchInputActionProps = {
17
18
  value: string;
18
19
  };
19
20
  type SearchInputProps = WithTestID<{
21
+ ref?: Ref<SearchInputRef>;
20
22
  accessibilityLabel: TextInputProps["accessibilityLabel"];
21
23
  cancelButtonLabel: string;
22
24
  clearAccessibilityLabel: string;
@@ -26,6 +28,6 @@ type SearchInputProps = WithTestID<{
26
28
  export type SearchInputRef = {
27
29
  focus: () => void;
28
30
  };
29
- export declare const SearchInput: import("react").ForwardRefExoticComponent<SearchInputProps & import("react").RefAttributes<SearchInputRef>>;
31
+ export declare const SearchInput: ({ accessibilityLabel, cancelButtonLabel, clearAccessibilityLabel, placeholder, autoFocus, keepCancelVisible, onCancel, onChangeText, pressable, testID, value, ref }: SearchInputProps) => import("react/jsx-runtime").JSX.Element;
30
32
  export {};
31
33
  //# sourceMappingURL=SearchInput.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"SearchInput.d.ts","sourceRoot":"","sources":["../../../../src/components/searchInput/SearchInput.tsx"],"names":[],"mappings":"AAQA,OAAO,EAGL,qBAAqB,EAOrB,cAAc,EAEf,MAAM,cAAc,CAAC;AAUtB,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AA2B7C,KAAK,yBAAyB,GAAG;IAC/B,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;CACjD,CAAC;AAEF,KAAK,sBAAsB,GACvB;IACE,SAAS,EAAE,yBAAyB,CAAC;IACrC,iBAAiB,CAAC,EAAE,KAAK,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC;IACjB,YAAY,CAAC,EAAE,KAAK,CAAC;IACrB,KAAK,CAAC,EAAE,KAAK,CAAC;CACf,GACD;IACE,SAAS,CAAC,EAAE,KAAK,CAAC;IAClB,iBAAiB,CAAC,EAAE,OAAO,CAAC;IAC5B,QAAQ,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,YAAY,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEN,KAAK,gBAAgB,GAAG,UAAU,CAAC;IACjC,kBAAkB,EAAE,cAAc,CAAC,oBAAoB,CAAC,CAAC;IACzD,iBAAiB,EAAE,MAAM,CAAC;IAC1B,uBAAuB,EAAE,MAAM,CAAC;IAChC,WAAW,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC3C,SAAS,CAAC,EAAE,cAAc,CAAC,WAAW,CAAC,CAAC;CACzC,CAAC,GACA,sBAAsB,CAAC;AAEzB,MAAM,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CAAC;CACzC,CAAC,GACA,sBAAsB,CAAC;AAEzB,MAAM,MAAM,cAAc,GAAG;IAC3B,KAAK,EAAE,MAAM,IAAI,CAAC;CACnB,CAAC;AAUF,eAAO,MAAM,WAAW,GAAI,sKAazB,gBAAgB,4CA8NlB,CAAC"}
@@ -1,8 +1,10 @@
1
+ import { Ref } from "react";
1
2
  import { GestureResponderEvent, View } from "react-native";
2
3
  import { WithTestID } from "../../utils/types";
3
4
  import { IOIcons } from "../icons";
4
5
  type ColorMode = "light" | "dark";
5
6
  export type TabItem = WithTestID<{
7
+ ref?: Ref<View>;
6
8
  label: string;
7
9
  color?: ColorMode;
8
10
  selected?: boolean;
@@ -13,16 +15,6 @@ export type TabItem = WithTestID<{
13
15
  onPress?: (event: GestureResponderEvent) => void;
14
16
  disabled?: boolean;
15
17
  }>;
16
- declare const TabItem: import("react").ForwardRefExoticComponent<{
17
- label: string;
18
- color?: ColorMode;
19
- selected?: boolean;
20
- icon?: IOIcons;
21
- iconSelected?: IOIcons;
22
- accessibilityLabel: string;
23
- accessibilityHint?: string;
24
- onPress?: (event: GestureResponderEvent) => void;
25
- disabled?: boolean;
26
- } & import("../../utils/types").TestID & import("react").RefAttributes<View>>;
18
+ declare const TabItem: ({ label, color, selected, accessibilityLabel, accessibilityHint, testID, onPress, disabled, icon, iconSelected, ref }: TabItem) => import("react/jsx-runtime").JSX.Element;
27
19
  export { TabItem };
28
20
  //# sourceMappingURL=TabItem.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TabItem.d.ts","sourceRoot":"","sources":["../../../../src/components/tabs/TabItem.tsx"],"names":[],"mappings":"AACA,OAAO,EACL,qBAAqB,EAGrB,IAAI,EACL,MAAM,cAAc,CAAC;AAYtB,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAC/C,OAAO,EAAE,OAAO,EAAQ,MAAM,UAAU,CAAC;AAGzC,KAAK,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAIlC,MAAM,M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E,OAAO,CAAC;IAEvB,kBAAkB,EAAE,MAAM,CAAC;IAC3B,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAE3B,OAAO,CAAC,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IACjD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC,CAAC;AAoBH,QAAA,MAAM,OAAO,GAAI,uHAYd,OAAO,4CAoIT,CAAC;AAgBF,OAAO,EAAE,OAAO,EAAE,CAAC"}
@@ -1,31 +1,12 @@
1
+ import { ComponentProps, Ref } from "react";
1
2
  import { TextInputValidationRefProps } from "../../utils/types";
2
- import { IOColors } from "../../core/IOColors";
3
- import { IOIcons } from "../icons";
3
+ import { TextInputBase } from "./TextInputBase";
4
4
  export type ValidationWithOptions = {
5
5
  isValid: boolean;
6
6
  errorMessage: string;
7
7
  };
8
- export declare const TextInputValidation: import("react").ForwardRefExoticComponent<Omit<{
9
- placeholder: string;
10
- value: string;
11
- onChangeText: (value: string) => void;
12
- accessibilityLabel?: string;
13
- accessibilityHint?: string;
14
- textInputProps?: import("../../utils/textInput").RNTextInputProps;
15
- inputType?: import("../../utils/types").InputType;
16
- status?: "disabled" | "error" | "initial" | "focused";
17
- icon?: IOIcons;
18
- rightElement?: import("react").ReactNode;
19
- counterLimit?: number;
20
- accessibilityAnnounceLimitReached?: string;
21
- bottomMessage?: string;
22
- bottomMessageColor?: IOColors;
23
- disabled?: boolean;
24
- isPassword?: boolean;
25
- onBlur?: () => void;
26
- onFocus?: () => void;
27
- autoFocus?: boolean;
28
- } & import("../../utils/types").TestID, "status" | "rightElement" | "bottomMessageColor" | "isPassword"> & {
8
+ type TextInputValidationProps = Omit<ComponentProps<typeof TextInputBase>, "rightElement" | "status" | "bottomMessageColor" | "isPassword"> & {
9
+ ref?: Ref<TextInputValidationRefProps>;
29
10
  /**
30
11
  * This function can return either a `boolean` or a `ValidationWithOptions` object.
31
12
  * If a `boolean` is returned and the field is not valid, the value of the errorMessage prop will be displayed/announced.
@@ -44,5 +25,7 @@ export declare const TextInputValidation: import("react").ForwardRefExoticCompon
44
25
  * A string that will be read by screen readers when the field is not valid.
45
26
  */
46
27
  accessibilityErrorLabel?: string;
47
- } & import("react").RefAttributes<TextInputValidationRefProps>>;
28
+ };
29
+ export declare const TextInputValidation: ({ onValidate, errorMessage, value, bottomMessage, onBlur, onFocus, validationMode, accessibilityErrorLabel, ref, ...props }: TextInputValidationProps) => import("react/jsx-runtime").JSX.Element;
30
+ export {};
48
31
  //# sourceMappingURL=TextInputValidation.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"TextInputValidation.d.ts","sourceRoot":"","sources":["../../../../src/components/textInput/TextInputValidation.tsx"],"names":[],"mappings":"AAUA,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAEhE,OAAO,EAAE,QAAQ,EAAE,MAAM,qBAAqB,CAAC;AAM/C,OAAO,EAAmB,OAAO,EAAQ,MAAM,UAAU,CAAC;AAG1D,MAAM,MAAM,qBAAqB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAsC/E,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;IAhC9B;;;;OAIG;gBACS,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,qBAAqB;IAC9D;;OAEG;kBACW,MAAM;IACpB;;OAEG;qBACc,QAAQ,GAAG,YAAY;IACxC;;OAEG;8BACuB,MAAM;+DA+IjC,CAAC"}
1
+ {"version":3,"file":"TextInputValidation.d.ts","sourceRoot":"","sources":["../../../../src/components/textInput/TextInputValidation.tsx"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,GAAG,EAKJ,MAAM,OAAO,CAAC;AAGf,OAAO,EAAE,2BAA2B,EAAE,MAAM,mBAAmB,CAAC;AAShE,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAEhD,MAAM,MAAM,qBAAqB,GAAG;IAAE,OAAO,EAAE,OAAO,CAAC;IAAC,YAAY,EAAE,MAAM,CAAA;CAAE,CAAC;AAE/E,KAAK,wBAAwB,GAAG,IAAI,CAClC,cAAc,CAAC,OAAO,aAAa,CAAC,EACpC,cAAc,GAAG,QAAQ,GAAG,oBAAoB,GAAG,YAAY,CAChE,GAAG;IACF,GAAG,CAAC,EAAE,GAAG,CAAC,2BAA2B,CAAC,CAAC;IACvC;;;;OAIG;IACH,UAAU,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,OAAO,GAAG,qBAAqB,CAAC;IAC/D;;OAEG;IACH,YAAY,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,cAAc,CAAC,EAAE,QAAQ,GAAG,YAAY,CAAC;IACzC;;OAEG;IACH,uBAAuB,CAAC,EAAE,MAAM,CAAC;CAClC,CAAC;AAcF,eAAO,MAAM,mBAAmB,GAAI,6HAWjC,wBAAwB,4CA8G1B,CAAC"}
@@ -1,7 +1,9 @@
1
+ import { Ref } from "react";
1
2
  import { View } from "react-native";
2
3
  import { IOFontWeight } from "../../utils/fonts";
3
4
  import { TypographicStyleAsLinkProps, TypographicStyleProps } from "./IOText";
4
- type BodyStyleProps = TypographicStyleProps & {
5
+ type BodyStyleProps = Omit<TypographicStyleProps, "ref"> & {
6
+ ref?: Ref<View>;
5
7
  weight?: Extract<IOFontWeight, "Regular" | "Semibold">;
6
8
  } & TypographicStyleAsLinkProps;
7
9
  export declare const bodyFontSize = 16;
@@ -9,6 +11,6 @@ export declare const bodyLineHeight = 24;
9
11
  /**
10
12
  * `Body` typographic style
11
13
  */
12
- export declare const Body: import("react").ForwardRefExoticComponent<BodyStyleProps & import("react").RefAttributes<View>>;
14
+ export declare const Body: ({ ref, weight: customWeight, color: customColor, asLink, avoidPressable, accessibilityRole, textStyle: customTextStyle, onPress, ...props }: BodyStyleProps) => import("react/jsx-runtime").JSX.Element;
13
15
  export {};
14
16
  //# sourceMappingURL=Body.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Body.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,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,IAAI,iGAyDhB,CAAC"}
1
+ {"version":3,"file":"Body.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/Body.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,eAAO,MAAM,YAAY,KAAK,CAAC;AAC/B,eAAO,MAAM,cAAc,KAAK,CAAC;AAEjC;;GAEG;AACH,eAAO,MAAM,IAAI,GAAI,6IAUlB,cAAc,4CA6ChB,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
  * `BodyMonospace` typographic style
5
4
  */
6
- export declare const BodyMonospace: 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 BodyMonospace: ({ color: customColor, ...props }: TypographicStyleProps) => import("react/jsx-runtime").JSX.Element;
12
6
  //# sourceMappingURL=BodyMonospace.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BodyMonospace.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/BodyMonospace.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,IAAI,EAAE,MAAM,cAAc,CAAC;AAGpC,OAAO,EAAU,WAAW,EAAyB,MAAM,UAAU,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,aAAa;;;;;wCAuBzB,CAAC"}
1
+ {"version":3,"file":"BodyMonospace.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/BodyMonospace.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAuB,qBAAqB,EAAE,MAAM,UAAU,CAAC;AAEtE;;GAEG;AACH,eAAO,MAAM,aAAa,GAAI,kCAG3B,qBAAqB,4CAiBvB,CAAC"}
@@ -1,7 +1,9 @@
1
+ import { Ref } from "react";
1
2
  import { View } from "react-native";
2
3
  import { IOFontWeight } from "../../utils/fonts";
3
4
  import { TypographicStyleAsLinkProps, TypographicStyleProps } from "./IOText";
4
- type BodySmallProps = TypographicStyleProps & {
5
+ type BodySmallProps = Omit<TypographicStyleProps, "ref"> & {
6
+ ref?: Ref<View>;
5
7
  weight?: Extract<IOFontWeight, "Regular" | "Semibold">;
6
8
  } & TypographicStyleAsLinkProps;
7
9
  export declare const bodySmallFontSize = 14;
@@ -9,6 +11,6 @@ export declare const bodySmallLineHeight = 21;
9
11
  /**
10
12
  * `BodySmall` typographic style
11
13
  */
12
- export declare const BodySmall: import("react").ForwardRefExoticComponent<BodySmallProps & import("react").RefAttributes<View>>;
14
+ export declare const BodySmall: ({ ref, weight: customWeight, color: customColor, asLink, avoidPressable, accessibilityRole, textStyle: customTextStyle, onPress, ...props }: BodySmallProps) => import("react/jsx-runtime").JSX.Element;
13
15
  export {};
14
16
  //# sourceMappingURL=BodySmall.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"BodySmall.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/BodySmall.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,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,SAAS,iGAyDrB,CAAC"}
1
+ {"version":3,"file":"BodySmall.d.ts","sourceRoot":"","sources":["../../../../src/components/typography/BodySmall.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,eAAO,MAAM,iBAAiB,KAAK,CAAC;AACpC,eAAO,MAAM,mBAAmB,KAAK,CAAC;AAEtC;;GAEG;AACH,eAAO,MAAM,SAAS,GAAI,6IAUvB,cAAc,4CA6ChB,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 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.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAuB,MAAM,OAAO,CAAC;AAC5D,OAAO,EACL,iBAAiB,EAEjB,qBAAqB,EACrB,IAAI,EACJ,SAAS,EACT,IAAI,EACL,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,CAAC,EAAE,YAAY,CAAC;IACtB,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,UAAU,CAAC,EAAE,SAAS,CAAC,YAAY,CAAC,CAAC;IACrC,SAAS,CAAC,EAAE,SAAS,CAAC,WAAW,CAAC,CAAC;IACnC,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,KAAK,CAAC,EAAE,WAAW,CAAC;CACrB,CAAC;AAEF,KAAK,mBAAmB,GAAG,IAAI,CAAC,qBAAqB,CAAC,OAAO,IAAI,CAAC,EAAE,OAAO,CAAC,CAAC;AAE7E,MAAM,MAAM,WAAW,GAAG,eAAe,GAAG,mBAAmB,CAAC;AAEhE;;;GAGG;AACH,MAAM,MAAM,2BAA2B,GACnC;IACE,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,MAAM,EAAE,IAAI,CAAC;IACb,cAAc,CAAC,EAAE,IAAI,CAAC;IACtB,OAAO,EAAE,CAAC,KAAK,EAAE,qBAAqB,KAAK,IAAI,CAAC;IAChD,iBAAiB,CAAC,EAAE,OAAO,CAAC,iBAAiB,EAAE,QAAQ,GAAG,MAAM,CAAC,CAAC;CACnE,GACD;IAAE,KAAK,CAAC,EAAE,QAAQ,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAC;IAAC,cAAc,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAejE;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,GAAI,0IAcpB,WAAW,4CAqDb,CAAC;AAEF,eAAO,MAAM,cAAc,6RAvDxB,WAAW,6CAuDwD,CAAC"}
@@ -1,12 +1,14 @@
1
+ import { Ref } from "react";
1
2
  import { View } from "react-native";
2
3
  import { IOFontWeight } from "../../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"}