updated notes

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
Matt Bruce 2023-06-08 15:40:55 -05:00
parent 3b264d2355
commit c1c57084cb
2 changed files with 11 additions and 5 deletions

View File

@ -9,17 +9,21 @@ import Foundation
import UIKit
import VDSColorTokens
/// Tabs are organizational components that group content and allow customers to navigate its display. Use them to separate content when the content is related but doesnt need to be compared.
@objc(VDSTabs)
open class Tabs: View {
//--------------------------------------------------
// MARK: - Enums
//--------------------------------------------------
/// Layout Axis of the Tabs
public enum Orientation: String, CaseIterable{
case vertical
case horizontal
}
/// Position for the Hover Border Accent for a Tab.
public enum IndicatorPosition: String, CaseIterable {
case top
case bottom
@ -33,11 +37,13 @@ open class Tabs: View {
}
}
//Type of behavior for Scrolling
public enum Overflow: String, CaseIterable {
case scroll
case none
}
/// Available size for tabs
public enum Size: String, CaseIterable {
case medium
case large
@ -94,8 +100,6 @@ open class Tabs: View {
///Model of the Tabs you are wanting to show.
open var tabModels: [TabModel] = [] { didSet { updateTabItems() } }
open var tabSpacing: CGFloat { tabStackView.spacing }
open var tabViews: [Tab] = []
//--------------------------------------------------
@ -265,7 +269,7 @@ open class Tabs: View {
tabItem.accessibilityLabel = "\(tabItem.text) \(tabItem.selected ? "selected" : "unselected") \(index+1) of \(tabViews.count)"
}
//update the width based on rules
updateWidth()
setNeedsLayout()

View File

@ -2,6 +2,8 @@
=======
- CXTDT-423133 - Tabs - Indicator should overlap Border
- CXTDT-423092 - Tabs - Top-aligned version should have line top also
- CXTDT-423141 - Tabs - Incorrect spacing on top-aligned Fill containe
- CXTDT-422872 - Text Link - spacing issue between text and underline
1.0.21
=======