mi6 / ic-ui-kit

Intelligence Community UI Kit (based on StencilJS)
MIT License
19 stars 23 forks source link

Investigate if badges are needed on other components\work with third party components #1968

Open ad9242 opened 3 weeks ago

ad9242 commented 3 weeks ago

💬 Description

Current the ic-badge component can only be placed on a component that has a "badge" slot. This ticket is to investigate:

💰 Use value

There may be components that users would like to add a badge too, that have not currently been considered. similarly, would a user potentially want to use ic-badge on another component eg a MUI button

The outcome of this ticket is to identify any components that should support having a badge displayed, and also determine if badge should support third party components.

It is envisaged that, if support for third party components is required, then this may well require breaking changes to the current badge implementation

There is currently this issue for slotted navigation items: #1701