@hero-design/rn 8.44.0-alpha.0 → 8.44.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.turbo/turbo-build.log +2 -2
- package/CHANGELOG.md +36 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +2852 -2683
- package/jest-setup.ts +2 -0
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +2855 -2687
- package/package.json +23 -24
- package/rollup.config.js +0 -1
- package/src/components/Accordion/__tests__/__snapshots__/AccordionItem.spec.tsx.snap +564 -384
- package/src/components/Accordion/__tests__/__snapshots__/StyledAccordion.spec.tsx.snap +76 -20
- package/src/components/Accordion/__tests__/__snapshots__/index.spec.tsx.snap +791 -605
- package/src/components/Alert/__tests__/__snapshots__/index.spec.tsx.snap +848 -567
- package/src/components/Attachment/__tests__/__snapshots__/index.spec.tsx.snap +172 -110
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/StyledAvatarStack.spec.tsx.snap +138 -70
- package/src/components/Avatar/AvatarStack/__tests__/__snapshots__/index.spec.tsx.snap +745 -581
- package/src/components/Avatar/__tests__/__snapshots__/StyledAvatar.spec.tsx.snap +158 -57
- package/src/components/Avatar/__tests__/__snapshots__/index.spec.tsx.snap +273 -153
- package/src/components/Badge/__tests__/__snapshots__/Badge.spec.tsx.snap +391 -223
- package/src/components/Badge/__tests__/__snapshots__/Status.spec.tsx.snap +119 -63
- package/src/components/BottomNavigation/__tests__/__snapshots__/index.spec.tsx.snap +306 -242
- package/src/components/BottomSheet/__tests__/__snapshots__/index.spec.tsx.snap +317 -183
- package/src/components/Box/__tests__/__snapshots__/index.spec.tsx.snap +1042 -454
- package/src/components/Button/LoadingIndicator/StyledLoadingIndicator.tsx +6 -10
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/StyledLoadingIndicator.spec.tsx.snap +400 -140
- package/src/components/Button/LoadingIndicator/__tests__/__snapshots__/index.spec.tsx.snap +1090 -880
- package/src/components/Button/StyledButton.tsx +4 -0
- package/src/components/Button/UtilityButton/__tests__/__snapshots__/index.spec.tsx.snap +196 -106
- package/src/components/Button/__tests__/__snapshots__/Button.spec.tsx.snap +1675 -1125
- package/src/components/Button/__tests__/__snapshots__/IconButton.spec.tsx.snap +71 -26
- package/src/components/Button/__tests__/__snapshots__/StyledButton.spec.tsx.snap +1651 -665
- package/src/components/Calendar/__tests__/__snapshots__/CalendarRowItem.spec.tsx.snap +555 -330
- package/src/components/Card/DataCard/__tests__/__snapshots__/StyledDataCard.spec.tsx.snap +265 -69
- package/src/components/Card/DataCard/__tests__/__snapshots__/index.spec.tsx.snap +205 -65
- package/src/components/Card/__tests__/__snapshots__/StyledCard.spec.tsx.snap +36 -8
- package/src/components/Card/__tests__/__snapshots__/index.spec.tsx.snap +292 -124
- package/src/components/Carousel/CardCarousel.tsx +10 -7
- package/src/components/Carousel/__tests__/__snapshots__/CardCarousel.spec.tsx.snap +486 -406
- package/src/components/Carousel/__tests__/__snapshots__/StyledCardCarousel.spec.tsx.snap +197 -70
- package/src/components/Carousel/__tests__/__snapshots__/StyledCarousel.spec.tsx.snap +41 -13
- package/src/components/Carousel/__tests__/__snapshots__/index.spec.tsx.snap +1742 -1526
- package/src/components/Carousel/__tests__/index.spec.tsx +50 -3
- package/src/components/Carousel/index.tsx +16 -22
- package/src/components/Checkbox/__tests__/__snapshots__/StyledCheckbox.spec.tsx.snap +404 -112
- package/src/components/Checkbox/__tests__/__snapshots__/index.spec.tsx.snap +574 -334
- package/src/components/Chip/StyledChip.tsx +121 -0
- package/src/components/Chip/__tests__/__snapshots__/index.spec.tsx.snap +1483 -0
- package/src/components/Chip/__tests__/index.spec.tsx +136 -0
- package/src/components/Chip/index.tsx +82 -0
- package/src/components/Collapse/__tests__/__snapshots__/StyledCollapse.spec.tsx.snap +73 -17
- package/src/components/Collapse/__tests__/__snapshots__/index.spec.tsx.snap +94 -38
- package/src/components/Collapse/index.tsx +1 -1
- package/src/components/ContentNavigator/__tests__/__snapshots__/StyledContentNavigator.spec.tsx.snap +37 -9
- package/src/components/ContentNavigator/__tests__/__snapshots__/index.spec.tsx.snap +424 -268
- package/src/components/DatePicker/__tests__/__snapshots__/DatePicker.spec.tsx.snap +622 -457
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +212 -157
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +204 -149
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +483 -386
- package/src/components/Divider/__tests__/__snapshots__/StyledDivider.spec.tsx.snap +464 -128
- package/src/components/Drawer/DragableDrawer/__tests__/__snapshots__/index.spec.tsx.snap +97 -69
- package/src/components/Drawer/__tests__/__snapshots__/index.spec.tsx.snap +327 -192
- package/src/components/Empty/__tests__/__snapshots__/index.spec.tsx.snap +169 -113
- package/src/components/Error/StyledError.tsx +2 -1
- package/src/components/Error/__tests__/__snapshots__/index.spec.tsx.snap +390 -262
- package/src/components/Error/__tests__/index.spec.tsx +9 -6
- package/src/components/FAB/ActionGroup/__tests__/__snapshots__/index.spec.tsx.snap +860 -723
- package/src/components/FAB/__tests__/__snapshots__/AnimatedFABIcon.spec.tsx.snap +98 -42
- package/src/components/FAB/__tests__/__snapshots__/StyledFAB.spec.tsx.snap +199 -99
- package/src/components/FAB/__tests__/__snapshots__/index.spec.tsx.snap +293 -185
- package/src/components/HeroDesignProvider/__tests__/__snapshots__/index.spec.tsx.snap +45 -17
- package/src/components/Icon/HeroIcon/glyphMap.json +1 -1
- package/src/components/Icon/IconList.ts +3 -0
- package/src/components/Icon/__tests__/__snapshots__/index.spec.tsx.snap +158 -46
- package/src/components/Image/__tests__/__snapshots__/index.spec.tsx.snap +164 -52
- package/src/components/List/__tests__/__snapshots__/BasicListItem.spec.tsx.snap +242 -170
- package/src/components/List/__tests__/__snapshots__/ListItem.spec.tsx.snap +760 -588
- package/src/components/List/__tests__/__snapshots__/StyledBasicListItem.spec.tsx.snap +272 -128
- package/src/components/List/__tests__/__snapshots__/StyledListItem.spec.tsx.snap +477 -193
- package/src/components/Modal/__tests__/__snapshots__/index.spec.tsx.snap +169 -0
- package/src/components/Modal/__tests__/index.spec.tsx +99 -0
- package/src/components/Modal/index.tsx +178 -82
- package/src/components/PageControl/__tests__/__snapshots__/index.spec.tsx.snap +84 -41
- package/src/components/PageControl/index.tsx +1 -0
- package/src/components/PinInput/__tests__/StyledPinInput.spec.tsx +9 -4
- package/src/components/PinInput/__tests__/__snapshots__/PinCell.spec.tsx.snap +293 -153
- package/src/components/PinInput/__tests__/__snapshots__/StyledPinInput.spec.tsx.snap +15 -48
- package/src/components/PinInput/__tests__/__snapshots__/index.spec.tsx.snap +809 -697
- package/src/components/Portal/__tests__/PortalHost.spec.tsx +12 -14
- package/src/components/Portal/__tests__/__snapshots__/index.spec.tsx.snap +43 -15
- package/src/components/Progress/__tests__/__snapshots__/index.spec.js.snap +743 -603
- package/src/components/Radio/__tests__/__snapshots__/Radio.spec.tsx.snap +188 -116
- package/src/components/Radio/__tests__/__snapshots__/RadioGroup.spec.tsx.snap +257 -205
- package/src/components/Rate/__tests__/__snapshots__/index.spec.tsx.snap +864 -600
- package/src/components/RefreshControl/__tests__/__snapshots__/index.spec.tsx.snap +128 -44
- package/src/components/RichTextEditor/RichTextEditor.tsx +76 -38
- package/src/components/RichTextEditor/__tests__/EditorToolbar.spec.tsx +5 -2
- package/src/components/RichTextEditor/__tests__/RichTextEditor.spec.tsx +3 -3
- package/src/components/RichTextEditor/__tests__/__snapshots__/EditorToolbar.spec.tsx.snap +413 -266
- package/src/components/RichTextEditor/__tests__/__snapshots__/MentionList.spec.tsx.snap +64 -35
- package/src/components/RichTextEditor/__tests__/__snapshots__/RichTextEditor.spec.tsx.snap +403 -305
- package/src/components/SectionHeading/__tests__/__snapshots__/StyledHeading.spec.tsx.snap +158 -46
- package/src/components/SectionHeading/__tests__/__snapshots__/index.spec.tsx.snap +394 -226
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/Option.spec.tsx.snap +93 -57
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2387 -2151
- package/src/components/Select/MultiSelect/__tests__/__snapshots__/index.spec.tsx.snap +856 -174
- package/src/components/Select/MultiSelect/__tests__/index.spec.tsx +7 -6
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/Option.spec.tsx.snap +73 -37
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/OptionList.spec.tsx.snap +2321 -2085
- package/src/components/Select/SingleSelect/__tests__/__snapshots__/index.spec.tsx.snap +674 -150
- package/src/components/Skeleton/__tests__/__snapshots__/index.spec.tsx.snap +490 -294
- package/src/components/Slider/__tests__/__snapshots__/index.spec.tsx.snap +117 -33
- package/src/components/Spinner/__tests__/__snapshots__/AnimatedSpinner.spec.tsx.snap +105 -77
- package/src/components/Spinner/__tests__/__snapshots__/StyledSpinner.spec.tsx.snap +1308 -636
- package/src/components/Spinner/__tests__/__snapshots__/index.spec.tsx.snap +121 -93
- package/src/components/Success/StyledSuccess.tsx +2 -1
- package/src/components/Success/__tests__/__snapshots__/index.spec.tsx.snap +388 -258
- package/src/components/Success/__tests__/index.spec.tsx +9 -6
- package/src/components/Swipeable/__tests__/__snapshots__/SwipeableAction.spec.tsx.snap +210 -75
- package/src/components/Swipeable/__tests__/__snapshots__/index.spec.tsx.snap +58 -30
- package/src/components/Swipeable/index.tsx +3 -3
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/Option.spec.tsx.snap +226 -114
- package/src/components/Switch/SelectorSwitch/__tests__/__snapshots__/index.spec.tsx.snap +146 -109
- package/src/components/Switch/__tests__/__snapshots__/StyledSwitch.spec.tsx.snap +202 -62
- package/src/components/Switch/__tests__/__snapshots__/index.spec.tsx.snap +132 -68
- package/src/components/Tabs/__tests__/SceneView.spec.tsx +7 -7
- package/src/components/Tabs/__tests__/__snapshots__/SceneView.spec.tsx.snap +206 -94
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabs.spec.tsx.snap +2217 -1962
- package/src/components/Tabs/__tests__/__snapshots__/ScrollableTabsHeader.spec.tsx.snap +523 -455
- package/src/components/Tabs/__tests__/__snapshots__/TabWithBadge.spec.tsx.snap +121 -65
- package/src/components/Tabs/__tests__/__snapshots__/index.spec.tsx.snap +1641 -1398
- package/src/components/Tag/__tests__/__snapshots__/Tag.spec.tsx.snap +554 -274
- package/src/components/TextInput/StyledTextInput.tsx +8 -31
- package/src/components/TextInput/__tests__/StyledTextInput.spec.tsx +0 -44
- package/src/components/TextInput/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +990 -711
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3200 -2431
- package/src/components/TextInput/__tests__/index.spec.tsx +2 -2
- package/src/components/TextInput/index.tsx +113 -57
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +414 -304
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +686 -534
- package/src/components/Toast/__tests__/__snapshots__/Toast.spec.tsx.snap +871 -573
- package/src/components/Toast/__tests__/__snapshots__/ToastContainer.spec.tsx.snap +180 -68
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarGroup.spec.tsx.snap +582 -426
- package/src/components/Toolbar/__tests__/__snapshots__/ToolbarItem.spec.tsx.snap +683 -363
- package/src/components/Typography/Body/__tests__/__snapshots__/StyledBody.tsx.snap +704 -256
- package/src/components/Typography/Body/__tests__/__snapshots__/index.spec.tsx.snap +855 -323
- package/src/components/Typography/Caption/__tests__/__snapshots__/StyledCaption.spec.tsx.snap +430 -150
- package/src/components/Typography/Caption/__tests__/__snapshots__/index.spec.tsx.snap +572 -208
- package/src/components/Typography/Label/__tests__/__snapshots__/StyledLabel.tsx.snap +328 -104
- package/src/components/Typography/Label/__tests__/__snapshots__/index.spec.tsx.snap +462 -154
- package/src/components/Typography/Text/__tests__/__snapshots__/StyledText.spec.tsx.snap +900 -340
- package/src/components/Typography/Title/__tests__/__snapshots__/StyledTitle.tsx.snap +880 -320
- package/src/components/Typography/Title/__tests__/__snapshots__/index.spec.tsx.snap +1035 -391
- package/src/index.ts +2 -2
- package/src/testHelpers/renderWithTheme.tsx +2 -2
- package/src/theme/__tests__/__snapshots__/index.spec.ts.snap +40 -3
- package/src/theme/components/button.ts +0 -1
- package/src/theme/components/chip.ts +47 -0
- package/src/theme/components/textInput.ts +2 -2
- package/src/theme/getTheme.ts +3 -0
- package/testUtils/setup.tsx +0 -18
- package/tsconfig.json +4 -1
- package/types/components/Accordion/AccordionItem.d.ts +2 -1
- package/types/components/Accordion/index.d.ts +1 -1
- package/types/components/Attachment/index.d.ts +2 -1
- package/types/components/Avatar/Avatar.d.ts +2 -1
- package/types/components/Avatar/AvatarStack/index.d.ts +2 -2
- package/types/components/Avatar/index.d.ts +3 -2
- package/types/components/Badge/StyledBadge.d.ts +0 -4
- package/types/components/BottomSheet/Footer.d.ts +2 -1
- package/types/components/BottomSheet/Header.d.ts +2 -1
- package/types/components/BottomSheet/ScrollView.d.ts +1 -0
- package/types/components/BottomSheet/StyledBottomSheet.d.ts +0 -4
- package/types/components/Box/index.d.ts +2 -1
- package/types/components/Button/IconButton.d.ts +2 -1
- package/types/components/Button/LoadingIndicator/StyledLoadingIndicator.d.ts +3 -3
- package/types/components/Button/LoadingIndicator/index.d.ts +2 -1
- package/types/components/Button/UtilityButton/index.d.ts +2 -1
- package/types/components/Calendar/CalendarRowItem.d.ts +2 -1
- package/types/components/Calendar/StyledCalendar.d.ts +1 -1
- package/types/components/Calendar/index.d.ts +2 -1
- package/types/components/Carousel/CardCarousel.d.ts +1 -1
- package/types/components/Carousel/CarouselItem.d.ts +2 -1
- package/types/components/Carousel/index.d.ts +2 -2
- package/types/components/Checkbox/index.d.ts +2 -1
- package/types/components/Chip/StyledChip.d.ts +31 -0
- package/types/components/Chip/index.d.ts +27 -0
- package/types/components/Collapse/StyledCollapse.d.ts +0 -2
- package/types/components/Collapse/index.d.ts +2 -1
- package/types/components/ContentNavigator/index.d.ts +2 -1
- package/types/components/DatePicker/DatePickerAndroid.d.ts +2 -1
- package/types/components/DatePicker/DatePickerCalendar.d.ts +2 -1
- package/types/components/DatePicker/DatePickerIOS.d.ts +2 -1
- package/types/components/DatePicker/index.d.ts +2 -1
- package/types/components/Divider/index.d.ts +2 -1
- package/types/components/Drawer/StyledDrawer.d.ts +0 -6
- package/types/components/Error/StyledError.d.ts +3 -9
- package/types/components/FAB/ActionGroup/ActionItem.d.ts +2 -1
- package/types/components/FAB/ActionGroup/StyledActionGroup.d.ts +0 -4
- package/types/components/FAB/AnimatedFABIcon.d.ts +2 -1
- package/types/components/HeroDesignProvider/index.d.ts +2 -1
- package/types/components/Icon/AnimatedIcon.d.ts +2 -1
- package/types/components/Icon/IconList.d.ts +1 -1
- package/types/components/Icon/index.d.ts +3 -2
- package/types/components/Icon/utils.d.ts +1 -1
- package/types/components/Image/index.d.ts +1 -0
- package/types/components/Modal/index.d.ts +12 -8
- package/types/components/PageControl/StyledPageControl.d.ts +0 -2
- package/types/components/PageControl/index.d.ts +2 -1
- package/types/components/PinInput/PinCell.d.ts +2 -1
- package/types/components/Portal/PortalHost.d.ts +1 -1
- package/types/components/Portal/PortalProvider.d.ts +1 -1
- package/types/components/Portal/index.d.ts +2 -2
- package/types/components/Progress/ProgressBar.d.ts +1 -0
- package/types/components/Progress/StyledProgressBar.d.ts +0 -2
- package/types/components/Progress/index.d.ts +1 -0
- package/types/components/Rate/StyledRate.d.ts +0 -2
- package/types/components/Rate/index.d.ts +2 -1
- package/types/components/RefreshControl/index.d.ts +2 -1
- package/types/components/RichTextEditor/EditorToolbar.d.ts +2 -1
- package/types/components/RichTextEditor/MentionList.d.ts +2 -1
- package/types/components/RichTextEditor/index.d.ts +2 -2
- package/types/components/Select/BaseOptionList.d.ts +1 -1
- package/types/components/Select/Footer.d.ts +2 -1
- package/types/components/Select/MultiSelect/Option.d.ts +2 -1
- package/types/components/Select/MultiSelect/OptionList.d.ts +2 -1
- package/types/components/Select/MultiSelect/index.d.ts +1 -1
- package/types/components/Select/SingleSelect/Option.d.ts +2 -1
- package/types/components/Select/SingleSelect/OptionList.d.ts +1 -1
- package/types/components/Select/SingleSelect/StyledSingleSelect.d.ts +2 -1
- package/types/components/Select/SingleSelect/index.d.ts +1 -1
- package/types/components/Select/helpers.d.ts +1 -2
- package/types/components/Select/index.d.ts +2 -1
- package/types/components/Skeleton/index.d.ts +2 -1
- package/types/components/Slider/index.d.ts +2 -1
- package/types/components/Spinner/AnimatedSpinner.d.ts +2 -1
- package/types/components/Success/StyledSuccess.d.ts +3 -7
- package/types/components/Swipeable/SwipeableAction.d.ts +2 -2
- package/types/components/Swipeable/index.d.ts +3 -3
- package/types/components/Switch/SelectorSwitch/Option.d.ts +2 -1
- package/types/components/Switch/SelectorSwitch/StyledSelectorSwitch.d.ts +0 -6
- package/types/components/Switch/StyledSwitch.d.ts +0 -2
- package/types/components/Tabs/ActiveTabIndicator.d.ts +2 -1
- package/types/components/Tabs/SceneView.d.ts +1 -1
- package/types/components/Tabs/ScrollableTabs.d.ts +2 -1
- package/types/components/Tabs/ScrollableTabsHeader.d.ts +2 -1
- package/types/components/Tabs/StyledScrollableTabs.d.ts +0 -4
- package/types/components/Tabs/StyledTabs.d.ts +0 -4
- package/types/components/Tabs/TabWithBadge.d.ts +2 -2
- package/types/components/Tabs/index.d.ts +2 -1
- package/types/components/TextInput/StyledTextInput.d.ts +5 -25
- package/types/components/TextInput/index.d.ts +2 -1
- package/types/components/TimePicker/TimePickerAndroid.d.ts +2 -1
- package/types/components/TimePicker/TimePickerIOS.d.ts +2 -1
- package/types/components/TimePicker/index.d.ts +2 -1
- package/types/components/Toast/StyledToast.d.ts +0 -2
- package/types/components/Toast/Toast.d.ts +1 -0
- package/types/components/Toast/ToastProvider.d.ts +2 -1
- package/types/components/Toast/index.d.ts +1 -1
- package/types/components/Toolbar/ToolbarGroup.d.ts +2 -1
- package/types/components/Toolbar/ToolbarItem.d.ts +2 -1
- package/types/components/Toolbar/index.d.ts +3 -2
- package/types/components/Typography/Body/index.d.ts +2 -1
- package/types/components/Typography/Caption/index.d.ts +2 -1
- package/types/components/Typography/Label/index.d.ts +2 -1
- package/types/components/Typography/Text/index.d.ts +2 -1
- package/types/components/Typography/Title/index.d.ts +2 -1
- package/types/index.d.ts +2 -2
- package/types/testHelpers/renderWithTheme.d.ts +1 -0
- package/types/theme/ThemeSwitcher.d.ts +2 -2
- package/types/theme/components/button.d.ts +0 -1
- package/types/theme/components/chip.d.ts +40 -0
- package/types/theme/getTheme.d.ts +2 -0
- package/.turbo/turbo-publish:npm.log +0 -0
- package/src/components/Modal/ModalContentWrapper.tsx +0 -112
- package/src/components/Modal/ModalPresenter/ModalPresenter.tsx +0 -135
- package/src/components/Modal/ModalPresenter/index.tsx +0 -9
- package/src/components/Modal/ModalProvider.tsx +0 -8
- package/types/components/Modal/ModalContentWrapper.d.ts +0 -16
- package/types/components/Modal/ModalPresenter/ModalPresenter.d.ts +0 -34
- package/types/components/Modal/ModalPresenter/index.d.ts +0 -3
- package/types/components/Modal/ModalProvider.d.ts +0 -5
|
@@ -1 +1 @@
|
|
|
1
|
-
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bolt":59011,"bookmark-added":59012,"bookmark":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"
|
|
1
|
+
{"activate":59000,"add-emoji":59001,"add-person":59002,"adjustment":59003,"alignment":59004,"antenna":59005,"archive":59006,"assignment-warning":59007,"bank":59008,"bell":59009,"billing":59010,"bolt":59011,"bookmark-added":59012,"bookmark":59013,"box-check":59014,"box":59015,"bpay":59016,"buildings":59017,"cake":59018,"calendar-clock":59019,"calendar":59020,"candy-box-menu":59021,"caret-down-small":59022,"caret-down":59023,"caret-left-small":59024,"caret-left":59025,"caret-right-small":59026,"caret-right":59027,"caret-up-small":59028,"caret-up":59029,"check-radio":59030,"circle-add":59031,"circle-cancel":59032,"circle-check":59033,"circle-down":59034,"circle-info":59035,"circle-left":59036,"circle-ok":59037,"circle-pencil":59038,"circle-question":59039,"circle-remove":59040,"circle-right":59041,"circle-up":59042,"circle-warning":59043,"clock-3":59044,"clock":59045,"cloud-download":59046,"cloud-upload":59047,"cog":59048,"coin":59049,"contacts":59050,"credit-card":59051,"diamond":59052,"direction-arrows":59053,"directory":59054,"document":59055,"dollar-coin-shine":59056,"double-buildings":59057,"edit-template":59058,"envelope":59059,"exclude":59060,"expand-content":59061,"expense":59062,"eye-circle":59063,"eye-invisible":59064,"eye":59065,"face-meh":59066,"face-sad":59067,"face-smiley":59068,"feed":59069,"feedbacks":59070,"file-certified":59071,"file-clone":59072,"file-copy":59073,"file-csv":59074,"file-dispose":59075,"file-doc":59076,"file-excel":59077,"file-export":59078,"file-lock":59079,"file-pdf":59080,"file-powerpoint":59081,"file-search":59082,"file-secured":59083,"file-sheets":59084,"file-slide":59085,"file-verified":59086,"file-word":59087,"file":59088,"filter":59089,"folder-user":59090,"folder":59091,"format-bold":59092,"format-heading1":59093,"format-heading2":59094,"format-italic":59095,"format-list-bulleted":59096,"format-list-numbered":59097,"format-underlined":59098,"funnel-filter":59099,"global-dollar":59100,"globe":59101,"graduation-cap":59102,"graph":59103,"happy-sun":59104,"health-bag":59105,"heart":59106,"home":59107,"image":59108,"import":59109,"incident-siren":59110,"instapay":59111,"list":59112,"loading-2":59113,"loading":59114,"location":59115,"lock":59116,"looks-one":59117,"looks-two":59118,"media-content":59119,"menu":59120,"money-notes":59121,"moneybag":59122,"moon":59123,"multiple-stars":59124,"multiple-users":59125,"node":59126,"open-folder":59127,"paperclip":59128,"payment-summary":59129,"pencil":59130,"phone":59131,"piggy-bank":59132,"plane-up":59133,"plane":59134,"play-circle":59135,"print":59136,"raising-hands":59137,"reply-arrow":59138,"reply":59139,"reschedule":59140,"rostering":59141,"save":59142,"schedule-send":59143,"schedule":59144,"search-person":59145,"send":59146,"speaker-active":59147,"speaker":59148,"star-award":59149,"star-badge":59150,"star-circle":59151,"star-medal":59152,"star":59153,"steps-circle":59154,"stopwatch":59155,"suitcase":59156,"surfing":59157,"survey":59158,"swag-pillar-benefit":59159,"swag-pillar-career":59160,"swag-pillar-money":59161,"swag-pillar-work":59162,"swag":59163,"swipe-right":59164,"switch":59165,"tag":59166,"target":59167,"teams":59168,"timesheet":59169,"touch-id":59170,"trash-bin":59171,"unlock":59172,"user":59173,"video-1":59174,"video-2":59175,"wallet":59176,"warning":59177,"activate-outlined":59178,"add-credit-card-outlined":59179,"add-person-outlined":59180,"add-section-outlined":59181,"add-time-outlined":59182,"add":59183,"adjustment-outlined":59184,"ai-outlined":59185,"alignment-2-outlined":59186,"alignment-outlined":59187,"all-caps":59188,"arrow-down":59189,"arrow-downwards":59190,"arrow-left":59191,"arrow-leftwards":59192,"arrow-right":59193,"arrow-rightwards":59194,"arrow-up":59195,"arrow-upwards":59196,"article-outlined":59197,"at-sign":59198,"auto-graph-outlined":59199,"beer-outlined":59200,"bell-active-outlined":59201,"bell-outlined":59202,"bell-slash-outlined":59203,"billing-outlined":59204,"body-outlined":59205,"bold":59206,"bolt-outlined":59207,"book-outlined":59208,"bookmark-added-outlined":59209,"bookmark-outlined":59210,"box-check-outlined":59211,"box-outlined":59212,"bullet-points":59213,"cake-outlined":59214,"calendar-dates-outlined":59215,"calendar-star-outlined":59216,"call-outlined":59217,"call-split-outlined":59218,"camera-outlined":59219,"cancel":59220,"car-forward-outlined":59221,"charging-station-outlined":59222,"chat-bubble-outlined":59223,"chat-unread-outlined":59224,"checkmark":59225,"circle-add-outlined":59226,"circle-cancel-outlined":59227,"circle-down-outlined":59228,"circle-info-outlined":59229,"circle-left-outlined":59230,"circle-ok-outlined":59231,"circle-question-outlined":59232,"circle-remove-outlined":59233,"circle-right-outlined":59234,"circle-up-outlined":59235,"circle-warning-outlined":59236,"clock-2-outlined":59237,"clock-outlined":59238,"cog-outlined":59239,"coin-outlined":59240,"coin-super-outlined":59241,"comment-outlined":59242,"contacts-outlined":59243,"contacts-user-outlined":59244,"credit-card-outlined":59245,"cup-outlined":59246,"dentistry-outlined":59247,"direction-arrows-outlined":59248,"directory-outlined":59249,"document-outlined":59250,"dollar-box-outlined":59251,"dollar-card-outlined":59252,"dollar-coin-shine-outlined":59253,"dollar-credit-card-outlined":59254,"dollar-sign":59255,"double-buildings-outlined":59256,"double-left-arrows":59257,"double-right-arrows":59258,"download-box-outlined":59259,"download-outlined":59260,"edit-template-outlined":59261,"email-outlined":59262,"enter-arrow":59263,"envelope-outlined":59264,"expense-outlined":59265,"explore-outlined":59266,"extension-outlined":59267,"external-link":59268,"eye-invisible-outlined":59269,"eye-outlined":59270,"face-id":59271,"face-meh-outlined":59272,"face-open-smiley-outlined":59273,"face-sad-outlined":59274,"face-smiley-outlined":59275,"fastfood-outlined":59276,"feed-outlined":59277,"file-certified-outlined":59278,"file-clone-outlined":59279,"file-copy-outlined":59280,"file-dispose-outlined":59281,"file-dollar-certified-outlined":59282,"file-dollar-outlined":59283,"file-download-outlined":59284,"file-export-outlined":59285,"file-lock-outlined":59286,"file-outlined":59287,"file-search-outlined":59288,"file-secured-outlined":59289,"file-statutory-outlined":59290,"file-verified-outlined":59291,"filter-outlined":59292,"folder-outlined":59293,"folder-user-outlined":59294,"form-outlined":59295,"funnel-filter-outline":59296,"goal-outlined":59297,"graph-outlined":59298,"hand-holding-user-outlined":59299,"happy-sun-outlined":59300,"health-bag-outlined":59301,"heart-outlined":59302,"home-active-outlined":59303,"home-outlined":59304,"id-card-outlined":59305,"image-outlined":59306,"import-outlined":59307,"instapay-outlined":59308,"italic":59309,"link-1":59310,"link-2":59311,"list-outlined":59312,"live-help-outlined":59313,"location-on-outlined":59314,"location-outlined":59315,"lock-outlined":59316,"locked-file-outlined":59317,"log-out":59318,"mail-outlined":59319,"media-content-outlined":59320,"menu-close":59321,"menu-expand":59322,"menu-fold-outlined":59323,"menu-unfold-outlined":59324,"moneybag-outlined":59325,"moon-outlined":59326,"more-horizontal":59327,"more-vertical":59328,"multiple-folders-outlined":59329,"multiple-users-outlined":59330,"near-me-outlined":59331,"node-outlined":59332,"number-points":59333,"number":59334,"overview-outlined":59335,"payment-summary-outlined":59336,"payslip-outlined":59337,"pencil-outlined":59338,"percentage":59339,"phone-outlined":59340,"piggy-bank-outlined":59341,"plane-outlined":59342,"play-circle-outlined":59343,"print-outlined":59344,"propane-tank-outlined":59345,"qr-code-outlined":59346,"qualification-outlined":59347,"re-assign":59348,"redeem":59349,"refresh":59350,"remove":59351,"reply-outlined":59352,"restart":59353,"return-arrow":59354,"rostering-outlined":59355,"save-outlined":59356,"schedule-outlined":59357,"search-outlined":59358,"search-secured-outlined":59359,"send-outlined":59360,"share-1":59361,"share-2":59362,"share-outlined":59363,"show-chart-outlined":59364,"single-down-arrow":59365,"single-left-arrow":59366,"single-right-arrow":59367,"single-up-arrow":59368,"sparkle-outlined":59369,"speaker-active-outlined":59370,"speaker-outlined":59371,"star-circle-outlined":59372,"star-outlined":59373,"stopwatch-outlined":59374,"strikethrough":59375,"styler-outlined":59376,"suitcase-clock-outlined":59377,"suitcase-outlined":59378,"survey-outlined":59379,"switch-outlined":59380,"sync":59381,"tag-outlined":59382,"target-outlined":59383,"tennis-outlined":59384,"ticket-outlined":59385,"timesheet-outlined":59386,"today-outlined":59387,"transfer":59388,"trash-bin-outlined":59389,"umbrela-outlined":59390,"unavailable":59391,"underline":59392,"union-outlined":59393,"unlock-outlined":59394,"upload-outlined":59395,"user-circle-outlined":59396,"user-gear-outlined":59397,"user-outlined":59398,"user-rectangle-outlined":59399,"video-1-outlined":59400,"video-2-outlined":59401,"volunteer-outlined":59402,"wallet-outlined":59403}
|
|
@@ -61,6 +61,7 @@ const IconList = [
|
|
|
61
61
|
'edit-template',
|
|
62
62
|
'envelope',
|
|
63
63
|
'exclude',
|
|
64
|
+
'expand-content',
|
|
64
65
|
'expense',
|
|
65
66
|
'eye-circle',
|
|
66
67
|
'eye-invisible',
|
|
@@ -163,6 +164,7 @@ const IconList = [
|
|
|
163
164
|
'swag-pillar-money',
|
|
164
165
|
'swag-pillar-work',
|
|
165
166
|
'swag',
|
|
167
|
+
'swipe-right',
|
|
166
168
|
'switch',
|
|
167
169
|
'tag',
|
|
168
170
|
'target',
|
|
@@ -295,6 +297,7 @@ const IconList = [
|
|
|
295
297
|
'folder-user-outlined',
|
|
296
298
|
'form-outlined',
|
|
297
299
|
'funnel-filter-outline',
|
|
300
|
+
'goal-outlined',
|
|
298
301
|
'graph-outlined',
|
|
299
302
|
'hand-holding-user-outlined',
|
|
300
303
|
'happy-sun-outlined',
|
|
@@ -2,19 +2,72 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Icon render correctly with spin prop 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
collapsable={false}
|
|
6
5
|
style={
|
|
7
6
|
{
|
|
8
|
-
"
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
9
|
+
}
|
|
10
|
+
>
|
|
11
|
+
<View
|
|
12
|
+
collapsable={false}
|
|
13
|
+
style={
|
|
14
|
+
{
|
|
15
|
+
"transform": [
|
|
16
|
+
{
|
|
17
|
+
"rotate": "0deg",
|
|
18
|
+
},
|
|
19
|
+
],
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
>
|
|
23
|
+
<HeroIcon
|
|
24
|
+
name="sync"
|
|
25
|
+
style={
|
|
26
|
+
[
|
|
27
|
+
{
|
|
28
|
+
"color": "#001f23",
|
|
29
|
+
"fontSize": 24,
|
|
30
|
+
},
|
|
31
|
+
undefined,
|
|
32
|
+
]
|
|
33
|
+
}
|
|
34
|
+
themeIntent="text"
|
|
35
|
+
themeSize="medium"
|
|
36
|
+
/>
|
|
37
|
+
</View>
|
|
38
|
+
<View
|
|
39
|
+
pointerEvents="box-none"
|
|
40
|
+
position="bottom"
|
|
41
|
+
style={
|
|
42
|
+
[
|
|
9
43
|
{
|
|
10
|
-
"
|
|
44
|
+
"bottom": 0,
|
|
45
|
+
"elevation": 9999,
|
|
46
|
+
"flexDirection": "column-reverse",
|
|
47
|
+
"left": 0,
|
|
48
|
+
"paddingHorizontal": 24,
|
|
49
|
+
"paddingVertical": 16,
|
|
50
|
+
"position": "absolute",
|
|
51
|
+
"right": 0,
|
|
52
|
+
"top": 0,
|
|
11
53
|
},
|
|
12
|
-
|
|
54
|
+
undefined,
|
|
55
|
+
]
|
|
56
|
+
}
|
|
57
|
+
/>
|
|
58
|
+
</View>
|
|
59
|
+
`;
|
|
60
|
+
|
|
61
|
+
exports[`Icon renders correctly 1`] = `
|
|
62
|
+
<View
|
|
63
|
+
style={
|
|
64
|
+
{
|
|
65
|
+
"flex": 1,
|
|
13
66
|
}
|
|
14
67
|
}
|
|
15
68
|
>
|
|
16
69
|
<HeroIcon
|
|
17
|
-
name="
|
|
70
|
+
name="home"
|
|
18
71
|
style={
|
|
19
72
|
[
|
|
20
73
|
{
|
|
@@ -27,56 +80,115 @@ exports[`Icon render correctly with spin prop 1`] = `
|
|
|
27
80
|
themeIntent="text"
|
|
28
81
|
themeSize="medium"
|
|
29
82
|
/>
|
|
83
|
+
<View
|
|
84
|
+
pointerEvents="box-none"
|
|
85
|
+
position="bottom"
|
|
86
|
+
style={
|
|
87
|
+
[
|
|
88
|
+
{
|
|
89
|
+
"bottom": 0,
|
|
90
|
+
"elevation": 9999,
|
|
91
|
+
"flexDirection": "column-reverse",
|
|
92
|
+
"left": 0,
|
|
93
|
+
"paddingHorizontal": 24,
|
|
94
|
+
"paddingVertical": 16,
|
|
95
|
+
"position": "absolute",
|
|
96
|
+
"right": 0,
|
|
97
|
+
"top": 0,
|
|
98
|
+
},
|
|
99
|
+
undefined,
|
|
100
|
+
]
|
|
101
|
+
}
|
|
102
|
+
/>
|
|
30
103
|
</View>
|
|
31
104
|
`;
|
|
32
105
|
|
|
33
|
-
exports[`Icon renders correctly 1`] = `
|
|
34
|
-
<HeroIcon
|
|
35
|
-
name="home"
|
|
36
|
-
style={
|
|
37
|
-
[
|
|
38
|
-
{
|
|
39
|
-
"color": "#001f23",
|
|
40
|
-
"fontSize": 24,
|
|
41
|
-
},
|
|
42
|
-
undefined,
|
|
43
|
-
]
|
|
44
|
-
}
|
|
45
|
-
themeIntent="text"
|
|
46
|
-
themeSize="medium"
|
|
47
|
-
/>
|
|
48
|
-
`;
|
|
49
|
-
|
|
50
106
|
exports[`Icon renders correctly with color and size 1`] = `
|
|
51
|
-
<
|
|
52
|
-
name="home"
|
|
107
|
+
<View
|
|
53
108
|
style={
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
"fontSize": 28,
|
|
58
|
-
},
|
|
59
|
-
undefined,
|
|
60
|
-
]
|
|
109
|
+
{
|
|
110
|
+
"flex": 1,
|
|
111
|
+
}
|
|
61
112
|
}
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
113
|
+
>
|
|
114
|
+
<HeroIcon
|
|
115
|
+
name="home"
|
|
116
|
+
style={
|
|
117
|
+
[
|
|
118
|
+
{
|
|
119
|
+
"color": "#cb300a",
|
|
120
|
+
"fontSize": 28,
|
|
121
|
+
},
|
|
122
|
+
undefined,
|
|
123
|
+
]
|
|
124
|
+
}
|
|
125
|
+
themeIntent="danger"
|
|
126
|
+
themeSize="large"
|
|
127
|
+
/>
|
|
128
|
+
<View
|
|
129
|
+
pointerEvents="box-none"
|
|
130
|
+
position="bottom"
|
|
131
|
+
style={
|
|
132
|
+
[
|
|
133
|
+
{
|
|
134
|
+
"bottom": 0,
|
|
135
|
+
"elevation": 9999,
|
|
136
|
+
"flexDirection": "column-reverse",
|
|
137
|
+
"left": 0,
|
|
138
|
+
"paddingHorizontal": 24,
|
|
139
|
+
"paddingVertical": 16,
|
|
140
|
+
"position": "absolute",
|
|
141
|
+
"right": 0,
|
|
142
|
+
"top": 0,
|
|
143
|
+
},
|
|
144
|
+
undefined,
|
|
145
|
+
]
|
|
146
|
+
}
|
|
147
|
+
/>
|
|
148
|
+
</View>
|
|
65
149
|
`;
|
|
66
150
|
|
|
67
151
|
exports[`Icon renders correctly with intent 1`] = `
|
|
68
|
-
<
|
|
69
|
-
name="home"
|
|
152
|
+
<View
|
|
70
153
|
style={
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
"fontSize": 24,
|
|
75
|
-
},
|
|
76
|
-
undefined,
|
|
77
|
-
]
|
|
154
|
+
{
|
|
155
|
+
"flex": 1,
|
|
156
|
+
}
|
|
78
157
|
}
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
158
|
+
>
|
|
159
|
+
<HeroIcon
|
|
160
|
+
name="home"
|
|
161
|
+
style={
|
|
162
|
+
[
|
|
163
|
+
{
|
|
164
|
+
"color": "#401960",
|
|
165
|
+
"fontSize": 24,
|
|
166
|
+
},
|
|
167
|
+
undefined,
|
|
168
|
+
]
|
|
169
|
+
}
|
|
170
|
+
themeIntent="primary"
|
|
171
|
+
themeSize="medium"
|
|
172
|
+
/>
|
|
173
|
+
<View
|
|
174
|
+
pointerEvents="box-none"
|
|
175
|
+
position="bottom"
|
|
176
|
+
style={
|
|
177
|
+
[
|
|
178
|
+
{
|
|
179
|
+
"bottom": 0,
|
|
180
|
+
"elevation": 9999,
|
|
181
|
+
"flexDirection": "column-reverse",
|
|
182
|
+
"left": 0,
|
|
183
|
+
"paddingHorizontal": 24,
|
|
184
|
+
"paddingVertical": 16,
|
|
185
|
+
"position": "absolute",
|
|
186
|
+
"right": 0,
|
|
187
|
+
"top": 0,
|
|
188
|
+
},
|
|
189
|
+
undefined,
|
|
190
|
+
]
|
|
191
|
+
}
|
|
192
|
+
/>
|
|
193
|
+
</View>
|
|
82
194
|
`;
|
|
@@ -1,81 +1,193 @@
|
|
|
1
1
|
// Jest Snapshot v1, https://goo.gl/fbAQLP
|
|
2
2
|
|
|
3
3
|
exports[`Image renders correctly when rounded is false 1`] = `
|
|
4
|
-
<
|
|
5
|
-
|
|
4
|
+
<View
|
|
5
|
+
style={
|
|
6
6
|
{
|
|
7
|
-
"
|
|
7
|
+
"flex": 1,
|
|
8
8
|
}
|
|
9
9
|
}
|
|
10
|
-
|
|
11
|
-
|
|
10
|
+
>
|
|
11
|
+
<Image
|
|
12
|
+
source={
|
|
12
13
|
{
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
14
|
+
"uri": "path_to_image",
|
|
15
|
+
}
|
|
16
|
+
}
|
|
17
|
+
style={
|
|
18
|
+
[
|
|
19
|
+
{
|
|
20
|
+
"borderRadius": 0,
|
|
21
|
+
"height": 72,
|
|
22
|
+
"width": 72,
|
|
23
|
+
},
|
|
24
|
+
undefined,
|
|
25
|
+
]
|
|
26
|
+
}
|
|
27
|
+
/>
|
|
28
|
+
<View
|
|
29
|
+
pointerEvents="box-none"
|
|
30
|
+
position="bottom"
|
|
31
|
+
style={
|
|
32
|
+
[
|
|
33
|
+
{
|
|
34
|
+
"bottom": 0,
|
|
35
|
+
"elevation": 9999,
|
|
36
|
+
"flexDirection": "column-reverse",
|
|
37
|
+
"left": 0,
|
|
38
|
+
"paddingHorizontal": 24,
|
|
39
|
+
"paddingVertical": 16,
|
|
40
|
+
"position": "absolute",
|
|
41
|
+
"right": 0,
|
|
42
|
+
"top": 0,
|
|
43
|
+
},
|
|
44
|
+
undefined,
|
|
45
|
+
]
|
|
46
|
+
}
|
|
47
|
+
/>
|
|
48
|
+
</View>
|
|
21
49
|
`;
|
|
22
50
|
|
|
23
51
|
exports[`Image renders correctly when rounded is true 1`] = `
|
|
24
|
-
<
|
|
25
|
-
|
|
52
|
+
<View
|
|
53
|
+
style={
|
|
26
54
|
{
|
|
27
|
-
"
|
|
55
|
+
"flex": 1,
|
|
28
56
|
}
|
|
29
57
|
}
|
|
30
|
-
|
|
31
|
-
|
|
58
|
+
>
|
|
59
|
+
<Image
|
|
60
|
+
source={
|
|
32
61
|
{
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
62
|
+
"uri": "path_to_image",
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
style={
|
|
66
|
+
[
|
|
67
|
+
{
|
|
68
|
+
"borderRadius": 36,
|
|
69
|
+
"height": 72,
|
|
70
|
+
"width": 72,
|
|
71
|
+
},
|
|
72
|
+
undefined,
|
|
73
|
+
]
|
|
74
|
+
}
|
|
75
|
+
/>
|
|
76
|
+
<View
|
|
77
|
+
pointerEvents="box-none"
|
|
78
|
+
position="bottom"
|
|
79
|
+
style={
|
|
80
|
+
[
|
|
81
|
+
{
|
|
82
|
+
"bottom": 0,
|
|
83
|
+
"elevation": 9999,
|
|
84
|
+
"flexDirection": "column-reverse",
|
|
85
|
+
"left": 0,
|
|
86
|
+
"paddingHorizontal": 24,
|
|
87
|
+
"paddingVertical": 16,
|
|
88
|
+
"position": "absolute",
|
|
89
|
+
"right": 0,
|
|
90
|
+
"top": 0,
|
|
91
|
+
},
|
|
92
|
+
undefined,
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
/>
|
|
96
|
+
</View>
|
|
41
97
|
`;
|
|
42
98
|
|
|
43
99
|
exports[`Image renders correctly when size is 6xlarge 1`] = `
|
|
44
|
-
<
|
|
45
|
-
|
|
100
|
+
<View
|
|
101
|
+
style={
|
|
46
102
|
{
|
|
47
|
-
"
|
|
103
|
+
"flex": 1,
|
|
48
104
|
}
|
|
49
105
|
}
|
|
50
|
-
|
|
51
|
-
|
|
106
|
+
>
|
|
107
|
+
<Image
|
|
108
|
+
source={
|
|
52
109
|
{
|
|
53
|
-
"
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
110
|
+
"uri": "path_to_image",
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
style={
|
|
114
|
+
[
|
|
115
|
+
{
|
|
116
|
+
"borderRadius": 0,
|
|
117
|
+
"height": 72,
|
|
118
|
+
"width": 72,
|
|
119
|
+
},
|
|
120
|
+
undefined,
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
/>
|
|
124
|
+
<View
|
|
125
|
+
pointerEvents="box-none"
|
|
126
|
+
position="bottom"
|
|
127
|
+
style={
|
|
128
|
+
[
|
|
129
|
+
{
|
|
130
|
+
"bottom": 0,
|
|
131
|
+
"elevation": 9999,
|
|
132
|
+
"flexDirection": "column-reverse",
|
|
133
|
+
"left": 0,
|
|
134
|
+
"paddingHorizontal": 24,
|
|
135
|
+
"paddingVertical": 16,
|
|
136
|
+
"position": "absolute",
|
|
137
|
+
"right": 0,
|
|
138
|
+
"top": 0,
|
|
139
|
+
},
|
|
140
|
+
undefined,
|
|
141
|
+
]
|
|
142
|
+
}
|
|
143
|
+
/>
|
|
144
|
+
</View>
|
|
61
145
|
`;
|
|
62
146
|
|
|
63
147
|
exports[`Image renders correctly when size is 15xlarge 1`] = `
|
|
64
|
-
<
|
|
65
|
-
|
|
148
|
+
<View
|
|
149
|
+
style={
|
|
66
150
|
{
|
|
67
|
-
"
|
|
151
|
+
"flex": 1,
|
|
68
152
|
}
|
|
69
153
|
}
|
|
70
|
-
|
|
71
|
-
|
|
154
|
+
>
|
|
155
|
+
<Image
|
|
156
|
+
source={
|
|
72
157
|
{
|
|
73
|
-
"
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
158
|
+
"uri": "path_to_image",
|
|
159
|
+
}
|
|
160
|
+
}
|
|
161
|
+
style={
|
|
162
|
+
[
|
|
163
|
+
{
|
|
164
|
+
"borderRadius": 0,
|
|
165
|
+
"height": 144,
|
|
166
|
+
"width": 144,
|
|
167
|
+
},
|
|
168
|
+
undefined,
|
|
169
|
+
]
|
|
170
|
+
}
|
|
171
|
+
/>
|
|
172
|
+
<View
|
|
173
|
+
pointerEvents="box-none"
|
|
174
|
+
position="bottom"
|
|
175
|
+
style={
|
|
176
|
+
[
|
|
177
|
+
{
|
|
178
|
+
"bottom": 0,
|
|
179
|
+
"elevation": 9999,
|
|
180
|
+
"flexDirection": "column-reverse",
|
|
181
|
+
"left": 0,
|
|
182
|
+
"paddingHorizontal": 24,
|
|
183
|
+
"paddingVertical": 16,
|
|
184
|
+
"position": "absolute",
|
|
185
|
+
"right": 0,
|
|
186
|
+
"top": 0,
|
|
187
|
+
},
|
|
188
|
+
undefined,
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
/>
|
|
192
|
+
</View>
|
|
81
193
|
`;
|