@terreno/ui 0.10.0 → 0.11.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/Banner.js +2 -2
- package/dist/Banner.js.map +1 -1
- package/dist/TextFieldNumberActionSheet.d.ts +1 -1
- package/dist/Toast.d.ts +1 -1
- package/dist/Toast.js +2 -2
- package/dist/Toast.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/package.json +2 -1
- package/src/ActionSheet.test.tsx +262 -3
- package/src/AddressField.test.tsx +50 -0
- package/src/Banner.test.tsx +22 -0
- package/src/Banner.tsx +2 -2
- package/src/Box.test.tsx +218 -0
- package/src/Button.test.tsx +71 -0
- package/src/ConsentFormScreen.test.tsx +167 -0
- package/src/ConsentNavigator.test.tsx +206 -0
- package/src/DecimalRangeActionSheet.test.tsx +53 -2
- package/src/EmailField.test.tsx +81 -0
- package/src/EmojiSelector.test.tsx +262 -1
- package/src/HeightActionSheet.test.tsx +57 -2
- package/src/InfoModalIcon.test.tsx +16 -0
- package/src/InfoTooltipButton.test.tsx +53 -1
- package/src/MobileAddressAutoComplete.test.tsx +137 -7
- package/src/Modal.test.tsx +188 -0
- package/src/NumberPickerActionSheet.test.tsx +59 -2
- package/src/Page.test.tsx +162 -1
- package/src/Pagination.test.tsx +16 -0
- package/src/PhoneNumberField.test.tsx +46 -9
- package/src/PickerSelect.test.tsx +230 -0
- package/src/SegmentedControl.test.tsx +38 -0
- package/src/SelectBadge.test.tsx +52 -1
- package/src/SideDrawer.test.tsx +69 -0
- package/src/Signature.test.tsx +42 -5
- package/src/SignatureField.test.tsx +35 -0
- package/src/Slider.test.tsx +59 -0
- package/src/Spinner.test.tsx +6 -0
- package/src/SplitPage.test.tsx +228 -2
- package/src/TapToEdit.test.tsx +171 -1
- package/src/TerrenoProvider.test.tsx +42 -2
- package/src/TextFieldNumberActionSheet.tsx +1 -1
- package/src/Theme.test.tsx +118 -28
- package/src/Toast.test.tsx +95 -2
- package/src/Toast.tsx +3 -3
- package/src/Tooltip.test.tsx +204 -1
- package/src/UnifiedAddressAutoComplete.test.tsx +38 -19
- package/src/UserInactivity.test.tsx +73 -1
- package/src/Utilities.test.tsx +190 -2
- package/src/WebAddressAutocomplete.test.tsx +148 -1
- package/src/__snapshots__/ActionSheet.test.tsx.snap +1736 -0
- package/src/__snapshots__/Button.test.tsx.snap +68 -0
- package/src/__snapshots__/EmojiSelector.test.tsx.snap +1363 -0
- package/src/__snapshots__/InfoTooltipButton.test.tsx.snap +72 -3
- package/src/__snapshots__/MobileAddressAutoComplete.test.tsx.snap +60 -9
- package/src/__snapshots__/Modal.test.tsx.snap +181 -0
- package/src/__snapshots__/Page.test.tsx.snap +48 -2
- package/src/__snapshots__/PhoneNumberField.test.tsx.snap +0 -93
- package/src/__snapshots__/PickerSelect.test.tsx.snap +706 -0
- package/src/__snapshots__/SideDrawer.test.tsx.snap +533 -1399
- package/src/__snapshots__/Signature.test.tsx.snap +0 -3
- package/src/__snapshots__/SplitPage.test.tsx.snap +970 -0
- package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +220 -4
- package/src/__snapshots__/WebAddressAutocomplete.test.tsx.snap +93 -0
- package/src/bunSetup.ts +204 -121
- package/src/index.tsx +2 -2
- package/src/table/TableHeaderCell.test.tsx +142 -0
- package/src/table/TableRow.test.tsx +33 -0
- package/src/table/__snapshots__/TableRow.test.tsx.snap +403 -0
- package/src/table/tableContext.test.tsx +96 -0
- package/src/test-utils.tsx +1 -1
- package/src/useConsentForms.test.ts +130 -0
- package/src/useSubmitConsent.test.ts +64 -0
|
@@ -932,3 +932,71 @@ exports[`Button renders with confirmation modal props 1`] = `
|
|
|
932
932
|
"type": "Pressable",
|
|
933
933
|
}
|
|
934
934
|
`;
|
|
935
|
+
|
|
936
|
+
exports[`Button renders with tooltip on desktop (wrapped in Tooltip) 1`] = `
|
|
937
|
+
{
|
|
938
|
+
"$$typeof": Symbol(react.test.json),
|
|
939
|
+
"children": [
|
|
940
|
+
{
|
|
941
|
+
"$$typeof": Symbol(react.test.json),
|
|
942
|
+
"children": [
|
|
943
|
+
{
|
|
944
|
+
"$$typeof": Symbol(react.test.json),
|
|
945
|
+
"children": [
|
|
946
|
+
{
|
|
947
|
+
"$$typeof": Symbol(react.test.json),
|
|
948
|
+
"children": [
|
|
949
|
+
"Hover me",
|
|
950
|
+
],
|
|
951
|
+
"props": {
|
|
952
|
+
"style": {
|
|
953
|
+
"color": "#FFFFFF",
|
|
954
|
+
"fontSize": 16,
|
|
955
|
+
"fontWeight": "700",
|
|
956
|
+
},
|
|
957
|
+
},
|
|
958
|
+
"type": "Text",
|
|
959
|
+
},
|
|
960
|
+
],
|
|
961
|
+
"props": {
|
|
962
|
+
"style": {
|
|
963
|
+
"flexDirection": "row",
|
|
964
|
+
},
|
|
965
|
+
"testID": undefined,
|
|
966
|
+
},
|
|
967
|
+
"type": "View",
|
|
968
|
+
},
|
|
969
|
+
],
|
|
970
|
+
"props": {
|
|
971
|
+
"style": {
|
|
972
|
+
"flexDirection": "row",
|
|
973
|
+
},
|
|
974
|
+
"testID": undefined,
|
|
975
|
+
},
|
|
976
|
+
"type": "View",
|
|
977
|
+
},
|
|
978
|
+
],
|
|
979
|
+
"props": {
|
|
980
|
+
"accessibilityHint": "Press to perform action",
|
|
981
|
+
"aria-label": "Hover me",
|
|
982
|
+
"aria-role": "button",
|
|
983
|
+
"disabled": undefined,
|
|
984
|
+
"onPress": [Function: debounced],
|
|
985
|
+
"style": {
|
|
986
|
+
"alignItems": "center",
|
|
987
|
+
"alignSelf": "flex-start",
|
|
988
|
+
"backgroundColor": "#0E9DCD",
|
|
989
|
+
"borderColor": undefined,
|
|
990
|
+
"borderRadius": 360,
|
|
991
|
+
"borderWidth": undefined,
|
|
992
|
+
"flexDirection": "column",
|
|
993
|
+
"justifyContent": "center",
|
|
994
|
+
"paddingHorizontal": 20,
|
|
995
|
+
"paddingVertical": 8,
|
|
996
|
+
"width": "auto",
|
|
997
|
+
},
|
|
998
|
+
"testID": undefined,
|
|
999
|
+
},
|
|
1000
|
+
"type": "Pressable",
|
|
1001
|
+
}
|
|
1002
|
+
`;
|