@soyfri/template 1.0.8 → 1.0.10-beta.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 (95) hide show
  1. package/README.md +3 -3
  2. package/dist/assets/sass/_init.scss +19 -23
  3. package/dist/assets/sass/components/components.scss +3 -3
  4. package/dist/assets/sass/core/base/_functions.scss +5 -5
  5. package/dist/assets/sass/core/base/_mixins.scss +6 -6
  6. package/dist/assets/sass/core/base/functions/_get.scss +20 -23
  7. package/dist/assets/sass/core/base/functions/_math.scss +1 -2
  8. package/dist/assets/sass/core/base/functions/_set.scss +13 -16
  9. package/dist/assets/sass/core/base/functions/_theme-colors.scss +3 -5
  10. package/dist/assets/sass/core/components/_bootstrap-icon.scss +1 -2
  11. package/dist/assets/sass/core/components/_buttons.scss +2 -2
  12. package/dist/assets/sass/core/components/_card.scss +1 -2
  13. package/dist/assets/sass/core/components/_fixed.scss +1 -2
  14. package/dist/assets/sass/core/components/_forms.scss +8 -8
  15. package/dist/assets/sass/core/components/_helpers.scss +7 -7
  16. package/dist/assets/sass/core/components/_menu.scss +2 -2
  17. package/dist/assets/sass/core/components/_mixins.scss +8 -8
  18. package/dist/assets/sass/core/components/_scroll.scss +1 -2
  19. package/dist/assets/sass/core/components/_stepper.scss +3 -3
  20. package/dist/assets/sass/core/components/_svg-icon.scss +1 -2
  21. package/dist/assets/sass/core/components/_symbol.scss +1 -2
  22. package/dist/assets/sass/core/components/_tables.scss +1 -2
  23. package/dist/assets/sass/core/components/_utilities.scss +1 -2
  24. package/dist/assets/sass/core/components/_variables-dark.scss +1 -2
  25. package/dist/assets/sass/core/components/_variables.scss +7 -8
  26. package/dist/assets/sass/core/components/buttons/_theme.scss +3 -4
  27. package/dist/assets/sass/core/components/components.scss +63 -72
  28. package/dist/assets/sass/core/components/helpers/_background.scss +1 -2
  29. package/dist/assets/sass/core/components/helpers/_flex.scss +1 -2
  30. package/dist/assets/sass/core/components/menu/_base.scss +1 -2
  31. package/dist/assets/sass/core/components/mixins/_menu.scss +2 -4
  32. package/dist/assets/sass/core/components/wizard.scss +1 -1
  33. package/dist/assets/sass/core/layout/base/_layout.scss +25 -25
  34. package/dist/assets/sass/core/vendors/plugins/_mixins.scss +1 -1
  35. package/dist/assets/sass/core/vendors/plugins/_plugins.angular.scss +7 -7
  36. package/dist/assets/sass/core/vendors/plugins/_plugins.react.scss +7 -7
  37. package/dist/assets/sass/core/vendors/plugins/_plugins.scss +29 -29
  38. package/dist/assets/sass/core/vendors/plugins/_plugins.vue.scss +7 -7
  39. package/dist/assets/sass/core/vendors/plugins/_variables-dark.scss +4 -5
  40. package/dist/assets/sass/core/vendors/plugins/_variables.scss +4 -5
  41. package/dist/assets/sass/layout/_layout.scss +13 -13
  42. package/dist/assets/sass/layout/_variables.custom.scss +2 -3
  43. package/dist/assets/sass/style.react.scss +4 -8
  44. package/dist/assets/sass/style.scss +5 -5
  45. package/dist/assets/ts/_utils/DomHelpers.d.ts +1 -1
  46. package/dist/assets/ts/_utils/DomHelpers.js +1 -1
  47. package/dist/assets/ts/_utils/DomHelpers.ts +1 -1
  48. package/dist/assets/ts/_utils/EventHandlerUtil.d.ts +1 -4
  49. package/dist/assets/ts/_utils/EventHandlerUtil.js +1 -15
  50. package/dist/assets/ts/_utils/EventHandlerUtil.ts +1 -28
  51. package/dist/assets/ts/components/MenuComponent.d.ts +0 -2
  52. package/dist/assets/ts/components/MenuComponent.js +3 -11
  53. package/dist/assets/ts/components/MenuComponent.ts +3 -12
  54. package/dist/assets/ts/components/_DrawerComponent.d.ts +0 -2
  55. package/dist/assets/ts/components/_DrawerComponent.js +0 -10
  56. package/dist/assets/ts/components/_DrawerComponent.ts +0 -12
  57. package/dist/assets/ts/components/_FeedbackComponent.d.ts +4 -4
  58. package/dist/assets/ts/components/_FeedbackComponent.js +4 -4
  59. package/dist/assets/ts/components/_FeedbackComponent.ts +4 -4
  60. package/dist/assets/ts/components/_ImageInputComponent.d.ts +0 -1
  61. package/dist/assets/ts/components/_ImageInputComponent.js +0 -20
  62. package/dist/assets/ts/components/_ImageInputComponent.ts +0 -25
  63. package/dist/assets/ts/components/_PasswordMeterComponent.d.ts +0 -1
  64. package/dist/assets/ts/components/_PasswordMeterComponent.js +0 -3
  65. package/dist/assets/ts/components/_PasswordMeterComponent.ts +1 -3
  66. package/dist/assets/ts/components/_ScrollComponent.d.ts +1 -1
  67. package/dist/assets/ts/components/_ScrollComponent.js +1 -1
  68. package/dist/assets/ts/components/_ScrollComponent.ts +1 -1
  69. package/dist/assets/ts/components/_StepperComponent.d.ts +1 -4
  70. package/dist/assets/ts/components/_StepperComponent.js +1 -17
  71. package/dist/assets/ts/components/_StepperComponent.ts +1 -19
  72. package/dist/assets/ts/components/_SwapperComponent.d.ts +1 -1
  73. package/dist/assets/ts/components/_SwapperComponent.js +1 -1
  74. package/dist/assets/ts/components/_SwapperComponent.ts +1 -1
  75. package/dist/partials/index.d.ts +1 -0
  76. package/dist/partials/index.js +1 -1
  77. package/dist/partials/widgets/charts/ChartsWidget1.js +10 -2
  78. package/dist/partials/widgets/charts/ChartsWidget2.js +10 -2
  79. package/dist/partials/widgets/charts/ChartsWidget3.js +10 -2
  80. package/dist/partials/widgets/charts/ChartsWidget4.js +10 -2
  81. package/dist/partials/widgets/charts/ChartsWidget5.js +10 -2
  82. package/dist/partials/widgets/charts/ChartsWidget6.js +10 -2
  83. package/dist/partials/widgets/charts/ChartsWidget7.js +10 -2
  84. package/dist/partials/widgets/charts/ChartsWidget8.js +10 -2
  85. package/dist/partials/widgets/mixed/MixedWidget10.js +10 -2
  86. package/dist/partials/widgets/mixed/MixedWidget11.js +10 -2
  87. package/dist/partials/widgets/mixed/MixedWidget13.js +10 -2
  88. package/dist/partials/widgets/mixed/MixedWidget2.js +10 -2
  89. package/dist/partials/widgets/mixed/MixedWidget3.js +10 -2
  90. package/dist/partials/widgets/mixed/MixedWidget6.js +10 -2
  91. package/dist/partials/widgets/mixed/MixedWidget8.js +10 -2
  92. package/dist/partials/widgets/mixed/MixedWidget9.js +10 -2
  93. package/dist/partials/widgets/statistics/StatisticsWidget3.js +10 -2
  94. package/dist/partials/widgets/statistics/StatisticsWidget4.js +8 -0
  95. package/package.json +32 -30
