@stokr/components-library 3.0.23 → 3.0.25
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/index.js +34 -36
- package/dist/static/images/background3.png +0 -0
- package/dist/static/images/background3.png.js +1 -1
- package/dist/static/images/currency/bitcoin-logo.png +0 -0
- package/dist/static/images/currency/bitcoin-logo.png.js +4 -0
- package/dist/static/images/currency/bmn2-logo.png +0 -0
- package/dist/static/images/currency/bmn2-logo.png.js +4 -0
- package/dist/static/images/currency/usdt-logo.png +0 -0
- package/dist/static/images/currency/usdt-logo.png.js +4 -0
- package/dist/static/images/social/Facebook_Logo.png +0 -0
- package/dist/static/images/social/Facebook_Logo.png.js +1 -1
- package/dist/static/images/social/Telegram-Logo.png +0 -0
- package/dist/static/images/social/Telegram-Logo.png.js +1 -1
- package/dist/static/images/social/X-logo-black.png +0 -0
- package/dist/static/images/social/X-logo-black.png.js +1 -1
- package/dist/utils/fix-decimals.js +0 -1
- package/dist/utils/formatCurrencyValue.js +8 -5
- package/package.json +3 -4
- package/dist/components/InvestCalculator/InvestCalculator.js +0 -283
- package/dist/components/InvestCalculator/InvestCalculator.styles.js +0 -94
- package/dist/static/images/background.png +0 -0
- package/dist/static/images/bitcoin-logo.svg +0 -9
- package/dist/static/images/bitcoin-logo.svg.js +0 -4
- package/dist/static/images/bmn2-logo.svg +0 -18
- package/dist/static/images/bmn2-logo.svg.js +0 -4
- package/dist/static/images/face-scan-icon.svg +0 -1
- /package/dist/static/images/{eth.svg → currency/eth.svg} +0 -0
- /package/dist/static/images/{eth_logo.svg → currency/eth_logo.svg} +0 -0
- /package/dist/static/images/{eth_logo.svg.js → currency/eth_logo.svg.js} +0 -0
- /package/dist/static/images/{eur.svg → currency/eur.svg} +0 -0
- /package/dist/static/images/{usdc-logo.svg → currency/usdc-logo.svg} +0 -0
- /package/dist/static/images/{usdc-logo.svg.js → currency/usdc-logo.svg.js} +0 -0
- /package/dist/static/images/{usdq-logo.png → currency/usdq-logo.png} +0 -0
- /package/dist/static/images/{usdq-logo.png.js → currency/usdq-logo.png.js} +0 -0
package/dist/index.js
CHANGED
|
@@ -44,7 +44,6 @@ import { InputUsername } from "./components/Input/InputUsername.js";
|
|
|
44
44
|
import { InputWithButton } from "./components/Input/InputWithButton.js";
|
|
45
45
|
import { Textarea } from "./components/Input/Textarea.js";
|
|
46
46
|
import { TableFilterDropdown } from "./components/Input/TableFilterDropdown.js";
|
|
47
|
-
import { InvestCalculator } from "./components/InvestCalculator/InvestCalculator.js";
|
|
48
47
|
import { InvestmentStat } from "./components/InvestmentStat/InvestmentStat.js";
|
|
49
48
|
import { SpanButton } from "./components/SpanButton/SpanButton.styles.js";
|
|
50
49
|
import { LatestUpdate } from "./components/LatestUpdate/LatestUpdate.js";
|
|
@@ -184,7 +183,7 @@ import { checkTodoStatus } from "./utils/check-todo-status.js";
|
|
|
184
183
|
import { generateCoreChecklistTasks, getVerifyIdentityChecklist } from "./utils/checklistGenerator.js";
|
|
185
184
|
import { CopyToClipBoardTooltip, copyTextToClipboard, useCopyToClipboard, withCopyToClipboard } from "./utils/copyToClipboard.js";
|
|
186
185
|
import { cooldownHOC, useComponentVisible, useContainerSize, useCooldown, useMobileView, usePrevious } from "./utils/customHooks.js";
|
|
187
|
-
import {
|
|
186
|
+
import { fixDecimals } from "./utils/fix-decimals.js";
|
|
188
187
|
import { formatCurrencyValue, getCurrencyIcon, getCurrencySymbol, getLiquidAssetIcon, getProjectCurrencySign } from "./utils/formatCurrencyValue.js";
|
|
189
188
|
import { isUSInvestor, usCountries } from "./utils/isUSInvestor.js";
|
|
190
189
|
import { km_ify } from "./utils/km_ify.js";
|
|
@@ -200,26 +199,26 @@ import { navigateApp, navigateToHref, pathnameIfSameOrigin } from "./routing/nav
|
|
|
200
199
|
import { RouterWrapper } from "./routing/RouterWrapper.js";
|
|
201
200
|
import { buildDashboardUrl, buildOnboardingUrl, getAdminAppUrl, getDashboardBaseUrl, getInvestorAppOrigin, getOnboardingAppBaseUrl, getRegisterEntryUrl } from "./utils/app-urls.js";
|
|
202
201
|
import { authenticationApi } from "./api/authenticationApi.js";
|
|
203
|
-
import { default as
|
|
204
|
-
import { default as
|
|
205
|
-
import { default as
|
|
206
|
-
import { default as
|
|
207
|
-
import { default as
|
|
208
|
-
import { default as
|
|
209
|
-
import { default as
|
|
210
|
-
import { default as
|
|
202
|
+
import { default as default39 } from "./components/2FA/Connect2FA.js";
|
|
203
|
+
import { default as default40 } from "./components/2FA/enable-2fa-flow.js";
|
|
204
|
+
import { default as default41 } from "./components/2FA/EnterCode.js";
|
|
205
|
+
import { default as default42 } from "./components/2FA/InstallAuthApp.js";
|
|
206
|
+
import { default as default43 } from "./components/2FA/login-with-otp-flow.js";
|
|
207
|
+
import { default as default44 } from "./components/2FA/Sucess2FA.js";
|
|
208
|
+
import { default as default45 } from "./components/2FA/main-flow.js";
|
|
209
|
+
import { default as default46 } from "./components/2FA/ResetCode.js";
|
|
211
210
|
import { Auth, DEFAULT_TOKEN_EXPIRY_MS } from "./context/Auth.js";
|
|
212
211
|
import { AuthConsumer, AuthContext, AuthProvider } from "./context/AuthContext.js";
|
|
213
212
|
import { colors } from "./styles/colors.js";
|
|
214
|
-
import { default as
|
|
213
|
+
import { default as default47 } from "./styles/fonts.js";
|
|
215
214
|
import { GlobalStyle } from "./styles/global.js";
|
|
216
215
|
import { IoniconsStyles } from "./styles/ioniconsStyles.js";
|
|
217
|
-
import { default as
|
|
218
|
-
import { default as
|
|
219
|
-
import { DisplayOnBreakpoint, getMedia, default as
|
|
220
|
-
import { default as
|
|
221
|
-
import { default as
|
|
222
|
-
import { default as
|
|
216
|
+
import { default as default48 } from "./styles/grid.js";
|
|
217
|
+
import { default as default49 } from "./styles/reactTippy.js";
|
|
218
|
+
import { DisplayOnBreakpoint, getMedia, default as default50, rwdMax, sizes } from "./styles/rwd.js";
|
|
219
|
+
import { default as default51 } from "./styles/semanticUi.js";
|
|
220
|
+
import { default as default52 } from "./styles/spacing.js";
|
|
221
|
+
import { default as default53 } from "./styles/theme.js";
|
|
223
222
|
import { BASE_COLOR_HEX, BASE_FONT_SIZE, BASE_MARGIN, BASE_MARGIN_2X_PX, BASE_MARGIN_PX, BLUE_BASE_HEX, BLUE_BASE_RELEASED_HEX, CAPITAL_ANIMATION_LENGTH, COLUMN, DESKTOP_MEDIA, GRAY_BASE_HEX, GRAY_DEEP_HEX, GRAY_SECONDARY_HEX, GREEN, MAX_WIDTH, PHONE_MEDIA, RED_BASE_HEX, RED_BASE_RELEASE_HEX, SLIDER_HEIGHT, SLIDER_MOBILE_HEIGHT, SLIDER_TABLET_HEIGHT, TABLET_MEDIA, WHITE_HEX } from "./constants/style.js";
|
|
224
223
|
import { LoanActivityTypes, ProfessionalInvestorStatuses, ProjectStates, ProjectStatus, ProjectTypes, TransactionTypes, USInvestorAcreditationStatuses, UserTypes, emailRegex, getPlatformURL, transactionTypeDisplayNames, walletTypes } from "./constants/globalVariables.js";
|
|
225
224
|
import { BackButtonIcon, StyledBackButton, StyledBackButtonExternal, StyledWindowBackButton } from "./components/BackButton/BackButton.styles.js";
|
|
@@ -235,7 +234,7 @@ import { ModalBack, Box, ModalClose, Dimmer, ModalInner, ModalInnerSmartContract
|
|
|
235
234
|
import { SelectContainer, SelectControl, SelectIcon, SelectMenu, SelectMenuList, SelectOption, SelectValueContainer, SelectWrapper } from "./components/Input/Select.styles.js";
|
|
236
235
|
import { StyledReactTable, Styles, TableWrap } from "./components/AdminDashboard/Table/Table.styles.js";
|
|
237
236
|
import { Tab } from "./components/Tabs/Tabs.styles.js";
|
|
238
|
-
import { default as
|
|
237
|
+
import { default as default54 } from "./components/TabsNav/TabNav.js";
|
|
239
238
|
import { format } from "date-fns";
|
|
240
239
|
import { getAnalyticsIngestUrl, getBackofficeAppUrl } from "./utils/app-urls-analytics-backoffice.js";
|
|
241
240
|
import { getConfig, resetRuntimeConfig } from "./runtime-config.js";
|
|
@@ -300,7 +299,7 @@ export {
|
|
|
300
299
|
ComponentScroll,
|
|
301
300
|
ComponentWrapper,
|
|
302
301
|
ConfirmModal,
|
|
303
|
-
|
|
302
|
+
default39 as Connect2FA,
|
|
304
303
|
Container,
|
|
305
304
|
ContainerWithLine,
|
|
306
305
|
ContentInnerFull,
|
|
@@ -326,8 +325,8 @@ export {
|
|
|
326
325
|
default18 as DocumentSmallSvg,
|
|
327
326
|
default12 as DocumentSvg,
|
|
328
327
|
DoubleButtons,
|
|
329
|
-
|
|
330
|
-
|
|
328
|
+
default40 as Enable2FAFlow,
|
|
329
|
+
default41 as EnterCode,
|
|
331
330
|
ErrorMessage,
|
|
332
331
|
default10 as EthSvg,
|
|
333
332
|
default11 as EurSvg,
|
|
@@ -379,8 +378,7 @@ export {
|
|
|
379
378
|
InputWrap,
|
|
380
379
|
Wrapper2 as InputWrapper,
|
|
381
380
|
Instagram,
|
|
382
|
-
|
|
383
|
-
InvestCalculator,
|
|
381
|
+
default42 as InstallAuthApp,
|
|
384
382
|
InvestmentStat,
|
|
385
383
|
IoniconsStyles,
|
|
386
384
|
Item,
|
|
@@ -404,11 +402,11 @@ export {
|
|
|
404
402
|
LoadingDots,
|
|
405
403
|
LoanActivityTypes,
|
|
406
404
|
LoginModal,
|
|
407
|
-
|
|
405
|
+
default43 as LoginWithOTPFlow,
|
|
408
406
|
Logo,
|
|
409
407
|
default8 as LogoSvg,
|
|
410
408
|
MAX_WIDTH,
|
|
411
|
-
|
|
409
|
+
default45 as Main2FAFlow,
|
|
412
410
|
MainMenu,
|
|
413
411
|
Medium,
|
|
414
412
|
MemoCryptoAddress,
|
|
@@ -470,7 +468,7 @@ export {
|
|
|
470
468
|
default7 as RegisterTaxIdComplete,
|
|
471
469
|
default6 as RegisterTaxIdFlow,
|
|
472
470
|
RequestDataBox,
|
|
473
|
-
|
|
471
|
+
default46 as ResetCode,
|
|
474
472
|
ResetConfirmModal,
|
|
475
473
|
ResetPasswordModal,
|
|
476
474
|
RouterWrapper,
|
|
@@ -530,11 +528,11 @@ export {
|
|
|
530
528
|
Styles,
|
|
531
529
|
SuccessModal,
|
|
532
530
|
SuccessModal2 as SuccessModalComponent,
|
|
533
|
-
|
|
531
|
+
default44 as Sucess2FA,
|
|
534
532
|
Switch,
|
|
535
533
|
TABLET_MEDIA,
|
|
536
534
|
Tab,
|
|
537
|
-
|
|
535
|
+
default54 as TabNav,
|
|
538
536
|
Table,
|
|
539
537
|
TableFilterDropdown,
|
|
540
538
|
TableWrap,
|
|
@@ -594,8 +592,8 @@ export {
|
|
|
594
592
|
cooldownHOC,
|
|
595
593
|
copyTextToClipboard,
|
|
596
594
|
emailRegex,
|
|
597
|
-
|
|
598
|
-
|
|
595
|
+
fixDecimals,
|
|
596
|
+
default47 as fontFaces,
|
|
599
597
|
format,
|
|
600
598
|
formatCurrencyValue,
|
|
601
599
|
generateCoreChecklistTasks,
|
|
@@ -618,7 +616,7 @@ export {
|
|
|
618
616
|
getRegisterEntryUrl,
|
|
619
617
|
getTokenBucket,
|
|
620
618
|
getVerifyIdentityChecklist,
|
|
621
|
-
|
|
619
|
+
default48 as grid,
|
|
622
620
|
hasOptedIn,
|
|
623
621
|
iconsMap,
|
|
624
622
|
identify,
|
|
@@ -638,21 +636,21 @@ export {
|
|
|
638
636
|
optIn,
|
|
639
637
|
optOut,
|
|
640
638
|
pathnameIfSameOrigin,
|
|
641
|
-
|
|
639
|
+
default49 as reactTippyStyle,
|
|
642
640
|
reset,
|
|
643
641
|
resetRuntimeConfig,
|
|
644
642
|
resolveAppHref,
|
|
645
|
-
|
|
643
|
+
default50 as rwd,
|
|
646
644
|
rwdMax,
|
|
647
645
|
saveAs,
|
|
648
646
|
scrollToElement,
|
|
649
|
-
|
|
647
|
+
default51 as semanticUiStyle,
|
|
650
648
|
setUserProperties,
|
|
651
649
|
showProgress,
|
|
652
650
|
showSuccess,
|
|
653
651
|
sizes,
|
|
654
|
-
|
|
655
|
-
|
|
652
|
+
default52 as spacing,
|
|
653
|
+
default53 as theme,
|
|
656
654
|
timeEvent,
|
|
657
655
|
track,
|
|
658
656
|
transactionTypeDisplayNames,
|
|
Binary file
|