Skip to content

feat(chip): add chip variants sample#3965

Merged
simeonoff merged 2 commits into
vnextfrom
ibarakov/add-chip-variants-sample
May 28, 2026
Merged

feat(chip): add chip variants sample#3965
simeonoff merged 2 commits into
vnextfrom
ibarakov/add-chip-variants-sample

Conversation

@onlyexeption
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds a new "Chip Variants" sample demonstrating the IgxChipTypeVariant options (Primary, Info, Success, Warning, Danger) on igx-chip, and wires it into routing, navigation metadata, and live-editing config generation.

Changes:

  • New standalone ChipVariantsComponent (TS/HTML/SCSS) iterating chip variants with selectable/removable behavior.
  • Route entry and navigation metadata added for chip-variants under the Chip group.
  • Live-editing Config entry added in ChipConfigGenerator.

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated no comments.

Show a summary per file
File Description
src/app/data-display/chip/chip-variants/chip-variants.component.ts New sample component listing chip variants and handling removal.
src/app/data-display/chip/chip-variants/chip-variants.component.html Template rendering chips bound to [variant].
src/app/data-display/chip/chip-variants/chip-variants.component.scss Basic layout styling matching other chip samples.
src/app/data-display/data-display.routes.ts Registers chip-variants route.
src/app/data-display/data-display-routes-data.ts Adds nav metadata for Chip Variants.
live-editing/configs/ChipConfigGenerator.ts Adds live-editing config entry for the new sample.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@onlyexeption onlyexeption requested a review from kdinev May 28, 2026 10:30
@simeonoff simeonoff merged commit 8e67530 into vnext May 28, 2026
4 checks passed
@simeonoff simeonoff deleted the ibarakov/add-chip-variants-sample branch May 28, 2026 12:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants