Commit Graph

247 Commits

Author SHA1 Message Date
Matt Bruce
6cd8b31985 refactored out TextView
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 14:38:17 -06:00
Matt Bruce
c75064e84e added more logic to the text/value properties
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 14:19:51 -06:00
Matt Bruce
de973fd7b8 added formfieldable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 14:06:13 -06:00
Matt Bruce
3ada7fa037 updated property
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 12:14:35 -06:00
Matt Bruce
b907e0e001 implemented new internal error handling
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 12:14:27 -06:00
Matt Bruce
4df689b275 added internalShowError/internalErrorText so that you won't overwrite external validators
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 12:14:12 -06:00
Matt Bruce
01052ebefd Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2024-02-29 10:44:53 -06:00
Matt Bruce
69a2374504 First cut at form fiedable change
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 10:34:10 -06:00
vasavk
a4582f11a5 Digital ACT-191 ONEAPP-6682 story: fixed the bug dealing with the character counter 2024-02-29 00:45:54 +05:30
vasavk
301ead7447 Digital ACT-191 ONEAPP-6682 story: Fix for the observed crash on removing last char when having char counter and exceeded limit. 2024-02-28 22:03:17 +05:30
vasavk
af2c5cd368 Digital ACT-191 ONEAPP-6682 story: Fixed minor issue for TextArea height 2024-02-28 16:39:44 +05:30
Matt Bruce
cbb3b564c9 Merge branch 'vasavi/TextArea' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into mbruce/textArea 2024-02-27 16:01:14 -06:00
vasavk
a2026a4319 Digital ACT191 story ONEAPP-6682 removed unnecessary code 2024-02-27 17:24:16 +05:30
Matt Bruce
6d38474675 added text as a property
added subclass of UITextField to deal with text rendering and attributes.

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-26 17:51:16 -06:00
Matt Bruce
9e91f38c52 added "text" as a property
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-26 17:50:47 -06:00
vasavk
4f41d9cc93 Digital ACT191 story ONEAPP-6682 added preset default height property. 2024-02-26 22:46:33 +05:30
vasavk
f527ec5483 Digital ACT191 story ONEAPP-6682 minor changes 2024-02-26 18:02:37 +05:30
vasavk
72ef366eed Digital ACT191 story ONEAPP-6682 added accessibility, focused border color to container 2024-02-26 17:02:36 +05:30
vasavk
5b01027554 Digital ACT191 story ONEAPP-6682 highlight text color, background color for character counter 2024-02-26 14:54:15 +05:30
vasavk
f7134b9b8c Digital ACT191 story ONEAPP-6682 Character limit, error text, and readonly changes.
- show error text when exceeds character limit.
- No restriction if character counter does not display.
- color changes for character counter label, error text, and readonly.
- Showing Character count overflow.
2024-02-26 11:52:06 +05:30
vasavk
c2662aaf30 Digital ACT191 story ONEAPP-6682 added change log 2024-02-23 19:26:41 +05:30
vasavk
967eed9522 Digital ACT191 story ONEAPP-6682 changes for error icon 2024-02-23 19:12:17 +05:30
vasavk
e319153ac6 Digital ACT191 story ONEAPP-6682 Checking character count overflow 2024-02-23 16:11:14 +05:30
vasavk
783143717c Digital ACT191 story ONEAPP-6682 adding character count limit to container 2024-02-23 12:47:47 +05:30
vasavk
9883bd6214 Digital ACT191 story ONEAPP-6682 Flex Height as per Layout and spacing 2024-02-22 23:55:46 +05:30
Matt Bruce
d98b08d26e removed old frameworks to add the 1 primary VDSTokens
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-01-23 10:09:09 -06:00
Matt Bruce
1dd626d766 refactored tooltip to use a model
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-09-13 17:38:04 -05:00
Matt Bruce
1d010d69ea fixed bug for priority on layout
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-09-05 11:47:58 -05:00
Matt Bruce
945fbc05dc refactored to use extension
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-09-05 11:47:44 -05:00
Matt Bruce
794f68a67f formatted
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 16:57:15 -05:00
Matt Bruce
d9dc8e9b4f refactored naming
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 14:17:55 -05:00
Matt Bruce
e3f791960a documentation update
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 13:29:52 -05:00
Matt Bruce
27af806281 refactored type
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-29 14:34:21 -05:00
Matt Bruce
2a589b1e22 more comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-29 14:00:23 -05:00
Matt Bruce
affdf8176f added high level description to components.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-29 11:50:29 -05:00
Matt Bruce
fe90a09f93 updated base classname
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-29 08:50:38 -05:00
Matt Bruce
39afe7920b moved classes around and renamed
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-29 08:50:21 -05:00
Matt Bruce
f398dcf9a8 ewnsure comments marks are in the correct order and naming convention
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 16:59:44 -05:00
Matt Bruce
d6cefaf980 refactoring comments, marks, etc...
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 16:13:13 -05:00
Matt Bruce
2b1234afc8 more comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 11:07:47 -05:00
Matt Bruce
da1434fdfd added documentaion comments.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 10:28:53 -05:00
Matt Bruce
7f461e72e9 removed disabled
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 14:55:11 -05:00
Matt Bruce
5811fa7a01 added isEnabled for setters where disabled is set
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 13:03:34 -05:00
Matt Bruce
1e8027d2ec added super method calls in overrides
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-08 09:47:57 -05:00
Matt Bruce
56c2217b0c public to open
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 16:01:38 -05:00
Matt Bruce
ce9e64da0f updated comments
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-04 10:22:31 -05:00
Matt Bruce
ecff7b9686 refactored updateAccessibiltyLabel to updateAccessibility
moved down common isEnabled/isSelected down to base classes

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-01 10:23:24 -05:00
Matt Bruce
1bed04dae0 added presenter
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-31 10:13:37 -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
bc6c783e4e added logic for added/removing the accessibilityTrait .notEnabled based off the dissbled state
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-17 13:38:36 -05:00
Matt Bruce
c02fd2241e updated tooltip to accept a view or title or content text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-30 15:21:20 -05:00
Matt Bruce
55885c80ba update naming conventions
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-08 08:56:31 -05:00
Matt Bruce
38b757c20a updated disabled values
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-06-07 15:45:13 -05:00
Matt Bruce
19a8d8e09a refactored out IconColor
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-15 11:35:27 -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
9b80d73b54 updated entry field
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-05-08 10:54:58 -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
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
308ef596a4 added onChange
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-04-03 10:14:52 -05:00
Matt Bruce
248caeb480 updated for maintaining a clickable count
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-03-30 08:43:55 -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
e5dd94aad9 fixed bug
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-27 12:44:28 -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
d2d8140b70 added codable to enums
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-25 09:53:56 -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
c6ffa5736d updated entry field
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-10 16:49:39 -06:00
Matt Bruce
6283735428 added textArea
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-10 16:49:29 -06:00
Matt Bruce
aafb7770b2 added added error/success icons
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-10 14:32:40 -06:00
Matt Bruce
b3e2469393 refactored TextField
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-01-10 13:25:07 -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
1191901787 fixed bug in layout for textEntry
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-21 10:19:23 -06:00
Matt Bruce
be265e5d64 fixed bug in tooltip
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-21 09:07:36 -06:00
Matt Bruce
42e2c5673f fixed highlight bug in entry field
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-21 08:56:51 -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
0842998c97 fixed logic in showError/showSuccess
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 18:10:52 -06:00
Matt Bruce
139d8fbce9 added success
updated config

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 17:59:31 -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
e027b05046 added state overrides
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-12-08 12:47:19 -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
Scott Pfeil
1db0660023 fix for name collision 2022-11-07 10:09:55 -05:00
Matt Bruce
5c21e5469f adding print
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:06:43 -05:00
Matt Bruce
d611960ac8 refactored entryfield
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 11:04:49 -05:00
Matt Bruce
2f0600eafb refatored entry field/textField, still not done but now these don't have models
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-11-02 10:07:42 -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
0a8b0c2f7c updated code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 16:24:49 -05:00
Matt Bruce
02325d0d30 updated entry fields
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-10 14:17:17 -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
e2573492fa added entry field colors
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 12:44:42 -05:00
Matt Bruce
61493d382d added more structs for helping attribrutes/colors, etc..
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-04 11:39:27 -05:00
Matt Bruce
68868a35ed first cut of entry fields
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2022-10-03 15:28:18 -05:00