chore: use cds class prefix in v11 styles

This commit is contained in:
Enrico Sacchetti 2024-01-08 16:17:27 -05:00
commit 465f35c0f3
163 changed files with 1283 additions and 1255 deletions

View file

@ -43,24 +43,24 @@
>
<button
type="button"
class:bx--table-sort="{true}"
class:bx--table-sort--active="{active}"
class:bx--table-sort--ascending="{active &&
class:cds--table-sort="{true}"
class:cds--table-sort--active="{active}"
class:cds--table-sort--ascending="{active &&
sortDirection === 'descending'}"
on:click
>
<div class:bx--table-header-label="{true}">
<div class:cds--table-header-label="{true}">
<slot />
</div>
<ArrowUp
size="{20}"
aria-label="{ariaLabel}"
class="bx--table-sort__icon"
class="cds--table-sort__icon"
/>
<ArrowsVertical
size="{20}"
aria-label="{ariaLabel}"
class="bx--table-sort__icon-unsorted"
class="cds--table-sort__icon-unsorted"
/>
</button>
</th>
@ -74,7 +74,7 @@
on:mouseenter
on:mouseleave
>
<div class:bx--table-header-label="{true}">
<div class:cds--table-header-label="{true}">
<slot />
</div>
</th>