@hero-design/rn 7.23.0 → 7.25.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 +2 -2
- package/assets/fonts/hero-icons.ttf +0 -0
- package/es/index.js +1364 -9239
- package/lib/assets/fonts/hero-icons.ttf +0 -0
- package/lib/index.js +1368 -9238
- package/package.json +7 -4
- package/rollup.config.js +1 -0
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +4 -4
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +6 -6
- package/src/components/Attachment/StyledAttachment.tsx +44 -0
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +158 -0
- package/src/components/Attachment/__tests__/index.spec.tsx +59 -0
- package/src/components/Attachment/index.tsx +77 -0
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +3 -3
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Badge/Status.tsx +1 -1
- package/src/components/Badge/StyledBadge.tsx +8 -1
- package/src/components/Badge/__tests__/Badge.spec.tsx +9 -0
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +44 -0
- package/src/components/Badge/index.tsx +1 -1
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/BottomSheet/Header.tsx +2 -1
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +52 -52
- package/src/components/BottomSheet/index.tsx +4 -4
- package/src/components/Button/Button.tsx +0 -11
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +4 -4
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/Button/LoadingIndicator/index.tsx +1 -1
- package/src/components/Button/StyledButton.tsx +24 -63
- package/src/components/Button/UtilityButton/__tests__/index.spec.tsx +2 -2
- package/src/components/Button/__tests__/Button.spec.tsx +10 -5
- package/src/components/Button/__tests__/StyledButton.spec.tsx +0 -70
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +301 -1206
- package/src/components/Calendar/CalendarRowItem.tsx +1 -4
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +5 -5
- package/src/components/Calendar/index.tsx +4 -3
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +1 -1
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Checkbox/StyledCheckbox.tsx +7 -5
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +4 -12
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +95 -42
- package/src/components/Checkbox/index.tsx +4 -2
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/ContentNavigator/index.tsx +14 -9
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +29 -27
- package/src/components/Drawer/DragableDrawer/index.tsx +0 -2
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +2 -2
- package/src/components/Empty/index.tsx +1 -2
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +12 -12
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +1 -1
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- 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 +36 -6
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Icon/index.tsx +1 -0
- package/src/components/List/BasicListItem.tsx +13 -8
- package/src/components/List/ListItem.tsx +8 -6
- package/src/components/List/StyledBasicListItem.tsx +2 -2
- package/src/components/List/StyledListItem.tsx +2 -2
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +24 -36
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +39 -59
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +40 -44
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +50 -50
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +6 -6
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +21 -21
- package/src/components/Progress/ProgressBar.tsx +1 -1
- package/src/components/Progress/ProgressCircle.tsx +1 -1
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +10 -10
- package/src/components/Progress/types.ts +7 -1
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +20 -32
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +30 -48
- package/src/components/RefreshControl/__tests__/index.spec.tsx +1 -3
- package/src/components/RefreshControl/index.tsx +4 -2
- package/src/components/RichTextEditor/MentionList.tsx +12 -3
- package/src/components/RichTextEditor/RichTextEditor.tsx +4 -8
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +6 -4
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +13 -20
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +154 -238
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +435 -650
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +11 -18
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +144 -228
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +414 -629
- package/src/components/Select/StyledOptionList.tsx +0 -1
- package/src/components/Select/__tests__/__snapshots__/StyledSelect.spec.tsx.snap +1 -1
- package/src/components/Spinner/AnimatedSpinner.tsx +22 -7
- package/src/components/Spinner/StyledSpinner.tsx +15 -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 +12 -8
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +543 -83
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +12 -8
- 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 +160 -0
- package/src/components/Switch/SelectorSwitch/Option.tsx +1 -5
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/index.spec.tsx +1 -0
- package/src/components/Switch/SelectorSwitch/index.tsx +4 -1
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +1 -1
- package/src/components/Tabs/StyledTabs.tsx +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +1 -1
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1 -1
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +2 -2
- package/src/components/TextInput/StyledTextInput.tsx +7 -12
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +12 -6
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +31 -146
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +40 -14
- package/src/components/TextInput/__tests__/index.spec.tsx +114 -124
- package/src/components/TextInput/index.tsx +8 -6
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +2 -0
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +29 -27
- package/src/components/Toast/Toast.tsx +0 -3
- package/src/components/Toast/ToastProvider.tsx +1 -0
- package/src/components/Toast/__tests__/index.spec.tsx +1 -1
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +12 -12
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +6 -6
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +4 -4
- package/src/emotion.d.ts +1 -0
- package/src/index.ts +10 -0
- package/src/theme/ThemeSwitcher.tsx +7 -1
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +96 -78
- package/src/theme/__tests__/ensureCompatibleWithV7.spec.tsx +13 -0
- package/src/theme/components/alert.ts +1 -1
- package/src/theme/components/attachment.ts +28 -0
- package/src/theme/components/avatar.ts +1 -1
- package/src/theme/components/badge.ts +2 -1
- package/src/theme/components/bottomNavigation.ts +1 -1
- package/src/theme/components/bottomSheet.ts +2 -2
- package/src/theme/components/button.ts +4 -20
- package/src/theme/components/calendar.ts +3 -3
- package/src/theme/components/card.ts +1 -1
- package/src/theme/components/checkbox.ts +2 -2
- package/src/theme/components/divider.ts +1 -1
- package/src/theme/components/drawer.ts +2 -2
- package/src/theme/components/empty.ts +3 -3
- package/src/theme/components/fab.ts +7 -7
- package/src/theme/components/icon.ts +4 -4
- package/src/theme/components/list.ts +0 -2
- package/src/theme/components/pinInput.ts +4 -4
- package/src/theme/components/progress.ts +6 -5
- package/src/theme/components/radio.ts +1 -1
- package/src/theme/components/richTextEditor.ts +2 -2
- package/src/theme/components/slider.ts +2 -2
- package/src/theme/components/spinner.ts +4 -1
- package/src/theme/components/swipeable.ts +13 -0
- package/src/theme/components/switch.ts +4 -4
- package/src/theme/components/tabs.ts +6 -5
- package/src/theme/components/tag.ts +2 -2
- package/src/theme/components/textInput.ts +23 -33
- package/src/theme/components/toast.ts +3 -3
- package/src/theme/components/toolbar.ts +3 -3
- package/src/theme/components/typography.ts +7 -7
- package/src/theme/getTheme.ts +7 -1
- package/src/theme/global/colors/eBens.ts +23 -0
- package/src/theme/global/colors/global.ts +15 -6
- package/src/theme/global/colors/jobs.ts +15 -10
- package/src/theme/global/colors/legacySystemPalette.ts +6 -6
- package/src/theme/global/colors/swag.ts +32 -53
- package/src/theme/global/colors/types.ts +35 -15
- package/src/theme/global/colors/wallet.ts +23 -0
- package/src/theme/global/colors/work.ts +15 -11
- package/src/theme/global/index.ts +4 -0
- package/src/theme/index.ts +4 -0
- package/src/types.ts +2 -0
- package/src/utils/functions.ts +2 -0
- package/src/utils/scale.ts +1 -1
- package/testUtils/setup.tsx +13 -0
- package/tsconfig.json +8 -2
- package/types/components/Accordion/StyledAccordion.d.ts +14 -14
- package/types/components/Alert/StyledAlert.d.ts +15 -15
- package/types/components/Attachment/StyledAttachment.d.ts +28 -0
- package/types/components/Attachment/index.d.ts +37 -0
- package/types/components/Avatar/StyledAvatar.d.ts +15 -15
- package/types/components/Avatar/index.d.ts +1 -1
- package/types/components/Badge/Status.d.ts +1 -1
- package/types/components/Badge/StyledBadge.d.ts +8 -8
- package/types/components/Badge/index.d.ts +1 -1
- package/types/components/BottomNavigation/StyledBottomNavigation.d.ts +21 -21
- package/types/components/BottomSheet/Header.d.ts +1 -1
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +22 -22
- package/types/components/Box/StyledBox.d.ts +4 -4
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +7 -7
- package/types/components/Button/StyledButton.d.ts +15 -18
- package/types/components/Button/UtilityButton/StyledUtilityButton.d.ts +8 -8
- package/types/components/Calendar/StyledCalendar.d.ts +25 -25
- package/types/components/Calendar/helpers.d.ts +2 -2
- package/types/components/Card/DataCard/StyledDataCard.d.ts +6 -6
- package/types/components/Card/StyledCard.d.ts +7 -7
- package/types/components/Checkbox/StyledCheckbox.d.ts +16 -10
- package/types/components/Collapse/StyledCollapse.d.ts +8 -8
- package/types/components/ContentNavigator/StyledContentNavigator.d.ts +5 -5
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/StyledDatePicker.d.ts +3 -3
- package/types/components/Divider/StyledDivider.d.ts +5 -5
- package/types/components/Drawer/StyledDrawer.d.ts +19 -19
- package/types/components/Empty/StyledEmpty.d.ts +9 -9
- package/types/components/Empty/index.d.ts +1 -2
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +11 -11
- package/types/components/FAB/ActionGroup/StyledActionItem.d.ts +7 -7
- package/types/components/FAB/StyledFAB.d.ts +8 -8
- package/types/components/Icon/HeroIcon/index.d.ts +3 -3
- 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/List/StyledBasicListItem.d.ts +16 -16
- package/types/components/List/StyledListItem.d.ts +25 -25
- package/types/components/PinInput/StyledPinInput.d.ts +30 -30
- package/types/components/Progress/ProgressBar.d.ts +1 -1
- package/types/components/Progress/ProgressCircle.d.ts +1 -1
- package/types/components/Progress/StyledProgressBar.d.ts +5 -5
- package/types/components/Progress/StyledProgressCircle.d.ts +18 -18
- package/types/components/Progress/types.d.ts +1 -1
- package/types/components/Radio/StyledRadio.d.ts +9 -9
- package/types/components/RefreshControl/index.d.ts +1 -2
- package/types/components/RichTextEditor/EditorToolbar.d.ts +1 -1
- package/types/components/RichTextEditor/MentionList.d.ts +1 -1
- package/types/components/RichTextEditor/StyledRichTextEditor.d.ts +6 -6
- package/types/components/RichTextEditor/StyledToolbar.d.ts +9 -9
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/SectionHeading/StyledHeading.d.ts +9 -9
- package/types/components/Select/MultiSelect/Option.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +1 -1
- package/types/components/Select/StyledSelect.d.ts +11 -11
- package/types/components/Select/helpers.d.ts +1 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Spinner/StyledSpinner.d.ts +13 -12
- 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 +45 -0
- package/types/components/Switch/SelectorSwitch/Option.d.ts +3 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +9 -9
- package/types/components/Switch/StyledSwitch.d.ts +5 -5
- package/types/components/Tabs/StyledScrollableTabs.d.ts +23 -23
- package/types/components/Tabs/StyledTabs.d.ts +22 -22
- package/types/components/Tag/StyledTag.d.ts +6 -6
- package/types/components/TextInput/StyledTextInput.d.ts +46 -45
- package/types/components/TextInput/index.d.ts +6 -6
- package/types/components/TimePicker/StyledTimePicker.d.ts +3 -3
- package/types/components/Toast/StyledToast.d.ts +17 -17
- package/types/components/Toolbar/StyledToolbar.d.ts +9 -9
- package/types/components/Typography/Text/StyledText.d.ts +3 -3
- package/types/index.d.ts +4 -2
- package/types/testHelpers/renderWithTheme.d.ts +1 -1
- package/types/theme/ThemeSwitcher.d.ts +2 -2
- package/types/theme/components/attachment.d.ts +21 -0
- package/types/theme/components/badge.d.ts +1 -0
- package/types/theme/components/button.d.ts +0 -15
- package/types/theme/components/list.d.ts +0 -1
- package/types/theme/components/progress.d.ts +1 -0
- package/types/theme/components/spinner.d.ts +4 -1
- package/types/theme/components/swipeable.d.ts +9 -0
- package/types/theme/components/tabs.d.ts +1 -0
- package/types/theme/components/tag.d.ts +2 -2
- package/types/theme/components/textInput.d.ts +0 -10
- package/types/theme/getTheme.d.ts +4 -0
- package/types/theme/global/colors/eBens.d.ts +3 -0
- package/types/theme/global/colors/types.d.ts +23 -16
- package/types/theme/global/colors/wallet.d.ts +3 -0
- package/types/theme/global/index.d.ts +26 -12
- package/types/theme/index.d.ts +2 -2
- package/types/types.d.ts +2 -1
- package/types/utils/functions.d.ts +1 -0
- package/types/utils/hooks.d.ts +1 -1
- package/src/components/Icon/HeroIcon/selection.json +0 -7029
|
@@ -251,7 +251,7 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
251
251
|
Array [
|
|
252
252
|
Object {
|
|
253
253
|
"alignItems": "center",
|
|
254
|
-
"borderColor": "#
|
|
254
|
+
"borderColor": "#bfc1c5",
|
|
255
255
|
"borderRadius": 8,
|
|
256
256
|
"borderWidth": 1,
|
|
257
257
|
"height": 48,
|
|
@@ -268,8 +268,8 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
268
268
|
style={
|
|
269
269
|
Array [
|
|
270
270
|
Object {
|
|
271
|
-
"backgroundColor": "#
|
|
272
|
-
"borderColor": "#
|
|
271
|
+
"backgroundColor": "#bfc1c5",
|
|
272
|
+
"borderColor": "#bfc1c5",
|
|
273
273
|
"borderRadius": 999,
|
|
274
274
|
"borderWidth": 1,
|
|
275
275
|
"height": 16,
|
|
@@ -297,7 +297,7 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
297
297
|
Array [
|
|
298
298
|
Object {
|
|
299
299
|
"alignItems": "center",
|
|
300
|
-
"borderColor": "#
|
|
300
|
+
"borderColor": "#bfc1c5",
|
|
301
301
|
"borderRadius": 8,
|
|
302
302
|
"borderWidth": 1,
|
|
303
303
|
"height": 48,
|
|
@@ -314,8 +314,8 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
314
314
|
style={
|
|
315
315
|
Array [
|
|
316
316
|
Object {
|
|
317
|
-
"backgroundColor": "#
|
|
318
|
-
"borderColor": "#
|
|
317
|
+
"backgroundColor": "#bfc1c5",
|
|
318
|
+
"borderColor": "#bfc1c5",
|
|
319
319
|
"borderRadius": 999,
|
|
320
320
|
"borderWidth": 1,
|
|
321
321
|
"height": 16,
|
|
@@ -343,7 +343,7 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
343
343
|
Array [
|
|
344
344
|
Object {
|
|
345
345
|
"alignItems": "center",
|
|
346
|
-
"borderColor": "#
|
|
346
|
+
"borderColor": "#bfc1c5",
|
|
347
347
|
"borderRadius": 8,
|
|
348
348
|
"borderWidth": 1,
|
|
349
349
|
"height": 48,
|
|
@@ -360,7 +360,7 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
360
360
|
style={
|
|
361
361
|
Array [
|
|
362
362
|
Object {
|
|
363
|
-
"borderColor": "#
|
|
363
|
+
"borderColor": "#bfc1c5",
|
|
364
364
|
"borderRadius": 999,
|
|
365
365
|
"borderWidth": 1,
|
|
366
366
|
"height": 16,
|
|
@@ -388,7 +388,7 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
388
388
|
Array [
|
|
389
389
|
Object {
|
|
390
390
|
"alignItems": "center",
|
|
391
|
-
"borderColor": "#
|
|
391
|
+
"borderColor": "#bfc1c5",
|
|
392
392
|
"borderRadius": 8,
|
|
393
393
|
"borderWidth": 1,
|
|
394
394
|
"height": 48,
|
|
@@ -405,7 +405,7 @@ exports[`rendering renders correctly when disabled 1`] = `
|
|
|
405
405
|
style={
|
|
406
406
|
Array [
|
|
407
407
|
Object {
|
|
408
|
-
"borderColor": "#
|
|
408
|
+
"borderColor": "#bfc1c5",
|
|
409
409
|
"borderRadius": 999,
|
|
410
410
|
"borderWidth": 1,
|
|
411
411
|
"height": 16,
|
|
@@ -786,7 +786,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
786
786
|
Array [
|
|
787
787
|
Object {
|
|
788
788
|
"alignItems": "center",
|
|
789
|
-
"borderColor": "#
|
|
789
|
+
"borderColor": "#de350b",
|
|
790
790
|
"borderRadius": 8,
|
|
791
791
|
"borderWidth": 1,
|
|
792
792
|
"height": 48,
|
|
@@ -803,8 +803,8 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
803
803
|
style={
|
|
804
804
|
Array [
|
|
805
805
|
Object {
|
|
806
|
-
"backgroundColor": "#
|
|
807
|
-
"borderColor": "#
|
|
806
|
+
"backgroundColor": "#de350b",
|
|
807
|
+
"borderColor": "#de350b",
|
|
808
808
|
"borderRadius": 999,
|
|
809
809
|
"borderWidth": 1,
|
|
810
810
|
"height": 16,
|
|
@@ -832,7 +832,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
832
832
|
Array [
|
|
833
833
|
Object {
|
|
834
834
|
"alignItems": "center",
|
|
835
|
-
"borderColor": "#
|
|
835
|
+
"borderColor": "#de350b",
|
|
836
836
|
"borderRadius": 8,
|
|
837
837
|
"borderWidth": 1,
|
|
838
838
|
"height": 48,
|
|
@@ -849,8 +849,8 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
849
849
|
style={
|
|
850
850
|
Array [
|
|
851
851
|
Object {
|
|
852
|
-
"backgroundColor": "#
|
|
853
|
-
"borderColor": "#
|
|
852
|
+
"backgroundColor": "#de350b",
|
|
853
|
+
"borderColor": "#de350b",
|
|
854
854
|
"borderRadius": 999,
|
|
855
855
|
"borderWidth": 1,
|
|
856
856
|
"height": 16,
|
|
@@ -878,7 +878,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
878
878
|
Array [
|
|
879
879
|
Object {
|
|
880
880
|
"alignItems": "center",
|
|
881
|
-
"borderColor": "#
|
|
881
|
+
"borderColor": "#de350b",
|
|
882
882
|
"borderRadius": 8,
|
|
883
883
|
"borderWidth": 1,
|
|
884
884
|
"height": 48,
|
|
@@ -895,7 +895,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
895
895
|
style={
|
|
896
896
|
Array [
|
|
897
897
|
Object {
|
|
898
|
-
"borderColor": "#
|
|
898
|
+
"borderColor": "#de350b",
|
|
899
899
|
"borderRadius": 999,
|
|
900
900
|
"borderWidth": 1,
|
|
901
901
|
"height": 16,
|
|
@@ -923,7 +923,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
923
923
|
Array [
|
|
924
924
|
Object {
|
|
925
925
|
"alignItems": "center",
|
|
926
|
-
"borderColor": "#
|
|
926
|
+
"borderColor": "#de350b",
|
|
927
927
|
"borderRadius": 8,
|
|
928
928
|
"borderWidth": 1,
|
|
929
929
|
"height": 48,
|
|
@@ -940,7 +940,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
940
940
|
style={
|
|
941
941
|
Array [
|
|
942
942
|
Object {
|
|
943
|
-
"borderColor": "#
|
|
943
|
+
"borderColor": "#de350b",
|
|
944
944
|
"borderRadius": 999,
|
|
945
945
|
"borderWidth": 1,
|
|
946
946
|
"height": 16,
|
|
@@ -984,7 +984,7 @@ exports[`rendering renders correctly when there is error 1`] = `
|
|
|
984
984
|
style={
|
|
985
985
|
Array [
|
|
986
986
|
Object {
|
|
987
|
-
"color": "#
|
|
987
|
+
"color": "#de350b",
|
|
988
988
|
"fontFamily": "BeVietnamPro-Regular",
|
|
989
989
|
"fontSize": 12,
|
|
990
990
|
"paddingLeft": 4,
|
|
@@ -12,7 +12,7 @@ export interface ProgressBarProps extends ViewProps {
|
|
|
12
12
|
/**
|
|
13
13
|
* Set intent for your progress.
|
|
14
14
|
*/
|
|
15
|
-
intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
15
|
+
intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
|
|
16
16
|
/**
|
|
17
17
|
* Additional style.
|
|
18
18
|
*/
|
|
@@ -21,7 +21,7 @@ export interface ProgressCircleProps extends ViewProps {
|
|
|
21
21
|
/**
|
|
22
22
|
* Set intent for your progress.
|
|
23
23
|
*/
|
|
24
|
-
intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info';
|
|
24
|
+
intent?: 'primary' | 'success' | 'warning' | 'danger' | 'info' | 'archived';
|
|
25
25
|
/**
|
|
26
26
|
* Additional style.
|
|
27
27
|
*/
|
|
@@ -22,7 +22,7 @@ exports[`Progress.Bar renders correctly 1`] = `
|
|
|
22
22
|
style={
|
|
23
23
|
Object {
|
|
24
24
|
"alignSelf": "stretch",
|
|
25
|
-
"backgroundColor": "#
|
|
25
|
+
"backgroundColor": "#401960",
|
|
26
26
|
"borderBottomRightRadius": 999,
|
|
27
27
|
"borderTopRightRadius": 999,
|
|
28
28
|
"flex": 1,
|
|
@@ -60,7 +60,7 @@ exports[`Progress.Bar renders correctly with intent 1`] = `
|
|
|
60
60
|
style={
|
|
61
61
|
Object {
|
|
62
62
|
"alignSelf": "stretch",
|
|
63
|
-
"backgroundColor": "#
|
|
63
|
+
"backgroundColor": "#017d6d",
|
|
64
64
|
"borderBottomRightRadius": 999,
|
|
65
65
|
"borderTopRightRadius": 999,
|
|
66
66
|
"flex": 1,
|
|
@@ -108,7 +108,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
108
108
|
style={
|
|
109
109
|
Array [
|
|
110
110
|
Object {
|
|
111
|
-
"backgroundColor": "#
|
|
111
|
+
"backgroundColor": "#401960",
|
|
112
112
|
"borderRadius": 999,
|
|
113
113
|
"height": 72,
|
|
114
114
|
"width": 72,
|
|
@@ -200,7 +200,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
200
200
|
style={
|
|
201
201
|
Array [
|
|
202
202
|
Object {
|
|
203
|
-
"backgroundColor": "#
|
|
203
|
+
"backgroundColor": "#401960",
|
|
204
204
|
"borderRadius": 999,
|
|
205
205
|
"height": 72,
|
|
206
206
|
"width": 72,
|
|
@@ -268,7 +268,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
268
268
|
style={
|
|
269
269
|
Array [
|
|
270
270
|
Object {
|
|
271
|
-
"backgroundColor": "#
|
|
271
|
+
"backgroundColor": "#401960",
|
|
272
272
|
"borderRadius": 999,
|
|
273
273
|
"height": 5.3999999999999995,
|
|
274
274
|
"left": 33.3,
|
|
@@ -305,7 +305,7 @@ exports[`Progress.Circle renders correctly 1`] = `
|
|
|
305
305
|
style={
|
|
306
306
|
Array [
|
|
307
307
|
Object {
|
|
308
|
-
"backgroundColor": "#
|
|
308
|
+
"backgroundColor": "#401960",
|
|
309
309
|
"borderRadius": 999,
|
|
310
310
|
"height": 5.3999999999999995,
|
|
311
311
|
"left": 33.3,
|
|
@@ -395,7 +395,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
395
395
|
style={
|
|
396
396
|
Array [
|
|
397
397
|
Object {
|
|
398
|
-
"backgroundColor": "#
|
|
398
|
+
"backgroundColor": "#017d6d",
|
|
399
399
|
"borderRadius": 999,
|
|
400
400
|
"height": 72,
|
|
401
401
|
"width": 72,
|
|
@@ -487,7 +487,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
487
487
|
style={
|
|
488
488
|
Array [
|
|
489
489
|
Object {
|
|
490
|
-
"backgroundColor": "#
|
|
490
|
+
"backgroundColor": "#017d6d",
|
|
491
491
|
"borderRadius": 999,
|
|
492
492
|
"height": 72,
|
|
493
493
|
"width": 72,
|
|
@@ -555,7 +555,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
555
555
|
style={
|
|
556
556
|
Array [
|
|
557
557
|
Object {
|
|
558
|
-
"backgroundColor": "#
|
|
558
|
+
"backgroundColor": "#017d6d",
|
|
559
559
|
"borderRadius": 999,
|
|
560
560
|
"height": 5.3999999999999995,
|
|
561
561
|
"left": 33.3,
|
|
@@ -592,7 +592,7 @@ exports[`Progress.Circle renders correctly with intent 1`] = `
|
|
|
592
592
|
style={
|
|
593
593
|
Array [
|
|
594
594
|
Object {
|
|
595
|
-
"backgroundColor": "#
|
|
595
|
+
"backgroundColor": "#017d6d",
|
|
596
596
|
"borderRadius": 999,
|
|
597
597
|
"height": 5.3999999999999995,
|
|
598
598
|
"left": 33.3,
|
|
@@ -2,13 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`rendering renders correctly when checked 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
accessibilityState={
|
|
6
|
-
Object {
|
|
7
|
-
"disabled": false,
|
|
8
|
-
}
|
|
9
|
-
}
|
|
10
5
|
accessible={true}
|
|
6
|
+
collapsable={false}
|
|
11
7
|
focusable={true}
|
|
8
|
+
nativeID="animatedComponent"
|
|
12
9
|
onClick={[Function]}
|
|
13
10
|
onResponderGrant={[Function]}
|
|
14
11
|
onResponderMove={[Function]}
|
|
@@ -17,17 +14,14 @@ exports[`rendering renders correctly when checked 1`] = `
|
|
|
17
14
|
onResponderTerminationRequest={[Function]}
|
|
18
15
|
onStartShouldSetResponder={[Function]}
|
|
19
16
|
style={
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
},
|
|
29
|
-
undefined,
|
|
30
|
-
]
|
|
17
|
+
Object {
|
|
18
|
+
"alignItems": "center",
|
|
19
|
+
"backgroundColor": "#ece8ef",
|
|
20
|
+
"borderRadius": 4,
|
|
21
|
+
"flexDirection": "row",
|
|
22
|
+
"opacity": 1,
|
|
23
|
+
"padding": 16,
|
|
24
|
+
}
|
|
31
25
|
}
|
|
32
26
|
>
|
|
33
27
|
<View
|
|
@@ -107,13 +101,10 @@ exports[`rendering renders correctly when checked 1`] = `
|
|
|
107
101
|
|
|
108
102
|
exports[`rendering renders correctly when not checked 1`] = `
|
|
109
103
|
<View
|
|
110
|
-
accessibilityState={
|
|
111
|
-
Object {
|
|
112
|
-
"disabled": false,
|
|
113
|
-
}
|
|
114
|
-
}
|
|
115
104
|
accessible={true}
|
|
105
|
+
collapsable={false}
|
|
116
106
|
focusable={true}
|
|
107
|
+
nativeID="animatedComponent"
|
|
117
108
|
onClick={[Function]}
|
|
118
109
|
onResponderGrant={[Function]}
|
|
119
110
|
onResponderMove={[Function]}
|
|
@@ -122,17 +113,14 @@ exports[`rendering renders correctly when not checked 1`] = `
|
|
|
122
113
|
onResponderTerminationRequest={[Function]}
|
|
123
114
|
onStartShouldSetResponder={[Function]}
|
|
124
115
|
style={
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
},
|
|
134
|
-
undefined,
|
|
135
|
-
]
|
|
116
|
+
Object {
|
|
117
|
+
"alignItems": "center",
|
|
118
|
+
"backgroundColor": "#ffffff",
|
|
119
|
+
"borderRadius": 4,
|
|
120
|
+
"flexDirection": "row",
|
|
121
|
+
"opacity": 1,
|
|
122
|
+
"padding": 16,
|
|
123
|
+
}
|
|
136
124
|
}
|
|
137
125
|
>
|
|
138
126
|
<View
|
|
@@ -3,13 +3,10 @@
|
|
|
3
3
|
exports[`rendering renders correctly 1`] = `
|
|
4
4
|
<View>
|
|
5
5
|
<View
|
|
6
|
-
accessibilityState={
|
|
7
|
-
Object {
|
|
8
|
-
"disabled": false,
|
|
9
|
-
}
|
|
10
|
-
}
|
|
11
6
|
accessible={true}
|
|
7
|
+
collapsable={false}
|
|
12
8
|
focusable={true}
|
|
9
|
+
nativeID="animatedComponent"
|
|
13
10
|
onClick={[Function]}
|
|
14
11
|
onResponderGrant={[Function]}
|
|
15
12
|
onResponderMove={[Function]}
|
|
@@ -18,17 +15,14 @@ exports[`rendering renders correctly 1`] = `
|
|
|
18
15
|
onResponderTerminationRequest={[Function]}
|
|
19
16
|
onStartShouldSetResponder={[Function]}
|
|
20
17
|
style={
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
},
|
|
30
|
-
undefined,
|
|
31
|
-
]
|
|
18
|
+
Object {
|
|
19
|
+
"alignItems": "center",
|
|
20
|
+
"backgroundColor": "#ffffff",
|
|
21
|
+
"borderRadius": 4,
|
|
22
|
+
"flexDirection": "row",
|
|
23
|
+
"opacity": 1,
|
|
24
|
+
"padding": 16,
|
|
25
|
+
}
|
|
32
26
|
}
|
|
33
27
|
>
|
|
34
28
|
<View
|
|
@@ -100,13 +94,10 @@ exports[`rendering renders correctly 1`] = `
|
|
|
100
94
|
}
|
|
101
95
|
/>
|
|
102
96
|
<View
|
|
103
|
-
accessibilityState={
|
|
104
|
-
Object {
|
|
105
|
-
"disabled": false,
|
|
106
|
-
}
|
|
107
|
-
}
|
|
108
97
|
accessible={true}
|
|
98
|
+
collapsable={false}
|
|
109
99
|
focusable={true}
|
|
100
|
+
nativeID="animatedComponent"
|
|
110
101
|
onClick={[Function]}
|
|
111
102
|
onResponderGrant={[Function]}
|
|
112
103
|
onResponderMove={[Function]}
|
|
@@ -115,17 +106,14 @@ exports[`rendering renders correctly 1`] = `
|
|
|
115
106
|
onResponderTerminationRequest={[Function]}
|
|
116
107
|
onStartShouldSetResponder={[Function]}
|
|
117
108
|
style={
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
},
|
|
127
|
-
undefined,
|
|
128
|
-
]
|
|
109
|
+
Object {
|
|
110
|
+
"alignItems": "center",
|
|
111
|
+
"backgroundColor": "#ffffff",
|
|
112
|
+
"borderRadius": 4,
|
|
113
|
+
"flexDirection": "row",
|
|
114
|
+
"opacity": 1,
|
|
115
|
+
"padding": 16,
|
|
116
|
+
}
|
|
129
117
|
}
|
|
130
118
|
>
|
|
131
119
|
<View
|
|
@@ -197,13 +185,10 @@ exports[`rendering renders correctly 1`] = `
|
|
|
197
185
|
}
|
|
198
186
|
/>
|
|
199
187
|
<View
|
|
200
|
-
accessibilityState={
|
|
201
|
-
Object {
|
|
202
|
-
"disabled": false,
|
|
203
|
-
}
|
|
204
|
-
}
|
|
205
188
|
accessible={true}
|
|
189
|
+
collapsable={false}
|
|
206
190
|
focusable={true}
|
|
191
|
+
nativeID="animatedComponent"
|
|
207
192
|
onClick={[Function]}
|
|
208
193
|
onResponderGrant={[Function]}
|
|
209
194
|
onResponderMove={[Function]}
|
|
@@ -212,17 +197,14 @@ exports[`rendering renders correctly 1`] = `
|
|
|
212
197
|
onResponderTerminationRequest={[Function]}
|
|
213
198
|
onStartShouldSetResponder={[Function]}
|
|
214
199
|
style={
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
},
|
|
224
|
-
undefined,
|
|
225
|
-
]
|
|
200
|
+
Object {
|
|
201
|
+
"alignItems": "center",
|
|
202
|
+
"backgroundColor": "#ece8ef",
|
|
203
|
+
"borderRadius": 4,
|
|
204
|
+
"flexDirection": "row",
|
|
205
|
+
"opacity": 1,
|
|
206
|
+
"padding": 16,
|
|
207
|
+
}
|
|
226
208
|
}
|
|
227
209
|
>
|
|
228
210
|
<View
|
|
@@ -5,8 +5,10 @@ import {
|
|
|
5
5
|
} from 'react-native';
|
|
6
6
|
import { useTheme } from '../../theme';
|
|
7
7
|
|
|
8
|
-
export
|
|
9
|
-
|
|
8
|
+
export type RefreshControlProps = Omit<
|
|
9
|
+
NativeRefreshControlProps,
|
|
10
|
+
'colors' | 'tintColor'
|
|
11
|
+
>;
|
|
10
12
|
|
|
11
13
|
const RefreshControl = ({ ...props }: RefreshControlProps) => {
|
|
12
14
|
const theme = useTheme();
|
|
@@ -21,11 +21,18 @@ export interface MentionListProps<TMetaData = unknown> {
|
|
|
21
21
|
*/
|
|
22
22
|
render: (
|
|
23
23
|
searchText: string,
|
|
24
|
-
onSelect: (
|
|
24
|
+
onSelect: (
|
|
25
|
+
id: string,
|
|
26
|
+
name: string,
|
|
27
|
+
options?: OnSelectOptionsType<TMetaData>
|
|
28
|
+
) => void
|
|
25
29
|
) => JSX.Element;
|
|
26
30
|
}
|
|
27
31
|
|
|
28
|
-
const MentionList = <TMetaData
|
|
32
|
+
const MentionList = <TMetaData,>({
|
|
33
|
+
name: eventPrefix,
|
|
34
|
+
render,
|
|
35
|
+
}: MentionListProps<TMetaData>) => {
|
|
29
36
|
const theme = useTheme();
|
|
30
37
|
const [search, setSearch] = useState<string>('');
|
|
31
38
|
const [target, setTarget] = useState<string | null>(null);
|
|
@@ -68,7 +75,9 @@ const MentionList = <TMetaData, >({ name: eventPrefix, render }: MentionListProp
|
|
|
68
75
|
color: theme.colors.secondary,
|
|
69
76
|
borderRadius: theme.__hd__.richTextEditor.radii.mention,
|
|
70
77
|
padding: highlighted ? theme.__hd__.richTextEditor.space.mention : 0,
|
|
71
|
-
background: highlighted
|
|
78
|
+
background: highlighted
|
|
79
|
+
? theme.colors.lightHighlightedSurface
|
|
80
|
+
: 'transparent',
|
|
72
81
|
marginTop: theme.space.xxsmall,
|
|
73
82
|
marginBottom: theme.space.xxsmall,
|
|
74
83
|
display: 'inline-flex',
|
|
@@ -105,7 +105,6 @@ export interface RichTextEditorProps {
|
|
|
105
105
|
forwardedRef?: Ref<RichTextEditorRef>;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
const noop = () => {};
|
|
109
108
|
const defaultValue: EditorValue = [
|
|
110
109
|
{
|
|
111
110
|
type: 'paragraph',
|
|
@@ -117,8 +116,8 @@ const RichTextEditor: ComponentType<RichTextEditorProps> = ({
|
|
|
117
116
|
autoFocus = true,
|
|
118
117
|
name,
|
|
119
118
|
placeholder = '',
|
|
120
|
-
onChange
|
|
121
|
-
onCursorChange
|
|
119
|
+
onChange,
|
|
120
|
+
onCursorChange,
|
|
122
121
|
error = '',
|
|
123
122
|
style = {},
|
|
124
123
|
label,
|
|
@@ -139,9 +138,6 @@ const RichTextEditor: ComponentType<RichTextEditorProps> = ({
|
|
|
139
138
|
if (error) {
|
|
140
139
|
return 'error';
|
|
141
140
|
}
|
|
142
|
-
if (isFocused) {
|
|
143
|
-
return 'focused';
|
|
144
|
-
}
|
|
145
141
|
if (isEmptyValue) {
|
|
146
142
|
return 'filled';
|
|
147
143
|
}
|
|
@@ -294,7 +290,7 @@ const RichTextEditor: ComponentType<RichTextEditorProps> = ({
|
|
|
294
290
|
|
|
295
291
|
break;
|
|
296
292
|
case '@hero-editor/webview/cursor-change':
|
|
297
|
-
onCursorChange(messageData);
|
|
293
|
+
onCursorChange?.(messageData);
|
|
298
294
|
|
|
299
295
|
break;
|
|
300
296
|
|
|
@@ -312,7 +308,7 @@ const RichTextEditor: ComponentType<RichTextEditorProps> = ({
|
|
|
312
308
|
return (
|
|
313
309
|
<StyledContainer testID={testID}>
|
|
314
310
|
<StyledTextInputContainer>
|
|
315
|
-
<StyledBorderBackDrop themeVariant={variant} />
|
|
311
|
+
<StyledBorderBackDrop themeVariant={variant} themeFocused={isFocused} />
|
|
316
312
|
{(isFocused || (label && !isEmptyValue)) && (
|
|
317
313
|
<StyledLabelContainer pointerEvents="none">
|
|
318
314
|
{required && (
|
|
@@ -28,7 +28,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
28
28
|
style={
|
|
29
29
|
Array [
|
|
30
30
|
Object {
|
|
31
|
-
"borderColor": "#
|
|
31
|
+
"borderColor": "#de350b",
|
|
32
32
|
"borderRadius": 8,
|
|
33
33
|
"borderWidth": 1,
|
|
34
34
|
"bottom": 0,
|
|
@@ -40,6 +40,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
40
40
|
undefined,
|
|
41
41
|
]
|
|
42
42
|
}
|
|
43
|
+
themeFocused={false}
|
|
43
44
|
themeVariant="error"
|
|
44
45
|
/>
|
|
45
46
|
<View
|
|
@@ -239,7 +240,7 @@ exports[`RichTextEditor onMessage recevied event editor-layout should update hei
|
|
|
239
240
|
},
|
|
240
241
|
Array [
|
|
241
242
|
Object {
|
|
242
|
-
"color": "#
|
|
243
|
+
"color": "#de350b",
|
|
243
244
|
"fontSize": 12,
|
|
244
245
|
"marginLeft": 4,
|
|
245
246
|
},
|
|
@@ -288,7 +289,7 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
288
289
|
style={
|
|
289
290
|
Array [
|
|
290
291
|
Object {
|
|
291
|
-
"borderColor": "#
|
|
292
|
+
"borderColor": "#de350b",
|
|
292
293
|
"borderRadius": 8,
|
|
293
294
|
"borderWidth": 1,
|
|
294
295
|
"bottom": 0,
|
|
@@ -300,6 +301,7 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
300
301
|
undefined,
|
|
301
302
|
]
|
|
302
303
|
}
|
|
304
|
+
themeFocused={false}
|
|
303
305
|
themeVariant="error"
|
|
304
306
|
/>
|
|
305
307
|
<View
|
|
@@ -498,7 +500,7 @@ exports[`RichTextEditor should render correctly 1`] = `
|
|
|
498
500
|
},
|
|
499
501
|
Array [
|
|
500
502
|
Object {
|
|
501
|
-
"color": "#
|
|
503
|
+
"color": "#de350b",
|
|
502
504
|
"fontSize": 12,
|
|
503
505
|
"marginLeft": 4,
|
|
504
506
|
},
|