From 559423f629110d992625fd294cbe3e9c95345933 Mon Sep 17 00:00:00 2001 From: Vasavi Kanamarlapudi Date: Thu, 18 Jul 2024 13:22:41 +0530 Subject: [PATCH] Digital ACT-191 ONEAPP-7013 story: removed unused file --- VDS.xcodeproj/project.pbxproj | 4 --- .../Carousel/CarouselRenderItemStyle.swift | 33 ------------------- 2 files changed, 37 deletions(-) delete mode 100644 VDS/Components/Carousel/CarouselRenderItemStyle.swift diff --git a/VDS.xcodeproj/project.pbxproj b/VDS.xcodeproj/project.pbxproj index 64ec60bb..e1bf1b05 100644 --- a/VDS.xcodeproj/project.pbxproj +++ b/VDS.xcodeproj/project.pbxproj @@ -8,7 +8,6 @@ /* Begin PBXBuildFile section */ 18013CED2C355BF900907F18 /* CarouselSlotItemModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18013CEC2C355BF900907F18 /* CarouselSlotItemModel.swift */; }; - 18013CEF2C355C5200907F18 /* CarouselRenderItemStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18013CEE2C355C5200907F18 /* CarouselRenderItemStyle.swift */; }; 1808BEBC2BA41C3200129230 /* CarouselScrollbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1808BEBB2BA41C3200129230 /* CarouselScrollbar.swift */; }; 1832AC572BA0791D008AE476 /* BreadcrumbCellItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1832AC562BA0791D008AE476 /* BreadcrumbCellItem.swift */; }; 1842B1DF2BECE28B0021AFCA /* CalendarDateViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1842B1DE2BECE28B0021AFCA /* CalendarDateViewCell.swift */; }; @@ -210,7 +209,6 @@ /* Begin PBXFileReference section */ 18013CEC2C355BF900907F18 /* CarouselSlotItemModel.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarouselSlotItemModel.swift; sourceTree = ""; }; - 18013CEE2C355C5200907F18 /* CarouselRenderItemStyle.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarouselRenderItemStyle.swift; sourceTree = ""; }; 1808BEBB2BA41C3200129230 /* CarouselScrollbar.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CarouselScrollbar.swift; sourceTree = ""; }; 1808BEBF2BA456B700129230 /* CarouselScrollbarChangeLog.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = CarouselScrollbarChangeLog.txt; sourceTree = ""; }; 1832AC562BA0791D008AE476 /* BreadcrumbCellItem.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = BreadcrumbCellItem.swift; sourceTree = ""; }; @@ -505,7 +503,6 @@ 18B9763E2C11BA4A009271DF /* CarouselPaginationModel.swift */, 18B42AC52C09D197008D6262 /* CarouselSlotAlignmentModel.swift */, 18013CEC2C355BF900907F18 /* CarouselSlotItemModel.swift */, - 18013CEE2C355C5200907F18 /* CarouselRenderItemStyle.swift */, 18AE87532C06FE610075F181 /* CarouselChangeLog.txt */, ); path = Carousel; @@ -1367,7 +1364,6 @@ EAC71A1D2A2E155A00E47A9F /* Checkbox.swift in Sources */, EAF7F0AB289B13FD00B287F5 /* TextStyleLabelAttribute.swift in Sources */, 18AE87502C06FDA60075F181 /* Carousel.swift in Sources */, - 18013CEF2C355C5200907F18 /* CarouselRenderItemStyle.swift in Sources */, EAB1D29C28A5618900DAE764 /* RadioButtonGroup.swift in Sources */, EA81410B2A0E8E3C004F60D2 /* ButtonIcon.swift in Sources */, EA985BE629688F6A00F2FF2E /* TileletBadgeModel.swift in Sources */, diff --git a/VDS/Components/Carousel/CarouselRenderItemStyle.swift b/VDS/Components/Carousel/CarouselRenderItemStyle.swift deleted file mode 100644 index c447dfa1..00000000 --- a/VDS/Components/Carousel/CarouselRenderItemStyle.swift +++ /dev/null @@ -1,33 +0,0 @@ -// -// CarouselRenderItemStyle.swift -// VDS -// -// Created by Kanamarlapudi, Vasavi on 30/06/24. -// - -import Foundation -import UIKit -import VDSCoreTokens - -/// A custom data type that holds the style props if provided any. -public struct CarouselRenderItemStyle { - - /// BackgroundColor for slot - public let backgroundColor: String? - - /// Height for slot - public var height: CGFloat? - - /// BorderRadius for slot - public var borderRadius: CGFloat? - - /// Width for slot - public var width: CGFloat? - - public init(backgroundColor: String?, height: CGFloat?, width: CGFloat?, borderRadius: CGFloat?) { - self.backgroundColor = backgroundColor - self.height = height - self.borderRadius = borderRadius ?? 12.0 - self.width = width - } -}