@geira/iconfont 0.3.2 → 4.0.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 (68) hide show
  1. package/README.md +95 -32
  2. package/dist/{images/favicon/favicon.ico → favicon.ico} +0 -0
  3. package/dist/fonts/GeiraIcons-Regular.ttf +0 -0
  4. package/dist/fonts/GeiraIcons-Regular.woff +0 -0
  5. package/dist/fonts/GeiraIcons-Regular.woff2 +0 -0
  6. package/dist/geira-icons.css +315 -0
  7. package/dist/geira-icons.scss +303 -138
  8. package/dist/icons.json +265 -1561
  9. package/dist/index.html +496 -1
  10. package/dist/{images/favicon/android-chrome-512x512.png → logo.png} +0 -0
  11. package/package.json +15 -40
  12. package/tags.json +2119 -0
  13. package/.idea/geira-icons-tool.iml +0 -9
  14. package/.idea/misc.xml +0 -6
  15. package/.idea/modules.xml +0 -8
  16. package/.idea/vcs.xml +0 -6
  17. package/.idea/workspace.xml +0 -43
  18. package/clean.html +0 -1077
  19. package/dist/data.min.js +0 -2
  20. package/dist/data.min.js.map +0 -1
  21. package/dist/fonts/GeiraIcons-Regular-SVG.ttf +0 -0
  22. package/dist/fonts/GeiraIcons-Regular-SVG.woff2 +0 -0
  23. package/dist/geira-icons.min.css +0 -3
  24. package/dist/geira-icons.min.css.map +0 -1
  25. package/dist/geira-icons.min.js +0 -0
  26. package/dist/images/favicon/android-chrome-192x192.png +0 -0
  27. package/dist/images/favicon/apple-touch-icon.png +0 -0
  28. package/dist/images/favicon/browserconfig.xml +0 -9
  29. package/dist/images/favicon/favicon-16x16.png +0 -0
  30. package/dist/images/favicon/favicon-32x32.png +0 -0
  31. package/dist/images/favicon/mstile-150x150.png +0 -0
  32. package/dist/images/favicon/safari-pinned-tab.svg +0 -38
  33. package/dist/images/favicon/site.webmanifest +0 -19
  34. package/dist/main.min.js +0 -2
  35. package/dist/main.min.js.map +0 -1
  36. package/dist/styles.min.css +0 -3
  37. package/dist/styles.min.css.map +0 -1
  38. package/dist/styles.min.js +0 -0
  39. package/dist/usage.html +0 -1
  40. package/dist/utils.min.js +0 -2
  41. package/dist/utils.min.js.map +0 -1
  42. package/src/fonts/GeiraIcons-Regular-SVG.ttf +0 -0
  43. package/src/fonts/GeiraIcons-Regular-SVG.woff2 +0 -0
  44. package/src/fonts/GeiraIcons-Regular.ttf +0 -0
  45. package/src/fonts/GeiraIcons-Regular.woff +0 -0
  46. package/src/fonts/GeiraIcons-Regular.woff2 +0 -0
  47. package/src/images/favicon/android-chrome-192x192.png +0 -0
  48. package/src/images/favicon/android-chrome-512x512.png +0 -0
  49. package/src/images/favicon/apple-touch-icon.png +0 -0
  50. package/src/images/favicon/browserconfig.xml +0 -9
  51. package/src/images/favicon/favicon-16x16.png +0 -0
  52. package/src/images/favicon/favicon-32x32.png +0 -0
  53. package/src/images/favicon/favicon.ico +0 -0
  54. package/src/images/favicon/mstile-150x150.png +0 -0
  55. package/src/images/favicon/safari-pinned-tab.svg +0 -38
  56. package/src/images/favicon/site.webmanifest +0 -19
  57. package/src/index.html +0 -50
  58. package/src/js/data.js +0 -1562
  59. package/src/js/data.json +0 -1
  60. package/src/js/flutter.txt +0 -260
  61. package/src/js/flutter2.txt +0 -260
  62. package/src/js/icons.json +0 -1562
  63. package/src/js/script.js +0 -51
  64. package/src/js/utils.js +0 -74
  65. package/src/scss/geira-icons.scss +0 -150
  66. package/src/scss/styles.scss +0 -286
  67. package/src/usage.html +0 -376
  68. package/webpack.config.js +0 -100
