@progress/kendo-font-icons 5.3.0 → 5.4.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.
@@ -626,6 +626,27 @@
626
626
  .k-i-zoom-in::before { content: "\e26e"; }
627
627
  .k-i-zoom-out::before { content: "\e26f"; }
628
628
  .k-i-zoom-sparkle::before { content: "\e270"; }
629
+ .k-i-chevron-bottom-left::before { content: "\e271"; }
630
+ .k-i-chevron-bottom-right::before { content: "\e272"; }
631
+ .k-i-chevron-expand::before { content: "\e273"; }
632
+ .k-i-chevron-to-bottom::before { content: "\e274"; }
633
+ .k-i-chevron-to-left::before { content: "\e275"; }
634
+ .k-i-chevron-to-right::before { content: "\e276"; }
635
+ .k-i-chevron-to-top::before { content: "\e277"; }
636
+ .k-i-chevron-top-left::before { content: "\e278"; }
637
+ .k-i-chevron-top-right::before { content: "\e279"; }
638
+ .k-i-file-text::before { content: "\e27a"; }
639
+ .k-i-margin-bottom::before { content: "\e27b"; }
640
+ .k-i-margin-left::before { content: "\e27c"; }
641
+ .k-i-margin-right::before { content: "\e27d"; }
642
+ .k-i-margin-top::before { content: "\e27e"; }
643
+ .k-i-margin::before { content: "\e27f"; }
644
+ .k-i-mouse-left-click::before { content: "\e280"; }
645
+ .k-i-mouse-right-click::before { content: "\e281"; }
646
+ .k-i-mouse::before { content: "\e282"; }
647
+ .k-i-notification::before { content: "\e283"; }
648
+ .k-i-text-align-left::before { content: "\e284"; }
649
+ .k-i-text-align-right::before { content: "\e285"; }
629
650
  .k-i-checkbox-null::before { content: "\e307"; }
630
651
  .k-i-tri-state-null::before { content: "\e307"; }
631
652
  .k-i-image-export::before { content: "\e502"; }
@@ -5,13 +5,13 @@ $ki-icon-default-size: md !default;
5
5
  $ki-font-family: "WebComponentsIcons" !default;
6
6
  $ki-icon-size: 16px !default;
7
7
 
8
- $ki-icon-size-xs: calc( #{$ki-icon-size} * .75 ) !default;
9
- $ki-icon-size-sm: calc( #{$ki-icon-size} * .875 ) !default;
10
- $ki-icon-size-md: $ki-icon-size !default;
11
- $ki-icon-size-lg: calc( #{$ki-icon-size} * 1.25 ) !default;
12
- $ki-icon-size-xl: calc( #{$ki-icon-size} * 1.5 ) !default;
13
- $ki-icon-size-xxl: calc( #{$ki-icon-size} * 2 ) !default;
14
- $ki-icon-size-xxxl: calc( #{$ki-icon-size} * 3 ) !default;
8
+ $ki-icon-size-xs: var(--kendo-icon-size-xs, calc( var(--kendo-icon-size, #{$ki-icon-size}) * .75 )) !default;
9
+ $ki-icon-size-sm: var(--kendo-icon-size-sm, calc( var(--kendo-icon-size, #{$ki-icon-size}) * .875 )) !default;
10
+ $ki-icon-size-md: var(--kendo-icon-size-md, var(--kendo-icon-size, #{$ki-icon-size})) !default;
11
+ $ki-icon-size-lg: var(--kendo-icon-size-lg, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 1.25 )) !default;
12
+ $ki-icon-size-xl: var(--kendo-icon-size-xl, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 1.5 )) !default;
13
+ $ki-icon-size-xxl: var(--kendo-icon-size-xxl, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 2 )) !default;
14
+ $ki-icon-size-xxxl: var(--kendo-icon-size-xxxl, calc( var(--kendo-icon-size, #{$ki-icon-size}) * 3 )) !default;
15
15
 
16
16
  $ki-embed-font: false !default;
17
17
  $ki-font-file-url: "kendo-font-icons.ttf" !default;
package/scss/index.scss CHANGED
@@ -16,6 +16,17 @@
16
16
  }
17
17
  }
18
18
 
19
+ :root {
20
+ --kendo-icon-size: #{$ki-icon-size};
21
+ --kendo-icon-size-xs: calc( var(--kendo-icon-size) * .75 );
22
+ --kendo-icon-size-sm: calc( var(--kendo-icon-size) * .875 );
23
+ --kendo-icon-size-md: var(--kendo-icon-size);
24
+ --kendo-icon-size-lg: calc( var(--kendo-icon-size) * 1.25 );
25
+ --kendo-icon-size-xl: calc( var(--kendo-icon-size) * 1.5 );
26
+ --kendo-icon-size-xxl: calc( var(--kendo-icon-size) * 2 );
27
+ --kendo-icon-size-xxxl: calc( var(--kendo-icon-size) * 3 );
28
+ --kendo-icon-rotation: 0deg;
29
+ }
19
30
 
20
31
  // Font icon
21
32
  .k-font-icon {
@@ -39,13 +50,14 @@
39
50
  position: relative;
40
51
  -moz-osx-font-smoothing: grayscale;
41
52
  -webkit-font-smoothing: antialiased;
53
+ transform: rotate( var(--kendo-icon-rotation) );
42
54
 
43
55
  &:hover,
44
56
  &:focus {
45
57
  text-decoration: none;
46
58
  }
47
59
 
48
- // SVG Icon sizes
60
+ // Font Icon sizes
49
61
  @each $size, $value in $ki-icon-sizes {
50
62
  #{if($ki-icon-default-size == $size, "&,", null)}
51
63
  &.k-icon-#{$size} {
@@ -75,7 +87,8 @@
75
87
  // Rotate
76
88
  @each $index, $rotate in $ki-rotate-map {
77
89
  .k-rotate-#{$index} {
78
- transform: rotate( #{$rotate} );
90
+ --kendo-icon-rotation: #{$rotate};
91
+ transform: rotate( var(--kendo-icon-rotation) );
79
92
  }
80
93
  }
81
94
 
Binary file