@draftbit/core 46.4.4-6da88d.2 → 46.4.4-7001c8.2
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/lib/commonjs/index.js +13 -219
- package/lib/commonjs/index.js.map +1 -1
- package/lib/commonjs/mappings/Touchable.js +1 -1
- package/lib/commonjs/mappings/View.js.map +1 -1
- package/lib/commonjs/mappings/WebView.js.map +1 -1
- package/lib/module/index.js +29 -42
- package/lib/module/index.js.map +1 -1
- package/lib/module/mappings/Touchable.js +1 -1
- package/lib/typescript/src/index.d.ts +13 -40
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +4 -6
- package/src/index.js +22 -42
- package/src/index.tsx +36 -52
- package/src/mappings/Touchable.js +1 -1
- package/src/mappings/Touchable.ts +1 -1
- package/lib/commonjs/components/AnimatedCircularProgress.js +0 -67
- package/lib/commonjs/components/AnimatedCircularProgress.js.map +0 -1
- package/lib/commonjs/components/AspectRatio.js +0 -51
- package/lib/commonjs/components/AspectRatio.js.map +0 -1
- package/lib/commonjs/components/AvatarEdit.js +0 -60
- package/lib/commonjs/components/AvatarEdit.js.map +0 -1
- package/lib/commonjs/components/Banner.js +0 -168
- package/lib/commonjs/components/Banner.js.map +0 -1
- package/lib/commonjs/components/Card.js +0 -138
- package/lib/commonjs/components/Card.js.map +0 -1
- package/lib/commonjs/components/CardBlock.js +0 -107
- package/lib/commonjs/components/CardBlock.js.map +0 -1
- package/lib/commonjs/components/CardContainer.js +0 -130
- package/lib/commonjs/components/CardContainer.js.map +0 -1
- package/lib/commonjs/components/CardContainerRating.js +0 -134
- package/lib/commonjs/components/CardContainerRating.js.map +0 -1
- package/lib/commonjs/components/CardContainerShortImage.js +0 -85
- package/lib/commonjs/components/CardContainerShortImage.js.map +0 -1
- package/lib/commonjs/components/CardInline.js +0 -92
- package/lib/commonjs/components/CardInline.js.map +0 -1
- package/lib/commonjs/components/Carousel.js +0 -130
- package/lib/commonjs/components/Carousel.js.map +0 -1
- package/lib/commonjs/components/CircleImage.js +0 -36
- package/lib/commonjs/components/CircleImage.js.map +0 -1
- package/lib/commonjs/components/CircularProgress.js +0 -113
- package/lib/commonjs/components/CircularProgress.js.map +0 -1
- package/lib/commonjs/components/Container.js +0 -105
- package/lib/commonjs/components/Container.js.map +0 -1
- package/lib/commonjs/components/DeprecatedCardWrapper.js +0 -41
- package/lib/commonjs/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/commonjs/components/DeprecatedFAB.js +0 -159
- package/lib/commonjs/components/DeprecatedFAB.js.map +0 -1
- package/lib/commonjs/components/Divider.js +0 -31
- package/lib/commonjs/components/Divider.js.map +0 -1
- package/lib/commonjs/components/FAB.js +0 -83
- package/lib/commonjs/components/FAB.js.map +0 -1
- package/lib/commonjs/components/FieldSearchBarFull.js +0 -98
- package/lib/commonjs/components/FieldSearchBarFull.js.map +0 -1
- package/lib/commonjs/components/Header.js +0 -83
- package/lib/commonjs/components/Header.js.map +0 -1
- package/lib/commonjs/components/HeaderLarge.js +0 -39
- package/lib/commonjs/components/HeaderLarge.js.map +0 -1
- package/lib/commonjs/components/HeaderMedium.js +0 -39
- package/lib/commonjs/components/HeaderMedium.js.map +0 -1
- package/lib/commonjs/components/HeaderOverline.js +0 -40
- package/lib/commonjs/components/HeaderOverline.js.map +0 -1
- package/lib/commonjs/components/Image.js +0 -82
- package/lib/commonjs/components/Image.js.map +0 -1
- package/lib/commonjs/components/Justification.js +0 -5
- package/lib/commonjs/components/Justification.js.map +0 -1
- package/lib/commonjs/components/ProgressBar.js +0 -159
- package/lib/commonjs/components/ProgressBar.js.map +0 -1
- package/lib/commonjs/components/ProgressCircle.js +0 -49
- package/lib/commonjs/components/ProgressCircle.js.map +0 -1
- package/lib/commonjs/components/ProgressIndicator.js +0 -56
- package/lib/commonjs/components/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/components/ResizeMode.js +0 -5
- package/lib/commonjs/components/ResizeMode.js.map +0 -1
- package/lib/commonjs/components/Row.js +0 -74
- package/lib/commonjs/components/Row.js.map +0 -1
- package/lib/commonjs/components/RowBodyIcon.js +0 -46
- package/lib/commonjs/components/RowBodyIcon.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageCaption.js +0 -46
- package/lib/commonjs/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/commonjs/components/RowHeadlineImageIcon.js +0 -52
- package/lib/commonjs/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/commonjs/components/StepIndicator.js +0 -386
- package/lib/commonjs/components/StepIndicator.js.map +0 -1
- package/lib/commonjs/components/TabView/TabView.js +0 -88
- package/lib/commonjs/components/TabView/TabView.js.map +0 -1
- package/lib/commonjs/components/TabView/TabViewItem.js +0 -25
- package/lib/commonjs/components/TabView/TabViewItem.js.map +0 -1
- package/lib/commonjs/components/TabView/index.js +0 -21
- package/lib/commonjs/components/TabView/index.js.map +0 -1
- package/lib/commonjs/components/ToggleButton.js +0 -72
- package/lib/commonjs/components/ToggleButton.js.map +0 -1
- package/lib/commonjs/components/Typography.js +0 -59
- package/lib/commonjs/components/Typography.js.map +0 -1
- package/lib/commonjs/components/useAuthState.js +0 -29
- package/lib/commonjs/components/useAuthState.js.map +0 -1
- package/lib/commonjs/mappings/AvatarEdit.js +0 -46
- package/lib/commonjs/mappings/AvatarEdit.js.map +0 -1
- package/lib/commonjs/mappings/Banner.js +0 -40
- package/lib/commonjs/mappings/Banner.js.map +0 -1
- package/lib/commonjs/mappings/Card.js +0 -61
- package/lib/commonjs/mappings/Card.js.map +0 -1
- package/lib/commonjs/mappings/CardBlock.js +0 -127
- package/lib/commonjs/mappings/CardBlock.js.map +0 -1
- package/lib/commonjs/mappings/CardContainer.js +0 -109
- package/lib/commonjs/mappings/CardContainer.js.map +0 -1
- package/lib/commonjs/mappings/CardContainerRating.js +0 -131
- package/lib/commonjs/mappings/CardContainerRating.js.map +0 -1
- package/lib/commonjs/mappings/CardContainerShortImage.js +0 -125
- package/lib/commonjs/mappings/CardContainerShortImage.js.map +0 -1
- package/lib/commonjs/mappings/CardInline.js +0 -60
- package/lib/commonjs/mappings/CardInline.js.map +0 -1
- package/lib/commonjs/mappings/Carousel.js +0 -25
- package/lib/commonjs/mappings/Carousel.js.map +0 -1
- package/lib/commonjs/mappings/CircleImage.js +0 -33
- package/lib/commonjs/mappings/CircleImage.js.map +0 -1
- package/lib/commonjs/mappings/Container.js +0 -38
- package/lib/commonjs/mappings/Container.js.map +0 -1
- package/lib/commonjs/mappings/Divider.js +0 -33
- package/lib/commonjs/mappings/Divider.js.map +0 -1
- package/lib/commonjs/mappings/FAB.js +0 -45
- package/lib/commonjs/mappings/FAB.js.map +0 -1
- package/lib/commonjs/mappings/FieldSearchBarFull.js +0 -57
- package/lib/commonjs/mappings/FieldSearchBarFull.js.map +0 -1
- package/lib/commonjs/mappings/HeaderLarge.js +0 -35
- package/lib/commonjs/mappings/HeaderLarge.js.map +0 -1
- package/lib/commonjs/mappings/HeaderMedium.js +0 -61
- package/lib/commonjs/mappings/HeaderMedium.js.map +0 -1
- package/lib/commonjs/mappings/HeaderOverline.js +0 -61
- package/lib/commonjs/mappings/HeaderOverline.js.map +0 -1
- package/lib/commonjs/mappings/ProgressBar.js +0 -107
- package/lib/commonjs/mappings/ProgressBar.js.map +0 -1
- package/lib/commonjs/mappings/ProgressCircle.js +0 -117
- package/lib/commonjs/mappings/ProgressCircle.js.map +0 -1
- package/lib/commonjs/mappings/ProgressIndicator.js +0 -189
- package/lib/commonjs/mappings/ProgressIndicator.js.map +0 -1
- package/lib/commonjs/mappings/RowBodyIcon.js +0 -80
- package/lib/commonjs/mappings/RowBodyIcon.js.map +0 -1
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js +0 -170
- package/lib/commonjs/mappings/RowHeadlineImageCaption.js.map +0 -1
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js +0 -100
- package/lib/commonjs/mappings/RowHeadlineImageIcon.js.map +0 -1
- package/lib/commonjs/mappings/TabView.js +0 -78
- package/lib/commonjs/mappings/TabView.js.map +0 -1
- package/lib/commonjs/mappings/ToggleButton.js +0 -54
- package/lib/commonjs/mappings/ToggleButton.js.map +0 -1
- package/lib/module/components/AnimatedCircularProgress.js +0 -57
- package/lib/module/components/AnimatedCircularProgress.js.map +0 -1
- package/lib/module/components/AspectRatio.js +0 -43
- package/lib/module/components/AspectRatio.js.map +0 -1
- package/lib/module/components/AvatarEdit.js +0 -50
- package/lib/module/components/AvatarEdit.js.map +0 -1
- package/lib/module/components/Banner.js +0 -158
- package/lib/module/components/Banner.js.map +0 -1
- package/lib/module/components/Card.js +0 -129
- package/lib/module/components/Card.js.map +0 -1
- package/lib/module/components/CardBlock.js +0 -99
- package/lib/module/components/CardBlock.js.map +0 -1
- package/lib/module/components/CardContainer.js +0 -122
- package/lib/module/components/CardContainer.js.map +0 -1
- package/lib/module/components/CardContainerRating.js +0 -126
- package/lib/module/components/CardContainerRating.js.map +0 -1
- package/lib/module/components/CardContainerShortImage.js +0 -77
- package/lib/module/components/CardContainerShortImage.js.map +0 -1
- package/lib/module/components/CardInline.js +0 -83
- package/lib/module/components/CardInline.js.map +0 -1
- package/lib/module/components/Carousel.js +0 -120
- package/lib/module/components/Carousel.js.map +0 -1
- package/lib/module/components/CircleImage.js +0 -26
- package/lib/module/components/CircleImage.js.map +0 -1
- package/lib/module/components/CircularProgress.js +0 -105
- package/lib/module/components/CircularProgress.js.map +0 -1
- package/lib/module/components/Container.js +0 -84
- package/lib/module/components/Container.js.map +0 -1
- package/lib/module/components/DeprecatedCardWrapper.js +0 -33
- package/lib/module/components/DeprecatedCardWrapper.js.map +0 -1
- package/lib/module/components/DeprecatedFAB.js +0 -149
- package/lib/module/components/DeprecatedFAB.js.map +0 -1
- package/lib/module/components/Divider.js +0 -22
- package/lib/module/components/Divider.js.map +0 -1
- package/lib/module/components/FAB.js +0 -74
- package/lib/module/components/FAB.js.map +0 -1
- package/lib/module/components/FieldSearchBarFull.js +0 -88
- package/lib/module/components/FieldSearchBarFull.js.map +0 -1
- package/lib/module/components/Header.js +0 -73
- package/lib/module/components/Header.js.map +0 -1
- package/lib/module/components/HeaderLarge.js +0 -29
- package/lib/module/components/HeaderLarge.js.map +0 -1
- package/lib/module/components/HeaderMedium.js +0 -29
- package/lib/module/components/HeaderMedium.js.map +0 -1
- package/lib/module/components/HeaderOverline.js +0 -30
- package/lib/module/components/HeaderOverline.js.map +0 -1
- package/lib/module/components/Image.js +0 -75
- package/lib/module/components/Image.js.map +0 -1
- package/lib/module/components/Justification.js +0 -2
- package/lib/module/components/Justification.js.map +0 -1
- package/lib/module/components/ProgressBar.js +0 -150
- package/lib/module/components/ProgressBar.js.map +0 -1
- package/lib/module/components/ProgressCircle.js +0 -39
- package/lib/module/components/ProgressCircle.js.map +0 -1
- package/lib/module/components/ProgressIndicator.js +0 -46
- package/lib/module/components/ProgressIndicator.js.map +0 -1
- package/lib/module/components/ResizeMode.js +0 -2
- package/lib/module/components/ResizeMode.js.map +0 -1
- package/lib/module/components/Row.js +0 -64
- package/lib/module/components/Row.js.map +0 -1
- package/lib/module/components/RowBodyIcon.js +0 -36
- package/lib/module/components/RowBodyIcon.js.map +0 -1
- package/lib/module/components/RowHeadlineImageCaption.js +0 -36
- package/lib/module/components/RowHeadlineImageCaption.js.map +0 -1
- package/lib/module/components/RowHeadlineImageIcon.js +0 -42
- package/lib/module/components/RowHeadlineImageIcon.js.map +0 -1
- package/lib/module/components/StepIndicator.js +0 -378
- package/lib/module/components/StepIndicator.js.map +0 -1
- package/lib/module/components/TabView/TabView.js +0 -80
- package/lib/module/components/TabView/TabView.js.map +0 -1
- package/lib/module/components/TabView/TabViewItem.js +0 -18
- package/lib/module/components/TabView/TabViewItem.js.map +0 -1
- package/lib/module/components/TabView/index.js +0 -3
- package/lib/module/components/TabView/index.js.map +0 -1
- package/lib/module/components/ToggleButton.js +0 -62
- package/lib/module/components/ToggleButton.js.map +0 -1
- package/lib/module/components/Typography.js +0 -49
- package/lib/module/components/Typography.js.map +0 -1
- package/lib/module/components/useAuthState.js +0 -20
- package/lib/module/components/useAuthState.js.map +0 -1
- package/lib/module/mappings/AvatarEdit.js +0 -39
- package/lib/module/mappings/AvatarEdit.js.map +0 -1
- package/lib/module/mappings/Banner.js +0 -33
- package/lib/module/mappings/Banner.js.map +0 -1
- package/lib/module/mappings/Card.js +0 -54
- package/lib/module/mappings/Card.js.map +0 -1
- package/lib/module/mappings/CardBlock.js +0 -120
- package/lib/module/mappings/CardBlock.js.map +0 -1
- package/lib/module/mappings/CardContainer.js +0 -102
- package/lib/module/mappings/CardContainer.js.map +0 -1
- package/lib/module/mappings/CardContainerRating.js +0 -124
- package/lib/module/mappings/CardContainerRating.js.map +0 -1
- package/lib/module/mappings/CardContainerShortImage.js +0 -118
- package/lib/module/mappings/CardContainerShortImage.js.map +0 -1
- package/lib/module/mappings/CardInline.js +0 -53
- package/lib/module/mappings/CardInline.js.map +0 -1
- package/lib/module/mappings/Carousel.js +0 -18
- package/lib/module/mappings/Carousel.js.map +0 -1
- package/lib/module/mappings/CircleImage.js +0 -26
- package/lib/module/mappings/CircleImage.js.map +0 -1
- package/lib/module/mappings/Container.js +0 -31
- package/lib/module/mappings/Container.js.map +0 -1
- package/lib/module/mappings/Divider.js +0 -26
- package/lib/module/mappings/Divider.js.map +0 -1
- package/lib/module/mappings/FAB.js +0 -38
- package/lib/module/mappings/FAB.js.map +0 -1
- package/lib/module/mappings/FieldSearchBarFull.js +0 -50
- package/lib/module/mappings/FieldSearchBarFull.js.map +0 -1
- package/lib/module/mappings/HeaderLarge.js +0 -28
- package/lib/module/mappings/HeaderLarge.js.map +0 -1
- package/lib/module/mappings/HeaderMedium.js +0 -54
- package/lib/module/mappings/HeaderMedium.js.map +0 -1
- package/lib/module/mappings/HeaderOverline.js +0 -54
- package/lib/module/mappings/HeaderOverline.js.map +0 -1
- package/lib/module/mappings/ProgressBar.js +0 -100
- package/lib/module/mappings/ProgressBar.js.map +0 -1
- package/lib/module/mappings/ProgressCircle.js +0 -110
- package/lib/module/mappings/ProgressCircle.js.map +0 -1
- package/lib/module/mappings/ProgressIndicator.js +0 -182
- package/lib/module/mappings/ProgressIndicator.js.map +0 -1
- package/lib/module/mappings/RowBodyIcon.js +0 -73
- package/lib/module/mappings/RowBodyIcon.js.map +0 -1
- package/lib/module/mappings/RowHeadlineImageCaption.js +0 -163
- package/lib/module/mappings/RowHeadlineImageCaption.js.map +0 -1
- package/lib/module/mappings/RowHeadlineImageIcon.js +0 -93
- package/lib/module/mappings/RowHeadlineImageIcon.js.map +0 -1
- package/lib/module/mappings/TabView.js +0 -71
- package/lib/module/mappings/TabView.js.map +0 -1
- package/lib/module/mappings/ToggleButton.js +0 -47
- package/lib/module/mappings/ToggleButton.js.map +0 -1
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts +0 -14
- package/lib/typescript/src/components/AnimatedCircularProgress.d.ts.map +0 -1
- package/lib/typescript/src/components/AspectRatio.d.ts +0 -9
- package/lib/typescript/src/components/AspectRatio.d.ts.map +0 -1
- package/lib/typescript/src/components/AvatarEdit.d.ts +0 -16
- package/lib/typescript/src/components/AvatarEdit.d.ts.map +0 -1
- package/lib/typescript/src/components/Banner.d.ts +0 -23
- package/lib/typescript/src/components/Banner.d.ts.map +0 -1
- package/lib/typescript/src/components/Card.d.ts +0 -43
- package/lib/typescript/src/components/Card.d.ts.map +0 -1
- package/lib/typescript/src/components/CardBlock.d.ts +0 -21
- package/lib/typescript/src/components/CardBlock.d.ts.map +0 -1
- package/lib/typescript/src/components/CardContainer.d.ts +0 -23
- package/lib/typescript/src/components/CardContainer.d.ts.map +0 -1
- package/lib/typescript/src/components/CardContainerRating.d.ts +0 -24
- package/lib/typescript/src/components/CardContainerRating.d.ts.map +0 -1
- package/lib/typescript/src/components/CardContainerShortImage.d.ts +0 -19
- package/lib/typescript/src/components/CardContainerShortImage.d.ts.map +0 -1
- package/lib/typescript/src/components/CardInline.d.ts +0 -20
- package/lib/typescript/src/components/CardInline.d.ts.map +0 -1
- package/lib/typescript/src/components/Carousel.d.ts +0 -15
- package/lib/typescript/src/components/Carousel.d.ts.map +0 -1
- package/lib/typescript/src/components/CircleImage.d.ts +0 -10
- package/lib/typescript/src/components/CircleImage.d.ts.map +0 -1
- package/lib/typescript/src/components/CircularProgress.d.ts +0 -43
- package/lib/typescript/src/components/CircularProgress.d.ts.map +0 -1
- package/lib/typescript/src/components/Container.d.ts +0 -21
- package/lib/typescript/src/components/Container.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts +0 -15
- package/lib/typescript/src/components/DeprecatedCardWrapper.d.ts.map +0 -1
- package/lib/typescript/src/components/DeprecatedFAB.d.ts +0 -56
- package/lib/typescript/src/components/DeprecatedFAB.d.ts.map +0 -1
- package/lib/typescript/src/components/Divider.d.ts +0 -13
- package/lib/typescript/src/components/Divider.d.ts.map +0 -1
- package/lib/typescript/src/components/FAB.d.ts +0 -20
- package/lib/typescript/src/components/FAB.d.ts.map +0 -1
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts +0 -20
- package/lib/typescript/src/components/FieldSearchBarFull.d.ts.map +0 -1
- package/lib/typescript/src/components/Header.d.ts +0 -20
- package/lib/typescript/src/components/Header.d.ts.map +0 -1
- package/lib/typescript/src/components/HeaderLarge.d.ts +0 -17
- package/lib/typescript/src/components/HeaderLarge.d.ts.map +0 -1
- package/lib/typescript/src/components/HeaderMedium.d.ts +0 -17
- package/lib/typescript/src/components/HeaderMedium.d.ts.map +0 -1
- package/lib/typescript/src/components/HeaderOverline.d.ts +0 -17
- package/lib/typescript/src/components/HeaderOverline.d.ts.map +0 -1
- package/lib/typescript/src/components/Image.d.ts +0 -5
- package/lib/typescript/src/components/Image.d.ts.map +0 -1
- package/lib/typescript/src/components/Justification.d.ts +0 -2
- package/lib/typescript/src/components/Justification.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressBar.d.ts +0 -35
- package/lib/typescript/src/components/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressCircle.d.ts +0 -21
- package/lib/typescript/src/components/ProgressCircle.d.ts.map +0 -1
- package/lib/typescript/src/components/ProgressIndicator.d.ts +0 -24
- package/lib/typescript/src/components/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/src/components/ResizeMode.d.ts +0 -2
- package/lib/typescript/src/components/ResizeMode.d.ts.map +0 -1
- package/lib/typescript/src/components/Row.d.ts +0 -21
- package/lib/typescript/src/components/Row.d.ts.map +0 -1
- package/lib/typescript/src/components/RowBodyIcon.d.ts +0 -16
- package/lib/typescript/src/components/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts +0 -16
- package/lib/typescript/src/components/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts +0 -18
- package/lib/typescript/src/components/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/components/StepIndicator.d.ts +0 -54
- package/lib/typescript/src/components/StepIndicator.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/TabView.d.ts +0 -20
- package/lib/typescript/src/components/TabView/TabView.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/TabViewItem.d.ts +0 -11
- package/lib/typescript/src/components/TabView/TabViewItem.d.ts.map +0 -1
- package/lib/typescript/src/components/TabView/index.d.ts +0 -3
- package/lib/typescript/src/components/TabView/index.d.ts.map +0 -1
- package/lib/typescript/src/components/ToggleButton.d.ts +0 -25
- package/lib/typescript/src/components/ToggleButton.d.ts.map +0 -1
- package/lib/typescript/src/components/Typography.d.ts +0 -22
- package/lib/typescript/src/components/Typography.d.ts.map +0 -1
- package/lib/typescript/src/components/useAuthState.d.ts +0 -2
- package/lib/typescript/src/components/useAuthState.d.ts.map +0 -1
- package/lib/typescript/src/mappings/AvatarEdit.d.ts +0 -38
- package/lib/typescript/src/mappings/AvatarEdit.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Banner.d.ts +0 -49
- package/lib/typescript/src/mappings/Banner.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Card.d.ts +0 -114
- package/lib/typescript/src/mappings/Card.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardBlock.d.ts +0 -289
- package/lib/typescript/src/mappings/CardBlock.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainer.d.ts +0 -102
- package/lib/typescript/src/mappings/CardContainer.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainerRating.d.ts +0 -108
- package/lib/typescript/src/mappings/CardContainerRating.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts +0 -139
- package/lib/typescript/src/mappings/CardContainerShortImage.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CardInline.d.ts +0 -62
- package/lib/typescript/src/mappings/CardInline.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Carousel.d.ts +0 -34
- package/lib/typescript/src/mappings/Carousel.d.ts.map +0 -1
- package/lib/typescript/src/mappings/CircleImage.d.ts +0 -34
- package/lib/typescript/src/mappings/CircleImage.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Container.d.ts +0 -55
- package/lib/typescript/src/mappings/Container.d.ts.map +0 -1
- package/lib/typescript/src/mappings/Divider.d.ts +0 -25
- package/lib/typescript/src/mappings/Divider.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FAB.d.ts +0 -83
- package/lib/typescript/src/mappings/FAB.d.ts.map +0 -1
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts +0 -56
- package/lib/typescript/src/mappings/FieldSearchBarFull.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderLarge.d.ts +0 -34
- package/lib/typescript/src/mappings/HeaderLarge.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderMedium.d.ts +0 -53
- package/lib/typescript/src/mappings/HeaderMedium.d.ts.map +0 -1
- package/lib/typescript/src/mappings/HeaderOverline.d.ts +0 -53
- package/lib/typescript/src/mappings/HeaderOverline.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressBar.d.ts +0 -99
- package/lib/typescript/src/mappings/ProgressBar.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressCircle.d.ts +0 -109
- package/lib/typescript/src/mappings/ProgressCircle.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts +0 -181
- package/lib/typescript/src/mappings/ProgressIndicator.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts +0 -73
- package/lib/typescript/src/mappings/RowBodyIcon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts +0 -166
- package/lib/typescript/src/mappings/RowHeadlineImageCaption.d.ts.map +0 -1
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts +0 -170
- package/lib/typescript/src/mappings/RowHeadlineImageIcon.d.ts.map +0 -1
- package/lib/typescript/src/mappings/TabView.d.ts +0 -112
- package/lib/typescript/src/mappings/TabView.d.ts.map +0 -1
- package/lib/typescript/src/mappings/ToggleButton.d.ts +0 -116
- package/lib/typescript/src/mappings/ToggleButton.d.ts.map +0 -1
- package/src/components/AnimatedCircularProgress.js +0 -43
- package/src/components/AnimatedCircularProgress.tsx +0 -101
- package/src/components/AspectRatio.js +0 -18
- package/src/components/AspectRatio.tsx +0 -40
- package/src/components/AvatarEdit.js +0 -30
- package/src/components/AvatarEdit.tsx +0 -64
- package/src/components/Banner.js +0 -109
- package/src/components/Banner.tsx +0 -204
- package/src/components/Card.js +0 -57
- package/src/components/Card.tsx +0 -161
- package/src/components/CardBlock.js +0 -54
- package/src/components/CardBlock.tsx +0 -127
- package/src/components/CardContainer.js +0 -69
- package/src/components/CardContainer.tsx +0 -165
- package/src/components/CardContainerRating.js +0 -79
- package/src/components/CardContainerRating.tsx +0 -175
- package/src/components/CardContainerShortImage.js +0 -33
- package/src/components/CardContainerShortImage.tsx +0 -101
- package/src/components/CardInline.js +0 -36
- package/src/components/CardInline.tsx +0 -93
- package/src/components/Carousel.js +0 -68
- package/src/components/Carousel.tsx +0 -134
- package/src/components/CircleImage.js +0 -8
- package/src/components/CircleImage.tsx +0 -33
- package/src/components/CircularProgress.js +0 -81
- package/src/components/CircularProgress.tsx +0 -188
- package/src/components/Container.js +0 -43
- package/src/components/Container.tsx +0 -116
- package/src/components/DeprecatedCardWrapper.js +0 -18
- package/src/components/DeprecatedCardWrapper.tsx +0 -46
- package/src/components/DeprecatedFAB.js +0 -115
- package/src/components/DeprecatedFAB.tsx +0 -231
- package/src/components/Divider.js +0 -13
- package/src/components/Divider.tsx +0 -32
- package/src/components/FAB.js +0 -46
- package/src/components/FAB.tsx +0 -108
- package/src/components/FieldSearchBarFull.js +0 -53
- package/src/components/FieldSearchBarFull.tsx +0 -126
- package/src/components/Header.js +0 -44
- package/src/components/Header.tsx +0 -105
- package/src/components/HeaderLarge.js +0 -7
- package/src/components/HeaderLarge.tsx +0 -40
- package/src/components/HeaderMedium.js +0 -7
- package/src/components/HeaderMedium.tsx +0 -41
- package/src/components/HeaderOverline.js +0 -7
- package/src/components/HeaderOverline.tsx +0 -42
- package/src/components/Image.js +0 -47
- package/src/components/Image.tsx +0 -91
- package/src/components/Justification.js +0 -1
- package/src/components/Justification.ts +0 -8
- package/src/components/ProgressBar.js +0 -118
- package/src/components/ProgressBar.tsx +0 -191
- package/src/components/ProgressCircle.js +0 -13
- package/src/components/ProgressCircle.tsx +0 -64
- package/src/components/ProgressIndicator.js +0 -27
- package/src/components/ProgressIndicator.tsx +0 -71
- package/src/components/ResizeMode.js +0 -1
- package/src/components/ResizeMode.ts +0 -7
- package/src/components/Row.js +0 -48
- package/src/components/Row.tsx +0 -108
- package/src/components/RowBodyIcon.js +0 -8
- package/src/components/RowBodyIcon.tsx +0 -47
- package/src/components/RowHeadlineImageCaption.js +0 -12
- package/src/components/RowHeadlineImageCaption.tsx +0 -49
- package/src/components/RowHeadlineImageIcon.js +0 -14
- package/src/components/RowHeadlineImageIcon.tsx +0 -61
- package/src/components/StepIndicator.js +0 -346
- package/src/components/StepIndicator.tsx +0 -494
- package/src/components/TabView/TabView.js +0 -34
- package/src/components/TabView/TabView.tsx +0 -97
- package/src/components/TabView/TabViewItem.js +0 -5
- package/src/components/TabView/TabViewItem.tsx +0 -21
- package/src/components/TabView/index.js +0 -2
- package/src/components/TabView/index.tsx +0 -2
- package/src/components/ToggleButton.js +0 -39
- package/src/components/ToggleButton.tsx +0 -94
- package/src/components/Typography.js +0 -36
- package/src/components/Typography.tsx +0 -67
- package/src/components/useAuthState.js +0 -31
- package/src/components/useAuthState.tsx +0 -38
- package/src/mappings/AvatarEdit.js +0 -38
- package/src/mappings/AvatarEdit.ts +0 -45
- package/src/mappings/Banner.js +0 -32
- package/src/mappings/Banner.ts +0 -40
- package/src/mappings/Card.js +0 -52
- package/src/mappings/Card.ts +0 -64
- package/src/mappings/CardBlock.js +0 -123
- package/src/mappings/CardBlock.ts +0 -136
- package/src/mappings/CardContainer.js +0 -104
- package/src/mappings/CardContainer.ts +0 -116
- package/src/mappings/CardContainerRating.js +0 -126
- package/src/mappings/CardContainerRating.ts +0 -137
- package/src/mappings/CardContainerShortImage.js +0 -120
- package/src/mappings/CardContainerShortImage.ts +0 -130
- package/src/mappings/CardInline.js +0 -52
- package/src/mappings/CardInline.ts +0 -61
- package/src/mappings/Carousel.js +0 -19
- package/src/mappings/Carousel.ts +0 -25
- package/src/mappings/CircleImage.js +0 -25
- package/src/mappings/CircleImage.ts +0 -33
- package/src/mappings/Container.js +0 -30
- package/src/mappings/Container.ts +0 -41
- package/src/mappings/Divider.js +0 -27
- package/src/mappings/Divider.ts +0 -34
- package/src/mappings/FAB.js +0 -37
- package/src/mappings/FAB.ts +0 -48
- package/src/mappings/FieldSearchBarFull.js +0 -50
- package/src/mappings/FieldSearchBarFull.ts +0 -59
- package/src/mappings/HeaderLarge.js +0 -29
- package/src/mappings/HeaderLarge.ts +0 -38
- package/src/mappings/HeaderMedium.js +0 -55
- package/src/mappings/HeaderMedium.ts +0 -63
- package/src/mappings/HeaderOverline.js +0 -55
- package/src/mappings/HeaderOverline.ts +0 -63
- package/src/mappings/ProgressBar.js +0 -101
- package/src/mappings/ProgressBar.ts +0 -110
- package/src/mappings/ProgressCircle.js +0 -109
- package/src/mappings/ProgressCircle.ts +0 -117
- package/src/mappings/ProgressIndicator.js +0 -181
- package/src/mappings/ProgressIndicator.ts +0 -190
- package/src/mappings/RowBodyIcon.js +0 -75
- package/src/mappings/RowBodyIcon.ts +0 -82
- package/src/mappings/RowHeadlineImageCaption.js +0 -167
- package/src/mappings/RowHeadlineImageCaption.ts +0 -178
- package/src/mappings/RowHeadlineImageIcon.js +0 -99
- package/src/mappings/RowHeadlineImageIcon.ts +0 -116
- package/src/mappings/TabView.js +0 -73
- package/src/mappings/TabView.ts +0 -80
- package/src/mappings/ToggleButton.js +0 -50
- package/src/mappings/ToggleButton.ts +0 -63
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireDefault(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _Config = _interopRequireDefault(require("./Config"));
|
|
10
|
-
var _AspectRatio = _interopRequireDefault(require("./AspectRatio"));
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
13
|
-
const generateDimensions = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
aspectRatio,
|
|
16
|
-
width,
|
|
17
|
-
height
|
|
18
|
-
} = _ref;
|
|
19
|
-
if (aspectRatio && !width && !height) {
|
|
20
|
-
return {
|
|
21
|
-
aspectRatio,
|
|
22
|
-
width: "100%"
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
if (aspectRatio && height) {
|
|
26
|
-
return {
|
|
27
|
-
aspectRatio,
|
|
28
|
-
height,
|
|
29
|
-
width: aspectRatio * height
|
|
30
|
-
};
|
|
31
|
-
}
|
|
32
|
-
if (aspectRatio && width) {
|
|
33
|
-
return {
|
|
34
|
-
aspectRatio,
|
|
35
|
-
width,
|
|
36
|
-
height: width / aspectRatio
|
|
37
|
-
};
|
|
38
|
-
}
|
|
39
|
-
return {
|
|
40
|
-
width,
|
|
41
|
-
height
|
|
42
|
-
};
|
|
43
|
-
};
|
|
44
|
-
const Image = _ref2 => {
|
|
45
|
-
let {
|
|
46
|
-
source,
|
|
47
|
-
resizeMode = "cover",
|
|
48
|
-
style,
|
|
49
|
-
...props
|
|
50
|
-
} = _ref2;
|
|
51
|
-
let imageSource = source === null || source === undefined ? _Config.default.placeholderImageURL : source;
|
|
52
|
-
const styles = _reactNative.StyleSheet.flatten(style || {});
|
|
53
|
-
const {
|
|
54
|
-
aspectRatio,
|
|
55
|
-
width,
|
|
56
|
-
height
|
|
57
|
-
} = generateDimensions(styles);
|
|
58
|
-
if (aspectRatio) {
|
|
59
|
-
return /*#__PURE__*/_react.default.createElement(_AspectRatio.default, {
|
|
60
|
-
style: [style, {
|
|
61
|
-
width,
|
|
62
|
-
height,
|
|
63
|
-
aspectRatio
|
|
64
|
-
}]
|
|
65
|
-
}, /*#__PURE__*/_react.default.createElement(_reactNative.Image, _extends({}, props, {
|
|
66
|
-
source: imageSource,
|
|
67
|
-
resizeMode: resizeMode,
|
|
68
|
-
style: [style, {
|
|
69
|
-
height: "100%",
|
|
70
|
-
width: "100%"
|
|
71
|
-
}]
|
|
72
|
-
})));
|
|
73
|
-
}
|
|
74
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.Image, _extends({}, props, {
|
|
75
|
-
source: source,
|
|
76
|
-
resizeMode: resizeMode,
|
|
77
|
-
style: style
|
|
78
|
-
}));
|
|
79
|
-
};
|
|
80
|
-
var _default = Image;
|
|
81
|
-
exports.default = _default;
|
|
82
|
-
//# sourceMappingURL=Image.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["generateDimensions","aspectRatio","width","height","Image","source","resizeMode","style","props","imageSource","undefined","Config","placeholderImageURL","styles","StyleSheet","flatten"],"sourceRoot":"../../src","sources":["Image.tsx"],"mappings":";;;;;;AACA;AACA;AAMA;AAEA;AAAwC;AAAA;AAQxC,MAAMA,kBAAkB,GAAG,QAAoD;EAAA,IAAnD;IAAEC,WAAW;IAAEC,KAAK;IAAEC;EAAuB,CAAC;EACxE,IAAIF,WAAW,IAAI,CAACC,KAAK,IAAI,CAACC,MAAM,EAAE;IACpC,OAAO;MACLF,WAAW;MACXC,KAAK,EAAE;IACT,CAAC;EACH;EAEA,IAAID,WAAW,IAAIE,MAAM,EAAE;IACzB,OAAO;MACLF,WAAW;MACXE,MAAM;MACND,KAAK,EAAED,WAAW,GAAGE;IACvB,CAAC;EACH;EAEA,IAAIF,WAAW,IAAIC,KAAK,EAAE;IACxB,OAAO;MACLD,WAAW;MACXC,KAAK;MACLC,MAAM,EAAED,KAAK,GAAGD;IAClB,CAAC;EACH;EAEA,OAAO;IAAEC,KAAK;IAAEC;EAAO,CAAC;AAC1B,CAAC;AAED,MAAMC,KAA2B,GAAG,SAK9B;EAAA,IAL+B;IACnCC,MAAM;IACNC,UAAU,GAAG,OAAO;IACpBC,KAAK;IACL,GAAGC;EACL,CAAC;EACC,IAAIC,WAAW,GACbJ,MAAM,KAAK,IAAI,IAAIA,MAAM,KAAKK,SAAS,GACnCC,eAAM,CAACC,mBAAmB,GAC1BP,MAAM;EAEZ,MAAMQ,MAAM,GAAGC,uBAAU,CAACC,OAAO,CAACR,KAAK,IAAI,CAAC,CAAC,CAAC;EAC9C,MAAM;IAAEN,WAAW;IAAEC,KAAK;IAAEC;EAAO,CAAC,GAAGH,kBAAkB,CACvDa,MAAM,CACP;EAED,IAAIZ,WAAW,EAAE;IACf,oBACE,6BAAC,oBAAW;MAAC,KAAK,EAAE,CAACM,KAAK,EAAE;QAAEL,KAAK;QAAEC,MAAM;QAAEF;MAAY,CAAC;IAAE,gBAC1D,6BAAC,kBAAW,eACNO,KAAK;MACT,MAAM,EAAEC,WAAmC;MAC3C,UAAU,EAAEH,UAAW;MACvB,KAAK,EAAE,CACLC,KAAK,EACL;QACEJ,MAAM,EAAE,MAAM;QACdD,KAAK,EAAE;MACT,CAAC;IACD,GACF,CACU;EAElB;EAEA,oBACE,6BAAC,kBAAW,eACNM,KAAK;IACT,MAAM,EAAEH,MAA8B;IACtC,UAAU,EAAEC,UAAW;IACvB,KAAK,EAAEC;EAAM,GACb;AAEN,CAAC;AAAC,eAEaH,KAAK;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["Justification.ts"],"mappings":""}
|
|
@@ -1,159 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var _react = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
10
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
11
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
|
12
|
-
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
13
|
-
function _toPropertyKey(arg) { var key = _toPrimitive(arg, "string"); return typeof key === "symbol" ? key : String(key); }
|
|
14
|
-
function _toPrimitive(input, hint) { if (typeof input !== "object" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || "default"); if (typeof res !== "object") return res; throw new TypeError("@@toPrimitive must return a primitive value."); } return (hint === "string" ? String : Number)(input); }
|
|
15
|
-
const INDETERMINATE_WIDTH_FACTOR = 0.3;
|
|
16
|
-
const BAR_WIDTH_ZERO_POSITION = INDETERMINATE_WIDTH_FACTOR / (1 + INDETERMINATE_WIDTH_FACTOR);
|
|
17
|
-
class ProgressBar extends _react.Component {
|
|
18
|
-
constructor(props) {
|
|
19
|
-
super(props);
|
|
20
|
-
_defineProperty(this, "handleLayout", event => {
|
|
21
|
-
const {
|
|
22
|
-
width = 150,
|
|
23
|
-
onLayout
|
|
24
|
-
} = this.props;
|
|
25
|
-
if (!width) {
|
|
26
|
-
this.setState({
|
|
27
|
-
width: event.nativeEvent.layout.width
|
|
28
|
-
});
|
|
29
|
-
}
|
|
30
|
-
if (onLayout) {
|
|
31
|
-
onLayout(event);
|
|
32
|
-
}
|
|
33
|
-
});
|
|
34
|
-
const {
|
|
35
|
-
progress: progressP = 0,
|
|
36
|
-
indeterminate = false
|
|
37
|
-
} = props;
|
|
38
|
-
const progress = Math.min(Math.max(progressP, 0), 1);
|
|
39
|
-
this.state = {
|
|
40
|
-
width: 0,
|
|
41
|
-
progress: new _reactNative.Animated.Value(indeterminate ? INDETERMINATE_WIDTH_FACTOR : progress),
|
|
42
|
-
animationValue: new _reactNative.Animated.Value(BAR_WIDTH_ZERO_POSITION)
|
|
43
|
-
};
|
|
44
|
-
}
|
|
45
|
-
componentDidMount() {
|
|
46
|
-
const {
|
|
47
|
-
indeterminate = false
|
|
48
|
-
} = this.props;
|
|
49
|
-
if (indeterminate) {
|
|
50
|
-
this.animate();
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
componentDidUpdate(prevProps) {
|
|
54
|
-
const {
|
|
55
|
-
indeterminate = false,
|
|
56
|
-
useNativeDriver = false,
|
|
57
|
-
progress: progressP = 0,
|
|
58
|
-
animationType = "spring",
|
|
59
|
-
animationConfig = {
|
|
60
|
-
bounciness: 0
|
|
61
|
-
},
|
|
62
|
-
animated = true
|
|
63
|
-
} = this.props;
|
|
64
|
-
if (prevProps.indeterminate !== indeterminate) {
|
|
65
|
-
if (indeterminate) {
|
|
66
|
-
this.animate();
|
|
67
|
-
} else {
|
|
68
|
-
_reactNative.Animated.spring(this.state.animationValue, {
|
|
69
|
-
toValue: BAR_WIDTH_ZERO_POSITION,
|
|
70
|
-
useNativeDriver
|
|
71
|
-
}).start();
|
|
72
|
-
}
|
|
73
|
-
}
|
|
74
|
-
if (prevProps.indeterminate !== indeterminate || prevProps.progress !== progressP) {
|
|
75
|
-
const progress = this.props.indeterminate ? INDETERMINATE_WIDTH_FACTOR : Math.min(Math.max(progressP, 0), 1);
|
|
76
|
-
if (animated) {
|
|
77
|
-
_reactNative.Animated[animationType](this.state.progress, {
|
|
78
|
-
...animationConfig,
|
|
79
|
-
toValue: progress,
|
|
80
|
-
velocity: 0,
|
|
81
|
-
//adjust this value if animation fails - velocity is required
|
|
82
|
-
useNativeDriver
|
|
83
|
-
}).start();
|
|
84
|
-
} else {
|
|
85
|
-
this.state.progress.setValue(progress);
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
animate() {
|
|
90
|
-
const {
|
|
91
|
-
useNativeDriver = false,
|
|
92
|
-
indeterminateAnimationDuration = 1000
|
|
93
|
-
} = this.props;
|
|
94
|
-
this.state.animationValue.setValue(0);
|
|
95
|
-
_reactNative.Animated.timing(this.state.animationValue, {
|
|
96
|
-
toValue: 1,
|
|
97
|
-
duration: indeterminateAnimationDuration,
|
|
98
|
-
easing: _reactNative.Easing.linear,
|
|
99
|
-
isInteraction: false,
|
|
100
|
-
useNativeDriver
|
|
101
|
-
}).start(endState => {
|
|
102
|
-
if (endState.finished) {
|
|
103
|
-
this.animate();
|
|
104
|
-
}
|
|
105
|
-
});
|
|
106
|
-
}
|
|
107
|
-
render() {
|
|
108
|
-
const {
|
|
109
|
-
borderColor,
|
|
110
|
-
borderRadius = 4,
|
|
111
|
-
borderWidth = 1,
|
|
112
|
-
children,
|
|
113
|
-
color = "rgba(0, 122, 255, 1)",
|
|
114
|
-
style,
|
|
115
|
-
unfilledColor,
|
|
116
|
-
width = 150,
|
|
117
|
-
...restProps
|
|
118
|
-
} = this.props;
|
|
119
|
-
const innerWidth = Math.max(0, width || this.state.width) - borderWidth * 2;
|
|
120
|
-
const containerStyle = {
|
|
121
|
-
width,
|
|
122
|
-
borderWidth,
|
|
123
|
-
borderColor: borderColor || color,
|
|
124
|
-
borderRadius,
|
|
125
|
-
overflow: "hidden",
|
|
126
|
-
backgroundColor: unfilledColor
|
|
127
|
-
};
|
|
128
|
-
const progressStyle = {
|
|
129
|
-
backgroundColor: color,
|
|
130
|
-
// Always take up full height of container.
|
|
131
|
-
height: "100%",
|
|
132
|
-
transform: [{
|
|
133
|
-
translateX: this.state.animationValue.interpolate({
|
|
134
|
-
inputRange: [0, 1],
|
|
135
|
-
outputRange: [innerWidth * -INDETERMINATE_WIDTH_FACTOR, innerWidth]
|
|
136
|
-
})
|
|
137
|
-
}, {
|
|
138
|
-
translateX: this.state.progress.interpolate({
|
|
139
|
-
inputRange: [0, 1],
|
|
140
|
-
outputRange: [innerWidth / (_reactNative.I18nManager.isRTL ? 2 : -2), 0]
|
|
141
|
-
})
|
|
142
|
-
}, {
|
|
143
|
-
// Interpolation a temp workaround for https://github.com/facebook/react-native/issues/6278
|
|
144
|
-
scaleX: this.state.progress.interpolate({
|
|
145
|
-
inputRange: [0, 1],
|
|
146
|
-
outputRange: [0.0001, 1]
|
|
147
|
-
})
|
|
148
|
-
}]
|
|
149
|
-
};
|
|
150
|
-
return /*#__PURE__*/_react.default.createElement(_reactNative.View, _extends({
|
|
151
|
-
style: [containerStyle, style],
|
|
152
|
-
onLayout: this.handleLayout
|
|
153
|
-
}, restProps), /*#__PURE__*/_react.default.createElement(_reactNative.Animated.View, {
|
|
154
|
-
style: progressStyle
|
|
155
|
-
}), children);
|
|
156
|
-
}
|
|
157
|
-
}
|
|
158
|
-
exports.default = ProgressBar;
|
|
159
|
-
//# sourceMappingURL=ProgressBar.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["INDETERMINATE_WIDTH_FACTOR","BAR_WIDTH_ZERO_POSITION","ProgressBar","Component","constructor","props","event","width","onLayout","setState","nativeEvent","layout","progress","progressP","indeterminate","Math","min","max","state","Animated","Value","animationValue","componentDidMount","animate","componentDidUpdate","prevProps","useNativeDriver","animationType","animationConfig","bounciness","animated","spring","toValue","start","velocity","setValue","indeterminateAnimationDuration","timing","duration","easing","Easing","linear","isInteraction","endState","finished","render","borderColor","borderRadius","borderWidth","children","color","style","unfilledColor","restProps","innerWidth","containerStyle","overflow","backgroundColor","progressStyle","height","transform","translateX","interpolate","inputRange","outputRange","I18nManager","isRTL","scaleX","handleLayout"],"sourceRoot":"../../src","sources":["ProgressBar.tsx"],"mappings":"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"}
|
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _AnimatedCircularProgress = _interopRequireDefault(require("./AnimatedCircularProgress"));
|
|
10
|
-
var _theming = require("../theming");
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
const ProgressCircle = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
progress = 0.5,
|
|
17
|
-
style,
|
|
18
|
-
color = "primary",
|
|
19
|
-
size = 100,
|
|
20
|
-
showsText = true,
|
|
21
|
-
unfilledColor,
|
|
22
|
-
strokeCap = "butt",
|
|
23
|
-
textStyle,
|
|
24
|
-
thickness = 1,
|
|
25
|
-
theme
|
|
26
|
-
} = _ref;
|
|
27
|
-
const progressNum = Math.round(progress * 100);
|
|
28
|
-
const tintColor = color || theme.colors.primary;
|
|
29
|
-
const backgroundColor = unfilledColor || theme.colors.secondary;
|
|
30
|
-
return /*#__PURE__*/React.createElement(_AnimatedCircularProgress.default, {
|
|
31
|
-
size: size,
|
|
32
|
-
width: thickness,
|
|
33
|
-
backgroundWidth: thickness,
|
|
34
|
-
fill: progressNum,
|
|
35
|
-
tintColor: tintColor,
|
|
36
|
-
backgroundColor: backgroundColor,
|
|
37
|
-
rotation: 0,
|
|
38
|
-
lineCap: strokeCap,
|
|
39
|
-
style: style
|
|
40
|
-
}, fill => showsText ? /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
41
|
-
style: [{
|
|
42
|
-
fontSize: size * 0.275,
|
|
43
|
-
color: tintColor
|
|
44
|
-
}, textStyle]
|
|
45
|
-
}, Math.round(fill), "%") : null);
|
|
46
|
-
};
|
|
47
|
-
var _default = (0, _theming.withTheme)(ProgressCircle);
|
|
48
|
-
exports.default = _default;
|
|
49
|
-
//# sourceMappingURL=ProgressCircle.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ProgressCircle","progress","style","color","size","showsText","unfilledColor","strokeCap","textStyle","thickness","theme","progressNum","Math","round","tintColor","colors","primary","backgroundColor","secondary","fill","fontSize","withTheme"],"sourceRoot":"../../src","sources":["ProgressCircle.tsx"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AAAuC;AAAA;AAAA;AAiBvC,MAAMA,cAAwD,GAAG,QAW3D;EAAA,IAX4D;IAChEC,QAAQ,GAAG,GAAG;IACdC,KAAK;IACLC,KAAK,GAAG,SAAS;IACjBC,IAAI,GAAG,GAAG;IACVC,SAAS,GAAG,IAAI;IAChBC,aAAa;IACbC,SAAS,GAAG,MAAM;IAClBC,SAAS;IACTC,SAAS,GAAG,CAAC;IACbC;EACF,CAAC;EACC,MAAMC,WAAW,GAAGC,IAAI,CAACC,KAAK,CAACZ,QAAQ,GAAG,GAAG,CAAC;EAE9C,MAAMa,SAAS,GAAGX,KAAK,IAAIO,KAAK,CAACK,MAAM,CAACC,OAAO;EAC/C,MAAMC,eAAe,GAAGX,aAAa,IAAII,KAAK,CAACK,MAAM,CAACG,SAAS;EAE/D,oBACE,oBAAC,iCAAwB;IACvB,IAAI,EAAEd,IAAK;IACX,KAAK,EAAEK,SAAU;IACjB,eAAe,EAAEA,SAAU;IAC3B,IAAI,EAAEE,WAAY;IAClB,SAAS,EAAEG,SAAU;IACrB,eAAe,EAAEG,eAAgB;IACjC,QAAQ,EAAE,CAAE;IACZ,OAAO,EAAEV,SAAU;IACnB,KAAK,EAAEL;EAAM,GAGXiB,IAAI,IACJd,SAAS,gBACP,oBAAC,iBAAI;IACH,KAAK,EAAE,CAAC;MAAEe,QAAQ,EAAEhB,IAAI,GAAG,KAAK;MAAED,KAAK,EAAEW;IAAU,CAAC,EAAEN,SAAS;EAAE,GAEhEI,IAAI,CAACC,KAAK,CAACM,IAAI,CAAC,MACZ,GACL,IAAI,CAEe;AAE/B,CAAC;AAAC,eAEa,IAAAE,kBAAS,EAACrB,cAAc,CAAC;AAAA"}
|
|
@@ -1,56 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _StepIndicator = _interopRequireDefault(require("./StepIndicator"));
|
|
9
|
-
var _theming = require("../theming");
|
|
10
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
11
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
12
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
13
|
-
const ProgressIndicator = _ref => {
|
|
14
|
-
let {
|
|
15
|
-
numberOfSteps,
|
|
16
|
-
currentStep,
|
|
17
|
-
currentStepStrokeWidth = 3,
|
|
18
|
-
stepStrokeCurrentColor = "primary",
|
|
19
|
-
stepIndicatorSize,
|
|
20
|
-
currentStepIndicatorSize,
|
|
21
|
-
stepIndicatorCurrentColor,
|
|
22
|
-
stepIndicatorLabelCurrentColor,
|
|
23
|
-
stepIndicatorLabelFontSize = 12,
|
|
24
|
-
stepNumberFinishedColor = "strongInverse",
|
|
25
|
-
stepNumberUnfinishedColor = "primary",
|
|
26
|
-
unfinishedColor = "light",
|
|
27
|
-
finishedColor = "primary",
|
|
28
|
-
theme
|
|
29
|
-
} = _ref;
|
|
30
|
-
const currentPosition = currentStep - 1;
|
|
31
|
-
return /*#__PURE__*/React.createElement(_StepIndicator.default, {
|
|
32
|
-
stepCount: numberOfSteps,
|
|
33
|
-
currentPosition: currentPosition,
|
|
34
|
-
customStyles: {
|
|
35
|
-
stepIndicatorSize,
|
|
36
|
-
currentStepIndicatorSize: currentStepIndicatorSize ? currentStepIndicatorSize : stepIndicatorSize,
|
|
37
|
-
stepStrokeFinishedColor: finishedColor,
|
|
38
|
-
stepStrokeUnFinishedColor: unfinishedColor,
|
|
39
|
-
separatorFinishedColor: finishedColor,
|
|
40
|
-
separatorUnFinishedColor: unfinishedColor,
|
|
41
|
-
stepIndicatorFinishedColor: finishedColor,
|
|
42
|
-
stepIndicatorUnFinishedColor: unfinishedColor,
|
|
43
|
-
currentStepStrokeWidth,
|
|
44
|
-
stepStrokeCurrentColor: stepStrokeCurrentColor || stepIndicatorCurrentColor,
|
|
45
|
-
stepIndicatorLabelUnFinishedColor: stepNumberUnfinishedColor,
|
|
46
|
-
stepIndicatorLabelFinishedColor: stepNumberFinishedColor,
|
|
47
|
-
stepIndicatorCurrentColor: stepIndicatorCurrentColor || unfinishedColor,
|
|
48
|
-
stepIndicatorLabelCurrentColor: stepIndicatorLabelCurrentColor || stepNumberUnfinishedColor,
|
|
49
|
-
stepIndicatorLabelFontSize,
|
|
50
|
-
labelFontFamily: theme.typography.body1.fontFamily
|
|
51
|
-
}
|
|
52
|
-
});
|
|
53
|
-
};
|
|
54
|
-
var _default = (0, _theming.withTheme)(ProgressIndicator);
|
|
55
|
-
exports.default = _default;
|
|
56
|
-
//# sourceMappingURL=ProgressIndicator.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["ProgressIndicator","numberOfSteps","currentStep","currentStepStrokeWidth","stepStrokeCurrentColor","stepIndicatorSize","currentStepIndicatorSize","stepIndicatorCurrentColor","stepIndicatorLabelCurrentColor","stepIndicatorLabelFontSize","stepNumberFinishedColor","stepNumberUnfinishedColor","unfinishedColor","finishedColor","theme","currentPosition","stepStrokeFinishedColor","stepStrokeUnFinishedColor","separatorFinishedColor","separatorUnFinishedColor","stepIndicatorFinishedColor","stepIndicatorUnFinishedColor","stepIndicatorLabelUnFinishedColor","stepIndicatorLabelFinishedColor","labelFontFamily","typography","body1","fontFamily","withTheme"],"sourceRoot":"../../src","sources":["ProgressIndicator.tsx"],"mappings":";;;;;;AAAA;AACA;AACA;AAAuC;AAAA;AAAA;AAqBvC,MAAMA,iBAA2D,GAAG,QAe9D;EAAA,IAf+D;IACnEC,aAAa;IACbC,WAAW;IACXC,sBAAsB,GAAG,CAAC;IAC1BC,sBAAsB,GAAG,SAAS;IAClCC,iBAAiB;IACjBC,wBAAwB;IACxBC,yBAAyB;IACzBC,8BAA8B;IAC9BC,0BAA0B,GAAG,EAAE;IAC/BC,uBAAuB,GAAG,eAAe;IACzCC,yBAAyB,GAAG,SAAS;IACrCC,eAAe,GAAG,OAAO;IACzBC,aAAa,GAAG,SAAS;IACzBC;EACF,CAAC;EACC,MAAMC,eAAe,GAAGb,WAAW,GAAG,CAAC;EACvC,oBACE,oBAAC,sBAAa;IACZ,SAAS,EAAED,aAAc;IACzB,eAAe,EAAEc,eAAgB;IACjC,YAAY,EAAE;MACZV,iBAAiB;MACjBC,wBAAwB,EAAEA,wBAAwB,GAC9CA,wBAAwB,GACxBD,iBAAiB;MACrBW,uBAAuB,EAAEH,aAAa;MACtCI,yBAAyB,EAAEL,eAAe;MAC1CM,sBAAsB,EAAEL,aAAa;MACrCM,wBAAwB,EAAEP,eAAe;MACzCQ,0BAA0B,EAAEP,aAAa;MACzCQ,4BAA4B,EAAET,eAAe;MAC7CT,sBAAsB;MACtBC,sBAAsB,EACpBA,sBAAsB,IAAIG,yBAAyB;MACrDe,iCAAiC,EAAEX,yBAAyB;MAC5DY,+BAA+B,EAAEb,uBAAuB;MACxDH,yBAAyB,EAAEA,yBAAyB,IAAIK,eAAe;MACvEJ,8BAA8B,EAC5BA,8BAA8B,IAAIG,yBAAyB;MAC7DF,0BAA0B;MAC1Be,eAAe,EAAEV,KAAK,CAACW,UAAU,CAACC,KAAK,CAACC;IAC1C;EAAE,EACF;AAEN,CAAC;AAAC,eAEa,IAAAC,kBAAS,EAAC5B,iBAAiB,CAAC;AAAA"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":[],"sourceRoot":"../../src","sources":["ResizeMode.ts"],"mappings":""}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theming = require("../theming");
|
|
10
|
-
var _Config = _interopRequireDefault(require("./Config"));
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
const Row = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
titleTypeStyle,
|
|
17
|
-
titleColor,
|
|
18
|
-
subtitleTypeStyle,
|
|
19
|
-
subtitleColor,
|
|
20
|
-
title,
|
|
21
|
-
subtitle,
|
|
22
|
-
multilineSubtitle,
|
|
23
|
-
image,
|
|
24
|
-
right,
|
|
25
|
-
style
|
|
26
|
-
} = _ref;
|
|
27
|
-
return /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
28
|
-
style: [styles.container, {
|
|
29
|
-
padding: 16
|
|
30
|
-
}, style]
|
|
31
|
-
}, /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
32
|
-
style: styles.leftContainer
|
|
33
|
-
}, image && /*#__PURE__*/React.createElement(_reactNative.Image, {
|
|
34
|
-
source: typeof image === "string" ? {
|
|
35
|
-
uri: image
|
|
36
|
-
} : image,
|
|
37
|
-
style: {
|
|
38
|
-
marginRight: 12,
|
|
39
|
-
width: subtitle ? _Config.default.rowMultiLineImageSize : _Config.default.rowSingleLineImageSize,
|
|
40
|
-
height: subtitle ? _Config.default.rowMultiLineImageSize : _Config.default.rowSingleLineImageSize
|
|
41
|
-
}
|
|
42
|
-
}), /*#__PURE__*/React.createElement(_reactNative.View, {
|
|
43
|
-
style: styles.textContainer
|
|
44
|
-
}, /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
45
|
-
style: [titleTypeStyle, {
|
|
46
|
-
color: titleColor
|
|
47
|
-
}],
|
|
48
|
-
numberOfLines: 1
|
|
49
|
-
}, title), subtitle ? /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
50
|
-
style: [subtitleTypeStyle, {
|
|
51
|
-
color: subtitleColor,
|
|
52
|
-
marginTop: 4
|
|
53
|
-
}],
|
|
54
|
-
numberOfLines: multilineSubtitle ? undefined : 1
|
|
55
|
-
}, subtitle) : null)), right && right());
|
|
56
|
-
};
|
|
57
|
-
const styles = _reactNative.StyleSheet.create({
|
|
58
|
-
leftContainer: {
|
|
59
|
-
flexDirection: "row",
|
|
60
|
-
flex: 1
|
|
61
|
-
},
|
|
62
|
-
container: {
|
|
63
|
-
flexDirection: "row",
|
|
64
|
-
justifyContent: "space-between",
|
|
65
|
-
alignItems: "center"
|
|
66
|
-
},
|
|
67
|
-
textContainer: {
|
|
68
|
-
flex: 1,
|
|
69
|
-
justifyContent: "center"
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
var _default = (0, _theming.withTheme)(Row);
|
|
73
|
-
exports.default = _default;
|
|
74
|
-
//# sourceMappingURL=Row.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["Row","titleTypeStyle","titleColor","subtitleTypeStyle","subtitleColor","title","subtitle","multilineSubtitle","image","right","style","styles","container","padding","leftContainer","uri","marginRight","width","Config","rowMultiLineImageSize","rowSingleLineImageSize","height","textContainer","color","marginTop","undefined","StyleSheet","create","flexDirection","flex","justifyContent","alignItems","withTheme"],"sourceRoot":"../../src","sources":["Row.tsx"],"mappings":";;;;;;AAAA;AACA;AAUA;AACA;AAA8B;AAAA;AAAA;AAiB9B,MAAMA,GAA6C,GAAG,QAWhD;EAAA,IAXiD;IACrDC,cAAc;IACdC,UAAU;IACVC,iBAAiB;IACjBC,aAAa;IACbC,KAAK;IACLC,QAAQ;IACRC,iBAAiB;IACjBC,KAAK;IACLC,KAAK;IACLC;EACF,CAAC;EACC,oBACE,oBAAC,iBAAI;IAAC,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAE;MAAEC,OAAO,EAAE;IAAG,CAAC,EAAEH,KAAK;EAAE,gBACtD,oBAAC,iBAAI;IAAC,KAAK,EAAEC,MAAM,CAACG;EAAc,GAC/BN,KAAK,iBACJ,oBAAC,kBAAK;IACJ,MAAM,EAAE,OAAOA,KAAK,KAAK,QAAQ,GAAG;MAAEO,GAAG,EAAEP;IAAM,CAAC,GAAGA,KAAM;IAC3D,KAAK,EAAE;MACLQ,WAAW,EAAE,EAAE;MACfC,KAAK,EAAEX,QAAQ,GACXY,eAAM,CAACC,qBAAqB,GAC5BD,eAAM,CAACE,sBAAsB;MACjCC,MAAM,EAAEf,QAAQ,GACZY,eAAM,CAACC,qBAAqB,GAC5BD,eAAM,CAACE;IACb;EAAE,EAEL,eACD,oBAAC,iBAAI;IAAC,KAAK,EAAET,MAAM,CAACW;EAAc,gBAChC,oBAAC,iBAAI;IACH,KAAK,EAAE,CACLrB,cAAc,EACd;MACEsB,KAAK,EAAErB;IACT,CAAC,CACD;IACF,aAAa,EAAE;EAAE,GAEhBG,KAAK,CACD,EACNC,QAAQ,gBACP,oBAAC,iBAAI;IACH,KAAK,EAAE,CACLH,iBAAiB,EACjB;MACEoB,KAAK,EAAEnB,aAAa;MACpBoB,SAAS,EAAE;IACb,CAAC,CACD;IACF,aAAa,EAAEjB,iBAAiB,GAAGkB,SAAS,GAAG;EAAE,GAEhDnB,QAAQ,CACJ,GACL,IAAI,CACH,CACF,EACNG,KAAK,IAAIA,KAAK,EAAE,CACZ;AAEX,CAAC;AAED,MAAME,MAAM,GAAGe,uBAAU,CAACC,MAAM,CAAC;EAC/Bb,aAAa,EAAE;IACbc,aAAa,EAAE,KAAK;IACpBC,IAAI,EAAE;EACR,CAAC;EACDjB,SAAS,EAAE;IACTgB,aAAa,EAAE,KAAK;IACpBE,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE;EACd,CAAC;EACDT,aAAa,EAAE;IACbO,IAAI,EAAE,CAAC;IACPC,cAAc,EAAE;EAClB;AACF,CAAC,CAAC;AAAC,eAEY,IAAAE,kBAAS,EAAChC,GAAG,CAAC;AAAA"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _theming = require("../theming");
|
|
9
|
-
var _Row = _interopRequireDefault(require("./Row"));
|
|
10
|
-
var _Config = _interopRequireDefault(require("./Config"));
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
const RowBodyIcon = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
Icon,
|
|
17
|
-
title,
|
|
18
|
-
subtitle,
|
|
19
|
-
icon,
|
|
20
|
-
style,
|
|
21
|
-
theme: {
|
|
22
|
-
colors,
|
|
23
|
-
typography
|
|
24
|
-
}
|
|
25
|
-
} = _ref;
|
|
26
|
-
return /*#__PURE__*/React.createElement(_Row.default, {
|
|
27
|
-
titleTypeStyle: typography.body1,
|
|
28
|
-
titleColor: colors.medium,
|
|
29
|
-
subtitleTypeStyle: typography.subtitle2,
|
|
30
|
-
subtitleColor: colors.light,
|
|
31
|
-
title: title,
|
|
32
|
-
subtitle: subtitle,
|
|
33
|
-
right: () => /*#__PURE__*/React.createElement(Icon, {
|
|
34
|
-
name: icon,
|
|
35
|
-
size: _Config.default.rowSingleLineIconSize,
|
|
36
|
-
color: colors.light,
|
|
37
|
-
style: {
|
|
38
|
-
marginLeft: 16
|
|
39
|
-
}
|
|
40
|
-
}),
|
|
41
|
-
style: style
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
var _default = (0, _theming.withTheme)(RowBodyIcon);
|
|
45
|
-
exports.default = _default;
|
|
46
|
-
//# sourceMappingURL=RowBodyIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["RowBodyIcon","Icon","title","subtitle","icon","style","theme","colors","typography","body1","medium","subtitle2","light","Config","rowSingleLineIconSize","marginLeft","withTheme"],"sourceRoot":"../../src","sources":["RowBodyIcon.tsx"],"mappings":";;;;;;AAAA;AACA;AAIA;AACA;AAA8B;AAAA;AAAA;AAW9B,MAAMA,WAAqD,GAAG,QAOxD;EAAA,IAPyD;IAC7DC,IAAI;IACJC,KAAK;IACLC,QAAQ;IACRC,IAAI;IACJC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,YAAG;IACF,cAAc,EAAEA,UAAU,CAACC,KAAM;IACjC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,iBAAiB,EAAEF,UAAU,CAACG,SAAU;IACxC,aAAa,EAAEJ,MAAM,CAACK,KAAM;IAC5B,KAAK,EAAEV,KAAM;IACb,QAAQ,EAAEC,QAAS;IACnB,KAAK,EAAE,mBACL,oBAAC,IAAI;MACH,IAAI,EAAEC,IAAK;MACX,IAAI,EAAES,eAAM,CAACC,qBAAsB;MACnC,KAAK,EAAEP,MAAM,CAACK,KAAM;MACpB,KAAK,EAAE;QAAEG,UAAU,EAAE;MAAG;IAAE,EAE5B;IACF,KAAK,EAAEV;EAAM,EACb;AAEN,CAAC;AAAC,eAEa,IAAAW,kBAAS,EAAChB,WAAW,CAAC;AAAA"}
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _reactNative = require("react-native");
|
|
9
|
-
var _theming = require("../theming");
|
|
10
|
-
var _Row = _interopRequireDefault(require("./Row"));
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
const RowHeadlineImageCaption = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
title,
|
|
17
|
-
subtitle,
|
|
18
|
-
caption,
|
|
19
|
-
image,
|
|
20
|
-
style,
|
|
21
|
-
theme: {
|
|
22
|
-
colors,
|
|
23
|
-
typography
|
|
24
|
-
}
|
|
25
|
-
} = _ref;
|
|
26
|
-
return /*#__PURE__*/React.createElement(_Row.default, {
|
|
27
|
-
titleTypeStyle: typography.headline6,
|
|
28
|
-
titleColor: colors.strong,
|
|
29
|
-
subtitleTypeStyle: typography.body2,
|
|
30
|
-
subtitleColor: colors.medium,
|
|
31
|
-
title: title,
|
|
32
|
-
subtitle: subtitle,
|
|
33
|
-
image: image,
|
|
34
|
-
right: () => /*#__PURE__*/React.createElement(_reactNative.Text, {
|
|
35
|
-
style: {
|
|
36
|
-
...typography.caption,
|
|
37
|
-
color: colors.strong,
|
|
38
|
-
marginLeft: 16
|
|
39
|
-
}
|
|
40
|
-
}, caption),
|
|
41
|
-
style: style
|
|
42
|
-
});
|
|
43
|
-
};
|
|
44
|
-
var _default = (0, _theming.withTheme)(RowHeadlineImageCaption);
|
|
45
|
-
exports.default = _default;
|
|
46
|
-
//# sourceMappingURL=RowHeadlineImageCaption.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["RowHeadlineImageCaption","title","subtitle","caption","image","style","theme","colors","typography","headline6","strong","body2","medium","color","marginLeft","withTheme"],"sourceRoot":"../../src","sources":["RowHeadlineImageCaption.tsx"],"mappings":";;;;;;AAAA;AACA;AACA;AACA;AAAwB;AAAA;AAAA;AAYxB,MAAMA,uBAAiE,GAAG,QAOpE;EAAA,IAPqE;IACzEC,KAAK;IACLC,QAAQ;IACRC,OAAO;IACPC,KAAK;IACLC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,YAAG;IACF,cAAc,EAAEA,UAAU,CAACC,SAAU;IACrC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,iBAAiB,EAAEF,UAAU,CAACG,KAAM;IACpC,aAAa,EAAEJ,MAAM,CAACK,MAAO;IAC7B,KAAK,EAAEX,KAAM;IACb,QAAQ,EAAEC,QAAS;IACnB,KAAK,EAAEE,KAAM;IACb,KAAK,EAAE,mBACL,oBAAC,iBAAI;MACH,KAAK,EAAE;QACL,GAAGI,UAAU,CAACL,OAAO;QACrBU,KAAK,EAAEN,MAAM,CAACG,MAAM;QACpBI,UAAU,EAAE;MACd;IAAE,GAEDX,OAAO,CAEV;IACF,KAAK,EAAEE;EAAM,EACb;AAEN,CAAC;AAAC,eAEa,IAAAU,kBAAS,EAACf,uBAAuB,CAAC;AAAA"}
|
|
@@ -1,52 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.default = void 0;
|
|
7
|
-
var React = _interopRequireWildcard(require("react"));
|
|
8
|
-
var _theming = require("../theming");
|
|
9
|
-
var _Row = _interopRequireDefault(require("./Row"));
|
|
10
|
-
var _Config = _interopRequireDefault(require("./Config"));
|
|
11
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
|
12
|
-
function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
|
|
13
|
-
function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
|
|
14
|
-
const RowHeadlineImageIcon = _ref => {
|
|
15
|
-
let {
|
|
16
|
-
Icon,
|
|
17
|
-
icon,
|
|
18
|
-
title,
|
|
19
|
-
image,
|
|
20
|
-
subtitle,
|
|
21
|
-
multilineSubtitle = false,
|
|
22
|
-
style,
|
|
23
|
-
theme: {
|
|
24
|
-
colors,
|
|
25
|
-
typography
|
|
26
|
-
}
|
|
27
|
-
} = _ref;
|
|
28
|
-
return /*#__PURE__*/React.createElement(_Row.default, {
|
|
29
|
-
titleTypeStyle: typography.headline6,
|
|
30
|
-
titleColor: colors.strong,
|
|
31
|
-
subtitleTypeStyle: typography.body2,
|
|
32
|
-
subtitleColor: colors.medium,
|
|
33
|
-
title: title,
|
|
34
|
-
subtitle: subtitle,
|
|
35
|
-
multilineSubtitle: multilineSubtitle,
|
|
36
|
-
image: image,
|
|
37
|
-
right: () => /*#__PURE__*/React.createElement(Icon, {
|
|
38
|
-
name: icon,
|
|
39
|
-
size: multilineSubtitle ? _Config.default.rowMultiLineIconSize : _Config.default.rowSingleLineIconSize,
|
|
40
|
-
color: colors.light,
|
|
41
|
-
style: {
|
|
42
|
-
marginLeft: 16,
|
|
43
|
-
alignSelf: multilineSubtitle ? "flex-start" : "center",
|
|
44
|
-
marginTop: multilineSubtitle ? 4 : 0
|
|
45
|
-
}
|
|
46
|
-
}),
|
|
47
|
-
style: style
|
|
48
|
-
});
|
|
49
|
-
};
|
|
50
|
-
var _default = (0, _theming.withTheme)(RowHeadlineImageIcon);
|
|
51
|
-
exports.default = _default;
|
|
52
|
-
//# sourceMappingURL=RowHeadlineImageIcon.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["RowHeadlineImageIcon","Icon","icon","title","image","subtitle","multilineSubtitle","style","theme","colors","typography","headline6","strong","body2","medium","Config","rowMultiLineIconSize","rowSingleLineIconSize","light","marginLeft","alignSelf","marginTop","withTheme"],"sourceRoot":"../../src","sources":["RowHeadlineImageIcon.tsx"],"mappings":";;;;;;AAAA;AACA;AAIA;AACA;AAA8B;AAAA;AAAA;AAa9B,MAAMA,oBAA8D,GAAG,QASjE;EAAA,IATkE;IACtEC,IAAI;IACJC,IAAI;IACJC,KAAK;IACLC,KAAK;IACLC,QAAQ;IACRC,iBAAiB,GAAG,KAAK;IACzBC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,YAAG;IACF,cAAc,EAAEA,UAAU,CAACC,SAAU;IACrC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,iBAAiB,EAAEF,UAAU,CAACG,KAAM;IACpC,aAAa,EAAEJ,MAAM,CAACK,MAAO;IAC7B,KAAK,EAAEX,KAAM;IACb,QAAQ,EAAEE,QAAS;IACnB,iBAAiB,EAAEC,iBAAkB;IACrC,KAAK,EAAEF,KAAM;IACb,KAAK,EAAE,mBACL,oBAAC,IAAI;MACH,IAAI,EAAEF,IAAK;MACX,IAAI,EACFI,iBAAiB,GACbS,eAAM,CAACC,oBAAoB,GAC3BD,eAAM,CAACE,qBACZ;MACD,KAAK,EAAER,MAAM,CAACS,KAAM;MACpB,KAAK,EAAE;QACLC,UAAU,EAAE,EAAE;QACdC,SAAS,EAAEd,iBAAiB,GAAG,YAAY,GAAG,QAAQ;QACtDe,SAAS,EAAEf,iBAAiB,GAAG,CAAC,GAAG;MACrC;IAAE,EAEJ;IACF,KAAK,EAAEC;EAAM,EACb;AAEN,CAAC;AAAC,eAEa,IAAAe,kBAAS,EAACtB,oBAAoB,CAAC;AAAA"}
|