@terreno/ui 0.14.1 → 0.15.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/ActionSheet.js +15 -27
- package/dist/ActionSheet.js.map +1 -1
- package/dist/Badge.js +1 -0
- package/dist/Badge.js.map +1 -1
- package/dist/Banner.d.ts +8 -0
- package/dist/Banner.js +2 -2
- package/dist/Banner.js.map +1 -1
- package/dist/MarkdownView.js +20 -7
- package/dist/MarkdownView.js.map +1 -1
- package/dist/PickerSelect.js +6 -2
- package/dist/PickerSelect.js.map +1 -1
- package/dist/Signature.d.ts +8 -1
- package/dist/Signature.js +93 -18
- package/dist/Signature.js.map +1 -1
- package/dist/Signature.native.d.ts +15 -0
- package/dist/Signature.native.js +116 -21
- package/dist/Signature.native.js.map +1 -1
- package/dist/TapToEdit.js +1 -1
- package/dist/TapToEdit.js.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/useConsentHistory.d.ts +6 -1
- package/dist/useConsentHistory.js +2 -1
- package/dist/useConsentHistory.js.map +1 -1
- package/package.json +2 -4
- package/src/ActionSheet.test.tsx +554 -0
- package/src/ActionSheet.tsx +24 -37
- package/src/Badge.test.tsx +7 -0
- package/src/Badge.tsx +1 -0
- package/src/Banner.test.tsx +58 -3
- package/src/Banner.tsx +3 -3
- package/src/DataTable.test.tsx +176 -1
- package/src/DateTimeField.test.tsx +942 -2
- package/src/Field.test.tsx +23 -0
- package/src/HeightActionSheet.test.tsx +1 -1
- package/src/HeightField.test.tsx +35 -0
- package/src/HeightFieldDesktop.test.tsx +19 -0
- package/src/MarkdownView.test.tsx +28 -0
- package/src/MarkdownView.tsx +69 -7
- package/src/MobileAddressAutoComplete.test.tsx +6 -2
- package/src/PickerSelect.test.tsx +265 -0
- package/src/PickerSelect.tsx +24 -8
- package/src/Signature.native.tsx +147 -30
- package/src/Signature.test.tsx +2 -49
- package/src/Signature.tsx +128 -22
- package/src/SignatureField.test.tsx +0 -9
- package/src/SplitPage.test.tsx +299 -43
- package/src/TapToEdit.test.tsx +46 -0
- package/src/TapToEdit.tsx +1 -1
- package/src/ToastNotifications.test.tsx +748 -1
- package/src/Tooltip.test.tsx +707 -1
- package/src/WebAddressAutocomplete.test.tsx +99 -0
- package/src/WebDropdownMenu.test.tsx +28 -2
- package/src/__snapshots__/Banner.test.tsx.snap +125 -0
- package/src/__snapshots__/CustomSelectField.test.tsx.snap +5 -4
- package/src/__snapshots__/DataTable.test.tsx.snap +366 -0
- package/src/__snapshots__/Field.test.tsx.snap +377 -0
- package/src/__snapshots__/MarkdownView.test.tsx.snap +284 -74
- package/src/__snapshots__/PickerSelect.test.tsx.snap +5 -4
- package/src/__snapshots__/SegmentedControl.test.tsx.snap +9 -0
- package/src/__snapshots__/SelectField.test.tsx.snap +5 -4
- package/src/__snapshots__/Signature.test.tsx.snap +13 -3
- package/src/__snapshots__/SignatureField.test.tsx.snap +10 -3
- package/src/__snapshots__/SplitPage.test.tsx.snap +698 -46
- package/src/bunSetup.ts +0 -19
- package/src/index.tsx +1 -1
- package/src/login/LoginScreen.test.tsx +12 -0
- package/src/useConsentHistory.test.ts +20 -13
- package/src/useConsentHistory.ts +7 -2
|
@@ -540,16 +540,17 @@ exports[`PickerSelect renders disabled state 1`] = `
|
|
|
540
540
|
"children": [
|
|
541
541
|
{
|
|
542
542
|
"$$typeof": Symbol(react.test.json),
|
|
543
|
-
"children":
|
|
543
|
+
"children": [
|
|
544
|
+
"Select an option",
|
|
545
|
+
],
|
|
544
546
|
"props": {
|
|
545
|
-
"readOnly": true,
|
|
546
547
|
"style": {
|
|
547
548
|
"color": "#686868",
|
|
549
|
+
"flex": 1,
|
|
548
550
|
},
|
|
549
551
|
"testID": "text_input",
|
|
550
|
-
"value": "Select an option",
|
|
551
552
|
},
|
|
552
|
-
"type": "
|
|
553
|
+
"type": "Text",
|
|
553
554
|
},
|
|
554
555
|
{
|
|
555
556
|
"$$typeof": Symbol(react.test.json),
|
|
@@ -768,6 +768,9 @@ exports[`SegmentedControl renders with badges 1`] = `
|
|
|
768
768
|
"paddingVertical": 4,
|
|
769
769
|
"width": "auto",
|
|
770
770
|
},
|
|
771
|
+
{
|
|
772
|
+
"minWidth": 20,
|
|
773
|
+
},
|
|
771
774
|
false,
|
|
772
775
|
false,
|
|
773
776
|
],
|
|
@@ -859,6 +862,9 @@ exports[`SegmentedControl renders with badges 1`] = `
|
|
|
859
862
|
"paddingVertical": 4,
|
|
860
863
|
"width": "auto",
|
|
861
864
|
},
|
|
865
|
+
{
|
|
866
|
+
"minWidth": 20,
|
|
867
|
+
},
|
|
862
868
|
false,
|
|
863
869
|
false,
|
|
864
870
|
],
|
|
@@ -950,6 +956,9 @@ exports[`SegmentedControl renders with badges 1`] = `
|
|
|
950
956
|
"paddingVertical": 4,
|
|
951
957
|
"width": "auto",
|
|
952
958
|
},
|
|
959
|
+
{
|
|
960
|
+
"minWidth": 20,
|
|
961
|
+
},
|
|
953
962
|
false,
|
|
954
963
|
false,
|
|
955
964
|
],
|
|
@@ -1134,16 +1134,17 @@ exports[`SelectField renders disabled state 1`] = `
|
|
|
1134
1134
|
"children": [
|
|
1135
1135
|
{
|
|
1136
1136
|
"$$typeof": Symbol(react.test.json),
|
|
1137
|
-
"children":
|
|
1137
|
+
"children": [
|
|
1138
|
+
"Please select an option.",
|
|
1139
|
+
],
|
|
1138
1140
|
"props": {
|
|
1139
|
-
"readOnly": true,
|
|
1140
1141
|
"style": {
|
|
1141
1142
|
"color": "#686868",
|
|
1143
|
+
"flex": 1,
|
|
1142
1144
|
},
|
|
1143
1145
|
"testID": "text_input",
|
|
1144
|
-
"value": "Please select an option.",
|
|
1145
1146
|
},
|
|
1146
|
-
"type": "
|
|
1147
|
+
"type": "Text",
|
|
1147
1148
|
},
|
|
1148
1149
|
{
|
|
1149
1150
|
"$$typeof": Symbol(react.test.json),
|
|
@@ -11,12 +11,22 @@ exports[`Signature renders correctly 1`] = `
|
|
|
11
11
|
"$$typeof": Symbol(react.test.json),
|
|
12
12
|
"children": null,
|
|
13
13
|
"props": {
|
|
14
|
+
"height": 180,
|
|
15
|
+
"onPointerDown": [Function],
|
|
16
|
+
"onPointerLeave": [Function],
|
|
17
|
+
"onPointerMove": [Function],
|
|
18
|
+
"onPointerUp": [Function],
|
|
19
|
+
"ref": {
|
|
20
|
+
"current": null,
|
|
21
|
+
},
|
|
14
22
|
"style": {
|
|
15
|
-
"
|
|
23
|
+
"height": 180,
|
|
24
|
+
"touchAction": "none",
|
|
25
|
+
"width": 300,
|
|
16
26
|
},
|
|
17
|
-
"
|
|
27
|
+
"width": 300,
|
|
18
28
|
},
|
|
19
|
-
"type": "
|
|
29
|
+
"type": "canvas",
|
|
20
30
|
},
|
|
21
31
|
],
|
|
22
32
|
"props": {
|
|
@@ -33,15 +33,22 @@ exports[`SignatureField renders correctly with default props 1`] = `
|
|
|
33
33
|
"$$typeof": Symbol(react.test.json),
|
|
34
34
|
"children": null,
|
|
35
35
|
"props": {
|
|
36
|
+
"height": 180,
|
|
37
|
+
"onPointerDown": [Function],
|
|
38
|
+
"onPointerLeave": [Function],
|
|
39
|
+
"onPointerMove": [Function],
|
|
40
|
+
"onPointerUp": [Function],
|
|
36
41
|
"ref": {
|
|
37
42
|
"current": null,
|
|
38
43
|
},
|
|
39
44
|
"style": {
|
|
40
|
-
"
|
|
45
|
+
"height": 180,
|
|
46
|
+
"touchAction": "none",
|
|
47
|
+
"width": 300,
|
|
41
48
|
},
|
|
42
|
-
"
|
|
49
|
+
"width": 300,
|
|
43
50
|
},
|
|
44
|
-
"type": "
|
|
51
|
+
"type": "canvas",
|
|
45
52
|
},
|
|
46
53
|
],
|
|
47
54
|
"props": {
|