Commit Graph

85 Commits

Author SHA1 Message Date
Matt Bruce
33163a6183 fixed bug for trailing tooltip
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-27 15:32:14 -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
0460e10b89 added edgeInsets
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-20 12:54:03 -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
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
bbdf496cda added edgeInset
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-15 18:50:30 -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
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
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
01c7df3c69 clearout attributes on a text reset
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 10:54:50 -05:00
Matt Bruce
d3c44cdf32 refactored methods for action
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-27 14:46:19 -05:00
Matt Bruce
8a5b828a84 udpated method name
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-17 13:24:04 -05:00
Matt Bruce
08bcaed4d8 ensured classes are open to allow subclassing
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-06 17:06:21 -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
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
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
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
9fcff48752 updated label to new color states
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:48:51 -06:00
Matt Bruce
5445445136 added documentation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-28 14:29:09 -06:00
Matt Bruce
8a85e67681 updated backgroundcolor to clear
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:01:28 -06:00
Matt Bruce
c150f1552b added escape hatch for using a user set attributedText directly to the label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:44:13 -06:00
Matt Bruce
53b43c6daf execute updateView() after setup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:11:39 -05:00
Matt Bruce
85337833d4 refactored out layout subviews, causing infinite loop
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:04:34 -05:00
Matt Bruce
46eaac262c Merge branch 'develop' into feature/entryFields
# Conflicts:
#	VDS.xcodeproj/project.pbxproj

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-01 16:42:38 -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
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
163c292796 updated color config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:22:28 -05:00
Matt Bruce
0abcbde5ec refactored colorable again
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 13:51:18 -05:00
Matt Bruce
b81dac7039 added type erasure
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 10:52:49 -05:00
Matt Bruce
94ad6cd9f8 updated label/badge to AnyColorable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 10:44:04 -05:00
Matt Bruce
02a3bd9e78 refactored names of XXXLabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 15:08:03 -05:00
Matt Bruce
7551519d2d added accessibleText for actions as an override
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 11:38:44 -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
a561ea30d8 added Identifiable to LabelAttributeModel
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-09-15 13:59:51 -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