@jobber/components-native 0.82.1-JOB-131123-e5eeb18.39 → 0.82.1-JOB-131123-46bcb04.40
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.
- package/dist/package.json +2 -2
- package/dist/src/Typography/Typography.js +2 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/Heading/__snapshots__/Heading.test.tsx.snap +1 -0
- package/src/Text/__snapshots__/Text.test.tsx.snap +2 -0
- package/src/Typography/Typography.tsx +1 -0
- package/src/Typography/__snapshots__/Typography.test.tsx.snap +2 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jobber/components-native",
|
|
3
|
-
"version": "0.82.1-JOB-131123-
|
|
3
|
+
"version": "0.82.1-JOB-131123-46bcb04.40+46bcb041",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "React Native implementation of Atlantis",
|
|
6
6
|
"repository": {
|
|
@@ -79,5 +79,5 @@
|
|
|
79
79
|
"react-native-safe-area-context": "^5.4.0",
|
|
80
80
|
"react-native-svg": ">=12.0.0"
|
|
81
81
|
},
|
|
82
|
-
"gitHead": "
|
|
82
|
+
"gitHead": "46bcb04157a11807031042ad5c1f9f7938ee3248"
|
|
83
83
|
}
|
|
@@ -108,6 +108,7 @@ exports[`renders text that is not scaled down with adjustsFontSize false 1`] = `
|
|
|
108
108
|
adjustsFontSizeToFit={false}
|
|
109
109
|
allowFontScaling={true}
|
|
110
110
|
collapsable={false}
|
|
111
|
+
ellipsizeMode="tail"
|
|
111
112
|
maxFontSizeMultiplier={3.125}
|
|
112
113
|
numberOfLines={4}
|
|
113
114
|
selectable={true}
|
|
@@ -143,6 +144,7 @@ exports[`renders text that is scaled down with adjustsFontSize true 1`] = `
|
|
|
143
144
|
adjustsFontSizeToFit={true}
|
|
144
145
|
allowFontScaling={true}
|
|
145
146
|
collapsable={false}
|
|
147
|
+
ellipsizeMode="tail"
|
|
146
148
|
maxFontSizeMultiplier={3.125}
|
|
147
149
|
numberOfLines={4}
|
|
148
150
|
selectable={true}
|
|
@@ -212,6 +212,7 @@ function InternalTypography<T extends FontFamily = "base">({
|
|
|
212
212
|
adjustsFontSizeToFit,
|
|
213
213
|
style,
|
|
214
214
|
numberOfLines: numberOfLinesForNativeText,
|
|
215
|
+
ellipsizeMode: numberOfLinesForNativeText ? "tail" : undefined,
|
|
215
216
|
}}
|
|
216
217
|
{...accessibilityProps}
|
|
217
218
|
maxFontSizeMultiplier={getScaleMultiplier(
|
|
@@ -39,6 +39,7 @@ exports[`renders text using the maxLines is also passed 1`] = `
|
|
|
39
39
|
adjustsFontSizeToFit={false}
|
|
40
40
|
allowFontScaling={true}
|
|
41
41
|
collapsable={false}
|
|
42
|
+
ellipsizeMode="tail"
|
|
42
43
|
numberOfLines={2}
|
|
43
44
|
selectable={true}
|
|
44
45
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -73,6 +74,7 @@ exports[`renders text with adjustsFontSizeToFit set to true 1`] = `
|
|
|
73
74
|
adjustsFontSizeToFit={true}
|
|
74
75
|
allowFontScaling={true}
|
|
75
76
|
collapsable={false}
|
|
77
|
+
ellipsizeMode="tail"
|
|
76
78
|
numberOfLines={1}
|
|
77
79
|
selectable={true}
|
|
78
80
|
selectionColor="hsl(86, 100%, 46%)"
|