@hero-design/rn 8.44.0-alpha.0 → 8.44.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 +1 -1
- package/CHANGELOG.md +30 -0
- package/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/es/index.js +2773 -2662
- package/jest-setup.ts +2 -0
- package/lib/assets/fonts/hero-icons-mobile.ttf +0 -0
- package/lib/index.js +2776 -2666
- 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 +586 -466
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerAndroid.spec.tsx.snap +200 -160
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerCalendar.spec.tsx.snap +192 -152
- package/src/components/DatePicker/__tests__/__snapshots__/DatePickerIOS.spec.tsx.snap +471 -389
- 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/__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 +371 -297
- 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 +621 -28
- 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 +473 -23
- 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/__tests__/__snapshots__/StyledTextInput.spec.tsx.snap +1542 -646
- package/src/components/TextInput/__tests__/__snapshots__/index.spec.tsx.snap +3177 -2701
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerAndroid.spec.tsx.snap +390 -310
- package/src/components/TimePicker/__tests__/__snapshots__/TimePickerIOS.spec.tsx.snap +662 -540
- 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 +38 -1
- package/src/theme/components/button.ts +0 -1
- package/src/theme/components/chip.ts +47 -0
- 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 +1 -1
- package/types/components/TextInput/index.d.ts +1 -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
|
@@ -2,497 +2,693 @@
|
|
|
2
2
|
|
|
3
3
|
exports[`Skeleton renders correctly by default 1`] = `
|
|
4
4
|
<View
|
|
5
|
-
onLayout={[Function]}
|
|
6
5
|
style={
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
{
|
|
11
|
-
"backgroundColor": "#f6f6f7",
|
|
12
|
-
"borderRadius": 16,
|
|
13
|
-
},
|
|
14
|
-
undefined,
|
|
15
|
-
],
|
|
16
|
-
]
|
|
6
|
+
{
|
|
7
|
+
"flex": 1,
|
|
8
|
+
}
|
|
17
9
|
}
|
|
18
|
-
themeIntent="light"
|
|
19
|
-
themeVariant="rounded"
|
|
20
10
|
>
|
|
21
11
|
<View
|
|
12
|
+
onLayout={[Function]}
|
|
22
13
|
style={
|
|
23
14
|
[
|
|
24
15
|
{},
|
|
25
16
|
[
|
|
26
17
|
{
|
|
18
|
+
"backgroundColor": "#f6f6f7",
|
|
27
19
|
"borderRadius": 16,
|
|
28
|
-
"overflow": "hidden",
|
|
29
20
|
},
|
|
30
21
|
undefined,
|
|
31
22
|
],
|
|
32
23
|
]
|
|
33
24
|
}
|
|
25
|
+
themeIntent="light"
|
|
34
26
|
themeVariant="rounded"
|
|
35
27
|
>
|
|
36
|
-
<
|
|
37
|
-
|
|
38
|
-
colors={
|
|
28
|
+
<View
|
|
29
|
+
style={
|
|
39
30
|
[
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
31
|
+
{},
|
|
32
|
+
[
|
|
33
|
+
{
|
|
34
|
+
"borderRadius": 16,
|
|
35
|
+
"overflow": "hidden",
|
|
36
|
+
},
|
|
37
|
+
undefined,
|
|
38
|
+
],
|
|
43
39
|
]
|
|
44
40
|
}
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
41
|
+
themeVariant="rounded"
|
|
42
|
+
>
|
|
43
|
+
<BVLinearGradient
|
|
44
|
+
collapsable={false}
|
|
45
|
+
colors={
|
|
46
|
+
[
|
|
47
|
+
4294375159,
|
|
48
|
+
4292533214,
|
|
49
|
+
4294375159,
|
|
50
|
+
]
|
|
49
51
|
}
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
"y": 0,
|
|
52
|
+
endPoint={
|
|
53
|
+
{
|
|
54
|
+
"x": 1,
|
|
55
|
+
"y": 0,
|
|
56
|
+
}
|
|
56
57
|
}
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
"translateX": -0,
|
|
64
|
-
},
|
|
65
|
-
],
|
|
66
|
-
"width": "100%",
|
|
58
|
+
locations={null}
|
|
59
|
+
startPoint={
|
|
60
|
+
{
|
|
61
|
+
"x": 0,
|
|
62
|
+
"y": 0,
|
|
63
|
+
}
|
|
67
64
|
}
|
|
68
|
-
|
|
69
|
-
|
|
65
|
+
style={
|
|
66
|
+
{
|
|
67
|
+
"height": "100%",
|
|
68
|
+
"transform": [
|
|
69
|
+
{
|
|
70
|
+
"translateX": -0,
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
"width": "100%",
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
/>
|
|
77
|
+
</View>
|
|
70
78
|
</View>
|
|
79
|
+
<View
|
|
80
|
+
pointerEvents="box-none"
|
|
81
|
+
position="bottom"
|
|
82
|
+
style={
|
|
83
|
+
[
|
|
84
|
+
{
|
|
85
|
+
"bottom": 0,
|
|
86
|
+
"elevation": 9999,
|
|
87
|
+
"flexDirection": "column-reverse",
|
|
88
|
+
"left": 0,
|
|
89
|
+
"paddingHorizontal": 24,
|
|
90
|
+
"paddingVertical": 16,
|
|
91
|
+
"position": "absolute",
|
|
92
|
+
"right": 0,
|
|
93
|
+
"top": 0,
|
|
94
|
+
},
|
|
95
|
+
undefined,
|
|
96
|
+
]
|
|
97
|
+
}
|
|
98
|
+
/>
|
|
71
99
|
</View>
|
|
72
100
|
`;
|
|
73
101
|
|
|
74
102
|
exports[`Skeleton renders correctly when intent is dark and variant is circular 1`] = `
|
|
75
103
|
<View
|
|
76
|
-
onLayout={[Function]}
|
|
77
104
|
style={
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
{
|
|
82
|
-
"backgroundColor": "#ffffff",
|
|
83
|
-
"borderRadius": 999,
|
|
84
|
-
},
|
|
85
|
-
undefined,
|
|
86
|
-
],
|
|
87
|
-
]
|
|
105
|
+
{
|
|
106
|
+
"flex": 1,
|
|
107
|
+
}
|
|
88
108
|
}
|
|
89
|
-
themeIntent="dark"
|
|
90
|
-
themeVariant="circular"
|
|
91
109
|
>
|
|
92
110
|
<View
|
|
111
|
+
onLayout={[Function]}
|
|
93
112
|
style={
|
|
94
113
|
[
|
|
95
114
|
{},
|
|
96
115
|
[
|
|
97
116
|
{
|
|
117
|
+
"backgroundColor": "#ffffff",
|
|
98
118
|
"borderRadius": 999,
|
|
99
|
-
"overflow": "hidden",
|
|
100
119
|
},
|
|
101
120
|
undefined,
|
|
102
121
|
],
|
|
103
122
|
]
|
|
104
123
|
}
|
|
124
|
+
themeIntent="dark"
|
|
105
125
|
themeVariant="circular"
|
|
106
126
|
>
|
|
107
|
-
<
|
|
108
|
-
|
|
109
|
-
colors={
|
|
127
|
+
<View
|
|
128
|
+
style={
|
|
110
129
|
[
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
130
|
+
{},
|
|
131
|
+
[
|
|
132
|
+
{
|
|
133
|
+
"borderRadius": 999,
|
|
134
|
+
"overflow": "hidden",
|
|
135
|
+
},
|
|
136
|
+
undefined,
|
|
137
|
+
],
|
|
114
138
|
]
|
|
115
139
|
}
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
140
|
+
themeVariant="circular"
|
|
141
|
+
>
|
|
142
|
+
<BVLinearGradient
|
|
143
|
+
collapsable={false}
|
|
144
|
+
colors={
|
|
145
|
+
[
|
|
146
|
+
4294967295,
|
|
147
|
+
4292533214,
|
|
148
|
+
4294967295,
|
|
149
|
+
]
|
|
120
150
|
}
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
"y": 0,
|
|
151
|
+
endPoint={
|
|
152
|
+
{
|
|
153
|
+
"x": 1,
|
|
154
|
+
"y": 0,
|
|
155
|
+
}
|
|
127
156
|
}
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
"translateX": -0,
|
|
135
|
-
},
|
|
136
|
-
],
|
|
137
|
-
"width": "100%",
|
|
157
|
+
locations={null}
|
|
158
|
+
startPoint={
|
|
159
|
+
{
|
|
160
|
+
"x": 0,
|
|
161
|
+
"y": 0,
|
|
162
|
+
}
|
|
138
163
|
}
|
|
139
|
-
|
|
140
|
-
|
|
164
|
+
style={
|
|
165
|
+
{
|
|
166
|
+
"height": "100%",
|
|
167
|
+
"transform": [
|
|
168
|
+
{
|
|
169
|
+
"translateX": -0,
|
|
170
|
+
},
|
|
171
|
+
],
|
|
172
|
+
"width": "100%",
|
|
173
|
+
}
|
|
174
|
+
}
|
|
175
|
+
/>
|
|
176
|
+
</View>
|
|
141
177
|
</View>
|
|
178
|
+
<View
|
|
179
|
+
pointerEvents="box-none"
|
|
180
|
+
position="bottom"
|
|
181
|
+
style={
|
|
182
|
+
[
|
|
183
|
+
{
|
|
184
|
+
"bottom": 0,
|
|
185
|
+
"elevation": 9999,
|
|
186
|
+
"flexDirection": "column-reverse",
|
|
187
|
+
"left": 0,
|
|
188
|
+
"paddingHorizontal": 24,
|
|
189
|
+
"paddingVertical": 16,
|
|
190
|
+
"position": "absolute",
|
|
191
|
+
"right": 0,
|
|
192
|
+
"top": 0,
|
|
193
|
+
},
|
|
194
|
+
undefined,
|
|
195
|
+
]
|
|
196
|
+
}
|
|
197
|
+
/>
|
|
142
198
|
</View>
|
|
143
199
|
`;
|
|
144
200
|
|
|
145
201
|
exports[`Skeleton renders correctly when intent is dark and variant is rectangular 1`] = `
|
|
146
202
|
<View
|
|
147
|
-
onLayout={[Function]}
|
|
148
203
|
style={
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
{
|
|
153
|
-
"backgroundColor": "#ffffff",
|
|
154
|
-
"borderRadius": 0,
|
|
155
|
-
},
|
|
156
|
-
undefined,
|
|
157
|
-
],
|
|
158
|
-
]
|
|
204
|
+
{
|
|
205
|
+
"flex": 1,
|
|
206
|
+
}
|
|
159
207
|
}
|
|
160
|
-
themeIntent="dark"
|
|
161
|
-
themeVariant="rectangular"
|
|
162
208
|
>
|
|
163
209
|
<View
|
|
210
|
+
onLayout={[Function]}
|
|
164
211
|
style={
|
|
165
212
|
[
|
|
166
213
|
{},
|
|
167
214
|
[
|
|
168
215
|
{
|
|
216
|
+
"backgroundColor": "#ffffff",
|
|
169
217
|
"borderRadius": 0,
|
|
170
|
-
"overflow": "hidden",
|
|
171
218
|
},
|
|
172
219
|
undefined,
|
|
173
220
|
],
|
|
174
221
|
]
|
|
175
222
|
}
|
|
223
|
+
themeIntent="dark"
|
|
176
224
|
themeVariant="rectangular"
|
|
177
225
|
>
|
|
178
|
-
<
|
|
179
|
-
|
|
180
|
-
colors={
|
|
226
|
+
<View
|
|
227
|
+
style={
|
|
181
228
|
[
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
229
|
+
{},
|
|
230
|
+
[
|
|
231
|
+
{
|
|
232
|
+
"borderRadius": 0,
|
|
233
|
+
"overflow": "hidden",
|
|
234
|
+
},
|
|
235
|
+
undefined,
|
|
236
|
+
],
|
|
185
237
|
]
|
|
186
238
|
}
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
239
|
+
themeVariant="rectangular"
|
|
240
|
+
>
|
|
241
|
+
<BVLinearGradient
|
|
242
|
+
collapsable={false}
|
|
243
|
+
colors={
|
|
244
|
+
[
|
|
245
|
+
4294967295,
|
|
246
|
+
4292533214,
|
|
247
|
+
4294967295,
|
|
248
|
+
]
|
|
191
249
|
}
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
"y": 0,
|
|
250
|
+
endPoint={
|
|
251
|
+
{
|
|
252
|
+
"x": 1,
|
|
253
|
+
"y": 0,
|
|
254
|
+
}
|
|
198
255
|
}
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
"translateX": -0,
|
|
206
|
-
},
|
|
207
|
-
],
|
|
208
|
-
"width": "100%",
|
|
256
|
+
locations={null}
|
|
257
|
+
startPoint={
|
|
258
|
+
{
|
|
259
|
+
"x": 0,
|
|
260
|
+
"y": 0,
|
|
261
|
+
}
|
|
209
262
|
}
|
|
210
|
-
|
|
211
|
-
|
|
263
|
+
style={
|
|
264
|
+
{
|
|
265
|
+
"height": "100%",
|
|
266
|
+
"transform": [
|
|
267
|
+
{
|
|
268
|
+
"translateX": -0,
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
"width": "100%",
|
|
272
|
+
}
|
|
273
|
+
}
|
|
274
|
+
/>
|
|
275
|
+
</View>
|
|
212
276
|
</View>
|
|
277
|
+
<View
|
|
278
|
+
pointerEvents="box-none"
|
|
279
|
+
position="bottom"
|
|
280
|
+
style={
|
|
281
|
+
[
|
|
282
|
+
{
|
|
283
|
+
"bottom": 0,
|
|
284
|
+
"elevation": 9999,
|
|
285
|
+
"flexDirection": "column-reverse",
|
|
286
|
+
"left": 0,
|
|
287
|
+
"paddingHorizontal": 24,
|
|
288
|
+
"paddingVertical": 16,
|
|
289
|
+
"position": "absolute",
|
|
290
|
+
"right": 0,
|
|
291
|
+
"top": 0,
|
|
292
|
+
},
|
|
293
|
+
undefined,
|
|
294
|
+
]
|
|
295
|
+
}
|
|
296
|
+
/>
|
|
213
297
|
</View>
|
|
214
298
|
`;
|
|
215
299
|
|
|
216
300
|
exports[`Skeleton renders correctly when intent is dark and variant is rounded 1`] = `
|
|
217
301
|
<View
|
|
218
|
-
onLayout={[Function]}
|
|
219
302
|
style={
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
{
|
|
224
|
-
"backgroundColor": "#ffffff",
|
|
225
|
-
"borderRadius": 16,
|
|
226
|
-
},
|
|
227
|
-
undefined,
|
|
228
|
-
],
|
|
229
|
-
]
|
|
303
|
+
{
|
|
304
|
+
"flex": 1,
|
|
305
|
+
}
|
|
230
306
|
}
|
|
231
|
-
themeIntent="dark"
|
|
232
|
-
themeVariant="rounded"
|
|
233
307
|
>
|
|
234
308
|
<View
|
|
309
|
+
onLayout={[Function]}
|
|
235
310
|
style={
|
|
236
311
|
[
|
|
237
312
|
{},
|
|
238
313
|
[
|
|
239
314
|
{
|
|
315
|
+
"backgroundColor": "#ffffff",
|
|
240
316
|
"borderRadius": 16,
|
|
241
|
-
"overflow": "hidden",
|
|
242
317
|
},
|
|
243
318
|
undefined,
|
|
244
319
|
],
|
|
245
320
|
]
|
|
246
321
|
}
|
|
322
|
+
themeIntent="dark"
|
|
247
323
|
themeVariant="rounded"
|
|
248
324
|
>
|
|
249
|
-
<
|
|
250
|
-
|
|
251
|
-
colors={
|
|
325
|
+
<View
|
|
326
|
+
style={
|
|
252
327
|
[
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
328
|
+
{},
|
|
329
|
+
[
|
|
330
|
+
{
|
|
331
|
+
"borderRadius": 16,
|
|
332
|
+
"overflow": "hidden",
|
|
333
|
+
},
|
|
334
|
+
undefined,
|
|
335
|
+
],
|
|
256
336
|
]
|
|
257
337
|
}
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
338
|
+
themeVariant="rounded"
|
|
339
|
+
>
|
|
340
|
+
<BVLinearGradient
|
|
341
|
+
collapsable={false}
|
|
342
|
+
colors={
|
|
343
|
+
[
|
|
344
|
+
4294967295,
|
|
345
|
+
4292533214,
|
|
346
|
+
4294967295,
|
|
347
|
+
]
|
|
262
348
|
}
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
"y": 0,
|
|
349
|
+
endPoint={
|
|
350
|
+
{
|
|
351
|
+
"x": 1,
|
|
352
|
+
"y": 0,
|
|
353
|
+
}
|
|
269
354
|
}
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
"translateX": -0,
|
|
277
|
-
},
|
|
278
|
-
],
|
|
279
|
-
"width": "100%",
|
|
355
|
+
locations={null}
|
|
356
|
+
startPoint={
|
|
357
|
+
{
|
|
358
|
+
"x": 0,
|
|
359
|
+
"y": 0,
|
|
360
|
+
}
|
|
280
361
|
}
|
|
281
|
-
|
|
282
|
-
|
|
362
|
+
style={
|
|
363
|
+
{
|
|
364
|
+
"height": "100%",
|
|
365
|
+
"transform": [
|
|
366
|
+
{
|
|
367
|
+
"translateX": -0,
|
|
368
|
+
},
|
|
369
|
+
],
|
|
370
|
+
"width": "100%",
|
|
371
|
+
}
|
|
372
|
+
}
|
|
373
|
+
/>
|
|
374
|
+
</View>
|
|
283
375
|
</View>
|
|
376
|
+
<View
|
|
377
|
+
pointerEvents="box-none"
|
|
378
|
+
position="bottom"
|
|
379
|
+
style={
|
|
380
|
+
[
|
|
381
|
+
{
|
|
382
|
+
"bottom": 0,
|
|
383
|
+
"elevation": 9999,
|
|
384
|
+
"flexDirection": "column-reverse",
|
|
385
|
+
"left": 0,
|
|
386
|
+
"paddingHorizontal": 24,
|
|
387
|
+
"paddingVertical": 16,
|
|
388
|
+
"position": "absolute",
|
|
389
|
+
"right": 0,
|
|
390
|
+
"top": 0,
|
|
391
|
+
},
|
|
392
|
+
undefined,
|
|
393
|
+
]
|
|
394
|
+
}
|
|
395
|
+
/>
|
|
284
396
|
</View>
|
|
285
397
|
`;
|
|
286
398
|
|
|
287
399
|
exports[`Skeleton renders correctly when intent is light and variant is circular 1`] = `
|
|
288
400
|
<View
|
|
289
|
-
onLayout={[Function]}
|
|
290
401
|
style={
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
{
|
|
295
|
-
"backgroundColor": "#f6f6f7",
|
|
296
|
-
"borderRadius": 999,
|
|
297
|
-
},
|
|
298
|
-
undefined,
|
|
299
|
-
],
|
|
300
|
-
]
|
|
402
|
+
{
|
|
403
|
+
"flex": 1,
|
|
404
|
+
}
|
|
301
405
|
}
|
|
302
|
-
themeIntent="light"
|
|
303
|
-
themeVariant="circular"
|
|
304
406
|
>
|
|
305
407
|
<View
|
|
408
|
+
onLayout={[Function]}
|
|
306
409
|
style={
|
|
307
410
|
[
|
|
308
411
|
{},
|
|
309
412
|
[
|
|
310
413
|
{
|
|
414
|
+
"backgroundColor": "#f6f6f7",
|
|
311
415
|
"borderRadius": 999,
|
|
312
|
-
"overflow": "hidden",
|
|
313
416
|
},
|
|
314
417
|
undefined,
|
|
315
418
|
],
|
|
316
419
|
]
|
|
317
420
|
}
|
|
421
|
+
themeIntent="light"
|
|
318
422
|
themeVariant="circular"
|
|
319
423
|
>
|
|
320
|
-
<
|
|
321
|
-
|
|
322
|
-
colors={
|
|
424
|
+
<View
|
|
425
|
+
style={
|
|
323
426
|
[
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
427
|
+
{},
|
|
428
|
+
[
|
|
429
|
+
{
|
|
430
|
+
"borderRadius": 999,
|
|
431
|
+
"overflow": "hidden",
|
|
432
|
+
},
|
|
433
|
+
undefined,
|
|
434
|
+
],
|
|
327
435
|
]
|
|
328
436
|
}
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
437
|
+
themeVariant="circular"
|
|
438
|
+
>
|
|
439
|
+
<BVLinearGradient
|
|
440
|
+
collapsable={false}
|
|
441
|
+
colors={
|
|
442
|
+
[
|
|
443
|
+
4294375159,
|
|
444
|
+
4292533214,
|
|
445
|
+
4294375159,
|
|
446
|
+
]
|
|
333
447
|
}
|
|
334
|
-
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
"y": 0,
|
|
448
|
+
endPoint={
|
|
449
|
+
{
|
|
450
|
+
"x": 1,
|
|
451
|
+
"y": 0,
|
|
452
|
+
}
|
|
340
453
|
}
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
"translateX": -0,
|
|
348
|
-
},
|
|
349
|
-
],
|
|
350
|
-
"width": "100%",
|
|
454
|
+
locations={null}
|
|
455
|
+
startPoint={
|
|
456
|
+
{
|
|
457
|
+
"x": 0,
|
|
458
|
+
"y": 0,
|
|
459
|
+
}
|
|
351
460
|
}
|
|
352
|
-
|
|
353
|
-
|
|
461
|
+
style={
|
|
462
|
+
{
|
|
463
|
+
"height": "100%",
|
|
464
|
+
"transform": [
|
|
465
|
+
{
|
|
466
|
+
"translateX": -0,
|
|
467
|
+
},
|
|
468
|
+
],
|
|
469
|
+
"width": "100%",
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
/>
|
|
473
|
+
</View>
|
|
354
474
|
</View>
|
|
475
|
+
<View
|
|
476
|
+
pointerEvents="box-none"
|
|
477
|
+
position="bottom"
|
|
478
|
+
style={
|
|
479
|
+
[
|
|
480
|
+
{
|
|
481
|
+
"bottom": 0,
|
|
482
|
+
"elevation": 9999,
|
|
483
|
+
"flexDirection": "column-reverse",
|
|
484
|
+
"left": 0,
|
|
485
|
+
"paddingHorizontal": 24,
|
|
486
|
+
"paddingVertical": 16,
|
|
487
|
+
"position": "absolute",
|
|
488
|
+
"right": 0,
|
|
489
|
+
"top": 0,
|
|
490
|
+
},
|
|
491
|
+
undefined,
|
|
492
|
+
]
|
|
493
|
+
}
|
|
494
|
+
/>
|
|
355
495
|
</View>
|
|
356
496
|
`;
|
|
357
497
|
|
|
358
498
|
exports[`Skeleton renders correctly when intent is light and variant is rectangular 1`] = `
|
|
359
499
|
<View
|
|
360
|
-
onLayout={[Function]}
|
|
361
500
|
style={
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
{
|
|
366
|
-
"backgroundColor": "#f6f6f7",
|
|
367
|
-
"borderRadius": 0,
|
|
368
|
-
},
|
|
369
|
-
undefined,
|
|
370
|
-
],
|
|
371
|
-
]
|
|
501
|
+
{
|
|
502
|
+
"flex": 1,
|
|
503
|
+
}
|
|
372
504
|
}
|
|
373
|
-
themeIntent="light"
|
|
374
|
-
themeVariant="rectangular"
|
|
375
505
|
>
|
|
376
506
|
<View
|
|
507
|
+
onLayout={[Function]}
|
|
377
508
|
style={
|
|
378
509
|
[
|
|
379
510
|
{},
|
|
380
511
|
[
|
|
381
512
|
{
|
|
513
|
+
"backgroundColor": "#f6f6f7",
|
|
382
514
|
"borderRadius": 0,
|
|
383
|
-
"overflow": "hidden",
|
|
384
515
|
},
|
|
385
516
|
undefined,
|
|
386
517
|
],
|
|
387
518
|
]
|
|
388
519
|
}
|
|
520
|
+
themeIntent="light"
|
|
389
521
|
themeVariant="rectangular"
|
|
390
522
|
>
|
|
391
|
-
<
|
|
392
|
-
|
|
393
|
-
colors={
|
|
523
|
+
<View
|
|
524
|
+
style={
|
|
394
525
|
[
|
|
395
|
-
|
|
396
|
-
|
|
397
|
-
|
|
526
|
+
{},
|
|
527
|
+
[
|
|
528
|
+
{
|
|
529
|
+
"borderRadius": 0,
|
|
530
|
+
"overflow": "hidden",
|
|
531
|
+
},
|
|
532
|
+
undefined,
|
|
533
|
+
],
|
|
398
534
|
]
|
|
399
535
|
}
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
|
|
536
|
+
themeVariant="rectangular"
|
|
537
|
+
>
|
|
538
|
+
<BVLinearGradient
|
|
539
|
+
collapsable={false}
|
|
540
|
+
colors={
|
|
541
|
+
[
|
|
542
|
+
4294375159,
|
|
543
|
+
4292533214,
|
|
544
|
+
4294375159,
|
|
545
|
+
]
|
|
404
546
|
}
|
|
405
|
-
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
"y": 0,
|
|
547
|
+
endPoint={
|
|
548
|
+
{
|
|
549
|
+
"x": 1,
|
|
550
|
+
"y": 0,
|
|
551
|
+
}
|
|
411
552
|
}
|
|
412
|
-
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
"translateX": -0,
|
|
419
|
-
},
|
|
420
|
-
],
|
|
421
|
-
"width": "100%",
|
|
553
|
+
locations={null}
|
|
554
|
+
startPoint={
|
|
555
|
+
{
|
|
556
|
+
"x": 0,
|
|
557
|
+
"y": 0,
|
|
558
|
+
}
|
|
422
559
|
}
|
|
423
|
-
|
|
424
|
-
|
|
560
|
+
style={
|
|
561
|
+
{
|
|
562
|
+
"height": "100%",
|
|
563
|
+
"transform": [
|
|
564
|
+
{
|
|
565
|
+
"translateX": -0,
|
|
566
|
+
},
|
|
567
|
+
],
|
|
568
|
+
"width": "100%",
|
|
569
|
+
}
|
|
570
|
+
}
|
|
571
|
+
/>
|
|
572
|
+
</View>
|
|
425
573
|
</View>
|
|
574
|
+
<View
|
|
575
|
+
pointerEvents="box-none"
|
|
576
|
+
position="bottom"
|
|
577
|
+
style={
|
|
578
|
+
[
|
|
579
|
+
{
|
|
580
|
+
"bottom": 0,
|
|
581
|
+
"elevation": 9999,
|
|
582
|
+
"flexDirection": "column-reverse",
|
|
583
|
+
"left": 0,
|
|
584
|
+
"paddingHorizontal": 24,
|
|
585
|
+
"paddingVertical": 16,
|
|
586
|
+
"position": "absolute",
|
|
587
|
+
"right": 0,
|
|
588
|
+
"top": 0,
|
|
589
|
+
},
|
|
590
|
+
undefined,
|
|
591
|
+
]
|
|
592
|
+
}
|
|
593
|
+
/>
|
|
426
594
|
</View>
|
|
427
595
|
`;
|
|
428
596
|
|
|
429
597
|
exports[`Skeleton renders correctly when intent is light and variant is rounded 1`] = `
|
|
430
598
|
<View
|
|
431
|
-
onLayout={[Function]}
|
|
432
599
|
style={
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
{
|
|
437
|
-
"backgroundColor": "#f6f6f7",
|
|
438
|
-
"borderRadius": 16,
|
|
439
|
-
},
|
|
440
|
-
undefined,
|
|
441
|
-
],
|
|
442
|
-
]
|
|
600
|
+
{
|
|
601
|
+
"flex": 1,
|
|
602
|
+
}
|
|
443
603
|
}
|
|
444
|
-
themeIntent="light"
|
|
445
|
-
themeVariant="rounded"
|
|
446
604
|
>
|
|
447
605
|
<View
|
|
606
|
+
onLayout={[Function]}
|
|
448
607
|
style={
|
|
449
608
|
[
|
|
450
609
|
{},
|
|
451
610
|
[
|
|
452
611
|
{
|
|
612
|
+
"backgroundColor": "#f6f6f7",
|
|
453
613
|
"borderRadius": 16,
|
|
454
|
-
"overflow": "hidden",
|
|
455
614
|
},
|
|
456
615
|
undefined,
|
|
457
616
|
],
|
|
458
617
|
]
|
|
459
618
|
}
|
|
619
|
+
themeIntent="light"
|
|
460
620
|
themeVariant="rounded"
|
|
461
621
|
>
|
|
462
|
-
<
|
|
463
|
-
|
|
464
|
-
colors={
|
|
622
|
+
<View
|
|
623
|
+
style={
|
|
465
624
|
[
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
625
|
+
{},
|
|
626
|
+
[
|
|
627
|
+
{
|
|
628
|
+
"borderRadius": 16,
|
|
629
|
+
"overflow": "hidden",
|
|
630
|
+
},
|
|
631
|
+
undefined,
|
|
632
|
+
],
|
|
469
633
|
]
|
|
470
634
|
}
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
|
|
635
|
+
themeVariant="rounded"
|
|
636
|
+
>
|
|
637
|
+
<BVLinearGradient
|
|
638
|
+
collapsable={false}
|
|
639
|
+
colors={
|
|
640
|
+
[
|
|
641
|
+
4294375159,
|
|
642
|
+
4292533214,
|
|
643
|
+
4294375159,
|
|
644
|
+
]
|
|
475
645
|
}
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
"y": 0,
|
|
646
|
+
endPoint={
|
|
647
|
+
{
|
|
648
|
+
"x": 1,
|
|
649
|
+
"y": 0,
|
|
650
|
+
}
|
|
482
651
|
}
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
"translateX": -0,
|
|
490
|
-
},
|
|
491
|
-
],
|
|
492
|
-
"width": "100%",
|
|
652
|
+
locations={null}
|
|
653
|
+
startPoint={
|
|
654
|
+
{
|
|
655
|
+
"x": 0,
|
|
656
|
+
"y": 0,
|
|
657
|
+
}
|
|
493
658
|
}
|
|
494
|
-
|
|
495
|
-
|
|
659
|
+
style={
|
|
660
|
+
{
|
|
661
|
+
"height": "100%",
|
|
662
|
+
"transform": [
|
|
663
|
+
{
|
|
664
|
+
"translateX": -0,
|
|
665
|
+
},
|
|
666
|
+
],
|
|
667
|
+
"width": "100%",
|
|
668
|
+
}
|
|
669
|
+
}
|
|
670
|
+
/>
|
|
671
|
+
</View>
|
|
496
672
|
</View>
|
|
673
|
+
<View
|
|
674
|
+
pointerEvents="box-none"
|
|
675
|
+
position="bottom"
|
|
676
|
+
style={
|
|
677
|
+
[
|
|
678
|
+
{
|
|
679
|
+
"bottom": 0,
|
|
680
|
+
"elevation": 9999,
|
|
681
|
+
"flexDirection": "column-reverse",
|
|
682
|
+
"left": 0,
|
|
683
|
+
"paddingHorizontal": 24,
|
|
684
|
+
"paddingVertical": 16,
|
|
685
|
+
"position": "absolute",
|
|
686
|
+
"right": 0,
|
|
687
|
+
"top": 0,
|
|
688
|
+
},
|
|
689
|
+
undefined,
|
|
690
|
+
]
|
|
691
|
+
}
|
|
692
|
+
/>
|
|
497
693
|
</View>
|
|
498
694
|
`;
|