Merge branch 'bugfix/carouselPaginationCaret' into 'develop'

Pagination caret size and horizontal offset

See merge request BPHV_MIPS/vds_ios!296
This commit is contained in:
Bruce, Matt R 2024-08-27 14:09:20 +00:00
commit 47747c801e
2 changed files with 5 additions and 4 deletions

View File

@ -162,19 +162,19 @@ open class Carousel: View {
/// Previous button to show previous slide. /// Previous button to show previous slide.
private var previousButton = ButtonIcon().with { private var previousButton = ButtonIcon().with {
$0.kind = .lowContrast $0.kind = .lowContrast
$0.iconName = .leftCaret $0.iconName = .paginationLeftCaret
$0.iconOffset = .init(x: -2, y: 0) $0.iconOffset = .init(x: -2, y: 0)
$0.customContainerSize = UIDevice.isIPad ? 40 : 28 $0.customContainerSize = UIDevice.isIPad ? 40 : 28
$0.icon.customSize = UIDevice.isIPad ? 16 : 12 $0.customIconSize = UIDevice.isIPad ? 16 : 12
} }
/// Next button to show next slide. /// Next button to show next slide.
private var nextButton = ButtonIcon().with { private var nextButton = ButtonIcon().with {
$0.kind = .lowContrast $0.kind = .lowContrast
$0.iconName = .rightCaret $0.iconName = .paginationRightCaret
$0.iconOffset = .init(x: 2, y: 0) $0.iconOffset = .init(x: 2, y: 0)
$0.customContainerSize = UIDevice.isIPad ? 40 : 28 $0.customContainerSize = UIDevice.isIPad ? 40 : 28
$0.icon.customSize = UIDevice.isIPad ? 16 : 12 $0.customIconSize = UIDevice.isIPad ? 16 : 12
} }
/// A publisher for when moving the carousel. Passes parameters selectedGroupIndex (position). /// A publisher for when moving the carousel. Passes parameters selectedGroupIndex (position).

View File

@ -3,6 +3,7 @@
- CXTDT-597984 - Table - Text wrap - CXTDT-597984 - Table - Text wrap
- CXTDT-586372 - Table - Stripes defect - CXTDT-586372 - Table - Stripes defect
- CXTDT-586383 - Table - Line style - CXTDT-586383 - Table - Line style
- CXTDT-603719 - Carousel - Pagination caret icon
1.0.72 1.0.72
---------------- ----------------