@terreno/ui 0.22.2 → 0.23.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.
Files changed (115) hide show
  1. package/README.md +27 -0
  2. package/dist/Accordion.js +3 -3
  3. package/dist/Accordion.js.map +1 -1
  4. package/dist/BooleanField.js +6 -4
  5. package/dist/BooleanField.js.map +1 -1
  6. package/dist/Box.js +3 -2
  7. package/dist/Box.js.map +1 -1
  8. package/dist/Button.js +4 -3
  9. package/dist/Button.js.map +1 -1
  10. package/dist/CheckBox.js +2 -2
  11. package/dist/CheckBox.js.map +1 -1
  12. package/dist/Common.d.ts +44 -56
  13. package/dist/Common.js +1 -0
  14. package/dist/Common.js.map +1 -1
  15. package/dist/CustomSelectField.js +5 -3
  16. package/dist/CustomSelectField.js.map +1 -1
  17. package/dist/DataTable.js +18 -12
  18. package/dist/DataTable.js.map +1 -1
  19. package/dist/DateTimeField.js +5 -3
  20. package/dist/DateTimeField.js.map +1 -1
  21. package/dist/IconButton.js +8 -4
  22. package/dist/IconButton.js.map +1 -1
  23. package/dist/Link.js +2 -2
  24. package/dist/Link.js.map +1 -1
  25. package/dist/MarkdownEditor.js +14 -2
  26. package/dist/MarkdownEditor.js.map +1 -1
  27. package/dist/MarkdownEditorField.js +18 -4
  28. package/dist/MarkdownEditorField.js.map +1 -1
  29. package/dist/Modal.js +10 -6
  30. package/dist/Modal.js.map +1 -1
  31. package/dist/MultiselectField.js +5 -3
  32. package/dist/MultiselectField.js.map +1 -1
  33. package/dist/Page.js +1 -1
  34. package/dist/Page.js.map +1 -1
  35. package/dist/Pagination.js +2 -2
  36. package/dist/Pagination.js.map +1 -1
  37. package/dist/SegmentedControl.js +5 -3
  38. package/dist/SegmentedControl.js.map +1 -1
  39. package/dist/SelectField.js +5 -3
  40. package/dist/SelectField.js.map +1 -1
  41. package/dist/SocialLoginButton.js +2 -1
  42. package/dist/SocialLoginButton.js.map +1 -1
  43. package/dist/Spinner.js +3 -2
  44. package/dist/Spinner.js.map +1 -1
  45. package/dist/TextField.js +6 -4
  46. package/dist/TextField.js.map +1 -1
  47. package/dist/fieldElements/FieldError.d.ts +1 -0
  48. package/dist/fieldElements/FieldError.js +3 -2
  49. package/dist/fieldElements/FieldError.js.map +1 -1
  50. package/dist/fieldElements/FieldHelperText.d.ts +1 -0
  51. package/dist/fieldElements/FieldHelperText.js +3 -2
  52. package/dist/fieldElements/FieldHelperText.js.map +1 -1
  53. package/dist/fieldElements/FieldTitle.d.ts +1 -0
  54. package/dist/fieldElements/FieldTitle.js +4 -3
  55. package/dist/fieldElements/FieldTitle.js.map +1 -1
  56. package/dist/testing/index.d.ts +2 -0
  57. package/dist/testing/index.js +3 -0
  58. package/dist/testing/index.js.map +1 -0
  59. package/dist/testing/resolveTestId.d.ts +39 -0
  60. package/dist/testing/resolveTestId.js +97 -0
  61. package/dist/testing/resolveTestId.js.map +1 -0
  62. package/dist/testing/types.d.ts +59 -0
  63. package/dist/testing/types.js +2 -0
  64. package/dist/testing/types.js.map +1 -0
  65. package/package.json +2 -2
  66. package/src/Accordion.tsx +3 -1
  67. package/src/BooleanField.tsx +13 -3
  68. package/src/Box.tsx +3 -2
  69. package/src/Button.test.tsx +31 -1
  70. package/src/Button.tsx +5 -4
  71. package/src/CheckBox.tsx +7 -1
  72. package/src/Common.ts +66 -58
  73. package/src/CustomSelectField.tsx +8 -1
  74. package/src/DataTable.tsx +40 -3
  75. package/src/DateTimeField.tsx +10 -3
  76. package/src/ErrorBoundary.test.tsx +3 -4
  77. package/src/IconButton.test.tsx +14 -0
  78. package/src/IconButton.tsx +9 -4
  79. package/src/Link.tsx +2 -1
  80. package/src/MarkdownEditor.tsx +52 -27
  81. package/src/MarkdownEditorField.tsx +37 -16
  82. package/src/Modal.tsx +13 -0
  83. package/src/MultiselectField.tsx +8 -3
  84. package/src/Page.tsx +1 -0
  85. package/src/Pagination.tsx +2 -1
  86. package/src/SegmentedControl.tsx +15 -2
  87. package/src/SelectField.tsx +8 -3
  88. package/src/SocialLoginButton.tsx +2 -1
  89. package/src/Spinner.tsx +3 -2
  90. package/src/TextField.tsx +8 -5
  91. package/src/__snapshots__/AddressField.test.tsx.snap +4 -0
  92. package/src/__snapshots__/BooleanField.test.tsx.snap +4 -0
  93. package/src/__snapshots__/Button.test.tsx.snap +18 -1
  94. package/src/__snapshots__/DecimalRangeActionSheet.test.tsx.snap +2 -0
  95. package/src/__snapshots__/ErrorPage.test.tsx.snap +1 -0
  96. package/src/__snapshots__/Field.test.tsx.snap +8 -0
  97. package/src/__snapshots__/HeightActionSheet.test.tsx.snap +2 -0
  98. package/src/__snapshots__/HeightField.test.tsx.snap +5 -0
  99. package/src/__snapshots__/IconButton.test.tsx.snap +4 -0
  100. package/src/__snapshots__/InfoModalIcon.test.tsx.snap +4 -0
  101. package/src/__snapshots__/Link.test.tsx.snap +1 -0
  102. package/src/__snapshots__/Modal.test.tsx.snap +3 -0
  103. package/src/__snapshots__/NumberPickerActionSheet.test.tsx.snap +2 -0
  104. package/src/__snapshots__/Page.test.tsx.snap +22 -0
  105. package/src/__snapshots__/SegmentedControl.test.tsx.snap +4 -0
  106. package/src/__snapshots__/UnifiedAddressAutoComplete.test.tsx.snap +1 -0
  107. package/src/fieldElements/FieldError.tsx +7 -2
  108. package/src/fieldElements/FieldHelperText.tsx +4 -2
  109. package/src/fieldElements/FieldTitle.tsx +4 -1
  110. package/src/login/__snapshots__/LoginScreen.test.tsx.snap +7 -0
  111. package/src/signUp/__snapshots__/SignUpScreen.test.tsx.snap +7 -0
  112. package/src/testing/index.ts +2 -0
  113. package/src/testing/resolveTestId.test.ts +231 -0
  114. package/src/testing/resolveTestId.ts +142 -0
  115. package/src/testing/types.ts +67 -0
