@jobber/components-native 0.71.3-JOB-104505-f142a3c.4 → 0.72.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.
@@ -47,7 +47,9 @@ interface TextProps extends Pick<TypographyProps<"base">, "maxFontScaleSize" | "
47
47
  */
48
48
  readonly italic?: boolean;
49
49
  /**
50
- * Underline text
50
+ * Underline style to use for the text. The non-solid style is only supported
51
+ * on iOS, as per React Native's Text component's limitations.
52
+ * https://reactnative.dev/docs/text-style-props#textdecorationstyle-ios
51
53
  */
52
54
  readonly underline?: "solid" | "dotted";
53
55
  /**
@@ -56,7 +56,9 @@ export interface TypographyProps<T extends FontFamily> extends Pick<TextProps, "
56
56
  */
57
57
  readonly fontStyle?: T extends "base" ? BaseStyle : DisplayStyle;
58
58
  /**
59
- * Style of underline for the text
59
+ * Underline style to use for the text. The non-solid style is only supported
60
+ * on iOS, as per React Native's Text component's limitations.
61
+ * https://reactnative.dev/docs/text-style-props#textdecorationstyle-ios
60
62
  */
61
63
  readonly underline?: "solid" | "double" | "dotted" | "dashed" | undefined;
62
64
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.71.3-JOB-104505-f142a3c.4+f142a3c3",
3
+ "version": "0.72.0",
4
4
  "license": "MIT",
5
5
  "description": "React Native implementation of Atlantis",
6
6
  "repository": {
@@ -82,5 +82,5 @@
82
82
  "react-native-safe-area-context": "^4.5.2",
83
83
  "react-native-svg": ">=12.0.0"
84
84
  },
85
- "gitHead": "f142a3c38918be56d7fd5af3d679c0940f89c51c"
85
+ "gitHead": "26cb076b2f8a8cbdaee1df6be72b211987a4e5eb"
86
86
  }
package/src/Text/Text.tsx CHANGED
@@ -71,7 +71,9 @@ interface TextProps
71
71
  readonly italic?: boolean;
72
72
 
73
73
  /**
74
- * Underline text
74
+ * Underline style to use for the text. The non-solid style is only supported
75
+ * on iOS, as per React Native's Text component's limitations.
76
+ * https://reactnative.dev/docs/text-style-props#textdecorationstyle-ios
75
77
  */
76
78
  readonly underline?: "solid" | "dotted";
77
79
 
@@ -85,7 +85,9 @@ export interface TypographyProps<T extends FontFamily>
85
85
  readonly fontStyle?: T extends "base" ? BaseStyle : DisplayStyle;
86
86
 
87
87
  /**
88
- * Style of underline for the text
88
+ * Underline style to use for the text. The non-solid style is only supported
89
+ * on iOS, as per React Native's Text component's limitations.
90
+ * https://reactnative.dev/docs/text-style-props#textdecorationstyle-ios
89
91
  */
90
92
  readonly underline?: "solid" | "double" | "dotted" | "dashed" | undefined;
91
93