@stokr/components-library 4.0.3 → 4.1.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 (33) hide show
  1. package/README.md +1 -1
  2. package/dist/components/IdentityInfo/IdentityInfo.styles.js +1 -1
  3. package/dist/components/MaterialIcon/MaterialIcon.d.ts +3 -1
  4. package/dist/components/MaterialIcon/MaterialIcon.js +3 -2
  5. package/dist/components/MaterialIcon/iconConfig.d.ts +1 -1
  6. package/dist/components/Payment/TimerComponent.js +1 -3
  7. package/dist/components/RequestDataBox/RequestDataBox.styles.js +2 -3
  8. package/dist/components/Timeline/Timeline.styles.js +1 -1
  9. package/dist/index.d.ts +0 -4
  10. package/dist/index.js +30 -38
  11. package/dist/styles/global.js +0 -5
  12. package/package.json +3 -4
  13. package/dist/components/Icon/Icon.style.js +0 -71
  14. package/dist/static/fonts/Ionicons/Ionicons.ttf +0 -0
  15. package/dist/static/fonts/Ionicons/Ionicons.ttf.js +0 -4
  16. package/dist/static/fonts/Ionicons/Ionicons.woff +0 -0
  17. package/dist/static/fonts/Ionicons/Ionicons.woff.js +0 -4
  18. package/dist/static/fonts/Ionicons/Ionicons.woff2 +0 -0
  19. package/dist/static/fonts/Ionicons/Ionicons.woff2.js +0 -4
  20. package/dist/static/fonts/Ionicons/ionicons.min.css +0 -2810
  21. package/dist/static/fonts/Ionicons/ionicons.min.css.js +0 -4
  22. package/dist/static/fonts/icomoon/icomoon.eot +0 -0
  23. package/dist/static/fonts/icomoon/icomoon.eot.js +0 -4
  24. package/dist/static/fonts/icomoon/icomoon.svg +0 -53
  25. package/dist/static/fonts/icomoon/icomoon.svg.js +0 -4
  26. package/dist/static/fonts/icomoon/icomoon.ttf +0 -0
  27. package/dist/static/fonts/icomoon/icomoon.ttf.js +0 -4
  28. package/dist/static/fonts/icomoon/icomoon.woff +0 -0
  29. package/dist/static/fonts/icomoon/icomoon.woff.js +0 -4
  30. package/dist/static/fonts/icomoon/selection.json +0 -910
  31. package/dist/static/fonts/icomoon/style.css +0 -139
  32. package/dist/styles/fonts.js +0 -35
  33. package/dist/styles/ioniconsStyles.js +0 -34
@@ -1,139 +0,0 @@
1
- @font-face {
2
- font-family: 'icomoon';
3
- src: url('fonts/icomoon.eot?gffhrx');
4
- src:
5
- url('fonts/icomoon.eot?gffhrx#iefix') format('embedded-opentype'),
6
- url('fonts/icomoon.ttf?gffhrx') format('truetype'),
7
- url('fonts/icomoon.woff?gffhrx') format('woff'),
8
- url('fonts/icomoon.svg?gffhrx#icomoon') format('svg');
9
- font-weight: normal;
10
- font-style: normal;
11
- }
12
-
13
- [class^='icon-'],
14
- [class*=' icon-'] {
15
- /* use !important to prevent issues with browser extensions that change fonts */
16
- font-family: 'icomoon' !important;
17
- speak: none;
18
- font-style: normal;
19
- font-weight: normal;
20
- font-variant: normal;
21
- text-transform: none;
22
- line-height: 1;
23
-
24
- /* Better Font Rendering =========== */
25
- -webkit-font-smoothing: antialiased;
26
- -moz-osx-font-smoothing: grayscale;
27
- }
28
-
29
- .icon-expand:before {
30
- content: '\e923';
31
- }
32
- .icon-shrink:before {
33
- content: '\e924';
34
- }
35
- .icon-emoji:before {
36
- content: '\e922';
37
- }
38
- .icon-arrow-down:before {
39
- content: '\e900';
40
- }
41
- .icon-arrow-left:before {
42
- content: '\e901';
43
- }
44
- .icon-arrow-right:before {
45
- content: '\e902';
46
- }
47
- .icon-arrow-up:before {
48
- content: '\e903';
49
- }
50
- .icon-heart:before {
51
- content: '\e904';
52
- }
53
- .icon-heartFill:before {
54
- content: '\e921';
55
- }
56
- .icon-lock:before {
57
- content: '\e905';
58
- }
59
- .icon-menu:before {
60
- content: '\e906';
61
- }
62
- .icon-pen:before {
63
- content: '\e907';
64
- }
65
- .icon-star:before {
66
- content: '\e908';
67
- }
68
- .icon-trash:before {
69
- content: '\e909';
70
- }
71
- .icon-unread:before {
72
- content: '\e90a';
73
- }
74
- .icon-user:before {
75
- content: '\e90b';
76
- }
77
- .icon-edit:before {
78
- content: '\e90c';
79
- }
80
- .icon-check:before {
81
- content: '\e90d';
82
- }
83
- .icon-in-progress:before {
84
- content: '\e90e';
85
- }
86
- .icon-warning:before {
87
- content: '\e90f';
88
- }
89
- .icon-logout:before {
90
- content: '\e910';
91
- }
92
- .icon-token-holder:before {
93
- content: '\e911';
94
- }
95
- .icon-teams:before {
96
- content: '\e912';
97
- }
98
- .icon-token-sales:before {
99
- content: '\e913';
100
- }
101
- .icon-analytics:before {
102
- content: '\e914';
103
- }
104
- .icon-updates:before {
105
- content: '\e915';
106
- }
107
- .icon-overview:before {
108
- content: '\e916';
109
- }
110
- .icon-comments:before {
111
- content: '\e917';
112
- }
113
- .icon-hamburger:before {
114
- content: '\e918';
115
- }
116
- .icon-share:before {
117
- content: '\e919';
118
- }
119
- .icon-facebook:before {
120
- content: '\e91a';
121
- }
122
- .icon-linkedin:before {
123
- content: '\e91b';
124
- }
125
- .icon-medium:before {
126
- content: '\e91c';
127
- }
128
- .icon-reddit:before {
129
- content: '\e91d';
130
- }
131
- .icon-telegram:before {
132
- content: '\e91e';
133
- }
134
- .icon-twitter:before {
135
- content: '\e91f';
136
- }
137
- .icon-youtube:before {
138
- content: '\e920';
139
- }
@@ -1,35 +0,0 @@
1
- import { css } from "styled-components";
2
- import IoniconsWOFF2 from "../static/fonts/Ionicons/Ionicons.woff2.js";
3
- import IoniconsWOFF from "../static/fonts/Ionicons/Ionicons.woff.js";
4
- import IoniconsTTF from "../static/fonts/Ionicons/Ionicons.ttf.js";
5
- import IcomoonEOT from "../static/fonts/icomoon/icomoon.eot.js";
6
- import IcomoonWOFF from "../static/fonts/icomoon/icomoon.woff.js";
7
- import IcomoonTTF from "../static/fonts/icomoon/icomoon.ttf.js";
8
- import IcomoonSVG from "../static/fonts/icomoon/icomoon.svg.js";
9
- const fontFaces = css`
10
- @font-face {
11
- font-family: 'Ionicons';
12
- src:
13
- url(${IoniconsWOFF2}) format('woff2'),
14
- url(${IoniconsWOFF}) format('woff'),
15
- url(${IoniconsTTF}) format('truetype');
16
- font-weight: normal;
17
- font-style: normal;
18
- }
19
-
20
- @font-face {
21
- font-family: 'icomoon';
22
- src: url('${IcomoonEOT}');
23
- src:
24
- url('${IcomoonEOT}#iefix') format('embedded-opentype'),
25
- url('${IcomoonTTF}') format('truetype'),
26
- url('${IcomoonWOFF}') format('woff'),
27
- url('${IcomoonSVG}') format('svg');
28
- font-weight: normal;
29
- font-style: normal;
30
- }
31
- `;
32
- export {
33
- fontFaces as default,
34
- fontFaces
35
- };
@@ -1,34 +0,0 @@
1
- import { useEffect, useLayoutEffect } from "react";
2
- import IoniconsWOFF2 from "../static/fonts/Ionicons/Ionicons.woff2.js";
3
- import IoniconsWOFF from "../static/fonts/Ionicons/Ionicons.woff.js";
4
- import IoniconsTTF from "../static/fonts/Ionicons/Ionicons.ttf.js";
5
- import ioniconsCss from "../static/fonts/Ionicons/ionicons.min.css.js";
6
- const IONICONS_STYLE_ID = "stokr-ionicons";
7
- const ioniconsStyleText = `
8
- @font-face {
9
- font-family: 'Ionicons';
10
- src:
11
- url(${IoniconsWOFF2}) format('woff2'),
12
- url(${IoniconsWOFF}) format('woff'),
13
- url(${IoniconsTTF}) format('truetype');
14
- font-weight: normal;
15
- font-style: normal;
16
- }
17
-
18
- ${ioniconsCss}
19
- `;
20
- function injectIonicons() {
21
- if (document.getElementById(IONICONS_STYLE_ID)) return;
22
- const style = document.createElement("style");
23
- style.id = IONICONS_STYLE_ID;
24
- style.textContent = ioniconsStyleText;
25
- document.head.appendChild(style);
26
- }
27
- const useIsomorphicLayoutEffect = typeof window === "undefined" ? useEffect : useLayoutEffect;
28
- function IoniconsStyles() {
29
- useIsomorphicLayoutEffect(injectIonicons, []);
30
- return null;
31
- }
32
- export {
33
- IoniconsStyles
34
- };