added changelog
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
This commit is contained in:
parent
31b893042c
commit
1c5273155d
@ -151,6 +151,7 @@
|
||||
EAC58C162BED0E0300BA39FA /* InlineAction.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAC58C152BED0E0300BA39FA /* InlineAction.swift */; };
|
||||
EAC58C182BED0E2300BA39FA /* SecurityCode.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAC58C172BED0E2300BA39FA /* SecurityCode.swift */; };
|
||||
EAC58C232BF2824200BA39FA /* DatePicker.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAC58C222BF2824200BA39FA /* DatePicker.swift */; };
|
||||
EAC58C252BF2A7FB00BA39FA /* DatePickerChangeLog.txt in Resources */ = {isa = PBXBuildFile; fileRef = EAC58C242BF2A7FB00BA39FA /* DatePickerChangeLog.txt */; };
|
||||
EAC71A1D2A2E155A00E47A9F /* Checkbox.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAC71A1C2A2E155A00E47A9F /* Checkbox.swift */; };
|
||||
EAC71A1F2A2E173D00E47A9F /* RadioButton.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAC71A1E2A2E173D00E47A9F /* RadioButton.swift */; };
|
||||
EAC846F3294B95CE00F685BA /* ButtonGroupCollectionViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAC846F2294B95CE00F685BA /* ButtonGroupCollectionViewCell.swift */; };
|
||||
@ -357,6 +358,7 @@
|
||||
EAC58C152BED0E0300BA39FA /* InlineAction.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = InlineAction.swift; sourceTree = "<group>"; };
|
||||
EAC58C172BED0E2300BA39FA /* SecurityCode.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = SecurityCode.swift; sourceTree = "<group>"; };
|
||||
EAC58C222BF2824200BA39FA /* DatePicker.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DatePicker.swift; sourceTree = "<group>"; };
|
||||
EAC58C242BF2A7FB00BA39FA /* DatePickerChangeLog.txt */ = {isa = PBXFileReference; lastKnownFileType = text; path = DatePickerChangeLog.txt; sourceTree = "<group>"; };
|
||||
EAC71A1C2A2E155A00E47A9F /* Checkbox.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Checkbox.swift; sourceTree = "<group>"; };
|
||||
EAC71A1E2A2E173D00E47A9F /* RadioButton.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = RadioButton.swift; sourceTree = "<group>"; };
|
||||
EAC846F2294B95CE00F685BA /* ButtonGroupCollectionViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ButtonGroupCollectionViewCell.swift; sourceTree = "<group>"; };
|
||||
@ -916,6 +918,7 @@
|
||||
isa = PBXGroup;
|
||||
children = (
|
||||
EAC58C222BF2824200BA39FA /* DatePicker.swift */,
|
||||
EAC58C242BF2A7FB00BA39FA /* DatePickerChangeLog.txt */,
|
||||
);
|
||||
path = DatePicker;
|
||||
sourceTree = "<group>";
|
||||
@ -1136,6 +1139,7 @@
|
||||
186D13CF2BBC36EF00986B53 /* DropdownSelectChangeLog.txt in Resources */,
|
||||
EAEEEC9C2B1F8F0700531FC2 /* TextLinkCaretChangeLog.txt in Resources */,
|
||||
EAA5EEE428F5B855003B3210 /* VerizonNHGDS-Light.otf in Resources */,
|
||||
EAC58C252BF2A7FB00BA39FA /* DatePickerChangeLog.txt in Resources */,
|
||||
71B5FCBB2B95A0CA00269BCC /* PaginationChangeLog.txt in Resources */,
|
||||
EAEEECAD2B1FC1A600531FC2 /* TitleLockupChangeLog.txt in Resources */,
|
||||
EAEEECAB2B1FBF2A00531FC2 /* ToggleChangeLog.txt in Resources */,
|
||||
|
||||
@ -64,7 +64,7 @@ open class DatePicker: EntryFieldBase, DatePickerPopoverViewControllerDelegate,
|
||||
$0.lineBreakMode = .byCharWrapping
|
||||
}
|
||||
|
||||
public enum DateFormat: String, CaseIterable {
|
||||
public enum DateFormat: String, CaseIterable, CustomStringConvertible {
|
||||
case shortNumeric
|
||||
case longAlphabetic
|
||||
case mediumNumeric
|
||||
@ -78,6 +78,10 @@ open class DatePicker: EntryFieldBase, DatePickerPopoverViewControllerDelegate,
|
||||
case .consiseNumeric: "M/d/yyyy"
|
||||
}
|
||||
}
|
||||
|
||||
public var description: String {
|
||||
return format
|
||||
}
|
||||
}
|
||||
|
||||
open var dateFormat: DateFormat = .shortNumeric { didSet{ setNeedsUpdate() } }
|
||||
|
||||
48
VDS/Components/DatePicker/DatePickerChangeLog.txt
Normal file
48
VDS/Components/DatePicker/DatePickerChangeLog.txt
Normal file
@ -0,0 +1,48 @@
|
||||
MM/DD/YYYY
|
||||
----------------
|
||||
Initial Brand 3.0 handoff
|
||||
|
||||
01/06/2021
|
||||
----------------
|
||||
Removed Max Width, Increased Min width.
|
||||
Updated the tokens with FormControl tokens
|
||||
|
||||
02/24/2022
|
||||
----------------
|
||||
Replaced Calendar, Info, Error, Caret Left, and Caret Right Non-Scaling icons with VDS Icon.
|
||||
|
||||
06/22/2022
|
||||
----------------
|
||||
Updated Calendar instances with new Calendar (with Indicators)
|
||||
|
||||
07/27/2022
|
||||
----------------
|
||||
Updated Calendar Date Picker Configurations to include Background Transparent Boolean.
|
||||
Moved Default Selection Date, Always opened and Date formats to configurartions page.
|
||||
|
||||
08/04/2022
|
||||
----------------
|
||||
Updated default and inverted prop to light and dark surface.
|
||||
|
||||
09/09/2022
|
||||
----------------
|
||||
Added missing helper text from disabled state visuals.
|
||||
|
||||
12/13/2022
|
||||
----------------
|
||||
Updated supported date formats
|
||||
Added "(web only)" to any instance of "keyboard focus"
|
||||
Replaced form border and focus border pixel values, styles & spacing with tokens.
|
||||
|
||||
01/20/2023
|
||||
----------------
|
||||
Updated Specs to use new SPEC Templates and SPEC DOC Components.
|
||||
Tweaked written out date format so Mo becomes Mon
|
||||
|
||||
04/12/2023
|
||||
----------------
|
||||
Updated hex colors for updated feedback tokens in error states.
|
||||
|
||||
02/08/2024
|
||||
----------------
|
||||
Added Calendar position section to Behaviors.
|
||||
Loading…
Reference in New Issue
Block a user