Commit Graph

168 Commits

Author SHA1 Message Date
Matt Bruce
b0f8fbc864 refactored button group
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 15:24:07 -05:00
Matt Bruce
d84ccbb5c2 refactored naming conventions and merged percentage and width into an enum
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 15:14:35 -05:00
Matt Bruce
5756b299e0 refactored naming convention
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 15:14:05 -05:00
Matt Bruce
7fc4d1b2b2 more comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 12:01:42 -05:00
Matt Bruce
2b1234afc8 more comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 11:07:47 -05:00
Matt Bruce
da1434fdfd added documentaion comments.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 10:28:53 -05:00
Matt Bruce
52b08b88c9 Merge branch 'refactor/enabling' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into refactor/enabling
# Conflicts:
#	VDS/Classes/SelectorGroupHandlerBase.swift
#	VDS/Components/Buttons/Button/ButtonBase.swift
#	VDS/Components/Buttons/ButtonGroup/ButtonGroup.swift
#	VDS/Components/Label/Label.swift
#	VDS/Components/RadioButton/RadioButtonGroup.swift
#	VDS/Components/RadioSwatch/RadioSwatchGroup.swift
#	VDS/Components/TextFields/EntryField/EntryField.swift
#	VDS/Components/Tooltip/TrailingTooltipLabel.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 16:20:00 -05:00
Matt Bruce
e3f998de9f Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2023-08-25 16:12:50 -05:00
Matt Bruce
d10b575511 remvoed comment
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 15:39:48 -05:00
Matt Bruce
ff0cf0ddbb updated for enabling
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 15:37:53 -05:00
Matt Bruce
1c3dfca2d7 implemented isEnabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 15:08:16 -05:00
Matt Bruce
7f461e72e9 removed disabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 14:55:11 -05:00
Matt Bruce
5811fa7a01 added isEnabled for setters where disabled is set
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 13:03:34 -05:00
Matt Bruce
f08f1672fb fixed attributes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 10:18:00 -05:00
Matt Bruce
9c3fbe9a84 fixed issue
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-23 16:56:39 -05:00
Matt Bruce
cfe0f6135b revert back to original
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-23 09:54:24 -05:00
Matt Bruce
d6998092ed removed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-22 08:13:34 -05:00
Matt Bruce
45780bd898 updated table
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-21 17:50:24 -05:00
Matt Bruce
6f7fb965e5 removed view and added line
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-21 13:25:21 -05:00
Matt Bruce
d1a74ea387 added self
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-15 13:48:51 -05:00
Matt Bruce
d4d1b8d7c9 fix for button
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-12 09:35:16 -05:00
Matt Bruce
1e8027d2ec added super method calls in overrides
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-08 09:47:57 -05:00
Matt Bruce
dec1a00bb5 refactored out Handlerable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-08 09:46:52 -05:00
Matt Bruce
56c2217b0c public to open
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 16:01:38 -05:00
Matt Bruce
ce9e64da0f updated comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 10:22:31 -05:00
Matt Bruce
ecff7b9686 refactored updateAccessibiltyLabel to updateAccessibility
moved down common isEnabled/isSelected down to base classes

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-01 10:23:24 -05:00
Matt Bruce
16d37e1c45 ONEAPP-5104 - Button Disabled Accessibility iOS
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-28 14:29:43 -05:00
Matt Bruce
0a9b4ec368 added comments for reset()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-26 10:13:49 -05:00
Matt Bruce
61e843f8f8 added check for change of scaledFonts
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-21 10:43:36 -05:00
Matt Bruce
18ab46b1f3 updated more accessibilityLabels/Values
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-18 12:49:11 -05:00
Matt Bruce
b919cfd92b refactored disabling (disabled) as a helper to get/set isEnabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-18 08:46:15 -05:00
Matt Bruce
bc6c783e4e added logic for added/removing the accessibilityTrait .notEnabled based off the dissbled state
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-17 13:38:36 -05:00
Matt Bruce
c9180e9c36 added back isEnabled override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-14 14:42:56 -05:00
Matt Bruce
97b6942127 CXTDT-427165 - Text Link Caret - Container should not have left/right padding
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-28 10:01:44 -05:00
Matt Bruce
94fffc289a refactored to use new extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-19 14:52:48 -05:00
Matt Bruce
58388b81b8 updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-19 14:38:13 -05:00
Matt Bruce
8b1f5db3e6 anchored line
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-08 11:14:13 -05:00
Matt Bruce
55885c80ba update naming conventions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-08 08:56:31 -05:00
Matt Bruce
9093131f1d fixed issues with disabled state overwriting layers.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-07 15:26:13 -05:00
Matt Bruce
8b9b83791a CXTDT-419731 - spacing from 2px to 4px
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-30 11:22:20 -05:00
Matt Bruce
f99a3033d6 refactored TextLinkCaret spacer/name label attribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-30 10:05:23 -05:00
Matt Bruce
15f7c1d586 updated color issue for disabled state
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-11 15:24:54 -05:00
Matt Bruce
b5f256e3a5 removed code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 16:11:25 -05:00
Matt Bruce
c2d200e7f2 fixed textlinkcaret issue
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 16:08:04 -05:00
Matt Bruce
bd902434ef refactored reset methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 14:40:11 -05:00
Matt Bruce
e82a94304c refactored to remove combine for local updater, replaced with setNeedsUpdate
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 11:51:10 -05:00
Matt Bruce
29a36ee7d4 added methods for showing button cell bounds
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-02 13:22:40 -05:00
Matt Bruce
3e8461aef6 updated for buttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-02 12:12:40 -05:00
Matt Bruce
8fb60fde03 added touchable to button
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-02 11:30:04 -05:00
Matt Bruce
0be4e04091 fixed for protocol update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-26 16:06:26 -05:00
Matt Bruce
cf4f145137 refactored debounce for label/button (has label)
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-04 08:56:37 -05:00
Matt Bruce
334f9b798c refactored more on clickable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-30 09:06:24 -05:00
Matt Bruce
248caeb480 updated for maintaining a clickable count
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-30 08:43:55 -05:00
Matt Bruce
94d44c5d54 refactored clickable
removed old clickable code

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-29 15:37:32 -05:00
Matt Bruce
ac8d4e707b updated buttonbase
other buttons

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-29 13:48:09 -05:00
Matt Bruce
d866a4e3c3 updated buttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-17 15:35:55 -05:00
Matt Bruce
2eee432ac0 updated button for onClickPublisher
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-17 14:23:05 -05:00
Matt Bruce
58162040d3 added click subscriber and updateAccessibilityLabel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-07 10:54:19 -06:00
Matt Bruce
78bd6be6ce added some accessibilty updates
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-03 16:31:31 -06:00
Matt Bruce
dff9ec1eef remvoed bug of initialSetup being called were not needed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-02-13 15:47:58 -06:00
Matt Bruce
21ac83af4f removed codable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-25 11:50:11 -06:00
Matt Bruce
d2d8140b70 added codable to enums
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-25 09:53:56 -06:00
Matt Bruce
dd311fc920 applied UserInfoable to views/controls
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-23 09:26:41 -06:00
Matt Bruce
35d1f4071d refactored TextStyle enums to camelCase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 15:32:11 -06:00
Matt Bruce
9526a7ec40 refactored out Typography and converted to TextStyle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 14:04:15 -06:00
Matt Bruce
443636b723 refactored typograpicalStyle to textStyle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 13:36:53 -06:00
Matt Bruce
669e0d7625 refactored enums into class/structs that use them
also refactored models into class that are the parents

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 13:32:38 -06:00
Matt Bruce
27ac028bd4 refactored enum
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 10:02:21 -06:00
Matt Bruce
84406b1e63 refactored enums
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 09:59:07 -06:00
Matt Bruce
410ee5afdf refactored to use tokens instead of hardcoded values
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-03 11:36:36 -06:00
Matt Bruce
bccd90e8af updated to use protocol for buttonable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-15 12:05:06 -06:00
Matt Bruce
464dd5b5e9 create separate file for cell
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-15 12:04:51 -06:00
Matt Bruce
04bbb8948a created new cell for button group
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-15 11:48:26 -06:00
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
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
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
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