@hero-design/rn 7.22.3 → 7.23.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.
Files changed (148) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/es/index.js +2124 -1638
  3. package/lib/index.js +2124 -1636
  4. package/package.json +6 -6
  5. package/src/components/Box/StyledBox.tsx +1 -2
  6. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +18 -4
  7. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +18 -4
  8. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +69 -0
  9. package/src/components/RefreshControl/__tests__/index.spec.tsx +55 -0
  10. package/src/components/RefreshControl/index.tsx +23 -0
  11. package/src/components/RichTextEditor/MentionList.tsx +25 -4
  12. package/src/components/RichTextEditor/RichTextEditor.tsx +3 -1
  13. package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +6 -6
  14. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +36 -8
  15. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +90 -20
  16. package/src/components/Select/MultiSelect/index.tsx +1 -1
  17. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +90 -20
  18. package/src/components/Select/SingleSelect/index.tsx +1 -1
  19. package/src/components/Select/types.ts +1 -3
  20. package/src/components/TextInput/StyledTextInput.tsx +16 -11
  21. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +3 -3
  22. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +36 -18
  23. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +234 -52
  24. package/src/components/TextInput/index.tsx +21 -4
  25. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +18 -4
  26. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +18 -4
  27. package/src/index.ts +4 -0
  28. package/src/theme/ThemeSwitcher.tsx +9 -2
  29. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +9 -3
  30. package/src/theme/components/refreshControl.ts +11 -0
  31. package/src/theme/components/richTextEditor.ts +6 -5
  32. package/src/theme/getTheme.ts +3 -0
  33. package/src/theme/global/colors/jobs.ts +18 -0
  34. package/src/theme/global/index.ts +8 -1
  35. package/src/theme/index.ts +6 -1
  36. package/src/utils/__tests__/helpers.spec.ts +27 -0
  37. package/src/utils/helpers.ts +21 -0
  38. package/tsconfig.prod.json +4 -0
  39. package/types/components/RefreshControl/index.d.ts +5 -0
  40. package/types/components/RichTextEditor/MentionList.d.ts +7 -3
  41. package/types/components/RichTextEditor/index.d.ts +1 -1
  42. package/types/components/Select/types.d.ts +1 -3
  43. package/types/components/TextInput/StyledTextInput.d.ts +9 -3
  44. package/types/index.d.ts +3 -2
  45. package/types/theme/ThemeSwitcher.d.ts +1 -1
  46. package/types/theme/components/refreshControl.d.ts +7 -0
  47. package/types/theme/components/richTextEditor.d.ts +4 -3
  48. package/types/theme/getTheme.d.ts +2 -0
  49. package/types/theme/global/colors/jobs.d.ts +3 -0
  50. package/types/theme/global/index.d.ts +2 -1
  51. package/types/theme/index.d.ts +2 -2
  52. package/types/utils/helpers.d.ts +2 -0
  53. package/src/components/Box/__tests__/helpers.spec.ts +0 -14
  54. package/src/components/Box/helpers.ts +0 -10
  55. package/types/components/Accordion/__tests__/AccordionItem.spec.d.ts +0 -1
  56. package/types/components/Accordion/__tests__/StyledAccordion.spec.d.ts +0 -1
  57. package/types/components/Accordion/__tests__/index.spec.d.ts +0 -1
  58. package/types/components/Alert/__tests__/index.spec.d.ts +0 -1
  59. package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
  60. package/types/components/Avatar/__tests__/index.spec.d.ts +0 -1
  61. package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -1
  62. package/types/components/Badge/__tests__/Status.spec.d.ts +0 -1
  63. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
  64. package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -1
  65. package/types/components/Box/__tests__/helpers.spec.d.ts +0 -1
  66. package/types/components/Box/__tests__/index.spec.d.ts +0 -1
  67. package/types/components/Box/helpers.d.ts +0 -1
  68. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -1
  69. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -1
  70. package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +0 -1
  71. package/types/components/Button/__tests__/Button.spec.d.ts +0 -1
  72. package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -1
  73. package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -1
  74. package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +0 -1
  75. package/types/components/Calendar/__tests__/helper.spec.d.ts +0 -1
  76. package/types/components/Calendar/__tests__/index.spec.d.ts +0 -1
  77. package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -1
  78. package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -1
  79. package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
  80. package/types/components/Card/__tests__/index.spec.d.ts +0 -1
  81. package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -1
  82. package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -1
  83. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
  84. package/types/components/Collapse/__tests__/index.spec.d.ts +0 -1
  85. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -1
  86. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -1
  87. package/types/components/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
  88. package/types/components/DatePicker/__tests__/DatePickerAndroid.spec.d.ts +0 -1
  89. package/types/components/DatePicker/__tests__/DatePickerIOS.spec.d.ts +0 -1
  90. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
  91. package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +0 -1
  92. package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +0 -1
  93. package/types/components/Drawer/__tests__/index.spec.d.ts +0 -1
  94. package/types/components/Empty/__tests__/index.spec.d.ts +0 -1
  95. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
  96. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
  97. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
  98. package/types/components/FAB/__tests__/index.spec.d.ts +0 -1
  99. package/types/components/Icon/__tests__/index.spec.d.ts +0 -1
  100. package/types/components/Image/__tests__/index.spec.d.ts +0 -1
  101. package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -1
  102. package/types/components/List/__tests__/ListItem.spec.d.ts +0 -1
  103. package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -1
  104. package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -1
  105. package/types/components/PinInput/__tests__/PinCell.spec.d.ts +0 -1
  106. package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +0 -1
  107. package/types/components/PinInput/__tests__/index.spec.d.ts +0 -1
  108. package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -1
  109. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -1
  110. package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +0 -1
  111. package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +0 -1
  112. package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +0 -1
  113. package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -1
  114. package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -1
  115. package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -1
  116. package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -1
  117. package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -1
  118. package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -1
  119. package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -1
  120. package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -1
  121. package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -1
  122. package/types/components/Select/__tests__/helpers.spec.d.ts +0 -1
  123. package/types/components/Slider/__tests__/index.spec.d.ts +0 -1
  124. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -1
  125. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -1
  126. package/types/components/Spinner/__tests__/index.spec.d.ts +0 -1
  127. package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +0 -1
  128. package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +0 -1
  129. package/types/components/Switch/__tests__/StyledSwitch.spec.d.ts +0 -1
  130. package/types/components/Switch/__tests__/index.spec.d.ts +0 -1
  131. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
  132. package/types/components/Tabs/__tests__/TabWithBadge.spec.d.ts +0 -1
  133. package/types/components/Tabs/__tests__/index.spec.d.ts +0 -1
  134. package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -1
  135. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -1
  136. package/types/components/TextInput/__tests__/index.spec.d.ts +0 -1
  137. package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
  138. package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +0 -1
  139. package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +0 -1
  140. package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -1
  141. package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -1
  142. package/types/components/Toast/__tests__/index.spec.d.ts +0 -1
  143. package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -1
  144. package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -1
  145. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
  146. package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
  147. package/types/theme/__tests__/index.spec.d.ts +0 -1
  148. package/types/utils/__tests__/scale.spec.d.ts +0 -1
