Commit Graph

481 Commits

Author SHA1 Message Date
Matt Bruce
fd8e68f1c3 refactored spacing algos since we are now not resizing rectangle heights based off of the tallest container in the row
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-15 11:48:14 -06:00
Matt Bruce
81f7341148 refactored to remove height now the a hit area exists
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-15 11:47:08 -06:00
Matt Bruce
1e44d9738d added hitArea
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-15 11:46:35 -06:00
Matt Bruce
627dc99c42 allowed color param
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-15 11:46:25 -06:00
Matt Bruce
db9c86b43f removed comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-13 12:12:15 -05:00
Matt Bruce
62befe1a32 added percentage to button group
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-13 11:14:40 -05:00
Matt Bruce
ae6c380627 removed old code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 19:34:04 -06:00
Matt Bruce
84ccbac762 removed prints
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 18:15:16 -06:00
Matt Bruce
0842998c97 fixed logic in showError/showSuccess
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 18:10:52 -06:00
Matt Bruce
bc4f0e8915 added selected,highlighted
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 18:06:11 -06:00
Matt Bruce
5b754502da updated checkbox logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 17:59:40 -06:00
Matt Bruce
139d8fbce9 added success
updated config

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 17:59:31 -06:00
Matt Bruce
4393a87283 removed duplicates for states
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 17:59:05 -06:00
Matt Bruce
11416b5343 override getColor for state
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 17:56:49 -06:00
Matt Bruce
66c39fb701 updated RadioSwatch to new color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 15:18:54 -06:00
Matt Bruce
3825488d0e refactored vars
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 15:18:41 -06:00
Matt Bruce
1ba50e9d64 updated border width for highlighted
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 14:10:41 -06:00
Matt Bruce
081e60ddba refactored to use color configuartion and remove tap gesture
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 13:54:32 -06:00
Matt Bruce
1791718c75 refactored to match classes for textColorConfiguration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 13:26:32 -06:00
Matt Bruce
338f70ae2b reactored textLInk to color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 13:23:51 -06:00
Matt Bruce
431ea81ad9 refactored button
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 13:20:58 -06:00
Matt Bruce
9fcff48752 updated label to new color states
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:48:51 -06:00
Matt Bruce
77f957b23f refacored checkbox to new color states
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:48:35 -06:00
Matt Bruce
4ac73e3d38 refactored radioButton to new color states
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:48:24 -06:00
Matt Bruce
b1cf47154e added configurations
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:47:49 -06:00
Matt Bruce
1146006ca6 updated badge
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:47:40 -06:00
Matt Bruce
e027b05046 added state overrides
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:47:19 -06:00
Matt Bruce
312dd949b5 added success to UIControl.State
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:46:51 -06:00
Matt Bruce
d02794e369 added UIControl extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 11:03:33 -06:00
Matt Bruce
89b200c005 added highlight
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 11:03:13 -06:00
Matt Bruce
bd96705b4e fixed bug in toggle being out of sync with isSelected
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-07 13:47:07 -06:00
Matt Bruce
edcaadf274 enforced animation back from highlight
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-06 15:58:05 -06:00
Matt Bruce
7da9e33f9d remveod cell
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-06 11:04:39 -06:00
Matt Bruce
de9b57362c added animation block for updateview
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-06 11:04:28 -06:00
Matt Bruce
bffd7f8dd9 removed double line height
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-06 09:18:06 -06:00
Matt Bruce
9387b0cff9 refactored to debugBorder
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 13:47:01 -06:00
Matt Bruce
178df4ed0a more constants
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 13:29:58 -06:00
Matt Bruce
91b0b4415c updated button to deal with width for cells
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 13:29:47 -06:00
Matt Bruce
b67cda26f1 Revert "removed anything manually setting height"
This reverts commit d08cce4800.

# Conflicts:
#	VDS/Components/Buttons/TextLink/TextLink.swift
#	VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 13:29:31 -06:00
Matt Bruce
5567c1174a removed ui button default padding around UILabel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 10:07:37 -06:00
Matt Bruce
482ebc18a8 in a row make everything the same height of the max height
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 09:53:26 -06:00
Matt Bruce
d08cce4800 removed anything manually setting height
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 09:53:08 -06:00
Matt Bruce
5291de36bc refactored code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-02 09:18:06 -06:00
Matt Bruce
e3d2ca8ff2 refactored button group position layout
added in rowQuantity

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-01 15:15:21 -06:00
Matt Bruce
1257112c06 moved out methods to constants
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-01 13:53:38 -06:00
Matt Bruce
2050896483 removed print
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-01 12:03:41 -06:00
Matt Bruce
6880d25f2b Merge branch 'feature/buttonGroupUpdate' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/textLink
# Conflicts:
#	VDS/Components/Buttons/TextLink/TextLink.swift
#	VDS/Components/Buttons/TextLinkCaret/TextLinkCaret.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-01 11:59:39 -06:00
Matt Bruce
718acd90c5 updated for better spacing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-01 11:34:51 -06:00
Matt Bruce
aacc2ca760 added property to help with instrinsic size
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-01 11:34:24 -06:00
Matt Bruce
5445445136 added documentation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-28 14:29:09 -06:00
Matt Bruce
ca5d67cea2 refactored BaseButton to ButtonBase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-28 14:28:53 -06:00
Matt Bruce
1a45cfa6c1 refactored the 3 buttons to use basebutton
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-22 13:08:07 -06:00
Matt Bruce
372dd0cfd0 added isHighlighted
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-22 13:07:47 -06:00
Matt Bruce
17eab88549 allow subclass
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-22 13:07:37 -06:00
Matt Bruce
cb2d8145a2 created basebutton
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-22 13:07:27 -06:00
Bruce, Matt R
a4a560ecd7 Merge branch 'feature/textLink' into 'develop'
corner radius back

