File tree 2 files changed +9
-3
lines changed
packages/calcite-components/src/components/combobox-item
2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change @@ -112,13 +112,13 @@ ul:focus {
112
112
113
113
.icon {
114
114
@apply inline-flex
115
- opacity- 0
116
115
duration- 150
117
116
ease-in-out ;
117
+
118
+ color : var (--calcite-color-border-input );
118
119
}
119
120
120
121
:host ([selected ]) .icon {
121
- @apply opacity- 100;
122
122
color : var (--calcite-combobox-selected-icon-color , var (--calcite-color-brand ));
123
123
}
124
124
Original file line number Diff line number Diff line change @@ -280,7 +280,13 @@ export class ComboboxItem extends LitElement implements InteractiveComponent {
280
280
} = this ;
281
281
const isSingleSelect = isSingleLike ( this . selectionMode ) ;
282
282
const icon = disabled || isSingleSelect ? undefined : "check-square-f" ;
283
- const selectionIcon = isSingleSelect ? "circle-inset-large" : "check-square-f" ;
283
+ const selectionIcon = isSingleSelect
284
+ ? this . selected
285
+ ? "circle-inset-large"
286
+ : "circle"
287
+ : this . selected
288
+ ? "check-square-f"
289
+ : "square" ;
284
290
const headingText = heading || textLabel ;
285
291
const itemLabel = label || value ;
286
292
You can’t perform that action at this time.
0 commit comments