@progress/kendo-font-icons 0.1.2 → 0.2.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.
package/scss/_icons.scss CHANGED
@@ -105,7 +105,7 @@
105
105
  .k-i-grid-layout::before { content: "\e024"; }
106
106
  .k-i-group::before { content: "\e025"; }
107
107
  .k-i-ungroup::before { content: "\e026"; }
108
- .k-i-handler-drag::before { content: "\e027"; }
108
+ .k-i-handle-drag::before { content: "\e027"; }
109
109
  .k-i-layout::before { content: "\e028"; }
110
110
  .k-i-layout-1-by-4::before { content: "\e029"; }
111
111
  .k-i-layout-2-by-2::before { content: "\e02a"; }
@@ -126,6 +126,64 @@
126
126
  .k-i-overlap::before { content: "\e033"; }
127
127
  .k-i-home::before { content: "\e034"; }
128
128
  .k-i-root::before { content: "\e034"; }
129
+ .k-i-arrows-left-right::before { content: "\e035"; }
130
+ .k-i-arrows-top-bottom::before { content: "\e036"; }
131
+ .k-i-border-radius-bottom-left::before { content: "\e037"; }
132
+ .k-i-border-radius-bottom-right::before { content: "\e038"; }
133
+ .k-i-border-radius-top-left::before { content: "\e039"; }
134
+ .k-i-border-radius-top-right::before { content: "\e03a"; }
135
+ .k-i-border-radius::before { content: "\e03b"; }
136
+ .k-i-border-style-bottom::before { content: "\e03c"; }
137
+ .k-i-border-style-left::before { content: "\e03d"; }
138
+ .k-i-border-style-right::before { content: "\e03e"; }
139
+ .k-i-border-style-top::before { content: "\e03f"; }
140
+ .k-i-border-style::before { content: "\e040"; }
141
+ .k-i-box-sizing::before { content: "\e041"; }
142
+ .k-i-chevron-double-down::before { content: "\e042"; }
143
+ .k-i-chevron-double-left::before { content: "\e043"; }
144
+ .k-i-chevron-double-right::before { content: "\e044"; }
145
+ .k-i-chevron-double-up::before { content: "\e045"; }
146
+ .k-i-data-ods::before { content: "\e046"; }
147
+ .k-i-display-Inline-block::before { content: "\e047"; }
148
+ .k-i-display-block::before { content: "\e048"; }
149
+ .k-i-display-flex::before { content: "\e049"; }
150
+ .k-i-display-inline-flex::before { content: "\e04a"; }
151
+ .k-i-droplet-slider::before { content: "\e04b"; }
152
+ .k-i-file-report::before { content: "\e04c"; }
153
+ .k-i-gap-column::before { content: "\e04d"; }
154
+ .k-i-gap-row::before { content: "\e04e"; }
155
+ .k-i-handle-resize-alt::before { content: "\e04f"; }
156
+ .k-i-handle-resize::before { content: "\e050"; }
157
+ .k-i-images::before { content: "\e051"; }
158
+ .k-i-letter-space::before { content: "\e052"; }
159
+ .k-i-line-height::before { content: "\e053"; }
160
+ .k-i-list-latin-big::before { content: "\e054"; }
161
+ .k-i-list-latin-small::before { content: "\e055"; }
162
+ .k-i-list-roman-big::before { content: "\e056"; }
163
+ .k-i-list-roman-small::before { content: "\e057"; }
164
+ .k-i-list-unordered-outline::before { content: "\e058"; }
165
+ .k-i-list-unordered-square::before { content: "\e059"; }
166
+ .k-i-max-height::before { content: "\e05a"; }
167
+ .k-i-max-width::before { content: "\e05b"; }
168
+ .k-i-min-height::before { content: "\e05c"; }
169
+ .k-i-min-width::before { content: "\e05d"; }
170
+ .k-i-outline-offset::before { content: "\e05e"; }
171
+ .k-i-outline-width::before { content: "\e05f"; }
172
+ .k-i-padding-bottom::before { content: "\e060"; }
173
+ .k-i-padding-left::before { content: "\e061"; }
174
+ .k-i-padding-right::before { content: "\e062"; }
175
+ .k-i-padding-top::before { content: "\e063"; }
176
+ .k-i-padding::before { content: "\e064"; }
177
+ .k-i-position-bottom::before { content: "\e065"; }
178
+ .k-i-position-left::before { content: "\e066"; }
179
+ .k-i-position-right::before { content: "\e067"; }
180
+ .k-i-position-top::before { content: "\e068"; }
181
+ .k-i-regular-expression::before { content: "\e069"; }
182
+ .k-i-replace-all::before { content: "\e06a"; }
183
+ .k-i-replace-single::before { content: "\e06b"; }
184
+ .k-i-report-element::before { content: "\e06c"; }
185
+ .k-i-right-double-quotes::before { content: "\e06d"; }
186
+ .k-i-whole-word::before { content: "\e06e"; }
129
187
  .k-i-undo::before { content: "\e100"; }
