@hero-design/rn 7.22.3 → 7.24.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 (197) hide show
  1. package/.turbo/turbo-build.log +3 -3
  2. package/assets/fonts/hero-icons.ttf +0 -0
  3. package/es/index.js +2974 -10456
  4. package/lib/assets/fonts/hero-icons.ttf +0 -0
  5. package/lib/index.js +2977 -10455
  6. package/package.json +8 -6
  7. package/rollup.config.js +1 -0
  8. package/src/components/Box/StyledBox.tsx +1 -2
  9. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +19 -4
  10. package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +19 -4
  11. package/src/components/Empty/index.tsx +1 -2
  12. package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
  13. package/src/components/Icon/HeroIcon/glyphMap.json +1 -0
  14. package/src/components/Icon/HeroIcon/index.tsx +3 -7
  15. package/src/components/Icon/IconList.ts +8 -5
  16. package/src/components/Icon/index.tsx +1 -0
  17. package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +69 -0
  18. package/src/components/RefreshControl/__tests__/index.spec.tsx +55 -0
  19. package/src/components/RefreshControl/index.tsx +23 -0
  20. package/src/components/RichTextEditor/MentionList.tsx +25 -4
  21. package/src/components/RichTextEditor/RichTextEditor.tsx +3 -4
  22. package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +6 -6
  23. package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +38 -8
  24. package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
  25. package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +95 -20
  26. package/src/components/Select/MultiSelect/index.tsx +1 -1
  27. package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
  28. package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +95 -20
  29. package/src/components/Select/SingleSelect/index.tsx +1 -1
  30. package/src/components/Select/types.ts +1 -3
  31. package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
  32. package/src/components/Spinner/StyledSpinner.tsx +16 -11
  33. package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +3 -1
  34. package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +42 -31
  35. package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
  36. package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +532 -72
  37. package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
  38. package/src/components/Spinner/index.tsx +6 -1
  39. package/src/components/Swipeable/StyledSwipeable.tsx +11 -0
  40. package/src/components/Swipeable/SwipeableAction.tsx +45 -0
  41. package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +37 -0
  42. package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +130 -0
  43. package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +33 -0
  44. package/src/components/Swipeable/__tests__/index.spec.tsx +34 -0
  45. package/src/components/Swipeable/index.tsx +148 -0
  46. package/src/components/TextInput/StyledTextInput.tsx +18 -19
  47. package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +14 -8
  48. package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +52 -150
  49. package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +247 -52
  50. package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
  51. package/src/components/TextInput/index.tsx +27 -9
  52. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +19 -4
  53. package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +19 -4
  54. package/src/index.ts +8 -0
  55. package/src/theme/ThemeSwitcher.tsx +9 -2
  56. package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +20 -9
  57. package/src/theme/components/refreshControl.ts +11 -0
  58. package/src/theme/components/richTextEditor.ts +6 -5
  59. package/src/theme/components/spinner.ts +4 -1
  60. package/src/theme/components/swipeable.ts +13 -0
  61. package/src/theme/components/textInput.ts +0 -5
  62. package/src/theme/getTheme.ts +6 -0
  63. package/src/theme/global/colors/jobs.ts +17 -0
  64. package/src/theme/global/colors/work.ts +0 -2
  65. package/src/theme/global/index.ts +8 -1
  66. package/src/theme/index.ts +6 -1
  67. package/src/types.ts +2 -0
  68. package/src/utils/__tests__/helpers.spec.ts +27 -0
  69. package/src/utils/helpers.ts +21 -0
  70. package/testUtils/setup.tsx +13 -0
  71. package/tsconfig.prod.json +4 -0
  72. package/types/components/Empty/index.d.ts +1 -2
  73. package/types/components/Icon/IconList.d.ts +1 -1
  74. package/types/components/Icon/index.d.ts +4 -1
  75. package/types/components/Icon/utils.d.ts +1 -1
  76. package/types/components/RefreshControl/index.d.ts +5 -0
  77. package/types/components/RichTextEditor/MentionList.d.ts +7 -3
  78. package/types/components/RichTextEditor/index.d.ts +1 -1
  79. package/types/components/Select/types.d.ts +1 -3
  80. package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
  81. package/types/components/Spinner/StyledSpinner.d.ts +1 -0
  82. package/types/components/Spinner/index.d.ts +5 -1
  83. package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
  84. package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
  85. package/types/components/Swipeable/index.d.ts +41 -0
  86. package/types/components/TextInput/StyledTextInput.d.ts +11 -4
  87. package/types/components/TextInput/index.d.ts +1 -1
  88. package/types/index.d.ts +4 -2
  89. package/types/theme/ThemeSwitcher.d.ts +1 -1
  90. package/types/theme/components/refreshControl.d.ts +7 -0
  91. package/types/theme/components/richTextEditor.d.ts +4 -3
  92. package/types/theme/components/spinner.d.ts +4 -1
  93. package/types/theme/components/swipeable.d.ts +9 -0
  94. package/types/theme/components/textInput.d.ts +0 -5
  95. package/types/theme/getTheme.d.ts +4 -0
  96. package/types/theme/global/colors/jobs.d.ts +3 -0
  97. package/types/theme/global/index.d.ts +2 -1
  98. package/types/theme/index.d.ts +2 -2
  99. package/types/types.d.ts +2 -1
  100. package/types/utils/helpers.d.ts +2 -0
  101. package/src/components/Box/__tests__/helpers.spec.ts +0 -14
  102. package/src/components/Box/helpers.ts +0 -10
  103. package/src/components/Icon/HeroIcon/selection.json +0 -7029
  104. package/types/components/Accordion/__tests__/AccordionItem.spec.d.ts +0 -1
  105. package/types/components/Accordion/__tests__/StyledAccordion.spec.d.ts +0 -1
  106. package/types/components/Accordion/__tests__/index.spec.d.ts +0 -1
  107. package/types/components/Alert/__tests__/index.spec.d.ts +0 -1
  108. package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
  109. package/types/components/Avatar/__tests__/index.spec.d.ts +0 -1
  110. package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -1
  111. package/types/components/Badge/__tests__/Status.spec.d.ts +0 -1
  112. package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
  113. package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -1
  114. package/types/components/Box/__tests__/helpers.spec.d.ts +0 -1
  115. package/types/components/Box/__tests__/index.spec.d.ts +0 -1
  116. package/types/components/Box/helpers.d.ts +0 -1
  117. package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -1
  118. package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -1
  119. package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +0 -1
  120. package/types/components/Button/__tests__/Button.spec.d.ts +0 -1
  121. package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -1
  122. package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -1
  123. package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +0 -1
  124. package/types/components/Calendar/__tests__/helper.spec.d.ts +0 -1
  125. package/types/components/Calendar/__tests__/index.spec.d.ts +0 -1
  126. package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -1
  127. package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -1
  128. package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
  129. package/types/components/Card/__tests__/index.spec.d.ts +0 -1
  130. package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -1
  131. package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -1
  132. package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
  133. package/types/components/Collapse/__tests__/index.spec.d.ts +0 -1
  134. package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -1
  135. package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -1
  136. package/types/components/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
  137. package/types/components/DatePicker/__tests__/DatePickerAndroid.spec.d.ts +0 -1
  138. package/types/components/DatePicker/__tests__/DatePickerIOS.spec.d.ts +0 -1
  139. package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
  140. package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +0 -1
  141. package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +0 -1
  142. package/types/components/Drawer/__tests__/index.spec.d.ts +0 -1
  143. package/types/components/Empty/__tests__/index.spec.d.ts +0 -1
  144. package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
  145. package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
  146. package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
  147. package/types/components/FAB/__tests__/index.spec.d.ts +0 -1
  148. package/types/components/Icon/__tests__/index.spec.d.ts +0 -1
  149. package/types/components/Image/__tests__/index.spec.d.ts +0 -1
  150. package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -1
  151. package/types/components/List/__tests__/ListItem.spec.d.ts +0 -1
  152. package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -1
  153. package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -1
  154. package/types/components/PinInput/__tests__/PinCell.spec.d.ts +0 -1
  155. package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +0 -1
  156. package/types/components/PinInput/__tests__/index.spec.d.ts +0 -1
  157. package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -1
  158. package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -1
  159. package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +0 -1
  160. package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +0 -1
  161. package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +0 -1
  162. package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -1
  163. package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -1
  164. package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -1
  165. package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -1
  166. package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -1
  167. package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -1
  168. package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -1
  169. package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -1
  170. package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -1
  171. package/types/components/Select/__tests__/helpers.spec.d.ts +0 -1
  172. package/types/components/Slider/__tests__/index.spec.d.ts +0 -1
  173. package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -1
  174. package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -1
  175. package/types/components/Spinner/__tests__/index.spec.d.ts +0 -1
  176. package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +0 -1
  177. package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +0 -1
  178. package/types/components/Switch/__tests__/StyledSwitch.spec.d.ts +0 -1
  179. package/types/components/Switch/__tests__/index.spec.d.ts +0 -1
  180. package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
  181. package/types/components/Tabs/__tests__/TabWithBadge.spec.d.ts +0 -1
  182. package/types/components/Tabs/__tests__/index.spec.d.ts +0 -1
  183. package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -1
  184. package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -1
  185. package/types/components/TextInput/__tests__/index.spec.d.ts +0 -1
  186. package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
  187. package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +0 -1
  188. package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +0 -1
  189. package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -1
  190. package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -1
  191. package/types/components/Toast/__tests__/index.spec.d.ts +0 -1
  192. package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -1
  193. package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -1
  194. package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
  195. package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
  196. package/types/theme/__tests__/index.spec.d.ts +0 -1
  197. package/types/utils/__tests__/scale.spec.d.ts +0 -1
