@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.
- package/.turbo/turbo-build.log +3 -3
- package/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +2974 -10456
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +2977 -10455
- package/package.json +8 -6
- package/rollup.config.js +1 -0
- package/src/components/Box/StyledBox.tsx +1 -2
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +19 -4
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +19 -4
- package/src/components/Empty/index.tsx +1 -2
- package/src/components/Icon/HeroIcon/fonts/hero-icons.ttf +0 -0
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -0
- package/src/components/Icon/HeroIcon/index.tsx +3 -7
- package/src/components/Icon/IconList.ts +8 -5
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +69 -0
- package/src/components/RefreshControl/__tests__/index.spec.tsx +55 -0
- package/src/components/RefreshControl/index.tsx +23 -0
- package/src/components/RichTextEditor/MentionList.tsx +25 -4
- package/src/components/RichTextEditor/RichTextEditor.tsx +3 -4
- package/src/components/RichTextEditor/__tests__/MentionList.spec.tsx +6 -6
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +38 -8
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +95 -20
- package/src/components/Select/MultiSelect/index.tsx +1 -1
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +8 -4
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +95 -20
- package/src/components/Select/SingleSelect/index.tsx +1 -1
- package/src/components/Select/types.ts +1 -3
- package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
- package/src/components/Spinner/StyledSpinner.tsx +16 -11
- package/src/components/Spinner/__tests__/AnimatedSpinner.spec.tsx +3 -1
- package/src/components/Spinner/__tests__/StyledSpinner.spec.tsx +42 -31
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +8 -4
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +532 -72
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +8 -4
- package/src/components/Spinner/index.tsx +6 -1
- package/src/components/Swipeable/StyledSwipeable.tsx +11 -0
- package/src/components/Swipeable/SwipeableAction.tsx +45 -0
- package/src/components/Swipeable/__tests__/SwipeableAction.spec.tsx +37 -0
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +130 -0
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +33 -0
- package/src/components/Swipeable/__tests__/index.spec.tsx +34 -0
- package/src/components/Swipeable/index.tsx +148 -0
- package/src/components/TextInput/StyledTextInput.tsx +18 -19
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +14 -8
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +52 -150
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +247 -52
- package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
- package/src/components/TextInput/index.tsx +27 -9
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +19 -4
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +19 -4
- package/src/index.ts +8 -0
- package/src/theme/ThemeSwitcher.tsx +9 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +20 -9
- package/src/theme/components/refreshControl.ts +11 -0
- package/src/theme/components/richTextEditor.ts +6 -5
- package/src/theme/components/spinner.ts +4 -1
- package/src/theme/components/swipeable.ts +13 -0
- package/src/theme/components/textInput.ts +0 -5
- package/src/theme/getTheme.ts +6 -0
- package/src/theme/global/colors/jobs.ts +17 -0
- package/src/theme/global/colors/work.ts +0 -2
- package/src/theme/global/index.ts +8 -1
- package/src/theme/index.ts +6 -1
- package/src/types.ts +2 -0
- package/src/utils/__tests__/helpers.spec.ts +27 -0
- package/src/utils/helpers.ts +21 -0
- package/testUtils/setup.tsx +13 -0
- package/tsconfig.prod.json +4 -0
- package/types/components/Empty/index.d.ts +1 -2
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +4 -1
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/RefreshControl/index.d.ts +5 -0
- package/types/components/RichTextEditor/MentionList.d.ts +7 -3
- package/types/components/RichTextEditor/index.d.ts +1 -1
- package/types/components/Select/types.d.ts +1 -3
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Spinner/StyledSpinner.d.ts +1 -0
- package/types/components/Spinner/index.d.ts +5 -1
- package/types/components/Swipeable/StyledSwipeable.d.ts +10 -0
- package/types/components/Swipeable/SwipeableAction.d.ts +27 -0
- package/types/components/Swipeable/index.d.ts +41 -0
- package/types/components/TextInput/StyledTextInput.d.ts +11 -4
- package/types/components/TextInput/index.d.ts +1 -1
- package/types/index.d.ts +4 -2
- package/types/theme/ThemeSwitcher.d.ts +1 -1
- package/types/theme/components/refreshControl.d.ts +7 -0
- package/types/theme/components/richTextEditor.d.ts +4 -3
- package/types/theme/components/spinner.d.ts +4 -1
- package/types/theme/components/swipeable.d.ts +9 -0
- package/types/theme/components/textInput.d.ts +0 -5
- package/types/theme/getTheme.d.ts +4 -0
- package/types/theme/global/colors/jobs.d.ts +3 -0
- package/types/theme/global/index.d.ts +2 -1
- package/types/theme/index.d.ts +2 -2
- package/types/types.d.ts +2 -1
- package/types/utils/helpers.d.ts +2 -0
- package/src/components/Box/__tests__/helpers.spec.ts +0 -14
- package/src/components/Box/helpers.ts +0 -10
- package/src/components/Icon/HeroIcon/selection.json +0 -7029
- package/types/components/Accordion/__tests__/AccordionItem.spec.d.ts +0 -1
- package/types/components/Accordion/__tests__/StyledAccordion.spec.d.ts +0 -1
- package/types/components/Accordion/__tests__/index.spec.d.ts +0 -1
- package/types/components/Alert/__tests__/index.spec.d.ts +0 -1
- package/types/components/Avatar/__tests__/StyledAvatar.spec.d.ts +0 -1
- package/types/components/Avatar/__tests__/index.spec.d.ts +0 -1
- package/types/components/Badge/__tests__/Badge.spec.d.ts +0 -1
- package/types/components/Badge/__tests__/Status.spec.d.ts +0 -1
- package/types/components/BottomNavigation/__tests__/index.spec.d.ts +0 -1
- package/types/components/BottomSheet/__tests__/index.spec.d.ts +0 -1
- package/types/components/Box/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Box/__tests__/index.spec.d.ts +0 -1
- package/types/components/Box/helpers.d.ts +0 -1
- package/types/components/Button/LoadingIndicator/__tests__/StyledLoadingIndicator.spec.d.ts +0 -1
- package/types/components/Button/LoadingIndicator/__tests__/index.spec.d.ts +0 -1
- package/types/components/Button/UtilityButton/__tests__/index.spec.d.ts +0 -1
- package/types/components/Button/__tests__/Button.spec.d.ts +0 -1
- package/types/components/Button/__tests__/IconButton.spec.d.ts +0 -1
- package/types/components/Button/__tests__/StyledButton.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/CalendarRowItem.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/helper.spec.d.ts +0 -1
- package/types/components/Calendar/__tests__/index.spec.d.ts +0 -1
- package/types/components/Card/DataCard/__tests__/StyledDataCard.spec.d.ts +0 -1
- package/types/components/Card/DataCard/__tests__/index.spec.d.ts +0 -1
- package/types/components/Card/__tests__/StyledCard.spec.d.ts +0 -1
- package/types/components/Card/__tests__/index.spec.d.ts +0 -1
- package/types/components/Checkbox/__tests__/StyledCheckbox.spec.d.ts +0 -1
- package/types/components/Checkbox/__tests__/index.spec.d.ts +0 -1
- package/types/components/Collapse/__tests__/StyledCollapse.spec.d.ts +0 -1
- package/types/components/Collapse/__tests__/index.spec.d.ts +0 -1
- package/types/components/ContentNavigator/__tests__/StyledContentNavigator.spec.d.ts +0 -1
- package/types/components/ContentNavigator/__tests__/index.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePicker.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePickerAndroid.spec.d.ts +0 -1
- package/types/components/DatePicker/__tests__/DatePickerIOS.spec.d.ts +0 -1
- package/types/components/Divider/__tests__/StyledDivider.spec.d.ts +0 -1
- package/types/components/Drawer/DragableDrawer/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Drawer/DragableDrawer/__tests__/index.spec.d.ts +0 -1
- package/types/components/Drawer/__tests__/index.spec.d.ts +0 -1
- package/types/components/Empty/__tests__/index.spec.d.ts +0 -1
- package/types/components/FAB/ActionGroup/__tests__/index.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/AnimatedFABIcon.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/StyledFAB.spec.d.ts +0 -1
- package/types/components/FAB/__tests__/index.spec.d.ts +0 -1
- package/types/components/Icon/__tests__/index.spec.d.ts +0 -1
- package/types/components/Image/__tests__/index.spec.d.ts +0 -1
- package/types/components/List/__tests__/BasicListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/ListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/StyledBasicListItem.spec.d.ts +0 -1
- package/types/components/List/__tests__/StyledListItem.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/PinCell.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/StyledPinInput.spec.d.ts +0 -1
- package/types/components/PinInput/__tests__/index.spec.d.ts +0 -1
- package/types/components/Radio/__tests__/Radio.spec.d.ts +0 -1
- package/types/components/Radio/__tests__/RadioGroup.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/EditorToolbar.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/MentionList.spec.d.ts +0 -1
- package/types/components/RichTextEditor/__tests__/RichTextEditor.spec.d.ts +0 -1
- package/types/components/SectionHeading/__tests__/StyledHeading.spec.d.ts +0 -1
- package/types/components/SectionHeading/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/OptionList.spec.d.ts +0 -1
- package/types/components/Select/MultiSelect/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/OptionList.spec.d.ts +0 -1
- package/types/components/Select/SingleSelect/__tests__/index.spec.d.ts +0 -1
- package/types/components/Select/__tests__/StyledSelect.spec.d.ts +0 -1
- package/types/components/Select/__tests__/helpers.spec.d.ts +0 -1
- package/types/components/Slider/__tests__/index.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/AnimatedSpinner.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/StyledSpinner.spec.d.ts +0 -1
- package/types/components/Spinner/__tests__/index.spec.d.ts +0 -1
- package/types/components/Switch/SelectorSwitch/__tests__/Option.spec.d.ts +0 -1
- package/types/components/Switch/SelectorSwitch/__tests__/index.spec.d.ts +0 -1
- package/types/components/Switch/__tests__/StyledSwitch.spec.d.ts +0 -1
- package/types/components/Switch/__tests__/index.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/ScrollableTabs.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/TabWithBadge.spec.d.ts +0 -1
- package/types/components/Tabs/__tests__/index.spec.d.ts +0 -1
- package/types/components/Tag/__tests__/Tag.spec.d.ts +0 -1
- package/types/components/TextInput/__tests__/StyledTextInput.spec.d.ts +0 -1
- package/types/components/TextInput/__tests__/index.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePicker.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePickerAndroid.spec.d.ts +0 -1
- package/types/components/TimePicker/__tests__/TimePickerIOS.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/Toast.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/ToastContainer.spec.d.ts +0 -1
- package/types/components/Toast/__tests__/index.spec.d.ts +0 -1
- package/types/components/Toolbar/__tests__/ToolbarGroup.spec.d.ts +0 -1
- package/types/components/Toolbar/__tests__/ToolbarItem.spec.d.ts +0 -1
- package/types/components/Typography/Text/__tests__/StyledText.spec.d.ts +0 -1
- package/types/components/Typography/Text/__tests__/index.spec.d.ts +0 -1
- package/types/theme/__tests__/index.spec.d.ts +0 -1
- 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
|
|
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": "#
|
|
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="
|
|
456
|
+
themeVariant="readonly"
|
|
517
457
|
>
|
|
518
458
|
*
|
|
519
459
|
</Text>
|
|
520
460
|
`;
|
|
521
461
|
|
|
522
|
-
exports[`
|
|
523
|
-
<
|
|
462
|
+
exports[`StyledBorderBackDrop renders correctly when focused 1`] = `
|
|
463
|
+
<View
|
|
524
464
|
style={
|
|
525
465
|
Array [
|
|
526
466
|
Object {
|
|
527
|
-
"
|
|
528
|
-
"
|
|
529
|
-
"
|
|
530
|
-
"
|
|
531
|
-
"
|
|
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
|
-
|
|
534
|
-
Object {
|
|
535
|
-
"color": "#808f91",
|
|
536
|
-
},
|
|
537
|
-
undefined,
|
|
538
|
-
],
|
|
476
|
+
undefined,
|
|
539
477
|
]
|
|
540
478
|
}
|
|
541
|
-
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
themeVariant="readonly"
|
|
545
|
-
>
|
|
546
|
-
*
|
|
547
|
-
</Text>
|
|
479
|
+
themeFocused={true}
|
|
480
|
+
themeVariant="error"
|
|
481
|
+
/>
|
|
548
482
|
`;
|
|
549
483
|
|
|
550
|
-
exports[`
|
|
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
|
-
"
|
|
559
|
-
"
|
|
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[`
|
|
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
|
-
"
|
|
577
|
-
"
|
|
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[`
|
|
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
|
-
"
|
|
595
|
-
"
|
|
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[`
|
|
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
|
-
"
|
|
613
|
-
"
|
|
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[`
|
|
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
|
-
"
|
|
649
|
-
"
|
|
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={
|