130
188
  .k-i-undo-large::before { content: "\e100"; }
131
189
  .k-i-redo::before { content: "\e101"; }
@@ -441,7 +499,7 @@
441
499
  .k-i-snap-grid::before { content: "\e53a"; }
442
500
  .k-i-snap-to-gridlines::before { content: "\e53b"; }
443
501
  .k-i-snap-to-snaplines::before { content: "\e53c"; }
444
- .k-i-dimentions::before { content: "\e53d"; }
502
+ .k-i-dimensions::before { content: "\e53d"; }
445
503
  .k-i-align-self-stretch::before { content: "\e53e"; }
446
504
  .k-i-align-stretch-element-horizontal::before { content: "\e53e"; }
447
505
  .k-i-align-self-stretch-alt::before { content: "\e53f"; }
@@ -859,8 +917,8 @@
859
917
  .k-i-file-h::before { content: "\e922"; }
860
918
  .k-i-subreport::before { content: "\e923"; }
861
919
  .k-i-data::before { content: "\e924"; }
862
- .k-i-report-header-section::before { content: "\e925"; }
863
- .k-i-report-footer-section::before { content: "\e926"; }
920
+ .k-i-file-header::before { content: "\e925"; }
921
+ .k-i-file-footer::before { content: "\e926"; }
864
922
  .k-i-group-header-section::before { content: "\e927"; }
865
923
  .k-i-group-footer-section::before { content: "\e928"; }
866
924
  .k-i-page-header-section::before { content: "\e929"; }
@@ -1,6 +1,8 @@
1
- $ki-embed-font: false !default;
2
- $ki-font-file-url: "kendo-font-icons.ttf" !default;
3
- $ki-font-url: $ki-font-file-url !default;
1
+ $ki-font-family: "WebComponentsIcons" !default;
2
+ $ki-icon-size: 16px !default;
4
3
 
5
- $ki-css-prefix: "k-i-" !default;
6
- $ki-icon-size: 16px !default;
4
+ $ki-embed-font: false !default;
5
+ $ki-font-file-url: "kendo-font-icons.ttf" !default;
6
+ $ki-font-url: if( $ki-embed-font == true, $ki-font-data-url, $ki-font-file-url ) !default;
7
+
8
+ $ki-css-prefix: "k-i-" !default;
package/scss/index.scss CHANGED
@@ -1,12 +1,79 @@
1
- @import "_variables.scss";
1
+
2
2
  @import "_font.scss";
3
+ @import "_variables.scss";
4
+
5
+ // Keep this as a root selector, because it doesn't work when nested inside selector
6
+ @at-root {
7
+ @font-face {
8
+ font-family: $ki-font-family;
9
+ font-style: normal;
10
+ font-weight: normal;
11
+ src: url( "#{$ki-font-url}" ) format( "truetype" );
12
+ }
13
+ }
3
14
 