@@ -112,34 +112,6 @@ exports[`Label renders correctly with themeVariant filled 1`] = `
112
112
  </Text>
113
113
  `;
114
114
 
115
- exports[`Label renders correctly with themeVariant focused 1`] = `
116
- <Text
117
- style={
118
- Array [
119
- Object {
120
- "color": "#001f23",
121
- "fontFamily": "BeVietnamPro-Regular",
122
- "fontSize": 14,
123
- "letterSpacing": 0.42,
124
- "lineHeight": 22,
125
- },
126
- Array [
127
- Object {
128
- "color": "#001f23",
129
- },
130
- undefined,
131
- ],
132
- ]
133
- }
134
- themeFontSize="medium"
135
- themeFontWeight="regular"
136
- themeIntent="body"
137
- themeVariant="focused"
138
- >
139
- Label
140
- </Text>
141
- `;
142
-
143
115
  exports[`Label renders correctly with themeVariant readonly 1`] = `
144
116
  <Text
145
117
  style={
@@ -315,38 +287,6 @@ exports[`LabelInsideTextInput renders correctly with themeVariant filled 1`] = `
315
287
  </Text>
316
288
  `;
317
289
 
318
- exports[`LabelInsideTextInput renders correctly with themeVariant focused 1`] = `
319
- <Text
320
- style={
321
- Array [
322
- Object {
323
- "color": "#001f23",
324
- "fontFamily": "BeVietnamPro-Regular",
325
- "fontSize": 14,
326
- "letterSpacing": 0.42,
327
- "lineHeight": 22,
328
- },
329
- Array [
330
- Object {
331
- "alignContent": "center",
332
- "alignItems": "center",
333
- "color": "#001f23",
334
- "fontSize": 14,
335
- "textAlignVertical": "center",
336
- },
337
- undefined,
338
- ],
339
- ]
340
- }
341
- themeFontSize="medium"
342
- themeFontWeight="regular"
343
- themeIntent="body"
344
- themeVariant="focused"
345
- >
346
- Label
347
- </Text>
348
- `;
349
-
350
290
  exports[`LabelInsideTextInput renders correctly with themeVariant readonly 1`] = `