package/README.md CHANGED
@@ -8,7 +8,7 @@ This package contains a Metronic template specifically designed for FRI frontend
8
8
  At this point, if the dependencies are updated, the whole project can break, be careful.
9
9
 
10
10
  ```sh
11
- npm install
11
+ npm install --legacy-peer-deps
12
12
  ```
13
13
 
14
14
  ## Installation
@@ -20,8 +20,8 @@ yarn add @soyfri/template
20
20
 
21
21
  ## Requirements
22
22
  ### Peer Dependencies
23
- - React >=19.0.0
24
- - React DOM >=19.0.0
23
+ - React >=16.8.0
24
+ - React DOM >=16.8.0
25
25
 
26
26
  ## Usage
27
27
 
@@ -4,33 +4,29 @@
4
4
 
5
5
 
6
6
  // Custom functions & mixins
7
- @use "./core/base/functions" as *; // Use 'as *' to make functions globally accessible
8
- @use "./core/base/mixins" as *; // Use 'as *' to make mixins globally accessible
9
- @use "./core/components/mixins" as *; // Use 'as *' to make mixins globally accessible
10
- @use "./core/vendors/plugins/mixins" as *; // Use 'as *' to make mixins globally accessible
7
+ @import "./core/base/functions";
8
+ @import "./core/base/mixins";
9
+ @import "./core/components/mixins";
10
+ @import "./core/vendors/plugins/mixins";
11
11
 
