Commit Graph

75 Commits

Author SHA1 Message Date
Matt Bruce
ea28526689 don't default to .black
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-01 15:12:55 -05: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
e53e66b96a updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:17:16 -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
eac9eaf751 refactored colorable again
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:27:01 -05:00
Matt Bruce
56563885b8 added type erasure
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:53 -05:00
Matt Bruce
50bb9dd3d4 updated label/badge to AnyColorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:26:48 -05:00
Matt Bruce
986e410098 added accessibleText for actions as an override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:25:32 -05:00
Matt Bruce
0f2c045add added new properties for accessible and for actions that aren't text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:25:21 -05:00
Matt Bruce
5694095aa4 added linebreakMode to paragraph style
made textColorConfiguration a public property and set it

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-22 16:59:30 -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
48797d2003 updated to have a casted isEqual
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 16:58:54 -05:00
Matt Bruce
378802eb5e updated to equalSelf
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 16:50:21 -05:00
Matt Bruce
b4659a73c0 added equatble to label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 16:45:56 -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
6b16782b6c added set(with to init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-12 14:09:51 -05:00
Matt Bruce
126b094178 moved isUserInteractive to isEnabled setter 2022-08-31 09:05:38 -05:00
Matt Bruce
d87adf477c updated to remove codable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:46:15 -05:00
Matt Bruce
2247e529c0 coverted to colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:44:01 -05:00
Matt Bruce
883281a94a fixed bug in text position
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-23 16:54:49 -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
42e417b043 refactored enabled/disabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 13:14:56 -05:00
Matt Bruce
43c60fe895 updated
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 08:01:49 -05:00
Matt Bruce
caba5c7cd7 renamed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 08:00:51 -05:00
Matt Bruce
85f6722d4c updated action to combine
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-17 07:59:31 -05:00
Matt Bruce
cade12b0cd refactored label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 18:16:16 -05:00
Matt Bruce
aab0cd86ac refactored label to include lineheight and letterspacing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 16:11:07 -05:00
Matt Bruce
b4b1de52a2 refactored Typography
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 12:05:28 -05:00
Matt Bruce
3d94e7d7c4 removed property
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 16:30:38 -05:00
Matt Bruce
f3b9999e34 updates
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-15 12:11:23 -05:00
Matt Bruce
1d30735948 refactored updateView stuff into method
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-13 09:57:02 -05:00
Matt Bruce
552e0416d3 refactored out ModelHandlerPublishable and moved into the handler
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-12 15:27:50 -05:00
Matt Bruce
cb3bb9250d added subscribers and renamed from cancellables
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:16:58 -05:00
Matt Bruce
0076a1ea21 updated protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 14:13:30 -05:00
Matt Bruce
c00c0fb24d updated init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-11 09:50:53 -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
c70997edb9 removed prints
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 16:27:03 -05:00
Matt Bruce
49b3868acc update subscriber
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 16:25:37 -05:00
Matt Bruce
4e6d9b2f9d new funcs
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:36:37 -05:00
Matt Bruce
cd327a7f78 added new attribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:35:28 -05:00
Matt Bruce
61d65e9b60 added toggle cotainer to meet specs
refactored all configurable default properties to one area

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 14:37:49 -05:00
Matt Bruce
5b800c0450 moved the disabled/surface to the base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:56:44 -05:00
Matt Bruce
df82f85724 added Modelable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:54:20 -05:00
Matt Bruce
4a83c733e2 removed set(
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 11:41:16 -05:00