351
291
  <Text
352
292
  style={
@@ -491,7 +431,7 @@ exports[`StyledAsteriskLabel renders correctly with themeVariant filled 1`] = `
491
431
  </Text>
492
432
  `;
493
433
 
494
- exports[`StyledAsteriskLabel renders correctly with themeVariant focused 1`] = `
434
+ exports[`StyledAsteriskLabel renders correctly with themeVariant readonly 1`] = `
495
435
  <Text
496
436
  style={
497
437
  Array [
@@ -504,7 +444,7 @@ exports[`StyledAsteriskLabel renders correctly with themeVariant focused 1`] = `
504
444
  },
505
445
  Array [
506
446
  Object {
507
- "color": "#f46363",
447
+ "color": "#808f91",
508
448
  },
509
449
  undefined,
510
450
  ],
@@ -513,41 +453,35 @@ exports[`StyledAsteriskLabel renders correctly with themeVariant focused 1`] = `
513
453
  themeFontSize="medium"
514
454
  themeFontWeight="regular"
515
455
  themeIntent="body"
516
- themeVariant="focused"
456
+ themeVariant="readonly"
517
457
  >
518
458
  *
519
459
  </Text>
520
460
  `;
521
461
 
522
- exports[`StyledAsteriskLabel renders correctly with themeVariant readonly 1`] = `
523
- <Text
462
+ exports[`StyledBorderBackDrop renders correctly when focused 1`] = `
463
+ <View
524
464
  style={
525
465
  Array [
526
466
  Object {
527
- "color": "#001f23",
528
- "fontFamily": "BeVietnamPro-Regular",
529
- "fontSize": 14,
530
- "letterSpacing": 0.42,
531
- "lineHeight": 22,
467
+ "borderColor": "#f46363",
468
+ "borderRadius": 8,
469
+ "borderWidth": 2,
470
+ "bottom": 0,
471
+ "left": 0,
472
+ "position": "absolute",
473
+ "right": 0,
474
+ "top": 0,
532
475
  },
533
- Array [
534
- Object {
535
- "color": "#808f91",
536
- },
537
- undefined,
538
- ],
476
+ undefined,
539
477
  ]
540
478
  }
541
- themeFontSize="medium"
542
- themeFontWeight="regular"
543
- themeIntent="body"
544
- themeVariant="readonly"
545
- >
546
- *
547
- </Text>
479
+ themeFocused={true}
480
+ themeVariant="error"
481
+ />
548
482
  `;
549
483
 
550
- exports[`StyledContainer renders correctly with themeVariant default 1`] = `
484
+ exports[`StyledBorderBackDrop renders correctly with themeVariant default 1`] = `
551
485
  <View
552
486
  style={
553
487
  Array [
@@ -555,17 +489,21 @@ exports[`StyledContainer renders correctly with themeVariant default 1`] = `
555
489
  "borderColor": "#001f23",
556
490
  "borderRadius": 8,
557
491
  "borderWidth": 1,
558
- "marginVertical": 8,
559
- "width": "100%",
492
+ "bottom": 0,
493
+ "left": 0,
494
+ "position": "absolute",
495
+ "right": 0,
496
+ "top": 0,
560
497
  },
561
498
  undefined,
562
499
  ]
563
500
  }
501
+ themeFocused={false}
564
502
  themeVariant="default"
565
503
  />
566
504
  `;
567
505
 
568
- exports[`StyledContainer renders correctly with themeVariant disabled 1`] = `
506
+ exports[`StyledBorderBackDrop renders correctly with themeVariant disabled 1`] = `
569
507
  <View
570
508
  style={
571
509
  Array [
@@ -573,17 +511,21 @@ exports[`StyledContainer renders correctly with themeVariant disabled 1`] = `
573
511
  "borderColor": "#bfc1c5",
574
512
  "borderRadius": 8,
575
513
  "borderWidth": 1,
576
- "marginVertical": 8,
577
- "width": "100%",
514
+ "bottom": 0,
515
+ "left": 0,
516
+ "position": "absolute",
517
+ "right": 0,
518
+ "top": 0,
578
519
  },
579
520
  undefined,
580
521
  ]
581
522
  }
523
+ themeFocused={false}
582
524
  themeVariant="disabled"
583
525
  />
584
526
  `;
585
527
 
586
- exports[`StyledContainer renders correctly with themeVariant error 1`] = `
528
+ exports[`StyledBorderBackDrop renders correctly with themeVariant error 1`] = `
587
529
  <View
588
530
  style={
589
531
  Array [
@@ -591,17 +533,21 @@ exports[`StyledContainer renders correctly with themeVariant error 1`] = `
591
533
  "borderColor": "#f46363",
592
534
  "borderRadius": 8,
593
535
  "borderWidth": 1,
594
- "marginVertical": 8,
595
- "width": "100%",
536
+ "bottom": 0,
537
+ "left": 0,
538
+ "position": "absolute",
539
+ "right": 0,
540
+ "top": 0,
596
541
  },
597
542
  undefined,
598
543
  ]
599
544
  }
545
+ themeFocused={false}
600
546
  themeVariant="error"
601
547
  />
602
548
  `;
603
549
 
604
- exports[`StyledContainer renders correctly with themeVariant filled 1`] = `
550
+ exports[`StyledBorderBackDrop renders correctly with themeVariant filled 1`] = `
605
551
  <View
606
552
  style={
607
553
  Array [
@@ -609,35 +555,21 @@ exports[`StyledContainer renders correctly with themeVariant filled 1`] = `
609
555
  "borderColor": "#001f23",
610
556
  "borderRadius": 8,
611
557
  "borderWidth": 1,
612
- "marginVertical": 8,
613
- "width": "100%",
558
+ "bottom": 0,
559
+ "left": 0,
560
+ "position": "absolute",
561
+ "right": 0,
562
+ "top": 0,
614
563
  },
615
564
  undefined,
616
565
  ]
617
566
  }
567
+ themeFocused={false}
618
568
  themeVariant="filled"
619
569
  />
620
570
  `;
621
571
 
622
- exports[`StyledContainer renders correctly with themeVariant focused 1`] = `
623
- <View
624
- style={
625
- Array [
626
- Object {
627
- "borderColor": "#001f23",
628
- "borderRadius": 8,
629
- "borderWidth": 2,
630
- "marginVertical": 8,
631
- "width": "100%",
632
- },
633
- undefined,
634
- ]
635
- }
636
- themeVariant="focused"
637
- />
638
- `;
639
-
640
- exports[`StyledContainer renders correctly with themeVariant readonly 1`] = `
572
+ exports[`StyledBorderBackDrop renders correctly with themeVariant readonly 1`] = `
641
573
  <View
642
574
  style={
643
575
  Array [
@@ -645,12 +577,16 @@ exports[`StyledContainer renders correctly with themeVariant readonly 1`] = `
645
577
  "borderColor": "#808f91",
646
578
  "borderRadius": 8,
647
579
  "borderWidth": 1,
648
- "marginVertical": 8,
649
- "width": "100%",
580
+ "bottom": 0,
581
+ "left": 0,
582
+ "position": "absolute",
583
+ "right": 0,
584
+ "top": 0,
650
585
  },
651
586
  undefined,
652
587
  ]
653
588
  }
589
+ themeFocused={false}
654
590
  themeVariant="readonly"
655
591
  />
656
592
  `;
@@ -870,40 +806,6 @@ exports[`StyledMaxLengthMessage renders correctly with themeVariant filled 1`] =
870
806
  </Text>
871
807
  `;
872
808
 
873
- exports[`StyledMaxLengthMessage renders correctly with themeVariant focused 1`] = `
874
- <Text
875
- style={
876
- Array [
877
- Object {
878
- "color": "#001f23",
879
- "fontFamily": "BeVietnamPro-Regular",
880
- "fontSize": 14,
881
- "letterSpacing": 0.42,
882
- "lineHeight": 22,
883
- },
884
- Array [
885
- Object {
886
- "alignSelf": "flex-end",
887
- "color": "#001f23",
888
- "flex": 1,
889
- "flexGrow": 1,
890
- "fontSize": 12,
891
- "marginRight": 4,
892
- "textAlign": "right",
893
- },
894
- undefined,
895
- ],
896
- ]
897
- }
898
- themeFontSize="medium"
899
- themeFontWeight="regular"
900
- themeIntent="body"
901
- themeVariant="focused"
902
- >
903
- 100/255
904
- </Text>
905
- `;
906
-
907
809
  exports[`StyledMaxLengthMessage renders correctly with themeVariant readonly 1`] = `
908
810
  <Text
909
811
  style={