Commit Graph

111 Commits

Author SHA1 Message Date
Matt Bruce
fb623627bf fixed bug where someone could nil out attributedText and resetting the text with the same value wouldn't trigger setNeedsUpdate()
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2024-02-15 15:38:25 -06:00
Matt Bruce
e0540a68ce added extension for NSMutableAttributedString
refactoctored code to use extension

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-11-07 08:17:46 -06:00
Matt Bruce
196bc52288 ONEAPP-4684 - Acessibility - Tooltip (Header)
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-10-27 13:14:36 -05:00
Matt Bruce
e646be1462 ONEAPP-5109 - Typography/Label - Accessibility iOS
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-09-20 08:24:03 -05:00
Matt Bruce
e52ae195f3 fix for setting text issue
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-09-12 14:04:05 -05:00
Matt Bruce
383eee527b fixed bug in label
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-31 08:53:25 -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
99340c616e refactore first step of TextPosition -> TextAlignment
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-30 13:38:16 -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
ba9e5f912f updated documentation
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-28 18:15:19 -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
304416afdb update label for accessibility elements
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-26 10:45:15 -05:00
Matt Bruce
52b08b88c9 Merge branch 'refactor/enabling' of https://gitlab.verizon.com/BPHV_MIPS/vds_ios.git into refactor/enabling
# Conflicts:
#	VDS/Classes/SelectorGroupHandlerBase.swift
#	VDS/Components/Buttons/Button/ButtonBase.swift
#	VDS/Components/Buttons/ButtonGroup/ButtonGroup.swift
#	VDS/Components/Label/Label.swift
#	VDS/Components/RadioButton/RadioButtonGroup.swift
#	VDS/Components/RadioSwatch/RadioSwatchGroup.swift
#	VDS/Components/TextFields/EntryField/EntryField.swift
#	VDS/Components/Tooltip/TrailingTooltipLabel.swift

Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 16:20:00 -05:00
Matt Bruce
e3f998de9f Signed-off-by: Matt Bruce <matt.bruce@verizon.com> 2023-08-25 16:12:50 -05:00
Matt Bruce
a6a0003c3b refactored label to remove disabled.
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-25 15:46:00 -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
90ac92144f added overrides
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-22 17:07:40 -05:00
Matt Bruce
dec1a00bb5 refactored out Handlerable
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-08 09:46:52 -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
f10ea3d5d6 added setNeedsUpdate to textColorConfiguration
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-02 10:54:44 -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
05543e7c89 updated trait from text to link when there is a action
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-08-01 09:21:16 -05:00
Matt Bruce
29e4fcb165 made real update and not a forced one
Signed-off-by: Matt Bruce <matt.bruce@verizon.com>
2023-07-27 15:34:46 -05:00
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