clients/libs/components/src/link
Bryan Cunningham b0f46004ff
[CL-796] unrevert aria disabled buttons (#15924)
* Use aria-disabled for button disabled state

* remove import from testing story

* use aria-disabled attr on bitLink button

* remove unnecessary story attrs

* remove disabled attr if on button element

* create caprture click util

* use caprture click util and fix tests

* fix lint errors

* fix event type

* combine click capture and attr modification

* fix lint error. Commit spec changes left out of last commit in error

* inject element ref

* move aria-disabled styles to common

* move disabled logic into util

* fix broken async actions stories

* fix broken tests asserting disabled attr

* have test check for string true vlalue

* fix Signal type

* fix form-field story import

* remove injector left in error

* aria-disable icon buttons

* update form component css selector to look for aria-disabled buttons

* use correct types. pass nativeElement directly

* add JSDoc comment for util function

* WIP

* WIP

* inject service in directive

* remove console log

* remove disabled attr left in error

* update comments

* remove unnecessary logic

* remove :disabled psuedo selector as its apparently not needed

* fix event type

* coerce disabled attr to boolean

* remove duplicate style concat left by conflict resolution

* add back buttonStyles default

* move reactive logic back to helper

* add test to ensure menu button doesn't open when trigger is disabled

* remove menu toggle to fix tests

* remove disabled menu story

* Fix usage of bitLink in verify email component

* Update varaible name

* no longer pass destroyRef
2025-08-21 09:14:08 -04:00
..
index.ts [Component Library] Text/Button Links (#3126) 2022-08-08 11:21:46 -05:00
link.directive.ts [CL-796] unrevert aria disabled buttons (#15924) 2025-08-21 09:14:08 -04:00
link.mdx [CL-208][CL-339] Enhance Storybook docs pages (#14838) 2025-05-30 12:38:40 -04:00
link.module.ts [CL-135] Migrate component library to standalone components (#12389) 2024-12-17 17:29:48 -05:00
link.stories.ts [CL-372] Add required type attr to buttons in stories (#15892) 2025-08-06 16:16:17 -04:00