From 5ad5b51ba1aba3aa74fddb9700b1f7d85a0e47df Mon Sep 17 00:00:00 2001 From: Will Martin Date: Tue, 3 Sep 2024 15:35:00 -0400 Subject: [PATCH] [CL-291] Finalize styling for chip select (#10771) Co-authored-by: Vicki League --- .../chip-select/chip-select.component.html | 24 ++++++----- .../src/chip-select/chip-select.component.ts | 18 +++++++- .../src/chip-select/chip-select.stories.ts | 41 +++++++++++++++++++ .../src/menu/menu-trigger-for.directive.ts | 1 + 4 files changed, 72 insertions(+), 12 deletions(-) diff --git a/libs/components/src/chip-select/chip-select.component.html b/libs/components/src/chip-select/chip-select.component.html index 91d9d0fadb5..d74e3d9cef1 100644 --- a/libs/components/src/chip-select/chip-select.component.html +++ b/libs/components/src/chip-select/chip-select.component.html @@ -1,17 +1,19 @@
@@ -35,7 +37,7 @@ type="button" [attr.aria-label]="'removeItem' | i18n: label" [disabled]="disabled" - class="tw-bg-transparent hover:tw-bg-transparent tw-outline-none tw-rounded-full tw-p-1 tw-my-1 tw-mr-1 tw-text-[inherit] tw-border-solid tw-border tw-border-text-muted hover:tw-border-text-contrast hover:disabled:tw-border-transparent tw-aspect-square tw-flex tw-items-center tw-justify-center tw-h-fit focus-visible:tw-ring-2 tw-ring-text-contrast focus-visible:hover:tw-border-transparent" + class="tw-bg-transparent hover:tw-bg-transparent tw-outline-none tw-rounded-full tw-p-1 tw-px-1.5 tw-my-[0.175rem] tw-mr-2 tw-text-[inherit] tw-border-solid tw-border tw-border-transparent hover:tw-border-text-contrast hover:disabled:tw-border-transparent tw-flex tw-items-center tw-justify-center focus-visible:tw-ring-2 tw-ring-text-contrast focus-visible:hover:tw-border-transparent" [ngClass]="{ 'tw-cursor-not-allowed': disabled, }" @@ -45,7 +47,7 @@
- +