@terreno/ui 0.8.3 → 0.9.1
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/Common.d.ts +106 -0
- package/dist/Common.js +10 -0
- package/dist/Common.js.map +1 -1
- package/dist/ConsentFormScreen.d.ts +1 -0
- package/dist/ConsentFormScreen.js +5 -2
- package/dist/ConsentFormScreen.js.map +1 -1
- package/dist/ConsentNavigator.d.ts +2 -0
- package/dist/ConsentNavigator.js +15 -3
- package/dist/ConsentNavigator.js.map +1 -1
- package/dist/DateTimeField.js +2 -2
- package/dist/DateTimeField.js.map +1 -1
- package/dist/SidebarNavigation.d.ts +15 -0
- package/dist/SidebarNavigation.js +143 -0
- package/dist/SidebarNavigation.js.map +1 -0
- package/dist/SidebarNavigation.native.d.ts +22 -0
- package/dist/SidebarNavigation.native.js +171 -0
- package/dist/SidebarNavigation.native.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/package.json +2 -1
- package/src/Common.ts +111 -0
- package/src/ConsentFormScreen.tsx +6 -1
- package/src/ConsentNavigator.test.tsx +56 -0
- package/src/ConsentNavigator.tsx +19 -0
- package/src/DateTimeField.tsx +2 -2
- package/src/SidebarNavigation.native.tsx +331 -0
- package/src/SidebarNavigation.tsx +291 -0
- package/src/__snapshots__/Field.test.tsx.snap +13 -13
- package/src/index.tsx +1 -0
|
@@ -823,7 +823,7 @@ exports[`Field renders date field 1`] = `
|
|
|
823
823
|
"borderColor": "transparent",
|
|
824
824
|
"flexDirection": "row",
|
|
825
825
|
"flexShrink": 1,
|
|
826
|
-
"height":
|
|
826
|
+
"height": 40,
|
|
827
827
|
"overflow": "hidden",
|
|
828
828
|
"padding": 0,
|
|
829
829
|
"width": 40,
|
|
@@ -900,7 +900,7 @@ exports[`Field renders date field 1`] = `
|
|
|
900
900
|
"borderColor": "transparent",
|
|
901
901
|
"flexDirection": "row",
|
|
902
902
|
"flexShrink": 1,
|
|
903
|
-
"height":
|
|
903
|
+
"height": 40,
|
|
904
904
|
"overflow": "hidden",
|
|
905
905
|
"padding": 0,
|
|
906
906
|
"width": 30,
|
|
@@ -977,7 +977,7 @@ exports[`Field renders date field 1`] = `
|
|
|
977
977
|
"borderColor": "transparent",
|
|
978
978
|
"flexDirection": "row",
|
|
979
979
|
"flexShrink": 1,
|
|
980
|
-
"height":
|
|
980
|
+
"height": 40,
|
|
981
981
|
"overflow": "hidden",
|
|
982
982
|
"padding": 0,
|
|
983
983
|
"width": 50,
|
|
@@ -1022,9 +1022,9 @@ exports[`Field renders date field 1`] = `
|
|
|
1022
1022
|
"borderWidth": 1,
|
|
1023
1023
|
"flexDirection": "row",
|
|
1024
1024
|
"maxWidth": 210,
|
|
1025
|
+
"minHeight": 40,
|
|
1025
1026
|
"minWidth": 200,
|
|
1026
1027
|
"paddingHorizontal": 6,
|
|
1027
|
-
"paddingVertical": 2,
|
|
1028
1028
|
},
|
|
1029
1029
|
},
|
|
1030
1030
|
"type": "Pressable",
|
|
@@ -1074,7 +1074,7 @@ exports[`Field renders time field 1`] = `
|
|
|
1074
1074
|
"borderColor": "transparent",
|
|
1075
1075
|
"flexDirection": "row",
|
|
1076
1076
|
"flexShrink": 1,
|
|
1077
|
-
"height":
|
|
1077
|
+
"height": 40,
|
|
1078
1078
|
"overflow": "hidden",
|
|
1079
1079
|
"padding": 0,
|
|
1080
1080
|
"width": 30,
|
|
@@ -1151,7 +1151,7 @@ exports[`Field renders time field 1`] = `
|
|
|
1151
1151
|
"borderColor": "transparent",
|
|
1152
1152
|
"flexDirection": "row",
|
|
1153
1153
|
"flexShrink": 1,
|
|
1154
|
-
"height":
|
|
1154
|
+
"height": 40,
|
|
1155
1155
|
"overflow": "hidden",
|
|
1156
1156
|
"padding": 0,
|
|
1157
1157
|
"width": 30,
|
|
@@ -1792,9 +1792,9 @@ exports[`Field renders time field 1`] = `
|
|
|
1792
1792
|
"borderWidth": 1,
|
|
1793
1793
|
"flexDirection": "row",
|
|
1794
1794
|
"maxWidth": 240,
|
|
1795
|
+
"minHeight": 40,
|
|
1795
1796
|
"minWidth": 230,
|
|
1796
1797
|
"paddingHorizontal": 6,
|
|
1797
|
-
"paddingVertical": 2,
|
|
1798
1798
|
},
|
|
1799
1799
|
},
|
|
1800
1800
|
"type": "Pressable",
|
|
@@ -1844,7 +1844,7 @@ exports[`Field renders datetime field 1`] = `
|
|
|
1844
1844
|
"borderColor": "transparent",
|
|
1845
1845
|
"flexDirection": "row",
|
|
1846
1846
|
"flexShrink": 1,
|
|
1847
|
-
"height":
|
|
1847
|
+
"height": 40,
|
|
1848
1848
|
"overflow": "hidden",
|
|
1849
1849
|
"padding": 0,
|
|
1850
1850
|
"width": 40,
|
|
@@ -1921,7 +1921,7 @@ exports[`Field renders datetime field 1`] = `
|
|
|
1921
1921
|
"borderColor": "transparent",
|
|
1922
1922
|
"flexDirection": "row",
|
|
1923
1923
|
"flexShrink": 1,
|
|
1924
|
-
"height":
|
|
1924
|
+
"height": 40,
|
|
1925
1925
|
"overflow": "hidden",
|
|
1926
1926
|
"padding": 0,
|
|
1927
1927
|
"width": 30,
|
|
@@ -1998,7 +1998,7 @@ exports[`Field renders datetime field 1`] = `
|
|
|
1998
1998
|
"borderColor": "transparent",
|
|
1999
1999
|
"flexDirection": "row",
|
|
2000
2000
|
"flexShrink": 1,
|
|
2001
|
-
"height":
|
|
2001
|
+
"height": 40,
|
|
2002
2002
|
"overflow": "hidden",
|
|
2003
2003
|
"padding": 0,
|
|
2004
2004
|
"width": 50,
|
|
@@ -2069,7 +2069,7 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2069
2069
|
"borderColor": "transparent",
|
|
2070
2070
|
"flexDirection": "row",
|
|
2071
2071
|
"flexShrink": 1,
|
|
2072
|
-
"height":
|
|
2072
|
+
"height": 40,
|
|
2073
2073
|
"overflow": "hidden",
|
|
2074
2074
|
"padding": 0,
|
|
2075
2075
|
"width": 30,
|
|
@@ -2146,7 +2146,7 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2146
2146
|
"borderColor": "transparent",
|
|
2147
2147
|
"flexDirection": "row",
|
|
2148
2148
|
"flexShrink": 1,
|
|
2149
|
-
"height":
|
|
2149
|
+
"height": 40,
|
|
2150
2150
|
"overflow": "hidden",
|
|
2151
2151
|
"padding": 0,
|
|
2152
2152
|
"width": 30,
|
|
@@ -2800,9 +2800,9 @@ exports[`Field renders datetime field 1`] = `
|
|
|
2800
2800
|
"borderWidth": 1,
|
|
2801
2801
|
"flexDirection": "row",
|
|
2802
2802
|
"maxWidth": 395,
|
|
2803
|
+
"minHeight": 40,
|
|
2803
2804
|
"minWidth": 230,
|
|
2804
2805
|
"paddingHorizontal": 6,
|
|
2805
|
-
"paddingVertical": 2,
|
|
2806
2806
|
},
|
|
2807
2807
|
},
|
|
2808
2808
|
"type": "Pressable",
|
package/src/index.tsx
CHANGED
|
@@ -70,6 +70,7 @@ export * from "./SectionDivider";
|
|
|
70
70
|
export * from "./SegmentedControl";
|
|
71
71
|
export * from "./SelectBadge";
|
|
72
72
|
export * from "./SelectField";
|
|
73
|
+
export * from "./SidebarNavigation";
|
|
73
74
|
export * from "./SideDrawer";
|
|
74
75
|
export * from "./Signature";
|
|
75
76
|
export * from "./SignatureField";
|