@@ -85,6 +85,7 @@ function MultiSelect<V, T extends OptionType<V>>({
85
85
  }
86
86
  <View pointerEvents="none">
87
87
  <TextInput
88
+ {...inputProps}
88
89
  label={label}
89
90
  value={displayedValue}
90
91
  suffix="arrow-down"
@@ -92,7 +93,6 @@ function MultiSelect<V, T extends OptionType<V>>({
92
93
  error={error}
93
94
  editable={editable}
94
95
  disabled={disabled}
95
- loading={inputProps?.loading}
96
96
  numberOfLines={numberOfLines}
97
97
  pointerEvents="none"
98
98
  style={style}
@@ -29,16 +29,12 @@ Array [
29
29
  style={
30
30
  Array [
31
31
  Object {
32
- "borderColor": "#001f23",
33
- "borderRadius": 8,
34
- "borderWidth": 1,
35
32
  "marginVertical": 8,
36
33
  "width": "100%",
37
34
  },
38
35
  undefined,
39
36
  ]
40
37
  }
41
- themeVariant="default"
42
38
  >
43
39
  <View
44
40
  style={
@@ -52,6 +48,24 @@ Array [
52
48
  ]
53
49
  }
54
50
  >
51
+ <View
52
+ style={
53
+ Array [
54
+ Object {
55
+ "borderColor": "#001f23",
56
+ "borderRadius": 8,
57
+ "borderWidth": 1,
58
+ "bottom": 0,
59
+ "left": 0,
60
+ "position": "absolute",
61
+ "right": 0,
62
+ "top": 0,
63
+ },
64
+ undefined,
65
+ ]
66
+ }
67
+ themeVariant="default"
68
+ />
55
69
  <View
56
70
  style={
57
71
  Array [
@@ -1292,16 +1306,12 @@ Array [
1292
1306
  style={
1293
1307
  Array [
1294
1308
  Object {
1295
- "borderColor": "#001f23",
1296
- "borderRadius": 8,
1297
- "borderWidth": 1,
1298
1309
  "marginVertical": 8,
1299
1310
  "width": "100%",
1300
1311
  },
1301
1312
  undefined,
1302
1313
  ]
1303
1314
  }
1304
- themeVariant="filled"
1305
1315
  >
1306
1316
  <View
1307
1317
  style={
@@ -1315,6 +1325,24 @@ Array [
1315
1325
  ]
1316
1326
  }
1317
1327
  >
1328
+ <View
1329
+ style={
1330
+ Array [
1331
+ Object {
1332
+ "borderColor": "#001f23",
1333
+ "borderRadius": 8,
1334
+ "borderWidth": 1,
1335
+ "bottom": 0,
1336
+ "left": 0,
1337
+ "position": "absolute",
1338
+ "right": 0,
1339
+ "top": 0,
1340
+ },
1341
+ undefined,
1342
+ ]
1343
+ }
1344
+ themeVariant="filled"
1345
+ />
1318
1346
  <View
1319
1347
  pointerEvents="none"
1320
1348
  style={
@@ -2700,16 +2728,12 @@ Array [
2700
2728
  style={
2701
2729
  Array [
2702
2730
  Object {
2703
- "borderColor": "#001f23",
2704
- "borderRadius": 8,
2705
- "borderWidth": 1,
2706
2731
  "marginVertical": 8,
2707
2732
  "width": "100%",
2708
2733
  },
2709
2734
  undefined,
2710
2735
  ]
2711
2736
  }
2712
- themeVariant="filled"
2713
2737
  >
2714
2738
  <View
2715
2739
  style={
@@ -2723,6 +2747,24 @@ Array [
2723
2747
  ]
2724
2748
  }
2725
2749
  >
2750
+ <View
2751
+ style={
2752
+ Array [
2753
+ Object {
2754
+ "borderColor": "#001f23",
2755
+ "borderRadius": 8,
2756
+ "borderWidth": 1,
2757
+ "bottom": 0,
2758
+ "left": 0,
2759
+ "position": "absolute",
2760
+ "right": 0,
2761
+ "top": 0,
2762
+ },
2763
+ undefined,
2764
+ ]
2765
+ }
2766
+ themeVariant="filled"
2767
+ />
2726
2768
  <View
2727
2769
  pointerEvents="none"
2728
2770
  style={
@@ -4105,16 +4147,12 @@ Array [
4105
4147
  style={
4106
4148
  Array [
4107
4149
  Object {
4108
- "borderColor": "#808f91",
4109
- "borderRadius": 8,
4110
- "borderWidth": 1,
4111
4150
  "marginVertical": 8,
4112
4151
  "width": "100%",
4113
4152
  },
4114
4153
  undefined,
4115
4154
  ]
4116
4155
  }
4117
- themeVariant="readonly"
4118
4156
  >
4119
4157
  <View
4120
4158
  style={
@@ -4128,6 +4166,24 @@ Array [
4128
4166
  ]
4129
4167
  }
4130
4168
  >
4169
+ <View
4170
+ style={
4171
+ Array [
4172
+ Object {
4173
+ "borderColor": "#808f91",
4174
+ "borderRadius": 8,
4175
+ "borderWidth": 1,
4176
+ "bottom": 0,
4177
+ "left": 0,
4178
+ "position": "absolute",
4179
+ "right": 0,
4180
+ "top": 0,
4181
+ },
4182
+ undefined,
4183
+ ]
4184
+ }
4185
+ themeVariant="readonly"
4186
+ />
4131
4187
  <View
4132
4188
  pointerEvents="none"
4133
4189
  style={
@@ -5527,16 +5583,12 @@ Array [
5527
5583
  style={
5528
5584
  Array [
5529
5585
  Object {
5530
- "borderColor": "#001f23",
5531
- "borderRadius": 8,
5532
- "borderWidth": 1,
5533
5586
  "marginVertical": 8,
5534
5587
  "width": "100%",
5535
5588
  },
5536
5589
  undefined,
5537
5590
  ]
5538
5591
  }
5539
- themeVariant="filled"
5540
5592
  >
5541
5593
  <View
5542
5594
  style={
@@ -5550,6 +5602,24 @@ Array [
5550
5602
  ]
5551
5603
  }
5552
5604
  >
5605
+ <View
5606
+ style={
5607
+ Array [
5608
+ Object {
5609
+ "borderColor": "#001f23",
5610
+ "borderRadius": 8,
5611
+ "borderWidth": 1,
5612
+ "bottom": 0,
5613
+ "left": 0,
5614
+ "position": "absolute",
5615
+ "right": 0,
5616
+ "top": 0,
5617
+ },
5618
+ undefined,
5619
+ ]
5620
+ }
5621
+ themeVariant="filled"
5622
+ />
5553
5623
  <View
5554
5624
  pointerEvents="none"
5555
5625
  style={
@@ -75,6 +75,7 @@ const SingleSelect = <V, T extends OptionType<V>>({
75
75
  }
76
76
  <View pointerEvents="none">
77
77
  <TextInput
78
+ {...inputProps}
78
79
  label={label}
79
80
  value={displayedValue}
80
81
  suffix="arrow-down"
@@ -82,7 +83,6 @@ const SingleSelect = <V, T extends OptionType<V>>({
82
83
  error={error}
83
84
  editable={editable}
84
85
  disabled={disabled}
85
- loading={inputProps?.loading}
86
86
  numberOfLines={numberOfLines}
87
87
  pointerEvents="none"
88
88
  style={style}
@@ -81,9 +81,7 @@ export interface SelectProps<V, T extends OptionType<V>>
81
81
  /**
82
82
  * Props that are passed to TextInput.
83
83
  */
84
- inputProps?: {
85
- loading?: boolean;
86
- };
84
+ inputProps?: Pick<TextInputProps, 'loading' | 'required'>;
87
85
  /**
88
86
  * Field label.
89
87
  */
@@ -10,19 +10,9 @@ export type Variant =
10
10
  | 'readonly'
11
11
  | 'error';
12
12
 
13
- const StyledContainer = styled(View)<{
14
- themeVariant: Variant;
15
- }>(({ theme, themeVariant }) => ({
13
+ const StyledContainer = styled(View)(({ theme }) => ({
16
14
  width: '100%',
17
15
  marginVertical: theme.__hd__.textInput.space.containerMarginVertical,
18
- borderWidth:
19
- themeVariant === 'focused'
20
- ? theme.__hd__.textInput.borderWidths.container.focused
21
- : theme.__hd__.textInput.borderWidths.container.normal,
22
- borderRadius: theme.__hd__.textInput.radii.container,
23
- borderColor:
24
- theme.__hd__.textInput.colors.borders[themeVariant] ??
25
- theme.__hd__.textInput.colors.borders.default,
26
16
  }));
27
17
 
28
18
  const StyledLabelContainer = styled(View)(({ theme }) => ({
@@ -107,6 +97,20 @@ const StyledTextInput = styled(TextInput)(({ theme }) => ({
107
97
  marginHorizontal: theme.__hd__.textInput.space.inputHorizontalMargin,
108
98
  }));
109
99
 
100
+ const StyledBorderBackDrop = styled(View)<{
101
+ themeVariant: Variant;
102
+ }>(({ theme, themeVariant }) => ({
103
+ ...StyleSheet.absoluteFillObject,
104
+ borderWidth:
105
+ themeVariant === 'focused'
106
+ ? theme.__hd__.textInput.borderWidths.container.focused
107
+ : theme.__hd__.textInput.borderWidths.container.normal,
108
+ borderRadius: theme.__hd__.textInput.radii.container,
109
+ borderColor:
110
+ theme.__hd__.textInput.colors.borders[themeVariant] ??
111
+ theme.__hd__.textInput.colors.borders.default,
112
+ }));
113
+
110
114
  const StyledTextInputContainer = styled(View)(({ theme }) => ({
111
115
  flexDirection: 'row',
112
116
  alignItems: 'center',
@@ -147,5 +151,6 @@ export {
147
151
  StyledTextInputAndLabelContainer,
148
152
  StyledLabelContainerInsideTextInput,
149
153
  StyledErrorAndHelpTextContainer,
154
+ StyledBorderBackDrop,
150
155
  StyledErrorAndMaxLengthContainer,
151
156
  };
@@ -10,7 +10,7 @@ import {
10
10
  StyledAsteriskLabel,
11
11
  StyledLabelContainer,
12
12
  StyledLabelInsideTextInput,
13
- StyledContainer,
13
+ StyledBorderBackDrop,
14
14
  } from '../StyledTextInput';
15
15
 
16
16
  describe('Label', () => {
@@ -133,7 +133,7 @@ describe('StyledHelperText', () => {
133
133
  });
134
134
  });
135
135
 
136
- describe('StyledContainer', () => {
136
+ describe('StyledBorderBackDrop', () => {
137
137
  it.each`
138
138
  themeVariant
139
139
  ${'default'}
@@ -146,7 +146,7 @@ describe('StyledContainer', () => {
146
146
  'renders correctly with themeVariant $themeVariant',
147
147
  ({ themeVariant }): void => {
148
148
  const { toJSON } = renderWithTheme(
149
- <StyledContainer themeVariant={themeVariant} />
149
+ <StyledBorderBackDrop themeVariant={themeVariant} />
150
150
  );
151
151
 
152
152
  expect(toJSON()).toMatchSnapshot();
@@ -547,7 +547,7 @@ exports[`StyledAsteriskLabel renders correctly with themeVariant readonly 1`] =
547
547
  </Text>
548
548
  `;
549
549
 
550
- exports[`StyledContainer renders correctly with themeVariant default 1`] = `
550
+ exports[`StyledBorderBackDrop renders correctly with themeVariant default 1`] = `
551
551
  <View
552
552
  style={
553
553
  Array [
@@ -555,8 +555,11 @@ exports[`StyledContainer renders correctly with themeVariant default 1`] = `
555
555
  "borderColor": "#001f23",
556
556
  "borderRadius": 8,
557
557
  "borderWidth": 1,
558
- "marginVertical": 8,
559
- "width": "100%",
558
+ "bottom": 0,
559
+ "left": 0,
560
+ "position": "absolute",
561
+ "right": 0,
562
+ "top": 0,
560
563
  },
561
564
  undefined,
562
565
  ]
@@ -565,7 +568,7 @@ exports[`StyledContainer renders correctly with themeVariant default 1`] = `
565
568
  />
566
569
  `;
567
570
 
568
- exports[`StyledContainer renders correctly with themeVariant disabled 1`] = `
571
+ exports[`StyledBorderBackDrop renders correctly with themeVariant disabled 1`] = `
569
572
  <View
570
573
  style={
571
574
  Array [
@@ -573,8 +576,11 @@ exports[`StyledContainer renders correctly with themeVariant disabled 1`] = `
573
576
  "borderColor": "#bfc1c5",
574
577
  "borderRadius": 8,
575
578
  "borderWidth": 1,
576
- "marginVertical": 8,
577
- "width": "100%",
579
+ "bottom": 0,
580
+ "left": 0,
581
+ "position": "absolute",
582
+ "right": 0,
583
+ "top": 0,
578
584
  },
579
585
  undefined,
580
586
  ]
@@ -583,7 +589,7 @@ exports[`StyledContainer renders correctly with themeVariant disabled 1`] = `
583
589
  />
584
590
  `;
585
591
 
586
- exports[`StyledContainer renders correctly with themeVariant error 1`] = `
592
+ exports[`StyledBorderBackDrop renders correctly with themeVariant error 1`] = `
587
593
  <View
588
594
  style={
589
595
  Array [
@@ -591,8 +597,11 @@ exports[`StyledContainer renders correctly with themeVariant error 1`] = `
591
597
  "borderColor": "#f46363",
592
598
  "borderRadius": 8,
593
599
  "borderWidth": 1,
594
- "marginVertical": 8,
595
- "width": "100%",
600
+ "bottom": 0,
601
+ "left": 0,
602
+ "position": "absolute",
603
+ "right": 0,
604
+ "top": 0,
596
605
  },
597
606
  undefined,
598
607
  ]
@@ -601,7 +610,7 @@ exports[`StyledContainer renders correctly with themeVariant error 1`] = `
601
610
  />
602
611
  `;
603
612
 
604
- exports[`StyledContainer renders correctly with themeVariant filled 1`] = `
613
+ exports[`StyledBorderBackDrop renders correctly with themeVariant filled 1`] = `
605
614
  <View
606
615
  style={
607
616
  Array [
@@ -609,8 +618,11 @@ exports[`StyledContainer renders correctly with themeVariant filled 1`] = `
609
618
  "borderColor": "#001f23",
610
619
  "borderRadius": 8,
611
620
  "borderWidth": 1,
612
- "marginVertical": 8,
613
- "width": "100%",
621
+ "bottom": 0,
622
+ "left": 0,
623
+ "position": "absolute",
624
+ "right": 0,
625
+ "top": 0,
614
626
  },
615
627
  undefined,
616
628
  ]
@@ -619,7 +631,7 @@ exports[`StyledContainer renders correctly with themeVariant filled 1`] = `
619
631
  />
620
632
  `;
621
633
 
622
- exports[`StyledContainer renders correctly with themeVariant focused 1`] = `
634
+ exports[`StyledBorderBackDrop renders correctly with themeVariant focused 1`] = `
623
635
  <View
624
636
  style={
625
637
  Array [
@@ -627,8 +639,11 @@ exports[`StyledContainer renders correctly with themeVariant focused 1`] = `
627
639
  "borderColor": "#001f23",
628
640
  "borderRadius": 8,
629
641
  "borderWidth": 2,
630
- "marginVertical": 8,
631
- "width": "100%",
642
+ "bottom": 0,
643
+ "left": 0,
644
+ "position": "absolute",
645
+ "right": 0,
646
+ "top": 0,
632
647
  },
633
648
  undefined,
634
649
  ]
@@ -637,7 +652,7 @@ exports[`StyledContainer renders correctly with themeVariant focused 1`] = `
637
652
  />
638
653
  `;
639
654
 
640
- exports[`StyledContainer renders correctly with themeVariant readonly 1`] = `
655
+ exports[`StyledBorderBackDrop renders correctly with themeVariant readonly 1`] = `
641
656
  <View
642
657
  style={
643
658
  Array [
@@ -645,8 +660,11 @@ exports[`StyledContainer renders correctly with themeVariant readonly 1`] = `
645
660
  "borderColor": "#808f91",
646
661
  "borderRadius": 8,
647
662
  "borderWidth": 1,
648
- "marginVertical": 8,
649
- "width": "100%",
663
+ "bottom": 0,
664
+ "left": 0,
665
+ "position": "absolute",
666
+ "right": 0,
667
+ "top": 0,
650
668
  },
651
669
  undefined,
652
670
  ]