@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,149 +0,0 @@
|
|
|
1
|
-
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); }
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { ActivityIndicator, View, StyleSheet } from "react-native";
|
|
4
|
-
import color from "color";
|
|
5
|
-
import Config from "./Config";
|
|
6
|
-
import Text from "./Text";
|
|
7
|
-
import Touchable from "./Touchable";
|
|
8
|
-
import Elevation from "./Elevation";
|
|
9
|
-
import { withTheme } from "../theming";
|
|
10
|
-
const FAB = _ref => {
|
|
11
|
-
let {
|
|
12
|
-
Icon,
|
|
13
|
-
icon,
|
|
14
|
-
disabled = false,
|
|
15
|
-
type = "solid",
|
|
16
|
-
loading = false,
|
|
17
|
-
color: colorOverride,
|
|
18
|
-
label,
|
|
19
|
-
onPress,
|
|
20
|
-
elevation = 0,
|
|
21
|
-
style,
|
|
22
|
-
theme: {
|
|
23
|
-
colors,
|
|
24
|
-
disabledOpacity,
|
|
25
|
-
roundness,
|
|
26
|
-
typography
|
|
27
|
-
},
|
|
28
|
-
...rest
|
|
29
|
-
} = _ref;
|
|
30
|
-
let backgroundColor, borderColor, textColor, borderWidth;
|
|
31
|
-
const buttonColor = colorOverride || colors.primary;
|
|
32
|
-
if (type === "standard" || type === "extended" || type === "fixed") {
|
|
33
|
-
backgroundColor = buttonColor;
|
|
34
|
-
if (disabled) {
|
|
35
|
-
textColor = color(colors.surface).alpha(disabledOpacity).rgb().string();
|
|
36
|
-
} else {
|
|
37
|
-
textColor = colors.surface;
|
|
38
|
-
}
|
|
39
|
-
} else {
|
|
40
|
-
backgroundColor = "transparent";
|
|
41
|
-
if (disabled) {
|
|
42
|
-
textColor = color(buttonColor).alpha(disabledOpacity).rgb().string();
|
|
43
|
-
} else {
|
|
44
|
-
textColor = buttonColor;
|
|
45
|
-
}
|
|
46
|
-
}
|
|
47
|
-
if (type === "outline") {
|
|
48
|
-
if (disabled) {
|
|
49
|
-
borderColor = color(buttonColor).alpha(disabledOpacity).rgb().string();
|
|
50
|
-
} else {
|
|
51
|
-
borderColor = buttonColor;
|
|
52
|
-
}
|
|
53
|
-
borderWidth = StyleSheet.hairlineWidth;
|
|
54
|
-
} else {
|
|
55
|
-
borderColor = "transparent";
|
|
56
|
-
borderWidth = 0;
|
|
57
|
-
}
|
|
58
|
-
const buttonStyle = {
|
|
59
|
-
backgroundColor,
|
|
60
|
-
borderColor,
|
|
61
|
-
borderWidth,
|
|
62
|
-
borderRadius: roundness,
|
|
63
|
-
alignItems: "center",
|
|
64
|
-
justifyContent: "center"
|
|
65
|
-
};
|
|
66
|
-
const buttonStyles = [styles.button, buttonStyle];
|
|
67
|
-
const contentStyle = [styles.content];
|
|
68
|
-
const textStyle = {
|
|
69
|
-
textAlign: "center",
|
|
70
|
-
color: textColor
|
|
71
|
-
};
|
|
72
|
-
const iconStyle = [styles.icon, {
|
|
73
|
-
width: Config.buttonIconSize
|
|
74
|
-
}];
|
|
75
|
-
if (type === "standard" || type === "outline") {
|
|
76
|
-
buttonStyle.width = Config.FABSize;
|
|
77
|
-
buttonStyle.height = Config.FABSize;
|
|
78
|
-
buttonStyle.borderRadius = Config.FABBorderRadius;
|
|
79
|
-
contentStyle.push({
|
|
80
|
-
width: Config.FABSize,
|
|
81
|
-
height: Config.FABSize
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
if (type === "extended" || type === "fixed") {
|
|
85
|
-
iconStyle.push({
|
|
86
|
-
marginLeft: 16,
|
|
87
|
-
marginRight: -8
|
|
88
|
-
});
|
|
89
|
-
textStyle.margin = 16;
|
|
90
|
-
}
|
|
91
|
-
if (type === "fixed") {
|
|
92
|
-
buttonStyles.push({
|
|
93
|
-
height: Config.FABFixedHeight,
|
|
94
|
-
alignSelf: "stretch"
|
|
95
|
-
});
|
|
96
|
-
}
|
|
97
|
-
return /*#__PURE__*/React.createElement(Elevation, {
|
|
98
|
-
style: [{
|
|
99
|
-
elevation
|
|
100
|
-
}, style]
|
|
101
|
-
}, /*#__PURE__*/React.createElement(Touchable, _extends({}, rest, {
|
|
102
|
-
onPress: onPress,
|
|
103
|
-
accessibilityState: {
|
|
104
|
-
disabled
|
|
105
|
-
},
|
|
106
|
-
accessibilityRole: "button",
|
|
107
|
-
disabled: disabled || loading,
|
|
108
|
-
style: buttonStyles
|
|
109
|
-
}), /*#__PURE__*/React.createElement(View, {
|
|
110
|
-
style: styles.content
|
|
111
|
-
}, icon && loading !== true ? /*#__PURE__*/React.createElement(View, {
|
|
112
|
-
style: iconStyle
|
|
113
|
-
}, /*#__PURE__*/React.createElement(Icon, {
|
|
114
|
-
name: icon,
|
|
115
|
-
size: Config.buttonIconSize,
|
|
116
|
-
color: textColor
|
|
117
|
-
})) : null, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
118
|
-
size: "small",
|
|
119
|
-
color: textColor,
|
|
120
|
-
style: iconStyle
|
|
121
|
-
}) : null, label ? /*#__PURE__*/React.createElement(Text, {
|
|
122
|
-
numberOfLines: 1,
|
|
123
|
-
style: [textStyle, typography.button]
|
|
124
|
-
}, label) : null)));
|
|
125
|
-
};
|
|
126
|
-
const styles = StyleSheet.create({
|
|
127
|
-
button: {
|
|
128
|
-
borderStyle: "solid"
|
|
129
|
-
},
|
|
130
|
-
content: {
|
|
131
|
-
flexDirection: "row",
|
|
132
|
-
alignItems: "center",
|
|
133
|
-
justifyContent: "center"
|
|
134
|
-
},
|
|
135
|
-
icon: {
|
|
136
|
-
alignItems: "center",
|
|
137
|
-
justifyContent: "center",
|
|
138
|
-
width: Config.buttonIconSize
|
|
139
|
-
},
|
|
140
|
-
fixed: {
|
|
141
|
-
left: 0,
|
|
142
|
-
right: 0,
|
|
143
|
-
bottom: 0,
|
|
144
|
-
height: 64,
|
|
145
|
-
borderRadius: 0
|
|
146
|
-
}
|
|
147
|
-
});
|
|
148
|
-
export default withTheme(FAB);
|
|
149
|
-
//# sourceMappingURL=DeprecatedFAB.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","ActivityIndicator","View","StyleSheet","color","Config","Text","Touchable","Elevation","withTheme","FAB","Icon","icon","disabled","type","loading","colorOverride","label","onPress","elevation","style","theme","colors","disabledOpacity","roundness","typography","rest","backgroundColor","borderColor","textColor","borderWidth","buttonColor","primary","surface","alpha","rgb","string","hairlineWidth","buttonStyle","borderRadius","alignItems","justifyContent","buttonStyles","styles","button","contentStyle","content","textStyle","textAlign","iconStyle","width","buttonIconSize","FABSize","height","FABBorderRadius","push","marginLeft","marginRight","margin","FABFixedHeight","alignSelf","create","borderStyle","flexDirection","fixed","left","right","bottom"],"sourceRoot":"../../src","sources":["DeprecatedFAB.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,iBAAiB,EACjBC,IAAI,EACJC,UAAU,QAKL,cAAc;AACrB,OAAOC,KAAK,MAAM,OAAO;AACzB,OAAOC,MAAM,MAAM,UAAU;AAC7B,OAAOC,IAAI,MAAM,QAAQ;AACzB,OAAOC,SAA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Ac,EAAE;EAClB,CAAC;EACD7B,IAAI,EAAE;IACJ4B,UAAU,EAAE,QAAQ;IACpBC,cAAc,EAAE,QAAQ;IACxBS,KAAK,EAAE7C,MAAM,CAAC8C;EAChB,CAAC;EACDa,KAAK,EAAE;IACLC,IAAI,EAAE,CAAC;IACPC,KAAK,EAAE,CAAC;IACRC,MAAM,EAAE,CAAC;IACTd,MAAM,EAAE,EAAE;IACVd,YAAY,EAAE;EAChB;AACF,CAAC,CAAC;AAEF,eAAe9B,SAAS,CAACC,GAAG,CAAC"}
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
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); }
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { StyleSheet, View } from "react-native";
|
|
4
|
-
import { withTheme } from "../theming";
|
|
5
|
-
const Divider = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
style,
|
|
8
|
-
color,
|
|
9
|
-
theme: {
|
|
10
|
-
colors
|
|
11
|
-
},
|
|
12
|
-
...rest
|
|
13
|
-
} = _ref;
|
|
14
|
-
return /*#__PURE__*/React.createElement(View, _extends({
|
|
15
|
-
style: [{
|
|
16
|
-
backgroundColor: color || colors.divider,
|
|
17
|
-
height: StyleSheet.hairlineWidth
|
|
18
|
-
}, style]
|
|
19
|
-
}, rest));
|
|
20
|
-
};
|
|
21
|
-
export default withTheme(Divider);
|
|
22
|
-
//# sourceMappingURL=Divider.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","StyleSheet","View","withTheme","Divider","style","color","theme","colors","rest","backgroundColor","divider","height","hairlineWidth"],"sourceRoot":"../../src","sources":["Divider.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,UAAU,EAAEC,IAAI,QAA8B,cAAc;AACrE,SAASC,SAAS,QAAQ,YAAY;AAStC,MAAMC,OAAiD,GAAG,QAKpD;EAAA,IALqD;IACzDC,KAAK;IACLC,KAAK;IACLC,KAAK,EAAE;MAAEC;IAAO,CAAC;IACjB,GAAGC;EACL,CAAC;EACC,oBACE,oBAAC,IAAI;IACH,KAAK,EAAE,CACL;MACEC,eAAe,EAAEJ,KAAK,IAAIE,MAAM,CAACG,OAAO;MACxCC,MAAM,EAAEX,UAAU,CAACY;IACrB,CAAC,EACDR,KAAK;EACL,GACEI,IAAI,EACR;AAEN,CAAC;AAED,eAAeN,SAAS,CAACC,OAAO,CAAC"}
|
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
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); }
|
|
2
|
-
import * as React from "react";
|
|
3
|
-
import { View, StyleSheet, Pressable, ActivityIndicator, Platform } from "react-native";
|
|
4
|
-
import { withTheme } from "../theming";
|
|
5
|
-
const FAB = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
onPress,
|
|
8
|
-
disabled,
|
|
9
|
-
loading,
|
|
10
|
-
iconName = "MaterialIcons/add",
|
|
11
|
-
style,
|
|
12
|
-
theme,
|
|
13
|
-
iconColor,
|
|
14
|
-
bgColor,
|
|
15
|
-
size = 50,
|
|
16
|
-
Icon,
|
|
17
|
-
...props
|
|
18
|
-
} = _ref;
|
|
19
|
-
const backgroundColor = bgColor || theme.colors.primary;
|
|
20
|
-
const color = iconColor || "#FFF";
|
|
21
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
22
|
-
style: [{
|
|
23
|
-
width: size,
|
|
24
|
-
height: size,
|
|
25
|
-
borderRadius: size / 2,
|
|
26
|
-
overflow: "hidden"
|
|
27
|
-
}, style]
|
|
28
|
-
}, /*#__PURE__*/React.createElement(Pressable, _extends({
|
|
29
|
-
onPress: onPress,
|
|
30
|
-
disabled: loading || disabled,
|
|
31
|
-
android_ripple: {
|
|
32
|
-
color: "#333",
|
|
33
|
-
radius: size / 4
|
|
34
|
-
},
|
|
35
|
-
style: _ref2 => {
|
|
36
|
-
let {
|
|
37
|
-
pressed
|
|
38
|
-
} = _ref2;
|
|
39
|
-
return [styles.button, {
|
|
40
|
-
opacity: pressed || disabled ? 0.75 : 1,
|
|
41
|
-
width: size,
|
|
42
|
-
height: size,
|
|
43
|
-
borderRadius: size / 2,
|
|
44
|
-
backgroundColor
|
|
45
|
-
}];
|
|
46
|
-
}
|
|
47
|
-
}, props), /*#__PURE__*/React.createElement(View, null, loading ? /*#__PURE__*/React.createElement(ActivityIndicator, {
|
|
48
|
-
style: size > 50 ? {
|
|
49
|
-
marginTop: 2,
|
|
50
|
-
marginLeft: 2
|
|
51
|
-
} : undefined,
|
|
52
|
-
size: size <= 50 ? "small" : "large",
|
|
53
|
-
color: color
|
|
54
|
-
}) : /*#__PURE__*/React.createElement(Icon, {
|
|
55
|
-
name: iconName,
|
|
56
|
-
size: size,
|
|
57
|
-
color: color
|
|
58
|
-
}))));
|
|
59
|
-
};
|
|
60
|
-
const styles = StyleSheet.create({
|
|
61
|
-
button: {
|
|
62
|
-
backgroundColor: "#5a45ff",
|
|
63
|
-
justifyContent: "center",
|
|
64
|
-
alignItems: "center",
|
|
65
|
-
...Platform.select({
|
|
66
|
-
web: {
|
|
67
|
-
cursor: "pointer",
|
|
68
|
-
userSelect: "none"
|
|
69
|
-
}
|
|
70
|
-
})
|
|
71
|
-
}
|
|
72
|
-
});
|
|
73
|
-
export default withTheme(FAB);
|
|
74
|
-
//# sourceMappingURL=FAB.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","StyleSheet","Pressable","ActivityIndicator","Platform","withTheme","FAB","onPress","disabled","loading","iconName","style","theme","iconColor","bgColor","size","Icon","props","backgroundColor","colors","primary","color","width","height","borderRadius","overflow","radius","pressed","styles","button","opacity","marginTop","marginLeft","undefined","create","justifyContent","alignItems","select","web","cursor","userSelect"],"sourceRoot":"../../src","sources":["FAB.tsx"],"mappings":";AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,IAAI,EACJC,UAAU,EACVC,SAAS,EACTC,iBAAiB,EAIjBC,QAAQ,QACH,cAAc;AACrB,SAASC,SAAS,QAAQ,YAAY;AAiBtC,MAAMC,GAA6C,GAAG,QAYhD;EAAA,IAZiD;IACrDC,OAAO;IACPC,QAAQ;IACRC,OAAO;IACPC,QAAQ,GAAG,mBAAmB;IAC9BC,KAAK;IACLC,KAAK;IACLC,SAAS;IACTC,OAAO;IACPC,IAAI,GAAG,EAAE;IACTC,IAAI;IACJ,GAAGC;EACL,CAAC;EACC,MAAMC,eAAe,GAAGJ,OAAO,IAAIF,KAAK,CAACO,MAAM,CAACC,OAAO;EACvD,MAAMC,KAAK,GAAGR,SAAS,IAAI,MAAM;EAEjC,oBACE,oBAAC,IAAI;IACH,KAAK,EAAE,CACL;MACES,KAAK,EAAEP,IAAI;MACXQ,MAAM,EAAER,IAAI;MACZS,YAAY,EAAET,IAAI,GAAG,CAAC;MACtBU,QAAQ,EAAE;IACZ,CAAC,EACDd,KAAK;EACL,gBAEF,oBAAC,SAAS;IACR,OAAO,EAAEJ,OAAQ;IACjB,QAAQ,EAAEE,OAAO,IAAID,QAAS;IAC9B,cAAc,EAAE;MACda,KAAK,EAAE,MAAM;MACbK,MAAM,EAAEX,IAAI,GAAG;IACjB,CAAE;IACF,KAAK,EAAE,SAAiB;MAAA,IAAhB;QAAEY;MAAQ,CAAC;MACjB,OAAO,CACLC,MAAM,CAACC,MAAM,EACb;QACEC,OAAO,EAAEH,OAAO,IAAInB,QAAQ,GAAG,IAAI,GAAG,CAAC;QACvCc,KAAK,EAAEP,IAAI;QACXQ,MAAM,EAAER,IAAI;QACZS,YAAY,EAAET,IAAI,GAAG,CAAC;QACtBG;MACF,CAAC,CACF;IACH;EAAE,GACED,KAAK,gBAET,oBAAC,IAAI,QACFR,OAAO,gBACN,oBAAC,iBAAiB;IAChB,KAAK,EAAEM,IAAI,GAAG,EAAE,GAAG;MAAEgB,SAAS,EAAE,CAAC;MAAEC,UAAU,EAAE;IAAE,CAAC,GAAGC,SAAU;IAC/D,IAAI,EAAElB,IAAI,IAAI,EAAE,GAAG,OAAO,GAAG,OAAQ;IACrC,KAAK,EAAEM;EAAM,EACb,gBAEF,oBAAC,IAAI;IAAC,IAAI,EAAEX,QAAS;IAAC,IAAI,EAAEK,IAAK;IAAC,KAAK,EAAEM;EAAM,EAChD,CACI,CACG,CACP;AAEX,CAAC;AAED,MAAMO,MAAM,GAAG3B,UAAU,CAACiC,MAAM,CAAC;EAC/BL,MAAM,EAAE;IACNX,eAAe,EAAE,SAAS;IAC1BiB,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE,QAAQ;IACpB,GAAGhC,QAAQ,CAACiC,MAAM,CAAC;MACjBC,GAAG,EAAE;QACHC,MAAM,EAAE,SAAS;QACjBC,UAAU,EAAE;MACd;IACF,CAAC;EACH;AACF,CAAC,CAAC;AAEF,eAAenC,SAAS,CAACC,GAAG,CAAC"}
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { View, TextInput, StyleSheet } from "react-native";
|
|
3
|
-
import { withTheme } from "../theming";
|
|
4
|
-
import Config from "./Config";
|
|
5
|
-
const FieldSearchBarFull = _ref => {
|
|
6
|
-
let {
|
|
7
|
-
showIcon,
|
|
8
|
-
Icon,
|
|
9
|
-
icon = "search",
|
|
10
|
-
placeholder = "",
|
|
11
|
-
style,
|
|
12
|
-
theme: {
|
|
13
|
-
colors,
|
|
14
|
-
typography
|
|
15
|
-
},
|
|
16
|
-
onChange: changeOverride,
|
|
17
|
-
onSubmit: submitOverride,
|
|
18
|
-
value,
|
|
19
|
-
defaultValue
|
|
20
|
-
} = _ref;
|
|
21
|
-
const [focused, setIsFocused] = React.useState(false);
|
|
22
|
-
const onBlur = () => {
|
|
23
|
-
setIsFocused(false);
|
|
24
|
-
};
|
|
25
|
-
const [internalValue, setInternalValue] = React.useState(value || defaultValue);
|
|
26
|
-
React.useEffect(() => {
|
|
27
|
-
if (value != null) {
|
|
28
|
-
setInternalValue(value);
|
|
29
|
-
}
|
|
30
|
-
}, [value]);
|
|
31
|
-
React.useEffect(() => {
|
|
32
|
-
if (defaultValue != null) {
|
|
33
|
-
setInternalValue(defaultValue);
|
|
34
|
-
}
|
|
35
|
-
}, [defaultValue]);
|
|
36
|
-
const onChange = React.useCallback(text => {
|
|
37
|
-
changeOverride && changeOverride(text);
|
|
38
|
-
}, [changeOverride]);
|
|
39
|
-
const onFocus = () => {
|
|
40
|
-
setIsFocused(true);
|
|
41
|
-
};
|
|
42
|
-
const onSubmit = e => {
|
|
43
|
-
submitOverride && submitOverride(e);
|
|
44
|
-
};
|
|
45
|
-
const {
|
|
46
|
-
lineHeight,
|
|
47
|
-
...typeStyles
|
|
48
|
-
} = typography.body2; // eslint-disable-line @typescript-eslint/no-unused-vars
|
|
49
|
-
|
|
50
|
-
const handleChangeText = newValue => {
|
|
51
|
-
setInternalValue(newValue);
|
|
52
|
-
if (onChange) {
|
|
53
|
-
onChange(newValue);
|
|
54
|
-
}
|
|
55
|
-
};
|
|
56
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
57
|
-
style: [styles.container, style]
|
|
58
|
-
}, showIcon && /*#__PURE__*/React.createElement(Icon, {
|
|
59
|
-
name: icon,
|
|
60
|
-
size: Config.fieldSearchBarFullIconSize,
|
|
61
|
-
color: focused ? colors.primary : colors.light
|
|
62
|
-
}), /*#__PURE__*/React.createElement(View, {
|
|
63
|
-
style: {
|
|
64
|
-
marginLeft: showIcon ? 12 : 0,
|
|
65
|
-
flex: 1
|
|
66
|
-
}
|
|
67
|
-
}, /*#__PURE__*/React.createElement(TextInput, {
|
|
68
|
-
clearButtonMode: "while-editing",
|
|
69
|
-
placeholder: placeholder,
|
|
70
|
-
value: internalValue,
|
|
71
|
-
onBlur: onBlur,
|
|
72
|
-
onFocus: onFocus,
|
|
73
|
-
onChangeText: handleChangeText,
|
|
74
|
-
onSubmitEditing: onSubmit,
|
|
75
|
-
placeholderTextColor: colors.light,
|
|
76
|
-
style: [{
|
|
77
|
-
color: colors.medium
|
|
78
|
-
}, typeStyles]
|
|
79
|
-
})));
|
|
80
|
-
};
|
|
81
|
-
const styles = StyleSheet.create({
|
|
82
|
-
container: {
|
|
83
|
-
flexDirection: "row",
|
|
84
|
-
alignItems: "center"
|
|
85
|
-
}
|
|
86
|
-
});
|
|
87
|
-
export default withTheme(FieldSearchBarFull);
|
|
88
|
-
//# sourceMappingURL=FieldSearchBarFull.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","TextInput","StyleSheet","withTheme","Config","FieldSearchBarFull","showIcon","Icon","icon","placeholder","style","theme","colors","typography","onChange","changeOverride","onSubmit","submitOverride","value","defaultValue","focused","setIsFocused","useState","onBlur","internalValue","setInternalValue","useEffect","useCallback","text","onFocus","e","lineHeight","typeStyles","body2","handleChangeText","newValue","styles","container","fieldSearchBarFullIconSize","primary","light","marginLeft","flex","color","medium","create","flexDirection","alignItems"],"sourceRoot":"../../src","sources":["FieldSearchBarFull.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,IAAI,EACJC,SAAS,EACTC,UAAU,QAKL,cAAc;AACrB,SAASC,SAAS,QAAQ,YAAY;AAGtC,OAAOC,MAAM,MAAM,UAAU;AAc7B,MAAMC,kBAA4D,GAAG,QAW/D;EAAA,IAXgE;IACpEC,QAAQ;IACRC,IAAI;IACJC,IAAI,GAAG,QAAQ;IACfC,WAAW,GAAG,EAAE;IAChBC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW,CAAC;IAC7BC,QAAQ,EAAEC,cAAc;IACxBC,QAAQ,EAAEC,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,CAACC,MAAM,CAACC,SAAS,EAAE3B,KAAK;EAAE,GACpCJ,QAAQ,iBACP,oBAAC,IAAI;IACH,IAAI,EAAEE,IAAK;IACX,IAAI,EAAEJ,MAAM,CAACkC,0BAA2B;IACxC,KAAK,EAAElB,OAAO,GAAGR,MAAM,CAAC2B,OAAO,GAAG3B,MAAM,CAAC4B;EAAM,EAElD,eACD,oBAAC,IAAI;IAAC,KAAK,EAAE;MAAEC,UAAU,EAAEnC,QAAQ,GAAG,EAAE,GAAG,CAAC;MAAEoC,IAAI,EAAE;IAAE;EAAE,gBACtD,oBAAC,SAAS;IACR,eAAe,EAAC,eAAe;IAC/B,WAAW,EAAEjC,WAAY;IACzB,KAAK,EAAEe,aAAc;IACrB,MAAM,EAAED,MAAO;IACf,OAAO,EAAEM,OAAQ;IACjB,YAAY,EAAEK,gBAAiB;IAC/B,eAAe,EAAElB,QAAS;IAC1B,oBAAoB,EAAEJ,MAAM,CAAC4B,KAAM;IACnC,KAAK,EAAE,CACL;MACEG,KAAK,EAAE/B,MAAM,CAACgC;IAChB,CAAC,EACDZ,UAAU;EACV,EACF,CACG,CACF;AAEX,CAAC;AAED,MAAMI,MAAM,GAAGlC,UAAU,CAAC2C,MAAM,CAAC;EAC/BR,SAAS,EAAE;IACTS,aAAa,EAAE,KAAK;IACpBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAe5C,SAAS,CAACE,kBAAkB,CAAC"}
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { View, Text, StyleSheet } from "react-native";
|
|
3
|
-
import { withTheme } from "../theming";
|
|
4
|
-
import Divider from "./Divider";
|
|
5
|
-
import Touchable from "./Touchable";
|
|
6
|
-
import Config from "./Config";
|
|
7
|
-
const Header = _ref => {
|
|
8
|
-
let {
|
|
9
|
-
Icon,
|
|
10
|
-
titleTypeStyle,
|
|
11
|
-
titleColor,
|
|
12
|
-
title,
|
|
13
|
-
buttonText,
|
|
14
|
-
dividerTopMargin,
|
|
15
|
-
icon,
|
|
16
|
-
onPress,
|
|
17
|
-
style,
|
|
18
|
-
theme: {
|
|
19
|
-
colors,
|
|
20
|
-
typography
|
|
21
|
-
}
|
|
22
|
-
} = _ref;
|
|
23
|
-
return /*#__PURE__*/React.createElement(View, {
|
|
24
|
-
style: [styles.container, style]
|
|
25
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
26
|
-
style: styles.topContainer
|
|
27
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
28
|
-
style: [titleTypeStyle, {
|
|
29
|
-
color: titleColor,
|
|
30
|
-
flex: 1
|
|
31
|
-
}],
|
|
32
|
-
numberOfLines: 1
|
|
33
|
-
}, title), onPress && /*#__PURE__*/React.createElement(Touchable, {
|
|
34
|
-
style: {
|
|
35
|
-
alignSelf: "center",
|
|
36
|
-
marginLeft: 12
|
|
37
|
-
},
|
|
38
|
-
onPress: onPress
|
|
39
|
-
}, /*#__PURE__*/React.createElement(View, {
|
|
40
|
-
style: styles.buttonContainer
|
|
41
|
-
}, /*#__PURE__*/React.createElement(Text, {
|
|
42
|
-
style: [typography.subtitle2, {
|
|
43
|
-
color: colors.light,
|
|
44
|
-
marginRight: 8
|
|
45
|
-
}],
|
|
46
|
-
numberOfLines: 1
|
|
47
|
-
}, buttonText), /*#__PURE__*/React.createElement(Icon, {
|
|
48
|
-
name: icon,
|
|
49
|
-
size: Config.headerIconSize,
|
|
50
|
-
color: colors.light
|
|
51
|
-
})))), /*#__PURE__*/React.createElement(Divider, {
|
|
52
|
-
style: {
|
|
53
|
-
marginTop: dividerTopMargin || 16
|
|
54
|
-
}
|
|
55
|
-
}));
|
|
56
|
-
};
|
|
57
|
-
const styles = StyleSheet.create({
|
|
58
|
-
container: {
|
|
59
|
-
alignSelf: "stretch"
|
|
60
|
-
},
|
|
61
|
-
topContainer: {
|
|
62
|
-
flexDirection: "row",
|
|
63
|
-
justifyContent: "space-between",
|
|
64
|
-
alignItems: "center"
|
|
65
|
-
},
|
|
66
|
-
buttonContainer: {
|
|
67
|
-
flexDirection: "row",
|
|
68
|
-
justifyContent: "center",
|
|
69
|
-
alignItems: "center"
|
|
70
|
-
}
|
|
71
|
-
});
|
|
72
|
-
export default withTheme(Header);
|
|
73
|
-
//# sourceMappingURL=Header.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","View","Text","StyleSheet","withTheme","Divider","Touchable","Config","Header","Icon","titleTypeStyle","titleColor","title","buttonText","dividerTopMargin","icon","onPress","style","theme","colors","typography","styles","container","topContainer","color","flex","alignSelf","marginLeft","buttonContainer","subtitle2","light","marginRight","headerIconSize","marginTop","create","flexDirection","justifyContent","alignItems"],"sourceRoot":"../../src","sources":["Header.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SACEC,IAAI,EACJC,IAAI,EACJC,UAAU,QAIL,cAAc;AACrB,SAASC,SAAS,QAAQ,YAAY;AACtC,OAAOC,OAAO,MAAM,WAAW;AAC/B,OAAOC,SAAS,MAAM,aAAa;AACnC,OAAOC,MAAM,MAAM,UAAU;AAiB7B,MAAMC,MAAgD,GAAG,QAWnD;EAAA,IAXoD;IACxDC,IAAI;IACJC,cAAc;IACdC,UAAU;IACVC,KAAK;IACLC,UAAU;IACVC,gBAAgB;IAChBC,IAAI;IACJC,OAAO;IACPC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,IAAI;IAAC,KAAK,EAAE,CAACC,MAAM,CAACC,SAAS,EAAEL,KAAK;EAAE,gBACrC,oBAAC,IAAI;IAAC,KAAK,EAAEI,MAAM,CAACE;EAAa,gBAC/B,oBAAC,IAAI;IACH,KAAK,EAAE,CACLb,cAAc,EACd;MACEc,KAAK,EAAEb,UAAU;MACjBc,IAAI,EAAE;IACR,CAAC,CACD;IACF,aAAa,EAAE;EAAE,GAEhBb,KAAK,CACD,EACNI,OAAO,iBACN,oBAAC,SAAS;IACR,KAAK,EAAE;MAAEU,SAAS,EAAE,QAAQ;MAAEC,UAAU,EAAE;IAAG,CAAE;IAC/C,OAAO,EAAEX;EAAQ,gBAEjB,oBAAC,IAAI;IAAC,KAAK,EAAEK,MAAM,CAACO;EAAgB,gBAClC,oBAAC,IAAI;IACH,KAAK,EAAE,CACLR,UAAU,CAACS,SAAS,EACpB;MACEL,KAAK,EAAEL,MAAM,CAACW,KAAK;MACnBC,WAAW,EAAE;IACf,CAAC,CACD;IACF,aAAa,EAAE;EAAE,GAEhBlB,UAAU,CACN,eACP,oBAAC,IAAI;IACH,IAAI,EAAEE,IAAK;IACX,IAAI,EAAER,MAAM,CAACyB,cAAe;IAC5B,KAAK,EAAEb,MAAM,CAACW;EAAM,EACpB,CACG,CAEV,CACI,eACP,oBAAC,OAAO;IAAC,KAAK,EAAE;MAAEG,SAAS,EAAEnB,gBAAgB,IAAI;IAAG;EAAE,EAAG,CACpD;AAEX,CAAC;AAED,MAAMO,MAAM,GAAGlB,UAAU,CAAC+B,MAAM,CAAC;EAC/BZ,SAAS,EAAE;IACTI,SAAS,EAAE;EACb,CAAC;EACDH,YAAY,EAAE;IACZY,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,eAAe;IAC/BC,UAAU,EAAE;EACd,CAAC;EACDT,eAAe,EAAE;IACfO,aAAa,EAAE,KAAK;IACpBC,cAAc,EAAE,QAAQ;IACxBC,UAAU,EAAE;EACd;AACF,CAAC,CAAC;AAEF,eAAejC,SAAS,CAACI,MAAM,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { withTheme } from "../theming";
|
|
3
|
-
import Header from "./Header";
|
|
4
|
-
const HeaderLarge = _ref => {
|
|
5
|
-
let {
|
|
6
|
-
Icon,
|
|
7
|
-
title,
|
|
8
|
-
buttonText,
|
|
9
|
-
icon,
|
|
10
|
-
onPress = () => {},
|
|
11
|
-
style,
|
|
12
|
-
theme: {
|
|
13
|
-
colors,
|
|
14
|
-
typography
|
|
15
|
-
}
|
|
16
|
-
} = _ref;
|
|
17
|
-
return /*#__PURE__*/React.createElement(Header, {
|
|
18
|
-
Icon: Icon,
|
|
19
|
-
titleTypeStyle: typography.headline4,
|
|
20
|
-
titleColor: colors.strong,
|
|
21
|
-
title: title,
|
|
22
|
-
buttonText: buttonText,
|
|
23
|
-
icon: icon,
|
|
24
|
-
onPress: onPress,
|
|
25
|
-
style: style
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
export default withTheme(HeaderLarge);
|
|
29
|
-
//# sourceMappingURL=HeaderLarge.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","withTheme","Header","HeaderLarge","Icon","title","buttonText","icon","onPress","style","theme","colors","typography","headline4","strong"],"sourceRoot":"../../src","sources":["HeaderLarge.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,QAAQ,YAAY;AAGtC,OAAOC,MAAM,MAAM,UAAU;AAY7B,MAAMC,WAAqD,GAAG,QAQxD;EAAA,IARyD;IAC7DC,IAAI;IACJC,KAAK;IACLC,UAAU;IACVC,IAAI;IACJC,OAAO,GAAG,MAAM,CAAC,CAAC;IAClBC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,MAAM;IACL,IAAI,EAAER,IAAK;IACX,cAAc,EAAEQ,UAAU,CAACC,SAAU;IACrC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,KAAK,EAAET,KAAM;IACb,UAAU,EAAEC,UAAW;IACvB,IAAI,EAAEC,IAAK;IACX,OAAO,EAAEC,OAAQ;IACjB,KAAK,EAAEC;EAAM,EACb;AAEN,CAAC;AAED,eAAeR,SAAS,CAACE,WAAW,CAAC"}
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { withTheme } from "../theming";
|
|
3
|
-
import Header from "./Header";
|
|
4
|
-
const HeaderMedium = _ref => {
|
|
5
|
-
let {
|
|
6
|
-
Icon,
|
|
7
|
-
title,
|
|
8
|
-
buttonText,
|
|
9
|
-
icon,
|
|
10
|
-
onPress = () => {},
|
|
11
|
-
style,
|
|
12
|
-
theme: {
|
|
13
|
-
colors,
|
|
14
|
-
typography
|
|
15
|
-
}
|
|
16
|
-
} = _ref;
|
|
17
|
-
return /*#__PURE__*/React.createElement(Header, {
|
|
18
|
-
Icon: Icon,
|
|
19
|
-
titleTypeStyle: typography.headline6,
|
|
20
|
-
titleColor: colors.strong,
|
|
21
|
-
title: title,
|
|
22
|
-
buttonText: buttonText,
|
|
23
|
-
icon: icon,
|
|
24
|
-
onPress: onPress,
|
|
25
|
-
style: style
|
|
26
|
-
});
|
|
27
|
-
};
|
|
28
|
-
export default withTheme(HeaderMedium);
|
|
29
|
-
//# sourceMappingURL=HeaderMedium.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","withTheme","Header","HeaderMedium","Icon","title","buttonText","icon","onPress","style","theme","colors","typography","headline6","strong"],"sourceRoot":"../../src","sources":["HeaderMedium.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,QAAQ,YAAY;AAItC,OAAOC,MAAM,MAAM,UAAU;AAY7B,MAAMC,YAAsD,GAAG,QAQzD;EAAA,IAR0D;IAC9DC,IAAI;IACJC,KAAK;IACLC,UAAU;IACVC,IAAI;IACJC,OAAO,GAAG,MAAM,CAAC,CAAC;IAClBC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,MAAM;IACL,IAAI,EAAER,IAAK;IACX,cAAc,EAAEQ,UAAU,CAACC,SAAU;IACrC,UAAU,EAAEF,MAAM,CAACG,MAAO;IAC1B,KAAK,EAAET,KAAM;IACb,UAAU,EAAEC,UAAW;IACvB,IAAI,EAAEC,IAAK;IACX,OAAO,EAAEC,OAAQ;IACjB,KAAK,EAAEC;EAAM,EACb;AAEN,CAAC;AAED,eAAeR,SAAS,CAACE,YAAY,CAAC"}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { withTheme } from "../theming";
|
|
3
|
-
import Header from "./Header";
|
|
4
|
-
const HeaderOverline = _ref => {
|
|
5
|
-
let {
|
|
6
|
-
Icon,
|
|
7
|
-
title,
|
|
8
|
-
buttonText,
|
|
9
|
-
icon,
|
|
10
|
-
onPress = () => {},
|
|
11
|
-
style,
|
|
12
|
-
theme: {
|
|
13
|
-
colors,
|
|
14
|
-
typography
|
|
15
|
-
}
|
|
16
|
-
} = _ref;
|
|
17
|
-
return /*#__PURE__*/React.createElement(Header, {
|
|
18
|
-
Icon: Icon,
|
|
19
|
-
titleTypeStyle: typography.overline,
|
|
20
|
-
titleColor: colors.light,
|
|
21
|
-
title: title && title.toUpperCase(),
|
|
22
|
-
buttonText: buttonText,
|
|
23
|
-
icon: icon,
|
|
24
|
-
dividerTopMargin: 12,
|
|
25
|
-
onPress: onPress,
|
|
26
|
-
style: style
|
|
27
|
-
});
|
|
28
|
-
};
|
|
29
|
-
export default withTheme(HeaderOverline);
|
|
30
|
-
//# sourceMappingURL=HeaderOverline.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","withTheme","Header","HeaderOverline","Icon","title","buttonText","icon","onPress","style","theme","colors","typography","overline","light","toUpperCase"],"sourceRoot":"../../src","sources":["HeaderOverline.tsx"],"mappings":"AAAA,OAAO,KAAKA,KAAK,MAAM,OAAO;AAC9B,SAASC,SAAS,QAAQ,YAAY;AAItC,OAAOC,MAAM,MAAM,UAAU;AAY7B,MAAMC,cAAwD,GAAG,QAQ3D;EAAA,IAR4D;IAChEC,IAAI;IACJC,KAAK;IACLC,UAAU;IACVC,IAAI;IACJC,OAAO,GAAG,MAAM,CAAC,CAAC;IAClBC,KAAK;IACLC,KAAK,EAAE;MAAEC,MAAM;MAAEC;IAAW;EAC9B,CAAC;EACC,oBACE,oBAAC,MAAM;IACL,IAAI,EAAER,IAAK;IACX,cAAc,EAAEQ,UAAU,CAACC,QAAS;IACpC,UAAU,EAAEF,MAAM,CAACG,KAAM;IACzB,KAAK,EAAET,KAAK,IAAIA,KAAK,CAACU,WAAW,EAAG;IACpC,UAAU,EAAET,UAAW;IACvB,IAAI,EAAEC,IAAK;IACX,gBAAgB,EAAE,EAAG;IACrB,OAAO,EAAEC,OAAQ;IACjB,KAAK,EAAEC;EAAM,EACb;AAEN,CAAC;AAED,eAAeR,SAAS,CAACE,cAAc,CAAC"}
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
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); }
|
|
2
|
-
/* README: Internal Image component used for stuff like Card. DO NOT EXPORT! */
|
|
3
|
-
import React from "react";
|
|
4
|
-
import { Image as NativeImage, StyleSheet } from "react-native";
|
|
5
|
-
import Config from "./Config";
|
|
6
|
-
import AspectRatio from "./AspectRatio";
|
|
7
|
-
const generateDimensions = _ref => {
|
|
8
|
-
let {
|
|
9
|
-
aspectRatio,
|
|
10
|
-
width,
|
|
11
|
-
height
|
|
12
|
-
} = _ref;
|
|
13
|
-
if (aspectRatio && !width && !height) {
|
|
14
|
-
return {
|
|
15
|
-
aspectRatio,
|
|
16
|
-
width: "100%"
|
|
17
|
-
};
|
|
18
|
-
}
|
|
19
|
-
if (aspectRatio && height) {
|
|
20
|
-
return {
|
|
21
|
-
aspectRatio,
|
|
22
|
-
height,
|
|
23
|
-
width: aspectRatio * height
|
|
24
|
-
};
|
|
25
|
-
}
|
|
26
|
-
if (aspectRatio && width) {
|
|
27
|
-
return {
|
|
28
|
-
aspectRatio,
|
|
29
|
-
width,
|
|
30
|
-
height: width / aspectRatio
|
|
31
|
-
};
|
|
32
|
-
}
|
|
33
|
-
return {
|
|
34
|
-
width,
|
|
35
|
-
height
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
const Image = _ref2 => {
|
|
39
|
-
let {
|
|
40
|
-
source,
|
|
41
|
-
resizeMode = "cover",
|
|
42
|
-
style,
|
|
43
|
-
...props
|
|
44
|
-
} = _ref2;
|
|
45
|
-
let imageSource = source === null || source === undefined ? Config.placeholderImageURL : source;
|
|
46
|
-
const styles = StyleSheet.flatten(style || {});
|
|
47
|
-
const {
|
|
48
|
-
aspectRatio,
|
|
49
|
-
width,
|
|
50
|
-
height
|
|
51
|
-
} = generateDimensions(styles);
|
|
52
|
-
if (aspectRatio) {
|
|
53
|
-
return /*#__PURE__*/React.createElement(AspectRatio, {
|
|
54
|
-
style: [style, {
|
|
55
|
-
width,
|
|
56
|
-
height,
|
|
57
|
-
aspectRatio
|
|
58
|
-
}]
|
|
59
|
-
}, /*#__PURE__*/React.createElement(NativeImage, _extends({}, props, {
|
|
60
|
-
source: imageSource,
|
|
61
|
-
resizeMode: resizeMode,
|
|
62
|
-
style: [style, {
|
|
63
|
-
height: "100%",
|
|
64
|
-
width: "100%"
|
|
65
|
-
}]
|
|
66
|
-
})));
|
|
67
|
-
}
|
|
68
|
-
return /*#__PURE__*/React.createElement(NativeImage, _extends({}, props, {
|
|
69
|
-
source: source,
|
|
70
|
-
resizeMode: resizeMode,
|
|
71
|
-
style: style
|
|
72
|
-
}));
|
|
73
|
-
};
|
|
74
|
-
export default Image;
|
|
75
|
-
//# sourceMappingURL=Image.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["React","Image","NativeImage","StyleSheet","Config","AspectRatio","generateDimensions","aspectRatio","width","height","source","resizeMode","style","props","imageSource","undefined","placeholderImageURL","styles","flatten"],"sourceRoot":"../../src","sources":["Image.tsx"],"mappings":";AAAA;AACA,OAAOA,KAAK,MAAM,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