package/src/js/script.js DELETED
@@ -1,51 +0,0 @@
1
- (function () {
2
- var icons = window.iconsOriginal;
3
- let iconsCount = 0;
4
-
5
- let parent = document.getElementById("icons");
6
-
7
- for (let i in icons) {
8
- iconsCount++;
9
- let item = icons[i];
10
- let element = "<li class='icon'><div>" +
11
- "<i class='geira-icons'>" + item.name + "</i>" +
12
- "<span class='name'>" + item.name + "</span>" +
13
- "<span class='unicode'>\\" + item.uni + "</span>" +
14
- "<span class='decimal'>" + item.dec + "</span>" +
15
- "<span class='tags'>" + item.tags + "</span> " +
16
- "</div></li>";
17
- parent.innerHTML += element;
18
- }
19
-
20
- document.getElementById("quantity").textContent = iconsCount.toString();
21
-
22
- function searcher() {
23
- // Declare variables
24
- var input, filter, ul, li, name, i, tags, txtValue, txtValue2;
25
- input = document.getElementById('match');
26
- filter = input.value.toUpperCase();
27
- ul = document.getElementById("icons");
28
- li = ul.getElementsByTagName('li');
29
-
30
- // Loop through all list items, and hide those who don't match the search query
31
- for (i = 0; i < li.length; i++) {
32
- name = li[i].getElementsByClassName("name")[0];
33
- tags = li[i].getElementsByClassName("tags")[0];
34
-
35
- txtValue = name.textContent || name.innerText;
36
- txtValue2 = tags.textContent || tags.innerText;
37
-
38
- if (txtValue.toUpperCase().indexOf(filter) > -1 || txtValue2.toUpperCase().indexOf(filter) > -1) {
39
- li[i].style.display = "";
40
- } else {
41
- li[i].style.display = "none";
42
- }
43
- }
44
- }
45
-
46
- let matcher = document.getElementById("match");
47
- matcher.addEventListener('keyup', e => {
48
- searcher()
49
- })
50
-
51
- })();
package/src/js/utils.js DELETED
@@ -1,74 +0,0 @@
1
- String.fromCharCodeS = function () {
2
- var v = arguments.length;
3
- var w = "";
4
- var s, u, x;
5
- for (var t = 0; t < v; t++) {
6
- x = arguments[t];
7
- if (x < 1114112 && 65535 < x) {
8
- s = Math.floor((x - 65536) / 1024) + 55296;
9
- u = ((x - 65536) % 1024) + 56320;
10
- w = w + String.fromCharCode(s, u)
11
- } else {
12
- if (x < 65536) {
13
- w = w + String.fromCharCode(x)
14
- }
15
- }
16
- }
17
- return w
18
- };
19
-
20
- padLeft = function (u, t) {
21
- if (!t || u.length >= t) {
22
- return u
23
- }
24
- return Math.pow(10, t - u.length).toString().slice(1) + u
25
- };
26
-
27
- function d(s) {
28
- if (s == 9 || s == 10 || s == 13 || s == 32) {
29
- return true
30
- }
31
- return false
32
- }
33
-
34
- function g(u) {
35
- var y = [];
36
- var x = u.length;
37
- var z = false;
38
- var s, v;
39
- for (var t = 0; t < x; t++) {
40
- if (z == false && d(u.charCodeAt(t)) == true) {
41
- y.push(u.charAt(t))
42
- } else {
43
- s = u.charCodeAt(t);
44
- if (s < 56320 && 55295 < s && (t + 1) < x) {
45
- v = u.charCodeAt(t + 1);
46
- if (v < 57344 && 56319 < v) {
47
- s = ((s - 55296) * 1024) + (v - 56320) + 65536;
48
- t++
49
- }
50
- }
51
- y.push(padLeft(s.toString(), 5))
52
- }
53
- }
54
- return y.join("")
55
- }
56
-
57
- function m(t) {
58
- var s = false;
59
- var w, v = "";
60
- v = "\\\\u"
61
- return t.replace(new RegExp(v + "([0-9a-fA-F]{4})", "g"), function (u, x) {
62
- w = parseInt(x, 16);
63
- if (s == true) {
64
- w = (((w & 255) << 8) | ((w & 65280) >>> 8))
65
- }
66
- return String.fromCharCode(w)
67
- })
68
- }
69
-
70
- exports.f1 = (unicodeValue) => {
71
- let t = m("\\u" + unicodeValue);
72
- return g(t);
73
- }
74
-
@@ -1,150 +0,0 @@
1
- @charset "UTF-8";
2
- @font-face {
3
- font-family : 'Geira Icons';
4
- font-style : normal;
5
- font-weight : 400;
6
- font-display : block;
7
- src : url(./fonts/GeiraIcons-Regular.eot);
8
- src : local('Geira Icons'),
9
- local('GeiraIcons-Regular'),
10
- url(./fonts/GeiraIcons-Regular.woff2) format('woff2'),
11
- url(./fonts/GeiraIcons-Regular.woff) format('woff'),
12
- url(./fonts/GeiraIcons-Regular.ttf) format('truetype');
13
- }
14
-
15
- .geira-icons, .geira-icons:before {
16
- font-family : 'Geira Icons';
17
- font-weight : normal;
18
- font-style : normal;
19
- font-size : 24px;
20
- display : inline-block;
21
- line-height : 1;
22
- text-transform : none;
23
- letter-spacing : normal;
24
- word-wrap : normal;
25
- white-space : nowrap;
26
- direction : ltr;
27
- -webkit-font-smoothing : antialiased;
28
- text-rendering : optimizeLegibility;
29
- -moz-osx-font-smoothing : grayscale;
30
- font-feature-settings : 'liga';
31
- }
32
-
33
- span.geira-icons:before {
34
- content : "\E001";
35
- }
36
-
37
- .gi-18, .gi-18:before {
38
- font-size : 18px !important
39
- }
40
-
41
- .gi-24, .gi-24:before {
42
- font-size : 24px !important
43
- }
44
-
45
- .gi-36, .gi-36:before {
46
- font-size : 36px !important
47
- }
48
-
49
- .gi-48, .gi-48:before {
50
- font-size : 48px !important
51
- }
52
-
53
- .gi-dark, .gi-dark:before {
54
- color : rgba(0, 0, 0, 0.54)
55
- }
56
-
57
- .gi-dark.gi-inactive, .gi-dark.gi-inactive:before {
58
- color : rgba(0, 0, 0, 0.26)
59
- }
60
-
61
- .gi-light, .gi-light:before {
62
- color : #ffffff
63
- }
64
-
65
- .gi-light.gi-inactive, .gi-light.gi-inactive:before {
66
- color : rgba(255, 255, 255, 0.3)
67
- }
68
-
69
- .gi-rotate-45, .gi-rotate-45:before {
70
- -webkit-transform : rotate(45deg);
71
- -ms-transform : rotate(45deg);
72
- transform : rotate(45deg)
73
- }
74
-
75
- .gi-rotate-90, .gi-rotate-90:before {
76
- -webkit-transform : rotate(90deg);
77
- -ms-transform : rotate(90deg);
78
- transform : rotate(90deg)
79
- }
80
-
81
- .gi-rotate-135, .gi-rotate-135:before {
82
- -webkit-transform : rotate(135deg);
83
- -ms-transform : rotate(135deg);
84
- transform : rotate(135deg)
85
- }
86
-
87
- .gi-rotate-180, .gi-rotate-180:before {
88
- -webkit-transform : rotate(180deg);
89
- -ms-transform : rotate(180deg);
90
- transform : rotate(180deg)
91
- }
92
-
93
- .gi-rotate-225, .gi-rotate-225:before {
94
- -webkit-transform : rotate(225deg);
95
- -ms-transform : rotate(225deg);
96
- transform : rotate(225deg)
97
- }
98
-
99
- .gi-rotate-270, .gi-rotate-270:before {
100
- -webkit-transform : rotate(270deg);
101
- -ms-transform : rotate(270deg);
102
- transform : rotate(270deg)
103
- }
104
-
105
- .gi-rotate-315, .gi-rotate-315:before {
106
- -webkit-transform : rotate(315deg);
107
- -ms-transform : rotate(315deg);
108
- transform : rotate(315deg)
109
- }
110
-
111
- .gi-flip-h, .gi-flip-h:before {
112
- -webkit-transform : scaleX(-1);
113
- transform : scaleX(-1);
114
- filter : FlipH;
115
- -ms-filter : "FlipH"
116
- }
117
-
118
- .gi-flip-v, .gi-flip-v:before {
119
- -webkit-transform : scaleY(-1);
120
- transform : scaleY(-1);
121
- filter : FlipV;
122
- -ms-filter : "FlipV"
123
- }
124
-
125
- .gi-spin, .gi-spin:before {
126
- -webkit-animation : gi-spin 2s infinite linear;
127
- animation : gi-spin 2s infinite linear
128
- }
129
-
130
- @-webkit-keyframes gi-spin {
131
- 0% {
132
- -webkit-transform : rotate(0deg);
133
- transform : rotate(0deg)
134
- }
135
- 100% {
136
- -webkit-transform : rotate(359deg);
137
- transform : rotate(359deg)
138
- }
139
- }
140
-
141
- @keyframes gi-spin {
142
- 0% {
143
- -webkit-transform : rotate(0deg);
144
- transform : rotate(0deg)
145
- }
146
- 100% {
147
- -webkit-transform : rotate(359deg);
148
- transform : rotate(359deg)
149
- }
150
- }
@@ -1,286 +0,0 @@
1
- * {
2
- margin : 0;
3
- padding : 0;
4
- color : #263238;
5
- }
6
-
7
- html, body {
8
- height : 100%;
9
- min-width: 320px;
10
- }
11
-
12
- body {
13
- font-family : "Trebuchet MS", Helvetica, sans-serif;
14
- font-size : 1.2em;
15
- }
16
-
17
- .main {
18
- display : flex;
19
- flex-direction : column;
20
- min-height : 100%;
21
- }
22
-
23
- h2, h3, h4, h5 {
24
- margin-bottom : 15px;
25
- color : #546e7a;
26
- }
27
-
28
- h2 {
29
- font-weight : normal;
30
- color : #ff8a65;
31
- }
32
-
33
- h5 {
34
- color : #ff8a65;
35
- }
36
-
37
- a {
38
- text-decoration : none;
39
- color : #00acc1;
40
- }
41
-
42
- header {
43
- padding : 0;
44
- background-color : #fbe9e7;
45
- box-shadow : 0 0 8px rgba(0, 0, 0, .3);
46
- position : fixed;
47
- width : 100%;
48
- text-align : center;
49
- z-index : 2;
50
- display : flex;
51
- align-content : center;
52
- align-items : center;
53
- place-content : center space-between;
54
- }
55
-
56
- header h1 {
57
- font-size : 1.5em;
58
- color : #e64a19;
59
- padding : 20px 20px;
60
- }
61
-
62
- header a {
63
- color : #00838f;
64
- }
65
-
66
- header ul li {
67
- display : inline-block;
68
- padding : 8px 20px;
69
- text-transform : uppercase;
70
- font-size : 1em;
71
- }
72
-
73
- header ul.logos {
74
- padding-right : 10px;
75
- }
76
-
77
- header ul.logos li {
78
- padding : 0 10px;
79
- }
80
-
81
- header ul li a {
82
- color : #00838f;
83
- text-decoration : none;
84
- display : flex;
85
- align-items : center;
86
- }
87
-
88
- header ul.logos li a i {
89
- color : #00838f;
90
- }
91
-
92
- header ul li.active a {
93
- color : #ff8a65;
94
- cursor : default;
95
- }
96
-
97
- .title-h2 {
98
- margin-top: 110px;
99
- }
100
-
101
- .container {
102
- flex-grow : 1;
103
- }
104
-
105
- .search {
106
- display : flex;
107
- margin-top : 110px;
108
- align-items : center;
109
- place-content : center;
110
- margin-bottom : 20px;
111
- }
112
-
113
- .search #match {
114
- max-width : 400px;
115
- width : 90%;
116
- padding : 15px 20px;
117
- font-size : 18px;
118
- border-radius : 10px;
119
- border : 1px solid #cfd8dc;
120
- }
121
-
122
- .center {
123
- text-align : center;
124
- }
125
-
126
- p {
127
- margin-bottom : 10px;
128
- font-size : .8em;
129
- line-height : 1.3;
130
- }
131
-
132
- .block {
133
- background-color : #eceff1;
134
- margin-bottom : 30px;
135
- }
136
-
137
- .icons-preview {
138
- line-height : 0;
139
- padding : 10px;
140
- background-color : #fbe9e7;
141
- display : flex;
142
- align-items : center;
143
- }
144
-
145
- .icons-code {
146
- padding : 20px;
147
- text-align : center;
148
- }
149
-
150
- .row {
151
- display : flex;
152
- flex-direction : row;
153
- align-items : stretch;
154
- }
155
-
156
- .some-class:before {
157
- content : "\E0BA";
158
- font-size : 48px;
159
-
160
- }
161
-
162
- .geira-icons {
163
- font-size : 48px;
164
- }
165
-
166
- #icons {
167
- height : 100%;
168
- min-height : 100%;
169
- min-width : 100%;
170
- width : 100%;
171
- flex-flow : row wrap;
172
- box-sizing : border-box;
173
- display : flex;
174
- place-content : center;
175
- }
176
-
177
- .icon {
178
- flex : 1 1 10%;
179
- box-sizing : border-box;
180
- max-width : 10%;
181
- padding : 10px;
182
- list-style : none;
183
- }
184
-
185
- .icon > div {
186
- height : 100%;
187
- min-height : 100%;
188
- min-width : 100%;
189
- width : 100%;
190
- place-content : center;
191
- align-items : center;
192
- flex-direction : column;
193
- box-sizing : border-box;
194
- display : flex;
195
- border : 1px solid #eceff1;
196
- border-radius : 10px;
197
- padding : 10px 5px 5px;
198
- }
199
-
200
- .icon i {
201
- color : #d84315;
202
- }
203
-
204
- .icon span {
205
- margin : 5px 0;
206
- font-size : .6em;
207
- font-weight : bold;
208
- color : #b0bec5;
209
- }
210
-
211
- span.name {
212
- font-size : .8em;
213
- color : #455a64;
214
- }
215
-
216
- span.tags {
217
- display : none;
218
- }
219
-
220
- #quantity {
221
- color : #90a4ae;
222
- font-size : .8em;
223
- background-color : #ffffff;
224
- padding : 2px 5px;
225
- margin-left : 4px;
226
- border-radius : 5px;
227
- }
228
-
229
- #version {
230
- font-size : .4em;
231
- color : #546e7a;
232
- }
233
-
234
- footer {
235
- background-color : #fbe9e7;
236
- padding : 15px;
237
- text-align : center;
238
- margin-top : 40px;
239
- }
240
-
241
- footer p {
242
- margin : 0;
243
- font-size : .6em;
244
- color : #607d8b;
245
- }
246
-
247
- @media all and (max-width: 1400px) {
248
- .icon {
249
- flex : 1 1 16.6%;
250
- max-width : 16.6%;
251
- }
252
- }
253
-
254
- @media all and (max-width: 1100px) {
255
- .icon {
256
- flex : 1 1 25%;
257
- max-width : 25%;
258
- }
259
- }
260
-
261
- @media all and (max-width: 876px) {
262
- .icon {
263
- flex : 1 1 33.3%;
264
- max-width : 33.3%;
265
- }
266
-
267
- header {
268
- position : inherit;
269
- width : 100%;
270
- }
271
-
272
- .search {
273
- margin-top: 30px;
274
- }
275
-
276
- .title-h2 {
277
- margin-top: 30px;
278
- }
279
- }
280
-
281
- @media all and (max-width: 600px) {
282
- .icon {
283
- flex : 1 1 50%;
284
- max-width : 50%;
285
- }
286
- }