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
Matt Bruce
0b63f5abea
updated with internal wrapper view so the object won't stretch and mess up alignments
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-18 10:02:07 -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
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
69ad6e9fb1
added constraints for veritcal
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-10 11:30:04 -06:00
Matt Bruce
faf6c84044
fixed bug
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-26 13:44:25 -05:00
Matt Bruce
790fa208db
added isAnimated logic
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 17:07:45 -05:00
Matt Bruce
5e8a1d349b
removed code
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-21 15:28:06 -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
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
fa39ce82d1
fix toggle bugs
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-20 13:13:38 -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
f47a910dae
updated constaint
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-13 10:51:00 -05:00
Matt Bruce
558d6c16ab
updated logic
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-12 09:02:39 -05:00
Matt Bruce
1f91459b9e
refactored toggle to match updated property names
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-12 09:00:41 -05:00
Matt Bruce
087691bc62
update label within toggle
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-12 08:16:29 -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
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
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
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
5d5c17606e
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-31 10:38:31 -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
e706045c79
removed id
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-30 14:32:06 -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
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
a58facf2d7
udpated toggle
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-18 09:38:59 -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
cade12b0cd
refactored label
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-16 18:16:16 -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
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
9292ba8e5a
new func override
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-09 14:36:49 -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
b3622ce854
refactored isTrue/False to forTrue/false
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-05 10:59:10 -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
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
cff23c26e4
refactored names
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 17:03:28 -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
bf9562d264
refactored ViewProtocol
...
removed @objcMembers from components
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 11:44:35 -05:00
Matt Bruce
7dc21628af
cleaned up more code
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 10:31:18 -05:00
Matt Bruce
3b2d52dcd3
refactored controls properties to match model
...
cleaned up code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 10:19:07 -05:00
Matt Bruce
5cfd3c379d
updated color logic
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 10:00:18 -05:00
Matt Bruce
ce4faadf0c
converted defaults to structs
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-03 09:01:46 -05:00
Matt Bruce
1f74df31e9
removed excess accessability
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 15:09:03 -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
c7efb92a34
updated colors
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-02 08:59:15 -05:00
Matt Bruce
d4a1f0e5ed
refactored more
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 17:38:14 -05:00
Matt Bruce
0aeaeeb81c
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 17:36:46 -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
70071778a1
updated colors
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 16:24:25 -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
074700ddfe
removed prints
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 13:34:14 -05:00
Matt Bruce
d7beea240c
upddate animations
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 13:31:41 -05:00
Matt Bruce
669c2b15b5
refactored colors
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 12:41:05 -05:00
Matt Bruce
63d5b97de6
refactored color to surface
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 12:05:49 -05:00
Matt Bruce
2edd58c6d8
updated for accessable and ensure label on showtext/textposition changes
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-08-01 11:54:27 -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
482d3854a1
removed default models
...
added accessibility
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-30 09:20:26 -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
398ae82151
removed static helper size methods
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 16:10:47 -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
f5c7d73bad
update toggle sizes
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 10:53:30 -05:00
Matt Bruce
529be82f36
fixed bug for disabled
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 09:54:26 -05:00
Matt Bruce
eaae15658e
removed ObservableObject
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 09:11:01 -05:00
Matt Bruce
6c2ffa4976
refactore everything to state changed
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-29 08:36:49 -05:00
Matt Bruce
6c0a0460e8
updated toggle
...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-07-28 18:07:16 -05:00