4
- @font-face {
5
- font-family: "kendo-font-icons";
15
+ // Font icon
16
+ .k-icon {
17
+ width: 1em;
18
+ height: 1em;
19
+ outline: 0;
20
+ font-size: $ki-icon-size;
21
+ font-family: $ki-font-family;
6
22
  font-style: normal;
23
+ font-variant: normal;
7
24
  font-weight: normal;
8
- src: url( "#{$ki-font-url}" ) format( "truetype" );
25
+ line-height: 1;
26
+ speak: none;
27
+ text-transform: none;
28
+ text-decoration: none;
29
+ flex-shrink: 0;
30
+ display: inline-flex;
31
+ flex-flow: row nowrap;
32
+ align-items: center;
33
+ justify-content: center;
34
+ vertical-align: middle;
35
+ position: relative;
36
+ -moz-osx-font-smoothing: grayscale;
37
+ -webkit-font-smoothing: antialiased;
38
+
39
+ &:hover,
40
+ &:focus {
41
+ text-decoration: none;
42
+ }
43
+ }
44
+
45
+
46
+ // Svg icon
47
+ .k-svg-icon {
48
+ width: 1em;
49
+ height: 1em;
50
+ outline: 0;
51
+ line-height: 1;
52
+ display: inline-flex;
53
+ flex-flow: row nowrap;
54
+ align-items: center;
55
+ justify-content: center;
56
+ vertical-align: middle;
57
+ position: relative;
58
+
59
+ > svg {
60
+ fill: currentColor;
61
+ flex: 1 1 auto;
62
+ }
63
+ }
64
+
65
+
66
+ .k-i-none::before {
67
+ display: none !important; // stylelint-disable-line
9
68
  }
10
69
 
11
- @import "_core.scss";
70
+
71
+ // Icon sizes
72
+ .k-icon-xs { font-size: ( calc( #{$ki-icon-size} * .5 ) ); }
73
+ .k-icon-sm { font-size: ( calc( #{$ki-icon-size} * .75 ) ); }
74
+ .k-icon-md { font-size: ( calc( #{$ki-icon-size} * 2 ) ); }
75
+ .k-icon-lg { font-size: ( calc( #{$ki-icon-size} * 3 ) ); }
76
+ .k-icon-xl { font-size: ( calc( #{$ki-icon-size} * 4 ) ); }
77
+
78
+
12
79
  @import "_icons.scss";
package/CHANGELOG.md DELETED
@@ -1,65 +0,0 @@
1
- # Change Log
2
-
3
- All notable changes to this project will be documented in this file.
4
- See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
-
6
- ## 0.1.2 (2020-11-17)
7
-
8
-
9
- ### Bug Fixes
10
-
11
- * **svg-icon:** rename svg icons to allow reserved names like import and export ([79083fe](https://github.com/telerik/kendo-icons/commit/79083fe37b98829e423c1530097821ed9269eb8e))
12
-
13
-
14
-
15
-
16
-
17
- ## 0.1.1 (2020-11-16)
18
-
19
- **Note:** Version bump only for package @progress/kendo-font-icons
20
-
21
-
22
-
23
-
24
-
25
- # 0.1.0 (2020-10-15)
26
-
27
-
28
- ### Features
29
-
30
- * add data-rest and typescript icons ([53e9761](https://github.com/telerik/kendo-icons/commit/53e9761e6744a83e9d787708d85c5716dfb4a21b))
31
-
32
-
33
-
34
-
35
-
36
- ## 0.0.5 (2020-09-15)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * add missing icon aliases ([6abd292](https://github.com/telerik/kendo-icons/commit/6abd2928d22f03c82c9c7a12958f16ac78f9c073))
42
-
43
-
44
-
45
-
46
-
47
- ## 0.0.4 (2020-09-15)
48
-
49
- **Note:** Version bump only for package @progress/kendo-font-icons
50
-
51
-
52
-
53
-
54
-
55
- ## 0.0.3 (2020-09-14)
56
-
57
- **Note:** Version bump only for package @progress/kendo-font-icons
58
-
59
-
60
-
61
-
62
-
63
- ## 0.0.2 (2020-09-11)
64
-
65
- **Note:** Version bump only for package @progress/kendo-font-icons
package/scss/_core.scss DELETED
@@ -1,62 +0,0 @@
1
- // Font icon
2
- .k-icon {
3
- width: 1em;
4
- height: 1em;
5
- outline: 0;
6
- font-size: $ki-icon-size;
7
- font-family: "kendo-font-icons";
8
- font-style: normal;
9
- font-variant: normal;
10
- font-weight: normal;
11
- line-height: 1;
12
- speak: none;
13
- text-transform: none;
14
- text-decoration: none;
15
- display: inline-flex;
16
- vertical-align: middle;
17
- -moz-osx-font-smoothing: grayscale;
18
- -webkit-font-smoothing: antialiased;
19
-
20
- &::before {
21
- vertical-align: baseline;
22
- }
23
-
24
- &:hover,
25
- &:focus {
26
- text-decoration: none;
27
- }
28
- }
29
-
30
-
31
- // Svg icon
32
- .k-svg-icon {
33
- width: 1em;
34
- height: 1em;
35
- outline: 0;
36
- line-height: 1;
37
- display: inline-flex;
38
- vertical-align: middle;
39
-
40
- > svg {
41
- fill: currentColor;
42
- flex: 1 1 auto;
43
- }
44
- }
45
-
46
-
47
- .k-i-none {
48
- color: transparent;
49
-
50
- &::before {
51
- content: "";
52
- display: none;
53
- }
54
- }
55
-
56
-
57
- // Icon sizes
58
- .k-icon-xs { font-size: ( $ki-icon-size * .5 ); }
59
- .k-icon-sm { font-size: ( $ki-icon-size * .75 ); }
60
- .k-icon-md { font-size: ( $ki-icon-size * 2 ); }
61
- .k-icon-lg { font-size: ( $ki-icon-size * 3 ); }
62
- .k-icon-xl { font-size: ( $ki-icon-size * 4 ); }