@bravura/ui 5.2.3 → 6.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (140) hide show
  1. package/CHANGELOG.md +630 -616
  2. package/README.md +56 -56
  3. package/_index.scss +5 -5
  4. package/fesm2022/bravura-ui-alert-testing.mjs.map +1 -1
  5. package/fesm2022/bravura-ui-alert.mjs +13 -13
  6. package/fesm2022/bravura-ui-alert.mjs.map +1 -1
  7. package/fesm2022/bravura-ui-behavior.mjs +25 -21
  8. package/fesm2022/bravura-ui-behavior.mjs.map +1 -1
  9. package/fesm2022/bravura-ui-clip-note.mjs +15 -14
  10. package/fesm2022/bravura-ui-clip-note.mjs.map +1 -1
  11. package/fesm2022/bravura-ui-common.mjs +5 -5
  12. package/fesm2022/bravura-ui-common.mjs.map +1 -1
  13. package/fesm2022/bravura-ui-currency-input.mjs +10 -9
  14. package/fesm2022/bravura-ui-currency-input.mjs.map +1 -1
  15. package/fesm2022/bravura-ui-decimal-input.mjs +10 -9
  16. package/fesm2022/bravura-ui-decimal-input.mjs.map +1 -1
  17. package/fesm2022/bravura-ui-discrete-input.mjs +9 -9
  18. package/fesm2022/bravura-ui-discrete-input.mjs.map +1 -1
  19. package/fesm2022/bravura-ui-file-upload.mjs +12 -12
  20. package/fesm2022/bravura-ui-file-upload.mjs.map +1 -1
  21. package/fesm2022/bravura-ui-form-field.mjs +14 -13
  22. package/fesm2022/bravura-ui-form-field.mjs.map +1 -1
  23. package/fesm2022/bravura-ui-icon-font.mjs +10 -9
  24. package/fesm2022/bravura-ui-icon-font.mjs.map +1 -1
  25. package/fesm2022/bravura-ui-panel.mjs +18 -17
  26. package/fesm2022/bravura-ui-panel.mjs.map +1 -1
  27. package/fesm2022/bravura-ui-phone-number.mjs +20 -17
  28. package/fesm2022/bravura-ui-phone-number.mjs.map +1 -1
  29. package/fesm2022/bravura-ui-radio-panel-testing.mjs.map +1 -1
  30. package/fesm2022/bravura-ui-radio-panel.mjs +14 -14
  31. package/fesm2022/bravura-ui-radio-panel.mjs.map +1 -1
  32. package/fesm2022/bravura-ui-selection-panel.mjs +14 -13
  33. package/fesm2022/bravura-ui-selection-panel.mjs.map +1 -1
  34. package/fesm2022/bravura-ui-skeletons.mjs +18 -13
  35. package/fesm2022/bravura-ui-skeletons.mjs.map +1 -1
  36. package/fesm2022/bravura-ui-stepper.mjs +30 -28
  37. package/fesm2022/bravura-ui-stepper.mjs.map +1 -1
  38. package/fesm2022/bravura-ui-tooltip.mjs +14 -13
  39. package/fesm2022/bravura-ui-tooltip.mjs.map +1 -1
  40. package/m3-theme.scss +155 -155
  41. package/package.json +12 -52
  42. package/radio-panel/_radio-panel-theme.scss +11 -11
  43. package/selection-panel/_selection-panel-theme.scss +33 -33
  44. package/stepper/_stepper-theme.scss +20 -20
  45. package/stepper/public-api.d.ts +1 -1
  46. package/stepper/{step-label-prefix.directive.d.ts → step-label-top.directive.d.ts} +5 -5
  47. package/stepper/stepper.module.d.ts +2 -2
  48. package/theme/_ui-theme-legacy.scss +112 -112
  49. package/theme/_ui-theme.scss +101 -101
  50. package/esm2022/alert/alert-container.component.mjs +0 -207
  51. package/esm2022/alert/alert-message.component.mjs +0 -101
  52. package/esm2022/alert/alert.module.mjs +0 -22
  53. package/esm2022/alert/bravura-ui-alert.mjs +0 -5
  54. package/esm2022/alert/public-api.mjs +0 -2
  55. package/esm2022/alert/testing/bravura-ui-alert-testing.mjs +0 -5
  56. package/esm2022/alert/testing/test-api.mjs +0 -44
  57. package/esm2022/behavior/await.directive.mjs +0 -133
  58. package/esm2022/behavior/behavior.module.mjs +0 -37
  59. package/esm2022/behavior/bravura-ui-behavior.mjs +0 -5
  60. package/esm2022/behavior/observe-content-class.directive.mjs +0 -63
  61. package/esm2022/behavior/public-api.mjs +0 -6
  62. package/esm2022/behavior/sizing-monitor.directive.mjs +0 -31
  63. package/esm2022/behavior/sizing.directive.mjs +0 -256
  64. package/esm2022/bravura-ui.mjs +0 -5
  65. package/esm2022/clip-note/bravura-ui-clip-note.mjs +0 -5
  66. package/esm2022/clip-note/clip-note.component.mjs +0 -216
  67. package/esm2022/clip-note/clip-note.directive.mjs +0 -141
  68. package/esm2022/clip-note/clip-note.module.mjs +0 -32
  69. package/esm2022/clip-note/public-api.mjs +0 -2
  70. package/esm2022/common/bravura-ui-common.mjs +0 -5
  71. package/esm2022/common/common-utils.mjs +0 -34
  72. package/esm2022/common/common.module.mjs +0 -53
  73. package/esm2022/common/public-api.mjs +0 -3
  74. package/esm2022/currency-input/bravura-ui-currency-input.mjs +0 -5
  75. package/esm2022/currency-input/currency-input.directive.mjs +0 -276
  76. package/esm2022/currency-input/currency-input.module.mjs +0 -19
  77. package/esm2022/currency-input/public-api.mjs +0 -2
  78. package/esm2022/decimal-input/bravura-ui-decimal-input.mjs +0 -5
  79. package/esm2022/decimal-input/decimal-input.directive.mjs +0 -122
  80. package/esm2022/decimal-input/decimal-input.module.mjs +0 -19
  81. package/esm2022/decimal-input/public-api.mjs +0 -2
  82. package/esm2022/discrete-input/bravura-ui-discrete-input.mjs +0 -5
  83. package/esm2022/discrete-input/discrete-input.component.mjs +0 -337
  84. package/esm2022/discrete-input/discrete-input.module.mjs +0 -21
  85. package/esm2022/discrete-input/public-api.mjs +0 -3
  86. package/esm2022/file-upload/bravura-ui-file-upload.mjs +0 -5
  87. package/esm2022/file-upload/file-upload.component.mjs +0 -400
  88. package/esm2022/file-upload/file-upload.module.mjs +0 -44
  89. package/esm2022/file-upload/file-upload.service.mjs +0 -29
  90. package/esm2022/file-upload/public-api.mjs +0 -7
  91. package/esm2022/form-field/bravura-ui-form-field.mjs +0 -5
  92. package/esm2022/form-field/form-field.component.mjs +0 -82
  93. package/esm2022/form-field/form-field.module.mjs +0 -33
  94. package/esm2022/form-field/public-api.mjs +0 -3
  95. package/esm2022/icon-font/bravura-ui-icon-font.mjs +0 -5
  96. package/esm2022/icon-font/icon-font.module.mjs +0 -22
  97. package/esm2022/icon-font/icon.directive.mjs +0 -102
  98. package/esm2022/icon-font/public-api.mjs +0 -4
  99. package/esm2022/icon-font/utilities.mjs +0 -51
  100. package/esm2022/panel/bravura-ui-panel.mjs +0 -5
  101. package/esm2022/panel/panel-section.component.mjs +0 -41
  102. package/esm2022/panel/panel.component.mjs +0 -87
  103. package/esm2022/panel/panel.module.mjs +0 -23
  104. package/esm2022/panel/public-api.mjs +0 -2
  105. package/esm2022/panel/tinted.directive.mjs +0 -60
  106. package/esm2022/phone-number/bravura-ui-phone-number.mjs +0 -5
  107. package/esm2022/phone-number/phone-number.directive.mjs +0 -188
  108. package/esm2022/phone-number/phone-number.module.mjs +0 -24
  109. package/esm2022/phone-number/phone-number.pipe.mjs +0 -47
  110. package/esm2022/phone-number/phone-number.validator.mjs +0 -64
  111. package/esm2022/phone-number/public-api.mjs +0 -2
  112. package/esm2022/public-api.mjs +0 -2
  113. package/esm2022/radio-panel/bravura-ui-radio-panel.mjs +0 -5
  114. package/esm2022/radio-panel/public-api.mjs +0 -4
  115. package/esm2022/radio-panel/radio-panel-item.component.mjs +0 -93
  116. package/esm2022/radio-panel/radio-panel.component.mjs +0 -81
  117. package/esm2022/radio-panel/radio-panel.module.mjs +0 -25
  118. package/esm2022/radio-panel/testing/bravura-ui-radio-panel-testing.mjs +0 -5
  119. package/esm2022/radio-panel/testing/test-api.mjs +0 -46
  120. package/esm2022/selection-panel/bravura-ui-selection-panel.mjs +0 -5
  121. package/esm2022/selection-panel/public-api.mjs +0 -4
  122. package/esm2022/selection-panel/selection-panel-item.component.mjs +0 -163
  123. package/esm2022/selection-panel/selection-panel.directive.mjs +0 -119
  124. package/esm2022/selection-panel/selection-panel.module.mjs +0 -23
  125. package/esm2022/skeletons/bravura-ui-skeletons.mjs +0 -5
  126. package/esm2022/skeletons/public-api.mjs +0 -4
  127. package/esm2022/skeletons/skeleton-loader-presets.directive.mjs +0 -83
  128. package/esm2022/skeletons/skeleton-loader.component.mjs +0 -76
  129. package/esm2022/skeletons/skeletons.module.mjs +0 -35
  130. package/esm2022/stepper/bravura-ui-stepper.mjs +0 -5
  131. package/esm2022/stepper/public-api.mjs +0 -4
  132. package/esm2022/stepper/step-label-prefix.directive.mjs +0 -40
  133. package/esm2022/stepper/stepper-animation.mjs +0 -23
  134. package/esm2022/stepper/stepper.component.mjs +0 -178
  135. package/esm2022/stepper/stepper.module.mjs +0 -53
  136. package/esm2022/tooltip/bravura-ui-tooltip.mjs +0 -5
  137. package/esm2022/tooltip/public-api.mjs +0 -4
  138. package/esm2022/tooltip/tooltip.component.mjs +0 -63
  139. package/esm2022/tooltip/tooltip.directive.mjs +0 -150
  140. package/esm2022/tooltip/tooltip.module.mjs +0 -25
