refactored to use the 1 VDSTokens framework

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2024-01-23 10:11:55 -06:00
parent e5c155aab5
commit fa89b414b6
32 changed files with 39 additions and 50 deletions

View File

@ -39,6 +39,8 @@
EA0D1C312A673F3500E5C127 /* RadioButtonViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA0D1C302A673F3500E5C127 /* RadioButtonViewController.swift */; };
EA0D1C332A673FD400E5C127 /* RadioButtonItemViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA0D1C322A673FD400E5C127 /* RadioButtonItemViewController.swift */; };
EA0FC2C12912DC5500DF80B4 /* TextLinkCaretViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA0FC2C02912DC5500DF80B4 /* TextLinkCaretViewController.swift */; };
EA21C5D82B600E4200CFC139 /* VDSTokens.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EA21C5D72B600E4200CFC139 /* VDSTokens.xcframework */; };
EA21C5D92B600E4200CFC139 /* VDSTokens.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = EA21C5D72B600E4200CFC139 /* VDSTokens.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
EA297A682A02F5320031ED56 /* TableViewTestController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA297A672A02F5320031ED56 /* TableViewTestController.swift */; };
EA3C3B9D289966EF000CA526 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA3C3B9C289966EF000CA526 /* AppDelegate.swift */; };
EA3C3B9F289966EF000CA526 /* SceneDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA3C3B9E289966EF000CA526 /* SceneDelegate.swift */; };
@ -91,12 +93,6 @@
EAF7F0CC289DA24F00B287F5 /* DownloadArtifactoryItems.sh in Resources */ = {isa = PBXBuildFile; fileRef = EAF7F0C8289DA24F00B287F5 /* DownloadArtifactoryItems.sh */; };
EAF7F0CD289DA24F00B287F5 /* Artifactory.sh in Resources */ = {isa = PBXBuildFile; fileRef = EAF7F0C9289DA24F00B287F5 /* Artifactory.sh */; };
EAF7F11A28A14A0E00B287F5 /* RadioButtonGroupViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAF7F11928A14A0E00B287F5 /* RadioButtonGroupViewController.swift */; };
EAF7F11B28A1585000B287F5 /* VDSTypographyTokens.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAF7F0DA289DB0B400B287F5 /* VDSTypographyTokens.xcframework */; };
EAF7F11C28A1585000B287F5 /* VDSTypographyTokens.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = EAF7F0DA289DB0B400B287F5 /* VDSTypographyTokens.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
EAF7F11D28A1585000B287F5 /* VDSFormControlsTokens.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAF7F0DB289DB0B400B287F5 /* VDSFormControlsTokens.xcframework */; };
EAF7F11E28A1585000B287F5 /* VDSFormControlsTokens.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = EAF7F0DB289DB0B400B287F5 /* VDSFormControlsTokens.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
EAF7F12328A1585000B287F5 /* VDSColorTokens.xcframework in Frameworks */ = {isa = PBXBuildFile; fileRef = EAF7F0DC289DB0B400B287F5 /* VDSColorTokens.xcframework */; };
EAF7F12428A1585000B287F5 /* VDSColorTokens.xcframework in Embed Frameworks */ = {isa = PBXBuildFile; fileRef = EAF7F0DC289DB0B400B287F5 /* VDSColorTokens.xcframework */; settings = {ATTRIBUTES = (CodeSignOnCopy, RemoveHeadersOnCopy, ); }; };
/* End PBXBuildFile section */
/* Begin PBXCopyFilesBuildPhase section */
@ -106,10 +102,8 @@
dstPath = "";
dstSubfolderSpec = 10;
files = (
EAF7F11E28A1585000B287F5 /* VDSFormControlsTokens.xcframework in Embed Frameworks */,
EAF7F12428A1585000B287F5 /* VDSColorTokens.xcframework in Embed Frameworks */,
EA978EC3291AC62200ACC883 /* VDS.framework in Embed Frameworks */,
EAF7F11C28A1585000B287F5 /* VDSTypographyTokens.xcframework in Embed Frameworks */,
EA21C5D92B600E4200CFC139 /* VDSTokens.xcframework in Embed Frameworks */,
);
name = "Embed Frameworks";
runOnlyForDeploymentPostprocessing = 0;
@ -134,6 +128,7 @@
EA0D1C302A673F3500E5C127 /* RadioButtonViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RadioButtonViewController.swift; sourceTree = "<group>"; };
EA0D1C322A673FD400E5C127 /* RadioButtonItemViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RadioButtonItemViewController.swift; sourceTree = "<group>"; };
EA0FC2C02912DC5500DF80B4 /* TextLinkCaretViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TextLinkCaretViewController.swift; sourceTree = "<group>"; };
EA21C5D72B600E4200CFC139 /* VDSTokens.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = VDSTokens.xcframework; path = SharedFrameworks/VDSTokens.xcframework; sourceTree = "<group>"; };
EA297A672A02F5320031ED56 /* TableViewTestController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = TableViewTestController.swift; sourceTree = "<group>"; };
EA3C3B99289966EF000CA526 /* VDSSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VDSSample.app; sourceTree = BUILT_PRODUCTS_DIR; };
EA3C3B9C289966EF000CA526 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
@ -186,9 +181,6 @@
EAF7F0C5289DA24F00B287F5 /* ArtifactoryItems.txt */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = ArtifactoryItems.txt; sourceTree = "<group>"; };
EAF7F0C8289DA24F00B287F5 /* DownloadArtifactoryItems.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = DownloadArtifactoryItems.sh; sourceTree = "<group>"; };
EAF7F0C9289DA24F00B287F5 /* Artifactory.sh */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.script.sh; path = Artifactory.sh; sourceTree = "<group>"; };
EAF7F0DA289DB0B400B287F5 /* VDSTypographyTokens.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = VDSTypographyTokens.xcframework; path = SharedFrameworks/VDSTypographyTokens.xcframework; sourceTree = "<group>"; };
EAF7F0DB289DB0B400B287F5 /* VDSFormControlsTokens.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = VDSFormControlsTokens.xcframework; path = SharedFrameworks/VDSFormControlsTokens.xcframework; sourceTree = "<group>"; };
EAF7F0DC289DB0B400B287F5 /* VDSColorTokens.xcframework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.xcframework; name = VDSColorTokens.xcframework; path = SharedFrameworks/VDSColorTokens.xcframework; sourceTree = "<group>"; };
EAF7F11928A14A0E00B287F5 /* RadioButtonGroupViewController.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = RadioButtonGroupViewController.swift; sourceTree = "<group>"; };
/* End PBXFileReference section */
@ -197,10 +189,8 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
EAF7F11D28A1585000B287F5 /* VDSFormControlsTokens.xcframework in Frameworks */,
EAF7F12328A1585000B287F5 /* VDSColorTokens.xcframework in Frameworks */,
EA978EC2291AC62200ACC883 /* VDS.framework in Frameworks */,
EAF7F11B28A1585000B287F5 /* VDSTypographyTokens.xcframework in Frameworks */,
EA21C5D82B600E4200CFC139 /* VDSTokens.xcframework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
};
@ -242,10 +232,8 @@
EA3C3BB8289968A0000CA526 /* Frameworks */ = {
isa = PBXGroup;
children = (
EA21C5D72B600E4200CFC139 /* VDSTokens.xcframework */,
EA978EC1291AC62200ACC883 /* VDS.framework */,
EAF7F0DC289DB0B400B287F5 /* VDSColorTokens.xcframework */,
EAF7F0DB289DB0B400B287F5 /* VDSFormControlsTokens.xcframework */,
EAF7F0DA289DB0B400B287F5 /* VDSTypographyTokens.xcframework */,
);
name = Frameworks;
sourceTree = "<group>";

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSFormControlsTokens
import VDSTokens
import Combine
open class TextField: UITextField {
@ -47,14 +47,14 @@ open class TextField: UITextField {
public override func textRect(forBounds bounds: CGRect) -> CGRect {
layer.borderColor = UIColor.black.cgColor
layer.borderWidth = VDSFormControls.widthBorder
layer.borderWidth = VDSFormControls.borderWidth
let rect = super.textRect(forBounds: bounds)
return rect.inset(by: textPadding)
}
public override func editingRect(forBounds bounds: CGRect) -> CGRect {
layer.borderColor = UIColor.black.cgColor
layer.borderWidth = VDSFormControls.widthBorder
layer.borderWidth = VDSFormControls.borderWidth
let rect = super.editingRect(forBounds: bounds)
return rect.inset(by: textPadding)
}

View File

@ -1,3 +1,4 @@
${PROJECT_DIR}/SharedFrameworks/VDSTypographyTokens.xcframework GVJV_VDS_Maven/@vds-tokens/ios/VDSTypographyTokens.2.0.0.xcframework.zip
${PROJECT_DIR}/SharedFrameworks/VDSColorTokens.xcframework GVJV_VDS_Maven/%40vds-tokens/ios/VDSColorTokens.2.0.0.xcframework.zip
${PROJECT_DIR}/SharedFrameworks/VDSFormControlsTokens.xcframework GVJV_VDS_Maven/@vds-tokens/ios/VDSFormControlsTokens.1.0.7.xcframework.zip
${PROJECT_DIR}/SharedFrameworks/VDSTokens.xcframework GVJV_VDS_Maven/@vds-tokens/ios/VDSTokens.1.0.1-alpha.0.xcframework.zip

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class BadgeIndicatorViewController: BaseViewController<BadgeIndicator> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class BadgeViewController: BaseViewController<Badge> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class ButtonGroupViewController: BaseViewController<ButtonGroup> {
var collectionView: UICollectionView!

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
import VDS
import Combine
import VDSColorTokens
import VDSTokens
class ButtonIconViewController: BaseViewController<ButtonIcon> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class ButtonViewController: BaseViewController<Button> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class CheckboxGroupViewController: BaseViewController<CheckboxGroup> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class CheckboxItemViewController: BaseViewController<CheckboxItem> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class CheckboxViewController: BaseViewController<Checkbox> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class DropShadowViewController: BaseViewController<ShadowView> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class IconViewController: BaseViewController<Icon> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class InputFieldViewController: BaseViewController<InputField> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class LabelViewController: BaseViewController<Label> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
struct MenuComponent {
var title: String

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class RadioBoxGroupViewController: BaseViewController<RadioBoxGroup>{

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class RadioButtonGroupViewController: BaseViewController<RadioButtonGroup> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class RadioButtonItemViewController: BaseViewController<RadioButtonItem> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class RadioButtonViewController: BaseViewController<RadioButton> {

View File

@ -7,7 +7,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
public typealias ComponentSampleView = UIView & Surfaceable

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
import VDS
import Combine
import VDSColorTokens
import VDSTokens

View File

@ -9,7 +9,7 @@ import Foundation
import UIKit
import VDS
import Combine
import VDSColorTokens
import VDSTokens
class TabsViewController: BaseViewController<Tabs> {

View File

@ -9,7 +9,7 @@ import Foundation
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class TextAreaViewController: BaseViewController<TextArea> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class TextLinkCaretViewController: BaseViewController<TextLinkCaret> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class TextLinkViewController: BaseViewController<TextLink> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class TileContainerViewController: BaseViewController<TileContainer> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class TileletViewController: BaseViewController<Tilelet> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class TitleLockupViewController: BaseViewController<TitleLockup> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class ToggleViewController: BaseViewController<Toggle> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
import Combine
class TooltipViewController: BaseViewController<Tooltip> {

View File

@ -8,7 +8,7 @@
import Foundation
import UIKit
import VDS
import VDSColorTokens
import VDSTokens
class TrailingTooltipLabelViewController: BaseViewController<TrailingTooltipLabel> {