@stokr/components-library 3.3.0 → 4.0.1
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/dist/components/AdminDashboard/Table/Table.styles.js +7 -13
- package/dist/components/BasicTable/BasicTable.js +1 -3
- package/dist/components/BlogPost/BlogPost.styles.js +2 -2
- package/dist/components/Button/Button.styles.d.ts +28 -0
- package/dist/components/Button/Button.styles.js +27 -38
- package/dist/components/Button/GlareButton.js +2 -2
- package/dist/components/CardTabs/CardTabs.d.ts +41 -0
- package/dist/components/CardTabs/CardTabs.js +130 -0
- package/dist/components/CardTabs/CardTabs.styles.d.ts +56 -0
- package/dist/components/CardTabs/CardTabs.styles.js +171 -0
- package/dist/components/Chips/Chip.js +32 -8
- package/dist/components/Chips/Chip.styles.js +24 -28
- package/dist/components/Collapsible/Collapsible.d.ts +18 -0
- package/dist/components/Collapsible/Collapsible.js +44 -0
- package/dist/components/Collapsible/Collapsible.styles.d.ts +18 -0
- package/dist/components/Collapsible/Collapsible.styles.js +94 -0
- package/dist/components/ComponentWrapper/ComponentWrapper.styles.d.ts +31 -0
- package/dist/components/ComponentWrapper/ComponentWrapper.styles.js +107 -109
- package/dist/components/Copy/Copy.d.ts +20 -0
- package/dist/components/Copy/Copy.js +0 -9
- package/dist/components/Copy/copySource.d.ts +20 -0
- package/dist/components/Copy/flatten.d.ts +3 -0
- package/dist/components/CopyToClipboardTooltip/CopyToClipboardTooltip.d.ts +15 -0
- package/dist/components/CopyToClipboardTooltip/CopyToClipboardTooltip.styles.d.ts +6 -0
- package/dist/components/CryptoAddress/CryptoAddress.js +3 -3
- package/dist/components/InfoIcon/InfoIcon.d.ts +33 -0
- package/dist/components/InfoIcon/InfoIcon.styles.d.ts +12 -0
- package/dist/components/Input/Input.d.ts +23 -0
- package/dist/components/Input/Input.js +17 -27
- package/dist/components/Input/Input.styles.d.ts +15 -0
- package/dist/components/Input/InputPassword.js +1 -0
- package/dist/components/Input/InputPassword.styles.js +4 -1
- package/dist/components/Input/MultiSelect.js +1 -0
- package/dist/components/Input/RangeInput.js +49 -53
- package/dist/components/Input/Textarea.styles.js +1 -1
- package/dist/components/MaterialIcon/MaterialIcon.d.ts +41 -0
- package/dist/components/MaterialIcon/MaterialIcon.js +55 -0
- package/dist/components/MaterialIcon/MaterialIcon.styles.d.ts +14 -0
- package/dist/components/MaterialIcon/MaterialIcon.styles.js +31 -0
- package/dist/components/MaterialIcon/iconConfig.d.ts +24 -0
- package/dist/components/MaterialIcon/iconConfig.js +11 -0
- package/dist/components/Modal/Modal.d.ts +26 -0
- package/dist/components/Modal/Modal.js +1 -18
- package/dist/components/Modal/Modal.styles.d.ts +59 -0
- package/dist/components/Modal/Modal.styles.js +18 -3
- package/dist/components/Modal/PaymentModal.js +16 -19
- package/dist/components/Modal/SideModal.d.ts +47 -0
- package/dist/components/Modal/SideModal.js +197 -73
- package/dist/components/Modal/SideModal.styles.d.ts +28 -0
- package/dist/components/Modal/SideModal.styles.js +56 -16
- package/dist/components/Modal/SideModalContext.d.ts +12 -0
- package/dist/components/Modal/SideModalContext.js +10 -0
- package/dist/components/Modal/SideModalParts.d.ts +20 -0
- package/dist/components/Modal/SideModalParts.js +95 -0
- package/dist/components/Pagination/Pagination.js +2 -2
- package/dist/components/Pagination/PaginationControls.js +2 -2
- package/dist/components/Payment/TimerComponent.js +1 -2
- package/dist/components/RefreshButton/RefreshButton.styles.js +2 -2
- package/dist/components/RequestDataBox/RequestDataBox.js +2 -2
- package/dist/components/Section/Section.d.ts +32 -0
- package/dist/components/Section/Section.js +83 -0
- package/dist/components/Section/Section.styles.d.ts +34 -0
- package/dist/components/Section/Section.styles.js +143 -0
- package/dist/components/Skeleton/Skeleton.d.ts +44 -0
- package/dist/components/Skeleton/Skeleton.js +48 -0
- package/dist/components/Skeleton/Skeleton.styles.d.ts +14 -0
- package/dist/components/Skeleton/Skeleton.styles.js +51 -0
- package/dist/components/StokrLoader/StokrLoader.d.ts +21 -0
- package/dist/components/StokrLoader/StokrLoader.js +22 -23
- package/dist/components/Tabs/Tabs.styles.js +3 -1
- package/dist/components/TabsNav/TabsNav.js +1 -1
- package/dist/components/TabsNav/TabsNav.styles.js +1 -1
- package/dist/components/Text/Text.styles.d.ts +20 -0
- package/dist/components/Text/Text.styles.js +2 -2
- package/dist/components/TextLink/TextLink.styles.js +1 -2
- package/dist/components/Tooltip/Tooltip.d.ts +42 -0
- package/dist/components/Tooltip/Tooltip.styles.d.ts +10 -0
- package/dist/constants/globalVariables.js +1 -39
- package/dist/hooks/useMediaQuery.d.ts +7 -0
- package/dist/hooks/useMediaQuery.js +19 -0
- package/dist/index.d.ts +299 -0
- package/dist/index.js +97 -213
- package/dist/styles/colors.d.ts +68 -0
- package/dist/styles/colors.js +13 -1
- package/dist/styles/elevation.d.ts +13 -0
- package/dist/styles/elevation.js +15 -0
- package/dist/styles/fonts.js +0 -65
- package/dist/styles/global.js +0 -2
- package/dist/styles/grid.d.ts +27 -0
- package/dist/styles/grid.js +8 -1
- package/dist/styles/rwd.d.ts +48 -0
- package/dist/styles/rwd.js +33 -17
- package/dist/styles/spacing.d.ts +36 -0
- package/dist/styles/spacing.js +30 -0
- package/dist/styles/theme.d.ts +92 -0
- package/dist/styles/theme.js +2 -0
- package/dist/styles/typography.d.ts +42 -0
- package/dist/styles/typography.js +56 -0
- package/dist/utils/capitalize.d.ts +2 -0
- package/dist/utils/capitalize.js +4 -0
- package/dist/utils/copy-text-to-clipboard.d.ts +10 -0
- package/dist/utils/copyToClipboard.d.ts +37 -0
- package/dist/utils/copyToClipboard.js +3 -3
- package/dist/utils/csv.d.ts +14 -0
- package/dist/utils/csv.js +25 -0
- package/dist/utils/customHooks.d.ts +20 -0
- package/dist/utils/customHooks.js +16 -11
- package/dist/utils/fix-decimals.d.ts +14 -0
- package/dist/utils/formatAmount.d.ts +109 -0
- package/dist/utils/formatAmount.js +170 -0
- package/dist/utils/formatCurrencyValue.d.ts +46 -0
- package/dist/utils/formatCurrencyValue.js +6 -21
- package/dist/utils/formatDate.d.ts +19 -0
- package/dist/utils/formatDate.js +44 -0
- package/dist/utils/get-short-address.d.ts +13 -0
- package/dist/utils/get-short-address.js +9 -2
- package/dist/utils/inertProp.d.ts +5 -0
- package/dist/utils/inertProp.js +6 -0
- package/dist/utils/isUSInvestor.d.ts +4 -0
- package/dist/utils/km_ify.d.ts +5 -0
- package/dist/utils/km_ify.js +19 -18
- package/dist/utils/password-validation.d.ts +16 -0
- package/dist/utils/saveAs.d.ts +2 -0
- package/dist/utils/saveAs.js +5 -2
- package/dist/utils/scrollUtils.d.ts +25 -0
- package/dist/utils/scrollUtils.js +13 -10
- package/dist/utils/transition.d.ts +45 -0
- package/dist/utils/transition.js +0 -28
- package/package.json +12 -12
- package/dist/components/AccountBalance/AccountBalance.js +0 -35
- package/dist/components/AccountBalance/AccountBalance.styles.js +0 -48
- package/dist/components/AdminDashboard/Table/Table.js +0 -123
- package/dist/components/ButtonContainer/ButtonContainer.styles.js +0 -51
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.js +0 -34
- package/dist/components/CryptoAddressDetails/CryptoAddressDetails.styles.js +0 -125
- package/dist/components/DoubleButton/DoubleButton.styles.js +0 -27
- package/dist/components/ErrorMessage/ErrorMessage.styles.js +0 -9
- package/dist/components/Icon/Icon2.js +0 -12
- package/dist/components/Input/InputUsername.js +0 -92
- package/dist/components/Input/RangeInput.styles.js +0 -129
- package/dist/components/InvestmentStat/InvestmentStat.js +0 -24
- package/dist/components/InvestmentStat/InvestmentStat.styles.js +0 -62
- package/dist/components/LatestUpdate/LatestUpdate.js +0 -24
- package/dist/components/LatestUpdate/LatestUpdate.styles.js +0 -90
- package/dist/components/MultiProgressBar/MultiProgressBar.js +0 -28
- package/dist/components/MultiProgressBar/MultiProgressBar.styles.js +0 -105
- package/dist/components/PageTransition/PageTransition.js +0 -51
- package/dist/components/ProfileStat/ProfileStat.js +0 -29
- package/dist/components/ProfileStat/ProfileStat.styles.js +0 -90
- package/dist/components/SEO/SEO.js +0 -66
- package/dist/components/SideLine/SideLine.js +0 -7
- package/dist/components/SideLine/SideLine.styles.js +0 -33
- package/dist/components/Slider/Slider.js +0 -31
- package/dist/components/Slider/Slider.styles.js +0 -120
- package/dist/components/StatusBadge/StatusBadge.styles.js +0 -18
- package/dist/components/StokrLoader/media.js +0 -23
- package/dist/components/SvgIcons/CameraSvg.js +0 -31
- package/dist/components/SvgIcons/DocumentBackSvg.js +0 -20
- package/dist/components/SvgIcons/DocumentSmallSvg.js +0 -41
- package/dist/components/SvgIcons/DocumentSvg.js +0 -39
- package/dist/components/SvgIcons/EthSvg.js +0 -28
- package/dist/components/SvgIcons/EurSvg.js +0 -27
- package/dist/components/SvgIcons/FaceScanIconSvg.js +0 -17
- package/dist/components/SvgIcons/FourSvg.js +0 -7
- package/dist/components/SvgIcons/Glassess.js +0 -26
- package/dist/components/SvgIcons/OneSvg.js +0 -10
- package/dist/components/SvgIcons/PassportSvg.js +0 -37
- package/dist/components/SvgIcons/SocialInstagram.js +0 -13
- package/dist/components/SvgIcons/SocialMedium.js +0 -21
- package/dist/components/SvgIcons/SocialReddit.js +0 -21
- package/dist/components/SvgIcons/SocialYoutube.js +0 -22
- package/dist/components/SvgIcons/ThreeSvg.js +0 -7
- package/dist/components/SvgIcons/TwoSidedDocumentSvg.js +0 -48
- package/dist/components/SvgIcons/TwoSvg.js +0 -10
- package/dist/components/SvgIcons/UpdateDefaultSvg.js +0 -12
- package/dist/components/SvgIcons/UpdateHardSvg.js +0 -10
- package/dist/components/SvgIcons/UpdateSoftSvg.js +0 -11
- package/dist/components/SvgIcons/UploadSvg.js +0 -12
- package/dist/components/TeamOverview/TeamOverview.js +0 -79
- package/dist/components/TeamOverview/TeamOverview.styles.js +0 -167
- package/dist/components/TransactionDetails/TransactionDetails.js +0 -27
- package/dist/components/TransactionDetails/TransactionDetails.styles.js +0 -38
- package/dist/components/TransactionInfo/TransactionInfo.js +0 -41
- package/dist/components/TransactionInfo/TransactionInfo.styles.js +0 -75
- package/dist/components/icons/Arrow.js +0 -38
- package/dist/components/icons/Check.js +0 -16
- package/dist/components/icons/Facebook.js +0 -10
- package/dist/components/icons/Info.js +0 -27
- package/dist/components/icons/Instagram.js +0 -10
- package/dist/components/icons/LinkIcon.js +0 -49
- package/dist/components/icons/LinkedIn.js +0 -13
- package/dist/components/icons/Medium.js +0 -13
- package/dist/components/icons/Reddit.js +0 -16
- package/dist/components/icons/Share.js +0 -31
- package/dist/components/icons/Telegram.js +0 -13
- package/dist/components/icons/Twitter.js +0 -10
- package/dist/components/icons/X.js +0 -10
- package/dist/components/icons/Youtube.js +0 -10
- package/dist/components/icons/index.js +0 -32
- package/dist/components/landing-page/List.js +0 -51
- package/dist/components/landing-page/PageContent.js +0 -65
- package/dist/components/landing-page/PageText.js +0 -171
- package/dist/components/landing-page/PageTitle.js +0 -259
- package/dist/constants/style.js +0 -48
- package/dist/favicon.ico +0 -0
- package/dist/logo192.png +0 -0
- package/dist/logo512.png +0 -0
- package/dist/manifest.json +0 -25
- package/dist/robots.txt +0 -3
- package/dist/static/fonts/OpenSans/OpenSans-Bold.ttf +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Bold.ttf.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Bold.woff +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Bold.woff.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Bold.woff2 +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Bold.woff2.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.ttf +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.ttf.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.woff +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.woff.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.woff2 +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-ExtraBold.woff2.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Light.ttf +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Light.ttf.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Light.woff +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Light.woff.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Light.woff2 +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Light.woff2.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Regular.ttf +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Regular.ttf.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Regular.woff +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Regular.woff.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-Regular.woff2 +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-Regular.woff2.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.ttf +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.ttf.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.woff +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.woff.js +0 -4
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.woff2 +0 -0
- package/dist/static/fonts/OpenSans/OpenSans-SemiBold.woff2.js +0 -4
- package/dist/static/images/avatar-placeholder.png.js +0 -4
- package/dist/styles/reactTippy.js +0 -5
- package/dist/styles/semanticUi.js +0 -84
- package/dist/utils/check-sale-time-left.js +0 -85
- package/dist/utils/moment.js +0 -26
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import { Arrow } from "./Arrow.js";
|
|
2
|
-
import { ArrowSimple } from "./ArrowSimple.js";
|
|
3
|
-
import { Check } from "./Check.js";
|
|
4
|
-
import { Facebook } from "./Facebook.js";
|
|
5
|
-
import { Info } from "./Info.js";
|
|
6
|
-
import { Instagram } from "./Instagram.js";
|
|
7
|
-
import { LinkIcon } from "./LinkIcon.js";
|
|
8
|
-
import { LinkedIn } from "./LinkedIn.js";
|
|
9
|
-
import { Medium } from "./Medium.js";
|
|
10
|
-
import { Reddit } from "./Reddit.js";
|
|
11
|
-
import { Share } from "./Share.js";
|
|
12
|
-
import { Telegram } from "./Telegram.js";
|
|
13
|
-
import { Twitter } from "./Twitter.js";
|
|
14
|
-
import { Youtube } from "./Youtube.js";
|
|
15
|
-
import { X } from "./X.js";
|
|
16
|
-
export {
|
|
17
|
-
Arrow,
|
|
18
|
-
ArrowSimple,
|
|
19
|
-
Check,
|
|
20
|
-
Facebook,
|
|
21
|
-
Info,
|
|
22
|
-
Instagram,
|
|
23
|
-
LinkIcon,
|
|
24
|
-
LinkedIn,
|
|
25
|
-
Medium,
|
|
26
|
-
Reddit,
|
|
27
|
-
Share,
|
|
28
|
-
Telegram,
|
|
29
|
-
Twitter,
|
|
30
|
-
X,
|
|
31
|
-
Youtube
|
|
32
|
-
};
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import theme from "../../styles/theme.js";
|
|
3
|
-
const List = styled.ul`
|
|
4
|
-
list-style-type: disclosure-closed;
|
|
5
|
-
list-style: none;
|
|
6
|
-
margin: 0;
|
|
7
|
-
padding: 0;
|
|
8
|
-
`;
|
|
9
|
-
const ListItem = styled.li`
|
|
10
|
-
padding: 0 0 0 2rem;
|
|
11
|
-
color: ${theme.cBlack};
|
|
12
|
-
font-size: 0.75rem;
|
|
13
|
-
letter-spacing: normal;
|
|
14
|
-
line-height: 1.31rem;
|
|
15
|
-
font-weight: 200;
|
|
16
|
-
margin-bottom: 1rem;
|
|
17
|
-
position: relative;
|
|
18
|
-
/* top: 1px; */
|
|
19
|
-
|
|
20
|
-
font-size: 16px !important;
|
|
21
|
-
font-weight: 300;
|
|
22
|
-
font-style: normal;
|
|
23
|
-
font-stretch: normal;
|
|
24
|
-
line-height: 1.5 !important;
|
|
25
|
-
letter-spacing: 0.6px;
|
|
26
|
-
|
|
27
|
-
a {
|
|
28
|
-
word-break: break-all !important;
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
&:before {
|
|
32
|
-
content: '';
|
|
33
|
-
position: absolute;
|
|
34
|
-
width: 10px;
|
|
35
|
-
height: 10px;
|
|
36
|
-
background: #0050ca;
|
|
37
|
-
border-radius: 100px;
|
|
38
|
-
left: 0;
|
|
39
|
-
top: 0px;
|
|
40
|
-
margin-top: 0.35rem;
|
|
41
|
-
|
|
42
|
-
@media screen and (min-width: 1440px) {
|
|
43
|
-
top: -1px;
|
|
44
|
-
}
|
|
45
|
-
}
|
|
46
|
-
`;
|
|
47
|
-
List.Item = ListItem;
|
|
48
|
-
export {
|
|
49
|
-
List,
|
|
50
|
-
ListItem
|
|
51
|
-
};
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import media from "../StokrLoader/media.js";
|
|
3
|
-
const ContentInnerFull = styled.div`
|
|
4
|
-
display: flex;
|
|
5
|
-
align-items: flex-start;
|
|
6
|
-
justify-content: center;
|
|
7
|
-
margin: auto;
|
|
8
|
-
padding: 0.55rem 2rem;
|
|
9
|
-
font-size: 1rem;
|
|
10
|
-
width: 100%;
|
|
11
|
-
z-index: 1;
|
|
12
|
-
|
|
13
|
-
${media.tablet`
|
|
14
|
-
padding: 0.55rem 3rem;
|
|
15
|
-
`};
|
|
16
|
-
|
|
17
|
-
${media.desktop`
|
|
18
|
-
padding: 0.75rem 25% 2.5rem 0;
|
|
19
|
-
max-width: 85%;
|
|
20
|
-
height: 100%;
|
|
21
|
-
`};
|
|
22
|
-
|
|
23
|
-
${media.default`
|
|
24
|
-
padding: 0.75rem 25% 3.5rem 0;
|
|
25
|
-
`};
|
|
26
|
-
`;
|
|
27
|
-
const ContentInnerText = styled.div`
|
|
28
|
-
width: 100%;
|
|
29
|
-
|
|
30
|
-
h4 {
|
|
31
|
-
font-size: 1.07143rem;
|
|
32
|
-
font-size: 17.14px;
|
|
33
|
-
font-weight: 700;
|
|
34
|
-
line-height: 1.28571em;
|
|
35
|
-
letter-spacing: normal;
|
|
36
|
-
position: relative;
|
|
37
|
-
margin-top: 29px;
|
|
38
|
-
margin-bottom: 16px;
|
|
39
|
-
}
|
|
40
|
-
|
|
41
|
-
h4:not(:first-of-type) {
|
|
42
|
-
top: 1px;
|
|
43
|
-
|
|
44
|
-
${media.desktop`
|
|
45
|
-
top: 0px;
|
|
46
|
-
`};
|
|
47
|
-
}
|
|
48
|
-
|
|
49
|
-
p:not(:first-of-type) {
|
|
50
|
-
position: relative;
|
|
51
|
-
top: 0px;
|
|
52
|
-
}
|
|
53
|
-
|
|
54
|
-
p:last-of-type {
|
|
55
|
-
margin-bottom: 65px;
|
|
56
|
-
|
|
57
|
-
${media.desktop`
|
|
58
|
-
margin-bottom: 0;
|
|
59
|
-
`};
|
|
60
|
-
}
|
|
61
|
-
`;
|
|
62
|
-
export {
|
|
63
|
-
ContentInnerFull,
|
|
64
|
-
ContentInnerText
|
|
65
|
-
};
|
|
@@ -1,171 +0,0 @@
|
|
|
1
|
-
import styled from "styled-components";
|
|
2
|
-
import { Link } from "react-router-dom";
|
|
3
|
-
import media from "../StokrLoader/media.js";
|
|
4
|
-
import theme from "../../styles/theme.js";
|
|
5
|
-
const ContentText = styled.p.withConfig({
|
|
6
|
-
shouldForwardProp: (props) => !["dark", "bold", "light", "regular"].includes(props)
|
|
7
|
-
})`
|
|
8
|
-
font-size: 0.81rem;
|
|
9
|
-
letter-spacing: normal;
|
|
10
|
-
line-height: 1.6rem;
|
|
11
|
-
position: relative;
|
|
12
|
-
padding-bottom: 10px;
|
|
13
|
-
|
|
14
|
-
/* color: ${(props) => props.dark ? theme.cBlack : theme.cWhite}; */
|
|
15
|
-
|
|
16
|
-
color: #202020;
|
|
17
|
-
font-weight: ${(props) => {
|
|
18
|
-
if (props.bold) {
|
|
19
|
-
return "800";
|
|
20
|
-
}
|
|
21
|
-
if (props.light) {
|
|
22
|
-
return "200";
|
|
23
|
-
}
|
|
24
|
-
if (props.regular) {
|
|
25
|
-
return "400";
|
|
26
|
-
}
|
|
27
|
-
return "200";
|
|
28
|
-
}};
|
|
29
|
-
${media.tablet`
|
|
30
|
-
font-size: 0.75rem;
|
|
31
|
-
line-height: 1.5rem;
|
|
32
|
-
`};
|
|
33
|
-
|
|
34
|
-
${media.desktop`
|
|
35
|
-
font-size: 0.75rem;
|
|
36
|
-
line-height: 1.5rem;
|
|
37
|
-
`};
|
|
38
|
-
|
|
39
|
-
${media.large`
|
|
40
|
-
font-size: 0.75rem;
|
|
41
|
-
line-height: 1.5rem;
|
|
42
|
-
`};
|
|
43
|
-
|
|
44
|
-
${media.default`
|
|
45
|
-
font-size: 0.75rem;
|
|
46
|
-
line-height: 1.5rem;
|
|
47
|
-
`};
|
|
48
|
-
|
|
49
|
-
font-size: 16px !important;
|
|
50
|
-
font-weight: 300;
|
|
51
|
-
font-style: normal;
|
|
52
|
-
font-stretch: normal;
|
|
53
|
-
line-height: 1.5 !important;
|
|
54
|
-
letter-spacing: 0.6px;
|
|
55
|
-
|
|
56
|
-
a {
|
|
57
|
-
word-break: break-all !important;
|
|
58
|
-
}
|
|
59
|
-
`;
|
|
60
|
-
const ContentSection = styled.div`
|
|
61
|
-
// margin-bottom: 3rem;
|
|
62
|
-
margin-bottom: 1rem;
|
|
63
|
-
`;
|
|
64
|
-
const UppercaseText = styled.p.withConfig({
|
|
65
|
-
shouldForwardProp: (props) => !["hideDesktop", "nomargin", "bold", "light", "regular", "demi"].includes(props)
|
|
66
|
-
})`
|
|
67
|
-
position: relative;
|
|
68
|
-
margin: 0;
|
|
69
|
-
font-size: ${(props) => {
|
|
70
|
-
if (props.hideDesktop) {
|
|
71
|
-
return "0.62rem;";
|
|
72
|
-
}
|
|
73
|
-
return "0.75rem;";
|
|
74
|
-
}};
|
|
75
|
-
width: 100%;
|
|
76
|
-
line-height: 1.31rem;
|
|
77
|
-
letter-spacing: 0.11rem;
|
|
78
|
-
text-transform: uppercase;
|
|
79
|
-
display: inline-block;
|
|
80
|
-
margin-bottom: ${(props) => {
|
|
81
|
-
if (props.nomargin) {
|
|
82
|
-
return "0";
|
|
83
|
-
}
|
|
84
|
-
return "1rem";
|
|
85
|
-
}};
|
|
86
|
-
|
|
87
|
-
font-weight: ${(props) => {
|
|
88
|
-
if (props.bold) {
|
|
89
|
-
return "800";
|
|
90
|
-
}
|
|
91
|
-
if (props.light) {
|
|
92
|
-
return "200";
|
|
93
|
-
}
|
|
94
|
-
if (props.regular) {
|
|
95
|
-
return "400";
|
|
96
|
-
}
|
|
97
|
-
if (props.demi) {
|
|
98
|
-
return "600";
|
|
99
|
-
}
|
|
100
|
-
return "600";
|
|
101
|
-
}};
|
|
102
|
-
|
|
103
|
-
order: 2;
|
|
104
|
-
|
|
105
|
-
${media.tablet`
|
|
106
|
-
font-size: .8rem;
|
|
107
|
-
`};
|
|
108
|
-
|
|
109
|
-
${media.desktop`
|
|
110
|
-
order: 1 !important;
|
|
111
|
-
display: ${(props) => {
|
|
112
|
-
if (props.hideDesktop) {
|
|
113
|
-
return "none";
|
|
114
|
-
}
|
|
115
|
-
return "inline-block";
|
|
116
|
-
}}; /* -line */
|
|
117
|
-
`};
|
|
118
|
-
|
|
119
|
-
&:first-of-type {
|
|
120
|
-
top: -2px;
|
|
121
|
-
|
|
122
|
-
${media.desktop`
|
|
123
|
-
top: -3px;
|
|
124
|
-
`};
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
&:nth-of-type(2) {
|
|
128
|
-
top: -5px;
|
|
129
|
-
|
|
130
|
-
${media.tablet`
|
|
131
|
-
top: -6px;
|
|
132
|
-
`};
|
|
133
|
-
|
|
134
|
-
${media.desktop`
|
|
135
|
-
top: -7px;
|
|
136
|
-
`};
|
|
137
|
-
}
|
|
138
|
-
`;
|
|
139
|
-
const ContentInnerLink = styled(Link)`
|
|
140
|
-
&&& {
|
|
141
|
-
color: #000;
|
|
142
|
-
padding: 0;
|
|
143
|
-
margin: 0 3rem 0 0;
|
|
144
|
-
display: flex;
|
|
145
|
-
align-items: center;
|
|
146
|
-
text-transform: uppercase;
|
|
147
|
-
|
|
148
|
-
span {
|
|
149
|
-
white-space: nowrap;
|
|
150
|
-
font-weight: 700;
|
|
151
|
-
font-size: 0.75rem;
|
|
152
|
-
letter-spacing: 1px;
|
|
153
|
-
}
|
|
154
|
-
|
|
155
|
-
&::after {
|
|
156
|
-
display: none;
|
|
157
|
-
}
|
|
158
|
-
& i {
|
|
159
|
-
margin-left: 0.5rem;
|
|
160
|
-
}
|
|
161
|
-
& img {
|
|
162
|
-
max-width: 1rem;
|
|
163
|
-
}
|
|
164
|
-
}
|
|
165
|
-
`;
|
|
166
|
-
export {
|
|
167
|
-
ContentInnerLink,
|
|
168
|
-
ContentSection,
|
|
169
|
-
ContentText,
|
|
170
|
-
UppercaseText
|
|
171
|
-
};
|
|
@@ -1,259 +0,0 @@
|
|
|
1
|
-
import styled, { css } from "styled-components";
|
|
2
|
-
import { Link } from "react-router-dom";
|
|
3
|
-
import media from "../StokrLoader/media.js";
|
|
4
|
-
import theme from "../../styles/theme.js";
|
|
5
|
-
const CustomH1 = styled.h1.withConfig({
|
|
6
|
-
shouldForwardProp: (props) => !["extramargin"].includes(props)
|
|
7
|
-
})`
|
|
8
|
-
font-size: 34px;
|
|
9
|
-
font-weight: 800;
|
|
10
|
-
font-style: normal;
|
|
11
|
-
font-stretch: normal;
|
|
12
|
-
line-height: 1.18;
|
|
13
|
-
letter-spacing: 0.8px;
|
|
14
|
-
text-transform: uppercase;
|
|
15
|
-
|
|
16
|
-
${(props) => props.extramargin && css`
|
|
17
|
-
margin-top: 2rem;
|
|
18
|
-
margin-bottom: 3rem;
|
|
19
|
-
`}
|
|
20
|
-
|
|
21
|
-
@media screen and (max-width: 767px) {
|
|
22
|
-
font-size: 22px;
|
|
23
|
-
}
|
|
24
|
-
`;
|
|
25
|
-
const BigH3Title = styled.h3`
|
|
26
|
-
font-size: 1.25rem;
|
|
27
|
-
font-weight: 900;
|
|
28
|
-
letter-spacing: normal;
|
|
29
|
-
line-height: 1.28571429em;
|
|
30
|
-
text-transform: uppercase;
|
|
31
|
-
margin-bottom: 1rem;
|
|
32
|
-
position: relative;
|
|
33
|
-
|
|
34
|
-
${media.desktop`
|
|
35
|
-
top: -1px;
|
|
36
|
-
`};
|
|
37
|
-
`;
|
|
38
|
-
const Customh2 = styled.h3.withConfig({
|
|
39
|
-
shouldForwardProp: (props) => !["announcementcustomh2"].includes(props)
|
|
40
|
-
})`
|
|
41
|
-
font-size: 1.12rem;
|
|
42
|
-
font-weight: 900;
|
|
43
|
-
letter-spacing: normal;
|
|
44
|
-
text-transform: uppercase;
|
|
45
|
-
margin-bottom: 1rem;
|
|
46
|
-
|
|
47
|
-
${(props) => props.announcementcustomh2 && css`
|
|
48
|
-
margin-bottom: 3rem;
|
|
49
|
-
`}
|
|
50
|
-
|
|
51
|
-
${media.desktop`
|
|
52
|
-
font-size: 2rem;
|
|
53
|
-
`};
|
|
54
|
-
`;
|
|
55
|
-
const LandingPageTitle = styled.h2.withConfig({
|
|
56
|
-
shouldForwardProp: (props) => !["dark", "home", "announcementheading"].includes(props)
|
|
57
|
-
})`
|
|
58
|
-
display: block;
|
|
59
|
-
text-transform: uppercase;
|
|
60
|
-
font-weight: 800;
|
|
61
|
-
font-size: 2rem;
|
|
62
|
-
font-size: 34px !important;
|
|
63
|
-
|
|
64
|
-
line-height: 2.31rem;
|
|
65
|
-
letter-spacing: 0.06rem;
|
|
66
|
-
color: ${(props) => props.dark ? theme.cBlack : theme.cWhite};
|
|
67
|
-
margin: ${(props) => props.home ? "1rem 0 0" : "1rem 0 1.5rem"};
|
|
68
|
-
order: 2;
|
|
69
|
-
position: relative;
|
|
70
|
-
top: -13px;
|
|
71
|
-
|
|
72
|
-
br {
|
|
73
|
-
// display: none;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
${(props) => props.announcementheading && css`
|
|
77
|
-
font-size: 22px !important;
|
|
78
|
-
`}
|
|
79
|
-
|
|
80
|
-
${media.tablet`
|
|
81
|
-
font-size: 3rem;
|
|
82
|
-
// line-height: 4rem;
|
|
83
|
-
line-height: 1;
|
|
84
|
-
top: -15px;
|
|
85
|
-
`};
|
|
86
|
-
|
|
87
|
-
${media.desktop`
|
|
88
|
-
font-size: 2.6rem;
|
|
89
|
-
margin: 0 0 2rem 0;
|
|
90
|
-
letter-spacing: 0.165rem;
|
|
91
|
-
line-height: 1;
|
|
92
|
-
order: 1;
|
|
93
|
-
top: 0;
|
|
94
|
-
|
|
95
|
-
br {
|
|
96
|
-
display: inline-block;
|
|
97
|
-
}
|
|
98
|
-
`};
|
|
99
|
-
|
|
100
|
-
${media.large`
|
|
101
|
-
font-size: 2.68rem;
|
|
102
|
-
`};
|
|
103
|
-
|
|
104
|
-
${media.default`
|
|
105
|
-
font-size: 3.18rem;
|
|
106
|
-
`};
|
|
107
|
-
|
|
108
|
-
${media.widescreen`
|
|
109
|
-
font-size: 4.18rem;
|
|
110
|
-
`};
|
|
111
|
-
`;
|
|
112
|
-
const LandingPageTitleLink = styled(Link)`
|
|
113
|
-
color: #000;
|
|
114
|
-
display: flex;
|
|
115
|
-
order: 2;
|
|
116
|
-
transition: opacity 0.3s;
|
|
117
|
-
|
|
118
|
-
&:after {
|
|
119
|
-
display: none;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
&:hover,
|
|
123
|
-
&:active {
|
|
124
|
-
color: #000;
|
|
125
|
-
}
|
|
126
|
-
|
|
127
|
-
${media.desktop`
|
|
128
|
-
order: 1;
|
|
129
|
-
|
|
130
|
-
&:hover,
|
|
131
|
-
&:active {
|
|
132
|
-
color: #000;
|
|
133
|
-
opacity: 0.65;
|
|
134
|
-
}
|
|
135
|
-
`};
|
|
136
|
-
`;
|
|
137
|
-
const AnnouncementTitleMain = styled.span.withConfig({
|
|
138
|
-
shouldForwardProp: (props) => !["dark", "home", "annouvementheading"].includes(props)
|
|
139
|
-
})`
|
|
140
|
-
display: block;
|
|
141
|
-
text-transform: uppercase;
|
|
142
|
-
font-weight: 800;
|
|
143
|
-
font-size: 2rem;
|
|
144
|
-
font-size: 34px !important;
|
|
145
|
-
|
|
146
|
-
line-height: 2.31rem;
|
|
147
|
-
letter-spacing: 0.06rem;
|
|
148
|
-
color: ${(props) => props.dark ? theme.cBlack : theme.cWhite};
|
|
149
|
-
margin: ${(props) => props.home ? "1rem 0 0" : "1rem 0 1.5rem"};
|
|
150
|
-
order: 2;
|
|
151
|
-
position: relative;
|
|
152
|
-
top: -13px;
|
|
153
|
-
|
|
154
|
-
br {
|
|
155
|
-
// display: none;
|
|
156
|
-
}
|
|
157
|
-
|
|
158
|
-
${(props) => props.announcementheading && css`
|
|
159
|
-
font-size: 22px !important;
|
|
160
|
-
`}
|
|
161
|
-
|
|
162
|
-
${media.tablet`
|
|
163
|
-
font-size: 3rem;
|
|
164
|
-
// line-height: 4rem;
|
|
165
|
-
line-height: 1;
|
|
166
|
-
top: -15px;
|
|
167
|
-
`};
|
|
168
|
-
|
|
169
|
-
${media.desktop`
|
|
170
|
-
font-size: 2.6rem;
|
|
171
|
-
margin: 0 0 2rem 0;
|
|
172
|
-
letter-spacing: 0.165rem;
|
|
173
|
-
line-height: 1;
|
|
174
|
-
order: 1;
|
|
175
|
-
top: 0;
|
|
176
|
-
|
|
177
|
-
br {
|
|
178
|
-
display: inline-block;
|
|
179
|
-
}
|
|
180
|
-
`};
|
|
181
|
-
|
|
182
|
-
${media.large`
|
|
183
|
-
font-size: 2.68rem;
|
|
184
|
-
`};
|
|
185
|
-
|
|
186
|
-
${media.default`
|
|
187
|
-
font-size: 3.18rem;
|
|
188
|
-
`};
|
|
189
|
-
|
|
190
|
-
${media.widescreen`
|
|
191
|
-
font-size: 4.18rem;
|
|
192
|
-
`};
|
|
193
|
-
`;
|
|
194
|
-
const CareersTitleMain = styled.span.withConfig({
|
|
195
|
-
shouldForwardProp: (props) => !["dark", "home", "annoucementheading"].includes(props)
|
|
196
|
-
})`
|
|
197
|
-
display: block;
|
|
198
|
-
text-transform: uppercase;
|
|
199
|
-
font-weight: 800;
|
|
200
|
-
font-size: 2rem;
|
|
201
|
-
font-size: 34px !important;
|
|
202
|
-
|
|
203
|
-
line-height: 2.31rem;
|
|
204
|
-
letter-spacing: 0.06rem;
|
|
205
|
-
color: ${(props) => props.dark ? theme.cBlack : theme.cWhite};
|
|
206
|
-
margin: ${(props) => props.home ? "1rem 0 0" : "1rem 0 1.5rem"};
|
|
207
|
-
order: 2;
|
|
208
|
-
position: relative;
|
|
209
|
-
top: -13px;
|
|
210
|
-
|
|
211
|
-
br {
|
|
212
|
-
// display: none;
|
|
213
|
-
}
|
|
214
|
-
|
|
215
|
-
${(props) => props.announcementheading && css`
|
|
216
|
-
font-size: 22px !important;
|
|
217
|
-
`}
|
|
218
|
-
|
|
219
|
-
${media.tablet`
|
|
220
|
-
font-size: 3rem;
|
|
221
|
-
// line-height: 4rem;
|
|
222
|
-
line-height: 1;
|
|
223
|
-
top: -15px;
|
|
224
|
-
`};
|
|
225
|
-
|
|
226
|
-
${media.desktop`
|
|
227
|
-
font-size: 2.6rem;
|
|
228
|
-
margin: 0 0 2rem 0;
|
|
229
|
-
letter-spacing: 0.165rem;
|
|
230
|
-
line-height: 1;
|
|
231
|
-
order: 1;
|
|
232
|
-
top: 0;
|
|
233
|
-
|
|
234
|
-
br {
|
|
235
|
-
display: inline-block;
|
|
236
|
-
}
|
|
237
|
-
`};
|
|
238
|
-
|
|
239
|
-
${media.large`
|
|
240
|
-
font-size: 2.68rem;
|
|
241
|
-
`};
|
|
242
|
-
|
|
243
|
-
${media.default`
|
|
244
|
-
font-size: 3.18rem;
|
|
245
|
-
`};
|
|
246
|
-
|
|
247
|
-
${media.widescreen`
|
|
248
|
-
font-size: 4.18rem;
|
|
249
|
-
`};
|
|
250
|
-
`;
|
|
251
|
-
export {
|
|
252
|
-
AnnouncementTitleMain,
|
|
253
|
-
BigH3Title,
|
|
254
|
-
CareersTitleMain,
|
|
255
|
-
CustomH1,
|
|
256
|
-
Customh2,
|
|
257
|
-
LandingPageTitle,
|
|
258
|
-
LandingPageTitleLink
|
|
259
|
-
};
|
package/dist/constants/style.js
DELETED
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
const COLUMN = 64;
|
|
2
|
-
const BASE_FONT_SIZE = 16;
|
|
3
|
-
const BASE_MARGIN = 16;
|
|
4
|
-
const BASE_MARGIN_PX = `${BASE_MARGIN}px`;
|
|
5
|
-
const BASE_MARGIN_2X_PX = `${BASE_MARGIN * 2}px`;
|
|
6
|
-
const MAX_WIDTH = 1920 - BASE_MARGIN * 2;
|
|
7
|
-
const DESKTOP_MEDIA = 1024;
|
|
8
|
-
const TABLET_MEDIA = 769;
|
|
9
|
-
const PHONE_MEDIA = 320;
|
|
10
|
-
const BASE_COLOR_HEX = "#202020";
|
|
11
|
-
const BLUE_BASE_HEX = "#0050ca";
|
|
12
|
-
const BLUE_BASE_RELEASED_HEX = "#004bb7";
|
|
13
|
-
const GRAY_BASE_HEX = "#ededed";
|
|
14
|
-
const GRAY_SECONDARY_HEX = "#9b9b9b";
|
|
15
|
-
const GRAY_DEEP_HEX = "#979797";
|
|
16
|
-
const GREEN = "#84FB6F";
|
|
17
|
-
const WHITE_HEX = "#fff";
|
|
18
|
-
const RED_BASE_HEX = "#ee220d";
|
|
19
|
-
const RED_BASE_RELEASE_HEX = "#D2200D";
|
|
20
|
-
const SLIDER_HEIGHT = "700px";
|
|
21
|
-
const SLIDER_TABLET_HEIGHT = "500px";
|
|
22
|
-
const SLIDER_MOBILE_HEIGHT = "300px";
|
|
23
|
-
const CAPITAL_ANIMATION_LENGTH = 1.5;
|
|
24
|
-
export {
|
|
25
|
-
BASE_COLOR_HEX,
|
|
26
|
-
BASE_FONT_SIZE,
|
|
27
|
-
BASE_MARGIN,
|
|
28
|
-
BASE_MARGIN_2X_PX,
|
|
29
|
-
BASE_MARGIN_PX,
|
|
30
|
-
BLUE_BASE_HEX,
|
|
31
|
-
BLUE_BASE_RELEASED_HEX,
|
|
32
|
-
CAPITAL_ANIMATION_LENGTH,
|
|
33
|
-
COLUMN,
|
|
34
|
-
DESKTOP_MEDIA,
|
|
35
|
-
GRAY_BASE_HEX,
|
|
36
|
-
GRAY_DEEP_HEX,
|
|
37
|
-
GRAY_SECONDARY_HEX,
|
|
38
|
-
GREEN,
|
|
39
|
-
MAX_WIDTH,
|
|
40
|
-
PHONE_MEDIA,
|
|
41
|
-
RED_BASE_HEX,
|
|
42
|
-
RED_BASE_RELEASE_HEX,
|
|
43
|
-
SLIDER_HEIGHT,
|
|
44
|
-
SLIDER_MOBILE_HEIGHT,
|
|
45
|
-
SLIDER_TABLET_HEIGHT,
|
|
46
|
-
TABLET_MEDIA,
|
|
47
|
-
WHITE_HEX
|
|
48
|
-
};
|
package/dist/favicon.ico
DELETED
|
Binary file
|
package/dist/logo192.png
DELETED
|
Binary file
|
package/dist/logo512.png
DELETED
|
Binary file
|
package/dist/manifest.json
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"short_name": "Vite React App",
|
|
3
|
-
"name": "Vite React App",
|
|
4
|
-
"icons": [
|
|
5
|
-
{
|
|
6
|
-
"src": "favicon.ico",
|
|
7
|
-
"sizes": "64x64 32x32 24x24 16x16",
|
|
8
|
-
"type": "image/x-icon"
|
|
9
|
-
},
|
|
10
|
-
{
|
|
11
|
-
"src": "logo192.png",
|
|
12
|
-
"type": "image/png",
|
|
13
|
-
"sizes": "192x192"
|
|
14
|
-
},
|
|
15
|
-
{
|
|
16
|
-
"src": "logo512.png",
|
|
17
|
-
"type": "image/png",
|
|
18
|
-
"sizes": "512x512"
|
|
19
|
-
}
|
|
20
|
-
],
|
|
21
|
-
"start_url": ".",
|
|
22
|
-
"display": "standalone",
|
|
23
|
-
"theme_color": "#000000",
|
|
24
|
-
"background_color": "#ffffff"
|
|
25
|
-
}
|
package/dist/robots.txt
DELETED
|
Binary file
|