igniteui-webcomponents
igniteui-webcomponents copied to clipboard
refactor: Abstracted keyboard focus styles logic
To achieve the desired design in Fluent/Indigo (and potentially other designs) for components that need to differentiate between keyboard-triggered and pointing device-triggered focus, additional logic was beginning to be replicated across the codebase.
This Pull Request encapsulates that logic into an independent module to simplify maintenance and improve traceability. The remaining tasks include reviewing the names of the properties/methods and documenting the standard usage pattern.
After the merger of #1117, the new components will be updated to incorporate this logic. Until then, it remains in draft status.