@@ -7,6 +7,7 @@ import {FieldError, FieldHelperText} from "./fieldElements";
7
7
  import {Heading} from "./Heading";
8
8
  import {isMobileDevice} from "./MediaQuery";
9
9
  import {Text} from "./Text";
10
+ import {resolveFieldTestIDsFromProps} from "./testing/resolveTestId";
10
11
 
11
12
  interface OptionProps {
12
13
  isDefault: boolean;
@@ -61,9 +62,12 @@ export const MultiselectField: FC<MultiselectFieldProps> = ({
61
62
  errorText,
62
63
  helperText,
63
64
  disabled,
65
+ testID,
66
+ testIDs,
64
67
  }) => {
65
68
  const isMobile = isMobileDevice();
66
69
  const isDefault = variant === "leftText";
70
+ const fieldTestIDs = resolveFieldTestIDsFromProps({testID, testIDs});
67
71
  const [selectedItems, setSelectedItems] = useState<string[]>(value);
68
72
  // set the selected items to the value passed in the props
69
73
  useEffect(() => {
@@ -87,11 +91,12 @@ export const MultiselectField: FC<MultiselectFieldProps> = ({
87
91
  gap: isMobile ? 16 : 8,
88
92
  width: "100%",
89
93
  }}
94
+ testID={fieldTestIDs.input}
90
95
  >
91
- <Heading color="primary" size="sm">
96
+ <Heading color="primary" size="sm" testID={fieldTestIDs.label}>
92
97
  {title}
93
98
  </Heading>
94
- {Boolean(errorText) && <FieldError text={errorText!} />}
99
+ {Boolean(errorText) && <FieldError testID={fieldTestIDs.error} text={errorText!} />}
95
100
  {disabled ? (
96
101
  <Text>{value.join(", ")}</Text>
97
102
  ) : (
@@ -106,7 +111,7 @@ export const MultiselectField: FC<MultiselectFieldProps> = ({
106
111
  />
107
112
  ))
108
113
  )}
109
- {Boolean(helperText) && <FieldHelperText text={helperText!} />}
114
+ {Boolean(helperText) && <FieldHelperText testID={fieldTestIDs.helper} text={helperText!} />}
110
115
  </View>
111
116
  );
112
117
  };
package/src/Page.tsx CHANGED
@@ -74,6 +74,7 @@ export class Page extends React.Component<PageProps, {}> {
74
74
  maxWidth={this.props.maxWidth || 800}
75
75
  padding={this.props.padding !== undefined ? this.props.padding : 2}
76
76
  scroll={this.props.scroll === undefined ? true : this.props.scroll}
77
+ testID={this.props.testID}
77
78
  width="100%"
78
79
  >
79
80
  {this.renderHeader()}
@@ -75,7 +75,7 @@ const PaginationNumber: FC<{
75
75
  );
76
76
  };
77
77
 
78
- export const Pagination: FC<PaginationProps> = ({totalPages, page, setPage}) => {
78
+ export const Pagination: FC<PaginationProps> = ({totalPages, page, setPage, testID}) => {
79
79
  const {theme} = useTheme();
80
80
 
81
81
  // Determine the number of pages to show. Show the first page,
@@ -136,6 +136,7 @@ export const Pagination: FC<PaginationProps> = ({totalPages, page, setPage}) =>
136
136
  flexDirection: "row",
137
137
  gap: theme.spacing.xs,
138
138
  }}
139
+ testID={testID}
139
140
  >
140
141
  <PaginationButton
141
142
  onClick={() => {
@@ -6,6 +6,7 @@ import type {SegmentedControlProps} from "./Common";
6
6
  import {Heading} from "./Heading";
7
7
  import {Icon} from "./Icon";
8
8
  import {useTheme} from "./Theme";
9
+ import {resolveSegmentedControlTestIDsFromProps} from "./testing/resolveTestId";
9
10
 
10
11
  export const SegmentedControl: FC<SegmentedControlProps> = ({
11
12
  items,
@@ -14,9 +15,12 @@ export const SegmentedControl: FC<SegmentedControlProps> = ({
14
15
  selectedIndex,
15
16
  maxItems,
16
17
  badges = [],
18
+ testID,
19
+ testIDs,
17
20
  }) => {
18
21
  const height = size === "md" ? 36 : 44;
19
22
  const {theme} = useTheme();
23
+ const segmentedControlTestIDs = resolveSegmentedControlTestIDsFromProps({testID, testIDs});
20
24
  const [startIndex, setStartIndex] = useState(0);
21
25
 
22
26
  const handlePrevious = useCallback(() => {
@@ -43,9 +47,14 @@ export const SegmentedControl: FC<SegmentedControlProps> = ({
43
47
  flexDirection: "row",
44
48
  gap: 8,
45
49
  }}
50
+ testID={segmentedControlTestIDs.root}
46
51
  >
47
52
  {Boolean(shouldShowScrollButtons) && (
48
- <Pressable disabled={!canScrollLeft} onPress={handlePrevious}>
53
+ <Pressable
54
+ disabled={!canScrollLeft}
55
+ onPress={handlePrevious}
56
+ testID={segmentedControlTestIDs.previousButton}
57
+ >
49
58
  <Icon
50
59
  color={canScrollLeft ? "linkLight" : "extraLight"}
51
60
  iconName="chevron-left"
@@ -113,7 +122,11 @@ export const SegmentedControl: FC<SegmentedControlProps> = ({
113
122
  </View>
114
123
  </View>
115
124
  {Boolean(shouldShowScrollButtons) && (
116
- <Pressable disabled={!canScrollRight} onPress={handleNext}>
125
+ <Pressable
126
+ disabled={!canScrollRight}
127
+ onPress={handleNext}
128
+ testID={segmentedControlTestIDs.nextButton}
129
+ >
117
130
  <Icon
118
131
  color={canScrollRight ? "linkLight" : "extraLight"}
119
132
  iconName="chevron-right"
@@ -4,6 +4,7 @@ import {View} from "react-native";
4
4
  import type {SelectFieldProps} from "./Common";
5
5
  import {FieldError, FieldHelperText, FieldTitle} from "./fieldElements";
6
6
  import {RNPickerSelect} from "./PickerSelect";
7
+ import {resolveFieldTestIDsFromProps} from "./testing/resolveTestId";
7
8
 
8
9
  export const SelectField: FC<SelectFieldProps> = ({
9
10
  disabled = false,
@@ -15,13 +16,16 @@ export const SelectField: FC<SelectFieldProps> = ({
15
16
  title,
16
17
  value,
17
18
  onChange,
19
+ testID,
20
+ testIDs,
18
21
  }) => {
19
22
  const clearOption = {label: placeholder ?? "---", value: ""};
23
+ const fieldTestIDs = resolveFieldTestIDsFromProps({testID, testIDs});
20
24
 
21
25
  return (
22
26
  <View style={{width: "100%"}}>
23
- {Boolean(title) && <FieldTitle text={title!} />}
24
- {Boolean(errorText) && <FieldError text={errorText!} />}
27
+ {Boolean(title) && <FieldTitle testID={fieldTestIDs.label} text={title!} />}
28
+ {Boolean(errorText) && <FieldError testID={fieldTestIDs.error} text={errorText!} />}
25
29
  <RNPickerSelect
26
30
  disabled={disabled}
27
31
  items={options}
@@ -33,9 +37,10 @@ export const SelectField: FC<SelectFieldProps> = ({
33
37
  }
34
38
  }}
35
39
  placeholder={!requireValue ? clearOption : {}}
40
+ textInputProps={{testID: fieldTestIDs.input}}
36
41
  value={value ?? ""}
37
42
  />
38
- {Boolean(helperText) && <FieldHelperText text={helperText!} />}
43
+ {Boolean(helperText) && <FieldHelperText testID={fieldTestIDs.helper} text={helperText!} />}
39
44
  </View>
40
45
  );
41
46
  };
@@ -75,6 +75,7 @@ export const SocialLoginButton: FC<SocialLoginButtonProps> = ({
75
75
  }) => {
76
76
  const [loading, setLoading] = useState(propsLoading);
77
77
  const {theme} = useTheme();
78
+ const resolvedTestID = testID ?? `social-login-${provider}`;
78
79
 
79
80
  const {backgroundColor, borderColor, textColor} = useMemo(() => {
80
81
  const colors = PROVIDER_COLORS[provider];
@@ -146,7 +147,7 @@ export const SocialLoginButton: FC<SocialLoginButtonProps> = ({
146
147
  paddingVertical: 12,
147
148
  width: fullWidth ? "100%" : "auto",
148
149
  }}
149
- testID={testID ?? `social-login-${provider}`}
150
+ testID={resolvedTestID}
150
151
  >
151
152
  <View style={{alignItems: "center", flexDirection: "row"}}>
152
153
  {Boolean(iconName) && (
package/src/Spinner.tsx CHANGED
@@ -3,8 +3,9 @@ import {ActivityIndicator} from "react-native";
3
3
 
4
4
  import type {SpinnerProps} from "./Common";
5
5
  import {useTheme} from "./Theme";
6
+ import {toTestProps} from "./testing/resolveTestId";
6
7
 
7
- export const Spinner: FC<SpinnerProps> = ({size = "md", color = "light"}) => {
8
+ export const Spinner: FC<SpinnerProps> = ({size = "md", color = "light", testID}) => {
8
9
  const [show, setShow] = useState(false);
9
10
  const {theme} = useTheme();
10
11
 
@@ -31,5 +32,5 @@ export const Spinner: FC<SpinnerProps> = ({size = "md", color = "light"}) => {
31
32
  }
32
33
 
33
34
  const spinnerSize: "small" | "large" = size === "sm" ? "small" : "large";
34
- return <ActivityIndicator color={computedColor} size={spinnerSize} />;
35
+ return <ActivityIndicator color={computedColor} size={spinnerSize} {...toTestProps(testID)} />;
35
36
  };
package/src/TextField.tsx CHANGED
@@ -15,6 +15,7 @@ import type {TextFieldProps, TextStyleWithOutline} from "./Common";
15
15
  import {FieldError, FieldHelperText, FieldTitle} from "./fieldElements";
16
16
  import {Icon} from "./Icon";
17
17
  import {useTheme} from "./Theme";
18
+ import {resolveFieldTestIDsFromProps} from "./testing/resolveTestId";
18
19
 
19
20
  const keyboardMap: {[id: string]: string | undefined} = {
20
21
  date: "default",
@@ -79,10 +80,12 @@ export const TextField: FC<TextFieldProps> = ({
79
80
  onEnter,
80
81
  onSubmitEditing,
81
82
  testID,
83
+ testIDs,
82
84
  id,
83
85
  aiSuggestion,
84
86
  }) => {
85
87
  const {theme} = useTheme();
88
+ const fieldTestIDs = resolveFieldTestIDsFromProps({testID, testIDs});
86
89
 
87
90
  const calendar = getCalendars()[0];
88
91
  const localTimeZone = calendar?.timeZone;
@@ -147,8 +150,8 @@ export const TextField: FC<TextFieldProps> = ({
147
150
  width: "100%",
148
151
  }}
149
152
  >
150
- {Boolean(title) && <FieldTitle text={title!} />}
151
- {Boolean(errorText) && <FieldError text={errorText!} />}
153
+ {Boolean(title) && <FieldTitle testID={fieldTestIDs.label} text={title!} />}
154
+ {Boolean(errorText) && <FieldError testID={fieldTestIDs.error} text={errorText!} />}
152
155
  <View
153
156
  style={{
154
157
  backgroundColor: disabled ? theme.surface.neutralLight : theme.surface.base,
@@ -164,7 +167,7 @@ export const TextField: FC<TextFieldProps> = ({
164
167
  >
165
168
  {Boolean(aiSuggestion) && (
166
169
  <AiSuggestionBox
167
- testID={testID ? `${testID}-ai-suggestion` : undefined}
170
+ testID={fieldTestIDs.input ? `${fieldTestIDs.input}-ai-suggestion` : undefined}
168
171
  {...aiSuggestion!}
169
172
  />
170
173
  )}
@@ -236,7 +239,7 @@ export const TextField: FC<TextFieldProps> = ({
236
239
  }}
237
240
  secureTextEntry={type === "password"}
238
241
  style={defaultTextInputStyles}
239
- testID={testID}
242
+ testID={fieldTestIDs.input}
240
243
  textContentType={textContentType}
241
244
  underlineColorAndroid="transparent"
242
245
  value={value}
@@ -248,7 +251,7 @@ export const TextField: FC<TextFieldProps> = ({
248
251
  )}
249
252
  </View>
250
253
  </View>
251
- {Boolean(helperText) && <FieldHelperText text={helperText!} />}
254
+ {Boolean(helperText) && <FieldHelperText testID={fieldTestIDs.helper} text={helperText!} />}
252
255
  {/* {type === "numberRange" && value && (
253
256
  <NumberPickerActionSheet
254
257
  actionSheetRef={numberRangeActionSheetRef}
@@ -20,6 +20,7 @@ exports[`AddressField renders correctly with default props 1`] = `
20
20
  "fontWeight": 600,
21
21
  "lineHeight": 22.4,
22
22
  },
23
+ "testID": "test-address-address1.label",
23
24
  },
24
25
  "type": "Text",
25
26
  },
@@ -137,6 +138,7 @@ exports[`AddressField renders correctly with default props 1`] = `
137
138
  "fontWeight": 600,
138
139
  "lineHeight": 22.4,
139
140
  },
141
+ "testID": "test-address-address2.label",
140
142
  },
141
143
  "type": "Text",
142
144
  },
@@ -254,6 +256,7 @@ exports[`AddressField renders correctly with default props 1`] = `
254
256
  "fontWeight": 600,
255
257
  "lineHeight": 22.4,
256
258
  },
259
+ "testID": "test-address-city.label",
257
260
  },
258
261
  "type": "Text",
259
262
  },
@@ -1155,6 +1158,7 @@ exports[`AddressField renders correctly with default props 1`] = `
1155
1158
  "fontWeight": 600,
1156
1159
  "lineHeight": 22.4,
1157
1160
  },
1161
+ "testID": "test-address-zip.label",
1158
1162
  },
1159
1163
  "type": "Text",
1160
1164
  },
@@ -103,6 +103,7 @@ exports[`BooleanField renders correctly with default props 1`] = `
103
103
  "flexDirection": "row",
104
104
  "justifyContent": "center",
105
105
  },
106
+ "testID": undefined,
106
107
  },
107
108
  "type": "Pressable",
108
109
  },
@@ -247,6 +248,7 @@ exports[`BooleanField renders with title 1`] = `
247
248
  "flexDirection": "row",
248
249
  "justifyContent": "center",
249
250
  },
251
+ "testID": undefined,
250
252
  },
251
253
  "type": "Pressable",
252
254
  },
@@ -376,6 +378,7 @@ exports[`BooleanField renders with value true 1`] = `
376
378
  "flexDirection": "row",
377
379
  "justifyContent": "center",
378
380
  },
381
+ "testID": undefined,
379
382
  },
380
383
  "type": "Pressable",
381
384
  },
@@ -490,6 +493,7 @@ exports[`BooleanField renders disabled state 1`] = `
490
493
  "flexDirection": "row",
491
494
  "justifyContent": "center",
492
495
  },
496
+ "testID": undefined,
493
497
  },
494
498
  "type": "Pressable",
495
499
  },
@@ -60,6 +60,7 @@ exports[`Button renders correctly with default props 1`] = `
60
60
  "borderRadius": 360,
61
61
  "borderWidth": undefined,
62
62
  "flexDirection": "column",
63
+ "height": undefined,
63
64
  "justifyContent": "center",
64
65
  "paddingHorizontal": 20,
65
66
  "paddingVertical": 8,
@@ -131,6 +132,7 @@ exports[`Button renders primary variant 1`] = `
131
132
  "borderRadius": 360,
132
133
  "borderWidth": undefined,
133
134
  "flexDirection": "column",
135
+ "height": undefined,
134
136
  "justifyContent": "center",
135
137
  "paddingHorizontal": 20,
136
138
  "paddingVertical": 8,
@@ -202,6 +204,7 @@ exports[`Button renders secondary variant 1`] = `
202
204
  "borderRadius": 360,
203
205
  "borderWidth": undefined,
204
206
  "flexDirection": "column",
207
+ "height": undefined,
205
208
  "justifyContent": "center",
206
209
  "paddingHorizontal": 20,
207
210
  "paddingVertical": 8,
@@ -273,6 +276,7 @@ exports[`Button renders muted variant 1`] = `
273
276
  "borderRadius": 360,
274
277
  "borderWidth": undefined,
275
278
  "flexDirection": "column",
279
+ "height": undefined,
276
280
  "justifyContent": "center",
277
281
  "paddingHorizontal": 20,
278
282
  "paddingVertical": 8,
@@ -344,6 +348,7 @@ exports[`Button renders outline variant 1`] = `
344
348
  "borderRadius": 360,
345
349
  "borderWidth": 2,
346
350
  "flexDirection": "column",
351
+ "height": undefined,
347
352
  "justifyContent": "center",
348
353
  "paddingHorizontal": 20,
349
354
  "paddingVertical": 6,
@@ -415,6 +420,7 @@ exports[`Button renders destructive variant 1`] = `
415
420
  "borderRadius": 360,
416
421
  "borderWidth": undefined,
417
422
  "flexDirection": "column",
423
+ "height": undefined,
418
424
  "justifyContent": "center",
419
425
  "paddingHorizontal": 20,
420
426
  "paddingVertical": 8,
@@ -486,6 +492,7 @@ exports[`Button renders disabled state 1`] = `
486
492
  "borderRadius": 360,
487
493
  "borderWidth": undefined,
488
494
  "flexDirection": "column",
495
+ "height": undefined,
489
496
  "justifyContent": "center",
490
497
  "paddingHorizontal": 20,
491
498
  "paddingVertical": 8,
@@ -557,6 +564,7 @@ exports[`Button applies disabled styles when disabled 1`] = `
557
564
  "borderRadius": 360,
558
565
  "borderWidth": undefined,
559
566
  "flexDirection": "column",
567
+ "height": undefined,
560
568
  "justifyContent": "center",
561
569
  "paddingHorizontal": 20,
562
570
  "paddingVertical": 8,
@@ -651,6 +659,7 @@ exports[`Button renders loading state 1`] = `
651
659
  "borderRadius": 360,
652
660
  "borderWidth": undefined,
653
661
  "flexDirection": "column",
662
+ "height": undefined,
654
663
  "justifyContent": "center",
655
664
  "paddingHorizontal": 20,
656
665
  "paddingVertical": 8,
@@ -722,6 +731,7 @@ exports[`Button renders fullWidth button 1`] = `
722
731
  "borderRadius": 360,
723
732
  "borderWidth": undefined,
724
733
  "flexDirection": "column",
734
+ "height": undefined,
725
735
  "justifyContent": "center",
726
736
  "paddingHorizontal": 20,
727
737
  "paddingVertical": 8,
@@ -806,6 +816,7 @@ exports[`Button renders with icon on left 1`] = `
806
816
  "borderRadius": 360,
807
817
  "borderWidth": undefined,
808
818
  "flexDirection": "column",
819
+ "height": undefined,
809
820
  "justifyContent": "center",
810
821
  "paddingHorizontal": 20,
811
822
  "paddingVertical": 8,
@@ -890,6 +901,7 @@ exports[`Button renders with icon on right 1`] = `
890
901
  "borderRadius": 360,
891
902
  "borderWidth": undefined,
892
903
  "flexDirection": "column",
904
+ "height": undefined,
893
905
  "justifyContent": "center",
894
906
  "paddingHorizontal": 20,
895
907
  "paddingVertical": 8,
@@ -961,6 +973,7 @@ exports[`Button renders with confirmation modal props 1`] = `
961
973
  "borderRadius": 360,
962
974
  "borderWidth": undefined,
963
975
  "flexDirection": "column",
976
+ "height": undefined,
964
977
  "justifyContent": "center",
965
978
  "paddingHorizontal": 20,
966
979
  "paddingVertical": 8,
@@ -1032,6 +1045,7 @@ exports[`Button renders with tooltip on desktop (wrapped in Tooltip) 1`] = `
1032
1045
  "borderRadius": 360,
1033
1046
  "borderWidth": undefined,
1034
1047
  "flexDirection": "column",
1048
+ "height": undefined,
1035
1049
  "justifyContent": "center",
1036
1050
  "paddingHorizontal": 20,
1037
1051
  "paddingVertical": 8,
@@ -1103,6 +1117,7 @@ exports[`Button renders with custom confirmationText and modalSubTitle 1`] = `
1103
1117
  "borderRadius": 360,
1104
1118
  "borderWidth": undefined,
1105
1119
  "flexDirection": "column",
1120
+ "height": undefined,
1106
1121
  "justifyContent": "center",
1107
1122
  "paddingHorizontal": 20,
1108
1123
  "paddingVertical": 8,
@@ -1197,6 +1212,7 @@ exports[`Button shows loading indicator when loading prop is true 1`] = `
1197
1212
  "borderRadius": 360,
1198
1213
  "borderWidth": undefined,
1199
1214
  "flexDirection": "column",
1215
+ "height": undefined,
1200
1216
  "justifyContent": "center",
1201
1217
  "paddingHorizontal": 20,
1202
1218
  "paddingVertical": 8,
@@ -1263,11 +1279,12 @@ exports[`Button renders ghost variant with correct styles 1`] = `
1263
1279
  "style": {
1264
1280
  "alignItems": "center",
1265
1281
  "alignSelf": "flex-start",
1266
- "backgroundColor": "#FFFFFF",
1282
+ "backgroundColor": "transparent",
1267
1283
  "borderColor": undefined,
1268
1284
  "borderRadius": 360,
1269
1285
  "borderWidth": undefined,
1270
1286
  "flexDirection": "column",
1287
+ "height": undefined,
1271
1288
  "justifyContent": "center",
1272
1289
  "paddingHorizontal": 20,
1273
1290
  "paddingVertical": 8,
@@ -183,6 +183,7 @@ exports[`DecimalRangeActionSheet renders correctly 1`] = `
183
183
  "borderRadius": 360,
184
184
  "borderWidth": undefined,
185
185
  "flexDirection": "column",
186
+ "height": undefined,
186
187
  "justifyContent": "center",
187
188
  "paddingHorizontal": 20,
188
189
  "paddingVertical": 8,
@@ -865,6 +866,7 @@ exports[`DecimalRangeActionSheet renders with different min/max range 1`] = `
865
866
  "borderRadius": 360,
866
867
  "borderWidth": undefined,
867
868
  "flexDirection": "column",
869
+ "height": undefined,
868
870
  "justifyContent": "center",
869
871
  "paddingHorizontal": 20,
870
872
  "paddingVertical": 8,
@@ -168,6 +168,7 @@ exports[`ErrorPage renders correctly 1`] = `
168
168
  "borderRadius": 360,
169
169
  "borderWidth": undefined,
170
170
  "flexDirection": "column",
171
+ "height": undefined,
171
172
  "justifyContent": "center",
172
173
  "paddingHorizontal": 20,
173
174
  "paddingVertical": 8,
@@ -754,6 +754,7 @@ exports[`Field renders boolean field 1`] = `
754
754
  "flexDirection": "row",
755
755
  "justifyContent": "center",
756
756
  },
757
+ "testID": undefined,
757
758
  },
758
759
  "type": "Pressable",
759
760
  },
@@ -1026,6 +1027,7 @@ exports[`Field renders date field 1`] = `
1026
1027
  "minWidth": 200,
1027
1028
  "paddingHorizontal": 6,
1028
1029
  },
1030
+ "testID": undefined,
1029
1031
  },
1030
1032
  "type": "Pressable",
1031
1033
  }
@@ -1806,6 +1808,7 @@ exports[`Field renders time field 1`] = `
1806
1808
  "minWidth": 230,
1807
1809
  "paddingHorizontal": 6,
1808
1810
  },
1811
+ "testID": undefined,
1809
1812
  },
1810
1813
  "type": "Pressable",
1811
1814
  }
@@ -2824,6 +2827,7 @@ exports[`Field renders datetime field 1`] = `
2824
2827
  "minWidth": 230,
2825
2828
  "paddingHorizontal": 6,
2826
2829
  },
2830
+ "testID": undefined,
2827
2831
  },
2828
2832
  "type": "Pressable",
2829
2833
  }
@@ -3361,6 +3365,7 @@ exports[`Field renders address field 1`] = `
3361
3365
  "fontWeight": 600,
3362
3366
  "lineHeight": 22.4,
3363
3367
  },
3368
+ "testID": "undefined-address1.label",
3364
3369
  },
3365
3370
  "type": "Text",
3366
3371
  },
@@ -3478,6 +3483,7 @@ exports[`Field renders address field 1`] = `
3478
3483
  "fontWeight": 600,
3479
3484
  "lineHeight": 22.4,
3480
3485
  },
3486
+ "testID": "undefined-address2.label",
3481
3487
  },
3482
3488
  "type": "Text",
3483
3489
  },
@@ -3595,6 +3601,7 @@ exports[`Field renders address field 1`] = `
3595
3601
  "fontWeight": 600,
3596
3602
  "lineHeight": 22.4,
3597
3603
  },
3604
+ "testID": "undefined-city.label",
3598
3605
  },
3599
3606
  "type": "Text",
3600
3607
  },
@@ -4496,6 +4503,7 @@ exports[`Field renders address field 1`] = `
4496
4503
  "fontWeight": 600,
4497
4504
  "lineHeight": 22.4,
4498
4505
  },
4506
+ "testID": "undefined-zip.label",
4499
4507
  },
4500
4508
  "type": "Text",
4501
4509
  },
@@ -198,6 +198,7 @@ exports[`HeightActionSheet renders correctly 1`] = `
198
198
  "borderRadius": 360,
199
199
  "borderWidth": undefined,
200
200
  "flexDirection": "column",
201
+ "height": undefined,
201
202
  "justifyContent": "center",
202
203
  "paddingHorizontal": 20,
203
204
  "paddingVertical": 8,
@@ -892,6 +893,7 @@ exports[`HeightActionSheet renders with different height value 1`] = `
892
893
  "borderRadius": 360,
893
894
  "borderWidth": undefined,
894
895
  "flexDirection": "column",
896
+ "height": undefined,
895
897
  "justifyContent": "center",
896
898
  "paddingHorizontal": 20,
897
899
  "paddingVertical": 8,
@@ -259,6 +259,7 @@ exports[`HeightField snapshots should match snapshot with default props 1`] = `
259
259
  "borderRadius": 360,
260
260
  "borderWidth": undefined,
261
261
  "flexDirection": "column",
262
+ "height": undefined,
262
263
  "justifyContent": "center",
263
264
  "paddingHorizontal": 20,
264
265
  "paddingVertical": 8,
@@ -1024,6 +1025,7 @@ exports[`HeightField snapshots should match snapshot with value 1`] = `
1024
1025
  "borderRadius": 360,
1025
1026
  "borderWidth": undefined,
1026
1027
  "flexDirection": "column",
1028
+ "height": undefined,
1027
1029
  "justifyContent": "center",
1028
1030
  "paddingHorizontal": 20,
1029
1031
  "paddingVertical": 8,
@@ -1886,6 +1888,7 @@ exports[`HeightField snapshots should match snapshot with all props 1`] = `
1886
1888
  "borderRadius": 360,
1887
1889
  "borderWidth": undefined,
1888
1890
  "flexDirection": "column",
1891
+ "height": undefined,
1889
1892
  "justifyContent": "center",
1890
1893
  "paddingHorizontal": 20,
1891
1894
  "paddingVertical": 8,
@@ -2683,6 +2686,7 @@ exports[`HeightField snapshots should match snapshot when disabled 1`] = `
2683
2686
  "borderRadius": 360,
2684
2687
  "borderWidth": undefined,
2685
2688
  "flexDirection": "column",
2689
+ "height": undefined,
2686
2690
  "justifyContent": "center",
2687
2691
  "paddingHorizontal": 20,
2688
2692
  "paddingVertical": 8,
@@ -3519,6 +3523,7 @@ exports[`HeightField snapshots should match snapshot with error state 1`] = `
3519
3523
  "borderRadius": 360,
3520
3524
  "borderWidth": undefined,
3521
3525
  "flexDirection": "column",
3526
+ "height": undefined,
3522
3527
  "justifyContent": "center",
3523
3528
  "paddingHorizontal": 20,
3524
3529
  "paddingVertical": 8,
@@ -27,3 +27,7 @@ exports[`IconButton calls onClick when pressed 1`] = `null`;
27
27
  exports[`IconButton has correct accessibility props 1`] = `null`;
28
28
 
29
29
  exports[`IconButton renders with confirmation props 1`] = `null`;
30
+
31
+ exports[`IconButton renders ghost variant 1`] = `null`;
32
+
33
+ exports[`IconButton renders sm size 1`] = `null`;
@@ -182,6 +182,7 @@ exports[`InfoModalIcon renders correctly with required props 1`] = `
182
182
  "borderRadius": 360,
183
183
  "borderWidth": undefined,
184
184
  "flexDirection": "column",
185
+ "height": undefined,
185
186
  "justifyContent": "center",
186
187
  "paddingHorizontal": 20,
187
188
  "paddingVertical": 8,
@@ -513,6 +514,7 @@ exports[`InfoModalIcon renders with subtitle 1`] = `
513
514
  "borderRadius": 360,
514
515
  "borderWidth": undefined,
515
516
  "flexDirection": "column",
517
+ "height": undefined,
516
518
  "justifyContent": "center",
517
519
  "paddingHorizontal": 20,
518
520
  "paddingVertical": 8,
@@ -842,6 +844,7 @@ exports[`InfoModalIcon renders with children content 1`] = `
842
844
  "borderRadius": 360,
843
845
  "borderWidth": undefined,
844
846
  "flexDirection": "column",
847
+ "height": undefined,
845
848
  "justifyContent": "center",
846
849
  "paddingHorizontal": 20,
847
850
  "paddingVertical": 8,
@@ -1132,6 +1135,7 @@ exports[`InfoModalIcon opens modal when pressed 1`] = `
1132
1135
  "borderRadius": 360,
1133
1136
  "borderWidth": undefined,
1134
1137
  "flexDirection": "column",
1138
+ "height": undefined,
1135
1139
  "justifyContent": "center",
1136
1140
  "paddingHorizontal": 20,
1137
1141
  "paddingVertical": 8,
@@ -28,6 +28,7 @@ exports[`Link renders correctly with href 1`] = `
28
28
  "aria-role": "button",
29
29
  "hitSlop": 20,
30
30
  "onPress": [Function],
31
+ "testID": undefined,
31
32
  },
32
33
  "type": "Pressable",
33
34
  }