-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(BottomSheet): Added SVG image format support. (#293)
* feat(BottomSheet): Added SDWebImage and SDWebImageSVGNativeCoder dependencies. Added SVG image format support. * feat(BottomSheet): Changed how images are handled Removed dependency of SDWebImage. Use only Coder for image creations from data * Run swiftformat * feat(BottomSheet): Update Package.swift Co-authored-by: Alejandro Megías <Alejandro.Megias.Zapata@telefonica.com> * feat(BottomSheet): Changed tests * feat(BottomSheet): Change load and derived functions * feat(BottomSheet): Update screenshoots * Run swiftformat * feat(BottomSheet): Fix if there is no dark image, do not override light * Removed old SVG test snapshots --------- Co-authored-by: WanaldinoTelefonica <WanaldinoTelefonica@users.noreply.github.com> Co-authored-by: Alejandro Megías <Alejandro.Megias.Zapata@telefonica.com>
- Loading branch information
1 parent
843436d
commit fe71624
Showing
83 changed files
with
57 additions
and
65 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Binary file modified
BIN
-42.4 KB
(71%)
...caTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-blau-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.6 KB
(70%)
...MisticaTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-blau-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.5 KB
(71%)
...sts/UI/__Snapshots__/SheetTests/testActionWithUrls.with-movistar-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.5 KB
(70%)
...icaTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-movistar-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.5 KB
(71%)
...ticaTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-o2-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.4 KB
(70%)
...s/MisticaTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-o2-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.3 KB
(71%)
...caTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-vivo-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.6 KB
(70%)
...MisticaTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-vivo-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.3 KB
(71%)
...ests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-vivoNew-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-42.6 KB
(70%)
...ticaTests/UI/__Snapshots__/SheetTests/testActionWithUrls.with-vivoNew-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.54 KB
(98%)
...Tests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-blau-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.61 KB
(98%)
...sticaTests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-blau-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.56 KB
(98%)
...s/UI/__Snapshots__/SheetTests/testContentWithIcons.with-movistar-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.47 KB
(98%)
...aTests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-movistar-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.57 KB
(98%)
...caTests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-o2-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.56 KB
(98%)
...MisticaTests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-o2-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.57 KB
(98%)
...Tests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-vivo-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.46 KB
(98%)
...sticaTests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-vivo-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.57 KB
(98%)
...ts/UI/__Snapshots__/SheetTests/testContentWithIcons.with-vivoNew-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.46 KB
(98%)
...caTests/UI/__Snapshots__/SheetTests/testContentWithIcons.with-vivoNew-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.54 KB
(98%)
.../SheetTests/testContentWithIconsAndWithoutDescriptions.with-blau-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.61 KB
(98%)
...ots__/SheetTests/testContentWithIconsAndWithoutDescriptions.with-blau-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.56 KB
(98%)
...etTests/testContentWithIconsAndWithoutDescriptions.with-movistar-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.47 KB
(98%)
..._/SheetTests/testContentWithIconsAndWithoutDescriptions.with-movistar-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-2.57 KB
(98%)
...__/SheetTests/testContentWithIconsAndWithoutDescriptions.with-o2-dark-style.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified
BIN
-3.56 KB
(98%)
...shots__/SheetTests/testContentWithIconsAndWithoutDescriptions.with-o2-style.png
Oops, something went wrong.
Binary file modified
BIN
-2.57 KB
(98%)
.../SheetTests/testContentWithIconsAndWithoutDescriptions.with-vivo-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-3.46 KB
(98%)
...ots__/SheetTests/testContentWithIconsAndWithoutDescriptions.with-vivo-style.png
Oops, something went wrong.
Binary file modified
BIN
-2.57 KB
(98%)
...eetTests/testContentWithIconsAndWithoutDescriptions.with-vivoNew-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-3.46 KB
(98%)
...__/SheetTests/testContentWithIconsAndWithoutDescriptions.with-vivoNew-style.png
Oops, something went wrong.
Binary file modified
BIN
-1.97 KB
(99%)
.../UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-blau-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-2.01 KB
(99%)
...Tests/UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-blau-style.png
Oops, something went wrong.
Binary file modified
BIN
-1.89 KB
(99%)
...__Snapshots__/SheetTests/testContentWithSmallIcons.with-movistar-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-2.09 KB
(99%)
...s/UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-movistar-style.png
Oops, something went wrong.
Binary file modified
BIN
-1.92 KB
(99%)
...ts/UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-o2-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-2.02 KB
(99%)
...caTests/UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-o2-style.png
Oops, something went wrong.
Binary file modified
BIN
-1.92 KB
(99%)
.../UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-vivo-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-1.97 KB
(99%)
...Tests/UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-vivo-style.png
Oops, something went wrong.
Binary file modified
BIN
-1.92 KB
(99%)
.../__Snapshots__/SheetTests/testContentWithSmallIcons.with-vivoNew-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-1.97 KB
(99%)
...ts/UI/__Snapshots__/SheetTests/testContentWithSmallIcons.with-vivoNew-style.png
Oops, something went wrong.
Binary file modified
BIN
-37 KB
(82%)
...heetTests/testInformativeWithDescriptionAndRegularIcon.with-blau-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36 KB
(82%)
...s__/SheetTests/testInformativeWithDescriptionAndRegularIcon.with-blau-style.png
Oops, something went wrong.
Binary file modified
BIN
-35.9 KB
(83%)
...Tests/testInformativeWithDescriptionAndRegularIcon.with-movistar-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-35.9 KB
(82%)
...SheetTests/testInformativeWithDescriptionAndRegularIcon.with-movistar-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.8 KB
(82%)
.../SheetTests/testInformativeWithDescriptionAndRegularIcon.with-o2-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.3 KB
(82%)
...ots__/SheetTests/testInformativeWithDescriptionAndRegularIcon.with-o2-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.8 KB
(82%)
...heetTests/testInformativeWithDescriptionAndRegularIcon.with-vivo-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.3 KB
(82%)
...s__/SheetTests/testInformativeWithDescriptionAndRegularIcon.with-vivo-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.8 KB
(82%)
...tTests/testInformativeWithDescriptionAndRegularIcon.with-vivoNew-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.3 KB
(82%)
.../SheetTests/testInformativeWithDescriptionAndRegularIcon.with-vivoNew-style.png
Oops, something went wrong.
Binary file modified
BIN
-37 KB
(82%)
.../SheetTests/testInformativeWithDescriptionAndSmallIcon.with-blau-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36 KB
(82%)
...ots__/SheetTests/testInformativeWithDescriptionAndSmallIcon.with-blau-style.png
Oops, something went wrong.
Binary file modified
BIN
-35.9 KB
(83%)
...etTests/testInformativeWithDescriptionAndSmallIcon.with-movistar-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-35.9 KB
(82%)
..._/SheetTests/testInformativeWithDescriptionAndSmallIcon.with-movistar-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.8 KB
(82%)
...__/SheetTests/testInformativeWithDescriptionAndSmallIcon.with-o2-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.3 KB
(82%)
...shots__/SheetTests/testInformativeWithDescriptionAndSmallIcon.with-o2-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.8 KB
(82%)
.../SheetTests/testInformativeWithDescriptionAndSmallIcon.with-vivo-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.3 KB
(82%)
...ots__/SheetTests/testInformativeWithDescriptionAndSmallIcon.with-vivo-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.8 KB
(82%)
...eetTests/testInformativeWithDescriptionAndSmallIcon.with-vivoNew-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-36.3 KB
(82%)
...__/SheetTests/testInformativeWithDescriptionAndSmallIcon.with-vivoNew-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.6 KB
(62%)
...tTests/testInformativeWithoutDescriptionAndRegularIcon.with-blau-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.5 KB
(62%)
.../SheetTests/testInformativeWithoutDescriptionAndRegularIcon.with-blau-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.3 KB
(63%)
...ts/testInformativeWithoutDescriptionAndRegularIcon.with-movistar-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.3 KB
(62%)
...etTests/testInformativeWithoutDescriptionAndRegularIcon.with-movistar-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.3 KB
(62%)
...eetTests/testInformativeWithoutDescriptionAndRegularIcon.with-o2-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.4 KB
(61%)
...__/SheetTests/testInformativeWithoutDescriptionAndRegularIcon.with-o2-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.3 KB
(62%)
...tTests/testInformativeWithoutDescriptionAndRegularIcon.with-vivo-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.5 KB
(61%)
.../SheetTests/testInformativeWithoutDescriptionAndRegularIcon.with-vivo-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.3 KB
(62%)
...sts/testInformativeWithoutDescriptionAndRegularIcon.with-vivoNew-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-68.5 KB
(61%)
...eetTests/testInformativeWithoutDescriptionAndRegularIcon.with-vivoNew-style.png
Oops, something went wrong.
Binary file modified
BIN
-33.4 KB
(77%)
...eetTests/testInformativeWithoutDescriptionAndSmallIcon.with-blau-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-32.9 KB
(77%)
...__/SheetTests/testInformativeWithoutDescriptionAndSmallIcon.with-blau-style.png
Oops, something went wrong.
Binary file modified
BIN
-33.2 KB
(78%)
...ests/testInformativeWithoutDescriptionAndSmallIcon.with-movistar-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-32.8 KB
(77%)
...heetTests/testInformativeWithoutDescriptionAndSmallIcon.with-movistar-style.png
Oops, something went wrong.
Binary file modified
BIN
-33 KB
(77%)
...SheetTests/testInformativeWithoutDescriptionAndSmallIcon.with-o2-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-32.8 KB
(77%)
...ts__/SheetTests/testInformativeWithoutDescriptionAndSmallIcon.with-o2-style.png
Oops, something went wrong.
Binary file modified
BIN
-33 KB
(77%)
...eetTests/testInformativeWithoutDescriptionAndSmallIcon.with-vivo-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-32.9 KB
(77%)
...__/SheetTests/testInformativeWithoutDescriptionAndSmallIcon.with-vivo-style.png
Oops, something went wrong.
Binary file modified
BIN
-33 KB
(77%)
...Tests/testInformativeWithoutDescriptionAndSmallIcon.with-vivoNew-dark-style.png
Oops, something went wrong.
Binary file modified
BIN
-32.9 KB
(77%)
...SheetTests/testInformativeWithoutDescriptionAndSmallIcon.with-vivoNew-style.png
Oops, something went wrong.