|
| 1 | +//// |
| 2 | +/// @group components |
| 3 | +/// @author <a href="https://github.com/desig9stein" target="_blank">Marin Popov</a> |
| 4 | +/// @requires {mixin} bem-block |
| 5 | +/// @requires {mixin} bem-elem |
| 6 | +/// @requires {mixin} bem-mod |
| 7 | +//// |
| 8 | +@include b(igx-stepper) { |
| 9 | + $block: bem--selector-to-string(&); |
| 10 | + @include register-component($block); |
| 11 | + |
| 12 | + @extend %stepper-display !optional; |
| 13 | + |
| 14 | + @include e(header) { |
| 15 | + @extend %igx-stepper__header !optional; |
| 16 | + } |
| 17 | + |
| 18 | + @include e(body) { |
| 19 | + @extend %igx-stepper__body !optional; |
| 20 | + } |
| 21 | + |
| 22 | + @include e(step) { |
| 23 | + @extend %igx-stepper__step !optional; |
| 24 | + } |
| 25 | + |
| 26 | + @include e(step, $m: simple) { |
| 27 | + @extend %igx-stepper__step--simple !optional; |
| 28 | + } |
| 29 | + |
| 30 | + @include e(step, $m: completed) { |
| 31 | + @extend %igx-stepper__step--completed !optional; |
| 32 | + } |
| 33 | + |
| 34 | + @include e(step, $m: disabled) { |
| 35 | + @extend %igx-stepper__step--disabled !optional; |
| 36 | + } |
| 37 | + |
| 38 | + @include e(step-header) { |
| 39 | + @extend %igx-stepper__step-header !optional; |
| 40 | + } |
| 41 | + |
| 42 | + @include e(step-header, $m: current) { |
| 43 | + @extend %igx-stepper__step-header--current !optional; |
| 44 | + } |
| 45 | + |
| 46 | + @include e(step-header, $m: invalid) { |
| 47 | + @extend %igx-stepper__step-header--invalid !optional; |
| 48 | + } |
| 49 | + |
| 50 | + @include e(step-content) { |
| 51 | + @extend %igx-stepper__step-content !optional; |
| 52 | + } |
| 53 | + |
| 54 | + @include e(step-content-wrapper) { |
| 55 | + @extend %igx-stepper__step-content-wrapper !optional; |
| 56 | + } |
| 57 | + |
| 58 | + @include e(step-indicator) { |
| 59 | + @extend %igx-stepper__step-indicator !optional; |
| 60 | + } |
| 61 | + |
| 62 | + @include e(step-title-wrapper) { |
| 63 | + @extend %igx-stepper__step-title-wrapper !optional; |
| 64 | + } |
| 65 | + |
| 66 | + @include e(step-title) { |
| 67 | + @extend %igx-stepper__step-title !optional; |
| 68 | + } |
| 69 | + |
| 70 | + @include e(step-subtitle) { |
| 71 | + @extend %igx-stepper__step-subtitle !optional; |
| 72 | + } |
| 73 | + |
| 74 | + @include e(step, $m: top) { |
| 75 | + @extend %igx-stepper__step--top !optional; |
| 76 | + } |
| 77 | + |
| 78 | + @include e(step, $m: bottom) { |
| 79 | + @extend %igx-stepper__step--bottom !optional; |
| 80 | + } |
| 81 | + |
| 82 | + @include e(step, $m: start) { |
| 83 | + @extend %igx-stepper__step--start !optional; |
| 84 | + } |
| 85 | + |
| 86 | + @include e(step, $m: end) { |
| 87 | + @extend %igx-stepper__step--end !optional; |
| 88 | + } |
| 89 | + |
| 90 | + @include m(horizontal) { |
| 91 | + @extend %igx-stepper--horizontal !optional; |
| 92 | + |
| 93 | + @include e(body-content) { |
| 94 | + @extend %igx-stepper__body-content !optional; |
| 95 | + } |
| 96 | + |
| 97 | + @include e(body-content, $m: active) { |
| 98 | + @extend %igx-stepper__body-content--active !optional; |
| 99 | + } |
| 100 | + } |
| 101 | +} |
0 commit comments