@progress/kendo-font-icons 4.4.0 → 4.6.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.
@@ -524,6 +524,18 @@
524
524
  .k-i-weight-scale-solid::before { content: "\e16a"; }
525
525
  .k-i-microphone-solid::before { content: "\e16b"; }
526
526
  .k-i-microphone-outline::before { content: "\e16c"; }
527
+ .k-i-row-expand::before { content: "\e16d"; }
528
+ .k-i-row-collapse::before { content: "\e16e"; }
529
+ .k-i-menu-filter::before { content: "\e16f"; }
530
+ .k-i-menu-sort-asc::before { content: "\e170"; }
531
+ .k-i-menu-sort-desc::before { content: "\e171"; }
532
+ .k-i-paste-sparkle::before { content: "\e172"; }
533
+ .k-i-pin-solid::before { content: "\e173"; }
534
+ .k-i-pin-outline::before { content: "\e174"; }
535
+ .k-i-unpin-solid::before { content: "\e175"; }
536
+ .k-i-unpin-outline::before { content: "\e176"; }
537
+ .k-i-pin-outline-top::before { content: "\e177"; }
538
+ .k-i-pin-outline-bottom::before { content: "\e178"; }
527
539
  .k-i-play::before { content: "\e200"; }
528
540
  .k-i-pause::before { content: "\e201"; }
529
541
  .k-i-stop::before { content: "\e202"; }
@@ -1,5 +1,7 @@
1
1
  @use "./_font.scss" as *;
2
2
 
3
+ $ki-icon-default-size: md !default;
4
+
3
5
  $ki-font-family: "WebComponentsIcons" !default;
4
6
  $ki-icon-size: 16px !default;
5
7
 
@@ -17,6 +19,16 @@ $ki-font-url: if( $ki-embed-font == true, $ki-font-data-url, $ki-font-file-url )
17
19
 
18
20
  $ki-css-prefix: "k-i-" !default;
19
21
 
22
+ $ki-icon-sizes: (
23
+ xs: $ki-icon-size-xs,
24
+ sm: $ki-icon-size-sm,
25
+ md: $ki-icon-size-md,
26
+ lg: $ki-icon-size-lg,
27
+ xl: $ki-icon-size-xl,
28
+ xxl: $ki-icon-size-xxl,
29
+ xxxl: $ki-icon-size-xxxl
30
+ ) !default;
31
+
20
32
  $ki-rotate-map: (
21
33
  0: 0deg,
22
34
  45: 45deg,
package/scss/index.scss CHANGED
@@ -22,7 +22,6 @@
22
22
  width: 1em;
23
23
  height: 1em;
24
24
  outline: 0;
25
- font-size: $ki-icon-size;
26
25
  font-family: $ki-font-family;
27
26
  font-style: normal;
28
27
  font-variant: normal;
@@ -45,6 +44,14 @@
45
44
  &:focus {
46
45
  text-decoration: none;
47
46
  }
47
+
48
+ // SVG Icon sizes
49
+ @each $size, $value in $ki-icon-sizes {
50
+ #{if($ki-icon-default-size == $size, "&,", null)}
51
+ &.k-icon-#{$size} {
52
+ font-size: $value;
53
+ }
54
+ }
48
55
  }
49
56
 
50
57
  // Empty icon
@@ -52,31 +59,6 @@
52
59
  display: none !important; // stylelint-disable-line
53
60
  }
54
61
 
55
-
56
- // Icon sizes
57
- .k-icon-xs {
58
- font-size: $ki-icon-size-xs;
59
- }
60
- .k-icon-sm {
61
- font-size: $ki-icon-size-sm;
62
- }
63
- .k-icon-md {
64
- font-size: $ki-icon-size-md;
65
- }
66
- .k-icon-lg {
67
- font-size: $ki-icon-size-lg;
68
- }
69
- .k-icon-xl {
70
- font-size: $ki-icon-size-xl;
71
- }
72
- .k-icon-xxl {
73
- font-size: $ki-icon-size-xxl;
74
- }
75
- .k-icon-xxxl {
76
- font-size: $ki-icon-size-xxxl;
77
- }
78
-
79
-
80
62
  // Flip
81
63
  .k-flip-h {
82
64
  transform: scaleX( -1 );
Binary file