@jobber/components-native 0.17.0 → 0.19.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.
- package/dist/src/Flex/Flex.js +31 -0
- package/dist/src/Flex/Flex.styles.js +24 -0
- package/dist/src/Flex/index.js +1 -0
- package/dist/src/Flex/types.js +8 -0
- package/dist/src/index.js +1 -0
- package/dist/tsconfig.tsbuildinfo +1 -1
- package/dist/types/src/Flex/Flex.d.ts +3 -0
- package/dist/types/src/Flex/Flex.styles.d.ts +9 -0
- package/dist/types/src/Flex/index.d.ts +1 -0
- package/dist/types/src/Flex/types.d.ts +29 -0
- package/dist/types/src/index.d.ts +1 -0
- package/package.json +5 -3
- package/src/Flex/Flex.styles.tsx +29 -0
- package/src/Flex/Flex.test.tsx +129 -0
- package/src/Flex/Flex.tsx +71 -0
- package/src/Flex/index.ts +1 -0
- package/src/Flex/types.ts +41 -0
- package/src/Heading/__snapshots__/Heading.test.tsx.snap +8 -8
- package/src/StatusLabel/__snapshots__/StatusLabel.test.tsx.snap +7 -7
- package/src/Text/__snapshots__/Text.test.tsx.snap +18 -18
- package/src/Typography/__snapshots__/Typography.test.tsx.snap +26 -26
- package/src/index.ts +1 -0
|
@@ -7,7 +7,7 @@ exports[`renders text respecting the text direction 1`] = `
|
|
|
7
7
|
allowFontScaling={true}
|
|
8
8
|
collapsable={false}
|
|
9
9
|
selectable={true}
|
|
10
|
-
selectionColor="rgb(
|
|
10
|
+
selectionColor="rgb(132, 234, 0)"
|
|
11
11
|
style={
|
|
12
12
|
[
|
|
13
13
|
{
|
|
@@ -41,7 +41,7 @@ exports[`renders text using the maxLines is also passed 1`] = `
|
|
|
41
41
|
collapsable={false}
|
|
42
42
|
numberOfLines={2}
|
|
43
43
|
selectable={true}
|
|
44
|
-
selectionColor="rgb(
|
|
44
|
+
selectionColor="rgb(132, 234, 0)"
|
|
45
45
|
style={
|
|
46
46
|
[
|
|
47
47
|
{
|
|
@@ -75,7 +75,7 @@ exports[`renders text with adjustsFontSizeToFit set to true 1`] = `
|
|
|
75
75
|
collapsable={false}
|
|
76
76
|
numberOfLines={1}
|
|
77
77
|
selectable={true}
|
|
78
|
-
selectionColor="rgb(
|
|
78
|
+
selectionColor="rgb(132, 234, 0)"
|
|
79
79
|
style={
|
|
80
80
|
[
|
|
81
81
|
{
|
|
@@ -108,7 +108,7 @@ exports[`renders text with black style and display as fontFamily 1`] = `
|
|
|
108
108
|
allowFontScaling={true}
|
|
109
109
|
collapsable={false}
|
|
110
110
|
selectable={true}
|
|
111
|
-
selectionColor="rgb(
|
|
111
|
+
selectionColor="rgb(132, 234, 0)"
|
|
112
112
|
style={
|
|
113
113
|
[
|
|
114
114
|
{
|
|
@@ -141,7 +141,7 @@ exports[`renders text with bold style 1`] = `
|
|
|
141
141
|
allowFontScaling={true}
|
|
142
142
|
collapsable={false}
|
|
143
143
|
selectable={true}
|
|
144
|
-
selectionColor="rgb(
|
|
144
|
+
selectionColor="rgb(132, 234, 0)"
|
|
145
145
|
style={
|
|
146
146
|
[
|
|
147
147
|
{
|
|
@@ -174,7 +174,7 @@ exports[`renders text with bold style and display as fontFamily 1`] = `
|
|
|
174
174
|
allowFontScaling={true}
|
|
175
175
|
collapsable={false}
|
|
176
176
|
selectable={true}
|
|
177
|
-
selectionColor="rgb(
|
|
177
|
+
selectionColor="rgb(132, 234, 0)"
|
|
178
178
|
style={
|
|
179
179
|
[
|
|
180
180
|
{
|
|
@@ -207,7 +207,7 @@ exports[`renders text with bold weight and italic style 1`] = `
|
|
|
207
207
|
allowFontScaling={true}
|
|
208
208
|
collapsable={false}
|
|
209
209
|
selectable={true}
|
|
210
|
-
selectionColor="rgb(
|
|
210
|
+
selectionColor="rgb(132, 234, 0)"
|
|
211
211
|
style={
|
|
212
212
|
[
|
|
213
213
|
{
|
|
@@ -240,7 +240,7 @@ exports[`renders text with center align 1`] = `
|
|
|
240
240
|
allowFontScaling={true}
|
|
241
241
|
collapsable={false}
|
|
242
242
|
selectable={true}
|
|
243
|
-
selectionColor="rgb(
|
|
243
|
+
selectionColor="rgb(132, 234, 0)"
|
|
244
244
|
style={
|
|
245
245
|
[
|
|
246
246
|
{
|
|
@@ -273,7 +273,7 @@ exports[`renders text with default color 1`] = `
|
|
|
273
273
|
allowFontScaling={true}
|
|
274
274
|
collapsable={false}
|
|
275
275
|
selectable={true}
|
|
276
|
-
selectionColor="rgb(
|
|
276
|
+
selectionColor="rgb(132, 234, 0)"
|
|
277
277
|
style={
|
|
278
278
|
[
|
|
279
279
|
{
|
|
@@ -306,7 +306,7 @@ exports[`renders text with default size 1`] = `
|
|
|
306
306
|
allowFontScaling={true}
|
|
307
307
|
collapsable={false}
|
|
308
308
|
selectable={true}
|
|
309
|
-
selectionColor="rgb(
|
|
309
|
+
selectionColor="rgb(132, 234, 0)"
|
|
310
310
|
style={
|
|
311
311
|
[
|
|
312
312
|
{
|
|
@@ -339,7 +339,7 @@ exports[`renders text with extraBold weight and display as fontFamily 1`] = `
|
|
|
339
339
|
allowFontScaling={true}
|
|
340
340
|
collapsable={false}
|
|
341
341
|
selectable={true}
|
|
342
|
-
selectionColor="rgb(
|
|
342
|
+
selectionColor="rgb(132, 234, 0)"
|
|
343
343
|
style={
|
|
344
344
|
[
|
|
345
345
|
{
|
|
@@ -372,7 +372,7 @@ exports[`renders text with green color 1`] = `
|
|
|
372
372
|
allowFontScaling={true}
|
|
373
373
|
collapsable={false}
|
|
374
374
|
selectable={true}
|
|
375
|
-
selectionColor="rgb(
|
|
375
|
+
selectionColor="rgb(132, 234, 0)"
|
|
376
376
|
style={
|
|
377
377
|
[
|
|
378
378
|
{
|
|
@@ -405,7 +405,7 @@ exports[`renders text with italic style 1`] = `
|
|
|
405
405
|
allowFontScaling={true}
|
|
406
406
|
collapsable={false}
|
|
407
407
|
selectable={true}
|
|
408
|
-
selectionColor="rgb(
|
|
408
|
+
selectionColor="rgb(132, 234, 0)"
|
|
409
409
|
style={
|
|
410
410
|
[
|
|
411
411
|
{
|
|
@@ -438,7 +438,7 @@ exports[`renders text with large size 1`] = `
|
|
|
438
438
|
allowFontScaling={true}
|
|
439
439
|
collapsable={false}
|
|
440
440
|
selectable={true}
|
|
441
|
-
selectionColor="rgb(
|
|
441
|
+
selectionColor="rgb(132, 234, 0)"
|
|
442
442
|
style={
|
|
443
443
|
[
|
|
444
444
|
{
|
|
@@ -471,7 +471,7 @@ exports[`renders text with letter spacing 1`] = `
|
|
|
471
471
|
allowFontScaling={true}
|
|
472
472
|
collapsable={false}
|
|
473
473
|
selectable={true}
|
|
474
|
-
selectionColor="rgb(
|
|
474
|
+
selectionColor="rgb(132, 234, 0)"
|
|
475
475
|
style={
|
|
476
476
|
[
|
|
477
477
|
{
|
|
@@ -504,7 +504,7 @@ exports[`renders text with line height override 1`] = `
|
|
|
504
504
|
allowFontScaling={true}
|
|
505
505
|
collapsable={false}
|
|
506
506
|
selectable={true}
|
|
507
|
-
selectionColor="rgb(
|
|
507
|
+
selectionColor="rgb(132, 234, 0)"
|
|
508
508
|
style={
|
|
509
509
|
[
|
|
510
510
|
{
|
|
@@ -537,7 +537,7 @@ exports[`renders text with lowercase transform 1`] = `
|
|
|
537
537
|
allowFontScaling={true}
|
|
538
538
|
collapsable={false}
|
|
539
539
|
selectable={true}
|
|
540
|
-
selectionColor="rgb(
|
|
540
|
+
selectionColor="rgb(132, 234, 0)"
|
|
541
541
|
style={
|
|
542
542
|
[
|
|
543
543
|
{
|
|
@@ -570,7 +570,7 @@ exports[`renders text with multiple properties 1`] = `
|
|
|
570
570
|
allowFontScaling={true}
|
|
571
571
|
collapsable={false}
|
|
572
572
|
selectable={true}
|
|
573
|
-
selectionColor="rgb(
|
|
573
|
+
selectionColor="rgb(132, 234, 0)"
|
|
574
574
|
style={
|
|
575
575
|
[
|
|
576
576
|
{
|
|
@@ -603,7 +603,7 @@ exports[`renders text with no additional props 1`] = `
|
|
|
603
603
|
allowFontScaling={true}
|
|
604
604
|
collapsable={false}
|
|
605
605
|
selectable={true}
|
|
606
|
-
selectionColor="rgb(
|
|
606
|
+
selectionColor="rgb(132, 234, 0)"
|
|
607
607
|
style={
|
|
608
608
|
[
|
|
609
609
|
{
|
|
@@ -636,7 +636,7 @@ exports[`renders text with regular style 1`] = `
|
|
|
636
636
|
allowFontScaling={true}
|
|
637
637
|
collapsable={false}
|
|
638
638
|
selectable={true}
|
|
639
|
-
selectionColor="rgb(
|
|
639
|
+
selectionColor="rgb(132, 234, 0)"
|
|
640
640
|
style={
|
|
641
641
|
[
|
|
642
642
|
{
|
|
@@ -669,7 +669,7 @@ exports[`renders text with reverseTheme false with reversible color 1`] = `
|
|
|
669
669
|
allowFontScaling={true}
|
|
670
670
|
collapsable={false}
|
|
671
671
|
selectable={true}
|
|
672
|
-
selectionColor="rgb(
|
|
672
|
+
selectionColor="rgb(132, 234, 0)"
|
|
673
673
|
style={
|
|
674
674
|
[
|
|
675
675
|
{
|
|
@@ -702,7 +702,7 @@ exports[`renders text with reverseTheme true with reversible color 1`] = `
|
|
|
702
702
|
allowFontScaling={true}
|
|
703
703
|
collapsable={false}
|
|
704
704
|
selectable={true}
|
|
705
|
-
selectionColor="rgb(
|
|
705
|
+
selectionColor="rgb(132, 234, 0)"
|
|
706
706
|
style={
|
|
707
707
|
[
|
|
708
708
|
{
|
|
@@ -735,7 +735,7 @@ exports[`renders text with small size 1`] = `
|
|
|
735
735
|
allowFontScaling={true}
|
|
736
736
|
collapsable={false}
|
|
737
737
|
selectable={true}
|
|
738
|
-
selectionColor="rgb(
|
|
738
|
+
selectionColor="rgb(132, 234, 0)"
|
|
739
739
|
style={
|
|
740
740
|
[
|
|
741
741
|
{
|
|
@@ -768,7 +768,7 @@ exports[`renders text with strikethough styling 1`] = `
|
|
|
768
768
|
allowFontScaling={true}
|
|
769
769
|
collapsable={false}
|
|
770
770
|
selectable={true}
|
|
771
|
-
selectionColor="rgb(
|
|
771
|
+
selectionColor="rgb(132, 234, 0)"
|
|
772
772
|
style={
|
|
773
773
|
[
|
|
774
774
|
{
|
|
@@ -804,7 +804,7 @@ exports[`renders text with uppercase transform 1`] = `
|
|
|
804
804
|
allowFontScaling={true}
|
|
805
805
|
collapsable={false}
|
|
806
806
|
selectable={true}
|
|
807
|
-
selectionColor="rgb(
|
|
807
|
+
selectionColor="rgb(132, 234, 0)"
|
|
808
808
|
style={
|
|
809
809
|
[
|
|
810
810
|
{
|
|
@@ -837,7 +837,7 @@ exports[`renders text with white color 1`] = `
|
|
|
837
837
|
allowFontScaling={true}
|
|
838
838
|
collapsable={false}
|
|
839
839
|
selectable={true}
|
|
840
|
-
selectionColor="rgb(
|
|
840
|
+
selectionColor="rgb(132, 234, 0)"
|
|
841
841
|
style={
|
|
842
842
|
[
|
|
843
843
|
{
|
package/src/index.ts
CHANGED