@@ -1,112 +1,112 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use './scrollbar.scss' as scrollbar;
4
- @use './bui-card' as card;
5
-
6
- $default-border-color-transition: border-color 100ms cubic-bezier(0.55, 0, 0.55, 0.2);
7
- $mat-foreground-extract: (
8
- 'secondary-text': 'light',
9
- 'hint-text': 'muted',
10
- 'divider': 'divider',
11
- 'base': 'base',
12
- 'inactive': 'inactive'
13
- );
14
-
15
- $mat-background-extract: (
16
- 'card': 'card',
17
- 'background': 'body'
18
- );
19
-
20
- @mixin apply-color($name, $color, $border-color-transition: $default-border-color-transition) {
21
- .bui-border-#{$name} {
22
- border-color: $color !important;
23
- transition: $border-color-transition;
24
- }
25
- .bui-bg-#{$name} {
26
- background-color: $color !important;
27
- }
28
- .bui-color-#{$name} {
29
- color: $color !important;
30
- }
31
- .bui-outline-#{$name} {
32
- outline-color: $color !important;
33
- }
34
- }
35
-
36
- @mixin apply-colors($theme, $border-color-transition: $default-border-color-transition) {
37
- .bui-border-emphasis:hover {
38
- border-color: currentColor !important;
39
- transition: $border-color-transition;
40
- }
41
-
42
- $color-config: mat.m2-get-color-config($theme);
43
- @if $color-config != null {
44
- @include card.bui-card($color-config);
45
- @each $p in (primary, accent, warn) {
46
- $primary-palette: map.get($color-config, $p);
47
- $c: mat.m2-get-color-from-palette($primary-palette, text);
48
- @include apply-color($p, $c, $border-color-transition);
49
- }
50
-
51
- $fg-original: map.get($color-config, 'foreground');
52
- $fg: map.merge(
53
- $fg-original,
54
- (
55
- inactive: rgba(map.get($fg-original, base), 0.06)
56
- )
57
- );
58
-
59
- @each $key, $name in $mat-foreground-extract {
60
- $c: map.get($fg, $key);
61
- @include apply-color($name, $c, $border-color-transition);
62
- }
63
-
64
- .bui-host {
65
- @each $p in (primary, accent, warn) {
66
- $primary-palette: map.get($color-config, $p);
67
- $c: mat.m2-get-color-from-palette($primary-palette, text);
68
- --bui-color-#{$p}: #{$c};
69
- }
70
-
71
- @each $key, $name in $mat-foreground-extract {
72
- $c: map.get($fg, $key);
73
- --bui-color-#{$name}: #{$c};
74
- }
75
-
76
- @each $key, $name in $mat-background-extract {
77
- $bg: map.get($color-config, 'background');
78
- $c: map.get($bg, $key);
79
- --bui-bg-#{$name}: #{$c};
80
- }
81
-
82
- @if map.get($color-config, 'is-dark') == false {
83
- --bui-color-success: #519602;
84
- --bui-color-info: #0dcaf0;
85
- --bui-color-warning: #ffc107;
86
- --bui-color-error: #dc3545;
87
- }
88
- }
89
-
90
- $card-bg: map.get(map.get($color-config, 'background'), 'card');
91
- .iti__country-list {
92
- background-color: $card-bg;
93
- }
94
- }
95
- }
96
-
97
- @mixin theme($theme, $border-color-transition: $default-border-color-transition) {
98
- @include apply-colors($theme, $border-color-transition);
99
- @include scrollbar.bui-scrollbar;
100
-
101
- .mat-icon {
102
- &.fas,
103
- &.far,
104
- &.fab,
105
- &.fa {
106
- display: inline-flex;
107
- justify-content: center;
108
- align-items: center;
109
- font-size: 20px;
110
- }
111
- }
112
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use './scrollbar.scss' as scrollbar;
4
+ @use './bui-card' as card;
5
+
6
+ $default-border-color-transition: border-color 100ms cubic-bezier(0.55, 0, 0.55, 0.2);
7
+ $mat-foreground-extract: (
8
+ 'secondary-text': 'light',
9
+ 'hint-text': 'muted',
10
+ 'divider': 'divider',
11
+ 'base': 'base',
12
+ 'inactive': 'inactive'
13
+ );
14
+
15
+ $mat-background-extract: (
16
+ 'card': 'card',
17
+ 'background': 'body'
18
+ );
19
+
20
+ @mixin apply-color($name, $color, $border-color-transition: $default-border-color-transition) {
21
+ .bui-border-#{$name} {
22
+ border-color: $color !important;
23
+ transition: $border-color-transition;
24
+ }
25
+ .bui-bg-#{$name} {
26
+ background-color: $color !important;
27
+ }
28
+ .bui-color-#{$name} {
29
+ color: $color !important;
30
+ }
31
+ .bui-outline-#{$name} {
32
+ outline-color: $color !important;
33
+ }
34
+ }
35
+
36
+ @mixin apply-colors($theme, $border-color-transition: $default-border-color-transition) {
37
+ .bui-border-emphasis:hover {
38
+ border-color: currentColor !important;
39
+ transition: $border-color-transition;
40
+ }
41
+
42
+ $color-config: mat.m2-get-color-config($theme);
43
+ @if $color-config != null {
44
+ @include card.bui-card($color-config);
45
+ @each $p in (primary, accent, warn) {
46
+ $primary-palette: map.get($color-config, $p);
47
+ $c: mat.m2-get-color-from-palette($primary-palette, text);
48
+ @include apply-color($p, $c, $border-color-transition);
49
+ }
50
+
51
+ $fg-original: map.get($color-config, 'foreground');
52
+ $fg: map.merge(
53
+ $fg-original,
54
+ (
55
+ inactive: rgba(map.get($fg-original, base), 0.06)
56
+ )
57
+ );
58
+
59
+ @each $key, $name in $mat-foreground-extract {
60
+ $c: map.get($fg, $key);
61
+ @include apply-color($name, $c, $border-color-transition);
62
+ }
63
+
64
+ .bui-host {
65
+ @each $p in (primary, accent, warn) {
66
+ $primary-palette: map.get($color-config, $p);
67
+ $c: mat.m2-get-color-from-palette($primary-palette, text);
68
+ --bui-color-#{$p}: #{$c};
69
+ }
70
+
71
+ @each $key, $name in $mat-foreground-extract {
72
+ $c: map.get($fg, $key);
73
+ --bui-color-#{$name}: #{$c};
74
+ }
75
+
76
+ @each $key, $name in $mat-background-extract {
77
+ $bg: map.get($color-config, 'background');
78
+ $c: map.get($bg, $key);
79
+ --bui-bg-#{$name}: #{$c};
80
+ }
81
+
82
+ @if map.get($color-config, 'is-dark') == false {
83
+ --bui-color-success: #519602;
84
+ --bui-color-info: #0dcaf0;
85
+ --bui-color-warning: #ffc107;
86
+ --bui-color-error: #dc3545;
87
+ }
88
+ }
89
+
90
+ $card-bg: map.get(map.get($color-config, 'background'), 'card');
91
+ .iti__country-list {
92
+ background-color: $card-bg;
93
+ }
94
+ }
95
+ }
96
+
97
+ @mixin theme($theme, $border-color-transition: $default-border-color-transition) {
98
+ @include apply-colors($theme, $border-color-transition);
99
+ @include scrollbar.bui-scrollbar;
100
+
101
+ .mat-icon {
102
+ &.fas,
103
+ &.far,
104
+ &.fab,
105
+ &.fa {
106
+ display: inline-flex;
107
+ justify-content: center;
108
+ align-items: center;
109
+ font-size: 20px;
110
+ }
111
+ }
112
+ }
@@ -1,101 +1,101 @@
1
- @use 'sass:map';
2
- @use '@angular/material' as mat;
3
- @use './scrollbar.scss' as scrollbar;
4
- @use './bui-card' as card;
5
- @use './ui-theme-legacy' as legacy;
6
- @use '../stepper/stepper-theme' as stepper;
7
- @use '../radio-panel/radio-panel-theme' as radio;
8
- @use '../selection-panel/selection-panel-theme' as selection;
9
-
10
- $default-border-color-transition: border-color 100ms cubic-bezier(0.55, 0, 0.55, 0.2);
11
- $mat-foreground-extract: (
12
- 'secondary-text': 'light',
13
- 'hint-text': 'muted',
14
- 'divider': 'divider',
15
- 'base': 'base',
16
- 'inactive': 'inactive'
17
- );
18
-
19
- $mat-background-extract: (
20
- 'card': 'card',
21
- 'background': 'body'
22
- );
23
-
24
- @mixin all-component-colors($theme, $border-color-transition: $default-border-color-transition) {
25
- @if (mat.get-theme-version($theme) == 1) {
26
- @include stepper.color($theme);
27
- @include radio.color($theme);
28
- @include selection.color($theme);
29
-
30
- .bui-border-emphasis:hover {
31
- border-color: currentColor !important;
32
- transition: $border-color-transition;
33
- }
34
-
35
- // @include card.bui-card($color-config);
36
- @each $p in (primary, tertiary, secondary, error) {
37
- $c: mat.get-theme-color($theme, $p);
38
- @include apply-color($p, $c, $border-color-transition);
39
- }
40
-
41
- .bui-host {
42
- @each $p in (primary, tertiary, secondary, error) {
43
- $c: mat.get-theme-color($theme, $p);
44
- --bui-color-#{$p}: #{$c};
45
- }
46
-
47
- @if mat.get-theme-type($theme) != dark {
48
- --bui-color-success: #519602;
49
- --bui-color-info: #0dcaf0;
50
- --bui-color-warning: #ffc107;
51
- --bui-color-error: #dc3545;
52
- }
53
- }
54
- } @else {
55
- @include legacy.apply-colors($theme);
56
- }
57
- }
58
-
59
- @mixin apply-color($name, $color, $border-color-transition: $default-border-color-transition) {
60
- .bui-border-#{$name} {
61
- border-color: $color !important;
62
- transition: $border-color-transition;
63
- }
64
- .bui-bg-#{$name} {
65
- background-color: $color !important;
66
- }
67
- .bui-color-#{$name} {
68
- color: $color !important;
69
- }
70
- .bui-outline-#{$name} {
71
- outline-color: $color !important;
72
- }
73
- }
74
-
75
- @mixin apply-colors($theme, $border-color-transition: $default-border-color-transition) {
76
- @include all-component-colors($theme, $border-color-transition);
77
- }
78
-
79
- @mixin theme($theme, $border-color-transition: $default-border-color-transition) {
80
- @if (mat.get-theme-version($theme) == 1) {
81
- @include apply-colors($theme, $border-color-transition);
82
- @include stepper.theme($theme);
83
- @include radio.theme($theme);
84
- @include selection.theme($theme);
85
- @include scrollbar.bui-scrollbar;
86
-
87
- .mat-icon {
88
- &.fas,
89
- &.far,
90
- &.fab,
91
- &.fa {
92
- display: inline-flex;
93
- justify-content: center;
94
- align-items: center;
95
- font-size: 20px;
96
- }
97
- }
98
- } @else {
99
- @include legacy.theme($theme);
100
- }
101
- }
1
+ @use 'sass:map';
2
+ @use '@angular/material' as mat;
3
+ @use './scrollbar.scss' as scrollbar;
4
+ @use './bui-card' as card;
5
+ @use './ui-theme-legacy' as legacy;
6
+ @use '../stepper/stepper-theme' as stepper;
7
+ @use '../radio-panel/radio-panel-theme' as radio;
8
+ @use '../selection-panel/selection-panel-theme' as selection;
9
+
10
+ $default-border-color-transition: border-color 100ms cubic-bezier(0.55, 0, 0.55, 0.2);
11
+ $mat-foreground-extract: (
12
+ 'secondary-text': 'light',
13
+ 'hint-text': 'muted',
14
+ 'divider': 'divider',
15
+ 'base': 'base',
16
+ 'inactive': 'inactive'
17
+ );
18
+
19
+ $mat-background-extract: (
20
+ 'card': 'card',
21
+ 'background': 'body'
22
+ );
23
+
24
+ @mixin all-component-colors($theme, $border-color-transition: $default-border-color-transition) {
25
+ @if (mat.get-theme-version($theme) == 1) {
26
+ @include stepper.color($theme);
27
+ @include radio.color($theme);
28
+ @include selection.color($theme);
29
+
30
+ .bui-border-emphasis:hover {
31
+ border-color: currentColor !important;
32
+ transition: $border-color-transition;
33
+ }
34
+
35
+ // @include card.bui-card($color-config);
36
+ @each $p in (primary, tertiary, secondary, error) {
37
+ $c: mat.get-theme-color($theme, $p);
38
+ @include apply-color($p, $c, $border-color-transition);
39
+ }
40
+
41
+ .bui-host {
42
+ @each $p in (primary, tertiary, secondary, error) {
43
+ $c: mat.get-theme-color($theme, $p);
44
+ --bui-color-#{$p}: #{$c};
45
+ }
46
+
47
+ @if mat.get-theme-type($theme) != dark {
48
+ --bui-color-success: #519602;
49
+ --bui-color-info: #0dcaf0;
50
+ --bui-color-warning: #ffc107;
51
+ --bui-color-error: #dc3545;
52
+ }
53
+ }
54
+ } @else {
55
+ @include legacy.apply-colors($theme);
56
+ }
57
+ }
58
+
59
+ @mixin apply-color($name, $color, $border-color-transition: $default-border-color-transition) {
60
+ .bui-border-#{$name} {
61
+ border-color: $color !important;
62
+ transition: $border-color-transition;
63
+ }
64
+ .bui-bg-#{$name} {
65
+ background-color: $color !important;
66
+ }
67
+ .bui-color-#{$name} {
68
+ color: $color !important;
69
+ }
70
+ .bui-outline-#{$name} {
71
+ outline-color: $color !important;
72
+ }
73
+ }
74
+
75
+ @mixin apply-colors($theme, $border-color-transition: $default-border-color-transition) {
76
+ @include all-component-colors($theme, $border-color-transition);
77
+ }
78
+
79
+ @mixin theme($theme, $border-color-transition: $default-border-color-transition) {
80
+ @if (mat.get-theme-version($theme) == 1) {
81
+ @include apply-colors($theme, $border-color-transition);
82
+ @include stepper.theme($theme);
83
+ @include radio.theme($theme);
84
+ @include selection.theme($theme);
85
+ @include scrollbar.bui-scrollbar;
86
+
87
+ .mat-icon {
88
+ &.fas,
89
+ &.far,
90
+ &.fab,
91
+ &.fa {
92
+ display: inline-flex;
93
+ justify-content: center;
94
+ align-items: center;
95
+ font-size: 20px;
96
+ }
97
+ }
98
+ } @else {
99
+ @include legacy.theme($theme);
100
+ }
101
+ }