|
7 | 7 | ////
|
8 | 8 |
|
9 | 9 | @include b(igx-tree) {
|
10 |
| - display: block; |
| 10 | + @extend %tree-display !optional; |
11 | 11 | }
|
12 | 12 |
|
13 | 13 | @include b(igx-tree-node) {
|
|
17 | 17 | @extend %tree-node !optional;
|
18 | 18 |
|
19 | 19 | @include e(wrapper) {
|
20 |
| - @extend %tree-node-wrapper !optional; |
| 20 | + @extend %node-wrapper !optional; |
21 | 21 | }
|
22 | 22 |
|
23 | 23 | @include e(wrapper, $m: cosy) {
|
24 |
| - @extend %tree-node-wrapper--cosy !optional; |
| 24 | + @extend %node-wrapper--cosy !optional; |
25 | 25 | }
|
26 | 26 |
|
27 | 27 | @include e(wrapper, $m: compact) {
|
28 |
| - @extend %tree-node-wrapper--compact !optional; |
| 28 | + @extend %node-wrapper--compact !optional; |
29 | 29 | }
|
30 | 30 |
|
| 31 | + // STATES START |
31 | 32 | @include e(wrapper, $m: selected) {
|
32 |
| - @extend %tree-node-wrapper--selected !optional; |
| 33 | + @extend %node-wrapper--selected !optional; |
33 | 34 | }
|
34 | 35 |
|
35 | 36 | @include e(wrapper, $m: active) {
|
36 |
| - @extend %tree-node-wrapper--active !optional; |
| 37 | + @extend %node-wrapper--active !optional; |
| 38 | + } |
| 39 | + |
| 40 | + @include e(wrapper, $mods: (active, selected)) { |
| 41 | + @extend %node-wrapper--active-selected !optional; |
| 42 | + } |
| 43 | + |
| 44 | + @include e(wrapper, $m: focused) { |
| 45 | + @extend %node-wrapper--focused !optional; |
37 | 46 | }
|
38 | 47 |
|
39 | 48 | @include e(wrapper, $m: disabled) {
|
40 |
| - @extend %tree-node-wrapper--disabled !optional; |
| 49 | + @extend %node-wrapper--disabled !optional; |
41 | 50 | }
|
| 51 | + // STATES END |
42 | 52 |
|
43 | 53 | @include e(content) {
|
44 |
| - @extend %tree-node-content !optional; |
| 54 | + @extend %node-content !optional; |
45 | 55 | }
|
46 | 56 |
|
47 | 57 | @include e(spacer) {
|
48 |
| - @extend %tree-node-spacer !optional; |
| 58 | + @extend %node-spacer !optional; |
49 | 59 | }
|
50 | 60 |
|
51 |
| - @include e(indicator) { |
52 |
| - @extend %tree-node-indicator !optional; |
| 61 | + @include e(toggle-button) { |
| 62 | + @extend %node-toggle-button !optional; |
53 | 63 | }
|
54 | 64 |
|
55 |
| - @include e(indicator, $m: hidden) { |
56 |
| - @extend %tree-node-indicator--hidden !optional; |
| 65 | + @include e(toggle-button, $m: hidden) { |
| 66 | + @extend %node-toggle-button--hidden !optional; |
57 | 67 | }
|
58 | 68 |
|
59 | 69 | @include e(drop-indicator) {
|
60 |
| - @extend %tree-node-drop-indicator !optional; |
| 70 | + @extend %node-drop-indicator !optional; |
61 | 71 | }
|
62 | 72 |
|
63 | 73 | @include e(select) {
|
64 |
| - @extend %tree-node-select !optional; |
| 74 | + @extend %node-select !optional; |
65 | 75 | }
|
66 | 76 |
|
67 | 77 | @include e(group) {
|
68 |
| - @extend %tree-node-group !optional; |
| 78 | + @extend %node-group !optional; |
69 | 79 | }
|
70 | 80 | }
|
71 | 81 |
|
0 commit comments