Skip to content

Commit a5aa699

Browse files
mariush2CopilotCopilot
authored
feat!: New Chip component (SAMACL-1292) (#1367)
* feat!: New Chip component (SAMACL-1292) * fix: Add type attribute to InteractiveChip button Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: Update mockClear calls for onClick and onDelete Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * fix: Refine hover styles for Chip component Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> * test: Add Chip tests to get 100% coverage * test: Reduce flakiness in ComboBox keyboard story Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> * ci: Pin tests job to ubuntu-24.04 for Playwright support Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com> Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
1 parent b110247 commit a5aa699

25 files changed

Lines changed: 434 additions & 621 deletions

‎src/atoms/utils/environmentToggle.ts‎

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -13,28 +13,20 @@ export function formatFeatureName(activeFeature: EnvironmentToggleFeatures) {
1313
type ColorConfig = {
1414
border: string;
1515
background: string;
16-
chipBackground: string;
17-
outline: string;
1816
};
1917

2018
const VARIANT_COLORS: Record<StatusVariant, ColorConfig> = {
2119
combined: {
2220
border: colors.interactive.success__resting.rgba,
2321
background: colors.interactive.warning__text.rgba,
24-
chipBackground: colors.interactive.warning__resting.rgba,
25-
outline: colors.interactive.success__resting.rgba,
2622
},
2723
environment: {
2824
border: colors.interactive.success__resting.rgba,
2925
background: colors.interactive.success__text.rgba,
30-
chipBackground: colors.interactive.success__resting.rgba,
31-
outline: colors.interactive.success__resting.rgba,
3226
},
3327
impersonate: {
3428
border: colors.interactive.warning__resting.rgba,
3529
background: colors.interactive.warning__text.rgba,
36-
chipBackground: colors.interactive.warning__resting.rgba,
37-
outline: colors.interactive.warning__resting.rgba,
3830
},
3931
};
4032

‎src/molecules/Chip/Chip.jsdom.test.tsx‎

Lines changed: 0 additions & 79 deletions
This file was deleted.

0 commit comments

Comments
 (0)