See merge request BPHV_MIPS/vds_ios!16
2022-11-21 21:06:53 +00:00
Matt Bruce
dd6fddbcf4 fixed layout bugs in console
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-21 12:45:52 -06:00
Matt Bruce
25ce087977 added @obc for collision
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-21 12:04:50 -06:00
Matt Bruce
a19979abd8 corner radius back
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 15:40:30 -06:00
Matt Bruce
2343b57e67 fixed bugs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 14:24:47 -06:00
Matt Bruce
c73c3496fc reverted code back to pin to parent
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 12:58:04 -06:00
Matt Bruce
c4f9820686 moved to public
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:19:54 -06:00
Matt Bruce
e961315042 updated to use new selfsizing collectionview
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:18:38 -06:00
Matt Bruce
5684104913 updated to use extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:16:19 -06:00
Matt Bruce
7340ee7363 refactored out collectionview
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:16:05 -06:00
Matt Bruce
8cd5cd55e6 updated buttongroup for position
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:14:56 -06:00
Matt Bruce
deb21d8916 enforced to anyobject for reference type
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:02:54 -06:00
Matt Bruce
f255f9fd21 updated naming to new class
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:02:38 -06:00
Matt Bruce
6f2d754015 updated to instrinsic sizes and buttonable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:02:27 -06:00
Matt Bruce
0b63f5abea updated with internal wrapper view so the object won't stretch and mess up alignments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:02:07 -06:00
Matt Bruce
8a85e67681 updated backgroundcolor to clear
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:01:28 -06:00
Matt Bruce
0f1627ca6f added button group
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:01:00 -06:00
Matt Bruce
d7f067ef8f refactored name of FontLabelAttribute/added UIView extension for anchors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-17 14:31:45 -06:00
Matt Bruce
a5cd93b71c Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/textLink 2022-11-15 10:39:33 -06:00
Matt Bruce
aba977dd77 fixed bug of accidental removal
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-15 10:12:42 -06:00
Matt Bruce
00f1418e69 updated controls for reset()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-15 10:10:04 -06:00
Matt Bruce
9b75fd4edc ensure resets are working
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 18:25:07 -06:00
Matt Bruce
ed07680965 refactored private var names
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 15:17:39 -06:00
Matt Bruce
d988503af0 Merge branch 'develop' into feature/unify_checkbox 2022-11-10 15:10:57 -06:00
Matt Bruce
19a7ba5627 updated defaults into initializers
update all initializers to look the same

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 15:10:18 -06:00
Matt Bruce
92c8c1073f refactored radiobox/radiobutton to have attributedText override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:51:41 -06:00
Matt Bruce
7f0da47036 added the logic for a attributedText
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:44:42 -06:00
Matt Bruce
c150f1552b added escape hatch for using a user set attributedText directly to the label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:44:13 -06:00
Matt Bruce
0b73207bd6 update to look for a font with a found style to use our FontLabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:43:40 -06:00
Matt Bruce
e46017f315 updated FontLabelAttribute for Kerning/line spacing/ line height
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:43:02 -06:00
Matt Bruce
64d9ca3777 only return a font if a style is found
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:42:29 -06:00
Matt Bruce
69ad6e9fb1 added constraints for veritcal
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:30:04 -06:00
Matt Bruce
f9c8e328cf refactored to use AnyLabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:26:38 -06:00
Matt Bruce
eb48d8a807 include isForeground
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:26:14 -06:00
Matt Bruce
cd94bfde67 added AnylabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:25:32 -06:00
Scott Pfeil
42d3fc5c9a Adding dummy test code. 2022-11-10 09:44:38 -05:00
Matt Bruce
94cfd315a7 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/textLink 2022-11-09 11:08:39 -06:00
Matt Bruce
9d95a2c1ce fixed issue with drawing layer
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-09 07:09:20 -06:00
Matt Bruce
80f76a6a33 fixed bug in strikethrough
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-09 07:07:34 -06:00
Matt Bruce
23946a254e updated var to remove warning
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-08 15:09:07 -06:00
Matt Bruce
b95af61bdc renamed method since it was failing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-08 15:08:58 -06:00
Scott Pfeil
9708a54892 Merge branch 'bugfix/objc_name_collision' into feature/unify_checkbox 2022-11-07 10:11:03 -05:00
Scott Pfeil
1db0660023 fix for name collision 2022-11-07 10:09:55 -05:00
Scott Pfeil
8330c0ff6e Merge branch 'develop' into feature/unify_checkbox 2022-11-03 16:06:58 -04:00
Matt Bruce
1fa97266c7 updated tint color
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-03 10:47:09 -05:00