@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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jobber/components-native",
3
- "version": "0.82.1-JOB-131123-e5eeb18.39+e5eeb18c",
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": "e5eeb18c68dd0ac545e56ef87cd7ca8f1edac8e9"
82
+ "gitHead": "46bcb04157a11807031042ad5c1f9f7938ee3248"
83
83
  }
@@ -73,6 +73,7 @@ exports[`when Heading called with maxLines should match snapshot 1`] = `
73
73
  adjustsFontSizeToFit={false}
74
74
  allowFontScaling={true}
75
75
  collapsable={false}
76
+ ellipsizeMode="tail"
76
77
  numberOfLines={1}
77
78
  selectable={true}
78
79
  selectionColor="hsl(86, 100%, 46%)"
@@ -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%)"