Canopy Quick Action - REMOVED
LgQuickActionComponentand thelg-quick-actiondirective have been removed from Canopy's public API.
Replace quick actions with supported button or link patterns.
What to Remove
Remove quick action imports:
// Remove:
import { LgQuickActionComponent } from '@legal-and-general/canopy';
Remove quick action template usage:
<!-- Remove: -->
<button lg-quick-action>
<lg-icon name="information-filled" />
Find out more
</button>
What to Replace It With
- Action in context: use
lg-buttonwithpriority="link". - Navigation between pages/routes: use the Link component.
- Primary/secondary actions: use standard button priorities.
<!-- Recommended replacement for contextual actions -->
<button lg-button type="button" priority="link">
<lg-icon name="information-filled" />
Find out more
</button>
Don't
- Don't use
lg-quick-actionin new templates. - Don't import
LgQuickActionComponentin standalone component imports. - Don't recreate quick action styling with ad-hoc CSS; use existing button/link patterns.