Skip to content

Commit

Permalink
refactor(stepper-item): drop unnecessary transitions (#9327)
Browse files Browse the repository at this point in the history
**Related Issue:** N/A

## Summary

Removes transitions per
#8996 (comment).
  • Loading branch information
jcfranco authored May 24, 2024
1 parent 2a27ebf commit 6e3f4d6
Showing 1 changed file with 4 additions and 19 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,7 @@
border-t-2
border-solid
no-underline
outline-none
duration-150
ease-in-out;
outline-none;
}

// focus styles
Expand All @@ -75,17 +73,14 @@

:host .stepper-item-content,
:host .stepper-item-header {
@apply duration-150 ease-in-out;
padding-block: var(--calcite-stepper-item-spacing-unit-l);
padding-inline-end: var(--calcite-stepper-item-spacing-unit-m);
text-align: start;
}

:host .stepper-item-header * {
@apply inline-flex
items-center
duration-150
ease-in-out;
items-center;
}

:host .stepper-item-content {
Expand All @@ -104,9 +99,7 @@
inline-flex
h-3
flex-shrink-0
self-start
duration-150
ease-in-out;
self-start;
}

// stepper item title
Expand All @@ -129,9 +122,7 @@

:host .stepper-item-number {
@apply text-color-3
font-medium
duration-150
ease-in-out;
font-medium;
margin-inline-end: var(--calcite-stepper-item-spacing-unit-m);
}

Expand Down Expand Up @@ -276,12 +267,6 @@
}
}

:host([layout="vertical"]) {
.stepper-item-header:focus {
@apply duration-0;
}
}

:host([layout="horizontal"][disabled]),
:host([layout="horizontal-single"][disabled]) {
.stepper-item-header {
Expand Down

0 comments on commit 6e3f4d6

Please sign in to comment.