Commit Graph

136 Commits

Author SHA1 Message Date
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
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
443636b723 refactored typograpicalStyle to textStyle
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-13 13:36:53 -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
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
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
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
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
5684104913 updated to use extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 11:16:19 -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
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
69ad6e9fb1 added constraints for veritcal
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:30:04 -06:00
Matt Bruce
46d0bb3047 added @objc() class name to keep collisions from occurring
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 10:42:24 -05:00
Matt Bruce
1e046fa336 removed / replaced anything to do with model
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:41:41 -05:00
Matt Bruce
b5314ad879 deleted all models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 15:12:25 -05:00
Matt Bruce
60dbfa9d2b refactored to use layoutSubviews
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 14:06:03 -05:00
Matt Bruce
63543b5cf5 fixed issues with init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:13:28 -05:00
Matt Bruce
4bf9ce83b5 refactored to remove models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 10:55:36 -05:00
Matt Bruce
d0001f8af7 updated color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:27:10 -05:00
Matt Bruce
3b75957ce1 accessable update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:19 -05:00
Matt Bruce
fa3d139742 refactored hasError to showError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-03 12:21:27 -05:00
Matt Bruce
9e2d5fff47 added Equality to Modelable
added AnyEquality to classes that have an a property with 'any'
added default implementation on shouldUpdateView() to check equality, this can be re-implemented in classes
removed all shouldUpdateView methods everywhere since above was done

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-16 09:14:27 -05:00
Matt Bruce
a561ea30d8 added Identifiable to LabelAttributeModel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:59:51 -05:00
Matt Bruce
e07f855eb6 added Identifiable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:56:58 -05:00
Matt Bruce
78443263ba deleted Changeable - onChange: ActionBlock
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 12:43:41 -05:00
Matt Bruce
77a02a1e25 moved valueChanged to method
again this is due to the updating internal models via the control, therefore there will be a delay in the eventing from the publisher back up to the parent model

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:59:01 -05:00
Matt Bruce
9b22fb4e2f refactored hasError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:54:10 -05:00
Matt Bruce
8f63017ce9 added selectedModelHandler/Handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-14 11:46:33 -05:00
Matt Bruce
421ea78991 refactored to use modelHandler instead direct model change
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 15:51:20 -05:00
Matt Bruce
dbfce2c999 refactored again, removed protocol and enforce base class of subject
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:39:24 -05:00
Matt Bruce
12771fa0f2 created protocols for control/view
refactored to use protocols

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:18:43 -05:00
Matt Bruce
d00a219ebb updated protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 17:06:07 -05:00
Matt Bruce
57853b6145 added typealias
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:45:14 -05:00
Matt Bruce
71b020cb3f refactored more of the groups to remove protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:38:46 -05:00
Matt Bruce
e9c5a14ac9 refactored radiobuttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:29:57 -05:00
Matt Bruce
56a72f62a2 removed comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 16:18:59 -05:00
Matt Bruce
ac2a77acf5 refactored radiobuttongroup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 15:39:39 -05:00
Matt Bruce
f68a815680 baby steps in refactoring out methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-08 14:48:07 -05:00
Matt Bruce
61c5d5adf8 convert to kyle code for default handlers
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 16:12:08 -05:00
Matt Bruce
c975f2b06e added Gesture publisher / extension to UIView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:29:44 -05:00
Matt Bruce
6c67544c71 moved tap back into each control since not all controls should need this
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:21:13 -05:00
Matt Bruce
1306c9e2a9 updated for not caching model, just the inputId
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 13:12:40 -05:00
Matt Bruce
0eb23d51fc moved touchup inside logic into control
isTappable bool
defaultAction() override
2022-08-31 10:38:21 -05:00
Matt Bruce
c6ae09f730 removed isUserInteractive to control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 09:06:01 -05:00
Matt Bruce
572a7dd123 added valueChanged event
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 17:07:21 -05:00
Matt Bruce
574d6f84ac fixed stackviews
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 16:26:31 -05:00
Matt Bruce
6ce40e1a39 removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:34:22 -05:00
Matt Bruce
e706045c79 removed id
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:32:06 -05:00
Matt Bruce
f71372939c refactored into extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-26 14:20:07 -05:00
Matt Bruce
8f319e3b11 refactored name
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-25 11:00:21 -05:00
Matt Bruce
37372c5487 refactored to use Protocol extension methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-24 08:20:49 -05:00
Matt Bruce
844aa13277 refactored out selector base selector group base class
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 14:49:00 -05:00
Matt Bruce
eac716afd2 removed print
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 09:30:12 -05:00
Matt Bruce
e34f8f0ed8 renamed methods
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 18:20:20 -05:00
Matt Bruce
304023381c updated to copyWith
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 17:49:44 -05:00
Matt Bruce
c9cc612698 updated for withable on lazy properties
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-22 15:35:45 -05:00
Matt Bruce
017f7eadb0 added withable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 10:02:29 -05:00
Matt Bruce
c2a9fecd3b added shouldUpdateView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 16:30:48 -05:00
Matt Bruce
1b9830993b added hasError update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:39:53 -05:00
Matt Bruce
eeabdba54c fix for radiobutton on launch
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 10:04:16 -05:00
Matt Bruce
9d440aaeac refactored to hasError
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 17:30:54 -05:00
Matt Bruce
706c55d0f2 Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2022-08-11 15:47:28 -05:00
Matt Bruce
f002907c2f moved shouldUpdate to SelectorBase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:20:12 -05:00
Matt Bruce
6deb2154a9 Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2022-08-11 14:04:57 -05:00
Matt Bruce
8824ea95bc refactored radio button group more
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 12:15:53 -05:00
Matt Bruce
8e4d4d6ded refactored radio button
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 11:56:11 -05:00
Matt Bruce
b0ae07fd69 refactored to selector group base and pulled out models 2022-08-11 11:10:09 -05:00
Matt Bruce
db018ac32b removed override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 10:56:37 -05:00
Matt Bruce
f97b08460a added radio button shouldUpdate
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 09:48:32 -05:00
Matt Bruce
15d71e41dd added uuid
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 16:25:56 -05:00
Matt Bruce
2e3c63ad5c refactored under the hood
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 16:07:04 -05:00
Matt Bruce
c368f275cb refactored controls
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 14:43:00 -05:00
Matt Bruce
26642e2d55 printing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 11:48:55 -05:00
Matt Bruce
103cec3db2 updated selector groups
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 10:53:23 -05:00
Matt Bruce
a55bea38de updated to selector base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-10 10:11:03 -05:00
Matt Bruce
ac0eb792cf radio button groud
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 07:57:13 -05:00
Matt Bruce
d4aedf4615 removed comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-08 11:34:17 -05:00
Matt Bruce
fc3ce375ac refactored into base control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-08 10:47:17 -05:00
Matt Bruce
bd0981e018 added radio button
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-08 09:38:16 -05:00