12
12
  // Custom variables
13
- @use "components/variables.custom" as *; // Use 'as *' to make variables globally accessible
14
- @use "./core/components/variables" as *; // Use 'as *' to make variables globally accessible
15
- @use "./core/components/variables-dark" as *; // Use 'as *' to make variables globally accessible
16
- @use "components/variables.override" as *; // Use 'as *' to make variables globally accessible
13
+ @import "components/variables.custom";
14
+ @import "./core/components/variables";
15
+ @import "./core/components/variables-dark";
16
+ @import "components/variables.override";
17
17
 
18
- // Bootstrap initialization
19
- // Bootstrap modules are designed to be used with `@use`.
20
- // By default, many of their core components and utilities are exposed globally
21
- // once their respective modules are `@use`-ed. We'll use `as *` for consistency,
22
- // assuming you want their functions, variables, and mixins widely available.
23
- @use "bootstrap/scss/functions" as *;
24
- @use "bootstrap/scss/variables" as *;
25
- @use "bootstrap/scss/variables-dark" as *;
26
- @use "bootstrap/scss/maps" as *;
27
- @use "bootstrap/scss/mixins" as *;
28
- @use "bootstrap/scss/utilities" as *;
18
+ // Bootstrap initializaton
19
+ @import "bootstrap/scss/functions";
20
+ @import "bootstrap/scss/variables";
21
+ @import "bootstrap/scss/variables-dark";
22
+ @import "bootstrap/scss/maps";
23
+ @import "bootstrap/scss/mixins";
24
+ @import "bootstrap/scss/utilities";
29
25
 
30
26
  // 3rd-Party plugins variables
31
- @use "./core/vendors/plugins/variables" as *; // Use 'as *' to make variables globally accessible
32
- @use "./core/vendors/plugins/variables-dark" as *; // Use 'as *' to make variables globally accessible
27
+ @import "./core/vendors/plugins/variables";
28
+ @import "./core/vendors/plugins/variables-dark";
33
29
 
34
30
  // Custom layout variables
35
- @use "./core/layout/base/variables" as *; // Use 'as *' to make variables globally accessible
36
- @use "layout/variables.custom" as *; // Use 'as *' to make variables globally accessible
31
+ @import "./core/layout/base/variables";
32
+ @import "layout/variables.custom";
@@ -3,6 +3,6 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "stepper/multistep";
7
- @use "landing";
8
- @use "btn-secondary";
6
+ @import "stepper/multistep";
7
+ @import "landing";
8
+ @import "btn-secondary";
@@ -3,8 +3,8 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "functions/get";
7
- @use "functions/set";
8
- @use "functions/math";
9
- @use "functions/valueif";
10
- @use "functions/theme-colors";
6
+ @import "functions/get";
7
+ @import "functions/set";
8
+ @import "functions/math";
9
+ @import "functions/valueif";
10
+ @import "functions/theme-colors";
@@ -3,9 +3,9 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "mixins/property";
7
- @use "mixins/browsers";
8
- @use "mixins/fixes";
9
- @use "mixins/reset";
10
- @use "mixins/placeholder";
11
- @use "mixins/breakpoints";
6
+ @import "mixins/property";
7
+ @import "mixins/browsers";
8
+ @import "mixins/fixes";
9
+ @import "mixins/reset";
10
+ @import "mixins/placeholder";
11
+ @import "mixins/breakpoints";
@@ -1,35 +1,32 @@
1
- @use "sass:list";
2
- @use "sass:map";
3
- @use "sass:meta";
4
1
  //
5
2
  // Get
6
3
  //
7
4
 
