Commit Graph

111 Commits

Author SHA1 Message Date
Matt Bruce
c41599578a added ParentViewProtocol to views and updated children
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-08-22 16:03:47 -05:00
Matt Bruce
fc7650f7d9 refactor toggle with setDefaults
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-08-09 16:45:18 -05:00
Matt Bruce
973e25034e reverted back to onClick() since I found the issue in reset()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-08-09 14:37:08 -05:00
Matt Bruce
9f6a83f8ce ensure isEnabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-08-09 11:23:53 -05:00
Matt Bruce
f713cc0659 CXTDT-599736 - Unable to turn off the Toggles for Privacy preferences
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-08-09 11:22:26 -05:00
Matt Bruce
3ec2c98425 setup contentHugging and added more contraints to toggle when not in label mode
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-07-31 12:26:39 -05:00
Matt Bruce
6bf3e19ebe added @objcMembers to all classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-07-25 10:53:26 -05:00
Matt Bruce
73f27d1e8b more code refactoring
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-06-20 12:37:19 -05:00
Scott Pfeil
a04ccd9bf5 Digital ACT191 story ONEAPP-7847 - Updating the VDS tokens library 2024-05-07 10:44:53 -04:00
Matt Bruce
68d21296a7 Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2024-04-29 15:16:56 -05:00
Matt Bruce
c22592cdb5 refactor to reset onClick/onClick to nil
removed old willSet

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-24 14:49:23 -05:00
Matt Bruce
d98b08d26e removed old frameworks to add the 1 primary VDSTokens
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-01-23 10:09:09 -06:00
Matt Bruce
a349359fdf updated for toggleBottom IF iOS 17
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-10-27 13:40:20 -05:00
Matt Bruce
2f3759ae90 ONEAPP-4828 - Accessibility - Toggle (State)
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-10-27 13:15:08 -05:00
Matt Bruce
143d1bf717 refactored out canHighlight and added shouldHighlight to be able to override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-09-14 16:43:55 -05:00
Matt Bruce
794f68a67f formatted
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 16:57:15 -05:00
Matt Bruce
d9dc8e9b4f refactored naming
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 14:17:55 -05:00
Matt Bruce
d78a87273e updated documentation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 10:18:19 -05:00
Matt Bruce
affdf8176f added high level description to components.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-29 11:50:29 -05:00
Matt Bruce
5f3c872092 more comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 18:40:10 -05:00
Matt Bruce
f398dcf9a8 ewnsure comments marks are in the correct order and naming convention
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 16:59:44 -05:00
Matt Bruce
fe54617a07 moving intrinsicContentSize around into properties sections.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 16:19:14 -05:00
Matt Bruce
d6cefaf980 refactoring comments, marks, etc...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 16:13:13 -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
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
f2610016a7 removed toggleview as accessible
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 10:18:17 -05:00
Matt Bruce
50e8ea468a refactored toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-22 15:46:16 -05:00
Matt Bruce
efc15eabdf added label width and update anchor on right
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-18 16:16:05 -05:00
Matt Bruce
32017ea803 fixed constraints
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-17 15:01:48 -05:00
Matt Bruce
3ca168a53b added canHighlight
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-16 09:11:17 -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
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
59f6ed0e7a removed code that was in base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-01 11:14:33 -05:00
Matt Bruce
4561050dca added accessibilityActivate()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-01 10:45:58 -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
8d080a9e38 migrated to fixed toggle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-19 13:47:14 -05:00
Matt Bruce
900dfd21fc refactor a Toggle to be the actual Toggle only
refactor old Toggle + Label = ToggleItem

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-19 09:40:04 -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
418dcf40c2 CXTDT-426628 - Toggle - Incorrect disabled text color
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-06 12:33:56 -05:00
Matt Bruce
31f64dbc8c CXTDT-426626 - Toggle - Disabled "on" state 2023-06-28 09:12:52 -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
c721db80c4 updated Toggle Size for new specs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-03 11:53:05 -05:00