Skip to content

Commit 5005fec

Browse files
committed
refactor: adapted the HTML changes out of DB UI Core
1 parent 0e4aaff commit 5005fec

File tree

1 file changed

+2
-6
lines changed
  • packages/db-ui-elements-stencil/src/components/db-chip

1 file changed

+2
-6
lines changed

packages/db-ui-elements-stencil/src/components/db-chip/db-chip.tsx

+2-6
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
// eslint-disable-next-line @typescript-eslint/no-unused-vars
12
import { Component, Host, h, Prop } from '@stencil/core';
23
import { uuid } from '../../utils/utils';
34

@@ -75,12 +76,7 @@ export class DbChip {
7576
name={this.name}
7677
checked={this.selected}
7778
/>
78-
<label
79-
htmlFor={this.input_id}
80-
role="button"
81-
aria-hidden="true"
82-
data-variant={this.variant}
83-
>
79+
<label htmlFor={this.input_id} data-variant={this.variant}>
8480
{this.icon ? <db-icon variant="20-outline" icon={this.icon} /> : null}
8581
<slot />
8682
{this.iconafter ? (

0 commit comments

Comments
 (0)