@jobber/components-native 0.82.1-JOB-131123-391054a.41 → 0.82.1-JOB-131123-a47a8a6.43
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 +1 -1
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/package.json +2 -2
- package/src/Heading/__snapshots__/Heading.test.tsx.snap +8 -1
- package/src/StatusLabel/__snapshots__/StatusLabel.test.tsx.snap +7 -0
- package/src/Text/__snapshots__/Text.test.tsx.snap +20 -2
- package/src/TextList/__snapshots__/TextList.test.tsx.snap +4 -0
- package/src/Typography/Typography.tsx +1 -1
- package/src/Typography/__snapshots__/Typography.test.tsx.snap +31 -2
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-a47a8a6.43+a47a8a65",
|
|
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": "a47a8a6563628b79a5760964fb275c1f99049258"
|
|
83
83
|
}
|
|
@@ -6,6 +6,7 @@ exports[`when Heading called with Subtitle variation should match snapshot 1`] =
|
|
|
6
6
|
adjustsFontSizeToFit={false}
|
|
7
7
|
allowFontScaling={true}
|
|
8
8
|
collapsable={false}
|
|
9
|
+
ellipsizeMode="tail"
|
|
9
10
|
maxFontSizeMultiplier={1}
|
|
10
11
|
selectable={true}
|
|
11
12
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -40,6 +41,7 @@ exports[`when Heading called with an alignment should match snapshot 1`] = `
|
|
|
40
41
|
adjustsFontSizeToFit={false}
|
|
41
42
|
allowFontScaling={true}
|
|
42
43
|
collapsable={false}
|
|
44
|
+
ellipsizeMode="tail"
|
|
43
45
|
selectable={true}
|
|
44
46
|
selectionColor="hsl(86, 100%, 46%)"
|
|
45
47
|
style={
|
|
@@ -73,7 +75,7 @@ exports[`when Heading called with maxLines should match snapshot 1`] = `
|
|
|
73
75
|
adjustsFontSizeToFit={false}
|
|
74
76
|
allowFontScaling={true}
|
|
75
77
|
collapsable={false}
|
|
76
|
-
ellipsizeMode="
|
|
78
|
+
ellipsizeMode="tail"
|
|
77
79
|
numberOfLines={1}
|
|
78
80
|
selectable={true}
|
|
79
81
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -108,6 +110,7 @@ exports[`when Heading called with reverseTheme should match snapshot 1`] = `
|
|
|
108
110
|
adjustsFontSizeToFit={false}
|
|
109
111
|
allowFontScaling={true}
|
|
110
112
|
collapsable={false}
|
|
113
|
+
ellipsizeMode="tail"
|
|
111
114
|
selectable={true}
|
|
112
115
|
selectionColor="hsl(86, 100%, 46%)"
|
|
113
116
|
style={
|
|
@@ -141,6 +144,7 @@ exports[`when Heading called with sub-heading variation and text-color should ma
|
|
|
141
144
|
adjustsFontSizeToFit={false}
|
|
142
145
|
allowFontScaling={true}
|
|
143
146
|
collapsable={false}
|
|
147
|
+
ellipsizeMode="tail"
|
|
144
148
|
maxFontSizeMultiplier={1.375}
|
|
145
149
|
selectable={true}
|
|
146
150
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -175,6 +179,7 @@ exports[`when Heading called with sub-heading variation should match snapshot 1`
|
|
|
175
179
|
adjustsFontSizeToFit={false}
|
|
176
180
|
allowFontScaling={true}
|
|
177
181
|
collapsable={false}
|
|
182
|
+
ellipsizeMode="tail"
|
|
178
183
|
maxFontSizeMultiplier={1.375}
|
|
179
184
|
selectable={true}
|
|
180
185
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -209,6 +214,7 @@ exports[`when Heading called with text as the only prop should match snapshot 1`
|
|
|
209
214
|
adjustsFontSizeToFit={false}
|
|
210
215
|
allowFontScaling={true}
|
|
211
216
|
collapsable={false}
|
|
217
|
+
ellipsizeMode="tail"
|
|
212
218
|
selectable={true}
|
|
213
219
|
selectionColor="hsl(86, 100%, 46%)"
|
|
214
220
|
style={
|
|
@@ -242,6 +248,7 @@ exports[`when Heading called with title variation should match snapshot 1`] = `
|
|
|
242
248
|
adjustsFontSizeToFit={false}
|
|
243
249
|
allowFontScaling={true}
|
|
244
250
|
collapsable={false}
|
|
251
|
+
ellipsizeMode="tail"
|
|
245
252
|
maxFontSizeMultiplier={1.0625}
|
|
246
253
|
selectable={true}
|
|
247
254
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -25,6 +25,7 @@ exports[`StatusLabel alignment when alignment prop set to "end" should match sna
|
|
|
25
25
|
adjustsFontSizeToFit={false}
|
|
26
26
|
allowFontScaling={true}
|
|
27
27
|
collapsable={false}
|
|
28
|
+
ellipsizeMode="tail"
|
|
28
29
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
29
30
|
selectable={true}
|
|
30
31
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -104,6 +105,7 @@ exports[`StatusLabel alignment when alignment prop set to default ("start") shou
|
|
|
104
105
|
adjustsFontSizeToFit={false}
|
|
105
106
|
allowFontScaling={true}
|
|
106
107
|
collapsable={false}
|
|
108
|
+
ellipsizeMode="tail"
|
|
107
109
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
108
110
|
selectable={true}
|
|
109
111
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -183,6 +185,7 @@ exports[`StatusLabel status when status prop set to "critical" should match snap
|
|
|
183
185
|
adjustsFontSizeToFit={false}
|
|
184
186
|
allowFontScaling={true}
|
|
185
187
|
collapsable={false}
|
|
188
|
+
ellipsizeMode="tail"
|
|
186
189
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
187
190
|
selectable={true}
|
|
188
191
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -262,6 +265,7 @@ exports[`StatusLabel status when status prop set to "inactive" should match snap
|
|
|
262
265
|
adjustsFontSizeToFit={false}
|
|
263
266
|
allowFontScaling={true}
|
|
264
267
|
collapsable={false}
|
|
268
|
+
ellipsizeMode="tail"
|
|
265
269
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
266
270
|
selectable={true}
|
|
267
271
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -341,6 +345,7 @@ exports[`StatusLabel status when status prop set to "informative" should match s
|
|
|
341
345
|
adjustsFontSizeToFit={false}
|
|
342
346
|
allowFontScaling={true}
|
|
343
347
|
collapsable={false}
|
|
348
|
+
ellipsizeMode="tail"
|
|
344
349
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
345
350
|
selectable={true}
|
|
346
351
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -420,6 +425,7 @@ exports[`StatusLabel status when status prop set to "warning" should match snaps
|
|
|
420
425
|
adjustsFontSizeToFit={false}
|
|
421
426
|
allowFontScaling={true}
|
|
422
427
|
collapsable={false}
|
|
428
|
+
ellipsizeMode="tail"
|
|
423
429
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
424
430
|
selectable={true}
|
|
425
431
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -499,6 +505,7 @@ exports[`StatusLabel status when status prop set to default ("success") should m
|
|
|
499
505
|
adjustsFontSizeToFit={false}
|
|
500
506
|
allowFontScaling={true}
|
|
501
507
|
collapsable={false}
|
|
508
|
+
ellipsizeMode="tail"
|
|
502
509
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
503
510
|
selectable={true}
|
|
504
511
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -6,6 +6,7 @@ exports[`renders text supporting with no additional props 1`] = `
|
|
|
6
6
|
adjustsFontSizeToFit={false}
|
|
7
7
|
allowFontScaling={true}
|
|
8
8
|
collapsable={false}
|
|
9
|
+
ellipsizeMode="tail"
|
|
9
10
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
10
11
|
selectable={true}
|
|
11
12
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -40,6 +41,7 @@ exports[`renders text supporting with variation success 1`] = `
|
|
|
40
41
|
adjustsFontSizeToFit={false}
|
|
41
42
|
allowFontScaling={true}
|
|
42
43
|
collapsable={false}
|
|
44
|
+
ellipsizeMode="tail"
|
|
43
45
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
44
46
|
selectable={true}
|
|
45
47
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -74,6 +76,7 @@ exports[`renders text supporting with variation success reverseTheme true 1`] =
|
|
|
74
76
|
adjustsFontSizeToFit={false}
|
|
75
77
|
allowFontScaling={true}
|
|
76
78
|
collapsable={false}
|
|
79
|
+
ellipsizeMode="tail"
|
|
77
80
|
maxFontSizeMultiplier={1.1428571428571428}
|
|
78
81
|
selectable={true}
|
|
79
82
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -108,7 +111,7 @@ exports[`renders text that is not scaled down with adjustsFontSize false 1`] = `
|
|
|
108
111
|
adjustsFontSizeToFit={false}
|
|
109
112
|
allowFontScaling={true}
|
|
110
113
|
collapsable={false}
|
|
111
|
-
ellipsizeMode="
|
|
114
|
+
ellipsizeMode="tail"
|
|
112
115
|
maxFontSizeMultiplier={3.125}
|
|
113
116
|
numberOfLines={4}
|
|
114
117
|
selectable={true}
|
|
@@ -144,7 +147,7 @@ exports[`renders text that is scaled down with adjustsFontSize true 1`] = `
|
|
|
144
147
|
adjustsFontSizeToFit={true}
|
|
145
148
|
allowFontScaling={true}
|
|
146
149
|
collapsable={false}
|
|
147
|
-
ellipsizeMode="
|
|
150
|
+
ellipsizeMode="tail"
|
|
148
151
|
maxFontSizeMultiplier={3.125}
|
|
149
152
|
numberOfLines={4}
|
|
150
153
|
selectable={true}
|
|
@@ -180,6 +183,7 @@ exports[`renders text with base variation 1`] = `
|
|
|
180
183
|
adjustsFontSizeToFit={false}
|
|
181
184
|
allowFontScaling={true}
|
|
182
185
|
collapsable={false}
|
|
186
|
+
ellipsizeMode="tail"
|
|
183
187
|
maxFontSizeMultiplier={3.125}
|
|
184
188
|
selectable={true}
|
|
185
189
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -214,6 +218,7 @@ exports[`renders text with center alignment 1`] = `
|
|
|
214
218
|
adjustsFontSizeToFit={false}
|
|
215
219
|
allowFontScaling={true}
|
|
216
220
|
collapsable={false}
|
|
221
|
+
ellipsizeMode="tail"
|
|
217
222
|
maxFontSizeMultiplier={3.125}
|
|
218
223
|
selectable={true}
|
|
219
224
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -248,6 +253,7 @@ exports[`renders text with error variation 1`] = `
|
|
|
248
253
|
adjustsFontSizeToFit={false}
|
|
249
254
|
allowFontScaling={true}
|
|
250
255
|
collapsable={false}
|
|
256
|
+
ellipsizeMode="tail"
|
|
251
257
|
maxFontSizeMultiplier={3.125}
|
|
252
258
|
selectable={true}
|
|
253
259
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -282,6 +288,7 @@ exports[`renders text with error variation reverseTheme true 1`] = `
|
|
|
282
288
|
adjustsFontSizeToFit={false}
|
|
283
289
|
allowFontScaling={true}
|
|
284
290
|
collapsable={false}
|
|
291
|
+
ellipsizeMode="tail"
|
|
285
292
|
maxFontSizeMultiplier={3.125}
|
|
286
293
|
selectable={true}
|
|
287
294
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -316,6 +323,7 @@ exports[`renders text with info variation 1`] = `
|
|
|
316
323
|
adjustsFontSizeToFit={false}
|
|
317
324
|
allowFontScaling={true}
|
|
318
325
|
collapsable={false}
|
|
326
|
+
ellipsizeMode="tail"
|
|
319
327
|
maxFontSizeMultiplier={3.125}
|
|
320
328
|
selectable={true}
|
|
321
329
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -350,6 +358,7 @@ exports[`renders text with left alignment 1`] = `
|
|
|
350
358
|
adjustsFontSizeToFit={false}
|
|
351
359
|
allowFontScaling={true}
|
|
352
360
|
collapsable={false}
|
|
361
|
+
ellipsizeMode="tail"
|
|
353
362
|
maxFontSizeMultiplier={3.125}
|
|
354
363
|
selectable={true}
|
|
355
364
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -384,6 +393,7 @@ exports[`renders text with no additional props 1`] = `
|
|
|
384
393
|
adjustsFontSizeToFit={false}
|
|
385
394
|
allowFontScaling={true}
|
|
386
395
|
collapsable={false}
|
|
396
|
+
ellipsizeMode="tail"
|
|
387
397
|
maxFontSizeMultiplier={3.125}
|
|
388
398
|
selectable={true}
|
|
389
399
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -418,6 +428,7 @@ exports[`renders text with right alignment 1`] = `
|
|
|
418
428
|
adjustsFontSizeToFit={false}
|
|
419
429
|
allowFontScaling={true}
|
|
420
430
|
collapsable={false}
|
|
431
|
+
ellipsizeMode="tail"
|
|
421
432
|
maxFontSizeMultiplier={3.125}
|
|
422
433
|
selectable={true}
|
|
423
434
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -452,6 +463,7 @@ exports[`renders text with subdued variation 1`] = `
|
|
|
452
463
|
adjustsFontSizeToFit={false}
|
|
453
464
|
allowFontScaling={true}
|
|
454
465
|
collapsable={false}
|
|
466
|
+
ellipsizeMode="tail"
|
|
455
467
|
maxFontSizeMultiplier={3.125}
|
|
456
468
|
selectable={true}
|
|
457
469
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -486,6 +498,7 @@ exports[`renders text with success variation 1`] = `
|
|
|
486
498
|
adjustsFontSizeToFit={false}
|
|
487
499
|
allowFontScaling={true}
|
|
488
500
|
collapsable={false}
|
|
501
|
+
ellipsizeMode="tail"
|
|
489
502
|
maxFontSizeMultiplier={3.125}
|
|
490
503
|
selectable={true}
|
|
491
504
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -520,6 +533,7 @@ exports[`renders text with success variation reverseTheme true 1`] = `
|
|
|
520
533
|
adjustsFontSizeToFit={false}
|
|
521
534
|
allowFontScaling={true}
|
|
522
535
|
collapsable={false}
|
|
536
|
+
ellipsizeMode="tail"
|
|
523
537
|
maxFontSizeMultiplier={3.125}
|
|
524
538
|
selectable={true}
|
|
525
539
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -554,6 +568,7 @@ exports[`renders text with underline styling 1`] = `
|
|
|
554
568
|
adjustsFontSizeToFit={false}
|
|
555
569
|
allowFontScaling={true}
|
|
556
570
|
collapsable={false}
|
|
571
|
+
ellipsizeMode="tail"
|
|
557
572
|
maxFontSizeMultiplier={3.125}
|
|
558
573
|
selectable={true}
|
|
559
574
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -595,6 +610,7 @@ exports[`renders text with warn variation 1`] = `
|
|
|
595
610
|
adjustsFontSizeToFit={false}
|
|
596
611
|
allowFontScaling={true}
|
|
597
612
|
collapsable={false}
|
|
613
|
+
ellipsizeMode="tail"
|
|
598
614
|
maxFontSizeMultiplier={3.125}
|
|
599
615
|
selectable={true}
|
|
600
616
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -629,6 +645,7 @@ exports[`renders with italic styling 1`] = `
|
|
|
629
645
|
adjustsFontSizeToFit={false}
|
|
630
646
|
allowFontScaling={true}
|
|
631
647
|
collapsable={false}
|
|
648
|
+
ellipsizeMode="tail"
|
|
632
649
|
maxFontSizeMultiplier={3.125}
|
|
633
650
|
selectable={true}
|
|
634
651
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -666,6 +683,7 @@ exports[`renders with strikethrough styling 1`] = `
|
|
|
666
683
|
adjustsFontSizeToFit={false}
|
|
667
684
|
allowFontScaling={true}
|
|
668
685
|
collapsable={false}
|
|
686
|
+
ellipsizeMode="tail"
|
|
669
687
|
maxFontSizeMultiplier={3.125}
|
|
670
688
|
selectable={true}
|
|
671
689
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -41,6 +41,7 @@ exports[`TextList when the bulletItems is provided displays the text list 1`] =
|
|
|
41
41
|
adjustsFontSizeToFit={false}
|
|
42
42
|
allowFontScaling={true}
|
|
43
43
|
collapsable={false}
|
|
44
|
+
ellipsizeMode="tail"
|
|
44
45
|
maxFontSizeMultiplier={3.125}
|
|
45
46
|
selectable={true}
|
|
46
47
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -80,6 +81,7 @@ exports[`TextList when the bulletItems is provided displays the text list 1`] =
|
|
|
80
81
|
adjustsFontSizeToFit={false}
|
|
81
82
|
allowFontScaling={true}
|
|
82
83
|
collapsable={false}
|
|
84
|
+
ellipsizeMode="tail"
|
|
83
85
|
maxFontSizeMultiplier={3.125}
|
|
84
86
|
selectable={true}
|
|
85
87
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -133,6 +135,7 @@ exports[`TextList when the bulletItems is provided displays the text list 1`] =
|
|
|
133
135
|
adjustsFontSizeToFit={false}
|
|
134
136
|
allowFontScaling={true}
|
|
135
137
|
collapsable={false}
|
|
138
|
+
ellipsizeMode="tail"
|
|
136
139
|
maxFontSizeMultiplier={3.125}
|
|
137
140
|
selectable={true}
|
|
138
141
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -172,6 +175,7 @@ exports[`TextList when the bulletItems is provided displays the text list 1`] =
|
|
|
172
175
|
adjustsFontSizeToFit={false}
|
|
173
176
|
allowFontScaling={true}
|
|
174
177
|
collapsable={false}
|
|
178
|
+
ellipsizeMode="tail"
|
|
175
179
|
maxFontSizeMultiplier={3.125}
|
|
176
180
|
selectable={true}
|
|
177
181
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -212,7 +212,7 @@ function InternalTypography<T extends FontFamily = "base">({
|
|
|
212
212
|
adjustsFontSizeToFit,
|
|
213
213
|
style,
|
|
214
214
|
numberOfLines: numberOfLinesForNativeText,
|
|
215
|
-
ellipsizeMode:
|
|
215
|
+
ellipsizeMode: "tail",
|
|
216
216
|
}}
|
|
217
217
|
{...accessibilityProps}
|
|
218
218
|
maxFontSizeMultiplier={getScaleMultiplier(
|
|
@@ -6,6 +6,7 @@ exports[`renders text respecting the text direction 1`] = `
|
|
|
6
6
|
adjustsFontSizeToFit={false}
|
|
7
7
|
allowFontScaling={true}
|
|
8
8
|
collapsable={false}
|
|
9
|
+
ellipsizeMode="tail"
|
|
9
10
|
selectable={true}
|
|
10
11
|
selectionColor="hsl(86, 100%, 46%)"
|
|
11
12
|
style={
|
|
@@ -39,7 +40,7 @@ exports[`renders text using the maxLines is also passed 1`] = `
|
|
|
39
40
|
adjustsFontSizeToFit={false}
|
|
40
41
|
allowFontScaling={true}
|
|
41
42
|
collapsable={false}
|
|
42
|
-
ellipsizeMode="
|
|
43
|
+
ellipsizeMode="tail"
|
|
43
44
|
numberOfLines={2}
|
|
44
45
|
selectable={true}
|
|
45
46
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -74,7 +75,7 @@ exports[`renders text with adjustsFontSizeToFit set to true 1`] = `
|
|
|
74
75
|
adjustsFontSizeToFit={true}
|
|
75
76
|
allowFontScaling={true}
|
|
76
77
|
collapsable={false}
|
|
77
|
-
ellipsizeMode="
|
|
78
|
+
ellipsizeMode="tail"
|
|
78
79
|
numberOfLines={1}
|
|
79
80
|
selectable={true}
|
|
80
81
|
selectionColor="hsl(86, 100%, 46%)"
|
|
@@ -109,6 +110,7 @@ exports[`renders text with black style and display as fontFamily 1`] = `
|
|
|
109
110
|
adjustsFontSizeToFit={false}
|
|
110
111
|
allowFontScaling={true}
|
|
111
112
|
collapsable={false}
|
|
113
|
+
ellipsizeMode="tail"
|
|
112
114
|
selectable={true}
|
|
113
115
|
selectionColor="hsl(86, 100%, 46%)"
|
|
114
116
|
style={
|
|
@@ -142,6 +144,7 @@ exports[`renders text with bold style 1`] = `
|
|
|
142
144
|
adjustsFontSizeToFit={false}
|
|
143
145
|
allowFontScaling={true}
|
|
144
146
|
collapsable={false}
|
|
147
|
+
ellipsizeMode="tail"
|
|
145
148
|
selectable={true}
|
|
146
149
|
selectionColor="hsl(86, 100%, 46%)"
|
|
147
150
|
style={
|
|
@@ -175,6 +178,7 @@ exports[`renders text with bold style and display as fontFamily 1`] = `
|
|
|
175
178
|
adjustsFontSizeToFit={false}
|
|
176
179
|
allowFontScaling={true}
|
|
177
180
|
collapsable={false}
|
|
181
|
+
ellipsizeMode="tail"
|
|
178
182
|
selectable={true}
|
|
179
183
|
selectionColor="hsl(86, 100%, 46%)"
|
|
180
184
|
style={
|
|
@@ -208,6 +212,7 @@ exports[`renders text with bold weight and italic style 1`] = `
|
|
|
208
212
|
adjustsFontSizeToFit={false}
|
|
209
213
|
allowFontScaling={true}
|
|
210
214
|
collapsable={false}
|
|
215
|
+
ellipsizeMode="tail"
|
|
211
216
|
selectable={true}
|
|
212
217
|
selectionColor="hsl(86, 100%, 46%)"
|
|
213
218
|
style={
|
|
@@ -244,6 +249,7 @@ exports[`renders text with center align 1`] = `
|
|
|
244
249
|
adjustsFontSizeToFit={false}
|
|
245
250
|
allowFontScaling={true}
|
|
246
251
|
collapsable={false}
|
|
252
|
+
ellipsizeMode="tail"
|
|
247
253
|
selectable={true}
|
|
248
254
|
selectionColor="hsl(86, 100%, 46%)"
|
|
249
255
|
style={
|
|
@@ -277,6 +283,7 @@ exports[`renders text with default color 1`] = `
|
|
|
277
283
|
adjustsFontSizeToFit={false}
|
|
278
284
|
allowFontScaling={true}
|
|
279
285
|
collapsable={false}
|
|
286
|
+
ellipsizeMode="tail"
|
|
280
287
|
selectable={true}
|
|
281
288
|
selectionColor="hsl(86, 100%, 46%)"
|
|
282
289
|
style={
|
|
@@ -310,6 +317,7 @@ exports[`renders text with default size 1`] = `
|
|
|
310
317
|
adjustsFontSizeToFit={false}
|
|
311
318
|
allowFontScaling={true}
|
|
312
319
|
collapsable={false}
|
|
320
|
+
ellipsizeMode="tail"
|
|
313
321
|
selectable={true}
|
|
314
322
|
selectionColor="hsl(86, 100%, 46%)"
|
|
315
323
|
style={
|
|
@@ -343,6 +351,7 @@ exports[`renders text with extraBold weight and display as fontFamily 1`] = `
|
|
|
343
351
|
adjustsFontSizeToFit={false}
|
|
344
352
|
allowFontScaling={true}
|
|
345
353
|
collapsable={false}
|
|
354
|
+
ellipsizeMode="tail"
|
|
346
355
|
selectable={true}
|
|
347
356
|
selectionColor="hsl(86, 100%, 46%)"
|
|
348
357
|
style={
|
|
@@ -376,6 +385,7 @@ exports[`renders text with green color 1`] = `
|
|
|
376
385
|
adjustsFontSizeToFit={false}
|
|
377
386
|
allowFontScaling={true}
|
|
378
387
|
collapsable={false}
|
|
388
|
+
ellipsizeMode="tail"
|
|
379
389
|
selectable={true}
|
|
380
390
|
selectionColor="hsl(86, 100%, 46%)"
|
|
381
391
|
style={
|
|
@@ -409,6 +419,7 @@ exports[`renders text with italic style 1`] = `
|
|
|
409
419
|
adjustsFontSizeToFit={false}
|
|
410
420
|
allowFontScaling={true}
|
|
411
421
|
collapsable={false}
|
|
422
|
+
ellipsizeMode="tail"
|
|
412
423
|
selectable={true}
|
|
413
424
|
selectionColor="hsl(86, 100%, 46%)"
|
|
414
425
|
style={
|
|
@@ -445,6 +456,7 @@ exports[`renders text with large size 1`] = `
|
|
|
445
456
|
adjustsFontSizeToFit={false}
|
|
446
457
|
allowFontScaling={true}
|
|
447
458
|
collapsable={false}
|
|
459
|
+
ellipsizeMode="tail"
|
|
448
460
|
selectable={true}
|
|
449
461
|
selectionColor="hsl(86, 100%, 46%)"
|
|
450
462
|
style={
|
|
@@ -478,6 +490,7 @@ exports[`renders text with letter spacing 1`] = `
|
|
|
478
490
|
adjustsFontSizeToFit={false}
|
|
479
491
|
allowFontScaling={true}
|
|
480
492
|
collapsable={false}
|
|
493
|
+
ellipsizeMode="tail"
|
|
481
494
|
selectable={true}
|
|
482
495
|
selectionColor="hsl(86, 100%, 46%)"
|
|
483
496
|
style={
|
|
@@ -511,6 +524,7 @@ exports[`renders text with line height override 1`] = `
|
|
|
511
524
|
adjustsFontSizeToFit={false}
|
|
512
525
|
allowFontScaling={true}
|
|
513
526
|
collapsable={false}
|
|
527
|
+
ellipsizeMode="tail"
|
|
514
528
|
selectable={true}
|
|
515
529
|
selectionColor="hsl(86, 100%, 46%)"
|
|
516
530
|
style={
|
|
@@ -544,6 +558,7 @@ exports[`renders text with lowercase transform 1`] = `
|
|
|
544
558
|
adjustsFontSizeToFit={false}
|
|
545
559
|
allowFontScaling={true}
|
|
546
560
|
collapsable={false}
|
|
561
|
+
ellipsizeMode="tail"
|
|
547
562
|
selectable={true}
|
|
548
563
|
selectionColor="hsl(86, 100%, 46%)"
|
|
549
564
|
style={
|
|
@@ -577,6 +592,7 @@ exports[`renders text with multiple properties 1`] = `
|
|
|
577
592
|
adjustsFontSizeToFit={false}
|
|
578
593
|
allowFontScaling={true}
|
|
579
594
|
collapsable={false}
|
|
595
|
+
ellipsizeMode="tail"
|
|
580
596
|
selectable={true}
|
|
581
597
|
selectionColor="hsl(86, 100%, 46%)"
|
|
582
598
|
style={
|
|
@@ -610,6 +626,7 @@ exports[`renders text with no additional props 1`] = `
|
|
|
610
626
|
adjustsFontSizeToFit={false}
|
|
611
627
|
allowFontScaling={true}
|
|
612
628
|
collapsable={false}
|
|
629
|
+
ellipsizeMode="tail"
|
|
613
630
|
selectable={true}
|
|
614
631
|
selectionColor="hsl(86, 100%, 46%)"
|
|
615
632
|
style={
|
|
@@ -643,6 +660,7 @@ exports[`renders text with regular style 1`] = `
|
|
|
643
660
|
adjustsFontSizeToFit={false}
|
|
644
661
|
allowFontScaling={true}
|
|
645
662
|
collapsable={false}
|
|
663
|
+
ellipsizeMode="tail"
|
|
646
664
|
selectable={true}
|
|
647
665
|
selectionColor="hsl(86, 100%, 46%)"
|
|
648
666
|
style={
|
|
@@ -676,6 +694,7 @@ exports[`renders text with reverseTheme false with reversible color 1`] = `
|
|
|
676
694
|
adjustsFontSizeToFit={false}
|
|
677
695
|
allowFontScaling={true}
|
|
678
696
|
collapsable={false}
|
|
697
|
+
ellipsizeMode="tail"
|
|
679
698
|
selectable={true}
|
|
680
699
|
selectionColor="hsl(86, 100%, 46%)"
|
|
681
700
|
style={
|
|
@@ -709,6 +728,7 @@ exports[`renders text with reverseTheme true with reversible color 1`] = `
|
|
|
709
728
|
adjustsFontSizeToFit={false}
|
|
710
729
|
allowFontScaling={true}
|
|
711
730
|
collapsable={false}
|
|
731
|
+
ellipsizeMode="tail"
|
|
712
732
|
selectable={true}
|
|
713
733
|
selectionColor="hsl(86, 100%, 46%)"
|
|
714
734
|
style={
|
|
@@ -742,6 +762,7 @@ exports[`renders text with semantic color 1`] = `
|
|
|
742
762
|
adjustsFontSizeToFit={false}
|
|
743
763
|
allowFontScaling={true}
|
|
744
764
|
collapsable={false}
|
|
765
|
+
ellipsizeMode="tail"
|
|
745
766
|
selectable={true}
|
|
746
767
|
selectionColor="hsl(86, 100%, 46%)"
|
|
747
768
|
style={
|
|
@@ -775,6 +796,7 @@ exports[`renders text with small size 1`] = `
|
|
|
775
796
|
adjustsFontSizeToFit={false}
|
|
776
797
|
allowFontScaling={true}
|
|
777
798
|
collapsable={false}
|
|
799
|
+
ellipsizeMode="tail"
|
|
778
800
|
selectable={true}
|
|
779
801
|
selectionColor="hsl(86, 100%, 46%)"
|
|
780
802
|
style={
|
|
@@ -808,6 +830,7 @@ exports[`renders text with strikethough styling 1`] = `
|
|
|
808
830
|
adjustsFontSizeToFit={false}
|
|
809
831
|
allowFontScaling={true}
|
|
810
832
|
collapsable={false}
|
|
833
|
+
ellipsizeMode="tail"
|
|
811
834
|
selectable={true}
|
|
812
835
|
selectionColor="hsl(86, 100%, 46%)"
|
|
813
836
|
style={
|
|
@@ -844,6 +867,7 @@ exports[`renders text with uppercase transform 1`] = `
|
|
|
844
867
|
adjustsFontSizeToFit={false}
|
|
845
868
|
allowFontScaling={true}
|
|
846
869
|
collapsable={false}
|
|
870
|
+
ellipsizeMode="tail"
|
|
847
871
|
selectable={true}
|
|
848
872
|
selectionColor="hsl(86, 100%, 46%)"
|
|
849
873
|
style={
|
|
@@ -877,6 +901,7 @@ exports[`renders text with white color 1`] = `
|
|
|
877
901
|
adjustsFontSizeToFit={false}
|
|
878
902
|
allowFontScaling={true}
|
|
879
903
|
collapsable={false}
|
|
904
|
+
ellipsizeMode="tail"
|
|
880
905
|
selectable={true}
|
|
881
906
|
selectionColor="hsl(86, 100%, 46%)"
|
|
882
907
|
style={
|
|
@@ -910,6 +935,7 @@ exports[`underline renders text with dashed underline 1`] = `
|
|
|
910
935
|
adjustsFontSizeToFit={false}
|
|
911
936
|
allowFontScaling={true}
|
|
912
937
|
collapsable={false}
|
|
938
|
+
ellipsizeMode="tail"
|
|
913
939
|
selectable={true}
|
|
914
940
|
selectionColor="hsl(86, 100%, 46%)"
|
|
915
941
|
style={
|
|
@@ -950,6 +976,7 @@ exports[`underline renders text with dotted underline 1`] = `
|
|
|
950
976
|
adjustsFontSizeToFit={false}
|
|
951
977
|
allowFontScaling={true}
|
|
952
978
|
collapsable={false}
|
|
979
|
+
ellipsizeMode="tail"
|
|
953
980
|
selectable={true}
|
|
954
981
|
selectionColor="hsl(86, 100%, 46%)"
|
|
955
982
|
style={
|
|
@@ -990,6 +1017,7 @@ exports[`underline renders text with double underline 1`] = `
|
|
|
990
1017
|
adjustsFontSizeToFit={false}
|
|
991
1018
|
allowFontScaling={true}
|
|
992
1019
|
collapsable={false}
|
|
1020
|
+
ellipsizeMode="tail"
|
|
993
1021
|
selectable={true}
|
|
994
1022
|
selectionColor="hsl(86, 100%, 46%)"
|
|
995
1023
|
style={
|
|
@@ -1030,6 +1058,7 @@ exports[`underline renders text with solid underline 1`] = `
|
|
|
1030
1058
|
adjustsFontSizeToFit={false}
|
|
1031
1059
|
allowFontScaling={true}
|
|
1032
1060
|
collapsable={false}
|
|
1061
|
+
ellipsizeMode="tail"
|
|
1033
1062
|
selectable={true}
|
|
1034
1063
|
selectionColor="hsl(86, 100%, 46%)"
|
|
1035
1064
|
style={
|