@progress/kendo-font-icons 0.1.0 → 0.3.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,66 @@
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-color-canvas::before { content: "\e04b"; }
153
+ .k-i-file-report::before { content: "\e04c"; }
154
+ .k-i-gap-column::before { content: "\e04d"; }
155
+ .k-i-gap-row::before { content: "\e04e"; }
156
+ .k-i-handle-resize-alt::before { content: "\e04f"; }
157
+ .k-i-handle-resize::before { content: "\e050"; }
158
+ .k-i-images::before { content: "\e051"; }
159
+ .k-i-letter-space::before { content: "\e052"; }
160
+ .k-i-line-height::before { content: "\e053"; }
161
+ .k-i-list-latin-big::before { content: "\e054"; }
162
+ .k-i-list-latin-small::before { content: "\e055"; }
163
+ .k-i-list-roman-big::before { content: "\e056"; }
164
+ .k-i-list-roman-small::before { content: "\e057"; }
165
+ .k-i-list-unordered-outline::before { content: "\e058"; }
166
+ .k-i-list-unordered-square::before { content: "\e059"; }
167
+ .k-i-max-height::before { content: "\e05a"; }
168
+ .k-i-max-width::before { content: "\e05b"; }
169
+ .k-i-min-height::before { content: "\e05c"; }
170
+ .k-i-min-width::before { content: "\e05d"; }
171
+ .k-i-outline-offset::before { content: "\e05e"; }
172
+ .k-i-outline-width::before { content: "\e05f"; }
173
+ .k-i-padding-bottom::before { content: "\e060"; }
174
+ .k-i-padding-left::before { content: "\e061"; }
175
+ .k-i-padding-right::before { content: "\e062"; }
176
+ .k-i-padding-top::before { content: "\e063"; }
177
+ .k-i-padding::before { content: "\e064"; }
178
+ .k-i-position-bottom::before { content: "\e065"; }
179
+ .k-i-position-left::before { content: "\e066"; }
180
+ .k-i-position-right::before { content: "\e067"; }
181
+ .k-i-position-top::before { content: "\e068"; }
182
+ .k-i-regular-expression::before { content: "\e069"; }
183
+ .k-i-replace-all::before { content: "\e06a"; }
184
+ .k-i-replace-single::before { content: "\e06b"; }
185
+ .k-i-report-element::before { content: "\e06c"; }
186
+ .k-i-right-double-quotes::before { content: "\e06d"; }
187
+ .k-i-blockquote::before { content: "\e06d"; }
188
+ .k-i-whole-word::before { content: "\e06e"; }
129
189
  .k-i-undo::before { content: "\e100"; }
130
190
  .k-i-undo-large::before { content: "\e100"; }
131
191
  .k-i-redo::before { content: "\e101"; }
@@ -441,7 +501,7 @@
441
501
  .k-i-snap-grid::before { content: "\e53a"; }
442
502
  .k-i-snap-to-gridlines::before { content: "\e53b"; }
443
503
  .k-i-snap-to-snaplines::before { content: "\e53c"; }
444
- .k-i-dimentions::before { content: "\e53d"; }
504
+ .k-i-dimensions::before { content: "\e53d"; }
445
505
  .k-i-align-self-stretch::before { content: "\e53e"; }
446
506
  .k-i-align-stretch-element-horizontal::before { content: "\e53e"; }
447
507
  .k-i-align-self-stretch-alt::before { content: "\e53f"; }
@@ -859,7 +919,9 @@
859
919
  .k-i-file-h::before { content: "\e922"; }
860
920
  .k-i-subreport::before { content: "\e923"; }
861
921
  .k-i-data::before { content: "\e924"; }
922
+ .k-i-file-header::before { content: "\e925"; }
862
923
  .k-i-report-header-section::before { content: "\e925"; }
924
+ .k-i-file-footer::before { content: "\e926"; }
863
925
  .k-i-report-footer-section::before { content: "\e926"; }
864
926
  .k-i-group-header-section::before { content: "\e927"; }
865
927
  .k-i-group-footer-section::before { content: "\e928"; }
@@ -896,6 +958,15 @@
896
958
  .k-i-files-validation::before { content: "\e945"; }
897
959
  .k-i-data-rest::before { content: "\e946"; }
898
960
  .k-i-file-typescript::before { content: "\e947"; }
961
+ .k-i-table-position-start::before { content: "\e948"; }
962
+ .k-i-table-position-left::before { content: "\e948"; }
963
+ .k-i-table-position-center::before { content: "\e949"; }
964
+ .k-i-table-position-end::before { content: "\e94a"; }
965
+ .k-i-table-position-right::before { content: "\e94a"; }
966
+ .k-i-list-roman-upper::before { content: "\e94b"; }
967
+ .k-i-list-roman-lower::before { content: "\e94c"; }
968
+ .k-i-import::before { content: "\e94d"; }
969
+ .k-i-export::before { content: "\e94e"; }
899
970
  .k-i-graph::before { content: "\ea00"; }
900
971
  .k-i-chart-column-clustered::before { content: "\ea01"; }
901
972
  .k-i-chart-column-stacked::before { content: "\ea02"; }
@@ -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,46 +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.0 (2020-10-15)
7
-
8
-
9
- ### Features
10
-
11
- * add data-rest and typescript icons ([53e9761](https://github.com/telerik/kendo-icons/commit/53e9761e6744a83e9d787708d85c5716dfb4a21b))
12
-
13
-
14
-
15
-
16
-
17
- ## 0.0.5 (2020-09-15)
18
-
19
-
20
- ### Bug Fixes
21
-
22
- * add missing icon aliases ([6abd292](https://github.com/telerik/kendo-icons/commit/6abd2928d22f03c82c9c7a12958f16ac78f9c073))
23
-
24
-
25
-
26
-
27
-
28
- ## 0.0.4 (2020-09-15)
29
-
30
- **Note:** Version bump only for package @progress/kendo-font-icons
31
-
32
-
33
-
34
-
35
-
36
- ## 0.0.3 (2020-09-14)
37
-
38
- **Note:** Version bump only for package @progress/kendo-font-icons
39
-
40
-
41
-
42
-
43
-
44
- ## 0.0.2 (2020-09-11)
45
-
46
- **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 ); }