Commit Graph

193 Commits

Author SHA1 Message Date
Matt Bruce
65ce18d083 refactored more code
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 16:38:40 -05:00
Matt Bruce
c0b59694f2 refactored validation again
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 16:24:09 -05:00
Matt Bruce
06d56fd70e updated input validators
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 16:01:26 -05:00
Matt Bruce
1813661f7d updated states
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 15:48:29 -05:00
Matt Bruce
cfc21c2727 added internal rules
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 14:10:36 -05:00
Matt Bruce
aa4dc91afa updated for password field
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 13:51:13 -05:00
Matt Bruce
896d393d7a updated for focused
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 13:24:37 -05:00
Matt Bruce
2241f6d131 Merge branch 'mbruce/bugfix' into feature/inputField 2024-04-30 13:19:34 -05:00
Matt Bruce
83e0c4ab53 CXTDT-552071 - Text Area - Entering text
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 13:15:31 -05:00
Matt Bruce
b80dcda680 CXTDT-552070 - Text Area - Container heights
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 12:31:55 -05:00
Matt Bruce
5a0018319f CXTDT-552068 - Text Area - Text padding
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-30 11:55:04 -05:00
Matt Bruce
accd264595 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/inputField
# Conflicts:
#	VDS/Components/Notification/Notification.swift
#	VDS/Components/TextFields/InputField/InputField.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-29 16:30:25 -05:00
Matt Bruce
39107082e7 fixed bug with isSecureTextEntry
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-29 16:25:55 -05:00
Matt Bruce
07110ed5cc updated for error and resign first responder
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-29 11:16:09 -05:00
Matt Bruce
cea37eeb77 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into feature/inputField 2024-04-25 15:00:43 -05:00
Matt Bruce
c22592cdb5 refactor to reset onClick/onClick to nil
removed old willSet

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-24 14:49:23 -05:00
Matt Bruce
bb705d8155 refactored value to be readOnly
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-23 16:39:50 -05:00
Matt Bruce
7e2fdb30e3 removed accessibleText
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-19 15:03:08 -05:00
Matt Bruce
63de916555 initial rework for inputField
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-19 14:56:53 -05:00
Matt Bruce
ca1e7e2b87 added accessibleText
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-19 14:55:41 -05:00
Matt Bruce
37890e0c88 updated icon to statusIcon and iconColorConfiguration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-19 14:55:29 -05:00
vasavk
0841a6d9f7 Digital ACT-191 CXTDT-546821 defect: TextArea - Accessibility 2024-04-18 20:09:22 +05:30
vasavk
14d77ef81f Digital ACT-191 CXTDT-546821 defect: Accessibility - Text area input field is not receiving swipe focus 2024-04-18 15:51:07 +05:30
Matt Bruce
9ce6428bda made property internal
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-16 09:51:57 -05:00
Matt Bruce
2046897199 refactored out of entryfieldbase to inputfield since this is the only place it is needed.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-16 09:50:40 -05:00
Matt Bruce
5c44d25339 added TextLinkModel to the EntryFieldBase
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-16 09:43:28 -05:00
Matt Bruce
be14df768a Merge branch 'develop' into mbruce/bugfix 2024-04-15 13:04:25 -05:00
Matt Bruce
35482fb41e Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into refactor/VDSTokens
# Conflicts:
#	VDS/Components/BadgeIndicator/BadgeIndicator.swift
#	VDS/Components/TextFields/EntryFieldBase.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-12 09:05:21 -05:00
Matt Bruce
41e6001746 fixed layout issue for entryfield base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-11 15:55:31 -05:00
Matt Bruce
994feff20e fixed bug in InputField/TextArea after refactor
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-09 16:19:11 -05:00
Matt Bruce
a2f79fcee8 refactored to put value and the valuechanged for the control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-09 16:11:52 -05:00
Matt Bruce
7b9aa51d0a refactored out text of base class
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-09 15:37:58 -05:00
Matt Bruce
c0c666c2cb fixed error/disabled border
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-08 11:11:12 -05:00
Matt Bruce
67c96ca74c moved maxLength out of base
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-08 10:15:11 -05:00
Matt Bruce
5d19edbc6e Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into refactor/VDSTokens
# Conflicts:
#	VDS.xcodeproj/project.pbxproj
#	VDS/Components/Buttons/ButtonGroup/ButtonGroup.swift
#	VDS/Components/Notification/Notification.swift
#	VDS/Components/TextFields/EntryFieldBase.swift
#	VDS/Components/TileContainer/TileContainer.swift
#	VDS/Extensions/VDSLayout.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-04-02 12:09:30 -05:00
Matt Bruce
620fb1e43b udpated logic
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-03-26 12:48:08 -05:00
Matt Bruce
90976d773a renamed protocol
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-03-26 12:43:09 -05:00
Matt Bruce
e1f34a743e Merge branch 'develop' into mbruce/textArea-refactor-entryfield 2024-03-26 12:35:20 -05:00
Matt Bruce
0fffd38113 updated initialSetup
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-03-08 10:08:12 -06:00
Matt Bruce
d459d5f933 hide the validator
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-03-05 14:45:19 -06:00
Matt Bruce
d847bc3859 refactored for validator
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-03-05 14:44:19 -06:00
Matt Bruce
805b0c716c Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into mbruce/textArea-refactor-entryfield
# Conflicts:
#	VDS/Components/TextFields/TextArea/TextArea.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-03-05 13:42:27 -06:00
Matt Bruce
d34b477274 refactored var to track internal error
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-03-05 13:17:37 -06:00
Matt Bruce
85acb35091 Merge branch 'develop' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into mbruce/textArea-refactor-entryfield 2024-03-01 10:41:22 -06:00
Matt Bruce
cedba7ba8c added namespace for control
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 16:34:55 -06:00
Matt Bruce
62338cbfc1 Merge branch 'develop' into mbruce/textArea-refactor-entryfield
# Conflicts:
#	VDS/Components/TextFields/EntryFieldBase.swift
#	VDS/Components/TextFields/TextArea/TextArea.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-29 15:09:03 -06:00
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