8
5
  @function get($map, $keys...) {
9
- @if list.length($keys) == 1 {
10
- $keys: list.nth($keys, 1);
6
+ @if length($keys) == 1 {
7
+ $keys: nth($keys, 1);
11
8
  }
12
9
 
13
- @if meta.type-of($map) != 'map' or $map == null {
10
+ @if type-of($map) != 'map' or $map == null {
14
11
  //@return false;
15
12
  }
16
13
 
17
- $warn: "#{list.nth($keys, 1)}";
18
- $length: list.length($keys);
19
- $get: map.get($map, list.nth($keys, 1));
14
+ $warn: "#{nth($keys, 1)}";
15
+ $length: length($keys);
16
+ $get: map-get($map, nth($keys, 1));
20
17
 
21
18
  @if $length > 1 {
22
19
  @for $i from 2 through $length {
23
- @if $get != null and meta.type-of($get) == 'map' {
24
- $warn: $warn + "->#{list.nth($keys, $i)}";
25
- $get: map.get($get, list.nth($keys, $i));
20
+ @if $get != null and type-of($get) == 'map' {
21
+ $warn: $warn + "->#{nth($keys, $i)}";
22
+ $get: map-get($get, nth($keys, $i));
26
23
 
27
24
  @if $get == null {
28
25
  @return null;
29
26
  }
30
27
  }
31
28
  @else {
32
- @return get-warning($warn, $get, list.nth($keys, $i));
29
+ @return get-warning($warn, $get, nth($keys, $i));
33
30
  }
34
31
  }
35
32
  }
@@ -38,23 +35,23 @@
38
35
  }
39
36
 
40
37
  @function has($map, $keys...) {
41
- @if list.length($keys) == 1 {
42
- $keys: list.nth($keys, 1);
38
+ @if length($keys) == 1 {
39
+ $keys: nth($keys, 1);
43
40
  }
44
41
 
45
- @if meta.type-of($map) != 'map' or $map == null {
42
+ @if type-of($map) != 'map' or $map == null {
46
43
  //@return false;
47
44
  }
48
45
 
49
- $warn: "#{list.nth($keys, 1)}";
50
- $length: list.length($keys);
51
- $get: map.get($map, list.nth($keys, 1));
46
+ $warn: "#{nth($keys, 1)}";
47
+ $length: length($keys);
48
+ $get: map-get($map, nth($keys, 1));
52
49
 
53
50
  @if $length > 1 {
54
51
  @for $i from 2 through $length {
55
- @if $get != null and meta.type-of($get) == 'map' {
56
- $warn: $warn + "->#{list.nth($keys, $i)}";
57
- $get: map.get($get, list.nth($keys, $i));
52
+ @if $get != null and type-of($get) == 'map' {
53
+ $warn: $warn + "->#{nth($keys, $i)}";
54
+ $get: map-get($get, nth($keys, $i));
58
55
 
59
56
  @if $get == null {
60
57
  @return false;
@@ -78,7 +75,7 @@
78
75
  @if $get == null {
79
76
  @warn "Map has no value for key search `#{$warn}`";
80
77
  }
81
- @else if meta.type-of($get) != 'map' {
78
+ @else if type-of($get) != 'map' {
82
79
  @warn "Non-map value found for key search `#{$warn}`, cannot search for key `#{$key}`";
83
80
  }
84
81
  @return null;
@@ -1,4 +1,3 @@
1
- @use "sass:math";
2
1
  //
3
2
  // Math
4
3
  //
@@ -8,7 +7,7 @@
8
7
  $x1: $x0;
9
8
 
10
9
  @for $i from 1 through 10 {
11
- $x1: $x0 - ($x0 * $x0 - math.abs($r)) / (2 * $x0);
10
+ $x1: $x0 - ($x0 * $x0 - abs($r)) / (2 * $x0);
12
11
  $x0: $x1;
13
12
  }
14
13
 
@@ -1,6 +1,3 @@
1
- @use "sass:list";
2
- @use "sass:map";
3
- @use "sass:meta";
4
1
  /// Deep set function to set a value in nested maps
5
2
 
6
3
  @function set($map, $keys, $value) {
@@ -9,36 +6,36 @@
9
6
 
10
7
  // If the last key is a map already
11
8
  // Warn the user we will be overriding it with $value
12
- @if meta.type-of(list.nth($keys, -1)) == "map" {
9
+ @if type-of(nth($keys, -1)) == "map" {
13
10
  @warn "The last key you specified is a map; it will be overrided with `#{$value}`.";
14
11
  }
15
12
 
16
13
  // If $keys is a single key
17
14
  // Just merge and return
18
- @if list.length($keys) == 1 {
19
- @return map.merge($map, ($keys: $value));
15
+ @if length($keys) == 1 {
16
+ @return map-merge($map, ($keys: $value));
20
17
  }
21
18
 
22
19
  // Loop from the first to the second to last key from $keys
23
20
  // Store the associated map to this key in the $maps list
24
21
  // If the key doesn't exist, throw an error
25
- @for $i from 1 through list.length($keys) - 1 {
26
- $current-key: list.nth($keys, $i);
27
- $current-map: list.nth($maps, -1);
28
- $current-get: map.get($current-map, $current-key);
22
+ @for $i from 1 through length($keys) - 1 {
23
+ $current-key: nth($keys, $i);
24
+ $current-map: nth($maps, -1);
25
+ $current-get: map-get($current-map, $current-key);
29
26
  @if $current-get == null {
30
27
  @error "Key `#{$key}` doesn't exist at current level in map.";
31
28
  }
32
- $maps: list.append($maps, $current-get);
29
+ $maps: append($maps, $current-get);
33
30
  }
34
31
 
35
32
  // Loop from the last map to the first one
36
33
  // Merge it with the previous one
37
- @for $i from list.length($maps) through 1 {
38
- $current-map: list.nth($maps, $i);
39
- $current-key: list.nth($keys, $i);
40
- $current-val: if($i == list.length($maps), $value, $result);
41
- $result: map.merge($current-map, ($current-key: $current-val));
34
+ @for $i from length($maps) through 1 {
35
+ $current-map: nth($maps, $i);
36
+ $current-key: nth($keys, $i);
37
+ $current-val: if($i == length($maps), $value, $result);
38
+ $result: map-merge($current-map, ($current-key: $current-val));
42
39
  }
43
40
 
44
41
  // Return result
@@ -1,17 +1,15 @@
1
- @use "functions/get";
2
-
3
1
  //
4
2
  // Bootstrap extended functions
5
3
  //
6
4
 
7
5
  @function theme-inverse-color($key: "primary") {
8
- @return get.get($theme-inverse-colors, $key);
6
+ @return get($theme-inverse-colors, $key);
9
7
  }
10
8
 
11
9
  @function theme-active-color($key: "primary") {
12
- @return get.get($theme-active-colors, $key);
10
+ @return get($theme-active-colors, $key);
13
11
  }
14
12
 
15
13
  @function theme-light-color($key: "primary") {
16
- @return get.get($theme-light-colors, $key);
14
+ @return get($theme-light-colors, $key);
17
15
  }
@@ -1,6 +1,5 @@
1
- @use "sass:map";
2
1
  .bi {
3
- @each $breakpoint in map.keys($grid-breakpoints) {
2
+ @each $breakpoint in map-keys($grid-breakpoints) {
4
3
  @include media-breakpoint-up($breakpoint) {
5
4
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
6
5
 
@@ -3,5 +3,5 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "buttons/base";
7
- @use "buttons/theme";
6
+ @import "buttons/base";
7
+ @import "buttons/theme";
@@ -1,4 +1,3 @@
1
- @use "sass:map";
2
1
  //
3
2
  // Card
4
3
  //
@@ -212,7 +211,7 @@
212
211
 
213
212
  // Responsive stretch heights
214
213
  .card {
215
- @each $breakpoint in map.keys($grid-breakpoints) {
214
+ @each $breakpoint in map-keys($grid-breakpoints) {
216
215
  @include media-breakpoint-up($breakpoint) {
217
216
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
218
217
 
@@ -1,9 +1,8 @@
1
- @use "sass:map";
2
1
  //
3
2
  // Fixed
4
3
  //
5
4
 
6
- @each $breakpoint in map.keys($grid-breakpoints) {
5
+ @each $breakpoint in map-keys($grid-breakpoints) {
7
6
  @include media-breakpoint-up($breakpoint) {
8
7
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
9
8
 
@@ -3,11 +3,11 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "forms/labels";
7
- @use "forms/form-control";
8
- @use "forms/floating-labels";
9
- @use "forms/form-select";
10
- @use "forms/form-check";
11
- @use "forms/input-group";
12
- @use "forms/floating-labels";
13
- @use "forms/required";
6
+ @import "forms/labels";
7
+ @import "forms/form-control";
8
+ @import "forms/floating-labels";
9
+ @import "forms/form-select";
10
+ @import "forms/form-check";
11
+ @import "forms/input-group";
12
+ @import "forms/floating-labels";
13
+ @import "forms/required";
@@ -3,10 +3,10 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "helpers/background";
7
- @use "helpers/borders";
8
- @use "helpers/flex";
9
- @use "helpers/shadow";
10
- @use "helpers/text";
11
- @use "helpers/opacity";
12
- @use "helpers/transform";
6
+ @import "helpers/background";
7
+ @import "helpers/borders";
8
+ @import "helpers/flex";
9
+ @import "helpers/shadow";
10
+ @import "helpers/text";
11
+ @import "helpers/opacity";
12
+ @import "helpers/transform";
@@ -3,5 +3,5 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "menu/base";
7
- @use "menu/theme";
6
+ @import "menu/base";
7
+ @import "menu/theme";
@@ -3,11 +3,11 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "mixins/menu";
7
- @use "mixins/buttons";
8
- @use "mixins/ki";
9
- @use "mixins/symbol";
10
- @use "mixins/svg-icon";
11
- @use "mixins/svg-bg-icon";
12
- @use "mixins/scroll";
13
- @use "mixins/shape";
6
+ @import "mixins/menu";
7
+ @import "mixins/buttons";
8
+ @import "mixins/ki";
9
+ @import "mixins/symbol";
10
+ @import "mixins/svg-icon";
11
+ @import "mixins/svg-bg-icon";
12
+ @import "mixins/scroll";
13
+ @import "mixins/shape";
@@ -1,4 +1,3 @@
1
- @use "sass:map";
2
1
  //
3
2
  // Scroll
4
3
  //
@@ -81,7 +80,7 @@
81
80
  }
82
81
 
83
82
  // Utilities
84
- @each $breakpoint in map.keys($grid-breakpoints) {
83
+ @each $breakpoint in map-keys($grid-breakpoints) {
85
84
  @include media-breakpoint-up($breakpoint) {
86
85
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
87
86
 
@@ -3,6 +3,6 @@
3
3
  //
4
4
 
5
5
  // Import Dependencies
6
- @use "stepper/base";
7
- @use "stepper/pills";
8
- @use "stepper/links";
6
+ @import "stepper/base";
7
+ @import "stepper/pills";
8
+ @import "stepper/links";
@@ -1,4 +1,3 @@
1
- @use "sass:map";
2
1
  //
3
2
  // SVG Icon
4
3
  //
@@ -16,7 +15,7 @@
16
15
  }
17
16
 
18
17
  // Responsive icon sizes
19
- @each $breakpoint in map.keys($grid-breakpoints) {
18
+ @each $breakpoint in map-keys($grid-breakpoints) {
20
19
  @include media-breakpoint-up($breakpoint) {
21
20
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
22
21
 
@@ -1,4 +1,3 @@
1
- @use "sass:map";
2
1
  //
3
2
  // symbol
4
3
  //
@@ -70,7 +69,7 @@
70
69
  // Sizes
71
70
  @include symbol-size(get($symbol-sizes, default));
72
71
 
73
- @each $breakpoint in map.keys($grid-breakpoints) {
72
+ @each $breakpoint in map-keys($grid-breakpoints) {
74
73
  @include media-breakpoint-up($breakpoint) {
75
74
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
76
75
 
@@ -1,4 +1,3 @@
1
- @use "sass:map";
2
1
  //
3
2
  // Table
4
3
  //
@@ -198,7 +197,7 @@
198
197
  }
199
198
 
200
199
  // Cell gutters
201
- @each $breakpoint in map.keys($grid-breakpoints) {
200
+ @each $breakpoint in map-keys($grid-breakpoints) {
202
201
  @include media-breakpoint-up($breakpoint) {
203
202
  $infix: breakpoint-infix($breakpoint, $grid-breakpoints);
204
203
 
@@ -1,9 +1,8 @@
1
- @use "sass:map";
2
1
  //
3
2
  // Custom utilities
4
3
  //
5
4
 
6
- $utilities: map.merge(
5
+ $utilities: map-merge(
7
6
  $utilities,
8
7
  (
9
8
  "cursor": (
@@ -1,4 +1,3 @@
1
- @use "sass:color";
2
1
  // Bootstrap color system
3
2
 
4
3
  //
@@ -322,7 +321,7 @@ $rating-color-active-dark: #FFAD0F !default;
322
321
  // Keenthemes ribbon component
323
322
  $ribbon-label-box-shadow-dark: 0px -1px 5px 0px rgba($white, 0.1) !default;
324
323
  $ribbon-label-bg-dark: $primary !default;
325
- $ribbon-label-border-color-dark: color.adjust($primary, $lightness: -20%) !default;
324
+ $ribbon-label-border-color-dark: darken($primary, 20%) !default;
326
325
  $ribbon-clip-bg-dark: $light !default;
327
326
 
328
327
  // Engage panel
@@ -1,4 +1,3 @@
1
- @use "sass:color";
2
1
  //
3
2
  // Bootstrap & Custom Variables
4
3
  // Safely override any variable in _variables.custom.scss
@@ -1258,7 +1257,7 @@ $rating-color-active: #FFAD0F !default;
1258
1257
  // Keenthemes ribbon component
1259
1258
  $ribbon-label-box-shadow: 0px -1px 5px 0px rgba($dark, 0.1) !default;
1260
1259
  $ribbon-label-bg: $primary !default;
1261
- $ribbon-label-border-color: color.adjust($primary, $lightness: -20%) !default;
1260
+ $ribbon-label-border-color: darken($primary, 20%) !default;
1262
1261
  $ribbon-clip-bg: $dark !default;
1263
1262
 
1264
1263
  // Keenthemes fixed component
@@ -1279,36 +1278,36 @@ $social-colors: (
1279
1278
  base: #3b5998,
1280
1279
  inverse: #ffffff,
1281
1280
  light: rgba(#3b5998, 0.1),
1282
- active: color.adjust(#3b5998, $lightness: -7.5%)
1281
+ active: darken(#3b5998, 7.5%)
1283
1282
  ),
1284
1283
  google: (
1285
1284
  base: #dd4b39,
1286
1285
  inverse: #ffffff,
1287
1286
  light: rgba(#dd4b39, 0.1),
1288
- active: color.adjust(#dd4b39, $lightness: -7.5%)
1287
+ active: darken(#dd4b39, 7.5%)
1289
1288
  ),
1290
1289
  twitter: (
1291
1290
  base: #1da1f2,
1292
1291
  inverse: #ffffff,
1293
1292
  light: rgba(#1da1f2, 0.1),
1294
- active: color.adjust(#1da1f2, $lightness: -7.5%)
1293
+ active: darken(#1da1f2, 7.5%)
1295
1294
  ),
1296
1295
  instagram: (
1297
1296
  base: #e1306c,
1298
1297
  inverse: #ffffff,
1299
1298
  light: rgba(#e1306c, 0.1),
1300
- active: color.adjust(#e1306c, $lightness: -7.5%)
1299
+ active: darken(#e1306c, 7.5%)
1301
1300
  ),
1302
1301
  youtube: (
1303
1302
  base: #ff0000,
1304
1303
  inverse: #ffffff,
1305
1304
  light: rgba(#ff0000, 0.1),
1306
- active: color.adjust(#ff0000, $lightness: -7.5%)
1305
+ active: darken(#ff0000, 7.5%)
1307
1306
  ),
1308
1307
  linkedin: (
1309
1308
  base: #0077b5,
1310
1309
  inverse: #ffffff,
1311
1310
  light: rgba(#0077b5, 0.1),
1312
- active: color.adjust(#0077b5, $lightness: -7.5%)
1311
+ active: darken(#0077b5, 7.5%)
1313
1312
  )
1314
1313
  ) !default;
@@ -1,4 +1,3 @@
1
- @use "sass:color";
2
1
  //
3
2
  // Buttons Theme
4
3
  //
@@ -299,10 +298,10 @@
299
298
  $icon-color: $gray-800-dark,
300
299
  $border-color: null,
301
300
  $bg-color: $gray-400-dark,
302
- $color-active: color.adjust($gray-800-dark, $lightness: 3%),
303
- $icon-color-active: color.adjust($gray-800-dark, $lightness: 3%),
301
+ $color-active: lighten($gray-800-dark, 3%),
302
+ $icon-color-active: lighten($gray-800-dark, 3%),
304
303
  $border-color-active: null,
305
- $bg-color-active: color.adjust($gray-400-dark, $lightness: 3%),
304
+ $bg-color-active: lighten($gray-400-dark, 3%),
306
305
  );
307
306
  }
308
307
  }