bcgov / bcgov/design-system

Inline Alert: loosen constraints on description slot

Open
#613 0 comments 0 reactions 0 assignees View on GitHub
react-components
Dominant language
TypeScript
Stars
62
Forks
44
Avg merge
19h 4m
Merged PRs (30d)
45

Description

Bookmarking for investigation as an enhancement to Inline Alert:

> This is just feedback on the `InlineAlert` itself, but it would be nicer IMO if we had done InlineAlert's `description` so it was just a slot for any old content instead of a text string. These use cases where we're the using the button slots for documentation links that could be inline make me go "ah yeah we just need colorful divs" for the vast majority of use cases, like CMS Lite.

_Originally posted by @ty2k in https://github.com/bcgov/design-system/pull/611#discussion_r2691705178_

Contributor guide

Open the contributing guide

Research direction

Start with the InlineAlert component and the discussion in pull request #611 linked from the issue. Confirm how the description currently accepts content and identify the existing tests or examples covering it; done means the description supports arbitrary inline content while preserving existing text usage.

Written by the indexing model from the issue text.

Assessment

Tech stack
react, typescript
Domain
design, frontend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.