Commit Graph

132 Commits

Author SHA1 Message Date
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
45cd013784 fixed layout issue
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-22 08:23:23 -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
a93edcc5ea fixed bug
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-18 16:15:41 -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
970ea12bc2 update toggle shadows for disabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-14 09:10:49 -05:00
Matt Bruce
33062b4b98 removed comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-09 15:54:14 -05:00
Matt Bruce
bcbb3751cf move shadow settings to the setup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-09 15:53:33 -05:00
Matt Bruce
c9abe39196 CXTDT-426623 - Toggle - Drop Shadow on Knob
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-09 14:55:32 -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
d0459cfb7d removed the accessibilityValue for selected 1 : 0
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-01 13:42:04 -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
Matt Bruce
34bc7b6b66 initial build error fix for color tokens
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-03 11:43:49 -05:00
Matt Bruce
308ef596a4 added onChange
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-03 10:14:52 -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
aa233515a5 updated control
and subcontrols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-29 13:47:56 -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
67fc629368 removed accessibility protocols
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-07 09:31:14 -06:00
Matt Bruce
5969e530c8 changing public to open
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-02-21 12:01:57 -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
ef1ca0f6ab marked private/internal subcomponents to open
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-23 09:27:36 -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
ae6c380627 removed old code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 19:34:04 -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
3825488d0e refactored vars
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 15:18:41 -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
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