diff --git a/VDS.xcodeproj/project.pbxproj b/VDS.xcodeproj/project.pbxproj index 9728129c..2a44d3da 100644 --- a/VDS.xcodeproj/project.pbxproj +++ b/VDS.xcodeproj/project.pbxproj @@ -1377,7 +1377,7 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 58; + CURRENT_PROJECT_VERSION = 59; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; @@ -1414,7 +1414,7 @@ BUILD_LIBRARY_FOR_DISTRIBUTION = YES; CODE_SIGN_IDENTITY = ""; CODE_SIGN_STYLE = Automatic; - CURRENT_PROJECT_VERSION = 58; + CURRENT_PROJECT_VERSION = 59; DEFINES_MODULE = YES; DEVELOPMENT_TEAM = ""; DYLIB_COMPATIBILITY_VERSION = 1; diff --git a/VDS.xcodeproj/xcshareddata/xcschemes/VDS.xcscheme b/VDS.xcodeproj/xcshareddata/xcschemes/VDS.xcscheme new file mode 100644 index 00000000..470df395 --- /dev/null +++ b/VDS.xcodeproj/xcshareddata/xcschemes/VDS.xcscheme @@ -0,0 +1,67 @@ + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/VDS/Components/TileContainer/TileContainer.swift b/VDS/Components/TileContainer/TileContainer.swift index 248093e2..61b91eaf 100644 --- a/VDS/Components/TileContainer/TileContainer.swift +++ b/VDS/Components/TileContainer/TileContainer.swift @@ -14,7 +14,7 @@ open class TileContainer: TileContainerBase { /// Enum used to describe the padding choices used for this component. public enum Padding: DefaultValuing { - case padding2X + case padding3X case padding4X case padding6X case padding8X @@ -25,8 +25,8 @@ open class TileContainer: TileContainerBase { public var value: CGFloat { switch self { - case .padding2X: - return VDSLayout.space2X + case .padding3X: + return VDSLayout.space3X case .padding4X: return VDSLayout.space4X case .padding6X: @@ -239,12 +239,12 @@ open class TileContainerBase: Control where Padding heightConstraint = layoutGuide.heightAnchor.constraint(equalToConstant: 0) - backgroundImageView - .pinTop(layoutGuide.topAnchor) - .pinLeading(layoutGuide.leadingAnchor) - .pinTrailing(layoutGuide.trailingAnchor) - .pinBottom(layoutGuide.bottomAnchor, 0, .defaultLow) + backgroundImageView.pinToSuperView() + backgroundImageView.setContentHuggingPriority(.defaultLow, for: .horizontal) + backgroundImageView.setContentHuggingPriority(.defaultLow, for: .vertical) + backgroundImageView.setContentCompressionResistancePriority(.defaultLow, for: .horizontal) + backgroundImageView.setContentCompressionResistancePriority(.defaultLow, for: .vertical) backgroundImageView.isUserInteractionEnabled = false backgroundImageView.isHidden = true @@ -286,15 +286,6 @@ open class TileContainerBase: Control where Padding highlightView.backgroundColor = hightLightViewColorConfiguration.getColor(self) highlightView.isHidden = !isHighlighted - if let backgroundImage { - backgroundImageView.image = backgroundImage - backgroundImageView.isHidden = false - backgroundColor = imageFallbackColorConfiguration.getColor(self) - } else { - backgroundImageView.isHidden = true - backgroundColor = backgroundColorConfiguration.getColor(self) - } - layer.borderColor = borderColorConfiguration.getColor(self).cgColor layer.borderWidth = showBorder ? VDSFormControls.borderWidth : 0 diff --git a/VDS/SupportingFiles/ReleaseNotes.txt b/VDS/SupportingFiles/ReleaseNotes.txt index 62650dfc..6f3c0804 100644 --- a/VDS/SupportingFiles/ReleaseNotes.txt +++ b/VDS/SupportingFiles/ReleaseNotes.txt @@ -1,6 +1,10 @@ 1.0.59 ---------------- +- ONEAPP-7135 - DropdownSelect - Finished Development - CXTDT-540077 - BadgeIndicator Font +- CXTDT-544383 - TileContainer - Removed spacing2x and replaced with spacing3x +- CXTDT-544384 - TileContainer - BackgroundImage strecthing screen +- CXTDT-546824 - Notification - Accessibility - Improper label for close notification button & icon 1.0.58 ----------------