Skip to content

Conversation

@jd3267
Copy link
Contributor

@jd3267 jd3267 commented Jan 28, 2026

Summary of the changes

Updated ic-chip to fit to content and added a fullwidth prop that can be set to make ic-chip fill container

Related issue

#3353

Checklist

General

  • Changes to docs package checked and committed.
  • All acceptance criteria reviewed and met.

Testing

  • Relevant unit tests and visual regression tests added.
  • Visual testing against Figma component specification completed.
  • Playground stories in React Storybook up to date, with any prop changes and additions addressed.
  • Compare performance of modified components against develop using Performance addon in React Storybook.

Resize/zoom behaviour

  • Page can be zoomed to 400% with no loss of content.
  • Screen magnifier used with no issues.
  • Text resized to 200% with no loss of content.
  • Text spacing increased as per the WCAG 1.4.12 success criterion with no loss of content.

System modes

  • Browser setting 'prefers reduced motion' tested. No animations or motion visible whilst this setting is on.
  • Windows High Contrast mode tested with no loss of content.
  • System light and dark mode tested with no loss of content.
  • Browser support tested (Chrome, Safari, Firefox and Edge).

Testing content extremes

  • Min/max content examples tested with no loss of content or overflow.
  • All prop combinations work without issue.

adds fullWidth prop to ic-chip canary docs
update docs to add fullWidth prop to ic-chip
update storybook and tests for ic-chip to test for chips being in a container and with the fullWidth
prop set
…dth prop

update ic chip to set width to content size, up to max of container size. also added fullWidth prop
to allow filling of container
@github-actions
Copy link
Contributor

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants