@stokr/components-library 4.0.1 → 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.
- package/README.md +1 -1
- package/dist/components/AdminDashboard/Table/Table.styles.js +6 -2
- package/dist/components/BackButton/BackButton.js +10 -14
- package/dist/components/BackButton/BackButton.styles.js +7 -4
- package/dist/components/ChartLegend/ChartLegend.styles.js +4 -2
- package/dist/components/Checkbox/Checkbox.js +5 -1
- package/dist/components/Checkbox/Checkbox.styles.js +12 -27
- package/dist/components/Checklist/ChecklistCard.js +6 -6
- package/dist/components/Checklist/ChecklistCard.styles.js +0 -39
- package/dist/components/Chips/Chip.js +14 -1
- package/dist/components/Chips/Chip.styles.js +4 -3
- package/dist/components/CryptoAddress/CryptoAddress.styles.js +15 -94
- package/dist/components/CryptoAddressWrapper/CryptoAddressWrapper.styles.js +7 -10
- package/dist/components/FAQ/FAQ.styles.js +6 -2
- package/dist/components/IdentityInfo/IdentityInfo.styles.js +1 -1
- package/dist/components/InfoBox/InfoBox.js +4 -2
- package/dist/components/InfoIcon/InfoIcon.js +24 -28
- package/dist/components/InfoIcon/InfoIcon.styles.d.ts +1 -1
- package/dist/components/InfoIcon/InfoIcon.styles.js +4 -3
- package/dist/components/Input/InputPassword.js +2 -1
- package/dist/components/Input/Select.js +0 -2
- package/dist/components/Input/Select.styles.js +5 -2
- package/dist/components/MaterialIcon/MaterialIcon.d.ts +5 -3
- package/dist/components/MaterialIcon/MaterialIcon.js +9 -5
- package/dist/components/MaterialIcon/MaterialIcon.styles.d.ts +5 -5
- package/dist/components/MaterialIcon/MaterialIcon.styles.js +2 -2
- package/dist/components/MaterialIcon/glyph.d.ts +5 -0
- package/dist/components/MaterialIcon/glyph.js +8 -0
- package/dist/components/MaterialIcon/iconConfig.d.ts +1 -1
- package/dist/components/MaterialIcon/requiredIcons.d.ts +5 -0
- package/dist/components/MaterialIcon/requiredIcons.js +21 -0
- package/dist/components/Modal/Modal.js +27 -31
- package/dist/components/Modal/Modal.styles.d.ts +3 -3
- package/dist/components/Modal/Modal.styles.js +31 -51
- package/dist/components/Modal/PaymentModal.js +10 -3
- package/dist/components/Modal/SideModal.js +45 -49
- package/dist/components/Pagination/Pagination.js +3 -3
- package/dist/components/Payment/TimerComponent.js +2 -3
- package/dist/components/Process/Process.styles.js +13 -18
- package/dist/components/ProfileBox/ProfileBox.styles.js +8 -8
- package/dist/components/RequestDataBox/RequestDataBox.styles.js +2 -3
- package/dist/components/StatusTag/StatusTag.js +2 -2
- package/dist/components/TaxResidenceCard/TaxResidenceCard.js +0 -2
- package/dist/components/TaxResidenceCard/TaxResidenceCard.styles.js +4 -2
- package/dist/components/TextLink/TextLink.styles.js +11 -20
- package/dist/components/Timeline/Timeline.styles.js +1 -1
- package/dist/components/Timeline/TimelineStep.js +2 -2
- package/dist/index.d.ts +1 -4
- package/dist/index.js +32 -38
- package/dist/styles/global.js +0 -5
- package/dist/styles/rwd.d.ts +7 -2
- package/dist/styles/rwd.js +7 -2
- package/package.json +3 -4
- package/dist/components/Icon/Icon.style.js +0 -92
- package/dist/static/fonts/Ionicons/Ionicons.ttf +0 -0
- package/dist/static/fonts/Ionicons/Ionicons.ttf.js +0 -4
- package/dist/static/fonts/Ionicons/Ionicons.woff +0 -0
- package/dist/static/fonts/Ionicons/Ionicons.woff.js +0 -4
- package/dist/static/fonts/Ionicons/Ionicons.woff2 +0 -0
- package/dist/static/fonts/Ionicons/Ionicons.woff2.js +0 -4
- package/dist/static/fonts/Ionicons/ionicons.min.css +0 -2810
- package/dist/static/fonts/Ionicons/ionicons.min.css.js +0 -4
- package/dist/static/fonts/icomoon/icomoon.eot +0 -0
- package/dist/static/fonts/icomoon/icomoon.eot.js +0 -4
- package/dist/static/fonts/icomoon/icomoon.svg +0 -53
- package/dist/static/fonts/icomoon/icomoon.svg.js +0 -4
- package/dist/static/fonts/icomoon/icomoon.ttf +0 -0
- package/dist/static/fonts/icomoon/icomoon.ttf.js +0 -4
- package/dist/static/fonts/icomoon/icomoon.woff +0 -0
- package/dist/static/fonts/icomoon/icomoon.woff.js +0 -4
- package/dist/static/fonts/icomoon/selection.json +0 -910
- package/dist/static/fonts/icomoon/style.css +0 -139
- package/dist/static/images/copy_icon.svg +0 -4
- package/dist/static/images/copy_icon.svg.js +0 -5
- package/dist/styles/fonts.js +0 -35
- 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,4 +0,0 @@
|
|
|
1
|
-
<svg width="19" height="20" viewBox="0 0 19 20" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
-
<path d="M6.21053 7H3C2.44772 7 2 7.44772 2 8V17C2 17.5523 2.44772 18 3 18H11C11.5523 18 12 17.5523 12 17V15.6087" stroke="black" stroke-width="2"/>
|
|
3
|
-
<path d="M7 13V3C7 1.89543 7.89543 1 9 1H13.3636L17 5V13C17 14.1046 16.1046 15 15 15H9C7.89543 15 7 14.1046 7 13Z" fill="black"/>
|
|
4
|
-
</svg>
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
const SvgCopyIcon = (props) => /* @__PURE__ */ React.createElement("svg", { width: 19, height: 20, viewBox: "0 0 19 20", fill: "none", xmlns: "http://www.w3.org/2000/svg", ...props }, /* @__PURE__ */ React.createElement("path", { d: "M6.21053 7H3C2.44772 7 2 7.44772 2 8V17C2 17.5523 2.44772 18 3 18H11C11.5523 18 12 17.5523 12 17V15.6087", stroke: "black", strokeWidth: 2 }), /* @__PURE__ */ React.createElement("path", { d: "M7 13V3C7 1.89543 7.89543 1 9 1H13.3636L17 5V13C17 14.1046 16.1046 15 15 15H9C7.89543 15 7 14.1046 7 13Z", fill: "black" }));
|
|
3
|
-
export {
|
|
4
|
-
SvgCopyIcon as default
|
|
5
|
-
};
|
package/dist/styles/fonts.js
DELETED
|
@@ -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
|
-
};
|