Commit Graph

227 Commits

Author SHA1 Message Date
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
8ed2506580 udpated tooltip attribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 10:54:46 -05:00
Matt Bruce
2bbe71e106 refactored action
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 10:54:41 -05:00
Matt Bruce
d77e1abc34 updated with tooltip size change
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-02 09:20:53 -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
90974afb8d added tooltiplabelattribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-27 14:46:04 -05:00
Matt Bruce
c3992be682 refactored to use new TrailingTooltip
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-17 13:35:23 -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
c3f6fc1d10 refactored class for init and Key
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-17 13:10:42 -05:00
Matt Bruce
1d3431da2c updated frame
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-14 16:28:05 -05:00
Matt Bruce
24bad2c371 refactored trailing tooltip label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-14 15:41:33 -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
d50c61b79b updated to use bundle manager
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-27 10:48:59 -06:00
Matt Bruce
2fa47a5404 added cancellable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-26 15:17:14 -06:00
Matt Bruce
9aad50fb0b updated for textcolor
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-26 15:16:56 -06:00
Matt Bruce
eacee20fe9 added init
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-25 18:20:11 -06:00
Matt Bruce
72f5edb92c fixed bug with underline
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-25 18:19:53 -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
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
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
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
f255f9fd21 updated naming to new class
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:02:38 -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
d7f067ef8f refactored name of FontLabelAttribute/added UIView extension for anchors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-17 14:31:45 -06:00
Matt Bruce
a5cd93b71c Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/textLink 2022-11-15 10:39:33 -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
0b73207bd6 update to look for a font with a found style to use our FontLabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:43:40 -06:00
Matt Bruce
e46017f315 updated FontLabelAttribute for Kerning/line spacing/ line height
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 14:43:02 -06:00
Matt Bruce
f9c8e328cf refactored to use AnyLabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:26:38 -06:00
Matt Bruce
eb48d8a807 include isForeground
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:26:14 -06:00
Matt Bruce
cd94bfde67 added AnylabelAttribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:25:32 -06:00
Scott Pfeil
42d3fc5c9a Adding dummy test code. 2022-11-10 09:44:38 -05:00
Matt Bruce
1fa97266c7 updated tint color
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-03 10:47:09 -05:00
Matt Bruce
ee8ce73208 added defaults for image attribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-03 10:44:38 -05:00
Matt Bruce
2b1bff4078 updated to use image text attribute
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 16:01:11 -05: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
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
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
3ae6167f18 tooltipo update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-07 09:14:02 -05:00
Matt Bruce
26da08ba48 images
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-07 09:13:20 -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
be71919ccf added new properties for accessible and for actions that aren't text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 11:38:20 -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
Matt Bruce
b318f1519b renamed helper to config
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:56:06 -05:00
Matt Bruce
b253bf3e03 refactored color configurations and refactored classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:49:02 -05:00
Matt Bruce
4c38676f59 refactored more fonts
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 09:01:26 -05:00
Matt Bruce
50bb76d806 added accessibilty actions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 20:16:34 -05:00
Matt Bruce
e3edf940c7 converted to struct
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 16:34:31 -05:00
Matt Bruce
cd58fc810e fixed bugs in generic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 16:30:53 -05:00
Matt Bruce
f768c6eab6 refactored toggle colors and models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 16:05:27 -05:00
Matt Bruce
20622bef41 added properties to label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:41:32 -05:00
Matt Bruce
64778d7951 refactored to a generic label/labelbase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:33:27 -05:00
Matt Bruce
fd4b9a1b28 made initable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 15:33:09 -05:00
Matt Bruce
5820401c50 refactored label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-04 10:24:43 -05:00
Matt Bruce
5a22e6ecd0 first cut
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 17:03:59 -05:00
Matt Bruce
ffe3641500 refactored out VDS from naming conventions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 13:56:14 -05:00
Matt Bruce
7fef4aadb7 refactored constants
updated constant references
fixed bug in checkbox

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 08:46:51 -05:00
Matt Bruce
6641b94d7a fixed ref
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 12:02:13 -05:00
Matt Bruce
81d36f0096 refactored label
added label computer var off of toggle

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 11:59:30 -05:00
Matt Bruce
2c4b0a578a Merge branch 'develop' into generic-class
# Conflicts:
#	VDS/Classes/VDSControl.swift
#	VDS/Components/Toggle/VDSToggle.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 17:05:58 -05:00
Matt Bruce
0ace568f7d refactored label text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 15:42:50 -05:00
Matt Bruce
8dc988aae9 changed default from large to small
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 11:54:39 -05:00
Matt Bruce
49e84c5255 updated control to take in generic class
updated toggle to include this and make a abstract class and new subclass

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 10:33:23 -05:00
Matt Bruce
831f4baf18 moved default models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 09:20:01 -05:00
Matt Bruce
5de60eef0f removed class since this is inherit
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 08:56:55 -05:00
Matt Bruce
e8da41eb70 refactored properties using this
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 16:06:42 -05:00
Matt Bruce
641ae4d572 refactored code for debounce
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 13:04:36 -05:00
Matt Bruce
01083bd8c8 added classes
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:06:49 -05:00